@designtools/codesurface 0.1.3 → 0.1.8
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/README.md +22 -15
- package/dist/cli.js +217 -109
- package/dist/client/assets/index--eM7ukq5.js +284 -0
- package/dist/client/assets/index-1q-WwsbN.css +1 -0
- package/dist/client/assets/index-A_L26x1h.js +164 -0
- package/dist/client/assets/index-B6jN1q8m.js +221 -0
- package/dist/client/assets/index-B7jQZQIh.js +164 -0
- package/dist/client/assets/index-BCq28ejx.js +274 -0
- package/dist/client/assets/index-BSe1-ayg.js +221 -0
- package/dist/client/assets/index-BoqOSsiL.js +164 -0
- package/dist/client/assets/index-BrTweOBw.css +1 -0
- package/dist/client/assets/index-BvlvZBFo.js +164 -0
- package/dist/client/assets/index-C0W09LqU.js +274 -0
- package/dist/client/assets/index-C8zdCN9Y.css +1 -0
- package/dist/client/assets/index-CNoLX-EE.css +1 -0
- package/dist/client/assets/index-CT_MpeRK.css +1 -0
- package/dist/client/assets/index-Caw3C8nD.js +164 -0
- package/dist/client/assets/index-CiJuTDXP.css +1 -0
- package/dist/client/assets/index-D1sfJ6Vs.js +274 -0
- package/dist/client/assets/index-D4qADRtt.js +221 -0
- package/dist/client/assets/index-DLNdLnNZ.css +1 -0
- package/dist/client/assets/index-DOOYG-7t.js +221 -0
- package/dist/client/assets/index-DOo00IKO.js +164 -0
- package/dist/client/assets/index-DT_WVyln.js +274 -0
- package/dist/client/assets/index-Dd5ywdn8.css +1 -0
- package/dist/client/assets/index-DevUtWzq.js +274 -0
- package/dist/client/assets/index-DnmW8VmS.js +274 -0
- package/dist/client/assets/index-Ndu6k3-t.css +1 -0
- package/dist/client/assets/index-WBV2EURP.js +284 -0
- package/dist/client/assets/index-lOuYsLDH.css +1 -0
- package/dist/client/assets/index-nMHvJQPa.css +1 -0
- package/dist/client/assets/index-s0F6GbJf.js +164 -0
- package/dist/client/assets/index-xf9QDxu1.css +1 -0
- package/dist/client/index.html +2 -2
- package/package.json +4 -1
- package/dist/client/assets/index-B5g8qgFW.css +0 -1
- package/dist/client/assets/index-BB9cuIlF.js +0 -111
- package/dist/client/assets/index-BH-ji2K7.js +0 -150
- package/dist/client/assets/index-BH4MtIeE.js +0 -150
- package/dist/client/assets/index-BIpQhd8p.js +0 -150
- package/dist/client/assets/index-BRJOTqhn.js +0 -130
- package/dist/client/assets/index-Bb8QmYLf.css +0 -1
- package/dist/client/assets/index-Bbi0p5WW.js +0 -150
- package/dist/client/assets/index-BdWkGSfZ.js +0 -130
- package/dist/client/assets/index-BnRqJ-Bb.js +0 -150
- package/dist/client/assets/index-BneJISnX.js +0 -150
- package/dist/client/assets/index-C9_QxP1g.css +0 -1
- package/dist/client/assets/index-CBjuhHfq.js +0 -150
- package/dist/client/assets/index-CEFmdeB7.css +0 -1
- package/dist/client/assets/index-CQpCDasO.js +0 -131
- package/dist/client/assets/index-CRUCeIYi.css +0 -1
- package/dist/client/assets/index-CUSGVUIj.js +0 -150
- package/dist/client/assets/index-CZJQ3vJi.js +0 -150
- package/dist/client/assets/index-CdshIoQY.css +0 -1
- package/dist/client/assets/index-Cne4pc0S.css +0 -1
- package/dist/client/assets/index-Cps9lJoI.css +0 -1
- package/dist/client/assets/index-Cs7mKzsY.css +0 -1
- package/dist/client/assets/index-D-bUCwC3.css +0 -1
- package/dist/client/assets/index-D11nArXR.css +0 -1
- package/dist/client/assets/index-D2DhQd-K.js +0 -51
- package/dist/client/assets/index-D3ju6tgw.css +0 -1
- package/dist/client/assets/index-DG2JRz0f.js +0 -150
- package/dist/client/assets/index-DO-UYUx0.js +0 -150
- package/dist/client/assets/index-DOb58Ii1.js +0 -111
- package/dist/client/assets/index-DVd7DS_W.css +0 -1
- package/dist/client/assets/index-DZNHUm4M.js +0 -130
- package/dist/client/assets/index-Di7zgczR.css +0 -1
- package/dist/client/assets/index-DlUCyHdA.css +0 -1
- package/dist/client/assets/index-FTflg87d.js +0 -130
- package/dist/client/assets/index-U5_kmGxX.js +0 -150
- package/dist/client/assets/index-_4EXPfyt.css +0 -1
- package/dist/client/assets/index-gow3pju2.css +0 -1
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
(function(){const s=document.createElement("link").relList;if(s&&s.supports&&s.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))o(d);new MutationObserver(d=>{for(const m of d)if(m.type==="childList")for(const h of m.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&o(h)}).observe(document,{childList:!0,subtree:!0});function f(d){const m={};return d.integrity&&(m.integrity=d.integrity),d.referrerPolicy&&(m.referrerPolicy=d.referrerPolicy),d.crossOrigin==="use-credentials"?m.credentials="include":d.crossOrigin==="anonymous"?m.credentials="omit":m.credentials="same-origin",m}function o(d){if(d.ep)return;d.ep=!0;const m=f(d);fetch(d.href,m)}})();var Ac={exports:{}},Vn={};/**
|
|
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 F0;function w3(){if(F0)return Vn;F0=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function f(o,d,m){var h=null;if(m!==void 0&&(h=""+m),d.key!==void 0&&(h=""+d.key),"key"in d){m={};for(var S in d)S!=="key"&&(m[S]=d[S])}else m=d;return d=m.ref,{$$typeof:i,type:o,key:h,ref:d!==void 0?d:null,props:m}}return Vn.Fragment=s,Vn.jsx=f,Vn.jsxs=f,Vn}var P0;function j3(){return P0||(P0=1,Ac.exports=w3()),Ac.exports}var r=j3(),Hc={exports:{}},Nn={},Vc={exports:{}},Nc={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* scheduler.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 I0;function E3(){return I0||(I0=1,(function(i){function s(O,Y){var ee=O.length;O.push(Y);e:for(;0<ee;){var we=ee-1>>>1,Me=O[we];if(0<d(Me,Y))O[we]=Y,O[ee]=Me,ee=we;else break e}}function f(O){return O.length===0?null:O[0]}function o(O){if(O.length===0)return null;var Y=O[0],ee=O.pop();if(ee!==Y){O[0]=ee;e:for(var we=0,Me=O.length,b=Me>>>1;we<b;){var N=2*(we+1)-1,X=O[N],Q=N+1,ne=O[Q];if(0>d(X,ee))Q<Me&&0>d(ne,X)?(O[we]=ne,O[Q]=ee,we=Q):(O[we]=X,O[N]=ee,we=N);else if(Q<Me&&0>d(ne,ee))O[we]=ne,O[Q]=ee,we=Q;else break e}}return Y}function d(O,Y){var ee=O.sortIndex-Y.sortIndex;return ee!==0?ee:O.id-Y.id}if(i.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var m=performance;i.unstable_now=function(){return m.now()}}else{var h=Date,S=h.now();i.unstable_now=function(){return h.now()-S}}var x=[],y=[],z=1,M=null,V=3,k=!1,R=!1,Z=!1,B=!1,G=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,W=typeof setImmediate<"u"?setImmediate:null;function te(O){for(var Y=f(y);Y!==null;){if(Y.callback===null)o(y);else if(Y.startTime<=O)o(y),Y.sortIndex=Y.expirationTime,s(x,Y);else break;Y=f(y)}}function ie(O){if(Z=!1,te(O),!R)if(f(x)!==null)R=!0,pe||(pe=!0,Ae());else{var Y=f(y);Y!==null&&He(ie,Y.startTime-O)}}var pe=!1,K=-1,me=5,le=-1;function U(){return B?!0:!(i.unstable_now()-le<me)}function q(){if(B=!1,pe){var O=i.unstable_now();le=O;var Y=!0;try{e:{R=!1,Z&&(Z=!1,D(K),K=-1),k=!0;var ee=V;try{t:{for(te(O),M=f(x);M!==null&&!(M.expirationTime>O&&U());){var we=M.callback;if(typeof we=="function"){M.callback=null,V=M.priorityLevel;var Me=we(M.expirationTime<=O);if(O=i.unstable_now(),typeof Me=="function"){M.callback=Me,te(O),Y=!0;break t}M===f(x)&&o(x),te(O)}else o(x);M=f(x)}if(M!==null)Y=!0;else{var b=f(y);b!==null&&He(ie,b.startTime-O),Y=!1}}break e}finally{M=null,V=ee,k=!1}Y=void 0}}finally{Y?Ae():pe=!1}}}var Ae;if(typeof W=="function")Ae=function(){W(q)};else if(typeof MessageChannel<"u"){var Ie=new MessageChannel,oe=Ie.port2;Ie.port1.onmessage=q,Ae=function(){oe.postMessage(null)}}else Ae=function(){G(q,0)};function He(O,Y){K=G(function(){O(i.unstable_now())},Y)}i.unstable_IdlePriority=5,i.unstable_ImmediatePriority=1,i.unstable_LowPriority=4,i.unstable_NormalPriority=3,i.unstable_Profiling=null,i.unstable_UserBlockingPriority=2,i.unstable_cancelCallback=function(O){O.callback=null},i.unstable_forceFrameRate=function(O){0>O||125<O?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):me=0<O?Math.floor(1e3/O):5},i.unstable_getCurrentPriorityLevel=function(){return V},i.unstable_next=function(O){switch(V){case 1:case 2:case 3:var Y=3;break;default:Y=V}var ee=V;V=Y;try{return O()}finally{V=ee}},i.unstable_requestPaint=function(){B=!0},i.unstable_runWithPriority=function(O,Y){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var ee=V;V=O;try{return Y()}finally{V=ee}},i.unstable_scheduleCallback=function(O,Y,ee){var we=i.unstable_now();switch(typeof ee=="object"&&ee!==null?(ee=ee.delay,ee=typeof ee=="number"&&0<ee?we+ee:we):ee=we,O){case 1:var Me=-1;break;case 2:Me=250;break;case 5:Me=1073741823;break;case 4:Me=1e4;break;default:Me=5e3}return Me=ee+Me,O={id:z++,callback:Y,priorityLevel:O,startTime:ee,expirationTime:Me,sortIndex:-1},ee>we?(O.sortIndex=ee,s(y,O),f(x)===null&&O===f(y)&&(Z?(D(K),K=-1):Z=!0,He(ie,ee-we))):(O.sortIndex=Me,s(x,O),R||k||(R=!0,pe||(pe=!0,Ae()))),O},i.unstable_shouldYield=U,i.unstable_wrapCallback=function(O){var Y=V;return function(){var ee=V;V=Y;try{return O.apply(this,arguments)}finally{V=ee}}}})(Nc)),Nc}var e2;function T3(){return e2||(e2=1,Vc.exports=E3()),Vc.exports}var Dc={exports:{}},ae={};/**
|
|
18
|
-
* @license React
|
|
19
|
-
* react.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 t2;function M3(){if(t2)return ae;t2=1;var i=Symbol.for("react.transitional.element"),s=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),d=Symbol.for("react.profiler"),m=Symbol.for("react.consumer"),h=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),z=Symbol.for("react.lazy"),M=Symbol.for("react.activity"),V=Symbol.iterator;function k(b){return b===null||typeof b!="object"?null:(b=V&&b[V]||b["@@iterator"],typeof b=="function"?b:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z=Object.assign,B={};function G(b,N,X){this.props=b,this.context=N,this.refs=B,this.updater=X||R}G.prototype.isReactComponent={},G.prototype.setState=function(b,N){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,N,"setState")},G.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function D(){}D.prototype=G.prototype;function W(b,N,X){this.props=b,this.context=N,this.refs=B,this.updater=X||R}var te=W.prototype=new D;te.constructor=W,Z(te,G.prototype),te.isPureReactComponent=!0;var ie=Array.isArray;function pe(){}var K={H:null,A:null,T:null,S:null},me=Object.prototype.hasOwnProperty;function le(b,N,X){var Q=X.ref;return{$$typeof:i,type:b,key:N,ref:Q!==void 0?Q:null,props:X}}function U(b,N){return le(b.type,N,b.props)}function q(b){return typeof b=="object"&&b!==null&&b.$$typeof===i}function Ae(b){var N={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(X){return N[X]})}var Ie=/\/+/g;function oe(b,N){return typeof b=="object"&&b!==null&&b.key!=null?Ae(""+b.key):N.toString(36)}function He(b){switch(b.status){case"fulfilled":return b.value;case"rejected":throw b.reason;default:switch(typeof b.status=="string"?b.then(pe,pe):(b.status="pending",b.then(function(N){b.status==="pending"&&(b.status="fulfilled",b.value=N)},function(N){b.status==="pending"&&(b.status="rejected",b.reason=N)})),b.status){case"fulfilled":return b.value;case"rejected":throw b.reason}}throw b}function O(b,N,X,Q,ne){var re=typeof b;(re==="undefined"||re==="boolean")&&(b=null);var Ce=!1;if(b===null)Ce=!0;else switch(re){case"bigint":case"string":case"number":Ce=!0;break;case"object":switch(b.$$typeof){case i:case s:Ce=!0;break;case z:return Ce=b._init,O(Ce(b._payload),N,X,Q,ne)}}if(Ce)return ne=ne(b),Ce=Q===""?"."+oe(b,0):Q,ie(ne)?(X="",Ce!=null&&(X=Ce.replace(Ie,"$&/")+"/"),O(ne,N,X,"",function(Ya){return Ya})):ne!=null&&(q(ne)&&(ne=U(ne,X+(ne.key==null||b&&b.key===ne.key?"":(""+ne.key).replace(Ie,"$&/")+"/")+Ce)),N.push(ne)),1;Ce=0;var tt=Q===""?".":Q+":";if(ie(b))for(var De=0;De<b.length;De++)Q=b[De],re=tt+oe(Q,De),Ce+=O(Q,N,X,re,ne);else if(De=k(b),typeof De=="function")for(b=De.call(b),De=0;!(Q=b.next()).done;)Q=Q.value,re=tt+oe(Q,De++),Ce+=O(Q,N,X,re,ne);else if(re==="object"){if(typeof b.then=="function")return O(He(b),N,X,Q,ne);throw N=String(b),Error("Objects are not valid as a React child (found: "+(N==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":N)+"). If you meant to render a collection of children, use an array instead.")}return Ce}function Y(b,N,X){if(b==null)return b;var Q=[],ne=0;return O(b,Q,"","",function(re){return N.call(X,re,ne++)}),Q}function ee(b){if(b._status===-1){var N=b._result;N=N(),N.then(function(X){(b._status===0||b._status===-1)&&(b._status=1,b._result=X)},function(X){(b._status===0||b._status===-1)&&(b._status=2,b._result=X)}),b._status===-1&&(b._status=0,b._result=N)}if(b._status===1)return b._result.default;throw b._result}var we=typeof reportError=="function"?reportError:function(b){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var N=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof b=="object"&&b!==null&&typeof b.message=="string"?String(b.message):String(b),error:b});if(!window.dispatchEvent(N))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",b);return}console.error(b)},Me={map:Y,forEach:function(b,N,X){Y(b,function(){N.apply(this,arguments)},X)},count:function(b){var N=0;return Y(b,function(){N++}),N},toArray:function(b){return Y(b,function(N){return N})||[]},only:function(b){if(!q(b))throw Error("React.Children.only expected to receive a single React element child.");return b}};return ae.Activity=M,ae.Children=Me,ae.Component=G,ae.Fragment=f,ae.Profiler=d,ae.PureComponent=W,ae.StrictMode=o,ae.Suspense=x,ae.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=K,ae.__COMPILER_RUNTIME={__proto__:null,c:function(b){return K.H.useMemoCache(b)}},ae.cache=function(b){return function(){return b.apply(null,arguments)}},ae.cacheSignal=function(){return null},ae.cloneElement=function(b,N,X){if(b==null)throw Error("The argument must be a React element, but you passed "+b+".");var Q=Z({},b.props),ne=b.key;if(N!=null)for(re in N.key!==void 0&&(ne=""+N.key),N)!me.call(N,re)||re==="key"||re==="__self"||re==="__source"||re==="ref"&&N.ref===void 0||(Q[re]=N[re]);var re=arguments.length-2;if(re===1)Q.children=X;else if(1<re){for(var Ce=Array(re),tt=0;tt<re;tt++)Ce[tt]=arguments[tt+2];Q.children=Ce}return le(b.type,ne,Q)},ae.createContext=function(b){return b={$$typeof:h,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null},b.Provider=b,b.Consumer={$$typeof:m,_context:b},b},ae.createElement=function(b,N,X){var Q,ne={},re=null;if(N!=null)for(Q in N.key!==void 0&&(re=""+N.key),N)me.call(N,Q)&&Q!=="key"&&Q!=="__self"&&Q!=="__source"&&(ne[Q]=N[Q]);var Ce=arguments.length-2;if(Ce===1)ne.children=X;else if(1<Ce){for(var tt=Array(Ce),De=0;De<Ce;De++)tt[De]=arguments[De+2];ne.children=tt}if(b&&b.defaultProps)for(Q in Ce=b.defaultProps,Ce)ne[Q]===void 0&&(ne[Q]=Ce[Q]);return le(b,re,ne)},ae.createRef=function(){return{current:null}},ae.forwardRef=function(b){return{$$typeof:S,render:b}},ae.isValidElement=q,ae.lazy=function(b){return{$$typeof:z,_payload:{_status:-1,_result:b},_init:ee}},ae.memo=function(b,N){return{$$typeof:y,type:b,compare:N===void 0?null:N}},ae.startTransition=function(b){var N=K.T,X={};K.T=X;try{var Q=b(),ne=K.S;ne!==null&&ne(X,Q),typeof Q=="object"&&Q!==null&&typeof Q.then=="function"&&Q.then(pe,we)}catch(re){we(re)}finally{N!==null&&X.types!==null&&(N.types=X.types),K.T=N}},ae.unstable_useCacheRefresh=function(){return K.H.useCacheRefresh()},ae.use=function(b){return K.H.use(b)},ae.useActionState=function(b,N,X){return K.H.useActionState(b,N,X)},ae.useCallback=function(b,N){return K.H.useCallback(b,N)},ae.useContext=function(b){return K.H.useContext(b)},ae.useDebugValue=function(){},ae.useDeferredValue=function(b,N){return K.H.useDeferredValue(b,N)},ae.useEffect=function(b,N){return K.H.useEffect(b,N)},ae.useEffectEvent=function(b){return K.H.useEffectEvent(b)},ae.useId=function(){return K.H.useId()},ae.useImperativeHandle=function(b,N,X){return K.H.useImperativeHandle(b,N,X)},ae.useInsertionEffect=function(b,N){return K.H.useInsertionEffect(b,N)},ae.useLayoutEffect=function(b,N){return K.H.useLayoutEffect(b,N)},ae.useMemo=function(b,N){return K.H.useMemo(b,N)},ae.useOptimistic=function(b,N){return K.H.useOptimistic(b,N)},ae.useReducer=function(b,N,X){return K.H.useReducer(b,N,X)},ae.useRef=function(b){return K.H.useRef(b)},ae.useState=function(b){return K.H.useState(b)},ae.useSyncExternalStore=function(b,N,X){return K.H.useSyncExternalStore(b,N,X)},ae.useTransition=function(){return K.H.useTransition()},ae.version="19.2.4",ae}var l2;function Qc(){return l2||(l2=1,Dc.exports=M3()),Dc.exports}var Uc={exports:{}},et={};/**
|
|
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 a2;function z3(){if(a2)return et;a2=1;var i=Qc();function s(x){var y="https://react.dev/errors/"+x;if(1<arguments.length){y+="?args[]="+encodeURIComponent(arguments[1]);for(var z=2;z<arguments.length;z++)y+="&args[]="+encodeURIComponent(arguments[z])}return"Minified React error #"+x+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function f(){}var o={d:{f,r:function(){throw Error(s(522))},D:f,C:f,L:f,m:f,X:f,S:f,M:f},p:0,findDOMNode:null},d=Symbol.for("react.portal");function m(x,y,z){var M=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:d,key:M==null?null:""+M,children:x,containerInfo:y,implementation:z}}var h=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function S(x,y){if(x==="font")return"";if(typeof y=="string")return y==="use-credentials"?y:""}return et.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,et.createPortal=function(x,y){var z=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!y||y.nodeType!==1&&y.nodeType!==9&&y.nodeType!==11)throw Error(s(299));return m(x,y,null,z)},et.flushSync=function(x){var y=h.T,z=o.p;try{if(h.T=null,o.p=2,x)return x()}finally{h.T=y,o.p=z,o.d.f()}},et.preconnect=function(x,y){typeof x=="string"&&(y?(y=y.crossOrigin,y=typeof y=="string"?y==="use-credentials"?y:"":void 0):y=null,o.d.C(x,y))},et.prefetchDNS=function(x){typeof x=="string"&&o.d.D(x)},et.preinit=function(x,y){if(typeof x=="string"&&y&&typeof y.as=="string"){var z=y.as,M=S(z,y.crossOrigin),V=typeof y.integrity=="string"?y.integrity:void 0,k=typeof y.fetchPriority=="string"?y.fetchPriority:void 0;z==="style"?o.d.S(x,typeof y.precedence=="string"?y.precedence:void 0,{crossOrigin:M,integrity:V,fetchPriority:k}):z==="script"&&o.d.X(x,{crossOrigin:M,integrity:V,fetchPriority:k,nonce:typeof y.nonce=="string"?y.nonce:void 0})}},et.preinitModule=function(x,y){if(typeof x=="string")if(typeof y=="object"&&y!==null){if(y.as==null||y.as==="script"){var z=S(y.as,y.crossOrigin);o.d.M(x,{crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0})}}else y==null&&o.d.M(x)},et.preload=function(x,y){if(typeof x=="string"&&typeof y=="object"&&y!==null&&typeof y.as=="string"){var z=y.as,M=S(z,y.crossOrigin);o.d.L(x,z,{crossOrigin:M,integrity:typeof y.integrity=="string"?y.integrity:void 0,nonce:typeof y.nonce=="string"?y.nonce:void 0,type:typeof y.type=="string"?y.type:void 0,fetchPriority:typeof y.fetchPriority=="string"?y.fetchPriority:void 0,referrerPolicy:typeof y.referrerPolicy=="string"?y.referrerPolicy:void 0,imageSrcSet:typeof y.imageSrcSet=="string"?y.imageSrcSet:void 0,imageSizes:typeof y.imageSizes=="string"?y.imageSizes:void 0,media:typeof y.media=="string"?y.media:void 0})}},et.preloadModule=function(x,y){if(typeof x=="string")if(y){var z=S(y.as,y.crossOrigin);o.d.m(x,{as:typeof y.as=="string"&&y.as!=="script"?y.as:void 0,crossOrigin:z,integrity:typeof y.integrity=="string"?y.integrity:void 0})}else o.d.m(x)},et.requestFormReset=function(x){o.d.r(x)},et.unstable_batchedUpdates=function(x,y){return x(y)},et.useFormState=function(x,y,z){return h.H.useFormState(x,y,z)},et.useFormStatus=function(){return h.H.useHostTransitionStatus()},et.version="19.2.4",et}var n2;function v2(){if(n2)return Uc.exports;n2=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Uc.exports=z3(),Uc.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 u2;function L3(){if(u2)return Nn;u2=1;var i=T3(),s=Qc(),f=v2();function o(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)t+="&args[]="+encodeURIComponent(arguments[l])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function m(e){var t=e,l=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(l=t.return),e=t.return;while(e)}return t.tag===3?l:null}function h(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function S(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function x(e){if(m(e)!==e)throw Error(o(188))}function y(e){var t=e.alternate;if(!t){if(t=m(e),t===null)throw Error(o(188));return t!==e?null:e}for(var l=e,a=t;;){var n=l.return;if(n===null)break;var u=n.alternate;if(u===null){if(a=n.return,a!==null){l=a;continue}break}if(n.child===u.child){for(u=n.child;u;){if(u===l)return x(n),e;if(u===a)return x(n),t;u=u.sibling}throw Error(o(188))}if(l.return!==a.return)l=n,a=u;else{for(var c=!1,g=n.child;g;){if(g===l){c=!0,l=n,a=u;break}if(g===a){c=!0,a=n,l=u;break}g=g.sibling}if(!c){for(g=u.child;g;){if(g===l){c=!0,l=u,a=n;break}if(g===a){c=!0,a=u,l=n;break}g=g.sibling}if(!c)throw Error(o(189))}}if(l.alternate!==a)throw Error(o(190))}if(l.tag!==3)throw Error(o(188));return l.stateNode.current===l?e:t}function z(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=z(e),t!==null)return t;e=e.sibling}return null}var M=Object.assign,V=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),Z=Symbol.for("react.fragment"),B=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),D=Symbol.for("react.consumer"),W=Symbol.for("react.context"),te=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),pe=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),me=Symbol.for("react.lazy"),le=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),q=Symbol.iterator;function Ae(e){return e===null||typeof e!="object"?null:(e=q&&e[q]||e["@@iterator"],typeof e=="function"?e:null)}var Ie=Symbol.for("react.client.reference");function oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ie?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Z:return"Fragment";case G:return"Profiler";case B:return"StrictMode";case ie:return"Suspense";case pe:return"SuspenseList";case le:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case R:return"Portal";case W:return e.displayName||"Context";case D:return(e._context.displayName||"Context")+".Consumer";case te:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case K:return t=e.displayName||null,t!==null?t:oe(e.type)||"Memo";case me:t=e._payload,e=e._init;try{return oe(e(t))}catch{}}return null}var He=Array.isArray,O=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Y=f.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee={pending:!1,data:null,method:null,action:null},we=[],Me=-1;function b(e){return{current:e}}function N(e){0>Me||(e.current=we[Me],we[Me]=null,Me--)}function X(e,t){Me++,we[Me]=e.current,e.current=t}var Q=b(null),ne=b(null),re=b(null),Ce=b(null);function tt(e,t){switch(X(re,t),X(ne,e),X(Q,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?C0(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=C0(t),e=b0(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}N(Q),X(Q,e)}function De(){N(Q),N(ne),N(re)}function Ya(e){e.memoizedState!==null&&X(Ce,e);var t=Q.current,l=b0(t,e.type);t!==l&&(X(ne,e),X(Q,l))}function Un(e){ne.current===e&&(N(Q),N(ne)),Ce.current===e&&(N(Ce),_n._currentValue=ee)}var pu,kc;function Vl(e){if(pu===void 0)try{throw Error()}catch(l){var t=l.stack.trim().match(/\n( *(at )?)/);pu=t&&t[1]||"",kc=-1<l.stack.indexOf(`
|
|
42
|
-
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
-
`+pu+e+kc}var mu=!1;function yu(e,t){if(!e||mu)return"";mu=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(t){var H=function(){throw Error()};if(Object.defineProperty(H.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(H,[])}catch(L){var T=L}Reflect.construct(e,[],H)}else{try{H.call()}catch(L){T=L}e.call(H.prototype)}}else{try{throw Error()}catch(L){T=L}(H=e())&&typeof H.catch=="function"&&H.catch(function(){})}}catch(L){if(L&&T&&typeof L.stack=="string")return[L.stack,T.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var n=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");n&&n.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=a.DetermineComponentFrameRoot(),c=u[0],g=u[1];if(c&&g){var v=c.split(`
|
|
44
|
-
`),E=g.split(`
|
|
45
|
-
`);for(n=a=0;a<v.length&&!v[a].includes("DetermineComponentFrameRoot");)a++;for(;n<E.length&&!E[n].includes("DetermineComponentFrameRoot");)n++;if(a===v.length||n===E.length)for(a=v.length-1,n=E.length-1;1<=a&&0<=n&&v[a]!==E[n];)n--;for(;1<=a&&0<=n;a--,n--)if(v[a]!==E[n]){if(a!==1||n!==1)do if(a--,n--,0>n||v[a]!==E[n]){var _=`
|
|
46
|
-
`+v[a].replace(" at new "," at ");return e.displayName&&_.includes("<anonymous>")&&(_=_.replace("<anonymous>",e.displayName)),_}while(1<=a&&0<=n);break}}}finally{mu=!1,Error.prepareStackTrace=l}return(l=e?e.displayName||e.name:"")?Vl(l):""}function I2(e,t){switch(e.tag){case 26:case 27:case 5:return Vl(e.type);case 16:return Vl("Lazy");case 13:return e.child!==t&&t!==null?Vl("Suspense Fallback"):Vl("Suspense");case 19:return Vl("SuspenseList");case 0:case 15:return yu(e.type,!1);case 11:return yu(e.type.render,!1);case 1:return yu(e.type,!0);case 31:return Vl("Activity");default:return""}}function Wc(e){try{var t="",l=null;do t+=I2(e,l),l=e,e=e.return;while(e);return t}catch(a){return`
|
|
47
|
-
Error generating stack: `+a.message+`
|
|
48
|
-
`+a.stack}}var vu=Object.prototype.hasOwnProperty,xu=i.unstable_scheduleCallback,Cu=i.unstable_cancelCallback,ef=i.unstable_shouldYield,tf=i.unstable_requestPaint,dt=i.unstable_now,lf=i.unstable_getCurrentPriorityLevel,Fc=i.unstable_ImmediatePriority,Pc=i.unstable_UserBlockingPriority,Zn=i.unstable_NormalPriority,af=i.unstable_LowPriority,Ic=i.unstable_IdlePriority,nf=i.log,uf=i.unstable_setDisableYieldValue,qa=null,gt=null;function ul(e){if(typeof nf=="function"&&uf(e),gt&&typeof gt.setStrictMode=="function")try{gt.setStrictMode(qa,e)}catch{}}var ht=Math.clz32?Math.clz32:rf,cf=Math.log,of=Math.LN2;function rf(e){return e>>>=0,e===0?32:31-(cf(e)/of|0)|0}var Bn=256,Yn=262144,qn=4194304;function Nl(e){var t=e&42;if(t!==0)return t;switch(e&-e){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:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Xn(e,t,l){var a=e.pendingLanes;if(a===0)return 0;var n=0,u=e.suspendedLanes,c=e.pingedLanes;e=e.warmLanes;var g=a&134217727;return g!==0?(a=g&~u,a!==0?n=Nl(a):(c&=g,c!==0?n=Nl(c):l||(l=g&~e,l!==0&&(n=Nl(l))))):(g=a&~u,g!==0?n=Nl(g):c!==0?n=Nl(c):l||(l=a&~e,l!==0&&(n=Nl(l)))),n===0?0:t!==0&&t!==n&&(t&u)===0&&(u=n&-n,l=t&-t,u>=l||u===32&&(l&4194048)!==0)?t:n}function Xa(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ff(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 e9(){var e=qn;return qn<<=1,(qn&62914560)===0&&(qn=4194304),e}function bu(e){for(var t=[],l=0;31>l;l++)t.push(e);return t}function Ga(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function sf(e,t,l,a,n,u){var c=e.pendingLanes;e.pendingLanes=l,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=l,e.entangledLanes&=l,e.errorRecoveryDisabledLanes&=l,e.shellSuspendCounter=0;var g=e.entanglements,v=e.expirationTimes,E=e.hiddenUpdates;for(l=c&~l;0<l;){var _=31-ht(l),H=1<<_;g[_]=0,v[_]=-1;var T=E[_];if(T!==null)for(E[_]=null,_=0;_<T.length;_++){var L=T[_];L!==null&&(L.lane&=-536870913)}l&=~H}a!==0&&t9(e,a,0),u!==0&&n===0&&e.tag!==0&&(e.suspendedLanes|=u&~(c&~t))}function t9(e,t,l){e.pendingLanes|=t,e.suspendedLanes&=~t;var a=31-ht(t);e.entangledLanes|=t,e.entanglements[a]=e.entanglements[a]|1073741824|l&261930}function l9(e,t){var l=e.entangledLanes|=t;for(e=e.entanglements;l;){var a=31-ht(l),n=1<<a;n&t|e[a]&t&&(e[a]|=t),l&=~n}}function a9(e,t){var l=t&-t;return l=(l&42)!==0?1:Su(l),(l&(e.suspendedLanes|t))!==0?0:l}function Su(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function wu(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function n9(){var e=Y.p;return e!==0?e:(e=window.event,e===void 0?32:G0(e.type))}function u9(e,t){var l=Y.p;try{return Y.p=e,t()}finally{Y.p=l}}var il=Math.random().toString(36).slice(2),Je="__reactFiber$"+il,ut="__reactProps$"+il,ea="__reactContainer$"+il,ju="__reactEvents$"+il,df="__reactListeners$"+il,gf="__reactHandles$"+il,i9="__reactResources$"+il,$a="__reactMarker$"+il;function Eu(e){delete e[Je],delete e[ut],delete e[ju],delete e[df],delete e[gf]}function ta(e){var t=e[Je];if(t)return t;for(var l=e.parentNode;l;){if(t=l[ea]||l[Je]){if(l=t.alternate,t.child!==null||l!==null&&l.child!==null)for(e=z0(e);e!==null;){if(l=e[Je])return l;e=z0(e)}return t}e=l,l=e.parentNode}return null}function la(e){if(e=e[Je]||e[ea]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Qa(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(o(33))}function aa(e){var t=e[i9];return t||(t=e[i9]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function $e(e){e[$a]=!0}var c9=new Set,o9={};function Dl(e,t){na(e,t),na(e+"Capture",t)}function na(e,t){for(o9[e]=t,e=0;e<t.length;e++)c9.add(t[e])}var hf=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]*$"),r9={},f9={};function pf(e){return vu.call(f9,e)?!0:vu.call(r9,e)?!1:hf.test(e)?f9[e]=!0:(r9[e]=!0,!1)}function Gn(e,t,l){if(pf(t))if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var a=t.toLowerCase().slice(0,5);if(a!=="data-"&&a!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+l)}}function $n(e,t,l){if(l===null)e.removeAttribute(t);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+l)}}function Bt(e,t,l,a){if(a===null)e.removeAttribute(l);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(l);return}e.setAttributeNS(t,l,""+a)}}function St(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function s9(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mf(e,t,l){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,u=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return n.call(this)},set:function(c){l=""+c,u.call(this,c)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return l},setValue:function(c){l=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Tu(e){if(!e._valueTracker){var t=s9(e)?"checked":"value";e._valueTracker=mf(e,t,""+e[t])}}function d9(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var l=t.getValue(),a="";return e&&(a=s9(e)?e.checked?"true":"false":e.value),e=a,e!==l?(t.setValue(e),!0):!1}function Qn(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var yf=/[\n"\\]/g;function wt(e){return e.replace(yf,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Mu(e,t,l,a,n,u,c,g){e.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?e.type=c:e.removeAttribute("type"),t!=null?c==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+St(t)):e.value!==""+St(t)&&(e.value=""+St(t)):c!=="submit"&&c!=="reset"||e.removeAttribute("value"),t!=null?zu(e,c,St(t)):l!=null?zu(e,c,St(l)):a!=null&&e.removeAttribute("value"),n==null&&u!=null&&(e.defaultChecked=!!u),n!=null&&(e.checked=n&&typeof n!="function"&&typeof n!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+St(g):e.removeAttribute("name")}function g9(e,t,l,a,n,u,c,g){if(u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"&&(e.type=u),t!=null||l!=null){if(!(u!=="submit"&&u!=="reset"||t!=null)){Tu(e);return}l=l!=null?""+St(l):"",t=t!=null?""+St(t):l,g||t===e.value||(e.value=t),e.defaultValue=t}a=a??n,a=typeof a!="function"&&typeof a!="symbol"&&!!a,e.checked=g?e.checked:!!a,e.defaultChecked=!!a,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.name=c),Tu(e)}function zu(e,t,l){t==="number"&&Qn(e.ownerDocument)===e||e.defaultValue===""+l||(e.defaultValue=""+l)}function ua(e,t,l,a){if(e=e.options,t){t={};for(var n=0;n<l.length;n++)t["$"+l[n]]=!0;for(l=0;l<e.length;l++)n=t.hasOwnProperty("$"+e[l].value),e[l].selected!==n&&(e[l].selected=n),n&&a&&(e[l].defaultSelected=!0)}else{for(l=""+St(l),t=null,n=0;n<e.length;n++){if(e[n].value===l){e[n].selected=!0,a&&(e[n].defaultSelected=!0);return}t!==null||e[n].disabled||(t=e[n])}t!==null&&(t.selected=!0)}}function h9(e,t,l){if(t!=null&&(t=""+St(t),t!==e.value&&(e.value=t),l==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=l!=null?""+St(l):""}function p9(e,t,l,a){if(t==null){if(a!=null){if(l!=null)throw Error(o(92));if(He(a)){if(1<a.length)throw Error(o(93));a=a[0]}l=a}l==null&&(l=""),t=l}l=St(t),e.defaultValue=l,a=e.textContent,a===l&&a!==""&&a!==null&&(e.value=a),Tu(e)}function ia(e,t){if(t){var l=e.firstChild;if(l&&l===e.lastChild&&l.nodeType===3){l.nodeValue=t;return}}e.textContent=t}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 m9(e,t,l){var a=t.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?a?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":a?e.setProperty(t,l):typeof l!="number"||l===0||vf.has(t)?t==="float"?e.cssFloat=l:e[t]=(""+l).trim():e[t]=l+"px"}function y9(e,t,l){if(t!=null&&typeof t!="object")throw Error(o(62));if(e=e.style,l!=null){for(var a in l)!l.hasOwnProperty(a)||t!=null&&t.hasOwnProperty(a)||(a.indexOf("--")===0?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="");for(var n in t)a=t[n],t.hasOwnProperty(n)&&l[n]!==a&&m9(e,n,a)}else for(var u in t)t.hasOwnProperty(u)&&m9(e,u,t[u])}function Lu(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xf=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"]]),Cf=/^[\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 Kn(e){return Cf.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yt(){}var Ru=null;function _u(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ca=null,oa=null;function v9(e){var t=la(e);if(t&&(e=t.stateNode)){var l=e[ut]||null;e:switch(e=t.stateNode,t.type){case"input":if(Mu(e,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),t=l.name,l.type==="radio"&&t!=null){for(l=e;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+wt(""+t)+'"][type="radio"]'),t=0;t<l.length;t++){var a=l[t];if(a!==e&&a.form===e.form){var n=a[ut]||null;if(!n)throw Error(o(90));Mu(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(t=0;t<l.length;t++)a=l[t],a.form===e.form&&d9(a)}break e;case"textarea":h9(e,l.value,l.defaultValue);break e;case"select":t=l.value,t!=null&&ua(e,!!l.multiple,t,!1)}}}var Ou=!1;function x9(e,t,l){if(Ou)return e(t,l);Ou=!0;try{var a=e(t);return a}finally{if(Ou=!1,(ca!==null||oa!==null)&&(H1(),ca&&(t=ca,e=oa,oa=ca=null,v9(t),e)))for(t=0;t<e.length;t++)v9(e[t])}}function Ka(e,t){var l=e.stateNode;if(l===null)return null;var a=l[ut]||null;if(a===null)return null;l=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(l&&typeof l!="function")throw Error(o(231,t,typeof l));return l}var qt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Au=!1;if(qt)try{var Ja={};Object.defineProperty(Ja,"passive",{get:function(){Au=!0}}),window.addEventListener("test",Ja,Ja),window.removeEventListener("test",Ja,Ja)}catch{Au=!1}var cl=null,Hu=null,Jn=null;function C9(){if(Jn)return Jn;var e,t=Hu,l=t.length,a,n="value"in cl?cl.value:cl.textContent,u=n.length;for(e=0;e<l&&t[e]===n[e];e++);var c=l-e;for(a=1;a<=c&&t[l-a]===n[u-a];a++);return Jn=n.slice(e,1<a?1-a:void 0)}function kn(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Wn(){return!0}function b9(){return!1}function it(e){function t(l,a,n,u,c){this._reactName=l,this._targetInst=n,this.type=a,this.nativeEvent=u,this.target=c,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(l=e[g],this[g]=l?l(u):u[g]);return this.isDefaultPrevented=(u.defaultPrevented!=null?u.defaultPrevented:u.returnValue===!1)?Wn:b9,this.isPropagationStopped=b9,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){},isPersistent:Wn}),t}var Ul={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Fn=it(Ul),ka=M({},Ul,{view:0,detail:0}),bf=it(ka),Vu,Nu,Wa,Pn=M({},ka,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Wa&&(Wa&&e.type==="mousemove"?(Vu=e.screenX-Wa.screenX,Nu=e.screenY-Wa.screenY):Nu=Vu=0,Wa=e),Vu)},movementY:function(e){return"movementY"in e?e.movementY:Nu}}),S9=it(Pn),Sf=M({},Pn,{dataTransfer:0}),wf=it(Sf),jf=M({},ka,{relatedTarget:0}),Du=it(jf),Ef=M({},Ul,{animationName:0,elapsedTime:0,pseudoElement:0}),Tf=it(Ef),Mf=M({},Ul,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),zf=it(Mf),Lf=M({},Ul,{data:0}),w9=it(Lf),Rf={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_f={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"},Of={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Af(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Of[e])?!!t[e]:!1}function Uu(){return Af}var Hf=M({},ka,{key:function(e){if(e.key){var t=Rf[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=kn(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?_f[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uu,charCode:function(e){return e.type==="keypress"?kn(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?kn(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vf=it(Hf),Nf=M({},Pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),j9=it(Nf),Df=M({},ka,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uu}),Uf=it(Df),Zf=M({},Ul,{propertyName:0,elapsedTime:0,pseudoElement:0}),Bf=it(Zf),Yf=M({},Pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),qf=it(Yf),Xf=M({},Ul,{newState:0,oldState:0}),Gf=it(Xf),$f=[9,13,27,32],Zu=qt&&"CompositionEvent"in window,Fa=null;qt&&"documentMode"in document&&(Fa=document.documentMode);var Qf=qt&&"TextEvent"in window&&!Fa,E9=qt&&(!Zu||Fa&&8<Fa&&11>=Fa),T9=" ",M9=!1;function z9(e,t){switch(e){case"keyup":return $f.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function L9(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ra=!1;function Kf(e,t){switch(e){case"compositionend":return L9(t);case"keypress":return t.which!==32?null:(M9=!0,T9);case"textInput":return e=t.data,e===T9&&M9?null:e;default:return null}}function Jf(e,t){if(ra)return e==="compositionend"||!Zu&&z9(e,t)?(e=C9(),Jn=Hu=cl=null,ra=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return E9&&t.locale!=="ko"?null:t.data;default:return null}}var kf={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 R9(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!kf[e.type]:t==="textarea"}function _9(e,t,l,a){ca?oa?oa.push(a):oa=[a]:ca=a,t=Y1(t,"onChange"),0<t.length&&(l=new Fn("onChange","change",null,l,a),e.push({event:l,listeners:t}))}var Pa=null,Ia=null;function Wf(e){h0(e,0)}function In(e){var t=Qa(e);if(d9(t))return e}function O9(e,t){if(e==="change")return t}var A9=!1;if(qt){var Bu;if(qt){var Yu="oninput"in document;if(!Yu){var H9=document.createElement("div");H9.setAttribute("oninput","return;"),Yu=typeof H9.oninput=="function"}Bu=Yu}else Bu=!1;A9=Bu&&(!document.documentMode||9<document.documentMode)}function V9(){Pa&&(Pa.detachEvent("onpropertychange",N9),Ia=Pa=null)}function N9(e){if(e.propertyName==="value"&&In(Ia)){var t=[];_9(t,Ia,e,_u(e)),x9(Wf,t)}}function Ff(e,t,l){e==="focusin"?(V9(),Pa=t,Ia=l,Pa.attachEvent("onpropertychange",N9)):e==="focusout"&&V9()}function Pf(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return In(Ia)}function If(e,t){if(e==="click")return In(t)}function es(e,t){if(e==="input"||e==="change")return In(t)}function ts(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var pt=typeof Object.is=="function"?Object.is:ts;function en(e,t){if(pt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var l=Object.keys(e),a=Object.keys(t);if(l.length!==a.length)return!1;for(a=0;a<l.length;a++){var n=l[a];if(!vu.call(t,n)||!pt(e[n],t[n]))return!1}return!0}function D9(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function U9(e,t){var l=D9(e);e=0;for(var a;l;){if(l.nodeType===3){if(a=e+l.textContent.length,e<=t&&a>=t)return{node:l,offset:t-e};e=a}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=D9(l)}}function Z9(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Z9(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function B9(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Qn(e.document);t instanceof e.HTMLIFrameElement;){try{var l=typeof t.contentWindow.location.href=="string"}catch{l=!1}if(l)e=t.contentWindow;else break;t=Qn(e.document)}return t}function qu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var ls=qt&&"documentMode"in document&&11>=document.documentMode,fa=null,Xu=null,tn=null,Gu=!1;function Y9(e,t,l){var a=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Gu||fa==null||fa!==Qn(a)||(a=fa,"selectionStart"in a&&qu(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),tn&&en(tn,a)||(tn=a,a=Y1(Xu,"onSelect"),0<a.length&&(t=new Fn("onSelect","select",null,t,l),e.push({event:t,listeners:a}),t.target=fa)))}function Zl(e,t){var l={};return l[e.toLowerCase()]=t.toLowerCase(),l["Webkit"+e]="webkit"+t,l["Moz"+e]="moz"+t,l}var sa={animationend:Zl("Animation","AnimationEnd"),animationiteration:Zl("Animation","AnimationIteration"),animationstart:Zl("Animation","AnimationStart"),transitionrun:Zl("Transition","TransitionRun"),transitionstart:Zl("Transition","TransitionStart"),transitioncancel:Zl("Transition","TransitionCancel"),transitionend:Zl("Transition","TransitionEnd")},$u={},q9={};qt&&(q9=document.createElement("div").style,"AnimationEvent"in window||(delete sa.animationend.animation,delete sa.animationiteration.animation,delete sa.animationstart.animation),"TransitionEvent"in window||delete sa.transitionend.transition);function Bl(e){if($u[e])return $u[e];if(!sa[e])return e;var t=sa[e],l;for(l in t)if(t.hasOwnProperty(l)&&l in q9)return $u[e]=t[l];return e}var X9=Bl("animationend"),G9=Bl("animationiteration"),$9=Bl("animationstart"),as=Bl("transitionrun"),ns=Bl("transitionstart"),us=Bl("transitioncancel"),Q9=Bl("transitionend"),K9=new Map,Qu="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(" ");Qu.push("scrollEnd");function Ot(e,t){K9.set(e,t),Dl(t,[e])}var e1=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},jt=[],da=0,Ku=0;function t1(){for(var e=da,t=Ku=da=0;t<e;){var l=jt[t];jt[t++]=null;var a=jt[t];jt[t++]=null;var n=jt[t];jt[t++]=null;var u=jt[t];if(jt[t++]=null,a!==null&&n!==null){var c=a.pending;c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n}u!==0&&J9(l,n,u)}}function l1(e,t,l,a){jt[da++]=e,jt[da++]=t,jt[da++]=l,jt[da++]=a,Ku|=a,e.lanes|=a,e=e.alternate,e!==null&&(e.lanes|=a)}function Ju(e,t,l,a){return l1(e,t,l,a),a1(e)}function Yl(e,t){return l1(e,null,null,t),a1(e)}function J9(e,t,l){e.lanes|=l;var a=e.alternate;a!==null&&(a.lanes|=l);for(var n=!1,u=e.return;u!==null;)u.childLanes|=l,a=u.alternate,a!==null&&(a.childLanes|=l),u.tag===22&&(e=u.stateNode,e===null||e._visibility&1||(n=!0)),e=u,u=u.return;return e.tag===3?(u=e.stateNode,n&&t!==null&&(n=31-ht(l),e=u.hiddenUpdates,a=e[n],a===null?e[n]=[t]:a.push(t),t.lane=l|536870912),u):null}function a1(e){if(50<jn)throw jn=0,ac=null,Error(o(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ga={};function is(e,t,l,a){this.tag=e,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function mt(e,t,l,a){return new is(e,t,l,a)}function ku(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xt(e,t){var l=e.alternate;return l===null?(l=mt(e.tag,t,e.key,e.mode),l.elementType=e.elementType,l.type=e.type,l.stateNode=e.stateNode,l.alternate=e,e.alternate=l):(l.pendingProps=t,l.type=e.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=e.flags&65011712,l.childLanes=e.childLanes,l.lanes=e.lanes,l.child=e.child,l.memoizedProps=e.memoizedProps,l.memoizedState=e.memoizedState,l.updateQueue=e.updateQueue,t=e.dependencies,l.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},l.sibling=e.sibling,l.index=e.index,l.ref=e.ref,l.refCleanup=e.refCleanup,l}function k9(e,t){e.flags&=65011714;var l=e.alternate;return l===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=l.childLanes,e.lanes=l.lanes,e.child=l.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=l.memoizedProps,e.memoizedState=l.memoizedState,e.updateQueue=l.updateQueue,e.type=l.type,t=l.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function n1(e,t,l,a,n,u){var c=0;if(a=e,typeof e=="function")ku(e)&&(c=1);else if(typeof e=="string")c=s3(e,l,Q.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case le:return e=mt(31,l,t,n),e.elementType=le,e.lanes=u,e;case Z:return ql(l.children,n,u,t);case B:c=8,n|=24;break;case G:return e=mt(12,l,t,n|2),e.elementType=G,e.lanes=u,e;case ie:return e=mt(13,l,t,n),e.elementType=ie,e.lanes=u,e;case pe:return e=mt(19,l,t,n),e.elementType=pe,e.lanes=u,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case W:c=10;break e;case D:c=9;break e;case te:c=11;break e;case K:c=14;break e;case me:c=16,a=null;break e}c=29,l=Error(o(130,e===null?"null":typeof e,"")),a=null}return t=mt(c,l,t,n),t.elementType=e,t.type=a,t.lanes=u,t}function ql(e,t,l,a){return e=mt(7,e,a,t),e.lanes=l,e}function Wu(e,t,l){return e=mt(6,e,null,t),e.lanes=l,e}function W9(e){var t=mt(18,null,null,0);return t.stateNode=e,t}function Fu(e,t,l){return t=mt(4,e.children!==null?e.children:[],e.key,t),t.lanes=l,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var F9=new WeakMap;function Et(e,t){if(typeof e=="object"&&e!==null){var l=F9.get(e);return l!==void 0?l:(t={value:e,source:t,stack:Wc(t)},F9.set(e,t),t)}return{value:e,source:t,stack:Wc(t)}}var ha=[],pa=0,u1=null,ln=0,Tt=[],Mt=0,ol=null,Nt=1,Dt="";function Gt(e,t){ha[pa++]=ln,ha[pa++]=u1,u1=e,ln=t}function P9(e,t,l){Tt[Mt++]=Nt,Tt[Mt++]=Dt,Tt[Mt++]=ol,ol=e;var a=Nt;e=Dt;var n=32-ht(a)-1;a&=~(1<<n),l+=1;var u=32-ht(t)+n;if(30<u){var c=n-n%5;u=(a&(1<<c)-1).toString(32),a>>=c,n-=c,Nt=1<<32-ht(t)+n|l<<n|a,Dt=u+e}else Nt=1<<u|l<<n|a,Dt=e}function Pu(e){e.return!==null&&(Gt(e,1),P9(e,1,0))}function Iu(e){for(;e===u1;)u1=ha[--pa],ha[pa]=null,ln=ha[--pa],ha[pa]=null;for(;e===ol;)ol=Tt[--Mt],Tt[Mt]=null,Dt=Tt[--Mt],Tt[Mt]=null,Nt=Tt[--Mt],Tt[Mt]=null}function I9(e,t){Tt[Mt++]=Nt,Tt[Mt++]=Dt,Tt[Mt++]=ol,Nt=t.id,Dt=t.overflow,ol=e}var ke=null,Le=null,he=!1,rl=null,zt=!1,ei=Error(o(519));function fl(e){var t=Error(o(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw an(Et(t,e)),ei}function eo(e){var t=e.stateNode,l=e.type,a=e.memoizedProps;switch(t[Je]=e,t[ut]=a,l){case"dialog":se("cancel",t),se("close",t);break;case"iframe":case"object":case"embed":se("load",t);break;case"video":case"audio":for(l=0;l<Tn.length;l++)se(Tn[l],t);break;case"source":se("error",t);break;case"img":case"image":case"link":se("error",t),se("load",t);break;case"details":se("toggle",t);break;case"input":se("invalid",t),g9(t,a.value,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name,!0);break;case"select":se("invalid",t);break;case"textarea":se("invalid",t),p9(t,a.value,a.defaultValue,a.children)}l=a.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||t.textContent===""+l||a.suppressHydrationWarning===!0||v0(t.textContent,l)?(a.popover!=null&&(se("beforetoggle",t),se("toggle",t)),a.onScroll!=null&&se("scroll",t),a.onScrollEnd!=null&&se("scrollend",t),a.onClick!=null&&(t.onclick=Yt),t=!0):t=!1,t||fl(e,!0)}function to(e){for(ke=e.return;ke;)switch(ke.tag){case 5:case 31:case 13:zt=!1;return;case 27:case 3:zt=!0;return;default:ke=ke.return}}function ma(e){if(e!==ke)return!1;if(!he)return to(e),he=!0,!1;var t=e.tag,l;if((l=t!==3&&t!==27)&&((l=t===5)&&(l=e.type,l=!(l!=="form"&&l!=="button")||vc(e.type,e.memoizedProps)),l=!l),l&&Le&&fl(e),to(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Le=M0(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(317));Le=M0(e)}else t===27?(t=Le,jl(e.type)?(e=wc,wc=null,Le=e):Le=t):Le=ke?Rt(e.stateNode.nextSibling):null;return!0}function Xl(){Le=ke=null,he=!1}function ti(){var e=rl;return e!==null&&(ft===null?ft=e:ft.push.apply(ft,e),rl=null),e}function an(e){rl===null?rl=[e]:rl.push(e)}var li=b(null),Gl=null,$t=null;function sl(e,t,l){X(li,t._currentValue),t._currentValue=l}function Qt(e){e._currentValue=li.current,N(li)}function ai(e,t,l){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===l)break;e=e.return}}function ni(e,t,l,a){var n=e.child;for(n!==null&&(n.return=e);n!==null;){var u=n.dependencies;if(u!==null){var c=n.child;u=u.firstContext;e:for(;u!==null;){var g=u;u=n;for(var v=0;v<t.length;v++)if(g.context===t[v]){u.lanes|=l,g=u.alternate,g!==null&&(g.lanes|=l),ai(u.return,l,e),a||(c=null);break e}u=g.next}}else if(n.tag===18){if(c=n.return,c===null)throw Error(o(341));c.lanes|=l,u=c.alternate,u!==null&&(u.lanes|=l),ai(c,l,e),c=null}else c=n.child;if(c!==null)c.return=n;else for(c=n;c!==null;){if(c===e){c=null;break}if(n=c.sibling,n!==null){n.return=c.return,c=n;break}c=c.return}n=c}}function ya(e,t,l,a){e=null;for(var n=t,u=!1;n!==null;){if(!u){if((n.flags&524288)!==0)u=!0;else if((n.flags&262144)!==0)break}if(n.tag===10){var c=n.alternate;if(c===null)throw Error(o(387));if(c=c.memoizedProps,c!==null){var g=n.type;pt(n.pendingProps.value,c.value)||(e!==null?e.push(g):e=[g])}}else if(n===Ce.current){if(c=n.alternate,c===null)throw Error(o(387));c.memoizedState.memoizedState!==n.memoizedState.memoizedState&&(e!==null?e.push(_n):e=[_n])}n=n.return}e!==null&&ni(t,e,l,a),t.flags|=262144}function i1(e){for(e=e.firstContext;e!==null;){if(!pt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function $l(e){Gl=e,$t=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function We(e){return lo(Gl,e)}function c1(e,t){return Gl===null&&$l(e),lo(e,t)}function lo(e,t){var l=t._currentValue;if(t={context:t,memoizedValue:l,next:null},$t===null){if(e===null)throw Error(o(308));$t=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else $t=$t.next=t;return l}var cs=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(l,a){e.push(a)}};this.abort=function(){t.aborted=!0,e.forEach(function(l){return l()})}},os=i.unstable_scheduleCallback,rs=i.unstable_NormalPriority,Be={$$typeof:W,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ui(){return{controller:new cs,data:new Map,refCount:0}}function nn(e){e.refCount--,e.refCount===0&&os(rs,function(){e.controller.abort()})}var un=null,ii=0,va=0,xa=null;function fs(e,t){if(un===null){var l=un=[];ii=0,va=rc(),xa={status:"pending",value:void 0,then:function(a){l.push(a)}}}return ii++,t.then(ao,ao),t}function ao(){if(--ii===0&&un!==null){xa!==null&&(xa.status="fulfilled");var e=un;un=null,va=0,xa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function ss(e,t){var l=[],a={status:"pending",value:null,reason:null,then:function(n){l.push(n)}};return e.then(function(){a.status="fulfilled",a.value=t;for(var n=0;n<l.length;n++)(0,l[n])(t)},function(n){for(a.status="rejected",a.reason=n,n=0;n<l.length;n++)(0,l[n])(void 0)}),a}var no=O.S;O.S=function(e,t){qr=dt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&fs(e,t),no!==null&&no(e,t)};var Ql=b(null);function ci(){var e=Ql.current;return e!==null?e:ze.pooledCache}function o1(e,t){t===null?X(Ql,Ql.current):X(Ql,t.pool)}function uo(){var e=ci();return e===null?null:{parent:Be._currentValue,pool:e}}var Ca=Error(o(460)),oi=Error(o(474)),r1=Error(o(542)),f1={then:function(){}};function io(e){return e=e.status,e==="fulfilled"||e==="rejected"}function co(e,t,l){switch(l=e[l],l===void 0?e.push(t):l!==t&&(t.then(Yt,Yt),t=l),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ro(e),e;default:if(typeof t.status=="string")t.then(Yt,Yt);else{if(e=ze,e!==null&&100<e.shellSuspendCounter)throw Error(o(482));e=t,e.status="pending",e.then(function(a){if(t.status==="pending"){var n=t;n.status="fulfilled",n.value=a}},function(a){if(t.status==="pending"){var n=t;n.status="rejected",n.reason=a}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ro(e),e}throw Jl=t,Ca}}function Kl(e){try{var t=e._init;return t(e._payload)}catch(l){throw l!==null&&typeof l=="object"&&typeof l.then=="function"?(Jl=l,Ca):l}}var Jl=null;function oo(){if(Jl===null)throw Error(o(459));var e=Jl;return Jl=null,e}function ro(e){if(e===Ca||e===r1)throw Error(o(483))}var ba=null,cn=0;function s1(e){var t=cn;return cn+=1,ba===null&&(ba=[]),co(ba,e,t)}function on(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function d1(e,t){throw t.$$typeof===V?Error(o(525)):(e=Object.prototype.toString.call(t),Error(o(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function fo(e){function t(w,C){if(e){var j=w.deletions;j===null?(w.deletions=[C],w.flags|=16):j.push(C)}}function l(w,C){if(!e)return null;for(;C!==null;)t(w,C),C=C.sibling;return null}function a(w){for(var C=new Map;w!==null;)w.key!==null?C.set(w.key,w):C.set(w.index,w),w=w.sibling;return C}function n(w,C){return w=Xt(w,C),w.index=0,w.sibling=null,w}function u(w,C,j){return w.index=j,e?(j=w.alternate,j!==null?(j=j.index,j<C?(w.flags|=67108866,C):j):(w.flags|=67108866,C)):(w.flags|=1048576,C)}function c(w){return e&&w.alternate===null&&(w.flags|=67108866),w}function g(w,C,j,A){return C===null||C.tag!==6?(C=Wu(j,w.mode,A),C.return=w,C):(C=n(C,j),C.return=w,C)}function v(w,C,j,A){var P=j.type;return P===Z?_(w,C,j.props.children,A,j.key):C!==null&&(C.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===me&&Kl(P)===C.type)?(C=n(C,j.props),on(C,j),C.return=w,C):(C=n1(j.type,j.key,j.props,null,w.mode,A),on(C,j),C.return=w,C)}function E(w,C,j,A){return C===null||C.tag!==4||C.stateNode.containerInfo!==j.containerInfo||C.stateNode.implementation!==j.implementation?(C=Fu(j,w.mode,A),C.return=w,C):(C=n(C,j.children||[]),C.return=w,C)}function _(w,C,j,A,P){return C===null||C.tag!==7?(C=ql(j,w.mode,A,P),C.return=w,C):(C=n(C,j),C.return=w,C)}function H(w,C,j){if(typeof C=="string"&&C!==""||typeof C=="number"||typeof C=="bigint")return C=Wu(""+C,w.mode,j),C.return=w,C;if(typeof C=="object"&&C!==null){switch(C.$$typeof){case k:return j=n1(C.type,C.key,C.props,null,w.mode,j),on(j,C),j.return=w,j;case R:return C=Fu(C,w.mode,j),C.return=w,C;case me:return C=Kl(C),H(w,C,j)}if(He(C)||Ae(C))return C=ql(C,w.mode,j,null),C.return=w,C;if(typeof C.then=="function")return H(w,s1(C),j);if(C.$$typeof===W)return H(w,c1(w,C),j);d1(w,C)}return null}function T(w,C,j,A){var P=C!==null?C.key:null;if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return P!==null?null:g(w,C,""+j,A);if(typeof j=="object"&&j!==null){switch(j.$$typeof){case k:return j.key===P?v(w,C,j,A):null;case R:return j.key===P?E(w,C,j,A):null;case me:return j=Kl(j),T(w,C,j,A)}if(He(j)||Ae(j))return P!==null?null:_(w,C,j,A,null);if(typeof j.then=="function")return T(w,C,s1(j),A);if(j.$$typeof===W)return T(w,C,c1(w,j),A);d1(w,j)}return null}function L(w,C,j,A,P){if(typeof A=="string"&&A!==""||typeof A=="number"||typeof A=="bigint")return w=w.get(j)||null,g(C,w,""+A,P);if(typeof A=="object"&&A!==null){switch(A.$$typeof){case k:return w=w.get(A.key===null?j:A.key)||null,v(C,w,A,P);case R:return w=w.get(A.key===null?j:A.key)||null,E(C,w,A,P);case me:return A=Kl(A),L(w,C,j,A,P)}if(He(A)||Ae(A))return w=w.get(j)||null,_(C,w,A,P,null);if(typeof A.then=="function")return L(w,C,j,s1(A),P);if(A.$$typeof===W)return L(w,C,j,c1(C,A),P);d1(C,A)}return null}function $(w,C,j,A){for(var P=null,ye=null,J=C,ce=C=0,ge=null;J!==null&&ce<j.length;ce++){J.index>ce?(ge=J,J=null):ge=J.sibling;var ve=T(w,J,j[ce],A);if(ve===null){J===null&&(J=ge);break}e&&J&&ve.alternate===null&&t(w,J),C=u(ve,C,ce),ye===null?P=ve:ye.sibling=ve,ye=ve,J=ge}if(ce===j.length)return l(w,J),he&&Gt(w,ce),P;if(J===null){for(;ce<j.length;ce++)J=H(w,j[ce],A),J!==null&&(C=u(J,C,ce),ye===null?P=J:ye.sibling=J,ye=J);return he&&Gt(w,ce),P}for(J=a(J);ce<j.length;ce++)ge=L(J,w,ce,j[ce],A),ge!==null&&(e&&ge.alternate!==null&&J.delete(ge.key===null?ce:ge.key),C=u(ge,C,ce),ye===null?P=ge:ye.sibling=ge,ye=ge);return e&&J.forEach(function(Ll){return t(w,Ll)}),he&&Gt(w,ce),P}function I(w,C,j,A){if(j==null)throw Error(o(151));for(var P=null,ye=null,J=C,ce=C=0,ge=null,ve=j.next();J!==null&&!ve.done;ce++,ve=j.next()){J.index>ce?(ge=J,J=null):ge=J.sibling;var Ll=T(w,J,ve.value,A);if(Ll===null){J===null&&(J=ge);break}e&&J&&Ll.alternate===null&&t(w,J),C=u(Ll,C,ce),ye===null?P=Ll:ye.sibling=Ll,ye=Ll,J=ge}if(ve.done)return l(w,J),he&&Gt(w,ce),P;if(J===null){for(;!ve.done;ce++,ve=j.next())ve=H(w,ve.value,A),ve!==null&&(C=u(ve,C,ce),ye===null?P=ve:ye.sibling=ve,ye=ve);return he&&Gt(w,ce),P}for(J=a(J);!ve.done;ce++,ve=j.next())ve=L(J,w,ce,ve.value,A),ve!==null&&(e&&ve.alternate!==null&&J.delete(ve.key===null?ce:ve.key),C=u(ve,C,ce),ye===null?P=ve:ye.sibling=ve,ye=ve);return e&&J.forEach(function(S3){return t(w,S3)}),he&&Gt(w,ce),P}function Te(w,C,j,A){if(typeof j=="object"&&j!==null&&j.type===Z&&j.key===null&&(j=j.props.children),typeof j=="object"&&j!==null){switch(j.$$typeof){case k:e:{for(var P=j.key;C!==null;){if(C.key===P){if(P=j.type,P===Z){if(C.tag===7){l(w,C.sibling),A=n(C,j.props.children),A.return=w,w=A;break e}}else if(C.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===me&&Kl(P)===C.type){l(w,C.sibling),A=n(C,j.props),on(A,j),A.return=w,w=A;break e}l(w,C);break}else t(w,C);C=C.sibling}j.type===Z?(A=ql(j.props.children,w.mode,A,j.key),A.return=w,w=A):(A=n1(j.type,j.key,j.props,null,w.mode,A),on(A,j),A.return=w,w=A)}return c(w);case R:e:{for(P=j.key;C!==null;){if(C.key===P)if(C.tag===4&&C.stateNode.containerInfo===j.containerInfo&&C.stateNode.implementation===j.implementation){l(w,C.sibling),A=n(C,j.children||[]),A.return=w,w=A;break e}else{l(w,C);break}else t(w,C);C=C.sibling}A=Fu(j,w.mode,A),A.return=w,w=A}return c(w);case me:return j=Kl(j),Te(w,C,j,A)}if(He(j))return $(w,C,j,A);if(Ae(j)){if(P=Ae(j),typeof P!="function")throw Error(o(150));return j=P.call(j),I(w,C,j,A)}if(typeof j.then=="function")return Te(w,C,s1(j),A);if(j.$$typeof===W)return Te(w,C,c1(w,j),A);d1(w,j)}return typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint"?(j=""+j,C!==null&&C.tag===6?(l(w,C.sibling),A=n(C,j),A.return=w,w=A):(l(w,C),A=Wu(j,w.mode,A),A.return=w,w=A),c(w)):l(w,C)}return function(w,C,j,A){try{cn=0;var P=Te(w,C,j,A);return ba=null,P}catch(J){if(J===Ca||J===r1)throw J;var ye=mt(29,J,null,w.mode);return ye.lanes=A,ye.return=w,ye}finally{}}}var kl=fo(!0),so=fo(!1),dl=!1;function ri(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fi(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function gl(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function hl(e,t,l){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(xe&2)!==0){var n=a.pending;return n===null?t.next=t:(t.next=n.next,n.next=t),a.pending=t,t=a1(e),J9(e,null,l),t}return l1(e,a,t,l),a1(e)}function rn(e,t,l){if(t=t.updateQueue,t!==null&&(t=t.shared,(l&4194048)!==0)){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,l9(e,l)}}function si(e,t){var l=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,l===a)){var n=null,u=null;if(l=l.firstBaseUpdate,l!==null){do{var c={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};u===null?n=u=c:u=u.next=c,l=l.next}while(l!==null);u===null?n=u=t:u=u.next=t}else n=u=t;l={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:u,shared:a.shared,callbacks:a.callbacks},e.updateQueue=l;return}e=l.lastBaseUpdate,e===null?l.firstBaseUpdate=t:e.next=t,l.lastBaseUpdate=t}var di=!1;function fn(){if(di){var e=xa;if(e!==null)throw e}}function sn(e,t,l,a){di=!1;var n=e.updateQueue;dl=!1;var u=n.firstBaseUpdate,c=n.lastBaseUpdate,g=n.shared.pending;if(g!==null){n.shared.pending=null;var v=g,E=v.next;v.next=null,c===null?u=E:c.next=E,c=v;var _=e.alternate;_!==null&&(_=_.updateQueue,g=_.lastBaseUpdate,g!==c&&(g===null?_.firstBaseUpdate=E:g.next=E,_.lastBaseUpdate=v))}if(u!==null){var H=n.baseState;c=0,_=E=v=null,g=u;do{var T=g.lane&-536870913,L=T!==g.lane;if(L?(de&T)===T:(a&T)===T){T!==0&&T===va&&(di=!0),_!==null&&(_=_.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var $=e,I=g;T=t;var Te=l;switch(I.tag){case 1:if($=I.payload,typeof $=="function"){H=$.call(Te,H,T);break e}H=$;break e;case 3:$.flags=$.flags&-65537|128;case 0:if($=I.payload,T=typeof $=="function"?$.call(Te,H,T):$,T==null)break e;H=M({},H,T);break e;case 2:dl=!0}}T=g.callback,T!==null&&(e.flags|=64,L&&(e.flags|=8192),L=n.callbacks,L===null?n.callbacks=[T]:L.push(T))}else L={lane:T,tag:g.tag,payload:g.payload,callback:g.callback,next:null},_===null?(E=_=L,v=H):_=_.next=L,c|=T;if(g=g.next,g===null){if(g=n.shared.pending,g===null)break;L=g,g=L.next,L.next=null,n.lastBaseUpdate=L,n.shared.pending=null}}while(!0);_===null&&(v=H),n.baseState=v,n.firstBaseUpdate=E,n.lastBaseUpdate=_,u===null&&(n.shared.lanes=0),xl|=c,e.lanes=c,e.memoizedState=H}}function go(e,t){if(typeof e!="function")throw Error(o(191,e));e.call(t)}function ho(e,t){var l=e.callbacks;if(l!==null)for(e.callbacks=null,e=0;e<l.length;e++)go(l[e],t)}var Sa=b(null),g1=b(0);function po(e,t){e=tl,X(g1,e),X(Sa,t),tl=e|t.baseLanes}function gi(){X(g1,tl),X(Sa,Sa.current)}function hi(){tl=g1.current,N(Sa),N(g1)}var yt=b(null),Lt=null;function pl(e){var t=e.alternate;X(Ue,Ue.current&1),X(yt,e),Lt===null&&(t===null||Sa.current!==null||t.memoizedState!==null)&&(Lt=e)}function pi(e){X(Ue,Ue.current),X(yt,e),Lt===null&&(Lt=e)}function mo(e){e.tag===22?(X(Ue,Ue.current),X(yt,e),Lt===null&&(Lt=e)):ml()}function ml(){X(Ue,Ue.current),X(yt,yt.current)}function vt(e){N(yt),Lt===e&&(Lt=null),N(Ue)}var Ue=b(0);function h1(e){for(var t=e;t!==null;){if(t.tag===13){var l=t.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||bc(l)||Sc(l)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Kt=0,ue=null,je=null,Ye=null,p1=!1,wa=!1,Wl=!1,m1=0,dn=0,ja=null,ds=0;function Ve(){throw Error(o(321))}function mi(e,t){if(t===null)return!1;for(var l=0;l<t.length&&l<e.length;l++)if(!pt(e[l],t[l]))return!1;return!0}function yi(e,t,l,a,n,u){return Kt=u,ue=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,O.H=e===null||e.memoizedState===null?Io:Oi,Wl=!1,u=l(a,n),Wl=!1,wa&&(u=vo(t,l,a,n)),yo(e),u}function yo(e){O.H=pn;var t=je!==null&&je.next!==null;if(Kt=0,Ye=je=ue=null,p1=!1,dn=0,ja=null,t)throw Error(o(300));e===null||qe||(e=e.dependencies,e!==null&&i1(e)&&(qe=!0))}function vo(e,t,l,a){ue=e;var n=0;do{if(wa&&(ja=null),dn=0,wa=!1,25<=n)throw Error(o(301));if(n+=1,Ye=je=null,e.updateQueue!=null){var u=e.updateQueue;u.lastEffect=null,u.events=null,u.stores=null,u.memoCache!=null&&(u.memoCache.index=0)}O.H=er,u=t(l,a)}while(wa);return u}function gs(){var e=O.H,t=e.useState()[0];return t=typeof t.then=="function"?gn(t):t,e=e.useState()[0],(je!==null?je.memoizedState:null)!==e&&(ue.flags|=1024),t}function vi(){var e=m1!==0;return m1=0,e}function xi(e,t,l){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l}function Ci(e){if(p1){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}p1=!1}Kt=0,Ye=je=ue=null,wa=!1,dn=m1=0,ja=null}function lt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?ue.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Ze(){if(je===null){var e=ue.alternate;e=e!==null?e.memoizedState:null}else e=je.next;var t=Ye===null?ue.memoizedState:Ye.next;if(t!==null)Ye=t,je=e;else{if(e===null)throw ue.alternate===null?Error(o(467)):Error(o(310));je=e,e={memoizedState:je.memoizedState,baseState:je.baseState,baseQueue:je.baseQueue,queue:je.queue,next:null},Ye===null?ue.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function y1(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function gn(e){var t=dn;return dn+=1,ja===null&&(ja=[]),e=co(ja,e,t),t=ue,(Ye===null?t.memoizedState:Ye.next)===null&&(t=t.alternate,O.H=t===null||t.memoizedState===null?Io:Oi),e}function v1(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return gn(e);if(e.$$typeof===W)return We(e)}throw Error(o(438,String(e)))}function bi(e){var t=null,l=ue.updateQueue;if(l!==null&&(t=l.memoCache),t==null){var a=ue.alternate;a!==null&&(a=a.updateQueue,a!==null&&(a=a.memoCache,a!=null&&(t={data:a.data.map(function(n){return n.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),l===null&&(l=y1(),ue.updateQueue=l),l.memoCache=t,l=t.data[t.index],l===void 0)for(l=t.data[t.index]=Array(e),a=0;a<e;a++)l[a]=U;return t.index++,l}function Jt(e,t){return typeof t=="function"?t(e):t}function x1(e){var t=Ze();return Si(t,je,e)}function Si(e,t,l){var a=e.queue;if(a===null)throw Error(o(311));a.lastRenderedReducer=l;var n=e.baseQueue,u=a.pending;if(u!==null){if(n!==null){var c=n.next;n.next=u.next,u.next=c}t.baseQueue=n=u,a.pending=null}if(u=e.baseState,n===null)e.memoizedState=u;else{t=n.next;var g=c=null,v=null,E=t,_=!1;do{var H=E.lane&-536870913;if(H!==E.lane?(de&H)===H:(Kt&H)===H){var T=E.revertLane;if(T===0)v!==null&&(v=v.next={lane:0,revertLane:0,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null}),H===va&&(_=!0);else if((Kt&T)===T){E=E.next,T===va&&(_=!0);continue}else H={lane:0,revertLane:E.revertLane,gesture:null,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},v===null?(g=v=H,c=u):v=v.next=H,ue.lanes|=T,xl|=T;H=E.action,Wl&&l(u,H),u=E.hasEagerState?E.eagerState:l(u,H)}else T={lane:H,revertLane:E.revertLane,gesture:E.gesture,action:E.action,hasEagerState:E.hasEagerState,eagerState:E.eagerState,next:null},v===null?(g=v=T,c=u):v=v.next=T,ue.lanes|=H,xl|=H;E=E.next}while(E!==null&&E!==t);if(v===null?c=u:v.next=g,!pt(u,e.memoizedState)&&(qe=!0,_&&(l=xa,l!==null)))throw l;e.memoizedState=u,e.baseState=c,e.baseQueue=v,a.lastRenderedState=u}return n===null&&(a.lanes=0),[e.memoizedState,a.dispatch]}function wi(e){var t=Ze(),l=t.queue;if(l===null)throw Error(o(311));l.lastRenderedReducer=e;var a=l.dispatch,n=l.pending,u=t.memoizedState;if(n!==null){l.pending=null;var c=n=n.next;do u=e(u,c.action),c=c.next;while(c!==n);pt(u,t.memoizedState)||(qe=!0),t.memoizedState=u,t.baseQueue===null&&(t.baseState=u),l.lastRenderedState=u}return[u,a]}function xo(e,t,l){var a=ue,n=Ze(),u=he;if(u){if(l===void 0)throw Error(o(407));l=l()}else l=t();var c=!pt((je||n).memoizedState,l);if(c&&(n.memoizedState=l,qe=!0),n=n.queue,Ti(So.bind(null,a,n,e),[e]),n.getSnapshot!==t||c||Ye!==null&&Ye.memoizedState.tag&1){if(a.flags|=2048,Ea(9,{destroy:void 0},bo.bind(null,a,n,l,t),null),ze===null)throw Error(o(349));u||(Kt&127)!==0||Co(a,t,l)}return l}function Co(e,t,l){e.flags|=16384,e={getSnapshot:t,value:l},t=ue.updateQueue,t===null?(t=y1(),ue.updateQueue=t,t.stores=[e]):(l=t.stores,l===null?t.stores=[e]:l.push(e))}function bo(e,t,l,a){t.value=l,t.getSnapshot=a,wo(t)&&jo(e)}function So(e,t,l){return l(function(){wo(t)&&jo(e)})}function wo(e){var t=e.getSnapshot;e=e.value;try{var l=t();return!pt(e,l)}catch{return!0}}function jo(e){var t=Yl(e,2);t!==null&&st(t,e,2)}function ji(e){var t=lt();if(typeof e=="function"){var l=e;if(e=l(),Wl){ul(!0);try{l()}finally{ul(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:e},t}function Eo(e,t,l,a){return e.baseState=l,Si(e,je,typeof a=="function"?a:Jt)}function hs(e,t,l,a,n){if(S1(e))throw Error(o(485));if(e=t.action,e!==null){var u={payload:n,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(c){u.listeners.push(c)}};O.T!==null?l(!0):u.isTransition=!1,a(u),l=t.pending,l===null?(u.next=t.pending=u,To(t,u)):(u.next=l.next,t.pending=l.next=u)}}function To(e,t){var l=t.action,a=t.payload,n=e.state;if(t.isTransition){var u=O.T,c={};O.T=c;try{var g=l(n,a),v=O.S;v!==null&&v(c,g),Mo(e,t,g)}catch(E){Ei(e,t,E)}finally{u!==null&&c.types!==null&&(u.types=c.types),O.T=u}}else try{u=l(n,a),Mo(e,t,u)}catch(E){Ei(e,t,E)}}function Mo(e,t,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(a){zo(e,t,a)},function(a){return Ei(e,t,a)}):zo(e,t,l)}function zo(e,t,l){t.status="fulfilled",t.value=l,Lo(t),e.state=l,t=e.pending,t!==null&&(l=t.next,l===t?e.pending=null:(l=l.next,t.next=l,To(e,l)))}function Ei(e,t,l){var a=e.pending;if(e.pending=null,a!==null){a=a.next;do t.status="rejected",t.reason=l,Lo(t),t=t.next;while(t!==a)}e.action=null}function Lo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Ro(e,t){return t}function _o(e,t){if(he){var l=ze.formState;if(l!==null){e:{var a=ue;if(he){if(Le){t:{for(var n=Le,u=zt;n.nodeType!==8;){if(!u){n=null;break t}if(n=Rt(n.nextSibling),n===null){n=null;break t}}u=n.data,n=u==="F!"||u==="F"?n:null}if(n){Le=Rt(n.nextSibling),a=n.data==="F!";break e}}fl(a)}a=!1}a&&(t=l[0])}}return l=lt(),l.memoizedState=l.baseState=t,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ro,lastRenderedState:t},l.queue=a,l=Wo.bind(null,ue,a),a.dispatch=l,a=ji(!1),u=_i.bind(null,ue,!1,a.queue),a=lt(),n={state:t,dispatch:null,action:e,pending:null},a.queue=n,l=hs.bind(null,ue,n,u,l),n.dispatch=l,a.memoizedState=e,[t,l,!1]}function Oo(e){var t=Ze();return Ao(t,je,e)}function Ao(e,t,l){if(t=Si(e,t,Ro)[0],e=x1(Jt)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var a=gn(t)}catch(c){throw c===Ca?r1:c}else a=t;t=Ze();var n=t.queue,u=n.dispatch;return l!==t.memoizedState&&(ue.flags|=2048,Ea(9,{destroy:void 0},ps.bind(null,n,l),null)),[a,u,e]}function ps(e,t){e.action=t}function Ho(e){var t=Ze(),l=je;if(l!==null)return Ao(t,l,e);Ze(),t=t.memoizedState,l=Ze();var a=l.queue.dispatch;return l.memoizedState=e,[t,a,!1]}function Ea(e,t,l,a){return e={tag:e,create:l,deps:a,inst:t,next:null},t=ue.updateQueue,t===null&&(t=y1(),ue.updateQueue=t),l=t.lastEffect,l===null?t.lastEffect=e.next=e:(a=l.next,l.next=e,e.next=a,t.lastEffect=e),e}function Vo(){return Ze().memoizedState}function C1(e,t,l,a){var n=lt();ue.flags|=e,n.memoizedState=Ea(1|t,{destroy:void 0},l,a===void 0?null:a)}function b1(e,t,l,a){var n=Ze();a=a===void 0?null:a;var u=n.memoizedState.inst;je!==null&&a!==null&&mi(a,je.memoizedState.deps)?n.memoizedState=Ea(t,u,l,a):(ue.flags|=e,n.memoizedState=Ea(1|t,u,l,a))}function No(e,t){C1(8390656,8,e,t)}function Ti(e,t){b1(2048,8,e,t)}function ms(e){ue.flags|=4;var t=ue.updateQueue;if(t===null)t=y1(),ue.updateQueue=t,t.events=[e];else{var l=t.events;l===null?t.events=[e]:l.push(e)}}function Do(e){var t=Ze().memoizedState;return ms({ref:t,nextImpl:e}),function(){if((xe&2)!==0)throw Error(o(440));return t.impl.apply(void 0,arguments)}}function Uo(e,t){return b1(4,2,e,t)}function Zo(e,t){return b1(4,4,e,t)}function Bo(e,t){if(typeof t=="function"){e=e();var l=t(e);return function(){typeof l=="function"?l():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Yo(e,t,l){l=l!=null?l.concat([e]):null,b1(4,4,Bo.bind(null,t,e),l)}function Mi(){}function qo(e,t){var l=Ze();t=t===void 0?null:t;var a=l.memoizedState;return t!==null&&mi(t,a[1])?a[0]:(l.memoizedState=[e,t],e)}function Xo(e,t){var l=Ze();t=t===void 0?null:t;var a=l.memoizedState;if(t!==null&&mi(t,a[1]))return a[0];if(a=e(),Wl){ul(!0);try{e()}finally{ul(!1)}}return l.memoizedState=[a,t],a}function zi(e,t,l){return l===void 0||(Kt&1073741824)!==0&&(de&261930)===0?e.memoizedState=t:(e.memoizedState=l,e=Gr(),ue.lanes|=e,xl|=e,l)}function Go(e,t,l,a){return pt(l,t)?l:Sa.current!==null?(e=zi(e,l,a),pt(e,t)||(qe=!0),e):(Kt&42)===0||(Kt&1073741824)!==0&&(de&261930)===0?(qe=!0,e.memoizedState=l):(e=Gr(),ue.lanes|=e,xl|=e,t)}function $o(e,t,l,a,n){var u=Y.p;Y.p=u!==0&&8>u?u:8;var c=O.T,g={};O.T=g,_i(e,!1,t,l);try{var v=n(),E=O.S;if(E!==null&&E(g,v),v!==null&&typeof v=="object"&&typeof v.then=="function"){var _=ss(v,a);hn(e,t,_,bt(e))}else hn(e,t,a,bt(e))}catch(H){hn(e,t,{then:function(){},status:"rejected",reason:H},bt())}finally{Y.p=u,c!==null&&g.types!==null&&(c.types=g.types),O.T=c}}function ys(){}function Li(e,t,l,a){if(e.tag!==5)throw Error(o(476));var n=Qo(e).queue;$o(e,n,t,ee,l===null?ys:function(){return Ko(e),l(a)})}function Qo(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:ee,baseState:ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:ee},next:null};var l={};return t.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jt,lastRenderedState:l},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Ko(e){var t=Qo(e);t.next===null&&(t=e.alternate.memoizedState),hn(e,t.next.queue,{},bt())}function Ri(){return We(_n)}function Jo(){return Ze().memoizedState}function ko(){return Ze().memoizedState}function vs(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var l=bt();e=gl(l);var a=hl(t,e,l);a!==null&&(st(a,t,l),rn(a,t,l)),t={cache:ui()},e.payload=t;return}t=t.return}}function xs(e,t,l){var a=bt();l={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},S1(e)?Fo(t,l):(l=Ju(e,t,l,a),l!==null&&(st(l,e,a),Po(l,t,a)))}function Wo(e,t,l){var a=bt();hn(e,t,l,a)}function hn(e,t,l,a){var n={lane:a,revertLane:0,gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null};if(S1(e))Fo(t,n);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var c=t.lastRenderedState,g=u(c,l);if(n.hasEagerState=!0,n.eagerState=g,pt(g,c))return l1(e,t,n,0),ze===null&&t1(),!1}catch{}finally{}if(l=Ju(e,t,n,a),l!==null)return st(l,e,a),Po(l,t,a),!0}return!1}function _i(e,t,l,a){if(a={lane:2,revertLane:rc(),gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},S1(e)){if(t)throw Error(o(479))}else t=Ju(e,l,a,2),t!==null&&st(t,e,2)}function S1(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Fo(e,t){wa=p1=!0;var l=e.pending;l===null?t.next=t:(t.next=l.next,l.next=t),e.pending=t}function Po(e,t,l){if((l&4194048)!==0){var a=t.lanes;a&=e.pendingLanes,l|=a,t.lanes=l,l9(e,l)}}var pn={readContext:We,use:v1,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useLayoutEffect:Ve,useInsertionEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useSyncExternalStore:Ve,useId:Ve,useHostTransitionStatus:Ve,useFormState:Ve,useActionState:Ve,useOptimistic:Ve,useMemoCache:Ve,useCacheRefresh:Ve};pn.useEffectEvent=Ve;var Io={readContext:We,use:v1,useCallback:function(e,t){return lt().memoizedState=[e,t===void 0?null:t],e},useContext:We,useEffect:No,useImperativeHandle:function(e,t,l){l=l!=null?l.concat([e]):null,C1(4194308,4,Bo.bind(null,t,e),l)},useLayoutEffect:function(e,t){return C1(4194308,4,e,t)},useInsertionEffect:function(e,t){C1(4,2,e,t)},useMemo:function(e,t){var l=lt();t=t===void 0?null:t;var a=e();if(Wl){ul(!0);try{e()}finally{ul(!1)}}return l.memoizedState=[a,t],a},useReducer:function(e,t,l){var a=lt();if(l!==void 0){var n=l(t);if(Wl){ul(!0);try{l(t)}finally{ul(!1)}}}else n=t;return a.memoizedState=a.baseState=n,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=xs.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=lt();return e={current:e},t.memoizedState=e},useState:function(e){e=ji(e);var t=e.queue,l=Wo.bind(null,ue,t);return t.dispatch=l,[e.memoizedState,l]},useDebugValue:Mi,useDeferredValue:function(e,t){var l=lt();return zi(l,e,t)},useTransition:function(){var e=ji(!1);return e=$o.bind(null,ue,e.queue,!0,!1),lt().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,l){var a=ue,n=lt();if(he){if(l===void 0)throw Error(o(407));l=l()}else{if(l=t(),ze===null)throw Error(o(349));(de&127)!==0||Co(a,t,l)}n.memoizedState=l;var u={value:l,getSnapshot:t};return n.queue=u,No(So.bind(null,a,u,e),[e]),a.flags|=2048,Ea(9,{destroy:void 0},bo.bind(null,a,u,l,t),null),l},useId:function(){var e=lt(),t=ze.identifierPrefix;if(he){var l=Dt,a=Nt;l=(a&~(1<<32-ht(a)-1)).toString(32)+l,t="_"+t+"R_"+l,l=m1++,0<l&&(t+="H"+l.toString(32)),t+="_"}else l=ds++,t="_"+t+"r_"+l.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:Ri,useFormState:_o,useActionState:_o,useOptimistic:function(e){var t=lt();t.memoizedState=t.baseState=e;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=l,t=_i.bind(null,ue,!0,l),l.dispatch=t,[e,t]},useMemoCache:bi,useCacheRefresh:function(){return lt().memoizedState=vs.bind(null,ue)},useEffectEvent:function(e){var t=lt(),l={impl:e};return t.memoizedState=l,function(){if((xe&2)!==0)throw Error(o(440));return l.impl.apply(void 0,arguments)}}},Oi={readContext:We,use:v1,useCallback:qo,useContext:We,useEffect:Ti,useImperativeHandle:Yo,useInsertionEffect:Uo,useLayoutEffect:Zo,useMemo:Xo,useReducer:x1,useRef:Vo,useState:function(){return x1(Jt)},useDebugValue:Mi,useDeferredValue:function(e,t){var l=Ze();return Go(l,je.memoizedState,e,t)},useTransition:function(){var e=x1(Jt)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:gn(e),t]},useSyncExternalStore:xo,useId:Jo,useHostTransitionStatus:Ri,useFormState:Oo,useActionState:Oo,useOptimistic:function(e,t){var l=Ze();return Eo(l,je,e,t)},useMemoCache:bi,useCacheRefresh:ko};Oi.useEffectEvent=Do;var er={readContext:We,use:v1,useCallback:qo,useContext:We,useEffect:Ti,useImperativeHandle:Yo,useInsertionEffect:Uo,useLayoutEffect:Zo,useMemo:Xo,useReducer:wi,useRef:Vo,useState:function(){return wi(Jt)},useDebugValue:Mi,useDeferredValue:function(e,t){var l=Ze();return je===null?zi(l,e,t):Go(l,je.memoizedState,e,t)},useTransition:function(){var e=wi(Jt)[0],t=Ze().memoizedState;return[typeof e=="boolean"?e:gn(e),t]},useSyncExternalStore:xo,useId:Jo,useHostTransitionStatus:Ri,useFormState:Ho,useActionState:Ho,useOptimistic:function(e,t){var l=Ze();return je!==null?Eo(l,je,e,t):(l.baseState=e,[e,l.queue.dispatch])},useMemoCache:bi,useCacheRefresh:ko};er.useEffectEvent=Do;function Ai(e,t,l,a){t=e.memoizedState,l=l(a,t),l=l==null?t:M({},t,l),e.memoizedState=l,e.lanes===0&&(e.updateQueue.baseState=l)}var Hi={enqueueSetState:function(e,t,l){e=e._reactInternals;var a=bt(),n=gl(a);n.payload=t,l!=null&&(n.callback=l),t=hl(e,n,a),t!==null&&(st(t,e,a),rn(t,e,a))},enqueueReplaceState:function(e,t,l){e=e._reactInternals;var a=bt(),n=gl(a);n.tag=1,n.payload=t,l!=null&&(n.callback=l),t=hl(e,n,a),t!==null&&(st(t,e,a),rn(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var l=bt(),a=gl(l);a.tag=2,t!=null&&(a.callback=t),t=hl(e,a,l),t!==null&&(st(t,e,l),rn(t,e,l))}};function tr(e,t,l,a,n,u,c){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,u,c):t.prototype&&t.prototype.isPureReactComponent?!en(l,a)||!en(n,u):!0}function lr(e,t,l,a){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(l,a),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(l,a),t.state!==e&&Hi.enqueueReplaceState(t,t.state,null)}function Fl(e,t){var l=t;if("ref"in t){l={};for(var a in t)a!=="ref"&&(l[a]=t[a])}if(e=e.defaultProps){l===t&&(l=M({},l));for(var n in e)l[n]===void 0&&(l[n]=e[n])}return l}function ar(e){e1(e)}function nr(e){console.error(e)}function ur(e){e1(e)}function w1(e,t){try{var l=e.onUncaughtError;l(t.value,{componentStack:t.stack})}catch(a){setTimeout(function(){throw a})}}function ir(e,t,l){try{var a=e.onCaughtError;a(l.value,{componentStack:l.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(n){setTimeout(function(){throw n})}}function Vi(e,t,l){return l=gl(l),l.tag=3,l.payload={element:null},l.callback=function(){w1(e,t)},l}function cr(e){return e=gl(e),e.tag=3,e}function or(e,t,l,a){var n=l.type.getDerivedStateFromError;if(typeof n=="function"){var u=a.value;e.payload=function(){return n(u)},e.callback=function(){ir(t,l,a)}}var c=l.stateNode;c!==null&&typeof c.componentDidCatch=="function"&&(e.callback=function(){ir(t,l,a),typeof n!="function"&&(Cl===null?Cl=new Set([this]):Cl.add(this));var g=a.stack;this.componentDidCatch(a.value,{componentStack:g!==null?g:""})})}function Cs(e,t,l,a,n){if(l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){if(t=l.alternate,t!==null&&ya(t,l,n,!0),l=yt.current,l!==null){switch(l.tag){case 31:case 13:return Lt===null?V1():l.alternate===null&&Ne===0&&(Ne=3),l.flags&=-257,l.flags|=65536,l.lanes=n,a===f1?l.flags|=16384:(t=l.updateQueue,t===null?l.updateQueue=new Set([a]):t.add(a),ic(e,a,n)),!1;case 22:return l.flags|=65536,a===f1?l.flags|=16384:(t=l.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},l.updateQueue=t):(l=t.retryQueue,l===null?t.retryQueue=new Set([a]):l.add(a)),ic(e,a,n)),!1}throw Error(o(435,l.tag))}return ic(e,a,n),V1(),!1}if(he)return t=yt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=n,a!==ei&&(e=Error(o(422),{cause:a}),an(Et(e,l)))):(a!==ei&&(t=Error(o(423),{cause:a}),an(Et(t,l))),e=e.current.alternate,e.flags|=65536,n&=-n,e.lanes|=n,a=Et(a,l),n=Vi(e.stateNode,a,n),si(e,n),Ne!==4&&(Ne=2)),!1;var u=Error(o(520),{cause:a});if(u=Et(u,l),wn===null?wn=[u]:wn.push(u),Ne!==4&&(Ne=2),t===null)return!0;a=Et(a,l),l=t;do{switch(l.tag){case 3:return l.flags|=65536,e=n&-n,l.lanes|=e,e=Vi(l.stateNode,a,e),si(l,e),!1;case 1:if(t=l.type,u=l.stateNode,(l.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||u!==null&&typeof u.componentDidCatch=="function"&&(Cl===null||!Cl.has(u))))return l.flags|=65536,n&=-n,l.lanes|=n,n=cr(n),or(n,e,l,a),si(l,n),!1}l=l.return}while(l!==null);return!1}var Ni=Error(o(461)),qe=!1;function Fe(e,t,l,a){t.child=e===null?so(t,null,l,a):kl(t,e.child,l,a)}function rr(e,t,l,a,n){l=l.render;var u=t.ref;if("ref"in a){var c={};for(var g in a)g!=="ref"&&(c[g]=a[g])}else c=a;return $l(t),a=yi(e,t,l,c,u,n),g=vi(),e!==null&&!qe?(xi(e,t,n),kt(e,t,n)):(he&&g&&Pu(t),t.flags|=1,Fe(e,t,a,n),t.child)}function fr(e,t,l,a,n){if(e===null){var u=l.type;return typeof u=="function"&&!ku(u)&&u.defaultProps===void 0&&l.compare===null?(t.tag=15,t.type=u,sr(e,t,u,a,n)):(e=n1(l.type,null,a,t,t.mode,n),e.ref=t.ref,e.return=t,t.child=e)}if(u=e.child,!Gi(e,n)){var c=u.memoizedProps;if(l=l.compare,l=l!==null?l:en,l(c,a)&&e.ref===t.ref)return kt(e,t,n)}return t.flags|=1,e=Xt(u,a),e.ref=t.ref,e.return=t,t.child=e}function sr(e,t,l,a,n){if(e!==null){var u=e.memoizedProps;if(en(u,a)&&e.ref===t.ref)if(qe=!1,t.pendingProps=a=u,Gi(e,n))(e.flags&131072)!==0&&(qe=!0);else return t.lanes=e.lanes,kt(e,t,n)}return Di(e,t,l,a,n)}function dr(e,t,l,a){var n=a.children,u=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.mode==="hidden"){if((t.flags&128)!==0){if(u=u!==null?u.baseLanes|l:l,e!==null){for(a=t.child=e.child,n=0;a!==null;)n=n|a.lanes|a.childLanes,a=a.sibling;a=n&~u}else a=0,t.child=null;return gr(e,t,u,l,a)}if((l&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&o1(t,u!==null?u.cachePool:null),u!==null?po(t,u):gi(),mo(t);else return a=t.lanes=536870912,gr(e,t,u!==null?u.baseLanes|l:l,l,a)}else u!==null?(o1(t,u.cachePool),po(t,u),ml(),t.memoizedState=null):(e!==null&&o1(t,null),gi(),ml());return Fe(e,t,n,l),t.child}function mn(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function gr(e,t,l,a,n){var u=ci();return u=u===null?null:{parent:Be._currentValue,pool:u},t.memoizedState={baseLanes:l,cachePool:u},e!==null&&o1(t,null),gi(),mo(t),e!==null&&ya(e,t,a,!0),t.childLanes=n,null}function j1(e,t){return t=T1({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function hr(e,t,l){return kl(t,e.child,null,l),e=j1(t,t.pendingProps),e.flags|=2,vt(t),t.memoizedState=null,e}function bs(e,t,l){var a=t.pendingProps,n=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(he){if(a.mode==="hidden")return e=j1(t,a),t.lanes=536870912,mn(null,e);if(pi(t),(e=Le)?(e=T0(e,zt),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ol!==null?{id:Nt,overflow:Dt}:null,retryLane:536870912,hydrationErrors:null},l=W9(e),l.return=t,t.child=l,ke=t,Le=null)):e=null,e===null)throw fl(t);return t.lanes=536870912,null}return j1(t,a)}var u=e.memoizedState;if(u!==null){var c=u.dehydrated;if(pi(t),n)if(t.flags&256)t.flags&=-257,t=hr(e,t,l);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(o(558));else if(qe||ya(e,t,l,!1),n=(l&e.childLanes)!==0,qe||n){if(a=ze,a!==null&&(c=a9(a,l),c!==0&&c!==u.retryLane))throw u.retryLane=c,Yl(e,c),st(a,e,c),Ni;V1(),t=hr(e,t,l)}else e=u.treeContext,Le=Rt(c.nextSibling),ke=t,he=!0,rl=null,zt=!1,e!==null&&I9(t,e),t=j1(t,a),t.flags|=4096;return t}return e=Xt(e.child,{mode:a.mode,children:a.children}),e.ref=t.ref,t.child=e,e.return=t,e}function E1(e,t){var l=t.ref;if(l===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(o(284));(e===null||e.ref!==l)&&(t.flags|=4194816)}}function Di(e,t,l,a,n){return $l(t),l=yi(e,t,l,a,void 0,n),a=vi(),e!==null&&!qe?(xi(e,t,n),kt(e,t,n)):(he&&a&&Pu(t),t.flags|=1,Fe(e,t,l,n),t.child)}function pr(e,t,l,a,n,u){return $l(t),t.updateQueue=null,l=vo(t,a,l,n),yo(e),a=vi(),e!==null&&!qe?(xi(e,t,u),kt(e,t,u)):(he&&a&&Pu(t),t.flags|=1,Fe(e,t,l,u),t.child)}function mr(e,t,l,a,n){if($l(t),t.stateNode===null){var u=ga,c=l.contextType;typeof c=="object"&&c!==null&&(u=We(c)),u=new l(a,u),t.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Hi,t.stateNode=u,u._reactInternals=t,u=t.stateNode,u.props=a,u.state=t.memoizedState,u.refs={},ri(t),c=l.contextType,u.context=typeof c=="object"&&c!==null?We(c):ga,u.state=t.memoizedState,c=l.getDerivedStateFromProps,typeof c=="function"&&(Ai(t,l,c,a),u.state=t.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof u.getSnapshotBeforeUpdate=="function"||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(c=u.state,typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount(),c!==u.state&&Hi.enqueueReplaceState(u,u.state,null),sn(t,a,u,n),fn(),u.state=t.memoizedState),typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!0}else if(e===null){u=t.stateNode;var g=t.memoizedProps,v=Fl(l,g);u.props=v;var E=u.context,_=l.contextType;c=ga,typeof _=="object"&&_!==null&&(c=We(_));var H=l.getDerivedStateFromProps;_=typeof H=="function"||typeof u.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,_||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(g||E!==c)&&lr(t,u,a,c),dl=!1;var T=t.memoizedState;u.state=T,sn(t,a,u,n),fn(),E=t.memoizedState,g||T!==E||dl?(typeof H=="function"&&(Ai(t,l,H,a),E=t.memoizedState),(v=dl||tr(t,l,v,a,T,E,c))?(_||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(t.flags|=4194308)):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=a,t.memoizedState=E),u.props=a,u.state=E,u.context=c,a=v):(typeof u.componentDidMount=="function"&&(t.flags|=4194308),a=!1)}else{u=t.stateNode,fi(e,t),c=t.memoizedProps,_=Fl(l,c),u.props=_,H=t.pendingProps,T=u.context,E=l.contextType,v=ga,typeof E=="object"&&E!==null&&(v=We(E)),g=l.getDerivedStateFromProps,(E=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(c!==H||T!==v)&&lr(t,u,a,v),dl=!1,T=t.memoizedState,u.state=T,sn(t,a,u,n),fn();var L=t.memoizedState;c!==H||T!==L||dl||e!==null&&e.dependencies!==null&&i1(e.dependencies)?(typeof g=="function"&&(Ai(t,l,g,a),L=t.memoizedState),(_=dl||tr(t,l,_,a,T,L,v)||e!==null&&e.dependencies!==null&&i1(e.dependencies))?(E||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(a,L,v),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(a,L,v)),typeof u.componentDidUpdate=="function"&&(t.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=1024),t.memoizedProps=a,t.memoizedState=L),u.props=a,u.state=L,u.context=v,a=_):(typeof u.componentDidUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||c===e.memoizedProps&&T===e.memoizedState||(t.flags|=1024),a=!1)}return u=a,E1(e,t),a=(t.flags&128)!==0,u||a?(u=t.stateNode,l=a&&typeof l.getDerivedStateFromError!="function"?null:u.render(),t.flags|=1,e!==null&&a?(t.child=kl(t,e.child,null,n),t.child=kl(t,null,l,n)):Fe(e,t,l,n),t.memoizedState=u.state,e=t.child):e=kt(e,t,n),e}function yr(e,t,l,a){return Xl(),t.flags|=256,Fe(e,t,l,a),t.child}var Ui={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Zi(e){return{baseLanes:e,cachePool:uo()}}function Bi(e,t,l){return e=e!==null?e.childLanes&~l:0,t&&(e|=Ct),e}function vr(e,t,l){var a=t.pendingProps,n=!1,u=(t.flags&128)!==0,c;if((c=u)||(c=e!==null&&e.memoizedState===null?!1:(Ue.current&2)!==0),c&&(n=!0,t.flags&=-129),c=(t.flags&32)!==0,t.flags&=-33,e===null){if(he){if(n?pl(t):ml(),(e=Le)?(e=T0(e,zt),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ol!==null?{id:Nt,overflow:Dt}:null,retryLane:536870912,hydrationErrors:null},l=W9(e),l.return=t,t.child=l,ke=t,Le=null)):e=null,e===null)throw fl(t);return Sc(e)?t.lanes=32:t.lanes=536870912,null}var g=a.children;return a=a.fallback,n?(ml(),n=t.mode,g=T1({mode:"hidden",children:g},n),a=ql(a,n,l,null),g.return=t,a.return=t,g.sibling=a,t.child=g,a=t.child,a.memoizedState=Zi(l),a.childLanes=Bi(e,c,l),t.memoizedState=Ui,mn(null,a)):(pl(t),Yi(t,g))}var v=e.memoizedState;if(v!==null&&(g=v.dehydrated,g!==null)){if(u)t.flags&256?(pl(t),t.flags&=-257,t=qi(e,t,l)):t.memoizedState!==null?(ml(),t.child=e.child,t.flags|=128,t=null):(ml(),g=a.fallback,n=t.mode,a=T1({mode:"visible",children:a.children},n),g=ql(g,n,l,null),g.flags|=2,a.return=t,g.return=t,a.sibling=g,t.child=a,kl(t,e.child,null,l),a=t.child,a.memoizedState=Zi(l),a.childLanes=Bi(e,c,l),t.memoizedState=Ui,t=mn(null,a));else if(pl(t),Sc(g)){if(c=g.nextSibling&&g.nextSibling.dataset,c)var E=c.dgst;c=E,a=Error(o(419)),a.stack="",a.digest=c,an({value:a,source:null,stack:null}),t=qi(e,t,l)}else if(qe||ya(e,t,l,!1),c=(l&e.childLanes)!==0,qe||c){if(c=ze,c!==null&&(a=a9(c,l),a!==0&&a!==v.retryLane))throw v.retryLane=a,Yl(e,a),st(c,e,a),Ni;bc(g)||V1(),t=qi(e,t,l)}else bc(g)?(t.flags|=192,t.child=e.child,t=null):(e=v.treeContext,Le=Rt(g.nextSibling),ke=t,he=!0,rl=null,zt=!1,e!==null&&I9(t,e),t=Yi(t,a.children),t.flags|=4096);return t}return n?(ml(),g=a.fallback,n=t.mode,v=e.child,E=v.sibling,a=Xt(v,{mode:"hidden",children:a.children}),a.subtreeFlags=v.subtreeFlags&65011712,E!==null?g=Xt(E,g):(g=ql(g,n,l,null),g.flags|=2),g.return=t,a.return=t,a.sibling=g,t.child=a,mn(null,a),a=t.child,g=e.child.memoizedState,g===null?g=Zi(l):(n=g.cachePool,n!==null?(v=Be._currentValue,n=n.parent!==v?{parent:v,pool:v}:n):n=uo(),g={baseLanes:g.baseLanes|l,cachePool:n}),a.memoizedState=g,a.childLanes=Bi(e,c,l),t.memoizedState=Ui,mn(e.child,a)):(pl(t),l=e.child,e=l.sibling,l=Xt(l,{mode:"visible",children:a.children}),l.return=t,l.sibling=null,e!==null&&(c=t.deletions,c===null?(t.deletions=[e],t.flags|=16):c.push(e)),t.child=l,t.memoizedState=null,l)}function Yi(e,t){return t=T1({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function T1(e,t){return e=mt(22,e,null,t),e.lanes=0,e}function qi(e,t,l){return kl(t,e.child,null,l),e=Yi(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xr(e,t,l){e.lanes|=t;var a=e.alternate;a!==null&&(a.lanes|=t),ai(e.return,t,l)}function Xi(e,t,l,a,n,u){var c=e.memoizedState;c===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:l,tailMode:n,treeForkCount:u}:(c.isBackwards=t,c.rendering=null,c.renderingStartTime=0,c.last=a,c.tail=l,c.tailMode=n,c.treeForkCount=u)}function Cr(e,t,l){var a=t.pendingProps,n=a.revealOrder,u=a.tail;a=a.children;var c=Ue.current,g=(c&2)!==0;if(g?(c=c&1|2,t.flags|=128):c&=1,X(Ue,c),Fe(e,t,a,l),a=he?ln:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xr(e,l,t);else if(e.tag===19)xr(e,l,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(n){case"forwards":for(l=t.child,n=null;l!==null;)e=l.alternate,e!==null&&h1(e)===null&&(n=l),l=l.sibling;l=n,l===null?(n=t.child,t.child=null):(n=l.sibling,l.sibling=null),Xi(t,!1,n,l,u,a);break;case"backwards":case"unstable_legacy-backwards":for(l=null,n=t.child,t.child=null;n!==null;){if(e=n.alternate,e!==null&&h1(e)===null){t.child=n;break}e=n.sibling,n.sibling=l,l=n,n=e}Xi(t,!0,l,null,u,a);break;case"together":Xi(t,!1,null,null,void 0,a);break;default:t.memoizedState=null}return t.child}function kt(e,t,l){if(e!==null&&(t.dependencies=e.dependencies),xl|=t.lanes,(l&t.childLanes)===0)if(e!==null){if(ya(e,t,l,!1),(l&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(o(153));if(t.child!==null){for(e=t.child,l=Xt(e,e.pendingProps),t.child=l,l.return=t;e.sibling!==null;)e=e.sibling,l=l.sibling=Xt(e,e.pendingProps),l.return=t;l.sibling=null}return t.child}function Gi(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&i1(e)))}function Ss(e,t,l){switch(t.tag){case 3:tt(t,t.stateNode.containerInfo),sl(t,Be,e.memoizedState.cache),Xl();break;case 27:case 5:Ya(t);break;case 4:tt(t,t.stateNode.containerInfo);break;case 10:sl(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,pi(t),null;break;case 13:var a=t.memoizedState;if(a!==null)return a.dehydrated!==null?(pl(t),t.flags|=128,null):(l&t.child.childLanes)!==0?vr(e,t,l):(pl(t),e=kt(e,t,l),e!==null?e.sibling:null);pl(t);break;case 19:var n=(e.flags&128)!==0;if(a=(l&t.childLanes)!==0,a||(ya(e,t,l,!1),a=(l&t.childLanes)!==0),n){if(a)return Cr(e,t,l);t.flags|=128}if(n=t.memoizedState,n!==null&&(n.rendering=null,n.tail=null,n.lastEffect=null),X(Ue,Ue.current),a)break;return null;case 22:return t.lanes=0,dr(e,t,l,t.pendingProps);case 24:sl(t,Be,e.memoizedState.cache)}return kt(e,t,l)}function br(e,t,l){if(e!==null)if(e.memoizedProps!==t.pendingProps)qe=!0;else{if(!Gi(e,l)&&(t.flags&128)===0)return qe=!1,Ss(e,t,l);qe=(e.flags&131072)!==0}else qe=!1,he&&(t.flags&1048576)!==0&&P9(t,ln,t.index);switch(t.lanes=0,t.tag){case 16:e:{var a=t.pendingProps;if(e=Kl(t.elementType),t.type=e,typeof e=="function")ku(e)?(a=Fl(e,a),t.tag=1,t=mr(null,t,e,a,l)):(t.tag=0,t=Di(null,t,e,a,l));else{if(e!=null){var n=e.$$typeof;if(n===te){t.tag=11,t=rr(null,t,e,a,l);break e}else if(n===K){t.tag=14,t=fr(null,t,e,a,l);break e}}throw t=oe(e)||e,Error(o(306,t,""))}}return t;case 0:return Di(e,t,t.type,t.pendingProps,l);case 1:return a=t.type,n=Fl(a,t.pendingProps),mr(e,t,a,n,l);case 3:e:{if(tt(t,t.stateNode.containerInfo),e===null)throw Error(o(387));a=t.pendingProps;var u=t.memoizedState;n=u.element,fi(e,t),sn(t,a,null,l);var c=t.memoizedState;if(a=c.cache,sl(t,Be,a),a!==u.cache&&ni(t,[Be],l,!0),fn(),a=c.element,u.isDehydrated)if(u={element:a,isDehydrated:!1,cache:c.cache},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){t=yr(e,t,a,l);break e}else if(a!==n){n=Et(Error(o(424)),t),an(n),t=yr(e,t,a,l);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(Le=Rt(e.firstChild),ke=t,he=!0,rl=null,zt=!0,l=so(t,null,a,l),t.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(Xl(),a===n){t=kt(e,t,l);break e}Fe(e,t,a,l)}t=t.child}return t;case 26:return E1(e,t),e===null?(l=O0(t.type,null,t.pendingProps,null))?t.memoizedState=l:he||(l=t.type,e=t.pendingProps,a=q1(re.current).createElement(l),a[Je]=t,a[ut]=e,Pe(a,l,e),$e(a),t.stateNode=a):t.memoizedState=O0(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Ya(t),e===null&&he&&(a=t.stateNode=L0(t.type,t.pendingProps,re.current),ke=t,zt=!0,n=Le,jl(t.type)?(wc=n,Le=Rt(a.firstChild)):Le=n),Fe(e,t,t.pendingProps.children,l),E1(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&he&&((n=a=Le)&&(a=Ps(a,t.type,t.pendingProps,zt),a!==null?(t.stateNode=a,ke=t,Le=Rt(a.firstChild),zt=!1,n=!0):n=!1),n||fl(t)),Ya(t),n=t.type,u=t.pendingProps,c=e!==null?e.memoizedProps:null,a=u.children,vc(n,u)?a=null:c!==null&&vc(n,c)&&(t.flags|=32),t.memoizedState!==null&&(n=yi(e,t,gs,null,null,l),_n._currentValue=n),E1(e,t),Fe(e,t,a,l),t.child;case 6:return e===null&&he&&((e=l=Le)&&(l=Is(l,t.pendingProps,zt),l!==null?(t.stateNode=l,ke=t,Le=null,e=!0):e=!1),e||fl(t)),null;case 13:return vr(e,t,l);case 4:return tt(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=kl(t,null,a,l):Fe(e,t,a,l),t.child;case 11:return rr(e,t,t.type,t.pendingProps,l);case 7:return Fe(e,t,t.pendingProps,l),t.child;case 8:return Fe(e,t,t.pendingProps.children,l),t.child;case 12:return Fe(e,t,t.pendingProps.children,l),t.child;case 10:return a=t.pendingProps,sl(t,t.type,a.value),Fe(e,t,a.children,l),t.child;case 9:return n=t.type._context,a=t.pendingProps.children,$l(t),n=We(n),a=a(n),t.flags|=1,Fe(e,t,a,l),t.child;case 14:return fr(e,t,t.type,t.pendingProps,l);case 15:return sr(e,t,t.type,t.pendingProps,l);case 19:return Cr(e,t,l);case 31:return bs(e,t,l);case 22:return dr(e,t,l,t.pendingProps);case 24:return $l(t),a=We(Be),e===null?(n=ci(),n===null&&(n=ze,u=ui(),n.pooledCache=u,u.refCount++,u!==null&&(n.pooledCacheLanes|=l),n=u),t.memoizedState={parent:a,cache:n},ri(t),sl(t,Be,n)):((e.lanes&l)!==0&&(fi(e,t),sn(t,null,null,l),fn()),n=e.memoizedState,u=t.memoizedState,n.parent!==a?(n={parent:a,cache:a},t.memoizedState=n,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=n),sl(t,Be,a)):(a=u.cache,sl(t,Be,a),a!==n.cache&&ni(t,[Be],l,!0))),Fe(e,t,t.pendingProps.children,l),t.child;case 29:throw t.pendingProps}throw Error(o(156,t.tag))}function Wt(e){e.flags|=4}function $i(e,t,l,a,n){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(n&335544128)===n)if(e.stateNode.complete)e.flags|=8192;else if(Jr())e.flags|=8192;else throw Jl=f1,oi}else e.flags&=-16777217}function Sr(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!D0(t))if(Jr())e.flags|=8192;else throw Jl=f1,oi}function M1(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?e9():536870912,e.lanes|=t,La|=t)}function yn(e,t){if(!he)switch(e.tailMode){case"hidden":t=e.tail;for(var l=null;t!==null;)t.alternate!==null&&(l=t),t=t.sibling;l===null?e.tail=null:l.sibling=null;break;case"collapsed":l=e.tail;for(var a=null;l!==null;)l.alternate!==null&&(a=l),l=l.sibling;a===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,l=0,a=0;if(t)for(var n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags&65011712,a|=n.flags&65011712,n.return=e,n=n.sibling;else for(n=e.child;n!==null;)l|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=l,t}function ws(e,t,l){var a=t.pendingProps;switch(Iu(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return Re(t),null;case 3:return l=t.stateNode,a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Qt(Be),De(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(e===null||e.child===null)&&(ma(t)?Wt(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ti())),Re(t),null;case 26:var n=t.type,u=t.memoizedState;return e===null?(Wt(t),u!==null?(Re(t),Sr(t,u)):(Re(t),$i(t,n,null,a,l))):u?u!==e.memoizedState?(Wt(t),Re(t),Sr(t,u)):(Re(t),t.flags&=-16777217):(e=e.memoizedProps,e!==a&&Wt(t),Re(t),$i(t,n,e,a,l)),null;case 27:if(Un(t),l=re.current,n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Wt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Re(t),null}e=Q.current,ma(t)?eo(t):(e=L0(n,a,l),t.stateNode=e,Wt(t))}return Re(t),null;case 5:if(Un(t),n=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==a&&Wt(t);else{if(!a){if(t.stateNode===null)throw Error(o(166));return Re(t),null}if(u=Q.current,ma(t))eo(t);else{var c=q1(re.current);switch(u){case 1:u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":u=c.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":u=c.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":u=c.createElement("div"),u.innerHTML="<script><\/script>",u=u.removeChild(u.firstChild);break;case"select":u=typeof a.is=="string"?c.createElement("select",{is:a.is}):c.createElement("select"),a.multiple?u.multiple=!0:a.size&&(u.size=a.size);break;default:u=typeof a.is=="string"?c.createElement(n,{is:a.is}):c.createElement(n)}}u[Je]=t,u[ut]=a;e:for(c=t.child;c!==null;){if(c.tag===5||c.tag===6)u.appendChild(c.stateNode);else if(c.tag!==4&&c.tag!==27&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===t)break e;for(;c.sibling===null;){if(c.return===null||c.return===t)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}t.stateNode=u;e:switch(Pe(u,n,a),n){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}a&&Wt(t)}}return Re(t),$i(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,l),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==a&&Wt(t);else{if(typeof a!="string"&&t.stateNode===null)throw Error(o(166));if(e=re.current,ma(t)){if(e=t.stateNode,l=t.memoizedProps,a=null,n=ke,n!==null)switch(n.tag){case 27:case 5:a=n.memoizedProps}e[Je]=t,e=!!(e.nodeValue===l||a!==null&&a.suppressHydrationWarning===!0||v0(e.nodeValue,l)),e||fl(t,!0)}else e=q1(e).createTextNode(a),e[Je]=t,t.stateNode=e}return Re(t),null;case 31:if(l=t.memoizedState,e===null||e.memoizedState!==null){if(a=ma(t),l!==null){if(e===null){if(!a)throw Error(o(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(o(557));e[Je]=t}else Xl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Re(t),e=!1}else l=ti(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=l),e=!0;if(!e)return t.flags&256?(vt(t),t):(vt(t),null);if((t.flags&128)!==0)throw Error(o(558))}return Re(t),null;case 13:if(a=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(n=ma(t),a!==null&&a.dehydrated!==null){if(e===null){if(!n)throw Error(o(318));if(n=t.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(o(317));n[Je]=t}else Xl(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Re(t),n=!1}else n=ti(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),n=!0;if(!n)return t.flags&256?(vt(t),t):(vt(t),null)}return vt(t),(t.flags&128)!==0?(t.lanes=l,t):(l=a!==null,e=e!==null&&e.memoizedState!==null,l&&(a=t.child,n=null,a.alternate!==null&&a.alternate.memoizedState!==null&&a.alternate.memoizedState.cachePool!==null&&(n=a.alternate.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==n&&(a.flags|=2048)),l!==e&&l&&(t.child.flags|=8192),M1(t,t.updateQueue),Re(t),null);case 4:return De(),e===null&&gc(t.stateNode.containerInfo),Re(t),null;case 10:return Qt(t.type),Re(t),null;case 19:if(N(Ue),a=t.memoizedState,a===null)return Re(t),null;if(n=(t.flags&128)!==0,u=a.rendering,u===null)if(n)yn(a,!1);else{if(Ne!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(u=h1(e),u!==null){for(t.flags|=128,yn(a,!1),e=u.updateQueue,t.updateQueue=e,M1(t,e),t.subtreeFlags=0,e=l,l=t.child;l!==null;)k9(l,e),l=l.sibling;return X(Ue,Ue.current&1|2),he&&Gt(t,a.treeForkCount),t.child}e=e.sibling}a.tail!==null&&dt()>O1&&(t.flags|=128,n=!0,yn(a,!1),t.lanes=4194304)}else{if(!n)if(e=h1(u),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,M1(t,e),yn(a,!0),a.tail===null&&a.tailMode==="hidden"&&!u.alternate&&!he)return Re(t),null}else 2*dt()-a.renderingStartTime>O1&&l!==536870912&&(t.flags|=128,n=!0,yn(a,!1),t.lanes=4194304);a.isBackwards?(u.sibling=t.child,t.child=u):(e=a.last,e!==null?e.sibling=u:t.child=u,a.last=u)}return a.tail!==null?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=dt(),e.sibling=null,l=Ue.current,X(Ue,n?l&1|2:l&1),he&&Gt(t,a.treeForkCount),e):(Re(t),null);case 22:case 23:return vt(t),hi(),a=t.memoizedState!==null,e!==null?e.memoizedState!==null!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?(l&536870912)!==0&&(t.flags&128)===0&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),l=t.updateQueue,l!==null&&M1(t,l.retryQueue),l=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),a=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(a=t.memoizedState.cachePool.pool),a!==l&&(t.flags|=2048),e!==null&&N(Ql),null;case 24:return l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Qt(Be),Re(t),null;case 25:return null;case 30:return null}throw Error(o(156,t.tag))}function js(e,t){switch(Iu(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Qt(Be),De(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return Un(t),null;case 31:if(t.memoizedState!==null){if(vt(t),t.alternate===null)throw Error(o(340));Xl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(vt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(o(340));Xl()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N(Ue),null;case 4:return De(),null;case 10:return Qt(t.type),null;case 22:case 23:return vt(t),hi(),e!==null&&N(Ql),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Qt(Be),null;case 25:return null;default:return null}}function wr(e,t){switch(Iu(t),t.tag){case 3:Qt(Be),De();break;case 26:case 27:case 5:Un(t);break;case 4:De();break;case 31:t.memoizedState!==null&&vt(t);break;case 13:vt(t);break;case 19:N(Ue);break;case 10:Qt(t.type);break;case 22:case 23:vt(t),hi(),e!==null&&N(Ql);break;case 24:Qt(Be)}}function vn(e,t){try{var l=t.updateQueue,a=l!==null?l.lastEffect:null;if(a!==null){var n=a.next;l=n;do{if((l.tag&e)===e){a=void 0;var u=l.create,c=l.inst;a=u(),c.destroy=a}l=l.next}while(l!==n)}}catch(g){Se(t,t.return,g)}}function yl(e,t,l){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var u=n.next;a=u;do{if((a.tag&e)===e){var c=a.inst,g=c.destroy;if(g!==void 0){c.destroy=void 0,n=t;var v=l,E=g;try{E()}catch(_){Se(n,v,_)}}}a=a.next}while(a!==u)}}catch(_){Se(t,t.return,_)}}function jr(e){var t=e.updateQueue;if(t!==null){var l=e.stateNode;try{ho(t,l)}catch(a){Se(e,e.return,a)}}}function Er(e,t,l){l.props=Fl(e.type,e.memoizedProps),l.state=e.memoizedState;try{l.componentWillUnmount()}catch(a){Se(e,t,a)}}function xn(e,t){try{var l=e.ref;if(l!==null){switch(e.tag){case 26:case 27:case 5:var a=e.stateNode;break;case 30:a=e.stateNode;break;default:a=e.stateNode}typeof l=="function"?e.refCleanup=l(a):l.current=a}}catch(n){Se(e,t,n)}}function Ut(e,t){var l=e.ref,a=e.refCleanup;if(l!==null)if(typeof a=="function")try{a()}catch(n){Se(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof l=="function")try{l(null)}catch(n){Se(e,t,n)}else l.current=null}function Tr(e){var t=e.type,l=e.memoizedProps,a=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":l.autoFocus&&a.focus();break e;case"img":l.src?a.src=l.src:l.srcSet&&(a.srcset=l.srcSet)}}catch(n){Se(e,e.return,n)}}function Qi(e,t,l){try{var a=e.stateNode;Qs(a,e.type,l,t),a[ut]=t}catch(n){Se(e,e.return,n)}}function Mr(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&jl(e.type)||e.tag===4}function Ki(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Mr(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&jl(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ji(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(e,t):(t=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,t.appendChild(e),l=l._reactRootContainer,l!=null||t.onclick!==null||(t.onclick=Yt));else if(a!==4&&(a===27&&jl(e.type)&&(l=e.stateNode,t=null),e=e.child,e!==null))for(Ji(e,t,l),e=e.sibling;e!==null;)Ji(e,t,l),e=e.sibling}function z1(e,t,l){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?l.insertBefore(e,t):l.appendChild(e);else if(a!==4&&(a===27&&jl(e.type)&&(l=e.stateNode),e=e.child,e!==null))for(z1(e,t,l),e=e.sibling;e!==null;)z1(e,t,l),e=e.sibling}function zr(e){var t=e.stateNode,l=e.memoizedProps;try{for(var a=e.type,n=t.attributes;n.length;)t.removeAttributeNode(n[0]);Pe(t,a,l),t[Je]=e,t[ut]=l}catch(u){Se(e,e.return,u)}}var Ft=!1,Xe=!1,ki=!1,Lr=typeof WeakSet=="function"?WeakSet:Set,Qe=null;function Es(e,t){if(e=e.containerInfo,mc=k1,e=B9(e),qu(e)){if("selectionStart"in e)var l={start:e.selectionStart,end:e.selectionEnd};else e:{l=(l=e.ownerDocument)&&l.defaultView||window;var a=l.getSelection&&l.getSelection();if(a&&a.rangeCount!==0){l=a.anchorNode;var n=a.anchorOffset,u=a.focusNode;a=a.focusOffset;try{l.nodeType,u.nodeType}catch{l=null;break e}var c=0,g=-1,v=-1,E=0,_=0,H=e,T=null;t:for(;;){for(var L;H!==l||n!==0&&H.nodeType!==3||(g=c+n),H!==u||a!==0&&H.nodeType!==3||(v=c+a),H.nodeType===3&&(c+=H.nodeValue.length),(L=H.firstChild)!==null;)T=H,H=L;for(;;){if(H===e)break t;if(T===l&&++E===n&&(g=c),T===u&&++_===a&&(v=c),(L=H.nextSibling)!==null)break;H=T,T=H.parentNode}H=L}l=g===-1||v===-1?null:{start:g,end:v}}else l=null}l=l||{start:0,end:0}}else l=null;for(yc={focusedElem:e,selectionRange:l},k1=!1,Qe=t;Qe!==null;)if(t=Qe,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Qe=e;else for(;Qe!==null;){switch(t=Qe,u=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(l=0;l<e.length;l++)n=e[l],n.ref.impl=n.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&u!==null){e=void 0,l=t,n=u.memoizedProps,u=u.memoizedState,a=l.stateNode;try{var $=Fl(l.type,n);e=a.getSnapshotBeforeUpdate($,u),a.__reactInternalSnapshotBeforeUpdate=e}catch(I){Se(l,l.return,I)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,l=e.nodeType,l===9)Cc(e);else if(l===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Cc(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(o(163))}if(e=t.sibling,e!==null){e.return=t.return,Qe=e;break}Qe=t.return}}function Rr(e,t,l){var a=l.flags;switch(l.tag){case 0:case 11:case 15:It(e,l),a&4&&vn(5,l);break;case 1:if(It(e,l),a&4)if(e=l.stateNode,t===null)try{e.componentDidMount()}catch(c){Se(l,l.return,c)}else{var n=Fl(l.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(n,t,e.__reactInternalSnapshotBeforeUpdate)}catch(c){Se(l,l.return,c)}}a&64&&jr(l),a&512&&xn(l,l.return);break;case 3:if(It(e,l),a&64&&(e=l.updateQueue,e!==null)){if(t=null,l.child!==null)switch(l.child.tag){case 27:case 5:t=l.child.stateNode;break;case 1:t=l.child.stateNode}try{ho(e,t)}catch(c){Se(l,l.return,c)}}break;case 27:t===null&&a&4&&zr(l);case 26:case 5:It(e,l),t===null&&a&4&&Tr(l),a&512&&xn(l,l.return);break;case 12:It(e,l);break;case 31:It(e,l),a&4&&Ar(e,l);break;case 13:It(e,l),a&4&&Hr(e,l),a&64&&(e=l.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(l=Hs.bind(null,l),e3(e,l))));break;case 22:if(a=l.memoizedState!==null||Ft,!a){t=t!==null&&t.memoizedState!==null||Xe,n=Ft;var u=Xe;Ft=a,(Xe=t)&&!u?el(e,l,(l.subtreeFlags&8772)!==0):It(e,l),Ft=n,Xe=u}break;case 30:break;default:It(e,l)}}function _r(e){var t=e.alternate;t!==null&&(e.alternate=null,_r(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&Eu(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var _e=null,ct=!1;function Pt(e,t,l){for(l=l.child;l!==null;)Or(e,t,l),l=l.sibling}function Or(e,t,l){if(gt&&typeof gt.onCommitFiberUnmount=="function")try{gt.onCommitFiberUnmount(qa,l)}catch{}switch(l.tag){case 26:Xe||Ut(l,t),Pt(e,t,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:Xe||Ut(l,t);var a=_e,n=ct;jl(l.type)&&(_e=l.stateNode,ct=!1),Pt(e,t,l),zn(l.stateNode),_e=a,ct=n;break;case 5:Xe||Ut(l,t);case 6:if(a=_e,n=ct,_e=null,Pt(e,t,l),_e=a,ct=n,_e!==null)if(ct)try{(_e.nodeType===9?_e.body:_e.nodeName==="HTML"?_e.ownerDocument.body:_e).removeChild(l.stateNode)}catch(u){Se(l,t,u)}else try{_e.removeChild(l.stateNode)}catch(u){Se(l,t,u)}break;case 18:_e!==null&&(ct?(e=_e,j0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,l.stateNode),Da(e)):j0(_e,l.stateNode));break;case 4:a=_e,n=ct,_e=l.stateNode.containerInfo,ct=!0,Pt(e,t,l),_e=a,ct=n;break;case 0:case 11:case 14:case 15:yl(2,l,t),Xe||yl(4,l,t),Pt(e,t,l);break;case 1:Xe||(Ut(l,t),a=l.stateNode,typeof a.componentWillUnmount=="function"&&Er(l,t,a)),Pt(e,t,l);break;case 21:Pt(e,t,l);break;case 22:Xe=(a=Xe)||l.memoizedState!==null,Pt(e,t,l),Xe=a;break;default:Pt(e,t,l)}}function Ar(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Da(e)}catch(l){Se(t,t.return,l)}}}function Hr(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Da(e)}catch(l){Se(t,t.return,l)}}function Ts(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Lr),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Lr),t;default:throw Error(o(435,e.tag))}}function L1(e,t){var l=Ts(e);t.forEach(function(a){if(!l.has(a)){l.add(a);var n=Vs.bind(null,e,a);a.then(n,n)}})}function ot(e,t){var l=t.deletions;if(l!==null)for(var a=0;a<l.length;a++){var n=l[a],u=e,c=t,g=c;e:for(;g!==null;){switch(g.tag){case 27:if(jl(g.type)){_e=g.stateNode,ct=!1;break e}break;case 5:_e=g.stateNode,ct=!1;break e;case 3:case 4:_e=g.stateNode.containerInfo,ct=!0;break e}g=g.return}if(_e===null)throw Error(o(160));Or(u,c,n),_e=null,ct=!1,u=n.alternate,u!==null&&(u.return=null),n.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Vr(t,e),t=t.sibling}var At=null;function Vr(e,t){var l=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:ot(t,e),rt(e),a&4&&(yl(3,e,e.return),vn(3,e),yl(5,e,e.return));break;case 1:ot(t,e),rt(e),a&512&&(Xe||l===null||Ut(l,l.return)),a&64&&Ft&&(e=e.updateQueue,e!==null&&(a=e.callbacks,a!==null&&(l=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=l===null?a:l.concat(a))));break;case 26:var n=At;if(ot(t,e),rt(e),a&512&&(Xe||l===null||Ut(l,l.return)),a&4){var u=l!==null?l.memoizedState:null;if(a=e.memoizedState,l===null)if(a===null)if(e.stateNode===null){e:{a=e.type,l=e.memoizedProps,n=n.ownerDocument||n;t:switch(a){case"title":u=n.getElementsByTagName("title")[0],(!u||u[$a]||u[Je]||u.namespaceURI==="http://www.w3.org/2000/svg"||u.hasAttribute("itemprop"))&&(u=n.createElement(a),n.head.insertBefore(u,n.querySelector("head > title"))),Pe(u,a,l),u[Je]=e,$e(u),a=u;break e;case"link":var c=V0("link","href",n).get(a+(l.href||""));if(c){for(var g=0;g<c.length;g++)if(u=c[g],u.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&u.getAttribute("rel")===(l.rel==null?null:l.rel)&&u.getAttribute("title")===(l.title==null?null:l.title)&&u.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){c.splice(g,1);break t}}u=n.createElement(a),Pe(u,a,l),n.head.appendChild(u);break;case"meta":if(c=V0("meta","content",n).get(a+(l.content||""))){for(g=0;g<c.length;g++)if(u=c[g],u.getAttribute("content")===(l.content==null?null:""+l.content)&&u.getAttribute("name")===(l.name==null?null:l.name)&&u.getAttribute("property")===(l.property==null?null:l.property)&&u.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&u.getAttribute("charset")===(l.charSet==null?null:l.charSet)){c.splice(g,1);break t}}u=n.createElement(a),Pe(u,a,l),n.head.appendChild(u);break;default:throw Error(o(468,a))}u[Je]=e,$e(u),a=u}e.stateNode=a}else N0(n,e.type,e.stateNode);else e.stateNode=H0(n,a,e.memoizedProps);else u!==a?(u===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):u.count--,a===null?N0(n,e.type,e.stateNode):H0(n,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Qi(e,e.memoizedProps,l.memoizedProps)}break;case 27:ot(t,e),rt(e),a&512&&(Xe||l===null||Ut(l,l.return)),l!==null&&a&4&&Qi(e,e.memoizedProps,l.memoizedProps);break;case 5:if(ot(t,e),rt(e),a&512&&(Xe||l===null||Ut(l,l.return)),e.flags&32){n=e.stateNode;try{ia(n,"")}catch($){Se(e,e.return,$)}}a&4&&e.stateNode!=null&&(n=e.memoizedProps,Qi(e,n,l!==null?l.memoizedProps:n)),a&1024&&(ki=!0);break;case 6:if(ot(t,e),rt(e),a&4){if(e.stateNode===null)throw Error(o(162));a=e.memoizedProps,l=e.stateNode;try{l.nodeValue=a}catch($){Se(e,e.return,$)}}break;case 3:if($1=null,n=At,At=X1(t.containerInfo),ot(t,e),At=n,rt(e),a&4&&l!==null&&l.memoizedState.isDehydrated)try{Da(t.containerInfo)}catch($){Se(e,e.return,$)}ki&&(ki=!1,Nr(e));break;case 4:a=At,At=X1(e.stateNode.containerInfo),ot(t,e),rt(e),At=a;break;case 12:ot(t,e),rt(e);break;case 31:ot(t,e),rt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,L1(e,a)));break;case 13:ot(t,e),rt(e),e.child.flags&8192&&e.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(_1=dt()),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,L1(e,a)));break;case 22:n=e.memoizedState!==null;var v=l!==null&&l.memoizedState!==null,E=Ft,_=Xe;if(Ft=E||n,Xe=_||v,ot(t,e),Xe=_,Ft=E,rt(e),a&8192)e:for(t=e.stateNode,t._visibility=n?t._visibility&-2:t._visibility|1,n&&(l===null||v||Ft||Xe||Pl(e)),l=null,t=e;;){if(t.tag===5||t.tag===26){if(l===null){v=l=t;try{if(u=v.stateNode,n)c=u.style,typeof c.setProperty=="function"?c.setProperty("display","none","important"):c.display="none";else{g=v.stateNode;var H=v.memoizedProps.style,T=H!=null&&H.hasOwnProperty("display")?H.display:null;g.style.display=T==null||typeof T=="boolean"?"":(""+T).trim()}}catch($){Se(v,v.return,$)}}}else if(t.tag===6){if(l===null){v=t;try{v.stateNode.nodeValue=n?"":v.memoizedProps}catch($){Se(v,v.return,$)}}}else if(t.tag===18){if(l===null){v=t;try{var L=v.stateNode;n?E0(L,!0):E0(v.stateNode,!1)}catch($){Se(v,v.return,$)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;l===t&&(l=null),t=t.return}l===t&&(l=null),t.sibling.return=t.return,t=t.sibling}a&4&&(a=e.updateQueue,a!==null&&(l=a.retryQueue,l!==null&&(a.retryQueue=null,L1(e,l))));break;case 19:ot(t,e),rt(e),a&4&&(a=e.updateQueue,a!==null&&(e.updateQueue=null,L1(e,a)));break;case 30:break;case 21:break;default:ot(t,e),rt(e)}}function rt(e){var t=e.flags;if(t&2){try{for(var l,a=e.return;a!==null;){if(Mr(a)){l=a;break}a=a.return}if(l==null)throw Error(o(160));switch(l.tag){case 27:var n=l.stateNode,u=Ki(e);z1(e,u,n);break;case 5:var c=l.stateNode;l.flags&32&&(ia(c,""),l.flags&=-33);var g=Ki(e);z1(e,g,c);break;case 3:case 4:var v=l.stateNode.containerInfo,E=Ki(e);Ji(e,E,v);break;default:throw Error(o(161))}}catch(_){Se(e,e.return,_)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Nr(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Nr(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function It(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Rr(e,t.alternate,t),t=t.sibling}function Pl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:yl(4,t,t.return),Pl(t);break;case 1:Ut(t,t.return);var l=t.stateNode;typeof l.componentWillUnmount=="function"&&Er(t,t.return,l),Pl(t);break;case 27:zn(t.stateNode);case 26:case 5:Ut(t,t.return),Pl(t);break;case 22:t.memoizedState===null&&Pl(t);break;case 30:Pl(t);break;default:Pl(t)}e=e.sibling}}function el(e,t,l){for(l=l&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var a=t.alternate,n=e,u=t,c=u.flags;switch(u.tag){case 0:case 11:case 15:el(n,u,l),vn(4,u);break;case 1:if(el(n,u,l),a=u,n=a.stateNode,typeof n.componentDidMount=="function")try{n.componentDidMount()}catch(E){Se(a,a.return,E)}if(a=u,n=a.updateQueue,n!==null){var g=a.stateNode;try{var v=n.shared.hiddenCallbacks;if(v!==null)for(n.shared.hiddenCallbacks=null,n=0;n<v.length;n++)go(v[n],g)}catch(E){Se(a,a.return,E)}}l&&c&64&&jr(u),xn(u,u.return);break;case 27:zr(u);case 26:case 5:el(n,u,l),l&&a===null&&c&4&&Tr(u),xn(u,u.return);break;case 12:el(n,u,l);break;case 31:el(n,u,l),l&&c&4&&Ar(n,u);break;case 13:el(n,u,l),l&&c&4&&Hr(n,u);break;case 22:u.memoizedState===null&&el(n,u,l),xn(u,u.return);break;case 30:break;default:el(n,u,l)}t=t.sibling}}function Wi(e,t){var l=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(l=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==l&&(e!=null&&e.refCount++,l!=null&&nn(l))}function Fi(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&nn(e))}function Ht(e,t,l,a){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Dr(e,t,l,a),t=t.sibling}function Dr(e,t,l,a){var n=t.flags;switch(t.tag){case 0:case 11:case 15:Ht(e,t,l,a),n&2048&&vn(9,t);break;case 1:Ht(e,t,l,a);break;case 3:Ht(e,t,l,a),n&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&nn(e)));break;case 12:if(n&2048){Ht(e,t,l,a),e=t.stateNode;try{var u=t.memoizedProps,c=u.id,g=u.onPostCommit;typeof g=="function"&&g(c,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(v){Se(t,t.return,v)}}else Ht(e,t,l,a);break;case 31:Ht(e,t,l,a);break;case 13:Ht(e,t,l,a);break;case 23:break;case 22:u=t.stateNode,c=t.alternate,t.memoizedState!==null?u._visibility&2?Ht(e,t,l,a):Cn(e,t):u._visibility&2?Ht(e,t,l,a):(u._visibility|=2,Ta(e,t,l,a,(t.subtreeFlags&10256)!==0||!1)),n&2048&&Wi(c,t);break;case 24:Ht(e,t,l,a),n&2048&&Fi(t.alternate,t);break;default:Ht(e,t,l,a)}}function Ta(e,t,l,a,n){for(n=n&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var u=e,c=t,g=l,v=a,E=c.flags;switch(c.tag){case 0:case 11:case 15:Ta(u,c,g,v,n),vn(8,c);break;case 23:break;case 22:var _=c.stateNode;c.memoizedState!==null?_._visibility&2?Ta(u,c,g,v,n):Cn(u,c):(_._visibility|=2,Ta(u,c,g,v,n)),n&&E&2048&&Wi(c.alternate,c);break;case 24:Ta(u,c,g,v,n),n&&E&2048&&Fi(c.alternate,c);break;default:Ta(u,c,g,v,n)}t=t.sibling}}function Cn(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var l=e,a=t,n=a.flags;switch(a.tag){case 22:Cn(l,a),n&2048&&Wi(a.alternate,a);break;case 24:Cn(l,a),n&2048&&Fi(a.alternate,a);break;default:Cn(l,a)}t=t.sibling}}var bn=8192;function Ma(e,t,l){if(e.subtreeFlags&bn)for(e=e.child;e!==null;)Ur(e,t,l),e=e.sibling}function Ur(e,t,l){switch(e.tag){case 26:Ma(e,t,l),e.flags&bn&&e.memoizedState!==null&&d3(l,At,e.memoizedState,e.memoizedProps);break;case 5:Ma(e,t,l);break;case 3:case 4:var a=At;At=X1(e.stateNode.containerInfo),Ma(e,t,l),At=a;break;case 22:e.memoizedState===null&&(a=e.alternate,a!==null&&a.memoizedState!==null?(a=bn,bn=16777216,Ma(e,t,l),bn=a):Ma(e,t,l));break;default:Ma(e,t,l)}}function Zr(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Sn(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Qe=a,Yr(a,e)}Zr(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Br(e),e=e.sibling}function Br(e){switch(e.tag){case 0:case 11:case 15:Sn(e),e.flags&2048&&yl(9,e,e.return);break;case 3:Sn(e);break;case 12:Sn(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,R1(e)):Sn(e);break;default:Sn(e)}}function R1(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var l=0;l<t.length;l++){var a=t[l];Qe=a,Yr(a,e)}Zr(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:yl(8,t,t.return),R1(t);break;case 22:l=t.stateNode,l._visibility&2&&(l._visibility&=-3,R1(t));break;default:R1(t)}e=e.sibling}}function Yr(e,t){for(;Qe!==null;){var l=Qe;switch(l.tag){case 0:case 11:case 15:yl(8,l,t);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var a=l.memoizedState.cachePool.pool;a!=null&&a.refCount++}break;case 24:nn(l.memoizedState.cache)}if(a=l.child,a!==null)a.return=l,Qe=a;else e:for(l=e;Qe!==null;){a=Qe;var n=a.sibling,u=a.return;if(_r(a),a===l){Qe=null;break e}if(n!==null){n.return=u,Qe=n;break e}Qe=u}}}var Ms={getCacheForType:function(e){var t=We(Be),l=t.data.get(e);return l===void 0&&(l=e(),t.data.set(e,l)),l},cacheSignal:function(){return We(Be).controller.signal}},zs=typeof WeakMap=="function"?WeakMap:Map,xe=0,ze=null,fe=null,de=0,be=0,xt=null,vl=!1,za=!1,Pi=!1,tl=0,Ne=0,xl=0,Il=0,Ii=0,Ct=0,La=0,wn=null,ft=null,ec=!1,_1=0,qr=0,O1=1/0,A1=null,Cl=null,Ge=0,bl=null,Ra=null,ll=0,tc=0,lc=null,Xr=null,jn=0,ac=null;function bt(){return(xe&2)!==0&&de!==0?de&-de:O.T!==null?rc():n9()}function Gr(){if(Ct===0)if((de&536870912)===0||he){var e=Yn;Yn<<=1,(Yn&3932160)===0&&(Yn=262144),Ct=e}else Ct=536870912;return e=yt.current,e!==null&&(e.flags|=32),Ct}function st(e,t,l){(e===ze&&(be===2||be===9)||e.cancelPendingCommit!==null)&&(_a(e,0),Sl(e,de,Ct,!1)),Ga(e,l),((xe&2)===0||e!==ze)&&(e===ze&&((xe&2)===0&&(Il|=l),Ne===4&&Sl(e,de,Ct,!1)),Zt(e))}function $r(e,t,l){if((xe&6)!==0)throw Error(o(327));var a=!l&&(t&127)===0&&(t&e.expiredLanes)===0||Xa(e,t),n=a?_s(e,t):uc(e,t,!0),u=a;do{if(n===0){za&&!a&&Sl(e,t,0,!1);break}else{if(l=e.current.alternate,u&&!Ls(l)){n=uc(e,t,!1),u=!1;continue}if(n===2){if(u=t,e.errorRecoveryDisabledLanes&u)var c=0;else c=e.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){t=c;e:{var g=e;n=wn;var v=g.current.memoizedState.isDehydrated;if(v&&(_a(g,c).flags|=256),c=uc(g,c,!1),c!==2){if(Pi&&!v){g.errorRecoveryDisabledLanes|=u,Il|=u,n=4;break e}u=ft,ft=n,u!==null&&(ft===null?ft=u:ft.push.apply(ft,u))}n=c}if(u=!1,n!==2)continue}}if(n===1){_a(e,0),Sl(e,t,0,!0);break}e:{switch(a=e,u=n,u){case 0:case 1:throw Error(o(345));case 4:if((t&4194048)!==t)break;case 6:Sl(a,t,Ct,!vl);break e;case 2:ft=null;break;case 3:case 5:break;default:throw Error(o(329))}if((t&62914560)===t&&(n=_1+300-dt(),10<n)){if(Sl(a,t,Ct,!vl),Xn(a,0,!0)!==0)break e;ll=t,a.timeoutHandle=S0(Qr.bind(null,a,l,ft,A1,ec,t,Ct,Il,La,vl,u,"Throttled",-0,0),n);break e}Qr(a,l,ft,A1,ec,t,Ct,Il,La,vl,u,null,-0,0)}}break}while(!0);Zt(e)}function Qr(e,t,l,a,n,u,c,g,v,E,_,H,T,L){if(e.timeoutHandle=-1,H=t.subtreeFlags,H&8192||(H&16785408)===16785408){H={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yt},Ur(t,u,H);var $=(u&62914560)===u?_1-dt():(u&4194048)===u?qr-dt():0;if($=g3(H,$),$!==null){ll=u,e.cancelPendingCommit=$(e0.bind(null,e,t,u,l,a,n,c,g,v,_,H,null,T,L)),Sl(e,u,c,!E);return}}e0(e,t,u,l,a,n,c,g,v)}function Ls(e){for(var t=e;;){var l=t.tag;if((l===0||l===11||l===15)&&t.flags&16384&&(l=t.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var a=0;a<l.length;a++){var n=l[a],u=n.getSnapshot;n=n.value;try{if(!pt(u(),n))return!1}catch{return!1}}if(l=t.child,t.subtreeFlags&16384&&l!==null)l.return=t,t=l;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Sl(e,t,l,a){t&=~Ii,t&=~Il,e.suspendedLanes|=t,e.pingedLanes&=~t,a&&(e.warmLanes|=t),a=e.expirationTimes;for(var n=t;0<n;){var u=31-ht(n),c=1<<u;a[u]=-1,n&=~c}l!==0&&t9(e,l,t)}function H1(){return(xe&6)===0?(En(0),!1):!0}function nc(){if(fe!==null){if(be===0)var e=fe.return;else e=fe,$t=Gl=null,Ci(e),ba=null,cn=0,e=fe;for(;e!==null;)wr(e.alternate,e),e=e.return;fe=null}}function _a(e,t){var l=e.timeoutHandle;l!==-1&&(e.timeoutHandle=-1,ks(l)),l=e.cancelPendingCommit,l!==null&&(e.cancelPendingCommit=null,l()),ll=0,nc(),ze=e,fe=l=Xt(e.current,null),de=t,be=0,xt=null,vl=!1,za=Xa(e,t),Pi=!1,La=Ct=Ii=Il=xl=Ne=0,ft=wn=null,ec=!1,(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-ht(a),u=1<<n;t|=e[n],a&=~u}return tl=t,t1(),l}function Kr(e,t){ue=null,O.H=pn,t===Ca||t===r1?(t=oo(),be=3):t===oi?(t=oo(),be=4):be=t===Ni?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,xt=t,fe===null&&(Ne=1,w1(e,Et(t,e.current)))}function Jr(){var e=yt.current;return e===null?!0:(de&4194048)===de?Lt===null:(de&62914560)===de||(de&536870912)!==0?e===Lt:!1}function kr(){var e=O.H;return O.H=pn,e===null?pn:e}function Wr(){var e=O.A;return O.A=Ms,e}function V1(){Ne=4,vl||(de&4194048)!==de&&yt.current!==null||(za=!0),(xl&134217727)===0&&(Il&134217727)===0||ze===null||Sl(ze,de,Ct,!1)}function uc(e,t,l){var a=xe;xe|=2;var n=kr(),u=Wr();(ze!==e||de!==t)&&(A1=null,_a(e,t)),t=!1;var c=Ne;e:do try{if(be!==0&&fe!==null){var g=fe,v=xt;switch(be){case 8:nc(),c=6;break e;case 3:case 2:case 9:case 6:yt.current===null&&(t=!0);var E=be;if(be=0,xt=null,Oa(e,g,v,E),l&&za){c=0;break e}break;default:E=be,be=0,xt=null,Oa(e,g,v,E)}}Rs(),c=Ne;break}catch(_){Kr(e,_)}while(!0);return t&&e.shellSuspendCounter++,$t=Gl=null,xe=a,O.H=n,O.A=u,fe===null&&(ze=null,de=0,t1()),c}function Rs(){for(;fe!==null;)Fr(fe)}function _s(e,t){var l=xe;xe|=2;var a=kr(),n=Wr();ze!==e||de!==t?(A1=null,O1=dt()+500,_a(e,t)):za=Xa(e,t);e:do try{if(be!==0&&fe!==null){t=fe;var u=xt;t:switch(be){case 1:be=0,xt=null,Oa(e,t,u,1);break;case 2:case 9:if(io(u)){be=0,xt=null,Pr(t);break}t=function(){be!==2&&be!==9||ze!==e||(be=7),Zt(e)},u.then(t,t);break e;case 3:be=7;break e;case 4:be=5;break e;case 7:io(u)?(be=0,xt=null,Pr(t)):(be=0,xt=null,Oa(e,t,u,7));break;case 5:var c=null;switch(fe.tag){case 26:c=fe.memoizedState;case 5:case 27:var g=fe;if(c?D0(c):g.stateNode.complete){be=0,xt=null;var v=g.sibling;if(v!==null)fe=v;else{var E=g.return;E!==null?(fe=E,N1(E)):fe=null}break t}}be=0,xt=null,Oa(e,t,u,5);break;case 6:be=0,xt=null,Oa(e,t,u,6);break;case 8:nc(),Ne=6;break e;default:throw Error(o(462))}}Os();break}catch(_){Kr(e,_)}while(!0);return $t=Gl=null,O.H=a,O.A=n,xe=l,fe!==null?0:(ze=null,de=0,t1(),Ne)}function Os(){for(;fe!==null&&!ef();)Fr(fe)}function Fr(e){var t=br(e.alternate,e,tl);e.memoizedProps=e.pendingProps,t===null?N1(e):fe=t}function Pr(e){var t=e,l=t.alternate;switch(t.tag){case 15:case 0:t=pr(l,t,t.pendingProps,t.type,void 0,de);break;case 11:t=pr(l,t,t.pendingProps,t.type.render,t.ref,de);break;case 5:Ci(t);default:wr(l,t),t=fe=k9(t,tl),t=br(l,t,tl)}e.memoizedProps=e.pendingProps,t===null?N1(e):fe=t}function Oa(e,t,l,a){$t=Gl=null,Ci(t),ba=null,cn=0;var n=t.return;try{if(Cs(e,n,t,l,de)){Ne=1,w1(e,Et(l,e.current)),fe=null;return}}catch(u){if(n!==null)throw fe=n,u;Ne=1,w1(e,Et(l,e.current)),fe=null;return}t.flags&32768?(he||a===1?e=!0:za||(de&536870912)!==0?e=!1:(vl=e=!0,(a===2||a===9||a===3||a===6)&&(a=yt.current,a!==null&&a.tag===13&&(a.flags|=16384))),Ir(t,e)):N1(t)}function N1(e){var t=e;do{if((t.flags&32768)!==0){Ir(t,vl);return}e=t.return;var l=ws(t.alternate,t,tl);if(l!==null){fe=l;return}if(t=t.sibling,t!==null){fe=t;return}fe=t=e}while(t!==null);Ne===0&&(Ne=5)}function Ir(e,t){do{var l=js(e.alternate,e);if(l!==null){l.flags&=32767,fe=l;return}if(l=e.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!t&&(e=e.sibling,e!==null)){fe=e;return}fe=e=l}while(e!==null);Ne=6,fe=null}function e0(e,t,l,a,n,u,c,g,v){e.cancelPendingCommit=null;do D1();while(Ge!==0);if((xe&6)!==0)throw Error(o(327));if(t!==null){if(t===e.current)throw Error(o(177));if(u=t.lanes|t.childLanes,u|=Ku,sf(e,l,u,c,g,v),e===ze&&(fe=ze=null,de=0),Ra=t,bl=e,ll=l,tc=u,lc=n,Xr=a,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Ns(Zn,function(){return u0(),null})):(e.callbackNode=null,e.callbackPriority=0),a=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||a){a=O.T,O.T=null,n=Y.p,Y.p=2,c=xe,xe|=4;try{Es(e,t,l)}finally{xe=c,Y.p=n,O.T=a}}Ge=1,t0(),l0(),a0()}}function t0(){if(Ge===1){Ge=0;var e=bl,t=Ra,l=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=xe;xe|=4;try{Vr(t,e);var u=yc,c=B9(e.containerInfo),g=u.focusedElem,v=u.selectionRange;if(c!==g&&g&&g.ownerDocument&&Z9(g.ownerDocument.documentElement,g)){if(v!==null&&qu(g)){var E=v.start,_=v.end;if(_===void 0&&(_=E),"selectionStart"in g)g.selectionStart=E,g.selectionEnd=Math.min(_,g.value.length);else{var H=g.ownerDocument||document,T=H&&H.defaultView||window;if(T.getSelection){var L=T.getSelection(),$=g.textContent.length,I=Math.min(v.start,$),Te=v.end===void 0?I:Math.min(v.end,$);!L.extend&&I>Te&&(c=Te,Te=I,I=c);var w=U9(g,I),C=U9(g,Te);if(w&&C&&(L.rangeCount!==1||L.anchorNode!==w.node||L.anchorOffset!==w.offset||L.focusNode!==C.node||L.focusOffset!==C.offset)){var j=H.createRange();j.setStart(w.node,w.offset),L.removeAllRanges(),I>Te?(L.addRange(j),L.extend(C.node,C.offset)):(j.setEnd(C.node,C.offset),L.addRange(j))}}}}for(H=[],L=g;L=L.parentNode;)L.nodeType===1&&H.push({element:L,left:L.scrollLeft,top:L.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<H.length;g++){var A=H[g];A.element.scrollLeft=A.left,A.element.scrollTop=A.top}}k1=!!mc,yc=mc=null}finally{xe=n,Y.p=a,O.T=l}}e.current=t,Ge=2}}function l0(){if(Ge===2){Ge=0;var e=bl,t=Ra,l=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||l){l=O.T,O.T=null;var a=Y.p;Y.p=2;var n=xe;xe|=4;try{Rr(e,t.alternate,t)}finally{xe=n,Y.p=a,O.T=l}}Ge=3}}function a0(){if(Ge===4||Ge===3){Ge=0,tf();var e=bl,t=Ra,l=ll,a=Xr;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?Ge=5:(Ge=0,Ra=bl=null,n0(e,e.pendingLanes));var n=e.pendingLanes;if(n===0&&(Cl=null),wu(l),t=t.stateNode,gt&&typeof gt.onCommitFiberRoot=="function")try{gt.onCommitFiberRoot(qa,t,void 0,(t.current.flags&128)===128)}catch{}if(a!==null){t=O.T,n=Y.p,Y.p=2,O.T=null;try{for(var u=e.onRecoverableError,c=0;c<a.length;c++){var g=a[c];u(g.value,{componentStack:g.stack})}}finally{O.T=t,Y.p=n}}(ll&3)!==0&&D1(),Zt(e),n=e.pendingLanes,(l&261930)!==0&&(n&42)!==0?e===ac?jn++:(jn=0,ac=e):jn=0,En(0)}}function n0(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,nn(t)))}function D1(){return t0(),l0(),a0(),u0()}function u0(){if(Ge!==5)return!1;var e=bl,t=tc;tc=0;var l=wu(ll),a=O.T,n=Y.p;try{Y.p=32>l?32:l,O.T=null,l=lc,lc=null;var u=bl,c=ll;if(Ge=0,Ra=bl=null,ll=0,(xe&6)!==0)throw Error(o(331));var g=xe;if(xe|=4,Br(u.current),Dr(u,u.current,c,l),xe=g,En(0,!1),gt&&typeof gt.onPostCommitFiberRoot=="function")try{gt.onPostCommitFiberRoot(qa,u)}catch{}return!0}finally{Y.p=n,O.T=a,n0(e,t)}}function i0(e,t,l){t=Et(l,t),t=Vi(e.stateNode,t,2),e=hl(e,t,2),e!==null&&(Ga(e,2),Zt(e))}function Se(e,t,l){if(e.tag===3)i0(e,e,l);else for(;t!==null;){if(t.tag===3){i0(t,e,l);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(Cl===null||!Cl.has(a))){e=Et(l,e),l=cr(2),a=hl(t,l,2),a!==null&&(or(l,a,t,e),Ga(a,2),Zt(a));break}}t=t.return}}function ic(e,t,l){var a=e.pingCache;if(a===null){a=e.pingCache=new zs;var n=new Set;a.set(t,n)}else n=a.get(t),n===void 0&&(n=new Set,a.set(t,n));n.has(l)||(Pi=!0,n.add(l),e=As.bind(null,e,t,l),t.then(e,e))}function As(e,t,l){var a=e.pingCache;a!==null&&a.delete(t),e.pingedLanes|=e.suspendedLanes&l,e.warmLanes&=~l,ze===e&&(de&l)===l&&(Ne===4||Ne===3&&(de&62914560)===de&&300>dt()-_1?(xe&2)===0&&_a(e,0):Ii|=l,La===de&&(La=0)),Zt(e)}function c0(e,t){t===0&&(t=e9()),e=Yl(e,t),e!==null&&(Ga(e,t),Zt(e))}function Hs(e){var t=e.memoizedState,l=0;t!==null&&(l=t.retryLane),c0(e,l)}function Vs(e,t){var l=0;switch(e.tag){case 31:case 13:var a=e.stateNode,n=e.memoizedState;n!==null&&(l=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}a!==null&&a.delete(t),c0(e,l)}function Ns(e,t){return xu(e,t)}var U1=null,Aa=null,cc=!1,Z1=!1,oc=!1,wl=0;function Zt(e){e!==Aa&&e.next===null&&(Aa===null?U1=Aa=e:Aa=Aa.next=e),Z1=!0,cc||(cc=!0,Us())}function En(e,t){if(!oc&&Z1){oc=!0;do for(var l=!1,a=U1;a!==null;){if(e!==0){var n=a.pendingLanes;if(n===0)var u=0;else{var c=a.suspendedLanes,g=a.pingedLanes;u=(1<<31-ht(42|e)+1)-1,u&=n&~(c&~g),u=u&201326741?u&201326741|1:u?u|2:0}u!==0&&(l=!0,s0(a,u))}else u=de,u=Xn(a,a===ze?u:0,a.cancelPendingCommit!==null||a.timeoutHandle!==-1),(u&3)===0||Xa(a,u)||(l=!0,s0(a,u));a=a.next}while(l);oc=!1}}function Ds(){o0()}function o0(){Z1=cc=!1;var e=0;wl!==0&&Js()&&(e=wl);for(var t=dt(),l=null,a=U1;a!==null;){var n=a.next,u=r0(a,t);u===0?(a.next=null,l===null?U1=n:l.next=n,n===null&&(Aa=l)):(l=a,(e!==0||(u&3)!==0)&&(Z1=!0)),a=n}Ge!==0&&Ge!==5||En(e),wl!==0&&(wl=0)}function r0(e,t){for(var l=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,u=e.pendingLanes&-62914561;0<u;){var c=31-ht(u),g=1<<c,v=n[c];v===-1?((g&l)===0||(g&a)!==0)&&(n[c]=ff(g,t)):v<=t&&(e.expiredLanes|=g),u&=~g}if(t=ze,l=de,l=Xn(e,e===t?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a=e.callbackNode,l===0||e===t&&(be===2||be===9)||e.cancelPendingCommit!==null)return a!==null&&a!==null&&Cu(a),e.callbackNode=null,e.callbackPriority=0;if((l&3)===0||Xa(e,l)){if(t=l&-l,t===e.callbackPriority)return t;switch(a!==null&&Cu(a),wu(l)){case 2:case 8:l=Pc;break;case 32:l=Zn;break;case 268435456:l=Ic;break;default:l=Zn}return a=f0.bind(null,e),l=xu(l,a),e.callbackPriority=t,e.callbackNode=l,t}return a!==null&&a!==null&&Cu(a),e.callbackPriority=2,e.callbackNode=null,2}function f0(e,t){if(Ge!==0&&Ge!==5)return e.callbackNode=null,e.callbackPriority=0,null;var l=e.callbackNode;if(D1()&&e.callbackNode!==l)return null;var a=de;return a=Xn(e,e===ze?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),a===0?null:($r(e,a,t),r0(e,dt()),e.callbackNode!=null&&e.callbackNode===l?f0.bind(null,e):null)}function s0(e,t){if(D1())return null;$r(e,t,!0)}function Us(){Ws(function(){(xe&6)!==0?xu(Fc,Ds):o0()})}function rc(){if(wl===0){var e=va;e===0&&(e=Bn,Bn<<=1,(Bn&261888)===0&&(Bn=256)),wl=e}return wl}function d0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Kn(""+e)}function g0(e,t){var l=t.ownerDocument.createElement("input");return l.name=t.name,l.value=t.value,e.id&&l.setAttribute("form",e.id),t.parentNode.insertBefore(l,t),e=new FormData(e),l.parentNode.removeChild(l),e}function Zs(e,t,l,a,n){if(t==="submit"&&l&&l.stateNode===n){var u=d0((n[ut]||null).action),c=a.submitter;c&&(t=(t=c[ut]||null)?d0(t.formAction):c.getAttribute("formAction"),t!==null&&(u=t,c=null));var g=new Fn("action","action",null,a,n);e.push({event:g,listeners:[{instance:null,listener:function(){if(a.defaultPrevented){if(wl!==0){var v=c?g0(n,c):new FormData(n);Li(l,{pending:!0,data:v,method:n.method,action:u},null,v)}}else typeof u=="function"&&(g.preventDefault(),v=c?g0(n,c):new FormData(n),Li(l,{pending:!0,data:v,method:n.method,action:u},u,v))},currentTarget:n}]})}}for(var fc=0;fc<Qu.length;fc++){var sc=Qu[fc],Bs=sc.toLowerCase(),Ys=sc[0].toUpperCase()+sc.slice(1);Ot(Bs,"on"+Ys)}Ot(X9,"onAnimationEnd"),Ot(G9,"onAnimationIteration"),Ot($9,"onAnimationStart"),Ot("dblclick","onDoubleClick"),Ot("focusin","onFocus"),Ot("focusout","onBlur"),Ot(as,"onTransitionRun"),Ot(ns,"onTransitionStart"),Ot(us,"onTransitionCancel"),Ot(Q9,"onTransitionEnd"),na("onMouseEnter",["mouseout","mouseover"]),na("onMouseLeave",["mouseout","mouseover"]),na("onPointerEnter",["pointerout","pointerover"]),na("onPointerLeave",["pointerout","pointerover"]),Dl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Dl("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tn="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(" "),qs=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tn));function h0(e,t){t=(t&4)!==0;for(var l=0;l<e.length;l++){var a=e[l],n=a.event;a=a.listeners;e:{var u=void 0;if(t)for(var c=a.length-1;0<=c;c--){var g=a[c],v=g.instance,E=g.currentTarget;if(g=g.listener,v!==u&&n.isPropagationStopped())break e;u=g,n.currentTarget=E;try{u(n)}catch(_){e1(_)}n.currentTarget=null,u=v}else for(c=0;c<a.length;c++){if(g=a[c],v=g.instance,E=g.currentTarget,g=g.listener,v!==u&&n.isPropagationStopped())break e;u=g,n.currentTarget=E;try{u(n)}catch(_){e1(_)}n.currentTarget=null,u=v}}}}function se(e,t){var l=t[ju];l===void 0&&(l=t[ju]=new Set);var a=e+"__bubble";l.has(a)||(p0(t,e,2,!1),l.add(a))}function dc(e,t,l){var a=0;t&&(a|=4),p0(l,e,a,t)}var B1="_reactListening"+Math.random().toString(36).slice(2);function gc(e){if(!e[B1]){e[B1]=!0,c9.forEach(function(l){l!=="selectionchange"&&(qs.has(l)||dc(l,!1,e),dc(l,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[B1]||(t[B1]=!0,dc("selectionchange",!1,t))}}function p0(e,t,l,a){switch(G0(t)){case 2:var n=m3;break;case 8:n=y3;break;default:n=zc}l=n.bind(null,t,l,e),n=void 0,!Au||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(n=!0),a?n!==void 0?e.addEventListener(t,l,{capture:!0,passive:n}):e.addEventListener(t,l,!0):n!==void 0?e.addEventListener(t,l,{passive:n}):e.addEventListener(t,l,!1)}function hc(e,t,l,a,n){var u=a;if((t&1)===0&&(t&2)===0&&a!==null)e:for(;;){if(a===null)return;var c=a.tag;if(c===3||c===4){var g=a.stateNode.containerInfo;if(g===n)break;if(c===4)for(c=a.return;c!==null;){var v=c.tag;if((v===3||v===4)&&c.stateNode.containerInfo===n)return;c=c.return}for(;g!==null;){if(c=ta(g),c===null)return;if(v=c.tag,v===5||v===6||v===26||v===27){a=u=c;continue e}g=g.parentNode}}a=a.return}x9(function(){var E=u,_=_u(l),H=[];e:{var T=K9.get(e);if(T!==void 0){var L=Fn,$=e;switch(e){case"keypress":if(kn(l)===0)break e;case"keydown":case"keyup":L=Vf;break;case"focusin":$="focus",L=Du;break;case"focusout":$="blur",L=Du;break;case"beforeblur":case"afterblur":L=Du;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":L=S9;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":L=wf;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":L=Uf;break;case X9:case G9:case $9:L=Tf;break;case Q9:L=Bf;break;case"scroll":case"scrollend":L=bf;break;case"wheel":L=qf;break;case"copy":case"cut":case"paste":L=zf;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":L=j9;break;case"toggle":case"beforetoggle":L=Gf}var I=(t&4)!==0,Te=!I&&(e==="scroll"||e==="scrollend"),w=I?T!==null?T+"Capture":null:T;I=[];for(var C=E,j;C!==null;){var A=C;if(j=A.stateNode,A=A.tag,A!==5&&A!==26&&A!==27||j===null||w===null||(A=Ka(C,w),A!=null&&I.push(Mn(C,A,j))),Te)break;C=C.return}0<I.length&&(T=new L(T,$,null,l,_),H.push({event:T,listeners:I}))}}if((t&7)===0){e:{if(T=e==="mouseover"||e==="pointerover",L=e==="mouseout"||e==="pointerout",T&&l!==Ru&&($=l.relatedTarget||l.fromElement)&&(ta($)||$[ea]))break e;if((L||T)&&(T=_.window===_?_:(T=_.ownerDocument)?T.defaultView||T.parentWindow:window,L?($=l.relatedTarget||l.toElement,L=E,$=$?ta($):null,$!==null&&(Te=m($),I=$.tag,$!==Te||I!==5&&I!==27&&I!==6)&&($=null)):(L=null,$=E),L!==$)){if(I=S9,A="onMouseLeave",w="onMouseEnter",C="mouse",(e==="pointerout"||e==="pointerover")&&(I=j9,A="onPointerLeave",w="onPointerEnter",C="pointer"),Te=L==null?T:Qa(L),j=$==null?T:Qa($),T=new I(A,C+"leave",L,l,_),T.target=Te,T.relatedTarget=j,A=null,ta(_)===E&&(I=new I(w,C+"enter",$,l,_),I.target=j,I.relatedTarget=Te,A=I),Te=A,L&&$)t:{for(I=Xs,w=L,C=$,j=0,A=w;A;A=I(A))j++;A=0;for(var P=C;P;P=I(P))A++;for(;0<j-A;)w=I(w),j--;for(;0<A-j;)C=I(C),A--;for(;j--;){if(w===C||C!==null&&w===C.alternate){I=w;break t}w=I(w),C=I(C)}I=null}else I=null;L!==null&&m0(H,T,L,I,!1),$!==null&&Te!==null&&m0(H,Te,$,I,!0)}}e:{if(T=E?Qa(E):window,L=T.nodeName&&T.nodeName.toLowerCase(),L==="select"||L==="input"&&T.type==="file")var ye=O9;else if(R9(T))if(A9)ye=es;else{ye=Pf;var J=Ff}else L=T.nodeName,!L||L.toLowerCase()!=="input"||T.type!=="checkbox"&&T.type!=="radio"?E&&Lu(E.elementType)&&(ye=O9):ye=If;if(ye&&(ye=ye(e,E))){_9(H,ye,l,_);break e}J&&J(e,T,E),e==="focusout"&&E&&T.type==="number"&&E.memoizedProps.value!=null&&zu(T,"number",T.value)}switch(J=E?Qa(E):window,e){case"focusin":(R9(J)||J.contentEditable==="true")&&(fa=J,Xu=E,tn=null);break;case"focusout":tn=Xu=fa=null;break;case"mousedown":Gu=!0;break;case"contextmenu":case"mouseup":case"dragend":Gu=!1,Y9(H,l,_);break;case"selectionchange":if(ls)break;case"keydown":case"keyup":Y9(H,l,_)}var ce;if(Zu)e:{switch(e){case"compositionstart":var ge="onCompositionStart";break e;case"compositionend":ge="onCompositionEnd";break e;case"compositionupdate":ge="onCompositionUpdate";break e}ge=void 0}else ra?z9(e,l)&&(ge="onCompositionEnd"):e==="keydown"&&l.keyCode===229&&(ge="onCompositionStart");ge&&(E9&&l.locale!=="ko"&&(ra||ge!=="onCompositionStart"?ge==="onCompositionEnd"&&ra&&(ce=C9()):(cl=_,Hu="value"in cl?cl.value:cl.textContent,ra=!0)),J=Y1(E,ge),0<J.length&&(ge=new w9(ge,e,null,l,_),H.push({event:ge,listeners:J}),ce?ge.data=ce:(ce=L9(l),ce!==null&&(ge.data=ce)))),(ce=Qf?Kf(e,l):Jf(e,l))&&(ge=Y1(E,"onBeforeInput"),0<ge.length&&(J=new w9("onBeforeInput","beforeinput",null,l,_),H.push({event:J,listeners:ge}),J.data=ce)),Zs(H,e,E,l,_)}h0(H,t)})}function Mn(e,t,l){return{instance:e,listener:t,currentTarget:l}}function Y1(e,t){for(var l=t+"Capture",a=[];e!==null;){var n=e,u=n.stateNode;if(n=n.tag,n!==5&&n!==26&&n!==27||u===null||(n=Ka(e,l),n!=null&&a.unshift(Mn(e,n,u)),n=Ka(e,t),n!=null&&a.push(Mn(e,n,u))),e.tag===3)return a;e=e.return}return[]}function Xs(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function m0(e,t,l,a,n){for(var u=t._reactName,c=[];l!==null&&l!==a;){var g=l,v=g.alternate,E=g.stateNode;if(g=g.tag,v!==null&&v===a)break;g!==5&&g!==26&&g!==27||E===null||(v=E,n?(E=Ka(l,u),E!=null&&c.unshift(Mn(l,E,v))):n||(E=Ka(l,u),E!=null&&c.push(Mn(l,E,v)))),l=l.return}c.length!==0&&e.push({event:t,listeners:c})}var Gs=/\r\n?/g,$s=/\u0000|\uFFFD/g;function y0(e){return(typeof e=="string"?e:""+e).replace(Gs,`
|
|
49
|
-
`).replace($s,"")}function v0(e,t){return t=y0(t),y0(e)===t}function Ee(e,t,l,a,n,u){switch(l){case"children":typeof a=="string"?t==="body"||t==="textarea"&&a===""||ia(e,a):(typeof a=="number"||typeof a=="bigint")&&t!=="body"&&ia(e,""+a);break;case"className":$n(e,"class",a);break;case"tabIndex":$n(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":$n(e,l,a);break;case"style":y9(e,a,u);break;case"data":if(t!=="object"){$n(e,"data",a);break}case"src":case"href":if(a===""&&(t!=="a"||l!=="href")){e.removeAttribute(l);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Kn(""+a),e.setAttribute(l,a);break;case"action":case"formAction":if(typeof a=="function"){e.setAttribute(l,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof u=="function"&&(l==="formAction"?(t!=="input"&&Ee(e,t,"name",n.name,n,null),Ee(e,t,"formEncType",n.formEncType,n,null),Ee(e,t,"formMethod",n.formMethod,n,null),Ee(e,t,"formTarget",n.formTarget,n,null)):(Ee(e,t,"encType",n.encType,n,null),Ee(e,t,"method",n.method,n,null),Ee(e,t,"target",n.target,n,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){e.removeAttribute(l);break}a=Kn(""+a),e.setAttribute(l,a);break;case"onClick":a!=null&&(e.onclick=Yt);break;case"onScroll":a!=null&&se("scroll",e);break;case"onScrollEnd":a!=null&&se("scrollend",e);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"multiple":e.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":e.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){e.removeAttribute("xlink:href");break}l=Kn(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""+a):e.removeAttribute(l);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,""):e.removeAttribute(l);break;case"capture":case"download":a===!0?e.setAttribute(l,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?e.setAttribute(l,a):e.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?e.setAttribute(l,a):e.removeAttribute(l);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?e.removeAttribute(l):e.setAttribute(l,a);break;case"popover":se("beforetoggle",e),se("toggle",e),Gn(e,"popover",a);break;case"xlinkActuate":Bt(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Bt(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Bt(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Bt(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Bt(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Bt(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Bt(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Gn(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=xf.get(l)||l,Gn(e,l,a))}}function pc(e,t,l,a,n,u){switch(l){case"style":y9(e,a,u);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(o(61));if(l=a.__html,l!=null){if(n.children!=null)throw Error(o(60));e.innerHTML=l}}break;case"children":typeof a=="string"?ia(e,a):(typeof a=="number"||typeof a=="bigint")&&ia(e,""+a);break;case"onScroll":a!=null&&se("scroll",e);break;case"onScrollEnd":a!=null&&se("scrollend",e);break;case"onClick":a!=null&&(e.onclick=Yt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!o9.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(n=l.endsWith("Capture"),t=l.slice(2,n?l.length-7:void 0),u=e[ut]||null,u=u!=null?u[l]:null,typeof u=="function"&&e.removeEventListener(t,u,n),typeof a=="function")){typeof u!="function"&&u!==null&&(l in e?e[l]=null:e.hasAttribute(l)&&e.removeAttribute(l)),e.addEventListener(t,a,n);break e}l in e?e[l]=a:a===!0?e.setAttribute(l,""):Gn(e,l,a)}}}function Pe(e,t,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":se("error",e),se("load",e);var a=!1,n=!1,u;for(u in l)if(l.hasOwnProperty(u)){var c=l[u];if(c!=null)switch(u){case"src":a=!0;break;case"srcSet":n=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ee(e,t,u,c,l,null)}}n&&Ee(e,t,"srcSet",l.srcSet,l,null),a&&Ee(e,t,"src",l.src,l,null);return;case"input":se("invalid",e);var g=u=c=n=null,v=null,E=null;for(a in l)if(l.hasOwnProperty(a)){var _=l[a];if(_!=null)switch(a){case"name":n=_;break;case"type":c=_;break;case"checked":v=_;break;case"defaultChecked":E=_;break;case"value":u=_;break;case"defaultValue":g=_;break;case"children":case"dangerouslySetInnerHTML":if(_!=null)throw Error(o(137,t));break;default:Ee(e,t,a,_,l,null)}}g9(e,u,g,v,E,c,n,!1);return;case"select":se("invalid",e),a=c=u=null;for(n in l)if(l.hasOwnProperty(n)&&(g=l[n],g!=null))switch(n){case"value":u=g;break;case"defaultValue":c=g;break;case"multiple":a=g;default:Ee(e,t,n,g,l,null)}t=u,l=c,e.multiple=!!a,t!=null?ua(e,!!a,t,!1):l!=null&&ua(e,!!a,l,!0);return;case"textarea":se("invalid",e),u=n=a=null;for(c in l)if(l.hasOwnProperty(c)&&(g=l[c],g!=null))switch(c){case"value":a=g;break;case"defaultValue":n=g;break;case"children":u=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(o(91));break;default:Ee(e,t,c,g,l,null)}p9(e,a,n,u);return;case"option":for(v in l)if(l.hasOwnProperty(v)&&(a=l[v],a!=null))switch(v){case"selected":e.selected=a&&typeof a!="function"&&typeof a!="symbol";break;default:Ee(e,t,v,a,l,null)}return;case"dialog":se("beforetoggle",e),se("toggle",e),se("cancel",e),se("close",e);break;case"iframe":case"object":se("load",e);break;case"video":case"audio":for(a=0;a<Tn.length;a++)se(Tn[a],e);break;case"image":se("error",e),se("load",e);break;case"details":se("toggle",e);break;case"embed":case"source":case"link":se("error",e),se("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(E in l)if(l.hasOwnProperty(E)&&(a=l[E],a!=null))switch(E){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,t));default:Ee(e,t,E,a,l,null)}return;default:if(Lu(t)){for(_ in l)l.hasOwnProperty(_)&&(a=l[_],a!==void 0&&pc(e,t,_,a,l,void 0));return}}for(g in l)l.hasOwnProperty(g)&&(a=l[g],a!=null&&Ee(e,t,g,a,l,null))}function Qs(e,t,l,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,u=null,c=null,g=null,v=null,E=null,_=null;for(L in l){var H=l[L];if(l.hasOwnProperty(L)&&H!=null)switch(L){case"checked":break;case"value":break;case"defaultValue":v=H;default:a.hasOwnProperty(L)||Ee(e,t,L,null,a,H)}}for(var T in a){var L=a[T];if(H=l[T],a.hasOwnProperty(T)&&(L!=null||H!=null))switch(T){case"type":u=L;break;case"name":n=L;break;case"checked":E=L;break;case"defaultChecked":_=L;break;case"value":c=L;break;case"defaultValue":g=L;break;case"children":case"dangerouslySetInnerHTML":if(L!=null)throw Error(o(137,t));break;default:L!==H&&Ee(e,t,T,L,a,H)}}Mu(e,c,g,v,E,_,u,n);return;case"select":L=c=g=T=null;for(u in l)if(v=l[u],l.hasOwnProperty(u)&&v!=null)switch(u){case"value":break;case"multiple":L=v;default:a.hasOwnProperty(u)||Ee(e,t,u,null,a,v)}for(n in a)if(u=a[n],v=l[n],a.hasOwnProperty(n)&&(u!=null||v!=null))switch(n){case"value":T=u;break;case"defaultValue":g=u;break;case"multiple":c=u;default:u!==v&&Ee(e,t,n,u,a,v)}t=g,l=c,a=L,T!=null?ua(e,!!l,T,!1):!!a!=!!l&&(t!=null?ua(e,!!l,t,!0):ua(e,!!l,l?[]:"",!1));return;case"textarea":L=T=null;for(g in l)if(n=l[g],l.hasOwnProperty(g)&&n!=null&&!a.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:Ee(e,t,g,null,a,n)}for(c in a)if(n=a[c],u=l[c],a.hasOwnProperty(c)&&(n!=null||u!=null))switch(c){case"value":T=n;break;case"defaultValue":L=n;break;case"children":break;case"dangerouslySetInnerHTML":if(n!=null)throw Error(o(91));break;default:n!==u&&Ee(e,t,c,n,a,u)}h9(e,T,L);return;case"option":for(var $ in l)if(T=l[$],l.hasOwnProperty($)&&T!=null&&!a.hasOwnProperty($))switch($){case"selected":e.selected=!1;break;default:Ee(e,t,$,null,a,T)}for(v in a)if(T=a[v],L=l[v],a.hasOwnProperty(v)&&T!==L&&(T!=null||L!=null))switch(v){case"selected":e.selected=T&&typeof T!="function"&&typeof T!="symbol";break;default:Ee(e,t,v,T,a,L)}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 I in l)T=l[I],l.hasOwnProperty(I)&&T!=null&&!a.hasOwnProperty(I)&&Ee(e,t,I,null,a,T);for(E in a)if(T=a[E],L=l[E],a.hasOwnProperty(E)&&T!==L&&(T!=null||L!=null))switch(E){case"children":case"dangerouslySetInnerHTML":if(T!=null)throw Error(o(137,t));break;default:Ee(e,t,E,T,a,L)}return;default:if(Lu(t)){for(var Te in l)T=l[Te],l.hasOwnProperty(Te)&&T!==void 0&&!a.hasOwnProperty(Te)&&pc(e,t,Te,void 0,a,T);for(_ in a)T=a[_],L=l[_],!a.hasOwnProperty(_)||T===L||T===void 0&&L===void 0||pc(e,t,_,T,a,L);return}}for(var w in l)T=l[w],l.hasOwnProperty(w)&&T!=null&&!a.hasOwnProperty(w)&&Ee(e,t,w,null,a,T);for(H in a)T=a[H],L=l[H],!a.hasOwnProperty(H)||T===L||T==null&&L==null||Ee(e,t,H,T,a,L)}function x0(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Ks(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,l=performance.getEntriesByType("resource"),a=0;a<l.length;a++){var n=l[a],u=n.transferSize,c=n.initiatorType,g=n.duration;if(u&&g&&x0(c)){for(c=0,g=n.responseEnd,a+=1;a<l.length;a++){var v=l[a],E=v.startTime;if(E>g)break;var _=v.transferSize,H=v.initiatorType;_&&x0(H)&&(v=v.responseEnd,c+=_*(v<g?1:(g-E)/(v-E)))}if(--a,t+=8*(u+c)/(n.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var mc=null,yc=null;function q1(e){return e.nodeType===9?e:e.ownerDocument}function C0(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function b0(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function vc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var xc=null;function Js(){var e=window.event;return e&&e.type==="popstate"?e===xc?!1:(xc=e,!0):(xc=null,!1)}var S0=typeof setTimeout=="function"?setTimeout:void 0,ks=typeof clearTimeout=="function"?clearTimeout:void 0,w0=typeof Promise=="function"?Promise:void 0,Ws=typeof queueMicrotask=="function"?queueMicrotask:typeof w0<"u"?function(e){return w0.resolve(null).then(e).catch(Fs)}:S0;function Fs(e){setTimeout(function(){throw e})}function jl(e){return e==="head"}function j0(e,t){var l=t,a=0;do{var n=l.nextSibling;if(e.removeChild(l),n&&n.nodeType===8)if(l=n.data,l==="/$"||l==="/&"){if(a===0){e.removeChild(n),Da(t);return}a--}else if(l==="$"||l==="$?"||l==="$~"||l==="$!"||l==="&")a++;else if(l==="html")zn(e.ownerDocument.documentElement);else if(l==="head"){l=e.ownerDocument.head,zn(l);for(var u=l.firstChild;u;){var c=u.nextSibling,g=u.nodeName;u[$a]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&u.rel.toLowerCase()==="stylesheet"||l.removeChild(u),u=c}}else l==="body"&&zn(e.ownerDocument.body);l=n}while(l);Da(t)}function E0(e,t){var l=e;e=0;do{var a=l.nextSibling;if(l.nodeType===1?t?(l._stashedDisplay=l.style.display,l.style.display="none"):(l.style.display=l._stashedDisplay||"",l.getAttribute("style")===""&&l.removeAttribute("style")):l.nodeType===3&&(t?(l._stashedText=l.nodeValue,l.nodeValue=""):l.nodeValue=l._stashedText||""),a&&a.nodeType===8)if(l=a.data,l==="/$"){if(e===0)break;e--}else l!=="$"&&l!=="$?"&&l!=="$~"&&l!=="$!"||e++;l=a}while(l)}function Cc(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var l=t;switch(t=t.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":Cc(l),Eu(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}e.removeChild(l)}}function Ps(e,t,l,a){for(;e.nodeType===1;){var n=l;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!a&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(a){if(!e[$a])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(u=e.getAttribute("rel"),u==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(u!==n.rel||e.getAttribute("href")!==(n.href==null||n.href===""?null:n.href)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin)||e.getAttribute("title")!==(n.title==null?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(u=e.getAttribute("src"),(u!==(n.src==null?null:n.src)||e.getAttribute("type")!==(n.type==null?null:n.type)||e.getAttribute("crossorigin")!==(n.crossOrigin==null?null:n.crossOrigin))&&u&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var u=n.name==null?null:""+n.name;if(n.type==="hidden"&&e.getAttribute("name")===u)return e}else return e;if(e=Rt(e.nextSibling),e===null)break}return null}function Is(e,t,l){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!l||(e=Rt(e.nextSibling),e===null))return null;return e}function T0(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Rt(e.nextSibling),e===null))return null;return e}function bc(e){return e.data==="$?"||e.data==="$~"}function Sc(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function e3(e,t){var l=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||l.readyState!=="loading")t();else{var a=function(){t(),l.removeEventListener("DOMContentLoaded",a)};l.addEventListener("DOMContentLoaded",a),e._reactRetry=a}}function Rt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var wc=null;function M0(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="/$"||l==="/&"){if(t===0)return Rt(e.nextSibling);t--}else l!=="$"&&l!=="$!"&&l!=="$?"&&l!=="$~"&&l!=="&"||t++}e=e.nextSibling}return null}function z0(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var l=e.data;if(l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"){if(t===0)return e;t--}else l!=="/$"&&l!=="/&"||t++}e=e.previousSibling}return null}function L0(e,t,l){switch(t=q1(l),e){case"html":if(e=t.documentElement,!e)throw Error(o(452));return e;case"head":if(e=t.head,!e)throw Error(o(453));return e;case"body":if(e=t.body,!e)throw Error(o(454));return e;default:throw Error(o(451))}}function zn(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Eu(e)}var _t=new Map,R0=new Set;function X1(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var al=Y.d;Y.d={f:t3,r:l3,D:a3,C:n3,L:u3,m:i3,X:o3,S:c3,M:r3};function t3(){var e=al.f(),t=H1();return e||t}function l3(e){var t=la(e);t!==null&&t.tag===5&&t.type==="form"?Ko(t):al.r(e)}var Ha=typeof document>"u"?null:document;function _0(e,t,l){var a=Ha;if(a&&typeof t=="string"&&t){var n=wt(t);n='link[rel="'+e+'"][href="'+n+'"]',typeof l=="string"&&(n+='[crossorigin="'+l+'"]'),R0.has(n)||(R0.add(n),e={rel:e,crossOrigin:l,href:t},a.querySelector(n)===null&&(t=a.createElement("link"),Pe(t,"link",e),$e(t),a.head.appendChild(t)))}}function a3(e){al.D(e),_0("dns-prefetch",e,null)}function n3(e,t){al.C(e,t),_0("preconnect",e,t)}function u3(e,t,l){al.L(e,t,l);var a=Ha;if(a&&e&&t){var n='link[rel="preload"][as="'+wt(t)+'"]';t==="image"&&l&&l.imageSrcSet?(n+='[imagesrcset="'+wt(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(n+='[imagesizes="'+wt(l.imageSizes)+'"]')):n+='[href="'+wt(e)+'"]';var u=n;switch(t){case"style":u=Va(e);break;case"script":u=Na(e)}_t.has(u)||(e=M({rel:"preload",href:t==="image"&&l&&l.imageSrcSet?void 0:e,as:t},l),_t.set(u,e),a.querySelector(n)!==null||t==="style"&&a.querySelector(Ln(u))||t==="script"&&a.querySelector(Rn(u))||(t=a.createElement("link"),Pe(t,"link",e),$e(t),a.head.appendChild(t)))}}function i3(e,t){al.m(e,t);var l=Ha;if(l&&e){var a=t&&typeof t.as=="string"?t.as:"script",n='link[rel="modulepreload"][as="'+wt(a)+'"][href="'+wt(e)+'"]',u=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":u=Na(e)}if(!_t.has(u)&&(e=M({rel:"modulepreload",href:e},t),_t.set(u,e),l.querySelector(n)===null)){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Rn(u)))return}a=l.createElement("link"),Pe(a,"link",e),$e(a),l.head.appendChild(a)}}}function c3(e,t,l){al.S(e,t,l);var a=Ha;if(a&&e){var n=aa(a).hoistableStyles,u=Va(e);t=t||"default";var c=n.get(u);if(!c){var g={loading:0,preload:null};if(c=a.querySelector(Ln(u)))g.loading=5;else{e=M({rel:"stylesheet",href:e,"data-precedence":t},l),(l=_t.get(u))&&jc(e,l);var v=c=a.createElement("link");$e(v),Pe(v,"link",e),v._p=new Promise(function(E,_){v.onload=E,v.onerror=_}),v.addEventListener("load",function(){g.loading|=1}),v.addEventListener("error",function(){g.loading|=2}),g.loading|=4,G1(c,t,a)}c={type:"stylesheet",instance:c,count:1,state:g},n.set(u,c)}}}function o3(e,t){al.X(e,t);var l=Ha;if(l&&e){var a=aa(l).hoistableScripts,n=Na(e),u=a.get(n);u||(u=l.querySelector(Rn(n)),u||(e=M({src:e,async:!0},t),(t=_t.get(n))&&Ec(e,t),u=l.createElement("script"),$e(u),Pe(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function r3(e,t){al.M(e,t);var l=Ha;if(l&&e){var a=aa(l).hoistableScripts,n=Na(e),u=a.get(n);u||(u=l.querySelector(Rn(n)),u||(e=M({src:e,async:!0,type:"module"},t),(t=_t.get(n))&&Ec(e,t),u=l.createElement("script"),$e(u),Pe(u,"link",e),l.head.appendChild(u)),u={type:"script",instance:u,count:1,state:null},a.set(n,u))}}function O0(e,t,l,a){var n=(n=re.current)?X1(n):null;if(!n)throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(t=Va(l.href),l=aa(n).hoistableStyles,a=l.get(t),a||(a={type:"style",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){e=Va(l.href);var u=aa(n).hoistableStyles,c=u.get(e);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},u.set(e,c),(u=n.querySelector(Ln(e)))&&!u._p&&(c.instance=u,c.state.loading=5),_t.has(e)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},_t.set(e,l),u||f3(n,e,l,c.state))),t&&a===null)throw Error(o(528,""));return c}if(t&&a!==null)throw Error(o(529,""));return null;case"script":return t=l.async,l=l.src,typeof l=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Na(l),l=aa(n).hoistableScripts,a=l.get(t),a||(a={type:"script",instance:null,count:0,state:null},l.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}function Va(e){return'href="'+wt(e)+'"'}function Ln(e){return'link[rel="stylesheet"]['+e+"]"}function A0(e){return M({},e,{"data-precedence":e.precedence,precedence:null})}function f3(e,t,l,a){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?a.loading=1:(t=e.createElement("link"),a.preload=t,t.addEventListener("load",function(){return a.loading|=1}),t.addEventListener("error",function(){return a.loading|=2}),Pe(t,"link",l),$e(t),e.head.appendChild(t))}function Na(e){return'[src="'+wt(e)+'"]'}function Rn(e){return"script[async]"+e}function H0(e,t,l){if(t.count++,t.instance===null)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+wt(l.href)+'"]');if(a)return t.instance=a,$e(a),a;var n=M({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return a=(e.ownerDocument||e).createElement("style"),$e(a),Pe(a,"style",n),G1(a,l.precedence,e),t.instance=a;case"stylesheet":n=Va(l.href);var u=e.querySelector(Ln(n));if(u)return t.state.loading|=4,t.instance=u,$e(u),u;a=A0(l),(n=_t.get(n))&&jc(a,n),u=(e.ownerDocument||e).createElement("link"),$e(u);var c=u;return c._p=new Promise(function(g,v){c.onload=g,c.onerror=v}),Pe(u,"link",a),t.state.loading|=4,G1(u,l.precedence,e),t.instance=u;case"script":return u=Na(l.src),(n=e.querySelector(Rn(u)))?(t.instance=n,$e(n),n):(a=l,(n=_t.get(u))&&(a=M({},l),Ec(a,n)),e=e.ownerDocument||e,n=e.createElement("script"),$e(n),Pe(n,"link",a),e.head.appendChild(n),t.instance=n);case"void":return null;default:throw Error(o(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(a=t.instance,t.state.loading|=4,G1(a,l.precedence,e));return t.instance}function G1(e,t,l){for(var a=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,u=n,c=0;c<a.length;c++){var g=a[c];if(g.dataset.precedence===t)u=g;else if(u!==n)break}u?u.parentNode.insertBefore(e,u.nextSibling):(t=l.nodeType===9?l.head:l,t.insertBefore(e,t.firstChild))}function jc(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Ec(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var $1=null;function V0(e,t,l){if($1===null){var a=new Map,n=$1=new Map;n.set(l,a)}else n=$1,a=n.get(l),a||(a=new Map,n.set(l,a));if(a.has(e))return a;for(a.set(e,null),l=l.getElementsByTagName(e),n=0;n<l.length;n++){var u=l[n];if(!(u[$a]||u[Je]||e==="link"&&u.getAttribute("rel")==="stylesheet")&&u.namespaceURI!=="http://www.w3.org/2000/svg"){var c=u.getAttribute(t)||"";c=e+c;var g=a.get(c);g?g.push(u):a.set(c,[u])}}return a}function N0(e,t,l){e=e.ownerDocument||e,e.head.insertBefore(l,t==="title"?e.querySelector("head > title"):null)}function s3(e,t,l){if(l===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function D0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function d3(e,t,l,a){if(l.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&(l.state.loading&4)===0){if(l.instance===null){var n=Va(a.href),u=t.querySelector(Ln(n));if(u){t=u._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Q1.bind(e),t.then(e,e)),l.state.loading|=4,l.instance=u,$e(u);return}u=t.ownerDocument||t,a=A0(a),(n=_t.get(n))&&jc(a,n),u=u.createElement("link"),$e(u);var c=u;c._p=new Promise(function(g,v){c.onload=g,c.onerror=v}),Pe(u,"link",a),l.instance=u}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(l,t),(t=l.state.preload)&&(l.state.loading&3)===0&&(e.count++,l=Q1.bind(e),t.addEventListener("load",l),t.addEventListener("error",l))}}var Tc=0;function g3(e,t){return e.stylesheets&&e.count===0&&J1(e,e.stylesheets),0<e.count||0<e.imgCount?function(l){var a=setTimeout(function(){if(e.stylesheets&&J1(e,e.stylesheets),e.unsuspend){var u=e.unsuspend;e.unsuspend=null,u()}},6e4+t);0<e.imgBytes&&Tc===0&&(Tc=62500*Ks());var n=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&J1(e,e.stylesheets),e.unsuspend)){var u=e.unsuspend;e.unsuspend=null,u()}},(e.imgBytes>Tc?50:800)+t);return e.unsuspend=l,function(){e.unsuspend=null,clearTimeout(a),clearTimeout(n)}}:null}function Q1(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)J1(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var K1=null;function J1(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,K1=new Map,t.forEach(h3,e),K1=null,Q1.call(e))}function h3(e,t){if(!(t.state.loading&4)){var l=K1.get(e);if(l)var a=l.get(null);else{l=new Map,K1.set(e,l);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),u=0;u<n.length;u++){var c=n[u];(c.nodeName==="LINK"||c.getAttribute("media")!=="not all")&&(l.set(c.dataset.precedence,c),a=c)}a&&l.set(null,a)}n=t.instance,c=n.getAttribute("data-precedence"),u=l.get(c)||a,u===a&&l.set(null,n),l.set(c,n),this.count++,a=Q1.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),u?u.parentNode.insertBefore(n,u.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(n,e.firstChild)),t.state.loading|=4}}var _n={$$typeof:W,Provider:null,Consumer:null,_currentValue:ee,_currentValue2:ee,_threadCount:0};function p3(e,t,l,a,n,u,c,g,v){this.tag=1,this.containerInfo=e,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=bu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bu(0),this.hiddenUpdates=bu(null),this.identifierPrefix=a,this.onUncaughtError=n,this.onCaughtError=u,this.onRecoverableError=c,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=v,this.incompleteTransitions=new Map}function U0(e,t,l,a,n,u,c,g,v,E,_,H){return e=new p3(e,t,l,c,v,E,_,H,g),t=1,u===!0&&(t|=24),u=mt(3,null,null,t),e.current=u,u.stateNode=e,t=ui(),t.refCount++,e.pooledCache=t,t.refCount++,u.memoizedState={element:a,isDehydrated:l,cache:t},ri(u),e}function Z0(e){return e?(e=ga,e):ga}function B0(e,t,l,a,n,u){n=Z0(n),a.context===null?a.context=n:a.pendingContext=n,a=gl(t),a.payload={element:l},u=u===void 0?null:u,u!==null&&(a.callback=u),l=hl(e,a,t),l!==null&&(st(l,e,t),rn(l,e,t))}function Y0(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var l=e.retryLane;e.retryLane=l!==0&&l<t?l:t}}function Mc(e,t){Y0(e,t),(e=e.alternate)&&Y0(e,t)}function q0(e){if(e.tag===13||e.tag===31){var t=Yl(e,67108864);t!==null&&st(t,e,67108864),Mc(e,67108864)}}function X0(e){if(e.tag===13||e.tag===31){var t=bt();t=Su(t);var l=Yl(e,t);l!==null&&st(l,e,t),Mc(e,t)}}var k1=!0;function m3(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=2,zc(e,t,l,a)}finally{Y.p=u,O.T=n}}function y3(e,t,l,a){var n=O.T;O.T=null;var u=Y.p;try{Y.p=8,zc(e,t,l,a)}finally{Y.p=u,O.T=n}}function zc(e,t,l,a){if(k1){var n=Lc(a);if(n===null)hc(e,t,a,W1,l),$0(e,a);else if(x3(n,e,t,l,a))a.stopPropagation();else if($0(e,a),t&4&&-1<v3.indexOf(e)){for(;n!==null;){var u=la(n);if(u!==null)switch(u.tag){case 3:if(u=u.stateNode,u.current.memoizedState.isDehydrated){var c=Nl(u.pendingLanes);if(c!==0){var g=u;for(g.pendingLanes|=2,g.entangledLanes|=2;c;){var v=1<<31-ht(c);g.entanglements[1]|=v,c&=~v}Zt(u),(xe&6)===0&&(O1=dt()+500,En(0))}}break;case 31:case 13:g=Yl(u,2),g!==null&&st(g,u,2),H1(),Mc(u,2)}if(u=Lc(a),u===null&&hc(e,t,a,W1,l),u===n)break;n=u}n!==null&&a.stopPropagation()}else hc(e,t,a,null,l)}}function Lc(e){return e=_u(e),Rc(e)}var W1=null;function Rc(e){if(W1=null,e=ta(e),e!==null){var t=m(e);if(t===null)e=null;else{var l=t.tag;if(l===13){if(e=h(t),e!==null)return e;e=null}else if(l===31){if(e=S(t),e!==null)return e;e=null}else if(l===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return W1=e,null}function G0(e){switch(e){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(lf()){case Fc:return 2;case Pc:return 8;case Zn:case af:return 32;case Ic:return 268435456;default:return 32}default:return 32}}var _c=!1,El=null,Tl=null,Ml=null,On=new Map,An=new Map,zl=[],v3="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 $0(e,t){switch(e){case"focusin":case"focusout":El=null;break;case"dragenter":case"dragleave":Tl=null;break;case"mouseover":case"mouseout":Ml=null;break;case"pointerover":case"pointerout":On.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":An.delete(t.pointerId)}}function Hn(e,t,l,a,n,u){return e===null||e.nativeEvent!==u?(e={blockedOn:t,domEventName:l,eventSystemFlags:a,nativeEvent:u,targetContainers:[n]},t!==null&&(t=la(t),t!==null&&q0(t)),e):(e.eventSystemFlags|=a,t=e.targetContainers,n!==null&&t.indexOf(n)===-1&&t.push(n),e)}function x3(e,t,l,a,n){switch(t){case"focusin":return El=Hn(El,e,t,l,a,n),!0;case"dragenter":return Tl=Hn(Tl,e,t,l,a,n),!0;case"mouseover":return Ml=Hn(Ml,e,t,l,a,n),!0;case"pointerover":var u=n.pointerId;return On.set(u,Hn(On.get(u)||null,e,t,l,a,n)),!0;case"gotpointercapture":return u=n.pointerId,An.set(u,Hn(An.get(u)||null,e,t,l,a,n)),!0}return!1}function Q0(e){var t=ta(e.target);if(t!==null){var l=m(t);if(l!==null){if(t=l.tag,t===13){if(t=h(l),t!==null){e.blockedOn=t,u9(e.priority,function(){X0(l)});return}}else if(t===31){if(t=S(l),t!==null){e.blockedOn=t,u9(e.priority,function(){X0(l)});return}}else if(t===3&&l.stateNode.current.memoizedState.isDehydrated){e.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}e.blockedOn=null}function F1(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var l=Lc(e.nativeEvent);if(l===null){l=e.nativeEvent;var a=new l.constructor(l.type,l);Ru=a,l.target.dispatchEvent(a),Ru=null}else return t=la(l),t!==null&&q0(t),e.blockedOn=l,!1;t.shift()}return!0}function K0(e,t,l){F1(e)&&l.delete(t)}function C3(){_c=!1,El!==null&&F1(El)&&(El=null),Tl!==null&&F1(Tl)&&(Tl=null),Ml!==null&&F1(Ml)&&(Ml=null),On.forEach(K0),An.forEach(K0)}function P1(e,t){e.blockedOn===t&&(e.blockedOn=null,_c||(_c=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,C3)))}var I1=null;function J0(e){I1!==e&&(I1=e,i.unstable_scheduleCallback(i.unstable_NormalPriority,function(){I1===e&&(I1=null);for(var t=0;t<e.length;t+=3){var l=e[t],a=e[t+1],n=e[t+2];if(typeof a!="function"){if(Rc(a||l)===null)continue;break}var u=la(l);u!==null&&(e.splice(t,3),t-=3,Li(u,{pending:!0,data:n,method:l.method,action:a},a,n))}}))}function Da(e){function t(v){return P1(v,e)}El!==null&&P1(El,e),Tl!==null&&P1(Tl,e),Ml!==null&&P1(Ml,e),On.forEach(t),An.forEach(t);for(var l=0;l<zl.length;l++){var a=zl[l];a.blockedOn===e&&(a.blockedOn=null)}for(;0<zl.length&&(l=zl[0],l.blockedOn===null);)Q0(l),l.blockedOn===null&&zl.shift();if(l=(e.ownerDocument||e).$$reactFormReplay,l!=null)for(a=0;a<l.length;a+=3){var n=l[a],u=l[a+1],c=n[ut]||null;if(typeof u=="function")c||J0(l);else if(c){var g=null;if(u&&u.hasAttribute("formAction")){if(n=u,c=u[ut]||null)g=c.formAction;else if(Rc(n)!==null)continue}else g=c.action;typeof g=="function"?l[a+1]=g:(l.splice(a,3),a-=3),J0(l)}}}function k0(){function e(u){u.canIntercept&&u.info==="react-transition"&&u.intercept({handler:function(){return new Promise(function(c){return n=c})},focusReset:"manual",scroll:"manual"})}function t(){n!==null&&(n(),n=null),a||setTimeout(l,20)}function l(){if(!a&&!navigation.transition){var u=navigation.currentEntry;u&&u.url!=null&&navigation.navigate(u.url,{state:u.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var a=!1,n=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(l,100),function(){a=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),n!==null&&(n(),n=null)}}}function Oc(e){this._internalRoot=e}eu.prototype.render=Oc.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(o(409));var l=t.current,a=bt();B0(l,a,e,t,null,null)},eu.prototype.unmount=Oc.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;B0(e.current,2,null,e,null,null),H1(),t[ea]=null}};function eu(e){this._internalRoot=e}eu.prototype.unstable_scheduleHydration=function(e){if(e){var t=n9();e={blockedOn:null,target:e,priority:t};for(var l=0;l<zl.length&&t!==0&&t<zl[l].priority;l++);zl.splice(l,0,e),l===0&&Q0(e)}};var W0=s.version;if(W0!=="19.2.4")throw Error(o(527,W0,"19.2.4"));Y.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(o(188)):(e=Object.keys(e).join(","),Error(o(268,e)));return e=y(t),e=e!==null?z(e):null,e=e===null?null:e.stateNode,e};var b3={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:O,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var tu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tu.isDisabled&&tu.supportsFiber)try{qa=tu.inject(b3),gt=tu}catch{}}return Nn.createRoot=function(e,t){if(!d(e))throw Error(o(299));var l=!1,a="",n=ar,u=nr,c=ur;return t!=null&&(t.unstable_strictMode===!0&&(l=!0),t.identifierPrefix!==void 0&&(a=t.identifierPrefix),t.onUncaughtError!==void 0&&(n=t.onUncaughtError),t.onCaughtError!==void 0&&(u=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=U0(e,1,!1,null,null,l,a,null,n,u,c,k0),e[ea]=t.current,gc(e),new Oc(t)},Nn.hydrateRoot=function(e,t,l){if(!d(e))throw Error(o(299));var a=!1,n="",u=ar,c=nr,g=ur,v=null;return l!=null&&(l.unstable_strictMode===!0&&(a=!0),l.identifierPrefix!==void 0&&(n=l.identifierPrefix),l.onUncaughtError!==void 0&&(u=l.onUncaughtError),l.onCaughtError!==void 0&&(c=l.onCaughtError),l.onRecoverableError!==void 0&&(g=l.onRecoverableError),l.formState!==void 0&&(v=l.formState)),t=U0(e,1,!0,t,l??null,a,n,v,u,c,g,k0),t.context=Z0(null),l=t.current,a=bt(),a=Su(a),n=gl(a),n.callback=null,hl(l,n,a),l=a,t.current.lanes=l,Ga(t,l),Zt(t),e[ea]=t.current,gc(e),new eu(t)},Nn.version="19.2.4",Nn}var i2;function R3(){if(i2)return Hc.exports;i2=1;function i(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(i)}catch(s){console.error(s)}}return i(),Hc.exports=L3(),Hc.exports}var _3=R3(),p=Qc();function F(i,s){if(i==null)return{};var f={},o=Object.keys(i),d,m;for(m=0;m<o.length;m++)d=o[m],!(s.indexOf(d)>=0)&&(f[d]=i[d]);return f}var O3=["color"],x2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,O3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M9 3C9 2.44772 8.55229 2 8 2H7C6.44772 2 6 2.44772 6 3L6 14H1.5C1.22386 14 1 14.2239 1 14.5C1 14.7761 1.22386 15 1.5 15L6 15H9H13.5C13.7761 15 14 14.7761 14 14.5C14 14.2239 13.7761 14 13.5 14H9V3Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),A3=["color"],C2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,A3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),H3=["color"],b2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,H3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),V3=["color"],S2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,V3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M0.499995 0.999995C0.223855 0.999995 -5.58458e-07 1.22385 -5.46388e-07 1.49999L-2.18554e-08 13.4999C-9.78492e-09 13.776 0.223855 13.9999 0.499995 13.9999C0.776136 13.9999 0.999991 13.776 0.999991 13.4999L0.999991 8.99993L12 8.99993C12.5523 8.99993 13 8.55222 13 7.99993L13 6.99994C13 6.44766 12.5523 5.99995 12 5.99995L0.999991 5.99995L0.999991 1.49999C0.999991 1.22385 0.776135 0.999995 0.499995 0.999995Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),N3=["color"],w2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,N3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M14.4999 1C14.2237 1 13.9999 1.22386 13.9999 1.5L13.9999 6L2.99988 6C2.44759 6 1.99988 6.44772 1.99988 7L1.99988 8C1.99988 8.55228 2.44759 9 2.99988 9L13.9999 9L13.9999 13.5C13.9999 13.7761 14.2237 14 14.4999 14C14.776 14 14.9999 13.7761 14.9999 13.5L14.9999 9L14.9999 6L14.9999 1.5C14.9999 1.22386 14.776 1 14.4999 1Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),D3=["color"],j2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,D3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M1.5 0C1.22386 0 1 0.223858 1 0.5C1 0.776142 1.22386 1 1.5 1H6V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V1H13.5C13.7761 1 14 0.776142 14 0.5C14 0.223858 13.7761 0 13.5 0H9H6H1.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),U3=["color"],Dn=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,U3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M1 3H14V4H1V3ZM1 6H14V8H1V6ZM14 10.25H1V12.75H14V10.25Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Z3=["color"],c2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,Z3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M12.5 2H2.5C2.22386 2 2 2.22386 2 2.5V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),B3=["color"],o2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,B3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M1.99998 0.999976C1.44769 0.999976 0.999976 1.44769 0.999976 1.99998V13C0.999976 13.5523 1.44769 14 1.99998 14H13C13.5523 14 14 13.5523 14 13V1.99998C14 1.44769 13.5523 0.999976 13 0.999976H1.99998ZM1.99998 1.99998L13 1.99998V13H1.99998V1.99998ZM4.49996 3.99996C4.22382 3.99996 3.99996 4.22382 3.99996 4.49996V10.5C3.99996 10.7761 4.22382 11 4.49996 11H10.5C10.7761 11 11 10.7761 11 10.5V4.49996C11 4.22382 10.7761 3.99996 10.5 3.99996H4.49996ZM4.99996 9.99996V4.99996H9.99996V9.99996H4.99996Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Y3=["color"],q3=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,Y3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),X3=["color"],nl=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,X3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),G3=["color"],Ba=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,G3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),$3=["color"],r2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,$3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M8.00012 1.5C8.00012 1.22386 7.77626 1 7.50012 1C7.22398 1 7.00012 1.22386 7.00012 1.5V13.5C7.00012 13.7761 7.22398 14 7.50012 14C7.77626 14 8.00012 13.7761 8.00012 13.5V1.5ZM3.31812 5.818C3.49386 5.64227 3.49386 5.35734 3.31812 5.18161C3.14239 5.00587 2.85746 5.00587 2.68173 5.18161L0.681729 7.18161C0.505993 7.35734 0.505993 7.64227 0.681729 7.818L2.68173 9.818C2.85746 9.99374 3.14239 9.99374 3.31812 9.818C3.49386 9.64227 3.49386 9.35734 3.31812 9.18161L2.08632 7.9498H5.50017C5.7487 7.9498 5.95017 7.74833 5.95017 7.4998C5.95017 7.25128 5.7487 7.0498 5.50017 7.0498H2.08632L3.31812 5.818ZM12.3181 5.18161C12.1424 5.00587 11.8575 5.00587 11.6817 5.18161C11.506 5.35734 11.506 5.64227 11.6817 5.818L12.9135 7.0498H9.50017C9.25164 7.0498 9.05017 7.25128 9.05017 7.4998C9.05017 7.74833 9.25164 7.9498 9.50017 7.9498H12.9135L11.6817 9.18161C11.506 9.35734 11.506 9.64227 11.6817 9.818C11.8575 9.99374 12.1424 9.99374 12.3181 9.818L14.3181 7.818C14.4939 7.64227 14.4939 7.35734 14.3181 7.18161L12.3181 5.18161Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Q3=["color"],E2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,Q3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.14998 14V1H0.849976V14H2.14998ZM6.14998 14V1H4.84998V14H6.14998ZM10.15 1V14H8.84998V1H10.15ZM14.15 14V1H12.85V14H14.15Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),K3=["color"],Gc=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,K3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M4.67129 3.14634C4.47603 3.34161 4.47603 3.65819 4.67129 3.85345L7.14616 6.32833C7.34142 6.52359 7.65801 6.52359 7.85327 6.32833L10.3281 3.85345C10.5234 3.65819 10.5234 3.34161 10.3281 3.14634L7.85327 0.671471C7.65801 0.476209 7.34142 0.476209 7.14616 0.671471L4.67129 3.14634ZM7.49971 5.26766L5.73195 3.4999L7.49971 1.73213L9.26748 3.4999L7.49971 5.26766ZM8.67129 7.14634C8.47603 7.34161 8.47603 7.65819 8.67129 7.85345L11.1462 10.3283C11.3414 10.5236 11.658 10.5236 11.8533 10.3283L14.3281 7.85345C14.5234 7.65819 14.5234 7.34161 14.3281 7.14634L11.8533 4.67147C11.658 4.47621 11.3414 4.47621 11.1462 4.67147L8.67129 7.14634ZM11.4997 9.26766L9.73195 7.4999L11.4997 5.73213L13.2675 7.4999L11.4997 9.26766ZM4.67129 11.8535C4.47603 11.6582 4.47603 11.3416 4.67129 11.1463L7.14616 8.67147C7.34142 8.47621 7.65801 8.47621 7.85327 8.67147L10.3281 11.1463C10.5234 11.3416 10.5234 11.6582 10.3281 11.8535L7.85327 14.3283C7.65801 14.5236 7.34142 14.5236 7.14616 14.3283L4.67129 11.8535ZM5.73195 11.4999L7.49971 13.2677L9.26748 11.4999L7.49971 9.73213L5.73195 11.4999ZM0.671288 7.14649C0.476026 7.34175 0.476026 7.65834 0.671288 7.8536L3.14616 10.3285C3.34142 10.5237 3.65801 10.5237 3.85327 10.3285L6.32814 7.8536C6.5234 7.65834 6.5234 7.34175 6.32814 7.14649L3.85327 4.67162C3.65801 4.47636 3.34142 4.47636 3.14616 4.67162L0.671288 7.14649ZM3.49972 9.26781L1.73195 7.50005L3.49972 5.73228L5.26748 7.50005L3.49972 9.26781Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),J3=["color"],k3=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,J3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M9.87737 12H9.9H11.5C11.7761 12 12 11.7761 12 11.5C12 11.2239 11.7761 11 11.5 11H9.9C8.77164 11 7.95545 10.9996 7.31352 10.9472C6.67744 10.8952 6.25662 10.7946 5.91103 10.6185C5.25247 10.283 4.71703 9.74753 4.38148 9.08897C4.20539 8.74338 4.10481 8.32256 4.05284 7.68648C4.00039 7.04455 4 6.22836 4 5.1V3.5C4 3.22386 3.77614 3 3.5 3C3.22386 3 3 3.22386 3 3.5V5.1V5.12263C3 6.22359 3 7.08052 3.05616 7.76791C3.11318 8.46584 3.23058 9.0329 3.49047 9.54296C3.9219 10.3897 4.61031 11.0781 5.45704 11.5095C5.9671 11.7694 6.53416 11.8868 7.23209 11.9438C7.91948 12 8.77641 12 9.87737 12Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),W3=["color"],F3=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,W3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.12263 12H5.1H3.5C3.22386 12 3 11.7761 3 11.5C3 11.2239 3.22386 11 3.5 11H5.1C6.22836 11 7.04455 10.9996 7.68648 10.9472C8.32256 10.8952 8.74338 10.7946 9.08897 10.6185C9.74753 10.283 10.283 9.74753 10.6185 9.08897C10.7946 8.74338 10.8952 8.32256 10.9472 7.68648C10.9996 7.04455 11 6.22836 11 5.1V3.5C11 3.22386 11.2239 3 11.5 3C11.7761 3 12 3.22386 12 3.5V5.1V5.12263C12 6.22359 12 7.08052 11.9438 7.76791C11.8868 8.46584 11.7694 9.0329 11.5095 9.54296C11.0781 10.3897 10.3897 11.0781 9.54296 11.5095C9.0329 11.7694 8.46584 11.8868 7.76791 11.9438C7.08052 12 6.22359 12 5.12263 12Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),P3=["color"],I3=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,P3);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M9.87737 3H9.9H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H9.9C8.77164 4 7.95545 4.00039 7.31352 4.05284C6.67744 4.10481 6.25662 4.20539 5.91103 4.38148C5.25247 4.71703 4.71703 5.25247 4.38148 5.91103C4.20539 6.25662 4.10481 6.67744 4.05284 7.31352C4.00039 7.95545 4 8.77164 4 9.9V11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5V9.9V9.87737C3 8.77641 3 7.91948 3.05616 7.23209C3.11318 6.53416 3.23058 5.9671 3.49047 5.45704C3.9219 4.61031 4.61031 3.9219 5.45704 3.49047C5.9671 3.23058 6.53416 3.11318 7.23209 3.05616C7.91948 3 8.77641 3 9.87737 3Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),e5=["color"],t5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,e5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.12263 3H5.1H3.5C3.22386 3 3 3.22386 3 3.5C3 3.77614 3.22386 4 3.5 4H5.1C6.22836 4 7.04455 4.00039 7.68648 4.05284C8.32256 4.10481 8.74338 4.20539 9.08897 4.38148C9.74753 4.71703 10.283 5.25247 10.6185 5.91103C10.7946 6.25662 10.8952 6.67744 10.9472 7.31352C10.9996 7.95545 11 8.77164 11 9.9V11.5C11 11.7761 11.2239 12 11.5 12C11.7761 12 12 11.7761 12 11.5V9.9V9.87737C12 8.77641 12 7.91948 11.9438 7.23209C11.8868 6.53416 11.7694 5.9671 11.5095 5.45704C11.0781 4.61031 10.3897 3.9219 9.54296 3.49047C9.0329 3.23058 8.46584 3.11318 7.76791 3.05616C7.08052 3 6.22359 3 5.12263 3Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),l5=["color"],a5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,l5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.5 2L4.87935 2C4.47687 1.99999 4.14469 1.99999 3.87409 2.0221C3.59304 2.04506 3.33469 2.09434 3.09202 2.21799C2.7157 2.40973 2.40973 2.7157 2.21799 3.09202C2.09434 3.33469 2.04506 3.59304 2.0221 3.87409C1.99999 4.14468 1.99999 4.47686 2 4.87933V4.87935V5.5C2 5.77614 2.22386 6 2.5 6C2.77614 6 3 5.77614 3 5.5V4.9C3 4.47171 3.00039 4.18056 3.01878 3.95552C3.03669 3.73631 3.06915 3.62421 3.10899 3.54601C3.20487 3.35785 3.35785 3.20487 3.54601 3.10899C3.62421 3.06915 3.73631 3.03669 3.95552 3.01878C4.18056 3.00039 4.47171 3 4.9 3H5.5C5.77614 3 6 2.77614 6 2.5C6 2.22386 5.77614 2 5.5 2ZM13 9.5C13 9.22386 12.7761 9 12.5 9C12.2239 9 12 9.22386 12 9.5V10.1C12 10.5283 11.9996 10.8194 11.9812 11.0445C11.9633 11.2637 11.9309 11.3758 11.891 11.454C11.7951 11.6422 11.6422 11.7951 11.454 11.891C11.3758 11.9309 11.2637 11.9633 11.0445 11.9812C10.8194 11.9996 10.5283 12 10.1 12H9.5C9.22386 12 9 12.2239 9 12.5C9 12.7761 9.22386 13 9.5 13H10.1206C10.5231 13 10.8553 13 11.1259 12.9779C11.407 12.9549 11.6653 12.9057 11.908 12.782C12.2843 12.5903 12.5903 12.2843 12.782 11.908C12.9057 11.6653 12.9549 11.407 12.9779 11.1259C13 10.8553 13 10.5232 13 10.1207V10.1207V10.1207V10.1206V9.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V10.1C3 10.5283 3.00039 10.8194 3.01878 11.0445C3.03669 11.2637 3.06915 11.3758 3.10899 11.454C3.20487 11.6422 3.35785 11.7951 3.54601 11.891C3.62421 11.9309 3.73631 11.9633 3.95552 11.9812C4.18056 11.9996 4.47171 12 4.9 12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H4.87935C4.47687 13 4.14469 13 3.87409 12.9779C3.59304 12.9549 3.33469 12.9057 3.09202 12.782C2.7157 12.5903 2.40973 12.2843 2.21799 11.908C2.09434 11.6653 2.04506 11.407 2.0221 11.1259C1.99999 10.8553 1.99999 10.5231 2 10.1207V10.1206V10.1V9.5C2 9.22386 2.22386 9 2.5 9ZM10.1 3C10.5283 3 10.8194 3.00039 11.0445 3.01878C11.2637 3.03669 11.3758 3.06915 11.454 3.10899C11.6422 3.20487 11.7951 3.35785 11.891 3.54601C11.9309 3.62421 11.9633 3.73631 11.9812 3.95552C11.9996 4.18056 12 4.47171 12 4.9V5.5C12 5.77614 12.2239 6 12.5 6C12.7761 6 13 5.77614 13 5.5V4.87935V4.87934C13 4.47686 13 4.14468 12.9779 3.87409C12.9549 3.59304 12.9057 3.33469 12.782 3.09202C12.5903 2.7157 12.2843 2.40973 11.908 2.21799C11.6653 2.09434 11.407 2.04506 11.1259 2.0221C10.8553 1.99999 10.5231 1.99999 10.1206 2L10.1 2H9.5C9.22386 2 9 2.22386 9 2.5C9 2.77614 9.22386 3 9.5 3H10.1Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),n5=["color"],u5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,n5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),i5=["color"],T2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,i5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.29227 0.048984C3.47033 -0.032338 3.67946 -0.00228214 3.8274 0.125891L12.8587 7.95026C13.0134 8.08432 13.0708 8.29916 13.0035 8.49251C12.9362 8.68586 12.7578 8.81866 12.5533 8.82768L9.21887 8.97474L11.1504 13.2187C11.2648 13.47 11.1538 13.7664 10.9026 13.8808L8.75024 14.8613C8.499 14.9758 8.20255 14.8649 8.08802 14.6137L6.15339 10.3703L3.86279 12.7855C3.72196 12.934 3.50487 12.9817 3.31479 12.9059C3.1247 12.8301 3 12.6461 3 12.4414V0.503792C3 0.308048 3.11422 0.130306 3.29227 0.048984ZM4 1.59852V11.1877L5.93799 9.14425C6.05238 9.02363 6.21924 8.96776 6.38319 8.99516C6.54715 9.02256 6.68677 9.12965 6.75573 9.2809L8.79056 13.7441L10.0332 13.178L8.00195 8.71497C7.93313 8.56376 7.94391 8.38824 8.03072 8.24659C8.11753 8.10494 8.26903 8.01566 8.435 8.00834L11.2549 7.88397L4 1.59852Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),c5=["color"],o5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,c5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),r5=["color"],M2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,r5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.10505 12C4.70805 12 4.4236 11.912 4.25171 11.736C4.0839 11.5559 4 11.2715 4 10.8827V4.11733C4 3.72033 4.08595 3.43588 4.25784 3.26398C4.43383 3.08799 4.71623 3 5.10505 3C6.42741 3 8.25591 3 9.02852 3C10.1373 3 11.0539 3.98153 11.0539 5.1846C11.0539 6.08501 10.6037 6.81855 9.70327 7.23602C10.8657 7.44851 11.5176 8.62787 11.5176 9.48128C11.5176 10.5125 10.9902 12 9.27734 12C8.77742 12 6.42626 12 5.10505 12ZM8.37891 8.00341H5.8V10.631H8.37891C8.9 10.631 9.6296 10.1211 9.6296 9.29877C9.6296 8.47643 8.9 8.00341 8.37891 8.00341ZM5.8 4.36903V6.69577H8.17969C8.53906 6.69577 9.27734 6.35939 9.27734 5.50002C9.27734 4.64064 8.48047 4.36903 8.17969 4.36903H5.8Z",fill:o}))}),f5=["color"],z2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,f5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.5 4.5C2.5 3.09886 3.59886 2 5 2H12.499C12.7752 2 13 2.22386 13 2.5C13 2.77614 12.7761 3 12.5 3H8.69244L8.40509 3.85458C8.18869 4.49752 7.89401 5.37197 7.58091 6.29794C7.50259 6.52956 7.42308 6.76453 7.34332 7H8.5C8.77614 7 9 7.22386 9 7.5C9 7.77614 8.77614 8 8.5 8H7.00407C6.56724 9.28543 6.16435 10.4613 5.95799 11.0386C5.63627 11.9386 5.20712 12.4857 4.66741 12.7778C4.16335 13.0507 3.64154 13.0503 3.28378 13.05L3.25 13.05C2.94624 13.05 2.7 12.8037 2.7 12.5C2.7 12.1962 2.94624 11.95 3.25 11.95C3.64182 11.95 3.9035 11.9405 4.14374 11.8105C4.36443 11.691 4.65532 11.4148 4.92217 10.6683C5.10695 10.1514 5.45375 9.14134 5.8422 8H4.5C4.22386 8 4 7.77614 4 7.5C4 7.22386 4.22386 7 4.5 7H6.18187C6.30127 6.64785 6.42132 6.29323 6.53887 5.94559C6.85175 5.02025 7.14627 4.14631 7.36256 3.50368L7.53192 3H5C4.15114 3 3.5 3.65114 3.5 4.5C3.5 4.77614 3.27614 5 3 5C2.72386 5 2.5 4.77614 2.5 4.5Z",fill:o}))}),s5=["color"],L2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,s5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.78233 2.21707C2.70732 2.14206 2.60557 2.09991 2.49949 2.09991C2.3934 2.09991 2.29166 2.14206 2.21664 2.21707L0.216645 4.21707C0.0604351 4.37328 0.0604351 4.62655 0.216645 4.78276C0.372855 4.93897 0.626121 4.93897 0.78233 4.78276L2.09949 3.4656L2.09949 11.5342L0.78233 10.2171C0.62612 10.0609 0.372854 10.0609 0.216645 10.2171C0.0604349 10.3733 0.0604349 10.6265 0.216645 10.7828L2.21664 12.7828C2.29166 12.8578 2.3934 12.8999 2.49949 12.8999C2.60557 12.8999 2.70731 12.8578 2.78233 12.7828L4.78233 10.7828C4.93854 10.6265 4.93854 10.3733 4.78233 10.2171C4.62612 10.0609 4.37285 10.0609 4.21664 10.2171L2.89949 11.5342L2.89949 3.4656L4.21664 4.78276C4.37285 4.93897 4.62612 4.93897 4.78233 4.78276C4.93854 4.62655 4.93854 4.37328 4.78233 4.21707L2.78233 2.21707ZM10.5 2.74997C10.7107 2.74997 10.8988 2.88211 10.9703 3.08036L13.9703 11.3999C14.064 11.6597 13.9293 11.9462 13.6696 12.0399C13.4098 12.1336 13.1233 11.9989 13.0296 11.7392L12.0477 9.016H8.95228L7.97033 11.7392C7.87666 11.9989 7.59013 12.1336 7.33036 12.0399C7.07059 11.9462 6.93595 11.6597 7.02962 11.3999L10.0296 3.08036C10.1011 2.88211 10.2892 2.74997 10.5 2.74997ZM10.5 4.72396L11.7412 8.166H9.25879L10.5 4.72396Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),d5=["color"],R2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,d5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M12.5 2H8V7H13V2.5C13 2.22386 12.7761 2 12.5 2ZM13 8H8V13H12.5C12.7761 13 13 12.7761 13 12.5V8ZM7 7V2H2.5C2.22386 2 2 2.22386 2 2.5V7H7ZM2 8V12.5C2 12.7761 2.22386 13 2.5 13H7V8H2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),g5=["color"],Zc=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,g5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.1813 1.68179C7.35704 1.50605 7.64196 1.50605 7.8177 1.68179L10.3177 4.18179C10.4934 4.35753 10.4934 4.64245 10.3177 4.81819C10.142 4.99392 9.85704 4.99392 9.6813 4.81819L7.9495 3.08638L7.9495 11.9136L9.6813 10.1818C9.85704 10.0061 10.142 10.0061 10.3177 10.1818C10.4934 10.3575 10.4934 10.6424 10.3177 10.8182L7.8177 13.3182C7.73331 13.4026 7.61885 13.45 7.4995 13.45C7.38015 13.45 7.26569 13.4026 7.1813 13.3182L4.6813 10.8182C4.50557 10.6424 4.50557 10.3575 4.6813 10.1818C4.85704 10.0061 5.14196 10.0061 5.3177 10.1818L7.0495 11.9136L7.0495 3.08638L5.3177 4.81819C5.14196 4.99392 4.85704 4.99392 4.6813 4.81819C4.50557 4.64245 4.50557 4.35753 4.6813 4.18179L7.1813 1.68179Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),h5=["color"],Bc=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,h5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),p5=["color"],m5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,p5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.75432 0.819537C7.59742 0.726821 7.4025 0.726821 7.24559 0.819537L1.74559 4.06954C1.59336 4.15949 1.49996 4.32317 1.49996 4.5C1.49996 4.67683 1.59336 4.84051 1.74559 4.93046L7.24559 8.18046C7.4025 8.27318 7.59742 8.27318 7.75432 8.18046L13.2543 4.93046C13.4066 4.84051 13.5 4.67683 13.5 4.5C13.5 4.32317 13.4066 4.15949 13.2543 4.06954L7.75432 0.819537ZM7.49996 7.16923L2.9828 4.5L7.49996 1.83077L12.0171 4.5L7.49996 7.16923ZM1.5695 7.49564C1.70998 7.2579 2.01659 7.17906 2.25432 7.31954L7.49996 10.4192L12.7456 7.31954C12.9833 7.17906 13.2899 7.2579 13.4304 7.49564C13.5709 7.73337 13.4921 8.03998 13.2543 8.18046L7.75432 11.4305C7.59742 11.5232 7.4025 11.5232 7.24559 11.4305L1.74559 8.18046C1.50786 8.03998 1.42901 7.73337 1.5695 7.49564ZM1.56949 10.4956C1.70998 10.2579 2.01658 10.1791 2.25432 10.3195L7.49996 13.4192L12.7456 10.3195C12.9833 10.1791 13.2899 10.2579 13.4304 10.4956C13.5709 10.7334 13.4921 11.04 13.2543 11.1805L7.75432 14.4305C7.59742 14.5232 7.4025 14.5232 7.24559 14.4305L1.74559 11.1805C1.50785 11.04 1.42901 10.7334 1.56949 10.4956Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),y5=["color"],v5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,y5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.68979 2.75C3.89667 2.74979 4.08232 2.87701 4.15679 3.07003L7.36662 11.39C7.46602 11.6477 7.33774 11.9371 7.0801 12.0365C6.82247 12.1359 6.53304 12.0076 6.43365 11.75L5.3825 9.02537H2.01133L0.966992 11.749C0.868128 12.0068 0.578964 12.1357 0.321126 12.0369C0.0632878 11.938 -0.0655864 11.6488 0.0332774 11.391L3.22344 3.07099C3.29751 2.87782 3.4829 2.75021 3.68979 2.75ZM3.69174 4.64284L5.05458 8.17537H2.33724L3.69174 4.64284ZM10.8989 5.20703C9.25818 5.20703 8.00915 6.68569 8.00915 8.60972C8.00915 10.6337 9.35818 12.0124 10.8989 12.0124C11.7214 12.0124 12.5744 11.6692 13.1543 11.0219V11.53C13.1543 11.7785 13.3557 11.98 13.6043 11.98C13.8528 11.98 14.0543 11.7785 14.0543 11.53V5.72C14.0543 5.47147 13.8528 5.27 13.6043 5.27C13.3557 5.27 13.1543 5.47147 13.1543 5.72V6.22317C12.6054 5.60095 11.7924 5.20703 10.8989 5.20703ZM13.1543 9.79823V7.30195C12.7639 6.58101 11.9414 6.05757 11.0868 6.05757C10.1088 6.05757 9.03503 6.96581 9.03503 8.60955C9.03503 10.1533 10.0088 11.1615 11.0868 11.1615C11.9701 11.1615 12.7719 10.4952 13.1543 9.79823Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),x5=["color"],C5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,x5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.69899 5.20703C2.05823 5.20703 0.809204 6.68569 0.809204 8.60972C0.809204 10.6337 2.15823 12.0124 3.69899 12.0124C4.52126 12.0124 5.37402 11.6693 5.9539 11.0223V11.53C5.9539 11.7785 6.15537 11.98 6.4039 11.98C6.65243 11.98 6.8539 11.7785 6.8539 11.53V5.72001C6.8539 5.47149 6.65243 5.27001 6.4039 5.27001C6.15537 5.27001 5.9539 5.47149 5.9539 5.72001V6.22269C5.40506 5.60075 4.59218 5.20703 3.69899 5.20703ZM5.9539 9.799V7.30117C5.56339 6.58064 4.74118 6.05757 3.8868 6.05757C2.9089 6.05757 1.83508 6.96581 1.83508 8.60955C1.83508 10.1533 2.80889 11.1615 3.8868 11.1615C4.76984 11.1615 5.57141 10.4957 5.9539 9.799ZM10.799 5.20703C9.15823 5.20703 7.9092 6.68569 7.9092 8.60972C7.9092 10.6337 9.25823 12.0124 10.799 12.0124C11.6215 12.0124 12.4744 11.6692 13.0543 11.0218V11.53C13.0543 11.7785 13.2558 11.98 13.5043 11.98C13.7529 11.98 13.9543 11.7785 13.9543 11.53V5.72C13.9543 5.47147 13.7529 5.27 13.5043 5.27C13.2558 5.27 13.0543 5.47147 13.0543 5.72V6.22318C12.5055 5.60095 11.6924 5.20703 10.799 5.20703ZM13.0543 9.79822V7.30196C12.664 6.58102 11.8415 6.05757 10.9868 6.05757C10.0089 6.05757 8.93508 6.96581 8.93508 8.60955C8.93508 10.1533 9.90889 11.1615 10.9868 11.1615C11.8702 11.1615 12.672 10.4952 13.0543 9.79822Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),b5=["color"],_2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,b5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.6255 2.75C3.83478 2.75 4.02192 2.88034 4.09448 3.07664L7.16985 11.3962C7.2656 11.6552 7.13324 11.9428 6.87423 12.0386C6.61522 12.1343 6.32763 12.002 6.23188 11.7429L5.22387 9.01603H2.02712L1.01911 11.7429C0.923362 12.002 0.635774 12.1343 0.376762 12.0386C0.117749 11.9428 -0.0146052 11.6552 0.0811401 11.3962L3.15651 3.07664C3.22908 2.88034 3.41621 2.75 3.6255 2.75ZM3.6255 4.69207L4.90966 8.16603H2.34133L3.6255 4.69207ZM11.3719 2.75C11.5811 2.75 11.7683 2.88034 11.8408 3.07664L14.9162 11.3962C15.012 11.6552 14.8796 11.9428 14.6206 12.0386C14.3616 12.1343 14.074 12.002 13.9782 11.7429L12.9702 9.01603H9.77348L8.76547 11.7429C8.66972 12.002 8.38213 12.1343 8.12312 12.0386C7.86411 11.9428 7.73175 11.6552 7.8275 11.3962L10.9029 3.07664C10.9754 2.88034 11.1626 2.75 11.3719 2.75ZM11.3719 4.69207L12.656 8.16603H10.0877L11.3719 4.69207Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),S5=["color"],O2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,S5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M4.55293 0.999969C4.75295 0.999969 4.93372 1.11917 5.0125 1.30301L8.01106 8.29982C8.11984 8.55363 8.00226 8.84757 7.74844 8.95635C7.49463 9.06512 7.20069 8.94754 7.09191 8.69373L6.11613 6.41685H2.98973L2.01395 8.69373C1.90517 8.94754 1.61123 9.06512 1.35742 8.95635C1.1036 8.84757 0.986023 8.55363 1.0948 8.29982L4.09336 1.30301C4.17214 1.11917 4.35291 0.999969 4.55293 0.999969ZM4.55293 2.76929L5.75186 5.56685H3.354L4.55293 2.76929ZM11.0562 9.00214C11.2617 9.00214 11.4463 8.87633 11.5215 8.68502L14.2733 1.68299C14.3743 1.42598 14.2478 1.13575 13.9908 1.03475C13.7338 0.933747 13.4436 1.06021 13.3426 1.31722L11.0562 7.13514L8.76973 1.31722C8.66873 1.06021 8.3785 0.933747 8.1215 1.03475C7.86449 1.13575 7.73802 1.42598 7.83902 1.68299L10.5908 8.68502C10.666 8.87633 10.8506 9.00214 11.0562 9.00214ZM14.9537 12.4999C14.9537 12.606 14.9115 12.7077 14.8365 12.7828L12.8365 14.7828C12.6803 14.939 12.4271 14.939 12.2708 14.7828C12.1146 14.6265 12.1146 14.3733 12.2708 14.2171L13.588 12.8999H1.51937L2.83653 14.2171C2.99274 14.3733 2.99274 14.6265 2.83653 14.7828C2.68032 14.939 2.42705 14.939 2.27084 14.7828L0.270843 12.7828C0.195828 12.7077 0.153687 12.606 0.153687 12.4999C0.153687 12.3938 0.195828 12.2921 0.270843 12.2171L2.27084 10.2171C2.42705 10.0609 2.68032 10.0609 2.83653 10.2171C2.99274 10.3733 2.99274 10.6265 2.83653 10.7828L1.51937 12.0999L13.588 12.0999L12.2708 10.7828C12.1146 10.6265 12.1146 10.3733 12.2708 10.2171C12.4271 10.0609 12.6803 10.0609 12.8365 10.2171L14.8365 12.2171C14.9115 12.2921 14.9537 12.3938 14.9537 12.4999Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),w5=["color"],A2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,w5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M3.78233 2.21713C3.70732 2.14212 3.60557 2.09998 3.49949 2.09998C3.3934 2.09998 3.29166 2.14212 3.21664 2.21713L1.21664 4.21713C1.06044 4.37334 1.06044 4.62661 1.21664 4.78282C1.37285 4.93903 1.62612 4.93903 1.78233 4.78282L3.09949 3.46566L3.09949 11.5343L1.78233 10.2171C1.62612 10.0609 1.37285 10.0609 1.21664 10.2171C1.06043 10.3733 1.06043 10.6266 1.21664 10.7828L3.21664 12.7828C3.29166 12.8578 3.3934 12.9 3.49949 12.9C3.60557 12.9 3.70731 12.8578 3.78233 12.7828L5.78233 10.7828C5.93854 10.6266 5.93854 10.3733 5.78233 10.2171C5.62612 10.0609 5.37285 10.0609 5.21664 10.2171L3.89949 11.5343L3.89949 3.46566L5.21664 4.78282C5.37285 4.93903 5.62612 4.93903 5.78233 4.78282C5.93854 4.62661 5.93854 4.37334 5.78233 4.21713L3.78233 2.21713ZM8.49998 3.99997C8.22383 3.99997 7.99998 4.22382 7.99998 4.49997C7.99998 4.77611 8.22383 4.99997 8.49998 4.99997H14.5C14.7761 4.99997 15 4.77611 15 4.49997C15 4.22382 14.7761 3.99997 14.5 3.99997H8.49998ZM7.99998 7.49997C7.99998 7.22382 8.22383 6.99997 8.49998 6.99997H14.5C14.7761 6.99997 15 7.22382 15 7.49997C15 7.77611 14.7761 7.99997 14.5 7.99997H8.49998C8.22383 7.99997 7.99998 7.77611 7.99998 7.49997ZM8.49998 9.99997C8.22383 9.99997 7.99998 10.2238 7.99998 10.5C7.99998 10.7761 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7761 15 10.5C15 10.2238 14.7761 9.99997 14.5 9.99997H8.49998Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),j5=["color"],_l=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,j5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M1.49988 2.00012C1.77602 2.00012 1.99988 1.77626 1.99988 1.50012C1.99988 1.22398 1.77602 1.00012 1.49988 1.00012C1.22374 1.00012 0.999878 1.22398 0.999878 1.50012C0.999878 1.77626 1.22374 2.00012 1.49988 2.00012ZM4.49988 2.00012C4.77602 2.00012 4.99988 1.77626 4.99988 1.50012C4.99988 1.22398 4.77602 1.00012 4.49988 1.00012C4.22374 1.00012 3.99988 1.22398 3.99988 1.50012C3.99988 1.77626 4.22374 2.00012 4.49988 2.00012ZM7.99988 1.50012C7.99988 1.77626 7.77602 2.00012 7.49988 2.00012C7.22374 2.00012 6.99988 1.77626 6.99988 1.50012C6.99988 1.22398 7.22374 1.00012 7.49988 1.00012C7.77602 1.00012 7.99988 1.22398 7.99988 1.50012ZM10.4999 2.00012C10.776 2.00012 10.9999 1.77626 10.9999 1.50012C10.9999 1.22398 10.776 1.00012 10.4999 1.00012C10.2237 1.00012 9.99988 1.22398 9.99988 1.50012C9.99988 1.77626 10.2237 2.00012 10.4999 2.00012ZM13.9999 1.50012C13.9999 1.77626 13.776 2.00012 13.4999 2.00012C13.2237 2.00012 12.9999 1.77626 12.9999 1.50012C12.9999 1.22398 13.2237 1.00012 13.4999 1.00012C13.776 1.00012 13.9999 1.22398 13.9999 1.50012ZM1.49988 14.0001C1.77602 14.0001 1.99988 13.7763 1.99988 13.5001C1.99988 13.224 1.77602 13.0001 1.49988 13.0001C1.22374 13.0001 0.999878 13.224 0.999878 13.5001C0.999878 13.7763 1.22374 14.0001 1.49988 14.0001ZM1.99988 10.5001C1.99988 10.7763 1.77602 11.0001 1.49988 11.0001C1.22374 11.0001 0.999878 10.7763 0.999878 10.5001C0.999878 10.224 1.22374 10.0001 1.49988 10.0001C1.77602 10.0001 1.99988 10.224 1.99988 10.5001ZM1.49988 8.00012C1.77602 8.00012 1.99988 7.77626 1.99988 7.50012C1.99988 7.22398 1.77602 7.00012 1.49988 7.00012C1.22374 7.00012 0.999878 7.22398 0.999878 7.50012C0.999878 7.77626 1.22374 8.00012 1.49988 8.00012ZM1.99988 4.50012C1.99988 4.77626 1.77602 5.00012 1.49988 5.00012C1.22374 5.00012 0.999878 4.77626 0.999878 4.50012C0.999878 4.22398 1.22374 4.00012 1.49988 4.00012C1.77602 4.00012 1.99988 4.22398 1.99988 4.50012ZM13.4999 11.0001C13.776 11.0001 13.9999 10.7763 13.9999 10.5001C13.9999 10.224 13.776 10.0001 13.4999 10.0001C13.2237 10.0001 12.9999 10.224 12.9999 10.5001C12.9999 10.7763 13.2237 11.0001 13.4999 11.0001ZM13.9999 7.50012C13.9999 7.77626 13.776 8.00012 13.4999 8.00012C13.2237 8.00012 12.9999 7.77626 12.9999 7.50012C12.9999 7.22398 13.2237 7.00012 13.4999 7.00012C13.776 7.00012 13.9999 7.22398 13.9999 7.50012ZM13.4999 5.00012C13.776 5.00012 13.9999 4.77626 13.9999 4.50012C13.9999 4.22398 13.776 4.00012 13.4999 4.00012C13.2237 4.00012 12.9999 4.22398 12.9999 4.50012C12.9999 4.77626 13.2237 5.00012 13.4999 5.00012ZM4.99988 13.5001C4.99988 13.7763 4.77602 14.0001 4.49988 14.0001C4.22374 14.0001 3.99988 13.7763 3.99988 13.5001C3.99988 13.224 4.22374 13.0001 4.49988 13.0001C4.77602 13.0001 4.99988 13.224 4.99988 13.5001ZM7.49988 14.0001C7.77602 14.0001 7.99988 13.7763 7.99988 13.5001C7.99988 13.224 7.77602 13.0001 7.49988 13.0001C7.22374 13.0001 6.99988 13.224 6.99988 13.5001C6.99988 13.7763 7.22374 14.0001 7.49988 14.0001ZM10.9999 13.5001C10.9999 13.7763 10.776 14.0001 10.4999 14.0001C10.2237 14.0001 9.99988 13.7763 9.99988 13.5001C9.99988 13.224 10.2237 13.0001 10.4999 13.0001C10.776 13.0001 10.9999 13.224 10.9999 13.5001ZM13.4999 14.0001C13.776 14.0001 13.9999 13.7763 13.9999 13.5001C13.9999 13.224 13.776 13.0001 13.4999 13.0001C13.2237 13.0001 12.9999 13.224 12.9999 13.5001C12.9999 13.7763 13.2237 14.0001 13.4999 14.0001ZM3.99988 5.00012C3.99988 4.44784 4.44759 4.00012 4.99988 4.00012H9.99988C10.5522 4.00012 10.9999 4.44784 10.9999 5.00012V10.0001C10.9999 10.5524 10.5522 11.0001 9.99988 11.0001H4.99988C4.44759 11.0001 3.99988 10.5524 3.99988 10.0001V5.00012ZM4.99988 5.00012H9.99988V10.0001H4.99988V5.00012Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),E5=["color"],T5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,E5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),M5=["color"],z5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,M5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),L5=["color"],lu=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,L5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.81819 0.93179C7.64245 0.756054 7.35753 0.756054 7.18179 0.93179L5.43179 2.68179C5.25605 2.85753 5.25605 3.14245 5.43179 3.31819C5.60753 3.49392 5.89245 3.49392 6.06819 3.31819L6.99999 2.38638V5.49999C6.99999 5.77613 7.22385 5.99999 7.49999 5.99999C7.77613 5.99999 7.99999 5.77613 7.99999 5.49999V2.38638L8.93179 3.31819C9.10753 3.49392 9.39245 3.49392 9.56819 3.31819C9.74392 3.14245 9.74392 2.85753 9.56819 2.68179L7.81819 0.93179ZM7.99999 9.49999C7.99999 9.22385 7.77613 8.99999 7.49999 8.99999C7.22385 8.99999 6.99999 9.22385 6.99999 9.49999V12.6136L6.06819 11.6818C5.89245 11.5061 5.60753 11.5061 5.43179 11.6818C5.25605 11.8575 5.25605 12.1424 5.43179 12.3182L7.18179 14.0682C7.35753 14.2439 7.64245 14.2439 7.81819 14.0682L9.56819 12.3182C9.74392 12.1424 9.74392 11.8575 9.56819 11.6818C9.39245 11.5061 9.10753 11.5061 8.93179 11.6818L7.99999 12.6136V9.49999ZM8.99999 7.49999C8.99999 7.22385 9.22385 6.99999 9.49999 6.99999H12.6136L11.6818 6.06819C11.5061 5.89245 11.5061 5.60753 11.6818 5.43179C11.8575 5.25605 12.1424 5.25605 12.3182 5.43179L14.0682 7.18179C14.2439 7.35753 14.2439 7.64245 14.0682 7.81819L12.3182 9.56819C12.1424 9.74392 11.8575 9.74392 11.6818 9.56819C11.5061 9.39245 11.5061 9.10753 11.6818 8.93179L12.6136 7.99999H9.49999C9.22385 7.99999 8.99999 7.77613 8.99999 7.49999ZM3.31819 6.06819L2.38638 6.99999H5.49999C5.77613 6.99999 5.99999 7.22385 5.99999 7.49999C5.99999 7.77613 5.77613 7.99999 5.49999 7.99999H2.38638L3.31819 8.93179C3.49392 9.10753 3.49392 9.39245 3.31819 9.56819C3.14245 9.74392 2.85753 9.74392 2.68179 9.56819L0.93179 7.81819C0.756054 7.64245 0.756054 7.35753 0.93179 7.18179L2.68179 5.43179C2.85753 5.25605 3.14245 5.25605 3.31819 5.43179C3.49392 5.60753 3.49392 5.89245 3.31819 6.06819Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),R5=["color"],H2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,R5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.5 1.5C4.5 4.25 3 6.5 3 9C3 11.4853 5.01472 13.5 7.5 13.5C9.98528 13.5 12 11.4853 12 9C12 6.5 10.5 4.25 7.5 1.5ZM11 9C11 7.11203 9.97315 5.27195 7.5 2.87357C5.02686 5.27195 4 7.11203 4 9C4 10.933 5.567 12.5 7.5 12.5C9.433 12.5 11 10.933 11 9Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),_5=["color"],Ol=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,_5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.85714 2H12.1429C12.6162 2 13 2.38376 13 2.85714V12.1429C13 12.6162 12.6162 13 12.1429 13H2.85714C2.38376 13 2 12.6162 2 12.1429V2.85714C2 2.38376 2.38376 2 2.85714 2ZM1 2.85714C1 1.83147 1.83147 1 2.85714 1H12.1429C13.1685 1 14 1.83147 14 2.85714V12.1429C14 13.1685 13.1685 14 12.1429 14H2.85714C1.83147 14 1 13.1685 1 12.1429V2.85714ZM7.49988 5.00012C7.77602 5.00012 7.99988 4.77626 7.99988 4.50012C7.99988 4.22398 7.77602 4.00012 7.49988 4.00012C7.22374 4.00012 6.99988 4.22398 6.99988 4.50012C6.99988 4.77626 7.22374 5.00012 7.49988 5.00012ZM4.49988 11.0001C4.77602 11.0001 4.99988 10.7763 4.99988 10.5001C4.99988 10.224 4.77602 10.0001 4.49988 10.0001C4.22374 10.0001 3.99988 10.224 3.99988 10.5001C3.99988 10.7763 4.22374 11.0001 4.49988 11.0001ZM4.99988 7.50012C4.99988 7.77626 4.77602 8.00012 4.49988 8.00012C4.22374 8.00012 3.99988 7.77626 3.99988 7.50012C3.99988 7.22398 4.22374 7.00012 4.49988 7.00012C4.77602 7.00012 4.99988 7.22398 4.99988 7.50012ZM4.49988 5.00012C4.77602 5.00012 4.99988 4.77626 4.99988 4.50012C4.99988 4.22398 4.77602 4.00012 4.49988 4.00012C4.22374 4.00012 3.99988 4.22398 3.99988 4.50012C3.99988 4.77626 4.22374 5.00012 4.49988 5.00012ZM10.9999 10.5001C10.9999 10.7763 10.776 11.0001 10.4999 11.0001C10.2237 11.0001 9.99988 10.7763 9.99988 10.5001C9.99988 10.224 10.2237 10.0001 10.4999 10.0001C10.776 10.0001 10.9999 10.224 10.9999 10.5001ZM10.4999 8.00012C10.776 8.00012 10.9999 7.77626 10.9999 7.50012C10.9999 7.22398 10.776 7.00012 10.4999 7.00012C10.2237 7.00012 9.99988 7.22398 9.99988 7.50012C9.99988 7.77626 10.2237 8.00012 10.4999 8.00012ZM10.9999 4.50012C10.9999 4.77626 10.776 5.00012 10.4999 5.00012C10.2237 5.00012 9.99988 4.77626 9.99988 4.50012C9.99988 4.22398 10.2237 4.00012 10.4999 4.00012C10.776 4.00012 10.9999 4.22398 10.9999 4.50012ZM7.49988 11.0001C7.77602 11.0001 7.99988 10.7763 7.99988 10.5001C7.99988 10.224 7.77602 10.0001 7.49988 10.0001C7.22374 10.0001 6.99988 10.224 6.99988 10.5001C6.99988 10.7763 7.22374 11.0001 7.49988 11.0001Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),O5=["color"],A5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,O5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),H5=["color"],V5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,H5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.81832 0.68179C7.64258 0.506054 7.35766 0.506054 7.18192 0.68179L5.18192 2.68179C5.00619 2.85753 5.00619 3.14245 5.18192 3.31819C5.35766 3.49392 5.64258 3.49392 5.81832 3.31819L7.05012 2.08638L7.05012 5.50023C7.05012 5.74876 7.25159 5.95023 7.50012 5.95023C7.74865 5.95023 7.95012 5.74876 7.95012 5.50023L7.95012 2.08638L9.18192 3.31819C9.35766 3.49392 9.64258 3.49392 9.81832 3.31819C9.99406 3.14245 9.99406 2.85753 9.81832 2.68179L7.81832 0.68179ZM7.95012 12.9136V9.50023C7.95012 9.2517 7.74865 9.05023 7.50012 9.05023C7.25159 9.05023 7.05012 9.2517 7.05012 9.50023V12.9136L5.81832 11.6818C5.64258 11.5061 5.35766 11.5061 5.18192 11.6818C5.00619 11.8575 5.00619 12.1424 5.18192 12.3182L7.18192 14.3182C7.26632 14.4026 7.38077 14.45 7.50012 14.45C7.61947 14.45 7.73393 14.4026 7.81832 14.3182L9.81832 12.3182C9.99406 12.1424 9.99406 11.8575 9.81832 11.6818C9.64258 11.5061 9.35766 11.5061 9.18192 11.6818L7.95012 12.9136ZM1.49994 7.00017C1.2238 7.00017 0.999939 7.22403 0.999939 7.50017C0.999939 7.77631 1.2238 8.00017 1.49994 8.00017L13.4999 8.00017C13.7761 8.00017 13.9999 7.77631 13.9999 7.50017C13.9999 7.22403 13.7761 7.00017 13.4999 7.00017L1.49994 7.00017Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),N5=["color"],V2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,N5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M14 12.85L1 12.85L1 14.15L14 14.15L14 12.85ZM14 8.85002L1 8.85002L1 10.15L14 10.15L14 8.85002ZM1 4.85003L14 4.85003L14 6.15003L1 6.15002L1 4.85003ZM14 0.850025L1 0.850025L1 2.15002L14 2.15002L14 0.850025Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),D5=["color"],U5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,D5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{opacity:".05",d:"M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".1",d:"M7.28204 13.4775C9.23929 9.99523 9.23929 5.00475 7.28204 1.52248L7.71791 1.2775C9.76067 4.9119 9.76067 10.0881 7.71791 13.7225L7.28204 13.4775Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".15",d:"M7.82098 13.5064C9.72502 9.99523 9.72636 5.01411 7.82492 1.50084L8.26465 1.26285C10.2465 4.92466 10.2451 10.085 8.26052 13.7448L7.82098 13.5064Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".2",d:"M8.41284 13.429C10.1952 9.92842 10.1957 5.07537 8.41435 1.57402L8.85999 1.34729C10.7139 4.99113 10.7133 10.0128 8.85841 13.6559L8.41284 13.429Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".25",d:"M9.02441 13.2956C10.6567 9.8379 10.6586 5.17715 9.03005 1.71656L9.48245 1.50366C11.1745 5.09919 11.1726 9.91629 9.47657 13.5091L9.02441 13.2956Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".3",d:"M9.66809 13.0655C11.1097 9.69572 11.1107 5.3121 9.67088 1.94095L10.1307 1.74457C11.6241 5.24121 11.6231 9.76683 10.1278 13.2622L9.66809 13.0655Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".35",d:"M10.331 12.7456C11.5551 9.52073 11.5564 5.49103 10.3347 2.26444L10.8024 2.0874C12.0672 5.42815 12.0659 9.58394 10.7985 12.9231L10.331 12.7456Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".4",d:"M11.0155 12.2986C11.9938 9.29744 11.9948 5.71296 11.0184 2.71067L11.4939 2.55603C12.503 5.6589 12.502 9.35178 11.4909 12.4535L11.0155 12.2986Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".45",d:"M11.7214 11.668C12.4254 9.01303 12.4262 5.99691 11.7237 3.34116L12.2071 3.21329C12.9318 5.95292 12.931 9.05728 12.2047 11.7961L11.7214 11.668Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{opacity:".5",d:"M12.4432 10.752C12.8524 8.63762 12.8523 6.36089 12.4429 4.2466L12.9338 4.15155C13.3553 6.32861 13.3554 8.66985 12.9341 10.847L12.4432 10.752Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}),p.createElement("path",{d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Z5=["color"],N2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,Z5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M14.4999 0.999994C14.2237 0.999994 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L9.99992 5.99995C9.44764 5.99995 8.99993 6.44766 8.99993 6.99994L8.99993 7.99994C8.99993 8.55222 9.44764 8.99993 9.99992 8.99993L13.9999 8.99993L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999994 14.4999 0.999994ZM4.99996 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999994 0.499996 0.999994C0.223856 0.999994 -9.7852e-09 1.22385 -2.18557e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99993L4.99996 8.99993C5.55224 8.99993 5.99995 8.55222 5.99995 7.99993L5.99995 6.99994C5.99995 6.44766 5.55224 5.99995 4.99996 5.99995Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),B5=["color"],Y5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,B5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992ZM0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992ZM1.99998 6.99994C1.99998 6.44766 2.44769 5.99995 2.99998 5.99995L5.99995 5.99995C6.55223 5.99995 6.99994 6.44766 6.99994 6.99994L6.99994 7.99993C6.99994 8.55221 6.55223 8.99992 5.99995 8.99992L2.99998 8.99992C2.4477 8.99992 1.99998 8.55221 1.99998 7.99993L1.99998 6.99994ZM8.99993 5.99995C8.44765 5.99995 7.99993 6.44766 7.99993 6.99994L7.99993 7.99993C7.99993 8.55221 8.44765 8.99992 8.99993 8.99992L11.9999 8.99992C12.5522 8.99992 12.9999 8.55221 12.9999 7.99993L12.9999 6.99994C12.9999 6.44766 12.5522 5.99995 11.9999 5.99995L8.99993 5.99995Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),q5=["color"],X5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,q5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99992L13.9999 8.99992L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),G5=["color"],$5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,G5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.00003 3.25C5.00003 2.97386 4.77617 2.75 4.50003 2.75C4.22389 2.75 4.00003 2.97386 4.00003 3.25V7.10003H2.49998C2.27906 7.10003 2.09998 7.27912 2.09998 7.50003C2.09998 7.72094 2.27906 7.90003 2.49998 7.90003H4.00003V8.55C4.00003 10.483 5.56703 12.05 7.50003 12.05C9.43303 12.05 11 10.483 11 8.55V7.90003H12.5C12.7209 7.90003 12.9 7.72094 12.9 7.50003C12.9 7.27912 12.7209 7.10003 12.5 7.10003H11V3.25C11 2.97386 10.7762 2.75 10.5 2.75C10.2239 2.75 10 2.97386 10 3.25V7.10003H5.00003V3.25ZM5.00003 7.90003V8.55C5.00003 9.93071 6.11932 11.05 7.50003 11.05C8.88074 11.05 10 9.93071 10 8.55V7.90003H5.00003Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),Q5=["color"],K5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,Q5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),J5=["color"],k5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,J5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),W5=["color"],F5=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,W5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),P5=["color"],D2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,P5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),I5=["color"],ed=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,I5);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),td=["color"],U2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,td);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L11.9291 2.36383C11.9159 2.32246 11.897 2.28368 11.8732 2.24845C11.7923 2.12875 11.6554 2.05005 11.5001 2.05005H3.50005C3.29909 2.05005 3.1289 2.18178 3.07111 2.3636C3.05743 2.40665 3.05005 2.45249 3.05005 2.50007V4.50001C3.05005 4.74854 3.25152 4.95001 3.50005 4.95001C3.74858 4.95001 3.95005 4.74854 3.95005 4.50001V2.95005H6.95006V7.34284L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L6.95006 8.75705V12.0501H5.7544C5.50587 12.0501 5.3044 12.2515 5.3044 12.5001C5.3044 12.7486 5.50587 12.9501 5.7544 12.9501H9.2544C9.50293 12.9501 9.7044 12.7486 9.7044 12.5001C9.7044 12.2515 9.50293 12.0501 9.2544 12.0501H8.05006V7.65705L13.3536 2.35355ZM8.05006 6.24284L11.0501 3.24283V2.95005H8.05006V6.24284Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),ld=["color"],Z2=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,ld);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M5.00001 2.75C5.00001 2.47386 4.77615 2.25 4.50001 2.25C4.22387 2.25 4.00001 2.47386 4.00001 2.75V8.05C4.00001 9.983 5.56702 11.55 7.50001 11.55C9.43301 11.55 11 9.983 11 8.05V2.75C11 2.47386 10.7762 2.25 10.5 2.25C10.2239 2.25 10 2.47386 10 2.75V8.05C10 9.43071 8.88072 10.55 7.50001 10.55C6.1193 10.55 5.00001 9.43071 5.00001 8.05V2.75ZM3.49998 13.1001C3.27906 13.1001 3.09998 13.2791 3.09998 13.5001C3.09998 13.721 3.27906 13.9001 3.49998 13.9001H11.5C11.7209 13.9001 11.9 13.721 11.9 13.5001C11.9 13.2791 11.7209 13.1001 11.5 13.1001H3.49998Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))}),ad=["color"],ou=p.forwardRef(function(i,s){var f=i.color,o=f===void 0?"currentColor":f,d=F(i,ad);return p.createElement("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},d,{ref:s}),p.createElement("path",{d:"M4.81812 4.68161C4.99386 4.85734 4.99386 5.14227 4.81812 5.318L3.08632 7.0498H11.9135L10.1817 5.318C10.006 5.14227 10.006 4.85734 10.1817 4.68161C10.3575 4.50587 10.6424 4.50587 10.8181 4.68161L13.3181 7.18161C13.4939 7.35734 13.4939 7.64227 13.3181 7.818L10.8181 10.318C10.6424 10.4937 10.3575 10.4937 10.1817 10.318C10.006 10.1423 10.006 9.85734 10.1817 9.68161L11.9135 7.9498H3.08632L4.81812 9.68161C4.99386 9.85734 4.99386 10.1423 4.81812 10.318C4.64239 10.4937 4.35746 10.4937 4.18173 10.318L1.68173 7.818C1.50599 7.64227 1.50599 7.35734 1.68173 7.18161L4.18173 4.68161C4.35746 4.50587 4.64239 4.50587 4.81812 4.68161Z",fill:o,fillRule:"evenodd",clipRule:"evenodd"}))});function nd(i){if("source"in i)return i;const s=i;return{tag:s.tag,className:s.className,computed:s.computedStyles,parentComputed:s.parentComputedStyles,boundingRect:s.boundingRect,textContent:s.textContent,attributes:s.attributes,source:s.sourceFile!=null?{file:s.sourceFile,line:s.sourceLine,col:s.sourceCol}:null}}function ud(i,s){var f;(f=i.contentWindow)==null||f.postMessage(s,"*")}function id(i){const s=f=>{var d;const o=f.data;if((d=o==null?void 0:o.type)!=null&&d.startsWith("tool:")){if(o.type==="tool:elementSelected"&&o.data){i({type:"tool:elementSelected",data:nd(o.data)});return}i(o)}};return window.addEventListener("message",s),()=>window.removeEventListener("message",s)}function cd(i,s){const f=p.useRef(s);return f.current=s,p.useEffect(()=>id(d=>{f.current(d)}),[]),{send:p.useCallback(d=>{i.current&&ud(i.current,d)},[i])}}function od({viewportWidth:i,onViewportWidthChange:s,iframePath:f,targetUrl:o,iframeRef:d}){const m=p.useRef(null),[h,S]=p.useState(!1),x=p.useCallback(z=>{var B;z.preventDefault(),S(!0);const M=z.clientX,V=(B=m.current)==null?void 0:B.getBoundingClientRect();if(!V)return;const k=i==="fill"?V.width:i,R=G=>{const D=G.clientX-M,W=Math.max(320,Math.round(k+D*2));s(W)},Z=()=>{S(!1),document.removeEventListener("mousemove",R),document.removeEventListener("mouseup",Z)};document.addEventListener("mousemove",R),document.addEventListener("mouseup",Z)},[i,s]),y=`${o}${f.startsWith("/")?f:"/"+f}`;return r.jsx("div",{className:"flex-1 flex items-start justify-center overflow-auto",ref:m,style:{background:"var(--studio-bg)",padding:16},children:r.jsxs("div",{className:"relative overflow-hidden",style:{width:i==="fill"?"100%":`${i}px`,height:"100%",maxWidth:"100%",transition:h?"none":"width 0.2s ease",borderRadius:4,border:"1px solid var(--studio-border)",boxShadow:"0 4px 24px rgba(0,0,0,0.35)"},children:[r.jsx("iframe",{ref:d,src:y,className:"w-full h-full border-0",style:{background:"white"},title:"Preview"}),i!=="fill"&&r.jsx("div",{onMouseDown:x,className:"absolute top-0 right-0 w-1.5 h-full cursor-ew-resize",style:{background:h?"var(--studio-accent)":"transparent",opacity:h?.4:1,transition:"background 0.15s"},children:r.jsx("div",{className:"absolute top-1/2 right-0 w-1 h-8 rounded-full -translate-y-1/2",style:{background:h?"var(--studio-accent)":"var(--studio-border)",transition:"background 0.15s"}})})]})})}function rd({toolName:i,toolIcon:s,editorPanel:f,showSelectionMode:o=!0,selectionMode:d,onToggleSelectionMode:m,theme:h,onToggleTheme:S,viewportWidth:x,onViewportWidthChange:y,iframePath:z,onIframePathChange:M,targetUrl:V,iframeRef:k}){const R=[375,768,1024,1280],[Z,B]=p.useState(z);p.useEffect(()=>{B(z)},[z]);const G=D=>{D.preventDefault(),M(Z)};return r.jsxs("div",{className:"flex flex-col h-screen",children:[r.jsxs("div",{className:"flex items-center h-11 px-4 gap-3 border-b shrink-0",style:{background:"var(--studio-surface)",borderColor:"var(--studio-border)"},children:[r.jsxs("div",{className:"flex items-center gap-2 shrink-0",children:[r.jsx("span",{style:{color:"var(--studio-text-muted)",display:"inline-flex",alignItems:"center"},children:s}),r.jsx("span",{className:"text-[11px] font-semibold tracking-wide",style:{color:"var(--studio-text-muted)"},children:i})]}),r.jsx("div",{className:"w-px h-4",style:{background:"var(--studio-border)"}}),r.jsx("form",{onSubmit:G,className:"flex-0",children:r.jsx("input",{type:"text",value:Z,onChange:D=>B(D.target.value),className:"studio-input",style:{padding:"3px 8px",width:180},placeholder:"/"})}),r.jsx("div",{className:"w-px h-4",style:{background:"var(--studio-border)"}}),r.jsxs("div",{className:"flex items-center gap-1 flex-1 justify-center",children:[R.map(D=>r.jsx("button",{onClick:()=>y(D),className:`studio-bp-btn ${x===D?"active":""}`,children:D},D)),r.jsx("button",{onClick:()=>y("fill"),className:`studio-icon-btn ${x==="fill"?"active":""}`,title:"Fill width",style:{width:28,height:28},children:r.jsx(ou,{})}),r.jsx("input",{type:"text",value:x==="fill"?"100%":`${x}`,onChange:D=>{const W=parseInt(D.target.value,10);!isNaN(W)&&W>=320&&y(W)},className:"studio-input w-14 text-center",style:{fontSize:"11px"}})]}),r.jsx("div",{className:"w-px h-4",style:{background:"var(--studio-border)"}}),r.jsxs("div",{className:"flex items-center gap-1 shrink-0",children:[o&&r.jsx("button",{onClick:m,className:`studio-icon-btn ${d?"active":""}`,title:d?"Selection mode on":"Selection mode off",children:r.jsx(T2,{})}),r.jsx("button",{onClick:S,className:"studio-icon-btn",title:`Switch to ${h==="light"?"dark":"light"} mode`,children:h==="light"?r.jsx(K5,{}):r.jsx(z5,{})})]})]}),r.jsxs("div",{className:"flex flex-1 overflow-hidden",children:[r.jsx(od,{viewportWidth:x,onViewportWidthChange:y,iframePath:z,targetUrl:V,iframeRef:k}),f]})]})}var B2=v2();function Y2({anchorRef:i,currentValue:s,availableTokens:f,tokenValues:o,onSelect:d,onClose:m}){const h=p.useRef(null),[S,x]=p.useState({top:0,left:0,above:!1});p.useEffect(()=>{if(!i.current)return;const M=i.current.getBoundingClientRect(),V=340,R=window.innerHeight-M.bottom<V&&M.top>V;x({top:R?M.top-V-4:M.bottom+4,left:Math.min(M.left,window.innerWidth-252),above:R})},[i]),p.useEffect(()=>{const M=V=>{h.current&&!h.current.contains(V.target)&&i.current&&!i.current.contains(V.target)&&m()};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[m,i]),p.useEffect(()=>{const M=V=>{V.key==="Escape"&&m()};return document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[m]);const y=s.split("/")[0],z=o[y]||"";return B2.createPortal(r.jsxs("div",{ref:h,className:"studio-popover",style:{top:S.top,left:S.left},children:[r.jsx("div",{className:"studio-popover-swatch",style:{"--swatch-color":z}}),r.jsx("div",{className:"studio-popover-list",children:f.map(M=>r.jsxs("button",{className:`studio-popover-item ${M===s?"active":""}`,onClick:()=>d(M),children:[r.jsx("div",{className:"studio-swatch",style:{"--swatch-color":o[M.split("/")[0]]||""}}),r.jsx("span",{className:"truncate",children:M})]},M))})]}),document.body)}function $c(i){const s=i.match(/oklch\(\s*([\d.]+)(%?)\s+([\d.]+)\s+([\d.]+)\s*\)/);return s?{l:s[2]==="%"?parseFloat(s[1])/100:parseFloat(s[1]),c:parseFloat(s[3]),h:parseFloat(s[4])}:{l:.5,c:.1,h:250}}function au(i){return`oklch(${i.l.toFixed(3)} ${i.c.toFixed(3)} ${i.h.toFixed(1)})`}function fd(i,s){try{const f=$c(i).l,o=$c(s).l,d=Math.max(f,o),m=Math.min(f,o);return(d+.05)/(m+.05)}catch{return null}}function sd({anchorRef:i,token:s,theme:f,cssFilePath:o,contrastToken:d,onPreview:m,onClose:h}){const S=p.useRef(null),[x,y]=p.useState(()=>$c(s.resolvedValue)),[z,M]=p.useState({top:0,left:0});p.useEffect(()=>{if(!i.current)return;const Z=i.current.getBoundingClientRect(),B=300,D=window.innerHeight-Z.bottom<B&&Z.top>B;M({top:D?Z.top-B-4:Z.bottom+4,left:Math.min(Z.left,window.innerWidth-252)})},[i]),p.useEffect(()=>{const Z=B=>{S.current&&!S.current.contains(B.target)&&i.current&&!i.current.contains(B.target)&&h()};return document.addEventListener("mousedown",Z),()=>document.removeEventListener("mousedown",Z)},[h,i]),p.useEffect(()=>{const Z=B=>{B.key==="Escape"&&h()};return document.addEventListener("keydown",Z),()=>document.removeEventListener("keydown",Z)},[h]);const V=p.useCallback(Z=>{const B={...x,...Z};y(B),m(s.name,au(B))},[x,m,s.name]),k=async()=>{const Z=f==="dark"?".dark":":root";try{const G=await(await fetch("/api/tokens",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filePath:o,token:s.name,value:au(x),selector:Z})})).json();G.ok||console.error("Token save failed:",G.error)}catch(B){console.error("Token save error:",B)}h()},R=d?fd(d.resolvedValue,au(x)):null;return B2.createPortal(r.jsxs("div",{ref:S,className:"studio-popover",style:{top:z.top,left:z.left},children:[r.jsx("div",{className:"studio-popover-swatch",style:{"--swatch-color":au(x)}}),r.jsxs("div",{className:"flex items-center justify-between px-1 mb-2",children:[r.jsx("span",{className:"text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:s.name.replace(/^--/,"")}),R!==null&&r.jsxs("span",{className:"text-[9px] font-mono px-1.5 py-0.5 rounded",style:{color:R>=7?"var(--studio-success)":R>=4.5?"var(--studio-warning)":"var(--studio-danger)",background:"var(--studio-input-bg)"},children:[R.toFixed(1),":1"]})]}),r.jsxs("div",{className:"flex flex-col gap-2 px-1 mb-3",children:[r.jsx(Yc,{label:"L",value:x.l,min:0,max:1,step:.005,displayValue:`${(x.l*100).toFixed(0)}%`,onChange:Z=>V({l:Z})}),r.jsx(Yc,{label:"C",value:x.c,min:0,max:.4,step:.005,displayValue:x.c.toFixed(3),onChange:Z=>V({c:Z})}),r.jsx(Yc,{label:"H",value:x.h,min:0,max:360,step:1,displayValue:`${x.h.toFixed(0)}°`,onChange:Z=>V({h:Z})})]}),r.jsx("button",{onClick:k,className:"w-full py-1.5 rounded text-[11px] font-medium cursor-pointer",style:{background:"var(--studio-accent)",color:"white",border:"none"},children:"Save"})]}),document.body)}function Yc({label:i,value:s,min:f,max:o,step:d,displayValue:m,onChange:h}){return r.jsxs("div",{className:"flex items-center gap-2",children:[r.jsx("span",{className:"text-[9px] font-mono w-3",style:{color:"var(--studio-text-dimmed)"},children:i}),r.jsx("input",{type:"range",min:f,max:o,step:d,value:s,onChange:S=>h(parseFloat(S.target.value)),className:"flex-1"}),r.jsx("span",{className:"text-[10px] font-mono w-9 text-right",style:{color:"var(--studio-text-muted)"},children:m})]})}function dd({tokenRefs:i,scanData:s,theme:f,onPreviewToken:o}){if(!s)return r.jsx("div",{className:"px-4 py-3 text-[11px]",style:{color:"var(--studio-text-dimmed)"},children:"Loading tokens..."});const d=s.tokens.tokens,m=s.tokens.cssFilePath,h=d.filter(z=>i.includes(z.name)),S=Object.entries(s.tokens.groups).filter(([z,M])=>M.some(V=>V.category==="color")).slice(0,8),x=d.filter(z=>z.category==="radius"),y=d.filter(z=>z.category==="spacing");return r.jsxs("div",{className:"",children:[h.length>0&&r.jsx(nu,{title:"Used by element",count:h.length,defaultCollapsed:!0,children:h.map(z=>r.jsx(f2,{token:z,theme:f,onPreview:o,cssFilePath:m,allTokens:d},z.name))}),x.length>0&&r.jsx(nu,{title:"Radius",count:x.length,defaultCollapsed:!0,children:x.map(z=>r.jsx(gd,{token:z,onSave:M=>s2(m,z.name,M,f==="dark"?".dark":":root")},z.name))}),y.length>0&&r.jsx(nu,{title:"Spacing",count:y.length,defaultCollapsed:!0,children:y.map(z=>r.jsx(hd,{token:z,onSave:M=>s2(m,z.name,M,f==="dark"?".dark":":root")},z.name))}),S.map(([z,M])=>r.jsx(nu,{title:z,count:M.filter(V=>V.category==="color").length,defaultCollapsed:!0,children:M.filter(V=>V.category==="color").map(V=>r.jsx(f2,{token:V,theme:f,onPreview:o,cssFilePath:m,allTokens:d},V.name))},z))]})}function nu({title:i,count:s,children:f,defaultCollapsed:o=!0}){const[d,m]=p.useState(o);return r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("button",{onClick:()=>m(!d),className:"studio-section-hdr",children:[d?r.jsx(Ba,{}):r.jsx(nl,{}),i,s!==void 0&&r.jsx("span",{className:"count",children:s})]}),!d&&r.jsx("div",{className:"pb-1",children:f})]})}function f2({token:i,theme:s,onPreview:f,cssFilePath:o,allTokens:d}){const[m,h]=p.useState(!1),S=p.useRef(null),x=s==="dark"&&i.darkValue?i.darkValue:i.lightValue,y=x,z=i.name.endsWith("-foreground")?i.name.replace("-foreground",""):`${i.name}-foreground`,M=d.find(k=>k.name===z),V=M?s==="dark"&&M.darkValue?M.darkValue:M.lightValue:null;return r.jsxs(r.Fragment,{children:[r.jsxs("button",{ref:S,onClick:()=>h(!m),className:"studio-prop-row w-full text-left",style:{background:m?"var(--studio-surface-hover)":"transparent",cursor:"pointer",border:"none"},children:[r.jsx("div",{className:"studio-swatch",style:{"--swatch-color":x,width:20,height:20}}),r.jsx("span",{className:"flex-1 text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:i.name.replace(/^--/,"")})]}),m&&r.jsx(sd,{anchorRef:S,token:{name:i.name,value:x,resolvedValue:y},theme:s,cssFilePath:o,contrastToken:V?{name:z,resolvedValue:V}:null,onPreview:f,onClose:()=>h(!1)})]})}function gd({token:i,onSave:s}){const[f,o]=p.useState(i.lightValue);return r.jsxs("div",{className:"studio-prop-row",children:[r.jsx("div",{className:"w-5 h-5 border shrink-0",style:{borderColor:"var(--studio-text-dimmed)",borderRadius:f}}),r.jsx("span",{className:"flex-1 text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:i.name.replace(/^--/,"")}),r.jsx("input",{type:"text",value:f,onChange:d=>o(d.target.value),onBlur:()=>s(f),className:"studio-input w-14 text-right"})]})}function hd({token:i,onSave:s}){const[f,o]=p.useState(i.lightValue);return r.jsxs("div",{className:"studio-prop-row",children:[r.jsx("span",{className:"flex-1 text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:i.name.replace(/^--/,"")}),r.jsx("input",{type:"text",value:f,onChange:d=>o(d.target.value),onBlur:()=>s(f),className:"studio-input w-16 text-right"})]})}async function s2(i,s,f,o){try{const m=await(await fetch("/api/tokens",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filePath:i,token:s,value:f,selector:o})})).json();m.ok||console.error("Token save failed:",m.error)}catch(d){console.error("Token save error:",d)}}const pd=[{regex:/^bg-([\w-]+(?:\/\d+)?)$/,category:"color",property:"backgroundColor",label:"Background",extractValue:i=>i[1]},{regex:/^text-([\w-]+(?:\/\d+)?)$/,category:"color",property:"textColor",label:"Text",extractValue:i=>i[1]},{regex:/^border-([\w-]+(?:\/\d+)?)$/,category:"color",property:"borderColor",label:"Border",extractValue:i=>i[1]},{regex:/^ring-([\w-]+(?:\/\d+)?)$/,category:"color",property:"ringColor",label:"Ring",extractValue:i=>i[1]},{regex:/^outline-([\w-]+(?:\/\d+)?)$/,category:"color",property:"outlineColor",label:"Outline",extractValue:i=>i[1]},{regex:/^p-([\d.]+|px)$/,category:"spacing",property:"padding",label:"Padding",extractValue:i=>i[1]},{regex:/^px-([\d.]+|px)$/,category:"spacing",property:"paddingX",label:"Padding X",extractValue:i=>i[1]},{regex:/^py-([\d.]+|px)$/,category:"spacing",property:"paddingY",label:"Padding Y",extractValue:i=>i[1]},{regex:/^pt-([\d.]+|px)$/,category:"spacing",property:"paddingTop",label:"Padding Top",extractValue:i=>i[1]},{regex:/^pr-([\d.]+|px)$/,category:"spacing",property:"paddingRight",label:"Padding Right",extractValue:i=>i[1]},{regex:/^pb-([\d.]+|px)$/,category:"spacing",property:"paddingBottom",label:"Padding Bottom",extractValue:i=>i[1]},{regex:/^pl-([\d.]+|px)$/,category:"spacing",property:"paddingLeft",label:"Padding Left",extractValue:i=>i[1]},{regex:/^m-([\d.]+|px|auto)$/,category:"spacing",property:"margin",label:"Margin",extractValue:i=>i[1]},{regex:/^mx-([\d.]+|px|auto)$/,category:"spacing",property:"marginX",label:"Margin X",extractValue:i=>i[1]},{regex:/^my-([\d.]+|px|auto)$/,category:"spacing",property:"marginY",label:"Margin Y",extractValue:i=>i[1]},{regex:/^mt-([\d.]+|px|auto)$/,category:"spacing",property:"marginTop",label:"Margin Top",extractValue:i=>i[1]},{regex:/^mr-([\d.]+|px|auto)$/,category:"spacing",property:"marginRight",label:"Margin Right",extractValue:i=>i[1]},{regex:/^mb-([\d.]+|px|auto)$/,category:"spacing",property:"marginBottom",label:"Margin Bottom",extractValue:i=>i[1]},{regex:/^ml-([\d.]+|px|auto)$/,category:"spacing",property:"marginLeft",label:"Margin Left",extractValue:i=>i[1]},{regex:/^gap-([\d.]+|px)$/,category:"spacing",property:"gap",label:"Gap",extractValue:i=>i[1]},{regex:/^gap-x-([\d.]+|px)$/,category:"spacing",property:"gapX",label:"Gap X",extractValue:i=>i[1]},{regex:/^gap-y-([\d.]+|px)$/,category:"spacing",property:"gapY",label:"Gap Y",extractValue:i=>i[1]},{regex:/^space-x-([\d.]+)$/,category:"spacing",property:"spaceX",label:"Space X",extractValue:i=>i[1]},{regex:/^space-y-([\d.]+)$/,category:"spacing",property:"spaceY",label:"Space Y",extractValue:i=>i[1]},{regex:/^rounded$/,category:"shape",property:"borderRadius",label:"Radius",extractValue:()=>"DEFAULT"},{regex:/^rounded-(none|sm|md|lg|xl|2xl|3xl|full)$/,category:"shape",property:"borderRadius",label:"Radius",extractValue:i=>i[1]},{regex:/^border$/,category:"shape",property:"borderWidth",label:"Border Width",extractValue:()=>"1"},{regex:/^border-(0|2|4|8)$/,category:"shape",property:"borderWidth",label:"Border Width",extractValue:i=>i[1]},{regex:/^text-(xs|sm|base|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl|8xl|9xl)$/,category:"typography",property:"fontSize",label:"Font Size",extractValue:i=>i[1]},{regex:/^font-(thin|extralight|light|normal|medium|semibold|bold|extrabold|black)$/,category:"typography",property:"fontWeight",label:"Font Weight",extractValue:i=>i[1]},{regex:/^leading-(none|tight|snug|normal|relaxed|loose)$/,category:"typography",property:"lineHeight",label:"Line Height",extractValue:i=>i[1]},{regex:/^tracking-(tighter|tight|normal|wide|wider|widest)$/,category:"typography",property:"letterSpacing",label:"Letter Spacing",extractValue:i=>i[1]},{regex:/^font-(sans|serif|mono)$/,category:"typography",property:"fontFamily",label:"Font Family",extractValue:i=>i[1]},{regex:/^text-(left|center|right|justify)$/,category:"typography",property:"textAlign",label:"Text Align",extractValue:i=>i[1]},{regex:/^(uppercase|lowercase|capitalize|normal-case)$/,category:"typography",property:"textTransform",label:"Text Transform",extractValue:i=>i[1]},{regex:/^(underline|overline|line-through|no-underline)$/,category:"typography",property:"textDecoration",label:"Text Decoration",extractValue:i=>i[1]},{regex:/^(truncate|whitespace-nowrap|whitespace-normal)$/,category:"typography",property:"overflow",label:"Overflow",extractValue:i=>i[1]},{regex:/^(flex|inline-flex|grid|inline-grid|block|inline-block|inline|hidden)$/,category:"layout",property:"display",label:"Display",extractValue:i=>i[1]},{regex:/^(flex-row|flex-col|flex-row-reverse|flex-col-reverse)$/,category:"layout",property:"flexDirection",label:"Direction",extractValue:i=>i[1]},{regex:/^(flex-wrap|flex-nowrap|flex-wrap-reverse)$/,category:"layout",property:"flexWrap",label:"Wrap",extractValue:i=>i[1]},{regex:/^items-(start|end|center|baseline|stretch)$/,category:"layout",property:"alignItems",label:"Align Items",extractValue:i=>i[1]},{regex:/^justify-(start|end|center|between|around|evenly)$/,category:"layout",property:"justifyContent",label:"Justify",extractValue:i=>i[1]},{regex:/^(self-auto|self-start|self-end|self-center|self-stretch)$/,category:"layout",property:"alignSelf",label:"Align Self",extractValue:i=>i[1]},{regex:/^grid-cols-(\d+|none)$/,category:"layout",property:"gridCols",label:"Grid Columns",extractValue:i=>i[1]},{regex:/^grid-rows-(\d+|none)$/,category:"layout",property:"gridRows",label:"Grid Rows",extractValue:i=>i[1]},{regex:/^col-span-(\d+|full)$/,category:"layout",property:"colSpan",label:"Column Span",extractValue:i=>i[1]},{regex:/^row-span-(\d+)$/,category:"layout",property:"rowSpan",label:"Row Span",extractValue:i=>i[1]},{regex:/^(relative|absolute|fixed|sticky)$/,category:"layout",property:"position",label:"Position",extractValue:i=>i[1]},{regex:/^(overflow-hidden|overflow-auto|overflow-scroll|overflow-visible)$/,category:"layout",property:"overflow",label:"Overflow",extractValue:i=>i[1]},{regex:/^w-([\d.]+|full|screen|auto|min|max|fit|px)$/,category:"size",property:"width",label:"Width",extractValue:i=>i[1]},{regex:/^h-([\d.]+|full|screen|auto|min|max|fit|px)$/,category:"size",property:"height",label:"Height",extractValue:i=>i[1]},{regex:/^min-w-([\d.]+|full|min|max|fit|0)$/,category:"size",property:"minWidth",label:"Min Width",extractValue:i=>i[1]},{regex:/^min-h-([\d.]+|full|screen|min|max|fit|0)$/,category:"size",property:"minHeight",label:"Min Height",extractValue:i=>i[1]},{regex:/^max-w-([\w.]+)$/,category:"size",property:"maxWidth",label:"Max Width",extractValue:i=>i[1]},{regex:/^max-h-([\w.]+)$/,category:"size",property:"maxHeight",label:"Max Height",extractValue:i=>i[1]},{regex:/^size-([\d.]+|full|auto|px)$/,category:"size",property:"size",label:"Size",extractValue:i=>i[1]},{regex:/^(flex-1|flex-auto|flex-initial|flex-none)$/,category:"size",property:"flex",label:"Flex",extractValue:i=>i[1]},{regex:/^(grow|grow-0|shrink|shrink-0)$/,category:"size",property:"flexGrowShrink",label:"Grow/Shrink",extractValue:i=>i[1]},{regex:/^text-\[(-?[\w.%]+)\]$/,category:"typography",property:"fontSize",label:"Font Size",extractValue:i=>`[${i[1]}]`},{regex:/^leading-\[(-?[\w.%]+)\]$/,category:"typography",property:"lineHeight",label:"Line Height",extractValue:i=>`[${i[1]}]`},{regex:/^tracking-\[(-?[\w.%]+)\]$/,category:"typography",property:"letterSpacing",label:"Letter Spacing",extractValue:i=>`[${i[1]}]`},{regex:/^font-\[(-?[\w.%]+)\]$/,category:"typography",property:"fontWeight",label:"Font Weight",extractValue:i=>`[${i[1]}]`},{regex:/^p-\[(-?[\w.%]+)\]$/,category:"spacing",property:"padding",label:"Padding",extractValue:i=>`[${i[1]}]`},{regex:/^px-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingX",label:"Padding X",extractValue:i=>`[${i[1]}]`},{regex:/^py-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingY",label:"Padding Y",extractValue:i=>`[${i[1]}]`},{regex:/^pt-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingTop",label:"Padding Top",extractValue:i=>`[${i[1]}]`},{regex:/^pr-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingRight",label:"Padding Right",extractValue:i=>`[${i[1]}]`},{regex:/^pb-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingBottom",label:"Padding Bottom",extractValue:i=>`[${i[1]}]`},{regex:/^pl-\[(-?[\w.%]+)\]$/,category:"spacing",property:"paddingLeft",label:"Padding Left",extractValue:i=>`[${i[1]}]`},{regex:/^m-\[(-?[\w.%]+)\]$/,category:"spacing",property:"margin",label:"Margin",extractValue:i=>`[${i[1]}]`},{regex:/^mx-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginX",label:"Margin X",extractValue:i=>`[${i[1]}]`},{regex:/^my-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginY",label:"Margin Y",extractValue:i=>`[${i[1]}]`},{regex:/^mt-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginTop",label:"Margin Top",extractValue:i=>`[${i[1]}]`},{regex:/^mr-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginRight",label:"Margin Right",extractValue:i=>`[${i[1]}]`},{regex:/^mb-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginBottom",label:"Margin Bottom",extractValue:i=>`[${i[1]}]`},{regex:/^ml-\[(-?[\w.%]+)\]$/,category:"spacing",property:"marginLeft",label:"Margin Left",extractValue:i=>`[${i[1]}]`},{regex:/^gap-\[(-?[\w.%]+)\]$/,category:"spacing",property:"gap",label:"Gap",extractValue:i=>`[${i[1]}]`},{regex:/^gap-x-\[(-?[\w.%]+)\]$/,category:"spacing",property:"gapX",label:"Gap X",extractValue:i=>`[${i[1]}]`},{regex:/^gap-y-\[(-?[\w.%]+)\]$/,category:"spacing",property:"gapY",label:"Gap Y",extractValue:i=>`[${i[1]}]`},{regex:/^w-\[(-?[\w.%]+)\]$/,category:"size",property:"width",label:"Width",extractValue:i=>`[${i[1]}]`},{regex:/^h-\[(-?[\w.%]+)\]$/,category:"size",property:"height",label:"Height",extractValue:i=>`[${i[1]}]`},{regex:/^min-w-\[(-?[\w.%]+)\]$/,category:"size",property:"minWidth",label:"Min Width",extractValue:i=>`[${i[1]}]`},{regex:/^min-h-\[(-?[\w.%]+)\]$/,category:"size",property:"minHeight",label:"Min Height",extractValue:i=>`[${i[1]}]`},{regex:/^max-w-\[(-?[\w.%]+)\]$/,category:"size",property:"maxWidth",label:"Max Width",extractValue:i=>`[${i[1]}]`},{regex:/^max-h-\[(-?[\w.%]+)\]$/,category:"size",property:"maxHeight",label:"Max Height",extractValue:i=>`[${i[1]}]`},{regex:/^rounded-\[(-?[\w.%]+)\]$/,category:"shape",property:"borderRadius",label:"Radius",extractValue:i=>`[${i[1]}]`}];function md(i){const s=i.split(":");if(s.length===1)return{prefix:void 0,core:i};const f=s.pop();return{prefix:s.join(":")+":",core:f}}function q2(i){const s={color:[],spacing:[],shape:[],typography:[],layout:[],size:[],other:[]},f=i.split(/\s+/).filter(Boolean);for(const o of f){const{prefix:d,core:m}=md(o);let h=!1;for(const S of pd){const x=m.match(S.regex);if(x){if(S.property==="textColor"&&(["xs","sm","base","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"].includes(x[1])||["left","center","right","justify"].includes(x[1]))||S.property==="borderColor"&&["0","2","4","8"].includes(x[1]))continue;s[S.category].push({category:S.category,property:S.property,label:S.label,value:S.extractValue(x),fullClass:o,prefix:d}),h=!0;break}}h||s.other.push({category:"other",property:"unknown",label:o,value:o,fullClass:o,prefix:d})}return s}function Al(i,s,f){const d={backgroundColor:h=>`bg-${h}`,textColor:h=>`text-${h}`,borderColor:h=>`border-${h}`,ringColor:h=>`ring-${h}`,padding:h=>`p-${h}`,paddingX:h=>`px-${h}`,paddingY:h=>`py-${h}`,paddingTop:h=>`pt-${h}`,paddingRight:h=>`pr-${h}`,paddingBottom:h=>`pb-${h}`,paddingLeft:h=>`pl-${h}`,margin:h=>`m-${h}`,marginX:h=>`mx-${h}`,marginY:h=>`my-${h}`,marginTop:h=>`mt-${h}`,marginRight:h=>`mr-${h}`,marginBottom:h=>`mb-${h}`,marginLeft:h=>`ml-${h}`,gap:h=>`gap-${h}`,gapX:h=>`gap-x-${h}`,gapY:h=>`gap-y-${h}`,borderRadius:h=>h==="DEFAULT"?"rounded":`rounded-${h}`,borderWidth:h=>h==="1"?"border":`border-${h}`,fontSize:h=>`text-${h}`,fontWeight:h=>`font-${h}`,lineHeight:h=>`leading-${h}`,letterSpacing:h=>`tracking-${h}`,fontFamily:h=>`font-${h}`,textAlign:h=>`text-${h}`,display:h=>h,flexDirection:h=>h,alignItems:h=>`items-${h}`,justifyContent:h=>`justify-${h}`,gridCols:h=>`grid-cols-${h}`,gridRows:h=>`grid-rows-${h}`,width:h=>`w-${h}`,height:h=>`h-${h}`,size:h=>`size-${h}`}[i];if(!d)return s;const m=d(s);return f?`${f}${m}`:m}function gu(i){return i.startsWith("[")&&i.endsWith("]")}function X2(i){return gu(i)?i.slice(1,-1):i}function G2(i){return gu(i)?i:`[${i}]`}const Oe=["0","px","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],$2=["none","sm","DEFAULT","md","lg","xl","2xl","3xl","full"],Kc=["xs","sm","base","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl"],Jc=["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],Q2=["none","tight","snug","normal","relaxed","loose"],K2=["tighter","tight","normal","wide","wider","widest"],yd=["0","5","10","15","20","25","30","35","40","45","50","55","60","65","70","75","80","85","90","95","100"];function J2({classes:i,onClassChange:s,tokenGroups:f,flat:o=!1}){const d=q2(i),h=[{key:"layout",label:"Layout"},{key:"color",label:"Color"},{key:"spacing",label:"Spacing"},{key:"size",label:"Size"},{key:"typography",label:"Type"},{key:"shape",label:"Shape"}].filter(S=>d[S.key].length>0);return h.length===0?r.jsx("div",{className:"text-[11px] px-4 py-3",style:{color:"var(--studio-text-dimmed)"},children:"No editable properties"}):o?r.jsx("div",{className:"flex flex-col gap-2",children:h.map(S=>r.jsx(k2,{category:S.key,properties:d[S.key],onClassChange:s,tokenGroups:f},S.key))}):r.jsxs("div",{children:[h.map(S=>r.jsx(vd,{category:S.key,label:S.label,properties:d[S.key],onClassChange:s,tokenGroups:f},S.key)),d.other.length>0&&r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("div",{className:"studio-section-hdr",style:{cursor:"default"},children:["Other",r.jsx("span",{className:"count",children:d.other.length})]}),r.jsx("div",{className:"flex flex-wrap gap-1 px-4 pb-3",children:d.other.map(S=>r.jsx("span",{className:"px-1.5 py-0.5 text-[10px] font-mono rounded",style:{background:"var(--studio-input-bg)",color:"var(--studio-text-dimmed)"},children:S.fullClass},S.fullClass))})]})]})}function k2({category:i,properties:s,onClassChange:f,tokenGroups:o}){return r.jsx(r.Fragment,{children:i==="layout"?r.jsx(Sd,{properties:s,onClassChange:f}):i==="color"?r.jsx(wd,{properties:s,onClassChange:f,tokenGroups:o||{}}):i==="spacing"?r.jsx(Ed,{properties:s,onClassChange:f}):r.jsx(Td,{properties:s,category:i,onClassChange:f})})}function vd({category:i,label:s,properties:f,onClassChange:o,tokenGroups:d}){const[m,h]=p.useState(!0);return r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("button",{onClick:()=>h(!m),className:"studio-section-hdr",children:[m?r.jsx(Ba,{}):r.jsx(nl,{}),s,r.jsx("span",{className:"count",children:f.length})]}),!m&&r.jsx("div",{className:"flex flex-col gap-2 pb-2 px-4",children:r.jsx(k2,{category:i,properties:f,onClassChange:o,tokenGroups:d})})]})}function Hl({label:i,prefix:s}){return r.jsxs("div",{className:"text-[10px] font-medium mb-1",style:{color:"var(--studio-text-dimmed)",letterSpacing:"0.03em"},children:[s&&r.jsxs("span",{style:{color:"var(--studio-accent)"},children:[s.replace(/:$/,"")," "]}),i]})}const xd=[{value:"flex",icon:V2,label:"Flex"},{value:"grid",icon:R2,label:"Grid"},{value:"block",icon:E2,label:"Block"},{value:"hidden",icon:null,label:"None"}],Cd=[{value:"start",icon:j2,label:"Start"},{value:"center",icon:b2,label:"Center"},{value:"end",icon:x2,label:"End"},{value:"stretch",icon:null,label:"Stretch"}],bd=[{value:"start",icon:S2,label:"Start"},{value:"center",icon:C2,label:"Center"},{value:"end",icon:w2,label:"End"},{value:"between",icon:N2,label:"Between"},{value:"evenly",icon:Y5,label:"Evenly"}];function Sd({properties:i,onClassChange:s}){const f=i.find(h=>h.property==="display"),o=i.find(h=>h.property==="alignItems"),d=i.find(h=>h.property==="justifyContent"),m=i.filter(h=>!["display","alignItems","justifyContent"].includes(h.property));return r.jsxs(r.Fragment,{children:[f&&r.jsxs("div",{children:[r.jsx(Hl,{label:"Display",prefix:f.prefix}),r.jsx(qc,{options:xd,value:f.value,onChange:h=>{const S=Al(f.property,h,f.prefix);s(f.fullClass,S)}})]}),o&&r.jsxs("div",{children:[r.jsx(Hl,{label:"Alignment",prefix:o.prefix}),r.jsx(qc,{options:Cd,value:o.value,onChange:h=>{const S=Al(o.property,h,o.prefix);s(o.fullClass,S)}})]}),d&&r.jsxs("div",{children:[r.jsx(Hl,{label:"Justify",prefix:d.prefix}),r.jsx(qc,{options:bd,value:d.value,onChange:h=>{const S=Al(d.property,h,d.prefix);s(d.fullClass,S)}})]}),m.map(h=>r.jsx(Rl,{property:h,category:"layout",onClassChange:s},h.fullClass))]})}function qc({options:i,value:s,onChange:f}){return r.jsx("div",{className:"studio-segmented",style:{width:"100%"},children:i.map(o=>r.jsx("button",{onClick:()=>f(o.value),className:s===o.value?"active":"",title:o.label||o.value,style:{flex:1},children:o.icon?r.jsx(o.icon,{style:{width:14,height:14}}):r.jsx("span",{style:{fontSize:10},children:o.label||o.value})},o.value))})}function wd({properties:i,onClassChange:s,tokenGroups:f}){const o=[],d={};for(const[S,x]of Object.entries(f))for(const y of x)if(y.category==="color"){const z=y.name.replace(/^--/,"");o.includes(z)||o.push(z),d[z]||(d[z]=y.lightValue||"")}const[m,h]=p.useState(null);return r.jsx(r.Fragment,{children:i.map(S=>r.jsx(jd,{prop:S,colorTokens:o,tokenValues:d,isOpen:m===S.fullClass,onOpen:()=>h(S.fullClass),onClose:()=>h(null),onClassChange:s},S.fullClass))})}function jd({prop:i,colorTokens:s,tokenValues:f,isOpen:o,onOpen:d,onClose:m,onClassChange:h}){const S=p.useRef(null),x=f[i.value.split("/")[0]]||"";return r.jsxs("div",{children:[r.jsx(Hl,{label:i.label,prefix:i.prefix}),r.jsxs("button",{ref:S,onClick:d,className:"studio-color-trigger",children:[r.jsx("div",{className:"studio-swatch",style:{"--swatch-color":x}}),r.jsx("span",{className:"flex-1 truncate text-left",children:i.value}),r.jsx(nl,{})]}),o&&r.jsx(Y2,{anchorRef:S,currentValue:i.value,availableTokens:s,tokenValues:f,onSelect:y=>{const z=Al(i.property,y,i.prefix);h(i.fullClass,z),m()},onClose:m})]})}function Ed({properties:i,onClassChange:s}){const f=i.find(x=>x.label==="PX"||x.label==="Pad X"||x.label==="Padding X"),o=i.find(x=>x.label==="PY"||x.label==="Pad Y"||x.label==="Padding Y"),d=i.find(x=>x.label==="MX"||x.label==="Margin X"),m=i.find(x=>x.label==="MY"||x.label==="Margin Y"),h=i.find(x=>x.label==="Gap"),S=i.filter(x=>x!==f&&x!==o&&x!==d&&x!==m&&x!==h);return r.jsxs(r.Fragment,{children:[(f||o)&&r.jsxs("div",{className:"studio-two-col",children:[f&&r.jsx(Ua,{label:"Padding X",prefix:f.prefix,prop:f,onClassChange:s}),o&&r.jsx(Ua,{label:"Padding Y",prefix:o.prefix,prop:o,onClassChange:s})]}),(d||m)&&r.jsxs("div",{className:"studio-two-col",children:[d&&r.jsx(Ua,{label:"Margin X",prefix:d.prefix,prop:d,onClassChange:s}),m&&r.jsx(Ua,{label:"Margin Y",prefix:m.prefix,prop:m,onClassChange:s})]}),h&&r.jsx(Ua,{label:"Gap",prefix:h.prefix,prop:h,onClassChange:s}),S.map(x=>r.jsx(Ua,{label:x.label,prefix:x.prefix,prop:x,onClassChange:s},x.fullClass))]})}function Ua({label:i,prefix:s,prop:f,onClassChange:o}){return gu(f.value)?r.jsxs("div",{children:[r.jsx(Hl,{label:i,prefix:s}),r.jsx(W2,{value:X2(f.value),onCommit:m=>{const h=Al(f.property,G2(m),f.prefix);o(f.fullClass,h)}})]}):r.jsxs("div",{children:[r.jsx(Hl,{label:i,prefix:s}),r.jsxs("select",{value:f.value,onChange:m=>{const h=Al(f.property,m.target.value,f.prefix);o(f.fullClass,h)},className:"studio-select w-full",children:[!Oe.includes(f.value)&&r.jsx("option",{value:f.value,children:f.value}),Oe.map(m=>r.jsx("option",{value:m,children:m},m))]})]})}function Td({properties:i,category:s,onClassChange:f}){if(s==="typography"){const o=i.find(h=>h.property==="fontSize"),d=i.find(h=>h.property==="fontWeight"),m=i.filter(h=>h!==o&&h!==d);return r.jsxs(r.Fragment,{children:[m.map(h=>r.jsx(Rl,{property:h,category:s,onClassChange:f},h.fullClass)),(o||d)&&r.jsxs("div",{className:"studio-two-col",children:[o&&r.jsx(Rl,{property:o,category:s,onClassChange:f}),d&&r.jsx(Rl,{property:d,category:s,onClassChange:f})]})]})}if(s==="size"){const o=i.find(h=>h.label==="Width"||h.label==="Max Width"||h.label==="Min Width"),d=i.find(h=>h.label==="Height"||h.label==="Max Height"||h.label==="Min Height"),m=i.filter(h=>h!==o&&h!==d);if(o&&d)return r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"studio-two-col",children:[r.jsx(Rl,{property:o,category:s,onClassChange:f}),r.jsx(Rl,{property:d,category:s,onClassChange:f})]}),m.map(h=>r.jsx(Rl,{property:h,category:s,onClassChange:f},h.fullClass))]})}return r.jsx(r.Fragment,{children:i.map(o=>r.jsx(Rl,{property:o,category:s,onClassChange:f},o.fullClass))})}function W2({value:i,onCommit:s}){const[f,o]=p.useState(i),[d,m]=p.useState(!1),h=d?f:i;return r.jsx("input",{type:"text",value:h,onChange:S=>o(S.target.value),onFocus:()=>{o(i),m(!0)},onBlur:()=>{m(!1);const S=f.trim();S&&S!==i&&s(S)},onKeyDown:S=>{S.key==="Enter"&&S.target.blur()},className:"studio-select w-full font-mono",style:{fontSize:11}})}function Rl({property:i,category:s,onClassChange:f}){const d=(()=>{switch(s){case"spacing":return Oe;case"shape":return i.property==="borderRadius"?$2:["0","1","2","4","8"];case"typography":return i.property==="fontSize"?Kc:i.property==="fontWeight"?Jc:[];case"layout":return i.property==="display"?["flex","inline-flex","grid","block","inline-block","hidden"]:i.property==="alignItems"?["start","end","center","baseline","stretch"]:i.property==="justifyContent"?["start","end","center","between","around","evenly"]:i.property==="gridCols"?["1","2","3","4","5","6","none"]:[];case"size":return[];default:return[]}})();return gu(i.value)?r.jsxs("div",{children:[r.jsx(Hl,{label:i.label,prefix:i.prefix}),r.jsx(W2,{value:X2(i.value),onCommit:h=>{const S=Al(i.property,G2(h),i.prefix);f(i.fullClass,S)}})]}):r.jsxs("div",{children:[r.jsx(Hl,{label:i.label,prefix:i.prefix}),d.length>0?r.jsxs("select",{value:i.value,onChange:h=>{const S=Al(i.property,h.target.value,i.prefix);f(i.fullClass,S)},className:"studio-select w-full",children:[!d.includes(i.value)&&r.jsx("option",{value:i.value,children:i.value}),d.map(h=>r.jsx("option",{value:h,children:h},h))]}):r.jsx("div",{className:"text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:i.value})]})}const Md={"font-size":{"12px":"text-xs","0.75rem":"text-xs","14px":"text-sm","0.875rem":"text-sm","16px":"text-base","1rem":"text-base","18px":"text-lg","1.125rem":"text-lg","20px":"text-xl","1.25rem":"text-xl","24px":"text-2xl","1.5rem":"text-2xl","30px":"text-3xl","1.875rem":"text-3xl","36px":"text-4xl","2.25rem":"text-4xl","48px":"text-5xl","3rem":"text-5xl","60px":"text-6xl","3.75rem":"text-6xl","72px":"text-7xl","4.5rem":"text-7xl","96px":"text-8xl","6rem":"text-8xl","128px":"text-9xl","8rem":"text-9xl"},"font-weight":{100:"font-thin",200:"font-extralight",300:"font-light",400:"font-normal",500:"font-medium",600:"font-semibold",700:"font-bold",800:"font-extrabold",900:"font-black"},"line-height":{1:"leading-none","1.25":"leading-tight","1.375":"leading-snug","1.5":"leading-normal","1.625":"leading-relaxed",2:"leading-loose"},"letter-spacing":{"-0.05em":"tracking-tighter","-0.025em":"tracking-tight","0em":"tracking-normal","0px":"tracking-normal","0.025em":"tracking-wide","0.05em":"tracking-wider","0.1em":"tracking-widest"},"text-align":{left:"text-left",start:"text-left",center:"text-center",right:"text-right",end:"text-right",justify:"text-justify"},"text-transform":{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize",none:"normal-case"},display:{block:"block","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",grid:"grid","inline-grid":"inline-grid",none:"hidden"},position:{static:"static",relative:"relative",absolute:"absolute",fixed:"fixed",sticky:"sticky"},"flex-direction":{row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"},"flex-wrap":{wrap:"flex-wrap",nowrap:"flex-nowrap","wrap-reverse":"flex-wrap-reverse"},"justify-content":{"flex-start":"justify-start",start:"justify-start","flex-end":"justify-end",end:"justify-end",center:"justify-center","space-between":"justify-between","space-around":"justify-around","space-evenly":"justify-evenly"},"align-items":{"flex-start":"items-start",start:"items-start","flex-end":"items-end",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},"align-self":{auto:"self-auto","flex-start":"self-start",start:"self-start","flex-end":"self-end",end:"self-end",center:"self-center",stretch:"self-stretch"},overflow:{visible:"overflow-visible",hidden:"overflow-hidden",scroll:"overflow-scroll",auto:"overflow-auto"},opacity:{0:"opacity-0","0.05":"opacity-5","0.1":"opacity-10","0.15":"opacity-15","0.2":"opacity-20","0.25":"opacity-25","0.3":"opacity-30","0.35":"opacity-35","0.4":"opacity-40","0.45":"opacity-45","0.5":"opacity-50","0.55":"opacity-55","0.6":"opacity-60","0.65":"opacity-65","0.7":"opacity-70","0.75":"opacity-75","0.8":"opacity-80","0.85":"opacity-85","0.9":"opacity-90","0.95":"opacity-95",1:"opacity-100"}},ru={"0px":"0","1px":"px","2px":"0.5","4px":"1","6px":"1.5","8px":"2","10px":"2.5","12px":"3","14px":"3.5","16px":"4","20px":"5","24px":"6","28px":"7","32px":"8","36px":"9","40px":"10","44px":"11","48px":"12","56px":"14","64px":"16","80px":"20","96px":"24","112px":"28","128px":"32","144px":"36","160px":"40","176px":"44","192px":"48","208px":"52","224px":"56","240px":"60","256px":"64","288px":"72","320px":"80","384px":"96"},F2={"0px":"rounded-none","2px":"rounded-sm","0.125rem":"rounded-sm","4px":"rounded","0.25rem":"rounded","6px":"rounded-md","0.375rem":"rounded-md","8px":"rounded-lg","0.5rem":"rounded-lg","12px":"rounded-xl","0.75rem":"rounded-xl","16px":"rounded-2xl","1rem":"rounded-2xl","24px":"rounded-3xl","1.5rem":"rounded-3xl","9999px":"rounded-full"},uu={"padding-top":"pt","padding-right":"pr","padding-bottom":"pb","padding-left":"pl","margin-top":"mt","margin-right":"mr","margin-bottom":"mb","margin-left":"ml",gap:"gap","row-gap":"gap-y","column-gap":"gap-x",width:"w",height:"h","min-width":"min-w","min-height":"min-h","max-width":"max-w","max-height":"max-h",top:"top",right:"right",bottom:"bottom",left:"left","border-top-width":"border-t","border-right-width":"border-r","border-bottom-width":"border-b","border-left-width":"border-l","border-top-left-radius":"rounded-tl","border-top-right-radius":"rounded-tr","border-bottom-right-radius":"rounded-br","border-bottom-left-radius":"rounded-bl","font-size":"text","font-weight":"font","line-height":"leading","letter-spacing":"tracking",opacity:"opacity",color:"text","background-color":"bg","border-color":"border"},zd=new Set(["padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-right","margin-bottom","margin-left","gap","row-gap","column-gap","top","right","bottom","left","width","height","min-width","min-height","max-width","max-height"]),Ld=new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"]);function nt(i,s){const f=Md[i];if(f!=null&&f[s])return{tailwindClass:f[s],exact:!0};if(zd.has(i)){const d=ru[s],m=uu[i];if(d&&m)return{tailwindClass:`${m}-${d}`,exact:!0};if(m&&s!=="auto"&&s!=="none")return{tailwindClass:`${m}-[${s}]`,exact:!1}}if(Ld.has(i)){const d=F2[s];if(d){const h=uu[i];if(h){const S=d.replace("rounded","");return{tailwindClass:`${h}${S||""}`,exact:!0}}return{tailwindClass:d,exact:!0}}const m=uu[i];if(m&&s!=="0px")return{tailwindClass:`${m}-[${s}]`,exact:!1}}const o=uu[i];return o?{tailwindClass:`${o}-[${s}]`,exact:!1}:null}function iu(i,s){const f=i==="padding"?"p":"m",o=ru[s];return o?{tailwindClass:`${f}-${o}`,exact:!0}:s!=="0px"&&s!=="auto"?{tailwindClass:`${f}-[${s}]`,exact:!1}:null}function cu(i,s,f){const o=i==="padding"?"px":"mx",d=i==="padding"?"py":"my",m=ru[s],h=ru[f];return{xClass:m?{tailwindClass:`${o}-${m}`,exact:!0}:s!=="0px"?{tailwindClass:`${o}-[${s}]`,exact:!1}:null,yClass:h?{tailwindClass:`${d}-${h}`,exact:!0}:f!=="0px"?{tailwindClass:`${d}-[${f}]`,exact:!1}:null}}function Rd(i){const s=F2[i];return s?{tailwindClass:s,exact:!0}:i!=="0px"?{tailwindClass:`rounded-[${i}]`,exact:!1}:null}const _d={"font-size":"typography","font-weight":"typography","line-height":"typography","letter-spacing":"typography","padding-top":"spacing","padding-right":"spacing","padding-bottom":"spacing","padding-left":"spacing","margin-top":"spacing","margin-right":"spacing","margin-bottom":"spacing","margin-left":"spacing",gap:"spacing","row-gap":"spacing","column-gap":"spacing",width:"spacing",height:"spacing","border-top-left-radius":"radius","border-top-right-radius":"radius","border-bottom-right-radius":"radius","border-bottom-left-radius":"radius",color:"color","background-color":"color","border-color":"color","box-shadow":"shadow"};function Od(i,s,f){if(!s||s==="none"||s==="auto")return null;const o=_d[i];if(!o)return null;if(o==="color"){const m=g2(s);if(!m)return null;for(const[,h]of Object.entries(f))for(const S of h)if(S.category==="color"){const x=g2(S.lightValue||"");if(x&&x===m){const y=h.filter(z=>z.category==="color").map(z=>({name:z.name.replace(/^--/,""),value:z.lightValue||""}));return{tokenName:S.name.replace(/^--/,""),tokenVar:S.name,category:"color",groupTokens:y}}}return null}const d=d2(s);for(const[,m]of Object.entries(f))for(const h of m)if(h.category===o){const S=d2(h.lightValue||"");if(S&&S===d){const x=m.filter(y=>y.category===o).map(y=>({name:y.name.replace(/^--/,""),value:y.lightValue||""}));return{tokenName:h.name.replace(/^--/,""),tokenVar:h.name,category:o,groupTokens:x}}}return null}function d2(i){return i?i.trim().toLowerCase():null}function g2(i){if(!i||i==="transparent"||i==="rgba(0, 0, 0, 0)")return null;const s=i.match(/rgba?\(\s*([\d.]+)\s*,\s*([\d.]+)\s*,\s*([\d.]+)\s*(?:,\s*([\d.]+))?\s*\)/);if(s){const[,f,o,d,m]=s;return m!==void 0&&parseFloat(m)!==1?`rgba(${f},${o},${d},${m})`:`rgb(${f},${o},${d})`}return i.trim().toLowerCase()}const Ad=[{property:"display",label:"Display",category:"layout",controlType:"keyword",alwaysShow:!0},{property:"position",label:"Position",category:"layout",controlType:"keyword"},{property:"top",label:"Top",category:"layout",controlType:"length"},{property:"right",label:"Right",category:"layout",controlType:"length"},{property:"bottom",label:"Bottom",category:"layout",controlType:"length"},{property:"left",label:"Left",category:"layout",controlType:"length"},{property:"z-index",label:"Z-Index",category:"layout",controlType:"text"},{property:"overflow",label:"Overflow",category:"layout",controlType:"keyword"},{property:"flex-direction",label:"Direction",category:"layout",controlType:"keyword"},{property:"flex-wrap",label:"Wrap",category:"layout",controlType:"keyword"},{property:"justify-content",label:"Justify",category:"layout",controlType:"keyword"},{property:"align-items",label:"Align Items",category:"layout",controlType:"keyword"},{property:"align-self",label:"Align Self",category:"layout",controlType:"keyword"},{property:"gap",label:"Gap",category:"layout",controlType:"length"},{property:"row-gap",label:"Row Gap",category:"layout",controlType:"length"},{property:"column-gap",label:"Column Gap",category:"layout",controlType:"length"},{property:"width",label:"Width",category:"size",controlType:"length"},{property:"height",label:"Height",category:"size",controlType:"length"},{property:"min-width",label:"Min W",category:"size",controlType:"length"},{property:"min-height",label:"Min H",category:"size",controlType:"length"},{property:"max-width",label:"Max W",category:"size",controlType:"length"},{property:"max-height",label:"Max H",category:"size",controlType:"length"},{property:"padding-top",label:"Top",category:"spacing",controlType:"length",alwaysShow:!0},{property:"padding-right",label:"Right",category:"spacing",controlType:"length",alwaysShow:!0},{property:"padding-bottom",label:"Bottom",category:"spacing",controlType:"length",alwaysShow:!0},{property:"padding-left",label:"Left",category:"spacing",controlType:"length",alwaysShow:!0},{property:"margin-top",label:"Top",category:"spacing",controlType:"length",alwaysShow:!0},{property:"margin-right",label:"Right",category:"spacing",controlType:"length",alwaysShow:!0},{property:"margin-bottom",label:"Bottom",category:"spacing",controlType:"length",alwaysShow:!0},{property:"margin-left",label:"Left",category:"spacing",controlType:"length",alwaysShow:!0},{property:"font-family",label:"Font",category:"typography",controlType:"text",alwaysShow:!0},{property:"font-size",label:"Size",category:"typography",controlType:"length",alwaysShow:!0},{property:"font-weight",label:"Weight",category:"typography",controlType:"keyword",alwaysShow:!0},{property:"line-height",label:"Leading",category:"typography",controlType:"length",alwaysShow:!0},{property:"letter-spacing",label:"Tracking",category:"typography",controlType:"length",alwaysShow:!0},{property:"text-align",label:"Align",category:"typography",controlType:"keyword",alwaysShow:!0},{property:"text-decoration",label:"Decoration",category:"typography",controlType:"keyword",alwaysShow:!0},{property:"text-transform",label:"Transform",category:"typography",controlType:"keyword",alwaysShow:!0},{property:"color",label:"Text",category:"color",controlType:"color",alwaysShow:!0},{property:"background-color",label:"Background",category:"color",controlType:"color",alwaysShow:!0},{property:"border-top-width",label:"Top",category:"border",controlType:"length"},{property:"border-right-width",label:"Right",category:"border",controlType:"length"},{property:"border-bottom-width",label:"Bottom",category:"border",controlType:"length"},{property:"border-left-width",label:"Left",category:"border",controlType:"length"},{property:"border-color",label:"Color",category:"border",controlType:"color",alwaysShow:!0},{property:"border-top-left-radius",label:"TL",category:"border",controlType:"length",alwaysShow:!0},{property:"border-top-right-radius",label:"TR",category:"border",controlType:"length",alwaysShow:!0},{property:"border-bottom-right-radius",label:"BR",category:"border",controlType:"length",alwaysShow:!0},{property:"border-bottom-left-radius",label:"BL",category:"border",controlType:"length",alwaysShow:!0},{property:"opacity",label:"Opacity",category:"effects",controlType:"text",alwaysShow:!0},{property:"box-shadow",label:"Shadow",category:"effects",controlType:"readonly"},{property:"transform",label:"Transform",category:"effects",controlType:"readonly"}],Hd={top:["auto"],right:["auto"],bottom:["auto"],left:["auto"],"z-index":["auto"],position:["static"],overflow:["visible"],"padding-top":["0px"],"padding-right":["0px"],"padding-bottom":["0px"],"padding-left":["0px"],"margin-top":["0px"],"margin-right":["0px"],"margin-bottom":["0px"],"margin-left":["0px"],"min-width":["0px"],"min-height":["0px"],"max-width":["none"],"max-height":["none"],"border-top-width":["0px"],"border-right-width":["0px"],"border-bottom-width":["0px"],"border-left-width":["0px"],"box-shadow":["none"],transform:["none"],"align-self":["auto"]},Vd=new Set(["color","font-family","font-size","font-weight","line-height","letter-spacing","text-align","text-transform","white-space","text-decoration"]),Nd=new Set(["flex-direction","flex-wrap","justify-content","align-items","gap","row-gap","column-gap"]);function Dd(i,s){const f=Hd[i];return f?f.some(o=>s===o||s.startsWith(o)):!1}const Ud={display:"block","font-family":"sans-serif","font-size":"16px","font-weight":"400","line-height":"normal","letter-spacing":"normal","text-align":"left","text-decoration":"none","text-transform":"none",color:"rgb(0, 0, 0)","background-color":"transparent","border-color":"rgb(0, 0, 0)","border-top-left-radius":"0px","border-top-right-radius":"0px","border-bottom-right-radius":"0px","border-bottom-left-radius":"0px",opacity:"1","padding-top":"0px","padding-right":"0px","padding-bottom":"0px","padding-left":"0px","margin-top":"0px","margin-right":"0px","margin-bottom":"0px","margin-left":"0px"};function Zd(i){return Ud[i]||""}function fu(i,s){let f,o,d,m;return s==="border-width"?(f=i["border-top-width"]||"0px",o=i["border-right-width"]||"0px",d=i["border-bottom-width"]||"0px",m=i["border-left-width"]||"0px"):s==="border-radius"?(f=i["border-top-left-radius"]||"0px",o=i["border-top-right-radius"]||"0px",d=i["border-bottom-right-radius"]||"0px",m=i["border-bottom-left-radius"]||"0px"):(f=i[`${s}-top`]||"0px",o=i[`${s}-right`]||"0px",d=i[`${s}-bottom`]||"0px",m=i[`${s}-left`]||"0px"),f===o&&o===d&&d===m?f:null}function h2(i,s){const f=i[`${s}-top`]||"0px",o=i[`${s}-right`]||"0px",d=i[`${s}-bottom`]||"0px",m=i[`${s}-left`]||"0px";return f===d&&m===o?{x:m,y:f}:null}const Bd={backgroundColor:"background-color",textColor:"color",borderColor:"border-color",ringColor:"outline-color",outlineColor:"outline-color",paddingTop:"padding-top",paddingRight:"padding-right",paddingBottom:"padding-bottom",paddingLeft:"padding-left",marginTop:"margin-top",marginRight:"margin-right",marginBottom:"margin-bottom",marginLeft:"margin-left",padding:["padding-top","padding-right","padding-bottom","padding-left"],paddingX:["padding-left","padding-right"],paddingY:["padding-top","padding-bottom"],margin:["margin-top","margin-right","margin-bottom","margin-left"],marginX:["margin-left","margin-right"],marginY:["margin-top","margin-bottom"],gap:"gap",gapX:"column-gap",gapY:"row-gap",borderRadius:["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],borderWidth:["border-top-width","border-right-width","border-bottom-width","border-left-width"],fontSize:"font-size",fontWeight:"font-weight",lineHeight:"line-height",letterSpacing:"letter-spacing",fontFamily:"font-family",textAlign:"text-align",textTransform:"text-transform",textDecoration:"text-decoration",display:"display",position:"position",flexDirection:"flex-direction",flexWrap:"flex-wrap",alignItems:"align-items",justifyContent:"justify-content",alignSelf:"align-self",overflow:"overflow",width:"width",height:"height",minWidth:"min-width",minHeight:"min-height",maxWidth:"max-width",maxHeight:"max-height"},p2=new Set(["h1","h2","h3","h4","h5","h6","p","span","a","label","strong","em","b","i","small","blockquote","li","dt","dd","figcaption","caption","th","td","legend","summary"]),Yd=new Set(["div","section","article","aside","nav","header","footer","main","form","fieldset","figure","details","dialog","ul","ol"]),qd=new Set(["font-size","font-weight","line-height","letter-spacing","text-align","color"]),m2=new Set(["padding-top","padding-right","padding-bottom","padding-left","margin-top","margin-bottom","width","height","background-color"]);function Xd(i,s){return!!(p2.has(i)&&qd.has(s)||Yd.has(i)&&m2.has(s)||p2.has(i)&&m2.has(s))}function Gd(i,s,f,o,d){const m={layout:[],spacing:[],size:[],typography:[],color:[],border:[],effects:[]},h=q2(s||""),S=new Map,x=[...h.color,...h.spacing,...h.shape,...h.typography,...h.layout,...h.size,...h.other];for(const y of x){const z=Bd[y.property];if(z)if(Array.isArray(z))for(const M of z)S.has(M)||S.set(M,y);else S.has(z)||S.set(z,y)}for(const y of Ad){const z=Nd.has(y.property),M=S.get(y.property),V=f[y.property]||"",k=!V||Dd(y.property,V),R=Vd.has(y.property)&&!!o[y.property]&&o[y.property]===V,Z=V?Od(y.property,V,d):null,B=y.category==="size",G=S.get("display"),D=G&&(G.value.includes("flex")||G.value.includes("grid")),W=y.category==="layout";let te;if(M)te={cssProperty:y.property,label:y.label,category:y.category,controlType:y.controlType,source:"class",tailwindValue:M.value,fullClass:M.fullClass,computedValue:V,inherited:R,tokenMatch:Z,hasValue:!0,flexGridOnly:z};else{if(B)continue;if(W&&!y.alwaysShow)if(D&&z)te={cssProperty:y.property,label:y.label,category:y.category,controlType:y.controlType,source:"none",tailwindValue:null,fullClass:null,computedValue:V,inherited:!1,tokenMatch:null,hasValue:!1,flexGridOnly:!0};else continue;else if(y.alwaysShow){const ie=V||Zd(y.property),pe=ie?nt(y.property,ie):null,K=ie==="0px"||ie==="0"||ie==="0%";te={cssProperty:y.property,label:y.label,category:y.category,controlType:y.controlType,source:V?"computed":"none",tailwindValue:pe!=null&&pe.exact&&!K?pe.tailwindClass:null,fullClass:null,computedValue:ie,inherited:R,tokenMatch:Z,hasValue:!0,flexGridOnly:z}}else if(k)if(Xd(i,y.property))te={cssProperty:y.property,label:y.label,category:y.category,controlType:y.controlType,source:"none",tailwindValue:null,fullClass:null,computedValue:V,inherited:!1,tokenMatch:null,hasValue:!1,flexGridOnly:z};else continue;else{if(!V)continue;const ie=nt(y.property,V);te={cssProperty:y.property,label:y.label,category:y.category,controlType:y.controlType,source:"computed",tailwindValue:ie!=null&&ie.exact?ie.tailwindClass:null,fullClass:null,computedValue:V,inherited:R,tokenMatch:Z,hasValue:!0,flexGridOnly:z}}}m[y.category].push(te)}return m}function $d({tag:i,className:s,computedStyles:f,parentComputedStyles:o,tokenGroups:d,onPreviewInlineStyle:m,onRevertInlineStyles:h,onCommitClass:S}){const x=Gd(i,s,f,o,d),z=[{key:"layout",label:"Layout"},{key:"size",label:"Size"},{key:"spacing",label:"Spacing"},{key:"typography",label:"Typography"},{key:"color",label:"Color"},{key:"border",label:"Border"},{key:"effects",label:"Effects"}].filter(V=>x[V.key].length>0);if(z.length===0)return r.jsx("div",{className:"text-[11px] px-4 py-3",style:{color:"var(--studio-text-dimmed)"},children:"No styles to display"});const M=f.display||"block";return r.jsx("div",{children:z.map(V=>r.jsx(Qd,{category:V.key,label:V.label,properties:x[V.key],computedStyles:f,tokenGroups:d,displayValue:M,onPreviewInlineStyle:m,onRevertInlineStyles:h,onCommitClass:S},V.key))})}function Qd({category:i,label:s,properties:f,computedStyles:o,tokenGroups:d,displayValue:m,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}){const[y,z]=p.useState(!0),M=f.filter(R=>R.hasValue),V=f.filter(R=>!R.hasValue),k=M.length;return r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("button",{onClick:()=>z(!y),className:"studio-section-hdr",children:[y?r.jsx(Ba,{}):r.jsx(nl,{}),s,k>0&&r.jsx("span",{className:"count",children:k})]}),!y&&r.jsxs("div",{className:"flex flex-col gap-1.5 pb-2 px-4",children:[i==="layout"?r.jsx(Wd,{properties:f,displayValue:m,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}):i==="spacing"?r.jsx(Pd,{properties:f,computedStyles:o,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}):i==="border"?r.jsx(n7,{properties:f,computedStyles:o,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}):i==="size"?r.jsx(Fd,{properties:f,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}):i==="typography"?r.jsx(a7,{properties:f,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x}):M.map(R=>r.jsx(Vt,{prop:R,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x},R.cssProperty)),!["layout","spacing","border","size","typography"].includes(i)&&V.length>0&&r.jsx(hu,{properties:V,tokenGroups:d,onPreviewInlineStyle:h,onRevertInlineStyles:S,onCommitClass:x})]})]})}const Kd=[{value:"flex",icon:V2,label:"Flex",tooltip:"Flex — arrange children in a row or column"},{value:"grid",icon:R2,label:"Grid",tooltip:"Grid — arrange children in a 2D grid"},{value:"block",icon:E2,label:"Block",tooltip:"Block — stack vertically, full width"},{value:"none",icon:o5,label:"None",tooltip:"Hidden — remove from layout"}],Jd=[{value:"flex-start",icon:j2,label:"Start",tooltip:"Start — align to start of cross axis"},{value:"center",icon:b2,label:"Center",tooltip:"Center — center on cross axis"},{value:"flex-end",icon:x2,label:"End",tooltip:"End — align to end of cross axis"},{value:"stretch",icon:X5,label:"Stretch",tooltip:"Stretch — fill cross axis"}],kd=[{value:"flex-start",icon:S2,label:"Start",tooltip:"Start — pack to start of main axis"},{value:"center",icon:C2,label:"Center",tooltip:"Center — center on main axis"},{value:"flex-end",icon:w2,label:"End",tooltip:"End — pack to end of main axis"},{value:"space-between",icon:N2,label:"Between",tooltip:"Between — equal space between items"}];function Wd({properties:i,displayValue:s,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m}){const h=i.find(R=>R.cssProperty==="display"),S=i.find(R=>R.cssProperty==="align-items"),x=i.find(R=>R.cssProperty==="justify-content"),y=i.filter(R=>!["display","align-items","justify-content"].includes(R.cssProperty)&&R.hasValue&&!R.flexGridOnly),z=i.filter(R=>!["display","align-items","justify-content"].includes(R.cssProperty)&&R.hasValue&&R.flexGridOnly),M=i.filter(R=>!["display","align-items","justify-content"].includes(R.cssProperty)&&!R.hasValue&&R.flexGridOnly),V=s.includes("flex")||s.includes("grid"),k=(R,Z)=>{o(R,Z);const B=nt(R,Z);if(B){const G=i.find(W=>W.cssProperty===R),D=(G==null?void 0:G.fullClass)||void 0;m(B.tailwindClass,D)}};return r.jsxs(r.Fragment,{children:[h&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Display",inherited:h.inherited}),r.jsx(Za,{options:Kd,value:h.computedValue,onChange:R=>k("display",R)})]}),V&&S&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Align Items",inherited:S.inherited}),r.jsx(Za,{options:Jd,value:S.computedValue,onChange:R=>k("align-items",R)})]}),V&&x&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Justify",inherited:x.inherited}),r.jsx(Za,{options:kd,value:x.computedValue,onChange:R=>k("justify-content",R)})]}),V&&z.map(R=>r.jsx(Vt,{prop:R,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m},R.cssProperty)),V&&M.length>0&&r.jsx(hu,{properties:M,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m}),y.map(R=>r.jsx(Vt,{prop:R,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m},R.cssProperty))]})}function Fd({properties:i,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d}){const m=i.filter(y=>y.hasValue),h=m.find(y=>y.cssProperty==="width"),S=m.find(y=>y.cssProperty==="height"),x=m.filter(y=>y.cssProperty!=="width"&&y.cssProperty!=="height");return r.jsxs(r.Fragment,{children:[(h||S)&&r.jsxs("div",{className:"grid grid-cols-2 gap-1.5",children:[h&&r.jsx(Vt,{prop:h,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d}),S&&r.jsx(Vt,{prop:S,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d})]}),x.map(y=>r.jsx(Vt,{prop:y,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d},y.cssProperty))]})}function Pd({properties:i,computedStyles:s,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m}){var pe,K,me,le;const[h,S]=p.useState(!1),[x,y]=p.useState(!1),z=i.filter(U=>U.hasValue),M=z.filter(U=>U.cssProperty.startsWith("padding-")),V=z.filter(U=>U.cssProperty.startsWith("margin-")),k=i.filter(U=>!U.hasValue),R=fu(s,"padding"),Z=fu(s,"margin"),B=R?null:h2(s,"padding"),G=Z?null:h2(s,"margin"),D=U=>{const q=U.computedValue;return!U.tailwindValue&&(q==="0px"||q==="0")?"—":q},W=R?null:B?`${B.y} ${B.x}`:M.length>0?M.map(D).join(" "):null,te=Z?null:G?`${G.y} ${G.x}`:V.length>0?V.map(D).join(" "):null,ie=U=>i.find(q=>q.cssProperty===U);return r.jsxs(r.Fragment,{children:[M.length>0&&r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx(du,{label:"Padding"}),r.jsx("button",{onClick:()=>S(!h),style:{background:"none",border:"none",cursor:"pointer",color:"var(--studio-text-dimmed)",padding:"2px",display:"flex",alignItems:"center"},title:h?"Collapse to shorthand":"Expand individual sides",children:r.jsx(o2,{style:{width:12,height:12,opacity:h?1:.5}})})]}),h?r.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:["padding-top","padding-right","padding-bottom","padding-left"].map(U=>{const q=ie(U),Ae=U.replace("padding-","")[0].toUpperCase(),Ie=`p${U.replace("padding-","")[0]}`;return r.jsx(at,{label:Ae,value:(q==null?void 0:q.tailwindValue)||(q==null?void 0:q.computedValue)||"0",computedValue:(q==null?void 0:q.computedValue)||"0",currentClass:(q==null?void 0:q.fullClass)||null,scale:Oe,prefix:Ie,cssProp:U,onPreview:oe=>o(U,oe),onCommitClass:m,onCommitValue:oe=>{const He=nt(U,oe);He&&m(He.tailwindClass)}},U)})}):R?r.jsx(at,{icon:Ol,value:((pe=M[0])==null?void 0:pe.tailwindValue)||(R==="0px"||R==="0"?"—":R),computedValue:R||"0",currentClass:((K=M[0])==null?void 0:K.fullClass)||null,scale:Oe,prefix:"p",cssProp:"padding",onPreview:U=>o("padding",U),onCommitClass:m,onCommitValue:U=>{const q=iu("padding",U);q&&m(q.tailwindClass)}}):B?r.jsxs("div",{className:"grid grid-cols-2 gap-1.5",children:[r.jsx(at,{icon:Ol,label:"X",value:B.x,computedValue:B.x,currentClass:null,scale:Oe,prefix:"px",cssProp:"padding-left",onPreview:U=>{o("padding-left",U),o("padding-right",U)},onCommitClass:m,onCommitValue:U=>{const{xClass:q}=cu("padding",U,B.y);q&&m(q.tailwindClass)}}),r.jsx(at,{icon:Ol,label:"Y",value:B.y,computedValue:B.y,currentClass:null,scale:Oe,prefix:"py",cssProp:"padding-top",onPreview:U=>{o("padding-top",U),o("padding-bottom",U)},onCommitClass:m,onCommitValue:U=>{const{yClass:q}=cu("padding",B.x,U);q&&m(q.tailwindClass)}})]}):r.jsx(su,{icon:Ol,value:W||"mixed",cssProp:"padding",onPreview:U=>o("padding",U),onCommit:U=>{const q=iu("padding",U);q&&m(q.tailwindClass)}})]}),V.length>0&&r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx(du,{label:"Margin"}),r.jsx("button",{onClick:()=>y(!x),style:{background:"none",border:"none",cursor:"pointer",color:"var(--studio-text-dimmed)",padding:"2px",display:"flex",alignItems:"center"},title:x?"Collapse to shorthand":"Expand individual sides",children:r.jsx(o2,{style:{width:12,height:12,opacity:x?1:.5}})})]}),x?r.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:["margin-top","margin-right","margin-bottom","margin-left"].map(U=>{const q=ie(U),Ae=U.replace("margin-","")[0].toUpperCase(),Ie=`m${U.replace("margin-","")[0]}`;return r.jsx(at,{label:Ae,value:(q==null?void 0:q.tailwindValue)||(q==null?void 0:q.computedValue)||"0",computedValue:(q==null?void 0:q.computedValue)||"0",currentClass:(q==null?void 0:q.fullClass)||null,scale:Oe,prefix:Ie,cssProp:U,onPreview:oe=>o(U,oe),onCommitClass:m,onCommitValue:oe=>{const He=nt(U,oe);He&&m(He.tailwindClass)}},U)})}):Z?r.jsx(at,{icon:_l,value:((me=V[0])==null?void 0:me.tailwindValue)||(Z==="0px"||Z==="0"?"—":Z),computedValue:Z||"0",currentClass:((le=V[0])==null?void 0:le.fullClass)||null,scale:Oe,prefix:"m",cssProp:"margin",onPreview:U=>o("margin",U),onCommitClass:m,onCommitValue:U=>{const q=iu("margin",U);q&&m(q.tailwindClass)}}):G?r.jsxs("div",{className:"grid grid-cols-2 gap-1.5",children:[r.jsx(at,{icon:_l,label:"X",value:G.x,computedValue:G.x,currentClass:null,scale:Oe,prefix:"mx",cssProp:"margin-left",onPreview:U=>{o("margin-left",U),o("margin-right",U)},onCommitClass:m,onCommitValue:U=>{const{xClass:q}=cu("margin",U,G.y);q&&m(q.tailwindClass)}}),r.jsx(at,{icon:_l,label:"Y",value:G.y,computedValue:G.y,currentClass:null,scale:Oe,prefix:"my",cssProp:"margin-top",onPreview:U=>{o("margin-top",U),o("margin-bottom",U)},onCommitClass:m,onCommitValue:U=>{const{yClass:q}=cu("margin",G.x,U);q&&m(q.tailwindClass)}})]}):r.jsx(su,{icon:_l,value:te||"mixed",cssProp:"margin",onPreview:U=>o("margin",U),onCommit:U=>{const q=iu("margin",U);q&&m(q.tailwindClass)}})]}),k.length>0&&r.jsx(hu,{properties:k,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m})]})}const Id=[{value:"left",icon:D2,label:"Left",tooltip:"Left — align text to left"},{value:"center",icon:k5,label:"Center",tooltip:"Center — center text"},{value:"right",icon:ed,label:"Right",tooltip:"Right — align text to right"},{value:"justify",icon:F5,label:"Justify",tooltip:"Justify — stretch to fill width"}],e7=[{value:"none",icon:U2,label:"None",tooltip:"None — no decoration"},{value:"underline",icon:Z2,label:"Underline",tooltip:"Underline — line below text"},{value:"line-through",icon:$5,label:"Strikethrough",tooltip:"Strikethrough — line through text"}],t7=[{value:"none",icon:U2,label:"None",tooltip:"None — no transform"},{value:"uppercase",icon:_2,label:"Uppercase",tooltip:"Uppercase — ALL CAPS"},{value:"lowercase",icon:C5,label:"Lowercase",tooltip:"Lowercase — all lowercase"},{value:"capitalize",icon:v5,label:"Capitalize",tooltip:"Capitalize — First Letter"}],l7=["sans","serif","mono"];function a7({properties:i,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d}){const m=D=>i.find(W=>W.cssProperty===D),h=m("font-family"),S=m("font-size"),x=m("font-weight"),y=m("line-height"),z=m("letter-spacing"),M=m("text-align"),V=m("text-decoration"),k=m("text-transform"),R=(D,W)=>{f(D,W);const te=nt(D,W);if(te){const ie=m(D),pe=(ie==null?void 0:ie.fullClass)||void 0;d(te.tailwindClass,pe)}},Z=["font-family","font-size","font-weight","line-height","letter-spacing","text-align","text-decoration","text-transform"],B=i.filter(D=>D.hasValue&&!Z.includes(D.cssProperty)),G=i.filter(D=>!D.hasValue&&!Z.includes(D.cssProperty));return r.jsxs(r.Fragment,{children:[h&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Font Family",inherited:h.inherited}),r.jsx(at,{icon:z2,value:h.tailwindValue||h.computedValue,computedValue:h.computedValue,currentClass:h.fullClass,scale:l7,prefix:"font",cssProp:"font-family",onPreview:D=>f("font-family",D),onCommitClass:d,onCommitValue:D=>{const W=nt("font-family",D);W&&d(W.tailwindClass)}})]}),(S||x)&&r.jsxs("div",{className:"grid grid-cols-2 gap-1.5",children:[S&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Size",inherited:S.inherited}),r.jsx(at,{icon:L2,value:S.tailwindValue||S.computedValue,computedValue:S.computedValue,currentClass:S.fullClass,scale:Kc,prefix:"text",cssProp:"font-size",onPreview:D=>f("font-size",D),onCommitClass:d,onCommitValue:D=>{const W=nt("font-size",D);W&&d(W.tailwindClass)}})]}),x&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Weight",inherited:x.inherited}),r.jsx(at,{icon:M2,value:x.tailwindValue||x.computedValue,computedValue:x.computedValue,currentClass:x.fullClass,scale:Jc,prefix:"font",cssProp:"font-weight",onPreview:D=>f("font-weight",D),onCommitClass:d,onCommitValue:D=>{const W=nt("font-weight",D);W&&d(W.tailwindClass)}})]})]}),(y||z)&&r.jsxs("div",{className:"grid grid-cols-2 gap-1.5",children:[y&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Leading",inherited:y.inherited}),r.jsx(at,{icon:A2,value:y.tailwindValue||y.computedValue,computedValue:y.computedValue,currentClass:y.fullClass,scale:Q2,prefix:"leading",cssProp:"line-height",onPreview:D=>f("line-height",D),onCommitClass:d,onCommitValue:D=>{const W=nt("line-height",D);W&&d(W.tailwindClass)}})]}),z&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Tracking",inherited:z.inherited}),r.jsx(at,{icon:O2,value:z.tailwindValue||z.computedValue,computedValue:z.computedValue,currentClass:z.fullClass,scale:K2,prefix:"tracking",cssProp:"letter-spacing",onPreview:D=>f("letter-spacing",D),onCommitClass:d,onCommitValue:D=>{const W=nt("letter-spacing",D);W&&d(W.tailwindClass)}})]})]}),M&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Text Align",inherited:M.inherited}),r.jsx(Za,{options:Id,value:M.computedValue,onChange:D=>R("text-align",D)})]}),V&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Decoration",inherited:V.inherited}),r.jsx(Za,{options:e7,value:V.computedValue,onChange:D=>R("text-decoration",D)})]}),k&&r.jsxs("div",{children:[r.jsx(Ke,{label:"Transform",inherited:k.inherited}),r.jsx(Za,{options:t7,value:k.computedValue,onChange:D=>R("text-transform",D)})]}),B.map(D=>r.jsx(Vt,{prop:D,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d},D.cssProperty)),G.length>0&&r.jsx(hu,{properties:G,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d})]})}function n7({properties:i,computedStyles:s,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m}){var V,k;const h=i.filter(R=>R.hasValue),S=h.filter(R=>R.cssProperty.includes("radius")),x=h.filter(R=>R.cssProperty.includes("width")),y=h.filter(R=>!R.cssProperty.includes("radius")&&!R.cssProperty.includes("width")),z=fu(s,"border-radius"),M=fu(s,"border-width");return r.jsxs(r.Fragment,{children:[S.length>0&&r.jsxs(r.Fragment,{children:[r.jsx(du,{label:"Radius"}),z?r.jsx(at,{icon:a5,value:((V=S[0])==null?void 0:V.tailwindValue)||z,computedValue:z||"0",currentClass:((k=S[0])==null?void 0:k.fullClass)||null,scale:$2,prefix:"rounded",cssProp:"border-radius",onPreview:R=>o("border-radius",R),onCommitClass:m,onCommitValue:R=>{const Z=Rd(R);Z&&m(Z.tailwindClass)}}):r.jsx("div",{className:"grid grid-cols-2 gap-1.5",children:S.map(R=>r.jsx(Vt,{prop:R,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m},R.cssProperty))})]}),x.length>0&&r.jsxs(r.Fragment,{children:[r.jsx(du,{label:"Width"}),M?r.jsx(su,{icon:Dn,value:M,cssProp:"border-width",onPreview:R=>o("border-width",R),onCommit:R=>{const Z=nt("border-width",R);Z&&m(Z.tailwindClass)}}):x.map(R=>r.jsx(Vt,{prop:R,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m},R.cssProperty))]}),y.map(R=>r.jsx(Vt,{prop:R,tokenGroups:f,onPreviewInlineStyle:o,onRevertInlineStyles:d,onCommitClass:m},R.cssProperty))]})}function hu({properties:i,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d}){const[m,h]=p.useState(new Set);return r.jsx(r.Fragment,{children:i.map(S=>m.has(S.cssProperty)?r.jsx(Vt,{prop:{...S,hasValue:!0},tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d},S.cssProperty):r.jsxs("button",{onClick:()=>h(x=>new Set(x).add(S.cssProperty)),className:"studio-addable-row",title:`Add ${S.label}`,children:[r.jsx("span",{className:"studio-addable-label",children:S.label}),r.jsx(A5,{style:{width:12,height:12,flexShrink:0}})]},S.cssProperty))})}const u7={"font-size":{scale:Kc,prefix:"text"},"font-weight":{scale:Jc,prefix:"font"},"line-height":{scale:Q2,prefix:"leading"},"letter-spacing":{scale:K2,prefix:"tracking"},gap:{scale:Oe,prefix:"gap"},"row-gap":{scale:Oe,prefix:"gap-y"},"column-gap":{scale:Oe,prefix:"gap-x"},"padding-top":{scale:Oe,prefix:"pt"},"padding-right":{scale:Oe,prefix:"pr"},"padding-bottom":{scale:Oe,prefix:"pb"},"padding-left":{scale:Oe,prefix:"pl"},"margin-top":{scale:Oe,prefix:"mt"},"margin-right":{scale:Oe,prefix:"mr"},"margin-bottom":{scale:Oe,prefix:"mb"},"margin-left":{scale:Oe,prefix:"ml"},width:{scale:Oe,prefix:"w"},height:{scale:Oe,prefix:"h"}};function Vt({prop:i,tokenGroups:s,onPreviewInlineStyle:f,onRevertInlineStyles:o,onCommitClass:d}){if(i.controlType==="color")return r.jsx(o7,{prop:i,tokenGroups:s,onPreviewInlineStyle:f,onCommitClass:d});if(i.controlType==="readonly"){const h=Xc(i.cssProperty);return r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsxs("div",{className:"studio-scrub-input",children:[h&&r.jsx("div",{className:"studio-scrub-icon",title:i.cssProperty,children:r.jsx(h,{style:{width:12,height:12}})}),r.jsx("div",{className:"studio-scrub-value",style:{color:"var(--studio-text)",cursor:"default"},title:i.computedValue,children:i.computedValue})]})]})}if(i.tokenMatch)return r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsx(c7,{prop:i,onPreviewInlineStyle:f,onCommitClass:d})]});if(i.cssProperty==="opacity")return r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsx(i7,{value:i.computedValue,onPreview:h=>f("opacity",h),onCommitClass:d})]});const m=u7[i.cssProperty];if(m){const S=!i.tailwindValue&&(i.computedValue==="0px"||i.computedValue==="0")?"—":i.tailwindValue||i.computedValue;return r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsx(at,{icon:Xc(i.cssProperty),value:S,computedValue:i.computedValue,currentClass:i.fullClass,scale:m.scale,prefix:m.prefix,cssProp:i.cssProperty,onPreview:x=>f(i.cssProperty,x),onCommitClass:d,onCommitValue:x=>{const y=nt(i.cssProperty,x);y&&d(y.tailwindClass)}})]})}return i.controlType==="keyword"?r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsx(r7,{prop:i,onPreviewInlineStyle:f,onCommitClass:d})]}):r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsx(su,{icon:Xc(i.cssProperty),value:i.computedValue,cssProp:i.cssProperty,onPreview:h=>f(i.cssProperty,h),onCommit:h=>{const S=nt(i.cssProperty,h);S&&d(S.tailwindClass)}})]})}function at({icon:i,label:s,value:f,computedValue:o,currentClass:d,scale:m,prefix:h,cssProp:S,onPreview:x,onCommitClass:y,onCommitValue:z}){const M=f.startsWith(h+"-")?f.slice(h.length+1):f,V=m.includes(M),k=M==="—"||M==="",[R,Z]=p.useState(!V&&!k&&M!=="0"&&M!=="0px"),[B,G]=p.useState(R?o:M),[D,W]=p.useState(!1),te=p.useRef(d);p.useEffect(()=>{te.current=d},[d]);const ie=p.useRef(M);p.useEffect(()=>{D||G(R?o:M),ie.current!==M&&(ie.current=M,m.includes(M)&&Z(!1))},[M,o,D,m,R]);const pe=()=>te.current||d||void 0,K=le=>{if(le==="__custom__"){Z(!0),G(o);return}const U=`${h}-${le}`,q=pe();y(U,q),te.current=U},me=le=>{const U=le.trim();if(!U)return;const q=pe();if(m.includes(U)){const Ie=`${h}-${U}`;y(Ie,q),te.current=Ie,Z(!1);return}const Ae=`${h}-[${U}]`;y(Ae,q),te.current=Ae};return r.jsxs("div",{className:"studio-scale-input",style:R?{borderLeft:"2px solid var(--studio-accent)"}:void 0,children:[i&&r.jsx("div",{className:"studio-scrub-icon",title:s||S,children:r.jsx(i,{style:{width:12,height:12}})}),!i&&s&&r.jsx("div",{className:"studio-scrub-label",title:S,children:s}),R?r.jsx("input",{type:"text",value:D?B:o,placeholder:"e.g. 16px",onChange:le=>{G(le.target.value),x&&x(le.target.value)},onFocus:()=>{G(o),W(!0)},onBlur:()=>{W(!1);const le=B.trim();le&&le!==o&&(z?z(le):me(le))},onKeyDown:le=>{le.key==="Enter"&&le.target.blur(),le.key==="Escape"&&(G(o),W(!1))},style:{flex:1,minWidth:0,background:"transparent",border:"none",color:"var(--studio-text)",fontFamily:'"SF Mono", "Fira Code", "Cascadia Code", monospace',fontSize:"11px",padding:"6px 8px",outline:"none"}}):r.jsxs("select",{value:V?M:"__custom__",onChange:le=>K(le.target.value),style:{flex:1,minWidth:0,background:"transparent",border:"none",color:"var(--studio-text)",fontFamily:'"SF Mono", "Fira Code", "Cascadia Code", monospace',fontSize:"11px",padding:"6px 8px",outline:"none",cursor:"pointer",WebkitAppearance:"none"},children:[!V&&r.jsx("option",{value:"__custom__",children:M||"—"}),m.map(le=>r.jsx("option",{value:le,children:le},le))]}),r.jsx("button",{onClick:()=>{Z(!R),R||G(o)},className:"studio-scale-toggle",title:R?"Custom CSS value — click for token scale":"Token scale — click for custom CSS",style:{fontSize:9,fontWeight:600,letterSpacing:"0.02em",fontFamily:'"SF Mono", "Fira Code", monospace'},children:R?"CSS":"Token"})]})}function su({icon:i,label:s,value:f,cssProp:o,onPreview:d,onCommit:m}){const[h,S]=p.useState(f),[x,y]=p.useState(!1),z=p.useRef(null),M=p.useRef(null);p.useEffect(()=>{x||S(f)},[f,x]);const V=x?h:f,k=B=>{const G=B.match(/^(-?[\d.]+)\s*(px|rem|em|%|vh|vw|pt)?$/);if(G)return{num:parseFloat(G[1]),unit:G[2]||"px"};const D=parseFloat(B);return isNaN(D)?null:{num:D,unit:""}},R=B=>B==="rem"||B==="em"?.0625:1,Z=B=>{const G=k(V);if(!G)return;B.preventDefault(),z.current={startX:B.clientX,startVal:G.num};const D=te=>{if(!z.current)return;const ie=k(V);if(!ie)return;const pe=R(ie.unit),K=te.shiftKey?10:1,me=Math.round((te.clientX-z.current.startX)/2),le=z.current.startVal+me*pe*K,U=ie.unit?`${parseFloat(le.toFixed(4))}${ie.unit}`:`${Math.round(le)}`;S(U),d(U)},W=()=>{document.removeEventListener("pointermove",D),document.removeEventListener("pointerup",W),z.current&&(m(h),z.current=null)};document.addEventListener("pointermove",D),document.addEventListener("pointerup",W)};return r.jsxs("div",{className:"studio-scrub-input",children:[i&&r.jsx("div",{className:"studio-scrub-icon",onPointerDown:Z,title:s||o,children:r.jsx(i,{style:{width:12,height:12}})}),!i&&s&&r.jsx("div",{className:"studio-scrub-label",onPointerDown:Z,title:o,children:s}),r.jsx("input",{ref:M,type:"text",value:V,placeholder:o,onChange:B=>{S(B.target.value),d(B.target.value)},onFocus:()=>{S(f),y(!0)},onBlur:()=>{y(!1);const B=h.trim();B&&B!==f&&m(B)},onKeyDown:B=>{B.key==="Enter"&&B.target.blur(),B.key==="Escape"&&(S(f),y(!1))},className:"studio-scrub-value"})]})}function i7({value:i,onPreview:s,onCommitClass:f}){const o=S=>{const x=parseFloat(S);return isNaN(x)?100:x<=1&&S!=="100"?Math.round(x*100):Math.round(x)},[d,m]=p.useState(()=>o(i));p.useEffect(()=>{m(o(i))},[i]);const h=S=>{const x=yd.reduce((y,z)=>Math.abs(parseInt(z)-S)<Math.abs(parseInt(y)-S)?z:y);f(`opacity-${x}`)};return r.jsxs("div",{className:"studio-scrub-input",style:{gap:6},children:[r.jsx("div",{className:"studio-scrub-icon",title:"Opacity",children:r.jsx(H2,{style:{width:12,height:12}})}),r.jsx("input",{type:"range",min:0,max:100,step:5,value:d,onChange:S=>{const x=parseInt(S.target.value);m(x),s(`${x/100}`)},onMouseUp:()=>h(d),onKeyUp:S=>{(S.key==="ArrowLeft"||S.key==="ArrowRight")&&h(d)},style:{flex:1,accentColor:"var(--studio-accent)",cursor:"pointer",height:14}}),r.jsxs("span",{className:"studio-scrub-value",style:{width:32,textAlign:"right",fontSize:11,fontFamily:'"SF Mono", "Fira Code", "Cascadia Code", monospace',color:"var(--studio-text)",flexShrink:0},children:[d,"%"]})]})}function Xc(i){return{width:ou,height:Zc,"min-width":ou,"min-height":Zc,"max-width":ou,"max-height":Zc,"padding-top":Ol,"padding-right":Ol,"padding-bottom":Ol,"padding-left":Ol,"margin-top":_l,"margin-right":_l,"margin-bottom":_l,"margin-left":_l,gap:r2,"row-gap":V5,"column-gap":r2,"font-family":z2,"font-size":L2,"font-weight":M2,"line-height":A2,"letter-spacing":O2,"text-align":D2,"text-decoration":Z2,"text-transform":_2,"border-top-width":Dn,"border-right-width":Dn,"border-bottom-width":Dn,"border-left-width":Dn,"border-top-left-radius":I3,"border-top-right-radius":t5,"border-bottom-left-radius":k3,"border-bottom-right-radius":F3,opacity:H2,"box-shadow":U5,"z-index":m5,top:lu,right:lu,bottom:lu,left:lu}[i]}function Ke({label:i,inherited:s}){return r.jsxs("div",{className:"text-[11px] font-medium mb-0.5",style:{color:"var(--studio-text-dimmed)",letterSpacing:"0.03em",opacity:s?.6:1},children:[i,s&&r.jsx("span",{className:"ml-1 text-[10px] italic",style:{color:"var(--studio-text-dimmed)"},children:"inherited"})]})}function du({label:i}){return r.jsx("div",{className:"text-[11px] font-medium uppercase tracking-wider mt-1 mb-0.5",style:{color:"var(--studio-text-dimmed)"},children:i})}function Za({options:i,value:s,onChange:f}){const[o,d]=p.useState(s);return p.useEffect(()=>{d(s)},[s]),r.jsx("div",{className:"studio-segmented",style:{width:"100%"},children:i.map(m=>r.jsx("button",{onClick:()=>{d(m.value),f(m.value)},className:o===m.value?"active":"",title:m.tooltip||m.label||m.value,style:{flex:1,cursor:"pointer"},children:m.icon?r.jsx(m.icon,{style:{width:14,height:14}}):r.jsx("span",{style:{fontSize:10},children:m.label||m.value})},m.value))})}function c7({prop:i,onPreviewInlineStyle:s,onCommitClass:f}){const o=i.tokenMatch,d=f7[i.cssProperty]||"";return r.jsxs("div",{className:"flex items-center gap-1",children:[r.jsx("div",{className:"shrink-0 w-1.5 h-4 rounded-sm",style:{background:"var(--studio-accent)"},title:"Design token"}),r.jsx("select",{value:o.tokenName,onChange:m=>{const h=m.target.value,S=o.groupTokens.find(x=>x.name===h);S&&s(i.cssProperty,S.value),d&&f(`${d}-${h}`)},className:"studio-select w-full",style:{cursor:"pointer"},children:o.groupTokens.map(m=>r.jsxs("option",{value:m.name,children:[m.name," (",m.value,")"]},m.name))})]})}function o7({prop:i,tokenGroups:s,onPreviewInlineStyle:f,onCommitClass:o}){const[d,m]=p.useState(!1),h=p.useRef(null),S=[],x={};for(const[,M]of Object.entries(s))for(const V of M)if(V.category==="color"){const k=V.name.replace(/^--/,"");S.includes(k)||S.push(k),x[k]||(x[k]=V.lightValue||"")}const y=i.cssProperty==="color"?"text":i.cssProperty==="background-color"?"bg":"border",z=!!i.tokenMatch;return r.jsxs("div",{children:[r.jsx(Ke,{label:i.label,inherited:i.inherited}),r.jsxs("button",{ref:h,onClick:()=>m(!0),className:"studio-color-trigger",style:{cursor:"pointer"},children:[r.jsx("div",{className:"studio-swatch",style:{"--swatch-color":i.computedValue,...z?{boxShadow:"0 0 0 2px var(--studio-accent)"}:{}},title:z?"Design token":void 0}),r.jsx("span",{className:"flex-1 truncate text-left font-mono text-[11px]",children:z?i.tokenMatch.tokenName:i.tailwindValue||i.computedValue}),r.jsx(nl,{})]}),d&&r.jsx(Y2,{anchorRef:h,currentValue:z?i.tokenMatch.tokenName:"",availableTokens:S,tokenValues:x,onSelect:M=>{o(`${y}-${M}`),m(!1)},onClose:()=>m(!1)})]})}function r7({prop:i,onPreviewInlineStyle:s,onCommitClass:f}){const o=s7(i.cssProperty);return o.length===0?r.jsx("div",{className:"text-[11px] font-mono truncate",style:{color:"var(--studio-text)"},children:i.computedValue}):r.jsxs("select",{value:i.computedValue,onChange:d=>{s(i.cssProperty,d.target.value);const m=nt(i.cssProperty,d.target.value);m&&f(m.tailwindClass)},className:"studio-select w-full",style:{cursor:"pointer"},children:[!o.includes(i.computedValue)&&r.jsx("option",{value:i.computedValue,children:i.computedValue}),o.map(d=>r.jsx("option",{value:d,children:d},d))]})}const f7={"font-size":"text","font-weight":"font","font-family":"font","line-height":"leading","letter-spacing":"tracking","padding-top":"pt","padding-right":"pr","padding-bottom":"pb","padding-left":"pl","margin-top":"mt","margin-right":"mr","margin-bottom":"mb","margin-left":"ml",gap:"gap","row-gap":"gap-y","column-gap":"gap-x",width:"w",height:"h","border-top-left-radius":"rounded-tl","border-top-right-radius":"rounded-tr","border-bottom-right-radius":"rounded-br","border-bottom-left-radius":"rounded-bl",color:"text","background-color":"bg","border-color":"border"};function s7(i){switch(i){case"display":return["block","inline-block","inline","flex","inline-flex","grid","inline-grid","none"];case"position":return["static","relative","absolute","fixed","sticky"];case"flex-direction":return["row","row-reverse","column","column-reverse"];case"flex-wrap":return["nowrap","wrap","wrap-reverse"];case"justify-content":return["flex-start","flex-end","center","space-between","space-around","space-evenly"];case"align-items":return["flex-start","flex-end","center","baseline","stretch"];case"align-self":return["auto","flex-start","flex-end","center","stretch"];case"overflow":return["visible","hidden","scroll","auto"];case"text-align":return["left","center","right","justify"];case"text-transform":return["none","uppercase","lowercase","capitalize"];case"text-decoration":return["none","underline","overline","line-through"];case"white-space":return["normal","nowrap","pre","pre-wrap","pre-line"];default:return[]}}function d7({element:i,scanData:s,theme:f,iframePath:o,onPreviewToken:d,onPreviewInlineStyle:m,onRevertInlineStyles:h,onClose:S,onReselectElement:x}){var pe;const y=((pe=i.attributes)==null?void 0:pe["data-slot"])||null,z=!!y,M=s==null?void 0:s.components.components.find(K=>K.dataSlot===y),V=z?["token","component","instance"]:["token","instance"],[k,R]=p.useState("instance"),[Z,B]=p.useState(!1),G=p.useRef(Promise.resolve()),D=z?(M==null?void 0:M.name)||y:`<${i.tag}>`,W=p7(i.className,s),te=async K=>{const me=G.current.then(async()=>{B(!0);try{await K(),setTimeout(()=>x(),500)}catch(le){console.error("Write error:",le)}finally{setTimeout(()=>B(!1),1200)}});return G.current=me,me},ie={token:{icon:T5,label:"Token"},component:{icon:Gc,label:"Component"},instance:{icon:z?T2:c2,label:z?"Instance":"Element"}};return r.jsxs("div",{className:"flex flex-col border-l studio-scrollbar overflow-y-auto",style:{width:300,minWidth:300,background:"var(--studio-surface)",borderColor:"var(--studio-border)"},children:[r.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 border-b shrink-0",style:{borderColor:"var(--studio-border)"},children:[r.jsx("div",{className:"w-5 h-5 rounded flex items-center justify-center shrink-0",style:{background:"var(--studio-accent-muted)"},children:z?r.jsx(Gc,{style:{width:12,height:12,color:"var(--studio-accent)"}}):r.jsx(c2,{style:{width:12,height:12,color:"var(--studio-accent)"}})}),r.jsxs("div",{className:"flex-1 min-w-0",children:[r.jsxs("div",{className:"flex items-center gap-1.5",children:[r.jsx("span",{className:"text-[12px] font-semibold truncate",style:{color:"var(--studio-text)"},children:D}),Z&&r.jsxs("span",{className:"flex items-center gap-0.5 text-[10px]",style:{color:"var(--studio-success)"},children:[r.jsx(q3,{style:{width:10,height:10}}),"Saved"]})]}),i.source&&r.jsxs("div",{className:"text-[10px] font-mono truncate",style:{color:"var(--studio-text-dimmed)"},children:[i.source.file,":",i.source.line,":",i.source.col]})]}),r.jsx("button",{onClick:S,className:"studio-icon-btn",style:{width:24,height:24},children:r.jsx(u5,{})})]}),r.jsx("div",{className:"px-4 py-2.5 border-b shrink-0",style:{borderColor:"var(--studio-border)"},children:r.jsx("div",{className:"studio-segmented",style:{width:"100%"},children:V.map(K=>{const me=ie[K];return r.jsxs("button",{onClick:()=>R(K),className:k===K?"active":"",style:{flex:1},children:[r.jsx(me.icon,{style:{width:12,height:12}}),me.label]},K)})})}),r.jsxs("div",{className:"flex-1 overflow-y-auto studio-scrollbar",children:[k==="token"&&r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"studio-tab-explainer",children:[r.jsx(Bc,{}),r.jsx("span",{children:"Edit design tokens. Changes propagate across the entire system."})]}),r.jsx(dd,{tokenRefs:W,scanData:s,theme:f,onPreviewToken:d})]}),k==="component"&&M&&r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"studio-tab-explainer",children:[r.jsx(Bc,{}),r.jsxs("div",{children:["Edit the component definition. Changes apply to all instances.",r.jsx("div",{className:"studio-explainer-file truncate",children:M.filePath})]})]}),r.jsxs("div",{className:"",children:[M.variants.map(K=>r.jsx(g7,{dim:K,componentEntry:M,scanData:s},K.name)),M.baseClasses&&r.jsx(h7,{componentEntry:M,scanData:s})]})]}),k==="component"&&!M&&z&&r.jsx("div",{className:"px-4 py-3 text-[11px]",style:{color:"var(--studio-text-dimmed)"},children:"This component doesn't use variant definitions (CVA). Edit its styles directly in the Element tab."}),k==="instance"&&r.jsxs(r.Fragment,{children:[r.jsxs("div",{className:"studio-tab-explainer",children:[r.jsx(Bc,{}),r.jsx("span",{children:z?"Edit this element's variant, size, and styles.":"Edit this element's styles."})]}),r.jsx("div",{className:"",children:r.jsx($d,{tag:i.tag,className:i.className,computedStyles:i.computed,parentComputedStyles:i.parentComputed||{},tokenGroups:(s==null?void 0:s.tokens.groups)||{},onPreviewInlineStyle:m,onRevertInlineStyles:h,onCommitClass:(K,me)=>{if(!i.source)return;const le=i.source;te(me?async()=>{await y2(le,"replaceClass",K,me)}:async()=>{await y2(le,"addClass",K)})}})})]})]})]})}function g7({dim:i,componentEntry:s,scanData:f}){const[o,d]=p.useState(!0),[m,h]=p.useState(new Set),S=x=>{const y=new Set(m);y.has(x)?y.delete(x):y.add(x),h(y)};return r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("button",{onClick:()=>d(!o),className:"studio-section-hdr",children:[o?r.jsx(Ba,{}):r.jsx(nl,{}),i.name,r.jsx("span",{className:"count",children:i.options.length})]}),!o&&r.jsx("div",{className:"studio-tree",children:i.options.map(x=>r.jsxs("div",{className:"studio-tree-node",children:[r.jsxs("button",{onClick:()=>S(x),className:"studio-section-hdr",style:{fontSize:10},children:[m.has(x)?r.jsx(nl,{}):r.jsx(Ba,{}),r.jsx("span",{style:{color:"var(--studio-text)",fontWeight:600},children:x}),x===i.default&&r.jsx("span",{className:"text-[9px] font-normal",style:{color:"var(--studio-text-dimmed)"},children:"default"})]}),m.has(x)&&i.classes[x]&&r.jsx("div",{className:"studio-tree-content",children:r.jsx(J2,{classes:i.classes[x],onClassChange:(y,z)=>{P2(s.filePath,y,z,x)},tokenGroups:(f==null?void 0:f.tokens.groups)||{},flat:!0})})]},x))})]})}function h7({componentEntry:i,scanData:s}){const[f,o]=p.useState(!0);return r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle)"},children:[r.jsxs("button",{onClick:()=>o(!f),className:"studio-section-hdr",children:[f?r.jsx(Ba,{}):r.jsx(nl,{}),"Base"]}),!f&&r.jsx("div",{className:"px-4 pb-3",children:r.jsx(J2,{classes:i.baseClasses,onClassChange:(d,m)=>{P2(i.filePath,d,m)},tokenGroups:(s==null?void 0:s.tokens.groups)||{},flat:!0})})]})}async function y2(i,s,f,o){try{const m=await(await fetch("/api/write-element",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({source:i,type:s,newClass:f,oldClass:o||void 0})})).json();m.ok||console.error("Element write failed:",m.error)}catch(d){console.error("Element write error:",d)}}async function P2(i,s,f,o){try{const m=await(await fetch("/api/component",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({filePath:i,oldClass:s,newClass:f,variantContext:o})})).json();m.ok||console.error("Component write failed:",m.error)}catch(d){console.error("Component write error:",d)}}function p7(i,s){if(!s||!i)return[];const f=new Set,o=i.split(/\s+/);for(const d of o){const m=d.match(/(?:bg|text|border|ring|outline|shadow)-([a-z][\w-]*)/);if(m){const S=`--${m[1].split("/")[0]}`;s.tokens.tokens.find(y=>y.name===S)&&f.add(S)}}return Array.from(f)}function m7({name:i,tokens:s}){const[f,o]=p.useState(!0),d=s.filter(h=>h.category==="color"),m=s.filter(h=>h.category!=="color");return s.length===0?null:r.jsxs("div",{style:{borderTop:"1px solid var(--studio-border-subtle, var(--studio-border))"},children:[r.jsxs("button",{className:"studio-section-hdr",onClick:()=>o(!f),children:[r.jsx(nl,{style:{transform:f?"none":"rotate(-90deg)",transition:"transform 0.15s"}}),i,r.jsx("span",{className:"count",children:s.length})]}),f&&r.jsxs("div",{className:"pb-2",children:[d.length>0&&r.jsx("div",{className:"px-4 flex flex-wrap gap-1.5 mb-2",children:d.map(h=>r.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[r.jsx("span",{className:"studio-swatch",style:{"--swatch-color":h.lightValue||h.darkValue||"",width:28,height:28,borderRadius:4},title:`${h.name}
|
|
50
|
-
Light: ${h.lightValue||"—"}
|
|
51
|
-
Dark: ${h.darkValue||"—"}`}),r.jsx("span",{className:"text-[8px] truncate text-center",style:{color:"var(--studio-text-dimmed)",maxWidth:36},title:h.name,children:h.name.replace(/^--/,"")})]},h.name))}),m.map(h=>r.jsxs("div",{className:"studio-prop-row",children:[r.jsx("span",{className:"studio-prop-label",title:h.name,children:h.name.replace(/^--/,"")}),r.jsx("span",{className:"text-[11px] truncate",style:{color:"var(--studio-text)",fontFamily:'"SF Mono", "Fira Code", "Cascadia Code", monospace'},title:h.lightValue,children:h.lightValue||h.darkValue||"—"})]},h.name))]})]})}function y7({tokenGroups:i,stylingType:s}){const f=Object.keys(i),o=Object.values(i).reduce((d,m)=>d+m.length,0);return r.jsxs("div",{className:"overflow-y-auto studio-scrollbar",style:{width:280,minWidth:280,background:"var(--studio-surface)",borderLeft:"1px solid var(--studio-border)"},children:[r.jsxs("div",{className:"px-4 py-3 border-b",style:{borderColor:"var(--studio-border)"},children:[r.jsx("div",{className:"text-[13px] font-semibold mb-1",style:{color:"var(--studio-text)"},children:"Design Tokens"}),r.jsxs("div",{className:"text-[10px]",style:{color:"var(--studio-text-dimmed)"},children:[o," tokens · ",s]})]}),o===0?r.jsxs("div",{className:"px-4 py-6 text-center",style:{color:"var(--studio-text-dimmed)",fontSize:11},children:[r.jsx("div",{className:"mb-2",children:"No design tokens found"}),r.jsx("div",{className:"text-[10px]",children:"Select an element in the viewport to inspect its styles"})]}):f.map(d=>r.jsx(m7,{name:d,tokens:i[d]},d))]})}function v7(){const i=p.useRef(null),[s,f]=p.useState(""),[o,d]=p.useState(""),[m,h]=p.useState(null),[S,x]=p.useState(!1),[y,z]=p.useState("light"),[M,V]=p.useState("fill"),[k,R]=p.useState("/"),[Z,B]=p.useState(!1),[G,D]=p.useState(null);p.useEffect(()=>{fetch("/api/config").then(oe=>oe.json()).then(oe=>{f(oe.targetUrl),d(oe.stylingType||"")}).catch(console.error)},[]),p.useEffect(()=>{fetch("/scan/all").then(oe=>oe.json()).then(oe=>{D(oe)}).catch(console.error)},[]);const W=p.useCallback(oe=>{var He;switch(oe.type){case"tool:injectedReady":B(!0),i.current&&((He=i.current.contentWindow)==null||He.postMessage({type:"tool:enterSelectionMode"},"*"),x(!0));break;case"tool:elementSelected":h(oe.data);break;case"tool:pathChanged":R(oe.path);break}},[]),{send:te}=cd(i,W),ie=p.useCallback(()=>{const oe=!S;x(oe),te(oe?{type:"tool:enterSelectionMode"}:{type:"tool:exitSelectionMode"})},[S,te]),pe=p.useCallback(()=>{const oe=y==="light"?"dark":"light";z(oe),te({type:"tool:setTheme",theme:oe})},[y,te]),K=p.useCallback((oe,He)=>{te({type:"tool:previewInlineStyle",property:oe,value:He})},[te]),me=p.useCallback(()=>{te({type:"tool:revertInlineStyles"})},[te]),le=p.useCallback(()=>{te({type:"tool:reselectElement"})},[te]),U=p.useCallback((oe,He)=>{},[]),q=p.useCallback(()=>{h(null)},[]);if(!s)return r.jsx("div",{className:"flex items-center justify-center h-screen",style:{background:"var(--studio-bg)",color:"var(--studio-text-dimmed)"},children:"Loading..."});const Ae=(G==null?void 0:G.tokens.groups)||{},Ie=m?r.jsx(d7,{element:m,scanData:G,theme:y,iframePath:k,onPreviewToken:U,onPreviewInlineStyle:K,onRevertInlineStyles:me,onClose:q,onReselectElement:le}):r.jsx(y7,{tokenGroups:Ae,stylingType:o});return r.jsx(rd,{toolName:"CodeCanvas",toolIcon:r.jsx(Gc,{}),selectionMode:S,onToggleSelectionMode:ie,theme:y,onToggleTheme:pe,viewportWidth:M,onViewportWidthChange:V,iframePath:k,onIframePathChange:R,targetUrl:s,iframeRef:i,editorPanel:Ie})}_3.createRoot(document.getElementById("root")).render(r.jsx(v7,{}));
|