dori-pdp-widget 0.0.18 → 0.0.19

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.
Files changed (2) hide show
  1. package/dist/widget.js +1 -161
  2. package/package.json +1 -1
package/dist/widget.js CHANGED
@@ -1,162 +1,2 @@
1
- var dI=Object.defineProperty,hI=Object.defineProperties;var gI=Object.getOwnPropertyDescriptors;var Ug=Object.getOwnPropertySymbols;var ok=Object.prototype.hasOwnProperty,sk=Object.prototype.propertyIsEnumerable;var uk=Math.pow,lk=(Jt,zn,cn)=>zn in Jt?dI(Jt,zn,{enumerable:!0,configurable:!0,writable:!0,value:cn}):Jt[zn]=cn,G=(Jt,zn)=>{for(var cn in zn||(zn={}))ok.call(zn,cn)&&lk(Jt,cn,zn[cn]);if(Ug)for(var cn of Ug(zn))sk.call(zn,cn)&&lk(Jt,cn,zn[cn]);return Jt},We=(Jt,zn)=>hI(Jt,gI(zn));var Or=(Jt,zn)=>{var cn={};for(var Di in Jt)ok.call(Jt,Di)&&zn.indexOf(Di)<0&&(cn[Di]=Jt[Di]);if(Jt!=null&&Ug)for(var Di of Ug(Jt))zn.indexOf(Di)<0&&sk.call(Jt,Di)&&(cn[Di]=Jt[Di]);return cn};var ll=(Jt,zn,cn)=>new Promise((Di,sc)=>{var uu=Ql=>{try{Rf(cn.next(Ql))}catch(zf){sc(zf)}},sh=Ql=>{try{Rf(cn.throw(Ql))}catch(zf){sc(zf)}},Rf=Ql=>Ql.done?Di(Ql.value):Promise.resolve(Ql.value).then(uu,sh);Rf((cn=cn.apply(Jt,zn)).next())});(function(){try{var Jt=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};Jt.SENTRY_RELEASE={id:"4bb99eb594175adffa52b256ea080c76278573d1"}}catch(zn){}})();try{(function(){var Jt=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},zn=new Jt.Error().stack;zn&&(Jt._sentryDebugIds=Jt._sentryDebugIds||{},Jt._sentryDebugIds[zn]="9c97ed38-4944-4ba0-8808-9d684b52d603",Jt._sentryDebugIdIdentifier="sentry-dbid-9c97ed38-4944-4ba0-8808-9d684b52d603")})()}catch(Jt){}(function(){"use strict";var gA,pA,mA,bA,yA,vA,xA,AA,SA,wA,kA,EA,_A,CA,TA,RA,zA,OA,PA,DA,MA,NA,IA,LA,BA,FA,HA,WA,GA,YA,UA,ZA,VA,XA,JA,KA,QA,jA,qA,$A,eS,tS,nS,rS,iS,aS,lS,oS,sS,uS,cS,fS,dS,hS,gS,pS,mS,bS,yS,vS,xS,AS,SS,wS,kS;function Jt(e,n){for(var r=0;r<n.length;r++){const a=n[r];if(typeof a!="string"&&!Array.isArray(a)){for(const o in a)if(o!=="default"&&!(o in e)){const u=Object.getOwnPropertyDescriptor(a,o);u&&Object.defineProperty(e,o,u.get?u:{enumerable:!0,get:()=>a[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var zn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function cn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Di(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var n=e.default;if(typeof n=="function"){var r=function a(){var o=!1;try{o=this instanceof a}catch(u){}return o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(a){var o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(r,a,o.get?o:{enumerable:!0,get:function(){return e[a]}})}),r}var sc={exports:{}},uu={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and 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 sh;function Rf(){if(sh)return uu;sh=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(a,o,u){var c=null;if(u!==void 0&&(c=""+u),o.key!==void 0&&(c=""+o.key),"key"in o){u={};for(var m in o)m!=="key"&&(u[m]=o[m])}else u=o;return o=u.ref,{$$typeof:e,type:a,key:c,ref:o!==void 0?o:null,props:u}}return uu.Fragment=n,uu.jsx=r,uu.jsxs=r,uu}var Ql;function zf(){return Ql||(Ql=1,sc.exports=Rf()),sc.exports}var $=zf(),Zg={exports:{}},yt={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and 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 fb;function ck(){if(fb)return yt;fb=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),w=Symbol.iterator;function k(E){return E===null||typeof E!="object"?null:(E=w&&E[w]||E["@@iterator"],typeof E=="function"?E:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,N={};function W(E,F,Oe){this.props=E,this.context=F,this.refs=N,this.updater=Oe||_}W.prototype.isReactComponent={},W.prototype.setState=function(E,F){if(typeof E!="object"&&typeof E!="function"&&E!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,E,F,"setState")},W.prototype.forceUpdate=function(E){this.updater.enqueueForceUpdate(this,E,"forceUpdate")};function H(){}H.prototype=W.prototype;function J(E,F,Oe){this.props=E,this.context=F,this.refs=N,this.updater=Oe||_}var Y=J.prototype=new H;Y.constructor=J,P(Y,W.prototype),Y.isPureReactComponent=!0;var ve=Array.isArray,j={H:null,A:null,T:null,S:null,V:null},ee=Object.prototype.hasOwnProperty;function Te(E,F,Oe,B,De,Le){return Oe=Le.ref,{$$typeof:e,type:E,key:F,ref:Oe!==void 0?Oe:null,props:Le}}function Se(E,F){return Te(E.type,F,void 0,void 0,void 0,E.props)}function me(E){return typeof E=="object"&&E!==null&&E.$$typeof===e}function q(E){var F={"=":"=0",":":"=2"};return"$"+E.replace(/[=:]/g,function(Oe){return F[Oe]})}var Re=/\/+/g;function fe(E,F){return typeof E=="object"&&E!==null&&E.key!=null?q(""+E.key):F.toString(36)}function Pe(){}function te(E){switch(E.status){case"fulfilled":return E.value;case"rejected":throw E.reason;default:switch(typeof E.status=="string"?E.then(Pe,Pe):(E.status="pending",E.then(function(F){E.status==="pending"&&(E.status="fulfilled",E.value=F)},function(F){E.status==="pending"&&(E.status="rejected",E.reason=F)})),E.status){case"fulfilled":return E.value;case"rejected":throw E.reason}}throw E}function ge(E,F,Oe,B,De){var Le=typeof E;(Le==="undefined"||Le==="boolean")&&(E=null);var Ee=!1;if(E===null)Ee=!0;else switch(Le){case"bigint":case"string":case"number":Ee=!0;break;case"object":switch(E.$$typeof){case e:case n:Ee=!0;break;case A:return Ee=E._init,ge(Ee(E._payload),F,Oe,B,De)}}if(Ee)return De=De(E),Ee=B===""?"."+fe(E,0):B,ve(De)?(Oe="",Ee!=null&&(Oe=Ee.replace(Re,"$&/")+"/"),ge(De,F,Oe,"",function(se){return se})):De!=null&&(me(De)&&(De=Se(De,Oe+(De.key==null||E&&E.key===De.key?"":(""+De.key).replace(Re,"$&/")+"/")+Ee)),F.push(De)),1;Ee=0;var Ue=B===""?".":B+":";if(ve(E))for(var de=0;de<E.length;de++)B=E[de],Le=Ue+fe(B,de),Ee+=ge(B,F,Oe,Le,De);else if(de=k(E),typeof de=="function")for(E=de.call(E),de=0;!(B=E.next()).done;)B=B.value,Le=Ue+fe(B,de++),Ee+=ge(B,F,Oe,Le,De);else if(Le==="object"){if(typeof E.then=="function")return ge(te(E),F,Oe,B,De);throw F=String(E),Error("Objects are not valid as a React child (found: "+(F==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":F)+"). If you meant to render a collection of children, use an array instead.")}return Ee}function M(E,F,Oe){if(E==null)return E;var B=[],De=0;return ge(E,B,"","",function(Le){return F.call(Oe,Le,De++)}),B}function K(E){if(E._status===-1){var F=E._result;F=F(),F.then(function(Oe){(E._status===0||E._status===-1)&&(E._status=1,E._result=Oe)},function(Oe){(E._status===0||E._status===-1)&&(E._status=2,E._result=Oe)}),E._status===-1&&(E._status=0,E._result=F)}if(E._status===1)return E._result.default;throw E._result}var ze=typeof reportError=="function"?reportError:function(E){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var F=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof E=="object"&&E!==null&&typeof E.message=="string"?String(E.message):String(E),error:E});if(!window.dispatchEvent(F))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",E);return}console.error(E)};function Ge(){}return yt.Children={map:M,forEach:function(E,F,Oe){M(E,function(){F.apply(this,arguments)},Oe)},count:function(E){var F=0;return M(E,function(){F++}),F},toArray:function(E){return M(E,function(F){return F})||[]},only:function(E){if(!me(E))throw Error("React.Children.only expected to receive a single React element child.");return E}},yt.Component=W,yt.Fragment=r,yt.Profiler=o,yt.PureComponent=J,yt.StrictMode=a,yt.Suspense=b,yt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,yt.__COMPILER_RUNTIME={__proto__:null,c:function(E){return j.H.useMemoCache(E)}},yt.cache=function(E){return function(){return E.apply(null,arguments)}},yt.cloneElement=function(E,F,Oe){if(E==null)throw Error("The argument must be a React element, but you passed "+E+".");var B=P({},E.props),De=E.key,Le=void 0;if(F!=null)for(Ee in F.ref!==void 0&&(Le=void 0),F.key!==void 0&&(De=""+F.key),F)!ee.call(F,Ee)||Ee==="key"||Ee==="__self"||Ee==="__source"||Ee==="ref"&&F.ref===void 0||(B[Ee]=F[Ee]);var Ee=arguments.length-2;if(Ee===1)B.children=Oe;else if(1<Ee){for(var Ue=Array(Ee),de=0;de<Ee;de++)Ue[de]=arguments[de+2];B.children=Ue}return Te(E.type,De,void 0,void 0,Le,B)},yt.createContext=function(E){return E={$$typeof:c,_currentValue:E,_currentValue2:E,_threadCount:0,Provider:null,Consumer:null},E.Provider=E,E.Consumer={$$typeof:u,_context:E},E},yt.createElement=function(E,F,Oe){var B,De={},Le=null;if(F!=null)for(B in F.key!==void 0&&(Le=""+F.key),F)ee.call(F,B)&&B!=="key"&&B!=="__self"&&B!=="__source"&&(De[B]=F[B]);var Ee=arguments.length-2;if(Ee===1)De.children=Oe;else if(1<Ee){for(var Ue=Array(Ee),de=0;de<Ee;de++)Ue[de]=arguments[de+2];De.children=Ue}if(E&&E.defaultProps)for(B in Ee=E.defaultProps,Ee)De[B]===void 0&&(De[B]=Ee[B]);return Te(E,Le,void 0,void 0,null,De)},yt.createRef=function(){return{current:null}},yt.forwardRef=function(E){return{$$typeof:m,render:E}},yt.isValidElement=me,yt.lazy=function(E){return{$$typeof:A,_payload:{_status:-1,_result:E},_init:K}},yt.memo=function(E,F){return{$$typeof:y,type:E,compare:F===void 0?null:F}},yt.startTransition=function(E){var F=j.T,Oe={};j.T=Oe;try{var B=E(),De=j.S;De!==null&&De(Oe,B),typeof B=="object"&&B!==null&&typeof B.then=="function"&&B.then(Ge,ze)}catch(Le){ze(Le)}finally{j.T=F}},yt.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},yt.use=function(E){return j.H.use(E)},yt.useActionState=function(E,F,Oe){return j.H.useActionState(E,F,Oe)},yt.useCallback=function(E,F){return j.H.useCallback(E,F)},yt.useContext=function(E){return j.H.useContext(E)},yt.useDebugValue=function(){},yt.useDeferredValue=function(E,F){return j.H.useDeferredValue(E,F)},yt.useEffect=function(E,F,Oe){var B=j.H;if(typeof Oe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return B.useEffect(E,F)},yt.useId=function(){return j.H.useId()},yt.useImperativeHandle=function(E,F,Oe){return j.H.useImperativeHandle(E,F,Oe)},yt.useInsertionEffect=function(E,F){return j.H.useInsertionEffect(E,F)},yt.useLayoutEffect=function(E,F){return j.H.useLayoutEffect(E,F)},yt.useMemo=function(E,F){return j.H.useMemo(E,F)},yt.useOptimistic=function(E,F){return j.H.useOptimistic(E,F)},yt.useReducer=function(E,F,Oe){return j.H.useReducer(E,F,Oe)},yt.useRef=function(E){return j.H.useRef(E)},yt.useState=function(E){return j.H.useState(E)},yt.useSyncExternalStore=function(E,F,Oe){return j.H.useSyncExternalStore(E,F,Oe)},yt.useTransition=function(){return j.H.useTransition()},yt.version="19.1.1",yt}var db;function uc(){return db||(db=1,Zg.exports=ck()),Zg.exports}var Ae=uc();const hb=cn(Ae),gb=Jt({__proto__:null,default:hb},[Ae]);var Vg={exports:{}},Of={},Xg={exports:{}},Jg={};/**
18
- * @license React
19
- * scheduler.production.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and 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 pb;function fk(){return pb||(pb=1,(function(e){function n(M,K){var ze=M.length;M.push(K);e:for(;0<ze;){var Ge=ze-1>>>1,E=M[Ge];if(0<o(E,K))M[Ge]=K,M[ze]=E,ze=Ge;else break e}}function r(M){return M.length===0?null:M[0]}function a(M){if(M.length===0)return null;var K=M[0],ze=M.pop();if(ze!==K){M[0]=ze;e:for(var Ge=0,E=M.length,F=E>>>1;Ge<F;){var Oe=2*(Ge+1)-1,B=M[Oe],De=Oe+1,Le=M[De];if(0>o(B,ze))De<E&&0>o(Le,B)?(M[Ge]=Le,M[De]=ze,Ge=De):(M[Ge]=B,M[Oe]=ze,Ge=Oe);else if(De<E&&0>o(Le,ze))M[Ge]=Le,M[De]=ze,Ge=De;else break e}}return K}function o(M,K){var ze=M.sortIndex-K.sortIndex;return ze!==0?ze:M.id-K.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var c=Date,m=c.now();e.unstable_now=function(){return c.now()-m}}var b=[],y=[],A=1,w=null,k=3,_=!1,P=!1,N=!1,W=!1,H=typeof setTimeout=="function"?setTimeout:null,J=typeof clearTimeout=="function"?clearTimeout:null,Y=typeof setImmediate!="undefined"?setImmediate:null;function ve(M){for(var K=r(y);K!==null;){if(K.callback===null)a(y);else if(K.startTime<=M)a(y),K.sortIndex=K.expirationTime,n(b,K);else break;K=r(y)}}function j(M){if(N=!1,ve(M),!P)if(r(b)!==null)P=!0,ee||(ee=!0,fe());else{var K=r(y);K!==null&&ge(j,K.startTime-M)}}var ee=!1,Te=-1,Se=5,me=-1;function q(){return W?!0:!(e.unstable_now()-me<Se)}function Re(){if(W=!1,ee){var M=e.unstable_now();me=M;var K=!0;try{e:{P=!1,N&&(N=!1,J(Te),Te=-1),_=!0;var ze=k;try{t:{for(ve(M),w=r(b);w!==null&&!(w.expirationTime>M&&q());){var Ge=w.callback;if(typeof Ge=="function"){w.callback=null,k=w.priorityLevel;var E=Ge(w.expirationTime<=M);if(M=e.unstable_now(),typeof E=="function"){w.callback=E,ve(M),K=!0;break t}w===r(b)&&a(b),ve(M)}else a(b);w=r(b)}if(w!==null)K=!0;else{var F=r(y);F!==null&&ge(j,F.startTime-M),K=!1}}break e}finally{w=null,k=ze,_=!1}K=void 0}}finally{K?fe():ee=!1}}}var fe;if(typeof Y=="function")fe=function(){Y(Re)};else if(typeof MessageChannel!="undefined"){var Pe=new MessageChannel,te=Pe.port2;Pe.port1.onmessage=Re,fe=function(){te.postMessage(null)}}else fe=function(){H(Re,0)};function ge(M,K){Te=H(function(){M(e.unstable_now())},K)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Se=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return k},e.unstable_next=function(M){switch(k){case 1:case 2:case 3:var K=3;break;default:K=k}var ze=k;k=K;try{return M()}finally{k=ze}},e.unstable_requestPaint=function(){W=!0},e.unstable_runWithPriority=function(M,K){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var ze=k;k=M;try{return K()}finally{k=ze}},e.unstable_scheduleCallback=function(M,K,ze){var Ge=e.unstable_now();switch(typeof ze=="object"&&ze!==null?(ze=ze.delay,ze=typeof ze=="number"&&0<ze?Ge+ze:Ge):ze=Ge,M){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=ze+E,M={id:A++,callback:K,priorityLevel:M,startTime:ze,expirationTime:E,sortIndex:-1},ze>Ge?(M.sortIndex=ze,n(y,M),r(b)===null&&M===r(y)&&(N?(J(Te),Te=-1):N=!0,ge(j,ze-Ge))):(M.sortIndex=E,n(b,M),P||_||(P=!0,ee||(ee=!0,fe()))),M},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(M){var K=k;return function(){var ze=k;k=K;try{return M.apply(this,arguments)}finally{k=ze}}}})(Jg)),Jg}var mb;function dk(){return mb||(mb=1,Xg.exports=fk()),Xg.exports}var Kg={exports:{}},ei={};/**
26
- * @license React
27
- * react-dom.production.js
28
- *
29
- * Copyright (c) Meta Platforms, Inc. and affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var bb;function hk(){if(bb)return ei;bb=1;var e=uc();function n(b){var y="https://react.dev/errors/"+b;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)y+="&args[]="+encodeURIComponent(arguments[A])}return"Minified React error #"+b+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var a={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function u(b,y,A){var w=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:w==null?null:""+w,children:b,containerInfo:y,implementation:A}}var c=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(b,y){if(b==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return ei.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,ei.createPortal=function(b,y){var A=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(n(299));return u(b,y,null,A)},ei.flushSync=function(b){var y=c.T,A=a.p;try{if(c.T=null,a.p=2,b)return b()}finally{c.T=y,a.p=A,a.d.f()}},ei.preconnect=function(b,y){typeof b=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,a.d.C(b,y))},ei.prefetchDNS=function(b){typeof b=="string"&&a.d.D(b)},ei.preinit=function(b,y){if(typeof b=="string"&&y&&typeof y.as=="string"){var A=y.as,w=m(A,y.crossOrigin),k=typeof y.integrity=="string"?y.integrity:void 0,_=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;A==="style"?a.d.S(b,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:w,integrity:k,fetchPriority:_}):A==="script"&&a.d.X(b,{crossOrigin:w,integrity:k,fetchPriority:_,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},ei.preinitModule=function(b,y){if(typeof b=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var A=m(y.as,y.crossOrigin);a.d.M(b,{crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&a.d.M(b)},ei.preload=function(b,y){if(typeof b=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var A=y.as,w=m(A,y.crossOrigin);a.d.L(b,A,{crossOrigin:w,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},ei.preloadModule=function(b,y){if(typeof b=="string")if(y){var A=m(y.as,y.crossOrigin);a.d.m(b,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:A,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else a.d.m(b)},ei.requestFormReset=function(b){a.d.r(b)},ei.unstable_batchedUpdates=function(b,y){return b(y)},ei.useFormState=function(b,y,A){return c.H.useFormState(b,y,A)},ei.useFormStatus=function(){return c.H.useHostTransitionStatus()},ei.version="19.1.1",ei}var yb;function uh(){if(yb)return Kg.exports;yb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Kg.exports=hk(),Kg.exports}/**
34
- * @license React
35
- * react-dom-client.production.js
36
- *
37
- * Copyright (c) Meta Platforms, Inc. and affiliates.
38
- *
39
- * This source code is licensed under the MIT license found in the
40
- * LICENSE file in the root directory of this source tree.
41
- */var vb;function gk(){if(vb)return Of;vb=1;var e=dk(),n=uc(),r=uh();function a(t){var i="https://react.dev/errors/"+t;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+t+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function u(t){var i=t,l=t;if(t.alternate)for(;i.return;)i=i.return;else{t=i;do i=t,(i.flags&4098)!==0&&(l=i.return),t=i.return;while(t)}return i.tag===3?l:null}function c(t){if(t.tag===13){var i=t.memoizedState;if(i===null&&(t=t.alternate,t!==null&&(i=t.memoizedState)),i!==null)return i.dehydrated}return null}function m(t){if(u(t)!==t)throw Error(a(188))}function b(t){var i=t.alternate;if(!i){if(i=u(t),i===null)throw Error(a(188));return i!==t?null:t}for(var l=t,s=i;;){var g=l.return;if(g===null)break;var v=g.alternate;if(v===null){if(s=g.return,s!==null){l=s;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===l)return m(g),t;if(v===s)return m(g),i;v=v.sibling}throw Error(a(188))}if(l.return!==s.return)l=g,s=v;else{for(var R=!1,D=g.child;D;){if(D===l){R=!0,l=g,s=v;break}if(D===s){R=!0,s=g,l=v;break}D=D.sibling}if(!R){for(D=v.child;D;){if(D===l){R=!0,l=v,s=g;break}if(D===s){R=!0,s=v,l=g;break}D=D.sibling}if(!R)throw Error(a(189))}}if(l.alternate!==s)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?t:i}function y(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t;for(t=t.child;t!==null;){if(i=y(t),i!==null)return i;t=t.sibling}return null}var A=Object.assign,w=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),P=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),H=Symbol.for("react.provider"),J=Symbol.for("react.consumer"),Y=Symbol.for("react.context"),ve=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),ee=Symbol.for("react.suspense_list"),Te=Symbol.for("react.memo"),Se=Symbol.for("react.lazy"),me=Symbol.for("react.activity"),q=Symbol.for("react.memo_cache_sentinel"),Re=Symbol.iterator;function fe(t){return t===null||typeof t!="object"?null:(t=Re&&t[Re]||t["@@iterator"],typeof t=="function"?t:null)}var Pe=Symbol.for("react.client.reference");function te(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===Pe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case P:return"Fragment";case W:return"Profiler";case N:return"StrictMode";case j:return"Suspense";case ee:return"SuspenseList";case me:return"Activity"}if(typeof t=="object")switch(t.$$typeof){case _:return"Portal";case Y:return(t.displayName||"Context")+".Provider";case J:return(t._context.displayName||"Context")+".Consumer";case ve:var i=t.render;return t=t.displayName,t||(t=i.displayName||i.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case Te:return i=t.displayName||null,i!==null?i:te(t.type)||"Memo";case Se:i=t._payload,t=t._init;try{return te(t(i))}catch(l){}}return null}var ge=Array.isArray,M=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,K=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ze={pending:!1,data:null,method:null,action:null},Ge=[],E=-1;function F(t){return{current:t}}function Oe(t){0>E||(t.current=Ge[E],Ge[E]=null,E--)}function B(t,i){E++,Ge[E]=t.current,t.current=i}var De=F(null),Le=F(null),Ee=F(null),Ue=F(null);function de(t,i){switch(B(Ee,i),B(Le,t),B(De,null),i.nodeType){case 9:case 11:t=(t=i.documentElement)&&(t=t.namespaceURI)?Mw(t):0;break;default:if(t=i.tagName,i=i.namespaceURI)i=Mw(i),t=Nw(i,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Oe(De),B(De,t)}function se(){Oe(De),Oe(Le),Oe(Ee)}function ye(t){t.memoizedState!==null&&B(Ue,t);var i=De.current,l=Nw(i,t.type);i!==l&&(B(Le,t),B(De,l))}function Ce(t){Le.current===t&&(Oe(De),Oe(Le)),Ue.current===t&&(Oe(Ue),rh._currentValue=ze)}var Me=Object.prototype.hasOwnProperty,Je=e.unstable_scheduleCallback,Tt=e.unstable_cancelCallback,pn=e.unstable_shouldYield,mt=e.unstable_requestPaint,rn=e.unstable_now,yi=e.unstable_getCurrentPriorityLevel,ii=e.unstable_ImmediatePriority,On=e.unstable_UserBlockingPriority,mn=e.unstable_NormalPriority,St=e.unstable_LowPriority,Pn=e.unstable_IdlePriority,fl=e.log,ys=e.unstable_setDisableYieldValue,pe=null,Ne=null;function je(t){if(typeof fl=="function"&&ys(t),Ne&&typeof Ne.setStrictMode=="function")try{Ne.setStrictMode(pe,t)}catch(i){}}var Ke=Math.clz32?Math.clz32:vi,Ot=Math.log,Zn=Math.LN2;function vi(t){return t>>>=0,t===0?32:31-(Ot(t)/Zn|0)|0}var Kn=256,xi=4194304;function mr(t){var i=t&42;if(i!==0)return i;switch(t&-t){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:return 64;case 128:return 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 t&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function gt(t,i,l){var s=t.pendingLanes;if(s===0)return 0;var g=0,v=t.suspendedLanes,R=t.pingedLanes;t=t.warmLanes;var D=s&134217727;return D!==0?(s=D&~v,s!==0?g=mr(s):(R&=D,R!==0?g=mr(R):l||(l=D&~t,l!==0&&(g=mr(l))))):(D=s&~v,D!==0?g=mr(D):R!==0?g=mr(R):l||(l=s&~t,l!==0&&(g=mr(l)))),g===0?0:i!==0&&i!==g&&(i&v)===0&&(v=g&-g,l=i&-i,v>=l||v===32&&(l&4194048)!==0)?i:g}function qt(t,i){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&i)===0}function Lr(t,i){switch(t){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32: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:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function la(){var t=Kn;return Kn<<=1,(Kn&4194048)===0&&(Kn=256),t}function Ai(){var t=xi;return xi<<=1,(xi&62914560)===0&&(xi=4194304),t}function Io(t){for(var i=[],l=0;31>l;l++)i.push(t);return i}function dl(t,i){t.pendingLanes|=i,i!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function Nc(t,i,l,s,g,v){var R=t.pendingLanes;t.pendingLanes=l,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=l,t.entangledLanes&=l,t.errorRecoveryDisabledLanes&=l,t.shellSuspendCounter=0;var D=t.entanglements,U=t.expirationTimes,oe=t.hiddenUpdates;for(l=R&~l;0<l;){var we=31-Ke(l),_e=1<<we;D[we]=0,U[we]=-1;var ue=oe[we];if(ue!==null)for(oe[we]=null,we=0;we<ue.length;we++){var ce=ue[we];ce!==null&&(ce.lane&=-536870913)}l&=~_e}s!==0&&ku(t,s,0),v!==0&&g===0&&t.tag!==0&&(t.suspendedLanes|=v&~(R&~i))}function ku(t,i,l){t.pendingLanes|=i,t.suspendedLanes&=~i;var s=31-Ke(i);t.entangledLanes|=i,t.entanglements[s]=t.entanglements[s]|1073741824|l&4194090}function Ic(t,i){var l=t.entangledLanes|=i;for(t=t.entanglements;l;){var s=31-Ke(l),g=1<<s;g&i|t[s]&i&&(t[s]|=i),l&=~g}}function vs(t){switch(t){case 2:t=1;break;case 8:t=4;break;case 32:t=16;break;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:t=128;break;case 268435456:t=134217728;break;default:t=0}return t}function Qn(t){return t&=-t,2<t?8<t?(t&134217727)!==0?32:268435456:8:2}function Br(){var t=K.p;return t!==0?t:(t=window.event,t===void 0?32:ek(t.type))}function jn(t,i){var l=K.p;try{return K.p=t,i()}finally{K.p=l}}var Fr=Math.random().toString(36).slice(2),Dn="__reactFiber$"+Fr,Lt="__reactProps$"+Fr,hl="__reactContainer$"+Fr,Lo="__reactEvents$"+Fr,Hr="__reactListeners$"+Fr,oa="__reactHandles$"+Fr,Eu="__reactResources$"+Fr,lo="__reactMarker$"+Fr;function Pt(t){delete t[Dn],delete t[Lt],delete t[Lo],delete t[Hr],delete t[oa]}function _n(t){var i=t[Dn];if(i)return i;for(var l=t.parentNode;l;){if(i=l[hl]||l[Dn]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(t=Fw(t);t!==null;){if(l=t[Dn])return l;t=Fw(t)}return i}t=l,l=t.parentNode}return null}function Hi(t){if(t=t[Dn]||t[hl]){var i=t.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return t}return null}function qn(t){var i=t.tag;if(i===5||i===26||i===27||i===6)return t.stateNode;throw Error(a(33))}function gl(t){var i=t[Eu];return i||(i=t[Eu]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function Mn(t){t[lo]=!0}var Lc=new Set,_u={};function pl(t,i){oo(t,i),oo(t+"Capture",i)}function oo(t,i){for(_u[t]=i,t=0;t<i.length;t++)Lc.add(i[t])}var ur=RegExp("^[: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]*$"),Cu={},ml={};function sa(t){return Me.call(ml,t)?!0:Me.call(Cu,t)?!1:ur.test(t)?ml[t]=!0:(Cu[t]=!0,!1)}function bl(t,i,l){if(sa(i))if(l===null)t.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":t.removeAttribute(i);return;case"boolean":var s=i.toLowerCase().slice(0,5);if(s!=="data-"&&s!=="aria-"){t.removeAttribute(i);return}}t.setAttribute(i,""+l)}}function ua(t,i,l){if(l===null)t.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(i);return}t.setAttribute(i,""+l)}}function Wr(t,i,l,s){if(s===null)t.removeAttribute(l);else{switch(typeof s){case"undefined":case"function":case"symbol":case"boolean":t.removeAttribute(l);return}t.setAttributeNS(i,l,""+s)}}var Wa,Bo;function yl(t){if(Wa===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);Wa=i&&i[1]||"",Bo=-1<l.stack.indexOf(`
42
- at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+Wa+t+Bo}var xs=!1;function xn(t,i){if(!t||xs)return"";xs=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var s={DetermineComponentFrameRoot:function(){try{if(i){var _e=function(){throw Error()};if(Object.defineProperty(_e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_e,[])}catch(ce){var ue=ce}Reflect.construct(t,[],_e)}else{try{_e.call()}catch(ce){ue=ce}t.call(_e.prototype)}}else{try{throw Error()}catch(ce){ue=ce}(_e=t())&&typeof _e.catch=="function"&&_e.catch(function(){})}}catch(ce){if(ce&&ue&&typeof ce.stack=="string")return[ce.stack,ue.stack]}return[null,null]}};s.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(s.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(s.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=s.DetermineComponentFrameRoot(),R=v[0],D=v[1];if(R&&D){var U=R.split(`
44
- `),oe=D.split(`
45
- `);for(g=s=0;s<U.length&&!U[s].includes("DetermineComponentFrameRoot");)s++;for(;g<oe.length&&!oe[g].includes("DetermineComponentFrameRoot");)g++;if(s===U.length||g===oe.length)for(s=U.length-1,g=oe.length-1;1<=s&&0<=g&&U[s]!==oe[g];)g--;for(;1<=s&&0<=g;s--,g--)if(U[s]!==oe[g]){if(s!==1||g!==1)do if(s--,g--,0>g||U[s]!==oe[g]){var we=`
46
- `+U[s].replace(" at new "," at ");return t.displayName&&we.includes("<anonymous>")&&(we=we.replace("<anonymous>",t.displayName)),we}while(1<=s&&0<=g);break}}}finally{xs=!1,Error.prepareStackTrace=l}return(l=t?t.displayName||t.name:"")?yl(l):""}function Tu(t){switch(t.tag){case 26:case 27:case 5:return yl(t.type);case 16:return yl("Lazy");case 13:return yl("Suspense");case 19:return yl("SuspenseList");case 0:case 15:return xn(t.type,!1);case 11:return xn(t.type.render,!1);case 1:return xn(t.type,!0);case 31:return yl("Activity");default:return""}}function Bc(t){try{var i="";do i+=Tu(t),t=t.return;while(t);return i}catch(l){return`
47
- Error generating stack: `+l.message+`
48
- `+l.stack}}function Gr(t){switch(typeof t){case"bigint":case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function Si(t){var i=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Ru(t){var i=Si(t)?"checked":"value",l=Object.getOwnPropertyDescriptor(t.constructor.prototype,i),s=""+t[i];if(!t.hasOwnProperty(i)&&typeof l!="undefined"&&typeof l.get=="function"&&typeof l.set=="function"){var g=l.get,v=l.set;return Object.defineProperty(t,i,{configurable:!0,get:function(){return g.call(this)},set:function(R){s=""+R,v.call(this,R)}}),Object.defineProperty(t,i,{enumerable:l.enumerable}),{getValue:function(){return s},setValue:function(R){s=""+R},stopTracking:function(){t._valueTracker=null,delete t[i]}}}}function wi(t){t._valueTracker||(t._valueTracker=Ru(t))}function Fo(t){if(!t)return!1;var i=t._valueTracker;if(!i)return!0;var l=i.getValue(),s="";return t&&(s=Si(t)?t.checked?"true":"false":t.value),t=s,t!==l?(i.setValue(t),!0):!1}function Ho(t){if(t=t||(typeof document!="undefined"?document:void 0),typeof t=="undefined")return null;try{return t.activeElement||t.body}catch(i){return t.body}}var Fc=/[\n"\\]/g;function Yr(t){return t.replace(Fc,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function As(t,i,l,s,g,v,R,D){t.name="",R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"?t.type=R:t.removeAttribute("type"),i!=null?R==="number"?(i===0&&t.value===""||t.value!=i)&&(t.value=""+Gr(i)):t.value!==""+Gr(i)&&(t.value=""+Gr(i)):R!=="submit"&&R!=="reset"||t.removeAttribute("value"),i!=null?vl(t,R,Gr(i)):l!=null?vl(t,R,Gr(l)):s!=null&&t.removeAttribute("value"),g==null&&v!=null&&(t.defaultChecked=!!v),g!=null&&(t.checked=g&&typeof g!="function"&&typeof g!="symbol"),D!=null&&typeof D!="function"&&typeof D!="symbol"&&typeof D!="boolean"?t.name=""+Gr(D):t.removeAttribute("name")}function ca(t,i,l,s,g,v,R,D){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(t.type=v),i!=null||l!=null){if(!(v!=="submit"&&v!=="reset"||i!=null))return;l=l!=null?""+Gr(l):"",i=i!=null?""+Gr(i):l,D||i===t.value||(t.value=i),t.defaultValue=i}s=s!=null?s:g,s=typeof s!="function"&&typeof s!="symbol"&&!!s,t.checked=D?t.checked:!!s,t.defaultChecked=!!s,R!=null&&typeof R!="function"&&typeof R!="symbol"&&typeof R!="boolean"&&(t.name=R)}function vl(t,i,l){i==="number"&&Ho(t.ownerDocument)===t||t.defaultValue===""+l||(t.defaultValue=""+l)}function so(t,i,l,s){if(t=t.options,i){i={};for(var g=0;g<l.length;g++)i["$"+l[g]]=!0;for(l=0;l<t.length;l++)g=i.hasOwnProperty("$"+t[l].value),t[l].selected!==g&&(t[l].selected=g),g&&s&&(t[l].defaultSelected=!0)}else{for(l=""+Gr(l),i=null,g=0;g<t.length;g++){if(t[g].value===l){t[g].selected=!0,s&&(t[g].defaultSelected=!0);return}i!==null||t[g].disabled||(i=t[g])}i!==null&&(i.selected=!0)}}function Ss(t,i,l){if(i!=null&&(i=""+Gr(i),i!==t.value&&(t.value=i),l==null)){t.defaultValue!==i&&(t.defaultValue=i);return}t.defaultValue=l!=null?""+Gr(l):""}function Wo(t,i,l,s){if(i==null){if(s!=null){if(l!=null)throw Error(a(92));if(ge(s)){if(1<s.length)throw Error(a(93));s=s[0]}l=s}l==null&&(l=""),i=l}l=Gr(i),t.defaultValue=l,s=t.textContent,s===l&&s!==""&&s!==null&&(t.value=s)}function uo(t,i){if(i){var l=t.firstChild;if(l&&l===t.lastChild&&l.nodeType===3){l.nodeValue=i;return}}t.textContent=i}var Hc=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Wc(t,i,l){var s=i.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?s?t.setProperty(i,""):i==="float"?t.cssFloat="":t[i]="":s?t.setProperty(i,l):typeof l!="number"||l===0||Hc.has(i)?i==="float"?t.cssFloat=l:t[i]=(""+l).trim():t[i]=l+"px"}function Ga(t,i,l){if(i!=null&&typeof i!="object")throw Error(a(62));if(t=t.style,l!=null){for(var s in l)!l.hasOwnProperty(s)||i!=null&&i.hasOwnProperty(s)||(s.indexOf("--")===0?t.setProperty(s,""):s==="float"?t.cssFloat="":t[s]="");for(var g in i)s=i[g],i.hasOwnProperty(g)&&l[g]!==s&&Wc(t,g,s)}else for(var v in i)i.hasOwnProperty(v)&&Wc(t,v,i[v])}function xl(t){if(t.indexOf("-")===-1)return!1;switch(t){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 md=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ws=/^[\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;function Al(t){return ws.test(""+t)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":t}var zu=null;function Ou(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Sr=null,Ya=null;function ks(t){var i=Hi(t);if(i&&(t=i.stateNode)){var l=t[Lt]||null;e:switch(t=i.stateNode,i.type){case"input":if(As(t,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),i=l.name,l.type==="radio"&&i!=null){for(l=t;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+Yr(""+i)+'"][type="radio"]'),i=0;i<l.length;i++){var s=l[i];if(s!==t&&s.form===t.form){var g=s[Lt]||null;if(!g)throw Error(a(90));As(s,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(i=0;i<l.length;i++)s=l[i],s.form===t.form&&Fo(s)}break e;case"textarea":Ss(t,l.value,l.defaultValue);break e;case"select":i=l.value,i!=null&&so(t,!!l.multiple,i,!1)}}}var Go=!1;function Yo(t,i,l){if(Go)return t(i,l);Go=!0;try{var s=t(i);return s}finally{if(Go=!1,(Sr!==null||Ya!==null)&&(wg(),Sr&&(i=Sr,t=Ya,Ya=Sr=null,ks(i),t)))for(i=0;i<t.length;i++)ks(t[i])}}function Nt(t,i){var l=t.stateNode;if(l===null)return null;var s=l[Lt]||null;if(s===null)return null;l=s[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":(s=!s.disabled)||(t=t.type,s=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!s;break e;default:t=!1}if(t)return null;if(l&&typeof l!="function")throw Error(a(231,i,typeof l));return l}var Ur=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),co=!1;if(Ur)try{var fa={};Object.defineProperty(fa,"passive",{get:function(){co=!0}}),window.addEventListener("test",fa,fa),window.removeEventListener("test",fa,fa)}catch(t){co=!1}var ai=null,Sl=null,wl=null;function kl(){if(wl)return wl;var t,i=Sl,l=i.length,s,g="value"in ai?ai.value:ai.textContent,v=g.length;for(t=0;t<l&&i[t]===g[t];t++);var R=l-t;for(s=1;s<=R&&i[l-s]===g[v-s];s++);return wl=g.slice(t,1<s?1-s:void 0)}function ki(t){var i=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&i===13&&(t=13)):t=i,t===10&&(t=13),32<=t||t===13?t:0}function El(){return!0}function Wi(){return!1}function br(t){function i(l,s,g,v,R){this._reactName=l,this._targetInst=g,this.type=s,this.nativeEvent=v,this.target=R,this.currentTarget=null;for(var D in t)t.hasOwnProperty(D)&&(l=t[D],this[D]=l?l(v):v[D]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?El:Wi,this.isPropagationStopped=Wi,this}return A(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=El)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=El)},persist:function(){},isPersistent:El}),i}var da={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ha=br(da),ga=A({},da,{view:0,detail:0}),Gc=br(ga),Es,_s,Uo,Cs=A({},ga,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ua,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Uo&&(Uo&&t.type==="mousemove"?(Es=t.screenX-Uo.screenX,_s=t.screenY-Uo.screenY):_s=Es=0,Uo=t),Es)},movementY:function(t){return"movementY"in t?t.movementY:_s}}),Yc=br(Cs),Uc=A({},Cs,{dataTransfer:0}),Zc=br(Uc),bd=A({},ga,{relatedTarget:0}),_l=br(bd),Vc=A({},da,{animationName:0,elapsedTime:0,pseudoElement:0}),Ts=br(Vc),yd=A({},da,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Pu=br(yd),Xc=A({},da,{data:0}),Cl=br(Xc),Du={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Rs={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"},Jc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zo(t){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(t):(t=Jc[t])?!!i[t]:!1}function Ua(){return Zo}var vd=A({},ga,{key:function(t){if(t.key){var i=Du[t.key]||t.key;if(i!=="Unidentified")return i}return t.type==="keypress"?(t=ki(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Rs[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ua,charCode:function(t){return t.type==="keypress"?ki(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?ki(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),xd=br(vd),$n=A({},Cs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),fo=br($n),Tl=A({},ga,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ua}),Vo=br(Tl),Kc=A({},da,{propertyName:0,elapsedTime:0,pseudoElement:0}),Rl=br(Kc),cr=A({},Cs,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),wr=br(cr),Zr=A({},da,{newState:0,oldState:0}),Xo=br(Zr),Qc=[9,13,27,32],Jo=Ur&&"CompositionEvent"in window,Za=null;Ur&&"documentMode"in document&&(Za=document.documentMode);var Mu=Ur&&"TextEvent"in window&&!Za,Vr=Ur&&(!Jo||Za&&8<Za&&11>=Za),zs=" ",Os=!1;function Ko(t,i){switch(t){case"keyup":return Qc.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ps(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var pa=!1;function Xr(t,i){switch(t){case"compositionend":return Ps(i);case"keypress":return i.which!==32?null:(Os=!0,zs);case"textInput":return t=i.data,t===zs&&Os?null:t;default:return null}}function Ad(t,i){if(pa)return t==="compositionend"||!Jo&&Ko(t,i)?(t=kl(),wl=Sl=ai=null,pa=!1,t):null;switch(t){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 Vr&&i.locale!=="ko"?null:i.data;default:return null}}var Qo={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 Ds(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i==="input"?!!Qo[t.type]:i==="textarea"}function Ms(t,i,l,s){Sr?Ya?Ya.push(s):Ya=[s]:Sr=s,i=Rg(i,"onChange"),0<i.length&&(l=new ha("onChange","change",null,l,s),t.push({event:l,listeners:i}))}var zl=null,Va=null;function jo(t){Rw(t,0)}function ho(t){var i=qn(t);if(Fo(i))return t}function Nu(t,i){if(t==="change")return i}var Ns=!1;if(Ur){var Xa;if(Ur){var Gi="oninput"in document;if(!Gi){var Ol=document.createElement("div");Ol.setAttribute("oninput","return;"),Gi=typeof Ol.oninput=="function"}Xa=Gi}else Xa=!1;Ns=Xa&&(!document.documentMode||9<document.documentMode)}function Ja(){zl&&(zl.detachEvent("onpropertychange",go),Va=zl=null)}function go(t){if(t.propertyName==="value"&&ho(Va)){var i=[];Ms(i,Va,t,Ou(t)),Yo(jo,i)}}function Is(t,i,l){t==="focusin"?(Ja(),zl=i,Va=l,zl.attachEvent("onpropertychange",go)):t==="focusout"&&Ja()}function Iu(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return ho(Va)}function qo(t,i){if(t==="click")return ho(i)}function Pl(t,i){if(t==="input"||t==="change")return ho(i)}function Sd(t,i){return t===i&&(t!==0||1/t===1/i)||t!==t&&i!==i}var fr=typeof Object.is=="function"?Object.is:Sd;function po(t,i){if(fr(t,i))return!0;if(typeof t!="object"||t===null||typeof i!="object"||i===null)return!1;var l=Object.keys(t),s=Object.keys(i);if(l.length!==s.length)return!1;for(s=0;s<l.length;s++){var g=l[s];if(!Me.call(i,g)||!fr(t[g],i[g]))return!1}return!0}function ma(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function d(t,i){var l=ma(t);t=0;for(var s;l;){if(l.nodeType===3){if(s=t+l.textContent.length,t<=i&&s>=i)return{node:l,offset:i-t};t=s}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=ma(l)}}function p(t,i){return t&&i?t===i?!0:t&&t.nodeType===3?!1:i&&i.nodeType===3?p(t,i.parentNode):"contains"in t?t.contains(i):t.compareDocumentPosition?!!(t.compareDocumentPosition(i)&16):!1:!1}function S(t){t=t!=null&&t.ownerDocument!=null&&t.ownerDocument.defaultView!=null?t.ownerDocument.defaultView:window;for(var i=Ho(t.document);i instanceof t.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch(s){l=!1}if(l)t=i.contentWindow;else break;i=Ho(t.document)}return i}function C(t){var i=t&&t.nodeName&&t.nodeName.toLowerCase();return i&&(i==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||i==="textarea"||t.contentEditable==="true")}var O=Ur&&"documentMode"in document&&11>=document.documentMode,L=null,V=null,be=null,ie=!1;function he(t,i,l){var s=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;ie||L==null||L!==Ho(s)||(s=L,"selectionStart"in s&&C(s)?s={start:s.selectionStart,end:s.selectionEnd}:(s=(s.ownerDocument&&s.ownerDocument.defaultView||window).getSelection(),s={anchorNode:s.anchorNode,anchorOffset:s.anchorOffset,focusNode:s.focusNode,focusOffset:s.focusOffset}),be&&po(be,s)||(be=s,s=Rg(V,"onSelect"),0<s.length&&(i=new ha("onSelect","select",null,i,l),t.push({event:i,listeners:s}),i.target=L)))}function He(t,i){var l={};return l[t.toLowerCase()]=i.toLowerCase(),l["Webkit"+t]="webkit"+i,l["Moz"+t]="moz"+i,l}var Be={animationend:He("Animation","AnimationEnd"),animationiteration:He("Animation","AnimationIteration"),animationstart:He("Animation","AnimationStart"),transitionrun:He("Transition","TransitionRun"),transitionstart:He("Transition","TransitionStart"),transitioncancel:He("Transition","TransitionCancel"),transitionend:He("Transition","TransitionEnd")},Ve={},et={};Ur&&(et=document.createElement("div").style,"AnimationEvent"in window||(delete Be.animationend.animation,delete Be.animationiteration.animation,delete Be.animationstart.animation),"TransitionEvent"in window||delete Be.transitionend.transition);function qe(t){if(Ve[t])return Ve[t];if(!Be[t])return t;var i=Be[t],l;for(l in i)if(i.hasOwnProperty(l)&&l in et)return Ve[t]=i[l];return t}var ut=qe("animationend"),Ft=qe("animationiteration"),Ht=qe("animationstart"),Wt=qe("transitionrun"),an=qe("transitionstart"),Qe=qe("transitioncancel"),An=qe("transitionend"),xt=new Map,Nn="abort auxClick beforeToggle 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(" ");Nn.push("scrollEnd");function Qt(t,i){xt.set(t,i),pl(i,[t])}var ct=new WeakMap;function Bt(t,i){if(typeof t=="object"&&t!==null){var l=ct.get(t);return l!==void 0?l:(i={value:t,source:i,stack:Bc(i)},ct.set(t,i),i)}return{value:t,source:i,stack:Bc(i)}}var Hn=[],Sn=0,Ei=0;function yr(){for(var t=Sn,i=Ei=Sn=0;i<t;){var l=Hn[i];Hn[i++]=null;var s=Hn[i];Hn[i++]=null;var g=Hn[i];Hn[i++]=null;var v=Hn[i];if(Hn[i++]=null,s!==null&&g!==null){var R=s.pending;R===null?g.next=g:(g.next=R.next,R.next=g),s.pending=g}v!==0&&Yi(l,g,v)}}function In(t,i,l,s){Hn[Sn++]=t,Hn[Sn++]=i,Hn[Sn++]=l,Hn[Sn++]=s,Ei|=s,t.lanes|=s,t=t.alternate,t!==null&&(t.lanes|=s)}function er(t,i,l,s){return In(t,i,l,s),Vn(t)}function Cn(t,i){return In(t,null,null,i),Vn(t)}function Yi(t,i,l){t.lanes|=l;var s=t.alternate;s!==null&&(s.lanes|=l);for(var g=!1,v=t.return;v!==null;)v.childLanes|=l,s=v.alternate,s!==null&&(s.childLanes|=l),v.tag===22&&(t=v.stateNode,t===null||t._visibility&1||(g=!0)),t=v,v=v.return;return t.tag===3?(v=t.stateNode,g&&i!==null&&(g=31-Ke(l),t=v.hiddenUpdates,s=t[g],s===null?t[g]=[i]:s.push(i),i.lane=l|536870912),v):null}function Vn(t){if(50<Kd)throw Kd=0,N0=null,Error(a(185));for(var i=t.return;i!==null;)t=i,i=t.return;return t.tag===3?t.stateNode:null}var _i={};function ba(t,i,l,s){this.tag=t,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=s,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ln(t,i,l,s){return new ba(t,i,l,s)}function ya(t){return t=t.prototype,!(!t||!t.isReactComponent)}function li(t,i){var l=t.alternate;return l===null?(l=Ln(t.tag,i,t.key,t.mode),l.elementType=t.elementType,l.type=t.type,l.stateNode=t.stateNode,l.alternate=t,t.alternate=l):(l.pendingProps=i,l.type=t.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=t.flags&65011712,l.childLanes=t.childLanes,l.lanes=t.lanes,l.child=t.child,l.memoizedProps=t.memoizedProps,l.memoizedState=t.memoizedState,l.updateQueue=t.updateQueue,i=t.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=t.sibling,l.index=t.index,l.ref=t.ref,l.refCleanup=t.refCleanup,l}function $o(t,i){t.flags&=65011714;var l=t.alternate;return l===null?(t.childLanes=0,t.lanes=i,t.child=null,t.subtreeFlags=0,t.memoizedProps=null,t.memoizedState=null,t.updateQueue=null,t.dependencies=null,t.stateNode=null):(t.childLanes=l.childLanes,t.lanes=l.lanes,t.child=l.child,t.subtreeFlags=0,t.deletions=null,t.memoizedProps=l.memoizedProps,t.memoizedState=l.memoizedState,t.updateQueue=l.updateQueue,t.type=l.type,i=l.dependencies,t.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),t}function va(t,i,l,s,g,v){var R=0;if(s=t,typeof t=="function")ya(t)&&(R=1);else if(typeof t=="string")R=$N(t,l,De.current)?26:t==="html"||t==="head"||t==="body"?27:5;else e:switch(t){case me:return t=Ln(31,l,i,g),t.elementType=me,t.lanes=v,t;case P:return tr(l.children,g,v,i);case N:R=8,g|=24;break;case W:return t=Ln(12,l,i,g|2),t.elementType=W,t.lanes=v,t;case j:return t=Ln(13,l,i,g),t.elementType=j,t.lanes=v,t;case ee:return t=Ln(19,l,i,g),t.elementType=ee,t.lanes=v,t;default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case H:case Y:R=10;break e;case J:R=9;break e;case ve:R=11;break e;case Te:R=14;break e;case Se:R=16,s=null;break e}R=29,l=Error(a(130,t===null?"null":typeof t,"")),s=null}return i=Ln(R,l,i,g),i.elementType=t,i.type=s,i.lanes=v,i}function tr(t,i,l,s){return t=Ln(7,t,s,i),t.lanes=l,t}function Ls(t,i,l){return t=Ln(6,t,null,i),t.lanes=l,t}function Dl(t,i,l){return i=Ln(4,t.children!==null?t.children:[],t.key,i),i.lanes=l,i.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},i}var Ka=[],Qa=0,es=null,xa=0,kr=[],dr=0,Ci=null,Wn=1,Ti="";function Jr(t,i){Ka[Qa++]=xa,Ka[Qa++]=es,es=t,xa=i}function ja(t,i,l){kr[dr++]=Wn,kr[dr++]=Ti,kr[dr++]=Ci,Ci=t;var s=Wn;t=Ti;var g=32-Ke(s)-1;s&=~(1<<g),l+=1;var v=32-Ke(i)+g;if(30<v){var R=g-g%5;v=(s&(1<<R)-1).toString(32),s>>=R,g-=R,Wn=1<<32-Ke(i)+g|l<<g|s,Ti=v+t}else Wn=1<<v|l<<g|s,Ti=t}function Ml(t){t.return!==null&&(Jr(t,1),ja(t,1,0))}function Ui(t){for(;t===es;)es=Ka[--Qa],Ka[Qa]=null,xa=Ka[--Qa],Ka[Qa]=null;for(;t===Ci;)Ci=kr[--dr],kr[dr]=null,Ti=kr[--dr],kr[dr]=null,Wn=kr[--dr],kr[dr]=null}var Gn=null,Dt=null,wt=!1,oi=null,nr=!1,Tn=Error(a(519));function Zi(t){var i=Error(a(418,""));throw ui(Bt(i,t)),Tn}function si(t){var i=t.stateNode,l=t.type,s=t.memoizedProps;switch(i[Dn]=t,i[Lt]=s,l){case"dialog":zt("cancel",i),zt("close",i);break;case"iframe":case"object":case"embed":zt("load",i);break;case"video":case"audio":for(l=0;l<jd.length;l++)zt(jd[l],i);break;case"source":zt("error",i);break;case"img":case"image":case"link":zt("error",i),zt("load",i);break;case"details":zt("toggle",i);break;case"input":zt("invalid",i),ca(i,s.value,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name,!0),wi(i);break;case"select":zt("invalid",i);break;case"textarea":zt("invalid",i),Wo(i,s.value,s.defaultValue,s.children),wi(i)}l=s.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||i.textContent===""+l||s.suppressHydrationWarning===!0||Dw(i.textContent,l)?(s.popover!=null&&(zt("beforetoggle",i),zt("toggle",i)),s.onScroll!=null&&zt("scroll",i),s.onScrollEnd!=null&&zt("scrollend",i),s.onClick!=null&&(i.onclick=zg),i=!0):i=!1,i||Zi(t)}function Nl(t){for(Gn=t.return;Gn;)switch(Gn.tag){case 5:case 13:nr=!1;return;case 27:case 3:nr=!0;return;default:Gn=Gn.return}}function Aa(t){if(t!==Gn)return!1;if(!wt)return Nl(t),wt=!0,!1;var i=t.tag,l;if((l=i!==3&&i!==27)&&((l=i===5)&&(l=t.type,l=!(l!=="form"&&l!=="button")||j0(t.type,t.memoizedProps)),l=!l),l&&Dt&&Zi(t),Nl(t),i===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(a(317));e:{for(t=t.nextSibling,i=0;t;){if(t.nodeType===8)if(l=t.data,l==="/$"){if(i===0){Dt=Kl(t.nextSibling);break e}i--}else l!=="$"&&l!=="$!"&&l!=="$?"||i++;t=t.nextSibling}Dt=null}}else i===27?(i=Dt,ru(t.type)?(t=tb,tb=null,Dt=t):Dt=i):Dt=Gn?Kl(t.stateNode.nextSibling):null;return!0}function Ri(){Dt=Gn=null,wt=!1}function zi(){var t=oi;return t!==null&&($i===null?$i=t:$i.push.apply($i,t),oi=null),t}function ui(t){oi===null?oi=[t]:oi.push(t)}var Yn=F(null),vr=null,Oi=null;function Vi(t,i,l){B(Yn,i._currentValue),i._currentValue=l}function Er(t){t._currentValue=Yn.current,Oe(Yn)}function ts(t,i,l){for(;t!==null;){var s=t.alternate;if((t.childLanes&i)!==i?(t.childLanes|=i,s!==null&&(s.childLanes|=i)):s!==null&&(s.childLanes&i)!==i&&(s.childLanes|=i),t===l)break;t=t.return}}function Rn(t,i,l,s){var g=t.child;for(g!==null&&(g.return=t);g!==null;){var v=g.dependencies;if(v!==null){var R=g.child;v=v.firstContext;e:for(;v!==null;){var D=v;v=g;for(var U=0;U<i.length;U++)if(D.context===i[U]){v.lanes|=l,D=v.alternate,D!==null&&(D.lanes|=l),ts(v.return,l,t),s||(R=null);break e}v=D.next}}else if(g.tag===18){if(R=g.return,R===null)throw Error(a(341));R.lanes|=l,v=R.alternate,v!==null&&(v.lanes|=l),ts(R,l,t),R=null}else R=g.child;if(R!==null)R.return=g;else for(R=g;R!==null;){if(R===t){R=null;break}if(g=R.sibling,g!==null){g.return=R.return,R=g;break}R=R.return}g=R}}function Xi(t,i,l,s){t=null;for(var g=i,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var R=g.alternate;if(R===null)throw Error(a(387));if(R=R.memoizedProps,R!==null){var D=g.type;fr(g.pendingProps.value,R.value)||(t!==null?t.push(D):t=[D])}}else if(g===Ue.current){if(R=g.alternate,R===null)throw Error(a(387));R.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(t!==null?t.push(rh):t=[rh])}g=g.return}t!==null&&Rn(i,t,l,s),i.flags|=262144}function Ji(t){for(t=t.firstContext;t!==null;){if(!fr(t.context._currentValue,t.memoizedValue))return!0;t=t.next}return!1}function _r(t){vr=t,Oi=null,t=t.dependencies,t!==null&&(t.firstContext=null)}function Bn(t){return Cr(vr,t)}function qa(t,i){return vr===null&&_r(t),Cr(t,i)}function Cr(t,i){var l=i._currentValue;if(i={context:i,memoizedValue:l,next:null},Oi===null){if(t===null)throw Error(a(308));Oi=i,t.dependencies={lanes:0,firstContext:i},t.flags|=524288}else Oi=Oi.next=i;return l}var jc=typeof AbortController!="undefined"?AbortController:function(){var t=[],i=this.signal={aborted:!1,addEventListener:function(l,s){t.push(s)}};this.abort=function(){i.aborted=!0,t.forEach(function(l){return l()})}},Il=e.unstable_scheduleCallback,Lu=e.unstable_NormalPriority,ln={$$typeof:Y,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function $a(){return{controller:new jc,data:new Map,refCount:0}}function Sa(t){t.refCount--,t.refCount===0&&Il(Lu,function(){t.controller.abort()})}var ci=null,Ll=0,wa=0,ka=null;function ns(t,i){if(ci===null){var l=ci=[];Ll=0,wa=G0(),ka={status:"pending",value:void 0,then:function(s){l.push(s)}}}return Ll++,i.then(fi,fi),i}function fi(){if(--Ll===0&&ci!==null){ka!==null&&(ka.status="fulfilled");var t=ci;ci=null,wa=0,ka=null;for(var i=0;i<t.length;i++)(0,t[i])()}}function Ea(t,i){var l=[],s={status:"pending",value:null,reason:null,then:function(g){l.push(g)}};return t.then(function(){s.status="fulfilled",s.value=i;for(var g=0;g<l.length;g++)(0,l[g])(i)},function(g){for(s.status="rejected",s.reason=g,g=0;g<l.length;g++)(0,l[g])(void 0)}),s}var Bl=M.S;M.S=function(t,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&ns(t,i),Bl!==null&&Bl(t,i)};var Kr=F(null);function Fl(){var t=Kr.current;return t!==null?t:En.pooledCache}function _a(t,i){i===null?B(Kr,Kr.current):B(Kr,i.pool)}function mo(){var t=Fl();return t===null?null:{parent:ln._currentValue,pool:t}}var di=Error(a(460)),Ca=Error(a(474)),Ki=Error(a(542)),Ta={then:function(){}};function bo(t){return t=t.status,t==="fulfilled"||t==="rejected"}function f(){}function h(t,i,l){switch(l=t[l],l===void 0?t.push(i):l!==i&&(i.then(f,f),i=l),i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,z(t),t;default:if(typeof i.status=="string")i.then(f,f);else{if(t=En,t!==null&&100<t.shellSuspendCounter)throw Error(a(482));t=i,t.status="pending",t.then(function(s){if(i.status==="pending"){var g=i;g.status="fulfilled",g.value=s}},function(s){if(i.status==="pending"){var g=i;g.status="rejected",g.reason=s}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw t=i.reason,z(t),t}throw x=i,di}}var x=null;function T(){if(x===null)throw Error(a(459));var t=x;return x=null,t}function z(t){if(t===di||t===Ki)throw Error(a(483))}var I=!1;function Z(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function le(t,i){t=t.updateQueue,i.updateQueue===t&&(i.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,callbacks:null})}function X(t){return{lane:t,tag:0,payload:null,callback:null,next:null}}function re(t,i,l){var s=t.updateQueue;if(s===null)return null;if(s=s.shared,(tn&2)!==0){var g=s.pending;return g===null?i.next=i:(i.next=g.next,g.next=i),s.pending=i,i=Vn(t),Yi(t,null,l),i}return In(t,s,i,l),Vn(t)}function Ie(t,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var s=i.lanes;s&=t.pendingLanes,l|=s,i.lanes=l,Ic(t,l)}}function xe(t,i){var l=t.updateQueue,s=t.alternate;if(s!==null&&(s=s.updateQueue,l===s)){var g=null,v=null;if(l=l.firstBaseUpdate,l!==null){do{var R={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};v===null?g=v=R:v=v.next=R,l=l.next}while(l!==null);v===null?g=v=i:v=v.next=i}else g=v=i;l={baseState:s.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:s.shared,callbacks:s.callbacks},t.updateQueue=l;return}t=l.lastBaseUpdate,t===null?l.firstBaseUpdate=i:t.next=i,l.lastBaseUpdate=i}var Ye=!1;function Ze(){if(Ye){var t=ka;if(t!==null)throw t}}function $e(t,i,l,s){Ye=!1;var g=t.updateQueue;I=!1;var v=g.firstBaseUpdate,R=g.lastBaseUpdate,D=g.shared.pending;if(D!==null){g.shared.pending=null;var U=D,oe=U.next;U.next=null,R===null?v=oe:R.next=oe,R=U;var we=t.alternate;we!==null&&(we=we.updateQueue,D=we.lastBaseUpdate,D!==R&&(D===null?we.firstBaseUpdate=oe:D.next=oe,we.lastBaseUpdate=U))}if(v!==null){var _e=g.baseState;R=0,we=oe=U=null,D=v;do{var ue=D.lane&-536870913,ce=ue!==D.lane;if(ce?(It&ue)===ue:(s&ue)===ue){ue!==0&&ue===wa&&(Ye=!0),we!==null&&(we=we.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var dt=t,ot=D;ue=i;var un=l;switch(ot.tag){case 1:if(dt=ot.payload,typeof dt=="function"){_e=dt.call(un,_e,ue);break e}_e=dt;break e;case 3:dt.flags=dt.flags&-65537|128;case 0:if(dt=ot.payload,ue=typeof dt=="function"?dt.call(un,_e,ue):dt,ue==null)break e;_e=A({},_e,ue);break e;case 2:I=!0}}ue=D.callback,ue!==null&&(t.flags|=64,ce&&(t.flags|=8192),ce=g.callbacks,ce===null?g.callbacks=[ue]:ce.push(ue))}else ce={lane:ue,tag:D.tag,payload:D.payload,callback:D.callback,next:null},we===null?(oe=we=ce,U=_e):we=we.next=ce,R|=ue;if(D=D.next,D===null){if(D=g.shared.pending,D===null)break;ce=D,D=ce.next,ce.next=null,g.lastBaseUpdate=ce,g.shared.pending=null}}while(!0);we===null&&(U=_e),g.baseState=U,g.firstBaseUpdate=oe,g.lastBaseUpdate=we,v===null&&(g.shared.lanes=0),$s|=R,t.lanes=R,t.memoizedState=_e}}function ft(t,i){if(typeof t!="function")throw Error(a(191,t));t.call(i)}function Vt(t,i){var l=t.callbacks;if(l!==null)for(t.callbacks=null,t=0;t<l.length;t++)ft(l[t],i)}var $t=F(null),At=F(0);function rr(t,i){t=fs,B(At,t),B($t,i),fs=t|i.baseLanes}function bn(){B(At,fs),B($t,$t.current)}function hr(){fs=At.current,Oe($t),Oe(At)}var on=0,at=null,pt=null,bt=null,wn=!1,Xt=!1,kn=!1,Ra=0,hi=0,Qr=null,yo=0;function en(){throw Error(a(321))}function qc(t,i){if(i===null)return!1;for(var l=0;l<i.length&&l<t.length;l++)if(!fr(t[l],i[l]))return!1;return!0}function $c(t,i,l,s,g,v){return on=v,at=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,M.H=t===null||t.memoizedState===null?ls:Bd,kn=!1,v=l(s,g),kn=!1,Xt&&(v=kd(i,l,s,g)),wd(t),v}function wd(t){M.H=ec;var i=pt!==null&&pt.next!==null;if(on=0,bt=pt=at=null,wn=!1,hi=0,Qr=null,i)throw Error(a(300));t===null||Tr||(t=t.dependencies,t!==null&&Ji(t)&&(Tr=!0))}function kd(t,i,l,s){at=t;var g=0;do{if(Xt&&(Qr=null),hi=0,Xt=!1,25<=g)throw Error(a(301));if(g+=1,bt=pt=null,t.updateQueue!=null){var v=t.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}M.H=ff,v=i(l,s)}while(Xt);return v}function Ed(){var t=M.H,i=t.useState()[0];return i=typeof i.then=="function"?Hl(i):i,t=t.useState()[0],(pt!==null?pt.memoizedState:null)!==t&&(at.flags|=1024),i}function Bu(){var t=Ra!==0;return Ra=0,t}function Fu(t,i,l){i.updateQueue=t.updateQueue,i.flags&=-2053,t.lanes&=~l}function Hu(t){if(wn){for(t=t.memoizedState;t!==null;){var i=t.queue;i!==null&&(i.pending=null),t=t.next}wn=!1}on=0,bt=pt=at=null,Xt=!1,hi=Ra=0,Qr=null}function gr(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bt===null?at.memoizedState=bt=t:bt=bt.next=t,bt}function Gt(){if(pt===null){var t=at.alternate;t=t!==null?t.memoizedState:null}else t=pt.next;var i=bt===null?at.memoizedState:bt.next;if(i!==null)bt=i,pt=t;else{if(t===null)throw at.alternate===null?Error(a(467)):Error(a(310));pt=t,t={memoizedState:pt.memoizedState,baseState:pt.baseState,baseQueue:pt.baseQueue,queue:pt.queue,next:null},bt===null?at.memoizedState=bt=t:bt=bt.next=t}return bt}function ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Hl(t){var i=hi;return hi+=1,Qr===null&&(Qr=[]),t=h(Qr,t,i),i=at,(bt===null?i.memoizedState:bt.next)===null&&(i=i.alternate,M.H=i===null||i.memoizedState===null?ls:Bd),t}function Wu(t){if(t!==null&&typeof t=="object"){if(typeof t.then=="function")return Hl(t);if(t.$$typeof===Y)return Bn(t)}throw Error(a(438,String(t)))}function tf(t){var i=null,l=at.updateQueue;if(l!==null&&(i=l.memoCache),i==null){var s=at.alternate;s!==null&&(s=s.updateQueue,s!==null&&(s=s.memoCache,s!=null&&(i={data:s.data.map(function(g){return g.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),l===null&&(l=ef(),at.updateQueue=l),l.memoCache=i,l=i.data[i.index],l===void 0)for(l=i.data[i.index]=Array(t),s=0;s<t;s++)l[s]=q;return i.index++,l}function el(t,i){return typeof i=="function"?i(t):i}function Gu(t){var i=Gt();return nf(i,pt,t)}function nf(t,i,l){var s=t.queue;if(s===null)throw Error(a(311));s.lastRenderedReducer=l;var g=t.baseQueue,v=s.pending;if(v!==null){if(g!==null){var R=g.next;g.next=v.next,v.next=R}i.baseQueue=g=v,s.pending=null}if(v=t.baseState,g===null)t.memoizedState=v;else{i=g.next;var D=R=null,U=null,oe=i,we=!1;do{var _e=oe.lane&-536870913;if(_e!==oe.lane?(It&_e)===_e:(on&_e)===_e){var ue=oe.revertLane;if(ue===0)U!==null&&(U=U.next={lane:0,revertLane:0,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null}),_e===wa&&(we=!0);else if((on&ue)===ue){oe=oe.next,ue===wa&&(we=!0);continue}else _e={lane:0,revertLane:oe.revertLane,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null},U===null?(D=U=_e,R=v):U=U.next=_e,at.lanes|=ue,$s|=ue;_e=oe.action,kn&&l(v,_e),v=oe.hasEagerState?oe.eagerState:l(v,_e)}else ue={lane:_e,revertLane:oe.revertLane,action:oe.action,hasEagerState:oe.hasEagerState,eagerState:oe.eagerState,next:null},U===null?(D=U=ue,R=v):U=U.next=ue,at.lanes|=_e,$s|=_e;oe=oe.next}while(oe!==null&&oe!==i);if(U===null?R=v:U.next=D,!fr(v,t.memoizedState)&&(Tr=!0,we&&(l=ka,l!==null)))throw l;t.memoizedState=v,t.baseState=R,t.baseQueue=U,s.lastRenderedState=v}return g===null&&(s.lanes=0),[t.memoizedState,s.dispatch]}function rf(t){var i=Gt(),l=i.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=t;var s=l.dispatch,g=l.pending,v=i.memoizedState;if(g!==null){l.pending=null;var R=g=g.next;do v=t(v,R.action),R=R.next;while(R!==g);fr(v,i.memoizedState)||(Tr=!0),i.memoizedState=v,i.baseQueue===null&&(i.baseState=v),l.lastRenderedState=v}return[v,s]}function Bs(t,i,l){var s=at,g=Gt(),v=wt;if(v){if(l===void 0)throw Error(a(407));l=l()}else l=i();var R=!fr((pt||g).memoizedState,l);R&&(g.memoizedState=l,Tr=!0),g=g.queue;var D=Cd.bind(null,s,g,t);if(rs(2048,8,D,[t]),g.getSnapshot!==i||R||bt!==null&&bt.memoizedState.tag&1){if(s.flags|=2048,nl(9,xo(),_d.bind(null,s,g,l,i),null),En===null)throw Error(a(349));v||(on&124)!==0||tl(s,i,l)}return l}function tl(t,i,l){t.flags|=16384,t={getSnapshot:i,value:l},i=at.updateQueue,i===null?(i=ef(),at.updateQueue=i,i.stores=[t]):(l=i.stores,l===null?i.stores=[t]:l.push(t))}function _d(t,i,l,s){i.value=l,i.getSnapshot=s,Fs(i)&&Td(t)}function Cd(t,i,l){return l(function(){Fs(i)&&Td(t)})}function Fs(t){var i=t.getSnapshot;t=t.value;try{var l=i();return!fr(t,l)}catch(s){return!0}}function Td(t){var i=Cn(t,2);i!==null&&Ia(i,t,2)}function Wl(t){var i=gr();if(typeof t=="function"){var l=t;if(t=l(),kn){je(!0);try{l()}finally{je(!1)}}}return i.memoizedState=i.baseState=t,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:t},i}function Hs(t,i,l,s){return t.baseState=l,nf(t,pt,typeof s=="function"?s:el)}function Yu(t,i,l,s,g){if(Ao(t))throw Error(a(485));if(t=i.action,t!==null){var v={payload:g,action:t,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(R){v.listeners.push(R)}};M.T!==null?l(!0):v.isTransition=!1,s(v),l=i.pending,l===null?(v.next=i.pending=v,Ws(i,v)):(v.next=l.next,i.pending=l.next=v)}}function Ws(t,i){var l=i.action,s=i.payload,g=t.state;if(i.isTransition){var v=M.T,R={};M.T=R;try{var D=l(g,s),U=M.S;U!==null&&U(R,D),Gs(t,i,D)}catch(oe){Uu(t,i,oe)}finally{M.T=v}}else try{v=l(g,s),Gs(t,i,v)}catch(oe){Uu(t,i,oe)}}function Gs(t,i,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(s){Gl(t,i,s)},function(s){return Uu(t,i,s)}):Gl(t,i,l)}function Gl(t,i,l){i.status="fulfilled",i.value=l,af(i),t.state=l,i=t.pending,i!==null&&(l=i.next,l===i?t.pending=null:(l=l.next,i.next=l,Ws(t,l)))}function Uu(t,i,l){var s=t.pending;if(t.pending=null,s!==null){s=s.next;do i.status="rejected",i.reason=l,af(i),i=i.next;while(i!==s)}t.action=null}function af(t){t=t.listeners;for(var i=0;i<t.length;i++)(0,t[i])()}function vo(t,i){return i}function Rd(t,i){if(wt){var l=En.formState;if(l!==null){e:{var s=at;if(wt){if(Dt){t:{for(var g=Dt,v=nr;g.nodeType!==8;){if(!v){g=null;break t}if(g=Kl(g.nextSibling),g===null){g=null;break t}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){Dt=Kl(g.nextSibling),s=g.data==="F!";break e}}Zi(s)}s=!1}s&&(i=l[0])}}return l=gr(),l.memoizedState=l.baseState=i,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vo,lastRenderedState:i},l.queue=s,l=Id.bind(null,at,s),s.dispatch=l,s=Wl(!1),v=Vs.bind(null,at,!1,s.queue),s=gr(),g={state:i,dispatch:null,action:t,pending:null},s.queue=g,l=Yu.bind(null,at,g,v,l),g.dispatch=l,s.memoizedState=t,[i,l,!1]}function Zu(t){var i=Gt();return zd(i,pt,t)}function zd(t,i,l){if(i=nf(t,i,vo)[0],t=Gu(el)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var s=Hl(i)}catch(R){throw R===di?Ki:R}else s=i;i=Gt();var g=i.queue,v=g.dispatch;return l!==i.memoizedState&&(at.flags|=2048,nl(9,xo(),Vu.bind(null,g,l),null)),[s,v,t]}function Vu(t,i){t.action=i}function Od(t){var i=Gt(),l=pt;if(l!==null)return zd(i,l,t);Gt(),i=i.memoizedState,l=Gt();var s=l.queue.dispatch;return l.memoizedState=t,[i,s,!1]}function nl(t,i,l,s){return t={tag:t,create:l,deps:s,inst:i,next:null},i=at.updateQueue,i===null&&(i=ef(),at.updateQueue=i),l=i.lastEffect,l===null?i.lastEffect=t.next=t:(s=l.next,l.next=t,t.next=s,i.lastEffect=t),t}function xo(){return{destroy:void 0,resource:void 0}}function Pd(){return Gt().memoizedState}function Xu(t,i,l,s){var g=gr();s=s===void 0?null:s,at.flags|=t,g.memoizedState=nl(1|i,xo(),l,s)}function rs(t,i,l,s){var g=Gt();s=s===void 0?null:s;var v=g.memoizedState.inst;pt!==null&&s!==null&&qc(s,pt.memoizedState.deps)?g.memoizedState=nl(i,v,l,s):(at.flags|=t,g.memoizedState=nl(1|i,v,l,s))}function pg(t,i){Xu(8390656,8,t,i)}function Yl(t,i){rs(2048,8,t,i)}function Ju(t,i){return rs(4,2,t,i)}function Ys(t,i){return rs(4,4,t,i)}function is(t,i){if(typeof i=="function"){t=t();var l=i(t);return function(){typeof l=="function"?l():i(null)}}if(i!=null)return t=t(),i.current=t,function(){i.current=null}}function Ku(t,i,l){l=l!=null?l.concat([t]):null,rs(4,4,is.bind(null,i,t),l)}function Us(){}function lf(t,i){var l=Gt();i=i===void 0?null:i;var s=l.memoizedState;return i!==null&&qc(i,s[1])?s[0]:(l.memoizedState=[t,i],t)}function Dd(t,i){var l=Gt();i=i===void 0?null:i;var s=l.memoizedState;if(i!==null&&qc(i,s[1]))return s[0];if(s=t(),kn){je(!0);try{t()}finally{je(!1)}}return l.memoizedState=[s,i],s}function Qu(t,i,l){return l===void 0||(on&1073741824)!==0?t.memoizedState=i:(t.memoizedState=l,t=lw(),at.lanes|=t,$s|=t,l)}function Md(t,i,l,s){return fr(l,i)?l:$t.current!==null?(t=Qu(t,l,s),fr(t,i)||(Tr=!0),t):(on&42)===0?(Tr=!0,t.memoizedState=l):(t=lw(),at.lanes|=t,$s|=t,i)}function ju(t,i,l,s,g){var v=K.p;K.p=v!==0&&8>v?v:8;var R=M.T,D={};M.T=D,Vs(t,!1,i,l);try{var U=g(),oe=M.S;if(oe!==null&&oe(D,U),U!==null&&typeof U=="object"&&typeof U.then=="function"){var we=Ea(U,s);Ul(t,i,we,Na())}else Ul(t,i,s,Na())}catch(_e){Ul(t,i,{then:function(){},status:"rejected",reason:_e},Na())}finally{K.p=v,M.T=R}}function of(){}function sf(t,i,l,s){if(t.tag!==5)throw Error(a(476));var g=qu(t).queue;ju(t,g,i,ze,l===null?of:function(){return uf(t),l(s)})}function qu(t){var i=t.memoizedState;if(i!==null)return i;i={memoizedState:ze,baseState:ze,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:ze},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:el,lastRenderedState:l},next:null},t.memoizedState=i,t=t.alternate,t!==null&&(t.memoizedState=i),i}function uf(t){var i=qu(t).next.queue;Ul(t,i,{},Na())}function cf(){return Bn(rh)}function Nd(){return Gt().memoizedState}function $u(){return Gt().memoizedState}function as(t){for(var i=t.return;i!==null;){switch(i.tag){case 24:case 3:var l=Na();t=X(l);var s=re(i,t,l);s!==null&&(Ia(s,i,l),Ie(s,i,l)),i={cache:$a()},t.payload=i;return}i=i.return}}function Zs(t,i,l){var s=Na();l={lane:s,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},Ao(t)?Ld(i,l):(l=er(t,i,l,s),l!==null&&(Ia(l,t,s),So(l,i,s)))}function Id(t,i,l){var s=Na();Ul(t,i,l,s)}function Ul(t,i,l,s){var g={lane:s,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(Ao(t))Ld(i,g);else{var v=t.alternate;if(t.lanes===0&&(v===null||v.lanes===0)&&(v=i.lastRenderedReducer,v!==null))try{var R=i.lastRenderedState,D=v(R,l);if(g.hasEagerState=!0,g.eagerState=D,fr(D,R))return In(t,i,g,0),En===null&&yr(),!1}catch(U){}finally{}if(l=er(t,i,g,s),l!==null)return Ia(l,t,s),So(l,i,s),!0}return!1}function Vs(t,i,l,s){if(s={lane:2,revertLane:G0(),action:s,hasEagerState:!1,eagerState:null,next:null},Ao(t)){if(i)throw Error(a(479))}else i=er(t,l,s,2),i!==null&&Ia(i,t,2)}function Ao(t){var i=t.alternate;return t===at||i!==null&&i===at}function Ld(t,i){Xt=wn=!0;var l=t.pending;l===null?i.next=i:(i.next=l.next,l.next=i),t.pending=i}function So(t,i,l){if((l&4194048)!==0){var s=i.lanes;s&=t.pendingLanes,l|=s,i.lanes=l,Ic(t,l)}}var ec={readContext:Bn,use:Wu,useCallback:en,useContext:en,useEffect:en,useImperativeHandle:en,useLayoutEffect:en,useInsertionEffect:en,useMemo:en,useReducer:en,useRef:en,useState:en,useDebugValue:en,useDeferredValue:en,useTransition:en,useSyncExternalStore:en,useId:en,useHostTransitionStatus:en,useFormState:en,useActionState:en,useOptimistic:en,useMemoCache:en,useCacheRefresh:en},ls={readContext:Bn,use:Wu,useCallback:function(t,i){return gr().memoizedState=[t,i===void 0?null:i],t},useContext:Bn,useEffect:pg,useImperativeHandle:function(t,i,l){l=l!=null?l.concat([t]):null,Xu(4194308,4,is.bind(null,i,t),l)},useLayoutEffect:function(t,i){return Xu(4194308,4,t,i)},useInsertionEffect:function(t,i){Xu(4,2,t,i)},useMemo:function(t,i){var l=gr();i=i===void 0?null:i;var s=t();if(kn){je(!0);try{t()}finally{je(!1)}}return l.memoizedState=[s,i],s},useReducer:function(t,i,l){var s=gr();if(l!==void 0){var g=l(i);if(kn){je(!0);try{l(i)}finally{je(!1)}}}else g=i;return s.memoizedState=s.baseState=g,t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:g},s.queue=t,t=t.dispatch=Zs.bind(null,at,t),[s.memoizedState,t]},useRef:function(t){var i=gr();return t={current:t},i.memoizedState=t},useState:function(t){t=Wl(t);var i=t.queue,l=Id.bind(null,at,i);return i.dispatch=l,[t.memoizedState,l]},useDebugValue:Us,useDeferredValue:function(t,i){var l=gr();return Qu(l,t,i)},useTransition:function(){var t=Wl(!1);return t=ju.bind(null,at,t.queue,!0,!1),gr().memoizedState=t,[!1,t]},useSyncExternalStore:function(t,i,l){var s=at,g=gr();if(wt){if(l===void 0)throw Error(a(407));l=l()}else{if(l=i(),En===null)throw Error(a(349));(It&124)!==0||tl(s,i,l)}g.memoizedState=l;var v={value:l,getSnapshot:i};return g.queue=v,pg(Cd.bind(null,s,v,t),[t]),s.flags|=2048,nl(9,xo(),_d.bind(null,s,v,l,i),null),l},useId:function(){var t=gr(),i=En.identifierPrefix;if(wt){var l=Ti,s=Wn;l=(s&~(1<<32-Ke(s)-1)).toString(32)+l,i="«"+i+"R"+l,l=Ra++,0<l&&(i+="H"+l.toString(32)),i+="»"}else l=yo++,i="«"+i+"r"+l.toString(32)+"»";return t.memoizedState=i},useHostTransitionStatus:cf,useFormState:Rd,useActionState:Rd,useOptimistic:function(t){var i=gr();i.memoizedState=i.baseState=t;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=l,i=Vs.bind(null,at,!0,l),l.dispatch=i,[t,i]},useMemoCache:tf,useCacheRefresh:function(){return gr().memoizedState=as.bind(null,at)}},Bd={readContext:Bn,use:Wu,useCallback:lf,useContext:Bn,useEffect:Yl,useImperativeHandle:Ku,useInsertionEffect:Ju,useLayoutEffect:Ys,useMemo:Dd,useReducer:Gu,useRef:Pd,useState:function(){return Gu(el)},useDebugValue:Us,useDeferredValue:function(t,i){var l=Gt();return Md(l,pt.memoizedState,t,i)},useTransition:function(){var t=Gu(el)[0],i=Gt().memoizedState;return[typeof t=="boolean"?t:Hl(t),i]},useSyncExternalStore:Bs,useId:Nd,useHostTransitionStatus:cf,useFormState:Zu,useActionState:Zu,useOptimistic:function(t,i){var l=Gt();return Hs(l,pt,t,i)},useMemoCache:tf,useCacheRefresh:$u},ff={readContext:Bn,use:Wu,useCallback:lf,useContext:Bn,useEffect:Yl,useImperativeHandle:Ku,useInsertionEffect:Ju,useLayoutEffect:Ys,useMemo:Dd,useReducer:rf,useRef:Pd,useState:function(){return rf(el)},useDebugValue:Us,useDeferredValue:function(t,i){var l=Gt();return pt===null?Qu(l,t,i):Md(l,pt.memoizedState,t,i)},useTransition:function(){var t=rf(el)[0],i=Gt().memoizedState;return[typeof t=="boolean"?t:Hl(t),i]},useSyncExternalStore:Bs,useId:Nd,useHostTransitionStatus:cf,useFormState:Od,useActionState:Od,useOptimistic:function(t,i){var l=Gt();return pt!==null?Hs(l,pt,t,i):(l.baseState=t,[t,l.queue.dispatch])},useMemoCache:tf,useCacheRefresh:$u},wo=null,Zl=0;function tc(t){var i=Zl;return Zl+=1,wo===null&&(wo=[]),h(wo,t,i)}function Vl(t,i){i=i.props.ref,t.ref=i!==void 0?i:null}function ko(t,i){throw i.$$typeof===w?Error(a(525)):(t=Object.prototype.toString.call(i),Error(a(31,t==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":t)))}function Xs(t){var i=t._init;return i(t._payload)}function nc(t){function i(ne,Q){if(t){var ae=ne.deletions;ae===null?(ne.deletions=[Q],ne.flags|=16):ae.push(Q)}}function l(ne,Q){if(!t)return null;for(;Q!==null;)i(ne,Q),Q=Q.sibling;return null}function s(ne){for(var Q=new Map;ne!==null;)ne.key!==null?Q.set(ne.key,ne):Q.set(ne.index,ne),ne=ne.sibling;return Q}function g(ne,Q){return ne=li(ne,Q),ne.index=0,ne.sibling=null,ne}function v(ne,Q,ae){return ne.index=ae,t?(ae=ne.alternate,ae!==null?(ae=ae.index,ae<Q?(ne.flags|=67108866,Q):ae):(ne.flags|=67108866,Q)):(ne.flags|=1048576,Q)}function R(ne){return t&&ne.alternate===null&&(ne.flags|=67108866),ne}function D(ne,Q,ae,ke){return Q===null||Q.tag!==6?(Q=Ls(ae,ne.mode,ke),Q.return=ne,Q):(Q=g(Q,ae),Q.return=ne,Q)}function U(ne,Q,ae,ke){var Xe=ae.type;return Xe===P?we(ne,Q,ae.props.children,ke,ae.key):Q!==null&&(Q.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===Se&&Xs(Xe)===Q.type)?(Q=g(Q,ae.props),Vl(Q,ae),Q.return=ne,Q):(Q=va(ae.type,ae.key,ae.props,null,ne.mode,ke),Vl(Q,ae),Q.return=ne,Q)}function oe(ne,Q,ae,ke){return Q===null||Q.tag!==4||Q.stateNode.containerInfo!==ae.containerInfo||Q.stateNode.implementation!==ae.implementation?(Q=Dl(ae,ne.mode,ke),Q.return=ne,Q):(Q=g(Q,ae.children||[]),Q.return=ne,Q)}function we(ne,Q,ae,ke,Xe){return Q===null||Q.tag!==7?(Q=tr(ae,ne.mode,ke,Xe),Q.return=ne,Q):(Q=g(Q,ae),Q.return=ne,Q)}function _e(ne,Q,ae){if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Q=Ls(""+Q,ne.mode,ae),Q.return=ne,Q;if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case k:return ae=va(Q.type,Q.key,Q.props,null,ne.mode,ae),Vl(ae,Q),ae.return=ne,ae;case _:return Q=Dl(Q,ne.mode,ae),Q.return=ne,Q;case Se:var ke=Q._init;return Q=ke(Q._payload),_e(ne,Q,ae)}if(ge(Q)||fe(Q))return Q=tr(Q,ne.mode,ae,null),Q.return=ne,Q;if(typeof Q.then=="function")return _e(ne,tc(Q),ae);if(Q.$$typeof===Y)return _e(ne,qa(ne,Q),ae);ko(ne,Q)}return null}function ue(ne,Q,ae,ke){var Xe=Q!==null?Q.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return Xe!==null?null:D(ne,Q,""+ae,ke);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case k:return ae.key===Xe?U(ne,Q,ae,ke):null;case _:return ae.key===Xe?oe(ne,Q,ae,ke):null;case Se:return Xe=ae._init,ae=Xe(ae._payload),ue(ne,Q,ae,ke)}if(ge(ae)||fe(ae))return Xe!==null?null:we(ne,Q,ae,ke,null);if(typeof ae.then=="function")return ue(ne,Q,tc(ae),ke);if(ae.$$typeof===Y)return ue(ne,Q,qa(ne,ae),ke);ko(ne,ae)}return null}function ce(ne,Q,ae,ke,Xe){if(typeof ke=="string"&&ke!==""||typeof ke=="number"||typeof ke=="bigint")return ne=ne.get(ae)||null,D(Q,ne,""+ke,Xe);if(typeof ke=="object"&&ke!==null){switch(ke.$$typeof){case k:return ne=ne.get(ke.key===null?ae:ke.key)||null,U(Q,ne,ke,Xe);case _:return ne=ne.get(ke.key===null?ae:ke.key)||null,oe(Q,ne,ke,Xe);case Se:var Et=ke._init;return ke=Et(ke._payload),ce(ne,Q,ae,ke,Xe)}if(ge(ke)||fe(ke))return ne=ne.get(ae)||null,we(Q,ne,ke,Xe,null);if(typeof ke.then=="function")return ce(ne,Q,ae,tc(ke),Xe);if(ke.$$typeof===Y)return ce(ne,Q,ae,qa(Q,ke),Xe);ko(Q,ke)}return null}function dt(ne,Q,ae,ke){for(var Xe=null,Et=null,tt=Q,st=Q=0,zr=null;tt!==null&&st<ae.length;st++){tt.index>st?(zr=tt,tt=null):zr=tt.sibling;var Yt=ue(ne,tt,ae[st],ke);if(Yt===null){tt===null&&(tt=zr);break}t&&tt&&Yt.alternate===null&&i(ne,tt),Q=v(Yt,Q,st),Et===null?Xe=Yt:Et.sibling=Yt,Et=Yt,tt=zr}if(st===ae.length)return l(ne,tt),wt&&Jr(ne,st),Xe;if(tt===null){for(;st<ae.length;st++)tt=_e(ne,ae[st],ke),tt!==null&&(Q=v(tt,Q,st),Et===null?Xe=tt:Et.sibling=tt,Et=tt);return wt&&Jr(ne,st),Xe}for(tt=s(tt);st<ae.length;st++)zr=ce(tt,ne,st,ae[st],ke),zr!==null&&(t&&zr.alternate!==null&&tt.delete(zr.key===null?st:zr.key),Q=v(zr,Q,st),Et===null?Xe=zr:Et.sibling=zr,Et=zr);return t&&tt.forEach(function(su){return i(ne,su)}),wt&&Jr(ne,st),Xe}function ot(ne,Q,ae,ke){if(ae==null)throw Error(a(151));for(var Xe=null,Et=null,tt=Q,st=Q=0,zr=null,Yt=ae.next();tt!==null&&!Yt.done;st++,Yt=ae.next()){tt.index>st?(zr=tt,tt=null):zr=tt.sibling;var su=ue(ne,tt,Yt.value,ke);if(su===null){tt===null&&(tt=zr);break}t&&tt&&su.alternate===null&&i(ne,tt),Q=v(su,Q,st),Et===null?Xe=su:Et.sibling=su,Et=su,tt=zr}if(Yt.done)return l(ne,tt),wt&&Jr(ne,st),Xe;if(tt===null){for(;!Yt.done;st++,Yt=ae.next())Yt=_e(ne,Yt.value,ke),Yt!==null&&(Q=v(Yt,Q,st),Et===null?Xe=Yt:Et.sibling=Yt,Et=Yt);return wt&&Jr(ne,st),Xe}for(tt=s(tt);!Yt.done;st++,Yt=ae.next())Yt=ce(tt,ne,st,Yt.value,ke),Yt!==null&&(t&&Yt.alternate!==null&&tt.delete(Yt.key===null?st:Yt.key),Q=v(Yt,Q,st),Et===null?Xe=Yt:Et.sibling=Yt,Et=Yt);return t&&tt.forEach(function(fI){return i(ne,fI)}),wt&&Jr(ne,st),Xe}function un(ne,Q,ae,ke){if(typeof ae=="object"&&ae!==null&&ae.type===P&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case k:e:{for(var Xe=ae.key;Q!==null;){if(Q.key===Xe){if(Xe=ae.type,Xe===P){if(Q.tag===7){l(ne,Q.sibling),ke=g(Q,ae.props.children),ke.return=ne,ne=ke;break e}}else if(Q.elementType===Xe||typeof Xe=="object"&&Xe!==null&&Xe.$$typeof===Se&&Xs(Xe)===Q.type){l(ne,Q.sibling),ke=g(Q,ae.props),Vl(ke,ae),ke.return=ne,ne=ke;break e}l(ne,Q);break}else i(ne,Q);Q=Q.sibling}ae.type===P?(ke=tr(ae.props.children,ne.mode,ke,ae.key),ke.return=ne,ne=ke):(ke=va(ae.type,ae.key,ae.props,null,ne.mode,ke),Vl(ke,ae),ke.return=ne,ne=ke)}return R(ne);case _:e:{for(Xe=ae.key;Q!==null;){if(Q.key===Xe)if(Q.tag===4&&Q.stateNode.containerInfo===ae.containerInfo&&Q.stateNode.implementation===ae.implementation){l(ne,Q.sibling),ke=g(Q,ae.children||[]),ke.return=ne,ne=ke;break e}else{l(ne,Q);break}else i(ne,Q);Q=Q.sibling}ke=Dl(ae,ne.mode,ke),ke.return=ne,ne=ke}return R(ne);case Se:return Xe=ae._init,ae=Xe(ae._payload),un(ne,Q,ae,ke)}if(ge(ae))return dt(ne,Q,ae,ke);if(fe(ae)){if(Xe=fe(ae),typeof Xe!="function")throw Error(a(150));return ae=Xe.call(ae),ot(ne,Q,ae,ke)}if(typeof ae.then=="function")return un(ne,Q,tc(ae),ke);if(ae.$$typeof===Y)return un(ne,Q,qa(ne,ae),ke);ko(ne,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint"?(ae=""+ae,Q!==null&&Q.tag===6?(l(ne,Q.sibling),ke=g(Q,ae),ke.return=ne,ne=ke):(l(ne,Q),ke=Ls(ae,ne.mode,ke),ke.return=ne,ne=ke),R(ne)):l(ne,Q)}return function(ne,Q,ae,ke){try{Zl=0;var Xe=un(ne,Q,ae,ke);return wo=null,Xe}catch(tt){if(tt===di||tt===Ki)throw tt;var Et=Ln(29,tt,null,ne.mode);return Et.lanes=ke,Et.return=ne,Et}finally{}}}var Qi=nc(!0),xr=nc(!1),jt=F(null),za=null;function Pi(t){var i=t.alternate;B(Xn,Xn.current&1),B(jt,t),za===null&&(i===null||$t.current!==null||i.memoizedState!==null)&&(za=t)}function df(t){if(t.tag===22){if(B(Xn,Xn.current),B(jt,t),za===null){var i=t.alternate;i!==null&&i.memoizedState!==null&&(za=t)}}else gi()}function gi(){B(Xn,Xn.current),B(jt,jt.current)}function Oa(t){Oe(jt),za===t&&(za=null),Oe(Xn)}var Xn=F(0);function rl(t){for(var i=t;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||eb(l)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function rc(t,i,l,s){i=t.memoizedState,l=l(s,i),l=l==null?i:A({},i,l),t.memoizedState=l,t.lanes===0&&(t.updateQueue.baseState=l)}var ic={enqueueSetState:function(t,i,l){t=t._reactInternals;var s=Na(),g=X(s);g.payload=i,l!=null&&(g.callback=l),i=re(t,g,s),i!==null&&(Ia(i,t,s),Ie(i,t,s))},enqueueReplaceState:function(t,i,l){t=t._reactInternals;var s=Na(),g=X(s);g.tag=1,g.payload=i,l!=null&&(g.callback=l),i=re(t,g,s),i!==null&&(Ia(i,t,s),Ie(i,t,s))},enqueueForceUpdate:function(t,i){t=t._reactInternals;var l=Na(),s=X(l);s.tag=2,i!=null&&(s.callback=i),i=re(t,s,l),i!==null&&(Ia(i,t,l),Ie(i,t,l))}};function Fd(t,i,l,s,g,v,R){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(s,v,R):i.prototype&&i.prototype.isPureReactComponent?!po(l,s)||!po(g,v):!0}function hf(t,i,l,s){t=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,s),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,s),i.state!==t&&ic.enqueueReplaceState(i,i.state,null)}function Eo(t,i){var l=i;if("ref"in i){l={};for(var s in i)s!=="ref"&&(l[s]=i[s])}if(t=t.defaultProps){l===i&&(l=A({},l));for(var g in t)l[g]===void 0&&(l[g]=t[g])}return l}var Js=typeof reportError=="function"?reportError:function(t){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t=="object"&&t!==null&&typeof t.message=="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",t);return}console.error(t)};function Hd(t){Js(t)}function gf(t){console.error(t)}function Wd(t){Js(t)}function Xl(t,i){try{var l=t.onUncaughtError;l(i.value,{componentStack:i.stack})}catch(s){setTimeout(function(){throw s})}}function ji(t,i,l){try{var s=t.onCaughtError;s(l.value,{componentStack:l.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function pf(t,i,l){return l=X(l),l.tag=3,l.payload={element:null},l.callback=function(){Xl(t,i)},l}function ES(t){return t=X(t),t.tag=3,t}function _S(t,i,l,s){var g=l.type.getDerivedStateFromError;if(typeof g=="function"){var v=s.value;t.payload=function(){return g(v)},t.callback=function(){ji(i,l,s)}}var R=l.stateNode;R!==null&&typeof R.componentDidCatch=="function"&&(t.callback=function(){ji(i,l,s),typeof g!="function"&&(eu===null?eu=new Set([this]):eu.add(this));var D=s.stack;this.componentDidCatch(s.value,{componentStack:D!==null?D:""})})}function fN(t,i,l,s,g){if(l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){if(i=l.alternate,i!==null&&Xi(i,l,g,!0),l=jt.current,l!==null){switch(l.tag){case 13:return za===null?L0():l.alternate===null&&Jn===0&&(Jn=3),l.flags&=-257,l.flags|=65536,l.lanes=g,s===Ta?l.flags|=16384:(i=l.updateQueue,i===null?l.updateQueue=new Set([s]):i.add(s),F0(t,s,g)),!1;case 22:return l.flags|=65536,s===Ta?l.flags|=16384:(i=l.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([s])},l.updateQueue=i):(l=i.retryQueue,l===null?i.retryQueue=new Set([s]):l.add(s)),F0(t,s,g)),!1}throw Error(a(435,l.tag))}return F0(t,s,g),L0(),!1}if(wt)return i=jt.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=g,s!==Tn&&(t=Error(a(422),{cause:s}),ui(Bt(t,l)))):(s!==Tn&&(i=Error(a(423),{cause:s}),ui(Bt(i,l))),t=t.current.alternate,t.flags|=65536,g&=-g,t.lanes|=g,s=Bt(s,l),g=pf(t.stateNode,s,g),xe(t,g),Jn!==4&&(Jn=2)),!1;var v=Error(a(520),{cause:s});if(v=Bt(v,l),Jd===null?Jd=[v]:Jd.push(v),Jn!==4&&(Jn=2),i===null)return!0;s=Bt(s,l),l=i;do{switch(l.tag){case 3:return l.flags|=65536,t=g&-g,l.lanes|=t,t=pf(l.stateNode,s,t),xe(l,t),!1;case 1:if(i=l.type,v=l.stateNode,(l.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(eu===null||!eu.has(v))))return l.flags|=65536,g&=-g,l.lanes|=g,g=ES(g),_S(g,t,l,s),xe(l,g),!1}l=l.return}while(l!==null);return!1}var CS=Error(a(461)),Tr=!1;function jr(t,i,l,s){i.child=t===null?xr(i,null,l,s):Qi(i,t.child,l,s)}function TS(t,i,l,s,g){l=l.render;var v=i.ref;if("ref"in s){var R={};for(var D in s)D!=="ref"&&(R[D]=s[D])}else R=s;return _r(i),s=$c(t,i,l,R,v,g),D=Bu(),t!==null&&!Tr?(Fu(t,i,g),os(t,i,g)):(wt&&D&&Ml(i),i.flags|=1,jr(t,i,s,g),i.child)}function RS(t,i,l,s,g){if(t===null){var v=l.type;return typeof v=="function"&&!ya(v)&&v.defaultProps===void 0&&l.compare===null?(i.tag=15,i.type=v,zS(t,i,v,s,g)):(t=va(l.type,null,s,i,i.mode,g),t.ref=i.ref,t.return=i,i.child=t)}if(v=t.child,!A0(t,g)){var R=v.memoizedProps;if(l=l.compare,l=l!==null?l:po,l(R,s)&&t.ref===i.ref)return os(t,i,g)}return i.flags|=1,t=li(v,s),t.ref=i.ref,t.return=i,i.child=t}function zS(t,i,l,s,g){if(t!==null){var v=t.memoizedProps;if(po(v,s)&&t.ref===i.ref)if(Tr=!1,i.pendingProps=s=v,A0(t,g))(t.flags&131072)!==0&&(Tr=!0);else return i.lanes=t.lanes,os(t,i,g)}return g0(t,i,l,s,g)}function OS(t,i,l){var s=i.pendingProps,g=s.children,v=t!==null?t.memoizedState:null;if(s.mode==="hidden"){if((i.flags&128)!==0){if(s=v!==null?v.baseLanes|l:l,t!==null){for(g=i.child=t.child,v=0;g!==null;)v=v|g.lanes|g.childLanes,g=g.sibling;i.childLanes=v&~s}else i.childLanes=0,i.child=null;return PS(t,i,s,l)}if((l&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},t!==null&&_a(i,v!==null?v.cachePool:null),v!==null?rr(i,v):bn(),df(i);else return i.lanes=i.childLanes=536870912,PS(t,i,v!==null?v.baseLanes|l:l,l)}else v!==null?(_a(i,v.cachePool),rr(i,v),gi(),i.memoizedState=null):(t!==null&&_a(i,null),bn(),gi());return jr(t,i,g,l),i.child}function PS(t,i,l,s){var g=Fl();return g=g===null?null:{parent:ln._currentValue,pool:g},i.memoizedState={baseLanes:l,cachePool:g},t!==null&&_a(i,null),bn(),df(i),t!==null&&Xi(t,i,s,!0),null}function mg(t,i){var l=i.ref;if(l===null)t!==null&&t.ref!==null&&(i.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(t===null||t.ref!==l)&&(i.flags|=4194816)}}function g0(t,i,l,s,g){return _r(i),l=$c(t,i,l,s,void 0,g),s=Bu(),t!==null&&!Tr?(Fu(t,i,g),os(t,i,g)):(wt&&s&&Ml(i),i.flags|=1,jr(t,i,l,g),i.child)}function DS(t,i,l,s,g,v){return _r(i),i.updateQueue=null,l=kd(i,s,l,g),wd(t),s=Bu(),t!==null&&!Tr?(Fu(t,i,v),os(t,i,v)):(wt&&s&&Ml(i),i.flags|=1,jr(t,i,l,v),i.child)}function MS(t,i,l,s,g){if(_r(i),i.stateNode===null){var v=_i,R=l.contextType;typeof R=="object"&&R!==null&&(v=Bn(R)),v=new l(s,v),i.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=ic,i.stateNode=v,v._reactInternals=i,v=i.stateNode,v.props=s,v.state=i.memoizedState,v.refs={},Z(i),R=l.contextType,v.context=typeof R=="object"&&R!==null?Bn(R):_i,v.state=i.memoizedState,R=l.getDerivedStateFromProps,typeof R=="function"&&(rc(i,l,R,s),v.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(R=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),R!==v.state&&ic.enqueueReplaceState(v,v.state,null),$e(i,s,v,g),Ze(),v.state=i.memoizedState),typeof v.componentDidMount=="function"&&(i.flags|=4194308),s=!0}else if(t===null){v=i.stateNode;var D=i.memoizedProps,U=Eo(l,D);v.props=U;var oe=v.context,we=l.contextType;R=_i,typeof we=="object"&&we!==null&&(R=Bn(we));var _e=l.getDerivedStateFromProps;we=typeof _e=="function"||typeof v.getSnapshotBeforeUpdate=="function",D=i.pendingProps!==D,we||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(D||oe!==R)&&hf(i,v,s,R),I=!1;var ue=i.memoizedState;v.state=ue,$e(i,s,v,g),Ze(),oe=i.memoizedState,D||ue!==oe||I?(typeof _e=="function"&&(rc(i,l,_e,s),oe=i.memoizedState),(U=I||Fd(i,l,U,s,ue,oe,R))?(we||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(i.flags|=4194308)):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=s,i.memoizedState=oe),v.props=s,v.state=oe,v.context=R,s=U):(typeof v.componentDidMount=="function"&&(i.flags|=4194308),s=!1)}else{v=i.stateNode,le(t,i),R=i.memoizedProps,we=Eo(l,R),v.props=we,_e=i.pendingProps,ue=v.context,oe=l.contextType,U=_i,typeof oe=="object"&&oe!==null&&(U=Bn(oe)),D=l.getDerivedStateFromProps,(oe=typeof D=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(R!==_e||ue!==U)&&hf(i,v,s,U),I=!1,ue=i.memoizedState,v.state=ue,$e(i,s,v,g),Ze();var ce=i.memoizedState;R!==_e||ue!==ce||I||t!==null&&t.dependencies!==null&&Ji(t.dependencies)?(typeof D=="function"&&(rc(i,l,D,s),ce=i.memoizedState),(we=I||Fd(i,l,we,s,ue,ce,U)||t!==null&&t.dependencies!==null&&Ji(t.dependencies))?(oe||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(s,ce,U),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(s,ce,U)),typeof v.componentDidUpdate=="function"&&(i.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof v.componentDidUpdate!="function"||R===t.memoizedProps&&ue===t.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||R===t.memoizedProps&&ue===t.memoizedState||(i.flags|=1024),i.memoizedProps=s,i.memoizedState=ce),v.props=s,v.state=ce,v.context=U,s=we):(typeof v.componentDidUpdate!="function"||R===t.memoizedProps&&ue===t.memoizedState||(i.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||R===t.memoizedProps&&ue===t.memoizedState||(i.flags|=1024),s=!1)}return v=s,mg(t,i),s=(i.flags&128)!==0,v||s?(v=i.stateNode,l=s&&typeof l.getDerivedStateFromError!="function"?null:v.render(),i.flags|=1,t!==null&&s?(i.child=Qi(i,t.child,null,g),i.child=Qi(i,null,l,g)):jr(t,i,l,g),i.memoizedState=v.state,t=i.child):t=os(t,i,g),t}function NS(t,i,l,s){return Ri(),i.flags|=256,jr(t,i,l,s),i.child}var p0={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function m0(t){return{baseLanes:t,cachePool:mo()}}function b0(t,i,l){return t=t!==null?t.childLanes&~l:0,i&&(t|=il),t}function IS(t,i,l){var s=i.pendingProps,g=!1,v=(i.flags&128)!==0,R;if((R=v)||(R=t!==null&&t.memoizedState===null?!1:(Xn.current&2)!==0),R&&(g=!0,i.flags&=-129),R=(i.flags&32)!==0,i.flags&=-33,t===null){if(wt){if(g?Pi(i):gi(),wt){var D=Dt,U;if(U=D){e:{for(U=D,D=nr;U.nodeType!==8;){if(!D){D=null;break e}if(U=Kl(U.nextSibling),U===null){D=null;break e}}D=U}D!==null?(i.memoizedState={dehydrated:D,treeContext:Ci!==null?{id:Wn,overflow:Ti}:null,retryLane:536870912,hydrationErrors:null},U=Ln(18,null,null,0),U.stateNode=D,U.return=i,i.child=U,Gn=i,Dt=null,U=!0):U=!1}U||Zi(i)}if(D=i.memoizedState,D!==null&&(D=D.dehydrated,D!==null))return eb(D)?i.lanes=32:i.lanes=536870912,null;Oa(i)}return D=s.children,s=s.fallback,g?(gi(),g=i.mode,D=bg({mode:"hidden",children:D},g),s=tr(s,g,l,null),D.return=i,s.return=i,D.sibling=s,i.child=D,g=i.child,g.memoizedState=m0(l),g.childLanes=b0(t,R,l),i.memoizedState=p0,s):(Pi(i),y0(i,D))}if(U=t.memoizedState,U!==null&&(D=U.dehydrated,D!==null)){if(v)i.flags&256?(Pi(i),i.flags&=-257,i=v0(t,i,l)):i.memoizedState!==null?(gi(),i.child=t.child,i.flags|=128,i=null):(gi(),g=s.fallback,D=i.mode,s=bg({mode:"visible",children:s.children},D),g=tr(g,D,l,null),g.flags|=2,s.return=i,g.return=i,s.sibling=g,i.child=s,Qi(i,t.child,null,l),s=i.child,s.memoizedState=m0(l),s.childLanes=b0(t,R,l),i.memoizedState=p0,i=g);else if(Pi(i),eb(D)){if(R=D.nextSibling&&D.nextSibling.dataset,R)var oe=R.dgst;R=oe,s=Error(a(419)),s.stack="",s.digest=R,ui({value:s,source:null,stack:null}),i=v0(t,i,l)}else if(Tr||Xi(t,i,l,!1),R=(l&t.childLanes)!==0,Tr||R){if(R=En,R!==null&&(s=l&-l,s=(s&42)!==0?1:vs(s),s=(s&(R.suspendedLanes|l))!==0?0:s,s!==0&&s!==U.retryLane))throw U.retryLane=s,Cn(t,s),Ia(R,t,s),CS;D.data==="$?"||L0(),i=v0(t,i,l)}else D.data==="$?"?(i.flags|=192,i.child=t.child,i=null):(t=U.treeContext,Dt=Kl(D.nextSibling),Gn=i,wt=!0,oi=null,nr=!1,t!==null&&(kr[dr++]=Wn,kr[dr++]=Ti,kr[dr++]=Ci,Wn=t.id,Ti=t.overflow,Ci=i),i=y0(i,s.children),i.flags|=4096);return i}return g?(gi(),g=s.fallback,D=i.mode,U=t.child,oe=U.sibling,s=li(U,{mode:"hidden",children:s.children}),s.subtreeFlags=U.subtreeFlags&65011712,oe!==null?g=li(oe,g):(g=tr(g,D,l,null),g.flags|=2),g.return=i,s.return=i,s.sibling=g,i.child=s,s=g,g=i.child,D=t.child.memoizedState,D===null?D=m0(l):(U=D.cachePool,U!==null?(oe=ln._currentValue,U=U.parent!==oe?{parent:oe,pool:oe}:U):U=mo(),D={baseLanes:D.baseLanes|l,cachePool:U}),g.memoizedState=D,g.childLanes=b0(t,R,l),i.memoizedState=p0,s):(Pi(i),l=t.child,t=l.sibling,l=li(l,{mode:"visible",children:s.children}),l.return=i,l.sibling=null,t!==null&&(R=i.deletions,R===null?(i.deletions=[t],i.flags|=16):R.push(t)),i.child=l,i.memoizedState=null,l)}function y0(t,i){return i=bg({mode:"visible",children:i},t.mode),i.return=t,t.child=i}function bg(t,i){return t=Ln(22,t,null,i),t.lanes=0,t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},t}function v0(t,i,l){return Qi(i,t.child,null,l),t=y0(i,i.pendingProps.children),t.flags|=2,i.memoizedState=null,t}function LS(t,i,l){t.lanes|=i;var s=t.alternate;s!==null&&(s.lanes|=i),ts(t.return,i,l)}function x0(t,i,l,s,g){var v=t.memoizedState;v===null?t.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:s,tail:l,tailMode:g}:(v.isBackwards=i,v.rendering=null,v.renderingStartTime=0,v.last=s,v.tail=l,v.tailMode=g)}function BS(t,i,l){var s=i.pendingProps,g=s.revealOrder,v=s.tail;if(jr(t,i,s.children,l),s=Xn.current,(s&2)!==0)s=s&1|2,i.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=i.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&LS(t,l,i);else if(t.tag===19)LS(t,l,i);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===i)break e;for(;t.sibling===null;){if(t.return===null||t.return===i)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}s&=1}switch(B(Xn,s),g){case"forwards":for(l=i.child,g=null;l!==null;)t=l.alternate,t!==null&&rl(t)===null&&(g=l),l=l.sibling;l=g,l===null?(g=i.child,i.child=null):(g=l.sibling,l.sibling=null),x0(i,!1,g,l,v);break;case"backwards":for(l=null,g=i.child,i.child=null;g!==null;){if(t=g.alternate,t!==null&&rl(t)===null){i.child=g;break}t=g.sibling,g.sibling=l,l=g,g=t}x0(i,!0,l,null,v);break;case"together":x0(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function os(t,i,l){if(t!==null&&(i.dependencies=t.dependencies),$s|=i.lanes,(l&i.childLanes)===0)if(t!==null){if(Xi(t,i,l,!1),(l&i.childLanes)===0)return null}else return null;if(t!==null&&i.child!==t.child)throw Error(a(153));if(i.child!==null){for(t=i.child,l=li(t,t.pendingProps),i.child=l,l.return=i;t.sibling!==null;)t=t.sibling,l=l.sibling=li(t,t.pendingProps),l.return=i;l.sibling=null}return i.child}function A0(t,i){return(t.lanes&i)!==0?!0:(t=t.dependencies,!!(t!==null&&Ji(t)))}function dN(t,i,l){switch(i.tag){case 3:de(i,i.stateNode.containerInfo),Vi(i,ln,t.memoizedState.cache),Ri();break;case 27:case 5:ye(i);break;case 4:de(i,i.stateNode.containerInfo);break;case 10:Vi(i,i.type,i.memoizedProps.value);break;case 13:var s=i.memoizedState;if(s!==null)return s.dehydrated!==null?(Pi(i),i.flags|=128,null):(l&i.child.childLanes)!==0?IS(t,i,l):(Pi(i),t=os(t,i,l),t!==null?t.sibling:null);Pi(i);break;case 19:var g=(t.flags&128)!==0;if(s=(l&i.childLanes)!==0,s||(Xi(t,i,l,!1),s=(l&i.childLanes)!==0),g){if(s)return BS(t,i,l);i.flags|=128}if(g=i.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),B(Xn,Xn.current),s)break;return null;case 22:case 23:return i.lanes=0,OS(t,i,l);case 24:Vi(i,ln,t.memoizedState.cache)}return os(t,i,l)}function FS(t,i,l){if(t!==null)if(t.memoizedProps!==i.pendingProps)Tr=!0;else{if(!A0(t,l)&&(i.flags&128)===0)return Tr=!1,dN(t,i,l);Tr=(t.flags&131072)!==0}else Tr=!1,wt&&(i.flags&1048576)!==0&&ja(i,xa,i.index);switch(i.lanes=0,i.tag){case 16:e:{t=i.pendingProps;var s=i.elementType,g=s._init;if(s=g(s._payload),i.type=s,typeof s=="function")ya(s)?(t=Eo(s,t),i.tag=1,i=MS(null,i,s,t,l)):(i.tag=0,i=g0(null,i,s,t,l));else{if(s!=null){if(g=s.$$typeof,g===ve){i.tag=11,i=TS(null,i,s,t,l);break e}else if(g===Te){i.tag=14,i=RS(null,i,s,t,l);break e}}throw i=te(s)||s,Error(a(306,i,""))}}return i;case 0:return g0(t,i,i.type,i.pendingProps,l);case 1:return s=i.type,g=Eo(s,i.pendingProps),MS(t,i,s,g,l);case 3:e:{if(de(i,i.stateNode.containerInfo),t===null)throw Error(a(387));s=i.pendingProps;var v=i.memoizedState;g=v.element,le(t,i),$e(i,s,null,l);var R=i.memoizedState;if(s=R.cache,Vi(i,ln,s),s!==v.cache&&Rn(i,[ln],l,!0),Ze(),s=R.element,v.isDehydrated)if(v={element:s,isDehydrated:!1,cache:R.cache},i.updateQueue.baseState=v,i.memoizedState=v,i.flags&256){i=NS(t,i,s,l);break e}else if(s!==g){g=Bt(Error(a(424)),i),ui(g),i=NS(t,i,s,l);break e}else{switch(t=i.stateNode.containerInfo,t.nodeType){case 9:t=t.body;break;default:t=t.nodeName==="HTML"?t.ownerDocument.body:t}for(Dt=Kl(t.firstChild),Gn=i,wt=!0,oi=null,nr=!0,l=xr(i,null,s,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Ri(),s===g){i=os(t,i,l);break e}jr(t,i,s,l)}i=i.child}return i;case 26:return mg(t,i),t===null?(l=Yw(i.type,null,i.pendingProps,null))?i.memoizedState=l:wt||(l=i.type,t=i.pendingProps,s=Og(Ee.current).createElement(l),s[Dn]=i,s[Lt]=t,$r(s,l,t),Mn(s),i.stateNode=s):i.memoizedState=Yw(i.type,t.memoizedProps,i.pendingProps,t.memoizedState),null;case 27:return ye(i),t===null&&wt&&(s=i.stateNode=Hw(i.type,i.pendingProps,Ee.current),Gn=i,nr=!0,g=Dt,ru(i.type)?(tb=g,Dt=Kl(s.firstChild)):Dt=g),jr(t,i,i.pendingProps.children,l),mg(t,i),t===null&&(i.flags|=4194304),i.child;case 5:return t===null&&wt&&((g=s=Dt)&&(s=HN(s,i.type,i.pendingProps,nr),s!==null?(i.stateNode=s,Gn=i,Dt=Kl(s.firstChild),nr=!1,g=!0):g=!1),g||Zi(i)),ye(i),g=i.type,v=i.pendingProps,R=t!==null?t.memoizedProps:null,s=v.children,j0(g,v)?s=null:R!==null&&j0(g,R)&&(i.flags|=32),i.memoizedState!==null&&(g=$c(t,i,Ed,null,null,l),rh._currentValue=g),mg(t,i),jr(t,i,s,l),i.child;case 6:return t===null&&wt&&((t=l=Dt)&&(l=WN(l,i.pendingProps,nr),l!==null?(i.stateNode=l,Gn=i,Dt=null,t=!0):t=!1),t||Zi(i)),null;case 13:return IS(t,i,l);case 4:return de(i,i.stateNode.containerInfo),s=i.pendingProps,t===null?i.child=Qi(i,null,s,l):jr(t,i,s,l),i.child;case 11:return TS(t,i,i.type,i.pendingProps,l);case 7:return jr(t,i,i.pendingProps,l),i.child;case 8:return jr(t,i,i.pendingProps.children,l),i.child;case 12:return jr(t,i,i.pendingProps.children,l),i.child;case 10:return s=i.pendingProps,Vi(i,i.type,s.value),jr(t,i,s.children,l),i.child;case 9:return g=i.type._context,s=i.pendingProps.children,_r(i),g=Bn(g),s=s(g),i.flags|=1,jr(t,i,s,l),i.child;case 14:return RS(t,i,i.type,i.pendingProps,l);case 15:return zS(t,i,i.type,i.pendingProps,l);case 19:return BS(t,i,l);case 31:return s=i.pendingProps,l=i.mode,s={mode:s.mode,children:s.children},t===null?(l=bg(s,l),l.ref=i.ref,i.child=l,l.return=i,i=l):(l=li(t.child,s),l.ref=i.ref,i.child=l,l.return=i,i=l),i;case 22:return OS(t,i,l);case 24:return _r(i),s=Bn(ln),t===null?(g=Fl(),g===null&&(g=En,v=$a(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=l),g=v),i.memoizedState={parent:s,cache:g},Z(i),Vi(i,ln,g)):((t.lanes&l)!==0&&(le(t,i),$e(i,null,null,l),Ze()),g=t.memoizedState,v=i.memoizedState,g.parent!==s?(g={parent:s,cache:s},i.memoizedState=g,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=g),Vi(i,ln,s)):(s=v.cache,Vi(i,ln,s),s!==g.cache&&Rn(i,[ln],l,!0))),jr(t,i,i.pendingProps.children,l),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function ss(t){t.flags|=4}function HS(t,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)t.flags&=-16777217;else if(t.flags|=16777216,!Jw(i)){if(i=jt.current,i!==null&&((It&4194048)===It?za!==null:(It&62914560)!==It&&(It&536870912)===0||i!==za))throw x=Ta,Ca;t.flags|=8192}}function yg(t,i){i!==null&&(t.flags|=4),t.flags&16384&&(i=t.tag!==22?Ai():536870912,t.lanes|=i,vf|=i)}function Gd(t,i){if(!wt)switch(t.tailMode){case"hidden":i=t.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?t.tail=null:l.sibling=null;break;case"collapsed":l=t.tail;for(var s=null;l!==null;)l.alternate!==null&&(s=l),l=l.sibling;s===null?i||t.tail===null?t.tail=null:t.tail.sibling=null:s.sibling=null}}function Un(t){var i=t.alternate!==null&&t.alternate.child===t.child,l=0,s=0;if(i)for(var g=t.child;g!==null;)l|=g.lanes|g.childLanes,s|=g.subtreeFlags&65011712,s|=g.flags&65011712,g.return=t,g=g.sibling;else for(g=t.child;g!==null;)l|=g.lanes|g.childLanes,s|=g.subtreeFlags,s|=g.flags,g.return=t,g=g.sibling;return t.subtreeFlags|=s,t.childLanes=l,i}function hN(t,i,l){var s=i.pendingProps;switch(Ui(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Un(i),null;case 1:return Un(i),null;case 3:return l=i.stateNode,s=null,t!==null&&(s=t.memoizedState.cache),i.memoizedState.cache!==s&&(i.flags|=2048),Er(ln),se(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(t===null||t.child===null)&&(Aa(i)?ss(i):t===null||t.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,zi())),Un(i),null;case 26:return l=i.memoizedState,t===null?(ss(i),l!==null?(Un(i),HS(i,l)):(Un(i),i.flags&=-16777217)):l?l!==t.memoizedState?(ss(i),Un(i),HS(i,l)):(Un(i),i.flags&=-16777217):(t.memoizedProps!==s&&ss(i),Un(i),i.flags&=-16777217),null;case 27:Ce(i),l=Ee.current;var g=i.type;if(t!==null&&i.stateNode!=null)t.memoizedProps!==s&&ss(i);else{if(!s){if(i.stateNode===null)throw Error(a(166));return Un(i),null}t=De.current,Aa(i)?si(i):(t=Hw(g,s,l),i.stateNode=t,ss(i))}return Un(i),null;case 5:if(Ce(i),l=i.type,t!==null&&i.stateNode!=null)t.memoizedProps!==s&&ss(i);else{if(!s){if(i.stateNode===null)throw Error(a(166));return Un(i),null}if(t=De.current,Aa(i))si(i);else{switch(g=Og(Ee.current),t){case 1:t=g.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:t=g.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":t=g.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":t=g.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;case"script":t=g.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild);break;case"select":t=typeof s.is=="string"?g.createElement("select",{is:s.is}):g.createElement("select"),s.multiple?t.multiple=!0:s.size&&(t.size=s.size);break;default:t=typeof s.is=="string"?g.createElement(l,{is:s.is}):g.createElement(l)}}t[Dn]=i,t[Lt]=s;e:for(g=i.child;g!==null;){if(g.tag===5||g.tag===6)t.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===i)break e;for(;g.sibling===null;){if(g.return===null||g.return===i)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}i.stateNode=t;e:switch($r(t,l,s),l){case"button":case"input":case"select":case"textarea":t=!!s.autoFocus;break e;case"img":t=!0;break e;default:t=!1}t&&ss(i)}}return Un(i),i.flags&=-16777217,null;case 6:if(t&&i.stateNode!=null)t.memoizedProps!==s&&ss(i);else{if(typeof s!="string"&&i.stateNode===null)throw Error(a(166));if(t=Ee.current,Aa(i)){if(t=i.stateNode,l=i.memoizedProps,s=null,g=Gn,g!==null)switch(g.tag){case 27:case 5:s=g.memoizedProps}t[Dn]=i,t=!!(t.nodeValue===l||s!==null&&s.suppressHydrationWarning===!0||Dw(t.nodeValue,l)),t||Zi(i)}else t=Og(t).createTextNode(s),t[Dn]=i,i.stateNode=t}return Un(i),null;case 13:if(s=i.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(g=Aa(i),s!==null&&s.dehydrated!==null){if(t===null){if(!g)throw Error(a(318));if(g=i.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(a(317));g[Dn]=i}else Ri(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;Un(i),g=!1}else g=zi(),t!==null&&t.memoizedState!==null&&(t.memoizedState.hydrationErrors=g),g=!0;if(!g)return i.flags&256?(Oa(i),i):(Oa(i),null)}if(Oa(i),(i.flags&128)!==0)return i.lanes=l,i;if(l=s!==null,t=t!==null&&t.memoizedState!==null,l){s=i.child,g=null,s.alternate!==null&&s.alternate.memoizedState!==null&&s.alternate.memoizedState.cachePool!==null&&(g=s.alternate.memoizedState.cachePool.pool);var v=null;s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(v=s.memoizedState.cachePool.pool),v!==g&&(s.flags|=2048)}return l!==t&&l&&(i.child.flags|=8192),yg(i,i.updateQueue),Un(i),null;case 4:return se(),t===null&&V0(i.stateNode.containerInfo),Un(i),null;case 10:return Er(i.type),Un(i),null;case 19:if(Oe(Xn),g=i.memoizedState,g===null)return Un(i),null;if(s=(i.flags&128)!==0,v=g.rendering,v===null)if(s)Gd(g,!1);else{if(Jn!==0||t!==null&&(t.flags&128)!==0)for(t=i.child;t!==null;){if(v=rl(t),v!==null){for(i.flags|=128,Gd(g,!1),t=v.updateQueue,i.updateQueue=t,yg(i,t),i.subtreeFlags=0,t=l,l=i.child;l!==null;)$o(l,t),l=l.sibling;return B(Xn,Xn.current&1|2),i.child}t=t.sibling}g.tail!==null&&rn()>Ag&&(i.flags|=128,s=!0,Gd(g,!1),i.lanes=4194304)}else{if(!s)if(t=rl(v),t!==null){if(i.flags|=128,s=!0,t=t.updateQueue,i.updateQueue=t,yg(i,t),Gd(g,!0),g.tail===null&&g.tailMode==="hidden"&&!v.alternate&&!wt)return Un(i),null}else 2*rn()-g.renderingStartTime>Ag&&l!==536870912&&(i.flags|=128,s=!0,Gd(g,!1),i.lanes=4194304);g.isBackwards?(v.sibling=i.child,i.child=v):(t=g.last,t!==null?t.sibling=v:i.child=v,g.last=v)}return g.tail!==null?(i=g.tail,g.rendering=i,g.tail=i.sibling,g.renderingStartTime=rn(),i.sibling=null,t=Xn.current,B(Xn,s?t&1|2:t&1),i):(Un(i),null);case 22:case 23:return Oa(i),hr(),s=i.memoizedState!==null,t!==null?t.memoizedState!==null!==s&&(i.flags|=8192):s&&(i.flags|=8192),s?(l&536870912)!==0&&(i.flags&128)===0&&(Un(i),i.subtreeFlags&6&&(i.flags|=8192)):Un(i),l=i.updateQueue,l!==null&&yg(i,l.retryQueue),l=null,t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),s=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(s=i.memoizedState.cachePool.pool),s!==l&&(i.flags|=2048),t!==null&&Oe(Kr),null;case 24:return l=null,t!==null&&(l=t.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Er(ln),Un(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function gN(t,i){switch(Ui(i),i.tag){case 1:return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 3:return Er(ln),se(),t=i.flags,(t&65536)!==0&&(t&128)===0?(i.flags=t&-65537|128,i):null;case 26:case 27:case 5:return Ce(i),null;case 13:if(Oa(i),t=i.memoizedState,t!==null&&t.dehydrated!==null){if(i.alternate===null)throw Error(a(340));Ri()}return t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 19:return Oe(Xn),null;case 4:return se(),null;case 10:return Er(i.type),null;case 22:case 23:return Oa(i),hr(),t!==null&&Oe(Kr),t=i.flags,t&65536?(i.flags=t&-65537|128,i):null;case 24:return Er(ln),null;case 25:return null;default:return null}}function WS(t,i){switch(Ui(i),i.tag){case 3:Er(ln),se();break;case 26:case 27:case 5:Ce(i);break;case 4:se();break;case 13:Oa(i);break;case 19:Oe(Xn);break;case 10:Er(i.type);break;case 22:case 23:Oa(i),hr(),t!==null&&Oe(Kr);break;case 24:Er(ln)}}function Yd(t,i){try{var l=i.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var g=s.next;l=g;do{if((l.tag&t)===t){s=void 0;var v=l.create,R=l.inst;s=v(),R.destroy=s}l=l.next}while(l!==g)}}catch(D){yn(i,i.return,D)}}function Ks(t,i,l){try{var s=i.updateQueue,g=s!==null?s.lastEffect:null;if(g!==null){var v=g.next;s=v;do{if((s.tag&t)===t){var R=s.inst,D=R.destroy;if(D!==void 0){R.destroy=void 0,g=i;var U=l,oe=D;try{oe()}catch(we){yn(g,U,we)}}}s=s.next}while(s!==v)}}catch(we){yn(i,i.return,we)}}function GS(t){var i=t.updateQueue;if(i!==null){var l=t.stateNode;try{Vt(i,l)}catch(s){yn(t,t.return,s)}}}function YS(t,i,l){l.props=Eo(t.type,t.memoizedProps),l.state=t.memoizedState;try{l.componentWillUnmount()}catch(s){yn(t,i,s)}}function Ud(t,i){try{var l=t.ref;if(l!==null){switch(t.tag){case 26:case 27:case 5:var s=t.stateNode;break;case 30:s=t.stateNode;break;default:s=t.stateNode}typeof l=="function"?t.refCleanup=l(s):l.current=s}}catch(g){yn(t,i,g)}}function _o(t,i){var l=t.ref,s=t.refCleanup;if(l!==null)if(typeof s=="function")try{s()}catch(g){yn(t,i,g)}finally{t.refCleanup=null,t=t.alternate,t!=null&&(t.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(g){yn(t,i,g)}else l.current=null}function US(t){var i=t.type,l=t.memoizedProps,s=t.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&s.focus();break e;case"img":l.src?s.src=l.src:l.srcSet&&(s.srcset=l.srcSet)}}catch(g){yn(t,t.return,g)}}function S0(t,i,l){try{var s=t.stateNode;NN(s,t.type,l,i),s[Lt]=i}catch(g){yn(t,t.return,g)}}function ZS(t){return t.tag===5||t.tag===3||t.tag===26||t.tag===27&&ru(t.type)||t.tag===4}function w0(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||ZS(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.tag===27&&ru(t.type)||t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function k0(t,i,l){var s=t.tag;if(s===5||s===6)t=t.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(t,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(t),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=zg));else if(s!==4&&(s===27&&ru(t.type)&&(l=t.stateNode,i=null),t=t.child,t!==null))for(k0(t,i,l),t=t.sibling;t!==null;)k0(t,i,l),t=t.sibling}function vg(t,i,l){var s=t.tag;if(s===5||s===6)t=t.stateNode,i?l.insertBefore(t,i):l.appendChild(t);else if(s!==4&&(s===27&&ru(t.type)&&(l=t.stateNode),t=t.child,t!==null))for(vg(t,i,l),t=t.sibling;t!==null;)vg(t,i,l),t=t.sibling}function VS(t){var i=t.stateNode,l=t.memoizedProps;try{for(var s=t.type,g=i.attributes;g.length;)i.removeAttributeNode(g[0]);$r(i,s,l),i[Dn]=t,i[Lt]=l}catch(v){yn(t,t.return,v)}}var us=!1,ir=!1,E0=!1,XS=typeof WeakSet=="function"?WeakSet:Set,Rr=null;function pN(t,i){if(t=t.containerInfo,K0=Lg,t=S(t),C(t)){if("selectionStart"in t)var l={start:t.selectionStart,end:t.selectionEnd};else{l=(l=t.ownerDocument)&&l.defaultView||window;var s=l.getSelection&&l.getSelection();if(s&&s.rangeCount!==0){l=s.anchorNode;var g=s.anchorOffset,v=s.focusNode;s=s.focusOffset;var R=0,D=-1,U=-1,oe=0,we=0,_e=t,ue=null;e:for(;;){for(var ce;_e!==l||g!==0&&_e.nodeType!==3||(D=R+g),_e!==v||s!==0&&_e.nodeType!==3||(U=R+s),_e.nodeType===3&&(R+=_e.nodeValue.length),(ce=_e.firstChild)!==null;)ue=_e,_e=ce;for(;;){if(_e===t)break e;if(ue===l&&++oe===g&&(D=R),ue===v&&++we===s&&(U=R),(ce=_e.nextSibling)!==null)break;_e=ue,ue=_e.parentNode}_e=ce}l=D===-1||U===-1?null:{start:D,end:U}}else l=null}l=l||{start:0,end:0}}else l=null;for(Q0={focusedElem:t,selectionRange:l},Lg=!1,Rr=i;Rr!==null;)if(i=Rr,t=i.child,(i.subtreeFlags&1024)!==0&&t!==null)t.return=i,Rr=t;else for(;Rr!==null;){switch(i=Rr,v=i.alternate,t=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((t&1024)!==0&&v!==null){t=void 0,l=i,g=v.memoizedProps,v=v.memoizedState,s=l.stateNode;try{var dt=Eo(l.type,g);t=s.getSnapshotBeforeUpdate(dt,v),s.__reactInternalSnapshotBeforeUpdate=t}catch(ot){yn(l,l.return,ot)}}break;case 3:if((t&1024)!==0){if(t=i.stateNode.containerInfo,l=t.nodeType,l===9)$0(t);else if(l===1)switch(t.nodeName){case"HEAD":case"HTML":case"BODY":$0(t);break;default:t.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((t&1024)!==0)throw Error(a(163))}if(t=i.sibling,t!==null){t.return=i.return,Rr=t;break}Rr=i.return}}function JS(t,i,l){var s=l.flags;switch(l.tag){case 0:case 11:case 15:Qs(t,l),s&4&&Yd(5,l);break;case 1:if(Qs(t,l),s&4)if(t=l.stateNode,i===null)try{t.componentDidMount()}catch(R){yn(l,l.return,R)}else{var g=Eo(l.type,i.memoizedProps);i=i.memoizedState;try{t.componentDidUpdate(g,i,t.__reactInternalSnapshotBeforeUpdate)}catch(R){yn(l,l.return,R)}}s&64&&GS(l),s&512&&Ud(l,l.return);break;case 3:if(Qs(t,l),s&64&&(t=l.updateQueue,t!==null)){if(i=null,l.child!==null)switch(l.child.tag){case 27:case 5:i=l.child.stateNode;break;case 1:i=l.child.stateNode}try{Vt(t,i)}catch(R){yn(l,l.return,R)}}break;case 27:i===null&&s&4&&VS(l);case 26:case 5:Qs(t,l),i===null&&s&4&&US(l),s&512&&Ud(l,l.return);break;case 12:Qs(t,l);break;case 13:Qs(t,l),s&4&&jS(t,l),s&64&&(t=l.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&(l=kN.bind(null,l),GN(t,l))));break;case 22:if(s=l.memoizedState!==null||us,!s){i=i!==null&&i.memoizedState!==null||ir,g=us;var v=ir;us=s,(ir=i)&&!v?js(t,l,(l.subtreeFlags&8772)!==0):Qs(t,l),us=g,ir=v}break;case 30:break;default:Qs(t,l)}}function KS(t){var i=t.alternate;i!==null&&(t.alternate=null,KS(i)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(i=t.stateNode,i!==null&&Pt(i)),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}var Fn=null,qi=!1;function cs(t,i,l){for(l=l.child;l!==null;)QS(t,i,l),l=l.sibling}function QS(t,i,l){if(Ne&&typeof Ne.onCommitFiberUnmount=="function")try{Ne.onCommitFiberUnmount(pe,l)}catch(v){}switch(l.tag){case 26:ir||_o(l,i),cs(t,i,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:ir||_o(l,i);var s=Fn,g=qi;ru(l.type)&&(Fn=l.stateNode,qi=!1),cs(t,i,l),$d(l.stateNode),Fn=s,qi=g;break;case 5:ir||_o(l,i);case 6:if(s=Fn,g=qi,Fn=null,cs(t,i,l),Fn=s,qi=g,Fn!==null)if(qi)try{(Fn.nodeType===9?Fn.body:Fn.nodeName==="HTML"?Fn.ownerDocument.body:Fn).removeChild(l.stateNode)}catch(v){yn(l,i,v)}else try{Fn.removeChild(l.stateNode)}catch(v){yn(l,i,v)}break;case 18:Fn!==null&&(qi?(t=Fn,Bw(t.nodeType===9?t.body:t.nodeName==="HTML"?t.ownerDocument.body:t,l.stateNode),oh(t)):Bw(Fn,l.stateNode));break;case 4:s=Fn,g=qi,Fn=l.stateNode.containerInfo,qi=!0,cs(t,i,l),Fn=s,qi=g;break;case 0:case 11:case 14:case 15:ir||Ks(2,l,i),ir||Ks(4,l,i),cs(t,i,l);break;case 1:ir||(_o(l,i),s=l.stateNode,typeof s.componentWillUnmount=="function"&&YS(l,i,s)),cs(t,i,l);break;case 21:cs(t,i,l);break;case 22:ir=(s=ir)||l.memoizedState!==null,cs(t,i,l),ir=s;break;default:cs(t,i,l)}}function jS(t,i){if(i.memoizedState===null&&(t=i.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null))))try{oh(t)}catch(l){yn(i,i.return,l)}}function mN(t){switch(t.tag){case 13:case 19:var i=t.stateNode;return i===null&&(i=t.stateNode=new XS),i;case 22:return t=t.stateNode,i=t._retryCache,i===null&&(i=t._retryCache=new XS),i;default:throw Error(a(435,t.tag))}}function _0(t,i){var l=mN(t);i.forEach(function(s){var g=EN.bind(null,t,s);l.has(s)||(l.add(s),s.then(g,g))})}function Pa(t,i){var l=i.deletions;if(l!==null)for(var s=0;s<l.length;s++){var g=l[s],v=t,R=i,D=R;e:for(;D!==null;){switch(D.tag){case 27:if(ru(D.type)){Fn=D.stateNode,qi=!1;break e}break;case 5:Fn=D.stateNode,qi=!1;break e;case 3:case 4:Fn=D.stateNode.containerInfo,qi=!0;break e}D=D.return}if(Fn===null)throw Error(a(160));QS(v,R,g),Fn=null,qi=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)qS(i,t),i=i.sibling}var Jl=null;function qS(t,i){var l=t.alternate,s=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:Pa(i,t),Da(t),s&4&&(Ks(3,t,t.return),Yd(3,t),Ks(5,t,t.return));break;case 1:Pa(i,t),Da(t),s&512&&(ir||l===null||_o(l,l.return)),s&64&&us&&(t=t.updateQueue,t!==null&&(s=t.callbacks,s!==null&&(l=t.shared.hiddenCallbacks,t.shared.hiddenCallbacks=l===null?s:l.concat(s))));break;case 26:var g=Jl;if(Pa(i,t),Da(t),s&512&&(ir||l===null||_o(l,l.return)),s&4){var v=l!==null?l.memoizedState:null;if(s=t.memoizedState,l===null)if(s===null)if(t.stateNode===null){e:{s=t.type,l=t.memoizedProps,g=g.ownerDocument||g;t:switch(s){case"title":v=g.getElementsByTagName("title")[0],(!v||v[lo]||v[Dn]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(s),g.head.insertBefore(v,g.querySelector("head > title"))),$r(v,s,l),v[Dn]=t,Mn(v),s=v;break e;case"link":var R=Vw("link","href",g).get(s+(l.href||""));if(R){for(var D=0;D<R.length;D++)if(v=R[D],v.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&v.getAttribute("rel")===(l.rel==null?null:l.rel)&&v.getAttribute("title")===(l.title==null?null:l.title)&&v.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){R.splice(D,1);break t}}v=g.createElement(s),$r(v,s,l),g.head.appendChild(v);break;case"meta":if(R=Vw("meta","content",g).get(s+(l.content||""))){for(D=0;D<R.length;D++)if(v=R[D],v.getAttribute("content")===(l.content==null?null:""+l.content)&&v.getAttribute("name")===(l.name==null?null:l.name)&&v.getAttribute("property")===(l.property==null?null:l.property)&&v.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&v.getAttribute("charset")===(l.charSet==null?null:l.charSet)){R.splice(D,1);break t}}v=g.createElement(s),$r(v,s,l),g.head.appendChild(v);break;default:throw Error(a(468,s))}v[Dn]=t,Mn(v),s=v}t.stateNode=s}else Xw(g,t.type,t.stateNode);else t.stateNode=Zw(g,s,t.memoizedProps);else v!==s?(v===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):v.count--,s===null?Xw(g,t.type,t.stateNode):Zw(g,s,t.memoizedProps)):s===null&&t.stateNode!==null&&S0(t,t.memoizedProps,l.memoizedProps)}break;case 27:Pa(i,t),Da(t),s&512&&(ir||l===null||_o(l,l.return)),l!==null&&s&4&&S0(t,t.memoizedProps,l.memoizedProps);break;case 5:if(Pa(i,t),Da(t),s&512&&(ir||l===null||_o(l,l.return)),t.flags&32){g=t.stateNode;try{uo(g,"")}catch(ce){yn(t,t.return,ce)}}s&4&&t.stateNode!=null&&(g=t.memoizedProps,S0(t,g,l!==null?l.memoizedProps:g)),s&1024&&(E0=!0);break;case 6:if(Pa(i,t),Da(t),s&4){if(t.stateNode===null)throw Error(a(162));s=t.memoizedProps,l=t.stateNode;try{l.nodeValue=s}catch(ce){yn(t,t.return,ce)}}break;case 3:if(Mg=null,g=Jl,Jl=Pg(i.containerInfo),Pa(i,t),Jl=g,Da(t),s&4&&l!==null&&l.memoizedState.isDehydrated)try{oh(i.containerInfo)}catch(ce){yn(t,t.return,ce)}E0&&(E0=!1,$S(t));break;case 4:s=Jl,Jl=Pg(t.stateNode.containerInfo),Pa(i,t),Da(t),Jl=s;break;case 12:Pa(i,t),Da(t);break;case 13:Pa(i,t),Da(t),t.child.flags&8192&&t.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(P0=rn()),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,_0(t,s)));break;case 22:g=t.memoizedState!==null;var U=l!==null&&l.memoizedState!==null,oe=us,we=ir;if(us=oe||g,ir=we||U,Pa(i,t),ir=we,us=oe,Da(t),s&8192)e:for(i=t.stateNode,i._visibility=g?i._visibility&-2:i._visibility|1,g&&(l===null||U||us||ir||ac(t)),l=null,i=t;;){if(i.tag===5||i.tag===26){if(l===null){U=l=i;try{if(v=U.stateNode,g)R=v.style,typeof R.setProperty=="function"?R.setProperty("display","none","important"):R.display="none";else{D=U.stateNode;var _e=U.memoizedProps.style,ue=_e!=null&&_e.hasOwnProperty("display")?_e.display:null;D.style.display=ue==null||typeof ue=="boolean"?"":(""+ue).trim()}}catch(ce){yn(U,U.return,ce)}}}else if(i.tag===6){if(l===null){U=i;try{U.stateNode.nodeValue=g?"":U.memoizedProps}catch(ce){yn(U,U.return,ce)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===t)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;l===i&&(l=null),i=i.return}l===i&&(l=null),i.sibling.return=i.return,i=i.sibling}s&4&&(s=t.updateQueue,s!==null&&(l=s.retryQueue,l!==null&&(s.retryQueue=null,_0(t,l))));break;case 19:Pa(i,t),Da(t),s&4&&(s=t.updateQueue,s!==null&&(t.updateQueue=null,_0(t,s)));break;case 30:break;case 21:break;default:Pa(i,t),Da(t)}}function Da(t){var i=t.flags;if(i&2){try{for(var l,s=t.return;s!==null;){if(ZS(s)){l=s;break}s=s.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var g=l.stateNode,v=w0(t);vg(t,v,g);break;case 5:var R=l.stateNode;l.flags&32&&(uo(R,""),l.flags&=-33);var D=w0(t);vg(t,D,R);break;case 3:case 4:var U=l.stateNode.containerInfo,oe=w0(t);k0(t,oe,U);break;default:throw Error(a(161))}}catch(we){yn(t,t.return,we)}t.flags&=-3}i&4096&&(t.flags&=-4097)}function $S(t){if(t.subtreeFlags&1024)for(t=t.child;t!==null;){var i=t;$S(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),t=t.sibling}}function Qs(t,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)JS(t,i.alternate,i),i=i.sibling}function ac(t){for(t=t.child;t!==null;){var i=t;switch(i.tag){case 0:case 11:case 14:case 15:Ks(4,i,i.return),ac(i);break;case 1:_o(i,i.return);var l=i.stateNode;typeof l.componentWillUnmount=="function"&&YS(i,i.return,l),ac(i);break;case 27:$d(i.stateNode);case 26:case 5:_o(i,i.return),ac(i);break;case 22:i.memoizedState===null&&ac(i);break;case 30:ac(i);break;default:ac(i)}t=t.sibling}}function js(t,i,l){for(l=l&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var s=i.alternate,g=t,v=i,R=v.flags;switch(v.tag){case 0:case 11:case 15:js(g,v,l),Yd(4,v);break;case 1:if(js(g,v,l),s=v,g=s.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(oe){yn(s,s.return,oe)}if(s=v,g=s.updateQueue,g!==null){var D=s.stateNode;try{var U=g.shared.hiddenCallbacks;if(U!==null)for(g.shared.hiddenCallbacks=null,g=0;g<U.length;g++)ft(U[g],D)}catch(oe){yn(s,s.return,oe)}}l&&R&64&&GS(v),Ud(v,v.return);break;case 27:VS(v);case 26:case 5:js(g,v,l),l&&s===null&&R&4&&US(v),Ud(v,v.return);break;case 12:js(g,v,l);break;case 13:js(g,v,l),l&&R&4&&jS(g,v);break;case 22:v.memoizedState===null&&js(g,v,l),Ud(v,v.return);break;case 30:break;default:js(g,v,l)}i=i.sibling}}function C0(t,i){var l=null;t!==null&&t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),t=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(t=i.memoizedState.cachePool.pool),t!==l&&(t!=null&&t.refCount++,l!=null&&Sa(l))}function T0(t,i){t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Sa(t))}function Co(t,i,l,s){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)ew(t,i,l,s),i=i.sibling}function ew(t,i,l,s){var g=i.flags;switch(i.tag){case 0:case 11:case 15:Co(t,i,l,s),g&2048&&Yd(9,i);break;case 1:Co(t,i,l,s);break;case 3:Co(t,i,l,s),g&2048&&(t=null,i.alternate!==null&&(t=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==t&&(i.refCount++,t!=null&&Sa(t)));break;case 12:if(g&2048){Co(t,i,l,s),t=i.stateNode;try{var v=i.memoizedProps,R=v.id,D=v.onPostCommit;typeof D=="function"&&D(R,i.alternate===null?"mount":"update",t.passiveEffectDuration,-0)}catch(U){yn(i,i.return,U)}}else Co(t,i,l,s);break;case 13:Co(t,i,l,s);break;case 23:break;case 22:v=i.stateNode,R=i.alternate,i.memoizedState!==null?v._visibility&2?Co(t,i,l,s):Zd(t,i):v._visibility&2?Co(t,i,l,s):(v._visibility|=2,mf(t,i,l,s,(i.subtreeFlags&10256)!==0)),g&2048&&C0(R,i);break;case 24:Co(t,i,l,s),g&2048&&T0(i.alternate,i);break;default:Co(t,i,l,s)}}function mf(t,i,l,s,g){for(g=g&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var v=t,R=i,D=l,U=s,oe=R.flags;switch(R.tag){case 0:case 11:case 15:mf(v,R,D,U,g),Yd(8,R);break;case 23:break;case 22:var we=R.stateNode;R.memoizedState!==null?we._visibility&2?mf(v,R,D,U,g):Zd(v,R):(we._visibility|=2,mf(v,R,D,U,g)),g&&oe&2048&&C0(R.alternate,R);break;case 24:mf(v,R,D,U,g),g&&oe&2048&&T0(R.alternate,R);break;default:mf(v,R,D,U,g)}i=i.sibling}}function Zd(t,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var l=t,s=i,g=s.flags;switch(s.tag){case 22:Zd(l,s),g&2048&&C0(s.alternate,s);break;case 24:Zd(l,s),g&2048&&T0(s.alternate,s);break;default:Zd(l,s)}i=i.sibling}}var Vd=8192;function bf(t){if(t.subtreeFlags&Vd)for(t=t.child;t!==null;)tw(t),t=t.sibling}function tw(t){switch(t.tag){case 26:bf(t),t.flags&Vd&&t.memoizedState!==null&&tI(Jl,t.memoizedState,t.memoizedProps);break;case 5:bf(t);break;case 3:case 4:var i=Jl;Jl=Pg(t.stateNode.containerInfo),bf(t),Jl=i;break;case 22:t.memoizedState===null&&(i=t.alternate,i!==null&&i.memoizedState!==null?(i=Vd,Vd=16777216,bf(t),Vd=i):bf(t));break;default:bf(t)}}function nw(t){var i=t.alternate;if(i!==null&&(t=i.child,t!==null)){i.child=null;do i=t.sibling,t.sibling=null,t=i;while(t!==null)}}function Xd(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var s=i[l];Rr=s,iw(s,t)}nw(t)}if(t.subtreeFlags&10256)for(t=t.child;t!==null;)rw(t),t=t.sibling}function rw(t){switch(t.tag){case 0:case 11:case 15:Xd(t),t.flags&2048&&Ks(9,t,t.return);break;case 3:Xd(t);break;case 12:Xd(t);break;case 22:var i=t.stateNode;t.memoizedState!==null&&i._visibility&2&&(t.return===null||t.return.tag!==13)?(i._visibility&=-3,xg(t)):Xd(t);break;default:Xd(t)}}function xg(t){var i=t.deletions;if((t.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var s=i[l];Rr=s,iw(s,t)}nw(t)}for(t=t.child;t!==null;){switch(i=t,i.tag){case 0:case 11:case 15:Ks(8,i,i.return),xg(i);break;case 22:l=i.stateNode,l._visibility&2&&(l._visibility&=-3,xg(i));break;default:xg(i)}t=t.sibling}}function iw(t,i){for(;Rr!==null;){var l=Rr;switch(l.tag){case 0:case 11:case 15:Ks(8,l,i);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var s=l.memoizedState.cachePool.pool;s!=null&&s.refCount++}break;case 24:Sa(l.memoizedState.cache)}if(s=l.child,s!==null)s.return=l,Rr=s;else e:for(l=t;Rr!==null;){s=Rr;var g=s.sibling,v=s.return;if(KS(s),s===l){Rr=null;break e}if(g!==null){g.return=v,Rr=g;break e}Rr=v}}}var bN={getCacheForType:function(t){var i=Bn(ln),l=i.data.get(t);return l===void 0&&(l=t(),i.data.set(t,l)),l}},yN=typeof WeakMap=="function"?WeakMap:Map,tn=0,En=null,Rt=null,It=0,nn=0,Ma=null,qs=!1,yf=!1,R0=!1,fs=0,Jn=0,$s=0,lc=0,z0=0,il=0,vf=0,Jd=null,$i=null,O0=!1,P0=0,Ag=1/0,Sg=null,eu=null,qr=0,tu=null,xf=null,Af=0,D0=0,M0=null,aw=null,Kd=0,N0=null;function Na(){if((tn&2)!==0&&It!==0)return It&-It;if(M.T!==null){var t=wa;return t!==0?t:G0()}return Br()}function lw(){il===0&&(il=(It&536870912)===0||wt?la():536870912);var t=jt.current;return t!==null&&(t.flags|=32),il}function Ia(t,i,l){(t===En&&(nn===2||nn===9)||t.cancelPendingCommit!==null)&&(Sf(t,0),nu(t,It,il,!1)),dl(t,l),((tn&2)===0||t!==En)&&(t===En&&((tn&2)===0&&(lc|=l),Jn===4&&nu(t,It,il,!1)),To(t))}function ow(t,i,l){if((tn&6)!==0)throw Error(a(327));var s=!l&&(i&124)===0&&(i&t.expiredLanes)===0||qt(t,i),g=s?AN(t,i):B0(t,i,!0),v=s;do{if(g===0){yf&&!s&&nu(t,i,0,!1);break}else{if(l=t.current.alternate,v&&!vN(l)){g=B0(t,i,!1),v=!1;continue}if(g===2){if(v=i,t.errorRecoveryDisabledLanes&v)var R=0;else R=t.pendingLanes&-536870913,R=R!==0?R:R&536870912?536870912:0;if(R!==0){i=R;e:{var D=t;g=Jd;var U=D.current.memoizedState.isDehydrated;if(U&&(Sf(D,R).flags|=256),R=B0(D,R,!1),R!==2){if(R0&&!U){D.errorRecoveryDisabledLanes|=v,lc|=v,g=4;break e}v=$i,$i=g,v!==null&&($i===null?$i=v:$i.push.apply($i,v))}g=R}if(v=!1,g!==2)continue}}if(g===1){Sf(t,0),nu(t,i,0,!0);break}e:{switch(s=t,v=g,v){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:nu(s,i,il,!qs);break e;case 2:$i=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(g=P0+300-rn(),10<g)){if(nu(s,i,il,!qs),gt(s,0,!0)!==0)break e;s.timeoutHandle=Iw(sw.bind(null,s,l,$i,Sg,O0,i,il,lc,vf,qs,v,2,-0,0),g);break e}sw(s,l,$i,Sg,O0,i,il,lc,vf,qs,v,0,-0,0)}}break}while(!0);To(t)}function sw(t,i,l,s,g,v,R,D,U,oe,we,_e,ue,ce){if(t.timeoutHandle=-1,_e=i.subtreeFlags,(_e&8192||(_e&16785408)===16785408)&&(nh={stylesheets:null,count:0,unsuspend:eI},tw(i),_e=nI(),_e!==null)){t.cancelPendingCommit=_e(pw.bind(null,t,i,v,l,s,g,R,D,U,we,1,ue,ce)),nu(t,v,R,!oe);return}pw(t,i,v,l,s,g,R,D,U)}function vN(t){for(var i=t;;){var l=i.tag;if((l===0||l===11||l===15)&&i.flags&16384&&(l=i.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var s=0;s<l.length;s++){var g=l[s],v=g.getSnapshot;g=g.value;try{if(!fr(v(),g))return!1}catch(R){return!1}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;else{if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function nu(t,i,l,s){i&=~z0,i&=~lc,t.suspendedLanes|=i,t.pingedLanes&=~i,s&&(t.warmLanes|=i),s=t.expirationTimes;for(var g=i;0<g;){var v=31-Ke(g),R=1<<v;s[v]=-1,g&=~R}l!==0&&ku(t,l,i)}function wg(){return(tn&6)===0?(Qd(0),!1):!0}function I0(){if(Rt!==null){if(nn===0)var t=Rt.return;else t=Rt,Oi=vr=null,Hu(t),wo=null,Zl=0,t=Rt;for(;t!==null;)WS(t.alternate,t),t=t.return;Rt=null}}function Sf(t,i){var l=t.timeoutHandle;l!==-1&&(t.timeoutHandle=-1,LN(l)),l=t.cancelPendingCommit,l!==null&&(t.cancelPendingCommit=null,l()),I0(),En=t,Rt=l=li(t.current,null),It=i,nn=0,Ma=null,qs=!1,yf=qt(t,i),R0=!1,vf=il=z0=lc=$s=Jn=0,$i=Jd=null,O0=!1,(i&8)!==0&&(i|=i&32);var s=t.entangledLanes;if(s!==0)for(t=t.entanglements,s&=i;0<s;){var g=31-Ke(s),v=1<<g;i|=t[g],s&=~v}return fs=i,yr(),l}function uw(t,i){at=null,M.H=ec,i===di||i===Ki?(i=T(),nn=3):i===Ca?(i=T(),nn=4):nn=i===CS?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Ma=i,Rt===null&&(Jn=1,Xl(t,Bt(i,t.current)))}function cw(){var t=M.H;return M.H=ec,t===null?ec:t}function fw(){var t=M.A;return M.A=bN,t}function L0(){Jn=4,qs||(It&4194048)!==It&&jt.current!==null||(yf=!0),($s&134217727)===0&&(lc&134217727)===0||En===null||nu(En,It,il,!1)}function B0(t,i,l){var s=tn;tn|=2;var g=cw(),v=fw();(En!==t||It!==i)&&(Sg=null,Sf(t,i)),i=!1;var R=Jn;e:do try{if(nn!==0&&Rt!==null){var D=Rt,U=Ma;switch(nn){case 8:I0(),R=6;break e;case 3:case 2:case 9:case 6:jt.current===null&&(i=!0);var oe=nn;if(nn=0,Ma=null,wf(t,D,U,oe),l&&yf){R=0;break e}break;default:oe=nn,nn=0,Ma=null,wf(t,D,U,oe)}}xN(),R=Jn;break}catch(we){uw(t,we)}while(!0);return i&&t.shellSuspendCounter++,Oi=vr=null,tn=s,M.H=g,M.A=v,Rt===null&&(En=null,It=0,yr()),R}function xN(){for(;Rt!==null;)dw(Rt)}function AN(t,i){var l=tn;tn|=2;var s=cw(),g=fw();En!==t||It!==i?(Sg=null,Ag=rn()+500,Sf(t,i)):yf=qt(t,i);e:do try{if(nn!==0&&Rt!==null){i=Rt;var v=Ma;t:switch(nn){case 1:nn=0,Ma=null,wf(t,i,v,1);break;case 2:case 9:if(bo(v)){nn=0,Ma=null,hw(i);break}i=function(){nn!==2&&nn!==9||En!==t||(nn=7),To(t)},v.then(i,i);break e;case 3:nn=7;break e;case 4:nn=5;break e;case 7:bo(v)?(nn=0,Ma=null,hw(i)):(nn=0,Ma=null,wf(t,i,v,7));break;case 5:var R=null;switch(Rt.tag){case 26:R=Rt.memoizedState;case 5:case 27:var D=Rt;if(!R||Jw(R)){nn=0,Ma=null;var U=D.sibling;if(U!==null)Rt=U;else{var oe=D.return;oe!==null?(Rt=oe,kg(oe)):Rt=null}break t}}nn=0,Ma=null,wf(t,i,v,5);break;case 6:nn=0,Ma=null,wf(t,i,v,6);break;case 8:I0(),Jn=6;break e;default:throw Error(a(462))}}SN();break}catch(we){uw(t,we)}while(!0);return Oi=vr=null,M.H=s,M.A=g,tn=l,Rt!==null?0:(En=null,It=0,yr(),Jn)}function SN(){for(;Rt!==null&&!pn();)dw(Rt)}function dw(t){var i=FS(t.alternate,t,fs);t.memoizedProps=t.pendingProps,i===null?kg(t):Rt=i}function hw(t){var i=t,l=i.alternate;switch(i.tag){case 15:case 0:i=DS(l,i,i.pendingProps,i.type,void 0,It);break;case 11:i=DS(l,i,i.pendingProps,i.type.render,i.ref,It);break;case 5:Hu(i);default:WS(l,i),i=Rt=$o(i,fs),i=FS(l,i,fs)}t.memoizedProps=t.pendingProps,i===null?kg(t):Rt=i}function wf(t,i,l,s){Oi=vr=null,Hu(i),wo=null,Zl=0;var g=i.return;try{if(fN(t,g,i,l,It)){Jn=1,Xl(t,Bt(l,t.current)),Rt=null;return}}catch(v){if(g!==null)throw Rt=g,v;Jn=1,Xl(t,Bt(l,t.current)),Rt=null;return}i.flags&32768?(wt||s===1?t=!0:yf||(It&536870912)!==0?t=!1:(qs=t=!0,(s===2||s===9||s===3||s===6)&&(s=jt.current,s!==null&&s.tag===13&&(s.flags|=16384))),gw(i,t)):kg(i)}function kg(t){var i=t;do{if((i.flags&32768)!==0){gw(i,qs);return}t=i.return;var l=hN(i.alternate,i,fs);if(l!==null){Rt=l;return}if(i=i.sibling,i!==null){Rt=i;return}Rt=i=t}while(i!==null);Jn===0&&(Jn=5)}function gw(t,i){do{var l=gN(t.alternate,t);if(l!==null){l.flags&=32767,Rt=l;return}if(l=t.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!i&&(t=t.sibling,t!==null)){Rt=t;return}Rt=t=l}while(t!==null);Jn=6,Rt=null}function pw(t,i,l,s,g,v,R,D,U){t.cancelPendingCommit=null;do Eg();while(qr!==0);if((tn&6)!==0)throw Error(a(327));if(i!==null){if(i===t.current)throw Error(a(177));if(v=i.lanes|i.childLanes,v|=Ei,Nc(t,l,v,R,D,U),t===En&&(Rt=En=null,It=0),xf=i,tu=t,Af=l,D0=v,M0=g,aw=s,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(t.callbackNode=null,t.callbackPriority=0,_N(mn,function(){return xw(),null})):(t.callbackNode=null,t.callbackPriority=0),s=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||s){s=M.T,M.T=null,g=K.p,K.p=2,R=tn,tn|=4;try{pN(t,i)}finally{tn=R,K.p=g,M.T=s}}qr=1,mw(),bw(),yw()}}function mw(){if(qr===1){qr=0;var t=tu,i=xf,l=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||l){l=M.T,M.T=null;var s=K.p;K.p=2;var g=tn;tn|=4;try{qS(i,t);var v=Q0,R=S(t.containerInfo),D=v.focusedElem,U=v.selectionRange;if(R!==D&&D&&D.ownerDocument&&p(D.ownerDocument.documentElement,D)){if(U!==null&&C(D)){var oe=U.start,we=U.end;if(we===void 0&&(we=oe),"selectionStart"in D)D.selectionStart=oe,D.selectionEnd=Math.min(we,D.value.length);else{var _e=D.ownerDocument||document,ue=_e&&_e.defaultView||window;if(ue.getSelection){var ce=ue.getSelection(),dt=D.textContent.length,ot=Math.min(U.start,dt),un=U.end===void 0?ot:Math.min(U.end,dt);!ce.extend&&ot>un&&(R=un,un=ot,ot=R);var ne=d(D,ot),Q=d(D,un);if(ne&&Q&&(ce.rangeCount!==1||ce.anchorNode!==ne.node||ce.anchorOffset!==ne.offset||ce.focusNode!==Q.node||ce.focusOffset!==Q.offset)){var ae=_e.createRange();ae.setStart(ne.node,ne.offset),ce.removeAllRanges(),ot>un?(ce.addRange(ae),ce.extend(Q.node,Q.offset)):(ae.setEnd(Q.node,Q.offset),ce.addRange(ae))}}}}for(_e=[],ce=D;ce=ce.parentNode;)ce.nodeType===1&&_e.push({element:ce,left:ce.scrollLeft,top:ce.scrollTop});for(typeof D.focus=="function"&&D.focus(),D=0;D<_e.length;D++){var ke=_e[D];ke.element.scrollLeft=ke.left,ke.element.scrollTop=ke.top}}Lg=!!K0,Q0=K0=null}finally{tn=g,K.p=s,M.T=l}}t.current=i,qr=2}}function bw(){if(qr===2){qr=0;var t=tu,i=xf,l=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||l){l=M.T,M.T=null;var s=K.p;K.p=2;var g=tn;tn|=4;try{JS(t,i.alternate,i)}finally{tn=g,K.p=s,M.T=l}}qr=3}}function yw(){if(qr===4||qr===3){qr=0,mt();var t=tu,i=xf,l=Af,s=aw;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?qr=5:(qr=0,xf=tu=null,vw(t,t.pendingLanes));var g=t.pendingLanes;if(g===0&&(eu=null),Qn(l),i=i.stateNode,Ne&&typeof Ne.onCommitFiberRoot=="function")try{Ne.onCommitFiberRoot(pe,i,void 0,(i.current.flags&128)===128)}catch(U){}if(s!==null){i=M.T,g=K.p,K.p=2,M.T=null;try{for(var v=t.onRecoverableError,R=0;R<s.length;R++){var D=s[R];v(D.value,{componentStack:D.stack})}}finally{M.T=i,K.p=g}}(Af&3)!==0&&Eg(),To(t),g=t.pendingLanes,(l&4194090)!==0&&(g&42)!==0?t===N0?Kd++:(Kd=0,N0=t):Kd=0,Qd(0)}}function vw(t,i){(t.pooledCacheLanes&=i)===0&&(i=t.pooledCache,i!=null&&(t.pooledCache=null,Sa(i)))}function Eg(t){return mw(),bw(),yw(),xw()}function xw(){if(qr!==5)return!1;var t=tu,i=D0;D0=0;var l=Qn(Af),s=M.T,g=K.p;try{K.p=32>l?32:l,M.T=null,l=M0,M0=null;var v=tu,R=Af;if(qr=0,xf=tu=null,Af=0,(tn&6)!==0)throw Error(a(331));var D=tn;if(tn|=4,rw(v.current),ew(v,v.current,R,l),tn=D,Qd(0),Ne&&typeof Ne.onPostCommitFiberRoot=="function")try{Ne.onPostCommitFiberRoot(pe,v)}catch(U){}return!0}finally{K.p=g,M.T=s,vw(t,i)}}function Aw(t,i,l){i=Bt(l,i),i=pf(t.stateNode,i,2),t=re(t,i,2),t!==null&&(dl(t,2),To(t))}function yn(t,i,l){if(t.tag===3)Aw(t,t,l);else for(;i!==null;){if(i.tag===3){Aw(i,t,l);break}else if(i.tag===1){var s=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof s.componentDidCatch=="function"&&(eu===null||!eu.has(s))){t=Bt(l,t),l=ES(2),s=re(i,l,2),s!==null&&(_S(l,s,i,t),dl(s,2),To(s));break}}i=i.return}}function F0(t,i,l){var s=t.pingCache;if(s===null){s=t.pingCache=new yN;var g=new Set;s.set(i,g)}else g=s.get(i),g===void 0&&(g=new Set,s.set(i,g));g.has(l)||(R0=!0,g.add(l),t=wN.bind(null,t,i,l),i.then(t,t))}function wN(t,i,l){var s=t.pingCache;s!==null&&s.delete(i),t.pingedLanes|=t.suspendedLanes&l,t.warmLanes&=~l,En===t&&(It&l)===l&&(Jn===4||Jn===3&&(It&62914560)===It&&300>rn()-P0?(tn&2)===0&&Sf(t,0):z0|=l,vf===It&&(vf=0)),To(t)}function Sw(t,i){i===0&&(i=Ai()),t=Cn(t,i),t!==null&&(dl(t,i),To(t))}function kN(t){var i=t.memoizedState,l=0;i!==null&&(l=i.retryLane),Sw(t,l)}function EN(t,i){var l=0;switch(t.tag){case 13:var s=t.stateNode,g=t.memoizedState;g!==null&&(l=g.retryLane);break;case 19:s=t.stateNode;break;case 22:s=t.stateNode._retryCache;break;default:throw Error(a(314))}s!==null&&s.delete(i),Sw(t,l)}function _N(t,i){return Je(t,i)}var _g=null,kf=null,H0=!1,Cg=!1,W0=!1,oc=0;function To(t){t!==kf&&t.next===null&&(kf===null?_g=kf=t:kf=kf.next=t),Cg=!0,H0||(H0=!0,TN())}function Qd(t,i){if(!W0&&Cg){W0=!0;do for(var l=!1,s=_g;s!==null;){if(t!==0){var g=s.pendingLanes;if(g===0)var v=0;else{var R=s.suspendedLanes,D=s.pingedLanes;v=(1<<31-Ke(42|t)+1)-1,v&=g&~(R&~D),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(l=!0,_w(s,v))}else v=It,v=gt(s,s===En?v:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),(v&3)===0||qt(s,v)||(l=!0,_w(s,v));s=s.next}while(l);W0=!1}}function CN(){ww()}function ww(){Cg=H0=!1;var t=0;oc!==0&&(IN()&&(t=oc),oc=0);for(var i=rn(),l=null,s=_g;s!==null;){var g=s.next,v=kw(s,i);v===0?(s.next=null,l===null?_g=g:l.next=g,g===null&&(kf=l)):(l=s,(t!==0||(v&3)!==0)&&(Cg=!0)),s=g}Qd(t)}function kw(t,i){for(var l=t.suspendedLanes,s=t.pingedLanes,g=t.expirationTimes,v=t.pendingLanes&-62914561;0<v;){var R=31-Ke(v),D=1<<R,U=g[R];U===-1?((D&l)===0||(D&s)!==0)&&(g[R]=Lr(D,i)):U<=i&&(t.expiredLanes|=D),v&=~D}if(i=En,l=It,l=gt(t,t===i?l:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s=t.callbackNode,l===0||t===i&&(nn===2||nn===9)||t.cancelPendingCommit!==null)return s!==null&&s!==null&&Tt(s),t.callbackNode=null,t.callbackPriority=0;if((l&3)===0||qt(t,l)){if(i=l&-l,i===t.callbackPriority)return i;switch(s!==null&&Tt(s),Qn(l)){case 2:case 8:l=On;break;case 32:l=mn;break;case 268435456:l=Pn;break;default:l=mn}return s=Ew.bind(null,t),l=Je(l,s),t.callbackPriority=i,t.callbackNode=l,i}return s!==null&&s!==null&&Tt(s),t.callbackPriority=2,t.callbackNode=null,2}function Ew(t,i){if(qr!==0&&qr!==5)return t.callbackNode=null,t.callbackPriority=0,null;var l=t.callbackNode;if(Eg()&&t.callbackNode!==l)return null;var s=It;return s=gt(t,t===En?s:0,t.cancelPendingCommit!==null||t.timeoutHandle!==-1),s===0?null:(ow(t,s,i),kw(t,rn()),t.callbackNode!=null&&t.callbackNode===l?Ew.bind(null,t):null)}function _w(t,i){if(Eg())return null;ow(t,i,!0)}function TN(){BN(function(){(tn&6)!==0?Je(ii,CN):ww()})}function G0(){return oc===0&&(oc=la()),oc}function Cw(t){return t==null||typeof t=="symbol"||typeof t=="boolean"?null:typeof t=="function"?t:Al(""+t)}function Tw(t,i){var l=i.ownerDocument.createElement("input");return l.name=i.name,l.value=i.value,t.id&&l.setAttribute("form",t.id),i.parentNode.insertBefore(l,i),t=new FormData(t),l.parentNode.removeChild(l),t}function RN(t,i,l,s,g){if(i==="submit"&&l&&l.stateNode===g){var v=Cw((g[Lt]||null).action),R=s.submitter;R&&(i=(i=R[Lt]||null)?Cw(i.formAction):R.getAttribute("formAction"),i!==null&&(v=i,R=null));var D=new ha("action","action",null,s,g);t.push({event:D,listeners:[{instance:null,listener:function(){if(s.defaultPrevented){if(oc!==0){var U=R?Tw(g,R):new FormData(g);sf(l,{pending:!0,data:U,method:g.method,action:v},null,U)}}else typeof v=="function"&&(D.preventDefault(),U=R?Tw(g,R):new FormData(g),sf(l,{pending:!0,data:U,method:g.method,action:v},v,U))},currentTarget:g}]})}}for(var Y0=0;Y0<Nn.length;Y0++){var U0=Nn[Y0],zN=U0.toLowerCase(),ON=U0[0].toUpperCase()+U0.slice(1);Qt(zN,"on"+ON)}Qt(ut,"onAnimationEnd"),Qt(Ft,"onAnimationIteration"),Qt(Ht,"onAnimationStart"),Qt("dblclick","onDoubleClick"),Qt("focusin","onFocus"),Qt("focusout","onBlur"),Qt(Wt,"onTransitionRun"),Qt(an,"onTransitionStart"),Qt(Qe,"onTransitionCancel"),Qt(An,"onTransitionEnd"),oo("onMouseEnter",["mouseout","mouseover"]),oo("onMouseLeave",["mouseout","mouseover"]),oo("onPointerEnter",["pointerout","pointerover"]),oo("onPointerLeave",["pointerout","pointerover"]),pl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),pl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),pl("onBeforeInput",["compositionend","keypress","textInput","paste"]),pl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),pl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),pl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var jd="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(" "),PN=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(jd));function Rw(t,i){i=(i&4)!==0;for(var l=0;l<t.length;l++){var s=t[l],g=s.event;s=s.listeners;e:{var v=void 0;if(i)for(var R=s.length-1;0<=R;R--){var D=s[R],U=D.instance,oe=D.currentTarget;if(D=D.listener,U!==v&&g.isPropagationStopped())break e;v=D,g.currentTarget=oe;try{v(g)}catch(we){Js(we)}g.currentTarget=null,v=U}else for(R=0;R<s.length;R++){if(D=s[R],U=D.instance,oe=D.currentTarget,D=D.listener,U!==v&&g.isPropagationStopped())break e;v=D,g.currentTarget=oe;try{v(g)}catch(we){Js(we)}g.currentTarget=null,v=U}}}}function zt(t,i){var l=i[Lo];l===void 0&&(l=i[Lo]=new Set);var s=t+"__bubble";l.has(s)||(zw(i,t,2,!1),l.add(s))}function Z0(t,i,l){var s=0;i&&(s|=4),zw(l,t,s,i)}var Tg="_reactListening"+Math.random().toString(36).slice(2);function V0(t){if(!t[Tg]){t[Tg]=!0,Lc.forEach(function(l){l!=="selectionchange"&&(PN.has(l)||Z0(l,!1,t),Z0(l,!0,t))});var i=t.nodeType===9?t:t.ownerDocument;i===null||i[Tg]||(i[Tg]=!0,Z0("selectionchange",!1,i))}}function zw(t,i,l,s){switch(ek(i)){case 2:var g=aI;break;case 8:g=lI;break;default:g=lb}l=g.bind(null,i,l,t),g=void 0,!co||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(g=!0),s?g!==void 0?t.addEventListener(i,l,{capture:!0,passive:g}):t.addEventListener(i,l,!0):g!==void 0?t.addEventListener(i,l,{passive:g}):t.addEventListener(i,l,!1)}function X0(t,i,l,s,g){var v=s;if((i&1)===0&&(i&2)===0&&s!==null)e:for(;;){if(s===null)return;var R=s.tag;if(R===3||R===4){var D=s.stateNode.containerInfo;if(D===g)break;if(R===4)for(R=s.return;R!==null;){var U=R.tag;if((U===3||U===4)&&R.stateNode.containerInfo===g)return;R=R.return}for(;D!==null;){if(R=_n(D),R===null)return;if(U=R.tag,U===5||U===6||U===26||U===27){s=v=R;continue e}D=D.parentNode}}s=s.return}Yo(function(){var oe=v,we=Ou(l),_e=[];e:{var ue=xt.get(t);if(ue!==void 0){var ce=ha,dt=t;switch(t){case"keypress":if(ki(l)===0)break e;case"keydown":case"keyup":ce=xd;break;case"focusin":dt="focus",ce=_l;break;case"focusout":dt="blur",ce=_l;break;case"beforeblur":case"afterblur":ce=_l;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ce=Yc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ce=Zc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ce=Vo;break;case ut:case Ft:case Ht:ce=Ts;break;case An:ce=Rl;break;case"scroll":case"scrollend":ce=Gc;break;case"wheel":ce=wr;break;case"copy":case"cut":case"paste":ce=Pu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ce=fo;break;case"toggle":case"beforetoggle":ce=Xo}var ot=(i&4)!==0,un=!ot&&(t==="scroll"||t==="scrollend"),ne=ot?ue!==null?ue+"Capture":null:ue;ot=[];for(var Q=oe,ae;Q!==null;){var ke=Q;if(ae=ke.stateNode,ke=ke.tag,ke!==5&&ke!==26&&ke!==27||ae===null||ne===null||(ke=Nt(Q,ne),ke!=null&&ot.push(qd(Q,ke,ae))),un)break;Q=Q.return}0<ot.length&&(ue=new ce(ue,dt,null,l,we),_e.push({event:ue,listeners:ot}))}}if((i&7)===0){e:{if(ue=t==="mouseover"||t==="pointerover",ce=t==="mouseout"||t==="pointerout",ue&&l!==zu&&(dt=l.relatedTarget||l.fromElement)&&(_n(dt)||dt[hl]))break e;if((ce||ue)&&(ue=we.window===we?we:(ue=we.ownerDocument)?ue.defaultView||ue.parentWindow:window,ce?(dt=l.relatedTarget||l.toElement,ce=oe,dt=dt?_n(dt):null,dt!==null&&(un=u(dt),ot=dt.tag,dt!==un||ot!==5&&ot!==27&&ot!==6)&&(dt=null)):(ce=null,dt=oe),ce!==dt)){if(ot=Yc,ke="onMouseLeave",ne="onMouseEnter",Q="mouse",(t==="pointerout"||t==="pointerover")&&(ot=fo,ke="onPointerLeave",ne="onPointerEnter",Q="pointer"),un=ce==null?ue:qn(ce),ae=dt==null?ue:qn(dt),ue=new ot(ke,Q+"leave",ce,l,we),ue.target=un,ue.relatedTarget=ae,ke=null,_n(we)===oe&&(ot=new ot(ne,Q+"enter",dt,l,we),ot.target=ae,ot.relatedTarget=un,ke=ot),un=ke,ce&&dt)t:{for(ot=ce,ne=dt,Q=0,ae=ot;ae;ae=Ef(ae))Q++;for(ae=0,ke=ne;ke;ke=Ef(ke))ae++;for(;0<Q-ae;)ot=Ef(ot),Q--;for(;0<ae-Q;)ne=Ef(ne),ae--;for(;Q--;){if(ot===ne||ne!==null&&ot===ne.alternate)break t;ot=Ef(ot),ne=Ef(ne)}ot=null}else ot=null;ce!==null&&Ow(_e,ue,ce,ot,!1),dt!==null&&un!==null&&Ow(_e,un,dt,ot,!0)}}e:{if(ue=oe?qn(oe):window,ce=ue.nodeName&&ue.nodeName.toLowerCase(),ce==="select"||ce==="input"&&ue.type==="file")var Xe=Nu;else if(Ds(ue))if(Ns)Xe=Pl;else{Xe=Iu;var Et=Is}else ce=ue.nodeName,!ce||ce.toLowerCase()!=="input"||ue.type!=="checkbox"&&ue.type!=="radio"?oe&&xl(oe.elementType)&&(Xe=Nu):Xe=qo;if(Xe&&(Xe=Xe(t,oe))){Ms(_e,Xe,l,we);break e}Et&&Et(t,ue,oe),t==="focusout"&&oe&&ue.type==="number"&&oe.memoizedProps.value!=null&&vl(ue,"number",ue.value)}switch(Et=oe?qn(oe):window,t){case"focusin":(Ds(Et)||Et.contentEditable==="true")&&(L=Et,V=oe,be=null);break;case"focusout":be=V=L=null;break;case"mousedown":ie=!0;break;case"contextmenu":case"mouseup":case"dragend":ie=!1,he(_e,l,we);break;case"selectionchange":if(O)break;case"keydown":case"keyup":he(_e,l,we)}var tt;if(Jo)e:{switch(t){case"compositionstart":var st="onCompositionStart";break e;case"compositionend":st="onCompositionEnd";break e;case"compositionupdate":st="onCompositionUpdate";break e}st=void 0}else pa?Ko(t,l)&&(st="onCompositionEnd"):t==="keydown"&&l.keyCode===229&&(st="onCompositionStart");st&&(Vr&&l.locale!=="ko"&&(pa||st!=="onCompositionStart"?st==="onCompositionEnd"&&pa&&(tt=kl()):(ai=we,Sl="value"in ai?ai.value:ai.textContent,pa=!0)),Et=Rg(oe,st),0<Et.length&&(st=new Cl(st,t,null,l,we),_e.push({event:st,listeners:Et}),tt?st.data=tt:(tt=Ps(l),tt!==null&&(st.data=tt)))),(tt=Mu?Xr(t,l):Ad(t,l))&&(st=Rg(oe,"onBeforeInput"),0<st.length&&(Et=new Cl("onBeforeInput","beforeinput",null,l,we),_e.push({event:Et,listeners:st}),Et.data=tt)),RN(_e,t,oe,l,we)}Rw(_e,i)})}function qd(t,i,l){return{instance:t,listener:i,currentTarget:l}}function Rg(t,i){for(var l=i+"Capture",s=[];t!==null;){var g=t,v=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=Nt(t,l),g!=null&&s.unshift(qd(t,g,v)),g=Nt(t,i),g!=null&&s.push(qd(t,g,v))),t.tag===3)return s;t=t.return}return[]}function Ef(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5&&t.tag!==27);return t||null}function Ow(t,i,l,s,g){for(var v=i._reactName,R=[];l!==null&&l!==s;){var D=l,U=D.alternate,oe=D.stateNode;if(D=D.tag,U!==null&&U===s)break;D!==5&&D!==26&&D!==27||oe===null||(U=oe,g?(oe=Nt(l,v),oe!=null&&R.unshift(qd(l,oe,U))):g||(oe=Nt(l,v),oe!=null&&R.push(qd(l,oe,U)))),l=l.return}R.length!==0&&t.push({event:i,listeners:R})}var DN=/\r\n?/g,MN=/\u0000|\uFFFD/g;function Pw(t){return(typeof t=="string"?t:""+t).replace(DN,`
49
- `).replace(MN,"")}function Dw(t,i){return i=Pw(i),Pw(t)===i}function zg(){}function sn(t,i,l,s,g,v){switch(l){case"children":typeof s=="string"?i==="body"||i==="textarea"&&s===""||uo(t,s):(typeof s=="number"||typeof s=="bigint")&&i!=="body"&&uo(t,""+s);break;case"className":ua(t,"class",s);break;case"tabIndex":ua(t,"tabindex",s);break;case"dir":case"role":case"viewBox":case"width":case"height":ua(t,l,s);break;case"style":Ga(t,s,v);break;case"data":if(i!=="object"){ua(t,"data",s);break}case"src":case"href":if(s===""&&(i!=="a"||l!=="href")){t.removeAttribute(l);break}if(s==null||typeof s=="function"||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(l);break}s=Al(""+s),t.setAttribute(l,s);break;case"action":case"formAction":if(typeof s=="function"){t.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof v=="function"&&(l==="formAction"?(i!=="input"&&sn(t,i,"name",g.name,g,null),sn(t,i,"formEncType",g.formEncType,g,null),sn(t,i,"formMethod",g.formMethod,g,null),sn(t,i,"formTarget",g.formTarget,g,null)):(sn(t,i,"encType",g.encType,g,null),sn(t,i,"method",g.method,g,null),sn(t,i,"target",g.target,g,null)));if(s==null||typeof s=="symbol"||typeof s=="boolean"){t.removeAttribute(l);break}s=Al(""+s),t.setAttribute(l,s);break;case"onClick":s!=null&&(t.onclick=zg);break;case"onScroll":s!=null&&zt("scroll",t);break;case"onScrollEnd":s!=null&&zt("scrollend",t);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(a(61));if(l=s.__html,l!=null){if(g.children!=null)throw Error(a(60));t.innerHTML=l}}break;case"multiple":t.multiple=s&&typeof s!="function"&&typeof s!="symbol";break;case"muted":t.muted=s&&typeof s!="function"&&typeof s!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(s==null||typeof s=="function"||typeof s=="boolean"||typeof s=="symbol"){t.removeAttribute("xlink:href");break}l=Al(""+s),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,""+s):t.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":s&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,""):t.removeAttribute(l);break;case"capture":case"download":s===!0?t.setAttribute(l,""):s!==!1&&s!=null&&typeof s!="function"&&typeof s!="symbol"?t.setAttribute(l,s):t.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":s!=null&&typeof s!="function"&&typeof s!="symbol"&&!isNaN(s)&&1<=s?t.setAttribute(l,s):t.removeAttribute(l);break;case"rowSpan":case"start":s==null||typeof s=="function"||typeof s=="symbol"||isNaN(s)?t.removeAttribute(l):t.setAttribute(l,s);break;case"popover":zt("beforetoggle",t),zt("toggle",t),bl(t,"popover",s);break;case"xlinkActuate":Wr(t,"http://www.w3.org/1999/xlink","xlink:actuate",s);break;case"xlinkArcrole":Wr(t,"http://www.w3.org/1999/xlink","xlink:arcrole",s);break;case"xlinkRole":Wr(t,"http://www.w3.org/1999/xlink","xlink:role",s);break;case"xlinkShow":Wr(t,"http://www.w3.org/1999/xlink","xlink:show",s);break;case"xlinkTitle":Wr(t,"http://www.w3.org/1999/xlink","xlink:title",s);break;case"xlinkType":Wr(t,"http://www.w3.org/1999/xlink","xlink:type",s);break;case"xmlBase":Wr(t,"http://www.w3.org/XML/1998/namespace","xml:base",s);break;case"xmlLang":Wr(t,"http://www.w3.org/XML/1998/namespace","xml:lang",s);break;case"xmlSpace":Wr(t,"http://www.w3.org/XML/1998/namespace","xml:space",s);break;case"is":bl(t,"is",s);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=md.get(l)||l,bl(t,l,s))}}function J0(t,i,l,s,g,v){switch(l){case"style":Ga(t,s,v);break;case"dangerouslySetInnerHTML":if(s!=null){if(typeof s!="object"||!("__html"in s))throw Error(a(61));if(l=s.__html,l!=null){if(g.children!=null)throw Error(a(60));t.innerHTML=l}}break;case"children":typeof s=="string"?uo(t,s):(typeof s=="number"||typeof s=="bigint")&&uo(t,""+s);break;case"onScroll":s!=null&&zt("scroll",t);break;case"onScrollEnd":s!=null&&zt("scrollend",t);break;case"onClick":s!=null&&(t.onclick=zg);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!_u.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(g=l.endsWith("Capture"),i=l.slice(2,g?l.length-7:void 0),v=t[Lt]||null,v=v!=null?v[l]:null,typeof v=="function"&&t.removeEventListener(i,v,g),typeof s=="function")){typeof v!="function"&&v!==null&&(l in t?t[l]=null:t.hasAttribute(l)&&t.removeAttribute(l)),t.addEventListener(i,s,g);break e}l in t?t[l]=s:s===!0?t.setAttribute(l,""):bl(t,l,s)}}}function $r(t,i,l){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zt("error",t),zt("load",t);var s=!1,g=!1,v;for(v in l)if(l.hasOwnProperty(v)){var R=l[v];if(R!=null)switch(v){case"src":s=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:sn(t,i,v,R,l,null)}}g&&sn(t,i,"srcSet",l.srcSet,l,null),s&&sn(t,i,"src",l.src,l,null);return;case"input":zt("invalid",t);var D=v=R=g=null,U=null,oe=null;for(s in l)if(l.hasOwnProperty(s)){var we=l[s];if(we!=null)switch(s){case"name":g=we;break;case"type":R=we;break;case"checked":U=we;break;case"defaultChecked":oe=we;break;case"value":v=we;break;case"defaultValue":D=we;break;case"children":case"dangerouslySetInnerHTML":if(we!=null)throw Error(a(137,i));break;default:sn(t,i,s,we,l,null)}}ca(t,v,D,U,oe,R,g,!1),wi(t);return;case"select":zt("invalid",t),s=R=v=null;for(g in l)if(l.hasOwnProperty(g)&&(D=l[g],D!=null))switch(g){case"value":v=D;break;case"defaultValue":R=D;break;case"multiple":s=D;default:sn(t,i,g,D,l,null)}i=v,l=R,t.multiple=!!s,i!=null?so(t,!!s,i,!1):l!=null&&so(t,!!s,l,!0);return;case"textarea":zt("invalid",t),v=g=s=null;for(R in l)if(l.hasOwnProperty(R)&&(D=l[R],D!=null))switch(R){case"value":s=D;break;case"defaultValue":g=D;break;case"children":v=D;break;case"dangerouslySetInnerHTML":if(D!=null)throw Error(a(91));break;default:sn(t,i,R,D,l,null)}Wo(t,s,g,v),wi(t);return;case"option":for(U in l)if(l.hasOwnProperty(U)&&(s=l[U],s!=null))switch(U){case"selected":t.selected=s&&typeof s!="function"&&typeof s!="symbol";break;default:sn(t,i,U,s,l,null)}return;case"dialog":zt("beforetoggle",t),zt("toggle",t),zt("cancel",t),zt("close",t);break;case"iframe":case"object":zt("load",t);break;case"video":case"audio":for(s=0;s<jd.length;s++)zt(jd[s],t);break;case"image":zt("error",t),zt("load",t);break;case"details":zt("toggle",t);break;case"embed":case"source":case"link":zt("error",t),zt("load",t);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(oe in l)if(l.hasOwnProperty(oe)&&(s=l[oe],s!=null))switch(oe){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:sn(t,i,oe,s,l,null)}return;default:if(xl(i)){for(we in l)l.hasOwnProperty(we)&&(s=l[we],s!==void 0&&J0(t,i,we,s,l,void 0));return}}for(D in l)l.hasOwnProperty(D)&&(s=l[D],s!=null&&sn(t,i,D,s,l,null))}function NN(t,i,l,s){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,R=null,D=null,U=null,oe=null,we=null;for(ce in l){var _e=l[ce];if(l.hasOwnProperty(ce)&&_e!=null)switch(ce){case"checked":break;case"value":break;case"defaultValue":U=_e;default:s.hasOwnProperty(ce)||sn(t,i,ce,null,s,_e)}}for(var ue in s){var ce=s[ue];if(_e=l[ue],s.hasOwnProperty(ue)&&(ce!=null||_e!=null))switch(ue){case"type":v=ce;break;case"name":g=ce;break;case"checked":oe=ce;break;case"defaultChecked":we=ce;break;case"value":R=ce;break;case"defaultValue":D=ce;break;case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(a(137,i));break;default:ce!==_e&&sn(t,i,ue,ce,s,_e)}}As(t,R,D,U,oe,we,v,g);return;case"select":ce=R=D=ue=null;for(v in l)if(U=l[v],l.hasOwnProperty(v)&&U!=null)switch(v){case"value":break;case"multiple":ce=U;default:s.hasOwnProperty(v)||sn(t,i,v,null,s,U)}for(g in s)if(v=s[g],U=l[g],s.hasOwnProperty(g)&&(v!=null||U!=null))switch(g){case"value":ue=v;break;case"defaultValue":D=v;break;case"multiple":R=v;default:v!==U&&sn(t,i,g,v,s,U)}i=D,l=R,s=ce,ue!=null?so(t,!!l,ue,!1):!!s!=!!l&&(i!=null?so(t,!!l,i,!0):so(t,!!l,l?[]:"",!1));return;case"textarea":ce=ue=null;for(D in l)if(g=l[D],l.hasOwnProperty(D)&&g!=null&&!s.hasOwnProperty(D))switch(D){case"value":break;case"children":break;default:sn(t,i,D,null,s,g)}for(R in s)if(g=s[R],v=l[R],s.hasOwnProperty(R)&&(g!=null||v!=null))switch(R){case"value":ue=g;break;case"defaultValue":ce=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(a(91));break;default:g!==v&&sn(t,i,R,g,s,v)}Ss(t,ue,ce);return;case"option":for(var dt in l)if(ue=l[dt],l.hasOwnProperty(dt)&&ue!=null&&!s.hasOwnProperty(dt))switch(dt){case"selected":t.selected=!1;break;default:sn(t,i,dt,null,s,ue)}for(U in s)if(ue=s[U],ce=l[U],s.hasOwnProperty(U)&&ue!==ce&&(ue!=null||ce!=null))switch(U){case"selected":t.selected=ue&&typeof ue!="function"&&typeof ue!="symbol";break;default:sn(t,i,U,ue,s,ce)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var ot in l)ue=l[ot],l.hasOwnProperty(ot)&&ue!=null&&!s.hasOwnProperty(ot)&&sn(t,i,ot,null,s,ue);for(oe in s)if(ue=s[oe],ce=l[oe],s.hasOwnProperty(oe)&&ue!==ce&&(ue!=null||ce!=null))switch(oe){case"children":case"dangerouslySetInnerHTML":if(ue!=null)throw Error(a(137,i));break;default:sn(t,i,oe,ue,s,ce)}return;default:if(xl(i)){for(var un in l)ue=l[un],l.hasOwnProperty(un)&&ue!==void 0&&!s.hasOwnProperty(un)&&J0(t,i,un,void 0,s,ue);for(we in s)ue=s[we],ce=l[we],!s.hasOwnProperty(we)||ue===ce||ue===void 0&&ce===void 0||J0(t,i,we,ue,s,ce);return}}for(var ne in l)ue=l[ne],l.hasOwnProperty(ne)&&ue!=null&&!s.hasOwnProperty(ne)&&sn(t,i,ne,null,s,ue);for(_e in s)ue=s[_e],ce=l[_e],!s.hasOwnProperty(_e)||ue===ce||ue==null&&ce==null||sn(t,i,_e,ue,s,ce)}var K0=null,Q0=null;function Og(t){return t.nodeType===9?t:t.ownerDocument}function Mw(t){switch(t){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Nw(t,i){if(t===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return t===1&&i==="foreignObject"?0:t}function j0(t,i){return t==="textarea"||t==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var q0=null;function IN(){var t=window.event;return t&&t.type==="popstate"?t===q0?!1:(q0=t,!0):(q0=null,!1)}var Iw=typeof setTimeout=="function"?setTimeout:void 0,LN=typeof clearTimeout=="function"?clearTimeout:void 0,Lw=typeof Promise=="function"?Promise:void 0,BN=typeof queueMicrotask=="function"?queueMicrotask:typeof Lw!="undefined"?function(t){return Lw.resolve(null).then(t).catch(FN)}:Iw;function FN(t){setTimeout(function(){throw t})}function ru(t){return t==="head"}function Bw(t,i){var l=i,s=0,g=0;do{var v=l.nextSibling;if(t.removeChild(l),v&&v.nodeType===8)if(l=v.data,l==="/$"){if(0<s&&8>s){l=s;var R=t.ownerDocument;if(l&1&&$d(R.documentElement),l&2&&$d(R.body),l&4)for(l=R.head,$d(l),R=l.firstChild;R;){var D=R.nextSibling,U=R.nodeName;R[lo]||U==="SCRIPT"||U==="STYLE"||U==="LINK"&&R.rel.toLowerCase()==="stylesheet"||l.removeChild(R),R=D}}if(g===0){t.removeChild(v),oh(i);return}g--}else l==="$"||l==="$?"||l==="$!"?g++:s=l.charCodeAt(0)-48;else s=0;l=v}while(l);oh(i)}function $0(t){var i=t.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var l=i;switch(i=i.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":$0(l),Pt(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}t.removeChild(l)}}function HN(t,i,l,s){for(;t.nodeType===1;){var g=l;if(t.nodeName.toLowerCase()!==i.toLowerCase()){if(!s&&(t.nodeName!=="INPUT"||t.type!=="hidden"))break}else if(s){if(!t[lo])switch(i){case"meta":if(!t.hasAttribute("itemprop"))break;return t;case"link":if(v=t.getAttribute("rel"),v==="stylesheet"&&t.hasAttribute("data-precedence"))break;if(v!==g.rel||t.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||t.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||t.getAttribute("title")!==(g.title==null?null:g.title))break;return t;case"style":if(t.hasAttribute("data-precedence"))break;return t;case"script":if(v=t.getAttribute("src"),(v!==(g.src==null?null:g.src)||t.getAttribute("type")!==(g.type==null?null:g.type)||t.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&t.hasAttribute("async")&&!t.hasAttribute("itemprop"))break;return t;default:return t}}else if(i==="input"&&t.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&t.getAttribute("name")===v)return t}else return t;if(t=Kl(t.nextSibling),t===null)break}return null}function WN(t,i,l){if(i==="")return null;for(;t.nodeType!==3;)if((t.nodeType!==1||t.nodeName!=="INPUT"||t.type!=="hidden")&&!l||(t=Kl(t.nextSibling),t===null))return null;return t}function eb(t){return t.data==="$!"||t.data==="$?"&&t.ownerDocument.readyState==="complete"}function GN(t,i){var l=t.ownerDocument;if(t.data!=="$?"||l.readyState==="complete")i();else{var s=function(){i(),l.removeEventListener("DOMContentLoaded",s)};l.addEventListener("DOMContentLoaded",s),t._reactRetry=s}}function Kl(t){for(;t!=null;t=t.nextSibling){var i=t.nodeType;if(i===1||i===3)break;if(i===8){if(i=t.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return t}var tb=null;function Fw(t){t=t.previousSibling;for(var i=0;t;){if(t.nodeType===8){var l=t.data;if(l==="$"||l==="$!"||l==="$?"){if(i===0)return t;i--}else l==="/$"&&i++}t=t.previousSibling}return null}function Hw(t,i,l){switch(i=Og(l),t){case"html":if(t=i.documentElement,!t)throw Error(a(452));return t;case"head":if(t=i.head,!t)throw Error(a(453));return t;case"body":if(t=i.body,!t)throw Error(a(454));return t;default:throw Error(a(451))}}function $d(t){for(var i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Pt(t)}var al=new Map,Ww=new Set;function Pg(t){return typeof t.getRootNode=="function"?t.getRootNode():t.nodeType===9?t:t.ownerDocument}var ds=K.d;K.d={f:YN,r:UN,D:ZN,C:VN,L:XN,m:JN,X:QN,S:KN,M:jN};function YN(){var t=ds.f(),i=wg();return t||i}function UN(t){var i=Hi(t);i!==null&&i.tag===5&&i.type==="form"?uf(i):ds.r(t)}var _f=typeof document=="undefined"?null:document;function Gw(t,i,l){var s=_f;if(s&&typeof i=="string"&&i){var g=Yr(i);g='link[rel="'+t+'"][href="'+g+'"]',typeof l=="string"&&(g+='[crossorigin="'+l+'"]'),Ww.has(g)||(Ww.add(g),t={rel:t,crossOrigin:l,href:i},s.querySelector(g)===null&&(i=s.createElement("link"),$r(i,"link",t),Mn(i),s.head.appendChild(i)))}}function ZN(t){ds.D(t),Gw("dns-prefetch",t,null)}function VN(t,i){ds.C(t,i),Gw("preconnect",t,i)}function XN(t,i,l){ds.L(t,i,l);var s=_f;if(s&&t&&i){var g='link[rel="preload"][as="'+Yr(i)+'"]';i==="image"&&l&&l.imageSrcSet?(g+='[imagesrcset="'+Yr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(g+='[imagesizes="'+Yr(l.imageSizes)+'"]')):g+='[href="'+Yr(t)+'"]';var v=g;switch(i){case"style":v=Cf(t);break;case"script":v=Tf(t)}al.has(v)||(t=A({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:t,as:i},l),al.set(v,t),s.querySelector(g)!==null||i==="style"&&s.querySelector(eh(v))||i==="script"&&s.querySelector(th(v))||(i=s.createElement("link"),$r(i,"link",t),Mn(i),s.head.appendChild(i)))}}function JN(t,i){ds.m(t,i);var l=_f;if(l&&t){var s=i&&typeof i.as=="string"?i.as:"script",g='link[rel="modulepreload"][as="'+Yr(s)+'"][href="'+Yr(t)+'"]',v=g;switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Tf(t)}if(!al.has(v)&&(t=A({rel:"modulepreload",href:t},i),al.set(v,t),l.querySelector(g)===null)){switch(s){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(th(v)))return}s=l.createElement("link"),$r(s,"link",t),Mn(s),l.head.appendChild(s)}}}function KN(t,i,l){ds.S(t,i,l);var s=_f;if(s&&t){var g=gl(s).hoistableStyles,v=Cf(t);i=i||"default";var R=g.get(v);if(!R){var D={loading:0,preload:null};if(R=s.querySelector(eh(v)))D.loading=5;else{t=A({rel:"stylesheet",href:t,"data-precedence":i},l),(l=al.get(v))&&nb(t,l);var U=R=s.createElement("link");Mn(U),$r(U,"link",t),U._p=new Promise(function(oe,we){U.onload=oe,U.onerror=we}),U.addEventListener("load",function(){D.loading|=1}),U.addEventListener("error",function(){D.loading|=2}),D.loading|=4,Dg(R,i,s)}R={type:"stylesheet",instance:R,count:1,state:D},g.set(v,R)}}}function QN(t,i){ds.X(t,i);var l=_f;if(l&&t){var s=gl(l).hoistableScripts,g=Tf(t),v=s.get(g);v||(v=l.querySelector(th(g)),v||(t=A({src:t,async:!0},i),(i=al.get(g))&&rb(t,i),v=l.createElement("script"),Mn(v),$r(v,"link",t),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},s.set(g,v))}}function jN(t,i){ds.M(t,i);var l=_f;if(l&&t){var s=gl(l).hoistableScripts,g=Tf(t),v=s.get(g);v||(v=l.querySelector(th(g)),v||(t=A({src:t,async:!0,type:"module"},i),(i=al.get(g))&&rb(t,i),v=l.createElement("script"),Mn(v),$r(v,"link",t),l.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},s.set(g,v))}}function Yw(t,i,l,s){var g=(g=Ee.current)?Pg(g):null;if(!g)throw Error(a(446));switch(t){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=Cf(l.href),l=gl(g).hoistableStyles,s=l.get(i),s||(s={type:"style",instance:null,count:0,state:null},l.set(i,s)),s):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){t=Cf(l.href);var v=gl(g).hoistableStyles,R=v.get(t);if(R||(g=g.ownerDocument||g,R={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(t,R),(v=g.querySelector(eh(t)))&&!v._p&&(R.instance=v,R.state.loading=5),al.has(t)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},al.set(t,l),v||qN(g,t,l,R.state))),i&&s===null)throw Error(a(528,""));return R}if(i&&s!==null)throw Error(a(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=Tf(l),l=gl(g).hoistableScripts,s=l.get(i),s||(s={type:"script",instance:null,count:0,state:null},l.set(i,s)),s):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,t))}}function Cf(t){return'href="'+Yr(t)+'"'}function eh(t){return'link[rel="stylesheet"]['+t+"]"}function Uw(t){return A({},t,{"data-precedence":t.precedence,precedence:null})}function qN(t,i,l,s){t.querySelector('link[rel="preload"][as="style"]['+i+"]")?s.loading=1:(i=t.createElement("link"),s.preload=i,i.addEventListener("load",function(){return s.loading|=1}),i.addEventListener("error",function(){return s.loading|=2}),$r(i,"link",l),Mn(i),t.head.appendChild(i))}function Tf(t){return'[src="'+Yr(t)+'"]'}function th(t){return"script[async]"+t}function Zw(t,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var s=t.querySelector('style[data-href~="'+Yr(l.href)+'"]');if(s)return i.instance=s,Mn(s),s;var g=A({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return s=(t.ownerDocument||t).createElement("style"),Mn(s),$r(s,"style",g),Dg(s,l.precedence,t),i.instance=s;case"stylesheet":g=Cf(l.href);var v=t.querySelector(eh(g));if(v)return i.state.loading|=4,i.instance=v,Mn(v),v;s=Uw(l),(g=al.get(g))&&nb(s,g),v=(t.ownerDocument||t).createElement("link"),Mn(v);var R=v;return R._p=new Promise(function(D,U){R.onload=D,R.onerror=U}),$r(v,"link",s),i.state.loading|=4,Dg(v,l.precedence,t),i.instance=v;case"script":return v=Tf(l.src),(g=t.querySelector(th(v)))?(i.instance=g,Mn(g),g):(s=l,(g=al.get(v))&&(s=A({},l),rb(s,g)),t=t.ownerDocument||t,g=t.createElement("script"),Mn(g),$r(g,"link",s),t.head.appendChild(g),i.instance=g);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(s=i.instance,i.state.loading|=4,Dg(s,l.precedence,t));return i.instance}function Dg(t,i,l){for(var s=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=s.length?s[s.length-1]:null,v=g,R=0;R<s.length;R++){var D=s[R];if(D.dataset.precedence===i)v=D;else if(v!==g)break}v?v.parentNode.insertBefore(t,v.nextSibling):(i=l.nodeType===9?l.head:l,i.insertBefore(t,i.firstChild))}function nb(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.title==null&&(t.title=i.title)}function rb(t,i){t.crossOrigin==null&&(t.crossOrigin=i.crossOrigin),t.referrerPolicy==null&&(t.referrerPolicy=i.referrerPolicy),t.integrity==null&&(t.integrity=i.integrity)}var Mg=null;function Vw(t,i,l){if(Mg===null){var s=new Map,g=Mg=new Map;g.set(l,s)}else g=Mg,s=g.get(l),s||(s=new Map,g.set(l,s));if(s.has(t))return s;for(s.set(t,null),l=l.getElementsByTagName(t),g=0;g<l.length;g++){var v=l[g];if(!(v[lo]||v[Dn]||t==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var R=v.getAttribute(i)||"";R=t+R;var D=s.get(R);D?D.push(v):s.set(R,[v])}}return s}function Xw(t,i,l){t=t.ownerDocument||t,t.head.insertBefore(l,i==="title"?t.querySelector("head > title"):null)}function $N(t,i,l){if(l===1||i.itemProp!=null)return!1;switch(t){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return t=i.disabled,typeof i.precedence=="string"&&t==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function Jw(t){return!(t.type==="stylesheet"&&(t.state.loading&3)===0)}var nh=null;function eI(){}function tI(t,i,l){if(nh===null)throw Error(a(475));var s=nh;if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var g=Cf(l.href),v=t.querySelector(eh(g));if(v){t=v._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(s.count++,s=Ng.bind(s),t.then(s,s)),i.state.loading|=4,i.instance=v,Mn(v);return}v=t.ownerDocument||t,l=Uw(l),(g=al.get(g))&&nb(l,g),v=v.createElement("link"),Mn(v);var R=v;R._p=new Promise(function(D,U){R.onload=D,R.onerror=U}),$r(v,"link",l),i.instance=v}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(i,t),(t=i.state.preload)&&(i.state.loading&3)===0&&(s.count++,i=Ng.bind(s),t.addEventListener("load",i),t.addEventListener("error",i))}}function nI(){if(nh===null)throw Error(a(475));var t=nh;return t.stylesheets&&t.count===0&&ib(t,t.stylesheets),0<t.count?function(i){var l=setTimeout(function(){if(t.stylesheets&&ib(t,t.stylesheets),t.unsuspend){var s=t.unsuspend;t.unsuspend=null,s()}},6e4);return t.unsuspend=i,function(){t.unsuspend=null,clearTimeout(l)}}:null}function Ng(){if(this.count--,this.count===0){if(this.stylesheets)ib(this,this.stylesheets);else if(this.unsuspend){var t=this.unsuspend;this.unsuspend=null,t()}}}var Ig=null;function ib(t,i){t.stylesheets=null,t.unsuspend!==null&&(t.count++,Ig=new Map,i.forEach(rI,t),Ig=null,Ng.call(t))}function rI(t,i){if(!(i.state.loading&4)){var l=Ig.get(t);if(l)var s=l.get(null);else{l=new Map,Ig.set(t,l);for(var g=t.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var R=g[v];(R.nodeName==="LINK"||R.getAttribute("media")!=="not all")&&(l.set(R.dataset.precedence,R),s=R)}s&&l.set(null,s)}g=i.instance,R=g.getAttribute("data-precedence"),v=l.get(R)||s,v===s&&l.set(null,g),l.set(R,g),this.count++,s=Ng.bind(this),g.addEventListener("load",s),g.addEventListener("error",s),v?v.parentNode.insertBefore(g,v.nextSibling):(t=t.nodeType===9?t.head:t,t.insertBefore(g,t.firstChild)),i.state.loading|=4}}var rh={$$typeof:Y,Provider:null,Consumer:null,_currentValue:ze,_currentValue2:ze,_threadCount:0};function iI(t,i,l,s,g,v,R,D){this.tag=1,this.containerInfo=t,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Io(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Io(0),this.hiddenUpdates=Io(null),this.identifierPrefix=s,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=R,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function Kw(t,i,l,s,g,v,R,D,U,oe,we,_e){return t=new iI(t,i,l,R,D,U,oe,_e),i=1,v===!0&&(i|=24),v=Ln(3,null,null,i),t.current=v,v.stateNode=t,i=$a(),i.refCount++,t.pooledCache=i,i.refCount++,v.memoizedState={element:s,isDehydrated:l,cache:i},Z(v),t}function Qw(t){return t?(t=_i,t):_i}function jw(t,i,l,s,g,v){g=Qw(g),s.context===null?s.context=g:s.pendingContext=g,s=X(i),s.payload={element:l},v=v===void 0?null:v,v!==null&&(s.callback=v),l=re(t,s,i),l!==null&&(Ia(l,t,i),Ie(l,t,i))}function qw(t,i){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var l=t.retryLane;t.retryLane=l!==0&&l<i?l:i}}function ab(t,i){qw(t,i),(t=t.alternate)&&qw(t,i)}function $w(t){if(t.tag===13){var i=Cn(t,67108864);i!==null&&Ia(i,t,67108864),ab(t,67108864)}}var Lg=!0;function aI(t,i,l,s){var g=M.T;M.T=null;var v=K.p;try{K.p=2,lb(t,i,l,s)}finally{K.p=v,M.T=g}}function lI(t,i,l,s){var g=M.T;M.T=null;var v=K.p;try{K.p=8,lb(t,i,l,s)}finally{K.p=v,M.T=g}}function lb(t,i,l,s){if(Lg){var g=ob(s);if(g===null)X0(t,i,s,Bg,l),tk(t,s);else if(sI(g,t,i,l,s))s.stopPropagation();else if(tk(t,s),i&4&&-1<oI.indexOf(t)){for(;g!==null;){var v=Hi(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var R=mr(v.pendingLanes);if(R!==0){var D=v;for(D.pendingLanes|=2,D.entangledLanes|=2;R;){var U=1<<31-Ke(R);D.entanglements[1]|=U,R&=~U}To(v),(tn&6)===0&&(Ag=rn()+500,Qd(0))}}break;case 13:D=Cn(v,2),D!==null&&Ia(D,v,2),wg(),ab(v,2)}if(v=ob(s),v===null&&X0(t,i,s,Bg,l),v===g)break;g=v}g!==null&&s.stopPropagation()}else X0(t,i,s,null,l)}}function ob(t){return t=Ou(t),sb(t)}var Bg=null;function sb(t){if(Bg=null,t=_n(t),t!==null){var i=u(t);if(i===null)t=null;else{var l=i.tag;if(l===13){if(t=c(i),t!==null)return t;t=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;t=null}else i!==t&&(t=null)}}return Bg=t,null}function ek(t){switch(t){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(yi()){case ii:return 2;case On:return 8;case mn:case St:return 32;case Pn:return 268435456;default:return 32}default:return 32}}var ub=!1,iu=null,au=null,lu=null,ih=new Map,ah=new Map,ou=[],oI="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".split(" ");function tk(t,i){switch(t){case"focusin":case"focusout":iu=null;break;case"dragenter":case"dragleave":au=null;break;case"mouseover":case"mouseout":lu=null;break;case"pointerover":case"pointerout":ih.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":ah.delete(i.pointerId)}}function lh(t,i,l,s,g,v){return t===null||t.nativeEvent!==v?(t={blockedOn:i,domEventName:l,eventSystemFlags:s,nativeEvent:v,targetContainers:[g]},i!==null&&(i=Hi(i),i!==null&&$w(i)),t):(t.eventSystemFlags|=s,i=t.targetContainers,g!==null&&i.indexOf(g)===-1&&i.push(g),t)}function sI(t,i,l,s,g){switch(i){case"focusin":return iu=lh(iu,t,i,l,s,g),!0;case"dragenter":return au=lh(au,t,i,l,s,g),!0;case"mouseover":return lu=lh(lu,t,i,l,s,g),!0;case"pointerover":var v=g.pointerId;return ih.set(v,lh(ih.get(v)||null,t,i,l,s,g)),!0;case"gotpointercapture":return v=g.pointerId,ah.set(v,lh(ah.get(v)||null,t,i,l,s,g)),!0}return!1}function nk(t){var i=_n(t.target);if(i!==null){var l=u(i);if(l!==null){if(i=l.tag,i===13){if(i=c(l),i!==null){t.blockedOn=i,jn(t.priority,function(){if(l.tag===13){var s=Na();s=vs(s);var g=Cn(l,s);g!==null&&Ia(g,l,s),ab(l,s)}});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){t.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Fg(t){if(t.blockedOn!==null)return!1;for(var i=t.targetContainers;0<i.length;){var l=ob(t.nativeEvent);if(l===null){l=t.nativeEvent;var s=new l.constructor(l.type,l);zu=s,l.target.dispatchEvent(s),zu=null}else return i=Hi(l),i!==null&&$w(i),t.blockedOn=l,!1;i.shift()}return!0}function rk(t,i,l){Fg(t)&&l.delete(i)}function uI(){ub=!1,iu!==null&&Fg(iu)&&(iu=null),au!==null&&Fg(au)&&(au=null),lu!==null&&Fg(lu)&&(lu=null),ih.forEach(rk),ah.forEach(rk)}function Hg(t,i){t.blockedOn===i&&(t.blockedOn=null,ub||(ub=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,uI)))}var Wg=null;function ik(t){Wg!==t&&(Wg=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Wg===t&&(Wg=null);for(var i=0;i<t.length;i+=3){var l=t[i],s=t[i+1],g=t[i+2];if(typeof s!="function"){if(sb(s||l)===null)continue;break}var v=Hi(l);v!==null&&(t.splice(i,3),i-=3,sf(v,{pending:!0,data:g,method:l.method,action:s},s,g))}}))}function oh(t){function i(U){return Hg(U,t)}iu!==null&&Hg(iu,t),au!==null&&Hg(au,t),lu!==null&&Hg(lu,t),ih.forEach(i),ah.forEach(i);for(var l=0;l<ou.length;l++){var s=ou[l];s.blockedOn===t&&(s.blockedOn=null)}for(;0<ou.length&&(l=ou[0],l.blockedOn===null);)nk(l),l.blockedOn===null&&ou.shift();if(l=(t.ownerDocument||t).$$reactFormReplay,l!=null)for(s=0;s<l.length;s+=3){var g=l[s],v=l[s+1],R=g[Lt]||null;if(typeof v=="function")R||ik(l);else if(R){var D=null;if(v&&v.hasAttribute("formAction")){if(g=v,R=v[Lt]||null)D=R.formAction;else if(sb(g)!==null)continue}else D=R.action;typeof D=="function"?l[s+1]=D:(l.splice(s,3),s-=3),ik(l)}}}function cb(t){this._internalRoot=t}Gg.prototype.render=cb.prototype.render=function(t){var i=this._internalRoot;if(i===null)throw Error(a(409));var l=i.current,s=Na();jw(l,s,t,i,null,null)},Gg.prototype.unmount=cb.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var i=t.containerInfo;jw(t.current,2,null,t,null,null),wg(),i[hl]=null}};function Gg(t){this._internalRoot=t}Gg.prototype.unstable_scheduleHydration=function(t){if(t){var i=Br();t={blockedOn:null,target:t,priority:i};for(var l=0;l<ou.length&&i!==0&&i<ou[l].priority;l++);ou.splice(l,0,t),l===0&&nk(t)}};var ak=n.version;if(ak!=="19.1.1")throw Error(a(527,ak,"19.1.1"));K.findDOMNode=function(t){var i=t._reactInternals;if(i===void 0)throw typeof t.render=="function"?Error(a(188)):(t=Object.keys(t).join(","),Error(a(268,t)));return t=b(i),t=t!==null?y(t):null,t=t===null?null:t.stateNode,t};var cI={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Yg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Yg.isDisabled&&Yg.supportsFiber)try{pe=Yg.inject(cI),Ne=Yg}catch(t){}}return Of.createRoot=function(t,i){if(!o(t))throw Error(a(299));var l=!1,s="",g=Hd,v=gf,R=Wd,D=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(s=i.identifierPrefix),i.onUncaughtError!==void 0&&(g=i.onUncaughtError),i.onCaughtError!==void 0&&(v=i.onCaughtError),i.onRecoverableError!==void 0&&(R=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(D=i.unstable_transitionCallbacks)),i=Kw(t,1,!1,null,null,l,s,g,v,R,D,null),t[hl]=i.current,V0(t),new cb(i)},Of.hydrateRoot=function(t,i,l){if(!o(t))throw Error(a(299));var s=!1,g="",v=Hd,R=gf,D=Wd,U=null,oe=null;return l!=null&&(l.unstable_strictMode===!0&&(s=!0),l.identifierPrefix!==void 0&&(g=l.identifierPrefix),l.onUncaughtError!==void 0&&(v=l.onUncaughtError),l.onCaughtError!==void 0&&(R=l.onCaughtError),l.onRecoverableError!==void 0&&(D=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(U=l.unstable_transitionCallbacks),l.formState!==void 0&&(oe=l.formState)),i=Kw(t,1,!0,i,l!=null?l:null,s,g,v,R,D,U,oe),i.context=Qw(null),l=i.current,s=Na(),s=vs(s),g=X(s),g.callback=null,re(l,g,s),l=s,i.current.lanes=l,dl(i,l),To(i),t[hl]=i.current,V0(t),new Gg(i)},Of.version="19.1.1",Of}var xb;function pk(){if(xb)return Vg.exports;xb=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(n){console.error(n)}}return e(),Vg.exports=gk(),Vg.exports}var mk=pk();const bk=cn(mk);function Ab(e){var n=Object.create(null);return function(r){return n[r]===void 0&&(n[r]=e(r)),n[r]}}var yk=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,vk=Ab(function(e){return yk.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function xk(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function Ak(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var Sk=(function(){function e(r){var a=this;this._insertTag=function(o){var u;a.tags.length===0?a.insertionPoint?u=a.insertionPoint.nextSibling:a.prepend?u=a.container.firstChild:u=a.before:u=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(o,u),a.tags.push(o)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(a){a.forEach(this._insertTag)},n.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ak(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var u=xk(o);try{u.insertRule(a,u.cssRules.length)}catch(c){}}else o.appendChild(document.createTextNode(a));this.ctr++},n.flush=function(){this.tags.forEach(function(a){var o;return(o=a.parentNode)==null?void 0:o.removeChild(a)}),this.tags=[],this.ctr=0},e})(),ti="-ms-",ch="-moz-",Ut="-webkit-",Sb="comm",Qg="rule",jg="decl",wk="@import",wb="@keyframes",kk="@layer",Ek=Math.abs,fh=String.fromCharCode,_k=Object.assign;function Ck(e,n){return Pr(e,0)^45?(((n<<2^Pr(e,0))<<2^Pr(e,1))<<2^Pr(e,2))<<2^Pr(e,3):0}function kb(e){return e.trim()}function Tk(e,n){return(e=n.exec(e))?e[0]:e}function Zt(e,n,r){return e.replace(n,r)}function qg(e,n){return e.indexOf(n)}function Pr(e,n){return e.charCodeAt(n)|0}function Pf(e,n,r){return e.slice(n,r)}function jl(e){return e.length}function $g(e){return e.length}function dh(e,n){return n.push(e),e}function Rk(e,n){return e.map(n).join("")}var hh=1,cc=1,Eb=0,Mi=0,ar=0,fc="";function gh(e,n,r,a,o,u,c){return{value:e,root:n,parent:r,type:a,props:o,children:u,line:hh,column:cc,length:c,return:""}}function Df(e,n){return _k(gh("",null,null,"",null,null,0),e,{length:-e.length},n)}function zk(){return ar}function Ok(){return ar=Mi>0?Pr(fc,--Mi):0,cc--,ar===10&&(cc=1,hh--),ar}function ea(){return ar=Mi<Eb?Pr(fc,Mi++):0,cc++,ar===10&&(cc=1,hh++),ar}function ql(){return Pr(fc,Mi)}function ph(){return Mi}function Mf(e,n){return Pf(fc,e,n)}function Nf(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function _b(e){return hh=cc=1,Eb=jl(fc=e),Mi=0,[]}function Cb(e){return fc="",e}function mh(e){return kb(Mf(Mi-1,ep(e===91?e+2:e===40?e+1:e)))}function Pk(e){for(;(ar=ql())&&ar<33;)ea();return Nf(e)>2||Nf(ar)>3?"":" "}function Dk(e,n){for(;--n&&ea()&&!(ar<48||ar>102||ar>57&&ar<65||ar>70&&ar<97););return Mf(e,ph()+(n<6&&ql()==32&&ea()==32))}function ep(e){for(;ea();)switch(ar){case e:return Mi;case 34:case 39:e!==34&&e!==39&&ep(ar);break;case 40:e===41&&ep(e);break;case 92:ea();break}return Mi}function Mk(e,n){for(;ea()&&e+ar!==57;)if(e+ar===84&&ql()===47)break;return"/*"+Mf(n,Mi-1)+"*"+fh(e===47?e:ea())}function Nk(e){for(;!Nf(ql());)ea();return Mf(e,Mi)}function Ik(e){return Cb(bh("",null,null,null,[""],e=_b(e),0,[0],e))}function bh(e,n,r,a,o,u,c,m,b){for(var y=0,A=0,w=c,k=0,_=0,P=0,N=1,W=1,H=1,J=0,Y="",ve=o,j=u,ee=a,Te=Y;W;)switch(P=J,J=ea()){case 40:if(P!=108&&Pr(Te,w-1)==58){qg(Te+=Zt(mh(J),"&","&\f"),"&\f")!=-1&&(H=-1);break}case 34:case 39:case 91:Te+=mh(J);break;case 9:case 10:case 13:case 32:Te+=Pk(P);break;case 92:Te+=Dk(ph()-1,7);continue;case 47:switch(ql()){case 42:case 47:dh(Lk(Mk(ea(),ph()),n,r),b);break;default:Te+="/"}break;case 123*N:m[y++]=jl(Te)*H;case 125*N:case 59:case 0:switch(J){case 0:case 125:W=0;case 59+A:H==-1&&(Te=Zt(Te,/\f/g,"")),_>0&&jl(Te)-w&&dh(_>32?Rb(Te+";",a,r,w-1):Rb(Zt(Te," ","")+";",a,r,w-2),b);break;case 59:Te+=";";default:if(dh(ee=Tb(Te,n,r,y,A,o,m,Y,ve=[],j=[],w),u),J===123)if(A===0)bh(Te,n,ee,ee,ve,u,w,m,j);else switch(k===99&&Pr(Te,3)===110?100:k){case 100:case 108:case 109:case 115:bh(e,ee,ee,a&&dh(Tb(e,ee,ee,0,0,o,m,Y,o,ve=[],w),j),o,j,w,m,a?ve:j);break;default:bh(Te,ee,ee,ee,[""],j,0,m,j)}}y=A=_=0,N=H=1,Y=Te="",w=c;break;case 58:w=1+jl(Te),_=P;default:if(N<1){if(J==123)--N;else if(J==125&&N++==0&&Ok()==125)continue}switch(Te+=fh(J),J*N){case 38:H=A>0?1:(Te+="\f",-1);break;case 44:m[y++]=(jl(Te)-1)*H,H=1;break;case 64:ql()===45&&(Te+=mh(ea())),k=ql(),A=w=jl(Y=Te+=Nk(ph())),J++;break;case 45:P===45&&jl(Te)==2&&(N=0)}}return u}function Tb(e,n,r,a,o,u,c,m,b,y,A){for(var w=o-1,k=o===0?u:[""],_=$g(k),P=0,N=0,W=0;P<a;++P)for(var H=0,J=Pf(e,w+1,w=Ek(N=c[P])),Y=e;H<_;++H)(Y=kb(N>0?k[H]+" "+J:Zt(J,/&\f/g,k[H])))&&(b[W++]=Y);return gh(e,n,r,o===0?Qg:m,b,y,A)}function Lk(e,n,r){return gh(e,n,r,Sb,fh(zk()),Pf(e,2,-2),0)}function Rb(e,n,r,a){return gh(e,n,r,jg,Pf(e,0,a),Pf(e,a+1,-1),a)}function dc(e,n){for(var r="",a=$g(e),o=0;o<a;o++)r+=n(e[o],o,e,n)||"";return r}function Bk(e,n,r,a){switch(e.type){case kk:if(e.children.length)break;case wk:case jg:return e.return=e.return||e.value;case Sb:return"";case wb:return e.return=e.value+"{"+dc(e.children,a)+"}";case Qg:e.value=e.props.join(",")}return jl(r=dc(e.children,a))?e.return=e.value+"{"+r+"}":""}function Fk(e){var n=$g(e);return function(r,a,o,u){for(var c="",m=0;m<n;m++)c+=e[m](r,a,o,u)||"";return c}}function Hk(e){return function(n){n.root||(n=n.return)&&e(n)}}var zb=function(n){var r=new WeakMap;return function(a){if(r.has(a))return r.get(a);var o=n(a);return r.set(a,o),o}},Wk=function(n,r,a){for(var o=0,u=0;o=u,u=ql(),o===38&&u===12&&(r[a]=1),!Nf(u);)ea();return Mf(n,Mi)},Gk=function(n,r){var a=-1,o=44;do switch(Nf(o)){case 0:o===38&&ql()===12&&(r[a]=1),n[a]+=Wk(Mi-1,r,a);break;case 2:n[a]+=mh(o);break;case 4:if(o===44){n[++a]=ql()===58?"&\f":"",r[a]=n[a].length;break}default:n[a]+=fh(o)}while(o=ea());return n},Yk=function(n,r){return Cb(Gk(_b(n),r))},Ob=new WeakMap,Uk=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var r=n.value,a=n.parent,o=n.column===a.column&&n.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(n.props.length===1&&r.charCodeAt(0)!==58&&!Ob.get(a))&&!o){Ob.set(n,!0);for(var u=[],c=Yk(r,u),m=a.props,b=0,y=0;b<c.length;b++)for(var A=0;A<m.length;A++,y++)n.props[y]=u[b]?c[b].replace(/&\f/g,m[A]):m[A]+" "+c[b]}}},Zk=function(n){if(n.type==="decl"){var r=n.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(n.return="",n.value="")}};function Pb(e,n){switch(Ck(e,n)){case 5103:return Ut+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Ut+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ut+e+ch+e+ti+e+e;case 6828:case 4268:return Ut+e+ti+e+e;case 6165:return Ut+e+ti+"flex-"+e+e;case 5187:return Ut+e+Zt(e,/(\w+).+(:[^]+)/,Ut+"box-$1$2"+ti+"flex-$1$2")+e;case 5443:return Ut+e+ti+"flex-item-"+Zt(e,/flex-|-self/,"")+e;case 4675:return Ut+e+ti+"flex-line-pack"+Zt(e,/align-content|flex-|-self/,"")+e;case 5548:return Ut+e+ti+Zt(e,"shrink","negative")+e;case 5292:return Ut+e+ti+Zt(e,"basis","preferred-size")+e;case 6060:return Ut+"box-"+Zt(e,"-grow","")+Ut+e+ti+Zt(e,"grow","positive")+e;case 4554:return Ut+Zt(e,/([^-])(transform)/g,"$1"+Ut+"$2")+e;case 6187:return Zt(Zt(Zt(e,/(zoom-|grab)/,Ut+"$1"),/(image-set)/,Ut+"$1"),e,"")+e;case 5495:case 3959:return Zt(e,/(image-set\([^]*)/,Ut+"$1$`$1");case 4968:return Zt(Zt(e,/(.+:)(flex-)?(.*)/,Ut+"box-pack:$3"+ti+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ut+e+e;case 4095:case 3583:case 4068:case 2532:return Zt(e,/(.+)-inline(.+)/,Ut+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(jl(e)-1-n>6)switch(Pr(e,n+1)){case 109:if(Pr(e,n+4)!==45)break;case 102:return Zt(e,/(.+:)(.+)-([^]+)/,"$1"+Ut+"$2-$3$1"+ch+(Pr(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~qg(e,"stretch")?Pb(Zt(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(Pr(e,n+1)!==115)break;case 6444:switch(Pr(e,jl(e)-3-(~qg(e,"!important")&&10))){case 107:return Zt(e,":",":"+Ut)+e;case 101:return Zt(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ut+(Pr(e,14)===45?"inline-":"")+"box$3$1"+Ut+"$2$3$1"+ti+"$2box$3")+e}break;case 5936:switch(Pr(e,n+11)){case 114:return Ut+e+ti+Zt(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ut+e+ti+Zt(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ut+e+ti+Zt(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Ut+e+ti+e+e}return e}var Vk=function(n,r,a,o){if(n.length>-1&&!n.return)switch(n.type){case jg:n.return=Pb(n.value,n.length);break;case wb:return dc([Df(n,{value:Zt(n.value,"@","@"+Ut)})],o);case Qg:if(n.length)return Rk(n.props,function(u){switch(Tk(u,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dc([Df(n,{props:[Zt(u,/:(read-\w+)/,":"+ch+"$1")]})],o);case"::placeholder":return dc([Df(n,{props:[Zt(u,/:(plac\w+)/,":"+Ut+"input-$1")]}),Df(n,{props:[Zt(u,/:(plac\w+)/,":"+ch+"$1")]}),Df(n,{props:[Zt(u,/:(plac\w+)/,ti+"input-$1")]})],o)}return""})}},Xk=[Vk],tp=function(n){var r=n.key;if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(N){var W=N.getAttribute("data-emotion");W.indexOf(" ")!==-1&&(document.head.appendChild(N),N.setAttribute("data-s",""))})}var o=n.stylisPlugins||Xk,u={},c,m=[];c=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(N){for(var W=N.getAttribute("data-emotion").split(" "),H=1;H<W.length;H++)u[W[H]]=!0;m.push(N)});var b,y=[Uk,Zk];{var A,w=[Bk,Hk(function(N){A.insert(N)})],k=Fk(y.concat(o,w)),_=function(W){return dc(Ik(W),k)};b=function(W,H,J,Y){A=J,_(W?W+"{"+H.styles+"}":H.styles),Y&&(P.inserted[H.name]=!0)}}var P={key:r,sheet:new Sk({key:r,container:c,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:u,registered:{},insert:b};return P.sheet.hydrate(m),P};const Jk=Object.freeze(Object.defineProperty({__proto__:null,default:tp},Symbol.toStringTag,{value:"Module"}));function yh(){return yh=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},yh.apply(null,arguments)}var np={exports:{}},Kt={};/** @license React v16.13.1
50
- * react-is.production.min.js
51
- *
52
- * Copyright (c) Facebook, Inc. and its affiliates.
53
- *
54
- * This source code is licensed under the MIT license found in the
55
- * LICENSE file in the root directory of this source tree.
56
- */var Db;function Kk(){if(Db)return Kt;Db=1;var e=typeof Symbol=="function"&&Symbol.for,n=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,a=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,u=e?Symbol.for("react.profiler"):60114,c=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,b=e?Symbol.for("react.async_mode"):60111,y=e?Symbol.for("react.concurrent_mode"):60111,A=e?Symbol.for("react.forward_ref"):60112,w=e?Symbol.for("react.suspense"):60113,k=e?Symbol.for("react.suspense_list"):60120,_=e?Symbol.for("react.memo"):60115,P=e?Symbol.for("react.lazy"):60116,N=e?Symbol.for("react.block"):60121,W=e?Symbol.for("react.fundamental"):60117,H=e?Symbol.for("react.responder"):60118,J=e?Symbol.for("react.scope"):60119;function Y(j){if(typeof j=="object"&&j!==null){var ee=j.$$typeof;switch(ee){case n:switch(j=j.type,j){case b:case y:case a:case u:case o:case w:return j;default:switch(j=j&&j.$$typeof,j){case m:case A:case P:case _:case c:return j;default:return ee}}case r:return ee}}}function ve(j){return Y(j)===y}return Kt.AsyncMode=b,Kt.ConcurrentMode=y,Kt.ContextConsumer=m,Kt.ContextProvider=c,Kt.Element=n,Kt.ForwardRef=A,Kt.Fragment=a,Kt.Lazy=P,Kt.Memo=_,Kt.Portal=r,Kt.Profiler=u,Kt.StrictMode=o,Kt.Suspense=w,Kt.isAsyncMode=function(j){return ve(j)||Y(j)===b},Kt.isConcurrentMode=ve,Kt.isContextConsumer=function(j){return Y(j)===m},Kt.isContextProvider=function(j){return Y(j)===c},Kt.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===n},Kt.isForwardRef=function(j){return Y(j)===A},Kt.isFragment=function(j){return Y(j)===a},Kt.isLazy=function(j){return Y(j)===P},Kt.isMemo=function(j){return Y(j)===_},Kt.isPortal=function(j){return Y(j)===r},Kt.isProfiler=function(j){return Y(j)===u},Kt.isStrictMode=function(j){return Y(j)===o},Kt.isSuspense=function(j){return Y(j)===w},Kt.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===a||j===y||j===u||j===o||j===w||j===k||typeof j=="object"&&j!==null&&(j.$$typeof===P||j.$$typeof===_||j.$$typeof===c||j.$$typeof===m||j.$$typeof===A||j.$$typeof===W||j.$$typeof===H||j.$$typeof===J||j.$$typeof===N)},Kt.typeOf=Y,Kt}var Mb;function Qk(){return Mb||(Mb=1,np.exports=Kk()),np.exports}var rp,Nb;function jk(){if(Nb)return rp;Nb=1;var e=Qk(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};u[e.ForwardRef]=a,u[e.Memo]=o;function c(P){return e.isMemo(P)?o:u[P.$$typeof]||n}var m=Object.defineProperty,b=Object.getOwnPropertyNames,y=Object.getOwnPropertySymbols,A=Object.getOwnPropertyDescriptor,w=Object.getPrototypeOf,k=Object.prototype;function _(P,N,W){if(typeof N!="string"){if(k){var H=w(N);H&&H!==k&&_(P,H,W)}var J=b(N);y&&(J=J.concat(y(N)));for(var Y=c(P),ve=c(N),j=0;j<J.length;++j){var ee=J[j];if(!r[ee]&&!(W&&W[ee])&&!(ve&&ve[ee])&&!(Y&&Y[ee])){var Te=A(N,ee);try{m(P,ee,Te)}catch(Se){}}}}return P}return rp=_,rp}var qk=jk();const $k=cn(qk);var eE=(function(e,n){return $k(e,n)}),tE=!0;function ip(e,n,r){var a="";return r.split(" ").forEach(function(o){e[o]!==void 0?n.push(e[o]+";"):o&&(a+=o+" ")}),a}var vh=function(n,r,a){var o=n.key+"-"+r.name;(a===!1||tE===!1)&&n.registered[o]===void 0&&(n.registered[o]=r.styles)},xh=function(n,r,a){vh(n,r,a);var o=n.key+"-"+r.name;if(n.inserted[r.name]===void 0){var u=r;do n.insert(r===u?"."+o:"",u,n.sheet,!0),u=u.next;while(u!==void 0)}};function nE(e){for(var n=0,r,a=0,o=e.length;o>=4;++a,o-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,n=(r&65535)*1540483477+((r>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(e.charCodeAt(a+2)&255)<<16;case 2:n^=(e.charCodeAt(a+1)&255)<<8;case 1:n^=e.charCodeAt(a)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var rE={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},iE=/[A-Z]|^ms/g,aE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ib=function(n){return n.charCodeAt(1)===45},Lb=function(n){return n!=null&&typeof n!="boolean"},ap=Ab(function(e){return Ib(e)?e:e.replace(iE,"-$&").toLowerCase()}),Bb=function(n,r){switch(n){case"animation":case"animationName":if(typeof r=="string")return r.replace(aE,function(a,o,u){return $l={name:o,styles:u,next:$l},o})}return rE[n]!==1&&!Ib(n)&&typeof r=="number"&&r!==0?r+"px":r};function If(e,n,r){if(r==null)return"";var a=r;if(a.__emotion_styles!==void 0)return a;switch(typeof r){case"boolean":return"";case"object":{var o=r;if(o.anim===1)return $l={name:o.name,styles:o.styles,next:$l},o.name;var u=r;if(u.styles!==void 0){var c=u.next;if(c!==void 0)for(;c!==void 0;)$l={name:c.name,styles:c.styles,next:$l},c=c.next;var m=u.styles+";";return m}return lE(e,n,r)}case"function":{if(e!==void 0){var b=$l,y=r(e);return $l=b,If(e,n,y)}break}}var A=r;if(n==null)return A;var w=n[A];return w!==void 0?w:A}function lE(e,n,r){var a="";if(Array.isArray(r))for(var o=0;o<r.length;o++)a+=If(e,n,r[o])+";";else for(var u in r){var c=r[u];if(typeof c!="object"){var m=c;n!=null&&n[m]!==void 0?a+=u+"{"+n[m]+"}":Lb(m)&&(a+=ap(u)+":"+Bb(u,m)+";")}else if(Array.isArray(c)&&typeof c[0]=="string"&&(n==null||n[c[0]]===void 0))for(var b=0;b<c.length;b++)Lb(c[b])&&(a+=ap(u)+":"+Bb(u,c[b])+";");else{var y=If(e,n,c);switch(u){case"animation":case"animationName":{a+=ap(u)+":"+y+";";break}default:a+=u+"{"+y+"}"}}}return a}var Fb=/label:\s*([^\s;{]+)\s*(;|$)/g,$l;function Lf(e,n,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var a=!0,o="";$l=void 0;var u=e[0];if(u==null||u.raw===void 0)a=!1,o+=If(r,n,u);else{var c=u;o+=c[0]}for(var m=1;m<e.length;m++)if(o+=If(r,n,e[m]),a){var b=u;o+=b[m]}Fb.lastIndex=0;for(var y="",A;(A=Fb.exec(o))!==null;)y+="-"+A[1];var w=nE(o)+y;return{name:w,styles:o,next:$l}}var oE=function(n){return n()},Hb=gb.useInsertionEffect?gb.useInsertionEffect:!1,lp=Hb||oE,Wb=Hb||Ae.useLayoutEffect,op=Ae.createContext(typeof HTMLElement!="undefined"?tp({key:"css"}):null),Gb=op.Provider,sE=function(){return Ae.useContext(op)},Bf=function(n){return Ae.forwardRef(function(r,a){var o=Ae.useContext(op);return n(r,o,a)})},Ro=Ae.createContext({}),uE=function(){return Ae.useContext(Ro)},cE=function(n,r){if(typeof r=="function"){var a=r(n);return a}return yh({},n,r)},fE=zb(function(e){return zb(function(n){return cE(e,n)})}),dE=function(n){var r=Ae.useContext(Ro);return n.theme!==r&&(r=fE(r)(n.theme)),Ae.createElement(Ro.Provider,{value:r},n.children)};function hE(e){var n=e.displayName||e.name||"Component",r=Ae.forwardRef(function(o,u){var c=Ae.useContext(Ro);return Ae.createElement(e,yh({theme:c,ref:u},o))});return r.displayName="WithTheme("+n+")",eE(r,e)}var sp={}.hasOwnProperty,up="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",gE=function(n,r){var a={};for(var o in r)sp.call(r,o)&&(a[o]=r[o]);return a[up]=n,a},pE=function(n){var r=n.cache,a=n.serialized,o=n.isStringTag;return vh(r,a,o),lp(function(){return xh(r,a,o)}),null},mE=Bf(function(e,n,r){var a=e.css;typeof a=="string"&&n.registered[a]!==void 0&&(a=n.registered[a]);var o=e[up],u=[a],c="";typeof e.className=="string"?c=ip(n.registered,u,e.className):e.className!=null&&(c=e.className+" ");var m=Lf(u,void 0,Ae.useContext(Ro));c+=n.key+"-"+m.name;var b={};for(var y in e)sp.call(e,y)&&y!=="css"&&y!==up&&(b[y]=e[y]);return b.className=c,r&&(b.ref=r),Ae.createElement(Ae.Fragment,null,Ae.createElement(pE,{cache:n,serialized:m,isStringTag:typeof o=="string"}),Ae.createElement(o,b))}),bE=mE,Ah=function(n,r){var a=arguments;if(r==null||!sp.call(r,"css"))return Ae.createElement.apply(void 0,a);var o=a.length,u=new Array(o);u[0]=bE,u[1]=gE(n,r);for(var c=2;c<o;c++)u[c]=a[c];return Ae.createElement.apply(null,u)};(function(e){var n;n||(n=e.JSX||(e.JSX={}))})(Ah||(Ah={}));var cp=Bf(function(e,n){var r=e.styles,a=Lf([r],void 0,Ae.useContext(Ro)),o=Ae.useRef();return Wb(function(){var u=n.key+"-global",c=new n.sheet.constructor({key:u,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),m=!1,b=document.querySelector('style[data-emotion="'+u+" "+a.name+'"]');return n.sheet.tags.length&&(c.before=n.sheet.tags[0]),b!==null&&(m=!0,b.setAttribute("data-emotion",u),c.hydrate([b])),o.current=[c,m],function(){c.flush()}},[n]),Wb(function(){var u=o.current,c=u[0],m=u[1];if(m){u[1]=!1;return}if(a.next!==void 0&&xh(n,a.next,!0),c.tags.length){var b=c.tags[c.tags.length-1].nextElementSibling;c.before=b,c.flush()}n.insert("",a,c,!1)},[n,a.name]),null});function Yb(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Lf(n)}function yE(){var e=Yb.apply(void 0,arguments),n="animation-"+e.name;return{name:n,styles:"@keyframes "+n+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var vE=function e(n){for(var r=n.length,a=0,o="";a<r;a++){var u=n[a];if(u!=null){var c=void 0;switch(typeof u){case"boolean":break;case"object":{if(Array.isArray(u))c=e(u);else{c="";for(var m in u)u[m]&&m&&(c&&(c+=" "),c+=m)}break}default:c=u}c&&(o&&(o+=" "),o+=c)}}return o};function xE(e,n,r){var a=[],o=ip(e,a,r);return a.length<2?r:o+n(a)}var AE=function(n){var r=n.cache,a=n.serializedArr;return lp(function(){for(var o=0;o<a.length;o++)xh(r,a[o],!1)}),null},SE=Bf(function(e,n){var r=[],a=function(){for(var b=arguments.length,y=new Array(b),A=0;A<b;A++)y[A]=arguments[A];var w=Lf(y,n.registered);return r.push(w),vh(n,w,!1),n.key+"-"+w.name},o=function(){for(var b=arguments.length,y=new Array(b),A=0;A<b;A++)y[A]=arguments[A];return xE(n.registered,a,vE(y))},u={css:a,cx:o,theme:Ae.useContext(Ro)},c=e.children(u);return Ae.createElement(Ae.Fragment,null,Ae.createElement(AE,{cache:n,serializedArr:r}),c)});const wE=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:Gb,ClassNames:SE,Global:cp,ThemeContext:Ro,ThemeProvider:dE,__unsafe_useEmotionCache:sE,get createElement(){return Ah},css:Yb,get jsx(){return Ah},keyframes:yE,useTheme:uE,withEmotionCache:Bf,withTheme:hE},Symbol.toStringTag,{value:"Module"}));function kE(...e){return function(...r){e.forEach(a=>a==null?void 0:a(...r))}}const EE=(...e)=>e.map(n=>{var r;return(r=n==null?void 0:n.trim)==null?void 0:r.call(n)}).filter(Boolean).join(" "),_E=/^on[A-Z]/;function Ff(...e){var r,a;let n={};for(let o of e){for(let u in n){if(_E.test(u)&&typeof n[u]=="function"&&typeof o[u]=="function"){n[u]=kE(n[u],o[u]);continue}if(u==="className"||u==="class"){n[u]=EE(n[u],o[u]);continue}if(u==="style"){n[u]=Object.assign({},(r=n[u])!=null?r:{},(a=o[u])!=null?a:{});continue}n[u]=o[u]!==void 0?o[u]:n[u]}for(let u in o)n[u]===void 0&&(n[u]=o[u])}return n}function CE(e,n){if(e!=null){if(typeof e=="function"){e(n);return}try{e.current=n}catch(r){throw new Error(`Cannot assign value '${n}' to ref '${e}'`)}}}function TE(...e){return n=>{e.forEach(r=>{CE(r,n)})}}function Hf(e){const n=Object.assign({},e);for(let r in n)n[r]===void 0&&delete n[r];return n}const ta=(...e)=>e.filter(Boolean).map(n=>n.trim()).join(" ");function RE(e){return e.default||e}const Ni=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),eo=e=>typeof e=="string",fp=e=>typeof e=="function";function zE(e){var r;const n=Ae.version;return!eo(n)||n.startsWith("18.")?e==null?void 0:e.ref:(r=e==null?void 0:e.props)==null?void 0:r.ref}const Ub=(...e)=>{const n=e.reduce((r,a)=>(a!=null&&a.forEach(o=>r.add(o)),r),new Set([]));return Array.from(n)};function OE(e,n){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${n}`}function Wf(e={}){const{name:n,strict:r=!0,hookName:a="useContext",providerName:o="Provider",errorMessage:u,defaultValue:c}=e,m=Ae.createContext(c);m.displayName=n;function b(){var A;const y=Ae.useContext(m);if(!y&&r){const w=new Error(u!=null?u:OE(a,o));throw w.name="ContextError",(A=Error.captureStackTrace)==null||A.call(Error,w,b),w}return y}return[m.Provider,b,m]}const[PE,Gf]=Wf({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function DE(e){const{value:n,children:r}=e;return $.jsxs(PE,{value:n,children:[!n._config.disableLayers&&$.jsx(cp,{styles:n.layers.atRule}),$.jsx(cp,{styles:n._global}),r]})}const ME=(e,n)=>{const r={},a={},o=Object.keys(e);for(const u of o)n(u)?a[u]=e[u]:r[u]=e[u];return[a,r]},hc=(e,n)=>{const r=fp(n)?n:a=>n.includes(a);return ME(e,r)},NE=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function IE(e){return typeof e=="string"&&NE.has(e)}function LE(e,n,r){const{css:a,isValidProperty:o}=Gf(),k=e,{children:u}=k,c=Or(k,["children"]),m=Ae.useMemo(()=>{const[P,N]=hc(c,ve=>r(ve,n.variantKeys)),[W,H]=hc(N,n.variantKeys),[J,Y]=hc(H,o);return{forwardedProps:P,variantProps:W,styleProps:J,elementProps:Y}},[n.variantKeys,r,c,o]),_=m.styleProps,{css:b}=_,y=Or(_,["css"]),A=Ae.useMemo(()=>{const P=G({},m.variantProps);return n.variantKeys.includes("colorPalette")||(P.colorPalette=c.colorPalette),n.variantKeys.includes("orientation")||(P.orientation=c.orientation),n(P)},[n,m.variantProps,c.colorPalette,c.orientation]);return{styles:Ae.useMemo(()=>a(A,...BE(b),y),[a,A,b,y]),props:We(G(G({},m.forwardedProps),m.elementProps),{children:u})}}const BE=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),FE=RE(vk),HE=e=>e!=="theme",WE=(e,n,r)=>{let a;if(n){const o=n.shouldForwardProp;a=e.__emotion_forwardProp&&o?u=>e.__emotion_forwardProp(u)&&o(u):o}return typeof a!="function"&&r&&(a=e.__emotion_forwardProp),a};let GE=typeof document!="undefined";const Zb=({cache:e,serialized:n,isStringTag:r})=>{vh(e,n,r);const a=lp(()=>xh(e,n,r));if(!GE&&a!==void 0){let o=n.name,u=n.next;for(;u!==void 0;)o=ta(o,u.name),u=u.next;return $.jsx("style",{"data-emotion":ta(e.key,o),dangerouslySetInnerHTML:{__html:a},nonce:e.sheet.nonce})}return null},Vb={path:["d"],text:["x","y"],circle:["cx","cy","r"],rect:["width","height","x","y","rx","ry"],ellipse:["cx","cy","rx","ry"],g:["transform"],stop:["offset","stopOpacity"]},YE=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),dp=((e,n={},r={})=>{if(YE(Vb,e)){r.forwardProps||(r.forwardProps=[]);const y=Vb[e];r.forwardProps=Ub([...r.forwardProps,...y])}const a=e.__emotion_real===e,o=a&&e.__emotion_base||e;let u,c;r!==void 0&&(u=r.label,c=r.target);let m=[];const b=Bf((y,A,w)=>{var ge;const{cva:k,isValidProperty:_}=Gf(),P=n.__cva__?n:k(n),N=UE(e.__emotion_cva,P),W=M=>(K,ze)=>M.includes(K)?!0:!(ze!=null&&ze.includes(K))&&!_(K);!r.shouldForwardProp&&r.forwardProps&&(r.shouldForwardProp=W(r.forwardProps));const H=(M,K)=>{const ze=typeof e=="string"&&e.charCodeAt(0)>96?FE:HE,Ge=!(K!=null&&K.includes(M))&&!_(M);return ze(M)&&Ge},J=WE(e,r,a)||H,Y=Ae.useMemo(()=>Object.assign({},r.defaultProps,Hf(y)),[y]),{props:ve,styles:j}=LE(Y,N,J);let ee="",Te=[j],Se=ve;if(ve.theme==null){Se={};for(let M in ve)Se[M]=ve[M];Se.theme=Ae.useContext(Ro)}typeof ve.className=="string"?ee=ip(A.registered,Te,ve.className):ve.className!=null&&(ee=ta(ee,ve.className));const me=Lf(m.concat(Te),A.registered,Se);me.styles&&(ee=ta(ee,`${A.key}-${me.name}`)),c!==void 0&&(ee=ta(ee,c));const q=!J("as");let Re=q&&ve.as||o,fe={};for(let M in ve)if(!(q&&M==="as")){if(IE(M)){const K=M.replace("html","").toLowerCase();fe[K]=ve[M];continue}J(M)&&(fe[M]=ve[M])}let Pe=ee.trim();Pe?fe.className=Pe:Reflect.deleteProperty(fe,"className"),fe.ref=w;const te=r.forwardAsChild||((ge=r.forwardProps)==null?void 0:ge.includes("asChild"));if(ve.asChild&&!te){const M=Ae.isValidElement(ve.children)?Ae.Children.only(ve.children):Ae.Children.toArray(ve.children).find(Ae.isValidElement);if(!M)throw new Error("[chakra-ui > factory] No valid child found");Re=M.type,fe.children=null,Reflect.deleteProperty(fe,"asChild"),fe=Ff(fe,M.props),fe.ref=TE(w,zE(M))}return fe.as&&te?(fe.as=void 0,$.jsxs(Ae.Fragment,{children:[$.jsx(Zb,{cache:A,serialized:me,isStringTag:typeof Re=="string"}),$.jsx(Re,We(G({asChild:!0},fe),{children:$.jsx(ve.as,{children:fe.children})}))]})):$.jsxs(Ae.Fragment,{children:[$.jsx(Zb,{cache:A,serialized:me,isStringTag:typeof Re=="string"}),$.jsx(Re,G({},fe))]})});return b.displayName=u!==void 0?u:`chakra(${typeof o=="string"?o:o.displayName||o.name||"Component"})`,b.__emotion_real=b,b.__emotion_base=o,b.__emotion_forwardProp=r.shouldForwardProp,b.__emotion_cva=n,Object.defineProperty(b,"toString",{value(){return`.${c}`}}),b}).bind(),hp=new Map,La=new Proxy(dp,{apply(e,n,r){return dp(...r)},get(e,n){return hp.has(n)||hp.set(n,dp(n)),hp.get(n)}}),UE=(e,n)=>e&&!n?e:!e&&n?n:e.merge(n),_t=La("div");_t.displayName="Box";const kt=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__,fn=globalThis,cu="10.5.0";function Sh(){return wh(fn),fn}function wh(e){const n=e.__SENTRY__=e.__SENTRY__||{};return n.version=n.version||cu,n[cu]=n[cu]||{}}function Yf(e,n,r=fn){const a=r.__SENTRY__=r.__SENTRY__||{},o=a[cu]=a[cu]||{};return o[e]||(o[e]=n())}const ZE=["debug","info","warn","error","log","assert","trace"],VE="Sentry Logger ",kh={};function Eh(e){if(!("console"in fn))return e();const n=fn.console,r={},a=Object.keys(kh);a.forEach(o=>{const u=kh[o];r[o]=n[o],n[o]=u});try{return e()}finally{a.forEach(o=>{n[o]=r[o]})}}function XE(){pp().enabled=!0}function JE(){pp().enabled=!1}function Xb(){return pp().enabled}function KE(...e){gp("log",...e)}function QE(...e){gp("warn",...e)}function jE(...e){gp("error",...e)}function gp(e,...n){kt&&Xb()&&Eh(()=>{fn.console[e](`${VE}[${e}]:`,...n)})}function pp(){return kt?Yf("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ht={enable:XE,disable:JE,isEnabled:Xb,log:KE,warn:QE,error:jE},Jb=50,fu="?",Kb=/\(error: (.*)\)/,Qb=/captureMessage|captureException/;function qE(...e){const n=e.sort((r,a)=>r[0]-a[0]).map(r=>r[1]);return(r,a=0,o=0)=>{const u=[],c=r.split(`
57
- `);for(let m=a;m<c.length;m++){let b=c[m];b.length>1024&&(b=b.slice(0,1024));const y=Kb.test(b)?b.replace(Kb,"$1"):b;if(!y.match(/\S*Error: /)){for(const A of n){const w=A(y);if(w){u.push(w);break}}if(u.length>=Jb+o)break}}return $E(u.slice(o))}}function $E(e){if(!e.length)return[];const n=Array.from(e);return/sentryWrapped/.test(_h(n).function||"")&&n.pop(),n.reverse(),Qb.test(_h(n).function||"")&&(n.pop(),Qb.test(_h(n).function||"")&&n.pop()),n.slice(0,Jb).map(r=>We(G({},r),{filename:r.filename||_h(n).filename,function:r.function||fu}))}function _h(e){return e[e.length-1]||{}}const mp="<anonymous>";function hs(e){try{return!e||typeof e!="function"?mp:e.name||mp}catch(n){return mp}}function jb(e){const n=e.exception;if(n){const r=[];try{return n.values.forEach(a=>{a.stacktrace.frames&&r.push(...a.stacktrace.frames)}),r}catch(a){return}}}const Ch={},qb={};function du(e,n){Ch[e]=Ch[e]||[],Ch[e].push(n)}function hu(e,n){if(!qb[e]){qb[e]=!0;try{n()}catch(r){kt&&ht.error(`Error while instrumenting ${e}`,r)}}}function ol(e,n){const r=e&&Ch[e];if(r)for(const a of r)try{a(n)}catch(o){kt&&ht.error(`Error while triggering instrumentation handler.
58
- Type: ${e}
59
- Name: ${hs(a)}
60
- Error:`,o)}}let bp=null;function e_(e){const n="error";du(n,e),hu(n,t_)}function t_(){bp=fn.onerror,fn.onerror=function(e,n,r,a,o){return ol("error",{column:a,error:o,line:r,msg:e,url:n}),bp?bp.apply(this,arguments):!1},fn.onerror.__SENTRY_INSTRUMENTED__=!0}let yp=null;function n_(e){const n="unhandledrejection";du(n,e),hu(n,r_)}function r_(){yp=fn.onunhandledrejection,fn.onunhandledrejection=function(e){return ol("unhandledrejection",e),yp?yp.apply(this,arguments):!0},fn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const $b=Object.prototype.toString;function vp(e){switch($b.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return gs(e,Error)}}function gc(e,n){return $b.call(e)===`[object ${n}]`}function ey(e){return gc(e,"ErrorEvent")}function ty(e){return gc(e,"DOMError")}function i_(e){return gc(e,"DOMException")}function zo(e){return gc(e,"String")}function xp(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function Ap(e){return e===null||xp(e)||typeof e!="object"&&typeof e!="function"}function Uf(e){return gc(e,"Object")}function Th(e){return typeof Event!="undefined"&&gs(e,Event)}function a_(e){return typeof Element!="undefined"&&gs(e,Element)}function l_(e){return gc(e,"RegExp")}function Rh(e){return!!(e!=null&&e.then&&typeof e.then=="function")}function o_(e){return Uf(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function gs(e,n){try{return e instanceof n}catch(r){return!1}}function ny(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function s_(e){return typeof Request!="undefined"&&gs(e,Request)}const Sp=fn,u_=80;function ry(e,n={}){if(!e)return"<unknown>";try{let r=e;const a=5,o=[];let u=0,c=0;const m=" > ",b=m.length;let y;const A=Array.isArray(n)?n:n.keyAttrs,w=!Array.isArray(n)&&n.maxStringLength||u_;for(;r&&u++<a&&(y=c_(r,A),!(y==="html"||u>1&&c+o.length*b+y.length>=w));)o.push(y),c+=y.length,r=r.parentNode;return o.reverse().join(m)}catch(r){return"<unknown>"}}function c_(e,n){const r=e,a=[];if(!(r!=null&&r.tagName))return"";if(Sp.HTMLElement&&r instanceof HTMLElement&&r.dataset){if(r.dataset.sentryComponent)return r.dataset.sentryComponent;if(r.dataset.sentryElement)return r.dataset.sentryElement}a.push(r.tagName.toLowerCase());const o=n!=null&&n.length?n.filter(c=>r.getAttribute(c)).map(c=>[c,r.getAttribute(c)]):null;if(o!=null&&o.length)o.forEach(c=>{a.push(`[${c[0]}="${c[1]}"]`)});else{r.id&&a.push(`#${r.id}`);const c=r.className;if(c&&zo(c)){const m=c.split(/\s+/);for(const b of m)a.push(`.${b}`)}}const u=["aria-label","type","name","title","alt"];for(const c of u){const m=r.getAttribute(c);m&&a.push(`[${c}="${m}"]`)}return a.join("")}function iy(){try{return Sp.document.location.href}catch(e){return""}}function f_(e){if(!Sp.HTMLElement)return null;let n=e;const r=5;for(let a=0;a<r;a++){if(!n)return null;if(n instanceof HTMLElement){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}n=n.parentNode}return null}function zh(e,n=0){return typeof e!="string"||n===0||e.length<=n?e:`${e.slice(0,n)}...`}function ay(e,n){if(!Array.isArray(e))return"";const r=[];for(let a=0;a<e.length;a++){const o=e[a];try{ny(o)?r.push("[VueViewModel]"):r.push(String(o))}catch(u){r.push("[value cannot be serialized]")}}return r.join(n)}function Oh(e,n,r=!1){return zo(e)?l_(n)?n.test(e):zo(n)?r?e===n:e.includes(n):!1:!1}function Ph(e,n=[],r=!1){return n.some(a=>Oh(e,a,r))}function na(e,n,r){if(!(n in e))return;const a=e[n];if(typeof a!="function")return;const o=r(a);typeof o=="function"&&ly(o,a);try{e[n]=o}catch(u){kt&&ht.log(`Failed to replace method "${n}" in object`,e)}}function gu(e,n,r){try{Object.defineProperty(e,n,{value:r,writable:!0,configurable:!0})}catch(a){kt&&ht.log(`Failed to add non-enumerable property "${n}" to object`,e)}}function ly(e,n){try{const r=n.prototype||{};e.prototype=n.prototype=r,gu(e,"__sentry_original__",n)}catch(r){}}function wp(e){return e.__sentry_original__}function oy(e){if(vp(e))return G({message:e.message,name:e.name,stack:e.stack},uy(e));if(Th(e)){const n=G({type:e.type,target:sy(e.target),currentTarget:sy(e.currentTarget)},uy(e));return typeof CustomEvent!="undefined"&&gs(e,CustomEvent)&&(n.detail=e.detail),n}else return e}function sy(e){try{return a_(e)?ry(e):Object.prototype.toString.call(e)}catch(n){return"<unknown>"}}function uy(e){if(typeof e=="object"&&e!==null){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}else return{}}function d_(e,n=40){const r=Object.keys(oy(e));r.sort();const a=r[0];if(!a)return"[object has no keys]";if(a.length>=n)return zh(a,n);for(let o=r.length;o>0;o--){const u=r.slice(0,o).join(", ");if(!(u.length>n))return o===r.length?u:zh(u,n)}return""}function h_(){const e=fn;return e.crypto||e.msCrypto}function Ba(e=h_()){let n=()=>Math.random()*16;try{if(e!=null&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e!=null&&e.getRandomValues&&(n=()=>{const r=new Uint8Array(1);return e.getRandomValues(r),r[0]})}catch(r){}return("10000000100040008000"+1e11).replace(/[018]/g,r=>(r^(n()&15)>>r/4).toString(16))}function cy(e){var n,r;return(r=(n=e.exception)==null?void 0:n.values)==null?void 0:r[0]}function pu(e){const{message:n,event_id:r}=e;if(n)return n;const a=cy(e);return a?a.type&&a.value?`${a.type}: ${a.value}`:a.type||a.value||r||"<unknown>":r||"<unknown>"}function kp(e,n,r){const a=e.exception=e.exception||{},o=a.values=a.values||[],u=o[0]=o[0]||{};u.value||(u.value=n||""),u.type||(u.type="Error")}function pc(e,n){const r=cy(e);if(!r)return;const a={type:"generic",handled:!0},o=r.mechanism;if(r.mechanism=G(G(G({},a),o),n),n&&"data"in n){const u=G(G({},o==null?void 0:o.data),n.data);r.mechanism.data=u}}function fy(e){if(g_(e))return!0;try{gu(e,"__sentry_captured__",!0)}catch(n){}return!1}function g_(e){try{return e.__sentry_captured__}catch(n){}}const dy=1e3;function Zf(){return Date.now()/dy}function p_(){const{performance:e}=fn;if(!(e!=null&&e.now)||!e.timeOrigin)return Zf;const n=e.timeOrigin;return()=>(n+e.now())/dy}let Dh;function Oo(){return(Dh!=null?Dh:Dh=p_())()}function m_(e){const n=Oo(),r={sid:Ba(),init:!0,timestamp:n,started:n,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>y_(r)};return e&&mc(r,e),r}function mc(e,n={}){if(n.user&&(!e.ipAddress&&n.user.ip_address&&(e.ipAddress=n.user.ip_address),!e.did&&!n.did&&(e.did=n.user.id||n.user.email||n.user.username)),e.timestamp=n.timestamp||Oo(),n.abnormal_mechanism&&(e.abnormal_mechanism=n.abnormal_mechanism),n.ignoreDuration&&(e.ignoreDuration=n.ignoreDuration),n.sid&&(e.sid=n.sid.length===32?n.sid:Ba()),n.init!==void 0&&(e.init=n.init),!e.did&&n.did&&(e.did=`${n.did}`),typeof n.started=="number"&&(e.started=n.started),e.ignoreDuration)e.duration=void 0;else if(typeof n.duration=="number")e.duration=n.duration;else{const r=e.timestamp-e.started;e.duration=r>=0?r:0}n.release&&(e.release=n.release),n.environment&&(e.environment=n.environment),!e.ipAddress&&n.ipAddress&&(e.ipAddress=n.ipAddress),!e.userAgent&&n.userAgent&&(e.userAgent=n.userAgent),typeof n.errors=="number"&&(e.errors=n.errors),n.status&&(e.status=n.status)}function b_(e,n){let r={};e.status==="ok"&&(r={status:"exited"}),mc(e,r)}function y_(e){return{sid:`${e.sid}`,init:e.init,started:new Date(e.started*1e3).toISOString(),timestamp:new Date(e.timestamp*1e3).toISOString(),status:e.status,errors:e.errors,did:typeof e.did=="number"||typeof e.did=="string"?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}}}function Vf(e,n,r=2){if(!n||typeof n!="object"||r<=0)return n;if(e&&Object.keys(n).length===0)return e;const a=G({},e);for(const o in n)Object.prototype.hasOwnProperty.call(n,o)&&(a[o]=Vf(a[o],n[o],r-1));return a}function hy(){return Ba()}function gy(){return Ba().substring(16)}const Ep="_sentrySpan";function py(e,n){n?gu(e,Ep,n):delete e[Ep]}function my(e){return e[Ep]}const v_=100;class to{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext={traceId:hy(),sampleRand:Math.random()}}clone(){const n=new to;return n._breadcrumbs=[...this._breadcrumbs],n._tags=G({},this._tags),n._extra=G({},this._extra),n._contexts=G({},this._contexts),this._contexts.flags&&(n._contexts.flags={values:[...this._contexts.flags.values]}),n._user=this._user,n._level=this._level,n._session=this._session,n._transactionName=this._transactionName,n._fingerprint=this._fingerprint,n._eventProcessors=[...this._eventProcessors],n._attachments=[...this._attachments],n._sdkProcessingMetadata=G({},this._sdkProcessingMetadata),n._propagationContext=G({},this._propagationContext),n._client=this._client,n._lastEventId=this._lastEventId,py(n,my(this)),n}setClient(n){this._client=n}setLastEventId(n){this._lastEventId=n}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(n){this._scopeListeners.push(n)}addEventProcessor(n){return this._eventProcessors.push(n),this}setUser(n){return this._user=n||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&mc(this._session,{user:n}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(n){return this._tags=G(G({},this._tags),n),this._notifyScopeListeners(),this}setTag(n,r){return this._tags=We(G({},this._tags),{[n]:r}),this._notifyScopeListeners(),this}setExtras(n){return this._extra=G(G({},this._extra),n),this._notifyScopeListeners(),this}setExtra(n,r){return this._extra=We(G({},this._extra),{[n]:r}),this._notifyScopeListeners(),this}setFingerprint(n){return this._fingerprint=n,this._notifyScopeListeners(),this}setLevel(n){return this._level=n,this._notifyScopeListeners(),this}setTransactionName(n){return this._transactionName=n,this._notifyScopeListeners(),this}setContext(n,r){return r===null?delete this._contexts[n]:this._contexts[n]=r,this._notifyScopeListeners(),this}setSession(n){return n?this._session=n:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(n){if(!n)return this;const r=typeof n=="function"?n(this):n,a=r instanceof to?r.getScopeData():Uf(r)?n:void 0,{tags:o,extra:u,user:c,contexts:m,level:b,fingerprint:y=[],propagationContext:A}=a||{};return this._tags=G(G({},this._tags),o),this._extra=G(G({},this._extra),u),this._contexts=G(G({},this._contexts),m),c&&Object.keys(c).length&&(this._user=c),b&&(this._level=b),y.length&&(this._fingerprint=y),A&&(this._propagationContext=A),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._session=void 0,py(this,void 0),this._attachments=[],this.setPropagationContext({traceId:hy(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(n,r){var u;const a=typeof r=="number"?r:v_;if(a<=0)return this;const o=We(G({timestamp:Zf()},n),{message:n.message?zh(n.message,2048):n.message});return this._breadcrumbs.push(o),this._breadcrumbs.length>a&&(this._breadcrumbs=this._breadcrumbs.slice(-a),(u=this._client)==null||u.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(n){return this._attachments.push(n),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:my(this)}}setSDKProcessingMetadata(n){return this._sdkProcessingMetadata=Vf(this._sdkProcessingMetadata,n,2),this}setPropagationContext(n){return this._propagationContext=n,this}getPropagationContext(){return this._propagationContext}captureException(n,r){const a=(r==null?void 0:r.event_id)||Ba();if(!this._client)return kt&&ht.warn("No client configured on scope - will not capture exception!"),a;const o=new Error("Sentry syntheticException");return this._client.captureException(n,We(G({originalException:n,syntheticException:o},r),{event_id:a}),this),a}captureMessage(n,r,a){const o=(a==null?void 0:a.event_id)||Ba();if(!this._client)return kt&&ht.warn("No client configured on scope - will not capture message!"),o;const u=new Error(n);return this._client.captureMessage(n,r,We(G({originalException:n,syntheticException:u},a),{event_id:o}),this),o}captureEvent(n,r){const a=(r==null?void 0:r.event_id)||Ba();return this._client?(this._client.captureEvent(n,We(G({},r),{event_id:a}),this),a):(kt&&ht.warn("No client configured on scope - will not capture event!"),a)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(n=>{n(this)}),this._notifyingListeners=!1)}}function x_(){return Yf("defaultCurrentScope",()=>new to)}function A_(){return Yf("defaultIsolationScope",()=>new to)}class S_{constructor(n,r){let a;n?a=n:a=new to;let o;r?o=r:o=new to,this._stack=[{scope:a}],this._isolationScope=o}withScope(n){const r=this._pushScope();let a;try{a=n(r)}catch(o){throw this._popScope(),o}return Rh(a)?a.then(o=>(this._popScope(),o),o=>{throw this._popScope(),o}):(this._popScope(),a)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const n=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:n}),n}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function bc(){const e=Sh(),n=wh(e);return n.stack=n.stack||new S_(x_(),A_())}function w_(e){return bc().withScope(e)}function k_(e,n){const r=bc();return r.withScope(()=>(r.getStackTop().scope=e,n(e)))}function by(e){return bc().withScope(()=>e(bc().getIsolationScope()))}function E_(){return{withIsolationScope:by,withScope:w_,withSetScope:k_,withSetIsolationScope:(e,n)=>by(n),getCurrentScope:()=>bc().getScope(),getIsolationScope:()=>bc().getIsolationScope()}}function _p(e){const n=wh(e);return n.acs?n.acs:E_()}function yc(){const e=Sh();return _p(e).getCurrentScope()}function Xf(){const e=Sh();return _p(e).getIsolationScope()}function __(){return Yf("globalScope",()=>new to)}function C_(...e){const n=Sh(),r=_p(n);if(e.length===2){const[a,o]=e;return a?r.withSetScope(a,o):r.withScope(o)}return r.withScope(e[0])}function pi(){return yc().getClient()}function T_(e){const n=e.getPropagationContext(),{traceId:r,parentSpanId:a,propagationSpanId:o}=n,u={trace_id:r,span_id:o||gy()};return a&&(u.parent_span_id=a),u}const R_="sentry.source",z_="sentry.sample_rate",O_="sentry.previous_trace_sample_rate",P_="sentry.op",D_="sentry.origin",yy="sentry.profile_id",vy="sentry.exclusive_time",M_=0,N_=1,I_="_sentryScope",L_="_sentryIsolationScope";function xy(e){return{scope:e[I_],isolationScope:e[L_]}}const B_="sentry-",F_=/^sentry-/;function H_(e){const n=W_(e);if(!n)return;const r=Object.entries(n).reduce((a,[o,u])=>{if(o.match(F_)){const c=o.slice(B_.length);a[c]=u}return a},{});if(Object.keys(r).length>0)return r}function W_(e){if(!(!e||!zo(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((n,r)=>{const a=Ay(r);return Object.entries(a).forEach(([o,u])=>{n[o]=u}),n},{}):Ay(e)}function Ay(e){return e.split(",").map(n=>n.split("=").map(r=>{try{return decodeURIComponent(r.trim())}catch(a){return}})).reduce((n,[r,a])=>(r&&a&&(n[r]=a),n),{})}const G_=/^o(\d+)\./,Y_=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function U_(e){return e==="http"||e==="https"}function Mh(e,n=!1){const{host:r,path:a,pass:o,port:u,projectId:c,protocol:m,publicKey:b}=e;return`${m}://${b}${n&&o?`:${o}`:""}@${r}${u?`:${u}`:""}/${a&&`${a}/`}${c}`}function Z_(e){const n=Y_.exec(e);if(!n){Eh(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[r,a,o="",u="",c="",m=""]=n.slice(1);let b="",y=m;const A=y.split("/");if(A.length>1&&(b=A.slice(0,-1).join("/"),y=A.pop()),y){const w=y.match(/^\d+/);w&&(y=w[0])}return Sy({host:u,pass:o,path:b,projectId:y,port:c,protocol:r,publicKey:a})}function Sy(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function V_(e){if(!kt)return!0;const{port:n,projectId:r,protocol:a}=e;return["protocol","publicKey","host","projectId"].find(c=>e[c]?!1:(ht.error(`Invalid Sentry Dsn: ${c} missing`),!0))?!1:r.match(/^\d+$/)?U_(a)?n&&isNaN(parseInt(n,10))?(ht.error(`Invalid Sentry Dsn: Invalid port ${n}`),!1):!0:(ht.error(`Invalid Sentry Dsn: Invalid protocol ${a}`),!1):(ht.error(`Invalid Sentry Dsn: Invalid projectId ${r}`),!1)}function X_(e){const n=e.match(G_);return n==null?void 0:n[1]}function J_(e){const n=e.getOptions(),{host:r}=e.getDsn()||{};let a;return n.orgId?a=String(n.orgId):r&&(a=X_(r)),a}function K_(e){const n=typeof e=="string"?Z_(e):Sy(e);if(!(!n||!V_(n)))return n}function Q_(e){if(typeof e=="boolean")return Number(e);const n=typeof e=="string"?parseFloat(e):e;if(!(typeof n!="number"||isNaN(n)||n<0||n>1))return n}const wy=1;let ky=!1;function j_(e){const{spanId:n,traceId:r,isRemote:a}=e.spanContext(),o=a?n:Cp(e).parent_span_id,u=xy(e).scope,c=a?(u==null?void 0:u.getPropagationContext().propagationSpanId)||gy():n;return{parent_span_id:o,span_id:c,trace_id:r}}function q_(e){if(e&&e.length>0)return e.map(c=>{var m=c,{context:b}=m,y=b,{spanId:n,traceId:r,traceFlags:a}=y,o=Or(y,["spanId","traceId","traceFlags"]),{attributes:u}=m;return G({span_id:n,trace_id:r,sampled:a===wy,attributes:u},o)})}function Ey(e){return typeof e=="number"?_y(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?_y(e.getTime()):Oo()}function _y(e){return e>9999999999?e/1e3:e}function Cp(e){var a;if(e3(e))return e.getSpanJSON();const{spanId:n,traceId:r}=e.spanContext();if($_(e)){const{attributes:o,startTime:u,name:c,endTime:m,status:b,links:y}=e,A="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?(a=e.parentSpanContext)==null?void 0:a.spanId:void 0;return{span_id:n,trace_id:r,data:o,description:c,parent_span_id:A,start_timestamp:Ey(u),timestamp:Ey(m)||void 0,status:n3(b),op:o[P_],origin:o[D_],links:q_(y)}}return{span_id:n,trace_id:r,start_timestamp:0,data:{}}}function $_(e){const n=e;return!!n.attributes&&!!n.startTime&&!!n.name&&!!n.endTime&&!!n.status}function e3(e){return typeof e.getSpanJSON=="function"}function t3(e){const{traceFlags:n}=e.spanContext();return n===wy}function n3(e){if(!(!e||e.code===M_))return e.code===N_?"ok":e.message||"unknown_error"}const r3="_sentryRootSpan";function Cy(e){return e[r3]||e}function Ty(){ky||(Eh(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),ky=!0)}function i3(e){var r;if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const n=(r=pi())==null?void 0:r.getOptions();return!!n&&(n.tracesSampleRate!=null||!!n.tracesSampler)}const Tp="production",a3="_frozenDsc";function Ry(e,n){const r=n.getOptions(),{publicKey:a}=n.getDsn()||{},o={environment:r.environment||Tp,release:r.release,public_key:a,trace_id:e,org_id:J_(n)};return n.emit("createDsc",o),o}function l3(e,n){const r=n.getPropagationContext();return r.dsc||Ry(r.traceId,e)}function o3(e){var P,N,W,H;const n=pi();if(!n)return{};const r=Cy(e),a=Cp(r),o=a.data,u=r.spanContext().traceState,c=(N=(P=u==null?void 0:u.get("sentry.sample_rate"))!=null?P:o[z_])!=null?N:o[O_];function m(J){return(typeof c=="number"||typeof c=="string")&&(J.sample_rate=`${c}`),J}const b=r[a3];if(b)return m(b);const y=u==null?void 0:u.get("sentry.dsc"),A=y&&H_(y);if(A)return m(A);const w=Ry(e.spanContext().traceId,n),k=o[R_],_=a.description;return k!=="url"&&_&&(w.transaction=_),i3()&&(w.sampled=String(t3(r)),w.sample_rand=(H=u==null?void 0:u.get("sentry.sample_rand"))!=null?H:(W=xy(r).scope)==null?void 0:W.getPropagationContext().sampleRand.toString()),m(w),n.emit("createDsc",w,r),w}function Po(e,n=100,r=1/0){try{return Rp("",e,n,r)}catch(a){return{ERROR:`**non-serializable** (${a})`}}}function zy(e,n=3,r=100*1024){const a=Po(e,n);return f3(a)>r?zy(e,n-1,r):a}function Rp(e,n,r=1/0,a=1/0,o=d3()){const[u,c]=o;if(n==null||["boolean","string"].includes(typeof n)||typeof n=="number"&&Number.isFinite(n))return n;const m=s3(e,n);if(!m.startsWith("[object "))return m;if(n.__sentry_skip_normalization__)return n;const b=typeof n.__sentry_override_normalization_depth__=="number"?n.__sentry_override_normalization_depth__:r;if(b===0)return m.replace("object ","");if(u(n))return"[Circular ~]";const y=n;if(y&&typeof y.toJSON=="function")try{const _=y.toJSON();return Rp("",_,b-1,a,o)}catch(_){}const A=Array.isArray(n)?[]:{};let w=0;const k=oy(n);for(const _ in k){if(!Object.prototype.hasOwnProperty.call(k,_))continue;if(w>=a){A[_]="[MaxProperties ~]";break}const P=k[_];A[_]=Rp(_,P,b-1,a,o),w++}return c(n),A}function s3(e,n){try{if(e==="domain"&&n&&typeof n=="object"&&n._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global!="undefined"&&n===global)return"[Global]";if(typeof window!="undefined"&&n===window)return"[Window]";if(typeof document!="undefined"&&n===document)return"[Document]";if(ny(n))return"[VueViewModel]";if(o_(n))return"[SyntheticEvent]";if(typeof n=="number"&&!Number.isFinite(n))return`[${n}]`;if(typeof n=="function")return`[Function: ${hs(n)}]`;if(typeof n=="symbol")return`[${String(n)}]`;if(typeof n=="bigint")return`[BigInt: ${String(n)}]`;const r=u3(n);return/^HTML(\w*)Element$/.test(r)?`[HTMLElement: ${r}]`:`[object ${r}]`}catch(r){return`**non-serializable** (${r})`}}function u3(e){const n=Object.getPrototypeOf(e);return n!=null&&n.constructor?n.constructor.name:"null prototype"}function c3(e){return~-encodeURI(e).split(/%..|./).length}function f3(e){return c3(JSON.stringify(e))}function d3(){const e=new WeakSet;function n(a){return e.has(a)?!0:(e.add(a),!1)}function r(a){e.delete(a)}return[n,r]}function Jf(e,n=[]){return[e,n]}function h3(e,n){const[r,a]=e;return[r,[...a,n]]}function Oy(e,n){const r=e[1];for(const a of r){const o=a[0].type;if(n(a,o))return!0}return!1}function zp(e){const n=wh(fn);return n.encodePolyfill?n.encodePolyfill(e):new TextEncoder().encode(e)}function g3(e){const[n,r]=e;let a=JSON.stringify(n);function o(u){typeof a=="string"?a=typeof u=="string"?a+u:[zp(a),u]:a.push(typeof u=="string"?zp(u):u)}for(const u of r){const[c,m]=u;if(o(`
61
- ${JSON.stringify(c)}
62
- `),typeof m=="string"||m instanceof Uint8Array)o(m);else{let b;try{b=JSON.stringify(m)}catch(y){b=JSON.stringify(Po(m))}o(b)}}return typeof a=="string"?a:p3(a)}function p3(e){const n=e.reduce((o,u)=>o+u.length,0),r=new Uint8Array(n);let a=0;for(const o of e)r.set(o,a),a+=o.length;return r}function m3(e){const n=typeof e.data=="string"?zp(e.data):e.data;return[{type:"attachment",length:n.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},n]}const b3={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",profile_chunk:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",raw_security:"security",log:"log_item"};function Py(e){return b3[e]}function Dy(e){if(!(e!=null&&e.sdk))return;const{name:n,version:r}=e.sdk;return{name:n,version:r}}function y3(e,n,r,a){var u;const o=(u=e.sdkProcessingMetadata)==null?void 0:u.dynamicSamplingContext;return G(G(G({event_id:e.event_id,sent_at:new Date().toISOString()},n&&{sdk:n}),!!r&&a&&{dsn:Mh(a)}),o&&{trace:o})}function My(e,n){if(!(n!=null&&n.length)||!e.description)return!1;for(const r of n){if(x3(r)){if(Oh(e.description,r))return!0;continue}if(!r.name&&!r.op)continue;const a=r.name?Oh(e.description,r.name):!0,o=r.op?e.op&&Oh(e.op,r.op):!0;if(a&&o)return!0}return!1}function v3(e,n){const r=n.parent_span_id,a=n.span_id;if(r)for(const o of e)o.parent_span_id===a&&(o.parent_span_id=r)}function x3(e){return typeof e=="string"||e instanceof RegExp}function A3(e,n){var a,o,u,c;if(!n)return e;const r=e.sdk||{};return e.sdk=We(G({},r),{name:r.name||n.name,version:r.version||n.version,integrations:[...((a=e.sdk)==null?void 0:a.integrations)||[],...n.integrations||[]],packages:[...((o=e.sdk)==null?void 0:o.packages)||[],...n.packages||[]],settings:(u=e.sdk)!=null&&u.settings||n.settings?G(G({},(c=e.sdk)==null?void 0:c.settings),n.settings):void 0}),e}function S3(e,n,r,a){const o=Dy(r),u=G(G({sent_at:new Date().toISOString()},o&&{sdk:o}),!!a&&n&&{dsn:Mh(n)}),c="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Jf(u,[c])}function w3(e,n,r,a){const o=Dy(r),u=e.type&&e.type!=="replay_event"?e.type:"event";A3(e,r==null?void 0:r.sdk);const c=y3(e,o,a,n);return delete e.sdkProcessingMetadata,Jf(c,[[{type:u},e]])}const Op=0,Ny=1,Iy=2;function mu(e){return new ps(n=>{n(e)})}function Nh(e){return new ps((n,r)=>{r(e)})}class ps{constructor(n){this._state=Op,this._handlers=[],this._runExecutor(n)}then(n,r){return new ps((a,o)=>{this._handlers.push([!1,u=>{if(!n)a(u);else try{a(n(u))}catch(c){o(c)}},u=>{if(!r)o(u);else try{a(r(u))}catch(c){o(c)}}]),this._executeHandlers()})}catch(n){return this.then(r=>r,n)}finally(n){return new ps((r,a)=>{let o,u;return this.then(c=>{u=!1,o=c,n&&n()},c=>{u=!0,o=c,n&&n()}).then(()=>{if(u){a(o);return}r(o)})})}_executeHandlers(){if(this._state===Op)return;const n=this._handlers.slice();this._handlers=[],n.forEach(r=>{r[0]||(this._state===Ny&&r[1](this._value),this._state===Iy&&r[2](this._value),r[0]=!0)})}_runExecutor(n){const r=(u,c)=>{if(this._state===Op){if(Rh(c)){c.then(a,o);return}this._state=u,this._value=c,this._executeHandlers()}},a=u=>{r(Ny,u)},o=u=>{r(Iy,u)};try{n(a,o)}catch(u){o(u)}}}function Pp(e,n,r,a=0){return new ps((o,u)=>{const c=e[a];if(n===null||typeof c!="function")o(n);else{const m=c(G({},n),r);kt&&c.id&&m===null&&ht.log(`Event processor "${c.id}" dropped event`),Rh(m)?m.then(b=>Pp(e,b,r,a+1).then(o)).then(null,u):Pp(e,m,r,a+1).then(o).then(null,u)}})}function k3(e,n){const{fingerprint:r,span:a,breadcrumbs:o,sdkProcessingMetadata:u}=n;E3(e,n),a&&T3(e,a),R3(e,r),_3(e,o),C3(e,u)}function Ly(e,n){const{extra:r,tags:a,user:o,contexts:u,level:c,sdkProcessingMetadata:m,breadcrumbs:b,fingerprint:y,eventProcessors:A,attachments:w,propagationContext:k,transactionName:_,span:P}=n;Ih(e,"extra",r),Ih(e,"tags",a),Ih(e,"user",o),Ih(e,"contexts",u),e.sdkProcessingMetadata=Vf(e.sdkProcessingMetadata,m,2),c&&(e.level=c),_&&(e.transactionName=_),P&&(e.span=P),b.length&&(e.breadcrumbs=[...e.breadcrumbs,...b]),y.length&&(e.fingerprint=[...e.fingerprint,...y]),A.length&&(e.eventProcessors=[...e.eventProcessors,...A]),w.length&&(e.attachments=[...e.attachments,...w]),e.propagationContext=G(G({},e.propagationContext),k)}function Ih(e,n,r){e[n]=Vf(e[n],r,1)}function E3(e,n){const{extra:r,tags:a,user:o,contexts:u,level:c,transactionName:m}=n;Object.keys(r).length&&(e.extra=G(G({},r),e.extra)),Object.keys(a).length&&(e.tags=G(G({},a),e.tags)),Object.keys(o).length&&(e.user=G(G({},o),e.user)),Object.keys(u).length&&(e.contexts=G(G({},u),e.contexts)),c&&(e.level=c),m&&e.type!=="transaction"&&(e.transaction=m)}function _3(e,n){const r=[...e.breadcrumbs||[],...n];e.breadcrumbs=r.length?r:void 0}function C3(e,n){e.sdkProcessingMetadata=G(G({},e.sdkProcessingMetadata),n)}function T3(e,n){e.contexts=G({trace:j_(n)},e.contexts),e.sdkProcessingMetadata=G({dynamicSamplingContext:o3(n)},e.sdkProcessingMetadata);const r=Cy(n),a=Cp(r).description;a&&!e.transaction&&e.type==="transaction"&&(e.transaction=a)}function R3(e,n){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],n&&(e.fingerprint=e.fingerprint.concat(n)),e.fingerprint.length||delete e.fingerprint}let Lh,By,Bh;function z3(e){const n=fn._sentryDebugIds;if(!n)return{};const r=Object.keys(n);return Bh&&r.length===By||(By=r.length,Bh=r.reduce((a,o)=>{Lh||(Lh={});const u=Lh[o];if(u)a[u[0]]=u[1];else{const c=e(o);for(let m=c.length-1;m>=0;m--){const b=c[m],y=b==null?void 0:b.filename,A=n[o];if(y&&A){a[y]=A,Lh[o]=[y,A];break}}}return a},{})),Bh}function O3(e,n,r,a,o,u){const{normalizeDepth:c=3,normalizeMaxBreadth:m=1e3}=e,b=We(G({},n),{event_id:n.event_id||r.event_id||Ba(),timestamp:n.timestamp||Zf()}),y=r.integrations||e.integrations.map(W=>W.name);P3(b,e),N3(b,y),o&&o.emit("applyFrameMetadata",n),n.type===void 0&&D3(b,e.stackParser);const A=L3(a,r.captureContext);r.mechanism&&pc(b,r.mechanism);const w=o?o.getEventProcessors():[],k=__().getScopeData();if(u){const W=u.getScopeData();Ly(k,W)}if(A){const W=A.getScopeData();Ly(k,W)}const _=[...r.attachments||[],...k.attachments];_.length&&(r.attachments=_),k3(b,k);const P=[...w,...k.eventProcessors];return Pp(P,b,r).then(W=>(W&&M3(W),typeof c=="number"&&c>0?I3(W,c,m):W))}function P3(e,n){const{environment:r,release:a,dist:o,maxValueLength:u=250}=n;e.environment=e.environment||r||Tp,!e.release&&a&&(e.release=a),!e.dist&&o&&(e.dist=o);const c=e.request;c!=null&&c.url&&(c.url=zh(c.url,u))}function D3(e,n){var a,o;const r=z3(n);(o=(a=e.exception)==null?void 0:a.values)==null||o.forEach(u=>{var c,m;(m=(c=u.stacktrace)==null?void 0:c.frames)==null||m.forEach(b=>{b.filename&&(b.debug_id=r[b.filename])})})}function M3(e){var a,o;const n={};if((o=(a=e.exception)==null?void 0:a.values)==null||o.forEach(u=>{var c,m;(m=(c=u.stacktrace)==null?void 0:c.frames)==null||m.forEach(b=>{b.debug_id&&(b.abs_path?n[b.abs_path]=b.debug_id:b.filename&&(n[b.filename]=b.debug_id),delete b.debug_id)})}),Object.keys(n).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const r=e.debug_meta.images;Object.entries(n).forEach(([u,c])=>{r.push({type:"sourcemap",code_file:u,debug_id:c})})}function N3(e,n){n.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...n])}function I3(e,n,r){var o,u;if(!e)return null;const a=G(G(G(G(G({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(c=>G(G({},c),c.data&&{data:Po(c.data,n,r)}))}),e.user&&{user:Po(e.user,n,r)}),e.contexts&&{contexts:Po(e.contexts,n,r)}),e.extra&&{extra:Po(e.extra,n,r)});return(o=e.contexts)!=null&&o.trace&&a.contexts&&(a.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(a.contexts.trace.data=Po(e.contexts.trace.data,n,r))),e.spans&&(a.spans=e.spans.map(c=>G(G({},c),c.data&&{data:Po(c.data,n,r)}))),(u=e.contexts)!=null&&u.flags&&a.contexts&&(a.contexts.flags=Po(e.contexts.flags,3,r)),a}function L3(e,n){if(!n)return e;const r=e?e.clone():new to;return r.update(n),r}function yI(e){}function B3(e,n){return yc().captureException(e,void 0)}function Fy(e,n){return yc().captureEvent(e,n)}function Hy(e){const n=Xf(),r=yc(),{userAgent:a}=fn.navigator||{},o=m_(G(G({user:r.getUser()||n.getUser()},a&&{userAgent:a}),e)),u=n.getSession();return(u==null?void 0:u.status)==="ok"&&mc(u,{status:"exited"}),Wy(),n.setSession(o),o}function Wy(){const e=Xf(),r=yc().getSession()||e.getSession();r&&b_(r),Gy(),e.setSession()}function Gy(){const e=Xf(),n=pi(),r=e.getSession();r&&n&&n.captureSession(r)}function Yy(e=!1){if(e){Wy();return}Gy()}const F3="7";function H3(e){const n=e.protocol?`${e.protocol}:`:"",r=e.port?`:${e.port}`:"";return`${n}//${e.host}${r}${e.path?`/${e.path}`:""}/api/`}function W3(e){return`${H3(e)}${e.projectId}/envelope/`}function G3(e,n){const r={sentry_version:F3};return e.publicKey&&(r.sentry_key=e.publicKey),n&&(r.sentry_client=`${n.name}/${n.version}`),new URLSearchParams(r).toString()}function Y3(e,n,r){return n||`${W3(e)}?${G3(e,r)}`}const Uy=[];function U3(e,n){const r={};return n.forEach(a=>{a&&Vy(e,a,r)}),r}function Zy(e,n){for(const r of n)r!=null&&r.afterAllSetup&&r.afterAllSetup(e)}function Vy(e,n,r){if(r[n.name]){kt&&ht.log(`Integration skipped because it was already installed: ${n.name}`);return}if(r[n.name]=n,Uy.indexOf(n.name)===-1&&typeof n.setupOnce=="function"&&(n.setupOnce(),Uy.push(n.name)),n.setup&&typeof n.setup=="function"&&n.setup(e),typeof n.preprocessEvent=="function"){const a=n.preprocessEvent.bind(n);e.on("preprocessEvent",(o,u)=>a(o,u,e))}if(typeof n.processEvent=="function"){const a=n.processEvent.bind(n),o=Object.assign((u,c)=>a(u,c,e),{id:n.name});e.addEventProcessor(o)}kt&&ht.log(`Integration installed: ${n.name}`)}function vI(e){return e}function Z3(e,n,r){const a=[{type:"client_report"},{timestamp:Zf(),discarded_events:e}];return Jf(n?{dsn:n}:{},[a])}function Xy(e){const n=[];e.message&&n.push(e.message);try{const r=e.exception.values[e.exception.values.length-1];r!=null&&r.value&&(n.push(r.value),r.type&&n.push(`${r.type}: ${r.value}`))}catch(r){}return n}function V3(e){var b,y,A;const{trace_id:n,parent_span_id:r,span_id:a,status:o,origin:u,data:c,op:m}=(y=(b=e.contexts)==null?void 0:b.trace)!=null?y:{};return{data:c!=null?c:{},description:e.transaction,op:m,parent_span_id:r,span_id:a!=null?a:"",start_timestamp:(A=e.start_timestamp)!=null?A:0,status:o,timestamp:e.timestamp,trace_id:n!=null?n:"",origin:u,profile_id:c==null?void 0:c[yy],exclusive_time:c==null?void 0:c[vy],measurements:e.measurements,is_segment:!0}}function X3(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:G(G(G({},e.data),e.profile_id&&{[yy]:e.profile_id}),e.exclusive_time&&{[vy]:e.exclusive_time})}},measurements:e.measurements}}const Jy="Not capturing exception because it's already been captured.",Ky="Discarded session because of missing or non-string release",Qy=Symbol.for("SentryInternalError"),jy=Symbol.for("SentryDoNotSendEventError");function Fh(e){return{message:e,[Qy]:!0}}function Dp(e){return{message:e,[jy]:!0}}function qy(e){return!!e&&typeof e=="object"&&Qy in e}function $y(e){return!!e&&typeof e=="object"&&jy in e}class J3{constructor(n){if(this._options=n,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],n.dsn?this._dsn=K_(n.dsn):kt&&ht.warn("No DSN provided, client will not send events."),this._dsn){const r=Y3(this._dsn,n.tunnel,n._metadata?n._metadata.sdk:void 0);this._transport=n.transport(We(G({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this)},n.transportOptions),{url:r}))}}captureException(n,r,a){const o=Ba();if(fy(n))return kt&&ht.log(Jy),o;const u=G({event_id:o},r);return this._process(this.eventFromException(n,u).then(c=>this._captureEvent(c,u,a))),u.event_id}captureMessage(n,r,a,o){const u=G({event_id:Ba()},a),c=xp(n)?n:String(n),m=Ap(n)?this.eventFromMessage(c,r,u):this.eventFromException(n,u);return this._process(m.then(b=>this._captureEvent(b,u,o))),u.event_id}captureEvent(n,r,a){const o=Ba();if(r!=null&&r.originalException&&fy(r.originalException))return kt&&ht.log(Jy),o;const u=G({event_id:o},r),c=n.sdkProcessingMetadata||{},m=c.capturedSpanScope,b=c.capturedSpanIsolationScope;return this._process(this._captureEvent(n,u,m||a,b)),u.event_id}captureSession(n){this.sendSession(n),mc(n,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(n){const r=this._transport;return r?(this.emit("flush"),this._isClientDoneProcessing(n).then(a=>r.flush(n).then(o=>a&&o))):mu(!0)}close(n){return this.flush(n).then(r=>(this.getOptions().enabled=!1,this.emit("close"),r))}getEventProcessors(){return this._eventProcessors}addEventProcessor(n){this._eventProcessors.push(n)}init(){(this._isEnabled()||this._options.integrations.some(({name:n})=>n.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(n){return this._integrations[n]}addIntegration(n){const r=this._integrations[n.name];Vy(this,n,this._integrations),r||Zy(this,[n])}sendEvent(n,r={}){this.emit("beforeSendEvent",n,r);let a=w3(n,this._dsn,this._options._metadata,this._options.tunnel);for(const u of r.attachments||[])a=h3(a,m3(u));const o=this.sendEnvelope(a);o&&o.then(u=>this.emit("afterSendEvent",n,u),null)}sendSession(n){const{release:r,environment:a=Tp}=this._options;if("aggregates"in n){const u=n.attrs||{};if(!u.release&&!r){kt&&ht.warn(Ky);return}u.release=u.release||r,u.environment=u.environment||a,n.attrs=u}else{if(!n.release&&!r){kt&&ht.warn(Ky);return}n.release=n.release||r,n.environment=n.environment||a}this.emit("beforeSendSession",n);const o=S3(n,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(o)}recordDroppedEvent(n,r,a=1){if(this._options.sendClientReports){const o=`${n}:${r}`;kt&&ht.log(`Recording outcome: "${o}"${a>1?` (${a} times)`:""}`),this._outcomes[o]=(this._outcomes[o]||0)+a}}on(n,r){const a=this._hooks[n]=this._hooks[n]||[];return a.push(r),()=>{const o=a.indexOf(r);o>-1&&a.splice(o,1)}}emit(n,...r){const a=this._hooks[n];a&&a.forEach(o=>o(...r))}sendEnvelope(n){return this.emit("beforeEnvelope",n),this._isEnabled()&&this._transport?this._transport.send(n).then(null,r=>(kt&&ht.error("Error while sending envelope:",r),r)):(kt&&ht.error("Transport disabled"),mu({}))}_setupIntegrations(){const{integrations:n}=this._options;this._integrations=U3(this,n),Zy(this,n)}_updateSessionFromEvent(n,r){var b;let a=r.level==="fatal",o=!1;const u=(b=r.exception)==null?void 0:b.values;if(u){o=!0;for(const y of u){const A=y.mechanism;if((A==null?void 0:A.handled)===!1){a=!0;break}}}const c=n.status==="ok";(c&&n.errors===0||c&&a)&&(mc(n,We(G({},a&&{status:"crashed"}),{errors:n.errors||Number(o||a)})),this.captureSession(n))}_isClientDoneProcessing(n){return new ps(r=>{let a=0;const o=1,u=setInterval(()=>{this._numProcessing==0?(clearInterval(u),r(!0)):(a+=o,n&&a>=n&&(clearInterval(u),r(!1)))},o)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(n,r,a,o){const u=this.getOptions(),c=Object.keys(this._integrations);return!r.integrations&&(c!=null&&c.length)&&(r.integrations=c),this.emit("preprocessEvent",n,r),n.type||o.setLastEventId(n.event_id||r.event_id),O3(u,n,r,a,this,o).then(m=>{if(m===null)return m;this.emit("postprocessEvent",m,r),m.contexts=G({trace:T_(a)},m.contexts);const b=l3(this,a);return m.sdkProcessingMetadata=G({dynamicSamplingContext:b},m.sdkProcessingMetadata),m})}_captureEvent(n,r={},a=yc(),o=Xf()){return kt&&Mp(n)&&ht.log(`Captured error event \`${Xy(n)[0]||"<unknown>"}\``),this._processEvent(n,r,a,o).then(u=>u.event_id,u=>{kt&&($y(u)?ht.log(u.message):qy(u)?ht.warn(u.message):ht.warn(u))})}_processEvent(n,r,a,o){const u=this.getOptions(),{sampleRate:c}=u,m=ev(n),b=Mp(n),y=n.type||"error",A=`before send for type \`${y}\``,w=typeof c=="undefined"?void 0:Q_(c);if(b&&typeof w=="number"&&Math.random()>w)return this.recordDroppedEvent("sample_rate","error"),Nh(Dp(`Discarding event because it's not included in the random sample (sampling rate = ${c})`));const k=y==="replay_event"?"replay":y;return this._prepareEvent(n,r,a,o).then(_=>{if(_===null)throw this.recordDroppedEvent("event_processor",k),Dp("An event processor returned `null`, will not send event.");if(r.data&&r.data.__sentry__===!0)return _;const N=Q3(this,u,_,r);return K3(N,A)}).then(_=>{var W;if(_===null){if(this.recordDroppedEvent("before_send",k),m){const J=1+(n.spans||[]).length;this.recordDroppedEvent("before_send","span",J)}throw Dp(`${A} returned \`null\`, will not send event.`)}const P=a.getSession()||o.getSession();if(b&&P&&this._updateSessionFromEvent(P,_),m){const H=((W=_.sdkProcessingMetadata)==null?void 0:W.spanCountBeforeProcessing)||0,J=_.spans?_.spans.length:0,Y=H-J;Y>0&&this.recordDroppedEvent("before_send","span",Y)}const N=_.transaction_info;if(m&&N&&_.transaction!==n.transaction){const H="custom";_.transaction_info=We(G({},N),{source:H})}return this.sendEvent(_,r),_}).then(null,_=>{throw $y(_)||qy(_)?_:(this.captureException(_,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:_}),Fh(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
63
- Reason: ${_}`))})}_process(n){this._numProcessing++,n.then(r=>(this._numProcessing--,r),r=>(this._numProcessing--,r))}_clearOutcomes(){const n=this._outcomes;return this._outcomes={},Object.entries(n).map(([r,a])=>{const[o,u]=r.split(":");return{reason:o,category:u,quantity:a}})}_flushOutcomes(){kt&&ht.log("Flushing outcomes...");const n=this._clearOutcomes();if(n.length===0){kt&&ht.log("No outcomes to send");return}if(!this._dsn){kt&&ht.log("No dsn provided, will not send outcomes");return}kt&&ht.log("Sending outcomes:",n);const r=Z3(n,this._options.tunnel&&Mh(this._dsn));this.sendEnvelope(r)}}function K3(e,n){const r=`${n} must return \`null\` or a valid event.`;if(Rh(e))return e.then(a=>{if(!Uf(a)&&a!==null)throw Fh(r);return a},a=>{throw Fh(`${n} rejected with ${a}`)});if(!Uf(e)&&e!==null)throw Fh(r);return e}function Q3(e,n,r,a){const{beforeSend:o,beforeSendTransaction:u,beforeSendSpan:c,ignoreSpans:m}=n;let b=r;if(Mp(b)&&o)return o(b,a);if(ev(b)){if(c||m){const y=V3(b);if(m!=null&&m.length&&My(y,m))return null;if(c){const A=c(y);A?b=Vf(r,X3(A)):Ty()}if(b.spans){const A=[],w=b.spans;for(const _ of w){if(m!=null&&m.length&&My(_,m)){v3(w,_);continue}if(c){const P=c(_);P?A.push(P):(Ty(),A.push(_))}else A.push(_)}const k=b.spans.length-A.length;k&&e.recordDroppedEvent("before_send","span",k),b.spans=A}}if(u){if(b.spans){const y=b.spans.length;b.sdkProcessingMetadata=We(G({},r.sdkProcessingMetadata),{spanCountBeforeProcessing:y})}return u(b,a)}}return b}function Mp(e){return e.type===void 0}function ev(e){return e.type==="transaction"}function j3(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function q3(e,n,r,a){const o={};return n!=null&&n.sdk&&(o.sdk={name:n.sdk.name,version:n.sdk.version}),r&&a&&(o.dsn=Mh(a)),Jf(o,[j3(e)])}function Np(e,n){var u;const r=(u=$3(e))!=null?u:[];if(r.length===0)return;const a=e.getOptions(),o=q3(r,a._metadata,a.tunnel,e.getDsn());tv().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(o)}function $3(e){return tv().get(e)}function tv(){return Yf("clientToLogBufferMap",()=>new WeakMap)}const nv=Symbol.for("SentryBufferFullError");function e5(e){const n=[];function r(){return e===void 0||n.length<e}function a(c){return n.splice(n.indexOf(c),1)[0]||Promise.resolve(void 0)}function o(c){if(!r())return Nh(nv);const m=c();return n.indexOf(m)===-1&&n.push(m),m.then(()=>a(m)).then(null,()=>a(m).then(null,()=>{})),m}function u(c){return new ps((m,b)=>{let y=n.length;if(!y)return m(!0);const A=setTimeout(()=>{c&&c>0&&m(!1)},c);n.forEach(w=>{mu(w).then(()=>{--y||(clearTimeout(A),m(!0))},b)})})}return{$:n,add:o,drain:u}}const t5=60*1e3;function n5(e,n=Date.now()){const r=parseInt(`${e}`,10);if(!isNaN(r))return r*1e3;const a=Date.parse(`${e}`);return isNaN(a)?t5:a-n}function r5(e,n){return e[n]||e.all||0}function i5(e,n,r=Date.now()){return r5(e,n)>r}function a5(e,{statusCode:n,headers:r},a=Date.now()){const o=G({},e),u=r==null?void 0:r["x-sentry-rate-limits"],c=r==null?void 0:r["retry-after"];if(u)for(const m of u.trim().split(",")){const[b,y,,,A]=m.split(":",5),w=parseInt(b,10),k=(isNaN(w)?60:w)*1e3;if(!y)o.all=a+k;else for(const _ of y.split(";"))_==="metric_bucket"?(!A||A.split(";").includes("custom"))&&(o[_]=a+k):o[_]=a+k}else c?o.all=a+n5(c,a):n===429&&(o.all=a+60*1e3);return o}const l5=64;function o5(e,n,r=e5(e.bufferSize||l5)){let a={};const o=c=>r.drain(c);function u(c){const m=[];if(Oy(c,(w,k)=>{const _=Py(k);i5(a,_)?e.recordDroppedEvent("ratelimit_backoff",_):m.push(w)}),m.length===0)return mu({});const b=Jf(c[0],m),y=w=>{Oy(b,(k,_)=>{e.recordDroppedEvent(w,Py(_))})},A=()=>n({body:g3(b)}).then(w=>(w.statusCode!==void 0&&(w.statusCode<200||w.statusCode>=300)&&kt&&ht.warn(`Sentry responded with status code ${w.statusCode} to sent event.`),a=a5(a,w),w),w=>{throw y("network_error"),kt&&ht.error("Encountered error running transport request:",w),w});return r.add(A).then(w=>w,w=>{if(w===nv)return kt&&ht.error("Skipped sending event because buffer is full."),y("queue_overflow"),mu({});throw w})}return{send:u,flush:o}}function s5(e){var n;"aggregates"in e?((n=e.attrs)==null?void 0:n.ip_address)===void 0&&(e.attrs=We(G({},e.attrs),{ip_address:"{{auto}}"})):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function u5(e,n,r=[n],a="npm"){const o=e._metadata||{};o.sdk||(o.sdk={name:`sentry.javascript.${n}`,packages:r.map(u=>({name:`${a}:@sentry/${u}`,version:cu})),version:cu}),e._metadata=o}const c5=100;function bu(e,n){const r=pi(),a=Xf();if(!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:u=c5}=r.getOptions();if(u<=0)return;const c=Zf(),m=G({timestamp:c},e),b=o?Eh(()=>o(m,n)):m;b!==null&&(r.emit&&r.emit("beforeAddBreadcrumb",b,n),a.addBreadcrumb(b,u))}let rv;const f5="FunctionToString",iv=new WeakMap,d5=(()=>({name:f5,setupOnce(){rv=Function.prototype.toString;try{Function.prototype.toString=function(...e){const n=wp(this),r=iv.has(pi())&&n!==void 0?n:this;return rv.apply(r,e)}}catch(e){}},setup(e){iv.set(e,!0)}})),h5=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/,/^Can't find variable: gmo$/,/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,`can't redefine non-configurable property "solana"`,"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)","Can't find variable: _AutofillCallbackHandler",/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,/^Java exception was raised during method invocation$/],g5="EventFilters",p5=(e={})=>{let n;return{name:g5,setup(r){const a=r.getOptions();n=av(e,a)},processEvent(r,a,o){if(!n){const u=o.getOptions();n=av(e,u)}return b5(r,n)?null:r}}},m5=((e={})=>We(G({},p5(e)),{name:"InboundFilters"}));function av(e={},n={}){return{allowUrls:[...e.allowUrls||[],...n.allowUrls||[]],denyUrls:[...e.denyUrls||[],...n.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...n.ignoreErrors||[],...e.disableErrorDefaults?[]:h5],ignoreTransactions:[...e.ignoreTransactions||[],...n.ignoreTransactions||[]]}}function b5(e,n){if(e.type){if(e.type==="transaction"&&v5(e,n.ignoreTransactions))return kt&&ht.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
64
- Event: ${pu(e)}`),!0}else{if(y5(e,n.ignoreErrors))return kt&&ht.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
65
- Event: ${pu(e)}`),!0;if(w5(e))return kt&&ht.warn(`Event dropped due to not having an error message, error type or stacktrace.
66
- Event: ${pu(e)}`),!0;if(x5(e,n.denyUrls))return kt&&ht.warn(`Event dropped due to being matched by \`denyUrls\` option.
67
- Event: ${pu(e)}.
68
- Url: ${Hh(e)}`),!0;if(!A5(e,n.allowUrls))return kt&&ht.warn(`Event dropped due to not being matched by \`allowUrls\` option.
69
- Event: ${pu(e)}.
70
- Url: ${Hh(e)}`),!0}return!1}function y5(e,n){return n!=null&&n.length?Xy(e).some(r=>Ph(r,n)):!1}function v5(e,n){if(!(n!=null&&n.length))return!1;const r=e.transaction;return r?Ph(r,n):!1}function x5(e,n){if(!(n!=null&&n.length))return!1;const r=Hh(e);return r?Ph(r,n):!1}function A5(e,n){if(!(n!=null&&n.length))return!0;const r=Hh(e);return r?Ph(r,n):!0}function S5(e=[]){for(let n=e.length-1;n>=0;n--){const r=e[n];if(r&&r.filename!=="<anonymous>"&&r.filename!=="[native code]")return r.filename||null}return null}function Hh(e){var n,r,a;try{const o=[...(r=(n=e.exception)==null?void 0:n.values)!=null?r:[]].reverse().find(c=>{var m,b,y;return((m=c.mechanism)==null?void 0:m.parent_id)===void 0&&((y=(b=c.stacktrace)==null?void 0:b.frames)==null?void 0:y.length)}),u=(a=o==null?void 0:o.stacktrace)==null?void 0:a.frames;return u?S5(u):null}catch(o){return kt&&ht.error(`Cannot extract url for event ${pu(e)}`),null}}function w5(e){var n,r;return(r=(n=e.exception)==null?void 0:n.values)!=null&&r.length?!e.message&&!e.exception.values.some(a=>a.stacktrace||a.type&&a.type!=="Error"||a.value):!1}function k5(e,n,r,a,o,u){var m;if(!((m=o.exception)!=null&&m.values)||!u||!gs(u.originalException,Error))return;const c=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;c&&(o.exception.values=Ip(e,n,a,u.originalException,r,o.exception.values,c,0))}function Ip(e,n,r,a,o,u,c,m){if(u.length>=r+1)return u;let b=[...u];if(gs(a[o],Error)){lv(c,m);const y=e(n,a[o]),A=b.length;ov(y,o,A,m),b=Ip(e,n,r,a[o],o,[y,...b],y,A)}return Array.isArray(a.errors)&&a.errors.forEach((y,A)=>{if(gs(y,Error)){lv(c,m);const w=e(n,y),k=b.length;ov(w,`errors[${A}]`,k,m),b=Ip(e,n,r,y,o,[w,...b],w,k)}}),b}function lv(e,n){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=We(G(G({},e.mechanism),e.type==="AggregateError"&&{is_exception_group:!0}),{exception_id:n})}function ov(e,n,r,a){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism=We(G({},e.mechanism),{type:"chained",source:n,exception_id:r,parent_id:a})}function E5(e){const n="console";du(n,e),hu(n,_5)}function _5(){"console"in fn&&ZE.forEach(function(e){e in fn.console&&na(fn.console,e,function(n){return kh[e]=n,function(...r){ol("console",{args:r,level:e});const o=kh[e];o==null||o.apply(fn.console,r)}})})}function C5(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const T5="Dedupe",R5=(()=>{let e;return{name:T5,processEvent(n){if(n.type)return n;try{if(z5(n,e))return kt&&ht.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(r){}return e=n}}});function z5(e,n){return n?!!(O5(e,n)||P5(e,n)):!1}function O5(e,n){const r=e.message,a=n.message;return!(!r&&!a||r&&!a||!r&&a||r!==a||!uv(e,n)||!sv(e,n))}function P5(e,n){const r=cv(n),a=cv(e);return!(!r||!a||r.type!==a.type||r.value!==a.value||!uv(e,n)||!sv(e,n))}function sv(e,n){let r=jb(e),a=jb(n);if(!r&&!a)return!0;if(r&&!a||!r&&a||(r=r,a=a,a.length!==r.length))return!1;for(let o=0;o<a.length;o++){const u=a[o],c=r[o];if(u.filename!==c.filename||u.lineno!==c.lineno||u.colno!==c.colno||u.function!==c.function)return!1}return!0}function uv(e,n){let r=e.fingerprint,a=n.fingerprint;if(!r&&!a)return!0;if(r&&!a||!r&&a)return!1;r=r,a=a;try{return r.join("")===a.join("")}catch(o){return!1}}function cv(e){var n,r;return(r=(n=e.exception)==null?void 0:n.values)==null?void 0:r[0]}function Lp(e){if(!e)return{};const n=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!n)return{};const r=n[6]||"",a=n[8]||"";return{host:n[4],path:n[5],protocol:n[2],search:r,hash:a,relative:n[5]+r+a}}function fv(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Kf=fn;function D5(){return"history"in Kf&&!!Kf.history}function M5(){if(!("fetch"in Kf))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function Bp(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function N5(){var r;if(typeof EdgeRuntime=="string")return!0;if(!M5())return!1;if(Bp(Kf.fetch))return!0;let e=!1;const n=Kf.document;if(n&&typeof n.createElement=="function")try{const a=n.createElement("iframe");a.hidden=!0,n.head.appendChild(a),(r=a.contentWindow)!=null&&r.fetch&&(e=Bp(a.contentWindow.fetch)),n.head.removeChild(a)}catch(a){kt&&ht.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",a)}return e}function I5(e,n){const r="fetch";du(r,e),hu(r,()=>L5(void 0,n))}function L5(e,n=!1){n&&!N5()||na(fn,"fetch",function(r){return function(...a){const o=new Error,{method:u,url:c}=B5(a),m={args:a,fetchData:{method:u,url:c},startTimestamp:Oo()*1e3,virtualError:o,headers:F5(a)};return ol("fetch",G({},m)),r.apply(fn,a).then(b=>ll(null,null,function*(){return ol("fetch",We(G({},m),{endTimestamp:Oo()*1e3,response:b})),b}),b=>{if(ol("fetch",We(G({},m),{endTimestamp:Oo()*1e3,error:b})),vp(b)&&b.stack===void 0&&(b.stack=o.stack,gu(b,"framesToPop",1)),b instanceof TypeError&&(b.message==="Failed to fetch"||b.message==="Load failed"||b.message==="NetworkError when attempting to fetch resource."))try{const y=new URL(m.fetchData.url);b.message=`${b.message} (${y.host})`}catch(y){}throw b})}})}function Fp(e,n){return!!e&&typeof e=="object"&&!!e[n]}function dv(e){return typeof e=="string"?e:e?Fp(e,"url")?e.url:e.toString?e.toString():"":""}function B5(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[r,a]=e;return{url:dv(r),method:Fp(a,"method")?String(a.method).toUpperCase():"GET"}}const n=e[0];return{url:dv(n),method:Fp(n,"method")?String(n.method).toUpperCase():"GET"}}function F5(e){const[n,r]=e;try{if(typeof r=="object"&&r!==null&&"headers"in r&&r.headers)return new Headers(r.headers);if(s_(n))return new Headers(n.headers)}catch(a){}}function H5(){return"npm"}const Dr=fn;let Hp=0;function hv(){return Hp>0}function W5(){Hp++,setTimeout(()=>{Hp--})}function vc(e,n={}){function r(o){return typeof o=="function"}if(!r(e))return e;try{const o=e.__sentry_wrapped__;if(o)return typeof o=="function"?o:e;if(wp(e))return e}catch(o){return e}const a=function(...o){try{const u=o.map(c=>vc(c,n));return e.apply(this,u)}catch(u){throw W5(),C_(c=>{c.addEventProcessor(m=>(n.mechanism&&(kp(m,void 0),pc(m,n.mechanism)),m.extra=We(G({},m.extra),{arguments:o}),m)),B3(u)}),u}};try{for(const o in e)Object.prototype.hasOwnProperty.call(e,o)&&(a[o]=e[o])}catch(o){}ly(a,e),gu(e,"__sentry_wrapped__",a);try{Object.getOwnPropertyDescriptor(a,"name").configurable&&Object.defineProperty(a,"name",{get(){return e.name}})}catch(o){}return a}function G5(){const e=iy(),{referrer:n}=Dr.document||{},{userAgent:r}=Dr.navigator||{},a=G(G({},n&&{Referer:n}),r&&{"User-Agent":r});return{url:e,headers:a}}function Wp(e,n){const r=Yp(e,n),a={type:X5(n),value:J5(n)};return r.length&&(a.stacktrace={frames:r}),a.type===void 0&&a.value===""&&(a.value="Unrecoverable error caught"),a}function Y5(e,n,r,a){const o=pi(),u=o==null?void 0:o.getOptions().normalizeDepth,c=$5(n),m={__serialized__:zy(n,u)};if(c)return{exception:{values:[Wp(e,c)]},extra:m};const b={exception:{values:[{type:Th(n)?n.constructor.name:a?"UnhandledRejection":"Error",value:j5(n,{isUnhandledRejection:a})}]},extra:m};if(r){const y=Yp(e,r);y.length&&(b.exception.values[0].stacktrace={frames:y})}return b}function Gp(e,n){return{exception:{values:[Wp(e,n)]}}}function Yp(e,n){const r=n.stacktrace||n.stack||"",a=Z5(n),o=V5(n);try{return e(r,a,o)}catch(u){}return[]}const U5=/Minified React error #\d+;/i;function Z5(e){return e&&U5.test(e.message)?1:0}function V5(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function gv(e){return typeof WebAssembly!="undefined"&&typeof WebAssembly.Exception!="undefined"?e instanceof WebAssembly.Exception:!1}function X5(e){const n=e==null?void 0:e.name;return!n&&gv(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":n}function J5(e){const n=e==null?void 0:e.message;return gv(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":n?n.error&&typeof n.error.message=="string"?n.error.message:n:"No error message"}function K5(e,n,r,a){const o=(r==null?void 0:r.syntheticException)||void 0,u=Up(e,n,o,a);return pc(u),u.level="error",r!=null&&r.event_id&&(u.event_id=r.event_id),mu(u)}function Q5(e,n,r="info",a,o){const u=(a==null?void 0:a.syntheticException)||void 0,c=Zp(e,n,u,o);return c.level=r,a!=null&&a.event_id&&(c.event_id=a.event_id),mu(c)}function Up(e,n,r,a,o){let u;if(ey(n)&&n.error)return Gp(e,n.error);if(ty(n)||i_(n)){const c=n;if("stack"in n)u=Gp(e,n);else{const m=c.name||(ty(c)?"DOMError":"DOMException"),b=c.message?`${m}: ${c.message}`:m;u=Zp(e,b,r,a),kp(u,b)}return"code"in c&&(u.tags=We(G({},u.tags),{"DOMException.code":`${c.code}`})),u}return vp(n)?Gp(e,n):Uf(n)||Th(n)?(u=Y5(e,n,r,o),pc(u,{synthetic:!0}),u):(u=Zp(e,n,r,a),kp(u,`${n}`),pc(u,{synthetic:!0}),u)}function Zp(e,n,r,a){const o={};if(a&&r){const u=Yp(e,r);u.length&&(o.exception={values:[{value:n,stacktrace:{frames:u}}]}),pc(o,{synthetic:!0})}if(xp(n)){const{__sentry_template_string__:u,__sentry_template_values__:c}=n;return o.logentry={message:u,params:c},o}return o.message=n,o}function j5(e,{isUnhandledRejection:n}){const r=d_(e),a=n?"promise rejection":"exception";return ey(e)?`Event \`ErrorEvent\` captured as ${a} with message \`${e.message}\``:Th(e)?`Event \`${q5(e)}\` (type=${e.type}) captured as ${a}`:`Object captured as ${a} with keys: ${r}`}function q5(e){try{const n=Object.getPrototypeOf(e);return n?n.constructor.name:void 0}catch(n){}}function $5(e){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){const r=e[n];if(r instanceof Error)return r}}const eC=5e3;class tC extends J3{constructor(n){var m;const r=nC(n),a=Dr.SENTRY_SDK_SOURCE||H5();u5(r,"browser",["browser"],a),(m=r._metadata)!=null&&m.sdk&&(r._metadata.sdk.settings=G({infer_ip:r.sendDefaultPii?"auto":"never"},r._metadata.sdk.settings)),super(r);const{sendDefaultPii:o,sendClientReports:u,enableLogs:c}=this._options;Dr.document&&(u||c)&&Dr.document.addEventListener("visibilitychange",()=>{Dr.document.visibilityState==="hidden"&&(u&&this._flushOutcomes(),c&&Np(this))}),c&&(this.on("flush",()=>{Np(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{Np(this)},eC)})),o&&this.on("beforeSendSession",s5)}eventFromException(n,r){return K5(this._options.stackParser,n,r,this._options.attachStacktrace)}eventFromMessage(n,r="info",a){return Q5(this._options.stackParser,n,r,a,this._options.attachStacktrace)}_prepareEvent(n,r,a,o){return n.platform=n.platform||"javascript",super._prepareEvent(n,r,a,o)}}function nC(e){var n;return G({release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:(n=Dr.SENTRY_RELEASE)==null?void 0:n.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0},e)}const rC=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__,mi=fn,iC=1e3;let pv,Vp,Xp;function aC(e){du("dom",e),hu("dom",lC)}function lC(){if(!mi.document)return;const e=ol.bind(null,"dom"),n=mv(e,!0);mi.document.addEventListener("click",n,!1),mi.document.addEventListener("keypress",n,!1),["EventTarget","Node"].forEach(r=>{var u,c;const o=(u=mi[r])==null?void 0:u.prototype;(c=o==null?void 0:o.hasOwnProperty)!=null&&c.call(o,"addEventListener")&&(na(o,"addEventListener",function(m){return function(b,y,A){if(b==="click"||b=="keypress")try{const w=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},k=w[b]=w[b]||{refCount:0};if(!k.handler){const _=mv(e);k.handler=_,m.call(this,b,_,A)}k.refCount++}catch(w){}return m.call(this,b,y,A)}}),na(o,"removeEventListener",function(m){return function(b,y,A){if(b==="click"||b=="keypress")try{const w=this.__sentry_instrumentation_handlers__||{},k=w[b];k&&(k.refCount--,k.refCount<=0&&(m.call(this,b,k.handler,A),k.handler=void 0,delete w[b]),Object.keys(w).length===0&&delete this.__sentry_instrumentation_handlers__)}catch(w){}return m.call(this,b,y,A)}}))})}function oC(e){if(e.type!==Vp)return!1;try{if(!e.target||e.target._sentryId!==Xp)return!1}catch(n){}return!0}function sC(e,n){return e!=="keypress"?!1:n!=null&&n.tagName?!(n.tagName==="INPUT"||n.tagName==="TEXTAREA"||n.isContentEditable):!0}function mv(e,n=!1){return r=>{if(!r||r._sentryCaptured)return;const a=uC(r);if(sC(r.type,a))return;gu(r,"_sentryCaptured",!0),a&&!a._sentryId&&gu(a,"_sentryId",Ba());const o=r.type==="keypress"?"input":r.type;oC(r)||(e({event:r,name:o,global:n}),Vp=r.type,Xp=a?a._sentryId:void 0),clearTimeout(pv),pv=mi.setTimeout(()=>{Xp=void 0,Vp=void 0},iC)}}function uC(e){try{return e.target}catch(n){return null}}let Wh;function bv(e){const n="history";du(n,e),hu(n,cC)}function cC(){if(mi.addEventListener("popstate",()=>{const n=mi.location.href,r=Wh;if(Wh=n,r===n)return;ol("history",{from:r,to:n})}),!D5())return;function e(n){return function(...r){const a=r.length>2?r[2]:void 0;if(a){const o=Wh,u=fC(String(a));if(Wh=u,o===u)return n.apply(this,r);ol("history",{from:o,to:u})}return n.apply(this,r)}}na(mi.history,"pushState",e),na(mi.history,"replaceState",e)}function fC(e){try{return new URL(e,mi.location.origin).toString()}catch(n){return e}}const Gh={};function dC(e){const n=Gh[e];if(n)return n;let r=mi[e];if(Bp(r))return Gh[e]=r.bind(mi);const a=mi.document;if(a&&typeof a.createElement=="function")try{const o=a.createElement("iframe");o.hidden=!0,a.head.appendChild(o);const u=o.contentWindow;u!=null&&u[e]&&(r=u[e]),a.head.removeChild(o)}catch(o){rC&&ht.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,o)}return r&&(Gh[e]=r.bind(mi))}function yv(e){Gh[e]=void 0}const Qf="__sentry_xhr_v3__";function hC(e){du("xhr",e),hu("xhr",gC)}function gC(){if(!mi.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(n,r,a){const o=new Error,u=Oo()*1e3,c=zo(a[0])?a[0].toUpperCase():void 0,m=pC(a[1]);if(!c||!m)return n.apply(r,a);r[Qf]={method:c,url:m,request_headers:{}},c==="POST"&&m.match(/sentry_key/)&&(r.__sentry_own_request__=!0);const b=()=>{const y=r[Qf];if(y&&r.readyState===4){try{y.status_code=r.status}catch(w){}const A={endTimestamp:Oo()*1e3,startTimestamp:u,xhr:r,virtualError:o};ol("xhr",A)}};return"onreadystatechange"in r&&typeof r.onreadystatechange=="function"?r.onreadystatechange=new Proxy(r.onreadystatechange,{apply(y,A,w){return b(),y.apply(A,w)}}):r.addEventListener("readystatechange",b),r.setRequestHeader=new Proxy(r.setRequestHeader,{apply(y,A,w){const[k,_]=w,P=A[Qf];return P&&zo(k)&&zo(_)&&(P.request_headers[k.toLowerCase()]=_),y.apply(A,w)}}),n.apply(r,a)}}),e.send=new Proxy(e.send,{apply(n,r,a){const o=r[Qf];if(!o)return n.apply(r,a);a[0]!==void 0&&(o.body=a[0]);const u={startTimestamp:Oo()*1e3,xhr:r};return ol("xhr",u),n.apply(r,a)}})}function pC(e){if(zo(e))return e;try{return e.toString()}catch(n){}}function mC(e,n=dC("fetch")){let r=0,a=0;function o(u){const c=u.body.length;r+=c,a++;const m=G({body:u.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:r<=6e4&&a<15},e.fetchOptions);if(!n)return yv("fetch"),Nh("No fetch implementation available");try{return n(e.url,m).then(b=>(r-=c,a--,{statusCode:b.status,headers:{"x-sentry-rate-limits":b.headers.get("X-Sentry-Rate-Limits"),"retry-after":b.headers.get("Retry-After")}}))}catch(b){return yv("fetch"),r-=c,a--,Nh(b)}}return o5(e,o)}const bC=30,yC=50;function Jp(e,n,r,a){const o={filename:e,function:n==="<anonymous>"?fu:n,in_app:!0};return r!==void 0&&(o.lineno=r),a!==void 0&&(o.colno=a),o}const vC=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,xC=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,AC=/\((\S*)(?::(\d+))(?::(\d+))\)/,SC=/at (.+?) ?\(data:(.+?),/,wC=[bC,e=>{const n=e.match(SC);if(n)return{filename:`<data:${n[2]}>`,function:n[1]};const r=vC.exec(e);if(r){const[,o,u,c]=r;return Jp(o,fu,+u,+c)}const a=xC.exec(e);if(a){if(a[2]&&a[2].indexOf("eval")===0){const m=AC.exec(a[2]);m&&(a[2]=m[1],a[3]=m[2],a[4]=m[3])}const[u,c]=vv(a[1]||fu,a[2]);return Jp(c,u,a[3]?+a[3]:void 0,a[4]?+a[4]:void 0)}}],kC=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,EC=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,_C=qE(...[wC,[yC,e=>{const n=kC.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){const u=EC.exec(n[3]);u&&(n[1]=n[1]||"eval",n[3]=u[1],n[4]=u[2],n[5]="")}let a=n[3],o=n[1]||fu;return[o,a]=vv(o,a),Jp(a,o,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}]]),vv=(e,n)=>{const r=e.indexOf("safari-extension")!==-1,a=e.indexOf("safari-web-extension")!==-1;return r||a?[e.indexOf("@")!==-1?e.split("@")[0]:fu,r?`safari-extension:${n}`:`safari-web-extension:${n}`]:[e,n]},Kp=typeof __SENTRY_DEBUG__=="undefined"||__SENTRY_DEBUG__,Yh=1024,CC="Breadcrumbs",TC=((e={})=>{const n=G({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},e);return{name:CC,setup(r){n.console&&E5(OC(r)),n.dom&&aC(zC(r,n.dom)),n.xhr&&hC(PC(r)),n.fetch&&I5(DC(r)),n.history&&bv(MC(r)),n.sentry&&r.on("beforeSendEvent",RC(r))}}});function RC(e){return function(r){pi()===e&&bu({category:`sentry.${r.type==="transaction"?"transaction":"event"}`,event_id:r.event_id,level:r.level,message:pu(r)},{event:r})}}function zC(e,n){return function(a){if(pi()!==e)return;let o,u,c=typeof n=="object"?n.serializeAttribute:void 0,m=typeof n=="object"&&typeof n.maxStringLength=="number"?n.maxStringLength:void 0;m&&m>Yh&&(Kp&&ht.warn(`\`dom.maxStringLength\` cannot exceed ${Yh}, but a value of ${m} was configured. Sentry will use ${Yh} instead.`),m=Yh),typeof c=="string"&&(c=[c]);try{const y=a.event,A=NC(y)?y.target:y;o=ry(A,{keyAttrs:c,maxStringLength:m}),u=f_(A)}catch(y){o="<unknown>"}if(o.length===0)return;const b={category:`ui.${a.name}`,message:o};u&&(b.data={"ui.component_name":u}),bu(b,{event:a.event,name:a.name,global:a.global})}}function OC(e){return function(r){if(pi()!==e)return;const a={category:"console",data:{arguments:r.args,logger:"console"},level:C5(r.level),message:ay(r.args," ")};if(r.level==="assert")if(r.args[0]===!1)a.message=`Assertion failed: ${ay(r.args.slice(1)," ")||"console.assert"}`,a.data.arguments=r.args.slice(1);else return;bu(a,{input:r.args,level:r.level})}}function PC(e){return function(r){if(pi()!==e)return;const{startTimestamp:a,endTimestamp:o}=r,u=r.xhr[Qf];if(!a||!o||!u)return;const{method:c,url:m,status_code:b,body:y}=u,A={method:c,url:m,status_code:b},w={xhr:r.xhr,input:y,startTimestamp:a,endTimestamp:o},k={category:"xhr",data:A,type:"http",level:fv(b)};e.emit("beforeOutgoingRequestBreadcrumb",k,w),bu(k,w)}}function DC(e){return function(r){if(pi()!==e)return;const{startTimestamp:a,endTimestamp:o}=r;if(o&&!(r.fetchData.url.match(/sentry_key/)&&r.fetchData.method==="POST"))if(r.error){const u=r.fetchData,c={data:r.error,input:r.args,startTimestamp:a,endTimestamp:o},m={category:"fetch",data:u,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",m,c),bu(m,c)}else{const u=r.response,c=We(G({},r.fetchData),{status_code:u==null?void 0:u.status}),m={input:r.args,response:u,startTimestamp:a,endTimestamp:o},b={category:"fetch",data:c,type:"http",level:fv(c.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",b,m),bu(b,m)}}}function MC(e){return function(r){if(pi()!==e)return;let a=r.from,o=r.to;const u=Lp(Dr.location.href);let c=a?Lp(a):void 0;const m=Lp(o);c!=null&&c.path||(c=u),u.protocol===m.protocol&&u.host===m.host&&(o=m.relative),u.protocol===c.protocol&&u.host===c.host&&(a=c.relative),bu({category:"navigation",data:{from:a,to:o}})}}function NC(e){return!!e&&!!e.target}const IC=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],LC="BrowserApiErrors",BC=((e={})=>{const n=G({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1},e);return{name:LC,setupOnce(){n.setTimeout&&na(Dr,"setTimeout",xv),n.setInterval&&na(Dr,"setInterval",xv),n.requestAnimationFrame&&na(Dr,"requestAnimationFrame",FC),n.XMLHttpRequest&&"XMLHttpRequest"in Dr&&na(XMLHttpRequest.prototype,"send",HC);const r=n.eventTarget;r&&(Array.isArray(r)?r:IC).forEach(o=>WC(o,n))}}});function xv(e){return function(...n){const r=n[0];return n[0]=vc(r,{mechanism:{data:{function:hs(e)},handled:!1,type:"instrument"}}),e.apply(this,n)}}function FC(e){return function(n){return e.apply(this,[vc(n,{mechanism:{data:{function:"requestAnimationFrame",handler:hs(e)},handled:!1,type:"instrument"}})])}}function HC(e){return function(...n){const r=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(o=>{o in r&&typeof r[o]=="function"&&na(r,o,function(u){const c={mechanism:{data:{function:o,handler:hs(u)},handled:!1,type:"instrument"}},m=wp(u);return m&&(c.mechanism.data.handler=hs(m)),vc(u,c)})}),e.apply(this,n)}}function WC(e,n){var o,u;const a=(o=Dr[e])==null?void 0:o.prototype;(u=a==null?void 0:a.hasOwnProperty)!=null&&u.call(a,"addEventListener")&&(na(a,"addEventListener",function(c){return function(m,b,y){try{GC(b)&&(b.handleEvent=vc(b.handleEvent,{mechanism:{data:{function:"handleEvent",handler:hs(b),target:e},handled:!1,type:"instrument"}}))}catch(A){}return n.unregisterOriginalCallbacks&&YC(this,m,b),c.apply(this,[m,vc(b,{mechanism:{data:{function:"addEventListener",handler:hs(b),target:e},handled:!1,type:"instrument"}}),y])}}),na(a,"removeEventListener",function(c){return function(m,b,y){try{const A=b.__sentry_wrapped__;A&&c.call(this,m,A,y)}catch(A){}return c.call(this,m,b,y)}}))}function GC(e){return typeof e.handleEvent=="function"}function YC(e,n,r){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(n,r)}const UC=()=>({name:"BrowserSession",setupOnce(){if(typeof Dr.document=="undefined"){Kp&&ht.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Hy({ignoreDuration:!0}),Yy(),bv(({from:e,to:n})=>{e!==void 0&&e!==n&&(Hy({ignoreDuration:!0}),Yy())})}}),ZC="GlobalHandlers",VC=((e={})=>{const n=G({onerror:!0,onunhandledrejection:!0},e);return{name:ZC,setupOnce(){Error.stackTraceLimit=50},setup(r){n.onerror&&(XC(r),Av("onerror")),n.onunhandledrejection&&(JC(r),Av("onunhandledrejection"))}}});function XC(e){e_(n=>{const{stackParser:r,attachStacktrace:a}=Sv();if(pi()!==e||hv())return;const{msg:o,url:u,line:c,column:m,error:b}=n,y=jC(Up(r,b||o,void 0,a,!1),u,c,m);y.level="error",Fy(y,{originalException:b,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function JC(e){n_(n=>{const{stackParser:r,attachStacktrace:a}=Sv();if(pi()!==e||hv())return;const o=KC(n),u=Ap(o)?QC(o):Up(r,o,void 0,a,!0);u.level="error",Fy(u,{originalException:o,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function KC(e){if(Ap(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(n){}return e}function QC(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function jC(e,n,r,a){var k;const o=e.exception=e.exception||{},u=o.values=o.values||[],c=u[0]=u[0]||{},m=c.stacktrace=c.stacktrace||{},b=m.frames=m.frames||[],y=a,A=r,w=(k=qC(n))!=null?k:iy();return b.length===0&&b.push({colno:y,filename:w,function:fu,in_app:!0,lineno:A}),e}function Av(e){Kp&&ht.log(`Global Handler attached: ${e}`)}function Sv(){const e=pi();return(e==null?void 0:e.getOptions())||{stackParser:()=>[],attachStacktrace:!1}}function qC(e){if(!(!zo(e)||e.length===0)){if(e.startsWith("data:")){const n=e.match(/^data:([^;]+)/),r=n?n[1]:"text/javascript",a=e.includes("base64,");return`<data:${r}${a?",base64":""}>`}return e.slice(0,1024)}}const $C=()=>({name:"HttpContext",preprocessEvent(e){var a;if(!Dr.navigator&&!Dr.location&&!Dr.document)return;const n=G5(),r=G(G({},n.headers),(a=e.request)==null?void 0:a.headers);e.request=We(G(G({},n),e.request),{headers:r})}}),eT="cause",tT=5,nT="LinkedErrors",rT=((e={})=>{const n=e.limit||tT,r=e.key||eT;return{name:nT,preprocessEvent(a,o,u){const c=u.getOptions();k5(Wp,c.stackParser,r,n,a,o)}}});function iT(e){return[m5(),d5(),BC(),TC(),VC(),rT(),R5(),$C(),UC()]}const aT=!1,lT=iT().filter(e=>{const n=["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(e.name);return n&&console.log(`[Sentry] Excluding integration: ${e.name}`),!n}),wv=new tC({dsn:"https://ffd963e90a83743e3fed7e00476fc6d8@sentry.hamravesh.com/9104",transport:mC,stackParser:_C,integrations:lT,tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/yourserver\.io\/api/],debug:aT,environment:"production"}),jf=new to;jf.setClient(wv);try{wv.init(),console.log("[Sentry] Client initialized successfully")}catch(e){console.error("[Sentry] Failed to initialize client:",e)}const yu=(e,n)=>((...r)=>{try{return n(...r)}catch(a){console.error(`${e} error:`,a),jf.captureException(a,{captureContext:{extra:{context:e}}})}}),qf=(e,n)=>((...r)=>{try{return n(...r).catch(a=>{throw a.name!=="AbortError"&&(console.error(`${e} async error:`,a),jf.captureException(a,{captureContext:{extra:{context:e}}})),a})}catch(a){throw a.name!=="AbortError"&&(console.error(`${e} error:`,a),jf.captureException(a,{captureContext:{extra:{context:e}}})),a}});function oT(e,n=3){return ll(this,null,function*(){let r;for(let a=0;a<n;a++)try{return yield e()}catch(o){if(r=o,a===n-1)throw r}throw r})}const Qp="https://standardapi.dori.tech",jp={demoSharingData:`${Qp}/bot-sharing-data/`,streamChat:`${Qp}/stream-chat-with-assistant/`,searchProductLog:`${Qp}/search-selected-item-log`},sT=qf("fetchBotDataBySharingID",(e,n)=>ll(null,null,function*(){return oT(()=>ll(null,null,function*(){const r=jp.demoSharingData+e+(n?`?product_id=${n}`:""),a=yield fetch(r);if(a.status!==200)throw new Error(`Network response was not ok: ${a.status}`);return yield a.json()}),3)})),uT=qf("sendMessageToStreamAPI",(e,n,r,a,o,u,c,m)=>ll(null,null,function*(){const b=n.assistant_id;let y=e;const A={assistant_id:b,thread_id:r||void 0,src:typeof window!="undefined"?window.location.href:"",message:y,platform:"shopify_pdp",product_id:m||void 0};Object.keys(A).forEach(H=>A[H]===void 0&&delete A[H]);const w=new URLSearchParams({assistant_id:b}).toString(),k=`${jp.streamChat}?${w}`,_=yield fetch(k,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(A),signal:c==null?void 0:c.signal});if(c!=null&&c.signal.aborted){console.log("after response abortController");return}if(_.status===429){o("You have exceeded the request limit. Please wait at least 24 hours and try again.");return}if(_.status===402){o("Hello 😊 The smart assistant for this business is currently inactive because its subscription has expired. If you have any questions, please contact the business directly. We hope to be at your service again soon!");return}if(!_.body)throw new Error("ReadableStream not supported in this environment.");const P=_.body.getReader(),N=new TextDecoder("utf-8");let W="";for(;;){if(c!=null&&c.signal.aborted){P.cancel();return}const{value:H,done:J}=yield P.read();if(J)break;if(H){const Y=N.decode(H,{stream:!0});W+=Y;let ve=W.indexOf("}{");for(;ve!==-1;){const j=W.slice(0,ve+1);W=W.slice(ve+1),yu("JSON parse in streaming",()=>{const ee=JSON.parse(j);a(ee)})(),ve=W.indexOf("}{")}W.endsWith("}")&&yu("JSON parse remaining buffer",()=>{const j=JSON.parse(W);a(j),W=""})()}}u()})),cT=qf("trackProductClick",(e,n,r)=>ll(null,null,function*(){const a={log:{assistant_id:n.assistant_id,thread_id:r,created_at:new Date().toISOString(),selected_item_id:e.id,tool_call_id:e.tool_call_id}};yield fetch(jp.searchProductLog,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(a)})})),kv={create_custom_product_card:"Preparing products to show you...",create_product_card:"Preparing products to show you...",create_order:"Starting the order process...",get_product_detail:"Finding product details for you...",product_retrieval:"Searching for the best options for you...",order_notes:"Adding your notes to the order...",order_persistence:"Saving your order carefully...",payment_processing:"Processing your payment information...",retrieve_faq:"Looking for the best answer for you...",prompt_recommendation:"",similar_products:"Looking for similar products for you...",track_order:"Checking your order status...",thinking:"Thinking..."},fT=e=>e&&e in kv?kv[e]:"Let me check for a moment...",Ev=Ae.createContext(void 0);function dT({children:e}){const[n,r]=Ae.useState(null),[a,o]=Ae.useState(!1),[u,c]=Ae.useState(null),[m,b]=Ae.useState(null),[y,A]=Ae.useState({repliedProduct:null,threadId:null,isRequestInProgress:!1}),[w,k]=Ae.useState([]),[_,P]=Ae.useState("welcome"),[N,W]=Ae.useState(!1),[H,J]=Ae.useState("starting"),Y=Ae.useRef(null),ve=Ae.useCallback(fe=>{A(Pe=>We(G({},Pe),{repliedProduct:fe}))},[]),j=Ae.useCallback(()=>{Y.current&&(Y.current.abort(),Y.current=null),A(fe=>We(G({},fe),{isRequestInProgress:!1,repliedProduct:null})),W(!1),J("starting"),P("ongoing"),k(fe=>fe.filter(Pe=>Pe.type!=="loading"))},[]),ee=Ae.useCallback(qf("initializeBot",(fe,Pe)=>ll(null,null,function*(){if(!fe||fe.trim()===""){c("Invalid sharing ID provided"),console.error("Invalid sharing ID provided");return}o(!0),c(null),b(Pe||null);try{const te=yield sT(fe,Pe||void 0);if(console.log("result",te),te.error){c(te.error),console.error("Error initializing bot:",te.error);return}if(te.data){const ge=We(G({},te.data),{sharing_id:fe,suggestedReply:Te(te.data.suggested_prompts||te.data.suggestedReply)});r(ge),P("initial-greeting")}else c("No bot data found"),console.error("No bot data found")}finally{o(!1)}})),[]),Te=yu("parseSuggestedReply",fe=>{if(!fe)return[];if(Array.isArray(fe))return fe;try{return JSON.parse(fe)}catch(Pe){return console.error("Error parsing suggested reply:",Pe),[]}}),Se=Ae.useCallback(yu("addWelcomeMessage",()=>{const fe={id:Date.now().toString(),type:"welcome",timestamp:new Date,content:(n==null?void 0:n.wellcomeMessage)||"Whatever you have in mind about your purchase, I'm here to help you!"};k(Pe=>[...Pe,fe])}),[n==null?void 0:n.wellcomeMessage]),me=Ae.useCallback(qf("sendMessage",(ge,M)=>ll(null,[ge,M],function*({message:fe,apiMessage:Pe},te){var De;if(!n||N)return;const K={id:Date.now().toString(),type:"user",content:fe,timestamp:new Date,repliedProduct:te};k(Le=>[...Le.filter(Ue=>Ue.type!=="suggestions"),K]),Y.current&&(Y.current.abort(),Y.current=null),P("thinking"),W(!0),J("generating"),A(Le=>We(G({},Le),{isRequestInProgress:!0})),Y.current=new AbortController;let ze={id:(Date.now()+1).toString(),type:"loading",content:"Let me check for a moment...",timestamp:new Date};k(Le=>[...Le,ze]);let Ge=Pe||fe;te&&(Ge=`this message is replied to product with id ${te.id}: ${fe}`);let E="",F=null,Oe=[],B=[];try{yield uT(Ge,n,y.threadId,Le=>{yu("streaming chunk handler",()=>{if(console.log("[StreamChatResponse chunk received]:",Le),Le.thread_id)console.log("[StreamChatResponse] thread_id received:",Le.thread_id),A(Ee=>We(G({},Ee),{threadId:Le.thread_id||null}));else if(Le.wait)console.log("[StreamChatResponse] wait received, creating new message session"),F&&E.trim()&&k(Ee=>Ee.map(Ue=>Ue.id===(F==null?void 0:F.id)?We(G({},Ue),{content:E}):Ue)),F=null,E="",k(Ee=>[...Ee.filter(de=>de.type!=="loading"),{id:(Date.now()+Math.random()).toString(),type:"loading",content:fT(Le.tool_name),timestamp:new Date}]);else if(Le.text)if(console.log("[StreamChatResponse] text chunk received:",Le.text),E+=Le.text,F)console.log("[StreamChatResponse] Updating existing bot message with:",E),k(Ee=>Ee.map(Ue=>Ue.id===(F==null?void 0:F.id)?We(G({},Ue),{content:E}):Ue));else{console.log("[StreamChatResponse] Creating new bot message:",E);const Ee={id:(Date.now()+Math.random()).toString(),type:"mori",content:E,timestamp:new Date};k(Ue=>[...Ue.filter(se=>se.type!=="loading"),Ee]),F=Ee}else Le.products&&Le.products.length>0?(console.log("[StreamChatResponse] products received:",Le.products),Oe=[...Oe,...Le.products],k(Ee=>{var Ce,Me;const de=[...Ee.filter(Je=>Je.type!=="loading")],se=de.findIndex(Je=>Je.id===(F==null?void 0:F.id)),ye={id:(Date.now()+3).toString(),type:"products",content:"Suggested products:",timestamp:new Date,products:Oe,tool_call_id:((Me=(Ce=Le.products)==null?void 0:Ce[0])==null?void 0:Me.tool_call_id)||""};return se!==-1?(console.log("[StreamChatResponse] Inserting/updating product message after current bot message"),de.splice(se+1,0,ye)):(console.log("[StreamChatResponse] No current bot message found, pushing product message to end"),de.push(ye)),de}),console.log("Products accumulated and displayed:",Oe)):Le.suggestions&&Le.suggestions.length>0&&(B=[...B,...Le.suggestions])})()},Le=>{var Ee;if((Ee=Y.current)!=null&&Ee.signal.aborted){Y.current=null,A(Ue=>We(G({},Ue),{isRequestInProgress:!1,repliedProduct:null})),W(!1),J("starting"),P("ongoing"),k(Ue=>Ue.filter(de=>de.type!=="loading"));return}k(Ue=>[...Ue.filter(de=>de.type!=="loading"),{id:(Date.now()+2).toString(),type:"mori",content:Le,timestamp:new Date}]),P("ongoing")},()=>{B.length>0&&k(Le=>{const Ue=[...Le.filter(ye=>ye.type!=="suggestions"&&ye.type!=="loading")],de=Ue.findIndex(ye=>ye.id===(F==null?void 0:F.id)),se={id:(Date.now()+4).toString(),type:"suggestions",content:"Suggestions:",timestamp:new Date,suggestions:B};return de!==-1?Ue.splice(de+1,0,se):Ue.push(se),Ue}),Y.current=null,A(Le=>We(G({},Le),{isRequestInProgress:!1,repliedProduct:null})),W(!1),J("starting"),P("ongoing")},Y.current,m)}catch(Le){(De=Y.current)!=null&&De.signal.aborted||Le.name==="AbortError"?(Y.current=null,A(Ee=>We(G({},Ee),{isRequestInProgress:!1,repliedProduct:null})),W(!1),J("starting"),P("ongoing"),k(Ee=>Ee.filter(Ue=>Ue.type!=="loading"))):(console.error("Error in sendMessage:",Le),k(Ee=>[...Ee.filter(Ue=>Ue.type!=="loading"),{id:(Date.now()+2).toString(),type:"mori",content:"Unfortunately, an error occurred. Please try again.",timestamp:new Date}]),P("ongoing"),A(Ee=>We(G({},Ee),{isRequestInProgress:!1,repliedProduct:null})),W(!1),J("starting"),Y.current=null)}})),[n,N,y.threadId]),q=Ae.useCallback(()=>{Y.current&&(Y.current.abort(),Y.current=null),r(null),k([]),P("welcome"),W(!1),J("starting"),A({repliedProduct:null,threadId:null,isRequestInProgress:!1})},[]),Re={botData:n,isLoadingBot:a,botError:u,chatState:y,messages:w,currentStep:_,isInputDisabled:N,inputState:H,initializeBot:ee,sendMessage:me,stopCurrentRequest:j,setCurrentStep:P,setInputState:J,addWelcomeMessage:Se,setRepliedProduct:ve,resetBot:q};return $.jsx(Ev.Provider,{value:Re,children:e})}function no(){const e=Ae.useContext(Ev);if(e===void 0)throw new Error("useChatContext must be used within a ChatProvider");return e}const qp=e=>e!=null;function ro(e,n,r={}){const{stop:a,getKey:o}=r;function u(c,m=[]){var b;if(Ni(c)||Array.isArray(c)){const y={};for(const[A,w]of Object.entries(c)){const k=(b=o==null?void 0:o(A,w))!=null?b:A,_=[...m,k];if(a!=null&&a(c,_))return n(c,m);const P=u(w,_);qp(P)&&(y[k]=P)}return y}return n(c,m)}return u(e)}function Uh(e,n){return Array.isArray(e)?e.map(r=>qp(r)?n(r):r):Ni(e)?ro(e,r=>n(r)):qp(e)?n(e):e}function hT(e){const{gap:n,direction:r}=e,a={column:{marginY:n,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:n,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:n,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:n,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":Uh(r,o=>a[o])}}function gT(e){return Ae.Children.toArray(e).filter(n=>Ae.isValidElement(n))}const _v=Ae.forwardRef(function(n,r){const P=n,{direction:a="column",align:o,justify:u,gap:c="0.5rem",wrap:m,children:b,separator:y,className:A}=P,w=Or(P,["direction","align","justify","gap","wrap","children","separator","className"]),k=Ae.useMemo(()=>hT({gap:c,direction:a}),[c,a]),_=Ae.useMemo(()=>Ae.isValidElement(y)?gT(b).map((N,W,H)=>{const J=typeof N.key!="undefined"?N.key:W,Y=y,ve=Ae.cloneElement(Y,{css:[k,Y.props.css]});return $.jsxs(Ae.Fragment,{children:[N,W===H.length-1?null:ve]},J)}):b,[b,y,k]);return $.jsx(La.div,We(G({ref:r,display:"flex",alignItems:o,justifyContent:u,flexDirection:a,flexWrap:m,gap:y?void 0:c,className:ta("chakra-stack",A)},w),{children:_}))}),ra=Ae.forwardRef(function(n,r){return $.jsx(_v,We(G({align:"center"},n),{direction:"row",ref:r}))}),Ii=Ae.forwardRef(function(n,r){return $.jsx(_v,We(G({align:"center"},n),{direction:"column",ref:r}))}),pT=Object.freeze({}),mT=Object.freeze({});function bT(e){const{key:n,recipe:r}=e,a=Gf();return Ae.useMemo(()=>{const o=r||(n!=null?a.getRecipe(n):{});return a.cva(structuredClone(o))},[n,r,a])}const yT=e=>e.charAt(0).toUpperCase()+e.slice(1);function xc(e){const{key:n,recipe:r}=e,a=yT(n||r.className||"Component"),[o,u]=Wf({strict:!1,name:`${a}PropsContext`,providerName:`${a}PropsContext`});function c(y){const W=y,{unstyled:A}=W,w=Or(W,["unstyled"]),k=bT({key:n,recipe:w.recipe||r}),[_,P]=Ae.useMemo(()=>k.splitVariantProps(w),[k,w]);return{styles:A?pT:k(_),className:k.className,props:P}}const m=(y,A)=>{const w=La(y,{},A),k=Ae.forwardRef((_,P)=>{const N=u(),W=Ae.useMemo(()=>Ff(N,_),[_,N]),{styles:H,className:J,props:Y}=c(W);return $.jsx(w,We(G({},Y),{ref:P,css:[H,W.css],className:ta(J,W.className)}))});return k.displayName=y.displayName||y.name,k};function b(){return o}return{withContext:m,PropsProvider:o,withPropsProvider:b,usePropsContext:u,useRecipeResult:c}}const vT=e=>e?"":void 0,Zh=La("span"),{withContext:xT}=xc({key:"spinner"}),Cv=xT("span"),Tv=La("div",{base:{position:"absolute",display:"flex",alignItems:"center",justifyContent:"center"},variants:{axis:{horizontal:{insetStart:"50%",translate:"-50%",_rtl:{translate:"50%"}},vertical:{top:"50%",translate:"0 -50%"},both:{insetStart:"50%",top:"50%",translate:"-50% -50%",_rtl:{translate:"50% -50%"}}}},defaultVariants:{axis:"both"}});Tv.displayName="AbsoluteCenter";const AT=Ae.forwardRef(function(n,r){const y=n,{spinner:a=$.jsx(Cv,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:o="start",children:u,text:c,visible:m=!0}=y,b=Or(y,["spinner","spinnerPlacement","children","text","visible"]);return m?c?$.jsxs(Zh,We(G({ref:r,display:"contents"},b),{children:[o==="start"&&a,c,o==="end"&&a]})):a?$.jsxs(Zh,We(G({ref:r,display:"contents"},b),{children:[$.jsx(Tv,{display:"inline-flex",children:a}),$.jsx(Zh,{visibility:"hidden",display:"contents",children:u})]})):$.jsx(Zh,We(G({ref:r,display:"contents"},b),{children:u})):u}),{useRecipeResult:ST,usePropsContext:wT}=xc({key:"button"}),Ac=Ae.forwardRef(function(n,r){const a=wT(),o=Ae.useMemo(()=>Ff(a,n),[a,n]),u=ST(o),k=u.props,{loading:c,loadingText:m,children:b,spinner:y,spinnerPlacement:A}=k,w=Or(k,["loading","loadingText","children","spinner","spinnerPlacement"]);return $.jsx(La.button,We(G({type:"button",ref:r},w),{"data-loading":vT(c),disabled:c||w.disabled,className:ta(u.className,o.className),css:[u.styles,o.css],children:!o.asChild&&c?$.jsx(AT,{spinner:y,text:m,spinnerPlacement:A,children:b}):b}))}),$f=Ae.forwardRef(function(n,r){return $.jsx(Ac,G({px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:r},n))}),sl=Ae.forwardRef(function(n,r){const c=n,{align:a,fit:o="cover"}=c,u=Or(c,["align","fit"]);return $.jsx(La.img,G({ref:r,objectFit:o,objectPosition:a,className:ta("chakra-image",n.className)},u))}),{withContext:kT}=xc({key:"text"}),Mr=kT("p"),{withContext:ET}=xc({key:"link"}),Rv=ET("a");function _T(e){const{key:n,recipe:r}=e,a=Gf();return Ae.useMemo(()=>{const o=r||(n!=null?a.getSlotRecipe(n):{});return a.sva(structuredClone(o))},[n,r,a])}const CT=e=>e.charAt(0).toUpperCase()+e.slice(1),TT=e=>{const{key:n,recipe:r}=e,a=CT(n||r.className||"Component"),[o,u]=Wf({name:`${a}StylesContext`,errorMessage:`use${a}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${a}.Root />" `}),[c,m]=Wf({name:`${a}ClassNameContext`,errorMessage:`use${a}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${a}.Root />" `,strict:!1}),[b,y]=Wf({strict:!1,name:`${a}PropsContext`,providerName:`${a}PropsContext`,defaultValue:{}});function A(P){const j=P,{unstyled:N}=j,W=Or(j,["unstyled"]),H=_T({key:n,recipe:W.recipe||r}),[J,Y]=Ae.useMemo(()=>H.splitVariantProps(W),[W,H]);return{styles:Ae.useMemo(()=>N?mT:H(J),[N,J,H]),classNames:H.classNameMap,props:Y}}function w(P,N={}){const{defaultProps:W}=N,H=J=>{const Y=y(),ve=Ae.useMemo(()=>Ff(W,Y,J),[Y,J]),{styles:j,classNames:ee,props:Te}=A(ve);return $.jsx(o,{value:j,children:$.jsx(c,{value:ee,children:$.jsx(P,G({},Te))})})};return H.displayName=P.displayName||P.name,H}return{StylesProvider:o,ClassNamesProvider:c,PropsProvider:b,usePropsContext:y,useRecipeResult:A,withProvider:(P,N,W)=>{const j=W!=null?W:{},{defaultProps:H}=j,J=Or(j,["defaultProps"]),Y=La(P,{},J),ve=Ae.forwardRef((ee,Te)=>{var ge,M;const Se=y(),me=Ae.useMemo(()=>Ff(H!=null?H:{},Se,ee),[Se,ee]),{styles:q,props:Re,classNames:fe}=A(me),Pe=fe[N],te=$.jsx(o,{value:q,children:$.jsx(c,{value:fe,children:$.jsx(Y,We(G({ref:Te},Re),{css:[q[N],me.css],className:ta(me.className,Pe)}))})});return(M=(ge=W==null?void 0:W.wrapElement)==null?void 0:ge.call(W,te,me))!=null?M:te});return ve.displayName=P.displayName||P.name,ve},withContext:(P,N,W)=>{const H=La(P,{},W),J=Ae.forwardRef((Y,ve)=>{const q=Y,{unstyled:j}=q,ee=Or(q,["unstyled"]),Te=u(),Se=m(),me=Se==null?void 0:Se[N];return $.jsx(H,We(G({},ee),{css:[!j&&N?Te[N]:void 0,Y.css],ref:ve,className:ta(Y.className,me)}))});return J.displayName=P.displayName||P.name,J},withRootProvider:w,useStyles:u,useClassNames:m}},{StylesProvider:RT,ClassNamesProvider:zT,useRecipeResult:OT,withContext:Do}=TT({key:"table"}),PT=Ae.forwardRef(function(o,a){var u=o,{native:n}=u,r=Or(u,["native"]);const{styles:c,props:m,classNames:b}=OT(r),y=Ae.useMemo(()=>n?We(G({},c.root),{"& thead":c.header,"& tbody":c.body,"& tfoot":c.footer,"& thead th":c.columnHeader,"& tr":c.row,"& td":c.cell,"& caption":c.caption}):c.root,[c,n]);return $.jsx(zT,{value:b,children:$.jsx(RT,{value:c,children:$.jsx(La.table,We(G({ref:a},m),{css:[y,r.css],className:ta(b==null?void 0:b.root,r.className)}))})})}),DT=Do("tr","row");La("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const MT=Do("thead","header");Do("tfoot","footer");const NT=Do("th","columnHeader"),IT=Do("td","cell");Do("caption","caption",{defaultProps:{captionSide:"bottom"}});const LT=Do("tbody","body");Do("colgroup"),Do("col");function BT(e,n){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const FT=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,HT=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,WT={};function zv(e,n){return(WT.jsx?HT:FT).test(e)}const GT=/[ \t\n\f\r]/g;function YT(e){return typeof e=="object"?e.type==="text"?Ov(e.value):!1:Ov(e)}function Ov(e){return e.replace(GT,"")===""}class ed{constructor(n,r,a){this.normal=r,this.property=n,a&&(this.space=a)}}ed.prototype.normal={},ed.prototype.property={},ed.prototype.space=void 0;function Pv(e,n){const r={},a={};for(const o of e)Object.assign(r,o.property),Object.assign(a,o.normal);return new ed(r,a,n)}function $p(e){return e.toLowerCase()}class Li{constructor(n,r){this.attribute=r,this.property=n}}Li.prototype.attribute="",Li.prototype.booleanish=!1,Li.prototype.boolean=!1,Li.prototype.commaOrSpaceSeparated=!1,Li.prototype.commaSeparated=!1,Li.prototype.defined=!1,Li.prototype.mustUseProperty=!1,Li.prototype.number=!1,Li.prototype.overloadedBoolean=!1,Li.prototype.property="",Li.prototype.spaceSeparated=!1,Li.prototype.space=void 0;let UT=0;const vt=vu(),lr=vu(),em=vu(),Fe=vu(),vn=vu(),Sc=vu(),ia=vu();function vu(){return uk(2,++UT)}const tm=Object.freeze(Object.defineProperty({__proto__:null,boolean:vt,booleanish:lr,commaOrSpaceSeparated:ia,commaSeparated:Sc,number:Fe,overloadedBoolean:em,spaceSeparated:vn},Symbol.toStringTag,{value:"Module"})),nm=Object.keys(tm);class rm extends Li{constructor(n,r,a,o){let u=-1;if(super(n,r),Dv(this,"space",o),typeof a=="number")for(;++u<nm.length;){const c=nm[u];Dv(this,nm[u],(a&tm[c])===tm[c])}}}rm.prototype.defined=!0;function Dv(e,n,r){r&&(e[n]=r)}function wc(e){const n={},r={};for(const[a,o]of Object.entries(e.properties)){const u=new rm(a,e.transform(e.attributes||{},a),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),n[a]=u,r[$p(a)]=a,r[$p(u.attribute)]=a}return new ed(n,r,e.space)}const Mv=wc({properties:{ariaActiveDescendant:null,ariaAtomic:lr,ariaAutoComplete:null,ariaBusy:lr,ariaChecked:lr,ariaColCount:Fe,ariaColIndex:Fe,ariaColSpan:Fe,ariaControls:vn,ariaCurrent:null,ariaDescribedBy:vn,ariaDetails:null,ariaDisabled:lr,ariaDropEffect:vn,ariaErrorMessage:null,ariaExpanded:lr,ariaFlowTo:vn,ariaGrabbed:lr,ariaHasPopup:null,ariaHidden:lr,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:vn,ariaLevel:Fe,ariaLive:null,ariaModal:lr,ariaMultiLine:lr,ariaMultiSelectable:lr,ariaOrientation:null,ariaOwns:vn,ariaPlaceholder:null,ariaPosInSet:Fe,ariaPressed:lr,ariaReadOnly:lr,ariaRelevant:null,ariaRequired:lr,ariaRoleDescription:vn,ariaRowCount:Fe,ariaRowIndex:Fe,ariaRowSpan:Fe,ariaSelected:lr,ariaSetSize:Fe,ariaSort:null,ariaValueMax:Fe,ariaValueMin:Fe,ariaValueNow:Fe,ariaValueText:null,role:null},transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()}});function Nv(e,n){return n in e?e[n]:n}function Iv(e,n){return Nv(e,n.toLowerCase())}const ZT=wc({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Sc,acceptCharset:vn,accessKey:vn,action:null,allow:null,allowFullScreen:vt,allowPaymentRequest:vt,allowUserMedia:vt,alt:null,as:null,async:vt,autoCapitalize:null,autoComplete:vn,autoFocus:vt,autoPlay:vt,blocking:vn,capture:null,charSet:null,checked:vt,cite:null,className:vn,cols:Fe,colSpan:null,content:null,contentEditable:lr,controls:vt,controlsList:vn,coords:Fe|Sc,crossOrigin:null,data:null,dateTime:null,decoding:null,default:vt,defer:vt,dir:null,dirName:null,disabled:vt,download:em,draggable:lr,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:vt,formTarget:null,headers:vn,height:Fe,hidden:em,high:Fe,href:null,hrefLang:null,htmlFor:vn,httpEquiv:vn,id:null,imageSizes:null,imageSrcSet:null,inert:vt,inputMode:null,integrity:null,is:null,isMap:vt,itemId:null,itemProp:vn,itemRef:vn,itemScope:vt,itemType:vn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:vt,low:Fe,manifest:null,max:null,maxLength:Fe,media:null,method:null,min:null,minLength:Fe,multiple:vt,muted:vt,name:null,nonce:null,noModule:vt,noValidate:vt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:vt,optimum:Fe,pattern:null,ping:vn,placeholder:null,playsInline:vt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:vt,referrerPolicy:null,rel:vn,required:vt,reversed:vt,rows:Fe,rowSpan:Fe,sandbox:vn,scope:null,scoped:vt,seamless:vt,selected:vt,shadowRootClonable:vt,shadowRootDelegatesFocus:vt,shadowRootMode:null,shape:null,size:Fe,sizes:null,slot:null,span:Fe,spellCheck:lr,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Fe,step:null,style:null,tabIndex:Fe,target:null,title:null,translate:null,type:null,typeMustMatch:vt,useMap:null,value:lr,width:Fe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:vn,axis:null,background:null,bgColor:null,border:Fe,borderColor:null,bottomMargin:Fe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:vt,declare:vt,event:null,face:null,frame:null,frameBorder:null,hSpace:Fe,leftMargin:Fe,link:null,longDesc:null,lowSrc:null,marginHeight:Fe,marginWidth:Fe,noResize:vt,noHref:vt,noShade:vt,noWrap:vt,object:null,profile:null,prompt:null,rev:null,rightMargin:Fe,rules:null,scheme:null,scrolling:lr,standby:null,summary:null,text:null,topMargin:Fe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Fe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:vt,disableRemotePlayback:vt,prefix:null,property:null,results:Fe,security:null,unselectable:null},space:"html",transform:Iv}),VT=wc({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ia,accentHeight:Fe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Fe,amplitude:Fe,arabicForm:null,ascent:Fe,attributeName:null,attributeType:null,azimuth:Fe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Fe,by:null,calcMode:null,capHeight:Fe,className:vn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Fe,diffuseConstant:Fe,direction:null,display:null,dur:null,divisor:Fe,dominantBaseline:null,download:vt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Fe,enableBackground:null,end:null,event:null,exponent:Fe,externalResourcesRequired:null,fill:null,fillOpacity:Fe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Sc,g2:Sc,glyphName:Sc,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Fe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Fe,horizOriginX:Fe,horizOriginY:Fe,id:null,ideographic:Fe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Fe,k:Fe,k1:Fe,k2:Fe,k3:Fe,k4:Fe,kernelMatrix:ia,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Fe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Fe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Fe,overlineThickness:Fe,paintOrder:null,panose1:null,path:null,pathLength:Fe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:vn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Fe,pointsAtY:Fe,pointsAtZ:Fe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ia,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ia,rev:ia,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ia,requiredFeatures:ia,requiredFonts:ia,requiredFormats:ia,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Fe,specularExponent:Fe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Fe,strikethroughThickness:Fe,string:null,stroke:null,strokeDashArray:ia,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Fe,strokeOpacity:Fe,strokeWidth:null,style:null,surfaceScale:Fe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ia,tabIndex:Fe,tableValues:null,target:null,targetX:Fe,targetY:Fe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ia,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Fe,underlineThickness:Fe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Fe,values:null,vAlphabetic:Fe,vMathematical:Fe,vectorEffect:null,vHanging:Fe,vIdeographic:Fe,version:null,vertAdvY:Fe,vertOriginX:Fe,vertOriginY:Fe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Fe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Nv}),Lv=wc({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()}}),Bv=wc({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Iv}),Fv=wc({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()}}),XT={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},JT=/[A-Z]/g,Hv=/-[a-z]/g,KT=/^data[-\w.:]+$/i;function QT(e,n){const r=$p(n);let a=n,o=Li;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&KT.test(n)){if(n.charAt(4)==="-"){const u=n.slice(5).replace(Hv,qT);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=n.slice(4);if(!Hv.test(u)){let c=u.replace(JT,jT);c.charAt(0)!=="-"&&(c="-"+c),n="data"+c}}o=rm}return new o(a,n)}function jT(e){return"-"+e.toLowerCase()}function qT(e){return e.charAt(1).toUpperCase()}const $T=Pv([Mv,ZT,Lv,Bv,Fv],"html"),im=Pv([Mv,VT,Lv,Bv,Fv],"svg");function eR(e){return e.join(" ").trim()}var kc={},am,Wv;function tR(){if(Wv)return am;Wv=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,m=/^\s+|\s+$/g,b=`
71
- `,y="/",A="*",w="",k="comment",_="declaration";am=function(N,W){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];W=W||{};var H=1,J=1;function Y(Pe){var te=Pe.match(n);te&&(H+=te.length);var ge=Pe.lastIndexOf(b);J=~ge?Pe.length-ge:J+Pe.length}function ve(){var Pe={line:H,column:J};return function(te){return te.position=new j(Pe),Se(),te}}function j(Pe){this.start=Pe,this.end={line:H,column:J},this.source=W.source}j.prototype.content=N;function ee(Pe){var te=new Error(W.source+":"+H+":"+J+": "+Pe);if(te.reason=Pe,te.filename=W.source,te.line=H,te.column=J,te.source=N,!W.silent)throw te}function Te(Pe){var te=Pe.exec(N);if(te){var ge=te[0];return Y(ge),N=N.slice(ge.length),te}}function Se(){Te(r)}function me(Pe){var te;for(Pe=Pe||[];te=q();)te!==!1&&Pe.push(te);return Pe}function q(){var Pe=ve();if(!(y!=N.charAt(0)||A!=N.charAt(1))){for(var te=2;w!=N.charAt(te)&&(A!=N.charAt(te)||y!=N.charAt(te+1));)++te;if(te+=2,w===N.charAt(te-1))return ee("End of comment missing");var ge=N.slice(2,te-2);return J+=2,Y(ge),N=N.slice(te),J+=2,Pe({type:k,comment:ge})}}function Re(){var Pe=ve(),te=Te(a);if(te){if(q(),!Te(o))return ee("property missing ':'");var ge=Te(u),M=Pe({type:_,property:P(te[0].replace(e,w)),value:ge?P(ge[0].replace(e,w)):w});return Te(c),M}}function fe(){var Pe=[];me(Pe);for(var te;te=Re();)te!==!1&&(Pe.push(te),me(Pe));return Pe}return Se(),fe()};function P(N){return N?N.replace(m,w):w}return am}var Gv;function nR(){if(Gv)return kc;Gv=1;var e=kc&&kc.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(kc,"__esModule",{value:!0}),kc.default=r;var n=e(tR());function r(a,o){var u=null;if(!a||typeof a!="string")return u;var c=(0,n.default)(a),m=typeof o=="function";return c.forEach(function(b){if(b.type==="declaration"){var y=b.property,A=b.value;m?o(y,A,b):A&&(u=u||{},u[y]=A)}}),u}return kc}var td={},Yv;function rR(){if(Yv)return td;Yv=1,Object.defineProperty(td,"__esModule",{value:!0}),td.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,r=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,u=function(y){return!y||r.test(y)||e.test(y)},c=function(y,A){return A.toUpperCase()},m=function(y,A){return"".concat(A,"-")},b=function(y,A){return A===void 0&&(A={}),u(y)?y:(y=y.toLowerCase(),A.reactCompat?y=y.replace(o,m):y=y.replace(a,m),y.replace(n,c))};return td.camelCase=b,td}var nd,Uv;function iR(){if(Uv)return nd;Uv=1;var e=nd&&nd.__importDefault||function(o){return o&&o.__esModule?o:{default:o}},n=e(nR()),r=rR();function a(o,u){var c={};return!o||typeof o!="string"||(0,n.default)(o,function(m,b){m&&b&&(c[(0,r.camelCase)(m,u)]=b)}),c}return a.default=a,nd=a,nd}var aR=iR();const lR=cn(aR),Zv=Vv("end"),lm=Vv("start");function Vv(e){return n;function n(r){const a=r&&r.position&&r.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function oR(e){const n=lm(e),r=Zv(e);if(n&&r)return{start:n,end:r}}function rd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Xv(e.position):"start"in e||"end"in e?Xv(e):"line"in e||"column"in e?om(e):""}function om(e){return Jv(e&&e.line)+":"+Jv(e&&e.column)}function Xv(e){return om(e&&e.start)+"-"+om(e&&e.end)}function Jv(e){return e&&typeof e=="number"?e:1}class ni extends Error{constructor(n,r,a){super(),typeof r=="string"&&(a=r,r=void 0);let o="",u={},c=!1;if(r&&("line"in r&&"column"in r?u={place:r}:"start"in r&&"end"in r?u={place:r}:"type"in r?u={ancestors:[r],place:r.position}:u=G({},r)),typeof n=="string"?o=n:!u.cause&&n&&(c=!0,o=n.message,u.cause=n),!u.ruleId&&!u.source&&typeof a=="string"){const b=a.indexOf(":");b===-1?u.ruleId=a:(u.source=a.slice(0,b),u.ruleId=a.slice(b+1))}if(!u.place&&u.ancestors&&u.ancestors){const b=u.ancestors[u.ancestors.length-1];b&&(u.place=b.position)}const m=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=m?m.column:void 0,this.fatal=void 0,this.file="",this.message=o,this.line=m?m.line:void 0,this.name=rd(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=c&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ni.prototype.file="",ni.prototype.name="",ni.prototype.reason="",ni.prototype.message="",ni.prototype.stack="",ni.prototype.column=void 0,ni.prototype.line=void 0,ni.prototype.ancestors=void 0,ni.prototype.cause=void 0,ni.prototype.fatal=void 0,ni.prototype.place=void 0,ni.prototype.ruleId=void 0,ni.prototype.source=void 0;const sm={}.hasOwnProperty,sR=new Map,uR=/[A-Z]/g,cR=new Set(["table","tbody","thead","tfoot","tr"]),fR=new Set(["td","th"]),Kv="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function dR(e,n){if(!n||n.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=n.filePath||void 0;let a;if(n.development){if(typeof n.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=xR(r,n.jsxDEV)}else{if(typeof n.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof n.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=vR(r,n.jsx,n.jsxs)}const o={Fragment:n.Fragment,ancestors:[],components:n.components||{},create:a,elementAttributeNameCase:n.elementAttributeNameCase||"react",evaluater:n.createEvaluater?n.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:n.ignoreInvalidStyle||!1,passKeys:n.passKeys!==!1,passNode:n.passNode||!1,schema:n.space==="svg"?im:$T,stylePropertyNameCase:n.stylePropertyNameCase||"dom",tableCellAlignToStyle:n.tableCellAlignToStyle!==!1},u=Qv(o,e,void 0);return u&&typeof u!="string"?u:o.create(e,o.Fragment,{children:u||void 0},void 0)}function Qv(e,n,r){if(n.type==="element")return hR(e,n,r);if(n.type==="mdxFlowExpression"||n.type==="mdxTextExpression")return gR(e,n);if(n.type==="mdxJsxFlowElement"||n.type==="mdxJsxTextElement")return mR(e,n,r);if(n.type==="mdxjsEsm")return pR(e,n);if(n.type==="root")return bR(e,n,r);if(n.type==="text")return yR(e,n)}function hR(e,n,r){const a=e.schema;let o=a;n.tagName.toLowerCase()==="svg"&&a.space==="html"&&(o=im,e.schema=o),e.ancestors.push(n);const u=qv(e,n.tagName,!1),c=AR(e,n);let m=cm(e,n);return cR.has(n.tagName)&&(m=m.filter(function(b){return typeof b=="string"?!YT(b):!0})),jv(e,c,u,n),um(c,m),e.ancestors.pop(),e.schema=a,e.create(n,u,c,r)}function gR(e,n){if(n.data&&n.data.estree&&e.evaluater){const a=n.data.estree.body[0];return e.evaluater.evaluateExpression(a.expression)}id(e,n.position)}function pR(e,n){if(n.data&&n.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(n.data.estree);id(e,n.position)}function mR(e,n,r){const a=e.schema;let o=a;n.name==="svg"&&a.space==="html"&&(o=im,e.schema=o),e.ancestors.push(n);const u=n.name===null?e.Fragment:qv(e,n.name,!0),c=SR(e,n),m=cm(e,n);return jv(e,c,u,n),um(c,m),e.ancestors.pop(),e.schema=a,e.create(n,u,c,r)}function bR(e,n,r){const a={};return um(a,cm(e,n)),e.create(n,e.Fragment,a,r)}function yR(e,n){return n.value}function jv(e,n,r,a){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(n.node=a)}function um(e,n){if(n.length>0){const r=n.length>1?n:n[0];r&&(e.children=r)}}function vR(e,n,r){return a;function a(o,u,c,m){const y=Array.isArray(c.children)?r:n;return m?y(u,c,m):y(u,c)}}function xR(e,n){return r;function r(a,o,u,c){const m=Array.isArray(u.children),b=lm(a);return n(o,u,c,m,{columnNumber:b?b.column-1:void 0,fileName:e,lineNumber:b?b.line:void 0},void 0)}}function AR(e,n){const r={};let a,o;for(o in n.properties)if(o!=="children"&&sm.call(n.properties,o)){const u=wR(e,o,n.properties[o]);if(u){const[c,m]=u;e.tableCellAlignToStyle&&c==="align"&&typeof m=="string"&&fR.has(n.tagName)?a=m:r[c]=m}}if(a){const u=r.style||(r.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return r}function SR(e,n){const r={};for(const a of n.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const m=a.data.estree.body[0].expression.properties[0];Object.assign(r,e.evaluater.evaluateExpression(m.argument))}else id(e,n.position);else{const o=a.name;let u;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){const m=a.value.data.estree.body[0];u=e.evaluater.evaluateExpression(m.expression)}else id(e,n.position);else u=a.value===null?!0:a.value;r[o]=u}return r}function cm(e,n){const r=[];let a=-1;const o=e.passKeys?new Map:sR;for(;++a<n.children.length;){const u=n.children[a];let c;if(e.passKeys){const b=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(b){const y=o.get(b)||0;c=b+"-"+y,o.set(b,y+1)}}const m=Qv(e,u,c);m!==void 0&&r.push(m)}return r}function wR(e,n,r){const a=QT(e.schema,n);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=a.commaSeparated?BT(r):eR(r)),a.property==="style"){let o=typeof r=="object"?r:kR(e,String(r));return e.stylePropertyNameCase==="css"&&(o=ER(o)),["style",o]}return[e.elementAttributeNameCase==="react"&&a.space?XT[a.property]||a.property:a.attribute,r]}}function kR(e,n){try{return lR(n,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const a=r,o=new ni("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw o.file=e.filePath||void 0,o.url=Kv+"#cannot-parse-style-attribute",o}}function qv(e,n,r){let a;if(!r)a={type:"Literal",value:n};else if(n.includes(".")){const o=n.split(".");let u=-1,c;for(;++u<o.length;){const m=zv(o[u])?{type:"Identifier",name:o[u]}:{type:"Literal",value:o[u]};c=c?{type:"MemberExpression",object:c,property:m,computed:!!(u&&m.type==="Literal"),optional:!1}:m}a=c}else a=zv(n)&&!/^[a-z]/.test(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};if(a.type==="Literal"){const o=a.value;return sm.call(e.components,o)?e.components[o]:o}if(e.evaluater)return e.evaluater.evaluateExpression(a);id(e)}function id(e,n){const r=new ni("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:n,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Kv+"#cannot-handle-mdx-estrees-without-createevaluater",r}function ER(e){const n={};let r;for(r in e)sm.call(e,r)&&(n[_R(r)]=e[r]);return n}function _R(e){let n=e.replace(uR,CR);return n.slice(0,3)==="ms-"&&(n="-"+n),n}function CR(e){return"-"+e.toLowerCase()}const fm={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},TR={};function dm(e,n){const r=TR,a=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,o=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return $v(e,a,o)}function $v(e,n,r){if(RR(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(n&&"alt"in e&&e.alt)return e.alt;if("children"in e)return e1(e.children,n,r)}return Array.isArray(e)?e1(e,n,r):""}function e1(e,n,r){const a=[];let o=-1;for(;++o<e.length;)a[o]=$v(e[o],n,r);return a.join("")}function RR(e){return!!(e&&typeof e=="object")}const t1=document.createElement("i");function hm(e){const n="&"+e+";";t1.innerHTML=n;const r=t1.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===n?!1:r}function aa(e,n,r,a){const o=e.length;let u=0,c;if(n<0?n=-n>o?0:o+n:n=n>o?o:n,r=r>0?r:0,a.length<1e4)c=Array.from(a),c.unshift(n,r),e.splice(...c);else for(r&&e.splice(n,r);u<a.length;)c=a.slice(u,u+1e4),c.unshift(n,0),e.splice(...c),u+=1e4,n+=1e4}function Fa(e,n){return e.length>0?(aa(e,e.length,0,n),e):n}const n1={}.hasOwnProperty;function r1(e){const n={};let r=-1;for(;++r<e.length;)zR(n,e[r]);return n}function zR(e,n){let r;for(r in n){const o=(n1.call(e,r)?e[r]:void 0)||(e[r]={}),u=n[r];let c;if(u)for(c in u){n1.call(o,c)||(o[c]=[]);const m=u[c];OR(o[c],Array.isArray(m)?m:m?[m]:[])}}}function OR(e,n){let r=-1;const a=[];for(;++r<n.length;)(n[r].add==="after"?e:a).push(n[r]);aa(e,0,0,a)}function i1(e,n){const r=Number.parseInt(e,n);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function ul(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bi=ms(/[A-Za-z]/),ri=ms(/[\dA-Za-z]/),PR=ms(/[#-'*+\--9=?A-Z^-~]/);function Vh(e){return e!==null&&(e<32||e===127)}const gm=ms(/\d/),DR=ms(/[\dA-Fa-f]/),MR=ms(/[!-/:-@[-`{-~]/);function nt(e){return e!==null&&e<-2}function dn(e){return e!==null&&(e<0||e===32)}function Ct(e){return e===-2||e===-1||e===32}const Xh=ms(new RegExp("\\p{P}|\\p{S}","u")),xu=ms(/\s/);function ms(e){return n;function n(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Ec(e){const n=[];let r=-1,a=0,o=0;for(;++r<e.length;){const u=e.charCodeAt(r);let c="";if(u===37&&ri(e.charCodeAt(r+1))&&ri(e.charCodeAt(r+2)))o=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(c=String.fromCharCode(u));else if(u>55295&&u<57344){const m=e.charCodeAt(r+1);u<56320&&m>56319&&m<57344?(c=String.fromCharCode(u,m),o=1):c="�"}else c=String.fromCharCode(u);c&&(n.push(e.slice(a,r),encodeURIComponent(c)),a=r+o+1,c=""),o&&(r+=o,o=0)}return n.join("")+e.slice(a)}function Mt(e,n,r,a){const o=a?a-1:Number.POSITIVE_INFINITY;let u=0;return c;function c(b){return Ct(b)?(e.enter(r),m(b)):n(b)}function m(b){return Ct(b)&&u++<o?(e.consume(b),m):(e.exit(r),n(b))}}const NR={tokenize:IR};function IR(e){const n=e.attempt(this.parser.constructs.contentInitial,a,o);let r;return n;function a(m){if(m===null){e.consume(m);return}return e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),Mt(e,n,"linePrefix")}function o(m){return e.enter("paragraph"),u(m)}function u(m){const b=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=b),r=b,c(m)}function c(m){if(m===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(m);return}return nt(m)?(e.consume(m),e.exit("chunkText"),u):(e.consume(m),c)}}const LR={tokenize:BR},a1={tokenize:FR};function BR(e){const n=this,r=[];let a=0,o,u,c;return m;function m(Y){if(a<r.length){const ve=r[a];return n.containerState=ve[1],e.attempt(ve[0].continuation,b,y)(Y)}return y(Y)}function b(Y){if(a++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,o&&J();const ve=n.events.length;let j=ve,ee;for(;j--;)if(n.events[j][0]==="exit"&&n.events[j][1].type==="chunkFlow"){ee=n.events[j][1].end;break}H(a);let Te=ve;for(;Te<n.events.length;)n.events[Te][1].end=G({},ee),Te++;return aa(n.events,j+1,0,n.events.slice(ve)),n.events.length=Te,y(Y)}return m(Y)}function y(Y){if(a===r.length){if(!o)return k(Y);if(o.currentConstruct&&o.currentConstruct.concrete)return P(Y);n.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(a1,A,w)(Y)}function A(Y){return o&&J(),H(a),k(Y)}function w(Y){return n.parser.lazy[n.now().line]=a!==r.length,c=n.now().offset,P(Y)}function k(Y){return n.containerState={},e.attempt(a1,_,P)(Y)}function _(Y){return a++,r.push([n.currentConstruct,n.containerState]),k(Y)}function P(Y){if(Y===null){o&&J(),H(0),e.consume(Y);return}return o=o||n.parser.flow(n.now()),e.enter("chunkFlow",{_tokenizer:o,contentType:"flow",previous:u}),N(Y)}function N(Y){if(Y===null){W(e.exit("chunkFlow"),!0),H(0),e.consume(Y);return}return nt(Y)?(e.consume(Y),W(e.exit("chunkFlow")),a=0,n.interrupt=void 0,m):(e.consume(Y),N)}function W(Y,ve){const j=n.sliceStream(Y);if(ve&&j.push(null),Y.previous=u,u&&(u.next=Y),u=Y,o.defineSkip(Y.start),o.write(j),n.parser.lazy[Y.start.line]){let ee=o.events.length;for(;ee--;)if(o.events[ee][1].start.offset<c&&(!o.events[ee][1].end||o.events[ee][1].end.offset>c))return;const Te=n.events.length;let Se=Te,me,q;for(;Se--;)if(n.events[Se][0]==="exit"&&n.events[Se][1].type==="chunkFlow"){if(me){q=n.events[Se][1].end;break}me=!0}for(H(a),ee=Te;ee<n.events.length;)n.events[ee][1].end=G({},q),ee++;aa(n.events,Se+1,0,n.events.slice(Te)),n.events.length=ee}}function H(Y){let ve=r.length;for(;ve-- >Y;){const j=r[ve];n.containerState=j[1],j[0].exit.call(n,e)}r.length=Y}function J(){o.write([null]),u=void 0,o=void 0,n.containerState._closeFlow=void 0}}function FR(e,n,r){return Mt(e,e.attempt(this.parser.constructs.document,n,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function _c(e){if(e===null||dn(e)||xu(e))return 1;if(Xh(e))return 2}function Jh(e,n,r){const a=[];let o=-1;for(;++o<e.length;){const u=e[o].resolveAll;u&&!a.includes(u)&&(n=u(n,r),a.push(u))}return n}const pm={name:"attention",resolveAll:HR,tokenize:WR};function HR(e,n){let r=-1,a,o,u,c,m,b,y,A;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(a=r;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&n.sliceSerialize(e[a][1]).charCodeAt(0)===n.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[a][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;b=e[a][1].end.offset-e[a][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const w=G({},e[a][1].end),k=G({},e[r][1].start);l1(w,-b),l1(k,b),c={type:b>1?"strongSequence":"emphasisSequence",start:w,end:G({},e[a][1].end)},m={type:b>1?"strongSequence":"emphasisSequence",start:G({},e[r][1].start),end:k},u={type:b>1?"strongText":"emphasisText",start:G({},e[a][1].end),end:G({},e[r][1].start)},o={type:b>1?"strong":"emphasis",start:G({},c.start),end:G({},m.end)},e[a][1].end=G({},c.start),e[r][1].start=G({},m.end),y=[],e[a][1].end.offset-e[a][1].start.offset&&(y=Fa(y,[["enter",e[a][1],n],["exit",e[a][1],n]])),y=Fa(y,[["enter",o,n],["enter",c,n],["exit",c,n],["enter",u,n]]),y=Fa(y,Jh(n.parser.constructs.insideSpan.null,e.slice(a+1,r),n)),y=Fa(y,[["exit",u,n],["enter",m,n],["exit",m,n],["exit",o,n]]),e[r][1].end.offset-e[r][1].start.offset?(A=2,y=Fa(y,[["enter",e[r][1],n],["exit",e[r][1],n]])):A=0,aa(e,a-1,r-a+3,y),r=a+y.length-A-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function WR(e,n){const r=this.parser.constructs.attentionMarkers.null,a=this.previous,o=_c(a);let u;return c;function c(b){return u=b,e.enter("attentionSequence"),m(b)}function m(b){if(b===u)return e.consume(b),m;const y=e.exit("attentionSequence"),A=_c(b),w=!A||A===2&&o||r.includes(b),k=!o||o===2&&A||r.includes(a);return y._open=!!(u===42?w:w&&(o||!k)),y._close=!!(u===42?k:k&&(A||!w)),n(b)}}function l1(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}const GR={name:"autolink",tokenize:YR};function YR(e,n,r){let a=0;return o;function o(_){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(_),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),u}function u(_){return bi(_)?(e.consume(_),c):_===64?r(_):y(_)}function c(_){return _===43||_===45||_===46||ri(_)?(a=1,m(_)):y(_)}function m(_){return _===58?(e.consume(_),a=0,b):(_===43||_===45||_===46||ri(_))&&a++<32?(e.consume(_),m):(a=0,y(_))}function b(_){return _===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(_),e.exit("autolinkMarker"),e.exit("autolink"),n):_===null||_===32||_===60||Vh(_)?r(_):(e.consume(_),b)}function y(_){return _===64?(e.consume(_),A):PR(_)?(e.consume(_),y):r(_)}function A(_){return ri(_)?w(_):r(_)}function w(_){return _===46?(e.consume(_),a=0,A):_===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(_),e.exit("autolinkMarker"),e.exit("autolink"),n):k(_)}function k(_){if((_===45||ri(_))&&a++<63){const P=_===45?k:w;return e.consume(_),P}return r(_)}}const ad={partial:!0,tokenize:UR};function UR(e,n,r){return a;function a(u){return Ct(u)?Mt(e,o,"linePrefix")(u):o(u)}function o(u){return u===null||nt(u)?n(u):r(u)}}const o1={continuation:{tokenize:VR},exit:XR,name:"blockQuote",tokenize:ZR};function ZR(e,n,r){const a=this;return o;function o(c){if(c===62){const m=a.containerState;return m.open||(e.enter("blockQuote",{_container:!0}),m.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(c),e.exit("blockQuoteMarker"),u}return r(c)}function u(c){return Ct(c)?(e.enter("blockQuotePrefixWhitespace"),e.consume(c),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(c))}}function VR(e,n,r){const a=this;return o;function o(c){return Ct(c)?Mt(e,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c):u(c)}function u(c){return e.attempt(o1,n,r)(c)}}function XR(e){e.exit("blockQuote")}const s1={name:"characterEscape",tokenize:JR};function JR(e,n,r){return a;function a(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),o}function o(u){return MR(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):r(u)}}const u1={name:"characterReference",tokenize:KR};function KR(e,n,r){const a=this;let o=0,u,c;return m;function m(w){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),b}function b(w){return w===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(w),e.exit("characterReferenceMarkerNumeric"),y):(e.enter("characterReferenceValue"),u=31,c=ri,A(w))}function y(w){return w===88||w===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(w),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),u=6,c=DR,A):(e.enter("characterReferenceValue"),u=7,c=gm,A(w))}function A(w){if(w===59&&o){const k=e.exit("characterReferenceValue");return c===ri&&!hm(a.sliceSerialize(k))?r(w):(e.enter("characterReferenceMarker"),e.consume(w),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)}return c(w)&&o++<u?(e.consume(w),A):r(w)}}const c1={partial:!0,tokenize:jR},f1={concrete:!0,name:"codeFenced",tokenize:QR};function QR(e,n,r){const a=this,o={partial:!0,tokenize:j};let u=0,c=0,m;return b;function b(ee){return y(ee)}function y(ee){const Te=a.events[a.events.length-1];return u=Te&&Te[1].type==="linePrefix"?Te[2].sliceSerialize(Te[1],!0).length:0,m=ee,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),A(ee)}function A(ee){return ee===m?(c++,e.consume(ee),A):c<3?r(ee):(e.exit("codeFencedFenceSequence"),Ct(ee)?Mt(e,w,"whitespace")(ee):w(ee))}function w(ee){return ee===null||nt(ee)?(e.exit("codeFencedFence"),a.interrupt?n(ee):e.check(c1,N,ve)(ee)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),k(ee))}function k(ee){return ee===null||nt(ee)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),w(ee)):Ct(ee)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Mt(e,_,"whitespace")(ee)):ee===96&&ee===m?r(ee):(e.consume(ee),k)}function _(ee){return ee===null||nt(ee)?w(ee):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),P(ee))}function P(ee){return ee===null||nt(ee)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),w(ee)):ee===96&&ee===m?r(ee):(e.consume(ee),P)}function N(ee){return e.attempt(o,ve,W)(ee)}function W(ee){return e.enter("lineEnding"),e.consume(ee),e.exit("lineEnding"),H}function H(ee){return u>0&&Ct(ee)?Mt(e,J,"linePrefix",u+1)(ee):J(ee)}function J(ee){return ee===null||nt(ee)?e.check(c1,N,ve)(ee):(e.enter("codeFlowValue"),Y(ee))}function Y(ee){return ee===null||nt(ee)?(e.exit("codeFlowValue"),J(ee)):(e.consume(ee),Y)}function ve(ee){return e.exit("codeFenced"),n(ee)}function j(ee,Te,Se){let me=0;return q;function q(ge){return ee.enter("lineEnding"),ee.consume(ge),ee.exit("lineEnding"),Re}function Re(ge){return ee.enter("codeFencedFence"),Ct(ge)?Mt(ee,fe,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(ge):fe(ge)}function fe(ge){return ge===m?(ee.enter("codeFencedFenceSequence"),Pe(ge)):Se(ge)}function Pe(ge){return ge===m?(me++,ee.consume(ge),Pe):me>=c?(ee.exit("codeFencedFenceSequence"),Ct(ge)?Mt(ee,te,"whitespace")(ge):te(ge)):Se(ge)}function te(ge){return ge===null||nt(ge)?(ee.exit("codeFencedFence"),Te(ge)):Se(ge)}}}function jR(e,n,r){const a=this;return o;function o(c){return c===null?r(c):(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u)}function u(c){return a.parser.lazy[a.now().line]?r(c):n(c)}}const mm={name:"codeIndented",tokenize:$R},qR={partial:!0,tokenize:e4};function $R(e,n,r){const a=this;return o;function o(y){return e.enter("codeIndented"),Mt(e,u,"linePrefix",5)(y)}function u(y){const A=a.events[a.events.length-1];return A&&A[1].type==="linePrefix"&&A[2].sliceSerialize(A[1],!0).length>=4?c(y):r(y)}function c(y){return y===null?b(y):nt(y)?e.attempt(qR,c,b)(y):(e.enter("codeFlowValue"),m(y))}function m(y){return y===null||nt(y)?(e.exit("codeFlowValue"),c(y)):(e.consume(y),m)}function b(y){return e.exit("codeIndented"),n(y)}}function e4(e,n,r){const a=this;return o;function o(c){return a.parser.lazy[a.now().line]?r(c):nt(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),o):Mt(e,u,"linePrefix",5)(c)}function u(c){const m=a.events[a.events.length-1];return m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?n(c):nt(c)?o(c):r(c)}}const t4={name:"codeText",previous:r4,resolve:n4,tokenize:i4};function n4(e){let n=e.length-4,r=3,a,o;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(a=r;++a<n;)if(e[a][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[n][1].type="codeTextPadding",r+=2,n-=2;break}}for(a=r-1,n++;++a<=n;)o===void 0?a!==n&&e[a][1].type!=="lineEnding"&&(o=a):(a===n||e[a][1].type==="lineEnding")&&(e[o][1].type="codeTextData",a!==o+2&&(e[o][1].end=e[a-1][1].end,e.splice(o+2,a-o-2),n-=a-o-2,a=o+2),o=void 0);return e}function r4(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function i4(e,n,r){let a=0,o,u;return c;function c(w){return e.enter("codeText"),e.enter("codeTextSequence"),m(w)}function m(w){return w===96?(e.consume(w),a++,m):(e.exit("codeTextSequence"),b(w))}function b(w){return w===null?r(w):w===32?(e.enter("space"),e.consume(w),e.exit("space"),b):w===96?(u=e.enter("codeTextSequence"),o=0,A(w)):nt(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),b):(e.enter("codeTextData"),y(w))}function y(w){return w===null||w===32||w===96||nt(w)?(e.exit("codeTextData"),b(w)):(e.consume(w),y)}function A(w){return w===96?(e.consume(w),o++,A):o===a?(e.exit("codeTextSequence"),e.exit("codeText"),n(w)):(u.type="codeTextData",y(w))}}class a4{constructor(n){this.left=n?[...n]:[],this.right=[]}get(n){if(n<0||n>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+n+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return n<this.left.length?this.left[n]:this.right[this.right.length-n+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(n,r){const a=r==null?Number.POSITIVE_INFINITY:r;return a<this.left.length?this.left.slice(n,a):n>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-n+this.left.length).reverse():this.left.slice(n).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(n,r,a){const o=r||0;this.setCursor(Math.trunc(n));const u=this.right.splice(this.right.length-o,Number.POSITIVE_INFINITY);return a&&ld(this.left,a),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(n){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(n)}pushMany(n){this.setCursor(Number.POSITIVE_INFINITY),ld(this.left,n)}unshift(n){this.setCursor(0),this.right.push(n)}unshiftMany(n){this.setCursor(0),ld(this.right,n.reverse())}setCursor(n){if(!(n===this.left.length||n>this.left.length&&this.right.length===0||n<0&&this.left.length===0))if(n<this.left.length){const r=this.left.splice(n,Number.POSITIVE_INFINITY);ld(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-n,Number.POSITIVE_INFINITY);ld(this.left,r.reverse())}}}function ld(e,n){let r=0;if(n.length<1e4)e.push(...n);else for(;r<n.length;)e.push(...n.slice(r,r+1e4)),r+=1e4}function d1(e){const n={};let r=-1,a,o,u,c,m,b,y;const A=new a4(e);for(;++r<A.length;){for(;r in n;)r=n[r];if(a=A.get(r),r&&a[1].type==="chunkFlow"&&A.get(r-1)[1].type==="listItemPrefix"&&(b=a[1]._tokenizer.events,u=0,u<b.length&&b[u][1].type==="lineEndingBlank"&&(u+=2),u<b.length&&b[u][1].type==="content"))for(;++u<b.length&&b[u][1].type!=="content";)b[u][1].type==="chunkText"&&(b[u][1]._isInFirstContentOfListItem=!0,u++);if(a[0]==="enter")a[1].contentType&&(Object.assign(n,l4(A,r)),r=n[r],y=!0);else if(a[1]._container){for(u=r,o=void 0;u--;)if(c=A.get(u),c[1].type==="lineEnding"||c[1].type==="lineEndingBlank")c[0]==="enter"&&(o&&(A.get(o)[1].type="lineEndingBlank"),c[1].type="lineEnding",o=u);else if(!(c[1].type==="linePrefix"||c[1].type==="listItemIndent"))break;o&&(a[1].end=G({},A.get(o)[1].start),m=A.slice(o,r),m.unshift(a),A.splice(o,r-o+1,m))}}return aa(e,0,Number.POSITIVE_INFINITY,A.slice(0)),!y}function l4(e,n){const r=e.get(n)[1],a=e.get(n)[2];let o=n-1;const u=[];let c=r._tokenizer;c||(c=a.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(c._contentTypeTextTrailing=!0));const m=c.events,b=[],y={};let A,w,k=-1,_=r,P=0,N=0;const W=[N];for(;_;){for(;e.get(++o)[1]!==_;);u.push(o),_._tokenizer||(A=a.sliceStream(_),_.next||A.push(null),w&&c.defineSkip(_.start),_._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=!0),c.write(A),_._isInFirstContentOfListItem&&(c._gfmTasklistFirstContentOfListItem=void 0)),w=_,_=_.next}for(_=r;++k<m.length;)m[k][0]==="exit"&&m[k-1][0]==="enter"&&m[k][1].type===m[k-1][1].type&&m[k][1].start.line!==m[k][1].end.line&&(N=k+1,W.push(N),_._tokenizer=void 0,_.previous=void 0,_=_.next);for(c.events=[],_?(_._tokenizer=void 0,_.previous=void 0):W.pop(),k=W.length;k--;){const H=m.slice(W[k],W[k+1]),J=u.pop();b.push([J,J+H.length-1]),e.splice(J,2,H)}for(b.reverse(),k=-1;++k<b.length;)y[P+b[k][0]]=P+b[k][1],P+=b[k][1]-b[k][0]-1;return y}const o4={resolve:u4,tokenize:c4},s4={partial:!0,tokenize:f4};function u4(e){return d1(e),e}function c4(e,n){let r;return a;function a(m){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),o(m)}function o(m){return m===null?u(m):nt(m)?e.check(s4,c,u)(m):(e.consume(m),o)}function u(m){return e.exit("chunkContent"),e.exit("content"),n(m)}function c(m){return e.consume(m),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,o}}function f4(e,n,r){const a=this;return o;function o(c){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),Mt(e,u,"linePrefix")}function u(c){if(c===null||nt(c))return r(c);const m=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&m&&m[1].type==="linePrefix"&&m[2].sliceSerialize(m[1],!0).length>=4?n(c):e.interrupt(a.parser.constructs.flow,r,n)(c)}}function h1(e,n,r,a,o,u,c,m,b){const y=b||Number.POSITIVE_INFINITY;let A=0;return w;function w(H){return H===60?(e.enter(a),e.enter(o),e.enter(u),e.consume(H),e.exit(u),k):H===null||H===32||H===41||Vh(H)?r(H):(e.enter(a),e.enter(c),e.enter(m),e.enter("chunkString",{contentType:"string"}),N(H))}function k(H){return H===62?(e.enter(u),e.consume(H),e.exit(u),e.exit(o),e.exit(a),n):(e.enter(m),e.enter("chunkString",{contentType:"string"}),_(H))}function _(H){return H===62?(e.exit("chunkString"),e.exit(m),k(H)):H===null||H===60||nt(H)?r(H):(e.consume(H),H===92?P:_)}function P(H){return H===60||H===62||H===92?(e.consume(H),_):_(H)}function N(H){return!A&&(H===null||H===41||dn(H))?(e.exit("chunkString"),e.exit(m),e.exit(c),e.exit(a),n(H)):A<y&&H===40?(e.consume(H),A++,N):H===41?(e.consume(H),A--,N):H===null||H===32||H===40||Vh(H)?r(H):(e.consume(H),H===92?W:N)}function W(H){return H===40||H===41||H===92?(e.consume(H),N):N(H)}}function g1(e,n,r,a,o,u){const c=this;let m=0,b;return y;function y(_){return e.enter(a),e.enter(o),e.consume(_),e.exit(o),e.enter(u),A}function A(_){return m>999||_===null||_===91||_===93&&!b||_===94&&!m&&"_hiddenFootnoteSupport"in c.parser.constructs?r(_):_===93?(e.exit(u),e.enter(o),e.consume(_),e.exit(o),e.exit(a),n):nt(_)?(e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),A):(e.enter("chunkString",{contentType:"string"}),w(_))}function w(_){return _===null||_===91||_===93||nt(_)||m++>999?(e.exit("chunkString"),A(_)):(e.consume(_),b||(b=!Ct(_)),_===92?k:w)}function k(_){return _===91||_===92||_===93?(e.consume(_),m++,w):w(_)}}function p1(e,n,r,a,o,u){let c;return m;function m(k){return k===34||k===39||k===40?(e.enter(a),e.enter(o),e.consume(k),e.exit(o),c=k===40?41:k,b):r(k)}function b(k){return k===c?(e.enter(o),e.consume(k),e.exit(o),e.exit(a),n):(e.enter(u),y(k))}function y(k){return k===c?(e.exit(u),b(c)):k===null?r(k):nt(k)?(e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),Mt(e,y,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),A(k))}function A(k){return k===c||k===null||nt(k)?(e.exit("chunkString"),y(k)):(e.consume(k),k===92?w:A)}function w(k){return k===c||k===92?(e.consume(k),A):A(k)}}function od(e,n){let r;return a;function a(o){return nt(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),r=!0,a):Ct(o)?Mt(e,a,r?"linePrefix":"lineSuffix")(o):n(o)}}const d4={name:"definition",tokenize:g4},h4={partial:!0,tokenize:p4};function g4(e,n,r){const a=this;let o;return u;function u(_){return e.enter("definition"),c(_)}function c(_){return g1.call(a,e,m,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(_)}function m(_){return o=ul(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),_===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),b):r(_)}function b(_){return dn(_)?od(e,y)(_):y(_)}function y(_){return h1(e,A,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(_)}function A(_){return e.attempt(h4,w,w)(_)}function w(_){return Ct(_)?Mt(e,k,"whitespace")(_):k(_)}function k(_){return _===null||nt(_)?(e.exit("definition"),a.parser.defined.push(o),n(_)):r(_)}}function p4(e,n,r){return a;function a(m){return dn(m)?od(e,o)(m):r(m)}function o(m){return p1(e,u,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(m)}function u(m){return Ct(m)?Mt(e,c,"whitespace")(m):c(m)}function c(m){return m===null||nt(m)?n(m):r(m)}}const m4={name:"hardBreakEscape",tokenize:b4};function b4(e,n,r){return a;function a(u){return e.enter("hardBreakEscape"),e.consume(u),o}function o(u){return nt(u)?(e.exit("hardBreakEscape"),n(u)):r(u)}}const y4={name:"headingAtx",resolve:v4,tokenize:x4};function v4(e,n){let r=e.length-2,a=3,o,u;return e[a][1].type==="whitespace"&&(a+=2),r-2>a&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(a===r-1||r-4>a&&e[r-2][1].type==="whitespace")&&(r-=a+1===r?2:4),r>a&&(o={type:"atxHeadingText",start:e[a][1].start,end:e[r][1].end},u={type:"chunkText",start:e[a][1].start,end:e[r][1].end,contentType:"text"},aa(e,a,r-a+1,[["enter",o,n],["enter",u,n],["exit",u,n],["exit",o,n]])),e}function x4(e,n,r){let a=0;return o;function o(A){return e.enter("atxHeading"),u(A)}function u(A){return e.enter("atxHeadingSequence"),c(A)}function c(A){return A===35&&a++<6?(e.consume(A),c):A===null||dn(A)?(e.exit("atxHeadingSequence"),m(A)):r(A)}function m(A){return A===35?(e.enter("atxHeadingSequence"),b(A)):A===null||nt(A)?(e.exit("atxHeading"),n(A)):Ct(A)?Mt(e,m,"whitespace")(A):(e.enter("atxHeadingText"),y(A))}function b(A){return A===35?(e.consume(A),b):(e.exit("atxHeadingSequence"),m(A))}function y(A){return A===null||A===35||dn(A)?(e.exit("atxHeadingText"),m(A)):(e.consume(A),y)}}const A4=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],m1=["pre","script","style","textarea"],S4={concrete:!0,name:"htmlFlow",resolveTo:E4,tokenize:_4},w4={partial:!0,tokenize:T4},k4={partial:!0,tokenize:C4};function E4(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function _4(e,n,r){const a=this;let o,u,c,m,b;return y;function y(B){return A(B)}function A(B){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(B),w}function w(B){return B===33?(e.consume(B),k):B===47?(e.consume(B),u=!0,N):B===63?(e.consume(B),o=3,a.interrupt?n:E):bi(B)?(e.consume(B),c=String.fromCharCode(B),W):r(B)}function k(B){return B===45?(e.consume(B),o=2,_):B===91?(e.consume(B),o=5,m=0,P):bi(B)?(e.consume(B),o=4,a.interrupt?n:E):r(B)}function _(B){return B===45?(e.consume(B),a.interrupt?n:E):r(B)}function P(B){const De="CDATA[";return B===De.charCodeAt(m++)?(e.consume(B),m===De.length?a.interrupt?n:fe:P):r(B)}function N(B){return bi(B)?(e.consume(B),c=String.fromCharCode(B),W):r(B)}function W(B){if(B===null||B===47||B===62||dn(B)){const De=B===47,Le=c.toLowerCase();return!De&&!u&&m1.includes(Le)?(o=1,a.interrupt?n(B):fe(B)):A4.includes(c.toLowerCase())?(o=6,De?(e.consume(B),H):a.interrupt?n(B):fe(B)):(o=7,a.interrupt&&!a.parser.lazy[a.now().line]?r(B):u?J(B):Y(B))}return B===45||ri(B)?(e.consume(B),c+=String.fromCharCode(B),W):r(B)}function H(B){return B===62?(e.consume(B),a.interrupt?n:fe):r(B)}function J(B){return Ct(B)?(e.consume(B),J):q(B)}function Y(B){return B===47?(e.consume(B),q):B===58||B===95||bi(B)?(e.consume(B),ve):Ct(B)?(e.consume(B),Y):q(B)}function ve(B){return B===45||B===46||B===58||B===95||ri(B)?(e.consume(B),ve):j(B)}function j(B){return B===61?(e.consume(B),ee):Ct(B)?(e.consume(B),j):Y(B)}function ee(B){return B===null||B===60||B===61||B===62||B===96?r(B):B===34||B===39?(e.consume(B),b=B,Te):Ct(B)?(e.consume(B),ee):Se(B)}function Te(B){return B===b?(e.consume(B),b=null,me):B===null||nt(B)?r(B):(e.consume(B),Te)}function Se(B){return B===null||B===34||B===39||B===47||B===60||B===61||B===62||B===96||dn(B)?j(B):(e.consume(B),Se)}function me(B){return B===47||B===62||Ct(B)?Y(B):r(B)}function q(B){return B===62?(e.consume(B),Re):r(B)}function Re(B){return B===null||nt(B)?fe(B):Ct(B)?(e.consume(B),Re):r(B)}function fe(B){return B===45&&o===2?(e.consume(B),M):B===60&&o===1?(e.consume(B),K):B===62&&o===4?(e.consume(B),F):B===63&&o===3?(e.consume(B),E):B===93&&o===5?(e.consume(B),Ge):nt(B)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(w4,Oe,Pe)(B)):B===null||nt(B)?(e.exit("htmlFlowData"),Pe(B)):(e.consume(B),fe)}function Pe(B){return e.check(k4,te,Oe)(B)}function te(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),ge}function ge(B){return B===null||nt(B)?Pe(B):(e.enter("htmlFlowData"),fe(B))}function M(B){return B===45?(e.consume(B),E):fe(B)}function K(B){return B===47?(e.consume(B),c="",ze):fe(B)}function ze(B){if(B===62){const De=c.toLowerCase();return m1.includes(De)?(e.consume(B),F):fe(B)}return bi(B)&&c.length<8?(e.consume(B),c+=String.fromCharCode(B),ze):fe(B)}function Ge(B){return B===93?(e.consume(B),E):fe(B)}function E(B){return B===62?(e.consume(B),F):B===45&&o===2?(e.consume(B),E):fe(B)}function F(B){return B===null||nt(B)?(e.exit("htmlFlowData"),Oe(B)):(e.consume(B),F)}function Oe(B){return e.exit("htmlFlow"),n(B)}}function C4(e,n,r){const a=this;return o;function o(c){return nt(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):r(c)}function u(c){return a.parser.lazy[a.now().line]?r(c):n(c)}}function T4(e,n,r){return a;function a(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(ad,n,r)}}const R4={name:"htmlText",tokenize:z4};function z4(e,n,r){const a=this;let o,u,c;return m;function m(E){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(E),b}function b(E){return E===33?(e.consume(E),y):E===47?(e.consume(E),j):E===63?(e.consume(E),Y):bi(E)?(e.consume(E),Se):r(E)}function y(E){return E===45?(e.consume(E),A):E===91?(e.consume(E),u=0,P):bi(E)?(e.consume(E),J):r(E)}function A(E){return E===45?(e.consume(E),_):r(E)}function w(E){return E===null?r(E):E===45?(e.consume(E),k):nt(E)?(c=w,K(E)):(e.consume(E),w)}function k(E){return E===45?(e.consume(E),_):w(E)}function _(E){return E===62?M(E):E===45?k(E):w(E)}function P(E){const F="CDATA[";return E===F.charCodeAt(u++)?(e.consume(E),u===F.length?N:P):r(E)}function N(E){return E===null?r(E):E===93?(e.consume(E),W):nt(E)?(c=N,K(E)):(e.consume(E),N)}function W(E){return E===93?(e.consume(E),H):N(E)}function H(E){return E===62?M(E):E===93?(e.consume(E),H):N(E)}function J(E){return E===null||E===62?M(E):nt(E)?(c=J,K(E)):(e.consume(E),J)}function Y(E){return E===null?r(E):E===63?(e.consume(E),ve):nt(E)?(c=Y,K(E)):(e.consume(E),Y)}function ve(E){return E===62?M(E):Y(E)}function j(E){return bi(E)?(e.consume(E),ee):r(E)}function ee(E){return E===45||ri(E)?(e.consume(E),ee):Te(E)}function Te(E){return nt(E)?(c=Te,K(E)):Ct(E)?(e.consume(E),Te):M(E)}function Se(E){return E===45||ri(E)?(e.consume(E),Se):E===47||E===62||dn(E)?me(E):r(E)}function me(E){return E===47?(e.consume(E),M):E===58||E===95||bi(E)?(e.consume(E),q):nt(E)?(c=me,K(E)):Ct(E)?(e.consume(E),me):M(E)}function q(E){return E===45||E===46||E===58||E===95||ri(E)?(e.consume(E),q):Re(E)}function Re(E){return E===61?(e.consume(E),fe):nt(E)?(c=Re,K(E)):Ct(E)?(e.consume(E),Re):me(E)}function fe(E){return E===null||E===60||E===61||E===62||E===96?r(E):E===34||E===39?(e.consume(E),o=E,Pe):nt(E)?(c=fe,K(E)):Ct(E)?(e.consume(E),fe):(e.consume(E),te)}function Pe(E){return E===o?(e.consume(E),o=void 0,ge):E===null?r(E):nt(E)?(c=Pe,K(E)):(e.consume(E),Pe)}function te(E){return E===null||E===34||E===39||E===60||E===61||E===96?r(E):E===47||E===62||dn(E)?me(E):(e.consume(E),te)}function ge(E){return E===47||E===62||dn(E)?me(E):r(E)}function M(E){return E===62?(e.consume(E),e.exit("htmlTextData"),e.exit("htmlText"),n):r(E)}function K(E){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),ze}function ze(E){return Ct(E)?Mt(e,Ge,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(E):Ge(E)}function Ge(E){return e.enter("htmlTextData"),c(E)}}const bm={name:"labelEnd",resolveAll:M4,resolveTo:N4,tokenize:I4},O4={tokenize:L4},P4={tokenize:B4},D4={tokenize:F4};function M4(e){let n=-1;const r=[];for(;++n<e.length;){const a=e[n][1];if(r.push(e[n]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const o=a.type==="labelImage"?4:2;a.type="data",n+=o}}return e.length!==r.length&&aa(e,0,e.length,r),e}function N4(e,n){let r=e.length,a=0,o,u,c,m;for(;r--;)if(o=e[r][1],u){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[r][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(c){if(e[r][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(u=r,o.type!=="labelLink")){a=2;break}}else o.type==="labelEnd"&&(c=r);const b={type:e[u][1].type==="labelLink"?"link":"image",start:G({},e[u][1].start),end:G({},e[e.length-1][1].end)},y={type:"label",start:G({},e[u][1].start),end:G({},e[c][1].end)},A={type:"labelText",start:G({},e[u+a+2][1].end),end:G({},e[c-2][1].start)};return m=[["enter",b,n],["enter",y,n]],m=Fa(m,e.slice(u+1,u+a+3)),m=Fa(m,[["enter",A,n]]),m=Fa(m,Jh(n.parser.constructs.insideSpan.null,e.slice(u+a+4,c-3),n)),m=Fa(m,[["exit",A,n],e[c-2],e[c-1],["exit",y,n]]),m=Fa(m,e.slice(c+1)),m=Fa(m,[["exit",b,n]]),aa(e,u,e.length,m),e}function I4(e,n,r){const a=this;let o=a.events.length,u,c;for(;o--;)if((a.events[o][1].type==="labelImage"||a.events[o][1].type==="labelLink")&&!a.events[o][1]._balanced){u=a.events[o][1];break}return m;function m(k){return u?u._inactive?w(k):(c=a.parser.defined.includes(ul(a.sliceSerialize({start:u.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(k),e.exit("labelMarker"),e.exit("labelEnd"),b):r(k)}function b(k){return k===40?e.attempt(O4,A,c?A:w)(k):k===91?e.attempt(P4,A,c?y:w)(k):c?A(k):w(k)}function y(k){return e.attempt(D4,A,w)(k)}function A(k){return n(k)}function w(k){return u._balanced=!0,r(k)}}function L4(e,n,r){return a;function a(w){return e.enter("resource"),e.enter("resourceMarker"),e.consume(w),e.exit("resourceMarker"),o}function o(w){return dn(w)?od(e,u)(w):u(w)}function u(w){return w===41?A(w):h1(e,c,m,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(w)}function c(w){return dn(w)?od(e,b)(w):A(w)}function m(w){return r(w)}function b(w){return w===34||w===39||w===40?p1(e,y,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(w):A(w)}function y(w){return dn(w)?od(e,A)(w):A(w)}function A(w){return w===41?(e.enter("resourceMarker"),e.consume(w),e.exit("resourceMarker"),e.exit("resource"),n):r(w)}}function B4(e,n,r){const a=this;return o;function o(m){return g1.call(a,e,u,c,"reference","referenceMarker","referenceString")(m)}function u(m){return a.parser.defined.includes(ul(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?n(m):r(m)}function c(m){return r(m)}}function F4(e,n,r){return a;function a(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),o}function o(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),n):r(u)}}const H4={name:"labelStartImage",resolveAll:bm.resolveAll,tokenize:W4};function W4(e,n,r){const a=this;return o;function o(m){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(m),e.exit("labelImageMarker"),u}function u(m){return m===91?(e.enter("labelMarker"),e.consume(m),e.exit("labelMarker"),e.exit("labelImage"),c):r(m)}function c(m){return m===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(m):n(m)}}const G4={name:"labelStartLink",resolveAll:bm.resolveAll,tokenize:Y4};function Y4(e,n,r){const a=this;return o;function o(c){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelLink"),u}function u(c){return c===94&&"_hiddenFootnoteSupport"in a.parser.constructs?r(c):n(c)}}const ym={name:"lineEnding",tokenize:U4};function U4(e,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),Mt(e,n,"linePrefix")}}const Kh={name:"thematicBreak",tokenize:Z4};function Z4(e,n,r){let a=0,o;return u;function u(y){return e.enter("thematicBreak"),c(y)}function c(y){return o=y,m(y)}function m(y){return y===o?(e.enter("thematicBreakSequence"),b(y)):a>=3&&(y===null||nt(y))?(e.exit("thematicBreak"),n(y)):r(y)}function b(y){return y===o?(e.consume(y),a++,b):(e.exit("thematicBreakSequence"),Ct(y)?Mt(e,m,"whitespace")(y):m(y))}}const Bi={continuation:{tokenize:K4},exit:j4,name:"list",tokenize:J4},V4={partial:!0,tokenize:q4},X4={partial:!0,tokenize:Q4};function J4(e,n,r){const a=this,o=a.events[a.events.length-1];let u=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,c=0;return m;function m(_){const P=a.containerState.type||(_===42||_===43||_===45?"listUnordered":"listOrdered");if(P==="listUnordered"?!a.containerState.marker||_===a.containerState.marker:gm(_)){if(a.containerState.type||(a.containerState.type=P,e.enter(P,{_container:!0})),P==="listUnordered")return e.enter("listItemPrefix"),_===42||_===45?e.check(Kh,r,y)(_):y(_);if(!a.interrupt||_===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),b(_)}return r(_)}function b(_){return gm(_)&&++c<10?(e.consume(_),b):(!a.interrupt||c<2)&&(a.containerState.marker?_===a.containerState.marker:_===41||_===46)?(e.exit("listItemValue"),y(_)):r(_)}function y(_){return e.enter("listItemMarker"),e.consume(_),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||_,e.check(ad,a.interrupt?r:A,e.attempt(V4,k,w))}function A(_){return a.containerState.initialBlankLine=!0,u++,k(_)}function w(_){return Ct(_)?(e.enter("listItemPrefixWhitespace"),e.consume(_),e.exit("listItemPrefixWhitespace"),k):r(_)}function k(_){return a.containerState.size=u+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(_)}}function K4(e,n,r){const a=this;return a.containerState._closeFlow=void 0,e.check(ad,o,u);function o(m){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,Mt(e,n,"listItemIndent",a.containerState.size+1)(m)}function u(m){return a.containerState.furtherBlankLines||!Ct(m)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,c(m)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(X4,n,c)(m))}function c(m){return a.containerState._closeFlow=!0,a.interrupt=void 0,Mt(e,e.attempt(Bi,n,r),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(m)}}function Q4(e,n,r){const a=this;return Mt(e,o,"listItemIndent",a.containerState.size+1);function o(u){const c=a.events[a.events.length-1];return c&&c[1].type==="listItemIndent"&&c[2].sliceSerialize(c[1],!0).length===a.containerState.size?n(u):r(u)}}function j4(e){e.exit(this.containerState.type)}function q4(e,n,r){const a=this;return Mt(e,o,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(u){const c=a.events[a.events.length-1];return!Ct(u)&&c&&c[1].type==="listItemPrefixWhitespace"?n(u):r(u)}}const b1={name:"setextUnderline",resolveTo:$4,tokenize:e9};function $4(e,n){let r=e.length,a,o,u;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){a=r;break}e[r][1].type==="paragraph"&&(o=r)}else e[r][1].type==="content"&&e.splice(r,1),!u&&e[r][1].type==="definition"&&(u=r);const c={type:"setextHeading",start:G({},e[a][1].start),end:G({},e[e.length-1][1].end)};return e[o][1].type="setextHeadingText",u?(e.splice(o,0,["enter",c,n]),e.splice(u+1,0,["exit",e[a][1],n]),e[a][1].end=G({},e[u][1].end)):e[a][1]=c,e.push(["exit",c,n]),e}function e9(e,n,r){const a=this;let o;return u;function u(y){let A=a.events.length,w;for(;A--;)if(a.events[A][1].type!=="lineEnding"&&a.events[A][1].type!=="linePrefix"&&a.events[A][1].type!=="content"){w=a.events[A][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||w)?(e.enter("setextHeadingLine"),o=y,c(y)):r(y)}function c(y){return e.enter("setextHeadingLineSequence"),m(y)}function m(y){return y===o?(e.consume(y),m):(e.exit("setextHeadingLineSequence"),Ct(y)?Mt(e,b,"lineSuffix")(y):b(y))}function b(y){return y===null||nt(y)?(e.exit("setextHeadingLine"),n(y)):r(y)}}const t9={tokenize:n9};function n9(e){const n=this,r=e.attempt(ad,a,e.attempt(this.parser.constructs.flowInitial,o,Mt(e,e.attempt(this.parser.constructs.flow,o,e.attempt(o4,o)),"linePrefix")));return r;function a(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),n.currentConstruct=void 0,r}function o(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),n.currentConstruct=void 0,r}}const r9={resolveAll:v1()},i9=y1("string"),a9=y1("text");function y1(e){return{resolveAll:v1(e==="text"?l9:void 0),tokenize:n};function n(r){const a=this,o=this.parser.constructs[e],u=r.attempt(o,c,m);return c;function c(A){return y(A)?u(A):m(A)}function m(A){if(A===null){r.consume(A);return}return r.enter("data"),r.consume(A),b}function b(A){return y(A)?(r.exit("data"),u(A)):(r.consume(A),b)}function y(A){if(A===null)return!0;const w=o[A];let k=-1;if(w)for(;++k<w.length;){const _=w[k];if(!_.previous||_.previous.call(a,a.previous))return!0}return!1}}}function v1(e){return n;function n(r,a){let o=-1,u;for(;++o<=r.length;)u===void 0?r[o]&&r[o][1].type==="data"&&(u=o,o++):(!r[o]||r[o][1].type!=="data")&&(o!==u+2&&(r[u][1].end=r[o-1][1].end,r.splice(u+2,o-u-2),o=u+2),u=void 0);return e?e(r,a):r}}function l9(e,n){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const a=e[r-1][1],o=n.sliceStream(a);let u=o.length,c=-1,m=0,b;for(;u--;){const y=o[u];if(typeof y=="string"){for(c=y.length;y.charCodeAt(c-1)===32;)m++,c--;if(c)break;c=-1}else if(y===-2)b=!0,m++;else if(y!==-1){u++;break}}if(n._contentTypeTextTrailing&&r===e.length&&(m=0),m){const y={type:r===e.length||b||m<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?c:a.start._bufferIndex+c,_index:a.start._index+u,line:a.end.line,column:a.end.column-m,offset:a.end.offset-m},end:G({},a.end)};a.end=G({},y.start),a.start.offset===a.end.offset?Object.assign(a,y):(e.splice(r,0,["enter",y,n],["exit",y,n]),r+=2)}r++}return e}const o9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:d4},disable:{null:[]},document:{42:Bi,43:Bi,45:Bi,48:Bi,49:Bi,50:Bi,51:Bi,52:Bi,53:Bi,54:Bi,55:Bi,56:Bi,57:Bi,62:o1},flow:{35:y4,42:Kh,45:[b1,Kh],60:S4,61:b1,95:Kh,96:f1,126:f1},flowInitial:{[-2]:mm,[-1]:mm,32:mm},insideSpan:{null:[pm,r9]},string:{38:u1,92:s1},text:{[-5]:ym,[-4]:ym,[-3]:ym,33:H4,38:u1,42:pm,60:[GR,R4],91:G4,92:[m4,s1],93:bm,95:pm,96:t4}},Symbol.toStringTag,{value:"Module"}));function s9(e,n,r){let a={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const o={},u=[];let c=[],m=[];const b={attempt:Te(j),check:Te(ee),consume:J,enter:Y,exit:ve,interrupt:Te(ee,{interrupt:!0})},y={code:null,containerState:{},defineSkip:N,events:[],now:P,parser:e,previous:null,sliceSerialize:k,sliceStream:_,write:w};let A=n.tokenize.call(y,b);return n.resolveAll&&u.push(n),y;function w(Re){return c=Fa(c,Re),W(),c[c.length-1]!==null?[]:(Se(n,0),y.events=Jh(u,y.events,y),y.events)}function k(Re,fe){return c9(_(Re),fe)}function _(Re){return u9(c,Re)}function P(){const{_bufferIndex:Re,_index:fe,line:Pe,column:te,offset:ge}=a;return{_bufferIndex:Re,_index:fe,line:Pe,column:te,offset:ge}}function N(Re){o[Re.line]=Re.column,q()}function W(){let Re;for(;a._index<c.length;){const fe=c[a._index];if(typeof fe=="string")for(Re=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===Re&&a._bufferIndex<fe.length;)H(fe.charCodeAt(a._bufferIndex));else H(fe)}}function H(Re){A=A(Re)}function J(Re){nt(Re)?(a.line++,a.column=1,a.offset+=Re===-3?2:1,q()):Re!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===c[a._index].length&&(a._bufferIndex=-1,a._index++)),y.previous=Re}function Y(Re,fe){const Pe=fe||{};return Pe.type=Re,Pe.start=P(),y.events.push(["enter",Pe,y]),m.push(Pe),Pe}function ve(Re){const fe=m.pop();return fe.end=P(),y.events.push(["exit",fe,y]),fe}function j(Re,fe){Se(Re,fe.from)}function ee(Re,fe){fe.restore()}function Te(Re,fe){return Pe;function Pe(te,ge,M){let K,ze,Ge,E;return Array.isArray(te)?Oe(te):"tokenize"in te?Oe([te]):F(te);function F(Ee){return Ue;function Ue(de){const se=de!==null&&Ee[de],ye=de!==null&&Ee.null,Ce=[...Array.isArray(se)?se:se?[se]:[],...Array.isArray(ye)?ye:ye?[ye]:[]];return Oe(Ce)(de)}}function Oe(Ee){return K=Ee,ze=0,Ee.length===0?M:B(Ee[ze])}function B(Ee){return Ue;function Ue(de){return E=me(),Ge=Ee,Ee.partial||(y.currentConstruct=Ee),Ee.name&&y.parser.constructs.disable.null.includes(Ee.name)?Le():Ee.tokenize.call(fe?Object.assign(Object.create(y),fe):y,b,De,Le)(de)}}function De(Ee){return Re(Ge,E),ge}function Le(Ee){return E.restore(),++ze<K.length?B(K[ze]):M}}}function Se(Re,fe){Re.resolveAll&&!u.includes(Re)&&u.push(Re),Re.resolve&&aa(y.events,fe,y.events.length-fe,Re.resolve(y.events.slice(fe),y)),Re.resolveTo&&(y.events=Re.resolveTo(y.events,y))}function me(){const Re=P(),fe=y.previous,Pe=y.currentConstruct,te=y.events.length,ge=Array.from(m);return{from:te,restore:M};function M(){a=Re,y.previous=fe,y.currentConstruct=Pe,y.events.length=te,m=ge,q()}}function q(){a.line in o&&a.column<2&&(a.column=o[a.line],a.offset+=o[a.line]-1)}}function u9(e,n){const r=n.start._index,a=n.start._bufferIndex,o=n.end._index,u=n.end._bufferIndex;let c;if(r===o)c=[e[r].slice(a,u)];else{if(c=e.slice(r,o),a>-1){const m=c[0];typeof m=="string"?c[0]=m.slice(a):c.shift()}u>0&&c.push(e[o].slice(0,u))}return c}function c9(e,n){let r=-1;const a=[];let o;for(;++r<e.length;){const u=e[r];let c;if(typeof u=="string")c=u;else switch(u){case-5:{c="\r";break}case-4:{c=`
72
- `;break}case-3:{c=`\r
73
- `;break}case-2:{c=n?" ":" ";break}case-1:{if(!n&&o)continue;c=" ";break}default:c=String.fromCharCode(u)}o=u===-2,a.push(c)}return a.join("")}function f9(e){const a={constructs:r1([o9,...(e||{}).extensions||[]]),content:o(NR),defined:[],document:o(LR),flow:o(t9),lazy:{},string:o(i9),text:o(a9)};return a;function o(u){return c;function c(m){return s9(a,u,m)}}}function d9(e){for(;!d1(e););return e}const x1=/[\0\t\n\r]/g;function h9(){let e=1,n="",r=!0,a;return o;function o(u,c,m){const b=[];let y,A,w,k,_;for(u=n+(typeof u=="string"?u.toString():new TextDecoder(c||void 0).decode(u)),w=0,n="",r&&(u.charCodeAt(0)===65279&&w++,r=void 0);w<u.length;){if(x1.lastIndex=w,y=x1.exec(u),k=y&&y.index!==void 0?y.index:u.length,_=u.charCodeAt(k),!y){n=u.slice(w);break}if(_===10&&w===k&&a)b.push(-3),a=void 0;else switch(a&&(b.push(-5),a=void 0),w<k&&(b.push(u.slice(w,k)),e+=k-w),_){case 0:{b.push(65533),e++;break}case 9:{for(A=Math.ceil(e/4)*4,b.push(-2);e++<A;)b.push(-1);break}case 10:{b.push(-4),e=1;break}default:a=!0,e=1}w=k+1}return m&&(a&&b.push(-5),n&&b.push(n),b.push(null)),b}}const g9=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function p9(e){return e.replace(g9,m9)}function m9(e,n,r){if(n)return n;if(r.charCodeAt(0)===35){const o=r.charCodeAt(1),u=o===120||o===88;return i1(r.slice(u?2:1),u?16:10)}return hm(r)||e}const A1={}.hasOwnProperty;function b9(e,n,r){return typeof n!="string"&&(r=n,n=void 0),y9(r)(d9(f9(r).document().write(h9()(e,n,!0))))}function y9(e){const n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(ii),autolinkProtocol:me,autolinkEmail:me,atxHeading:u(pn),blockQuote:u(ye),characterEscape:me,characterReference:me,codeFenced:u(Ce),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:u(Ce,c),codeText:u(Me,c),codeTextData:me,data:me,codeFlowValue:me,definition:u(Je),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:u(Tt),hardBreakEscape:u(mt),hardBreakTrailing:u(mt),htmlFlow:u(rn,c),htmlFlowData:me,htmlText:u(rn,c),htmlTextData:me,image:u(yi),label:c,link:u(ii),listItem:u(mn),listItemValue:k,listOrdered:u(On,w),listUnordered:u(On),paragraph:u(St),reference:B,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:u(pn),strong:u(Pn),thematicBreak:u(ys)},exit:{atxHeading:b(),atxHeadingSequence:j,autolink:b(),autolinkEmail:se,autolinkProtocol:de,blockQuote:b(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:Le,characterReferenceMarkerNumeric:Le,characterReferenceValue:Ee,characterReference:Ue,codeFenced:b(W),codeFencedFence:N,codeFencedFenceInfo:_,codeFencedFenceMeta:P,codeFlowValue:q,codeIndented:b(H),codeText:b(ge),codeTextData:q,data:q,definition:b(),definitionDestinationString:ve,definitionLabelString:J,definitionTitleString:Y,emphasis:b(),hardBreakEscape:b(fe),hardBreakTrailing:b(fe),htmlFlow:b(Pe),htmlFlowData:q,htmlText:b(te),htmlTextData:q,image:b(K),label:Ge,labelText:ze,lineEnding:Re,link:b(M),listItem:b(),listOrdered:b(),listUnordered:b(),paragraph:b(),referenceString:De,resourceDestinationString:E,resourceTitleString:F,resource:Oe,setextHeading:b(Se),setextHeadingLineSequence:Te,setextHeadingText:ee,strong:b(),thematicBreak:b()}};S1(n,(e||{}).mdastExtensions||[]);const r={};return a;function a(pe){let Ne={type:"root",children:[]};const je={stack:[Ne],tokenStack:[],config:n,enter:m,exit:y,buffer:c,resume:A,data:r},Ke=[];let Ot=-1;for(;++Ot<pe.length;)if(pe[Ot][1].type==="listOrdered"||pe[Ot][1].type==="listUnordered")if(pe[Ot][0]==="enter")Ke.push(Ot);else{const Zn=Ke.pop();Ot=o(pe,Zn,Ot)}for(Ot=-1;++Ot<pe.length;){const Zn=n[pe[Ot][0]];A1.call(Zn,pe[Ot][1].type)&&Zn[pe[Ot][1].type].call(Object.assign({sliceSerialize:pe[Ot][2].sliceSerialize},je),pe[Ot][1])}if(je.tokenStack.length>0){const Zn=je.tokenStack[je.tokenStack.length-1];(Zn[1]||w1).call(je,void 0,Zn[0])}for(Ne.position={start:bs(pe.length>0?pe[0][1].start:{line:1,column:1,offset:0}),end:bs(pe.length>0?pe[pe.length-2][1].end:{line:1,column:1,offset:0})},Ot=-1;++Ot<n.transforms.length;)Ne=n.transforms[Ot](Ne)||Ne;return Ne}function o(pe,Ne,je){let Ke=Ne-1,Ot=-1,Zn=!1,vi,Kn,xi,mr;for(;++Ke<=je;){const gt=pe[Ke];switch(gt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{gt[0]==="enter"?Ot++:Ot--,mr=void 0;break}case"lineEndingBlank":{gt[0]==="enter"&&(vi&&!mr&&!Ot&&!xi&&(xi=Ke),mr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:mr=void 0}if(!Ot&&gt[0]==="enter"&&gt[1].type==="listItemPrefix"||Ot===-1&&gt[0]==="exit"&&(gt[1].type==="listUnordered"||gt[1].type==="listOrdered")){if(vi){let qt=Ke;for(Kn=void 0;qt--;){const Lr=pe[qt];if(Lr[1].type==="lineEnding"||Lr[1].type==="lineEndingBlank"){if(Lr[0]==="exit")continue;Kn&&(pe[Kn][1].type="lineEndingBlank",Zn=!0),Lr[1].type="lineEnding",Kn=qt}else if(!(Lr[1].type==="linePrefix"||Lr[1].type==="blockQuotePrefix"||Lr[1].type==="blockQuotePrefixWhitespace"||Lr[1].type==="blockQuoteMarker"||Lr[1].type==="listItemIndent"))break}xi&&(!Kn||xi<Kn)&&(vi._spread=!0),vi.end=Object.assign({},Kn?pe[Kn][1].start:gt[1].end),pe.splice(Kn||Ke,0,["exit",vi,gt[2]]),Ke++,je++}if(gt[1].type==="listItemPrefix"){const qt={type:"listItem",_spread:!1,start:Object.assign({},gt[1].start),end:void 0};vi=qt,pe.splice(Ke,0,["enter",qt,gt[2]]),Ke++,je++,xi=void 0,mr=!0}}}return pe[Ne][1]._spread=Zn,je}function u(pe,Ne){return je;function je(Ke){m.call(this,pe(Ke),Ke),Ne&&Ne.call(this,Ke)}}function c(){this.stack.push({type:"fragment",children:[]})}function m(pe,Ne,je){this.stack[this.stack.length-1].children.push(pe),this.stack.push(pe),this.tokenStack.push([Ne,je||void 0]),pe.position={start:bs(Ne.start),end:void 0}}function b(pe){return Ne;function Ne(je){pe&&pe.call(this,je),y.call(this,je)}}function y(pe,Ne){const je=this.stack.pop(),Ke=this.tokenStack.pop();if(Ke)Ke[0].type!==pe.type&&(Ne?Ne.call(this,pe,Ke[0]):(Ke[1]||w1).call(this,pe,Ke[0]));else throw new Error("Cannot close `"+pe.type+"` ("+rd({start:pe.start,end:pe.end})+"): it’s not open");je.position.end=bs(pe.end)}function A(){return dm(this.stack.pop())}function w(){this.data.expectingFirstListItemValue=!0}function k(pe){if(this.data.expectingFirstListItemValue){const Ne=this.stack[this.stack.length-2];Ne.start=Number.parseInt(this.sliceSerialize(pe),10),this.data.expectingFirstListItemValue=void 0}}function _(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.lang=pe}function P(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.meta=pe}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function W(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=pe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function H(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=pe.replace(/(\r?\n|\r)$/g,"")}function J(pe){const Ne=this.resume(),je=this.stack[this.stack.length-1];je.label=Ne,je.identifier=ul(this.sliceSerialize(pe)).toLowerCase()}function Y(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.title=pe}function ve(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.url=pe}function j(pe){const Ne=this.stack[this.stack.length-1];if(!Ne.depth){const je=this.sliceSerialize(pe).length;Ne.depth=je}}function ee(){this.data.setextHeadingSlurpLineEnding=!0}function Te(pe){const Ne=this.stack[this.stack.length-1];Ne.depth=this.sliceSerialize(pe).codePointAt(0)===61?1:2}function Se(){this.data.setextHeadingSlurpLineEnding=void 0}function me(pe){const je=this.stack[this.stack.length-1].children;let Ke=je[je.length-1];(!Ke||Ke.type!=="text")&&(Ke=fl(),Ke.position={start:bs(pe.start),end:void 0},je.push(Ke)),this.stack.push(Ke)}function q(pe){const Ne=this.stack.pop();Ne.value+=this.sliceSerialize(pe),Ne.position.end=bs(pe.end)}function Re(pe){const Ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const je=Ne.children[Ne.children.length-1];je.position.end=bs(pe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&n.canContainEols.includes(Ne.type)&&(me.call(this,pe),q.call(this,pe))}function fe(){this.data.atHardBreak=!0}function Pe(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=pe}function te(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=pe}function ge(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=pe}function M(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const Ne=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=Ne,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function K(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const Ne=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=Ne,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function ze(pe){const Ne=this.sliceSerialize(pe),je=this.stack[this.stack.length-2];je.label=p9(Ne),je.identifier=ul(Ne).toLowerCase()}function Ge(){const pe=this.stack[this.stack.length-1],Ne=this.resume(),je=this.stack[this.stack.length-1];if(this.data.inReference=!0,je.type==="link"){const Ke=pe.children;je.children=Ke}else je.alt=Ne}function E(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.url=pe}function F(){const pe=this.resume(),Ne=this.stack[this.stack.length-1];Ne.title=pe}function Oe(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function De(pe){const Ne=this.resume(),je=this.stack[this.stack.length-1];je.label=Ne,je.identifier=ul(this.sliceSerialize(pe)).toLowerCase(),this.data.referenceType="full"}function Le(pe){this.data.characterReferenceType=pe.type}function Ee(pe){const Ne=this.sliceSerialize(pe),je=this.data.characterReferenceType;let Ke;je?(Ke=i1(Ne,je==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ke=hm(Ne);const Ot=this.stack[this.stack.length-1];Ot.value+=Ke}function Ue(pe){const Ne=this.stack.pop();Ne.position.end=bs(pe.end)}function de(pe){q.call(this,pe);const Ne=this.stack[this.stack.length-1];Ne.url=this.sliceSerialize(pe)}function se(pe){q.call(this,pe);const Ne=this.stack[this.stack.length-1];Ne.url="mailto:"+this.sliceSerialize(pe)}function ye(){return{type:"blockquote",children:[]}}function Ce(){return{type:"code",lang:null,meta:null,value:""}}function Me(){return{type:"inlineCode",value:""}}function Je(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Tt(){return{type:"emphasis",children:[]}}function pn(){return{type:"heading",depth:0,children:[]}}function mt(){return{type:"break"}}function rn(){return{type:"html",value:""}}function yi(){return{type:"image",title:null,url:"",alt:null}}function ii(){return{type:"link",title:null,url:"",children:[]}}function On(pe){return{type:"list",ordered:pe.type==="listOrdered",start:null,spread:pe._spread,children:[]}}function mn(pe){return{type:"listItem",spread:pe._spread,checked:null,children:[]}}function St(){return{type:"paragraph",children:[]}}function Pn(){return{type:"strong",children:[]}}function fl(){return{type:"text",value:""}}function ys(){return{type:"thematicBreak"}}}function bs(e){return{line:e.line,column:e.column,offset:e.offset}}function S1(e,n){let r=-1;for(;++r<n.length;){const a=n[r];Array.isArray(a)?S1(e,a):v9(e,a)}}function v9(e,n){let r;for(r in n)if(A1.call(n,r))switch(r){case"canContainEols":{const a=n[r];a&&e[r].push(...a);break}case"transforms":{const a=n[r];a&&e[r].push(...a);break}case"enter":case"exit":{const a=n[r];a&&Object.assign(e[r],a);break}}}function w1(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+rd({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+rd({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+rd({start:n.start,end:n.end})+") is still open")}function x9(e){const n=this;n.parser=r;function r(a){return b9(a,We(G(G({},n.data("settings")),e),{extensions:n.data("micromarkExtensions")||[],mdastExtensions:n.data("fromMarkdownExtensions")||[]}))}}function A9(e,n){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,r),e.applyData(n,r)}function S9(e,n){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,r),[e.applyData(n,r),{type:"text",value:`
74
- `}]}function w9(e,n){const r=n.value?n.value+`
75
- `:"",a={};n.lang&&(a.className=["language-"+n.lang]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:r}]};return n.meta&&(o.data={meta:n.meta}),e.patch(n,o),o=e.applyData(n,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(n,o),o}function k9(e,n){const r={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function E9(e,n){const r={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function _9(e,n){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(n.identifier).toUpperCase(),o=Ec(a.toLowerCase()),u=e.footnoteOrder.indexOf(a);let c,m=e.footnoteCounts.get(a);m===void 0?(m=0,e.footnoteOrder.push(a),c=e.footnoteOrder.length):c=u+1,m+=1,e.footnoteCounts.set(a,m);const b={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(m>1?"-"+m:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(c)}]};e.patch(n,b);const y={type:"element",tagName:"sup",properties:{},children:[b]};return e.patch(n,y),e.applyData(n,y)}function C9(e,n){const r={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function T9(e,n){if(e.options.allowDangerousHtml){const r={type:"raw",value:n.value};return e.patch(n,r),e.applyData(n,r)}}function k1(e,n){const r=n.referenceType;let a="]";if(r==="collapsed"?a+="[]":r==="full"&&(a+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return[{type:"text",value:"!["+n.alt+a}];const o=e.all(n),u=o[0];u&&u.type==="text"?u.value="["+u.value:o.unshift({type:"text",value:"["});const c=o[o.length-1];return c&&c.type==="text"?c.value+=a:o.push({type:"text",value:a}),o}function R9(e,n){const r=String(n.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return k1(e,n);const o={src:Ec(a.url||""),alt:n.alt};a.title!==null&&a.title!==void 0&&(o.title=a.title);const u={type:"element",tagName:"img",properties:o,children:[]};return e.patch(n,u),e.applyData(n,u)}function z9(e,n){const r={src:Ec(n.url)};n.alt!==null&&n.alt!==void 0&&(r.alt=n.alt),n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(n,a),e.applyData(n,a)}function O9(e,n){const r={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,r);const a={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(n,a),e.applyData(n,a)}function P9(e,n){const r=String(n.identifier).toUpperCase(),a=e.definitionById.get(r);if(!a)return k1(e,n);const o={href:Ec(a.url||"")};a.title!==null&&a.title!==void 0&&(o.title=a.title);const u={type:"element",tagName:"a",properties:o,children:e.all(n)};return e.patch(n,u),e.applyData(n,u)}function D9(e,n){const r={href:Ec(n.url)};n.title!==null&&n.title!==void 0&&(r.title=n.title);const a={type:"element",tagName:"a",properties:r,children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function M9(e,n,r){const a=e.all(n),o=r?N9(r):E1(n),u={},c=[];if(typeof n.checked=="boolean"){const A=a[0];let w;A&&A.type==="element"&&A.tagName==="p"?w=A:(w={type:"element",tagName:"p",properties:{},children:[]},a.unshift(w)),w.children.length>0&&w.children.unshift({type:"text",value:" "}),w.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let m=-1;for(;++m<a.length;){const A=a[m];(o||m!==0||A.type!=="element"||A.tagName!=="p")&&c.push({type:"text",value:`
76
- `}),A.type==="element"&&A.tagName==="p"&&!o?c.push(...A.children):c.push(A)}const b=a[a.length-1];b&&(o||b.type!=="element"||b.tagName!=="p")&&c.push({type:"text",value:`
77
- `});const y={type:"element",tagName:"li",properties:u,children:c};return e.patch(n,y),e.applyData(n,y)}function N9(e){let n=!1;if(e.type==="list"){n=e.spread||!1;const r=e.children;let a=-1;for(;!n&&++a<r.length;)n=E1(r[a])}return n}function E1(e){const n=e.spread;return n==null?e.children.length>1:n}function I9(e,n){const r={},a=e.all(n);let o=-1;for(typeof n.start=="number"&&n.start!==1&&(r.start=n.start);++o<a.length;){const c=a[o];if(c.type==="element"&&c.tagName==="li"&&c.properties&&Array.isArray(c.properties.className)&&c.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const u={type:"element",tagName:n.ordered?"ol":"ul",properties:r,children:e.wrap(a,!0)};return e.patch(n,u),e.applyData(n,u)}function L9(e,n){const r={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function B9(e,n){const r={type:"root",children:e.wrap(e.all(n))};return e.patch(n,r),e.applyData(n,r)}function F9(e,n){const r={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function H9(e,n){const r=e.all(n),a=r.shift(),o=[];if(a){const c={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(n.children[0],c),o.push(c)}if(r.length>0){const c={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},m=lm(n.children[1]),b=Zv(n.children[n.children.length-1]);m&&b&&(c.position={start:m,end:b}),o.push(c)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(n,u),e.applyData(n,u)}function W9(e,n,r){const a=r?r.children:void 0,u=(a?a.indexOf(n):1)===0?"th":"td",c=r&&r.type==="table"?r.align:void 0,m=c?c.length:n.children.length;let b=-1;const y=[];for(;++b<m;){const w=n.children[b],k={},_=c?c[b]:void 0;_&&(k.align=_);let P={type:"element",tagName:u,properties:k,children:[]};w&&(P.children=e.all(w),e.patch(w,P),P=e.applyData(w,P)),y.push(P)}const A={type:"element",tagName:"tr",properties:{},children:e.wrap(y,!0)};return e.patch(n,A),e.applyData(n,A)}function G9(e,n){const r={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}const _1=9,C1=32;function Y9(e){const n=String(e),r=/\r?\n|\r/g;let a=r.exec(n),o=0;const u=[];for(;a;)u.push(T1(n.slice(o,a.index),o>0,!0),a[0]),o=a.index+a[0].length,a=r.exec(n);return u.push(T1(n.slice(o),o>0,!1)),u.join("")}function T1(e,n,r){let a=0,o=e.length;if(n){let u=e.codePointAt(a);for(;u===_1||u===C1;)a++,u=e.codePointAt(a)}if(r){let u=e.codePointAt(o-1);for(;u===_1||u===C1;)o--,u=e.codePointAt(o-1)}return o>a?e.slice(a,o):""}function U9(e,n){const r={type:"text",value:Y9(String(n.value))};return e.patch(n,r),e.applyData(n,r)}function Z9(e,n){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,r),e.applyData(n,r)}const V9={blockquote:A9,break:S9,code:w9,delete:k9,emphasis:E9,footnoteReference:_9,heading:C9,html:T9,imageReference:R9,image:z9,inlineCode:O9,linkReference:P9,link:D9,listItem:M9,list:I9,paragraph:L9,root:B9,strong:F9,table:H9,tableCell:G9,tableRow:W9,text:U9,thematicBreak:Z9,toml:Qh,yaml:Qh,definition:Qh,footnoteDefinition:Qh};function Qh(){}const R1=-1,jh=0,sd=1,qh=2,vm=3,xm=4,Am=5,Sm=6,z1=7,O1=8,P1=typeof self=="object"?self:globalThis,X9=(e,n)=>{const r=(o,u)=>(e.set(u,o),o),a=o=>{if(e.has(o))return e.get(o);const[u,c]=n[o];switch(u){case jh:case R1:return r(c,o);case sd:{const m=r([],o);for(const b of c)m.push(a(b));return m}case qh:{const m=r({},o);for(const[b,y]of c)m[a(b)]=a(y);return m}case vm:return r(new Date(c),o);case xm:{const{source:m,flags:b}=c;return r(new RegExp(m,b),o)}case Am:{const m=r(new Map,o);for(const[b,y]of c)m.set(a(b),a(y));return m}case Sm:{const m=r(new Set,o);for(const b of c)m.add(a(b));return m}case z1:{const{name:m,message:b}=c;return r(new P1[m](b),o)}case O1:return r(BigInt(c),o);case"BigInt":return r(Object(BigInt(c)),o);case"ArrayBuffer":return r(new Uint8Array(c).buffer,c);case"DataView":{const{buffer:m}=new Uint8Array(c);return r(new DataView(m),c)}}return r(new P1[u](c),o)};return a},D1=e=>X9(new Map,e)(0),Cc="",{toString:J9}={},{keys:K9}=Object,ud=e=>{const n=typeof e;if(n!=="object"||!e)return[jh,n];const r=J9.call(e).slice(8,-1);switch(r){case"Array":return[sd,Cc];case"Object":return[qh,Cc];case"Date":return[vm,Cc];case"RegExp":return[xm,Cc];case"Map":return[Am,Cc];case"Set":return[Sm,Cc];case"DataView":return[sd,r]}return r.includes("Array")?[sd,r]:r.includes("Error")?[z1,r]:[qh,r]},$h=([e,n])=>e===jh&&(n==="function"||n==="symbol"),Q9=(e,n,r,a)=>{const o=(c,m)=>{const b=a.push(c)-1;return r.set(m,b),b},u=c=>{if(r.has(c))return r.get(c);let[m,b]=ud(c);switch(m){case jh:{let A=c;switch(b){case"bigint":m=O1,A=c.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+b);A=null;break;case"undefined":return o([R1],c)}return o([m,A],c)}case sd:{if(b){let k=c;return b==="DataView"?k=new Uint8Array(c.buffer):b==="ArrayBuffer"&&(k=new Uint8Array(c)),o([b,[...k]],c)}const A=[],w=o([m,A],c);for(const k of c)A.push(u(k));return w}case qh:{if(b)switch(b){case"BigInt":return o([b,c.toString()],c);case"Boolean":case"Number":case"String":return o([b,c.valueOf()],c)}if(n&&"toJSON"in c)return u(c.toJSON());const A=[],w=o([m,A],c);for(const k of K9(c))(e||!$h(ud(c[k])))&&A.push([u(k),u(c[k])]);return w}case vm:return o([m,c.toISOString()],c);case xm:{const{source:A,flags:w}=c;return o([m,{source:A,flags:w}],c)}case Am:{const A=[],w=o([m,A],c);for(const[k,_]of c)(e||!($h(ud(k))||$h(ud(_))))&&A.push([u(k),u(_)]);return w}case Sm:{const A=[],w=o([m,A],c);for(const k of c)(e||!$h(ud(k)))&&A.push(u(k));return w}}const{message:y}=c;return o([m,{name:b,message:y}],c)};return u},M1=(e,{json:n,lossy:r}={})=>{const a=[];return Q9(!(n||r),!!n,new Map,a)(e),a},eg=typeof structuredClone=="function"?(e,n)=>n&&("json"in n||"lossy"in n)?D1(M1(e,n)):structuredClone(e):(e,n)=>D1(M1(e,n));function j9(e,n){const r=[{type:"text",value:"↩"}];return n>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(n)}]}),r}function q9(e,n){return"Back to reference "+(e+1)+(n>1?"-"+n:"")}function $9(e){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||j9,a=e.options.footnoteBackLabel||q9,o=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",c=e.options.footnoteLabelProperties||{className:["sr-only"]},m=[];let b=-1;for(;++b<e.footnoteOrder.length;){const y=e.footnoteById.get(e.footnoteOrder[b]);if(!y)continue;const A=e.all(y),w=String(y.identifier).toUpperCase(),k=Ec(w.toLowerCase());let _=0;const P=[],N=e.footnoteCounts.get(w);for(;N!==void 0&&++_<=N;){P.length>0&&P.push({type:"text",value:" "});let J=typeof r=="string"?r:r(b,_);typeof J=="string"&&(J={type:"text",value:J}),P.push({type:"element",tagName:"a",properties:{href:"#"+n+"fnref-"+k+(_>1?"-"+_:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(b,_),className:["data-footnote-backref"]},children:Array.isArray(J)?J:[J]})}const W=A[A.length-1];if(W&&W.type==="element"&&W.tagName==="p"){const J=W.children[W.children.length-1];J&&J.type==="text"?J.value+=" ":W.children.push({type:"text",value:" "}),W.children.push(...P)}else A.push(...P);const H={type:"element",tagName:"li",properties:{id:n+"fn-"+k},children:e.wrap(A,!0)};e.patch(y,H),m.push(H)}if(m.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:We(G({},eg(c)),{id:"footnote-label"}),children:[{type:"text",value:o}]},{type:"text",value:`
78
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(m,!0)},{type:"text",value:`
79
- `}]}}const tg=(function(e){if(e==null)return rz;if(typeof e=="function")return ng(e);if(typeof e=="object")return Array.isArray(e)?ez(e):tz(e);if(typeof e=="string")return nz(e);throw new Error("Expected function, string, or object as test")});function ez(e){const n=[];let r=-1;for(;++r<e.length;)n[r]=tg(e[r]);return ng(a);function a(...o){let u=-1;for(;++u<n.length;)if(n[u].apply(this,o))return!0;return!1}}function tz(e){const n=e;return ng(r);function r(a){const o=a;let u;for(u in e)if(o[u]!==n[u])return!1;return!0}}function nz(e){return ng(n);function n(r){return r&&r.type===e}}function ng(e){return n;function n(r,a,o){return!!(iz(r)&&e.call(this,r,typeof a=="number"?a:void 0,o||void 0))}}function rz(){return!0}function iz(e){return e!==null&&typeof e=="object"&&"type"in e}function FI(e){return e}const N1=[],az=!0,wm=!1,lz="skip";function I1(e,n,r,a){let o;typeof n=="function"&&typeof r!="function"?(a=r,r=n):o=n;const u=tg(o),c=a?-1:1;m(e,void 0,[])();function m(b,y,A){const w=b&&typeof b=="object"?b:{};if(typeof w.type=="string"){const _=typeof w.tagName=="string"?w.tagName:typeof w.name=="string"?w.name:void 0;Object.defineProperty(k,"name",{value:"node ("+(b.type+(_?"<"+_+">":""))+")"})}return k;function k(){let _=N1,P,N,W;if((!n||u(b,y,A[A.length-1]||void 0))&&(_=oz(r(b,A)),_[0]===wm))return _;if("children"in b&&b.children){const H=b;if(H.children&&_[0]!==lz)for(N=(a?H.children.length:-1)+c,W=A.concat(H);N>-1&&N<H.children.length;){const J=H.children[N];if(P=m(J,N,W)(),P[0]===wm)return P;N=typeof P[1]=="number"?P[1]:N+c}}return _}}}function oz(e){return Array.isArray(e)?e:typeof e=="number"?[az,e]:e==null?N1:[e]}function km(e,n,r,a){let o,u,c;typeof n=="function"&&typeof r!="function"?(u=void 0,c=n,o=r):(u=n,c=r,o=a),I1(e,u,m,o);function m(b,y){const A=y[y.length-1],w=A?A.children.indexOf(b):void 0;return c(b,w,A)}}const Em={}.hasOwnProperty,sz={};function uz(e,n){const r=n||sz,a=new Map,o=new Map,u=new Map,c=G(G({},V9),r.handlers),m={all:y,applyData:fz,definitionById:a,footnoteById:o,footnoteCounts:u,footnoteOrder:[],handlers:c,one:b,options:r,patch:cz,wrap:hz};return km(e,function(A){if(A.type==="definition"||A.type==="footnoteDefinition"){const w=A.type==="definition"?a:o,k=String(A.identifier).toUpperCase();w.has(k)||w.set(k,A)}}),m;function b(A,w){const k=A.type,_=m.handlers[k];if(Em.call(m.handlers,k)&&_)return _(m,A,w);if(m.options.passThrough&&m.options.passThrough.includes(k)){if("children"in A){const N=A,{children:W}=N,H=Or(N,["children"]),J=eg(H);return J.children=m.all(A),J}return eg(A)}return(m.options.unknownHandler||dz)(m,A,w)}function y(A){const w=[];if("children"in A){const k=A.children;let _=-1;for(;++_<k.length;){const P=m.one(k[_],A);if(P){if(_&&k[_-1].type==="break"&&(!Array.isArray(P)&&P.type==="text"&&(P.value=L1(P.value)),!Array.isArray(P)&&P.type==="element")){const N=P.children[0];N&&N.type==="text"&&(N.value=L1(N.value))}Array.isArray(P)?w.push(...P):w.push(P)}}}return w}}function cz(e,n){e.position&&(n.position=oR(e))}function fz(e,n){let r=n;if(e&&e.data){const a=e.data.hName,o=e.data.hChildren,u=e.data.hProperties;if(typeof a=="string")if(r.type==="element")r.tagName=a;else{const c="children"in r?r.children:[r];r={type:"element",tagName:a,properties:{},children:c}}r.type==="element"&&u&&Object.assign(r.properties,eg(u)),"children"in r&&r.children&&o!==null&&o!==void 0&&(r.children=o)}return r}function dz(e,n){const r=n.data||{},a="value"in n&&!(Em.call(r,"hProperties")||Em.call(r,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function hz(e,n){const r=[];let a=-1;for(n&&r.push({type:"text",value:`
80
- `});++a<e.length;)a&&r.push({type:"text",value:`
81
- `}),r.push(e[a]);return n&&e.length>0&&r.push({type:"text",value:`
82
- `}),r}function L1(e){let n=0,r=e.charCodeAt(n);for(;r===9||r===32;)n++,r=e.charCodeAt(n);return e.slice(n)}function B1(e,n){const r=uz(e,n),a=r.one(e,void 0),o=$9(r),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return o&&u.children.push({type:"text",value:`
83
- `},o),u}function gz(e,n){return e&&"run"in e?function(r,a){return ll(this,null,function*(){const o=B1(r,G({file:a},n));yield e.run(o,a)})}:function(r,a){return B1(r,G({file:a},e||n))}}function F1(e){if(e)throw e}var _m,H1;function pz(){if(H1)return _m;H1=1;var e=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(y){return typeof Array.isArray=="function"?Array.isArray(y):n.call(y)==="[object Array]"},u=function(y){if(!y||n.call(y)!=="[object Object]")return!1;var A=e.call(y,"constructor"),w=y.constructor&&y.constructor.prototype&&e.call(y.constructor.prototype,"isPrototypeOf");if(y.constructor&&!A&&!w)return!1;var k;for(k in y);return typeof k=="undefined"||e.call(y,k)},c=function(y,A){r&&A.name==="__proto__"?r(y,A.name,{enumerable:!0,configurable:!0,value:A.newValue,writable:!0}):y[A.name]=A.newValue},m=function(y,A){if(A==="__proto__")if(e.call(y,A)){if(a)return a(y,A).value}else return;return y[A]};return _m=function b(){var y,A,w,k,_,P,N=arguments[0],W=1,H=arguments.length,J=!1;for(typeof N=="boolean"&&(J=N,N=arguments[1]||{},W=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});W<H;++W)if(y=arguments[W],y!=null)for(A in y)w=m(N,A),k=m(y,A),N!==k&&(J&&k&&(u(k)||(_=o(k)))?(_?(_=!1,P=w&&o(w)?w:[]):P=w&&u(w)?w:{},c(N,{name:A,newValue:b(J,P,k)})):typeof k!="undefined"&&c(N,{name:A,newValue:k}));return N},_m}var mz=pz();const Cm=cn(mz);function Tm(e){if(typeof e!="object"||e===null)return!1;const n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function bz(){const e=[],n={run:r,use:a};return n;function r(...o){let u=-1;const c=o.pop();if(typeof c!="function")throw new TypeError("Expected function as last argument, not "+c);m(null,...o);function m(b,...y){const A=e[++u];let w=-1;if(b){c(b);return}for(;++w<o.length;)(y[w]===null||y[w]===void 0)&&(y[w]=o[w]);o=y,A?yz(A,m)(...y):c(null,...y)}}function a(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),n}}function yz(e,n){let r;return a;function a(...c){const m=e.length>c.length;let b;m&&c.push(o);try{b=e.apply(this,c)}catch(y){const A=y;if(m&&r)throw A;return o(A)}m||(b&&b.then&&typeof b.then=="function"?b.then(u,o):b instanceof Error?o(b):u(b))}function o(c,...m){r||(r=!0,n(c,...m))}function u(c){o(null,c)}}const io={basename:vz,dirname:xz,extname:Az,join:Sz,sep:"/"};function vz(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');cd(e);let r=0,a=-1,o=e.length,u;if(n===void 0||n.length===0||n.length>e.length){for(;o--;)if(e.codePointAt(o)===47){if(u){r=o+1;break}}else a<0&&(u=!0,a=o+1);return a<0?"":e.slice(r,a)}if(n===e)return"";let c=-1,m=n.length-1;for(;o--;)if(e.codePointAt(o)===47){if(u){r=o+1;break}}else c<0&&(u=!0,c=o+1),m>-1&&(e.codePointAt(o)===n.codePointAt(m--)?m<0&&(a=o):(m=-1,a=c));return r===a?a=c:a<0&&(a=e.length),e.slice(r,a)}function xz(e){if(cd(e),e.length===0)return".";let n=-1,r=e.length,a;for(;--r;)if(e.codePointAt(r)===47){if(a){n=r;break}}else a||(a=!0);return n<0?e.codePointAt(0)===47?"/":".":n===1&&e.codePointAt(0)===47?"//":e.slice(0,n)}function Az(e){cd(e);let n=e.length,r=-1,a=0,o=-1,u=0,c;for(;n--;){const m=e.codePointAt(n);if(m===47){if(c){a=n+1;break}continue}r<0&&(c=!0,r=n+1),m===46?o<0?o=n:u!==1&&(u=1):o>-1&&(u=-1)}return o<0||r<0||u===0||u===1&&o===r-1&&o===a+1?"":e.slice(o,r)}function Sz(...e){let n=-1,r;for(;++n<e.length;)cd(e[n]),e[n]&&(r=r===void 0?e[n]:r+"/"+e[n]);return r===void 0?".":wz(r)}function wz(e){cd(e);const n=e.codePointAt(0)===47;let r=kz(e,!n);return r.length===0&&!n&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),n?"/"+r:r}function kz(e,n){let r="",a=0,o=-1,u=0,c=-1,m,b;for(;++c<=e.length;){if(c<e.length)m=e.codePointAt(c);else{if(m===47)break;m=47}if(m===47){if(!(o===c-1||u===1))if(o!==c-1&&u===2){if(r.length<2||a!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(b=r.lastIndexOf("/"),b!==r.length-1){b<0?(r="",a=0):(r=r.slice(0,b),a=r.length-1-r.lastIndexOf("/")),o=c,u=0;continue}}else if(r.length>0){r="",a=0,o=c,u=0;continue}}n&&(r=r.length>0?r+"/..":"..",a=2)}else r.length>0?r+="/"+e.slice(o+1,c):r=e.slice(o+1,c),a=c-o-1;o=c,u=0}else m===46&&u>-1?u++:u=-1}return r}function cd(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Ez={cwd:_z};function _z(){return"/"}function Rm(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function Cz(e){if(typeof e=="string")e=new URL(e);else if(!Rm(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){const n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return Tz(e)}function Tz(e){if(e.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const n=e.pathname;let r=-1;for(;++r<n.length;)if(n.codePointAt(r)===37&&n.codePointAt(r+1)===50){const a=n.codePointAt(r+2);if(a===70||a===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(n)}const zm=["history","path","basename","stem","extname","dirname"];class W1{constructor(n){let r;n?Rm(n)?r={path:n}:typeof n=="string"||Rz(n)?r={value:n}:r=n:r={},this.cwd="cwd"in r?"":Ez.cwd(),this.data={},this.history=[],this.messages=[];let a=-1;for(;++a<zm.length;){const u=zm[a];u in r&&r[u]!==void 0&&r[u]!==null&&(this[u]=u==="history"?[...r[u]]:r[u])}let o;for(o in r)zm.includes(o)||(this[o]=r[o])}get basename(){return typeof this.path=="string"?io.basename(this.path):void 0}set basename(n){Pm(n,"basename"),Om(n,"basename"),this.path=io.join(this.dirname||"",n)}get dirname(){return typeof this.path=="string"?io.dirname(this.path):void 0}set dirname(n){G1(this.basename,"dirname"),this.path=io.join(n||"",this.basename)}get extname(){return typeof this.path=="string"?io.extname(this.path):void 0}set extname(n){if(Om(n,"extname"),G1(this.dirname,"extname"),n){if(n.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=io.join(this.dirname,this.stem+(n||""))}get path(){return this.history[this.history.length-1]}set path(n){Rm(n)&&(n=Cz(n)),Pm(n,"path"),this.path!==n&&this.history.push(n)}get stem(){return typeof this.path=="string"?io.basename(this.path,this.extname):void 0}set stem(n){Pm(n,"stem"),Om(n,"stem"),this.path=io.join(this.dirname||"",n+(this.extname||""))}fail(n,r,a){const o=this.message(n,r,a);throw o.fatal=!0,o}info(n,r,a){const o=this.message(n,r,a);return o.fatal=void 0,o}message(n,r,a){const o=new ni(n,r,a);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}toString(n){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(n||void 0).decode(this.value)}}function Om(e,n){if(e&&e.includes(io.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+io.sep+"`")}function Pm(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function G1(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function Rz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const zz=(function(e){const a=this.constructor.prototype,o=a[e],u=function(){return o.apply(u,arguments)};return Object.setPrototypeOf(u,a),u}),Oz={}.hasOwnProperty;class Dm extends zz{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=bz()}copy(){const n=new Dm;let r=-1;for(;++r<this.attachers.length;){const a=this.attachers[r];n.use(...a)}return n.data(Cm(!0,{},this.namespace)),n}data(n,r){return typeof n=="string"?arguments.length===2?(Im("data",this.frozen),this.namespace[n]=r,this):Oz.call(this.namespace,n)&&this.namespace[n]||void 0:n?(Im("data",this.frozen),this.namespace=n,this):this.namespace}freeze(){if(this.frozen)return this;const n=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const o=r.call(n,...a);typeof o=="function"&&this.transformers.use(o)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(n){this.freeze();const r=rg(n),a=this.parser||this.Parser;return Mm("parse",a),a(String(r),r)}process(n,r){const a=this;return this.freeze(),Mm("process",this.parser||this.Parser),Nm("process",this.compiler||this.Compiler),r?o(void 0,r):new Promise(o);function o(u,c){const m=rg(n),b=a.parse(m);a.run(b,m,function(A,w,k){if(A||!w||!k)return y(A);const _=w,P=a.stringify(_,k);Mz(P)?k.value=P:k.result=P,y(A,k)});function y(A,w){A||!w?c(A):u?u(w):r(void 0,w)}}}processSync(n){let r=!1,a;return this.freeze(),Mm("processSync",this.parser||this.Parser),Nm("processSync",this.compiler||this.Compiler),this.process(n,o),U1("processSync","process",r),a;function o(u,c){r=!0,F1(u),a=c}}run(n,r,a){Y1(n),this.freeze();const o=this.transformers;return!a&&typeof r=="function"&&(a=r,r=void 0),a?u(void 0,a):new Promise(u);function u(c,m){const b=rg(r);o.run(n,b,y);function y(A,w,k){const _=w||n;A?m(A):c?c(_):a(void 0,_,k)}}}runSync(n,r){let a=!1,o;return this.run(n,r,u),U1("runSync","run",a),o;function u(c,m){F1(c),o=m,a=!0}}stringify(n,r){this.freeze();const a=rg(r),o=this.compiler||this.Compiler;return Nm("stringify",o),Y1(n),o(n,a)}use(n,...r){const a=this.attachers,o=this.namespace;if(Im("use",this.frozen),n!=null)if(typeof n=="function")b(n,r);else if(typeof n=="object")Array.isArray(n)?m(n):c(n);else throw new TypeError("Expected usable value, not `"+n+"`");return this;function u(y){if(typeof y=="function")b(y,[]);else if(typeof y=="object")if(Array.isArray(y)){const[A,...w]=y;b(A,w)}else c(y);else throw new TypeError("Expected usable value, not `"+y+"`")}function c(y){if(!("plugins"in y)&&!("settings"in y))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");m(y.plugins),y.settings&&(o.settings=Cm(!0,o.settings,y.settings))}function m(y){let A=-1;if(y!=null)if(Array.isArray(y))for(;++A<y.length;){const w=y[A];u(w)}else throw new TypeError("Expected a list of plugins, not `"+y+"`")}function b(y,A){let w=-1,k=-1;for(;++w<a.length;)if(a[w][0]===y){k=w;break}if(k===-1)a.push([y,...A]);else if(A.length>0){let[_,...P]=A;const N=a[k][1];Tm(N)&&Tm(_)&&(_=Cm(!0,N,_)),a[k]=[y,_,...P]}}}}const Pz=new Dm().freeze();function Mm(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Nm(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Im(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Y1(e){if(!Tm(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function U1(e,n,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function rg(e){return Dz(e)?e:new W1(e)}function Dz(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Mz(e){return typeof e=="string"||Nz(e)}function Nz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Z1=[],V1={allowDangerousHtml:!0},Iz=/^(https?|ircs?|mailto|xmpp)$/i,Lz=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function X1(e){const n=Bz(e),r=Fz(e);return Hz(n.runSync(n.parse(r),r),e)}function Bz(e){const n=e.rehypePlugins||Z1,r=e.remarkPlugins||Z1,a=e.remarkRehypeOptions?G(G({},e.remarkRehypeOptions),V1):V1;return Pz().use(x9).use(r).use(gz,a).use(n)}function Fz(e){const n=e.children||"",r=new W1;return typeof n=="string"&&(r.value=n),r}function Hz(e,n){const r=n.allowedElements,a=n.allowElement,o=n.components,u=n.disallowedElements,c=n.skipHtml,m=n.unwrapDisallowed,b=n.urlTransform||Wz;for(const A of Lz);return km(e,y),dR(e,{Fragment:$.Fragment,components:o,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0});function y(A,w,k){if(A.type==="raw"&&k&&typeof w=="number")return c?k.children.splice(w,1):k.children[w]={type:"text",value:A.value},w;if(A.type==="element"){let _;for(_ in fm)if(Object.hasOwn(fm,_)&&Object.hasOwn(A.properties,_)){const P=A.properties[_],N=fm[_];(N===null||N.includes(A.tagName))&&(A.properties[_]=b(String(P||""),_,A))}}if(A.type==="element"){let _=r?!r.includes(A.tagName):u?u.includes(A.tagName):!1;if(!_&&a&&typeof w=="number"&&(_=!a(A,w,k)),_&&k&&typeof w=="number")return m&&A.children?k.children.splice(w,1,...A.children):k.children.splice(w,1),w}}}function Wz(e){const n=e.indexOf(":"),r=e.indexOf("?"),a=e.indexOf("#"),o=e.indexOf("/");return n===-1||o!==-1&&n>o||r!==-1&&n>r||a!==-1&&n>a||Iz.test(e.slice(0,n))?e:""}const Gz="data:image/x-icon;base64,AAABAAMAEBAAAAEAIABoBAAANgAAACAgAAABACAAKBEAAJ4EAAAwMAAAAQAgAGgmAADGFQAAKAAAABAAAAAgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACza1tRuG9e0blzX/27dWD/vXlg/798Yf/Bf2L/woNj/8SGZP/GimX/yI1m/8qQZ/3LlGfPz5lpSwAAAAC2bFxQt25e/blxXv+6dGD/vHhg/757Yf/AfmL/woJj/8OFZP/FiGX/x4xm/8mPZv/Lk2f/zZZo/86Zaf3RnGpItm1d0bhwXv+6c1//vHZg/756Yf+/fWL/wYFj/8OEY//Fh2T/xotl/8iOZv/KkWf/zJVo/86Yaf/QnGr/0Z9ryLdvXv25cl//u3Vg/715YP+/fGH/wX9i/8KDY//EhmT/xopl/8iNZv/KkGf/y5Ro/82Xaf/Pmmr/0Z5q/9OhbPS5cV7/u3Rg/7x4YP/PnYr/7NjQ/+7d1v/s2M7/5cu7/9u0m//Ml3D/y5Nn/82WaP/OmWn/0J1q/9Kga//Uo2v3unNf/7x3YP++emH/79/Z/////////////////////////////fv5/+jPuv/PnG7/0Jxq/9Gfa//Tomz/1aZs97t2YP+9eWD/v3xh/8yXf//Roor/0aCF/+XKuv///////vz7//fv6P//////8+bZ/9Kgbf/ToWv/1aVs/9eobfe8eGD/vnth/8B+Yv/CgmP/xIVk/8WIZf/iw7D//////+fMt//Nlmj/27WS//z69//lyKj/1KNs/9anbf/Yqm33vnph/799Yv/BgWP/xIdo/+7d0//Pm3v/2rOY///////p0r//zphp/9Ccav/oz7X/8uTU/9Wmbf/XqW3/2axu9798Yf/BgGL/woNj/8iOb//9/Pv/9Oni/9Cdd//37+j/+/j1/9Slef/Rnmr/6M+0//Lk0//WqG3/2Ktu/9qub/fAf2L/woJj/8SFZP/FiWX/27Wc//z6+P/69fL/7NfG//36+P/58+z/7dnE//r07f/euIn/2Kpu/9mub//bsW/3wYFj/8OEZP/Fh2T/x4tl/8mOZv/Pm3X/4sOq/+7cy//y5df/8N/O/+fMrv/YrXj/16lt/9msbv/bsHD/3LNv98OEY/zEhmT/xopl/8iNZv/KkGf/y5Ro/82Xaf/Pmmr/0Z5q/9Oha//VpWz/1qht/9irbv/ar2//3LJw/961cfTDhWTRxYll/8eMZv/Jj2f/y5Nn/82WaP/OmWn/0J1q/9Kga//Uo2z/1qdt/9iqbv/Zrm//27Fw/920cf/etnDIxolmUMiLZv3Jjmb/ypJn/8yVaP/OmGn/0Jxq/9Kfa//Tomz/1aZt/9epbv/ZrG7/27Bw/9yzcP/etXH937hxSAAAAADGjmVRy5Fo0cyUaP3Nl2n/z5pq/9Geav/ToWv/1aVs/9aobf/Yq27/2q9v/9yycP3etXHP4LRwSwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAACAAAABAAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKpjVRK2bl17uG9fzblyXve6c1//unRf/7t2YP+8eGD/vXlh/757Yf+/fWH/wH5i/8GAYv/CgmP/w4Rj/8OFZP/Eh2T/xYhl/8aKZf/HjGb/yI1m/8mPZv/KkWf2y5NoycyVanTYnWINAAAAAAAAAAAAAAAAAAAAAAAAAAC3bF1Htm1d6rdvXv+4cF7/uXJf/7p0X/+7dWD/vHdg/715YP++e2H/v3xh/8B+Yv/Bf2L/wYFj/8KDY//DhGT/xIZk/8WIZf/GimX/x4tl/8iNZv/Jj2b/ypBn/8uSZ//LlGj/zJVo/82XaOTNlmk9AAAAAAAAAAAAAAAAtGxdR7ZtXfm3bl7/uHBe/7lyXv+6c1//u3Vg/7x2YP+9eGD/vnph/758Yf+/fWL/wH9i/8GBY//CgmP/w4Rj/8SGZP/Fh2T/xoll/8eLZf/IjWb/yI5m/8mQZ//KkWf/y5No/8yVaP/Nlmj/zphp/86ZafbPmmo6AAAAALRpWhG2bF3pt21d/7hwXv+5cV7/unNf/7p0X/+7dmD/vHhg/715Yf++e2H/v31h/8B+Yv/BgGL/woJj/8OEY//DhWT/xIdk/8WIZf/GimX/x4xm/8iNZv/Jj2b/ypFn/8uTZ//MlGj/zZZo/86Yaf/OmWn/z5tq/9Gdat/jqnEJtmtcerZtXf+3b17/uHBe/7lyX/+6dF//u3Vg/7x3YP+9eWD/vnth/798Yf/AfmL/wX9i/8GBY//Cg2P/w4Rk/8SGZP/FiGX/xopl/8eLZf/IjWb/yY9m/8qQZ//Lkmf/y5Ro/8yVaP/Nl2n/zplp/8+aav/QnGr/0Z5q/9Gea2m1bVzMt25e/7hwXv+5cl7/unNf/7t1YP+8dmD/vXhg/756Yf++fGH/v31i/8B/Yv/BgWP/woJj/8OEY//EhmT/xYdk/8aJZf/Gi2X/x4xm/8iOZv/JkGf/ypFn/8uTaP/MlWj/zZZo/86Yaf/Pmmn/0Jxq/9Gdav/Rn2v/06BrurZuXfa4cF7/uXFe/7pzX/+7dF//u3Zg/7x4YP+9eWH/vnth/799Yf/AfmL/wYBi/8KCY//DhGP/w4Vk/8SHZP/FiGX/xopl/8eMZv/Ijmb/yY9m/8qRZ//Lk2f/zJRo/82WaP/OmGn/zplp/8+bav/QnWr/0Z5r/9Kga//SoWvlt29e/7hwXv+5cl//unRf/7t1YP+8d2D/vXlg/757Yf+/fGH/wH5i/8F/Yv/BgWP/woNj/8OFZP/EhmT/xYhl/8aKZf/Hi2X/yI1m/8mPZv/KkGf/y5Jn/8uUaP/MlWj/zZdp/86Zaf/Pmmr/0Jxq/9Geav/Sn2v/06Fr/9OibO+4cF7/uXJe/7pzX/+7dWD/vHZg/714YP++emH/xIZu/9asm//ct6j/3ryt/968rP/ct6T/162X/9GghP/Ij23/x4tl/8iNZv/Ijmb/yZBn/8qRZ//Lk2j/zJVo/82WaP/OmGn/z5pp/9Ccav/RnWr/0Z9r/9Kha//Tomz/1KRs77lxXv+6c1//u3Rf/7t2YP+8eGD/vXlh/8OFbP/38Oz///////////////////////////////////////7+/f/16+X/5869/9arjP/Kkmj/y5Nn/8yUaP/Nlmj/zphp/86Zaf/Pm2r/0J1q/9Gea//SoGv/06Js/9SjbP/UpWzvuXJf/7p0X/+7dmD/vHdg/715YP++e2H/3Lep//////////////////////////////////////////////////////////////////fu6P/fvaH/zZdp/82Xaf/OmWn/z5pq/9Ccav/Rnmr/0p9r/9Oha//Uo2z/1aVs/9Wmbe+6c1//u3Vg/7x2YP+9eGD/vnph/758Yf/kyLz////////////////////////////////////////////////////////////////////////////06N7/1KZ9/8+aaf/QnGr/0Z1q/9Gfa//SoWv/06Js/9SkbP/Vpm3/1aht77t0X/+7dmD/vHhg/715Yf++e2H/v31h/8mSef/my7//4sS1/9+9rP/duqb/3bml/9+9qv/37+r////////////////////////////////////////////79/P/2K2F/9Cdav/Rnmv/0qBr/9OibP/Uo2z/1aVs/9anbf/WqW3vu3Zg/7x3YP+9eWD/vnth/798Yf/AfmL/wX9i/8GBY//Cg2P/w4Vk/8SGZP/FiGX/xopl//nz7//////////////////69fH/69bG//Pn3f///v7////////////69O//1KV2/9Kfa//ToWv/1KNs/9WlbP/Vpm3/1qht/9iqbu+8dmD/vXhg/756Yf++fGH/v31i/8B/Yv/BgWP/woJj/8OEZP/EhmT/xYdk/8aJZf/Hi2X//v38///////////////+/9Smgv/MlWj/zZdp/9iuif/27eX////////////t2cP/0qFr/9OibP/UpGz/1aZt/9anbf/XqW3/2Ktu77x4YP+9eWH/vnth/799Yf/AfmL/wYBi/8KCY//DhGP/xIVk/8WHZP/FiGX/xopl/8eMZv/8+vj////////////8+Pb/zJRo/82WaP/OmGn/zplp/9Kgcf/16uD///////78+//WqXb/1KNs/9WlbP/Wp23/16ht/9iqbv/ZrG7vvXlg/757Yf+/fGH/wH5i/8F/Yv/BgWP/woNj/8OFZP/WrJT/6M/B/8iNav/Hi2X/yI1m//Tp4f////////////79/P/OmW3/zZdp/86Zaf/Pmmr/0Jxq/9mvhP///v7//////+LCnv/VpWz/1qZt/9aobf/Xqm7/2Ktu/9qtb+++emH/vnxh/799Yv/Af2L/wYFj/8KCY//DhGT/ypJ0//37+v//////5Mi2/8iNZv/Ijmb/5cm1/////////////////9u0k//OmGn/z5pp/9Ccav/RnWr/0p9r//jx6P//////6tK2/9Wmbf/Wp23/16lt/9irbv/ZrG7/2q5v7757Yf+/fWL/wH9i/8GAYv/CgmP/w4Rj/8SFZP/So4n////////////+/v3/2K+T/8mPZv/QnXj//fv5////////////8ePW/8+aaf/Pm2r/0J1q/9Gea//SoGv/9+/m///////q1Ln/1qdt/9eobf/Yqm7/2axu/9mub//ar2/vv3xh/8B+Yv/Bf2L/wYFj/8KDY//DhWT/xIZk/8eMav/58/D////////////9+vn/27WZ/8uSZ//iwqr/////////////////48Wo/9Ccav/Rnmr/0p9r/9qwg//+/v3//////+LAl//WqG3/16pu/9irbv/ZrW//2q9v/9uwcO+/fWL/wH9i/8GBY//CgmP/w4Rk/8SGZP/FiGT/xoll/9Wpjf/9+/n///////////////7/7dnL/9Wngv/mzLX///7+///////+/v3/6M+2/9isgP/eupT/+fHq///////059f/1qhu/9epbf/Yq27/2axu/9qub//bsG//27Fw78B/Yv/BgGL/woJj/8OEY//EhWT/xYdk/8WIZf/GimX/x4xm/9Olhf/16+T///////////////////7+//bs5P/27eX/////////////////////////////////8eHO/9irc//XqG3/2Kpu/9msbv/Zrm//2q9v/9uxcP/csnDvwX9i/8GBY//Cg2P/w4Vk/8SGZP/FiGX/xopl/8eLZf/IjWb/yY9m/8qSaf/ct5v/8eHV//78+//////////////////////////////////+/v3/9OjZ/+HAmP/Wpm3/1qht/9eqbv/Yq27/2a1v/9qvb//bsHD/3LJw/92zcO/BgWP/woJj/8OEZP/EhmT/xYdk/8aJZf/Hi2X/yI1m/8mOZv/JkGf/ypFn/8uTaP/MlWj/z5tv/9qxjf/hwaL/5cqv/+bLsP/kxqf/3rqS/9aodv/UpGz/1aZt/9anbf/XqW3/2Ktu/9msbv/arm//27Bv/9uxcP/cs3D/3bRw78KCY//DhGP/xIVk/8SHZP/FiGX/xopl/8eMZv/Ijmb/yY9n/8qRZ//Lk2f/zJRo/82WaP/OmGn/zplp/8+bav/QnWr/0Z5r/9Kga//Tomz/1KNs/9WlbP/Wp23/16lt/9iqbv/ZrG7/2a5v/9qvb//bsXD/3LNw/920cf/etXDvw4Nj9cOFZP/EhmT/xYhl/8aKZf/Hi2X/yI1m/8mPZv/KkGf/y5Jn/8uUaP/MlWj/zZdp/86Zaf/Pmmr/0Jxq/9Geav/SoGv/06Fr/9SjbP/VpWz/1qZt/9aobf/Xqm7/2Ktu/9mtb//ar2//27Bw/9yycP/dtHD/3rVx/962cOXDg2TMxIZk/8WIZP/GiWX/x4tl/8iNZv/Jjmb/yZBn/8qRZ//Lk2j/zJVo/82Xaf/OmGn/z5pp/9Ccav/RnWr/0p9r/9Kha//Tomz/1KRs/9Wmbf/Wp23/16lt/9irbv/ZrG7/2q5v/9uwb//bsXD/3LNw/921cf/etnH/37ZwusKGZHrEh2T/xYhl/8aKZf/HjGb/yI5m/8mPZ//KkWf/y5Nn/8yUaP/Nlmj/zphp/86Zaf/Pm2r/0J1q/9Gea//SoGv/06Js/9SjbP/VpWz/1qdt/9eobf/Yqm7/2axu/9mub//ar2//27Fw/9yzcP/dtHH/3rZx/962cf/dtHBpw4daEcWIZenGimX/x4tl/8iNZv/Jj2b/ypFn/8uSZ//LlGj/zJVo/82Xaf/OmWn/z5pq/9Ccav/Rnmr/0qBr/9Oha//Uo2z/1aVs/9ambf/WqG3/16pu/9irbv/ZrW//2q9v/9uwcP/csnD/3bRw/961cf/etnH/3rZx3+PGcQkAAAAAxohlR8eLZfnIjWb/yY5m/8mQZ//KkWf/y5No/8yVaP/Nl2n/zphp/8+aaf/QnGr/0Z1q/9Kfa//ToWv/06Js/9SkbP/Vpm3/1qdt/9epbv/Yq27/2axu/9qub//bsG//27Fw/9yzcP/dtXH/3rZx/961cfbctG46AAAAAAAAAAAAAAAAyYxlR8eOZerJj2f/ypFn/8uTZ//MlGj/zZZo/86Yaf/OmWn/z5tq/9Cdav/Rnmv/0qBr/9OibP/Uo2z/1aVs/9anbf/XqW3/2Kpu/9msbv/Zrm//2q9v/9uxcP/cs3D/3bRx/962cf/dtXHk3rRxPQAAAAAAAAAAAAAAAAAAAAAAAAAAxo5jEsmRaHvLkmfNy5Ro98yVaP/Nl2n/zplp/8+aav/QnGr/0Z5q/9Kga//ToWv/1KNs/9WlbP/Wpm3/1qht/9eqbv/Yq27/2a1v/9qvb//bsHD/3LJw/92zcPbetXHJ3rZydOuxdg0AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAKAAAADAAAABgAAAAAQAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAs2ZNCrtqXSm3bl5yt29evblwXuy5cV7+unNf/7p0X/+7dWD/u3Zg/7x3YP+9eGD/vXph/757Yf++fGH/v31i/8B+Yv/Af2L/wYBi/8GBY//Cg2P/w4Rj/8OEZP/EhmT/xYdk/8WIZf/GiWX/xopl/8eLZf/IjWb/yI5m/8mPZv/KkGf9ypFn6MqSZ7jKlGhpz5hnJb+AYAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgAK1alowt25clbduXea3b17/uHBe/7lyXv+5cl//unNf/7t1X/+7dmD/vHdg/714YP+9eWH/vnph/757Yf+/fGH/v31i/8B/Yv/BgGL/wYFj/8KCY//Cg2P/w4Rk/8SGZP/EhmT/xYhk/8aJZf/GimX/x4tl/8eMZv/IjWb/yY5m/8mQZ//KkWf/ypJn/8uTaP/MlGj+zZVo38yVaIzMk2Yo/wAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALVrXz61bF3Xtm5d/bdvXv+4cF7/uXFe/7lyX/+6c1//u3Rf/7t1YP+7dmD/vHhg/715YP+9emH/vnth/798Yf+/fWL/wH9i/8F/Yv/BgGL/woJj/8KDY//DhGP/xIVk/8SGZP/Fh2T/xoll/8aKZf/GimX/x4xm/8iNZv/Ijmb/yY9n/8qQZ//KkWf/y5Nn/8uUaP/MlGj/zZZo/8yXaPzNmGjNz5VlMAAAAAAAAAAAAAAAAAAAAACAgIACtG1gPbZsXe+3bV3/t25e/7hvXv+5cV7/uXJf/7lyX/+6dF//u3Vg/7t2YP+8d2D/vXhg/715Yf++e2H/vnxh/799Yf/AfmL/wH9i/8GAYv/CgWP/woJj/8OEY//DhWT/xIZk/8SHZP/FiGX/xoll/8aKZf/HjGX/yI1m/8iNZv/Jj2b/yZBn/8qRZ//Lkmf/y5No/8yUaP/MlWj/zZdp/86Yaf/OmWn/z5tq5dKfbC0AAAABAAAAAAAAAACzbVwvtmtd1rZtXf+3bl3/uG9e/7hwXv+5cV7/uXJf/7p0X/+7dF//u3Zg/7x3YP+8eGD/vXlh/757Yf++e2H/v31h/8B+Yv/Af2L/wYBi/8GBY//CgmP/w4Nj/8OEZP/EhWT/xIZk/8WIZf/GiWX/xopl/8eLZf/HjGb/yI1m/8mPZv/Jj2f/ypFn/8uSZ//Lk2j/y5Ro/8yVaP/Nlmj/zZdp/86Zaf/Pmmn/z5tq/9CcacnNnGokAAAAAMZxVQm2bFyTtm1d/LdtXf+3bl7/uHBe/7lxXv+5cl//unRf/7p0X/+7dWD/vHdg/7x4YP+9eGD/vnph/757Yf++fGH/v31i/8B+Yv/Af2L/wYFj/8KCY//Cg2P/w4Rk/8OFZP/EhmT/xYhk/8WIZf/GiWX/x4tl/8eMZv/IjWb/yY5m/8mPZv/JkGf/ypJn/8uTZ//Lk2j/zJVo/82WaP/Nl2n/zphp/86Zaf/Pmmn/0Jxq/9CcavvSnGmDzJlmBbNsWSi2bF3kt21d/7duXv+4cF7/uXFe/7lyXv+6c1//unRf/7t1X/+7dmD/vHdg/714YP+9emH/vnth/757Yf+/fWL/wH5i/8B/Yv/BgGL/woFj/8KCY//DhGP/w4Vk/8SGZP/Fh2T/xYhl/8aJZf/GimX/x4xl/8eNZv/Ijmb/yY9m/8mQZ//KkWf/y5Jn/8uTaP/MlGj/zJVo/82WaP/OmGn/zplp/8+aaf/Qm2r/0Jxq/9Gdav/RnWrW1pxrH7VsXG+2bV3/t25d/7hvXv+4cF7/uXFe/7pzX/+6c1//u3Rf/7t2YP+8d2D/vHhg/715Yf++emH/vnth/799Yf+/fWL/wH9i/8GAYv/BgWP/woJj/8ODY//DhGT/xIVk/8SHZP/FiGT/xoll/8aKZf/Hi2X/x4xm/8iNZv/Jjmb/yY9n/8qRZ//Kkmf/y5No/8yUaP/MlWj/zZZo/86Yaf/OmGn/z5pp/8+bav/QnGr/0J1q/9Gea//Rn2v80p9pVbZuXLq3bV3/uG9e/7hwXv+5cV7/uXJf/7pzX/+6dF//u3Zg/7x2YP+8d2D/vXlh/756Yf++e2H/v3xh/799Yv/AfmL/wYBi/8GBY//CgWP/w4Nj/8OEY//DhWT/xIZk/8WHZP/FiGX/xopl/8aKZf/HjGb/yI1m/8iOZv/Jj2b/ypFn/8qRZ//Lkmf/y5Ro/8yVaP/MlWj/zZdp/86Yaf/OmWn/z5tq/9Ccav/QnGr/0Z5r/9Gfa//SoGv/0qBrn7huXOi3bl7/uHBe/7hwXv+5cl//unNf/7p0X/+7dWD/u3Zg/7x3YP+9eGD/vXph/757Yf++fGH/v31i/8B+Yv/Af2L/wYBi/8GBY//Cg2P/w4Rj/8OFZP/EhmT/xYdk/8WIZf/GiWX/xopl/8eLZf/IjWb/yI5m/8mPZv/JkGf/ypFn/8uSZ//Lk2j/zJVo/8yVaP/Nl2n/zphp/86Zaf/Pmmn/0Jtq/9Ccav/Rnmr/0Z5r/9Kfa//ToWv/06JszbZuXv24b17/uHBe/7lyXv+5cl//unRf/7t1X/+7dmD/vHdg/714YP+9eWH/vnph/758Yf+/fGH/v31i/8B/Yv/BgGL/wYFj/8KCY//Cg2P/w4Rk/8SGZP/EhmT/xYhk/8aJZf/GimX/x4tl/8eMZv/IjWb/yY5m/8mQZ//KkWf/ypJn/8uTaP/MlGj/zJVo/82WaP/Nl2n/zphp/8+aaf/Pm2r/0Jxq/9Gdav/Rnmr/0p9r/9Kha//ToWv/06Js4bdvXv+4cF7/uXFe/7lyX/+6c1//u3Vf/7t1YP+7dmD/vHhg/715YP+9emH/vnth/798Yf+/fWL/wH9i/8F/Yv/BgGL/woJj/8KDY//DhGP/xIVk/8SGZP/Fh2T/xoll/8aKZf/GimX/x4xm/8iNZv/Ijmb/yY9n/8qQZ//KkWf/y5No/8uUaP/MlWj/zZZo/82Xaf/OmGn/z5pp/8+aav/Qm2r/0J1q/9Geav/Rnmv/0qBr/9Oha//Tomz/1KNr5LhvXv+5cV7/uXJf/7pzX/+6dF//u3Vg/7t2YP+8d2D/vXhg/715Yf++e2H/woJo/8aMc//Ij3j/ypN6/8uWff/Ml37/y5d8/8yVev/LlHj/ypJ0/8mRcP/IjWv/xopm/8aKZf/HjGb/yI1m/8iNZv/Jj2b/yZBn/8qRZ//Lkmf/y5No/8yUaP/MlWj/zZdp/86Yaf/OmWn/z5pp/8+bav/QnGr/0Z1q/9Gea//SoGv/06Fr/9OibP/Uo2z/1KRr5LhwXv+5cV7/uXJf/7p0X/+7dF//u3Zg/7x3YP+8eGD/vXlh/757Yf/HjXb/5cq///Xr5//59PH//Pj3//37+v/9+/r//Pr4//v29P/48Oz/9Oji/+/f1v/p08b/48az/9y2nv/TpIX/ypJs/8mPZv/Jj2f/ypFn/8uSZ//Lk2j/zJRo/8yVaP/Nlmj/zZdp/86Zaf/Pmmn/z5tq/9Ccav/RnWr/0Z5q/9Kfa//SoGv/06Fr/9SjbP/UpGz/1KZr5LlxXv+5cl//unRf/7t0X/+7dWD/vHdg/7x4YP+9eGD/vnph/8GAZ//jyL3//v39//////////////////////////////////////////////////////////////7+//36+P/59PD/9Oni/+TJtf/RoH3/ypJo/8uTZ//Lk2j/zJVo/82WaP/Nl2n/zphp/86Zaf/Pmmn/0Jxq/9Cdav/RnWr/0p9r/9Kga//ToWv/06Ns/9SjbP/UpGz/1qZs5LlyXv+6c1//unRf/7t1X/+7dmD/vHdg/714YP+9emH/vnth/8ePeP/48e/////////////////////////////////////////////////////////////////////////////////////////////8+vn/7NfI/9Wphv/Omm//zZZo/82WaP/OmGn/zplp/8+aaf/Qm2r/0Jxq/9Gdav/Rnmv/0qBr/9Kha//Tomz/1KNs/9SkbP/VpW3/1qds5LpzX/+6dF//u3Rf/7t2YP+8d2D/vHhg/715Yf++emH/vnth/9Ghjf///v7///////////////////////////////////////////////////////////////////////////////////////////////////////z49f/q1cP/1qqF/86Yaf/OmGn/z5pp/8+bav/QnGr/0J1q/9Gea//Sn2v/0qBr/9OibP/To2z/1KRs/9WlbP/Vpm3/1qds5LpzX/+6dF//u3Zg/7x2YP+8d2D/vXlh/756Yf++e2H/v31h/9Gijv////7////////////////////////////////////////////////////////////////////////////////////////////////////////////+/v3/+fPu/9++n//Pmmr/z5tq/9Ccav/QnGr/0Z5q/9Gfa//SoGv/06Fr/9OibP/Uo2z/1aVs/9Wmbf/Wpm3/1qhs5Lp0X/+7dWD/u3Zg/7x3YP+9eGD/vXph/757Yf+/fGH/v31i/8WJb//r1sz/9+7q//Xr5v/z5+D/8OLZ/+7d1P/t29D/7tvQ//Df1v/16uT//v38//////////////////////////////////////////////////////////////////36+P/jxqr/0Z5u/9Ccav/Rnmr/0Z5r/9Kfa//ToWv/06Js/9SjbP/UpGz/1aVt/9Wmbf/Wp23/16lu5Lt1X/+7dmD/vHdg/714YP+9eWH/vnph/758Yf+/fWH/v31i/8B/Yv/DhWn/x41y/8WIav/DhWX/w4Rk/8SGZP/EhmT/xYhk/8aJZf/XrZT/+/f1///////////////////////////////////////////////////////////////////////79/P/4sKk/9Gdav/Rnmv/0p9r/9Kha//ToWv/06Ns/9SkbP/VpWz/1aZt/9anbf/WqG3/16pu5Lt2YP+7dmD/vHhg/715YP+9emH/vnth/798Yf+/fWL/wH9i/8F/Yv/BgGL/woJj/8KDY//DhGP/xIZk/8SGZP/Fh2T/xoll/8aKZf/eu6X//fz7////////////////////////////8uTa/9+9ov/hwaj/8ODU//7+/v///////////////////////Pj1/9uzi//Rnmv/0qBr/9Oha//Tomz/1KRs/9WlbP/VpW3/1qdt/9aobf/XqW3/2Kpu5Lt2YP+8d2D/vXhg/715Yf++e2H/v3xh/799Yf/AfmL/wH9i/8GAYv/CgWP/woNj/8OEY//DhWT/xIZk/8SHZP/FiGX/xoll/8aKZf/iwq////7+///////////////////////y5Nn/z5x1/8yUaP/Mlmj/zZdp/9iuif/y5Nf//v37//////////////////Tp3f/VpXT/06Fr/9OibP/Uo2z/1KRs/9WlbP/Wp23/1qdt/9eobf/Xqm7/2Ktu5Lx3YP+8eGD/vXlh/757Yf++e2H/v31h/8B+Yv/Af2L/wYBi/8GBY//CgmP/w4Nj/8OFZP/EhWT/xIZk/8WIZf/GiWX/xopl/8eLZf/iw7D///7+//////////////////7+/v/lybP/zJVp/8yVaP/Nlmj/zZdp/86Zaf/To3f/5862//38+v////////////369//iwZ3/06Js/9SjbP/UpGz/1aVs/9ambf/Wp23/1qht/9eqbv/Yqm7/2axu5Lx4YP+9eGD/vnph/757Yf+/fGH/wH5i/8B+Yv/Af2L/wYFj/8KCY//Cg2P/w4Rk/8SFZP/EhmT/xYhk/8WIZf/GiWX/x4tl/8eMZv/gv6n//v38//////////////////79/P/iw6r/zJVo/82WaP/Nl2n/zphp/86Zaf/Pmmn/0Z9u/+bLsf///v7////////////u2sX/1aZy/9SjbP/UpGz/1aZt/9anbf/Wp23/16lu/9iqbv/Yq27/2axu5L14YP+9emH/vnth/758Yf+/fWL/wH5i/8B/Yv/BgGL/woFj/8KCY//DhGP/w4Vk/8iPb//YsJn/1qyT/8eLaP/GimX/x4xm/8iNZv/btJr//Pn3///////////////////+/v/lybL/zJZp/82WaP/OmGn/zplp/8+aaf/Qm2r/0Jxq/9Wld//z59r////////////27OH/2Kx7/9SkbP/VpW3/1qZt/9anbf/XqW3/16pu/9irbv/ZrG7/2q1v5L15Yf++emH/vnth/799Yv/AfmL/wH9i/8GAYv/BgWP/woJj/8OEY//DhGT/xYhn/+nRxf/+/fz//fz7/9qzm//Hi2X/x4xm/8iOZv/SooH/+fPu///////////////////////s2Mf/z5tv/86Yaf/OmGn/z5pp/8+bav/QnGr/0Z1q/9GfbP/nzLD//v38///////8+fX/27KD/9WlbP/Vpm3/1qdt/9eobf/XqW7/2Kpu/9msbv/ZrW7/2q5v5L56Yf++e2H/v31h/799Yv/AfmL/wYBi/8GBY//CgWP/w4Nj/8OEZP/DhWT/06WM//79/P////////////bt6P/RoH//yI1m/8iOZv/Kkmr/8eHW///////////////////////37uf/06R6/86Yaf/OmWn/z5tq/9Ccav/QnGr/0Z5q/9Kfa//gv5v//Pn2/////////v7/3riM/9Wmbf/Wp23/1qht/9epbf/Xqm7/2Kxu/9msbv/ZrW//2q5v5L57Yf+/fGH/v31i/8B+Yv/Af2L/wYBi/8GBY//Cg2P/w4Rj/8OFZP/EhmT/3bml///////////////////+/v/r1cf/zJZw/8mPZv/JkGf/2bCT//79/P////////////////////7/4cKl/86Zaf/Pmmn/0Jtq/9Ccav/Rnmr/0Z9r/9Kga//gvpn//Pn2////////////3rqO/9ambf/WqG3/16lt/9eqbv/Yq27/2axu/9mtb//arm//2rFv5L58Yf+/fWH/wH5i/8B/Yv/BgGL/wYFj/8KCY//Dg2P/w4Rk/8SGZP/EhmT/06SK///+/v/////////////////9+/r/5827/8yVb//KkWf/y5Np/+zXx////v7/////////////////+vTu/9ishf/Pm2r/0Jxq/9Gdav/Rnmv/0p9r/9KhbP/myqz//v37///////8+fX/3LSE/9anbf/WqG3/16lu/9irbv/YrG7/2a1u/9qub//ar2//27Fw5L98Yf+/fWL/wH9i/8F/Yv/BgGL/woJj/8KDY//DhGP/xIZk/8SGZP/Fh2T/x4to//Dg1////////////////////////vz8/+7cz//Qnnj/y5No/9KifP/06N////////////////////////To3f/Vp3v/0Z1q/9Geav/Rn2v/0qBr/9apd//z59n////////////059f/2a14/9aobf/XqW3/2Kpu/9irbv/ZrG7/2q5v/9qvb//ar2//27Fw5L99Yv/AfmL/wH9i/8GAYv/CgWP/woNj/8OEY//DhWT/xIZk/8SHZP/FiGX/xoll/9Cef//27ej////+///////////////////////27OX/27OW/9CddP/ZsY//9+7n///////////////////+/v/x4tP/2a+E/9Skc//UpHL/2Kt8/+7axf////////////369v/lx6L/1qdu/9eobf/Xqm7/2Ktu/9msbv/ZrW//2q5v/9qvb//bsHD/27Jw5MB+Yv/Af2L/wYBi/8GBY//CgmP/w4Nj/8OFZP/EhmT/xIZk/8WIZf/GiWX/xopl/8iMZ//Wq4//9Ojg/////////////////////////////vz7//Lj1//kyLD/5Mev//Pm2//9+/n/////////////////+fPt//Dfzf/v3cr/+O/n/////////////fr4/+nQsv/Yq3P/1qht/9eqbv/Yqm7/2Kxu/9mtb//arm//2q9v/9uwcP/bsXD/3LNw5MB/Yv/Af2L/wYFj/8KCY//Cg2P/w4Rk/8SFZP/EhmT/xYhk/8WIZf/GiWX/x4tl/8eMZv/Ijmf/zpt3/+fPvf/9+/n////////////////////////////+/fz/+/fz//v38//+/f3////////////////////////////////////////////69O3/4sKa/9epcf/Wp23/16lu/9iqbv/Yq27/2a1u/9mub//arm//27Bv/9uxcP/csnD/3LNw5MB/Yv/BgGL/woFj/8KCY//DhGP/w4Vk/8SGZP/Fh2T/xYhl/8aJZf/GimX/x4xm/8iNZv/Ijmb/yY9m/8qRaP/VqYj/7tzO//nz7v/9+/n////////////////////////////////////////////////////////////+/Pr/+vXv/+/eyf/bsoH/1qdt/9anbf/XqW3/16pu/9irbv/ZrG7/2a1v/9qub//bsG//27Bw/9uxcP/cs3D/3bRw5MGAYv/BgWP/woJj/8OEY//DhGT/xIZk/8WHZP/FiGT/xoll/8aKZf/Hi2X/x4xm/8iOZv/Jjmb/yY9n/8qRZ//Kkmf/y5Rp/9Smgv/gvaL/6dG9//Hh0//27OT/+vXw//36+P/9/Pr//fv5//z39P/48Oj/9ObY/+3Zw//lyan/3LWH/9Wlbf/Vpm3/1qdt/9eobf/XqW7/2Kpu/9msbv/ZrW7/2q5v/9qvb//bsHD/27Fw/9yzcP/ds3D/3bVw5MGBY//CgWP/w4Nj/8OEZP/DhWT/xIdk/8WHZP/FiGX/xopl/8eLZf/HjGb/yI1m/8mOZv/Jj2b/ypFn/8qRZ//Lkmf/zJRo/8yVaP/Nlmn/zpls/9Gfc//UpHn/1ah+/9ergv/ZroP/2K6D/9itgP/Xq3z/1qh3/9Wlcf/UpGz/1aVs/9Wmbf/Wp23/1qht/9epbf/Xqm7/2Kxu/9msbv/ZrW//2q9v/9uwb//bsHD/3LJw/9yzcP/dtHD/37Vw5MGBY//Cg2P/w4Rj/8OFZP/EhmT/xYdk/8WIZf/GiWX/xopl/8eLZf/IjWb/yI5m/8mPZv/JkGf/ypFn/8uSZ//Lk2j/zJVo/8yVaP/Nl2n/zphp/86Zaf/Pmmn/0Jtq/9Ccav/Rnmr/0Z5r/9Kga//ToWv/06Js/9SjbP/UpGz/1aVt/9ambf/WqG3/16lt/9eqbv/Yq27/2axu/9mtb//arm//27Bv/9uwcP/csnD/3LNw/920cP/etXH/37Zw5MKDY/zDg2P/w4Rk/8SGZP/Eh2T/xYhk/8aJZf/GimX/x4tl/8iNZv/IjWb/yY9m/8mQZ//KkWf/ypJn/8uTaP/MlGj/zJVo/82Xaf/OmGn/zplp/8+aaf/Pm2r/0Jxq/9Gdav/Rnmv/0p9r/9Kha//ToWv/06Ns/9SkbP/VpWz/1aZt/9anbf/XqG3/16lu/9irbv/YrG7/2a1u/9qub//ar2//27Bv/9yxcP/csnD/3bNw/921cf/etnH/3bVw4cOEY+jDhGP/xIZk/8SGZP/Fh2T/xoll/8aKZf/GimX/x4xm/8iNZv/Ijmb/yZBn/8qQZ//KkWf/y5No/8uUaP/MlWj/zZZo/82Xaf/OmGn/z5pp/8+aav/Qm2r/0Z1q/9Geav/Rn2v/0qBr/9Oha//Tomz/1KRs/9WlbP/VpW3/1qdt/9aobf/XqW3/2Kpu/9irbv/ZrG7/2q5v/9qvb//bsG//27Fw/9yycP/cs3D/3bVx/961cf/etnH/3bZwzcSEZLrDhWT/xIZk/8WHZP/FiGX/xoll/8aKZf/HjGb/yI1m/8iOZv/Jj2b/yZBn/8qRZ//Lkmf/y5No/8yUaP/Nlmj/zZdp/86Yaf/OmWn/z5pp/8+bav/QnGr/0Z5q/9Gea//SoGv/06Fr/9OibP/Uo2z/1KRs/9WlbP/Wp23/1qht/9epbf/Xqm7/2Ktu/9msbv/ZrW//2q5v/9qvb//bsXD/3LJw/9yzcP/dtHD/3rVx/962cf/etnH/37Vwn8OEZG7DhWT/xIdk/8WIZf/GiWX/xopl/8eLZf/HjGb/yI1m/8mPZv/Jj2f/ypFn/8uSZ//Lk2j/zJRo/8yVaP/Nlmj/zphp/86Zaf/Pmmn/z5tq/9Ccav/RnWr/0Z5r/9Kfa//SoGv/06Fr/9SjbP/UpGz/1aVs/9ambf/Wp23/1qht/9eqbv/Yqm7/2Kxu/9mtb//arm//2q9v/9uwcP/bsXD/3LJw/920cP/dtXH/3rZx/962cf/ftnH83rdvVb+GZijEhmTkxYhl/8WIZf/GiWX/x4tl/8eMZv/IjWb/yY9m/8mPZ//JkGf/ypJn/8uTZ//Lk2j/zJVo/82WaP/Nl2n/zphp/86Zaf/Pmmn/0Jxq/9Cdav/Rnmr/0p9r/9Kga//ToWv/06Ns/9SjbP/UpGz/1aZt/9anbf/WqG3/16lu/9iqbv/Yq27/2a1u/9mub//arm//27Bw/9uxcP/csnD/3bNw/920cf/etXH/3rZx/962cf/etXHW3rVzH8aOcQnGiWWTxYll/MaJZf/GimX/x4xm/8iNZv/Ijmb/yY9m/8mQZ//KkWf/y5Jn/8uTaP/MlWj/zZZo/82Xaf/OmGn/zplp/8+aaf/Qm2r/0Jxq/9Gdav/Rn2v/0qBr/9Oha//Tomz/1KNs/9SkbP/VpW3/1qdt/9anbf/XqW3/16pu/9irbv/ZrG7/2a1v/9qub//bsG//27Fw/9uxcP/cs3D/3bRw/921cf/etnH/3rZx/922cfvctXGD/8xmBQAAAADDiGIvx4pm1caKZf/Hi2X/x4xm/8iOZv/Jj2b/yY9n/8qRZ//Kkmf/y5No/8yUaP/MlWj/zZZo/86Yaf/OmGn/z5pp/8+bav/QnGr/0Z1q/9Gea//Sn2v/0qFr/9OibP/To2z/1KRs/9WlbP/Vpm3/1qdt/9eobf/Xqm7/2Kpu/9msbv/ZrW7/2q5v/9qvb//bsHD/27Fw/9yzcP/ds3D/3bVx/962cf/etnH/3rZx/961ccncsXEkAAAAAAAAAACAgIACxIpkPcaLZe/HjGb/yI1m/8mOZv/Jj2b/ypFn/8qRZ//Lkmf/zJRo/8yVaP/Nlmj/zphp/86Yaf/OmWn/z5tq/9Ccav/QnGr/0Z5r/9Kfa//SoGv/06Fr/9OibP/Uo2z/1aVs/9Wmbf/Wp23/1qht/9epbv/Xqm7/2Kxu/9msbv/ZrW//2q9v/9uwb//bsXD/3LJw/9yzcP/dtHD/3rZx/962cf/etnH/37dy5eO1cS3/AAABAAAAAAAAAAAAAAAAAAAAAMWMYz7IjWbWyI5m/cmPZv/KkGf/ypFn/8uSZ//Lk2j/zJVo/8yVaP/Nl2n/zphp/86Zaf/Pmmn/0Jtq/9Ccav/Rnmr/0Z9r/9Kga//ToWv/06Js/9SjbP/UpGz/1aVt/9ambf/WqG3/16lt/9eqbv/Yq27/2axu/9mtb//arm//27Bv/9uwcP/csnD/3LNw/920cP/etXH/3rZx/962cfzdtnHN37VwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAICAgALFimUwyI5llcqQaOXKkGf/ypJn/8uTaP/MlGj/zJVo/82Xaf/OmGn/zplp/8+aaf/Pm2r/0Jxq/9Gdav/Rnmv/0p9r/9Kha//ToWv/06Ns/9SkbP/VpWz/1aZt/9anbf/XqG3/16lu/9irbv/YrG7/2a1u/9qub//ar2//27Bv/9uxcP/csnD/3bNw/921cf/etnH+3rVx4Ny0cYzZs3Mo//8AAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzIBmCs2PZCnJj2dyypNnvcuUaOzMlWj+zZZo/82Xaf/OmGn/z5pp/8+aav/Qm2r/0Z1q/9Geav/Rn2v/0qFr/9Oha//Tomz/1KRs/9WlbP/VpW3/1qdt/9aobf/XqW3/2Kpu/9irbv/ZrG7/2q5v/9qvb//bsG//27Fw/9yycP/ds3D93rRx6Ny2cLjftnBp3bNuJd+fYAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",Yz=({message:e,type:n="default"})=>{const r=n==="loading",{botData:a}=no();return $.jsxs(_t,{position:"relative",width:"full",children:[$.jsx(_t,{opacity:"0",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:$.jsx(Mr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})}),$.jsx(_t,{h:"42px"}),$.jsx(_t,{position:"absolute",left:0,bottom:0,children:$.jsx(sl,{src:(a==null?void 0:a.agent_image)||Gz,alt:"Mori",w:"20px",h:"20px",borderRadius:"50%"})}),$.jsx(_t,{position:"absolute",left:"18px",bottom:"18px",width:"6.4px",height:"6.4px",bg:"#EDEDED",borderRadius:"100%"}),$.jsx(_t,{position:"absolute",left:"23px",bottom:"23px",width:"13px",height:"13px",bg:"#EDEDED",borderRadius:"100%"}),$.jsx(_t,{position:"absolute",left:"29px",bottom:"29px",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:r?$.jsx(Mr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"gray.500",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e}):$.jsx(Mr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"black",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})})]})},Uz=Ae.forwardRef(function(n,r){const _=n,{templateAreas:a,column:o,row:u,autoFlow:c,autoRows:m,templateRows:b,autoColumns:y,templateColumns:A,inline:w}=_,k=Or(_,["templateAreas","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns","inline"]);return $.jsx(La.div,We(G({},k),{ref:r,css:[{display:w?"inline-grid":"grid",gridTemplateAreas:a,gridAutoColumns:y,gridColumn:o,gridRow:u,gridAutoFlow:c,gridAutoRows:m,gridTemplateRows:b,gridTemplateColumns:A},n.css]}))}),Zz=Ae.forwardRef(function(n,r){const b=n,{columns:a,minChildWidth:o}=b,u=Or(b,["columns","minChildWidth"]),c=Gf(),m=o?Xz(o,c):Jz(a);return $.jsx(Uz,G({ref:r,templateColumns:m},u))});function Vz(e){return typeof e=="number"?`${e}px`:e}function Xz(e,n){return Uh(e,r=>{const a=n.tokens.getVar(`sizes.${r}`,Vz(r));return r===null?null:`repeat(auto-fit, minmax(${a}, 1fr))`})}function Jz(e){return Uh(e,n=>n===null?null:`repeat(${n}, minmax(0, 1fr))`)}const{withContext:Kz}=xc({key:"badge"}),Qz=Kz("span"),jz="data:image/svg+xml,%3csvg%20width='15'%20height='12'%20viewBox='0%200%2015%2012'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.16536%201.81467C7.16536%200.791333%205.9427%200.263999%205.1987%200.965999L1.30003%204.64C1.15132%204.78022%201.03284%204.94936%200.951856%205.13703C0.870874%205.3247%200.829102%205.52694%200.829102%205.73133C0.829102%205.93573%200.870874%206.13797%200.951856%206.32563C1.03284%206.5133%201.15132%206.68244%201.30003%206.82267L5.19736%2010.5C5.94136%2011.202%207.1647%2010.674%207.1647%209.65133V8.33467C7.93731%208.19507%208.73376%208.28024%209.45939%208.58006C10.185%208.87989%2010.8093%209.38175%2011.258%2010.026L11.7927%2010.794C12.5207%2011.84%2014.162%2011.3247%2014.162%2010.0507V9.738C14.162%205.89267%2010.9394%202.87667%207.1647%203.05733L7.16536%201.81467ZM5.8847%201.69333C5.90839%201.67111%205.93807%201.6563%205.97007%201.65072C6.00208%201.64514%206.03501%201.64904%206.06483%201.66193C6.09465%201.67482%206.12005%201.69614%206.13791%201.72328C6.15577%201.75042%206.16531%201.78218%206.16536%201.81467V3.54C6.16536%203.87333%206.45736%204.132%206.78803%204.092C10.1767%203.68%2013.1627%206.32467%2013.1627%209.73867V10.0507C13.1627%2010.3453%2012.7827%2010.4647%2012.614%2010.2227L12.0787%209.45467C11.4785%208.5928%2010.6268%207.93727%209.63996%207.57763C8.65317%207.21799%207.5794%207.17179%206.56536%207.44533C6.45052%207.47639%206.34911%207.54442%206.27681%207.6389C6.2045%207.73337%206.16534%207.84903%206.16536%207.968V9.65067C6.16531%209.68315%206.15577%209.71492%206.13791%209.74205C6.12005%209.76919%206.09465%209.79051%206.06483%209.8034C6.03501%209.81629%206.00208%209.82019%205.97007%209.81461C5.93807%209.80903%205.90839%209.79422%205.8847%209.772L1.9867%206.09533C1.93716%206.04859%201.8977%205.99223%201.87072%205.92969C1.84375%205.86716%201.82984%205.79977%201.82984%205.73167C1.82984%205.66356%201.84375%205.59618%201.87072%205.53364C1.8977%205.4711%201.93716%205.41474%201.9867%205.368L5.8847%201.69333Z'%20fill='%236155F5'%20/%3e%3c/svg%3e",qz="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.56503%203.915C5.11896%202.73832%206.04737%201.77849%207.20497%201.18572C8.36257%200.592947%209.68402%200.400681%2010.9625%200.63901C12.2411%200.877339%2013.4045%201.53281%2014.2708%202.50286C15.137%203.4729%2015.6573%204.70277%2015.75%206C15.8332%207.19515%2015.548%208.38706%2014.9329%209.41516C14.3178%2010.4433%2013.4024%2011.2581%2012.31%2011.75C11.9379%2012.672%2011.3425%2013.4871%2010.5774%2014.122C9.81221%2014.7569%208.90126%2015.1917%207.92642%2015.3873C6.95158%2015.5829%205.94341%2015.5332%204.99255%2015.2426C4.04169%2014.952%203.17794%2014.4297%202.47896%2013.7226C1.77998%2013.0155%201.26768%2012.1458%200.988107%2011.1916C0.708538%2010.2375%200.670468%209.2288%200.877321%208.25629C1.08417%207.28377%201.52946%206.37791%202.17316%205.62013C2.81685%204.86235%203.63877%204.27641%204.56503%203.915ZM9.90503%201.5H9.60503C8.52019%201.56681%207.48862%201.99351%206.67357%202.71256C5.85852%203.43161%205.30656%204.40195%205.10503%205.47L10.675%201.565C10.4205%201.52309%2010.163%201.50136%209.90503%201.5ZM11.905%201.93L5.33003%206.555L5.06003%206.745C5.11592%207.4665%205.33108%208.16663%205.69003%208.79499L13.565%203.155C13.1023%202.63199%2012.5329%202.21427%2011.895%201.93H11.905ZM14.145%203.97L6.25003%209.60999C6.70986%2010.1331%207.27572%2010.5524%207.91003%2010.84L14.75%205.82C14.6759%205.16869%2014.47%204.53927%2014.145%203.97ZM14.75%207.065L9.10503%2011.2C9.4681%2011.2629%209.83728%2011.283%2010.205%2011.26C11.33%2011.1916%2012.3968%2010.7368%2013.225%209.97234C14.0532%209.20793%2014.5919%208.1809%2014.75%207.065ZM6.75003%2014.5C7.59348%2014.4958%208.42238%2014.2798%209.16061%2013.8718C9.89883%2013.4638%2010.5227%2012.8769%2010.975%2012.165C10.7406%2012.2117%2010.5035%2012.2434%2010.265%2012.26H9.90003C8.40699%2012.257%206.97069%2011.6876%205.88117%2010.6668C4.79165%209.64592%204.13007%208.24969%204.03003%206.76C4.00121%206.25734%204.03819%205.75307%204.14003%205.26C3.22219%205.83357%202.51524%206.68948%202.12538%207.69915C1.73553%208.70883%201.68382%209.81774%201.97803%2010.8593C2.27224%2011.9009%202.89648%2012.8189%203.75697%2013.4754C4.61746%2014.1318%205.66774%2014.4914%206.75003%2014.5Z'%20fill='%236155F5'%20/%3e%3c/svg%3e",$z=e=>{const n="dori",r="dori_pdp_widget",a="dori_product_recommendation",o=e.includes("?")?"&":"?";return`${e}${o}utm_source=${n}&utm_medium=${r}&utm_campaign=${a}`},e6=(e,n)=>{const r="customer_referral",a="widget",o="powered_by",u=e.includes("?")?"&":"?";return`${e}${u}utm_source=${r}&utm_medium=${a}&utm_campaign=${o}&utm_term=${n}`},t6=({product:e})=>{var w;const{sendMessage:n,setRepliedProduct:r,botData:a,chatState:o}=no(),{name:u,id:c,url:m}=e,b=()=>{const k=`Do you have similar to ${u}`,_=`Do you have similar to ${c}`;n({message:k,apiMessage:_})},y=()=>{r({product:e,suggestions:["Does this product have a discount?","What features make this product special?","Does it come in other colors?"]})},A=()=>ll(null,null,function*(){if(!m||!a)return;const k=$z(m);window.open(k,"_blank","noopener,noreferrer"),cT(e,a,o.threadId)});return $.jsxs(Ii,{align:"stretch",gap:1,w:"full",children:[$.jsx(_t,{bg:"white",borderRadius:"14px",border:"1px solid #F0EEFE",p:1.5,w:"full",children:$.jsxs(ra,{gap:1.5,align:"stretch",w:"full",children:[$.jsx(_t,{flexShrink:0,cursor:"pointer",onClick:A,_hover:{opacity:.9},transition:"opacity 0.2s",children:$.jsx(sl,{src:e.image,alt:e.name,w:"60px",h:"60px",objectFit:"contain",borderRadius:"md"})}),$.jsxs(Ii,{gap:.5,align:"start",justifyContent:"center",children:[$.jsx(Mr,{fontWeight:600,fontSize:"10px",lineHeight:"20px",textAlign:"start",color:"#1A1A1A",maxW:"100%",title:e.name,cursor:"pointer",onClick:A,_hover:{color:"#6155F5"},transition:"color 0.2s",children:e.name}),$.jsxs(ra,{gap:.75,align:"center",children:[e.discount&&$.jsxs($.Fragment,{children:[$.jsx(Mr,{fontSize:"xs",color:"gray.400",textDecoration:"line-through",children:(w=e.originalPrice)==null?void 0:w.toLocaleString()}),$.jsxs(Qz,{bg:"rgba(255, 56, 60, 0.14)",color:"#FF383C",fontSize:"xs",borderRadius:"20px",children:[e.discount,"٪"]})]}),$.jsxs(Mr,{fontSize:"10px",fontWeight:"700",color:"black",children:[e.price.toLocaleString()," USD"]})]})]})]})},e.id),$.jsxs(ra,{gap:.5,w:"full",children:[$.jsx($f,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"0px",textAlign:"right",color:"#6155F5",borderColor:"#F0EEFE",borderRadius:"3px",borderWidth:"2px",onClick:y,"aria-label":"Reply",children:$.jsx(sl,{src:jz,alt:"reply"})}),$.jsxs(Ac,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"4px",textAlign:"right",color:"#6155F5",borderRadius:"3px",flex:1,fontWeight:400,onClick:b,bgColor:"#F0EEFE",children:[$.jsx(sl,{width:4,height:4,src:qz,alt:"suggestion"}),"Similar Suggestion"]})]})]})},J1=({products:e})=>$.jsx(Ii,{align:"stretch",gap:1.5,w:"full",children:$.jsx(_t,{px:.75,w:"full",children:$.jsx(Zz,{dir:"ltr",columns:{base:1,md:2},gapX:{base:.75,md:1.5},gapY:{base:1.5,md:3},w:"full",children:e.map(n=>$.jsx(t6,{product:n},n.id))})})}),n6=({suggestions:e})=>{const{sendMessage:n}=no(),r=a=>{n({message:a})};return $.jsx(ra,{gap:1.5,wrap:"wrap",children:e.slice(0,3).map((a,o)=>$.jsx(Ac,{bg:o%2===0?"white":"#F5F5F5",border:"1px solid #EDEDED",borderRadius:"20px",px:3,py:1.5,h:"auto",onClick:()=>r(a),_hover:{bg:"#F5F5F5",borderColor:"#6155F5"},_active:{bg:"#F0F0F0"},textAlign:"center",justifyContent:"center",children:$.jsx(Mr,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",textAlign:"center",wordBreak:"break-word",whiteSpace:"normal",children:a})},o))})};function K1(e,n){const r=String(e);if(typeof n!="string")throw new TypeError("Expected character");let a=0,o=r.indexOf(n);for(;o!==-1;)a++,o=r.indexOf(n,o+n.length);return a}function r6(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function i6(e,n,r){const o=tg((r||{}).ignore||[]),u=a6(n);let c=-1;for(;++c<u.length;)I1(e,"text",m);function m(y,A){let w=-1,k;for(;++w<A.length;){const _=A[w],P=k?k.children:void 0;if(o(_,P?P.indexOf(_):void 0,k))return;k=_}if(k)return b(y,A)}function b(y,A){const w=A[A.length-1],k=u[c][0],_=u[c][1];let P=0;const W=w.children.indexOf(y);let H=!1,J=[];k.lastIndex=0;let Y=k.exec(y.value);for(;Y;){const ve=Y.index,j={index:Y.index,input:Y.input,stack:[...A,y]};let ee=_(...Y,j);if(typeof ee=="string"&&(ee=ee.length>0?{type:"text",value:ee}:void 0),ee===!1?k.lastIndex=ve+1:(P!==ve&&J.push({type:"text",value:y.value.slice(P,ve)}),Array.isArray(ee)?J.push(...ee):ee&&J.push(ee),P=ve+Y[0].length,H=!0),!k.global)break;Y=k.exec(y.value)}return H?(P<y.value.length&&J.push({type:"text",value:y.value.slice(P)}),w.children.splice(W,1,...J)):J=[y],W+J.length}}function a6(e){const n=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a<r.length;){const o=r[a];n.push([l6(o[0]),o6(o[1])])}return n}function l6(e){return typeof e=="string"?new RegExp(r6(e),"g"):e}function o6(e){return typeof e=="function"?e:function(){return e}}const Lm="phrasing",Bm=["autolink","link","image","label"];function s6(){return{transforms:[p6],enter:{literalAutolink:c6,literalAutolinkEmail:Fm,literalAutolinkHttp:Fm,literalAutolinkWww:Fm},exit:{literalAutolink:g6,literalAutolinkEmail:h6,literalAutolinkHttp:f6,literalAutolinkWww:d6}}}function u6(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lm,notInConstruct:Bm},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lm,notInConstruct:Bm},{character:":",before:"[ps]",after:"\\/",inConstruct:Lm,notInConstruct:Bm}]}}function c6(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Fm(e){this.config.enter.autolinkProtocol.call(this,e)}function f6(e){this.config.exit.autolinkProtocol.call(this,e)}function d6(e){this.config.exit.data.call(this,e);const n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function h6(e){this.config.exit.autolinkEmail.call(this,e)}function g6(e){this.exit(e)}function p6(e){i6(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,m6],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),b6]],{ignore:["link","linkReference"]})}function m6(e,n,r,a,o){let u="";if(!Q1(o)||(/^w/i.test(n)&&(r=n+r,n="",u="http://"),!y6(r)))return!1;const c=v6(r+a);if(!c[0])return!1;const m={type:"link",title:null,url:u+n+c[0],children:[{type:"text",value:n+c[0]}]};return c[1]?[m,{type:"text",value:c[1]}]:m}function b6(e,n,r,a){return!Q1(a,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+r,children:[{type:"text",value:n+"@"+r}]}}function y6(e){const n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function v6(e){const n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let r=n[0],a=r.indexOf(")");const o=K1(e,"(");let u=K1(e,")");for(;a!==-1&&o>u;)e+=r.slice(0,a+1),r=r.slice(a+1),a=r.indexOf(")"),u++;return[e,r]}function Q1(e,n){const r=e.input.charCodeAt(e.index-1);return(e.index===0||xu(r)||Xh(r))&&(!n||r!==47)}j1.peek=T6;function x6(){this.buffer()}function A6(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function S6(){this.buffer()}function w6(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function k6(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.identifier=ul(this.sliceSerialize(e)).toLowerCase(),r.label=n}function E6(e){this.exit(e)}function _6(e){const n=this.resume(),r=this.stack[this.stack.length-1];r.identifier=ul(this.sliceSerialize(e)).toLowerCase(),r.label=n}function C6(e){this.exit(e)}function T6(){return"["}function j1(e,n,r,a){const o=r.createTracker(a);let u=o.move("[^");const c=r.enter("footnoteReference"),m=r.enter("reference");return u+=o.move(r.safe(r.associationId(e),{after:"]",before:u})),m(),c(),u+=o.move("]"),u}function R6(){return{enter:{gfmFootnoteCallString:x6,gfmFootnoteCall:A6,gfmFootnoteDefinitionLabelString:S6,gfmFootnoteDefinition:w6},exit:{gfmFootnoteCallString:k6,gfmFootnoteCall:E6,gfmFootnoteDefinitionLabelString:_6,gfmFootnoteDefinition:C6}}}function z6(e){let n=!1;return e&&e.firstLineBlank&&(n=!0),{handlers:{footnoteDefinition:r,footnoteReference:j1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(a,o,u,c){const m=u.createTracker(c);let b=m.move("[^");const y=u.enter("footnoteDefinition"),A=u.enter("label");return b+=m.move(u.safe(u.associationId(a),{before:b,after:"]"})),A(),b+=m.move("]:"),a.children&&a.children.length>0&&(m.shift(4),b+=m.move((n?`
84
- `:" ")+u.indentLines(u.containerFlow(a,m.current()),n?q1:O6))),y(),b}}function O6(e,n,r){return n===0?e:q1(e,n,r)}function q1(e,n,r){return(r?"":" ")+e}const P6=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];$1.peek=L6;function D6(){return{canContainEols:["delete"],enter:{strikethrough:N6},exit:{strikethrough:I6}}}function M6(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:P6}],handlers:{delete:$1}}}function N6(e){this.enter({type:"delete",children:[]},e)}function I6(e){this.exit(e)}function $1(e,n,r,a){const o=r.createTracker(a),u=r.enter("strikethrough");let c=o.move("~~");return c+=r.containerPhrasing(e,We(G({},o.current()),{before:c,after:"~"})),c+=o.move("~~"),u(),c}function L6(){return"~"}function B6(e){return e.length}function F6(e,n){const r=n||{},a=(r.align||[]).concat(),o=r.stringLength||B6,u=[],c=[],m=[],b=[];let y=0,A=-1;for(;++A<e.length;){const N=[],W=[];let H=-1;for(e[A].length>y&&(y=e[A].length);++H<e[A].length;){const J=H6(e[A][H]);if(r.alignDelimiters!==!1){const Y=o(J);W[H]=Y,(b[H]===void 0||Y>b[H])&&(b[H]=Y)}N.push(J)}c[A]=N,m[A]=W}let w=-1;if(typeof a=="object"&&"length"in a)for(;++w<y;)u[w]=ex(a[w]);else{const N=ex(a);for(;++w<y;)u[w]=N}w=-1;const k=[],_=[];for(;++w<y;){const N=u[w];let W="",H="";N===99?(W=":",H=":"):N===108?W=":":N===114&&(H=":");let J=r.alignDelimiters===!1?1:Math.max(1,b[w]-W.length-H.length);const Y=W+"-".repeat(J)+H;r.alignDelimiters!==!1&&(J=W.length+J+H.length,J>b[w]&&(b[w]=J),_[w]=J),k[w]=Y}c.splice(1,0,k),m.splice(1,0,_),A=-1;const P=[];for(;++A<c.length;){const N=c[A],W=m[A];w=-1;const H=[];for(;++w<y;){const J=N[w]||"";let Y="",ve="";if(r.alignDelimiters!==!1){const j=b[w]-(W[w]||0),ee=u[w];ee===114?Y=" ".repeat(j):ee===99?j%2?(Y=" ".repeat(j/2+.5),ve=" ".repeat(j/2-.5)):(Y=" ".repeat(j/2),ve=Y):ve=" ".repeat(j)}r.delimiterStart!==!1&&!w&&H.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&J==="")&&(r.delimiterStart!==!1||w)&&H.push(" "),r.alignDelimiters!==!1&&H.push(Y),H.push(J),r.alignDelimiters!==!1&&H.push(ve),r.padding!==!1&&H.push(" "),(r.delimiterEnd!==!1||w!==y-1)&&H.push("|")}P.push(r.delimiterEnd===!1?H.join("").replace(/ +$/,""):H.join(""))}return P.join(`
85
- `)}function H6(e){return e==null?"":String(e)}function ex(e){const n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}function W6(e,n,r,a){const o=r.enter("blockquote"),u=r.createTracker(a);u.move("> "),u.shift(2);const c=r.indentLines(r.containerFlow(e,u.current()),G6);return o(),c}function G6(e,n,r){return">"+(r?"":" ")+e}function Y6(e,n){return tx(e,n.inConstruct,!0)&&!tx(e,n.notInConstruct,!1)}function tx(e,n,r){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return r;let a=-1;for(;++a<n.length;)if(e.includes(n[a]))return!0;return!1}function nx(e,n,r,a){let o=-1;for(;++o<r.unsafe.length;)if(r.unsafe[o].character===`
86
- `&&Y6(r.stack,r.unsafe[o]))return/[ \t]/.test(a.before)?"":" ";return`\\
87
- `}function U6(e,n){const r=String(e);let a=r.indexOf(n),o=a,u=0,c=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===o?++u>c&&(c=u):u=1,o=a+n.length,a=r.indexOf(n,o);return c}function Z6(e,n){return!!(n.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function V6(e){const n=e.options.fence||"`";if(n!=="`"&&n!=="~")throw new Error("Cannot serialize code with `"+n+"` for `options.fence`, expected `` ` `` or `~`");return n}function X6(e,n,r,a){const o=V6(r),u=e.value||"",c=o==="`"?"GraveAccent":"Tilde";if(Z6(e,r)){const w=r.enter("codeIndented"),k=r.indentLines(u,J6);return w(),k}const m=r.createTracker(a),b=o.repeat(Math.max(U6(u,o)+1,3)),y=r.enter("codeFenced");let A=m.move(b);if(e.lang){const w=r.enter(`codeFencedLang${c}`);A+=m.move(r.safe(e.lang,G({before:A,after:" ",encode:["`"]},m.current()))),w()}if(e.lang&&e.meta){const w=r.enter(`codeFencedMeta${c}`);A+=m.move(" "),A+=m.move(r.safe(e.meta,G({before:A,after:`
88
- `,encode:["`"]},m.current()))),w()}return A+=m.move(`
89
- `),u&&(A+=m.move(u+`
90
- `)),A+=m.move(b),y(),A}function J6(e,n,r){return(r?"":" ")+e}function Hm(e){const n=e.options.quote||'"';if(n!=='"'&&n!=="'")throw new Error("Cannot serialize title with `"+n+"` for `options.quote`, expected `\"`, or `'`");return n}function K6(e,n,r,a){const o=Hm(r),u=o==='"'?"Quote":"Apostrophe",c=r.enter("definition");let m=r.enter("label");const b=r.createTracker(a);let y=b.move("[");return y+=b.move(r.safe(r.associationId(e),G({before:y,after:"]"},b.current()))),y+=b.move("]: "),m(),!e.url||/[\0- \u007F]/.test(e.url)?(m=r.enter("destinationLiteral"),y+=b.move("<"),y+=b.move(r.safe(e.url,G({before:y,after:">"},b.current()))),y+=b.move(">")):(m=r.enter("destinationRaw"),y+=b.move(r.safe(e.url,G({before:y,after:e.title?" ":`
91
- `},b.current())))),m(),e.title&&(m=r.enter(`title${u}`),y+=b.move(" "+o),y+=b.move(r.safe(e.title,G({before:y,after:o},b.current()))),y+=b.move(o),m()),c(),y}function Q6(e){const n=e.options.emphasis||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize emphasis with `"+n+"` for `options.emphasis`, expected `*`, or `_`");return n}function fd(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ig(e,n,r){const a=_c(e),o=_c(n);return a===void 0?o===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:o===void 0?{inside:!1,outside:!1}:o===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}rx.peek=j6;function rx(e,n,r,a){const o=Q6(r),u=r.enter("emphasis"),c=r.createTracker(a),m=c.move(o);let b=c.move(r.containerPhrasing(e,G({after:o,before:m},c.current())));const y=b.charCodeAt(0),A=ig(a.before.charCodeAt(a.before.length-1),y,o);A.inside&&(b=fd(y)+b.slice(1));const w=b.charCodeAt(b.length-1),k=ig(a.after.charCodeAt(0),w,o);k.inside&&(b=b.slice(0,-1)+fd(w));const _=c.move(o);return u(),r.attentionEncodeSurroundingInfo={after:k.outside,before:A.outside},m+b+_}function j6(e,n,r){return r.options.emphasis||"*"}function q6(e,n){let r=!1;return km(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return r=!0,wm}),!!((!e.depth||e.depth<3)&&dm(e)&&(n.options.setext||r))}function $6(e,n,r,a){const o=Math.max(Math.min(6,e.depth||1),1),u=r.createTracker(a);if(q6(e,r)){const A=r.enter("headingSetext"),w=r.enter("phrasing"),k=r.containerPhrasing(e,We(G({},u.current()),{before:`
92
- `,after:`
93
- `}));return w(),A(),k+`
94
- `+(o===1?"=":"-").repeat(k.length-(Math.max(k.lastIndexOf("\r"),k.lastIndexOf(`
95
- `))+1))}const c="#".repeat(o),m=r.enter("headingAtx"),b=r.enter("phrasing");u.move(c+" ");let y=r.containerPhrasing(e,G({before:"# ",after:`
96
- `},u.current()));return/^[\t ]/.test(y)&&(y=fd(y.charCodeAt(0))+y.slice(1)),y=y?c+" "+y:c,r.options.closeAtx&&(y+=" "+c),b(),m(),y}ix.peek=e8;function ix(e){return e.value||""}function e8(){return"<"}ax.peek=t8;function ax(e,n,r,a){const o=Hm(r),u=o==='"'?"Quote":"Apostrophe",c=r.enter("image");let m=r.enter("label");const b=r.createTracker(a);let y=b.move("![");return y+=b.move(r.safe(e.alt,G({before:y,after:"]"},b.current()))),y+=b.move("]("),m(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(m=r.enter("destinationLiteral"),y+=b.move("<"),y+=b.move(r.safe(e.url,G({before:y,after:">"},b.current()))),y+=b.move(">")):(m=r.enter("destinationRaw"),y+=b.move(r.safe(e.url,G({before:y,after:e.title?" ":")"},b.current())))),m(),e.title&&(m=r.enter(`title${u}`),y+=b.move(" "+o),y+=b.move(r.safe(e.title,G({before:y,after:o},b.current()))),y+=b.move(o),m()),y+=b.move(")"),c(),y}function t8(){return"!"}lx.peek=n8;function lx(e,n,r,a){const o=e.referenceType,u=r.enter("imageReference");let c=r.enter("label");const m=r.createTracker(a);let b=m.move("![");const y=r.safe(e.alt,G({before:b,after:"]"},m.current()));b+=m.move(y+"]["),c();const A=r.stack;r.stack=[],c=r.enter("reference");const w=r.safe(r.associationId(e),G({before:b,after:"]"},m.current()));return c(),r.stack=A,u(),o==="full"||!y||y!==w?b+=m.move(w+"]"):o==="shortcut"?b=b.slice(0,-1):b+=m.move("]"),b}function n8(){return"!"}ox.peek=r8;function ox(e,n,r){let a=e.value||"",o="`",u=-1;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(a);)o+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++u<r.unsafe.length;){const c=r.unsafe[u],m=r.compilePattern(c);let b;if(c.atBreak)for(;b=m.exec(a);){let y=b.index;a.charCodeAt(y)===10&&a.charCodeAt(y-1)===13&&y--,a=a.slice(0,y)+" "+a.slice(b.index+1)}}return o+a+o}function r8(){return"`"}function sx(e,n){const r=dm(e);return!!(!n.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}ux.peek=i8;function ux(e,n,r,a){const o=Hm(r),u=o==='"'?"Quote":"Apostrophe",c=r.createTracker(a);let m,b;if(sx(e,r)){const A=r.stack;r.stack=[],m=r.enter("autolink");let w=c.move("<");return w+=c.move(r.containerPhrasing(e,G({before:w,after:">"},c.current()))),w+=c.move(">"),m(),r.stack=A,w}m=r.enter("link"),b=r.enter("label");let y=c.move("[");return y+=c.move(r.containerPhrasing(e,G({before:y,after:"]("},c.current()))),y+=c.move("]("),b(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(b=r.enter("destinationLiteral"),y+=c.move("<"),y+=c.move(r.safe(e.url,G({before:y,after:">"},c.current()))),y+=c.move(">")):(b=r.enter("destinationRaw"),y+=c.move(r.safe(e.url,G({before:y,after:e.title?" ":")"},c.current())))),b(),e.title&&(b=r.enter(`title${u}`),y+=c.move(" "+o),y+=c.move(r.safe(e.title,G({before:y,after:o},c.current()))),y+=c.move(o),b()),y+=c.move(")"),m(),y}function i8(e,n,r){return sx(e,r)?"<":"["}cx.peek=a8;function cx(e,n,r,a){const o=e.referenceType,u=r.enter("linkReference");let c=r.enter("label");const m=r.createTracker(a);let b=m.move("[");const y=r.containerPhrasing(e,G({before:b,after:"]"},m.current()));b+=m.move(y+"]["),c();const A=r.stack;r.stack=[],c=r.enter("reference");const w=r.safe(r.associationId(e),G({before:b,after:"]"},m.current()));return c(),r.stack=A,u(),o==="full"||!y||y!==w?b+=m.move(w+"]"):o==="shortcut"?b=b.slice(0,-1):b+=m.move("]"),b}function a8(){return"["}function Wm(e){const n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function l8(e){const n=Wm(e),r=e.options.bulletOther;if(!r)return n==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===n)throw new Error("Expected `bullet` (`"+n+"`) and `bulletOther` (`"+r+"`) to be different");return r}function o8(e){const n=e.options.bulletOrdered||".";if(n!=="."&&n!==")")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOrdered`, expected `.` or `)`");return n}function fx(e){const n=e.options.rule||"*";if(n!=="*"&&n!=="-"&&n!=="_")throw new Error("Cannot serialize rules with `"+n+"` for `options.rule`, expected `*`, `-`, or `_`");return n}function s8(e,n,r,a){const o=r.enter("list"),u=r.bulletCurrent;let c=e.ordered?o8(r):Wm(r);const m=e.ordered?c==="."?")":".":l8(r);let b=n&&r.bulletLastUsed?c===r.bulletLastUsed:!1;if(!e.ordered){const A=e.children?e.children[0]:void 0;if((c==="*"||c==="-")&&A&&(!A.children||!A.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(b=!0),fx(r)===c&&A){let w=-1;for(;++w<e.children.length;){const k=e.children[w];if(k&&k.type==="listItem"&&k.children&&k.children[0]&&k.children[0].type==="thematicBreak"){b=!0;break}}}}b&&(c=m),r.bulletCurrent=c;const y=r.containerFlow(e,a);return r.bulletLastUsed=c,r.bulletCurrent=u,o(),y}function u8(e){const n=e.options.listItemIndent||"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function c8(e,n,r,a){const o=u8(r);let u=r.bulletCurrent||Wm(r);n&&n.type==="list"&&n.ordered&&(u=(typeof n.start=="number"&&n.start>-1?n.start:1)+(r.options.incrementListMarker===!1?0:n.children.indexOf(e))+u);let c=u.length+1;(o==="tab"||o==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(c=Math.ceil(c/4)*4);const m=r.createTracker(a);m.move(u+" ".repeat(c-u.length)),m.shift(c);const b=r.enter("listItem"),y=r.indentLines(r.containerFlow(e,m.current()),A);return b(),y;function A(w,k,_){return k?(_?"":" ".repeat(c))+w:(_?u:u+" ".repeat(c-u.length))+w}}function f8(e,n,r,a){const o=r.enter("paragraph"),u=r.enter("phrasing"),c=r.containerPhrasing(e,a);return u(),o(),c}const d8=tg(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function h8(e,n,r,a){return(e.children.some(function(c){return d8(c)})?r.containerPhrasing:r.containerFlow).call(r,e,a)}function g8(e){const n=e.options.strong||"*";if(n!=="*"&&n!=="_")throw new Error("Cannot serialize strong with `"+n+"` for `options.strong`, expected `*`, or `_`");return n}dx.peek=p8;function dx(e,n,r,a){const o=g8(r),u=r.enter("strong"),c=r.createTracker(a),m=c.move(o+o);let b=c.move(r.containerPhrasing(e,G({after:o,before:m},c.current())));const y=b.charCodeAt(0),A=ig(a.before.charCodeAt(a.before.length-1),y,o);A.inside&&(b=fd(y)+b.slice(1));const w=b.charCodeAt(b.length-1),k=ig(a.after.charCodeAt(0),w,o);k.inside&&(b=b.slice(0,-1)+fd(w));const _=c.move(o+o);return u(),r.attentionEncodeSurroundingInfo={after:k.outside,before:A.outside},m+b+_}function p8(e,n,r){return r.options.strong||"*"}function m8(e,n,r,a){return r.safe(e.value,a)}function b8(e){const n=e.options.ruleRepetition||3;if(n<3)throw new Error("Cannot serialize rules with repetition `"+n+"` for `options.ruleRepetition`, expected `3` or more");return n}function y8(e,n,r){const a=(fx(r)+(r.options.ruleSpaces?" ":"")).repeat(b8(r));return r.options.ruleSpaces?a.slice(0,-1):a}const hx={blockquote:W6,break:nx,code:X6,definition:K6,emphasis:rx,hardBreak:nx,heading:$6,html:ix,image:ax,imageReference:lx,inlineCode:ox,link:ux,linkReference:cx,list:s8,listItem:c8,paragraph:f8,root:h8,strong:dx,text:m8,thematicBreak:y8};function v8(){return{enter:{table:x8,tableData:gx,tableHeader:gx,tableRow:S8},exit:{codeText:w8,table:A8,tableData:Gm,tableHeader:Gm,tableRow:Gm}}}function x8(e){const n=e._align;this.enter({type:"table",align:n.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function A8(e){this.exit(e),this.data.inTable=void 0}function S8(e){this.enter({type:"tableRow",children:[]},e)}function Gm(e){this.exit(e)}function gx(e){this.enter({type:"tableCell",children:[]},e)}function w8(e){let n=this.resume();this.data.inTable&&(n=n.replace(/\\([\\|])/g,k8));const r=this.stack[this.stack.length-1];r.value=n,this.exit(e)}function k8(e,n){return n==="|"?n:e}function E8(e){const n=e||{},r=n.tableCellPadding,a=n.tablePipeAlign,o=n.stringLength,u=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
97
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:k,table:c,tableCell:b,tableRow:m}};function c(_,P,N,W){return y(A(_,N,W),_.align)}function m(_,P,N,W){const H=w(_,N,W),J=y([H]);return J.slice(0,J.indexOf(`
98
- `))}function b(_,P,N,W){const H=N.enter("tableCell"),J=N.enter("phrasing"),Y=N.containerPhrasing(_,We(G({},W),{before:u,after:u}));return J(),H(),Y}function y(_,P){return F6(_,{align:P,alignDelimiters:a,padding:r,stringLength:o})}function A(_,P,N){const W=_.children;let H=-1;const J=[],Y=P.enter("table");for(;++H<W.length;)J[H]=w(W[H],P,N);return Y(),J}function w(_,P,N){const W=_.children;let H=-1;const J=[],Y=P.enter("tableRow");for(;++H<W.length;)J[H]=b(W[H],_,P,N);return Y(),J}function k(_,P,N){let W=hx.inlineCode(_,P,N);return N.stack.includes("tableCell")&&(W=W.replace(/\|/g,"\\$&")),W}}function _8(){return{exit:{taskListCheckValueChecked:px,taskListCheckValueUnchecked:px,paragraph:T8}}}function C8(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:R8}}}function px(e){const n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function T8(e){const n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){const r=this.stack[this.stack.length-1],a=r.children[0];if(a&&a.type==="text"){const o=n.children;let u=-1,c;for(;++u<o.length;){const m=o[u];if(m.type==="paragraph"){c=m;break}}c===r&&(a.value=a.value.slice(1),a.value.length===0?r.children.shift():r.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,r.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function R8(e,n,r,a){const o=e.children[0],u=typeof e.checked=="boolean"&&o&&o.type==="paragraph",c="["+(e.checked?"x":" ")+"] ",m=r.createTracker(a);u&&m.move(c);let b=hx.listItem(e,n,r,G(G({},a),m.current()));return u&&(b=b.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,y)),b;function y(A){return A+c}}function z8(){return[s6(),R6(),D6(),v8(),_8()]}function O8(e){return{extensions:[u6(),z6(e),M6(),E8(e),C8()]}}const P8={tokenize:B8,partial:!0},mx={tokenize:F8,partial:!0},bx={tokenize:H8,partial:!0},yx={tokenize:W8,partial:!0},D8={tokenize:G8,partial:!0},vx={name:"wwwAutolink",tokenize:I8,previous:Ax},xx={name:"protocolAutolink",tokenize:L8,previous:Sx},Mo={name:"emailAutolink",tokenize:N8,previous:wx},ao={};function M8(){return{text:ao}}let Au=48;for(;Au<123;)ao[Au]=Mo,Au++,Au===58?Au=65:Au===91&&(Au=97);ao[43]=Mo,ao[45]=Mo,ao[46]=Mo,ao[95]=Mo,ao[72]=[Mo,xx],ao[104]=[Mo,xx],ao[87]=[Mo,vx],ao[119]=[Mo,vx];function N8(e,n,r){const a=this;let o,u;return c;function c(w){return!Ym(w)||!wx.call(a,a.previous)||Um(a.events)?r(w):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),m(w))}function m(w){return Ym(w)?(e.consume(w),m):w===64?(e.consume(w),b):r(w)}function b(w){return w===46?e.check(D8,A,y)(w):w===45||w===95||ri(w)?(u=!0,e.consume(w),b):A(w)}function y(w){return e.consume(w),o=!0,b}function A(w){return u&&o&&bi(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(w)):r(w)}}function I8(e,n,r){const a=this;return o;function o(c){return c!==87&&c!==119||!Ax.call(a,a.previous)||Um(a.events)?r(c):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(P8,e.attempt(mx,e.attempt(bx,u),r),r)(c))}function u(c){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(c)}}function L8(e,n,r){const a=this;let o="",u=!1;return c;function c(w){return(w===72||w===104)&&Sx.call(a,a.previous)&&!Um(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(w),e.consume(w),m):r(w)}function m(w){if(bi(w)&&o.length<5)return o+=String.fromCodePoint(w),e.consume(w),m;if(w===58){const k=o.toLowerCase();if(k==="http"||k==="https")return e.consume(w),b}return r(w)}function b(w){return w===47?(e.consume(w),u?y:(u=!0,b)):r(w)}function y(w){return w===null||Vh(w)||dn(w)||xu(w)||Xh(w)?r(w):e.attempt(mx,e.attempt(bx,A),r)(w)}function A(w){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(w)}}function B8(e,n,r){let a=0;return o;function o(c){return(c===87||c===119)&&a<3?(a++,e.consume(c),o):c===46&&a===3?(e.consume(c),u):r(c)}function u(c){return c===null?r(c):n(c)}}function F8(e,n,r){let a,o,u;return c;function c(y){return y===46||y===95?e.check(yx,b,m)(y):y===null||dn(y)||xu(y)||y!==45&&Xh(y)?b(y):(u=!0,e.consume(y),c)}function m(y){return y===95?a=!0:(o=a,a=void 0),e.consume(y),c}function b(y){return o||a||!u?r(y):n(y)}}function H8(e,n){let r=0,a=0;return o;function o(c){return c===40?(r++,e.consume(c),o):c===41&&a<r?u(c):c===33||c===34||c===38||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===60||c===63||c===93||c===95||c===126?e.check(yx,n,u)(c):c===null||dn(c)||xu(c)?n(c):(e.consume(c),o)}function u(c){return c===41&&a++,e.consume(c),o}}function W8(e,n,r){return a;function a(m){return m===33||m===34||m===39||m===41||m===42||m===44||m===46||m===58||m===59||m===63||m===95||m===126?(e.consume(m),a):m===38?(e.consume(m),u):m===93?(e.consume(m),o):m===60||m===null||dn(m)||xu(m)?n(m):r(m)}function o(m){return m===null||m===40||m===91||dn(m)||xu(m)?n(m):a(m)}function u(m){return bi(m)?c(m):r(m)}function c(m){return m===59?(e.consume(m),a):bi(m)?(e.consume(m),c):r(m)}}function G8(e,n,r){return a;function a(u){return e.consume(u),o}function o(u){return ri(u)?r(u):n(u)}}function Ax(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||dn(e)}function Sx(e){return!bi(e)}function wx(e){return!(e===47||Ym(e))}function Ym(e){return e===43||e===45||e===46||e===95||ri(e)}function Um(e){let n=e.length,r=!1;for(;n--;){const a=e[n][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){r=!0;break}if(a._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const Y8={tokenize:j8,partial:!0};function U8(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:J8,continuation:{tokenize:K8},exit:Q8}},text:{91:{name:"gfmFootnoteCall",tokenize:X8},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Z8,resolveTo:V8}}}}function Z8(e,n,r){const a=this;let o=a.events.length;const u=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let c;for(;o--;){const b=a.events[o][1];if(b.type==="labelImage"){c=b;break}if(b.type==="gfmFootnoteCall"||b.type==="labelLink"||b.type==="label"||b.type==="image"||b.type==="link")break}return m;function m(b){if(!c||!c._balanced)return r(b);const y=ul(a.sliceSerialize({start:c.end,end:a.now()}));return y.codePointAt(0)!==94||!u.includes(y.slice(1))?r(b):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),n(b))}}function V8(e,n){let r=e.length;for(;r--&&!(e[r][1].type==="labelImage"&&e[r][0]==="enter"););e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},c={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},m=[e[r+1],e[r+2],["enter",a,n],e[r+3],e[r+4],["enter",o,n],["exit",o,n],["enter",u,n],["enter",c,n],["exit",c,n],["exit",u,n],e[e.length-2],e[e.length-1],["exit",a,n]];return e.splice(r,e.length-r+1,...m),e}function X8(e,n,r){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u=0,c;return m;function m(w){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(w),e.exit("gfmFootnoteCallLabelMarker"),b}function b(w){return w!==94?r(w):(e.enter("gfmFootnoteCallMarker"),e.consume(w),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",y)}function y(w){if(u>999||w===93&&!c||w===null||w===91||dn(w))return r(w);if(w===93){e.exit("chunkString");const k=e.exit("gfmFootnoteCallString");return o.includes(ul(a.sliceSerialize(k)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(w),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n):r(w)}return dn(w)||(c=!0),u++,e.consume(w),w===92?A:y}function A(w){return w===91||w===92||w===93?(e.consume(w),u++,y):y(w)}}function J8(e,n,r){const a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u,c=0,m;return b;function b(P){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(P),e.exit("gfmFootnoteDefinitionLabelMarker"),y}function y(P){return P===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(P),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",A):r(P)}function A(P){if(c>999||P===93&&!m||P===null||P===91||dn(P))return r(P);if(P===93){e.exit("chunkString");const N=e.exit("gfmFootnoteDefinitionLabelString");return u=ul(a.sliceSerialize(N)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(P),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),k}return dn(P)||(m=!0),c++,e.consume(P),P===92?w:A}function w(P){return P===91||P===92||P===93?(e.consume(P),c++,A):A(P)}function k(P){return P===58?(e.enter("definitionMarker"),e.consume(P),e.exit("definitionMarker"),o.includes(u)||o.push(u),Mt(e,_,"gfmFootnoteDefinitionWhitespace")):r(P)}function _(P){return n(P)}}function K8(e,n,r){return e.check(ad,n,e.attempt(Y8,n,r))}function Q8(e){e.exit("gfmFootnoteDefinition")}function j8(e,n,r){const a=this;return Mt(e,o,"gfmFootnoteDefinitionIndent",5);function o(u){const c=a.events[a.events.length-1];return c&&c[1].type==="gfmFootnoteDefinitionIndent"&&c[2].sliceSerialize(c[1],!0).length===4?n(u):r(u)}}function q8(e){let r=(e||{}).singleTilde;const a={name:"strikethrough",tokenize:u,resolveAll:o};return r==null&&(r=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function o(c,m){let b=-1;for(;++b<c.length;)if(c[b][0]==="enter"&&c[b][1].type==="strikethroughSequenceTemporary"&&c[b][1]._close){let y=b;for(;y--;)if(c[y][0]==="exit"&&c[y][1].type==="strikethroughSequenceTemporary"&&c[y][1]._open&&c[b][1].end.offset-c[b][1].start.offset===c[y][1].end.offset-c[y][1].start.offset){c[b][1].type="strikethroughSequence",c[y][1].type="strikethroughSequence";const A={type:"strikethrough",start:Object.assign({},c[y][1].start),end:Object.assign({},c[b][1].end)},w={type:"strikethroughText",start:Object.assign({},c[y][1].end),end:Object.assign({},c[b][1].start)},k=[["enter",A,m],["enter",c[y][1],m],["exit",c[y][1],m],["enter",w,m]],_=m.parser.constructs.insideSpan.null;_&&aa(k,k.length,0,Jh(_,c.slice(y+1,b),m)),aa(k,k.length,0,[["exit",w,m],["enter",c[b][1],m],["exit",c[b][1],m],["exit",A,m]]),aa(c,y-1,b-y+3,k),b=y+k.length-2;break}}for(b=-1;++b<c.length;)c[b][1].type==="strikethroughSequenceTemporary"&&(c[b][1].type="data");return c}function u(c,m,b){const y=this.previous,A=this.events;let w=0;return k;function k(P){return y===126&&A[A.length-1][1].type!=="characterEscape"?b(P):(c.enter("strikethroughSequenceTemporary"),_(P))}function _(P){const N=_c(y);if(P===126)return w>1?b(P):(c.consume(P),w++,_);if(w<2&&!r)return b(P);const W=c.exit("strikethroughSequenceTemporary"),H=_c(P);return W._open=!H||H===2&&!!N,W._close=!N||N===2&&!!H,m(P)}}}class $8{constructor(){this.map=[]}add(n,r,a){eO(this,n,r,a)}consume(n){if(this.map.sort(function(u,c){return u[0]-c[0]}),this.map.length===0)return;let r=this.map.length;const a=[];for(;r>0;)r-=1,a.push(n.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),n.length=this.map[r][0];a.push(n.slice()),n.length=0;let o=a.pop();for(;o;){for(const u of o)n.push(u);o=a.pop()}this.map.length=0}}function eO(e,n,r,a){let o=0;if(!(r===0&&a.length===0)){for(;o<e.map.length;){if(e.map[o][0]===n){e.map[o][1]+=r,e.map[o][2].push(...a);return}o+=1}e.map.push([n,r,a])}}function tO(e,n){let r=!1;const a=[];for(;n<e.length;){const o=e[n];if(r){if(o[0]==="enter")o[1].type==="tableContent"&&a.push(e[n+1][1].type==="tableDelimiterMarker"?"left":"none");else if(o[1].type==="tableContent"){if(e[n-1][1].type==="tableDelimiterMarker"){const u=a.length-1;a[u]=a[u]==="left"?"center":"right"}}else if(o[1].type==="tableDelimiterRow")break}else o[0]==="enter"&&o[1].type==="tableDelimiterRow"&&(r=!0);n+=1}return a}function nO(){return{flow:{null:{name:"table",tokenize:rO,resolveAll:iO}}}}function rO(e,n,r){const a=this;let o=0,u=0,c;return m;function m(q){let Re=a.events.length-1;for(;Re>-1;){const te=a.events[Re][1].type;if(te==="lineEnding"||te==="linePrefix")Re--;else break}const fe=Re>-1?a.events[Re][1].type:null,Pe=fe==="tableHead"||fe==="tableRow"?ee:b;return Pe===ee&&a.parser.lazy[a.now().line]?r(q):Pe(q)}function b(q){return e.enter("tableHead"),e.enter("tableRow"),y(q)}function y(q){return q===124||(c=!0,u+=1),A(q)}function A(q){return q===null?r(q):nt(q)?u>1?(u=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),_):r(q):Ct(q)?Mt(e,A,"whitespace")(q):(u+=1,c&&(c=!1,o+=1),q===124?(e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),c=!0,A):(e.enter("data"),w(q)))}function w(q){return q===null||q===124||dn(q)?(e.exit("data"),A(q)):(e.consume(q),q===92?k:w)}function k(q){return q===92||q===124?(e.consume(q),w):w(q)}function _(q){return a.interrupt=!1,a.parser.lazy[a.now().line]?r(q):(e.enter("tableDelimiterRow"),c=!1,Ct(q)?Mt(e,P,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):P(q))}function P(q){return q===45||q===58?W(q):q===124?(c=!0,e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),N):j(q)}function N(q){return Ct(q)?Mt(e,W,"whitespace")(q):W(q)}function W(q){return q===58?(u+=1,c=!0,e.enter("tableDelimiterMarker"),e.consume(q),e.exit("tableDelimiterMarker"),H):q===45?(u+=1,H(q)):q===null||nt(q)?ve(q):j(q)}function H(q){return q===45?(e.enter("tableDelimiterFiller"),J(q)):j(q)}function J(q){return q===45?(e.consume(q),J):q===58?(c=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(q),e.exit("tableDelimiterMarker"),Y):(e.exit("tableDelimiterFiller"),Y(q))}function Y(q){return Ct(q)?Mt(e,ve,"whitespace")(q):ve(q)}function ve(q){return q===124?P(q):q===null||nt(q)?!c||o!==u?j(q):(e.exit("tableDelimiterRow"),e.exit("tableHead"),n(q)):j(q)}function j(q){return r(q)}function ee(q){return e.enter("tableRow"),Te(q)}function Te(q){return q===124?(e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),Te):q===null||nt(q)?(e.exit("tableRow"),n(q)):Ct(q)?Mt(e,Te,"whitespace")(q):(e.enter("data"),Se(q))}function Se(q){return q===null||q===124||dn(q)?(e.exit("data"),Te(q)):(e.consume(q),q===92?me:Se)}function me(q){return q===92||q===124?(e.consume(q),Se):Se(q)}}function iO(e,n){let r=-1,a=!0,o=0,u=[0,0,0,0],c=[0,0,0,0],m=!1,b=0,y,A,w;const k=new $8;for(;++r<e.length;){const _=e[r],P=_[1];_[0]==="enter"?P.type==="tableHead"?(m=!1,b!==0&&(kx(k,n,b,y,A),A=void 0,b=0),y={type:"table",start:Object.assign({},P.start),end:Object.assign({},P.end)},k.add(r,0,[["enter",y,n]])):P.type==="tableRow"||P.type==="tableDelimiterRow"?(a=!0,w=void 0,u=[0,0,0,0],c=[0,r+1,0,0],m&&(m=!1,A={type:"tableBody",start:Object.assign({},P.start),end:Object.assign({},P.end)},k.add(r,0,[["enter",A,n]])),o=P.type==="tableDelimiterRow"?2:A?3:1):o&&(P.type==="data"||P.type==="tableDelimiterMarker"||P.type==="tableDelimiterFiller")?(a=!1,c[2]===0&&(u[1]!==0&&(c[0]=c[1],w=ag(k,n,u,o,void 0,w),u=[0,0,0,0]),c[2]=r)):P.type==="tableCellDivider"&&(a?a=!1:(u[1]!==0&&(c[0]=c[1],w=ag(k,n,u,o,void 0,w)),u=c,c=[u[1],r,0,0])):P.type==="tableHead"?(m=!0,b=r):P.type==="tableRow"||P.type==="tableDelimiterRow"?(b=r,u[1]!==0?(c[0]=c[1],w=ag(k,n,u,o,r,w)):c[1]!==0&&(w=ag(k,n,c,o,r,w)),o=0):o&&(P.type==="data"||P.type==="tableDelimiterMarker"||P.type==="tableDelimiterFiller")&&(c[3]=r)}for(b!==0&&kx(k,n,b,y,A),k.consume(n.events),r=-1;++r<n.events.length;){const _=n.events[r];_[0]==="enter"&&_[1].type==="table"&&(_[1]._align=tO(n.events,r))}return e}function ag(e,n,r,a,o,u){const c=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",m="tableContent";r[0]!==0&&(u.end=Object.assign({},Tc(n.events,r[0])),e.add(r[0],0,[["exit",u,n]]));const b=Tc(n.events,r[1]);if(u={type:c,start:Object.assign({},b),end:Object.assign({},b)},e.add(r[1],0,[["enter",u,n]]),r[2]!==0){const y=Tc(n.events,r[2]),A=Tc(n.events,r[3]),w={type:m,start:Object.assign({},y),end:Object.assign({},A)};if(e.add(r[2],0,[["enter",w,n]]),a!==2){const k=n.events[r[2]],_=n.events[r[3]];if(k[1].end=Object.assign({},_[1].end),k[1].type="chunkText",k[1].contentType="text",r[3]>r[2]+1){const P=r[2]+1,N=r[3]-r[2]-1;e.add(P,N,[])}}e.add(r[3]+1,0,[["exit",w,n]])}return o!==void 0&&(u.end=Object.assign({},Tc(n.events,o)),e.add(o,0,[["exit",u,n]]),u=void 0),u}function kx(e,n,r,a,o){const u=[],c=Tc(n.events,r);o&&(o.end=Object.assign({},c),u.push(["exit",o,n])),a.end=Object.assign({},c),u.push(["exit",a,n]),e.add(r+1,0,u)}function Tc(e,n){const r=e[n],a=r[0]==="enter"?"start":"end";return r[1][a]}const aO={name:"tasklistCheck",tokenize:oO};function lO(){return{text:{91:aO}}}function oO(e,n,r){const a=this;return o;function o(b){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?r(b):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(b),e.exit("taskListCheckMarker"),u)}function u(b){return dn(b)?(e.enter("taskListCheckValueUnchecked"),e.consume(b),e.exit("taskListCheckValueUnchecked"),c):b===88||b===120?(e.enter("taskListCheckValueChecked"),e.consume(b),e.exit("taskListCheckValueChecked"),c):r(b)}function c(b){return b===93?(e.enter("taskListCheckMarker"),e.consume(b),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),m):r(b)}function m(b){return nt(b)?n(b):Ct(b)?e.check({tokenize:sO},n,r)(b):r(b)}}function sO(e,n,r){return Mt(e,a,"whitespace");function a(o){return o===null?r(o):n(o)}}function uO(e){return r1([M8(),U8(),q8(e),nO(),lO()])}const cO={};function fO(e){const n=this,r=e||cO,a=n.data(),o=a.micromarkExtensions||(a.micromarkExtensions=[]),u=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),c=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);o.push(uO(r)),u.push(z8()),c.push(O8(r))}const dO=({message:e})=>e.type==="loading"?e.content&&$.jsx(Yz,{message:e.content,type:"loading"}):e.type==="user"?$.jsx(_t,{maxW:"220px",alignSelf:"flex-end",mb:1.5,children:(e.content.length>0||e.repliedProduct)&&$.jsxs(Ii,{bg:"#EBF8FF",borderRadius:"20px",px:3,py:1.5,gap:1.5,alignItems:"start",w:"full",children:[e.repliedProduct&&$.jsxs(ra,{bg:"white",borderRadius:"10px",p:1.5,gap:1.5,w:"full",children:[$.jsx(sl,{src:e.repliedProduct.image,alt:"product",w:"32px",h:"32px"}),$.jsx(Mr,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",children:e.repliedProduct.name})]}),$.jsx(X1,{components:{p:({children:n})=>$.jsx(Mr,{wordBreak:"break-word",fontSize:"12px",fontWeight:"500",color:"#4299E1",children:n})},children:e.content})]})}):e.type==="products"?$.jsx(_t,{maxW:"100%",alignSelf:"flex-start",mb:3,w:"full",children:$.jsx(J1,{products:e.products||[]})}):e.type==="suggestions"?$.jsx(n6,{suggestions:e.suggestions||[]}):$.jsxs(Ii,{align:"stretch",gap:1.5,children:[$.jsx(_t,{alignSelf:"flex-start",children:$.jsx(ra,{align:"start",justifyContent:"flex-start",gap:1.5,children:$.jsx(_t,{w:"full",borderRadius:"20px",py:2,children:$.jsx(X1,{remarkPlugins:[fO],components:{p:({children:n})=>$.jsx(Mr,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:n}),ol:({children:n})=>$.jsx(_t,{as:"ol",p:1.5,textAlign:"left",dir:"rtl",mb:1.5,children:n}),ul:({children:n})=>$.jsx(_t,{as:"ul",p:1.5,textAlign:"left",dir:"rtl",mb:1.5,children:n}),li:({children:n})=>$.jsx(Mr,{as:"li",fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:n}),img:({src:n,alt:r})=>$.jsx(sl,{src:n,alt:r||"",maxW:"100%",borderRadius:"6px",my:1.5}),a:({children:n,href:r})=>$.jsx(Rv,{href:r,target:"_blank",display:"block",wordBreak:"break-word",overflowWrap:"anywhere",children:$.jsx(Mr,{fontSize:"12px",fontWeight:"400",color:"#6155F5",textAlign:"left",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal",children:n})}),table:({children:n})=>$.jsx(_t,{overflowX:"auto",maxW:"100%",css:{"&::-webkit-scrollbar":{height:"5px"},"&::-webkit-scrollbar-track":{background:"#f1f1f1",borderRadius:"8px"},"&::-webkit-scrollbar-thumb":{background:"#888",borderRadius:"8px"},"&::-webkit-scrollbar-thumb:hover":{background:"#555"}},children:$.jsx(PT,{size:"sm",variant:"outline",w:"full",my:1.5,striped:!0,children:n})}),thead:({children:n})=>$.jsx(MT,{children:n}),tbody:({children:n})=>$.jsx(LT,{children:n}),tr:({children:n})=>$.jsx(DT,{children:n}),th:({children:n})=>$.jsx(NT,{fontSize:"12px",fontWeight:"600",color:"black",textAlign:"left",px:1.5,py:.75,textTransform:"none",letterSpacing:"normal",border:"1px solid",borderColor:"#DEDEDE",whiteSpace:"nowrap",bg:"#E0E0E0",children:n}),td:({children:n})=>$.jsx(IT,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",px:1.5,py:.75,border:"1px solid",borderColor:"#DEDEDE",children:n})},children:e.content})})})}),e.products&&e.products.length>0&&$.jsx(J1,{products:e.products})]});function hO(e,n){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${n}`}function Ex(e={}){const{name:n,strict:r=!0,hookName:a="useContext",providerName:o="Provider",errorMessage:u,defaultValue:c}=e,m=Ae.createContext(c);m.displayName=n;function b(){var A;const y=Ae.useContext(m);if(!y&&r){const w=new Error(u!=null?u:hO(a,o));throw w.name="ContextError",(A=Error.captureStackTrace)==null||A.call(Error,w,b),w}return y}return[m.Provider,b,m]}const[HI,gO]=Ex({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});var Zm=e=>typeof e=="string",pO=Function.prototype.toString;pO.call(Object);var mO=(...e)=>(...n)=>{e.forEach(function(r){r==null||r(...n)})},lg=e=>typeof e=="object"&&e!==null,bO=1,yO=9,vO=11,xO=e=>lg(e)&&e.nodeType===bO&&typeof e.nodeName=="string",_x=e=>lg(e)&&e.nodeType===yO,AO=e=>lg(e)&&e===e.window,SO=e=>lg(e)&&e.nodeType!==void 0,wO=e=>SO(e)&&e.nodeType===vO&&"host"in e;function Cx(e){var n;return _x(e)?e:AO(e)?e.document:(n=e==null?void 0:e.ownerDocument)!=null?n:document}function og(e){var n,r,a;return wO(e)?og(e.host):_x(e)?(n=e.defaultView)!=null?n:window:xO(e)&&(a=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?a:window}var Vm=new WeakMap;function kO(e){return Vm.has(e)||Vm.set(e,og(e).getComputedStyle(e)),Vm.get(e)}var EO=(...e)=>e.map(n=>{var r;return(r=n==null?void 0:n.trim)==null?void 0:r.call(n)}).filter(Boolean).join(" "),_O=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,Tx=e=>{const n={};let r;for(;r=_O.exec(e);)n[r[1]]=r[2];return n},CO=(e,n)=>{if(Zm(e)){if(Zm(n))return`${e};${n}`;e=Tx(e)}else Zm(n)&&(n=Tx(n));return Object.assign({},e!=null?e:{},n!=null?n:{})};function Rx(...e){let n={};for(let r of e){if(!r)continue;for(let o in n){if(o.startsWith("on")&&typeof n[o]=="function"&&typeof r[o]=="function"){n[o]=mO(r[o],n[o]);continue}if(o==="className"||o==="class"){n[o]=EO(n[o],r[o]);continue}if(o==="style"){n[o]=CO(n[o],r[o]);continue}n[o]=r[o]!==void 0?r[o]:n[o]}for(let o in r)n[o]===void 0&&(n[o]=r[o]);const a=Object.getOwnPropertySymbols(r);for(let o of a)n[o]=r[o]}return n}var rt=()=>e=>Array.from(new Set(e));function zx(...e){return n=>{const r=[];for(const a of e)if(typeof a=="function"){const o=a(n);typeof o=="function"&&r.push(o)}else a&&(a.current=n);if(r.length)return()=>{for(const a of r)a()}}}function TO(e){var a,o;let n=(a=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:a.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?e.ref:(n=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}const Xm=e=>{const n=Ae.memo(Ae.forwardRef((r,a)=>{const y=r,{asChild:o,children:u}=y,c=Or(y,["asChild","children"]);if(!o)return Ae.createElement(e,We(G({},c),{ref:a}),u);if(!Ae.isValidElement(u))return null;const m=Ae.Children.only(u),b=TO(m);return Ae.cloneElement(m,We(G({},Rx(c,m.props)),{ref:a?zx(a,b):b}))}));return n.displayName=e.displayName||e.name,n},RO=(()=>{const e=new Map;return new Proxy(Xm,{apply(n,r,a){return Xm(a[0])},get(n,r){const a=r;return e.has(a)||e.set(a,Xm(a)),e.get(a)}})})(),[zO]=Ex({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var it=(e,n=[])=>({parts:(...r)=>{if(OO(n))return it(e,r);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...r)=>it(e,[...n,...r]),omit:(...r)=>it(e,n.filter(a=>!r.includes(a))),rename:r=>it(r,n),keys:()=>n,build:()=>[...new Set(n)].reduce((r,a)=>Object.assign(r,{[a]:{selector:[`&[data-scope="${Rc(e)}"][data-part="${Rc(a)}"]`,`& [data-scope="${Rc(e)}"][data-part="${Rc(a)}"]`].join(", "),attrs:{"data-scope":Rc(e),"data-part":Rc(a)}}}),{})}),Rc=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),OO=e=>e.length===0;const Ox=it("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");Ox.build();var PO=e=>{var y,A;if(!e)return;const n=kO(e),r=og(e),a=Cx(e),o=()=>{requestAnimationFrame(()=>{e.style.height="auto";let w;n.boxSizing==="content-box"?w=e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):w=e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),n.maxHeight!=="none"&&w>parseFloat(n.maxHeight)?(n.overflowY==="hidden"&&(e.style.overflowY="scroll"),w=parseFloat(n.maxHeight)):n.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${w}px`})};e.addEventListener("input",o),(y=e.form)==null||y.addEventListener("reset",o);const u=Object.getPrototypeOf(e),c=Object.getOwnPropertyDescriptor(u,"value");Object.defineProperty(e,"value",We(G({},c),{set(){var w;(w=c==null?void 0:c.set)==null||w.apply(this,arguments),o()}}));const m=new r.ResizeObserver(()=>{requestAnimationFrame(()=>o())});m.observe(e);const b=new r.MutationObserver(()=>o());return b.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),(A=a.fonts)==null||A.addEventListener("loadingdone",o),()=>{var w,k;e.removeEventListener("input",o),(w=e.form)==null||w.removeEventListener("reset",o),(k=a.fonts)==null||k.removeEventListener("loadingdone",o),m.disconnect(),b.disconnect()}};const Px=Ae.forwardRef((e,n)=>{const m=e,{autoresize:r}=m,a=Or(m,["autoresize"]),o=Ae.useRef(null),u=gO(),c=Rx(u==null?void 0:u.getTextareaProps(),{style:{resize:r?"none":void 0}},a);return Ae.useEffect(()=>{if(r)return PO(o.current)},[r]),$.jsx(RO.textarea,We(G({},c),{ref:zx(n,o)}))});Px.displayName="FieldTextarea";const{withContext:DO}=xc({key:"textarea"}),Dx=DO(Px),MO="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.5858%2011.0002C15.3669%2010.2191%2016.6332%2010.2191%2017.4143%2011.0002L20.3738%2013.9597C20.7643%2014.3502%2020.7643%2014.9834%2020.3738%2015.3739C19.9833%2015.7644%2019.3501%2015.7644%2018.9596%2015.3739L17%2013.4144V21.0002C17%2021.5524%2016.5523%2022.0002%2016%2022.0002C15.4478%2022.0002%2015%2021.5524%2015%2021.0002V13.4144L13.0405%2015.3739C12.65%2015.7644%2012.0168%2015.7645%2011.6263%2015.3739C11.2358%2014.9834%2011.2358%2014.3502%2011.6263%2013.9597L14.5858%2011.0002Z'%20fill='white'%20/%3e%3c/svg%3e",NO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.26915%205.7309C5.98798%205.44973%205.53209%205.44973%205.25092%205.7309C4.96975%206.01207%204.96975%206.46796%205.25092%206.74913L10.5018%2012L5.25092%2017.2509C4.96975%2017.5321%204.96975%2017.9879%205.25092%2018.2691C5.53209%2018.5503%205.98798%2018.5503%206.26915%2018.2691L11.52%2013.0183L16.7709%2018.2691C17.0521%2018.5503%2017.5079%2018.5503%2017.7891%2018.2691C18.0703%2017.9879%2018.0703%2017.5321%2017.7891%2017.2509L12.5383%2012L17.7891%206.74913C18.0703%206.46796%2018.0703%206.01207%2017.7891%205.7309C17.5079%205.44973%2017.0521%205.44973%2016.7709%205.7309L11.52%2010.9817L6.26915%205.7309Z'%20fill='black'%20/%3e%3c/svg%3e",IO=({placeholder:e="Write a prompt or paste a contract address",value:n="",onChange:r,onSend:a,isMobileView:o})=>{var _,P;const{chatState:{repliedProduct:u},setRepliedProduct:c}=no(),[m,b]=Ae.useState(n);Ae.useEffect(()=>{b(k(n))},[n]);const y=N=>{const W=k(N);b(W),r==null||r(W)},A=N=>{(m.trim()||N)&&(a==null||a({message:N!=null?N:m.trim()},u==null?void 0:u.product),c==null||c(null),b(""))},w=N=>{N.key==="Enter"&&!N.shiftKey&&(N.preventDefault(),A())},k=N=>N.trimStart();return $.jsx(Ii,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:$.jsx(_t,{bg:"#EDEDED",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:u?o?"260px":"165px":"75px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:$.jsxs(_t,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:[u&&$.jsxs(Ii,{opacity:1,p:"6px",gap:"6px",borderRadius:"10px",borderWidth:"1px",bgColor:"white",children:[$.jsxs(ra,{justify:"space-between",align:"center",w:"full",children:[$.jsx(sl,{src:(_=u==null?void 0:u.product)==null?void 0:_.image,alt:"product",w:"32px",h:"32px"}),$.jsx(Mr,{fontSize:"10px",fontWeight:400,color:"#1A1A1A",children:(P=u==null?void 0:u.product)==null?void 0:P.name}),$.jsx($f,{bg:"transparent","aria-label":"Remove product",onClick:()=>c==null?void 0:c(null),children:$.jsx(sl,{src:NO,alt:"arrow-left",w:"20px",h:"20px"})})]}),(u==null?void 0:u.suggestions)&&u.suggestions.length>0&&$.jsxs($.Fragment,{children:[$.jsx(_t,{display:{base:"none",md:"block"},w:"full",children:$.jsx(ra,{w:"full",justify:"flex-start",align:"center",gap:1.5,children:u.suggestions.map(N=>$.jsx(Ac,{variant:"outline",bg:"transparent",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>A(N),h:"28px",px:2.5,minW:"unset",flex:1,overflow:"hidden",children:$.jsx(_t,{as:"span",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",w:"100%",children:N})},N))})}),$.jsx(_t,{display:{base:"block",md:"none"},w:"full",children:$.jsx(Ii,{w:"full",align:"stretch",gap:"6px",children:u.suggestions.map(N=>$.jsx(Ac,{variant:"outline",bg:"transparent",w:"full",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>A(N),children:N},N))})})]})]}),$.jsx(Dx,{value:m,onChange:N=>y(N.target.value),onKeyPress:w,placeholder:e,fontSize:"14px",color:"black",fontWeight:300,resize:"none",h:"100%",border:"none",bg:"transparent",_focus:{boxShadow:"none",border:"none",outline:"none"},_placeholder:{color:"black"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)"}),$.jsx($f,{position:"absolute",bottom:"10px",right:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:()=>A(),_hover:{bg:"gray.800"},disabled:!m.trim(),transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",_disabled:{bg:"#CCCCCC",cursor:"not-allowed"},transform:"scale(1)",zIndex:2,children:$.jsx("img",{src:MO,alt:"Send"})})]})})})},LO="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='%23040404'%20/%3e%3cpath%20d='M22%2010H10V22H22V10Z'%20fill='white'%20/%3e%3c/svg%3e",BO=({placeholder:e="Write a prompt or paste a contract address",onStop:n})=>{const{stopCurrentRequest:r}=no(),a=()=>{r==null||r(),n==null||n()};return $.jsx(Ii,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:$.jsx(_t,{bg:"#EDEDED",borderRadius:"28px",position:"relative",p:2.5,w:"full",h:"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:$.jsx(_t,{position:"absolute",top:0,left:0,right:0,bottom:0,p:2.5,opacity:1,transform:"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:"auto",children:$.jsxs(ra,{justify:"space-between",align:"center",h:"full",children:[$.jsx(Mr,{color:"#999999",fontSize:"14px",flex:1,transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e}),$.jsx($f,{size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Stop",onClick:a,_hover:{bg:"gray.800"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",transform:"scale(1)",zIndex:2,children:$.jsx("img",{src:LO,alt:"Stop"})})]})})})})},FO="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='16'%20cy='16'%20r='16'%20fill='black'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0002%2017.4139C10.2191%2016.6329%2010.2191%2015.3665%2011.0002%2014.5855L13.9597%2011.6259C14.3502%2011.2354%2014.9834%2011.2354%2015.3739%2011.6259C15.7644%2012.0165%2015.7644%2012.6496%2015.3739%2013.0401L13.4144%2014.9997H21.0002C21.5524%2014.9997%2022.0002%2015.4474%2022.0002%2015.9997C22.0002%2016.552%2021.5524%2016.9997%2021.0002%2016.9997H13.4144L15.3739%2018.9592C15.7644%2019.3498%2015.7645%2019.9829%2015.3739%2020.3735C14.9834%2020.764%2014.3502%2020.764%2013.9597%2020.3735L11.0002%2017.4139Z'%20fill='white'%20/%3e%3c/svg%3e",HO="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_497_8063)'%3e%3cpath%20d='M18.2468%2014.5235L16.5735%2013.9236C15.656%2013.5949%2014.6772%2013.4727%2013.7071%2013.5656C12.7369%2013.6585%2011.7991%2013.9643%2010.9607%2014.4612L9.43171%2015.3679C9.40135%2015.3857%209.36627%2015.3937%209.3312%2015.3909C9.29614%2015.3881%209.26279%2015.3746%209.23566%2015.3522C9.20853%2015.3298%209.18892%2015.2996%209.1795%2015.2657C9.17007%2015.2318%209.17128%2015.1959%209.18296%2015.1627L9.78291%2013.4893C10.1116%2012.5718%2010.2338%2011.5931%2010.1409%2010.6229C10.0479%209.65274%209.74213%208.71502%209.24525%207.87657L8.33853%206.34758C8.32077%206.31722%208.31275%206.28213%208.31557%206.24707C8.31839%206.21201%208.33191%206.17866%208.3543%206.15152C8.37668%206.12439%208.40686%206.10479%208.44075%206.09537C8.47464%206.08594%208.51061%206.08715%208.54379%206.09883L10.2171%206.69878C11.1346%207.02745%2012.1134%207.14967%2013.0835%207.05674C14.0537%206.9638%2014.9914%206.65799%2015.8299%206.16111L17.3589%205.2544C17.3893%205.23664%2017.4243%205.22862%2017.4594%205.23144C17.4945%205.23426%2017.5278%205.24778%2017.5549%205.27016C17.5821%205.29255%2017.6017%205.32273%2017.6111%205.35662C17.6205%205.39051%2017.6193%205.42648%2017.6076%205.45966L17.0077%207.13298C16.679%208.05051%2016.5568%209.02924%2016.6497%209.99941C16.7427%2010.9696%2017.0485%2011.9073%2017.5454%2012.7458L18.4521%2014.2748C18.4703%2014.3051%2018.4787%2014.3403%2018.4761%2014.3756C18.4734%2014.4109%2018.4599%2014.4445%2018.4374%2014.4717C18.4149%2014.499%2018.3845%2014.5187%2018.3503%2014.5279C18.3162%2014.5372%2018.28%2014.5357%2018.2468%2014.5235ZM16.5553%2022.8884L15.7079%2022.5849C15.2433%2022.4186%2014.7477%2022.3568%2014.2564%2022.4039C13.7652%2022.451%2013.2903%2022.6057%2012.8657%2022.8572L12.0913%2023.316C12.0759%2023.3251%2012.0581%2023.3292%2012.0403%2023.3278C12.0225%2023.3264%2012.0056%2023.3195%2011.9918%2023.3081C11.978%2023.2968%2011.9681%2023.2815%2011.9633%2023.2643C11.9586%2023.2471%2011.9592%2023.2288%2011.9652%2023.212L12.2687%2022.3646C12.4349%2021.8999%2012.4968%2021.4043%2012.4497%2020.9131C12.4026%2020.4218%2012.2479%2019.9469%2011.9964%2019.5223L11.5376%2018.7479C11.5285%2018.7325%2011.5244%2018.7147%2011.5258%2018.697C11.5272%2018.6792%2011.5341%2018.6622%2011.5454%2018.6485C11.5568%2018.6347%2011.5721%2018.6247%2011.5893%2018.62C11.6065%2018.6152%2011.6248%2018.6159%2011.6416%2018.6218L12.489%2018.9253C12.9537%2019.0916%2013.4493%2019.1534%2013.9405%2019.1063C14.4318%2019.0593%2014.9067%2018.9045%2015.3313%2018.653L16.1057%2018.1942C16.1211%2018.1851%2016.1388%2018.1811%2016.1566%2018.1825C16.1744%2018.1839%2016.1914%2018.1907%2016.2051%2018.2021C16.2189%2018.2134%2016.2289%2018.2288%2016.2336%2018.246C16.2384%2018.2632%2016.2377%2018.2814%2016.2318%2018.2983L15.9283%2019.1456C15.762%2019.6103%2015.7002%2020.1059%2015.7473%2020.5972C15.7943%2021.0884%2015.9491%2021.5633%2016.2006%2021.9879L16.6594%2022.7623C16.6684%2022.7777%2016.6725%2022.7955%2016.6711%2022.8133C16.6697%2022.8311%2016.6629%2022.848%2016.6515%2022.8618C16.6402%2022.8756%2016.6248%2022.8855%2016.6076%2022.8903C16.5904%2022.895%2016.5722%2022.8944%2016.5553%2022.8884ZM5.46406%2013.7363L4.61667%2013.4328C4.15202%2013.2666%203.65642%2013.2047%203.16515%2013.2518C2.67388%2013.2989%202.19903%2013.4536%201.77439%2013.7051L1.00002%2014.1639C0.984637%2014.173%200.966838%2014.1771%200.949042%2014.1757C0.931245%2014.1743%200.914312%2014.1674%200.900542%2014.1561C0.886772%2014.1447%200.876831%2014.1294%200.872069%2014.1122C0.867305%2014.095%200.86795%2014.0767%200.873916%2014.0599L1.17739%2013.2125C1.34367%2012.7478%201.40549%2012.2522%201.35843%2011.761C1.31137%2011.2697%201.15659%2010.7948%200.90512%2010.3702L0.44629%209.59584C0.437238%209.58045%200.43314%209.56265%200.43455%209.54486C0.435961%209.52706%200.442813%209.51013%200.454176%209.49636C0.465538%209.48259%200.48086%209.47265%200.498065%209.46789C0.51527%209.46312%200.533525%209.46377%200.55035%209.46973L1.39774%209.77321C1.8624%209.93949%202.358%2010.0013%202.84926%209.95424C3.34053%209.90718%203.81538%209.75241%204.24002%209.50094L5.01439%209.04211C5.02978%209.03306%205.04757%209.02896%205.06537%209.03037C5.08317%209.03178%205.1001%209.03863%205.11387%209.04999C5.12764%209.06135%205.13758%209.07668%205.14234%209.09388C5.14711%209.11109%205.14646%209.12934%205.1405%209.14617L4.83702%209.99356C4.67074%2010.4582%204.60893%2010.9538%204.65599%2011.4451C4.70305%2011.9363%204.85782%2012.4112%205.10929%2012.8358L5.56812%2013.6102C5.60947%2013.6803%205.54025%2013.7642%205.46406%2013.7363Z'%20fill='url(%23paint0_linear_497_8063)'%20/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_497_8063'%20x1='19.4467'%20y1='10.3723'%20x2='4.37004'%20y2='16.438'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF7E90'%20/%3e%3cstop%20offset='0.463542'%20stop-color='%23A939FF'%20/%3e%3cstop%20offset='1'%20stop-color='%230020FF'%20/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_497_8063'%3e%3crect%20width='24'%20height='24'%20fill='white'%20/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Mx=({placeholder:e="Write a prompt or paste a contract address",value:n="",onChange:r,onSend:a})=>{const[o,u]=Ae.useState(n),[c,m]=Ae.useState(!1),b=Ae.useRef(null),y=()=>{m(!0),setTimeout(()=>{if(b.current){b.current.focus();const N=b.current.value.length;b.current.setSelectionRange(N,N)}},100)};Ae.useEffect(()=>{u(P(n))},[n]);const A=N=>{const W=P(N);u(W),r==null||r(W)},w=()=>{o.trim()&&(a==null||a({message:o.trim()}),u(""))},k=N=>{N.key==="Enter"&&!N.shiftKey&&(N.preventDefault(),w())},_=N=>` ${N}`,P=N=>N.trimStart();return $.jsx(Ii,{gap:1.5,align:"stretch",children:$.jsxs(_t,{bg:"white",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:c?"68px":"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",cursor:"pointer",onClick:y,children:[$.jsx(_t,{position:"absolute",top:"7px",right:"7px",zIndex:2,children:$.jsx(sl,{src:HO,alt:"AI",w:"20px",h:"20px"})}),$.jsx(_t,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:c?0:1,transform:c?"translateY(-20px) scale(0.95)":"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:c?"none":"auto",children:$.jsx(ra,{justify:"space-between",align:"center",h:"full",children:$.jsx(Mr,{color:"#999999",fontSize:"14px",flex:1,paddingStart:"28px",textAlign:"right",transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e})})}),$.jsx($f,{position:"absolute",bottom:"7px",left:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:N=>{N.stopPropagation(),w()},_hover:{bg:"gray.800"},disabled:!o.trim(),transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",_disabled:{bg:"#CCCCCC",cursor:"not-allowed"},transform:"scale(1)",zIndex:2,children:$.jsx("img",{src:FO,alt:"Send"})}),$.jsx(_t,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:c?1:0,transform:c?"translateY(0) scale(1)":"translateY(20px) scale(0.95)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:c?"auto":"none",children:$.jsx(Dx,{ref:b,value:_(o),onChange:N=>A(N.target.value),onKeyPress:k,placeholder:_(e),fontSize:"14px",color:"black",fontWeight:300,textAlign:"right",resize:"none",h:"100%",border:"none",bg:"transparent",_focus:{boxShadow:"none",border:"none",outline:"none"},_placeholder:{color:"#999999"},transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",rows:2})})]})})},WO=({state:e="starting",placeholder:n="Write a prompt or paste a contract address",value:r="",onChange:a,onSend:o,onStop:u})=>{const[c,m]=Ae.useState(!1);return Ae.useEffect(()=>{const b=()=>{m(window.innerWidth<=768)};return b(),window.addEventListener("resize",b),()=>window.removeEventListener("resize",b)},[]),console.log(e),e==="starting"?$.jsx(IO,{placeholder:n,value:r,onChange:a,onSend:o,isMobileView:c}):e==="generating"?$.jsx(BO,{placeholder:n,onStop:u,isMobileView:c}):e==="minimized"?$.jsx(Mx,{placeholder:n,value:r,onChange:a,onSend:o}):$.jsx(Mx,{placeholder:n,value:r,onChange:a,onSend:o})},GO="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.66683C5.42267%202.66683%203.33333%204.75617%203.33333%207.3335H2C2%204.01979%204.68629%201.3335%208%201.3335C11.3137%201.3335%2014%204.01979%2014%207.3335C14%208.75016%2013.509%2010.0522%2012.6879%2011.0786L14.8047%2013.1954L13.8619%2014.1382L11.7451%2012.0214C10.7187%2012.8425%209.41667%2013.3335%208%2013.3335V12.0002C10.5773%2012.0002%2012.6667%209.91083%2012.6667%207.3335C12.6667%204.75617%2010.5773%202.66683%208%202.66683Z'%20fill='%23595959'%20/%3e%3cpath%20d='M5.85714%206.6665L2%2011.2498H4.57143L4.14286%2013.9998L8%209.4165H5.42857L5.85714%206.6665Z'%20fill='%23595959'%20/%3e%3c/svg%3e",YO=()=>{const e=no(),{botData:n}=no(),r=Ae.useRef(null),a=c=>{e.sendMessage({message:c})},o=e.messages.length>0,u=()=>{r.current&&setTimeout(()=>{var c;(c=r.current)==null||c.scrollTo({top:r.current.scrollHeight,behavior:"smooth"})},100)};return Ae.useEffect(()=>{o&&u()},[e.messages,o]),$.jsxs(Ii,{flex:1,justify:"space-between",align:"stretch",gap:3,h:"full",minH:"200px",maxH:"300px",overflow:"hidden",children:[!o&&(n==null?void 0:n.suggestedReply)&&$.jsx(_t,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:$.jsx(ra,{wrap:"wrap",children:n.suggestedReply.map((c,m)=>$.jsxs(Ac,{variant:"outline",h:"auto",borderRadius:"20px",border:"1px solid #EDEDED",bg:"white",color:"#1A1A1A",fontSize:"12px",fontWeight:400,padding:"6px 10px 6px 10px",_hover:{bg:"#F8F8F8",borderColor:"#D0D0D0"},_active:{bg:"#F0F0F0",transform:"scale(0.98)"},onClick:()=>a(c),justifyContent:"start",maxW:"100%",children:[$.jsx(sl,{src:GO,alt:"AI Search",w:3.5,h:3.5}),$.jsx(_t,{as:"span",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"break-word",fontFamily:"Estedad-FD, system-ui, sans-serif",children:c})]},m))})}),o&&$.jsx(_t,{ref:r,flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:$.jsx(Ii,{gap:1.5,align:"stretch",pb:1.5,children:e.messages.map(c=>$.jsx(dO,{message:c},c.id))})}),$.jsx(_t,{flexShrink:0,bg:"transparent",borderRadius:"10px",transition:"all 0.2s ease",children:$.jsx(WO,{state:e.inputState,placeholder:e.inputState==="generating"?"Processing...":"What's your question?",onSend:e.isInputDisabled?void 0:e.sendMessage,onStop:e.stopCurrentRequest})})]})},UO=()=>{const{botData:e}=no();return $.jsx(ra,{gap:0,justifyContent:"center",align:"center",w:"full",children:$.jsx(Rv,{href:e6("https://dori.tech/",(e==null?void 0:e.sharing_id)||""),target:"_blank",children:$.jsxs(ra,{alignItems:"center",justifyContent:"center",alignContent:"center",children:[$.jsxs(Mr,{fontSize:"10px",fontWeight:"400",color:"#666666",textAlign:"center",fontFamily:"Estedad-FD, system-ui, sans-serif",lineHeight:"1.4",children:["Powered by"," "]}),$.jsx(sl,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori.png",alt:"Bot Image",h:"14px"})]})})})};var Nx=it("collapsible").parts("root","trigger","content","indicator");Nx.build(),rt()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var Ix=it("color-picker",["root","label","control","trigger","positioner","content","area","areaThumb","valueText","areaBackground","channelSlider","channelSliderLabel","channelSliderTrack","channelSliderThumb","channelSliderValueText","channelInput","transparencyGrid","swatchGroup","swatchTrigger","swatchIndicator","swatch","eyeDropperTrigger","formatTrigger","formatSelect"]);Ix.build(),rt()(["closeOnSelect","dir","disabled","format","defaultFormat","getRootNode","id","ids","initialFocusEl","inline","name","positioning","onFocusOutside","onFormatChange","onInteractOutside","onOpenChange","onPointerDownOutside","onValueChange","onValueChangeEnd","defaultOpen","open","positioning","required","readOnly","value","defaultValue","invalid","openAutoFocus"]),rt()(["xChannel","yChannel"]),rt()(["channel","orientation"]),rt()(["value","disabled"]),rt()(["value","respectAlpha"]),rt()(["size"]);var Lx=it("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");Lx.build(),rt()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),rt()(["value","disabled"]);var Bx=it("avatar").parts("root","image","fallback");Bx.build(),rt()(["dir","id","ids","onStatusChange","getRootNode"]);var Fx=it("checkbox").parts("root","label","control","indicator");Fx.build(),rt()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const ZO=Fx.extendWith("group");var Hx=it("clipboard").parts("root","control","trigger","indicator","input","label");Hx.build(),rt()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),rt()(["copied"]);const VO=Ix.extendWith("view");var Wx=it("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");Wx.build(),rt()(["allowCustomValue","autoFocus","closeOnSelect","collection","composite","defaultHighlightedValue","defaultInputValue","defaultOpen","defaultValue","dir","disabled","disableLayer","form","getRootNode","highlightedValue","id","ids","inputBehavior","inputValue","invalid","loopFocus","multiple","name","navigate","onFocusOutside","onHighlightChange","onInputValueChange","onInteractOutside","onOpenChange","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","openOnChange","openOnClick","openOnKeyPress","placeholder","positioning","readOnly","required","scrollToIndexFn","selectionBehavior","translations","value","alwaysSubmitOnEnter"]),rt()(["htmlFor"]),rt()(["id"]),rt()(["item","persistFocus"]);const XO=Wx.extendWith("empty");var Jm=it("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");Jm.build(),rt()(["aria-label","closeOnEscape","closeOnInteractOutside","dir","finalFocusEl","getRootNode","getRootNode","id","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","preventScroll","restoreFocus","role","trapFocus"]);var Gx=it("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");Gx.build(),rt()(["activationMode","autoResize","dir","disabled","finalFocusEl","form","getRootNode","id","ids","invalid","maxLength","name","onEditChange","onFocusOutside","onInteractOutside","onPointerDownOutside","onValueChange","onValueCommit","onValueRevert","placeholder","readOnly","required","selectOnFocus","edit","defaultEdit","submitMode","translations","defaultValue","value"]);const Yx=it("fieldset").parts("root","errorText","helperText","legend");Yx.build();var Ux=it("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");Ux.build(),rt()(["accept","acceptedFiles","allowDrop","capture","defaultAcceptedFiles","dir","directory","disabled","getRootNode","id","ids","invalid","locale","maxFiles","maxFileSize","minFileSize","name","onFileAccept","onFileChange","onFileReject","preventDocumentDrop","required","transformFiles","translations","validate"]),rt()(["file","type"]);const JO=e=>typeof e=="function",KO=(e,...n)=>JO(e)?e(...n):e,QO=e=>{const{value:n,children:r}=e,[a,o]=Ae.useState(),u=Ae.useMemo(()=>()=>{var m,b;return(b=(m=KO(n))!=null?m:a==null?void 0:a.getRootNode())!=null?b:document},[n,a]),c=Ae.useMemo(()=>({getRootNode:u,getWindow:()=>og(u()),getDocument:()=>Cx(u())}),[u]);return $.jsxs(zO,{value:c,children:[r,!n&&$.jsx("span",{hidden:!0,ref:o})]})};var Zx=it("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");Zx.build(),rt()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var Vx=it("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");Vx.build(),rt()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),rt()(["node","indexPath"]);var Xx=it("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");Xx.build(),rt()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),rt()(["item","highlightOnHover"]),rt()(["id"]),rt()(["htmlFor"]);const jO=Xx.extendWith("empty");var Jx=it("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");Jx.build(),rt()(["anchorPoint","aria-label","closeOnSelect","composite","defaultHighlightedValue","defaultOpen","dir","getRootNode","highlightedValue","id","ids","loopFocus","navigate","onEscapeKeyDown","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","onSelect","open","positioning","typeahead"]),rt()(["closeOnSelect","disabled","value","valueText"]),rt()(["htmlFor"]),rt()(["id"]),rt()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);var Kx=it("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Kx.build(),rt()(["allowMouseWheel","allowOverflow","clampValueOnBlur","dir","disabled","focusInputOnChange","form","formatOptions","getRootNode","id","ids","inputMode","invalid","locale","max","min","name","onFocusChange","onValueChange","onValueInvalid","pattern","required","readOnly","spinOnPress","step","translations","value","defaultValue"]);var Qx=it("pinInput").parts("root","label","input","control");Qx.build(),rt()(["autoFocus","blurOnComplete","count","defaultValue","dir","disabled","form","getRootNode","id","ids","invalid","mask","name","onValueChange","onValueComplete","onValueInvalid","otp","pattern","placeholder","readOnly","required","selectOnFocus","translations","type","value"]);var jx=it("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");jx.build(),rt()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var Km=it("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");Km.build(),rt()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var qx=it("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");qx.build(),rt()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var Qm=it("radio-group").parts("root","label","item","itemText","itemControl","indicator");Qm.build(),rt()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),rt()(["value","disabled","invalid"]);var $x=it("rating-group").parts("root","label","item","control");$x.build(),rt()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),rt()(["index"]);var e2=it("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");e2.build(),rt()(["dir","getRootNode","ids","id"]);const t2=Qm.rename("segment-group");t2.build();var n2=it("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");n2.build(),rt()(["closeOnSelect","collection","composite","defaultHighlightedValue","defaultOpen","defaultValue","deselectable","dir","disabled","form","getRootNode","highlightedValue","id","ids","invalid","loopFocus","multiple","name","onFocusOutside","onHighlightChange","onInteractOutside","onOpenChange","onPointerDownOutside","onSelect","onValueChange","open","positioning","readOnly","required","scrollToIndexFn","value"]),rt()(["item","persistFocus"]),rt()(["id"]),rt()(["htmlFor"]);var r2=it("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");r2.build(),rt()(["aria-label","aria-labelledby","dir","disabled","form","getAriaValueText","getRootNode","id","ids","invalid","max","min","minStepsBetweenThumbs","name","onFocusChange","onValueChange","onValueChangeEnd","orientation","origin","readOnly","step","thumbAlignment","thumbAlignment","thumbSize","value","defaultValue"]),rt()(["index","name"]);var i2=it("switch").parts("root","label","control","thumb");i2.build(),rt()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var a2=it("tooltip").parts("trigger","arrow","arrowTip","positioner","content");a2.build(),rt()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);function l2(e,n=[]){const r=Object.assign({},e);for(const a of n)a in r&&delete r[a];return r}const qO=(e,n)=>{var b;if(!e||typeof e!="string")return{invalid:!0,value:e};const[r,a]=e.split("/");if(!r||!a||r==="currentBg")return{invalid:!0,value:r};const o=n(`colors.${r}`),u=(b=n.raw(`opacity.${a}`))==null?void 0:b.value;if(!u&&isNaN(Number(a)))return{invalid:!0,value:r};const c=u?Number(u)*100+"%":`${a}%`,m=o!=null?o:r;return{invalid:!1,color:m,value:`color-mix(in srgb, ${m} ${c}, transparent)`}},hn=e=>(n,r)=>{const a=r.utils.colorMix(n);if(a.invalid)return{[e]:n};const o="--mix-"+e;return{[o]:a.value,[e]:`var(${o}, ${a.color})`}};function jm(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(r=>jm(r));const n=Object.create(Object.getPrototypeOf(e));for(const r of Object.keys(e))n[r]=jm(e[r]);return n}function qm(e,n){if(n==null)return e;for(const r of Object.keys(n))if(!(n[r]===void 0||r==="__proto__"))if(!Ni(e[r])&&Ni(n[r]))Object.assign(e,{[r]:n[r]});else if(e[r]&&Ni(n[r]))qm(e[r],n[r]);else if(Array.isArray(n[r])&&Array.isArray(e[r])){let a=0;for(;a<n[r].length;a++)Ni(e[r][a])&&Ni(n[r][a])?qm(e[r][a],n[r][a]):e[r][a]=n[r][a]}else Object.assign(e,{[r]:n[r]});return e}function zc(e,...n){for(const r of n)qm(e,r);return e}const sg=["value","type","description"],$O=e=>e&&typeof e=="object"&&!Array.isArray(e),o2=(...e)=>{var r;const n=zc({},...e.map(jm));return(r=n.theme)!=null&&r.tokens&&ro(n.theme.tokens,a=>{const c=Object.keys(a).filter(b=>!sg.includes(b)).length>0,m=sg.some(b=>a[b]!=null);return c&&m&&(a.DEFAULT||(a.DEFAULT={}),sg.forEach(b=>{var y;a[b]!=null&&((y=a.DEFAULT)[b]||(y[b]=a[b]),delete a[b])})),a},{stop(a){return $O(a)&&Object.keys(a).some(o=>sg.includes(o)||o!==o.toLowerCase()&&o!==o.toUpperCase())}}),n},e7=e=>e,pr=e=>e,lt=e=>e,t7=e=>e,n7=e=>e,Oc=e=>e,r7=e=>e,i7=e=>e,a7=e=>e;function s2(){const e=n=>n;return new Proxy(e,{get(){return e}})}const or=s2(),$m=s2(),e0=e=>e,l7=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function o7(e){return`${e}`.replace(l7,n=>`\\${n}`)}const s7=/[A-Z]/g;function u7(e){return e.replace(s7,n=>`-${n.toLowerCase()}`)}function u2(e,n={}){const{fallback:r="",prefix:a=""}=n,o=u7(["-",a,o7(e)].filter(Boolean).join("-"));return{var:o,ref:`var(${o}${r?`, ${r}`:""})`}}const c7=e=>/^var\(--.+\)$/.test(e),Ar=(e,n)=>n!=null?`${e}(${n})`:n,Su=e=>{if(c7(e)||e==null)return e;const n=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||n?`${e}deg`:e},c2=e=>({values:["outside","inside","mixed","none"],transform(n,{token:r}){var u;const a=r("colors.colorPalette.focusRing");return(u={inside:{"--focus-ring-color":a,[e]:{outlineOffset:"0px",outlineWidth:"var(--focus-ring-width, 1px)",outlineColor:"var(--focus-ring-color)",outlineStyle:"var(--focus-ring-style, solid)",borderColor:"var(--focus-ring-color)"}},outside:{"--focus-ring-color":a,[e]:{outlineWidth:"var(--focus-ring-width, 2px)",outlineOffset:"var(--focus-ring-offset, 2px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"var(--focus-ring-color)"}},mixed:{"--focus-ring-color":a,[e]:{outlineWidth:"var(--focus-ring-width, 3px)",outlineStyle:"var(--focus-ring-style, solid)",outlineColor:"color-mix(in srgb, var(--focus-ring-color), transparent 60%)",borderColor:"var(--focus-ring-color)"}},none:{"--focus-ring-color":a,[e]:{outline:"none"}}}[n])!=null?u:{}}}),f7=hn("borderColor"),No=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),d7=e7({hover:["@media (hover: hover)","&:is(:hover, [data-hover]):not(:disabled, [data-disabled])"],active:"&:is(:active, [data-active]):not(:disabled, [data-disabled], [data-state=open])",focus:"&:is(:focus, [data-focus])",focusWithin:"&:is(:focus-within, [data-focus-within])",focusVisible:"&:is(:focus-visible, [data-focus-visible])",disabled:"&:is(:disabled, [disabled], [data-disabled], [aria-disabled=true])",visited:"&:visited",target:"&:target",readOnly:"&:is([data-readonly], [aria-readonly=true], [readonly])",readWrite:"&:read-write",empty:"&:is(:empty, [data-empty])",checked:"&:is(:checked, [data-checked], [aria-checked=true], [data-state=checked])",enabled:"&:enabled",expanded:"&:is([aria-expanded=true], [data-expanded], [data-state=expanded])",highlighted:"&[data-highlighted]",complete:"&[data-complete]",incomplete:"&[data-incomplete]",dragging:"&[data-dragging]",before:"&::before",after:"&::after",firstLetter:"&::first-letter",firstLine:"&::first-line",marker:"&::marker",selection:"&::selection",file:"&::file-selector-button",backdrop:"&::backdrop",first:"&:first-of-type",last:"&:last-of-type",notFirst:"&:not(:first-of-type)",notLast:"&:not(:last-of-type)",only:"&:only-child",even:"&:nth-of-type(even)",odd:"&:nth-of-type(odd)",peerFocus:".peer:is(:focus, [data-focus]) ~ &",peerHover:".peer:is(:hover, [data-hover]):not(:disabled, [data-disabled]) ~ &",peerActive:".peer:is(:active, [data-active]):not(:disabled, [data-disabled]) ~ &",peerFocusWithin:".peer:focus-within ~ &",peerFocusVisible:".peer:is(:focus-visible, [data-focus-visible]) ~ &",peerDisabled:".peer:is(:disabled, [disabled], [data-disabled]) ~ &",peerChecked:".peer:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) ~ &",peerInvalid:".peer:is(:invalid, [data-invalid], [aria-invalid=true]) ~ &",peerExpanded:".peer:is([aria-expanded=true], [data-expanded], [data-state=expanded]) ~ &",peerPlaceholderShown:".peer:placeholder-shown ~ &",groupFocus:".group:is(:focus, [data-focus]) &",groupHover:".group:is(:hover, [data-hover]):not(:disabled, [data-disabled]) &",groupActive:".group:is(:active, [data-active]):not(:disabled, [data-disabled]) &",groupFocusWithin:".group:focus-within &",groupFocusVisible:".group:is(:focus-visible, [data-focus-visible]) &",groupDisabled:".group:is(:disabled, [disabled], [data-disabled]) &",groupChecked:".group:is(:checked, [data-checked], [aria-checked=true], [data-state=checked]) &",groupExpanded:".group:is([aria-expanded=true], [data-expanded], [data-state=expanded]) &",groupInvalid:".group:invalid &",indeterminate:"&:is(:indeterminate, [data-indeterminate], [aria-checked=mixed], [data-state=indeterminate])",required:"&:is([data-required], [aria-required=true])",valid:"&:is([data-valid], [data-state=valid])",invalid:"&:is([data-invalid], [aria-invalid=true], [data-state=invalid])",autofill:"&:autofill",inRange:"&:is(:in-range, [data-in-range])",outOfRange:"&:is(:out-of-range, [data-outside-range])",placeholder:"&::placeholder, &[data-placeholder]",placeholderShown:"&:is(:placeholder-shown, [data-placeholder-shown])",pressed:"&:is([aria-pressed=true], [data-pressed])",selected:"&:is([aria-selected=true], [data-selected])",grabbed:"&:is([aria-grabbed=true], [data-grabbed])",underValue:"&[data-state=under-value]",overValue:"&[data-state=over-value]",atValue:"&[data-state=at-value]",default:"&:default",optional:"&:optional",open:"&:is([open], [data-open], [data-state=open])",closed:"&:is([closed], [data-closed], [data-state=closed])",fullscreen:"&:is(:fullscreen, [data-fullscreen])",loading:"&:is([data-loading], [aria-busy=true])",hidden:"&:is([hidden], [data-hidden])",current:"&[data-current]",currentPage:"&[aria-current=page]",currentStep:"&[aria-current=step]",today:"&[data-today]",unavailable:"&[data-unavailable]",rangeStart:"&[data-range-start]",rangeEnd:"&[data-range-end]",now:"&[data-now]",topmost:"&[data-topmost]",motionReduce:"@media (prefers-reduced-motion: reduce)",motionSafe:"@media (prefers-reduced-motion: no-preference)",print:"@media print",landscape:"@media (orientation: landscape)",portrait:"@media (orientation: portrait)",dark:".dark &, .dark .chakra-theme:not(.light) &",light:":root &, .light &",osDark:"@media (prefers-color-scheme: dark)",osLight:"@media (prefers-color-scheme: light)",highContrast:"@media (forced-colors: active)",lessContrast:"@media (prefers-contrast: less)",moreContrast:"@media (prefers-contrast: more)",ltr:"[dir=ltr] &",rtl:"[dir=rtl] &",scrollbar:"&::-webkit-scrollbar",scrollbarThumb:"&::-webkit-scrollbar-thumb",scrollbarTrack:"&::-webkit-scrollbar-track",horizontal:"&[data-orientation=horizontal]",vertical:"&[data-orientation=vertical]",icon:"& :where(svg)",starting:"@starting-style"}),Pc=u2("bg-currentcolor"),f2=e=>e===Pc.ref||e==="currentBg",gn=e=>We(G({},e("colors")),{currentBg:Pc}),h7=e0({conditions:d7,utilities:{background:{values:gn,shorthand:["bg"],transform(e,n){if(f2(n.raw))return{background:Pc.ref};const r=hn("background")(e,n);return We(G({},r),{[Pc.var]:r==null?void 0:r.background})}},backgroundColor:{values:gn,shorthand:["bgColor"],transform(e,n){if(f2(n.raw))return{backgroundColor:Pc.ref};const r=hn("backgroundColor")(e,n);return We(G({},r),{[Pc.var]:r==null?void 0:r.backgroundColor})}},backgroundSize:{shorthand:["bgSize"]},backgroundPosition:{shorthand:["bgPos"]},backgroundRepeat:{shorthand:["bgRepeat"]},backgroundAttachment:{shorthand:["bgAttachment"]},backgroundClip:{shorthand:["bgClip"],values:["text"],transform(e){return e==="text"?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e}}},backgroundGradient:{shorthand:["bgGradient"],values(e){return We(G({},e("gradients")),{"to-t":"linear-gradient(to top, var(--gradient))","to-tr":"linear-gradient(to top right, var(--gradient))","to-r":"linear-gradient(to right, var(--gradient))","to-br":"linear-gradient(to bottom right, var(--gradient))","to-b":"linear-gradient(to bottom, var(--gradient))","to-bl":"linear-gradient(to bottom left, var(--gradient))","to-l":"linear-gradient(to left, var(--gradient))","to-tl":"linear-gradient(to top left, var(--gradient))"})},transform(e){return{"--gradient-stops":"var(--gradient-from), var(--gradient-to)","--gradient":"var(--gradient-via-stops, var(--gradient-stops))",backgroundImage:e}}},gradientFrom:{values:gn,transform:hn("--gradient-from")},gradientTo:{values:gn,transform:hn("--gradient-to")},gradientVia:{values:gn,transform(e,n){const r=hn("--gradient-via")(e,n);return We(G({},r),{"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"})}},backgroundImage:{values(e){return G(G({},e("gradients")),e("assets"))},shorthand:["bgImg","bgImage"]},border:{values:"borders"},borderTop:{values:"borders"},borderLeft:{values:"borders"},borderBlockStart:{values:"borders"},borderRight:{values:"borders"},borderBottom:{values:"borders"},borderBlockEnd:{values:"borders"},borderInlineStart:{values:"borders",shorthand:["borderStart"]},borderInlineEnd:{values:"borders",shorthand:["borderEnd"]},borderInline:{values:"borders",shorthand:["borderX"]},borderBlock:{values:"borders",shorthand:["borderY"]},borderColor:{values:gn,transform:hn("borderColor")},borderTopColor:{values:gn,transform:hn("borderTopColor")},borderBlockStartColor:{values:gn,transform:hn("borderBlockStartColor")},borderBottomColor:{values:gn,transform:hn("borderBottomColor")},borderBlockEndColor:{values:gn,transform:hn("borderBlockEndColor")},borderLeftColor:{values:gn,transform:hn("borderLeftColor")},borderInlineStartColor:{values:gn,shorthand:["borderStartColor"],transform:hn("borderInlineStartColor")},borderRightColor:{values:gn,transform:hn("borderRightColor")},borderInlineEndColor:{values:gn,shorthand:["borderEndColor"],transform:hn("borderInlineEndColor")},borderStyle:{values:"borderStyles"},borderTopStyle:{values:"borderStyles"},borderBlockStartStyle:{values:"borderStyles"},borderBottomStyle:{values:"borderStyles"},borderBlockEndStyle:{values:"borderStyles"},borderInlineStartStyle:{values:"borderStyles",shorthand:["borderStartStyle"]},borderInlineEndStyle:{values:"borderStyles",shorthand:["borderEndStyle"]},borderLeftStyle:{values:"borderStyles"},borderRightStyle:{values:"borderStyles"},borderRadius:{values:"radii",shorthand:["rounded"]},borderTopLeftRadius:{values:"radii",shorthand:["roundedTopLeft"]},borderStartStartRadius:{values:"radii",shorthand:["roundedStartStart","borderTopStartRadius"]},borderEndStartRadius:{values:"radii",shorthand:["roundedEndStart","borderBottomStartRadius"]},borderTopRightRadius:{values:"radii",shorthand:["roundedTopRight"]},borderStartEndRadius:{values:"radii",shorthand:["roundedStartEnd","borderTopEndRadius"]},borderEndEndRadius:{values:"radii",shorthand:["roundedEndEnd","borderBottomEndRadius"]},borderBottomLeftRadius:{values:"radii",shorthand:["roundedBottomLeft"]},borderBottomRightRadius:{values:"radii",shorthand:["roundedBottomRight"]},borderInlineStartRadius:{values:"radii",property:"borderRadius",shorthand:["roundedStart","borderStartRadius"],transform:e=>({borderStartStartRadius:e,borderEndStartRadius:e})},borderInlineEndRadius:{values:"radii",property:"borderRadius",shorthand:["roundedEnd","borderEndRadius"],transform:e=>({borderStartEndRadius:e,borderEndEndRadius:e})},borderTopRadius:{values:"radii",property:"borderRadius",shorthand:["roundedTop"],transform:e=>({borderTopLeftRadius:e,borderTopRightRadius:e})},borderBottomRadius:{values:"radii",property:"borderRadius",shorthand:["roundedBottom"],transform:e=>({borderBottomLeftRadius:e,borderBottomRightRadius:e})},borderLeftRadius:{values:"radii",property:"borderRadius",shorthand:["roundedLeft"],transform:e=>({borderTopLeftRadius:e,borderBottomLeftRadius:e})},borderRightRadius:{values:"radii",property:"borderRadius",shorthand:["roundedRight"],transform:e=>({borderTopRightRadius:e,borderBottomRightRadius:e})},borderWidth:{values:"borderWidths"},borderBlockStartWidth:{values:"borderWidths"},borderTopWidth:{values:"borderWidths"},borderBottomWidth:{values:"borderWidths"},borderBlockEndWidth:{values:"borderWidths"},borderRightWidth:{values:"borderWidths"},borderInlineWidth:{values:"borderWidths",shorthand:["borderXWidth"]},borderInlineStartWidth:{values:"borderWidths",shorthand:["borderStartWidth"]},borderInlineEndWidth:{values:"borderWidths",shorthand:["borderEndWidth"]},borderLeftWidth:{values:"borderWidths"},borderBlockWidth:{values:"borderWidths",shorthand:["borderYWidth"]},color:{values:gn,transform:hn("color")},fill:{values:gn,transform:hn("fill")},stroke:{values:gn,transform:hn("stroke")},accentColor:{values:gn,transform:hn("accentColor")},divideX:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderInlineStartWidth:e,borderInlineEndWidth:"0px"}}}},divideY:{values:{type:"string"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderTopWidth:e,borderBottomWidth:"0px"}}}},divideColor:{values:gn,transform(e,n){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":f7(e,n)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:gn,transform:hn("--shadow-color"),shorthand:["shadowColor"]},mixBlendMode:{shorthand:["blendMode"]},backgroundBlendMode:{shorthand:["bgBlendMode"]},opacity:{values:"opacity"},filter:{transform(e){return e!=="auto"?{filter:e}:{filter:"var(--blur) var(--brightness) var(--contrast) var(--grayscale) var(--hue-rotate) var(--invert) var(--saturate) var(--sepia) var(--drop-shadow)"}}},blur:{values:"blurs",transform:e=>({"--blur":Ar("blur",e)})},brightness:{transform:e=>({"--brightness":Ar("brightness",e)})},contrast:{transform:e=>({"--contrast":Ar("contrast",e)})},grayscale:{transform:e=>({"--grayscale":Ar("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":Ar("hue-rotate",Su(e))})},invert:{transform:e=>({"--invert":Ar("invert",e)})},saturate:{transform:e=>({"--saturate":Ar("saturate",e)})},sepia:{transform:e=>({"--sepia":Ar("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":Ar("drop-shadow",e)})},backdropFilter:{transform(e){return e!=="auto"?{backdropFilter:e}:{backdropFilter:"var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-opacity) var(--backdrop-saturate) var(--backdrop-sepia)"}}},backdropBlur:{values:"blurs",transform:e=>({"--backdrop-blur":Ar("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":Ar("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":Ar("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":Ar("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":Ar("hue-rotate",Su(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":Ar("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":Ar("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":Ar("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":Ar("sepia",e)})},flexBasis:{values:"sizes"},gap:{values:"spacing"},rowGap:{values:"spacing",shorthand:["gapY"]},columnGap:{values:"spacing",shorthand:["gapX"]},flexDirection:{shorthand:["flexDir"]},gridGap:{values:"spacing"},gridColumnGap:{values:"spacing"},gridRowGap:{values:"spacing"},outlineColor:{values:gn,transform:hn("outlineColor")},focusRing:c2("&:is(:focus, [data-focus])"),focusVisibleRing:c2("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:gn,transform:hn("--focus-ring-color")},focusRingOffset:{values:"spacing",transform:e=>({"--focus-ring-offset":e})},focusRingWidth:{values:"borderWidths",property:"outlineWidth",transform:e=>({"--focus-ring-width":e})},focusRingStyle:{values:"borderStyles",property:"outlineStyle",transform:e=>({"--focus-ring-style":e})},aspectRatio:{values:"aspectRatios"},width:{values:"sizes",shorthand:["w"]},inlineSize:{values:"sizes"},height:{values:"sizes",shorthand:["h"]},blockSize:{values:"sizes"},boxSize:{values:"sizes",property:"width",transform:e=>({width:e,height:e})},minWidth:{values:"sizes",shorthand:["minW"]},minInlineSize:{values:"sizes"},minHeight:{values:"sizes",shorthand:["minH"]},minBlockSize:{values:"sizes"},maxWidth:{values:"sizes",shorthand:["maxW"]},maxInlineSize:{values:"sizes"},maxHeight:{values:"sizes",shorthand:["maxH"]},maxBlockSize:{values:"sizes"},hideFrom:{values:"breakpoints",transform:(e,{raw:n,token:r})=>({[r.raw(`breakpoints.${n}`)?`@breakpoint ${n}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:n,token:r}){return{[r.raw(`breakpoints.${n}`)?`@breakpoint ${n}Down`:`@media screen and (max-width: ${e})`]:{display:"none"}}}},overscrollBehavior:{shorthand:["overscroll"]},overscrollBehaviorX:{shorthand:["overscrollX"]},overscrollBehaviorY:{shorthand:["overscrollY"]},scrollbar:{values:["visible","hidden"],transform(e){switch(e){case"visible":return{msOverflowStyle:"auto",scrollbarWidth:"auto","&::-webkit-scrollbar":{display:"block"}};case"hidden":return{msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}};default:return{}}}},scrollbarColor:{values:gn,transform:hn("scrollbarColor")},scrollbarGutter:{values:"spacing"},scrollbarWidth:{values:"sizes"},scrollMargin:{values:"spacing"},scrollMarginTop:{values:"spacing"},scrollMarginBottom:{values:"spacing"},scrollMarginLeft:{values:"spacing"},scrollMarginRight:{values:"spacing"},scrollMarginX:{values:"spacing",transform:e=>({scrollMarginLeft:e,scrollMarginRight:e})},scrollMarginY:{values:"spacing",transform:e=>({scrollMarginTop:e,scrollMarginBottom:e})},scrollPadding:{values:"spacing"},scrollPaddingTop:{values:"spacing"},scrollPaddingBottom:{values:"spacing"},scrollPaddingLeft:{values:"spacing"},scrollPaddingRight:{values:"spacing"},scrollPaddingInline:{values:"spacing",shorthand:["scrollPaddingX"]},scrollPaddingBlock:{values:"spacing",shorthand:["scrollPaddingY"]},scrollSnapType:{values:{none:"none",x:"x var(--scroll-snap-strictness)",y:"y var(--scroll-snap-strictness)",both:"both var(--scroll-snap-strictness)"}},scrollSnapStrictness:{values:["mandatory","proximity"],transform:e=>({"--scroll-snap-strictness":e})},scrollSnapMargin:{values:"spacing"},scrollSnapMarginTop:{values:"spacing"},scrollSnapMarginBottom:{values:"spacing"},scrollSnapMarginLeft:{values:"spacing"},scrollSnapMarginRight:{values:"spacing"},listStylePosition:{shorthand:["listStylePos"]},listStyleImage:{values:"assets",shorthand:["listStyleImg"]},position:{shorthand:["pos"]},zIndex:{values:"zIndex"},inset:{values:"spacing"},insetInline:{values:"spacing",shorthand:["insetX"]},insetBlock:{values:"spacing",shorthand:["insetY"]},top:{values:"spacing"},insetBlockStart:{values:"spacing"},bottom:{values:"spacing"},insetBlockEnd:{values:"spacing"},left:{values:"spacing"},right:{values:"spacing"},insetInlineStart:{values:"spacing",shorthand:["insetStart"]},insetInlineEnd:{values:"spacing",shorthand:["insetEnd"]},ring:{transform(e){return{"--ring-offset-shadow":"var(--ring-inset) 0 0 0 var(--ring-offset-width) var(--ring-offset-color)","--ring-shadow":"var(--ring-inset) 0 0 0 calc(var(--ring-width) + var(--ring-offset-width)) var(--ring-color)","--ring-width":e,boxShadow:"var(--ring-offset-shadow), var(--ring-shadow), var(--shadow, 0 0 #0000)"}}},ringColor:{values:gn,transform:hn("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:gn,transform:hn("--ring-offset-color")},ringInset:{transform:e=>({"--ring-inset":e})},margin:{values:"spacing",shorthand:["m"]},marginTop:{values:"spacing",shorthand:["mt"]},marginBlockStart:{values:"spacing"},marginRight:{values:"spacing",shorthand:["mr"]},marginBottom:{values:"spacing",shorthand:["mb"]},marginBlockEnd:{values:"spacing"},marginLeft:{values:"spacing",shorthand:["ml"]},marginInlineStart:{values:"spacing",shorthand:["ms","marginStart"]},marginInlineEnd:{values:"spacing",shorthand:["me","marginEnd"]},marginInline:{values:"spacing",shorthand:["mx","marginX"]},marginBlock:{values:"spacing",shorthand:["my","marginY"]},padding:{values:"spacing",shorthand:["p"]},paddingTop:{values:"spacing",shorthand:["pt"]},paddingRight:{values:"spacing",shorthand:["pr"]},paddingBottom:{values:"spacing",shorthand:["pb"]},paddingBlockStart:{values:"spacing"},paddingBlockEnd:{values:"spacing"},paddingLeft:{values:"spacing",shorthand:["pl"]},paddingInlineStart:{values:"spacing",shorthand:["ps","paddingStart"]},paddingInlineEnd:{values:"spacing",shorthand:["pe","paddingEnd"]},paddingInline:{values:"spacing",shorthand:["px","paddingX"]},paddingBlock:{values:"spacing",shorthand:["py","paddingY"]},textDecoration:{shorthand:["textDecor"]},textDecorationColor:{values:gn,transform:hn("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let n=e;return e==="auto"&&(n="translateX(var(--translate-x, 0)) translateY(var(--translate-y, 0)) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),e==="auto-gpu"&&(n="translate3d(var(--translate-x, 0), var(--translate-y, 0), 0) rotate(var(--rotate, 0)) scaleX(var(--scale-x, 1)) scaleY(var(--scale-y, 1)) skewX(var(--skew-x, 0)) skewY(var(--skew-y, 0))"),{transform:n}}},skewX:{transform:e=>({"--skew-x":Su(e)})},skewY:{transform:e=>({"--skew-y":Su(e)})},scaleX:{transform:e=>({"--scale-x":e})},scaleY:{transform:e=>({"--scale-y":e})},scale:{transform(e){return e!=="auto"?{scale:e}:{scale:"var(--scale-x, 1) var(--scale-y, 1)"}}},spaceXReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":e?"1":void 0}}}},spaceX:{property:"marginInlineStart",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-x-reverse":"0",marginInlineStart:`calc(${e} * calc(1 - var(--space-x-reverse)))`,marginInlineEnd:`calc(${e} * var(--space-x-reverse))`}})},spaceYReverse:{values:{type:"boolean"},transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":e?"1":void 0}}}},spaceY:{property:"marginTop",values:"spacing",transform:e=>({"& > :not(style, [hidden]) ~ :not(style, [hidden])":{"--space-y-reverse":"0",marginTop:`calc(${e} * calc(1 - var(--space-y-reverse)))`,marginBottom:`calc(${e} * var(--space-y-reverse))`}})},rotate:{transform(e){return e!=="auto"?{rotate:Su(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":Su(e)}}},rotateY:{transform(e){return{"--rotate-y":Su(e)}}},translate:{transform(e){return e!=="auto"?{translate:e}:{translate:"var(--translate-x) var(--translate-y)"}}},translateX:{values:"spacing",transform:e=>({"--translate-x":e})},translateY:{values:"spacing",transform:e=>({"--translate-y":e})},transition:{values:["all","common","colors","opacity","position","backgrounds","size","shadow","transform"],transform(e){switch(e){case"all":return No("all");case"position":return No("left, right, top, bottom, inset-inline, inset-block");case"colors":return No("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return No("opacity");case"shadow":return No("box-shadow");case"transform":return No("transform");case"size":return No("width, height");case"backgrounds":return No("background, background-color, background-image, background-position");case"common":return No("color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter");default:return{transition:e}}}},transitionDuration:{values:"durations"},transitionProperty:{values:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, translate, transform",colors:"background-color, border-color, color, fill, stroke",size:"width, height",position:"left, right, top, bottom, inset-inline, inset-block",background:"background, background-color, background-image, background-position"}},transitionTimingFunction:{values:"easings"},animation:{values:"animations"},animationDuration:{values:"durations"},animationDelay:{values:"durations"},animationTimingFunction:{values:"easings"},fontFamily:{values:"fonts"},fontSize:{values:"fontSizes"},fontWeight:{values:"fontWeights"},lineHeight:{values:"lineHeights"},letterSpacing:{values:"letterSpacings"},textIndent:{values:"spacing"},truncate:{values:{type:"boolean"},transform(e){return e===!0?{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}:{}}},lineClamp:{transform(e){return e==="none"?{WebkitLineClamp:"unset"}:{overflow:"hidden",display:"-webkit-box",WebkitLineClamp:e,WebkitBoxOrient:"vertical",textWrap:"wrap"}}},borderSpacing:{values:e=>We(G({},e("spacing")),{auto:"var(--border-spacing-x, 0) var(--border-spacing-y, 0)"})},borderSpacingX:{values:"spacing",transform(e){return{"--border-spacing-x":e}}},borderSpacingY:{values:"spacing",transform(e){return{"--border-spacing-y":e}}},srOnly:{values:{type:"boolean"},transform(e){return g7[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:gn,transform:hn("caretColor")},cursor:{values:"cursor"}}}),g7={true:{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},false:{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}};var p7="",m7=p7.split(","),b7="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimeline,animationTimingFunction,appearance,aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontVariationSettings,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,scale,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical",y7=b7.split(",").concat(m7),v7=new Map(y7.map(e=>[e,!0]));function x7(e){const n=Object.create(null);return r=>(n[r]===void 0&&(n[r]=e(r)),n[r])}var A7=/&|@/,S7=x7(e=>v7.has(e)||e.startsWith("--")||A7.test(e));function d2(e,n){const r={};return ro(e,(a,o)=>{a&&(r[o.join(".")]=a.value)},{stop:n}),r}var t0,h2;function w7(){if(h2)return t0;h2=1,t0=u,u.default=u,u.stable=y,u.stableStringify=y;var e="[...]",n="[Circular]",r=[],a=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function u(k,_,P,N){typeof N=="undefined"&&(N=o()),m(k,"",0,[],void 0,0,N);var W;try{a.length===0?W=JSON.stringify(k,_,P):W=JSON.stringify(k,w(_),P)}catch(J){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var H=r.pop();H.length===4?Object.defineProperty(H[0],H[1],H[3]):H[0][H[1]]=H[2]}}return W}function c(k,_,P,N){var W=Object.getOwnPropertyDescriptor(N,P);W.get!==void 0?W.configurable?(Object.defineProperty(N,P,{value:k}),r.push([N,P,_,W])):a.push([_,P,k]):(N[P]=k,r.push([N,P,_]))}function m(k,_,P,N,W,H,J){H+=1;var Y;if(typeof k=="object"&&k!==null){for(Y=0;Y<N.length;Y++)if(N[Y]===k){c(n,k,_,W);return}if(typeof J.depthLimit!="undefined"&&H>J.depthLimit){c(e,k,_,W);return}if(typeof J.edgesLimit!="undefined"&&P+1>J.edgesLimit){c(e,k,_,W);return}if(N.push(k),Array.isArray(k))for(Y=0;Y<k.length;Y++)m(k[Y],Y,Y,N,k,H,J);else{var ve=Object.keys(k);for(Y=0;Y<ve.length;Y++){var j=ve[Y];m(k[j],j,Y,N,k,H,J)}}N.pop()}}function b(k,_){return k<_?-1:k>_?1:0}function y(k,_,P,N){typeof N=="undefined"&&(N=o());var W=A(k,"",0,[],void 0,0,N)||k,H;try{a.length===0?H=JSON.stringify(W,_,P):H=JSON.stringify(W,w(_),P)}catch(Y){return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var J=r.pop();J.length===4?Object.defineProperty(J[0],J[1],J[3]):J[0][J[1]]=J[2]}}return H}function A(k,_,P,N,W,H,J){H+=1;var Y;if(typeof k=="object"&&k!==null){for(Y=0;Y<N.length;Y++)if(N[Y]===k){c(n,k,_,W);return}try{if(typeof k.toJSON=="function")return}catch(Te){return}if(typeof J.depthLimit!="undefined"&&H>J.depthLimit){c(e,k,_,W);return}if(typeof J.edgesLimit!="undefined"&&P+1>J.edgesLimit){c(e,k,_,W);return}if(N.push(k),Array.isArray(k))for(Y=0;Y<k.length;Y++)A(k[Y],Y,Y,N,k,H,J);else{var ve={},j=Object.keys(k).sort(b);for(Y=0;Y<j.length;Y++){var ee=j[Y];A(k[ee],ee,Y,N,k,H,J),ve[ee]=k[ee]}if(typeof W!="undefined")r.push([W,_,k]),W[_]=ve;else return ve}N.pop()}}function w(k){return k=typeof k!="undefined"?k:function(_,P){return P},function(_,P){if(a.length>0)for(var N=0;N<a.length;N++){var W=a[N];if(W[1]===_&&W[0]===P){P=W[2],a.splice(N,1);break}}return k.call(this,_,P)}}return t0}var k7=w7();const E7=cn(k7),cl=e=>{const n=Object.create(null);function r(...a){const o=a.map(u=>E7(u)).join("|");return n[o]===void 0&&(n[o]=e(...a)),n[o]}return r},g2=16,ug="px",n0="em",dd="rem";function p2(e=""){const n=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),r=new RegExp(`${ug}|${n0}|${dd}`),a=e.match(new RegExp(`${n.source}(${r.source})`));return a==null?void 0:a[1]}function m2(e=""){if(typeof e=="number")return`${e}px`;const n=p2(e);if(!n||n===ug)return e;if(n===n0||n===dd)return`${parseFloat(e)*g2}${ug}`}function b2(e=""){const n=p2(e);if(!n||n===dd)return e;if(n===n0)return`${parseFloat(e)}${dd}`;if(n===ug)return`${parseFloat(e)/g2}${dd}`}const _7=e=>e.charAt(0).toUpperCase()+e.slice(1);function C7(e){const n=T7(e),r=Object.fromEntries(n);function a(k){return r[k]}function o(k){return Dc(a(k))}function u(){const k=Object.keys(r),_=R7(k),P=k.flatMap(N=>{const W=a(N),H=[`${N}Down`,Dc({max:cg(W.min)})],J=[N,Dc({min:W.min})],Y=[`${N}Only`,o(N)];return[J,Y,H]}).filter(([,N])=>N!=="").concat(_.map(([N,W])=>{const H=a(N),J=a(W);return[`${N}To${_7(W)}`,Dc({min:H.min,max:cg(J.min)})]}));return Object.fromEntries(P)}function c(){const k=u();return Object.fromEntries(Object.entries(k))}const m=c(),b=k=>m[k];function y(){return["base",...Object.keys(r)]}function A(k){return Dc({min:a(k).min})}function w(k){return Dc({max:cg(a(k).min)})}return{values:Object.values(r),only:o,keys:y,conditions:m,getCondition:b,up:A,down:w}}function cg(e){var r;const n=parseFloat((r=m2(e))!=null?r:"")-.04;return b2(`${n}px`)}function T7(e){return Object.entries(e).sort(([,r],[,a])=>parseInt(r,10)<parseInt(a,10)?-1:1).map(([r,a],o,u)=>{var m;let c=null;return o<=u.length-1&&(c=(m=u[o+1])==null?void 0:m[1]),c!=null&&(c=cg(c)),[r,{name:r,min:b2(a),max:c}]})}function R7(e){const n=[];return e.forEach((r,a)=>{let o=a;o++;let u=e[o];for(;u;)n.push([r,u]),o++,u=e[o]}),n}function Dc({min:e,max:n}){return e==null&&n==null?"":["@media screen",e&&`(min-width: ${e})`,n&&`(max-width: ${n})`].filter(Boolean).join(" and ")}const z7=(e,n)=>Object.fromEntries(Object.entries(e).map(([r,a])=>n(r,a))),O7=e=>{const{breakpoints:n,conditions:r={}}=e,a=z7(r,(A,w)=>[`_${A}`,w]),o=Object.assign({},a,n.conditions);function u(){return Object.keys(o)}function c(A){return u().includes(A)||/^@|&|&$/.test(A)||A.startsWith("_")}function m(A){return A.filter(w=>w!=="base").sort((w,k)=>{const _=c(w),P=c(k);return _&&!P?1:!_&&P?-1:0})}function b(A){return A.startsWith("@breakpoint")?n.getCondition(A.replace("@breakpoint ","")):A}function y(A){return Reflect.get(o,A)||A}return{keys:u,sort:m,has:c,resolve:y,breakpoints:n.keys(),expandAtRule:b}},y2=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
99
- )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
100
- )+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),P7=y2("width"),D7=y2("height"),v2=e=>({isMin:E2(e.minMax,e.maxMin,e.min),isMax:E2(e.maxMin,e.minMax,e.max)}),{isMin:r0,isMax:x2}=v2(P7),{isMin:i0,isMax:A2}=v2(D7),S2=/print/i,w2=/^print$/i,M7=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,N7=/(\d)/,hd=Number.MAX_VALUE,I7={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function k2(e){const n=M7.exec(e)||(r0(e)||i0(e)?N7.exec(e):null);if(!n)return hd;if(n[0]==="0")return 0;const r=parseFloat(n[1]),a=n[2];return r*(I7[a]||1)}function E2(e,n,r){return a=>e.test(a)||!n.test(a)&&r.test(a)}function L7(e,n){const r=S2.test(e),a=w2.test(e),o=S2.test(n),u=w2.test(n);return r&&o?!a&&u?1:a&&!u?-1:e.localeCompare(n):r?1:o?-1:null}const B7=cl((e,n)=>{const r=L7(e,n);if(r!==null)return r;const a=r0(e)||i0(e),o=x2(e)||A2(e),u=r0(n)||i0(n),c=x2(n)||A2(n);if(a&&c)return-1;if(o&&u)return 1;const m=k2(e),b=k2(n);return m===hd&&b===hd?e.localeCompare(n):m===hd?1:b===hd?-1:m!==b?m>b?o?-1:1:o?1:-1:e.localeCompare(n)});function _2(e){return e.sort(([n],[r])=>B7(n,r))}function C2(e){const n=[],r=[],a={};for(const[c,m]of Object.entries(e))c.startsWith("@media")?n.push([c,m]):c.startsWith("@container")?r.push([c,m]):Ni(m)?a[c]=C2(m):a[c]=m;const o=_2(n),u=_2(r);return G(G(G({},a),Object.fromEntries(o)),Object.fromEntries(u))}const T2=/\s*!(important)?/i,F7=e=>eo(e)?T2.test(e):!1,H7=e=>eo(e)?e.replace(T2,"").trim():e;function R2(e){const{transform:n,conditions:r,normalize:a}=e,o=Y7(e);return cl(function(...c){const m=o(...c),b=a(m),y=Object.create(null);return ro(b,(A,w)=>{var W;const k=F7(A);if(A==null)return;const[_,...P]=r.sort(w).map(r.resolve);k&&(A=H7(A));let N=(W=n(_,A))!=null?W:Object.create(null);N=ro(N,H=>eo(H)&&k?`${H} !important`:H,{getKey:H=>r.expandAtRule(H)}),W7(y,P.flat(),N)}),C2(y)})}function W7(e,n,r){let a=e;for(const o of n)o&&(a[o]||(a[o]=Object.create(null)),a=a[o]);zc(a,r)}function G7(...e){return e.filter(n=>Ni(n)&&Object.keys(Hf(n)).length>0)}function Y7(e){function n(r){const a=G7(...r);return a.length===1?a:a.map(o=>e.normalize(o))}return cl(function(...a){return zc({},...n(a))})}const z2=e=>G({base:{},variants:{},defaultVariants:{},compoundVariants:[]},e);function U7(e){const{css:n,conditions:r,normalize:a,layers:o}=e;function u(m={}){const{base:b,variants:y,defaultVariants:A,compoundVariants:w}=z2(m),k=R2({conditions:r,normalize:a,transform(J,Y){var ve;return(ve=y[J])==null?void 0:ve[Y]}}),_=(J={})=>{const Y=a(G(G({},A),Hf(J)));let ve=G({},b);zc(ve,k(Y));const j=c(w,Y);return o.wrap("recipes",n(ve,j))},P=Object.keys(y),N=J=>{const Y=l2(J,["recipe"]),[ve,j]=hc(Y,P);return P.includes("colorPalette")||(ve.colorPalette=J.colorPalette||A.colorPalette),P.includes("orientation")&&(j.orientation=J.orientation),[ve,j]},W=Object.fromEntries(Object.entries(y).map(([J,Y])=>[J,Object.keys(Y)]));return Object.assign(J=>n(_(J)),{className:m.className,__cva__:!0,variantMap:W,variantKeys:P,raw:_,config:m,splitVariantProps:N,merge(J){return u(Z7(e)(this,J))}})}function c(m,b){let y={};return m.forEach(A=>{Object.entries(A).every(([k,_])=>k==="css"?!0:(Array.isArray(_)?_:[_]).some(N=>b[k]===N))&&(y=n(y,A.css))}),y}return u}function Z7(e){const{css:n}=e;return function(a,o){const u=z2(o.config),c=Ub(a.variantKeys,Object.keys(o.variants)),m=n(a.base,u.base),b=Object.fromEntries(c.map(k=>[k,n(a.config.variants[k],u.variants[k])])),y=zc(a.config.defaultVariants,u.defaultVariants),A=[...a.compoundVariants,...u.compoundVariants];return{className:ta(a.className,o.className),base:m,variants:b,defaultVariants:y,compoundVariants:A}}}const V7={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},O2={reset:0,base:1,tokens:2,recipes:3};function X7(e){var o;const n=(o=e.layers)!=null?o:V7,a=Object.values(n).sort((u,c)=>O2[u]-O2[c]);return{names:a,atRule:`@layer ${a.join(", ")};`,wrap(u,c){return e.disableLayers?c:{[`@layer ${n[u]}`]:c}}}}function J7(e){const{utility:n,normalize:r}=e,{hasShorthand:a,resolveShorthand:o}=n;return function(u){return ro(u,r,{stop:c=>Array.isArray(c),getKey:a?o:void 0})}}function K7(e){const{preflight:n}=e;if(!n)return{};const{scope:r="",level:a="parent"}=Ni(n)?n:{};let o="";r&&a==="parent"?o=`${r} `:r&&a==="element"&&(o=`&${r}`);const u={"*":{margin:"0px",padding:"0px",font:"inherit",wordWrap:"break-word",WebkitTapHighlightColor:"transparent"},"*, *::before, *::after, *::backdrop":{boxSizing:"border-box",borderWidth:"0px",borderStyle:"solid",borderColor:"var(--global-color-border, currentColor)"},hr:{height:"0px",color:"inherit",borderTopWidth:"1px"},body:{minHeight:"100dvh",position:"relative"},img:{borderStyle:"none"},"img, svg, video, canvas, audio, iframe, embed, object":{display:"block",verticalAlign:"middle"},iframe:{border:"none"},"img, video":{maxWidth:"100%",height:"auto"},"p, h1, h2, h3, h4, h5, h6":{overflowWrap:"break-word"},"ol, ul":{listStyle:"none"},"code, kbd, pre, samp":{fontSize:"1em"},"button, [type='button'], [type='reset'], [type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},"button, input, optgroup, select, textarea":{color:"inherit"},"button, select":{textTransform:"none"},table:{textIndent:"0px",borderColor:"inherit",borderCollapse:"collapse"},"*::placeholder":{opacity:"unset",color:"#9ca3af",userSelect:"none"},textarea:{resize:"vertical"},summary:{display:"list-item"},small:{fontSize:"80%"},"sub, sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},dialog:{padding:"0px"},a:{color:"inherit",textDecoration:"inherit"},"abbr:where([title])":{textDecoration:"underline dotted"},"b, strong":{fontWeight:"bolder"},"code, kbd, samp, pre":{fontSize:"1em","--font-mono-fallback":"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New'",fontFamily:"var(--global-font-mono, var(--font-mono-fallback))"},'input[type="text"], input[type="email"], input[type="search"], input[type="password"]':{WebkitAppearance:"none",MozAppearance:"none"},"input[type='search']":{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration, ::-webkit-search-cancel-button":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},'input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button':{height:"auto"},"input[type='number']":{MozAppearance:"textfield"},":-moz-ui-invalid":{boxShadow:"none"},":-moz-focusring":{outline:"auto"},"[hidden]:where(:not([hidden='until-found']))":{display:"none !important"}},c={[r||"html"]:{lineHeight:1.5,"--font-fallback":"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'",WebkitTextSizeAdjust:"100%",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",textRendering:"optimizeLegibility",touchAction:"manipulation",MozTabSize:"4",tabSize:"4",fontFamily:"var(--global-font-body, var(--font-fallback))"}};if(a==="element"){const m=Object.entries(u).reduce((b,[y,A])=>(b[y]={[o]:A},b),{});Object.assign(c,m)}else o?c[o]=u:Object.assign(c,u);return c}function Q7(e){const{conditions:n,isValidProperty:r}=e;return function(o){return ro(o,u=>u,{getKey:(u,c)=>Ni(c)&&!n.has(u)&&!r(u)?j7(u).map(m=>"&"+m).join(", "):u})}}function j7(e){const n=[];let r=0,a="",o=!1;for(let u=0;u<e.length;u++){const c=e[u];if(c==="\\"&&!o){o=!0,a+=c;continue}if(o){o=!1,a+=c;continue}c==="("?r++:c===")"&&r--,c===","&&r===0?(n.push(a.trim()),a=""):a+=c}return a&&n.push(a.trim()),n}const q7=(e={})=>{var o,u;const n=c=>{var m,b,y;return{base:(b=(m=e.base)==null?void 0:m[c])!=null?b:{},variants:{},defaultVariants:(y=e.defaultVariants)!=null?y:{},compoundVariants:e.compoundVariants?$7(e.compoundVariants,c):[]}},a=((o=e.slots)!=null?o:[]).map(c=>[c,n(c)]);for(const[c,m]of Object.entries((u=e.variants)!=null?u:{}))for(const[b,y]of Object.entries(m))a.forEach(([A,w])=>{var _,P;var k;(_=(k=w.variants)[c])!=null||(k[c]={}),w.variants[c][b]=(P=y[A])!=null?P:{}});return Object.fromEntries(a)},$7=(e,n)=>e.filter(r=>r.css[n]).map(r=>We(G({},r),{css:r.css[n]}));function eP(e){const{cva:n}=e;return function(a={}){var w;const o=Object.entries(q7(a)).map(([k,_])=>[k,n(_)]);function u(k){const _=o.map(([P,N])=>[P,N(k)]);return Object.fromEntries(_)}const c=(w=a.variants)!=null?w:{},m=Object.keys(c);function b(k){var W;const _=l2(k,["recipe"]),[P,N]=hc(_,m);return m.includes("colorPalette")||(P.colorPalette=k.colorPalette||((W=a.defaultVariants)==null?void 0:W.colorPalette)),m.includes("orientation")&&(N.orientation=k.orientation),[P,N]}const y=Object.fromEntries(Object.entries(c).map(([k,_])=>[k,Object.keys(_)]));let A={};return a.className&&(A=Object.fromEntries(a.slots.map(k=>[k,`${a.className}__${k}`]))),Object.assign(u,{variantMap:y,variantKeys:m,splitVariantProps:b,classNameMap:A})}}const tP=()=>e=>Array.from(new Set(e)),nP=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,rP=function(e,n){return n?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},P2=e=>(e+"").replace(nP,rP),D2=(e,n)=>{var b,y,A,w;let r="",a=0,o="char",u="",c="";const m=[];for(;a<e.length;){const k=e[a];if(k==="{"){const P=e.indexOf("}",a);if(P===-1)break;const N=e.slice(a+1,P),W=n(N);r+=W!=null?W:N,a=P+1;continue}if(o==="token"&&k===","){e[a]===""&&a++,o="fallback",m.push(o);const P=n(u);P!=null&&P.endsWith(")")&&(r+=P.slice(0,-1)),u="",c="";continue}if(o==="fallback"&&c+k===", var("){const W=iP(e.slice(a+1))+a+1,H=e.slice(a+1,W);if(W===-1)break;r+=", var("+H+")",a=W+1,o=(b=m.pop())!=null?b:o,c="";continue}if(o==="token"||o==="fallback"){if(a++,k===")"){o=(A=(y=m.pop())!=null?y:o)!=null?A:"char",c+=k;const P=u&&((w=n(u))!=null?w:P2(u));if(c){if(c=c.slice(1).trim(),!c.startsWith("token(")&&c.endsWith(")")&&(c=c.slice(0,-1)),c.includes("token(")){const W=D2(c,n);W&&(c=W.slice(0,-1))}else if(c){const W=n(c);W&&(c=W)}}const N=r.at(-1);c?N!=null&&N.trim()?r+=P.slice(0,-1)+(", "+c+")"):r+=c:r+=P||")",u="",c="",o="char";continue}o==="token"&&(u+=k),o==="fallback"&&(c+=k);continue}const _=e.indexOf("token(",a);if(_!==-1){const P=_+6;r+=e.slice(a,_),a=P,o="token",m.push(o);continue}r+=k,a++}return r},iP=e=>{let n=0;const r=["("];for(;n<e.length;){const a=e[n];if(a==="(")r.push(a);else if(a===")"&&(r.pop(),r.length===0))return n;n++}return n};function M2(e){const n={};return e.forEach((r,a)=>{r instanceof Map?n[a]=Object.fromEntries(r):n[a]=r}),n}const N2=/({([^}]*)})/g,aP=/[{}]/g,lP=/\w+\.\w+/,I2=e=>{if(!eo(e))return[];const n=e.match(N2);return n?n.map(r=>r.replace(aP,"")).map(r=>r.trim()):[]},oP=e=>N2.test(e);function L2(e){var r,a,o,u,c;if(!((r=e.extensions)!=null&&r.references))return(u=(o=(a=e.extensions)==null?void 0:a.cssVar)==null?void 0:o.ref)!=null?u:e.value;const n=(c=e.extensions.references)!=null?c:{};return e.value=Object.keys(n).reduce((m,b)=>{const y=n[b];if(y.extensions.conditions)return m;const A=L2(y);return m.replace(`{${b}}`,A)},e.value),delete e.extensions.references,e.value}function B2(e){return Ni(e)&&e.reference?e.reference:String(e)}const fg=(e,...n)=>n.map(B2).join(` ${e} `).replace(/calc/g,""),F2=(...e)=>`calc(${fg("+",...e)})`,H2=(...e)=>`calc(${fg("-",...e)})`,a0=(...e)=>`calc(${fg("*",...e)})`,W2=(...e)=>`calc(${fg("/",...e)})`,G2=e=>{const n=B2(e);return n!=null&&!Number.isNaN(parseFloat(n))?String(n).startsWith("-")?String(n).slice(1):`-${n}`:a0(n,-1)},Mc=Object.assign(e=>({add:(...n)=>Mc(F2(e,...n)),subtract:(...n)=>Mc(H2(e,...n)),multiply:(...n)=>Mc(a0(e,...n)),divide:(...n)=>Mc(W2(e,...n)),negate:()=>Mc(G2(e)),toString:()=>e.toString()}),{add:F2,subtract:H2,multiply:a0,divide:W2,negate:G2}),sP={enforce:"pre",transform(e){const{prefix:n,allTokens:r,formatCssVar:a,formatTokenName:o,registerToken:u}=e;r.filter(({extensions:m})=>m.category==="spacing").forEach(m=>{const b=m.path.slice(),y=a(b,n);if(eo(m.value)&&m.value==="0rem")return;const A=structuredClone(m);Object.assign(A.extensions,{negative:!0,prop:`-${m.extensions.prop}`,originalPath:b}),A.value=Mc.negate(y.ref);const w=A.path[A.path.length-1];w!=null&&(A.path[A.path.length-1]=`-${w}`),A.path&&(A.name=o(A.path)),u(A)})}},uP=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),cP=[sP,{enforce:"post",transform(e){const{allTokens:n,registerToken:r,formatTokenName:a}=e,o=n.filter(({extensions:m})=>m.category==="colors"),u=new Map,c=new Map;o.forEach(m=>{const{colorPalette:b}=m.extensions;b&&(b.keys.forEach(y=>{u.set(a(y),y)}),b.roots.forEach(y=>{var k;const A=a(y),w=c.get(A)||[];if(w.push(m),c.set(A,w),m.extensions.default&&y.length===1){const _=(k=b.keys[0])==null?void 0:k.filter(Boolean);if(!_.length)return;const P=y.concat(_);u.set(a(P),[])}}))}),u.forEach(m=>{const b=["colors","colorPalette",...m].filter(Boolean),y=a(b),A=a(b.slice(1));r({name:y,value:y,originalValue:y,path:b,extensions:{condition:"base",originalPath:b,category:"colors",prop:A,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(r=>uP.has(r.extensions.category)&&!r.extensions.negative).forEach(r=>{Object.assign(r.extensions,{pixelValue:m2(r.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(n=>n.value!=="")}}],fP=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,n){const{prefix:r,formatCssVar:a}=n,{negative:o,originalPath:u}=e.extensions,c=o?u:e.path;return{cssVar:a(c.filter(Boolean),r)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,n){const{prefix:r,formatCssVar:a}=n,o=I2(e.value);return o.length&&o.forEach(u=>{const c=a(u.split("."),r);e.value=e.value.replace(`{${c.ref}}`,c)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,n){let r=e.path.slice();if(r.pop(),r.shift(),r.length===0){const m=[...e.path];m.shift(),r=m}if(r.length===0)return{};const a=r.reduce((m,b,y,A)=>{const w=A.slice(0,y+1);return m.push(w),m},[]),o=r[0],u=n.formatTokenName(r),c=e.path.slice(e.path.indexOf(o)+1).reduce((m,b,y,A)=>(m.push(A.slice(y)),m),[]);return c.length===0&&c.push([""]),{colorPalette:{value:u,roots:a,keys:c}}}}],Y2=e=>Ni(e)&&Object.prototype.hasOwnProperty.call(e,"value");function dP(e){return e?{breakpoints:Uh(e,n=>({value:n})),sizes:Object.fromEntries(Object.entries(e).map(([n,r])=>[`breakpoint-${n}`,{value:r}]))}:{breakpoints:{},sizes:{}}}function hP(e){const{prefix:n="",tokens:r={},semanticTokens:a={},breakpoints:o={}}=e,u=de=>de.join("."),c=(de,se)=>u2(de.join("-"),{prefix:se}),m=[],b=new Map,y=new Map,A=new Map,w=new Map,k=new Map,_=new Map,P=new Map,N=new Map,W=[];function H(de,se){m.push(de),b.set(de.name,de),se&&N.forEach(ye=>{ye.enforce===se&&E(ye,de)})}const J=dP(o),Y=Hf(We(G({},r),{breakpoints:J.breakpoints,sizes:G(G({},r.sizes),J.sizes)}));function ve(){ro(Y,(de,se)=>{const ye=se.includes("DEFAULT");se=U2(se);const Ce=se[0],Me=u(se),Je=eo(de)?{value:de}:de,Tt={value:Je.value,originalValue:Je.value,name:Me,path:se,extensions:{condition:"base",originalPath:se,category:Ce,prop:u(se.slice(1))}};ye&&(Tt.extensions.default=!0),H(Tt)},{stop:Y2}),ro(a,(de,se)=>{const ye=se.includes("DEFAULT");se=Z2(U2(se));const Ce=se[0],Me=u(se),Je=eo(de.value)?{value:{base:de.value}}:de,Tt={value:Je.value.base||"",originalValue:Je.value.base||"",name:Me,path:se,extensions:{originalPath:se,category:Ce,conditions:Je.value,condition:"base",prop:u(se.slice(1))}};ye&&(Tt.extensions.default=!0),H(Tt)},{stop:Y2})}function j(de){return b.get(de)}function ee(de){const{condition:se}=de.extensions;se&&(y.has(se)||y.set(se,new Set),y.get(se).add(de))}function Te(de){const{category:se,prop:ye}=de.extensions;se&&(P.has(se)||P.set(se,new Map),P.get(se).set(ye,de))}function Se(de){const{condition:se,negative:ye,virtual:Ce,cssVar:Me}=de.extensions;ye||Ce||!se||!Me||(A.has(se)||A.set(se,new Map),A.get(se).set(Me.var,de.value))}function me(de){const{category:se,prop:ye,cssVar:Ce,negative:Me}=de.extensions;if(!se)return;_.has(se)||_.set(se,new Map);const Je=Me?de.extensions.conditions?de.originalValue:de.value:Ce.ref;_.get(se).set(ye,Je),k.set([se,ye].join("."),Je)}function q(de){const{colorPalette:se,virtual:ye,default:Ce}=de.extensions;!se||ye||se.roots.forEach(Me=>{var yi;const Je=u(Me);w.has(Je)||w.set(Je,new Map);const Tt=pP([...de.path],[...Me]),pn=u(Tt),mt=j(pn);if(!mt||!mt.extensions.cssVar)return;const{var:rn}=mt.extensions.cssVar;if(w.get(Je).set(rn,de.extensions.cssVar.ref),Ce&&Me.length===1){const ii=u(["colors","colorPalette"]),On=j(ii);if(!On)return;const mn=u(de.path),St=j(mn);if(!St)return;const Pn=(yi=se.keys[0])==null?void 0:yi.filter(Boolean);if(!Pn.length)return;const fl=u(Me.concat(Pn));w.has(fl)||w.set(fl,new Map),w.get(fl).set(On.extensions.cssVar.var,St.extensions.cssVar.ref)}})}let Re={};function fe(){m.forEach(de=>{ee(de),Te(de),Se(de),me(de),q(de)}),Re=M2(_)}const Pe=(de,se)=>{var mt;if(!de||typeof de!="string")return{invalid:!0,value:de};const[ye,Ce]=de.split("/");if(!ye||!Ce)return{invalid:!0,value:ye};const Me=se(ye),Je=(mt=j(`opacity.${Ce}`))==null?void 0:mt.value;if(!Je&&isNaN(Number(Ce)))return{invalid:!0,value:ye};const Tt=Je?Number(Je)*100+"%":`${Ce}%`,pn=Me!=null?Me:ye;return{invalid:!1,color:pn,value:`color-mix(in srgb, ${pn} ${Tt}, transparent)`}},te=cl((de,se)=>{var ye;return(ye=k.get(de))!=null?ye:se}),ge=cl(de=>Re[de]||null),M=cl(de=>D2(de,se=>{if(!se)return;if(se.includes("/")){const Ce=Pe(se,Me=>te(Me));if(Ce.invalid)throw new Error("Invalid color mix at "+se+": "+Ce.value);return Ce.value}const ye=te(se);return ye||(lP.test(se)?P2(se):se)})),K={prefix:n,allTokens:m,tokenMap:b,registerToken:H,getByName:j,formatTokenName:u,formatCssVar:c,flatMap:k,cssVarMap:A,categoryMap:P,colorPaletteMap:w,getVar:te,getCategoryValues:ge,expandReferenceInValue:M};function ze(...de){de.forEach(se=>{N.set(se.name,se)})}function Ge(...de){W.push(...de)}function E(de,se){if(se.extensions.references||fp(de.match)&&!de.match(se))return;const Ce=(Me=>de.transform(Me,K))(se);switch(!0){case de.type==="extensions":Object.assign(se.extensions,Ce);break;case de.type==="value":se.value=Ce;break;default:se[de.type]=Ce;break}}function F(de){W.forEach(se=>{se.enforce===de&&se.transform(K)})}function Oe(de){N.forEach(se=>{se.enforce===de&&m.forEach(ye=>{E(se,ye)})})}function B(){m.forEach(de=>{const se=gP(de);!se||se.length===0||se.forEach(ye=>{H(ye)})})}function De(de){return I2(de).map(ye=>j(ye)).filter(Boolean)}function Le(){m.forEach(de=>{if(!oP(de.value))return;const se=De(de.value);de.extensions.references=se.reduce((ye,Ce)=>(ye[Ce.name]=Ce,ye),{})})}function Ee(){m.forEach(de=>{L2(de)})}function Ue(){F("pre"),Oe("pre"),B(),Le(),Ee(),F("post"),Oe("post"),fe()}return ve(),ze(...fP),Ge(...cP),Ue(),K}function U2(e){return e[0]==="DEFAULT"?e:e.filter(n=>n!=="DEFAULT")}function Z2(e){return e.filter(n=>n!=="base")}function gP(e){if(!e.extensions.conditions)return;const{conditions:n}=e.extensions,r=[];return ro(n,(a,o)=>{const u=Z2(o);if(!u.length)return;const c=structuredClone(e);c.value=a,c.extensions.condition=u.join(":"),r.push(c)}),r}function pP(e,n){const r=e.findIndex((a,o)=>n.every((u,c)=>e[o+c]===u));return r===-1||(e.splice(r,n.length),e.splice(r,0,"colorPalette")),e}tP()(["aspectRatios","zIndex","opacity","colors","fonts","fontSizes","fontWeights","lineHeights","letterSpacings","sizes","shadows","spacing","radii","cursor","borders","borderWidths","borderStyles","durations","easings","animations","blurs","gradients","breakpoints","assets"]);function JI(e){return e}function mP(e){return Object.fromEntries(Object.entries(e).map(([n,r])=>[n,r]))}function bP(e){const n=mP(e.config),r=e.tokens,a=new Map,o=new Map;function u(Se,me){n[Se]=me,c(Se,me)}const c=(Se,me)=>{const q=N(me);q&&(o.set(Se,q),w(Se,me))},m=()=>{for(const[Se,me]of Object.entries(n))me&&c(Se,me)},b=()=>{for(const[Se,me]of Object.entries(n)){const{shorthand:q}=me!=null?me:{};if(!q)continue;(Array.isArray(q)?q:[q]).forEach(fe=>a.set(fe,Se))}},y=()=>{const Se=M2(r.colorPaletteMap);u("colorPalette",{values:Object.keys(Se),transform:cl(me=>Se[me])})},A=new Map,w=(Se,me)=>{var fe;if(!me)return;const q=N(me,Pe=>`type:Tokens["${Pe}"]`);if(typeof q=="object"&&q.type){A.set(Se,new Set([`type:${q.type}`]));return}if(q){const Pe=new Set(Object.keys(q));A.set(Se,Pe)}const Re=(fe=A.get(Se))!=null?fe:new Set;me.property&&A.set(Se,Re.add(`CssProperties["${me.property}"]`))},k=()=>{for(const[Se,me]of Object.entries(n))me&&w(Se,me)},_=(Se,me)=>{var Re;const q=(Re=A.get(Se))!=null?Re:new Set;A.set(Se,new Set([...q,...me]))},P=()=>{const Se=new Map;for(const[me,q]of A.entries()){if(q.size===0){Se.set(me,["string"]);continue}const Re=Array.from(q).map(fe=>fe.startsWith("CssProperties")?fe:fe.startsWith("type:")?fe.replace("type:",""):JSON.stringify(fe));Se.set(me,Re)}return Se},N=(Se,me)=>{var fe,Pe;const{values:q}=Se,Re=te=>{const ge=me==null?void 0:me(te);return ge?{[ge]:ge}:void 0};return eo(q)?(Pe=(fe=Re==null?void 0:Re(q))!=null?fe:r.getCategoryValues(q))!=null?Pe:{}:Array.isArray(q)?q.reduce((te,ge)=>(te[ge]=ge,te),{}):fp(q)?q(me?Re:r.getCategoryValues):q},W=cl((Se,me)=>({[Se]:Se.startsWith("--")?r.getVar(me,me):me})),H=Object.assign(r.getVar,{raw:Se=>r.getByName(Se)}),J=cl((Se,me)=>{var te;const q=j(Se);eo(me)&&!me.includes("_EMO_")&&(me=r.expandReferenceInValue(me));const Re=n[q];if(!Re)return W(q,me);const fe=(te=o.get(q))==null?void 0:te[me];if(!Re.transform)return W(Se,fe!=null?fe:me);const Pe=ge=>qO(ge,H);return Re.transform(fe!=null?fe:me,{raw:me,token:H,utils:{colorMix:Pe}})});function Y(){b(),y(),m(),k()}Y();const ve=a.size>0,j=cl(Se=>{var me;return(me=a.get(Se))!=null?me:Se});return{keys:()=>[...Array.from(a.keys()),...Object.keys(n)],hasShorthand:ve,transform:J,shorthands:a,resolveShorthand:j,register:u,getTypes:P,addPropertyType:_}}const Fi={};function V2(...e){var Ge,E,F,Oe,B,De,Le,Ee,Ue,de;const n=o2(...e),{theme:r={},utilities:a={},globalCss:o={},cssVarsRoot:u=":where(:root, :host)",cssVarsPrefix:c="chakra",preflight:m}=n,b=X7(n),y=hP({breakpoints:r.breakpoints,tokens:r.tokens,semanticTokens:r.semanticTokens,prefix:c}),A=C7((Ge=r.breakpoints)!=null?Ge:Fi),w=O7({conditions:(E=n.conditions)!=null?E:Fi,breakpoints:A}),k=bP({config:a,tokens:y});function _(){const{textStyles:se,layerStyles:ye,animationStyles:Ce}=r,Me=Hf({textStyle:se,layerStyle:ye,animationStyle:Ce});for(const[Je,Tt]of Object.entries(Me)){const pn=d2(Tt!=null?Tt:Fi,X2);k.register(Je,{values:Object.keys(pn),transform(mt){return Y(pn[mt])}})}}_(),k.addPropertyType("animationName",Object.keys((F=r.keyframes)!=null?F:Fi));const P=new Set(["css",...k.keys(),...w.keys()]),N=cl(se=>P.has(se)||S7(se)),W=se=>Array.isArray(se)?se.reduce((ye,Ce,Me)=>{const Je=w.breakpoints[Me];return Ce!=null&&(ye[Je]=Ce),ye},{}):se,H=J7({utility:k,normalize:W}),J=Q7({conditions:w,isValidProperty:N}),Y=R2({transform:k.transform,conditions:w,normalize:H}),ve=U7({css:Y,conditions:w,normalize:H,layers:b}),j=eP({cva:ve});function ee(){const se={};for(const[ye,Ce]of y.cssVarMap.entries()){const Me=Object.fromEntries(Ce);if(Object.keys(Me).length===0)continue;const Je=ye==="base"?u:w.resolve(ye),Tt=Je.startsWith("@"),pn=Y(J({[Je]:Tt?{[u]:Me}:Me}));zc(se,pn)}return b.wrap("tokens",se)}function Te(){var Ce;const se=Object.fromEntries(Object.entries((Ce=r.keyframes)!=null?Ce:Fi).map(([Me,Je])=>[`@keyframes ${Me}`,Je])),ye=Object.assign({},se,Y(J(o)));return b.wrap("base",ye)}function Se(se){return hc(se,N)}function me(){const se=K7({preflight:m});return b.wrap("reset",se)}const q=yP(y),Re=(se,ye)=>{var Ce;return((Ce=q.get(se))==null?void 0:Ce.value)||ye};Re.var=(se,ye)=>{var Ce;return((Ce=q.get(se))==null?void 0:Ce.variable)||ye};function fe(se,ye){var Ce,Me;return(Me=(Ce=r.recipes)==null?void 0:Ce[se])!=null?Me:ye}function Pe(se,ye){var Ce,Me;return(Me=(Ce=r.slotRecipes)==null?void 0:Ce[se])!=null?Me:ye}function te(se){var ye;return Object.hasOwnProperty.call((ye=r.recipes)!=null?ye:Fi,se)}function ge(se){var ye;return Object.hasOwnProperty.call((ye=r.slotRecipes)!=null?ye:Fi,se)}function M(se){return te(se)||ge(se)}const K=[me(),Te(),ee()],ze={layerStyles:l0((Oe=r.layerStyles)!=null?Oe:Fi),textStyles:l0((B=r.textStyles)!=null?B:Fi),animationStyles:l0((De=r.animationStyles)!=null?De:Fi),tokens:J2(y,Object.keys((Le=r.tokens)!=null?Le:Fi),(se,ye)=>!se.extensions.conditions&&!ye.includes("colorPalette")),semanticTokens:J2(y,Object.keys((Ee=r.semanticTokens)!=null?Ee:Fi),se=>!!se.extensions.conditions),keyframes:K2((Ue=r.keyframes)!=null?Ue:Fi),breakpoints:K2((de=r.breakpoints)!=null?de:Fi)};return{$$chakra:!0,_config:n,_global:K,breakpoints:A,tokens:y,conditions:w,utility:k,token:Re,properties:P,layers:b,isValidProperty:N,splitCssProps:Se,normalizeValue:W,getTokenCss:ee,getGlobalCss:Te,getPreflightCss:me,css:Y,cva:ve,sva:j,getRecipe:fe,getSlotRecipe:Pe,hasRecipe:M,isRecipe:te,isSlotRecipe:ge,query:ze}}function yP(e){const n=new Map;return e.allTokens.forEach(r=>{const{cssVar:a,virtual:o,conditions:u}=r.extensions,c=u||o?a.ref:r.value;n.set(r.name,{value:c,variable:a.ref})}),n}const X2=e=>Ni(e)&&"value"in e,l0=e=>({list(){return Object.keys(d2(e,X2))},search(n){return this.list().filter(r=>r.includes(n))}}),J2=(e,n,r)=>({categoryKeys:n,list(a){var o,u;return Array.from((u=(o=e.categoryMap.get(a))==null?void 0:o.entries())!=null?u:[]).reduce((c,[m,b])=>(r(b,m)&&c.push(m),c),[])},search(a,o){return this.list(a).filter(u=>u.includes(o))}}),K2=e=>({list(){return Object.keys(e)},search(n){return this.list().filter(r=>r.includes(n))}}),vP={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},o0="var(--chakra-empty,/*!*/ /*!*/)",xP=n7({"*":We(G(G({fontFeatureSettings:'"cv11"',"--ring-inset":o0,"--ring-offset-width":"0px","--ring-offset-color":"#fff","--ring-color":"rgba(66, 153, 225, 0.6)","--ring-offset-shadow":"0 0 #0000","--ring-shadow":"0 0 #0000"},Object.fromEntries(["brightness","contrast","grayscale","hue-rotate","invert","saturate","sepia","drop-shadow"].map(e=>[`--${e}`,o0]))),Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,o0]))),{"--global-font-mono":"fonts.mono","--global-font-body":"fonts.body","--global-color-border":"colors.border"}),html:{color:"fg",bg:"bg",lineHeight:"1.5",colorPalette:"gray"},"*::placeholder, *[data-placeholder]":{color:"fg.muted/80"},"*::selection":{bg:"colorPalette.emphasized/80"}}),AP=a7({"fill.muted":{value:{background:"colorPalette.muted",color:"colorPalette.fg"}},"fill.subtle":{value:{background:"colorPalette.subtle",color:"colorPalette.fg"}},"fill.surface":{value:{background:"colorPalette.subtle",color:"colorPalette.fg",boxShadow:"0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.muted"}},"fill.solid":{value:{background:"colorPalette.solid",color:"colorPalette.contrast"}},"outline.subtle":{value:{color:"colorPalette.fg",boxShadow:"inset 0 0 0px 1px var(--shadow-color)",boxShadowColor:"colorPalette.subtle"}},"outline.solid":{value:{borderWidth:"1px",borderColor:"colorPalette.solid",color:"colorPalette.fg"}},"indicator.bottom":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",bottom:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.top":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",top:"var(--indicator-offset-y, 0)",insetInline:"var(--indicator-offset-x, 0)",height:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.start":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineStart:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},"indicator.end":{value:{position:"relative","--indicator-color-fallback":"colors.colorPalette.solid",_before:{content:'""',position:"absolute",insetInlineEnd:"var(--indicator-offset-x, 0)",insetBlock:"var(--indicator-offset-y, 0)",width:"var(--indicator-thickness, 2px)",background:"var(--indicator-color, var(--indicator-color-fallback))"}}},disabled:{value:{opacity:"0.5",cursor:"not-allowed"}},none:{value:{}}}),SP=i7({"slide-fade-in":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-from-bottom, fade-in"},"&[data-placement^=bottom]":{animationName:"slide-from-top, fade-in"},"&[data-placement^=left]":{animationName:"slide-from-right, fade-in"},"&[data-placement^=right]":{animationName:"slide-from-left, fade-in"}}},"slide-fade-out":{value:{transformOrigin:"var(--transform-origin)","&[data-placement^=top]":{animationName:"slide-to-bottom, fade-out"},"&[data-placement^=bottom]":{animationName:"slide-to-top, fade-out"},"&[data-placement^=left]":{animationName:"slide-to-right, fade-out"},"&[data-placement^=right]":{animationName:"slide-to-left, fade-out"}}},"scale-fade-in":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-in, fade-in"}},"scale-fade-out":{value:{transformOrigin:"var(--transform-origin)",animationName:"scale-out, fade-out"}}}),s0=pr({className:"chakra-badge",base:{display:"inline-flex",alignItems:"center",borderRadius:"l2",gap:"1",fontWeight:"medium",fontVariantNumeric:"tabular-nums",whiteSpace:"nowrap",userSelect:"none"},variants:{variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg"},outline:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},plain:{color:"colorPalette.fg"}},size:{xs:{textStyle:"2xs",px:"1",minH:"4"},sm:{textStyle:"xs",px:"1.5",minH:"5"},md:{textStyle:"sm",px:"2",minH:"6"},lg:{textStyle:"sm",px:"2.5",minH:"7"}}},defaultVariants:{variant:"subtle",size:"sm"}}),wP=pr({className:"chakra-button",base:{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",borderRadius:"l2",whiteSpace:"nowrap",verticalAlign:"middle",borderWidth:"1px",borderColor:"transparent",cursor:"button",flexShrink:"0",outline:"0",lineHeight:"1.2",isolation:"isolate",fontWeight:"medium",transitionProperty:"common",transitionDuration:"moderate",focusVisibleRing:"outside",_disabled:{layerStyle:"disabled"},_icon:{flexShrink:"0"}},variants:{size:{"2xs":{h:"6",minW:"6",textStyle:"xs",px:"2",gap:"1",_icon:{width:"3.5",height:"3.5"}},xs:{h:"8",minW:"8",textStyle:"xs",px:"2.5",gap:"1",_icon:{width:"4",height:"4"}},sm:{h:"9",minW:"9",px:"3.5",textStyle:"sm",gap:"2",_icon:{width:"4",height:"4"}},md:{h:"10",minW:"10",textStyle:"sm",px:"4",gap:"2",_icon:{width:"5",height:"5"}},lg:{h:"11",minW:"11",textStyle:"md",px:"5",gap:"3",_icon:{width:"5",height:"5"}},xl:{h:"12",minW:"12",textStyle:"md",px:"5",gap:"2.5",_icon:{width:"5",height:"5"}},"2xl":{h:"16",minW:"16",textStyle:"lg",px:"7",gap:"3",_icon:{width:"6",height:"6"}}},variant:{solid:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"transparent",_hover:{bg:"colorPalette.solid/90"},_expanded:{bg:"colorPalette.solid/90"}},subtle:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"transparent",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},surface:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted",_hover:{bg:"colorPalette.muted"},_expanded:{bg:"colorPalette.muted"}},outline:{borderWidth:"1px",borderColor:"colorPalette.muted",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},ghost:{bg:"transparent",color:"colorPalette.fg",_hover:{bg:"colorPalette.subtle"},_expanded:{bg:"colorPalette.subtle"}},plain:{color:"colorPalette.fg"}}},defaultVariants:{size:"md",variant:"solid"}}),Nr=pr({className:"chakra-checkmark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"l1",cursor:"checkbox",focusVisibleRing:"outside",_icon:{boxSize:"full"},_invalid:{colorPalette:"red",borderColor:"border.error"},_disabled:{opacity:"0.5",cursor:"disabled"}},variants:{size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5",p:"0.5"},lg:{boxSize:"6",p:"0.5"}},variant:{solid:{borderColor:"border.emphasized","&:is([data-state=checked], [data-state=indeterminate])":{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},outline:{borderColor:"border","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg",borderColor:"colorPalette.solid"}},subtle:{bg:"colorPalette.muted",borderColor:"colorPalette.muted","&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},plain:{"&:is([data-state=checked], [data-state=indeterminate])":{color:"colorPalette.fg"}},inverted:{borderColor:"border",color:"colorPalette.fg","&:is([data-state=checked], [data-state=indeterminate])":{borderColor:"colorPalette.solid"}}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),{variants:kP,defaultVariants:EP}=s0,_P=pr({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:kP,defaultVariants:EP}),Q2=pr({className:"color-swatch",base:{boxSize:"var(--swatch-size)",shadow:"inset 0 0 0 1px rgba(0, 0, 0, 0.1)","--checker-size":"8px","--checker-bg":"colors.bg","--checker-fg":"colors.bg.emphasized",background:"linear-gradient(var(--color), var(--color)), repeating-conic-gradient(var(--checker-fg) 0%, var(--checker-fg) 25%, var(--checker-bg) 0%, var(--checker-bg) 50%) 0% 50% / var(--checker-size) var(--checker-size) !important",display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},variants:{size:{"2xs":{"--swatch-size":"sizes.3.5"},xs:{"--swatch-size":"sizes.4"},sm:{"--swatch-size":"sizes.4.5"},md:{"--swatch-size":"sizes.5"},lg:{"--swatch-size":"sizes.6"},xl:{"--swatch-size":"sizes.7"},"2xl":{"--swatch-size":"sizes.8"},inherit:{"--swatch-size":"inherit"},full:{"--swatch-size":"100%"}},shape:{square:{borderRadius:"none"},circle:{borderRadius:"full"},rounded:{borderRadius:"l1"}}},defaultVariants:{size:"md",shape:"rounded"}}),CP=pr({className:"chakra-container",base:{position:"relative",maxWidth:"8xl",w:"100%",mx:"auto",px:{base:"4",md:"6",lg:"8"}},variants:{centerContent:{true:{display:"flex",flexDirection:"column",alignItems:"center"}},fluid:{true:{maxWidth:"full"}}}}),TP=pr({className:"chakra-heading",base:{fontFamily:"heading",fontWeight:"semibold"},variants:{size:{xs:{textStyle:"xs"},sm:{textStyle:"sm"},md:{textStyle:"md"},lg:{textStyle:"lg"},xl:{textStyle:"xl"},"2xl":{textStyle:"2xl"},"3xl":{textStyle:"3xl"},"4xl":{textStyle:"4xl"},"5xl":{textStyle:"5xl"},"6xl":{textStyle:"6xl"},"7xl":{textStyle:"7xl"}}},defaultVariants:{size:"xl"}}),RP=pr({className:"chakra-icon",base:{display:"inline-block",lineHeight:"1em",flexShrink:"0",color:"currentcolor",verticalAlign:"middle"},variants:{size:{inherit:{},xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"},xl:{boxSize:"7"},"2xl":{boxSize:"8"}}},defaultVariants:{size:"inherit"}}),sr=pr({className:"chakra-input",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},height:"var(--input-height)",minW:"var(--input-height)","--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{"2xs":{textStyle:"xs",px:"2","--input-height":"sizes.7"},xs:{textStyle:"xs",px:"2","--input-height":"sizes.8"},sm:{textStyle:"sm",px:"2.5","--input-height":"sizes.9"},md:{textStyle:"sm",px:"3","--input-height":"sizes.10"},lg:{textStyle:"md",px:"4","--input-height":"sizes.11"},xl:{textStyle:"md",px:"4.5","--input-height":"sizes.12"},"2xl":{textStyle:"lg",px:"5","--input-height":"sizes.16"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside",focusRingColor:"var(--focus-color)"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)",_invalid:{borderColor:"var(--error-color)",boxShadow:"0px 1px 0px 0px var(--error-color)"}}}}},defaultVariants:{size:"md",variant:"outline"}}),zP=pr({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:sr.variants.size,variant:{outline:{borderWidth:"1px",borderColor:"border",bg:"bg.muted"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.emphasized"},flushed:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}},defaultVariants:{size:"md",variant:"outline"}}),OP=pr({className:"chakra-kbd",base:{display:"inline-flex",alignItems:"center",fontWeight:"medium",fontFamily:"mono",flexShrink:"0",whiteSpace:"nowrap",wordSpacing:"-0.5em",userSelect:"none",px:"1",borderRadius:"l2"},variants:{variant:{raised:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderWidth:"1px",borderBottomWidth:"2px",borderColor:"colorPalette.muted"},outline:{borderWidth:"1px",color:"colorPalette.fg"},subtle:{bg:"colorPalette.muted",color:"colorPalette.fg"},plain:{color:"colorPalette.fg"}},size:{sm:{textStyle:"xs",height:"4.5"},md:{textStyle:"sm",height:"5"},lg:{textStyle:"md",height:"6"}}},defaultVariants:{size:"md",variant:"raised"}}),PP=pr({className:"chakra-link",base:{display:"inline-flex",alignItems:"center",outline:"none",gap:"1.5",cursor:"pointer",borderRadius:"l1",focusRing:"outside"},variants:{variant:{underline:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"},plain:{color:"colorPalette.fg",_hover:{textDecoration:"underline",textUnderlineOffset:"3px",textDecorationColor:"currentColor/20"}}}},defaultVariants:{variant:"plain"}}),DP=pr({className:"chakra-mark",base:{bg:"transparent",color:"inherit",whiteSpace:"nowrap"},variants:{variant:{subtle:{bg:"colorPalette.subtle",color:"inherit"},solid:{bg:"colorPalette.solid",color:"colorPalette.contrast"},text:{fontWeight:"medium"},plain:{}}}}),Ir=pr({className:"chakra-radiomark",base:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,verticalAlign:"top",color:"white",borderWidth:"1px",borderColor:"transparent",borderRadius:"full",cursor:"radio",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing",outlineOffset:"2px"},_invalid:{colorPalette:"red",borderColor:"red.500"},_disabled:{opacity:"0.5",cursor:"disabled"},"& .dot":{height:"100%",width:"100%",borderRadius:"full",bg:"currentColor",scale:"0.4"}},variants:{variant:{solid:{borderWidth:"1px",borderColor:"border.emphasized",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},subtle:{borderWidth:"1px",bg:"colorPalette.muted",borderColor:"colorPalette.muted",color:"transparent",_checked:{color:"colorPalette.fg"}},outline:{borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.fg",borderColor:"colorPalette.solid"},"& .dot":{scale:"0.6"}},inverted:{bg:"bg",borderWidth:"1px",borderColor:"inherit",_checked:{color:"colorPalette.solid",borderColor:"currentcolor"}}},size:{xs:{boxSize:"3"},sm:{boxSize:"4"},md:{boxSize:"5"},lg:{boxSize:"6"}},filled:{true:{bg:"bg"}}},defaultVariants:{variant:"solid",size:"md"}}),MP=pr({className:"chakra-separator",base:{display:"block",borderColor:"border"},variants:{variant:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"},dotted:{borderStyle:"dotted"}},orientation:{vertical:{borderInlineStartWidth:"var(--separator-thickness)"},horizontal:{borderTopWidth:"var(--separator-thickness)"}},size:{xs:{"--separator-thickness":"0.5px"},sm:{"--separator-thickness":"1px"},md:{"--separator-thickness":"2px"},lg:{"--separator-thickness":"3px"}}},defaultVariants:{size:"sm",variant:"solid",orientation:"horizontal"}}),NP=pr({className:"chakra-skeleton",base:{},variants:{loading:{true:{borderRadius:"l2",boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none",flexShrink:"0","&::before, &::after, *":{visibility:"hidden"}},false:{background:"unset",animation:"fade-in var(--fade-duration, 0.1s) ease-out !important"}},variant:{pulse:{background:"bg.emphasized",animation:"pulse",animationDuration:"var(--duration, 1.2s)"},shine:{"--animate-from":"200%","--animate-to":"-200%","--start-color":"colors.bg.muted","--end-color":"colors.bg.emphasized",backgroundImage:"linear-gradient(270deg,var(--start-color),var(--end-color),var(--end-color),var(--start-color))",backgroundSize:"400% 100%",animation:"bg-position var(--duration, 5s) ease-in-out infinite"},none:{animation:"none"}}},defaultVariants:{variant:"pulse",loading:!0}}),IP=pr({className:"chakra-skip-nav",base:{display:"inline-flex",bg:"bg.panel",padding:"2.5",borderRadius:"l2",fontWeight:"semibold",focusVisibleRing:"outside",textStyle:"sm",userSelect:"none",border:"0",height:"1px",width:"1px",margin:"-1px",outline:"0",overflow:"hidden",position:"absolute",clip:"rect(0 0 0 0)",_focusVisible:{clip:"auto",width:"auto",height:"auto",position:"fixed",top:"6",insetStart:"6"}}}),LP=pr({className:"chakra-spinner",base:{display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderWidth:"2px",borderRadius:"full",width:"var(--spinner-size)",height:"var(--spinner-size)",animation:"spin",animationDuration:"slowest","--spinner-track-color":"transparent",borderBottomColor:"var(--spinner-track-color)",borderInlineStartColor:"var(--spinner-track-color)"},variants:{size:{inherit:{"--spinner-size":"1em"},xs:{"--spinner-size":"sizes.3"},sm:{"--spinner-size":"sizes.4"},md:{"--spinner-size":"sizes.5"},lg:{"--spinner-size":"sizes.8"},xl:{"--spinner-size":"sizes.10"}}},defaultVariants:{size:"md"}}),BP=pr({className:"chakra-textarea",base:{width:"100%",minWidth:"0",outline:"0",position:"relative",appearance:"none",textAlign:"start",borderRadius:"l2",_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},variants:{size:{xs:{textStyle:"xs",px:"2",py:"1.5",scrollPaddingBottom:"1.5"},sm:{textStyle:"sm",px:"2.5",py:"2",scrollPaddingBottom:"2"},md:{textStyle:"sm",px:"3",py:"2",scrollPaddingBottom:"2"},lg:{textStyle:"md",px:"4",py:"3",scrollPaddingBottom:"3"},xl:{textStyle:"md",px:"4.5",py:"3.5",scrollPaddingBottom:"3.5"}},variant:{outline:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"},subtle:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"},flushed:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}}}},defaultVariants:{size:"md",variant:"outline"}}),FP={badge:s0,button:wP,code:_P,container:CP,heading:TP,input:sr,inputAddon:zP,kbd:OP,link:PP,mark:DP,separator:MP,skeleton:NP,skipNavLink:IP,spinner:LP,textarea:BP,icon:RP,checkmark:Nr,radiomark:Ir,colorSwatch:Q2},HP=$m.colors({bg:{DEFAULT:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},emphasized:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},inverted:{value:{_light:"{colors.black}",_dark:"{colors.white}"}},panel:{value:{_light:"{colors.white}",_dark:"{colors.gray.950}"}},error:{value:{_light:"{colors.red.50}",_dark:"{colors.red.950}"}},warning:{value:{_light:"{colors.orange.50}",_dark:"{colors.orange.950}"}},success:{value:{_light:"{colors.green.50}",_dark:"{colors.green.950}"}},info:{value:{_light:"{colors.blue.50}",_dark:"{colors.blue.950}"}}},fg:{DEFAULT:{value:{_light:"{colors.black}",_dark:"{colors.gray.50}"}},muted:{value:{_light:"{colors.gray.600}",_dark:"{colors.gray.400}"}},subtle:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.500}"}},inverted:{value:{_light:"{colors.gray.50}",_dark:"{colors.black}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.300}"}},success:{value:{_light:"{colors.green.600}",_dark:"{colors.green.300}"}},info:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.300}"}}},border:{DEFAULT:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},muted:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},subtle:{value:{_light:"{colors.gray.50}",_dark:"{colors.gray.950}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},inverted:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},error:{value:{_light:"{colors.red.500}",_dark:"{colors.red.400}"}},warning:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.400}"}},success:{value:{_light:"{colors.green.500}",_dark:"{colors.green.400}"}},info:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.400}"}}},gray:{contrast:{value:{_light:"{colors.white}",_dark:"{colors.black}"}},fg:{value:{_light:"{colors.gray.800}",_dark:"{colors.gray.200}"}},subtle:{value:{_light:"{colors.gray.100}",_dark:"{colors.gray.900}"}},muted:{value:{_light:"{colors.gray.200}",_dark:"{colors.gray.800}"}},emphasized:{value:{_light:"{colors.gray.300}",_dark:"{colors.gray.700}"}},solid:{value:{_light:"{colors.gray.900}",_dark:"{colors.white}"}},focusRing:{value:{_light:"{colors.gray.400}",_dark:"{colors.gray.400}"}}},red:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.red.700}",_dark:"{colors.red.300}"}},subtle:{value:{_light:"{colors.red.100}",_dark:"{colors.red.900}"}},muted:{value:{_light:"{colors.red.200}",_dark:"{colors.red.800}"}},emphasized:{value:{_light:"{colors.red.300}",_dark:"{colors.red.700}"}},solid:{value:{_light:"{colors.red.600}",_dark:"{colors.red.600}"}},focusRing:{value:{_light:"{colors.red.500}",_dark:"{colors.red.500}"}}},orange:{contrast:{value:{_light:"white",_dark:"black"}},fg:{value:{_light:"{colors.orange.700}",_dark:"{colors.orange.300}"}},subtle:{value:{_light:"{colors.orange.100}",_dark:"{colors.orange.900}"}},muted:{value:{_light:"{colors.orange.200}",_dark:"{colors.orange.800}"}},emphasized:{value:{_light:"{colors.orange.300}",_dark:"{colors.orange.700}"}},solid:{value:{_light:"{colors.orange.600}",_dark:"{colors.orange.500}"}},focusRing:{value:{_light:"{colors.orange.500}",_dark:"{colors.orange.500}"}}},green:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.green.700}",_dark:"{colors.green.300}"}},subtle:{value:{_light:"{colors.green.100}",_dark:"{colors.green.900}"}},muted:{value:{_light:"{colors.green.200}",_dark:"{colors.green.800}"}},emphasized:{value:{_light:"{colors.green.300}",_dark:"{colors.green.700}"}},solid:{value:{_light:"{colors.green.600}",_dark:"{colors.green.600}"}},focusRing:{value:{_light:"{colors.green.500}",_dark:"{colors.green.500}"}}},blue:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.blue.700}",_dark:"{colors.blue.300}"}},subtle:{value:{_light:"{colors.blue.100}",_dark:"{colors.blue.900}"}},muted:{value:{_light:"{colors.blue.200}",_dark:"{colors.blue.800}"}},emphasized:{value:{_light:"{colors.blue.300}",_dark:"{colors.blue.700}"}},solid:{value:{_light:"{colors.blue.600}",_dark:"{colors.blue.600}"}},focusRing:{value:{_light:"{colors.blue.500}",_dark:"{colors.blue.500}"}}},yellow:{contrast:{value:{_light:"black",_dark:"black"}},fg:{value:{_light:"{colors.yellow.800}",_dark:"{colors.yellow.300}"}},subtle:{value:{_light:"{colors.yellow.100}",_dark:"{colors.yellow.900}"}},muted:{value:{_light:"{colors.yellow.200}",_dark:"{colors.yellow.800}"}},emphasized:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.700}"}},solid:{value:{_light:"{colors.yellow.300}",_dark:"{colors.yellow.300}"}},focusRing:{value:{_light:"{colors.yellow.500}",_dark:"{colors.yellow.500}"}}},teal:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.teal.700}",_dark:"{colors.teal.300}"}},subtle:{value:{_light:"{colors.teal.100}",_dark:"{colors.teal.900}"}},muted:{value:{_light:"{colors.teal.200}",_dark:"{colors.teal.800}"}},emphasized:{value:{_light:"{colors.teal.300}",_dark:"{colors.teal.700}"}},solid:{value:{_light:"{colors.teal.600}",_dark:"{colors.teal.600}"}},focusRing:{value:{_light:"{colors.teal.500}",_dark:"{colors.teal.500}"}}},purple:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.purple.700}",_dark:"{colors.purple.300}"}},subtle:{value:{_light:"{colors.purple.100}",_dark:"{colors.purple.900}"}},muted:{value:{_light:"{colors.purple.200}",_dark:"{colors.purple.800}"}},emphasized:{value:{_light:"{colors.purple.300}",_dark:"{colors.purple.700}"}},solid:{value:{_light:"{colors.purple.600}",_dark:"{colors.purple.600}"}},focusRing:{value:{_light:"{colors.purple.500}",_dark:"{colors.purple.500}"}}},pink:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.pink.700}",_dark:"{colors.pink.300}"}},subtle:{value:{_light:"{colors.pink.100}",_dark:"{colors.pink.900}"}},muted:{value:{_light:"{colors.pink.200}",_dark:"{colors.pink.800}"}},emphasized:{value:{_light:"{colors.pink.300}",_dark:"{colors.pink.700}"}},solid:{value:{_light:"{colors.pink.600}",_dark:"{colors.pink.600}"}},focusRing:{value:{_light:"{colors.pink.500}",_dark:"{colors.pink.500}"}}},cyan:{contrast:{value:{_light:"white",_dark:"white"}},fg:{value:{_light:"{colors.cyan.700}",_dark:"{colors.cyan.300}"}},subtle:{value:{_light:"{colors.cyan.100}",_dark:"{colors.cyan.900}"}},muted:{value:{_light:"{colors.cyan.200}",_dark:"{colors.cyan.800}"}},emphasized:{value:{_light:"{colors.cyan.300}",_dark:"{colors.cyan.700}"}},solid:{value:{_light:"{colors.cyan.600}",_dark:"{colors.cyan.600}"}},focusRing:{value:{_light:"{colors.cyan.500}",_dark:"{colors.cyan.500}"}}}}),WP=$m.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),GP=$m.shadows({xs:{value:{_light:"0px 1px 2px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/20}",_dark:"0px 1px 1px {black/64}, 0px 0px 1px inset {colors.gray.300/20}"}},sm:{value:{_light:"0px 2px 4px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 2px 4px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},md:{value:{_light:"0px 4px 8px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 4px 8px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},lg:{value:{_light:"0px 8px 16px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 8px 16px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},xl:{value:{_light:"0px 16px 24px {colors.gray.900/10}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 16px 24px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},"2xl":{value:{_light:"0px 24px 40px {colors.gray.900/16}, 0px 0px 1px {colors.gray.900/30}",_dark:"0px 24px 40px {black/64}, 0px 0px 1px inset {colors.gray.300/30}"}},inner:{value:{_light:"inset 0 2px 4px 0 {black/5}",_dark:"inset 0 2px 4px 0 black"}},inset:{value:{_light:"inset 0 0 0 1px {black/5}",_dark:"inset 0 0 0 1px {colors.gray.300/5}"}}}),YP=Lx.extendWith("itemBody"),UP=it("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),ZP=it("alert").parts("title","description","root","indicator","content"),VP=it("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),XP=it("blockquote").parts("root","icon","content","caption"),JP=it("card").parts("root","header","body","footer","title","description"),KP=it("checkbox-card",["root","control","label","description","addon","indicator","content"]),QP=it("data-list").parts("root","item","itemLabel","itemValue"),jP=Jm.extendWith("header","body","footer","backdrop"),qP=Jm.extendWith("header","body","footer","backdrop"),$P=Gx.extendWith("textarea"),eD=it("empty-state",["root","content","indicator","title","description"]),tD=Ox.extendWith("requiredIndicator"),nD=Yx.extendWith("content"),rD=Ux.extendWith("itemContent","dropzoneContent","fileText"),iD=it("list").parts("root","item","indicator"),aD=Jx.extendWith("itemCommand"),lD=it("select").parts("root","field","indicator"),oD=jx.extendWith("header","body","footer"),j2=Qm.extendWith("itemAddon","itemIndicator"),sD=j2.extendWith("itemContent","itemDescription"),uD=$x.extendWith("itemIndicator"),cD=n2.extendWith("indicatorGroup"),fD=XO.extendWith("indicatorGroup","empty"),dD=r2.extendWith("markerIndicator"),hD=it("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),gD=it("status").parts("root","indicator"),pD=it("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),mD=i2.extendWith("indicator"),bD=it("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),yD=it("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),vD=it("tabs").parts("root","trigger","list","content","contentGroup","indicator"),xD=it("tag").parts("root","label","closeTrigger","startElement","endElement"),AD=it("timeline").parts("root","item","content","separator","indicator","connector","title","description"),SD=VO.extendWith("channelText"),wD=it("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);Hx.extendWith("valueText");const kD=jO,ED=lt({className:"chakra-accordion",slots:YP.keys(),base:{root:{width:"full","--accordion-radius":"radii.l2"},item:{overflowAnchor:"none"},itemTrigger:{display:"flex",alignItems:"center",textAlign:"start",width:"full",outline:"0",gap:"3",fontWeight:"medium",borderRadius:"var(--accordion-radius)",_focusVisible:{outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{layerStyle:"disabled"}},itemBody:{pt:"var(--accordion-padding-y)",pb:"calc(var(--accordion-padding-y) * 2)"},itemContent:{overflow:"hidden",borderRadius:"var(--accordion-radius)",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}},itemIndicator:{transition:"rotate 0.2s",transformOrigin:"center",color:"fg.subtle",_open:{rotate:"180deg"},_icon:{width:"1.2em",height:"1.2em"}}},variants:{variant:{outline:{item:{borderBottomWidth:"1px"}},subtle:{itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{borderRadius:"var(--accordion-radius)",_open:{bg:"colorPalette.subtle"}}},enclosed:{root:{borderWidth:"1px",borderRadius:"var(--accordion-radius)",divideY:"1px",overflow:"hidden"},itemTrigger:{px:"var(--accordion-padding-x)"},itemContent:{px:"var(--accordion-padding-x)"},item:{_open:{bg:"bg.subtle"}}},plain:{}},size:{sm:{root:{"--accordion-padding-x":"spacing.3","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"sm",py:"var(--accordion-padding-y)"}},md:{root:{"--accordion-padding-x":"spacing.4","--accordion-padding-y":"spacing.2"},itemTrigger:{textStyle:"md",py:"var(--accordion-padding-y)"}},lg:{root:{"--accordion-padding-x":"spacing.4.5","--accordion-padding-y":"spacing.2.5"},itemTrigger:{textStyle:"lg",py:"var(--accordion-padding-y)"}}}},defaultVariants:{size:"md",variant:"outline"}}),_D=lt({className:"chakra-action-bar",slots:UP.keys(),base:{positioner:{position:"fixed",display:"flex",justifyContent:"center",pointerEvents:"none",insetInline:"0",top:"unset",bottom:"calc(env(safe-area-inset-bottom) + 20px)"},content:{bg:"bg.panel",shadow:"md",display:"flex",alignItems:"center",gap:"3",borderRadius:"l3",py:"2.5",px:"3",pointerEvents:"auto",translate:"calc(-1 * var(--scrollbar-width) / 2) 0px",_open:{animationName:"slide-from-bottom, fade-in",animationDuration:"moderate"},_closed:{animationName:"slide-to-bottom, fade-out",animationDuration:"faster"}},separator:{width:"1px",height:"5",bg:"border"},selectionTrigger:{display:"inline-flex",alignItems:"center",gap:"2",alignSelf:"stretch",textStyle:"sm",px:"4",py:"1",borderRadius:"l2",borderWidth:"1px",borderStyle:"dashed"}}}),CD=lt({slots:ZP.keys(),className:"chakra-alert",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",borderRadius:"l3"},title:{fontWeight:"medium"},description:{display:"inline"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0",width:"1em",height:"1em",_icon:{boxSize:"full"}},content:{display:"flex",flex:"1",gap:"1"}},variants:{status:{info:{root:{colorPalette:"blue"}},warning:{root:{colorPalette:"orange"}},success:{root:{colorPalette:"green"}},error:{root:{colorPalette:"red"}},neutral:{root:{colorPalette:"gray"}}},inline:{true:{content:{display:"inline-flex",flexDirection:"row",alignItems:"center"}},false:{content:{display:"flex",flexDirection:"column"}}},variant:{subtle:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg"}},surface:{root:{bg:"colorPalette.subtle",color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",shadow:"inset 0 0 0px 1px var(--shadow-color)",shadowColor:"colorPalette.muted"},indicator:{color:"colorPalette.fg"}},solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"},indicator:{color:"colorPalette.contrast"}}},size:{sm:{root:{gap:"2",px:"3",py:"3",textStyle:"xs"},indicator:{textStyle:"lg"}},md:{root:{gap:"3",px:"4",py:"4",textStyle:"sm"},indicator:{textStyle:"xl"}},lg:{root:{gap:"3",px:"4",py:"4",textStyle:"md"},indicator:{textStyle:"2xl"}}}},defaultVariants:{status:"info",variant:"subtle",size:"md",inline:!1}}),TD=lt({slots:Bx.keys(),className:"chakra-avatar",base:{root:{display:"inline-flex",alignItems:"center",justifyContent:"center",fontWeight:"medium",position:"relative",verticalAlign:"top",flexShrink:"0",userSelect:"none",width:"var(--avatar-size)",height:"var(--avatar-size)",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)","&[data-group-item]":{borderWidth:"2px",borderColor:"bg"}},image:{width:"100%",height:"100%",objectFit:"cover",borderRadius:"var(--avatar-radius)"},fallback:{lineHeight:"1",textTransform:"uppercase",fontWeight:"medium",fontSize:"var(--avatar-font-size)",borderRadius:"var(--avatar-radius)"}},variants:{size:{full:{root:{"--avatar-size":"100%","--avatar-font-size":"100%"}},"2xs":{root:{"--avatar-font-size":"fontSizes.2xs","--avatar-size":"sizes.6"}},xs:{root:{"--avatar-font-size":"fontSizes.xs","--avatar-size":"sizes.8"}},sm:{root:{"--avatar-font-size":"fontSizes.sm","--avatar-size":"sizes.9"}},md:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.10"}},lg:{root:{"--avatar-font-size":"fontSizes.md","--avatar-size":"sizes.11"}},xl:{root:{"--avatar-font-size":"fontSizes.lg","--avatar-size":"sizes.12"}},"2xl":{root:{"--avatar-font-size":"fontSizes.xl","--avatar-size":"sizes.16"}}},variant:{solid:{root:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},subtle:{root:{bg:"colorPalette.muted",color:"colorPalette.fg"}},outline:{root:{color:"colorPalette.fg",borderWidth:"1px",borderColor:"colorPalette.muted"}}},shape:{square:{},rounded:{root:{"--avatar-radius":"radii.l3"}},full:{root:{"--avatar-radius":"radii.full"}}},borderless:{true:{root:{"&[data-group-item]":{borderWidth:"0px"}}}}},defaultVariants:{size:"md",shape:"full",variant:"subtle"}}),RD=lt({className:"chakra-blockquote",slots:XP.keys(),base:{root:{position:"relative",display:"flex",flexDirection:"column",gap:"2"},caption:{textStyle:"sm",color:"fg.muted"},icon:{boxSize:"5"}},variants:{justify:{start:{root:{alignItems:"flex-start",textAlign:"start"}},center:{root:{alignItems:"center",textAlign:"center"}},end:{root:{alignItems:"flex-end",textAlign:"end"}}},variant:{subtle:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.muted"},icon:{color:"colorPalette.fg"}},solid:{root:{paddingX:"5",borderStartWidth:"4px",borderStartColor:"colorPalette.solid"},icon:{color:"colorPalette.solid"}},plain:{root:{paddingX:"5"},icon:{color:"colorPalette.solid"}}}},defaultVariants:{variant:"subtle",justify:"start"}}),zD=lt({className:"chakra-breadcrumb",slots:VP.keys(),base:{list:{display:"flex",alignItems:"center",wordBreak:"break-word",color:"fg.muted",listStyle:"none"},link:{outline:"0",textDecoration:"none",borderRadius:"l1",focusRing:"outside",display:"inline-flex",alignItems:"center",gap:"2"},item:{display:"inline-flex",alignItems:"center"},separator:{color:"fg.muted",opacity:"0.8",_icon:{boxSize:"1em"},_rtl:{rotate:"180deg"}},ellipsis:{display:"inline-flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"1em"}}},variants:{variant:{underline:{link:{color:"colorPalette.fg",textDecoration:"underline",textUnderlineOffset:"0.2em",textDecorationColor:"colorPalette.muted"},currentLink:{color:"colorPalette.fg"}},plain:{link:{color:"fg.muted",_hover:{color:"fg"}},currentLink:{color:"fg"}}},size:{sm:{list:{gap:"1",textStyle:"xs"}},md:{list:{gap:"1.5",textStyle:"sm"}},lg:{list:{gap:"2",textStyle:"md"}}}},defaultVariants:{variant:"plain",size:"md"}}),OD=lt({className:"chakra-card",slots:JP.keys(),base:{root:{display:"flex",flexDirection:"column",position:"relative",minWidth:"0",wordWrap:"break-word",borderRadius:"l3",color:"fg",textAlign:"start"},title:{fontWeight:"semibold"},description:{color:"fg.muted",fontSize:"sm"},header:{paddingInline:"var(--card-padding)",paddingTop:"var(--card-padding)",display:"flex",flexDirection:"column",gap:"1.5"},body:{padding:"var(--card-padding)",flex:"1",display:"flex",flexDirection:"column"},footer:{display:"flex",alignItems:"center",gap:"2",paddingInline:"var(--card-padding)",paddingBottom:"var(--card-padding)"}},variants:{size:{sm:{root:{"--card-padding":"spacing.4"},title:{textStyle:"md"}},md:{root:{"--card-padding":"spacing.6"},title:{textStyle:"lg"}},lg:{root:{"--card-padding":"spacing.7"},title:{textStyle:"xl"}}},variant:{elevated:{root:{bg:"bg.panel",boxShadow:"md"}},outline:{root:{bg:"bg.panel",borderWidth:"1px",borderColor:"border"}},subtle:{root:{bg:"bg.muted"}}}},defaultVariants:{variant:"outline",size:"md"}}),PD=lt({slots:ZO.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:Nr.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:(pA=(gA=Nr.variants)==null?void 0:gA.size)==null?void 0:pA.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:(bA=(mA=Nr.variants)==null?void 0:mA.size)==null?void 0:bA.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:(vA=(yA=Nr.variants)==null?void 0:yA.size)==null?void 0:vA.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:(AA=(xA=Nr.variants)==null?void 0:xA.size)==null?void 0:AA.lg}},variant:{outline:{control:(wA=(SA=Nr.variants)==null?void 0:SA.variant)==null?void 0:wA.outline},solid:{control:(EA=(kA=Nr.variants)==null?void 0:kA.variant)==null?void 0:EA.solid},subtle:{control:(CA=(_A=Nr.variants)==null?void 0:_A.variant)==null?void 0:CA.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),DD=lt({slots:KP.keys(),className:"chakra-checkbox-card",base:{root:{display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",flex:"1",focusVisibleRing:"outside",_disabled:{opacity:"0.8"},_invalid:{outline:"2px solid",outlineColor:"border.error"}},control:{display:"inline-flex",flex:"1",position:"relative",borderRadius:"inherit",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"},label:{fontWeight:"medium",display:"flex",alignItems:"center",gap:"2",flex:"1",_disabled:{opacity:"0.5"}},description:{opacity:"0.64",textStyle:"sm",_disabled:{opacity:"0.5"}},addon:{_disabled:{opacity:"0.5"}},indicator:Nr.base,content:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--checkbox-card-justify)",alignItems:"var(--checkbox-card-align)"}},variants:{size:{sm:{root:{textStyle:"sm"},control:{padding:"3",gap:"1.5"},addon:{px:"3",py:"1.5",borderTopWidth:"1px"},indicator:(TA=Nr.variants)==null?void 0:TA.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:(RA=Nr.variants)==null?void 0:RA.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:(zA=Nr.variants)==null?void 0:zA.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:(OA=Nr.variants)==null?void 0:OA.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:(PA=Nr.variants)==null?void 0:PA.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:(DA=Nr.variants)==null?void 0:DA.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:(MA=Nr.variants)==null?void 0:MA.variant.inverted}},justify:{start:{root:{"--checkbox-card-justify":"flex-start"}},end:{root:{"--checkbox-card-justify":"flex-end"}},center:{root:{"--checkbox-card-justify":"center"}}},align:{start:{root:{"--checkbox-card-align":"flex-start"},content:{textAlign:"start"}},end:{root:{"--checkbox-card-align":"flex-end"},content:{textAlign:"end"}},center:{root:{"--checkbox-card-align":"center"},content:{textAlign:"center"}}},orientation:{vertical:{control:{flexDirection:"column"}},horizontal:{control:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),MD=lt({slots:wD.keys(),className:"code-block",base:{root:{colorPalette:"gray",rounded:"var(--code-block-radius)",overflow:"hidden",bg:"bg",color:"fg",borderWidth:"1px","--code-block-max-height":"320px","--code-block-bg":"colors.bg","--code-block-fg":"colors.fg","--code-block-obscured-opacity":"0.5","--code-block-obscured-blur":"1px","--code-block-line-number-width":"sizes.3","--code-block-line-number-margin":"spacing.4","--code-block-highlight-bg":"{colors.teal.focusRing/20}","--code-block-highlight-border":"colors.teal.focusRing","--code-block-highlight-added-bg":"{colors.green.focusRing/20}","--code-block-highlight-added-border":"colors.green.focusRing","--code-block-highlight-removed-bg":"{colors.red.focusRing/20}","--code-block-highlight-removed-border":"colors.red.focusRing"},header:{display:"flex",alignItems:"center",gap:"2",position:"relative",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)",mb:"calc(var(--code-block-padding) / 2 * -1)"},title:{display:"inline-flex",alignItems:"center",gap:"1.5",flex:"1",color:"fg.muted"},control:{gap:"1.5",display:"inline-flex",alignItems:"center"},footer:{display:"flex",alignItems:"center",justifyContent:"center",gap:"2",px:"var(--code-block-padding)",minH:"var(--code-block-header-height)"},content:{position:"relative",colorScheme:"dark",overflowX:"auto",overflowY:"hidden",borderBottomRadius:"var(--code-block-radius)",maxHeight:"var(--code-block-max-height)","& ::selection":{bg:"blue.500/40"},_expanded:{maxHeight:"unset"}},overlay:{"--bg":"{colors.black/50}",display:"flex",alignItems:"flex-end",justifyContent:"center",padding:"4",bgImage:"linear-gradient(0deg,var(--bg) 25%,transparent 100%)",color:"white",minH:"5rem",pos:"absolute",bottom:"0",insetInline:"0",zIndex:"1",fontWeight:"medium",_expanded:{display:"none"}},code:{fontFamily:"mono",lineHeight:"tall",whiteSpace:"pre",counterReset:"line 0"},codeText:{px:"var(--code-block-padding)",py:"var(--code-block-padding)",position:"relative",display:"block",width:"100%","&[data-has-focused]":{"& [data-line]:not([data-focused])":{transitionProperty:"opacity, filter",transitionDuration:"moderate",transitionTimingFunction:"ease-in-out",opacity:"var(--code-block-obscured-opacity)",filter:"blur(var(--code-block-obscured-blur))"},"&:hover":{"--code-block-obscured-opacity":"1","--code-block-obscured-blur":"0px"}},"&[data-has-line-numbers][data-plaintext]":{paddingInlineStart:"calc(var(--code-block-line-number-width) + var(--code-block-line-number-margin) + var(--code-block-padding))"},"& [data-line]":{position:"relative","--highlight-bg":"var(--code-block-highlight-bg)","--highlight-border":"var(--code-block-highlight-border)","&[data-highlight], &[data-diff]":{display:"inline-block",width:"full","&:after":{content:"''",display:"block",position:"absolute",insetStart:"calc(var(--code-block-padding) * -1)",insetEnd:"0px",width:"calc(100% + var(--code-block-padding) * 2)",height:"100%",bg:"var(--highlight-bg)",borderStartWidth:"2px",borderStartColor:"var(--highlight-border)"}},"&[data-diff='added']":{"--highlight-bg":"var(--code-block-highlight-added-bg)","--highlight-border":"var(--code-block-highlight-added-border)"},"&[data-diff='removed']":{"--highlight-bg":"var(--code-block-highlight-removed-bg)","--highlight-border":"var(--code-block-highlight-removed-border)"}},"&[data-word-wrap]":{"&[data-plaintext], & [data-line]":{whiteSpace:"pre-wrap",wordBreak:"break-all"}},"&[data-has-line-numbers]":{"--content":"counter(line)","& [data-line]:before":{content:"var(--content)",counterIncrement:"line",width:"var(--code-block-line-number-width)",marginRight:"var(--code-block-line-number-margin)",display:"inline-block",textAlign:"end",userSelect:"none",whiteSpace:"nowrap",opacity:.4},"& [data-diff='added']:before":{content:"'+'"},"& [data-diff='removed']:before":{content:"'-'"}}}},variants:{size:{sm:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.md","--code-block-header-height":"sizes.8"},title:{textStyle:"xs"},code:{fontSize:"xs"}},md:{root:{"--code-block-padding":"spacing.4","--code-block-radius":"radii.lg","--code-block-header-height":"sizes.10"},title:{textStyle:"xs"},code:{fontSize:"sm"}},lg:{root:{"--code-block-padding":"spacing.5","--code-block-radius":"radii.xl","--code-block-header-height":"sizes.12"},title:{textStyle:"sm"},code:{fontSize:"sm"}}}},defaultVariants:{size:"md"}}),ND=lt({slots:Nx.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),ID=lt({className:"colorPicker",slots:SD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5"},label:{color:"fg",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},valueText:{textAlign:"start"},control:{display:"flex",alignItems:"center",flexDirection:"row",gap:"2",position:"relative"},swatchTrigger:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"row",flexShrink:"0",gap:"2",textStyle:"sm",minH:"var(--input-height)",minW:"var(--input-height)",px:"1",rounded:"l2",_disabled:{opacity:"0.5"},"--focus-color":"colors.colorPalette.focusRing","&:focus-visible":{borderColor:"var(--focus-color)",outline:"1px solid var(--focus-color)"},"&[data-fit-content]":{"--input-height":"unset",px:"0",border:"0"}},content:{display:"flex",flexDirection:"column",bg:"bg.panel",borderRadius:"l3",boxShadow:"lg",width:"64",p:"4",gap:"3",zIndex:"dropdown",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},area:{height:"180px",borderRadius:"l2",overflow:"hidden"},areaThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",focusVisibleRing:"mixed",focusRingColor:"white"},areaBackground:{height:"full"},channelSlider:{borderRadius:"l2",flex:"1"},channelSliderTrack:{height:"var(--slider-height)",borderRadius:"inherit",boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"},channelText:{textStyle:"xs",color:"fg.muted",fontWeight:"medium",textTransform:"capitalize"},swatchGroup:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"2"},swatch:We(G({},Q2.base),{borderRadius:"l1"}),swatchIndicator:{color:"white",rounded:"full"},channelSliderThumb:{borderRadius:"full",height:"var(--thumb-size)",width:"var(--thumb-size)",borderWidth:"2px",borderColor:"white",shadow:"sm",transform:"translate(-50%, -50%)",focusVisibleRing:"outside",focusRingOffset:"1px"},channelInput:We(G({},sr.base),{"&::-webkit-inner-spin-button, &::-webkit-outer-spin-button":{WebkitAppearance:"none",margin:0}}),formatSelect:{textStyle:"xs",textTransform:"uppercase",borderWidth:"1px",minH:"6",focusRing:"inside",rounded:"l2"},transparencyGrid:{borderRadius:"l2"},view:{display:"flex",flexDirection:"column",gap:"2"}},variants:{size:{"2xs":{channelInput:(IA=(NA=sr.variants)==null?void 0:NA.size)==null?void 0:IA["2xs"],swatch:{"--swatch-size":"sizes.4.5"},trigger:{"--input-height":"sizes.7"},area:{"--thumb-size":"sizes.3"},channelSlider:{"--slider-height":"sizes.3","--thumb-size":"sizes.3"}},xs:{channelInput:(BA=(LA=sr.variants)==null?void 0:LA.size)==null?void 0:BA.xs,swatch:{"--swatch-size":"sizes.5"},trigger:{"--input-height":"sizes.8"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},sm:{channelInput:(HA=(FA=sr.variants)==null?void 0:FA.size)==null?void 0:HA.sm,swatch:{"--swatch-size":"sizes.6"},trigger:{"--input-height":"sizes.9"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},md:{channelInput:(GA=(WA=sr.variants)==null?void 0:WA.size)==null?void 0:GA.md,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.10"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},lg:{channelInput:(UA=(YA=sr.variants)==null?void 0:YA.size)==null?void 0:UA.lg,swatch:{"--swatch-size":"sizes.7"},trigger:{"--input-height":"sizes.11"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},xl:{channelInput:(VA=(ZA=sr.variants)==null?void 0:ZA.size)==null?void 0:VA.xl,swatch:{"--swatch-size":"sizes.8"},trigger:{"--input-height":"sizes.12"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}},"2xl":{channelInput:(JA=(XA=sr.variants)==null?void 0:XA.size)==null?void 0:JA["2xl"],swatch:{"--swatch-size":"sizes.10"},trigger:{"--input-height":"sizes.16"},area:{"--thumb-size":"sizes.3.5"},channelSlider:{"--slider-height":"sizes.3.5","--thumb-size":"sizes.3.5"}}},variant:{outline:{channelInput:(QA=(KA=sr.variants)==null?void 0:KA.variant)==null?void 0:QA.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:(qA=(jA=sr.variants)==null?void 0:jA.variant)==null?void 0:qA.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),LD=lt({className:"chakra-combobox",slots:fD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},input:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"bg.panel",width:"full",minH:"var(--combobox-input-height)",px:"var(--combobox-input-padding-x)","--input-height":"var(--combobox-input-height)",borderRadius:"l2",outline:0,userSelect:"none",textAlign:"start",_placeholderShown:{color:"fg.muted"},_disabled:{layerStyle:"disabled"},"--focus-color":"colors.colorPalette.focusRing","--error-color":"colors.border.error",_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"}},trigger:{display:"inline-flex",alignItems:"center",justifyContent:"center","--input-height":"var(--combobox-input-height)"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"},control:{pos:"relative"},indicatorGroup:{display:"flex",alignItems:"center",justifyContent:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--combobox-input-padding-x)",_icon:{boxSize:"var(--combobox-indicator-size)"},"[data-disabled] &":{opacity:.5}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"0s"},"&[data-empty]:not(:has([data-scope=combobox][data-part=empty]))":{opacity:0}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{boxSize:"var(--combobox-indicator-size)"}},empty:{py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{pb:"var(--combobox-item-padding-y)",_last:{pb:"0"}},itemGroupLabel:{fontWeight:"medium",py:"var(--combobox-item-padding-y)",px:"var(--combobox-item-padding-x)"}},variants:{variant:{outline:{input:{bg:"transparent",borderWidth:"1px",borderColor:"border",focusVisibleRing:"inside"}},subtle:{input:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted",focusVisibleRing:"inside"}},flushed:{input:{bg:"transparent",borderBottomWidth:"1px",borderBottomColor:"border",borderRadius:"0",px:"0",_focusVisible:{borderColor:"var(--focus-color)",boxShadow:"0px 1px 0px 0px var(--focus-color)"}},indicatorGroup:{px:"0"}}},size:{xs:{root:{"--combobox-input-height":"sizes.8","--combobox-input-padding-x":"spacing.2","--combobox-indicator-size":"sizes.3.5"},input:{textStyle:"xs"},content:{"--combobox-item-padding-x":"spacing.1.5","--combobox-item-padding-y":"spacing.1","--combobox-indicator-size":"sizes.3.5",p:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"}},sm:{root:{"--combobox-input-height":"sizes.9","--combobox-input-padding-x":"spacing.2.5","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"}},md:{root:{"--combobox-input-height":"sizes.10","--combobox-input-padding-x":"spacing.3","--combobox-indicator-size":"sizes.4"},input:{textStyle:"sm"},content:{"--combobox-item-padding-x":"spacing.2","--combobox-item-padding-y":"spacing.1.5","--combobox-indicator-size":"sizes.4",p:"1",textStyle:"sm"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},trigger:{textStyle:"sm",gap:"2"}},lg:{root:{"--combobox-input-height":"sizes.12","--combobox-input-padding-x":"spacing.4","--combobox-indicator-size":"sizes.5"},input:{textStyle:"md"},content:{"--combobox-item-padding-y":"spacing.2","--combobox-item-padding-x":"spacing.3","--combobox-indicator-size":"sizes.5",p:"1.5",textStyle:"md"},trigger:{textStyle:"md",py:"3",gap:"2"}}}},defaultVariants:{size:"md",variant:"outline"}}),BD=lt({slots:QP.keys(),className:"chakra-data-list",base:{itemLabel:{display:"flex",alignItems:"center",gap:"1"},itemValue:{display:"flex",minWidth:"0",flex:"1"}},variants:{orientation:{horizontal:{root:{display:"flex",flexDirection:"column"},item:{display:"inline-flex",alignItems:"center",gap:"4"},itemLabel:{minWidth:"120px"}},vertical:{root:{display:"flex",flexDirection:"column"},item:{display:"flex",flexDirection:"column",gap:"1"}}},size:{sm:{root:{gap:"3"},item:{textStyle:"xs"}},md:{root:{gap:"4"},item:{textStyle:"sm"}},lg:{root:{gap:"5"},item:{textStyle:"md"}}},variant:{subtle:{itemLabel:{color:"fg.muted"}},bold:{itemLabel:{fontWeight:"medium"},itemValue:{color:"fg.muted"}}}},defaultVariants:{size:"md",orientation:"vertical",variant:"subtle"}}),FD=lt({slots:jP.keys(),className:"chakra-dialog",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",left:0,top:0,w:"100dvw",h:"100dvh",zIndex:"var(--z-index)",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100dvw",height:"100dvh",position:"fixed",left:0,top:0,"--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",justifyContent:"center",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,borderRadius:"l3",textStyle:"sm",my:"var(--dialog-margin, var(--dialog-base-margin))","--dialog-z-index":"zIndex.modal",zIndex:"calc(var(--dialog-z-index) + var(--layer-index, 0))",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"moderate"},_closed:{animationDuration:"faster"}},header:{display:"flex",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{flex:"1",px:"6",pt:"2",pb:"6"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"2",insetEnd:"2"}},variants:{placement:{center:{positioner:{alignItems:"center"},content:{"--dialog-base-margin":"auto",mx:"auto"}},top:{positioner:{alignItems:"flex-start"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}},bottom:{positioner:{alignItems:"flex-end"},content:{"--dialog-base-margin":"spacing.16",mx:"auto"}}},scrollBehavior:{inside:{positioner:{overflow:"hidden"},content:{maxH:"calc(100% - 7.5rem)"},body:{overflow:"auto"}},outside:{positioner:{overflow:"auto",pointerEvents:"auto"}}},size:{xs:{content:{maxW:"sm"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},cover:{positioner:{padding:"10"},content:{width:"100%",height:"100%","--dialog-margin":"0"}},full:{content:{maxW:"100dvw",minH:"100dvh","--dialog-margin":"0",borderRadius:"0"}}},motionPreset:{scale:{content:{_open:{animationName:"scale-in, fade-in"},_closed:{animationName:"scale-out, fade-out"}}},"slide-in-bottom":{content:{_open:{animationName:"slide-from-bottom, fade-in"},_closed:{animationName:"slide-to-bottom, fade-out"}}},"slide-in-top":{content:{_open:{animationName:"slide-from-top, fade-in"},_closed:{animationName:"slide-to-top, fade-out"}}},"slide-in-left":{content:{_open:{animationName:"slide-from-left, fade-in"},_closed:{animationName:"slide-to-left, fade-out"}}},"slide-in-right":{content:{_open:{animationName:"slide-from-right, fade-in"},_closed:{animationName:"slide-to-right, fade-out"}}},none:{}}},defaultVariants:{size:"md",scrollBehavior:"outside",placement:"top",motionPreset:"scale"}}),HD=lt({slots:qP.keys(),className:"chakra-drawer",base:{backdrop:{bg:"blackAlpha.500",pos:"fixed",insetInlineStart:0,top:0,w:"100vw",h:"100dvh",zIndex:"overlay",_open:{animationName:"fade-in",animationDuration:"slow"},_closed:{animationName:"fade-out",animationDuration:"moderate"}},positioner:{display:"flex",width:"100vw",height:"100dvh",position:"fixed",insetInlineStart:0,top:0,zIndex:"modal",overscrollBehaviorY:"none"},content:{display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,zIndex:"modal",textStyle:"sm",maxH:"100dvh",color:"inherit",bg:"bg.panel",boxShadow:"lg",_open:{animationDuration:"slowest",animationTimingFunction:"ease-in-smooth"},_closed:{animationDuration:"slower",animationTimingFunction:"ease-in-smooth"}},header:{display:"flex",alignItems:"center",gap:"2",flex:0,px:"6",pt:"6",pb:"4"},body:{px:"6",py:"2",flex:"1",overflow:"auto"},footer:{display:"flex",alignItems:"center",justifyContent:"flex-end",gap:"3",px:"6",pt:"2",pb:"4"},title:{flex:"1",textStyle:"lg",fontWeight:"semibold"},description:{color:"fg.muted"},closeTrigger:{pos:"absolute",top:"3",insetEnd:"2"}},variants:{size:{xs:{content:{maxW:"xs"}},sm:{content:{maxW:"md"}},md:{content:{maxW:"lg"}},lg:{content:{maxW:"2xl"}},xl:{content:{maxW:"4xl"}},full:{content:{maxW:"100vw",h:"100dvh"}}},placement:{start:{positioner:{justifyContent:"flex-start",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-left-full, fade-in",_rtl:"slide-from-right-full, fade-in"}},_closed:{animationName:{base:"slide-to-left-full, fade-out",_rtl:"slide-to-right-full, fade-out"}}}},end:{positioner:{justifyContent:"flex-end",alignItems:"stretch"},content:{_open:{animationName:{base:"slide-from-right-full, fade-in",_rtl:"slide-from-left-full, fade-in"}},_closed:{animationName:{base:"slide-to-right-full, fade-out",_rtl:"slide-to-left-full, fade-out"}}}},top:{positioner:{justifyContent:"stretch",alignItems:"flex-start"},content:{maxW:"100%",_open:{animationName:"slide-from-top-full, fade-in"},_closed:{animationName:"slide-to-top-full, fade-out"}}},bottom:{positioner:{justifyContent:"stretch",alignItems:"flex-end"},content:{maxW:"100%",_open:{animationName:"slide-from-bottom-full, fade-in"},_closed:{animationName:"slide-to-bottom-full, fade-out"}}}},contained:{true:{positioner:{padding:"4"},content:{borderRadius:"l3"}}}},defaultVariants:{size:"xs",placement:"end"}}),q2=Oc({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),WD=lt({slots:$P.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:We(G({},q2),{py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}}),input:We(G({},q2),{outline:"0",py:"1",px:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",focusVisibleRing:"inside",focusRingWidth:"2px",_placeholder:{opacity:.6}}),control:{display:"inline-flex",alignItems:"center",gap:"1.5"}},variants:{size:{sm:{root:{textStyle:"sm"},preview:{minH:"8"},input:{minH:"8"}},md:{root:{textStyle:"sm"},preview:{minH:"9"},input:{minH:"9"}},lg:{root:{textStyle:"md"},preview:{minH:"10"},input:{minH:"10"}}}},defaultVariants:{size:"md"}}),GD=lt({slots:eD.keys(),className:"chakra-empty-state",base:{root:{width:"full"},content:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:"fg.subtle",_icon:{boxSize:"1em"}},title:{fontWeight:"semibold"},description:{textStyle:"sm",color:"fg.muted"}},variants:{size:{sm:{root:{px:"4",py:"6"},title:{textStyle:"md"},content:{gap:"4"},indicator:{textStyle:"2xl"}},md:{root:{px:"8",py:"12"},title:{textStyle:"lg"},content:{gap:"6"},indicator:{textStyle:"4xl"}},lg:{root:{px:"12",py:"16"},title:{textStyle:"xl"},content:{gap:"8"},indicator:{textStyle:"6xl"}}}},defaultVariants:{size:"md"}}),YD=lt({className:"chakra-field",slots:tD.keys(),base:{requiredIndicator:{color:"fg.error",lineHeight:"1"},root:{display:"flex",width:"100%",position:"relative",gap:"1.5"},label:{display:"flex",alignItems:"center",textAlign:"start",textStyle:"sm",fontWeight:"medium",gap:"1",userSelect:"none",_disabled:{opacity:"0.5"}},errorText:{display:"inline-flex",alignItems:"center",fontWeight:"medium",gap:"1",color:"fg.error",textStyle:"xs"},helperText:{color:"fg.muted",textStyle:"xs"}},variants:{orientation:{vertical:{root:{flexDirection:"column",alignItems:"flex-start"}},horizontal:{root:{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},label:{flex:"0 0 var(--field-label-width, 80px)"}}}},defaultVariants:{orientation:"vertical"}}),UD=lt({className:"fieldset",slots:nD.keys(),base:{root:{display:"flex",flexDirection:"column",width:"full"},content:{display:"flex",flexDirection:"column",width:"full"},legend:{color:"fg",fontWeight:"medium",_disabled:{opacity:"0.5"}},helperText:{color:"fg.muted",textStyle:"sm"},errorText:{display:"inline-flex",alignItems:"center",color:"fg.error",gap:"2",fontWeight:"medium",textStyle:"sm"}},variants:{size:{sm:{root:{spaceY:"2"},content:{gap:"1.5"},legend:{textStyle:"sm"}},md:{root:{spaceY:"4"},content:{gap:"4"},legend:{textStyle:"sm"}},lg:{root:{spaceY:"6"},content:{gap:"4"},legend:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),ZD=lt({className:"chakra-file-upload",slots:rD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"4",width:"100%",alignItems:"flex-start"},label:{fontWeight:"medium",textStyle:"sm"},dropzone:{background:"bg",borderRadius:"l3",borderWidth:"2px",borderStyle:"dashed",display:"flex",alignItems:"center",flexDirection:"column",gap:"4",justifyContent:"center",minHeight:"2xs",px:"3",py:"2",transition:"backgrounds",focusVisibleRing:"outside",_hover:{bg:"bg.subtle"},_dragging:{bg:"colorPalette.subtle",borderStyle:"solid",borderColor:"colorPalette.solid"}},dropzoneContent:{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",gap:"1",textStyle:"sm"},item:{pos:"relative",textStyle:"sm",animationName:"fade-in",animationDuration:"moderate",background:"bg",borderRadius:"l2",borderWidth:"1px",width:"100%",display:"flex",alignItems:"center",gap:"3",p:"4"},itemGroup:{width:"100%",display:"flex",flexDirection:"column",gap:"3",_empty:{display:"none"}},itemName:{color:"fg",fontWeight:"medium",lineClamp:"1"},itemContent:{display:"flex",flexDirection:"column",gap:"0.5",flex:"1"},itemSizeText:{color:"fg.muted",textStyle:"xs"},itemDeleteTrigger:{display:"flex",alignItems:"center",justifyContent:"center",alignSelf:"flex-start",boxSize:"5",p:"2px",color:"fg.muted",cursor:"button"},itemPreview:{color:"fg.muted",_icon:{boxSize:"4.5"}}},defaultVariants:{}}),VD=lt({className:"chakra-hover-card",slots:Zx.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--hovercard-bg":"colors.bg.panel",bg:"var(--hovercard-bg)",boxShadow:"lg",maxWidth:"80",borderRadius:"l3",zIndex:"popover",transformOrigin:"var(--transform-origin)",outline:"0",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--hovercard-bg)"},arrowTip:{borderTopWidth:"0.5px",borderInlineStartWidth:"0.5px"}},variants:{size:{xs:{content:{padding:"3"}},sm:{content:{padding:"4"}},md:{content:{padding:"5"}},lg:{content:{padding:"6"}}}},defaultVariants:{size:"md"}}),XD=lt({className:"chakra-list",slots:iD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"var(--list-gap)","& :where(ul, ol)":{marginTop:"var(--list-gap)"}},item:{whiteSpace:"normal",display:"list-item"},indicator:{marginEnd:"2",minHeight:"1lh",flexShrink:0,display:"inline-block",verticalAlign:"middle"}},variants:{variant:{marker:{root:{listStyle:"revert"},item:{_marker:{color:"fg.subtle"}}},plain:{item:{alignItems:"flex-start",display:"inline-flex"}}},align:{center:{item:{alignItems:"center"}},start:{item:{alignItems:"flex-start"}},end:{item:{alignItems:"flex-end"}}}},defaultVariants:{variant:"marker"}}),JD=lt({className:"chakra-listbox",slots:kD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},content:{display:"flex",maxH:"96",p:"1",gap:"1",textStyle:"sm",outline:"none",scrollPadding:"1",_horizontal:{flexDirection:"row",overflowX:"auto"},_vertical:{flexDirection:"column",overflowY:"auto"},"--listbox-item-padding-x":"spacing.2","--listbox-item-padding-y":"spacing.1.5"},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"pointer",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)",_highlighted:{outline:"2px solid",outlineColor:"border.emphasized"},_disabled:{pointerEvents:"none",opacity:"0.5"}},empty:{py:"var(--listbox-item-padding-y)",px:"var(--listbox-item-padding-x)"},itemText:{flex:"1"},itemGroup:{mt:"1.5",_first:{mt:"0"}},itemGroupLabel:{py:"1.5",px:"2",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center",_icon:{boxSize:"4"}}},variants:{variant:{subtle:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_hover:{bg:"bg.emphasized/60"},_selected:{bg:"bg.muted"}}},solid:{content:{bg:"bg.panel",borderWidth:"1px",borderRadius:"l2"},item:{_selected:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}},plain:{}}},defaultVariants:{variant:"subtle"}}),KD=lt({className:"chakra-menu",slots:aD.keys(),base:{content:{outline:0,bg:"bg.panel",boxShadow:"lg",color:"fg",maxHeight:"var(--available-height)","--menu-z-index":"zIndex.dropdown",zIndex:"calc(var(--menu-z-index) + var(--layer-index, 0))",borderRadius:"l2",overflow:"hidden",overflowY:"auto",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"faster"}},item:{textDecoration:"none",color:"fg",userSelect:"none",borderRadius:"l1",width:"100%",display:"flex",cursor:"menuitem",alignItems:"center",textAlign:"start",position:"relative",flex:"0 0 auto",outline:0,_disabled:{layerStyle:"disabled"},"&[data-type]":{ps:"8"}},itemText:{flex:"1"},itemIndicator:{position:"absolute",insetStart:"2",transform:"translateY(-50%)",top:"50%"},itemGroupLabel:{px:"2",py:"1.5",fontWeight:"semibold",textStyle:"sm"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:"0"},itemCommand:{opacity:"0.6",textStyle:"xs",ms:"auto",ps:"4",letterSpacing:"widest",fontFamily:"inherit"},separator:{height:"1px",bg:"bg.muted",my:"1",mx:"-1"}},variants:{variant:{subtle:{item:{_highlighted:{bg:"bg.emphasized/60"}}},solid:{item:{_highlighted:{bg:"colorPalette.solid",color:"colorPalette.contrast"}}}},size:{sm:{content:{minW:"8rem",padding:"1",scrollPadding:"1"},item:{gap:"1",textStyle:"xs",py:"1",px:"1.5"}},md:{content:{minW:"8rem",padding:"1.5",scrollPadding:"1.5"},item:{gap:"2",textStyle:"sm",py:"1.5",px:"2"}}}},defaultVariants:{size:"md",variant:"subtle"}}),dg=lt({className:"chakra-select",slots:cD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",width:"full"},trigger:{display:"flex",alignItems:"center",justifyContent:"space-between",width:"full",minH:"var(--select-trigger-height)","--input-height":"var(--select-trigger-height)",px:"var(--select-trigger-padding-x)",borderRadius:"l2",userSelect:"none",textAlign:"start",focusVisibleRing:"inside",_placeholderShown:{color:"fg.muted/80"},_disabled:{layerStyle:"disabled"},_invalid:{borderColor:"border.error"}},indicatorGroup:{display:"flex",alignItems:"center",gap:"1",pos:"absolute",insetEnd:"0",top:"0",bottom:"0",px:"var(--select-trigger-padding-x)",pointerEvents:"none"},indicator:{display:"flex",alignItems:"center",justifyContent:"center",color:{base:"fg.muted",_disabled:"fg.subtle",_invalid:"fg.error"}},content:{background:"bg.panel",display:"flex",flexDirection:"column",zIndex:"dropdown",borderRadius:"l2",outline:0,maxH:"96",overflowY:"auto",boxShadow:"md",_open:{animationStyle:"slide-fade-in",animationDuration:"fast"},_closed:{animationStyle:"slide-fade-out",animationDuration:"fastest"}},item:{position:"relative",userSelect:"none",display:"flex",alignItems:"center",gap:"2",cursor:"option",justifyContent:"space-between",flex:"1",textAlign:"start",borderRadius:"l1",_highlighted:{bg:"bg.emphasized/60"},_disabled:{pointerEvents:"none",opacity:"0.5"},_icon:{width:"4",height:"4"}},control:{pos:"relative"},itemText:{flex:"1"},itemGroup:{_first:{mt:"0"}},itemGroupLabel:{py:"1",fontWeight:"medium"},label:{fontWeight:"medium",userSelect:"none",textStyle:"sm",_disabled:{layerStyle:"disabled"}},valueText:{lineClamp:"1",maxW:"80%"},clearTrigger:{color:"fg.muted",pointerEvents:"auto",focusVisibleRing:"inside",focusRingWidth:"2px",rounded:"l1"}},variants:{variant:{outline:{trigger:{bg:"transparent",borderWidth:"1px",borderColor:"border",_expanded:{borderColor:"border.emphasized"}}},subtle:{trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}},size:{xs:{root:{"--select-trigger-height":"sizes.8","--select-trigger-padding-x":"spacing.2"},content:{p:"1",gap:"1",textStyle:"xs"},trigger:{textStyle:"xs",gap:"1"},item:{py:"1",px:"2"},itemGroupLabel:{py:"1",px:"2"},indicator:{_icon:{width:"3.5",height:"3.5"}}},sm:{root:{"--select-trigger-height":"sizes.9","--select-trigger-padding-x":"spacing.2.5"},content:{p:"1",textStyle:"sm"},trigger:{textStyle:"sm",gap:"1"},indicator:{_icon:{width:"4",height:"4"}},item:{py:"1",px:"1.5"},itemGroup:{mt:"1"},itemGroupLabel:{py:"1",px:"1.5"}},md:{root:{"--select-trigger-height":"sizes.10","--select-trigger-padding-x":"spacing.3"},content:{p:"1",textStyle:"sm"},itemGroup:{mt:"1.5"},item:{py:"1.5",px:"2"},itemIndicator:{display:"flex",alignItems:"center",justifyContent:"center"},itemGroupLabel:{py:"1.5",px:"2"},trigger:{textStyle:"sm",gap:"2"},indicator:{_icon:{width:"4",height:"4"}}},lg:{root:{"--select-trigger-height":"sizes.12","--select-trigger-padding-x":"spacing.4"},content:{p:"1.5",textStyle:"md"},itemGroup:{mt:"2"},item:{py:"2",px:"3"},itemGroupLabel:{py:"2",px:"3"},trigger:{textStyle:"md",py:"3",gap:"2"},indicator:{_icon:{width:"5",height:"5"}}}}},defaultVariants:{size:"md",variant:"outline"}}),QD=lt({className:"chakra-native-select",slots:lD.keys(),base:{root:{height:"fit-content",display:"flex",width:"100%",position:"relative"},field:{width:"100%",minWidth:"0",outline:"0",appearance:"none",borderRadius:"l2","--error-color":"colors.border.error","--input-height":"var(--select-field-height)",height:"var(--select-field-height)",_disabled:{layerStyle:"disabled"},_invalid:{focusRingColor:"var(--error-color)",borderColor:"var(--error-color)"},focusVisibleRing:"inside",lineHeight:"normal","& > option, & > optgroup":{bg:"bg"}},indicator:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)",height:"100%",color:"fg.muted",_disabled:{opacity:"0.5"},_invalid:{color:"fg.error"},_icon:{width:"1em",height:"1em"}}},variants:{variant:{outline:{field:($A=dg.variants)==null?void 0:$A.variant.outline.trigger},subtle:{field:(eS=dg.variants)==null?void 0:eS.variant.subtle.trigger},plain:{field:{bg:"transparent",color:"fg",focusRingWidth:"2px"}}},size:{xs:{root:{"--select-field-height":"sizes.8"},field:{textStyle:"xs",ps:"2",pe:"6"},indicator:{textStyle:"sm",insetEnd:"1.5"}},sm:{root:{"--select-field-height":"sizes.9"},field:{textStyle:"sm",ps:"2.5",pe:"8"},indicator:{textStyle:"md",insetEnd:"2"}},md:{root:{"--select-field-height":"sizes.10"},field:{textStyle:"sm",ps:"3",pe:"8"},indicator:{textStyle:"lg",insetEnd:"2"}},lg:{root:{"--select-field-height":"sizes.11"},field:{textStyle:"md",ps:"4",pe:"8"},indicator:{textStyle:"xl",insetEnd:"3"}},xl:{root:{"--select-field-height":"sizes.12"},field:{textStyle:"md",ps:"4.5",pe:"10"},indicator:{textStyle:"xl",insetEnd:"3"}}}},defaultVariants:dg.defaultVariants});function u0(e,n){const r={};for(const a in e){const o=n(a,e[a]);r[o[0]]=o[1]}return r}const $2=Oc({display:"flex",justifyContent:"center",alignItems:"center",flex:"1",userSelect:"none",cursor:"button",lineHeight:"1",color:"fg.muted","--stepper-base-radius":"radii.l1","--stepper-radius":"calc(var(--stepper-base-radius) + 1px)",_icon:{boxSize:"1em"},_disabled:{opacity:"0.5"},_hover:{bg:"bg.muted"},_active:{bg:"bg.emphasized"}}),jD=lt({className:"chakra-number-input",slots:Kx.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:We(G({},sr.base),{verticalAlign:"top",pe:"calc(var(--stepper-width) + 0.5rem)"}),control:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",width:"var(--stepper-width)",height:"calc(100% - 2px)",zIndex:"1",borderStartWidth:"1px",divideY:"1px"},incrementTrigger:We(G({},$2),{borderTopEndRadius:"var(--stepper-radius)"}),decrementTrigger:We(G({},$2),{borderBottomEndRadius:"var(--stepper-radius)"}),valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:sr.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:sr.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:sr.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:sr.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:u0(sr.variants.variant,(e,n)=>[e,{input:n}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:eA,defaultVariants:qD}=sr,$D=lt({className:"chakra-pin-input",slots:Qx.keys(),base:{input:We(G({},sr.base),{textAlign:"center",width:"var(--input-height)"}),control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:u0(eA.size,(e,n)=>[e,{input:We(G({},n),{px:"1"})}]),variant:u0(eA.variant,(e,n)=>[e,{input:n}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:qD}),eM=lt({className:"chakra-popover",slots:oD.keys(),base:{content:{position:"relative",display:"flex",flexDirection:"column",textStyle:"sm","--popover-bg":"colors.bg.panel",bg:"var(--popover-bg)",boxShadow:"lg","--popover-size":"sizes.xs","--popover-mobile-size":"calc(100dvw - 1rem)",width:{base:"min(var(--popover-mobile-size), var(--popover-size))",sm:"var(--popover-size)"},borderRadius:"l3","--popover-z-index":"zIndex.popover",zIndex:"calc(var(--popover-z-index) + var(--layer-index, 0))",outline:"0",transformOrigin:"var(--transform-origin)",maxHeight:"var(--available-height)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"faster"}},header:{paddingInline:"var(--popover-padding)",paddingTop:"var(--popover-padding)"},body:{padding:"var(--popover-padding)",flex:"1"},footer:{display:"flex",alignItems:"center",paddingInline:"var(--popover-padding)",paddingBottom:"var(--popover-padding)"},arrow:{"--arrow-size":"sizes.3","--arrow-background":"var(--popover-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px"}},variants:{size:{xs:{content:{"--popover-padding":"spacing.3"}},sm:{content:{"--popover-padding":"spacing.4"}},md:{content:{"--popover-padding":"spacing.5"}},lg:{content:{"--popover-padding":"spacing.6"}}}},defaultVariants:{size:"md"}}),tM=lt({slots:Km.keys(),className:"chakra-progress",base:{root:{textStyle:"sm",position:"relative"},track:{overflow:"hidden",position:"relative"},range:{display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"width, height",transitionDuration:"slow",height:"100%",bgColor:"var(--track-color)",_indeterminate:{"--animate-from-x":"-40%","--animate-to-x":"100%",position:"absolute",willChange:"left",minWidth:"50%",animation:"position 1s ease infinite normal none running",backgroundImage:"linear-gradient(to right, transparent 0%, var(--track-color) 50%, transparent 100%)"}},label:{display:"inline-flex",fontWeight:"medium",alignItems:"center",gap:"1"},valueText:{textStyle:"xs",lineHeight:"1",fontWeight:"medium"}},variants:{variant:{outline:{track:{shadow:"inset",bgColor:"bg.muted"},range:{bgColor:"colorPalette.solid"}},subtle:{track:{bgColor:"colorPalette.muted"},range:{bgColor:"colorPalette.solid/72"}}},shape:{square:{},rounded:{track:{borderRadius:"l1"}},full:{track:{borderRadius:"full"}}},striped:{true:{range:{backgroundImage:"linear-gradient(45deg, var(--stripe-color) 25%, transparent 25%, transparent 50%, var(--stripe-color) 50%, var(--stripe-color) 75%, transparent 75%, transparent)",backgroundSize:"var(--stripe-size) var(--stripe-size)","--stripe-size":"1rem","--stripe-color":{_light:"rgba(255, 255, 255, 0.3)",_dark:"rgba(0, 0, 0, 0.3)"}}}},animated:{true:{range:{"--animate-from":"var(--stripe-size)",animation:"bg-position 1s linear infinite"}}},size:{xs:{track:{h:"1.5"}},sm:{track:{h:"2"}},md:{track:{h:"2.5"}},lg:{track:{h:"3"}},xl:{track:{h:"4"}}}},defaultVariants:{variant:"outline",size:"md",shape:"rounded"}}),nM=lt({className:"chakra-progress-circle",slots:Km.keys(),base:{root:{display:"inline-flex",textStyle:"sm",position:"relative"},circle:{_indeterminate:{animation:"spin 2s linear infinite"}},circleTrack:{"--track-color":"colors.colorPalette.muted",stroke:"var(--track-color)"},circleRange:{stroke:"colorPalette.solid",transitionProperty:"stroke-dashoffset, stroke-dasharray",transitionDuration:"0.6s",_indeterminate:{animation:"circular-progress 1.5s linear infinite"}},label:{display:"inline-flex"},valueText:{lineHeight:"1",fontWeight:"medium",letterSpacing:"tight",fontVariantNumeric:"tabular-nums"}},variants:{size:{xs:{circle:{"--size":"24px","--thickness":"4px"},valueText:{textStyle:"2xs"}},sm:{circle:{"--size":"32px","--thickness":"5px"},valueText:{textStyle:"2xs"}},md:{circle:{"--size":"40px","--thickness":"6px"},valueText:{textStyle:"xs"}},lg:{circle:{"--size":"48px","--thickness":"7px"},valueText:{textStyle:"sm"}},xl:{circle:{"--size":"64px","--thickness":"8px"},valueText:{textStyle:"sm"}}}},defaultVariants:{size:"md"}}),rM=lt({slots:qx.keys(),className:"chakra-qr-code",base:{root:{position:"relative",width:"fit-content","--qr-code-overlay-size":"calc(var(--qr-code-size) / 3)"},frame:{width:"var(--qr-code-size)",height:"var(--qr-code-size)",fill:"currentColor"},overlay:{display:"flex",alignItems:"center",justifyContent:"center",width:"var(--qr-code-overlay-size)",height:"var(--qr-code-overlay-size)",padding:"1",bg:"bg",rounded:"l1"}},variants:{size:{"2xs":{root:{"--qr-code-size":"40px"}},xs:{root:{"--qr-code-size":"64px"}},sm:{root:{"--qr-code-size":"80px"}},md:{root:{"--qr-code-size":"120px"}},lg:{root:{"--qr-code-size":"160px"}},xl:{root:{"--qr-code-size":"200px"}},"2xl":{root:{"--qr-code-size":"240px"}},full:{root:{"--qr-code-size":"100%"}}}},defaultVariants:{size:"md"}}),iM=lt({className:"chakra-radio-card",slots:sD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1.5",isolation:"isolate"},item:{flex:"1",display:"flex",flexDirection:"column",userSelect:"none",position:"relative",borderRadius:"l2",_focus:{bg:"colorPalette.muted/20"},_disabled:{opacity:"0.8",borderColor:"border.disabled"},_checked:{zIndex:"1"}},label:{display:"inline-flex",fontWeight:"medium",textStyle:"sm",_disabled:{opacity:"0.5"}},itemText:{fontWeight:"medium",flex:"1"},itemDescription:{opacity:"0.64",textStyle:"sm"},itemControl:{display:"inline-flex",flex:"1",pos:"relative",rounded:"inherit",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)",_disabled:{bg:"bg.muted"}},itemIndicator:Ir.base,itemAddon:{roundedBottom:"inherit",_disabled:{color:"fg.muted"}},itemContent:{display:"flex",flexDirection:"column",flex:"1",gap:"1",justifyContent:"var(--radio-card-justify)",alignItems:"var(--radio-card-align)"}},variants:{size:{sm:{item:{textStyle:"sm"},itemControl:{padding:"3",gap:"1.5"},itemAddon:{px:"3",py:"1.5",borderTopWidth:"1px"},itemIndicator:(tS=Ir.variants)==null?void 0:tS.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:(nS=Ir.variants)==null?void 0:nS.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:(rS=Ir.variants)==null?void 0:rS.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:(iS=Ir.variants)==null?void 0:iS.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:(aS=Ir.variants)==null?void 0:aS.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:(lS=Ir.variants)==null?void 0:lS.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:(oS=Ir.variants)==null?void 0:oS.variant.inverted}},justify:{start:{item:{"--radio-card-justify":"flex-start"}},end:{item:{"--radio-card-justify":"flex-end"}},center:{item:{"--radio-card-justify":"center"}}},align:{start:{item:{"--radio-card-align":"flex-start"},itemControl:{textAlign:"start"}},end:{item:{"--radio-card-align":"flex-end"},itemControl:{textAlign:"end"}},center:{item:{"--radio-card-align":"center"},itemControl:{textAlign:"center"}}},orientation:{vertical:{itemControl:{flexDirection:"column"}},horizontal:{itemControl:{flexDirection:"row"}}}},defaultVariants:{size:"md",variant:"outline",align:"start",orientation:"horizontal"}}),aM=lt({className:"chakra-radio-group",slots:j2.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Ir.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:(uS=(sS=Ir.variants)==null?void 0:sS.variant)==null?void 0:uS.outline},subtle:{itemControl:(fS=(cS=Ir.variants)==null?void 0:cS.variant)==null?void 0:fS.subtle},solid:{itemControl:(hS=(dS=Ir.variants)==null?void 0:dS.variant)==null?void 0:hS.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:(pS=(gS=Ir.variants)==null?void 0:gS.size)==null?void 0:pS.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:(bS=(mS=Ir.variants)==null?void 0:mS.size)==null?void 0:bS.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:(vS=(yS=Ir.variants)==null?void 0:yS.size)==null?void 0:vS.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:(AS=(xS=Ir.variants)==null?void 0:xS.size)==null?void 0:AS.lg}}},defaultVariants:{size:"md",variant:"solid"}}),lM=lt({className:"chakra-rating-group",slots:uD.keys(),base:{root:{display:"inline-flex"},control:{display:"inline-flex",alignItems:"center"},item:{display:"inline-flex",alignItems:"center",justifyContent:"center",userSelect:"none"},itemIndicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"1em",height:"1em",position:"relative","--clip-path":{base:"inset(0 50% 0 0)",_rtl:"inset(0 0 0 50%)"},_icon:{stroke:"currentColor",width:"100%",height:"100%",display:"inline-block",flexShrink:0,position:"absolute",left:0,top:0},"& [data-bg]":{color:"bg.emphasized"},"& [data-fg]":{color:"transparent"},"&[data-highlighted]:not([data-half])":{"& [data-fg]":{color:"colorPalette.solid"}},"&[data-half]":{"& [data-fg]":{color:"colorPalette.solid",clipPath:"var(--clip-path)"}}}},variants:{size:{xs:{item:{textStyle:"sm"}},sm:{item:{textStyle:"md"}},md:{item:{textStyle:"xl"}},lg:{item:{textStyle:"2xl"}}}},defaultVariants:{size:"md"}}),oM=lt({className:"chakra-scroll-area",slots:e2.keys(),base:{root:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",overflow:"hidden","--scrollbar-margin":"2px","--scrollbar-click-area":"calc(var(--scrollbar-size) + calc(var(--scrollbar-margin) * 2))"},viewport:{display:"flex",flexDirection:"column",height:"100%",width:"100%",borderRadius:"inherit",WebkitOverflowScrolling:"touch",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},content:{minWidth:"100%"},scrollbar:{display:"flex",userSelect:"none",touchAction:"none",borderRadius:"full",colorPalette:"gray",transition:"opacity 150ms 300ms",position:"relative",margin:"var(--scrollbar-margin)","&:not([data-overflow-x], [data-overflow-y])":{display:"none"},bg:"{colors.colorPalette.solid/10}","--thumb-bg":"{colors.colorPalette.solid/25}","&:is(:hover, :active)":{"--thumb-bg":"{colors.colorPalette.solid/50}"},_before:{content:'""',position:"absolute"},_vertical:{width:"var(--scrollbar-size)",flexDirection:"column","&::before":{width:"var(--scrollbar-click-area)",height:"100%",insetInlineStart:"calc(var(--scrollbar-margin) * -1)"}},_horizontal:{height:"var(--scrollbar-size)",flexDirection:"row","&::before":{height:"var(--scrollbar-click-area)",width:"100%",top:"calc(var(--scrollbar-margin) * -1)"}}},thumb:{borderRadius:"inherit",bg:"var(--thumb-bg)",transition:"backgrounds",_vertical:{width:"full"},_horizontal:{height:"full"}},corner:{bg:"bg.muted",margin:"var(--scrollbar-margin)",opacity:0,transition:"opacity 150ms 300ms","&[data-hover]":{transitionDelay:"0ms",opacity:1}}},variants:{variant:{hover:{scrollbar:{opacity:"0","&[data-hover], &[data-scrolling]":{opacity:"1",transitionDuration:"faster",transitionDelay:"0ms"}}},always:{scrollbar:{opacity:"1"}}},size:{xs:{root:{"--scrollbar-size":"sizes.1"}},sm:{root:{"--scrollbar-size":"sizes.1.5"}},md:{root:{"--scrollbar-size":"sizes.2"}},lg:{root:{"--scrollbar-size":"sizes.3"}}}},defaultVariants:{size:"md",variant:"hover"}}),sM=lt({className:"chakra-segment-group",slots:t2.keys(),base:{root:{"--segment-radius":"radii.l2",borderRadius:"l2",display:"inline-flex",boxShadow:"inset",minW:"max-content",textAlign:"center",position:"relative",isolation:"isolate",bg:"bg.muted",_vertical:{flexDirection:"column"}},item:{display:"flex",alignItems:"center",justifyContent:"center",userSelect:"none",fontSize:"sm",position:"relative",color:"fg",borderRadius:"var(--segment-radius)",_disabled:{opacity:"0.5"},"&:has(input:focus-visible)":{focusRing:"outside"},_before:{content:'""',position:"absolute",bg:"border",transition:"opacity 0.2s"},_horizontal:{_before:{insetInlineStart:0,insetBlock:"1.5",width:"1px"}},_vertical:{_before:{insetBlockStart:0,insetInline:"1.5",height:"1px"}},"& + &[data-state=checked], &[data-state=checked] + &, &:first-of-type":{_before:{opacity:"0"}},"&[data-state=checked][data-ssr]":{shadow:"sm",bg:"bg",borderRadius:"var(--segment-radius)"}},indicator:{shadow:"sm",pos:"absolute",bg:{_light:"bg",_dark:"bg.emphasized"},width:"var(--width)",height:"var(--height)",top:"var(--top)",left:"var(--left)",zIndex:-1,borderRadius:"var(--segment-radius)"}},variants:{size:{xs:{item:{textStyle:"xs",px:"3",gap:"1",height:"6"}},sm:{item:{textStyle:"sm",px:"4",gap:"2",height:"8"}},md:{item:{textStyle:"sm",px:"4",gap:"2",height:"10"}},lg:{item:{textStyle:"md",px:"4.5",gap:"3",height:"11"}}}},defaultVariants:{size:"md"}}),uM=lt({className:"chakra-slider",slots:dD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",textStyle:"sm",position:"relative",isolation:"isolate",touchAction:"none"},label:{fontWeight:"medium",textStyle:"sm"},control:{display:"inline-flex",alignItems:"center",position:"relative"},track:{overflow:"hidden",borderRadius:"full",flex:"1"},range:{width:"inherit",height:"inherit",_disabled:{bg:"border.emphasized!"}},markerGroup:{position:"absolute!",zIndex:"1"},marker:{"--marker-bg":{base:"white",_underValue:"colors.bg"},display:"flex",alignItems:"center",gap:"calc(var(--slider-thumb-size) / 2)",color:"fg.muted",textStyle:"xs"},markerIndicator:{width:"var(--slider-marker-size)",height:"var(--slider-marker-size)",borderRadius:"full",bg:"var(--marker-bg)"},thumb:{width:"var(--slider-thumb-size)",height:"var(--slider-thumb-size)",display:"flex",alignItems:"center",justifyContent:"center",outline:0,zIndex:"2",borderRadius:"full",_focusVisible:{ring:"2px",ringColor:"colorPalette.focusRing",ringOffset:"2px",ringOffsetColor:"bg"}}},variants:{size:{sm:{root:{"--slider-thumb-size":"sizes.4","--slider-track-size":"sizes.1.5","--slider-marker-center":"6px","--slider-marker-size":"sizes.1","--slider-marker-inset":"3px"}},md:{root:{"--slider-thumb-size":"sizes.5","--slider-track-size":"sizes.2","--slider-marker-center":"8px","--slider-marker-size":"sizes.1","--slider-marker-inset":"4px"}},lg:{root:{"--slider-thumb-size":"sizes.6","--slider-track-size":"sizes.2.5","--slider-marker-center":"9px","--slider-marker-size":"sizes.1.5","--slider-marker-inset":"5px"}}},variant:{outline:{track:{shadow:"inset",bg:"bg.emphasized/72"},range:{bg:"colorPalette.solid"},thumb:{borderWidth:"2px",borderColor:"colorPalette.solid",bg:"bg",_disabled:{bg:"border.emphasized",borderColor:"border.emphasized"}}},solid:{track:{bg:"colorPalette.subtle",_disabled:{bg:"bg.muted"}},range:{bg:"colorPalette.solid"},thumb:{bg:"colorPalette.solid",_disabled:{bg:"border.emphasized"}}}},orientation:{vertical:{root:{display:"inline-flex"},control:{flexDirection:"column",height:"100%",minWidth:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginEnd:"4"}},track:{width:"var(--slider-track-size)"},thumb:{left:"50%",translate:"-50% 0"},markerGroup:{insetStart:"var(--slider-marker-center)",insetBlock:"var(--slider-marker-inset)"},marker:{flexDirection:"row"}},horizontal:{control:{flexDirection:"row",width:"100%",minHeight:"var(--slider-thumb-size)","&[data-has-mark-label], &:has(.chakra-slider__marker-label)":{marginBottom:"4"}},track:{height:"var(--slider-track-size)"},thumb:{top:"50%",translate:"0 -50%"},markerGroup:{top:"var(--slider-marker-center)",insetInline:"var(--slider-marker-inset)"},marker:{flexDirection:"column"}}}},defaultVariants:{size:"md",variant:"outline",orientation:"horizontal"}}),cM=lt({className:"chakra-stat",slots:hD.keys(),base:{root:{display:"flex",flexDirection:"column",gap:"1",position:"relative",flex:"1"},label:{display:"inline-flex",gap:"1.5",alignItems:"center",color:"fg.muted",textStyle:"sm"},helpText:{color:"fg.muted",textStyle:"xs"},valueUnit:{color:"fg.muted",textStyle:"xs",fontWeight:"initial",letterSpacing:"initial"},valueText:{verticalAlign:"baseline",fontWeight:"semibold",letterSpacing:"tight",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums",display:"inline-flex",gap:"1"},indicator:{display:"inline-flex",alignItems:"center",justifyContent:"center",marginEnd:1,"& :where(svg)":{w:"1em",h:"1em"},"&[data-type=up]":{color:"fg.success"},"&[data-type=down]":{color:"fg.error"}}},variants:{size:{sm:{valueText:{textStyle:"xl"}},md:{valueText:{textStyle:"2xl"}},lg:{valueText:{textStyle:"3xl"}}}},defaultVariants:{size:"md"}}),fM=lt({className:"chakra-status",slots:gD.keys(),base:{root:{display:"inline-flex",alignItems:"center",gap:"2"},indicator:{width:"0.64em",height:"0.64em",flexShrink:0,borderRadius:"full",forcedColorAdjust:"none",bg:"colorPalette.solid"}},variants:{size:{sm:{root:{textStyle:"xs"}},md:{root:{textStyle:"sm"}},lg:{root:{textStyle:"md"}}}},defaultVariants:{size:"md"}}),dM=lt({className:"chakra-steps",slots:pD.keys(),base:{root:{display:"flex",width:"full"},list:{display:"flex",justifyContent:"space-between","--steps-gutter":"spacing.3","--steps-thickness":"2px"},title:{fontWeight:"medium",color:"fg"},description:{color:"fg.muted"},separator:{bg:"border",flex:"1"},indicator:{display:"flex",justifyContent:"center",alignItems:"center",flexShrink:"0",borderRadius:"full",fontWeight:"medium",width:"var(--steps-size)",height:"var(--steps-size)",_icon:{flexShrink:"0",width:"var(--steps-icon-size)",height:"var(--steps-icon-size)"}},item:{position:"relative",display:"flex",gap:"3",flex:"1 0 0","&:last-of-type":{flex:"initial","& [data-part=separator]":{display:"none"}}},trigger:{display:"flex",alignItems:"center",gap:"3",textAlign:"start",focusVisibleRing:"outside",borderRadius:"l2"},content:{focusVisibleRing:"outside"}},variants:{orientation:{vertical:{root:{flexDirection:"row",height:"100%"},list:{flexDirection:"column",alignItems:"flex-start"},separator:{position:"absolute",width:"var(--steps-thickness)",height:"100%",maxHeight:"calc(100% - var(--steps-size) - var(--steps-gutter) * 2)",top:"calc(var(--steps-size) + var(--steps-gutter))",insetStart:"calc(var(--steps-size) / 2 - 1px)"},item:{alignItems:"flex-start"}},horizontal:{root:{flexDirection:"column",width:"100%"},list:{flexDirection:"row",alignItems:"center"},separator:{width:"100%",height:"var(--steps-thickness)",marginX:"var(--steps-gutter)"},item:{alignItems:"center"}}},variant:{solid:{indicator:{_incomplete:{borderWidth:"var(--steps-thickness)"},_current:{bg:"colorPalette.muted",borderWidth:"var(--steps-thickness)",borderColor:"colorPalette.solid",color:"colorPalette.fg"},_complete:{bg:"colorPalette.solid",borderColor:"colorPalette.solid",color:"colorPalette.contrast"}},separator:{_complete:{bg:"colorPalette.solid"}}},subtle:{indicator:{_incomplete:{bg:"bg.muted"},_current:{bg:"colorPalette.muted",color:"colorPalette.fg"},_complete:{bg:"colorPalette.emphasized",color:"colorPalette.fg"}},separator:{_complete:{bg:"colorPalette.emphasized"}}}},size:{xs:{root:{gap:"2.5"},list:{"--steps-size":"sizes.6","--steps-icon-size":"sizes.3.5",textStyle:"xs"},title:{textStyle:"sm"}},sm:{root:{gap:"3"},list:{"--steps-size":"sizes.8","--steps-icon-size":"sizes.4",textStyle:"xs"},title:{textStyle:"sm"}},md:{root:{gap:"4"},list:{"--steps-size":"sizes.10","--steps-icon-size":"sizes.4",textStyle:"sm"},title:{textStyle:"sm"}},lg:{root:{gap:"6"},list:{"--steps-size":"sizes.11","--steps-icon-size":"sizes.5",textStyle:"md"},title:{textStyle:"md"}}}},defaultVariants:{size:"md",variant:"solid",orientation:"horizontal"}}),hM=lt({slots:mD.keys(),className:"chakra-switch",base:{root:{display:"inline-flex",gap:"2.5",alignItems:"center",position:"relative",verticalAlign:"middle","--switch-diff":"calc(var(--switch-width) - var(--switch-height))","--switch-x":{base:"var(--switch-diff)",_rtl:"calc(var(--switch-diff) * -1)"}},label:{lineHeight:"1",userSelect:"none",fontSize:"sm",fontWeight:"medium",_disabled:{opacity:"0.5"}},indicator:{position:"absolute",height:"var(--switch-height)",width:"var(--switch-height)",fontSize:"var(--switch-indicator-font-size)",fontWeight:"medium",flexShrink:0,userSelect:"none",display:"grid",placeContent:"center",transition:"inset-inline-start 0.12s ease",insetInlineStart:"calc(var(--switch-x) - 2px)",_checked:{insetInlineStart:"2px"}},control:{display:"inline-flex",gap:"0.5rem",flexShrink:0,justifyContent:"flex-start",cursor:"switch",borderRadius:"full",position:"relative",width:"var(--switch-width)",height:"var(--switch-height)",transition:"backgrounds",_disabled:{opacity:"0.5",cursor:"not-allowed"},_invalid:{outline:"2px solid",outlineColor:"border.error",outlineOffset:"2px"}},thumb:{display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,transitionProperty:"translate",transitionDuration:"fast",borderRadius:"inherit",_checked:{translate:"var(--switch-x) 0"}}},variants:{variant:{solid:{control:{borderRadius:"full",bg:"bg.emphasized",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}},thumb:{bg:"white",width:"var(--switch-height)",height:"var(--switch-height)",scale:"0.8",boxShadow:"sm",_checked:{bg:"colorPalette.contrast"}}},raised:{control:{borderRadius:"full",height:"calc(var(--switch-height) / 2)",bg:"bg.muted",boxShadow:"inset",_checked:{bg:"colorPalette.solid/60"}},thumb:{width:"var(--switch-height)",height:"var(--switch-height)",position:"relative",top:"calc(var(--switch-height) * -0.25)",bg:"white",boxShadow:"xs",focusVisibleRing:"outside",_checked:{bg:"colorPalette.solid"}}}},size:{xs:{root:{"--switch-width":"sizes.6","--switch-height":"sizes.3","--switch-indicator-font-size":"fontSizes.xs"}},sm:{root:{"--switch-width":"sizes.8","--switch-height":"sizes.4","--switch-indicator-font-size":"fontSizes.xs"}},md:{root:{"--switch-width":"sizes.10","--switch-height":"sizes.5","--switch-indicator-font-size":"fontSizes.sm"}},lg:{root:{"--switch-width":"sizes.12","--switch-height":"sizes.6","--switch-indicator-font-size":"fontSizes.md"}}}},defaultVariants:{variant:"solid",size:"md"}}),gM=lt({className:"chakra-table",slots:bD.keys(),base:{root:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full",textAlign:"start",verticalAlign:"top"},row:{_selected:{bg:"colorPalette.subtle"}},cell:{textAlign:"start",alignItems:"center"},columnHeader:{fontWeight:"medium",textAlign:"start",color:"fg"},caption:{fontWeight:"medium",textStyle:"xs"},footer:{fontWeight:"medium"}},variants:{interactive:{true:{body:{"& tr":{_hover:{bg:"colorPalette.subtle"}}}}},stickyHeader:{true:{header:{"& :where(tr)":{top:"var(--table-sticky-offset, 0)",position:"sticky",zIndex:1}}}},striped:{true:{row:{"&:nth-of-type(odd) td":{bg:"bg.muted"}}}},showColumnBorder:{true:{columnHeader:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}},cell:{"&:not(:last-of-type)":{borderInlineEndWidth:"1px"}}}},variant:{line:{columnHeader:{borderBottomWidth:"1px"},cell:{borderBottomWidth:"1px"},row:{bg:"bg"}},outline:{root:{boxShadow:"0 0 0 1px {colors.border}",overflow:"hidden"},columnHeader:{borderBottomWidth:"1px"},header:{bg:"bg.muted"},row:{"&:not(:last-of-type)":{borderBottomWidth:"1px"}},footer:{borderTopWidth:"1px"}}},size:{sm:{root:{textStyle:"sm"},columnHeader:{px:"2",py:"2"},cell:{px:"2",py:"2"}},md:{root:{textStyle:"sm"},columnHeader:{px:"3",py:"3"},cell:{px:"3",py:"3"}},lg:{root:{textStyle:"md"},columnHeader:{px:"4",py:"3"},cell:{px:"4",py:"3"}}}},defaultVariants:{variant:"line",size:"md"}}),pM=lt({slots:vD.keys(),className:"chakra-tabs",base:{root:{"--tabs-trigger-radius":"radii.l2",position:"relative",_horizontal:{display:"block"},_vertical:{display:"flex"}},list:{display:"inline-flex",position:"relative",isolation:"isolate","--tabs-indicator-shadow":"shadows.xs","--tabs-indicator-bg":"colors.bg",minH:"var(--tabs-height)",_horizontal:{flexDirection:"row"},_vertical:{flexDirection:"column"}},trigger:{outline:"0",minW:"var(--tabs-height)",height:"var(--tabs-height)",display:"flex",alignItems:"center",fontWeight:"medium",position:"relative",cursor:"button",gap:"2",_focusVisible:{zIndex:1,outline:"2px solid",outlineColor:"colorPalette.focusRing"},_disabled:{cursor:"not-allowed",opacity:.5}},content:{focusVisibleRing:"inside",_horizontal:{width:"100%",pt:"var(--tabs-content-padding)"},_vertical:{height:"100%",ps:"var(--tabs-content-padding)"}},indicator:{width:"var(--width)",height:"var(--height)",borderRadius:"var(--tabs-indicator-radius)",bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",zIndex:-1}},variants:{fitted:{true:{list:{display:"flex"},trigger:{flex:1,textAlign:"center",justifyContent:"center"}}},justify:{start:{list:{justifyContent:"flex-start"}},center:{list:{justifyContent:"center"}},end:{list:{justifyContent:"flex-end"}}},size:{sm:{root:{"--tabs-height":"sizes.9","--tabs-content-padding":"spacing.3"},trigger:{py:"1",px:"3",textStyle:"sm"}},md:{root:{"--tabs-height":"sizes.10","--tabs-content-padding":"spacing.4"},trigger:{py:"2",px:"4",textStyle:"sm"}},lg:{root:{"--tabs-height":"sizes.11","--tabs-content-padding":"spacing.4.5"},trigger:{py:"2",px:"4.5",textStyle:"md"}}},variant:{line:{list:{display:"flex",borderColor:"border",_horizontal:{borderBottomWidth:"1px"},_vertical:{borderEndWidth:"1px"}},trigger:{color:"fg.muted",_disabled:{_active:{bg:"initial"}},_selected:{color:"fg",_horizontal:{layerStyle:"indicator.bottom","--indicator-offset-y":"-1px","--indicator-color":"colors.colorPalette.solid"},_vertical:{layerStyle:"indicator.end","--indicator-offset-x":"-1px"}}}},subtle:{trigger:{borderRadius:"var(--tabs-trigger-radius)",color:"fg.muted",_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}},enclosed:{list:{bg:"bg.muted",padding:"1",borderRadius:"l3",minH:"calc(var(--tabs-height) - 4px)"},trigger:{justifyContent:"center",color:"fg.muted",borderRadius:"var(--tabs-trigger-radius)",_selected:{bg:"bg",color:"colorPalette.fg",shadow:"xs"}}},outline:{list:{"--line-thickness":"1px","--line-offset":"calc(var(--line-thickness) * -1)",borderColor:"border",display:"flex",_horizontal:{_before:{content:'""',position:"absolute",bottom:"0px",width:"100%",borderBottomWidth:"var(--line-thickness)",borderBottomColor:"border"}},_vertical:{_before:{content:'""',position:"absolute",insetInline:"var(--line-offset)",height:"calc(100% - calc(var(--line-thickness) * 2))",borderEndWidth:"var(--line-thickness)",borderEndColor:"border"}}},trigger:{color:"fg.muted",borderWidth:"1px",borderColor:"transparent",_selected:{bg:"currentBg",color:"colorPalette.fg"},_horizontal:{borderTopRadius:"var(--tabs-trigger-radius)",marginBottom:"var(--line-offset)",marginEnd:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderBottomColor:"transparent"}},_vertical:{borderStartRadius:"var(--tabs-trigger-radius)",marginEnd:"var(--line-offset)",marginBottom:{_notLast:"var(--line-offset)"},_selected:{borderColor:"border",borderEndColor:"transparent"}}}},plain:{trigger:{color:"fg.muted",_selected:{color:"colorPalette.fg"},borderRadius:"var(--tabs-trigger-radius)","&[data-selected][data-ssr]":{bg:"var(--tabs-indicator-bg)",shadow:"var(--tabs-indicator-shadow)",borderRadius:"var(--tabs-indicator-radius)"}}}}},defaultVariants:{size:"md",variant:"line"}}),Ha=(SS=s0.variants)==null?void 0:SS.variant,mM=lt({slots:xD.keys(),className:"chakra-tag",base:{root:{display:"inline-flex",alignItems:"center",verticalAlign:"top",maxWidth:"100%",userSelect:"none",borderRadius:"l2",focusVisibleRing:"outside"},label:{lineClamp:"1"},closeTrigger:{display:"flex",alignItems:"center",justifyContent:"center",outline:"0",borderRadius:"l1",color:"currentColor",focusVisibleRing:"inside",focusRingWidth:"2px"},startElement:{flexShrink:0,boxSize:"var(--tag-element-size)",ms:"var(--tag-element-offset)","&:has([data-scope=avatar])":{boxSize:"var(--tag-avatar-size)",ms:"calc(var(--tag-element-offset) * 1.5)"},_icon:{boxSize:"100%"}},endElement:{flexShrink:0,boxSize:"var(--tag-element-size)",me:"var(--tag-element-offset)",_icon:{boxSize:"100%"},"&:has(button)":{ms:"calc(var(--tag-element-offset) * -1)"}}},variants:{size:{sm:{root:{px:"1.5",minH:"4.5",gap:"1","--tag-avatar-size":"spacing.3","--tag-element-size":"spacing.3","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},md:{root:{px:"1.5",minH:"5",gap:"1","--tag-avatar-size":"spacing.3.5","--tag-element-size":"spacing.3.5","--tag-element-offset":"-2px"},label:{textStyle:"xs"}},lg:{root:{px:"2",minH:"6",gap:"1.5","--tag-avatar-size":"spacing.4.5","--tag-element-size":"spacing.4","--tag-element-offset":"-3px"},label:{textStyle:"sm"}},xl:{root:{px:"2.5",minH:"8",gap:"1.5","--tag-avatar-size":"spacing.6","--tag-element-size":"spacing.4.5","--tag-element-offset":"-4px"},label:{textStyle:"sm"}}},variant:{subtle:{root:Ha==null?void 0:Ha.subtle},solid:{root:Ha==null?void 0:Ha.solid},outline:{root:Ha==null?void 0:Ha.outline},surface:{root:Ha==null?void 0:Ha.surface}}},defaultVariants:{size:"md",variant:"surface"}}),bM=lt({slots:AD.keys(),className:"chakra-timeline",base:{root:{display:"flex",flexDirection:"column",width:"full","--timeline-thickness":"1px","--timeline-gutter":"4px"},item:{display:"flex",position:"relative",alignItems:"flex-start",flexShrink:0,gap:"4",_last:{"& :where(.chakra-timeline__separator)":{display:"none"}}},separator:{position:"absolute",borderStartWidth:"var(--timeline-thickness)",ms:"calc(-1 * var(--timeline-thickness) / 2)",insetInlineStart:"calc(var(--timeline-indicator-size) / 2)",insetBlock:"0",borderColor:"border"},indicator:{outline:"2px solid {colors.bg}",position:"relative",flexShrink:"0",boxSize:"var(--timeline-indicator-size)",fontSize:"var(--timeline-font-size)",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"full",fontWeight:"medium"},connector:{alignSelf:"stretch",position:"relative"},content:{pb:"6",display:"flex",flexDirection:"column",width:"full",gap:"2"},title:{display:"flex",fontWeight:"medium",flexWrap:"wrap",gap:"1.5",alignItems:"center",mt:"var(--timeline-margin)"},description:{color:"fg.muted",textStyle:"xs"}},variants:{variant:{subtle:{indicator:{bg:"colorPalette.muted"}},solid:{indicator:{bg:"colorPalette.solid",color:"colorPalette.contrast"}},outline:{indicator:{bg:"currentBg",borderWidth:"1px",borderColor:"colorPalette.muted"}},plain:{}},size:{sm:{root:{"--timeline-indicator-size":"sizes.4","--timeline-font-size":"fontSizes.2xs"},title:{textStyle:"xs"}},md:{root:{"--timeline-indicator-size":"sizes.5","--timeline-font-size":"fontSizes.xs"},title:{textStyle:"sm"}},lg:{root:{"--timeline-indicator-size":"sizes.6","--timeline-font-size":"fontSizes.xs"},title:{mt:"0.5",textStyle:"sm"}},xl:{root:{"--timeline-indicator-size":"sizes.8","--timeline-font-size":"fontSizes.sm"},title:{mt:"1.5",textStyle:"sm"}}}},defaultVariants:{size:"md",variant:"solid"}}),yM=lt({slots:yD.keys(),className:"chakra-toast",base:{root:{width:"full",display:"flex",alignItems:"flex-start",position:"relative",gap:"3",py:"4",ps:"4",pe:"6",borderRadius:"l2",translate:"var(--x) var(--y)",scale:"var(--scale)",zIndex:"var(--z-index)",height:"var(--height)",opacity:"var(--opacity)",willChange:"translate, opacity, scale",transition:"translate 400ms, scale 400ms, opacity 400ms, height 400ms, box-shadow 200ms",transitionTimingFunction:"cubic-bezier(0.21, 1.02, 0.73, 1)",_closed:{transition:"translate 400ms, scale 400ms, opacity 200ms",transitionTimingFunction:"cubic-bezier(0.06, 0.71, 0.55, 1)"},bg:"bg.panel",color:"fg",boxShadow:"xl","--toast-trigger-bg":"colors.bg.muted","&[data-type=warning]":{bg:"orange.solid",color:"orange.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=success]":{bg:"green.solid",color:"green.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"},"&[data-type=error]":{bg:"red.solid",color:"red.contrast","--toast-trigger-bg":"{white/10}","--toast-border-color":"{white/40}"}},title:{fontWeight:"medium",textStyle:"sm",marginEnd:"2"},description:{display:"inline",textStyle:"sm",opacity:"0.8"},indicator:{flexShrink:"0",boxSize:"5"},actionTrigger:{textStyle:"sm",fontWeight:"medium",height:"8",px:"3",borderRadius:"l2",alignSelf:"center",borderWidth:"1px",borderColor:"var(--toast-border-color, inherit)",transition:"background 200ms",_hover:{bg:"var(--toast-trigger-bg)"}},closeTrigger:{position:"absolute",top:"1",insetEnd:"1",padding:"1",display:"inline-flex",alignItems:"center",justifyContent:"center",color:"{currentColor/60}",borderRadius:"l2",textStyle:"md",transition:"background 200ms",_icon:{boxSize:"1em"}}}}),vM=lt({slots:a2.keys(),className:"chakra-tooltip",base:{content:{"--tooltip-bg":"colors.bg.inverted",bg:"var(--tooltip-bg)",color:"fg.inverted",px:"2.5",py:"1",borderRadius:"l2",fontWeight:"medium",textStyle:"xs",boxShadow:"md",maxW:"xs",zIndex:"tooltip",transformOrigin:"var(--transform-origin)",_open:{animationStyle:"scale-fade-in",animationDuration:"fast"},_closed:{animationStyle:"scale-fade-out",animationDuration:"fast"}},arrow:{"--arrow-size":"sizes.2","--arrow-background":"var(--tooltip-bg)"},arrowTip:{borderTopWidth:"1px",borderInlineStartWidth:"1px",borderColor:"var(--tooltip-bg)"}}}),tA=Oc({display:"flex",alignItems:"center",gap:"var(--tree-item-gap)",rounded:"l2",userSelect:"none",position:"relative","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-icon-offset":"calc(var(--tree-icon-size) * var(--tree-depth) * 0.5)","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset) + var(--tree-icon-offset))",ps:"var(--tree-offset)",pe:"var(--tree-padding-inline)",py:"var(--tree-padding-block)",focusVisibleRing:"inside",focusRingColor:"border.emphasized",focusRingWidth:"2px","&:hover, &:focus-visible":{bg:"bg.muted"},_disabled:{layerStyle:"disabled"}}),nA=Oc({flex:"1"}),rA=Oc({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),iA=Oc({_selected:{layerStyle:"fill.solid"}}),xM=lt({slots:Vx.keys(),className:"chakra-tree-view",base:{root:{width:"full",display:"flex",flexDirection:"column",gap:"2"},tree:{display:"flex",flexDirection:"column","--tree-item-gap":"spacing.2",_icon:{boxSize:"var(--tree-icon-size)"}},label:{fontWeight:"medium",textStyle:"sm"},branch:{position:"relative"},branchContent:{position:"relative"},branchIndentGuide:{height:"100%",width:"1px",bg:"border",position:"absolute","--tree-depth":"calc(var(--depth) - 1)","--tree-indentation-offset":"calc(var(--tree-indentation) * var(--tree-depth))","--tree-offset":"calc(var(--tree-padding-inline) + var(--tree-indentation-offset))","--tree-icon-offset":"calc(var(--tree-icon-size) * 0.5 * var(--depth))",insetInlineStart:"calc(var(--tree-offset) + var(--tree-icon-offset))",zIndex:"1"},branchIndicator:{color:"fg.muted",transformOrigin:"center",transitionDuration:"normal",transitionProperty:"transform",transitionTimingFunction:"default",_open:{transform:"rotate(90deg)"}},branchTrigger:{display:"inline-flex",alignItems:"center",justifyContent:"center"},branchControl:tA,item:tA,itemText:nA,branchText:nA,nodeCheckbox:{display:"inline-flex"}},variants:{size:{md:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1.5","--tree-icon-size":"spacing.4"}},sm:{tree:{textStyle:"sm","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.3","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}},xs:{tree:{textStyle:"xs","--tree-indentation":"spacing.4","--tree-padding-inline":"spacing.2","--tree-padding-block":"spacing.1","--tree-icon-size":"spacing.3"}}},variant:{subtle:{branchControl:rA,item:rA},solid:{branchControl:iA,item:iA}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),AM={accordion:ED,actionBar:_D,alert:CD,avatar:TD,blockquote:RD,breadcrumb:zD,card:OD,checkbox:PD,checkboxCard:DD,codeBlock:MD,collapsible:ND,dataList:BD,dialog:FD,drawer:HD,editable:WD,emptyState:GD,field:YD,fieldset:UD,fileUpload:ZD,hoverCard:VD,list:XD,listbox:JD,menu:KD,nativeSelect:QD,numberInput:jD,pinInput:$D,popover:eM,progress:tM,progressCircle:nM,radioCard:iM,radioGroup:aM,ratingGroup:lM,scrollArea:oM,segmentGroup:sM,select:dg,combobox:LD,slider:uM,stat:cM,steps:dM,switch:hM,table:gM,tabs:pM,tag:mM,toast:yM,tooltip:vM,status:fM,timeline:bM,colorPicker:ID,qrCode:rM,treeView:xM},SM=r7({"2xs":{value:{fontSize:"2xs",lineHeight:"0.75rem"}},xs:{value:{fontSize:"xs",lineHeight:"1rem"}},sm:{value:{fontSize:"sm",lineHeight:"1.25rem"}},md:{value:{fontSize:"md",lineHeight:"1.5rem"}},lg:{value:{fontSize:"lg",lineHeight:"1.75rem"}},xl:{value:{fontSize:"xl",lineHeight:"1.875rem"}},"2xl":{value:{fontSize:"2xl",lineHeight:"2rem"}},"3xl":{value:{fontSize:"3xl",lineHeight:"2.375rem"}},"4xl":{value:{fontSize:"4xl",lineHeight:"2.75rem",letterSpacing:"-0.025em"}},"5xl":{value:{fontSize:"5xl",lineHeight:"3.75rem",letterSpacing:"-0.025em"}},"6xl":{value:{fontSize:"6xl",lineHeight:"4.5rem",letterSpacing:"-0.025em"}},"7xl":{value:{fontSize:"7xl",lineHeight:"5.75rem",letterSpacing:"-0.025em"}},none:{value:{}},label:{value:{fontSize:"sm",lineHeight:"1.25rem",fontWeight:"medium"}}}),wM=or.animations({spin:{value:"spin 1s linear infinite"},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"},bounce:{value:"bounce 1s infinite"}}),kM=or.aspectRatios({square:{value:"1 / 1"},landscape:{value:"4 / 3"},portrait:{value:"3 / 4"},wide:{value:"16 / 9"},ultrawide:{value:"18 / 5"},golden:{value:"1.618 / 1"}}),EM=or.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),_M=or.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),CM=or.colors({transparent:{value:"transparent"},current:{value:"currentColor"},black:{value:"#09090B"},white:{value:"#FFFFFF"},whiteAlpha:{50:{value:"rgba(255, 255, 255, 0.04)"},100:{value:"rgba(255, 255, 255, 0.06)"},200:{value:"rgba(255, 255, 255, 0.08)"},300:{value:"rgba(255, 255, 255, 0.16)"},400:{value:"rgba(255, 255, 255, 0.24)"},500:{value:"rgba(255, 255, 255, 0.36)"},600:{value:"rgba(255, 255, 255, 0.48)"},700:{value:"rgba(255, 255, 255, 0.64)"},800:{value:"rgba(255, 255, 255, 0.80)"},900:{value:"rgba(255, 255, 255, 0.92)"},950:{value:"rgba(255, 255, 255, 0.95)"}},blackAlpha:{50:{value:"rgba(0, 0, 0, 0.04)"},100:{value:"rgba(0, 0, 0, 0.06)"},200:{value:"rgba(0, 0, 0, 0.08)"},300:{value:"rgba(0, 0, 0, 0.16)"},400:{value:"rgba(0, 0, 0, 0.24)"},500:{value:"rgba(0, 0, 0, 0.36)"},600:{value:"rgba(0, 0, 0, 0.48)"},700:{value:"rgba(0, 0, 0, 0.64)"},800:{value:"rgba(0, 0, 0, 0.80)"},900:{value:"rgba(0, 0, 0, 0.92)"},950:{value:"rgba(0, 0, 0, 0.95)"}},gray:{50:{value:"#fafafa"},100:{value:"#f4f4f5"},200:{value:"#e4e4e7"},300:{value:"#d4d4d8"},400:{value:"#a1a1aa"},500:{value:"#71717a"},600:{value:"#52525b"},700:{value:"#3f3f46"},800:{value:"#27272a"},900:{value:"#18181b"},950:{value:"#111111"}},red:{50:{value:"#fef2f2"},100:{value:"#fee2e2"},200:{value:"#fecaca"},300:{value:"#fca5a5"},400:{value:"#f87171"},500:{value:"#ef4444"},600:{value:"#dc2626"},700:{value:"#991919"},800:{value:"#511111"},900:{value:"#300c0c"},950:{value:"#1f0808"}},orange:{50:{value:"#fff7ed"},100:{value:"#ffedd5"},200:{value:"#fed7aa"},300:{value:"#fdba74"},400:{value:"#fb923c"},500:{value:"#f97316"},600:{value:"#ea580c"},700:{value:"#92310a"},800:{value:"#6c2710"},900:{value:"#3b1106"},950:{value:"#220a04"}},yellow:{50:{value:"#fefce8"},100:{value:"#fef9c3"},200:{value:"#fef08a"},300:{value:"#fde047"},400:{value:"#facc15"},500:{value:"#eab308"},600:{value:"#ca8a04"},700:{value:"#845209"},800:{value:"#713f12"},900:{value:"#422006"},950:{value:"#281304"}},green:{50:{value:"#f0fdf4"},100:{value:"#dcfce7"},200:{value:"#bbf7d0"},300:{value:"#86efac"},400:{value:"#4ade80"},500:{value:"#22c55e"},600:{value:"#16a34a"},700:{value:"#116932"},800:{value:"#124a28"},900:{value:"#042713"},950:{value:"#03190c"}},teal:{50:{value:"#f0fdfa"},100:{value:"#ccfbf1"},200:{value:"#99f6e4"},300:{value:"#5eead4"},400:{value:"#2dd4bf"},500:{value:"#14b8a6"},600:{value:"#0d9488"},700:{value:"#0c5d56"},800:{value:"#114240"},900:{value:"#032726"},950:{value:"#021716"}},blue:{50:{value:"#eff6ff"},100:{value:"#dbeafe"},200:{value:"#bfdbfe"},300:{value:"#a3cfff"},400:{value:"#60a5fa"},500:{value:"#3b82f6"},600:{value:"#2563eb"},700:{value:"#173da6"},800:{value:"#1a3478"},900:{value:"#14204a"},950:{value:"#0c142e"}},cyan:{50:{value:"#ecfeff"},100:{value:"#cffafe"},200:{value:"#a5f3fc"},300:{value:"#67e8f9"},400:{value:"#22d3ee"},500:{value:"#06b6d4"},600:{value:"#0891b2"},700:{value:"#0c5c72"},800:{value:"#134152"},900:{value:"#072a38"},950:{value:"#051b24"}},purple:{50:{value:"#faf5ff"},100:{value:"#f3e8ff"},200:{value:"#e9d5ff"},300:{value:"#d8b4fe"},400:{value:"#c084fc"},500:{value:"#a855f7"},600:{value:"#9333ea"},700:{value:"#641ba3"},800:{value:"#4a1772"},900:{value:"#2f0553"},950:{value:"#1a032e"}},pink:{50:{value:"#fdf2f8"},100:{value:"#fce7f3"},200:{value:"#fbcfe8"},300:{value:"#f9a8d4"},400:{value:"#f472b6"},500:{value:"#ec4899"},600:{value:"#db2777"},700:{value:"#a41752"},800:{value:"#6d0e34"},900:{value:"#45061f"},950:{value:"#2c0514"}}}),TM=or.cursor({button:{value:"pointer"},checkbox:{value:"default"},disabled:{value:"not-allowed"},menuitem:{value:"default"},option:{value:"default"},radio:{value:"default"},slider:{value:"default"},switch:{value:"pointer"}}),RM=or.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),zM=or.easings({"ease-in":{value:"cubic-bezier(0.42, 0, 1, 1)"},"ease-out":{value:"cubic-bezier(0, 0, 0.58, 1)"},"ease-in-out":{value:"cubic-bezier(0.42, 0, 0.58, 1)"},"ease-in-smooth":{value:"cubic-bezier(0.32, 0.72, 0, 1)"}}),OM=or.fontSizes({"2xs":{value:"0.625rem"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},md:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}}),PM=or.fontWeights({thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}),aA='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',DM=or.fonts({heading:{value:`Inter, ${aA}`},body:{value:`Inter, ${aA}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),MM=t7({spin:{"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}},pulse:{"50%":{opacity:"0.5"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"bg-position":{from:{backgroundPosition:"var(--animate-from, 1rem) 0"},to:{backgroundPosition:"var(--animate-to, 0) 0"}},position:{from:{insetInlineStart:"var(--animate-from-x)",insetBlockStart:"var(--animate-from-y)"},to:{insetInlineStart:"var(--animate-to-x)",insetBlockStart:"var(--animate-to-y)"}},"circular-progress":{"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100%"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260%"}},"expand-height":{from:{height:"0"},to:{height:"var(--height)"}},"collapse-height":{from:{height:"var(--height)"},to:{height:"0"}},"expand-width":{from:{width:"0"},to:{width:"var(--width)"}},"collapse-width":{from:{height:"var(--width)"},to:{height:"0"}},"fade-in":{from:{opacity:0},to:{opacity:1}},"fade-out":{from:{opacity:1},to:{opacity:0}},"slide-from-left-full":{from:{translate:"-100% 0"},to:{translate:"0 0"}},"slide-from-right-full":{from:{translate:"100% 0"},to:{translate:"0 0"}},"slide-from-top-full":{from:{translate:"0 -100%"},to:{translate:"0 0"}},"slide-from-bottom-full":{from:{translate:"0 100%"},to:{translate:"0 0"}},"slide-to-left-full":{from:{translate:"0 0"},to:{translate:"-100% 0"}},"slide-to-right-full":{from:{translate:"0 0"},to:{translate:"100% 0"}},"slide-to-top-full":{from:{translate:"0 0"},to:{translate:"0 -100%"}},"slide-to-bottom-full":{from:{translate:"0 0"},to:{translate:"0 100%"}},"slide-from-top":{"0%":{translate:"0 -0.5rem"},to:{translate:"0"}},"slide-from-bottom":{"0%":{translate:"0 0.5rem"},to:{translate:"0"}},"slide-from-left":{"0%":{translate:"-0.5rem 0"},to:{translate:"0"}},"slide-from-right":{"0%":{translate:"0.5rem 0"},to:{translate:"0"}},"slide-to-top":{"0%":{translate:"0"},to:{translate:"0 -0.5rem"}},"slide-to-bottom":{"0%":{translate:"0"},to:{translate:"0 0.5rem"}},"slide-to-left":{"0%":{translate:"0"},to:{translate:"-0.5rem 0"}},"slide-to-right":{"0%":{translate:"0"},to:{translate:"0.5rem 0"}},"scale-in":{from:{scale:"0.95"},to:{scale:"1"}},"scale-out":{from:{scale:"1"},to:{scale:"0.95"}}}),NM=or.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),IM=or.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),LM=or.radii({none:{value:"0"},"2xs":{value:"0.0625rem"},xs:{value:"0.125rem"},sm:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},"4xl":{value:"2rem"},full:{value:"9999px"}}),lA=or.spacing({.5:{value:"0.125rem"},1:{value:"0.25rem"},1.5:{value:"0.375rem"},2:{value:"0.5rem"},2.5:{value:"0.625rem"},3:{value:"0.75rem"},3.5:{value:"0.875rem"},4:{value:"1rem"},4.5:{value:"1.125rem"},5:{value:"1.25rem"},6:{value:"1.5rem"},7:{value:"1.75rem"},8:{value:"2rem"},9:{value:"2.25rem"},10:{value:"2.5rem"},11:{value:"2.75rem"},12:{value:"3rem"},14:{value:"3.5rem"},16:{value:"4rem"},20:{value:"5rem"},24:{value:"6rem"},28:{value:"7rem"},32:{value:"8rem"},36:{value:"9rem"},40:{value:"10rem"},44:{value:"11rem"},48:{value:"12rem"},52:{value:"13rem"},56:{value:"14rem"},60:{value:"15rem"},64:{value:"16rem"},72:{value:"18rem"},80:{value:"20rem"},96:{value:"24rem"}}),BM=or.sizes({"3xs":{value:"14rem"},"2xs":{value:"16rem"},xs:{value:"20rem"},sm:{value:"24rem"},md:{value:"28rem"},lg:{value:"32rem"},xl:{value:"36rem"},"2xl":{value:"42rem"},"3xl":{value:"48rem"},"4xl":{value:"56rem"},"5xl":{value:"64rem"},"6xl":{value:"72rem"},"7xl":{value:"80rem"},"8xl":{value:"90rem"}}),FM=or.sizes({max:{value:"max-content"},min:{value:"min-content"},fit:{value:"fit-content"},prose:{value:"60ch"},full:{value:"100%"},dvh:{value:"100dvh"},svh:{value:"100svh"},lvh:{value:"100lvh"},dvw:{value:"100dvw"},svw:{value:"100svw"},lvw:{value:"100lvw"},vw:{value:"100vw"},vh:{value:"100vh"}}),HM=or.sizes({"1/2":{value:"50%"},"1/3":{value:"33.333333%"},"2/3":{value:"66.666667%"},"1/4":{value:"25%"},"3/4":{value:"75%"},"1/5":{value:"20%"},"2/5":{value:"40%"},"3/5":{value:"60%"},"4/5":{value:"80%"},"1/6":{value:"16.666667%"},"2/6":{value:"33.333333%"},"3/6":{value:"50%"},"4/6":{value:"66.666667%"},"5/6":{value:"83.333333%"},"1/12":{value:"8.333333%"},"2/12":{value:"16.666667%"},"3/12":{value:"25%"},"4/12":{value:"33.333333%"},"5/12":{value:"41.666667%"},"6/12":{value:"50%"},"7/12":{value:"58.333333%"},"8/12":{value:"66.666667%"},"9/12":{value:"75%"},"10/12":{value:"83.333333%"},"11/12":{value:"91.666667%"}}),WM=or.sizes(G(G(G(G({},BM),lA),HM),FM)),GM=or.zIndex({hide:{value:-1},base:{value:0},docked:{value:10},dropdown:{value:1e3},sticky:{value:1100},banner:{value:1200},overlay:{value:1300},modal:{value:1400},popover:{value:1500},skipNav:{value:1600},toast:{value:1700},tooltip:{value:1800},max:{value:2147483647}}),YM=e0({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:xP,theme:{breakpoints:vP,keyframes:MM,tokens:{aspectRatios:kM,animations:wM,blurs:EM,borders:_M,colors:CM,durations:RM,easings:zM,fonts:DM,fontSizes:OM,fontWeights:PM,letterSpacings:NM,lineHeights:IM,radii:LM,spacing:lA,sizes:WM,zIndex:GM,cursor:TM},semanticTokens:{colors:HP,shadows:GP,radii:WP},recipes:FP,slotRecipes:AM,textStyles:SM,layerStyles:AP,animationStyles:SP}}),c0=o2(h7,YM);V2(c0);const UM=()=>$.jsx(_t,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:$.jsxs(Ii,{p:6,h:"full",justify:"center",align:"center",children:[$.jsx(Cv,{color:"blue.500",size:"lg"}),$.jsx(Mr,{fontSize:"sm",color:"gray.600",textAlign:"center",children:"Loading your shopping assistant..."})]})}),ZM=()=>{var a,o;const{botData:e,isLoadingBot:n}=no();if(n)return $.jsx(UM,{});if(!e)return null;const r=(o=(a=e==null?void 0:e.white_label)==null?void 0:a.is_white_labeled)!=null?o:!1;return $.jsx(_t,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:$.jsxs(Ii,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[$.jsx(YO,{})," ",!r&&$.jsx(_t,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:$.jsx(UO,{variant:"default"})})]})})};function VM({sharingId:e,productId:n}){const{initializeBot:r,resetBot:a}=no(),o=Ae.useRef(void 0),u=Ae.useRef(void 0);Ae.useEffect(()=>{ll(null,null,function*(){(o.current&&e&&o.current!==e||u.current!==n)&&(a==null||a()),o.current=e,u.current=n,e&&(yield r(e,n))})},[e,n,r,a])}console.log("isDevelopment",!1);function XM(){const[e,n]=Ae.useState(""),[r,a]=Ae.useState(null);return VM({sharingId:e,productId:r}),Ae.useEffect(()=>{window.chatbotData?n(window.chatbotData.sharingID):yu("useEffect sharing ID",()=>{const o=()=>{const y=document.querySelector("script#dori-react-widget");return{sharingId:(y==null?void 0:y.getAttribute("data-sharing-id"))||"",productId:(y==null?void 0:y.getAttribute("data-product-id"))||null}},{sharingId:u,productId:c}=o();n(u),a(c);const m=document.querySelector("script#dori-react-widget");if(!m)return;const b=new MutationObserver(y=>{for(const A of y)if(A.type==="attributes"&&(A.attributeName==="data-sharing-id"||A.attributeName==="data-product-id")){const{sharingId:w,productId:k}=o();n(w),a(k),console.log("script data changed:",{sharingId:w,productId:k})}});return b.observe(m,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{b.disconnect()}})()},[]),$.jsx(_t,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",colorScheme:"light",children:$.jsx(ZM,{})})}function JM(){return $.jsx(XM,{})}var hg={};const KM=Di(wE),QM=Di(Jk);var wu={},gd={};/**
101
- * @license React
102
- * react-dom-server-legacy.browser.production.js
103
- *
104
- * Copyright (c) Meta Platforms, Inc. and affiliates.
105
- *
106
- * This source code is licensed under the MIT license found in the
107
- * LICENSE file in the root directory of this source tree.
108
- */var oA;function jM(){if(oA)return gd;oA=1;var e=uc(),n=uh();function r(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var S=2;S<arguments.length;S++)p+="&args[]="+encodeURIComponent(arguments[S])}return"Minified React error #"+d+"; visit "+p+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),y=Symbol.for("react.consumer"),A=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),H=Symbol.for("react.activity"),J=Symbol.for("react.legacy_hidden"),Y=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.for("react.view_transition"),j=Symbol.iterator,ee=Array.isArray;function Te(d,p){var S=d.length&3,C=d.length-S,O=p;for(p=0;p<C;){var L=d.charCodeAt(p)&255|(d.charCodeAt(++p)&255)<<8|(d.charCodeAt(++p)&255)<<16|(d.charCodeAt(++p)&255)<<24;++p,L=3432918353*(L&65535)+((3432918353*(L>>>16)&65535)<<16)&4294967295,L=L<<15|L>>>17,L=461845907*(L&65535)+((461845907*(L>>>16)&65535)<<16)&4294967295,O^=L,O=O<<13|O>>>19,O=5*(O&65535)+((5*(O>>>16)&65535)<<16)&4294967295,O=(O&65535)+27492+(((O>>>16)+58964&65535)<<16)}switch(L=0,S){case 3:L^=(d.charCodeAt(p+2)&255)<<16;case 2:L^=(d.charCodeAt(p+1)&255)<<8;case 1:L^=d.charCodeAt(p)&255,L=3432918353*(L&65535)+((3432918353*(L>>>16)&65535)<<16)&4294967295,L=L<<15|L>>>17,O^=461845907*(L&65535)+((461845907*(L>>>16)&65535)<<16)&4294967295}return O^=d.length,O^=O>>>16,O=2246822507*(O&65535)+((2246822507*(O>>>16)&65535)<<16)&4294967295,O^=O>>>13,O=3266489909*(O&65535)+((3266489909*(O>>>16)&65535)<<16)&4294967295,(O^O>>>16)>>>0}var Se=Object.assign,me=Object.prototype.hasOwnProperty,q=RegExp("^[: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]*$"),Re={},fe={};function Pe(d){return me.call(fe,d)?!0:me.call(Re,d)?!1:q.test(d)?fe[d]=!0:(Re[d]=!0,!1)}var te=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ge=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),M=/["'&<>]/;function K(d){if(typeof d=="boolean"||typeof d=="number"||typeof d=="bigint")return""+d;d=""+d;var p=M.exec(d);if(p){var S="",C,O=0;for(C=p.index;C<d.length;C++){switch(d.charCodeAt(C)){case 34:p="&quot;";break;case 38:p="&amp;";break;case 39:p="&#x27;";break;case 60:p="&lt;";break;case 62:p="&gt;";break;default:continue}O!==C&&(S+=d.slice(O,C)),O=C+1,S+=p}d=O!==C?S+d.slice(O,C):S}return d}var ze=/([A-Z])/g,Ge=/^ms-/,E=/^[\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;function F(d){return E.test(""+d)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":d}var Oe=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,De={pending:!1,data:null,method:null,action:null},Le=B.d;B.d={f:Le.f,r:Le.r,D:Mn,C:Lc,L:_u,m:pl,X:ur,S:oo,M:Cu};var Ee=[],Ue=/(<\/|<)(s)(cript)/gi;function de(d,p,S,C){return""+p+(S==="s"?"\\u0073":"\\u0053")+C}function se(d,p,S,C,O){return{idPrefix:d===void 0?"":d,nextFormID:0,streamingFormat:0,bootstrapScriptContent:S,bootstrapScripts:C,bootstrapModules:O,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function ye(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function Ce(d,p,S){return{insertionMode:d,selectedValue:p,tagScope:S}}function Me(d,p,S){switch(p){case"noscript":return Ce(2,null,d.tagScope|1);case"select":return Ce(2,S.value!=null?S.value:S.defaultValue,d.tagScope);case"svg":return Ce(4,null,d.tagScope);case"picture":return Ce(2,null,d.tagScope|2);case"math":return Ce(5,null,d.tagScope);case"foreignObject":return Ce(2,null,d.tagScope);case"table":return Ce(6,null,d.tagScope);case"thead":case"tbody":case"tfoot":return Ce(7,null,d.tagScope);case"colgroup":return Ce(9,null,d.tagScope);case"tr":return Ce(8,null,d.tagScope);case"head":if(2>d.insertionMode)return Ce(3,null,d.tagScope);break;case"html":if(d.insertionMode===0)return Ce(1,null,d.tagScope)}return 6<=d.insertionMode||2>d.insertionMode?Ce(2,null,d.tagScope):d}var Je=new Map;function Tt(d,p){if(typeof p!="object")throw Error(r(62));var S=!0,C;for(C in p)if(me.call(p,C)){var O=p[C];if(O!=null&&typeof O!="boolean"&&O!==""){if(C.indexOf("--")===0){var L=K(C);O=K((""+O).trim())}else L=Je.get(C),L===void 0&&(L=K(C.replace(ze,"-$1").toLowerCase().replace(Ge,"-ms-")),Je.set(C,L)),O=typeof O=="number"?O===0||te.has(C)?""+O:O+"px":K((""+O).trim());S?(S=!1,d.push(' style="',L,":",O)):d.push(";",L,":",O)}}S||d.push('"')}function pn(d,p,S){S&&typeof S!="function"&&typeof S!="symbol"&&d.push(" ",p,'=""')}function mt(d,p,S){typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&d.push(" ",p,'="',K(S),'"')}var rn=K("javascript:throw new Error('React form unexpectedly submitted.')");function yi(d,p){this.push('<input type="hidden"'),ii(d),mt(this,"name",p),mt(this,"value",d),this.push("/>")}function ii(d){if(typeof d!="string")throw Error(r(480))}function On(d,p){if(typeof p.$$FORM_ACTION=="function"){var S=d.nextFormID++;d=d.idPrefix+S;try{var C=p.$$FORM_ACTION(d);if(C){var O=C.data;O!=null&&O.forEach(ii)}return C}catch(L){if(typeof L=="object"&&L!==null&&typeof L.then=="function")throw L}}return null}function mn(d,p,S,C,O,L,V,be){var ie=null;if(typeof C=="function"){var he=On(p,C);he!==null?(be=he.name,C=he.action||"",O=he.encType,L=he.method,V=he.target,ie=he.data):(d.push(" ","formAction",'="',rn,'"'),V=L=O=C=be=null,ys(p,S))}return be!=null&&St(d,"name",be),C!=null&&St(d,"formAction",C),O!=null&&St(d,"formEncType",O),L!=null&&St(d,"formMethod",L),V!=null&&St(d,"formTarget",V),ie}function St(d,p,S){switch(p){case"className":mt(d,"class",S);break;case"tabIndex":mt(d,"tabindex",S);break;case"dir":case"role":case"viewBox":case"width":case"height":mt(d,p,S);break;case"style":Tt(d,S);break;case"src":case"href":if(S==="")break;case"action":case"formAction":if(S==null||typeof S=="function"||typeof S=="symbol"||typeof S=="boolean")break;S=F(""+S),d.push(" ",p,'="',K(S),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":pn(d,p.toLowerCase(),S);break;case"xlinkHref":if(typeof S=="function"||typeof S=="symbol"||typeof S=="boolean")break;S=F(""+S),d.push(" ","xlink:href",'="',K(S),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof S!="function"&&typeof S!="symbol"&&d.push(" ",p,'="',K(S),'"');break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":S&&typeof S!="function"&&typeof S!="symbol"&&d.push(" ",p,'=""');break;case"capture":case"download":S===!0?d.push(" ",p,'=""'):S!==!1&&typeof S!="function"&&typeof S!="symbol"&&d.push(" ",p,'="',K(S),'"');break;case"cols":case"rows":case"size":case"span":typeof S!="function"&&typeof S!="symbol"&&!isNaN(S)&&1<=S&&d.push(" ",p,'="',K(S),'"');break;case"rowSpan":case"start":typeof S=="function"||typeof S=="symbol"||isNaN(S)||d.push(" ",p,'="',K(S),'"');break;case"xlinkActuate":mt(d,"xlink:actuate",S);break;case"xlinkArcrole":mt(d,"xlink:arcrole",S);break;case"xlinkRole":mt(d,"xlink:role",S);break;case"xlinkShow":mt(d,"xlink:show",S);break;case"xlinkTitle":mt(d,"xlink:title",S);break;case"xlinkType":mt(d,"xlink:type",S);break;case"xmlBase":mt(d,"xml:base",S);break;case"xmlLang":mt(d,"xml:lang",S);break;case"xmlSpace":mt(d,"xml:space",S);break;default:if((!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=ge.get(p)||p,Pe(p))){switch(typeof S){case"function":case"symbol":return;case"boolean":var C=p.toLowerCase().slice(0,5);if(C!=="data-"&&C!=="aria-")return}d.push(" ",p,'="',K(S),'"')}}}function Pn(d,p,S){if(p!=null){if(S!=null)throw Error(r(60));if(typeof p!="object"||!("__html"in p))throw Error(r(61));p=p.__html,p!=null&&d.push(""+p)}}function fl(d){var p="";return e.Children.forEach(d,function(S){S!=null&&(p+=S)}),p}function ys(d,p){(d.instructions&16)===0&&(d.instructions|=16,p.bootstrapChunks.unshift(p.startInlineScript,`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`,"<\/script>"))}function pe(d,p){d.push(gt("link"));for(var S in p)if(me.call(p,S)){var C=p[S];if(C!=null)switch(S){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"link"));default:St(d,S,C)}}return d.push("/>"),null}var Ne=/(<\/|<)(s)(tyle)/gi;function je(d,p,S,C){return""+p+(S==="s"?"\\73 ":"\\53 ")+C}function Ke(d,p,S){d.push(gt(S));for(var C in p)if(me.call(p,C)){var O=p[C];if(O!=null)switch(C){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,S));default:St(d,C,O)}}return d.push("/>"),null}function Ot(d,p){d.push(gt("title"));var S=null,C=null,O;for(O in p)if(me.call(p,O)){var L=p[O];if(L!=null)switch(O){case"children":S=L;break;case"dangerouslySetInnerHTML":C=L;break;default:St(d,O,L)}}return d.push(">"),p=Array.isArray(S)?2>S.length?S[0]:null:S,typeof p!="function"&&typeof p!="symbol"&&p!==null&&p!==void 0&&d.push(K(""+p)),Pn(d,C,S),d.push(la("title")),null}function Zn(d,p){d.push(gt("script"));var S=null,C=null,O;for(O in p)if(me.call(p,O)){var L=p[O];if(L!=null)switch(O){case"children":S=L;break;case"dangerouslySetInnerHTML":C=L;break;default:St(d,O,L)}}return d.push(">"),Pn(d,C,S),typeof S=="string"&&d.push((""+S).replace(Ue,de)),d.push(la("script")),null}function vi(d,p,S){d.push(gt(S));var C=S=null,O;for(O in p)if(me.call(p,O)){var L=p[O];if(L!=null)switch(O){case"children":S=L;break;case"dangerouslySetInnerHTML":C=L;break;default:St(d,O,L)}}return d.push(">"),Pn(d,C,S),S}function Kn(d,p,S){d.push(gt(S));var C=S=null,O;for(O in p)if(me.call(p,O)){var L=p[O];if(L!=null)switch(O){case"children":S=L;break;case"dangerouslySetInnerHTML":C=L;break;default:St(d,O,L)}}return d.push(">"),Pn(d,C,S),typeof S=="string"?(d.push(K(S)),null):S}var xi=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,mr=new Map;function gt(d){var p=mr.get(d);if(p===void 0){if(!xi.test(d))throw Error(r(65,d));p="<"+d,mr.set(d,p)}return p}function qt(d,p,S,C,O,L,V,be,ie,he){switch(p){case"div":case"span":case"svg":case"path":break;case"a":d.push(gt("a"));var He=null,Be=null,Ve;for(Ve in S)if(me.call(S,Ve)){var et=S[Ve];if(et!=null)switch(Ve){case"children":He=et;break;case"dangerouslySetInnerHTML":Be=et;break;case"href":et===""?mt(d,"href",""):St(d,Ve,et);break;default:St(d,Ve,et)}}if(d.push(">"),Pn(d,Be,He),typeof He=="string"){d.push(K(He));var qe=null}else qe=He;return qe;case"g":case"p":case"li":break;case"select":d.push(gt("select"));var ut=null,Ft=null,Ht;for(Ht in S)if(me.call(S,Ht)){var Wt=S[Ht];if(Wt!=null)switch(Ht){case"children":ut=Wt;break;case"dangerouslySetInnerHTML":Ft=Wt;break;case"defaultValue":case"value":break;default:St(d,Ht,Wt)}}return d.push(">"),Pn(d,Ft,ut),ut;case"option":var an=be.selectedValue;d.push(gt("option"));var Qe=null,An=null,xt=null,Nn=null,Qt;for(Qt in S)if(me.call(S,Qt)){var ct=S[Qt];if(ct!=null)switch(Qt){case"children":Qe=ct;break;case"selected":xt=ct;break;case"dangerouslySetInnerHTML":Nn=ct;break;case"value":An=ct;default:St(d,Qt,ct)}}if(an!=null){var Bt=An!==null?""+An:fl(Qe);if(ee(an)){for(var Hn=0;Hn<an.length;Hn++)if(""+an[Hn]===Bt){d.push(' selected=""');break}}else""+an===Bt&&d.push(' selected=""')}else xt&&d.push(' selected=""');return d.push(">"),Pn(d,Nn,Qe),Qe;case"textarea":d.push(gt("textarea"));var Sn=null,Ei=null,yr=null,In;for(In in S)if(me.call(S,In)){var er=S[In];if(er!=null)switch(In){case"children":yr=er;break;case"value":Sn=er;break;case"defaultValue":Ei=er;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:St(d,In,er)}}if(Sn===null&&Ei!==null&&(Sn=Ei),d.push(">"),yr!=null){if(Sn!=null)throw Error(r(92));if(ee(yr)){if(1<yr.length)throw Error(r(93));Sn=""+yr[0]}Sn=""+yr}return typeof Sn=="string"&&Sn[0]===`
109
- `&&d.push(`
110
- `),Sn!==null&&d.push(K(""+Sn)),null;case"input":d.push(gt("input"));var Cn=null,Yi=null,Vn=null,_i=null,ba=null,Ln=null,ya=null,li=null,$o=null,va;for(va in S)if(me.call(S,va)){var tr=S[va];if(tr!=null)switch(va){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"name":Cn=tr;break;case"formAction":Yi=tr;break;case"formEncType":Vn=tr;break;case"formMethod":_i=tr;break;case"formTarget":ba=tr;break;case"defaultChecked":$o=tr;break;case"defaultValue":ya=tr;break;case"checked":li=tr;break;case"value":Ln=tr;break;default:St(d,va,tr)}}var Ls=mn(d,C,O,Yi,Vn,_i,ba,Cn);return li!==null?pn(d,"checked",li):$o!==null&&pn(d,"checked",$o),Ln!==null?St(d,"value",Ln):ya!==null&&St(d,"value",ya),d.push("/>"),Ls!=null&&Ls.forEach(yi,d),null;case"button":d.push(gt("button"));var Dl=null,Ka=null,Qa=null,es=null,xa=null,kr=null,dr=null,Ci;for(Ci in S)if(me.call(S,Ci)){var Wn=S[Ci];if(Wn!=null)switch(Ci){case"children":Dl=Wn;break;case"dangerouslySetInnerHTML":Ka=Wn;break;case"name":Qa=Wn;break;case"formAction":es=Wn;break;case"formEncType":xa=Wn;break;case"formMethod":kr=Wn;break;case"formTarget":dr=Wn;break;default:St(d,Ci,Wn)}}var Ti=mn(d,C,O,es,xa,kr,dr,Qa);if(d.push(">"),Ti!=null&&Ti.forEach(yi,d),Pn(d,Ka,Dl),typeof Dl=="string"){d.push(K(Dl));var Jr=null}else Jr=Dl;return Jr;case"form":d.push(gt("form"));var ja=null,Ml=null,Ui=null,Gn=null,Dt=null,wt=null,oi;for(oi in S)if(me.call(S,oi)){var nr=S[oi];if(nr!=null)switch(oi){case"children":ja=nr;break;case"dangerouslySetInnerHTML":Ml=nr;break;case"action":Ui=nr;break;case"encType":Gn=nr;break;case"method":Dt=nr;break;case"target":wt=nr;break;default:St(d,oi,nr)}}var Tn=null,Zi=null;if(typeof Ui=="function"){var si=On(C,Ui);si!==null?(Ui=si.action||"",Gn=si.encType,Dt=si.method,wt=si.target,Tn=si.data,Zi=si.name):(d.push(" ","action",'="',rn,'"'),wt=Dt=Gn=Ui=null,ys(C,O))}if(Ui!=null&&St(d,"action",Ui),Gn!=null&&St(d,"encType",Gn),Dt!=null&&St(d,"method",Dt),wt!=null&&St(d,"target",wt),d.push(">"),Zi!==null&&(d.push('<input type="hidden"'),mt(d,"name",Zi),d.push("/>"),Tn!=null&&Tn.forEach(yi,d)),Pn(d,Ml,ja),typeof ja=="string"){d.push(K(ja));var Nl=null}else Nl=ja;return Nl;case"menuitem":d.push(gt("menuitem"));for(var Aa in S)if(me.call(S,Aa)){var Ri=S[Aa];if(Ri!=null)switch(Aa){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:St(d,Aa,Ri)}}return d.push(">"),null;case"object":d.push(gt("object"));var zi=null,ui=null,Yn;for(Yn in S)if(me.call(S,Yn)){var vr=S[Yn];if(vr!=null)switch(Yn){case"children":zi=vr;break;case"dangerouslySetInnerHTML":ui=vr;break;case"data":var Oi=F(""+vr);if(Oi==="")break;d.push(" ","data",'="',K(Oi),'"');break;default:St(d,Yn,vr)}}if(d.push(">"),Pn(d,ui,zi),typeof zi=="string"){d.push(K(zi));var Vi=null}else Vi=zi;return Vi;case"title":if(be.insertionMode===4||be.tagScope&1||S.itemProp!=null)var Er=Ot(d,S);else he?Er=null:(Ot(O.hoistableChunks,S),Er=void 0);return Er;case"link":var ts=S.rel,Rn=S.href,Xi=S.precedence;if(be.insertionMode===4||be.tagScope&1||S.itemProp!=null||typeof ts!="string"||typeof Rn!="string"||Rn===""){pe(d,S);var Ji=null}else if(S.rel==="stylesheet")if(typeof Xi!="string"||S.disabled!=null||S.onLoad||S.onError)Ji=pe(d,S);else{var _r=O.styles.get(Xi),Bn=C.styleResources.hasOwnProperty(Rn)?C.styleResources[Rn]:void 0;if(Bn!==null){C.styleResources[Rn]=null,_r||(_r={precedence:K(Xi),rules:[],hrefs:[],sheets:new Map},O.styles.set(Xi,_r));var qa={state:0,props:Se({},S,{"data-precedence":S.precedence,precedence:null})};if(Bn){Bn.length===2&&ml(qa.props,Bn);var Cr=O.preloads.stylesheets.get(Rn);Cr&&0<Cr.length?Cr.length=0:qa.state=1}_r.sheets.set(Rn,qa),V&&V.stylesheets.add(qa)}else if(_r){var jc=_r.sheets.get(Rn);jc&&V&&V.stylesheets.add(jc)}ie&&d.push("<!-- -->"),Ji=null}else S.onLoad||S.onError?Ji=pe(d,S):(ie&&d.push("<!-- -->"),Ji=he?null:pe(O.hoistableChunks,S));return Ji;case"script":var Il=S.async;if(typeof S.src!="string"||!S.src||!Il||typeof Il=="function"||typeof Il=="symbol"||S.onLoad||S.onError||be.insertionMode===4||be.tagScope&1||S.itemProp!=null)var Lu=Zn(d,S);else{var ln=S.src;if(S.type==="module")var $a=C.moduleScriptResources,Sa=O.preloads.moduleScripts;else $a=C.scriptResources,Sa=O.preloads.scripts;var ci=$a.hasOwnProperty(ln)?$a[ln]:void 0;if(ci!==null){$a[ln]=null;var Ll=S;if(ci){ci.length===2&&(Ll=Se({},S),ml(Ll,ci));var wa=Sa.get(ln);wa&&(wa.length=0)}var ka=[];O.scripts.add(ka),Zn(ka,Ll)}ie&&d.push("<!-- -->"),Lu=null}return Lu;case"style":var ns=S.precedence,fi=S.href;if(be.insertionMode===4||be.tagScope&1||S.itemProp!=null||typeof ns!="string"||typeof fi!="string"||fi===""){d.push(gt("style"));var Ea=null,Bl=null,Kr;for(Kr in S)if(me.call(S,Kr)){var Fl=S[Kr];if(Fl!=null)switch(Kr){case"children":Ea=Fl;break;case"dangerouslySetInnerHTML":Bl=Fl;break;default:St(d,Kr,Fl)}}d.push(">");var _a=Array.isArray(Ea)?2>Ea.length?Ea[0]:null:Ea;typeof _a!="function"&&typeof _a!="symbol"&&_a!==null&&_a!==void 0&&d.push((""+_a).replace(Ne,je)),Pn(d,Bl,Ea),d.push(la("style"));var mo=null}else{var di=O.styles.get(ns);if((C.styleResources.hasOwnProperty(fi)?C.styleResources[fi]:void 0)!==null){C.styleResources[fi]=null,di?di.hrefs.push(K(fi)):(di={precedence:K(ns),rules:[],hrefs:[K(fi)],sheets:new Map},O.styles.set(ns,di));var Ca=di.rules,Ki=null,Ta=null,bo;for(bo in S)if(me.call(S,bo)){var f=S[bo];if(f!=null)switch(bo){case"children":Ki=f;break;case"dangerouslySetInnerHTML":Ta=f}}var h=Array.isArray(Ki)?2>Ki.length?Ki[0]:null:Ki;typeof h!="function"&&typeof h!="symbol"&&h!==null&&h!==void 0&&Ca.push((""+h).replace(Ne,je)),Pn(Ca,Ta,Ki)}di&&V&&V.styles.add(di),ie&&d.push("<!-- -->"),mo=void 0}return mo;case"meta":if(be.insertionMode===4||be.tagScope&1||S.itemProp!=null)var x=Ke(d,S,"meta");else ie&&d.push("<!-- -->"),x=he?null:typeof S.charSet=="string"?Ke(O.charsetChunks,S,"meta"):S.name==="viewport"?Ke(O.viewportChunks,S,"meta"):Ke(O.hoistableChunks,S,"meta");return x;case"listing":case"pre":d.push(gt(p));var T=null,z=null,I;for(I in S)if(me.call(S,I)){var Z=S[I];if(Z!=null)switch(I){case"children":T=Z;break;case"dangerouslySetInnerHTML":z=Z;break;default:St(d,I,Z)}}if(d.push(">"),z!=null){if(T!=null)throw Error(r(60));if(typeof z!="object"||!("__html"in z))throw Error(r(61));var le=z.__html;le!=null&&(typeof le=="string"&&0<le.length&&le[0]===`
111
- `?d.push(`
112
- `,le):d.push(""+le))}return typeof T=="string"&&T[0]===`
113
- `&&d.push(`
114
- `),T;case"img":var X=S.src,re=S.srcSet;if(!(S.loading==="lazy"||!X&&!re||typeof X!="string"&&X!=null||typeof re!="string"&&re!=null)&&S.fetchPriority!=="low"&&!(be.tagScope&3)&&(typeof X!="string"||X[4]!==":"||X[0]!=="d"&&X[0]!=="D"||X[1]!=="a"&&X[1]!=="A"||X[2]!=="t"&&X[2]!=="T"||X[3]!=="a"&&X[3]!=="A")&&(typeof re!="string"||re[4]!==":"||re[0]!=="d"&&re[0]!=="D"||re[1]!=="a"&&re[1]!=="A"||re[2]!=="t"&&re[2]!=="T"||re[3]!=="a"&&re[3]!=="A")){var Ie=typeof S.sizes=="string"?S.sizes:void 0,xe=re?re+`
115
- `+(Ie||""):X,Ye=O.preloads.images,Ze=Ye.get(xe);if(Ze)(S.fetchPriority==="high"||10>O.highImagePreloads.size)&&(Ye.delete(xe),O.highImagePreloads.add(Ze));else if(!C.imageResources.hasOwnProperty(xe)){C.imageResources[xe]=Ee;var $e=S.crossOrigin,ft=typeof $e=="string"?$e==="use-credentials"?$e:"":void 0,Vt=O.headers,$t;Vt&&0<Vt.remainingCapacity&&typeof S.srcSet!="string"&&(S.fetchPriority==="high"||500>Vt.highImagePreloads.length)&&($t=sa(X,"image",{imageSrcSet:S.srcSet,imageSizes:S.sizes,crossOrigin:ft,integrity:S.integrity,nonce:S.nonce,type:S.type,fetchPriority:S.fetchPriority,referrerPolicy:S.refererPolicy}),0<=(Vt.remainingCapacity-=$t.length+2))?(O.resets.image[xe]=Ee,Vt.highImagePreloads&&(Vt.highImagePreloads+=", "),Vt.highImagePreloads+=$t):(Ze=[],pe(Ze,{rel:"preload",as:"image",href:re?void 0:X,imageSrcSet:re,imageSizes:Ie,crossOrigin:ft,integrity:S.integrity,type:S.type,fetchPriority:S.fetchPriority,referrerPolicy:S.referrerPolicy}),S.fetchPriority==="high"||10>O.highImagePreloads.size?O.highImagePreloads.add(Ze):(O.bulkPreloads.add(Ze),Ye.set(xe,Ze)))}}return Ke(d,S,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return Ke(d,S,p);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":break;case"head":if(2>be.insertionMode){var At=L||O.preamble;if(At.headChunks)throw Error(r(545,"`<head>`"));At.headChunks=[];var rr=vi(At.headChunks,S,"head")}else rr=Kn(d,S,"head");return rr;case"body":if(2>be.insertionMode){var bn=L||O.preamble;if(bn.bodyChunks)throw Error(r(545,"`<body>`"));bn.bodyChunks=[];var hr=vi(bn.bodyChunks,S,"body")}else hr=Kn(d,S,"body");return hr;case"html":if(be.insertionMode===0){var on=L||O.preamble;if(on.htmlChunks)throw Error(r(545,"`<html>`"));on.htmlChunks=[""];var at=vi(on.htmlChunks,S,"html")}else at=Kn(d,S,"html");return at;default:if(p.indexOf("-")!==-1){d.push(gt(p));var pt=null,bt=null,wn;for(wn in S)if(me.call(S,wn)){var Xt=S[wn];if(Xt!=null){var kn=wn;switch(wn){case"children":pt=Xt;break;case"dangerouslySetInnerHTML":bt=Xt;break;case"style":Tt(d,Xt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":kn="class";default:if(Pe(wn)&&typeof Xt!="function"&&typeof Xt!="symbol"&&Xt!==!1){if(Xt===!0)Xt="";else if(typeof Xt=="object")continue;d.push(" ",kn,'="',K(Xt),'"')}}}}return d.push(">"),Pn(d,bt,pt),pt}}return Kn(d,S,p)}var Lr=new Map;function la(d){var p=Lr.get(d);return p===void 0&&(p="</"+d+">",Lr.set(d,p)),p}function Ai(d,p){d=d.preamble,d.htmlChunks===null&&p.htmlChunks&&(d.htmlChunks=p.htmlChunks,p.contribution|=1),d.headChunks===null&&p.headChunks&&(d.headChunks=p.headChunks,p.contribution|=4),d.bodyChunks===null&&p.bodyChunks&&(d.bodyChunks=p.bodyChunks,p.contribution|=2)}function Io(d,p){p=p.bootstrapChunks;for(var S=0;S<p.length-1;S++)d.push(p[S]);return S<p.length?(S=p[S],p.length=0,d.push(S)):!0}function dl(d,p,S){if(d.push('<!--$?--><template id="'),S===null)throw Error(r(395));return d.push(p.boundaryPrefix),p=S.toString(16),d.push(p),d.push('"></template>')}function Nc(d,p){p=p.contribution,p!==0&&(d.push("<!--"),d.push(""+p),d.push("-->"))}function ku(d,p,S,C){switch(S.insertionMode){case 0:case 1:case 3:case 2:return d.push('<div hidden id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 4:return d.push('<svg aria-hidden="true" style="display:none" id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 5:return d.push('<math aria-hidden="true" style="display:none" id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 6:return d.push('<table hidden id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 7:return d.push('<table hidden><tbody id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 8:return d.push('<table hidden><tr id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');case 9:return d.push('<table hidden><colgroup id="'),d.push(p.segmentPrefix),p=C.toString(16),d.push(p),d.push('">');default:throw Error(r(397))}}function Ic(d,p){switch(p.insertionMode){case 0:case 1:case 3:case 2:return d.push("</div>");case 4:return d.push("</svg>");case 5:return d.push("</math>");case 6:return d.push("</table>");case 7:return d.push("</tbody></table>");case 8:return d.push("</tr></table>");case 9:return d.push("</colgroup></table>");default:throw Error(r(397))}}var vs=/[<\u2028\u2029]/g;function Qn(d){return JSON.stringify(d).replace(vs,function(p){switch(p){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Br=/[&><\u2028\u2029]/g;function jn(d){return JSON.stringify(d).replace(Br,function(p){switch(p){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Fr=!1,Dn=!0;function Lt(d){var p=d.rules,S=d.hrefs,C=0;if(S.length){for(this.push('<style media="not all" data-precedence="'),this.push(d.precedence),this.push('" data-href="');C<S.length-1;C++)this.push(S[C]),this.push(" ");for(this.push(S[C]),this.push('">'),C=0;C<p.length;C++)this.push(p[C]);Dn=this.push("</style>"),Fr=!0,p.length=0,S.length=0}}function hl(d){return d.state!==2?Fr=!0:!1}function Lo(d,p,S){return Fr=!1,Dn=!0,p.styles.forEach(Lt,d),p.stylesheets.forEach(hl),Fr&&(S.stylesToHoist=!0),Dn}function Hr(d){for(var p=0;p<d.length;p++)this.push(d[p]);d.length=0}var oa=[];function Eu(d){pe(oa,d.props);for(var p=0;p<oa.length;p++)this.push(oa[p]);oa.length=0,d.state=2}function lo(d){var p=0<d.sheets.size;d.sheets.forEach(Eu,this),d.sheets.clear();var S=d.rules,C=d.hrefs;if(!p||C.length){if(this.push('<style data-precedence="'),this.push(d.precedence),d=0,C.length){for(this.push('" data-href="');d<C.length-1;d++)this.push(C[d]),this.push(" ");this.push(C[d])}for(this.push('">'),d=0;d<S.length;d++)this.push(S[d]);this.push("</style>"),S.length=0,C.length=0}}function Pt(d){if(d.state===0){d.state=1;var p=d.props;for(pe(oa,{rel:"preload",as:"style",href:d.props.href,crossOrigin:p.crossOrigin,fetchPriority:p.fetchPriority,integrity:p.integrity,media:p.media,hrefLang:p.hrefLang,referrerPolicy:p.referrerPolicy}),d=0;d<oa.length;d++)this.push(oa[d]);oa.length=0}}function _n(d){d.sheets.forEach(Pt,this),d.sheets.clear()}function Hi(d,p){d.push("[");var S="[";p.stylesheets.forEach(function(C){if(C.state!==2)if(C.state===3)d.push(S),C=jn(""+C.props.href),d.push(C),d.push("]"),S=",[";else{d.push(S);var O=C.props["data-precedence"],L=C.props,V=F(""+C.props.href);V=jn(V),d.push(V),O=""+O,d.push(","),O=jn(O),d.push(O);for(var be in L)if(me.call(L,be)&&(O=L[be],O!=null))switch(be){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"link"));default:qn(d,be,O)}d.push("]"),S=",[",C.state=3}}),d.push("]")}function qn(d,p,S){var C=p.toLowerCase();switch(typeof S){case"function":case"symbol":return}switch(p){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":C="class",p=""+S;break;case"hidden":if(S===!1)return;p="";break;case"src":case"href":S=F(S),p=""+S;break;default:if(2<p.length&&(p[0]==="o"||p[0]==="O")&&(p[1]==="n"||p[1]==="N")||!Pe(p))return;p=""+S}d.push(","),C=jn(C),d.push(C),d.push(","),C=jn(p),d.push(C)}function gl(){return{styles:new Set,stylesheets:new Set}}function Mn(d){var p=$n||null;if(p){var S=p.resumableState,C=p.renderState;if(typeof d=="string"&&d){if(!S.dnsResources.hasOwnProperty(d)){S.dnsResources[d]=null,S=C.headers;var O,L;(L=S&&0<S.remainingCapacity)&&(L=(O="<"+(""+d).replace(bl,ua)+">; rel=dns-prefetch",0<=(S.remainingCapacity-=O.length+2))),L?(C.resets.dns[d]=null,S.preconnects&&(S.preconnects+=", "),S.preconnects+=O):(O=[],pe(O,{href:d,rel:"dns-prefetch"}),C.preconnects.add(O))}Pl(p)}}else Le.D(d)}function Lc(d,p){var S=$n||null;if(S){var C=S.resumableState,O=S.renderState;if(typeof d=="string"&&d){var L=p==="use-credentials"?"credentials":typeof p=="string"?"anonymous":"default";if(!C.connectResources[L].hasOwnProperty(d)){C.connectResources[L][d]=null,C=O.headers;var V,be;if(be=C&&0<C.remainingCapacity){if(be="<"+(""+d).replace(bl,ua)+">; rel=preconnect",typeof p=="string"){var ie=(""+p).replace(Wr,Wa);be+='; crossorigin="'+ie+'"'}be=(V=be,0<=(C.remainingCapacity-=V.length+2))}be?(O.resets.connect[L][d]=null,C.preconnects&&(C.preconnects+=", "),C.preconnects+=V):(L=[],pe(L,{rel:"preconnect",href:d,crossOrigin:p}),O.preconnects.add(L))}Pl(S)}}else Le.C(d,p)}function _u(d,p,S){var C=$n||null;if(C){var O=C.resumableState,L=C.renderState;if(p&&d){switch(p){case"image":if(S)var V=S.imageSrcSet,be=S.imageSizes,ie=S.fetchPriority;var he=V?V+`
116
- `+(be||""):d;if(O.imageResources.hasOwnProperty(he))return;O.imageResources[he]=Ee,O=L.headers;var He;O&&0<O.remainingCapacity&&typeof V!="string"&&ie==="high"&&(He=sa(d,p,S),0<=(O.remainingCapacity-=He.length+2))?(L.resets.image[he]=Ee,O.highImagePreloads&&(O.highImagePreloads+=", "),O.highImagePreloads+=He):(O=[],pe(O,Se({rel:"preload",href:V?void 0:d,as:p},S)),ie==="high"?L.highImagePreloads.add(O):(L.bulkPreloads.add(O),L.preloads.images.set(he,O)));break;case"style":if(O.styleResources.hasOwnProperty(d))return;V=[],pe(V,Se({rel:"preload",href:d,as:p},S)),O.styleResources[d]=!S||typeof S.crossOrigin!="string"&&typeof S.integrity!="string"?Ee:[S.crossOrigin,S.integrity],L.preloads.stylesheets.set(d,V),L.bulkPreloads.add(V);break;case"script":if(O.scriptResources.hasOwnProperty(d))return;V=[],L.preloads.scripts.set(d,V),L.bulkPreloads.add(V),pe(V,Se({rel:"preload",href:d,as:p},S)),O.scriptResources[d]=!S||typeof S.crossOrigin!="string"&&typeof S.integrity!="string"?Ee:[S.crossOrigin,S.integrity];break;default:if(O.unknownResources.hasOwnProperty(p)){if(V=O.unknownResources[p],V.hasOwnProperty(d))return}else V={},O.unknownResources[p]=V;if(V[d]=Ee,(O=L.headers)&&0<O.remainingCapacity&&p==="font"&&(he=sa(d,p,S),0<=(O.remainingCapacity-=he.length+2)))L.resets.font[d]=Ee,O.fontPreloads&&(O.fontPreloads+=", "),O.fontPreloads+=he;else switch(O=[],d=Se({rel:"preload",href:d,as:p},S),pe(O,d),p){case"font":L.fontPreloads.add(O);break;default:L.bulkPreloads.add(O)}}Pl(C)}}else Le.L(d,p,S)}function pl(d,p){var S=$n||null;if(S){var C=S.resumableState,O=S.renderState;if(d){var L=p&&typeof p.as=="string"?p.as:"script";switch(L){case"script":if(C.moduleScriptResources.hasOwnProperty(d))return;L=[],C.moduleScriptResources[d]=!p||typeof p.crossOrigin!="string"&&typeof p.integrity!="string"?Ee:[p.crossOrigin,p.integrity],O.preloads.moduleScripts.set(d,L);break;default:if(C.moduleUnknownResources.hasOwnProperty(L)){var V=C.unknownResources[L];if(V.hasOwnProperty(d))return}else V={},C.moduleUnknownResources[L]=V;L=[],V[d]=Ee}pe(L,Se({rel:"modulepreload",href:d},p)),O.bulkPreloads.add(L),Pl(S)}}else Le.m(d,p)}function oo(d,p,S){var C=$n||null;if(C){var O=C.resumableState,L=C.renderState;if(d){p=p||"default";var V=L.styles.get(p),be=O.styleResources.hasOwnProperty(d)?O.styleResources[d]:void 0;be!==null&&(O.styleResources[d]=null,V||(V={precedence:K(p),rules:[],hrefs:[],sheets:new Map},L.styles.set(p,V)),p={state:0,props:Se({rel:"stylesheet",href:d,"data-precedence":p},S)},be&&(be.length===2&&ml(p.props,be),(L=L.preloads.stylesheets.get(d))&&0<L.length?L.length=0:p.state=1),V.sheets.set(d,p),Pl(C))}}else Le.S(d,p,S)}function ur(d,p){var S=$n||null;if(S){var C=S.resumableState,O=S.renderState;if(d){var L=C.scriptResources.hasOwnProperty(d)?C.scriptResources[d]:void 0;L!==null&&(C.scriptResources[d]=null,p=Se({src:d,async:!0},p),L&&(L.length===2&&ml(p,L),d=O.preloads.scripts.get(d))&&(d.length=0),d=[],O.scripts.add(d),Zn(d,p),Pl(S))}}else Le.X(d,p)}function Cu(d,p){var S=$n||null;if(S){var C=S.resumableState,O=S.renderState;if(d){var L=C.moduleScriptResources.hasOwnProperty(d)?C.moduleScriptResources[d]:void 0;L!==null&&(C.moduleScriptResources[d]=null,p=Se({src:d,type:"module",async:!0},p),L&&(L.length===2&&ml(p,L),d=O.preloads.moduleScripts.get(d))&&(d.length=0),d=[],O.scripts.add(d),Zn(d,p),Pl(S))}}else Le.M(d,p)}function ml(d,p){d.crossOrigin==null&&(d.crossOrigin=p[0]),d.integrity==null&&(d.integrity=p[1])}function sa(d,p,S){d=(""+d).replace(bl,ua),p=(""+p).replace(Wr,Wa),p="<"+d+'>; rel=preload; as="'+p+'"';for(var C in S)me.call(S,C)&&(d=S[C],typeof d=="string"&&(p+="; "+C.toLowerCase()+'="'+(""+d).replace(Wr,Wa)+'"'));return p}var bl=/[<>\r\n]/g;function ua(d){switch(d){case"<":return"%3C";case">":return"%3E";case`
117
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var Wr=/["';,\r\n]/g;function Wa(d){switch(d){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
118
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Bo(d){this.styles.add(d)}function yl(d){this.stylesheets.add(d)}function xs(d,p){var S=d.idPrefix,C=[],O=d.bootstrapScriptContent,L=d.bootstrapScripts,V=d.bootstrapModules;O!==void 0&&C.push("<script>",(""+O).replace(Ue,de),"<\/script>"),O=S+"P:";var be=S+"S:";S+="B:";var ie=ye(),he=new Set,He=new Set,Be=new Set,Ve=new Map,et=new Set,qe=new Set,ut=new Set,Ft={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(L!==void 0)for(var Ht=0;Ht<L.length;Ht++){var Wt=L[Ht],an,Qe=void 0,An=void 0,xt={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof Wt=="string"?xt.href=an=Wt:(xt.href=an=Wt.src,xt.integrity=An=typeof Wt.integrity=="string"?Wt.integrity:void 0,xt.crossOrigin=Qe=typeof Wt=="string"||Wt.crossOrigin==null?void 0:Wt.crossOrigin==="use-credentials"?"use-credentials":""),Wt=d;var Nn=an;Wt.scriptResources[Nn]=null,Wt.moduleScriptResources[Nn]=null,Wt=[],pe(Wt,xt),et.add(Wt),C.push('<script src="',K(an)),typeof An=="string"&&C.push('" integrity="',K(An)),typeof Qe=="string"&&C.push('" crossorigin="',K(Qe)),C.push('" async=""><\/script>')}if(V!==void 0)for(L=0;L<V.length;L++)xt=V[L],Qe=an=void 0,An={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof xt=="string"?An.href=Ht=xt:(An.href=Ht=xt.src,An.integrity=Qe=typeof xt.integrity=="string"?xt.integrity:void 0,An.crossOrigin=an=typeof xt=="string"||xt.crossOrigin==null?void 0:xt.crossOrigin==="use-credentials"?"use-credentials":""),xt=d,Wt=Ht,xt.scriptResources[Wt]=null,xt.moduleScriptResources[Wt]=null,xt=[],pe(xt,An),et.add(xt),C.push('<script type="module" src="',K(Ht)),typeof Qe=="string"&&C.push('" integrity="',K(Qe)),typeof an=="string"&&C.push('" crossorigin="',K(an)),C.push('" async=""><\/script>');return{placeholderPrefix:O,segmentPrefix:be,boundaryPrefix:S,startInlineScript:"<script>",preamble:ie,externalRuntimeScript:null,bootstrapChunks:C,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:he,fontPreloads:He,highImagePreloads:Be,styles:Ve,bootstrapScripts:et,scripts:qe,bulkPreloads:ut,preloads:Ft,stylesToHoist:!1,generateStaticMarkup:p}}function xn(d,p,S,C){return S.generateStaticMarkup?(d.push(K(p)),!1):(p===""?d=C:(C&&d.push("<!-- -->"),d.push(K(p)),d=!0),d)}function Tu(d,p,S,C){p.generateStaticMarkup||S&&C&&d.push("<!-- -->")}var Bc=Function.prototype.bind,Gr=Symbol.for("react.client.reference");function Si(d){if(d==null)return null;if(typeof d=="function")return d.$$typeof===Gr?null:d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case u:return"Fragment";case m:return"Profiler";case c:return"StrictMode";case k:return"Suspense";case _:return"SuspenseList";case H:return"Activity"}if(typeof d=="object")switch(d.$$typeof){case o:return"Portal";case A:return(d.displayName||"Context")+".Provider";case y:return(d._context.displayName||"Context")+".Consumer";case w:var p=d.render;return d=d.displayName,d||(d=p.displayName||p.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case P:return p=d.displayName||null,p!==null?p:Si(d.type)||"Memo";case N:p=d._payload,d=d._init;try{return Si(d(p))}catch(S){}}return null}var Ru={},wi=null;function Fo(d,p){if(d!==p){d.context._currentValue2=d.parentValue,d=d.parent;var S=p.parent;if(d===null){if(S!==null)throw Error(r(401))}else{if(S===null)throw Error(r(401));Fo(d,S)}p.context._currentValue2=p.value}}function Ho(d){d.context._currentValue2=d.parentValue,d=d.parent,d!==null&&Ho(d)}function Fc(d){var p=d.parent;p!==null&&Fc(p),d.context._currentValue2=d.value}function Yr(d,p){if(d.context._currentValue2=d.parentValue,d=d.parent,d===null)throw Error(r(402));d.depth===p.depth?Fo(d,p):Yr(d,p)}function As(d,p){var S=p.parent;if(S===null)throw Error(r(402));d.depth===S.depth?Fo(d,S):As(d,S),p.context._currentValue2=p.value}function ca(d){var p=wi;p!==d&&(p===null?Fc(d):d===null?Ho(p):p.depth===d.depth?Fo(p,d):p.depth>d.depth?Yr(p,d):As(p,d),wi=d)}var vl={enqueueSetState:function(d,p){d=d._reactInternals,d.queue!==null&&d.queue.push(p)},enqueueReplaceState:function(d,p){d=d._reactInternals,d.replace=!0,d.queue=[p]},enqueueForceUpdate:function(){}},so={id:1,overflow:""};function Ss(d,p,S){var C=d.id;d=d.overflow;var O=32-Wo(C)-1;C&=~(1<<O),S+=1;var L=32-Wo(p)+O;if(30<L){var V=O-O%5;return L=(C&(1<<V)-1).toString(32),C>>=V,O-=V,{id:1<<32-Wo(p)+O|S<<O|C,overflow:L+d}}return{id:1<<L|S<<O|C,overflow:d}}var Wo=Math.clz32?Math.clz32:Wc,uo=Math.log,Hc=Math.LN2;function Wc(d){return d>>>=0,d===0?32:31-(uo(d)/Hc|0)|0}var Ga=Error(r(460));function xl(){}function md(d,p,S){switch(S=d[S],S===void 0?d.push(p):S!==p&&(p.then(xl,xl),p=S),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(xl,xl):(d=p,d.status="pending",d.then(function(C){if(p.status==="pending"){var O=p;O.status="fulfilled",O.value=C}},function(C){if(p.status==="pending"){var O=p;O.status="rejected",O.reason=C}})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}throw ws=p,Ga}}var ws=null;function Al(){if(ws===null)throw Error(r(459));var d=ws;return ws=null,d}function zu(d,p){return d===p&&(d!==0||1/d===1/p)||d!==d&&p!==p}var Ou=typeof Object.is=="function"?Object.is:zu,Sr=null,Ya=null,ks=null,Go=null,Yo=null,Nt=null,Ur=!1,co=!1,fa=0,ai=0,Sl=-1,wl=0,kl=null,ki=null,El=0;function Wi(){if(Sr===null)throw Error(r(321));return Sr}function br(){if(0<El)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function da(){return Nt===null?Yo===null?(Ur=!1,Yo=Nt=br()):(Ur=!0,Nt=Yo):Nt.next===null?(Ur=!1,Nt=Nt.next=br()):(Ur=!0,Nt=Nt.next),Nt}function ha(){var d=kl;return kl=null,d}function ga(){Go=ks=Ya=Sr=null,co=!1,Yo=null,El=0,Nt=ki=null}function Gc(d,p){return typeof p=="function"?p(d):p}function Es(d,p,S){if(Sr=Wi(),Nt=da(),Ur){var C=Nt.queue;if(p=C.dispatch,ki!==null&&(S=ki.get(C),S!==void 0)){ki.delete(C),C=Nt.memoizedState;do C=d(C,S.action),S=S.next;while(S!==null);return Nt.memoizedState=C,[C,p]}return[Nt.memoizedState,p]}return d=d===Gc?typeof p=="function"?p():p:S!==void 0?S(p):p,Nt.memoizedState=d,d=Nt.queue={last:null,dispatch:null},d=d.dispatch=Uo.bind(null,Sr,d),[Nt.memoizedState,d]}function _s(d,p){if(Sr=Wi(),Nt=da(),p=p===void 0?null:p,Nt!==null){var S=Nt.memoizedState;if(S!==null&&p!==null){var C=S[1];e:if(C===null)C=!1;else{for(var O=0;O<C.length&&O<p.length;O++)if(!Ou(p[O],C[O])){C=!1;break e}C=!0}if(C)return S[0]}}return d=d(),Nt.memoizedState=[d,p],d}function Uo(d,p,S){if(25<=El)throw Error(r(301));if(d===Sr)if(co=!0,d={action:S,next:null},ki===null&&(ki=new Map),S=ki.get(p),S===void 0)ki.set(p,d);else{for(p=S;p.next!==null;)p=p.next;p.next=d}}function Cs(){throw Error(r(394))}function Yc(){throw Error(r(479))}function Uc(d,p,S){Wi();var C=ai++,O=ks;if(typeof d.$$FORM_ACTION=="function"){var L=null,V=Go;O=O.formState;var be=d.$$IS_SIGNATURE_EQUAL;if(O!==null&&typeof be=="function"){var ie=O[1];be.call(d,O[2],O[3])&&(L=S!==void 0?"p"+S:"k"+Te(JSON.stringify([V,null,C]),0),ie===L&&(Sl=C,p=O[0]))}var he=d.bind(null,p);return d=function(Be){he(Be)},typeof he.$$FORM_ACTION=="function"&&(d.$$FORM_ACTION=function(Be){Be=he.$$FORM_ACTION(Be),S!==void 0&&(S+="",Be.action=S);var Ve=Be.data;return Ve&&(L===null&&(L=S!==void 0?"p"+S:"k"+Te(JSON.stringify([V,null,C]),0)),Ve.append("$ACTION_KEY",L)),Be}),[p,d,!1]}var He=d.bind(null,p);return[p,function(Be){He(Be)},!1]}function Zc(d){var p=wl;return wl+=1,kl===null&&(kl=[]),md(kl,d,p)}function bd(){throw Error(r(393))}function _l(){}var Vc={readContext:function(d){return d._currentValue2},use:function(d){if(d!==null&&typeof d=="object"){if(typeof d.then=="function")return Zc(d);if(d.$$typeof===A)return d._currentValue2}throw Error(r(438,String(d)))},useContext:function(d){return Wi(),d._currentValue2},useMemo:_s,useReducer:Es,useRef:function(d){Sr=Wi(),Nt=da();var p=Nt.memoizedState;return p===null?(d={current:d},Nt.memoizedState=d):p},useState:function(d){return Es(Gc,d)},useInsertionEffect:_l,useLayoutEffect:_l,useCallback:function(d,p){return _s(function(){return d},p)},useImperativeHandle:_l,useEffect:_l,useDebugValue:_l,useDeferredValue:function(d,p){return Wi(),p!==void 0?p:d},useTransition:function(){return Wi(),[!1,Cs]},useId:function(){var d=Ya.treeContext,p=d.overflow;d=d.id,d=(d&~(1<<32-Wo(d)-1)).toString(32)+p;var S=Ts;if(S===null)throw Error(r(404));return p=fa++,d="«"+S.idPrefix+"R"+d,0<p&&(d+="H"+p.toString(32)),d+"»"},useSyncExternalStore:function(d,p,S){if(S===void 0)throw Error(r(407));return S()},useOptimistic:function(d){return Wi(),[d,Yc]},useActionState:Uc,useFormState:Uc,useHostTransitionStatus:function(){return Wi(),De},useMemoCache:function(d){for(var p=Array(d),S=0;S<d;S++)p[S]=Y;return p},useCacheRefresh:function(){return bd}},Ts=null,yd={getCacheForType:function(){throw Error(r(248))}},Pu,Xc;function Cl(d){if(Pu===void 0)try{throw Error()}catch(S){var p=S.stack.trim().match(/\n( *(at )?)/);Pu=p&&p[1]||"",Xc=-1<S.stack.indexOf(`
119
- at`)?" (<anonymous>)":-1<S.stack.indexOf("@")?"@unknown:0:0":""}return`
120
- `+Pu+d+Xc}var Du=!1;function Rs(d,p){if(!d||Du)return"";Du=!0;var S=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var C={DetermineComponentFrameRoot:function(){try{if(p){var Be=function(){throw Error()};if(Object.defineProperty(Be.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Be,[])}catch(et){var Ve=et}Reflect.construct(d,[],Be)}else{try{Be.call()}catch(et){Ve=et}d.call(Be.prototype)}}else{try{throw Error()}catch(et){Ve=et}(Be=d())&&typeof Be.catch=="function"&&Be.catch(function(){})}}catch(et){if(et&&Ve&&typeof et.stack=="string")return[et.stack,Ve.stack]}return[null,null]}};C.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var O=Object.getOwnPropertyDescriptor(C.DetermineComponentFrameRoot,"name");O&&O.configurable&&Object.defineProperty(C.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var L=C.DetermineComponentFrameRoot(),V=L[0],be=L[1];if(V&&be){var ie=V.split(`
121
- `),he=be.split(`
122
- `);for(O=C=0;C<ie.length&&!ie[C].includes("DetermineComponentFrameRoot");)C++;for(;O<he.length&&!he[O].includes("DetermineComponentFrameRoot");)O++;if(C===ie.length||O===he.length)for(C=ie.length-1,O=he.length-1;1<=C&&0<=O&&ie[C]!==he[O];)O--;for(;1<=C&&0<=O;C--,O--)if(ie[C]!==he[O]){if(C!==1||O!==1)do if(C--,O--,0>O||ie[C]!==he[O]){var He=`
123
- `+ie[C].replace(" at new "," at ");return d.displayName&&He.includes("<anonymous>")&&(He=He.replace("<anonymous>",d.displayName)),He}while(1<=C&&0<=O);break}}}finally{Du=!1,Error.prepareStackTrace=S}return(S=d?d.displayName||d.name:"")?Cl(S):""}function Jc(d){if(typeof d=="string")return Cl(d);if(typeof d=="function")return d.prototype&&d.prototype.isReactComponent?Rs(d,!0):Rs(d,!1);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case w:return Rs(d.render,!1);case P:return Rs(d.type,!1);case N:var p=d,S=p._payload;p=p._init;try{d=p(S)}catch(C){return Cl("Lazy")}return Jc(d)}if(typeof d.name=="string")return S=d.env,Cl(d.name+(S?" ["+S+"]":""))}switch(d){case _:return Cl("SuspenseList");case k:return Cl("Suspense")}return""}function Zo(d){if(typeof d=="object"&&d!==null&&typeof d.environmentName=="string"){var p=d.environmentName;d=[d].slice(0),typeof d[0]=="string"?d.splice(0,1,"[%s] "+d[0]," "+p+" "):d.splice(0,0,"[%s] "," "+p+" "),d.unshift(console),p=Bc.apply(console.error,d),p()}else console.error(d);return null}function Ua(){}function vd(d,p,S,C,O,L,V,be,ie,he,He){var Be=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=d,this.renderState=p,this.rootFormatContext=S,this.progressiveChunkSize=C===void 0?12800:C,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=Be,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=O===void 0?Zo:O,this.onPostpone=he===void 0?Ua:he,this.onAllReady=L===void 0?Ua:L,this.onShellReady=V===void 0?Ua:V,this.onShellError=be===void 0?Ua:be,this.onFatalError=ie===void 0?Ua:ie,this.formState=He===void 0?null:He}function xd(d,p,S,C,O,L,V,be,ie,he,He,Be){return p=new vd(p,S,C,O,L,V,be,ie,he,He,Be),S=Rl(p,0,null,C,!1,!1),S.parentFlushed=!0,d=Vo(p,null,d,-1,null,S,null,null,p.abortableTasks,null,C,null,so,null,!1),cr(d),p.pingedTasks.push(d),p}var $n=null;function fo(d,p){d.pingedTasks.push(p),d.pingedTasks.length===1&&(d.flushScheduled=d.destination!==null,Nu(d))}function Tl(d,p,S,C){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:p,errorDigest:null,contentState:gl(),fallbackState:gl(),contentPreamble:S,fallbackPreamble:C,trackedContentKeyPath:null,trackedFallbackNode:null}}function Vo(d,p,S,C,O,L,V,be,ie,he,He,Be,Ve,et,qe){d.allPendingTasks++,O===null?d.pendingRootTasks++:O.pendingTasks++;var ut={replay:null,node:S,childIndex:C,ping:function(){return fo(d,ut)},blockedBoundary:O,blockedSegment:L,blockedPreamble:V,hoistableState:be,abortSet:ie,keyPath:he,formatContext:He,context:Be,treeContext:Ve,componentStack:et,thenableState:p,isFallback:qe};return ie.add(ut),ut}function Kc(d,p,S,C,O,L,V,be,ie,he,He,Be,Ve,et){d.allPendingTasks++,L===null?d.pendingRootTasks++:L.pendingTasks++,S.pendingTasks++;var qe={replay:S,node:C,childIndex:O,ping:function(){return fo(d,qe)},blockedBoundary:L,blockedSegment:null,blockedPreamble:null,hoistableState:V,abortSet:be,keyPath:ie,formatContext:he,context:He,treeContext:Be,componentStack:Ve,thenableState:p,isFallback:et};return be.add(qe),qe}function Rl(d,p,S,C,O,L){return{status:0,parentFlushed:!1,id:-1,index:p,chunks:[],children:[],preambleChildren:[],parentFormatContext:C,boundary:S,lastPushedText:O,textEmbedded:L}}function cr(d){var p=d.node;if(typeof p=="object"&&p!==null)switch(p.$$typeof){case a:d.componentStack={parent:d.componentStack,type:p.type}}}function wr(d){var p={};return d&&Object.defineProperty(p,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var S="",C=d;do S+=Jc(C.type),C=C.parent;while(C);var O=S}catch(L){O=`
124
- Error generating stack: `+L.message+`
125
- `+L.stack}return Object.defineProperty(p,"componentStack",{value:O}),O}}),p}function Zr(d,p,S){if(d=d.onError,p=d(p,S),p==null||typeof p=="string")return p}function Xo(d,p){var S=d.onShellError,C=d.onFatalError;S(p),C(p),d.destination!==null?(d.status=14,d.destination.destroy(p)):(d.status=13,d.fatalError=p)}function Qc(d,p,S,C,O,L){var V=p.thenableState;for(p.thenableState=null,Sr={},Ya=p,ks=d,Go=S,ai=fa=0,Sl=-1,wl=0,kl=V,d=C(O,L);co;)co=!1,ai=fa=0,Sl=-1,wl=0,El+=1,Nt=null,d=C(O,L);return ga(),d}function Jo(d,p,S,C,O,L,V){var be=!1;if(L!==0&&d.formState!==null){var ie=p.blockedSegment;if(ie!==null){be=!0,ie=ie.chunks;for(var he=0;he<L;he++)he===V?ie.push("<!--F!-->"):ie.push("<!--F-->")}}L=p.keyPath,p.keyPath=S,O?(S=p.treeContext,p.treeContext=Ss(S,1,0),Xr(d,p,C,-1),p.treeContext=S):be?Xr(d,p,C,-1):Vr(d,p,C,-1),p.keyPath=L}function Za(d,p,S,C,O,L){if(typeof C=="function")if(C.prototype&&C.prototype.isReactComponent){var V=O;if("ref"in O){V={};for(var be in O)be!=="ref"&&(V[be]=O[be])}var ie=C.defaultProps;if(ie){V===O&&(V=Se({},V,O));for(var he in ie)V[he]===void 0&&(V[he]=ie[he])}O=V,V=Ru,ie=C.contextType,typeof ie=="object"&&ie!==null&&(V=ie._currentValue2),V=new C(O,V);var He=V.state!==void 0?V.state:null;if(V.updater=vl,V.props=O,V.state=He,ie={queue:[],replace:!1},V._reactInternals=ie,L=C.contextType,V.context=typeof L=="object"&&L!==null?L._currentValue2:Ru,L=C.getDerivedStateFromProps,typeof L=="function"&&(L=L(O,He),He=L==null?He:Se({},He,L),V.state=He),typeof C.getDerivedStateFromProps!="function"&&typeof V.getSnapshotBeforeUpdate!="function"&&(typeof V.UNSAFE_componentWillMount=="function"||typeof V.componentWillMount=="function"))if(C=V.state,typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount(),C!==V.state&&vl.enqueueReplaceState(V,V.state,null),ie.queue!==null&&0<ie.queue.length)if(C=ie.queue,L=ie.replace,ie.queue=null,ie.replace=!1,L&&C.length===1)V.state=C[0];else{for(ie=L?C[0]:V.state,He=!0,L=L?1:0;L<C.length;L++)he=C[L],he=typeof he=="function"?he.call(V,ie,O,void 0):he,he!=null&&(He?(He=!1,ie=Se({},ie,he)):Se(ie,he));V.state=ie}else ie.queue=null;if(C=V.render(),d.status===12)throw null;O=p.keyPath,p.keyPath=S,Vr(d,p,C,-1),p.keyPath=O}else{if(C=Qc(d,p,S,C,O,void 0),d.status===12)throw null;Jo(d,p,S,C,fa!==0,ai,Sl)}else if(typeof C=="string")if(V=p.blockedSegment,V===null)V=O.children,ie=p.formatContext,He=p.keyPath,p.formatContext=Me(ie,C,O),p.keyPath=S,Xr(d,p,V,-1),p.formatContext=ie,p.keyPath=He;else{L=qt(V.chunks,C,O,d.resumableState,d.renderState,p.blockedPreamble,p.hoistableState,p.formatContext,V.lastPushedText,p.isFallback),V.lastPushedText=!1,ie=p.formatContext,He=p.keyPath,p.keyPath=S,(p.formatContext=Me(ie,C,O)).insertionMode===3?(S=Rl(d,0,null,p.formatContext,!1,!1),V.preambleChildren.push(S),S=Vo(d,null,L,-1,p.blockedBoundary,S,p.blockedPreamble,p.hoistableState,d.abortableTasks,p.keyPath,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback),cr(S),d.pingedTasks.push(S)):Xr(d,p,L,-1),p.formatContext=ie,p.keyPath=He;e:{switch(p=V.chunks,d=d.resumableState,C){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=ie.insertionMode){d.hasBody=!0;break e}break;case"html":if(ie.insertionMode===0){d.hasHtml=!0;break e}break;case"head":if(1>=ie.insertionMode)break e}p.push(la(C))}V.lastPushedText=!1}else{switch(C){case J:case c:case m:case u:C=p.keyPath,p.keyPath=S,Vr(d,p,O.children,-1),p.keyPath=C;return;case H:O.mode!=="hidden"&&(C=p.keyPath,p.keyPath=S,Vr(d,p,O.children,-1),p.keyPath=C);return;case _:C=p.keyPath,p.keyPath=S,Vr(d,p,O.children,-1),p.keyPath=C;return;case ve:case W:throw Error(r(343));case k:e:if(p.replay!==null){C=p.keyPath,p.keyPath=S,S=O.children;try{Xr(d,p,S,-1)}finally{p.keyPath=C}}else{C=p.keyPath;var Be=p.blockedBoundary;L=p.blockedPreamble;var Ve=p.hoistableState;he=p.blockedSegment,be=O.fallback,O=O.children;var et=new Set,qe=2>p.formatContext.insertionMode?Tl(d,et,ye(),ye()):Tl(d,et,null,null);d.trackedPostpones!==null&&(qe.trackedContentKeyPath=S);var ut=Rl(d,he.chunks.length,qe,p.formatContext,!1,!1);he.children.push(ut),he.lastPushedText=!1;var Ft=Rl(d,0,null,p.formatContext,!1,!1);if(Ft.parentFlushed=!0,d.trackedPostpones!==null){V=[S[0],"Suspense Fallback",S[2]],ie=[V[1],V[2],[],null],d.trackedPostpones.workingMap.set(V,ie),qe.trackedFallbackNode=ie,p.blockedSegment=ut,p.blockedPreamble=qe.fallbackPreamble,p.keyPath=V,ut.status=6;try{Xr(d,p,be,-1),Tu(ut.chunks,d.renderState,ut.lastPushedText,ut.textEmbedded),ut.status=1}catch(Ht){throw ut.status=d.status===12?3:4,Ht}finally{p.blockedSegment=he,p.blockedPreamble=L,p.keyPath=C}p=Vo(d,null,O,-1,qe,Ft,qe.contentPreamble,qe.contentState,p.abortSet,S,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback),cr(p),d.pingedTasks.push(p)}else{p.blockedBoundary=qe,p.blockedPreamble=qe.contentPreamble,p.hoistableState=qe.contentState,p.blockedSegment=Ft,p.keyPath=S,Ft.status=6;try{if(Xr(d,p,O,-1),Tu(Ft.chunks,d.renderState,Ft.lastPushedText,Ft.textEmbedded),Ft.status=1,jo(qe,Ft),qe.pendingTasks===0&&qe.status===0){qe.status=1,d.pendingRootTasks===0&&p.blockedPreamble&&Gi(d);break e}}catch(Ht){qe.status=4,d.status===12?(Ft.status=3,V=d.fatalError):(Ft.status=4,V=Ht),ie=wr(p.componentStack),He=Zr(d,V,ie),qe.errorDigest=He,Ko(d,qe)}finally{p.blockedBoundary=Be,p.blockedPreamble=L,p.hoistableState=Ve,p.blockedSegment=he,p.keyPath=C}p=Vo(d,null,be,-1,Be,ut,qe.fallbackPreamble,qe.fallbackState,et,[S[0],"Suspense Fallback",S[2]],p.formatContext,p.context,p.treeContext,p.componentStack,!0),cr(p),d.pingedTasks.push(p)}}return}if(typeof C=="object"&&C!==null)switch(C.$$typeof){case w:if("ref"in O)for(qe in V={},O)qe!=="ref"&&(V[qe]=O[qe]);else V=O;C=Qc(d,p,S,C.render,V,L),Jo(d,p,S,C,fa!==0,ai,Sl);return;case P:Za(d,p,S,C.type,O,L);return;case b:case A:if(ie=O.children,V=p.keyPath,O=O.value,He=C._currentValue2,C._currentValue2=O,L=wi,wi=C={parent:L,depth:L===null?0:L.depth+1,context:C,parentValue:He,value:O},p.context=C,p.keyPath=S,Vr(d,p,ie,-1),d=wi,d===null)throw Error(r(403));d.context._currentValue2=d.parentValue,d=wi=d.parent,p.context=d,p.keyPath=V;return;case y:O=O.children,C=O(C._context._currentValue2),O=p.keyPath,p.keyPath=S,Vr(d,p,C,-1),p.keyPath=O;return;case N:if(V=C._init,C=V(C._payload),d.status===12)throw null;Za(d,p,S,C,O,L);return}throw Error(r(130,C==null?C:typeof C,""))}}function Mu(d,p,S,C,O){var L=p.replay,V=p.blockedBoundary,be=Rl(d,0,null,p.formatContext,!1,!1);be.id=S,be.parentFlushed=!0;try{p.replay=null,p.blockedSegment=be,Xr(d,p,C,O),be.status=1,V===null?d.completedRootSegment=be:(jo(V,be),V.parentFlushed&&d.partialBoundaries.push(V))}finally{p.replay=L,p.blockedSegment=null}}function Vr(d,p,S,C){p.replay!==null&&typeof p.replay.slots=="number"?Mu(d,p,p.replay.slots,S,C):(p.node=S,p.childIndex=C,S=p.componentStack,cr(p),zs(d,p),p.componentStack=S)}function zs(d,p){var S=p.node,C=p.childIndex;if(S!==null){if(typeof S=="object"){switch(S.$$typeof){case a:var O=S.type,L=S.key,V=S.props;S=V.ref;var be=S!==void 0?S:null,ie=Si(O),he=L==null?C===-1?0:C:L;if(L=[p.keyPath,ie,he],p.replay!==null)e:{var He=p.replay;for(C=He.nodes,S=0;S<C.length;S++){var Be=C[S];if(he===Be[1]){if(Be.length===4){if(ie!==null&&ie!==Be[0])throw Error(r(490,Be[0],ie));var Ve=Be[2];ie=Be[3],he=p.node,p.replay={nodes:Ve,slots:ie,pendingTasks:1};try{if(Za(d,p,L,O,V,be),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(r(488));p.replay.pendingTasks--}catch(Qe){if(typeof Qe=="object"&&Qe!==null&&(Qe===Ga||typeof Qe.then=="function"))throw p.node===he&&(p.replay=He),Qe;p.replay.pendingTasks--,V=wr(p.componentStack),L=p.blockedBoundary,O=Qe,V=Zr(d,O,V),Qo(d,L,Ve,ie,O,V)}p.replay=He}else{if(O!==k)throw Error(r(490,"Suspense",Si(O)||"Unknown"));t:{He=void 0,O=Be[5],be=Be[2],ie=Be[3],he=Be[4]===null?[]:Be[4][2],Be=Be[4]===null?null:Be[4][3];var et=p.keyPath,qe=p.replay,ut=p.blockedBoundary,Ft=p.hoistableState,Ht=V.children,Wt=V.fallback,an=new Set;V=2>p.formatContext.insertionMode?Tl(d,an,ye(),ye()):Tl(d,an,null,null),V.parentFlushed=!0,V.rootSegmentID=O,p.blockedBoundary=V,p.hoistableState=V.contentState,p.keyPath=L,p.replay={nodes:be,slots:ie,pendingTasks:1};try{if(Xr(d,p,Ht,-1),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(r(488));if(p.replay.pendingTasks--,V.pendingTasks===0&&V.status===0){V.status=1,d.completedBoundaries.push(V);break t}}catch(Qe){V.status=4,Ve=wr(p.componentStack),He=Zr(d,Qe,Ve),V.errorDigest=He,p.replay.pendingTasks--,d.clientRenderedBoundaries.push(V)}finally{p.blockedBoundary=ut,p.hoistableState=Ft,p.replay=qe,p.keyPath=et}p=Kc(d,null,{nodes:he,slots:Be,pendingTasks:0},Wt,-1,ut,V.fallbackState,an,[L[0],"Suspense Fallback",L[2]],p.formatContext,p.context,p.treeContext,p.componentStack,!0),cr(p),d.pingedTasks.push(p)}}C.splice(S,1);break e}}}else Za(d,p,L,O,V,be);return;case o:throw Error(r(257));case N:if(Ve=S._init,S=Ve(S._payload),d.status===12)throw null;Vr(d,p,S,C);return}if(ee(S)){Os(d,p,S,C);return}if(S===null||typeof S!="object"?Ve=null:(Ve=j&&S[j]||S["@@iterator"],Ve=typeof Ve=="function"?Ve:null),Ve&&(Ve=Ve.call(S))){if(S=Ve.next(),!S.done){V=[];do V.push(S.value),S=Ve.next();while(!S.done);Os(d,p,V,C)}return}if(typeof S.then=="function")return p.thenableState=null,Vr(d,p,Zc(S),C);if(S.$$typeof===A)return Vr(d,p,S._currentValue2,C);throw C=Object.prototype.toString.call(S),Error(r(31,C==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":C))}typeof S=="string"?(C=p.blockedSegment,C!==null&&(C.lastPushedText=xn(C.chunks,S,d.renderState,C.lastPushedText))):(typeof S=="number"||typeof S=="bigint")&&(C=p.blockedSegment,C!==null&&(C.lastPushedText=xn(C.chunks,""+S,d.renderState,C.lastPushedText)))}}function Os(d,p,S,C){var O=p.keyPath;if(C!==-1&&(p.keyPath=[p.keyPath,"Fragment",C],p.replay!==null)){for(var L=p.replay,V=L.nodes,be=0;be<V.length;be++){var ie=V[be];if(ie[1]===C){C=ie[2],ie=ie[3],p.replay={nodes:C,slots:ie,pendingTasks:1};try{if(Os(d,p,S,-1),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(r(488));p.replay.pendingTasks--}catch(Be){if(typeof Be=="object"&&Be!==null&&(Be===Ga||typeof Be.then=="function"))throw Be;p.replay.pendingTasks--,S=wr(p.componentStack);var he=p.blockedBoundary,He=Be;S=Zr(d,He,S),Qo(d,he,C,ie,He,S)}p.replay=L,V.splice(be,1);break}}p.keyPath=O;return}if(L=p.treeContext,V=S.length,p.replay!==null&&(be=p.replay.slots,be!==null&&typeof be=="object")){for(C=0;C<V;C++)ie=S[C],p.treeContext=Ss(L,V,C),he=be[C],typeof he=="number"?(Mu(d,p,he,ie,C),delete be[C]):Xr(d,p,ie,C);p.treeContext=L,p.keyPath=O;return}for(be=0;be<V;be++)C=S[be],p.treeContext=Ss(L,V,be),Xr(d,p,C,be);p.treeContext=L,p.keyPath=O}function Ko(d,p){d=d.trackedPostpones,d!==null&&(p=p.trackedContentKeyPath,p!==null&&(p=d.workingMap.get(p),p!==void 0&&(p.length=4,p[2]=[],p[3]=null)))}function Ps(d,p,S){return Kc(d,S,p.replay,p.node,p.childIndex,p.blockedBoundary,p.hoistableState,p.abortSet,p.keyPath,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback)}function pa(d,p,S){var C=p.blockedSegment,O=Rl(d,C.chunks.length,null,p.formatContext,C.lastPushedText,!0);return C.children.push(O),C.lastPushedText=!1,Vo(d,S,p.node,p.childIndex,p.blockedBoundary,O,p.blockedPreamble,p.hoistableState,p.abortSet,p.keyPath,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback)}function Xr(d,p,S,C){var O=p.formatContext,L=p.context,V=p.keyPath,be=p.treeContext,ie=p.componentStack,he=p.blockedSegment;if(he===null)try{return Vr(d,p,S,C)}catch(Ve){if(ga(),S=Ve===Ga?Al():Ve,typeof S=="object"&&S!==null){if(typeof S.then=="function"){C=ha(),d=Ps(d,p,C).ping,S.then(d,d),p.formatContext=O,p.context=L,p.keyPath=V,p.treeContext=be,p.componentStack=ie,ca(L);return}if(S.message==="Maximum call stack size exceeded"){S=ha(),S=Ps(d,p,S),d.pingedTasks.push(S),p.formatContext=O,p.context=L,p.keyPath=V,p.treeContext=be,p.componentStack=ie,ca(L);return}}}else{var He=he.children.length,Be=he.chunks.length;try{return Vr(d,p,S,C)}catch(Ve){if(ga(),he.children.length=He,he.chunks.length=Be,S=Ve===Ga?Al():Ve,typeof S=="object"&&S!==null){if(typeof S.then=="function"){C=ha(),d=pa(d,p,C).ping,S.then(d,d),p.formatContext=O,p.context=L,p.keyPath=V,p.treeContext=be,p.componentStack=ie,ca(L);return}if(S.message==="Maximum call stack size exceeded"){S=ha(),S=pa(d,p,S),d.pingedTasks.push(S),p.formatContext=O,p.context=L,p.keyPath=V,p.treeContext=be,p.componentStack=ie,ca(L);return}}}}throw p.formatContext=O,p.context=L,p.keyPath=V,p.treeContext=be,ca(L),S}function Ad(d){var p=d.blockedBoundary;d=d.blockedSegment,d!==null&&(d.status=3,ho(this,p,d))}function Qo(d,p,S,C,O,L){for(var V=0;V<S.length;V++){var be=S[V];if(be.length===4)Qo(d,p,be[2],be[3],O,L);else{be=be[5];var ie=d,he=L,He=Tl(ie,new Set,null,null);He.parentFlushed=!0,He.rootSegmentID=be,He.status=4,He.errorDigest=he,He.parentFlushed&&ie.clientRenderedBoundaries.push(He)}}if(S.length=0,C!==null){if(p===null)throw Error(r(487));if(p.status!==4&&(p.status=4,p.errorDigest=L,p.parentFlushed&&d.clientRenderedBoundaries.push(p)),typeof C=="object")for(var Be in C)delete C[Be]}}function Ds(d,p,S){var C=d.blockedBoundary,O=d.blockedSegment;if(O!==null){if(O.status===6)return;O.status=3}if(O=wr(d.componentStack),C===null){if(p.status!==13&&p.status!==14){if(C=d.replay,C===null){Zr(p,S,O),Xo(p,S);return}C.pendingTasks--,C.pendingTasks===0&&0<C.nodes.length&&(d=Zr(p,S,O),Qo(p,null,C.nodes,C.slots,S,d)),p.pendingRootTasks--,p.pendingRootTasks===0&&zl(p)}}else C.pendingTasks--,C.status!==4&&(C.status=4,d=Zr(p,S,O),C.status=4,C.errorDigest=d,Ko(p,C),C.parentFlushed&&p.clientRenderedBoundaries.push(C)),C.fallbackAbortableTasks.forEach(function(L){return Ds(L,p,S)}),C.fallbackAbortableTasks.clear();p.allPendingTasks--,p.allPendingTasks===0&&Va(p)}function Ms(d,p){try{var S=d.renderState,C=S.onHeaders;if(C){var O=S.headers;if(O){S.headers=null;var L=O.preconnects;if(O.fontPreloads&&(L&&(L+=", "),L+=O.fontPreloads),O.highImagePreloads&&(L&&(L+=", "),L+=O.highImagePreloads),!p){var V=S.styles.values(),be=V.next();e:for(;0<O.remainingCapacity&&!be.done;be=V.next())for(var ie=be.value.sheets.values(),he=ie.next();0<O.remainingCapacity&&!he.done;he=ie.next()){var He=he.value,Be=He.props,Ve=Be.href,et=He.props,qe=sa(et.href,"style",{crossOrigin:et.crossOrigin,integrity:et.integrity,nonce:et.nonce,type:et.type,fetchPriority:et.fetchPriority,referrerPolicy:et.referrerPolicy,media:et.media});if(0<=(O.remainingCapacity-=qe.length+2))S.resets.style[Ve]=Ee,L&&(L+=", "),L+=qe,S.resets.style[Ve]=typeof Be.crossOrigin=="string"||typeof Be.integrity=="string"?[Be.crossOrigin,Be.integrity]:Ee;else break e}}C(L?{Link:L}:{})}}}catch(ut){Zr(d,ut,{})}}function zl(d){d.trackedPostpones===null&&Ms(d,!0),d.trackedPostpones===null&&Gi(d),d.onShellError=Ua,d=d.onShellReady,d()}function Va(d){Ms(d,d.trackedPostpones===null?!0:d.completedRootSegment===null||d.completedRootSegment.status!==5),Gi(d),d=d.onAllReady,d()}function jo(d,p){if(p.chunks.length===0&&p.children.length===1&&p.children[0].boundary===null&&p.children[0].id===-1){var S=p.children[0];S.id=p.id,S.parentFlushed=!0,S.status===1&&jo(d,S)}else d.completedSegments.push(p)}function ho(d,p,S){if(p===null){if(S!==null&&S.parentFlushed){if(d.completedRootSegment!==null)throw Error(r(389));d.completedRootSegment=S}d.pendingRootTasks--,d.pendingRootTasks===0&&zl(d)}else p.pendingTasks--,p.status!==4&&(p.pendingTasks===0?(p.status===0&&(p.status=1),S!==null&&S.parentFlushed&&S.status===1&&jo(p,S),p.parentFlushed&&d.completedBoundaries.push(p),p.status===1&&(p.fallbackAbortableTasks.forEach(Ad,d),p.fallbackAbortableTasks.clear(),d.pendingRootTasks===0&&d.trackedPostpones===null&&p.contentPreamble!==null&&Gi(d))):S!==null&&S.parentFlushed&&S.status===1&&(jo(p,S),p.completedSegments.length===1&&p.parentFlushed&&d.partialBoundaries.push(p)));d.allPendingTasks--,d.allPendingTasks===0&&Va(d)}function Nu(d){if(d.status!==14&&d.status!==13){var p=wi,S=Oe.H;Oe.H=Vc;var C=Oe.A;Oe.A=yd;var O=$n;$n=d;var L=Ts;Ts=d.resumableState;try{var V=d.pingedTasks,be;for(be=0;be<V.length;be++){var ie=V[be],he=d,He=ie.blockedSegment;if(He===null){var Be=he;if(ie.replay.pendingTasks!==0){ca(ie.context);try{if(typeof ie.replay.slots=="number"?Mu(Be,ie,ie.replay.slots,ie.node,ie.childIndex):zs(Be,ie),ie.replay.pendingTasks===1&&0<ie.replay.nodes.length)throw Error(r(488));ie.replay.pendingTasks--,ie.abortSet.delete(ie),ho(Be,ie.blockedBoundary,null)}catch(Bt){ga();var Ve=Bt===Ga?Al():Bt;if(typeof Ve=="object"&&Ve!==null&&typeof Ve.then=="function"){var et=ie.ping;Ve.then(et,et),ie.thenableState=ha()}else{ie.replay.pendingTasks--,ie.abortSet.delete(ie);var qe=wr(ie.componentStack);he=void 0;var ut=Be,Ft=ie.blockedBoundary,Ht=Be.status===12?Be.fatalError:Ve,Wt=ie.replay.nodes,an=ie.replay.slots;he=Zr(ut,Ht,qe),Qo(ut,Ft,Wt,an,Ht,he),Be.pendingRootTasks--,Be.pendingRootTasks===0&&zl(Be),Be.allPendingTasks--,Be.allPendingTasks===0&&Va(Be)}}finally{}}}else if(Be=void 0,ut=He,ut.status===0){ut.status=6,ca(ie.context);var Qe=ut.children.length,An=ut.chunks.length;try{zs(he,ie),Tu(ut.chunks,he.renderState,ut.lastPushedText,ut.textEmbedded),ie.abortSet.delete(ie),ut.status=1,ho(he,ie.blockedBoundary,ut)}catch(Bt){ga(),ut.children.length=Qe,ut.chunks.length=An;var xt=Bt===Ga?Al():he.status===12?he.fatalError:Bt;if(typeof xt=="object"&&xt!==null&&typeof xt.then=="function"){ut.status=0,ie.thenableState=ha();var Nn=ie.ping;xt.then(Nn,Nn)}else{var Qt=wr(ie.componentStack);ie.abortSet.delete(ie),ut.status=4;var ct=ie.blockedBoundary;Be=Zr(he,xt,Qt),ct===null?Xo(he,xt):(ct.pendingTasks--,ct.status!==4&&(ct.status=4,ct.errorDigest=Be,Ko(he,ct),ct.parentFlushed&&he.clientRenderedBoundaries.push(ct),he.pendingRootTasks===0&&he.trackedPostpones===null&&ct.contentPreamble!==null&&Gi(he))),he.allPendingTasks--,he.allPendingTasks===0&&Va(he)}}finally{}}}V.splice(0,be),d.destination!==null&&qo(d,d.destination)}catch(Bt){Zr(d,Bt,{}),Xo(d,Bt)}finally{Ts=L,Oe.H=S,Oe.A=C,S===Vc&&ca(p),$n=O}}}function Ns(d,p,S){p.preambleChildren.length&&S.push(p.preambleChildren);for(var C=!1,O=0;O<p.children.length;O++)C=Xa(d,p.children[O],S)||C;return C}function Xa(d,p,S){var C=p.boundary;if(C===null)return Ns(d,p,S);var O=C.contentPreamble,L=C.fallbackPreamble;if(O===null||L===null)return!1;switch(C.status){case 1:if(Ai(d.renderState,O),p=C.completedSegments[0],!p)throw Error(r(391));return Ns(d,p,S);case 5:if(d.trackedPostpones!==null)return!0;case 4:if(p.status===1)return Ai(d.renderState,L),Ns(d,p,S);default:return!0}}function Gi(d){if(d.completedRootSegment&&d.completedPreambleSegments===null){var p=[],S=Xa(d,d.completedRootSegment,p),C=d.renderState.preamble;(S===!1||C.headChunks&&C.bodyChunks)&&(d.completedPreambleSegments=p)}}function Ol(d,p,S,C){switch(S.parentFlushed=!0,S.status){case 0:S.id=d.nextSegmentId++;case 5:return C=S.id,S.lastPushedText=!1,S.textEmbedded=!1,d=d.renderState,p.push('<template id="'),p.push(d.placeholderPrefix),d=C.toString(16),p.push(d),p.push('"></template>');case 1:S.status=2;var O=!0,L=S.chunks,V=0;S=S.children;for(var be=0;be<S.length;be++){for(O=S[be];V<O.index;V++)p.push(L[V]);O=Ja(d,p,O,C)}for(;V<L.length-1;V++)p.push(L[V]);return V<L.length&&(O=p.push(L[V])),O;default:throw Error(r(390))}}function Ja(d,p,S,C){var O=S.boundary;if(O===null)return Ol(d,p,S,C);if(O.parentFlushed=!0,O.status===4){if(!d.renderState.generateStaticMarkup){var L=O.errorDigest;p.push("<!--$!-->"),p.push("<template"),L&&(p.push(' data-dgst="'),L=K(L),p.push(L),p.push('"')),p.push("></template>")}return Ol(d,p,S,C),d.renderState.generateStaticMarkup?p=!0:((d=O.fallbackPreamble)&&Nc(p,d),p=p.push("<!--/$-->")),p}if(O.status!==1)return O.status===0&&(O.rootSegmentID=d.nextSegmentId++),0<O.completedSegments.length&&d.partialBoundaries.push(O),dl(p,d.renderState,O.rootSegmentID),C&&(O=O.fallbackState,O.styles.forEach(Bo,C),O.stylesheets.forEach(yl,C)),Ol(d,p,S,C),p.push("<!--/$-->");if(O.byteSize>d.progressiveChunkSize)return O.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(O),dl(p,d.renderState,O.rootSegmentID),Ol(d,p,S,C),p.push("<!--/$-->");if(C&&(S=O.contentState,S.styles.forEach(Bo,C),S.stylesheets.forEach(yl,C)),d.renderState.generateStaticMarkup||p.push("<!--$-->"),S=O.completedSegments,S.length!==1)throw Error(r(391));return Ja(d,p,S[0],C),d.renderState.generateStaticMarkup?p=!0:((d=O.contentPreamble)&&Nc(p,d),p=p.push("<!--/$-->")),p}function go(d,p,S,C){return ku(p,d.renderState,S.parentFormatContext,S.id),Ja(d,p,S,C),Ic(p,S.parentFormatContext)}function Is(d,p,S){for(var C=S.completedSegments,O=0;O<C.length;O++)Iu(d,p,S,C[O]);C.length=0,Lo(p,S.contentState,d.renderState),C=d.resumableState,d=d.renderState,O=S.rootSegmentID,S=S.contentState;var L=d.stylesToHoist;return d.stylesToHoist=!1,p.push(d.startInlineScript),L?(C.instructions&2)===0?(C.instructions|=10,p.push(`$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;
126
- $RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
127
- d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
128
- t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`)):(C.instructions&8)===0?(C.instructions|=8,p.push(`$RM=new Map;
129
- $RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
130
- d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
131
- t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`)):p.push('$RR("'):(C.instructions&2)===0?(C.instructions|=2,p.push('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("')):p.push('$RC("'),C=O.toString(16),p.push(d.boundaryPrefix),p.push(C),p.push('","'),p.push(d.segmentPrefix),p.push(C),L?(p.push('",'),Hi(p,S)):p.push('"'),S=p.push(")<\/script>"),Io(p,d)&&S}function Iu(d,p,S,C){if(C.status===2)return!0;var O=S.contentState,L=C.id;if(L===-1){if((C.id=S.rootSegmentID)===-1)throw Error(r(392));return go(d,p,C,O)}return L===S.rootSegmentID?go(d,p,C,O):(go(d,p,C,O),S=d.resumableState,d=d.renderState,p.push(d.startInlineScript),(S.instructions&1)===0?(S.instructions|=1,p.push('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')):p.push('$RS("'),p.push(d.segmentPrefix),L=L.toString(16),p.push(L),p.push('","'),p.push(d.placeholderPrefix),p.push(L),p=p.push('")<\/script>'),p)}function qo(d,p){try{if(!(0<d.pendingRootTasks)){var S,C=d.completedRootSegment;if(C!==null){if(C.status===5)return;var O=d.completedPreambleSegments;if(O===null)return;var L=d.renderState,V=L.preamble,be=V.htmlChunks,ie=V.headChunks,he;if(be){for(he=0;he<be.length;he++)p.push(be[he]);if(ie)for(he=0;he<ie.length;he++)p.push(ie[he]);else{var He=gt("head");p.push(He),p.push(">")}}else if(ie)for(he=0;he<ie.length;he++)p.push(ie[he]);var Be=L.charsetChunks;for(he=0;he<Be.length;he++)p.push(Be[he]);Be.length=0,L.preconnects.forEach(Hr,p),L.preconnects.clear();var Ve=L.viewportChunks;for(he=0;he<Ve.length;he++)p.push(Ve[he]);Ve.length=0,L.fontPreloads.forEach(Hr,p),L.fontPreloads.clear(),L.highImagePreloads.forEach(Hr,p),L.highImagePreloads.clear(),L.styles.forEach(lo,p);var et=L.importMapChunks;for(he=0;he<et.length;he++)p.push(et[he]);et.length=0,L.bootstrapScripts.forEach(Hr,p),L.scripts.forEach(Hr,p),L.scripts.clear(),L.bulkPreloads.forEach(Hr,p),L.bulkPreloads.clear();var qe=L.hoistableChunks;for(he=0;he<qe.length;he++)p.push(qe[he]);for(L=qe.length=0;L<O.length;L++){var ut=O[L];for(V=0;V<ut.length;V++)Ja(d,p,ut[V],null)}var Ft=d.renderState.preamble,Ht=Ft.headChunks;if(Ft.htmlChunks||Ht){var Wt=la("head");p.push(Wt)}var an=Ft.bodyChunks;if(an)for(O=0;O<an.length;O++)p.push(an[O]);Ja(d,p,C,null),d.completedRootSegment=null,Io(p,d.renderState)}var Qe=d.renderState;C=0;var An=Qe.viewportChunks;for(C=0;C<An.length;C++)p.push(An[C]);An.length=0,Qe.preconnects.forEach(Hr,p),Qe.preconnects.clear(),Qe.fontPreloads.forEach(Hr,p),Qe.fontPreloads.clear(),Qe.highImagePreloads.forEach(Hr,p),Qe.highImagePreloads.clear(),Qe.styles.forEach(_n,p),Qe.scripts.forEach(Hr,p),Qe.scripts.clear(),Qe.bulkPreloads.forEach(Hr,p),Qe.bulkPreloads.clear();var xt=Qe.hoistableChunks;for(C=0;C<xt.length;C++)p.push(xt[C]);xt.length=0;var Nn=d.clientRenderedBoundaries;for(S=0;S<Nn.length;S++){var Qt=Nn[S];Qe=p;var ct=d.resumableState,Bt=d.renderState,Hn=Qt.rootSegmentID,Sn=Qt.errorDigest;Qe.push(Bt.startInlineScript),(ct.instructions&4)===0?(ct.instructions|=4,Qe.push('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("')):Qe.push('$RX("'),Qe.push(Bt.boundaryPrefix);var Ei=Hn.toString(16);if(Qe.push(Ei),Qe.push('"'),Sn){Qe.push(",");var yr=Qn(Sn||"");Qe.push(yr)}var In=Qe.push(")<\/script>");if(!In){d.destination=null,S++,Nn.splice(0,S);return}}Nn.splice(0,S);var er=d.completedBoundaries;for(S=0;S<er.length;S++)if(!Is(d,p,er[S])){d.destination=null,S++,er.splice(0,S);return}er.splice(0,S);var Cn=d.partialBoundaries;for(S=0;S<Cn.length;S++){var Yi=Cn[S];e:{Nn=d,Qt=p;var Vn=Yi.completedSegments;for(In=0;In<Vn.length;In++)if(!Iu(Nn,Qt,Yi,Vn[In])){In++,Vn.splice(0,In);var _i=!1;break e}Vn.splice(0,In),_i=Lo(Qt,Yi.contentState,Nn.renderState)}if(!_i){d.destination=null,S++,Cn.splice(0,S);return}}Cn.splice(0,S);var ba=d.completedBoundaries;for(S=0;S<ba.length;S++)if(!Is(d,p,ba[S])){d.destination=null,S++,ba.splice(0,S);return}ba.splice(0,S)}}finally{d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0&&(d.flushScheduled=!1,S=d.resumableState,S.hasBody&&(Cn=la("body"),p.push(Cn)),S.hasHtml&&(S=la("html"),p.push(S)),d.status=14,p.push(null),d.destination=null)}}function Pl(d){if(d.flushScheduled===!1&&d.pingedTasks.length===0&&d.destination!==null){d.flushScheduled=!0;var p=d.destination;p?qo(d,p):d.flushScheduled=!1}}function Sd(d,p){if(d.status===13)d.status=14,p.destroy(d.fatalError);else if(d.status!==14&&d.destination===null){d.destination=p;try{qo(d,p)}catch(S){Zr(d,S,{}),Xo(d,S)}}}function fr(d,p){(d.status===11||d.status===10)&&(d.status=12);try{var S=d.abortableTasks;if(0<S.size){var C=p===void 0?Error(r(432)):typeof p=="object"&&p!==null&&typeof p.then=="function"?Error(r(530)):p;d.fatalError=C,S.forEach(function(O){return Ds(O,d,C)}),S.clear()}d.destination!==null&&qo(d,d.destination)}catch(O){Zr(d,O,{}),Xo(d,O)}}function po(){}function ma(d,p,S,C){var O=!1,L=null,V="",be=!1;if(p=se(p?p.identifierPrefix:void 0),d=xd(d,p,xs(p,S),Ce(0,null,0),1/0,po,void 0,function(){be=!0},void 0,void 0,void 0),d.flushScheduled=d.destination!==null,Nu(d),d.status===10&&(d.status=11),d.trackedPostpones===null&&Ms(d,d.pendingRootTasks===0),fr(d,C),Sd(d,{push:function(ie){return ie!==null&&(V+=ie),!0},destroy:function(ie){O=!0,L=ie}}),O&&L!==C)throw L;if(!be)throw Error(r(426));return V}return gd.renderToStaticMarkup=function(d,p){return ma(d,p,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},gd.renderToString=function(d,p){return ma(d,p,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},gd.version="19.1.1",gd}var pd={};/**
132
- * @license React
133
- * react-dom-server.browser.production.js
134
- *
135
- * Copyright (c) Meta Platforms, Inc. and affiliates.
136
- *
137
- * This source code is licensed under the MIT license found in the
138
- * LICENSE file in the root directory of this source tree.
139
- */var sA;function qM(){if(sA)return pd;sA=1;var e=uc(),n=uh();function r(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)h+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=Symbol.for("react.transitional.element"),o=Symbol.for("react.portal"),u=Symbol.for("react.fragment"),c=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),b=Symbol.for("react.provider"),y=Symbol.for("react.consumer"),A=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),_=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),W=Symbol.for("react.scope"),H=Symbol.for("react.activity"),J=Symbol.for("react.legacy_hidden"),Y=Symbol.for("react.memo_cache_sentinel"),ve=Symbol.for("react.view_transition"),j=Symbol.iterator,ee=Array.isArray;function Te(f,h){var x=f.length&3,T=f.length-x,z=h;for(h=0;h<T;){var I=f.charCodeAt(h)&255|(f.charCodeAt(++h)&255)<<8|(f.charCodeAt(++h)&255)<<16|(f.charCodeAt(++h)&255)<<24;++h,I=3432918353*(I&65535)+((3432918353*(I>>>16)&65535)<<16)&4294967295,I=I<<15|I>>>17,I=461845907*(I&65535)+((461845907*(I>>>16)&65535)<<16)&4294967295,z^=I,z=z<<13|z>>>19,z=5*(z&65535)+((5*(z>>>16)&65535)<<16)&4294967295,z=(z&65535)+27492+(((z>>>16)+58964&65535)<<16)}switch(I=0,x){case 3:I^=(f.charCodeAt(h+2)&255)<<16;case 2:I^=(f.charCodeAt(h+1)&255)<<8;case 1:I^=f.charCodeAt(h)&255,I=3432918353*(I&65535)+((3432918353*(I>>>16)&65535)<<16)&4294967295,I=I<<15|I>>>17,z^=461845907*(I&65535)+((461845907*(I>>>16)&65535)<<16)&4294967295}return z^=f.length,z^=z>>>16,z=2246822507*(z&65535)+((2246822507*(z>>>16)&65535)<<16)&4294967295,z^=z>>>13,z=3266489909*(z&65535)+((3266489909*(z>>>16)&65535)<<16)&4294967295,(z^z>>>16)>>>0}var Se=new MessageChannel,me=[];Se.port1.onmessage=function(){var f=me.shift();f&&f()};function q(f){me.push(f),Se.port2.postMessage(null)}function Re(f){setTimeout(function(){throw f})}var fe=Promise,Pe=typeof queueMicrotask=="function"?queueMicrotask:function(f){fe.resolve(null).then(f).catch(Re)},te=null,ge=0;function M(f,h){if(h.byteLength!==0)if(2048<h.byteLength)0<ge&&(f.enqueue(new Uint8Array(te.buffer,0,ge)),te=new Uint8Array(2048),ge=0),f.enqueue(h);else{var x=te.length-ge;x<h.byteLength&&(x===0?f.enqueue(te):(te.set(h.subarray(0,x),ge),f.enqueue(te),h=h.subarray(x)),te=new Uint8Array(2048),ge=0),te.set(h,ge),ge+=h.byteLength}}function K(f,h){return M(f,h),!0}function ze(f){te&&0<ge&&(f.enqueue(new Uint8Array(te.buffer,0,ge)),te=null,ge=0)}var Ge=new TextEncoder;function E(f){return Ge.encode(f)}function F(f){return Ge.encode(f)}function Oe(f,h){typeof f.error=="function"?f.error(h):f.close()}var B=Object.assign,De=Object.prototype.hasOwnProperty,Le=RegExp("^[: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]*$"),Ee={},Ue={};function de(f){return De.call(Ue,f)?!0:De.call(Ee,f)?!1:Le.test(f)?Ue[f]=!0:(Ee[f]=!0,!1)}var se=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" ")),ye=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ce=/["'&<>]/;function Me(f){if(typeof f=="boolean"||typeof f=="number"||typeof f=="bigint")return""+f;f=""+f;var h=Ce.exec(f);if(h){var x="",T,z=0;for(T=h.index;T<f.length;T++){switch(f.charCodeAt(T)){case 34:h="&quot;";break;case 38:h="&amp;";break;case 39:h="&#x27;";break;case 60:h="&lt;";break;case 62:h="&gt;";break;default:continue}z!==T&&(x+=f.slice(z,T)),z=T+1,x+=h}f=z!==T?x+f.slice(z,T):x}return f}var Je=/([A-Z])/g,Tt=/^ms-/,pn=/^[\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;function mt(f){return pn.test(""+f)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":f}var rn=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yi=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ii={pending:!1,data:null,method:null,action:null},On=yi.d;yi.d={f:On.f,r:On.r,D:Ms,C:zl,L:Va,m:jo,X:Nu,S:ho,M:Ns};var mn=[];F('"></template>');var St=F("<script>"),Pn=F("<\/script>"),fl=F('<script src="'),ys=F('<script type="module" src="'),pe=F('" nonce="'),Ne=F('" integrity="'),je=F('" crossorigin="'),Ke=F('" async=""><\/script>'),Ot=/(<\/|<)(s)(cript)/gi;function Zn(f,h,x,T){return""+h+(x==="s"?"\\u0073":"\\u0053")+T}var vi=F('<script type="importmap">'),Kn=F("<\/script>");function xi(f,h,x,T,z,I){var Z=h===void 0?St:F('<script nonce="'+Me(h)+'">'),le=f.idPrefix;x=[];var X=f.bootstrapScriptContent,re=f.bootstrapScripts,Ie=f.bootstrapModules;if(X!==void 0&&x.push(Z,E((""+X).replace(Ot,Zn)),Pn),X=[],T!==void 0&&(X.push(vi),X.push(E((""+JSON.stringify(T)).replace(Ot,Zn))),X.push(Kn)),T=z?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof I=="number"?I:2e3)}:null,z={placeholderPrefix:F(le+"P:"),segmentPrefix:F(le+"S:"),boundaryPrefix:F(le+"B:"),startInlineScript:Z,preamble:gt(),externalRuntimeScript:null,bootstrapChunks:x,importMapChunks:X,onHeaders:z,headers:T,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:new Set,fontPreloads:new Set,highImagePreloads:new Set,styles:new Map,bootstrapScripts:new Set,scripts:new Set,bulkPreloads:new Set,preloads:{images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map},nonce:h,hoistableState:null,stylesToHoist:!1},re!==void 0)for(T=0;T<re.length;T++){var xe=re[T];le=Z=void 0,X={rel:"preload",as:"script",fetchPriority:"low",nonce:h},typeof xe=="string"?X.href=I=xe:(X.href=I=xe.src,X.integrity=le=typeof xe.integrity=="string"?xe.integrity:void 0,X.crossOrigin=Z=typeof xe=="string"||xe.crossOrigin==null?void 0:xe.crossOrigin==="use-credentials"?"use-credentials":""),xe=f;var Ye=I;xe.scriptResources[Ye]=null,xe.moduleScriptResources[Ye]=null,xe=[],ur(xe,X),z.bootstrapScripts.add(xe),x.push(fl,E(Me(I))),h&&x.push(pe,E(Me(h))),typeof le=="string"&&x.push(Ne,E(Me(le))),typeof Z=="string"&&x.push(je,E(Me(Z))),x.push(Ke)}if(Ie!==void 0)for(re=0;re<Ie.length;re++)X=Ie[re],Z=I=void 0,le={rel:"modulepreload",fetchPriority:"low",nonce:h},typeof X=="string"?le.href=T=X:(le.href=T=X.src,le.integrity=Z=typeof X.integrity=="string"?X.integrity:void 0,le.crossOrigin=I=typeof X=="string"||X.crossOrigin==null?void 0:X.crossOrigin==="use-credentials"?"use-credentials":""),X=f,xe=T,X.scriptResources[xe]=null,X.moduleScriptResources[xe]=null,X=[],ur(X,le),z.bootstrapScripts.add(X),x.push(ys,E(Me(T))),h&&x.push(pe,E(Me(h))),typeof Z=="string"&&x.push(Ne,E(Me(Z))),typeof I=="string"&&x.push(je,E(Me(I))),x.push(Ke);return z}function mr(f,h,x,T,z){return{idPrefix:f===void 0?"":f,nextFormID:0,streamingFormat:0,bootstrapScriptContent:x,bootstrapScripts:T,bootstrapModules:z,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function gt(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function qt(f,h,x){return{insertionMode:f,selectedValue:h,tagScope:x}}function Lr(f){return qt(f==="http://www.w3.org/2000/svg"?4:f==="http://www.w3.org/1998/Math/MathML"?5:0,null,0)}function la(f,h,x){switch(h){case"noscript":return qt(2,null,f.tagScope|1);case"select":return qt(2,x.value!=null?x.value:x.defaultValue,f.tagScope);case"svg":return qt(4,null,f.tagScope);case"picture":return qt(2,null,f.tagScope|2);case"math":return qt(5,null,f.tagScope);case"foreignObject":return qt(2,null,f.tagScope);case"table":return qt(6,null,f.tagScope);case"thead":case"tbody":case"tfoot":return qt(7,null,f.tagScope);case"colgroup":return qt(9,null,f.tagScope);case"tr":return qt(8,null,f.tagScope);case"head":if(2>f.insertionMode)return qt(3,null,f.tagScope);break;case"html":if(f.insertionMode===0)return qt(1,null,f.tagScope)}return 6<=f.insertionMode||2>f.insertionMode?qt(2,null,f.tagScope):f}var Ai=F("<!-- -->");function Io(f,h,x,T){return h===""?T:(T&&f.push(Ai),f.push(E(Me(h))),!0)}var dl=new Map,Nc=F(' style="'),ku=F(":"),Ic=F(";");function vs(f,h){if(typeof h!="object")throw Error(r(62));var x=!0,T;for(T in h)if(De.call(h,T)){var z=h[T];if(z!=null&&typeof z!="boolean"&&z!==""){if(T.indexOf("--")===0){var I=E(Me(T));z=E(Me((""+z).trim()))}else I=dl.get(T),I===void 0&&(I=F(Me(T.replace(Je,"-$1").toLowerCase().replace(Tt,"-ms-"))),dl.set(T,I)),z=typeof z=="number"?z===0||se.has(T)?E(""+z):E(z+"px"):E(Me((""+z).trim()));x?(x=!1,f.push(Nc,I,ku,z)):f.push(Ic,I,ku,z)}}x||f.push(jn)}var Qn=F(" "),Br=F('="'),jn=F('"'),Fr=F('=""');function Dn(f,h,x){x&&typeof x!="function"&&typeof x!="symbol"&&f.push(Qn,E(h),Fr)}function Lt(f,h,x){typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&f.push(Qn,E(h),Br,E(Me(x)),jn)}var hl=F(Me("javascript:throw new Error('React form unexpectedly submitted.')")),Lo=F('<input type="hidden"');function Hr(f,h){this.push(Lo),oa(f),Lt(this,"name",h),Lt(this,"value",f),this.push(Hi)}function oa(f){if(typeof f!="string")throw Error(r(480))}function Eu(f,h){if(typeof h.$$FORM_ACTION=="function"){var x=f.nextFormID++;f=f.idPrefix+x;try{var T=h.$$FORM_ACTION(f);if(T){var z=T.data;z!=null&&z.forEach(oa)}return T}catch(I){if(typeof I=="object"&&I!==null&&typeof I.then=="function")throw I}}return null}function lo(f,h,x,T,z,I,Z,le){var X=null;if(typeof T=="function"){var re=Eu(h,T);re!==null?(le=re.name,T=re.action||"",z=re.encType,I=re.method,Z=re.target,X=re.data):(f.push(Qn,E("formAction"),Br,hl,jn),Z=I=z=T=le=null,_u(h,x))}return le!=null&&Pt(f,"name",le),T!=null&&Pt(f,"formAction",T),z!=null&&Pt(f,"formEncType",z),I!=null&&Pt(f,"formMethod",I),Z!=null&&Pt(f,"formTarget",Z),X}function Pt(f,h,x){switch(h){case"className":Lt(f,"class",x);break;case"tabIndex":Lt(f,"tabindex",x);break;case"dir":case"role":case"viewBox":case"width":case"height":Lt(f,h,x);break;case"style":vs(f,x);break;case"src":case"href":if(x==="")break;case"action":case"formAction":if(x==null||typeof x=="function"||typeof x=="symbol"||typeof x=="boolean")break;x=mt(""+x),f.push(Qn,E(h),Br,E(Me(x)),jn);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Dn(f,h.toLowerCase(),x);break;case"xlinkHref":if(typeof x=="function"||typeof x=="symbol"||typeof x=="boolean")break;x=mt(""+x),f.push(Qn,E("xlink:href"),Br,E(Me(x)),jn);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof x!="function"&&typeof x!="symbol"&&f.push(Qn,E(h),Br,E(Me(x)),jn);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":x&&typeof x!="function"&&typeof x!="symbol"&&f.push(Qn,E(h),Fr);break;case"capture":case"download":x===!0?f.push(Qn,E(h),Fr):x!==!1&&typeof x!="function"&&typeof x!="symbol"&&f.push(Qn,E(h),Br,E(Me(x)),jn);break;case"cols":case"rows":case"size":case"span":typeof x!="function"&&typeof x!="symbol"&&!isNaN(x)&&1<=x&&f.push(Qn,E(h),Br,E(Me(x)),jn);break;case"rowSpan":case"start":typeof x=="function"||typeof x=="symbol"||isNaN(x)||f.push(Qn,E(h),Br,E(Me(x)),jn);break;case"xlinkActuate":Lt(f,"xlink:actuate",x);break;case"xlinkArcrole":Lt(f,"xlink:arcrole",x);break;case"xlinkRole":Lt(f,"xlink:role",x);break;case"xlinkShow":Lt(f,"xlink:show",x);break;case"xlinkTitle":Lt(f,"xlink:title",x);break;case"xlinkType":Lt(f,"xlink:type",x);break;case"xmlBase":Lt(f,"xml:base",x);break;case"xmlLang":Lt(f,"xml:lang",x);break;case"xmlSpace":Lt(f,"xml:space",x);break;default:if((!(2<h.length)||h[0]!=="o"&&h[0]!=="O"||h[1]!=="n"&&h[1]!=="N")&&(h=ye.get(h)||h,de(h))){switch(typeof x){case"function":case"symbol":return;case"boolean":var T=h.toLowerCase().slice(0,5);if(T!=="data-"&&T!=="aria-")return}f.push(Qn,E(h),Br,E(Me(x)),jn)}}}var _n=F(">"),Hi=F("/>");function qn(f,h,x){if(h!=null){if(x!=null)throw Error(r(60));if(typeof h!="object"||!("__html"in h))throw Error(r(61));h=h.__html,h!=null&&f.push(E(""+h))}}function gl(f){var h="";return e.Children.forEach(f,function(x){x!=null&&(h+=x)}),h}var Mn=F(' selected=""'),Lc=F(`addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error('React form unexpectedly submitted.')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});`);function _u(f,h){(f.instructions&16)===0&&(f.instructions|=16,h.bootstrapChunks.unshift(h.startInlineScript,Lc,Pn))}var pl=F("<!--F!-->"),oo=F("<!--F-->");function ur(f,h){f.push(xn("link"));for(var x in h)if(De.call(h,x)){var T=h[x];if(T!=null)switch(x){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"link"));default:Pt(f,x,T)}}return f.push(Hi),null}var Cu=/(<\/|<)(s)(tyle)/gi;function ml(f,h,x,T){return""+h+(x==="s"?"\\73 ":"\\53 ")+T}function sa(f,h,x){f.push(xn(x));for(var T in h)if(De.call(h,T)){var z=h[T];if(z!=null)switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,x));default:Pt(f,T,z)}}return f.push(Hi),null}function bl(f,h){f.push(xn("title"));var x=null,T=null,z;for(z in h)if(De.call(h,z)){var I=h[z];if(I!=null)switch(z){case"children":x=I;break;case"dangerouslySetInnerHTML":T=I;break;default:Pt(f,z,I)}}return f.push(_n),h=Array.isArray(x)?2>x.length?x[0]:null:x,typeof h!="function"&&typeof h!="symbol"&&h!==null&&h!==void 0&&f.push(E(Me(""+h))),qn(f,T,x),f.push(Si("title")),null}function ua(f,h){f.push(xn("script"));var x=null,T=null,z;for(z in h)if(De.call(h,z)){var I=h[z];if(I!=null)switch(z){case"children":x=I;break;case"dangerouslySetInnerHTML":T=I;break;default:Pt(f,z,I)}}return f.push(_n),qn(f,T,x),typeof x=="string"&&f.push(E((""+x).replace(Ot,Zn))),f.push(Si("script")),null}function Wr(f,h,x){f.push(xn(x));var T=x=null,z;for(z in h)if(De.call(h,z)){var I=h[z];if(I!=null)switch(z){case"children":x=I;break;case"dangerouslySetInnerHTML":T=I;break;default:Pt(f,z,I)}}return f.push(_n),qn(f,T,x),x}function Wa(f,h,x){f.push(xn(x));var T=x=null,z;for(z in h)if(De.call(h,z)){var I=h[z];if(I!=null)switch(z){case"children":x=I;break;case"dangerouslySetInnerHTML":T=I;break;default:Pt(f,z,I)}}return f.push(_n),qn(f,T,x),typeof x=="string"?(f.push(E(Me(x))),null):x}var Bo=F(`
140
- `),yl=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xs=new Map;function xn(f){var h=xs.get(f);if(h===void 0){if(!yl.test(f))throw Error(r(65,f));h=F("<"+f),xs.set(f,h)}return h}var Tu=F("<!DOCTYPE html>");function Bc(f,h,x,T,z,I,Z,le,X,re){switch(h){case"div":case"span":case"svg":case"path":break;case"a":f.push(xn("a"));var Ie=null,xe=null,Ye;for(Ye in x)if(De.call(x,Ye)){var Ze=x[Ye];if(Ze!=null)switch(Ye){case"children":Ie=Ze;break;case"dangerouslySetInnerHTML":xe=Ze;break;case"href":Ze===""?Lt(f,"href",""):Pt(f,Ye,Ze);break;default:Pt(f,Ye,Ze)}}if(f.push(_n),qn(f,xe,Ie),typeof Ie=="string"){f.push(E(Me(Ie)));var $e=null}else $e=Ie;return $e;case"g":case"p":case"li":break;case"select":f.push(xn("select"));var ft=null,Vt=null,$t;for($t in x)if(De.call(x,$t)){var At=x[$t];if(At!=null)switch($t){case"children":ft=At;break;case"dangerouslySetInnerHTML":Vt=At;break;case"defaultValue":case"value":break;default:Pt(f,$t,At)}}return f.push(_n),qn(f,Vt,ft),ft;case"option":var rr=le.selectedValue;f.push(xn("option"));var bn=null,hr=null,on=null,at=null,pt;for(pt in x)if(De.call(x,pt)){var bt=x[pt];if(bt!=null)switch(pt){case"children":bn=bt;break;case"selected":on=bt;break;case"dangerouslySetInnerHTML":at=bt;break;case"value":hr=bt;default:Pt(f,pt,bt)}}if(rr!=null){var wn=hr!==null?""+hr:gl(bn);if(ee(rr)){for(var Xt=0;Xt<rr.length;Xt++)if(""+rr[Xt]===wn){f.push(Mn);break}}else""+rr===wn&&f.push(Mn)}else on&&f.push(Mn);return f.push(_n),qn(f,at,bn),bn;case"textarea":f.push(xn("textarea"));var kn=null,Ra=null,hi=null,Qr;for(Qr in x)if(De.call(x,Qr)){var yo=x[Qr];if(yo!=null)switch(Qr){case"children":hi=yo;break;case"value":kn=yo;break;case"defaultValue":Ra=yo;break;case"dangerouslySetInnerHTML":throw Error(r(91));default:Pt(f,Qr,yo)}}if(kn===null&&Ra!==null&&(kn=Ra),f.push(_n),hi!=null){if(kn!=null)throw Error(r(92));if(ee(hi)){if(1<hi.length)throw Error(r(93));kn=""+hi[0]}kn=""+hi}return typeof kn=="string"&&kn[0]===`
141
- `&&f.push(Bo),kn!==null&&f.push(E(Me(""+kn))),null;case"input":f.push(xn("input"));var en=null,qc=null,$c=null,wd=null,kd=null,Ed=null,Bu=null,Fu=null,Hu=null,gr;for(gr in x)if(De.call(x,gr)){var Gt=x[gr];if(Gt!=null)switch(gr){case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"input"));case"name":en=Gt;break;case"formAction":qc=Gt;break;case"formEncType":$c=Gt;break;case"formMethod":wd=Gt;break;case"formTarget":kd=Gt;break;case"defaultChecked":Hu=Gt;break;case"defaultValue":Bu=Gt;break;case"checked":Fu=Gt;break;case"value":Ed=Gt;break;default:Pt(f,gr,Gt)}}var ef=lo(f,T,z,qc,$c,wd,kd,en);return Fu!==null?Dn(f,"checked",Fu):Hu!==null&&Dn(f,"checked",Hu),Ed!==null?Pt(f,"value",Ed):Bu!==null&&Pt(f,"value",Bu),f.push(Hi),ef!=null&&ef.forEach(Hr,f),null;case"button":f.push(xn("button"));var Hl=null,Wu=null,tf=null,el=null,Gu=null,nf=null,rf=null,Bs;for(Bs in x)if(De.call(x,Bs)){var tl=x[Bs];if(tl!=null)switch(Bs){case"children":Hl=tl;break;case"dangerouslySetInnerHTML":Wu=tl;break;case"name":tf=tl;break;case"formAction":el=tl;break;case"formEncType":Gu=tl;break;case"formMethod":nf=tl;break;case"formTarget":rf=tl;break;default:Pt(f,Bs,tl)}}var _d=lo(f,T,z,el,Gu,nf,rf,tf);if(f.push(_n),_d!=null&&_d.forEach(Hr,f),qn(f,Wu,Hl),typeof Hl=="string"){f.push(E(Me(Hl)));var Cd=null}else Cd=Hl;return Cd;case"form":f.push(xn("form"));var Fs=null,Td=null,Wl=null,Hs=null,Yu=null,Ws=null,Gs;for(Gs in x)if(De.call(x,Gs)){var Gl=x[Gs];if(Gl!=null)switch(Gs){case"children":Fs=Gl;break;case"dangerouslySetInnerHTML":Td=Gl;break;case"action":Wl=Gl;break;case"encType":Hs=Gl;break;case"method":Yu=Gl;break;case"target":Ws=Gl;break;default:Pt(f,Gs,Gl)}}var Uu=null,af=null;if(typeof Wl=="function"){var vo=Eu(T,Wl);vo!==null?(Wl=vo.action||"",Hs=vo.encType,Yu=vo.method,Ws=vo.target,Uu=vo.data,af=vo.name):(f.push(Qn,E("action"),Br,hl,jn),Ws=Yu=Hs=Wl=null,_u(T,z))}if(Wl!=null&&Pt(f,"action",Wl),Hs!=null&&Pt(f,"encType",Hs),Yu!=null&&Pt(f,"method",Yu),Ws!=null&&Pt(f,"target",Ws),f.push(_n),af!==null&&(f.push(Lo),Lt(f,"name",af),f.push(Hi),Uu!=null&&Uu.forEach(Hr,f)),qn(f,Td,Fs),typeof Fs=="string"){f.push(E(Me(Fs)));var Rd=null}else Rd=Fs;return Rd;case"menuitem":f.push(xn("menuitem"));for(var Zu in x)if(De.call(x,Zu)){var zd=x[Zu];if(zd!=null)switch(Zu){case"children":case"dangerouslySetInnerHTML":throw Error(r(400));default:Pt(f,Zu,zd)}}return f.push(_n),null;case"object":f.push(xn("object"));var Vu=null,Od=null,nl;for(nl in x)if(De.call(x,nl)){var xo=x[nl];if(xo!=null)switch(nl){case"children":Vu=xo;break;case"dangerouslySetInnerHTML":Od=xo;break;case"data":var Pd=mt(""+xo);if(Pd==="")break;f.push(Qn,E("data"),Br,E(Me(Pd)),jn);break;default:Pt(f,nl,xo)}}if(f.push(_n),qn(f,Od,Vu),typeof Vu=="string"){f.push(E(Me(Vu)));var Xu=null}else Xu=Vu;return Xu;case"title":if(le.insertionMode===4||le.tagScope&1||x.itemProp!=null)var rs=bl(f,x);else re?rs=null:(bl(z.hoistableChunks,x),rs=void 0);return rs;case"link":var pg=x.rel,Yl=x.href,Ju=x.precedence;if(le.insertionMode===4||le.tagScope&1||x.itemProp!=null||typeof pg!="string"||typeof Yl!="string"||Yl===""){ur(f,x);var Ys=null}else if(x.rel==="stylesheet")if(typeof Ju!="string"||x.disabled!=null||x.onLoad||x.onError)Ys=ur(f,x);else{var is=z.styles.get(Ju),Ku=T.styleResources.hasOwnProperty(Yl)?T.styleResources[Yl]:void 0;if(Ku!==null){T.styleResources[Yl]=null,is||(is={precedence:E(Me(Ju)),rules:[],hrefs:[],sheets:new Map},z.styles.set(Ju,is));var Us={state:0,props:B({},x,{"data-precedence":x.precedence,precedence:null})};if(Ku){Ku.length===2&&Xa(Us.props,Ku);var lf=z.preloads.stylesheets.get(Yl);lf&&0<lf.length?lf.length=0:Us.state=1}is.sheets.set(Yl,Us),Z&&Z.stylesheets.add(Us)}else if(is){var Dd=is.sheets.get(Yl);Dd&&Z&&Z.stylesheets.add(Dd)}X&&f.push(Ai),Ys=null}else x.onLoad||x.onError?Ys=ur(f,x):(X&&f.push(Ai),Ys=re?null:ur(z.hoistableChunks,x));return Ys;case"script":var Qu=x.async;if(typeof x.src!="string"||!x.src||!Qu||typeof Qu=="function"||typeof Qu=="symbol"||x.onLoad||x.onError||le.insertionMode===4||le.tagScope&1||x.itemProp!=null)var Md=ua(f,x);else{var ju=x.src;if(x.type==="module")var of=T.moduleScriptResources,sf=z.preloads.moduleScripts;else of=T.scriptResources,sf=z.preloads.scripts;var qu=of.hasOwnProperty(ju)?of[ju]:void 0;if(qu!==null){of[ju]=null;var uf=x;if(qu){qu.length===2&&(uf=B({},x),Xa(uf,qu));var cf=sf.get(ju);cf&&(cf.length=0)}var Nd=[];z.scripts.add(Nd),ua(Nd,uf)}X&&f.push(Ai),Md=null}return Md;case"style":var $u=x.precedence,as=x.href;if(le.insertionMode===4||le.tagScope&1||x.itemProp!=null||typeof $u!="string"||typeof as!="string"||as===""){f.push(xn("style"));var Zs=null,Id=null,Ul;for(Ul in x)if(De.call(x,Ul)){var Vs=x[Ul];if(Vs!=null)switch(Ul){case"children":Zs=Vs;break;case"dangerouslySetInnerHTML":Id=Vs;break;default:Pt(f,Ul,Vs)}}f.push(_n);var Ao=Array.isArray(Zs)?2>Zs.length?Zs[0]:null:Zs;typeof Ao!="function"&&typeof Ao!="symbol"&&Ao!==null&&Ao!==void 0&&f.push(E((""+Ao).replace(Cu,ml))),qn(f,Id,Zs),f.push(Si("style"));var Ld=null}else{var So=z.styles.get($u);if((T.styleResources.hasOwnProperty(as)?T.styleResources[as]:void 0)!==null){T.styleResources[as]=null,So?So.hrefs.push(E(Me(as))):(So={precedence:E(Me($u)),rules:[],hrefs:[E(Me(as))],sheets:new Map},z.styles.set($u,So));var ec=So.rules,ls=null,Bd=null,ff;for(ff in x)if(De.call(x,ff)){var wo=x[ff];if(wo!=null)switch(ff){case"children":ls=wo;break;case"dangerouslySetInnerHTML":Bd=wo}}var Zl=Array.isArray(ls)?2>ls.length?ls[0]:null:ls;typeof Zl!="function"&&typeof Zl!="symbol"&&Zl!==null&&Zl!==void 0&&ec.push(E((""+Zl).replace(Cu,ml))),qn(ec,Bd,ls)}So&&Z&&Z.styles.add(So),X&&f.push(Ai),Ld=void 0}return Ld;case"meta":if(le.insertionMode===4||le.tagScope&1||x.itemProp!=null)var tc=sa(f,x,"meta");else X&&f.push(Ai),tc=re?null:typeof x.charSet=="string"?sa(z.charsetChunks,x,"meta"):x.name==="viewport"?sa(z.viewportChunks,x,"meta"):sa(z.hoistableChunks,x,"meta");return tc;case"listing":case"pre":f.push(xn(h));var Vl=null,ko=null,Xs;for(Xs in x)if(De.call(x,Xs)){var nc=x[Xs];if(nc!=null)switch(Xs){case"children":Vl=nc;break;case"dangerouslySetInnerHTML":ko=nc;break;default:Pt(f,Xs,nc)}}if(f.push(_n),ko!=null){if(Vl!=null)throw Error(r(60));if(typeof ko!="object"||!("__html"in ko))throw Error(r(61));var Qi=ko.__html;Qi!=null&&(typeof Qi=="string"&&0<Qi.length&&Qi[0]===`
142
- `?f.push(Bo,E(Qi)):f.push(E(""+Qi)))}return typeof Vl=="string"&&Vl[0]===`
143
- `&&f.push(Bo),Vl;case"img":var xr=x.src,jt=x.srcSet;if(!(x.loading==="lazy"||!xr&&!jt||typeof xr!="string"&&xr!=null||typeof jt!="string"&&jt!=null)&&x.fetchPriority!=="low"&&!(le.tagScope&3)&&(typeof xr!="string"||xr[4]!==":"||xr[0]!=="d"&&xr[0]!=="D"||xr[1]!=="a"&&xr[1]!=="A"||xr[2]!=="t"&&xr[2]!=="T"||xr[3]!=="a"&&xr[3]!=="A")&&(typeof jt!="string"||jt[4]!==":"||jt[0]!=="d"&&jt[0]!=="D"||jt[1]!=="a"&&jt[1]!=="A"||jt[2]!=="t"&&jt[2]!=="T"||jt[3]!=="a"&&jt[3]!=="A")){var za=typeof x.sizes=="string"?x.sizes:void 0,Pi=jt?jt+`
144
- `+(za||""):xr,df=z.preloads.images,gi=df.get(Pi);if(gi)(x.fetchPriority==="high"||10>z.highImagePreloads.size)&&(df.delete(Pi),z.highImagePreloads.add(gi));else if(!T.imageResources.hasOwnProperty(Pi)){T.imageResources[Pi]=mn;var Oa=x.crossOrigin,Xn=typeof Oa=="string"?Oa==="use-credentials"?Oa:"":void 0,rl=z.headers,rc;rl&&0<rl.remainingCapacity&&typeof x.srcSet!="string"&&(x.fetchPriority==="high"||500>rl.highImagePreloads.length)&&(rc=Gi(xr,"image",{imageSrcSet:x.srcSet,imageSizes:x.sizes,crossOrigin:Xn,integrity:x.integrity,nonce:x.nonce,type:x.type,fetchPriority:x.fetchPriority,referrerPolicy:x.refererPolicy}),0<=(rl.remainingCapacity-=rc.length+2))?(z.resets.image[Pi]=mn,rl.highImagePreloads&&(rl.highImagePreloads+=", "),rl.highImagePreloads+=rc):(gi=[],ur(gi,{rel:"preload",as:"image",href:jt?void 0:xr,imageSrcSet:jt,imageSizes:za,crossOrigin:Xn,integrity:x.integrity,type:x.type,fetchPriority:x.fetchPriority,referrerPolicy:x.referrerPolicy}),x.fetchPriority==="high"||10>z.highImagePreloads.size?z.highImagePreloads.add(gi):(z.bulkPreloads.add(gi),df.set(Pi,gi)))}}return sa(f,x,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return sa(f,x,h);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":break;case"head":if(2>le.insertionMode){var ic=I||z.preamble;if(ic.headChunks)throw Error(r(545,"`<head>`"));ic.headChunks=[];var Fd=Wr(ic.headChunks,x,"head")}else Fd=Wa(f,x,"head");return Fd;case"body":if(2>le.insertionMode){var hf=I||z.preamble;if(hf.bodyChunks)throw Error(r(545,"`<body>`"));hf.bodyChunks=[];var Eo=Wr(hf.bodyChunks,x,"body")}else Eo=Wa(f,x,"body");return Eo;case"html":if(le.insertionMode===0){var Js=I||z.preamble;if(Js.htmlChunks)throw Error(r(545,"`<html>`"));Js.htmlChunks=[Tu];var Hd=Wr(Js.htmlChunks,x,"html")}else Hd=Wa(f,x,"html");return Hd;default:if(h.indexOf("-")!==-1){f.push(xn(h));var gf=null,Wd=null,Xl;for(Xl in x)if(De.call(x,Xl)){var ji=x[Xl];if(ji!=null){var pf=Xl;switch(Xl){case"children":gf=ji;break;case"dangerouslySetInnerHTML":Wd=ji;break;case"style":vs(f,ji);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":pf="class";default:if(de(Xl)&&typeof ji!="function"&&typeof ji!="symbol"&&ji!==!1){if(ji===!0)ji="";else if(typeof ji=="object")continue;f.push(Qn,E(pf),Br,E(Me(ji)),jn)}}}}return f.push(_n),qn(f,Wd,gf),gf}}return Wa(f,x,h)}var Gr=new Map;function Si(f){var h=Gr.get(f);return h===void 0&&(h=F("</"+f+">"),Gr.set(f,h)),h}function Ru(f,h){f=f.preamble,f.htmlChunks===null&&h.htmlChunks&&(f.htmlChunks=h.htmlChunks,h.contribution|=1),f.headChunks===null&&h.headChunks&&(f.headChunks=h.headChunks,h.contribution|=4),f.bodyChunks===null&&h.bodyChunks&&(f.bodyChunks=h.bodyChunks,h.contribution|=2)}function wi(f,h){h=h.bootstrapChunks;for(var x=0;x<h.length-1;x++)M(f,h[x]);return x<h.length?(x=h[x],h.length=0,K(f,x)):!0}var Fo=F('<template id="'),Ho=F('"></template>'),Fc=F("<!--$-->"),Yr=F('<!--$?--><template id="'),As=F('"></template>'),ca=F("<!--$!-->"),vl=F("<!--/$-->"),so=F("<template"),Ss=F('"'),Wo=F(' data-dgst="');F(' data-msg="'),F(' data-stck="'),F(' data-cstck="');var uo=F("></template>");function Hc(f,h,x){if(M(f,Yr),x===null)throw Error(r(395));return M(f,h.boundaryPrefix),M(f,E(x.toString(16))),K(f,As)}var Wc=F("<!--"),Ga=F("-->");function xl(f,h){h=h.contribution,h!==0&&(M(f,Wc),M(f,E(""+h)),M(f,Ga))}var md=F('<div hidden id="'),ws=F('">'),Al=F("</div>"),zu=F('<svg aria-hidden="true" style="display:none" id="'),Ou=F('">'),Sr=F("</svg>"),Ya=F('<math aria-hidden="true" style="display:none" id="'),ks=F('">'),Go=F("</math>"),Yo=F('<table hidden id="'),Nt=F('">'),Ur=F("</table>"),co=F('<table hidden><tbody id="'),fa=F('">'),ai=F("</tbody></table>"),Sl=F('<table hidden><tr id="'),wl=F('">'),kl=F("</tr></table>"),ki=F('<table hidden><colgroup id="'),El=F('">'),Wi=F("</colgroup></table>");function br(f,h,x,T){switch(x.insertionMode){case 0:case 1:case 3:case 2:return M(f,md),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,ws);case 4:return M(f,zu),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,Ou);case 5:return M(f,Ya),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,ks);case 6:return M(f,Yo),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,Nt);case 7:return M(f,co),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,fa);case 8:return M(f,Sl),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,wl);case 9:return M(f,ki),M(f,h.segmentPrefix),M(f,E(T.toString(16))),K(f,El);default:throw Error(r(397))}}function da(f,h){switch(h.insertionMode){case 0:case 1:case 3:case 2:return K(f,Al);case 4:return K(f,Sr);case 5:return K(f,Go);case 6:return K(f,Ur);case 7:return K(f,ai);case 8:return K(f,kl);case 9:return K(f,Wi);default:throw Error(r(397))}}var ha=F('$RS=function(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ga=F('$RS("'),Gc=F('","'),Es=F('")<\/script>');F('<template data-rsi="" data-sid="'),F('" data-pid="');var _s=F('$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RC("'),Uo=F('$RC("'),Cs=F(`$RC=function(b,c,e){c=document.getElementById(c);c.parentNode.removeChild(c);var a=document.getElementById(b);if(a){b=a.previousSibling;if(e)b.data="$!",a.setAttribute("data-dgst",e);else{e=b.parentNode;a=b.nextSibling;var f=0;do{if(a&&8===a.nodeType){var d=a.data;if("/$"===d)if(0===f)break;else f--;else"$"!==d&&"$?"!==d&&"$!"!==d||f++}d=a.nextSibling;e.removeChild(a);a=d}while(a);for(;c.firstChild;)e.insertBefore(c.firstChild,a);b.data="$"}b._reactRetry&&b._reactRetry()}};$RM=new Map;
145
- $RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
146
- d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
147
- t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),Yc=F(`$RM=new Map;
148
- $RR=function(t,u,y){function v(n){this._p=null;n()}for(var w=$RC,p=$RM,q=new Map,r=document,g,b,h=r.querySelectorAll("link[data-precedence],style[data-precedence]"),x=[],k=0;b=h[k++];)"not all"===b.getAttribute("media")?x.push(b):("LINK"===b.tagName&&p.set(b.getAttribute("href"),b),q.set(b.dataset.precedence,g=b));b=0;h=[];var l,a;for(k=!0;;){if(k){var e=y[b++];if(!e){k=!1;b=0;continue}var c=!1,m=0;var d=e[m++];if(a=p.get(d)){var f=a._p;c=!0}else{a=r.createElement("link");a.href=
149
- d;a.rel="stylesheet";for(a.dataset.precedence=l=e[m++];f=e[m++];)a.setAttribute(f,e[m++]);f=a._p=new Promise(function(n,z){a.onload=v.bind(a,n);a.onerror=v.bind(a,z)});p.set(d,a)}d=a.getAttribute("media");!f||d&&!matchMedia(d).matches||h.push(f);if(c)continue}else{a=x[b++];if(!a)break;l=a.getAttribute("data-precedence");a.removeAttribute("media")}c=q.get(l)||g;c===g&&(g=a);q.set(l,a);c?c.parentNode.insertBefore(a,c.nextSibling):(c=r.head,c.insertBefore(a,c.firstChild))}Promise.all(h).then(w.bind(null,
150
- t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),Uc=F('$RR("'),Zc=F('","'),bd=F('",'),_l=F('"'),Vc=F(")<\/script>");F('<template data-rci="" data-bid="'),F('<template data-rri="" data-bid="'),F('" data-sid="'),F('" data-sty="');var Ts=F('$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'),yd=F('$RX("'),Pu=F('"'),Xc=F(","),Cl=F(")<\/script>");F('<template data-rxi="" data-bid="'),F('" data-dgst="'),F('" data-msg="'),F('" data-stck="'),F('" data-cstck="');var Du=/[<\u2028\u2029]/g;function Rs(f){return JSON.stringify(f).replace(Du,function(h){switch(h){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Jc=/[&><\u2028\u2029]/g;function Zo(f){return JSON.stringify(f).replace(Jc,function(h){switch(h){case"&":return"\\u0026";case">":return"\\u003e";case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSObjectForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ua=F('<style media="not all" data-precedence="'),vd=F('" data-href="'),xd=F('">'),$n=F("</style>"),fo=!1,Tl=!0;function Vo(f){var h=f.rules,x=f.hrefs,T=0;if(x.length){for(M(this,Ua),M(this,f.precedence),M(this,vd);T<x.length-1;T++)M(this,x[T]),M(this,Jo);for(M(this,x[T]),M(this,xd),T=0;T<h.length;T++)M(this,h[T]);Tl=K(this,$n),fo=!0,h.length=0,x.length=0}}function Kc(f){return f.state!==2?fo=!0:!1}function Rl(f,h,x){return fo=!1,Tl=!0,h.styles.forEach(Vo,f),h.stylesheets.forEach(Kc),fo&&(x.stylesToHoist=!0),Tl}function cr(f){for(var h=0;h<f.length;h++)M(this,f[h]);f.length=0}var wr=[];function Zr(f){ur(wr,f.props);for(var h=0;h<wr.length;h++)M(this,wr[h]);wr.length=0,f.state=2}var Xo=F('<style data-precedence="'),Qc=F('" data-href="'),Jo=F(" "),Za=F('">'),Mu=F("</style>");function Vr(f){var h=0<f.sheets.size;f.sheets.forEach(Zr,this),f.sheets.clear();var x=f.rules,T=f.hrefs;if(!h||T.length){if(M(this,Xo),M(this,f.precedence),f=0,T.length){for(M(this,Qc);f<T.length-1;f++)M(this,T[f]),M(this,Jo);M(this,T[f])}for(M(this,Za),f=0;f<x.length;f++)M(this,x[f]);M(this,Mu),x.length=0,T.length=0}}function zs(f){if(f.state===0){f.state=1;var h=f.props;for(ur(wr,{rel:"preload",as:"style",href:f.props.href,crossOrigin:h.crossOrigin,fetchPriority:h.fetchPriority,integrity:h.integrity,media:h.media,hrefLang:h.hrefLang,referrerPolicy:h.referrerPolicy}),f=0;f<wr.length;f++)M(this,wr[f]);wr.length=0}}function Os(f){f.sheets.forEach(zs,this),f.sheets.clear()}var Ko=F("["),Ps=F(",["),pa=F(","),Xr=F("]");function Ad(f,h){M(f,Ko);var x=Ko;h.stylesheets.forEach(function(T){if(T.state!==2)if(T.state===3)M(f,x),M(f,E(Zo(""+T.props.href))),M(f,Xr),x=Ps;else{M(f,x);var z=T.props["data-precedence"],I=T.props,Z=mt(""+T.props.href);M(f,E(Zo(Z))),z=""+z,M(f,pa),M(f,E(Zo(z)));for(var le in I)if(De.call(I,le)&&(z=I[le],z!=null))switch(le){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(r(399,"link"));default:Qo(f,le,z)}M(f,Xr),x=Ps,T.state=3}}),M(f,Xr)}function Qo(f,h,x){var T=h.toLowerCase();switch(typeof x){case"function":case"symbol":return}switch(h){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":T="class",h=""+x;break;case"hidden":if(x===!1)return;h="";break;case"src":case"href":x=mt(x),h=""+x;break;default:if(2<h.length&&(h[0]==="o"||h[0]==="O")&&(h[1]==="n"||h[1]==="N")||!de(h))return;h=""+x}M(f,pa),M(f,E(Zo(T))),M(f,pa),M(f,E(Zo(h)))}function Ds(){return{styles:new Set,stylesheets:new Set}}function Ms(f){var h=Tn||null;if(h){var x=h.resumableState,T=h.renderState;if(typeof f=="string"&&f){if(!x.dnsResources.hasOwnProperty(f)){x.dnsResources[f]=null,x=T.headers;var z,I;(I=x&&0<x.remainingCapacity)&&(I=(z="<"+(""+f).replace(Ol,Ja)+">; rel=dns-prefetch",0<=(x.remainingCapacity-=z.length+2))),I?(T.resets.dns[f]=null,x.preconnects&&(x.preconnects+=", "),x.preconnects+=z):(z=[],ur(z,{href:f,rel:"dns-prefetch"}),T.preconnects.add(z))}Ca(h)}}else On.D(f)}function zl(f,h){var x=Tn||null;if(x){var T=x.resumableState,z=x.renderState;if(typeof f=="string"&&f){var I=h==="use-credentials"?"credentials":typeof h=="string"?"anonymous":"default";if(!T.connectResources[I].hasOwnProperty(f)){T.connectResources[I][f]=null,T=z.headers;var Z,le;if(le=T&&0<T.remainingCapacity){if(le="<"+(""+f).replace(Ol,Ja)+">; rel=preconnect",typeof h=="string"){var X=(""+h).replace(go,Is);le+='; crossorigin="'+X+'"'}le=(Z=le,0<=(T.remainingCapacity-=Z.length+2))}le?(z.resets.connect[I][f]=null,T.preconnects&&(T.preconnects+=", "),T.preconnects+=Z):(I=[],ur(I,{rel:"preconnect",href:f,crossOrigin:h}),z.preconnects.add(I))}Ca(x)}}else On.C(f,h)}function Va(f,h,x){var T=Tn||null;if(T){var z=T.resumableState,I=T.renderState;if(h&&f){switch(h){case"image":if(x)var Z=x.imageSrcSet,le=x.imageSizes,X=x.fetchPriority;var re=Z?Z+`
151
- `+(le||""):f;if(z.imageResources.hasOwnProperty(re))return;z.imageResources[re]=mn,z=I.headers;var Ie;z&&0<z.remainingCapacity&&typeof Z!="string"&&X==="high"&&(Ie=Gi(f,h,x),0<=(z.remainingCapacity-=Ie.length+2))?(I.resets.image[re]=mn,z.highImagePreloads&&(z.highImagePreloads+=", "),z.highImagePreloads+=Ie):(z=[],ur(z,B({rel:"preload",href:Z?void 0:f,as:h},x)),X==="high"?I.highImagePreloads.add(z):(I.bulkPreloads.add(z),I.preloads.images.set(re,z)));break;case"style":if(z.styleResources.hasOwnProperty(f))return;Z=[],ur(Z,B({rel:"preload",href:f,as:h},x)),z.styleResources[f]=!x||typeof x.crossOrigin!="string"&&typeof x.integrity!="string"?mn:[x.crossOrigin,x.integrity],I.preloads.stylesheets.set(f,Z),I.bulkPreloads.add(Z);break;case"script":if(z.scriptResources.hasOwnProperty(f))return;Z=[],I.preloads.scripts.set(f,Z),I.bulkPreloads.add(Z),ur(Z,B({rel:"preload",href:f,as:h},x)),z.scriptResources[f]=!x||typeof x.crossOrigin!="string"&&typeof x.integrity!="string"?mn:[x.crossOrigin,x.integrity];break;default:if(z.unknownResources.hasOwnProperty(h)){if(Z=z.unknownResources[h],Z.hasOwnProperty(f))return}else Z={},z.unknownResources[h]=Z;if(Z[f]=mn,(z=I.headers)&&0<z.remainingCapacity&&h==="font"&&(re=Gi(f,h,x),0<=(z.remainingCapacity-=re.length+2)))I.resets.font[f]=mn,z.fontPreloads&&(z.fontPreloads+=", "),z.fontPreloads+=re;else switch(z=[],f=B({rel:"preload",href:f,as:h},x),ur(z,f),h){case"font":I.fontPreloads.add(z);break;default:I.bulkPreloads.add(z)}}Ca(T)}}else On.L(f,h,x)}function jo(f,h){var x=Tn||null;if(x){var T=x.resumableState,z=x.renderState;if(f){var I=h&&typeof h.as=="string"?h.as:"script";switch(I){case"script":if(T.moduleScriptResources.hasOwnProperty(f))return;I=[],T.moduleScriptResources[f]=!h||typeof h.crossOrigin!="string"&&typeof h.integrity!="string"?mn:[h.crossOrigin,h.integrity],z.preloads.moduleScripts.set(f,I);break;default:if(T.moduleUnknownResources.hasOwnProperty(I)){var Z=T.unknownResources[I];if(Z.hasOwnProperty(f))return}else Z={},T.moduleUnknownResources[I]=Z;I=[],Z[f]=mn}ur(I,B({rel:"modulepreload",href:f},h)),z.bulkPreloads.add(I),Ca(x)}}else On.m(f,h)}function ho(f,h,x){var T=Tn||null;if(T){var z=T.resumableState,I=T.renderState;if(f){h=h||"default";var Z=I.styles.get(h),le=z.styleResources.hasOwnProperty(f)?z.styleResources[f]:void 0;le!==null&&(z.styleResources[f]=null,Z||(Z={precedence:E(Me(h)),rules:[],hrefs:[],sheets:new Map},I.styles.set(h,Z)),h={state:0,props:B({rel:"stylesheet",href:f,"data-precedence":h},x)},le&&(le.length===2&&Xa(h.props,le),(I=I.preloads.stylesheets.get(f))&&0<I.length?I.length=0:h.state=1),Z.sheets.set(f,h),Ca(T))}}else On.S(f,h,x)}function Nu(f,h){var x=Tn||null;if(x){var T=x.resumableState,z=x.renderState;if(f){var I=T.scriptResources.hasOwnProperty(f)?T.scriptResources[f]:void 0;I!==null&&(T.scriptResources[f]=null,h=B({src:f,async:!0},h),I&&(I.length===2&&Xa(h,I),f=z.preloads.scripts.get(f))&&(f.length=0),f=[],z.scripts.add(f),ua(f,h),Ca(x))}}else On.X(f,h)}function Ns(f,h){var x=Tn||null;if(x){var T=x.resumableState,z=x.renderState;if(f){var I=T.moduleScriptResources.hasOwnProperty(f)?T.moduleScriptResources[f]:void 0;I!==null&&(T.moduleScriptResources[f]=null,h=B({src:f,type:"module",async:!0},h),I&&(I.length===2&&Xa(h,I),f=z.preloads.moduleScripts.get(f))&&(f.length=0),f=[],z.scripts.add(f),ua(f,h),Ca(x))}}else On.M(f,h)}function Xa(f,h){f.crossOrigin==null&&(f.crossOrigin=h[0]),f.integrity==null&&(f.integrity=h[1])}function Gi(f,h,x){f=(""+f).replace(Ol,Ja),h=(""+h).replace(go,Is),h="<"+f+'>; rel=preload; as="'+h+'"';for(var T in x)De.call(x,T)&&(f=x[T],typeof f=="string"&&(h+="; "+T.toLowerCase()+'="'+(""+f).replace(go,Is)+'"'));return h}var Ol=/[<>\r\n]/g;function Ja(f){switch(f){case"<":return"%3C";case">":return"%3E";case`
152
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeLinkHrefForHeaderContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}var go=/["';,\r\n]/g;function Is(f){switch(f){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
153
- `:return"%0A";case"\r":return"%0D";default:throw Error("escapeStringForLinkHeaderQuotedParamValueContextReplacer encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}}function Iu(f){this.styles.add(f)}function qo(f){this.stylesheets.add(f)}var Pl=Function.prototype.bind,Sd=Symbol.for("react.client.reference");function fr(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===Sd?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case u:return"Fragment";case m:return"Profiler";case c:return"StrictMode";case k:return"Suspense";case _:return"SuspenseList";case H:return"Activity"}if(typeof f=="object")switch(f.$$typeof){case o:return"Portal";case A:return(f.displayName||"Context")+".Provider";case y:return(f._context.displayName||"Context")+".Consumer";case w:var h=f.render;return f=f.displayName,f||(f=h.displayName||h.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case P:return h=f.displayName||null,h!==null?h:fr(f.type)||"Memo";case N:h=f._payload,f=f._init;try{return fr(f(h))}catch(x){}}return null}var po={},ma=null;function d(f,h){if(f!==h){f.context._currentValue=f.parentValue,f=f.parent;var x=h.parent;if(f===null){if(x!==null)throw Error(r(401))}else{if(x===null)throw Error(r(401));d(f,x)}h.context._currentValue=h.value}}function p(f){f.context._currentValue=f.parentValue,f=f.parent,f!==null&&p(f)}function S(f){var h=f.parent;h!==null&&S(h),f.context._currentValue=f.value}function C(f,h){if(f.context._currentValue=f.parentValue,f=f.parent,f===null)throw Error(r(402));f.depth===h.depth?d(f,h):C(f,h)}function O(f,h){var x=h.parent;if(x===null)throw Error(r(402));f.depth===x.depth?d(f,x):O(f,x),h.context._currentValue=h.value}function L(f){var h=ma;h!==f&&(h===null?S(f):f===null?p(h):h.depth===f.depth?d(h,f):h.depth>f.depth?C(h,f):O(h,f),ma=f)}var V={enqueueSetState:function(f,h){f=f._reactInternals,f.queue!==null&&f.queue.push(h)},enqueueReplaceState:function(f,h){f=f._reactInternals,f.replace=!0,f.queue=[h]},enqueueForceUpdate:function(){}},be={id:1,overflow:""};function ie(f,h,x){var T=f.id;f=f.overflow;var z=32-he(T)-1;T&=~(1<<z),x+=1;var I=32-he(h)+z;if(30<I){var Z=z-z%5;return I=(T&(1<<Z)-1).toString(32),T>>=Z,z-=Z,{id:1<<32-he(h)+z|x<<z|T,overflow:I+f}}return{id:1<<I|x<<z|T,overflow:f}}var he=Math.clz32?Math.clz32:Ve,He=Math.log,Be=Math.LN2;function Ve(f){return f>>>=0,f===0?32:31-(He(f)/Be|0)|0}var et=Error(r(460));function qe(){}function ut(f,h,x){switch(x=f[x],x===void 0?f.push(h):x!==h&&(h.then(qe,qe),h=x),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason;default:switch(typeof h.status=="string"?h.then(qe,qe):(f=h,f.status="pending",f.then(function(T){if(h.status==="pending"){var z=h;z.status="fulfilled",z.value=T}},function(T){if(h.status==="pending"){var z=h;z.status="rejected",z.reason=T}})),h.status){case"fulfilled":return h.value;case"rejected":throw h.reason}throw Ft=h,et}}var Ft=null;function Ht(){if(Ft===null)throw Error(r(459));var f=Ft;return Ft=null,f}function Wt(f,h){return f===h&&(f!==0||1/f===1/h)||f!==f&&h!==h}var an=typeof Object.is=="function"?Object.is:Wt,Qe=null,An=null,xt=null,Nn=null,Qt=null,ct=null,Bt=!1,Hn=!1,Sn=0,Ei=0,yr=-1,In=0,er=null,Cn=null,Yi=0;function Vn(){if(Qe===null)throw Error(r(321));return Qe}function _i(){if(0<Yi)throw Error(r(312));return{memoizedState:null,queue:null,next:null}}function ba(){return ct===null?Qt===null?(Bt=!1,Qt=ct=_i()):(Bt=!0,ct=Qt):ct.next===null?(Bt=!1,ct=ct.next=_i()):(Bt=!0,ct=ct.next),ct}function Ln(){var f=er;return er=null,f}function ya(){Nn=xt=An=Qe=null,Hn=!1,Qt=null,Yi=0,ct=Cn=null}function li(f,h){return typeof h=="function"?h(f):h}function $o(f,h,x){if(Qe=Vn(),ct=ba(),Bt){var T=ct.queue;if(h=T.dispatch,Cn!==null&&(x=Cn.get(T),x!==void 0)){Cn.delete(T),T=ct.memoizedState;do T=f(T,x.action),x=x.next;while(x!==null);return ct.memoizedState=T,[T,h]}return[ct.memoizedState,h]}return f=f===li?typeof h=="function"?h():h:x!==void 0?x(h):h,ct.memoizedState=f,f=ct.queue={last:null,dispatch:null},f=f.dispatch=tr.bind(null,Qe,f),[ct.memoizedState,f]}function va(f,h){if(Qe=Vn(),ct=ba(),h=h===void 0?null:h,ct!==null){var x=ct.memoizedState;if(x!==null&&h!==null){var T=x[1];e:if(T===null)T=!1;else{for(var z=0;z<T.length&&z<h.length;z++)if(!an(h[z],T[z])){T=!1;break e}T=!0}if(T)return x[0]}}return f=f(),ct.memoizedState=[f,h],f}function tr(f,h,x){if(25<=Yi)throw Error(r(301));if(f===Qe)if(Hn=!0,f={action:x,next:null},Cn===null&&(Cn=new Map),x=Cn.get(h),x===void 0)Cn.set(h,f);else{for(h=x;h.next!==null;)h=h.next;h.next=f}}function Ls(){throw Error(r(394))}function Dl(){throw Error(r(479))}function Ka(f,h,x){Vn();var T=Ei++,z=xt;if(typeof f.$$FORM_ACTION=="function"){var I=null,Z=Nn;z=z.formState;var le=f.$$IS_SIGNATURE_EQUAL;if(z!==null&&typeof le=="function"){var X=z[1];le.call(f,z[2],z[3])&&(I=x!==void 0?"p"+x:"k"+Te(JSON.stringify([Z,null,T]),0),X===I&&(yr=T,h=z[0]))}var re=f.bind(null,h);return f=function(xe){re(xe)},typeof re.$$FORM_ACTION=="function"&&(f.$$FORM_ACTION=function(xe){xe=re.$$FORM_ACTION(xe),x!==void 0&&(x+="",xe.action=x);var Ye=xe.data;return Ye&&(I===null&&(I=x!==void 0?"p"+x:"k"+Te(JSON.stringify([Z,null,T]),0)),Ye.append("$ACTION_KEY",I)),xe}),[h,f,!1]}var Ie=f.bind(null,h);return[h,function(xe){Ie(xe)},!1]}function Qa(f){var h=In;return In+=1,er===null&&(er=[]),ut(er,f,h)}function es(){throw Error(r(393))}function xa(){}var kr={readContext:function(f){return f._currentValue},use:function(f){if(f!==null&&typeof f=="object"){if(typeof f.then=="function")return Qa(f);if(f.$$typeof===A)return f._currentValue}throw Error(r(438,String(f)))},useContext:function(f){return Vn(),f._currentValue},useMemo:va,useReducer:$o,useRef:function(f){Qe=Vn(),ct=ba();var h=ct.memoizedState;return h===null?(f={current:f},ct.memoizedState=f):h},useState:function(f){return $o(li,f)},useInsertionEffect:xa,useLayoutEffect:xa,useCallback:function(f,h){return va(function(){return f},h)},useImperativeHandle:xa,useEffect:xa,useDebugValue:xa,useDeferredValue:function(f,h){return Vn(),h!==void 0?h:f},useTransition:function(){return Vn(),[!1,Ls]},useId:function(){var f=An.treeContext,h=f.overflow;f=f.id,f=(f&~(1<<32-he(f)-1)).toString(32)+h;var x=dr;if(x===null)throw Error(r(404));return h=Sn++,f="«"+x.idPrefix+"R"+f,0<h&&(f+="H"+h.toString(32)),f+"»"},useSyncExternalStore:function(f,h,x){if(x===void 0)throw Error(r(407));return x()},useOptimistic:function(f){return Vn(),[f,Dl]},useActionState:Ka,useFormState:Ka,useHostTransitionStatus:function(){return Vn(),ii},useMemoCache:function(f){for(var h=Array(f),x=0;x<f;x++)h[x]=Y;return h},useCacheRefresh:function(){return es}},dr=null,Ci={getCacheForType:function(){throw Error(r(248))}},Wn,Ti;function Jr(f){if(Wn===void 0)try{throw Error()}catch(x){var h=x.stack.trim().match(/\n( *(at )?)/);Wn=h&&h[1]||"",Ti=-1<x.stack.indexOf(`
154
- at`)?" (<anonymous>)":-1<x.stack.indexOf("@")?"@unknown:0:0":""}return`
155
- `+Wn+f+Ti}var ja=!1;function Ml(f,h){if(!f||ja)return"";ja=!0;var x=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var T={DetermineComponentFrameRoot:function(){try{if(h){var xe=function(){throw Error()};if(Object.defineProperty(xe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(xe,[])}catch(Ze){var Ye=Ze}Reflect.construct(f,[],xe)}else{try{xe.call()}catch(Ze){Ye=Ze}f.call(xe.prototype)}}else{try{throw Error()}catch(Ze){Ye=Ze}(xe=f())&&typeof xe.catch=="function"&&xe.catch(function(){})}}catch(Ze){if(Ze&&Ye&&typeof Ze.stack=="string")return[Ze.stack,Ye.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var z=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");z&&z.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var I=T.DetermineComponentFrameRoot(),Z=I[0],le=I[1];if(Z&&le){var X=Z.split(`
156
- `),re=le.split(`
157
- `);for(z=T=0;T<X.length&&!X[T].includes("DetermineComponentFrameRoot");)T++;for(;z<re.length&&!re[z].includes("DetermineComponentFrameRoot");)z++;if(T===X.length||z===re.length)for(T=X.length-1,z=re.length-1;1<=T&&0<=z&&X[T]!==re[z];)z--;for(;1<=T&&0<=z;T--,z--)if(X[T]!==re[z]){if(T!==1||z!==1)do if(T--,z--,0>z||X[T]!==re[z]){var Ie=`
158
- `+X[T].replace(" at new "," at ");return f.displayName&&Ie.includes("<anonymous>")&&(Ie=Ie.replace("<anonymous>",f.displayName)),Ie}while(1<=T&&0<=z);break}}}finally{ja=!1,Error.prepareStackTrace=x}return(x=f?f.displayName||f.name:"")?Jr(x):""}function Ui(f){if(typeof f=="string")return Jr(f);if(typeof f=="function")return f.prototype&&f.prototype.isReactComponent?Ml(f,!0):Ml(f,!1);if(typeof f=="object"&&f!==null){switch(f.$$typeof){case w:return Ml(f.render,!1);case P:return Ml(f.type,!1);case N:var h=f,x=h._payload;h=h._init;try{f=h(x)}catch(T){return Jr("Lazy")}return Ui(f)}if(typeof f.name=="string")return x=f.env,Jr(f.name+(x?" ["+x+"]":""))}switch(f){case _:return Jr("SuspenseList");case k:return Jr("Suspense")}return""}function Gn(f){if(typeof f=="object"&&f!==null&&typeof f.environmentName=="string"){var h=f.environmentName;f=[f].slice(0),typeof f[0]=="string"?f.splice(0,1,"%c%s%c "+f[0],"background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+h+" ",""):f.splice(0,0,"%c%s%c ","background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px"," "+h+" ",""),f.unshift(console),h=Pl.apply(console.error,f),h()}else console.error(f);return null}function Dt(){}function wt(f,h,x,T,z,I,Z,le,X,re,Ie){var xe=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=f,this.renderState=h,this.rootFormatContext=x,this.progressiveChunkSize=T===void 0?12800:T,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=xe,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=z===void 0?Gn:z,this.onPostpone=re===void 0?Dt:re,this.onAllReady=I===void 0?Dt:I,this.onShellReady=Z===void 0?Dt:Z,this.onShellError=le===void 0?Dt:le,this.onFatalError=X===void 0?Dt:X,this.formState=Ie===void 0?null:Ie}function oi(f,h,x,T,z,I,Z,le,X,re,Ie,xe){return h=new wt(h,x,T,z,I,Z,le,X,re,Ie,xe),x=Ri(h,0,null,T,!1,!1),x.parentFlushed=!0,f=Nl(h,null,f,-1,null,x,null,null,h.abortableTasks,null,T,null,be,null,!1),zi(f),h.pingedTasks.push(f),h}function nr(f,h,x,T,z,I,Z,le,X,re,Ie){return f=oi(f,h,x,T,z,I,Z,le,X,re,Ie,void 0),f.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},f}var Tn=null;function Zi(f,h){f.pingedTasks.push(h),f.pingedTasks.length===1&&(f.flushScheduled=f.destination!==null,f.trackedPostpones!==null||f.status===10?Pe(function(){return wa(f)}):q(function(){return wa(f)}))}function si(f,h,x,T){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:h,errorDigest:null,contentState:Ds(),fallbackState:Ds(),contentPreamble:x,fallbackPreamble:T,trackedContentKeyPath:null,trackedFallbackNode:null}}function Nl(f,h,x,T,z,I,Z,le,X,re,Ie,xe,Ye,Ze,$e){f.allPendingTasks++,z===null?f.pendingRootTasks++:z.pendingTasks++;var ft={replay:null,node:x,childIndex:T,ping:function(){return Zi(f,ft)},blockedBoundary:z,blockedSegment:I,blockedPreamble:Z,hoistableState:le,abortSet:X,keyPath:re,formatContext:Ie,context:xe,treeContext:Ye,componentStack:Ze,thenableState:h,isFallback:$e};return X.add(ft),ft}function Aa(f,h,x,T,z,I,Z,le,X,re,Ie,xe,Ye,Ze){f.allPendingTasks++,I===null?f.pendingRootTasks++:I.pendingTasks++,x.pendingTasks++;var $e={replay:x,node:T,childIndex:z,ping:function(){return Zi(f,$e)},blockedBoundary:I,blockedSegment:null,blockedPreamble:null,hoistableState:Z,abortSet:le,keyPath:X,formatContext:re,context:Ie,treeContext:xe,componentStack:Ye,thenableState:h,isFallback:Ze};return le.add($e),$e}function Ri(f,h,x,T,z,I){return{status:0,parentFlushed:!1,id:-1,index:h,chunks:[],children:[],preambleChildren:[],parentFormatContext:T,boundary:x,lastPushedText:z,textEmbedded:I}}function zi(f){var h=f.node;if(typeof h=="object"&&h!==null)switch(h.$$typeof){case a:f.componentStack={parent:f.componentStack,type:h.type}}}function ui(f){var h={};return f&&Object.defineProperty(h,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var x="",T=f;do x+=Ui(T.type),T=T.parent;while(T);var z=x}catch(I){z=`
159
- Error generating stack: `+I.message+`
160
- `+I.stack}return Object.defineProperty(h,"componentStack",{value:z}),z}}),h}function Yn(f,h,x){if(f=f.onError,h=f(h,x),h==null||typeof h=="string")return h}function vr(f,h){var x=f.onShellError,T=f.onFatalError;x(h),T(h),f.destination!==null?(f.status=14,Oe(f.destination,h)):(f.status=13,f.fatalError=h)}function Oi(f,h,x,T,z,I){var Z=h.thenableState;for(h.thenableState=null,Qe={},An=h,xt=f,Nn=x,Ei=Sn=0,yr=-1,In=0,er=Z,f=T(z,I);Hn;)Hn=!1,Ei=Sn=0,yr=-1,In=0,Yi+=1,ct=null,f=T(z,I);return ya(),f}function Vi(f,h,x,T,z,I,Z){var le=!1;if(I!==0&&f.formState!==null){var X=h.blockedSegment;if(X!==null){le=!0,X=X.chunks;for(var re=0;re<I;re++)re===Z?X.push(pl):X.push(oo)}}I=h.keyPath,h.keyPath=x,z?(x=h.treeContext,h.treeContext=ie(x,1,0),Cr(f,h,T,-1),h.treeContext=x):le?Cr(f,h,T,-1):Rn(f,h,T,-1),h.keyPath=I}function Er(f,h,x,T,z,I){if(typeof T=="function")if(T.prototype&&T.prototype.isReactComponent){var Z=z;if("ref"in z){Z={};for(var le in z)le!=="ref"&&(Z[le]=z[le])}var X=T.defaultProps;if(X){Z===z&&(Z=B({},Z,z));for(var re in X)Z[re]===void 0&&(Z[re]=X[re])}z=Z,Z=po,X=T.contextType,typeof X=="object"&&X!==null&&(Z=X._currentValue),Z=new T(z,Z);var Ie=Z.state!==void 0?Z.state:null;if(Z.updater=V,Z.props=z,Z.state=Ie,X={queue:[],replace:!1},Z._reactInternals=X,I=T.contextType,Z.context=typeof I=="object"&&I!==null?I._currentValue:po,I=T.getDerivedStateFromProps,typeof I=="function"&&(I=I(z,Ie),Ie=I==null?Ie:B({},Ie,I),Z.state=Ie),typeof T.getDerivedStateFromProps!="function"&&typeof Z.getSnapshotBeforeUpdate!="function"&&(typeof Z.UNSAFE_componentWillMount=="function"||typeof Z.componentWillMount=="function"))if(T=Z.state,typeof Z.componentWillMount=="function"&&Z.componentWillMount(),typeof Z.UNSAFE_componentWillMount=="function"&&Z.UNSAFE_componentWillMount(),T!==Z.state&&V.enqueueReplaceState(Z,Z.state,null),X.queue!==null&&0<X.queue.length)if(T=X.queue,I=X.replace,X.queue=null,X.replace=!1,I&&T.length===1)Z.state=T[0];else{for(X=I?T[0]:Z.state,Ie=!0,I=I?1:0;I<T.length;I++)re=T[I],re=typeof re=="function"?re.call(Z,X,z,void 0):re,re!=null&&(Ie?(Ie=!1,X=B({},X,re)):B(X,re));Z.state=X}else X.queue=null;if(T=Z.render(),f.status===12)throw null;z=h.keyPath,h.keyPath=x,Rn(f,h,T,-1),h.keyPath=z}else{if(T=Oi(f,h,x,T,z,void 0),f.status===12)throw null;Vi(f,h,x,T,Sn!==0,Ei,yr)}else if(typeof T=="string")if(Z=h.blockedSegment,Z===null)Z=z.children,X=h.formatContext,Ie=h.keyPath,h.formatContext=la(X,T,z),h.keyPath=x,Cr(f,h,Z,-1),h.formatContext=X,h.keyPath=Ie;else{I=Bc(Z.chunks,T,z,f.resumableState,f.renderState,h.blockedPreamble,h.hoistableState,h.formatContext,Z.lastPushedText,h.isFallback),Z.lastPushedText=!1,X=h.formatContext,Ie=h.keyPath,h.keyPath=x,(h.formatContext=la(X,T,z)).insertionMode===3?(x=Ri(f,0,null,h.formatContext,!1,!1),Z.preambleChildren.push(x),x=Nl(f,null,I,-1,h.blockedBoundary,x,h.blockedPreamble,h.hoistableState,f.abortableTasks,h.keyPath,h.formatContext,h.context,h.treeContext,h.componentStack,h.isFallback),zi(x),f.pingedTasks.push(x)):Cr(f,h,I,-1),h.formatContext=X,h.keyPath=Ie;e:{switch(h=Z.chunks,f=f.resumableState,T){case"title":case"style":case"script":case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break e;case"body":if(1>=X.insertionMode){f.hasBody=!0;break e}break;case"html":if(X.insertionMode===0){f.hasHtml=!0;break e}break;case"head":if(1>=X.insertionMode)break e}h.push(Si(T))}Z.lastPushedText=!1}else{switch(T){case J:case c:case m:case u:T=h.keyPath,h.keyPath=x,Rn(f,h,z.children,-1),h.keyPath=T;return;case H:z.mode!=="hidden"&&(T=h.keyPath,h.keyPath=x,Rn(f,h,z.children,-1),h.keyPath=T);return;case _:T=h.keyPath,h.keyPath=x,Rn(f,h,z.children,-1),h.keyPath=T;return;case ve:case W:throw Error(r(343));case k:e:if(h.replay!==null){T=h.keyPath,h.keyPath=x,x=z.children;try{Cr(f,h,x,-1)}finally{h.keyPath=T}}else{T=h.keyPath;var xe=h.blockedBoundary;I=h.blockedPreamble;var Ye=h.hoistableState;re=h.blockedSegment,le=z.fallback,z=z.children;var Ze=new Set,$e=2>h.formatContext.insertionMode?si(f,Ze,gt(),gt()):si(f,Ze,null,null);f.trackedPostpones!==null&&($e.trackedContentKeyPath=x);var ft=Ri(f,re.chunks.length,$e,h.formatContext,!1,!1);re.children.push(ft),re.lastPushedText=!1;var Vt=Ri(f,0,null,h.formatContext,!1,!1);if(Vt.parentFlushed=!0,f.trackedPostpones!==null){Z=[x[0],"Suspense Fallback",x[2]],X=[Z[1],Z[2],[],null],f.trackedPostpones.workingMap.set(Z,X),$e.trackedFallbackNode=X,h.blockedSegment=ft,h.blockedPreamble=$e.fallbackPreamble,h.keyPath=Z,ft.status=6;try{Cr(f,h,le,-1),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(Ai),ft.status=1}catch($t){throw ft.status=f.status===12?3:4,$t}finally{h.blockedSegment=re,h.blockedPreamble=I,h.keyPath=T}h=Nl(f,null,z,-1,$e,Vt,$e.contentPreamble,$e.contentState,h.abortSet,x,h.formatContext,h.context,h.treeContext,h.componentStack,h.isFallback),zi(h),f.pingedTasks.push(h)}else{h.blockedBoundary=$e,h.blockedPreamble=$e.contentPreamble,h.hoistableState=$e.contentState,h.blockedSegment=Vt,h.keyPath=x,Vt.status=6;try{if(Cr(f,h,z,-1),Vt.lastPushedText&&Vt.textEmbedded&&Vt.chunks.push(Ai),Vt.status=1,ci($e,Vt),$e.pendingTasks===0&&$e.status===0){$e.status=1,f.pendingRootTasks===0&&h.blockedPreamble&&fi(f);break e}}catch($t){$e.status=4,f.status===12?(Vt.status=3,Z=f.fatalError):(Vt.status=4,Z=$t),X=ui(h.componentStack),Ie=Yn(f,Z,X),$e.errorDigest=Ie,_r(f,$e)}finally{h.blockedBoundary=xe,h.blockedPreamble=I,h.hoistableState=Ye,h.blockedSegment=re,h.keyPath=T}h=Nl(f,null,le,-1,xe,ft,$e.fallbackPreamble,$e.fallbackState,Ze,[x[0],"Suspense Fallback",x[2]],h.formatContext,h.context,h.treeContext,h.componentStack,!0),zi(h),f.pingedTasks.push(h)}}return}if(typeof T=="object"&&T!==null)switch(T.$$typeof){case w:if("ref"in z)for($e in Z={},z)$e!=="ref"&&(Z[$e]=z[$e]);else Z=z;T=Oi(f,h,x,T.render,Z,I),Vi(f,h,x,T,Sn!==0,Ei,yr);return;case P:Er(f,h,x,T.type,z,I);return;case b:case A:if(X=z.children,Z=h.keyPath,z=z.value,Ie=T._currentValue,T._currentValue=z,I=ma,ma=T={parent:I,depth:I===null?0:I.depth+1,context:T,parentValue:Ie,value:z},h.context=T,h.keyPath=x,Rn(f,h,X,-1),f=ma,f===null)throw Error(r(403));f.context._currentValue=f.parentValue,f=ma=f.parent,h.context=f,h.keyPath=Z;return;case y:z=z.children,T=z(T._context._currentValue),z=h.keyPath,h.keyPath=x,Rn(f,h,T,-1),h.keyPath=z;return;case N:if(Z=T._init,T=Z(T._payload),f.status===12)throw null;Er(f,h,x,T,z,I);return}throw Error(r(130,T==null?T:typeof T,""))}}function ts(f,h,x,T,z){var I=h.replay,Z=h.blockedBoundary,le=Ri(f,0,null,h.formatContext,!1,!1);le.id=x,le.parentFlushed=!0;try{h.replay=null,h.blockedSegment=le,Cr(f,h,T,z),le.status=1,Z===null?f.completedRootSegment=le:(ci(Z,le),Z.parentFlushed&&f.partialBoundaries.push(Z))}finally{h.replay=I,h.blockedSegment=null}}function Rn(f,h,x,T){h.replay!==null&&typeof h.replay.slots=="number"?ts(f,h,h.replay.slots,x,T):(h.node=x,h.childIndex=T,x=h.componentStack,zi(h),Xi(f,h),h.componentStack=x)}function Xi(f,h){var x=h.node,T=h.childIndex;if(x!==null){if(typeof x=="object"){switch(x.$$typeof){case a:var z=x.type,I=x.key,Z=x.props;x=Z.ref;var le=x!==void 0?x:null,X=fr(z),re=I==null?T===-1?0:T:I;if(I=[h.keyPath,X,re],h.replay!==null)e:{var Ie=h.replay;for(T=Ie.nodes,x=0;x<T.length;x++){var xe=T[x];if(re===xe[1]){if(xe.length===4){if(X!==null&&X!==xe[0])throw Error(r(490,xe[0],X));var Ye=xe[2];X=xe[3],re=h.node,h.replay={nodes:Ye,slots:X,pendingTasks:1};try{if(Er(f,h,I,z,Z,le),h.replay.pendingTasks===1&&0<h.replay.nodes.length)throw Error(r(488));h.replay.pendingTasks--}catch(bn){if(typeof bn=="object"&&bn!==null&&(bn===et||typeof bn.then=="function"))throw h.node===re&&(h.replay=Ie),bn;h.replay.pendingTasks--,Z=ui(h.componentStack),I=h.blockedBoundary,z=bn,Z=Yn(f,z,Z),Il(f,I,Ye,X,z,Z)}h.replay=Ie}else{if(z!==k)throw Error(r(490,"Suspense",fr(z)||"Unknown"));t:{Ie=void 0,z=xe[5],le=xe[2],X=xe[3],re=xe[4]===null?[]:xe[4][2],xe=xe[4]===null?null:xe[4][3];var Ze=h.keyPath,$e=h.replay,ft=h.blockedBoundary,Vt=h.hoistableState,$t=Z.children,At=Z.fallback,rr=new Set;Z=2>h.formatContext.insertionMode?si(f,rr,gt(),gt()):si(f,rr,null,null),Z.parentFlushed=!0,Z.rootSegmentID=z,h.blockedBoundary=Z,h.hoistableState=Z.contentState,h.keyPath=I,h.replay={nodes:le,slots:X,pendingTasks:1};try{if(Cr(f,h,$t,-1),h.replay.pendingTasks===1&&0<h.replay.nodes.length)throw Error(r(488));if(h.replay.pendingTasks--,Z.pendingTasks===0&&Z.status===0){Z.status=1,f.completedBoundaries.push(Z);break t}}catch(bn){Z.status=4,Ye=ui(h.componentStack),Ie=Yn(f,bn,Ye),Z.errorDigest=Ie,h.replay.pendingTasks--,f.clientRenderedBoundaries.push(Z)}finally{h.blockedBoundary=ft,h.hoistableState=Vt,h.replay=$e,h.keyPath=Ze}h=Aa(f,null,{nodes:re,slots:xe,pendingTasks:0},At,-1,ft,Z.fallbackState,rr,[I[0],"Suspense Fallback",I[2]],h.formatContext,h.context,h.treeContext,h.componentStack,!0),zi(h),f.pingedTasks.push(h)}}T.splice(x,1);break e}}}else Er(f,h,I,z,Z,le);return;case o:throw Error(r(257));case N:if(Ye=x._init,x=Ye(x._payload),f.status===12)throw null;Rn(f,h,x,T);return}if(ee(x)){Ji(f,h,x,T);return}if(x===null||typeof x!="object"?Ye=null:(Ye=j&&x[j]||x["@@iterator"],Ye=typeof Ye=="function"?Ye:null),Ye&&(Ye=Ye.call(x))){if(x=Ye.next(),!x.done){Z=[];do Z.push(x.value),x=Ye.next();while(!x.done);Ji(f,h,Z,T)}return}if(typeof x.then=="function")return h.thenableState=null,Rn(f,h,Qa(x),T);if(x.$$typeof===A)return Rn(f,h,x._currentValue,T);throw T=Object.prototype.toString.call(x),Error(r(31,T==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":T))}typeof x=="string"?(T=h.blockedSegment,T!==null&&(T.lastPushedText=Io(T.chunks,x,f.renderState,T.lastPushedText))):(typeof x=="number"||typeof x=="bigint")&&(T=h.blockedSegment,T!==null&&(T.lastPushedText=Io(T.chunks,""+x,f.renderState,T.lastPushedText)))}}function Ji(f,h,x,T){var z=h.keyPath;if(T!==-1&&(h.keyPath=[h.keyPath,"Fragment",T],h.replay!==null)){for(var I=h.replay,Z=I.nodes,le=0;le<Z.length;le++){var X=Z[le];if(X[1]===T){T=X[2],X=X[3],h.replay={nodes:T,slots:X,pendingTasks:1};try{if(Ji(f,h,x,-1),h.replay.pendingTasks===1&&0<h.replay.nodes.length)throw Error(r(488));h.replay.pendingTasks--}catch(xe){if(typeof xe=="object"&&xe!==null&&(xe===et||typeof xe.then=="function"))throw xe;h.replay.pendingTasks--,x=ui(h.componentStack);var re=h.blockedBoundary,Ie=xe;x=Yn(f,Ie,x),Il(f,re,T,X,Ie,x)}h.replay=I,Z.splice(le,1);break}}h.keyPath=z;return}if(I=h.treeContext,Z=x.length,h.replay!==null&&(le=h.replay.slots,le!==null&&typeof le=="object")){for(T=0;T<Z;T++)X=x[T],h.treeContext=ie(I,Z,T),re=le[T],typeof re=="number"?(ts(f,h,re,X,T),delete le[T]):Cr(f,h,X,T);h.treeContext=I,h.keyPath=z;return}for(le=0;le<Z;le++)T=x[le],h.treeContext=ie(I,Z,le),Cr(f,h,T,le);h.treeContext=I,h.keyPath=z}function _r(f,h){f=f.trackedPostpones,f!==null&&(h=h.trackedContentKeyPath,h!==null&&(h=f.workingMap.get(h),h!==void 0&&(h.length=4,h[2]=[],h[3]=null)))}function Bn(f,h,x){return Aa(f,x,h.replay,h.node,h.childIndex,h.blockedBoundary,h.hoistableState,h.abortSet,h.keyPath,h.formatContext,h.context,h.treeContext,h.componentStack,h.isFallback)}function qa(f,h,x){var T=h.blockedSegment,z=Ri(f,T.chunks.length,null,h.formatContext,T.lastPushedText,!0);return T.children.push(z),T.lastPushedText=!1,Nl(f,x,h.node,h.childIndex,h.blockedBoundary,z,h.blockedPreamble,h.hoistableState,h.abortSet,h.keyPath,h.formatContext,h.context,h.treeContext,h.componentStack,h.isFallback)}function Cr(f,h,x,T){var z=h.formatContext,I=h.context,Z=h.keyPath,le=h.treeContext,X=h.componentStack,re=h.blockedSegment;if(re===null)try{return Rn(f,h,x,T)}catch(Ye){if(ya(),x=Ye===et?Ht():Ye,typeof x=="object"&&x!==null){if(typeof x.then=="function"){T=Ln(),f=Bn(f,h,T).ping,x.then(f,f),h.formatContext=z,h.context=I,h.keyPath=Z,h.treeContext=le,h.componentStack=X,L(I);return}if(x.message==="Maximum call stack size exceeded"){x=Ln(),x=Bn(f,h,x),f.pingedTasks.push(x),h.formatContext=z,h.context=I,h.keyPath=Z,h.treeContext=le,h.componentStack=X,L(I);return}}}else{var Ie=re.children.length,xe=re.chunks.length;try{return Rn(f,h,x,T)}catch(Ye){if(ya(),re.children.length=Ie,re.chunks.length=xe,x=Ye===et?Ht():Ye,typeof x=="object"&&x!==null){if(typeof x.then=="function"){T=Ln(),f=qa(f,h,T).ping,x.then(f,f),h.formatContext=z,h.context=I,h.keyPath=Z,h.treeContext=le,h.componentStack=X,L(I);return}if(x.message==="Maximum call stack size exceeded"){x=Ln(),x=qa(f,h,x),f.pingedTasks.push(x),h.formatContext=z,h.context=I,h.keyPath=Z,h.treeContext=le,h.componentStack=X,L(I);return}}}}throw h.formatContext=z,h.context=I,h.keyPath=Z,h.treeContext=le,L(I),x}function jc(f){var h=f.blockedBoundary;f=f.blockedSegment,f!==null&&(f.status=3,Ll(this,h,f))}function Il(f,h,x,T,z,I){for(var Z=0;Z<x.length;Z++){var le=x[Z];if(le.length===4)Il(f,h,le[2],le[3],z,I);else{le=le[5];var X=f,re=I,Ie=si(X,new Set,null,null);Ie.parentFlushed=!0,Ie.rootSegmentID=le,Ie.status=4,Ie.errorDigest=re,Ie.parentFlushed&&X.clientRenderedBoundaries.push(Ie)}}if(x.length=0,T!==null){if(h===null)throw Error(r(487));if(h.status!==4&&(h.status=4,h.errorDigest=I,h.parentFlushed&&f.clientRenderedBoundaries.push(h)),typeof T=="object")for(var xe in T)delete T[xe]}}function Lu(f,h,x){var T=f.blockedBoundary,z=f.blockedSegment;if(z!==null){if(z.status===6)return;z.status=3}if(z=ui(f.componentStack),T===null){if(h.status!==13&&h.status!==14){if(T=f.replay,T===null){Yn(h,x,z),vr(h,x);return}T.pendingTasks--,T.pendingTasks===0&&0<T.nodes.length&&(f=Yn(h,x,z),Il(h,null,T.nodes,T.slots,x,f)),h.pendingRootTasks--,h.pendingRootTasks===0&&$a(h)}}else T.pendingTasks--,T.status!==4&&(T.status=4,f=Yn(h,x,z),T.status=4,T.errorDigest=f,_r(h,T),T.parentFlushed&&h.clientRenderedBoundaries.push(T)),T.fallbackAbortableTasks.forEach(function(I){return Lu(I,h,x)}),T.fallbackAbortableTasks.clear();h.allPendingTasks--,h.allPendingTasks===0&&Sa(h)}function ln(f,h){try{var x=f.renderState,T=x.onHeaders;if(T){var z=x.headers;if(z){x.headers=null;var I=z.preconnects;if(z.fontPreloads&&(I&&(I+=", "),I+=z.fontPreloads),z.highImagePreloads&&(I&&(I+=", "),I+=z.highImagePreloads),!h){var Z=x.styles.values(),le=Z.next();e:for(;0<z.remainingCapacity&&!le.done;le=Z.next())for(var X=le.value.sheets.values(),re=X.next();0<z.remainingCapacity&&!re.done;re=X.next()){var Ie=re.value,xe=Ie.props,Ye=xe.href,Ze=Ie.props,$e=Gi(Ze.href,"style",{crossOrigin:Ze.crossOrigin,integrity:Ze.integrity,nonce:Ze.nonce,type:Ze.type,fetchPriority:Ze.fetchPriority,referrerPolicy:Ze.referrerPolicy,media:Ze.media});if(0<=(z.remainingCapacity-=$e.length+2))x.resets.style[Ye]=mn,I&&(I+=", "),I+=$e,x.resets.style[Ye]=typeof xe.crossOrigin=="string"||typeof xe.integrity=="string"?[xe.crossOrigin,xe.integrity]:mn;else break e}}T(I?{Link:I}:{})}}}catch(ft){Yn(f,ft,{})}}function $a(f){f.trackedPostpones===null&&ln(f,!0),f.trackedPostpones===null&&fi(f),f.onShellError=Dt,f=f.onShellReady,f()}function Sa(f){ln(f,f.trackedPostpones===null?!0:f.completedRootSegment===null||f.completedRootSegment.status!==5),fi(f),f=f.onAllReady,f()}function ci(f,h){if(h.chunks.length===0&&h.children.length===1&&h.children[0].boundary===null&&h.children[0].id===-1){var x=h.children[0];x.id=h.id,x.parentFlushed=!0,x.status===1&&ci(f,x)}else f.completedSegments.push(h)}function Ll(f,h,x){if(h===null){if(x!==null&&x.parentFlushed){if(f.completedRootSegment!==null)throw Error(r(389));f.completedRootSegment=x}f.pendingRootTasks--,f.pendingRootTasks===0&&$a(f)}else h.pendingTasks--,h.status!==4&&(h.pendingTasks===0?(h.status===0&&(h.status=1),x!==null&&x.parentFlushed&&x.status===1&&ci(h,x),h.parentFlushed&&f.completedBoundaries.push(h),h.status===1&&(h.fallbackAbortableTasks.forEach(jc,f),h.fallbackAbortableTasks.clear(),f.pendingRootTasks===0&&f.trackedPostpones===null&&h.contentPreamble!==null&&fi(f))):x!==null&&x.parentFlushed&&x.status===1&&(ci(h,x),h.completedSegments.length===1&&h.parentFlushed&&f.partialBoundaries.push(h)));f.allPendingTasks--,f.allPendingTasks===0&&Sa(f)}function wa(f){if(f.status!==14&&f.status!==13){var h=ma,x=rn.H;rn.H=kr;var T=rn.A;rn.A=Ci;var z=Tn;Tn=f;var I=dr;dr=f.resumableState;try{var Z=f.pingedTasks,le;for(le=0;le<Z.length;le++){var X=Z[le],re=f,Ie=X.blockedSegment;if(Ie===null){var xe=re;if(X.replay.pendingTasks!==0){L(X.context);try{if(typeof X.replay.slots=="number"?ts(xe,X,X.replay.slots,X.node,X.childIndex):Xi(xe,X),X.replay.pendingTasks===1&&0<X.replay.nodes.length)throw Error(r(488));X.replay.pendingTasks--,X.abortSet.delete(X),Ll(xe,X.blockedBoundary,null)}catch(wn){ya();var Ye=wn===et?Ht():wn;if(typeof Ye=="object"&&Ye!==null&&typeof Ye.then=="function"){var Ze=X.ping;Ye.then(Ze,Ze),X.thenableState=Ln()}else{X.replay.pendingTasks--,X.abortSet.delete(X);var $e=ui(X.componentStack);re=void 0;var ft=xe,Vt=X.blockedBoundary,$t=xe.status===12?xe.fatalError:Ye,At=X.replay.nodes,rr=X.replay.slots;re=Yn(ft,$t,$e),Il(ft,Vt,At,rr,$t,re),xe.pendingRootTasks--,xe.pendingRootTasks===0&&$a(xe),xe.allPendingTasks--,xe.allPendingTasks===0&&Sa(xe)}}finally{}}}else if(xe=void 0,ft=Ie,ft.status===0){ft.status=6,L(X.context);var bn=ft.children.length,hr=ft.chunks.length;try{Xi(re,X),ft.lastPushedText&&ft.textEmbedded&&ft.chunks.push(Ai),X.abortSet.delete(X),ft.status=1,Ll(re,X.blockedBoundary,ft)}catch(wn){ya(),ft.children.length=bn,ft.chunks.length=hr;var on=wn===et?Ht():re.status===12?re.fatalError:wn;if(typeof on=="object"&&on!==null&&typeof on.then=="function"){ft.status=0,X.thenableState=Ln();var at=X.ping;on.then(at,at)}else{var pt=ui(X.componentStack);X.abortSet.delete(X),ft.status=4;var bt=X.blockedBoundary;xe=Yn(re,on,pt),bt===null?vr(re,on):(bt.pendingTasks--,bt.status!==4&&(bt.status=4,bt.errorDigest=xe,_r(re,bt),bt.parentFlushed&&re.clientRenderedBoundaries.push(bt),re.pendingRootTasks===0&&re.trackedPostpones===null&&bt.contentPreamble!==null&&fi(re))),re.allPendingTasks--,re.allPendingTasks===0&&Sa(re)}}finally{}}}Z.splice(0,le),f.destination!==null&&mo(f,f.destination)}catch(wn){Yn(f,wn,{}),vr(f,wn)}finally{dr=I,rn.H=x,rn.A=T,x===kr&&L(h),Tn=z}}}function ka(f,h,x){h.preambleChildren.length&&x.push(h.preambleChildren);for(var T=!1,z=0;z<h.children.length;z++)T=ns(f,h.children[z],x)||T;return T}function ns(f,h,x){var T=h.boundary;if(T===null)return ka(f,h,x);var z=T.contentPreamble,I=T.fallbackPreamble;if(z===null||I===null)return!1;switch(T.status){case 1:if(Ru(f.renderState,z),h=T.completedSegments[0],!h)throw Error(r(391));return ka(f,h,x);case 5:if(f.trackedPostpones!==null)return!0;case 4:if(h.status===1)return Ru(f.renderState,I),ka(f,h,x);default:return!0}}function fi(f){if(f.completedRootSegment&&f.completedPreambleSegments===null){var h=[],x=ns(f,f.completedRootSegment,h),T=f.renderState.preamble;(x===!1||T.headChunks&&T.bodyChunks)&&(f.completedPreambleSegments=h)}}function Ea(f,h,x,T){switch(x.parentFlushed=!0,x.status){case 0:x.id=f.nextSegmentId++;case 5:return T=x.id,x.lastPushedText=!1,x.textEmbedded=!1,f=f.renderState,M(h,Fo),M(h,f.placeholderPrefix),f=E(T.toString(16)),M(h,f),K(h,Ho);case 1:x.status=2;var z=!0,I=x.chunks,Z=0;x=x.children;for(var le=0;le<x.length;le++){for(z=x[le];Z<z.index;Z++)M(h,I[Z]);z=Bl(f,h,z,T)}for(;Z<I.length-1;Z++)M(h,I[Z]);return Z<I.length&&(z=K(h,I[Z])),z;default:throw Error(r(390))}}function Bl(f,h,x,T){var z=x.boundary;if(z===null)return Ea(f,h,x,T);if(z.parentFlushed=!0,z.status===4){var I=z.errorDigest;return K(h,ca),M(h,so),I&&(M(h,Wo),M(h,E(Me(I))),M(h,Ss)),K(h,uo),Ea(f,h,x,T),(f=z.fallbackPreamble)&&xl(h,f),K(h,vl)}if(z.status!==1)return z.status===0&&(z.rootSegmentID=f.nextSegmentId++),0<z.completedSegments.length&&f.partialBoundaries.push(z),Hc(h,f.renderState,z.rootSegmentID),T&&(z=z.fallbackState,z.styles.forEach(Iu,T),z.stylesheets.forEach(qo,T)),Ea(f,h,x,T),K(h,vl);if(z.byteSize>f.progressiveChunkSize)return z.rootSegmentID=f.nextSegmentId++,f.completedBoundaries.push(z),Hc(h,f.renderState,z.rootSegmentID),Ea(f,h,x,T),K(h,vl);if(T&&(x=z.contentState,x.styles.forEach(Iu,T),x.stylesheets.forEach(qo,T)),K(h,Fc),x=z.completedSegments,x.length!==1)throw Error(r(391));return Bl(f,h,x[0],T),(f=z.contentPreamble)&&xl(h,f),K(h,vl)}function Kr(f,h,x,T){return br(h,f.renderState,x.parentFormatContext,x.id),Bl(f,h,x,T),da(h,x.parentFormatContext)}function Fl(f,h,x){for(var T=x.completedSegments,z=0;z<T.length;z++)_a(f,h,x,T[z]);T.length=0,Rl(h,x.contentState,f.renderState),T=f.resumableState,f=f.renderState,z=x.rootSegmentID,x=x.contentState;var I=f.stylesToHoist;return f.stylesToHoist=!1,M(h,f.startInlineScript),I?(T.instructions&2)===0?(T.instructions|=10,M(h,Cs)):(T.instructions&8)===0?(T.instructions|=8,M(h,Yc)):M(h,Uc):(T.instructions&2)===0?(T.instructions|=2,M(h,_s)):M(h,Uo),T=E(z.toString(16)),M(h,f.boundaryPrefix),M(h,T),M(h,Zc),M(h,f.segmentPrefix),M(h,T),I?(M(h,bd),Ad(h,x)):M(h,_l),x=K(h,Vc),wi(h,f)&&x}function _a(f,h,x,T){if(T.status===2)return!0;var z=x.contentState,I=T.id;if(I===-1){if((T.id=x.rootSegmentID)===-1)throw Error(r(392));return Kr(f,h,T,z)}return I===x.rootSegmentID?Kr(f,h,T,z):(Kr(f,h,T,z),x=f.resumableState,f=f.renderState,M(h,f.startInlineScript),(x.instructions&1)===0?(x.instructions|=1,M(h,ha)):M(h,ga),M(h,f.segmentPrefix),I=E(I.toString(16)),M(h,I),M(h,Gc),M(h,f.placeholderPrefix),M(h,I),h=K(h,Es),h)}function mo(f,h){te=new Uint8Array(2048),ge=0;try{if(!(0<f.pendingRootTasks)){var x,T=f.completedRootSegment;if(T!==null){if(T.status===5)return;var z=f.completedPreambleSegments;if(z===null)return;var I=f.renderState,Z=I.preamble,le=Z.htmlChunks,X=Z.headChunks,re;if(le){for(re=0;re<le.length;re++)M(h,le[re]);if(X)for(re=0;re<X.length;re++)M(h,X[re]);else M(h,xn("head")),M(h,_n)}else if(X)for(re=0;re<X.length;re++)M(h,X[re]);var Ie=I.charsetChunks;for(re=0;re<Ie.length;re++)M(h,Ie[re]);Ie.length=0,I.preconnects.forEach(cr,h),I.preconnects.clear();var xe=I.viewportChunks;for(re=0;re<xe.length;re++)M(h,xe[re]);xe.length=0,I.fontPreloads.forEach(cr,h),I.fontPreloads.clear(),I.highImagePreloads.forEach(cr,h),I.highImagePreloads.clear(),I.styles.forEach(Vr,h);var Ye=I.importMapChunks;for(re=0;re<Ye.length;re++)M(h,Ye[re]);Ye.length=0,I.bootstrapScripts.forEach(cr,h),I.scripts.forEach(cr,h),I.scripts.clear(),I.bulkPreloads.forEach(cr,h),I.bulkPreloads.clear();var Ze=I.hoistableChunks;for(re=0;re<Ze.length;re++)M(h,Ze[re]);for(I=Ze.length=0;I<z.length;I++){var $e=z[I];for(Z=0;Z<$e.length;Z++)Bl(f,h,$e[Z],null)}var ft=f.renderState.preamble,Vt=ft.headChunks;(ft.htmlChunks||Vt)&&M(h,Si("head"));var $t=ft.bodyChunks;if($t)for(z=0;z<$t.length;z++)M(h,$t[z]);Bl(f,h,T,null),f.completedRootSegment=null,wi(h,f.renderState)}var At=f.renderState;T=0;var rr=At.viewportChunks;for(T=0;T<rr.length;T++)M(h,rr[T]);rr.length=0,At.preconnects.forEach(cr,h),At.preconnects.clear(),At.fontPreloads.forEach(cr,h),At.fontPreloads.clear(),At.highImagePreloads.forEach(cr,h),At.highImagePreloads.clear(),At.styles.forEach(Os,h),At.scripts.forEach(cr,h),At.scripts.clear(),At.bulkPreloads.forEach(cr,h),At.bulkPreloads.clear();var bn=At.hoistableChunks;for(T=0;T<bn.length;T++)M(h,bn[T]);bn.length=0;var hr=f.clientRenderedBoundaries;for(x=0;x<hr.length;x++){var on=hr[x];At=h;var at=f.resumableState,pt=f.renderState,bt=on.rootSegmentID,wn=on.errorDigest;M(At,pt.startInlineScript),(at.instructions&4)===0?(at.instructions|=4,M(At,Ts)):M(At,yd),M(At,pt.boundaryPrefix),M(At,E(bt.toString(16))),M(At,Pu),wn&&(M(At,Xc),M(At,E(Rs(wn||""))));var Xt=K(At,Cl);if(!Xt){f.destination=null,x++,hr.splice(0,x);return}}hr.splice(0,x);var kn=f.completedBoundaries;for(x=0;x<kn.length;x++)if(!Fl(f,h,kn[x])){f.destination=null,x++,kn.splice(0,x);return}kn.splice(0,x),ze(h),te=new Uint8Array(2048),ge=0;var Ra=f.partialBoundaries;for(x=0;x<Ra.length;x++){var hi=Ra[x];e:{hr=f,on=h;var Qr=hi.completedSegments;for(Xt=0;Xt<Qr.length;Xt++)if(!_a(hr,on,hi,Qr[Xt])){Xt++,Qr.splice(0,Xt);var yo=!1;break e}Qr.splice(0,Xt),yo=Rl(on,hi.contentState,hr.renderState)}if(!yo){f.destination=null,x++,Ra.splice(0,x);return}}Ra.splice(0,x);var en=f.completedBoundaries;for(x=0;x<en.length;x++)if(!Fl(f,h,en[x])){f.destination=null,x++,en.splice(0,x);return}en.splice(0,x)}}finally{f.allPendingTasks===0&&f.pingedTasks.length===0&&f.clientRenderedBoundaries.length===0&&f.completedBoundaries.length===0?(f.flushScheduled=!1,x=f.resumableState,x.hasBody&&M(h,Si("body")),x.hasHtml&&M(h,Si("html")),ze(h),f.status=14,h.close(),f.destination=null):ze(h)}}function di(f){f.flushScheduled=f.destination!==null,Pe(function(){return wa(f)}),q(function(){f.status===10&&(f.status=11),f.trackedPostpones===null&&ln(f,f.pendingRootTasks===0)})}function Ca(f){f.flushScheduled===!1&&f.pingedTasks.length===0&&f.destination!==null&&(f.flushScheduled=!0,q(function(){var h=f.destination;h?mo(f,h):f.flushScheduled=!1}))}function Ki(f,h){if(f.status===13)f.status=14,Oe(h,f.fatalError);else if(f.status!==14&&f.destination===null){f.destination=h;try{mo(f,h)}catch(x){Yn(f,x,{}),vr(f,x)}}}function Ta(f,h){(f.status===11||f.status===10)&&(f.status=12);try{var x=f.abortableTasks;if(0<x.size){var T=h===void 0?Error(r(432)):typeof h=="object"&&h!==null&&typeof h.then=="function"?Error(r(530)):h;f.fatalError=T,x.forEach(function(z){return Lu(z,f,T)}),x.clear()}f.destination!==null&&mo(f,f.destination)}catch(z){Yn(f,z,{}),vr(f,z)}}function bo(){var f=e.version;if(f!=="19.1.1")throw Error(r(527,f,"19.1.1"))}return bo(),bo(),pd.prerender=function(f,h){return new Promise(function(x,T){var z=h?h.onHeaders:void 0,I;z&&(I=function(Ie){z(new Headers(Ie))});var Z=mr(h?h.identifierPrefix:void 0,h?h.unstable_externalRuntimeSrc:void 0,h?h.bootstrapScriptContent:void 0,h?h.bootstrapScripts:void 0,h?h.bootstrapModules:void 0),le=nr(f,Z,xi(Z,void 0,h?h.unstable_externalRuntimeSrc:void 0,h?h.importMap:void 0,I,h?h.maxHeadersLength:void 0),Lr(h?h.namespaceURI:void 0),h?h.progressiveChunkSize:void 0,h?h.onError:void 0,function(){var Ie={prelude:new ReadableStream({type:"bytes",pull:function(xe){Ki(le,xe)},cancel:function(xe){le.destination=null,Ta(le,xe)}},{highWaterMark:0})};x(Ie)},void 0,void 0,T,h?h.onPostpone:void 0);if(h&&h.signal){var X=h.signal;if(X.aborted)Ta(le,X.reason);else{var re=function(){Ta(le,X.reason),X.removeEventListener("abort",re)};X.addEventListener("abort",re)}}di(le)})},pd.renderToReadableStream=function(f,h){return new Promise(function(x,T){var z,I,Z=new Promise(function(Ze,$e){I=Ze,z=$e}),le=h?h.onHeaders:void 0,X;le&&(X=function(Ze){le(new Headers(Ze))});var re=mr(h?h.identifierPrefix:void 0,h?h.unstable_externalRuntimeSrc:void 0,h?h.bootstrapScriptContent:void 0,h?h.bootstrapScripts:void 0,h?h.bootstrapModules:void 0),Ie=oi(f,re,xi(re,h?h.nonce:void 0,h?h.unstable_externalRuntimeSrc:void 0,h?h.importMap:void 0,X,h?h.maxHeadersLength:void 0),Lr(h?h.namespaceURI:void 0),h?h.progressiveChunkSize:void 0,h?h.onError:void 0,I,function(){var Ze=new ReadableStream({type:"bytes",pull:function($e){Ki(Ie,$e)},cancel:function($e){Ie.destination=null,Ta(Ie,$e)}},{highWaterMark:0});Ze.allReady=Z,x(Ze)},function(Ze){Z.catch(function(){}),T(Ze)},z,h?h.onPostpone:void 0,h?h.formState:void 0);if(h&&h.signal){var xe=h.signal;if(xe.aborted)Ta(Ie,xe.reason);else{var Ye=function(){Ta(Ie,xe.reason),xe.removeEventListener("abort",Ye)};xe.addEventListener("abort",Ye)}}di(Ie)})},pd.version="19.1.1",pd}var uA;function $M(){if(uA)return wu;uA=1;var e,n;return e=jM(),n=qM(),wu.version=e.version,wu.renderToString=e.renderToString,wu.renderToStaticMarkup=e.renderToStaticMarkup,wu.renderToReadableStream=n.renderToReadableStream,n.resume&&(wu.resume=n.resume),wu}var f0={exports:{}},d0,cA;function eN(){if(cA)return d0;cA=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return d0=e,d0}var h0,fA;function tN(){if(fA)return h0;fA=1;var e=eN();function n(){}function r(){}return r.resetWarningCache=n,h0=function(){function a(c,m,b,y,A,w){if(w!==e){var k=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw k.name="Invariant Violation",k}}a.isRequired=a;function o(){return a}var u={array:a,bigint:a,bool:a,func:a,number:a,object:a,string:a,symbol:a,any:a,arrayOf:o,element:a,elementType:a,instanceOf:o,node:a,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:n};return u.PropTypes=u,u},h0}var dA;function nN(){return dA||(dA=1,f0.exports=tN()()),f0.exports}var hA;function rN(){if(hA)return hg;hA=1,Object.defineProperty(hg,"__esModule",{value:!0});var e=uc(),n=KM,r=QM,a=uh(),o=$M(),u=nN();function c(te){return te&&typeof te=="object"&&"default"in te?te:{default:te}}var m=c(e),b=c(r),y=c(u),A=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof zn!="undefined"?zn:typeof self!="undefined"?self:{};function w(te,ge){return te(ge={exports:{}},ge.exports),ge.exports}var k=w((function(te){(function(ge){var M=function(ye,Ce,Me){if(!Oe(Ce)||De(Ce)||Le(Ce)||Ee(Ce)||F(Ce))return Ce;var Je,Tt=0,pn=0;if(B(Ce))for(Je=[],pn=Ce.length;Tt<pn;Tt++)Je.push(M(ye,Ce[Tt],Me));else for(var mt in Je={},Ce)Object.prototype.hasOwnProperty.call(Ce,mt)&&(Je[ye(mt,Me)]=M(ye,Ce[mt],Me));return Je},K=function(ye){return Ue(ye)?ye:(ye=ye.replace(/[\-_\s]+(.)?/g,(function(Ce,Me){return Me?Me.toUpperCase():""}))).substr(0,1).toLowerCase()+ye.substr(1)},ze=function(ye){var Ce=K(ye);return Ce.substr(0,1).toUpperCase()+Ce.substr(1)},Ge=function(ye,Ce){return(function(Me,Je){var Tt=(Je=Je||{}).separator||"_",pn=Je.split||/(?=[A-Z])/;return Me.split(pn).join(Tt)})(ye,Ce).toLowerCase()},E=Object.prototype.toString,F=function(ye){return typeof ye=="function"},Oe=function(ye){return ye===Object(ye)},B=function(ye){return E.call(ye)=="[object Array]"},De=function(ye){return E.call(ye)=="[object Date]"},Le=function(ye){return E.call(ye)=="[object RegExp]"},Ee=function(ye){return E.call(ye)=="[object Boolean]"},Ue=function(ye){return(ye-=0)==ye},de=function(ye,Ce){var Me=Ce&&"process"in Ce?Ce.process:Ce;return typeof Me!="function"?ye:function(Je,Tt){return Me(Je,ye,Tt)}},se={camelize:K,decamelize:Ge,pascalize:ze,depascalize:Ge,camelizeKeys:function(ye,Ce){return M(de(K,Ce),ye)},decamelizeKeys:function(ye,Ce){return M(de(Ge,Ce),ye,Ce)},pascalizeKeys:function(ye,Ce){return M(de(ze,Ce),ye)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};te.exports?te.exports=se:ge.humps=se})(A)})).decamelize,_=function(te){if(Array.isArray(te))return te},P=function(te,ge){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(te)){var M=[],K=!0,ze=!1,Ge=void 0;try{for(var E,F=te[Symbol.iterator]();!(K=(E=F.next()).done)&&(M.push(E.value),M.length!==ge);K=!0);}catch(Oe){ze=!0,Ge=Oe}finally{try{K||F.return==null||F.return()}finally{if(ze)throw Ge}}return M}},N=function(te,ge){(ge==null||ge>te.length)&&(ge=te.length);for(var M=0,K=new Array(ge);M<ge;M++)K[M]=te[M];return K},W=function(te,ge){if(te){if(typeof te=="string")return N(te,ge);var M=Object.prototype.toString.call(te).slice(8,-1);return M==="Object"&&te.constructor&&(M=te.constructor.name),M==="Map"||M==="Set"?Array.from(te):M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M)?N(te,ge):void 0}},H=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
161
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},J=function(te,ge){return _(te)||P(te,ge)||W(te,ge)||H()},Y=w((function(te){function ge(){return te.exports=ge=Object.assign||function(M){for(var K=1;K<arguments.length;K++){var ze=arguments[K];for(var Ge in ze)Object.prototype.hasOwnProperty.call(ze,Ge)&&(M[Ge]=ze[Ge])}return M},ge.apply(this,arguments)}te.exports=ge})),ve=function(te,ge){if(te==null)return{};var M,K,ze={},Ge=Object.keys(te);for(K=0;K<Ge.length;K++)M=Ge[K],ge.indexOf(M)>=0||(ze[M]=te[M]);return ze},j=function(te,ge){if(te==null)return{};var M,K,ze=ve(te,ge);if(Object.getOwnPropertySymbols){var Ge=Object.getOwnPropertySymbols(te);for(K=0;K<Ge.length;K++)M=Ge[K],ge.indexOf(M)>=0||Object.prototype.propertyIsEnumerable.call(te,M)&&(ze[M]=te[M])}return ze},ee=e.createContext(null);function Te(te){var ge=te.children,M=ge===void 0?"":ge,K=j(te,["children"]);return typeof M!="string"&&(M=o.renderToString(M)),m.default.createElement("template",Y({},K,{dangerouslySetInnerHTML:{__html:M}}))}function Se(te){var ge=te.root,M=te.children,K=M===void 0?null:M;return a.createPortal(K,ge)}function me(te){var ge=e.forwardRef((function(M,K){var ze,Ge,E=M.mode,F=E===void 0?"open":E,Oe=M.delegatesFocus,B=Oe!==void 0&&Oe,De=M.styleSheets,Le=De===void 0?[]:De,Ee=M.ssr,Ue=Ee!==void 0&&Ee,de=M.children,se=j(M,["mode","delegatesFocus","styleSheets","ssr","children"]),ye=(ze=K,Ge=e.useRef(ze&&ze.current),e.useEffect((function(){ze&&(ze.current=Ge.current)}),[ze]),Ge),Ce=e.useState(null),Me=J(Ce,2),Je=Me[0],Tt=Me[1],pn="node_".concat(F).concat(B);return e.useLayoutEffect((function(){if(ye.current)try{if(typeof K=="function"&&K(ye.current),Ue){var mt=ye.current.shadowRoot;return void Tt(mt)}var rn=ye.current.attachShadow({mode:F,delegatesFocus:B});Le.length>0&&(rn.adoptedStyleSheets=Le),Tt(rn)}catch(yi){(function(ii){var On=ii.error,mn=ii.styleSheets,St=ii.root;switch(On.name){case"NotSupportedError":mn.length>0&&(St.adoptedStyleSheets=mn);break;default:throw On}})({error:yi,styleSheets:Le,root:Je})}}),[K,ye,Le]),m.default.createElement(m.default.Fragment,null,m.default.createElement(te.tag,Y({key:pn,ref:ye},se),(Je||Ue)&&m.default.createElement(ee.Provider,{value:Je},Ue?m.default.createElement(Te,{shadowroot:F,shadowrootmode:F},te.render({root:Je,ssr:Ue,children:de})):m.default.createElement(Se,{root:Je},te.render({root:Je,ssr:Ue,children:de})))))}));return ge.propTypes={mode:y.default.oneOf(["open","closed"]),delegatesFocus:y.default.bool,styleSheets:y.default.arrayOf(y.default.instanceOf(globalThis.CSSStyleSheet)),ssr:y.default.bool,children:y.default.node},ge}Te.propTypes={children:y.default.oneOfType([y.default.string,y.default.node])},Se.propTypes={root:y.default.object.isRequired,children:y.default.node};var q=new Map;function Re(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(K){return K.children};return new Proxy(te,{get:function(K,ze){var Ge=k(ze,{separator:"-"}),E="".concat(ge,"-").concat(Ge);return q.has(E)||q.set(E,me({tag:Ge,render:M})),q.get(E)}})}Re();var fe=new WeakMap,Pe=Re({},"emotion",(function(te){var ge=te.root,M=te.children,K=fe.get(ge)||(function(){var ze=b.default({container:ge,key:"react-shadow"});return fe.set(ge,ze),ze})();return m.default.createElement(n.CacheProvider,{value:K},m.default.createElement(m.default.Fragment,null,M))}));return hg.default=Pe,hg}var iN=rN();const aN=cn(iN),gg=":host",lN=e0({cssVarsRoot:gg,conditions:{light:`${gg} &, .light &`},preflight:{scope:gg},globalCss:{[gg]:(kS=(wS=c0.globalCss)==null?void 0:wS.html)!=null?kS:{}},theme:{tokens:{fonts:{heading:{value:"'Estedad-FD', system-ui, sans-serif"},body:{value:"'Estedad-FD', system-ui, sans-serif"}},fontWeights:{100:{value:"100"},200:{value:"200"},300:{value:"300"},400:{value:"400"},500:{value:"500"},600:{value:"600"},700:{value:"700"},800:{value:"800"},900:{value:"900"},thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}}}}),oN=V2(c0,lN);function sN({children:e}){const[n,r]=Ae.useState(null),[a,o]=Ae.useState(null);return Ae.useEffect(()=>{if(!(n!=null&&n.shadowRoot)||a)return;const u=tp({key:"root",container:n.shadowRoot});o(u)},[n,a]),$.jsx(aN.div,{ref:r,children:n&&a&&$.jsx(QO,{value:()=>{var u;return(u=n.shadowRoot)!=null?u:document},children:$.jsx(Gb,{value:a,children:$.jsx(DE,{value:oN,children:$.jsx(dT,{children:e})})})})})}class uN extends Ae.Component{constructor(n){super(n),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.error("ErrorBoundary caught an error:",n,r),jf.captureException(n)}render(){return this.state.hasError?null:this.props.children}}function cN(){console.log("[DoriWidget] Initializing Dori widget...");const e=document.createElement("div");e.id="mori-react-widget-host";const r=document.querySelector("#dori-widget-container");r==null||r.appendChild(e);const a=bk.createRoot(e);return console.log("[DoriWidget] Rendering React app into widget container..."),a.render($.jsx(hb.StrictMode,{children:$.jsx(uN,{children:$.jsx(sN,{children:$.jsx(JM,{})})})})),console.log("[DoriWidget] Dori widget initialized successfully."),()=>{console.log("[DoriWidget] Unmounting Dori widget..."),a.unmount()}}yu("initializeDoriWidget",cN)()})();
1
+ var y=(e,t,r)=>new Promise((i,o)=>{var a=l=>{try{d(r.next(l))}catch(s){o(s)}},u=l=>{try{d(r.throw(l))}catch(s){o(s)}},d=l=>l.done?i(l.value):Promise.resolve(l.value).then(a,u);d((r=r.apply(e,t)).next())});import{j as n,H as b,L as S,T as j,I as C,B as h,V as E,l as R,r as c,m as z,n as P,o as D,p as W,q as A,E as B,C as _,s as k,R as F,t as L}from"./chunks/vendor-react-D0yhsSuL.js";import{K as p,L as T,M as H,N as I,O as M,P as q}from"./chunks/chat-features-DGTkbzkq.js";import"./chunks/vendor-sentry-D0PnNMvv.js";(function(){try{var e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{};e.SENTRY_RELEASE={id:"0f6b0df49cfe4f522517a4228aeb9052f95c35b2"}}catch(t){}})();try{(function(){var e=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="71f9d784-9f00-45f8-b625-ca99da141880",e._sentryDebugIdIdentifier="sentry-dbid-71f9d784-9f00-45f8-b625-ca99da141880")})()}catch(e){}const N=()=>{const{botData:e}=p();return n.jsx(b,{gap:0,justifyContent:"center",align:"center",w:"full",children:n.jsx(S,{href:T("https://dori.tech/",(e==null?void 0:e.sharing_id)||""),target:"_blank",children:n.jsxs(b,{alignItems:"center",justifyContent:"center",alignContent:"center",children:[n.jsxs(j,{fontSize:"10px",fontWeight:"400",color:"#666666",textAlign:"center",fontFamily:"Estedad-FD, system-ui, sans-serif",lineHeight:"1.4",children:["Powered by"," "]}),n.jsx(C,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori.png",alt:"Bot Image",h:"14px"})]})})})},O=()=>n.jsx(h,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:n.jsxs(E,{p:6,h:"full",justify:"center",align:"center",children:[n.jsx(R,{color:"blue.500",size:"lg"}),n.jsx(j,{fontSize:"sm",color:"gray.600",textAlign:"center",children:"Loading your shopping assistant..."})]})}),U=()=>{var i,o;const{botData:e,isLoadingBot:t}=p();if(t)return n.jsx(O,{});if(!e)return null;const r=(o=(i=e==null?void 0:e.white_label)==null?void 0:i.is_white_labeled)!=null?o:!1;return n.jsx(h,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:n.jsxs(E,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[n.jsx(H,{})," ",!r&&n.jsx(h,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:n.jsx(N,{variant:"default"})})]})})};function V({sharingId:e,productId:t}){const{initializeBot:r,resetBot:i}=p(),o=c.useRef(void 0),a=c.useRef(void 0);c.useEffect(()=>{y(null,null,function*(){(o.current&&e&&o.current!==e||a.current!==t)&&(i==null||i()),o.current=e,a.current=t,e&&(yield r(e,t))})},[e,t,r,i])}const Y=!1;console.log("isDevelopment",Y);function K(){const[e,t]=c.useState(""),[r,i]=c.useState(null);return V({sharingId:e,productId:r}),c.useEffect(()=>{window.chatbotData?t(window.chatbotData.sharingID):I("useEffect sharing ID",()=>{const o=()=>{const s=document.querySelector("script#dori-react-widget");return{sharingId:(s==null?void 0:s.getAttribute("data-sharing-id"))||"",productId:(s==null?void 0:s.getAttribute("data-product-id"))||null}},{sharingId:a,productId:u}=o();t(a),i(u);const d=document.querySelector("script#dori-react-widget");if(!d)return;const l=new MutationObserver(s=>{for(const g of s)if(g.type==="attributes"&&(g.attributeName==="data-sharing-id"||g.attributeName==="data-product-id")){const{sharingId:v,productId:m}=o();t(v),i(m),console.log("script data changed:",{sharingId:v,productId:m})}});return l.observe(d,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{l.disconnect()}})()},[]),n.jsx(h,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",colorScheme:"light",children:n.jsx(U,{})})}function $(){return n.jsx(K,{})}const f=":host";var x,w;const G=P({cssVarsRoot:f,conditions:{light:`${f} &, .light &`},preflight:{scope:f},globalCss:{[f]:(w=(x=D.globalCss)==null?void 0:x.html)!=null?w:{}},theme:{tokens:{fonts:{heading:{value:"'Estedad-FD', system-ui, sans-serif"},body:{value:"'Estedad-FD', system-ui, sans-serif"}},fontWeights:{100:{value:"100"},200:{value:"200"},300:{value:"300"},400:{value:"400"},500:{value:"500"},600:{value:"600"},700:{value:"700"},800:{value:"800"},900:{value:"900"},thin:{value:"100"},extralight:{value:"200"},light:{value:"300"},normal:{value:"400"},medium:{value:"500"},semibold:{value:"600"},bold:{value:"700"},extrabold:{value:"800"},black:{value:"900"}}}}}),J=z(D,G);function Q({children:e}){const[t,r]=c.useState(null),[i,o]=c.useState(null);return c.useEffect(()=>{if(!(t!=null&&t.shadowRoot)||i)return;const a=W({key:"root",container:t.shadowRoot});o(a)},[t,i]),n.jsx(A.div,{ref:r,children:t&&i&&n.jsx(B,{value:()=>{var a;return(a=t.shadowRoot)!=null?a:document},children:n.jsx(_,{value:i,children:n.jsx(k,{value:J,children:n.jsx(M,{children:e})})})})})}class X extends c.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,r){console.error("ErrorBoundary caught an error:",t,r),q.captureException(t)}render(){return this.state.hasError?null:this.props.children}}function Z(){console.log("[DoriWidget] Initializing Dori widget...");const e=document.createElement("div");e.id="mori-react-widget-host";const r=document.querySelector("#dori-widget-container");r==null||r.appendChild(e);const i=F.createRoot(e);return console.log("[DoriWidget] Rendering React app into widget container..."),i.render(n.jsx(L.StrictMode,{children:n.jsx(X,{children:n.jsx(Q,{children:n.jsx($,{})})})})),console.log("[DoriWidget] Dori widget initialized successfully."),()=>{console.log("[DoriWidget] Unmounting Dori widget..."),i.unmount()}}I("initializeDoriWidget",Z)();
162
2
  //# sourceMappingURL=widget.js.map