(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function Xo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var la={exports:{}},ui={},sa={exports:{}},z={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var rr=Symbol.for("react.element"),bd=Symbol.for("react.portal"),Ed=Symbol.for("react.fragment"),_d=Symbol.for("react.strict_mode"),Cd=Symbol.for("react.profiler"),Nd=Symbol.for("react.provider"),Ld=Symbol.for("react.context"),Pd=Symbol.for("react.forward_ref"),zd=Symbol.for("react.suspense"),jd=Symbol.for("react.memo"),Rd=Symbol.for("react.lazy"),Bl=Symbol.iterator;function Md(e){return e===null||typeof e!="object"?null:(e=Bl&&e[Bl]||e["@@iterator"],typeof e=="function"?e:null)}var aa={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ua=Object.assign,da={};function cn(e,t,n){this.props=e,this.context=t,this.refs=da,this.updater=n||aa}cn.prototype.isReactComponent={};cn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ca(){}ca.prototype=cn.prototype;function Yo(e,t,n){this.props=e,this.context=t,this.refs=da,this.updater=n||aa}var Zo=Yo.prototype=new ca;Zo.constructor=Yo;ua(Zo,cn.prototype);Zo.isPureReactComponent=!0;var Ql=Array.isArray,pa=Object.prototype.hasOwnProperty,qo={current:null},fa={key:!0,ref:!0,__self:!0,__source:!0};function ha(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)pa.call(t,r)&&!fa.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1>>1,J=_[G];if(0>>1;Gi(Ni,P))kti(ur,Ni)?(_[G]=ur,_[kt]=P,G=kt):(_[G]=Ni,_[Tt]=P,G=Tt);else if(kti(ur,P))_[G]=ur,_[kt]=P,G=kt;else break e}}return L}function i(_,L){var P=_.sortIndex-L.sortIndex;return P!==0?P:_.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],d=[],c=1,g=null,m=3,w=!1,T=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,u=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(_){for(var L=n(d);L!==null;){if(L.callback===null)r(d);else if(L.startTime<=_)r(d),L.sortIndex=L.expirationTime,t(a,L);else break;L=n(d)}}function v(_){if(k=!1,p(_),!T)if(n(a)!==null)T=!0,_i(S);else{var L=n(d);L!==null&&Ci(v,L.startTime-_)}}function S(_,L){T=!1,k&&(k=!1,f(C),C=-1),w=!0;var P=m;try{for(p(L),g=n(a);g!==null&&(!(g.expirationTime>L)||_&&!ze());){var G=g.callback;if(typeof G=="function"){g.callback=null,m=g.priorityLevel;var J=G(g.expirationTime<=L);L=e.unstable_now(),typeof J=="function"?g.callback=J:g===n(a)&&r(a),p(L)}else r(a);g=n(a)}if(g!==null)var ar=!0;else{var Tt=n(d);Tt!==null&&Ci(v,Tt.startTime-L),ar=!1}return ar}finally{g=null,m=P,w=!1}}var x=!1,b=null,C=-1,F=5,N=-1;function ze(){return!(e.unstable_now()-N_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<_?Math.floor(1e3/_):5},e.unstable_getCurrentPriorityLevel=function(){return m},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(_){switch(m){case 1:case 2:case 3:var L=3;break;default:L=m}var P=m;m=L;try{return _()}finally{m=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(_,L){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var P=m;m=_;try{return L()}finally{m=P}},e.unstable_scheduleCallback=function(_,L,P){var G=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0G?(_.sortIndex=P,t(d,_),n(a)===null&&_===n(d)&&(k?(f(C),C=-1):k=!0,Ci(v,P-G))):(_.sortIndex=J,t(a,_),T||w||(T=!0,_i(S))),_},e.unstable_shouldYield=ze,e.unstable_wrapCallback=function(_){var L=m;return function(){var P=m;m=L;try{return _.apply(this,arguments)}finally{m=P}}}})(wa);ya.exports=wa;var Qd=ya.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Kd=Q,ke=Qd;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),no=Object.prototype.hasOwnProperty,Gd=/^[: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]*$/,Gl={},Xl={};function Xd(e){return no.call(Xl,e)?!0:no.call(Gl,e)?!1:Gd.test(e)?Xl[e]=!0:(Gl[e]=!0,!1)}function Yd(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Zd(e,t,n,r){if(t===null||typeof t>"u"||Yd(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function pe(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ie[e]=new pe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ie[t]=new pe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ie[e]=new pe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ie[e]=new pe(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ie[e]=new pe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ie[e]=new pe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ie[e]=new pe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ie[e]=new pe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ie[e]=new pe(e,5,!1,e.toLowerCase(),null,!1,!1)});var el=/[\-:]([a-z])/g;function tl(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(el,tl);ie[t]=new pe(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(el,tl);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(el,tl);ie[t]=new pe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!1,!1)});ie.xlinkHref=new pe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ie[e]=new pe(e,1,!1,e.toLowerCase(),null,!0,!0)});function nl(e,t,n,r){var i=ie.hasOwnProperty(t)?ie[t]:null;(i!==null?i.type!==0:r||!(2s||i[l]!==o[s]){var a=` `+i[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{zi=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?En(e):""}function qd(e){switch(e.tag){case 5:return En(e.type);case 16:return En("Lazy");case 13:return En("Suspense");case 19:return En("SuspenseList");case 0:case 2:case 15:return e=ji(e.type,!1),e;case 11:return e=ji(e.type.render,!1),e;case 1:return e=ji(e.type,!0),e;default:return""}}function lo(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Vt:return"Fragment";case $t:return"Portal";case ro:return"Profiler";case rl:return"StrictMode";case io:return"Suspense";case oo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Sa:return(e.displayName||"Context")+".Consumer";case ka:return(e._context.displayName||"Context")+".Provider";case il:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ol:return t=e.displayName||null,t!==null?t:lo(e.type)||"Memo";case tt:t=e._payload,e=e._init;try{return lo(e(t))}catch{}}return null}function Jd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return lo(t);case 8:return t===rl?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ba(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ec(e){var t=ba(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pr(e){e._valueTracker||(e._valueTracker=ec(e))}function Ea(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ba(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function $r(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}}function so(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zl(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function _a(e,t){t=t.checked,t!=null&&nl(e,"checked",t,!1)}function ao(e,t){_a(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?uo(e,t.type,n):t.hasOwnProperty("defaultValue")&&uo(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function ql(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function uo(e,t,n){(t!=="number"||$r(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function Zt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=fr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ln={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},tc=["Webkit","ms","Moz","O"];Object.keys(Ln).forEach(function(e){tc.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ln[t]=Ln[e]})});function Pa(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ln.hasOwnProperty(e)&&Ln[e]?(""+t).trim():t+"px"}function za(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Pa(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var nc=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function fo(e,t){if(t){if(nc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function ho(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var mo=null;function ll(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var go=null,qt=null,Jt=null;function ts(e){if(e=lr(e)){if(typeof go!="function")throw Error(y(280));var t=e.stateNode;t&&(t=hi(t),go(e.stateNode,e.type,t))}}function ja(e){qt?Jt?Jt.push(e):Jt=[e]:qt=e}function Ra(){if(qt){var e=qt,t=Jt;if(Jt=qt=null,ts(e),t)for(e=0;e>>=0,e===0?32:31-(fc(e)/hc|0)|0}var hr=64,mr=4194304;function Cn(e){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: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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=Cn(s):(o&=l,o!==0&&(r=Cn(o)))}else l=n&~i,l!==0?r=Cn(l):o!==0&&(r=Cn(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-De(t),e[t]=n}function yc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=zn),ds=" ",cs=!1;function Ja(e,t){switch(e){case"keyup":return Qc.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function eu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ut=!1;function Gc(e,t){switch(e){case"compositionend":return eu(t);case"keypress":return t.which!==32?null:(cs=!0,ds);case"textInput":return e=t.data,e===ds&&cs?null:e;default:return null}}function Xc(e,t){if(Ut)return e==="compositionend"||!hl&&Ja(e,t)?(e=Za(),Pr=cl=ot=null,Ut=!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)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=ms(n)}}function iu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?iu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ou(){for(var e=window,t=$r();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=$r(e.document)}return t}function ml(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function ip(e){var t=ou(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&iu(n.ownerDocument.documentElement,n)){if(r!==null&&ml(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=gs(n,o);var l=gs(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Wt=null,So=null,Rn=null,xo=!1;function vs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xo||Wt==null||Wt!==$r(r)||(r=Wt,"selectionStart"in r&&ml(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Rn&&Qn(Rn,r)||(Rn=r,r=Qr(So,"onSelect"),0Bt||(e.current=Lo[Bt],Lo[Bt]=null,Bt--)}function $(e,t){Bt++,Lo[Bt]=e.current,e.current=t}var gt={},ae=yt(gt),me=yt(!1),Pt=gt;function on(e,t){var n=e.type.contextTypes;if(!n)return gt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ge(e){return e=e.childContextTypes,e!=null}function Gr(){U(me),U(ae)}function bs(e,t,n){if(ae.current!==gt)throw Error(y(168));$(ae,t),$(me,n)}function hu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(y(108,Jd(e)||"Unknown",i));return B({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||gt,Pt=ae.current,$(ae,e),$(me,me.current),!0}function Es(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=hu(e,t,Pt),r.__reactInternalMemoizedMergedChildContext=e,U(me),U(ae),$(ae,e)):U(me),$(me,n)}var Be=null,mi=!1,Qi=!1;function mu(e){Be===null?Be=[e]:Be.push(e)}function gp(e){mi=!0,mu(e)}function wt(){if(!Qi&&Be!==null){Qi=!0;var e=0,t=I;try{var n=Be;for(I=1;e>=l,i-=l,Qe=1<<32-De(t)+i|n<C?(F=b,b=null):F=b.sibling;var N=m(f,b,p[C],v);if(N===null){b===null&&(b=F);break}e&&b&&N.alternate===null&&t(f,b),u=o(N,u,C),x===null?S=N:x.sibling=N,x=N,b=F}if(C===p.length)return n(f,b),W&&St(f,C),S;if(b===null){for(;CC?(F=b,b=null):F=b.sibling;var ze=m(f,b,N.value,v);if(ze===null){b===null&&(b=F);break}e&&b&&ze.alternate===null&&t(f,b),u=o(ze,u,C),x===null?S=ze:x.sibling=ze,x=ze,b=F}if(N.done)return n(f,b),W&&St(f,C),S;if(b===null){for(;!N.done;C++,N=p.next())N=g(f,N.value,v),N!==null&&(u=o(N,u,C),x===null?S=N:x.sibling=N,x=N);return W&&St(f,C),S}for(b=r(f,b);!N.done;C++,N=p.next())N=w(b,f,C,N.value,v),N!==null&&(e&&N.alternate!==null&&b.delete(N.key===null?C:N.key),u=o(N,u,C),x===null?S=N:x.sibling=N,x=N);return e&&b.forEach(function(hn){return t(f,hn)}),W&&St(f,C),S}function O(f,u,p,v){if(typeof p=="object"&&p!==null&&p.type===Vt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case cr:e:{for(var S=p.key,x=u;x!==null;){if(x.key===S){if(S=p.type,S===Vt){if(x.tag===7){n(f,x.sibling),u=i(x,p.props.children),u.return=f,f=u;break e}}else if(x.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===tt&&Ns(S)===x.type){n(f,x.sibling),u=i(x,p.props),u.ref=kn(f,x,p),u.return=f,f=u;break e}n(f,x);break}else t(f,x);x=x.sibling}p.type===Vt?(u=Lt(p.props.children,f.mode,v,p.key),u.return=f,f=u):(v=Fr(p.type,p.key,p.props,null,f.mode,v),v.ref=kn(f,u,p),v.return=f,f=v)}return l(f);case $t:e:{for(x=p.key;u!==null;){if(u.key===x)if(u.tag===4&&u.stateNode.containerInfo===p.containerInfo&&u.stateNode.implementation===p.implementation){n(f,u.sibling),u=i(u,p.children||[]),u.return=f,f=u;break e}else{n(f,u);break}else t(f,u);u=u.sibling}u=eo(p,f.mode,v),u.return=f,f=u}return l(f);case tt:return x=p._init,O(f,u,x(p._payload),v)}if(_n(p))return T(f,u,p,v);if(gn(p))return k(f,u,p,v);Sr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,u!==null&&u.tag===6?(n(f,u.sibling),u=i(u,p),u.return=f,f=u):(n(f,u),u=Ji(p,f.mode,v),u.return=f,f=u),l(f)):n(f,u)}return O}var sn=wu(!0),Tu=wu(!1),qr=yt(null),Jr=null,Gt=null,wl=null;function Tl(){wl=Gt=Jr=null}function kl(e){var t=qr.current;U(qr),e._currentValue=t}function jo(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function tn(e,t){Jr=e,wl=Gt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(he=!0),e.firstContext=null)}function Le(e){var t=e._currentValue;if(wl!==e)if(e={context:e,memoizedValue:t,next:null},Gt===null){if(Jr===null)throw Error(y(308));Gt=e,Jr.dependencies={lanes:0,firstContext:e}}else Gt=Gt.next=e;return t}var Et=null;function Sl(e){Et===null?Et=[e]:Et.push(e)}function ku(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,Sl(t)):(n.next=i.next,i.next=n),t.interleaved=n,Ze(e,r)}function Ze(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var nt=!1;function xl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Su(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ge(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ct(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,D&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Ze(e,n)}return i=r.interleaved,i===null?(t.next=t,Sl(r)):(t.next=i.next,i.next=t),r.interleaved=t,Ze(e,n)}function jr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,al(e,n)}}function Ls(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ei(e,t,n,r){var i=e.updateQueue;nt=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,d=a.next;a.next=null,l===null?o=d:l.next=d,l=a;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==l&&(s===null?c.firstBaseUpdate=d:s.next=d,c.lastBaseUpdate=a))}if(o!==null){var g=i.baseState;l=0,c=d=a=null,s=o;do{var m=s.lane,w=s.eventTime;if((r&m)===m){c!==null&&(c=c.next={eventTime:w,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var T=e,k=s;switch(m=t,w=n,k.tag){case 1:if(T=k.payload,typeof T=="function"){g=T.call(w,g,m);break e}g=T;break e;case 3:T.flags=T.flags&-65537|128;case 0:if(T=k.payload,m=typeof T=="function"?T.call(w,g,m):T,m==null)break e;g=B({},g,m);break e;case 2:nt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,m=i.effects,m===null?i.effects=[s]:m.push(s))}else w={eventTime:w,lane:m,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(d=c=w,a=g):c=c.next=w,l|=m;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;m=s,s=m.next,m.next=null,i.lastBaseUpdate=m,i.shared.pending=null}}while(!0);if(c===null&&(a=g),i.baseState=a,i.firstBaseUpdate=d,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Rt|=l,e.lanes=l,e.memoizedState=g}}function Ps(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Gi.transition;Gi.transition={};try{e(!1),t()}finally{I=n,Gi.transition=r}}function $u(){return Pe().memoizedState}function Tp(e,t,n){var r=ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vu(e))Uu(t,n);else if(n=ku(e,t,n,r),n!==null){var i=de();Ie(n,e,r,i),Wu(n,t,r)}}function kp(e,t,n){var r=ft(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vu(e))Uu(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Fe(s,l)){var a=t.interleaved;a===null?(i.next=i,Sl(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=ku(e,t,i,r),n!==null&&(i=de(),Ie(n,e,r,i),Wu(n,t,r))}}function Vu(e){var t=e.alternate;return e===A||t!==null&&t===A}function Uu(e,t){Mn=ni=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Wu(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,al(e,n)}}var ri={readContext:Le,useCallback:oe,useContext:oe,useEffect:oe,useImperativeHandle:oe,useInsertionEffect:oe,useLayoutEffect:oe,useMemo:oe,useReducer:oe,useRef:oe,useState:oe,useDebugValue:oe,useDeferredValue:oe,useTransition:oe,useMutableSource:oe,useSyncExternalStore:oe,useId:oe,unstable_isNewReconciler:!1},Sp={readContext:Le,useCallback:function(e,t){return Ve().memoizedState=[e,t===void 0?null:t],e},useContext:Le,useEffect:js,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Mr(4194308,4,Mu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Mr(4194308,4,e,t)},useInsertionEffect:function(e,t){return Mr(4,2,e,t)},useMemo:function(e,t){var n=Ve();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ve();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Tp.bind(null,A,e),[r.memoizedState,e]},useRef:function(e){var t=Ve();return e={current:e},t.memoizedState=e},useState:zs,useDebugValue:zl,useDeferredValue:function(e){return Ve().memoizedState=e},useTransition:function(){var e=zs(!1),t=e[0];return e=wp.bind(null,e[1]),Ve().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=A,i=Ve();if(W){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),te===null)throw Error(y(349));jt&30||_u(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,js(Nu.bind(null,r,o,e),[e]),r.flags|=2048,er(9,Cu.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ve(),t=te.identifierPrefix;if(W){var n=Ke,r=Qe;n=(r&~(1<<32-De(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Ue]=t,e[Xn]=r,qu(e,t,!1,!1),t.stateNode=e;e:{switch(l=ho(n,r),n){case"dialog":V("cancel",e),V("close",e),i=r;break;case"iframe":case"object":case"embed":V("load",e),i=r;break;case"video":case"audio":for(i=0;idn&&(t.flags|=128,r=!0,Sn(o,!1),t.lanes=4194304)}else{if(!r)if(e=ti(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Sn(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!W)return le(t),null}else 2*X()-o.renderingStartTime>dn&&n!==1073741824&&(t.flags|=128,r=!0,Sn(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=X(),t.sibling=null,n=H.current,$(H,r?n&1|2:n&1),t):(le(t),null);case 22:case 23:return Il(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ye&1073741824&&(le(t),t.subtreeFlags&6&&(t.flags|=8192)):le(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function Pp(e,t){switch(vl(t),t.tag){case 1:return ge(t.type)&&Gr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return an(),U(me),U(ae),_l(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return El(t),null;case 13:if(U(H),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return U(H),null;case 4:return an(),null;case 10:return kl(t.type._context),null;case 22:case 23:return Il(),null;case 24:return null;default:return null}}var br=!1,se=!1,zp=typeof WeakSet=="function"?WeakSet:Set,E=null;function Xt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){K(e,t,r)}else n.current=null}function Uo(e,t,n){try{n()}catch(r){K(e,t,r)}}var Hs=!1;function jp(e,t){if(bo=Ar,e=ou(),ml(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,d=0,c=0,g=e,m=null;t:for(;;){for(var w;g!==n||i!==0&&g.nodeType!==3||(s=l+i),g!==o||r!==0&&g.nodeType!==3||(a=l+r),g.nodeType===3&&(l+=g.nodeValue.length),(w=g.firstChild)!==null;)m=g,g=w;for(;;){if(g===e)break t;if(m===n&&++d===i&&(s=l),m===o&&++c===r&&(a=l),(w=g.nextSibling)!==null)break;g=m,m=g.parentNode}g=w}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Eo={focusedElem:e,selectionRange:n},Ar=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var T=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(T!==null){var k=T.memoizedProps,O=T.memoizedState,f=t.stateNode,u=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Re(t.type,k),O);f.__reactInternalSnapshotBeforeUpdate=u}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(v){K(t,t.return,v)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return T=Hs,Hs=!1,T}function On(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Uo(t,n,o)}i=i.next}while(i!==r)}}function yi(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Wo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function td(e){var t=e.alternate;t!==null&&(e.alternate=null,td(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ue],delete t[Xn],delete t[No],delete t[hp],delete t[mp])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function nd(e){return e.tag===5||e.tag===3||e.tag===4}function As(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||nd(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.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 Ho(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Kr));else if(r!==4&&(e=e.child,e!==null))for(Ho(e,t,n),e=e.sibling;e!==null;)Ho(e,t,n),e=e.sibling}function Ao(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ao(e,t,n),e=e.sibling;e!==null;)Ao(e,t,n),e=e.sibling}var ne=null,Me=!1;function et(e,t,n){for(n=n.child;n!==null;)rd(e,t,n),n=n.sibling}function rd(e,t,n){if(We&&typeof We.onCommitFiberUnmount=="function")try{We.onCommitFiberUnmount(di,n)}catch{}switch(n.tag){case 5:se||Xt(n,t);case 6:var r=ne,i=Me;ne=null,et(e,t,n),ne=r,Me=i,ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ne.removeChild(n.stateNode));break;case 18:ne!==null&&(Me?(e=ne,n=n.stateNode,e.nodeType===8?Bi(e.parentNode,n):e.nodeType===1&&Bi(e,n),An(e)):Bi(ne,n.stateNode));break;case 4:r=ne,i=Me,ne=n.stateNode.containerInfo,Me=!0,et(e,t,n),ne=r,Me=i;break;case 0:case 11:case 14:case 15:if(!se&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Uo(n,t,l),i=i.next}while(i!==r)}et(e,t,n);break;case 1:if(!se&&(Xt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){K(n,t,s)}et(e,t,n);break;case 21:et(e,t,n);break;case 22:n.mode&1?(se=(r=se)||n.memoizedState!==null,et(e,t,n),se=r):et(e,t,n);break;default:et(e,t,n)}}function Bs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new zp),t.forEach(function(r){var i=Up.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function je(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=l),r&=~o}if(r=i,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Mp(r/1960))-r,10e?16:e,lt===null)var r=!1;else{if(e=lt,lt=null,li=0,D&6)throw Error(y(331));var i=D;for(D|=4,E=e.current;E!==null;){var o=E,l=o.child;if(E.flags&16){var s=o.deletions;if(s!==null){for(var a=0;aX()-Ol?Nt(e,0):Ml|=n),ve(e,t)}function cd(e,t){t===0&&(e.mode&1?(t=mr,mr<<=1,!(mr&130023424)&&(mr=4194304)):t=1);var n=de();e=Ze(e,t),e!==null&&(ir(e,t,n),ve(e,n))}function Vp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),cd(e,n)}function Up(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(t),cd(e,n)}var pd;pd=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)he=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return he=!1,Np(e,t,n);he=!!(e.flags&131072)}else he=!1,W&&t.flags&1048576&&gu(t,Zr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Or(e,t),e=t.pendingProps;var i=on(t,ae.current);tn(t,n),i=Nl(null,t,r,e,i,n);var o=Ll();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ge(r)?(o=!0,Xr(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,xl(t),i.updater=vi,t.stateNode=i,i._reactInternals=t,Mo(t,r,e,n),t=Io(null,t,r,!0,o,n)):(t.tag=0,W&&o&&gl(t),ue(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Or(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=Hp(r),e=Re(r,e),i){case 0:t=Do(null,t,r,e,n);break e;case 1:t=Vs(null,t,r,e,n);break e;case 11:t=Fs(null,t,r,e,n);break e;case 14:t=$s(null,t,r,Re(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Re(r,i),Do(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Re(r,i),Vs(e,t,r,i,n);case 3:e:{if(Xu(t),e===null)throw Error(y(387));r=t.pendingProps,o=t.memoizedState,i=o.element,Su(e,t),ei(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=un(Error(y(423)),t),t=Us(e,t,r,n,i);break e}else if(r!==i){i=un(Error(y(424)),t),t=Us(e,t,r,n,i);break e}else for(we=dt(t.stateNode.containerInfo.firstChild),Te=t,W=!0,Oe=null,n=Tu(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ln(),r===i){t=qe(e,t,n);break e}ue(e,t,r,n)}t=t.child}return t;case 5:return xu(t),e===null&&zo(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,_o(r,i)?l=null:o!==null&&_o(r,o)&&(t.flags|=32),Gu(e,t),ue(e,t,l,n),t.child;case 6:return e===null&&zo(t),null;case 13:return Yu(e,t,n);case 4:return bl(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=sn(t,null,r,n):ue(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Re(r,i),Fs(e,t,r,i,n);case 7:return ue(e,t,t.pendingProps,n),t.child;case 8:return ue(e,t,t.pendingProps.children,n),t.child;case 12:return ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,$(qr,r._currentValue),r._currentValue=l,o!==null)if(Fe(o.value,l)){if(o.children===i.children&&!me.current){t=qe(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=Ge(-1,n&-n),a.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var c=d.pending;c===null?a.next=a:(a.next=c.next,c.next=a),d.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),jo(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(y(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),jo(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}ue(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,tn(t,n),i=Le(i),r=r(i),t.flags|=1,ue(e,t,r,n),t.child;case 14:return r=t.type,i=Re(r,t.pendingProps),i=Re(r.type,i),$s(e,t,r,i,n);case 15:return Qu(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Re(r,i),Or(e,t),t.tag=1,ge(r)?(e=!0,Xr(t)):e=!1,tn(t,n),Hu(t,r,i),Mo(t,r,i,n),Io(null,t,r,!0,e,n);case 19:return Zu(e,t,n);case 22:return Ku(e,t,n)}throw Error(y(156,t.tag))};function fd(e,t){return Va(e,t)}function Wp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ce(e,t,n,r){return new Wp(e,t,n,r)}function $l(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Hp(e){if(typeof e=="function")return $l(e)?1:0;if(e!=null){if(e=e.$$typeof,e===il)return 11;if(e===ol)return 14}return 2}function ht(e,t){var n=e.alternate;return n===null?(n=Ce(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fr(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")$l(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Vt:return Lt(n.children,i,o,t);case rl:l=8,i|=8;break;case ro:return e=Ce(12,n,t,i|2),e.elementType=ro,e.lanes=o,e;case io:return e=Ce(13,n,t,i),e.elementType=io,e.lanes=o,e;case oo:return e=Ce(19,n,t,i),e.elementType=oo,e.lanes=o,e;case xa:return Ti(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ka:l=10;break e;case Sa:l=9;break e;case il:l=11;break e;case ol:l=14;break e;case tt:l=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Ce(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Lt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function Ti(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=xa,e.lanes=n,e.stateNode={isHidden:!1},e}function Ji(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function eo(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ap(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Mi(0),this.expirationTimes=Mi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Mi(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Vl(e,t,n,r,i,o,l,s,a){return e=new Ap(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ce(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xl(o),e}function Bp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(vd)}catch(e){console.error(e)}}vd(),va.exports=Se;var Yp=va.exports,Js=Yp;to.createRoot=Js.createRoot,to.hydrateRoot=Js.hydrateRoot;var yd={exports:{}};/*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */(function(e){(function(){var t={}.hasOwnProperty;function n(){for(var o="",l=0;l{const o=e/t*(r-n);return Math.round(o)},na=(e,t,n,r)=>{const o=Number(e)/(r-n)*t;return Math.round(o)};function Fn({id:e,color:t}){const{cssvars:n,updateVar:r}=Q.useContext(Ei),{start:i,current:o,kind:l}=n[e],[s,a]=l?ta[l]:ta.any,d=Q.useRef(null),c=Q.useRef(null),[g,m]=Q.useState(!1),[w,T]=Q.useState(na(i,360,s,a)),k=x=>{m(!0);const C=d.current.getBoundingClientRect(),F=x.clientX-C.left;T(Math.round(F))},O=()=>{m(!1)},f=()=>{m(!1)};Q.useEffect(()=>{const b=d.current.getBoundingClientRect(),C=ff(w,b.width,s,a);r(e,C)},[e,s,a,r,w]),Q.useEffect(()=>{const x=na(o,360,s,a);T(Math.round(x))},[s,a,o]),Q.useEffect(()=>{const x=b=>{if(!g||!d.current||!c.current)return;const F=d.current.getBoundingClientRect();let N=b.clientX-F.left;N<0?N=0:N>F.width&&(N=F.width),T(Math.round(N))};return window.addEventListener("mousemove",x),()=>{window.removeEventListener("mousemove",x)}},[g,s,a,w]),Q.useEffect(()=>(window.addEventListener("mouseleave",O),()=>{window.removeEventListener("mouseleave",O)}),[]),Q.useEffect(()=>(window.addEventListener("mouseup",f),()=>{window.removeEventListener("mouseup",f)}),[]);const u=nr({[bn.main]:!0,[bn.moving]:g}),p=nr({[bn.background]:!0,[bn[l]]:!0}),v=t?{"--h":`var(--bulma-${t}-h)`,"--s":`var(--bulma-${t}-s)`,"--l":`var(--bulma-${t}-l)`}:{},S={transform:`translateX(${w}px)`};return h.jsx("div",{className:u,ref:d,style:v,onMouseDown:k,children:h.jsx("div",{className:p,children:h.jsx("span",{ref:c,className:bn.handle,style:S})})})}Fn.propTypes={id:Ct.string,color:Ct.string};const hf="_main_op5dp_1",mf="_side_op5dp_9",gf="_swatch_op5dp_13",vf="_name_op5dp_21",yf="_lines_op5dp_34",wf="_line_op5dp_34",Tf="_form_op5dp_51",be={main:hf,side:mf,swatch:gf,name:vf,lines:yf,line:wf,form:Tf};function kf(e,t,n){t/=100,n/=100;let r=(1-Math.abs(2*n-1))*t,i=r*(1-Math.abs(e/60%2-1)),o=n-r/2,l=0,s=0,a=0;return 0<=e&&e<60?(l=r,s=i,a=0):60<=e&&e<120?(l=i,s=r,a=0):120<=e&&e<180?(l=0,s=r,a=i):180<=e&&e<240?(l=0,s=i,a=r):240<=e&&e<300?(l=i,s=0,a=r):300<=e&&e<360&&(l=r,s=0,a=i),l=Math.round((l+o)*255),s=Math.round((s+o)*255),a=Math.round((a+o)*255),`${((1<<24)+(l<<16)+(s<<8)+a).toString(16).slice(1).toUpperCase()}`}function ra(e){e=e.replace(/^#/,"");let t=parseInt(e.slice(0,2),16),n=parseInt(e.slice(2,4),16),r=parseInt(e.slice(4,6),16);t/=255,n/=255,r/=255;let i=Math.max(t,n,r),o=Math.min(t,n,r),l,s,a=(i+o)/2;if(i===o)l=s=0;else{let d=i-o;switch(s=a>.5?d/(2-i-o):d/(i+o),i){case t:l=(n-r)/d+(n{u.preventDefault(),n(a.id,a.start),n(d.id,d.start),n(c.id,c.start)},T=u=>{u.preventDefault();let p=window.prompt("Enter a Hexadecimal value (e.g. 00d1b2)");if(p.startsWith("#")&&(p=p.replace(/^#/,"")),!/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(p)||p.length>6){window.prompt("That is not a valid Hexadecimal value. Please try again.");return}p.length===3&&(p=p[0]+p[0]+p[1]+p[1]+p[2]+p[2]);const{hue:S,saturation:x,lightness:b}=ra(p);n(a.id,S),n(d.id,x),n(c.id,b)},k=u=>{let p=u.target.value;if(p.startsWith("#")&&(p=p.replace(/^#/,"")),i(p),!/^([A-Fa-f0-9]{3}|[A-Fa-f0-9]{6})$/.test(p)||p.length<6)return;const{hue:S,saturation:x,lightness:b}=ra(p);n(a.id,S),n(d.id,x),n(c.id,b)},O=(u,p)=>{let v=u.target.value;n(p.id,v)};if(Q.useEffect(()=>{if(!a)return;const u=kf(a.current,d.current,c.current);i(u)},[a,d,c]),!a)return;const f=Number(a.current)===Number(a.start)&&Number(d.current)===Number(d.start)&&Number(c.current)===Number(c.start);return h.jsxs("div",{className:be.main,style:g,children:[h.jsxs("div",{className:be.side,children:[h.jsxs("div",{className:be.name,children:[h.jsx("div",{className:be.swatch}),h.jsx("p",{children:m})]}),h.jsxs("div",{className:"buttons are-small",children:[h.jsx("button",{className:"button",onClick:T,children:"Enter a Hex code"}),h.jsx("button",{className:"button",onClick:w,disabled:f,children:"Reset"})]}),h.jsxs("div",{className:"is-hidden field has-addons",children:[h.jsx("p",{className:"control",children:h.jsx("span",{className:"button is-static",children:"#"})}),h.jsx("p",{className:"control",children:h.jsx("input",{className:"input",type:"text",value:r,onChange:k})}),h.jsx("p",{className:"control",children:h.jsx("span",{className:"button is-icon",children:"Copy"})})]})]}),h.jsxs("div",{className:be.lines,children:[h.jsxs("div",{className:be.line,children:[h.jsx("p",{children:"Hue"}),h.jsx(Fn,{id:o,kind:"hue",color:e}),h.jsxs("p",{className:be.form,children:[h.jsx("input",{type:"text",className:"input",value:Number(a.current),onChange:u=>O(u,a),size:"3"}),h.jsx("span",{children:a.unit})]})]}),h.jsxs("div",{className:be.line,children:[h.jsx("p",{children:"Saturation"}),h.jsx(Fn,{id:l,kind:"saturation",color:e}),h.jsxs("p",{className:be.form,children:[h.jsx("input",{type:"text",className:"input",value:Number(d.current),onChange:u=>O(u,d),size:"3"}),h.jsx("span",{children:d.unit})]})]}),h.jsxs("div",{className:be.line,children:[h.jsx("p",{children:"Lightness"}),h.jsx(Fn,{id:s,kind:"lightness",color:e}),h.jsxs("p",{className:be.form,children:[h.jsx("input",{type:"text",className:"input",value:Number(c.current),onChange:u=>O(u,c),size:"3"}),h.jsx("span",{children:c.unit})]})]})]}),h.jsx("div",{className:be.side,children:h.jsx("button",{className:`button is-${e}`,children:m})})]})}Sd.propTypes={color:Ct.string,h:Ct.string,s:Ct.string,l:Ct.string};const Sf=["primary","link","info","success","warning","danger"];function xf(){return h.jsx("div",{className:j.items,children:Sf.map(e=>h.jsx(Sd,{color:e},e))})}const bf="_main_1y69s_1",Ef="_side_1y69s_16",_f="_name_1y69s_21",Cf="_slider_1y69s_35",Nf="_form_1y69s_44",Lf="_description_1y69s_65",Ft={main:bf,side:Ef,name:_f,slider:Cf,form:Nf,description:Lf};function M({id:e}){const{cssvars:t,updateVar:n}=Q.useContext(Ei),r=t[e];if(!r)return;const i=c=>{c.preventDefault(),n(r.id,r.start)},o=(c,g)=>{let m=c.target.value;n(g.id,m)},l=r.current==r.start,s=nr({button:!0,"is-danger is-outlined":!l}),a=l?{opacity:.1}:{};let d;switch(r.kind){case"hue":case"saturation":case"lightness":case"delta":d=h.jsxs(h.Fragment,{children:[h.jsx(Fn,{id:r.id}),h.jsxs("p",{className:Ft.form,children:[h.jsx("input",{type:"text",className:"input",value:r.current,onChange:c=>o(c,r),size:"3"}),h.jsx("span",{children:r.unit})]})]});break;default:d=h.jsx("input",{className:"input",type:"text",value:r.current,onChange:c=>o(c,r)});break}return h.jsxs("div",{className:Ft.main,children:[h.jsxs("div",{className:Ft.side,children:[h.jsx("div",{className:Ft.name,children:h.jsx("code",{children:r.id})}),h.jsx("div",{className:Ft.description,children:r.description}),h.jsx("div",{className:"buttons are-small",children:h.jsx("button",{className:s,onClick:i,disabled:l,style:a,children:"Reset"})})]}),h.jsx("div",{className:Ft.slider,children:d})]})}M.propTypes={id:Ct.string};function Pf(){const e=R.scheme.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function zf(){const e=R.typography.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function jf(){const e=R.other.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Rf(){const e=R.generic.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Mf(){const e=R.skeleton.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Of(){const e=R.breadcrumb.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Df(){const e=R.card.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function If(){const e=R.dropdown.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Ff(){const e=R.menu.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function $f(){const e=R.message.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Vf(){const e=R.modal.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Uf(){const e=R.navbar.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Wf(){const e=R.pagination.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Hf(){const e=R.panel.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Af(){const e=R.tabs.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Bf(){const e=R.box.map(t=>t.id);return h.jsxs("div",{className:j.items,children:[h.jsx("div",{className:"box",children:"I am in a box"}),e.map(t=>h.jsx(M,{id:t},t))]})}function Qf(){const e=R.content.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Kf(){const e=R.delete.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Gf(){const e=R.icon.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Xf(){const e=R.notification.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Yf(){const e=R.progress.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Zf(){const e=R.table.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function qf(){const e=R.tag.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function Jf(){const e=R.title.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function eh(){const e=R.control.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function th(){const e=R.input.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function nh(){const e=R.file.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function rh(){const e=R.columns.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function ih(){const e=R.grid.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function oh(){const e=R.footer.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function lh(){const e=R.hero.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function sh(){const e=R.media.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}function ah(){const e=R.section.map(t=>t.id);return h.jsx("div",{className:j.items,children:e.map(t=>h.jsx(M,{id:t},t))})}const ia={"-h":"hue","-s":"saturation","-l":"lightness","-delta":"delta","-color":"color"},uh=["deg","%"],dh={colors:h.jsx(xf,{}),scheme:h.jsx(Pf,{}),typography:h.jsx(zf,{}),other:h.jsx(jf,{}),generic:h.jsx(Rf,{}),skeleton:h.jsx(Mf,{}),breadcrumb:h.jsx(Of,{}),card:h.jsx(Df,{}),dropdown:h.jsx(If,{}),menu:h.jsx(Ff,{}),message:h.jsx($f,{}),modal:h.jsx(Vf,{}),navbar:h.jsx(Uf,{}),pagination:h.jsx(Wf,{}),panel:h.jsx(Hf,{}),tabs:h.jsx(Af,{}),box:h.jsx(Bf,{}),content:h.jsx(Qf,{}),delete:h.jsx(Kf,{}),icon:h.jsx(Gf,{}),notification:h.jsx(Xf,{}),progress:h.jsx(Yf,{}),table:h.jsx(Zf,{}),tag:h.jsx(qf,{}),title:h.jsx(Jf,{}),control:h.jsx(eh,{}),input:h.jsx(th,{}),file:h.jsx(nh,{}),columns:h.jsx(rh,{}),grid:h.jsx(ih,{}),footer:h.jsx(oh,{}),hero:h.jsx(lh,{}),media:h.jsx(sh,{}),section:h.jsx(ah,{})},ch=["Global Variables","Components","Elements","Form","Grid","Layout"],oa={"Global Variables":["colors","scheme","typography","other","generic","skeleton"],Components:["breadcrumb","card","dropdown","menu","message","modal","navbar","pagination","panel","tabs"],Elements:["box","content","delete","icon","notification","progress","table","tag","title"],Form:["control","input","file"],Grid:["columns","grid"],Layout:["footer","hero","media","section"]},Ei=Q.createContext({cssvars:{},currentTab:"",currentPage:"",getVar:()=>{},changeTab:()=>{},changePage:()=>{},updateVar:()=>{}});function ph(){const e=Q.useRef(),t={cssvars:{},currentTab:"Global Variables",currentPage:"delete",getVar:l=>n.cssvars[l],changeTab:l=>{r(s=>({...s,currentTab:l}))},changePage:l=>{r(s=>({...s,currentPage:l}))},updateVar:(l,s)=>{r(a=>({...a,cssvars:{...a.cssvars,[l]:{...a.cssvars[l],current:s}}}))}},[n,r]=Q.useState(t),i=(l,s)=>{l.preventDefault(),n.changeTab(s)},o=(l,s)=>{l.preventDefault(),n.changePage(s)};return Q.useEffect(()=>{const l={root:window.getComputedStyle(document.documentElement),breadcrumb:window.getComputedStyle(document.querySelector(".breadcrumb")),card:window.getComputedStyle(document.querySelector(".card")),dropdown:window.getComputedStyle(document.querySelector(".dropdown")),menu:window.getComputedStyle(document.querySelector(".menu")),message:window.getComputedStyle(document.querySelector(".message")),modal:window.getComputedStyle(document.querySelector(".modal")),navbar:window.getComputedStyle(document.querySelector(".navbar")),pagination:window.getComputedStyle(document.querySelector(".pagination")),panel:window.getComputedStyle(document.querySelector(".panel")),tabs:window.getComputedStyle(document.querySelector(".tabs")),box:window.getComputedStyle(document.querySelector(".box")),content:window.getComputedStyle(document.querySelector(".content")),delete:window.getComputedStyle(document.querySelector(".delete")),icon:window.getComputedStyle(document.querySelector(".icon")),notification:window.getComputedStyle(document.querySelector(".notification")),progress:window.getComputedStyle(document.querySelector(".progress")),table:window.getComputedStyle(document.querySelector(".table")),tag:window.getComputedStyle(document.querySelector(".tag")),title:window.getComputedStyle(document.querySelector(".title")),file:window.getComputedStyle(document.querySelector(".file")),input:window.getComputedStyle(document.querySelector(".input")),columns:window.getComputedStyle(document.querySelector(".columns")),grid:window.getComputedStyle(document.querySelector(".grid")),footer:window.getComputedStyle(document.querySelector(".footer")),hero:window.getComputedStyle(document.querySelector(".hero")),media:window.getComputedStyle(document.querySelector(".media")),section:window.getComputedStyle(document.querySelector(".section"))},s={},a=Object.values(oa).flat().map(c=>R[c]).flat();a.map(c=>c.id).map(c=>{var f;let g,m=":root";c.startsWith("breadcrumb")?(m=".breadcrumb",g=l.breadcrumb.getPropertyValue(`--bulma-${c}`)):c.startsWith("card")?(m=".card",g=l.card.getPropertyValue(`--bulma-${c}`)):c.startsWith("dropdown")?(m=".dropdown",g=l.dropdown.getPropertyValue(`--bulma-${c}`)):c.startsWith("menu")?(m=".menu",g=l.menu.getPropertyValue(`--bulma-${c}`)):c.startsWith("message")?(m=".message",g=l.message.getPropertyValue(`--bulma-${c}`)):c.startsWith("modal")?(m=".modal",g=l.modal.getPropertyValue(`--bulma-${c}`)):c.startsWith("navbar")?(m=".navbar",g=l.navbar.getPropertyValue(`--bulma-${c}`)):c.startsWith("pagination")?(m=".pagination",g=l.pagination.getPropertyValue(`--bulma-${c}`)):c.startsWith("panel")?(m=".panel",g=l.panel.getPropertyValue(`--bulma-${c}`)):c.startsWith("tabs")?(m=".tabs",g=l.tabs.getPropertyValue(`--bulma-${c}`)):c.startsWith("box")?(m=".box",g=l.box.getPropertyValue(`--bulma-${c}`)):c.startsWith("content")?(m=".content",g=l.content.getPropertyValue(`--bulma-${c}`)):c.startsWith("delete")?(m=".delete",g=l.delete.getPropertyValue(`--bulma-${c}`)):c.startsWith("icon")?(m=".icon",g=l.icon.getPropertyValue(`--bulma-${c}`)):c.startsWith("notification")?(m=".notification",g=l.notification.getPropertyValue(`--bulma-${c}`)):c.startsWith("progress")?(m=".progress",g=l.progress.getPropertyValue(`--bulma-${c}`)):c.startsWith("table")?(m=".table",g=l.table.getPropertyValue(`--bulma-${c}`)):c.startsWith("tag")?(m=".tag",g=l.tag.getPropertyValue(`--bulma-${c}`)):c.startsWith("title")?(m=".title",g=l.title.getPropertyValue(`--bulma-${c}`)):c.startsWith("file")?(m=".file",g=l.file.getPropertyValue(`--bulma-${c}`)):c.startsWith("input")?(m=".input",g=l.input.getPropertyValue(`--bulma-${c}`)):c.startsWith("columns")?(m=".columns",g=l.columns.getPropertyValue(`--bulma-${c}`)):c.startsWith("grid")?(m=".grid",g=l.grid.getPropertyValue(`--bulma-${c}`)):c.startsWith("footer")?(m=".footer",g=l.footer.getPropertyValue(`--bulma-${c}`)):c.startsWith("hero")?(m=".hero",g=l.hero.getPropertyValue(`--bulma-${c}`)):c.startsWith("media")?(m=".media",g=l.media.getPropertyValue(`--bulma-${c}`)):c.startsWith("section")?(m=".section",g=l.section.getPropertyValue(`--bulma-${c}`)):g=l.root.getPropertyValue(`--bulma-${c}`);const w=Object.keys(ia).find(u=>c.endsWith(u)),T=uh.find(u=>g.endsWith(u))||"",k=T!==""?g.split(T)[0]:g,O=((f=a.find(u=>u.id===c))==null?void 0:f.description)||"None";s[c]={id:c,kind:ia[w]||"any",original:g,unit:T,current:k,start:k,description:O,scope:m}}),r(c=>({...c,cssvars:s}))},[]),Q.useEffect(()=>{const l={};Object.values(n.cssvars).forEach(a=>{const{id:d,current:c,start:g,scope:m,unit:w}=a;if(c==g)return;const T=`${c}${w}`,k=`--bulma-${d}: ${T};`;m in l?l[m].push(k):l[m]=[k]});let s="";for(const[a,d]of Object.entries(l))s+=`${a} {`,d.forEach(c=>s+=c),s+="}";e&&(e.current.innerHTML=s)},[n.cssvars]),h.jsxs(Ei.Provider,{value:n,children:[h.jsx("style",{ref:e}),h.jsxs("div",{className:j.app,children:[h.jsx("div",{className:"buttons",children:ch.map(l=>{const s=nr({button:!0,"is-link":l===n.currentTab});return h.jsx("button",{className:s,onClick:a=>i(a,l),children:ea(l)},l)})}),h.jsx("div",{className:"buttons",children:oa[n.currentTab].map(l=>{const s=nr({button:!0,"is-link":l===n.currentPage});return h.jsx("button",{className:s,onClick:a=>o(a,l),children:ea(l)},l)})}),dh[n.currentPage]]})]})}to.createRoot(document.getElementById("root")).render(h.jsx($d.StrictMode,{children:h.jsx(ph,{})}));