dori-pdp-widget 0.0.23 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/widget.js CHANGED
@@ -1,2 +1,168 @@
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"https://unpkg.com/dori-pdp-widget@latest/dist/chunks/vendor-react-CcnrbRml.js";import{K as p,L as T,M as H,N as I,O as M,P as q}from"https://unpkg.com/dori-pdp-widget@latest/dist/chunks/chat-features-CMTt4p4D.js";import"https://unpkg.com/dori-pdp-widget@latest/dist/chunks/vendor-sentry-D5Ws3Htt.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:"8eda7031c49bb4897c2bd51999a107c3ffe3b10c"}}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)();
1
+ (function(){try{var lo=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};lo.SENTRY_RELEASE={id:"9d942765cdef15e6c42cecc8effea1aaa800fde8"}}catch{}})();try{(function(){var lo=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Kc=new lo.Error().stack;Kc&&(lo._sentryDebugIds=lo._sentryDebugIds||{},lo._sentryDebugIds[Kc]="9daf354c-3e5a-4c3f-94f6-7bb15462932a",lo._sentryDebugIdIdentifier="sentry-dbid-9daf354c-3e5a-4c3f-94f6-7bb15462932a")})()}catch{}(function(){"use strict";function lo(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const l in r)if(l!=="default"&&!(l in e)){const s=Object.getOwnPropertyDescriptor(r,l);s&&Object.defineProperty(e,l,s.get?s:{enumerable:!0,get:()=>r[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var Kc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Mu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qy(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var n=function r(){var l=!1;try{l=this instanceof r}catch{}return l?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:function(){return e[r]}})}),n}var Bm={exports:{}},Td={};/**
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 $y;function XT(){if($y)return Td;$y=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,l,s){var u=null;if(s!==void 0&&(u=""+s),l.key!==void 0&&(u=""+l.key),"key"in l){s={};for(var f in l)f!=="key"&&(s[f]=l[f])}else s=l;return l=s.ref,{$$typeof:e,type:r,key:u,ref:l!==void 0?l:null,props:s}}return Td.Fragment=t,Td.jsx=n,Td.jsxs=n,Td}var e1;function ZT(){return e1||(e1=1,Bm.exports=XT()),Bm.exports}var $=ZT(),Hm={exports:{}},mt={};/**
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 t1;function KT(){if(t1)return mt;t1=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),g=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),y=Symbol.for("react.lazy"),S=Symbol.iterator;function w(k){return k===null||typeof k!="object"?null:(k=S&&k[S]||k["@@iterator"],typeof k=="function"?k:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},R=Object.assign,z={};function B(k,G,me){this.props=k,this.context=G,this.refs=z,this.updater=me||C}B.prototype.isReactComponent={},B.prototype.setState=function(k,G){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,G,"setState")},B.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function V(){}V.prototype=B.prototype;function W(k,G,me){this.props=k,this.context=G,this.refs=z,this.updater=me||C}var H=W.prototype=new V;H.constructor=W,R(H,B.prototype),H.isPureReactComponent=!0;var te=Array.isArray,U={H:null,A:null,T:null,S:null,V:null},K=Object.prototype.hasOwnProperty;function be(k,G,me,M,xe,He){return me=He.ref,{$$typeof:e,type:k,key:G,ref:me!==void 0?me:null,props:He}}function ge(k,G){return be(k.type,G,void 0,void 0,void 0,k.props)}function fe(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function Z(k){var G={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(me){return G[me]})}var ke=/\/+/g;function ue(k,G){return typeof k=="object"&&k!==null&&k.key!=null?Z(""+k.key):G.toString(36)}function Oe(){}function ee(k){switch(k.status){case"fulfilled":return k.value;case"rejected":throw k.reason;default:switch(typeof k.status=="string"?k.then(Oe,Oe):(k.status="pending",k.then(function(G){k.status==="pending"&&(k.status="fulfilled",k.value=G)},function(G){k.status==="pending"&&(k.status="rejected",k.reason=G)})),k.status){case"fulfilled":return k.value;case"rejected":throw k.reason}}throw k}function oe(k,G,me,M,xe){var He=typeof k;(He==="undefined"||He==="boolean")&&(k=null);var Me=!1;if(k===null)Me=!0;else switch(He){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(k.$$typeof){case e:case t:Me=!0;break;case y:return Me=k._init,oe(Me(k._payload),G,me,M,xe)}}if(Me)return xe=xe(k),Me=M===""?"."+ue(k,0):M,te(xe)?(me="",Me!=null&&(me=Me.replace(ke,"$&/")+"/"),oe(xe,G,me,"",function(Re){return Re})):xe!=null&&(fe(xe)&&(xe=ge(xe,me+(xe.key==null||k&&k.key===xe.key?"":(""+xe.key).replace(ke,"$&/")+"/")+Me)),G.push(xe)),1;Me=0;var ht=M===""?".":M+":";if(te(k))for(var ye=0;ye<k.length;ye++)M=k[ye],He=ht+ue(M,ye),Me+=oe(M,G,me,He,xe);else if(ye=w(k),typeof ye=="function")for(k=ye.call(k),ye=0;!(M=k.next()).done;)M=M.value,He=ht+ue(M,ye++),Me+=oe(M,G,me,He,xe);else if(He==="object"){if(typeof k.then=="function")return oe(ee(k),G,me,M,xe);throw G=String(k),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return Me}function D(k,G,me){if(k==null)return k;var M=[],xe=0;return oe(k,M,"","",function(He){return G.call(me,He,xe++)}),M}function j(k){if(k._status===-1){var G=k._result;G=G(),G.then(function(me){(k._status===0||k._status===-1)&&(k._status=1,k._result=me)},function(me){(k._status===0||k._status===-1)&&(k._status=2,k._result=me)}),k._status===-1&&(k._status=0,k._result=G)}if(k._status===1)return k._result.default;throw k._result}var we=typeof reportError=="function"?reportError:function(k){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof k=="object"&&k!==null&&typeof k.message=="string"?String(k.message):String(k),error:k});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",k);return}console.error(k)};function Ee(){}return mt.Children={map:D,forEach:function(k,G,me){D(k,function(){G.apply(this,arguments)},me)},count:function(k){var G=0;return D(k,function(){G++}),G},toArray:function(k){return D(k,function(G){return G})||[]},only:function(k){if(!fe(k))throw Error("React.Children.only expected to receive a single React element child.");return k}},mt.Component=B,mt.Fragment=n,mt.Profiler=l,mt.PureComponent=W,mt.StrictMode=r,mt.Suspense=g,mt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=U,mt.__COMPILER_RUNTIME={__proto__:null,c:function(k){return U.H.useMemoCache(k)}},mt.cache=function(k){return function(){return k.apply(null,arguments)}},mt.cloneElement=function(k,G,me){if(k==null)throw Error("The argument must be a React element, but you passed "+k+".");var M=R({},k.props),xe=k.key,He=void 0;if(G!=null)for(Me in G.ref!==void 0&&(He=void 0),G.key!==void 0&&(xe=""+G.key),G)!K.call(G,Me)||Me==="key"||Me==="__self"||Me==="__source"||Me==="ref"&&G.ref===void 0||(M[Me]=G[Me]);var Me=arguments.length-2;if(Me===1)M.children=me;else if(1<Me){for(var ht=Array(Me),ye=0;ye<Me;ye++)ht[ye]=arguments[ye+2];M.children=ht}return be(k.type,xe,void 0,void 0,He,M)},mt.createContext=function(k){return k={$$typeof:u,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null},k.Provider=k,k.Consumer={$$typeof:s,_context:k},k},mt.createElement=function(k,G,me){var M,xe={},He=null;if(G!=null)for(M in G.key!==void 0&&(He=""+G.key),G)K.call(G,M)&&M!=="key"&&M!=="__self"&&M!=="__source"&&(xe[M]=G[M]);var Me=arguments.length-2;if(Me===1)xe.children=me;else if(1<Me){for(var ht=Array(Me),ye=0;ye<Me;ye++)ht[ye]=arguments[ye+2];xe.children=ht}if(k&&k.defaultProps)for(M in Me=k.defaultProps,Me)xe[M]===void 0&&(xe[M]=Me[M]);return be(k,He,void 0,void 0,null,xe)},mt.createRef=function(){return{current:null}},mt.forwardRef=function(k){return{$$typeof:f,render:k}},mt.isValidElement=fe,mt.lazy=function(k){return{$$typeof:y,_payload:{_status:-1,_result:k},_init:j}},mt.memo=function(k,G){return{$$typeof:b,type:k,compare:G===void 0?null:G}},mt.startTransition=function(k){var G=U.T,me={};U.T=me;try{var M=k(),xe=U.S;xe!==null&&xe(me,M),typeof M=="object"&&M!==null&&typeof M.then=="function"&&M.then(Ee,we)}catch(He){we(He)}finally{U.T=G}},mt.unstable_useCacheRefresh=function(){return U.H.useCacheRefresh()},mt.use=function(k){return U.H.use(k)},mt.useActionState=function(k,G,me){return U.H.useActionState(k,G,me)},mt.useCallback=function(k,G){return U.H.useCallback(k,G)},mt.useContext=function(k){return U.H.useContext(k)},mt.useDebugValue=function(){},mt.useDeferredValue=function(k,G){return U.H.useDeferredValue(k,G)},mt.useEffect=function(k,G,me){var M=U.H;if(typeof me=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return M.useEffect(k,G)},mt.useId=function(){return U.H.useId()},mt.useImperativeHandle=function(k,G,me){return U.H.useImperativeHandle(k,G,me)},mt.useInsertionEffect=function(k,G){return U.H.useInsertionEffect(k,G)},mt.useLayoutEffect=function(k,G){return U.H.useLayoutEffect(k,G)},mt.useMemo=function(k,G){return U.H.useMemo(k,G)},mt.useOptimistic=function(k,G){return U.H.useOptimistic(k,G)},mt.useReducer=function(k,G,me){return U.H.useReducer(k,G,me)},mt.useRef=function(k){return U.H.useRef(k)},mt.useState=function(k){return U.H.useState(k)},mt.useSyncExternalStore=function(k,G,me){return U.H.useSyncExternalStore(k,G,me)},mt.useTransition=function(){return U.H.useTransition()},mt.version="19.1.1",mt}var n1;function jc(){return n1||(n1=1,Hm.exports=KT()),Hm.exports}var Ae=jc();const r1=Mu(Ae),i1=lo({__proto__:null,default:r1},[Ae]);var Wm={exports:{}},Od={},Gm={exports:{}},Um={};/**
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 a1;function jT(){return a1||(a1=1,(function(e){function t(D,j){var we=D.length;D.push(j);e:for(;0<we;){var Ee=we-1>>>1,k=D[Ee];if(0<l(k,j))D[Ee]=j,D[we]=k,we=Ee;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var j=D[0],we=D.pop();if(we!==j){D[0]=we;e:for(var Ee=0,k=D.length,G=k>>>1;Ee<G;){var me=2*(Ee+1)-1,M=D[me],xe=me+1,He=D[xe];if(0>l(M,we))xe<k&&0>l(He,M)?(D[Ee]=He,D[xe]=we,Ee=xe):(D[Ee]=M,D[me]=we,Ee=me);else if(xe<k&&0>l(He,we))D[Ee]=He,D[xe]=we,Ee=xe;else break e}}return j}function l(D,j){var we=D.sortIndex-j.sortIndex;return we!==0?we:D.id-j.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var u=Date,f=u.now();e.unstable_now=function(){return u.now()-f}}var g=[],b=[],y=1,S=null,w=3,C=!1,R=!1,z=!1,B=!1,V=typeof setTimeout=="function"?setTimeout:null,W=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function te(D){for(var j=n(b);j!==null;){if(j.callback===null)r(b);else if(j.startTime<=D)r(b),j.sortIndex=j.expirationTime,t(g,j);else break;j=n(b)}}function U(D){if(z=!1,te(D),!R)if(n(g)!==null)R=!0,K||(K=!0,ue());else{var j=n(b);j!==null&&oe(U,j.startTime-D)}}var K=!1,be=-1,ge=5,fe=-1;function Z(){return B?!0:!(e.unstable_now()-fe<ge)}function ke(){if(B=!1,K){var D=e.unstable_now();fe=D;var j=!0;try{e:{R=!1,z&&(z=!1,W(be),be=-1),C=!0;var we=w;try{t:{for(te(D),S=n(g);S!==null&&!(S.expirationTime>D&&Z());){var Ee=S.callback;if(typeof Ee=="function"){S.callback=null,w=S.priorityLevel;var k=Ee(S.expirationTime<=D);if(D=e.unstable_now(),typeof k=="function"){S.callback=k,te(D),j=!0;break t}S===n(g)&&r(g),te(D)}else r(g);S=n(g)}if(S!==null)j=!0;else{var G=n(b);G!==null&&oe(U,G.startTime-D),j=!1}}break e}finally{S=null,w=we,C=!1}j=void 0}}finally{j?ue():K=!1}}}var ue;if(typeof H=="function")ue=function(){H(ke)};else if(typeof MessageChannel<"u"){var Oe=new MessageChannel,ee=Oe.port2;Oe.port1.onmessage=ke,ue=function(){ee.postMessage(null)}}else ue=function(){V(ke,0)};function oe(D,j){be=V(function(){D(e.unstable_now())},j)}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(D){D.callback=null},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_next=function(D){switch(w){case 1:case 2:case 3:var j=3;break;default:j=w}var we=w;w=j;try{return D()}finally{w=we}},e.unstable_requestPaint=function(){B=!0},e.unstable_runWithPriority=function(D,j){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var we=w;w=D;try{return j()}finally{w=we}},e.unstable_scheduleCallback=function(D,j,we){var Ee=e.unstable_now();switch(typeof we=="object"&&we!==null?(we=we.delay,we=typeof we=="number"&&0<we?Ee+we:Ee):we=Ee,D){case 1:var k=-1;break;case 2:k=250;break;case 5:k=1073741823;break;case 4:k=1e4;break;default:k=5e3}return k=we+k,D={id:y++,callback:j,priorityLevel:D,startTime:we,expirationTime:k,sortIndex:-1},we>Ee?(D.sortIndex=we,t(b,D),n(g)===null&&D===n(b)&&(z?(W(be),be=-1):z=!0,oe(U,we-Ee))):(D.sortIndex=k,t(g,D),R||C||(R=!0,K||(K=!0,ue()))),D},e.unstable_shouldYield=Z,e.unstable_wrapCallback=function(D){var j=w;return function(){var we=w;w=j;try{return D.apply(this,arguments)}finally{w=we}}}})(Um)),Um}var l1;function JT(){return l1||(l1=1,Gm.exports=jT()),Gm.exports}var Ym={exports:{}},ti={};/**
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 o1;function QT(){if(o1)return ti;o1=1;var e=jc();function t(g){var b="https://react.dev/errors/"+g;if(1<arguments.length){b+="?args[]="+encodeURIComponent(arguments[1]);for(var y=2;y<arguments.length;y++)b+="&args[]="+encodeURIComponent(arguments[y])}return"Minified React error #"+g+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},l=Symbol.for("react.portal");function s(g,b,y){var S=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:l,key:S==null?null:""+S,children:g,containerInfo:b,implementation:y}}var u=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(g,b){if(g==="font")return"";if(typeof b=="string")return b==="use-credentials"?b:""}return ti.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,ti.createPortal=function(g,b){var y=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!b||b.nodeType!==1&&b.nodeType!==9&&b.nodeType!==11)throw Error(t(299));return s(g,b,null,y)},ti.flushSync=function(g){var b=u.T,y=r.p;try{if(u.T=null,r.p=2,g)return g()}finally{u.T=b,r.p=y,r.d.f()}},ti.preconnect=function(g,b){typeof g=="string"&&(b?(b=b.crossOrigin,b=typeof b=="string"?b==="use-credentials"?b:"":void 0):b=null,r.d.C(g,b))},ti.prefetchDNS=function(g){typeof g=="string"&&r.d.D(g)},ti.preinit=function(g,b){if(typeof g=="string"&&b&&typeof b.as=="string"){var y=b.as,S=f(y,b.crossOrigin),w=typeof b.integrity=="string"?b.integrity:void 0,C=typeof b.fetchPriority=="string"?b.fetchPriority:void 0;y==="style"?r.d.S(g,typeof b.precedence=="string"?b.precedence:void 0,{crossOrigin:S,integrity:w,fetchPriority:C}):y==="script"&&r.d.X(g,{crossOrigin:S,integrity:w,fetchPriority:C,nonce:typeof b.nonce=="string"?b.nonce:void 0})}},ti.preinitModule=function(g,b){if(typeof g=="string")if(typeof b=="object"&&b!==null){if(b.as==null||b.as==="script"){var y=f(b.as,b.crossOrigin);r.d.M(g,{crossOrigin:y,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0})}}else b==null&&r.d.M(g)},ti.preload=function(g,b){if(typeof g=="string"&&typeof b=="object"&&b!==null&&typeof b.as=="string"){var y=b.as,S=f(y,b.crossOrigin);r.d.L(g,y,{crossOrigin:S,integrity:typeof b.integrity=="string"?b.integrity:void 0,nonce:typeof b.nonce=="string"?b.nonce:void 0,type:typeof b.type=="string"?b.type:void 0,fetchPriority:typeof b.fetchPriority=="string"?b.fetchPriority:void 0,referrerPolicy:typeof b.referrerPolicy=="string"?b.referrerPolicy:void 0,imageSrcSet:typeof b.imageSrcSet=="string"?b.imageSrcSet:void 0,imageSizes:typeof b.imageSizes=="string"?b.imageSizes:void 0,media:typeof b.media=="string"?b.media:void 0})}},ti.preloadModule=function(g,b){if(typeof g=="string")if(b){var y=f(b.as,b.crossOrigin);r.d.m(g,{as:typeof b.as=="string"&&b.as!=="script"?b.as:void 0,crossOrigin:y,integrity:typeof b.integrity=="string"?b.integrity:void 0})}else r.d.m(g)},ti.requestFormReset=function(g){r.d.r(g)},ti.unstable_batchedUpdates=function(g,b){return g(b)},ti.useFormState=function(g,b,y){return u.H.useFormState(g,b,y)},ti.useFormStatus=function(){return u.H.useHostTransitionStatus()},ti.version="19.1.1",ti}var s1;function Sg(){if(s1)return Ym.exports;s1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Ym.exports=QT(),Ym.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 u1;function qT(){if(u1)return Od;u1=1;var e=JT(),t=jc(),n=Sg();function r(i){var a="https://react.dev/errors/"+i;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+i+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function l(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var a=i,o=i;if(i.alternate)for(;a.return;)a=a.return;else{i=a;do a=i,(a.flags&4098)!==0&&(o=a.return),i=a.return;while(i)}return a.tag===3?o:null}function u(i){if(i.tag===13){var a=i.memoizedState;if(a===null&&(i=i.alternate,i!==null&&(a=i.memoizedState)),a!==null)return a.dehydrated}return null}function f(i){if(s(i)!==i)throw Error(r(188))}function g(i){var a=i.alternate;if(!a){if(a=s(i),a===null)throw Error(r(188));return a!==i?null:i}for(var o=i,c=a;;){var m=o.return;if(m===null)break;var x=m.alternate;if(x===null){if(c=m.return,c!==null){o=c;continue}break}if(m.child===x.child){for(x=m.child;x;){if(x===o)return f(m),i;if(x===c)return f(m),a;x=x.sibling}throw Error(r(188))}if(o.return!==c.return)o=m,c=x;else{for(var _=!1,N=m.child;N;){if(N===o){_=!0,o=m,c=x;break}if(N===c){_=!0,c=m,o=x;break}N=N.sibling}if(!_){for(N=x.child;N;){if(N===o){_=!0,o=x,c=m;break}if(N===c){_=!0,c=x,o=m;break}N=N.sibling}if(!_)throw Error(r(189))}}if(o.alternate!==c)throw Error(r(190))}if(o.tag!==3)throw Error(r(188));return o.stateNode.current===o?i:a}function b(i){var a=i.tag;if(a===5||a===26||a===27||a===6)return i;for(i=i.child;i!==null;){if(a=b(i),a!==null)return a;i=i.sibling}return null}var y=Object.assign,S=Symbol.for("react.element"),w=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),R=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),V=Symbol.for("react.provider"),W=Symbol.for("react.consumer"),H=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),K=Symbol.for("react.suspense_list"),be=Symbol.for("react.memo"),ge=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),Z=Symbol.for("react.memo_cache_sentinel"),ke=Symbol.iterator;function ue(i){return i===null||typeof i!="object"?null:(i=ke&&i[ke]||i["@@iterator"],typeof i=="function"?i:null)}var Oe=Symbol.for("react.client.reference");function ee(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===Oe?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case R:return"Fragment";case B:return"Profiler";case z:return"StrictMode";case U:return"Suspense";case K:return"SuspenseList";case fe:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case C:return"Portal";case H:return(i.displayName||"Context")+".Provider";case W:return(i._context.displayName||"Context")+".Consumer";case te:var a=i.render;return i=i.displayName,i||(i=a.displayName||a.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case be:return a=i.displayName||null,a!==null?a:ee(i.type)||"Memo";case ge:a=i._payload,i=i._init;try{return ee(i(a))}catch{}}return null}var oe=Array.isArray,D=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,we={pending:!1,data:null,method:null,action:null},Ee=[],k=-1;function G(i){return{current:i}}function me(i){0>k||(i.current=Ee[k],Ee[k]=null,k--)}function M(i,a){k++,Ee[k]=i.current,i.current=a}var xe=G(null),He=G(null),Me=G(null),ht=G(null);function ye(i,a){switch(M(Me,a),M(He,i),M(xe,null),a.nodeType){case 9:case 11:i=(i=a.documentElement)&&(i=i.namespaceURI)?vT(i):0;break;default:if(i=a.tagName,a=a.namespaceURI)a=vT(a),i=yT(a,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}me(xe),M(xe,i)}function Re(){me(xe),me(He),me(Me)}function Pe(i){i.memoizedState!==null&&M(ht,i);var a=xe.current,o=yT(a,i.type);a!==o&&(M(He,i),M(xe,o))}function Fe(i){He.current===i&&(me(xe),me(He)),ht.current===i&&(me(ht),mg._currentValue=we)}var Ve=Object.prototype.hasOwnProperty,ct=e.unstable_scheduleCallback,Yt=e.unstable_cancelCallback,Wn=e.unstable_shouldYield,kt=e.unstable_requestPaint,nn=e.unstable_now,Bi=e.unstable_getCurrentPriorityLevel,Lr=e.unstable_ImmediatePriority,Mn=e.unstable_UserBlockingPriority,rn=e.unstable_NormalPriority,xt=e.unstable_LowPriority,wn=e.unstable_IdlePriority,uc=e.log,Ys=e.unstable_setDisableYieldValue,pe=null,Ie=null;function Ke(i){if(typeof uc=="function"&&Ys(i),Ie&&typeof Ie.setStrictMode=="function")try{Ie.setStrictMode(pe,i)}catch{}}var Xe=Math.clz32?Math.clz32:vi,_t=Math.log,Gn=Math.LN2;function vi(i){return i>>>=0,i===0?32:31-(_t(i)/Gn|0)|0}var Zn=256,yi=4194304;function pr(i){var a=i&42;if(a!==0)return a;switch(i&-i){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 i&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function dt(i,a,o){var c=i.pendingLanes;if(c===0)return 0;var m=0,x=i.suspendedLanes,_=i.pingedLanes;i=i.warmLanes;var N=c&134217727;return N!==0?(c=N&~x,c!==0?m=pr(c):(_&=N,_!==0?m=pr(_):o||(o=N&~i,o!==0&&(m=pr(o))))):(N=c&~x,N!==0?m=pr(N):_!==0?m=pr(_):o||(o=c&~i,o!==0&&(m=pr(o)))),m===0?0:a!==0&&a!==m&&(a&x)===0&&(x=m&-m,o=a&-a,x>=o||x===32&&(o&4194048)!==0)?a:m}function Qt(i,a){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&a)===0}function Fr(i,a){switch(i){case 1:case 2:case 4:case 8:case 64:return a+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 a+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 fa(){var i=Zn;return Zn<<=1,(Zn&4194048)===0&&(Zn=256),i}function xi(){var i=yi;return yi<<=1,(yi&62914560)===0&&(yi=4194304),i}function es(i){for(var a=[],o=0;31>o;o++)a.push(i);return a}function Al(i,a){i.pendingLanes|=a,a!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function Nf(i,a,o,c,m,x){var _=i.pendingLanes;i.pendingLanes=o,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=o,i.entangledLanes&=o,i.errorRecoveryDisabledLanes&=o,i.shellSuspendCounter=0;var N=i.entanglements,Y=i.expirationTimes,se=i.hiddenUpdates;for(o=_&~o;0<o;){var Ce=31-Xe(o),_e=1<<Ce;N[Ce]=0,Y[Ce]=-1;var ce=se[Ce];if(ce!==null)for(se[Ce]=null,Ce=0;Ce<ce.length;Ce++){var de=ce[Ce];de!==null&&(de.lane&=-536870913)}o&=~_e}c!==0&&cc(i,c,0),x!==0&&m===0&&i.tag!==0&&(i.suspendedLanes|=x&~(_&~a))}function cc(i,a,o){i.pendingLanes|=a,i.suspendedLanes&=~a;var c=31-Xe(a);i.entangledLanes|=a,i.entanglements[c]=i.entanglements[c]|1073741824|o&4194090}function Df(i,a){var o=i.entangledLanes|=a;for(i=i.entanglements;o;){var c=31-Xe(o),m=1<<c;m&a|i[c]&a&&(i[c]|=a),o&=~m}}function Xs(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=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:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function Kn(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Vr(){var i=j.p;return i!==0?i:(i=window.event,i===void 0?32:FT(i.type))}function jn(i,a){var o=j.p;try{return j.p=i,a()}finally{j.p=o}}var Br=Math.random().toString(36).slice(2),_n="__reactFiber$"+Br,Mt="__reactProps$"+Br,El="__reactContainer$"+Br,ts="__reactEvents$"+Br,Hr="__reactListeners$"+Br,da="__reactHandles$"+Br,fc="__reactResources$"+Br,Ao="__reactMarker$"+Br;function Rt(i){delete i[_n],delete i[Mt],delete i[ts],delete i[Hr],delete i[da]}function Cn(i){var a=i[_n];if(a)return a;for(var o=i.parentNode;o;){if(a=o[El]||o[_n]){if(o=a.alternate,a.child!==null||o!==null&&o.child!==null)for(i=ET(i);i!==null;){if(o=i[_n])return o;i=ET(i)}return a}i=o,o=i.parentNode}return null}function Hi(i){if(i=i[_n]||i[El]){var a=i.tag;if(a===5||a===6||a===13||a===26||a===27||a===3)return i}return null}function Jn(i){var a=i.tag;if(a===5||a===26||a===27||a===6)return i.stateNode;throw Error(r(33))}function wl(i){var a=i[fc];return a||(a=i[fc]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function Rn(i){i[Ao]=!0}var Mf=new Set,dc={};function Cl(i,a){Eo(i,a),Eo(i+"Capture",a)}function Eo(i,a){for(dc[i]=a,i=0;i<a.length;i++)Mf.add(a[i])}var or=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]*$"),hc={},kl={};function ha(i){return Ve.call(kl,i)?!0:Ve.call(hc,i)?!1:or.test(i)?kl[i]=!0:(hc[i]=!0,!1)}function Tl(i,a,o){if(ha(a))if(o===null)i.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":i.removeAttribute(a);return;case"boolean":var c=a.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){i.removeAttribute(a);return}}i.setAttribute(a,""+o)}}function ga(i,a,o){if(o===null)i.removeAttribute(a);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(a);return}i.setAttribute(a,""+o)}}function Wr(i,a,o,c){if(c===null)i.removeAttribute(o);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(o);return}i.setAttributeNS(a,o,""+c)}}var Ka,ns;function Ol(i){if(Ka===void 0)try{throw Error()}catch(o){var a=o.stack.trim().match(/\n( *(at )?)/);Ka=a&&a[1]||"",ns=-1<o.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Ka+i+ns}var Zs=!1;function vn(i,a){if(!i||Zs)return"";Zs=!0;var o=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(a){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(de){var ce=de}Reflect.construct(i,[],_e)}else{try{_e.call()}catch(de){ce=de}i.call(_e.prototype)}}else{try{throw Error()}catch(de){ce=de}(_e=i())&&typeof _e.catch=="function"&&_e.catch(function(){})}}catch(de){if(de&&ce&&typeof de.stack=="string")return[de.stack,ce.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var x=c.DetermineComponentFrameRoot(),_=x[0],N=x[1];if(_&&N){var Y=_.split(`
44
+ `),se=N.split(`
45
+ `);for(m=c=0;c<Y.length&&!Y[c].includes("DetermineComponentFrameRoot");)c++;for(;m<se.length&&!se[m].includes("DetermineComponentFrameRoot");)m++;if(c===Y.length||m===se.length)for(c=Y.length-1,m=se.length-1;1<=c&&0<=m&&Y[c]!==se[m];)m--;for(;1<=c&&0<=m;c--,m--)if(Y[c]!==se[m]){if(c!==1||m!==1)do if(c--,m--,0>m||Y[c]!==se[m]){var Ce=`
46
+ `+Y[c].replace(" at new "," at ");return i.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",i.displayName)),Ce}while(1<=c&&0<=m);break}}}finally{Zs=!1,Error.prepareStackTrace=o}return(o=i?i.displayName||i.name:"")?Ol(o):""}function gc(i){switch(i.tag){case 26:case 27:case 5:return Ol(i.type);case 16:return Ol("Lazy");case 13:return Ol("Suspense");case 19:return Ol("SuspenseList");case 0:case 15:return vn(i.type,!1);case 11:return vn(i.type.render,!1);case 1:return vn(i.type,!0);case 31:return Ol("Activity");default:return""}}function Lf(i){try{var a="";do a+=gc(i),i=i.return;while(i);return a}catch(o){return`
47
+ Error generating stack: `+o.message+`
48
+ `+o.stack}}function Gr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Si(i){var a=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function pc(i){var a=Si(i)?"checked":"value",o=Object.getOwnPropertyDescriptor(i.constructor.prototype,a),c=""+i[a];if(!i.hasOwnProperty(a)&&typeof o<"u"&&typeof o.get=="function"&&typeof o.set=="function"){var m=o.get,x=o.set;return Object.defineProperty(i,a,{configurable:!0,get:function(){return m.call(this)},set:function(_){c=""+_,x.call(this,_)}}),Object.defineProperty(i,a,{enumerable:o.enumerable}),{getValue:function(){return c},setValue:function(_){c=""+_},stopTracking:function(){i._valueTracker=null,delete i[a]}}}}function Ai(i){i._valueTracker||(i._valueTracker=pc(i))}function rs(i){if(!i)return!1;var a=i._valueTracker;if(!a)return!0;var o=a.getValue(),c="";return i&&(c=Si(i)?i.checked?"true":"false":i.value),i=c,i!==o?(a.setValue(i),!0):!1}function is(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var Ff=/[\n"\\]/g;function Ur(i){return i.replace(Ff,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Ks(i,a,o,c,m,x,_,N){i.name="",_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"?i.type=_:i.removeAttribute("type"),a!=null?_==="number"?(a===0&&i.value===""||i.value!=a)&&(i.value=""+Gr(a)):i.value!==""+Gr(a)&&(i.value=""+Gr(a)):_!=="submit"&&_!=="reset"||i.removeAttribute("value"),a!=null?_l(i,_,Gr(a)):o!=null?_l(i,_,Gr(o)):c!=null&&i.removeAttribute("value"),m==null&&x!=null&&(i.defaultChecked=!!x),m!=null&&(i.checked=m&&typeof m!="function"&&typeof m!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?i.name=""+Gr(N):i.removeAttribute("name")}function pa(i,a,o,c,m,x,_,N){if(x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(i.type=x),a!=null||o!=null){if(!(x!=="submit"&&x!=="reset"||a!=null))return;o=o!=null?""+Gr(o):"",a=a!=null?""+Gr(a):o,N||a===i.value||(i.value=a),i.defaultValue=a}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,i.checked=N?i.checked:!!c,i.defaultChecked=!!c,_!=null&&typeof _!="function"&&typeof _!="symbol"&&typeof _!="boolean"&&(i.name=_)}function _l(i,a,o){a==="number"&&is(i.ownerDocument)===i||i.defaultValue===""+o||(i.defaultValue=""+o)}function wo(i,a,o,c){if(i=i.options,a){a={};for(var m=0;m<o.length;m++)a["$"+o[m]]=!0;for(o=0;o<i.length;o++)m=a.hasOwnProperty("$"+i[o].value),i[o].selected!==m&&(i[o].selected=m),m&&c&&(i[o].defaultSelected=!0)}else{for(o=""+Gr(o),a=null,m=0;m<i.length;m++){if(i[m].value===o){i[m].selected=!0,c&&(i[m].defaultSelected=!0);return}a!==null||i[m].disabled||(a=i[m])}a!==null&&(a.selected=!0)}}function js(i,a,o){if(a!=null&&(a=""+Gr(a),a!==i.value&&(i.value=a),o==null)){i.defaultValue!==a&&(i.defaultValue=a);return}i.defaultValue=o!=null?""+Gr(o):""}function as(i,a,o,c){if(a==null){if(c!=null){if(o!=null)throw Error(r(92));if(oe(c)){if(1<c.length)throw Error(r(93));c=c[0]}o=c}o==null&&(o=""),a=o}o=Gr(a),i.defaultValue=o,c=i.textContent,c===o&&c!==""&&c!==null&&(i.value=c)}function Co(i,a){if(a){var o=i.firstChild;if(o&&o===i.lastChild&&o.nodeType===3){o.nodeValue=a;return}}i.textContent=a}var Vf=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 Bf(i,a,o){var c=a.indexOf("--")===0;o==null||typeof o=="boolean"||o===""?c?i.setProperty(a,""):a==="float"?i.cssFloat="":i[a]="":c?i.setProperty(a,o):typeof o!="number"||o===0||Vf.has(a)?a==="float"?i.cssFloat=o:i[a]=(""+o).trim():i[a]=o+"px"}function ja(i,a,o){if(a!=null&&typeof a!="object")throw Error(r(62));if(i=i.style,o!=null){for(var c in o)!o.hasOwnProperty(c)||a!=null&&a.hasOwnProperty(c)||(c.indexOf("--")===0?i.setProperty(c,""):c==="float"?i.cssFloat="":i[c]="");for(var m in a)c=a[m],a.hasOwnProperty(m)&&o[m]!==c&&Bf(i,m,c)}else for(var x in a)a.hasOwnProperty(x)&&Bf(i,x,a[x])}function Rl(i){if(i.indexOf("-")===-1)return!1;switch(i){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 _h=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"]]),Js=/^[\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 Pl(i){return Js.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}var mc=null;function bc(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Ar=null,Ja=null;function Qs(i){var a=Hi(i);if(a&&(i=a.stateNode)){var o=i[Mt]||null;e:switch(i=a.stateNode,a.type){case"input":if(Ks(i,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name),a=o.name,o.type==="radio"&&a!=null){for(o=i;o.parentNode;)o=o.parentNode;for(o=o.querySelectorAll('input[name="'+Ur(""+a)+'"][type="radio"]'),a=0;a<o.length;a++){var c=o[a];if(c!==i&&c.form===i.form){var m=c[Mt]||null;if(!m)throw Error(r(90));Ks(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(a=0;a<o.length;a++)c=o[a],c.form===i.form&&rs(c)}break e;case"textarea":js(i,o.value,o.defaultValue);break e;case"select":a=o.value,a!=null&&wo(i,!!o.multiple,a,!1)}}}var ls=!1;function os(i,a,o){if(ls)return i(a,o);ls=!0;try{var c=i(a);return c}finally{if(ls=!1,(Ar!==null||Ja!==null)&&(mm(),Ar&&(a=Ar,i=Ja,Ja=Ar=null,Qs(a),i)))for(a=0;a<i.length;a++)Qs(i[a])}}function zt(i,a){var o=i.stateNode;if(o===null)return null;var c=o[Mt]||null;if(c===null)return null;o=c[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(i=i.type,c=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!c;break e;default:i=!1}if(i)return null;if(o&&typeof o!="function")throw Error(r(231,a,typeof o));return o}var Yr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ko=!1;if(Yr)try{var ma={};Object.defineProperty(ma,"passive",{get:function(){ko=!0}}),window.addEventListener("test",ma,ma),window.removeEventListener("test",ma,ma)}catch{ko=!1}var ai=null,Il=null,zl=null;function Nl(){if(zl)return zl;var i,a=Il,o=a.length,c,m="value"in ai?ai.value:ai.textContent,x=m.length;for(i=0;i<o&&a[i]===m[i];i++);var _=o-i;for(c=1;c<=_&&a[o-c]===m[x-c];c++);return zl=m.slice(i,1<c?1-c:void 0)}function Ei(i){var a=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&a===13&&(i=13)):i=a,i===10&&(i=13),32<=i||i===13?i:0}function Dl(){return!0}function Wi(){return!1}function mr(i){function a(o,c,m,x,_){this._reactName=o,this._targetInst=m,this.type=c,this.nativeEvent=x,this.target=_,this.currentTarget=null;for(var N in i)i.hasOwnProperty(N)&&(o=i[N],this[N]=o?o(x):x[N]);return this.isDefaultPrevented=(x.defaultPrevented!=null?x.defaultPrevented:x.returnValue===!1)?Dl:Wi,this.isPropagationStopped=Wi,this}return y(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var o=this.nativeEvent;o&&(o.preventDefault?o.preventDefault():typeof o.returnValue!="unknown"&&(o.returnValue=!1),this.isDefaultPrevented=Dl)},stopPropagation:function(){var o=this.nativeEvent;o&&(o.stopPropagation?o.stopPropagation():typeof o.cancelBubble!="unknown"&&(o.cancelBubble=!0),this.isPropagationStopped=Dl)},persist:function(){},isPersistent:Dl}),a}var ba={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},va=mr(ba),ya=y({},ba,{view:0,detail:0}),Hf=mr(ya),qs,$s,ss,eu=y({},ya,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Qa,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==ss&&(ss&&i.type==="mousemove"?(qs=i.screenX-ss.screenX,$s=i.screenY-ss.screenY):$s=qs=0,ss=i),qs)},movementY:function(i){return"movementY"in i?i.movementY:$s}}),Wf=mr(eu),Gf=y({},eu,{dataTransfer:0}),Uf=mr(Gf),Rh=y({},ya,{relatedTarget:0}),Ml=mr(Rh),Yf=y({},ba,{animationName:0,elapsedTime:0,pseudoElement:0}),tu=mr(Yf),Ph=y({},ba,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),vc=mr(Ph),Xf=y({},ba,{data:0}),Ll=mr(Xf),yc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},nu={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"},Zf={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function us(i){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(i):(i=Zf[i])?!!a[i]:!1}function Qa(){return us}var Ih=y({},ya,{key:function(i){if(i.key){var a=yc[i.key]||i.key;if(a!=="Unidentified")return a}return i.type==="keypress"?(i=Ei(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?nu[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Qa,charCode:function(i){return i.type==="keypress"?Ei(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?Ei(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),zh=mr(Ih),Qn=y({},eu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),To=mr(Qn),Fl=y({},ya,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Qa}),cs=mr(Fl),Kf=y({},ba,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vl=mr(Kf),sr=y({},eu,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),Er=mr(sr),Xr=y({},ba,{newState:0,oldState:0}),fs=mr(Xr),jf=[9,13,27,32],ds=Yr&&"CompositionEvent"in window,qa=null;Yr&&"documentMode"in document&&(qa=document.documentMode);var xc=Yr&&"TextEvent"in window&&!qa,Zr=Yr&&(!ds||qa&&8<qa&&11>=qa),ru=" ",iu=!1;function hs(i,a){switch(i){case"keyup":return jf.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function au(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var xa=!1;function Kr(i,a){switch(i){case"compositionend":return au(a);case"keypress":return a.which!==32?null:(iu=!0,ru);case"textInput":return i=a.data,i===ru&&iu?null:i;default:return null}}function Nh(i,a){if(xa)return i==="compositionend"||!ds&&hs(i,a)?(i=Nl(),zl=Il=ai=null,xa=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return Zr&&a.locale!=="ko"?null:a.data;default:return null}}var gs={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 lu(i){var a=i&&i.nodeName&&i.nodeName.toLowerCase();return a==="input"?!!gs[i.type]:a==="textarea"}function ou(i,a,o,c){Ar?Ja?Ja.push(c):Ja=[c]:Ar=c,a=Am(a,"onChange"),0<a.length&&(o=new va("onChange","change",null,o,c),i.push({event:o,listeners:a}))}var Bl=null,$a=null;function ps(i){hT(i,0)}function Oo(i){var a=Jn(i);if(rs(a))return i}function Sc(i,a){if(i==="change")return a}var su=!1;if(Yr){var el;if(Yr){var Gi="oninput"in document;if(!Gi){var Hl=document.createElement("div");Hl.setAttribute("oninput","return;"),Gi=typeof Hl.oninput=="function"}el=Gi}else el=!1;su=el&&(!document.documentMode||9<document.documentMode)}function tl(){Bl&&(Bl.detachEvent("onpropertychange",_o),$a=Bl=null)}function _o(i){if(i.propertyName==="value"&&Oo($a)){var a=[];ou(a,$a,i,bc(i)),os(ps,a)}}function uu(i,a,o){i==="focusin"?(tl(),Bl=a,$a=o,Bl.attachEvent("onpropertychange",_o)):i==="focusout"&&tl()}function Ac(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return Oo($a)}function ms(i,a){if(i==="click")return Oo(a)}function Wl(i,a){if(i==="input"||i==="change")return Oo(a)}function Dh(i,a){return i===a&&(i!==0||1/i===1/a)||i!==i&&a!==a}var ur=typeof Object.is=="function"?Object.is:Dh;function Ro(i,a){if(ur(i,a))return!0;if(typeof i!="object"||i===null||typeof a!="object"||a===null)return!1;var o=Object.keys(i),c=Object.keys(a);if(o.length!==c.length)return!1;for(c=0;c<o.length;c++){var m=o[c];if(!Ve.call(a,m)||!ur(i[m],a[m]))return!1}return!0}function Sa(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function h(i,a){var o=Sa(i);i=0;for(var c;o;){if(o.nodeType===3){if(c=i+o.textContent.length,i<=a&&c>=a)return{node:o,offset:a-i};i=c}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=Sa(o)}}function v(i,a){return i&&a?i===a?!0:i&&i.nodeType===3?!1:a&&a.nodeType===3?v(i,a.parentNode):"contains"in i?i.contains(a):i.compareDocumentPosition?!!(i.compareDocumentPosition(a)&16):!1:!1}function E(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var a=is(i.document);a instanceof i.HTMLIFrameElement;){try{var o=typeof a.contentWindow.location.href=="string"}catch{o=!1}if(o)i=a.contentWindow;else break;a=is(i.document)}return a}function T(i){var a=i&&i.nodeName&&i.nodeName.toLowerCase();return a&&(a==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||a==="textarea"||i.contentEditable==="true")}var I=Yr&&"documentMode"in document&&11>=document.documentMode,F=null,J=null,ve=null,ie=!1;function he(i,a,o){var c=o.window===o?o.document:o.nodeType===9?o:o.ownerDocument;ie||F==null||F!==is(c)||(c=F,"selectionStart"in c&&T(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),ve&&Ro(ve,c)||(ve=c,c=Am(J,"onSelect"),0<c.length&&(a=new va("onSelect","select",null,a,o),i.push({event:a,listeners:c}),a.target=F)))}function Be(i,a){var o={};return o[i.toLowerCase()]=a.toLowerCase(),o["Webkit"+i]="webkit"+a,o["Moz"+i]="moz"+a,o}var Ne={animationend:Be("Animation","AnimationEnd"),animationiteration:Be("Animation","AnimationIteration"),animationstart:Be("Animation","AnimationStart"),transitionrun:Be("Transition","TransitionRun"),transitionstart:Be("Transition","TransitionStart"),transitioncancel:Be("Transition","TransitionCancel"),transitionend:Be("Transition","TransitionEnd")},Ue={},Qe={};Yr&&(Qe=document.createElement("div").style,"AnimationEvent"in window||(delete Ne.animationend.animation,delete Ne.animationiteration.animation,delete Ne.animationstart.animation),"TransitionEvent"in window||delete Ne.transitionend.transition);function je(i){if(Ue[i])return Ue[i];if(!Ne[i])return i;var a=Ne[i],o;for(o in a)if(a.hasOwnProperty(o)&&o in Qe)return Ue[i]=a[o];return i}var lt=je("animationend"),Ft=je("animationiteration"),Vt=je("animationstart"),Bt=je("transitionrun"),an=je("transitionstart"),Ze=je("transitioncancel"),yn=je("transitionend"),vt=new Map,Pn="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(" ");Pn.push("scrollEnd");function jt(i,a){vt.set(i,a),Cl(a,[i])}var ot=new WeakMap;function Lt(i,a){if(typeof i=="object"&&i!==null){var o=ot.get(i);return o!==void 0?o:(a={value:i,source:a,stack:Lf(a)},ot.set(i,a),a)}return{value:i,source:a,stack:Lf(a)}}var Ln=[],xn=0,wi=0;function br(){for(var i=xn,a=wi=xn=0;a<i;){var o=Ln[a];Ln[a++]=null;var c=Ln[a];Ln[a++]=null;var m=Ln[a];Ln[a++]=null;var x=Ln[a];if(Ln[a++]=null,c!==null&&m!==null){var _=c.pending;_===null?m.next=m:(m.next=_.next,_.next=m),c.pending=m}x!==0&&Ui(o,m,x)}}function In(i,a,o,c){Ln[xn++]=i,Ln[xn++]=a,Ln[xn++]=o,Ln[xn++]=c,wi|=c,i.lanes|=c,i=i.alternate,i!==null&&(i.lanes|=c)}function qn(i,a,o,c){return In(i,a,o,c),Un(i)}function kn(i,a){return In(i,null,null,a),Un(i)}function Ui(i,a,o){i.lanes|=o;var c=i.alternate;c!==null&&(c.lanes|=o);for(var m=!1,x=i.return;x!==null;)x.childLanes|=o,c=x.alternate,c!==null&&(c.childLanes|=o),x.tag===22&&(i=x.stateNode,i===null||i._visibility&1||(m=!0)),i=x,x=x.return;return i.tag===3?(x=i.stateNode,m&&a!==null&&(m=31-Xe(o),i=x.hiddenUpdates,c=i[m],c===null?i[m]=[a]:c.push(a),a.lane=o|536870912),x):null}function Un(i){if(50<sg)throw sg=0,Ay=null,Error(r(185));for(var a=i.return;a!==null;)i=a,a=i.return;return i.tag===3?i.stateNode:null}var Ci={};function Aa(i,a,o,c){this.tag=i,this.key=o,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function zn(i,a,o,c){return new Aa(i,a,o,c)}function Ea(i){return i=i.prototype,!(!i||!i.isReactComponent)}function li(i,a){var o=i.alternate;return o===null?(o=zn(i.tag,a,i.key,i.mode),o.elementType=i.elementType,o.type=i.type,o.stateNode=i.stateNode,o.alternate=i,i.alternate=o):(o.pendingProps=a,o.type=i.type,o.flags=0,o.subtreeFlags=0,o.deletions=null),o.flags=i.flags&65011712,o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,a=i.dependencies,o.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},o.sibling=i.sibling,o.index=i.index,o.ref=i.ref,o.refCleanup=i.refCleanup,o}function bs(i,a){i.flags&=65011714;var o=i.alternate;return o===null?(i.childLanes=0,i.lanes=a,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=o.childLanes,i.lanes=o.lanes,i.child=o.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=o.memoizedProps,i.memoizedState=o.memoizedState,i.updateQueue=o.updateQueue,i.type=o.type,a=o.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),i}function wa(i,a,o,c,m,x){var _=0;if(c=i,typeof i=="function")Ea(i)&&(_=1);else if(typeof i=="string")_=OY(i,o,xe.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case fe:return i=zn(31,o,a,m),i.elementType=fe,i.lanes=x,i;case R:return $n(o.children,m,x,a);case z:_=8,m|=24;break;case B:return i=zn(12,o,a,m|2),i.elementType=B,i.lanes=x,i;case U:return i=zn(13,o,a,m),i.elementType=U,i.lanes=x,i;case K:return i=zn(19,o,a,m),i.elementType=K,i.lanes=x,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case V:case H:_=10;break e;case W:_=9;break e;case te:_=11;break e;case be:_=14;break e;case ge:_=16,c=null;break e}_=29,o=Error(r(130,i===null?"null":typeof i,"")),c=null}return a=zn(_,o,a,m),a.elementType=i,a.type=c,a.lanes=x,a}function $n(i,a,o,c){return i=zn(7,i,c,a),i.lanes=o,i}function cu(i,a,o){return i=zn(6,i,null,a),i.lanes=o,i}function Gl(i,a,o){return a=zn(4,i.children!==null?i.children:[],i.key,a),a.lanes=o,a.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},a}var nl=[],rl=0,vs=null,Ca=0,wr=[],cr=0,ki=null,Fn=1,Ti="";function jr(i,a){nl[rl++]=Ca,nl[rl++]=vs,vs=i,Ca=a}function il(i,a,o){wr[cr++]=Fn,wr[cr++]=Ti,wr[cr++]=ki,ki=i;var c=Fn;i=Ti;var m=32-Xe(c)-1;c&=~(1<<m),o+=1;var x=32-Xe(a)+m;if(30<x){var _=m-m%5;x=(c&(1<<_)-1).toString(32),c>>=_,m-=_,Fn=1<<32-Xe(a)+m|o<<m|c,Ti=x+i}else Fn=1<<x|o<<m|c,Ti=i}function Ul(i){i.return!==null&&(jr(i,1),il(i,1,0))}function Yi(i){for(;i===vs;)vs=nl[--rl],nl[rl]=null,Ca=nl[--rl],nl[rl]=null;for(;i===ki;)ki=wr[--cr],wr[cr]=null,Ti=wr[--cr],wr[cr]=null,Fn=wr[--cr],wr[cr]=null}var Vn=null,Pt=null,St=!1,oi=null,er=!1,Tn=Error(r(519));function Xi(i){var a=Error(r(418,""));throw ui(Lt(a,i)),Tn}function si(i){var a=i.stateNode,o=i.type,c=i.memoizedProps;switch(a[_n]=i,a[Mt]=c,o){case"dialog":Ot("cancel",a),Ot("close",a);break;case"iframe":case"object":case"embed":Ot("load",a);break;case"video":case"audio":for(o=0;o<cg.length;o++)Ot(cg[o],a);break;case"source":Ot("error",a);break;case"img":case"image":case"link":Ot("error",a),Ot("load",a);break;case"details":Ot("toggle",a);break;case"input":Ot("invalid",a),pa(a,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),Ai(a);break;case"select":Ot("invalid",a);break;case"textarea":Ot("invalid",a),as(a,c.value,c.defaultValue,c.children),Ai(a)}o=c.children,typeof o!="string"&&typeof o!="number"&&typeof o!="bigint"||a.textContent===""+o||c.suppressHydrationWarning===!0||bT(a.textContent,o)?(c.popover!=null&&(Ot("beforetoggle",a),Ot("toggle",a)),c.onScroll!=null&&Ot("scroll",a),c.onScrollEnd!=null&&Ot("scrollend",a),c.onClick!=null&&(a.onclick=Em),a=!0):a=!1,a||Xi(i)}function Yl(i){for(Vn=i.return;Vn;)switch(Vn.tag){case 5:case 13:er=!1;return;case 27:case 3:er=!0;return;default:Vn=Vn.return}}function ka(i){if(i!==Vn)return!1;if(!St)return Yl(i),St=!0,!1;var a=i.tag,o;if((o=a!==3&&a!==27)&&((o=a===5)&&(o=i.type,o=!(o!=="form"&&o!=="button")||Fy(i.type,i.memoizedProps)),o=!o),o&&Pt&&Xi(i),Yl(i),a===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));e:{for(i=i.nextSibling,a=0;i;){if(i.nodeType===8)if(o=i.data,o==="/$"){if(a===0){Pt=ao(i.nextSibling);break e}a--}else o!=="$"&&o!=="$!"&&o!=="$?"||a++;i=i.nextSibling}Pt=null}}else a===27?(a=Pt,Ru(i.type)?(i=Wy,Wy=null,Pt=i):Pt=a):Pt=Vn?ao(i.stateNode.nextSibling):null;return!0}function Oi(){Pt=Vn=null,St=!1}function _i(){var i=oi;return i!==null&&(ea===null?ea=i:ea.push.apply(ea,i),oi=null),i}function ui(i){oi===null?oi=[i]:oi.push(i)}var Bn=G(null),vr=null,Ri=null;function Zi(i,a,o){M(Bn,a._currentValue),a._currentValue=o}function Cr(i){i._currentValue=Bn.current,me(Bn)}function ys(i,a,o){for(;i!==null;){var c=i.alternate;if((i.childLanes&a)!==a?(i.childLanes|=a,c!==null&&(c.childLanes|=a)):c!==null&&(c.childLanes&a)!==a&&(c.childLanes|=a),i===o)break;i=i.return}}function On(i,a,o,c){var m=i.child;for(m!==null&&(m.return=i);m!==null;){var x=m.dependencies;if(x!==null){var _=m.child;x=x.firstContext;e:for(;x!==null;){var N=x;x=m;for(var Y=0;Y<a.length;Y++)if(N.context===a[Y]){x.lanes|=o,N=x.alternate,N!==null&&(N.lanes|=o),ys(x.return,o,i),c||(_=null);break e}x=N.next}}else if(m.tag===18){if(_=m.return,_===null)throw Error(r(341));_.lanes|=o,x=_.alternate,x!==null&&(x.lanes|=o),ys(_,o,i),_=null}else _=m.child;if(_!==null)_.return=m;else for(_=m;_!==null;){if(_===i){_=null;break}if(m=_.sibling,m!==null){m.return=_.return,_=m;break}_=_.return}m=_}}function Ki(i,a,o,c){i=null;for(var m=a,x=!1;m!==null;){if(!x){if((m.flags&524288)!==0)x=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var _=m.alternate;if(_===null)throw Error(r(387));if(_=_.memoizedProps,_!==null){var N=m.type;ur(m.pendingProps.value,_.value)||(i!==null?i.push(N):i=[N])}}else if(m===ht.current){if(_=m.alternate,_===null)throw Error(r(387));_.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(i!==null?i.push(mg):i=[mg])}m=m.return}i!==null&&On(a,i,o,c),a.flags|=262144}function ji(i){for(i=i.firstContext;i!==null;){if(!ur(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function kr(i){vr=i,Ri=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function Nn(i){return Tr(vr,i)}function al(i,a){return vr===null&&kr(i),Tr(i,a)}function Tr(i,a){var o=a._currentValue;if(a={context:a,memoizedValue:o,next:null},Ri===null){if(i===null)throw Error(r(308));Ri=a,i.dependencies={lanes:0,firstContext:a},i.flags|=524288}else Ri=Ri.next=a;return o}var Jf=typeof AbortController<"u"?AbortController:function(){var i=[],a=this.signal={aborted:!1,addEventListener:function(o,c){i.push(c)}};this.abort=function(){a.aborted=!0,i.forEach(function(o){return o()})}},Xl=e.unstable_scheduleCallback,Ec=e.unstable_NormalPriority,ln={$$typeof:H,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ll(){return{controller:new Jf,data:new Map,refCount:0}}function Ta(i){i.refCount--,i.refCount===0&&Xl(Ec,function(){i.controller.abort()})}var ci=null,Zl=0,Oa=0,_a=null;function xs(i,a){if(ci===null){var o=ci=[];Zl=0,Oa=_y(),_a={status:"pending",value:void 0,then:function(c){o.push(c)}}}return Zl++,a.then(fi,fi),a}function fi(){if(--Zl===0&&ci!==null){_a!==null&&(_a.status="fulfilled");var i=ci;ci=null,Oa=0,_a=null;for(var a=0;a<i.length;a++)(0,i[a])()}}function Ra(i,a){var o=[],c={status:"pending",value:null,reason:null,then:function(m){o.push(m)}};return i.then(function(){c.status="fulfilled",c.value=a;for(var m=0;m<o.length;m++)(0,o[m])(a)},function(m){for(c.status="rejected",c.reason=m,m=0;m<o.length;m++)(0,o[m])(void 0)}),c}var Kl=D.S;D.S=function(i,a){typeof a=="object"&&a!==null&&typeof a.then=="function"&&xs(i,a),Kl!==null&&Kl(i,a)};var Jr=G(null);function jl(){var i=Jr.current;return i!==null?i:En.pooledCache}function Pa(i,a){a===null?M(Jr,Jr.current):M(Jr,a.pool)}function Po(){var i=jl();return i===null?null:{parent:ln._currentValue,pool:i}}var di=Error(r(460)),Ia=Error(r(474)),Ji=Error(r(542)),za={then:function(){}};function Io(i){return i=i.status,i==="fulfilled"||i==="rejected"}function d(){}function p(i,a,o){switch(o=i[o],o===void 0?i.push(a):o!==a&&(a.then(d,d),a=o),a.status){case"fulfilled":return a.value;case"rejected":throw i=a.reason,P(i),i;default:if(typeof a.status=="string")a.then(d,d);else{if(i=En,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=a,i.status="pending",i.then(function(c){if(a.status==="pending"){var m=a;m.status="fulfilled",m.value=c}},function(c){if(a.status==="pending"){var m=a;m.status="rejected",m.reason=c}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw i=a.reason,P(i),i}throw A=a,di}}var A=null;function O(){if(A===null)throw Error(r(459));var i=A;return A=null,i}function P(i){if(i===di||i===Ji)throw Error(r(483))}var L=!1;function X(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function le(i,a){i=i.updateQueue,a.updateQueue===i&&(a.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function Q(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function re(i,a,o){var c=i.updateQueue;if(c===null)return null;if(c=c.shared,(en&2)!==0){var m=c.pending;return m===null?a.next=a:(a.next=m.next,m.next=a),c.pending=a,a=Un(i),Ui(i,null,o),a}return In(i,c,a,o),Un(i)}function ze(i,a,o){if(a=a.updateQueue,a!==null&&(a=a.shared,(o&4194048)!==0)){var c=a.lanes;c&=i.pendingLanes,o|=c,a.lanes=o,Df(i,o)}}function Se(i,a){var o=i.updateQueue,c=i.alternate;if(c!==null&&(c=c.updateQueue,o===c)){var m=null,x=null;if(o=o.firstBaseUpdate,o!==null){do{var _={lane:o.lane,tag:o.tag,payload:o.payload,callback:null,next:null};x===null?m=x=_:x=x.next=_,o=o.next}while(o!==null);x===null?m=x=a:x=x.next=a}else m=x=a;o={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:x,shared:c.shared,callbacks:c.callbacks},i.updateQueue=o;return}i=o.lastBaseUpdate,i===null?o.firstBaseUpdate=a:i.next=a,o.lastBaseUpdate=a}var We=!1;function Ge(){if(We){var i=_a;if(i!==null)throw i}}function Je(i,a,o,c){We=!1;var m=i.updateQueue;L=!1;var x=m.firstBaseUpdate,_=m.lastBaseUpdate,N=m.shared.pending;if(N!==null){m.shared.pending=null;var Y=N,se=Y.next;Y.next=null,_===null?x=se:_.next=se,_=Y;var Ce=i.alternate;Ce!==null&&(Ce=Ce.updateQueue,N=Ce.lastBaseUpdate,N!==_&&(N===null?Ce.firstBaseUpdate=se:N.next=se,Ce.lastBaseUpdate=Y))}if(x!==null){var _e=m.baseState;_=0,Ce=se=Y=null,N=x;do{var ce=N.lane&-536870913,de=ce!==N.lane;if(de?(Nt&ce)===ce:(c&ce)===ce){ce!==0&&ce===Oa&&(We=!0),Ce!==null&&(Ce=Ce.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var ut=i,rt=N;ce=a;var un=o;switch(rt.tag){case 1:if(ut=rt.payload,typeof ut=="function"){_e=ut.call(un,_e,ce);break e}_e=ut;break e;case 3:ut.flags=ut.flags&-65537|128;case 0:if(ut=rt.payload,ce=typeof ut=="function"?ut.call(un,_e,ce):ut,ce==null)break e;_e=y({},_e,ce);break e;case 2:L=!0}}ce=N.callback,ce!==null&&(i.flags|=64,de&&(i.flags|=8192),de=m.callbacks,de===null?m.callbacks=[ce]:de.push(ce))}else de={lane:ce,tag:N.tag,payload:N.payload,callback:N.callback,next:null},Ce===null?(se=Ce=de,Y=_e):Ce=Ce.next=de,_|=ce;if(N=N.next,N===null){if(N=m.shared.pending,N===null)break;de=N,N=de.next,de.next=null,m.lastBaseUpdate=de,m.shared.pending=null}}while(!0);Ce===null&&(Y=_e),m.baseState=Y,m.firstBaseUpdate=se,m.lastBaseUpdate=Ce,x===null&&(m.shared.lanes=0),ku|=_,i.lanes=_,i.memoizedState=_e}}function st(i,a){if(typeof i!="function")throw Error(r(191,i));i.call(a)}function Xt(i,a){var o=i.callbacks;if(o!==null)for(i.callbacks=null,i=0;i<o.length;i++)st(o[i],a)}var qt=G(null),yt=G(0);function tr(i,a){i=_s,M(yt,i),M(qt,a),_s=i|a.baseLanes}function gn(){M(yt,_s),M(qt,qt.current)}function fr(){_s=yt.current,me(qt),me(yt)}var on=0,nt=null,gt=null,pt=null,Sn=!1,Zt=!1,An=!1,Na=0,hi=0,Qr=null,zo=0;function $t(){throw Error(r(321))}function Qf(i,a){if(a===null)return!1;for(var o=0;o<a.length&&o<i.length;o++)if(!ur(i[o],a[o]))return!1;return!0}function qf(i,a,o,c,m,x){return on=x,nt=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,D.H=i===null||i.memoizedState===null?ws:Qh,An=!1,x=o(c,m),An=!1,Zt&&(x=Lh(a,o,c,m)),Mh(i),x}function Mh(i){D.H=Bc;var a=gt!==null&&gt.next!==null;if(on=0,pt=gt=nt=null,Sn=!1,hi=0,Qr=null,a)throw Error(r(300));i===null||Or||(i=i.dependencies,i!==null&&ji(i)&&(Or=!0))}function Lh(i,a,o,c){nt=i;var m=0;do{if(Zt&&(Qr=null),hi=0,Zt=!1,25<=m)throw Error(r(301));if(m+=1,pt=gt=null,i.updateQueue!=null){var x=i.updateQueue;x.lastEffect=null,x.events=null,x.stores=null,x.memoCache!=null&&(x.memoCache.index=0)}D.H=ud,x=a(o,c)}while(Zt);return x}function Fh(){var i=D.H,a=i.useState()[0];return a=typeof a.then=="function"?Jl(a):a,i=i.useState()[0],(gt!==null?gt.memoizedState:null)!==i&&(nt.flags|=1024),a}function wc(){var i=Na!==0;return Na=0,i}function Cc(i,a,o){a.updateQueue=i.updateQueue,a.flags&=-2053,i.lanes&=~o}function kc(i){if(Sn){for(i=i.memoizedState;i!==null;){var a=i.queue;a!==null&&(a.pending=null),i=i.next}Sn=!1}on=0,pt=gt=nt=null,Zt=!1,hi=Na=0,Qr=null}function dr(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return pt===null?nt.memoizedState=pt=i:pt=pt.next=i,pt}function Ht(){if(gt===null){var i=nt.alternate;i=i!==null?i.memoizedState:null}else i=gt.next;var a=pt===null?nt.memoizedState:pt.next;if(a!==null)pt=a,gt=i;else{if(i===null)throw nt.alternate===null?Error(r(467)):Error(r(310));gt=i,i={memoizedState:gt.memoizedState,baseState:gt.baseState,baseQueue:gt.baseQueue,queue:gt.queue,next:null},pt===null?nt.memoizedState=pt=i:pt=pt.next=i}return pt}function $f(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Jl(i){var a=hi;return hi+=1,Qr===null&&(Qr=[]),i=p(Qr,i,a),a=nt,(pt===null?a.memoizedState:pt.next)===null&&(a=a.alternate,D.H=a===null||a.memoizedState===null?ws:Qh),i}function Tc(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Jl(i);if(i.$$typeof===H)return Nn(i)}throw Error(r(438,String(i)))}function ed(i){var a=null,o=nt.updateQueue;if(o!==null&&(a=o.memoCache),a==null){var c=nt.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(a={data:c.data.map(function(m){return m.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),o===null&&(o=$f(),nt.updateQueue=o),o.memoCache=a,o=a.data[a.index],o===void 0)for(o=a.data[a.index]=Array(i),c=0;c<i;c++)o[c]=Z;return a.index++,o}function ol(i,a){return typeof a=="function"?a(i):a}function Oc(i){var a=Ht();return td(a,gt,i)}function td(i,a,o){var c=i.queue;if(c===null)throw Error(r(311));c.lastRenderedReducer=o;var m=i.baseQueue,x=c.pending;if(x!==null){if(m!==null){var _=m.next;m.next=x.next,x.next=_}a.baseQueue=m=x,c.pending=null}if(x=i.baseState,m===null)i.memoizedState=x;else{a=m.next;var N=_=null,Y=null,se=a,Ce=!1;do{var _e=se.lane&-536870913;if(_e!==se.lane?(Nt&_e)===_e:(on&_e)===_e){var ce=se.revertLane;if(ce===0)Y!==null&&(Y=Y.next={lane:0,revertLane:0,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null}),_e===Oa&&(Ce=!0);else if((on&ce)===ce){se=se.next,ce===Oa&&(Ce=!0);continue}else _e={lane:0,revertLane:se.revertLane,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null},Y===null?(N=Y=_e,_=x):Y=Y.next=_e,nt.lanes|=ce,ku|=ce;_e=se.action,An&&o(x,_e),x=se.hasEagerState?se.eagerState:o(x,_e)}else ce={lane:_e,revertLane:se.revertLane,action:se.action,hasEagerState:se.hasEagerState,eagerState:se.eagerState,next:null},Y===null?(N=Y=ce,_=x):Y=Y.next=ce,nt.lanes|=_e,ku|=_e;se=se.next}while(se!==null&&se!==a);if(Y===null?_=x:Y.next=N,!ur(x,i.memoizedState)&&(Or=!0,Ce&&(o=_a,o!==null)))throw o;i.memoizedState=x,i.baseState=_,i.baseQueue=Y,c.lastRenderedState=x}return m===null&&(c.lanes=0),[i.memoizedState,c.dispatch]}function nd(i){var a=Ht(),o=a.queue;if(o===null)throw Error(r(311));o.lastRenderedReducer=i;var c=o.dispatch,m=o.pending,x=a.memoizedState;if(m!==null){o.pending=null;var _=m=m.next;do x=i(x,_.action),_=_.next;while(_!==m);ur(x,a.memoizedState)||(Or=!0),a.memoizedState=x,a.baseQueue===null&&(a.baseState=x),o.lastRenderedState=x}return[x,c]}function fu(i,a,o){var c=nt,m=Ht(),x=St;if(x){if(o===void 0)throw Error(r(407));o=o()}else o=a();var _=!ur((gt||m).memoizedState,o);_&&(m.memoizedState=o,Or=!0),m=m.queue;var N=Bh.bind(null,c,m,i);if(Ss(2048,8,N,[i]),m.getSnapshot!==a||_||pt!==null&&pt.memoizedState.tag&1){if(c.flags|=2048,ul(9,Do(),Vh.bind(null,c,m,o,a),null),En===null)throw Error(r(349));x||(on&124)!==0||sl(c,a,o)}return o}function sl(i,a,o){i.flags|=16384,i={getSnapshot:a,value:o},a=nt.updateQueue,a===null?(a=$f(),nt.updateQueue=a,a.stores=[i]):(o=a.stores,o===null?a.stores=[i]:o.push(i))}function Vh(i,a,o,c){a.value=o,a.getSnapshot=c,du(a)&&Hh(i)}function Bh(i,a,o){return o(function(){du(a)&&Hh(i)})}function du(i){var a=i.getSnapshot;i=i.value;try{var o=a();return!ur(i,o)}catch{return!0}}function Hh(i){var a=kn(i,2);a!==null&&Ha(a,i,2)}function Ql(i){var a=dr();if(typeof i=="function"){var o=i;if(i=o(),An){Ke(!0);try{o()}finally{Ke(!1)}}}return a.memoizedState=a.baseState=i,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:i},a}function hu(i,a,o,c){return i.baseState=o,td(i,gt,typeof c=="function"?c:ol)}function _c(i,a,o,c,m){if(Mo(i))throw Error(r(485));if(i=a.action,i!==null){var x={payload:m,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(_){x.listeners.push(_)}};D.T!==null?o(!0):x.isTransition=!1,c(x),o=a.pending,o===null?(x.next=a.pending=x,gu(a,x)):(x.next=o.next,a.pending=o.next=x)}}function gu(i,a){var o=a.action,c=a.payload,m=i.state;if(a.isTransition){var x=D.T,_={};D.T=_;try{var N=o(m,c),Y=D.S;Y!==null&&Y(_,N),pu(i,a,N)}catch(se){Rc(i,a,se)}finally{D.T=x}}else try{x=o(m,c),pu(i,a,x)}catch(se){Rc(i,a,se)}}function pu(i,a,o){o!==null&&typeof o=="object"&&typeof o.then=="function"?o.then(function(c){ql(i,a,c)},function(c){return Rc(i,a,c)}):ql(i,a,o)}function ql(i,a,o){a.status="fulfilled",a.value=o,rd(a),i.state=o,a=i.pending,a!==null&&(o=a.next,o===a?i.pending=null:(o=o.next,a.next=o,gu(i,o)))}function Rc(i,a,o){var c=i.pending;if(i.pending=null,c!==null){c=c.next;do a.status="rejected",a.reason=o,rd(a),a=a.next;while(a!==c)}i.action=null}function rd(i){i=i.listeners;for(var a=0;a<i.length;a++)(0,i[a])()}function No(i,a){return a}function Wh(i,a){if(St){var o=En.formState;if(o!==null){e:{var c=nt;if(St){if(Pt){t:{for(var m=Pt,x=er;m.nodeType!==8;){if(!x){m=null;break t}if(m=ao(m.nextSibling),m===null){m=null;break t}}x=m.data,m=x==="F!"||x==="F"?m:null}if(m){Pt=ao(m.nextSibling),c=m.data==="F!";break e}}Xi(c)}c=!1}c&&(a=o[0])}}return o=dr(),o.memoizedState=o.baseState=a,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:No,lastRenderedState:a},o.queue=c,o=jh.bind(null,nt,c),c.dispatch=o,c=Ql(!1),x=yu.bind(null,nt,!1,c.queue),c=dr(),m={state:a,dispatch:null,action:i,pending:null},c.queue=m,o=_c.bind(null,nt,m,x,o),m.dispatch=o,c.memoizedState=i,[a,o,!1]}function Pc(i){var a=Ht();return Gh(a,gt,i)}function Gh(i,a,o){if(a=td(i,a,No)[0],i=Oc(ol)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var c=Jl(a)}catch(_){throw _===di?Ji:_}else c=a;a=Ht();var m=a.queue,x=m.dispatch;return o!==a.memoizedState&&(nt.flags|=2048,ul(9,Do(),Ic.bind(null,m,o),null)),[c,x,i]}function Ic(i,a){i.action=a}function Uh(i){var a=Ht(),o=gt;if(o!==null)return Gh(a,o,i);Ht(),a=a.memoizedState,o=Ht();var c=o.queue.dispatch;return o.memoizedState=i,[a,c,!1]}function ul(i,a,o,c){return i={tag:i,create:o,deps:c,inst:a,next:null},a=nt.updateQueue,a===null&&(a=$f(),nt.updateQueue=a),o=a.lastEffect,o===null?a.lastEffect=i.next=i:(c=o.next,o.next=i,i.next=c,a.lastEffect=i),i}function Do(){return{destroy:void 0,resource:void 0}}function Yh(){return Ht().memoizedState}function zc(i,a,o,c){var m=dr();c=c===void 0?null:c,nt.flags|=i,m.memoizedState=ul(1|a,Do(),o,c)}function Ss(i,a,o,c){var m=Ht();c=c===void 0?null:c;var x=m.memoizedState.inst;gt!==null&&c!==null&&Qf(c,gt.memoizedState.deps)?m.memoizedState=ul(a,x,o,c):(nt.flags|=i,m.memoizedState=ul(1|a,x,o,c))}function sm(i,a){zc(8390656,8,i,a)}function $l(i,a){Ss(2048,8,i,a)}function Nc(i,a){return Ss(4,2,i,a)}function mu(i,a){return Ss(4,4,i,a)}function As(i,a){if(typeof a=="function"){i=i();var o=a(i);return function(){typeof o=="function"?o():a(null)}}if(a!=null)return i=i(),a.current=i,function(){a.current=null}}function Dc(i,a,o){o=o!=null?o.concat([i]):null,Ss(4,4,As.bind(null,a,i),o)}function bu(){}function id(i,a){var o=Ht();a=a===void 0?null:a;var c=o.memoizedState;return a!==null&&Qf(a,c[1])?c[0]:(o.memoizedState=[i,a],i)}function Xh(i,a){var o=Ht();a=a===void 0?null:a;var c=o.memoizedState;if(a!==null&&Qf(a,c[1]))return c[0];if(c=i(),An){Ke(!0);try{i()}finally{Ke(!1)}}return o.memoizedState=[c,a],c}function Mc(i,a,o){return o===void 0||(on&1073741824)!==0?i.memoizedState=a:(i.memoizedState=o,i=Uk(),nt.lanes|=i,ku|=i,o)}function Zh(i,a,o,c){return ur(o,a)?o:qt.current!==null?(i=Mc(i,o,c),ur(i,a)||(Or=!0),i):(on&42)===0?(Or=!0,i.memoizedState=o):(i=Uk(),nt.lanes|=i,ku|=i,a)}function Lc(i,a,o,c,m){var x=j.p;j.p=x!==0&&8>x?x:8;var _=D.T,N={};D.T=N,yu(i,!1,a,o);try{var Y=m(),se=D.S;if(se!==null&&se(N,Y),Y!==null&&typeof Y=="object"&&typeof Y.then=="function"){var Ce=Ra(Y,c);eo(i,a,Ce,Ba(i))}else eo(i,a,c,Ba(i))}catch(_e){eo(i,a,{then:function(){},status:"rejected",reason:_e},Ba())}finally{j.p=x,D.T=_}}function ad(){}function ld(i,a,o,c){if(i.tag!==5)throw Error(r(476));var m=Fc(i).queue;Lc(i,m,a,we,o===null?ad:function(){return od(i),o(c)})}function Fc(i){var a=i.memoizedState;if(a!==null)return a;a={memoizedState:we,baseState:we,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:we},next:null};var o={};return a.next={memoizedState:o,baseState:o,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ol,lastRenderedState:o},next:null},i.memoizedState=a,i=i.alternate,i!==null&&(i.memoizedState=a),a}function od(i){var a=Fc(i).next.queue;eo(i,a,{},Ba())}function sd(){return Nn(mg)}function Kh(){return Ht().memoizedState}function Vc(){return Ht().memoizedState}function Es(i){for(var a=i.return;a!==null;){switch(a.tag){case 24:case 3:var o=Ba();i=Q(o);var c=re(a,i,o);c!==null&&(Ha(c,a,o),ze(c,a,o)),a={cache:ll()},i.payload=a;return}a=a.return}}function vu(i,a,o){var c=Ba();o={lane:c,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null},Mo(i)?Jh(a,o):(o=qn(i,a,o,c),o!==null&&(Ha(o,i,c),Lo(o,a,c)))}function jh(i,a,o){var c=Ba();eo(i,a,o,c)}function eo(i,a,o,c){var m={lane:c,revertLane:0,action:o,hasEagerState:!1,eagerState:null,next:null};if(Mo(i))Jh(a,m);else{var x=i.alternate;if(i.lanes===0&&(x===null||x.lanes===0)&&(x=a.lastRenderedReducer,x!==null))try{var _=a.lastRenderedState,N=x(_,o);if(m.hasEagerState=!0,m.eagerState=N,ur(N,_))return In(i,a,m,0),En===null&&br(),!1}catch{}finally{}if(o=qn(i,a,m,c),o!==null)return Ha(o,i,c),Lo(o,a,c),!0}return!1}function yu(i,a,o,c){if(c={lane:2,revertLane:_y(),action:c,hasEagerState:!1,eagerState:null,next:null},Mo(i)){if(a)throw Error(r(479))}else a=qn(i,o,c,2),a!==null&&Ha(a,i,2)}function Mo(i){var a=i.alternate;return i===nt||a!==null&&a===nt}function Jh(i,a){Zt=Sn=!0;var o=i.pending;o===null?a.next=a:(a.next=o.next,o.next=a),i.pending=a}function Lo(i,a,o){if((o&4194048)!==0){var c=a.lanes;c&=i.pendingLanes,o|=c,a.lanes=o,Df(i,o)}}var Bc={readContext:Nn,use:Tc,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t},ws={readContext:Nn,use:Tc,useCallback:function(i,a){return dr().memoizedState=[i,a===void 0?null:a],i},useContext:Nn,useEffect:sm,useImperativeHandle:function(i,a,o){o=o!=null?o.concat([i]):null,zc(4194308,4,As.bind(null,a,i),o)},useLayoutEffect:function(i,a){return zc(4194308,4,i,a)},useInsertionEffect:function(i,a){zc(4,2,i,a)},useMemo:function(i,a){var o=dr();a=a===void 0?null:a;var c=i();if(An){Ke(!0);try{i()}finally{Ke(!1)}}return o.memoizedState=[c,a],c},useReducer:function(i,a,o){var c=dr();if(o!==void 0){var m=o(a);if(An){Ke(!0);try{o(a)}finally{Ke(!1)}}}else m=a;return c.memoizedState=c.baseState=m,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:m},c.queue=i,i=i.dispatch=vu.bind(null,nt,i),[c.memoizedState,i]},useRef:function(i){var a=dr();return i={current:i},a.memoizedState=i},useState:function(i){i=Ql(i);var a=i.queue,o=jh.bind(null,nt,a);return a.dispatch=o,[i.memoizedState,o]},useDebugValue:bu,useDeferredValue:function(i,a){var o=dr();return Mc(o,i,a)},useTransition:function(){var i=Ql(!1);return i=Lc.bind(null,nt,i.queue,!0,!1),dr().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,a,o){var c=nt,m=dr();if(St){if(o===void 0)throw Error(r(407));o=o()}else{if(o=a(),En===null)throw Error(r(349));(Nt&124)!==0||sl(c,a,o)}m.memoizedState=o;var x={value:o,getSnapshot:a};return m.queue=x,sm(Bh.bind(null,c,x,i),[i]),c.flags|=2048,ul(9,Do(),Vh.bind(null,c,x,o,a),null),o},useId:function(){var i=dr(),a=En.identifierPrefix;if(St){var o=Ti,c=Fn;o=(c&~(1<<32-Xe(c)-1)).toString(32)+o,a="«"+a+"R"+o,o=Na++,0<o&&(a+="H"+o.toString(32)),a+="»"}else o=zo++,a="«"+a+"r"+o.toString(32)+"»";return i.memoizedState=a},useHostTransitionStatus:sd,useFormState:Wh,useActionState:Wh,useOptimistic:function(i){var a=dr();a.memoizedState=a.baseState=i;var o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=o,a=yu.bind(null,nt,!0,o),o.dispatch=a,[i,a]},useMemoCache:ed,useCacheRefresh:function(){return dr().memoizedState=Es.bind(null,nt)}},Qh={readContext:Nn,use:Tc,useCallback:id,useContext:Nn,useEffect:$l,useImperativeHandle:Dc,useInsertionEffect:Nc,useLayoutEffect:mu,useMemo:Xh,useReducer:Oc,useRef:Yh,useState:function(){return Oc(ol)},useDebugValue:bu,useDeferredValue:function(i,a){var o=Ht();return Zh(o,gt.memoizedState,i,a)},useTransition:function(){var i=Oc(ol)[0],a=Ht().memoizedState;return[typeof i=="boolean"?i:Jl(i),a]},useSyncExternalStore:fu,useId:Kh,useHostTransitionStatus:sd,useFormState:Pc,useActionState:Pc,useOptimistic:function(i,a){var o=Ht();return hu(o,gt,i,a)},useMemoCache:ed,useCacheRefresh:Vc},ud={readContext:Nn,use:Tc,useCallback:id,useContext:Nn,useEffect:$l,useImperativeHandle:Dc,useInsertionEffect:Nc,useLayoutEffect:mu,useMemo:Xh,useReducer:nd,useRef:Yh,useState:function(){return nd(ol)},useDebugValue:bu,useDeferredValue:function(i,a){var o=Ht();return gt===null?Mc(o,i,a):Zh(o,gt.memoizedState,i,a)},useTransition:function(){var i=nd(ol)[0],a=Ht().memoizedState;return[typeof i=="boolean"?i:Jl(i),a]},useSyncExternalStore:fu,useId:Kh,useHostTransitionStatus:sd,useFormState:Uh,useActionState:Uh,useOptimistic:function(i,a){var o=Ht();return gt!==null?hu(o,gt,i,a):(o.baseState=i,[i,o.queue.dispatch])},useMemoCache:ed,useCacheRefresh:Vc},Fo=null,to=0;function Hc(i){var a=to;return to+=1,Fo===null&&(Fo=[]),p(Fo,i,a)}function no(i,a){a=a.props.ref,i.ref=a!==void 0?a:null}function Vo(i,a){throw a.$$typeof===S?Error(r(525)):(i=Object.prototype.toString.call(a),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":i)))}function xu(i){var a=i._init;return a(i._payload)}function Wc(i){function a(ne,q){if(i){var ae=ne.deletions;ae===null?(ne.deletions=[q],ne.flags|=16):ae.push(q)}}function o(ne,q){if(!i)return null;for(;q!==null;)a(ne,q),q=q.sibling;return null}function c(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 m(ne,q){return ne=li(ne,q),ne.index=0,ne.sibling=null,ne}function x(ne,q,ae){return ne.index=ae,i?(ae=ne.alternate,ae!==null?(ae=ae.index,ae<q?(ne.flags|=67108866,q):ae):(ne.flags|=67108866,q)):(ne.flags|=1048576,q)}function _(ne){return i&&ne.alternate===null&&(ne.flags|=67108866),ne}function N(ne,q,ae,Te){return q===null||q.tag!==6?(q=cu(ae,ne.mode,Te),q.return=ne,q):(q=m(q,ae),q.return=ne,q)}function Y(ne,q,ae,Te){var Ye=ae.type;return Ye===R?Ce(ne,q,ae.props.children,Te,ae.key):q!==null&&(q.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===ge&&xu(Ye)===q.type)?(q=m(q,ae.props),no(q,ae),q.return=ne,q):(q=wa(ae.type,ae.key,ae.props,null,ne.mode,Te),no(q,ae),q.return=ne,q)}function se(ne,q,ae,Te){return q===null||q.tag!==4||q.stateNode.containerInfo!==ae.containerInfo||q.stateNode.implementation!==ae.implementation?(q=Gl(ae,ne.mode,Te),q.return=ne,q):(q=m(q,ae.children||[]),q.return=ne,q)}function Ce(ne,q,ae,Te,Ye){return q===null||q.tag!==7?(q=$n(ae,ne.mode,Te,Ye),q.return=ne,q):(q=m(q,ae),q.return=ne,q)}function _e(ne,q,ae){if(typeof q=="string"&&q!==""||typeof q=="number"||typeof q=="bigint")return q=cu(""+q,ne.mode,ae),q.return=ne,q;if(typeof q=="object"&&q!==null){switch(q.$$typeof){case w:return ae=wa(q.type,q.key,q.props,null,ne.mode,ae),no(ae,q),ae.return=ne,ae;case C:return q=Gl(q,ne.mode,ae),q.return=ne,q;case ge:var Te=q._init;return q=Te(q._payload),_e(ne,q,ae)}if(oe(q)||ue(q))return q=$n(q,ne.mode,ae,null),q.return=ne,q;if(typeof q.then=="function")return _e(ne,Hc(q),ae);if(q.$$typeof===H)return _e(ne,al(ne,q),ae);Vo(ne,q)}return null}function ce(ne,q,ae,Te){var Ye=q!==null?q.key:null;if(typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint")return Ye!==null?null:N(ne,q,""+ae,Te);if(typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:return ae.key===Ye?Y(ne,q,ae,Te):null;case C:return ae.key===Ye?se(ne,q,ae,Te):null;case ge:return Ye=ae._init,ae=Ye(ae._payload),ce(ne,q,ae,Te)}if(oe(ae)||ue(ae))return Ye!==null?null:Ce(ne,q,ae,Te,null);if(typeof ae.then=="function")return ce(ne,q,Hc(ae),Te);if(ae.$$typeof===H)return ce(ne,q,al(ne,ae),Te);Vo(ne,ae)}return null}function de(ne,q,ae,Te,Ye){if(typeof Te=="string"&&Te!==""||typeof Te=="number"||typeof Te=="bigint")return ne=ne.get(ae)||null,N(q,ne,""+Te,Ye);if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case w:return ne=ne.get(Te.key===null?ae:Te.key)||null,Y(q,ne,Te,Ye);case C:return ne=ne.get(Te.key===null?ae:Te.key)||null,se(q,ne,Te,Ye);case ge:var Et=Te._init;return Te=Et(Te._payload),de(ne,q,ae,Te,Ye)}if(oe(Te)||ue(Te))return ne=ne.get(ae)||null,Ce(q,ne,Te,Ye,null);if(typeof Te.then=="function")return de(ne,q,ae,Hc(Te),Ye);if(Te.$$typeof===H)return de(ne,q,ae,al(q,Te),Ye);Vo(q,Te)}return null}function ut(ne,q,ae,Te){for(var Ye=null,Et=null,qe=q,at=q=0,Rr=null;qe!==null&&at<ae.length;at++){qe.index>at?(Rr=qe,qe=null):Rr=qe.sibling;var Wt=ce(ne,qe,ae[at],Te);if(Wt===null){qe===null&&(qe=Rr);break}i&&qe&&Wt.alternate===null&&a(ne,qe),q=x(Wt,q,at),Et===null?Ye=Wt:Et.sibling=Wt,Et=Wt,qe=Rr}if(at===ae.length)return o(ne,qe),St&&jr(ne,at),Ye;if(qe===null){for(;at<ae.length;at++)qe=_e(ne,ae[at],Te),qe!==null&&(q=x(qe,q,at),Et===null?Ye=qe:Et.sibling=qe,Et=qe);return St&&jr(ne,at),Ye}for(qe=c(qe);at<ae.length;at++)Rr=de(qe,ne,at,ae[at],Te),Rr!==null&&(i&&Rr.alternate!==null&&qe.delete(Rr.key===null?at:Rr.key),q=x(Rr,q,at),Et===null?Ye=Rr:Et.sibling=Rr,Et=Rr);return i&&qe.forEach(function(Du){return a(ne,Du)}),St&&jr(ne,at),Ye}function rt(ne,q,ae,Te){if(ae==null)throw Error(r(151));for(var Ye=null,Et=null,qe=q,at=q=0,Rr=null,Wt=ae.next();qe!==null&&!Wt.done;at++,Wt=ae.next()){qe.index>at?(Rr=qe,qe=null):Rr=qe.sibling;var Du=ce(ne,qe,Wt.value,Te);if(Du===null){qe===null&&(qe=Rr);break}i&&qe&&Du.alternate===null&&a(ne,qe),q=x(Du,q,at),Et===null?Ye=Du:Et.sibling=Du,Et=Du,qe=Rr}if(Wt.done)return o(ne,qe),St&&jr(ne,at),Ye;if(qe===null){for(;!Wt.done;at++,Wt=ae.next())Wt=_e(ne,Wt.value,Te),Wt!==null&&(q=x(Wt,q,at),Et===null?Ye=Wt:Et.sibling=Wt,Et=Wt);return St&&jr(ne,at),Ye}for(qe=c(qe);!Wt.done;at++,Wt=ae.next())Wt=de(qe,ne,at,Wt.value,Te),Wt!==null&&(i&&Wt.alternate!==null&&qe.delete(Wt.key===null?at:Wt.key),q=x(Wt,q,at),Et===null?Ye=Wt:Et.sibling=Wt,Et=Wt);return i&&qe.forEach(function(BY){return a(ne,BY)}),St&&jr(ne,at),Ye}function un(ne,q,ae,Te){if(typeof ae=="object"&&ae!==null&&ae.type===R&&ae.key===null&&(ae=ae.props.children),typeof ae=="object"&&ae!==null){switch(ae.$$typeof){case w:e:{for(var Ye=ae.key;q!==null;){if(q.key===Ye){if(Ye=ae.type,Ye===R){if(q.tag===7){o(ne,q.sibling),Te=m(q,ae.props.children),Te.return=ne,ne=Te;break e}}else if(q.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===ge&&xu(Ye)===q.type){o(ne,q.sibling),Te=m(q,ae.props),no(Te,ae),Te.return=ne,ne=Te;break e}o(ne,q);break}else a(ne,q);q=q.sibling}ae.type===R?(Te=$n(ae.props.children,ne.mode,Te,ae.key),Te.return=ne,ne=Te):(Te=wa(ae.type,ae.key,ae.props,null,ne.mode,Te),no(Te,ae),Te.return=ne,ne=Te)}return _(ne);case C:e:{for(Ye=ae.key;q!==null;){if(q.key===Ye)if(q.tag===4&&q.stateNode.containerInfo===ae.containerInfo&&q.stateNode.implementation===ae.implementation){o(ne,q.sibling),Te=m(q,ae.children||[]),Te.return=ne,ne=Te;break e}else{o(ne,q);break}else a(ne,q);q=q.sibling}Te=Gl(ae,ne.mode,Te),Te.return=ne,ne=Te}return _(ne);case ge:return Ye=ae._init,ae=Ye(ae._payload),un(ne,q,ae,Te)}if(oe(ae))return ut(ne,q,ae,Te);if(ue(ae)){if(Ye=ue(ae),typeof Ye!="function")throw Error(r(150));return ae=Ye.call(ae),rt(ne,q,ae,Te)}if(typeof ae.then=="function")return un(ne,q,Hc(ae),Te);if(ae.$$typeof===H)return un(ne,q,al(ne,ae),Te);Vo(ne,ae)}return typeof ae=="string"&&ae!==""||typeof ae=="number"||typeof ae=="bigint"?(ae=""+ae,q!==null&&q.tag===6?(o(ne,q.sibling),Te=m(q,ae),Te.return=ne,ne=Te):(o(ne,q),Te=cu(ae,ne.mode,Te),Te.return=ne,ne=Te),_(ne)):o(ne,q)}return function(ne,q,ae,Te){try{to=0;var Ye=un(ne,q,ae,Te);return Fo=null,Ye}catch(qe){if(qe===di||qe===Ji)throw qe;var Et=zn(29,qe,null,ne.mode);return Et.lanes=Te,Et.return=ne,Et}finally{}}}var Qi=Wc(!0),yr=Wc(!1),Jt=G(null),Da=null;function Pi(i){var a=i.alternate;M(Yn,Yn.current&1),M(Jt,i),Da===null&&(a===null||qt.current!==null||a.memoizedState!==null)&&(Da=i)}function cd(i){if(i.tag===22){if(M(Yn,Yn.current),M(Jt,i),Da===null){var a=i.alternate;a!==null&&a.memoizedState!==null&&(Da=i)}}else gi()}function gi(){M(Yn,Yn.current),M(Jt,Jt.current)}function Ma(i){me(Jt),Da===i&&(Da=null),me(Yn)}var Yn=G(0);function cl(i){for(var a=i;a!==null;){if(a.tag===13){var o=a.memoizedState;if(o!==null&&(o=o.dehydrated,o===null||o.data==="$?"||Hy(o)))return a}else if(a.tag===19&&a.memoizedProps.revealOrder!==void 0){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}function Gc(i,a,o,c){a=i.memoizedState,o=o(c,a),o=o==null?a:y({},a,o),i.memoizedState=o,i.lanes===0&&(i.updateQueue.baseState=o)}var Uc={enqueueSetState:function(i,a,o){i=i._reactInternals;var c=Ba(),m=Q(c);m.payload=a,o!=null&&(m.callback=o),a=re(i,m,c),a!==null&&(Ha(a,i,c),ze(a,i,c))},enqueueReplaceState:function(i,a,o){i=i._reactInternals;var c=Ba(),m=Q(c);m.tag=1,m.payload=a,o!=null&&(m.callback=o),a=re(i,m,c),a!==null&&(Ha(a,i,c),ze(a,i,c))},enqueueForceUpdate:function(i,a){i=i._reactInternals;var o=Ba(),c=Q(o);c.tag=2,a!=null&&(c.callback=a),a=re(i,c,o),a!==null&&(Ha(a,i,o),ze(a,i,o))}};function qh(i,a,o,c,m,x,_){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(c,x,_):a.prototype&&a.prototype.isPureReactComponent?!Ro(o,c)||!Ro(m,x):!0}function fd(i,a,o,c){i=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(o,c),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(o,c),a.state!==i&&Uc.enqueueReplaceState(a,a.state,null)}function Bo(i,a){var o=a;if("ref"in a){o={};for(var c in a)c!=="ref"&&(o[c]=a[c])}if(i=i.defaultProps){o===a&&(o=y({},o));for(var m in i)o[m]===void 0&&(o[m]=i[m])}return o}var Su=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)};function $h(i){Su(i)}function dd(i){console.error(i)}function eg(i){Su(i)}function ro(i,a){try{var o=i.onUncaughtError;o(a.value,{componentStack:a.stack})}catch(c){setTimeout(function(){throw c})}}function qi(i,a,o){try{var c=i.onCaughtError;c(o.value,{componentStack:o.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function hd(i,a,o){return o=Q(o),o.tag=3,o.payload={element:null},o.callback=function(){ro(i,a)},o}function uk(i){return i=Q(i),i.tag=3,i}function ck(i,a,o,c){var m=o.type.getDerivedStateFromError;if(typeof m=="function"){var x=c.value;i.payload=function(){return m(x)},i.callback=function(){qi(a,o,c)}}var _=o.stateNode;_!==null&&typeof _.componentDidCatch=="function"&&(i.callback=function(){qi(a,o,c),typeof m!="function"&&(Tu===null?Tu=new Set([this]):Tu.add(this));var N=c.stack;this.componentDidCatch(c.value,{componentStack:N!==null?N:""})})}function BU(i,a,o,c,m){if(o.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(a=o.alternate,a!==null&&Ki(a,o,m,!0),o=Jt.current,o!==null){switch(o.tag){case 13:return Da===null?wy():o.alternate===null&&Xn===0&&(Xn=3),o.flags&=-257,o.flags|=65536,o.lanes=m,c===za?o.flags|=16384:(a=o.updateQueue,a===null?o.updateQueue=new Set([c]):a.add(c),ky(i,c,m)),!1;case 22:return o.flags|=65536,c===za?o.flags|=16384:(a=o.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([c])},o.updateQueue=a):(o=a.retryQueue,o===null?a.retryQueue=new Set([c]):o.add(c)),ky(i,c,m)),!1}throw Error(r(435,o.tag))}return ky(i,c,m),wy(),!1}if(St)return a=Jt.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=m,c!==Tn&&(i=Error(r(422),{cause:c}),ui(Lt(i,o)))):(c!==Tn&&(a=Error(r(423),{cause:c}),ui(Lt(a,o))),i=i.current.alternate,i.flags|=65536,m&=-m,i.lanes|=m,c=Lt(c,o),m=hd(i.stateNode,c,m),Se(i,m),Xn!==4&&(Xn=2)),!1;var x=Error(r(520),{cause:c});if(x=Lt(x,o),og===null?og=[x]:og.push(x),Xn!==4&&(Xn=2),a===null)return!0;c=Lt(c,o),o=a;do{switch(o.tag){case 3:return o.flags|=65536,i=m&-m,o.lanes|=i,i=hd(o.stateNode,c,i),Se(o,i),!1;case 1:if(a=o.type,x=o.stateNode,(o.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||x!==null&&typeof x.componentDidCatch=="function"&&(Tu===null||!Tu.has(x))))return o.flags|=65536,m&=-m,o.lanes|=m,m=uk(m),ck(m,i,o,c),Se(o,m),!1}o=o.return}while(o!==null);return!1}var fk=Error(r(461)),Or=!1;function qr(i,a,o,c){a.child=i===null?yr(a,null,o,c):Qi(a,i.child,o,c)}function dk(i,a,o,c,m){o=o.render;var x=a.ref;if("ref"in c){var _={};for(var N in c)N!=="ref"&&(_[N]=c[N])}else _=c;return kr(a),c=qf(i,a,o,_,x,m),N=wc(),i!==null&&!Or?(Cc(i,a,m),Cs(i,a,m)):(St&&N&&Ul(a),a.flags|=1,qr(i,a,c,m),a.child)}function hk(i,a,o,c,m){if(i===null){var x=o.type;return typeof x=="function"&&!Ea(x)&&x.defaultProps===void 0&&o.compare===null?(a.tag=15,a.type=x,gk(i,a,x,c,m)):(i=wa(o.type,null,c,a,a.mode,m),i.ref=a.ref,i.return=a,a.child=i)}if(x=i.child,!sy(i,m)){var _=x.memoizedProps;if(o=o.compare,o=o!==null?o:Ro,o(_,c)&&i.ref===a.ref)return Cs(i,a,m)}return a.flags|=1,i=li(x,c),i.ref=a.ref,i.return=a,a.child=i}function gk(i,a,o,c,m){if(i!==null){var x=i.memoizedProps;if(Ro(x,c)&&i.ref===a.ref)if(Or=!1,a.pendingProps=c=x,sy(i,m))(i.flags&131072)!==0&&(Or=!0);else return a.lanes=i.lanes,Cs(i,a,m)}return ty(i,a,o,c,m)}function pk(i,a,o){var c=a.pendingProps,m=c.children,x=i!==null?i.memoizedState:null;if(c.mode==="hidden"){if((a.flags&128)!==0){if(c=x!==null?x.baseLanes|o:o,i!==null){for(m=a.child=i.child,x=0;m!==null;)x=x|m.lanes|m.childLanes,m=m.sibling;a.childLanes=x&~c}else a.childLanes=0,a.child=null;return mk(i,a,c,o)}if((o&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},i!==null&&Pa(a,x!==null?x.cachePool:null),x!==null?tr(a,x):gn(),cd(a);else return a.lanes=a.childLanes=536870912,mk(i,a,x!==null?x.baseLanes|o:o,o)}else x!==null?(Pa(a,x.cachePool),tr(a,x),gi(),a.memoizedState=null):(i!==null&&Pa(a,null),gn(),gi());return qr(i,a,m,o),a.child}function mk(i,a,o,c){var m=jl();return m=m===null?null:{parent:ln._currentValue,pool:m},a.memoizedState={baseLanes:o,cachePool:m},i!==null&&Pa(a,null),gn(),cd(a),i!==null&&Ki(i,a,c,!0),null}function um(i,a){var o=a.ref;if(o===null)i!==null&&i.ref!==null&&(a.flags|=4194816);else{if(typeof o!="function"&&typeof o!="object")throw Error(r(284));(i===null||i.ref!==o)&&(a.flags|=4194816)}}function ty(i,a,o,c,m){return kr(a),o=qf(i,a,o,c,void 0,m),c=wc(),i!==null&&!Or?(Cc(i,a,m),Cs(i,a,m)):(St&&c&&Ul(a),a.flags|=1,qr(i,a,o,m),a.child)}function bk(i,a,o,c,m,x){return kr(a),a.updateQueue=null,o=Lh(a,c,o,m),Mh(i),c=wc(),i!==null&&!Or?(Cc(i,a,x),Cs(i,a,x)):(St&&c&&Ul(a),a.flags|=1,qr(i,a,o,x),a.child)}function vk(i,a,o,c,m){if(kr(a),a.stateNode===null){var x=Ci,_=o.contextType;typeof _=="object"&&_!==null&&(x=Nn(_)),x=new o(c,x),a.memoizedState=x.state!==null&&x.state!==void 0?x.state:null,x.updater=Uc,a.stateNode=x,x._reactInternals=a,x=a.stateNode,x.props=c,x.state=a.memoizedState,x.refs={},X(a),_=o.contextType,x.context=typeof _=="object"&&_!==null?Nn(_):Ci,x.state=a.memoizedState,_=o.getDerivedStateFromProps,typeof _=="function"&&(Gc(a,o,_,c),x.state=a.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof x.getSnapshotBeforeUpdate=="function"||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(_=x.state,typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount(),_!==x.state&&Uc.enqueueReplaceState(x,x.state,null),Je(a,c,x,m),Ge(),x.state=a.memoizedState),typeof x.componentDidMount=="function"&&(a.flags|=4194308),c=!0}else if(i===null){x=a.stateNode;var N=a.memoizedProps,Y=Bo(o,N);x.props=Y;var se=x.context,Ce=o.contextType;_=Ci,typeof Ce=="object"&&Ce!==null&&(_=Nn(Ce));var _e=o.getDerivedStateFromProps;Ce=typeof _e=="function"||typeof x.getSnapshotBeforeUpdate=="function",N=a.pendingProps!==N,Ce||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(N||se!==_)&&fd(a,x,c,_),L=!1;var ce=a.memoizedState;x.state=ce,Je(a,c,x,m),Ge(),se=a.memoizedState,N||ce!==se||L?(typeof _e=="function"&&(Gc(a,o,_e,c),se=a.memoizedState),(Y=L||qh(a,o,Y,c,ce,se,_))?(Ce||typeof x.UNSAFE_componentWillMount!="function"&&typeof x.componentWillMount!="function"||(typeof x.componentWillMount=="function"&&x.componentWillMount(),typeof x.UNSAFE_componentWillMount=="function"&&x.UNSAFE_componentWillMount()),typeof x.componentDidMount=="function"&&(a.flags|=4194308)):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=c,a.memoizedState=se),x.props=c,x.state=se,x.context=_,c=Y):(typeof x.componentDidMount=="function"&&(a.flags|=4194308),c=!1)}else{x=a.stateNode,le(i,a),_=a.memoizedProps,Ce=Bo(o,_),x.props=Ce,_e=a.pendingProps,ce=x.context,se=o.contextType,Y=Ci,typeof se=="object"&&se!==null&&(Y=Nn(se)),N=o.getDerivedStateFromProps,(se=typeof N=="function"||typeof x.getSnapshotBeforeUpdate=="function")||typeof x.UNSAFE_componentWillReceiveProps!="function"&&typeof x.componentWillReceiveProps!="function"||(_!==_e||ce!==Y)&&fd(a,x,c,Y),L=!1,ce=a.memoizedState,x.state=ce,Je(a,c,x,m),Ge();var de=a.memoizedState;_!==_e||ce!==de||L||i!==null&&i.dependencies!==null&&ji(i.dependencies)?(typeof N=="function"&&(Gc(a,o,N,c),de=a.memoizedState),(Ce=L||qh(a,o,Ce,c,ce,de,Y)||i!==null&&i.dependencies!==null&&ji(i.dependencies))?(se||typeof x.UNSAFE_componentWillUpdate!="function"&&typeof x.componentWillUpdate!="function"||(typeof x.componentWillUpdate=="function"&&x.componentWillUpdate(c,de,Y),typeof x.UNSAFE_componentWillUpdate=="function"&&x.UNSAFE_componentWillUpdate(c,de,Y)),typeof x.componentDidUpdate=="function"&&(a.flags|=4),typeof x.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof x.componentDidUpdate!="function"||_===i.memoizedProps&&ce===i.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ce===i.memoizedState||(a.flags|=1024),a.memoizedProps=c,a.memoizedState=de),x.props=c,x.state=de,x.context=Y,c=Ce):(typeof x.componentDidUpdate!="function"||_===i.memoizedProps&&ce===i.memoizedState||(a.flags|=4),typeof x.getSnapshotBeforeUpdate!="function"||_===i.memoizedProps&&ce===i.memoizedState||(a.flags|=1024),c=!1)}return x=c,um(i,a),c=(a.flags&128)!==0,x||c?(x=a.stateNode,o=c&&typeof o.getDerivedStateFromError!="function"?null:x.render(),a.flags|=1,i!==null&&c?(a.child=Qi(a,i.child,null,m),a.child=Qi(a,null,o,m)):qr(i,a,o,m),a.memoizedState=x.state,i=a.child):i=Cs(i,a,m),i}function yk(i,a,o,c){return Oi(),a.flags|=256,qr(i,a,o,c),a.child}var ny={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ry(i){return{baseLanes:i,cachePool:Po()}}function iy(i,a,o){return i=i!==null?i.childLanes&~o:0,a&&(i|=fl),i}function xk(i,a,o){var c=a.pendingProps,m=!1,x=(a.flags&128)!==0,_;if((_=x)||(_=i!==null&&i.memoizedState===null?!1:(Yn.current&2)!==0),_&&(m=!0,a.flags&=-129),_=(a.flags&32)!==0,a.flags&=-33,i===null){if(St){if(m?Pi(a):gi(),St){var N=Pt,Y;if(Y=N){e:{for(Y=N,N=er;Y.nodeType!==8;){if(!N){N=null;break e}if(Y=ao(Y.nextSibling),Y===null){N=null;break e}}N=Y}N!==null?(a.memoizedState={dehydrated:N,treeContext:ki!==null?{id:Fn,overflow:Ti}:null,retryLane:536870912,hydrationErrors:null},Y=zn(18,null,null,0),Y.stateNode=N,Y.return=a,a.child=Y,Vn=a,Pt=null,Y=!0):Y=!1}Y||Xi(a)}if(N=a.memoizedState,N!==null&&(N=N.dehydrated,N!==null))return Hy(N)?a.lanes=32:a.lanes=536870912,null;Ma(a)}return N=c.children,c=c.fallback,m?(gi(),m=a.mode,N=cm({mode:"hidden",children:N},m),c=$n(c,m,o,null),N.return=a,c.return=a,N.sibling=c,a.child=N,m=a.child,m.memoizedState=ry(o),m.childLanes=iy(i,_,o),a.memoizedState=ny,c):(Pi(a),ay(a,N))}if(Y=i.memoizedState,Y!==null&&(N=Y.dehydrated,N!==null)){if(x)a.flags&256?(Pi(a),a.flags&=-257,a=ly(i,a,o)):a.memoizedState!==null?(gi(),a.child=i.child,a.flags|=128,a=null):(gi(),m=c.fallback,N=a.mode,c=cm({mode:"visible",children:c.children},N),m=$n(m,N,o,null),m.flags|=2,c.return=a,m.return=a,c.sibling=m,a.child=c,Qi(a,i.child,null,o),c=a.child,c.memoizedState=ry(o),c.childLanes=iy(i,_,o),a.memoizedState=ny,a=m);else if(Pi(a),Hy(N)){if(_=N.nextSibling&&N.nextSibling.dataset,_)var se=_.dgst;_=se,c=Error(r(419)),c.stack="",c.digest=_,ui({value:c,source:null,stack:null}),a=ly(i,a,o)}else if(Or||Ki(i,a,o,!1),_=(o&i.childLanes)!==0,Or||_){if(_=En,_!==null&&(c=o&-o,c=(c&42)!==0?1:Xs(c),c=(c&(_.suspendedLanes|o))!==0?0:c,c!==0&&c!==Y.retryLane))throw Y.retryLane=c,kn(i,c),Ha(_,i,c),fk;N.data==="$?"||wy(),a=ly(i,a,o)}else N.data==="$?"?(a.flags|=192,a.child=i.child,a=null):(i=Y.treeContext,Pt=ao(N.nextSibling),Vn=a,St=!0,oi=null,er=!1,i!==null&&(wr[cr++]=Fn,wr[cr++]=Ti,wr[cr++]=ki,Fn=i.id,Ti=i.overflow,ki=a),a=ay(a,c.children),a.flags|=4096);return a}return m?(gi(),m=c.fallback,N=a.mode,Y=i.child,se=Y.sibling,c=li(Y,{mode:"hidden",children:c.children}),c.subtreeFlags=Y.subtreeFlags&65011712,se!==null?m=li(se,m):(m=$n(m,N,o,null),m.flags|=2),m.return=a,c.return=a,c.sibling=m,a.child=c,c=m,m=a.child,N=i.child.memoizedState,N===null?N=ry(o):(Y=N.cachePool,Y!==null?(se=ln._currentValue,Y=Y.parent!==se?{parent:se,pool:se}:Y):Y=Po(),N={baseLanes:N.baseLanes|o,cachePool:Y}),m.memoizedState=N,m.childLanes=iy(i,_,o),a.memoizedState=ny,c):(Pi(a),o=i.child,i=o.sibling,o=li(o,{mode:"visible",children:c.children}),o.return=a,o.sibling=null,i!==null&&(_=a.deletions,_===null?(a.deletions=[i],a.flags|=16):_.push(i)),a.child=o,a.memoizedState=null,o)}function ay(i,a){return a=cm({mode:"visible",children:a},i.mode),a.return=i,i.child=a}function cm(i,a){return i=zn(22,i,null,a),i.lanes=0,i.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},i}function ly(i,a,o){return Qi(a,i.child,null,o),i=ay(a,a.pendingProps.children),i.flags|=2,a.memoizedState=null,i}function Sk(i,a,o){i.lanes|=a;var c=i.alternate;c!==null&&(c.lanes|=a),ys(i.return,a,o)}function oy(i,a,o,c,m){var x=i.memoizedState;x===null?i.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:c,tail:o,tailMode:m}:(x.isBackwards=a,x.rendering=null,x.renderingStartTime=0,x.last=c,x.tail=o,x.tailMode=m)}function Ak(i,a,o){var c=a.pendingProps,m=c.revealOrder,x=c.tail;if(qr(i,a,c.children,o),c=Yn.current,(c&2)!==0)c=c&1|2,a.flags|=128;else{if(i!==null&&(i.flags&128)!==0)e:for(i=a.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Sk(i,o,a);else if(i.tag===19)Sk(i,o,a);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===a)break e;for(;i.sibling===null;){if(i.return===null||i.return===a)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}c&=1}switch(M(Yn,c),m){case"forwards":for(o=a.child,m=null;o!==null;)i=o.alternate,i!==null&&cl(i)===null&&(m=o),o=o.sibling;o=m,o===null?(m=a.child,a.child=null):(m=o.sibling,o.sibling=null),oy(a,!1,m,o,x);break;case"backwards":for(o=null,m=a.child,a.child=null;m!==null;){if(i=m.alternate,i!==null&&cl(i)===null){a.child=m;break}i=m.sibling,m.sibling=o,o=m,m=i}oy(a,!0,o,null,x);break;case"together":oy(a,!1,null,null,void 0);break;default:a.memoizedState=null}return a.child}function Cs(i,a,o){if(i!==null&&(a.dependencies=i.dependencies),ku|=a.lanes,(o&a.childLanes)===0)if(i!==null){if(Ki(i,a,o,!1),(o&a.childLanes)===0)return null}else return null;if(i!==null&&a.child!==i.child)throw Error(r(153));if(a.child!==null){for(i=a.child,o=li(i,i.pendingProps),a.child=o,o.return=a;i.sibling!==null;)i=i.sibling,o=o.sibling=li(i,i.pendingProps),o.return=a;o.sibling=null}return a.child}function sy(i,a){return(i.lanes&a)!==0?!0:(i=i.dependencies,!!(i!==null&&ji(i)))}function HU(i,a,o){switch(a.tag){case 3:ye(a,a.stateNode.containerInfo),Zi(a,ln,i.memoizedState.cache),Oi();break;case 27:case 5:Pe(a);break;case 4:ye(a,a.stateNode.containerInfo);break;case 10:Zi(a,a.type,a.memoizedProps.value);break;case 13:var c=a.memoizedState;if(c!==null)return c.dehydrated!==null?(Pi(a),a.flags|=128,null):(o&a.child.childLanes)!==0?xk(i,a,o):(Pi(a),i=Cs(i,a,o),i!==null?i.sibling:null);Pi(a);break;case 19:var m=(i.flags&128)!==0;if(c=(o&a.childLanes)!==0,c||(Ki(i,a,o,!1),c=(o&a.childLanes)!==0),m){if(c)return Ak(i,a,o);a.flags|=128}if(m=a.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),M(Yn,Yn.current),c)break;return null;case 22:case 23:return a.lanes=0,pk(i,a,o);case 24:Zi(a,ln,i.memoizedState.cache)}return Cs(i,a,o)}function Ek(i,a,o){if(i!==null)if(i.memoizedProps!==a.pendingProps)Or=!0;else{if(!sy(i,o)&&(a.flags&128)===0)return Or=!1,HU(i,a,o);Or=(i.flags&131072)!==0}else Or=!1,St&&(a.flags&1048576)!==0&&il(a,Ca,a.index);switch(a.lanes=0,a.tag){case 16:e:{i=a.pendingProps;var c=a.elementType,m=c._init;if(c=m(c._payload),a.type=c,typeof c=="function")Ea(c)?(i=Bo(c,i),a.tag=1,a=vk(null,a,c,i,o)):(a.tag=0,a=ty(null,a,c,i,o));else{if(c!=null){if(m=c.$$typeof,m===te){a.tag=11,a=dk(null,a,c,i,o);break e}else if(m===be){a.tag=14,a=hk(null,a,c,i,o);break e}}throw a=ee(c)||c,Error(r(306,a,""))}}return a;case 0:return ty(i,a,a.type,a.pendingProps,o);case 1:return c=a.type,m=Bo(c,a.pendingProps),vk(i,a,c,m,o);case 3:e:{if(ye(a,a.stateNode.containerInfo),i===null)throw Error(r(387));c=a.pendingProps;var x=a.memoizedState;m=x.element,le(i,a),Je(a,c,null,o);var _=a.memoizedState;if(c=_.cache,Zi(a,ln,c),c!==x.cache&&On(a,[ln],o,!0),Ge(),c=_.element,x.isDehydrated)if(x={element:c,isDehydrated:!1,cache:_.cache},a.updateQueue.baseState=x,a.memoizedState=x,a.flags&256){a=yk(i,a,c,o);break e}else if(c!==m){m=Lt(Error(r(424)),a),ui(m),a=yk(i,a,c,o);break e}else{switch(i=a.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(Pt=ao(i.firstChild),Vn=a,St=!0,oi=null,er=!0,o=yr(a,null,c,o),a.child=o;o;)o.flags=o.flags&-3|4096,o=o.sibling}else{if(Oi(),c===m){a=Cs(i,a,o);break e}qr(i,a,c,o)}a=a.child}return a;case 26:return um(i,a),i===null?(o=TT(a.type,null,a.pendingProps,null))?a.memoizedState=o:St||(o=a.type,i=a.pendingProps,c=wm(Me.current).createElement(o),c[_n]=a,c[Mt]=i,ei(c,o,i),Rn(c),a.stateNode=c):a.memoizedState=TT(a.type,i.memoizedProps,a.pendingProps,i.memoizedState),null;case 27:return Pe(a),i===null&&St&&(c=a.stateNode=wT(a.type,a.pendingProps,Me.current),Vn=a,er=!0,m=Pt,Ru(a.type)?(Wy=m,Pt=ao(c.firstChild)):Pt=m),qr(i,a,a.pendingProps.children,o),um(i,a),i===null&&(a.flags|=4194304),a.child;case 5:return i===null&&St&&((m=c=Pt)&&(c=pY(c,a.type,a.pendingProps,er),c!==null?(a.stateNode=c,Vn=a,Pt=ao(c.firstChild),er=!1,m=!0):m=!1),m||Xi(a)),Pe(a),m=a.type,x=a.pendingProps,_=i!==null?i.memoizedProps:null,c=x.children,Fy(m,x)?c=null:_!==null&&Fy(m,_)&&(a.flags|=32),a.memoizedState!==null&&(m=qf(i,a,Fh,null,null,o),mg._currentValue=m),um(i,a),qr(i,a,c,o),a.child;case 6:return i===null&&St&&((i=o=Pt)&&(o=mY(o,a.pendingProps,er),o!==null?(a.stateNode=o,Vn=a,Pt=null,i=!0):i=!1),i||Xi(a)),null;case 13:return xk(i,a,o);case 4:return ye(a,a.stateNode.containerInfo),c=a.pendingProps,i===null?a.child=Qi(a,null,c,o):qr(i,a,c,o),a.child;case 11:return dk(i,a,a.type,a.pendingProps,o);case 7:return qr(i,a,a.pendingProps,o),a.child;case 8:return qr(i,a,a.pendingProps.children,o),a.child;case 12:return qr(i,a,a.pendingProps.children,o),a.child;case 10:return c=a.pendingProps,Zi(a,a.type,c.value),qr(i,a,c.children,o),a.child;case 9:return m=a.type._context,c=a.pendingProps.children,kr(a),m=Nn(m),c=c(m),a.flags|=1,qr(i,a,c,o),a.child;case 14:return hk(i,a,a.type,a.pendingProps,o);case 15:return gk(i,a,a.type,a.pendingProps,o);case 19:return Ak(i,a,o);case 31:return c=a.pendingProps,o=a.mode,c={mode:c.mode,children:c.children},i===null?(o=cm(c,o),o.ref=a.ref,a.child=o,o.return=a,a=o):(o=li(i.child,c),o.ref=a.ref,a.child=o,o.return=a,a=o),a;case 22:return pk(i,a,o);case 24:return kr(a),c=Nn(ln),i===null?(m=jl(),m===null&&(m=En,x=ll(),m.pooledCache=x,x.refCount++,x!==null&&(m.pooledCacheLanes|=o),m=x),a.memoizedState={parent:c,cache:m},X(a),Zi(a,ln,m)):((i.lanes&o)!==0&&(le(i,a),Je(a,null,null,o),Ge()),m=i.memoizedState,x=a.memoizedState,m.parent!==c?(m={parent:c,cache:c},a.memoizedState=m,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=m),Zi(a,ln,c)):(c=x.cache,Zi(a,ln,c),c!==m.cache&&On(a,[ln],o,!0))),qr(i,a,a.pendingProps.children,o),a.child;case 29:throw a.pendingProps}throw Error(r(156,a.tag))}function ks(i){i.flags|=4}function wk(i,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!IT(a)){if(a=Jt.current,a!==null&&((Nt&4194048)===Nt?Da!==null:(Nt&62914560)!==Nt&&(Nt&536870912)===0||a!==Da))throw A=za,Ia;i.flags|=8192}}function fm(i,a){a!==null&&(i.flags|=4),i.flags&16384&&(a=i.tag!==22?xi():536870912,i.lanes|=a,bd|=a)}function tg(i,a){if(!St)switch(i.tailMode){case"hidden":a=i.tail;for(var o=null;a!==null;)a.alternate!==null&&(o=a),a=a.sibling;o===null?i.tail=null:o.sibling=null;break;case"collapsed":o=i.tail;for(var c=null;o!==null;)o.alternate!==null&&(c=o),o=o.sibling;c===null?a||i.tail===null?i.tail=null:i.tail.sibling=null:c.sibling=null}}function Hn(i){var a=i.alternate!==null&&i.alternate.child===i.child,o=0,c=0;if(a)for(var m=i.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=i,m=m.sibling;else for(m=i.child;m!==null;)o|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=i,m=m.sibling;return i.subtreeFlags|=c,i.childLanes=o,a}function WU(i,a,o){var c=a.pendingProps;switch(Yi(a),a.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hn(a),null;case 1:return Hn(a),null;case 3:return o=a.stateNode,c=null,i!==null&&(c=i.memoizedState.cache),a.memoizedState.cache!==c&&(a.flags|=2048),Cr(ln),Re(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(i===null||i.child===null)&&(ka(a)?ks(a):i===null||i.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,_i())),Hn(a),null;case 26:return o=a.memoizedState,i===null?(ks(a),o!==null?(Hn(a),wk(a,o)):(Hn(a),a.flags&=-16777217)):o?o!==i.memoizedState?(ks(a),Hn(a),wk(a,o)):(Hn(a),a.flags&=-16777217):(i.memoizedProps!==c&&ks(a),Hn(a),a.flags&=-16777217),null;case 27:Fe(a),o=Me.current;var m=a.type;if(i!==null&&a.stateNode!=null)i.memoizedProps!==c&&ks(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return Hn(a),null}i=xe.current,ka(a)?si(a):(i=wT(m,c,o),a.stateNode=i,ks(a))}return Hn(a),null;case 5:if(Fe(a),o=a.type,i!==null&&a.stateNode!=null)i.memoizedProps!==c&&ks(a);else{if(!c){if(a.stateNode===null)throw Error(r(166));return Hn(a),null}if(i=xe.current,ka(a))si(a);else{switch(m=wm(Me.current),i){case 1:i=m.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:i=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":i=m.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":i=m.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":i=m.createElement("div"),i.innerHTML="<script><\/script>",i=i.removeChild(i.firstChild);break;case"select":i=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?i.multiple=!0:c.size&&(i.size=c.size);break;default:i=typeof c.is=="string"?m.createElement(o,{is:c.is}):m.createElement(o)}}i[_n]=a,i[Mt]=c;e:for(m=a.child;m!==null;){if(m.tag===5||m.tag===6)i.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===a)break e;for(;m.sibling===null;){if(m.return===null||m.return===a)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}a.stateNode=i;e:switch(ei(i,o,c),o){case"button":case"input":case"select":case"textarea":i=!!c.autoFocus;break e;case"img":i=!0;break e;default:i=!1}i&&ks(a)}}return Hn(a),a.flags&=-16777217,null;case 6:if(i&&a.stateNode!=null)i.memoizedProps!==c&&ks(a);else{if(typeof c!="string"&&a.stateNode===null)throw Error(r(166));if(i=Me.current,ka(a)){if(i=a.stateNode,o=a.memoizedProps,c=null,m=Vn,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}i[_n]=a,i=!!(i.nodeValue===o||c!==null&&c.suppressHydrationWarning===!0||bT(i.nodeValue,o)),i||Xi(a)}else i=wm(i).createTextNode(c),i[_n]=a,a.stateNode=i}return Hn(a),null;case 13:if(c=a.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(m=ka(a),c!==null&&c.dehydrated!==null){if(i===null){if(!m)throw Error(r(318));if(m=a.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(r(317));m[_n]=a}else Oi(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Hn(a),m=!1}else m=_i(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=m),m=!0;if(!m)return a.flags&256?(Ma(a),a):(Ma(a),null)}if(Ma(a),(a.flags&128)!==0)return a.lanes=o,a;if(o=c!==null,i=i!==null&&i.memoizedState!==null,o){c=a.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool);var x=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(x=c.memoizedState.cachePool.pool),x!==m&&(c.flags|=2048)}return o!==i&&o&&(a.child.flags|=8192),fm(a,a.updateQueue),Hn(a),null;case 4:return Re(),i===null&&zy(a.stateNode.containerInfo),Hn(a),null;case 10:return Cr(a.type),Hn(a),null;case 19:if(me(Yn),m=a.memoizedState,m===null)return Hn(a),null;if(c=(a.flags&128)!==0,x=m.rendering,x===null)if(c)tg(m,!1);else{if(Xn!==0||i!==null&&(i.flags&128)!==0)for(i=a.child;i!==null;){if(x=cl(i),x!==null){for(a.flags|=128,tg(m,!1),i=x.updateQueue,a.updateQueue=i,fm(a,i),a.subtreeFlags=0,i=o,o=a.child;o!==null;)bs(o,i),o=o.sibling;return M(Yn,Yn.current&1|2),a.child}i=i.sibling}m.tail!==null&&nn()>gm&&(a.flags|=128,c=!0,tg(m,!1),a.lanes=4194304)}else{if(!c)if(i=cl(x),i!==null){if(a.flags|=128,c=!0,i=i.updateQueue,a.updateQueue=i,fm(a,i),tg(m,!0),m.tail===null&&m.tailMode==="hidden"&&!x.alternate&&!St)return Hn(a),null}else 2*nn()-m.renderingStartTime>gm&&o!==536870912&&(a.flags|=128,c=!0,tg(m,!1),a.lanes=4194304);m.isBackwards?(x.sibling=a.child,a.child=x):(i=m.last,i!==null?i.sibling=x:a.child=x,m.last=x)}return m.tail!==null?(a=m.tail,m.rendering=a,m.tail=a.sibling,m.renderingStartTime=nn(),a.sibling=null,i=Yn.current,M(Yn,c?i&1|2:i&1),a):(Hn(a),null);case 22:case 23:return Ma(a),fr(),c=a.memoizedState!==null,i!==null?i.memoizedState!==null!==c&&(a.flags|=8192):c&&(a.flags|=8192),c?(o&536870912)!==0&&(a.flags&128)===0&&(Hn(a),a.subtreeFlags&6&&(a.flags|=8192)):Hn(a),o=a.updateQueue,o!==null&&fm(a,o.retryQueue),o=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),c=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(c=a.memoizedState.cachePool.pool),c!==o&&(a.flags|=2048),i!==null&&me(Jr),null;case 24:return o=null,i!==null&&(o=i.memoizedState.cache),a.memoizedState.cache!==o&&(a.flags|=2048),Cr(ln),Hn(a),null;case 25:return null;case 30:return null}throw Error(r(156,a.tag))}function GU(i,a){switch(Yi(a),a.tag){case 1:return i=a.flags,i&65536?(a.flags=i&-65537|128,a):null;case 3:return Cr(ln),Re(),i=a.flags,(i&65536)!==0&&(i&128)===0?(a.flags=i&-65537|128,a):null;case 26:case 27:case 5:return Fe(a),null;case 13:if(Ma(a),i=a.memoizedState,i!==null&&i.dehydrated!==null){if(a.alternate===null)throw Error(r(340));Oi()}return i=a.flags,i&65536?(a.flags=i&-65537|128,a):null;case 19:return me(Yn),null;case 4:return Re(),null;case 10:return Cr(a.type),null;case 22:case 23:return Ma(a),fr(),i!==null&&me(Jr),i=a.flags,i&65536?(a.flags=i&-65537|128,a):null;case 24:return Cr(ln),null;case 25:return null;default:return null}}function Ck(i,a){switch(Yi(a),a.tag){case 3:Cr(ln),Re();break;case 26:case 27:case 5:Fe(a);break;case 4:Re();break;case 13:Ma(a);break;case 19:me(Yn);break;case 10:Cr(a.type);break;case 22:case 23:Ma(a),fr(),i!==null&&me(Jr);break;case 24:Cr(ln)}}function ng(i,a){try{var o=a.updateQueue,c=o!==null?o.lastEffect:null;if(c!==null){var m=c.next;o=m;do{if((o.tag&i)===i){c=void 0;var x=o.create,_=o.inst;c=x(),_.destroy=c}o=o.next}while(o!==m)}}catch(N){pn(a,a.return,N)}}function Au(i,a,o){try{var c=a.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var x=m.next;c=x;do{if((c.tag&i)===i){var _=c.inst,N=_.destroy;if(N!==void 0){_.destroy=void 0,m=a;var Y=o,se=N;try{se()}catch(Ce){pn(m,Y,Ce)}}}c=c.next}while(c!==x)}}catch(Ce){pn(a,a.return,Ce)}}function kk(i){var a=i.updateQueue;if(a!==null){var o=i.stateNode;try{Xt(a,o)}catch(c){pn(i,i.return,c)}}}function Tk(i,a,o){o.props=Bo(i.type,i.memoizedProps),o.state=i.memoizedState;try{o.componentWillUnmount()}catch(c){pn(i,a,c)}}function rg(i,a){try{var o=i.ref;if(o!==null){switch(i.tag){case 26:case 27:case 5:var c=i.stateNode;break;case 30:c=i.stateNode;break;default:c=i.stateNode}typeof o=="function"?i.refCleanup=o(c):o.current=c}}catch(m){pn(i,a,m)}}function Ho(i,a){var o=i.ref,c=i.refCleanup;if(o!==null)if(typeof c=="function")try{c()}catch(m){pn(i,a,m)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof o=="function")try{o(null)}catch(m){pn(i,a,m)}else o.current=null}function Ok(i){var a=i.type,o=i.memoizedProps,c=i.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":o.autoFocus&&c.focus();break e;case"img":o.src?c.src=o.src:o.srcSet&&(c.srcset=o.srcSet)}}catch(m){pn(i,i.return,m)}}function uy(i,a,o){try{var c=i.stateNode;cY(c,i.type,o,a),c[Mt]=a}catch(m){pn(i,i.return,m)}}function _k(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&Ru(i.type)||i.tag===4}function cy(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||_k(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&Ru(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function fy(i,a,o){var c=i.tag;if(c===5||c===6)i=i.stateNode,a?(o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o).insertBefore(i,a):(a=o.nodeType===9?o.body:o.nodeName==="HTML"?o.ownerDocument.body:o,a.appendChild(i),o=o._reactRootContainer,o!=null||a.onclick!==null||(a.onclick=Em));else if(c!==4&&(c===27&&Ru(i.type)&&(o=i.stateNode,a=null),i=i.child,i!==null))for(fy(i,a,o),i=i.sibling;i!==null;)fy(i,a,o),i=i.sibling}function dm(i,a,o){var c=i.tag;if(c===5||c===6)i=i.stateNode,a?o.insertBefore(i,a):o.appendChild(i);else if(c!==4&&(c===27&&Ru(i.type)&&(o=i.stateNode),i=i.child,i!==null))for(dm(i,a,o),i=i.sibling;i!==null;)dm(i,a,o),i=i.sibling}function Rk(i){var a=i.stateNode,o=i.memoizedProps;try{for(var c=i.type,m=a.attributes;m.length;)a.removeAttributeNode(m[0]);ei(a,c,o),a[_n]=i,a[Mt]=o}catch(x){pn(i,i.return,x)}}var Ts=!1,nr=!1,dy=!1,Pk=typeof WeakSet=="function"?WeakSet:Set,_r=null;function UU(i,a){if(i=i.containerInfo,My=Rm,i=E(i),T(i)){if("selectionStart"in i)var o={start:i.selectionStart,end:i.selectionEnd};else e:{o=(o=i.ownerDocument)&&o.defaultView||window;var c=o.getSelection&&o.getSelection();if(c&&c.rangeCount!==0){o=c.anchorNode;var m=c.anchorOffset,x=c.focusNode;c=c.focusOffset;try{o.nodeType,x.nodeType}catch{o=null;break e}var _=0,N=-1,Y=-1,se=0,Ce=0,_e=i,ce=null;t:for(;;){for(var de;_e!==o||m!==0&&_e.nodeType!==3||(N=_+m),_e!==x||c!==0&&_e.nodeType!==3||(Y=_+c),_e.nodeType===3&&(_+=_e.nodeValue.length),(de=_e.firstChild)!==null;)ce=_e,_e=de;for(;;){if(_e===i)break t;if(ce===o&&++se===m&&(N=_),ce===x&&++Ce===c&&(Y=_),(de=_e.nextSibling)!==null)break;_e=ce,ce=_e.parentNode}_e=de}o=N===-1||Y===-1?null:{start:N,end:Y}}else o=null}o=o||{start:0,end:0}}else o=null;for(Ly={focusedElem:i,selectionRange:o},Rm=!1,_r=a;_r!==null;)if(a=_r,i=a.child,(a.subtreeFlags&1024)!==0&&i!==null)i.return=a,_r=i;else for(;_r!==null;){switch(a=_r,x=a.alternate,i=a.flags,a.tag){case 0:break;case 11:case 15:break;case 1:if((i&1024)!==0&&x!==null){i=void 0,o=a,m=x.memoizedProps,x=x.memoizedState,c=o.stateNode;try{var ut=Bo(o.type,m,o.elementType===o.type);i=c.getSnapshotBeforeUpdate(ut,x),c.__reactInternalSnapshotBeforeUpdate=i}catch(rt){pn(o,o.return,rt)}}break;case 3:if((i&1024)!==0){if(i=a.stateNode.containerInfo,o=i.nodeType,o===9)By(i);else if(o===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":By(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(r(163))}if(i=a.sibling,i!==null){i.return=a.return,_r=i;break}_r=a.return}}function Ik(i,a,o){var c=o.flags;switch(o.tag){case 0:case 11:case 15:Eu(i,o),c&4&&ng(5,o);break;case 1:if(Eu(i,o),c&4)if(i=o.stateNode,a===null)try{i.componentDidMount()}catch(_){pn(o,o.return,_)}else{var m=Bo(o.type,a.memoizedProps);a=a.memoizedState;try{i.componentDidUpdate(m,a,i.__reactInternalSnapshotBeforeUpdate)}catch(_){pn(o,o.return,_)}}c&64&&kk(o),c&512&&rg(o,o.return);break;case 3:if(Eu(i,o),c&64&&(i=o.updateQueue,i!==null)){if(a=null,o.child!==null)switch(o.child.tag){case 27:case 5:a=o.child.stateNode;break;case 1:a=o.child.stateNode}try{Xt(i,a)}catch(_){pn(o,o.return,_)}}break;case 27:a===null&&c&4&&Rk(o);case 26:case 5:Eu(i,o),a===null&&c&4&&Ok(o),c&512&&rg(o,o.return);break;case 12:Eu(i,o);break;case 13:Eu(i,o),c&4&&Dk(i,o),c&64&&(i=o.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(o=$U.bind(null,o),bY(i,o))));break;case 22:if(c=o.memoizedState!==null||Ts,!c){a=a!==null&&a.memoizedState!==null||nr,m=Ts;var x=nr;Ts=c,(nr=a)&&!x?wu(i,o,(o.subtreeFlags&8772)!==0):Eu(i,o),Ts=m,nr=x}break;case 30:break;default:Eu(i,o)}}function zk(i){var a=i.alternate;a!==null&&(i.alternate=null,zk(a)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(a=i.stateNode,a!==null&&Rt(a)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Dn=null,$i=!1;function Os(i,a,o){for(o=o.child;o!==null;)Nk(i,a,o),o=o.sibling}function Nk(i,a,o){if(Ie&&typeof Ie.onCommitFiberUnmount=="function")try{Ie.onCommitFiberUnmount(pe,o)}catch{}switch(o.tag){case 26:nr||Ho(o,a),Os(i,a,o),o.memoizedState?o.memoizedState.count--:o.stateNode&&(o=o.stateNode,o.parentNode.removeChild(o));break;case 27:nr||Ho(o,a);var c=Dn,m=$i;Ru(o.type)&&(Dn=o.stateNode,$i=!1),Os(i,a,o),dg(o.stateNode),Dn=c,$i=m;break;case 5:nr||Ho(o,a);case 6:if(c=Dn,m=$i,Dn=null,Os(i,a,o),Dn=c,$i=m,Dn!==null)if($i)try{(Dn.nodeType===9?Dn.body:Dn.nodeName==="HTML"?Dn.ownerDocument.body:Dn).removeChild(o.stateNode)}catch(x){pn(o,a,x)}else try{Dn.removeChild(o.stateNode)}catch(x){pn(o,a,x)}break;case 18:Dn!==null&&($i?(i=Dn,AT(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,o.stateNode),xg(i)):AT(Dn,o.stateNode));break;case 4:c=Dn,m=$i,Dn=o.stateNode.containerInfo,$i=!0,Os(i,a,o),Dn=c,$i=m;break;case 0:case 11:case 14:case 15:nr||Au(2,o,a),nr||Au(4,o,a),Os(i,a,o);break;case 1:nr||(Ho(o,a),c=o.stateNode,typeof c.componentWillUnmount=="function"&&Tk(o,a,c)),Os(i,a,o);break;case 21:Os(i,a,o);break;case 22:nr=(c=nr)||o.memoizedState!==null,Os(i,a,o),nr=c;break;default:Os(i,a,o)}}function Dk(i,a){if(a.memoizedState===null&&(i=a.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{xg(i)}catch(o){pn(a,a.return,o)}}function YU(i){switch(i.tag){case 13:case 19:var a=i.stateNode;return a===null&&(a=i.stateNode=new Pk),a;case 22:return i=i.stateNode,a=i._retryCache,a===null&&(a=i._retryCache=new Pk),a;default:throw Error(r(435,i.tag))}}function hy(i,a){var o=YU(i);a.forEach(function(c){var m=eY.bind(null,i,c);o.has(c)||(o.add(c),c.then(m,m))})}function La(i,a){var o=a.deletions;if(o!==null)for(var c=0;c<o.length;c++){var m=o[c],x=i,_=a,N=_;e:for(;N!==null;){switch(N.tag){case 27:if(Ru(N.type)){Dn=N.stateNode,$i=!1;break e}break;case 5:Dn=N.stateNode,$i=!1;break e;case 3:case 4:Dn=N.stateNode.containerInfo,$i=!0;break e}N=N.return}if(Dn===null)throw Error(r(160));Nk(x,_,m),Dn=null,$i=!1,x=m.alternate,x!==null&&(x.return=null),m.return=null}if(a.subtreeFlags&13878)for(a=a.child;a!==null;)Mk(a,i),a=a.sibling}var io=null;function Mk(i,a){var o=i.alternate,c=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:La(a,i),Fa(i),c&4&&(Au(3,i,i.return),ng(3,i),Au(5,i,i.return));break;case 1:La(a,i),Fa(i),c&512&&(nr||o===null||Ho(o,o.return)),c&64&&Ts&&(i=i.updateQueue,i!==null&&(c=i.callbacks,c!==null&&(o=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=o===null?c:o.concat(c))));break;case 26:var m=io;if(La(a,i),Fa(i),c&512&&(nr||o===null||Ho(o,o.return)),c&4){var x=o!==null?o.memoizedState:null;if(c=i.memoizedState,o===null)if(c===null)if(i.stateNode===null){e:{c=i.type,o=i.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":x=m.getElementsByTagName("title")[0],(!x||x[Ao]||x[_n]||x.namespaceURI==="http://www.w3.org/2000/svg"||x.hasAttribute("itemprop"))&&(x=m.createElement(c),m.head.insertBefore(x,m.querySelector("head > title"))),ei(x,c,o),x[_n]=i,Rn(x),c=x;break e;case"link":var _=RT("link","href",m).get(c+(o.href||""));if(_){for(var N=0;N<_.length;N++)if(x=_[N],x.getAttribute("href")===(o.href==null||o.href===""?null:o.href)&&x.getAttribute("rel")===(o.rel==null?null:o.rel)&&x.getAttribute("title")===(o.title==null?null:o.title)&&x.getAttribute("crossorigin")===(o.crossOrigin==null?null:o.crossOrigin)){_.splice(N,1);break t}}x=m.createElement(c),ei(x,c,o),m.head.appendChild(x);break;case"meta":if(_=RT("meta","content",m).get(c+(o.content||""))){for(N=0;N<_.length;N++)if(x=_[N],x.getAttribute("content")===(o.content==null?null:""+o.content)&&x.getAttribute("name")===(o.name==null?null:o.name)&&x.getAttribute("property")===(o.property==null?null:o.property)&&x.getAttribute("http-equiv")===(o.httpEquiv==null?null:o.httpEquiv)&&x.getAttribute("charset")===(o.charSet==null?null:o.charSet)){_.splice(N,1);break t}}x=m.createElement(c),ei(x,c,o),m.head.appendChild(x);break;default:throw Error(r(468,c))}x[_n]=i,Rn(x),c=x}i.stateNode=c}else PT(m,i.type,i.stateNode);else i.stateNode=_T(m,c,i.memoizedProps);else x!==c?(x===null?o.stateNode!==null&&(o=o.stateNode,o.parentNode.removeChild(o)):x.count--,c===null?PT(m,i.type,i.stateNode):_T(m,c,i.memoizedProps)):c===null&&i.stateNode!==null&&uy(i,i.memoizedProps,o.memoizedProps)}break;case 27:La(a,i),Fa(i),c&512&&(nr||o===null||Ho(o,o.return)),o!==null&&c&4&&uy(i,i.memoizedProps,o.memoizedProps);break;case 5:if(La(a,i),Fa(i),c&512&&(nr||o===null||Ho(o,o.return)),i.flags&32){m=i.stateNode;try{Co(m,"")}catch(de){pn(i,i.return,de)}}c&4&&i.stateNode!=null&&(m=i.memoizedProps,uy(i,m,o!==null?o.memoizedProps:m)),c&1024&&(dy=!0);break;case 6:if(La(a,i),Fa(i),c&4){if(i.stateNode===null)throw Error(r(162));c=i.memoizedProps,o=i.stateNode;try{o.nodeValue=c}catch(de){pn(i,i.return,de)}}break;case 3:if(Tm=null,m=io,io=Cm(a.containerInfo),La(a,i),io=m,Fa(i),c&4&&o!==null&&o.memoizedState.isDehydrated)try{xg(a.containerInfo)}catch(de){pn(i,i.return,de)}dy&&(dy=!1,Lk(i));break;case 4:c=io,io=Cm(i.stateNode.containerInfo),La(a,i),Fa(i),io=c;break;case 12:La(a,i),Fa(i);break;case 13:La(a,i),Fa(i),i.child.flags&8192&&i.memoizedState!==null!=(o!==null&&o.memoizedState!==null)&&(yy=nn()),c&4&&(c=i.updateQueue,c!==null&&(i.updateQueue=null,hy(i,c)));break;case 22:m=i.memoizedState!==null;var Y=o!==null&&o.memoizedState!==null,se=Ts,Ce=nr;if(Ts=se||m,nr=Ce||Y,La(a,i),nr=Ce,Ts=se,Fa(i),c&8192)e:for(a=i.stateNode,a._visibility=m?a._visibility&-2:a._visibility|1,m&&(o===null||Y||Ts||nr||Yc(i)),o=null,a=i;;){if(a.tag===5||a.tag===26){if(o===null){Y=o=a;try{if(x=Y.stateNode,m)_=x.style,typeof _.setProperty=="function"?_.setProperty("display","none","important"):_.display="none";else{N=Y.stateNode;var _e=Y.memoizedProps.style,ce=_e!=null&&_e.hasOwnProperty("display")?_e.display:null;N.style.display=ce==null||typeof ce=="boolean"?"":(""+ce).trim()}}catch(de){pn(Y,Y.return,de)}}}else if(a.tag===6){if(o===null){Y=a;try{Y.stateNode.nodeValue=m?"":Y.memoizedProps}catch(de){pn(Y,Y.return,de)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===i)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===i)break e;for(;a.sibling===null;){if(a.return===null||a.return===i)break e;o===a&&(o=null),a=a.return}o===a&&(o=null),a.sibling.return=a.return,a=a.sibling}c&4&&(c=i.updateQueue,c!==null&&(o=c.retryQueue,o!==null&&(c.retryQueue=null,hy(i,o))));break;case 19:La(a,i),Fa(i),c&4&&(c=i.updateQueue,c!==null&&(i.updateQueue=null,hy(i,c)));break;case 30:break;case 21:break;default:La(a,i),Fa(i)}}function Fa(i){var a=i.flags;if(a&2){try{for(var o,c=i.return;c!==null;){if(_k(c)){o=c;break}c=c.return}if(o==null)throw Error(r(160));switch(o.tag){case 27:var m=o.stateNode,x=cy(i);dm(i,x,m);break;case 5:var _=o.stateNode;o.flags&32&&(Co(_,""),o.flags&=-33);var N=cy(i);dm(i,N,_);break;case 3:case 4:var Y=o.stateNode.containerInfo,se=cy(i);fy(i,se,Y);break;default:throw Error(r(161))}}catch(Ce){pn(i,i.return,Ce)}i.flags&=-3}a&4096&&(i.flags&=-4097)}function Lk(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var a=i;Lk(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),i=i.sibling}}function Eu(i,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)Ik(i,a.alternate,a),a=a.sibling}function Yc(i){for(i=i.child;i!==null;){var a=i;switch(a.tag){case 0:case 11:case 14:case 15:Au(4,a,a.return),Yc(a);break;case 1:Ho(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&Tk(a,a.return,o),Yc(a);break;case 27:dg(a.stateNode);case 26:case 5:Ho(a,a.return),Yc(a);break;case 22:a.memoizedState===null&&Yc(a);break;case 30:Yc(a);break;default:Yc(a)}i=i.sibling}}function wu(i,a,o){for(o=o&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var c=a.alternate,m=i,x=a,_=x.flags;switch(x.tag){case 0:case 11:case 15:wu(m,x,o),ng(4,x);break;case 1:if(wu(m,x,o),c=x,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(se){pn(c,c.return,se)}if(c=x,m=c.updateQueue,m!==null){var N=c.stateNode;try{var Y=m.shared.hiddenCallbacks;if(Y!==null)for(m.shared.hiddenCallbacks=null,m=0;m<Y.length;m++)st(Y[m],N)}catch(se){pn(c,c.return,se)}}o&&_&64&&kk(x),rg(x,x.return);break;case 27:Rk(x);case 26:case 5:wu(m,x,o),o&&c===null&&_&4&&Ok(x),rg(x,x.return);break;case 12:wu(m,x,o);break;case 13:wu(m,x,o),o&&_&4&&Dk(m,x);break;case 22:x.memoizedState===null&&wu(m,x,o),rg(x,x.return);break;case 30:break;default:wu(m,x,o)}a=a.sibling}}function gy(i,a){var o=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(o=i.memoizedState.cachePool.pool),i=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(i=a.memoizedState.cachePool.pool),i!==o&&(i!=null&&i.refCount++,o!=null&&Ta(o))}function py(i,a){i=null,a.alternate!==null&&(i=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==i&&(a.refCount++,i!=null&&Ta(i))}function Wo(i,a,o,c){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)Fk(i,a,o,c),a=a.sibling}function Fk(i,a,o,c){var m=a.flags;switch(a.tag){case 0:case 11:case 15:Wo(i,a,o,c),m&2048&&ng(9,a);break;case 1:Wo(i,a,o,c);break;case 3:Wo(i,a,o,c),m&2048&&(i=null,a.alternate!==null&&(i=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==i&&(a.refCount++,i!=null&&Ta(i)));break;case 12:if(m&2048){Wo(i,a,o,c),i=a.stateNode;try{var x=a.memoizedProps,_=x.id,N=x.onPostCommit;typeof N=="function"&&N(_,a.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(Y){pn(a,a.return,Y)}}else Wo(i,a,o,c);break;case 13:Wo(i,a,o,c);break;case 23:break;case 22:x=a.stateNode,_=a.alternate,a.memoizedState!==null?x._visibility&2?Wo(i,a,o,c):ig(i,a):x._visibility&2?Wo(i,a,o,c):(x._visibility|=2,gd(i,a,o,c,(a.subtreeFlags&10256)!==0)),m&2048&&gy(_,a);break;case 24:Wo(i,a,o,c),m&2048&&py(a.alternate,a);break;default:Wo(i,a,o,c)}}function gd(i,a,o,c,m){for(m=m&&(a.subtreeFlags&10256)!==0,a=a.child;a!==null;){var x=i,_=a,N=o,Y=c,se=_.flags;switch(_.tag){case 0:case 11:case 15:gd(x,_,N,Y,m),ng(8,_);break;case 23:break;case 22:var Ce=_.stateNode;_.memoizedState!==null?Ce._visibility&2?gd(x,_,N,Y,m):ig(x,_):(Ce._visibility|=2,gd(x,_,N,Y,m)),m&&se&2048&&gy(_.alternate,_);break;case 24:gd(x,_,N,Y,m),m&&se&2048&&py(_.alternate,_);break;default:gd(x,_,N,Y,m)}a=a.sibling}}function ig(i,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var o=i,c=a,m=c.flags;switch(c.tag){case 22:ig(o,c),m&2048&&gy(c.alternate,c);break;case 24:ig(o,c),m&2048&&py(c.alternate,c);break;default:ig(o,c)}a=a.sibling}}var ag=8192;function pd(i){if(i.subtreeFlags&ag)for(i=i.child;i!==null;)Vk(i),i=i.sibling}function Vk(i){switch(i.tag){case 26:pd(i),i.flags&ag&&i.memoizedState!==null&&RY(io,i.memoizedState,i.memoizedProps);break;case 5:pd(i);break;case 3:case 4:var a=io;io=Cm(i.stateNode.containerInfo),pd(i),io=a;break;case 22:i.memoizedState===null&&(a=i.alternate,a!==null&&a.memoizedState!==null?(a=ag,ag=16777216,pd(i),ag=a):pd(i));break;default:pd(i)}}function Bk(i){var a=i.alternate;if(a!==null&&(i=a.child,i!==null)){a.child=null;do a=i.sibling,i.sibling=null,i=a;while(i!==null)}}function lg(i){var a=i.deletions;if((i.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];_r=c,Wk(c,i)}Bk(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)Hk(i),i=i.sibling}function Hk(i){switch(i.tag){case 0:case 11:case 15:lg(i),i.flags&2048&&Au(9,i,i.return);break;case 3:lg(i);break;case 12:lg(i);break;case 22:var a=i.stateNode;i.memoizedState!==null&&a._visibility&2&&(i.return===null||i.return.tag!==13)?(a._visibility&=-3,hm(i)):lg(i);break;default:lg(i)}}function hm(i){var a=i.deletions;if((i.flags&16)!==0){if(a!==null)for(var o=0;o<a.length;o++){var c=a[o];_r=c,Wk(c,i)}Bk(i)}for(i=i.child;i!==null;){switch(a=i,a.tag){case 0:case 11:case 15:Au(8,a,a.return),hm(a);break;case 22:o=a.stateNode,o._visibility&2&&(o._visibility&=-3,hm(a));break;default:hm(a)}i=i.sibling}}function Wk(i,a){for(;_r!==null;){var o=_r;switch(o.tag){case 0:case 11:case 15:Au(8,o,a);break;case 23:case 22:if(o.memoizedState!==null&&o.memoizedState.cachePool!==null){var c=o.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:Ta(o.memoizedState.cache)}if(c=o.child,c!==null)c.return=o,_r=c;else e:for(o=i;_r!==null;){c=_r;var m=c.sibling,x=c.return;if(zk(c),c===o){_r=null;break e}if(m!==null){m.return=x,_r=m;break e}_r=x}}}var XU={getCacheForType:function(i){var a=Nn(ln),o=a.data.get(i);return o===void 0&&(o=i(),a.data.set(i,o)),o}},ZU=typeof WeakMap=="function"?WeakMap:Map,en=0,En=null,Tt=null,Nt=0,tn=0,Va=null,Cu=!1,md=!1,my=!1,_s=0,Xn=0,ku=0,Xc=0,by=0,fl=0,bd=0,og=null,ea=null,vy=!1,yy=0,gm=1/0,pm=null,Tu=null,$r=0,Ou=null,vd=null,yd=0,xy=0,Sy=null,Gk=null,sg=0,Ay=null;function Ba(){if((en&2)!==0&&Nt!==0)return Nt&-Nt;if(D.T!==null){var i=Oa;return i!==0?i:_y()}return Vr()}function Uk(){fl===0&&(fl=(Nt&536870912)===0||St?fa():536870912);var i=Jt.current;return i!==null&&(i.flags|=32),fl}function Ha(i,a,o){(i===En&&(tn===2||tn===9)||i.cancelPendingCommit!==null)&&(xd(i,0),_u(i,Nt,fl,!1)),Al(i,o),((en&2)===0||i!==En)&&(i===En&&((en&2)===0&&(Xc|=o),Xn===4&&_u(i,Nt,fl,!1)),Go(i))}function Yk(i,a,o){if((en&6)!==0)throw Error(r(327));var c=!o&&(a&124)===0&&(a&i.expiredLanes)===0||Qt(i,a),m=c?JU(i,a):Cy(i,a,!0),x=c;do{if(m===0){md&&!c&&_u(i,a,0,!1);break}else{if(o=i.current.alternate,x&&!KU(o)){m=Cy(i,a,!1),x=!1;continue}if(m===2){if(x=a,i.errorRecoveryDisabledLanes&x)var _=0;else _=i.pendingLanes&-536870913,_=_!==0?_:_&536870912?536870912:0;if(_!==0){a=_;e:{var N=i;m=og;var Y=N.current.memoizedState.isDehydrated;if(Y&&(xd(N,_).flags|=256),_=Cy(N,_,!1),_!==2){if(my&&!Y){N.errorRecoveryDisabledLanes|=x,Xc|=x,m=4;break e}x=ea,ea=m,x!==null&&(ea===null?ea=x:ea.push.apply(ea,x))}m=_}if(x=!1,m!==2)continue}}if(m===1){xd(i,0),_u(i,a,0,!0);break}e:{switch(c=i,x=m,x){case 0:case 1:throw Error(r(345));case 4:if((a&4194048)!==a)break;case 6:_u(c,a,fl,!Cu);break e;case 2:ea=null;break;case 3:case 5:break;default:throw Error(r(329))}if((a&62914560)===a&&(m=yy+300-nn(),10<m)){if(_u(c,a,fl,!Cu),dt(c,0,!0)!==0)break e;c.timeoutHandle=xT(Xk.bind(null,c,o,ea,pm,vy,a,fl,Xc,bd,Cu,x,2,-0,0),m);break e}Xk(c,o,ea,pm,vy,a,fl,Xc,bd,Cu,x,0,-0,0)}}break}while(!0);Go(i)}function Xk(i,a,o,c,m,x,_,N,Y,se,Ce,_e,ce,de){if(i.timeoutHandle=-1,_e=a.subtreeFlags,(_e&8192||(_e&16785408)===16785408)&&(pg={stylesheets:null,count:0,unsuspend:_Y},Vk(a),_e=PY(),_e!==null)){i.cancelPendingCommit=_e($k.bind(null,i,a,x,o,c,m,_,N,Y,Ce,1,ce,de)),_u(i,x,_,!se);return}$k(i,a,x,o,c,m,_,N,Y)}function KU(i){for(var a=i;;){var o=a.tag;if((o===0||o===11||o===15)&&a.flags&16384&&(o=a.updateQueue,o!==null&&(o=o.stores,o!==null)))for(var c=0;c<o.length;c++){var m=o[c],x=m.getSnapshot;m=m.value;try{if(!ur(x(),m))return!1}catch{return!1}}if(o=a.child,a.subtreeFlags&16384&&o!==null)o.return=a,a=o;else{if(a===i)break;for(;a.sibling===null;){if(a.return===null||a.return===i)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function _u(i,a,o,c){a&=~by,a&=~Xc,i.suspendedLanes|=a,i.pingedLanes&=~a,c&&(i.warmLanes|=a),c=i.expirationTimes;for(var m=a;0<m;){var x=31-Xe(m),_=1<<x;c[x]=-1,m&=~_}o!==0&&cc(i,o,a)}function mm(){return(en&6)===0?(ug(0),!1):!0}function Ey(){if(Tt!==null){if(tn===0)var i=Tt.return;else i=Tt,Ri=vr=null,kc(i),Fo=null,to=0,i=Tt;for(;i!==null;)Ck(i.alternate,i),i=i.return;Tt=null}}function xd(i,a){var o=i.timeoutHandle;o!==-1&&(i.timeoutHandle=-1,dY(o)),o=i.cancelPendingCommit,o!==null&&(i.cancelPendingCommit=null,o()),Ey(),En=i,Tt=o=li(i.current,null),Nt=a,tn=0,Va=null,Cu=!1,md=Qt(i,a),my=!1,bd=fl=by=Xc=ku=Xn=0,ea=og=null,vy=!1,(a&8)!==0&&(a|=a&32);var c=i.entangledLanes;if(c!==0)for(i=i.entanglements,c&=a;0<c;){var m=31-Xe(c),x=1<<m;a|=i[m],c&=~x}return _s=a,br(),o}function Zk(i,a){nt=null,D.H=Bc,a===di||a===Ji?(a=O(),tn=3):a===Ia?(a=O(),tn=4):tn=a===fk?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,Va=a,Tt===null&&(Xn=1,ro(i,Lt(a,i.current)))}function Kk(){var i=D.H;return D.H=Bc,i===null?Bc:i}function jk(){var i=D.A;return D.A=XU,i}function wy(){Xn=4,Cu||(Nt&4194048)!==Nt&&Jt.current!==null||(md=!0),(ku&134217727)===0&&(Xc&134217727)===0||En===null||_u(En,Nt,fl,!1)}function Cy(i,a,o){var c=en;en|=2;var m=Kk(),x=jk();(En!==i||Nt!==a)&&(pm=null,xd(i,a)),a=!1;var _=Xn;e:do try{if(tn!==0&&Tt!==null){var N=Tt,Y=Va;switch(tn){case 8:Ey(),_=6;break e;case 3:case 2:case 9:case 6:Jt.current===null&&(a=!0);var se=tn;if(tn=0,Va=null,Sd(i,N,Y,se),o&&md){_=0;break e}break;default:se=tn,tn=0,Va=null,Sd(i,N,Y,se)}}jU(),_=Xn;break}catch(Ce){Zk(i,Ce)}while(!0);return a&&i.shellSuspendCounter++,Ri=vr=null,en=c,D.H=m,D.A=x,Tt===null&&(En=null,Nt=0,br()),_}function jU(){for(;Tt!==null;)Jk(Tt)}function JU(i,a){var o=en;en|=2;var c=Kk(),m=jk();En!==i||Nt!==a?(pm=null,gm=nn()+500,xd(i,a)):md=Qt(i,a);e:do try{if(tn!==0&&Tt!==null){a=Tt;var x=Va;t:switch(tn){case 1:tn=0,Va=null,Sd(i,a,x,1);break;case 2:case 9:if(Io(x)){tn=0,Va=null,Qk(a);break}a=function(){tn!==2&&tn!==9||En!==i||(tn=7),Go(i)},x.then(a,a);break e;case 3:tn=7;break e;case 4:tn=5;break e;case 7:Io(x)?(tn=0,Va=null,Qk(a)):(tn=0,Va=null,Sd(i,a,x,7));break;case 5:var _=null;switch(Tt.tag){case 26:_=Tt.memoizedState;case 5:case 27:var N=Tt;if(!_||IT(_)){tn=0,Va=null;var Y=N.sibling;if(Y!==null)Tt=Y;else{var se=N.return;se!==null?(Tt=se,bm(se)):Tt=null}break t}}tn=0,Va=null,Sd(i,a,x,5);break;case 6:tn=0,Va=null,Sd(i,a,x,6);break;case 8:Ey(),Xn=6;break e;default:throw Error(r(462))}}QU();break}catch(Ce){Zk(i,Ce)}while(!0);return Ri=vr=null,D.H=c,D.A=m,en=o,Tt!==null?0:(En=null,Nt=0,br(),Xn)}function QU(){for(;Tt!==null&&!Wn();)Jk(Tt)}function Jk(i){var a=Ek(i.alternate,i,_s);i.memoizedProps=i.pendingProps,a===null?bm(i):Tt=a}function Qk(i){var a=i,o=a.alternate;switch(a.tag){case 15:case 0:a=bk(o,a,a.pendingProps,a.type,void 0,Nt);break;case 11:a=bk(o,a,a.pendingProps,a.type.render,a.ref,Nt);break;case 5:kc(a);default:Ck(o,a),a=Tt=bs(a,_s),a=Ek(o,a,_s)}i.memoizedProps=i.pendingProps,a===null?bm(i):Tt=a}function Sd(i,a,o,c){Ri=vr=null,kc(a),Fo=null,to=0;var m=a.return;try{if(BU(i,m,a,o,Nt)){Xn=1,ro(i,Lt(o,i.current)),Tt=null;return}}catch(x){if(m!==null)throw Tt=m,x;Xn=1,ro(i,Lt(o,i.current)),Tt=null;return}a.flags&32768?(St||c===1?i=!0:md||(Nt&536870912)!==0?i=!1:(Cu=i=!0,(c===2||c===9||c===3||c===6)&&(c=Jt.current,c!==null&&c.tag===13&&(c.flags|=16384))),qk(a,i)):bm(a)}function bm(i){var a=i;do{if((a.flags&32768)!==0){qk(a,Cu);return}i=a.return;var o=WU(a.alternate,a,_s);if(o!==null){Tt=o;return}if(a=a.sibling,a!==null){Tt=a;return}Tt=a=i}while(a!==null);Xn===0&&(Xn=5)}function qk(i,a){do{var o=GU(i.alternate,i);if(o!==null){o.flags&=32767,Tt=o;return}if(o=i.return,o!==null&&(o.flags|=32768,o.subtreeFlags=0,o.deletions=null),!a&&(i=i.sibling,i!==null)){Tt=i;return}Tt=i=o}while(i!==null);Xn=6,Tt=null}function $k(i,a,o,c,m,x,_,N,Y){i.cancelPendingCommit=null;do vm();while($r!==0);if((en&6)!==0)throw Error(r(327));if(a!==null){if(a===i.current)throw Error(r(177));if(x=a.lanes|a.childLanes,x|=wi,Nf(i,o,x,_,N,Y),i===En&&(Tt=En=null,Nt=0),vd=a,Ou=i,yd=o,xy=x,Sy=m,Gk=c,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,tY(rn,function(){return iT(),null})):(i.callbackNode=null,i.callbackPriority=0),c=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||c){c=D.T,D.T=null,m=j.p,j.p=2,_=en,en|=4;try{UU(i,a,o)}finally{en=_,j.p=m,D.T=c}}$r=1,eT(),tT(),nT()}}function eT(){if($r===1){$r=0;var i=Ou,a=vd,o=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||o){o=D.T,D.T=null;var c=j.p;j.p=2;var m=en;en|=4;try{Mk(a,i);var x=Ly,_=E(i.containerInfo),N=x.focusedElem,Y=x.selectionRange;if(_!==N&&N&&N.ownerDocument&&v(N.ownerDocument.documentElement,N)){if(Y!==null&&T(N)){var se=Y.start,Ce=Y.end;if(Ce===void 0&&(Ce=se),"selectionStart"in N)N.selectionStart=se,N.selectionEnd=Math.min(Ce,N.value.length);else{var _e=N.ownerDocument||document,ce=_e&&_e.defaultView||window;if(ce.getSelection){var de=ce.getSelection(),ut=N.textContent.length,rt=Math.min(Y.start,ut),un=Y.end===void 0?rt:Math.min(Y.end,ut);!de.extend&&rt>un&&(_=un,un=rt,rt=_);var ne=h(N,rt),q=h(N,un);if(ne&&q&&(de.rangeCount!==1||de.anchorNode!==ne.node||de.anchorOffset!==ne.offset||de.focusNode!==q.node||de.focusOffset!==q.offset)){var ae=_e.createRange();ae.setStart(ne.node,ne.offset),de.removeAllRanges(),rt>un?(de.addRange(ae),de.extend(q.node,q.offset)):(ae.setEnd(q.node,q.offset),de.addRange(ae))}}}}for(_e=[],de=N;de=de.parentNode;)de.nodeType===1&&_e.push({element:de,left:de.scrollLeft,top:de.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<_e.length;N++){var Te=_e[N];Te.element.scrollLeft=Te.left,Te.element.scrollTop=Te.top}}Rm=!!My,Ly=My=null}finally{en=m,j.p=c,D.T=o}}i.current=a,$r=2}}function tT(){if($r===2){$r=0;var i=Ou,a=vd,o=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||o){o=D.T,D.T=null;var c=j.p;j.p=2;var m=en;en|=4;try{Ik(i,a.alternate,a)}finally{en=m,j.p=c,D.T=o}}$r=3}}function nT(){if($r===4||$r===3){$r=0,kt();var i=Ou,a=vd,o=yd,c=Gk;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?$r=5:($r=0,vd=Ou=null,rT(i,i.pendingLanes));var m=i.pendingLanes;if(m===0&&(Tu=null),Kn(o),a=a.stateNode,Ie&&typeof Ie.onCommitFiberRoot=="function")try{Ie.onCommitFiberRoot(pe,a,void 0,(a.current.flags&128)===128)}catch{}if(c!==null){a=D.T,m=j.p,j.p=2,D.T=null;try{for(var x=i.onRecoverableError,_=0;_<c.length;_++){var N=c[_];x(N.value,{componentStack:N.stack})}}finally{D.T=a,j.p=m}}(yd&3)!==0&&vm(),Go(i),m=i.pendingLanes,(o&4194090)!==0&&(m&42)!==0?i===Ay?sg++:(sg=0,Ay=i):sg=0,ug(0)}}function rT(i,a){(i.pooledCacheLanes&=a)===0&&(a=i.pooledCache,a!=null&&(i.pooledCache=null,Ta(a)))}function vm(i){return eT(),tT(),nT(),iT()}function iT(){if($r!==5)return!1;var i=Ou,a=xy;xy=0;var o=Kn(yd),c=D.T,m=j.p;try{j.p=32>o?32:o,D.T=null,o=Sy,Sy=null;var x=Ou,_=yd;if($r=0,vd=Ou=null,yd=0,(en&6)!==0)throw Error(r(331));var N=en;if(en|=4,Hk(x.current),Fk(x,x.current,_,o),en=N,ug(0,!1),Ie&&typeof Ie.onPostCommitFiberRoot=="function")try{Ie.onPostCommitFiberRoot(pe,x)}catch{}return!0}finally{j.p=m,D.T=c,rT(i,a)}}function aT(i,a,o){a=Lt(o,a),a=hd(i.stateNode,a,2),i=re(i,a,2),i!==null&&(Al(i,2),Go(i))}function pn(i,a,o){if(i.tag===3)aT(i,i,o);else for(;a!==null;){if(a.tag===3){aT(a,i,o);break}else if(a.tag===1){var c=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Tu===null||!Tu.has(c))){i=Lt(o,i),o=uk(2),c=re(a,o,2),c!==null&&(ck(o,c,a,i),Al(c,2),Go(c));break}}a=a.return}}function ky(i,a,o){var c=i.pingCache;if(c===null){c=i.pingCache=new ZU;var m=new Set;c.set(a,m)}else m=c.get(a),m===void 0&&(m=new Set,c.set(a,m));m.has(o)||(my=!0,m.add(o),i=qU.bind(null,i,a,o),a.then(i,i))}function qU(i,a,o){var c=i.pingCache;c!==null&&c.delete(a),i.pingedLanes|=i.suspendedLanes&o,i.warmLanes&=~o,En===i&&(Nt&o)===o&&(Xn===4||Xn===3&&(Nt&62914560)===Nt&&300>nn()-yy?(en&2)===0&&xd(i,0):by|=o,bd===Nt&&(bd=0)),Go(i)}function lT(i,a){a===0&&(a=xi()),i=kn(i,a),i!==null&&(Al(i,a),Go(i))}function $U(i){var a=i.memoizedState,o=0;a!==null&&(o=a.retryLane),lT(i,o)}function eY(i,a){var o=0;switch(i.tag){case 13:var c=i.stateNode,m=i.memoizedState;m!==null&&(o=m.retryLane);break;case 19:c=i.stateNode;break;case 22:c=i.stateNode._retryCache;break;default:throw Error(r(314))}c!==null&&c.delete(a),lT(i,o)}function tY(i,a){return ct(i,a)}var ym=null,Ad=null,Ty=!1,xm=!1,Oy=!1,Zc=0;function Go(i){i!==Ad&&i.next===null&&(Ad===null?ym=Ad=i:Ad=Ad.next=i),xm=!0,Ty||(Ty=!0,rY())}function ug(i,a){if(!Oy&&xm){Oy=!0;do for(var o=!1,c=ym;c!==null;){if(i!==0){var m=c.pendingLanes;if(m===0)var x=0;else{var _=c.suspendedLanes,N=c.pingedLanes;x=(1<<31-Xe(42|i)+1)-1,x&=m&~(_&~N),x=x&201326741?x&201326741|1:x?x|2:0}x!==0&&(o=!0,cT(c,x))}else x=Nt,x=dt(c,c===En?x:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(x&3)===0||Qt(c,x)||(o=!0,cT(c,x));c=c.next}while(o);Oy=!1}}function nY(){oT()}function oT(){xm=Ty=!1;var i=0;Zc!==0&&(fY()&&(i=Zc),Zc=0);for(var a=nn(),o=null,c=ym;c!==null;){var m=c.next,x=sT(c,a);x===0?(c.next=null,o===null?ym=m:o.next=m,m===null&&(Ad=o)):(o=c,(i!==0||(x&3)!==0)&&(xm=!0)),c=m}ug(i)}function sT(i,a){for(var o=i.suspendedLanes,c=i.pingedLanes,m=i.expirationTimes,x=i.pendingLanes&-62914561;0<x;){var _=31-Xe(x),N=1<<_,Y=m[_];Y===-1?((N&o)===0||(N&c)!==0)&&(m[_]=Fr(N,a)):Y<=a&&(i.expiredLanes|=N),x&=~N}if(a=En,o=Nt,o=dt(i,i===a?o:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),c=i.callbackNode,o===0||i===a&&(tn===2||tn===9)||i.cancelPendingCommit!==null)return c!==null&&c!==null&&Yt(c),i.callbackNode=null,i.callbackPriority=0;if((o&3)===0||Qt(i,o)){if(a=o&-o,a===i.callbackPriority)return a;switch(c!==null&&Yt(c),Kn(o)){case 2:case 8:o=Mn;break;case 32:o=rn;break;case 268435456:o=wn;break;default:o=rn}return c=uT.bind(null,i),o=ct(o,c),i.callbackPriority=a,i.callbackNode=o,a}return c!==null&&c!==null&&Yt(c),i.callbackPriority=2,i.callbackNode=null,2}function uT(i,a){if($r!==0&&$r!==5)return i.callbackNode=null,i.callbackPriority=0,null;var o=i.callbackNode;if(vm()&&i.callbackNode!==o)return null;var c=Nt;return c=dt(i,i===En?c:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),c===0?null:(Yk(i,c,a),sT(i,nn()),i.callbackNode!=null&&i.callbackNode===o?uT.bind(null,i):null)}function cT(i,a){if(vm())return null;Yk(i,a,!0)}function rY(){hY(function(){(en&6)!==0?ct(Lr,nY):oT()})}function _y(){return Zc===0&&(Zc=fa()),Zc}function fT(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:Pl(""+i)}function dT(i,a){var o=a.ownerDocument.createElement("input");return o.name=a.name,o.value=a.value,i.id&&o.setAttribute("form",i.id),a.parentNode.insertBefore(o,a),i=new FormData(i),o.parentNode.removeChild(o),i}function iY(i,a,o,c,m){if(a==="submit"&&o&&o.stateNode===m){var x=fT((m[Mt]||null).action),_=c.submitter;_&&(a=(a=_[Mt]||null)?fT(a.formAction):_.getAttribute("formAction"),a!==null&&(x=a,_=null));var N=new va("action","action",null,c,m);i.push({event:N,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(Zc!==0){var Y=_?dT(m,_):new FormData(m);ld(o,{pending:!0,data:Y,method:m.method,action:x},null,Y)}}else typeof x=="function"&&(N.preventDefault(),Y=_?dT(m,_):new FormData(m),ld(o,{pending:!0,data:Y,method:m.method,action:x},x,Y))},currentTarget:m}]})}}for(var Ry=0;Ry<Pn.length;Ry++){var Py=Pn[Ry],aY=Py.toLowerCase(),lY=Py[0].toUpperCase()+Py.slice(1);jt(aY,"on"+lY)}jt(lt,"onAnimationEnd"),jt(Ft,"onAnimationIteration"),jt(Vt,"onAnimationStart"),jt("dblclick","onDoubleClick"),jt("focusin","onFocus"),jt("focusout","onBlur"),jt(Bt,"onTransitionRun"),jt(an,"onTransitionStart"),jt(Ze,"onTransitionCancel"),jt(yn,"onTransitionEnd"),Eo("onMouseEnter",["mouseout","mouseover"]),Eo("onMouseLeave",["mouseout","mouseover"]),Eo("onPointerEnter",["pointerout","pointerover"]),Eo("onPointerLeave",["pointerout","pointerover"]),Cl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Cl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Cl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Cl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Cl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Cl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var cg="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(" "),oY=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(cg));function hT(i,a){a=(a&4)!==0;for(var o=0;o<i.length;o++){var c=i[o],m=c.event;c=c.listeners;e:{var x=void 0;if(a)for(var _=c.length-1;0<=_;_--){var N=c[_],Y=N.instance,se=N.currentTarget;if(N=N.listener,Y!==x&&m.isPropagationStopped())break e;x=N,m.currentTarget=se;try{x(m)}catch(Ce){Su(Ce)}m.currentTarget=null,x=Y}else for(_=0;_<c.length;_++){if(N=c[_],Y=N.instance,se=N.currentTarget,N=N.listener,Y!==x&&m.isPropagationStopped())break e;x=N,m.currentTarget=se;try{x(m)}catch(Ce){Su(Ce)}m.currentTarget=null,x=Y}}}}function Ot(i,a){var o=a[ts];o===void 0&&(o=a[ts]=new Set);var c=i+"__bubble";o.has(c)||(gT(a,i,2,!1),o.add(c))}function Iy(i,a,o){var c=0;a&&(c|=4),gT(o,i,c,a)}var Sm="_reactListening"+Math.random().toString(36).slice(2);function zy(i){if(!i[Sm]){i[Sm]=!0,Mf.forEach(function(o){o!=="selectionchange"&&(oY.has(o)||Iy(o,!1,i),Iy(o,!0,i))});var a=i.nodeType===9?i:i.ownerDocument;a===null||a[Sm]||(a[Sm]=!0,Iy("selectionchange",!1,a))}}function gT(i,a,o,c){switch(FT(a)){case 2:var m=NY;break;case 8:m=DY;break;default:m=Zy}o=m.bind(null,a,o,i),m=void 0,!ko||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(m=!0),c?m!==void 0?i.addEventListener(a,o,{capture:!0,passive:m}):i.addEventListener(a,o,!0):m!==void 0?i.addEventListener(a,o,{passive:m}):i.addEventListener(a,o,!1)}function Ny(i,a,o,c,m){var x=c;if((a&1)===0&&(a&2)===0&&c!==null)e:for(;;){if(c===null)return;var _=c.tag;if(_===3||_===4){var N=c.stateNode.containerInfo;if(N===m)break;if(_===4)for(_=c.return;_!==null;){var Y=_.tag;if((Y===3||Y===4)&&_.stateNode.containerInfo===m)return;_=_.return}for(;N!==null;){if(_=Cn(N),_===null)return;if(Y=_.tag,Y===5||Y===6||Y===26||Y===27){c=x=_;continue e}N=N.parentNode}}c=c.return}os(function(){var se=x,Ce=bc(o),_e=[];e:{var ce=vt.get(i);if(ce!==void 0){var de=va,ut=i;switch(i){case"keypress":if(Ei(o)===0)break e;case"keydown":case"keyup":de=zh;break;case"focusin":ut="focus",de=Ml;break;case"focusout":ut="blur",de=Ml;break;case"beforeblur":case"afterblur":de=Ml;break;case"click":if(o.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":de=Wf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":de=Uf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":de=cs;break;case lt:case Ft:case Vt:de=tu;break;case yn:de=Vl;break;case"scroll":case"scrollend":de=Hf;break;case"wheel":de=Er;break;case"copy":case"cut":case"paste":de=vc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":de=To;break;case"toggle":case"beforetoggle":de=fs}var rt=(a&4)!==0,un=!rt&&(i==="scroll"||i==="scrollend"),ne=rt?ce!==null?ce+"Capture":null:ce;rt=[];for(var q=se,ae;q!==null;){var Te=q;if(ae=Te.stateNode,Te=Te.tag,Te!==5&&Te!==26&&Te!==27||ae===null||ne===null||(Te=zt(q,ne),Te!=null&&rt.push(fg(q,Te,ae))),un)break;q=q.return}0<rt.length&&(ce=new de(ce,ut,null,o,Ce),_e.push({event:ce,listeners:rt}))}}if((a&7)===0){e:{if(ce=i==="mouseover"||i==="pointerover",de=i==="mouseout"||i==="pointerout",ce&&o!==mc&&(ut=o.relatedTarget||o.fromElement)&&(Cn(ut)||ut[El]))break e;if((de||ce)&&(ce=Ce.window===Ce?Ce:(ce=Ce.ownerDocument)?ce.defaultView||ce.parentWindow:window,de?(ut=o.relatedTarget||o.toElement,de=se,ut=ut?Cn(ut):null,ut!==null&&(un=s(ut),rt=ut.tag,ut!==un||rt!==5&&rt!==27&&rt!==6)&&(ut=null)):(de=null,ut=se),de!==ut)){if(rt=Wf,Te="onMouseLeave",ne="onMouseEnter",q="mouse",(i==="pointerout"||i==="pointerover")&&(rt=To,Te="onPointerLeave",ne="onPointerEnter",q="pointer"),un=de==null?ce:Jn(de),ae=ut==null?ce:Jn(ut),ce=new rt(Te,q+"leave",de,o,Ce),ce.target=un,ce.relatedTarget=ae,Te=null,Cn(Ce)===se&&(rt=new rt(ne,q+"enter",ut,o,Ce),rt.target=ae,rt.relatedTarget=un,Te=rt),un=Te,de&&ut)t:{for(rt=de,ne=ut,q=0,ae=rt;ae;ae=Ed(ae))q++;for(ae=0,Te=ne;Te;Te=Ed(Te))ae++;for(;0<q-ae;)rt=Ed(rt),q--;for(;0<ae-q;)ne=Ed(ne),ae--;for(;q--;){if(rt===ne||ne!==null&&rt===ne.alternate)break t;rt=Ed(rt),ne=Ed(ne)}rt=null}else rt=null;de!==null&&pT(_e,ce,de,rt,!1),ut!==null&&un!==null&&pT(_e,un,ut,rt,!0)}}e:{if(ce=se?Jn(se):window,de=ce.nodeName&&ce.nodeName.toLowerCase(),de==="select"||de==="input"&&ce.type==="file")var Ye=Sc;else if(lu(ce))if(su)Ye=Wl;else{Ye=Ac;var Et=uu}else de=ce.nodeName,!de||de.toLowerCase()!=="input"||ce.type!=="checkbox"&&ce.type!=="radio"?se&&Rl(se.elementType)&&(Ye=Sc):Ye=ms;if(Ye&&(Ye=Ye(i,se))){ou(_e,Ye,o,Ce);break e}Et&&Et(i,ce,se),i==="focusout"&&se&&ce.type==="number"&&se.memoizedProps.value!=null&&_l(ce,"number",ce.value)}switch(Et=se?Jn(se):window,i){case"focusin":(lu(Et)||Et.contentEditable==="true")&&(F=Et,J=se,ve=null);break;case"focusout":ve=J=F=null;break;case"mousedown":ie=!0;break;case"contextmenu":case"mouseup":case"dragend":ie=!1,he(_e,o,Ce);break;case"selectionchange":if(I)break;case"keydown":case"keyup":he(_e,o,Ce)}var qe;if(ds)e:{switch(i){case"compositionstart":var at="onCompositionStart";break e;case"compositionend":at="onCompositionEnd";break e;case"compositionupdate":at="onCompositionUpdate";break e}at=void 0}else xa?hs(i,o)&&(at="onCompositionEnd"):i==="keydown"&&o.keyCode===229&&(at="onCompositionStart");at&&(Zr&&o.locale!=="ko"&&(xa||at!=="onCompositionStart"?at==="onCompositionEnd"&&xa&&(qe=Nl()):(ai=Ce,Il="value"in ai?ai.value:ai.textContent,xa=!0)),Et=Am(se,at),0<Et.length&&(at=new Ll(at,i,null,o,Ce),_e.push({event:at,listeners:Et}),qe?at.data=qe:(qe=au(o),qe!==null&&(at.data=qe)))),(qe=xc?Kr(i,o):Nh(i,o))&&(at=Am(se,"onBeforeInput"),0<at.length&&(Et=new Ll("onBeforeInput","beforeinput",null,o,Ce),_e.push({event:Et,listeners:at}),Et.data=qe)),iY(_e,i,se,o,Ce)}hT(_e,a)})}function fg(i,a,o){return{instance:i,listener:a,currentTarget:o}}function Am(i,a){for(var o=a+"Capture",c=[];i!==null;){var m=i,x=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||x===null||(m=zt(i,o),m!=null&&c.unshift(fg(i,m,x)),m=zt(i,a),m!=null&&c.push(fg(i,m,x))),i.tag===3)return c;i=i.return}return[]}function Ed(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function pT(i,a,o,c,m){for(var x=a._reactName,_=[];o!==null&&o!==c;){var N=o,Y=N.alternate,se=N.stateNode;if(N=N.tag,Y!==null&&Y===c)break;N!==5&&N!==26&&N!==27||se===null||(Y=se,m?(se=zt(o,x),se!=null&&_.unshift(fg(o,se,Y))):m||(se=zt(o,x),se!=null&&_.push(fg(o,se,Y)))),o=o.return}_.length!==0&&i.push({event:a,listeners:_})}var sY=/\r\n?/g,uY=/\u0000|\uFFFD/g;function mT(i){return(typeof i=="string"?i:""+i).replace(sY,`
49
+ `).replace(uY,"")}function bT(i,a){return a=mT(a),mT(i)===a}function Em(){}function sn(i,a,o,c,m,x){switch(o){case"children":typeof c=="string"?a==="body"||a==="textarea"&&c===""||Co(i,c):(typeof c=="number"||typeof c=="bigint")&&a!=="body"&&Co(i,""+c);break;case"className":ga(i,"class",c);break;case"tabIndex":ga(i,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":ga(i,o,c);break;case"style":ja(i,c,x);break;case"data":if(a!=="object"){ga(i,"data",c);break}case"src":case"href":if(c===""&&(a!=="a"||o!=="href")){i.removeAttribute(o);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){i.removeAttribute(o);break}c=Pl(""+c),i.setAttribute(o,c);break;case"action":case"formAction":if(typeof c=="function"){i.setAttribute(o,"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 x=="function"&&(o==="formAction"?(a!=="input"&&sn(i,a,"name",m.name,m,null),sn(i,a,"formEncType",m.formEncType,m,null),sn(i,a,"formMethod",m.formMethod,m,null),sn(i,a,"formTarget",m.formTarget,m,null)):(sn(i,a,"encType",m.encType,m,null),sn(i,a,"method",m.method,m,null),sn(i,a,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){i.removeAttribute(o);break}c=Pl(""+c),i.setAttribute(o,c);break;case"onClick":c!=null&&(i.onclick=Em);break;case"onScroll":c!=null&&Ot("scroll",i);break;case"onScrollEnd":c!=null&&Ot("scrollend",i);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));i.innerHTML=o}}break;case"multiple":i.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":i.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){i.removeAttribute("xlink:href");break}o=Pl(""+c),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?i.setAttribute(o,""+c):i.removeAttribute(o);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":c&&typeof c!="function"&&typeof c!="symbol"?i.setAttribute(o,""):i.removeAttribute(o);break;case"capture":case"download":c===!0?i.setAttribute(o,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?i.setAttribute(o,c):i.removeAttribute(o);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?i.setAttribute(o,c):i.removeAttribute(o);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?i.removeAttribute(o):i.setAttribute(o,c);break;case"popover":Ot("beforetoggle",i),Ot("toggle",i),Tl(i,"popover",c);break;case"xlinkActuate":Wr(i,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":Wr(i,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":Wr(i,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":Wr(i,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":Wr(i,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":Wr(i,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":Wr(i,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":Wr(i,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":Wr(i,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Tl(i,"is",c);break;case"innerText":case"textContent":break;default:(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(o=_h.get(o)||o,Tl(i,o,c))}}function Dy(i,a,o,c,m,x){switch(o){case"style":ja(i,c,x);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(r(61));if(o=c.__html,o!=null){if(m.children!=null)throw Error(r(60));i.innerHTML=o}}break;case"children":typeof c=="string"?Co(i,c):(typeof c=="number"||typeof c=="bigint")&&Co(i,""+c);break;case"onScroll":c!=null&&Ot("scroll",i);break;case"onScrollEnd":c!=null&&Ot("scrollend",i);break;case"onClick":c!=null&&(i.onclick=Em);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!dc.hasOwnProperty(o))e:{if(o[0]==="o"&&o[1]==="n"&&(m=o.endsWith("Capture"),a=o.slice(2,m?o.length-7:void 0),x=i[Mt]||null,x=x!=null?x[o]:null,typeof x=="function"&&i.removeEventListener(a,x,m),typeof c=="function")){typeof x!="function"&&x!==null&&(o in i?i[o]=null:i.hasAttribute(o)&&i.removeAttribute(o)),i.addEventListener(a,c,m);break e}o in i?i[o]=c:c===!0?i.setAttribute(o,""):Tl(i,o,c)}}}function ei(i,a,o){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ot("error",i),Ot("load",i);var c=!1,m=!1,x;for(x in o)if(o.hasOwnProperty(x)){var _=o[x];if(_!=null)switch(x){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:sn(i,a,x,_,o,null)}}m&&sn(i,a,"srcSet",o.srcSet,o,null),c&&sn(i,a,"src",o.src,o,null);return;case"input":Ot("invalid",i);var N=x=_=m=null,Y=null,se=null;for(c in o)if(o.hasOwnProperty(c)){var Ce=o[c];if(Ce!=null)switch(c){case"name":m=Ce;break;case"type":_=Ce;break;case"checked":Y=Ce;break;case"defaultChecked":se=Ce;break;case"value":x=Ce;break;case"defaultValue":N=Ce;break;case"children":case"dangerouslySetInnerHTML":if(Ce!=null)throw Error(r(137,a));break;default:sn(i,a,c,Ce,o,null)}}pa(i,x,N,Y,se,_,m,!1),Ai(i);return;case"select":Ot("invalid",i),c=_=x=null;for(m in o)if(o.hasOwnProperty(m)&&(N=o[m],N!=null))switch(m){case"value":x=N;break;case"defaultValue":_=N;break;case"multiple":c=N;default:sn(i,a,m,N,o,null)}a=x,o=_,i.multiple=!!c,a!=null?wo(i,!!c,a,!1):o!=null&&wo(i,!!c,o,!0);return;case"textarea":Ot("invalid",i),x=m=c=null;for(_ in o)if(o.hasOwnProperty(_)&&(N=o[_],N!=null))switch(_){case"value":c=N;break;case"defaultValue":m=N;break;case"children":x=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(r(91));break;default:sn(i,a,_,N,o,null)}as(i,c,m,x),Ai(i);return;case"option":for(Y in o)if(o.hasOwnProperty(Y)&&(c=o[Y],c!=null))switch(Y){case"selected":i.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:sn(i,a,Y,c,o,null)}return;case"dialog":Ot("beforetoggle",i),Ot("toggle",i),Ot("cancel",i),Ot("close",i);break;case"iframe":case"object":Ot("load",i);break;case"video":case"audio":for(c=0;c<cg.length;c++)Ot(cg[c],i);break;case"image":Ot("error",i),Ot("load",i);break;case"details":Ot("toggle",i);break;case"embed":case"source":case"link":Ot("error",i),Ot("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(se in o)if(o.hasOwnProperty(se)&&(c=o[se],c!=null))switch(se){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,a));default:sn(i,a,se,c,o,null)}return;default:if(Rl(a)){for(Ce in o)o.hasOwnProperty(Ce)&&(c=o[Ce],c!==void 0&&Dy(i,a,Ce,c,o,void 0));return}}for(N in o)o.hasOwnProperty(N)&&(c=o[N],c!=null&&sn(i,a,N,c,o,null))}function cY(i,a,o,c){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,x=null,_=null,N=null,Y=null,se=null,Ce=null;for(de in o){var _e=o[de];if(o.hasOwnProperty(de)&&_e!=null)switch(de){case"checked":break;case"value":break;case"defaultValue":Y=_e;default:c.hasOwnProperty(de)||sn(i,a,de,null,c,_e)}}for(var ce in c){var de=c[ce];if(_e=o[ce],c.hasOwnProperty(ce)&&(de!=null||_e!=null))switch(ce){case"type":x=de;break;case"name":m=de;break;case"checked":se=de;break;case"defaultChecked":Ce=de;break;case"value":_=de;break;case"defaultValue":N=de;break;case"children":case"dangerouslySetInnerHTML":if(de!=null)throw Error(r(137,a));break;default:de!==_e&&sn(i,a,ce,de,c,_e)}}Ks(i,_,N,Y,se,Ce,x,m);return;case"select":de=_=N=ce=null;for(x in o)if(Y=o[x],o.hasOwnProperty(x)&&Y!=null)switch(x){case"value":break;case"multiple":de=Y;default:c.hasOwnProperty(x)||sn(i,a,x,null,c,Y)}for(m in c)if(x=c[m],Y=o[m],c.hasOwnProperty(m)&&(x!=null||Y!=null))switch(m){case"value":ce=x;break;case"defaultValue":N=x;break;case"multiple":_=x;default:x!==Y&&sn(i,a,m,x,c,Y)}a=N,o=_,c=de,ce!=null?wo(i,!!o,ce,!1):!!c!=!!o&&(a!=null?wo(i,!!o,a,!0):wo(i,!!o,o?[]:"",!1));return;case"textarea":de=ce=null;for(N in o)if(m=o[N],o.hasOwnProperty(N)&&m!=null&&!c.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:sn(i,a,N,null,c,m)}for(_ in c)if(m=c[_],x=o[_],c.hasOwnProperty(_)&&(m!=null||x!=null))switch(_){case"value":ce=m;break;case"defaultValue":de=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(r(91));break;default:m!==x&&sn(i,a,_,m,c,x)}js(i,ce,de);return;case"option":for(var ut in o)if(ce=o[ut],o.hasOwnProperty(ut)&&ce!=null&&!c.hasOwnProperty(ut))switch(ut){case"selected":i.selected=!1;break;default:sn(i,a,ut,null,c,ce)}for(Y in c)if(ce=c[Y],de=o[Y],c.hasOwnProperty(Y)&&ce!==de&&(ce!=null||de!=null))switch(Y){case"selected":i.selected=ce&&typeof ce!="function"&&typeof ce!="symbol";break;default:sn(i,a,Y,ce,c,de)}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 rt in o)ce=o[rt],o.hasOwnProperty(rt)&&ce!=null&&!c.hasOwnProperty(rt)&&sn(i,a,rt,null,c,ce);for(se in c)if(ce=c[se],de=o[se],c.hasOwnProperty(se)&&ce!==de&&(ce!=null||de!=null))switch(se){case"children":case"dangerouslySetInnerHTML":if(ce!=null)throw Error(r(137,a));break;default:sn(i,a,se,ce,c,de)}return;default:if(Rl(a)){for(var un in o)ce=o[un],o.hasOwnProperty(un)&&ce!==void 0&&!c.hasOwnProperty(un)&&Dy(i,a,un,void 0,c,ce);for(Ce in c)ce=c[Ce],de=o[Ce],!c.hasOwnProperty(Ce)||ce===de||ce===void 0&&de===void 0||Dy(i,a,Ce,ce,c,de);return}}for(var ne in o)ce=o[ne],o.hasOwnProperty(ne)&&ce!=null&&!c.hasOwnProperty(ne)&&sn(i,a,ne,null,c,ce);for(_e in c)ce=c[_e],de=o[_e],!c.hasOwnProperty(_e)||ce===de||ce==null&&de==null||sn(i,a,_e,ce,c,de)}var My=null,Ly=null;function wm(i){return i.nodeType===9?i:i.ownerDocument}function vT(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yT(i,a){if(i===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&a==="foreignObject"?0:i}function Fy(i,a){return i==="textarea"||i==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Vy=null;function fY(){var i=window.event;return i&&i.type==="popstate"?i===Vy?!1:(Vy=i,!0):(Vy=null,!1)}var xT=typeof setTimeout=="function"?setTimeout:void 0,dY=typeof clearTimeout=="function"?clearTimeout:void 0,ST=typeof Promise=="function"?Promise:void 0,hY=typeof queueMicrotask=="function"?queueMicrotask:typeof ST<"u"?function(i){return ST.resolve(null).then(i).catch(gY)}:xT;function gY(i){setTimeout(function(){throw i})}function Ru(i){return i==="head"}function AT(i,a){var o=a,c=0,m=0;do{var x=o.nextSibling;if(i.removeChild(o),x&&x.nodeType===8)if(o=x.data,o==="/$"){if(0<c&&8>c){o=c;var _=i.ownerDocument;if(o&1&&dg(_.documentElement),o&2&&dg(_.body),o&4)for(o=_.head,dg(o),_=o.firstChild;_;){var N=_.nextSibling,Y=_.nodeName;_[Ao]||Y==="SCRIPT"||Y==="STYLE"||Y==="LINK"&&_.rel.toLowerCase()==="stylesheet"||o.removeChild(_),_=N}}if(m===0){i.removeChild(x),xg(a);return}m--}else o==="$"||o==="$?"||o==="$!"?m++:c=o.charCodeAt(0)-48;else c=0;o=x}while(o);xg(a)}function By(i){var a=i.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var o=a;switch(a=a.nextSibling,o.nodeName){case"HTML":case"HEAD":case"BODY":By(o),Rt(o);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(o.rel.toLowerCase()==="stylesheet")continue}i.removeChild(o)}}function pY(i,a,o,c){for(;i.nodeType===1;){var m=o;if(i.nodeName.toLowerCase()!==a.toLowerCase()){if(!c&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(c){if(!i[Ao])switch(a){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(x=i.getAttribute("rel"),x==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(x!==m.rel||i.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||i.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||i.getAttribute("title")!==(m.title==null?null:m.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(x=i.getAttribute("src"),(x!==(m.src==null?null:m.src)||i.getAttribute("type")!==(m.type==null?null:m.type)||i.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&x&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(a==="input"&&i.type==="hidden"){var x=m.name==null?null:""+m.name;if(m.type==="hidden"&&i.getAttribute("name")===x)return i}else return i;if(i=ao(i.nextSibling),i===null)break}return null}function mY(i,a,o){if(a==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!o||(i=ao(i.nextSibling),i===null))return null;return i}function Hy(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState==="complete"}function bY(i,a){var o=i.ownerDocument;if(i.data!=="$?"||o.readyState==="complete")a();else{var c=function(){a(),o.removeEventListener("DOMContentLoaded",c)};o.addEventListener("DOMContentLoaded",c),i._reactRetry=c}}function ao(i){for(;i!=null;i=i.nextSibling){var a=i.nodeType;if(a===1||a===3)break;if(a===8){if(a=i.data,a==="$"||a==="$!"||a==="$?"||a==="F!"||a==="F")break;if(a==="/$")return null}}return i}var Wy=null;function ET(i){i=i.previousSibling;for(var a=0;i;){if(i.nodeType===8){var o=i.data;if(o==="$"||o==="$!"||o==="$?"){if(a===0)return i;a--}else o==="/$"&&a++}i=i.previousSibling}return null}function wT(i,a,o){switch(a=wm(o),i){case"html":if(i=a.documentElement,!i)throw Error(r(452));return i;case"head":if(i=a.head,!i)throw Error(r(453));return i;case"body":if(i=a.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function dg(i){for(var a=i.attributes;a.length;)i.removeAttributeNode(a[0]);Rt(i)}var dl=new Map,CT=new Set;function Cm(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Rs=j.d;j.d={f:vY,r:yY,D:xY,C:SY,L:AY,m:EY,X:CY,S:wY,M:kY};function vY(){var i=Rs.f(),a=mm();return i||a}function yY(i){var a=Hi(i);a!==null&&a.tag===5&&a.type==="form"?od(a):Rs.r(i)}var wd=typeof document>"u"?null:document;function kT(i,a,o){var c=wd;if(c&&typeof a=="string"&&a){var m=Ur(a);m='link[rel="'+i+'"][href="'+m+'"]',typeof o=="string"&&(m+='[crossorigin="'+o+'"]'),CT.has(m)||(CT.add(m),i={rel:i,crossOrigin:o,href:a},c.querySelector(m)===null&&(a=c.createElement("link"),ei(a,"link",i),Rn(a),c.head.appendChild(a)))}}function xY(i){Rs.D(i),kT("dns-prefetch",i,null)}function SY(i,a){Rs.C(i,a),kT("preconnect",i,a)}function AY(i,a,o){Rs.L(i,a,o);var c=wd;if(c&&i&&a){var m='link[rel="preload"][as="'+Ur(a)+'"]';a==="image"&&o&&o.imageSrcSet?(m+='[imagesrcset="'+Ur(o.imageSrcSet)+'"]',typeof o.imageSizes=="string"&&(m+='[imagesizes="'+Ur(o.imageSizes)+'"]')):m+='[href="'+Ur(i)+'"]';var x=m;switch(a){case"style":x=Cd(i);break;case"script":x=kd(i)}dl.has(x)||(i=y({rel:"preload",href:a==="image"&&o&&o.imageSrcSet?void 0:i,as:a},o),dl.set(x,i),c.querySelector(m)!==null||a==="style"&&c.querySelector(hg(x))||a==="script"&&c.querySelector(gg(x))||(a=c.createElement("link"),ei(a,"link",i),Rn(a),c.head.appendChild(a)))}}function EY(i,a){Rs.m(i,a);var o=wd;if(o&&i){var c=a&&typeof a.as=="string"?a.as:"script",m='link[rel="modulepreload"][as="'+Ur(c)+'"][href="'+Ur(i)+'"]',x=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":x=kd(i)}if(!dl.has(x)&&(i=y({rel:"modulepreload",href:i},a),dl.set(x,i),o.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(o.querySelector(gg(x)))return}c=o.createElement("link"),ei(c,"link",i),Rn(c),o.head.appendChild(c)}}}function wY(i,a,o){Rs.S(i,a,o);var c=wd;if(c&&i){var m=wl(c).hoistableStyles,x=Cd(i);a=a||"default";var _=m.get(x);if(!_){var N={loading:0,preload:null};if(_=c.querySelector(hg(x)))N.loading=5;else{i=y({rel:"stylesheet",href:i,"data-precedence":a},o),(o=dl.get(x))&&Gy(i,o);var Y=_=c.createElement("link");Rn(Y),ei(Y,"link",i),Y._p=new Promise(function(se,Ce){Y.onload=se,Y.onerror=Ce}),Y.addEventListener("load",function(){N.loading|=1}),Y.addEventListener("error",function(){N.loading|=2}),N.loading|=4,km(_,a,c)}_={type:"stylesheet",instance:_,count:1,state:N},m.set(x,_)}}}function CY(i,a){Rs.X(i,a);var o=wd;if(o&&i){var c=wl(o).hoistableScripts,m=kd(i),x=c.get(m);x||(x=o.querySelector(gg(m)),x||(i=y({src:i,async:!0},a),(a=dl.get(m))&&Uy(i,a),x=o.createElement("script"),Rn(x),ei(x,"link",i),o.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},c.set(m,x))}}function kY(i,a){Rs.M(i,a);var o=wd;if(o&&i){var c=wl(o).hoistableScripts,m=kd(i),x=c.get(m);x||(x=o.querySelector(gg(m)),x||(i=y({src:i,async:!0,type:"module"},a),(a=dl.get(m))&&Uy(i,a),x=o.createElement("script"),Rn(x),ei(x,"link",i),o.head.appendChild(x)),x={type:"script",instance:x,count:1,state:null},c.set(m,x))}}function TT(i,a,o,c){var m=(m=Me.current)?Cm(m):null;if(!m)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof o.precedence=="string"&&typeof o.href=="string"?(a=Cd(o.href),o=wl(m).hoistableStyles,c=o.get(a),c||(c={type:"style",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(o.rel==="stylesheet"&&typeof o.href=="string"&&typeof o.precedence=="string"){i=Cd(o.href);var x=wl(m).hoistableStyles,_=x.get(i);if(_||(m=m.ownerDocument||m,_={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},x.set(i,_),(x=m.querySelector(hg(i)))&&!x._p&&(_.instance=x,_.state.loading=5),dl.has(i)||(o={rel:"preload",as:"style",href:o.href,crossOrigin:o.crossOrigin,integrity:o.integrity,media:o.media,hrefLang:o.hrefLang,referrerPolicy:o.referrerPolicy},dl.set(i,o),x||TY(m,i,o,_.state))),a&&c===null)throw Error(r(528,""));return _}if(a&&c!==null)throw Error(r(529,""));return null;case"script":return a=o.async,o=o.src,typeof o=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=kd(o),o=wl(m).hoistableScripts,c=o.get(a),c||(c={type:"script",instance:null,count:0,state:null},o.set(a,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function Cd(i){return'href="'+Ur(i)+'"'}function hg(i){return'link[rel="stylesheet"]['+i+"]"}function OT(i){return y({},i,{"data-precedence":i.precedence,precedence:null})}function TY(i,a,o,c){i.querySelector('link[rel="preload"][as="style"]['+a+"]")?c.loading=1:(a=i.createElement("link"),c.preload=a,a.addEventListener("load",function(){return c.loading|=1}),a.addEventListener("error",function(){return c.loading|=2}),ei(a,"link",o),Rn(a),i.head.appendChild(a))}function kd(i){return'[src="'+Ur(i)+'"]'}function gg(i){return"script[async]"+i}function _T(i,a,o){if(a.count++,a.instance===null)switch(a.type){case"style":var c=i.querySelector('style[data-href~="'+Ur(o.href)+'"]');if(c)return a.instance=c,Rn(c),c;var m=y({},o,{"data-href":o.href,"data-precedence":o.precedence,href:null,precedence:null});return c=(i.ownerDocument||i).createElement("style"),Rn(c),ei(c,"style",m),km(c,o.precedence,i),a.instance=c;case"stylesheet":m=Cd(o.href);var x=i.querySelector(hg(m));if(x)return a.state.loading|=4,a.instance=x,Rn(x),x;c=OT(o),(m=dl.get(m))&&Gy(c,m),x=(i.ownerDocument||i).createElement("link"),Rn(x);var _=x;return _._p=new Promise(function(N,Y){_.onload=N,_.onerror=Y}),ei(x,"link",c),a.state.loading|=4,km(x,o.precedence,i),a.instance=x;case"script":return x=kd(o.src),(m=i.querySelector(gg(x)))?(a.instance=m,Rn(m),m):(c=o,(m=dl.get(x))&&(c=y({},o),Uy(c,m)),i=i.ownerDocument||i,m=i.createElement("script"),Rn(m),ei(m,"link",c),i.head.appendChild(m),a.instance=m);case"void":return null;default:throw Error(r(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(c=a.instance,a.state.loading|=4,km(c,o.precedence,i));return a.instance}function km(i,a,o){for(var c=o.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,x=m,_=0;_<c.length;_++){var N=c[_];if(N.dataset.precedence===a)x=N;else if(x!==m)break}x?x.parentNode.insertBefore(i,x.nextSibling):(a=o.nodeType===9?o.head:o,a.insertBefore(i,a.firstChild))}function Gy(i,a){i.crossOrigin==null&&(i.crossOrigin=a.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=a.referrerPolicy),i.title==null&&(i.title=a.title)}function Uy(i,a){i.crossOrigin==null&&(i.crossOrigin=a.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=a.referrerPolicy),i.integrity==null&&(i.integrity=a.integrity)}var Tm=null;function RT(i,a,o){if(Tm===null){var c=new Map,m=Tm=new Map;m.set(o,c)}else m=Tm,c=m.get(o),c||(c=new Map,m.set(o,c));if(c.has(i))return c;for(c.set(i,null),o=o.getElementsByTagName(i),m=0;m<o.length;m++){var x=o[m];if(!(x[Ao]||x[_n]||i==="link"&&x.getAttribute("rel")==="stylesheet")&&x.namespaceURI!=="http://www.w3.org/2000/svg"){var _=x.getAttribute(a)||"";_=i+_;var N=c.get(_);N?N.push(x):c.set(_,[x])}}return c}function PT(i,a,o){i=i.ownerDocument||i,i.head.insertBefore(o,a==="title"?i.querySelector("head > title"):null)}function OY(i,a,o){if(o===1||a.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;switch(a.rel){case"stylesheet":return i=a.disabled,typeof a.precedence=="string"&&i==null;default:return!0}case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function IT(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}var pg=null;function _Y(){}function RY(i,a,o){if(pg===null)throw Error(r(475));var c=pg;if(a.type==="stylesheet"&&(typeof o.media!="string"||matchMedia(o.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var m=Cd(o.href),x=i.querySelector(hg(m));if(x){i=x._p,i!==null&&typeof i=="object"&&typeof i.then=="function"&&(c.count++,c=Om.bind(c),i.then(c,c)),a.state.loading|=4,a.instance=x,Rn(x);return}x=i.ownerDocument||i,o=OT(o),(m=dl.get(m))&&Gy(o,m),x=x.createElement("link"),Rn(x);var _=x;_._p=new Promise(function(N,Y){_.onload=N,_.onerror=Y}),ei(x,"link",o),a.instance=x}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(a,i),(i=a.state.preload)&&(a.state.loading&3)===0&&(c.count++,a=Om.bind(c),i.addEventListener("load",a),i.addEventListener("error",a))}}function PY(){if(pg===null)throw Error(r(475));var i=pg;return i.stylesheets&&i.count===0&&Yy(i,i.stylesheets),0<i.count?function(a){var o=setTimeout(function(){if(i.stylesheets&&Yy(i,i.stylesheets),i.unsuspend){var c=i.unsuspend;i.unsuspend=null,c()}},6e4);return i.unsuspend=a,function(){i.unsuspend=null,clearTimeout(o)}}:null}function Om(){if(this.count--,this.count===0){if(this.stylesheets)Yy(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var _m=null;function Yy(i,a){i.stylesheets=null,i.unsuspend!==null&&(i.count++,_m=new Map,a.forEach(IY,i),_m=null,Om.call(i))}function IY(i,a){if(!(a.state.loading&4)){var o=_m.get(i);if(o)var c=o.get(null);else{o=new Map,_m.set(i,o);for(var m=i.querySelectorAll("link[data-precedence],style[data-precedence]"),x=0;x<m.length;x++){var _=m[x];(_.nodeName==="LINK"||_.getAttribute("media")!=="not all")&&(o.set(_.dataset.precedence,_),c=_)}c&&o.set(null,c)}m=a.instance,_=m.getAttribute("data-precedence"),x=o.get(_)||c,x===c&&o.set(null,m),o.set(_,m),this.count++,c=Om.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),x?x.parentNode.insertBefore(m,x.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(m,i.firstChild)),a.state.loading|=4}}var mg={$$typeof:H,Provider:null,Consumer:null,_currentValue:we,_currentValue2:we,_threadCount:0};function zY(i,a,o,c,m,x,_,N){this.tag=1,this.containerInfo=i,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=es(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=es(0),this.hiddenUpdates=es(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=x,this.onRecoverableError=_,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function zT(i,a,o,c,m,x,_,N,Y,se,Ce,_e){return i=new zY(i,a,o,_,N,Y,se,_e),a=1,x===!0&&(a|=24),x=zn(3,null,null,a),i.current=x,x.stateNode=i,a=ll(),a.refCount++,i.pooledCache=a,a.refCount++,x.memoizedState={element:c,isDehydrated:o,cache:a},X(x),i}function NT(i){return i?(i=Ci,i):Ci}function DT(i,a,o,c,m,x){m=NT(m),c.context===null?c.context=m:c.pendingContext=m,c=Q(a),c.payload={element:o},x=x===void 0?null:x,x!==null&&(c.callback=x),o=re(i,c,a),o!==null&&(Ha(o,i,a),ze(o,i,a))}function MT(i,a){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var o=i.retryLane;i.retryLane=o!==0&&o<a?o:a}}function Xy(i,a){MT(i,a),(i=i.alternate)&&MT(i,a)}function LT(i){if(i.tag===13){var a=kn(i,67108864);a!==null&&Ha(a,i,67108864),Xy(i,67108864)}}var Rm=!0;function NY(i,a,o,c){var m=D.T;D.T=null;var x=j.p;try{j.p=2,Zy(i,a,o,c)}finally{j.p=x,D.T=m}}function DY(i,a,o,c){var m=D.T;D.T=null;var x=j.p;try{j.p=8,Zy(i,a,o,c)}finally{j.p=x,D.T=m}}function Zy(i,a,o,c){if(Rm){var m=Ky(c);if(m===null)Ny(i,a,c,Pm,o),VT(i,c);else if(LY(m,i,a,o,c))c.stopPropagation();else if(VT(i,c),a&4&&-1<MY.indexOf(i)){for(;m!==null;){var x=Hi(m);if(x!==null)switch(x.tag){case 3:if(x=x.stateNode,x.current.memoizedState.isDehydrated){var _=pr(x.pendingLanes);if(_!==0){var N=x;for(N.pendingLanes|=2,N.entangledLanes|=2;_;){var Y=1<<31-Xe(_);N.entanglements[1]|=Y,_&=~Y}Go(x),(en&6)===0&&(gm=nn()+500,ug(0))}}break;case 13:N=kn(x,2),N!==null&&Ha(N,x,2),mm(),Xy(x,2)}if(x=Ky(c),x===null&&Ny(i,a,c,Pm,o),x===m)break;m=x}m!==null&&c.stopPropagation()}else Ny(i,a,c,null,o)}}function Ky(i){return i=bc(i),jy(i)}var Pm=null;function jy(i){if(Pm=null,i=Cn(i),i!==null){var a=s(i);if(a===null)i=null;else{var o=a.tag;if(o===13){if(i=u(a),i!==null)return i;i=null}else if(o===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;i=null}else a!==i&&(i=null)}}return Pm=i,null}function FT(i){switch(i){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(Bi()){case Lr:return 2;case Mn:return 8;case rn:case xt:return 32;case wn:return 268435456;default:return 32}default:return 32}}var Jy=!1,Pu=null,Iu=null,zu=null,bg=new Map,vg=new Map,Nu=[],MY="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 VT(i,a){switch(i){case"focusin":case"focusout":Pu=null;break;case"dragenter":case"dragleave":Iu=null;break;case"mouseover":case"mouseout":zu=null;break;case"pointerover":case"pointerout":bg.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":vg.delete(a.pointerId)}}function yg(i,a,o,c,m,x){return i===null||i.nativeEvent!==x?(i={blockedOn:a,domEventName:o,eventSystemFlags:c,nativeEvent:x,targetContainers:[m]},a!==null&&(a=Hi(a),a!==null&&LT(a)),i):(i.eventSystemFlags|=c,a=i.targetContainers,m!==null&&a.indexOf(m)===-1&&a.push(m),i)}function LY(i,a,o,c,m){switch(a){case"focusin":return Pu=yg(Pu,i,a,o,c,m),!0;case"dragenter":return Iu=yg(Iu,i,a,o,c,m),!0;case"mouseover":return zu=yg(zu,i,a,o,c,m),!0;case"pointerover":var x=m.pointerId;return bg.set(x,yg(bg.get(x)||null,i,a,o,c,m)),!0;case"gotpointercapture":return x=m.pointerId,vg.set(x,yg(vg.get(x)||null,i,a,o,c,m)),!0}return!1}function BT(i){var a=Cn(i.target);if(a!==null){var o=s(a);if(o!==null){if(a=o.tag,a===13){if(a=u(o),a!==null){i.blockedOn=a,jn(i.priority,function(){if(o.tag===13){var c=Ba();c=Xs(c);var m=kn(o,c);m!==null&&Ha(m,o,c),Xy(o,c)}});return}}else if(a===3&&o.stateNode.current.memoizedState.isDehydrated){i.blockedOn=o.tag===3?o.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Im(i){if(i.blockedOn!==null)return!1;for(var a=i.targetContainers;0<a.length;){var o=Ky(i.nativeEvent);if(o===null){o=i.nativeEvent;var c=new o.constructor(o.type,o);mc=c,o.target.dispatchEvent(c),mc=null}else return a=Hi(o),a!==null&&LT(a),i.blockedOn=o,!1;a.shift()}return!0}function HT(i,a,o){Im(i)&&o.delete(a)}function FY(){Jy=!1,Pu!==null&&Im(Pu)&&(Pu=null),Iu!==null&&Im(Iu)&&(Iu=null),zu!==null&&Im(zu)&&(zu=null),bg.forEach(HT),vg.forEach(HT)}function zm(i,a){i.blockedOn===a&&(i.blockedOn=null,Jy||(Jy=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,FY)))}var Nm=null;function WT(i){Nm!==i&&(Nm=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Nm===i&&(Nm=null);for(var a=0;a<i.length;a+=3){var o=i[a],c=i[a+1],m=i[a+2];if(typeof c!="function"){if(jy(c||o)===null)continue;break}var x=Hi(o);x!==null&&(i.splice(a,3),a-=3,ld(x,{pending:!0,data:m,method:o.method,action:c},c,m))}}))}function xg(i){function a(Y){return zm(Y,i)}Pu!==null&&zm(Pu,i),Iu!==null&&zm(Iu,i),zu!==null&&zm(zu,i),bg.forEach(a),vg.forEach(a);for(var o=0;o<Nu.length;o++){var c=Nu[o];c.blockedOn===i&&(c.blockedOn=null)}for(;0<Nu.length&&(o=Nu[0],o.blockedOn===null);)BT(o),o.blockedOn===null&&Nu.shift();if(o=(i.ownerDocument||i).$$reactFormReplay,o!=null)for(c=0;c<o.length;c+=3){var m=o[c],x=o[c+1],_=m[Mt]||null;if(typeof x=="function")_||WT(o);else if(_){var N=null;if(x&&x.hasAttribute("formAction")){if(m=x,_=x[Mt]||null)N=_.formAction;else if(jy(m)!==null)continue}else N=_.action;typeof N=="function"?o[c+1]=N:(o.splice(c,3),c-=3),WT(o)}}}function Qy(i){this._internalRoot=i}Dm.prototype.render=Qy.prototype.render=function(i){var a=this._internalRoot;if(a===null)throw Error(r(409));var o=a.current,c=Ba();DT(o,c,i,a,null,null)},Dm.prototype.unmount=Qy.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var a=i.containerInfo;DT(i.current,2,null,i,null,null),mm(),a[El]=null}};function Dm(i){this._internalRoot=i}Dm.prototype.unstable_scheduleHydration=function(i){if(i){var a=Vr();i={blockedOn:null,target:i,priority:a};for(var o=0;o<Nu.length&&a!==0&&a<Nu[o].priority;o++);Nu.splice(o,0,i),o===0&&BT(i)}};var GT=t.version;if(GT!=="19.1.1")throw Error(r(527,GT,"19.1.1"));j.findDOMNode=function(i){var a=i._reactInternals;if(a===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=g(a),i=i!==null?b(i):null,i=i===null?null:i.stateNode,i};var VY={bundleType:0,version:"19.1.1",rendererPackageName:"react-dom",currentDispatcherRef:D,reconcilerVersion:"19.1.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Mm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Mm.isDisabled&&Mm.supportsFiber)try{pe=Mm.inject(VY),Ie=Mm}catch{}}return Od.createRoot=function(i,a){if(!l(i))throw Error(r(299));var o=!1,c="",m=$h,x=dd,_=eg,N=null;return a!=null&&(a.unstable_strictMode===!0&&(o=!0),a.identifierPrefix!==void 0&&(c=a.identifierPrefix),a.onUncaughtError!==void 0&&(m=a.onUncaughtError),a.onCaughtError!==void 0&&(x=a.onCaughtError),a.onRecoverableError!==void 0&&(_=a.onRecoverableError),a.unstable_transitionCallbacks!==void 0&&(N=a.unstable_transitionCallbacks)),a=zT(i,1,!1,null,null,o,c,m,x,_,N,null),i[El]=a.current,zy(i),new Qy(a)},Od.hydrateRoot=function(i,a,o){if(!l(i))throw Error(r(299));var c=!1,m="",x=$h,_=dd,N=eg,Y=null,se=null;return o!=null&&(o.unstable_strictMode===!0&&(c=!0),o.identifierPrefix!==void 0&&(m=o.identifierPrefix),o.onUncaughtError!==void 0&&(x=o.onUncaughtError),o.onCaughtError!==void 0&&(_=o.onCaughtError),o.onRecoverableError!==void 0&&(N=o.onRecoverableError),o.unstable_transitionCallbacks!==void 0&&(Y=o.unstable_transitionCallbacks),o.formState!==void 0&&(se=o.formState)),a=zT(i,1,!0,a,o??null,c,m,x,_,N,Y,se),a.context=NT(null),o=a.current,c=Ba(),c=Xs(c),m=Q(c),m.callback=null,re(o,m,c),o=c,a.current.lanes=o,Al(a,o),Go(a),i[El]=a.current,zy(i),new Dm(a)},Od.version="19.1.1",Od}var c1;function $T(){if(c1)return Wm.exports;c1=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Wm.exports=qT(),Wm.exports}var eO=$T();const tO=Mu(eO);function f1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var nO=/^((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)-.*))$/,rO=f1(function(e){return nO.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function iO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function aO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var lO=(function(){function e(n){var r=this;this._insertTag=function(l){var s;r.tags.length===0?r.insertionPoint?s=r.insertionPoint.nextSibling:r.prepend?s=r.container.firstChild:s=r.before:s=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(l,s),r.tags.push(l)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(aO(this));var l=this.tags[this.tags.length-1];if(this.isSpeedy){var s=iO(l);try{s.insertRule(r,s.cssRules.length)}catch{}}else l.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var l;return(l=r.parentNode)==null?void 0:l.removeChild(r)}),this.tags=[],this.ctr=0},e})(),ni="-ms-",Ag="-moz-",Gt="-webkit-",d1="comm",Xm="rule",Zm="decl",oO="@import",h1="@keyframes",sO="@layer",uO=Math.abs,Eg=String.fromCharCode,cO=Object.assign;function fO(e,t){return Pr(e,0)^45?(((t<<2^Pr(e,0))<<2^Pr(e,1))<<2^Pr(e,2))<<2^Pr(e,3):0}function g1(e){return e.trim()}function dO(e,t){return(e=t.exec(e))?e[0]:e}function Ut(e,t,n){return e.replace(t,n)}function Km(e,t){return e.indexOf(t)}function Pr(e,t){return e.charCodeAt(t)|0}function _d(e,t,n){return e.slice(t,n)}function oo(e){return e.length}function jm(e){return e.length}function wg(e,t){return t.push(e),e}function hO(e,t){return e.map(t).join("")}var Cg=1,Jc=1,p1=0,Ii=0,rr=0,Qc="";function kg(e,t,n,r,l,s,u){return{value:e,root:t,parent:n,type:r,props:l,children:s,line:Cg,column:Jc,length:u,return:""}}function Rd(e,t){return cO(kg("",null,null,"",null,null,0),e,{length:-e.length},t)}function gO(){return rr}function pO(){return rr=Ii>0?Pr(Qc,--Ii):0,Jc--,rr===10&&(Jc=1,Cg--),rr}function ta(){return rr=Ii<p1?Pr(Qc,Ii++):0,Jc++,rr===10&&(Jc=1,Cg++),rr}function so(){return Pr(Qc,Ii)}function Tg(){return Ii}function Pd(e,t){return _d(Qc,e,t)}function Id(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 m1(e){return Cg=Jc=1,p1=oo(Qc=e),Ii=0,[]}function b1(e){return Qc="",e}function Og(e){return g1(Pd(Ii-1,Jm(e===91?e+2:e===40?e+1:e)))}function mO(e){for(;(rr=so())&&rr<33;)ta();return Id(e)>2||Id(rr)>3?"":" "}function bO(e,t){for(;--t&&ta()&&!(rr<48||rr>102||rr>57&&rr<65||rr>70&&rr<97););return Pd(e,Tg()+(t<6&&so()==32&&ta()==32))}function Jm(e){for(;ta();)switch(rr){case e:return Ii;case 34:case 39:e!==34&&e!==39&&Jm(rr);break;case 40:e===41&&Jm(e);break;case 92:ta();break}return Ii}function vO(e,t){for(;ta()&&e+rr!==57;)if(e+rr===84&&so()===47)break;return"/*"+Pd(t,Ii-1)+"*"+Eg(e===47?e:ta())}function yO(e){for(;!Id(so());)ta();return Pd(e,Ii)}function xO(e){return b1(_g("",null,null,null,[""],e=m1(e),0,[0],e))}function _g(e,t,n,r,l,s,u,f,g){for(var b=0,y=0,S=u,w=0,C=0,R=0,z=1,B=1,V=1,W=0,H="",te=l,U=s,K=r,be=H;B;)switch(R=W,W=ta()){case 40:if(R!=108&&Pr(be,S-1)==58){Km(be+=Ut(Og(W),"&","&\f"),"&\f")!=-1&&(V=-1);break}case 34:case 39:case 91:be+=Og(W);break;case 9:case 10:case 13:case 32:be+=mO(R);break;case 92:be+=bO(Tg()-1,7);continue;case 47:switch(so()){case 42:case 47:wg(SO(vO(ta(),Tg()),t,n),g);break;default:be+="/"}break;case 123*z:f[b++]=oo(be)*V;case 125*z:case 59:case 0:switch(W){case 0:case 125:B=0;case 59+y:V==-1&&(be=Ut(be,/\f/g,"")),C>0&&oo(be)-S&&wg(C>32?y1(be+";",r,n,S-1):y1(Ut(be," ","")+";",r,n,S-2),g);break;case 59:be+=";";default:if(wg(K=v1(be,t,n,b,y,l,f,H,te=[],U=[],S),s),W===123)if(y===0)_g(be,t,K,K,te,s,S,f,U);else switch(w===99&&Pr(be,3)===110?100:w){case 100:case 108:case 109:case 115:_g(e,K,K,r&&wg(v1(e,K,K,0,0,l,f,H,l,te=[],S),U),l,U,S,f,r?te:U);break;default:_g(be,K,K,K,[""],U,0,f,U)}}b=y=C=0,z=V=1,H=be="",S=u;break;case 58:S=1+oo(be),C=R;default:if(z<1){if(W==123)--z;else if(W==125&&z++==0&&pO()==125)continue}switch(be+=Eg(W),W*z){case 38:V=y>0?1:(be+="\f",-1);break;case 44:f[b++]=(oo(be)-1)*V,V=1;break;case 64:so()===45&&(be+=Og(ta())),w=so(),y=S=oo(H=be+=yO(Tg())),W++;break;case 45:R===45&&oo(be)==2&&(z=0)}}return s}function v1(e,t,n,r,l,s,u,f,g,b,y){for(var S=l-1,w=l===0?s:[""],C=jm(w),R=0,z=0,B=0;R<r;++R)for(var V=0,W=_d(e,S+1,S=uO(z=u[R])),H=e;V<C;++V)(H=g1(z>0?w[V]+" "+W:Ut(W,/&\f/g,w[V])))&&(g[B++]=H);return kg(e,t,n,l===0?Xm:f,g,b,y)}function SO(e,t,n){return kg(e,t,n,d1,Eg(gO()),_d(e,2,-2),0)}function y1(e,t,n,r){return kg(e,t,n,Zm,_d(e,0,r),_d(e,r+1,-1),r)}function qc(e,t){for(var n="",r=jm(e),l=0;l<r;l++)n+=t(e[l],l,e,t)||"";return n}function AO(e,t,n,r){switch(e.type){case sO:if(e.children.length)break;case oO:case Zm:return e.return=e.return||e.value;case d1:return"";case h1:return e.return=e.value+"{"+qc(e.children,r)+"}";case Xm:e.value=e.props.join(",")}return oo(n=qc(e.children,r))?e.return=e.value+"{"+n+"}":""}function EO(e){var t=jm(e);return function(n,r,l,s){for(var u="",f=0;f<t;f++)u+=e[f](n,r,l,s)||"";return u}}function wO(e){return function(t){t.root||(t=t.return)&&e(t)}}var x1=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var l=t(r);return n.set(r,l),l}},CO=function(t,n,r){for(var l=0,s=0;l=s,s=so(),l===38&&s===12&&(n[r]=1),!Id(s);)ta();return Pd(t,Ii)},kO=function(t,n){var r=-1,l=44;do switch(Id(l)){case 0:l===38&&so()===12&&(n[r]=1),t[r]+=CO(Ii-1,n,r);break;case 2:t[r]+=Og(l);break;case 4:if(l===44){t[++r]=so()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Eg(l)}while(l=ta());return t},TO=function(t,n){return b1(kO(m1(t),n))},S1=new WeakMap,OO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,l=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!S1.get(r))&&!l){S1.set(t,!0);for(var s=[],u=TO(n,s),f=r.props,g=0,b=0;g<u.length;g++)for(var y=0;y<f.length;y++,b++)t.props[b]=s[g]?u[g].replace(/&\f/g,f[y]):f[y]+" "+u[g]}}},_O=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function A1(e,t){switch(fO(e,t)){case 5103:return Gt+"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 Gt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Gt+e+Ag+e+ni+e+e;case 6828:case 4268:return Gt+e+ni+e+e;case 6165:return Gt+e+ni+"flex-"+e+e;case 5187:return Gt+e+Ut(e,/(\w+).+(:[^]+)/,Gt+"box-$1$2"+ni+"flex-$1$2")+e;case 5443:return Gt+e+ni+"flex-item-"+Ut(e,/flex-|-self/,"")+e;case 4675:return Gt+e+ni+"flex-line-pack"+Ut(e,/align-content|flex-|-self/,"")+e;case 5548:return Gt+e+ni+Ut(e,"shrink","negative")+e;case 5292:return Gt+e+ni+Ut(e,"basis","preferred-size")+e;case 6060:return Gt+"box-"+Ut(e,"-grow","")+Gt+e+ni+Ut(e,"grow","positive")+e;case 4554:return Gt+Ut(e,/([^-])(transform)/g,"$1"+Gt+"$2")+e;case 6187:return Ut(Ut(Ut(e,/(zoom-|grab)/,Gt+"$1"),/(image-set)/,Gt+"$1"),e,"")+e;case 5495:case 3959:return Ut(e,/(image-set\([^]*)/,Gt+"$1$`$1");case 4968:return Ut(Ut(e,/(.+:)(flex-)?(.*)/,Gt+"box-pack:$3"+ni+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Gt+e+e;case 4095:case 3583:case 4068:case 2532:return Ut(e,/(.+)-inline(.+)/,Gt+"$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(oo(e)-1-t>6)switch(Pr(e,t+1)){case 109:if(Pr(e,t+4)!==45)break;case 102:return Ut(e,/(.+:)(.+)-([^]+)/,"$1"+Gt+"$2-$3$1"+Ag+(Pr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Km(e,"stretch")?A1(Ut(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Pr(e,t+1)!==115)break;case 6444:switch(Pr(e,oo(e)-3-(~Km(e,"!important")&&10))){case 107:return Ut(e,":",":"+Gt)+e;case 101:return Ut(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Gt+(Pr(e,14)===45?"inline-":"")+"box$3$1"+Gt+"$2$3$1"+ni+"$2box$3")+e}break;case 5936:switch(Pr(e,t+11)){case 114:return Gt+e+ni+Ut(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Gt+e+ni+Ut(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Gt+e+ni+Ut(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Gt+e+ni+e+e}return e}var RO=function(t,n,r,l){if(t.length>-1&&!t.return)switch(t.type){case Zm:t.return=A1(t.value,t.length);break;case h1:return qc([Rd(t,{value:Ut(t.value,"@","@"+Gt)})],l);case Xm:if(t.length)return hO(t.props,function(s){switch(dO(s,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return qc([Rd(t,{props:[Ut(s,/:(read-\w+)/,":"+Ag+"$1")]})],l);case"::placeholder":return qc([Rd(t,{props:[Ut(s,/:(plac\w+)/,":"+Gt+"input-$1")]}),Rd(t,{props:[Ut(s,/:(plac\w+)/,":"+Ag+"$1")]}),Rd(t,{props:[Ut(s,/:(plac\w+)/,ni+"input-$1")]})],l)}return""})}},PO=[RO],Qm=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(z){var B=z.getAttribute("data-emotion");B.indexOf(" ")!==-1&&(document.head.appendChild(z),z.setAttribute("data-s",""))})}var l=t.stylisPlugins||PO,s={},u,f=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(z){for(var B=z.getAttribute("data-emotion").split(" "),V=1;V<B.length;V++)s[B[V]]=!0;f.push(z)});var g,b=[OO,_O];{var y,S=[AO,wO(function(z){y.insert(z)})],w=EO(b.concat(l,S)),C=function(B){return qc(xO(B),w)};g=function(B,V,W,H){y=W,C(B?B+"{"+V.styles+"}":V.styles),H&&(R.inserted[V.name]=!0)}}var R={key:n,sheet:new lO({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:g};return R.sheet.hydrate(f),R};const IO=Object.freeze(Object.defineProperty({__proto__:null,default:Qm},Symbol.toStringTag,{value:"Module"}));function Rg(){return Rg=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rg.apply(null,arguments)}var qm={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 E1;function zO(){if(E1)return Kt;E1=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,l=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,f=e?Symbol.for("react.context"):60110,g=e?Symbol.for("react.async_mode"):60111,b=e?Symbol.for("react.concurrent_mode"):60111,y=e?Symbol.for("react.forward_ref"):60112,S=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,z=e?Symbol.for("react.block"):60121,B=e?Symbol.for("react.fundamental"):60117,V=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function H(U){if(typeof U=="object"&&U!==null){var K=U.$$typeof;switch(K){case t:switch(U=U.type,U){case g:case b:case r:case s:case l:case S:return U;default:switch(U=U&&U.$$typeof,U){case f:case y:case R:case C:case u:return U;default:return K}}case n:return K}}}function te(U){return H(U)===b}return Kt.AsyncMode=g,Kt.ConcurrentMode=b,Kt.ContextConsumer=f,Kt.ContextProvider=u,Kt.Element=t,Kt.ForwardRef=y,Kt.Fragment=r,Kt.Lazy=R,Kt.Memo=C,Kt.Portal=n,Kt.Profiler=s,Kt.StrictMode=l,Kt.Suspense=S,Kt.isAsyncMode=function(U){return te(U)||H(U)===g},Kt.isConcurrentMode=te,Kt.isContextConsumer=function(U){return H(U)===f},Kt.isContextProvider=function(U){return H(U)===u},Kt.isElement=function(U){return typeof U=="object"&&U!==null&&U.$$typeof===t},Kt.isForwardRef=function(U){return H(U)===y},Kt.isFragment=function(U){return H(U)===r},Kt.isLazy=function(U){return H(U)===R},Kt.isMemo=function(U){return H(U)===C},Kt.isPortal=function(U){return H(U)===n},Kt.isProfiler=function(U){return H(U)===s},Kt.isStrictMode=function(U){return H(U)===l},Kt.isSuspense=function(U){return H(U)===S},Kt.isValidElementType=function(U){return typeof U=="string"||typeof U=="function"||U===r||U===b||U===s||U===l||U===S||U===w||typeof U=="object"&&U!==null&&(U.$$typeof===R||U.$$typeof===C||U.$$typeof===u||U.$$typeof===f||U.$$typeof===y||U.$$typeof===B||U.$$typeof===V||U.$$typeof===W||U.$$typeof===z)},Kt.typeOf=H,Kt}var w1;function NO(){return w1||(w1=1,qm.exports=zO()),qm.exports}var $m,C1;function DO(){if(C1)return $m;C1=1;var e=NO(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[e.ForwardRef]=r,s[e.Memo]=l;function u(R){return e.isMemo(R)?l:s[R.$$typeof]||t}var f=Object.defineProperty,g=Object.getOwnPropertyNames,b=Object.getOwnPropertySymbols,y=Object.getOwnPropertyDescriptor,S=Object.getPrototypeOf,w=Object.prototype;function C(R,z,B){if(typeof z!="string"){if(w){var V=S(z);V&&V!==w&&C(R,V,B)}var W=g(z);b&&(W=W.concat(b(z)));for(var H=u(R),te=u(z),U=0;U<W.length;++U){var K=W[U];if(!n[K]&&!(B&&B[K])&&!(te&&te[K])&&!(H&&H[K])){var be=y(z,K);try{f(R,K,be)}catch{}}}}return R}return $m=C,$m}var MO=DO();const LO=Mu(MO);var FO=(function(e,t){return LO(e,t)}),VO=!0;function eb(e,t,n){var r="";return n.split(" ").forEach(function(l){e[l]!==void 0?t.push(e[l]+";"):l&&(r+=l+" ")}),r}var Pg=function(t,n,r){var l=t.key+"-"+n.name;(r===!1||VO===!1)&&t.registered[l]===void 0&&(t.registered[l]=n.styles)},Ig=function(t,n,r){Pg(t,n,r);var l=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+l:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function BO(e){for(var t=0,n,r=0,l=e.length;l>=4;++r,l-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var HO={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},WO=/[A-Z]|^ms/g,GO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,k1=function(t){return t.charCodeAt(1)===45},T1=function(t){return t!=null&&typeof t!="boolean"},tb=f1(function(e){return k1(e)?e:e.replace(WO,"-$&").toLowerCase()}),O1=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(GO,function(r,l,s){return uo={name:l,styles:s,next:uo},l})}return HO[t]!==1&&!k1(t)&&typeof n=="number"&&n!==0?n+"px":n};function zd(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var l=n;if(l.anim===1)return uo={name:l.name,styles:l.styles,next:uo},l.name;var s=n;if(s.styles!==void 0){var u=s.next;if(u!==void 0)for(;u!==void 0;)uo={name:u.name,styles:u.styles,next:uo},u=u.next;var f=s.styles+";";return f}return UO(e,t,n)}case"function":{if(e!==void 0){var g=uo,b=n(e);return uo=g,zd(e,t,b)}break}}var y=n;if(t==null)return y;var S=t[y];return S!==void 0?S:y}function UO(e,t,n){var r="";if(Array.isArray(n))for(var l=0;l<n.length;l++)r+=zd(e,t,n[l])+";";else for(var s in n){var u=n[s];if(typeof u!="object"){var f=u;t!=null&&t[f]!==void 0?r+=s+"{"+t[f]+"}":T1(f)&&(r+=tb(s)+":"+O1(s,f)+";")}else if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var g=0;g<u.length;g++)T1(u[g])&&(r+=tb(s)+":"+O1(s,u[g])+";");else{var b=zd(e,t,u);switch(s){case"animation":case"animationName":{r+=tb(s)+":"+b+";";break}default:r+=s+"{"+b+"}"}}}return r}var _1=/label:\s*([^\s;{]+)\s*(;|$)/g,uo;function Nd(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,l="";uo=void 0;var s=e[0];if(s==null||s.raw===void 0)r=!1,l+=zd(n,t,s);else{var u=s;l+=u[0]}for(var f=1;f<e.length;f++)if(l+=zd(n,t,e[f]),r){var g=s;l+=g[f]}_1.lastIndex=0;for(var b="",y;(y=_1.exec(l))!==null;)b+="-"+y[1];var S=BO(l)+b;return{name:S,styles:l,next:uo}}var YO=function(t){return t()},R1=i1.useInsertionEffect?i1.useInsertionEffect:!1,nb=R1||YO,P1=R1||Ae.useLayoutEffect,rb=Ae.createContext(typeof HTMLElement<"u"?Qm({key:"css"}):null),I1=rb.Provider,XO=function(){return Ae.useContext(rb)},Dd=function(t){return Ae.forwardRef(function(n,r){var l=Ae.useContext(rb);return t(n,l,r)})},Uo=Ae.createContext({}),ZO=function(){return Ae.useContext(Uo)},KO=function(t,n){if(typeof n=="function"){var r=n(t);return r}return Rg({},t,n)},jO=x1(function(e){return x1(function(t){return KO(e,t)})}),JO=function(t){var n=Ae.useContext(Uo);return t.theme!==n&&(n=jO(n)(t.theme)),Ae.createElement(Uo.Provider,{value:n},t.children)};function QO(e){var t=e.displayName||e.name||"Component",n=Ae.forwardRef(function(l,s){var u=Ae.useContext(Uo);return Ae.createElement(e,Rg({theme:u,ref:s},l))});return n.displayName="WithTheme("+t+")",FO(n,e)}var ib={}.hasOwnProperty,ab="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",qO=function(t,n){var r={};for(var l in n)ib.call(n,l)&&(r[l]=n[l]);return r[ab]=t,r},$O=function(t){var n=t.cache,r=t.serialized,l=t.isStringTag;return Pg(n,r,l),nb(function(){return Ig(n,r,l)}),null},e_=Dd(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var l=e[ab],s=[r],u="";typeof e.className=="string"?u=eb(t.registered,s,e.className):e.className!=null&&(u=e.className+" ");var f=Nd(s,void 0,Ae.useContext(Uo));u+=t.key+"-"+f.name;var g={};for(var b in e)ib.call(e,b)&&b!=="css"&&b!==ab&&(g[b]=e[b]);return g.className=u,n&&(g.ref=n),Ae.createElement(Ae.Fragment,null,Ae.createElement($O,{cache:t,serialized:f,isStringTag:typeof l=="string"}),Ae.createElement(l,g))}),t_=e_,zg=function(t,n){var r=arguments;if(n==null||!ib.call(n,"css"))return Ae.createElement.apply(void 0,r);var l=r.length,s=new Array(l);s[0]=t_,s[1]=qO(t,n);for(var u=2;u<l;u++)s[u]=r[u];return Ae.createElement.apply(null,s)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(zg||(zg={}));var lb=Dd(function(e,t){var n=e.styles,r=Nd([n],void 0,Ae.useContext(Uo)),l=Ae.useRef();return P1(function(){var s=t.key+"-global",u=new t.sheet.constructor({key:s,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),f=!1,g=document.querySelector('style[data-emotion="'+s+" "+r.name+'"]');return t.sheet.tags.length&&(u.before=t.sheet.tags[0]),g!==null&&(f=!0,g.setAttribute("data-emotion",s),u.hydrate([g])),l.current=[u,f],function(){u.flush()}},[t]),P1(function(){var s=l.current,u=s[0],f=s[1];if(f){s[1]=!1;return}if(r.next!==void 0&&Ig(t,r.next,!0),u.tags.length){var g=u.tags[u.tags.length-1].nextElementSibling;u.before=g,u.flush()}t.insert("",r,u,!1)},[t,r.name]),null});function z1(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nd(t)}function n_(){var e=z1.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var r_=function e(t){for(var n=t.length,r=0,l="";r<n;r++){var s=t[r];if(s!=null){var u=void 0;switch(typeof s){case"boolean":break;case"object":{if(Array.isArray(s))u=e(s);else{u="";for(var f in s)s[f]&&f&&(u&&(u+=" "),u+=f)}break}default:u=s}u&&(l&&(l+=" "),l+=u)}}return l};function i_(e,t,n){var r=[],l=eb(e,r,n);return r.length<2?n:l+t(r)}var a_=function(t){var n=t.cache,r=t.serializedArr;return nb(function(){for(var l=0;l<r.length;l++)Ig(n,r[l],!1)}),null},l_=Dd(function(e,t){var n=[],r=function(){for(var g=arguments.length,b=new Array(g),y=0;y<g;y++)b[y]=arguments[y];var S=Nd(b,t.registered);return n.push(S),Pg(t,S,!1),t.key+"-"+S.name},l=function(){for(var g=arguments.length,b=new Array(g),y=0;y<g;y++)b[y]=arguments[y];return i_(t.registered,r,r_(b))},s={css:r,cx:l,theme:Ae.useContext(Uo)},u=e.children(s);return Ae.createElement(Ae.Fragment,null,Ae.createElement(a_,{cache:t,serializedArr:n}),u)});const o_=Object.freeze(Object.defineProperty({__proto__:null,CacheProvider:I1,ClassNames:l_,Global:lb,ThemeContext:Uo,ThemeProvider:JO,__unsafe_useEmotionCache:XO,get createElement(){return zg},css:z1,get jsx(){return zg},keyframes:n_,useTheme:ZO,withEmotionCache:Dd,withTheme:QO},Symbol.toStringTag,{value:"Module"}));function s_(...e){return function(...n){e.forEach(r=>r?.(...n))}}const u_=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),c_=/^on[A-Z]/;function Md(...e){let t={};for(let n of e){for(let r in t){if(c_.test(r)&&typeof t[r]=="function"&&typeof n[r]=="function"){t[r]=s_(t[r],n[r]);continue}if(r==="className"||r==="class"){t[r]=u_(t[r],n[r]);continue}if(r==="style"){t[r]=Object.assign({},t[r]??{},n[r]??{});continue}t[r]=n[r]!==void 0?n[r]:t[r]}for(let r in n)t[r]===void 0&&(t[r]=n[r])}return t}function f_(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function d_(...e){return t=>{e.forEach(n=>{f_(n,t)})}}function Ld(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}const na=(...e)=>e.filter(Boolean).map(t=>t.trim()).join(" ");function h_(e){return e.default||e}const zi=e=>e!=null&&typeof e=="object"&&!Array.isArray(e),co=e=>typeof e=="string",ob=e=>typeof e=="function";function g_(e){const t=Ae.version;return!co(t)||t.startsWith("18.")?e?.ref:e?.props?.ref}const N1=(...e)=>{const t=e.reduce((n,r)=>(r?.forEach(l=>n.add(l)),n),new Set([]));return Array.from(t)};function p_(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function Fd(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:l="Provider",errorMessage:s,defaultValue:u}=e,f=Ae.createContext(u);f.displayName=t;function g(){const b=Ae.useContext(f);if(!b&&n){const y=new Error(s??p_(r,l));throw y.name="ContextError",Error.captureStackTrace?.(y,g),y}return b}return[f.Provider,g,f]}const[m_,Vd]=Fd({name:"ChakraContext",strict:!0,providerName:"<ChakraProvider />"});function b_(e){const{value:t,children:n}=e;return $.jsxs(m_,{value:t,children:[!t._config.disableLayers&&$.jsx(lb,{styles:t.layers.atRule}),$.jsx(lb,{styles:t._global}),n]})}const v_=(e,t)=>{const n={},r={},l=Object.keys(e);for(const s of l)t(s)?r[s]=e[s]:n[s]=e[s];return[r,n]},$c=(e,t)=>{const n=ob(t)?t:r=>t.includes(r);return v_(e,n)},y_=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function x_(e){return typeof e=="string"&&y_.has(e)}function S_(e,t,n){const{css:r,isValidProperty:l}=Vd(),{children:s,...u}=e,f=Ae.useMemo(()=>{const[w,C]=$c(u,W=>n(W,t.variantKeys)),[R,z]=$c(C,t.variantKeys),[B,V]=$c(z,l);return{forwardedProps:w,variantProps:R,styleProps:B,elementProps:V}},[t.variantKeys,n,u,l]),{css:g,...b}=f.styleProps,y=Ae.useMemo(()=>{const w={...f.variantProps};return t.variantKeys.includes("colorPalette")||(w.colorPalette=u.colorPalette),t.variantKeys.includes("orientation")||(w.orientation=u.orientation),t(w)},[t,f.variantProps,u.colorPalette,u.orientation]);return{styles:Ae.useMemo(()=>r(y,...A_(g),b),[r,y,g,b]),props:{...f.forwardedProps,...f.elementProps,children:s}}}const A_=e=>(Array.isArray(e)?e:[e]).filter(Boolean).flat(),E_=h_(rO),w_=e=>e!=="theme",C_=(e,t,n)=>{let r;if(t){const l=t.shouldForwardProp;r=e.__emotion_forwardProp&&l?s=>e.__emotion_forwardProp(s)&&l(s):l}return typeof r!="function"&&n&&(r=e.__emotion_forwardProp),r};let k_=typeof document<"u";const D1=({cache:e,serialized:t,isStringTag:n})=>{Pg(e,t,n);const r=nb(()=>Ig(e,t,n));if(!k_&&r!==void 0){let l=t.name,s=t.next;for(;s!==void 0;)l=na(l,s.name),s=s.next;return $.jsx("style",{"data-emotion":na(e.key,l),dangerouslySetInnerHTML:{__html:r},nonce:e.sheet.nonce})}return null},M1={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"]},T_=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),sb=((e,t={},n={})=>{if(T_(M1,e)){n.forwardProps||(n.forwardProps=[]);const b=M1[e];n.forwardProps=N1([...n.forwardProps,...b])}const r=e.__emotion_real===e,l=r&&e.__emotion_base||e;let s,u;n!==void 0&&(s=n.label,u=n.target);let f=[];const g=Dd((b,y,S)=>{const{cva:w,isValidProperty:C}=Vd(),R=t.__cva__?t:w(t),z=O_(e.__emotion_cva,R),B=oe=>(D,j)=>oe.includes(D)?!0:!j?.includes(D)&&!C(D);!n.shouldForwardProp&&n.forwardProps&&(n.shouldForwardProp=B(n.forwardProps));const V=(oe,D)=>{const j=typeof e=="string"&&e.charCodeAt(0)>96?E_:w_,we=!D?.includes(oe)&&!C(oe);return j(oe)&&we},W=C_(e,n,r)||V,H=Ae.useMemo(()=>Object.assign({},n.defaultProps,Ld(b)),[b]),{props:te,styles:U}=S_(H,z,W);let K="",be=[U],ge=te;if(te.theme==null){ge={};for(let oe in te)ge[oe]=te[oe];ge.theme=Ae.useContext(Uo)}typeof te.className=="string"?K=eb(y.registered,be,te.className):te.className!=null&&(K=na(K,te.className));const fe=Nd(f.concat(be),y.registered,ge);fe.styles&&(K=na(K,`${y.key}-${fe.name}`)),u!==void 0&&(K=na(K,u));const Z=!W("as");let ke=Z&&te.as||l,ue={};for(let oe in te)if(!(Z&&oe==="as")){if(x_(oe)){const D=oe.replace("html","").toLowerCase();ue[D]=te[oe];continue}W(oe)&&(ue[oe]=te[oe])}let Oe=K.trim();Oe?ue.className=Oe:Reflect.deleteProperty(ue,"className"),ue.ref=S;const ee=n.forwardAsChild||n.forwardProps?.includes("asChild");if(te.asChild&&!ee){const oe=Ae.isValidElement(te.children)?Ae.Children.only(te.children):Ae.Children.toArray(te.children).find(Ae.isValidElement);if(!oe)throw new Error("[chakra-ui > factory] No valid child found");ke=oe.type,ue.children=null,Reflect.deleteProperty(ue,"asChild"),ue=Md(ue,oe.props),ue.ref=d_(S,g_(oe))}return ue.as&&ee?(ue.as=void 0,$.jsxs(Ae.Fragment,{children:[$.jsx(D1,{cache:y,serialized:fe,isStringTag:typeof ke=="string"}),$.jsx(ke,{asChild:!0,...ue,children:$.jsx(te.as,{children:ue.children})})]})):$.jsxs(Ae.Fragment,{children:[$.jsx(D1,{cache:y,serialized:fe,isStringTag:typeof ke=="string"}),$.jsx(ke,{...ue})]})});return g.displayName=s!==void 0?s:`chakra(${typeof l=="string"?l:l.displayName||l.name||"Component"})`,g.__emotion_real=g,g.__emotion_base=l,g.__emotion_forwardProp=n.shouldForwardProp,g.__emotion_cva=t,Object.defineProperty(g,"toString",{value(){return`.${u}`}}),g}).bind(),ub=new Map,Wa=new Proxy(sb,{apply(e,t,n){return sb(...n)},get(e,t){return ub.has(t)||ub.set(t,sb(t)),ub.get(t)}}),O_=(e,t)=>e&&!t?e:!e&&t?t:e.merge(t),wt=Wa("div");wt.displayName="Box";const At=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,cn=globalThis,Lu="10.5.0";function Ng(){return Dg(cn),cn}function Dg(e){const t=e.__SENTRY__=e.__SENTRY__||{};return t.version=t.version||Lu,t[Lu]=t[Lu]||{}}function Bd(e,t,n=cn){const r=n.__SENTRY__=n.__SENTRY__||{},l=r[Lu]=r[Lu]||{};return l[e]||(l[e]=t())}const __=["debug","info","warn","error","log","assert","trace"],R_="Sentry Logger ",Mg={};function Lg(e){if(!("console"in cn))return e();const t=cn.console,n={},r=Object.keys(Mg);r.forEach(l=>{const s=Mg[l];n[l]=t[l],t[l]=s});try{return e()}finally{r.forEach(l=>{t[l]=n[l]})}}function P_(){fb().enabled=!0}function I_(){fb().enabled=!1}function L1(){return fb().enabled}function z_(...e){cb("log",...e)}function N_(...e){cb("warn",...e)}function D_(...e){cb("error",...e)}function cb(e,...t){At&&L1()&&Lg(()=>{cn.console[e](`${R_}[${e}]:`,...t)})}function fb(){return At?Bd("loggerSettings",()=>({enabled:!1})):{enabled:!1}}const ft={enable:P_,disable:I_,isEnabled:L1,log:z_,warn:N_,error:D_},F1=50,Fu="?",V1=/\(error: (.*)\)/,B1=/captureMessage|captureException/;function M_(...e){const t=e.sort((n,r)=>n[0]-r[0]).map(n=>n[1]);return(n,r=0,l=0)=>{const s=[],u=n.split(`
57
+ `);for(let f=r;f<u.length;f++){let g=u[f];g.length>1024&&(g=g.slice(0,1024));const b=V1.test(g)?g.replace(V1,"$1"):g;if(!b.match(/\S*Error: /)){for(const y of t){const S=y(b);if(S){s.push(S);break}}if(s.length>=F1+l)break}}return L_(s.slice(l))}}function L_(e){if(!e.length)return[];const t=Array.from(e);return/sentryWrapped/.test(Fg(t).function||"")&&t.pop(),t.reverse(),B1.test(Fg(t).function||"")&&(t.pop(),B1.test(Fg(t).function||"")&&t.pop()),t.slice(0,F1).map(n=>({...n,filename:n.filename||Fg(t).filename,function:n.function||Fu}))}function Fg(e){return e[e.length-1]||{}}const db="<anonymous>";function Ps(e){try{return!e||typeof e!="function"?db:e.name||db}catch{return db}}function H1(e){const t=e.exception;if(t){const n=[];try{return t.values.forEach(r=>{r.stacktrace.frames&&n.push(...r.stacktrace.frames)}),n}catch{return}}}const Vg={},W1={};function Vu(e,t){Vg[e]=Vg[e]||[],Vg[e].push(t)}function Bu(e,t){if(!W1[e]){W1[e]=!0;try{t()}catch(n){At&&ft.error(`Error while instrumenting ${e}`,n)}}}function hl(e,t){const n=e&&Vg[e];if(n)for(const r of n)try{r(t)}catch(l){At&&ft.error(`Error while triggering instrumentation handler.
58
+ Type: ${e}
59
+ Name: ${Ps(r)}
60
+ Error:`,l)}}let hb=null;function F_(e){const t="error";Vu(t,e),Bu(t,V_)}function V_(){hb=cn.onerror,cn.onerror=function(e,t,n,r,l){return hl("error",{column:r,error:l,line:n,msg:e,url:t}),hb?hb.apply(this,arguments):!1},cn.onerror.__SENTRY_INSTRUMENTED__=!0}let gb=null;function B_(e){const t="unhandledrejection";Vu(t,e),Bu(t,H_)}function H_(){gb=cn.onunhandledrejection,cn.onunhandledrejection=function(e){return hl("unhandledrejection",e),gb?gb.apply(this,arguments):!0},cn.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}const G1=Object.prototype.toString;function pb(e){switch(G1.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":case"[object WebAssembly.Exception]":return!0;default:return Is(e,Error)}}function ef(e,t){return G1.call(e)===`[object ${t}]`}function U1(e){return ef(e,"ErrorEvent")}function Y1(e){return ef(e,"DOMError")}function W_(e){return ef(e,"DOMException")}function Yo(e){return ef(e,"String")}function mb(e){return typeof e=="object"&&e!==null&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function bb(e){return e===null||mb(e)||typeof e!="object"&&typeof e!="function"}function Hd(e){return ef(e,"Object")}function Bg(e){return typeof Event<"u"&&Is(e,Event)}function G_(e){return typeof Element<"u"&&Is(e,Element)}function U_(e){return ef(e,"RegExp")}function Hg(e){return!!(e?.then&&typeof e.then=="function")}function Y_(e){return Hd(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function Is(e,t){try{return e instanceof t}catch{return!1}}function X1(e){return!!(typeof e=="object"&&e!==null&&(e.__isVue||e._isVue))}function X_(e){return typeof Request<"u"&&Is(e,Request)}const vb=cn,Z_=80;function Z1(e,t={}){if(!e)return"<unknown>";try{let n=e;const r=5,l=[];let s=0,u=0;const f=" > ",g=f.length;let b;const y=Array.isArray(t)?t:t.keyAttrs,S=!Array.isArray(t)&&t.maxStringLength||Z_;for(;n&&s++<r&&(b=K_(n,y),!(b==="html"||s>1&&u+l.length*g+b.length>=S));)l.push(b),u+=b.length,n=n.parentNode;return l.reverse().join(f)}catch{return"<unknown>"}}function K_(e,t){const n=e,r=[];if(!n?.tagName)return"";if(vb.HTMLElement&&n instanceof HTMLElement&&n.dataset){if(n.dataset.sentryComponent)return n.dataset.sentryComponent;if(n.dataset.sentryElement)return n.dataset.sentryElement}r.push(n.tagName.toLowerCase());const l=t?.length?t.filter(u=>n.getAttribute(u)).map(u=>[u,n.getAttribute(u)]):null;if(l?.length)l.forEach(u=>{r.push(`[${u[0]}="${u[1]}"]`)});else{n.id&&r.push(`#${n.id}`);const u=n.className;if(u&&Yo(u)){const f=u.split(/\s+/);for(const g of f)r.push(`.${g}`)}}const s=["aria-label","type","name","title","alt"];for(const u of s){const f=n.getAttribute(u);f&&r.push(`[${u}="${f}"]`)}return r.join("")}function K1(){try{return vb.document.location.href}catch{return""}}function j_(e){if(!vb.HTMLElement)return null;let t=e;const n=5;for(let r=0;r<n;r++){if(!t)return null;if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}function Wg(e,t=0){return typeof e!="string"||t===0||e.length<=t?e:`${e.slice(0,t)}...`}function j1(e,t){if(!Array.isArray(e))return"";const n=[];for(let r=0;r<e.length;r++){const l=e[r];try{X1(l)?n.push("[VueViewModel]"):n.push(String(l))}catch{n.push("[value cannot be serialized]")}}return n.join(t)}function Gg(e,t,n=!1){return Yo(e)?U_(t)?t.test(e):Yo(t)?n?e===t:e.includes(t):!1:!1}function Ug(e,t=[],n=!1){return t.some(r=>Gg(e,r,n))}function ra(e,t,n){if(!(t in e))return;const r=e[t];if(typeof r!="function")return;const l=n(r);typeof l=="function"&&J1(l,r);try{e[t]=l}catch{At&&ft.log(`Failed to replace method "${t}" in object`,e)}}function Hu(e,t,n){try{Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}catch{At&&ft.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function J1(e,t){try{const n=t.prototype||{};e.prototype=t.prototype=n,Hu(e,"__sentry_original__",t)}catch{}}function yb(e){return e.__sentry_original__}function Q1(e){if(pb(e))return{message:e.message,name:e.name,stack:e.stack,...$1(e)};if(Bg(e)){const t={type:e.type,target:q1(e.target),currentTarget:q1(e.currentTarget),...$1(e)};return typeof CustomEvent<"u"&&Is(e,CustomEvent)&&(t.detail=e.detail),t}else return e}function q1(e){try{return G_(e)?Z1(e):Object.prototype.toString.call(e)}catch{return"<unknown>"}}function $1(e){if(typeof e=="object"&&e!==null){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}else return{}}function J_(e,t=40){const n=Object.keys(Q1(e));n.sort();const r=n[0];if(!r)return"[object has no keys]";if(r.length>=t)return Wg(r,t);for(let l=n.length;l>0;l--){const s=n.slice(0,l).join(", ");if(!(s.length>t))return l===n.length?s:Wg(s,t)}return""}function Q_(){const e=cn;return e.crypto||e.msCrypto}function Ga(e=Q_()){let t=()=>Math.random()*16;try{if(e?.randomUUID)return e.randomUUID().replace(/-/g,"");e?.getRandomValues&&(t=()=>{const n=new Uint8Array(1);return e.getRandomValues(n),n[0]})}catch{}return("10000000100040008000"+1e11).replace(/[018]/g,n=>(n^(t()&15)>>n/4).toString(16))}function ex(e){return e.exception?.values?.[0]}function Wu(e){const{message:t,event_id:n}=e;if(t)return t;const r=ex(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"<unknown>":n||"<unknown>"}function xb(e,t,n){const r=e.exception=e.exception||{},l=r.values=r.values||[],s=l[0]=l[0]||{};s.value||(s.value=t||""),s.type||(s.type="Error")}function tf(e,t){const n=ex(e);if(!n)return;const r={type:"generic",handled:!0},l=n.mechanism;if(n.mechanism={...r,...l,...t},t&&"data"in t){const s={...l?.data,...t.data};n.mechanism.data=s}}function tx(e){if(q_(e))return!0;try{Hu(e,"__sentry_captured__",!0)}catch{}return!1}function q_(e){try{return e.__sentry_captured__}catch{}}const nx=1e3;function Wd(){return Date.now()/nx}function $_(){const{performance:e}=cn;if(!e?.now||!e.timeOrigin)return Wd;const t=e.timeOrigin;return()=>(t+e.now())/nx}let rx;function Xo(){return(rx??(rx=$_()))()}function eR(e){const t=Xo(),n={sid:Ga(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>nR(n)};return e&&nf(n,e),n}function nf(e,t={}){if(t.user&&(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),!e.did&&!t.did&&(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||Xo(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=t.sid.length===32?t.sid:Ga()),t.init!==void 0&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),typeof t.started=="number"&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if(typeof t.duration=="number")e.duration=t.duration;else{const n=e.timestamp-e.started;e.duration=n>=0?n:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),typeof t.errors=="number"&&(e.errors=t.errors),t.status&&(e.status=t.status)}function tR(e,t){let n={};e.status==="ok"&&(n={status:"exited"}),nf(e,n)}function nR(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 Gd(e,t,n=2){if(!t||typeof t!="object"||n<=0)return t;if(e&&Object.keys(t).length===0)return e;const r={...e};for(const l in t)Object.prototype.hasOwnProperty.call(t,l)&&(r[l]=Gd(r[l],t[l],n-1));return r}function ix(){return Ga()}function ax(){return Ga().substring(16)}const Sb="_sentrySpan";function lx(e,t){t?Hu(e,Sb,t):delete e[Sb]}function ox(e){return e[Sb]}const rR=100;class fo{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:ix(),sampleRand:Math.random()}}clone(){const t=new fo;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},this._contexts.flags&&(t._contexts.flags={values:[...this._contexts.flags.values]}),t._user=this._user,t._level=this._level,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t._lastEventId=this._lastEventId,lx(t,ox(this)),t}setClient(t){this._client=t}setLastEventId(t){this._lastEventId=t}getClient(){return this._client}lastEventId(){return this._lastEventId}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&nf(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,n){return this._tags={...this._tags,[t]:n},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,n){return this._extra={...this._extra,[t]:n},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,n){return n===null?delete this._contexts[t]:this._contexts[t]=n,this._notifyScopeListeners(),this}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;const n=typeof t=="function"?t(this):t,r=n instanceof fo?n.getScopeData():Hd(n)?t:void 0,{tags:l,extra:s,user:u,contexts:f,level:g,fingerprint:b=[],propagationContext:y}=r||{};return this._tags={...this._tags,...l},this._extra={...this._extra,...s},this._contexts={...this._contexts,...f},u&&Object.keys(u).length&&(this._user=u),g&&(this._level=g),b.length&&(this._fingerprint=b),y&&(this._propagationContext=y),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,lx(this,void 0),this._attachments=[],this.setPropagationContext({traceId:ix(),sampleRand:Math.random()}),this._notifyScopeListeners(),this}addBreadcrumb(t,n){const r=typeof n=="number"?n:rR;if(r<=0)return this;const l={timestamp:Wd(),...t,message:t.message?Wg(t.message,2048):t.message};return this._breadcrumbs.push(l),this._breadcrumbs.length>r&&(this._breadcrumbs=this._breadcrumbs.slice(-r),this._client?.recordDroppedEvent("buffer_overflow","log_item")),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),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:ox(this)}}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata=Gd(this._sdkProcessingMetadata,t,2),this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,n){const r=n?.event_id||Ga();if(!this._client)return At&&ft.warn("No client configured on scope - will not capture exception!"),r;const l=new Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:l,...n,event_id:r},this),r}captureMessage(t,n,r){const l=r?.event_id||Ga();if(!this._client)return At&&ft.warn("No client configured on scope - will not capture message!"),l;const s=new Error(t);return this._client.captureMessage(t,n,{originalException:t,syntheticException:s,...r,event_id:l},this),l}captureEvent(t,n){const r=n?.event_id||Ga();return this._client?(this._client.captureEvent(t,{...n,event_id:r},this),r):(At&&ft.warn("No client configured on scope - will not capture event!"),r)}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function iR(){return Bd("defaultCurrentScope",()=>new fo)}function aR(){return Bd("defaultIsolationScope",()=>new fo)}class lR{constructor(t,n){let r;t?r=t:r=new fo;let l;n?l=n:l=new fo,this._stack=[{scope:r}],this._isolationScope=l}withScope(t){const n=this._pushScope();let r;try{r=t(n)}catch(l){throw this._popScope(),l}return Hg(r)?r.then(l=>(this._popScope(),l),l=>{throw this._popScope(),l}):(this._popScope(),r)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){const t=this.getScope().clone();return this._stack.push({client:this.getClient(),scope:t}),t}_popScope(){return this._stack.length<=1?!1:!!this._stack.pop()}}function rf(){const e=Ng(),t=Dg(e);return t.stack=t.stack||new lR(iR(),aR())}function oR(e){return rf().withScope(e)}function sR(e,t){const n=rf();return n.withScope(()=>(n.getStackTop().scope=e,t(e)))}function sx(e){return rf().withScope(()=>e(rf().getIsolationScope()))}function uR(){return{withIsolationScope:sx,withScope:oR,withSetScope:sR,withSetIsolationScope:(e,t)=>sx(t),getCurrentScope:()=>rf().getScope(),getIsolationScope:()=>rf().getIsolationScope()}}function Ab(e){const t=Dg(e);return t.acs?t.acs:uR()}function af(){const e=Ng();return Ab(e).getCurrentScope()}function Ud(){const e=Ng();return Ab(e).getIsolationScope()}function cR(){return Bd("globalScope",()=>new fo)}function fR(...e){const t=Ng(),n=Ab(t);if(e.length===2){const[r,l]=e;return r?n.withSetScope(r,l):n.withScope(l)}return n.withScope(e[0])}function pi(){return af().getClient()}function dR(e){const t=e.getPropagationContext(),{traceId:n,parentSpanId:r,propagationSpanId:l}=t,s={trace_id:n,span_id:l||ax()};return r&&(s.parent_span_id=r),s}const hR="sentry.source",gR="sentry.sample_rate",pR="sentry.previous_trace_sample_rate",mR="sentry.op",bR="sentry.origin",ux="sentry.profile_id",cx="sentry.exclusive_time",vR=0,yR=1,xR="_sentryScope",SR="_sentryIsolationScope";function fx(e){return{scope:e[xR],isolationScope:e[SR]}}const AR="sentry-",ER=/^sentry-/;function wR(e){const t=CR(e);if(!t)return;const n=Object.entries(t).reduce((r,[l,s])=>{if(l.match(ER)){const u=l.slice(AR.length);r[u]=s}return r},{});if(Object.keys(n).length>0)return n}function CR(e){if(!(!e||!Yo(e)&&!Array.isArray(e)))return Array.isArray(e)?e.reduce((t,n)=>{const r=dx(n);return Object.entries(r).forEach(([l,s])=>{t[l]=s}),t},{}):dx(e)}function dx(e){return e.split(",").map(t=>t.split("=").map(n=>{try{return decodeURIComponent(n.trim())}catch{return}})).reduce((t,[n,r])=>(n&&r&&(t[n]=r),t),{})}const kR=/^o(\d+)\./,TR=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function OR(e){return e==="http"||e==="https"}function Yg(e,t=!1){const{host:n,path:r,pass:l,port:s,projectId:u,protocol:f,publicKey:g}=e;return`${f}://${g}${t&&l?`:${l}`:""}@${n}${s?`:${s}`:""}/${r&&`${r}/`}${u}`}function _R(e){const t=TR.exec(e);if(!t){Lg(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}const[n,r,l="",s="",u="",f=""]=t.slice(1);let g="",b=f;const y=b.split("/");if(y.length>1&&(g=y.slice(0,-1).join("/"),b=y.pop()),b){const S=b.match(/^\d+/);S&&(b=S[0])}return hx({host:s,pass:l,path:g,projectId:b,port:u,protocol:n,publicKey:r})}function hx(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function RR(e){if(!At)return!0;const{port:t,projectId:n,protocol:r}=e;return["protocol","publicKey","host","projectId"].find(u=>e[u]?!1:(ft.error(`Invalid Sentry Dsn: ${u} missing`),!0))?!1:n.match(/^\d+$/)?OR(r)?t&&isNaN(parseInt(t,10))?(ft.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):!0:(ft.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(ft.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1)}function PR(e){return e.match(kR)?.[1]}function IR(e){const t=e.getOptions(),{host:n}=e.getDsn()||{};let r;return t.orgId?r=String(t.orgId):n&&(r=PR(n)),r}function zR(e){const t=typeof e=="string"?_R(e):hx(e);if(!(!t||!RR(t)))return t}function NR(e){if(typeof e=="boolean")return Number(e);const t=typeof e=="string"?parseFloat(e):e;if(!(typeof t!="number"||isNaN(t)||t<0||t>1))return t}const gx=1;let px=!1;function DR(e){const{spanId:t,traceId:n,isRemote:r}=e.spanContext(),l=r?t:Eb(e).parent_span_id,s=fx(e).scope,u=r?s?.getPropagationContext().propagationSpanId||ax():t;return{parent_span_id:l,span_id:u,trace_id:n}}function MR(e){if(e&&e.length>0)return e.map(({context:{spanId:t,traceId:n,traceFlags:r,...l},attributes:s})=>({span_id:t,trace_id:n,sampled:r===gx,attributes:s,...l}))}function mx(e){return typeof e=="number"?bx(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?bx(e.getTime()):Xo()}function bx(e){return e>9999999999?e/1e3:e}function Eb(e){if(FR(e))return e.getSpanJSON();const{spanId:t,traceId:n}=e.spanContext();if(LR(e)){const{attributes:r,startTime:l,name:s,endTime:u,status:f,links:g}=e,b="parentSpanId"in e?e.parentSpanId:"parentSpanContext"in e?e.parentSpanContext?.spanId:void 0;return{span_id:t,trace_id:n,data:r,description:s,parent_span_id:b,start_timestamp:mx(l),timestamp:mx(u)||void 0,status:BR(f),op:r[mR],origin:r[bR],links:MR(g)}}return{span_id:t,trace_id:n,start_timestamp:0,data:{}}}function LR(e){const t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function FR(e){return typeof e.getSpanJSON=="function"}function VR(e){const{traceFlags:t}=e.spanContext();return t===gx}function BR(e){if(!(!e||e.code===vR))return e.code===yR?"ok":e.message||"unknown_error"}const HR="_sentryRootSpan";function vx(e){return e[HR]||e}function yx(){px||(Lg(()=>{console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly.")}),px=!0)}function WR(e){if(typeof __SENTRY_TRACING__=="boolean"&&!__SENTRY_TRACING__)return!1;const t=pi()?.getOptions();return!!t&&(t.tracesSampleRate!=null||!!t.tracesSampler)}const wb="production",GR="_frozenDsc";function xx(e,t){const n=t.getOptions(),{publicKey:r}=t.getDsn()||{},l={environment:n.environment||wb,release:n.release,public_key:r,trace_id:e,org_id:IR(t)};return t.emit("createDsc",l),l}function UR(e,t){const n=t.getPropagationContext();return n.dsc||xx(n.traceId,e)}function YR(e){const t=pi();if(!t)return{};const n=vx(e),r=Eb(n),l=r.data,s=n.spanContext().traceState,u=s?.get("sentry.sample_rate")??l[gR]??l[pR];function f(R){return(typeof u=="number"||typeof u=="string")&&(R.sample_rate=`${u}`),R}const g=n[GR];if(g)return f(g);const b=s?.get("sentry.dsc"),y=b&&wR(b);if(y)return f(y);const S=xx(e.spanContext().traceId,t),w=l[hR],C=r.description;return w!=="url"&&C&&(S.transaction=C),WR()&&(S.sampled=String(VR(n)),S.sample_rand=s?.get("sentry.sample_rand")??fx(n).scope?.getPropagationContext().sampleRand.toString()),f(S),t.emit("createDsc",S,n),S}function Zo(e,t=100,n=1/0){try{return Cb("",e,t,n)}catch(r){return{ERROR:`**non-serializable** (${r})`}}}function Sx(e,t=3,n=100*1024){const r=Zo(e,t);return jR(r)>n?Sx(e,t-1,n):r}function Cb(e,t,n=1/0,r=1/0,l=JR()){const[s,u]=l;if(t==null||["boolean","string"].includes(typeof t)||typeof t=="number"&&Number.isFinite(t))return t;const f=XR(e,t);if(!f.startsWith("[object "))return f;if(t.__sentry_skip_normalization__)return t;const g=typeof t.__sentry_override_normalization_depth__=="number"?t.__sentry_override_normalization_depth__:n;if(g===0)return f.replace("object ","");if(s(t))return"[Circular ~]";const b=t;if(b&&typeof b.toJSON=="function")try{const C=b.toJSON();return Cb("",C,g-1,r,l)}catch{}const y=Array.isArray(t)?[]:{};let S=0;const w=Q1(t);for(const C in w){if(!Object.prototype.hasOwnProperty.call(w,C))continue;if(S>=r){y[C]="[MaxProperties ~]";break}const R=w[C];y[C]=Cb(C,R,g-1,r,l),S++}return u(t),y}function XR(e,t){try{if(e==="domain"&&t&&typeof t=="object"&&t._events)return"[Domain]";if(e==="domainEmitter")return"[DomainEmitter]";if(typeof global<"u"&&t===global)return"[Global]";if(typeof window<"u"&&t===window)return"[Window]";if(typeof document<"u"&&t===document)return"[Document]";if(X1(t))return"[VueViewModel]";if(Y_(t))return"[SyntheticEvent]";if(typeof t=="number"&&!Number.isFinite(t))return`[${t}]`;if(typeof t=="function")return`[Function: ${Ps(t)}]`;if(typeof t=="symbol")return`[${String(t)}]`;if(typeof t=="bigint")return`[BigInt: ${String(t)}]`;const n=ZR(t);return/^HTML(\w*)Element$/.test(n)?`[HTMLElement: ${n}]`:`[object ${n}]`}catch(n){return`**non-serializable** (${n})`}}function ZR(e){const t=Object.getPrototypeOf(e);return t?.constructor?t.constructor.name:"null prototype"}function KR(e){return~-encodeURI(e).split(/%..|./).length}function jR(e){return KR(JSON.stringify(e))}function JR(){const e=new WeakSet;function t(r){return e.has(r)?!0:(e.add(r),!1)}function n(r){e.delete(r)}return[t,n]}function Yd(e,t=[]){return[e,t]}function QR(e,t){const[n,r]=e;return[n,[...r,t]]}function Ax(e,t){const n=e[1];for(const r of n){const l=r[0].type;if(t(r,l))return!0}return!1}function kb(e){const t=Dg(cn);return t.encodePolyfill?t.encodePolyfill(e):new TextEncoder().encode(e)}function qR(e){const[t,n]=e;let r=JSON.stringify(t);function l(s){typeof r=="string"?r=typeof s=="string"?r+s:[kb(r),s]:r.push(typeof s=="string"?kb(s):s)}for(const s of n){const[u,f]=s;if(l(`
61
+ ${JSON.stringify(u)}
62
+ `),typeof f=="string"||f instanceof Uint8Array)l(f);else{let g;try{g=JSON.stringify(f)}catch{g=JSON.stringify(Zo(f))}l(g)}}return typeof r=="string"?r:$R(r)}function $R(e){const t=e.reduce((l,s)=>l+s.length,0),n=new Uint8Array(t);let r=0;for(const l of e)n.set(l,r),r+=l.length;return n}function e5(e){const t=typeof e.data=="string"?kb(e.data):e.data;return[{type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType},t]}const t5={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 Ex(e){return t5[e]}function wx(e){if(!e?.sdk)return;const{name:t,version:n}=e.sdk;return{name:t,version:n}}function n5(e,t,n,r){const l=e.sdkProcessingMetadata?.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!n&&r&&{dsn:Yg(r)},...l&&{trace:l}}}function Cx(e,t){if(!t?.length||!e.description)return!1;for(const n of t){if(i5(n)){if(Gg(e.description,n))return!0;continue}if(!n.name&&!n.op)continue;const r=n.name?Gg(e.description,n.name):!0,l=n.op?e.op&&Gg(e.op,n.op):!0;if(r&&l)return!0}return!1}function r5(e,t){const n=t.parent_span_id,r=t.span_id;if(n)for(const l of e)l.parent_span_id===r&&(l.parent_span_id=n)}function i5(e){return typeof e=="string"||e instanceof RegExp}function a5(e,t){if(!t)return e;const n=e.sdk||{};return e.sdk={...n,name:n.name||t.name,version:n.version||t.version,integrations:[...e.sdk?.integrations||[],...t.integrations||[]],packages:[...e.sdk?.packages||[],...t.packages||[]],settings:e.sdk?.settings||t.settings?{...e.sdk?.settings,...t.settings}:void 0},e}function l5(e,t,n,r){const l=wx(n),s={sent_at:new Date().toISOString(),...l&&{sdk:l},...!!r&&t&&{dsn:Yg(t)}},u="aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()];return Yd(s,[u])}function o5(e,t,n,r){const l=wx(n),s=e.type&&e.type!=="replay_event"?e.type:"event";a5(e,n?.sdk);const u=n5(e,l,r,t);return delete e.sdkProcessingMetadata,Yd(u,[[{type:s},e]])}const Tb=0,kx=1,Tx=2;function Gu(e){return new zs(t=>{t(e)})}function Xg(e){return new zs((t,n)=>{n(e)})}class zs{constructor(t){this._state=Tb,this._handlers=[],this._runExecutor(t)}then(t,n){return new zs((r,l)=>{this._handlers.push([!1,s=>{if(!t)r(s);else try{r(t(s))}catch(u){l(u)}},s=>{if(!n)l(s);else try{r(n(s))}catch(u){l(u)}}]),this._executeHandlers()})}catch(t){return this.then(n=>n,t)}finally(t){return new zs((n,r)=>{let l,s;return this.then(u=>{s=!1,l=u,t&&t()},u=>{s=!0,l=u,t&&t()}).then(()=>{if(s){r(l);return}n(l)})})}_executeHandlers(){if(this._state===Tb)return;const t=this._handlers.slice();this._handlers=[],t.forEach(n=>{n[0]||(this._state===kx&&n[1](this._value),this._state===Tx&&n[2](this._value),n[0]=!0)})}_runExecutor(t){const n=(s,u)=>{if(this._state===Tb){if(Hg(u)){u.then(r,l);return}this._state=s,this._value=u,this._executeHandlers()}},r=s=>{n(kx,s)},l=s=>{n(Tx,s)};try{t(r,l)}catch(s){l(s)}}}function Ob(e,t,n,r=0){return new zs((l,s)=>{const u=e[r];if(t===null||typeof u!="function")l(t);else{const f=u({...t},n);At&&u.id&&f===null&&ft.log(`Event processor "${u.id}" dropped event`),Hg(f)?f.then(g=>Ob(e,g,n,r+1).then(l)).then(null,s):Ob(e,f,n,r+1).then(l).then(null,s)}})}function s5(e,t){const{fingerprint:n,span:r,breadcrumbs:l,sdkProcessingMetadata:s}=t;u5(e,t),r&&d5(e,r),h5(e,n),c5(e,l),f5(e,s)}function Ox(e,t){const{extra:n,tags:r,user:l,contexts:s,level:u,sdkProcessingMetadata:f,breadcrumbs:g,fingerprint:b,eventProcessors:y,attachments:S,propagationContext:w,transactionName:C,span:R}=t;Zg(e,"extra",n),Zg(e,"tags",r),Zg(e,"user",l),Zg(e,"contexts",s),e.sdkProcessingMetadata=Gd(e.sdkProcessingMetadata,f,2),u&&(e.level=u),C&&(e.transactionName=C),R&&(e.span=R),g.length&&(e.breadcrumbs=[...e.breadcrumbs,...g]),b.length&&(e.fingerprint=[...e.fingerprint,...b]),y.length&&(e.eventProcessors=[...e.eventProcessors,...y]),S.length&&(e.attachments=[...e.attachments,...S]),e.propagationContext={...e.propagationContext,...w}}function Zg(e,t,n){e[t]=Gd(e[t],n,1)}function u5(e,t){const{extra:n,tags:r,user:l,contexts:s,level:u,transactionName:f}=t;Object.keys(n).length&&(e.extra={...n,...e.extra}),Object.keys(r).length&&(e.tags={...r,...e.tags}),Object.keys(l).length&&(e.user={...l,...e.user}),Object.keys(s).length&&(e.contexts={...s,...e.contexts}),u&&(e.level=u),f&&e.type!=="transaction"&&(e.transaction=f)}function c5(e,t){const n=[...e.breadcrumbs||[],...t];e.breadcrumbs=n.length?n:void 0}function f5(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function d5(e,t){e.contexts={trace:DR(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:YR(t),...e.sdkProcessingMetadata};const n=vx(t),r=Eb(n).description;r&&!e.transaction&&e.type==="transaction"&&(e.transaction=r)}function h5(e,t){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint.length||delete e.fingerprint}let Kg,_x,jg;function g5(e){const t=cn._sentryDebugIds;if(!t)return{};const n=Object.keys(t);return jg&&n.length===_x||(_x=n.length,jg=n.reduce((r,l)=>{Kg||(Kg={});const s=Kg[l];if(s)r[s[0]]=s[1];else{const u=e(l);for(let f=u.length-1;f>=0;f--){const b=u[f]?.filename,y=t[l];if(b&&y){r[b]=y,Kg[l]=[b,y];break}}}return r},{})),jg}function p5(e,t,n,r,l,s){const{normalizeDepth:u=3,normalizeMaxBreadth:f=1e3}=e,g={...t,event_id:t.event_id||n.event_id||Ga(),timestamp:t.timestamp||Wd()},b=n.integrations||e.integrations.map(B=>B.name);m5(g,e),y5(g,b),l&&l.emit("applyFrameMetadata",t),t.type===void 0&&b5(g,e.stackParser);const y=S5(r,n.captureContext);n.mechanism&&tf(g,n.mechanism);const S=l?l.getEventProcessors():[],w=cR().getScopeData();if(s){const B=s.getScopeData();Ox(w,B)}if(y){const B=y.getScopeData();Ox(w,B)}const C=[...n.attachments||[],...w.attachments];C.length&&(n.attachments=C),s5(g,w);const R=[...S,...w.eventProcessors];return Ob(R,g,n).then(B=>(B&&v5(B),typeof u=="number"&&u>0?x5(B,u,f):B))}function m5(e,t){const{environment:n,release:r,dist:l,maxValueLength:s=250}=t;e.environment=e.environment||n||wb,!e.release&&r&&(e.release=r),!e.dist&&l&&(e.dist=l);const u=e.request;u?.url&&(u.url=Wg(u.url,s))}function b5(e,t){const n=g5(t);e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(l=>{l.filename&&(l.debug_id=n[l.filename])})})}function v5(e){const t={};if(e.exception?.values?.forEach(r=>{r.stacktrace?.frames?.forEach(l=>{l.debug_id&&(l.abs_path?t[l.abs_path]=l.debug_id:l.filename&&(t[l.filename]=l.debug_id),delete l.debug_id)})}),Object.keys(t).length===0)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];const n=e.debug_meta.images;Object.entries(t).forEach(([r,l])=>{n.push({type:"sourcemap",code_file:r,debug_id:l})})}function y5(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function x5(e,t,n){if(!e)return null;const r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(l=>({...l,...l.data&&{data:Zo(l.data,t,n)}}))},...e.user&&{user:Zo(e.user,t,n)},...e.contexts&&{contexts:Zo(e.contexts,t,n)},...e.extra&&{extra:Zo(e.extra,t,n)}};return e.contexts?.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=Zo(e.contexts.trace.data,t,n))),e.spans&&(r.spans=e.spans.map(l=>({...l,...l.data&&{data:Zo(l.data,t,n)}}))),e.contexts?.flags&&r.contexts&&(r.contexts.flags=Zo(e.contexts.flags,3,n)),r}function S5(e,t){if(!t)return e;const n=e?e.clone():new fo;return n.update(t),n}function UY(e){}function A5(e,t){return af().captureException(e,void 0)}function Rx(e,t){return af().captureEvent(e,t)}function Px(e){const t=Ud(),n=af(),{userAgent:r}=cn.navigator||{},l=eR({user:n.getUser()||t.getUser(),...r&&{userAgent:r},...e}),s=t.getSession();return s?.status==="ok"&&nf(s,{status:"exited"}),Ix(),t.setSession(l),l}function Ix(){const e=Ud(),n=af().getSession()||e.getSession();n&&tR(n),zx(),e.setSession()}function zx(){const e=Ud(),t=pi(),n=e.getSession();n&&t&&t.captureSession(n)}function Nx(e=!1){if(e){Ix();return}zx()}const E5="7";function w5(e){const t=e.protocol?`${e.protocol}:`:"",n=e.port?`:${e.port}`:"";return`${t}//${e.host}${n}${e.path?`/${e.path}`:""}/api/`}function C5(e){return`${w5(e)}${e.projectId}/envelope/`}function k5(e,t){const n={sentry_version:E5};return e.publicKey&&(n.sentry_key=e.publicKey),t&&(n.sentry_client=`${t.name}/${t.version}`),new URLSearchParams(n).toString()}function T5(e,t,n){return t||`${C5(e)}?${k5(e,n)}`}const Dx=[];function O5(e,t){const n={};return t.forEach(r=>{r&&Lx(e,r,n)}),n}function Mx(e,t){for(const n of t)n?.afterAllSetup&&n.afterAllSetup(e)}function Lx(e,t,n){if(n[t.name]){At&&ft.log(`Integration skipped because it was already installed: ${t.name}`);return}if(n[t.name]=t,Dx.indexOf(t.name)===-1&&typeof t.setupOnce=="function"&&(t.setupOnce(),Dx.push(t.name)),t.setup&&typeof t.setup=="function"&&t.setup(e),typeof t.preprocessEvent=="function"){const r=t.preprocessEvent.bind(t);e.on("preprocessEvent",(l,s)=>r(l,s,e))}if(typeof t.processEvent=="function"){const r=t.processEvent.bind(t),l=Object.assign((s,u)=>r(s,u,e),{id:t.name});e.addEventProcessor(l)}At&&ft.log(`Integration installed: ${t.name}`)}function YY(e){return e}function _5(e,t,n){const r=[{type:"client_report"},{timestamp:Wd(),discarded_events:e}];return Yd(t?{dsn:t}:{},[r])}function Fx(e){const t=[];e.message&&t.push(e.message);try{const n=e.exception.values[e.exception.values.length-1];n?.value&&(t.push(n.value),n.type&&t.push(`${n.type}: ${n.value}`))}catch{}return t}function R5(e){const{trace_id:t,parent_span_id:n,span_id:r,status:l,origin:s,data:u,op:f}=e.contexts?.trace??{};return{data:u??{},description:e.transaction,op:f,parent_span_id:n,span_id:r??"",start_timestamp:e.start_timestamp??0,status:l,timestamp:e.timestamp,trace_id:t??"",origin:s,profile_id:u?.[ux],exclusive_time:u?.[cx],measurements:e.measurements,is_segment:!0}}function P5(e){return{type:"transaction",timestamp:e.timestamp,start_timestamp:e.start_timestamp,transaction:e.description,contexts:{trace:{trace_id:e.trace_id,span_id:e.span_id,parent_span_id:e.parent_span_id,op:e.op,status:e.status,origin:e.origin,data:{...e.data,...e.profile_id&&{[ux]:e.profile_id},...e.exclusive_time&&{[cx]:e.exclusive_time}}}},measurements:e.measurements}}const Vx="Not capturing exception because it's already been captured.",Bx="Discarded session because of missing or non-string release",Hx=Symbol.for("SentryInternalError"),Wx=Symbol.for("SentryDoNotSendEventError");function Jg(e){return{message:e,[Hx]:!0}}function _b(e){return{message:e,[Wx]:!0}}function Gx(e){return!!e&&typeof e=="object"&&Hx in e}function Ux(e){return!!e&&typeof e=="object"&&Wx in e}class I5{constructor(t){if(this._options=t,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=zR(t.dsn):At&&ft.warn("No DSN provided, client will not send events."),this._dsn){const n=T5(this._dsn,t.tunnel,t._metadata?t._metadata.sdk:void 0);this._transport=t.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:n})}}captureException(t,n,r){const l=Ga();if(tx(t))return At&&ft.log(Vx),l;const s={event_id:l,...n};return this._process(this.eventFromException(t,s).then(u=>this._captureEvent(u,s,r))),s.event_id}captureMessage(t,n,r,l){const s={event_id:Ga(),...r},u=mb(t)?t:String(t),f=bb(t)?this.eventFromMessage(u,n,s):this.eventFromException(t,s);return this._process(f.then(g=>this._captureEvent(g,s,l))),s.event_id}captureEvent(t,n,r){const l=Ga();if(n?.originalException&&tx(n.originalException))return At&&ft.log(Vx),l;const s={event_id:l,...n},u=t.sdkProcessingMetadata||{},f=u.capturedSpanScope,g=u.capturedSpanIsolationScope;return this._process(this._captureEvent(t,s,f||r,g)),s.event_id}captureSession(t){this.sendSession(t),nf(t,{init:!1})}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const n=this._transport;return n?(this.emit("flush"),this._isClientDoneProcessing(t).then(r=>n.flush(t).then(l=>r&&l))):Gu(!0)}close(t){return this.flush(t).then(n=>(this.getOptions().enabled=!1,this.emit("close"),n))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}init(){(this._isEnabled()||this._options.integrations.some(({name:t})=>t.startsWith("Spotlight")))&&this._setupIntegrations()}getIntegrationByName(t){return this._integrations[t]}addIntegration(t){const n=this._integrations[t.name];Lx(this,t,this._integrations),n||Mx(this,[t])}sendEvent(t,n={}){this.emit("beforeSendEvent",t,n);let r=o5(t,this._dsn,this._options._metadata,this._options.tunnel);for(const s of n.attachments||[])r=QR(r,e5(s));const l=this.sendEnvelope(r);l&&l.then(s=>this.emit("afterSendEvent",t,s),null)}sendSession(t){const{release:n,environment:r=wb}=this._options;if("aggregates"in t){const s=t.attrs||{};if(!s.release&&!n){At&&ft.warn(Bx);return}s.release=s.release||n,s.environment=s.environment||r,t.attrs=s}else{if(!t.release&&!n){At&&ft.warn(Bx);return}t.release=t.release||n,t.environment=t.environment||r}this.emit("beforeSendSession",t);const l=l5(t,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(l)}recordDroppedEvent(t,n,r=1){if(this._options.sendClientReports){const l=`${t}:${n}`;At&&ft.log(`Recording outcome: "${l}"${r>1?` (${r} times)`:""}`),this._outcomes[l]=(this._outcomes[l]||0)+r}}on(t,n){const r=this._hooks[t]=this._hooks[t]||[];return r.push(n),()=>{const l=r.indexOf(n);l>-1&&r.splice(l,1)}}emit(t,...n){const r=this._hooks[t];r&&r.forEach(l=>l(...n))}sendEnvelope(t){return this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport?this._transport.send(t).then(null,n=>(At&&ft.error("Error while sending envelope:",n),n)):(At&&ft.error("Transport disabled"),Gu({}))}_setupIntegrations(){const{integrations:t}=this._options;this._integrations=O5(this,t),Mx(this,t)}_updateSessionFromEvent(t,n){let r=n.level==="fatal",l=!1;const s=n.exception?.values;if(s){l=!0;for(const g of s)if(g.mechanism?.handled===!1){r=!0;break}}const u=t.status==="ok";(u&&t.errors===0||u&&r)&&(nf(t,{...r&&{status:"crashed"},errors:t.errors||Number(l||r)}),this.captureSession(t))}_isClientDoneProcessing(t){return new zs(n=>{let r=0;const l=1,s=setInterval(()=>{this._numProcessing==0?(clearInterval(s),n(!0)):(r+=l,t&&r>=t&&(clearInterval(s),n(!1)))},l)})}_isEnabled(){return this.getOptions().enabled!==!1&&this._transport!==void 0}_prepareEvent(t,n,r,l){const s=this.getOptions(),u=Object.keys(this._integrations);return!n.integrations&&u?.length&&(n.integrations=u),this.emit("preprocessEvent",t,n),t.type||l.setLastEventId(t.event_id||n.event_id),p5(s,t,n,r,this,l).then(f=>{if(f===null)return f;this.emit("postprocessEvent",f,n),f.contexts={trace:dR(r),...f.contexts};const g=UR(this,r);return f.sdkProcessingMetadata={dynamicSamplingContext:g,...f.sdkProcessingMetadata},f})}_captureEvent(t,n={},r=af(),l=Ud()){return At&&Rb(t)&&ft.log(`Captured error event \`${Fx(t)[0]||"<unknown>"}\``),this._processEvent(t,n,r,l).then(s=>s.event_id,s=>{At&&(Ux(s)?ft.log(s.message):Gx(s)?ft.warn(s.message):ft.warn(s))})}_processEvent(t,n,r,l){const s=this.getOptions(),{sampleRate:u}=s,f=Yx(t),g=Rb(t),b=t.type||"error",y=`before send for type \`${b}\``,S=typeof u>"u"?void 0:NR(u);if(g&&typeof S=="number"&&Math.random()>S)return this.recordDroppedEvent("sample_rate","error"),Xg(_b(`Discarding event because it's not included in the random sample (sampling rate = ${u})`));const w=b==="replay_event"?"replay":b;return this._prepareEvent(t,n,r,l).then(C=>{if(C===null)throw this.recordDroppedEvent("event_processor",w),_b("An event processor returned `null`, will not send event.");if(n.data&&n.data.__sentry__===!0)return C;const z=N5(this,s,C,n);return z5(z,y)}).then(C=>{if(C===null){if(this.recordDroppedEvent("before_send",w),f){const V=1+(t.spans||[]).length;this.recordDroppedEvent("before_send","span",V)}throw _b(`${y} returned \`null\`, will not send event.`)}const R=r.getSession()||l.getSession();if(g&&R&&this._updateSessionFromEvent(R,C),f){const B=C.sdkProcessingMetadata?.spanCountBeforeProcessing||0,V=C.spans?C.spans.length:0,W=B-V;W>0&&this.recordDroppedEvent("before_send","span",W)}const z=C.transaction_info;if(f&&z&&C.transaction!==t.transaction){const B="custom";C.transaction_info={...z,source:B}}return this.sendEvent(C,n),C}).then(null,C=>{throw Ux(C)||Gx(C)?C:(this.captureException(C,{mechanism:{handled:!1,type:"internal"},data:{__sentry__:!0},originalException:C}),Jg(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
63
+ Reason: ${C}`))})}_process(t){this._numProcessing++,t.then(n=>(this._numProcessing--,n),n=>(this._numProcessing--,n))}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.entries(t).map(([n,r])=>{const[l,s]=n.split(":");return{reason:l,category:s,quantity:r}})}_flushOutcomes(){At&&ft.log("Flushing outcomes...");const t=this._clearOutcomes();if(t.length===0){At&&ft.log("No outcomes to send");return}if(!this._dsn){At&&ft.log("No dsn provided, will not send outcomes");return}At&&ft.log("Sending outcomes:",t);const n=_5(t,this._options.tunnel&&Yg(this._dsn));this.sendEnvelope(n)}}function z5(e,t){const n=`${t} must return \`null\` or a valid event.`;if(Hg(e))return e.then(r=>{if(!Hd(r)&&r!==null)throw Jg(n);return r},r=>{throw Jg(`${t} rejected with ${r}`)});if(!Hd(e)&&e!==null)throw Jg(n);return e}function N5(e,t,n,r){const{beforeSend:l,beforeSendTransaction:s,beforeSendSpan:u,ignoreSpans:f}=t;let g=n;if(Rb(g)&&l)return l(g,r);if(Yx(g)){if(u||f){const b=R5(g);if(f?.length&&Cx(b,f))return null;if(u){const y=u(b);y?g=Gd(n,P5(y)):yx()}if(g.spans){const y=[],S=g.spans;for(const C of S){if(f?.length&&Cx(C,f)){r5(S,C);continue}if(u){const R=u(C);R?y.push(R):(yx(),y.push(C))}else y.push(C)}const w=g.spans.length-y.length;w&&e.recordDroppedEvent("before_send","span",w),g.spans=y}}if(s){if(g.spans){const b=g.spans.length;g.sdkProcessingMetadata={...n.sdkProcessingMetadata,spanCountBeforeProcessing:b}}return s(g,r)}}return g}function Rb(e){return e.type===void 0}function Yx(e){return e.type==="transaction"}function D5(e){return[{type:"log",item_count:e.length,content_type:"application/vnd.sentry.items.log+json"},{items:e}]}function M5(e,t,n,r){const l={};return t?.sdk&&(l.sdk={name:t.sdk.name,version:t.sdk.version}),n&&r&&(l.dsn=Yg(r)),Yd(l,[D5(e)])}function Pb(e,t){const n=L5(e)??[];if(n.length===0)return;const r=e.getOptions(),l=M5(n,r._metadata,r.tunnel,e.getDsn());Xx().set(e,[]),e.emit("flushLogs"),e.sendEnvelope(l)}function L5(e){return Xx().get(e)}function Xx(){return Bd("clientToLogBufferMap",()=>new WeakMap)}const Zx=Symbol.for("SentryBufferFullError");function F5(e){const t=[];function n(){return e===void 0||t.length<e}function r(u){return t.splice(t.indexOf(u),1)[0]||Promise.resolve(void 0)}function l(u){if(!n())return Xg(Zx);const f=u();return t.indexOf(f)===-1&&t.push(f),f.then(()=>r(f)).then(null,()=>r(f).then(null,()=>{})),f}function s(u){return new zs((f,g)=>{let b=t.length;if(!b)return f(!0);const y=setTimeout(()=>{u&&u>0&&f(!1)},u);t.forEach(S=>{Gu(S).then(()=>{--b||(clearTimeout(y),f(!0))},g)})})}return{$:t,add:l,drain:s}}const V5=60*1e3;function B5(e,t=Date.now()){const n=parseInt(`${e}`,10);if(!isNaN(n))return n*1e3;const r=Date.parse(`${e}`);return isNaN(r)?V5:r-t}function H5(e,t){return e[t]||e.all||0}function W5(e,t,n=Date.now()){return H5(e,t)>n}function G5(e,{statusCode:t,headers:n},r=Date.now()){const l={...e},s=n?.["x-sentry-rate-limits"],u=n?.["retry-after"];if(s)for(const f of s.trim().split(",")){const[g,b,,,y]=f.split(":",5),S=parseInt(g,10),w=(isNaN(S)?60:S)*1e3;if(!b)l.all=r+w;else for(const C of b.split(";"))C==="metric_bucket"?(!y||y.split(";").includes("custom"))&&(l[C]=r+w):l[C]=r+w}else u?l.all=r+B5(u,r):t===429&&(l.all=r+60*1e3);return l}const U5=64;function Y5(e,t,n=F5(e.bufferSize||U5)){let r={};const l=u=>n.drain(u);function s(u){const f=[];if(Ax(u,(S,w)=>{const C=Ex(w);W5(r,C)?e.recordDroppedEvent("ratelimit_backoff",C):f.push(S)}),f.length===0)return Gu({});const g=Yd(u[0],f),b=S=>{Ax(g,(w,C)=>{e.recordDroppedEvent(S,Ex(C))})},y=()=>t({body:qR(g)}).then(S=>(S.statusCode!==void 0&&(S.statusCode<200||S.statusCode>=300)&&At&&ft.warn(`Sentry responded with status code ${S.statusCode} to sent event.`),r=G5(r,S),S),S=>{throw b("network_error"),At&&ft.error("Encountered error running transport request:",S),S});return n.add(y).then(S=>S,S=>{if(S===Zx)return At&&ft.error("Skipped sending event because buffer is full."),b("queue_overflow"),Gu({});throw S})}return{send:s,flush:l}}function X5(e){"aggregates"in e?e.attrs?.ip_address===void 0&&(e.attrs={...e.attrs,ip_address:"{{auto}}"}):e.ipAddress===void 0&&(e.ipAddress="{{auto}}")}function Z5(e,t,n=[t],r="npm"){const l=e._metadata||{};l.sdk||(l.sdk={name:`sentry.javascript.${t}`,packages:n.map(s=>({name:`${r}:@sentry/${s}`,version:Lu})),version:Lu}),e._metadata=l}const K5=100;function Uu(e,t){const n=pi(),r=Ud();if(!n)return;const{beforeBreadcrumb:l=null,maxBreadcrumbs:s=K5}=n.getOptions();if(s<=0)return;const f={timestamp:Wd(),...e},g=l?Lg(()=>l(f,t)):f;g!==null&&(n.emit&&n.emit("beforeAddBreadcrumb",g,t),r.addBreadcrumb(g,s))}let Kx;const j5="FunctionToString",jx=new WeakMap,J5=(()=>({name:j5,setupOnce(){Kx=Function.prototype.toString;try{Function.prototype.toString=function(...e){const t=yb(this),n=jx.has(pi())&&t!==void 0?t:this;return Kx.apply(n,e)}}catch{}},setup(e){jx.set(e,!0)}})),Q5=[/^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$/],q5="EventFilters",$5=(e={})=>{let t;return{name:q5,setup(n){const r=n.getOptions();t=Jx(e,r)},processEvent(n,r,l){if(!t){const s=l.getOptions();t=Jx(e,s)}return t3(n,t)?null:n}}},e3=((e={})=>({...$5(e),name:"InboundFilters"}));function Jx(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:Q5],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]]}}function t3(e,t){if(e.type){if(e.type==="transaction"&&r3(e,t.ignoreTransactions))return At&&ft.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
64
+ Event: ${Wu(e)}`),!0}else{if(n3(e,t.ignoreErrors))return At&&ft.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
65
+ Event: ${Wu(e)}`),!0;if(o3(e))return At&&ft.warn(`Event dropped due to not having an error message, error type or stacktrace.
66
+ Event: ${Wu(e)}`),!0;if(i3(e,t.denyUrls))return At&&ft.warn(`Event dropped due to being matched by \`denyUrls\` option.
67
+ Event: ${Wu(e)}.
68
+ Url: ${Qg(e)}`),!0;if(!a3(e,t.allowUrls))return At&&ft.warn(`Event dropped due to not being matched by \`allowUrls\` option.
69
+ Event: ${Wu(e)}.
70
+ Url: ${Qg(e)}`),!0}return!1}function n3(e,t){return t?.length?Fx(e).some(n=>Ug(n,t)):!1}function r3(e,t){if(!t?.length)return!1;const n=e.transaction;return n?Ug(n,t):!1}function i3(e,t){if(!t?.length)return!1;const n=Qg(e);return n?Ug(n,t):!1}function a3(e,t){if(!t?.length)return!0;const n=Qg(e);return n?Ug(n,t):!0}function l3(e=[]){for(let t=e.length-1;t>=0;t--){const n=e[t];if(n&&n.filename!=="<anonymous>"&&n.filename!=="[native code]")return n.filename||null}return null}function Qg(e){try{const n=[...e.exception?.values??[]].reverse().find(r=>r.mechanism?.parent_id===void 0&&r.stacktrace?.frames?.length)?.stacktrace?.frames;return n?l3(n):null}catch{return At&&ft.error(`Cannot extract url for event ${Wu(e)}`),null}}function o3(e){return e.exception?.values?.length?!e.message&&!e.exception.values.some(t=>t.stacktrace||t.type&&t.type!=="Error"||t.value):!1}function s3(e,t,n,r,l,s){if(!l.exception?.values||!s||!Is(s.originalException,Error))return;const u=l.exception.values.length>0?l.exception.values[l.exception.values.length-1]:void 0;u&&(l.exception.values=Ib(e,t,r,s.originalException,n,l.exception.values,u,0))}function Ib(e,t,n,r,l,s,u,f){if(s.length>=n+1)return s;let g=[...s];if(Is(r[l],Error)){Qx(u,f);const b=e(t,r[l]),y=g.length;qx(b,l,y,f),g=Ib(e,t,n,r[l],l,[b,...g],b,y)}return Array.isArray(r.errors)&&r.errors.forEach((b,y)=>{if(Is(b,Error)){Qx(u,f);const S=e(t,b),w=g.length;qx(S,`errors[${y}]`,w,f),g=Ib(e,t,n,b,l,[S,...g],S,w)}}),g}function Qx(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,...e.type==="AggregateError"&&{is_exception_group:!0},exception_id:t}}function qx(e,t,n,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:n,parent_id:r}}function u3(e){const t="console";Vu(t,e),Bu(t,c3)}function c3(){"console"in cn&&__.forEach(function(e){e in cn.console&&ra(cn.console,e,function(t){return Mg[e]=t,function(...n){hl("console",{args:n,level:e}),Mg[e]?.apply(cn.console,n)}})})}function f3(e){return e==="warn"?"warning":["fatal","error","warning","log","info","debug"].includes(e)?e:"log"}const d3="Dedupe",h3=(()=>{let e;return{name:d3,processEvent(t){if(t.type)return t;try{if(g3(t,e))return At&&ft.warn("Event dropped due to being a duplicate of previously captured event."),null}catch{}return e=t}}});function g3(e,t){return t?!!(p3(e,t)||m3(e,t)):!1}function p3(e,t){const n=e.message,r=t.message;return!(!n&&!r||n&&!r||!n&&r||n!==r||!e2(e,t)||!$x(e,t))}function m3(e,t){const n=t2(t),r=t2(e);return!(!n||!r||n.type!==r.type||n.value!==r.value||!e2(e,t)||!$x(e,t))}function $x(e,t){let n=H1(e),r=H1(t);if(!n&&!r)return!0;if(n&&!r||!n&&r||(n=n,r=r,r.length!==n.length))return!1;for(let l=0;l<r.length;l++){const s=r[l],u=n[l];if(s.filename!==u.filename||s.lineno!==u.lineno||s.colno!==u.colno||s.function!==u.function)return!1}return!0}function e2(e,t){let n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;n=n,r=r;try{return n.join("")===r.join("")}catch{return!1}}function t2(e){return e.exception?.values?.[0]}function zb(e){if(!e)return{};const t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};const n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:n,hash:r,relative:t[5]+n+r}}function n2(e){if(e!==void 0)return e>=400&&e<500?"warning":e>=500?"error":void 0}const Xd=cn;function b3(){return"history"in Xd&&!!Xd.history}function v3(){if(!("fetch"in Xd))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch{return!1}}function Nb(e){return e&&/^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function y3(){if(typeof EdgeRuntime=="string")return!0;if(!v3())return!1;if(Nb(Xd.fetch))return!0;let e=!1;const t=Xd.document;if(t&&typeof t.createElement=="function")try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n),n.contentWindow?.fetch&&(e=Nb(n.contentWindow.fetch)),t.head.removeChild(n)}catch(n){At&&ft.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return e}function x3(e,t){const n="fetch";Vu(n,e),Bu(n,()=>S3(void 0,t))}function S3(e,t=!1){t&&!y3()||ra(cn,"fetch",function(n){return function(...r){const l=new Error,{method:s,url:u}=A3(r),f={args:r,fetchData:{method:s,url:u},startTimestamp:Xo()*1e3,virtualError:l,headers:E3(r)};return hl("fetch",{...f}),n.apply(cn,r).then(async g=>(hl("fetch",{...f,endTimestamp:Xo()*1e3,response:g}),g),g=>{if(hl("fetch",{...f,endTimestamp:Xo()*1e3,error:g}),pb(g)&&g.stack===void 0&&(g.stack=l.stack,Hu(g,"framesToPop",1)),g instanceof TypeError&&(g.message==="Failed to fetch"||g.message==="Load failed"||g.message==="NetworkError when attempting to fetch resource."))try{const b=new URL(f.fetchData.url);g.message=`${g.message} (${b.host})`}catch{}throw g})}})}function Db(e,t){return!!e&&typeof e=="object"&&!!e[t]}function r2(e){return typeof e=="string"?e:e?Db(e,"url")?e.url:e.toString?e.toString():"":""}function A3(e){if(e.length===0)return{method:"GET",url:""};if(e.length===2){const[n,r]=e;return{url:r2(n),method:Db(r,"method")?String(r.method).toUpperCase():"GET"}}const t=e[0];return{url:r2(t),method:Db(t,"method")?String(t.method).toUpperCase():"GET"}}function E3(e){const[t,n]=e;try{if(typeof n=="object"&&n!==null&&"headers"in n&&n.headers)return new Headers(n.headers);if(X_(t))return new Headers(t.headers)}catch{}}function w3(){return"npm"}const Ir=cn;let Mb=0;function i2(){return Mb>0}function C3(){Mb++,setTimeout(()=>{Mb--})}function lf(e,t={}){function n(l){return typeof l=="function"}if(!n(e))return e;try{const l=e.__sentry_wrapped__;if(l)return typeof l=="function"?l:e;if(yb(e))return e}catch{return e}const r=function(...l){try{const s=l.map(u=>lf(u,t));return e.apply(this,s)}catch(s){throw C3(),fR(u=>{u.addEventProcessor(f=>(t.mechanism&&(xb(f,void 0),tf(f,t.mechanism)),f.extra={...f.extra,arguments:l},f)),A5(s)}),s}};try{for(const l in e)Object.prototype.hasOwnProperty.call(e,l)&&(r[l]=e[l])}catch{}J1(r,e),Hu(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return e.name}})}catch{}return r}function k3(){const e=K1(),{referrer:t}=Ir.document||{},{userAgent:n}=Ir.navigator||{},r={...t&&{Referer:t},...n&&{"User-Agent":n}};return{url:e,headers:r}}function Lb(e,t){const n=Vb(e,t),r={type:P3(t),value:I3(t)};return n.length&&(r.stacktrace={frames:n}),r.type===void 0&&r.value===""&&(r.value="Unrecoverable error caught"),r}function T3(e,t,n,r){const s=pi()?.getOptions().normalizeDepth,u=L3(t),f={__serialized__:Sx(t,s)};if(u)return{exception:{values:[Lb(e,u)]},extra:f};const g={exception:{values:[{type:Bg(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:D3(t,{isUnhandledRejection:r})}]},extra:f};if(n){const b=Vb(e,n);b.length&&(g.exception.values[0].stacktrace={frames:b})}return g}function Fb(e,t){return{exception:{values:[Lb(e,t)]}}}function Vb(e,t){const n=t.stacktrace||t.stack||"",r=_3(t),l=R3(t);try{return e(n,r,l)}catch{}return[]}const O3=/Minified React error #\d+;/i;function _3(e){return e&&O3.test(e.message)?1:0}function R3(e){return typeof e.framesToPop=="number"?e.framesToPop:0}function a2(e){return typeof WebAssembly<"u"&&typeof WebAssembly.Exception<"u"?e instanceof WebAssembly.Exception:!1}function P3(e){const t=e?.name;return!t&&a2(e)?e.message&&Array.isArray(e.message)&&e.message.length==2?e.message[0]:"WebAssembly.Exception":t}function I3(e){const t=e?.message;return a2(e)?Array.isArray(e.message)&&e.message.length==2?e.message[1]:"wasm exception":t?t.error&&typeof t.error.message=="string"?t.error.message:t:"No error message"}function z3(e,t,n,r){const l=n?.syntheticException||void 0,s=Bb(e,t,l,r);return tf(s),s.level="error",n?.event_id&&(s.event_id=n.event_id),Gu(s)}function N3(e,t,n="info",r,l){const s=r?.syntheticException||void 0,u=Hb(e,t,s,l);return u.level=n,r?.event_id&&(u.event_id=r.event_id),Gu(u)}function Bb(e,t,n,r,l){let s;if(U1(t)&&t.error)return Fb(e,t.error);if(Y1(t)||W_(t)){const u=t;if("stack"in t)s=Fb(e,t);else{const f=u.name||(Y1(u)?"DOMError":"DOMException"),g=u.message?`${f}: ${u.message}`:f;s=Hb(e,g,n,r),xb(s,g)}return"code"in u&&(s.tags={...s.tags,"DOMException.code":`${u.code}`}),s}return pb(t)?Fb(e,t):Hd(t)||Bg(t)?(s=T3(e,t,n,l),tf(s,{synthetic:!0}),s):(s=Hb(e,t,n,r),xb(s,`${t}`),tf(s,{synthetic:!0}),s)}function Hb(e,t,n,r){const l={};if(r&&n){const s=Vb(e,n);s.length&&(l.exception={values:[{value:t,stacktrace:{frames:s}}]}),tf(l,{synthetic:!0})}if(mb(t)){const{__sentry_template_string__:s,__sentry_template_values__:u}=t;return l.logentry={message:s,params:u},l}return l.message=t,l}function D3(e,{isUnhandledRejection:t}){const n=J_(e),r=t?"promise rejection":"exception";return U1(e)?`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``:Bg(e)?`Event \`${M3(e)}\` (type=${e.type}) captured as ${r}`:`Object captured as ${r} with keys: ${n}`}function M3(e){try{const t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch{}}function L3(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const n=e[t];if(n instanceof Error)return n}}const F3=5e3;class V3 extends I5{constructor(t){const n=B3(t),r=Ir.SENTRY_SDK_SOURCE||w3();Z5(n,"browser",["browser"],r),n._metadata?.sdk&&(n._metadata.sdk.settings={infer_ip:n.sendDefaultPii?"auto":"never",...n._metadata.sdk.settings}),super(n);const{sendDefaultPii:l,sendClientReports:s,enableLogs:u}=this._options;Ir.document&&(s||u)&&Ir.document.addEventListener("visibilitychange",()=>{Ir.document.visibilityState==="hidden"&&(s&&this._flushOutcomes(),u&&Pb(this))}),u&&(this.on("flush",()=>{Pb(this)}),this.on("afterCaptureLog",()=>{this._logFlushIdleTimeout&&clearTimeout(this._logFlushIdleTimeout),this._logFlushIdleTimeout=setTimeout(()=>{Pb(this)},F3)})),l&&this.on("beforeSendSession",X5)}eventFromException(t,n){return z3(this._options.stackParser,t,n,this._options.attachStacktrace)}eventFromMessage(t,n="info",r){return N3(this._options.stackParser,t,n,r,this._options.attachStacktrace)}_prepareEvent(t,n,r,l){return t.platform=t.platform||"javascript",super._prepareEvent(t,n,r,l)}}function B3(e){return{release:typeof __SENTRY_RELEASE__=="string"?__SENTRY_RELEASE__:Ir.SENTRY_RELEASE?.id,sendClientReports:!0,parentSpanIsAlwaysRootSpan:!0,...e}}const H3=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,mi=cn,W3=1e3;let l2,Wb,Gb;function G3(e){Vu("dom",e),Bu("dom",U3)}function U3(){if(!mi.document)return;const e=hl.bind(null,"dom"),t=o2(e,!0);mi.document.addEventListener("click",t,!1),mi.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(n=>{const l=mi[n]?.prototype;l?.hasOwnProperty?.("addEventListener")&&(ra(l,"addEventListener",function(s){return function(u,f,g){if(u==="click"||u=="keypress")try{const b=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},y=b[u]=b[u]||{refCount:0};if(!y.handler){const S=o2(e);y.handler=S,s.call(this,u,S,g)}y.refCount++}catch{}return s.call(this,u,f,g)}}),ra(l,"removeEventListener",function(s){return function(u,f,g){if(u==="click"||u=="keypress")try{const b=this.__sentry_instrumentation_handlers__||{},y=b[u];y&&(y.refCount--,y.refCount<=0&&(s.call(this,u,y.handler,g),y.handler=void 0,delete b[u]),Object.keys(b).length===0&&delete this.__sentry_instrumentation_handlers__)}catch{}return s.call(this,u,f,g)}}))})}function Y3(e){if(e.type!==Wb)return!1;try{if(!e.target||e.target._sentryId!==Gb)return!1}catch{}return!0}function X3(e,t){return e!=="keypress"?!1:t?.tagName?!(t.tagName==="INPUT"||t.tagName==="TEXTAREA"||t.isContentEditable):!0}function o2(e,t=!1){return n=>{if(!n||n._sentryCaptured)return;const r=Z3(n);if(X3(n.type,r))return;Hu(n,"_sentryCaptured",!0),r&&!r._sentryId&&Hu(r,"_sentryId",Ga());const l=n.type==="keypress"?"input":n.type;Y3(n)||(e({event:n,name:l,global:t}),Wb=n.type,Gb=r?r._sentryId:void 0),clearTimeout(l2),l2=mi.setTimeout(()=>{Gb=void 0,Wb=void 0},W3)}}function Z3(e){try{return e.target}catch{return null}}let qg;function s2(e){const t="history";Vu(t,e),Bu(t,K3)}function K3(){if(mi.addEventListener("popstate",()=>{const t=mi.location.href,n=qg;if(qg=t,n===t)return;hl("history",{from:n,to:t})}),!b3())return;function e(t){return function(...n){const r=n.length>2?n[2]:void 0;if(r){const l=qg,s=j3(String(r));if(qg=s,l===s)return t.apply(this,n);hl("history",{from:l,to:s})}return t.apply(this,n)}}ra(mi.history,"pushState",e),ra(mi.history,"replaceState",e)}function j3(e){try{return new URL(e,mi.location.origin).toString()}catch{return e}}const $g={};function J3(e){const t=$g[e];if(t)return t;let n=mi[e];if(Nb(n))return $g[e]=n.bind(mi);const r=mi.document;if(r&&typeof r.createElement=="function")try{const l=r.createElement("iframe");l.hidden=!0,r.head.appendChild(l);const s=l.contentWindow;s?.[e]&&(n=s[e]),r.head.removeChild(l)}catch(l){H3&&ft.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `,l)}return n&&($g[e]=n.bind(mi))}function u2(e){$g[e]=void 0}const Zd="__sentry_xhr_v3__";function Q3(e){Vu("xhr",e),Bu("xhr",q3)}function q3(){if(!mi.XMLHttpRequest)return;const e=XMLHttpRequest.prototype;e.open=new Proxy(e.open,{apply(t,n,r){const l=new Error,s=Xo()*1e3,u=Yo(r[0])?r[0].toUpperCase():void 0,f=$3(r[1]);if(!u||!f)return t.apply(n,r);n[Zd]={method:u,url:f,request_headers:{}},u==="POST"&&f.match(/sentry_key/)&&(n.__sentry_own_request__=!0);const g=()=>{const b=n[Zd];if(b&&n.readyState===4){try{b.status_code=n.status}catch{}const y={endTimestamp:Xo()*1e3,startTimestamp:s,xhr:n,virtualError:l};hl("xhr",y)}};return"onreadystatechange"in n&&typeof n.onreadystatechange=="function"?n.onreadystatechange=new Proxy(n.onreadystatechange,{apply(b,y,S){return g(),b.apply(y,S)}}):n.addEventListener("readystatechange",g),n.setRequestHeader=new Proxy(n.setRequestHeader,{apply(b,y,S){const[w,C]=S,R=y[Zd];return R&&Yo(w)&&Yo(C)&&(R.request_headers[w.toLowerCase()]=C),b.apply(y,S)}}),t.apply(n,r)}}),e.send=new Proxy(e.send,{apply(t,n,r){const l=n[Zd];if(!l)return t.apply(n,r);r[0]!==void 0&&(l.body=r[0]);const s={startTimestamp:Xo()*1e3,xhr:n};return hl("xhr",s),t.apply(n,r)}})}function $3(e){if(Yo(e))return e;try{return e.toString()}catch{}}function eP(e,t=J3("fetch")){let n=0,r=0;function l(s){const u=s.body.length;n+=u,r++;const f={body:s.body,method:"POST",referrerPolicy:"strict-origin",headers:e.headers,keepalive:n<=6e4&&r<15,...e.fetchOptions};if(!t)return u2("fetch"),Xg("No fetch implementation available");try{return t(e.url,f).then(g=>(n-=u,r--,{statusCode:g.status,headers:{"x-sentry-rate-limits":g.headers.get("X-Sentry-Rate-Limits"),"retry-after":g.headers.get("Retry-After")}}))}catch(g){return u2("fetch"),n-=u,r--,Xg(g)}}return Y5(e,l)}const tP=30,nP=50;function Ub(e,t,n,r){const l={filename:e,function:t==="<anonymous>"?Fu:t,in_app:!0};return n!==void 0&&(l.lineno=n),r!==void 0&&(l.colno=r),l}const rP=/^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i,iP=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,aP=/\((\S*)(?::(\d+))(?::(\d+))\)/,lP=/at (.+?) ?\(data:(.+?),/,oP=[tP,e=>{const t=e.match(lP);if(t)return{filename:`<data:${t[2]}>`,function:t[1]};const n=rP.exec(e);if(n){const[,l,s,u]=n;return Ub(l,Fu,+s,+u)}const r=iP.exec(e);if(r){if(r[2]&&r[2].indexOf("eval")===0){const f=aP.exec(r[2]);f&&(r[2]=f[1],r[3]=f[2],r[4]=f[3])}const[s,u]=c2(r[1]||Fu,r[2]);return Ub(u,s,r[3]?+r[3]:void 0,r[4]?+r[4]:void 0)}}],sP=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,uP=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,cP=M_(...[oP,[nP,e=>{const t=sP.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){const s=uP.exec(t[3]);s&&(t[1]=t[1]||"eval",t[3]=s[1],t[4]=s[2],t[5]="")}let r=t[3],l=t[1]||Fu;return[l,r]=c2(l,r),Ub(r,l,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]]),c2=(e,t)=>{const n=e.indexOf("safari-extension")!==-1,r=e.indexOf("safari-web-extension")!==-1;return n||r?[e.indexOf("@")!==-1?e.split("@")[0]:Fu,n?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]},Yb=typeof __SENTRY_DEBUG__>"u"||__SENTRY_DEBUG__,ep=1024,fP="Breadcrumbs",dP=((e={})=>{const t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:fP,setup(n){t.console&&u3(pP(n)),t.dom&&G3(gP(n,t.dom)),t.xhr&&Q3(mP(n)),t.fetch&&x3(bP(n)),t.history&&s2(vP(n)),t.sentry&&n.on("beforeSendEvent",hP(n))}}});function hP(e){return function(n){pi()===e&&Uu({category:`sentry.${n.type==="transaction"?"transaction":"event"}`,event_id:n.event_id,level:n.level,message:Wu(n)},{event:n})}}function gP(e,t){return function(r){if(pi()!==e)return;let l,s,u=typeof t=="object"?t.serializeAttribute:void 0,f=typeof t=="object"&&typeof t.maxStringLength=="number"?t.maxStringLength:void 0;f&&f>ep&&(Yb&&ft.warn(`\`dom.maxStringLength\` cannot exceed ${ep}, but a value of ${f} was configured. Sentry will use ${ep} instead.`),f=ep),typeof u=="string"&&(u=[u]);try{const b=r.event,y=yP(b)?b.target:b;l=Z1(y,{keyAttrs:u,maxStringLength:f}),s=j_(y)}catch{l="<unknown>"}if(l.length===0)return;const g={category:`ui.${r.name}`,message:l};s&&(g.data={"ui.component_name":s}),Uu(g,{event:r.event,name:r.name,global:r.global})}}function pP(e){return function(n){if(pi()!==e)return;const r={category:"console",data:{arguments:n.args,logger:"console"},level:f3(n.level),message:j1(n.args," ")};if(n.level==="assert")if(n.args[0]===!1)r.message=`Assertion failed: ${j1(n.args.slice(1)," ")||"console.assert"}`,r.data.arguments=n.args.slice(1);else return;Uu(r,{input:n.args,level:n.level})}}function mP(e){return function(n){if(pi()!==e)return;const{startTimestamp:r,endTimestamp:l}=n,s=n.xhr[Zd];if(!r||!l||!s)return;const{method:u,url:f,status_code:g,body:b}=s,y={method:u,url:f,status_code:g},S={xhr:n.xhr,input:b,startTimestamp:r,endTimestamp:l},w={category:"xhr",data:y,type:"http",level:n2(g)};e.emit("beforeOutgoingRequestBreadcrumb",w,S),Uu(w,S)}}function bP(e){return function(n){if(pi()!==e)return;const{startTimestamp:r,endTimestamp:l}=n;if(l&&!(n.fetchData.url.match(/sentry_key/)&&n.fetchData.method==="POST"))if(n.fetchData.method,n.fetchData.url,n.error){const s=n.fetchData,u={data:n.error,input:n.args,startTimestamp:r,endTimestamp:l},f={category:"fetch",data:s,level:"error",type:"http"};e.emit("beforeOutgoingRequestBreadcrumb",f,u),Uu(f,u)}else{const s=n.response,u={...n.fetchData,status_code:s?.status};n.fetchData.request_body_size,n.fetchData.response_body_size,s?.status;const f={input:n.args,response:s,startTimestamp:r,endTimestamp:l},g={category:"fetch",data:u,type:"http",level:n2(u.status_code)};e.emit("beforeOutgoingRequestBreadcrumb",g,f),Uu(g,f)}}}function vP(e){return function(n){if(pi()!==e)return;let r=n.from,l=n.to;const s=zb(Ir.location.href);let u=r?zb(r):void 0;const f=zb(l);u?.path||(u=s),s.protocol===f.protocol&&s.host===f.host&&(l=f.relative),s.protocol===u.protocol&&s.host===u.host&&(r=u.relative),Uu({category:"navigation",data:{from:r,to:l}})}}function yP(e){return!!e&&!!e.target}const xP=["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"],SP="BrowserApiErrors",AP=((e={})=>{const t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,unregisterOriginalCallbacks:!1,...e};return{name:SP,setupOnce(){t.setTimeout&&ra(Ir,"setTimeout",f2),t.setInterval&&ra(Ir,"setInterval",f2),t.requestAnimationFrame&&ra(Ir,"requestAnimationFrame",EP),t.XMLHttpRequest&&"XMLHttpRequest"in Ir&&ra(XMLHttpRequest.prototype,"send",wP);const n=t.eventTarget;n&&(Array.isArray(n)?n:xP).forEach(l=>CP(l,t))}}});function f2(e){return function(...t){const n=t[0];return t[0]=lf(n,{mechanism:{data:{function:Ps(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function EP(e){return function(t){return e.apply(this,[lf(t,{mechanism:{data:{function:"requestAnimationFrame",handler:Ps(e)},handled:!1,type:"instrument"}})])}}function wP(e){return function(...t){const n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(l=>{l in n&&typeof n[l]=="function"&&ra(n,l,function(s){const u={mechanism:{data:{function:l,handler:Ps(s)},handled:!1,type:"instrument"}},f=yb(s);return f&&(u.mechanism.data.handler=Ps(f)),lf(s,u)})}),e.apply(this,t)}}function CP(e,t){const r=Ir[e]?.prototype;r?.hasOwnProperty?.("addEventListener")&&(ra(r,"addEventListener",function(l){return function(s,u,f){try{kP(u)&&(u.handleEvent=lf(u.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Ps(u),target:e},handled:!1,type:"instrument"}}))}catch{}return t.unregisterOriginalCallbacks&&TP(this,s,u),l.apply(this,[s,lf(u,{mechanism:{data:{function:"addEventListener",handler:Ps(u),target:e},handled:!1,type:"instrument"}}),f])}}),ra(r,"removeEventListener",function(l){return function(s,u,f){try{const g=u.__sentry_wrapped__;g&&l.call(this,s,g,f)}catch{}return l.call(this,s,u,f)}}))}function kP(e){return typeof e.handleEvent=="function"}function TP(e,t,n){e&&typeof e=="object"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"&&e.removeEventListener(t,n)}const OP=()=>({name:"BrowserSession",setupOnce(){if(typeof Ir.document>"u"){Yb&&ft.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");return}Px({ignoreDuration:!0}),Nx(),s2(({from:e,to:t})=>{e!==void 0&&e!==t&&(Px({ignoreDuration:!0}),Nx())})}}),_P="GlobalHandlers",RP=((e={})=>{const t={onerror:!0,onunhandledrejection:!0,...e};return{name:_P,setupOnce(){Error.stackTraceLimit=50},setup(n){t.onerror&&(PP(n),d2("onerror")),t.onunhandledrejection&&(IP(n),d2("onunhandledrejection"))}}});function PP(e){F_(t=>{const{stackParser:n,attachStacktrace:r}=h2();if(pi()!==e||i2())return;const{msg:l,url:s,line:u,column:f,error:g}=t,b=DP(Bb(n,g||l,void 0,r,!1),s,u,f);b.level="error",Rx(b,{originalException:g,mechanism:{handled:!1,type:"auto.browser.global_handlers.onerror"}})})}function IP(e){B_(t=>{const{stackParser:n,attachStacktrace:r}=h2();if(pi()!==e||i2())return;const l=zP(t),s=bb(l)?NP(l):Bb(n,l,void 0,r,!0);s.level="error",Rx(s,{originalException:l,mechanism:{handled:!1,type:"auto.browser.global_handlers.onunhandledrejection"}})})}function zP(e){if(bb(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch{}return e}function NP(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function DP(e,t,n,r){const l=e.exception=e.exception||{},s=l.values=l.values||[],u=s[0]=s[0]||{},f=u.stacktrace=u.stacktrace||{},g=f.frames=f.frames||[],b=r,y=n,S=MP(t)??K1();return g.length===0&&g.push({colno:b,filename:S,function:Fu,in_app:!0,lineno:y}),e}function d2(e){Yb&&ft.log(`Global Handler attached: ${e}`)}function h2(){return pi()?.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}function MP(e){if(!(!Yo(e)||e.length===0)){if(e.startsWith("data:")){const t=e.match(/^data:([^;]+)/),n=t?t[1]:"text/javascript",r=e.includes("base64,");return`<data:${n}${r?",base64":""}>`}return e.slice(0,1024)}}const LP=()=>({name:"HttpContext",preprocessEvent(e){if(!Ir.navigator&&!Ir.location&&!Ir.document)return;const t=k3(),n={...t.headers,...e.request?.headers};e.request={...t,...e.request,headers:n}}}),FP="cause",VP=5,BP="LinkedErrors",HP=((e={})=>{const t=e.limit||VP,n=e.key||FP;return{name:BP,preprocessEvent(r,l,s){const u=s.getOptions();s3(Lb,u.stackParser,n,t,r,l)}}});function WP(e){return[e3(),J5(),AP(),dP(),RP(),HP(),h3(),LP(),OP()]}const GP=!1,UP=WP().filter(e=>{const t=["BrowserApiErrors","Breadcrumbs","GlobalHandlers"].includes(e.name);return t&&console.log(`[Sentry] Excluding integration: ${e.name}`),!t}),g2=new V3({dsn:"https://ffd963e90a83743e3fed7e00476fc6d8@sentry.hamravesh.com/9104",transport:eP,stackParser:cP,integrations:UP,tracesSampleRate:.1,tracePropagationTargets:["localhost",/^https:\/\/yourserver\.io\/api/],debug:GP,environment:"production"}),Kd=new fo;Kd.setClient(g2);try{g2.init(),console.log("[Sentry] Client initialized successfully")}catch(e){console.error("[Sentry] Failed to initialize client:",e)}const Yu=(e,t)=>((...n)=>{try{return t(...n)}catch(r){console.error(`${e} error:`,r),Kd.captureException(r,{captureContext:{extra:{context:e}}})}}),jd=(e,t)=>((...n)=>{try{return t(...n).catch(r=>{throw r.name!=="AbortError"&&(console.error(`${e} async error:`,r),Kd.captureException(r,{captureContext:{extra:{context:e}}})),r})}catch(r){throw r.name!=="AbortError"&&(console.error(`${e} error:`,r),Kd.captureException(r,{captureContext:{extra:{context:e}}})),r}});async function YP(e,t=3){let n;for(let r=0;r<t;r++)try{return await e()}catch(l){if(n=l,r===t-1)throw n}throw n}const tp="https://standardapi.dori.tech",Xb={demoSharingData:`${tp}/bot-sharing-data/`,streamChat:`${tp}/stream-chat-with-assistant/`,searchProductLog:`${tp}/search-selected-item-log`,getUploadUrl:`${tp}/get-upload-url`},XP=jd("fetchBotDataBySharingID",async(e,t)=>YP(async()=>{const n=Xb.demoSharingData+e+(t?`?product_id=${t}`:""),r=await fetch(n);if(r.status!==200)throw new Error(`Network response was not ok: ${r.status}`);return await r.json()},3)),ZP=jd("sendMessageToStreamAPI",async(e,t,n,r,l,s,u,f)=>{const g=t.assistant_id;let b=e;const y={assistant_id:g,thread_id:n||void 0,src:typeof window<"u"?window.location.href:"",message:b,platform:"shopify_pdp",product_id:f||void 0};Object.keys(y).forEach(V=>y[V]===void 0&&delete y[V]);const S=new URLSearchParams({assistant_id:g}).toString(),w=`${Xb.streamChat}?${S}`,C=await fetch(w,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(y),signal:u?.signal});if(u?.signal.aborted){console.log("after response abortController");return}if(C.status===429){l("You have exceeded the request limit. Please wait at least 24 hours and try again.");return}if(C.status===402){l("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(!C.body)throw new Error("ReadableStream not supported in this environment.");const R=C.body.getReader(),z=new TextDecoder("utf-8");let B="";for(;;){if(u?.signal.aborted){R.cancel();return}const{value:V,done:W}=await R.read();if(W)break;if(V){const H=z.decode(V,{stream:!0});B+=H;let te=B.indexOf("}{");for(;te!==-1;){const U=B.slice(0,te+1);B=B.slice(te+1),Yu("JSON parse in streaming",()=>{const K=JSON.parse(U);r(K)})(),te=B.indexOf("}{")}B.endsWith("}")&&Yu("JSON parse remaining buffer",()=>{const U=JSON.parse(B);r(U),B=""})()}}s()}),KP=jd("trackProductClick",async(e,t,n)=>{const r={log:{assistant_id:t.assistant_id,thread_id:n,created_at:new Date().toISOString(),selected_item_id:e.id,tool_call_id:e.tool_call_id}};await fetch(Xb.searchProductLog,{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(r)})}),p2={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..."},jP=e=>e&&e in p2?p2[e]:"Let me check for a moment...",m2=Ae.createContext(void 0);function JP({children:e}){const[t,n]=Ae.useState(null),[r,l]=Ae.useState(!1),[s,u]=Ae.useState(null),[f,g]=Ae.useState(null),[b,y]=Ae.useState({repliedProduct:null,threadId:null,isRequestInProgress:!1}),[S,w]=Ae.useState([]),[C,R]=Ae.useState("welcome"),[z,B]=Ae.useState(!1),[V,W]=Ae.useState("starting"),H=Ae.useRef(null),te=Ae.useCallback(ue=>{y(Oe=>({...Oe,repliedProduct:ue}))},[]),U=Ae.useCallback(()=>{H.current&&(H.current.abort(),H.current=null),y(ue=>({...ue,isRequestInProgress:!1,repliedProduct:null})),B(!1),W("starting"),R("ongoing"),w(ue=>ue.filter(Oe=>Oe.type!=="loading"))},[]),K=Ae.useCallback(jd("initializeBot",async(ue,Oe)=>{if(!ue||ue.trim()===""){u("Invalid sharing ID provided"),console.error("Invalid sharing ID provided");return}l(!0),u(null),g(Oe||null);try{const ee=await XP(ue,Oe||void 0);if(console.log("result",ee),ee.error){u(ee.error),console.error("Error initializing bot:",ee.error);return}if(ee.data){const oe={...ee.data,sharing_id:ue,suggestedReply:be(ee.data.suggested_prompts||ee.data.suggestedReply)};n(oe),R("initial-greeting")}else u("No bot data found"),console.error("No bot data found")}finally{l(!1)}}),[]),be=Yu("parseSuggestedReply",ue=>{if(!ue)return[];if(Array.isArray(ue))return ue;try{return JSON.parse(ue)}catch(Oe){return console.error("Error parsing suggested reply:",Oe),[]}}),ge=Ae.useCallback(Yu("addWelcomeMessage",()=>{const ue={id:Date.now().toString(),type:"welcome",timestamp:new Date,content:t?.wellcomeMessage||"Whatever you have in mind about your purchase, I'm here to help you!"};w(Oe=>[...Oe,ue])}),[t?.wellcomeMessage]),fe=Ae.useCallback(jd("sendMessage",async({message:ue,apiMessage:Oe},ee)=>{if(!t||z)return;const oe={id:Date.now().toString(),type:"user",content:ue,timestamp:new Date,repliedProduct:ee};w(me=>[...me.filter(xe=>xe.type!=="suggestions"),oe]),H.current&&(H.current.abort(),H.current=null),R("thinking"),B(!0),W("generating"),y(me=>({...me,isRequestInProgress:!0})),H.current=new AbortController;let D={id:(Date.now()+1).toString(),type:"loading",content:"Let me check for a moment...",timestamp:new Date};w(me=>[...me,D]);let j=Oe||ue;ee&&(j=`this message is replied to product with id ${ee.id}: ${ue}`);let we="",Ee=null,k=[],G=[];try{await ZP(j,t,b.threadId,me=>{Yu("streaming chunk handler",()=>{if(console.log("[StreamChatResponse chunk received]:",me),me.thread_id)console.log("[StreamChatResponse] thread_id received:",me.thread_id),y(M=>({...M,threadId:me.thread_id||null}));else if(me.wait)console.log("[StreamChatResponse] wait received, creating new message session"),Ee&&we.trim()&&w(M=>M.map(xe=>xe.id===Ee?.id?{...xe,content:we}:xe)),Ee=null,we="",w(M=>[...M.filter(He=>He.type!=="loading"),{id:(Date.now()+Math.random()).toString(),type:"loading",content:jP(me.tool_name),timestamp:new Date}]);else if(me.text)if(console.log("[StreamChatResponse] text chunk received:",me.text),we+=me.text,Ee)console.log("[StreamChatResponse] Updating existing bot message with:",we),w(M=>M.map(xe=>xe.id===Ee?.id?{...xe,content:we}:xe));else{console.log("[StreamChatResponse] Creating new bot message:",we);const M={id:(Date.now()+Math.random()).toString(),type:"mori",content:we,timestamp:new Date};w(xe=>[...xe.filter(Me=>Me.type!=="loading"),M]),Ee=M}else me.products&&me.products.length>0?(console.log("[StreamChatResponse] products received:",me.products),k=[...k,...me.products],w(M=>{const He=[...M.filter(ye=>ye.type!=="loading")],Me=He.findIndex(ye=>ye.id===Ee?.id),ht={id:(Date.now()+3).toString(),type:"products",content:"Suggested products:",timestamp:new Date,products:k,tool_call_id:me.products?.[0]?.tool_call_id||""};return Me!==-1?(console.log("[StreamChatResponse] Inserting/updating product message after current bot message"),He.splice(Me+1,0,ht)):(console.log("[StreamChatResponse] No current bot message found, pushing product message to end"),He.push(ht)),He}),console.log("Products accumulated and displayed:",k)):me.suggestions&&me.suggestions.length>0&&(G=[...G,...me.suggestions])})()},me=>{if(H.current?.signal.aborted){H.current=null,y(M=>({...M,isRequestInProgress:!1,repliedProduct:null})),B(!1),W("starting"),R("ongoing"),w(M=>M.filter(xe=>xe.type!=="loading"));return}w(M=>[...M.filter(xe=>xe.type!=="loading"),{id:(Date.now()+2).toString(),type:"mori",content:me,timestamp:new Date}]),R("ongoing")},()=>{G.length>0&&w(me=>{const xe=[...me.filter(ht=>ht.type!=="suggestions"&&ht.type!=="loading")],He=xe.findIndex(ht=>ht.id===Ee?.id),Me={id:(Date.now()+4).toString(),type:"suggestions",content:"Suggestions:",timestamp:new Date,suggestions:G};return He!==-1?xe.splice(He+1,0,Me):xe.push(Me),xe}),H.current=null,y(me=>({...me,isRequestInProgress:!1,repliedProduct:null})),B(!1),W("starting"),R("ongoing")},H.current,f)}catch(me){H.current?.signal.aborted||me.name==="AbortError"?(H.current=null,y(M=>({...M,isRequestInProgress:!1,repliedProduct:null})),B(!1),W("starting"),R("ongoing"),w(M=>M.filter(xe=>xe.type!=="loading"))):(console.error("Error in sendMessage:",me),w(M=>[...M.filter(xe=>xe.type!=="loading"),{id:(Date.now()+2).toString(),type:"mori",content:"Unfortunately, an error occurred. Please try again.",timestamp:new Date}]),R("ongoing"),y(M=>({...M,isRequestInProgress:!1,repliedProduct:null})),B(!1),W("starting"),H.current=null)}}),[t,z,b.threadId]),Z=Ae.useCallback(()=>{H.current&&(H.current.abort(),H.current=null),n(null),w([]),R("welcome"),B(!1),W("starting"),y({repliedProduct:null,threadId:null,isRequestInProgress:!1})},[]),ke={botData:t,isLoadingBot:r,botError:s,chatState:b,messages:S,currentStep:C,isInputDisabled:z,inputState:V,initializeBot:K,sendMessage:fe,stopCurrentRequest:U,setCurrentStep:R,setInputState:W,addWelcomeMessage:ge,setRepliedProduct:te,resetBot:Z};return $.jsx(m2.Provider,{value:ke,children:e})}function ho(){const e=Ae.useContext(m2);if(e===void 0)throw new Error("useChatContext must be used within a ChatProvider");return e}const Zb=e=>e!=null;function go(e,t,n={}){const{stop:r,getKey:l}=n;function s(u,f=[]){if(zi(u)||Array.isArray(u)){const g={};for(const[b,y]of Object.entries(u)){const S=l?.(b,y)??b,w=[...f,S];if(r?.(u,w))return t(u,f);const C=s(y,w);Zb(C)&&(g[S]=C)}return g}return t(u,f)}return s(e)}function np(e,t){return Array.isArray(e)?e.map(n=>Zb(n)?t(n):n):zi(e)?go(e,n=>t(n)):Zb(e)?t(e):e}function QP(e){const{gap:t,direction:n}=e,r={column:{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},"column-reverse":{marginY:t,marginX:0,borderInlineStartWidth:0,borderTopWidth:"1px"},row:{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0},"row-reverse":{marginX:t,marginY:0,borderInlineStartWidth:"1px",borderTopWidth:0}};return{"&":np(n,l=>r[l])}}function qP(e){return Ae.Children.toArray(e).filter(t=>Ae.isValidElement(t))}const b2=Ae.forwardRef(function(t,n){const{direction:r="column",align:l,justify:s,gap:u="0.5rem",wrap:f,children:g,separator:b,className:y,...S}=t,w=Ae.useMemo(()=>QP({gap:u,direction:r}),[u,r]),C=Ae.useMemo(()=>Ae.isValidElement(b)?qP(g).map((R,z,B)=>{const V=typeof R.key<"u"?R.key:z,W=b,H=Ae.cloneElement(W,{css:[w,W.props.css]});return $.jsxs(Ae.Fragment,{children:[R,z===B.length-1?null:H]},V)}):g,[g,b,w]);return $.jsx(Wa.div,{ref:n,display:"flex",alignItems:l,justifyContent:s,flexDirection:r,flexWrap:f,gap:b?void 0:u,className:na("chakra-stack",y),...S,children:C})}),ia=Ae.forwardRef(function(t,n){return $.jsx(b2,{align:"center",...t,direction:"row",ref:n})}),Ni=Ae.forwardRef(function(t,n){return $.jsx(b2,{align:"center",...t,direction:"column",ref:n})}),$P=Object.freeze({}),e4=Object.freeze({});function t4(e){const{key:t,recipe:n}=e,r=Vd();return Ae.useMemo(()=>{const l=n||(t!=null?r.getRecipe(t):{});return r.cva(structuredClone(l))},[t,n,r])}const n4=e=>e.charAt(0).toUpperCase()+e.slice(1);function of(e){const{key:t,recipe:n}=e,r=n4(t||n.className||"Component"),[l,s]=Fd({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`});function u(b){const{unstyled:y,...S}=b,w=t4({key:t,recipe:S.recipe||n}),[C,R]=Ae.useMemo(()=>w.splitVariantProps(S),[w,S]);return{styles:y?$P:w(C),className:w.className,props:R}}const f=(b,y)=>{const S=Wa(b,{},y),w=Ae.forwardRef((C,R)=>{const z=s(),B=Ae.useMemo(()=>Md(z,C),[C,z]),{styles:V,className:W,props:H}=u(B);return $.jsx(S,{...H,ref:R,css:[V,B.css],className:na(W,B.className)})});return w.displayName=b.displayName||b.name,w};function g(){return l}return{withContext:f,PropsProvider:l,withPropsProvider:g,usePropsContext:s,useRecipeResult:u}}const r4=e=>e?"":void 0,rp=Wa("span"),{withContext:i4}=of({key:"spinner"}),v2=i4("span"),y2=Wa("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"}});y2.displayName="AbsoluteCenter";const a4=Ae.forwardRef(function(t,n){const{spinner:r=$.jsx(v2,{size:"inherit",borderWidth:"0.125em",color:"inherit"}),spinnerPlacement:l="start",children:s,text:u,visible:f=!0,...g}=t;return f?u?$.jsxs(rp,{ref:n,display:"contents",...g,children:[l==="start"&&r,u,l==="end"&&r]}):r?$.jsxs(rp,{ref:n,display:"contents",...g,children:[$.jsx(y2,{display:"inline-flex",children:r}),$.jsx(rp,{visibility:"hidden",display:"contents",children:s})]}):$.jsx(rp,{ref:n,display:"contents",...g,children:s}):s}),{useRecipeResult:l4,usePropsContext:o4}=of({key:"button"}),sf=Ae.forwardRef(function(t,n){const r=o4(),l=Ae.useMemo(()=>Md(r,t),[r,t]),s=l4(l),{loading:u,loadingText:f,children:g,spinner:b,spinnerPlacement:y,...S}=s.props;return $.jsx(Wa.button,{type:"button",ref:n,...S,"data-loading":r4(u),disabled:u||S.disabled,className:na(s.className,l.className),css:[s.styles,l.css],children:!l.asChild&&u?$.jsx(a4,{spinner:b,text:f,spinnerPlacement:y,children:g}):g})}),Jd=Ae.forwardRef(function(t,n){return $.jsx(sf,{px:"0",py:"0",_icon:{fontSize:"1.2em"},ref:n,...t})}),gl=Ae.forwardRef(function(t,n){const{align:r,fit:l="cover",...s}=t;return $.jsx(Wa.img,{ref:n,objectFit:l,objectPosition:r,className:na("chakra-image",t.className),...s})}),{withContext:s4}=of({key:"text"}),zr=s4("p"),{withContext:u4}=of({key:"link"}),x2=u4("a");function c4(e){const{key:t,recipe:n}=e,r=Vd();return Ae.useMemo(()=>{const l=n||(t!=null?r.getSlotRecipe(t):{});return r.sva(structuredClone(l))},[t,n,r])}const f4=e=>e.charAt(0).toUpperCase()+e.slice(1),d4=e=>{const{key:t,recipe:n}=e,r=f4(t||n.className||"Component"),[l,s]=Fd({name:`${r}StylesContext`,errorMessage:`use${r}Styles returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `}),[u,f]=Fd({name:`${r}ClassNameContext`,errorMessage:`use${r}ClassNames returned is 'undefined'. Seems you forgot to wrap the components in "<${r}.Root />" `,strict:!1}),[g,b]=Fd({strict:!1,name:`${r}PropsContext`,providerName:`${r}PropsContext`,defaultValue:{}});function y(R){const{unstyled:z,...B}=R,V=c4({key:t,recipe:B.recipe||n}),[W,H]=Ae.useMemo(()=>V.splitVariantProps(B),[B,V]);return{styles:Ae.useMemo(()=>z?e4:V(W),[z,W,V]),classNames:V.classNameMap,props:H}}function S(R,z={}){const{defaultProps:B}=z,V=W=>{const H=b(),te=Ae.useMemo(()=>Md(B,H,W),[H,W]),{styles:U,classNames:K,props:be}=y(te);return $.jsx(l,{value:U,children:$.jsx(u,{value:K,children:$.jsx(R,{...be})})})};return V.displayName=R.displayName||R.name,V}return{StylesProvider:l,ClassNamesProvider:u,PropsProvider:g,usePropsContext:b,useRecipeResult:y,withProvider:(R,z,B)=>{const{defaultProps:V,...W}=B??{},H=Wa(R,{},W),te=Ae.forwardRef((U,K)=>{const be=b(),ge=Ae.useMemo(()=>Md(V??{},be,U),[be,U]),{styles:fe,props:Z,classNames:ke}=y(ge),ue=ke[z],Oe=$.jsx(l,{value:fe,children:$.jsx(u,{value:ke,children:$.jsx(H,{ref:K,...Z,css:[fe[z],ge.css],className:na(ge.className,ue)})})});return B?.wrapElement?.(Oe,ge)??Oe});return te.displayName=R.displayName||R.name,te},withContext:(R,z,B)=>{const V=Wa(R,{},B),W=Ae.forwardRef((H,te)=>{const{unstyled:U,...K}=H,be=s(),fe=f()?.[z];return $.jsx(V,{...K,css:[!U&&z?be[z]:void 0,H.css],ref:te,className:na(H.className,fe)})});return W.displayName=R.displayName||R.name,W},withRootProvider:S,useStyles:s,useClassNames:f}},{StylesProvider:h4,ClassNamesProvider:g4,useRecipeResult:p4,withContext:Ko}=d4({key:"table"}),m4=Ae.forwardRef(function({native:t,...n},r){const{styles:l,props:s,classNames:u}=p4(n),f=Ae.useMemo(()=>t?{...l.root,"& thead":l.header,"& tbody":l.body,"& tfoot":l.footer,"& thead th":l.columnHeader,"& tr":l.row,"& td":l.cell,"& caption":l.caption}:l.root,[l,t]);return $.jsx(g4,{value:u,children:$.jsx(h4,{value:l,children:$.jsx(Wa.table,{ref:r,...s,css:[f,n.css],className:na(u?.root,n.className)})})})}),b4=Ko("tr","row");Wa("div",{base:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflow:"auto",maxWidth:"100%"}});const v4=Ko("thead","header");Ko("tfoot","footer");const y4=Ko("th","columnHeader"),x4=Ko("td","cell");Ko("caption","caption",{defaultProps:{captionSide:"bottom"}});const S4=Ko("tbody","body");Ko("colgroup"),Ko("col");function nX(){}function rX(){}function A4(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const E4=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,w4=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,C4={};function S2(e,t){return(C4.jsx?w4:E4).test(e)}const k4=/[ \t\n\f\r]/g;function T4(e){return typeof e=="object"?e.type==="text"?A2(e.value):!1:A2(e)}function A2(e){return e.replace(k4,"")===""}class Qd{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}Qd.prototype.normal={},Qd.prototype.property={},Qd.prototype.space=void 0;function E2(e,t){const n={},r={};for(const l of e)Object.assign(n,l.property),Object.assign(r,l.normal);return new Qd(n,r,t)}function Kb(e){return e.toLowerCase()}class Di{constructor(t,n){this.attribute=n,this.property=t}}Di.prototype.attribute="",Di.prototype.booleanish=!1,Di.prototype.boolean=!1,Di.prototype.commaOrSpaceSeparated=!1,Di.prototype.commaSeparated=!1,Di.prototype.defined=!1,Di.prototype.mustUseProperty=!1,Di.prototype.number=!1,Di.prototype.overloadedBoolean=!1,Di.prototype.property="",Di.prototype.spaceSeparated=!1,Di.prototype.space=void 0;let O4=0;const bt=Xu(),ir=Xu(),jb=Xu(),Le=Xu(),mn=Xu(),uf=Xu(),aa=Xu();function Xu(){return 2**++O4}const Jb=Object.freeze(Object.defineProperty({__proto__:null,boolean:bt,booleanish:ir,commaOrSpaceSeparated:aa,commaSeparated:uf,number:Le,overloadedBoolean:jb,spaceSeparated:mn},Symbol.toStringTag,{value:"Module"})),Qb=Object.keys(Jb);class qb extends Di{constructor(t,n,r,l){let s=-1;if(super(t,n),w2(this,"space",l),typeof r=="number")for(;++s<Qb.length;){const u=Qb[s];w2(this,Qb[s],(r&Jb[u])===Jb[u])}}}qb.prototype.defined=!0;function w2(e,t,n){n&&(e[t]=n)}function cf(e){const t={},n={};for(const[r,l]of Object.entries(e.properties)){const s=new qb(r,e.transform(e.attributes||{},r),l,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Kb(r)]=r,n[Kb(s.attribute)]=r}return new Qd(t,n,e.space)}const C2=cf({properties:{ariaActiveDescendant:null,ariaAtomic:ir,ariaAutoComplete:null,ariaBusy:ir,ariaChecked:ir,ariaColCount:Le,ariaColIndex:Le,ariaColSpan:Le,ariaControls:mn,ariaCurrent:null,ariaDescribedBy:mn,ariaDetails:null,ariaDisabled:ir,ariaDropEffect:mn,ariaErrorMessage:null,ariaExpanded:ir,ariaFlowTo:mn,ariaGrabbed:ir,ariaHasPopup:null,ariaHidden:ir,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:mn,ariaLevel:Le,ariaLive:null,ariaModal:ir,ariaMultiLine:ir,ariaMultiSelectable:ir,ariaOrientation:null,ariaOwns:mn,ariaPlaceholder:null,ariaPosInSet:Le,ariaPressed:ir,ariaReadOnly:ir,ariaRelevant:null,ariaRequired:ir,ariaRoleDescription:mn,ariaRowCount:Le,ariaRowIndex:Le,ariaRowSpan:Le,ariaSelected:ir,ariaSetSize:Le,ariaSort:null,ariaValueMax:Le,ariaValueMin:Le,ariaValueNow:Le,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function k2(e,t){return t in e?e[t]:t}function T2(e,t){return k2(e,t.toLowerCase())}const _4=cf({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:uf,acceptCharset:mn,accessKey:mn,action:null,allow:null,allowFullScreen:bt,allowPaymentRequest:bt,allowUserMedia:bt,alt:null,as:null,async:bt,autoCapitalize:null,autoComplete:mn,autoFocus:bt,autoPlay:bt,blocking:mn,capture:null,charSet:null,checked:bt,cite:null,className:mn,cols:Le,colSpan:null,content:null,contentEditable:ir,controls:bt,controlsList:mn,coords:Le|uf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:bt,defer:bt,dir:null,dirName:null,disabled:bt,download:jb,draggable:ir,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:bt,formTarget:null,headers:mn,height:Le,hidden:jb,high:Le,href:null,hrefLang:null,htmlFor:mn,httpEquiv:mn,id:null,imageSizes:null,imageSrcSet:null,inert:bt,inputMode:null,integrity:null,is:null,isMap:bt,itemId:null,itemProp:mn,itemRef:mn,itemScope:bt,itemType:mn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:bt,low:Le,manifest:null,max:null,maxLength:Le,media:null,method:null,min:null,minLength:Le,multiple:bt,muted:bt,name:null,nonce:null,noModule:bt,noValidate:bt,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:bt,optimum:Le,pattern:null,ping:mn,placeholder:null,playsInline:bt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:bt,referrerPolicy:null,rel:mn,required:bt,reversed:bt,rows:Le,rowSpan:Le,sandbox:mn,scope:null,scoped:bt,seamless:bt,selected:bt,shadowRootClonable:bt,shadowRootDelegatesFocus:bt,shadowRootMode:null,shape:null,size:Le,sizes:null,slot:null,span:Le,spellCheck:ir,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Le,step:null,style:null,tabIndex:Le,target:null,title:null,translate:null,type:null,typeMustMatch:bt,useMap:null,value:ir,width:Le,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:mn,axis:null,background:null,bgColor:null,border:Le,borderColor:null,bottomMargin:Le,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:bt,declare:bt,event:null,face:null,frame:null,frameBorder:null,hSpace:Le,leftMargin:Le,link:null,longDesc:null,lowSrc:null,marginHeight:Le,marginWidth:Le,noResize:bt,noHref:bt,noShade:bt,noWrap:bt,object:null,profile:null,prompt:null,rev:null,rightMargin:Le,rules:null,scheme:null,scrolling:ir,standby:null,summary:null,text:null,topMargin:Le,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Le,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:bt,disableRemotePlayback:bt,prefix:null,property:null,results:Le,security:null,unselectable:null},space:"html",transform:T2}),R4=cf({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:aa,accentHeight:Le,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Le,amplitude:Le,arabicForm:null,ascent:Le,attributeName:null,attributeType:null,azimuth:Le,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Le,by:null,calcMode:null,capHeight:Le,className:mn,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:Le,diffuseConstant:Le,direction:null,display:null,dur:null,divisor:Le,dominantBaseline:null,download:bt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Le,enableBackground:null,end:null,event:null,exponent:Le,externalResourcesRequired:null,fill:null,fillOpacity:Le,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:uf,g2:uf,glyphName:uf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Le,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Le,horizOriginX:Le,horizOriginY:Le,id:null,ideographic:Le,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Le,k:Le,k1:Le,k2:Le,k3:Le,k4:Le,kernelMatrix:aa,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Le,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:Le,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:Le,overlineThickness:Le,paintOrder:null,panose1:null,path:null,pathLength:Le,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:mn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Le,pointsAtY:Le,pointsAtZ:Le,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:aa,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:aa,rev:aa,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:aa,requiredFeatures:aa,requiredFonts:aa,requiredFormats:aa,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:Le,specularExponent:Le,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Le,strikethroughThickness:Le,string:null,stroke:null,strokeDashArray:aa,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Le,strokeOpacity:Le,strokeWidth:null,style:null,surfaceScale:Le,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:aa,tabIndex:Le,tableValues:null,target:null,targetX:Le,targetY:Le,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:aa,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Le,underlineThickness:Le,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Le,values:null,vAlphabetic:Le,vMathematical:Le,vectorEffect:null,vHanging:Le,vIdeographic:Le,version:null,vertAdvY:Le,vertOriginX:Le,vertOriginY:Le,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Le,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:k2}),O2=cf({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),_2=cf({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:T2}),R2=cf({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),P4={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"},I4=/[A-Z]/g,P2=/-[a-z]/g,z4=/^data[-\w.:]+$/i;function N4(e,t){const n=Kb(t);let r=t,l=Di;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&z4.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(P2,M4);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!P2.test(s)){let u=s.replace(I4,D4);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}l=qb}return new l(r,t)}function D4(e){return"-"+e.toLowerCase()}function M4(e){return e.charAt(1).toUpperCase()}const L4=E2([C2,_4,O2,_2,R2],"html"),$b=E2([C2,R4,O2,_2,R2],"svg");function F4(e){return e.join(" ").trim()}var ff={},ev,I2;function V4(){if(I2)return ev;I2=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,f=/^\s+|\s+$/g,g=`
71
+ `,b="/",y="*",S="",w="comment",C="declaration";ev=function(z,B){if(typeof z!="string")throw new TypeError("First argument must be a string");if(!z)return[];B=B||{};var V=1,W=1;function H(Oe){var ee=Oe.match(t);ee&&(V+=ee.length);var oe=Oe.lastIndexOf(g);W=~oe?Oe.length-oe:W+Oe.length}function te(){var Oe={line:V,column:W};return function(ee){return ee.position=new U(Oe),ge(),ee}}function U(Oe){this.start=Oe,this.end={line:V,column:W},this.source=B.source}U.prototype.content=z;function K(Oe){var ee=new Error(B.source+":"+V+":"+W+": "+Oe);if(ee.reason=Oe,ee.filename=B.source,ee.line=V,ee.column=W,ee.source=z,!B.silent)throw ee}function be(Oe){var ee=Oe.exec(z);if(ee){var oe=ee[0];return H(oe),z=z.slice(oe.length),ee}}function ge(){be(n)}function fe(Oe){var ee;for(Oe=Oe||[];ee=Z();)ee!==!1&&Oe.push(ee);return Oe}function Z(){var Oe=te();if(!(b!=z.charAt(0)||y!=z.charAt(1))){for(var ee=2;S!=z.charAt(ee)&&(y!=z.charAt(ee)||b!=z.charAt(ee+1));)++ee;if(ee+=2,S===z.charAt(ee-1))return K("End of comment missing");var oe=z.slice(2,ee-2);return W+=2,H(oe),z=z.slice(ee),W+=2,Oe({type:w,comment:oe})}}function ke(){var Oe=te(),ee=be(r);if(ee){if(Z(),!be(l))return K("property missing ':'");var oe=be(s),D=Oe({type:C,property:R(ee[0].replace(e,S)),value:oe?R(oe[0].replace(e,S)):S});return be(u),D}}function ue(){var Oe=[];fe(Oe);for(var ee;ee=ke();)ee!==!1&&(Oe.push(ee),fe(Oe));return Oe}return ge(),ue()};function R(z){return z?z.replace(f,S):S}return ev}var z2;function B4(){if(z2)return ff;z2=1;var e=ff&&ff.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ff,"__esModule",{value:!0}),ff.default=n;var t=e(V4());function n(r,l){var s=null;if(!r||typeof r!="string")return s;var u=(0,t.default)(r),f=typeof l=="function";return u.forEach(function(g){if(g.type==="declaration"){var b=g.property,y=g.value;f?l(b,y,g):y&&(s=s||{},s[b]=y)}}),s}return ff}var qd={},N2;function H4(){if(N2)return qd;N2=1,Object.defineProperty(qd,"__esModule",{value:!0}),qd.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,s=function(b){return!b||n.test(b)||e.test(b)},u=function(b,y){return y.toUpperCase()},f=function(b,y){return"".concat(y,"-")},g=function(b,y){return y===void 0&&(y={}),s(b)?b:(b=b.toLowerCase(),y.reactCompat?b=b.replace(l,f):b=b.replace(r,f),b.replace(t,u))};return qd.camelCase=g,qd}var $d,D2;function W4(){if(D2)return $d;D2=1;var e=$d&&$d.__importDefault||function(l){return l&&l.__esModule?l:{default:l}},t=e(B4()),n=H4();function r(l,s){var u={};return!l||typeof l!="string"||(0,t.default)(l,function(f,g){f&&g&&(u[(0,n.camelCase)(f,s)]=g)}),u}return r.default=r,$d=r,$d}var G4=W4();const U4=Mu(G4),M2=L2("end"),tv=L2("start");function L2(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function Y4(e){const t=tv(e),n=M2(e);if(t&&n)return{start:t,end:n}}function eh(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?F2(e.position):"start"in e||"end"in e?F2(e):"line"in e||"column"in e?nv(e):""}function nv(e){return V2(e&&e.line)+":"+V2(e&&e.column)}function F2(e){return nv(e&&e.start)+"-"+nv(e&&e.end)}function V2(e){return e&&typeof e=="number"?e:1}class ri extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let l="",s={},u=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?l=t:!s.cause&&t&&(u=!0,l=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const g=r.indexOf(":");g===-1?s.ruleId=r:(s.source=r.slice(0,g),s.ruleId=r.slice(g+1))}if(!s.place&&s.ancestors&&s.ancestors){const g=s.ancestors[s.ancestors.length-1];g&&(s.place=g.position)}const f=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=f?f.column:void 0,this.fatal=void 0,this.file="",this.message=l,this.line=f?f.line:void 0,this.name=eh(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=u&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}ri.prototype.file="",ri.prototype.name="",ri.prototype.reason="",ri.prototype.message="",ri.prototype.stack="",ri.prototype.column=void 0,ri.prototype.line=void 0,ri.prototype.ancestors=void 0,ri.prototype.cause=void 0,ri.prototype.fatal=void 0,ri.prototype.place=void 0,ri.prototype.ruleId=void 0,ri.prototype.source=void 0;const rv={}.hasOwnProperty,X4=new Map,Z4=/[A-Z]/g,K4=new Set(["table","tbody","thead","tfoot","tr"]),j4=new Set(["td","th"]),B2="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function J4(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=iI(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=rI(n,t.jsx,t.jsxs)}const l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?$b:L4,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=H2(l,e,void 0);return s&&typeof s!="string"?s:l.create(e,l.Fragment,{children:s||void 0},void 0)}function H2(e,t,n){if(t.type==="element")return Q4(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return q4(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return eI(e,t,n);if(t.type==="mdxjsEsm")return $4(e,t);if(t.type==="root")return tI(e,t,n);if(t.type==="text")return nI(e,t)}function Q4(e,t,n){const r=e.schema;let l=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(l=$b,e.schema=l),e.ancestors.push(t);const s=G2(e,t.tagName,!1),u=aI(e,t);let f=av(e,t);return K4.has(t.tagName)&&(f=f.filter(function(g){return typeof g=="string"?!T4(g):!0})),W2(e,u,s,t),iv(u,f),e.ancestors.pop(),e.schema=r,e.create(t,s,u,n)}function q4(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}th(e,t.position)}function $4(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);th(e,t.position)}function eI(e,t,n){const r=e.schema;let l=r;t.name==="svg"&&r.space==="html"&&(l=$b,e.schema=l),e.ancestors.push(t);const s=t.name===null?e.Fragment:G2(e,t.name,!0),u=lI(e,t),f=av(e,t);return W2(e,u,s,t),iv(u,f),e.ancestors.pop(),e.schema=r,e.create(t,s,u,n)}function tI(e,t,n){const r={};return iv(r,av(e,t)),e.create(t,e.Fragment,r,n)}function nI(e,t){return t.value}function W2(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function iv(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function rI(e,t,n){return r;function r(l,s,u,f){const b=Array.isArray(u.children)?n:t;return f?b(s,u,f):b(s,u)}}function iI(e,t){return n;function n(r,l,s,u){const f=Array.isArray(s.children),g=tv(r);return t(l,s,u,f,{columnNumber:g?g.column-1:void 0,fileName:e,lineNumber:g?g.line:void 0},void 0)}}function aI(e,t){const n={};let r,l;for(l in t.properties)if(l!=="children"&&rv.call(t.properties,l)){const s=oI(e,l,t.properties[l]);if(s){const[u,f]=s;e.tableCellAlignToStyle&&u==="align"&&typeof f=="string"&&j4.has(t.tagName)?r=f:n[u]=f}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function lI(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const u=s.expression;u.type;const f=u.properties[0];f.type,Object.assign(n,e.evaluater.evaluateExpression(f.argument))}else th(e,t.position);else{const l=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const f=r.value.data.estree.body[0];f.type,s=e.evaluater.evaluateExpression(f.expression)}else th(e,t.position);else s=r.value===null?!0:r.value;n[l]=s}return n}function av(e,t){const n=[];let r=-1;const l=e.passKeys?new Map:X4;for(;++r<t.children.length;){const s=t.children[r];let u;if(e.passKeys){const g=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(g){const b=l.get(g)||0;u=g+"-"+b,l.set(g,b+1)}}const f=H2(e,s,u);f!==void 0&&n.push(f)}return n}function oI(e,t,n){const r=N4(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?A4(n):F4(n)),r.property==="style"){let l=typeof n=="object"?n:sI(e,String(n));return e.stylePropertyNameCase==="css"&&(l=uI(l)),["style",l]}return[e.elementAttributeNameCase==="react"&&r.space?P4[r.property]||r.property:r.attribute,n]}}function sI(e,t){try{return U4(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,l=new ri("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw l.file=e.filePath||void 0,l.url=B2+"#cannot-parse-style-attribute",l}}function G2(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const l=t.split(".");let s=-1,u;for(;++s<l.length;){const f=S2(l[s])?{type:"Identifier",name:l[s]}:{type:"Literal",value:l[s]};u=u?{type:"MemberExpression",object:u,property:f,computed:!!(s&&f.type==="Literal"),optional:!1}:f}r=u}else r=S2(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const l=r.value;return rv.call(e.components,l)?e.components[l]:l}if(e.evaluater)return e.evaluater.evaluateExpression(r);th(e)}function th(e,t){const n=new ri("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=B2+"#cannot-handle-mdx-estrees-without-createevaluater",n}function uI(e){const t={};let n;for(n in e)rv.call(e,n)&&(t[cI(n)]=e[n]);return t}function cI(e){let t=e.replace(Z4,fI);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function fI(e){return"-"+e.toLowerCase()}const lv={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"]},dI={};function ov(e,t){const n=dI,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,l=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return U2(e,r,l)}function U2(e,t,n){if(hI(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Y2(e.children,t,n)}return Array.isArray(e)?Y2(e,t,n):""}function Y2(e,t,n){const r=[];let l=-1;for(;++l<e.length;)r[l]=U2(e[l],t,n);return r.join("")}function hI(e){return!!(e&&typeof e=="object")}const X2=document.createElement("i");function sv(e){const t="&"+e+";";X2.innerHTML=t;const n=X2.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function la(e,t,n,r){const l=e.length;let s=0,u;if(t<0?t=-t>l?0:l+t:t=t>l?l:t,n=n>0?n:0,r.length<1e4)u=Array.from(r),u.unshift(t,n),e.splice(...u);else for(n&&e.splice(t,n);s<r.length;)u=r.slice(s,s+1e4),u.unshift(t,0),e.splice(...u),s+=1e4,t+=1e4}function Ua(e,t){return e.length>0?(la(e,e.length,0,t),e):t}const Z2={}.hasOwnProperty;function K2(e){const t={};let n=-1;for(;++n<e.length;)gI(t,e[n]);return t}function gI(e,t){let n;for(n in t){const l=(Z2.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let u;if(s)for(u in s){Z2.call(l,u)||(l[u]=[]);const f=s[u];pI(l[u],Array.isArray(f)?f:f?[f]:[])}}}function pI(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);la(e,0,0,r)}function j2(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function pl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const bi=Ns(/[A-Za-z]/),ii=Ns(/[\dA-Za-z]/),mI=Ns(/[#-'*+\--9=?A-Z^-~]/);function ip(e){return e!==null&&(e<32||e===127)}const uv=Ns(/\d/),bI=Ns(/[\dA-Fa-f]/),vI=Ns(/[!-/:-@[-`{-~]/);function $e(e){return e!==null&&e<-2}function fn(e){return e!==null&&(e<0||e===32)}function Ct(e){return e===-2||e===-1||e===32}const ap=Ns(new RegExp("\\p{P}|\\p{S}","u")),Zu=Ns(/\s/);function Ns(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function df(e){const t=[];let n=-1,r=0,l=0;for(;++n<e.length;){const s=e.charCodeAt(n);let u="";if(s===37&&ii(e.charCodeAt(n+1))&&ii(e.charCodeAt(n+2)))l=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(u=String.fromCharCode(s));else if(s>55295&&s<57344){const f=e.charCodeAt(n+1);s<56320&&f>56319&&f<57344?(u=String.fromCharCode(s,f),l=1):u="�"}else u=String.fromCharCode(s);u&&(t.push(e.slice(r,n),encodeURIComponent(u)),r=n+l+1,u=""),l&&(n+=l,l=0)}return t.join("")+e.slice(r)}function It(e,t,n,r){const l=r?r-1:Number.POSITIVE_INFINITY;let s=0;return u;function u(g){return Ct(g)?(e.enter(n),f(g)):t(g)}function f(g){return Ct(g)&&s++<l?(e.consume(g),f):(e.exit(n),t(g))}}const yI={tokenize:xI};function xI(e){const t=e.attempt(this.parser.constructs.contentInitial,r,l);let n;return t;function r(f){if(f===null){e.consume(f);return}return e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),It(e,t,"linePrefix")}function l(f){return e.enter("paragraph"),s(f)}function s(f){const g=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=g),n=g,u(f)}function u(f){if(f===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(f);return}return $e(f)?(e.consume(f),e.exit("chunkText"),s):(e.consume(f),u)}}const SI={tokenize:AI},J2={tokenize:EI};function AI(e){const t=this,n=[];let r=0,l,s,u;return f;function f(H){if(r<n.length){const te=n[r];return t.containerState=te[1],e.attempt(te[0].continuation,g,b)(H)}return b(H)}function g(H){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,l&&W();const te=t.events.length;let U=te,K;for(;U--;)if(t.events[U][0]==="exit"&&t.events[U][1].type==="chunkFlow"){K=t.events[U][1].end;break}V(r);let be=te;for(;be<t.events.length;)t.events[be][1].end={...K},be++;return la(t.events,U+1,0,t.events.slice(te)),t.events.length=be,b(H)}return f(H)}function b(H){if(r===n.length){if(!l)return w(H);if(l.currentConstruct&&l.currentConstruct.concrete)return R(H);t.interrupt=!!(l.currentConstruct&&!l._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(J2,y,S)(H)}function y(H){return l&&W(),V(r),w(H)}function S(H){return t.parser.lazy[t.now().line]=r!==n.length,u=t.now().offset,R(H)}function w(H){return t.containerState={},e.attempt(J2,C,R)(H)}function C(H){return r++,n.push([t.currentConstruct,t.containerState]),w(H)}function R(H){if(H===null){l&&W(),V(0),e.consume(H);return}return l=l||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:l,contentType:"flow",previous:s}),z(H)}function z(H){if(H===null){B(e.exit("chunkFlow"),!0),V(0),e.consume(H);return}return $e(H)?(e.consume(H),B(e.exit("chunkFlow")),r=0,t.interrupt=void 0,f):(e.consume(H),z)}function B(H,te){const U=t.sliceStream(H);if(te&&U.push(null),H.previous=s,s&&(s.next=H),s=H,l.defineSkip(H.start),l.write(U),t.parser.lazy[H.start.line]){let K=l.events.length;for(;K--;)if(l.events[K][1].start.offset<u&&(!l.events[K][1].end||l.events[K][1].end.offset>u))return;const be=t.events.length;let ge=be,fe,Z;for(;ge--;)if(t.events[ge][0]==="exit"&&t.events[ge][1].type==="chunkFlow"){if(fe){Z=t.events[ge][1].end;break}fe=!0}for(V(r),K=be;K<t.events.length;)t.events[K][1].end={...Z},K++;la(t.events,ge+1,0,t.events.slice(be)),t.events.length=K}}function V(H){let te=n.length;for(;te-- >H;){const U=n[te];t.containerState=U[1],U[0].exit.call(t,e)}n.length=H}function W(){l.write([null]),s=void 0,l=void 0,t.containerState._closeFlow=void 0}}function EI(e,t,n){return It(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function hf(e){if(e===null||fn(e)||Zu(e))return 1;if(ap(e))return 2}function lp(e,t,n){const r=[];let l=-1;for(;++l<e.length;){const s=e[l].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const cv={name:"attention",resolveAll:wI,tokenize:CI};function wI(e,t){let n=-1,r,l,s,u,f,g,b,y;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;g=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const S={...e[r][1].end},w={...e[n][1].start};Q2(S,-g),Q2(w,g),u={type:g>1?"strongSequence":"emphasisSequence",start:S,end:{...e[r][1].end}},f={type:g>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:w},s={type:g>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},l={type:g>1?"strong":"emphasis",start:{...u.start},end:{...f.end}},e[r][1].end={...u.start},e[n][1].start={...f.end},b=[],e[r][1].end.offset-e[r][1].start.offset&&(b=Ua(b,[["enter",e[r][1],t],["exit",e[r][1],t]])),b=Ua(b,[["enter",l,t],["enter",u,t],["exit",u,t],["enter",s,t]]),b=Ua(b,lp(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),b=Ua(b,[["exit",s,t],["enter",f,t],["exit",f,t],["exit",l,t]]),e[n][1].end.offset-e[n][1].start.offset?(y=2,b=Ua(b,[["enter",e[n][1],t],["exit",e[n][1],t]])):y=0,la(e,r-1,n-r+3,b),n=r+b.length-y-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function CI(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,l=hf(r);let s;return u;function u(g){return s=g,e.enter("attentionSequence"),f(g)}function f(g){if(g===s)return e.consume(g),f;const b=e.exit("attentionSequence"),y=hf(g),S=!y||y===2&&l||n.includes(g),w=!l||l===2&&y||n.includes(r);return b._open=!!(s===42?S:S&&(l||!w)),b._close=!!(s===42?w:w&&(y||!S)),t(g)}}function Q2(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const kI={name:"autolink",tokenize:TI};function TI(e,t,n){let r=0;return l;function l(C){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(C){return bi(C)?(e.consume(C),u):C===64?n(C):b(C)}function u(C){return C===43||C===45||C===46||ii(C)?(r=1,f(C)):b(C)}function f(C){return C===58?(e.consume(C),r=0,g):(C===43||C===45||C===46||ii(C))&&r++<32?(e.consume(C),f):(r=0,b(C))}function g(C){return C===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),t):C===null||C===32||C===60||ip(C)?n(C):(e.consume(C),g)}function b(C){return C===64?(e.consume(C),y):mI(C)?(e.consume(C),b):n(C)}function y(C){return ii(C)?S(C):n(C)}function S(C){return C===46?(e.consume(C),r=0,y):C===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(C),e.exit("autolinkMarker"),e.exit("autolink"),t):w(C)}function w(C){if((C===45||ii(C))&&r++<63){const R=C===45?w:S;return e.consume(C),R}return n(C)}}const nh={partial:!0,tokenize:OI};function OI(e,t,n){return r;function r(s){return Ct(s)?It(e,l,"linePrefix")(s):l(s)}function l(s){return s===null||$e(s)?t(s):n(s)}}const q2={continuation:{tokenize:RI},exit:PI,name:"blockQuote",tokenize:_I};function _I(e,t,n){const r=this;return l;function l(u){if(u===62){const f=r.containerState;return f.open||(e.enter("blockQuote",{_container:!0}),f.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),s}return n(u)}function s(u){return Ct(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function RI(e,t,n){const r=this;return l;function l(u){return Ct(u)?It(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):s(u)}function s(u){return e.attempt(q2,t,n)(u)}}function PI(e){e.exit("blockQuote")}const $2={name:"characterEscape",tokenize:II};function II(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),l}function l(s){return vI(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const eS={name:"characterReference",tokenize:zI};function zI(e,t,n){const r=this;let l=0,s,u;return f;function f(S){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),g}function g(S){return S===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(S),e.exit("characterReferenceMarkerNumeric"),b):(e.enter("characterReferenceValue"),s=31,u=ii,y(S))}function b(S){return S===88||S===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(S),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,u=bI,y):(e.enter("characterReferenceValue"),s=7,u=uv,y(S))}function y(S){if(S===59&&l){const w=e.exit("characterReferenceValue");return u===ii&&!sv(r.sliceSerialize(w))?n(S):(e.enter("characterReferenceMarker"),e.consume(S),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(S)&&l++<s?(e.consume(S),y):n(S)}}const tS={partial:!0,tokenize:DI},nS={concrete:!0,name:"codeFenced",tokenize:NI};function NI(e,t,n){const r=this,l={partial:!0,tokenize:U};let s=0,u=0,f;return g;function g(K){return b(K)}function b(K){const be=r.events[r.events.length-1];return s=be&&be[1].type==="linePrefix"?be[2].sliceSerialize(be[1],!0).length:0,f=K,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),y(K)}function y(K){return K===f?(u++,e.consume(K),y):u<3?n(K):(e.exit("codeFencedFenceSequence"),Ct(K)?It(e,S,"whitespace")(K):S(K))}function S(K){return K===null||$e(K)?(e.exit("codeFencedFence"),r.interrupt?t(K):e.check(tS,z,te)(K)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),w(K))}function w(K){return K===null||$e(K)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),S(K)):Ct(K)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),It(e,C,"whitespace")(K)):K===96&&K===f?n(K):(e.consume(K),w)}function C(K){return K===null||$e(K)?S(K):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),R(K))}function R(K){return K===null||$e(K)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),S(K)):K===96&&K===f?n(K):(e.consume(K),R)}function z(K){return e.attempt(l,te,B)(K)}function B(K){return e.enter("lineEnding"),e.consume(K),e.exit("lineEnding"),V}function V(K){return s>0&&Ct(K)?It(e,W,"linePrefix",s+1)(K):W(K)}function W(K){return K===null||$e(K)?e.check(tS,z,te)(K):(e.enter("codeFlowValue"),H(K))}function H(K){return K===null||$e(K)?(e.exit("codeFlowValue"),W(K)):(e.consume(K),H)}function te(K){return e.exit("codeFenced"),t(K)}function U(K,be,ge){let fe=0;return Z;function Z(oe){return K.enter("lineEnding"),K.consume(oe),K.exit("lineEnding"),ke}function ke(oe){return K.enter("codeFencedFence"),Ct(oe)?It(K,ue,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(oe):ue(oe)}function ue(oe){return oe===f?(K.enter("codeFencedFenceSequence"),Oe(oe)):ge(oe)}function Oe(oe){return oe===f?(fe++,K.consume(oe),Oe):fe>=u?(K.exit("codeFencedFenceSequence"),Ct(oe)?It(K,ee,"whitespace")(oe):ee(oe)):ge(oe)}function ee(oe){return oe===null||$e(oe)?(K.exit("codeFencedFence"),be(oe)):ge(oe)}}}function DI(e,t,n){const r=this;return l;function l(u){return u===null?n(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s)}function s(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}const fv={name:"codeIndented",tokenize:LI},MI={partial:!0,tokenize:FI};function LI(e,t,n){const r=this;return l;function l(b){return e.enter("codeIndented"),It(e,s,"linePrefix",5)(b)}function s(b){const y=r.events[r.events.length-1];return y&&y[1].type==="linePrefix"&&y[2].sliceSerialize(y[1],!0).length>=4?u(b):n(b)}function u(b){return b===null?g(b):$e(b)?e.attempt(MI,u,g)(b):(e.enter("codeFlowValue"),f(b))}function f(b){return b===null||$e(b)?(e.exit("codeFlowValue"),u(b)):(e.consume(b),f)}function g(b){return e.exit("codeIndented"),t(b)}}function FI(e,t,n){const r=this;return l;function l(u){return r.parser.lazy[r.now().line]?n(u):$e(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):It(e,s,"linePrefix",5)(u)}function s(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?t(u):$e(u)?l(u):n(u)}}const VI={name:"codeText",previous:HI,resolve:BI,tokenize:WI};function BI(e){let t=e.length-4,n=3,r,l;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)l===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(l=r):(r===t||e[r][1].type==="lineEnding")&&(e[l][1].type="codeTextData",r!==l+2&&(e[l][1].end=e[r-1][1].end,e.splice(l+2,r-l-2),t-=r-l-2,r=l+2),l=void 0);return e}function HI(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function WI(e,t,n){let r=0,l,s;return u;function u(S){return e.enter("codeText"),e.enter("codeTextSequence"),f(S)}function f(S){return S===96?(e.consume(S),r++,f):(e.exit("codeTextSequence"),g(S))}function g(S){return S===null?n(S):S===32?(e.enter("space"),e.consume(S),e.exit("space"),g):S===96?(s=e.enter("codeTextSequence"),l=0,y(S)):$e(S)?(e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),g):(e.enter("codeTextData"),b(S))}function b(S){return S===null||S===32||S===96||$e(S)?(e.exit("codeTextData"),g(S)):(e.consume(S),b)}function y(S){return S===96?(e.consume(S),l++,y):l===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(S)):(s.type="codeTextData",b(S))}}class GI{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const l=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-l,Number.POSITIVE_INFINITY);return r&&rh(this.left,r),s.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),rh(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),rh(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);rh(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);rh(this.left,n.reverse())}}}function rh(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function rS(e){const t={};let n=-1,r,l,s,u,f,g,b;const y=new GI(e);for(;++n<y.length;){for(;n in t;)n=t[n];if(r=y.get(n),n&&r[1].type==="chunkFlow"&&y.get(n-1)[1].type==="listItemPrefix"&&(g=r[1]._tokenizer.events,s=0,s<g.length&&g[s][1].type==="lineEndingBlank"&&(s+=2),s<g.length&&g[s][1].type==="content"))for(;++s<g.length&&g[s][1].type!=="content";)g[s][1].type==="chunkText"&&(g[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,UI(y,n)),n=t[n],b=!0);else if(r[1]._container){for(s=n,l=void 0;s--;)if(u=y.get(s),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(l&&(y.get(l)[1].type="lineEndingBlank"),u[1].type="lineEnding",l=s);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;l&&(r[1].end={...y.get(l)[1].start},f=y.slice(l,n),f.unshift(r),y.splice(l,n-l+1,f))}}return la(e,0,Number.POSITIVE_INFINITY,y.slice(0)),!b}function UI(e,t){const n=e.get(t)[1],r=e.get(t)[2];let l=t-1;const s=[];let u=n._tokenizer;u||(u=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const f=u.events,g=[],b={};let y,S,w=-1,C=n,R=0,z=0;const B=[z];for(;C;){for(;e.get(++l)[1]!==C;);s.push(l),C._tokenizer||(y=r.sliceStream(C),C.next||y.push(null),S&&u.defineSkip(C.start),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(y),C._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),S=C,C=C.next}for(C=n;++w<f.length;)f[w][0]==="exit"&&f[w-1][0]==="enter"&&f[w][1].type===f[w-1][1].type&&f[w][1].start.line!==f[w][1].end.line&&(z=w+1,B.push(z),C._tokenizer=void 0,C.previous=void 0,C=C.next);for(u.events=[],C?(C._tokenizer=void 0,C.previous=void 0):B.pop(),w=B.length;w--;){const V=f.slice(B[w],B[w+1]),W=s.pop();g.push([W,W+V.length-1]),e.splice(W,2,V)}for(g.reverse(),w=-1;++w<g.length;)b[R+g[w][0]]=R+g[w][1],R+=g[w][1]-g[w][0]-1;return b}const YI={resolve:ZI,tokenize:KI},XI={partial:!0,tokenize:jI};function ZI(e){return rS(e),e}function KI(e,t){let n;return r;function r(f){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),l(f)}function l(f){return f===null?s(f):$e(f)?e.check(XI,u,s)(f):(e.consume(f),l)}function s(f){return e.exit("chunkContent"),e.exit("content"),t(f)}function u(f){return e.consume(f),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,l}}function jI(e,t,n){const r=this;return l;function l(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),It(e,s,"linePrefix")}function s(u){if(u===null||$e(u))return n(u);const f=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?t(u):e.interrupt(r.parser.constructs.flow,n,t)(u)}}function iS(e,t,n,r,l,s,u,f,g){const b=g||Number.POSITIVE_INFINITY;let y=0;return S;function S(V){return V===60?(e.enter(r),e.enter(l),e.enter(s),e.consume(V),e.exit(s),w):V===null||V===32||V===41||ip(V)?n(V):(e.enter(r),e.enter(u),e.enter(f),e.enter("chunkString",{contentType:"string"}),z(V))}function w(V){return V===62?(e.enter(s),e.consume(V),e.exit(s),e.exit(l),e.exit(r),t):(e.enter(f),e.enter("chunkString",{contentType:"string"}),C(V))}function C(V){return V===62?(e.exit("chunkString"),e.exit(f),w(V)):V===null||V===60||$e(V)?n(V):(e.consume(V),V===92?R:C)}function R(V){return V===60||V===62||V===92?(e.consume(V),C):C(V)}function z(V){return!y&&(V===null||V===41||fn(V))?(e.exit("chunkString"),e.exit(f),e.exit(u),e.exit(r),t(V)):y<b&&V===40?(e.consume(V),y++,z):V===41?(e.consume(V),y--,z):V===null||V===32||V===40||ip(V)?n(V):(e.consume(V),V===92?B:z)}function B(V){return V===40||V===41||V===92?(e.consume(V),z):z(V)}}function aS(e,t,n,r,l,s){const u=this;let f=0,g;return b;function b(C){return e.enter(r),e.enter(l),e.consume(C),e.exit(l),e.enter(s),y}function y(C){return f>999||C===null||C===91||C===93&&!g||C===94&&!f&&"_hiddenFootnoteSupport"in u.parser.constructs?n(C):C===93?(e.exit(s),e.enter(l),e.consume(C),e.exit(l),e.exit(r),t):$e(C)?(e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),y):(e.enter("chunkString",{contentType:"string"}),S(C))}function S(C){return C===null||C===91||C===93||$e(C)||f++>999?(e.exit("chunkString"),y(C)):(e.consume(C),g||(g=!Ct(C)),C===92?w:S)}function w(C){return C===91||C===92||C===93?(e.consume(C),f++,S):S(C)}}function lS(e,t,n,r,l,s){let u;return f;function f(w){return w===34||w===39||w===40?(e.enter(r),e.enter(l),e.consume(w),e.exit(l),u=w===40?41:w,g):n(w)}function g(w){return w===u?(e.enter(l),e.consume(w),e.exit(l),e.exit(r),t):(e.enter(s),b(w))}function b(w){return w===u?(e.exit(s),g(u)):w===null?n(w):$e(w)?(e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),It(e,b,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),y(w))}function y(w){return w===u||w===null||$e(w)?(e.exit("chunkString"),b(w)):(e.consume(w),w===92?S:y)}function S(w){return w===u||w===92?(e.consume(w),y):y(w)}}function ih(e,t){let n;return r;function r(l){return $e(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),n=!0,r):Ct(l)?It(e,r,n?"linePrefix":"lineSuffix")(l):t(l)}}const JI={name:"definition",tokenize:qI},QI={partial:!0,tokenize:$I};function qI(e,t,n){const r=this;let l;return s;function s(C){return e.enter("definition"),u(C)}function u(C){return aS.call(r,e,f,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(C)}function f(C){return l=pl(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),C===58?(e.enter("definitionMarker"),e.consume(C),e.exit("definitionMarker"),g):n(C)}function g(C){return fn(C)?ih(e,b)(C):b(C)}function b(C){return iS(e,y,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(C)}function y(C){return e.attempt(QI,S,S)(C)}function S(C){return Ct(C)?It(e,w,"whitespace")(C):w(C)}function w(C){return C===null||$e(C)?(e.exit("definition"),r.parser.defined.push(l),t(C)):n(C)}}function $I(e,t,n){return r;function r(f){return fn(f)?ih(e,l)(f):n(f)}function l(f){return lS(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(f)}function s(f){return Ct(f)?It(e,u,"whitespace")(f):u(f)}function u(f){return f===null||$e(f)?t(f):n(f)}}const e9={name:"hardBreakEscape",tokenize:t9};function t9(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),l}function l(s){return $e(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const n9={name:"headingAtx",resolve:r9,tokenize:i9};function r9(e,t){let n=e.length-2,r=3,l,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(l={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},la(e,r,n-r+1,[["enter",l,t],["enter",s,t],["exit",s,t],["exit",l,t]])),e}function i9(e,t,n){let r=0;return l;function l(y){return e.enter("atxHeading"),s(y)}function s(y){return e.enter("atxHeadingSequence"),u(y)}function u(y){return y===35&&r++<6?(e.consume(y),u):y===null||fn(y)?(e.exit("atxHeadingSequence"),f(y)):n(y)}function f(y){return y===35?(e.enter("atxHeadingSequence"),g(y)):y===null||$e(y)?(e.exit("atxHeading"),t(y)):Ct(y)?It(e,f,"whitespace")(y):(e.enter("atxHeadingText"),b(y))}function g(y){return y===35?(e.consume(y),g):(e.exit("atxHeadingSequence"),f(y))}function b(y){return y===null||y===35||fn(y)?(e.exit("atxHeadingText"),f(y)):(e.consume(y),b)}}const a9=["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"],oS=["pre","script","style","textarea"],l9={concrete:!0,name:"htmlFlow",resolveTo:u9,tokenize:c9},o9={partial:!0,tokenize:d9},s9={partial:!0,tokenize:f9};function u9(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function c9(e,t,n){const r=this;let l,s,u,f,g;return b;function b(M){return y(M)}function y(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),S}function S(M){return M===33?(e.consume(M),w):M===47?(e.consume(M),s=!0,z):M===63?(e.consume(M),l=3,r.interrupt?t:k):bi(M)?(e.consume(M),u=String.fromCharCode(M),B):n(M)}function w(M){return M===45?(e.consume(M),l=2,C):M===91?(e.consume(M),l=5,f=0,R):bi(M)?(e.consume(M),l=4,r.interrupt?t:k):n(M)}function C(M){return M===45?(e.consume(M),r.interrupt?t:k):n(M)}function R(M){const xe="CDATA[";return M===xe.charCodeAt(f++)?(e.consume(M),f===xe.length?r.interrupt?t:ue:R):n(M)}function z(M){return bi(M)?(e.consume(M),u=String.fromCharCode(M),B):n(M)}function B(M){if(M===null||M===47||M===62||fn(M)){const xe=M===47,He=u.toLowerCase();return!xe&&!s&&oS.includes(He)?(l=1,r.interrupt?t(M):ue(M)):a9.includes(u.toLowerCase())?(l=6,xe?(e.consume(M),V):r.interrupt?t(M):ue(M)):(l=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(M):s?W(M):H(M))}return M===45||ii(M)?(e.consume(M),u+=String.fromCharCode(M),B):n(M)}function V(M){return M===62?(e.consume(M),r.interrupt?t:ue):n(M)}function W(M){return Ct(M)?(e.consume(M),W):Z(M)}function H(M){return M===47?(e.consume(M),Z):M===58||M===95||bi(M)?(e.consume(M),te):Ct(M)?(e.consume(M),H):Z(M)}function te(M){return M===45||M===46||M===58||M===95||ii(M)?(e.consume(M),te):U(M)}function U(M){return M===61?(e.consume(M),K):Ct(M)?(e.consume(M),U):H(M)}function K(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),g=M,be):Ct(M)?(e.consume(M),K):ge(M)}function be(M){return M===g?(e.consume(M),g=null,fe):M===null||$e(M)?n(M):(e.consume(M),be)}function ge(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||fn(M)?U(M):(e.consume(M),ge)}function fe(M){return M===47||M===62||Ct(M)?H(M):n(M)}function Z(M){return M===62?(e.consume(M),ke):n(M)}function ke(M){return M===null||$e(M)?ue(M):Ct(M)?(e.consume(M),ke):n(M)}function ue(M){return M===45&&l===2?(e.consume(M),D):M===60&&l===1?(e.consume(M),j):M===62&&l===4?(e.consume(M),G):M===63&&l===3?(e.consume(M),k):M===93&&l===5?(e.consume(M),Ee):$e(M)&&(l===6||l===7)?(e.exit("htmlFlowData"),e.check(o9,me,Oe)(M)):M===null||$e(M)?(e.exit("htmlFlowData"),Oe(M)):(e.consume(M),ue)}function Oe(M){return e.check(s9,ee,me)(M)}function ee(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),oe}function oe(M){return M===null||$e(M)?Oe(M):(e.enter("htmlFlowData"),ue(M))}function D(M){return M===45?(e.consume(M),k):ue(M)}function j(M){return M===47?(e.consume(M),u="",we):ue(M)}function we(M){if(M===62){const xe=u.toLowerCase();return oS.includes(xe)?(e.consume(M),G):ue(M)}return bi(M)&&u.length<8?(e.consume(M),u+=String.fromCharCode(M),we):ue(M)}function Ee(M){return M===93?(e.consume(M),k):ue(M)}function k(M){return M===62?(e.consume(M),G):M===45&&l===2?(e.consume(M),k):ue(M)}function G(M){return M===null||$e(M)?(e.exit("htmlFlowData"),me(M)):(e.consume(M),G)}function me(M){return e.exit("htmlFlow"),t(M)}}function f9(e,t,n){const r=this;return l;function l(u){return $e(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),s):n(u)}function s(u){return r.parser.lazy[r.now().line]?n(u):t(u)}}function d9(e,t,n){return r;function r(l){return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),e.attempt(nh,t,n)}}const h9={name:"htmlText",tokenize:g9};function g9(e,t,n){const r=this;let l,s,u;return f;function f(k){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(k),g}function g(k){return k===33?(e.consume(k),b):k===47?(e.consume(k),U):k===63?(e.consume(k),H):bi(k)?(e.consume(k),ge):n(k)}function b(k){return k===45?(e.consume(k),y):k===91?(e.consume(k),s=0,R):bi(k)?(e.consume(k),W):n(k)}function y(k){return k===45?(e.consume(k),C):n(k)}function S(k){return k===null?n(k):k===45?(e.consume(k),w):$e(k)?(u=S,j(k)):(e.consume(k),S)}function w(k){return k===45?(e.consume(k),C):S(k)}function C(k){return k===62?D(k):k===45?w(k):S(k)}function R(k){const G="CDATA[";return k===G.charCodeAt(s++)?(e.consume(k),s===G.length?z:R):n(k)}function z(k){return k===null?n(k):k===93?(e.consume(k),B):$e(k)?(u=z,j(k)):(e.consume(k),z)}function B(k){return k===93?(e.consume(k),V):z(k)}function V(k){return k===62?D(k):k===93?(e.consume(k),V):z(k)}function W(k){return k===null||k===62?D(k):$e(k)?(u=W,j(k)):(e.consume(k),W)}function H(k){return k===null?n(k):k===63?(e.consume(k),te):$e(k)?(u=H,j(k)):(e.consume(k),H)}function te(k){return k===62?D(k):H(k)}function U(k){return bi(k)?(e.consume(k),K):n(k)}function K(k){return k===45||ii(k)?(e.consume(k),K):be(k)}function be(k){return $e(k)?(u=be,j(k)):Ct(k)?(e.consume(k),be):D(k)}function ge(k){return k===45||ii(k)?(e.consume(k),ge):k===47||k===62||fn(k)?fe(k):n(k)}function fe(k){return k===47?(e.consume(k),D):k===58||k===95||bi(k)?(e.consume(k),Z):$e(k)?(u=fe,j(k)):Ct(k)?(e.consume(k),fe):D(k)}function Z(k){return k===45||k===46||k===58||k===95||ii(k)?(e.consume(k),Z):ke(k)}function ke(k){return k===61?(e.consume(k),ue):$e(k)?(u=ke,j(k)):Ct(k)?(e.consume(k),ke):fe(k)}function ue(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),l=k,Oe):$e(k)?(u=ue,j(k)):Ct(k)?(e.consume(k),ue):(e.consume(k),ee)}function Oe(k){return k===l?(e.consume(k),l=void 0,oe):k===null?n(k):$e(k)?(u=Oe,j(k)):(e.consume(k),Oe)}function ee(k){return k===null||k===34||k===39||k===60||k===61||k===96?n(k):k===47||k===62||fn(k)?fe(k):(e.consume(k),ee)}function oe(k){return k===47||k===62||fn(k)?fe(k):n(k)}function D(k){return k===62?(e.consume(k),e.exit("htmlTextData"),e.exit("htmlText"),t):n(k)}function j(k){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),we}function we(k){return Ct(k)?It(e,Ee,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):Ee(k)}function Ee(k){return e.enter("htmlTextData"),u(k)}}const dv={name:"labelEnd",resolveAll:v9,resolveTo:y9,tokenize:x9},p9={tokenize:S9},m9={tokenize:A9},b9={tokenize:E9};function v9(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const l=r.type==="labelImage"?4:2;r.type="data",t+=l}}return e.length!==n.length&&la(e,0,e.length,n),e}function y9(e,t){let n=e.length,r=0,l,s,u,f;for(;n--;)if(l=e[n][1],s){if(l.type==="link"||l.type==="labelLink"&&l._inactive)break;e[n][0]==="enter"&&l.type==="labelLink"&&(l._inactive=!0)}else if(u){if(e[n][0]==="enter"&&(l.type==="labelImage"||l.type==="labelLink")&&!l._balanced&&(s=n,l.type!=="labelLink")){r=2;break}}else l.type==="labelEnd"&&(u=n);const g={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},b={type:"label",start:{...e[s][1].start},end:{...e[u][1].end}},y={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[u-2][1].start}};return f=[["enter",g,t],["enter",b,t]],f=Ua(f,e.slice(s+1,s+r+3)),f=Ua(f,[["enter",y,t]]),f=Ua(f,lp(t.parser.constructs.insideSpan.null,e.slice(s+r+4,u-3),t)),f=Ua(f,[["exit",y,t],e[u-2],e[u-1],["exit",b,t]]),f=Ua(f,e.slice(u+1)),f=Ua(f,[["exit",g,t]]),la(e,s,e.length,f),e}function x9(e,t,n){const r=this;let l=r.events.length,s,u;for(;l--;)if((r.events[l][1].type==="labelImage"||r.events[l][1].type==="labelLink")&&!r.events[l][1]._balanced){s=r.events[l][1];break}return f;function f(w){return s?s._inactive?S(w):(u=r.parser.defined.includes(pl(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(w),e.exit("labelMarker"),e.exit("labelEnd"),g):n(w)}function g(w){return w===40?e.attempt(p9,y,u?y:S)(w):w===91?e.attempt(m9,y,u?b:S)(w):u?y(w):S(w)}function b(w){return e.attempt(b9,y,S)(w)}function y(w){return t(w)}function S(w){return s._balanced=!0,n(w)}}function S9(e,t,n){return r;function r(S){return e.enter("resource"),e.enter("resourceMarker"),e.consume(S),e.exit("resourceMarker"),l}function l(S){return fn(S)?ih(e,s)(S):s(S)}function s(S){return S===41?y(S):iS(e,u,f,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(S)}function u(S){return fn(S)?ih(e,g)(S):y(S)}function f(S){return n(S)}function g(S){return S===34||S===39||S===40?lS(e,b,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(S):y(S)}function b(S){return fn(S)?ih(e,y)(S):y(S)}function y(S){return S===41?(e.enter("resourceMarker"),e.consume(S),e.exit("resourceMarker"),e.exit("resource"),t):n(S)}}function A9(e,t,n){const r=this;return l;function l(f){return aS.call(r,e,s,u,"reference","referenceMarker","referenceString")(f)}function s(f){return r.parser.defined.includes(pl(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(f):n(f)}function u(f){return n(f)}}function E9(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),l}function l(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const w9={name:"labelStartImage",resolveAll:dv.resolveAll,tokenize:C9};function C9(e,t,n){const r=this;return l;function l(f){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(f),e.exit("labelImageMarker"),s}function s(f){return f===91?(e.enter("labelMarker"),e.consume(f),e.exit("labelMarker"),e.exit("labelImage"),u):n(f)}function u(f){return f===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(f):t(f)}}const k9={name:"labelStartLink",resolveAll:dv.resolveAll,tokenize:T9};function T9(e,t,n){const r=this;return l;function l(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),s}function s(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const hv={name:"lineEnding",tokenize:O9};function O9(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),It(e,t,"linePrefix")}}const op={name:"thematicBreak",tokenize:_9};function _9(e,t,n){let r=0,l;return s;function s(b){return e.enter("thematicBreak"),u(b)}function u(b){return l=b,f(b)}function f(b){return b===l?(e.enter("thematicBreakSequence"),g(b)):r>=3&&(b===null||$e(b))?(e.exit("thematicBreak"),t(b)):n(b)}function g(b){return b===l?(e.consume(b),r++,g):(e.exit("thematicBreakSequence"),Ct(b)?It(e,f,"whitespace")(b):f(b))}}const Mi={continuation:{tokenize:z9},exit:D9,name:"list",tokenize:I9},R9={partial:!0,tokenize:M9},P9={partial:!0,tokenize:N9};function I9(e,t,n){const r=this,l=r.events[r.events.length-1];let s=l&&l[1].type==="linePrefix"?l[2].sliceSerialize(l[1],!0).length:0,u=0;return f;function f(C){const R=r.containerState.type||(C===42||C===43||C===45?"listUnordered":"listOrdered");if(R==="listUnordered"?!r.containerState.marker||C===r.containerState.marker:uv(C)){if(r.containerState.type||(r.containerState.type=R,e.enter(R,{_container:!0})),R==="listUnordered")return e.enter("listItemPrefix"),C===42||C===45?e.check(op,n,b)(C):b(C);if(!r.interrupt||C===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),g(C)}return n(C)}function g(C){return uv(C)&&++u<10?(e.consume(C),g):(!r.interrupt||u<2)&&(r.containerState.marker?C===r.containerState.marker:C===41||C===46)?(e.exit("listItemValue"),b(C)):n(C)}function b(C){return e.enter("listItemMarker"),e.consume(C),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||C,e.check(nh,r.interrupt?n:y,e.attempt(R9,w,S))}function y(C){return r.containerState.initialBlankLine=!0,s++,w(C)}function S(C){return Ct(C)?(e.enter("listItemPrefixWhitespace"),e.consume(C),e.exit("listItemPrefixWhitespace"),w):n(C)}function w(C){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(C)}}function z9(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(nh,l,s);function l(f){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,It(e,t,"listItemIndent",r.containerState.size+1)(f)}function s(f){return r.containerState.furtherBlankLines||!Ct(f)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,u(f)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(P9,t,u)(f))}function u(f){return r.containerState._closeFlow=!0,r.interrupt=void 0,It(e,e.attempt(Mi,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(f)}}function N9(e,t,n){const r=this;return It(e,l,"listItemIndent",r.containerState.size+1);function l(s){const u=r.events[r.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===r.containerState.size?t(s):n(s)}}function D9(e){e.exit(this.containerState.type)}function M9(e,t,n){const r=this;return It(e,l,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function l(s){const u=r.events[r.events.length-1];return!Ct(s)&&u&&u[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const sS={name:"setextUnderline",resolveTo:L9,tokenize:F9};function L9(e,t){let n=e.length,r,l,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(l=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const u={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[l][1].type="setextHeadingText",s?(e.splice(l,0,["enter",u,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=u,e.push(["exit",u,t]),e}function F9(e,t,n){const r=this;let l;return s;function s(b){let y=r.events.length,S;for(;y--;)if(r.events[y][1].type!=="lineEnding"&&r.events[y][1].type!=="linePrefix"&&r.events[y][1].type!=="content"){S=r.events[y][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||S)?(e.enter("setextHeadingLine"),l=b,u(b)):n(b)}function u(b){return e.enter("setextHeadingLineSequence"),f(b)}function f(b){return b===l?(e.consume(b),f):(e.exit("setextHeadingLineSequence"),Ct(b)?It(e,g,"lineSuffix")(b):g(b))}function g(b){return b===null||$e(b)?(e.exit("setextHeadingLine"),t(b)):n(b)}}const V9={tokenize:B9};function B9(e){const t=this,n=e.attempt(nh,r,e.attempt(this.parser.constructs.flowInitial,l,It(e,e.attempt(this.parser.constructs.flow,l,e.attempt(YI,l)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function l(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const H9={resolveAll:cS()},W9=uS("string"),G9=uS("text");function uS(e){return{resolveAll:cS(e==="text"?U9:void 0),tokenize:t};function t(n){const r=this,l=this.parser.constructs[e],s=n.attempt(l,u,f);return u;function u(y){return b(y)?s(y):f(y)}function f(y){if(y===null){n.consume(y);return}return n.enter("data"),n.consume(y),g}function g(y){return b(y)?(n.exit("data"),s(y)):(n.consume(y),g)}function b(y){if(y===null)return!0;const S=l[y];let w=-1;if(S)for(;++w<S.length;){const C=S[w];if(!C.previous||C.previous.call(r,r.previous))return!0}return!1}}}function cS(e){return t;function t(n,r){let l=-1,s;for(;++l<=n.length;)s===void 0?n[l]&&n[l][1].type==="data"&&(s=l,l++):(!n[l]||n[l][1].type!=="data")&&(l!==s+2&&(n[s][1].end=n[l-1][1].end,n.splice(s+2,l-s-2),l=s+2),s=void 0);return e?e(n,r):n}}function U9(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],l=t.sliceStream(r);let s=l.length,u=-1,f=0,g;for(;s--;){const b=l[s];if(typeof b=="string"){for(u=b.length;b.charCodeAt(u-1)===32;)f++,u--;if(u)break;u=-1}else if(b===-2)g=!0,f++;else if(b!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(f=0),f){const b={type:n===e.length||g||f<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?u:r.start._bufferIndex+u,_index:r.start._index+s,line:r.end.line,column:r.end.column-f,offset:r.end.offset-f},end:{...r.end}};r.end={...b.start},r.start.offset===r.end.offset?Object.assign(r,b):(e.splice(n,0,["enter",b,t],["exit",b,t]),n+=2)}n++}return e}const Y9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:JI},disable:{null:[]},document:{42:Mi,43:Mi,45:Mi,48:Mi,49:Mi,50:Mi,51:Mi,52:Mi,53:Mi,54:Mi,55:Mi,56:Mi,57:Mi,62:q2},flow:{35:n9,42:op,45:[sS,op],60:l9,61:sS,95:op,96:nS,126:nS},flowInitial:{[-2]:fv,[-1]:fv,32:fv},insideSpan:{null:[cv,H9]},string:{38:eS,92:$2},text:{[-5]:hv,[-4]:hv,[-3]:hv,33:w9,38:eS,42:cv,60:[kI,h9],91:k9,92:[e9,$2],93:dv,95:cv,96:VI}},Symbol.toStringTag,{value:"Module"}));function X9(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const l={},s=[];let u=[],f=[];const g={attempt:be(U),check:be(K),consume:W,enter:H,exit:te,interrupt:be(K,{interrupt:!0})},b={code:null,containerState:{},defineSkip:z,events:[],now:R,parser:e,previous:null,sliceSerialize:w,sliceStream:C,write:S};let y=t.tokenize.call(b,g);return t.resolveAll&&s.push(t),b;function S(ke){return u=Ua(u,ke),B(),u[u.length-1]!==null?[]:(ge(t,0),b.events=lp(s,b.events,b),b.events)}function w(ke,ue){return K9(C(ke),ue)}function C(ke){return Z9(u,ke)}function R(){const{_bufferIndex:ke,_index:ue,line:Oe,column:ee,offset:oe}=r;return{_bufferIndex:ke,_index:ue,line:Oe,column:ee,offset:oe}}function z(ke){l[ke.line]=ke.column,Z()}function B(){let ke;for(;r._index<u.length;){const ue=u[r._index];if(typeof ue=="string")for(ke=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ke&&r._bufferIndex<ue.length;)V(ue.charCodeAt(r._bufferIndex));else V(ue)}}function V(ke){y=y(ke)}function W(ke){$e(ke)?(r.line++,r.column=1,r.offset+=ke===-3?2:1,Z()):ke!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===u[r._index].length&&(r._bufferIndex=-1,r._index++)),b.previous=ke}function H(ke,ue){const Oe=ue||{};return Oe.type=ke,Oe.start=R(),b.events.push(["enter",Oe,b]),f.push(Oe),Oe}function te(ke){const ue=f.pop();return ue.end=R(),b.events.push(["exit",ue,b]),ue}function U(ke,ue){ge(ke,ue.from)}function K(ke,ue){ue.restore()}function be(ke,ue){return Oe;function Oe(ee,oe,D){let j,we,Ee,k;return Array.isArray(ee)?me(ee):"tokenize"in ee?me([ee]):G(ee);function G(Me){return ht;function ht(ye){const Re=ye!==null&&Me[ye],Pe=ye!==null&&Me.null,Fe=[...Array.isArray(Re)?Re:Re?[Re]:[],...Array.isArray(Pe)?Pe:Pe?[Pe]:[]];return me(Fe)(ye)}}function me(Me){return j=Me,we=0,Me.length===0?D:M(Me[we])}function M(Me){return ht;function ht(ye){return k=fe(),Ee=Me,Me.partial||(b.currentConstruct=Me),Me.name&&b.parser.constructs.disable.null.includes(Me.name)?He():Me.tokenize.call(ue?Object.assign(Object.create(b),ue):b,g,xe,He)(ye)}}function xe(Me){return ke(Ee,k),oe}function He(Me){return k.restore(),++we<j.length?M(j[we]):D}}}function ge(ke,ue){ke.resolveAll&&!s.includes(ke)&&s.push(ke),ke.resolve&&la(b.events,ue,b.events.length-ue,ke.resolve(b.events.slice(ue),b)),ke.resolveTo&&(b.events=ke.resolveTo(b.events,b))}function fe(){const ke=R(),ue=b.previous,Oe=b.currentConstruct,ee=b.events.length,oe=Array.from(f);return{from:ee,restore:D};function D(){r=ke,b.previous=ue,b.currentConstruct=Oe,b.events.length=ee,f=oe,Z()}}function Z(){r.line in l&&r.column<2&&(r.column=l[r.line],r.offset+=l[r.line]-1)}}function Z9(e,t){const n=t.start._index,r=t.start._bufferIndex,l=t.end._index,s=t.end._bufferIndex;let u;if(n===l)u=[e[n].slice(r,s)];else{if(u=e.slice(n,l),r>-1){const f=u[0];typeof f=="string"?u[0]=f.slice(r):u.shift()}s>0&&u.push(e[l].slice(0,s))}return u}function K9(e,t){let n=-1;const r=[];let l;for(;++n<e.length;){const s=e[n];let u;if(typeof s=="string")u=s;else switch(s){case-5:{u="\r";break}case-4:{u=`
72
+ `;break}case-3:{u=`\r
73
+ `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&l)continue;u=" ";break}default:u=String.fromCharCode(s)}l=s===-2,r.push(u)}return r.join("")}function j9(e){const r={constructs:K2([Y9,...(e||{}).extensions||[]]),content:l(yI),defined:[],document:l(SI),flow:l(V9),lazy:{},string:l(W9),text:l(G9)};return r;function l(s){return u;function u(f){return X9(r,s,f)}}}function J9(e){for(;!rS(e););return e}const fS=/[\0\t\n\r]/g;function Q9(){let e=1,t="",n=!0,r;return l;function l(s,u,f){const g=[];let b,y,S,w,C;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(u||void 0).decode(s)),S=0,t="",n&&(s.charCodeAt(0)===65279&&S++,n=void 0);S<s.length;){if(fS.lastIndex=S,b=fS.exec(s),w=b&&b.index!==void 0?b.index:s.length,C=s.charCodeAt(w),!b){t=s.slice(S);break}if(C===10&&S===w&&r)g.push(-3),r=void 0;else switch(r&&(g.push(-5),r=void 0),S<w&&(g.push(s.slice(S,w)),e+=w-S),C){case 0:{g.push(65533),e++;break}case 9:{for(y=Math.ceil(e/4)*4,g.push(-2);e++<y;)g.push(-1);break}case 10:{g.push(-4),e=1;break}default:r=!0,e=1}S=w+1}return f&&(r&&g.push(-5),t&&g.push(t),g.push(null)),g}}const q9=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $9(e){return e.replace(q9,e6)}function e6(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const l=n.charCodeAt(1),s=l===120||l===88;return j2(n.slice(s?2:1),s?16:10)}return sv(n)||e}const dS={}.hasOwnProperty;function t6(e,t,n){return typeof t!="string"&&(n=t,t=void 0),n6(n)(J9(j9(n).document().write(Q9()(e,t,!0))))}function n6(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Lr),autolinkProtocol:fe,autolinkEmail:fe,atxHeading:s(Wn),blockQuote:s(Pe),characterEscape:fe,characterReference:fe,codeFenced:s(Fe),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:s(Fe,u),codeText:s(Ve,u),codeTextData:fe,data:fe,codeFlowValue:fe,definition:s(ct),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:s(Yt),hardBreakEscape:s(kt),hardBreakTrailing:s(kt),htmlFlow:s(nn,u),htmlFlowData:fe,htmlText:s(nn,u),htmlTextData:fe,image:s(Bi),label:u,link:s(Lr),listItem:s(rn),listItemValue:w,listOrdered:s(Mn,S),listUnordered:s(Mn),paragraph:s(xt),reference:M,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:s(Wn),strong:s(wn),thematicBreak:s(Ys)},exit:{atxHeading:g(),atxHeadingSequence:U,autolink:g(),autolinkEmail:Re,autolinkProtocol:ye,blockQuote:g(),characterEscapeValue:Z,characterReferenceMarkerHexadecimal:He,characterReferenceMarkerNumeric:He,characterReferenceValue:Me,characterReference:ht,codeFenced:g(B),codeFencedFence:z,codeFencedFenceInfo:C,codeFencedFenceMeta:R,codeFlowValue:Z,codeIndented:g(V),codeText:g(oe),codeTextData:Z,data:Z,definition:g(),definitionDestinationString:te,definitionLabelString:W,definitionTitleString:H,emphasis:g(),hardBreakEscape:g(ue),hardBreakTrailing:g(ue),htmlFlow:g(Oe),htmlFlowData:Z,htmlText:g(ee),htmlTextData:Z,image:g(j),label:Ee,labelText:we,lineEnding:ke,link:g(D),listItem:g(),listOrdered:g(),listUnordered:g(),paragraph:g(),referenceString:xe,resourceDestinationString:k,resourceTitleString:G,resource:me,setextHeading:g(ge),setextHeadingLineSequence:be,setextHeadingText:K,strong:g(),thematicBreak:g()}};hS(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(pe){let Ie={type:"root",children:[]};const Ke={stack:[Ie],tokenStack:[],config:t,enter:f,exit:b,buffer:u,resume:y,data:n},Xe=[];let _t=-1;for(;++_t<pe.length;)if(pe[_t][1].type==="listOrdered"||pe[_t][1].type==="listUnordered")if(pe[_t][0]==="enter")Xe.push(_t);else{const Gn=Xe.pop();_t=l(pe,Gn,_t)}for(_t=-1;++_t<pe.length;){const Gn=t[pe[_t][0]];dS.call(Gn,pe[_t][1].type)&&Gn[pe[_t][1].type].call(Object.assign({sliceSerialize:pe[_t][2].sliceSerialize},Ke),pe[_t][1])}if(Ke.tokenStack.length>0){const Gn=Ke.tokenStack[Ke.tokenStack.length-1];(Gn[1]||gS).call(Ke,void 0,Gn[0])}for(Ie.position={start:Ds(pe.length>0?pe[0][1].start:{line:1,column:1,offset:0}),end:Ds(pe.length>0?pe[pe.length-2][1].end:{line:1,column:1,offset:0})},_t=-1;++_t<t.transforms.length;)Ie=t.transforms[_t](Ie)||Ie;return Ie}function l(pe,Ie,Ke){let Xe=Ie-1,_t=-1,Gn=!1,vi,Zn,yi,pr;for(;++Xe<=Ke;){const dt=pe[Xe];switch(dt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{dt[0]==="enter"?_t++:_t--,pr=void 0;break}case"lineEndingBlank":{dt[0]==="enter"&&(vi&&!pr&&!_t&&!yi&&(yi=Xe),pr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:pr=void 0}if(!_t&&dt[0]==="enter"&&dt[1].type==="listItemPrefix"||_t===-1&&dt[0]==="exit"&&(dt[1].type==="listUnordered"||dt[1].type==="listOrdered")){if(vi){let Qt=Xe;for(Zn=void 0;Qt--;){const Fr=pe[Qt];if(Fr[1].type==="lineEnding"||Fr[1].type==="lineEndingBlank"){if(Fr[0]==="exit")continue;Zn&&(pe[Zn][1].type="lineEndingBlank",Gn=!0),Fr[1].type="lineEnding",Zn=Qt}else if(!(Fr[1].type==="linePrefix"||Fr[1].type==="blockQuotePrefix"||Fr[1].type==="blockQuotePrefixWhitespace"||Fr[1].type==="blockQuoteMarker"||Fr[1].type==="listItemIndent"))break}yi&&(!Zn||yi<Zn)&&(vi._spread=!0),vi.end=Object.assign({},Zn?pe[Zn][1].start:dt[1].end),pe.splice(Zn||Xe,0,["exit",vi,dt[2]]),Xe++,Ke++}if(dt[1].type==="listItemPrefix"){const Qt={type:"listItem",_spread:!1,start:Object.assign({},dt[1].start),end:void 0};vi=Qt,pe.splice(Xe,0,["enter",Qt,dt[2]]),Xe++,Ke++,yi=void 0,pr=!0}}}return pe[Ie][1]._spread=Gn,Ke}function s(pe,Ie){return Ke;function Ke(Xe){f.call(this,pe(Xe),Xe),Ie&&Ie.call(this,Xe)}}function u(){this.stack.push({type:"fragment",children:[]})}function f(pe,Ie,Ke){this.stack[this.stack.length-1].children.push(pe),this.stack.push(pe),this.tokenStack.push([Ie,Ke||void 0]),pe.position={start:Ds(Ie.start),end:void 0}}function g(pe){return Ie;function Ie(Ke){pe&&pe.call(this,Ke),b.call(this,Ke)}}function b(pe,Ie){const Ke=this.stack.pop(),Xe=this.tokenStack.pop();if(Xe)Xe[0].type!==pe.type&&(Ie?Ie.call(this,pe,Xe[0]):(Xe[1]||gS).call(this,pe,Xe[0]));else throw new Error("Cannot close `"+pe.type+"` ("+eh({start:pe.start,end:pe.end})+"): it’s not open");Ke.position.end=Ds(pe.end)}function y(){return ov(this.stack.pop())}function S(){this.data.expectingFirstListItemValue=!0}function w(pe){if(this.data.expectingFirstListItemValue){const Ie=this.stack[this.stack.length-2];Ie.start=Number.parseInt(this.sliceSerialize(pe),10),this.data.expectingFirstListItemValue=void 0}}function C(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.lang=pe}function R(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.meta=pe}function z(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function B(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=pe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function V(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=pe.replace(/(\r?\n|\r)$/g,"")}function W(pe){const Ie=this.resume(),Ke=this.stack[this.stack.length-1];Ke.label=Ie,Ke.identifier=pl(this.sliceSerialize(pe)).toLowerCase()}function H(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=pe}function te(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=pe}function U(pe){const Ie=this.stack[this.stack.length-1];if(!Ie.depth){const Ke=this.sliceSerialize(pe).length;Ie.depth=Ke}}function K(){this.data.setextHeadingSlurpLineEnding=!0}function be(pe){const Ie=this.stack[this.stack.length-1];Ie.depth=this.sliceSerialize(pe).codePointAt(0)===61?1:2}function ge(){this.data.setextHeadingSlurpLineEnding=void 0}function fe(pe){const Ke=this.stack[this.stack.length-1].children;let Xe=Ke[Ke.length-1];(!Xe||Xe.type!=="text")&&(Xe=uc(),Xe.position={start:Ds(pe.start),end:void 0},Ke.push(Xe)),this.stack.push(Xe)}function Z(pe){const Ie=this.stack.pop();Ie.value+=this.sliceSerialize(pe),Ie.position.end=Ds(pe.end)}function ke(pe){const Ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Ke=Ie.children[Ie.children.length-1];Ke.position.end=Ds(pe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Ie.type)&&(fe.call(this,pe),Z.call(this,pe))}function ue(){this.data.atHardBreak=!0}function Oe(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=pe}function ee(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=pe}function oe(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=pe}function D(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=Ie,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function j(){const pe=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";pe.type+="Reference",pe.referenceType=Ie,delete pe.url,delete pe.title}else delete pe.identifier,delete pe.label;this.data.referenceType=void 0}function we(pe){const Ie=this.sliceSerialize(pe),Ke=this.stack[this.stack.length-2];Ke.label=$9(Ie),Ke.identifier=pl(Ie).toLowerCase()}function Ee(){const pe=this.stack[this.stack.length-1],Ie=this.resume(),Ke=this.stack[this.stack.length-1];if(this.data.inReference=!0,Ke.type==="link"){const Xe=pe.children;Ke.children=Xe}else Ke.alt=Ie}function k(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=pe}function G(){const pe=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=pe}function me(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function xe(pe){const Ie=this.resume(),Ke=this.stack[this.stack.length-1];Ke.label=Ie,Ke.identifier=pl(this.sliceSerialize(pe)).toLowerCase(),this.data.referenceType="full"}function He(pe){this.data.characterReferenceType=pe.type}function Me(pe){const Ie=this.sliceSerialize(pe),Ke=this.data.characterReferenceType;let Xe;Ke?(Xe=j2(Ie,Ke==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Xe=sv(Ie);const _t=this.stack[this.stack.length-1];_t.value+=Xe}function ht(pe){const Ie=this.stack.pop();Ie.position.end=Ds(pe.end)}function ye(pe){Z.call(this,pe);const Ie=this.stack[this.stack.length-1];Ie.url=this.sliceSerialize(pe)}function Re(pe){Z.call(this,pe);const Ie=this.stack[this.stack.length-1];Ie.url="mailto:"+this.sliceSerialize(pe)}function Pe(){return{type:"blockquote",children:[]}}function Fe(){return{type:"code",lang:null,meta:null,value:""}}function Ve(){return{type:"inlineCode",value:""}}function ct(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Yt(){return{type:"emphasis",children:[]}}function Wn(){return{type:"heading",depth:0,children:[]}}function kt(){return{type:"break"}}function nn(){return{type:"html",value:""}}function Bi(){return{type:"image",title:null,url:"",alt:null}}function Lr(){return{type:"link",title:null,url:"",children:[]}}function Mn(pe){return{type:"list",ordered:pe.type==="listOrdered",start:null,spread:pe._spread,children:[]}}function rn(pe){return{type:"listItem",spread:pe._spread,checked:null,children:[]}}function xt(){return{type:"paragraph",children:[]}}function wn(){return{type:"strong",children:[]}}function uc(){return{type:"text",value:""}}function Ys(){return{type:"thematicBreak"}}}function Ds(e){return{line:e.line,column:e.column,offset:e.offset}}function hS(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?hS(e,r):r6(e,r)}}function r6(e,t){let n;for(n in t)if(dS.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function gS(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+eh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+eh({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+eh({start:t.start,end:t.end})+") is still open")}function i6(e){const t=this;t.parser=n;function n(r){return t6(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function a6(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function l6(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
74
+ `}]}function o6(e,t){const n=t.value?t.value+`
75
+ `:"",r={};t.lang&&(r.className=["language-"+t.lang]);let l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l=e.applyData(t,l),l={type:"element",tagName:"pre",properties:{},children:[l]},e.patch(t,l),l}function s6(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function u6(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function c6(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),l=df(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let u,f=e.footnoteCounts.get(r);f===void 0?(f=0,e.footnoteOrder.push(r),u=e.footnoteOrder.length):u=s+1,f+=1,e.footnoteCounts.set(r,f);const g={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+l,id:n+"fnref-"+l+(f>1?"-"+f:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,g);const b={type:"element",tagName:"sup",properties:{},children:[g]};return e.patch(t,b),e.applyData(t,b)}function f6(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function d6(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function pS(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const l=e.all(t),s=l[0];s&&s.type==="text"?s.value="["+s.value:l.unshift({type:"text",value:"["});const u=l[l.length-1];return u&&u.type==="text"?u.value+=r:l.push({type:"text",value:r}),l}function h6(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return pS(e,t);const l={src:df(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(l.title=r.title);const s={type:"element",tagName:"img",properties:l,children:[]};return e.patch(t,s),e.applyData(t,s)}function g6(e,t){const n={src:df(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function p6(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function m6(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return pS(e,t);const l={href:df(r.url||"")};r.title!==null&&r.title!==void 0&&(l.title=r.title);const s={type:"element",tagName:"a",properties:l,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function b6(e,t){const n={href:df(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function v6(e,t,n){const r=e.all(t),l=n?y6(n):mS(t),s={},u=[];if(typeof t.checked=="boolean"){const y=r[0];let S;y&&y.type==="element"&&y.tagName==="p"?S=y:(S={type:"element",tagName:"p",properties:{},children:[]},r.unshift(S)),S.children.length>0&&S.children.unshift({type:"text",value:" "}),S.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let f=-1;for(;++f<r.length;){const y=r[f];(l||f!==0||y.type!=="element"||y.tagName!=="p")&&u.push({type:"text",value:`
76
+ `}),y.type==="element"&&y.tagName==="p"&&!l?u.push(...y.children):u.push(y)}const g=r[r.length-1];g&&(l||g.type!=="element"||g.tagName!=="p")&&u.push({type:"text",value:`
77
+ `});const b={type:"element",tagName:"li",properties:s,children:u};return e.patch(t,b),e.applyData(t,b)}function y6(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=mS(n[r])}return t}function mS(e){const t=e.spread;return t??e.children.length>1}function x6(e,t){const n={},r=e.all(t);let l=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++l<r.length;){const u=r[l];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function S6(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function A6(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function E6(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function w6(e,t){const n=e.all(t),r=n.shift(),l=[];if(r){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],u),l.push(u)}if(n.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},f=tv(t.children[1]),g=M2(t.children[t.children.length-1]);f&&g&&(u.position={start:f,end:g}),l.push(u)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(l,!0)};return e.patch(t,s),e.applyData(t,s)}function C6(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",u=n&&n.type==="table"?n.align:void 0,f=u?u.length:t.children.length;let g=-1;const b=[];for(;++g<f;){const S=t.children[g],w={},C=u?u[g]:void 0;C&&(w.align=C);let R={type:"element",tagName:s,properties:w,children:[]};S&&(R.children=e.all(S),e.patch(S,R),R=e.applyData(S,R)),b.push(R)}const y={type:"element",tagName:"tr",properties:{},children:e.wrap(b,!0)};return e.patch(t,y),e.applyData(t,y)}function k6(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const bS=9,vS=32;function T6(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),l=0;const s=[];for(;r;)s.push(yS(t.slice(l,r.index),l>0,!0),r[0]),l=r.index+r[0].length,r=n.exec(t);return s.push(yS(t.slice(l),l>0,!1)),s.join("")}function yS(e,t,n){let r=0,l=e.length;if(t){let s=e.codePointAt(r);for(;s===bS||s===vS;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(l-1);for(;s===bS||s===vS;)l--,s=e.codePointAt(l-1)}return l>r?e.slice(r,l):""}function O6(e,t){const n={type:"text",value:T6(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function _6(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const R6={blockquote:a6,break:l6,code:o6,delete:s6,emphasis:u6,footnoteReference:c6,heading:f6,html:d6,imageReference:h6,image:g6,inlineCode:p6,linkReference:m6,link:b6,listItem:v6,list:x6,paragraph:S6,root:A6,strong:E6,table:w6,tableCell:k6,tableRow:C6,text:O6,thematicBreak:_6,toml:sp,yaml:sp,definition:sp,footnoteDefinition:sp};function sp(){}const xS=-1,up=0,ah=1,cp=2,gv=3,pv=4,mv=5,bv=6,SS=7,AS=8,ES=typeof self=="object"?self:globalThis,P6=(e,t)=>{const n=(l,s)=>(e.set(s,l),l),r=l=>{if(e.has(l))return e.get(l);const[s,u]=t[l];switch(s){case up:case xS:return n(u,l);case ah:{const f=n([],l);for(const g of u)f.push(r(g));return f}case cp:{const f=n({},l);for(const[g,b]of u)f[r(g)]=r(b);return f}case gv:return n(new Date(u),l);case pv:{const{source:f,flags:g}=u;return n(new RegExp(f,g),l)}case mv:{const f=n(new Map,l);for(const[g,b]of u)f.set(r(g),r(b));return f}case bv:{const f=n(new Set,l);for(const g of u)f.add(r(g));return f}case SS:{const{name:f,message:g}=u;return n(new ES[f](g),l)}case AS:return n(BigInt(u),l);case"BigInt":return n(Object(BigInt(u)),l);case"ArrayBuffer":return n(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:f}=new Uint8Array(u);return n(new DataView(f),u)}}return n(new ES[s](u),l)};return r},wS=e=>P6(new Map,e)(0),gf="",{toString:I6}={},{keys:z6}=Object,lh=e=>{const t=typeof e;if(t!=="object"||!e)return[up,t];const n=I6.call(e).slice(8,-1);switch(n){case"Array":return[ah,gf];case"Object":return[cp,gf];case"Date":return[gv,gf];case"RegExp":return[pv,gf];case"Map":return[mv,gf];case"Set":return[bv,gf];case"DataView":return[ah,n]}return n.includes("Array")?[ah,n]:n.includes("Error")?[SS,n]:[cp,n]},fp=([e,t])=>e===up&&(t==="function"||t==="symbol"),N6=(e,t,n,r)=>{const l=(u,f)=>{const g=r.push(u)-1;return n.set(f,g),g},s=u=>{if(n.has(u))return n.get(u);let[f,g]=lh(u);switch(f){case up:{let y=u;switch(g){case"bigint":f=AS,y=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+g);y=null;break;case"undefined":return l([xS],u)}return l([f,y],u)}case ah:{if(g){let w=u;return g==="DataView"?w=new Uint8Array(u.buffer):g==="ArrayBuffer"&&(w=new Uint8Array(u)),l([g,[...w]],u)}const y=[],S=l([f,y],u);for(const w of u)y.push(s(w));return S}case cp:{if(g)switch(g){case"BigInt":return l([g,u.toString()],u);case"Boolean":case"Number":case"String":return l([g,u.valueOf()],u)}if(t&&"toJSON"in u)return s(u.toJSON());const y=[],S=l([f,y],u);for(const w of z6(u))(e||!fp(lh(u[w])))&&y.push([s(w),s(u[w])]);return S}case gv:return l([f,u.toISOString()],u);case pv:{const{source:y,flags:S}=u;return l([f,{source:y,flags:S}],u)}case mv:{const y=[],S=l([f,y],u);for(const[w,C]of u)(e||!(fp(lh(w))||fp(lh(C))))&&y.push([s(w),s(C)]);return S}case bv:{const y=[],S=l([f,y],u);for(const w of u)(e||!fp(lh(w)))&&y.push(s(w));return S}}const{message:b}=u;return l([f,{name:g,message:b}],u)};return s},CS=(e,{json:t,lossy:n}={})=>{const r=[];return N6(!(t||n),!!t,new Map,r)(e),r},dp=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?wS(CS(e,t)):structuredClone(e):(e,t)=>wS(CS(e,t));function D6(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function M6(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function L6(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||D6,r=e.options.footnoteBackLabel||M6,l=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},f=[];let g=-1;for(;++g<e.footnoteOrder.length;){const b=e.footnoteById.get(e.footnoteOrder[g]);if(!b)continue;const y=e.all(b),S=String(b.identifier).toUpperCase(),w=df(S.toLowerCase());let C=0;const R=[],z=e.footnoteCounts.get(S);for(;z!==void 0&&++C<=z;){R.length>0&&R.push({type:"text",value:" "});let W=typeof n=="string"?n:n(g,C);typeof W=="string"&&(W={type:"text",value:W}),R.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+w+(C>1?"-"+C:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(g,C),className:["data-footnote-backref"]},children:Array.isArray(W)?W:[W]})}const B=y[y.length-1];if(B&&B.type==="element"&&B.tagName==="p"){const W=B.children[B.children.length-1];W&&W.type==="text"?W.value+=" ":B.children.push({type:"text",value:" "}),B.children.push(...R)}else y.push(...R);const V={type:"element",tagName:"li",properties:{id:t+"fn-"+w},children:e.wrap(y,!0)};e.patch(b,V),f.push(V)}if(f.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...dp(u),id:"footnote-label"},children:[{type:"text",value:l}]},{type:"text",value:`
78
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(f,!0)},{type:"text",value:`
79
+ `}]}}const hp=(function(e){if(e==null)return H6;if(typeof e=="function")return gp(e);if(typeof e=="object")return Array.isArray(e)?F6(e):V6(e);if(typeof e=="string")return B6(e);throw new Error("Expected function, string, or object as test")});function F6(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=hp(e[n]);return gp(r);function r(...l){let s=-1;for(;++s<t.length;)if(t[s].apply(this,l))return!0;return!1}}function V6(e){const t=e;return gp(n);function n(r){const l=r;let s;for(s in e)if(l[s]!==t[s])return!1;return!0}}function B6(e){return gp(t);function t(n){return n&&n.type===e}}function gp(e){return t;function t(n,r,l){return!!(W6(n)&&e.call(this,n,typeof r=="number"?r:void 0,l||void 0))}}function H6(){return!0}function W6(e){return e!==null&&typeof e=="object"&&"type"in e}function hX(e){return e}const kS=[],G6=!0,vv=!1,U6="skip";function TS(e,t,n,r){let l;typeof t=="function"&&typeof n!="function"?(r=n,n=t):l=t;const s=hp(l),u=r?-1:1;f(e,void 0,[])();function f(g,b,y){const S=g&&typeof g=="object"?g:{};if(typeof S.type=="string"){const C=typeof S.tagName=="string"?S.tagName:typeof S.name=="string"?S.name:void 0;Object.defineProperty(w,"name",{value:"node ("+(g.type+(C?"<"+C+">":""))+")"})}return w;function w(){let C=kS,R,z,B;if((!t||s(g,b,y[y.length-1]||void 0))&&(C=Y6(n(g,y)),C[0]===vv))return C;if("children"in g&&g.children){const V=g;if(V.children&&C[0]!==U6)for(z=(r?V.children.length:-1)+u,B=y.concat(V);z>-1&&z<V.children.length;){const W=V.children[z];if(R=f(W,z,B)(),R[0]===vv)return R;z=typeof R[1]=="number"?R[1]:z+u}}return C}}}function Y6(e){return Array.isArray(e)?e:typeof e=="number"?[G6,e]:e==null?kS:[e]}function yv(e,t,n,r){let l,s,u;typeof t=="function"&&typeof n!="function"?(s=void 0,u=t,l=n):(s=t,u=n,l=r),TS(e,s,f,l);function f(g,b){const y=b[b.length-1],S=y?y.children.indexOf(g):void 0;return u(g,S,y)}}const xv={}.hasOwnProperty,X6={};function Z6(e,t){const n=t||X6,r=new Map,l=new Map,s=new Map,u={...R6,...n.handlers},f={all:b,applyData:j6,definitionById:r,footnoteById:l,footnoteCounts:s,footnoteOrder:[],handlers:u,one:g,options:n,patch:K6,wrap:Q6};return yv(e,function(y){if(y.type==="definition"||y.type==="footnoteDefinition"){const S=y.type==="definition"?r:l,w=String(y.identifier).toUpperCase();S.has(w)||S.set(w,y)}}),f;function g(y,S){const w=y.type,C=f.handlers[w];if(xv.call(f.handlers,w)&&C)return C(f,y,S);if(f.options.passThrough&&f.options.passThrough.includes(w)){if("children"in y){const{children:z,...B}=y,V=dp(B);return V.children=f.all(y),V}return dp(y)}return(f.options.unknownHandler||J6)(f,y,S)}function b(y){const S=[];if("children"in y){const w=y.children;let C=-1;for(;++C<w.length;){const R=f.one(w[C],y);if(R){if(C&&w[C-1].type==="break"&&(!Array.isArray(R)&&R.type==="text"&&(R.value=OS(R.value)),!Array.isArray(R)&&R.type==="element")){const z=R.children[0];z&&z.type==="text"&&(z.value=OS(z.value))}Array.isArray(R)?S.push(...R):S.push(R)}}}return S}}function K6(e,t){e.position&&(t.position=Y4(e))}function j6(e,t){let n=t;if(e&&e.data){const r=e.data.hName,l=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const u="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:u}}n.type==="element"&&s&&Object.assign(n.properties,dp(s)),"children"in n&&n.children&&l!==null&&l!==void 0&&(n.children=l)}return n}function J6(e,t){const n=t.data||{},r="value"in t&&!(xv.call(n,"hProperties")||xv.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Q6(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
80
+ `});++r<e.length;)r&&n.push({type:"text",value:`
81
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
82
+ `}),n}function OS(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function _S(e,t){const n=Z6(e,t),r=n.one(e,void 0),l=L6(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return l&&s.children.push({type:"text",value:`
83
+ `},l),s}function q6(e,t){return e&&"run"in e?async function(n,r){const l=_S(n,{file:r,...t});await e.run(l,r)}:function(n,r){return _S(n,{file:r,...e||t})}}function RS(e){if(e)throw e}var Sv,PS;function $6(){if(PS)return Sv;PS=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,l=function(b){return typeof Array.isArray=="function"?Array.isArray(b):t.call(b)==="[object Array]"},s=function(b){if(!b||t.call(b)!=="[object Object]")return!1;var y=e.call(b,"constructor"),S=b.constructor&&b.constructor.prototype&&e.call(b.constructor.prototype,"isPrototypeOf");if(b.constructor&&!y&&!S)return!1;var w;for(w in b);return typeof w>"u"||e.call(b,w)},u=function(b,y){n&&y.name==="__proto__"?n(b,y.name,{enumerable:!0,configurable:!0,value:y.newValue,writable:!0}):b[y.name]=y.newValue},f=function(b,y){if(y==="__proto__")if(e.call(b,y)){if(r)return r(b,y).value}else return;return b[y]};return Sv=function g(){var b,y,S,w,C,R,z=arguments[0],B=1,V=arguments.length,W=!1;for(typeof z=="boolean"&&(W=z,z=arguments[1]||{},B=2),(z==null||typeof z!="object"&&typeof z!="function")&&(z={});B<V;++B)if(b=arguments[B],b!=null)for(y in b)S=f(z,y),w=f(b,y),z!==w&&(W&&w&&(s(w)||(C=l(w)))?(C?(C=!1,R=S&&l(S)?S:[]):R=S&&s(S)?S:{},u(z,{name:y,newValue:g(W,R,w)})):typeof w<"u"&&u(z,{name:y,newValue:w}));return z},Sv}var ez=$6();const Av=Mu(ez);function Ev(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function tz(){const e=[],t={run:n,use:r};return t;function n(...l){let s=-1;const u=l.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);f(null,...l);function f(g,...b){const y=e[++s];let S=-1;if(g){u(g);return}for(;++S<l.length;)(b[S]===null||b[S]===void 0)&&(b[S]=l[S]);l=b,y?nz(y,f)(...b):u(null,...b)}}function r(l){if(typeof l!="function")throw new TypeError("Expected `middelware` to be a function, not "+l);return e.push(l),t}}function nz(e,t){let n;return r;function r(...u){const f=e.length>u.length;let g;f&&u.push(l);try{g=e.apply(this,u)}catch(b){const y=b;if(f&&n)throw y;return l(y)}f||(g&&g.then&&typeof g.then=="function"?g.then(s,l):g instanceof Error?l(g):s(g))}function l(u,...f){n||(n=!0,t(u,...f))}function s(u){l(null,u)}}const po={basename:rz,dirname:iz,extname:az,join:lz,sep:"/"};function rz(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');oh(e);let n=0,r=-1,l=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;l--;)if(e.codePointAt(l)===47){if(s){n=l+1;break}}else r<0&&(s=!0,r=l+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let u=-1,f=t.length-1;for(;l--;)if(e.codePointAt(l)===47){if(s){n=l+1;break}}else u<0&&(s=!0,u=l+1),f>-1&&(e.codePointAt(l)===t.codePointAt(f--)?f<0&&(r=l):(f=-1,r=u));return n===r?r=u:r<0&&(r=e.length),e.slice(n,r)}function iz(e){if(oh(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function az(e){oh(e);let t=e.length,n=-1,r=0,l=-1,s=0,u;for(;t--;){const f=e.codePointAt(t);if(f===47){if(u){r=t+1;break}continue}n<0&&(u=!0,n=t+1),f===46?l<0?l=t:s!==1&&(s=1):l>-1&&(s=-1)}return l<0||n<0||s===0||s===1&&l===n-1&&l===r+1?"":e.slice(l,n)}function lz(...e){let t=-1,n;for(;++t<e.length;)oh(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":oz(n)}function oz(e){oh(e);const t=e.codePointAt(0)===47;let n=sz(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function sz(e,t){let n="",r=0,l=-1,s=0,u=-1,f,g;for(;++u<=e.length;){if(u<e.length)f=e.codePointAt(u);else{if(f===47)break;f=47}if(f===47){if(!(l===u-1||s===1))if(l!==u-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(g=n.lastIndexOf("/"),g!==n.length-1){g<0?(n="",r=0):(n=n.slice(0,g),r=n.length-1-n.lastIndexOf("/")),l=u,s=0;continue}}else if(n.length>0){n="",r=0,l=u,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(l+1,u):n=e.slice(l+1,u),r=u-l-1;l=u,s=0}else f===46&&s>-1?s++:s=-1}return n}function oh(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const uz={cwd:cz};function cz(){return"/"}function wv(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function fz(e){if(typeof e=="string")e=new URL(e);else if(!wv(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return dz(e)}function dz(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const l=new TypeError("File URL path must not include encoded / characters");throw l.code="ERR_INVALID_FILE_URL_PATH",l}}return decodeURIComponent(t)}const Cv=["history","path","basename","stem","extname","dirname"];class IS{constructor(t){let n;t?wv(t)?n={path:t}:typeof t=="string"||hz(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":uz.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Cv.length;){const s=Cv[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let l;for(l in n)Cv.includes(l)||(this[l]=n[l])}get basename(){return typeof this.path=="string"?po.basename(this.path):void 0}set basename(t){Tv(t,"basename"),kv(t,"basename"),this.path=po.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?po.dirname(this.path):void 0}set dirname(t){zS(this.basename,"dirname"),this.path=po.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?po.extname(this.path):void 0}set extname(t){if(kv(t,"extname"),zS(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=po.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){wv(t)&&(t=fz(t)),Tv(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?po.basename(this.path,this.extname):void 0}set stem(t){Tv(t,"stem"),kv(t,"stem"),this.path=po.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const l=this.message(t,n,r);throw l.fatal=!0,l}info(t,n,r){const l=this.message(t,n,r);return l.fatal=void 0,l}message(t,n,r){const l=new ri(t,n,r);return this.path&&(l.name=this.path+":"+l.name,l.file=this.path),l.fatal=!1,this.messages.push(l),l}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function kv(e,t){if(e&&e.includes(po.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+po.sep+"`")}function Tv(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function zS(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function hz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const gz=(function(e){const r=this.constructor.prototype,l=r[e],s=function(){return l.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),pz={}.hasOwnProperty;class Ov extends gz{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=tz()}copy(){const t=new Ov;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(Av(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Pv("data",this.frozen),this.namespace[t]=n,this):pz.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Pv("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const l=n.call(t,...r);typeof l=="function"&&this.transformers.use(l)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=pp(t),r=this.parser||this.Parser;return _v("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),_v("process",this.parser||this.Parser),Rv("process",this.compiler||this.Compiler),n?l(void 0,n):new Promise(l);function l(s,u){const f=pp(t),g=r.parse(f);r.run(g,f,function(y,S,w){if(y||!S||!w)return b(y);const C=S,R=r.stringify(C,w);vz(R)?w.value=R:w.result=R,b(y,w)});function b(y,S){y||!S?u(y):s?s(S):n(void 0,S)}}}processSync(t){let n=!1,r;return this.freeze(),_v("processSync",this.parser||this.Parser),Rv("processSync",this.compiler||this.Compiler),this.process(t,l),DS("processSync","process",n),r;function l(s,u){n=!0,RS(s),r=u}}run(t,n,r){NS(t),this.freeze();const l=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(u,f){const g=pp(n);l.run(t,g,b);function b(y,S,w){const C=S||t;y?f(y):u?u(C):r(void 0,C,w)}}}runSync(t,n){let r=!1,l;return this.run(t,n,s),DS("runSync","run",r),l;function s(u,f){RS(u),l=f,r=!0}}stringify(t,n){this.freeze();const r=pp(n),l=this.compiler||this.Compiler;return Rv("stringify",l),NS(t),l(t,r)}use(t,...n){const r=this.attachers,l=this.namespace;if(Pv("use",this.frozen),t!=null)if(typeof t=="function")g(t,n);else if(typeof t=="object")Array.isArray(t)?f(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(b){if(typeof b=="function")g(b,[]);else if(typeof b=="object")if(Array.isArray(b)){const[y,...S]=b;g(y,S)}else u(b);else throw new TypeError("Expected usable value, not `"+b+"`")}function u(b){if(!("plugins"in b)&&!("settings"in b))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");f(b.plugins),b.settings&&(l.settings=Av(!0,l.settings,b.settings))}function f(b){let y=-1;if(b!=null)if(Array.isArray(b))for(;++y<b.length;){const S=b[y];s(S)}else throw new TypeError("Expected a list of plugins, not `"+b+"`")}function g(b,y){let S=-1,w=-1;for(;++S<r.length;)if(r[S][0]===b){w=S;break}if(w===-1)r.push([b,...y]);else if(y.length>0){let[C,...R]=y;const z=r[w][1];Ev(z)&&Ev(C)&&(C=Av(!0,z,C)),r[w]=[b,C,...R]}}}}const mz=new Ov().freeze();function _v(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Rv(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Pv(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function NS(e){if(!Ev(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function DS(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function pp(e){return bz(e)?e:new IS(e)}function bz(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function vz(e){return typeof e=="string"||yz(e)}function yz(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const xz="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",MS=[],LS={allowDangerousHtml:!0},Sz=/^(https?|ircs?|mailto|xmpp)$/i,Az=[{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 FS(e){const t=Ez(e),n=wz(e);return Cz(t.runSync(t.parse(n),n),e)}function Ez(e){const t=e.rehypePlugins||MS,n=e.remarkPlugins||MS,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...LS}:LS;return mz().use(i6).use(n).use(q6,r).use(t)}function wz(e){const t=e.children||"",n=new IS;return typeof t=="string"&&(n.value=t),n}function Cz(e,t){const n=t.allowedElements,r=t.allowElement,l=t.components,s=t.disallowedElements,u=t.skipHtml,f=t.unwrapDisallowed,g=t.urlTransform||kz;for(const y of Az)Object.hasOwn(t,y.from)&&(""+y.from+(y.to?"use `"+y.to+"` instead":"remove it")+xz+y.id,void 0);return yv(e,b),J4(e,{Fragment:$.Fragment,components:l,ignoreInvalidStyle:!0,jsx:$.jsx,jsxs:$.jsxs,passKeys:!0,passNode:!0});function b(y,S,w){if(y.type==="raw"&&w&&typeof S=="number")return u?w.children.splice(S,1):w.children[S]={type:"text",value:y.value},S;if(y.type==="element"){let C;for(C in lv)if(Object.hasOwn(lv,C)&&Object.hasOwn(y.properties,C)){const R=y.properties[C],z=lv[C];(z===null||z.includes(y.tagName))&&(y.properties[C]=g(String(R||""),C,y))}}if(y.type==="element"){let C=n?!n.includes(y.tagName):s?s.includes(y.tagName):!1;if(!C&&r&&typeof S=="number"&&(C=!r(y,S,w)),C&&w&&typeof S=="number")return f&&y.children?w.children.splice(S,1,...y.children):w.children.splice(S,1),S}}}function kz(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),l=e.indexOf("/");return t===-1||l!==-1&&t>l||n!==-1&&t>n||r!==-1&&t>r||Sz.test(e.slice(0,t))?e:""}const Tz="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==",Oz=({message:e,type:t="default"})=>{const n=t==="loading",{botData:r}=ho();return $.jsxs(wt,{position:"relative",width:"full",children:[$.jsx(wt,{opacity:"0",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:$.jsx(zr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})}),$.jsx(wt,{h:"42px"}),$.jsx(wt,{position:"absolute",left:0,bottom:0,children:$.jsx(gl,{src:r?.agent_image||Tz,alt:"Mori",w:"20px",h:"20px",borderRadius:"50%"})}),$.jsx(wt,{position:"absolute",left:"18px",bottom:"18px",width:"6.4px",height:"6.4px",bg:"#EDEDED",borderRadius:"100%"}),$.jsx(wt,{position:"absolute",left:"23px",bottom:"23px",width:"13px",height:"13px",bg:"#EDEDED",borderRadius:"100%"}),$.jsx(wt,{position:"absolute",left:"29px",bottom:"29px",bg:"#EDEDED",borderRadius:"20px",padding:"12px",children:n?$.jsx(zr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"gray.500",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e}):$.jsx(zr,{fontWeight:400,fontSize:"12px",lineHeight:"18px",textAlign:"right",color:"black",fontFamily:"Estedad-FD, system-ui, sans-serif",children:e})})]})},_z=Ae.forwardRef(function(t,n){const{templateAreas:r,column:l,row:s,autoFlow:u,autoRows:f,templateRows:g,autoColumns:b,templateColumns:y,inline:S,...w}=t;return $.jsx(Wa.div,{...w,ref:n,css:[{display:S?"inline-grid":"grid",gridTemplateAreas:r,gridAutoColumns:b,gridColumn:l,gridRow:s,gridAutoFlow:u,gridAutoRows:f,gridTemplateRows:g,gridTemplateColumns:y},t.css]})}),Rz=Ae.forwardRef(function(t,n){const{columns:r,minChildWidth:l,...s}=t,u=Vd(),f=l?Iz(l,u):zz(r);return $.jsx(_z,{ref:n,templateColumns:f,...s})});function Pz(e){return typeof e=="number"?`${e}px`:e}function Iz(e,t){return np(e,n=>{const r=t.tokens.getVar(`sizes.${n}`,Pz(n));return n===null?null:`repeat(auto-fit, minmax(${r}, 1fr))`})}function zz(e){return np(e,t=>t===null?null:`repeat(${t}, minmax(0, 1fr))`)}const{withContext:Nz}=of({key:"badge"}),Dz=Nz("span"),Mz="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",Lz="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",Fz=e=>{const t="dori",n="dori_pdp_widget",r="dori_product_recommendation",l=e.includes("?")?"&":"?";return`${e}${l}utm_source=${t}&utm_medium=${n}&utm_campaign=${r}`},Vz=(e,t)=>{const n="customer_referral",r="widget",l="powered_by",s=e.includes("?")?"&":"?";return`${e}${s}utm_source=${n}&utm_medium=${r}&utm_campaign=${l}&utm_term=${t}`},Bz=({product:e})=>{const{sendMessage:t,setRepliedProduct:n,botData:r,chatState:l}=ho(),{name:s,id:u,url:f}=e,g=()=>{const S=`Do you have similar to ${s}`,w=`Do you have similar to ${u}`;t({message:S,apiMessage:w})},b=()=>{n({product:e,suggestions:["Does this product have a discount?","What features make this product special?","Does it come in other colors?"]})},y=async()=>{if(!f||!r)return;const S=Fz(f);window.open(S,"_blank","noopener,noreferrer"),KP(e,r,l.threadId)};return $.jsxs(Ni,{align:"stretch",gap:1,w:"full",children:[$.jsx(wt,{bg:"white",borderRadius:"14px",border:"1px solid #F0EEFE",p:1.5,w:"full",children:$.jsxs(ia,{gap:1.5,align:"stretch",w:"full",children:[$.jsx(wt,{flexShrink:0,cursor:"pointer",onClick:y,_hover:{opacity:.9},transition:"opacity 0.2s",children:$.jsx(gl,{src:e.image,alt:e.name,w:"60px",h:"60px",objectFit:"contain",borderRadius:"md"})}),$.jsxs(Ni,{gap:.5,align:"start",justifyContent:"center",children:[$.jsx(zr,{fontWeight:600,fontSize:"10px",lineHeight:"20px",textAlign:"start",color:"#1A1A1A",maxW:"100%",title:e.name,cursor:"pointer",onClick:y,_hover:{color:"#6155F5"},transition:"color 0.2s",children:e.name}),$.jsxs(ia,{gap:.75,align:"center",children:[e.discount&&$.jsxs($.Fragment,{children:[$.jsx(zr,{fontSize:"xs",color:"gray.400",textDecoration:"line-through",children:e.originalPrice?.toLocaleString()}),$.jsxs(Dz,{bg:"rgba(255, 56, 60, 0.14)",color:"#FF383C",fontSize:"xs",borderRadius:"20px",children:[e.discount,"٪"]})]}),$.jsxs(zr,{fontSize:"10px",fontWeight:"700",color:"black",children:[e.price.toLocaleString()," USD"]})]})]})]})},e.id),$.jsxs(ia,{gap:.5,w:"full",children:[$.jsx(Jd,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"0px",textAlign:"right",color:"#6155F5",borderColor:"#F0EEFE",borderRadius:"3px",borderWidth:"2px",onClick:b,"aria-label":"Reply",children:$.jsx(gl,{src:Mz,alt:"reply"})}),$.jsxs(sf,{variant:"outline",size:"xs",fontSize:"10px",lineHeight:"4px",textAlign:"right",color:"#6155F5",borderRadius:"3px",flex:1,fontWeight:400,onClick:g,bgColor:"#F0EEFE",children:[$.jsx(gl,{width:4,height:4,src:Lz,alt:"suggestion"}),"Similar Suggestion"]})]})]})},VS=({products:e})=>$.jsx(Ni,{align:"stretch",gap:1.5,w:"full",children:$.jsx(wt,{px:.75,w:"full",children:$.jsx(Rz,{dir:"ltr",columns:{base:1,md:2},gapX:{base:.75,md:1.5},gapY:{base:1.5,md:3},w:"full",children:e.map(t=>$.jsx(Bz,{product:t},t.id))})})}),Hz=({suggestions:e})=>{const{sendMessage:t}=ho(),n=r=>{t({message:r})};return $.jsx(ia,{gap:1.5,wrap:"wrap",children:e.slice(0,3).map((r,l)=>$.jsx(sf,{bg:l%2===0?"white":"#F5F5F5",border:"1px solid #EDEDED",borderRadius:"20px",px:3,py:1.5,h:"auto",onClick:()=>n(r),_hover:{bg:"#F5F5F5",borderColor:"#6155F5"},_active:{bg:"#F0F0F0"},textAlign:"center",justifyContent:"center",children:$.jsx(zr,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",textAlign:"center",wordBreak:"break-word",whiteSpace:"normal",children:r})},l))})};function BS(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,l=n.indexOf(t);for(;l!==-1;)r++,l=n.indexOf(t,l+t.length);return r}function Wz(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Gz(e,t,n){const l=hp((n||{}).ignore||[]),s=Uz(t);let u=-1;for(;++u<s.length;)TS(e,"text",f);function f(b,y){let S=-1,w;for(;++S<y.length;){const C=y[S],R=w?w.children:void 0;if(l(C,R?R.indexOf(C):void 0,w))return;w=C}if(w)return g(b,y)}function g(b,y){const S=y[y.length-1],w=s[u][0],C=s[u][1];let R=0;const B=S.children.indexOf(b);let V=!1,W=[];w.lastIndex=0;let H=w.exec(b.value);for(;H;){const te=H.index,U={index:H.index,input:H.input,stack:[...y,b]};let K=C(...H,U);if(typeof K=="string"&&(K=K.length>0?{type:"text",value:K}:void 0),K===!1?w.lastIndex=te+1:(R!==te&&W.push({type:"text",value:b.value.slice(R,te)}),Array.isArray(K)?W.push(...K):K&&W.push(K),R=te+H[0].length,V=!0),!w.global)break;H=w.exec(b.value)}return V?(R<b.value.length&&W.push({type:"text",value:b.value.slice(R)}),S.children.splice(B,1,...W)):W=[b],B+W.length}}function Uz(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const l=n[r];t.push([Yz(l[0]),Xz(l[1])])}return t}function Yz(e){return typeof e=="string"?new RegExp(Wz(e),"g"):e}function Xz(e){return typeof e=="function"?e:function(){return e}}const Iv="phrasing",zv=["autolink","link","image","label"];function Zz(){return{transforms:[eN],enter:{literalAutolink:jz,literalAutolinkEmail:Nv,literalAutolinkHttp:Nv,literalAutolinkWww:Nv},exit:{literalAutolink:$z,literalAutolinkEmail:qz,literalAutolinkHttp:Jz,literalAutolinkWww:Qz}}}function Kz(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Iv,notInConstruct:zv},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Iv,notInConstruct:zv},{character:":",before:"[ps]",after:"\\/",inConstruct:Iv,notInConstruct:zv}]}}function jz(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Nv(e){this.config.enter.autolinkProtocol.call(this,e)}function Jz(e){this.config.exit.autolinkProtocol.call(this,e)}function Qz(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function qz(e){this.config.exit.autolinkEmail.call(this,e)}function $z(e){this.exit(e)}function eN(e){Gz(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,tN],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),nN]],{ignore:["link","linkReference"]})}function tN(e,t,n,r,l){let s="";if(!HS(l)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!rN(n)))return!1;const u=iN(n+r);if(!u[0])return!1;const f={type:"link",title:null,url:s+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[f,{type:"text",value:u[1]}]:f}function nN(e,t,n,r){return!HS(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function rN(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function iN(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const l=BS(e,"(");let s=BS(e,")");for(;r!==-1&&l>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function HS(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Zu(n)||ap(n))&&(!t||n!==47)}WS.peek=hN;function aN(){this.buffer()}function lN(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function oN(){this.buffer()}function sN(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function uN(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=pl(this.sliceSerialize(e)).toLowerCase(),n.label=t}function cN(e){this.exit(e)}function fN(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=pl(this.sliceSerialize(e)).toLowerCase(),n.label=t}function dN(e){this.exit(e)}function hN(){return"["}function WS(e,t,n,r){const l=n.createTracker(r);let s=l.move("[^");const u=n.enter("footnoteReference"),f=n.enter("reference");return s+=l.move(n.safe(n.associationId(e),{after:"]",before:s})),f(),u(),s+=l.move("]"),s}function gN(){return{enter:{gfmFootnoteCallString:aN,gfmFootnoteCall:lN,gfmFootnoteDefinitionLabelString:oN,gfmFootnoteDefinition:sN},exit:{gfmFootnoteCallString:uN,gfmFootnoteCall:cN,gfmFootnoteDefinitionLabelString:fN,gfmFootnoteDefinition:dN}}}function pN(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:WS},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,l,s,u){const f=s.createTracker(u);let g=f.move("[^");const b=s.enter("footnoteDefinition"),y=s.enter("label");return g+=f.move(s.safe(s.associationId(r),{before:g,after:"]"})),y(),g+=f.move("]:"),r.children&&r.children.length>0&&(f.shift(4),g+=f.move((t?`
84
+ `:" ")+s.indentLines(s.containerFlow(r,f.current()),t?GS:mN))),b(),g}}function mN(e,t,n){return t===0?e:GS(e,t,n)}function GS(e,t,n){return(n?"":" ")+e}const bN=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];US.peek=AN;function vN(){return{canContainEols:["delete"],enter:{strikethrough:xN},exit:{strikethrough:SN}}}function yN(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:bN}],handlers:{delete:US}}}function xN(e){this.enter({type:"delete",children:[]},e)}function SN(e){this.exit(e)}function US(e,t,n,r){const l=n.createTracker(r),s=n.enter("strikethrough");let u=l.move("~~");return u+=n.containerPhrasing(e,{...l.current(),before:u,after:"~"}),u+=l.move("~~"),s(),u}function AN(){return"~"}function EN(e){return e.length}function wN(e,t){const n=t||{},r=(n.align||[]).concat(),l=n.stringLength||EN,s=[],u=[],f=[],g=[];let b=0,y=-1;for(;++y<e.length;){const z=[],B=[];let V=-1;for(e[y].length>b&&(b=e[y].length);++V<e[y].length;){const W=CN(e[y][V]);if(n.alignDelimiters!==!1){const H=l(W);B[V]=H,(g[V]===void 0||H>g[V])&&(g[V]=H)}z.push(W)}u[y]=z,f[y]=B}let S=-1;if(typeof r=="object"&&"length"in r)for(;++S<b;)s[S]=YS(r[S]);else{const z=YS(r);for(;++S<b;)s[S]=z}S=-1;const w=[],C=[];for(;++S<b;){const z=s[S];let B="",V="";z===99?(B=":",V=":"):z===108?B=":":z===114&&(V=":");let W=n.alignDelimiters===!1?1:Math.max(1,g[S]-B.length-V.length);const H=B+"-".repeat(W)+V;n.alignDelimiters!==!1&&(W=B.length+W+V.length,W>g[S]&&(g[S]=W),C[S]=W),w[S]=H}u.splice(1,0,w),f.splice(1,0,C),y=-1;const R=[];for(;++y<u.length;){const z=u[y],B=f[y];S=-1;const V=[];for(;++S<b;){const W=z[S]||"";let H="",te="";if(n.alignDelimiters!==!1){const U=g[S]-(B[S]||0),K=s[S];K===114?H=" ".repeat(U):K===99?U%2?(H=" ".repeat(U/2+.5),te=" ".repeat(U/2-.5)):(H=" ".repeat(U/2),te=H):te=" ".repeat(U)}n.delimiterStart!==!1&&!S&&V.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&W==="")&&(n.delimiterStart!==!1||S)&&V.push(" "),n.alignDelimiters!==!1&&V.push(H),V.push(W),n.alignDelimiters!==!1&&V.push(te),n.padding!==!1&&V.push(" "),(n.delimiterEnd!==!1||S!==b-1)&&V.push("|")}R.push(n.delimiterEnd===!1?V.join("").replace(/ +$/,""):V.join(""))}return R.join(`
85
+ `)}function CN(e){return e==null?"":String(e)}function YS(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function kN(e,t,n,r){const l=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const u=n.indentLines(n.containerFlow(e,s.current()),TN);return l(),u}function TN(e,t,n){return">"+(n?"":" ")+e}function ON(e,t){return XS(e,t.inConstruct,!0)&&!XS(e,t.notInConstruct,!1)}function XS(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function ZS(e,t,n,r){let l=-1;for(;++l<n.unsafe.length;)if(n.unsafe[l].character===`
86
+ `&&ON(n.stack,n.unsafe[l]))return/[ \t]/.test(r.before)?"":" ";return`\\
87
+ `}function _N(e,t){const n=String(e);let r=n.indexOf(t),l=r,s=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===l?++s>u&&(u=s):s=1,l=r+t.length,r=n.indexOf(t,l);return u}function RN(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function PN(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function IN(e,t,n,r){const l=PN(n),s=e.value||"",u=l==="`"?"GraveAccent":"Tilde";if(RN(e,n)){const S=n.enter("codeIndented"),w=n.indentLines(s,zN);return S(),w}const f=n.createTracker(r),g=l.repeat(Math.max(_N(s,l)+1,3)),b=n.enter("codeFenced");let y=f.move(g);if(e.lang){const S=n.enter(`codeFencedLang${u}`);y+=f.move(n.safe(e.lang,{before:y,after:" ",encode:["`"],...f.current()})),S()}if(e.lang&&e.meta){const S=n.enter(`codeFencedMeta${u}`);y+=f.move(" "),y+=f.move(n.safe(e.meta,{before:y,after:`
88
+ `,encode:["`"],...f.current()})),S()}return y+=f.move(`
89
+ `),s&&(y+=f.move(s+`
90
+ `)),y+=f.move(g),b(),y}function zN(e,t,n){return(n?"":" ")+e}function Dv(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function NN(e,t,n,r){const l=Dv(n),s=l==='"'?"Quote":"Apostrophe",u=n.enter("definition");let f=n.enter("label");const g=n.createTracker(r);let b=g.move("[");return b+=g.move(n.safe(n.associationId(e),{before:b,after:"]",...g.current()})),b+=g.move("]: "),f(),!e.url||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),b+=g.move("<"),b+=g.move(n.safe(e.url,{before:b,after:">",...g.current()})),b+=g.move(">")):(f=n.enter("destinationRaw"),b+=g.move(n.safe(e.url,{before:b,after:e.title?" ":`
91
+ `,...g.current()}))),f(),e.title&&(f=n.enter(`title${s}`),b+=g.move(" "+l),b+=g.move(n.safe(e.title,{before:b,after:l,...g.current()})),b+=g.move(l),f()),u(),b}function DN(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function sh(e){return"&#x"+e.toString(16).toUpperCase()+";"}function mp(e,t,n){const r=hf(e),l=hf(t);return r===void 0?l===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:l===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?l===void 0?{inside:!1,outside:!1}:l===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:l===void 0?{inside:!1,outside:!1}:l===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}KS.peek=MN;function KS(e,t,n,r){const l=DN(n),s=n.enter("emphasis"),u=n.createTracker(r),f=u.move(l);let g=u.move(n.containerPhrasing(e,{after:l,before:f,...u.current()}));const b=g.charCodeAt(0),y=mp(r.before.charCodeAt(r.before.length-1),b,l);y.inside&&(g=sh(b)+g.slice(1));const S=g.charCodeAt(g.length-1),w=mp(r.after.charCodeAt(0),S,l);w.inside&&(g=g.slice(0,-1)+sh(S));const C=u.move(l);return s(),n.attentionEncodeSurroundingInfo={after:w.outside,before:y.outside},f+g+C}function MN(e,t,n){return n.options.emphasis||"*"}function LN(e,t){let n=!1;return yv(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,vv}),!!((!e.depth||e.depth<3)&&ov(e)&&(t.options.setext||n))}function FN(e,t,n,r){const l=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(LN(e,n)){const y=n.enter("headingSetext"),S=n.enter("phrasing"),w=n.containerPhrasing(e,{...s.current(),before:`
92
+ `,after:`
93
+ `});return S(),y(),w+`
94
+ `+(l===1?"=":"-").repeat(w.length-(Math.max(w.lastIndexOf("\r"),w.lastIndexOf(`
95
+ `))+1))}const u="#".repeat(l),f=n.enter("headingAtx"),g=n.enter("phrasing");s.move(u+" ");let b=n.containerPhrasing(e,{before:"# ",after:`
96
+ `,...s.current()});return/^[\t ]/.test(b)&&(b=sh(b.charCodeAt(0))+b.slice(1)),b=b?u+" "+b:u,n.options.closeAtx&&(b+=" "+u),g(),f(),b}jS.peek=VN;function jS(e){return e.value||""}function VN(){return"<"}JS.peek=BN;function JS(e,t,n,r){const l=Dv(n),s=l==='"'?"Quote":"Apostrophe",u=n.enter("image");let f=n.enter("label");const g=n.createTracker(r);let b=g.move("![");return b+=g.move(n.safe(e.alt,{before:b,after:"]",...g.current()})),b+=g.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),b+=g.move("<"),b+=g.move(n.safe(e.url,{before:b,after:">",...g.current()})),b+=g.move(">")):(f=n.enter("destinationRaw"),b+=g.move(n.safe(e.url,{before:b,after:e.title?" ":")",...g.current()}))),f(),e.title&&(f=n.enter(`title${s}`),b+=g.move(" "+l),b+=g.move(n.safe(e.title,{before:b,after:l,...g.current()})),b+=g.move(l),f()),b+=g.move(")"),u(),b}function BN(){return"!"}QS.peek=HN;function QS(e,t,n,r){const l=e.referenceType,s=n.enter("imageReference");let u=n.enter("label");const f=n.createTracker(r);let g=f.move("![");const b=n.safe(e.alt,{before:g,after:"]",...f.current()});g+=f.move(b+"]["),u();const y=n.stack;n.stack=[],u=n.enter("reference");const S=n.safe(n.associationId(e),{before:g,after:"]",...f.current()});return u(),n.stack=y,s(),l==="full"||!b||b!==S?g+=f.move(S+"]"):l==="shortcut"?g=g.slice(0,-1):g+=f.move("]"),g}function HN(){return"!"}qS.peek=WN;function qS(e,t,n){let r=e.value||"",l="`",s=-1;for(;new RegExp("(^|[^`])"+l+"([^`]|$)").test(r);)l+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const u=n.unsafe[s],f=n.compilePattern(u);let g;if(u.atBreak)for(;g=f.exec(r);){let b=g.index;r.charCodeAt(b)===10&&r.charCodeAt(b-1)===13&&b--,r=r.slice(0,b)+" "+r.slice(g.index+1)}}return l+r+l}function WN(){return"`"}function $S(e,t){const n=ov(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}eA.peek=GN;function eA(e,t,n,r){const l=Dv(n),s=l==='"'?"Quote":"Apostrophe",u=n.createTracker(r);let f,g;if($S(e,n)){const y=n.stack;n.stack=[],f=n.enter("autolink");let S=u.move("<");return S+=u.move(n.containerPhrasing(e,{before:S,after:">",...u.current()})),S+=u.move(">"),f(),n.stack=y,S}f=n.enter("link"),g=n.enter("label");let b=u.move("[");return b+=u.move(n.containerPhrasing(e,{before:b,after:"](",...u.current()})),b+=u.move("]("),g(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(g=n.enter("destinationLiteral"),b+=u.move("<"),b+=u.move(n.safe(e.url,{before:b,after:">",...u.current()})),b+=u.move(">")):(g=n.enter("destinationRaw"),b+=u.move(n.safe(e.url,{before:b,after:e.title?" ":")",...u.current()}))),g(),e.title&&(g=n.enter(`title${s}`),b+=u.move(" "+l),b+=u.move(n.safe(e.title,{before:b,after:l,...u.current()})),b+=u.move(l),g()),b+=u.move(")"),f(),b}function GN(e,t,n){return $S(e,n)?"<":"["}tA.peek=UN;function tA(e,t,n,r){const l=e.referenceType,s=n.enter("linkReference");let u=n.enter("label");const f=n.createTracker(r);let g=f.move("[");const b=n.containerPhrasing(e,{before:g,after:"]",...f.current()});g+=f.move(b+"]["),u();const y=n.stack;n.stack=[],u=n.enter("reference");const S=n.safe(n.associationId(e),{before:g,after:"]",...f.current()});return u(),n.stack=y,s(),l==="full"||!b||b!==S?g+=f.move(S+"]"):l==="shortcut"?g=g.slice(0,-1):g+=f.move("]"),g}function UN(){return"["}function Mv(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function YN(e){const t=Mv(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function XN(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function nA(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function ZN(e,t,n,r){const l=n.enter("list"),s=n.bulletCurrent;let u=e.ordered?XN(n):Mv(n);const f=e.ordered?u==="."?")":".":YN(n);let g=t&&n.bulletLastUsed?u===n.bulletLastUsed:!1;if(!e.ordered){const y=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&y&&(!y.children||!y.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(g=!0),nA(n)===u&&y){let S=-1;for(;++S<e.children.length;){const w=e.children[S];if(w&&w.type==="listItem"&&w.children&&w.children[0]&&w.children[0].type==="thematicBreak"){g=!0;break}}}}g&&(u=f),n.bulletCurrent=u;const b=n.containerFlow(e,r);return n.bulletLastUsed=u,n.bulletCurrent=s,l(),b}function KN(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function jN(e,t,n,r){const l=KN(n);let s=n.bulletCurrent||Mv(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let u=s.length+1;(l==="tab"||l==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const f=n.createTracker(r);f.move(s+" ".repeat(u-s.length)),f.shift(u);const g=n.enter("listItem"),b=n.indentLines(n.containerFlow(e,f.current()),y);return g(),b;function y(S,w,C){return w?(C?"":" ".repeat(u))+S:(C?s:s+" ".repeat(u-s.length))+S}}function JN(e,t,n,r){const l=n.enter("paragraph"),s=n.enter("phrasing"),u=n.containerPhrasing(e,r);return s(),l(),u}const QN=hp(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function qN(e,t,n,r){return(e.children.some(function(u){return QN(u)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function $N(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}rA.peek=e8;function rA(e,t,n,r){const l=$N(n),s=n.enter("strong"),u=n.createTracker(r),f=u.move(l+l);let g=u.move(n.containerPhrasing(e,{after:l,before:f,...u.current()}));const b=g.charCodeAt(0),y=mp(r.before.charCodeAt(r.before.length-1),b,l);y.inside&&(g=sh(b)+g.slice(1));const S=g.charCodeAt(g.length-1),w=mp(r.after.charCodeAt(0),S,l);w.inside&&(g=g.slice(0,-1)+sh(S));const C=u.move(l+l);return s(),n.attentionEncodeSurroundingInfo={after:w.outside,before:y.outside},f+g+C}function e8(e,t,n){return n.options.strong||"*"}function t8(e,t,n,r){return n.safe(e.value,r)}function n8(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function r8(e,t,n){const r=(nA(n)+(n.options.ruleSpaces?" ":"")).repeat(n8(n));return n.options.ruleSpaces?r.slice(0,-1):r}const iA={blockquote:kN,break:ZS,code:IN,definition:NN,emphasis:KS,hardBreak:ZS,heading:FN,html:jS,image:JS,imageReference:QS,inlineCode:qS,link:eA,linkReference:tA,list:ZN,listItem:jN,paragraph:JN,root:qN,strong:rA,text:t8,thematicBreak:r8};function i8(){return{enter:{table:a8,tableData:aA,tableHeader:aA,tableRow:o8},exit:{codeText:s8,table:l8,tableData:Lv,tableHeader:Lv,tableRow:Lv}}}function a8(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function l8(e){this.exit(e),this.data.inTable=void 0}function o8(e){this.enter({type:"tableRow",children:[]},e)}function Lv(e){this.exit(e)}function aA(e){this.enter({type:"tableCell",children:[]},e)}function s8(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,u8));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function u8(e,t){return t==="|"?t:e}function c8(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,l=t.stringLength,s=n?" ":"|";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:w,table:u,tableCell:g,tableRow:f}};function u(C,R,z,B){return b(y(C,z,B),C.align)}function f(C,R,z,B){const V=S(C,z,B),W=b([V]);return W.slice(0,W.indexOf(`
98
+ `))}function g(C,R,z,B){const V=z.enter("tableCell"),W=z.enter("phrasing"),H=z.containerPhrasing(C,{...B,before:s,after:s});return W(),V(),H}function b(C,R){return wN(C,{align:R,alignDelimiters:r,padding:n,stringLength:l})}function y(C,R,z){const B=C.children;let V=-1;const W=[],H=R.enter("table");for(;++V<B.length;)W[V]=S(B[V],R,z);return H(),W}function S(C,R,z){const B=C.children;let V=-1;const W=[],H=R.enter("tableRow");for(;++V<B.length;)W[V]=g(B[V],C,R,z);return H(),W}function w(C,R,z){let B=iA.inlineCode(C,R,z);return z.stack.includes("tableCell")&&(B=B.replace(/\|/g,"\\$&")),B}}function f8(){return{exit:{taskListCheckValueChecked:lA,taskListCheckValueUnchecked:lA,paragraph:h8}}}function d8(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:g8}}}function lA(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function h8(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type==="text"){const l=t.children;let s=-1,u;for(;++s<l.length;){const f=l[s];if(f.type==="paragraph"){u=f;break}}u===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function g8(e,t,n,r){const l=e.children[0],s=typeof e.checked=="boolean"&&l&&l.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",f=n.createTracker(r);s&&f.move(u);let g=iA.listItem(e,t,n,{...r,...f.current()});return s&&(g=g.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,b)),g;function b(y){return y+u}}function p8(){return[Zz(),gN(),vN(),i8(),f8()]}function m8(e){return{extensions:[Kz(),pN(e),yN(),c8(e),d8()]}}const b8={tokenize:E8,partial:!0},oA={tokenize:w8,partial:!0},sA={tokenize:C8,partial:!0},uA={tokenize:k8,partial:!0},v8={tokenize:T8,partial:!0},cA={name:"wwwAutolink",tokenize:S8,previous:dA},fA={name:"protocolAutolink",tokenize:A8,previous:hA},jo={name:"emailAutolink",tokenize:x8,previous:gA},mo={};function y8(){return{text:mo}}let Ku=48;for(;Ku<123;)mo[Ku]=jo,Ku++,Ku===58?Ku=65:Ku===91&&(Ku=97);mo[43]=jo,mo[45]=jo,mo[46]=jo,mo[95]=jo,mo[72]=[jo,fA],mo[104]=[jo,fA],mo[87]=[jo,cA],mo[119]=[jo,cA];function x8(e,t,n){const r=this;let l,s;return u;function u(S){return!Fv(S)||!gA.call(r,r.previous)||Vv(r.events)?n(S):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),f(S))}function f(S){return Fv(S)?(e.consume(S),f):S===64?(e.consume(S),g):n(S)}function g(S){return S===46?e.check(v8,y,b)(S):S===45||S===95||ii(S)?(s=!0,e.consume(S),g):y(S)}function b(S){return e.consume(S),l=!0,g}function y(S){return s&&l&&bi(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(S)):n(S)}}function S8(e,t,n){const r=this;return l;function l(u){return u!==87&&u!==119||!dA.call(r,r.previous)||Vv(r.events)?n(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(b8,e.attempt(oA,e.attempt(sA,s),n),n)(u))}function s(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function A8(e,t,n){const r=this;let l="",s=!1;return u;function u(S){return(S===72||S===104)&&hA.call(r,r.previous)&&!Vv(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),l+=String.fromCodePoint(S),e.consume(S),f):n(S)}function f(S){if(bi(S)&&l.length<5)return l+=String.fromCodePoint(S),e.consume(S),f;if(S===58){const w=l.toLowerCase();if(w==="http"||w==="https")return e.consume(S),g}return n(S)}function g(S){return S===47?(e.consume(S),s?b:(s=!0,g)):n(S)}function b(S){return S===null||ip(S)||fn(S)||Zu(S)||ap(S)?n(S):e.attempt(oA,e.attempt(sA,y),n)(S)}function y(S){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(S)}}function E8(e,t,n){let r=0;return l;function l(u){return(u===87||u===119)&&r<3?(r++,e.consume(u),l):u===46&&r===3?(e.consume(u),s):n(u)}function s(u){return u===null?n(u):t(u)}}function w8(e,t,n){let r,l,s;return u;function u(b){return b===46||b===95?e.check(uA,g,f)(b):b===null||fn(b)||Zu(b)||b!==45&&ap(b)?g(b):(s=!0,e.consume(b),u)}function f(b){return b===95?r=!0:(l=r,r=void 0),e.consume(b),u}function g(b){return l||r||!s?n(b):t(b)}}function C8(e,t){let n=0,r=0;return l;function l(u){return u===40?(n++,e.consume(u),l):u===41&&r<n?s(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(uA,t,s)(u):u===null||fn(u)||Zu(u)?t(u):(e.consume(u),l)}function s(u){return u===41&&r++,e.consume(u),l}}function k8(e,t,n){return r;function r(f){return f===33||f===34||f===39||f===41||f===42||f===44||f===46||f===58||f===59||f===63||f===95||f===126?(e.consume(f),r):f===38?(e.consume(f),s):f===93?(e.consume(f),l):f===60||f===null||fn(f)||Zu(f)?t(f):n(f)}function l(f){return f===null||f===40||f===91||fn(f)||Zu(f)?t(f):r(f)}function s(f){return bi(f)?u(f):n(f)}function u(f){return f===59?(e.consume(f),r):bi(f)?(e.consume(f),u):n(f)}}function T8(e,t,n){return r;function r(s){return e.consume(s),l}function l(s){return ii(s)?n(s):t(s)}}function dA(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||fn(e)}function hA(e){return!bi(e)}function gA(e){return!(e===47||Fv(e))}function Fv(e){return e===43||e===45||e===46||e===95||ii(e)}function Vv(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const O8={tokenize:M8,partial:!0};function _8(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:z8,continuation:{tokenize:N8},exit:D8}},text:{91:{name:"gfmFootnoteCall",tokenize:I8},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:R8,resolveTo:P8}}}}function R8(e,t,n){const r=this;let l=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u;for(;l--;){const g=r.events[l][1];if(g.type==="labelImage"){u=g;break}if(g.type==="gfmFootnoteCall"||g.type==="labelLink"||g.type==="label"||g.type==="image"||g.type==="link")break}return f;function f(g){if(!u||!u._balanced)return n(g);const b=pl(r.sliceSerialize({start:u.end,end:r.now()}));return b.codePointAt(0)!==94||!s.includes(b.slice(1))?n(g):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(g),e.exit("gfmFootnoteCallLabelMarker"),t(g))}}function P8(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},l={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};l.end.column++,l.end.offset++,l.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},l.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},f=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",l,t],["exit",l,t],["enter",s,t],["enter",u,t],["exit",u,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...f),e}function I8(e,t,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,u;return f;function f(S){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),g}function g(S){return S!==94?n(S):(e.enter("gfmFootnoteCallMarker"),e.consume(S),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",b)}function b(S){if(s>999||S===93&&!u||S===null||S===91||fn(S))return n(S);if(S===93){e.exit("chunkString");const w=e.exit("gfmFootnoteCallString");return l.includes(pl(r.sliceSerialize(w)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(S),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(S)}return fn(S)||(u=!0),s++,e.consume(S),S===92?y:b}function y(S){return S===91||S===92||S===93?(e.consume(S),s++,b):b(S)}}function z8(e,t,n){const r=this,l=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,u=0,f;return g;function g(R){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),b}function b(R){return R===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",y):n(R)}function y(R){if(u>999||R===93&&!f||R===null||R===91||fn(R))return n(R);if(R===93){e.exit("chunkString");const z=e.exit("gfmFootnoteDefinitionLabelString");return s=pl(r.sliceSerialize(z)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),w}return fn(R)||(f=!0),u++,e.consume(R),R===92?S:y}function S(R){return R===91||R===92||R===93?(e.consume(R),u++,y):y(R)}function w(R){return R===58?(e.enter("definitionMarker"),e.consume(R),e.exit("definitionMarker"),l.includes(s)||l.push(s),It(e,C,"gfmFootnoteDefinitionWhitespace")):n(R)}function C(R){return t(R)}}function N8(e,t,n){return e.check(nh,t,e.attempt(O8,t,n))}function D8(e){e.exit("gfmFootnoteDefinition")}function M8(e,t,n){const r=this;return It(e,l,"gfmFootnoteDefinitionIndent",5);function l(s){const u=r.events[r.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(s):n(s)}}function L8(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:l};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function l(u,f){let g=-1;for(;++g<u.length;)if(u[g][0]==="enter"&&u[g][1].type==="strikethroughSequenceTemporary"&&u[g][1]._close){let b=g;for(;b--;)if(u[b][0]==="exit"&&u[b][1].type==="strikethroughSequenceTemporary"&&u[b][1]._open&&u[g][1].end.offset-u[g][1].start.offset===u[b][1].end.offset-u[b][1].start.offset){u[g][1].type="strikethroughSequence",u[b][1].type="strikethroughSequence";const y={type:"strikethrough",start:Object.assign({},u[b][1].start),end:Object.assign({},u[g][1].end)},S={type:"strikethroughText",start:Object.assign({},u[b][1].end),end:Object.assign({},u[g][1].start)},w=[["enter",y,f],["enter",u[b][1],f],["exit",u[b][1],f],["enter",S,f]],C=f.parser.constructs.insideSpan.null;C&&la(w,w.length,0,lp(C,u.slice(b+1,g),f)),la(w,w.length,0,[["exit",S,f],["enter",u[g][1],f],["exit",u[g][1],f],["exit",y,f]]),la(u,b-1,g-b+3,w),g=b+w.length-2;break}}for(g=-1;++g<u.length;)u[g][1].type==="strikethroughSequenceTemporary"&&(u[g][1].type="data");return u}function s(u,f,g){const b=this.previous,y=this.events;let S=0;return w;function w(R){return b===126&&y[y.length-1][1].type!=="characterEscape"?g(R):(u.enter("strikethroughSequenceTemporary"),C(R))}function C(R){const z=hf(b);if(R===126)return S>1?g(R):(u.consume(R),S++,C);if(S<2&&!n)return g(R);const B=u.exit("strikethroughSequenceTemporary"),V=hf(R);return B._open=!V||V===2&&!!z,B._close=!z||z===2&&!!V,f(R)}}}class F8{constructor(){this.map=[]}add(t,n,r){V8(this,t,n,r)}consume(t){if(this.map.sort(function(s,u){return s[0]-u[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let l=r.pop();for(;l;){for(const s of l)t.push(s);l=r.pop()}this.map.length=0}}function V8(e,t,n,r){let l=0;if(!(n===0&&r.length===0)){for(;l<e.map.length;){if(e.map[l][0]===t){e.map[l][1]+=n,e.map[l][2].push(...r);return}l+=1}e.map.push([t,n,r])}}function B8(e,t){let n=!1;const r=[];for(;t<e.length;){const l=e[t];if(n){if(l[0]==="enter")l[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(l[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(l[1].type==="tableDelimiterRow")break}else l[0]==="enter"&&l[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function H8(){return{flow:{null:{name:"table",tokenize:W8,resolveAll:G8}}}}function W8(e,t,n){const r=this;let l=0,s=0,u;return f;function f(Z){let ke=r.events.length-1;for(;ke>-1;){const ee=r.events[ke][1].type;if(ee==="lineEnding"||ee==="linePrefix")ke--;else break}const ue=ke>-1?r.events[ke][1].type:null,Oe=ue==="tableHead"||ue==="tableRow"?K:g;return Oe===K&&r.parser.lazy[r.now().line]?n(Z):Oe(Z)}function g(Z){return e.enter("tableHead"),e.enter("tableRow"),b(Z)}function b(Z){return Z===124||(u=!0,s+=1),y(Z)}function y(Z){return Z===null?n(Z):$e(Z)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Z),e.exit("lineEnding"),C):n(Z):Ct(Z)?It(e,y,"whitespace")(Z):(s+=1,u&&(u=!1,l+=1),Z===124?(e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),u=!0,y):(e.enter("data"),S(Z)))}function S(Z){return Z===null||Z===124||fn(Z)?(e.exit("data"),y(Z)):(e.consume(Z),Z===92?w:S)}function w(Z){return Z===92||Z===124?(e.consume(Z),S):S(Z)}function C(Z){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(Z):(e.enter("tableDelimiterRow"),u=!1,Ct(Z)?It(e,R,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Z):R(Z))}function R(Z){return Z===45||Z===58?B(Z):Z===124?(u=!0,e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),z):U(Z)}function z(Z){return Ct(Z)?It(e,B,"whitespace")(Z):B(Z)}function B(Z){return Z===58?(s+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(Z),e.exit("tableDelimiterMarker"),V):Z===45?(s+=1,V(Z)):Z===null||$e(Z)?te(Z):U(Z)}function V(Z){return Z===45?(e.enter("tableDelimiterFiller"),W(Z)):U(Z)}function W(Z){return Z===45?(e.consume(Z),W):Z===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Z),e.exit("tableDelimiterMarker"),H):(e.exit("tableDelimiterFiller"),H(Z))}function H(Z){return Ct(Z)?It(e,te,"whitespace")(Z):te(Z)}function te(Z){return Z===124?R(Z):Z===null||$e(Z)?!u||l!==s?U(Z):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Z)):U(Z)}function U(Z){return n(Z)}function K(Z){return e.enter("tableRow"),be(Z)}function be(Z){return Z===124?(e.enter("tableCellDivider"),e.consume(Z),e.exit("tableCellDivider"),be):Z===null||$e(Z)?(e.exit("tableRow"),t(Z)):Ct(Z)?It(e,be,"whitespace")(Z):(e.enter("data"),ge(Z))}function ge(Z){return Z===null||Z===124||fn(Z)?(e.exit("data"),be(Z)):(e.consume(Z),Z===92?fe:ge)}function fe(Z){return Z===92||Z===124?(e.consume(Z),ge):ge(Z)}}function G8(e,t){let n=-1,r=!0,l=0,s=[0,0,0,0],u=[0,0,0,0],f=!1,g=0,b,y,S;const w=new F8;for(;++n<e.length;){const C=e[n],R=C[1];C[0]==="enter"?R.type==="tableHead"?(f=!1,g!==0&&(pA(w,t,g,b,y),y=void 0,g=0),b={type:"table",start:Object.assign({},R.start),end:Object.assign({},R.end)},w.add(n,0,[["enter",b,t]])):R.type==="tableRow"||R.type==="tableDelimiterRow"?(r=!0,S=void 0,s=[0,0,0,0],u=[0,n+1,0,0],f&&(f=!1,y={type:"tableBody",start:Object.assign({},R.start),end:Object.assign({},R.end)},w.add(n,0,[["enter",y,t]])),l=R.type==="tableDelimiterRow"?2:y?3:1):l&&(R.type==="data"||R.type==="tableDelimiterMarker"||R.type==="tableDelimiterFiller")?(r=!1,u[2]===0&&(s[1]!==0&&(u[0]=u[1],S=bp(w,t,s,l,void 0,S),s=[0,0,0,0]),u[2]=n)):R.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(u[0]=u[1],S=bp(w,t,s,l,void 0,S)),s=u,u=[s[1],n,0,0])):R.type==="tableHead"?(f=!0,g=n):R.type==="tableRow"||R.type==="tableDelimiterRow"?(g=n,s[1]!==0?(u[0]=u[1],S=bp(w,t,s,l,n,S)):u[1]!==0&&(S=bp(w,t,u,l,n,S)),l=0):l&&(R.type==="data"||R.type==="tableDelimiterMarker"||R.type==="tableDelimiterFiller")&&(u[3]=n)}for(g!==0&&pA(w,t,g,b,y),w.consume(t.events),n=-1;++n<t.events.length;){const C=t.events[n];C[0]==="enter"&&C[1].type==="table"&&(C[1]._align=B8(t.events,n))}return e}function bp(e,t,n,r,l,s){const u=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",f="tableContent";n[0]!==0&&(s.end=Object.assign({},pf(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const g=pf(t.events,n[1]);if(s={type:u,start:Object.assign({},g),end:Object.assign({},g)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const b=pf(t.events,n[2]),y=pf(t.events,n[3]),S={type:f,start:Object.assign({},b),end:Object.assign({},y)};if(e.add(n[2],0,[["enter",S,t]]),r!==2){const w=t.events[n[2]],C=t.events[n[3]];if(w[1].end=Object.assign({},C[1].end),w[1].type="chunkText",w[1].contentType="text",n[3]>n[2]+1){const R=n[2]+1,z=n[3]-n[2]-1;e.add(R,z,[])}}e.add(n[3]+1,0,[["exit",S,t]])}return l!==void 0&&(s.end=Object.assign({},pf(t.events,l)),e.add(l,0,[["exit",s,t]]),s=void 0),s}function pA(e,t,n,r,l){const s=[],u=pf(t.events,n);l&&(l.end=Object.assign({},u),s.push(["exit",l,t])),r.end=Object.assign({},u),s.push(["exit",r,t]),e.add(n+1,0,s)}function pf(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const U8={name:"tasklistCheck",tokenize:X8};function Y8(){return{text:{91:U8}}}function X8(e,t,n){const r=this;return l;function l(g){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(g):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(g),e.exit("taskListCheckMarker"),s)}function s(g){return fn(g)?(e.enter("taskListCheckValueUnchecked"),e.consume(g),e.exit("taskListCheckValueUnchecked"),u):g===88||g===120?(e.enter("taskListCheckValueChecked"),e.consume(g),e.exit("taskListCheckValueChecked"),u):n(g)}function u(g){return g===93?(e.enter("taskListCheckMarker"),e.consume(g),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),f):n(g)}function f(g){return $e(g)?t(g):Ct(g)?e.check({tokenize:Z8},t,n)(g):n(g)}}function Z8(e,t,n){return It(e,r,"whitespace");function r(l){return l===null?n(l):t(l)}}function K8(e){return K2([y8(),_8(),L8(e),H8(),Y8()])}const j8={};function J8(e){const t=this,n=e||j8,r=t.data(),l=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),u=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);l.push(K8(n)),s.push(p8()),u.push(m8(n))}const Q8=({message:e})=>e.type==="loading"?e.content&&$.jsx(Oz,{message:e.content,type:"loading"}):e.type==="user"?$.jsx(wt,{maxW:"220px",alignSelf:"flex-end",mb:1.5,children:(e.content.length>0||e.repliedProduct)&&$.jsxs(Ni,{bg:"#EBF8FF",borderRadius:"20px",px:3,py:1.5,gap:1.5,alignItems:"start",w:"full",children:[e.repliedProduct&&$.jsxs(ia,{bg:"white",borderRadius:"10px",p:1.5,gap:1.5,w:"full",children:[$.jsx(gl,{src:e.repliedProduct.image,alt:"product",w:"32px",h:"32px"}),$.jsx(zr,{fontSize:"10px",fontWeight:"400",color:"#1A1A1A",children:e.repliedProduct.name})]}),$.jsx(FS,{components:{p:({children:t})=>$.jsx(zr,{wordBreak:"break-word",fontSize:"12px",fontWeight:"500",color:"#4299E1",children:t})},children:e.content})]})}):e.type==="products"?$.jsx(wt,{maxW:"100%",alignSelf:"flex-start",mb:3,w:"full",children:$.jsx(VS,{products:e.products||[]})}):e.type==="suggestions"?$.jsx(Hz,{suggestions:e.suggestions||[]}):$.jsxs(Ni,{align:"stretch",gap:1.5,children:[$.jsx(wt,{alignSelf:"flex-start",children:$.jsx(ia,{align:"start",justifyContent:"flex-start",gap:1.5,children:$.jsx(wt,{w:"full",borderRadius:"20px",py:2,children:$.jsx(FS,{remarkPlugins:[J8],components:{p:({children:t})=>$.jsx(zr,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:t}),ol:({children:t})=>$.jsx(wt,{as:"ol",p:1.5,textAlign:"left",dir:"rtl",mb:1.5,children:t}),ul:({children:t})=>$.jsx(wt,{as:"ul",p:1.5,textAlign:"left",dir:"rtl",mb:1.5,children:t}),li:({children:t})=>$.jsx(zr,{as:"li",fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",children:t}),img:({src:t,alt:n})=>$.jsx(gl,{src:t,alt:n||"",maxW:"100%",borderRadius:"6px",my:1.5}),a:({children:t,href:n})=>$.jsx(x2,{href:n,target:"_blank",display:"block",wordBreak:"break-word",overflowWrap:"anywhere",children:$.jsx(zr,{fontSize:"12px",fontWeight:"400",color:"#6155F5",textAlign:"left",wordBreak:"break-word",overflowWrap:"anywhere",whiteSpace:"normal",children:t})}),table:({children:t})=>$.jsx(wt,{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(m4,{size:"sm",variant:"outline",w:"full",my:1.5,striped:!0,children:t})}),thead:({children:t})=>$.jsx(v4,{children:t}),tbody:({children:t})=>$.jsx(S4,{children:t}),tr:({children:t})=>$.jsx(b4,{children:t}),th:({children:t})=>$.jsx(y4,{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:t}),td:({children:t})=>$.jsx(x4,{fontSize:"12px",fontWeight:"400",color:"black",textAlign:"left",px:1.5,py:.75,border:"1px solid",borderColor:"#DEDEDE",children:t})},children:e.content})})})}),e.products&&e.products.length>0&&$.jsx(VS,{products:e.products})]});function q8(e,t){return`${e} returned \`undefined\`. Seems you forgot to wrap component within ${t}`}function mA(e={}){const{name:t,strict:n=!0,hookName:r="useContext",providerName:l="Provider",errorMessage:s,defaultValue:u}=e,f=Ae.createContext(u);f.displayName=t;function g(){const b=Ae.useContext(f);if(!b&&n){const y=new Error(s??q8(r,l));throw y.name="ContextError",Error.captureStackTrace?.(y,g),y}return b}return[f.Provider,g,f]}const[gX,$8]=mA({name:"FieldContext",hookName:"useFieldContext",providerName:"<FieldProvider />",strict:!1});function Bv(e){return e==null?[]:Array.isArray(e)?e:[e]}var uh=e=>e[0],Hv=e=>e[e.length-1],eD=(e,t)=>e.indexOf(t)!==-1,ju=(e,...t)=>e.concat(t),Ju=(e,...t)=>e.filter(n=>!t.includes(n)),mf=e=>Array.from(new Set(e)),Wv=(e,t)=>{const n=new Set(t);return e.filter(r=>!n.has(r))},bf=(e,t)=>eD(e,t)?Ju(e,t):ju(e,t);function bA(e,t,n={}){const{step:r=1,loop:l=!0}=n,s=t+r,u=e.length,f=u-1;return t===-1?r>0?0:f:s<0?l?f:0:s>=u?l?0:t>u?u:t:s}function tD(e,t,n={}){return e[bA(e,t,n)]}function nD(e,t,n={}){const{step:r=1,loop:l=!0}=n;return bA(e,t,{step:-r,loop:l})}function rD(e,t,n={}){return e[nD(e,t,n)]}function vA(e,t){return e.reduce(([n,r],l)=>(t(l)?n.push(l):r.push(l),[n,r]),[[],[]])}var yA=e=>e?.constructor.name==="Array",iD=(e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!ml(e[n],t[n]))return!1;return!0},ml=(e,t)=>{if(Object.is(e,t))return!0;if(e==null&&t!=null||e!=null&&t==null)return!1;if(typeof e?.isEqual=="function"&&typeof t?.isEqual=="function")return e.isEqual(t);if(typeof e=="function"&&typeof t=="function")return e.toString()===t.toString();if(yA(e)&&yA(t))return iD(Array.from(e),Array.from(t));if(typeof e!="object"||typeof t!="object")return!1;const n=Object.keys(t??Object.create(null)),r=n.length;for(let l=0;l<r;l++)if(!Reflect.has(e,n[l]))return!1;for(let l=0;l<r;l++){const s=n[l];if(!ml(e[s],t[s]))return!1}return!0},ch=e=>Array.isArray(e),aD=e=>e===!0||e===!1,xA=e=>e!=null&&typeof e=="object",Qu=e=>xA(e)&&!ch(e),Gv=e=>typeof e=="string",SA=e=>typeof e=="function",lD=e=>e==null,Ms=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),oD=e=>Object.prototype.toString.call(e),AA=Function.prototype.toString,sD=AA.call(Object),uD=e=>{if(!xA(e)||oD(e)!="[object Object]"||dD(e))return!1;const t=Object.getPrototypeOf(e);if(t===null)return!0;const n=Ms(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&AA.call(n)==sD},cD=e=>typeof e=="object"&&e!==null&&"$$typeof"in e&&"props"in e,fD=e=>typeof e=="object"&&e!==null&&"__v_isVNode"in e,dD=e=>cD(e)||fD(e),hD=()=>{},vp=(...e)=>(...t)=>{e.forEach(function(n){n?.(...t)})};function Jo(e,t,...n){if(e in t){const l=t[e];return SA(l)?l(...n):l}const r=new Error(`No matching key: ${JSON.stringify(e)} in ${JSON.stringify(Object.keys(t))}`);throw Error.captureStackTrace?.(r,Jo),r}var EA=(e,t)=>{try{return e()}catch(n){return n instanceof Error&&Error.captureStackTrace?.(n,EA),t?.()}},{floor:wA,abs:CA,round:yp,min:gD,max:pD,pow:mD,sign:bD}=Math,Uv=e=>Number.isNaN(e),Ls=e=>Uv(e)?0:e,kA=(e,t)=>(e%t+t)%t,vD=(e,t)=>(e%t+t)%t,yD=(e,t)=>Ls(e)>=t,xD=(e,t)=>Ls(e)<=t,SD=(e,t,n)=>{const r=Ls(e),l=t==null||r>=t,s=n==null||r<=n;return l&&s},AD=(e,t,n)=>yp((Ls(e)-t)/n)*n+t,Li=(e,t,n)=>gD(pD(Ls(e),t),n),ED=(e,t,n)=>(Ls(e)-t)/(n-t),wD=(e,t,n,r)=>Li(AD(e*(n-t)+t,t,r),t,n),TA=(e,t)=>{let n=e,r=t.toString(),l=r.indexOf("."),s=l>=0?r.length-l:0;if(s>0){let u=mD(10,s);n=yp(n*u)/u}return n},Yv=(e,t)=>typeof t=="number"?wA(e*t+.5)/t:yp(e),OA=(e,t,n,r)=>{const l=t!=null?Number(t):0,s=Number(n),u=(e-l)%r;let f=CA(u)*2>=r?e+bD(u)*(r-CA(u)):e-u;if(f=TA(f,r),!Uv(l)&&f<l)f=l;else if(!Uv(s)&&f>s){const g=wA((s-l)/r),b=l+g*r;f=g<=0||b<l?s:b}return TA(f,r)},bn=(e,t=0,n=10)=>{const r=Math.pow(n,t);return yp(e*r)/r},_A=e=>{if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n},RA=(e,t,n)=>{let r=t==="+"?e+n:e-n;if(e%1!==0||n%1!==0){const l=10**Math.max(_A(e),_A(n));e=Math.round(e*l),n=Math.round(n*l),r=t==="+"?e+n:e-n,r/=l}return r},CD=(e,t)=>RA(Ls(e),"+",t),kD=(e,t)=>RA(Ls(e),"-",t);function PA(e){if(!uD(e)||e===void 0)return e;const t=Reflect.ownKeys(e).filter(r=>typeof r=="string"),n={};for(const r of t){const l=e[r];l!==void 0&&(n[r]=PA(l))}return n}function TD(e,t=Object.is){let n={...e};const r=new Set,l=y=>(r.add(y),()=>r.delete(y)),s=()=>{r.forEach(y=>y())};return{subscribe:l,get:y=>n[y],set:(y,S)=>{t(n[y],S)||(n[y]=S,s())},update:y=>{let S=!1;for(const w in y){const C=y[w];C!==void 0&&!t(n[w],C)&&(n[w]=C,S=!0)}S&&s()},snapshot:()=>({...n})}}function IA(...e){e.length===1?e[0]:e[1],e.length===2&&e[0]}function OD(e,t){if(e==null)throw new Error(t())}function _D(e){if(!e)return;const t=e.selectionStart??0,n=e.selectionEnd??0;Math.abs(n-t)===0&&t===0&&e.setSelectionRange(e.value.length,e.value.length)}var zA=e=>Math.max(0,Math.min(1,e)),RD=(e,t)=>e.map((n,r)=>e[(Math.max(t,0)+r)%e.length]),PD=()=>{},xp=e=>typeof e=="object"&&e!==null,ID=2147483647,zD=1,ND=9,DD=11,Fi=e=>xp(e)&&e.nodeType===zD&&typeof e.nodeName=="string",NA=e=>xp(e)&&e.nodeType===ND,MD=e=>xp(e)&&e===e.window,DA=e=>Fi(e)?e.localName||"":"#document";function LD(e){return["html","body","#document"].includes(DA(e))}var FD=e=>xp(e)&&e.nodeType!==void 0,fh=e=>FD(e)&&e.nodeType===DD&&"host"in e,VD=e=>Fi(e)&&e.localName==="input",BD=e=>!!e?.matches("a[href]"),HD=e=>Fi(e)?e.offsetWidth>0||e.offsetHeight>0||e.getClientRects().length>0:!1,WD=/(textarea|select)/;function GD(e){if(e==null||!Fi(e))return!1;try{return VD(e)&&e.selectionStart!=null||WD.test(e.localName)||e.isContentEditable||e.getAttribute("contenteditable")==="true"||e.getAttribute("contenteditable")===""}catch{return!1}}function qu(e,t){if(!e||!t||!Fi(e)||!Fi(t))return!1;const n=t.getRootNode?.();if(e===t||e.contains(t))return!0;if(n&&fh(n)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function bl(e){return NA(e)?e:MD(e)?e.document:e?.ownerDocument??document}function UD(e){return bl(e).documentElement}function hr(e){return fh(e)?hr(e.host):NA(e)?e.defaultView??window:Fi(e)?e.ownerDocument?.defaultView??window:window}function YD(e){if(DA(e)==="html")return e;const t=e.assignedSlot||e.parentNode||fh(e)&&e.host||UD(e);return fh(t)?t.host:t}var Xv=new WeakMap;function MA(e){return Xv.has(e)||Xv.set(e,hr(e).getComputedStyle(e)),Xv.get(e)}var Sp=()=>typeof document<"u";function XD(){return navigator.userAgentData?.platform??navigator.platform}function ZD(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:t,version:n})=>`${t}/${n}`).join(" "):navigator.userAgent}var Zv=e=>Sp()&&e.test(XD()),LA=e=>Sp()&&e.test(ZD()),KD=e=>Sp()&&e.test(navigator.vendor),FA=()=>Sp()&&!!navigator.maxTouchPoints,jD=()=>Zv(/^iPhone/i),JD=()=>Zv(/^iPad/i)||Ap()&&navigator.maxTouchPoints>1,Kv=()=>jD()||JD(),QD=()=>Ap()||Kv(),Ap=()=>Zv(/^Mac/i),VA=()=>QD()&&KD(/apple/i),qD=()=>LA(/Firefox/i),$D=()=>LA(/Android/i);function eM(e){return e.composedPath?.()??e.nativeEvent?.composedPath?.()}function Fs(e){return eM(e)?.[0]??e.target}function tM(e){return aM(e).isComposing||e.keyCode===229}function nM(e){return e.pointerType===""&&e.isTrusted?!0:$D()&&e.pointerType?e.type==="click"&&e.buttons===1:e.detail===0&&!e.pointerType}var rM=e=>e.button===2||Ap()&&e.ctrlKey&&e.button===0,iM=e=>"touches"in e&&e.touches.length>0;function aM(e){return e.nativeEvent??e}function BA(e,t="client"){const n=iM(e)?e.touches[0]||e.changedTouches[0]:e;return{x:n[`${t}X`],y:n[`${t}Y`]}}var Nr=(e,t,n,r)=>{const l=typeof e=="function"?e():e;return l?.addEventListener(t,n,r),()=>{l?.removeEventListener(t,n,r)}};function lM(e,t){const{type:n="HTMLInputElement",property:r="value"}=t,l=hr(e)[n].prototype;return Object.getOwnPropertyDescriptor(l,r)??{}}function oM(e){if(e.localName==="input")return"HTMLInputElement";if(e.localName==="textarea")return"HTMLTextAreaElement";if(e.localName==="select")return"HTMLSelectElement"}function Ep(e,t,n="value"){if(!e)return;const r=oM(e);r&&lM(e,{type:r,property:n}).set?.call(e,t),e.setAttribute(n,t)}function sM(e,t){const{value:n,bubbles:r=!0}=t;if(!e)return;const l=hr(e);e instanceof l.HTMLInputElement&&(Ep(e,`${n}`),e.dispatchEvent(new l.Event("input",{bubbles:r})))}function uM(e){return cM(e)?e.form:e.closest("form")}function cM(e){return e.matches("textarea, input, select, button")}function fM(e,t){if(!e)return;const n=uM(e),r=l=>{l.defaultPrevented||t()};return n?.addEventListener("reset",r,{passive:!0}),()=>n?.removeEventListener("reset",r)}function dM(e,t){const n=e?.closest("fieldset");if(!n)return;t(n.disabled);const r=hr(n),l=new r.MutationObserver(()=>t(n.disabled));return l.observe(n,{attributes:!0,attributeFilter:["disabled"]}),()=>l.disconnect()}function jv(e,t){if(!e)return;const{onFieldsetDisabledChange:n,onFormReset:r}=t,l=[fM(e,r),dM(e,n)];return()=>l.forEach(s=>s?.())}var hM=e=>Fi(e)&&e.tagName==="IFRAME",gM=e=>parseInt(e.getAttribute("tabindex")||"0",10)<0,HA="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false']), details > summary:first-of-type";function Jv(e){return!e||e.closest("[inert]")?!1:e.matches(HA)&&HD(e)}function WA(e,t){if(!e)return[];const r=Array.from(e.querySelectorAll(HA)).filter(pM);return r.forEach((l,s)=>{if(hM(l)&&l.contentDocument){const u=l.contentDocument.body,f=WA(u);r.splice(s,1,...f)}}),r.length,r}function pM(e){return e!=null&&e.tabIndex>0?!0:Jv(e)&&!gM(e)}function Qv(e){const{root:t,getInitialEl:n,filter:r,enabled:l=!0}=e;if(!l)return;let s=null;if(s||(s=typeof n=="function"?n():n),s||(s=t?.querySelector("[data-autofocus],[autofocus]")),!s){const u=WA(t);s=r?u.filter(r)[0]:u[0]}return s||t||void 0}function GA(e){const t=new Set;function n(r){const l=globalThis.requestAnimationFrame(r);t.add(()=>globalThis.cancelAnimationFrame(l))}return n(()=>n(e)),function(){t.forEach(l=>l())}}function Dt(e){let t;const n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function mM(e,t,n){const r=Dt(()=>{e.removeEventListener(t,l,!0),n()}),l=()=>{r(),n()};return e.addEventListener(t,l,{once:!0,capture:!0}),r}function bM(e,t){if(!e)return;const{attributes:n,callback:r}=t,l=e.ownerDocument.defaultView||window,s=new l.MutationObserver(u=>{for(const f of u)f.type==="attributes"&&f.attributeName&&n.includes(f.attributeName)&&r(f)});return s.observe(e,{attributes:!0,attributeFilter:n}),()=>s.disconnect()}function wp(e,t){const{defer:n}=t,r=n?Dt:s=>s(),l=[];return l.push(r(()=>{const s=typeof e=="function"?e():e;l.push(bM(s,t))})),()=>{l.forEach(s=>s?.())}}function UA(e){const t=()=>{const n=hr(e);e.dispatchEvent(new n.MouseEvent("click"))};qD()?mM(e,"keyup",t):queueMicrotask(t)}function Cp(e){const t=YD(e);return LD(t)?bl(t).body:Fi(t)&&qv(t)?t:Cp(t)}function YA(e,t=[]){const n=Cp(e),r=n===e.ownerDocument.body,l=hr(n);return r?t.concat(l,l.visualViewport||[],qv(n)?n:[]):t.concat(n,YA(n,[]))}var vM=/auto|scroll|overlay|hidden|clip/,yM=new Set(["inline","contents"]);function qv(e){const t=hr(e),{overflow:n,overflowX:r,overflowY:l,display:s}=t.getComputedStyle(e);return vM.test(n+l+r)&&!yM.has(s)}function xM(e){return e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth}function kp(e,t){const{rootEl:n,...r}=t||{};!e||!n||!qv(n)||!xM(n)||e.scrollIntoView(r)}function XA(e,t){const{left:n,top:r,width:l,height:s}=t.getBoundingClientRect(),u={x:e.x-n,y:e.y-r},f={x:zA(u.x/l),y:zA(u.y/s)};function g(b={}){const{dir:y="ltr",orientation:S="horizontal",inverted:w}=b,C=typeof w=="object"?w.x:w,R=typeof w=="object"?w.y:w;return S==="horizontal"?y==="rtl"||C?1-f.x:f.x:R?1-f.y:f.y}return{offset:u,percent:f,getPercentValue:g}}function SM(e,t){const n=e.body,r="pointerLockElement"in e||"mozPointerLockElement"in e,l=()=>!!e.pointerLockElement;function s(){}function u(g){l(),console.error("PointerLock error occurred:",g),e.exitPointerLock()}if(!r)return;try{n.requestPointerLock()}catch{}const f=[Nr(e,"pointerlockchange",s,!1),Nr(e,"pointerlockerror",u,!1)];return()=>{f.forEach(g=>g()),e.exitPointerLock()}}var vf="default",$v="",Tp=new WeakMap;function AM(e={}){const{target:t,doc:n}=e,r=n??document,l=r.documentElement;return Kv()?(vf==="default"&&($v=l.style.webkitUserSelect,l.style.webkitUserSelect="none"),vf="disabled"):t&&(Tp.set(t,t.style.userSelect),t.style.userSelect="none"),()=>EM({target:t,doc:r})}function EM(e={}){const{target:t,doc:n}=e,l=(n??document).documentElement;if(Kv()){if(vf!=="disabled")return;vf="restoring",setTimeout(()=>{GA(()=>{vf==="restoring"&&(l.style.webkitUserSelect==="none"&&(l.style.webkitUserSelect=$v||""),$v="",vf="default")})},300)}else if(t&&Tp.has(t)){const s=Tp.get(t);t.style.userSelect==="none"&&(t.style.userSelect=s??""),t.getAttribute("style")===""&&t.removeAttribute("style"),Tp.delete(t)}}function ZA(e={}){const{defer:t,target:n,...r}=e,l=t?Dt:u=>u(),s=[];return s.push(l(()=>{const u=typeof n=="function"?n():n;s.push(AM({...r,target:u}))})),()=>{s.forEach(u=>u?.())}}function wM(e,t){const{onPointerMove:n,onPointerUp:r}=t,l=f=>{const g=BA(f),b=Math.sqrt(g.x**2+g.y**2),y=f.pointerType==="touch"?10:5;if(!(b<y)){if(f.pointerType==="mouse"&&f.button===0){s(f);return}n({point:g,event:f})}},s=f=>{const g=BA(f);r({point:g,event:f})},u=[Nr(e,"pointermove",l,!1),Nr(e,"pointerup",s,!1),Nr(e,"pointercancel",s,!1),Nr(e,"contextmenu",s,!1),ZA({doc:e})];return()=>{u.forEach(f=>f())}}function Op(e,t){return Array.from(e?.querySelectorAll(t)??[])}function CM(e,t){return e?.querySelector(t)??null}var e0=e=>e.id;function kM(e,t,n=e0){return e.find(r=>n(r)===t)}function t0(e,t,n=e0){const r=kM(e,t,n);return r?e.indexOf(r):-1}function TM(e,t,n=!0){let r=t0(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function OM(e,t,n=!0){let r=t0(e,t);return r===-1?n?e[e.length-1]:null:(r=n?(r-1+e.length)%e.length:Math.max(0,r-1),e[r])}var _M=e=>e.split("").map(t=>{const n=t.charCodeAt(0);return n>0&&n<128?t:n>=128&&n<=255?`/x${n.toString(16)}`.replace("/","\\"):""}).join("").trim(),RM=e=>_M(e.dataset?.valuetext??e.textContent??""),PM=(e,t)=>e.trim().toLowerCase().startsWith(t.toLowerCase());function IM(e,t,n,r=e0){const l=n?t0(e,n,r):-1;let s=n?RD(e,l):e;return t.length===1&&(s=s.filter(f=>r(f)!==n)),s.find(f=>PM(RM(f),t))}function zM(e,t){if(!e)return PD;const n=Object.keys(t).reduce((r,l)=>(r[l]=e.style.getPropertyValue(l),r),{});return Object.assign(e.style,t),()=>{Object.assign(e.style,n),e.style.length===0&&e.removeAttribute("style")}}function NM(e,t){const{state:n,activeId:r,key:l,timeout:s=350,itemToId:u}=t,f=n.keysSoFar+l,b=f.length>1&&Array.from(f).every(R=>R===f[0])?f[0]:f;let y=e.slice();const S=IM(y,b,r,u);function w(){clearTimeout(n.timer),n.timer=-1}function C(R){n.keysSoFar=R,w(),R!==""&&(n.timer=+setTimeout(()=>{C(""),w()},s))}return C(f),S}var dh=Object.assign(NM,{defaultOptions:{keysSoFar:"",timer:-1},isValidEvent:DM});function DM(e){return e.key.length===1&&!e.ctrlKey&&!e.metaKey}function MM(e,t,n){const{signal:r}=t;return[new Promise((u,f)=>{const g=setTimeout(()=>{f(new Error(`Timeout of ${n}ms exceeded`))},n);r.addEventListener("abort",()=>{clearTimeout(g),f(new Error("Promise aborted"))}),e.then(b=>{r.aborted||(clearTimeout(g),u(b))}).catch(b=>{r.aborted||(clearTimeout(g),f(b))})}),()=>t.abort()]}function LM(e,t){const{timeout:n,rootNode:r}=t,l=hr(r),s=bl(r),u=new l.AbortController;return MM(new Promise(f=>{const g=e();if(g){f(g);return}const b=new l.MutationObserver(()=>{const y=e();y&&y.isConnected&&(b.disconnect(),f(y))});b.observe(s.body,{childList:!0,subtree:!0})}),u,n)}var FM=(...e)=>e.map(t=>t?.trim?.()).filter(Boolean).join(" "),VM=/((?:--)?(?:\w+-?)+)\s*:\s*([^;]*)/g,KA=e=>{const t={};let n;for(;n=VM.exec(e);)t[n[1]]=n[2];return t},BM=(e,t)=>{if(Gv(e)){if(Gv(t))return`${e};${t}`;e=KA(e)}else Gv(t)&&(t=KA(t));return Object.assign({},e??{},t??{})};function jA(...e){let t={};for(let n of e){if(!n)continue;for(let l in t){if(l.startsWith("on")&&typeof t[l]=="function"&&typeof n[l]=="function"){t[l]=vp(n[l],t[l]);continue}if(l==="className"||l==="class"){t[l]=FM(t[l],n[l]);continue}if(l==="style"){t[l]=BM(t[l],n[l]);continue}t[l]=n[l]!==void 0?n[l]:t[l]}for(let l in n)t[l]===void 0&&(t[l]=n[l]);const r=Object.getOwnPropertySymbols(n);for(let l of r)t[l]=n[l]}return t}function JA(e,t,n){let r=[],l;return s=>{const u=e(s);return(u.length!==r.length||u.some((g,b)=>!ml(r[b],g)))&&(r=u,l=t(u,s)),l}}function Vs(){return{and:(...e)=>function(n){return e.every(r=>n.guard(r))},or:(...e)=>function(n){return e.some(r=>n.guard(r))},not:e=>function(n){return!n.guard(e)}}}function pX(e){return e}function QA(){return{guards:Vs(),createMachine:e=>e,choose:e=>function({choose:n}){return n(e)?.actions}}}var et=()=>e=>Array.from(new Set(e));function qA(...e){return t=>{const n=[];for(const r of e)if(typeof r=="function"){const l=r(t);typeof l=="function"&&n.push(l)}else r&&(r.current=t);if(n.length)return()=>{for(const r of n)r()}}}function HM(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const n0=e=>{const t=Ae.memo(Ae.forwardRef((n,r)=>{const{asChild:l,children:s,...u}=n;if(!l)return Ae.createElement(e,{...u,ref:r},s);if(!Ae.isValidElement(s))return null;const f=Ae.Children.only(s),g=HM(f);return Ae.cloneElement(f,{...jA(u,f.props),ref:r?qA(r,g):g})}));return t.displayName=e.displayName||e.name,t},WM=(()=>{const e=new Map;return new Proxy(n0,{apply(t,n,r){return n0(r[0])},get(t,n){const r=n;return e.has(r)||e.set(r,n0(r)),e.get(r)}})})(),[GM]=mA({name:"EnvironmentContext",hookName:"useEnvironmentContext",providerName:"<EnvironmentProvider />",strict:!1,defaultValue:{getRootNode:()=>document,getDocument:()=>document,getWindow:()=>window}});var tt=(e,t=[])=>({parts:(...n)=>{if(UM(t))return tt(e,n);throw new Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>tt(e,[...t,...n]),omit:(...n)=>tt(e,t.filter(r=>!n.includes(r))),rename:n=>tt(n,t),keys:()=>t,build:()=>[...new Set(t)].reduce((n,r)=>Object.assign(n,{[r]:{selector:[`&[data-scope="${yf(e)}"][data-part="${yf(r)}"]`,`& [data-scope="${yf(e)}"][data-part="${yf(r)}"]`].join(", "),attrs:{"data-scope":yf(e),"data-part":yf(r)}}}),{})}),yf=e=>e.replace(/([A-Z])([A-Z])/g,"$1-$2").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),UM=e=>e.length===0;const $A=tt("field").parts("root","errorText","helperText","input","label","select","textarea","requiredIndicator");$A.build();var YM=e=>{if(!e)return;const t=MA(e),n=hr(e),r=bl(e),l=()=>{requestAnimationFrame(()=>{e.style.height="auto";let b;t.boxSizing==="content-box"?b=e.scrollHeight-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):b=e.scrollHeight+parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),t.maxHeight!=="none"&&b>parseFloat(t.maxHeight)?(t.overflowY==="hidden"&&(e.style.overflowY="scroll"),b=parseFloat(t.maxHeight)):t.overflowY!=="hidden"&&(e.style.overflowY="hidden"),e.style.height=`${b}px`})};e.addEventListener("input",l),e.form?.addEventListener("reset",l);const s=Object.getPrototypeOf(e),u=Object.getOwnPropertyDescriptor(s,"value");Object.defineProperty(e,"value",{...u,set(){u?.set?.apply(this,arguments),l()}});const f=new n.ResizeObserver(()=>{requestAnimationFrame(()=>l())});f.observe(e);const g=new n.MutationObserver(()=>l());return g.observe(e,{attributes:!0,attributeFilter:["rows","placeholder"]}),r.fonts?.addEventListener("loadingdone",l),()=>{e.removeEventListener("input",l),e.form?.removeEventListener("reset",l),r.fonts?.removeEventListener("loadingdone",l),f.disconnect(),g.disconnect()}};const eE=Ae.forwardRef((e,t)=>{const{autoresize:n,...r}=e,l=Ae.useRef(null),s=$8(),u=jA(s?.getTextareaProps(),{style:{resize:n?"none":void 0}},r);return Ae.useEffect(()=>{if(n)return YM(l.current)},[n]),$.jsx(WM.textarea,{...u,ref:qA(t,l)})});eE.displayName="FieldTextarea";const{withContext:XM}=of({key:"textarea"}),tE=XM(eE),ZM="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",KM="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",jM=({placeholder:e="Write a prompt or paste a contract address",value:t="",onChange:n,onSend:r,isMobileView:l})=>{const{chatState:{repliedProduct:s},setRepliedProduct:u}=ho(),[f,g]=Ae.useState(t);Ae.useEffect(()=>{g(w(t))},[t]);const b=C=>{const R=w(C);g(R),n?.(R)},y=C=>{(f.trim()||C)&&(r?.({message:C??f.trim()},s?.product),u?.(null),g(""))},S=C=>{C.key==="Enter"&&!C.shiftKey&&(C.preventDefault(),y())},w=C=>C.trimStart();return $.jsx(Ni,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:$.jsx(wt,{bg:"#EDEDED",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:s?l?"260px":"165px":"75px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",transform:"scale(1)",opacity:1,children:$.jsxs(wt,{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:[s&&$.jsxs(Ni,{opacity:1,p:"6px",gap:"6px",borderRadius:"10px",borderWidth:"1px",bgColor:"white",children:[$.jsxs(ia,{justify:"space-between",align:"center",w:"full",children:[$.jsx(gl,{src:s?.product?.image,alt:"product",w:"32px",h:"32px"}),$.jsx(zr,{fontSize:"10px",fontWeight:400,color:"#1A1A1A",children:s?.product?.name}),$.jsx(Jd,{bg:"transparent","aria-label":"Remove product",onClick:()=>u?.(null),children:$.jsx(gl,{src:KM,alt:"arrow-left",w:"20px",h:"20px"})})]}),s?.suggestions&&s.suggestions.length>0&&$.jsxs($.Fragment,{children:[$.jsx(wt,{display:{base:"none",md:"block"},w:"full",children:$.jsx(ia,{w:"full",justify:"flex-start",align:"center",gap:1.5,children:s.suggestions.map(C=>$.jsx(sf,{variant:"outline",bg:"transparent",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>y(C),h:"28px",px:2.5,minW:"unset",flex:1,overflow:"hidden",children:$.jsx(wt,{as:"span",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block",w:"100%",children:C})},C))})}),$.jsx(wt,{display:{base:"block",md:"none"},w:"full",children:$.jsx(Ni,{w:"full",align:"stretch",gap:"6px",children:s.suggestions.map(C=>$.jsx(sf,{variant:"outline",bg:"transparent",w:"full",color:"#1A1A1A",fontSize:"10px",borderColor:"#EDEDED",borderRadius:"20px",fontWeight:400,onClick:()=>y(C),children:C},C))})})]})]}),$.jsx(tE,{value:f,onChange:C=>b(C.target.value),onKeyPress:S,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(Jd,{position:"absolute",bottom:"10px",right:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:()=>y(),_hover:{bg:"gray.800"},disabled:!f.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:ZM,alt:"Send"})})]})})})},JM="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",QM=({placeholder:e="Write a prompt or paste a contract address",onStop:t})=>{const{stopCurrentRequest:n}=ho(),r=()=>{n?.(),t?.()};return $.jsx(Ni,{gap:1.5,align:"stretch",bg:"transparent",position:"relative",children:$.jsx(wt,{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(wt,{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(ia,{justify:"space-between",align:"center",h:"full",children:[$.jsx(zr,{color:"#999999",fontSize:"14px",flex:1,transition:"all 0.4s cubic-bezier(0.4, 0, 0.2, 1)",children:e}),$.jsx(Jd,{size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Stop",onClick:r,_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:JM,alt:"Stop"})})]})})})})},qM="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",$M="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",nE=({placeholder:e="Write a prompt or paste a contract address",value:t="",onChange:n,onSend:r})=>{const[l,s]=Ae.useState(t),[u,f]=Ae.useState(!1),g=Ae.useRef(null),b=()=>{f(!0),setTimeout(()=>{if(g.current){g.current.focus();const z=g.current.value.length;g.current.setSelectionRange(z,z)}},100)};Ae.useEffect(()=>{s(R(t))},[t]);const y=z=>{const B=R(z);s(B),n?.(B)},S=()=>{l.trim()&&(r?.({message:l.trim()}),s(""))},w=z=>{z.key==="Enter"&&!z.shiftKey&&(z.preventDefault(),S())},C=z=>` ${z}`,R=z=>z.trimStart();return $.jsx(Ni,{gap:1.5,align:"stretch",children:$.jsxs(wt,{bg:"white",borderRadius:"20px",position:"relative",p:1.5,w:"full",h:u?"68px":"42px",transition:"all 0.6s cubic-bezier(0.4, 0, 0.2, 1)",overflow:"hidden",cursor:"pointer",onClick:b,children:[$.jsx(wt,{position:"absolute",top:"7px",right:"7px",zIndex:2,children:$.jsx(gl,{src:$M,alt:"AI",w:"20px",h:"20px"})}),$.jsx(wt,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:u?0:1,transform:u?"translateY(-20px) scale(0.95)":"translateY(0) scale(1)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:u?"none":"auto",children:$.jsx(ia,{justify:"space-between",align:"center",h:"full",children:$.jsx(zr,{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(Jd,{position:"absolute",bottom:"7px",left:"10px",size:"xs",borderRadius:"full",bg:"#040404",color:"white","aria-label":"Send",onClick:z=>{z.stopPropagation(),S()},_hover:{bg:"gray.800"},disabled:!l.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:qM,alt:"Send"})}),$.jsx(wt,{position:"absolute",top:0,left:0,right:0,bottom:0,p:1.5,opacity:u?1:0,transform:u?"translateY(0) scale(1)":"translateY(20px) scale(0.95)",transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",pointerEvents:u?"auto":"none",children:$.jsx(tE,{ref:g,value:C(l),onChange:z=>y(z.target.value),onKeyPress:w,placeholder:C(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})})]})})},e7=({state:e="starting",placeholder:t="Write a prompt or paste a contract address",value:n="",onChange:r,onSend:l,onStop:s})=>{const[u,f]=Ae.useState(!1);return Ae.useEffect(()=>{const g=()=>{f(window.innerWidth<=768)};return g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),console.log(e),e==="starting"?$.jsx(jM,{placeholder:t,value:n,onChange:r,onSend:l,isMobileView:u}):e==="generating"?$.jsx(QM,{placeholder:t,onStop:s,isMobileView:u}):e==="minimized"?$.jsx(nE,{placeholder:t,value:n,onChange:r,onSend:l}):$.jsx(nE,{placeholder:t,value:n,onChange:r,onSend:l})},t7="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",n7=()=>{const e=ho(),{botData:t}=ho(),n=Ae.useRef(null),r=u=>{e.sendMessage({message:u})},l=e.messages.length>0,s=()=>{n.current&&setTimeout(()=>{n.current?.scrollTo({top:n.current.scrollHeight,behavior:"smooth"})},100)};return Ae.useEffect(()=>{l&&s()},[e.messages,l]),$.jsxs(Ni,{flex:1,justify:"space-between",align:"stretch",gap:3,h:"full",minH:"200px",maxH:"300px",overflow:"hidden",children:[!l&&t?.suggestedReply&&$.jsx(wt,{w:"full",flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:$.jsx(ia,{wrap:"wrap",children:t.suggestedReply.map((u,f)=>$.jsxs(sf,{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:()=>r(u),justifyContent:"start",maxW:"100%",children:[$.jsx(gl,{src:t7,alt:"AI Search",w:3.5,h:3.5}),$.jsx(wt,{as:"span",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"break-word",fontFamily:"Estedad-FD, system-ui, sans-serif",children:u})]},f))})}),l&&$.jsx(wt,{ref:n,flex:1,overflowY:"auto",overflowX:"hidden",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},children:$.jsx(Ni,{gap:1.5,align:"stretch",pb:1.5,children:e.messages.map(u=>$.jsx(Q8,{message:u},u.id))})}),$.jsx(wt,{flexShrink:0,bg:"transparent",borderRadius:"10px",transition:"all 0.2s ease",children:$.jsx(e7,{state:e.inputState,placeholder:e.inputState==="generating"?"Processing...":"What's your question?",onSend:e.isInputDisabled?void 0:e.sendMessage,onStop:e.stopCurrentRequest})})]})},r7=()=>{const{botData:e}=ho();return $.jsx(ia,{gap:0,justifyContent:"center",align:"center",w:"full",children:$.jsx(x2,{href:Vz("https://dori.tech/",e?.sharing_id||""),target:"_blank",children:$.jsxs(ia,{alignItems:"center",justifyContent:"center",alignContent:"center",children:[$.jsxs(zr,{fontSize:"10px",fontWeight:"400",color:"#666666",textAlign:"center",fontFamily:"Estedad-FD, system-ui, sans-serif",lineHeight:"1.4",children:["Powered by"," "]}),$.jsx(gl,{src:"https://dori.fra1.cdn.digitaloceanspaces.com/dori.png",alt:"Bot Image",h:"14px"})]})})})};var rE=tt("collapsible").parts("root","trigger","content","indicator");rE.build(),et()(["dir","disabled","getRootNode","id","ids","onExitComplete","onOpenChange","defaultOpen","open"]);var i7=Object.defineProperty,a7=(e,t,n)=>t in e?i7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r0=(e,t,n)=>a7(e,t+"",n),l7=(e,t)=>{if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0},i0=class{toHexInt(){return this.toFormat("rgba").toHexInt()}getChannelValue(e){if(e in this)return this[e];throw new Error("Unsupported color channel: "+e)}getChannelValuePercent(e,t){const n=t??this.getChannelValue(e),{minValue:r,maxValue:l}=this.getChannelRange(e);return ED(n,r,l)}getChannelPercentValue(e,t){const{minValue:n,maxValue:r,step:l}=this.getChannelRange(e),s=wD(t,n,r,l);return OA(s,n,r,l)}withChannelValue(e,t){const{minValue:n,maxValue:r}=this.getChannelRange(e);if(e in this){let l=this.clone();return l[e]=Li(t,n,r),l}throw new Error("Unsupported color channel: "+e)}getColorAxes(e){let{xChannel:t,yChannel:n}=e,r=t||this.getChannels().find(u=>u!==n),l=n||this.getChannels().find(u=>u!==r),s=this.getChannels().find(u=>u!==r&&u!==l);return{xChannel:r,yChannel:l,zChannel:s}}incrementChannel(e,t){const{minValue:n,maxValue:r,step:l}=this.getChannelRange(e),s=OA(Li(this.getChannelValue(e)+t,n,r),n,r,l);return this.withChannelValue(e,s)}decrementChannel(e,t){return this.incrementChannel(e,-t)}isEqual(e){return l7(this.toJSON(),e.toJSON())&&this.getChannelValue("alpha")===e.getChannelValue("alpha")}},o7=/^#[\da-f]+$/i,s7=/^rgba?\((.*)\)$/,u7=/[^#]/gi,iE=class Lm extends i0{constructor(t,n,r,l){super(),this.red=t,this.green=n,this.blue=r,this.alpha=l}static parse(t){let n=[];if(o7.test(t)&&[4,5,7,9].includes(t.length)){const l=(t.length<6?t.replace(u7,"$&$&"):t).slice(1).split("");for(;l.length>0;)n.push(parseInt(l.splice(0,2).join(""),16));n[3]=n[3]!==void 0?n[3]/255:void 0}const r=t.match(s7);return r?.[1]&&(n=r[1].split(",").map(l=>Number(l.trim())).map((l,s)=>Li(l,0,s<3?255:1))),n.length<3?void 0:new Lm(n[0],n[1],n[2],n[3]??1)}toString(t){switch(t){case"hex":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")).toUpperCase();case"hexa":return"#"+(this.red.toString(16).padStart(2,"0")+this.green.toString(16).padStart(2,"0")+this.blue.toString(16).padStart(2,"0")+Math.round(this.alpha*255).toString(16).padStart(2,"0")).toUpperCase();case"rgb":return`rgb(${this.red}, ${this.green}, ${this.blue})`;case"css":case"rgba":return`rgba(${this.red}, ${this.green}, ${this.blue}, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"hsb":return this.toHSB().toString("hsb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"rgba":return this;case"hsba":return this.toHSB();case"hsla":return this.toHSL();default:throw new Error("Unsupported color conversion: rgb -> "+t)}}toHexInt(){return this.red<<16|this.green<<8|this.blue}toHSB(){const t=this.red/255,n=this.green/255,r=this.blue/255,l=Math.min(t,n,r),s=Math.max(t,n,r),u=s-l,f=s===0?0:u/s;let g=0;if(u!==0){switch(s){case t:g=(n-r)/u+(n<r?6:0);break;case n:g=(r-t)/u+2;break;case r:g=(t-n)/u+4;break}g/=6}return new o0(bn(g*360,2),bn(f*100,2),bn(s*100,2),bn(this.alpha,2))}toHSL(){const t=this.red/255,n=this.green/255,r=this.blue/255,l=Math.min(t,n,r),s=Math.max(t,n,r),u=(s+l)/2,f=s-l;let g=-1,b=-1;if(f===0)g=b=0;else{switch(b=f/(u<.5?s+l:2-s-l),s){case t:g=(n-r)/f+(n<r?6:0);break;case n:g=(r-t)/f+2;break;case r:g=(t-n)/f+4;break}g/=6}return new l0(bn(g*360,2),bn(b*100,2),bn(u*100,2),bn(this.alpha,2))}clone(){return new Lm(this.red,this.green,this.blue,this.alpha)}getChannelFormatOptions(t){switch(t){case"red":case"green":case"blue":return{style:"decimal"};case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),l=this.getChannelValue(t);return new Intl.NumberFormat(n,r).format(l)}getChannelRange(t){switch(t){case"red":case"green":case"blue":return{minValue:0,maxValue:255,step:1,pageSize:17};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{r:this.red,g:this.green,b:this.blue,a:this.alpha}}getFormat(){return"rgba"}getChannels(){return Lm.colorChannels}};r0(iE,"colorChannels",["red","green","blue"]);var a0=iE,c7=/hsl\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsla\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,aE=class Fm extends i0{constructor(t,n,r,l){super(),this.hue=t,this.saturation=n,this.lightness=r,this.alpha=l}static parse(t){let n;if(n=t.match(c7)){const[r,l,s,u]=(n[1]??n[2]).split(",").map(f=>Number(f.trim().replace("%","")));return new Fm(kA(r,360),Li(l,0,100),Li(s,0,100),Li(u??1,0,1))}}toString(t){switch(t){case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsl":return`hsl(${this.hue}, ${bn(this.saturation,2)}%, ${bn(this.lightness,2)}%)`;case"css":case"hsla":return`hsla(${this.hue}, ${bn(this.saturation,2)}%, ${bn(this.lightness,2)}%, ${this.alpha})`;case"hsb":return this.toHSB().toString("hsb");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsla":return this;case"hsba":return this.toHSB();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsl -> "+t)}}toHSB(){let t=this.saturation/100,n=this.lightness/100,r=n+t*Math.min(n,1-n);return t=r===0?0:2*(1-n/r),new o0(bn(this.hue,2),bn(t*100,2),bn(r*100,2),bn(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.lightness/100,l=n*Math.min(r,1-r),s=(u,f=(u+t/30)%12)=>r-l*Math.max(Math.min(f-3,9-f,1),-1);return new a0(Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255),bn(this.alpha,2))}clone(){return new Fm(this.hue,this.saturation,this.lightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"lightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),l=this.getChannelValue(t);return(t==="saturation"||t==="lightness")&&(l/=100),new Intl.NumberFormat(n,r).format(l)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"lightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,l:this.lightness,a:this.alpha}}getFormat(){return"hsla"}getChannels(){return Fm.colorChannels}};r0(aE,"colorChannels",["hue","saturation","lightness"]);var l0=aE,f7=/hsb\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%)\)|hsba\(([-+]?\d+(?:.\d+)?\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d+(?:.\d+)?%\s*,\s*[-+]?\d(.\d+)?)\)/,lE=class Vm extends i0{constructor(t,n,r,l){super(),this.hue=t,this.saturation=n,this.brightness=r,this.alpha=l}static parse(t){let n;if(n=t.match(f7)){const[r,l,s,u]=(n[1]??n[2]).split(",").map(f=>Number(f.trim().replace("%","")));return new Vm(kA(r,360),Li(l,0,100),Li(s,0,100),Li(u??1,0,1))}}toString(t){switch(t){case"css":return this.toHSL().toString("css");case"hex":return this.toRGB().toString("hex");case"hexa":return this.toRGB().toString("hexa");case"hsb":return`hsb(${this.hue}, ${bn(this.saturation,2)}%, ${bn(this.brightness,2)}%)`;case"hsba":return`hsba(${this.hue}, ${bn(this.saturation,2)}%, ${bn(this.brightness,2)}%, ${this.alpha})`;case"hsl":return this.toHSL().toString("hsl");case"rgb":return this.toRGB().toString("rgb");default:return this.toFormat(t).toString(t)}}toFormat(t){switch(t){case"hsba":return this;case"hsla":return this.toHSL();case"rgba":return this.toRGB();default:throw new Error("Unsupported color conversion: hsb -> "+t)}}toHSL(){let t=this.saturation/100,n=this.brightness/100,r=n*(1-t/2);return t=r===0||r===1?0:(n-r)/Math.min(r,1-r),new l0(bn(this.hue,2),bn(t*100,2),bn(r*100,2),bn(this.alpha,2))}toRGB(){let t=this.hue,n=this.saturation/100,r=this.brightness/100,l=(s,u=(s+t/60)%6)=>r-n*r*Math.max(Math.min(u,4-u,1),0);return new a0(Math.round(l(5)*255),Math.round(l(3)*255),Math.round(l(1)*255),bn(this.alpha,2))}clone(){return new Vm(this.hue,this.saturation,this.brightness,this.alpha)}getChannelFormatOptions(t){switch(t){case"hue":return{style:"unit",unit:"degree",unitDisplay:"narrow"};case"saturation":case"brightness":case"alpha":return{style:"percent"};default:throw new Error("Unknown color channel: "+t)}}formatChannelValue(t,n){let r=this.getChannelFormatOptions(t),l=this.getChannelValue(t);return(t==="saturation"||t==="brightness")&&(l/=100),new Intl.NumberFormat(n,r).format(l)}getChannelRange(t){switch(t){case"hue":return{minValue:0,maxValue:360,step:1,pageSize:15};case"saturation":case"brightness":return{minValue:0,maxValue:100,step:1,pageSize:10};case"alpha":return{minValue:0,maxValue:1,step:.01,pageSize:.1};default:throw new Error("Unknown color channel: "+t)}}toJSON(){return{h:this.hue,s:this.saturation,b:this.brightness,a:this.alpha}}getFormat(){return"hsba"}getChannels(){return Vm.colorChannels}};r0(lE,"colorChannels",["hue","saturation","brightness"]);var o0=lE,d7="aliceblue:f0f8ff,antiquewhite:faebd7,aqua:00ffff,aquamarine:7fffd4,azure:f0ffff,beige:f5f5dc,bisque:ffe4c4,black:000000,blanchedalmond:ffebcd,blue:0000ff,blueviolet:8a2be2,brown:a52a2a,burlywood:deb887,cadetblue:5f9ea0,chartreuse:7fff00,chocolate:d2691e,coral:ff7f50,cornflowerblue:6495ed,cornsilk:fff8dc,crimson:dc143c,cyan:00ffff,darkblue:00008b,darkcyan:008b8b,darkgoldenrod:b8860b,darkgray:a9a9a9,darkgreen:006400,darkkhaki:bdb76b,darkmagenta:8b008b,darkolivegreen:556b2f,darkorange:ff8c00,darkorchid:9932cc,darkred:8b0000,darksalmon:e9967a,darkseagreen:8fbc8f,darkslateblue:483d8b,darkslategray:2f4f4f,darkturquoise:00ced1,darkviolet:9400d3,deeppink:ff1493,deepskyblue:00bfff,dimgray:696969,dodgerblue:1e90ff,firebrick:b22222,floralwhite:fffaf0,forestgreen:228b22,fuchsia:ff00ff,gainsboro:dcdcdc,ghostwhite:f8f8ff,gold:ffd700,goldenrod:daa520,gray:808080,green:008000,greenyellow:adff2f,honeydew:f0fff0,hotpink:ff69b4,indianred:cd5c5c,indigo:4b0082,ivory:fffff0,khaki:f0e68c,lavender:e6e6fa,lavenderblush:fff0f5,lawngreen:7cfc00,lemonchiffon:fffacd,lightblue:add8e6,lightcoral:f08080,lightcyan:e0ffff,lightgoldenrodyellow:fafad2,lightgrey:d3d3d3,lightgreen:90ee90,lightpink:ffb6c1,lightsalmon:ffa07a,lightseagreen:20b2aa,lightskyblue:87cefa,lightslategray:778899,lightsteelblue:b0c4de,lightyellow:ffffe0,lime:00ff00,limegreen:32cd32,linen:faf0e6,magenta:ff00ff,maroon:800000,mediumaquamarine:66cdaa,mediumblue:0000cd,mediumorchid:ba55d3,mediumpurple:9370d8,mediumseagreen:3cb371,mediumslateblue:7b68ee,mediumspringgreen:00fa9a,mediumturquoise:48d1cc,mediumvioletred:c71585,midnightblue:191970,mintcream:f5fffa,mistyrose:ffe4e1,moccasin:ffe4b5,navajowhite:ffdead,navy:000080,oldlace:fdf5e6,olive:808000,olivedrab:6b8e23,orange:ffa500,orangered:ff4500,orchid:da70d6,palegoldenrod:eee8aa,palegreen:98fb98,paleturquoise:afeeee,palevioletred:d87093,papayawhip:ffefd5,peachpuff:ffdab9,peru:cd853f,pink:ffc0cb,plum:dda0dd,powderblue:b0e0e6,purple:800080,rebeccapurple:663399,red:ff0000,rosybrown:bc8f8f,royalblue:4169e1,saddlebrown:8b4513,salmon:fa8072,sandybrown:f4a460,seagreen:2e8b57,seashell:fff5ee,sienna:a0522d,silver:c0c0c0,skyblue:87ceeb,slateblue:6a5acd,slategray:708090,snow:fffafa,springgreen:00ff7f,steelblue:4682b4,tan:d2b48c,teal:008080,thistle:d8bfd8,tomato:ff6347,turquoise:40e0d0,violet:ee82ee,wheat:f5deb3,white:ffffff,whitesmoke:f5f5f5,yellow:ffff00,yellowgreen:9acd32",h7=e=>{const t=new Map,n=e.split(",");for(let r=0;r<n.length;r++){const[l,s]=n[r].split(":");t.set(l,`#${s}`),l.includes("gray")&&t.set(l.replace("gray","grey"),`#${s}`)}return t},oE=h7(d7),_p=e=>{if(oE.has(e))return _p(oE.get(e));const t=a0.parse(e)||o0.parse(e)||l0.parse(e);if(!t){const n=new Error("Invalid color value: "+e);throw Error.captureStackTrace?.(n,_p),n}return t};const g7=["top","right","bottom","left"],Bs=Math.min,oa=Math.max,Rp=Math.round,Pp=Math.floor,bo=e=>({x:e,y:e}),p7={left:"right",right:"left",bottom:"top",top:"bottom"},m7={start:"end",end:"start"};function s0(e,t,n){return oa(e,Bs(t,n))}function Qo(e,t){return typeof e=="function"?e(t):e}function qo(e){return e.split("-")[0]}function xf(e){return e.split("-")[1]}function u0(e){return e==="x"?"y":"x"}function c0(e){return e==="y"?"height":"width"}const b7=new Set(["top","bottom"]);function vo(e){return b7.has(qo(e))?"y":"x"}function f0(e){return u0(vo(e))}function v7(e,t,n){n===void 0&&(n=!1);const r=xf(e),l=f0(e),s=c0(l);let u=l==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(u=Ip(u)),[u,Ip(u)]}function y7(e){const t=Ip(e);return[d0(e),t,d0(t)]}function d0(e){return e.replace(/start|end/g,t=>m7[t])}const sE=["left","right"],uE=["right","left"],x7=["top","bottom"],S7=["bottom","top"];function A7(e,t,n){switch(e){case"top":case"bottom":return n?t?uE:sE:t?sE:uE;case"left":case"right":return t?x7:S7;default:return[]}}function E7(e,t,n,r){const l=xf(e);let s=A7(qo(e),n==="start",r);return l&&(s=s.map(u=>u+"-"+l),t&&(s=s.concat(s.map(d0)))),s}function Ip(e){return e.replace(/left|right|bottom|top/g,t=>p7[t])}function w7(e){return{top:0,right:0,bottom:0,left:0,...e}}function cE(e){return typeof e!="number"?w7(e):{top:e,right:e,bottom:e,left:e}}function zp(e){const{x:t,y:n,width:r,height:l}=e;return{width:r,height:l,top:n,left:t,right:t+r,bottom:n+l,x:t,y:n}}function fE(e,t,n){let{reference:r,floating:l}=e;const s=vo(t),u=f0(t),f=c0(u),g=qo(t),b=s==="y",y=r.x+r.width/2-l.width/2,S=r.y+r.height/2-l.height/2,w=r[f]/2-l[f]/2;let C;switch(g){case"top":C={x:y,y:r.y-l.height};break;case"bottom":C={x:y,y:r.y+r.height};break;case"right":C={x:r.x+r.width,y:S};break;case"left":C={x:r.x-l.width,y:S};break;default:C={x:r.x,y:r.y}}switch(xf(t)){case"start":C[u]-=w*(n&&b?-1:1);break;case"end":C[u]+=w*(n&&b?-1:1);break}return C}const C7=async(e,t,n)=>{const{placement:r="bottom",strategy:l="absolute",middleware:s=[],platform:u}=n,f=s.filter(Boolean),g=await(u.isRTL==null?void 0:u.isRTL(t));let b=await u.getElementRects({reference:e,floating:t,strategy:l}),{x:y,y:S}=fE(b,r,g),w=r,C={},R=0;for(let z=0;z<f.length;z++){const{name:B,fn:V}=f[z],{x:W,y:H,data:te,reset:U}=await V({x:y,y:S,initialPlacement:r,placement:w,strategy:l,middlewareData:C,rects:b,platform:u,elements:{reference:e,floating:t}});y=W??y,S=H??S,C={...C,[B]:{...C[B],...te}},U&&R<=50&&(R++,typeof U=="object"&&(U.placement&&(w=U.placement),U.rects&&(b=U.rects===!0?await u.getElementRects({reference:e,floating:t,strategy:l}):U.rects),{x:y,y:S}=fE(b,w,g)),z=-1)}return{x:y,y:S,placement:w,strategy:l,middlewareData:C}};async function hh(e,t){var n;t===void 0&&(t={});const{x:r,y:l,platform:s,rects:u,elements:f,strategy:g}=e,{boundary:b="clippingAncestors",rootBoundary:y="viewport",elementContext:S="floating",altBoundary:w=!1,padding:C=0}=Qo(t,e),R=cE(C),B=f[w?S==="floating"?"reference":"floating":S],V=zp(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(B)))==null||n?B:B.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(f.floating)),boundary:b,rootBoundary:y,strategy:g})),W=S==="floating"?{x:r,y:l,width:u.floating.width,height:u.floating.height}:u.reference,H=await(s.getOffsetParent==null?void 0:s.getOffsetParent(f.floating)),te=await(s.isElement==null?void 0:s.isElement(H))?await(s.getScale==null?void 0:s.getScale(H))||{x:1,y:1}:{x:1,y:1},U=zp(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:W,offsetParent:H,strategy:g}):W);return{top:(V.top-U.top+R.top)/te.y,bottom:(U.bottom-V.bottom+R.bottom)/te.y,left:(V.left-U.left+R.left)/te.x,right:(U.right-V.right+R.right)/te.x}}const k7=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:l,rects:s,platform:u,elements:f,middlewareData:g}=t,{element:b,padding:y=0}=Qo(e,t)||{};if(b==null)return{};const S=cE(y),w={x:n,y:r},C=f0(l),R=c0(C),z=await u.getDimensions(b),B=C==="y",V=B?"top":"left",W=B?"bottom":"right",H=B?"clientHeight":"clientWidth",te=s.reference[R]+s.reference[C]-w[C]-s.floating[R],U=w[C]-s.reference[C],K=await(u.getOffsetParent==null?void 0:u.getOffsetParent(b));let be=K?K[H]:0;(!be||!await(u.isElement==null?void 0:u.isElement(K)))&&(be=f.floating[H]||s.floating[R]);const ge=te/2-U/2,fe=be/2-z[R]/2-1,Z=Bs(S[V],fe),ke=Bs(S[W],fe),ue=Z,Oe=be-z[R]-ke,ee=be/2-z[R]/2+ge,oe=s0(ue,ee,Oe),D=!g.arrow&&xf(l)!=null&&ee!==oe&&s.reference[R]/2-(ee<ue?Z:ke)-z[R]/2<0,j=D?ee<ue?ee-ue:ee-Oe:0;return{[C]:w[C]+j,data:{[C]:oe,centerOffset:ee-oe-j,...D&&{alignmentOffset:j}},reset:D}}}),T7=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:l,middlewareData:s,rects:u,initialPlacement:f,platform:g,elements:b}=t,{mainAxis:y=!0,crossAxis:S=!0,fallbackPlacements:w,fallbackStrategy:C="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:z=!0,...B}=Qo(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const V=qo(l),W=vo(f),H=qo(f)===f,te=await(g.isRTL==null?void 0:g.isRTL(b.floating)),U=w||(H||!z?[Ip(f)]:y7(f)),K=R!=="none";!w&&K&&U.push(...E7(f,z,R,te));const be=[f,...U],ge=await hh(t,B),fe=[];let Z=((r=s.flip)==null?void 0:r.overflows)||[];if(y&&fe.push(ge[V]),S){const ee=v7(l,u,te);fe.push(ge[ee[0]],ge[ee[1]])}if(Z=[...Z,{placement:l,overflows:fe}],!fe.every(ee=>ee<=0)){var ke,ue;const ee=(((ke=s.flip)==null?void 0:ke.index)||0)+1,oe=be[ee];if(oe&&(!(S==="alignment"?W!==vo(oe):!1)||Z.every(we=>vo(we.placement)===W?we.overflows[0]>0:!0)))return{data:{index:ee,overflows:Z},reset:{placement:oe}};let D=(ue=Z.filter(j=>j.overflows[0]<=0).sort((j,we)=>j.overflows[1]-we.overflows[1])[0])==null?void 0:ue.placement;if(!D)switch(C){case"bestFit":{var Oe;const j=(Oe=Z.filter(we=>{if(K){const Ee=vo(we.placement);return Ee===W||Ee==="y"}return!0}).map(we=>[we.placement,we.overflows.filter(Ee=>Ee>0).reduce((Ee,k)=>Ee+k,0)]).sort((we,Ee)=>we[1]-Ee[1])[0])==null?void 0:Oe[0];j&&(D=j);break}case"initialPlacement":D=f;break}if(l!==D)return{reset:{placement:D}}}return{}}}};function dE(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hE(e){return g7.some(t=>e[t]>=0)}const O7=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...l}=Qo(e,t);switch(r){case"referenceHidden":{const s=await hh(t,{...l,elementContext:"reference"}),u=dE(s,n.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:hE(u)}}}case"escaped":{const s=await hh(t,{...l,altBoundary:!0}),u=dE(s,n.floating);return{data:{escapedOffsets:u,escaped:hE(u)}}}default:return{}}}}},gE=new Set(["left","top"]);async function _7(e,t){const{placement:n,platform:r,elements:l}=e,s=await(r.isRTL==null?void 0:r.isRTL(l.floating)),u=qo(n),f=xf(n),g=vo(n)==="y",b=gE.has(u)?-1:1,y=s&&g?-1:1,S=Qo(t,e);let{mainAxis:w,crossAxis:C,alignmentAxis:R}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:S.mainAxis||0,crossAxis:S.crossAxis||0,alignmentAxis:S.alignmentAxis};return f&&typeof R=="number"&&(C=f==="end"?R*-1:R),g?{x:C*y,y:w*b}:{x:w*b,y:C*y}}const R7=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:l,y:s,placement:u,middlewareData:f}=t,g=await _7(t,e);return u===((n=f.offset)==null?void 0:n.placement)&&(r=f.arrow)!=null&&r.alignmentOffset?{}:{x:l+g.x,y:s+g.y,data:{...g,placement:u}}}}},P7=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:l}=t,{mainAxis:s=!0,crossAxis:u=!1,limiter:f={fn:B=>{let{x:V,y:W}=B;return{x:V,y:W}}},...g}=Qo(e,t),b={x:n,y:r},y=await hh(t,g),S=vo(qo(l)),w=u0(S);let C=b[w],R=b[S];if(s){const B=w==="y"?"top":"left",V=w==="y"?"bottom":"right",W=C+y[B],H=C-y[V];C=s0(W,C,H)}if(u){const B=S==="y"?"top":"left",V=S==="y"?"bottom":"right",W=R+y[B],H=R-y[V];R=s0(W,R,H)}const z=f.fn({...t,[w]:C,[S]:R});return{...z,data:{x:z.x-n,y:z.y-r,enabled:{[w]:s,[S]:u}}}}}},I7=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:l,rects:s,middlewareData:u}=t,{offset:f=0,mainAxis:g=!0,crossAxis:b=!0}=Qo(e,t),y={x:n,y:r},S=vo(l),w=u0(S);let C=y[w],R=y[S];const z=Qo(f,t),B=typeof z=="number"?{mainAxis:z,crossAxis:0}:{mainAxis:0,crossAxis:0,...z};if(g){const H=w==="y"?"height":"width",te=s.reference[w]-s.floating[H]+B.mainAxis,U=s.reference[w]+s.reference[H]-B.mainAxis;C<te?C=te:C>U&&(C=U)}if(b){var V,W;const H=w==="y"?"width":"height",te=gE.has(qo(l)),U=s.reference[S]-s.floating[H]+(te&&((V=u.offset)==null?void 0:V[S])||0)+(te?0:B.crossAxis),K=s.reference[S]+s.reference[H]+(te?0:((W=u.offset)==null?void 0:W[S])||0)-(te?B.crossAxis:0);R<U?R=U:R>K&&(R=K)}return{[w]:C,[S]:R}}}},z7=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:l,rects:s,platform:u,elements:f}=t,{apply:g=()=>{},...b}=Qo(e,t),y=await hh(t,b),S=qo(l),w=xf(l),C=vo(l)==="y",{width:R,height:z}=s.floating;let B,V;S==="top"||S==="bottom"?(B=S,V=w===(await(u.isRTL==null?void 0:u.isRTL(f.floating))?"start":"end")?"left":"right"):(V=S,B=w==="end"?"top":"bottom");const W=z-y.top-y.bottom,H=R-y.left-y.right,te=Bs(z-y[B],W),U=Bs(R-y[V],H),K=!t.middlewareData.shift;let be=te,ge=U;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(ge=H),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(be=W),K&&!w){const Z=oa(y.left,0),ke=oa(y.right,0),ue=oa(y.top,0),Oe=oa(y.bottom,0);C?ge=R-2*(Z!==0||ke!==0?Z+ke:oa(y.left,y.right)):be=z-2*(ue!==0||Oe!==0?ue+Oe:oa(y.top,y.bottom))}await g({...t,availableWidth:ge,availableHeight:be});const fe=await u.getDimensions(f.floating);return R!==fe.width||z!==fe.height?{reset:{rects:!0}}:{}}}};function Np(){return typeof window<"u"}function Sf(e){return pE(e)?(e.nodeName||"").toLowerCase():"#document"}function sa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function yo(e){var t;return(t=(pE(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function pE(e){return Np()?e instanceof Node||e instanceof sa(e).Node:!1}function vl(e){return Np()?e instanceof Element||e instanceof sa(e).Element:!1}function xo(e){return Np()?e instanceof HTMLElement||e instanceof sa(e).HTMLElement:!1}function mE(e){return!Np()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof sa(e).ShadowRoot}const N7=new Set(["inline","contents"]);function gh(e){const{overflow:t,overflowX:n,overflowY:r,display:l}=yl(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!N7.has(l)}const D7=new Set(["table","td","th"]);function M7(e){return D7.has(Sf(e))}const L7=[":popover-open",":modal"];function Dp(e){return L7.some(t=>{try{return e.matches(t)}catch{return!1}})}const F7=["transform","translate","scale","rotate","perspective"],V7=["transform","translate","scale","rotate","perspective","filter"],B7=["paint","layout","strict","content"];function h0(e){const t=g0(),n=vl(e)?yl(e):e;return F7.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||V7.some(r=>(n.willChange||"").includes(r))||B7.some(r=>(n.contain||"").includes(r))}function H7(e){let t=Hs(e);for(;xo(t)&&!Af(t);){if(h0(t))return t;if(Dp(t))return null;t=Hs(t)}return null}function g0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const W7=new Set(["html","body","#document"]);function Af(e){return W7.has(Sf(e))}function yl(e){return sa(e).getComputedStyle(e)}function Mp(e){return vl(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Hs(e){if(Sf(e)==="html")return e;const t=e.assignedSlot||e.parentNode||mE(e)&&e.host||yo(e);return mE(t)?t.host:t}function bE(e){const t=Hs(e);return Af(t)?e.ownerDocument?e.ownerDocument.body:e.body:xo(t)&&gh(t)?t:bE(t)}function ph(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const l=bE(e),s=l===((r=e.ownerDocument)==null?void 0:r.body),u=sa(l);if(s){const f=p0(u);return t.concat(u,u.visualViewport||[],gh(l)?l:[],f&&n?ph(f):[])}return t.concat(l,ph(l,[],n))}function p0(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vE(e){const t=yl(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const l=xo(e),s=l?e.offsetWidth:n,u=l?e.offsetHeight:r,f=Rp(n)!==s||Rp(r)!==u;return f&&(n=s,r=u),{width:n,height:r,$:f}}function m0(e){return vl(e)?e:e.contextElement}function Ef(e){const t=m0(e);if(!xo(t))return bo(1);const n=t.getBoundingClientRect(),{width:r,height:l,$:s}=vE(t);let u=(s?Rp(n.width):n.width)/r,f=(s?Rp(n.height):n.height)/l;return(!u||!Number.isFinite(u))&&(u=1),(!f||!Number.isFinite(f))&&(f=1),{x:u,y:f}}const G7=bo(0);function yE(e){const t=sa(e);return!g0()||!t.visualViewport?G7:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function U7(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==sa(e)?!1:t}function $u(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const l=e.getBoundingClientRect(),s=m0(e);let u=bo(1);t&&(r?vl(r)&&(u=Ef(r)):u=Ef(e));const f=U7(s,n,r)?yE(s):bo(0);let g=(l.left+f.x)/u.x,b=(l.top+f.y)/u.y,y=l.width/u.x,S=l.height/u.y;if(s){const w=sa(s),C=r&&vl(r)?sa(r):r;let R=w,z=p0(R);for(;z&&r&&C!==R;){const B=Ef(z),V=z.getBoundingClientRect(),W=yl(z),H=V.left+(z.clientLeft+parseFloat(W.paddingLeft))*B.x,te=V.top+(z.clientTop+parseFloat(W.paddingTop))*B.y;g*=B.x,b*=B.y,y*=B.x,S*=B.y,g+=H,b+=te,R=sa(z),z=p0(R)}}return zp({width:y,height:S,x:g,y:b})}function Lp(e,t){const n=Mp(e).scrollLeft;return t?t.left+n:$u(yo(e)).left+n}function xE(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Lp(e,n),l=n.top+t.scrollTop;return{x:r,y:l}}function Y7(e){let{elements:t,rect:n,offsetParent:r,strategy:l}=e;const s=l==="fixed",u=yo(r),f=t?Dp(t.floating):!1;if(r===u||f&&s)return n;let g={scrollLeft:0,scrollTop:0},b=bo(1);const y=bo(0),S=xo(r);if((S||!S&&!s)&&((Sf(r)!=="body"||gh(u))&&(g=Mp(r)),xo(r))){const C=$u(r);b=Ef(r),y.x=C.x+r.clientLeft,y.y=C.y+r.clientTop}const w=u&&!S&&!s?xE(u,g):bo(0);return{width:n.width*b.x,height:n.height*b.y,x:n.x*b.x-g.scrollLeft*b.x+y.x+w.x,y:n.y*b.y-g.scrollTop*b.y+y.y+w.y}}function X7(e){return Array.from(e.getClientRects())}function Z7(e){const t=yo(e),n=Mp(e),r=e.ownerDocument.body,l=oa(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=oa(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let u=-n.scrollLeft+Lp(e);const f=-n.scrollTop;return yl(r).direction==="rtl"&&(u+=oa(t.clientWidth,r.clientWidth)-l),{width:l,height:s,x:u,y:f}}const SE=25;function K7(e,t){const n=sa(e),r=yo(e),l=n.visualViewport;let s=r.clientWidth,u=r.clientHeight,f=0,g=0;if(l){s=l.width,u=l.height;const y=g0();(!y||y&&t==="fixed")&&(f=l.offsetLeft,g=l.offsetTop)}const b=Lp(r);if(b<=0){const y=r.ownerDocument,S=y.body,w=getComputedStyle(S),C=y.compatMode==="CSS1Compat"&&parseFloat(w.marginLeft)+parseFloat(w.marginRight)||0,R=Math.abs(r.clientWidth-S.clientWidth-C);R<=SE&&(s-=R)}else b<=SE&&(s+=b);return{width:s,height:u,x:f,y:g}}const j7=new Set(["absolute","fixed"]);function J7(e,t){const n=$u(e,!0,t==="fixed"),r=n.top+e.clientTop,l=n.left+e.clientLeft,s=xo(e)?Ef(e):bo(1),u=e.clientWidth*s.x,f=e.clientHeight*s.y,g=l*s.x,b=r*s.y;return{width:u,height:f,x:g,y:b}}function AE(e,t,n){let r;if(t==="viewport")r=K7(e,n);else if(t==="document")r=Z7(yo(e));else if(vl(t))r=J7(t,n);else{const l=yE(e);r={x:t.x-l.x,y:t.y-l.y,width:t.width,height:t.height}}return zp(r)}function EE(e,t){const n=Hs(e);return n===t||!vl(n)||Af(n)?!1:yl(n).position==="fixed"||EE(n,t)}function Q7(e,t){const n=t.get(e);if(n)return n;let r=ph(e,[],!1).filter(f=>vl(f)&&Sf(f)!=="body"),l=null;const s=yl(e).position==="fixed";let u=s?Hs(e):e;for(;vl(u)&&!Af(u);){const f=yl(u),g=h0(u);!g&&f.position==="fixed"&&(l=null),(s?!g&&!l:!g&&f.position==="static"&&!!l&&j7.has(l.position)||gh(u)&&!g&&EE(e,u))?r=r.filter(y=>y!==u):l=f,u=Hs(u)}return t.set(e,r),r}function q7(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e;const u=[...n==="clippingAncestors"?Dp(t)?[]:Q7(t,this._c):[].concat(n),r],f=u[0],g=u.reduce((b,y)=>{const S=AE(t,y,l);return b.top=oa(S.top,b.top),b.right=Bs(S.right,b.right),b.bottom=Bs(S.bottom,b.bottom),b.left=oa(S.left,b.left),b},AE(t,f,l));return{width:g.right-g.left,height:g.bottom-g.top,x:g.left,y:g.top}}function $7(e){const{width:t,height:n}=vE(e);return{width:t,height:n}}function eL(e,t,n){const r=xo(t),l=yo(t),s=n==="fixed",u=$u(e,!0,s,t);let f={scrollLeft:0,scrollTop:0};const g=bo(0);function b(){g.x=Lp(l)}if(r||!r&&!s)if((Sf(t)!=="body"||gh(l))&&(f=Mp(t)),r){const C=$u(t,!0,s,t);g.x=C.x+t.clientLeft,g.y=C.y+t.clientTop}else l&&b();s&&!r&&l&&b();const y=l&&!r&&!s?xE(l,f):bo(0),S=u.left+f.scrollLeft-g.x-y.x,w=u.top+f.scrollTop-g.y-y.y;return{x:S,y:w,width:u.width,height:u.height}}function b0(e){return yl(e).position==="static"}function wE(e,t){if(!xo(e)||yl(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return yo(e)===n&&(n=n.ownerDocument.body),n}function CE(e,t){const n=sa(e);if(Dp(e))return n;if(!xo(e)){let l=Hs(e);for(;l&&!Af(l);){if(vl(l)&&!b0(l))return l;l=Hs(l)}return n}let r=wE(e,t);for(;r&&M7(r)&&b0(r);)r=wE(r,t);return r&&Af(r)&&b0(r)&&!h0(r)?n:r||H7(e)||n}const tL=async function(e){const t=this.getOffsetParent||CE,n=this.getDimensions,r=await n(e.floating);return{reference:eL(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function nL(e){return yl(e).direction==="rtl"}const rL={convertOffsetParentRelativeRectToViewportRelativeRect:Y7,getDocumentElement:yo,getClippingRect:q7,getOffsetParent:CE,getElementRects:tL,getClientRects:X7,getDimensions:$7,getScale:Ef,isElement:vl,isRTL:nL};function kE(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function iL(e,t){let n=null,r;const l=yo(e);function s(){var f;clearTimeout(r),(f=n)==null||f.disconnect(),n=null}function u(f,g){f===void 0&&(f=!1),g===void 0&&(g=1),s();const b=e.getBoundingClientRect(),{left:y,top:S,width:w,height:C}=b;if(f||t(),!w||!C)return;const R=Pp(S),z=Pp(l.clientWidth-(y+w)),B=Pp(l.clientHeight-(S+C)),V=Pp(y),H={rootMargin:-R+"px "+-z+"px "+-B+"px "+-V+"px",threshold:oa(0,Bs(1,g))||1};let te=!0;function U(K){const be=K[0].intersectionRatio;if(be!==g){if(!te)return u();be?u(!1,be):r=setTimeout(()=>{u(!1,1e-7)},1e3)}be===1&&!kE(b,e.getBoundingClientRect())&&u(),te=!1}try{n=new IntersectionObserver(U,{...H,root:l.ownerDocument})}catch{n=new IntersectionObserver(U,H)}n.observe(e)}return u(!0),s}function aL(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:l=!0,ancestorResize:s=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:g=!1}=r,b=m0(e),y=l||s?[...b?ph(b):[],...ph(t)]:[];y.forEach(V=>{l&&V.addEventListener("scroll",n,{passive:!0}),s&&V.addEventListener("resize",n)});const S=b&&f?iL(b,n):null;let w=-1,C=null;u&&(C=new ResizeObserver(V=>{let[W]=V;W&&W.target===b&&C&&(C.unobserve(t),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var H;(H=C)==null||H.observe(t)})),n()}),b&&!g&&C.observe(b),C.observe(t));let R,z=g?$u(e):null;g&&B();function B(){const V=$u(e);z&&!kE(z,V)&&n(),z=V,R=requestAnimationFrame(B)}return n(),()=>{var V;y.forEach(W=>{l&&W.removeEventListener("scroll",n),s&&W.removeEventListener("resize",n)}),S?.(),(V=C)==null||V.disconnect(),C=null,g&&cancelAnimationFrame(R)}}const lL=R7,oL=P7,sL=T7,uL=z7,cL=O7,fL=k7,dL=I7,hL=(e,t,n)=>{const r=new Map,l={platform:rL,...n},s={...l.platform,_c:r};return C7(e,t,{...l,platform:s})};function TE(e=0,t=0,n=0,r=0){if(typeof DOMRect=="function")return new DOMRect(e,t,n,r);const l={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return{...l,toJSON:()=>l}}function gL(e){if(!e)return TE();const{x:t,y:n,width:r,height:l}=e;return TE(t,n,r,l)}function pL(e,t){return{contextElement:Fi(e)?e:void 0,getBoundingClientRect:()=>{const n=e,r=t?.(n);return r||!n?gL(r):n.getBoundingClientRect()}}}var OE=e=>({variable:e,reference:`var(${e})`}),_E={transformOrigin:OE("--transform-origin"),arrowOffset:OE("--arrow-offset")},mL=e=>e==="top"||e==="bottom"?"y":"x";function bL(e,t){return{name:"transformOrigin",fn(n){const{elements:r,middlewareData:l,placement:s,rects:u,y:f}=n,g=s.split("-")[0],b=mL(g),y=l.arrow?.x||0,S=l.arrow?.y||0,w=t?.clientWidth||0,C=t?.clientHeight||0,R=y+w/2,z=S+C/2,B=Math.abs(l.shift?.y||0),V=u.reference.height/2,W=C/2,H=e.offset?.mainAxis??e.gutter,te=typeof H=="number"?H+W:H??W,U=B>te,K={top:`${R}px calc(100% + ${te}px)`,bottom:`${R}px ${-te}px`,left:`calc(100% + ${te}px) ${z}px`,right:`${-te}px ${z}px`}[g],be=`${R}px ${u.reference.y+V-f}px`,ge=!!e.overlap&&b==="y"&&U;return r.floating.style.setProperty(_E.transformOrigin.variable,ge?be:K),{data:{transformOrigin:ge?be:K}}}}}var vL={name:"rects",fn({rects:e}){return{data:e}}},yL=e=>{if(e)return{name:"shiftArrow",fn({placement:t,middlewareData:n}){if(!n.arrow)return{};const{x:r,y:l}=n.arrow,s=t.split("-")[0];return Object.assign(e.style,{left:r!=null?`${r}px`:"",top:l!=null?`${l}px`:"",[s]:`calc(100% + ${_E.arrowOffset.reference})`}),{}}}};function xL(e){const[t,n]=e.split("-");return{side:t,align:n,hasAlign:n!=null}}function SL(e){return e.split("-")[0]}var AL={strategy:"absolute",placement:"bottom",listeners:!0,gutter:8,flip:!0,slide:!0,overlap:!1,sameWidth:!1,fitViewport:!1,overflowPadding:8,arrowPadding:4};function RE(e,t){const n=e.devicePixelRatio||1;return Math.round(t*n)/n}function v0(e){return typeof e=="function"?e():e==="clipping-ancestors"?"clippingAncestors":e}function EL(e,t,n){const r=e||t.createElement("div");return fL({element:r,padding:n.arrowPadding})}function wL(e,t){if(!lD(t.offset??t.gutter))return lL(({placement:n})=>{const r=(e?.clientHeight||0)/2,l=t.offset?.mainAxis??t.gutter,s=typeof l=="number"?l+r:l??r,{hasAlign:u}=xL(n),f=u?void 0:t.shift,g=t.offset?.crossAxis??f;return PA({crossAxis:g,mainAxis:s,alignmentAxis:t.shift})})}function CL(e){if(!e.flip)return;const t=v0(e.boundary);return sL({...t?{boundary:t}:void 0,padding:e.overflowPadding,fallbackPlacements:e.flip===!0?void 0:e.flip})}function kL(e){if(!e.slide&&!e.overlap)return;const t=v0(e.boundary);return oL({...t?{boundary:t}:void 0,mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding,limiter:dL()})}function TL(e){return uL({padding:e.overflowPadding,apply({elements:t,rects:n,availableHeight:r,availableWidth:l}){const s=t.floating,u=Math.round(n.reference.width),f=Math.round(n.reference.height);l=Math.floor(l),r=Math.floor(r),s.style.setProperty("--reference-width",`${u}px`),s.style.setProperty("--reference-height",`${f}px`),s.style.setProperty("--available-width",`${l}px`),s.style.setProperty("--available-height",`${r}px`)}})}function OL(e){if(e.hideWhenDetached)return cL({strategy:"referenceHidden",boundary:v0(e.boundary)??"clippingAncestors"})}function _L(e){return e?e===!0?{ancestorResize:!0,ancestorScroll:!0,elementResize:!0,layoutShift:!0}:e:{}}function RL(e,t,n={}){const r=pL(e,n.getAnchorRect);if(!t||!r)return;const l=Object.assign({},AL,n),s=t.querySelector("[data-part=arrow]"),u=[wL(s,l),CL(l),kL(l),EL(s,t.ownerDocument,l),yL(s),bL({gutter:l.gutter,offset:l.offset,overlap:l.overlap},s),TL(l),OL(l),vL],{placement:f,strategy:g,onComplete:b,onPositioned:y}=l,S=async()=>{if(!r||!t)return;const z=await hL(r,t,{placement:f,middleware:u,strategy:g});b?.(z),y?.({placed:!0});const B=hr(t),V=RE(B,z.x),W=RE(B,z.y);t.style.setProperty("--x",`${V}px`),t.style.setProperty("--y",`${W}px`),l.hideWhenDetached&&(z.middlewareData.hide?.referenceHidden?(t.style.setProperty("visibility","hidden"),t.style.setProperty("pointer-events","none")):(t.style.removeProperty("visibility"),t.style.removeProperty("pointer-events")));const H=t.firstElementChild;if(H){const te=MA(H);t.style.setProperty("--z-index",te.zIndex)}},w=async()=>{n.updatePosition?(await n.updatePosition({updatePosition:S,floatingElement:t}),y?.({placed:!0})):await S()},C=_L(l.listeners),R=l.listeners?aL(r,t,w,C):hD;return w(),()=>{R?.(),y?.({placed:!1})}}function xl(e,t,n={}){const{defer:r,...l}=n,s=r?Dt:f=>f(),u=[];return u.push(s(()=>{const f=typeof e=="function"?e():e,g=typeof t=="function"?t():t;u.push(RL(f,g,l))})),()=>{u.forEach(f=>f?.())}}function PL(e){const t={each(n){for(let r=0;r<e.frames?.length;r+=1){const l=e.frames[r];l&&n(l)}},addEventListener(n,r,l){return t.each(s=>{try{s.document.addEventListener(n,r,l)}catch{}}),()=>{try{t.removeEventListener(n,r,l)}catch{}}},removeEventListener(n,r,l){t.each(s=>{try{s.document.removeEventListener(n,r,l)}catch{}})}};return t}function IL(e){const t=e.frameElement!=null?e.parent:null;return{addEventListener:(n,r,l)=>{try{t?.addEventListener(n,r,l)}catch{}return()=>{try{t?.removeEventListener(n,r,l)}catch{}}},removeEventListener:(n,r,l)=>{try{t?.removeEventListener(n,r,l)}catch{}}}}var PE="pointerdown.outside",IE="focus.outside";function zL(e){for(const t of e)if(Fi(t)&&Jv(t))return!0;return!1}var zE=e=>"clientY"in e;function NL(e,t){if(!zE(t)||!e)return!1;const n=e.getBoundingClientRect();return n.width===0||n.height===0?!1:n.top<=t.clientY&&t.clientY<=n.top+n.height&&n.left<=t.clientX&&t.clientX<=n.left+n.width}function DL(e,t){return e.y<=t.y&&t.y<=e.y+e.height&&e.x<=t.x&&t.x<=e.x+e.width}function NE(e,t){if(!t||!zE(e))return!1;const n=t.scrollHeight>t.clientHeight,r=n&&e.clientX>t.offsetLeft+t.clientWidth,l=t.scrollWidth>t.clientWidth,s=l&&e.clientY>t.offsetTop+t.clientHeight,u={x:t.offsetLeft,y:t.offsetTop,width:t.clientWidth+(n?16:0),height:t.clientHeight+(l?16:0)},f={x:e.clientX,y:e.clientY};return DL(u,f)?r||s:!1}function ML(e,t){const{exclude:n,onFocusOutside:r,onPointerDownOutside:l,onInteractOutside:s,defer:u}=t;if(!e)return;const f=bl(e),g=hr(e),b=PL(g),y=IL(g);function S(W,H){if(!Fi(H)||!H.isConnected||qu(e,H)||NL(e,W))return!1;const te=f.querySelector(`[aria-controls="${e.id}"]`);if(te){const K=Cp(te);if(NE(W,K))return!1}const U=Cp(e);return NE(W,U)?!1:!n?.(H)}const w=new Set,C=fh(e?.getRootNode());function R(W){function H(te){const U=u&&!FA()?Dt:ge=>ge(),K=te??W,be=K?.composedPath?.()??[K?.target];U(()=>{const ge=C?be[0]:Fs(W);if(!(!e||!S(W,ge))){if(l||s){const fe=vp(l,s);e.addEventListener(PE,fe,{once:!0})}DE(e,PE,{bubbles:!1,cancelable:!0,detail:{originalEvent:K,contextmenu:rM(K),focusable:zL(be),target:ge}})}})}W.pointerType==="touch"?(w.forEach(te=>te()),w.add(Nr(f,"click",H,{once:!0})),w.add(y.addEventListener("click",H,{once:!0})),w.add(b.addEventListener("click",H,{once:!0}))):H()}const z=new Set,B=setTimeout(()=>{z.add(Nr(f,"pointerdown",R,!0)),z.add(y.addEventListener("pointerdown",R,!0)),z.add(b.addEventListener("pointerdown",R,!0))},0);function V(W){(u?Dt:te=>te())(()=>{const te=Fs(W);if(!(!e||!S(W,te))){if(r||s){const U=vp(r,s);e.addEventListener(IE,U,{once:!0})}DE(e,IE,{bubbles:!1,cancelable:!0,detail:{originalEvent:W,contextmenu:!1,focusable:Jv(te),target:te}})}})}return FA()||(z.add(Nr(f,"focusin",V,!0)),z.add(y.addEventListener("focusin",V,!0)),z.add(b.addEventListener("focusin",V,!0))),()=>{clearTimeout(B),w.forEach(W=>W()),z.forEach(W=>W())}}function LL(e,t){const{defer:n}=t,r=n?Dt:s=>s(),l=[];return l.push(r(()=>{const s=typeof e=="function"?e():e;l.push(ML(s,t))})),()=>{l.forEach(s=>s?.())}}function DE(e,t,n){const r=e.ownerDocument.defaultView||window,l=new r.CustomEvent(t,n);return e.dispatchEvent(l)}function FL(e,t){const n=r=>{r.key==="Escape"&&(r.isComposing||t?.(r))};return Nr(bl(e),"keydown",n,{capture:!0})}var ME="layer:request-dismiss",Ya={layers:[],branches:[],count(){return this.layers.length},pointerBlockingLayers(){return this.layers.filter(e=>e.pointerBlocking)},topMostPointerBlockingLayer(){return[...this.pointerBlockingLayers()].slice(-1)[0]},hasPointerBlockingLayer(){return this.pointerBlockingLayers().length>0},isBelowPointerBlockingLayer(e){const t=this.indexOf(e),n=this.topMostPointerBlockingLayer()?this.indexOf(this.topMostPointerBlockingLayer()?.node):-1;return t<n},isTopMost(e){return this.layers[this.count()-1]?.node===e},getNestedLayers(e){return Array.from(this.layers).slice(this.indexOf(e)+1)},getLayersByType(e){return this.layers.filter(t=>t.type===e)},getNestedLayersByType(e,t){const n=this.indexOf(e);return n===-1?[]:this.layers.slice(n+1).filter(r=>r.type===t)},getParentLayerOfType(e,t){const n=this.indexOf(e);if(!(n<=0))return this.layers.slice(0,n).reverse().find(r=>r.type===t)},countNestedLayersOfType(e,t){return this.getNestedLayersByType(e,t).length},isInNestedLayer(e,t){return this.getNestedLayers(e).some(n=>qu(n.node,t))},isInBranch(e){return Array.from(this.branches).some(t=>qu(t,e))},add(e){this.layers.push(e),this.syncLayers()},addBranch(e){this.branches.push(e)},remove(e){const t=this.indexOf(e);t<0||(t<this.count()-1&&this.getNestedLayers(e).forEach(r=>Ya.dismiss(r.node,e)),this.layers.splice(t,1),this.syncLayers())},removeBranch(e){const t=this.branches.indexOf(e);t>=0&&this.branches.splice(t,1)},syncLayers(){this.layers.forEach((e,t)=>{e.node.style.setProperty("--layer-index",`${t}`),e.node.removeAttribute("data-nested"),e.node.removeAttribute("data-has-nested"),this.getParentLayerOfType(e.node,e.type)&&e.node.setAttribute("data-nested",e.type);const r=this.countNestedLayersOfType(e.node,e.type);r>0&&e.node.setAttribute("data-has-nested",e.type),e.node.style.setProperty("--nested-layer-count",`${r}`)})},indexOf(e){return this.layers.findIndex(t=>t.node===e)},dismiss(e,t){const n=this.indexOf(e);if(n===-1)return;const r=this.layers[n];BL(e,ME,l=>{r.requestDismiss?.(l),l.defaultPrevented||r?.dismiss()}),VL(e,ME,{originalLayer:e,targetLayer:t,originalIndex:n,targetIndex:t?this.indexOf(t):-1}),this.syncLayers()},clear(){this.remove(this.layers[0].node)}};function VL(e,t,n){const r=e.ownerDocument.defaultView||window,l=new r.CustomEvent(t,{cancelable:!0,bubbles:!0,detail:n});return e.dispatchEvent(l)}function BL(e,t,n){e.addEventListener(t,n,{once:!0})}var LE;function FE(){Ya.layers.forEach(({node:e})=>{e.style.pointerEvents=Ya.isBelowPointerBlockingLayer(e)?"none":"auto"})}function HL(e){e.style.pointerEvents=""}function WL(e,t){const n=bl(e),r=[];return Ya.hasPointerBlockingLayer()&&!n.body.hasAttribute("data-inert")&&(LE=document.body.style.pointerEvents,queueMicrotask(()=>{n.body.style.pointerEvents="none",n.body.setAttribute("data-inert","")})),t?.forEach(l=>{const[s,u]=LM(()=>{const f=l();return Fi(f)?f:null},{timeout:1e3});s.then(f=>r.push(zM(f,{pointerEvents:"auto"}))),r.push(u)}),()=>{Ya.hasPointerBlockingLayer()||(queueMicrotask(()=>{n.body.style.pointerEvents=LE,n.body.removeAttribute("data-inert"),n.body.style.length===0&&n.body.removeAttribute("style")}),r.forEach(l=>l()))}}function GL(e,t){const{warnOnMissingNode:n=!0}=t;if(n&&!e){IA("[@zag-js/dismissable] node is `null` or `undefined`");return}if(!e)return;const{onDismiss:r,onRequestDismiss:l,pointerBlocking:s,exclude:u,debug:f,type:g="dialog"}=t,b={dismiss:r,node:e,type:g,pointerBlocking:s,requestDismiss:l};Ya.add(b),FE();function y(z){const B=Fs(z.detail.originalEvent);Ya.isBelowPointerBlockingLayer(e)||Ya.isInBranch(B)||(t.onPointerDownOutside?.(z),t.onInteractOutside?.(z),!z.defaultPrevented&&(f&&console.log("onPointerDownOutside:",z.detail.originalEvent),r?.()))}function S(z){const B=Fs(z.detail.originalEvent);Ya.isInBranch(B)||(t.onFocusOutside?.(z),t.onInteractOutside?.(z),!z.defaultPrevented&&(f&&console.log("onFocusOutside:",z.detail.originalEvent),r?.()))}function w(z){Ya.isTopMost(e)&&(t.onEscapeKeyDown?.(z),!z.defaultPrevented&&r&&(z.preventDefault(),r()))}function C(z){if(!e)return!1;const B=typeof u=="function"?u():u,V=Array.isArray(B)?B:[B],W=t.persistentElements?.map(H=>H()).filter(Fi);return W&&V.push(...W),V.some(H=>qu(H,z))||Ya.isInNestedLayer(e,z)}const R=[s?WL(e,t.persistentElements):void 0,FL(e,w),LL(e,{exclude:C,onFocusOutside:S,onPointerDownOutside:y,defer:t.defer})];return()=>{Ya.remove(e),FE(),HL(e),R.forEach(z=>z?.())}}function mh(e,t){const{defer:n}=t,r=n?Dt:s=>s(),l=[];return l.push(r(()=>{const s=SA(e)?e():e;l.push(GL(s,t))})),()=>{l.forEach(s=>s?.())}}var VE=tt("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"]);VE.build();var UL=e=>e.ids?.hiddenInput??`color-picker:${e.id}:hidden-input`,YL=e=>e.ids?.control??`color-picker:${e.id}:control`,XL=e=>e.ids?.trigger??`color-picker:${e.id}:trigger`,ZL=e=>e.ids?.content??`color-picker:${e.id}:content`,KL=e=>e.ids?.positioner??`color-picker:${e.id}:positioner`,jL=e=>e.ids?.formatSelect??`color-picker:${e.id}:format-select`,JL=e=>e.ids?.area??`color-picker:${e.id}:area`,QL=e=>e.ids?.areaThumb??`color-picker:${e.id}:area-thumb`,qL=(e,t)=>e.ids?.channelSliderTrack?.(t)??`color-picker:${e.id}:slider-track:${t}`,$L=(e,t)=>e.ids?.channelSliderThumb?.(t)??`color-picker:${e.id}:slider-thumb:${t}`,Fp=e=>e.getById(ZL(e)),eF=e=>e.getById(QL(e)),tF=(e,t)=>e.getById($L(e,t)),nF=e=>e.getById(jL(e)),BE=e=>e.getById(UL(e)),rF=e=>e.getById(JL(e)),iF=(e,t,n)=>{const r=rF(e);if(!r)return;const{getPercentValue:l}=XA(t,r);return{x:l({dir:n,orientation:"horizontal"}),y:l({orientation:"vertical"})}},aF=e=>e.getById(YL(e)),y0=e=>e.getById(XL(e)),lF=e=>e.getById(KL(e)),oF=(e,t)=>e.getById(qL(e,t)),sF=(e,t,n,r)=>{const l=oF(e,n);if(!l)return;const{getPercentValue:s}=XA(t,l);return{x:s({dir:r,orientation:"horizontal"}),y:s({orientation:"vertical"})}},uF=e=>[...Op(Fp(e),"input[data-channel]"),...Op(aF(e),"input[data-channel]")];function cF(e,t){if(t==null)return"";if(t==="hex")return e.toString("hex");if(t==="css")return e.toString("css");if(t in e)return e.getChannelValue(t).toString();const n=e.getFormat()==="hsla";switch(t){case"hue":return n?e.toFormat("hsla").getChannelValue("hue").toString():e.toFormat("hsba").getChannelValue("hue").toString();case"saturation":return n?e.toFormat("hsla").getChannelValue("saturation").toString():e.toFormat("hsba").getChannelValue("saturation").toString();case"lightness":return e.toFormat("hsla").getChannelValue("lightness").toString();case"brightness":return e.toFormat("hsba").getChannelValue("brightness").toString();case"red":case"green":case"blue":return e.toFormat("rgba").getChannelValue(t).toString();default:return e.getChannelValue(t).toString()}}var HE=e=>_p(e),fF=/^[0-9a-fA-F]{3,8}$/;function dF(e){return fF.test(e)}function hF(e){return e.startsWith("#")?e:dF(e)?`#${e}`:e}var{and:gF}=Vs();gF("isOpenControlled","closeOnSelect");function WE(e,t,n){const r=uF(e);Dt(()=>{r.forEach(l=>{const s=l.dataset.channel;Ep(l,cF(n||t,s))})})}function pF(e,t){const n=nF(e);n&&Dt(()=>Ep(n,t))}et()(["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"]),et()(["xChannel","yChannel"]),et()(["channel","orientation"]),et()(["value","disabled"]),et()(["value","respectAlpha"]),et()(["size"]);var GE=tt("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator");GE.build();var UE=e=>e.ids?.root??`accordion:${e.id}`,YE=(e,t)=>e.ids?.itemTrigger?.(t)??`accordion:${e.id}:trigger:${t}`,mF=e=>e.getById(UE(e)),Vp=e=>{const n=`[aria-controls][data-ownedby='${CSS.escape(UE(e))}']:not([disabled])`;return Op(mF(e),n)},bF=e=>uh(Vp(e)),vF=e=>Hv(Vp(e)),yF=(e,t)=>TM(Vp(e),YE(e,t)),xF=(e,t)=>OM(Vp(e),YE(e,t)),{and:SF,not:AF}=Vs();SF("isExpanded","canToggle"),AF("isExpanded"),et()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"]),et()(["value","disabled"]);var bh=(e,t)=>({x:e,y:t});function EF(e){const{x:t,y:n,width:r,height:l}=e,s=t+r/2,u=n+l/2;return{x:t,y:n,width:r,height:l,minX:t,minY:n,maxX:t+r,maxY:n+l,midX:s,midY:u,center:bh(s,u)}}function wF(e){const t=bh(e.minX,e.minY),n=bh(e.maxX,e.minY),r=bh(e.maxX,e.maxY),l=bh(e.minX,e.maxY);return{top:t,right:n,bottom:r,left:l}}function CF(e,t){const n=EF(e),{top:r,right:l,left:s,bottom:u}=wF(n),[f]=t.split("-");return{top:[s,r,l,u],right:[r,l,u,s],bottom:[r,s,u,l],left:[l,r,s,u]}[f]}function kF(e,t){const{x:n,y:r}=t;let l=!1;for(let s=0,u=e.length-1;s<e.length;u=s++){const f=e[s].x,g=e[s].y,b=e[u].x,y=e[u].y;g>r!=y>r&&n<(b-f)*(r-g)/(y-g)+f&&(l=!l)}return l}var XE=tt("avatar").parts("root","image","fallback");XE.build(),et()(["dir","id","ids","onStatusChange","getRootNode"]);function TF(e){return!(e.metaKey||!Ap()&&e.altKey||e.ctrlKey||e.key==="Control"||e.key==="Shift"||e.key==="Meta")}var OF=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function _F(e,t,n){const r=n?Fs(n):null,l=hr(r);return e=e||r instanceof l.HTMLInputElement&&!OF.has(r?.type)||r instanceof l.HTMLTextAreaElement||r instanceof l.HTMLElement&&r.isContentEditable,!(e&&t==="keyboard"&&n instanceof l.KeyboardEvent&&!Reflect.has(RF,n.key))}var ec=null,x0=new Set,vh=new Map,tc=!1,S0=!1,RF={Tab:!0,Escape:!0};function Bp(e,t){for(let n of x0)n(e,t)}function Hp(e){tc=!0,TF(e)&&(ec="keyboard",Bp("keyboard",e))}function Xa(e){ec="pointer",(e.type==="mousedown"||e.type==="pointerdown")&&(tc=!0,Bp("pointer",e))}function ZE(e){nM(e)&&(tc=!0,ec="virtual")}function KE(e){const t=Fs(e);t===hr(t)||t===bl(t)||(!tc&&!S0&&(ec="virtual",Bp("virtual",e)),tc=!1,S0=!1)}function jE(){tc=!1,S0=!0}function PF(e){if(typeof window>"u"||vh.get(hr(e)))return;const t=hr(e),n=bl(e);let r=t.HTMLElement.prototype.focus;function l(){ec="virtual",Bp("virtual",null),tc=!0,r.apply(this,arguments)}Object.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,value:l}),n.addEventListener("keydown",Hp,!0),n.addEventListener("keyup",Hp,!0),n.addEventListener("click",ZE,!0),t.addEventListener("focus",KE,!0),t.addEventListener("blur",jE,!1),typeof t.PointerEvent<"u"?(n.addEventListener("pointerdown",Xa,!0),n.addEventListener("pointermove",Xa,!0),n.addEventListener("pointerup",Xa,!0)):(n.addEventListener("mousedown",Xa,!0),n.addEventListener("mousemove",Xa,!0),n.addEventListener("mouseup",Xa,!0)),t.addEventListener("beforeunload",()=>{IF(e)},{once:!0}),vh.set(t,{focus:r})}var IF=(e,t)=>{const n=hr(e),r=bl(e);vh.has(n)&&(n.HTMLElement.prototype.focus=vh.get(n).focus,r.removeEventListener("keydown",Hp,!0),r.removeEventListener("keyup",Hp,!0),r.removeEventListener("click",ZE,!0),n.removeEventListener("focus",KE,!0),n.removeEventListener("blur",jE,!1),typeof n.PointerEvent<"u"?(r.removeEventListener("pointerdown",Xa,!0),r.removeEventListener("pointermove",Xa,!0),r.removeEventListener("pointerup",Xa,!0)):(r.removeEventListener("mousedown",Xa,!0),r.removeEventListener("mousemove",Xa,!0),r.removeEventListener("mouseup",Xa,!0)),vh.delete(n))};function JE(){return ec==="keyboard"}function zF(e={}){const{isTextInput:t,autoFocus:n,onChange:r,root:l}=e;PF(l),r?.({isFocusVisible:n||JE(),modality:ec});const s=(u,f)=>{_F(!!t,u,f)&&r?.({isFocusVisible:JE(),modality:u})};return x0.add(s),()=>{x0.delete(s)}}var QE=tt("checkbox").parts("root","label","control","indicator");QE.build(),et()(["defaultChecked","checked","dir","disabled","form","getRootNode","id","ids","invalid","name","onCheckedChange","readOnly","required","value"]);const NF=QE.extendWith("group");var qE=tt("clipboard").parts("root","control","trigger","indicator","input","label");qE.build(),et()(["getRootNode","id","ids","value","defaultValue","timeout","onStatusChange","onValueChange"]),et()(["copied"]);const DF=VE.extendWith("view");var MF=Object.defineProperty,LF=(e,t,n)=>t in e?MF(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t,n)=>LF(e,typeof t!="symbol"?t+"":t,n),Wp={itemToValue(e){return typeof e=="string"?e:Qu(e)&&Ms(e,"value")?e.value:""},itemToString(e){return typeof e=="string"?e:Qu(e)&&Ms(e,"label")?e.label:Wp.itemToValue(e)},isItemDisabled(e){return Qu(e)&&Ms(e,"disabled")?!!e.disabled:!1}},Gp=class UT{constructor(t){this.options=t,De(this,"items"),De(this,"indexMap",null),De(this,"copy",n=>new UT({...this.options,items:n??[...this.items]})),De(this,"isEqual",n=>ml(this.items,n.items)),De(this,"setItems",n=>this.copy(n)),De(this,"getValues",(n=this.items)=>{const r=[];for(const l of n){const s=this.getItemValue(l);s!=null&&r.push(s)}return r}),De(this,"find",n=>{if(n==null)return null;const r=this.indexOf(n);return r!==-1?this.at(r):null}),De(this,"findMany",n=>{const r=[];for(const l of n){const s=this.find(l);s!=null&&r.push(s)}return r}),De(this,"at",n=>{if(!this.options.groupBy&&!this.options.groupSort)return this.items[n]??null;let r=0;const l=this.group();for(const[,s]of l)for(const u of s){if(r===n)return u;r++}return null}),De(this,"sortFn",(n,r)=>{const l=this.indexOf(n),s=this.indexOf(r);return(l??0)-(s??0)}),De(this,"sort",n=>[...n].sort(this.sortFn.bind(this))),De(this,"getItemValue",n=>n==null?null:this.options.itemToValue?.(n)??Wp.itemToValue(n)),De(this,"getItemDisabled",n=>n==null?!1:this.options.isItemDisabled?.(n)??Wp.isItemDisabled(n)),De(this,"stringifyItem",n=>n==null?null:this.options.itemToString?.(n)??Wp.itemToString(n)),De(this,"stringify",n=>n==null?null:this.stringifyItem(this.find(n))),De(this,"stringifyItems",(n,r=", ")=>{const l=[];for(const s of n){const u=this.stringifyItem(s);u!=null&&l.push(u)}return l.join(r)}),De(this,"stringifyMany",(n,r)=>this.stringifyItems(this.findMany(n),r)),De(this,"has",n=>this.indexOf(n)!==-1),De(this,"hasItem",n=>n==null?!1:this.has(this.getItemValue(n))),De(this,"group",()=>{const{groupBy:n,groupSort:r}=this.options;if(!n)return[["",[...this.items]]];const l=new Map;this.items.forEach((u,f)=>{const g=n(u,f);l.has(g)||l.set(g,[]),l.get(g).push(u)});let s=Array.from(l.entries());return r&&s.sort(([u],[f])=>{if(typeof r=="function")return r(u,f);if(Array.isArray(r)){const g=r.indexOf(u),b=r.indexOf(f);return g===-1?1:b===-1?-1:g-b}return r==="asc"?u.localeCompare(f):r==="desc"?f.localeCompare(u):0}),s}),De(this,"getNextValue",(n,r=1,l=!1)=>{let s=this.indexOf(n);if(s===-1)return null;for(s=l?Math.min(s+r,this.size-1):s+r;s<=this.size&&this.getItemDisabled(this.at(s));)s++;return this.getItemValue(this.at(s))}),De(this,"getPreviousValue",(n,r=1,l=!1)=>{let s=this.indexOf(n);if(s===-1)return null;for(s=l?Math.max(s-r,0):s-r;s>=0&&this.getItemDisabled(this.at(s));)s--;return this.getItemValue(this.at(s))}),De(this,"indexOf",n=>{if(n==null)return-1;if(!this.options.groupBy&&!this.options.groupSort)return this.items.findIndex(r=>this.getItemValue(r)===n);if(!this.indexMap){this.indexMap=new Map;let r=0;const l=this.group();for(const[,s]of l)for(const u of s){const f=this.getItemValue(u);f!=null&&this.indexMap.set(f,r),r++}}return this.indexMap.get(n)??-1}),De(this,"getByText",(n,r)=>{const l=r!=null?this.indexOf(r):-1,s=n.length===1;for(let u=0;u<this.items.length;u++){const f=this.items[(l+u+1)%this.items.length];if(!(s&&this.getItemValue(f)===r)&&!this.getItemDisabled(f)&&FF(this.stringifyItem(f),n))return f}}),De(this,"search",(n,r)=>{const{state:l,currentValue:s,timeout:u=350}=r,f=l.keysSoFar+n,b=f.length>1&&Array.from(f).every(R=>R===f[0])?f[0]:f,y=this.getByText(b,s),S=this.getItemValue(y);function w(){clearTimeout(l.timer),l.timer=-1}function C(R){l.keysSoFar=R,w(),R!==""&&(l.timer=+setTimeout(()=>{C(""),w()},u))}return C(f),S}),De(this,"update",(n,r)=>{let l=this.indexOf(n);return l===-1?this:this.copy([...this.items.slice(0,l),r,...this.items.slice(l+1)])}),De(this,"upsert",(n,r,l="append")=>{let s=this.indexOf(n);return s===-1?(l==="append"?this.append:this.prepend)(r):this.copy([...this.items.slice(0,s),r,...this.items.slice(s+1)])}),De(this,"insert",(n,...r)=>this.copy(yh(this.items,n,...r))),De(this,"insertBefore",(n,...r)=>{let l=this.indexOf(n);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(yh(this.items,l,...r))}),De(this,"insertAfter",(n,...r)=>{let l=this.indexOf(n);if(l===-1)if(this.items.length===0)l=0;else return this;return this.copy(yh(this.items,l+1,...r))}),De(this,"prepend",(...n)=>this.copy(yh(this.items,0,...n))),De(this,"append",(...n)=>this.copy(yh(this.items,this.items.length,...n))),De(this,"filter",n=>{const r=this.items.filter((l,s)=>n(this.stringifyItem(l),s,l));return this.copy(r)}),De(this,"remove",(...n)=>{const r=n.map(l=>typeof l=="string"?l:this.getItemValue(l));return this.copy(this.items.filter(l=>{const s=this.getItemValue(l);return s==null?!1:!r.includes(s)}))}),De(this,"move",(n,r)=>{const l=this.indexOf(n);return l===-1?this:this.copy(Up(this.items,[l],r))}),De(this,"moveBefore",(n,...r)=>{let l=this.items.findIndex(u=>this.getItemValue(u)===n);if(l===-1)return this;let s=r.map(u=>this.items.findIndex(f=>this.getItemValue(f)===u)).sort((u,f)=>u-f);return this.copy(Up(this.items,s,l))}),De(this,"moveAfter",(n,...r)=>{let l=this.items.findIndex(u=>this.getItemValue(u)===n);if(l===-1)return this;let s=r.map(u=>this.items.findIndex(f=>this.getItemValue(f)===u)).sort((u,f)=>u-f);return this.copy(Up(this.items,s,l+1))}),De(this,"reorder",(n,r)=>this.copy(Up(this.items,[n],r))),De(this,"compareValue",(n,r)=>{const l=this.indexOf(n),s=this.indexOf(r);return l<s?-1:l>s?1:0}),De(this,"range",(n,r)=>{let l=[],s=n;for(;s!=null;){if(this.find(s)&&l.push(s),s===r)return l;s=this.getNextValue(s)}return[]}),De(this,"getValueRange",(n,r)=>n&&r?this.compareValue(n,r)<=0?this.range(n,r):this.range(r,n):[]),De(this,"toString",()=>{let n="";for(const r of this.items){const l=this.getItemValue(r),s=this.stringifyItem(r),u=this.getItemDisabled(r),f=[l,s,u].filter(Boolean).join(":");n+=f+","}return n}),De(this,"toJSON",()=>({size:this.size,first:this.firstValue,last:this.lastValue})),this.items=[...t.items]}get size(){return this.items.length}get firstValue(){let t=0;for(;this.getItemDisabled(this.at(t));)t++;return this.getItemValue(this.at(t))}get lastValue(){let t=this.size-1;for(;this.getItemDisabled(this.at(t));)t--;return this.getItemValue(this.at(t))}*[Symbol.iterator](){yield*this.items}},FF=(e,t)=>!!e?.toLowerCase().startsWith(t.toLowerCase());function yh(e,t,...n){return[...e.slice(0,t),...n,...e.slice(t)]}function Up(e,t,n){t=[...t].sort((l,s)=>l-s);const r=t.map(l=>e[l]);for(let l=t.length-1;l>=0;l--)e=[...e.slice(0,t[l]),...e.slice(t[l]+1)];return n=Math.max(0,n-t.filter(l=>l<n).length),[...e.slice(0,n),...r,...e.slice(n)]}function $E(e,t,n){for(let r=0;r<t.length;r++)e=n.getChildren(e,t.slice(r+1))[t[r]];return e}function VF(e){const t=BF(e),n=[],r=new Set;for(const l of t){const s=l.join();r.has(s)||(r.add(s),n.push(l))}return n}function ew(e,t){for(let n=0;n<Math.min(e.length,t.length);n++){if(e[n]<t[n])return-1;if(e[n]>t[n])return 1}return e.length-t.length}function BF(e){return e.sort(ew)}function HF(e,t){let n;return ua(e,{...t,onEnter:(r,l)=>{if(t.predicate(r,l))return n=r,"stop"}}),n}function WF(e,t){const n=[];return ua(e,{onEnter:(r,l)=>{t.predicate(r,l)&&n.push(r)},getChildren:t.getChildren}),n}function tw(e,t){let n;return ua(e,{onEnter:(r,l)=>{if(t.predicate(r,l))return n=[...l],"stop"},getChildren:t.getChildren}),n}function GF(e,t){let n=t.initialResult;return ua(e,{...t,onEnter:(r,l)=>{n=t.nextResult(n,r,l)}}),n}function UF(e,t){return GF(e,{...t,initialResult:[],nextResult:(n,r,l)=>(n.push(...t.transform(r,l)),n)})}function YF(e,t){const{predicate:n,create:r,getChildren:l}=t,s=(u,f)=>{const g=l(u,f),b=[];g.forEach((C,R)=>{const z=[...f,R],B=s(C,z);B&&b.push(B)});const y=f.length===0,S=n(u,f),w=b.length>0;return y||S||w?r(u,b,f):null};return s(e,[])||r(e,[],[])}function XF(e,t){const n=[];let r=0;const l=new Map,s=new Map;return ua(e,{getChildren:t.getChildren,onEnter:(u,f)=>{l.has(u)||l.set(u,r++);const g=t.getChildren(u,f);g.forEach(C=>{s.has(C)||s.set(C,u),l.has(C)||l.set(C,r++)});const b=g.length>0?g.map(C=>l.get(C)):void 0,y=s.get(u),S=y?l.get(y):void 0,w=l.get(u);n.push({...u,_children:b,_parent:S,_index:w})}}),n}function ZF(e,t){return{type:"insert",index:e,nodes:t}}function KF(e){return{type:"remove",indexes:e}}function A0(){return{type:"replace"}}function nw(e){return[e.slice(0,-1),e[e.length-1]]}function rw(e,t,n=new Map){const[r,l]=nw(e);for(let u=r.length-1;u>=0;u--){const f=r.slice(0,u).join();switch(n.get(f)?.type){case"remove":continue}n.set(f,A0())}const s=n.get(r.join());switch(s?.type){case"remove":n.set(r.join(),{type:"removeThenInsert",removeIndexes:s.indexes,insertIndex:l,insertNodes:t});break;default:n.set(r.join(),ZF(l,t))}return n}function iw(e){const t=new Map,n=new Map;for(const r of e){const l=r.slice(0,-1).join(),s=n.get(l)??[];s.push(r[r.length-1]),n.set(l,s.sort((u,f)=>u-f))}for(const r of e)for(let l=r.length-2;l>=0;l--){const s=r.slice(0,l).join();t.has(s)||t.set(s,A0())}for(const[r,l]of n)t.set(r,KF(l));return t}function jF(e,t){const n=new Map,[r,l]=nw(e);for(let s=r.length-1;s>=0;s--){const u=r.slice(0,s).join();n.set(u,A0())}return n.set(r.join(),{type:"removeThenInsert",removeIndexes:[l],insertIndex:l,insertNodes:[t]}),n}function Yp(e,t,n){return JF(e,{...n,getChildren:(r,l)=>{const s=l.join();switch(t.get(s)?.type){case"replace":case"remove":case"removeThenInsert":case"insert":return n.getChildren(r,l);default:return[]}},transform:(r,l,s)=>{const u=s.join(),f=t.get(u);switch(f?.type){case"remove":return n.create(r,l.filter((y,S)=>!f.indexes.includes(S)),s);case"removeThenInsert":const g=l.filter((y,S)=>!f.removeIndexes.includes(S)),b=f.removeIndexes.reduce((y,S)=>S<y?y-1:y,f.insertIndex);return n.create(r,aw(g,b,0,...f.insertNodes),s);case"insert":return n.create(r,aw(l,f.index,0,...f.nodes),s);case"replace":return n.create(r,l,s);default:return r}}})}function aw(e,t,n,...r){return[...e.slice(0,t),...r,...e.slice(t+n)]}function JF(e,t){const n={};return ua(e,{...t,onLeave:(r,l)=>{const s=[0,...l],u=s.join(),f=t.transform(r,n[u]??[],l),g=s.slice(0,-1).join(),b=n[g]??[];b.push(f),n[g]=b}}),n[""][0]}function QF(e,t){const{nodes:n,at:r}=t;if(r.length===0)throw new Error("Can't insert nodes at the root");const l=rw(r,n);return Yp(e,l,t)}function qF(e,t){if(t.at.length===0)return t.node;const n=jF(t.at,t.node);return Yp(e,n,t)}function $F(e,t){if(t.indexPaths.length===0)return e;for(const r of t.indexPaths)if(r.length===0)throw new Error("Can't remove the root node");const n=iw(t.indexPaths);return Yp(e,n,t)}function eV(e,t){if(t.indexPaths.length===0)return e;for(const s of t.indexPaths)if(s.length===0)throw new Error("Can't move the root node");if(t.to.length===0)throw new Error("Can't move nodes to the root");const n=VF(t.indexPaths),r=n.map(s=>$E(e,s,t)),l=rw(t.to,r,iw(n));return Yp(e,l,t)}function ua(e,t){const{onEnter:n,onLeave:r,getChildren:l}=t;let s=[],u=[{node:e}];const f=t.reuseIndexPath?()=>s:()=>s.slice();for(;u.length>0;){let g=u[u.length-1];if(g.state===void 0){const y=n?.(g.node,f());if(y==="stop")return;g.state=y==="skip"?-1:0}const b=g.children||l(g.node,f());if(g.children||(g.children=b),g.state!==-1){if(g.state<b.length){let S=g.state;s.push(S),u.push({node:b[S]}),g.state=S+1;continue}if(r?.(g.node,f())==="stop")return}s.pop(),u.pop()}}var lw=class YT{constructor(t){this.options=t,De(this,"rootNode"),De(this,"isEqual",n=>ml(this.rootNode,n.rootNode)),De(this,"getNodeChildren",n=>this.options.nodeToChildren?.(n)??wf.nodeToChildren(n)??[]),De(this,"resolveIndexPath",n=>typeof n=="string"?this.getIndexPath(n):n),De(this,"resolveNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(r):void 0}),De(this,"getNodeChildrenCount",n=>this.options.nodeToChildrenCount?.(n)??wf.nodeToChildrenCount(n)),De(this,"getNodeValue",n=>this.options.nodeToValue?.(n)??wf.nodeToValue(n)),De(this,"getNodeDisabled",n=>this.options.isNodeDisabled?.(n)??wf.isNodeDisabled(n)),De(this,"stringify",n=>{const r=this.findNode(n);return r?this.stringifyNode(r):null}),De(this,"stringifyNode",n=>this.options.nodeToString?.(n)??wf.nodeToString(n)),De(this,"getFirstNode",(n=this.rootNode)=>{let r;return ua(n,{getChildren:this.getNodeChildren,onEnter:(l,s)=>{if(!r&&s.length>0&&!this.getNodeDisabled(l))return r=l,"stop"}}),r}),De(this,"getLastNode",(n=this.rootNode,r={})=>{let l;return ua(n,{getChildren:this.getNodeChildren,onEnter:(s,u)=>{if(!this.isSameNode(s,n)){if(r.skip?.({value:this.getNodeValue(s),node:s,indexPath:u}))return"skip";u.length>0&&!this.getNodeDisabled(s)&&(l=s)}}}),l}),De(this,"at",n=>$E(this.rootNode,n,{getChildren:this.getNodeChildren})),De(this,"findNode",(n,r=this.rootNode)=>HF(r,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===n})),De(this,"findNodes",(n,r=this.rootNode)=>{const l=new Set(n.filter(s=>s!=null));return WF(r,{getChildren:this.getNodeChildren,predicate:s=>l.has(this.getNodeValue(s))})}),De(this,"sort",n=>n.reduce((r,l)=>{const s=this.getIndexPath(l);return s&&r.push({value:l,indexPath:s}),r},[]).sort((r,l)=>ew(r.indexPath,l.indexPath)).map(({value:r})=>r)),De(this,"getIndexPath",n=>tw(this.rootNode,{getChildren:this.getNodeChildren,predicate:r=>this.getNodeValue(r)===n})),De(this,"getValue",n=>{const r=this.at(n);return r?this.getNodeValue(r):void 0}),De(this,"getValuePath",n=>{if(!n)return[];const r=[];let l=[...n];for(;l.length>0;){const s=this.at(l);s&&r.unshift(this.getNodeValue(s)),l.pop()}return r}),De(this,"getDepth",n=>tw(this.rootNode,{getChildren:this.getNodeChildren,predicate:l=>this.getNodeValue(l)===n})?.length??0),De(this,"isSameNode",(n,r)=>this.getNodeValue(n)===this.getNodeValue(r)),De(this,"isRootNode",n=>this.isSameNode(n,this.rootNode)),De(this,"contains",(n,r)=>!n||!r?!1:r.slice(0,n.length).every((l,s)=>n[s]===r[s])),De(this,"getNextNode",(n,r={})=>{let l=!1,s;return ua(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(u,f)=>{if(this.isRootNode(u))return;const g=this.getNodeValue(u);if(r.skip?.({value:g,node:u,indexPath:f}))return g===n&&(l=!0),"skip";if(l&&!this.getNodeDisabled(u))return s=u,"stop";g===n&&(l=!0)}}),s}),De(this,"getPreviousNode",(n,r={})=>{let l,s=!1;return ua(this.rootNode,{getChildren:this.getNodeChildren,onEnter:(u,f)=>{if(this.isRootNode(u))return;const g=this.getNodeValue(u);if(r.skip?.({value:g,node:u,indexPath:f}))return"skip";if(g===n)return s=!0,"stop";this.getNodeDisabled(u)||(l=u)}}),s?l:void 0}),De(this,"getParentNodes",n=>{const r=this.resolveIndexPath(n)?.slice();if(!r)return[];const l=[];for(;r.length>0;){r.pop();const s=this.at(r);s&&!this.isRootNode(s)&&l.unshift(s)}return l}),De(this,"getDescendantNodes",(n,r)=>{const l=this.resolveNode(n);if(!l)return[];const s=[];return ua(l,{getChildren:this.getNodeChildren,onEnter:(u,f)=>{f.length!==0&&(!r?.withBranch&&this.isBranchNode(u)||s.push(u))}}),s}),De(this,"getDescendantValues",(n,r)=>this.getDescendantNodes(n,r).map(s=>this.getNodeValue(s))),De(this,"getParentIndexPath",n=>n.slice(0,-1)),De(this,"getParentNode",n=>{const r=this.resolveIndexPath(n);return r?this.at(this.getParentIndexPath(r)):void 0}),De(this,"visit",n=>{const{skip:r,...l}=n;ua(this.rootNode,{...l,getChildren:this.getNodeChildren,onEnter:(s,u)=>{if(!this.isRootNode(s))return r?.({value:this.getNodeValue(s),node:s,indexPath:u})?"skip":l.onEnter?.(s,u)}})}),De(this,"getPreviousSibling",n=>{const r=this.getParentNode(n);if(!r)return;const l=this.getNodeChildren(r);let s=n[n.length-1];for(;--s>=0;){const u=l[s];if(!this.getNodeDisabled(u))return u}}),De(this,"getNextSibling",n=>{const r=this.getParentNode(n);if(!r)return;const l=this.getNodeChildren(r);let s=n[n.length-1];for(;++s<l.length;){const u=l[s];if(!this.getNodeDisabled(u))return u}}),De(this,"getSiblingNodes",n=>{const r=this.getParentNode(n);return r?this.getNodeChildren(r):[]}),De(this,"getValues",(n=this.rootNode)=>UF(n,{getChildren:this.getNodeChildren,transform:l=>[this.getNodeValue(l)]}).slice(1)),De(this,"isValidDepth",(n,r)=>r==null?!0:typeof r=="function"?r(n.length):n.length===r),De(this,"isBranchNode",n=>this.getNodeChildren(n).length>0||this.getNodeChildrenCount(n)!=null),De(this,"getBranchValues",(n=this.rootNode,r={})=>{let l=[];return ua(n,{getChildren:this.getNodeChildren,onEnter:(s,u)=>{if(u.length===0)return;const f=this.getNodeValue(s);if(r.skip?.({value:f,node:s,indexPath:u}))return"skip";this.isBranchNode(s)&&this.isValidDepth(u,r.depth)&&l.push(this.getNodeValue(s))}}),l}),De(this,"flatten",(n=this.rootNode)=>XF(n,{getChildren:this.getNodeChildren})),De(this,"_create",(n,r)=>this.getNodeChildren(n).length>0||r.length>0?{...n,children:r}:{...n}),De(this,"_insert",(n,r,l)=>this.copy(QF(n,{at:r,nodes:l,getChildren:this.getNodeChildren,create:this._create}))),De(this,"copy",n=>new YT({...this.options,rootNode:n})),De(this,"_replace",(n,r,l)=>this.copy(qF(n,{at:r,node:l,getChildren:this.getNodeChildren,create:this._create}))),De(this,"_move",(n,r,l)=>this.copy(eV(n,{indexPaths:r,to:l,getChildren:this.getNodeChildren,create:this._create}))),De(this,"_remove",(n,r)=>this.copy($F(n,{indexPaths:r,getChildren:this.getNodeChildren,create:this._create}))),De(this,"replace",(n,r)=>this._replace(this.rootNode,n,r)),De(this,"remove",n=>this._remove(this.rootNode,n)),De(this,"insertBefore",(n,r)=>this.getParentNode(n)?this._insert(this.rootNode,n,r):void 0),De(this,"insertAfter",(n,r)=>{if(!this.getParentNode(n))return;const s=[...n.slice(0,-1),n[n.length-1]+1];return this._insert(this.rootNode,s,r)}),De(this,"move",(n,r)=>this._move(this.rootNode,n,r)),De(this,"filter",n=>{const r=YF(this.rootNode,{predicate:n,getChildren:this.getNodeChildren,create:this._create});return this.copy(r)}),De(this,"toJSON",()=>this.getValues(this.rootNode)),this.rootNode=t.rootNode}},wf={nodeToValue(e){return typeof e=="string"?e:Qu(e)&&Ms(e,"value")?e.value:""},nodeToString(e){return typeof e=="string"?e:Qu(e)&&Ms(e,"label")?e.label:wf.nodeToValue(e)},isNodeDisabled(e){return Qu(e)&&Ms(e,"disabled")?!!e.disabled:!1},nodeToChildren(e){return e.children},nodeToChildrenCount(e){if(Qu(e)&&Ms(e,"childrenCount"))return e.childrenCount}},Cf=new WeakMap,Xp=new WeakMap,Zp={},E0=0,ow=e=>e&&(e.host||ow(e.parentNode)),tV=(e,t)=>t.map(n=>{if(e.contains(n))return n;const r=ow(n);return r&&e.contains(r)?r:(console.error("[zag-js > ariaHidden] target",n,"in not contained inside",e,". Doing nothing"),null)}).filter(n=>!!n),nV=new Set(["script","output","status","next-route-announcer"]),rV=e=>nV.has(e.localName)||e.role==="status"||e.hasAttribute("aria-live")?!0:e.matches("[data-live-announcer]"),iV=(e,t)=>{const{parentNode:n,markerName:r,controlAttribute:l}=t,s=tV(n,Array.isArray(e)?e:[e]);Zp[r]||(Zp[r]=new WeakMap);const u=Zp[r],f=[],g=new Set,b=new Set(s),y=w=>{!w||g.has(w)||(g.add(w),y(w.parentNode))};s.forEach(y);const S=w=>{!w||b.has(w)||Array.prototype.forEach.call(w.children,C=>{if(g.has(C))S(C);else try{if(rV(C))return;const z=C.getAttribute(l)==="true",B=(Cf.get(C)||0)+1,V=(u.get(C)||0)+1;Cf.set(C,B),u.set(C,V),f.push(C),B===1&&z&&Xp.set(C,!0),V===1&&C.setAttribute(r,""),z||C.setAttribute(l,"true")}catch(R){console.error("[zag-js > ariaHidden] cannot operate on ",C,R)}})};return S(n),g.clear(),E0++,()=>{f.forEach(w=>{const C=Cf.get(w)-1,R=u.get(w)-1;Cf.set(w,C),u.set(w,R),C||(Xp.has(w)||w.removeAttribute(l),Xp.delete(w)),R||w.removeAttribute(r)}),E0--,E0||(Cf=new WeakMap,Cf=new WeakMap,Xp=new WeakMap,Zp={})}},aV=e=>(Array.isArray(e)?e[0]:e).ownerDocument.body,lV=(e,t=aV(e),n="data-aria-hidden")=>{if(t)return iV(e,{parentNode:t,markerName:n,controlAttribute:"aria-hidden"})},oV=e=>{const t=requestAnimationFrame(()=>e());return()=>cancelAnimationFrame(t)};function sV(e,t={}){const{defer:n=!0}=t,r=n?oV:s=>s(),l=[];return l.push(r(()=>{const u=(typeof e=="function"?e():e).filter(Boolean);u.length!==0&&l.push(lV(u))})),()=>{l.forEach(s=>s?.())}}var sw=tt("combobox").parts("root","clearTrigger","content","control","input","item","itemGroup","itemGroupLabel","itemIndicator","itemText","label","list","positioner","trigger");sw.build();var uw=e=>new Gp(e);uw.empty=()=>new Gp({items:[]});var uV=e=>e.ids?.control??`combobox:${e.id}:control`,cV=e=>e.ids?.input??`combobox:${e.id}:input`,fV=e=>e.ids?.content??`combobox:${e.id}:content`,dV=e=>e.ids?.positioner??`combobox:${e.id}:popper`,hV=e=>e.ids?.trigger??`combobox:${e.id}:toggle-btn`,gV=e=>e.ids?.clearTrigger??`combobox:${e.id}:clear-btn`,Ws=e=>e.getById(fV(e)),kf=e=>e.getById(cV(e)),cw=e=>e.getById(dV(e)),fw=e=>e.getById(uV(e)),xh=e=>e.getById(hV(e)),dw=e=>e.getById(gV(e)),Sh=(e,t)=>{if(t==null)return null;const n=`[role=option][data-value="${CSS.escape(t)}"]`;return CM(Ws(e),n)},hw=e=>{const t=kf(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},pV=e=>{const t=xh(e);e.isActiveElement(t)||t?.focus({preventScroll:!0})},{guards:mV,createMachine:bV,choose:vV}=QA(),{and:xr,not:ca}=mV;bV({props({props:e}){return{loopFocus:!0,openOnClick:!1,defaultValue:[],closeOnSelect:!e.multiple,allowCustomValue:!1,alwaysSubmitOnEnter:!1,inputBehavior:"none",selectionBehavior:e.multiple?"clear":"replace",openOnKeyPress:!0,openOnChange:!0,composite:!0,navigate({node:t}){UA(t)},collection:uw.empty(),...e,positioning:{placement:"bottom",sameWidth:!0,...e.positioning},translations:{triggerLabel:"Toggle suggestions",clearTriggerLabel:"Clear value",...e.translations}}},initialState({prop:e}){return e("open")||e("defaultOpen")?"suggesting":"idle"},context({prop:e,bindable:t,getContext:n,getEvent:r}){return{currentPlacement:t(()=>({defaultValue:void 0})),value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),isEqual:ml,hash(l){return l.join(",")},onChange(l){const s=n(),u=s.get("selectedItems"),f=e("collection"),g=l.map(b=>u.find(S=>f.getItemValue(S)===b)||f.find(b));s.set("selectedItems",g),e("onValueChange")?.({value:l,items:g})}})),highlightedValue:t(()=>({defaultValue:e("defaultHighlightedValue")||null,value:e("highlightedValue"),onChange(l){const s=e("collection").find(l);e("onHighlightChange")?.({highlightedValue:l,highlightedItem:s})}})),inputValue:t(()=>{let l=e("inputValue")||e("defaultInputValue")||"";const s=e("defaultValue")||e("value")||[];if(!l.trim()&&!e("multiple")){const u=e("collection").stringifyMany(s);l=Jo(e("selectionBehavior"),{preserve:l||u,replace:u,clear:""})}return{defaultValue:l,value:e("inputValue"),onChange(u){const f=r(),g=(f.previousEvent||f).src;e("onInputValueChange")?.({inputValue:u,reason:g})}}}),highlightedItem:t(()=>{const l=e("highlightedValue");return{defaultValue:e("collection").find(l)}}),selectedItems:t(()=>{const l=e("value")||e("defaultValue")||[];return{defaultValue:e("collection").findMany(l)}})}},computed:{isInputValueEmpty:({context:e})=>e.get("inputValue").length===0,isInteractive:({prop:e})=>!(e("readOnly")||e("disabled")),autoComplete:({prop:e})=>e("inputBehavior")==="autocomplete",autoHighlight:({prop:e})=>e("inputBehavior")==="autohighlight",hasSelectedItems:({context:e})=>e.get("value").length>0,valueAsString:({context:e,prop:t})=>t("collection").stringifyItems(e.get("selectedItems")),isCustomValue:({context:e,computed:t})=>e.get("inputValue")!==t("valueAsString")},watch({context:e,prop:t,track:n,action:r,send:l}){n([()=>e.hash("value")],()=>{r(["syncSelectedItems"])}),n([()=>e.get("inputValue")],()=>{r(["syncInputValue"])}),n([()=>e.get("highlightedValue")],()=>{r(["syncHighlightedItem","autofillInputValue"])}),n([()=>t("open")],()=>{r(["toggleVisibility"])}),n([()=>t("collection").toString()],()=>{l({type:"CHILDREN_CHANGE"})})},on:{"SELECTED_ITEMS.SYNC":{actions:["syncSelectedItems"]},"HIGHLIGHTED_VALUE.SET":{actions:["setHighlightedValue"]},"HIGHLIGHTED_VALUE.CLEAR":{actions:["clearHighlightedValue"]},"ITEM.SELECT":{actions:["selectItem"]},"ITEM.CLEAR":{actions:["clearItem"]},"VALUE.SET":{actions:["setValue"]},"INPUT_VALUE.SET":{actions:["setInputValue"]},"POSITIONING.SET":{actions:["reposition"]}},entry:vV([{guard:"autoFocus",actions:["setInitialFocus"]}]),states:{idle:{tags:["idle","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":{target:"interacting"},"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.FOCUS":{target:"focused"},OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{target:"focused",actions:["clearInputValue","clearSelectedItems","setInitialFocus"]}}},focused:{tags:["focused","closed"],entry:["scrollContentToTop","clearHighlightedValue"],on:{"CONTROLLED.OPEN":[{guard:"isChangeEvent",target:"suggesting"},{target:"interacting"}],"INPUT.CHANGE":[{guard:xr("isOpenControlled","openOnChange"),actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{guard:"openOnChange",target:"suggesting",actions:["setInputValue","invokeOnOpen","highlightFirstItemIfNeeded"]},{actions:["setInputValue"]}],"LAYER.INTERACT_OUTSIDE":{target:"idle"},"INPUT.ESCAPE":{guard:xr("isCustomValue",ca("allowCustomValue")),actions:["revertInputValue"]},"INPUT.BLUR":{target:"idle"},"INPUT.CLICK":[{guard:"isOpenControlled",actions:["highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstSelectedItem","invokeOnOpen"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["setInitialFocus","highlightFirstSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_DOWN":[{guard:xr("isOpenControlled","autoComplete"),actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"isOpenControlled",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightFirstOrSelectedItem","invokeOnOpen"]}],"INPUT.ARROW_UP":[{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{guard:"autoComplete",target:"interacting",actions:["invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]},{target:"interacting",actions:["highlightLastOrSelectedItem","invokeOnOpen"]}],OPEN:[{guard:"isOpenControlled",actions:["invokeOnOpen"]},{target:"interacting",actions:["invokeOnOpen"]}],"VALUE.CLEAR":{actions:["clearInputValue","clearSelectedItems"]}}},interacting:{tags:["open","focused"],entry:["setInitialFocus"],effects:["scrollToHighlightedItem","trackDismissableLayer","trackPlacement","hideOtherElements"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]},{actions:["scrollToHighlightedItem"]}],"INPUT.HOME":{actions:["highlightFirstItem"]},"INPUT.END":{actions:["highlightLastItem"]},"INPUT.ARROW_DOWN":[{guard:xr("autoComplete","isLastItemHighlighted"),actions:["clearHighlightedValue","scrollContentToTop"]},{actions:["highlightNextItem"]}],"INPUT.ARROW_UP":[{guard:xr("autoComplete","isFirstItemHighlighted"),actions:["clearHighlightedValue"]},{actions:["highlightPrevItem"]}],"INPUT.ENTER":[{guard:xr("isOpenControlled","isCustomValue",ca("hasHighlightedItem"),ca("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:xr("isCustomValue",ca("hasHighlightedItem"),ca("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:xr("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":[{guard:"autoComplete",target:"suggesting",actions:["setInputValue"]},{target:"suggesting",actions:["clearHighlightedValue","setInputValue"]}],"ITEM.POINTER_MOVE":{actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"ITEM.CLICK":[{guard:xr("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],"LAYER.ESCAPE":[{guard:xr("isOpenControlled","autoComplete"),actions:["syncInputValue","invokeOnClose"]},{guard:"autoComplete",target:"focused",actions:["syncInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"LAYER.INTERACT_OUTSIDE":[{guard:xr("isOpenControlled","isCustomValue",ca("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:xr("isCustomValue",ca("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}},suggesting:{tags:["open","focused"],effects:["trackDismissableLayer","scrollToHighlightedItem","trackPlacement","hideOtherElements"],entry:["setInitialFocus"],on:{"CONTROLLED.CLOSE":[{guard:"restoreFocus",target:"focused",actions:["setFinalFocus"]},{target:"idle"}],CHILDREN_CHANGE:[{guard:"autoHighlight",actions:["highlightFirstItem"]},{guard:"isHighlightedItemRemoved",actions:["clearHighlightedValue"]}],"INPUT.ARROW_DOWN":{target:"interacting",actions:["highlightNextItem"]},"INPUT.ARROW_UP":{target:"interacting",actions:["highlightPrevItem"]},"INPUT.HOME":{target:"interacting",actions:["highlightFirstItem"]},"INPUT.END":{target:"interacting",actions:["highlightLastItem"]},"INPUT.ENTER":[{guard:xr("isOpenControlled","isCustomValue",ca("hasHighlightedItem"),ca("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:xr("isCustomValue",ca("hasHighlightedItem"),ca("allowCustomValue")),target:"focused",actions:["revertInputValue","invokeOnClose"]},{guard:xr("isOpenControlled","closeOnSelect"),actions:["selectHighlightedItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectHighlightedItem","invokeOnClose","setFinalFocus"]},{actions:["selectHighlightedItem"]}],"INPUT.CHANGE":{actions:["setInputValue"]},"LAYER.ESCAPE":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.POINTER_MOVE":{target:"interacting",actions:["setHighlightedValue"]},"ITEM.POINTER_LEAVE":{actions:["clearHighlightedValue"]},"LAYER.INTERACT_OUTSIDE":[{guard:xr("isOpenControlled","isCustomValue",ca("allowCustomValue")),actions:["revertInputValue","invokeOnClose"]},{guard:xr("isCustomValue",ca("allowCustomValue")),target:"idle",actions:["revertInputValue","invokeOnClose"]},{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"idle",actions:["invokeOnClose"]}],"TRIGGER.CLICK":[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose"]}],"ITEM.CLICK":[{guard:xr("isOpenControlled","closeOnSelect"),actions:["selectItem","invokeOnClose"]},{guard:"closeOnSelect",target:"focused",actions:["selectItem","invokeOnClose","setFinalFocus"]},{actions:["selectItem"]}],CLOSE:[{guard:"isOpenControlled",actions:["invokeOnClose"]},{target:"focused",actions:["invokeOnClose","setFinalFocus"]}],"VALUE.CLEAR":[{guard:"isOpenControlled",actions:["clearInputValue","clearSelectedItems","invokeOnClose"]},{target:"focused",actions:["clearInputValue","clearSelectedItems","invokeOnClose","setFinalFocus"]}]}}},implementations:{guards:{isInputValueEmpty:({computed:e})=>e("isInputValueEmpty"),autoComplete:({computed:e,prop:t})=>e("autoComplete")&&!t("multiple"),autoHighlight:({computed:e})=>e("autoHighlight"),isFirstItemHighlighted:({prop:e,context:t})=>e("collection").firstValue===t.get("highlightedValue"),isLastItemHighlighted:({prop:e,context:t})=>e("collection").lastValue===t.get("highlightedValue"),isCustomValue:({computed:e})=>e("isCustomValue"),allowCustomValue:({prop:e})=>!!e("allowCustomValue"),hasHighlightedItem:({context:e})=>e.get("highlightedValue")!=null,closeOnSelect:({prop:e})=>!!e("closeOnSelect"),isOpenControlled:({prop:e})=>e("open")!=null,openOnChange:({prop:e,context:t})=>{const n=e("openOnChange");return aD(n)?n:!!n?.({inputValue:t.get("inputValue")})},restoreFocus:({event:e})=>e.restoreFocus==null?!0:!!e.restoreFocus,isChangeEvent:({event:e})=>e.previousEvent?.type==="INPUT.CHANGE",autoFocus:({prop:e})=>!!e("autoFocus"),isHighlightedItemRemoved:({prop:e,context:t})=>!e("collection").has(t.get("highlightedValue"))},effects:{trackDismissableLayer({send:e,prop:t,scope:n}){return t("disableLayer")?void 0:mh(()=>Ws(n),{type:"listbox",defer:!0,exclude:()=>[kf(n),xh(n),dw(n)],onFocusOutside:t("onFocusOutside"),onPointerDownOutside:t("onPointerDownOutside"),onInteractOutside:t("onInteractOutside"),onEscapeKeyDown(l){l.preventDefault(),l.stopPropagation(),e({type:"LAYER.ESCAPE",src:"escape-key"})},onDismiss(){e({type:"LAYER.INTERACT_OUTSIDE",src:"interact-outside",restoreFocus:!1})}})},hideOtherElements({scope:e}){return sV([kf(e),Ws(e),xh(e),dw(e)])},trackPlacement({context:e,prop:t,scope:n}){const r=()=>fw(n)||xh(n),l=()=>cw(n);return e.set("currentPlacement",t("positioning").placement),xl(r,l,{...t("positioning"),defer:!0,onComplete(s){e.set("currentPlacement",s.placement)}})},scrollToHighlightedItem({context:e,prop:t,scope:n,event:r}){const l=kf(n);let s=[];const u=b=>{const y=r.current().type.includes("POINTER"),S=e.get("highlightedValue");if(y||!S)return;const w=Ws(n),C=t("scrollToIndexFn");if(C){const B=t("collection").indexOf(S);C({index:B,immediate:b,getElement:()=>Sh(n,S)});return}const R=Sh(n,S),z=Dt(()=>{kp(R,{rootEl:w,block:"nearest"})});s.push(z)},f=Dt(()=>u(!0));s.push(f);const g=wp(l,{attributes:["aria-activedescendant"],callback:()=>u(!1)});return s.push(g),()=>{s.forEach(b=>b())}}},actions:{reposition({context:e,prop:t,scope:n,event:r}){xl(()=>fw(n),()=>cw(n),{...t("positioning"),...r.options,defer:!0,listeners:!1,onComplete(u){e.set("currentPlacement",u.placement)}})},setHighlightedValue({context:e,event:t}){t.value!=null&&e.set("highlightedValue",t.value)},clearHighlightedValue({context:e}){e.set("highlightedValue",null)},selectHighlightedItem(e){const{context:t,prop:n}=e,r=n("collection"),l=t.get("highlightedValue");if(!l||!r.has(l))return;const s=n("multiple")?bf(t.get("value"),l):[l];n("onSelect")?.({value:s,itemValue:l}),t.set("value",s);const u=Jo(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(s),clear:""});t.set("inputValue",u)},scrollToHighlightedItem({context:e,prop:t,scope:n}){GA(()=>{const r=e.get("highlightedValue");if(r==null)return;const l=Sh(n,r),s=Ws(n),u=t("scrollToIndexFn");if(u){const f=t("collection").indexOf(r);u({index:f,immediate:!0,getElement:()=>Sh(n,r)});return}kp(l,{rootEl:s,block:"nearest"})})},selectItem(e){const{context:t,event:n,flush:r,prop:l}=e;n.value!=null&&r(()=>{const s=l("multiple")?bf(t.get("value"),n.value):[n.value];l("onSelect")?.({value:s,itemValue:n.value}),t.set("value",s);const u=Jo(l("selectionBehavior"),{preserve:t.get("inputValue"),replace:l("collection").stringifyMany(s),clear:""});t.set("inputValue",u)})},clearItem(e){const{context:t,event:n,flush:r,prop:l}=e;n.value!=null&&r(()=>{const s=Ju(t.get("value"),n.value);t.set("value",s);const u=Jo(l("selectionBehavior"),{preserve:t.get("inputValue"),replace:l("collection").stringifyMany(s),clear:""});t.set("inputValue",u)})},setInitialFocus({scope:e}){Dt(()=>{hw(e)})},setFinalFocus({scope:e}){Dt(()=>{xh(e)?.dataset.focusable==null?hw(e):pV(e)})},syncInputValue({context:e,scope:t,event:n}){const r=kf(t);r&&(r.value=e.get("inputValue"),queueMicrotask(()=>{n.current().type!=="INPUT.CHANGE"&&_D(r)}))},setInputValue({context:e,event:t}){e.set("inputValue",t.value)},clearInputValue({context:e}){e.set("inputValue","")},revertInputValue({context:e,prop:t,computed:n}){const r=t("selectionBehavior"),l=Jo(r,{replace:n("hasSelectedItems")?n("valueAsString"):"",preserve:e.get("inputValue"),clear:""});e.set("inputValue",l)},setValue(e){const{context:t,flush:n,event:r,prop:l}=e;n(()=>{t.set("value",r.value);const s=Jo(l("selectionBehavior"),{preserve:t.get("inputValue"),replace:l("collection").stringifyMany(r.value),clear:""});t.set("inputValue",s)})},clearSelectedItems(e){const{context:t,flush:n,prop:r}=e;n(()=>{t.set("value",[]);const l=Jo(r("selectionBehavior"),{preserve:t.get("inputValue"),replace:r("collection").stringifyMany([]),clear:""});t.set("inputValue",l)})},scrollContentToTop({prop:e,scope:t}){const n=e("scrollToIndexFn");if(n){const r=e("collection").firstValue;n({index:0,immediate:!0,getElement:()=>Sh(t,r)})}else{const r=Ws(t);if(!r)return;r.scrollTop=0}},invokeOnOpen({prop:e,event:t}){const n=gw(t);e("onOpenChange")?.({open:!0,reason:n})},invokeOnClose({prop:e,event:t}){const n=gw(t);e("onOpenChange")?.({open:!1,reason:n})},highlightFirstItem({context:e,prop:t,scope:n}){(Ws(n)?queueMicrotask:Dt)(()=>{const l=t("collection").firstValue;l&&e.set("highlightedValue",l)})},highlightFirstItemIfNeeded({computed:e,action:t}){e("autoHighlight")&&t(["highlightFirstItem"])},highlightLastItem({context:e,prop:t,scope:n}){(Ws(n)?queueMicrotask:Dt)(()=>{const l=t("collection").lastValue;l&&e.set("highlightedValue",l)})},highlightNextItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),l=t("collection");r?(n=l.getNextValue(r),!n&&t("loopFocus")&&(n=l.firstValue)):n=l.firstValue,n&&e.set("highlightedValue",n)},highlightPrevItem({context:e,prop:t}){let n=null;const r=e.get("highlightedValue"),l=t("collection");r?(n=l.getPreviousValue(r),!n&&t("loopFocus")&&(n=l.lastValue)):n=l.lastValue,n&&e.set("highlightedValue",n)},highlightFirstSelectedItem({context:e,prop:t}){Dt(()=>{const[n]=t("collection").sort(e.get("value"));n&&e.set("highlightedValue",n)})},highlightFirstOrSelectedItem({context:e,prop:t,computed:n}){Dt(()=>{let r=null;n("hasSelectedItems")?r=t("collection").sort(e.get("value"))[0]:r=t("collection").firstValue,r&&e.set("highlightedValue",r)})},highlightLastOrSelectedItem({context:e,prop:t,computed:n}){Dt(()=>{const r=t("collection");let l=null;n("hasSelectedItems")?l=r.sort(e.get("value"))[0]:l=r.lastValue,l&&e.set("highlightedValue",l)})},autofillInputValue({context:e,computed:t,prop:n,event:r,scope:l}){const s=kf(l),u=n("collection");if(!t("autoComplete")||!s||!r.keypress)return;const f=u.stringify(e.get("highlightedValue"));Dt(()=>{s.value=f||e.get("inputValue")})},syncSelectedItems(e){queueMicrotask(()=>{const{context:t,prop:n}=e,r=n("collection"),l=t.get("value"),s=l.map(f=>t.get("selectedItems").find(b=>r.getItemValue(b)===f)||r.find(f));t.set("selectedItems",s);const u=Jo(n("selectionBehavior"),{preserve:t.get("inputValue"),replace:r.stringifyMany(l),clear:""});t.set("inputValue",u)})},syncHighlightedItem({context:e,prop:t}){const n=t("collection").find(e.get("highlightedValue"));e.set("highlightedItem",n)},toggleVisibility({event:e,send:t,prop:n}){t({type:n("open")?"CONTROLLED.OPEN":"CONTROLLED.CLOSE",previousEvent:e})}}}});function gw(e){return(e.previousEvent||e).src}et()(["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"]),et()(["htmlFor"]),et()(["id"]),et()(["item","persistFocus"]);const yV=sw.extendWith("empty");var w0=tt("dialog").parts("trigger","backdrop","positioner","content","title","description","closeTrigger");w0.build(),et()(["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 pw=tt("editable").parts("root","area","label","preview","input","editTrigger","submitTrigger","cancelTrigger","control");pw.build(),et()(["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 mw=tt("fieldset").parts("root","errorText","helperText","legend");mw.build();var bw=tt("file-upload").parts("root","dropzone","item","itemDeleteTrigger","itemGroup","itemName","itemPreview","itemPreviewImage","itemSizeText","label","trigger","clearTrigger");bw.build(),et()(["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"]),et()(["file","type"]);const xV=e=>typeof e=="function",SV=(e,...t)=>xV(e)?e(...t):e,AV=e=>{const{value:t,children:n}=e,[r,l]=Ae.useState(),s=Ae.useMemo(()=>()=>SV(t)??r?.getRootNode()??document,[t,r]),u=Ae.useMemo(()=>({getRootNode:s,getWindow:()=>hr(s()),getDocument:()=>bl(s())}),[s]);return $.jsxs(GM,{value:u,children:[n,!t&&$.jsx("span",{hidden:!0,ref:l})]})};var vw=tt("hoverCard").parts("arrow","arrowTip","trigger","positioner","content");vw.build();var EV=e=>e.ids?.trigger??`hover-card:${e.id}:trigger`,wV=e=>e.ids?.content??`hover-card:${e.id}:content`,CV=e=>e.ids?.positioner??`hover-card:${e.id}:popper`,C0=e=>e.getById(EV(e)),kV=e=>e.getById(wV(e)),yw=e=>e.getById(CV(e)),{not:Kp,and:xw}=Vs();xw("isOpenControlled",Kp("isPointer")),Kp("isPointer"),xw("isOpenControlled",Kp("isPointer")),Kp("isPointer"),et()(["closeDelay","dir","getRootNode","id","ids","disabled","onOpenChange","defaultOpen","open","openDelay","positioning","onInteractOutside","onPointerDownOutside","onFocusOutside"]);var Sw=tt("tree-view").parts("branch","branchContent","branchControl","branchIndentGuide","branchIndicator","branchText","branchTrigger","item","itemIndicator","itemText","label","nodeCheckbox","root","tree");Sw.build();var Aw=e=>new lw(e);Aw.empty=()=>new lw({rootNode:{children:[]}});var TV=(e,t)=>e.ids?.node?.(t)??`tree:${e.id}:node:${t}`,nc=(e,t)=>{t!=null&&e.getById(TV(e,t))?.focus()};function OV(e,t,n){const r=e.getDescendantValues(t),l=r.every(s=>n.includes(s));return mf(l?Ju(n,...r):ju(n,...r))}function jp(e,t){const{context:n,prop:r,refs:l}=e;if(!r("loadChildren")){n.set("expandedValue",z=>mf(ju(z,...t)));return}const s=n.get("loadingStatus"),[u,f]=vA(t,z=>s[z]==="loaded");if(u.length>0&&n.set("expandedValue",z=>mf(ju(z,...u))),f.length===0)return;const g=r("collection"),[b,y]=vA(f,z=>{const B=g.findNode(z);return g.getNodeChildren(B).length>0});if(b.length>0&&n.set("expandedValue",z=>mf(ju(z,...b))),y.length===0)return;n.set("loadingStatus",z=>({...z,...y.reduce((B,V)=>({...B,[V]:"loading"}),{})}));const S=y.map(z=>{const B=g.getIndexPath(z),V=g.getValuePath(B),W=g.findNode(z);return{id:z,indexPath:B,valuePath:V,node:W}}),w=l.get("pendingAborts"),C=r("loadChildren");OD(C,()=>"[zag-js/tree-view] `loadChildren` is required for async expansion");const R=S.map(({id:z,indexPath:B,valuePath:V,node:W})=>{const H=w.get(z);H&&(H.abort(),w.delete(z));const te=new AbortController;return w.set(z,te),C({valuePath:V,indexPath:B,node:W,signal:te.signal})});Promise.allSettled(R).then(z=>{const B=[],V=[],W=n.get("loadingStatus");let H=r("collection");z.forEach((te,U)=>{const{id:K,indexPath:be,node:ge,valuePath:fe}=S[U];te.status==="fulfilled"?(W[K]="loaded",B.push(K),H=H.replace(be,{...ge,children:te.value})):(w.delete(K),Reflect.deleteProperty(W,K),V.push({node:ge,error:te.reason,indexPath:be,valuePath:fe}))}),n.set("loadingStatus",W),B.length&&(n.set("expandedValue",te=>mf(ju(te,...B))),r("onLoadChildrenComplete")?.({collection:H})),V.length&&r("onLoadChildrenError")?.({nodes:V})})}function Gs(e){const{prop:t,context:n}=e;return function({indexPath:l}){return t("collection").getValuePath(l).slice(0,-1).some(u=>!n.get("expandedValue").includes(u))}}var{and:So}=Vs();So("isMultipleSelection","moveFocus"),So("isShiftKey","isMultipleSelection"),So("isShiftKey","isMultipleSelection"),So("isBranchFocused","isBranchExpanded"),So("isShiftKey","isMultipleSelection"),So("isShiftKey","isMultipleSelection"),So("isCtrlKey","isMultipleSelection"),So("isShiftKey","isMultipleSelection"),So("isCtrlKey","isMultipleSelection"),So("isShiftKey","isMultipleSelection"),et()(["ids","collection","dir","expandedValue","expandOnClick","defaultFocusedValue","focusedValue","getRootNode","id","onExpandedChange","onFocusChange","onSelectionChange","checkedValue","selectedValue","selectionMode","typeahead","defaultExpandedValue","defaultSelectedValue","defaultCheckedValue","onCheckedChange","onLoadChildrenComplete","onLoadChildrenError","loadChildren"]),et()(["node","indexPath"]);var Ew=tt("listbox").parts("label","input","item","itemText","itemIndicator","itemGroup","itemGroupLabel","content","root","valueText");Ew.build(),et()(["collection","defaultHighlightedValue","defaultValue","dir","disabled","deselectable","disallowSelectAll","getRootNode","highlightedValue","id","ids","loopFocus","onHighlightChange","onSelect","onValueChange","orientation","scrollToIndexFn","selectionMode","selectOnHighlight","typeahead","value"]),et()(["item","highlightOnHover"]),et()(["id"]),et()(["htmlFor"]);const _V=Ew.extendWith("empty");var ww=tt("menu").parts("arrow","arrowTip","content","contextTrigger","indicator","item","itemGroup","itemGroupLabel","itemIndicator","itemText","positioner","separator","trigger","triggerItem");ww.build();var Cw=e=>e.ids?.trigger??`menu:${e.id}:trigger`,RV=e=>e.ids?.contextTrigger??`menu:${e.id}:ctx-trigger`,kw=e=>e.ids?.content??`menu:${e.id}:content`,PV=e=>e.ids?.positioner??`menu:${e.id}:popper`,k0=(e,t)=>`${e.id}/${t}`,rc=e=>e?.dataset.value??null,Us=e=>e.getById(kw(e)),Tw=e=>e.getById(PV(e)),Jp=e=>e.getById(Cw(e)),IV=(e,t)=>t?e.getById(k0(e,t)):null,T0=e=>e.getById(RV(e)),Ah=e=>{const n=`[role^="menuitem"][data-ownedby=${CSS.escape(kw(e))}]:not([data-disabled])`;return Op(Us(e),n)},zV=e=>uh(Ah(e)),NV=e=>Hv(Ah(e)),O0=(e,t)=>t?e.id===t||e.dataset.value===t:!1,DV=(e,t)=>{const n=Ah(e),r=n.findIndex(l=>O0(l,t.value));return tD(n,r,{loop:t.loop??t.loopFocus})},MV=(e,t)=>{const n=Ah(e),r=n.findIndex(l=>O0(l,t.value));return rD(n,r,{loop:t.loop??t.loopFocus})},LV=(e,t)=>{const n=Ah(e),r=n.find(l=>O0(l,t.value));return dh(n,{state:t.typeaheadState,key:t.key,activeId:r?.id??null})},FV=e=>!!e?.getAttribute("role")?.startsWith("menuitem")&&!!e?.hasAttribute("aria-controls"),VV="menu:select";function BV(e,t){if(!e)return;const n=hr(e),r=new n.CustomEvent(VV,{detail:{value:t}});e.dispatchEvent(r)}var{not:Za,and:Tf,or:HV}=Vs();Za("isSubmenu"),HV("isOpenAutoFocusEvent","isArrowDownEvent"),Tf(Za("isTriggerItem"),"isOpenControlled"),Za("isTriggerItem"),Tf("isSubmenu","isOpenControlled"),Za("isPointerSuspended"),Tf(Za("isPointerSuspended"),Za("isTriggerItem")),Tf(Za("isTriggerItemHighlighted"),Za("isHighlightedItemEditable"),"closeOnSelect","isOpenControlled"),Tf(Za("isTriggerItemHighlighted"),Za("isHighlightedItemEditable"),"closeOnSelect"),Tf(Za("isTriggerItemHighlighted"),Za("isHighlightedItemEditable"));function Ow(e){let t=e.parent;for(;t&&t.context.get("isSubmenu");)t=t.refs.get("parent");t?.send({type:"CLOSE"})}function WV(e,t){return e?kF(e,t):!1}function GV(e,t,n){const r=Object.keys(e).length>0;if(!t)return null;if(!r)return k0(n,t);for(const l in e){const s=e[l],u=Cw(s.scope);if(u===t)return u}return k0(n,t)}et()(["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"]),et()(["closeOnSelect","disabled","value","valueText"]),et()(["htmlFor"]),et()(["id"]),et()(["checked","closeOnSelect","disabled","onCheckedChange","type","value","valueText"]);let _0=new Map,R0=!1;try{R0=new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay==="exceptZero"}catch{}let Qp=!1;try{Qp=new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style==="unit"}catch{}const _w={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class UV{format(t){let n="";if(!R0&&this.options.signDisplay!=null?n=XV(this.numberFormatter,this.options.signDisplay,t):n=this.numberFormatter.format(t),this.options.style==="unit"&&!Qp){var r;let{unit:l,unitDisplay:s="short",locale:u}=this.resolvedOptions();if(!l)return n;let f=(r=_w[l])===null||r===void 0?void 0:r[s];n+=f[u]||f.default}return n}formatToParts(t){return this.numberFormatter.formatToParts(t)}formatRange(t,n){if(typeof this.numberFormatter.formatRange=="function")return this.numberFormatter.formatRange(t,n);if(n<t)throw new RangeError("End date must be >= start date");return`${this.format(t)} – ${this.format(n)}`}formatRangeToParts(t,n){if(typeof this.numberFormatter.formatRangeToParts=="function")return this.numberFormatter.formatRangeToParts(t,n);if(n<t)throw new RangeError("End date must be >= start date");let r=this.numberFormatter.formatToParts(t),l=this.numberFormatter.formatToParts(n);return[...r.map(s=>({...s,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...l.map(s=>({...s,source:"endRange"}))]}resolvedOptions(){let t=this.numberFormatter.resolvedOptions();return!R0&&this.options.signDisplay!=null&&(t={...t,signDisplay:this.options.signDisplay}),!Qp&&this.options.style==="unit"&&(t={...t,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),t}constructor(t,n={}){this.numberFormatter=YV(t,n),this.options=n}}function YV(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),t.style==="unit"&&!Qp){var r;let{unit:u,unitDisplay:f="short"}=t;if(!u)throw new Error('unit option must be provided with style: "unit"');if(!(!((r=_w[u])===null||r===void 0)&&r[f]))throw new Error(`Unsupported unit ${u} with unitDisplay = ${f}`);t={...t,style:"decimal"}}let l=e+(t?Object.entries(t).sort((u,f)=>u[0]<f[0]?-1:1).join():"");if(_0.has(l))return _0.get(l);let s=new Intl.NumberFormat(e,t);return _0.set(l,s),s}function XV(e,t,n){if(t==="auto")return e.format(n);if(t==="never")return e.format(Math.abs(n));{let r=!1;if(t==="always"?r=n>0||Object.is(n,0):t==="exceptZero"&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let l=e.format(-n),s=e.format(n),u=l.replace(s,"").replace(/\u200e|\u061C/,"");return[...u].length!==1&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),l.replace(s,"!!!").replace(u,"+").replace("!!!",s)}else return e.format(n)}}const ZV=new RegExp("^.*\\(.*\\).*$"),KV=["latn","arab","hanidec","deva","beng","fullwide"];class Rw{parse(t){return P0(this.locale,this.options,t).parse(t)}isValidPartialNumber(t,n,r){return P0(this.locale,this.options,t).isValidPartialNumber(t,n,r)}getNumberingSystem(t){return P0(this.locale,this.options,t).options.numberingSystem}constructor(t,n={}){this.locale=t,this.options=n}}const Pw=new Map;function P0(e,t,n){let r=Iw(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n)){for(let l of KV)if(l!==r.options.numberingSystem){let s=Iw(e+(e.includes("-u-")?"-nu-":"-u-nu-")+l,t);if(s.isValidPartialNumber(n))return s}}return r}function Iw(e,t){let n=e+(t?Object.entries(t).sort((l,s)=>l[0]<s[0]?-1:1).join():""),r=Pw.get(n);return r||(r=new jV(e,t),Pw.set(n,r)),r}class jV{parse(t){let n=this.sanitize(t);if(this.symbols.group&&(n=Of(n,this.symbols.group,"")),this.symbols.decimal&&(n=n.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(n=n.replace(this.symbols.minusSign,"-")),n=n.replace(this.symbols.numeral,this.symbols.index),this.options.style==="percent"){let u=n.indexOf("-");n=n.replace("-",""),n=n.replace("+","");let f=n.indexOf(".");f===-1&&(f=n.length),n=n.replace(".",""),f-2===0?n=`0.${n}`:f-2===-1?n=`0.0${n}`:f-2===-2?n="0.00":n=`${n.slice(0,f-2)}.${n.slice(f-2)}`,u>-1&&(n=`-${n}`)}let r=n?+n:NaN;if(isNaN(r))return NaN;if(this.options.style==="percent"){var l,s;let u={...this.options,style:"decimal",minimumFractionDigits:Math.min(((l=this.options.minimumFractionDigits)!==null&&l!==void 0?l:0)+2,20),maximumFractionDigits:Math.min(((s=this.options.maximumFractionDigits)!==null&&s!==void 0?s:0)+2,20)};return new Rw(this.locale,u).parse(new UV(this.locale,u).format(r))}return this.options.currencySign==="accounting"&&ZV.test(t)&&(r=-1*r),r}sanitize(t){return t=t.replace(this.symbols.literals,""),this.symbols.minusSign&&(t=t.replace("-",this.symbols.minusSign)),this.options.numberingSystem==="arab"&&(this.symbols.decimal&&(t=t.replace(",",this.symbols.decimal),t=t.replace("،",this.symbols.decimal)),this.symbols.group&&(t=Of(t,".",this.symbols.group))),this.symbols.group==="’"&&t.includes("'")&&(t=Of(t,"'",this.symbols.group)),this.options.locale==="fr-FR"&&this.symbols.group&&(t=Of(t," ",this.symbols.group),t=Of(t,/\u00A0/g,this.symbols.group)),t}isValidPartialNumber(t,n=-1/0,r=1/0){return t=this.sanitize(t),this.symbols.minusSign&&t.startsWith(this.symbols.minusSign)&&n<0?t=t.slice(this.symbols.minusSign.length):this.symbols.plusSign&&t.startsWith(this.symbols.plusSign)&&r>0&&(t=t.slice(this.symbols.plusSign.length)),this.symbols.group&&t.startsWith(this.symbols.group)||this.symbols.decimal&&t.indexOf(this.symbols.decimal)>-1&&this.options.maximumFractionDigits===0?!1:(this.symbols.group&&(t=Of(t,this.symbols.group,"")),t=t.replace(this.symbols.numeral,""),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,"")),t.length===0)}constructor(t,n={}){this.locale=t,n.roundingIncrement!==1&&n.roundingIncrement!=null&&(n.maximumFractionDigits==null&&n.minimumFractionDigits==null?(n.maximumFractionDigits=0,n.minimumFractionDigits=0):n.maximumFractionDigits==null?n.maximumFractionDigits=n.minimumFractionDigits:n.minimumFractionDigits==null&&(n.minimumFractionDigits=n.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(t,n),this.options=this.formatter.resolvedOptions(),this.symbols=QV(t,this.formatter,this.options,n);var r,l;this.options.style==="percent"&&(((r=this.options.minimumFractionDigits)!==null&&r!==void 0?r:0)>18||((l=this.options.maximumFractionDigits)!==null&&l!==void 0?l:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const zw=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),JV=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function QV(e,t,n,r){var l,s,u,f;let g=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roundingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),b=g.formatToParts(-10000.111),y=g.formatToParts(10000.111),S=JV.map(Z=>g.formatToParts(Z));var w;let C=(w=(l=b.find(Z=>Z.type==="minusSign"))===null||l===void 0?void 0:l.value)!==null&&w!==void 0?w:"-",R=(s=y.find(Z=>Z.type==="plusSign"))===null||s===void 0?void 0:s.value;!R&&(r?.signDisplay==="exceptZero"||r?.signDisplay==="always")&&(R="+");let B=(u=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find(Z=>Z.type==="decimal"))===null||u===void 0?void 0:u.value,V=(f=b.find(Z=>Z.type==="group"))===null||f===void 0?void 0:f.value,W=b.filter(Z=>!zw.has(Z.type)).map(Z=>Nw(Z.value)),H=S.flatMap(Z=>Z.filter(ke=>!zw.has(ke.type)).map(ke=>Nw(ke.value))),te=[...new Set([...W,...H])].sort((Z,ke)=>ke.length-Z.length),U=te.length===0?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${te.join("|")}|[\\p{White_Space}]`,"gu"),K=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),be=new Map(K.map((Z,ke)=>[Z,ke])),ge=new RegExp(`[${K.join("")}]`,"g");return{minusSign:C,plusSign:R,decimal:B,group:V,literals:U,numeral:ge,index:Z=>String(be.get(Z))}}function Of(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function Nw(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var Dw=tt("numberInput").parts("root","label","input","control","valueText","incrementTrigger","decrementTrigger","scrubber");Dw.build();var qV=e=>e.ids?.input??`number-input:${e.id}:input`,$V=e=>e.ids?.incrementTrigger??`number-input:${e.id}:inc`,eB=e=>e.ids?.decrementTrigger??`number-input:${e.id}:dec`,Mw=e=>`number-input:${e.id}:cursor`,qp=e=>e.getById(qV(e)),tB=e=>e.getById($V(e)),nB=e=>e.getById(eB(e)),Lw=e=>e.getDoc().getElementById(Mw(e)),rB=(e,t)=>{let n=null;return t==="increment"&&(n=tB(e)),t==="decrement"&&(n=nB(e)),n},iB=(e,t)=>{if(!VA())return oB(e,t),()=>{Lw(e)?.remove()}},aB=e=>{const t=e.getDoc(),n=t.documentElement,r=t.body;return r.style.pointerEvents="none",n.style.userSelect="none",n.style.cursor="ew-resize",()=>{r.style.pointerEvents="",n.style.userSelect="",n.style.cursor="",n.style.length||n.removeAttribute("style"),r.style.length||r.removeAttribute("style")}},lB=(e,t)=>{const{point:n,isRtl:r,event:l}=t,s=e.getWin(),u=Yv(l.movementX,s.devicePixelRatio),f=Yv(l.movementY,s.devicePixelRatio);let g=u>0?"increment":u<0?"decrement":null;r&&g==="increment"&&(g="decrement"),r&&g==="decrement"&&(g="increment");const b={x:n.x+u,y:n.y+f},y=s.innerWidth,S=Yv(7.5,s.devicePixelRatio);return b.x=vD(b.x+S,y)-S,{hint:g,point:b}},oB=(e,t)=>{const n=e.getDoc(),r=n.createElement("div");r.className="scrubber--cursor",r.id=Mw(e),Object.assign(r.style,{width:"15px",height:"15px",position:"fixed",pointerEvents:"none",left:"0px",top:"0px",zIndex:ID,transform:t?`translate3d(${t.x}px, ${t.y}px, 0px)`:void 0,willChange:"transform"}),r.innerHTML=`
99
+ <svg width="46" height="15" style="left: -15.5px; position: absolute; top: 0; filter: drop-shadow(rgba(0, 0, 0, 0.4) 0px 1px 1.1px);">
100
+ <g transform="translate(2 3)">
101
+ <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z" style="stroke-width: 2px; stroke: white;"></path>
102
+ <path fill-rule="evenodd" d="M 15 4.5L 15 2L 11.5 5.5L 15 9L 15 6.5L 31 6.5L 31 9L 34.5 5.5L 31 2L 31 4.5Z"></path>
103
+ </g>
104
+ </svg>`,n.body.appendChild(r)};function sB(e,t){if(!(!e||!t.isActiveElement(e)))try{const{selectionStart:n,selectionEnd:r,value:l}=e,s=l.substring(0,n),u=l.substring(r);return{start:n,end:r,value:l,beforeTxt:s,afterTxt:u}}catch{}}function uB(e,t,n){if(!(!e||!n.isActiveElement(e))){if(!t){e.setSelectionRange(e.value.length,e.value.length);return}try{const{value:r}=e,{beforeTxt:l="",afterTxt:s="",start:u}=t;let f=r.length;if(r.endsWith(s))f=r.length-s.length;else if(r.startsWith(l))f=l.length;else if(u!=null){const g=l[u-1],b=r.indexOf(g,u-1);b!==-1&&(f=b+1)}e.setSelectionRange(f,f)}catch{}}}var cB=(e,t={})=>new Intl.NumberFormat(e,t),fB=(e,t={})=>new Rw(e,t),I0=(e,t)=>{const{prop:n,computed:r}=t;return n("formatOptions")?e===""?Number.NaN:r("parser").parse(e):parseFloat(e)},ic=(e,t)=>{const{prop:n,computed:r}=t;return Number.isNaN(e)?"":n("formatOptions")?r("formatter").format(e):e.toString()},dB=(e,t)=>{let n=e!==void 0&&!Number.isNaN(e)?e:1;return t?.style==="percent"&&(e===void 0||Number.isNaN(e))&&(n=.01),n},{choose:hB,guards:gB,createMachine:pB}=QA(),{not:Fw,and:Vw}=gB;pB({props({props:e}){const t=dB(e.step,e.formatOptions);return{dir:"ltr",locale:"en-US",focusInputOnChange:!0,clampValueOnBlur:!e.allowOverflow,allowOverflow:!1,inputMode:"decimal",pattern:"-?[0-9]*(.[0-9]+)?",defaultValue:"",step:t,min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,spinOnPress:!0,...e,translations:{incrementLabel:"increment value",decrementLabel:"decrease value",...e.translations}}},initialState(){return"idle"},context({prop:e,bindable:t,getComputed:n}){return{value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(r){const l=n(),s=I0(r,{computed:l,prop:e});e("onValueChange")?.({value:r,valueAsNumber:s})}})),hint:t(()=>({defaultValue:null})),scrubberCursorPoint:t(()=>({defaultValue:null,hash(r){return r?`x:${r.x}, y:${r.y}`:""}})),fieldsetDisabled:t(()=>({defaultValue:!1}))}},computed:{isRtl:({prop:e})=>e("dir")==="rtl",valueAsNumber:({context:e,computed:t,prop:n})=>I0(e.get("value"),{computed:t,prop:n}),formattedValue:({computed:e,prop:t})=>ic(e("valueAsNumber"),{computed:e,prop:t}),isAtMin:({computed:e,prop:t})=>xD(e("valueAsNumber"),t("min")),isAtMax:({computed:e,prop:t})=>yD(e("valueAsNumber"),t("max")),isOutOfRange:({computed:e,prop:t})=>!SD(e("valueAsNumber"),t("min"),t("max")),isValueEmpty:({context:e})=>e.get("value")==="",isDisabled:({prop:e,context:t})=>!!e("disabled")||t.get("fieldsetDisabled"),canIncrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMax"),canDecrement:({prop:e,computed:t})=>e("allowOverflow")||!t("isAtMin"),valueText:({prop:e,context:t})=>e("translations").valueText?.(t.get("value")),formatter:JA(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>cB(e,t)),parser:JA(({prop:e})=>[e("locale"),e("formatOptions")],([e,t])=>fB(e,t))},watch({track:e,action:t,context:n,computed:r,prop:l}){e([()=>n.get("value"),()=>l("locale")],()=>{t(["syncInputElement"])}),e([()=>r("isOutOfRange")],()=>{t(["invokeOnInvalid"])}),e([()=>n.hash("scrubberCursorPoint")],()=>{t(["setVirtualCursorPosition"])})},effects:["trackFormControl"],on:{"VALUE.SET":{actions:["setRawValue"]},"VALUE.CLEAR":{actions:["clearValue"]},"VALUE.INCREMENT":{actions:["increment"]},"VALUE.DECREMENT":{actions:["decrement"]}},states:{idle:{on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","invokeOnFocus","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","invokeOnFocus","setHint","setCursorPoint"]},"INPUT.FOCUS":{target:"focused",actions:["focusInput","invokeOnFocus"]}}},focused:{tags:["focus"],effects:["attachWheelListener"],on:{"TRIGGER.PRESS_DOWN":[{guard:"isTouchPointer",target:"before:spin",actions:["setHint"]},{target:"before:spin",actions:["focusInput","setHint"]}],"SCRUBBER.PRESS_DOWN":{target:"scrubbing",actions:["focusInput","setHint","setCursorPoint"]},"INPUT.ARROW_UP":{actions:["increment"]},"INPUT.ARROW_DOWN":{actions:["decrement"]},"INPUT.HOME":{actions:["decrementToMin"]},"INPUT.END":{actions:["incrementToMax"]},"INPUT.CHANGE":{actions:["setValue","setHint"]},"INPUT.BLUR":[{guard:Vw("clampValueOnBlur",Fw("isInRange")),target:"idle",actions:["setClampedValue","clearHint","invokeOnBlur"]},{guard:Fw("isInRange"),target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur","invokeOnInvalid"]},{target:"idle",actions:["setFormattedValue","clearHint","invokeOnBlur"]}],"INPUT.ENTER":{actions:["setFormattedValue","clearHint","invokeOnBlur"]}}},"before:spin":{tags:["focus"],effects:["trackButtonDisabled","waitForChangeDelay"],entry:hB([{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}]),on:{CHANGE_DELAY:{target:"spinning",guard:Vw("isInRange","spinOnPress")},"TRIGGER.PRESS_UP":[{guard:"isTouchPointer",target:"focused",actions:["clearHint"]},{target:"focused",actions:["focusInput","clearHint"]}]}},spinning:{tags:["focus"],effects:["trackButtonDisabled","spinValue"],on:{SPIN:[{guard:"isIncrementHint",actions:["increment"]},{guard:"isDecrementHint",actions:["decrement"]}],"TRIGGER.PRESS_UP":{target:"focused",actions:["focusInput","clearHint"]}}},scrubbing:{tags:["focus"],effects:["activatePointerLock","trackMousemove","setupVirtualCursor","preventTextSelection"],on:{"SCRUBBER.POINTER_UP":{target:"focused",actions:["focusInput","clearCursorPoint"]},"SCRUBBER.POINTER_MOVE":[{guard:"isIncrementHint",actions:["increment","setCursorPoint"]},{guard:"isDecrementHint",actions:["decrement","setCursorPoint"]}]}}},implementations:{guards:{clampValueOnBlur:({prop:e})=>e("clampValueOnBlur"),spinOnPress:({prop:e})=>!!e("spinOnPress"),isInRange:({computed:e})=>!e("isOutOfRange"),isDecrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="decrement",isIncrementHint:({context:e,event:t})=>(t.hint??e.get("hint"))==="increment",isTouchPointer:({event:e})=>e.pointerType==="touch"},effects:{waitForChangeDelay({send:e}){const t=setTimeout(()=>{e({type:"CHANGE_DELAY"})},300);return()=>clearTimeout(t)},spinValue({send:e}){const t=setInterval(()=>{e({type:"SPIN"})},50);return()=>clearInterval(t)},trackFormControl({context:e,scope:t}){const n=qp(t);return jv(n,{onFieldsetDisabledChange(r){e.set("fieldsetDisabled",r)},onFormReset(){e.set("value",e.initial("value"))}})},setupVirtualCursor({context:e,scope:t}){const n=e.get("scrubberCursorPoint");return iB(t,n)},preventTextSelection({scope:e}){return aB(e)},trackButtonDisabled({context:e,scope:t,send:n}){const r=e.get("hint"),l=rB(t,r);return wp(l,{attributes:["disabled"],callback(){n({type:"TRIGGER.PRESS_UP",src:"attr"})}})},attachWheelListener({scope:e,send:t,prop:n}){const r=qp(e);if(!r||!e.isActiveElement(r)||!n("allowMouseWheel"))return;function l(s){s.preventDefault();const u=Math.sign(s.deltaY)*-1;u===1?t({type:"VALUE.INCREMENT"}):u===-1&&t({type:"VALUE.DECREMENT"})}return Nr(r,"wheel",l,{passive:!1})},activatePointerLock({scope:e}){if(!VA())return SM(e.getDoc())},trackMousemove({scope:e,send:t,context:n,computed:r}){const l=e.getDoc();function s(f){const g=n.get("scrubberCursorPoint"),b=r("isRtl"),y=lB(e,{point:g,isRtl:b,event:f});y.hint&&t({type:"SCRUBBER.POINTER_MOVE",hint:y.hint,point:y.point})}function u(){t({type:"SCRUBBER.POINTER_UP"})}return vp(Nr(l,"mousemove",s,!1),Nr(l,"mouseup",u,!1))}},actions:{focusInput({scope:e,prop:t}){if(!t("focusInputOnChange"))return;const n=qp(e);e.isActiveElement(n)||Dt(()=>n?.focus({preventScroll:!0}))},increment({context:e,event:t,prop:n,computed:r}){let l=CD(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(l=Li(l,n("min"),n("max"))),e.set("value",ic(l,{computed:r,prop:n}))},decrement({context:e,event:t,prop:n,computed:r}){let l=kD(r("valueAsNumber"),t.step??n("step"));n("allowOverflow")||(l=Li(l,n("min"),n("max"))),e.set("value",ic(l,{computed:r,prop:n}))},setClampedValue({context:e,prop:t,computed:n}){const r=Li(n("valueAsNumber"),t("min"),t("max"));e.set("value",ic(r,{computed:n,prop:t}))},setRawValue({context:e,event:t,prop:n,computed:r}){let l=I0(t.value,{computed:r,prop:n});n("allowOverflow")||(l=Li(l,n("min"),n("max"))),e.set("value",ic(l,{computed:r,prop:n}))},setValue({context:e,event:t}){const n=t.target?.value??t.value;e.set("value",n)},clearValue({context:e}){e.set("value","")},incrementToMax({context:e,prop:t,computed:n}){const r=ic(t("max"),{computed:n,prop:t});e.set("value",r)},decrementToMin({context:e,prop:t,computed:n}){const r=ic(t("min"),{computed:n,prop:t});e.set("value",r)},setHint({context:e,event:t}){e.set("hint",t.hint)},clearHint({context:e}){e.set("hint",null)},invokeOnFocus({computed:e,prop:t}){t("onFocusChange")?.({focused:!0,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnBlur({computed:e,prop:t}){t("onFocusChange")?.({focused:!1,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},invokeOnInvalid({computed:e,prop:t,event:n}){if(n.type==="INPUT.CHANGE")return;const r=e("valueAsNumber")>t("max")?"rangeOverflow":"rangeUnderflow";t("onValueInvalid")?.({reason:r,value:e("formattedValue"),valueAsNumber:e("valueAsNumber")})},syncInputElement({context:e,event:t,computed:n,scope:r}){const l=t.type.endsWith("CHANGE")?e.get("value"):n("formattedValue"),s=qp(r),u=sB(s,r);Dt(()=>{Ep(s,l),uB(s,u,r)})},setFormattedValue({context:e,computed:t}){e.set("value",t("formattedValue"))},setCursorPoint({context:e,event:t}){e.set("scrubberCursorPoint",t.point)},clearCursorPoint({context:e}){e.set("scrubberCursorPoint",null)},setVirtualCursorPosition({context:e,scope:t}){const n=Lw(t),r=e.get("scrubberCursorPoint");!n||!r||(n.style.transform=`translate3d(${r.x}px, ${r.y}px, 0px)`)}}}}),et()(["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 Bw=tt("pinInput").parts("root","label","input","control");Bw.build(),et()(["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 Hw=tt("popover").parts("arrow","arrowTip","anchor","trigger","indicator","positioner","content","title","description","closeTrigger");Hw.build(),et()(["autoFocus","closeOnEscape","closeOnInteractOutside","dir","getRootNode","id","ids","initialFocusEl","modal","onEscapeKeyDown","onFocusOutside","onInteractOutside","onOpenChange","onPointerDownOutside","onRequestDismiss","defaultOpen","open","persistentElements","portalled","positioning"]);var z0=tt("progress").parts("root","label","track","range","valueText","view","circle","circleTrack","circleRange");z0.build(),et()(["dir","getRootNode","id","ids","max","min","orientation","translations","value","onValueChange","defaultValue","formatOptions","locale"]);var Ww=tt("qr-code").parts("root","frame","pattern","overlay","downloadTrigger");Ww.build(),et()(["ids","defaultValue","value","id","encoding","dir","getRootNode","onValueChange","pixelSize"]);var N0=tt("radio-group").parts("root","label","item","itemText","itemControl","indicator");N0.build(),et()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"]),et()(["value","disabled","invalid"]);var Gw=tt("rating-group").parts("root","label","item","control");Gw.build(),et()(["allowHalf","autoFocus","count","dir","disabled","form","getRootNode","id","ids","name","onHoverChange","onValueChange","required","readOnly","translations","value","defaultValue"]),et()(["index"]);var Uw=tt("scroll-area").parts("root","viewport","content","scrollbar","thumb","corner");Uw.build(),et()(["dir","getRootNode","ids","id"]);const Yw=N0.rename("segment-group");Yw.build();var Xw=tt("select").parts("label","positioner","trigger","indicator","clearTrigger","item","itemText","itemIndicator","itemGroup","itemGroupLabel","list","content","root","control","valueText");Xw.build();var Zw=e=>new Gp(e);Zw.empty=()=>new Gp({items:[]});var mB=e=>e.ids?.content??`select:${e.id}:content`,bB=e=>e.ids?.trigger??`select:${e.id}:trigger`,vB=e=>e.ids?.clearTrigger??`select:${e.id}:clear-trigger`,yB=(e,t)=>e.ids?.item?.(t)??`select:${e.id}:option:${t}`,xB=e=>e.ids?.hiddenSelect??`select:${e.id}:select`,SB=e=>e.ids?.positioner??`select:${e.id}:positioner`,D0=e=>e.getById(xB(e)),Eh=e=>e.getById(mB(e)),$p=e=>e.getById(bB(e)),AB=e=>e.getById(vB(e)),Kw=e=>e.getById(SB(e)),M0=(e,t)=>t==null?null:e.getById(yB(e,t)),{and:wh,not:ac,or:EB}=Vs();EB("isTriggerArrowDownEvent","isTriggerEnterEvent"),wh(ac("multiple"),"hasSelectedItems"),ac("multiple"),wh(ac("multiple"),"hasSelectedItems"),ac("multiple"),ac("multiple"),ac("multiple"),ac("multiple"),wh("closeOnSelect","isOpenControlled"),wh("hasHighlightedItem","loop","isLastItemHighlighted"),wh("hasHighlightedItem","loop","isFirstItemHighlighted");function jw(e){const t=e.restoreFocus??e.previousEvent?.restoreFocus;return t==null||!!t}et()(["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"]),et()(["item","persistFocus"]),et()(["id"]),et()(["htmlFor"]);var Jw=tt("slider").parts("root","label","thumb","valueText","track","range","control","markerGroup","marker","draggingIndicator");Jw.build(),et()(["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"]),et()(["index","name"]);var Qw=tt("switch").parts("root","label","control","thumb");Qw.build(),et()(["checked","defaultChecked","dir","disabled","form","getRootNode","id","ids","invalid","label","name","onCheckedChange","readOnly","required","value"]);var qw=tt("tooltip").parts("trigger","arrow","arrowTip","positioner","content");qw.build();var wB=e=>e.ids?.trigger??`tooltip:${e.id}:trigger`,CB=e=>e.ids?.positioner??`tooltip:${e.id}:popper`,L0=e=>e.getById(wB(e)),$w=e=>e.getById(CB(e)),lc=TD({id:null}),{and:kB,not:eC}=Vs();kB("noVisibleTooltip",eC("hasPointerMoveOpened")),eC("hasPointerMoveOpened"),et()(["aria-label","closeDelay","closeOnEscape","closeOnPointerDown","closeOnScroll","closeOnClick","dir","disabled","getRootNode","id","ids","interactive","onOpenChange","defaultOpen","open","openDelay","positioning"]);function tC(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}const TB=(e,t)=>{if(!e||typeof e!="string")return{invalid:!0,value:e};const[n,r]=e.split("/");if(!n||!r||n==="currentBg")return{invalid:!0,value:n};const l=t(`colors.${n}`),s=t.raw(`opacity.${r}`)?.value;if(!s&&isNaN(Number(r)))return{invalid:!0,value:n};const u=s?Number(s)*100+"%":`${r}%`,f=l??n;return{invalid:!1,color:f,value:`color-mix(in srgb, ${f} ${u}, transparent)`}},dn=e=>(t,n)=>{const r=n.utils.colorMix(t);if(r.invalid)return{[e]:t};const l="--mix-"+e;return{[l]:r.value,[e]:`var(${l}, ${r.color})`}};function F0(e){if(e===null||typeof e!="object")return e;if(Array.isArray(e))return e.map(n=>F0(n));const t=Object.create(Object.getPrototypeOf(e));for(const n of Object.keys(e))t[n]=F0(e[n]);return t}function V0(e,t){if(t==null)return e;for(const n of Object.keys(t))if(!(t[n]===void 0||n==="__proto__"))if(!zi(e[n])&&zi(t[n]))Object.assign(e,{[n]:t[n]});else if(e[n]&&zi(t[n]))V0(e[n],t[n]);else if(Array.isArray(t[n])&&Array.isArray(e[n])){let r=0;for(;r<t[n].length;r++)zi(e[n][r])&&zi(t[n][r])?V0(e[n][r],t[n][r]):e[n][r]=t[n][r]}else Object.assign(e,{[n]:t[n]});return e}function _f(e,...t){for(const n of t)V0(e,n);return e}const em=["value","type","description"],OB=e=>e&&typeof e=="object"&&!Array.isArray(e),nC=(...e)=>{const t=_f({},...e.map(F0));return t.theme?.tokens&&go(t.theme.tokens,n=>{const s=Object.keys(n).filter(f=>!em.includes(f)).length>0,u=em.some(f=>n[f]!=null);return s&&u&&(n.DEFAULT||(n.DEFAULT={}),em.forEach(f=>{var g;n[f]!=null&&((g=n.DEFAULT)[f]||(g[f]=n[f]),delete n[f])})),n},{stop(n){return OB(n)&&Object.keys(n).some(r=>em.includes(r)||r!==r.toLowerCase()&&r!==r.toUpperCase())}}),t},_B=e=>e,gr=e=>e,it=e=>e,RB=e=>e,PB=e=>e,Rf=e=>e,IB=e=>e,zB=e=>e,NB=e=>e;function rC(){const e=t=>t;return new Proxy(e,{get(){return e}})}const ar=rC(),B0=rC(),H0=e=>e,DB=/[^a-zA-Z0-9_\u0081-\uffff-]/g;function MB(e){return`${e}`.replace(DB,t=>`\\${t}`)}const LB=/[A-Z]/g;function FB(e){return e.replace(LB,t=>`-${t.toLowerCase()}`)}function iC(e,t={}){const{fallback:n="",prefix:r=""}=t,l=FB(["-",r,MB(e)].filter(Boolean).join("-"));return{var:l,ref:`var(${l}${n?`, ${n}`:""})`}}const VB=e=>/^var\(--.+\)$/.test(e),Sr=(e,t)=>t!=null?`${e}(${t})`:t,oc=e=>{if(VB(e)||e==null)return e;const t=typeof e=="string"&&!e.endsWith("deg");return typeof e=="number"||t?`${e}deg`:e},aC=e=>({values:["outside","inside","mixed","none"],transform(t,{token:n}){const r=n("colors.colorPalette.focusRing");return{inside:{"--focus-ring-color":r,[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":r,[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":r,[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":r,[e]:{outline:"none"}}}[t]??{}}}),BB=dn("borderColor"),$o=e=>({transition:e,transitionTimingFunction:"cubic-bezier(0.4, 0, 0.2, 1)",transitionDuration:"150ms"}),HB=_B({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"}),Pf=iC("bg-currentcolor"),lC=e=>e===Pf.ref||e==="currentBg",hn=e=>({...e("colors"),currentBg:Pf}),WB=H0({conditions:HB,utilities:{background:{values:hn,shorthand:["bg"],transform(e,t){if(lC(t.raw))return{background:Pf.ref};const n=dn("background")(e,t);return{...n,[Pf.var]:n?.background}}},backgroundColor:{values:hn,shorthand:["bgColor"],transform(e,t){if(lC(t.raw))return{backgroundColor:Pf.ref};const n=dn("backgroundColor")(e,t);return{...n,[Pf.var]:n?.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{...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:hn,transform:dn("--gradient-from")},gradientTo:{values:hn,transform:dn("--gradient-to")},gradientVia:{values:hn,transform(e,t){return{...dn("--gradient-via")(e,t),"--gradient-via-stops":"var(--gradient-from), var(--gradient-via), var(--gradient-to)"}}},backgroundImage:{values(e){return{...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:hn,transform:dn("borderColor")},borderTopColor:{values:hn,transform:dn("borderTopColor")},borderBlockStartColor:{values:hn,transform:dn("borderBlockStartColor")},borderBottomColor:{values:hn,transform:dn("borderBottomColor")},borderBlockEndColor:{values:hn,transform:dn("borderBlockEndColor")},borderLeftColor:{values:hn,transform:dn("borderLeftColor")},borderInlineStartColor:{values:hn,shorthand:["borderStartColor"],transform:dn("borderInlineStartColor")},borderRightColor:{values:hn,transform:dn("borderRightColor")},borderInlineEndColor:{values:hn,shorthand:["borderEndColor"],transform:dn("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:hn,transform:dn("color")},fill:{values:hn,transform:dn("fill")},stroke:{values:hn,transform:dn("stroke")},accentColor:{values:hn,transform:dn("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:hn,transform(e,t){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":BB(e,t)}}},divideStyle:{property:"borderStyle",transform(e){return{"& > :not(style, [hidden]) ~ :not(style, [hidden])":{borderStyle:e}}}},boxShadow:{values:"shadows",shorthand:["shadow"]},boxShadowColor:{values:hn,transform:dn("--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":Sr("blur",e)})},brightness:{transform:e=>({"--brightness":Sr("brightness",e)})},contrast:{transform:e=>({"--contrast":Sr("contrast",e)})},grayscale:{transform:e=>({"--grayscale":Sr("grayscale",e)})},hueRotate:{transform:e=>({"--hue-rotate":Sr("hue-rotate",oc(e))})},invert:{transform:e=>({"--invert":Sr("invert",e)})},saturate:{transform:e=>({"--saturate":Sr("saturate",e)})},sepia:{transform:e=>({"--sepia":Sr("sepia",e)})},dropShadow:{transform:e=>({"--drop-shadow":Sr("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":Sr("blur",e)})},backdropBrightness:{transform:e=>({"--backdrop-brightness":Sr("brightness",e)})},backdropContrast:{transform:e=>({"--backdrop-contrast":Sr("contrast",e)})},backdropGrayscale:{transform:e=>({"--backdrop-grayscale":Sr("grayscale",e)})},backdropHueRotate:{transform:e=>({"--backdrop-hue-rotate":Sr("hue-rotate",oc(e))})},backdropInvert:{transform:e=>({"--backdrop-invert":Sr("invert",e)})},backdropOpacity:{transform:e=>({"--backdrop-opacity":Sr("opacity",e)})},backdropSaturate:{transform:e=>({"--backdrop-saturate":Sr("saturate",e)})},backdropSepia:{transform:e=>({"--backdrop-sepia":Sr("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:hn,transform:dn("outlineColor")},focusRing:aC("&:is(:focus, [data-focus])"),focusVisibleRing:aC("&:is(:focus-visible, [data-focus-visible])"),focusRingColor:{values:hn,transform:dn("--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:t,token:n})=>({[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}`:`@media screen and (min-width: ${e})`]:{display:"none"}})},hideBelow:{values:"breakpoints",transform(e,{raw:t,token:n}){return{[n.raw(`breakpoints.${t}`)?`@breakpoint ${t}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:hn,transform:dn("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:hn,transform:dn("--ring-color")},ringOffset:{transform:e=>({"--ring-offset-width":e})},ringOffsetColor:{values:hn,transform:dn("--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:hn,transform:dn("textDecorationColor")},textShadow:{values:"shadows"},transform:{transform:e=>{let t=e;return e==="auto"&&(t="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"&&(t="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:t}}},skewX:{transform:e=>({"--skew-x":oc(e)})},skewY:{transform:e=>({"--skew-y":oc(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:oc(e)}:{rotate:"var(--rotate-x, 0) var(--rotate-y, 0) var(--rotate-z, 0)"}}},rotateX:{transform(e){return{"--rotate-x":oc(e)}}},rotateY:{transform(e){return{"--rotate-y":oc(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 $o("all");case"position":return $o("left, right, top, bottom, inset-inline, inset-block");case"colors":return $o("color, background-color, border-color, text-decoration-color, fill, stroke");case"opacity":return $o("opacity");case"shadow":return $o("box-shadow");case"transform":return $o("transform");case"size":return $o("width, height");case"backgrounds":return $o("background, background-color, background-image, background-position");case"common":return $o("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=>({...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 GB[e]||{}}},debug:{values:{type:"boolean"},transform(e){return e?{outline:"1px solid blue !important","& > *":{outline:"1px solid red !important"}}:{}}},caretColor:{values:hn,transform:dn("caretColor")},cursor:{values:"cursor"}}}),GB={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 UB="",YB=UB.split(","),XB="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",ZB=XB.split(",").concat(YB),KB=new Map(ZB.map(e=>[e,!0]));function jB(e){const t=Object.create(null);return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var JB=/&|@/,QB=jB(e=>KB.has(e)||e.startsWith("--")||JB.test(e));function oC(e,t){const n={};return go(e,(r,l)=>{r&&(n[l.join(".")]=r.value)},{stop:t}),n}var W0,sC;function qB(){if(sC)return W0;sC=1,W0=s,s.default=s,s.stable=b,s.stableStringify=b;var e="[...]",t="[Circular]",n=[],r=[];function l(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(w,C,R,z){typeof z>"u"&&(z=l()),f(w,"",0,[],void 0,0,z);var B;try{r.length===0?B=JSON.stringify(w,C,R):B=JSON.stringify(w,S(C),R)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var V=n.pop();V.length===4?Object.defineProperty(V[0],V[1],V[3]):V[0][V[1]]=V[2]}}return B}function u(w,C,R,z){var B=Object.getOwnPropertyDescriptor(z,R);B.get!==void 0?B.configurable?(Object.defineProperty(z,R,{value:w}),n.push([z,R,C,B])):r.push([C,R,w]):(z[R]=w,n.push([z,R,C]))}function f(w,C,R,z,B,V,W){V+=1;var H;if(typeof w=="object"&&w!==null){for(H=0;H<z.length;H++)if(z[H]===w){u(t,w,C,B);return}if(typeof W.depthLimit<"u"&&V>W.depthLimit){u(e,w,C,B);return}if(typeof W.edgesLimit<"u"&&R+1>W.edgesLimit){u(e,w,C,B);return}if(z.push(w),Array.isArray(w))for(H=0;H<w.length;H++)f(w[H],H,H,z,w,V,W);else{var te=Object.keys(w);for(H=0;H<te.length;H++){var U=te[H];f(w[U],U,H,z,w,V,W)}}z.pop()}}function g(w,C){return w<C?-1:w>C?1:0}function b(w,C,R,z){typeof z>"u"&&(z=l());var B=y(w,"",0,[],void 0,0,z)||w,V;try{r.length===0?V=JSON.stringify(B,C,R):V=JSON.stringify(B,S(C),R)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;n.length!==0;){var W=n.pop();W.length===4?Object.defineProperty(W[0],W[1],W[3]):W[0][W[1]]=W[2]}}return V}function y(w,C,R,z,B,V,W){V+=1;var H;if(typeof w=="object"&&w!==null){for(H=0;H<z.length;H++)if(z[H]===w){u(t,w,C,B);return}try{if(typeof w.toJSON=="function")return}catch{return}if(typeof W.depthLimit<"u"&&V>W.depthLimit){u(e,w,C,B);return}if(typeof W.edgesLimit<"u"&&R+1>W.edgesLimit){u(e,w,C,B);return}if(z.push(w),Array.isArray(w))for(H=0;H<w.length;H++)y(w[H],H,H,z,w,V,W);else{var te={},U=Object.keys(w).sort(g);for(H=0;H<U.length;H++){var K=U[H];y(w[K],K,H,z,w,V,W),te[K]=w[K]}if(typeof B<"u")n.push([B,C,w]),B[C]=te;else return te}z.pop()}}function S(w){return w=typeof w<"u"?w:function(C,R){return R},function(C,R){if(r.length>0)for(var z=0;z<r.length;z++){var B=r[z];if(B[1]===C&&B[0]===R){R=B[2],r.splice(z,1);break}}return w.call(this,C,R)}}return W0}var $B=qB();const eH=Mu($B),Sl=e=>{const t=Object.create(null);function n(...r){const l=r.map(s=>eH(s)).join("|");return t[l]===void 0&&(t[l]=e(...r)),t[l]}return n},uC=16,tm="px",G0="em",Ch="rem";function cC(e=""){const t=new RegExp(String.raw`-?\d+(?:\.\d+|\d*)`),n=new RegExp(`${tm}|${G0}|${Ch}`);return e.match(new RegExp(`${t.source}(${n.source})`))?.[1]}function fC(e=""){if(typeof e=="number")return`${e}px`;const t=cC(e);if(!t||t===tm)return e;if(t===G0||t===Ch)return`${parseFloat(e)*uC}${tm}`}function dC(e=""){const t=cC(e);if(!t||t===Ch)return e;if(t===G0)return`${parseFloat(e)}${Ch}`;if(t===tm)return`${parseFloat(e)/uC}${Ch}`}const tH=e=>e.charAt(0).toUpperCase()+e.slice(1);function nH(e){const t=rH(e),n=Object.fromEntries(t);function r(w){return n[w]}function l(w){return If(r(w))}function s(){const w=Object.keys(n),C=iH(w),R=w.flatMap(z=>{const B=r(z),V=[`${z}Down`,If({max:nm(B.min)})],W=[z,If({min:B.min})],H=[`${z}Only`,l(z)];return[W,H,V]}).filter(([,z])=>z!=="").concat(C.map(([z,B])=>{const V=r(z),W=r(B);return[`${z}To${tH(B)}`,If({min:V.min,max:nm(W.min)})]}));return Object.fromEntries(R)}function u(){const w=s();return Object.fromEntries(Object.entries(w))}const f=u(),g=w=>f[w];function b(){return["base",...Object.keys(n)]}function y(w){return If({min:r(w).min})}function S(w){return If({max:nm(r(w).min)})}return{values:Object.values(n),only:l,keys:b,conditions:f,getCondition:g,up:y,down:S}}function nm(e){const t=parseFloat(fC(e)??"")-.04;return dC(`${t}px`)}function rH(e){return Object.entries(e).sort(([,n],[,r])=>parseInt(n,10)<parseInt(r,10)?-1:1).map(([n,r],l,s)=>{let u=null;return l<=s.length-1&&(u=s[l+1]?.[1]),u!=null&&(u=nm(u)),[n,{name:n,min:dC(r),max:u}]})}function iH(e){const t=[];return e.forEach((n,r)=>{let l=r;l++;let s=e[l];for(;s;)t.push([n,s]),l++,s=e[l]}),t}function If({min:e,max:t}){return e==null&&t==null?"":["@media screen",e&&`(min-width: ${e})`,t&&`(max-width: ${t})`].filter(Boolean).join(" and ")}const aH=(e,t)=>Object.fromEntries(Object.entries(e).map(([n,r])=>t(n,r))),lH=e=>{const{breakpoints:t,conditions:n={}}=e,r=aH(n,(y,S)=>[`_${y}`,S]),l=Object.assign({},r,t.conditions);function s(){return Object.keys(l)}function u(y){return s().includes(y)||/^@|&|&$/.test(y)||y.startsWith("_")}function f(y){return y.filter(S=>S!=="base").sort((S,w)=>{const C=u(S),R=u(w);return C&&!R?1:!C&&R?-1:0})}function g(y){return y.startsWith("@breakpoint")?t.getCondition(y.replace("@breakpoint ","")):y}function b(y){return Reflect.get(l,y)||y}return{keys:s,sort:f,has:u,resolve:b,breakpoints:t.keys(),expandAtRule:g}},hC=e=>({minMax:new RegExp(`(!?\\(\\s*min(-device-)?-${e})(.|
105
+ )+\\(\\s*max(-device)?-${e}`,"i"),min:new RegExp(`\\(\\s*min(-device)?-${e}`,"i"),maxMin:new RegExp(`(!?\\(\\s*max(-device)?-${e})(.|
106
+ )+\\(\\s*min(-device)?-${e}`,"i"),max:new RegExp(`\\(\\s*max(-device)?-${e}`,"i")}),oH=hC("width"),sH=hC("height"),gC=e=>({isMin:xC(e.minMax,e.maxMin,e.min),isMax:xC(e.maxMin,e.minMax,e.max)}),{isMin:U0,isMax:pC}=gC(oH),{isMin:Y0,isMax:mC}=gC(sH),bC=/print/i,vC=/^print$/i,uH=/(-?\d*\.?\d+)(ch|em|ex|px|rem)/,cH=/(\d)/,kh=Number.MAX_VALUE,fH={ch:8.8984375,em:16,rem:16,ex:8.296875,px:1};function yC(e){const t=uH.exec(e)||(U0(e)||Y0(e)?cH.exec(e):null);if(!t)return kh;if(t[0]==="0")return 0;const n=parseFloat(t[1]),r=t[2];return n*(fH[r]||1)}function xC(e,t,n){return r=>e.test(r)||!t.test(r)&&n.test(r)}function dH(e,t){const n=bC.test(e),r=vC.test(e),l=bC.test(t),s=vC.test(t);return n&&l?!r&&s?1:r&&!s?-1:e.localeCompare(t):n?1:l?-1:null}const hH=Sl((e,t)=>{const n=dH(e,t);if(n!==null)return n;const r=U0(e)||Y0(e),l=pC(e)||mC(e),s=U0(t)||Y0(t),u=pC(t)||mC(t);if(r&&u)return-1;if(l&&s)return 1;const f=yC(e),g=yC(t);return f===kh&&g===kh?e.localeCompare(t):f===kh?1:g===kh?-1:f!==g?f>g?l?-1:1:l?1:-1:e.localeCompare(t)});function SC(e){return e.sort(([t],[n])=>hH(t,n))}function AC(e){const t=[],n=[],r={};for(const[u,f]of Object.entries(e))u.startsWith("@media")?t.push([u,f]):u.startsWith("@container")?n.push([u,f]):zi(f)?r[u]=AC(f):r[u]=f;const l=SC(t),s=SC(n);return{...r,...Object.fromEntries(l),...Object.fromEntries(s)}}const EC=/\s*!(important)?/i,gH=e=>co(e)?EC.test(e):!1,pH=e=>co(e)?e.replace(EC,"").trim():e;function wC(e){const{transform:t,conditions:n,normalize:r}=e,l=vH(e);return Sl(function(...u){const f=l(...u),g=r(f),b=Object.create(null);return go(g,(y,S)=>{const w=gH(y);if(y==null)return;const[C,...R]=n.sort(S).map(n.resolve);w&&(y=pH(y));let z=t(C,y)??Object.create(null);z=go(z,B=>co(B)&&w?`${B} !important`:B,{getKey:B=>n.expandAtRule(B)}),mH(b,R.flat(),z)}),AC(b)})}function mH(e,t,n){let r=e;for(const l of t)l&&(r[l]||(r[l]=Object.create(null)),r=r[l]);_f(r,n)}function bH(...e){return e.filter(t=>zi(t)&&Object.keys(Ld(t)).length>0)}function vH(e){function t(n){const r=bH(...n);return r.length===1?r:r.map(l=>e.normalize(l))}return Sl(function(...r){return _f({},...t(r))})}const CC=e=>({base:{},variants:{},defaultVariants:{},compoundVariants:[],...e});function yH(e){const{css:t,conditions:n,normalize:r,layers:l}=e;function s(f={}){const{base:g,variants:b,defaultVariants:y,compoundVariants:S}=CC(f),w=wC({conditions:n,normalize:r,transform(W,H){return b[W]?.[H]}}),C=(W={})=>{const H=r({...y,...Ld(W)});let te={...g};_f(te,w(H));const U=u(S,H);return l.wrap("recipes",t(te,U))},R=Object.keys(b),z=W=>{const H=tC(W,["recipe"]),[te,U]=$c(H,R);return R.includes("colorPalette")||(te.colorPalette=W.colorPalette||y.colorPalette),R.includes("orientation")&&(U.orientation=W.orientation),[te,U]},B=Object.fromEntries(Object.entries(b).map(([W,H])=>[W,Object.keys(H)]));return Object.assign(W=>t(C(W)),{className:f.className,__cva__:!0,variantMap:B,variantKeys:R,raw:C,config:f,splitVariantProps:z,merge(W){return s(xH(e)(this,W))}})}function u(f,g){let b={};return f.forEach(y=>{Object.entries(y).every(([w,C])=>w==="css"?!0:(Array.isArray(C)?C:[C]).some(z=>g[w]===z))&&(b=t(b,y.css))}),b}return s}function xH(e){const{css:t}=e;return function(r,l){const s=CC(l.config),u=N1(r.variantKeys,Object.keys(l.variants)),f=t(r.base,s.base),g=Object.fromEntries(u.map(w=>[w,t(r.config.variants[w],s.variants[w])])),b=_f(r.config.defaultVariants,s.defaultVariants),y=[...r.compoundVariants,...s.compoundVariants];return{className:na(r.className,l.className),base:f,variants:g,defaultVariants:b,compoundVariants:y}}}const SH={reset:"reset",base:"base",tokens:"tokens",recipes:"recipes"},kC={reset:0,base:1,tokens:2,recipes:3};function AH(e){const t=e.layers??SH,r=Object.values(t).sort((l,s)=>kC[l]-kC[s]);return{names:r,atRule:`@layer ${r.join(", ")};`,wrap(l,s){return e.disableLayers?s:{[`@layer ${t[l]}`]:s}}}}function EH(e){const{utility:t,normalize:n}=e,{hasShorthand:r,resolveShorthand:l}=t;return function(s){return go(s,n,{stop:u=>Array.isArray(u),getKey:r?l:void 0})}}function wH(e){const{preflight:t}=e;if(!t)return{};const{scope:n="",level:r="parent"}=zi(t)?t:{};let l="";n&&r==="parent"?l=`${n} `:n&&r==="element"&&(l=`&${n}`);const s={"*":{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"}},u={[n||"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(r==="element"){const f=Object.entries(s).reduce((g,[b,y])=>(g[b]={[l]:y},g),{});Object.assign(u,f)}else l?u[l]=s:Object.assign(u,s);return u}function CH(e){const{conditions:t,isValidProperty:n}=e;return function(l){return go(l,s=>s,{getKey:(s,u)=>zi(u)&&!t.has(s)&&!n(s)?kH(s).map(f=>"&"+f).join(", "):s})}}function kH(e){const t=[];let n=0,r="",l=!1;for(let s=0;s<e.length;s++){const u=e[s];if(u==="\\"&&!l){l=!0,r+=u;continue}if(l){l=!1,r+=u;continue}u==="("?n++:u===")"&&n--,u===","&&n===0?(t.push(r.trim()),r=""):r+=u}return r&&t.push(r.trim()),t}const TH=(e={})=>{const t=l=>({base:e.base?.[l]??{},variants:{},defaultVariants:e.defaultVariants??{},compoundVariants:e.compoundVariants?OH(e.compoundVariants,l):[]}),r=(e.slots??[]).map(l=>[l,t(l)]);for(const[l,s]of Object.entries(e.variants??{}))for(const[u,f]of Object.entries(s))r.forEach(([g,b])=>{var y;(y=b.variants)[l]??(y[l]={}),b.variants[l][u]=f[g]??{}});return Object.fromEntries(r)},OH=(e,t)=>e.filter(n=>n.css[t]).map(n=>({...n,css:n.css[t]}));function _H(e){const{cva:t}=e;return function(r={}){const l=Object.entries(TH(r)).map(([S,w])=>[S,t(w)]);function s(S){const w=l.map(([C,R])=>[C,R(S)]);return Object.fromEntries(w)}const u=r.variants??{},f=Object.keys(u);function g(S){const w=tC(S,["recipe"]),[C,R]=$c(w,f);return f.includes("colorPalette")||(C.colorPalette=S.colorPalette||r.defaultVariants?.colorPalette),f.includes("orientation")&&(R.orientation=S.orientation),[C,R]}const b=Object.fromEntries(Object.entries(u).map(([S,w])=>[S,Object.keys(w)]));let y={};return r.className&&(y=Object.fromEntries(r.slots.map(S=>[S,`${r.className}__${S}`]))),Object.assign(s,{variantMap:b,variantKeys:f,splitVariantProps:g,classNameMap:y})}}const RH=()=>e=>Array.from(new Set(e)),PH=/([\0-\x1f\x7f]|^-?\d)|^-$|^-|[^\x80-\uFFFF\w-]/g,IH=function(e,t){return t?e==="\0"?"�":e==="-"&&e.length===1?"\\-":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16):"\\"+e},TC=e=>(e+"").replace(PH,IH),OC=(e,t)=>{let n="",r=0,l="char",s="",u="";const f=[];for(;r<e.length;){const g=e[r];if(g==="{"){const y=e.indexOf("}",r);if(y===-1)break;const S=e.slice(r+1,y),w=t(S);n+=w??S,r=y+1;continue}if(l==="token"&&g===","){e[r]===""&&r++,l="fallback",f.push(l);const y=t(s);y?.endsWith(")")&&(n+=y.slice(0,-1)),s="",u="";continue}if(l==="fallback"&&u+g===", var("){const w=zH(e.slice(r+1))+r+1,C=e.slice(r+1,w);if(w===-1)break;n+=", var("+C+")",r=w+1,l=f.pop()??l,u="";continue}if(l==="token"||l==="fallback"){if(r++,g===")"){l=f.pop()??l??"char",u+=g;const y=s&&(t(s)??TC(s));if(u){if(u=u.slice(1).trim(),!u.startsWith("token(")&&u.endsWith(")")&&(u=u.slice(0,-1)),u.includes("token(")){const w=OC(u,t);w&&(u=w.slice(0,-1))}else if(u){const w=t(u);w&&(u=w)}}const S=n.at(-1);u?S?.trim()?n+=y.slice(0,-1)+(", "+u+")"):n+=u:n+=y||")",s="",u="",l="char";continue}l==="token"&&(s+=g),l==="fallback"&&(u+=g);continue}const b=e.indexOf("token(",r);if(b!==-1){const y=b+6;n+=e.slice(r,b),r=y,l="token",f.push(l);continue}n+=g,r++}return n},zH=e=>{let t=0;const n=["("];for(;t<e.length;){const r=e[t];if(r==="(")n.push(r);else if(r===")"&&(n.pop(),n.length===0))return t;t++}return t};function _C(e){const t={};return e.forEach((n,r)=>{n instanceof Map?t[r]=Object.fromEntries(n):t[r]=n}),t}const RC=/({([^}]*)})/g,NH=/[{}]/g,DH=/\w+\.\w+/,PC=e=>{if(!co(e))return[];const t=e.match(RC);return t?t.map(n=>n.replace(NH,"")).map(n=>n.trim()):[]},MH=e=>RC.test(e);function IC(e){if(!e.extensions?.references)return e.extensions?.cssVar?.ref??e.value;const t=e.extensions.references??{};return e.value=Object.keys(t).reduce((n,r)=>{const l=t[r];if(l.extensions.conditions)return n;const s=IC(l);return n.replace(`{${r}}`,s)},e.value),delete e.extensions.references,e.value}function zC(e){return zi(e)&&e.reference?e.reference:String(e)}const rm=(e,...t)=>t.map(zC).join(` ${e} `).replace(/calc/g,""),NC=(...e)=>`calc(${rm("+",...e)})`,DC=(...e)=>`calc(${rm("-",...e)})`,X0=(...e)=>`calc(${rm("*",...e)})`,MC=(...e)=>`calc(${rm("/",...e)})`,LC=e=>{const t=zC(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:X0(t,-1)},zf=Object.assign(e=>({add:(...t)=>zf(NC(e,...t)),subtract:(...t)=>zf(DC(e,...t)),multiply:(...t)=>zf(X0(e,...t)),divide:(...t)=>zf(MC(e,...t)),negate:()=>zf(LC(e)),toString:()=>e.toString()}),{add:NC,subtract:DC,multiply:X0,divide:MC,negate:LC}),LH={enforce:"pre",transform(e){const{prefix:t,allTokens:n,formatCssVar:r,formatTokenName:l,registerToken:s}=e;n.filter(({extensions:f})=>f.category==="spacing").forEach(f=>{const g=f.path.slice(),b=r(g,t);if(co(f.value)&&f.value==="0rem")return;const y=structuredClone(f);Object.assign(y.extensions,{negative:!0,prop:`-${f.extensions.prop}`,originalPath:g}),y.value=zf.negate(b.ref);const S=y.path[y.path.length-1];S!=null&&(y.path[y.path.length-1]=`-${S}`),y.path&&(y.name=l(y.path)),s(y)})}},FH=new Set(["spacing","sizes","borderWidths","fontSizes","radii"]),VH=[LH,{enforce:"post",transform(e){const{allTokens:t,registerToken:n,formatTokenName:r}=e,l=t.filter(({extensions:f})=>f.category==="colors"),s=new Map,u=new Map;l.forEach(f=>{const{colorPalette:g}=f.extensions;g&&(g.keys.forEach(b=>{s.set(r(b),b)}),g.roots.forEach(b=>{const y=r(b),S=u.get(y)||[];if(S.push(f),u.set(y,S),f.extensions.default&&b.length===1){const w=g.keys[0]?.filter(Boolean);if(!w.length)return;const C=b.concat(w);s.set(r(C),[])}}))}),s.forEach(f=>{const g=["colors","colorPalette",...f].filter(Boolean),b=r(g),y=r(g.slice(1));n({name:b,value:b,originalValue:b,path:g,extensions:{condition:"base",originalPath:g,category:"colors",prop:y,virtual:!0}},"pre")})}},{enforce:"post",transform(e){e.allTokens.filter(n=>FH.has(n.extensions.category)&&!n.extensions.negative).forEach(n=>{Object.assign(n.extensions,{pixelValue:fC(n.value)})})}},{enforce:"post",transform(e){e.allTokens=e.allTokens.filter(t=>t.value!=="")}}],BH=[{type:"extensions",enforce:"pre",name:"tokens/css-var",transform(e,t){const{prefix:n,formatCssVar:r}=t,{negative:l,originalPath:s}=e.extensions,u=l?s:e.path;return{cssVar:r(u.filter(Boolean),n)}}},{enforce:"post",type:"value",name:"tokens/conditionals",transform(e,t){const{prefix:n,formatCssVar:r}=t,l=PC(e.value);return l.length&&l.forEach(s=>{const u=r(s.split("."),n);e.value=e.value.replace(`{${u.ref}}`,u)}),e.value}},{type:"extensions",enforce:"pre",name:"tokens/colors/colorPalette",match(e){return e.extensions.category==="colors"&&!e.extensions.virtual},transform(e,t){let n=e.path.slice();if(n.pop(),n.shift(),n.length===0){const f=[...e.path];f.shift(),n=f}if(n.length===0)return{};const r=n.reduce((f,g,b,y)=>{const S=y.slice(0,b+1);return f.push(S),f},[]),l=n[0],s=t.formatTokenName(n),u=e.path.slice(e.path.indexOf(l)+1).reduce((f,g,b,y)=>(f.push(y.slice(b)),f),[]);return u.length===0&&u.push([""]),{colorPalette:{value:s,roots:r,keys:u}}}}],FC=e=>zi(e)&&Object.prototype.hasOwnProperty.call(e,"value");function HH(e){return e?{breakpoints:np(e,t=>({value:t})),sizes:Object.fromEntries(Object.entries(e).map(([t,n])=>[`breakpoint-${t}`,{value:n}]))}:{breakpoints:{},sizes:{}}}function WH(e){const{prefix:t="",tokens:n={},semanticTokens:r={},breakpoints:l={}}=e,s=ye=>ye.join("."),u=(ye,Re)=>iC(ye.join("-"),{prefix:Re}),f=[],g=new Map,b=new Map,y=new Map,S=new Map,w=new Map,C=new Map,R=new Map,z=new Map,B=[];function V(ye,Re){f.push(ye),g.set(ye.name,ye),Re&&z.forEach(Pe=>{Pe.enforce===Re&&k(Pe,ye)})}const W=HH(l),H=Ld({...n,breakpoints:W.breakpoints,sizes:{...n.sizes,...W.sizes}});function te(){go(H,(ye,Re)=>{const Pe=Re.includes("DEFAULT");Re=VC(Re);const Fe=Re[0],Ve=s(Re),ct=co(ye)?{value:ye}:ye,Yt={value:ct.value,originalValue:ct.value,name:Ve,path:Re,extensions:{condition:"base",originalPath:Re,category:Fe,prop:s(Re.slice(1))}};Pe&&(Yt.extensions.default=!0),V(Yt)},{stop:FC}),go(r,(ye,Re)=>{const Pe=Re.includes("DEFAULT");Re=BC(VC(Re));const Fe=Re[0],Ve=s(Re),ct=co(ye.value)?{value:{base:ye.value}}:ye,Yt={value:ct.value.base||"",originalValue:ct.value.base||"",name:Ve,path:Re,extensions:{originalPath:Re,category:Fe,conditions:ct.value,condition:"base",prop:s(Re.slice(1))}};Pe&&(Yt.extensions.default=!0),V(Yt)},{stop:FC})}function U(ye){return g.get(ye)}function K(ye){const{condition:Re}=ye.extensions;Re&&(b.has(Re)||b.set(Re,new Set),b.get(Re).add(ye))}function be(ye){const{category:Re,prop:Pe}=ye.extensions;Re&&(R.has(Re)||R.set(Re,new Map),R.get(Re).set(Pe,ye))}function ge(ye){const{condition:Re,negative:Pe,virtual:Fe,cssVar:Ve}=ye.extensions;Pe||Fe||!Re||!Ve||(y.has(Re)||y.set(Re,new Map),y.get(Re).set(Ve.var,ye.value))}function fe(ye){const{category:Re,prop:Pe,cssVar:Fe,negative:Ve}=ye.extensions;if(!Re)return;C.has(Re)||C.set(Re,new Map);const ct=Ve?ye.extensions.conditions?ye.originalValue:ye.value:Fe.ref;C.get(Re).set(Pe,ct),w.set([Re,Pe].join("."),ct)}function Z(ye){const{colorPalette:Re,virtual:Pe,default:Fe}=ye.extensions;!Re||Pe||Re.roots.forEach(Ve=>{const ct=s(Ve);S.has(ct)||S.set(ct,new Map);const Yt=UH([...ye.path],[...Ve]),Wn=s(Yt),kt=U(Wn);if(!kt||!kt.extensions.cssVar)return;const{var:nn}=kt.extensions.cssVar;if(S.get(ct).set(nn,ye.extensions.cssVar.ref),Fe&&Ve.length===1){const Bi=s(["colors","colorPalette"]),Lr=U(Bi);if(!Lr)return;const Mn=s(ye.path),rn=U(Mn);if(!rn)return;const xt=Re.keys[0]?.filter(Boolean);if(!xt.length)return;const wn=s(Ve.concat(xt));S.has(wn)||S.set(wn,new Map),S.get(wn).set(Lr.extensions.cssVar.var,rn.extensions.cssVar.ref)}})}let ke={};function ue(){f.forEach(ye=>{K(ye),be(ye),ge(ye),fe(ye),Z(ye)}),ke=_C(C)}const Oe=(ye,Re)=>{if(!ye||typeof ye!="string")return{invalid:!0,value:ye};const[Pe,Fe]=ye.split("/");if(!Pe||!Fe)return{invalid:!0,value:Pe};const Ve=Re(Pe),ct=U(`opacity.${Fe}`)?.value;if(!ct&&isNaN(Number(Fe)))return{invalid:!0,value:Pe};const Yt=ct?Number(ct)*100+"%":`${Fe}%`,Wn=Ve??Pe;return{invalid:!1,color:Wn,value:`color-mix(in srgb, ${Wn} ${Yt}, transparent)`}},ee=Sl((ye,Re)=>w.get(ye)??Re),oe=Sl(ye=>ke[ye]||null),D=Sl(ye=>OC(ye,Re=>{if(!Re)return;if(Re.includes("/")){const Fe=Oe(Re,Ve=>ee(Ve));if(Fe.invalid)throw new Error("Invalid color mix at "+Re+": "+Fe.value);return Fe.value}const Pe=ee(Re);return Pe||(DH.test(Re)?TC(Re):Re)})),j={prefix:t,allTokens:f,tokenMap:g,registerToken:V,getByName:U,formatTokenName:s,formatCssVar:u,flatMap:w,cssVarMap:y,categoryMap:R,colorPaletteMap:S,getVar:ee,getCategoryValues:oe,expandReferenceInValue:D};function we(...ye){ye.forEach(Re=>{z.set(Re.name,Re)})}function Ee(...ye){B.push(...ye)}function k(ye,Re){if(Re.extensions.references||ob(ye.match)&&!ye.match(Re))return;const Fe=(Ve=>ye.transform(Ve,j))(Re);switch(!0){case ye.type==="extensions":Object.assign(Re.extensions,Fe);break;case ye.type==="value":Re.value=Fe;break;default:Re[ye.type]=Fe;break}}function G(ye){B.forEach(Re=>{Re.enforce===ye&&Re.transform(j)})}function me(ye){z.forEach(Re=>{Re.enforce===ye&&f.forEach(Pe=>{k(Re,Pe)})})}function M(){f.forEach(ye=>{const Re=GH(ye);!Re||Re.length===0||Re.forEach(Pe=>{V(Pe)})})}function xe(ye){return PC(ye).map(Pe=>U(Pe)).filter(Boolean)}function He(){f.forEach(ye=>{if(!MH(ye.value))return;const Re=xe(ye.value);ye.extensions.references=Re.reduce((Pe,Fe)=>(Pe[Fe.name]=Fe,Pe),{})})}function Me(){f.forEach(ye=>{IC(ye)})}function ht(){G("pre"),me("pre"),M(),He(),Me(),G("post"),me("post"),ue()}return te(),we(...BH),Ee(...VH),ht(),j}function VC(e){return e[0]==="DEFAULT"?e:e.filter(t=>t!=="DEFAULT")}function BC(e){return e.filter(t=>t!=="base")}function GH(e){if(!e.extensions.conditions)return;const{conditions:t}=e.extensions,n=[];return go(t,(r,l)=>{const s=BC(l);if(!s.length)return;const u=structuredClone(e);u.value=r,u.extensions.condition=s.join(":"),n.push(u)}),n}function UH(e,t){const n=e.findIndex((r,l)=>t.every((s,u)=>e[l+u]===s));return n===-1||(e.splice(n,t.length),e.splice(n,0,"colorPalette")),e}RH()(["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 EX(e){return e}function YH(e){return Object.fromEntries(Object.entries(e).map(([t,n])=>[t,n]))}function XH(e){const t=YH(e.config),n=e.tokens,r=new Map,l=new Map;function s(ge,fe){t[ge]=fe,u(ge,fe)}const u=(ge,fe)=>{const Z=z(fe);Z&&(l.set(ge,Z),S(ge,fe))},f=()=>{for(const[ge,fe]of Object.entries(t))fe&&u(ge,fe)},g=()=>{for(const[ge,fe]of Object.entries(t)){const{shorthand:Z}=fe??{};if(!Z)continue;(Array.isArray(Z)?Z:[Z]).forEach(ue=>r.set(ue,ge))}},b=()=>{const ge=_C(n.colorPaletteMap);s("colorPalette",{values:Object.keys(ge),transform:Sl(fe=>ge[fe])})},y=new Map,S=(ge,fe)=>{if(!fe)return;const Z=z(fe,ue=>`type:Tokens["${ue}"]`);if(typeof Z=="object"&&Z.type){y.set(ge,new Set([`type:${Z.type}`]));return}if(Z){const ue=new Set(Object.keys(Z));y.set(ge,ue)}const ke=y.get(ge)??new Set;fe.property&&y.set(ge,ke.add(`CssProperties["${fe.property}"]`))},w=()=>{for(const[ge,fe]of Object.entries(t))fe&&S(ge,fe)},C=(ge,fe)=>{const Z=y.get(ge)??new Set;y.set(ge,new Set([...Z,...fe]))},R=()=>{const ge=new Map;for(const[fe,Z]of y.entries()){if(Z.size===0){ge.set(fe,["string"]);continue}const ke=Array.from(Z).map(ue=>ue.startsWith("CssProperties")?ue:ue.startsWith("type:")?ue.replace("type:",""):JSON.stringify(ue));ge.set(fe,ke)}return ge},z=(ge,fe)=>{const{values:Z}=ge,ke=ue=>{const Oe=fe?.(ue);return Oe?{[Oe]:Oe}:void 0};return co(Z)?ke?.(Z)??n.getCategoryValues(Z)??{}:Array.isArray(Z)?Z.reduce((ue,Oe)=>(ue[Oe]=Oe,ue),{}):ob(Z)?Z(fe?ke:n.getCategoryValues):Z},B=Sl((ge,fe)=>({[ge]:ge.startsWith("--")?n.getVar(fe,fe):fe})),V=Object.assign(n.getVar,{raw:ge=>n.getByName(ge)}),W=Sl((ge,fe)=>{const Z=U(ge);co(fe)&&!fe.includes("_EMO_")&&(fe=n.expandReferenceInValue(fe));const ke=t[Z];if(!ke)return B(Z,fe);const ue=l.get(Z)?.[fe];if(!ke.transform)return B(ge,ue??fe);const Oe=ee=>TB(ee,V);return ke.transform(ue??fe,{raw:fe,token:V,utils:{colorMix:Oe}})});function H(){g(),b(),f(),w()}H();const te=r.size>0,U=Sl(ge=>r.get(ge)??ge);return{keys:()=>[...Array.from(r.keys()),...Object.keys(t)],hasShorthand:te,transform:W,shorthands:r,resolveShorthand:U,register:s,getTypes:R,addPropertyType:C}}const Vi={};function HC(...e){const t=nC(...e),{theme:n={},utilities:r={},globalCss:l={},cssVarsRoot:s=":where(:root, :host)",cssVarsPrefix:u="chakra",preflight:f}=t,g=AH(t),b=WH({breakpoints:n.breakpoints,tokens:n.tokens,semanticTokens:n.semanticTokens,prefix:u}),y=nH(n.breakpoints??Vi),S=lH({conditions:t.conditions??Vi,breakpoints:y}),w=XH({config:r,tokens:b});function C(){const{textStyles:Ee,layerStyles:k,animationStyles:G}=n,me=Ld({textStyle:Ee,layerStyle:k,animationStyle:G});for(const[M,xe]of Object.entries(me)){const He=oC(xe??Vi,WC);w.register(M,{values:Object.keys(He),transform(Me){return H(He[Me])}})}}C(),w.addPropertyType("animationName",Object.keys(n.keyframes??Vi));const R=new Set(["css",...w.keys(),...S.keys()]),z=Sl(Ee=>R.has(Ee)||QB(Ee)),B=Ee=>Array.isArray(Ee)?Ee.reduce((k,G,me)=>{const M=S.breakpoints[me];return G!=null&&(k[M]=G),k},{}):Ee,V=EH({utility:w,normalize:B}),W=CH({conditions:S,isValidProperty:z}),H=wC({transform:w.transform,conditions:S,normalize:V}),te=yH({css:H,conditions:S,normalize:V,layers:g}),U=_H({cva:te});function K(){const Ee={};for(const[k,G]of b.cssVarMap.entries()){const me=Object.fromEntries(G);if(Object.keys(me).length===0)continue;const M=k==="base"?s:S.resolve(k),xe=M.startsWith("@"),He=H(W({[M]:xe?{[s]:me}:me}));_f(Ee,He)}return g.wrap("tokens",Ee)}function be(){const Ee=Object.fromEntries(Object.entries(n.keyframes??Vi).map(([G,me])=>[`@keyframes ${G}`,me])),k=Object.assign({},Ee,H(W(l)));return g.wrap("base",k)}function ge(Ee){return $c(Ee,z)}function fe(){const Ee=wH({preflight:f});return g.wrap("reset",Ee)}const Z=ZH(b),ke=(Ee,k)=>Z.get(Ee)?.value||k;ke.var=(Ee,k)=>Z.get(Ee)?.variable||k;function ue(Ee,k){return n.recipes?.[Ee]??k}function Oe(Ee,k){return n.slotRecipes?.[Ee]??k}function ee(Ee){return Object.hasOwnProperty.call(n.recipes??Vi,Ee)}function oe(Ee){return Object.hasOwnProperty.call(n.slotRecipes??Vi,Ee)}function D(Ee){return ee(Ee)||oe(Ee)}const j=[fe(),be(),K()],we={layerStyles:Z0(n.layerStyles??Vi),textStyles:Z0(n.textStyles??Vi),animationStyles:Z0(n.animationStyles??Vi),tokens:GC(b,Object.keys(n.tokens??Vi),(Ee,k)=>!Ee.extensions.conditions&&!k.includes("colorPalette")),semanticTokens:GC(b,Object.keys(n.semanticTokens??Vi),Ee=>!!Ee.extensions.conditions),keyframes:UC(n.keyframes??Vi),breakpoints:UC(n.breakpoints??Vi)};return{$$chakra:!0,_config:t,_global:j,breakpoints:y,tokens:b,conditions:S,utility:w,token:ke,properties:R,layers:g,isValidProperty:z,splitCssProps:ge,normalizeValue:B,getTokenCss:K,getGlobalCss:be,getPreflightCss:fe,css:H,cva:te,sva:U,getRecipe:ue,getSlotRecipe:Oe,hasRecipe:D,isRecipe:ee,isSlotRecipe:oe,query:we}}function ZH(e){const t=new Map;return e.allTokens.forEach(n=>{const{cssVar:r,virtual:l,conditions:s}=n.extensions,u=s||l?r.ref:n.value;t.set(n.name,{value:u,variable:r.ref})}),t}const WC=e=>zi(e)&&"value"in e,Z0=e=>({list(){return Object.keys(oC(e,WC))},search(t){return this.list().filter(n=>n.includes(t))}}),GC=(e,t,n)=>({categoryKeys:t,list(r){return Array.from(e.categoryMap.get(r)?.entries()??[]).reduce((l,[s,u])=>(n(u,s)&&l.push(s),l),[])},search(r,l){return this.list(r).filter(s=>s.includes(l))}}),UC=e=>({list(){return Object.keys(e)},search(t){return this.list().filter(n=>n.includes(t))}}),KH={sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},K0="var(--chakra-empty,/*!*/ /*!*/)",jH=PB({"*":{fontFeatureSettings:'"cv11"',"--ring-inset":K0,"--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}`,K0])),...Object.fromEntries(["blur","brightness","contrast","grayscale","hue-rotate","invert","opacity","saturate","sepia"].map(e=>[`--backdrop-${e}`,K0])),"--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"}}),JH=NB({"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:{}}}),QH=zB({"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"}}}),j0=gr({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"}}),qH=gr({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"}}),Dr=gr({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:$H,defaultVariants:eW}=j0,tW=gr({className:"chakra-code",base:{fontFamily:"mono",alignItems:"center",display:"inline-flex",borderRadius:"l2"},variants:$H,defaultVariants:eW}),YC=gr({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"}}),nW=gr({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"}}}}),rW=gr({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"}}),iW=gr({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"}}),lr=gr({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"}}),aW=gr({className:"chakra-input-addon",base:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap",alignSelf:"stretch",borderRadius:"l2"},variants:{size:lr.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"}}),lW=gr({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"}}),oW=gr({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"}}),sW=gr({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:{}}}}),Mr=gr({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"}}),uW=gr({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"}}),cW=gr({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}}),fW=gr({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"}}}),dW=gr({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"}}),hW=gr({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"}}),gW={badge:j0,button:qH,code:tW,container:nW,heading:rW,input:lr,inputAddon:aW,kbd:lW,link:oW,mark:sW,separator:uW,skeleton:cW,skipNavLink:fW,spinner:dW,textarea:hW,icon:iW,checkmark:Dr,radiomark:Mr,colorSwatch:YC},pW=B0.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}"}}}}),mW=B0.radii({l1:{value:"{radii.xs}"},l2:{value:"{radii.sm}"},l3:{value:"{radii.md}"}}),bW=B0.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}"}}}),vW=GE.extendWith("itemBody"),yW=tt("action-bar").parts("positioner","content","separator","selectionTrigger","closeTrigger"),xW=tt("alert").parts("title","description","root","indicator","content"),SW=tt("breadcrumb").parts("link","currentLink","item","list","root","ellipsis","separator"),AW=tt("blockquote").parts("root","icon","content","caption"),EW=tt("card").parts("root","header","body","footer","title","description"),wW=tt("checkbox-card",["root","control","label","description","addon","indicator","content"]),CW=tt("data-list").parts("root","item","itemLabel","itemValue"),kW=w0.extendWith("header","body","footer","backdrop"),TW=w0.extendWith("header","body","footer","backdrop"),OW=pw.extendWith("textarea"),_W=tt("empty-state",["root","content","indicator","title","description"]),RW=$A.extendWith("requiredIndicator"),PW=mw.extendWith("content"),IW=bw.extendWith("itemContent","dropzoneContent","fileText"),zW=tt("list").parts("root","item","indicator"),NW=ww.extendWith("itemCommand"),DW=tt("select").parts("root","field","indicator"),MW=Hw.extendWith("header","body","footer"),XC=N0.extendWith("itemAddon","itemIndicator"),LW=XC.extendWith("itemContent","itemDescription"),FW=Gw.extendWith("itemIndicator"),VW=Xw.extendWith("indicatorGroup"),BW=yV.extendWith("indicatorGroup","empty"),HW=Jw.extendWith("markerIndicator"),WW=tt("stat").parts("root","label","helpText","valueText","valueUnit","indicator"),GW=tt("status").parts("root","indicator"),UW=tt("steps",["root","list","item","trigger","indicator","separator","content","title","description","nextTrigger","prevTrigger","progress"]),YW=Qw.extendWith("indicator"),XW=tt("table").parts("root","header","body","row","columnHeader","cell","footer","caption"),ZW=tt("toast").parts("root","title","description","indicator","closeTrigger","actionTrigger"),KW=tt("tabs").parts("root","trigger","list","content","contentGroup","indicator"),jW=tt("tag").parts("root","label","closeTrigger","startElement","endElement"),JW=tt("timeline").parts("root","item","content","separator","indicator","connector","title","description"),QW=DF.extendWith("channelText"),qW=tt("code-block",["root","content","title","header","footer","control","overlay","code","codeText","copyTrigger","copyIndicator","collapseTrigger","collapseIndicator","collapseText"]);qE.extendWith("valueText");const $W=_V,eG=it({className:"chakra-accordion",slots:vW.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"}}),tG=it({className:"chakra-action-bar",slots:yW.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"}}}),nG=it({slots:xW.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}}),rG=it({slots:XE.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"}}),iG=it({className:"chakra-blockquote",slots:AW.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"}}),aG=it({className:"chakra-breadcrumb",slots:SW.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"}}),lG=it({className:"chakra-card",slots:EW.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"}}),oG=it({slots:NF.keys(),className:"chakra-checkbox",base:{root:{display:"inline-flex",gap:"2",alignItems:"center",verticalAlign:"top",position:"relative"},control:Dr.base,label:{fontWeight:"medium",userSelect:"none",_disabled:{opacity:"0.5"}}},variants:{size:{xs:{root:{gap:"1.5"},label:{textStyle:"xs"},control:Dr.variants?.size?.xs},sm:{root:{gap:"2"},label:{textStyle:"sm"},control:Dr.variants?.size?.sm},md:{root:{gap:"2.5"},label:{textStyle:"sm"},control:Dr.variants?.size?.md},lg:{root:{gap:"3"},label:{textStyle:"md"},control:Dr.variants?.size?.lg}},variant:{outline:{control:Dr.variants?.variant?.outline},solid:{control:Dr.variants?.variant?.solid},subtle:{control:Dr.variants?.variant?.subtle}}},defaultVariants:{variant:"solid",size:"md"}}),sG=it({slots:wW.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:Dr.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:Dr.variants?.size.sm},md:{root:{textStyle:"sm"},control:{padding:"4",gap:"2.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Dr.variants?.size.md},lg:{root:{textStyle:"md"},control:{padding:"4",gap:"3.5"},addon:{px:"4",py:"2",borderTopWidth:"1px"},indicator:Dr.variants?.size.lg}},variant:{surface:{root:{borderWidth:"1px",borderColor:"border",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"},_disabled:{bg:"bg.muted"}},indicator:Dr.variants?.variant.solid},subtle:{root:{bg:"bg.muted"},control:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},indicator:Dr.variants?.variant.plain},outline:{root:{borderWidth:"1px",borderColor:"border",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},indicator:Dr.variants?.variant.solid},solid:{root:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},indicator:Dr.variants?.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"}}),uG=it({slots:qW.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"}}),cG=it({slots:rE.keys(),className:"chakra-collapsible",base:{content:{overflow:"hidden",_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}),fG=it({className:"colorPicker",slots:QW.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:{...YC.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:{...lr.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:lr.variants?.size?.["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:lr.variants?.size?.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:lr.variants?.size?.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:lr.variants?.size?.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:lr.variants?.size?.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:lr.variants?.size?.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:lr.variants?.size?.["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:lr.variants?.variant?.outline,trigger:{borderWidth:"1px"}},subtle:{channelInput:lr.variants?.variant?.subtle,trigger:{borderWidth:"1px",borderColor:"transparent",bg:"bg.muted"}}}},defaultVariants:{size:"md",variant:"outline"}}),dG=it({className:"chakra-combobox",slots:BW.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"}}),hG=it({slots:CW.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"}}),gG=it({slots:kW.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"}}),pG=it({slots:TW.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"}}),ZC=Rf({fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent",borderRadius:"l2"}),mG=it({slots:OW.keys(),className:"chakra-editable",base:{root:{display:"inline-flex",alignItems:"center",position:"relative",gap:"1.5",width:"full"},preview:{...ZC,py:"1",px:"1",display:"inline-flex",alignItems:"center",transitionProperty:"common",transitionDuration:"moderate",cursor:"text",_hover:{bg:"bg.muted"},_disabled:{userSelect:"none"}},input:{...ZC,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"}}),bG=it({slots:_W.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"}}),vG=it({className:"chakra-field",slots:RW.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"}}),yG=it({className:"fieldset",slots:PW.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"}}),xG=it({className:"chakra-file-upload",slots:IW.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:{}}),SG=it({className:"chakra-hover-card",slots:vw.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"}}),AG=it({className:"chakra-list",slots:zW.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"}}),EG=it({className:"chakra-listbox",slots:$W.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"}}),wG=it({className:"chakra-menu",slots:NW.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"}}),im=it({className:"chakra-select",slots:VW.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"}}),CG=it({className:"chakra-native-select",slots:DW.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:im.variants?.variant.outline.trigger},subtle:{field:im.variants?.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:im.defaultVariants});function J0(e,t){const n={};for(const r in e){const l=t(r,e[r]);n[l[0]]=l[1]}return n}const KC=Rf({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"}}),kG=it({className:"chakra-number-input",slots:Dw.keys(),base:{root:{position:"relative",zIndex:"0",isolation:"isolate"},input:{...lr.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:{...KC,borderTopEndRadius:"var(--stepper-radius)"},decrementTrigger:{...KC,borderBottomEndRadius:"var(--stepper-radius)"},valueText:{fontWeight:"medium",fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}},variants:{size:{xs:{input:lr.variants.size.xs,control:{fontSize:"2xs","--stepper-width":"sizes.4"}},sm:{input:lr.variants.size.sm,control:{fontSize:"xs","--stepper-width":"sizes.5"}},md:{input:lr.variants.size.md,control:{fontSize:"sm","--stepper-width":"sizes.6"}},lg:{input:lr.variants.size.lg,control:{fontSize:"sm","--stepper-width":"sizes.6"}}},variant:J0(lr.variants.variant,(e,t)=>[e,{input:t}])},defaultVariants:{size:"md",variant:"outline"}}),{variants:jC,defaultVariants:TG}=lr,OG=it({className:"chakra-pin-input",slots:Bw.keys(),base:{input:{...lr.base,textAlign:"center",width:"var(--input-height)"},control:{display:"inline-flex",gap:"2",isolation:"isolate"}},variants:{size:J0(jC.size,(e,t)=>[e,{input:{...t,px:"1"}}]),variant:J0(jC.variant,(e,t)=>[e,{input:t}]),attached:{true:{control:{gap:"0",spaceX:"-1px"},input:{_notFirst:{borderStartRadius:"0"},_notLast:{borderEndRadius:"0"},_focusVisible:{zIndex:"1"}}}}},defaultVariants:TG}),_G=it({className:"chakra-popover",slots:MW.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"}}),RG=it({slots:z0.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"}}),PG=it({className:"chakra-progress-circle",slots:z0.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"}}),IG=it({slots:Ww.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"}}),zG=it({className:"chakra-radio-card",slots:LW.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:Mr.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:Mr.variants?.size.sm},md:{item:{textStyle:"sm"},itemControl:{padding:"4",gap:"2.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Mr.variants?.size.md},lg:{item:{textStyle:"md"},itemControl:{padding:"4",gap:"3.5"},itemAddon:{px:"4",py:"2",borderTopWidth:"1px"},itemIndicator:Mr.variants?.size.lg}},variant:{surface:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.subtle",color:"colorPalette.fg",borderColor:"colorPalette.muted"}},itemIndicator:Mr.variants?.variant.solid},subtle:{item:{bg:"bg.muted"},itemControl:{_checked:{bg:"colorPalette.muted",color:"colorPalette.fg"}},itemIndicator:Mr.variants?.variant.outline},outline:{item:{borderWidth:"1px",_checked:{boxShadow:"0 0 0 1px var(--shadow-color)",boxShadowColor:"colorPalette.solid",borderColor:"colorPalette.solid"}},itemIndicator:Mr.variants?.variant.solid},solid:{item:{borderWidth:"1px",_checked:{bg:"colorPalette.solid",color:"colorPalette.contrast",borderColor:"colorPalette.solid"}},itemIndicator:Mr.variants?.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"}}),NG=it({className:"chakra-radio-group",slots:XC.keys(),base:{item:{display:"inline-flex",alignItems:"center",position:"relative",fontWeight:"medium",_disabled:{cursor:"disabled"}},itemControl:Mr.base,label:{userSelect:"none",textStyle:"sm",_disabled:{opacity:"0.5"}}},variants:{variant:{outline:{itemControl:Mr.variants?.variant?.outline},subtle:{itemControl:Mr.variants?.variant?.subtle},solid:{itemControl:Mr.variants?.variant?.solid}},size:{xs:{item:{textStyle:"xs",gap:"1.5"},itemControl:Mr.variants?.size?.xs},sm:{item:{textStyle:"sm",gap:"2"},itemControl:Mr.variants?.size?.sm},md:{item:{textStyle:"sm",gap:"2.5"},itemControl:Mr.variants?.size?.md},lg:{item:{textStyle:"md",gap:"3"},itemControl:Mr.variants?.size?.lg}}},defaultVariants:{size:"md",variant:"solid"}}),DG=it({className:"chakra-rating-group",slots:FW.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"}}),MG=it({className:"chakra-scroll-area",slots:Uw.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"}}),LG=it({className:"chakra-segment-group",slots:Yw.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"}}),FG=it({className:"chakra-slider",slots:HW.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"}}),VG=it({className:"chakra-stat",slots:WW.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"}}),BG=it({className:"chakra-status",slots:GW.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"}}),HG=it({className:"chakra-steps",slots:UW.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"}}),WG=it({slots:YW.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"}}),GG=it({className:"chakra-table",slots:XW.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"}}),UG=it({slots:KW.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"}}),am=j0.variants?.variant,YG=it({slots:jW.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:am?.subtle},solid:{root:am?.solid},outline:{root:am?.outline},surface:{root:am?.surface}}},defaultVariants:{size:"md",variant:"surface"}}),XG=it({slots:JW.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"}}),ZG=it({slots:ZW.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"}}}}),KG=it({slots:qw.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)"}}}),JC=Rf({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"}}),QC=Rf({flex:"1"}),qC=Rf({_selected:{bg:"colorPalette.subtle",color:"colorPalette.fg"}}),$C=Rf({_selected:{layerStyle:"fill.solid"}}),jG=it({slots:Sw.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:JC,item:JC,itemText:QC,branchText:QC,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:qC,item:qC},solid:{branchControl:$C,item:$C}},animateContent:{true:{branchContent:{_open:{animationName:"expand-height, fade-in",animationDuration:"moderate"},_closed:{animationName:"collapse-height, fade-out",animationDuration:"moderate"}}}}},defaultVariants:{size:"md",variant:"subtle"}}),JG={accordion:eG,actionBar:tG,alert:nG,avatar:rG,blockquote:iG,breadcrumb:aG,card:lG,checkbox:oG,checkboxCard:sG,codeBlock:uG,collapsible:cG,dataList:hG,dialog:gG,drawer:pG,editable:mG,emptyState:bG,field:vG,fieldset:yG,fileUpload:xG,hoverCard:SG,list:AG,listbox:EG,menu:wG,nativeSelect:CG,numberInput:kG,pinInput:OG,popover:_G,progress:RG,progressCircle:PG,radioCard:zG,radioGroup:NG,ratingGroup:DG,scrollArea:MG,segmentGroup:LG,select:im,combobox:dG,slider:FG,stat:VG,steps:HG,switch:WG,table:GG,tabs:UG,tag:YG,toast:ZG,tooltip:KG,status:BG,timeline:XG,colorPicker:fG,qrCode:IG,treeView:jG},QG=IB({"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"}}}),qG=ar.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"}}),$G=ar.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"}}),eU=ar.blurs({none:{value:" "},sm:{value:"4px"},md:{value:"8px"},lg:{value:"12px"},xl:{value:"16px"},"2xl":{value:"24px"},"3xl":{value:"40px"},"4xl":{value:"64px"}}),tU=ar.borders({xs:{value:"0.5px solid"},sm:{value:"1px solid"},md:{value:"2px solid"},lg:{value:"4px solid"},xl:{value:"8px solid"}}),nU=ar.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"}}}),rU=ar.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"}}),iU=ar.durations({fastest:{value:"50ms"},faster:{value:"100ms"},fast:{value:"150ms"},moderate:{value:"200ms"},slow:{value:"300ms"},slower:{value:"400ms"},slowest:{value:"500ms"}}),aU=ar.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)"}}),lU=ar.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"}}),oU=ar.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"}}),ek='-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',sU=ar.fonts({heading:{value:`Inter, ${ek}`},body:{value:`Inter, ${ek}`},mono:{value:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'}}),uU=RB({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"}}}),cU=ar.letterSpacings({tighter:{value:"-0.05em"},tight:{value:"-0.025em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}}),fU=ar.lineHeights({shorter:{value:1.25},short:{value:1.375},moderate:{value:1.5},tall:{value:1.625},taller:{value:2}}),dU=ar.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"}}),tk=ar.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"}}),hU=ar.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"}}),gU=ar.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"}}),pU=ar.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%"}}),mU=ar.sizes({...hU,...tk,...pU,...gU}),bU=ar.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}}),vU=H0({preflight:!0,cssVarsPrefix:"chakra",cssVarsRoot:":where(html, .chakra-theme)",globalCss:jH,theme:{breakpoints:KH,keyframes:uU,tokens:{aspectRatios:$G,animations:qG,blurs:eU,borders:tU,colors:nU,durations:iU,easings:aU,fonts:sU,fontSizes:lU,fontWeights:oU,letterSpacings:cU,lineHeights:fU,radii:dU,spacing:tk,sizes:mU,zIndex:bU,cursor:rU},semanticTokens:{colors:pW,shadows:bW,radii:mW},recipes:gW,slotRecipes:JG,textStyles:QG,layerStyles:JH,animationStyles:QH}}),Q0=nC(WB,vU);HC(Q0);const yU=()=>$.jsx(wt,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:$.jsxs(Ni,{p:6,h:"full",justify:"center",align:"center",children:[$.jsx(v2,{color:"blue.500",size:"lg"}),$.jsx(zr,{fontSize:"sm",color:"gray.600",textAlign:"center",children:"Loading your shopping assistant..."})]})}),xU=()=>{const{botData:e,isLoadingBot:t}=ho();if(t)return $.jsx(yU,{});if(!e)return null;const n=e?.white_label?.is_white_labeled??!1;return $.jsx(wt,{style:{zIndex:9999,overflow:"hidden",willChange:"transform",pointerEvents:"auto",transform:"translateY(0)",transition:"all 0.5s ease",visibility:"visible",opacity:1},children:$.jsxs(Ni,{p:3,h:"full",justify:"flex-start",align:"stretch",children:[$.jsx(n7,{})," ",!n&&$.jsx(wt,{transition:"all 0.5s cubic-bezier(0.4, 0, 0.2, 1)",children:$.jsx(r7,{variant:"default"})})]})})};function SU({sharingId:e,productId:t}){const{initializeBot:n,resetBot:r}=ho(),l=Ae.useRef(void 0),s=Ae.useRef(void 0);Ae.useEffect(()=>{(async()=>{(l.current&&e&&l.current!==e||s.current!==t)&&r?.(),l.current=e,s.current=t,e&&await n(e,t)})()},[e,t,n,r])}console.log("isDevelopment",!1);function AU(){const[e,t]=Ae.useState(""),[n,r]=Ae.useState(null);return SU({sharingId:e,productId:n}),Ae.useEffect(()=>{window.chatbotData?t(window.chatbotData.sharingID):Yu("useEffect sharing ID",()=>{const l=()=>{const b=document.querySelector("script#dori-react-widget");return{sharingId:b?.getAttribute("data-sharing-id")||"",productId:b?.getAttribute("data-product-id")||null}},{sharingId:s,productId:u}=l();t(s),r(u);const f=document.querySelector("script#dori-react-widget");if(!f)return;const g=new MutationObserver(b=>{for(const y of b)if(y.type==="attributes"&&(y.attributeName==="data-sharing-id"||y.attributeName==="data-product-id")){const{sharingId:S,productId:w}=l();t(S),r(w),console.log("script data changed:",{sharingId:S,productId:w})}});return g.observe(f,{attributes:!0,attributeFilter:["data-sharing-id","data-product-id"]}),()=>{g.disconnect()}})()},[]),$.jsx(wt,{fontFamily:"Estedad-FD, system-ui, Avenir, Helvetica, Arial, sans-serif",lineHeight:"1.5",fontWeight:"400",colorScheme:"light",children:$.jsx(xU,{})})}function EU(){return $.jsx(AU,{})}var lm={};const wU=qy(o_),CU=qy(IO);var sc={},Th={};/**
107
+ * @license React
108
+ * react-dom-server-legacy.browser.production.js
109
+ *
110
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
111
+ *
112
+ * This source code is licensed under the MIT license found in the
113
+ * LICENSE file in the root directory of this source tree.
114
+ */var nk;function kU(){if(nk)return Th;nk=1;var e=jc(),t=Sg();function n(h){var v="https://react.dev/errors/"+h;if(1<arguments.length){v+="?args[]="+encodeURIComponent(arguments[1]);for(var E=2;E<arguments.length;E++)v+="&args[]="+encodeURIComponent(arguments[E])}return"Minified React error #"+h+"; visit "+v+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.consumer"),y=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.scope"),V=Symbol.for("react.activity"),W=Symbol.for("react.legacy_hidden"),H=Symbol.for("react.memo_cache_sentinel"),te=Symbol.for("react.view_transition"),U=Symbol.iterator,K=Array.isArray;function be(h,v){var E=h.length&3,T=h.length-E,I=v;for(v=0;v<T;){var F=h.charCodeAt(v)&255|(h.charCodeAt(++v)&255)<<8|(h.charCodeAt(++v)&255)<<16|(h.charCodeAt(++v)&255)<<24;++v,F=3432918353*(F&65535)+((3432918353*(F>>>16)&65535)<<16)&4294967295,F=F<<15|F>>>17,F=461845907*(F&65535)+((461845907*(F>>>16)&65535)<<16)&4294967295,I^=F,I=I<<13|I>>>19,I=5*(I&65535)+((5*(I>>>16)&65535)<<16)&4294967295,I=(I&65535)+27492+(((I>>>16)+58964&65535)<<16)}switch(F=0,E){case 3:F^=(h.charCodeAt(v+2)&255)<<16;case 2:F^=(h.charCodeAt(v+1)&255)<<8;case 1:F^=h.charCodeAt(v)&255,F=3432918353*(F&65535)+((3432918353*(F>>>16)&65535)<<16)&4294967295,F=F<<15|F>>>17,I^=461845907*(F&65535)+((461845907*(F>>>16)&65535)<<16)&4294967295}return I^=h.length,I^=I>>>16,I=2246822507*(I&65535)+((2246822507*(I>>>16)&65535)<<16)&4294967295,I^=I>>>13,I=3266489909*(I&65535)+((3266489909*(I>>>16)&65535)<<16)&4294967295,(I^I>>>16)>>>0}var ge=Object.assign,fe=Object.prototype.hasOwnProperty,Z=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]*$"),ke={},ue={};function Oe(h){return fe.call(ue,h)?!0:fe.call(ke,h)?!1:Z.test(h)?ue[h]=!0:(ke[h]=!0,!1)}var ee=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(" ")),oe=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"]]),D=/["'&<>]/;function j(h){if(typeof h=="boolean"||typeof h=="number"||typeof h=="bigint")return""+h;h=""+h;var v=D.exec(h);if(v){var E="",T,I=0;for(T=v.index;T<h.length;T++){switch(h.charCodeAt(T)){case 34:v="&quot;";break;case 38:v="&amp;";break;case 39:v="&#x27;";break;case 60:v="&lt;";break;case 62:v="&gt;";break;default:continue}I!==T&&(E+=h.slice(I,T)),I=T+1,E+=v}h=I!==T?E+h.slice(I,T):E}return h}var we=/([A-Z])/g,Ee=/^ms-/,k=/^[\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 G(h){return k.test(""+h)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":h}var me=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xe={pending:!1,data:null,method:null,action:null},He=M.d;M.d={f:He.f,r:He.r,D:Rn,C:Mf,L:dc,m:Cl,X:or,S:Eo,M:hc};var Me=[],ht=/(<\/|<)(s)(cript)/gi;function ye(h,v,E,T){return""+v+(E==="s"?"\\u0073":"\\u0053")+T}function Re(h,v,E,T,I){return{idPrefix:h===void 0?"":h,nextFormID:0,streamingFormat:0,bootstrapScriptContent:E,bootstrapScripts:T,bootstrapModules:I,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function Pe(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function Fe(h,v,E){return{insertionMode:h,selectedValue:v,tagScope:E}}function Ve(h,v,E){switch(v){case"noscript":return Fe(2,null,h.tagScope|1);case"select":return Fe(2,E.value!=null?E.value:E.defaultValue,h.tagScope);case"svg":return Fe(4,null,h.tagScope);case"picture":return Fe(2,null,h.tagScope|2);case"math":return Fe(5,null,h.tagScope);case"foreignObject":return Fe(2,null,h.tagScope);case"table":return Fe(6,null,h.tagScope);case"thead":case"tbody":case"tfoot":return Fe(7,null,h.tagScope);case"colgroup":return Fe(9,null,h.tagScope);case"tr":return Fe(8,null,h.tagScope);case"head":if(2>h.insertionMode)return Fe(3,null,h.tagScope);break;case"html":if(h.insertionMode===0)return Fe(1,null,h.tagScope)}return 6<=h.insertionMode||2>h.insertionMode?Fe(2,null,h.tagScope):h}var ct=new Map;function Yt(h,v){if(typeof v!="object")throw Error(n(62));var E=!0,T;for(T in v)if(fe.call(v,T)){var I=v[T];if(I!=null&&typeof I!="boolean"&&I!==""){if(T.indexOf("--")===0){var F=j(T);I=j((""+I).trim())}else F=ct.get(T),F===void 0&&(F=j(T.replace(we,"-$1").toLowerCase().replace(Ee,"-ms-")),ct.set(T,F)),I=typeof I=="number"?I===0||ee.has(T)?""+I:I+"px":j((""+I).trim());E?(E=!1,h.push(' style="',F,":",I)):h.push(";",F,":",I)}}E||h.push('"')}function Wn(h,v,E){E&&typeof E!="function"&&typeof E!="symbol"&&h.push(" ",v,'=""')}function kt(h,v,E){typeof E!="function"&&typeof E!="symbol"&&typeof E!="boolean"&&h.push(" ",v,'="',j(E),'"')}var nn=j("javascript:throw new Error('React form unexpectedly submitted.')");function Bi(h,v){this.push('<input type="hidden"'),Lr(h),kt(this,"name",v),kt(this,"value",h),this.push("/>")}function Lr(h){if(typeof h!="string")throw Error(n(480))}function Mn(h,v){if(typeof v.$$FORM_ACTION=="function"){var E=h.nextFormID++;h=h.idPrefix+E;try{var T=v.$$FORM_ACTION(h);if(T){var I=T.data;I?.forEach(Lr)}return T}catch(F){if(typeof F=="object"&&F!==null&&typeof F.then=="function")throw F}}return null}function rn(h,v,E,T,I,F,J,ve){var ie=null;if(typeof T=="function"){var he=Mn(v,T);he!==null?(ve=he.name,T=he.action||"",I=he.encType,F=he.method,J=he.target,ie=he.data):(h.push(" ","formAction",'="',nn,'"'),J=F=I=T=ve=null,Ys(v,E))}return ve!=null&&xt(h,"name",ve),T!=null&&xt(h,"formAction",T),I!=null&&xt(h,"formEncType",I),F!=null&&xt(h,"formMethod",F),J!=null&&xt(h,"formTarget",J),ie}function xt(h,v,E){switch(v){case"className":kt(h,"class",E);break;case"tabIndex":kt(h,"tabindex",E);break;case"dir":case"role":case"viewBox":case"width":case"height":kt(h,v,E);break;case"style":Yt(h,E);break;case"src":case"href":if(E==="")break;case"action":case"formAction":if(E==null||typeof E=="function"||typeof E=="symbol"||typeof E=="boolean")break;E=G(""+E),h.push(" ",v,'="',j(E),'"');break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":Wn(h,v.toLowerCase(),E);break;case"xlinkHref":if(typeof E=="function"||typeof E=="symbol"||typeof E=="boolean")break;E=G(""+E),h.push(" ","xlink:href",'="',j(E),'"');break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof E!="function"&&typeof E!="symbol"&&h.push(" ",v,'="',j(E),'"');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":E&&typeof E!="function"&&typeof E!="symbol"&&h.push(" ",v,'=""');break;case"capture":case"download":E===!0?h.push(" ",v,'=""'):E!==!1&&typeof E!="function"&&typeof E!="symbol"&&h.push(" ",v,'="',j(E),'"');break;case"cols":case"rows":case"size":case"span":typeof E!="function"&&typeof E!="symbol"&&!isNaN(E)&&1<=E&&h.push(" ",v,'="',j(E),'"');break;case"rowSpan":case"start":typeof E=="function"||typeof E=="symbol"||isNaN(E)||h.push(" ",v,'="',j(E),'"');break;case"xlinkActuate":kt(h,"xlink:actuate",E);break;case"xlinkArcrole":kt(h,"xlink:arcrole",E);break;case"xlinkRole":kt(h,"xlink:role",E);break;case"xlinkShow":kt(h,"xlink:show",E);break;case"xlinkTitle":kt(h,"xlink:title",E);break;case"xlinkType":kt(h,"xlink:type",E);break;case"xmlBase":kt(h,"xml:base",E);break;case"xmlLang":kt(h,"xml:lang",E);break;case"xmlSpace":kt(h,"xml:space",E);break;default:if((!(2<v.length)||v[0]!=="o"&&v[0]!=="O"||v[1]!=="n"&&v[1]!=="N")&&(v=oe.get(v)||v,Oe(v))){switch(typeof E){case"function":case"symbol":return;case"boolean":var T=v.toLowerCase().slice(0,5);if(T!=="data-"&&T!=="aria-")return}h.push(" ",v,'="',j(E),'"')}}}function wn(h,v,E){if(v!=null){if(E!=null)throw Error(n(60));if(typeof v!="object"||!("__html"in v))throw Error(n(61));v=v.__html,v!=null&&h.push(""+v)}}function uc(h){var v="";return e.Children.forEach(h,function(E){E!=null&&(v+=E)}),v}function Ys(h,v){(h.instructions&16)===0&&(h.instructions|=16,v.bootstrapChunks.unshift(v.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(h,v){h.push(dt("link"));for(var E in v)if(fe.call(v,E)){var T=v[E];if(T!=null)switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:xt(h,E,T)}}return h.push("/>"),null}var Ie=/(<\/|<)(s)(tyle)/gi;function Ke(h,v,E,T){return""+v+(E==="s"?"\\73 ":"\\53 ")+T}function Xe(h,v,E){h.push(dt(E));for(var T in v)if(fe.call(v,T)){var I=v[T];if(I!=null)switch(T){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,E));default:xt(h,T,I)}}return h.push("/>"),null}function _t(h,v){h.push(dt("title"));var E=null,T=null,I;for(I in v)if(fe.call(v,I)){var F=v[I];if(F!=null)switch(I){case"children":E=F;break;case"dangerouslySetInnerHTML":T=F;break;default:xt(h,I,F)}}return h.push(">"),v=Array.isArray(E)?2>E.length?E[0]:null:E,typeof v!="function"&&typeof v!="symbol"&&v!==null&&v!==void 0&&h.push(j(""+v)),wn(h,T,E),h.push(fa("title")),null}function Gn(h,v){h.push(dt("script"));var E=null,T=null,I;for(I in v)if(fe.call(v,I)){var F=v[I];if(F!=null)switch(I){case"children":E=F;break;case"dangerouslySetInnerHTML":T=F;break;default:xt(h,I,F)}}return h.push(">"),wn(h,T,E),typeof E=="string"&&h.push((""+E).replace(ht,ye)),h.push(fa("script")),null}function vi(h,v,E){h.push(dt(E));var T=E=null,I;for(I in v)if(fe.call(v,I)){var F=v[I];if(F!=null)switch(I){case"children":E=F;break;case"dangerouslySetInnerHTML":T=F;break;default:xt(h,I,F)}}return h.push(">"),wn(h,T,E),E}function Zn(h,v,E){h.push(dt(E));var T=E=null,I;for(I in v)if(fe.call(v,I)){var F=v[I];if(F!=null)switch(I){case"children":E=F;break;case"dangerouslySetInnerHTML":T=F;break;default:xt(h,I,F)}}return h.push(">"),wn(h,T,E),typeof E=="string"?(h.push(j(E)),null):E}var yi=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,pr=new Map;function dt(h){var v=pr.get(h);if(v===void 0){if(!yi.test(h))throw Error(n(65,h));v="<"+h,pr.set(h,v)}return v}function Qt(h,v,E,T,I,F,J,ve,ie,he){switch(v){case"div":case"span":case"svg":case"path":break;case"a":h.push(dt("a"));var Be=null,Ne=null,Ue;for(Ue in E)if(fe.call(E,Ue)){var Qe=E[Ue];if(Qe!=null)switch(Ue){case"children":Be=Qe;break;case"dangerouslySetInnerHTML":Ne=Qe;break;case"href":Qe===""?kt(h,"href",""):xt(h,Ue,Qe);break;default:xt(h,Ue,Qe)}}if(h.push(">"),wn(h,Ne,Be),typeof Be=="string"){h.push(j(Be));var je=null}else je=Be;return je;case"g":case"p":case"li":break;case"select":h.push(dt("select"));var lt=null,Ft=null,Vt;for(Vt in E)if(fe.call(E,Vt)){var Bt=E[Vt];if(Bt!=null)switch(Vt){case"children":lt=Bt;break;case"dangerouslySetInnerHTML":Ft=Bt;break;case"defaultValue":case"value":break;default:xt(h,Vt,Bt)}}return h.push(">"),wn(h,Ft,lt),lt;case"option":var an=ve.selectedValue;h.push(dt("option"));var Ze=null,yn=null,vt=null,Pn=null,jt;for(jt in E)if(fe.call(E,jt)){var ot=E[jt];if(ot!=null)switch(jt){case"children":Ze=ot;break;case"selected":vt=ot;break;case"dangerouslySetInnerHTML":Pn=ot;break;case"value":yn=ot;default:xt(h,jt,ot)}}if(an!=null){var Lt=yn!==null?""+yn:uc(Ze);if(K(an)){for(var Ln=0;Ln<an.length;Ln++)if(""+an[Ln]===Lt){h.push(' selected=""');break}}else""+an===Lt&&h.push(' selected=""')}else vt&&h.push(' selected=""');return h.push(">"),wn(h,Pn,Ze),Ze;case"textarea":h.push(dt("textarea"));var xn=null,wi=null,br=null,In;for(In in E)if(fe.call(E,In)){var qn=E[In];if(qn!=null)switch(In){case"children":br=qn;break;case"value":xn=qn;break;case"defaultValue":wi=qn;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:xt(h,In,qn)}}if(xn===null&&wi!==null&&(xn=wi),h.push(">"),br!=null){if(xn!=null)throw Error(n(92));if(K(br)){if(1<br.length)throw Error(n(93));xn=""+br[0]}xn=""+br}return typeof xn=="string"&&xn[0]===`
115
+ `&&h.push(`
116
+ `),xn!==null&&h.push(j(""+xn)),null;case"input":h.push(dt("input"));var kn=null,Ui=null,Un=null,Ci=null,Aa=null,zn=null,Ea=null,li=null,bs=null,wa;for(wa in E)if(fe.call(E,wa)){var $n=E[wa];if($n!=null)switch(wa){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":kn=$n;break;case"formAction":Ui=$n;break;case"formEncType":Un=$n;break;case"formMethod":Ci=$n;break;case"formTarget":Aa=$n;break;case"defaultChecked":bs=$n;break;case"defaultValue":Ea=$n;break;case"checked":li=$n;break;case"value":zn=$n;break;default:xt(h,wa,$n)}}var cu=rn(h,T,I,Ui,Un,Ci,Aa,kn);return li!==null?Wn(h,"checked",li):bs!==null&&Wn(h,"checked",bs),zn!==null?xt(h,"value",zn):Ea!==null&&xt(h,"value",Ea),h.push("/>"),cu?.forEach(Bi,h),null;case"button":h.push(dt("button"));var Gl=null,nl=null,rl=null,vs=null,Ca=null,wr=null,cr=null,ki;for(ki in E)if(fe.call(E,ki)){var Fn=E[ki];if(Fn!=null)switch(ki){case"children":Gl=Fn;break;case"dangerouslySetInnerHTML":nl=Fn;break;case"name":rl=Fn;break;case"formAction":vs=Fn;break;case"formEncType":Ca=Fn;break;case"formMethod":wr=Fn;break;case"formTarget":cr=Fn;break;default:xt(h,ki,Fn)}}var Ti=rn(h,T,I,vs,Ca,wr,cr,rl);if(h.push(">"),Ti?.forEach(Bi,h),wn(h,nl,Gl),typeof Gl=="string"){h.push(j(Gl));var jr=null}else jr=Gl;return jr;case"form":h.push(dt("form"));var il=null,Ul=null,Yi=null,Vn=null,Pt=null,St=null,oi;for(oi in E)if(fe.call(E,oi)){var er=E[oi];if(er!=null)switch(oi){case"children":il=er;break;case"dangerouslySetInnerHTML":Ul=er;break;case"action":Yi=er;break;case"encType":Vn=er;break;case"method":Pt=er;break;case"target":St=er;break;default:xt(h,oi,er)}}var Tn=null,Xi=null;if(typeof Yi=="function"){var si=Mn(T,Yi);si!==null?(Yi=si.action||"",Vn=si.encType,Pt=si.method,St=si.target,Tn=si.data,Xi=si.name):(h.push(" ","action",'="',nn,'"'),St=Pt=Vn=Yi=null,Ys(T,I))}if(Yi!=null&&xt(h,"action",Yi),Vn!=null&&xt(h,"encType",Vn),Pt!=null&&xt(h,"method",Pt),St!=null&&xt(h,"target",St),h.push(">"),Xi!==null&&(h.push('<input type="hidden"'),kt(h,"name",Xi),h.push("/>"),Tn?.forEach(Bi,h)),wn(h,Ul,il),typeof il=="string"){h.push(j(il));var Yl=null}else Yl=il;return Yl;case"menuitem":h.push(dt("menuitem"));for(var ka in E)if(fe.call(E,ka)){var Oi=E[ka];if(Oi!=null)switch(ka){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:xt(h,ka,Oi)}}return h.push(">"),null;case"object":h.push(dt("object"));var _i=null,ui=null,Bn;for(Bn in E)if(fe.call(E,Bn)){var vr=E[Bn];if(vr!=null)switch(Bn){case"children":_i=vr;break;case"dangerouslySetInnerHTML":ui=vr;break;case"data":var Ri=G(""+vr);if(Ri==="")break;h.push(" ","data",'="',j(Ri),'"');break;default:xt(h,Bn,vr)}}if(h.push(">"),wn(h,ui,_i),typeof _i=="string"){h.push(j(_i));var Zi=null}else Zi=_i;return Zi;case"title":if(ve.insertionMode===4||ve.tagScope&1||E.itemProp!=null)var Cr=_t(h,E);else he?Cr=null:(_t(I.hoistableChunks,E),Cr=void 0);return Cr;case"link":var ys=E.rel,On=E.href,Ki=E.precedence;if(ve.insertionMode===4||ve.tagScope&1||E.itemProp!=null||typeof ys!="string"||typeof On!="string"||On===""){pe(h,E);var ji=null}else if(E.rel==="stylesheet")if(typeof Ki!="string"||E.disabled!=null||E.onLoad||E.onError)ji=pe(h,E);else{var kr=I.styles.get(Ki),Nn=T.styleResources.hasOwnProperty(On)?T.styleResources[On]:void 0;if(Nn!==null){T.styleResources[On]=null,kr||(kr={precedence:j(Ki),rules:[],hrefs:[],sheets:new Map},I.styles.set(Ki,kr));var al={state:0,props:ge({},E,{"data-precedence":E.precedence,precedence:null})};if(Nn){Nn.length===2&&kl(al.props,Nn);var Tr=I.preloads.stylesheets.get(On);Tr&&0<Tr.length?Tr.length=0:al.state=1}kr.sheets.set(On,al),J&&J.stylesheets.add(al)}else if(kr){var Jf=kr.sheets.get(On);Jf&&J&&J.stylesheets.add(Jf)}ie&&h.push("<!-- -->"),ji=null}else E.onLoad||E.onError?ji=pe(h,E):(ie&&h.push("<!-- -->"),ji=he?null:pe(I.hoistableChunks,E));return ji;case"script":var Xl=E.async;if(typeof E.src!="string"||!E.src||!Xl||typeof Xl=="function"||typeof Xl=="symbol"||E.onLoad||E.onError||ve.insertionMode===4||ve.tagScope&1||E.itemProp!=null)var Ec=Gn(h,E);else{var ln=E.src;if(E.type==="module")var ll=T.moduleScriptResources,Ta=I.preloads.moduleScripts;else ll=T.scriptResources,Ta=I.preloads.scripts;var ci=ll.hasOwnProperty(ln)?ll[ln]:void 0;if(ci!==null){ll[ln]=null;var Zl=E;if(ci){ci.length===2&&(Zl=ge({},E),kl(Zl,ci));var Oa=Ta.get(ln);Oa&&(Oa.length=0)}var _a=[];I.scripts.add(_a),Gn(_a,Zl)}ie&&h.push("<!-- -->"),Ec=null}return Ec;case"style":var xs=E.precedence,fi=E.href;if(ve.insertionMode===4||ve.tagScope&1||E.itemProp!=null||typeof xs!="string"||typeof fi!="string"||fi===""){h.push(dt("style"));var Ra=null,Kl=null,Jr;for(Jr in E)if(fe.call(E,Jr)){var jl=E[Jr];if(jl!=null)switch(Jr){case"children":Ra=jl;break;case"dangerouslySetInnerHTML":Kl=jl;break;default:xt(h,Jr,jl)}}h.push(">");var Pa=Array.isArray(Ra)?2>Ra.length?Ra[0]:null:Ra;typeof Pa!="function"&&typeof Pa!="symbol"&&Pa!==null&&Pa!==void 0&&h.push((""+Pa).replace(Ie,Ke)),wn(h,Kl,Ra),h.push(fa("style"));var Po=null}else{var di=I.styles.get(xs);if((T.styleResources.hasOwnProperty(fi)?T.styleResources[fi]:void 0)!==null){T.styleResources[fi]=null,di?di.hrefs.push(j(fi)):(di={precedence:j(xs),rules:[],hrefs:[j(fi)],sheets:new Map},I.styles.set(xs,di));var Ia=di.rules,Ji=null,za=null,Io;for(Io in E)if(fe.call(E,Io)){var d=E[Io];if(d!=null)switch(Io){case"children":Ji=d;break;case"dangerouslySetInnerHTML":za=d}}var p=Array.isArray(Ji)?2>Ji.length?Ji[0]:null:Ji;typeof p!="function"&&typeof p!="symbol"&&p!==null&&p!==void 0&&Ia.push((""+p).replace(Ie,Ke)),wn(Ia,za,Ji)}di&&J&&J.styles.add(di),ie&&h.push("<!-- -->"),Po=void 0}return Po;case"meta":if(ve.insertionMode===4||ve.tagScope&1||E.itemProp!=null)var A=Xe(h,E,"meta");else ie&&h.push("<!-- -->"),A=he?null:typeof E.charSet=="string"?Xe(I.charsetChunks,E,"meta"):E.name==="viewport"?Xe(I.viewportChunks,E,"meta"):Xe(I.hoistableChunks,E,"meta");return A;case"listing":case"pre":h.push(dt(v));var O=null,P=null,L;for(L in E)if(fe.call(E,L)){var X=E[L];if(X!=null)switch(L){case"children":O=X;break;case"dangerouslySetInnerHTML":P=X;break;default:xt(h,L,X)}}if(h.push(">"),P!=null){if(O!=null)throw Error(n(60));if(typeof P!="object"||!("__html"in P))throw Error(n(61));var le=P.__html;le!=null&&(typeof le=="string"&&0<le.length&&le[0]===`
117
+ `?h.push(`
118
+ `,le):h.push(""+le))}return typeof O=="string"&&O[0]===`
119
+ `&&h.push(`
120
+ `),O;case"img":var Q=E.src,re=E.srcSet;if(!(E.loading==="lazy"||!Q&&!re||typeof Q!="string"&&Q!=null||typeof re!="string"&&re!=null)&&E.fetchPriority!=="low"&&!(ve.tagScope&3)&&(typeof Q!="string"||Q[4]!==":"||Q[0]!=="d"&&Q[0]!=="D"||Q[1]!=="a"&&Q[1]!=="A"||Q[2]!=="t"&&Q[2]!=="T"||Q[3]!=="a"&&Q[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 ze=typeof E.sizes=="string"?E.sizes:void 0,Se=re?re+`
121
+ `+(ze||""):Q,We=I.preloads.images,Ge=We.get(Se);if(Ge)(E.fetchPriority==="high"||10>I.highImagePreloads.size)&&(We.delete(Se),I.highImagePreloads.add(Ge));else if(!T.imageResources.hasOwnProperty(Se)){T.imageResources[Se]=Me;var Je=E.crossOrigin,st=typeof Je=="string"?Je==="use-credentials"?Je:"":void 0,Xt=I.headers,qt;Xt&&0<Xt.remainingCapacity&&typeof E.srcSet!="string"&&(E.fetchPriority==="high"||500>Xt.highImagePreloads.length)&&(qt=ha(Q,"image",{imageSrcSet:E.srcSet,imageSizes:E.sizes,crossOrigin:st,integrity:E.integrity,nonce:E.nonce,type:E.type,fetchPriority:E.fetchPriority,referrerPolicy:E.refererPolicy}),0<=(Xt.remainingCapacity-=qt.length+2))?(I.resets.image[Se]=Me,Xt.highImagePreloads&&(Xt.highImagePreloads+=", "),Xt.highImagePreloads+=qt):(Ge=[],pe(Ge,{rel:"preload",as:"image",href:re?void 0:Q,imageSrcSet:re,imageSizes:ze,crossOrigin:st,integrity:E.integrity,type:E.type,fetchPriority:E.fetchPriority,referrerPolicy:E.referrerPolicy}),E.fetchPriority==="high"||10>I.highImagePreloads.size?I.highImagePreloads.add(Ge):(I.bulkPreloads.add(Ge),We.set(Se,Ge)))}}return Xe(h,E,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return Xe(h,E,v);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>ve.insertionMode){var yt=F||I.preamble;if(yt.headChunks)throw Error(n(545,"`<head>`"));yt.headChunks=[];var tr=vi(yt.headChunks,E,"head")}else tr=Zn(h,E,"head");return tr;case"body":if(2>ve.insertionMode){var gn=F||I.preamble;if(gn.bodyChunks)throw Error(n(545,"`<body>`"));gn.bodyChunks=[];var fr=vi(gn.bodyChunks,E,"body")}else fr=Zn(h,E,"body");return fr;case"html":if(ve.insertionMode===0){var on=F||I.preamble;if(on.htmlChunks)throw Error(n(545,"`<html>`"));on.htmlChunks=[""];var nt=vi(on.htmlChunks,E,"html")}else nt=Zn(h,E,"html");return nt;default:if(v.indexOf("-")!==-1){h.push(dt(v));var gt=null,pt=null,Sn;for(Sn in E)if(fe.call(E,Sn)){var Zt=E[Sn];if(Zt!=null){var An=Sn;switch(Sn){case"children":gt=Zt;break;case"dangerouslySetInnerHTML":pt=Zt;break;case"style":Yt(h,Zt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":An="class";default:if(Oe(Sn)&&typeof Zt!="function"&&typeof Zt!="symbol"&&Zt!==!1){if(Zt===!0)Zt="";else if(typeof Zt=="object")continue;h.push(" ",An,'="',j(Zt),'"')}}}}return h.push(">"),wn(h,pt,gt),gt}}return Zn(h,E,v)}var Fr=new Map;function fa(h){var v=Fr.get(h);return v===void 0&&(v="</"+h+">",Fr.set(h,v)),v}function xi(h,v){h=h.preamble,h.htmlChunks===null&&v.htmlChunks&&(h.htmlChunks=v.htmlChunks,v.contribution|=1),h.headChunks===null&&v.headChunks&&(h.headChunks=v.headChunks,v.contribution|=4),h.bodyChunks===null&&v.bodyChunks&&(h.bodyChunks=v.bodyChunks,v.contribution|=2)}function es(h,v){v=v.bootstrapChunks;for(var E=0;E<v.length-1;E++)h.push(v[E]);return E<v.length?(E=v[E],v.length=0,h.push(E)):!0}function Al(h,v,E){if(h.push('<!--$?--><template id="'),E===null)throw Error(n(395));return h.push(v.boundaryPrefix),v=E.toString(16),h.push(v),h.push('"></template>')}function Nf(h,v){v=v.contribution,v!==0&&(h.push("<!--"),h.push(""+v),h.push("-->"))}function cc(h,v,E,T){switch(E.insertionMode){case 0:case 1:case 3:case 2:return h.push('<div hidden id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 4:return h.push('<svg aria-hidden="true" style="display:none" id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 5:return h.push('<math aria-hidden="true" style="display:none" id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 6:return h.push('<table hidden id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 7:return h.push('<table hidden><tbody id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 8:return h.push('<table hidden><tr id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');case 9:return h.push('<table hidden><colgroup id="'),h.push(v.segmentPrefix),v=T.toString(16),h.push(v),h.push('">');default:throw Error(n(397))}}function Df(h,v){switch(v.insertionMode){case 0:case 1:case 3:case 2:return h.push("</div>");case 4:return h.push("</svg>");case 5:return h.push("</math>");case 6:return h.push("</table>");case 7:return h.push("</tbody></table>");case 8:return h.push("</tr></table>");case 9:return h.push("</colgroup></table>");default:throw Error(n(397))}}var Xs=/[<\u2028\u2029]/g;function Kn(h){return JSON.stringify(h).replace(Xs,function(v){switch(v){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 Vr=/[&><\u2028\u2029]/g;function jn(h){return JSON.stringify(h).replace(Vr,function(v){switch(v){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 Br=!1,_n=!0;function Mt(h){var v=h.rules,E=h.hrefs,T=0;if(E.length){for(this.push('<style media="not all" data-precedence="'),this.push(h.precedence),this.push('" data-href="');T<E.length-1;T++)this.push(E[T]),this.push(" ");for(this.push(E[T]),this.push('">'),T=0;T<v.length;T++)this.push(v[T]);_n=this.push("</style>"),Br=!0,v.length=0,E.length=0}}function El(h){return h.state!==2?Br=!0:!1}function ts(h,v,E){return Br=!1,_n=!0,v.styles.forEach(Mt,h),v.stylesheets.forEach(El),Br&&(E.stylesToHoist=!0),_n}function Hr(h){for(var v=0;v<h.length;v++)this.push(h[v]);h.length=0}var da=[];function fc(h){pe(da,h.props);for(var v=0;v<da.length;v++)this.push(da[v]);da.length=0,h.state=2}function Ao(h){var v=0<h.sheets.size;h.sheets.forEach(fc,this),h.sheets.clear();var E=h.rules,T=h.hrefs;if(!v||T.length){if(this.push('<style data-precedence="'),this.push(h.precedence),h=0,T.length){for(this.push('" data-href="');h<T.length-1;h++)this.push(T[h]),this.push(" ");this.push(T[h])}for(this.push('">'),h=0;h<E.length;h++)this.push(E[h]);this.push("</style>"),E.length=0,T.length=0}}function Rt(h){if(h.state===0){h.state=1;var v=h.props;for(pe(da,{rel:"preload",as:"style",href:h.props.href,crossOrigin:v.crossOrigin,fetchPriority:v.fetchPriority,integrity:v.integrity,media:v.media,hrefLang:v.hrefLang,referrerPolicy:v.referrerPolicy}),h=0;h<da.length;h++)this.push(da[h]);da.length=0}}function Cn(h){h.sheets.forEach(Rt,this),h.sheets.clear()}function Hi(h,v){h.push("[");var E="[";v.stylesheets.forEach(function(T){if(T.state!==2)if(T.state===3)h.push(E),T=jn(""+T.props.href),h.push(T),h.push("]"),E=",[";else{h.push(E);var I=T.props["data-precedence"],F=T.props,J=G(""+T.props.href);J=jn(J),h.push(J),I=""+I,h.push(","),I=jn(I),h.push(I);for(var ve in F)if(fe.call(F,ve)&&(I=F[ve],I!=null))switch(ve){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Jn(h,ve,I)}h.push("]"),E=",[",T.state=3}}),h.push("]")}function Jn(h,v,E){var T=v.toLowerCase();switch(typeof E){case"function":case"symbol":return}switch(v){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":T="class",v=""+E;break;case"hidden":if(E===!1)return;v="";break;case"src":case"href":E=G(E),v=""+E;break;default:if(2<v.length&&(v[0]==="o"||v[0]==="O")&&(v[1]==="n"||v[1]==="N")||!Oe(v))return;v=""+E}h.push(","),T=jn(T),h.push(T),h.push(","),T=jn(v),h.push(T)}function wl(){return{styles:new Set,stylesheets:new Set}}function Rn(h){var v=Qn||null;if(v){var E=v.resumableState,T=v.renderState;if(typeof h=="string"&&h){if(!E.dnsResources.hasOwnProperty(h)){E.dnsResources[h]=null,E=T.headers;var I,F;(F=E&&0<E.remainingCapacity)&&(F=(I="<"+(""+h).replace(Tl,ga)+">; rel=dns-prefetch",0<=(E.remainingCapacity-=I.length+2))),F?(T.resets.dns[h]=null,E.preconnects&&(E.preconnects+=", "),E.preconnects+=I):(I=[],pe(I,{href:h,rel:"dns-prefetch"}),T.preconnects.add(I))}Wl(v)}}else He.D(h)}function Mf(h,v){var E=Qn||null;if(E){var T=E.resumableState,I=E.renderState;if(typeof h=="string"&&h){var F=v==="use-credentials"?"credentials":typeof v=="string"?"anonymous":"default";if(!T.connectResources[F].hasOwnProperty(h)){T.connectResources[F][h]=null,T=I.headers;var J,ve;if(ve=T&&0<T.remainingCapacity){if(ve="<"+(""+h).replace(Tl,ga)+">; rel=preconnect",typeof v=="string"){var ie=(""+v).replace(Wr,Ka);ve+='; crossorigin="'+ie+'"'}ve=(J=ve,0<=(T.remainingCapacity-=J.length+2))}ve?(I.resets.connect[F][h]=null,T.preconnects&&(T.preconnects+=", "),T.preconnects+=J):(F=[],pe(F,{rel:"preconnect",href:h,crossOrigin:v}),I.preconnects.add(F))}Wl(E)}}else He.C(h,v)}function dc(h,v,E){var T=Qn||null;if(T){var I=T.resumableState,F=T.renderState;if(v&&h){switch(v){case"image":if(E)var J=E.imageSrcSet,ve=E.imageSizes,ie=E.fetchPriority;var he=J?J+`
122
+ `+(ve||""):h;if(I.imageResources.hasOwnProperty(he))return;I.imageResources[he]=Me,I=F.headers;var Be;I&&0<I.remainingCapacity&&typeof J!="string"&&ie==="high"&&(Be=ha(h,v,E),0<=(I.remainingCapacity-=Be.length+2))?(F.resets.image[he]=Me,I.highImagePreloads&&(I.highImagePreloads+=", "),I.highImagePreloads+=Be):(I=[],pe(I,ge({rel:"preload",href:J?void 0:h,as:v},E)),ie==="high"?F.highImagePreloads.add(I):(F.bulkPreloads.add(I),F.preloads.images.set(he,I)));break;case"style":if(I.styleResources.hasOwnProperty(h))return;J=[],pe(J,ge({rel:"preload",href:h,as:v},E)),I.styleResources[h]=!E||typeof E.crossOrigin!="string"&&typeof E.integrity!="string"?Me:[E.crossOrigin,E.integrity],F.preloads.stylesheets.set(h,J),F.bulkPreloads.add(J);break;case"script":if(I.scriptResources.hasOwnProperty(h))return;J=[],F.preloads.scripts.set(h,J),F.bulkPreloads.add(J),pe(J,ge({rel:"preload",href:h,as:v},E)),I.scriptResources[h]=!E||typeof E.crossOrigin!="string"&&typeof E.integrity!="string"?Me:[E.crossOrigin,E.integrity];break;default:if(I.unknownResources.hasOwnProperty(v)){if(J=I.unknownResources[v],J.hasOwnProperty(h))return}else J={},I.unknownResources[v]=J;if(J[h]=Me,(I=F.headers)&&0<I.remainingCapacity&&v==="font"&&(he=ha(h,v,E),0<=(I.remainingCapacity-=he.length+2)))F.resets.font[h]=Me,I.fontPreloads&&(I.fontPreloads+=", "),I.fontPreloads+=he;else switch(I=[],h=ge({rel:"preload",href:h,as:v},E),pe(I,h),v){case"font":F.fontPreloads.add(I);break;default:F.bulkPreloads.add(I)}}Wl(T)}}else He.L(h,v,E)}function Cl(h,v){var E=Qn||null;if(E){var T=E.resumableState,I=E.renderState;if(h){var F=v&&typeof v.as=="string"?v.as:"script";switch(F){case"script":if(T.moduleScriptResources.hasOwnProperty(h))return;F=[],T.moduleScriptResources[h]=!v||typeof v.crossOrigin!="string"&&typeof v.integrity!="string"?Me:[v.crossOrigin,v.integrity],I.preloads.moduleScripts.set(h,F);break;default:if(T.moduleUnknownResources.hasOwnProperty(F)){var J=T.unknownResources[F];if(J.hasOwnProperty(h))return}else J={},T.moduleUnknownResources[F]=J;F=[],J[h]=Me}pe(F,ge({rel:"modulepreload",href:h},v)),I.bulkPreloads.add(F),Wl(E)}}else He.m(h,v)}function Eo(h,v,E){var T=Qn||null;if(T){var I=T.resumableState,F=T.renderState;if(h){v=v||"default";var J=F.styles.get(v),ve=I.styleResources.hasOwnProperty(h)?I.styleResources[h]:void 0;ve!==null&&(I.styleResources[h]=null,J||(J={precedence:j(v),rules:[],hrefs:[],sheets:new Map},F.styles.set(v,J)),v={state:0,props:ge({rel:"stylesheet",href:h,"data-precedence":v},E)},ve&&(ve.length===2&&kl(v.props,ve),(F=F.preloads.stylesheets.get(h))&&0<F.length?F.length=0:v.state=1),J.sheets.set(h,v),Wl(T))}}else He.S(h,v,E)}function or(h,v){var E=Qn||null;if(E){var T=E.resumableState,I=E.renderState;if(h){var F=T.scriptResources.hasOwnProperty(h)?T.scriptResources[h]:void 0;F!==null&&(T.scriptResources[h]=null,v=ge({src:h,async:!0},v),F&&(F.length===2&&kl(v,F),h=I.preloads.scripts.get(h))&&(h.length=0),h=[],I.scripts.add(h),Gn(h,v),Wl(E))}}else He.X(h,v)}function hc(h,v){var E=Qn||null;if(E){var T=E.resumableState,I=E.renderState;if(h){var F=T.moduleScriptResources.hasOwnProperty(h)?T.moduleScriptResources[h]:void 0;F!==null&&(T.moduleScriptResources[h]=null,v=ge({src:h,type:"module",async:!0},v),F&&(F.length===2&&kl(v,F),h=I.preloads.moduleScripts.get(h))&&(h.length=0),h=[],I.scripts.add(h),Gn(h,v),Wl(E))}}else He.M(h,v)}function kl(h,v){h.crossOrigin==null&&(h.crossOrigin=v[0]),h.integrity==null&&(h.integrity=v[1])}function ha(h,v,E){h=(""+h).replace(Tl,ga),v=(""+v).replace(Wr,Ka),v="<"+h+'>; rel=preload; as="'+v+'"';for(var T in E)fe.call(E,T)&&(h=E[T],typeof h=="string"&&(v+="; "+T.toLowerCase()+'="'+(""+h).replace(Wr,Ka)+'"'));return v}var Tl=/[<>\r\n]/g;function ga(h){switch(h){case"<":return"%3C";case">":return"%3E";case`
123
+ `: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 Ka(h){switch(h){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
124
+ `: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 ns(h){this.styles.add(h)}function Ol(h){this.stylesheets.add(h)}function Zs(h,v){var E=h.idPrefix,T=[],I=h.bootstrapScriptContent,F=h.bootstrapScripts,J=h.bootstrapModules;I!==void 0&&T.push("<script>",(""+I).replace(ht,ye),"<\/script>"),I=E+"P:";var ve=E+"S:";E+="B:";var ie=Pe(),he=new Set,Be=new Set,Ne=new Set,Ue=new Map,Qe=new Set,je=new Set,lt=new Set,Ft={images:new Map,stylesheets:new Map,scripts:new Map,moduleScripts:new Map};if(F!==void 0)for(var Vt=0;Vt<F.length;Vt++){var Bt=F[Vt],an,Ze=void 0,yn=void 0,vt={rel:"preload",as:"script",fetchPriority:"low",nonce:void 0};typeof Bt=="string"?vt.href=an=Bt:(vt.href=an=Bt.src,vt.integrity=yn=typeof Bt.integrity=="string"?Bt.integrity:void 0,vt.crossOrigin=Ze=typeof Bt=="string"||Bt.crossOrigin==null?void 0:Bt.crossOrigin==="use-credentials"?"use-credentials":""),Bt=h;var Pn=an;Bt.scriptResources[Pn]=null,Bt.moduleScriptResources[Pn]=null,Bt=[],pe(Bt,vt),Qe.add(Bt),T.push('<script src="',j(an)),typeof yn=="string"&&T.push('" integrity="',j(yn)),typeof Ze=="string"&&T.push('" crossorigin="',j(Ze)),T.push('" async=""><\/script>')}if(J!==void 0)for(F=0;F<J.length;F++)vt=J[F],Ze=an=void 0,yn={rel:"modulepreload",fetchPriority:"low",nonce:void 0},typeof vt=="string"?yn.href=Vt=vt:(yn.href=Vt=vt.src,yn.integrity=Ze=typeof vt.integrity=="string"?vt.integrity:void 0,yn.crossOrigin=an=typeof vt=="string"||vt.crossOrigin==null?void 0:vt.crossOrigin==="use-credentials"?"use-credentials":""),vt=h,Bt=Vt,vt.scriptResources[Bt]=null,vt.moduleScriptResources[Bt]=null,vt=[],pe(vt,yn),Qe.add(vt),T.push('<script type="module" src="',j(Vt)),typeof Ze=="string"&&T.push('" integrity="',j(Ze)),typeof an=="string"&&T.push('" crossorigin="',j(an)),T.push('" async=""><\/script>');return{placeholderPrefix:I,segmentPrefix:ve,boundaryPrefix:E,startInlineScript:"<script>",preamble:ie,externalRuntimeScript:null,bootstrapChunks:T,importMapChunks:[],onHeaders:void 0,headers:null,resets:{font:{},dns:{},connect:{default:{},anonymous:{},credentials:{}},image:{},style:{}},charsetChunks:[],viewportChunks:[],hoistableChunks:[],preconnects:he,fontPreloads:Be,highImagePreloads:Ne,styles:Ue,bootstrapScripts:Qe,scripts:je,bulkPreloads:lt,preloads:Ft,stylesToHoist:!1,generateStaticMarkup:v}}function vn(h,v,E,T){return E.generateStaticMarkup?(h.push(j(v)),!1):(v===""?h=T:(T&&h.push("<!-- -->"),h.push(j(v)),h=!0),h)}function gc(h,v,E,T){v.generateStaticMarkup||E&&T&&h.push("<!-- -->")}var Lf=Function.prototype.bind,Gr=Symbol.for("react.client.reference");function Si(h){if(h==null)return null;if(typeof h=="function")return h.$$typeof===Gr?null:h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case s:return"Fragment";case f:return"Profiler";case u:return"StrictMode";case w:return"Suspense";case C:return"SuspenseList";case V:return"Activity"}if(typeof h=="object")switch(h.$$typeof){case l:return"Portal";case y:return(h.displayName||"Context")+".Provider";case b:return(h._context.displayName||"Context")+".Consumer";case S:var v=h.render;return h=h.displayName,h||(h=v.displayName||v.name||"",h=h!==""?"ForwardRef("+h+")":"ForwardRef"),h;case R:return v=h.displayName||null,v!==null?v:Si(h.type)||"Memo";case z:v=h._payload,h=h._init;try{return Si(h(v))}catch{}}return null}var pc={},Ai=null;function rs(h,v){if(h!==v){h.context._currentValue2=h.parentValue,h=h.parent;var E=v.parent;if(h===null){if(E!==null)throw Error(n(401))}else{if(E===null)throw Error(n(401));rs(h,E)}v.context._currentValue2=v.value}}function is(h){h.context._currentValue2=h.parentValue,h=h.parent,h!==null&&is(h)}function Ff(h){var v=h.parent;v!==null&&Ff(v),h.context._currentValue2=h.value}function Ur(h,v){if(h.context._currentValue2=h.parentValue,h=h.parent,h===null)throw Error(n(402));h.depth===v.depth?rs(h,v):Ur(h,v)}function Ks(h,v){var E=v.parent;if(E===null)throw Error(n(402));h.depth===E.depth?rs(h,E):Ks(h,E),v.context._currentValue2=v.value}function pa(h){var v=Ai;v!==h&&(v===null?Ff(h):h===null?is(v):v.depth===h.depth?rs(v,h):v.depth>h.depth?Ur(v,h):Ks(v,h),Ai=h)}var _l={enqueueSetState:function(h,v){h=h._reactInternals,h.queue!==null&&h.queue.push(v)},enqueueReplaceState:function(h,v){h=h._reactInternals,h.replace=!0,h.queue=[v]},enqueueForceUpdate:function(){}},wo={id:1,overflow:""};function js(h,v,E){var T=h.id;h=h.overflow;var I=32-as(T)-1;T&=~(1<<I),E+=1;var F=32-as(v)+I;if(30<F){var J=I-I%5;return F=(T&(1<<J)-1).toString(32),T>>=J,I-=J,{id:1<<32-as(v)+I|E<<I|T,overflow:F+h}}return{id:1<<F|E<<I|T,overflow:h}}var as=Math.clz32?Math.clz32:Bf,Co=Math.log,Vf=Math.LN2;function Bf(h){return h>>>=0,h===0?32:31-(Co(h)/Vf|0)|0}var ja=Error(n(460));function Rl(){}function _h(h,v,E){switch(E=h[E],E===void 0?h.push(v):E!==v&&(v.then(Rl,Rl),v=E),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason;default:switch(typeof v.status=="string"?v.then(Rl,Rl):(h=v,h.status="pending",h.then(function(T){if(v.status==="pending"){var I=v;I.status="fulfilled",I.value=T}},function(T){if(v.status==="pending"){var I=v;I.status="rejected",I.reason=T}})),v.status){case"fulfilled":return v.value;case"rejected":throw v.reason}throw Js=v,ja}}var Js=null;function Pl(){if(Js===null)throw Error(n(459));var h=Js;return Js=null,h}function mc(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var bc=typeof Object.is=="function"?Object.is:mc,Ar=null,Ja=null,Qs=null,ls=null,os=null,zt=null,Yr=!1,ko=!1,ma=0,ai=0,Il=-1,zl=0,Nl=null,Ei=null,Dl=0;function Wi(){if(Ar===null)throw Error(n(321));return Ar}function mr(){if(0<Dl)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function ba(){return zt===null?os===null?(Yr=!1,os=zt=mr()):(Yr=!0,zt=os):zt.next===null?(Yr=!1,zt=zt.next=mr()):(Yr=!0,zt=zt.next),zt}function va(){var h=Nl;return Nl=null,h}function ya(){ls=Qs=Ja=Ar=null,ko=!1,os=null,Dl=0,zt=Ei=null}function Hf(h,v){return typeof v=="function"?v(h):v}function qs(h,v,E){if(Ar=Wi(),zt=ba(),Yr){var T=zt.queue;if(v=T.dispatch,Ei!==null&&(E=Ei.get(T),E!==void 0)){Ei.delete(T),T=zt.memoizedState;do T=h(T,E.action),E=E.next;while(E!==null);return zt.memoizedState=T,[T,v]}return[zt.memoizedState,v]}return h=h===Hf?typeof v=="function"?v():v:E!==void 0?E(v):v,zt.memoizedState=h,h=zt.queue={last:null,dispatch:null},h=h.dispatch=ss.bind(null,Ar,h),[zt.memoizedState,h]}function $s(h,v){if(Ar=Wi(),zt=ba(),v=v===void 0?null:v,zt!==null){var E=zt.memoizedState;if(E!==null&&v!==null){var T=E[1];e:if(T===null)T=!1;else{for(var I=0;I<T.length&&I<v.length;I++)if(!bc(v[I],T[I])){T=!1;break e}T=!0}if(T)return E[0]}}return h=h(),zt.memoizedState=[h,v],h}function ss(h,v,E){if(25<=Dl)throw Error(n(301));if(h===Ar)if(ko=!0,h={action:E,next:null},Ei===null&&(Ei=new Map),E=Ei.get(v),E===void 0)Ei.set(v,h);else{for(v=E;v.next!==null;)v=v.next;v.next=h}}function eu(){throw Error(n(394))}function Wf(){throw Error(n(479))}function Gf(h,v,E){Wi();var T=ai++,I=Qs;if(typeof h.$$FORM_ACTION=="function"){var F=null,J=ls;I=I.formState;var ve=h.$$IS_SIGNATURE_EQUAL;if(I!==null&&typeof ve=="function"){var ie=I[1];ve.call(h,I[2],I[3])&&(F=E!==void 0?"p"+E:"k"+be(JSON.stringify([J,null,T]),0),ie===F&&(Il=T,v=I[0]))}var he=h.bind(null,v);return h=function(Ne){he(Ne)},typeof he.$$FORM_ACTION=="function"&&(h.$$FORM_ACTION=function(Ne){Ne=he.$$FORM_ACTION(Ne),E!==void 0&&(E+="",Ne.action=E);var Ue=Ne.data;return Ue&&(F===null&&(F=E!==void 0?"p"+E:"k"+be(JSON.stringify([J,null,T]),0)),Ue.append("$ACTION_KEY",F)),Ne}),[v,h,!1]}var Be=h.bind(null,v);return[v,function(Ne){Be(Ne)},!1]}function Uf(h){var v=zl;return zl+=1,Nl===null&&(Nl=[]),_h(Nl,h,v)}function Rh(){throw Error(n(393))}function Ml(){}var Yf={readContext:function(h){return h._currentValue2},use:function(h){if(h!==null&&typeof h=="object"){if(typeof h.then=="function")return Uf(h);if(h.$$typeof===y)return h._currentValue2}throw Error(n(438,String(h)))},useContext:function(h){return Wi(),h._currentValue2},useMemo:$s,useReducer:qs,useRef:function(h){Ar=Wi(),zt=ba();var v=zt.memoizedState;return v===null?(h={current:h},zt.memoizedState=h):v},useState:function(h){return qs(Hf,h)},useInsertionEffect:Ml,useLayoutEffect:Ml,useCallback:function(h,v){return $s(function(){return h},v)},useImperativeHandle:Ml,useEffect:Ml,useDebugValue:Ml,useDeferredValue:function(h,v){return Wi(),v!==void 0?v:h},useTransition:function(){return Wi(),[!1,eu]},useId:function(){var h=Ja.treeContext,v=h.overflow;h=h.id,h=(h&~(1<<32-as(h)-1)).toString(32)+v;var E=tu;if(E===null)throw Error(n(404));return v=ma++,h="«"+E.idPrefix+"R"+h,0<v&&(h+="H"+v.toString(32)),h+"»"},useSyncExternalStore:function(h,v,E){if(E===void 0)throw Error(n(407));return E()},useOptimistic:function(h){return Wi(),[h,Wf]},useActionState:Gf,useFormState:Gf,useHostTransitionStatus:function(){return Wi(),xe},useMemoCache:function(h){for(var v=Array(h),E=0;E<h;E++)v[E]=H;return v},useCacheRefresh:function(){return Rh}},tu=null,Ph={getCacheForType:function(){throw Error(n(248))}},vc,Xf;function Ll(h){if(vc===void 0)try{throw Error()}catch(E){var v=E.stack.trim().match(/\n( *(at )?)/);vc=v&&v[1]||"",Xf=-1<E.stack.indexOf(`
125
+ at`)?" (<anonymous>)":-1<E.stack.indexOf("@")?"@unknown:0:0":""}return`
126
+ `+vc+h+Xf}var yc=!1;function nu(h,v){if(!h||yc)return"";yc=!0;var E=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var T={DetermineComponentFrameRoot:function(){try{if(v){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(Qe){var Ue=Qe}Reflect.construct(h,[],Ne)}else{try{Ne.call()}catch(Qe){Ue=Qe}h.call(Ne.prototype)}}else{try{throw Error()}catch(Qe){Ue=Qe}(Ne=h())&&typeof Ne.catch=="function"&&Ne.catch(function(){})}}catch(Qe){if(Qe&&Ue&&typeof Qe.stack=="string")return[Qe.stack,Ue.stack]}return[null,null]}};T.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var I=Object.getOwnPropertyDescriptor(T.DetermineComponentFrameRoot,"name");I&&I.configurable&&Object.defineProperty(T.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var F=T.DetermineComponentFrameRoot(),J=F[0],ve=F[1];if(J&&ve){var ie=J.split(`
127
+ `),he=ve.split(`
128
+ `);for(I=T=0;T<ie.length&&!ie[T].includes("DetermineComponentFrameRoot");)T++;for(;I<he.length&&!he[I].includes("DetermineComponentFrameRoot");)I++;if(T===ie.length||I===he.length)for(T=ie.length-1,I=he.length-1;1<=T&&0<=I&&ie[T]!==he[I];)I--;for(;1<=T&&0<=I;T--,I--)if(ie[T]!==he[I]){if(T!==1||I!==1)do if(T--,I--,0>I||ie[T]!==he[I]){var Be=`
129
+ `+ie[T].replace(" at new "," at ");return h.displayName&&Be.includes("<anonymous>")&&(Be=Be.replace("<anonymous>",h.displayName)),Be}while(1<=T&&0<=I);break}}}finally{yc=!1,Error.prepareStackTrace=E}return(E=h?h.displayName||h.name:"")?Ll(E):""}function Zf(h){if(typeof h=="string")return Ll(h);if(typeof h=="function")return h.prototype&&h.prototype.isReactComponent?nu(h,!0):nu(h,!1);if(typeof h=="object"&&h!==null){switch(h.$$typeof){case S:return nu(h.render,!1);case R:return nu(h.type,!1);case z:var v=h,E=v._payload;v=v._init;try{h=v(E)}catch{return Ll("Lazy")}return Zf(h)}if(typeof h.name=="string")return E=h.env,Ll(h.name+(E?" ["+E+"]":""))}switch(h){case C:return Ll("SuspenseList");case w:return Ll("Suspense")}return""}function us(h){if(typeof h=="object"&&h!==null&&typeof h.environmentName=="string"){var v=h.environmentName;h=[h].slice(0),typeof h[0]=="string"?h.splice(0,1,"[%s] "+h[0]," "+v+" "):h.splice(0,0,"[%s] "," "+v+" "),h.unshift(console),v=Lf.apply(console.error,h),v()}else console.error(h);return null}function Qa(){}function Ih(h,v,E,T,I,F,J,ve,ie,he,Be){var Ne=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=h,this.renderState=v,this.rootFormatContext=E,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=Ne,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=I===void 0?us:I,this.onPostpone=he===void 0?Qa:he,this.onAllReady=F===void 0?Qa:F,this.onShellReady=J===void 0?Qa:J,this.onShellError=ve===void 0?Qa:ve,this.onFatalError=ie===void 0?Qa:ie,this.formState=Be===void 0?null:Be}function zh(h,v,E,T,I,F,J,ve,ie,he,Be,Ne){return v=new Ih(v,E,T,I,F,J,ve,ie,he,Be,Ne),E=Vl(v,0,null,T,!1,!1),E.parentFlushed=!0,h=cs(v,null,h,-1,null,E,null,null,v.abortableTasks,null,T,null,wo,null,!1),sr(h),v.pingedTasks.push(h),v}var Qn=null;function To(h,v){h.pingedTasks.push(v),h.pingedTasks.length===1&&(h.flushScheduled=h.destination!==null,Sc(h))}function Fl(h,v,E,T){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:v,errorDigest:null,contentState:wl(),fallbackState:wl(),contentPreamble:E,fallbackPreamble:T,trackedContentKeyPath:null,trackedFallbackNode:null}}function cs(h,v,E,T,I,F,J,ve,ie,he,Be,Ne,Ue,Qe,je){h.allPendingTasks++,I===null?h.pendingRootTasks++:I.pendingTasks++;var lt={replay:null,node:E,childIndex:T,ping:function(){return To(h,lt)},blockedBoundary:I,blockedSegment:F,blockedPreamble:J,hoistableState:ve,abortSet:ie,keyPath:he,formatContext:Be,context:Ne,treeContext:Ue,componentStack:Qe,thenableState:v,isFallback:je};return ie.add(lt),lt}function Kf(h,v,E,T,I,F,J,ve,ie,he,Be,Ne,Ue,Qe){h.allPendingTasks++,F===null?h.pendingRootTasks++:F.pendingTasks++,E.pendingTasks++;var je={replay:E,node:T,childIndex:I,ping:function(){return To(h,je)},blockedBoundary:F,blockedSegment:null,blockedPreamble:null,hoistableState:J,abortSet:ve,keyPath:ie,formatContext:he,context:Be,treeContext:Ne,componentStack:Ue,thenableState:v,isFallback:Qe};return ve.add(je),je}function Vl(h,v,E,T,I,F){return{status:0,parentFlushed:!1,id:-1,index:v,chunks:[],children:[],preambleChildren:[],parentFormatContext:T,boundary:E,lastPushedText:I,textEmbedded:F}}function sr(h){var v=h.node;if(typeof v=="object"&&v!==null)switch(v.$$typeof){case r:h.componentStack={parent:h.componentStack,type:v.type}}}function Er(h){var v={};return h&&Object.defineProperty(v,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var E="",T=h;do E+=Zf(T.type),T=T.parent;while(T);var I=E}catch(F){I=`
130
+ Error generating stack: `+F.message+`
131
+ `+F.stack}return Object.defineProperty(v,"componentStack",{value:I}),I}}),v}function Xr(h,v,E){if(h=h.onError,v=h(v,E),v==null||typeof v=="string")return v}function fs(h,v){var E=h.onShellError,T=h.onFatalError;E(v),T(v),h.destination!==null?(h.status=14,h.destination.destroy(v)):(h.status=13,h.fatalError=v)}function jf(h,v,E,T,I,F){var J=v.thenableState;for(v.thenableState=null,Ar={},Ja=v,Qs=h,ls=E,ai=ma=0,Il=-1,zl=0,Nl=J,h=T(I,F);ko;)ko=!1,ai=ma=0,Il=-1,zl=0,Dl+=1,zt=null,h=T(I,F);return ya(),h}function ds(h,v,E,T,I,F,J){var ve=!1;if(F!==0&&h.formState!==null){var ie=v.blockedSegment;if(ie!==null){ve=!0,ie=ie.chunks;for(var he=0;he<F;he++)he===J?ie.push("<!--F!-->"):ie.push("<!--F-->")}}F=v.keyPath,v.keyPath=E,I?(E=v.treeContext,v.treeContext=js(E,1,0),Kr(h,v,T,-1),v.treeContext=E):ve?Kr(h,v,T,-1):Zr(h,v,T,-1),v.keyPath=F}function qa(h,v,E,T,I,F){if(typeof T=="function")if(T.prototype&&T.prototype.isReactComponent){var J=I;if("ref"in I){J={};for(var ve in I)ve!=="ref"&&(J[ve]=I[ve])}var ie=T.defaultProps;if(ie){J===I&&(J=ge({},J,I));for(var he in ie)J[he]===void 0&&(J[he]=ie[he])}I=J,J=pc,ie=T.contextType,typeof ie=="object"&&ie!==null&&(J=ie._currentValue2),J=new T(I,J);var Be=J.state!==void 0?J.state:null;if(J.updater=_l,J.props=I,J.state=Be,ie={queue:[],replace:!1},J._reactInternals=ie,F=T.contextType,J.context=typeof F=="object"&&F!==null?F._currentValue2:pc,F=T.getDerivedStateFromProps,typeof F=="function"&&(F=F(I,Be),Be=F==null?Be:ge({},Be,F),J.state=Be),typeof T.getDerivedStateFromProps!="function"&&typeof J.getSnapshotBeforeUpdate!="function"&&(typeof J.UNSAFE_componentWillMount=="function"||typeof J.componentWillMount=="function"))if(T=J.state,typeof J.componentWillMount=="function"&&J.componentWillMount(),typeof J.UNSAFE_componentWillMount=="function"&&J.UNSAFE_componentWillMount(),T!==J.state&&_l.enqueueReplaceState(J,J.state,null),ie.queue!==null&&0<ie.queue.length)if(T=ie.queue,F=ie.replace,ie.queue=null,ie.replace=!1,F&&T.length===1)J.state=T[0];else{for(ie=F?T[0]:J.state,Be=!0,F=F?1:0;F<T.length;F++)he=T[F],he=typeof he=="function"?he.call(J,ie,I,void 0):he,he!=null&&(Be?(Be=!1,ie=ge({},ie,he)):ge(ie,he));J.state=ie}else ie.queue=null;if(T=J.render(),h.status===12)throw null;I=v.keyPath,v.keyPath=E,Zr(h,v,T,-1),v.keyPath=I}else{if(T=jf(h,v,E,T,I,void 0),h.status===12)throw null;ds(h,v,E,T,ma!==0,ai,Il)}else if(typeof T=="string")if(J=v.blockedSegment,J===null)J=I.children,ie=v.formatContext,Be=v.keyPath,v.formatContext=Ve(ie,T,I),v.keyPath=E,Kr(h,v,J,-1),v.formatContext=ie,v.keyPath=Be;else{F=Qt(J.chunks,T,I,h.resumableState,h.renderState,v.blockedPreamble,v.hoistableState,v.formatContext,J.lastPushedText,v.isFallback),J.lastPushedText=!1,ie=v.formatContext,Be=v.keyPath,v.keyPath=E,(v.formatContext=Ve(ie,T,I)).insertionMode===3?(E=Vl(h,0,null,v.formatContext,!1,!1),J.preambleChildren.push(E),E=cs(h,null,F,-1,v.blockedBoundary,E,v.blockedPreamble,v.hoistableState,h.abortableTasks,v.keyPath,v.formatContext,v.context,v.treeContext,v.componentStack,v.isFallback),sr(E),h.pingedTasks.push(E)):Kr(h,v,F,-1),v.formatContext=ie,v.keyPath=Be;e:{switch(v=J.chunks,h=h.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>=ie.insertionMode){h.hasBody=!0;break e}break;case"html":if(ie.insertionMode===0){h.hasHtml=!0;break e}break;case"head":if(1>=ie.insertionMode)break e}v.push(fa(T))}J.lastPushedText=!1}else{switch(T){case W:case u:case f:case s:T=v.keyPath,v.keyPath=E,Zr(h,v,I.children,-1),v.keyPath=T;return;case V:I.mode!=="hidden"&&(T=v.keyPath,v.keyPath=E,Zr(h,v,I.children,-1),v.keyPath=T);return;case C:T=v.keyPath,v.keyPath=E,Zr(h,v,I.children,-1),v.keyPath=T;return;case te:case B:throw Error(n(343));case w:e:if(v.replay!==null){T=v.keyPath,v.keyPath=E,E=I.children;try{Kr(h,v,E,-1)}finally{v.keyPath=T}}else{T=v.keyPath;var Ne=v.blockedBoundary;F=v.blockedPreamble;var Ue=v.hoistableState;he=v.blockedSegment,ve=I.fallback,I=I.children;var Qe=new Set,je=2>v.formatContext.insertionMode?Fl(h,Qe,Pe(),Pe()):Fl(h,Qe,null,null);h.trackedPostpones!==null&&(je.trackedContentKeyPath=E);var lt=Vl(h,he.chunks.length,je,v.formatContext,!1,!1);he.children.push(lt),he.lastPushedText=!1;var Ft=Vl(h,0,null,v.formatContext,!1,!1);if(Ft.parentFlushed=!0,h.trackedPostpones!==null){J=[E[0],"Suspense Fallback",E[2]],ie=[J[1],J[2],[],null],h.trackedPostpones.workingMap.set(J,ie),je.trackedFallbackNode=ie,v.blockedSegment=lt,v.blockedPreamble=je.fallbackPreamble,v.keyPath=J,lt.status=6;try{Kr(h,v,ve,-1),gc(lt.chunks,h.renderState,lt.lastPushedText,lt.textEmbedded),lt.status=1}catch(Vt){throw lt.status=h.status===12?3:4,Vt}finally{v.blockedSegment=he,v.blockedPreamble=F,v.keyPath=T}v=cs(h,null,I,-1,je,Ft,je.contentPreamble,je.contentState,v.abortSet,E,v.formatContext,v.context,v.treeContext,v.componentStack,v.isFallback),sr(v),h.pingedTasks.push(v)}else{v.blockedBoundary=je,v.blockedPreamble=je.contentPreamble,v.hoistableState=je.contentState,v.blockedSegment=Ft,v.keyPath=E,Ft.status=6;try{if(Kr(h,v,I,-1),gc(Ft.chunks,h.renderState,Ft.lastPushedText,Ft.textEmbedded),Ft.status=1,ps(je,Ft),je.pendingTasks===0&&je.status===0){je.status=1,h.pendingRootTasks===0&&v.blockedPreamble&&Gi(h);break e}}catch(Vt){je.status=4,h.status===12?(Ft.status=3,J=h.fatalError):(Ft.status=4,J=Vt),ie=Er(v.componentStack),Be=Xr(h,J,ie),je.errorDigest=Be,hs(h,je)}finally{v.blockedBoundary=Ne,v.blockedPreamble=F,v.hoistableState=Ue,v.blockedSegment=he,v.keyPath=T}v=cs(h,null,ve,-1,Ne,lt,je.fallbackPreamble,je.fallbackState,Qe,[E[0],"Suspense Fallback",E[2]],v.formatContext,v.context,v.treeContext,v.componentStack,!0),sr(v),h.pingedTasks.push(v)}}return}if(typeof T=="object"&&T!==null)switch(T.$$typeof){case S:if("ref"in I)for(je in J={},I)je!=="ref"&&(J[je]=I[je]);else J=I;T=jf(h,v,E,T.render,J,F),ds(h,v,E,T,ma!==0,ai,Il);return;case R:qa(h,v,E,T.type,I,F);return;case g:case y:if(ie=I.children,J=v.keyPath,I=I.value,Be=T._currentValue2,T._currentValue2=I,F=Ai,Ai=T={parent:F,depth:F===null?0:F.depth+1,context:T,parentValue:Be,value:I},v.context=T,v.keyPath=E,Zr(h,v,ie,-1),h=Ai,h===null)throw Error(n(403));h.context._currentValue2=h.parentValue,h=Ai=h.parent,v.context=h,v.keyPath=J;return;case b:I=I.children,T=I(T._context._currentValue2),I=v.keyPath,v.keyPath=E,Zr(h,v,T,-1),v.keyPath=I;return;case z:if(J=T._init,T=J(T._payload),h.status===12)throw null;qa(h,v,E,T,I,F);return}throw Error(n(130,T==null?T:typeof T,""))}}function xc(h,v,E,T,I){var F=v.replay,J=v.blockedBoundary,ve=Vl(h,0,null,v.formatContext,!1,!1);ve.id=E,ve.parentFlushed=!0;try{v.replay=null,v.blockedSegment=ve,Kr(h,v,T,I),ve.status=1,J===null?h.completedRootSegment=ve:(ps(J,ve),J.parentFlushed&&h.partialBoundaries.push(J))}finally{v.replay=F,v.blockedSegment=null}}function Zr(h,v,E,T){v.replay!==null&&typeof v.replay.slots=="number"?xc(h,v,v.replay.slots,E,T):(v.node=E,v.childIndex=T,E=v.componentStack,sr(v),ru(h,v),v.componentStack=E)}function ru(h,v){var E=v.node,T=v.childIndex;if(E!==null){if(typeof E=="object"){switch(E.$$typeof){case r:var I=E.type,F=E.key,J=E.props;E=J.ref;var ve=E!==void 0?E:null,ie=Si(I),he=F??(T===-1?0:T);if(F=[v.keyPath,ie,he],v.replay!==null)e:{var Be=v.replay;for(T=Be.nodes,E=0;E<T.length;E++){var Ne=T[E];if(he===Ne[1]){if(Ne.length===4){if(ie!==null&&ie!==Ne[0])throw Error(n(490,Ne[0],ie));var Ue=Ne[2];ie=Ne[3],he=v.node,v.replay={nodes:Ue,slots:ie,pendingTasks:1};try{if(qa(h,v,F,I,J,ve),v.replay.pendingTasks===1&&0<v.replay.nodes.length)throw Error(n(488));v.replay.pendingTasks--}catch(Ze){if(typeof Ze=="object"&&Ze!==null&&(Ze===ja||typeof Ze.then=="function"))throw v.node===he&&(v.replay=Be),Ze;v.replay.pendingTasks--,J=Er(v.componentStack),F=v.blockedBoundary,I=Ze,J=Xr(h,I,J),gs(h,F,Ue,ie,I,J)}v.replay=Be}else{if(I!==w)throw Error(n(490,"Suspense",Si(I)||"Unknown"));t:{Be=void 0,I=Ne[5],ve=Ne[2],ie=Ne[3],he=Ne[4]===null?[]:Ne[4][2],Ne=Ne[4]===null?null:Ne[4][3];var Qe=v.keyPath,je=v.replay,lt=v.blockedBoundary,Ft=v.hoistableState,Vt=J.children,Bt=J.fallback,an=new Set;J=2>v.formatContext.insertionMode?Fl(h,an,Pe(),Pe()):Fl(h,an,null,null),J.parentFlushed=!0,J.rootSegmentID=I,v.blockedBoundary=J,v.hoistableState=J.contentState,v.keyPath=F,v.replay={nodes:ve,slots:ie,pendingTasks:1};try{if(Kr(h,v,Vt,-1),v.replay.pendingTasks===1&&0<v.replay.nodes.length)throw Error(n(488));if(v.replay.pendingTasks--,J.pendingTasks===0&&J.status===0){J.status=1,h.completedBoundaries.push(J);break t}}catch(Ze){J.status=4,Ue=Er(v.componentStack),Be=Xr(h,Ze,Ue),J.errorDigest=Be,v.replay.pendingTasks--,h.clientRenderedBoundaries.push(J)}finally{v.blockedBoundary=lt,v.hoistableState=Ft,v.replay=je,v.keyPath=Qe}v=Kf(h,null,{nodes:he,slots:Ne,pendingTasks:0},Bt,-1,lt,J.fallbackState,an,[F[0],"Suspense Fallback",F[2]],v.formatContext,v.context,v.treeContext,v.componentStack,!0),sr(v),h.pingedTasks.push(v)}}T.splice(E,1);break e}}}else qa(h,v,F,I,J,ve);return;case l:throw Error(n(257));case z:if(Ue=E._init,E=Ue(E._payload),h.status===12)throw null;Zr(h,v,E,T);return}if(K(E)){iu(h,v,E,T);return}if(E===null||typeof E!="object"?Ue=null:(Ue=U&&E[U]||E["@@iterator"],Ue=typeof Ue=="function"?Ue:null),Ue&&(Ue=Ue.call(E))){if(E=Ue.next(),!E.done){J=[];do J.push(E.value),E=Ue.next();while(!E.done);iu(h,v,J,T)}return}if(typeof E.then=="function")return v.thenableState=null,Zr(h,v,Uf(E),T);if(E.$$typeof===y)return Zr(h,v,E._currentValue2,T);throw T=Object.prototype.toString.call(E),Error(n(31,T==="[object Object]"?"object with keys {"+Object.keys(E).join(", ")+"}":T))}typeof E=="string"?(T=v.blockedSegment,T!==null&&(T.lastPushedText=vn(T.chunks,E,h.renderState,T.lastPushedText))):(typeof E=="number"||typeof E=="bigint")&&(T=v.blockedSegment,T!==null&&(T.lastPushedText=vn(T.chunks,""+E,h.renderState,T.lastPushedText)))}}function iu(h,v,E,T){var I=v.keyPath;if(T!==-1&&(v.keyPath=[v.keyPath,"Fragment",T],v.replay!==null)){for(var F=v.replay,J=F.nodes,ve=0;ve<J.length;ve++){var ie=J[ve];if(ie[1]===T){T=ie[2],ie=ie[3],v.replay={nodes:T,slots:ie,pendingTasks:1};try{if(iu(h,v,E,-1),v.replay.pendingTasks===1&&0<v.replay.nodes.length)throw Error(n(488));v.replay.pendingTasks--}catch(Ne){if(typeof Ne=="object"&&Ne!==null&&(Ne===ja||typeof Ne.then=="function"))throw Ne;v.replay.pendingTasks--,E=Er(v.componentStack);var he=v.blockedBoundary,Be=Ne;E=Xr(h,Be,E),gs(h,he,T,ie,Be,E)}v.replay=F,J.splice(ve,1);break}}v.keyPath=I;return}if(F=v.treeContext,J=E.length,v.replay!==null&&(ve=v.replay.slots,ve!==null&&typeof ve=="object")){for(T=0;T<J;T++)ie=E[T],v.treeContext=js(F,J,T),he=ve[T],typeof he=="number"?(xc(h,v,he,ie,T),delete ve[T]):Kr(h,v,ie,T);v.treeContext=F,v.keyPath=I;return}for(ve=0;ve<J;ve++)T=E[ve],v.treeContext=js(F,J,ve),Kr(h,v,T,ve);v.treeContext=F,v.keyPath=I}function hs(h,v){h=h.trackedPostpones,h!==null&&(v=v.trackedContentKeyPath,v!==null&&(v=h.workingMap.get(v),v!==void 0&&(v.length=4,v[2]=[],v[3]=null)))}function au(h,v,E){return Kf(h,E,v.replay,v.node,v.childIndex,v.blockedBoundary,v.hoistableState,v.abortSet,v.keyPath,v.formatContext,v.context,v.treeContext,v.componentStack,v.isFallback)}function xa(h,v,E){var T=v.blockedSegment,I=Vl(h,T.chunks.length,null,v.formatContext,T.lastPushedText,!0);return T.children.push(I),T.lastPushedText=!1,cs(h,E,v.node,v.childIndex,v.blockedBoundary,I,v.blockedPreamble,v.hoistableState,v.abortSet,v.keyPath,v.formatContext,v.context,v.treeContext,v.componentStack,v.isFallback)}function Kr(h,v,E,T){var I=v.formatContext,F=v.context,J=v.keyPath,ve=v.treeContext,ie=v.componentStack,he=v.blockedSegment;if(he===null)try{return Zr(h,v,E,T)}catch(Ue){if(ya(),E=Ue===ja?Pl():Ue,typeof E=="object"&&E!==null){if(typeof E.then=="function"){T=va(),h=au(h,v,T).ping,E.then(h,h),v.formatContext=I,v.context=F,v.keyPath=J,v.treeContext=ve,v.componentStack=ie,pa(F);return}if(E.message==="Maximum call stack size exceeded"){E=va(),E=au(h,v,E),h.pingedTasks.push(E),v.formatContext=I,v.context=F,v.keyPath=J,v.treeContext=ve,v.componentStack=ie,pa(F);return}}}else{var Be=he.children.length,Ne=he.chunks.length;try{return Zr(h,v,E,T)}catch(Ue){if(ya(),he.children.length=Be,he.chunks.length=Ne,E=Ue===ja?Pl():Ue,typeof E=="object"&&E!==null){if(typeof E.then=="function"){T=va(),h=xa(h,v,T).ping,E.then(h,h),v.formatContext=I,v.context=F,v.keyPath=J,v.treeContext=ve,v.componentStack=ie,pa(F);return}if(E.message==="Maximum call stack size exceeded"){E=va(),E=xa(h,v,E),h.pingedTasks.push(E),v.formatContext=I,v.context=F,v.keyPath=J,v.treeContext=ve,v.componentStack=ie,pa(F);return}}}}throw v.formatContext=I,v.context=F,v.keyPath=J,v.treeContext=ve,pa(F),E}function Nh(h){var v=h.blockedBoundary;h=h.blockedSegment,h!==null&&(h.status=3,Oo(this,v,h))}function gs(h,v,E,T,I,F){for(var J=0;J<E.length;J++){var ve=E[J];if(ve.length===4)gs(h,v,ve[2],ve[3],I,F);else{ve=ve[5];var ie=h,he=F,Be=Fl(ie,new Set,null,null);Be.parentFlushed=!0,Be.rootSegmentID=ve,Be.status=4,Be.errorDigest=he,Be.parentFlushed&&ie.clientRenderedBoundaries.push(Be)}}if(E.length=0,T!==null){if(v===null)throw Error(n(487));if(v.status!==4&&(v.status=4,v.errorDigest=F,v.parentFlushed&&h.clientRenderedBoundaries.push(v)),typeof T=="object")for(var Ne in T)delete T[Ne]}}function lu(h,v,E){var T=h.blockedBoundary,I=h.blockedSegment;if(I!==null){if(I.status===6)return;I.status=3}if(I=Er(h.componentStack),T===null){if(v.status!==13&&v.status!==14){if(T=h.replay,T===null){Xr(v,E,I),fs(v,E);return}T.pendingTasks--,T.pendingTasks===0&&0<T.nodes.length&&(h=Xr(v,E,I),gs(v,null,T.nodes,T.slots,E,h)),v.pendingRootTasks--,v.pendingRootTasks===0&&Bl(v)}}else T.pendingTasks--,T.status!==4&&(T.status=4,h=Xr(v,E,I),T.status=4,T.errorDigest=h,hs(v,T),T.parentFlushed&&v.clientRenderedBoundaries.push(T)),T.fallbackAbortableTasks.forEach(function(F){return lu(F,v,E)}),T.fallbackAbortableTasks.clear();v.allPendingTasks--,v.allPendingTasks===0&&$a(v)}function ou(h,v){try{var E=h.renderState,T=E.onHeaders;if(T){var I=E.headers;if(I){E.headers=null;var F=I.preconnects;if(I.fontPreloads&&(F&&(F+=", "),F+=I.fontPreloads),I.highImagePreloads&&(F&&(F+=", "),F+=I.highImagePreloads),!v){var J=E.styles.values(),ve=J.next();e:for(;0<I.remainingCapacity&&!ve.done;ve=J.next())for(var ie=ve.value.sheets.values(),he=ie.next();0<I.remainingCapacity&&!he.done;he=ie.next()){var Be=he.value,Ne=Be.props,Ue=Ne.href,Qe=Be.props,je=ha(Qe.href,"style",{crossOrigin:Qe.crossOrigin,integrity:Qe.integrity,nonce:Qe.nonce,type:Qe.type,fetchPriority:Qe.fetchPriority,referrerPolicy:Qe.referrerPolicy,media:Qe.media});if(0<=(I.remainingCapacity-=je.length+2))E.resets.style[Ue]=Me,F&&(F+=", "),F+=je,E.resets.style[Ue]=typeof Ne.crossOrigin=="string"||typeof Ne.integrity=="string"?[Ne.crossOrigin,Ne.integrity]:Me;else break e}}T(F?{Link:F}:{})}}}catch(lt){Xr(h,lt,{})}}function Bl(h){h.trackedPostpones===null&&ou(h,!0),h.trackedPostpones===null&&Gi(h),h.onShellError=Qa,h=h.onShellReady,h()}function $a(h){ou(h,h.trackedPostpones===null?!0:h.completedRootSegment===null||h.completedRootSegment.status!==5),Gi(h),h=h.onAllReady,h()}function ps(h,v){if(v.chunks.length===0&&v.children.length===1&&v.children[0].boundary===null&&v.children[0].id===-1){var E=v.children[0];E.id=v.id,E.parentFlushed=!0,E.status===1&&ps(h,E)}else h.completedSegments.push(v)}function Oo(h,v,E){if(v===null){if(E!==null&&E.parentFlushed){if(h.completedRootSegment!==null)throw Error(n(389));h.completedRootSegment=E}h.pendingRootTasks--,h.pendingRootTasks===0&&Bl(h)}else v.pendingTasks--,v.status!==4&&(v.pendingTasks===0?(v.status===0&&(v.status=1),E!==null&&E.parentFlushed&&E.status===1&&ps(v,E),v.parentFlushed&&h.completedBoundaries.push(v),v.status===1&&(v.fallbackAbortableTasks.forEach(Nh,h),v.fallbackAbortableTasks.clear(),h.pendingRootTasks===0&&h.trackedPostpones===null&&v.contentPreamble!==null&&Gi(h))):E!==null&&E.parentFlushed&&E.status===1&&(ps(v,E),v.completedSegments.length===1&&v.parentFlushed&&h.partialBoundaries.push(v)));h.allPendingTasks--,h.allPendingTasks===0&&$a(h)}function Sc(h){if(h.status!==14&&h.status!==13){var v=Ai,E=me.H;me.H=Yf;var T=me.A;me.A=Ph;var I=Qn;Qn=h;var F=tu;tu=h.resumableState;try{var J=h.pingedTasks,ve;for(ve=0;ve<J.length;ve++){var ie=J[ve],he=h,Be=ie.blockedSegment;if(Be===null){var Ne=he;if(ie.replay.pendingTasks!==0){pa(ie.context);try{if(typeof ie.replay.slots=="number"?xc(Ne,ie,ie.replay.slots,ie.node,ie.childIndex):ru(Ne,ie),ie.replay.pendingTasks===1&&0<ie.replay.nodes.length)throw Error(n(488));ie.replay.pendingTasks--,ie.abortSet.delete(ie),Oo(Ne,ie.blockedBoundary,null)}catch(Lt){ya();var Ue=Lt===ja?Pl():Lt;if(typeof Ue=="object"&&Ue!==null&&typeof Ue.then=="function"){var Qe=ie.ping;Ue.then(Qe,Qe),ie.thenableState=va()}else{ie.replay.pendingTasks--,ie.abortSet.delete(ie);var je=Er(ie.componentStack);he=void 0;var lt=Ne,Ft=ie.blockedBoundary,Vt=Ne.status===12?Ne.fatalError:Ue,Bt=ie.replay.nodes,an=ie.replay.slots;he=Xr(lt,Vt,je),gs(lt,Ft,Bt,an,Vt,he),Ne.pendingRootTasks--,Ne.pendingRootTasks===0&&Bl(Ne),Ne.allPendingTasks--,Ne.allPendingTasks===0&&$a(Ne)}}finally{}}}else if(Ne=void 0,lt=Be,lt.status===0){lt.status=6,pa(ie.context);var Ze=lt.children.length,yn=lt.chunks.length;try{ru(he,ie),gc(lt.chunks,he.renderState,lt.lastPushedText,lt.textEmbedded),ie.abortSet.delete(ie),lt.status=1,Oo(he,ie.blockedBoundary,lt)}catch(Lt){ya(),lt.children.length=Ze,lt.chunks.length=yn;var vt=Lt===ja?Pl():he.status===12?he.fatalError:Lt;if(typeof vt=="object"&&vt!==null&&typeof vt.then=="function"){lt.status=0,ie.thenableState=va();var Pn=ie.ping;vt.then(Pn,Pn)}else{var jt=Er(ie.componentStack);ie.abortSet.delete(ie),lt.status=4;var ot=ie.blockedBoundary;Ne=Xr(he,vt,jt),ot===null?fs(he,vt):(ot.pendingTasks--,ot.status!==4&&(ot.status=4,ot.errorDigest=Ne,hs(he,ot),ot.parentFlushed&&he.clientRenderedBoundaries.push(ot),he.pendingRootTasks===0&&he.trackedPostpones===null&&ot.contentPreamble!==null&&Gi(he))),he.allPendingTasks--,he.allPendingTasks===0&&$a(he)}}finally{}}}J.splice(0,ve),h.destination!==null&&ms(h,h.destination)}catch(Lt){Xr(h,Lt,{}),fs(h,Lt)}finally{tu=F,me.H=E,me.A=T,E===Yf&&pa(v),Qn=I}}}function su(h,v,E){v.preambleChildren.length&&E.push(v.preambleChildren);for(var T=!1,I=0;I<v.children.length;I++)T=el(h,v.children[I],E)||T;return T}function el(h,v,E){var T=v.boundary;if(T===null)return su(h,v,E);var I=T.contentPreamble,F=T.fallbackPreamble;if(I===null||F===null)return!1;switch(T.status){case 1:if(xi(h.renderState,I),v=T.completedSegments[0],!v)throw Error(n(391));return su(h,v,E);case 5:if(h.trackedPostpones!==null)return!0;case 4:if(v.status===1)return xi(h.renderState,F),su(h,v,E);default:return!0}}function Gi(h){if(h.completedRootSegment&&h.completedPreambleSegments===null){var v=[],E=el(h,h.completedRootSegment,v),T=h.renderState.preamble;(E===!1||T.headChunks&&T.bodyChunks)&&(h.completedPreambleSegments=v)}}function Hl(h,v,E,T){switch(E.parentFlushed=!0,E.status){case 0:E.id=h.nextSegmentId++;case 5:return T=E.id,E.lastPushedText=!1,E.textEmbedded=!1,h=h.renderState,v.push('<template id="'),v.push(h.placeholderPrefix),h=T.toString(16),v.push(h),v.push('"></template>');case 1:E.status=2;var I=!0,F=E.chunks,J=0;E=E.children;for(var ve=0;ve<E.length;ve++){for(I=E[ve];J<I.index;J++)v.push(F[J]);I=tl(h,v,I,T)}for(;J<F.length-1;J++)v.push(F[J]);return J<F.length&&(I=v.push(F[J])),I;default:throw Error(n(390))}}function tl(h,v,E,T){var I=E.boundary;if(I===null)return Hl(h,v,E,T);if(I.parentFlushed=!0,I.status===4){if(!h.renderState.generateStaticMarkup){var F=I.errorDigest;v.push("<!--$!-->"),v.push("<template"),F&&(v.push(' data-dgst="'),F=j(F),v.push(F),v.push('"')),v.push("></template>")}return Hl(h,v,E,T),h.renderState.generateStaticMarkup?v=!0:((h=I.fallbackPreamble)&&Nf(v,h),v=v.push("<!--/$-->")),v}if(I.status!==1)return I.status===0&&(I.rootSegmentID=h.nextSegmentId++),0<I.completedSegments.length&&h.partialBoundaries.push(I),Al(v,h.renderState,I.rootSegmentID),T&&(I=I.fallbackState,I.styles.forEach(ns,T),I.stylesheets.forEach(Ol,T)),Hl(h,v,E,T),v.push("<!--/$-->");if(I.byteSize>h.progressiveChunkSize)return I.rootSegmentID=h.nextSegmentId++,h.completedBoundaries.push(I),Al(v,h.renderState,I.rootSegmentID),Hl(h,v,E,T),v.push("<!--/$-->");if(T&&(E=I.contentState,E.styles.forEach(ns,T),E.stylesheets.forEach(Ol,T)),h.renderState.generateStaticMarkup||v.push("<!--$-->"),E=I.completedSegments,E.length!==1)throw Error(n(391));return tl(h,v,E[0],T),h.renderState.generateStaticMarkup?v=!0:((h=I.contentPreamble)&&Nf(v,h),v=v.push("<!--/$-->")),v}function _o(h,v,E,T){return cc(v,h.renderState,E.parentFormatContext,E.id),tl(h,v,E,T),Df(v,E.parentFormatContext)}function uu(h,v,E){for(var T=E.completedSegments,I=0;I<T.length;I++)Ac(h,v,E,T[I]);T.length=0,ts(v,E.contentState,h.renderState),T=h.resumableState,h=h.renderState,I=E.rootSegmentID,E=E.contentState;var F=h.stylesToHoist;return h.stylesToHoist=!1,v.push(h.startInlineScript),F?(T.instructions&2)===0?(T.instructions|=10,v.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;
132
+ $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=
133
+ 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,
134
+ t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`)):(T.instructions&8)===0?(T.instructions|=8,v.push(`$RM=new Map;
135
+ $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=
136
+ 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,
137
+ t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`)):v.push('$RR("'):(T.instructions&2)===0?(T.instructions|=2,v.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("')):v.push('$RC("'),T=I.toString(16),v.push(h.boundaryPrefix),v.push(T),v.push('","'),v.push(h.segmentPrefix),v.push(T),F?(v.push('",'),Hi(v,E)):v.push('"'),E=v.push(")<\/script>"),es(v,h)&&E}function Ac(h,v,E,T){if(T.status===2)return!0;var I=E.contentState,F=T.id;if(F===-1){if((T.id=E.rootSegmentID)===-1)throw Error(n(392));return _o(h,v,T,I)}return F===E.rootSegmentID?_o(h,v,T,I):(_o(h,v,T,I),E=h.resumableState,h=h.renderState,v.push(h.startInlineScript),(E.instructions&1)===0?(E.instructions|=1,v.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("')):v.push('$RS("'),v.push(h.segmentPrefix),F=F.toString(16),v.push(F),v.push('","'),v.push(h.placeholderPrefix),v.push(F),v=v.push('")<\/script>'),v)}function ms(h,v){try{if(!(0<h.pendingRootTasks)){var E,T=h.completedRootSegment;if(T!==null){if(T.status===5)return;var I=h.completedPreambleSegments;if(I===null)return;var F=h.renderState,J=F.preamble,ve=J.htmlChunks,ie=J.headChunks,he;if(ve){for(he=0;he<ve.length;he++)v.push(ve[he]);if(ie)for(he=0;he<ie.length;he++)v.push(ie[he]);else{var Be=dt("head");v.push(Be),v.push(">")}}else if(ie)for(he=0;he<ie.length;he++)v.push(ie[he]);var Ne=F.charsetChunks;for(he=0;he<Ne.length;he++)v.push(Ne[he]);Ne.length=0,F.preconnects.forEach(Hr,v),F.preconnects.clear();var Ue=F.viewportChunks;for(he=0;he<Ue.length;he++)v.push(Ue[he]);Ue.length=0,F.fontPreloads.forEach(Hr,v),F.fontPreloads.clear(),F.highImagePreloads.forEach(Hr,v),F.highImagePreloads.clear(),F.styles.forEach(Ao,v);var Qe=F.importMapChunks;for(he=0;he<Qe.length;he++)v.push(Qe[he]);Qe.length=0,F.bootstrapScripts.forEach(Hr,v),F.scripts.forEach(Hr,v),F.scripts.clear(),F.bulkPreloads.forEach(Hr,v),F.bulkPreloads.clear();var je=F.hoistableChunks;for(he=0;he<je.length;he++)v.push(je[he]);for(F=je.length=0;F<I.length;F++){var lt=I[F];for(J=0;J<lt.length;J++)tl(h,v,lt[J],null)}var Ft=h.renderState.preamble,Vt=Ft.headChunks;if(Ft.htmlChunks||Vt){var Bt=fa("head");v.push(Bt)}var an=Ft.bodyChunks;if(an)for(I=0;I<an.length;I++)v.push(an[I]);tl(h,v,T,null),h.completedRootSegment=null,es(v,h.renderState)}var Ze=h.renderState;T=0;var yn=Ze.viewportChunks;for(T=0;T<yn.length;T++)v.push(yn[T]);yn.length=0,Ze.preconnects.forEach(Hr,v),Ze.preconnects.clear(),Ze.fontPreloads.forEach(Hr,v),Ze.fontPreloads.clear(),Ze.highImagePreloads.forEach(Hr,v),Ze.highImagePreloads.clear(),Ze.styles.forEach(Cn,v),Ze.scripts.forEach(Hr,v),Ze.scripts.clear(),Ze.bulkPreloads.forEach(Hr,v),Ze.bulkPreloads.clear();var vt=Ze.hoistableChunks;for(T=0;T<vt.length;T++)v.push(vt[T]);vt.length=0;var Pn=h.clientRenderedBoundaries;for(E=0;E<Pn.length;E++){var jt=Pn[E];Ze=v;var ot=h.resumableState,Lt=h.renderState,Ln=jt.rootSegmentID,xn=jt.errorDigest;Ze.push(Lt.startInlineScript),(ot.instructions&4)===0?(ot.instructions|=4,Ze.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("')):Ze.push('$RX("'),Ze.push(Lt.boundaryPrefix);var wi=Ln.toString(16);if(Ze.push(wi),Ze.push('"'),xn){Ze.push(",");var br=Kn(xn||"");Ze.push(br)}var In=Ze.push(")<\/script>");if(!In){h.destination=null,E++,Pn.splice(0,E);return}}Pn.splice(0,E);var qn=h.completedBoundaries;for(E=0;E<qn.length;E++)if(!uu(h,v,qn[E])){h.destination=null,E++,qn.splice(0,E);return}qn.splice(0,E);var kn=h.partialBoundaries;for(E=0;E<kn.length;E++){var Ui=kn[E];e:{Pn=h,jt=v;var Un=Ui.completedSegments;for(In=0;In<Un.length;In++)if(!Ac(Pn,jt,Ui,Un[In])){In++,Un.splice(0,In);var Ci=!1;break e}Un.splice(0,In),Ci=ts(jt,Ui.contentState,Pn.renderState)}if(!Ci){h.destination=null,E++,kn.splice(0,E);return}}kn.splice(0,E);var Aa=h.completedBoundaries;for(E=0;E<Aa.length;E++)if(!uu(h,v,Aa[E])){h.destination=null,E++,Aa.splice(0,E);return}Aa.splice(0,E)}}finally{h.allPendingTasks===0&&h.pingedTasks.length===0&&h.clientRenderedBoundaries.length===0&&h.completedBoundaries.length===0&&(h.flushScheduled=!1,E=h.resumableState,E.hasBody&&(kn=fa("body"),v.push(kn)),E.hasHtml&&(E=fa("html"),v.push(E)),h.status=14,v.push(null),h.destination=null)}}function Wl(h){if(h.flushScheduled===!1&&h.pingedTasks.length===0&&h.destination!==null){h.flushScheduled=!0;var v=h.destination;v?ms(h,v):h.flushScheduled=!1}}function Dh(h,v){if(h.status===13)h.status=14,v.destroy(h.fatalError);else if(h.status!==14&&h.destination===null){h.destination=v;try{ms(h,v)}catch(E){Xr(h,E,{}),fs(h,E)}}}function ur(h,v){(h.status===11||h.status===10)&&(h.status=12);try{var E=h.abortableTasks;if(0<E.size){var T=v===void 0?Error(n(432)):typeof v=="object"&&v!==null&&typeof v.then=="function"?Error(n(530)):v;h.fatalError=T,E.forEach(function(I){return lu(I,h,T)}),E.clear()}h.destination!==null&&ms(h,h.destination)}catch(I){Xr(h,I,{}),fs(h,I)}}function Ro(){}function Sa(h,v,E,T){var I=!1,F=null,J="",ve=!1;if(v=Re(v?v.identifierPrefix:void 0),h=zh(h,v,Zs(v,E),Fe(0,null,0),1/0,Ro,void 0,function(){ve=!0},void 0,void 0,void 0),h.flushScheduled=h.destination!==null,Sc(h),h.status===10&&(h.status=11),h.trackedPostpones===null&&ou(h,h.pendingRootTasks===0),ur(h,T),Dh(h,{push:function(ie){return ie!==null&&(J+=ie),!0},destroy:function(ie){I=!0,F=ie}}),I&&F!==T)throw F;if(!ve)throw Error(n(426));return J}return Th.renderToStaticMarkup=function(h,v){return Sa(h,v,!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')},Th.renderToString=function(h,v){return Sa(h,v,!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')},Th.version="19.1.1",Th}var Oh={};/**
138
+ * @license React
139
+ * react-dom-server.browser.production.js
140
+ *
141
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
142
+ *
143
+ * This source code is licensed under the MIT license found in the
144
+ * LICENSE file in the root directory of this source tree.
145
+ */var rk;function TU(){if(rk)return Oh;rk=1;var e=jc(),t=Sg();function n(d){var p="https://react.dev/errors/"+d;if(1<arguments.length){p+="?args[]="+encodeURIComponent(arguments[1]);for(var A=2;A<arguments.length;A++)p+="&args[]="+encodeURIComponent(arguments[A])}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 r=Symbol.for("react.transitional.element"),l=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),g=Symbol.for("react.provider"),b=Symbol.for("react.consumer"),y=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),B=Symbol.for("react.scope"),V=Symbol.for("react.activity"),W=Symbol.for("react.legacy_hidden"),H=Symbol.for("react.memo_cache_sentinel"),te=Symbol.for("react.view_transition"),U=Symbol.iterator,K=Array.isArray;function be(d,p){var A=d.length&3,O=d.length-A,P=p;for(p=0;p<O;){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,P^=L,P=P<<13|P>>>19,P=5*(P&65535)+((5*(P>>>16)&65535)<<16)&4294967295,P=(P&65535)+27492+(((P>>>16)+58964&65535)<<16)}switch(L=0,A){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,P^=461845907*(L&65535)+((461845907*(L>>>16)&65535)<<16)&4294967295}return P^=d.length,P^=P>>>16,P=2246822507*(P&65535)+((2246822507*(P>>>16)&65535)<<16)&4294967295,P^=P>>>13,P=3266489909*(P&65535)+((3266489909*(P>>>16)&65535)<<16)&4294967295,(P^P>>>16)>>>0}var ge=new MessageChannel,fe=[];ge.port1.onmessage=function(){var d=fe.shift();d&&d()};function Z(d){fe.push(d),ge.port2.postMessage(null)}function ke(d){setTimeout(function(){throw d})}var ue=Promise,Oe=typeof queueMicrotask=="function"?queueMicrotask:function(d){ue.resolve(null).then(d).catch(ke)},ee=null,oe=0;function D(d,p){if(p.byteLength!==0)if(2048<p.byteLength)0<oe&&(d.enqueue(new Uint8Array(ee.buffer,0,oe)),ee=new Uint8Array(2048),oe=0),d.enqueue(p);else{var A=ee.length-oe;A<p.byteLength&&(A===0?d.enqueue(ee):(ee.set(p.subarray(0,A),oe),d.enqueue(ee),p=p.subarray(A)),ee=new Uint8Array(2048),oe=0),ee.set(p,oe),oe+=p.byteLength}}function j(d,p){return D(d,p),!0}function we(d){ee&&0<oe&&(d.enqueue(new Uint8Array(ee.buffer,0,oe)),ee=null,oe=0)}var Ee=new TextEncoder;function k(d){return Ee.encode(d)}function G(d){return Ee.encode(d)}function me(d,p){typeof d.error=="function"?d.error(p):d.close()}var M=Object.assign,xe=Object.prototype.hasOwnProperty,He=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]*$"),Me={},ht={};function ye(d){return xe.call(ht,d)?!0:xe.call(Me,d)?!1:He.test(d)?ht[d]=!0:(Me[d]=!0,!1)}var Re=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(" ")),Pe=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"]]),Fe=/["'&<>]/;function Ve(d){if(typeof d=="boolean"||typeof d=="number"||typeof d=="bigint")return""+d;d=""+d;var p=Fe.exec(d);if(p){var A="",O,P=0;for(O=p.index;O<d.length;O++){switch(d.charCodeAt(O)){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}P!==O&&(A+=d.slice(P,O)),P=O+1,A+=p}d=P!==O?A+d.slice(P,O):A}return d}var ct=/([A-Z])/g,Yt=/^ms-/,Wn=/^[\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 kt(d){return Wn.test(""+d)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":d}var nn=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bi=t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Lr={pending:!1,data:null,method:null,action:null},Mn=Bi.d;Bi.d={f:Mn.f,r:Mn.r,D:ou,C:Bl,L:$a,m:ps,X:Sc,S:Oo,M:su};var rn=[];G('"></template>');var xt=G("<script>"),wn=G("<\/script>"),uc=G('<script src="'),Ys=G('<script type="module" src="'),pe=G('" nonce="'),Ie=G('" integrity="'),Ke=G('" crossorigin="'),Xe=G('" async=""><\/script>'),_t=/(<\/|<)(s)(cript)/gi;function Gn(d,p,A,O){return""+p+(A==="s"?"\\u0073":"\\u0053")+O}var vi=G('<script type="importmap">'),Zn=G("<\/script>");function yi(d,p,A,O,P,L){var X=p===void 0?xt:G('<script nonce="'+Ve(p)+'">'),le=d.idPrefix;A=[];var Q=d.bootstrapScriptContent,re=d.bootstrapScripts,ze=d.bootstrapModules;if(Q!==void 0&&A.push(X,k((""+Q).replace(_t,Gn)),wn),Q=[],O!==void 0&&(Q.push(vi),Q.push(k((""+JSON.stringify(O)).replace(_t,Gn))),Q.push(Zn)),O=P?{preconnects:"",fontPreloads:"",highImagePreloads:"",remainingCapacity:2+(typeof L=="number"?L:2e3)}:null,P={placeholderPrefix:G(le+"P:"),segmentPrefix:G(le+"S:"),boundaryPrefix:G(le+"B:"),startInlineScript:X,preamble:dt(),externalRuntimeScript:null,bootstrapChunks:A,importMapChunks:Q,onHeaders:P,headers:O,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:p,hoistableState:null,stylesToHoist:!1},re!==void 0)for(O=0;O<re.length;O++){var Se=re[O];le=X=void 0,Q={rel:"preload",as:"script",fetchPriority:"low",nonce:p},typeof Se=="string"?Q.href=L=Se:(Q.href=L=Se.src,Q.integrity=le=typeof Se.integrity=="string"?Se.integrity:void 0,Q.crossOrigin=X=typeof Se=="string"||Se.crossOrigin==null?void 0:Se.crossOrigin==="use-credentials"?"use-credentials":""),Se=d;var We=L;Se.scriptResources[We]=null,Se.moduleScriptResources[We]=null,Se=[],or(Se,Q),P.bootstrapScripts.add(Se),A.push(uc,k(Ve(L))),p&&A.push(pe,k(Ve(p))),typeof le=="string"&&A.push(Ie,k(Ve(le))),typeof X=="string"&&A.push(Ke,k(Ve(X))),A.push(Xe)}if(ze!==void 0)for(re=0;re<ze.length;re++)Q=ze[re],X=L=void 0,le={rel:"modulepreload",fetchPriority:"low",nonce:p},typeof Q=="string"?le.href=O=Q:(le.href=O=Q.src,le.integrity=X=typeof Q.integrity=="string"?Q.integrity:void 0,le.crossOrigin=L=typeof Q=="string"||Q.crossOrigin==null?void 0:Q.crossOrigin==="use-credentials"?"use-credentials":""),Q=d,Se=O,Q.scriptResources[Se]=null,Q.moduleScriptResources[Se]=null,Q=[],or(Q,le),P.bootstrapScripts.add(Q),A.push(Ys,k(Ve(O))),p&&A.push(pe,k(Ve(p))),typeof X=="string"&&A.push(Ie,k(Ve(X))),typeof L=="string"&&A.push(Ke,k(Ve(L))),A.push(Xe);return P}function pr(d,p,A,O,P){return{idPrefix:d===void 0?"":d,nextFormID:0,streamingFormat:0,bootstrapScriptContent:A,bootstrapScripts:O,bootstrapModules:P,instructions:0,hasBody:!1,hasHtml:!1,unknownResources:{},dnsResources:{},connectResources:{default:{},anonymous:{},credentials:{}},imageResources:{},styleResources:{},scriptResources:{},moduleUnknownResources:{},moduleScriptResources:{}}}function dt(){return{htmlChunks:null,headChunks:null,bodyChunks:null,contribution:0}}function Qt(d,p,A){return{insertionMode:d,selectedValue:p,tagScope:A}}function Fr(d){return Qt(d==="http://www.w3.org/2000/svg"?4:d==="http://www.w3.org/1998/Math/MathML"?5:0,null,0)}function fa(d,p,A){switch(p){case"noscript":return Qt(2,null,d.tagScope|1);case"select":return Qt(2,A.value!=null?A.value:A.defaultValue,d.tagScope);case"svg":return Qt(4,null,d.tagScope);case"picture":return Qt(2,null,d.tagScope|2);case"math":return Qt(5,null,d.tagScope);case"foreignObject":return Qt(2,null,d.tagScope);case"table":return Qt(6,null,d.tagScope);case"thead":case"tbody":case"tfoot":return Qt(7,null,d.tagScope);case"colgroup":return Qt(9,null,d.tagScope);case"tr":return Qt(8,null,d.tagScope);case"head":if(2>d.insertionMode)return Qt(3,null,d.tagScope);break;case"html":if(d.insertionMode===0)return Qt(1,null,d.tagScope)}return 6<=d.insertionMode||2>d.insertionMode?Qt(2,null,d.tagScope):d}var xi=G("<!-- -->");function es(d,p,A,O){return p===""?O:(O&&d.push(xi),d.push(k(Ve(p))),!0)}var Al=new Map,Nf=G(' style="'),cc=G(":"),Df=G(";");function Xs(d,p){if(typeof p!="object")throw Error(n(62));var A=!0,O;for(O in p)if(xe.call(p,O)){var P=p[O];if(P!=null&&typeof P!="boolean"&&P!==""){if(O.indexOf("--")===0){var L=k(Ve(O));P=k(Ve((""+P).trim()))}else L=Al.get(O),L===void 0&&(L=G(Ve(O.replace(ct,"-$1").toLowerCase().replace(Yt,"-ms-"))),Al.set(O,L)),P=typeof P=="number"?P===0||Re.has(O)?k(""+P):k(P+"px"):k(Ve((""+P).trim()));A?(A=!1,d.push(Nf,L,cc,P)):d.push(Df,L,cc,P)}}A||d.push(jn)}var Kn=G(" "),Vr=G('="'),jn=G('"'),Br=G('=""');function _n(d,p,A){A&&typeof A!="function"&&typeof A!="symbol"&&d.push(Kn,k(p),Br)}function Mt(d,p,A){typeof A!="function"&&typeof A!="symbol"&&typeof A!="boolean"&&d.push(Kn,k(p),Vr,k(Ve(A)),jn)}var El=G(Ve("javascript:throw new Error('React form unexpectedly submitted.')")),ts=G('<input type="hidden"');function Hr(d,p){this.push(ts),da(d),Mt(this,"name",p),Mt(this,"value",d),this.push(Hi)}function da(d){if(typeof d!="string")throw Error(n(480))}function fc(d,p){if(typeof p.$$FORM_ACTION=="function"){var A=d.nextFormID++;d=d.idPrefix+A;try{var O=p.$$FORM_ACTION(d);if(O){var P=O.data;P?.forEach(da)}return O}catch(L){if(typeof L=="object"&&L!==null&&typeof L.then=="function")throw L}}return null}function Ao(d,p,A,O,P,L,X,le){var Q=null;if(typeof O=="function"){var re=fc(p,O);re!==null?(le=re.name,O=re.action||"",P=re.encType,L=re.method,X=re.target,Q=re.data):(d.push(Kn,k("formAction"),Vr,El,jn),X=L=P=O=le=null,dc(p,A))}return le!=null&&Rt(d,"name",le),O!=null&&Rt(d,"formAction",O),P!=null&&Rt(d,"formEncType",P),L!=null&&Rt(d,"formMethod",L),X!=null&&Rt(d,"formTarget",X),Q}function Rt(d,p,A){switch(p){case"className":Mt(d,"class",A);break;case"tabIndex":Mt(d,"tabindex",A);break;case"dir":case"role":case"viewBox":case"width":case"height":Mt(d,p,A);break;case"style":Xs(d,A);break;case"src":case"href":if(A==="")break;case"action":case"formAction":if(A==null||typeof A=="function"||typeof A=="symbol"||typeof A=="boolean")break;A=kt(""+A),d.push(Kn,k(p),Vr,k(Ve(A)),jn);break;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"autoFocus":case"multiple":case"muted":_n(d,p.toLowerCase(),A);break;case"xlinkHref":if(typeof A=="function"||typeof A=="symbol"||typeof A=="boolean")break;A=kt(""+A),d.push(Kn,k("xlink:href"),Vr,k(Ve(A)),jn);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":typeof A!="function"&&typeof A!="symbol"&&d.push(Kn,k(p),Vr,k(Ve(A)),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":A&&typeof A!="function"&&typeof A!="symbol"&&d.push(Kn,k(p),Br);break;case"capture":case"download":A===!0?d.push(Kn,k(p),Br):A!==!1&&typeof A!="function"&&typeof A!="symbol"&&d.push(Kn,k(p),Vr,k(Ve(A)),jn);break;case"cols":case"rows":case"size":case"span":typeof A!="function"&&typeof A!="symbol"&&!isNaN(A)&&1<=A&&d.push(Kn,k(p),Vr,k(Ve(A)),jn);break;case"rowSpan":case"start":typeof A=="function"||typeof A=="symbol"||isNaN(A)||d.push(Kn,k(p),Vr,k(Ve(A)),jn);break;case"xlinkActuate":Mt(d,"xlink:actuate",A);break;case"xlinkArcrole":Mt(d,"xlink:arcrole",A);break;case"xlinkRole":Mt(d,"xlink:role",A);break;case"xlinkShow":Mt(d,"xlink:show",A);break;case"xlinkTitle":Mt(d,"xlink:title",A);break;case"xlinkType":Mt(d,"xlink:type",A);break;case"xmlBase":Mt(d,"xml:base",A);break;case"xmlLang":Mt(d,"xml:lang",A);break;case"xmlSpace":Mt(d,"xml:space",A);break;default:if((!(2<p.length)||p[0]!=="o"&&p[0]!=="O"||p[1]!=="n"&&p[1]!=="N")&&(p=Pe.get(p)||p,ye(p))){switch(typeof A){case"function":case"symbol":return;case"boolean":var O=p.toLowerCase().slice(0,5);if(O!=="data-"&&O!=="aria-")return}d.push(Kn,k(p),Vr,k(Ve(A)),jn)}}}var Cn=G(">"),Hi=G("/>");function Jn(d,p,A){if(p!=null){if(A!=null)throw Error(n(60));if(typeof p!="object"||!("__html"in p))throw Error(n(61));p=p.__html,p!=null&&d.push(k(""+p))}}function wl(d){var p="";return e.Children.forEach(d,function(A){A!=null&&(p+=A)}),p}var Rn=G(' selected=""'),Mf=G(`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 dc(d,p){(d.instructions&16)===0&&(d.instructions|=16,p.bootstrapChunks.unshift(p.startInlineScript,Mf,wn))}var Cl=G("<!--F!-->"),Eo=G("<!--F-->");function or(d,p){d.push(vn("link"));for(var A in p)if(xe.call(p,A)){var O=p[A];if(O!=null)switch(A){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:Rt(d,A,O)}}return d.push(Hi),null}var hc=/(<\/|<)(s)(tyle)/gi;function kl(d,p,A,O){return""+p+(A==="s"?"\\73 ":"\\53 ")+O}function ha(d,p,A){d.push(vn(A));for(var O in p)if(xe.call(p,O)){var P=p[O];if(P!=null)switch(O){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,A));default:Rt(d,O,P)}}return d.push(Hi),null}function Tl(d,p){d.push(vn("title"));var A=null,O=null,P;for(P in p)if(xe.call(p,P)){var L=p[P];if(L!=null)switch(P){case"children":A=L;break;case"dangerouslySetInnerHTML":O=L;break;default:Rt(d,P,L)}}return d.push(Cn),p=Array.isArray(A)?2>A.length?A[0]:null:A,typeof p!="function"&&typeof p!="symbol"&&p!==null&&p!==void 0&&d.push(k(Ve(""+p))),Jn(d,O,A),d.push(Si("title")),null}function ga(d,p){d.push(vn("script"));var A=null,O=null,P;for(P in p)if(xe.call(p,P)){var L=p[P];if(L!=null)switch(P){case"children":A=L;break;case"dangerouslySetInnerHTML":O=L;break;default:Rt(d,P,L)}}return d.push(Cn),Jn(d,O,A),typeof A=="string"&&d.push(k((""+A).replace(_t,Gn))),d.push(Si("script")),null}function Wr(d,p,A){d.push(vn(A));var O=A=null,P;for(P in p)if(xe.call(p,P)){var L=p[P];if(L!=null)switch(P){case"children":A=L;break;case"dangerouslySetInnerHTML":O=L;break;default:Rt(d,P,L)}}return d.push(Cn),Jn(d,O,A),A}function Ka(d,p,A){d.push(vn(A));var O=A=null,P;for(P in p)if(xe.call(p,P)){var L=p[P];if(L!=null)switch(P){case"children":A=L;break;case"dangerouslySetInnerHTML":O=L;break;default:Rt(d,P,L)}}return d.push(Cn),Jn(d,O,A),typeof A=="string"?(d.push(k(Ve(A))),null):A}var ns=G(`
146
+ `),Ol=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Zs=new Map;function vn(d){var p=Zs.get(d);if(p===void 0){if(!Ol.test(d))throw Error(n(65,d));p=G("<"+d),Zs.set(d,p)}return p}var gc=G("<!DOCTYPE html>");function Lf(d,p,A,O,P,L,X,le,Q,re){switch(p){case"div":case"span":case"svg":case"path":break;case"a":d.push(vn("a"));var ze=null,Se=null,We;for(We in A)if(xe.call(A,We)){var Ge=A[We];if(Ge!=null)switch(We){case"children":ze=Ge;break;case"dangerouslySetInnerHTML":Se=Ge;break;case"href":Ge===""?Mt(d,"href",""):Rt(d,We,Ge);break;default:Rt(d,We,Ge)}}if(d.push(Cn),Jn(d,Se,ze),typeof ze=="string"){d.push(k(Ve(ze)));var Je=null}else Je=ze;return Je;case"g":case"p":case"li":break;case"select":d.push(vn("select"));var st=null,Xt=null,qt;for(qt in A)if(xe.call(A,qt)){var yt=A[qt];if(yt!=null)switch(qt){case"children":st=yt;break;case"dangerouslySetInnerHTML":Xt=yt;break;case"defaultValue":case"value":break;default:Rt(d,qt,yt)}}return d.push(Cn),Jn(d,Xt,st),st;case"option":var tr=le.selectedValue;d.push(vn("option"));var gn=null,fr=null,on=null,nt=null,gt;for(gt in A)if(xe.call(A,gt)){var pt=A[gt];if(pt!=null)switch(gt){case"children":gn=pt;break;case"selected":on=pt;break;case"dangerouslySetInnerHTML":nt=pt;break;case"value":fr=pt;default:Rt(d,gt,pt)}}if(tr!=null){var Sn=fr!==null?""+fr:wl(gn);if(K(tr)){for(var Zt=0;Zt<tr.length;Zt++)if(""+tr[Zt]===Sn){d.push(Rn);break}}else""+tr===Sn&&d.push(Rn)}else on&&d.push(Rn);return d.push(Cn),Jn(d,nt,gn),gn;case"textarea":d.push(vn("textarea"));var An=null,Na=null,hi=null,Qr;for(Qr in A)if(xe.call(A,Qr)){var zo=A[Qr];if(zo!=null)switch(Qr){case"children":hi=zo;break;case"value":An=zo;break;case"defaultValue":Na=zo;break;case"dangerouslySetInnerHTML":throw Error(n(91));default:Rt(d,Qr,zo)}}if(An===null&&Na!==null&&(An=Na),d.push(Cn),hi!=null){if(An!=null)throw Error(n(92));if(K(hi)){if(1<hi.length)throw Error(n(93));An=""+hi[0]}An=""+hi}return typeof An=="string"&&An[0]===`
147
+ `&&d.push(ns),An!==null&&d.push(k(Ve(""+An))),null;case"input":d.push(vn("input"));var $t=null,Qf=null,qf=null,Mh=null,Lh=null,Fh=null,wc=null,Cc=null,kc=null,dr;for(dr in A)if(xe.call(A,dr)){var Ht=A[dr];if(Ht!=null)switch(dr){case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"input"));case"name":$t=Ht;break;case"formAction":Qf=Ht;break;case"formEncType":qf=Ht;break;case"formMethod":Mh=Ht;break;case"formTarget":Lh=Ht;break;case"defaultChecked":kc=Ht;break;case"defaultValue":wc=Ht;break;case"checked":Cc=Ht;break;case"value":Fh=Ht;break;default:Rt(d,dr,Ht)}}var $f=Ao(d,O,P,Qf,qf,Mh,Lh,$t);return Cc!==null?_n(d,"checked",Cc):kc!==null&&_n(d,"checked",kc),Fh!==null?Rt(d,"value",Fh):wc!==null&&Rt(d,"value",wc),d.push(Hi),$f?.forEach(Hr,d),null;case"button":d.push(vn("button"));var Jl=null,Tc=null,ed=null,ol=null,Oc=null,td=null,nd=null,fu;for(fu in A)if(xe.call(A,fu)){var sl=A[fu];if(sl!=null)switch(fu){case"children":Jl=sl;break;case"dangerouslySetInnerHTML":Tc=sl;break;case"name":ed=sl;break;case"formAction":ol=sl;break;case"formEncType":Oc=sl;break;case"formMethod":td=sl;break;case"formTarget":nd=sl;break;default:Rt(d,fu,sl)}}var Vh=Ao(d,O,P,ol,Oc,td,nd,ed);if(d.push(Cn),Vh?.forEach(Hr,d),Jn(d,Tc,Jl),typeof Jl=="string"){d.push(k(Ve(Jl)));var Bh=null}else Bh=Jl;return Bh;case"form":d.push(vn("form"));var du=null,Hh=null,Ql=null,hu=null,_c=null,gu=null,pu;for(pu in A)if(xe.call(A,pu)){var ql=A[pu];if(ql!=null)switch(pu){case"children":du=ql;break;case"dangerouslySetInnerHTML":Hh=ql;break;case"action":Ql=ql;break;case"encType":hu=ql;break;case"method":_c=ql;break;case"target":gu=ql;break;default:Rt(d,pu,ql)}}var Rc=null,rd=null;if(typeof Ql=="function"){var No=fc(O,Ql);No!==null?(Ql=No.action||"",hu=No.encType,_c=No.method,gu=No.target,Rc=No.data,rd=No.name):(d.push(Kn,k("action"),Vr,El,jn),gu=_c=hu=Ql=null,dc(O,P))}if(Ql!=null&&Rt(d,"action",Ql),hu!=null&&Rt(d,"encType",hu),_c!=null&&Rt(d,"method",_c),gu!=null&&Rt(d,"target",gu),d.push(Cn),rd!==null&&(d.push(ts),Mt(d,"name",rd),d.push(Hi),Rc?.forEach(Hr,d)),Jn(d,Hh,du),typeof du=="string"){d.push(k(Ve(du)));var Wh=null}else Wh=du;return Wh;case"menuitem":d.push(vn("menuitem"));for(var Pc in A)if(xe.call(A,Pc)){var Gh=A[Pc];if(Gh!=null)switch(Pc){case"children":case"dangerouslySetInnerHTML":throw Error(n(400));default:Rt(d,Pc,Gh)}}return d.push(Cn),null;case"object":d.push(vn("object"));var Ic=null,Uh=null,ul;for(ul in A)if(xe.call(A,ul)){var Do=A[ul];if(Do!=null)switch(ul){case"children":Ic=Do;break;case"dangerouslySetInnerHTML":Uh=Do;break;case"data":var Yh=kt(""+Do);if(Yh==="")break;d.push(Kn,k("data"),Vr,k(Ve(Yh)),jn);break;default:Rt(d,ul,Do)}}if(d.push(Cn),Jn(d,Uh,Ic),typeof Ic=="string"){d.push(k(Ve(Ic)));var zc=null}else zc=Ic;return zc;case"title":if(le.insertionMode===4||le.tagScope&1||A.itemProp!=null)var Ss=Tl(d,A);else re?Ss=null:(Tl(P.hoistableChunks,A),Ss=void 0);return Ss;case"link":var sm=A.rel,$l=A.href,Nc=A.precedence;if(le.insertionMode===4||le.tagScope&1||A.itemProp!=null||typeof sm!="string"||typeof $l!="string"||$l===""){or(d,A);var mu=null}else if(A.rel==="stylesheet")if(typeof Nc!="string"||A.disabled!=null||A.onLoad||A.onError)mu=or(d,A);else{var As=P.styles.get(Nc),Dc=O.styleResources.hasOwnProperty($l)?O.styleResources[$l]:void 0;if(Dc!==null){O.styleResources[$l]=null,As||(As={precedence:k(Ve(Nc)),rules:[],hrefs:[],sheets:new Map},P.styles.set(Nc,As));var bu={state:0,props:M({},A,{"data-precedence":A.precedence,precedence:null})};if(Dc){Dc.length===2&&el(bu.props,Dc);var id=P.preloads.stylesheets.get($l);id&&0<id.length?id.length=0:bu.state=1}As.sheets.set($l,bu),X&&X.stylesheets.add(bu)}else if(As){var Xh=As.sheets.get($l);Xh&&X&&X.stylesheets.add(Xh)}Q&&d.push(xi),mu=null}else A.onLoad||A.onError?mu=or(d,A):(Q&&d.push(xi),mu=re?null:or(P.hoistableChunks,A));return mu;case"script":var Mc=A.async;if(typeof A.src!="string"||!A.src||!Mc||typeof Mc=="function"||typeof Mc=="symbol"||A.onLoad||A.onError||le.insertionMode===4||le.tagScope&1||A.itemProp!=null)var Zh=ga(d,A);else{var Lc=A.src;if(A.type==="module")var ad=O.moduleScriptResources,ld=P.preloads.moduleScripts;else ad=O.scriptResources,ld=P.preloads.scripts;var Fc=ad.hasOwnProperty(Lc)?ad[Lc]:void 0;if(Fc!==null){ad[Lc]=null;var od=A;if(Fc){Fc.length===2&&(od=M({},A),el(od,Fc));var sd=ld.get(Lc);sd&&(sd.length=0)}var Kh=[];P.scripts.add(Kh),ga(Kh,od)}Q&&d.push(xi),Zh=null}return Zh;case"style":var Vc=A.precedence,Es=A.href;if(le.insertionMode===4||le.tagScope&1||A.itemProp!=null||typeof Vc!="string"||typeof Es!="string"||Es===""){d.push(vn("style"));var vu=null,jh=null,eo;for(eo in A)if(xe.call(A,eo)){var yu=A[eo];if(yu!=null)switch(eo){case"children":vu=yu;break;case"dangerouslySetInnerHTML":jh=yu;break;default:Rt(d,eo,yu)}}d.push(Cn);var Mo=Array.isArray(vu)?2>vu.length?vu[0]:null:vu;typeof Mo!="function"&&typeof Mo!="symbol"&&Mo!==null&&Mo!==void 0&&d.push(k((""+Mo).replace(hc,kl))),Jn(d,jh,vu),d.push(Si("style"));var Jh=null}else{var Lo=P.styles.get(Vc);if((O.styleResources.hasOwnProperty(Es)?O.styleResources[Es]:void 0)!==null){O.styleResources[Es]=null,Lo?Lo.hrefs.push(k(Ve(Es))):(Lo={precedence:k(Ve(Vc)),rules:[],hrefs:[k(Ve(Es))],sheets:new Map},P.styles.set(Vc,Lo));var Bc=Lo.rules,ws=null,Qh=null,ud;for(ud in A)if(xe.call(A,ud)){var Fo=A[ud];if(Fo!=null)switch(ud){case"children":ws=Fo;break;case"dangerouslySetInnerHTML":Qh=Fo}}var to=Array.isArray(ws)?2>ws.length?ws[0]:null:ws;typeof to!="function"&&typeof to!="symbol"&&to!==null&&to!==void 0&&Bc.push(k((""+to).replace(hc,kl))),Jn(Bc,Qh,ws)}Lo&&X&&X.styles.add(Lo),Q&&d.push(xi),Jh=void 0}return Jh;case"meta":if(le.insertionMode===4||le.tagScope&1||A.itemProp!=null)var Hc=ha(d,A,"meta");else Q&&d.push(xi),Hc=re?null:typeof A.charSet=="string"?ha(P.charsetChunks,A,"meta"):A.name==="viewport"?ha(P.viewportChunks,A,"meta"):ha(P.hoistableChunks,A,"meta");return Hc;case"listing":case"pre":d.push(vn(p));var no=null,Vo=null,xu;for(xu in A)if(xe.call(A,xu)){var Wc=A[xu];if(Wc!=null)switch(xu){case"children":no=Wc;break;case"dangerouslySetInnerHTML":Vo=Wc;break;default:Rt(d,xu,Wc)}}if(d.push(Cn),Vo!=null){if(no!=null)throw Error(n(60));if(typeof Vo!="object"||!("__html"in Vo))throw Error(n(61));var Qi=Vo.__html;Qi!=null&&(typeof Qi=="string"&&0<Qi.length&&Qi[0]===`
148
+ `?d.push(ns,k(Qi)):d.push(k(""+Qi)))}return typeof no=="string"&&no[0]===`
149
+ `&&d.push(ns),no;case"img":var yr=A.src,Jt=A.srcSet;if(!(A.loading==="lazy"||!yr&&!Jt||typeof yr!="string"&&yr!=null||typeof Jt!="string"&&Jt!=null)&&A.fetchPriority!=="low"&&!(le.tagScope&3)&&(typeof yr!="string"||yr[4]!==":"||yr[0]!=="d"&&yr[0]!=="D"||yr[1]!=="a"&&yr[1]!=="A"||yr[2]!=="t"&&yr[2]!=="T"||yr[3]!=="a"&&yr[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 Da=typeof A.sizes=="string"?A.sizes:void 0,Pi=Jt?Jt+`
150
+ `+(Da||""):yr,cd=P.preloads.images,gi=cd.get(Pi);if(gi)(A.fetchPriority==="high"||10>P.highImagePreloads.size)&&(cd.delete(Pi),P.highImagePreloads.add(gi));else if(!O.imageResources.hasOwnProperty(Pi)){O.imageResources[Pi]=rn;var Ma=A.crossOrigin,Yn=typeof Ma=="string"?Ma==="use-credentials"?Ma:"":void 0,cl=P.headers,Gc;cl&&0<cl.remainingCapacity&&typeof A.srcSet!="string"&&(A.fetchPriority==="high"||500>cl.highImagePreloads.length)&&(Gc=Gi(yr,"image",{imageSrcSet:A.srcSet,imageSizes:A.sizes,crossOrigin:Yn,integrity:A.integrity,nonce:A.nonce,type:A.type,fetchPriority:A.fetchPriority,referrerPolicy:A.refererPolicy}),0<=(cl.remainingCapacity-=Gc.length+2))?(P.resets.image[Pi]=rn,cl.highImagePreloads&&(cl.highImagePreloads+=", "),cl.highImagePreloads+=Gc):(gi=[],or(gi,{rel:"preload",as:"image",href:Jt?void 0:yr,imageSrcSet:Jt,imageSizes:Da,crossOrigin:Yn,integrity:A.integrity,type:A.type,fetchPriority:A.fetchPriority,referrerPolicy:A.referrerPolicy}),A.fetchPriority==="high"||10>P.highImagePreloads.size?P.highImagePreloads.add(gi):(P.bulkPreloads.add(gi),cd.set(Pi,gi)))}}return ha(d,A,"img");case"base":case"area":case"br":case"col":case"embed":case"hr":case"keygen":case"param":case"source":case"track":case"wbr":return ha(d,A,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>le.insertionMode){var Uc=L||P.preamble;if(Uc.headChunks)throw Error(n(545,"`<head>`"));Uc.headChunks=[];var qh=Wr(Uc.headChunks,A,"head")}else qh=Ka(d,A,"head");return qh;case"body":if(2>le.insertionMode){var fd=L||P.preamble;if(fd.bodyChunks)throw Error(n(545,"`<body>`"));fd.bodyChunks=[];var Bo=Wr(fd.bodyChunks,A,"body")}else Bo=Ka(d,A,"body");return Bo;case"html":if(le.insertionMode===0){var Su=L||P.preamble;if(Su.htmlChunks)throw Error(n(545,"`<html>`"));Su.htmlChunks=[gc];var $h=Wr(Su.htmlChunks,A,"html")}else $h=Ka(d,A,"html");return $h;default:if(p.indexOf("-")!==-1){d.push(vn(p));var dd=null,eg=null,ro;for(ro in A)if(xe.call(A,ro)){var qi=A[ro];if(qi!=null){var hd=ro;switch(ro){case"children":dd=qi;break;case"dangerouslySetInnerHTML":eg=qi;break;case"style":Xs(d,qi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"ref":break;case"className":hd="class";default:if(ye(ro)&&typeof qi!="function"&&typeof qi!="symbol"&&qi!==!1){if(qi===!0)qi="";else if(typeof qi=="object")continue;d.push(Kn,k(hd),Vr,k(Ve(qi)),jn)}}}}return d.push(Cn),Jn(d,eg,dd),dd}}return Ka(d,A,p)}var Gr=new Map;function Si(d){var p=Gr.get(d);return p===void 0&&(p=G("</"+d+">"),Gr.set(d,p)),p}function pc(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 Ai(d,p){p=p.bootstrapChunks;for(var A=0;A<p.length-1;A++)D(d,p[A]);return A<p.length?(A=p[A],p.length=0,j(d,A)):!0}var rs=G('<template id="'),is=G('"></template>'),Ff=G("<!--$-->"),Ur=G('<!--$?--><template id="'),Ks=G('"></template>'),pa=G("<!--$!-->"),_l=G("<!--/$-->"),wo=G("<template"),js=G('"'),as=G(' data-dgst="');G(' data-msg="'),G(' data-stck="'),G(' data-cstck="');var Co=G("></template>");function Vf(d,p,A){if(D(d,Ur),A===null)throw Error(n(395));return D(d,p.boundaryPrefix),D(d,k(A.toString(16))),j(d,Ks)}var Bf=G("<!--"),ja=G("-->");function Rl(d,p){p=p.contribution,p!==0&&(D(d,Bf),D(d,k(""+p)),D(d,ja))}var _h=G('<div hidden id="'),Js=G('">'),Pl=G("</div>"),mc=G('<svg aria-hidden="true" style="display:none" id="'),bc=G('">'),Ar=G("</svg>"),Ja=G('<math aria-hidden="true" style="display:none" id="'),Qs=G('">'),ls=G("</math>"),os=G('<table hidden id="'),zt=G('">'),Yr=G("</table>"),ko=G('<table hidden><tbody id="'),ma=G('">'),ai=G("</tbody></table>"),Il=G('<table hidden><tr id="'),zl=G('">'),Nl=G("</tr></table>"),Ei=G('<table hidden><colgroup id="'),Dl=G('">'),Wi=G("</colgroup></table>");function mr(d,p,A,O){switch(A.insertionMode){case 0:case 1:case 3:case 2:return D(d,_h),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,Js);case 4:return D(d,mc),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,bc);case 5:return D(d,Ja),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,Qs);case 6:return D(d,os),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,zt);case 7:return D(d,ko),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,ma);case 8:return D(d,Il),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,zl);case 9:return D(d,Ei),D(d,p.segmentPrefix),D(d,k(O.toString(16))),j(d,Dl);default:throw Error(n(397))}}function ba(d,p){switch(p.insertionMode){case 0:case 1:case 3:case 2:return j(d,Pl);case 4:return j(d,Ar);case 5:return j(d,ls);case 6:return j(d,Yr);case 7:return j(d,ai);case 8:return j(d,Nl);case 9:return j(d,Wi);default:throw Error(n(397))}}var va=G('$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("'),ya=G('$RS("'),Hf=G('","'),qs=G('")<\/script>');G('<template data-rsi="" data-sid="'),G('" data-pid="');var $s=G('$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("'),ss=G('$RC("'),eu=G(`$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;
151
+ $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=
152
+ 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,
153
+ t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),Wf=G(`$RM=new Map;
154
+ $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=
155
+ 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,
156
+ t,u,""),w.bind(null,t,u,"Resource failed to load"))};$RR("`),Gf=G('$RR("'),Uf=G('","'),Rh=G('",'),Ml=G('"'),Yf=G(")<\/script>");G('<template data-rci="" data-bid="'),G('<template data-rri="" data-bid="'),G('" data-sid="'),G('" data-sty="');var tu=G('$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("'),Ph=G('$RX("'),vc=G('"'),Xf=G(","),Ll=G(")<\/script>");G('<template data-rxi="" data-bid="'),G('" data-dgst="'),G('" data-msg="'),G('" data-stck="'),G('" data-cstck="');var yc=/[<\u2028\u2029]/g;function nu(d){return JSON.stringify(d).replace(yc,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 Zf=/[&><\u2028\u2029]/g;function us(d){return JSON.stringify(d).replace(Zf,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 Qa=G('<style media="not all" data-precedence="'),Ih=G('" data-href="'),zh=G('">'),Qn=G("</style>"),To=!1,Fl=!0;function cs(d){var p=d.rules,A=d.hrefs,O=0;if(A.length){for(D(this,Qa),D(this,d.precedence),D(this,Ih);O<A.length-1;O++)D(this,A[O]),D(this,ds);for(D(this,A[O]),D(this,zh),O=0;O<p.length;O++)D(this,p[O]);Fl=j(this,Qn),To=!0,p.length=0,A.length=0}}function Kf(d){return d.state!==2?To=!0:!1}function Vl(d,p,A){return To=!1,Fl=!0,p.styles.forEach(cs,d),p.stylesheets.forEach(Kf),To&&(A.stylesToHoist=!0),Fl}function sr(d){for(var p=0;p<d.length;p++)D(this,d[p]);d.length=0}var Er=[];function Xr(d){or(Er,d.props);for(var p=0;p<Er.length;p++)D(this,Er[p]);Er.length=0,d.state=2}var fs=G('<style data-precedence="'),jf=G('" data-href="'),ds=G(" "),qa=G('">'),xc=G("</style>");function Zr(d){var p=0<d.sheets.size;d.sheets.forEach(Xr,this),d.sheets.clear();var A=d.rules,O=d.hrefs;if(!p||O.length){if(D(this,fs),D(this,d.precedence),d=0,O.length){for(D(this,jf);d<O.length-1;d++)D(this,O[d]),D(this,ds);D(this,O[d])}for(D(this,qa),d=0;d<A.length;d++)D(this,A[d]);D(this,xc),A.length=0,O.length=0}}function ru(d){if(d.state===0){d.state=1;var p=d.props;for(or(Er,{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<Er.length;d++)D(this,Er[d]);Er.length=0}}function iu(d){d.sheets.forEach(ru,this),d.sheets.clear()}var hs=G("["),au=G(",["),xa=G(","),Kr=G("]");function Nh(d,p){D(d,hs);var A=hs;p.stylesheets.forEach(function(O){if(O.state!==2)if(O.state===3)D(d,A),D(d,k(us(""+O.props.href))),D(d,Kr),A=au;else{D(d,A);var P=O.props["data-precedence"],L=O.props,X=kt(""+O.props.href);D(d,k(us(X))),P=""+P,D(d,xa),D(d,k(us(P)));for(var le in L)if(xe.call(L,le)&&(P=L[le],P!=null))switch(le){case"href":case"rel":case"precedence":case"data-precedence":break;case"children":case"dangerouslySetInnerHTML":throw Error(n(399,"link"));default:gs(d,le,P)}D(d,Kr),A=au,O.state=3}}),D(d,Kr)}function gs(d,p,A){var O=p.toLowerCase();switch(typeof A){case"function":case"symbol":return}switch(p){case"innerHTML":case"dangerouslySetInnerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":case"style":case"ref":return;case"className":O="class",p=""+A;break;case"hidden":if(A===!1)return;p="";break;case"src":case"href":A=kt(A),p=""+A;break;default:if(2<p.length&&(p[0]==="o"||p[0]==="O")&&(p[1]==="n"||p[1]==="N")||!ye(p))return;p=""+A}D(d,xa),D(d,k(us(O))),D(d,xa),D(d,k(us(p)))}function lu(){return{styles:new Set,stylesheets:new Set}}function ou(d){var p=Tn||null;if(p){var A=p.resumableState,O=p.renderState;if(typeof d=="string"&&d){if(!A.dnsResources.hasOwnProperty(d)){A.dnsResources[d]=null,A=O.headers;var P,L;(L=A&&0<A.remainingCapacity)&&(L=(P="<"+(""+d).replace(Hl,tl)+">; rel=dns-prefetch",0<=(A.remainingCapacity-=P.length+2))),L?(O.resets.dns[d]=null,A.preconnects&&(A.preconnects+=", "),A.preconnects+=P):(P=[],or(P,{href:d,rel:"dns-prefetch"}),O.preconnects.add(P))}Ia(p)}}else Mn.D(d)}function Bl(d,p){var A=Tn||null;if(A){var O=A.resumableState,P=A.renderState;if(typeof d=="string"&&d){var L=p==="use-credentials"?"credentials":typeof p=="string"?"anonymous":"default";if(!O.connectResources[L].hasOwnProperty(d)){O.connectResources[L][d]=null,O=P.headers;var X,le;if(le=O&&0<O.remainingCapacity){if(le="<"+(""+d).replace(Hl,tl)+">; rel=preconnect",typeof p=="string"){var Q=(""+p).replace(_o,uu);le+='; crossorigin="'+Q+'"'}le=(X=le,0<=(O.remainingCapacity-=X.length+2))}le?(P.resets.connect[L][d]=null,O.preconnects&&(O.preconnects+=", "),O.preconnects+=X):(L=[],or(L,{rel:"preconnect",href:d,crossOrigin:p}),P.preconnects.add(L))}Ia(A)}}else Mn.C(d,p)}function $a(d,p,A){var O=Tn||null;if(O){var P=O.resumableState,L=O.renderState;if(p&&d){switch(p){case"image":if(A)var X=A.imageSrcSet,le=A.imageSizes,Q=A.fetchPriority;var re=X?X+`
157
+ `+(le||""):d;if(P.imageResources.hasOwnProperty(re))return;P.imageResources[re]=rn,P=L.headers;var ze;P&&0<P.remainingCapacity&&typeof X!="string"&&Q==="high"&&(ze=Gi(d,p,A),0<=(P.remainingCapacity-=ze.length+2))?(L.resets.image[re]=rn,P.highImagePreloads&&(P.highImagePreloads+=", "),P.highImagePreloads+=ze):(P=[],or(P,M({rel:"preload",href:X?void 0:d,as:p},A)),Q==="high"?L.highImagePreloads.add(P):(L.bulkPreloads.add(P),L.preloads.images.set(re,P)));break;case"style":if(P.styleResources.hasOwnProperty(d))return;X=[],or(X,M({rel:"preload",href:d,as:p},A)),P.styleResources[d]=!A||typeof A.crossOrigin!="string"&&typeof A.integrity!="string"?rn:[A.crossOrigin,A.integrity],L.preloads.stylesheets.set(d,X),L.bulkPreloads.add(X);break;case"script":if(P.scriptResources.hasOwnProperty(d))return;X=[],L.preloads.scripts.set(d,X),L.bulkPreloads.add(X),or(X,M({rel:"preload",href:d,as:p},A)),P.scriptResources[d]=!A||typeof A.crossOrigin!="string"&&typeof A.integrity!="string"?rn:[A.crossOrigin,A.integrity];break;default:if(P.unknownResources.hasOwnProperty(p)){if(X=P.unknownResources[p],X.hasOwnProperty(d))return}else X={},P.unknownResources[p]=X;if(X[d]=rn,(P=L.headers)&&0<P.remainingCapacity&&p==="font"&&(re=Gi(d,p,A),0<=(P.remainingCapacity-=re.length+2)))L.resets.font[d]=rn,P.fontPreloads&&(P.fontPreloads+=", "),P.fontPreloads+=re;else switch(P=[],d=M({rel:"preload",href:d,as:p},A),or(P,d),p){case"font":L.fontPreloads.add(P);break;default:L.bulkPreloads.add(P)}}Ia(O)}}else Mn.L(d,p,A)}function ps(d,p){var A=Tn||null;if(A){var O=A.resumableState,P=A.renderState;if(d){var L=p&&typeof p.as=="string"?p.as:"script";switch(L){case"script":if(O.moduleScriptResources.hasOwnProperty(d))return;L=[],O.moduleScriptResources[d]=!p||typeof p.crossOrigin!="string"&&typeof p.integrity!="string"?rn:[p.crossOrigin,p.integrity],P.preloads.moduleScripts.set(d,L);break;default:if(O.moduleUnknownResources.hasOwnProperty(L)){var X=O.unknownResources[L];if(X.hasOwnProperty(d))return}else X={},O.moduleUnknownResources[L]=X;L=[],X[d]=rn}or(L,M({rel:"modulepreload",href:d},p)),P.bulkPreloads.add(L),Ia(A)}}else Mn.m(d,p)}function Oo(d,p,A){var O=Tn||null;if(O){var P=O.resumableState,L=O.renderState;if(d){p=p||"default";var X=L.styles.get(p),le=P.styleResources.hasOwnProperty(d)?P.styleResources[d]:void 0;le!==null&&(P.styleResources[d]=null,X||(X={precedence:k(Ve(p)),rules:[],hrefs:[],sheets:new Map},L.styles.set(p,X)),p={state:0,props:M({rel:"stylesheet",href:d,"data-precedence":p},A)},le&&(le.length===2&&el(p.props,le),(L=L.preloads.stylesheets.get(d))&&0<L.length?L.length=0:p.state=1),X.sheets.set(d,p),Ia(O))}}else Mn.S(d,p,A)}function Sc(d,p){var A=Tn||null;if(A){var O=A.resumableState,P=A.renderState;if(d){var L=O.scriptResources.hasOwnProperty(d)?O.scriptResources[d]:void 0;L!==null&&(O.scriptResources[d]=null,p=M({src:d,async:!0},p),L&&(L.length===2&&el(p,L),d=P.preloads.scripts.get(d))&&(d.length=0),d=[],P.scripts.add(d),ga(d,p),Ia(A))}}else Mn.X(d,p)}function su(d,p){var A=Tn||null;if(A){var O=A.resumableState,P=A.renderState;if(d){var L=O.moduleScriptResources.hasOwnProperty(d)?O.moduleScriptResources[d]:void 0;L!==null&&(O.moduleScriptResources[d]=null,p=M({src:d,type:"module",async:!0},p),L&&(L.length===2&&el(p,L),d=P.preloads.moduleScripts.get(d))&&(d.length=0),d=[],P.scripts.add(d),ga(d,p),Ia(A))}}else Mn.M(d,p)}function el(d,p){d.crossOrigin==null&&(d.crossOrigin=p[0]),d.integrity==null&&(d.integrity=p[1])}function Gi(d,p,A){d=(""+d).replace(Hl,tl),p=(""+p).replace(_o,uu),p="<"+d+'>; rel=preload; as="'+p+'"';for(var O in A)xe.call(A,O)&&(d=A[O],typeof d=="string"&&(p+="; "+O.toLowerCase()+'="'+(""+d).replace(_o,uu)+'"'));return p}var Hl=/[<>\r\n]/g;function tl(d){switch(d){case"<":return"%3C";case">":return"%3E";case`
158
+ `: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 _o=/["';,\r\n]/g;function uu(d){switch(d){case'"':return"%22";case"'":return"%27";case";":return"%3B";case",":return"%2C";case`
159
+ `: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 Ac(d){this.styles.add(d)}function ms(d){this.stylesheets.add(d)}var Wl=Function.prototype.bind,Dh=Symbol.for("react.client.reference");function ur(d){if(d==null)return null;if(typeof d=="function")return d.$$typeof===Dh?null:d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case s:return"Fragment";case f:return"Profiler";case u:return"StrictMode";case w:return"Suspense";case C:return"SuspenseList";case V:return"Activity"}if(typeof d=="object")switch(d.$$typeof){case l:return"Portal";case y:return(d.displayName||"Context")+".Provider";case b:return(d._context.displayName||"Context")+".Consumer";case S:var p=d.render;return d=d.displayName,d||(d=p.displayName||p.name||"",d=d!==""?"ForwardRef("+d+")":"ForwardRef"),d;case R:return p=d.displayName||null,p!==null?p:ur(d.type)||"Memo";case z:p=d._payload,d=d._init;try{return ur(d(p))}catch{}}return null}var Ro={},Sa=null;function h(d,p){if(d!==p){d.context._currentValue=d.parentValue,d=d.parent;var A=p.parent;if(d===null){if(A!==null)throw Error(n(401))}else{if(A===null)throw Error(n(401));h(d,A)}p.context._currentValue=p.value}}function v(d){d.context._currentValue=d.parentValue,d=d.parent,d!==null&&v(d)}function E(d){var p=d.parent;p!==null&&E(p),d.context._currentValue=d.value}function T(d,p){if(d.context._currentValue=d.parentValue,d=d.parent,d===null)throw Error(n(402));d.depth===p.depth?h(d,p):T(d,p)}function I(d,p){var A=p.parent;if(A===null)throw Error(n(402));d.depth===A.depth?h(d,A):I(d,A),p.context._currentValue=p.value}function F(d){var p=Sa;p!==d&&(p===null?E(d):d===null?v(p):p.depth===d.depth?h(p,d):p.depth>d.depth?T(p,d):I(p,d),Sa=d)}var J={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(){}},ve={id:1,overflow:""};function ie(d,p,A){var O=d.id;d=d.overflow;var P=32-he(O)-1;O&=~(1<<P),A+=1;var L=32-he(p)+P;if(30<L){var X=P-P%5;return L=(O&(1<<X)-1).toString(32),O>>=X,P-=X,{id:1<<32-he(p)+P|A<<P|O,overflow:L+d}}return{id:1<<L|A<<P|O,overflow:d}}var he=Math.clz32?Math.clz32:Ue,Be=Math.log,Ne=Math.LN2;function Ue(d){return d>>>=0,d===0?32:31-(Be(d)/Ne|0)|0}var Qe=Error(n(460));function je(){}function lt(d,p,A){switch(A=d[A],A===void 0?d.push(p):A!==p&&(p.then(je,je),p=A),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(je,je):(d=p,d.status="pending",d.then(function(O){if(p.status==="pending"){var P=p;P.status="fulfilled",P.value=O}},function(O){if(p.status==="pending"){var P=p;P.status="rejected",P.reason=O}})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}throw Ft=p,Qe}}var Ft=null;function Vt(){if(Ft===null)throw Error(n(459));var d=Ft;return Ft=null,d}function Bt(d,p){return d===p&&(d!==0||1/d===1/p)||d!==d&&p!==p}var an=typeof Object.is=="function"?Object.is:Bt,Ze=null,yn=null,vt=null,Pn=null,jt=null,ot=null,Lt=!1,Ln=!1,xn=0,wi=0,br=-1,In=0,qn=null,kn=null,Ui=0;function Un(){if(Ze===null)throw Error(n(321));return Ze}function Ci(){if(0<Ui)throw Error(n(312));return{memoizedState:null,queue:null,next:null}}function Aa(){return ot===null?jt===null?(Lt=!1,jt=ot=Ci()):(Lt=!0,ot=jt):ot.next===null?(Lt=!1,ot=ot.next=Ci()):(Lt=!0,ot=ot.next),ot}function zn(){var d=qn;return qn=null,d}function Ea(){Pn=vt=yn=Ze=null,Ln=!1,jt=null,Ui=0,ot=kn=null}function li(d,p){return typeof p=="function"?p(d):p}function bs(d,p,A){if(Ze=Un(),ot=Aa(),Lt){var O=ot.queue;if(p=O.dispatch,kn!==null&&(A=kn.get(O),A!==void 0)){kn.delete(O),O=ot.memoizedState;do O=d(O,A.action),A=A.next;while(A!==null);return ot.memoizedState=O,[O,p]}return[ot.memoizedState,p]}return d=d===li?typeof p=="function"?p():p:A!==void 0?A(p):p,ot.memoizedState=d,d=ot.queue={last:null,dispatch:null},d=d.dispatch=$n.bind(null,Ze,d),[ot.memoizedState,d]}function wa(d,p){if(Ze=Un(),ot=Aa(),p=p===void 0?null:p,ot!==null){var A=ot.memoizedState;if(A!==null&&p!==null){var O=A[1];e:if(O===null)O=!1;else{for(var P=0;P<O.length&&P<p.length;P++)if(!an(p[P],O[P])){O=!1;break e}O=!0}if(O)return A[0]}}return d=d(),ot.memoizedState=[d,p],d}function $n(d,p,A){if(25<=Ui)throw Error(n(301));if(d===Ze)if(Ln=!0,d={action:A,next:null},kn===null&&(kn=new Map),A=kn.get(p),A===void 0)kn.set(p,d);else{for(p=A;p.next!==null;)p=p.next;p.next=d}}function cu(){throw Error(n(394))}function Gl(){throw Error(n(479))}function nl(d,p,A){Un();var O=wi++,P=vt;if(typeof d.$$FORM_ACTION=="function"){var L=null,X=Pn;P=P.formState;var le=d.$$IS_SIGNATURE_EQUAL;if(P!==null&&typeof le=="function"){var Q=P[1];le.call(d,P[2],P[3])&&(L=A!==void 0?"p"+A:"k"+be(JSON.stringify([X,null,O]),0),Q===L&&(br=O,p=P[0]))}var re=d.bind(null,p);return d=function(Se){re(Se)},typeof re.$$FORM_ACTION=="function"&&(d.$$FORM_ACTION=function(Se){Se=re.$$FORM_ACTION(Se),A!==void 0&&(A+="",Se.action=A);var We=Se.data;return We&&(L===null&&(L=A!==void 0?"p"+A:"k"+be(JSON.stringify([X,null,O]),0)),We.append("$ACTION_KEY",L)),Se}),[p,d,!1]}var ze=d.bind(null,p);return[p,function(Se){ze(Se)},!1]}function rl(d){var p=In;return In+=1,qn===null&&(qn=[]),lt(qn,d,p)}function vs(){throw Error(n(393))}function Ca(){}var wr={readContext:function(d){return d._currentValue},use:function(d){if(d!==null&&typeof d=="object"){if(typeof d.then=="function")return rl(d);if(d.$$typeof===y)return d._currentValue}throw Error(n(438,String(d)))},useContext:function(d){return Un(),d._currentValue},useMemo:wa,useReducer:bs,useRef:function(d){Ze=Un(),ot=Aa();var p=ot.memoizedState;return p===null?(d={current:d},ot.memoizedState=d):p},useState:function(d){return bs(li,d)},useInsertionEffect:Ca,useLayoutEffect:Ca,useCallback:function(d,p){return wa(function(){return d},p)},useImperativeHandle:Ca,useEffect:Ca,useDebugValue:Ca,useDeferredValue:function(d,p){return Un(),p!==void 0?p:d},useTransition:function(){return Un(),[!1,cu]},useId:function(){var d=yn.treeContext,p=d.overflow;d=d.id,d=(d&~(1<<32-he(d)-1)).toString(32)+p;var A=cr;if(A===null)throw Error(n(404));return p=xn++,d="«"+A.idPrefix+"R"+d,0<p&&(d+="H"+p.toString(32)),d+"»"},useSyncExternalStore:function(d,p,A){if(A===void 0)throw Error(n(407));return A()},useOptimistic:function(d){return Un(),[d,Gl]},useActionState:nl,useFormState:nl,useHostTransitionStatus:function(){return Un(),Lr},useMemoCache:function(d){for(var p=Array(d),A=0;A<d;A++)p[A]=H;return p},useCacheRefresh:function(){return vs}},cr=null,ki={getCacheForType:function(){throw Error(n(248))}},Fn,Ti;function jr(d){if(Fn===void 0)try{throw Error()}catch(A){var p=A.stack.trim().match(/\n( *(at )?)/);Fn=p&&p[1]||"",Ti=-1<A.stack.indexOf(`
160
+ at`)?" (<anonymous>)":-1<A.stack.indexOf("@")?"@unknown:0:0":""}return`
161
+ `+Fn+d+Ti}var il=!1;function Ul(d,p){if(!d||il)return"";il=!0;var A=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var O={DetermineComponentFrameRoot:function(){try{if(p){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(Ge){var We=Ge}Reflect.construct(d,[],Se)}else{try{Se.call()}catch(Ge){We=Ge}d.call(Se.prototype)}}else{try{throw Error()}catch(Ge){We=Ge}(Se=d())&&typeof Se.catch=="function"&&Se.catch(function(){})}}catch(Ge){if(Ge&&We&&typeof Ge.stack=="string")return[Ge.stack,We.stack]}return[null,null]}};O.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var P=Object.getOwnPropertyDescriptor(O.DetermineComponentFrameRoot,"name");P&&P.configurable&&Object.defineProperty(O.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var L=O.DetermineComponentFrameRoot(),X=L[0],le=L[1];if(X&&le){var Q=X.split(`
162
+ `),re=le.split(`
163
+ `);for(P=O=0;O<Q.length&&!Q[O].includes("DetermineComponentFrameRoot");)O++;for(;P<re.length&&!re[P].includes("DetermineComponentFrameRoot");)P++;if(O===Q.length||P===re.length)for(O=Q.length-1,P=re.length-1;1<=O&&0<=P&&Q[O]!==re[P];)P--;for(;1<=O&&0<=P;O--,P--)if(Q[O]!==re[P]){if(O!==1||P!==1)do if(O--,P--,0>P||Q[O]!==re[P]){var ze=`
164
+ `+Q[O].replace(" at new "," at ");return d.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",d.displayName)),ze}while(1<=O&&0<=P);break}}}finally{il=!1,Error.prepareStackTrace=A}return(A=d?d.displayName||d.name:"")?jr(A):""}function Yi(d){if(typeof d=="string")return jr(d);if(typeof d=="function")return d.prototype&&d.prototype.isReactComponent?Ul(d,!0):Ul(d,!1);if(typeof d=="object"&&d!==null){switch(d.$$typeof){case S:return Ul(d.render,!1);case R:return Ul(d.type,!1);case z:var p=d,A=p._payload;p=p._init;try{d=p(A)}catch{return jr("Lazy")}return Yi(d)}if(typeof d.name=="string")return A=d.env,jr(d.name+(A?" ["+A+"]":""))}switch(d){case C:return jr("SuspenseList");case w:return jr("Suspense")}return""}function Vn(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,"%c%s%c "+d[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"," "+p+" ",""):d.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"," "+p+" ",""),d.unshift(console),p=Wl.apply(console.error,d),p()}else console.error(d);return null}function Pt(){}function St(d,p,A,O,P,L,X,le,Q,re,ze){var Se=new Set;this.destination=null,this.flushScheduled=!1,this.resumableState=d,this.renderState=p,this.rootFormatContext=A,this.progressiveChunkSize=O===void 0?12800:O,this.status=10,this.fatalError=null,this.pendingRootTasks=this.allPendingTasks=this.nextSegmentId=0,this.completedPreambleSegments=this.completedRootSegment=null,this.abortableTasks=Se,this.pingedTasks=[],this.clientRenderedBoundaries=[],this.completedBoundaries=[],this.partialBoundaries=[],this.trackedPostpones=null,this.onError=P===void 0?Vn:P,this.onPostpone=re===void 0?Pt:re,this.onAllReady=L===void 0?Pt:L,this.onShellReady=X===void 0?Pt:X,this.onShellError=le===void 0?Pt:le,this.onFatalError=Q===void 0?Pt:Q,this.formState=ze===void 0?null:ze}function oi(d,p,A,O,P,L,X,le,Q,re,ze,Se){return p=new St(p,A,O,P,L,X,le,Q,re,ze,Se),A=Oi(p,0,null,O,!1,!1),A.parentFlushed=!0,d=Yl(p,null,d,-1,null,A,null,null,p.abortableTasks,null,O,null,ve,null,!1),_i(d),p.pingedTasks.push(d),p}function er(d,p,A,O,P,L,X,le,Q,re,ze){return d=oi(d,p,A,O,P,L,X,le,Q,re,ze,void 0),d.trackedPostpones={workingMap:new Map,rootNodes:[],rootSlots:null},d}var Tn=null;function Xi(d,p){d.pingedTasks.push(p),d.pingedTasks.length===1&&(d.flushScheduled=d.destination!==null,d.trackedPostpones!==null||d.status===10?Oe(function(){return Oa(d)}):Z(function(){return Oa(d)}))}function si(d,p,A,O){return{status:0,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,completedSegments:[],byteSize:0,fallbackAbortableTasks:p,errorDigest:null,contentState:lu(),fallbackState:lu(),contentPreamble:A,fallbackPreamble:O,trackedContentKeyPath:null,trackedFallbackNode:null}}function Yl(d,p,A,O,P,L,X,le,Q,re,ze,Se,We,Ge,Je){d.allPendingTasks++,P===null?d.pendingRootTasks++:P.pendingTasks++;var st={replay:null,node:A,childIndex:O,ping:function(){return Xi(d,st)},blockedBoundary:P,blockedSegment:L,blockedPreamble:X,hoistableState:le,abortSet:Q,keyPath:re,formatContext:ze,context:Se,treeContext:We,componentStack:Ge,thenableState:p,isFallback:Je};return Q.add(st),st}function ka(d,p,A,O,P,L,X,le,Q,re,ze,Se,We,Ge){d.allPendingTasks++,L===null?d.pendingRootTasks++:L.pendingTasks++,A.pendingTasks++;var Je={replay:A,node:O,childIndex:P,ping:function(){return Xi(d,Je)},blockedBoundary:L,blockedSegment:null,blockedPreamble:null,hoistableState:X,abortSet:le,keyPath:Q,formatContext:re,context:ze,treeContext:Se,componentStack:We,thenableState:p,isFallback:Ge};return le.add(Je),Je}function Oi(d,p,A,O,P,L){return{status:0,parentFlushed:!1,id:-1,index:p,chunks:[],children:[],preambleChildren:[],parentFormatContext:O,boundary:A,lastPushedText:P,textEmbedded:L}}function _i(d){var p=d.node;if(typeof p=="object"&&p!==null)switch(p.$$typeof){case r:d.componentStack={parent:d.componentStack,type:p.type}}}function ui(d){var p={};return d&&Object.defineProperty(p,"componentStack",{configurable:!0,enumerable:!0,get:function(){try{var A="",O=d;do A+=Yi(O.type),O=O.parent;while(O);var P=A}catch(L){P=`
165
+ Error generating stack: `+L.message+`
166
+ `+L.stack}return Object.defineProperty(p,"componentStack",{value:P}),P}}),p}function Bn(d,p,A){if(d=d.onError,p=d(p,A),p==null||typeof p=="string")return p}function vr(d,p){var A=d.onShellError,O=d.onFatalError;A(p),O(p),d.destination!==null?(d.status=14,me(d.destination,p)):(d.status=13,d.fatalError=p)}function Ri(d,p,A,O,P,L){var X=p.thenableState;for(p.thenableState=null,Ze={},yn=p,vt=d,Pn=A,wi=xn=0,br=-1,In=0,qn=X,d=O(P,L);Ln;)Ln=!1,wi=xn=0,br=-1,In=0,Ui+=1,ot=null,d=O(P,L);return Ea(),d}function Zi(d,p,A,O,P,L,X){var le=!1;if(L!==0&&d.formState!==null){var Q=p.blockedSegment;if(Q!==null){le=!0,Q=Q.chunks;for(var re=0;re<L;re++)re===X?Q.push(Cl):Q.push(Eo)}}L=p.keyPath,p.keyPath=A,P?(A=p.treeContext,p.treeContext=ie(A,1,0),Tr(d,p,O,-1),p.treeContext=A):le?Tr(d,p,O,-1):On(d,p,O,-1),p.keyPath=L}function Cr(d,p,A,O,P,L){if(typeof O=="function")if(O.prototype&&O.prototype.isReactComponent){var X=P;if("ref"in P){X={};for(var le in P)le!=="ref"&&(X[le]=P[le])}var Q=O.defaultProps;if(Q){X===P&&(X=M({},X,P));for(var re in Q)X[re]===void 0&&(X[re]=Q[re])}P=X,X=Ro,Q=O.contextType,typeof Q=="object"&&Q!==null&&(X=Q._currentValue),X=new O(P,X);var ze=X.state!==void 0?X.state:null;if(X.updater=J,X.props=P,X.state=ze,Q={queue:[],replace:!1},X._reactInternals=Q,L=O.contextType,X.context=typeof L=="object"&&L!==null?L._currentValue:Ro,L=O.getDerivedStateFromProps,typeof L=="function"&&(L=L(P,ze),ze=L==null?ze:M({},ze,L),X.state=ze),typeof O.getDerivedStateFromProps!="function"&&typeof X.getSnapshotBeforeUpdate!="function"&&(typeof X.UNSAFE_componentWillMount=="function"||typeof X.componentWillMount=="function"))if(O=X.state,typeof X.componentWillMount=="function"&&X.componentWillMount(),typeof X.UNSAFE_componentWillMount=="function"&&X.UNSAFE_componentWillMount(),O!==X.state&&J.enqueueReplaceState(X,X.state,null),Q.queue!==null&&0<Q.queue.length)if(O=Q.queue,L=Q.replace,Q.queue=null,Q.replace=!1,L&&O.length===1)X.state=O[0];else{for(Q=L?O[0]:X.state,ze=!0,L=L?1:0;L<O.length;L++)re=O[L],re=typeof re=="function"?re.call(X,Q,P,void 0):re,re!=null&&(ze?(ze=!1,Q=M({},Q,re)):M(Q,re));X.state=Q}else Q.queue=null;if(O=X.render(),d.status===12)throw null;P=p.keyPath,p.keyPath=A,On(d,p,O,-1),p.keyPath=P}else{if(O=Ri(d,p,A,O,P,void 0),d.status===12)throw null;Zi(d,p,A,O,xn!==0,wi,br)}else if(typeof O=="string")if(X=p.blockedSegment,X===null)X=P.children,Q=p.formatContext,ze=p.keyPath,p.formatContext=fa(Q,O,P),p.keyPath=A,Tr(d,p,X,-1),p.formatContext=Q,p.keyPath=ze;else{L=Lf(X.chunks,O,P,d.resumableState,d.renderState,p.blockedPreamble,p.hoistableState,p.formatContext,X.lastPushedText,p.isFallback),X.lastPushedText=!1,Q=p.formatContext,ze=p.keyPath,p.keyPath=A,(p.formatContext=fa(Q,O,P)).insertionMode===3?(A=Oi(d,0,null,p.formatContext,!1,!1),X.preambleChildren.push(A),A=Yl(d,null,L,-1,p.blockedBoundary,A,p.blockedPreamble,p.hoistableState,d.abortableTasks,p.keyPath,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback),_i(A),d.pingedTasks.push(A)):Tr(d,p,L,-1),p.formatContext=Q,p.keyPath=ze;e:{switch(p=X.chunks,d=d.resumableState,O){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>=Q.insertionMode){d.hasBody=!0;break e}break;case"html":if(Q.insertionMode===0){d.hasHtml=!0;break e}break;case"head":if(1>=Q.insertionMode)break e}p.push(Si(O))}X.lastPushedText=!1}else{switch(O){case W:case u:case f:case s:O=p.keyPath,p.keyPath=A,On(d,p,P.children,-1),p.keyPath=O;return;case V:P.mode!=="hidden"&&(O=p.keyPath,p.keyPath=A,On(d,p,P.children,-1),p.keyPath=O);return;case C:O=p.keyPath,p.keyPath=A,On(d,p,P.children,-1),p.keyPath=O;return;case te:case B:throw Error(n(343));case w:e:if(p.replay!==null){O=p.keyPath,p.keyPath=A,A=P.children;try{Tr(d,p,A,-1)}finally{p.keyPath=O}}else{O=p.keyPath;var Se=p.blockedBoundary;L=p.blockedPreamble;var We=p.hoistableState;re=p.blockedSegment,le=P.fallback,P=P.children;var Ge=new Set,Je=2>p.formatContext.insertionMode?si(d,Ge,dt(),dt()):si(d,Ge,null,null);d.trackedPostpones!==null&&(Je.trackedContentKeyPath=A);var st=Oi(d,re.chunks.length,Je,p.formatContext,!1,!1);re.children.push(st),re.lastPushedText=!1;var Xt=Oi(d,0,null,p.formatContext,!1,!1);if(Xt.parentFlushed=!0,d.trackedPostpones!==null){X=[A[0],"Suspense Fallback",A[2]],Q=[X[1],X[2],[],null],d.trackedPostpones.workingMap.set(X,Q),Je.trackedFallbackNode=Q,p.blockedSegment=st,p.blockedPreamble=Je.fallbackPreamble,p.keyPath=X,st.status=6;try{Tr(d,p,le,-1),st.lastPushedText&&st.textEmbedded&&st.chunks.push(xi),st.status=1}catch(qt){throw st.status=d.status===12?3:4,qt}finally{p.blockedSegment=re,p.blockedPreamble=L,p.keyPath=O}p=Yl(d,null,P,-1,Je,Xt,Je.contentPreamble,Je.contentState,p.abortSet,A,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback),_i(p),d.pingedTasks.push(p)}else{p.blockedBoundary=Je,p.blockedPreamble=Je.contentPreamble,p.hoistableState=Je.contentState,p.blockedSegment=Xt,p.keyPath=A,Xt.status=6;try{if(Tr(d,p,P,-1),Xt.lastPushedText&&Xt.textEmbedded&&Xt.chunks.push(xi),Xt.status=1,ci(Je,Xt),Je.pendingTasks===0&&Je.status===0){Je.status=1,d.pendingRootTasks===0&&p.blockedPreamble&&fi(d);break e}}catch(qt){Je.status=4,d.status===12?(Xt.status=3,X=d.fatalError):(Xt.status=4,X=qt),Q=ui(p.componentStack),ze=Bn(d,X,Q),Je.errorDigest=ze,kr(d,Je)}finally{p.blockedBoundary=Se,p.blockedPreamble=L,p.hoistableState=We,p.blockedSegment=re,p.keyPath=O}p=Yl(d,null,le,-1,Se,st,Je.fallbackPreamble,Je.fallbackState,Ge,[A[0],"Suspense Fallback",A[2]],p.formatContext,p.context,p.treeContext,p.componentStack,!0),_i(p),d.pingedTasks.push(p)}}return}if(typeof O=="object"&&O!==null)switch(O.$$typeof){case S:if("ref"in P)for(Je in X={},P)Je!=="ref"&&(X[Je]=P[Je]);else X=P;O=Ri(d,p,A,O.render,X,L),Zi(d,p,A,O,xn!==0,wi,br);return;case R:Cr(d,p,A,O.type,P,L);return;case g:case y:if(Q=P.children,X=p.keyPath,P=P.value,ze=O._currentValue,O._currentValue=P,L=Sa,Sa=O={parent:L,depth:L===null?0:L.depth+1,context:O,parentValue:ze,value:P},p.context=O,p.keyPath=A,On(d,p,Q,-1),d=Sa,d===null)throw Error(n(403));d.context._currentValue=d.parentValue,d=Sa=d.parent,p.context=d,p.keyPath=X;return;case b:P=P.children,O=P(O._context._currentValue),P=p.keyPath,p.keyPath=A,On(d,p,O,-1),p.keyPath=P;return;case z:if(X=O._init,O=X(O._payload),d.status===12)throw null;Cr(d,p,A,O,P,L);return}throw Error(n(130,O==null?O:typeof O,""))}}function ys(d,p,A,O,P){var L=p.replay,X=p.blockedBoundary,le=Oi(d,0,null,p.formatContext,!1,!1);le.id=A,le.parentFlushed=!0;try{p.replay=null,p.blockedSegment=le,Tr(d,p,O,P),le.status=1,X===null?d.completedRootSegment=le:(ci(X,le),X.parentFlushed&&d.partialBoundaries.push(X))}finally{p.replay=L,p.blockedSegment=null}}function On(d,p,A,O){p.replay!==null&&typeof p.replay.slots=="number"?ys(d,p,p.replay.slots,A,O):(p.node=A,p.childIndex=O,A=p.componentStack,_i(p),Ki(d,p),p.componentStack=A)}function Ki(d,p){var A=p.node,O=p.childIndex;if(A!==null){if(typeof A=="object"){switch(A.$$typeof){case r:var P=A.type,L=A.key,X=A.props;A=X.ref;var le=A!==void 0?A:null,Q=ur(P),re=L??(O===-1?0:O);if(L=[p.keyPath,Q,re],p.replay!==null)e:{var ze=p.replay;for(O=ze.nodes,A=0;A<O.length;A++){var Se=O[A];if(re===Se[1]){if(Se.length===4){if(Q!==null&&Q!==Se[0])throw Error(n(490,Se[0],Q));var We=Se[2];Q=Se[3],re=p.node,p.replay={nodes:We,slots:Q,pendingTasks:1};try{if(Cr(d,p,L,P,X,le),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(n(488));p.replay.pendingTasks--}catch(gn){if(typeof gn=="object"&&gn!==null&&(gn===Qe||typeof gn.then=="function"))throw p.node===re&&(p.replay=ze),gn;p.replay.pendingTasks--,X=ui(p.componentStack),L=p.blockedBoundary,P=gn,X=Bn(d,P,X),Xl(d,L,We,Q,P,X)}p.replay=ze}else{if(P!==w)throw Error(n(490,"Suspense",ur(P)||"Unknown"));t:{ze=void 0,P=Se[5],le=Se[2],Q=Se[3],re=Se[4]===null?[]:Se[4][2],Se=Se[4]===null?null:Se[4][3];var Ge=p.keyPath,Je=p.replay,st=p.blockedBoundary,Xt=p.hoistableState,qt=X.children,yt=X.fallback,tr=new Set;X=2>p.formatContext.insertionMode?si(d,tr,dt(),dt()):si(d,tr,null,null),X.parentFlushed=!0,X.rootSegmentID=P,p.blockedBoundary=X,p.hoistableState=X.contentState,p.keyPath=L,p.replay={nodes:le,slots:Q,pendingTasks:1};try{if(Tr(d,p,qt,-1),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(n(488));if(p.replay.pendingTasks--,X.pendingTasks===0&&X.status===0){X.status=1,d.completedBoundaries.push(X);break t}}catch(gn){X.status=4,We=ui(p.componentStack),ze=Bn(d,gn,We),X.errorDigest=ze,p.replay.pendingTasks--,d.clientRenderedBoundaries.push(X)}finally{p.blockedBoundary=st,p.hoistableState=Xt,p.replay=Je,p.keyPath=Ge}p=ka(d,null,{nodes:re,slots:Se,pendingTasks:0},yt,-1,st,X.fallbackState,tr,[L[0],"Suspense Fallback",L[2]],p.formatContext,p.context,p.treeContext,p.componentStack,!0),_i(p),d.pingedTasks.push(p)}}O.splice(A,1);break e}}}else Cr(d,p,L,P,X,le);return;case l:throw Error(n(257));case z:if(We=A._init,A=We(A._payload),d.status===12)throw null;On(d,p,A,O);return}if(K(A)){ji(d,p,A,O);return}if(A===null||typeof A!="object"?We=null:(We=U&&A[U]||A["@@iterator"],We=typeof We=="function"?We:null),We&&(We=We.call(A))){if(A=We.next(),!A.done){X=[];do X.push(A.value),A=We.next();while(!A.done);ji(d,p,X,O)}return}if(typeof A.then=="function")return p.thenableState=null,On(d,p,rl(A),O);if(A.$$typeof===y)return On(d,p,A._currentValue,O);throw O=Object.prototype.toString.call(A),Error(n(31,O==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":O))}typeof A=="string"?(O=p.blockedSegment,O!==null&&(O.lastPushedText=es(O.chunks,A,d.renderState,O.lastPushedText))):(typeof A=="number"||typeof A=="bigint")&&(O=p.blockedSegment,O!==null&&(O.lastPushedText=es(O.chunks,""+A,d.renderState,O.lastPushedText)))}}function ji(d,p,A,O){var P=p.keyPath;if(O!==-1&&(p.keyPath=[p.keyPath,"Fragment",O],p.replay!==null)){for(var L=p.replay,X=L.nodes,le=0;le<X.length;le++){var Q=X[le];if(Q[1]===O){O=Q[2],Q=Q[3],p.replay={nodes:O,slots:Q,pendingTasks:1};try{if(ji(d,p,A,-1),p.replay.pendingTasks===1&&0<p.replay.nodes.length)throw Error(n(488));p.replay.pendingTasks--}catch(Se){if(typeof Se=="object"&&Se!==null&&(Se===Qe||typeof Se.then=="function"))throw Se;p.replay.pendingTasks--,A=ui(p.componentStack);var re=p.blockedBoundary,ze=Se;A=Bn(d,ze,A),Xl(d,re,O,Q,ze,A)}p.replay=L,X.splice(le,1);break}}p.keyPath=P;return}if(L=p.treeContext,X=A.length,p.replay!==null&&(le=p.replay.slots,le!==null&&typeof le=="object")){for(O=0;O<X;O++)Q=A[O],p.treeContext=ie(L,X,O),re=le[O],typeof re=="number"?(ys(d,p,re,Q,O),delete le[O]):Tr(d,p,Q,O);p.treeContext=L,p.keyPath=P;return}for(le=0;le<X;le++)O=A[le],p.treeContext=ie(L,X,le),Tr(d,p,O,le);p.treeContext=L,p.keyPath=P}function kr(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 Nn(d,p,A){return ka(d,A,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 al(d,p,A){var O=p.blockedSegment,P=Oi(d,O.chunks.length,null,p.formatContext,O.lastPushedText,!0);return O.children.push(P),O.lastPushedText=!1,Yl(d,A,p.node,p.childIndex,p.blockedBoundary,P,p.blockedPreamble,p.hoistableState,p.abortSet,p.keyPath,p.formatContext,p.context,p.treeContext,p.componentStack,p.isFallback)}function Tr(d,p,A,O){var P=p.formatContext,L=p.context,X=p.keyPath,le=p.treeContext,Q=p.componentStack,re=p.blockedSegment;if(re===null)try{return On(d,p,A,O)}catch(We){if(Ea(),A=We===Qe?Vt():We,typeof A=="object"&&A!==null){if(typeof A.then=="function"){O=zn(),d=Nn(d,p,O).ping,A.then(d,d),p.formatContext=P,p.context=L,p.keyPath=X,p.treeContext=le,p.componentStack=Q,F(L);return}if(A.message==="Maximum call stack size exceeded"){A=zn(),A=Nn(d,p,A),d.pingedTasks.push(A),p.formatContext=P,p.context=L,p.keyPath=X,p.treeContext=le,p.componentStack=Q,F(L);return}}}else{var ze=re.children.length,Se=re.chunks.length;try{return On(d,p,A,O)}catch(We){if(Ea(),re.children.length=ze,re.chunks.length=Se,A=We===Qe?Vt():We,typeof A=="object"&&A!==null){if(typeof A.then=="function"){O=zn(),d=al(d,p,O).ping,A.then(d,d),p.formatContext=P,p.context=L,p.keyPath=X,p.treeContext=le,p.componentStack=Q,F(L);return}if(A.message==="Maximum call stack size exceeded"){A=zn(),A=al(d,p,A),d.pingedTasks.push(A),p.formatContext=P,p.context=L,p.keyPath=X,p.treeContext=le,p.componentStack=Q,F(L);return}}}}throw p.formatContext=P,p.context=L,p.keyPath=X,p.treeContext=le,F(L),A}function Jf(d){var p=d.blockedBoundary;d=d.blockedSegment,d!==null&&(d.status=3,Zl(this,p,d))}function Xl(d,p,A,O,P,L){for(var X=0;X<A.length;X++){var le=A[X];if(le.length===4)Xl(d,p,le[2],le[3],P,L);else{le=le[5];var Q=d,re=L,ze=si(Q,new Set,null,null);ze.parentFlushed=!0,ze.rootSegmentID=le,ze.status=4,ze.errorDigest=re,ze.parentFlushed&&Q.clientRenderedBoundaries.push(ze)}}if(A.length=0,O!==null){if(p===null)throw Error(n(487));if(p.status!==4&&(p.status=4,p.errorDigest=L,p.parentFlushed&&d.clientRenderedBoundaries.push(p)),typeof O=="object")for(var Se in O)delete O[Se]}}function Ec(d,p,A){var O=d.blockedBoundary,P=d.blockedSegment;if(P!==null){if(P.status===6)return;P.status=3}if(P=ui(d.componentStack),O===null){if(p.status!==13&&p.status!==14){if(O=d.replay,O===null){Bn(p,A,P),vr(p,A);return}O.pendingTasks--,O.pendingTasks===0&&0<O.nodes.length&&(d=Bn(p,A,P),Xl(p,null,O.nodes,O.slots,A,d)),p.pendingRootTasks--,p.pendingRootTasks===0&&ll(p)}}else O.pendingTasks--,O.status!==4&&(O.status=4,d=Bn(p,A,P),O.status=4,O.errorDigest=d,kr(p,O),O.parentFlushed&&p.clientRenderedBoundaries.push(O)),O.fallbackAbortableTasks.forEach(function(L){return Ec(L,p,A)}),O.fallbackAbortableTasks.clear();p.allPendingTasks--,p.allPendingTasks===0&&Ta(p)}function ln(d,p){try{var A=d.renderState,O=A.onHeaders;if(O){var P=A.headers;if(P){A.headers=null;var L=P.preconnects;if(P.fontPreloads&&(L&&(L+=", "),L+=P.fontPreloads),P.highImagePreloads&&(L&&(L+=", "),L+=P.highImagePreloads),!p){var X=A.styles.values(),le=X.next();e:for(;0<P.remainingCapacity&&!le.done;le=X.next())for(var Q=le.value.sheets.values(),re=Q.next();0<P.remainingCapacity&&!re.done;re=Q.next()){var ze=re.value,Se=ze.props,We=Se.href,Ge=ze.props,Je=Gi(Ge.href,"style",{crossOrigin:Ge.crossOrigin,integrity:Ge.integrity,nonce:Ge.nonce,type:Ge.type,fetchPriority:Ge.fetchPriority,referrerPolicy:Ge.referrerPolicy,media:Ge.media});if(0<=(P.remainingCapacity-=Je.length+2))A.resets.style[We]=rn,L&&(L+=", "),L+=Je,A.resets.style[We]=typeof Se.crossOrigin=="string"||typeof Se.integrity=="string"?[Se.crossOrigin,Se.integrity]:rn;else break e}}O(L?{Link:L}:{})}}}catch(st){Bn(d,st,{})}}function ll(d){d.trackedPostpones===null&&ln(d,!0),d.trackedPostpones===null&&fi(d),d.onShellError=Pt,d=d.onShellReady,d()}function Ta(d){ln(d,d.trackedPostpones===null?!0:d.completedRootSegment===null||d.completedRootSegment.status!==5),fi(d),d=d.onAllReady,d()}function ci(d,p){if(p.chunks.length===0&&p.children.length===1&&p.children[0].boundary===null&&p.children[0].id===-1){var A=p.children[0];A.id=p.id,A.parentFlushed=!0,A.status===1&&ci(d,A)}else d.completedSegments.push(p)}function Zl(d,p,A){if(p===null){if(A!==null&&A.parentFlushed){if(d.completedRootSegment!==null)throw Error(n(389));d.completedRootSegment=A}d.pendingRootTasks--,d.pendingRootTasks===0&&ll(d)}else p.pendingTasks--,p.status!==4&&(p.pendingTasks===0?(p.status===0&&(p.status=1),A!==null&&A.parentFlushed&&A.status===1&&ci(p,A),p.parentFlushed&&d.completedBoundaries.push(p),p.status===1&&(p.fallbackAbortableTasks.forEach(Jf,d),p.fallbackAbortableTasks.clear(),d.pendingRootTasks===0&&d.trackedPostpones===null&&p.contentPreamble!==null&&fi(d))):A!==null&&A.parentFlushed&&A.status===1&&(ci(p,A),p.completedSegments.length===1&&p.parentFlushed&&d.partialBoundaries.push(p)));d.allPendingTasks--,d.allPendingTasks===0&&Ta(d)}function Oa(d){if(d.status!==14&&d.status!==13){var p=Sa,A=nn.H;nn.H=wr;var O=nn.A;nn.A=ki;var P=Tn;Tn=d;var L=cr;cr=d.resumableState;try{var X=d.pingedTasks,le;for(le=0;le<X.length;le++){var Q=X[le],re=d,ze=Q.blockedSegment;if(ze===null){var Se=re;if(Q.replay.pendingTasks!==0){F(Q.context);try{if(typeof Q.replay.slots=="number"?ys(Se,Q,Q.replay.slots,Q.node,Q.childIndex):Ki(Se,Q),Q.replay.pendingTasks===1&&0<Q.replay.nodes.length)throw Error(n(488));Q.replay.pendingTasks--,Q.abortSet.delete(Q),Zl(Se,Q.blockedBoundary,null)}catch(Sn){Ea();var We=Sn===Qe?Vt():Sn;if(typeof We=="object"&&We!==null&&typeof We.then=="function"){var Ge=Q.ping;We.then(Ge,Ge),Q.thenableState=zn()}else{Q.replay.pendingTasks--,Q.abortSet.delete(Q);var Je=ui(Q.componentStack);re=void 0;var st=Se,Xt=Q.blockedBoundary,qt=Se.status===12?Se.fatalError:We,yt=Q.replay.nodes,tr=Q.replay.slots;re=Bn(st,qt,Je),Xl(st,Xt,yt,tr,qt,re),Se.pendingRootTasks--,Se.pendingRootTasks===0&&ll(Se),Se.allPendingTasks--,Se.allPendingTasks===0&&Ta(Se)}}finally{}}}else if(Se=void 0,st=ze,st.status===0){st.status=6,F(Q.context);var gn=st.children.length,fr=st.chunks.length;try{Ki(re,Q),st.lastPushedText&&st.textEmbedded&&st.chunks.push(xi),Q.abortSet.delete(Q),st.status=1,Zl(re,Q.blockedBoundary,st)}catch(Sn){Ea(),st.children.length=gn,st.chunks.length=fr;var on=Sn===Qe?Vt():re.status===12?re.fatalError:Sn;if(typeof on=="object"&&on!==null&&typeof on.then=="function"){st.status=0,Q.thenableState=zn();var nt=Q.ping;on.then(nt,nt)}else{var gt=ui(Q.componentStack);Q.abortSet.delete(Q),st.status=4;var pt=Q.blockedBoundary;Se=Bn(re,on,gt),pt===null?vr(re,on):(pt.pendingTasks--,pt.status!==4&&(pt.status=4,pt.errorDigest=Se,kr(re,pt),pt.parentFlushed&&re.clientRenderedBoundaries.push(pt),re.pendingRootTasks===0&&re.trackedPostpones===null&&pt.contentPreamble!==null&&fi(re))),re.allPendingTasks--,re.allPendingTasks===0&&Ta(re)}}finally{}}}X.splice(0,le),d.destination!==null&&Po(d,d.destination)}catch(Sn){Bn(d,Sn,{}),vr(d,Sn)}finally{cr=L,nn.H=A,nn.A=O,A===wr&&F(p),Tn=P}}}function _a(d,p,A){p.preambleChildren.length&&A.push(p.preambleChildren);for(var O=!1,P=0;P<p.children.length;P++)O=xs(d,p.children[P],A)||O;return O}function xs(d,p,A){var O=p.boundary;if(O===null)return _a(d,p,A);var P=O.contentPreamble,L=O.fallbackPreamble;if(P===null||L===null)return!1;switch(O.status){case 1:if(pc(d.renderState,P),p=O.completedSegments[0],!p)throw Error(n(391));return _a(d,p,A);case 5:if(d.trackedPostpones!==null)return!0;case 4:if(p.status===1)return pc(d.renderState,L),_a(d,p,A);default:return!0}}function fi(d){if(d.completedRootSegment&&d.completedPreambleSegments===null){var p=[],A=xs(d,d.completedRootSegment,p),O=d.renderState.preamble;(A===!1||O.headChunks&&O.bodyChunks)&&(d.completedPreambleSegments=p)}}function Ra(d,p,A,O){switch(A.parentFlushed=!0,A.status){case 0:A.id=d.nextSegmentId++;case 5:return O=A.id,A.lastPushedText=!1,A.textEmbedded=!1,d=d.renderState,D(p,rs),D(p,d.placeholderPrefix),d=k(O.toString(16)),D(p,d),j(p,is);case 1:A.status=2;var P=!0,L=A.chunks,X=0;A=A.children;for(var le=0;le<A.length;le++){for(P=A[le];X<P.index;X++)D(p,L[X]);P=Kl(d,p,P,O)}for(;X<L.length-1;X++)D(p,L[X]);return X<L.length&&(P=j(p,L[X])),P;default:throw Error(n(390))}}function Kl(d,p,A,O){var P=A.boundary;if(P===null)return Ra(d,p,A,O);if(P.parentFlushed=!0,P.status===4){var L=P.errorDigest;return j(p,pa),D(p,wo),L&&(D(p,as),D(p,k(Ve(L))),D(p,js)),j(p,Co),Ra(d,p,A,O),(d=P.fallbackPreamble)&&Rl(p,d),j(p,_l)}if(P.status!==1)return P.status===0&&(P.rootSegmentID=d.nextSegmentId++),0<P.completedSegments.length&&d.partialBoundaries.push(P),Vf(p,d.renderState,P.rootSegmentID),O&&(P=P.fallbackState,P.styles.forEach(Ac,O),P.stylesheets.forEach(ms,O)),Ra(d,p,A,O),j(p,_l);if(P.byteSize>d.progressiveChunkSize)return P.rootSegmentID=d.nextSegmentId++,d.completedBoundaries.push(P),Vf(p,d.renderState,P.rootSegmentID),Ra(d,p,A,O),j(p,_l);if(O&&(A=P.contentState,A.styles.forEach(Ac,O),A.stylesheets.forEach(ms,O)),j(p,Ff),A=P.completedSegments,A.length!==1)throw Error(n(391));return Kl(d,p,A[0],O),(d=P.contentPreamble)&&Rl(p,d),j(p,_l)}function Jr(d,p,A,O){return mr(p,d.renderState,A.parentFormatContext,A.id),Kl(d,p,A,O),ba(p,A.parentFormatContext)}function jl(d,p,A){for(var O=A.completedSegments,P=0;P<O.length;P++)Pa(d,p,A,O[P]);O.length=0,Vl(p,A.contentState,d.renderState),O=d.resumableState,d=d.renderState,P=A.rootSegmentID,A=A.contentState;var L=d.stylesToHoist;return d.stylesToHoist=!1,D(p,d.startInlineScript),L?(O.instructions&2)===0?(O.instructions|=10,D(p,eu)):(O.instructions&8)===0?(O.instructions|=8,D(p,Wf)):D(p,Gf):(O.instructions&2)===0?(O.instructions|=2,D(p,$s)):D(p,ss),O=k(P.toString(16)),D(p,d.boundaryPrefix),D(p,O),D(p,Uf),D(p,d.segmentPrefix),D(p,O),L?(D(p,Rh),Nh(p,A)):D(p,Ml),A=j(p,Yf),Ai(p,d)&&A}function Pa(d,p,A,O){if(O.status===2)return!0;var P=A.contentState,L=O.id;if(L===-1){if((O.id=A.rootSegmentID)===-1)throw Error(n(392));return Jr(d,p,O,P)}return L===A.rootSegmentID?Jr(d,p,O,P):(Jr(d,p,O,P),A=d.resumableState,d=d.renderState,D(p,d.startInlineScript),(A.instructions&1)===0?(A.instructions|=1,D(p,va)):D(p,ya),D(p,d.segmentPrefix),L=k(L.toString(16)),D(p,L),D(p,Hf),D(p,d.placeholderPrefix),D(p,L),p=j(p,qs),p)}function Po(d,p){ee=new Uint8Array(2048),oe=0;try{if(!(0<d.pendingRootTasks)){var A,O=d.completedRootSegment;if(O!==null){if(O.status===5)return;var P=d.completedPreambleSegments;if(P===null)return;var L=d.renderState,X=L.preamble,le=X.htmlChunks,Q=X.headChunks,re;if(le){for(re=0;re<le.length;re++)D(p,le[re]);if(Q)for(re=0;re<Q.length;re++)D(p,Q[re]);else D(p,vn("head")),D(p,Cn)}else if(Q)for(re=0;re<Q.length;re++)D(p,Q[re]);var ze=L.charsetChunks;for(re=0;re<ze.length;re++)D(p,ze[re]);ze.length=0,L.preconnects.forEach(sr,p),L.preconnects.clear();var Se=L.viewportChunks;for(re=0;re<Se.length;re++)D(p,Se[re]);Se.length=0,L.fontPreloads.forEach(sr,p),L.fontPreloads.clear(),L.highImagePreloads.forEach(sr,p),L.highImagePreloads.clear(),L.styles.forEach(Zr,p);var We=L.importMapChunks;for(re=0;re<We.length;re++)D(p,We[re]);We.length=0,L.bootstrapScripts.forEach(sr,p),L.scripts.forEach(sr,p),L.scripts.clear(),L.bulkPreloads.forEach(sr,p),L.bulkPreloads.clear();var Ge=L.hoistableChunks;for(re=0;re<Ge.length;re++)D(p,Ge[re]);for(L=Ge.length=0;L<P.length;L++){var Je=P[L];for(X=0;X<Je.length;X++)Kl(d,p,Je[X],null)}var st=d.renderState.preamble,Xt=st.headChunks;(st.htmlChunks||Xt)&&D(p,Si("head"));var qt=st.bodyChunks;if(qt)for(P=0;P<qt.length;P++)D(p,qt[P]);Kl(d,p,O,null),d.completedRootSegment=null,Ai(p,d.renderState)}var yt=d.renderState;O=0;var tr=yt.viewportChunks;for(O=0;O<tr.length;O++)D(p,tr[O]);tr.length=0,yt.preconnects.forEach(sr,p),yt.preconnects.clear(),yt.fontPreloads.forEach(sr,p),yt.fontPreloads.clear(),yt.highImagePreloads.forEach(sr,p),yt.highImagePreloads.clear(),yt.styles.forEach(iu,p),yt.scripts.forEach(sr,p),yt.scripts.clear(),yt.bulkPreloads.forEach(sr,p),yt.bulkPreloads.clear();var gn=yt.hoistableChunks;for(O=0;O<gn.length;O++)D(p,gn[O]);gn.length=0;var fr=d.clientRenderedBoundaries;for(A=0;A<fr.length;A++){var on=fr[A];yt=p;var nt=d.resumableState,gt=d.renderState,pt=on.rootSegmentID,Sn=on.errorDigest;D(yt,gt.startInlineScript),(nt.instructions&4)===0?(nt.instructions|=4,D(yt,tu)):D(yt,Ph),D(yt,gt.boundaryPrefix),D(yt,k(pt.toString(16))),D(yt,vc),Sn&&(D(yt,Xf),D(yt,k(nu(Sn||""))));var Zt=j(yt,Ll);if(!Zt){d.destination=null,A++,fr.splice(0,A);return}}fr.splice(0,A);var An=d.completedBoundaries;for(A=0;A<An.length;A++)if(!jl(d,p,An[A])){d.destination=null,A++,An.splice(0,A);return}An.splice(0,A),we(p),ee=new Uint8Array(2048),oe=0;var Na=d.partialBoundaries;for(A=0;A<Na.length;A++){var hi=Na[A];e:{fr=d,on=p;var Qr=hi.completedSegments;for(Zt=0;Zt<Qr.length;Zt++)if(!Pa(fr,on,hi,Qr[Zt])){Zt++,Qr.splice(0,Zt);var zo=!1;break e}Qr.splice(0,Zt),zo=Vl(on,hi.contentState,fr.renderState)}if(!zo){d.destination=null,A++,Na.splice(0,A);return}}Na.splice(0,A);var $t=d.completedBoundaries;for(A=0;A<$t.length;A++)if(!jl(d,p,$t[A])){d.destination=null,A++,$t.splice(0,A);return}$t.splice(0,A)}}finally{d.allPendingTasks===0&&d.pingedTasks.length===0&&d.clientRenderedBoundaries.length===0&&d.completedBoundaries.length===0?(d.flushScheduled=!1,A=d.resumableState,A.hasBody&&D(p,Si("body")),A.hasHtml&&D(p,Si("html")),we(p),d.status=14,p.close(),d.destination=null):we(p)}}function di(d){d.flushScheduled=d.destination!==null,Oe(function(){return Oa(d)}),Z(function(){d.status===10&&(d.status=11),d.trackedPostpones===null&&ln(d,d.pendingRootTasks===0)})}function Ia(d){d.flushScheduled===!1&&d.pingedTasks.length===0&&d.destination!==null&&(d.flushScheduled=!0,Z(function(){var p=d.destination;p?Po(d,p):d.flushScheduled=!1}))}function Ji(d,p){if(d.status===13)d.status=14,me(p,d.fatalError);else if(d.status!==14&&d.destination===null){d.destination=p;try{Po(d,p)}catch(A){Bn(d,A,{}),vr(d,A)}}}function za(d,p){(d.status===11||d.status===10)&&(d.status=12);try{var A=d.abortableTasks;if(0<A.size){var O=p===void 0?Error(n(432)):typeof p=="object"&&p!==null&&typeof p.then=="function"?Error(n(530)):p;d.fatalError=O,A.forEach(function(P){return Ec(P,d,O)}),A.clear()}d.destination!==null&&Po(d,d.destination)}catch(P){Bn(d,P,{}),vr(d,P)}}function Io(){var d=e.version;if(d!=="19.1.1")throw Error(n(527,d,"19.1.1"))}return Io(),Io(),Oh.prerender=function(d,p){return new Promise(function(A,O){var P=p?p.onHeaders:void 0,L;P&&(L=function(ze){P(new Headers(ze))});var X=pr(p?p.identifierPrefix:void 0,p?p.unstable_externalRuntimeSrc:void 0,p?p.bootstrapScriptContent:void 0,p?p.bootstrapScripts:void 0,p?p.bootstrapModules:void 0),le=er(d,X,yi(X,void 0,p?p.unstable_externalRuntimeSrc:void 0,p?p.importMap:void 0,L,p?p.maxHeadersLength:void 0),Fr(p?p.namespaceURI:void 0),p?p.progressiveChunkSize:void 0,p?p.onError:void 0,function(){var ze={prelude:new ReadableStream({type:"bytes",pull:function(Se){Ji(le,Se)},cancel:function(Se){le.destination=null,za(le,Se)}},{highWaterMark:0})};A(ze)},void 0,void 0,O,p?p.onPostpone:void 0);if(p&&p.signal){var Q=p.signal;if(Q.aborted)za(le,Q.reason);else{var re=function(){za(le,Q.reason),Q.removeEventListener("abort",re)};Q.addEventListener("abort",re)}}di(le)})},Oh.renderToReadableStream=function(d,p){return new Promise(function(A,O){var P,L,X=new Promise(function(Ge,Je){L=Ge,P=Je}),le=p?p.onHeaders:void 0,Q;le&&(Q=function(Ge){le(new Headers(Ge))});var re=pr(p?p.identifierPrefix:void 0,p?p.unstable_externalRuntimeSrc:void 0,p?p.bootstrapScriptContent:void 0,p?p.bootstrapScripts:void 0,p?p.bootstrapModules:void 0),ze=oi(d,re,yi(re,p?p.nonce:void 0,p?p.unstable_externalRuntimeSrc:void 0,p?p.importMap:void 0,Q,p?p.maxHeadersLength:void 0),Fr(p?p.namespaceURI:void 0),p?p.progressiveChunkSize:void 0,p?p.onError:void 0,L,function(){var Ge=new ReadableStream({type:"bytes",pull:function(Je){Ji(ze,Je)},cancel:function(Je){ze.destination=null,za(ze,Je)}},{highWaterMark:0});Ge.allReady=X,A(Ge)},function(Ge){X.catch(function(){}),O(Ge)},P,p?p.onPostpone:void 0,p?p.formState:void 0);if(p&&p.signal){var Se=p.signal;if(Se.aborted)za(ze,Se.reason);else{var We=function(){za(ze,Se.reason),Se.removeEventListener("abort",We)};Se.addEventListener("abort",We)}}di(ze)})},Oh.version="19.1.1",Oh}var ik;function OU(){if(ik)return sc;ik=1;var e,t;return e=kU(),t=TU(),sc.version=e.version,sc.renderToString=e.renderToString,sc.renderToStaticMarkup=e.renderToStaticMarkup,sc.renderToReadableStream=t.renderToReadableStream,t.resume&&(sc.resume=t.resume),sc}var q0={exports:{}},$0,ak;function _U(){if(ak)return $0;ak=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $0=e,$0}var ey,lk;function RU(){if(lk)return ey;lk=1;var e=_U();function t(){}function n(){}return n.resetWarningCache=t,ey=function(){function r(u,f,g,b,y,S){if(S!==e){var w=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 w.name="Invariant Violation",w}}r.isRequired=r;function l(){return r}var s={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:l,element:r,elementType:r,instanceOf:l,node:r,objectOf:l,oneOf:l,oneOfType:l,shape:l,exact:l,checkPropTypes:n,resetWarningCache:t};return s.PropTypes=s,s},ey}var ok;function PU(){return ok||(ok=1,q0.exports=RU()()),q0.exports}var sk;function IU(){if(sk)return lm;sk=1,Object.defineProperty(lm,"__esModule",{value:!0});var e=jc(),t=wU,n=CU,r=Sg(),l=OU(),s=PU();function u(ee){return ee&&typeof ee=="object"&&"default"in ee?ee:{default:ee}}var f=u(e),g=u(n),b=u(s),y=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Kc<"u"?Kc:typeof self<"u"?self:{};function S(ee,oe){return ee(oe={exports:{}},oe.exports),oe.exports}var w=S((function(ee){(function(oe){var D=function(Pe,Fe,Ve){if(!me(Fe)||xe(Fe)||He(Fe)||Me(Fe)||G(Fe))return Fe;var ct,Yt=0,Wn=0;if(M(Fe))for(ct=[],Wn=Fe.length;Yt<Wn;Yt++)ct.push(D(Pe,Fe[Yt],Ve));else for(var kt in ct={},Fe)Object.prototype.hasOwnProperty.call(Fe,kt)&&(ct[Pe(kt,Ve)]=D(Pe,Fe[kt],Ve));return ct},j=function(Pe){return ht(Pe)?Pe:(Pe=Pe.replace(/[\-_\s]+(.)?/g,(function(Fe,Ve){return Ve?Ve.toUpperCase():""}))).substr(0,1).toLowerCase()+Pe.substr(1)},we=function(Pe){var Fe=j(Pe);return Fe.substr(0,1).toUpperCase()+Fe.substr(1)},Ee=function(Pe,Fe){return(function(Ve,ct){var Yt=(ct=ct||{}).separator||"_",Wn=ct.split||/(?=[A-Z])/;return Ve.split(Wn).join(Yt)})(Pe,Fe).toLowerCase()},k=Object.prototype.toString,G=function(Pe){return typeof Pe=="function"},me=function(Pe){return Pe===Object(Pe)},M=function(Pe){return k.call(Pe)=="[object Array]"},xe=function(Pe){return k.call(Pe)=="[object Date]"},He=function(Pe){return k.call(Pe)=="[object RegExp]"},Me=function(Pe){return k.call(Pe)=="[object Boolean]"},ht=function(Pe){return(Pe-=0)==Pe},ye=function(Pe,Fe){var Ve=Fe&&"process"in Fe?Fe.process:Fe;return typeof Ve!="function"?Pe:function(ct,Yt){return Ve(ct,Pe,Yt)}},Re={camelize:j,decamelize:Ee,pascalize:we,depascalize:Ee,camelizeKeys:function(Pe,Fe){return D(ye(j,Fe),Pe)},decamelizeKeys:function(Pe,Fe){return D(ye(Ee,Fe),Pe,Fe)},pascalizeKeys:function(Pe,Fe){return D(ye(we,Fe),Pe)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};ee.exports?ee.exports=Re:oe.humps=Re})(y)})).decamelize,C=function(ee){if(Array.isArray(ee))return ee},R=function(ee,oe){if(typeof Symbol<"u"&&Symbol.iterator in Object(ee)){var D=[],j=!0,we=!1,Ee=void 0;try{for(var k,G=ee[Symbol.iterator]();!(j=(k=G.next()).done)&&(D.push(k.value),!oe||D.length!==oe);j=!0);}catch(me){we=!0,Ee=me}finally{try{j||G.return==null||G.return()}finally{if(we)throw Ee}}return D}},z=function(ee,oe){(oe==null||oe>ee.length)&&(oe=ee.length);for(var D=0,j=new Array(oe);D<oe;D++)j[D]=ee[D];return j},B=function(ee,oe){if(ee){if(typeof ee=="string")return z(ee,oe);var D=Object.prototype.toString.call(ee).slice(8,-1);return D==="Object"&&ee.constructor&&(D=ee.constructor.name),D==="Map"||D==="Set"?Array.from(ee):D==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(D)?z(ee,oe):void 0}},V=function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
167
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)},W=function(ee,oe){return C(ee)||R(ee,oe)||B(ee,oe)||V()},H=S((function(ee){function oe(){return ee.exports=oe=Object.assign||function(D){for(var j=1;j<arguments.length;j++){var we=arguments[j];for(var Ee in we)Object.prototype.hasOwnProperty.call(we,Ee)&&(D[Ee]=we[Ee])}return D},oe.apply(this,arguments)}ee.exports=oe})),te=function(ee,oe){if(ee==null)return{};var D,j,we={},Ee=Object.keys(ee);for(j=0;j<Ee.length;j++)D=Ee[j],oe.indexOf(D)>=0||(we[D]=ee[D]);return we},U=function(ee,oe){if(ee==null)return{};var D,j,we=te(ee,oe);if(Object.getOwnPropertySymbols){var Ee=Object.getOwnPropertySymbols(ee);for(j=0;j<Ee.length;j++)D=Ee[j],oe.indexOf(D)>=0||Object.prototype.propertyIsEnumerable.call(ee,D)&&(we[D]=ee[D])}return we},K=e.createContext(null);function be(ee){var oe=ee.children,D=oe===void 0?"":oe,j=U(ee,["children"]);return typeof D!="string"&&(D=l.renderToString(D)),f.default.createElement("template",H({},j,{dangerouslySetInnerHTML:{__html:D}}))}function ge(ee){var oe=ee.root,D=ee.children,j=D===void 0?null:D;return r.createPortal(j,oe)}function fe(ee){var oe=e.forwardRef((function(D,j){var we,Ee,k=D.mode,G=k===void 0?"open":k,me=D.delegatesFocus,M=me!==void 0&&me,xe=D.styleSheets,He=xe===void 0?[]:xe,Me=D.ssr,ht=Me!==void 0&&Me,ye=D.children,Re=U(D,["mode","delegatesFocus","styleSheets","ssr","children"]),Pe=(we=j,Ee=e.useRef(we&&we.current),e.useEffect((function(){we&&(we.current=Ee.current)}),[we]),Ee),Fe=e.useState(null),Ve=W(Fe,2),ct=Ve[0],Yt=Ve[1],Wn="node_".concat(G).concat(M);return e.useLayoutEffect((function(){if(Pe.current)try{if(typeof j=="function"&&j(Pe.current),ht){var kt=Pe.current.shadowRoot;return void Yt(kt)}var nn=Pe.current.attachShadow({mode:G,delegatesFocus:M});He.length>0&&(nn.adoptedStyleSheets=He),Yt(nn)}catch(Bi){(function(Lr){var Mn=Lr.error,rn=Lr.styleSheets,xt=Lr.root;switch(Mn.name){case"NotSupportedError":rn.length>0&&(xt.adoptedStyleSheets=rn);break;default:throw Mn}})({error:Bi,styleSheets:He,root:ct})}}),[j,Pe,He]),f.default.createElement(f.default.Fragment,null,f.default.createElement(ee.tag,H({key:Wn,ref:Pe},Re),(ct||ht)&&f.default.createElement(K.Provider,{value:ct},ht?f.default.createElement(be,{shadowroot:G,shadowrootmode:G},ee.render({root:ct,ssr:ht,children:ye})):f.default.createElement(ge,{root:ct},ee.render({root:ct,ssr:ht,children:ye})))))}));return oe.propTypes={mode:b.default.oneOf(["open","closed"]),delegatesFocus:b.default.bool,styleSheets:b.default.arrayOf(b.default.instanceOf(globalThis.CSSStyleSheet)),ssr:b.default.bool,children:b.default.node},oe}be.propTypes={children:b.default.oneOfType([b.default.string,b.default.node])},ge.propTypes={root:b.default.object.isRequired,children:b.default.node};var Z=new Map;function ke(){var ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"core",D=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(j){return j.children};return new Proxy(ee,{get:function(j,we){var Ee=w(we,{separator:"-"}),k="".concat(oe,"-").concat(Ee);return Z.has(k)||Z.set(k,fe({tag:Ee,render:D})),Z.get(k)}})}ke();var ue=new WeakMap,Oe=ke({},"emotion",(function(ee){var oe=ee.root,D=ee.children,j=ue.get(oe)||(function(){var we=g.default({container:oe,key:"react-shadow"});return ue.set(oe,we),we})();return f.default.createElement(t.CacheProvider,{value:j},f.default.createElement(f.default.Fragment,null,D))}));return lm.default=Oe,lm}var zU=IU();const NU=Mu(zU),om=":host",DU=H0({cssVarsRoot:om,conditions:{light:`${om} &, .light &`},preflight:{scope:om},globalCss:{[om]:Q0.globalCss?.html??{}},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"}}}}}),MU=HC(Q0,DU);function LU({children:e}){const[t,n]=Ae.useState(null),[r,l]=Ae.useState(null);return Ae.useEffect(()=>{if(!t?.shadowRoot||r)return;const s=Qm({key:"root",container:t.shadowRoot});l(s)},[t,r]),$.jsx(NU.div,{ref:n,children:t&&r&&$.jsx(AV,{value:()=>t.shadowRoot??document,children:$.jsx(I1,{value:r,children:$.jsx(b_,{value:MU,children:$.jsx(JP,{children:e})})})})})}class FU extends Ae.Component{constructor(t){super(t),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t,n){console.error("ErrorBoundary caught an error:",t,n),Kd.captureException(t)}render(){return this.state.hasError?null:this.props.children}}function VU(){console.log("[DoriWidget] Initializing Dori widget...");const e=document.createElement("div");e.id="mori-react-widget-host",document.querySelector("#dori-widget-container")?.appendChild(e);const r=tO.createRoot(e);return console.log("[DoriWidget] Rendering React app into widget container..."),r.render($.jsx(r1.StrictMode,{children:$.jsx(FU,{children:$.jsx(LU,{children:$.jsx(EU,{})})})})),console.log("[DoriWidget] Dori widget initialized successfully."),()=>{console.log("[DoriWidget] Unmounting Dori widget..."),r.unmount()}}Yu("initializeDoriWidget",VU)()})();
2
168
  //# sourceMappingURL=widget.js.map