(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const o of n)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(n){const o={};return n.integrity&&(o.integrity=n.integrity),n.referrerPolicy&&(o.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?o.credentials="include":n.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(n){if(n.ep)return;n.ep=!0;const o=t(n);fetch(n.href,o)}})();var SF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _B(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var VB={exports:{}},pl={},NB={exports:{}},_A={};/** * @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 aa=Symbol.for("react.element"),IF=Symbol.for("react.portal"),HF=Symbol.for("react.fragment"),xF=Symbol.for("react.strict_mode"),bF=Symbol.for("react.profiler"),TF=Symbol.for("react.provider"),LF=Symbol.for("react.context"),DF=Symbol.for("react.forward_ref"),PF=Symbol.for("react.suspense"),OF=Symbol.for("react.memo"),kF=Symbol.for("react.lazy"),wg=Symbol.iterator;function KF(A){return A===null||typeof A!="object"?null:(A=wg&&A[wg]||A["@@iterator"],typeof A=="function"?A:null)}var GB={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},WB=Object.assign,jB={};function ki(A,e,t){this.props=A,this.context=e,this.refs=jB,this.updater=t||GB}ki.prototype.isReactComponent={};ki.prototype.setState=function(A,e){if(typeof A!="object"&&typeof A!="function"&&A!=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,A,e,"setState")};ki.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function XB(){}XB.prototype=ki.prototype;function yf(A,e,t){this.props=A,this.context=e,this.refs=jB,this.updater=t||GB}var Cf=yf.prototype=new XB;Cf.constructor=yf;WB(Cf,ki.prototype);Cf.isPureReactComponent=!0;var yg=Array.isArray,zB=Object.prototype.hasOwnProperty,Qf={current:null},JB={key:!0,ref:!0,__self:!0,__source:!0};function YB(A,e,t){var r,n={},o=null,u=null;if(e!=null)for(r in e.ref!==void 0&&(u=e.ref),e.key!==void 0&&(o=""+e.key),e)zB.call(e,r)&&!JB.hasOwnProperty(r)&&(n[r]=e[r]);var c=arguments.length-2;if(c===1)n.children=t;else if(1>>1,rA=X[eA];if(0>>1;eAn(q,Y))aAn(dA,q)?(X[eA]=dA,X[aA]=Y,eA=aA):(X[eA]=q,X[iA]=Y,eA=iA);else if(aAn(dA,Y))X[eA]=dA,X[aA]=Y,eA=aA;else break A}}return $}function n(X,$){var Y=X.sortIndex-$.sortIndex;return Y!==0?Y:X.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;A.unstable_now=function(){return o.now()}}else{var u=Date,c=u.now();A.unstable_now=function(){return u.now()-c}}var h=[],d=[],m=1,y=null,w=3,F=!1,U=!1,S=!1,V=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,E=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function H(X){for(var $=t(d);$!==null;){if($.callback===null)r(d);else if($.startTime<=X)r(d),$.sortIndex=$.expirationTime,e(h,$);else break;$=t(d)}}function I(X){if(S=!1,H(X),!U)if(t(h)!==null)U=!0,R(O);else{var $=t(d);$!==null&&z(I,$.startTime-X)}}function O(X,$){U=!1,S&&(S=!1,D(g),g=-1),F=!0;var Y=w;try{for(H($),y=t(h);y!==null&&(!(y.expirationTime>$)||X&&!N());){var eA=y.callback;if(typeof eA=="function"){y.callback=null,w=y.priorityLevel;var rA=eA(y.expirationTime<=$);$=A.unstable_now(),typeof rA=="function"?y.callback=rA:y===t(h)&&r(h),H($)}else r(h);y=t(h)}if(y!==null)var fA=!0;else{var iA=t(d);iA!==null&&z(I,iA.startTime-$),fA=!1}return fA}finally{y=null,w=Y,F=!1}}var v=!1,p=null,g=-1,C=5,T=-1;function N(){return!(A.unstable_now()-TX||125eA?(X.sortIndex=Y,e(d,X),t(h)===null&&X===t(d)&&(S?(D(g),g=-1):S=!0,z(I,Y-eA))):(X.sortIndex=rA,e(h,X),U||F||(U=!0,R(O))),X},A.unstable_shouldYield=N,A.unstable_wrapCallback=function(X){var $=w;return function(){var Y=w;w=$;try{return X.apply(this,arguments)}finally{w=Y}}}})(A0);qB.exports=A0;var JF=qB.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 e0=pA,ht=JF;function lA(A){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+A,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),dc=Object.prototype.hasOwnProperty,YF=/^[: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]*$/,Qg={},Fg={};function ZF(A){return dc.call(Fg,A)?!0:dc.call(Qg,A)?!1:YF.test(A)?Fg[A]=!0:(Qg[A]=!0,!1)}function $F(A,e,t,r){if(t!==null&&t.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(A=A.toLowerCase().slice(0,5),A!=="data-"&&A!=="aria-");default:return!1}}function qF(A,e,t,r){if(e===null||typeof e>"u"||$F(A,e,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function $e(A,e,t,r,n,o,u){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=r,this.attributeNamespace=n,this.mustUseProperty=t,this.propertyName=A,this.type=e,this.sanitizeURL=o,this.removeEmptyString=u}var Re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(A){Re[A]=new $e(A,0,!1,A,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(A){var e=A[0];Re[e]=new $e(e,1,!1,A[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(A){Re[A]=new $e(A,2,!1,A.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(A){Re[A]=new $e(A,2,!1,A,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(A){Re[A]=new $e(A,3,!1,A.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(A){Re[A]=new $e(A,3,!0,A,null,!1,!1)});["capture","download"].forEach(function(A){Re[A]=new $e(A,4,!1,A,null,!1,!1)});["cols","rows","size","span"].forEach(function(A){Re[A]=new $e(A,6,!1,A,null,!1,!1)});["rowSpan","start"].forEach(function(A){Re[A]=new $e(A,5,!1,A.toLowerCase(),null,!1,!1)});var Ef=/[\-:]([a-z])/g;function Sf(A){return A[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(A){var e=A.replace(Ef,Sf);Re[e]=new $e(e,1,!1,A,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(A){var e=A.replace(Ef,Sf);Re[e]=new $e(e,1,!1,A,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(A){var e=A.replace(Ef,Sf);Re[e]=new $e(e,1,!1,A,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(A){Re[A]=new $e(A,1,!1,A.toLowerCase(),null,!1,!1)});Re.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(A){Re[A]=new $e(A,1,!1,A.toLowerCase(),null,!0,!0)});function If(A,e,t,r){var n=Re.hasOwnProperty(e)?Re[e]:null;(n!==null?n.type!==0:r||!(2c||n[u]!==o[c]){var h=` `+n[u].replace(" at new "," at ");return A.displayName&&h.includes("")&&(h=h.replace("",A.displayName)),h}while(1<=u&&0<=c);break}}}finally{Eu=!1,Error.prepareStackTrace=t}return(A=A?A.displayName||A.name:"")?Co(A):""}function AU(A){switch(A.tag){case 5:return Co(A.type);case 16:return Co("Lazy");case 13:return Co("Suspense");case 19:return Co("SuspenseList");case 0:case 2:case 15:return A=Su(A.type,!1),A;case 11:return A=Su(A.type.render,!1),A;case 1:return A=Su(A.type,!0),A;default:return""}}function Bc(A){if(A==null)return null;if(typeof A=="function")return A.displayName||A.name||null;if(typeof A=="string")return A;switch(A){case ai:return"Fragment";case oi:return"Portal";case hc:return"Profiler";case Hf:return"StrictMode";case gc:return"Suspense";case pc:return"SuspenseList"}if(typeof A=="object")switch(A.$$typeof){case n0:return(A.displayName||"Context")+".Consumer";case r0:return(A._context.displayName||"Context")+".Provider";case xf:var e=A.render;return A=A.displayName,A||(A=e.displayName||e.name||"",A=A!==""?"ForwardRef("+A+")":"ForwardRef"),A;case bf:return e=A.displayName||null,e!==null?e:Bc(A.type)||"Memo";case Or:e=A._payload,A=A._init;try{return Bc(A(e))}catch{}}return null}function eU(A){var e=A.type;switch(A.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return A=e.render,A=A.displayName||A.name||"",e.displayName||(A!==""?"ForwardRef("+A+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Bc(e);case 8:return e===Hf?"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 e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function qr(A){switch(typeof A){case"boolean":case"number":case"string":case"undefined":return A;case"object":return A;default:return""}}function o0(A){var e=A.type;return(A=A.nodeName)&&A.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function tU(A){var e=o0(A)?"checked":"value",t=Object.getOwnPropertyDescriptor(A.constructor.prototype,e),r=""+A[e];if(!A.hasOwnProperty(e)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var n=t.get,o=t.set;return Object.defineProperty(A,e,{configurable:!0,get:function(){return n.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(A,e,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){A._valueTracker=null,delete A[e]}}}}function ns(A){A._valueTracker||(A._valueTracker=tU(A))}function a0(A){if(!A)return!1;var e=A._valueTracker;if(!e)return!0;var t=e.getValue(),r="";return A&&(r=o0(A)?A.checked?"true":"false":A.value),A=r,A!==t?(e.setValue(A),!0):!1}function Ks(A){if(A=A||(typeof document<"u"?document:void 0),typeof A>"u")return null;try{return A.activeElement||A.body}catch{return A.body}}function mc(A,e){var t=e.checked;return de({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??A._wrapperState.initialChecked})}function Eg(A,e){var t=e.defaultValue==null?"":e.defaultValue,r=e.checked!=null?e.checked:e.defaultChecked;t=qr(e.value!=null?e.value:t),A._wrapperState={initialChecked:r,initialValue:t,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function s0(A,e){e=e.checked,e!=null&&If(A,"checked",e,!1)}function vc(A,e){s0(A,e);var t=qr(e.value),r=e.type;if(t!=null)r==="number"?(t===0&&A.value===""||A.value!=t)&&(A.value=""+t):A.value!==""+t&&(A.value=""+t);else if(r==="submit"||r==="reset"){A.removeAttribute("value");return}e.hasOwnProperty("value")?wc(A,e.type,t):e.hasOwnProperty("defaultValue")&&wc(A,e.type,qr(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(A.defaultChecked=!!e.defaultChecked)}function Sg(A,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!(r!=="submit"&&r!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+A._wrapperState.initialValue,t||e===A.value||(A.value=e),A.defaultValue=e}t=A.name,t!==""&&(A.name=""),A.defaultChecked=!!A._wrapperState.initialChecked,t!==""&&(A.name=t)}function wc(A,e,t){(e!=="number"||Ks(A.ownerDocument)!==A)&&(t==null?A.defaultValue=""+A._wrapperState.initialValue:A.defaultValue!==""+t&&(A.defaultValue=""+t))}var Qo=Array.isArray;function Ci(A,e,t,r){if(A=A.options,e){e={};for(var n=0;n"+e.valueOf().toString()+"",e=is.firstChild;A.firstChild;)A.removeChild(A.firstChild);for(;e.firstChild;)A.appendChild(e.firstChild)}});function _o(A,e){if(e){var t=A.firstChild;if(t&&t===A.lastChild&&t.nodeType===3){t.nodeValue=e;return}}A.textContent=e}var So={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},rU=["Webkit","ms","Moz","O"];Object.keys(So).forEach(function(A){rU.forEach(function(e){e=e+A.charAt(0).toUpperCase()+A.substring(1),So[e]=So[A]})});function f0(A,e,t){return e==null||typeof e=="boolean"||e===""?"":t||typeof e!="number"||e===0||So.hasOwnProperty(A)&&So[A]?(""+e).trim():e+"px"}function d0(A,e){A=A.style;for(var t in e)if(e.hasOwnProperty(t)){var r=t.indexOf("--")===0,n=f0(t,e[t],r);t==="float"&&(t="cssFloat"),r?A.setProperty(t,n):A[t]=n}}var nU=de({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 Qc(A,e){if(e){if(nU[A]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(lA(137,A));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(lA(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(lA(61))}if(e.style!=null&&typeof e.style!="object")throw Error(lA(62))}}function Fc(A,e){if(A.indexOf("-")===-1)return typeof e.is=="string";switch(A){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 Uc=null;function Tf(A){return A=A.target||A.srcElement||window,A.correspondingUseElement&&(A=A.correspondingUseElement),A.nodeType===3?A.parentNode:A}var Ec=null,Qi=null,Fi=null;function xg(A){if(A=ua(A)){if(typeof Ec!="function")throw Error(lA(280));var e=A.stateNode;e&&(e=yl(e),Ec(A.stateNode,A.type,e))}}function h0(A){Qi?Fi?Fi.push(A):Fi=[A]:Qi=A}function g0(){if(Qi){var A=Qi,e=Fi;if(Fi=Qi=null,xg(A),e)for(A=0;A>>=0,A===0?32:31-(gU(A)/pU|0)|0}var os=64,as=4194304;function Fo(A){switch(A&-A){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 A&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return A&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return A}}function Vs(A,e){var t=A.pendingLanes;if(t===0)return 0;var r=0,n=A.suspendedLanes,o=A.pingedLanes,u=t&268435455;if(u!==0){var c=u&~n;c!==0?r=Fo(c):(o&=u,o!==0&&(r=Fo(o)))}else u=t&~n,u!==0?r=Fo(u):o!==0&&(r=Fo(o));if(r===0)return 0;if(e!==0&&e!==r&&!(e&n)&&(n=r&-r,o=e&-e,n>=o||n===16&&(o&4194240)!==0))return e;if(r&4&&(r|=t&16),e=A.entangledLanes,e!==0)for(A=A.entanglements,e&=r;0t;t++)e.push(A);return e}function sa(A,e,t){A.pendingLanes|=e,e!==536870912&&(A.suspendedLanes=0,A.pingedLanes=0),A=A.eventTimes,e=31-Kt(e),A[e]=t}function wU(A,e){var t=A.pendingLanes&~e;A.pendingLanes=e,A.suspendedLanes=0,A.pingedLanes=0,A.expiredLanes&=e,A.mutableReadLanes&=e,A.entangledLanes&=e,e=A.entanglements;var r=A.eventTimes;for(A=A.expirationTimes;0=Ho),Mg=String.fromCharCode(32),Rg=!1;function P0(A,e){switch(A){case"keyup":return zU.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O0(A){return A=A.detail,typeof A=="object"&&"data"in A?A.data:null}var si=!1;function YU(A,e){switch(A){case"compositionend":return O0(e);case"keypress":return e.which!==32?null:(Rg=!0,Mg);case"textInput":return A=e.data,A===Mg&&Rg?null:A;default:return null}}function ZU(A,e){if(si)return A==="compositionend"||!Rf&&P0(A,e)?(A=L0(),Ss=kf=_r=null,si=!1,A):null;switch(A){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1=e)return{node:t,offset:e-A};A=r}A:{for(;t;){if(t.nextSibling){t=t.nextSibling;break A}t=t.parentNode}t=void 0}t=Gg(t)}}function R0(A,e){return A&&e?A===e?!0:A&&A.nodeType===3?!1:e&&e.nodeType===3?R0(A,e.parentNode):"contains"in A?A.contains(e):A.compareDocumentPosition?!!(A.compareDocumentPosition(e)&16):!1:!1}function _0(){for(var A=window,e=Ks();e instanceof A.HTMLIFrameElement;){try{var t=typeof e.contentWindow.location.href=="string"}catch{t=!1}if(t)A=e.contentWindow;else break;e=Ks(A.document)}return e}function _f(A){var e=A&&A.nodeName&&A.nodeName.toLowerCase();return e&&(e==="input"&&(A.type==="text"||A.type==="search"||A.type==="tel"||A.type==="url"||A.type==="password")||e==="textarea"||A.contentEditable==="true")}function oE(A){var e=_0(),t=A.focusedElem,r=A.selectionRange;if(e!==t&&t&&t.ownerDocument&&R0(t.ownerDocument.documentElement,t)){if(r!==null&&_f(t)){if(e=r.start,A=r.end,A===void 0&&(A=e),"selectionStart"in t)t.selectionStart=e,t.selectionEnd=Math.min(A,t.value.length);else if(A=(e=t.ownerDocument||document)&&e.defaultView||window,A.getSelection){A=A.getSelection();var n=t.textContent.length,o=Math.min(r.start,n);r=r.end===void 0?o:Math.min(r.end,n),!A.extend&&o>r&&(n=r,r=o,o=n),n=Wg(t,o);var u=Wg(t,r);n&&u&&(A.rangeCount!==1||A.anchorNode!==n.node||A.anchorOffset!==n.offset||A.focusNode!==u.node||A.focusOffset!==u.offset)&&(e=e.createRange(),e.setStart(n.node,n.offset),A.removeAllRanges(),o>r?(A.addRange(e),A.extend(u.node,u.offset)):(e.setEnd(u.node,u.offset),A.addRange(e)))}}for(e=[],A=t;A=A.parentNode;)A.nodeType===1&&e.push({element:A,left:A.scrollLeft,top:A.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,li=null,Tc=null,bo=null,Lc=!1;function jg(A,e,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Lc||li==null||li!==Ks(r)||(r=li,"selectionStart"in r&&_f(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}),bo&&Xo(bo,r)||(bo=r,r=Ws(Tc,"onSelect"),0fi||(A.current=Mc[fi],Mc[fi]=null,fi--)}function te(A,e){fi++,Mc[fi]=A.current,A.current=e}var An={},je=nn(An),it=nn(!1),Ln=An;function Hi(A,e){var t=A.type.contextTypes;if(!t)return An;var r=A.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var n={},o;for(o in t)n[o]=e[o];return r&&(A=A.stateNode,A.__reactInternalMemoizedUnmaskedChildContext=e,A.__reactInternalMemoizedMaskedChildContext=n),n}function ot(A){return A=A.childContextTypes,A!=null}function Xs(){ie(it),ie(je)}function qg(A,e,t){if(je.current!==An)throw Error(lA(168));te(je,e),te(it,t)}function Y0(A,e,t){var r=A.stateNode;if(e=e.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var n in r)if(!(n in e))throw Error(lA(108,eU(A)||"Unknown",n));return de({},t,r)}function zs(A){return A=(A=A.stateNode)&&A.__reactInternalMemoizedMergedChildContext||An,Ln=je.current,te(je,A),te(it,it.current),!0}function Ap(A,e,t){var r=A.stateNode;if(!r)throw Error(lA(169));t?(A=Y0(A,e,Ln),r.__reactInternalMemoizedMergedChildContext=A,ie(it),ie(je),te(je,A)):ie(it),te(it,t)}var sr=null,Cl=!1,_u=!1;function Z0(A){sr===null?sr=[A]:sr.push(A)}function mE(A){Cl=!0,Z0(A)}function on(){if(!_u&&sr!==null){_u=!0;var A=0,e=ZA;try{var t=sr;for(ZA=1;A>=u,n-=u,lr=1<<32-Kt(e)+n|t<g?(C=p,p=null):C=p.sibling;var T=w(D,p,H[g],I);if(T===null){p===null&&(p=C);break}A&&p&&T.alternate===null&&e(D,p),E=o(T,E,g),v===null?O=T:v.sibling=T,v=T,p=C}if(g===H.length)return t(D,p),se&&Qn(D,g),O;if(p===null){for(;gg?(C=p,p=null):C=p.sibling;var N=w(D,p,T.value,I);if(N===null){p===null&&(p=C);break}A&&p&&N.alternate===null&&e(D,p),E=o(N,E,g),v===null?O=N:v.sibling=N,v=N,p=C}if(T.done)return t(D,p),se&&Qn(D,g),O;if(p===null){for(;!T.done;g++,T=H.next())T=y(D,T.value,I),T!==null&&(E=o(T,E,g),v===null?O=T:v.sibling=T,v=T);return se&&Qn(D,g),O}for(p=r(D,p);!T.done;g++,T=H.next())T=F(p,D,g,T.value,I),T!==null&&(A&&T.alternate!==null&&p.delete(T.key===null?g:T.key),E=o(T,E,g),v===null?O=T:v.sibling=T,v=T);return A&&p.forEach(function(K){return e(D,K)}),se&&Qn(D,g),O}function V(D,E,H,I){if(typeof H=="object"&&H!==null&&H.type===ai&&H.key===null&&(H=H.props.children),typeof H=="object"&&H!==null){switch(H.$$typeof){case rs:A:{for(var O=H.key,v=E;v!==null;){if(v.key===O){if(O=H.type,O===ai){if(v.tag===7){t(D,v.sibling),E=n(v,H.props.children),E.return=D,D=E;break A}}else if(v.elementType===O||typeof O=="object"&&O!==null&&O.$$typeof===Or&&ap(O)===v.type){t(D,v.sibling),E=n(v,H.props),E.ref=go(D,v,H),E.return=D,D=E;break A}t(D,v);break}else e(D,v);v=v.sibling}H.type===ai?(E=Tn(H.props.children,D.mode,I,H.key),E.return=D,D=E):(I=Ps(H.type,H.key,H.props,null,D.mode,I),I.ref=go(D,E,H),I.return=D,D=I)}return u(D);case oi:A:{for(v=H.key;E!==null;){if(E.key===v)if(E.tag===4&&E.stateNode.containerInfo===H.containerInfo&&E.stateNode.implementation===H.implementation){t(D,E.sibling),E=n(E,H.children||[]),E.return=D,D=E;break A}else{t(D,E);break}else e(D,E);E=E.sibling}E=Ju(H,D.mode,I),E.return=D,D=E}return u(D);case Or:return v=H._init,V(D,E,v(H._payload),I)}if(Qo(H))return U(D,E,H,I);if(lo(H))return S(D,E,H,I);hs(D,H)}return typeof H=="string"&&H!==""||typeof H=="number"?(H=""+H,E!==null&&E.tag===6?(t(D,E.sibling),E=n(E,H),E.return=D,D=E):(t(D,E),E=zu(H,D.mode,I),E.return=D,D=E),u(D)):t(D,E)}return V}var bi=im(!0),om=im(!1),ca={},$t=nn(ca),Zo=nn(ca),$o=nn(ca);function Hn(A){if(A===ca)throw Error(lA(174));return A}function Yf(A,e){switch(te($o,e),te(Zo,A),te($t,ca),A=e.nodeType,A){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:Cc(null,"");break;default:A=A===8?e.parentNode:e,e=A.namespaceURI||null,A=A.tagName,e=Cc(e,A)}ie($t),te($t,e)}function Ti(){ie($t),ie(Zo),ie($o)}function am(A){Hn($o.current);var e=Hn($t.current),t=Cc(e,A.type);e!==t&&(te(Zo,A),te($t,t))}function Zf(A){Zo.current===A&&(ie($t),ie(Zo))}var ue=nn(0);function Al(A){for(var e=A;e!==null;){if(e.tag===13){var t=e.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===A)break;for(;e.sibling===null;){if(e.return===null||e.return===A)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Vu=[];function $f(){for(var A=0;At?t:4,A(!0);var r=Nu.transition;Nu.transition={};try{A(!1),e()}finally{ZA=t,Nu.transition=r}}function Qm(){return xt().memoizedState}function CE(A,e,t){var r=Jr(A);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Fm(A))Um(e,t);else if(t=em(A,e,t,r),t!==null){var n=Ye();Mt(t,A,r,n),Em(t,e,r)}}function QE(A,e,t){var r=Jr(A),n={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Fm(A))Um(e,n);else{var o=A.alternate;if(A.lanes===0&&(o===null||o.lanes===0)&&(o=e.lastRenderedReducer,o!==null))try{var u=e.lastRenderedState,c=o(u,t);if(n.hasEagerState=!0,n.eagerState=c,Rt(c,u)){var h=e.interleaved;h===null?(n.next=n,zf(e)):(n.next=h.next,h.next=n),e.interleaved=n;return}}catch{}finally{}t=em(A,e,n,r),t!==null&&(n=Ye(),Mt(t,A,r,n),Em(t,e,r))}}function Fm(A){var e=A.alternate;return A===fe||e!==null&&e===fe}function Um(A,e){To=el=!0;var t=A.pending;t===null?e.next=e:(e.next=t.next,t.next=e),A.pending=e}function Em(A,e,t){if(t&4194240){var r=e.lanes;r&=A.pendingLanes,t|=r,e.lanes=t,Df(A,t)}}var tl={readContext:Ht,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useInsertionEffect:Ve,useLayoutEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useMutableSource:Ve,useSyncExternalStore:Ve,useId:Ve,unstable_isNewReconciler:!1},FE={readContext:Ht,useCallback:function(A,e){return zt().memoizedState=[A,e===void 0?null:e],A},useContext:Ht,useEffect:lp,useImperativeHandle:function(A,e,t){return t=t!=null?t.concat([A]):null,bs(4194308,4,mm.bind(null,e,A),t)},useLayoutEffect:function(A,e){return bs(4194308,4,A,e)},useInsertionEffect:function(A,e){return bs(4,2,A,e)},useMemo:function(A,e){var t=zt();return e=e===void 0?null:e,A=A(),t.memoizedState=[A,e],A},useReducer:function(A,e,t){var r=zt();return e=t!==void 0?t(e):e,r.memoizedState=r.baseState=e,A={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:A,lastRenderedState:e},r.queue=A,A=A.dispatch=CE.bind(null,fe,A),[r.memoizedState,A]},useRef:function(A){var e=zt();return A={current:A},e.memoizedState=A},useState:sp,useDebugValue:rd,useDeferredValue:function(A){return zt().memoizedState=A},useTransition:function(){var A=sp(!1),e=A[0];return A=yE.bind(null,A[1]),zt().memoizedState=A,[e,A]},useMutableSource:function(){},useSyncExternalStore:function(A,e,t){var r=fe,n=zt();if(se){if(t===void 0)throw Error(lA(407));t=t()}else{if(t=e(),De===null)throw Error(lA(349));Pn&30||um(r,e,t)}n.memoizedState=t;var o={value:t,getSnapshot:e};return n.queue=o,lp(fm.bind(null,r,o,A),[A]),r.flags|=2048,ea(9,cm.bind(null,r,o,t,e),void 0,null),t},useId:function(){var A=zt(),e=De.identifierPrefix;if(se){var t=ur,r=lr;t=(r&~(1<<32-Kt(r)-1)).toString(32)+t,e=":"+e+"R"+t,t=qo++,0<\/script>",A=A.removeChild(A.firstChild)):typeof r.is=="string"?A=u.createElement(t,{is:r.is}):(A=u.createElement(t),t==="select"&&(u=A,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):A=u.createElementNS(A,t),A[Yt]=e,A[Yo]=r,Pm(A,e,!1,!1),e.stateNode=A;A:{switch(u=Fc(t,r),t){case"dialog":ne("cancel",A),ne("close",A),n=r;break;case"iframe":case"object":case"embed":ne("load",A),n=r;break;case"video":case"audio":for(n=0;nDi&&(e.flags|=128,r=!0,po(o,!1),e.lanes=4194304)}else{if(!r)if(A=Al(u),A!==null){if(e.flags|=128,r=!0,t=A.updateQueue,t!==null&&(e.updateQueue=t,e.flags|=4),po(o,!0),o.tail===null&&o.tailMode==="hidden"&&!u.alternate&&!se)return Ne(e),null}else 2*we()-o.renderingStartTime>Di&&t!==1073741824&&(e.flags|=128,r=!0,po(o,!1),e.lanes=4194304);o.isBackwards?(u.sibling=e.child,e.child=u):(t=o.last,t!==null?t.sibling=u:e.child=u,o.last=u)}return o.tail!==null?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=we(),e.sibling=null,t=ue.current,te(ue,r?t&1|2:t&1),e):(Ne(e),null);case 22:case 23:return ld(),r=e.memoizedState!==null,A!==null&&A.memoizedState!==null!==r&&(e.flags|=8192),r&&e.mode&1?ct&1073741824&&(Ne(e),e.subtreeFlags&6&&(e.flags|=8192)):Ne(e),null;case 24:return null;case 25:return null}throw Error(lA(156,e.tag))}function TE(A,e){switch(Nf(e),e.tag){case 1:return ot(e.type)&&Xs(),A=e.flags,A&65536?(e.flags=A&-65537|128,e):null;case 3:return Ti(),ie(it),ie(je),$f(),A=e.flags,A&65536&&!(A&128)?(e.flags=A&-65537|128,e):null;case 5:return Zf(e),null;case 13:if(ie(ue),A=e.memoizedState,A!==null&&A.dehydrated!==null){if(e.alternate===null)throw Error(lA(340));xi()}return A=e.flags,A&65536?(e.flags=A&-65537|128,e):null;case 19:return ie(ue),null;case 4:return Ti(),null;case 10:return Xf(e.type._context),null;case 22:case 23:return ld(),null;case 24:return null;default:return null}}var ps=!1,We=!1,LE=typeof WeakSet=="function"?WeakSet:Set,UA=null;function pi(A,e){var t=A.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){Be(A,e,r)}else t.current=null}function Zc(A,e,t){try{t()}catch(r){Be(A,e,r)}}var mp=!1;function DE(A,e){if(Dc=Ns,A=_0(),_f(A)){if("selectionStart"in A)var t={start:A.selectionStart,end:A.selectionEnd};else A:{t=(t=A.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var n=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break A}var u=0,c=-1,h=-1,d=0,m=0,y=A,w=null;e:for(;;){for(var F;y!==t||n!==0&&y.nodeType!==3||(c=u+n),y!==o||r!==0&&y.nodeType!==3||(h=u+r),y.nodeType===3&&(u+=y.nodeValue.length),(F=y.firstChild)!==null;)w=y,y=F;for(;;){if(y===A)break e;if(w===t&&++d===n&&(c=u),w===o&&++m===r&&(h=u),(F=y.nextSibling)!==null)break;y=w,w=y.parentNode}y=F}t=c===-1||h===-1?null:{start:c,end:h}}else t=null}t=t||{start:0,end:0}}else t=null;for(Pc={focusedElem:A,selectionRange:t},Ns=!1,UA=e;UA!==null;)if(e=UA,A=e.child,(e.subtreeFlags&1028)!==0&&A!==null)A.return=e,UA=A;else for(;UA!==null;){e=UA;try{var U=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(U!==null){var S=U.memoizedProps,V=U.memoizedState,D=e.stateNode,E=D.getSnapshotBeforeUpdate(e.elementType===e.type?S:Pt(e.type,S),V);D.__reactInternalSnapshotBeforeUpdate=E}break;case 3:var H=e.stateNode.containerInfo;H.nodeType===1?H.textContent="":H.nodeType===9&&H.documentElement&&H.removeChild(H.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(lA(163))}}catch(I){Be(e,e.return,I)}if(A=e.sibling,A!==null){A.return=e.return,UA=A;break}UA=e.return}return U=mp,mp=!1,U}function Lo(A,e,t){var r=e.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do{if((n.tag&A)===A){var o=n.destroy;n.destroy=void 0,o!==void 0&&Zc(e,t,o)}n=n.next}while(n!==r)}}function Ul(A,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var t=e=e.next;do{if((t.tag&A)===A){var r=t.create;t.destroy=r()}t=t.next}while(t!==e)}}function $c(A){var e=A.ref;if(e!==null){var t=A.stateNode;switch(A.tag){case 5:A=t;break;default:A=t}typeof e=="function"?e(A):e.current=A}}function Km(A){var e=A.alternate;e!==null&&(A.alternate=null,Km(e)),A.child=null,A.deletions=null,A.sibling=null,A.tag===5&&(e=A.stateNode,e!==null&&(delete e[Yt],delete e[Yo],delete e[Kc],delete e[pE],delete e[BE])),A.stateNode=null,A.return=null,A.dependencies=null,A.memoizedProps=null,A.memoizedState=null,A.pendingProps=null,A.stateNode=null,A.updateQueue=null}function Mm(A){return A.tag===5||A.tag===3||A.tag===4}function vp(A){A:for(;;){for(;A.sibling===null;){if(A.return===null||Mm(A.return))return null;A=A.return}for(A.sibling.return=A.return,A=A.sibling;A.tag!==5&&A.tag!==6&&A.tag!==18;){if(A.flags&2||A.child===null||A.tag===4)continue A;A.child.return=A,A=A.child}if(!(A.flags&2))return A.stateNode}}function qc(A,e,t){var r=A.tag;if(r===5||r===6)A=A.stateNode,e?t.nodeType===8?t.parentNode.insertBefore(A,e):t.insertBefore(A,e):(t.nodeType===8?(e=t.parentNode,e.insertBefore(A,t)):(e=t,e.appendChild(A)),t=t._reactRootContainer,t!=null||e.onclick!==null||(e.onclick=js));else if(r!==4&&(A=A.child,A!==null))for(qc(A,e,t),A=A.sibling;A!==null;)qc(A,e,t),A=A.sibling}function Af(A,e,t){var r=A.tag;if(r===5||r===6)A=A.stateNode,e?t.insertBefore(A,e):t.appendChild(A);else if(r!==4&&(A=A.child,A!==null))for(Af(A,e,t),A=A.sibling;A!==null;)Af(A,e,t),A=A.sibling}var Ke=null,Ot=!1;function Dr(A,e,t){for(t=t.child;t!==null;)Rm(A,e,t),t=t.sibling}function Rm(A,e,t){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Bl,t)}catch{}switch(t.tag){case 5:We||pi(t,e);case 6:var r=Ke,n=Ot;Ke=null,Dr(A,e,t),Ke=r,Ot=n,Ke!==null&&(Ot?(A=Ke,t=t.stateNode,A.nodeType===8?A.parentNode.removeChild(t):A.removeChild(t)):Ke.removeChild(t.stateNode));break;case 18:Ke!==null&&(Ot?(A=Ke,t=t.stateNode,A.nodeType===8?Ru(A.parentNode,t):A.nodeType===1&&Ru(A,t),Wo(A)):Ru(Ke,t.stateNode));break;case 4:r=Ke,n=Ot,Ke=t.stateNode.containerInfo,Ot=!0,Dr(A,e,t),Ke=r,Ot=n;break;case 0:case 11:case 14:case 15:if(!We&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){n=r=r.next;do{var o=n,u=o.destroy;o=o.tag,u!==void 0&&(o&2||o&4)&&Zc(t,e,u),n=n.next}while(n!==r)}Dr(A,e,t);break;case 1:if(!We&&(pi(t,e),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(c){Be(t,e,c)}Dr(A,e,t);break;case 21:Dr(A,e,t);break;case 22:t.mode&1?(We=(r=We)||t.memoizedState!==null,Dr(A,e,t),We=r):Dr(A,e,t);break;default:Dr(A,e,t)}}function wp(A){var e=A.updateQueue;if(e!==null){A.updateQueue=null;var t=A.stateNode;t===null&&(t=A.stateNode=new LE),e.forEach(function(r){var n=NE.bind(null,A,r);t.has(r)||(t.add(r),r.then(n,n))})}}function Lt(A,e){var t=e.deletions;if(t!==null)for(var r=0;rn&&(n=u),r&=~o}if(r=n,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*OE(r/1960))-r,10A?16:A,Vr===null)var r=!1;else{if(A=Vr,Vr=null,il=0,GA&6)throw Error(lA(331));var n=GA;for(GA|=4,UA=A.current;UA!==null;){var o=UA,u=o.child;if(UA.flags&16){var c=o.deletions;if(c!==null){for(var h=0;hwe()-ad?bn(A,0):od|=t),at(A,e)}function zm(A,e){e===0&&(A.mode&1?(e=as,as<<=1,!(as&130023424)&&(as=4194304)):e=1);var t=Ye();A=Br(A,e),A!==null&&(sa(A,e,t),at(A,t))}function VE(A){var e=A.memoizedState,t=0;e!==null&&(t=e.retryLane),zm(A,t)}function NE(A,e){var t=0;switch(A.tag){case 13:var r=A.stateNode,n=A.memoizedState;n!==null&&(t=n.retryLane);break;case 19:r=A.stateNode;break;default:throw Error(lA(314))}r!==null&&r.delete(e),zm(A,t)}var Jm;Jm=function(A,e,t){if(A!==null)if(A.memoizedProps!==e.pendingProps||it.current)nt=!0;else{if(!(A.lanes&t)&&!(e.flags&128))return nt=!1,xE(A,e,t);nt=!!(A.flags&131072)}else nt=!1,se&&e.flags&1048576&&$0(e,Ys,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;Ts(A,e),A=e.pendingProps;var n=Hi(e,je.current);Ei(e,t),n=Ad(null,e,r,A,n,t);var o=ed();return e.flags|=1,typeof n=="object"&&n!==null&&typeof n.render=="function"&&n.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,ot(r)?(o=!0,zs(e)):o=!1,e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,Jf(e),n.updater=Ql,e.stateNode=n,n._reactInternals=e,Gc(e,r,A,t),e=Xc(null,e,r,!0,o,t)):(e.tag=0,se&&o&&Vf(e),Je(null,e,n,t),e=e.child),e;case 16:r=e.elementType;A:{switch(Ts(A,e),A=e.pendingProps,n=r._init,r=n(r._payload),e.type=r,n=e.tag=WE(r),A=Pt(r,A),n){case 0:e=jc(null,e,r,A,t);break A;case 1:e=gp(null,e,r,A,t);break A;case 11:e=dp(null,e,r,A,t);break A;case 14:e=hp(null,e,r,Pt(r.type,A),t);break A}throw Error(lA(306,r,""))}return e;case 0:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Pt(r,n),jc(A,e,r,n,t);case 1:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Pt(r,n),gp(A,e,r,n,t);case 3:A:{if(Tm(e),A===null)throw Error(lA(387));r=e.pendingProps,o=e.memoizedState,n=o.element,tm(A,e),qs(e,r,null,t);var u=e.memoizedState;if(r=u.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},e.updateQueue.baseState=o,e.memoizedState=o,e.flags&256){n=Li(Error(lA(423)),e),e=pp(A,e,r,t,n);break A}else if(r!==n){n=Li(Error(lA(424)),e),e=pp(A,e,r,t,n);break A}else for(ft=jr(e.stateNode.containerInfo.firstChild),dt=e,se=!0,kt=null,t=om(e,null,r,t),e.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(xi(),r===n){e=mr(A,e,t);break A}Je(A,e,r,t)}e=e.child}return e;case 5:return am(e),A===null&&_c(e),r=e.type,n=e.pendingProps,o=A!==null?A.memoizedProps:null,u=n.children,Oc(r,n)?u=null:o!==null&&Oc(r,o)&&(e.flags|=32),bm(A,e),Je(A,e,u,t),e.child;case 6:return A===null&&_c(e),null;case 13:return Lm(A,e,t);case 4:return Yf(e,e.stateNode.containerInfo),r=e.pendingProps,A===null?e.child=bi(e,null,r,t):Je(A,e,r,t),e.child;case 11:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Pt(r,n),dp(A,e,r,n,t);case 7:return Je(A,e,e.pendingProps,t),e.child;case 8:return Je(A,e,e.pendingProps.children,t),e.child;case 12:return Je(A,e,e.pendingProps.children,t),e.child;case 10:A:{if(r=e.type._context,n=e.pendingProps,o=e.memoizedProps,u=n.value,te(Zs,r._currentValue),r._currentValue=u,o!==null)if(Rt(o.value,u)){if(o.children===n.children&&!it.current){e=mr(A,e,t);break A}}else for(o=e.child,o!==null&&(o.return=e);o!==null;){var c=o.dependencies;if(c!==null){u=o.child;for(var h=c.firstContext;h!==null;){if(h.context===r){if(o.tag===1){h=fr(-1,t&-t),h.tag=2;var d=o.updateQueue;if(d!==null){d=d.shared;var m=d.pending;m===null?h.next=h:(h.next=m.next,m.next=h),d.pending=h}}o.lanes|=t,h=o.alternate,h!==null&&(h.lanes|=t),Vc(o.return,t,e),c.lanes|=t;break}h=h.next}}else if(o.tag===10)u=o.type===e.type?null:o.child;else if(o.tag===18){if(u=o.return,u===null)throw Error(lA(341));u.lanes|=t,c=u.alternate,c!==null&&(c.lanes|=t),Vc(u,t,e),u=o.sibling}else u=o.child;if(u!==null)u.return=o;else for(u=o;u!==null;){if(u===e){u=null;break}if(o=u.sibling,o!==null){o.return=u.return,u=o;break}u=u.return}o=u}Je(A,e,n.children,t),e=e.child}return e;case 9:return n=e.type,r=e.pendingProps.children,Ei(e,t),n=Ht(n),r=r(n),e.flags|=1,Je(A,e,r,t),e.child;case 14:return r=e.type,n=Pt(r,e.pendingProps),n=Pt(r.type,n),hp(A,e,r,n,t);case 15:return Hm(A,e,e.type,e.pendingProps,t);case 17:return r=e.type,n=e.pendingProps,n=e.elementType===r?n:Pt(r,n),Ts(A,e),e.tag=1,ot(r)?(A=!0,zs(e)):A=!1,Ei(e,t),nm(e,r,n),Gc(e,r,n,t),Xc(null,e,r,!0,A,t);case 19:return Dm(A,e,t);case 22:return xm(A,e,t)}throw Error(lA(156,e.tag))};function Ym(A,e){return C0(A,e)}function GE(A,e,t,r){this.tag=A,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,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 St(A,e,t,r){return new GE(A,e,t,r)}function cd(A){return A=A.prototype,!(!A||!A.isReactComponent)}function WE(A){if(typeof A=="function")return cd(A)?1:0;if(A!=null){if(A=A.$$typeof,A===xf)return 11;if(A===bf)return 14}return 2}function Yr(A,e){var t=A.alternate;return t===null?(t=St(A.tag,e,A.key,A.mode),t.elementType=A.elementType,t.type=A.type,t.stateNode=A.stateNode,t.alternate=A,A.alternate=t):(t.pendingProps=e,t.type=A.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=A.flags&14680064,t.childLanes=A.childLanes,t.lanes=A.lanes,t.child=A.child,t.memoizedProps=A.memoizedProps,t.memoizedState=A.memoizedState,t.updateQueue=A.updateQueue,e=A.dependencies,t.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=A.sibling,t.index=A.index,t.ref=A.ref,t}function Ps(A,e,t,r,n,o){var u=2;if(r=A,typeof A=="function")cd(A)&&(u=1);else if(typeof A=="string")u=5;else A:switch(A){case ai:return Tn(t.children,n,o,e);case Hf:u=8,n|=8;break;case hc:return A=St(12,t,e,n|2),A.elementType=hc,A.lanes=o,A;case gc:return A=St(13,t,e,n),A.elementType=gc,A.lanes=o,A;case pc:return A=St(19,t,e,n),A.elementType=pc,A.lanes=o,A;case i0:return Sl(t,n,o,e);default:if(typeof A=="object"&&A!==null)switch(A.$$typeof){case r0:u=10;break A;case n0:u=9;break A;case xf:u=11;break A;case bf:u=14;break A;case Or:u=16,r=null;break A}throw Error(lA(130,A==null?A:typeof A,""))}return e=St(u,t,e,n),e.elementType=A,e.type=r,e.lanes=o,e}function Tn(A,e,t,r){return A=St(7,A,r,e),A.lanes=t,A}function Sl(A,e,t,r){return A=St(22,A,r,e),A.elementType=i0,A.lanes=t,A.stateNode={isHidden:!1},A}function zu(A,e,t){return A=St(6,A,null,e),A.lanes=t,A}function Ju(A,e,t){return e=St(4,A.children!==null?A.children:[],A.key,e),e.lanes=t,e.stateNode={containerInfo:A.containerInfo,pendingChildren:null,implementation:A.implementation},e}function jE(A,e,t,r,n){this.tag=e,this.containerInfo=A,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Hu(0),this.expirationTimes=Hu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hu(0),this.identifierPrefix=r,this.onRecoverableError=n,this.mutableSourceEagerHydrationData=null}function fd(A,e,t,r,n,o,u,c,h){return A=new jE(A,e,t,c,h),e===1?(e=1,o===!0&&(e|=8)):e=0,o=St(3,null,null,e),A.current=o,o.stateNode=A,o.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Jf(o),A}function XE(A,e,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Av)}catch(A){console.error(A)}}Av(),$B.exports=pt;var ev=$B.exports,Ip=ev;fc.createRoot=Ip.createRoot,fc.hydrateRoot=Ip.hydrateRoot;const tv=pA.createContext({transformPagePoint:A=>A,isStatic:!1,reducedMotion:"never"}),Tl=pA.createContext({}),pd=pA.createContext(null),Ll=typeof document<"u",$E=Ll?pA.useLayoutEffect:pA.useEffect,rv=pA.createContext({strict:!1});function qE(A,e,t,r){const{visualElement:n}=pA.useContext(Tl),o=pA.useContext(rv),u=pA.useContext(pd),c=pA.useContext(tv).reducedMotion,h=pA.useRef();r=r||o.renderer,!h.current&&r&&(h.current=r(A,{visualState:e,parent:n,props:t,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const d=h.current;pA.useInsertionEffect(()=>{d&&d.update(t,u)});const m=pA.useRef(!!window.HandoffAppearAnimations);return $E(()=>{d&&(d.render(),m.current&&d.animationState&&d.animationState.animateChanges())}),pA.useEffect(()=>{d&&(d.updateFeatures(),!m.current&&d.animationState&&d.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,m.current=!1)}),d}function mi(A){return typeof A=="object"&&Object.prototype.hasOwnProperty.call(A,"current")}function AS(A,e,t){return pA.useCallback(r=>{r&&A.mount&&A.mount(r),e&&(r?e.mount(r):e.unmount()),t&&(typeof t=="function"?t(r):mi(t)&&(t.current=r))},[e])}function ra(A){return typeof A=="string"||Array.isArray(A)}function Dl(A){return typeof A=="object"&&typeof A.start=="function"}const Bd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],md=["initial",...Bd];function Pl(A){return Dl(A.animate)||md.some(e=>ra(A[e]))}function nv(A){return!!(Pl(A)||A.variants)}function eS(A,e){if(Pl(A)){const{initial:t,animate:r}=A;return{initial:t===!1||ra(t)?t:void 0,animate:ra(r)?r:void 0}}return A.inherit!==!1?e:{}}function tS(A){const{initial:e,animate:t}=eS(A,pA.useContext(Tl));return pA.useMemo(()=>({initial:e,animate:t}),[Hp(e),Hp(t)])}function Hp(A){return Array.isArray(A)?A.join(" "):A}const xp={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},na={};for(const A in xp)na[A]={isEnabled:e=>xp[A].some(t=>!!e[t])};function rS(A){for(const e in A)na[e]={...na[e],...A[e]}}const iv=pA.createContext({}),ov=pA.createContext({}),nS=Symbol.for("motionComponentSymbol");function iS({preloadedFeatures:A,createVisualElement:e,useRender:t,useVisualState:r,Component:n}){A&&rS(A);function o(c,h){let d;const m={...pA.useContext(tv),...c,layoutId:oS(c)},{isStatic:y}=m,w=tS(c),F=r(c,y);if(!y&&Ll){w.visualElement=qE(n,F,m,e);const U=pA.useContext(ov),S=pA.useContext(rv).strict;w.visualElement&&(d=w.visualElement.loadFeatures(m,S,A,U))}return pA.createElement(Tl.Provider,{value:w},d&&w.visualElement?pA.createElement(d,{visualElement:w.visualElement,...m}):null,t(n,c,AS(F,w.visualElement,h),F,y,w.visualElement))}const u=pA.forwardRef(o);return u[nS]=n,u}function oS({layoutId:A}){const e=pA.useContext(iv).id;return e&&A!==void 0?e+"-"+A:A}function aS(A){function e(r,n={}){return iS(A(r,n))}if(typeof Proxy>"u")return e;const t=new Map;return new Proxy(e,{get:(r,n)=>(t.has(n)||t.set(n,e(n)),t.get(n))})}const sS=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function vd(A){return typeof A!="string"||A.includes("-")?!1:!!(sS.indexOf(A)>-1||/[A-Z]/.test(A))}const sl={};function lS(A){Object.assign(sl,A)}const fa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Rn=new Set(fa);function av(A,{layout:e,layoutId:t}){return Rn.has(A)||A.startsWith("origin")||(e||t!==void 0)&&(!!sl[A]||A==="opacity")}const st=A=>!!(A&&A.getVelocity),uS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},cS=fa.length;function fS(A,{enableHardwareAcceleration:e=!0,allowTransformNone:t=!0},r,n){let o="";for(let u=0;ue=>typeof e=="string"&&e.startsWith(A),lv=sv("--"),of=sv("var(--"),dS=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,hS=(A,e)=>e&&typeof A=="number"?e.transform(A):A,en=(A,e,t)=>Math.min(Math.max(t,A),e),_n={test:A=>typeof A=="number",parse:parseFloat,transform:A=>A},Oo={..._n,transform:A=>en(0,1,A)},vs={..._n,default:1},ko=A=>Math.round(A*1e5)/1e5,Ol=/(-)?([\d]*\.?[\d])+/g,uv=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,gS=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function da(A){return typeof A=="string"}const ha=A=>({test:e=>da(e)&&e.endsWith(A)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${A}`}),Pr=ha("deg"),qt=ha("%"),LA=ha("px"),pS=ha("vh"),BS=ha("vw"),bp={...qt,parse:A=>qt.parse(A)/100,transform:A=>qt.transform(A*100)},Tp={..._n,transform:Math.round},cv={borderWidth:LA,borderTopWidth:LA,borderRightWidth:LA,borderBottomWidth:LA,borderLeftWidth:LA,borderRadius:LA,radius:LA,borderTopLeftRadius:LA,borderTopRightRadius:LA,borderBottomRightRadius:LA,borderBottomLeftRadius:LA,width:LA,maxWidth:LA,height:LA,maxHeight:LA,size:LA,top:LA,right:LA,bottom:LA,left:LA,padding:LA,paddingTop:LA,paddingRight:LA,paddingBottom:LA,paddingLeft:LA,margin:LA,marginTop:LA,marginRight:LA,marginBottom:LA,marginLeft:LA,rotate:Pr,rotateX:Pr,rotateY:Pr,rotateZ:Pr,scale:vs,scaleX:vs,scaleY:vs,scaleZ:vs,skew:Pr,skewX:Pr,skewY:Pr,distance:LA,translateX:LA,translateY:LA,translateZ:LA,x:LA,y:LA,z:LA,perspective:LA,transformPerspective:LA,opacity:Oo,originX:bp,originY:bp,originZ:LA,zIndex:Tp,fillOpacity:Oo,strokeOpacity:Oo,numOctaves:Tp};function wd(A,e,t,r){const{style:n,vars:o,transform:u,transformOrigin:c}=A;let h=!1,d=!1,m=!0;for(const y in e){const w=e[y];if(lv(y)){o[y]=w;continue}const F=cv[y],U=hS(w,F);if(Rn.has(y)){if(h=!0,u[y]=U,!m)continue;w!==(F.default||0)&&(m=!1)}else y.startsWith("origin")?(d=!0,c[y]=U):n[y]=U}if(e.transform||(h||r?n.transform=fS(A.transform,t,m,r):n.transform&&(n.transform="none")),d){const{originX:y="50%",originY:w="50%",originZ:F=0}=c;n.transformOrigin=`${y} ${w} ${F}`}}const yd=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function fv(A,e,t){for(const r in e)!st(e[r])&&!av(r,t)&&(A[r]=e[r])}function mS({transformTemplate:A},e,t){return pA.useMemo(()=>{const r=yd();return wd(r,e,{enableHardwareAcceleration:!t},A),Object.assign({},r.vars,r.style)},[e])}function vS(A,e,t){const r=A.style||{},n={};return fv(n,r,A),Object.assign(n,mS(A,e,t)),A.transformValues?A.transformValues(n):n}function wS(A,e,t){const r={},n=vS(A,e,t);return A.drag&&A.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=A.drag===!0?"none":`pan-${A.drag==="x"?"y":"x"}`),A.tabIndex===void 0&&(A.onTap||A.onTapStart||A.whileTap)&&(r.tabIndex=0),r.style=n,r}const yS=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function ll(A){return A.startsWith("while")||A.startsWith("drag")&&A!=="draggable"||A.startsWith("layout")||A.startsWith("onTap")||A.startsWith("onPan")||yS.has(A)}let dv=A=>!ll(A);function CS(A){A&&(dv=e=>e.startsWith("on")?!ll(e):A(e))}try{CS(require("@emotion/is-prop-valid").default)}catch{}function QS(A,e,t){const r={};for(const n in A)n==="values"&&typeof A.values=="object"||(dv(n)||t===!0&&ll(n)||!e&&!ll(n)||A.draggable&&n.startsWith("onDrag"))&&(r[n]=A[n]);return r}function Lp(A,e,t){return typeof A=="string"?A:LA.transform(e+t*A)}function FS(A,e,t){const r=Lp(e,A.x,A.width),n=Lp(t,A.y,A.height);return`${r} ${n}`}const US={offset:"stroke-dashoffset",array:"stroke-dasharray"},ES={offset:"strokeDashoffset",array:"strokeDasharray"};function SS(A,e,t=1,r=0,n=!0){A.pathLength=1;const o=n?US:ES;A[o.offset]=LA.transform(-r);const u=LA.transform(e),c=LA.transform(t);A[o.array]=`${u} ${c}`}function Cd(A,{attrX:e,attrY:t,attrScale:r,originX:n,originY:o,pathLength:u,pathSpacing:c=1,pathOffset:h=0,...d},m,y,w){if(wd(A,d,m,w),y){A.style.viewBox&&(A.attrs.viewBox=A.style.viewBox);return}A.attrs=A.style,A.style={};const{attrs:F,style:U,dimensions:S}=A;F.transform&&(S&&(U.transform=F.transform),delete F.transform),S&&(n!==void 0||o!==void 0||U.transform)&&(U.transformOrigin=FS(S,n!==void 0?n:.5,o!==void 0?o:.5)),e!==void 0&&(F.x=e),t!==void 0&&(F.y=t),r!==void 0&&(F.scale=r),u!==void 0&&SS(F,u,c,h,!1)}const hv=()=>({...yd(),attrs:{}}),Qd=A=>typeof A=="string"&&A.toLowerCase()==="svg";function IS(A,e,t,r){const n=pA.useMemo(()=>{const o=hv();return Cd(o,e,{enableHardwareAcceleration:!1},Qd(r),A.transformTemplate),{...o.attrs,style:{...o.style}}},[e]);if(A.style){const o={};fv(o,A.style,A),n.style={...o,...n.style}}return n}function HS(A=!1){return(t,r,n,{latestValues:o},u)=>{const h=(vd(t)?IS:wS)(r,o,u,t),m={...QS(r,typeof t=="string",A),...h,ref:n},{children:y}=r,w=pA.useMemo(()=>st(y)?y.get():y,[y]);return pA.createElement(t,{...m,children:w})}}const Fd=A=>A.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function gv(A,{style:e,vars:t},r,n){Object.assign(A.style,e,n&&n.getProjectionStyles(r));for(const o in t)A.style.setProperty(o,t[o])}const pv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Bv(A,e,t,r){gv(A,e,void 0,r);for(const n in e.attrs)A.setAttribute(pv.has(n)?n:Fd(n),e.attrs[n])}function Ud(A,e){const{style:t}=A,r={};for(const n in t)(st(t[n])||e.style&&st(e.style[n])||av(n,A))&&(r[n]=t[n]);return r}function mv(A,e){const t=Ud(A,e);for(const r in A)if(st(A[r])||st(e[r])){const n=fa.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;t[n]=A[r]}return t}function Ed(A,e,t,r={},n={}){return typeof e=="function"&&(e=e(t!==void 0?t:A.custom,r,n)),typeof e=="string"&&(e=A.variants&&A.variants[e]),typeof e=="function"&&(e=e(t!==void 0?t:A.custom,r,n)),e}function xS(A){const e=pA.useRef(null);return e.current===null&&(e.current=A()),e.current}const ul=A=>Array.isArray(A),bS=A=>!!(A&&typeof A=="object"&&A.mix&&A.toValue),TS=A=>ul(A)?A[A.length-1]||0:A;function Os(A){const e=st(A)?A.get():A;return bS(e)?e.toValue():e}function LS({scrapeMotionValuesFromProps:A,createRenderState:e,onMount:t},r,n,o){const u={latestValues:DS(r,n,o,A),renderState:e()};return t&&(u.mount=c=>t(r,c,u)),u}const vv=A=>(e,t)=>{const r=pA.useContext(Tl),n=pA.useContext(pd),o=()=>LS(A,e,r,n);return t?o():xS(o)};function DS(A,e,t,r){const n={},o=r(A,{});for(const w in o)n[w]=Os(o[w]);let{initial:u,animate:c}=A;const h=Pl(A),d=nv(A);e&&d&&!h&&A.inherit!==!1&&(u===void 0&&(u=e.initial),c===void 0&&(c=e.animate));let m=t?t.initial===!1:!1;m=m||u===!1;const y=m?c:u;return y&&typeof y!="boolean"&&!Dl(y)&&(Array.isArray(y)?y:[y]).forEach(F=>{const U=Ed(A,F);if(!U)return;const{transitionEnd:S,transition:V,...D}=U;for(const E in D){let H=D[E];if(Array.isArray(H)){const I=m?H.length-1:0;H=H[I]}H!==null&&(n[E]=H)}for(const E in S)n[E]=S[E]}),n}const me=A=>A;class Dp{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){const t=this.order.indexOf(e);t!==-1&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}function PS(A){let e=new Dp,t=new Dp,r=0,n=!1,o=!1;const u=new WeakSet,c={schedule:(h,d=!1,m=!1)=>{const y=m&&n,w=y?e:t;return d&&u.add(h),w.add(h)&&y&&n&&(r=e.order.length),h},cancel:h=>{t.remove(h),u.delete(h)},process:h=>{if(n){o=!0;return}if(n=!0,[e,t]=[t,e],t.clear(),r=e.order.length,r)for(let d=0;d(y[w]=PS(()=>t=!0),y),{}),u=y=>o[y].process(n),c=()=>{const y=performance.now();t=!1,n.delta=r?1e3/60:Math.max(Math.min(y-n.timestamp,OS),1),n.timestamp=y,n.isProcessing=!0,ws.forEach(u),n.isProcessing=!1,t&&e&&(r=!1,A(c))},h=()=>{t=!0,r=!0,n.isProcessing||A(c)};return{schedule:ws.reduce((y,w)=>{const F=o[w];return y[w]=(U,S=!1,V=!1)=>(t||h(),F.schedule(U,S,V)),y},{}),cancel:y=>ws.forEach(w=>o[w].cancel(y)),state:n,steps:o}}const{schedule:oe,cancel:vr,state:Te,steps:Yu}=kS(typeof requestAnimationFrame<"u"?requestAnimationFrame:me,!0),KS={useVisualState:vv({scrapeMotionValuesFromProps:mv,createRenderState:hv,onMount:(A,e,{renderState:t,latestValues:r})=>{oe.read(()=>{try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}),oe.render(()=>{Cd(t,r,{enableHardwareAcceleration:!1},Qd(e.tagName),A.transformTemplate),Bv(e,t)})}})},MS={useVisualState:vv({scrapeMotionValuesFromProps:Ud,createRenderState:yd})};function RS(A,{forwardMotionProps:e=!1},t,r){return{...vd(A)?KS:MS,preloadedFeatures:t,useRender:HS(e),createVisualElement:r,Component:A}}function cr(A,e,t,r={passive:!0}){return A.addEventListener(e,t,r),()=>A.removeEventListener(e,t)}const wv=A=>A.pointerType==="mouse"?typeof A.button!="number"||A.button<=0:A.isPrimary!==!1;function kl(A,e="page"){return{point:{x:A[e+"X"],y:A[e+"Y"]}}}const _S=A=>e=>wv(e)&&A(e,kl(e));function dr(A,e,t,r){return cr(A,e,_S(t),r)}const VS=(A,e)=>t=>e(A(t)),Zr=(...A)=>A.reduce(VS);function yv(A){let e=null;return()=>{const t=()=>{e=null};return e===null?(e=A,t):!1}}const Pp=yv("dragHorizontal"),Op=yv("dragVertical");function Cv(A){let e=!1;if(A==="y")e=Op();else if(A==="x")e=Pp();else{const t=Pp(),r=Op();t&&r?e=()=>{t(),r()}:(t&&t(),r&&r())}return e}function Qv(){const A=Cv(!0);return A?(A(),!1):!0}class an{constructor(e){this.isMounted=!1,this.node=e}update(){}}function kp(A,e){const t="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End"),n=(o,u)=>{if(o.type==="touch"||Qv())return;const c=A.getProps();A.animationState&&c.whileHover&&A.animationState.setActive("whileHover",e),c[r]&&oe.update(()=>c[r](o,u))};return dr(A.current,t,n,{passive:!A.getProps()[r]})}class NS extends an{mount(){this.unmount=Zr(kp(this.node,!0),kp(this.node,!1))}unmount(){}}class GS extends an{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Zr(cr(this.node.current,"focus",()=>this.onFocus()),cr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Fv=(A,e)=>e?A===e?!0:Fv(A,e.parentElement):!1;function Zu(A,e){if(!e)return;const t=new PointerEvent("pointer"+A);e(t,kl(t))}class WS extends an{constructor(){super(...arguments),this.removeStartListeners=me,this.removeEndListeners=me,this.removeAccessibleListeners=me,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;const r=this.node.getProps(),o=dr(window,"pointerup",(c,h)=>{if(!this.checkPressEnd())return;const{onTap:d,onTapCancel:m}=this.node.getProps();oe.update(()=>{Fv(this.node.current,c.target)?d&&d(c,h):m&&m(c,h)})},{passive:!(r.onTap||r.onPointerUp)}),u=dr(window,"pointercancel",(c,h)=>this.cancelPress(c,h),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=Zr(o,u),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=o=>{if(o.key!=="Enter"||this.isPressing)return;const u=c=>{c.key!=="Enter"||!this.checkPressEnd()||Zu("up",(h,d)=>{const{onTap:m}=this.node.getProps();m&&oe.update(()=>m(h,d))})};this.removeEndListeners(),this.removeEndListeners=cr(this.node.current,"keyup",u),Zu("down",(c,h)=>{this.startPress(c,h)})},t=cr(this.node.current,"keydown",e),r=()=>{this.isPressing&&Zu("cancel",(o,u)=>this.cancelPress(o,u))},n=cr(this.node.current,"blur",r);this.removeAccessibleListeners=Zr(t,n)}}startPress(e,t){this.isPressing=!0;const{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&oe.update(()=>r(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Qv()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:r}=this.node.getProps();r&&oe.update(()=>r(e,t))}mount(){const e=this.node.getProps(),t=dr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=cr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Zr(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const af=new WeakMap,$u=new WeakMap,jS=A=>{const e=af.get(A.target);e&&e(A)},XS=A=>{A.forEach(jS)};function zS({root:A,...e}){const t=A||document;$u.has(t)||$u.set(t,{});const r=$u.get(t),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(XS,{root:A,...e})),r[n]}function JS(A,e,t){const r=zS(e);return af.set(A,t),r.observe(A),()=>{af.delete(A),r.unobserve(A)}}const YS={some:0,all:1};class ZS extends an{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:o}=e,u={root:t?t.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:YS[n]},c=h=>{const{isIntersecting:d}=h;if(this.isInView===d||(this.isInView=d,o&&!d&&this.hasEnteredView))return;d&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",d);const{onViewportEnter:m,onViewportLeave:y}=this.node.getProps(),w=d?m:y;w&&w(h)};return JS(this.node.current,u,c)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some($S(e,t))&&this.startObserver()}unmount(){}}function $S({viewport:A={}},{viewport:e={}}={}){return t=>A[t]!==e[t]}const qS={inView:{Feature:ZS},tap:{Feature:WS},focus:{Feature:GS},hover:{Feature:NS}};function Uv(A,e){if(!Array.isArray(e))return!1;const t=e.length;if(t!==A.length)return!1;for(let r=0;re[r]=t.get()),e}function eI(A){const e={};return A.values.forEach((t,r)=>e[r]=t.getVelocity()),e}function Kl(A,e,t){const r=A.getProps();return Ed(r,e,t!==void 0?t:r.custom,AI(A),eI(A))}const tI="framerAppearId",rI="data-"+Fd(tI);let nI=me,Sd=me;const $r=A=>A*1e3,hr=A=>A/1e3,iI={current:!1},Ev=A=>Array.isArray(A)&&typeof A[0]=="number";function Sv(A){return!!(!A||typeof A=="string"&&Iv[A]||Ev(A)||Array.isArray(A)&&A.every(Sv))}const Eo=([A,e,t,r])=>`cubic-bezier(${A}, ${e}, ${t}, ${r})`,Iv={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Eo([0,.65,.55,1]),circOut:Eo([.55,0,1,.45]),backIn:Eo([.31,.01,.66,-.59]),backOut:Eo([.33,1.53,.69,.99])};function Hv(A){if(A)return Ev(A)?Eo(A):Array.isArray(A)?A.map(Hv):Iv[A]}function oI(A,e,t,{delay:r=0,duration:n,repeat:o=0,repeatType:u="loop",ease:c,times:h}={}){const d={[e]:t};h&&(d.offset=h);const m=Hv(c);return Array.isArray(m)&&(d.easing=m),A.animate(d,{delay:r,duration:n,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:o+1,direction:u==="reverse"?"alternate":"normal"})}function aI(A,{repeat:e,repeatType:t="loop"}){const r=e&&t!=="loop"&&e%2===1?0:A.length-1;return A[r]}const xv=(A,e,t)=>(((1-3*t+3*e)*A+(3*t-6*e))*A+3*e)*A,sI=1e-7,lI=12;function uI(A,e,t,r,n){let o,u,c=0;do u=e+(t-e)/2,o=xv(u,r,n)-A,o>0?t=u:e=u;while(Math.abs(o)>sI&&++cuI(o,0,1,A,t);return o=>o===0||o===1?o:xv(n(o),e,r)}const cI=ga(.42,0,1,1),fI=ga(0,0,.58,1),bv=ga(.42,0,.58,1),dI=A=>Array.isArray(A)&&typeof A[0]!="number",Tv=A=>e=>e<=.5?A(2*e)/2:(2-A(2*(1-e)))/2,Lv=A=>e=>1-A(1-e),Dv=A=>1-Math.sin(Math.acos(A)),Id=Lv(Dv),hI=Tv(Id),Pv=ga(.33,1.53,.69,.99),Hd=Lv(Pv),gI=Tv(Hd),pI=A=>(A*=2)<1?.5*Hd(A):.5*(2-Math.pow(2,-10*(A-1))),BI={linear:me,easeIn:cI,easeInOut:bv,easeOut:fI,circIn:Dv,circInOut:hI,circOut:Id,backIn:Hd,backInOut:gI,backOut:Pv,anticipate:pI},Kp=A=>{if(Array.isArray(A)){Sd(A.length===4);const[e,t,r,n]=A;return ga(e,t,r,n)}else if(typeof A=="string")return BI[A];return A},xd=(A,e)=>t=>!!(da(t)&&gS.test(t)&&t.startsWith(A)||e&&Object.prototype.hasOwnProperty.call(t,e)),Ov=(A,e,t)=>r=>{if(!da(r))return r;const[n,o,u,c]=r.match(Ol);return{[A]:parseFloat(n),[e]:parseFloat(o),[t]:parseFloat(u),alpha:c!==void 0?parseFloat(c):1}},mI=A=>en(0,255,A),qu={..._n,transform:A=>Math.round(mI(A))},xn={test:xd("rgb","red"),parse:Ov("red","green","blue"),transform:({red:A,green:e,blue:t,alpha:r=1})=>"rgba("+qu.transform(A)+", "+qu.transform(e)+", "+qu.transform(t)+", "+ko(Oo.transform(r))+")"};function vI(A){let e="",t="",r="",n="";return A.length>5?(e=A.substring(1,3),t=A.substring(3,5),r=A.substring(5,7),n=A.substring(7,9)):(e=A.substring(1,2),t=A.substring(2,3),r=A.substring(3,4),n=A.substring(4,5),e+=e,t+=t,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}const sf={test:xd("#"),parse:vI,transform:xn.transform},vi={test:xd("hsl","hue"),parse:Ov("hue","saturation","lightness"),transform:({hue:A,saturation:e,lightness:t,alpha:r=1})=>"hsla("+Math.round(A)+", "+qt.transform(ko(e))+", "+qt.transform(ko(t))+", "+ko(Oo.transform(r))+")"},ze={test:A=>xn.test(A)||sf.test(A)||vi.test(A),parse:A=>xn.test(A)?xn.parse(A):vi.test(A)?vi.parse(A):sf.parse(A),transform:A=>da(A)?A:A.hasOwnProperty("red")?xn.transform(A):vi.transform(A)},ce=(A,e,t)=>-t*A+t*e+A;function Ac(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+(e-A)*6*t:t<1/2?e:t<2/3?A+(e-A)*(2/3-t)*6:A}function wI({hue:A,saturation:e,lightness:t,alpha:r}){A/=360,e/=100,t/=100;let n=0,o=0,u=0;if(!e)n=o=u=t;else{const c=t<.5?t*(1+e):t+e-t*e,h=2*t-c;n=Ac(h,c,A+1/3),o=Ac(h,c,A),u=Ac(h,c,A-1/3)}return{red:Math.round(n*255),green:Math.round(o*255),blue:Math.round(u*255),alpha:r}}const ec=(A,e,t)=>{const r=A*A;return Math.sqrt(Math.max(0,t*(e*e-r)+r))},yI=[sf,xn,vi],CI=A=>yI.find(e=>e.test(A));function Mp(A){const e=CI(A);let t=e.parse(A);return e===vi&&(t=wI(t)),t}const kv=(A,e)=>{const t=Mp(A),r=Mp(e),n={...t};return o=>(n.red=ec(t.red,r.red,o),n.green=ec(t.green,r.green,o),n.blue=ec(t.blue,r.blue,o),n.alpha=ce(t.alpha,r.alpha,o),xn.transform(n))};function QI(A){var e,t;return isNaN(A)&&da(A)&&(((e=A.match(Ol))===null||e===void 0?void 0:e.length)||0)+(((t=A.match(uv))===null||t===void 0?void 0:t.length)||0)>0}const Kv={regex:dS,countKey:"Vars",token:"${v}",parse:me},Mv={regex:uv,countKey:"Colors",token:"${c}",parse:ze.parse},Rv={regex:Ol,countKey:"Numbers",token:"${n}",parse:_n.parse};function tc(A,{regex:e,countKey:t,token:r,parse:n}){const o=A.tokenised.match(e);o&&(A["num"+t]=o.length,A.tokenised=A.tokenised.replace(e,r),A.values.push(...o.map(n)))}function cl(A){const e=A.toString(),t={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return t.value.includes("var(--")&&tc(t,Kv),tc(t,Mv),tc(t,Rv),t}function _v(A){return cl(A).values}function Vv(A){const{values:e,numColors:t,numVars:r,tokenised:n}=cl(A),o=e.length;return u=>{let c=n;for(let h=0;htypeof A=="number"?0:A;function UI(A){const e=_v(A);return Vv(A)(e.map(FI))}const tn={test:QI,parse:_v,createTransformer:Vv,getAnimatableNone:UI},Nv=(A,e)=>t=>`${t>0?e:A}`;function Gv(A,e){return typeof A=="number"?t=>ce(A,e,t):ze.test(A)?kv(A,e):A.startsWith("var(")?Nv(A,e):jv(A,e)}const Wv=(A,e)=>{const t=[...A],r=t.length,n=A.map((o,u)=>Gv(o,e[u]));return o=>{for(let u=0;u{const t={...A,...e},r={};for(const n in t)A[n]!==void 0&&e[n]!==void 0&&(r[n]=Gv(A[n],e[n]));return n=>{for(const o in r)t[o]=r[o](n);return t}},jv=(A,e)=>{const t=tn.createTransformer(e),r=cl(A),n=cl(e);return r.numVars===n.numVars&&r.numColors===n.numColors&&r.numNumbers>=n.numNumbers?Zr(Wv(r.values,n.values),t):Nv(A,e)},ia=(A,e,t)=>{const r=e-A;return r===0?1:(t-A)/r},Rp=(A,e)=>t=>ce(A,e,t);function SI(A){return typeof A=="number"?Rp:typeof A=="string"?ze.test(A)?kv:jv:Array.isArray(A)?Wv:typeof A=="object"?EI:Rp}function II(A,e,t){const r=[],n=t||SI(A[0]),o=A.length-1;for(let u=0;ue[0];A[0]>A[o-1]&&(A=[...A].reverse(),e=[...e].reverse());const u=II(e,r,n),c=u.length,h=d=>{let m=0;if(c>1)for(;mh(en(A[0],A[o-1],d)):h}function HI(A,e){const t=A[A.length-1];for(let r=1;r<=e;r++){const n=ia(0,e,r);A.push(ce(t,1,n))}}function xI(A){const e=[0];return HI(e,A.length-1),e}function bI(A,e){return A.map(t=>t*e)}function TI(A,e){return A.map(()=>e||bv).splice(0,A.length-1)}function fl({duration:A=300,keyframes:e,times:t,ease:r="easeInOut"}){const n=dI(r)?r.map(Kp):Kp(r),o={done:!1,value:e[0]},u=bI(t&&t.length===e.length?t:xI(e),A),c=Xv(u,e,{ease:Array.isArray(n)?n:TI(e,n)});return{calculatedDuration:A,next:h=>(o.value=c(h),o.done=h>=A,o)}}function zv(A,e){return e?A*(1e3/e):0}const LI=5;function Jv(A,e,t){const r=Math.max(e-LI,0);return zv(t-A(r),e-r)}const rc=.001,DI=.01,_p=10,PI=.05,OI=1;function kI({duration:A=800,bounce:e=.25,velocity:t=0,mass:r=1}){let n,o;nI(A<=$r(_p));let u=1-e;u=en(PI,OI,u),A=en(DI,_p,hr(A)),u<1?(n=d=>{const m=d*u,y=m*A,w=m-t,F=lf(d,u),U=Math.exp(-y);return rc-w/F*U},o=d=>{const y=d*u*A,w=y*t+t,F=Math.pow(u,2)*Math.pow(d,2)*A,U=Math.exp(-y),S=lf(Math.pow(d,2),u);return(-n(d)+rc>0?-1:1)*((w-F)*U)/S}):(n=d=>{const m=Math.exp(-d*A),y=(d-t)*A+1;return-rc+m*y},o=d=>{const m=Math.exp(-d*A),y=(t-d)*(A*A);return m*y});const c=5/A,h=MI(n,o,c);if(A=$r(A),isNaN(h))return{stiffness:100,damping:10,duration:A};{const d=Math.pow(h,2)*r;return{stiffness:d,damping:u*2*Math.sqrt(r*d),duration:A}}}const KI=12;function MI(A,e,t){let r=t;for(let n=1;nA[t]!==void 0)}function VI(A){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...A};if(!Vp(A,_I)&&Vp(A,RI)){const t=kI(A);e={...e,...t,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}function Yv({keyframes:A,restDelta:e,restSpeed:t,...r}){const n=A[0],o=A[A.length-1],u={done:!1,value:n},{stiffness:c,damping:h,mass:d,velocity:m,duration:y,isResolvedFromDuration:w}=VI(r),F=m?-hr(m):0,U=h/(2*Math.sqrt(c*d)),S=o-n,V=hr(Math.sqrt(c/d)),D=Math.abs(S)<5;t||(t=D?.01:2),e||(e=D?.005:.5);let E;if(U<1){const H=lf(V,U);E=I=>{const O=Math.exp(-U*V*I);return o-O*((F+U*V*S)/H*Math.sin(H*I)+S*Math.cos(H*I))}}else if(U===1)E=H=>o-Math.exp(-V*H)*(S+(F+V*S)*H);else{const H=V*Math.sqrt(U*U-1);E=I=>{const O=Math.exp(-U*V*I),v=Math.min(H*I,300);return o-O*((F+U*V*S)*Math.sinh(v)+H*S*Math.cosh(v))/H}}return{calculatedDuration:w&&y||null,next:H=>{const I=E(H);if(w)u.done=H>=y;else{let O=F;H!==0&&(U<1?O=Jv(E,H,I):O=0);const v=Math.abs(O)<=t,p=Math.abs(o-I)<=e;u.done=v&&p}return u.value=u.done?o:I,u}}}function Np({keyframes:A,velocity:e=0,power:t=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:o=500,modifyTarget:u,min:c,max:h,restDelta:d=.5,restSpeed:m}){const y=A[0],w={done:!1,value:y},F=g=>c!==void 0&&gh,U=g=>c===void 0?h:h===void 0||Math.abs(c-g)-S*Math.exp(-g/r),H=g=>D+E(g),I=g=>{const C=E(g),T=H(g);w.done=Math.abs(C)<=d,w.value=w.done?D:T};let O,v;const p=g=>{F(w.value)&&(O=g,v=Yv({keyframes:[w.value,U(w.value)],velocity:Jv(H,g,w.value),damping:n,stiffness:o,restDelta:d,restSpeed:m}))};return p(0),{calculatedDuration:null,next:g=>{let C=!1;return!v&&O===void 0&&(C=!0,I(g),p(g)),O!==void 0&&g>O?v.next(g-O):(!C&&I(g),w)}}}const NI=A=>{const e=({timestamp:t})=>A(t);return{start:()=>oe.update(e,!0),stop:()=>vr(e),now:()=>Te.isProcessing?Te.timestamp:performance.now()}},Gp=2e4;function Wp(A){let e=0;const t=50;let r=A.next(e);for(;!r.done&&e=Gp?1/0:e}const GI={decay:Np,inertia:Np,tween:fl,keyframes:fl,spring:Yv};function dl({autoplay:A=!0,delay:e=0,driver:t=NI,keyframes:r,type:n="keyframes",repeat:o=0,repeatDelay:u=0,repeatType:c="loop",onPlay:h,onStop:d,onComplete:m,onUpdate:y,...w}){let F=1,U=!1,S,V;const D=()=>{V=new Promise(eA=>{S=eA})};D();let E;const H=GI[n]||fl;let I;H!==fl&&typeof r[0]!="number"&&(I=Xv([0,100],r,{clamp:!1}),r=[0,100]);const O=H({...w,keyframes:r});let v;c==="mirror"&&(v=H({...w,keyframes:[...r].reverse(),velocity:-(w.velocity||0)}));let p="idle",g=null,C=null,T=null;O.calculatedDuration===null&&o&&(O.calculatedDuration=Wp(O));const{calculatedDuration:N}=O;let K=1/0,j=1/0;N!==null&&(K=N+u,j=K*(o+1)-u);let M=0;const L=eA=>{if(C===null)return;F>0&&(C=Math.min(C,eA)),F<0&&(C=Math.min(eA-j/F,C)),g!==null?M=g:M=Math.round(eA-C)*F;const rA=M-e*(F>=0?1:-1),fA=F>=0?rA<0:rA>j;M=Math.max(rA,0),p==="finished"&&g===null&&(M=j);let iA=M,q=O;if(o){const FA=M/K;let sA=Math.floor(FA),hA=FA%1;!hA&&FA>=1&&(hA=1),hA===1&&sA--,sA=Math.min(sA,o+1);const MA=!!(sA%2);MA&&(c==="reverse"?(hA=1-hA,u&&(hA-=u/K)):c==="mirror"&&(q=v));let P=en(0,1,hA);M>j&&(P=c==="reverse"&&MA?1:0),iA=P*K}const aA=fA?{done:!1,value:r[0]}:q.next(iA);I&&(aA.value=I(aA.value));let{done:dA}=aA;!fA&&N!==null&&(dA=F>=0?M>=j:M<=0);const QA=g===null&&(p==="finished"||p==="running"&&dA);return y&&y(aA.value),QA&&X(),aA},R=()=>{E&&E.stop(),E=void 0},z=()=>{p="idle",R(),S(),D(),C=T=null},X=()=>{p="finished",m&&m(),R(),S()},$=()=>{if(U)return;E||(E=t(L));const eA=E.now();h&&h(),g!==null?C=eA-g:(!C||p==="finished")&&(C=eA),p==="finished"&&D(),T=C,g=null,p="running",E.start()};A&&$();const Y={then(eA,rA){return V.then(eA,rA)},get time(){return hr(M)},set time(eA){eA=$r(eA),M=eA,g!==null||!E||F===0?g=eA:C=E.now()-eA/F},get duration(){const eA=O.calculatedDuration===null?Wp(O):O.calculatedDuration;return hr(eA)},get speed(){return F},set speed(eA){eA===F||!E||(F=eA,Y.time=hr(M))},get state(){return p},play:$,pause:()=>{p="paused",g=M},stop:()=>{U=!0,p!=="idle"&&(p="idle",d&&d(),z())},cancel:()=>{T!==null&&L(T),z()},complete:()=>{p="finished"},sample:eA=>(C=0,L(eA))};return Y}function WI(A){let e;return()=>(e===void 0&&(e=A()),e)}const jI=WI(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),XI=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ys=10,zI=2e4,JI=(A,e)=>e.type==="spring"||A==="backgroundColor"||!Sv(e.ease);function YI(A,e,{onUpdate:t,onComplete:r,...n}){if(!(jI()&&XI.has(e)&&!n.repeatDelay&&n.repeatType!=="mirror"&&n.damping!==0&&n.type!=="inertia"))return!1;let u=!1,c,h;const d=()=>{h=new Promise(E=>{c=E})};d();let{keyframes:m,duration:y=300,ease:w,times:F}=n;if(JI(e,n)){const E=dl({...n,repeat:0,delay:0});let H={done:!1,value:m[0]};const I=[];let O=0;for(;!H.done&&OU.cancel(),V=()=>{oe.update(S),c(),d()};return U.onfinish=()=>{A.set(aI(m,n)),r&&r(),V()},{then(E,H){return h.then(E,H)},attachTimeline(E){return U.timeline=E,U.onfinish=null,me},get time(){return hr(U.currentTime||0)},set time(E){U.currentTime=$r(E)},get speed(){return U.playbackRate},set speed(E){U.playbackRate=E},get duration(){return hr(y)},play:()=>{u||(U.play(),vr(S))},pause:()=>U.pause(),stop:()=>{if(u=!0,U.playState==="idle")return;const{currentTime:E}=U;if(E){const H=dl({...n,autoplay:!1});A.setWithVelocity(H.sample(E-ys).value,H.sample(E).value,ys)}V()},complete:()=>U.finish(),cancel:V}}function ZI({keyframes:A,delay:e,onUpdate:t,onComplete:r}){const n=()=>(t&&t(A[A.length-1]),r&&r(),{time:0,speed:1,duration:0,play:me,pause:me,stop:me,then:o=>(o(),Promise.resolve()),cancel:me,complete:me});return e?dl({keyframes:[0,1],duration:0,delay:e,onComplete:n}):n()}const $I={type:"spring",stiffness:500,damping:25,restSpeed:10},qI=A=>({type:"spring",stiffness:550,damping:A===0?2*Math.sqrt(550):30,restSpeed:10}),AH={type:"keyframes",duration:.8},eH={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},tH=(A,{keyframes:e})=>e.length>2?AH:Rn.has(A)?A.startsWith("scale")?qI(e[1]):$I:eH,uf=(A,e)=>A==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(tn.test(e)||e==="0")&&!e.startsWith("url(")),rH=new Set(["brightness","contrast","saturate","opacity"]);function nH(A){const[e,t]=A.slice(0,-1).split("(");if(e==="drop-shadow")return A;const[r]=t.match(Ol)||[];if(!r)return A;const n=t.replace(r,"");let o=rH.has(e)?1:0;return r!==t&&(o*=100),e+"("+o+n+")"}const iH=/([a-z-]*)\(.*?\)/g,cf={...tn,getAnimatableNone:A=>{const e=A.match(iH);return e?e.map(nH).join(" "):A}},oH={...cv,color:ze,backgroundColor:ze,outlineColor:ze,fill:ze,stroke:ze,borderColor:ze,borderTopColor:ze,borderRightColor:ze,borderBottomColor:ze,borderLeftColor:ze,filter:cf,WebkitFilter:cf},bd=A=>oH[A];function Zv(A,e){let t=bd(A);return t!==cf&&(t=tn),t.getAnimatableNone?t.getAnimatableNone(e):void 0}const $v=A=>/^0[^.\s]+$/.test(A);function aH(A){if(typeof A=="number")return A===0;if(A!==null)return A==="none"||A==="0"||$v(A)}function sH(A,e,t,r){const n=uf(e,t);let o;Array.isArray(t)?o=[...t]:o=[null,t];const u=r.from!==void 0?r.from:A.get();let c;const h=[];for(let d=0;dn=>{const o=qv(r,A)||{},u=o.delay||r.delay||0;let{elapsed:c=0}=r;c=c-$r(u);const h=sH(e,A,t,o),d=h[0],m=h[h.length-1],y=uf(A,d),w=uf(A,m);let F={keyframes:h,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-c,onUpdate:U=>{e.set(U),o.onUpdate&&o.onUpdate(U)},onComplete:()=>{n(),o.onComplete&&o.onComplete()}};if(lH(o)||(F={...F,...tH(A,F)}),F.duration&&(F.duration=$r(F.duration)),F.repeatDelay&&(F.repeatDelay=$r(F.repeatDelay)),!y||!w||iI.current||o.type===!1)return ZI(F);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const U=YI(e,A,F);if(U)return U}return dl(F)};function hl(A){return!!(st(A)&&A.add)}const Aw=A=>/^\-?\d*\.?\d+$/.test(A);function Ld(A,e){A.indexOf(e)===-1&&A.push(e)}function Dd(A,e){const t=A.indexOf(e);t>-1&&A.splice(t,1)}class Pd{constructor(){this.subscriptions=[]}add(e){return Ld(this.subscriptions,e),()=>Dd(this.subscriptions,e)}notify(e,t,r){const n=this.subscriptions.length;if(n)if(n===1)this.subscriptions[0](e,t,r);else for(let o=0;o!isNaN(parseFloat(A));class cH{constructor(e,t={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,n=!0)=>{this.prev=this.current,this.current=r;const{delta:o,timestamp:u}=Te;this.lastUpdated!==u&&(this.timeDelta=o,this.lastUpdated=u,oe.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>oe.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=uH(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Pd);const r=this.events[e].add(t);return e==="change"?()=>{r(),oe.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){!t||!this.passiveEffect?this.updateAndNotify(e,t):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,t,r){this.set(t),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?zv(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Pi(A,e){return new cH(A,e)}const ew=A=>e=>e.test(A),fH={test:A=>A==="auto",parse:A=>A},tw=[_n,LA,qt,Pr,BS,pS,fH],mo=A=>tw.find(ew(A)),dH=[...tw,ze,tn],hH=A=>dH.find(ew(A));function gH(A,e,t){A.hasValue(e)?A.getValue(e).set(t):A.addValue(e,Pi(t))}function pH(A,e){const t=Kl(A,e);let{transitionEnd:r={},transition:n={},...o}=t?A.makeTargetAnimatable(t,!1):{};o={...o,...r};for(const u in o){const c=TS(o[u]);gH(A,u,c)}}function BH(A,e,t){var r,n;const o=Object.keys(e).filter(c=>!A.hasValue(c)),u=o.length;if(u)for(let c=0;ch.remove(y))),d.push(S)}return u&&Promise.all(d).then(()=>{u&&pH(A,u)}),d}function ff(A,e,t={}){const r=Kl(A,e,t.custom);let{transition:n=A.getDefaultTransition()||{}}=r||{};t.transitionOverride&&(n=t.transitionOverride);const o=r?()=>Promise.all(rw(A,r,t)):()=>Promise.resolve(),u=A.variantChildren&&A.variantChildren.size?(h=0)=>{const{delayChildren:d=0,staggerChildren:m,staggerDirection:y}=n;return yH(A,e,d+h,m,y,t)}:()=>Promise.resolve(),{when:c}=n;if(c){const[h,d]=c==="beforeChildren"?[o,u]:[u,o];return h().then(()=>d())}else return Promise.all([o(),u(t.delay)])}function yH(A,e,t=0,r=0,n=1,o){const u=[],c=(A.variantChildren.size-1)*r,h=n===1?(d=0)=>d*r:(d=0)=>c-d*r;return Array.from(A.variantChildren).sort(CH).forEach((d,m)=>{d.notify("AnimationStart",e),u.push(ff(d,e,{...o,delay:t+h(m)}).then(()=>d.notify("AnimationComplete",e)))}),Promise.all(u)}function CH(A,e){return A.sortNodePosition(e)}function QH(A,e,t={}){A.notify("AnimationStart",e);let r;if(Array.isArray(e)){const n=e.map(o=>ff(A,o,t));r=Promise.all(n)}else if(typeof e=="string")r=ff(A,e,t);else{const n=typeof e=="function"?Kl(A,e,t.custom):e;r=Promise.all(rw(A,n,t))}return r.then(()=>A.notify("AnimationComplete",e))}const FH=[...Bd].reverse(),UH=Bd.length;function EH(A){return e=>Promise.all(e.map(({animation:t,options:r})=>QH(A,t,r)))}function SH(A){let e=EH(A);const t=HH();let r=!0;const n=(h,d)=>{const m=Kl(A,d);if(m){const{transition:y,transitionEnd:w,...F}=m;h={...h,...F,...w}}return h};function o(h){e=h(A)}function u(h,d){const m=A.getProps(),y=A.getVariantContext(!0)||{},w=[],F=new Set;let U={},S=1/0;for(let D=0;DS&&O;const T=Array.isArray(I)?I:[I];let N=T.reduce(n,{});v===!1&&(N={});const{prevResolvedValues:K={}}=H,j={...K,...N},M=L=>{C=!0,F.delete(L),H.needsAnimating[L]=!0};for(const L in j){const R=N[L],z=K[L];U.hasOwnProperty(L)||(R!==z?ul(R)&&ul(z)?!Uv(R,z)||g?M(L):H.protectedKeys[L]=!0:R!==void 0?M(L):F.add(L):R!==void 0&&F.has(L)?M(L):H.protectedKeys[L]=!0)}H.prevProp=I,H.prevResolvedValues=N,H.isActive&&(U={...U,...N}),r&&A.blockInitialAnimation&&(C=!1),C&&!p&&w.push(...T.map(L=>({animation:L,options:{type:E,...h}})))}if(F.size){const D={};F.forEach(E=>{const H=A.getBaseTarget(E);H!==void 0&&(D[E]=H)}),w.push({animation:D})}let V=!!w.length;return r&&m.initial===!1&&!A.manuallyAnimateOnMount&&(V=!1),r=!1,V?e(w):Promise.resolve()}function c(h,d,m){var y;if(t[h].isActive===d)return Promise.resolve();(y=A.variantChildren)===null||y===void 0||y.forEach(F=>{var U;return(U=F.animationState)===null||U===void 0?void 0:U.setActive(h,d)}),t[h].isActive=d;const w=u(m,h);for(const F in t)t[F].protectedKeys={};return w}return{animateChanges:u,setActive:c,setAnimateFunction:o,getState:()=>t}}function IH(A,e){return typeof e=="string"?e!==A:Array.isArray(e)?!Uv(e,A):!1}function Cn(A=!1){return{isActive:A,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function HH(){return{animate:Cn(!0),whileInView:Cn(),whileHover:Cn(),whileTap:Cn(),whileDrag:Cn(),whileFocus:Cn(),exit:Cn()}}class xH extends an{constructor(e){super(e),e.animationState||(e.animationState=SH(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();this.unmount(),Dl(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let bH=0;class TH extends an{constructor(){super(...arguments),this.id=bH++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const o=this.node.animationState.setActive("exit",!e,{custom:r??this.node.getProps().custom});t&&!e&&o.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const LH={animation:{Feature:xH},exit:{Feature:TH}},jp=(A,e)=>Math.abs(A-e);function DH(A,e){const t=jp(A.x,e.x),r=jp(A.y,e.y);return Math.sqrt(t**2+r**2)}class nw{constructor(e,t,{transformPagePoint:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=ic(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,y=DH(d.offset,{x:0,y:0})>=3;if(!m&&!y)return;const{point:w}=d,{timestamp:F}=Te;this.history.push({...w,timestamp:F});const{onStart:U,onMove:S}=this.handlers;m||(U&&U(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),S&&S(this.lastMoveEvent,d)},this.handlePointerMove=(d,m)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=nc(m,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(d,m)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const{onEnd:y,onSessionEnd:w}=this.handlers,F=ic(d.type==="pointercancel"?this.lastMoveEventInfo:nc(m,this.transformPagePoint),this.history);this.startEvent&&y&&y(d,F),w&&w(d,F)},!wv(e))return;this.handlers=t,this.transformPagePoint=r;const n=kl(e),o=nc(n,this.transformPagePoint),{point:u}=o,{timestamp:c}=Te;this.history=[{...u,timestamp:c}];const{onSessionStart:h}=t;h&&h(e,ic(o,this.history)),this.removeListeners=Zr(dr(window,"pointermove",this.handlePointerMove),dr(window,"pointerup",this.handlePointerUp),dr(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),vr(this.updatePoint)}}function nc(A,e){return e?{point:e(A.point)}:A}function Xp(A,e){return{x:A.x-e.x,y:A.y-e.y}}function ic({point:A},e){return{point:A,delta:Xp(A,iw(e)),offset:Xp(A,PH(e)),velocity:OH(e,.1)}}function PH(A){return A[0]}function iw(A){return A[A.length-1]}function OH(A,e){if(A.length<2)return{x:0,y:0};let t=A.length-1,r=null;const n=iw(A);for(;t>=0&&(r=A[t],!(n.timestamp-r.timestamp>$r(e)));)t--;if(!r)return{x:0,y:0};const o=hr(n.timestamp-r.timestamp);if(o===0)return{x:0,y:0};const u={x:(n.x-r.x)/o,y:(n.y-r.y)/o};return u.x===1/0&&(u.x=0),u.y===1/0&&(u.y=0),u}function gt(A){return A.max-A.min}function df(A,e=0,t=.01){return Math.abs(A-e)<=t}function zp(A,e,t,r=.5){A.origin=r,A.originPoint=ce(e.min,e.max,A.origin),A.scale=gt(t)/gt(e),(df(A.scale,1,1e-4)||isNaN(A.scale))&&(A.scale=1),A.translate=ce(t.min,t.max,A.origin)-A.originPoint,(df(A.translate)||isNaN(A.translate))&&(A.translate=0)}function Ko(A,e,t,r){zp(A.x,e.x,t.x,r?r.originX:void 0),zp(A.y,e.y,t.y,r?r.originY:void 0)}function Jp(A,e,t){A.min=t.min+e.min,A.max=A.min+gt(e)}function kH(A,e,t){Jp(A.x,e.x,t.x),Jp(A.y,e.y,t.y)}function Yp(A,e,t){A.min=e.min-t.min,A.max=A.min+gt(e)}function Mo(A,e,t){Yp(A.x,e.x,t.x),Yp(A.y,e.y,t.y)}function KH(A,{min:e,max:t},r){return e!==void 0&&At&&(A=r?ce(t,A,r.max):Math.min(A,t)),A}function Zp(A,e,t){return{min:e!==void 0?A.min+e:void 0,max:t!==void 0?A.max+t-(A.max-A.min):void 0}}function MH(A,{top:e,left:t,bottom:r,right:n}){return{x:Zp(A.x,t,n),y:Zp(A.y,e,r)}}function $p(A,e){let t=e.min-A.min,r=e.max-A.max;return e.max-e.minr?t=ia(e.min,e.max-r,A.min):r>n&&(t=ia(A.min,A.max-n,e.min)),en(0,1,t)}function VH(A,e){const t={};return e.min!==void 0&&(t.min=e.min-A.min),e.max!==void 0&&(t.max=e.max-A.min),t}const hf=.35;function NH(A=hf){return A===!1?A=0:A===!0&&(A=hf),{x:qp(A,"left","right"),y:qp(A,"top","bottom")}}function qp(A,e,t){return{min:AB(A,e),max:AB(A,t)}}function AB(A,e){return typeof A=="number"?A:A[e]||0}const eB=()=>({translate:0,scale:1,origin:0,originPoint:0}),wi=()=>({x:eB(),y:eB()}),tB=()=>({min:0,max:0}),Qe=()=>({x:tB(),y:tB()});function Jt(A){return[A("x"),A("y")]}function ow({top:A,left:e,right:t,bottom:r}){return{x:{min:e,max:t},y:{min:A,max:r}}}function GH({x:A,y:e}){return{top:e.min,right:A.max,bottom:e.max,left:A.min}}function WH(A,e){if(!e)return A;const t=e({x:A.left,y:A.top}),r=e({x:A.right,y:A.bottom});return{top:t.y,left:t.x,bottom:r.y,right:r.x}}function oc(A){return A===void 0||A===1}function gf({scale:A,scaleX:e,scaleY:t}){return!oc(A)||!oc(e)||!oc(t)}function Un(A){return gf(A)||aw(A)||A.z||A.rotate||A.rotateX||A.rotateY}function aw(A){return rB(A.x)||rB(A.y)}function rB(A){return A&&A!=="0%"}function gl(A,e,t){const r=A-t,n=e*r;return t+n}function nB(A,e,t,r,n){return n!==void 0&&(A=gl(A,n,r)),gl(A,t,r)+e}function pf(A,e=0,t=1,r,n){A.min=nB(A.min,e,t,r,n),A.max=nB(A.max,e,t,r,n)}function sw(A,{x:e,y:t}){pf(A.x,e.translate,e.scale,e.originPoint),pf(A.y,t.translate,t.scale,t.originPoint)}function jH(A,e,t,r=!1){const n=t.length;if(!n)return;e.x=e.y=1;let o,u;for(let c=0;c1.0000000000001||A<.999999999999?A:1}function Kr(A,e){A.min=A.min+e,A.max=A.max+e}function oB(A,e,[t,r,n]){const o=e[n]!==void 0?e[n]:.5,u=ce(A.min,A.max,o);pf(A,e[t],e[r],u,e.scale)}const XH=["x","scaleX","originX"],zH=["y","scaleY","originY"];function yi(A,e){oB(A.x,e,XH),oB(A.y,e,zH)}function lw(A,e){return ow(WH(A.getBoundingClientRect(),e))}function JH(A,e,t){const r=lw(A,t),{scroll:n}=e;return n&&(Kr(r.x,n.offset.x),Kr(r.y,n.offset.y)),r}const YH=new WeakMap;class ZH{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Qe(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const n=h=>{this.stopAnimation(),t&&this.snapToCursor(kl(h,"page").point)},o=(h,d)=>{const{drag:m,dragPropagation:y,onDragStart:w}=this.getProps();if(m&&!y&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Cv(m),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Jt(U=>{let S=this.getAxisMotionValue(U).get()||0;if(qt.test(S)){const{projection:V}=this.visualElement;if(V&&V.layout){const D=V.layout.layoutBox[U];D&&(S=gt(D)*(parseFloat(S)/100))}}this.originPoint[U]=S}),w&&oe.update(()=>w(h,d),!1,!0);const{animationState:F}=this.visualElement;F&&F.setActive("whileDrag",!0)},u=(h,d)=>{const{dragPropagation:m,dragDirectionLock:y,onDirectionLock:w,onDrag:F}=this.getProps();if(!m&&!this.openGlobalLock)return;const{offset:U}=d;if(y&&this.currentDirection===null){this.currentDirection=$H(U),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",d.point,U),this.updateAxis("y",d.point,U),this.visualElement.render(),F&&F(h,d)},c=(h,d)=>this.stop(h,d);this.panSession=new nw(e,{onSessionStart:n,onStart:o,onMove:u,onSessionEnd:c},{transformPagePoint:this.visualElement.getTransformPagePoint()})}stop(e,t){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:n}=t;this.startAnimation(n);const{onDragEnd:o}=this.getProps();o&&oe.update(()=>o(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){const{drag:n}=this.getProps();if(!r||!Cs(e,n,this.currentDirection))return;const o=this.getAxisMotionValue(e);let u=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(u=KH(u,this.constraints[e],this.elastic[e])),o.set(u)}resolveConstraints(){const{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:r}=this.visualElement.projection||{},n=this.constraints;e&&mi(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=MH(r.layoutBox,e):this.constraints=!1,this.elastic=NH(t),n!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Jt(o=>{this.getAxisMotionValue(o)&&(this.constraints[o]=VH(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!mi(e))return!1;const r=e.current,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const o=JH(r,n.root,this.visualElement.getTransformPagePoint());let u=RH(n.layout.layoutBox,o);if(t){const c=t(GH(u));this.hasMutatedConstraints=!!c,c&&(u=ow(c))}return u}startAnimation(e){const{drag:t,dragMomentum:r,dragElastic:n,dragTransition:o,dragSnapToOrigin:u,onDragTransitionEnd:c}=this.getProps(),h=this.constraints||{},d=Jt(m=>{if(!Cs(m,t,this.currentDirection))return;let y=h&&h[m]||{};u&&(y={min:0,max:0});const w=n?200:1e6,F=n?40:1e7,U={type:"inertia",velocity:r?e[m]:0,bounceStiffness:w,bounceDamping:F,timeConstant:750,restDelta:1,restSpeed:10,...o,...y};return this.startAxisValueAnimation(m,U)});return Promise.all(d).then(c)}startAxisValueAnimation(e,t){const r=this.getAxisMotionValue(e);return r.start(Td(e,r,0,t))}stopAnimation(){Jt(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){const t="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[t];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Jt(t=>{const{drag:r}=this.getProps();if(!Cs(t,r,this.currentDirection))return;const{projection:n}=this.visualElement,o=this.getAxisMotionValue(t);if(n&&n.layout){const{min:u,max:c}=n.layout.layoutBox[t];o.set(e[t]-ce(u,c,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!mi(t)||!r||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};Jt(u=>{const c=this.getAxisMotionValue(u);if(c){const h=c.get();n[u]=_H({min:h,max:h},this.constraints[u])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Jt(u=>{if(!Cs(u,e,null))return;const c=this.getAxisMotionValue(u),{min:h,max:d}=this.constraints[u];c.set(ce(h,d,n[u]))})}addListeners(){if(!this.visualElement.current)return;YH.set(this.visualElement,this);const e=this.visualElement.current,t=dr(e,"pointerdown",h=>{const{drag:d,dragListener:m=!0}=this.getProps();d&&m&&this.start(h)}),r=()=>{const{dragConstraints:h}=this.getProps();mi(h)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,o=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();const u=cr(window,"resize",()=>this.scalePositionWithinConstraints()),c=n.addEventListener("didUpdate",({delta:h,hasLayoutChanged:d})=>{this.isDragging&&d&&(Jt(m=>{const y=this.getAxisMotionValue(m);y&&(this.originPoint[m]+=h[m].translate,y.set(y.get()+h[m].translate))}),this.visualElement.render())});return()=>{u(),t(),o(),c&&c()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:o=!1,dragElastic:u=hf,dragMomentum:c=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:o,dragElastic:u,dragMomentum:c}}}function Cs(A,e,t){return(e===!0||e===A)&&(t===null||t===A)}function $H(A,e=10){let t=null;return Math.abs(A.y)>e?t="y":Math.abs(A.x)>e&&(t="x"),t}class qH extends an{constructor(e){super(e),this.removeGroupControls=me,this.removeListeners=me,this.controls=new ZH(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||me}unmount(){this.removeGroupControls(),this.removeListeners()}}const aB=A=>(e,t)=>{A&&oe.update(()=>A(e,t))};class Ax extends an{constructor(){super(...arguments),this.removePointerDownListener=me}onPointerDown(e){this.session=new nw(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:aB(e),onStart:aB(t),onMove:r,onEnd:(o,u)=>{delete this.session,n&&oe.update(()=>n(o,u))}}}mount(){this.removePointerDownListener=dr(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function ex(){const A=pA.useContext(pd);if(A===null)return[!0,null];const{isPresent:e,onExitComplete:t,register:r}=A,n=pA.useId();return pA.useEffect(()=>r(n),[]),!e&&t?[!1,()=>t&&t(n)]:[!0]}const ks={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function sB(A,e){return e.max===e.min?0:A/(e.max-e.min)*100}const vo={correct:(A,e)=>{if(!e.target)return A;if(typeof A=="string")if(LA.test(A))A=parseFloat(A);else return A;const t=sB(A,e.target.x),r=sB(A,e.target.y);return`${t}% ${r}%`}},tx={correct:(A,{treeScale:e,projectionDelta:t})=>{const r=A,n=tn.parse(A);if(n.length>5)return r;const o=tn.createTransformer(A),u=typeof n[0]!="number"?1:0,c=t.x.scale*e.x,h=t.y.scale*e.y;n[0+u]/=c,n[1+u]/=h;const d=ce(c,h,.5);return typeof n[2+u]=="number"&&(n[2+u]/=d),typeof n[3+u]=="number"&&(n[3+u]/=d),o(n)}};class rx extends Uf.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:o}=e;lS(nx),o&&(t.group&&t.group.add(o),r&&r.register&&n&&r.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",()=>{this.safeToRemove()}),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),ks.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:r,drag:n,isPresent:o}=this.props,u=r.projection;return u&&(u.isPresent=o,n||e.layoutDependency!==t||t===void 0?u.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?u.promote():u.relegate()||oe.postRender(()=>{const c=u.getStack();(!c||!c.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function uw(A){const[e,t]=ex(),r=pA.useContext(iv);return Uf.createElement(rx,{...A,layoutGroup:r,switchLayoutGroup:pA.useContext(ov),isPresent:e,safeToRemove:t})}const nx={borderRadius:{...vo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:vo,borderTopRightRadius:vo,borderBottomLeftRadius:vo,borderBottomRightRadius:vo,boxShadow:tx},cw=["TopLeft","TopRight","BottomLeft","BottomRight"],ix=cw.length,lB=A=>typeof A=="string"?parseFloat(A):A,uB=A=>typeof A=="number"||LA.test(A);function ox(A,e,t,r,n,o){n?(A.opacity=ce(0,t.opacity!==void 0?t.opacity:1,ax(r)),A.opacityExit=ce(e.opacity!==void 0?e.opacity:1,0,sx(r))):o&&(A.opacity=ce(e.opacity!==void 0?e.opacity:1,t.opacity!==void 0?t.opacity:1,r));for(let u=0;ure?1:t(ia(A,e,r))}function fB(A,e){A.min=e.min,A.max=e.max}function Ft(A,e){fB(A.x,e.x),fB(A.y,e.y)}function dB(A,e,t,r,n){return A-=e,A=gl(A,1/t,r),n!==void 0&&(A=gl(A,1/n,r)),A}function lx(A,e=0,t=1,r=.5,n,o=A,u=A){if(qt.test(e)&&(e=parseFloat(e),e=ce(u.min,u.max,e/100)-u.min),typeof e!="number")return;let c=ce(o.min,o.max,r);A===o&&(c-=e),A.min=dB(A.min,e,t,c,n),A.max=dB(A.max,e,t,c,n)}function hB(A,e,[t,r,n],o,u){lx(A,e[t],e[r],e[n],e.scale,o,u)}const ux=["x","scaleX","originX"],cx=["y","scaleY","originY"];function gB(A,e,t,r){hB(A.x,e,ux,t?t.x:void 0,r?r.x:void 0),hB(A.y,e,cx,t?t.y:void 0,r?r.y:void 0)}function pB(A){return A.translate===0&&A.scale===1}function dw(A){return pB(A.x)&&pB(A.y)}function fx(A,e){return A.x.min===e.x.min&&A.x.max===e.x.max&&A.y.min===e.y.min&&A.y.max===e.y.max}function hw(A,e){return Math.round(A.x.min)===Math.round(e.x.min)&&Math.round(A.x.max)===Math.round(e.x.max)&&Math.round(A.y.min)===Math.round(e.y.min)&&Math.round(A.y.max)===Math.round(e.y.max)}function BB(A){return gt(A.x)/gt(A.y)}class dx{constructor(){this.members=[]}add(e){Ld(this.members,e),e.scheduleRender()}remove(e){if(Dd(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(e){const t=this.members.findIndex(n=>e===n);if(t===0)return!1;let r;for(let n=t;n>=0;n--){const o=this.members[n];if(o.isPresent!==!1){r=o;break}}return r?(this.promote(r),!0):!1}promote(e,t){const r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:n}=e.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mB(A,e,t){let r="";const n=A.x.translate/e.x,o=A.y.translate/e.y;if((n||o)&&(r=`translate3d(${n}px, ${o}px, 0) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),t){const{rotate:h,rotateX:d,rotateY:m}=t;h&&(r+=`rotate(${h}deg) `),d&&(r+=`rotateX(${d}deg) `),m&&(r+=`rotateY(${m}deg) `)}const u=A.x.scale*e.x,c=A.y.scale*e.y;return(u!==1||c!==1)&&(r+=`scale(${u}, ${c})`),r||"none"}const hx=(A,e)=>A.depth-e.depth;class gx{constructor(){this.children=[],this.isDirty=!1}add(e){Ld(this.children,e),this.isDirty=!0}remove(e){Dd(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(hx),this.isDirty=!1,this.children.forEach(e)}}function px(A,e){const t=performance.now(),r=({timestamp:n})=>{const o=n-t;o>=e&&(vr(r),A(o-e))};return oe.read(r,!0),()=>vr(r)}function Bx(A){window.MotionDebug&&window.MotionDebug.record(A)}function mx(A){return A instanceof SVGElement&&A.tagName!=="svg"}function vx(A,e,t){const r=st(A)?A:Pi(A);return r.start(Td("",r,e,t)),r.animation}const vB=["","X","Y","Z"],wB=1e3;let wx=0;const En={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function gw({attachResizeListener:A,defaultParent:e,measureScroll:t,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(u={},c=e==null?void 0:e()){this.id=wx++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{En.totalNodes=En.resolvedTargetDeltas=En.recalculatedProjection=0,this.nodes.forEach(Qx),this.nodes.forEach(Ix),this.nodes.forEach(Hx),this.nodes.forEach(Fx),Bx(En)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=u,this.root=c?c.root||c:this,this.path=c?[...c.path,c]:[],this.parent=c,this.depth=c?c.depth+1:0;for(let h=0;hthis.root.updateBlockedByResize=!1;A(u,()=>{this.root.updateBlockedByResize=!0,y&&y(),y=px(w,250),ks.hasAnimatedSinceResize&&(ks.hasAnimatedSinceResize=!1,this.nodes.forEach(CB))})}h&&this.root.registerSharedNode(h,this),this.options.animate!==!1&&m&&(h||d)&&this.addEventListener("didUpdate",({delta:y,hasLayoutChanged:w,hasRelativeTargetChanged:F,layout:U})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const S=this.options.transition||m.getDefaultTransition()||Dx,{onLayoutAnimationStart:V,onLayoutAnimationComplete:D}=m.getProps(),E=!this.targetLayout||!hw(this.targetLayout,U)||F,H=!w&&F;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||H||w&&(E||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(y,H);const I={...qv(S,"layout"),onPlay:V,onComplete:D};(m.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I)}else w||CB(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=U})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const u=this.getStack();u&&u.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,vr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xx),this.animationId++)}getTransformTemplate(){const{visualElement:u}=this.options;return u&&u.getProps().transformTemplate}willUpdate(u=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let m=0;mthis.update()))}clearAllSnapshots(){this.nodes.forEach(Ux),this.sharedNodes.forEach(bx)}scheduleUpdateProjection(){oe.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let h=0;h{const O=I/1e3;QB(y.x,u.x,O),QB(y.y,u.y,O),this.setTargetDelta(y),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Mo(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Tx(this.relativeTarget,this.relativeTargetOrigin,w,O),H&&fx(this.relativeTarget,H)&&(this.isProjectionDirty=!1),H||(H=Qe()),Ft(H,this.relativeTarget)),S&&(this.animationValues=m,ox(m,d,this.latestValues,O,E,D)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=O},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(u){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(vr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{ks.hasAnimatedSinceResize=!0,this.currentAnimation=vx(0,wB,{...u,onUpdate:c=>{this.mixTargetDelta(c),u.onUpdate&&u.onUpdate(c)},onComplete:()=>{u.onComplete&&u.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const u=this.getStack();u&&u.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(wB),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const u=this.getLead();let{targetWithTransforms:c,target:h,layout:d,latestValues:m}=u;if(!(!c||!h||!d)){if(this!==u&&this.layout&&d&&pw(this.options.animationType,this.layout.layoutBox,d.layoutBox)){h=this.target||Qe();const y=gt(this.layout.layoutBox.x);h.x.min=u.target.x.min,h.x.max=h.x.min+y;const w=gt(this.layout.layoutBox.y);h.y.min=u.target.y.min,h.y.max=h.y.min+w}Ft(c,h),yi(c,m),Ko(this.projectionDeltaWithTransform,this.layoutCorrected,c,m)}}registerSharedNode(u,c){this.sharedNodes.has(u)||this.sharedNodes.set(u,new dx),this.sharedNodes.get(u).add(c);const d=c.options.initialPromotionConfig;c.promote({transition:d?d.transition:void 0,preserveFollowOpacity:d&&d.shouldPreserveFollowOpacity?d.shouldPreserveFollowOpacity(c):void 0})}isLead(){const u=this.getStack();return u?u.lead===this:!0}getLead(){var u;const{layoutId:c}=this.options;return c?((u=this.getStack())===null||u===void 0?void 0:u.lead)||this:this}getPrevLead(){var u;const{layoutId:c}=this.options;return c?(u=this.getStack())===null||u===void 0?void 0:u.prevLead:void 0}getStack(){const{layoutId:u}=this.options;if(u)return this.root.sharedNodes.get(u)}promote({needsReset:u,transition:c,preserveFollowOpacity:h}={}){const d=this.getStack();d&&d.promote(this,h),u&&(this.projectionDelta=void 0,this.needsReset=!0),c&&this.setOptions({transition:c})}relegate(){const u=this.getStack();return u?u.relegate(this):!1}resetRotation(){const{visualElement:u}=this.options;if(!u)return;let c=!1;const{latestValues:h}=u;if((h.rotate||h.rotateX||h.rotateY||h.rotateZ)&&(c=!0),!c)return;const d={};for(let m=0;m{var c;return(c=u.currentAnimation)===null||c===void 0?void 0:c.stop()}),this.root.nodes.forEach(yB),this.root.sharedNodes.clear()}}}function yx(A){A.updateLayout()}function Cx(A){var e;const t=((e=A.resumeFrom)===null||e===void 0?void 0:e.snapshot)||A.snapshot;if(A.isLead()&&A.layout&&t&&A.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:n}=A.layout,{animationType:o}=A.options,u=t.source!==A.layout.source;o==="size"?Jt(y=>{const w=u?t.measuredBox[y]:t.layoutBox[y],F=gt(w);w.min=r[y].min,w.max=w.min+F}):pw(o,t.layoutBox,r)&&Jt(y=>{const w=u?t.measuredBox[y]:t.layoutBox[y],F=gt(r[y]);w.max=w.min+F,A.relativeTarget&&!A.currentAnimation&&(A.isProjectionDirty=!0,A.relativeTarget[y].max=A.relativeTarget[y].min+F)});const c=wi();Ko(c,r,t.layoutBox);const h=wi();u?Ko(h,A.applyTransform(n,!0),t.measuredBox):Ko(h,r,t.layoutBox);const d=!dw(c);let m=!1;if(!A.resumeFrom){const y=A.getClosestProjectingParent();if(y&&!y.resumeFrom){const{snapshot:w,layout:F}=y;if(w&&F){const U=Qe();Mo(U,t.layoutBox,w.layoutBox);const S=Qe();Mo(S,r,F.layoutBox),hw(U,S)||(m=!0),y.options.layoutRoot&&(A.relativeTarget=S,A.relativeTargetOrigin=U,A.relativeParent=y)}}}A.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:h,layoutDelta:c,hasLayoutChanged:d,hasRelativeTargetChanged:m})}else if(A.isLead()){const{onExitComplete:r}=A.options;r&&r()}A.options.transition=void 0}function Qx(A){En.totalNodes++,A.parent&&(A.isProjecting()||(A.isProjectionDirty=A.parent.isProjectionDirty),A.isSharedProjectionDirty||(A.isSharedProjectionDirty=!!(A.isProjectionDirty||A.parent.isProjectionDirty||A.parent.isSharedProjectionDirty)),A.isTransformDirty||(A.isTransformDirty=A.parent.isTransformDirty))}function Fx(A){A.isProjectionDirty=A.isSharedProjectionDirty=A.isTransformDirty=!1}function Ux(A){A.clearSnapshot()}function yB(A){A.clearMeasurements()}function Ex(A){A.isLayoutDirty=!1}function Sx(A){const{visualElement:e}=A.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),A.resetTransform()}function CB(A){A.finishAnimation(),A.targetDelta=A.relativeTarget=A.target=void 0,A.isProjectionDirty=!0}function Ix(A){A.resolveTargetDelta()}function Hx(A){A.calcProjection()}function xx(A){A.resetRotation()}function bx(A){A.removeLeadSnapshot()}function QB(A,e,t){A.translate=ce(e.translate,0,t),A.scale=ce(e.scale,1,t),A.origin=e.origin,A.originPoint=e.originPoint}function FB(A,e,t,r){A.min=ce(e.min,t.min,r),A.max=ce(e.max,t.max,r)}function Tx(A,e,t,r){FB(A.x,e.x,t.x,r),FB(A.y,e.y,t.y,r)}function Lx(A){return A.animationValues&&A.animationValues.opacityExit!==void 0}const Dx={duration:.45,ease:[.4,0,.1,1]},UB=A=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(A),EB=UB("applewebkit/")&&!UB("chrome/")?Math.round:me;function SB(A){A.min=EB(A.min),A.max=EB(A.max)}function Px(A){SB(A.x),SB(A.y)}function pw(A,e,t){return A==="position"||A==="preserve-aspect"&&!df(BB(e),BB(t),.2)}const Ox=gw({attachResizeListener:(A,e)=>cr(A,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ac={current:void 0},Bw=gw({measureScroll:A=>({x:A.scrollLeft,y:A.scrollTop}),defaultParent:()=>{if(!ac.current){const A=new Ox({});A.mount(window),A.setOptions({layoutScroll:!0}),ac.current=A}return ac.current},resetTransform:(A,e)=>{A.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:A=>window.getComputedStyle(A).position==="fixed"}),kx={pan:{Feature:Ax},drag:{Feature:qH,ProjectionNode:Bw,MeasureLayout:uw}},Kx=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Mx(A){const e=Kx.exec(A);if(!e)return[,];const[,t,r]=e;return[t,r]}function Bf(A,e,t=1){const[r,n]=Mx(A);if(!r)return;const o=window.getComputedStyle(e).getPropertyValue(r);if(o){const u=o.trim();return Aw(u)?parseFloat(u):u}else return of(n)?Bf(n,e,t+1):n}function Rx(A,{...e},t){const r=A.current;if(!(r instanceof Element))return{target:e,transitionEnd:t};t&&(t={...t}),A.values.forEach(n=>{const o=n.get();if(!of(o))return;const u=Bf(o,r);u&&n.set(u)});for(const n in e){const o=e[n];if(!of(o))continue;const u=Bf(o,r);u&&(e[n]=u,t||(t={}),t[n]===void 0&&(t[n]=o))}return{target:e,transitionEnd:t}}const _x=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),mw=A=>_x.has(A),Vx=A=>Object.keys(A).some(mw),IB=A=>A===_n||A===LA,HB=(A,e)=>parseFloat(A.split(", ")[e]),xB=(A,e)=>(t,{transform:r})=>{if(r==="none"||!r)return 0;const n=r.match(/^matrix3d\((.+)\)$/);if(n)return HB(n[1],e);{const o=r.match(/^matrix\((.+)\)$/);return o?HB(o[1],A):0}},Nx=new Set(["x","y","z"]),Gx=fa.filter(A=>!Nx.has(A));function Wx(A){const e=[];return Gx.forEach(t=>{const r=A.getValue(t);r!==void 0&&(e.push([t,r.get()]),r.set(t.startsWith("scale")?1:0))}),e.length&&A.render(),e}const Oi={width:({x:A},{paddingLeft:e="0",paddingRight:t="0"})=>A.max-A.min-parseFloat(e)-parseFloat(t),height:({y:A},{paddingTop:e="0",paddingBottom:t="0"})=>A.max-A.min-parseFloat(e)-parseFloat(t),top:(A,{top:e})=>parseFloat(e),left:(A,{left:e})=>parseFloat(e),bottom:({y:A},{top:e})=>parseFloat(e)+(A.max-A.min),right:({x:A},{left:e})=>parseFloat(e)+(A.max-A.min),x:xB(4,13),y:xB(5,14)};Oi.translateX=Oi.x;Oi.translateY=Oi.y;const jx=(A,e,t)=>{const r=e.measureViewportBox(),n=e.current,o=getComputedStyle(n),{display:u}=o,c={};u==="none"&&e.setStaticValue("display",A.display||"block"),t.forEach(d=>{c[d]=Oi[d](r,o)}),e.render();const h=e.measureViewportBox();return t.forEach(d=>{const m=e.getValue(d);m&&m.jump(c[d]),A[d]=Oi[d](h,o)}),A},Xx=(A,e,t={},r={})=>{e={...e},r={...r};const n=Object.keys(e).filter(mw);let o=[],u=!1;const c=[];if(n.forEach(h=>{const d=A.getValue(h);if(!A.hasValue(h))return;let m=t[h],y=mo(m);const w=e[h];let F;if(ul(w)){const U=w.length,S=w[0]===null?1:0;m=w[S],y=mo(m);for(let V=S;V=0?window.pageYOffset:null,d=jx(e,A,c);return o.length&&o.forEach(([m,y])=>{A.getValue(m).set(y)}),A.render(),Ll&&h!==null&&window.scrollTo({top:h}),{target:d,transitionEnd:r}}else return{target:e,transitionEnd:r}};function zx(A,e,t,r){return Vx(e)?Xx(A,e,t,r):{target:e,transitionEnd:r}}const Jx=(A,e,t,r)=>{const n=Rx(A,e,r);return e=n.target,r=n.transitionEnd,zx(A,e,t,r)},mf={current:null},vw={current:!1};function Yx(){if(vw.current=!0,!!Ll)if(window.matchMedia){const A=window.matchMedia("(prefers-reduced-motion)"),e=()=>mf.current=A.matches;A.addListener(e),e()}else mf.current=!1}function Zx(A,e,t){const{willChange:r}=e;for(const n in e){const o=e[n],u=t[n];if(st(o))A.addValue(n,o),hl(r)&&r.add(n);else if(st(u))A.addValue(n,Pi(o,{owner:A})),hl(r)&&r.remove(n);else if(u!==o)if(A.hasValue(n)){const c=A.getValue(n);!c.hasAnimated&&c.set(o)}else{const c=A.getStaticValue(n);A.addValue(n,Pi(c!==void 0?c:o,{owner:A}))}}for(const n in t)e[n]===void 0&&A.removeValue(n);return e}const bB=new WeakMap,ww=Object.keys(na),$x=ww.length,TB=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],qx=md.length;class Ab{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,visualState:o},u={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>oe.render(this.render,!1,!0);const{latestValues:c,renderState:h}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=h,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=u,this.isControllingVariants=Pl(t),this.isVariantNode=nv(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:d,...m}=this.scrapeMotionValuesFromProps(t,{});for(const y in m){const w=m[y];c[y]!==void 0&&st(w)&&(w.set(c[y],!1),hl(d)&&d.add(y))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,bB.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,r)=>this.bindToMotionValue(r,t)),vw.current||Yx(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:mf.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){bB.delete(this.current),this.projection&&this.projection.unmount(),vr(this.notifyUpdate),vr(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){const r=Rn.has(e),n=t.on("change",u=>{this.latestValues[e]=u,this.props.onUpdate&&oe.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),o()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...t},r,n,o){let u,c;for(let h=0;h<$x;h++){const d=ww[h],{isEnabled:m,Feature:y,ProjectionNode:w,MeasureLayout:F}=na[d];w&&(u=w),m(t)&&(!this.features[d]&&y&&(this.features[d]=new y(this)),F&&(c=F))}if(!this.projection&&u){this.projection=new u(this.latestValues,this.parent&&this.parent.projection);const{layoutId:h,layout:d,drag:m,dragConstraints:y,layoutScroll:w,layoutRoot:F}=t;this.projection.setOptions({layoutId:h,layout:d,alwaysMeasureLayout:!!m||y&&mi(y),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof d=="string"?d:"both",initialPromotionConfig:o,layoutScroll:w,layoutRoot:F})}return c}updateFeatures(){for(const e in this.features){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Qe()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let r=0;rt.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&t!==void 0&&(r=Pi(t,{owner:this}),this.addValue(e,r)),r}readValue(e){var t;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(t=this.getBaseTargetFromProps(this.props,e))!==null&&t!==void 0?t:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:r}=this.props,n=typeof r=="string"||typeof r=="object"?(t=Ed(this.props,r))===null||t===void 0?void 0:t[e]:void 0;if(r&&n!==void 0)return n;const o=this.getBaseTargetFromProps(this.props,e);return o!==void 0&&!st(o)?o:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Pd),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class yw extends Ab{sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...r},{transformValues:n},o){let u=vH(r,e||{},this);if(n&&(t&&(t=n(t)),r&&(r=n(r)),u&&(u=n(u))),o){BH(this,r,u);const c=Jx(this,r,u,t);t=c.transitionEnd,r=c.target}return{transition:e,transitionEnd:t,...r}}}function eb(A){return window.getComputedStyle(A)}class tb extends yw{readValueFromInstance(e,t){if(Rn.has(t)){const r=bd(t);return r&&r.default||0}else{const r=eb(e),n=(lv(t)?r.getPropertyValue(t):r[t])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return lw(e,t)}build(e,t,r,n){wd(e,t,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Ud(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;st(e)&&(this.childSubscription=e.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}renderInstance(e,t,r,n){gv(e,t,r,n)}}class rb extends yw{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Rn.has(t)){const r=bd(t);return r&&r.default||0}return t=pv.has(t)?t:Fd(t),e.getAttribute(t)}measureInstanceViewportBox(){return Qe()}scrapeMotionValuesFromProps(e,t){return mv(e,t)}build(e,t,r,n){Cd(e,t,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,r,n){Bv(e,t,r,n)}mount(e){this.isSVGTag=Qd(e.tagName),super.mount(e)}}const nb=(A,e)=>vd(A)?new rb(e,{enableHardwareAcceleration:!1}):new tb(e,{enableHardwareAcceleration:!0}),ib={layout:{ProjectionNode:Bw,MeasureLayout:uw}},ob={...LH,...qS,...kx,...ib},vf=aS((A,e)=>RS(A,e,ob,nb)),ab=({tabs:A,themeColor:e})=>{const[t,r]=pA.useState(0),[n,o]=pA.useState(null),[u,c]=pA.useState(0),[h,d]=pA.useState(0),m=pA.useRef(h);pA.useEffect(()=>{const U=-t*100;d(U),m.current=U},[t]);const y=pA.useRef(null),w={type:"spring",stiffness:250,damping:25};pA.useEffect(()=>{if(y.current){const U=y.current.getBoundingClientRect().width;c(U/A.length)}},[A.length]);const F=U=>U!==null?u*U:u*t;return HA.jsxs("div",{className:"h-full px-4 overflow-y-scroll overflow-x-clip",children:[HA.jsx("div",{ref:y,className:"sticky top-0 z-10 text-[0.875rem] mb-2 pb-2 bg-white",children:HA.jsxs("div",{className:"relative flex",children:[HA.jsx(vf.div,{className:"absolute top-0 left-0 z-0 h-full rounded-full opacity-40",style:{width:`${u}px`,background:e},initial:!1,animate:{x:F(n)},transition:w}),A.map((U,S)=>HA.jsx("button",{className:"relative z-10 flex-1 px-4 py-2",onClick:()=>r(S),onMouseEnter:()=>o(S),onMouseLeave:()=>o(null),children:U.title},S))]})}),HA.jsx("div",{className:"relative",children:HA.jsx(vf.div,{initial:!1,animate:{x:`${h}%`},transition:w,children:HA.jsx("div",{className:"absolute flex w-full",style:{left:`${-h}%`},children:A.map((U,S)=>HA.jsx("div",{className:`w-full ${t===S?"":"hidden"}`,children:U.content},S))})})})]})};function Ge(A){const e=()=>{const t=!A.state;A.onChange(t)};return HA.jsx("div",{className:"flex w-14 p-1 cursor-pointer rounded-full dark:bg-[#38373D] bg-[#DDDDDD] switch","data-isOn":A.state,onClick:e,children:HA.jsx(vf.div,{className:"w-6 h-6 bg-white dark:bg-[#FEFEFE] rounded-full drop-shadow-md",initial:{x:(A.state,0)},animate:{x:A.state?24:0},transition:sb})})}const sb={type:"spring",stiffness:700,damping:30};var Cw={},mt={},be={},Dt={},sn={};Object.defineProperty(sn,"__esModule",{value:!0});sn.config=void 0;var lb={barSize:18,crossSize:18,inputSize:40,delay:150,defaultColor:"rgba(175, 51, 242, 1)",defaultGradient:"linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 35%, rgba(0,212,255,1) 100%)"};sn.config=lb;var wo={},Qw={exports:{}};(function(A){(function(e){var t=/^\s+/,r=/\s+$/,n=0,o=e.round,u=e.min,c=e.max,h=e.random;function d(P,G){if(P=P||"",G=G||{},P instanceof d)return P;if(!(this instanceof d))return new d(P,G);var k=m(P);this._originalInput=P,this._r=k.r,this._g=k.g,this._b=k.b,this._a=k.a,this._roundA=o(100*this._a)/100,this._format=G.format||k.format,this._gradientType=G.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=k.ok,this._tc_id=n++}d.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var P=this.toRgb();return(P.r*299+P.g*587+P.b*114)/1e3},getLuminance:function(){var P=this.toRgb(),G,k,nA,tA,Z,uA;return G=P.r/255,k=P.g/255,nA=P.b/255,G<=.03928?tA=G/12.92:tA=e.pow((G+.055)/1.055,2.4),k<=.03928?Z=k/12.92:Z=e.pow((k+.055)/1.055,2.4),nA<=.03928?uA=nA/12.92:uA=e.pow((nA+.055)/1.055,2.4),.2126*tA+.7152*Z+.0722*uA},setAlpha:function(P){return this._a=$(P),this._roundA=o(100*this._a)/100,this},toHsv:function(){var P=U(this._r,this._g,this._b);return{h:P.h*360,s:P.s,v:P.v,a:this._a}},toHsvString:function(){var P=U(this._r,this._g,this._b),G=o(P.h*360),k=o(P.s*100),nA=o(P.v*100);return this._a==1?"hsv("+G+", "+k+"%, "+nA+"%)":"hsva("+G+", "+k+"%, "+nA+"%, "+this._roundA+")"},toHsl:function(){var P=w(this._r,this._g,this._b);return{h:P.h*360,s:P.s,l:P.l,a:this._a}},toHslString:function(){var P=w(this._r,this._g,this._b),G=o(P.h*360),k=o(P.s*100),nA=o(P.l*100);return this._a==1?"hsl("+G+", "+k+"%, "+nA+"%)":"hsla("+G+", "+k+"%, "+nA+"%, "+this._roundA+")"},toHex:function(P){return V(this._r,this._g,this._b,P)},toHexString:function(P){return"#"+this.toHex(P)},toHex8:function(P){return D(this._r,this._g,this._b,this._a,P)},toHex8String:function(P){return"#"+this.toHex8(P)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(Y(this._r,255)*100)+"%",g:o(Y(this._g,255)*100)+"%",b:o(Y(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+o(Y(this._r,255)*100)+"%, "+o(Y(this._g,255)*100)+"%, "+o(Y(this._b,255)*100)+"%)":"rgba("+o(Y(this._r,255)*100)+"%, "+o(Y(this._g,255)*100)+"%, "+o(Y(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:z[V(this._r,this._g,this._b,!0)]||!1},toFilter:function(P){var G="#"+E(this._r,this._g,this._b,this._a),k=G,nA=this._gradientType?"GradientType = 1, ":"";if(P){var tA=d(P);k="#"+E(tA._r,tA._g,tA._b,tA._a)}return"progid:DXImageTransform.Microsoft.gradient("+nA+"startColorstr="+G+",endColorstr="+k+")"},toString:function(P){var G=!!P;P=P||this._format;var k=!1,nA=this._a<1&&this._a>=0,tA=!G&&nA&&(P==="hex"||P==="hex6"||P==="hex3"||P==="hex4"||P==="hex8"||P==="name");return tA?P==="name"&&this._a===0?this.toName():this.toRgbString():(P==="rgb"&&(k=this.toRgbString()),P==="prgb"&&(k=this.toPercentageRgbString()),(P==="hex"||P==="hex6")&&(k=this.toHexString()),P==="hex3"&&(k=this.toHexString(!0)),P==="hex4"&&(k=this.toHex8String(!0)),P==="hex8"&&(k=this.toHex8String()),P==="name"&&(k=this.toName()),P==="hsl"&&(k=this.toHslString()),P==="hsv"&&(k=this.toHsvString()),k||this.toHexString())},clone:function(){return d(this.toString())},_applyModification:function(P,G){var k=P.apply(null,[this].concat([].slice.call(G)));return this._r=k._r,this._g=k._g,this._b=k._b,this.setAlpha(k._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(p,arguments)},darken:function(){return this._applyModification(g,arguments)},desaturate:function(){return this._applyModification(H,arguments)},saturate:function(){return this._applyModification(I,arguments)},greyscale:function(){return this._applyModification(O,arguments)},spin:function(){return this._applyModification(C,arguments)},_applyCombination:function(P,G){return P.apply(null,[this].concat([].slice.call(G)))},analogous:function(){return this._applyCombination(M,arguments)},complement:function(){return this._applyCombination(T,arguments)},monochromatic:function(){return this._applyCombination(L,arguments)},splitcomplement:function(){return this._applyCombination(j,arguments)},triad:function(){return this._applyCombination(N,arguments)},tetrad:function(){return this._applyCombination(K,arguments)}},d.fromRatio=function(P,G){if(typeof P=="object"){var k={};for(var nA in P)P.hasOwnProperty(nA)&&(nA==="a"?k[nA]=P[nA]:k[nA]=aA(P[nA]));P=k}return d(P,G)};function m(P){var G={r:0,g:0,b:0},k=1,nA=null,tA=null,Z=null,uA=!1,SA=!1;return typeof P=="string"&&(P=hA(P)),typeof P=="object"&&(sA(P.r)&&sA(P.g)&&sA(P.b)?(G=y(P.r,P.g,P.b),uA=!0,SA=String(P.r).substr(-1)==="%"?"prgb":"rgb"):sA(P.h)&&sA(P.s)&&sA(P.v)?(nA=aA(P.s),tA=aA(P.v),G=S(P.h,nA,tA),uA=!0,SA="hsv"):sA(P.h)&&sA(P.s)&&sA(P.l)&&(nA=aA(P.s),Z=aA(P.l),G=F(P.h,nA,Z),uA=!0,SA="hsl"),P.hasOwnProperty("a")&&(k=P.a)),k=$(k),{ok:uA,format:P.format||SA,r:u(255,c(G.r,0)),g:u(255,c(G.g,0)),b:u(255,c(G.b,0)),a:k}}function y(P,G,k){return{r:Y(P,255)*255,g:Y(G,255)*255,b:Y(k,255)*255}}function w(P,G,k){P=Y(P,255),G=Y(G,255),k=Y(k,255);var nA=c(P,G,k),tA=u(P,G,k),Z,uA,SA=(nA+tA)/2;if(nA==tA)Z=uA=0;else{var BA=nA-tA;switch(uA=SA>.5?BA/(2-nA-tA):BA/(nA+tA),nA){case P:Z=(G-k)/BA+(G1&&(oA-=1),oA<1/6?TA+(zA-TA)*6*oA:oA<1/2?zA:oA<2/3?TA+(zA-TA)*(2/3-oA)*6:TA}if(G===0)nA=tA=Z=k;else{var SA=k<.5?k*(1+G):k+G-k*G,BA=2*k-SA;nA=uA(BA,SA,P+1/3),tA=uA(BA,SA,P),Z=uA(BA,SA,P-1/3)}return{r:nA*255,g:tA*255,b:Z*255}}function U(P,G,k){P=Y(P,255),G=Y(G,255),k=Y(k,255);var nA=c(P,G,k),tA=u(P,G,k),Z,uA,SA=nA,BA=nA-tA;if(uA=nA===0?0:BA/nA,nA==tA)Z=0;else{switch(nA){case P:Z=(G-k)/BA+(G>1)+720)%360;--G;)nA.h=(nA.h+tA)%360,Z.push(d(nA));return Z}function L(P,G){G=G||6;for(var k=d(P).toHsv(),nA=k.h,tA=k.s,Z=k.v,uA=[],SA=1/G;G--;)uA.push(d({h:nA,s:tA,v:Z})),Z=(Z+SA)%1;return uA}d.mix=function(P,G,k){k=k===0?0:k||50;var nA=d(P).toRgb(),tA=d(G).toRgb(),Z=k/100,uA={r:(tA.r-nA.r)*Z+nA.r,g:(tA.g-nA.g)*Z+nA.g,b:(tA.b-nA.b)*Z+nA.b,a:(tA.a-nA.a)*Z+nA.a};return d(uA)},d.readability=function(P,G){var k=d(P),nA=d(G);return(e.max(k.getLuminance(),nA.getLuminance())+.05)/(e.min(k.getLuminance(),nA.getLuminance())+.05)},d.isReadable=function(P,G,k){var nA=d.readability(P,G),tA,Z;switch(Z=!1,tA=MA(k),tA.level+tA.size){case"AAsmall":case"AAAlarge":Z=nA>=4.5;break;case"AAlarge":Z=nA>=3;break;case"AAAsmall":Z=nA>=7;break}return Z},d.mostReadable=function(P,G,k){var nA=null,tA=0,Z,uA,SA,BA;k=k||{},uA=k.includeFallbackColors,SA=k.level,BA=k.size;for(var TA=0;TAtA&&(tA=Z,nA=d(G[TA]));return d.isReadable(P,nA,{level:SA,size:BA})||!uA?nA:(k.includeFallbackColors=!1,d.mostReadable(P,["#fff","#000"],k))};var R=d.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},z=d.hexNames=X(R);function X(P){var G={};for(var k in P)P.hasOwnProperty(k)&&(G[P[k]]=k);return G}function $(P){return P=parseFloat(P),(isNaN(P)||P<0||P>1)&&(P=1),P}function Y(P,G){fA(P)&&(P="100%");var k=iA(P);return P=u(G,c(0,parseFloat(P))),k&&(P=parseInt(P*G,10)/100),e.abs(P-G)<1e-6?1:P%G/parseFloat(G)}function eA(P){return u(1,c(0,P))}function rA(P){return parseInt(P,16)}function fA(P){return typeof P=="string"&&P.indexOf(".")!=-1&&parseFloat(P)===1}function iA(P){return typeof P=="string"&&P.indexOf("%")!=-1}function q(P){return P.length==1?"0"+P:""+P}function aA(P){return P<=1&&(P=P*100+"%"),P}function dA(P){return e.round(parseFloat(P)*255).toString(16)}function QA(P){return rA(P)/255}var FA=function(){var P="[-\\+]?\\d+%?",G="[-\\+]?\\d*\\.\\d+%?",k="(?:"+G+")|(?:"+P+")",nA="[\\s|\\(]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?",tA="[\\s|\\(]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")[,|\\s]+("+k+")\\s*\\)?";return{CSS_UNIT:new RegExp(k),rgb:new RegExp("rgb"+nA),rgba:new RegExp("rgba"+tA),hsl:new RegExp("hsl"+nA),hsla:new RegExp("hsla"+tA),hsv:new RegExp("hsv"+nA),hsva:new RegExp("hsva"+tA),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function sA(P){return!!FA.CSS_UNIT.exec(P)}function hA(P){P=P.replace(t,"").replace(r,"").toLowerCase();var G=!1;if(R[P])P=R[P],G=!0;else if(P=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var k;return(k=FA.rgb.exec(P))?{r:k[1],g:k[2],b:k[3]}:(k=FA.rgba.exec(P))?{r:k[1],g:k[2],b:k[3],a:k[4]}:(k=FA.hsl.exec(P))?{h:k[1],s:k[2],l:k[3]}:(k=FA.hsla.exec(P))?{h:k[1],s:k[2],l:k[3],a:k[4]}:(k=FA.hsv.exec(P))?{h:k[1],s:k[2],v:k[3]}:(k=FA.hsva.exec(P))?{h:k[1],s:k[2],v:k[3],a:k[4]}:(k=FA.hex8.exec(P))?{r:rA(k[1]),g:rA(k[2]),b:rA(k[3]),a:QA(k[4]),format:G?"name":"hex8"}:(k=FA.hex6.exec(P))?{r:rA(k[1]),g:rA(k[2]),b:rA(k[3]),format:G?"name":"hex"}:(k=FA.hex4.exec(P))?{r:rA(k[1]+""+k[1]),g:rA(k[2]+""+k[2]),b:rA(k[3]+""+k[3]),a:QA(k[4]+""+k[4]),format:G?"name":"hex8"}:(k=FA.hex3.exec(P))?{r:rA(k[1]+""+k[1]),g:rA(k[2]+""+k[2]),b:rA(k[3]+""+k[3]),format:G?"name":"hex"}:!1}function MA(P){var G,k;return P=P||{level:"AA",size:"small"},G=(P.level||"AA").toUpperCase(),k=(P.size||"small").toLowerCase(),G!=="AA"&&G!=="AAA"&&(G="AA"),k!=="small"&&k!=="large"&&(k="small"),{level:G,size:k}}A.exports?A.exports=d:window.tinycolor=d})(Math)})(Qw);var ln=Qw.exports,LB;function ub(){if(LB)return wo;LB=1,Object.defineProperty(wo,"__esModule",{value:!0}),wo.gradientParser=void 0;var A=Ri(),e=pa();function t(I){"@babel/helpers - typeof";return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},t(I)}function r(I){return u(I)||o(I)||d(I)||n()}function n(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(I){if(typeof Symbol<"u"&&I[Symbol.iterator]!=null||I["@@iterator"]!=null)return Array.from(I)}function u(I){if(Array.isArray(I))return m(I)}function c(I,O){return w(I)||y(I,O)||d(I,O)||h()}function h(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(I,O){if(I){if(typeof I=="string")return m(I,O);var v=Object.prototype.toString.call(I).slice(8,-1);if(v==="Object"&&I.constructor&&(v=I.constructor.name),v==="Map"||v==="Set")return Array.from(I);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return m(I,O)}}function m(I,O){(O==null||O>I.length)&&(O=I.length);for(var v=0,p=new Array(O);v0&&arguments[0]!==void 0?arguments[0]:"",v={linearGradient:/^(-(webkit|o|ms|moz)-)?(linear-gradient)/i,repeatingLinearGradient:/^(-(webkit|o|ms|moz)-)?(repeating-linear-gradient)/i,radialGradient:/^(-(webkit|o|ms|moz)-)?(radial-gradient)/i,repeatingRadialGradient:/^(-(webkit|o|ms|moz)-)?(repeating-radial-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|top (left|right)|bottom (left|right)|left|right|top|bottom)/i,extentKeywords:/^(closest-side|closest-corner|farthest-side|farthest-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,spacedRgbColor:/^(\d{1,3})\s+(\d{1,3})\s+(\d{1,3})\s+\/\s+([0-1](\.\d+)?)/,rgbaColor:/^rgba/i,hslColor:/^hsl/i,hsvColor:/^hsv/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/};function p(oA){var mA=new Error(O+": "+oA);throw mA.source=O,mA}function g(){var oA,mA=C();O.length>0&&p("Invalid input not EOF");var bA=mA[0],RA=bA==null||(oA=bA.colorStops)===null||oA===void 0?void 0:oA.filter(function($A){return(0,e.isUpperCase)($A.value)}).length,JA=function(){if(RA>0)return bA;var he=function(ge,pe){return pe===0?(0,A.high)(ge):(0,A.low)(ge)};return U(U({},bA),{},{colorStops:bA.colorStops.map(function(He,ge){return U(U({},He),{},{value:he(He,ge)})})})};return JA()}function C(){return iA(T)}function T(){return N("linear-gradient",v.linearGradient,j)||N("repeating-linear-gradient",v.repeatingLinearGradient,j)||N("radial-gradient",v.radialGradient,R)||N("repeating-radial-gradient",v.repeatingRadialGradient,R)}function N(oA,mA,bA){return K(mA,function(RA){var JA=bA();return JA&&(TA(v.comma)||p("Missing comma before color stops")),{type:oA,orientation:JA,colorStops:iA(q)}})}function K(oA,mA){var bA=TA(oA);if(bA){TA(v.startCall)||p("Missing (");var RA=mA(bA);return TA(v.endCall)||p("Missing )"),RA}}function j(){return M()||L()}function M(){return BA("directional",v.sideOrCorner,1)}function L(){return BA("angular",v.angleValue,1)}function R(){var oA,mA=z(),bA;return mA&&(oA=[],oA.push(mA),bA=O,TA(v.comma)&&(mA=z(),mA?oA.push(mA):O=bA)),oA}function z(){var oA=X()||$();if(oA)oA.at=eA();else{var mA=Y();if(mA){oA=mA;var bA=eA();bA&&(oA.at=bA)}else{var RA=rA();RA&&(oA={type:"default-radial",at:RA})}}return oA}function X(){var oA=BA("shape",/^(circle)/i,0);return oA&&(oA.style=SA()||Y()),oA}function $(){var oA=BA("shape",/^(ellipse)/i,0);return oA&&(oA.style=Z()||Y()),oA}function Y(){return BA("extent-keyword",v.extentKeywords,1)}function eA(){if(BA("position",/^at/,0)){var oA=rA();return oA||p("Missing positioning value"),oA}}function rA(){var oA=fA();if(oA.x||oA.y)return{type:"position",value:oA}}function fA(){return{x:Z(),y:Z()}}function iA(oA){var mA=oA(),bA=[];if(mA)for(bA.push(mA);TA(v.comma);)mA=oA(),mA?bA.push(mA):p("One extra comma");return bA}function q(){var oA,mA=aA();return mA||p("Expected color definition"),mA.left=parseInt((oA=Z())===null||oA===void 0?void 0:oA.value),mA}function aA(){return QA()||sA()||nA()||G()||dA()||MA()}function dA(){var oA=BA("literal",v.literalColor,0);if(oA!=null&&oA.value){var mA=E(oA==null?void 0:oA.value).toRgb(),bA=mA.r,RA=mA.g,JA=mA.b,$A=mA.a;return{value:"rgba(".concat(bA,", ").concat(RA,", ").concat(JA,", ").concat($A,")")}}}function QA(){var oA=BA("hex",v.hexColor,1);if(oA!=null&&oA.value){var mA=E(oA==null?void 0:oA.value).toRgb(),bA=mA.r,RA=mA.g,JA=mA.b,$A=mA.a;return{value:"rgba(".concat(bA,", ").concat(RA,", ").concat(JA,", ").concat($A,")")}}}var FA=function(mA){var bA=(0,e.isUpperCase)(mA==null?void 0:mA[0]),RA=iA(tA),JA=E({h:RA[0],s:RA[1],l:RA[2],a:RA[3]||1}).toRgb(),$A=JA.r,he=JA.g,He=JA.b,ge=JA.a;return{value:"".concat(bA?"RGBA":"rgba","(").concat($A,", ").concat(he,", ").concat(He,", ").concat(ge,")")}};function sA(){return K(v.hslColor,FA)}var hA=function(mA){var bA=(0,e.isUpperCase)(mA==null?void 0:mA[0]),RA=iA(tA),JA=E({h:RA[0],s:RA[1],v:RA[2],a:RA[3]||1}).toRgb(),$A=JA.r,he=JA.g,He=JA.b,ge=JA.a;return{value:"".concat(bA?"RGBA":"rgba","(").concat($A,", ").concat(he,", ").concat(He,", ").concat(ge,")")}};function MA(){return K(v.hsvColor,hA)}var P=function(mA){var bA=(0,e.isUpperCase)(mA==null?void 0:mA[0]),RA=TA(v.spacedRgbColor),JA=RA||[null].concat(r(iA(tA))),$A=c(JA,5),he=$A[1],He=$A[2],ge=$A[3],pe=$A[4],Xe=pe===void 0?1:pe;return{value:"".concat(bA?"RGBA":"rgba","(").concat(he,", ").concat(He,", ").concat(ge,", ").concat(Xe,")")}};function G(){return K(v.rgbColor,P)}var k=function(mA){var bA=(0,e.isUpperCase)(mA==null?void 0:mA[0]);return{value:"".concat(bA?"RGBA":"rgba","(").concat(iA(tA),")")}};function nA(){return K(v.rgbaColor,k)}function tA(){return TA(v.number)[1]}function Z(){return BA("%",v.percentageValue,1)||uA()||SA()}function uA(){return BA("position-keyword",v.positionKeywords,1)}function SA(){return BA("px",v.pixelValue,1)||BA("em",v.emValue,1)}function BA(oA,mA,bA){var RA=TA(mA);if(RA)return{type:oA,value:RA[bA]}}function TA(oA){var mA,bA;return bA=/^[\n\r\t\s]+/.exec(O),bA&&zA(bA[0].length),mA=oA.exec(O),mA&&zA(mA[0].length),mA}function zA(oA){O=O.substr(oA)}return g()};return wo.gradientParser=H,wo}var DB;function Ri(){if(DB)return Dt;DB=1,Object.defineProperty(Dt,"__esModule",{value:!0}),Dt.low=Dt.high=Dt.getColors=Dt.formatInputValues=void 0;var A=sn,e=ub();A.config.defaultColor;var t=A.config.defaultGradient,r=function(d){return d.value.toLowerCase()};Dt.low=r;var n=function(d){return d.value.toUpperCase()};Dt.high=n;var o=function(d){var m=d==null?void 0:d.includes("gradient");if(m){var y=d==null?void 0:d.includes("conic"),w=!y&&u()?d:t;y&&console.log("Sorry we cant handle conic gradients yet");var F=(0,e.gradientParser)(w);return F==null?void 0:F.colorStops}else{var U=d;return[{value:U}]}};Dt.getColors=o;var u=function(d){return!0},c=function(d,m,y){return isNaN(d)||dy?y:d};return Dt.formatInputValues=c,Dt}var PB;function pa(){if(PB)return be;PB=1,Object.defineProperty(be,"__esModule",{value:!0}),be.compareGradients=void 0,be.computePickerPosition=c,be.computeSquareXY=u,be.getGradientType=be.getDegrees=void 0,be.getHandleValue=o,be.safeBounds=be.isUpperCase=be.getNewHsl=void 0;var A=Ri(),e=sn,t=ln,r=e.config.barSize,n=e.config.crossSize;function o(U){var S=y(U),V=S.offsetLeft,D=S.clientWidth,E=U.clientX-V-r/2,H=D-18,I=(0,A.formatInputValues)(E,0,H);return Math.round(I/(H/100))}function u(U,S,V){var D=U[1]*100,E=U[2]*100,H=D*(E<50?E:100-E)/100,I=Math.round(200*H/(E+H))|0,O=Math.round(H+E),v=S/100*I-n/2,p=V-V/100*O-n/2;return[v,p]}function c(U){var S=y(U),V=S.offsetLeft,D=S.offsetTop,E=S.clientWidth,H=S.clientHeight,I=function(){var p=U.clientX-V-n/2;return(0,A.formatInputValues)(p,-9,E-10)},O=function(){var p=U.clientY-D-n/2;return(0,A.formatInputValues)(p,-9,H-10)};return[I(),O()]}var h=function(S){var V,D=S==null?void 0:S.split(",")[0];return parseInt(D==null||(V=D.split("(")[1])===null||V===void 0?void 0:V.slice(0,-3))};be.getDegrees=h;var d=function(S){return S==null?void 0:S.split("(")[0]};be.getGradientType=d;var m=function(S,V,D,E,H){H(S);var I=t({h:S,s:V,l:D}),O=I.toRgb(),v=O.r,p=O.g,g=O.b;return"rgba(".concat(v,", ").concat(p,", ").concat(g,", ").concat(E,")")};be.getNewHsl=m;var y=function(S){var V=S.target.parentNode.getBoundingClientRect(),D=S.target.className,E=D==="c-resize ps-rl"?15:0;return{offsetLeft:(V==null?void 0:V.x)+E,offsetTop:V==null?void 0:V.y,clientWidth:V==null?void 0:V.width,clientHeight:V==null?void 0:V.height}};be.safeBounds=y;var w=function(S){var V;return(S==null?void 0:S[0])===(S==null||(V=S[0])===null||V===void 0?void 0:V.toUpperCase())};be.isUpperCase=w;var F=function(S,V){var D,E,H=S==null||(D=S.toLowerCase())===null||D===void 0?void 0:D.replaceAll(" ",""),I=V==null||(E=V.toLowerCase())===null||E===void 0?void 0:E.replaceAll(" ","");return H===I};return be.compareGradients=F,be}(function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=T,A.usePicker=N;var e=u(pA),t=pa(),r=Ri(),n=sn;function o(K){if(typeof WeakMap!="function")return null;var j=new WeakMap,M=new WeakMap;return(o=function(R){return R?M:j})(K)}function u(K,j){if(!j&&K&&K.__esModule)return K;if(K===null||c(K)!=="object"&&typeof K!="function")return{default:K};var M=o(j);if(M&&M.has(K))return M.get(K);var L={},R=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var z in K)if(z!=="default"&&Object.prototype.hasOwnProperty.call(K,z)){var X=R?Object.getOwnPropertyDescriptor(K,z):null;X&&(X.get||X.set)?Object.defineProperty(L,z,X):L[z]=K[z]}return L.default=K,M&&M.set(K,L),L}function c(K){"@babel/helpers - typeof";return c=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(j){return typeof j}:function(j){return j&&typeof Symbol=="function"&&j.constructor===Symbol&&j!==Symbol.prototype?"symbol":typeof j},c(K)}function h(K){return y(K)||m(K)||U(K)||d()}function d(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(K){if(typeof Symbol<"u"&&K[Symbol.iterator]!=null||K["@@iterator"]!=null)return Array.from(K)}function y(K){if(Array.isArray(K))return S(K)}function w(K,j){return D(K)||V(K,j)||U(K,j)||F()}function F(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function U(K,j){if(K){if(typeof K=="string")return S(K,j);var M=Object.prototype.toString.call(K).slice(8,-1);if(M==="Object"&&K.constructor&&(M=K.constructor.name),M==="Map"||M==="Set")return Array.from(K);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return S(K,j)}}function S(K,j){(j==null||j>K.length)&&(j=K.length);for(var M=0,L=new Array(j);M1&&arguments[1]!==void 0?arguments[1]:sA,jA=q==null?void 0:q.filter(function(vt){return!(0,t.isUpperCase)(vt.value)}),le=[{value:WA.toUpperCase(),left:re}].concat(h(jA));fn(le)},tr=function(WA){eA?KA(WA):Wi(WA)},ji=function(WA){var re=(0,t.getHandleValue)(WA)/100,jA="rgba(".concat(SA,", ").concat(BA,", ").concat(TA,", ").concat(re,")");tr(jA)},bt=function(WA){var re=(0,t.getHandleValue)(WA)*3.6,jA=(0,t.getNewHsl)(re,bA,RA,zA,Xe);tr(jA)},Xi=function(WA,re){var jA=(0,t.computePickerPosition)(WA,X),le=w(jA,2),vt=le[0],Ji=le[1],Nl=Math.min(vt+g/2,z-1),dn=Math.min(Ji+g/2,X-1),jn=w(re.getImageData(Nl,dn,1,1).data,3),Xn=jn[0],ya=jn[1],hn=jn[2],Gl="rgba(".concat(Xn,", ").concat(ya,", ").concat(hn,", ").concat(zA,")");tr(Gl)},zi=function(WA){var re=q==null?void 0:q.map(function(jA,le){return H(H({},jA),{},{value:le===WA?(0,r.high)(jA):(0,r.low)(jA)})});fn(re)},ma=function(WA){var re,jA=(0,t.getHandleValue)(WA,Y),le=(re=[].concat(h(q.map(function(vt){return H(H({},vt),{},{value:(0,r.low)(vt)})})),[{value:QA,left:jA}]))===null||re===void 0?void 0:re.sort(function(vt,Ji){return vt.left-Ji.left});fn(le)},_l=function(){if((q==null?void 0:q.length)>2){var WA=q==null?void 0:q.map(function(jA,le){return H(H({},jA),{},{value:le===FA-1?(0,r.high)(jA):(0,r.low)(jA)})}),re=WA==null?void 0:WA.filter(function(jA,le){return le!==FA});fn(re)}},va=function(){FA!==(q==null?void 0:q.length)-1&&zi(FA+1)};(0,e.useEffect)(function(){return window.addEventListener("click",wa),function(){window.removeEventListener("click",wa)}},[Gi,L]);var wa=function(WA){var re,jA=WA==null||(re=WA.path)===null||re===void 0?void 0:re.map(function(le){return le.id});jA!=null&&jA.includes("gradient-bar")?cn("gpoint"):jA!=null&&jA.includes("rbgcp-input")?cn("input"):jA!=null&&jA.includes("rbgcp-wrapper")?cn("picker"):cn(null)},Vl={x:Ar,y:Rl,s:bA,l:RA,r:SA,g:BA,b:TA,hue:_t,hsvS:$A,hsvV:he,value:L,colors:q,degrees:fA,inFocus:Gi,opacity:zA,onChange:R,addPoint:ma,inputType:tA,nextPoint:va,tinyColor:P,handleHue:bt,setInFocus:cn,isGradient:eA,offsetLeft:Y,squareSize:z,hideOpacity:$,handleColor:Xi,currentLeft:sA,deletePoint:_l,internalHue:pe,squareHeight:X,setInputType:Z,gradientType:rA,handleChange:tr,currentColor:QA,selectedColor:FA,handleOpacity:ji,setInternalHue:Xe,previousColors:Cr,handleGradient:KA,setSelectedColor:zi,internalOnChange:Wi,previousGraidents:er};return e.default.createElement(C.Provider,{value:Vl},j)}function N(){return(0,e.useContext)(C)}})(mt);var Fw={},Uw={},Od={};(function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.usePaintSat=A.usePaintLight=A.usePaintBright=A.default=void 0;var e=pA,t=ln,r=function(d,m){(0,e.useEffect)(function(){var y,w=d==null||(y=d.current)===null||y===void 0?void 0:y.getContext("2d",{willReadFrequently:!0});w.rect(0,0,m,14);for(var F=w.createLinearGradient(0,0,m,0),U=0;U<=360;U+=30)F.addColorStop(U/360,"hsl(".concat(U,", 100%, 50%)"));w.fillStyle=F,w.fill()},[d,m])},n=r;A.default=n;var o=function(d,m,y,w){(0,e.useEffect)(function(){var F,U=d==null||(F=d.current)===null||F===void 0?void 0:F.getContext("2d",{willReadFrequently:!0});if(U){U.rect(0,0,w,14);for(var S=U.createLinearGradient(0,0,w,0),V=0;V<=100;V+=10)S.addColorStop(V/100,"hsl(".concat(m,", ").concat(V,"%, ").concat(y,"%)"));U.fillStyle=S,U.fill()}},[d,m,y,w])};A.usePaintSat=o;var u=function(d,m,y,w){(0,e.useEffect)(function(){var F,U=d==null||(F=d.current)===null||F===void 0?void 0:F.getContext("2d",{willReadFrequently:!0});if(U){U.rect(0,0,w,14);for(var S=U.createLinearGradient(0,0,w,0),V=0;V<=100;V+=10)S.addColorStop(V/100,"hsl(".concat(m,", ").concat(y,"%, ").concat(V,"%)"));U.fillStyle=S,U.fill()}},[d,m,y,w])};A.usePaintLight=u;var c=function(d,m,y,w){(0,e.useEffect)(function(){var F,U=d==null||(F=d.current)===null||F===void 0?void 0:F.getContext("2d",{willReadFrequently:!0});if(U){U.rect(0,0,w,14);for(var S=U.createLinearGradient(0,0,w,0),V=0;V<=100;V+=10){var D=t({h:m,s:y,v:V});S.addColorStop(V/100,D.toHslString())}U.fillStyle=S,U.fill()}},[d,m,y,w])};A.usePaintBright=c})(Od);var xA={};Object.defineProperty(xA,"__esModule",{value:!0});xA.psRl=xA.opacityOverlay=xA.npe=xA.jsb=xA.jfe=xA.jc=xA.inputWrap=xA.inputLabel=xA.inputDropdown=xA.input=xA.handle=xA.gradientHandleWrap=xA.gradientHandle=xA.df=xA.degreeInput=xA.controlBtnsWrap=xA.controlBtn=xA.checkered=xA.canvasWrapper=xA.cResize=xA.cCross=xA.borderBox=xA.ac=void 0;var cb={display:"flex"};xA.df=cb;var fb={alignItems:"center"};xA.ac=fb;var db={justifyContent:"center"};xA.jc=db;var hb={justifyContent:"flex-end"};xA.jfe=hb;var gb={justifyContent:"space-between"};xA.jsb=gb;var pb={position:"relative"};xA.psRl=pb;var Bb={cursor:"crosshair"};xA.cCross=Bb;var mb={borderRadius:6,overflow:"hidden",height:294};xA.canvasWrapper=mb;var vb={cursor:"ew-resize"};xA.cResize=vb;var wb={position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:10};xA.opacityOverlay=wb;var yb={boxSizing:"border-box"};xA.borderBox=yb;var Cb={position:"absolute",border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0,0,0,.5)",width:18,height:18,zIndex:1e3,transition:"all 10ms linear",boxSizing:"border-box"};xA.handle=Cb;var Qb={position:"absolute",zIndex:1e4,top:-2,outline:"none"};xA.gradientHandleWrap=Qb;var Fb={border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0,0,0,.5)",width:18,height:18,boxSizing:"border-box"};xA.gradientHandle=Fb;var Ub={pointerEvents:"none"};xA.npe=Ub;var Eb={height:24,borderRadius:4,border:"none",outline:"none",textAlign:"center",width:34,fontWeight:500,color:"rgb(50, 49, 54)",fontSize:13,background:"transparent"};xA.degreeInput=Eb;var Sb={height:32,borderRadius:6,border:"1px solid #bebebe",width:"100%",padding:2,outline:"none",color:"black",fontWeight:400,textAlign:"center",boxSizing:"border-box"};xA.inputWrap=Sb;var Ib={textAlign:"center",lineHeight:1.2,fontWeight:700,color:"rgb(86,86,86)",fontSize:11};xA.inputLabel=Ib;var Hb={paddingLeft:8,paddingRight:8,lineHeight:1,borderRadius:4,fontWeight:700,color:"",fontSize:12,height:24,transition:"all 160ms ease",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(255,255,255,0)",boxShadow:"1px 1px 3px rgba(0,0,0,0)"};xA.controlBtn=Hb;var xb={height:28,background:"#e9e9f5",borderRadius:6,padding:2};xA.controlBtnsWrap=xb;var bb={position:"absolute",right:-2,top:34,padding:5,background:"#e9e9f5",zIndex:1e8,borderRadius:6,boxShadow:"1px 1px 14px 1px rgba(0,0,0,.25)"};xA.inputDropdown=bb;var Tb={fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif"};xA.input=Tb;var Lb={background:"linear-gradient(45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.18) 75%, rgba(0, 0, 0, 0.18) 0), linear-gradient(45deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%, transparent 75%, rgba(0, 0, 0, 0.18) 75%, rgba(0, 0, 0, 0.18) 0), white",backgroundRepeat:"repeat, repeat",backgroundPosition:"0px 0, 7px 7px",WebkitTransformOrigin:"0 0 0",transformOrigin:"0 0 0",WebkitBackgroundOrigin:"padding-box, padding-box",backgroundOrigin:"padding-box, padding-box",WebkitBackgroundClip:"border-box, border-box",backgroundClip:"border-box, border-box",WebkitBackgroundSize:"14px 14px, 14px 14px",backgroundSize:"14px 14px, 14px 14px",WebkitBoxShadow:"none",boxShadow:"none",textShadow:"none",WebkitTransition:"none",MozTransition:"none",OTransition:"none",transition:"none",WebkitTransform:"scaleX(1) scaleY(1) scaleZ(1)",transform:"scaleX(1) scaleY(1) scaleZ(1)",borderRadius:10};xA.checkered=Lb;(function(A){function e(v){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(p){return typeof p}:function(p){return p&&typeof Symbol=="function"&&p.constructor===Symbol&&p!==Symbol.prototype?"symbol":typeof p},e(v)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=h(pA),r=mt,n=u(Od),o=xA;function u(v){return v&&v.__esModule?v:{default:v}}function c(v){if(typeof WeakMap!="function")return null;var p=new WeakMap,g=new WeakMap;return(c=function(T){return T?g:p})(v)}function h(v,p){if(!p&&v&&v.__esModule)return v;if(v===null||e(v)!=="object"&&typeof v!="function")return{default:v};var g=c(p);if(g&&g.has(v))return g.get(v);var C={},T=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var N in v)if(N!=="default"&&Object.prototype.hasOwnProperty.call(v,N)){var K=T?Object.getOwnPropertyDescriptor(v,N):null;K&&(K.get||K.set)?Object.defineProperty(C,N,K):C[N]=v[N]}return C.default=v,g&&g.set(v,C),C}function d(v,p){var g=Object.keys(v);if(Object.getOwnPropertySymbols){var C=Object.getOwnPropertySymbols(v);p&&(C=C.filter(function(T){return Object.getOwnPropertyDescriptor(v,T).enumerable})),g.push.apply(g,C)}return g}function m(v){for(var p=1;pv.length)&&(p=v.length);for(var g=0,C=new Array(p);g255||e>255||t>255){alert("RGB values must be in the range 0 to 255.");return}if(A===0&&e===0&&t===0)return u=1,[0,0,0,1];r=1-A/255,n=1-e/255,o=1-t/255;var c=Math.min(r,Math.min(n,o));return r=(r-c)/(1-c),n=(n-c)/(1-c),o=(o-c)/(1-c),u=c,{c:r,m:n,y:o,k:u}}var Pb=function(e){var t=e.c,r=e.m,n=e.y,o=e.k,u=255*(1-t)*(1-o),c=255*(1-r)*(1-o),h=255*(1-n)*(1-o);return{r:u,g:c,b:h}};_i.cmykToRgb=Pb;(function(A){function e(M){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(L){return typeof L}:function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},e(M)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=h(pA),r=_i,n=Ri(),o=mt,u=xA;function c(M){if(typeof WeakMap!="function")return null;var L=new WeakMap,R=new WeakMap;return(c=function(X){return X?R:L})(M)}function h(M,L){if(!L&&M&&M.__esModule)return M;if(M===null||e(M)!=="object"&&typeof M!="function")return{default:M};var R=c(L);if(R&&R.has(M))return R.get(M);var z={},X=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var $ in M)if($!=="default"&&Object.prototype.hasOwnProperty.call(M,$)){var Y=X?Object.getOwnPropertyDescriptor(M,$):null;Y&&(Y.get||Y.set)?Object.defineProperty(z,$,Y):z[$]=M[$]}return z.default=M,R&&R.set(M,z),z}function d(M,L){var R=Object.keys(M);if(Object.getOwnPropertySymbols){var z=Object.getOwnPropertySymbols(M);L&&(z=z.filter(function(X){return Object.getOwnPropertyDescriptor(M,X).enumerable})),R.push.apply(R,z)}return R}function m(M){for(var L=1;LM.length)&&(L=M.length);for(var R=0,z=new Array(L);Rv.length)&&(p=v.length);for(var g=0,C=new Array(p);gI.length)&&(O=I.length);for(var v=0,p=new Array(O);v0?m==null?void 0:m.slice(0,18):u},D=function(H){H!=null&&H.includes("gradient")?F(H):U(H)};return e.default.createElement("div",{style:{display:"flex",marginTop:14,justifyContent:"space-between"}},e.default.createElement("div",{style:{width:50,height:50,background:w,borderRadius:6,flexShrink:0}}),e.default.createElement("div",{style:{display:"flex",flexWrap:"wrap",width:S-66,justifyContent:"space-between"}},V().map(function(E,H){return e.default.createElement("div",{key:H,style:{height:23,width:"10.2%",borderRadius:4,background:E,marginBottom:2,border:E==="rgba(255,255,255, 1)"?"1px solid #96959c":""},onClick:function(){return D(E)}})})))},o=n;A.default=o;var u=["rgba(0,0,0,1)","rgba(128,128,128, 1)","rgba(192,192,192, 1)","rgba(255,255,255, 1)","rgba(0,0,128,1)","rgba(0,0,255,1)","rgba(0,255,255, 1)","rgba(0,128,0,1)","rgba(128,128,0, 1)","rgba(0,128,128,1)","rgba(0,255,0, 1)","rgba(128,0,0, 1)","rgba(128,0,128, 1)","rgba(175, 51, 242, 1)","rgba(255,0,255, 1)","rgba(255,0,0, 1)","rgba(240, 103, 46, 1)","rgba(255,255,0, 1)"]})(xw);var sc={},kd={};(function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=A.StopIcon=A.SlidersIcon=A.RadialIcon=A.PaletteIcon=A.LinearIcon=A.InputsIcon=A.DegreesIcon=void 0;var e=t(pA);function t(w){return w&&w.__esModule?w:{default:w}}var r=function(){var F={fill:"none",stroke:"rgb(50, 49, 54)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},e.default.createElement("polyline",{style:F,points:"17.96 4.31 2.04 4.3 3.75 4.3 4.81 17.29 5.16 17.96 5.74 18.47 6.59 18.62 13.64 18.62 14.52 18.32 15.07 17.68 15.29 17.12 16.28 4.3 12.87 4.3 12.87 2.38 12.48 1.75 11.83 1.46 8.4 1.46 7.64 1.68 7.26 2.21 7.16 2.52 7.17 4.23"}))},n=r;A.default=n;var o=function(F){var U=F.color,S=U||"#323136",V={fill:"none",stroke:S,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:14}},e.default.createElement("polyline",{style:V,points:"0.9 12.73 0.9 19.1 7.27 19.1 0.9 19.1 19.1 0.9 12.73 0.9 19.1 0.9 19.1 7.27"}))};A.LinearIcon=o;var u=function(F){var U=F.color,S=U||"#323136",V={fill:"none",stroke:S,strokeMiterlimit:10,strokeWidth:"1.8px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},e.default.createElement("circle",{style:V,cx:"10",cy:"10",r:"9"}),e.default.createElement("circle",{style:V,cx:"10",cy:"10",r:"5"}))};A.RadialIcon=u;var c=function(F){var U=F.color,S=U||"#323136",V={fill:"none",stroke:S,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px",fillRule:"evenodd"},D={fill:S,stroke:S,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},e.default.createElement("polyline",{style:V,points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),e.default.createElement("line",{style:D,x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),e.default.createElement("polyline",{style:V,points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),e.default.createElement("line",{style:D,x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),e.default.createElement("polyline",{style:V,points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),e.default.createElement("line",{style:D,x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))};A.SlidersIcon=c;var h=function(F){var U=F.color,S=U||"#323136",V={fill:"none",stroke:S,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},e.default.createElement("path",{style:V,d:"M6.35,2.72a4.85,4.85,0,0,1,1.86.16,7.94,7.94,0,0,1,.88.43,3.66,3.66,0,0,0,.85.49c.25,0,.58-.27.81-.39A8.25,8.25,0,0,1,11.7,3a4,4,0,0,1,1.79-.23,3.21,3.21,0,0,0-1.34.09,6.39,6.39,0,0,0-1.47.63c-.45.25-.7.3-.7.86s0,1.18,0,1.78c0,1.3,0,2.61,0,3.92h0v5.63a2.46,2.46,0,0,1,0,.47c-.07.28-.43.42-.7.57a5.29,5.29,0,0,1-2.94.61A9.3,9.3,0,0,0,8,17.15l1.09-.37.89-.52c.06,0,.48.21.56.25.32.14.64.27,1,.38a8.54,8.54,0,0,0,2.12.4"}),e.default.createElement("path",{style:V,d:"M7.57,5.73C6,5.7,4.5,5.65,3,5.77a2.28,2.28,0,0,0-1.76.74A2.3,2.3,0,0,0,.94,7.83l0,3.82A4.73,4.73,0,0,0,1,12.9a1.64,1.64,0,0,0,.68,1,2.44,2.44,0,0,0,1,.27,25,25,0,0,0,4.74.09"}),e.default.createElement("path",{style:V,d:"M12.43,14.32a44.12,44.12,0,0,0,4.6,0,2.24,2.24,0,0,0,1.76-.74,2.29,2.29,0,0,0,.27-1.32l0-3.81A4.81,4.81,0,0,0,19,7.15a1.62,1.62,0,0,0-.68-1,2.31,2.31,0,0,0-1-.28,26.8,26.8,0,0,0-4.74-.09"}))};A.InputsIcon=h;var d=function(F){var U=F.color,S=U||"#323136",V={fill:S},D={fill:S,stroke:S,strokeMiterlimit:10,strokeWidth:"0.5px"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:17}},e.default.createElement("circle",{style:V,cx:"9.36",cy:"5.07",r:"1.71"}),e.default.createElement("circle",{style:V,cx:"13.93",cy:"6.91",r:"1.71"}),e.default.createElement("circle",{style:V,cx:"5.8",cy:"7.55",r:"1.71"}),e.default.createElement("circle",{style:V,cx:"5.45",cy:"12.04",r:"1.71"}),e.default.createElement("path",{style:D,d:"M19.1,10c0,3.58-2.12,2.94-4.06,2.35-1.15-.34-2.24-.67-2.77-.08-.68.78-.54,2.07-.39,3.33.2,1.79.39,3.5-1.88,3.5A9.1,9.1,0,1,1,19.1,10ZM10,18c.7,0,.74-.19.75-.2a2.67,2.67,0,0,0,.07-1.27c0-.19,0-.42-.06-.67-.06-.53-.13-1.15-.14-1.67a3.82,3.82,0,0,1,.8-2.63,2.14,2.14,0,0,1,1.45-.7,4.36,4.36,0,0,1,1.32.12c.39.08.8.21,1.16.32h0c.39.12.74.23,1.08.3.74.17,1,.1,1.13,0S18,11.32,18,10a8,8,0,1,0-8,8Z"}))};A.PaletteIcon=d;var m=function(F){var U=F.color,S=U||"#323136",V={fill:"none",stroke:S,strokeMiterlimit:10,strokeWidth:"1.8px",strokeLinecap:"round"};return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:15}},e.default.createElement("polyline",{style:V,points:"13.86 2.01 1.7 16.99 18.77 16.99"}),e.default.createElement("polyline",{style:V,points:"10.96 16.38 10.96 16.38 10.74 15.7 10.44 14.97 10.06 14.21 9.72 13.63 9.21 12.89 8.85 12.44 8.41 11.95 7.91 11.45 7.51 11.1"}))};A.DegreesIcon=m;var y=function(){return e.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:20,marginRight:1}},e.default.createElement("path",{d:"M2.39,8c-.63,0-1,.21-1,.63A.49.49,0,0,0,1.67,9a6.48,6.48,0,0,0,1.11.43A3,3,0,0,1,4,10.09a1.47,1.47,0,0,1,.35,1.09,1.75,1.75,0,0,1-.57,1.42,2.21,2.21,0,0,1-1.48.48,8.32,8.32,0,0,1-1.68-.21l-.31-.06.12-.94a13.7,13.7,0,0,0,1.8.16c.61,0,.92-.26.92-.77a.52.52,0,0,0-.21-.44,3.13,3.13,0,0,0-.85-.34A3.32,3.32,0,0,1,.66,9.79a1.43,1.43,0,0,1-.42-1.1A1.6,1.6,0,0,1,.78,7.36a2.32,2.32,0,0,1,1.49-.44,10.46,10.46,0,0,1,1.64.17l.32.07-.1.95C3.31,8,2.73,8,2.39,8Z"}),e.default.createElement("path",{d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),e.default.createElement("path",{d:"M14,12.34a2.25,2.25,0,0,1-1.91.74,2.24,2.24,0,0,1-1.91-.74A3.85,3.85,0,0,1,9.61,10a4,4,0,0,1,.56-2.34,2.2,2.2,0,0,1,1.91-.77A2.21,2.21,0,0,1,14,7.69,4,4,0,0,1,14.55,10,3.85,3.85,0,0,1,14,12.34Zm-2.88-.77a1,1,0,0,0,1,.46,1,1,0,0,0,1-.46A3.25,3.25,0,0,0,13.3,10,3.45,3.45,0,0,0,13,8.46a1,1,0,0,0-1-.49,1,1,0,0,0-1,.49A3.43,3.43,0,0,0,10.85,10,3.38,3.38,0,0,0,11.11,11.57Z"}),e.default.createElement("path",{d:"M17.77,11.24h-1V13H15.58V7h2.19a1.85,1.85,0,0,1,2.11,2.07,2.21,2.21,0,0,1-.54,1.6A2.07,2.07,0,0,1,17.77,11.24Zm-1-1h1c.6,0,.9-.37.9-1.12a1.18,1.18,0,0,0-.22-.79.88.88,0,0,0-.68-.24h-1Z"}))};A.StopIcon=y})(kd);var lc={},bw={};(function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e=pA,t=ev;function r(y,w){return h(y)||c(y,w)||o(y,w)||n()}function n(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(y,w){if(y){if(typeof y=="string")return u(y,w);var F=Object.prototype.toString.call(y).slice(8,-1);if(F==="Object"&&y.constructor&&(F=y.constructor.name),F==="Map"||F==="Set")return Array.from(y);if(F==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(F))return u(y,w)}}function u(y,w){(w==null||w>y.length)&&(w=y.length);for(var F=0,U=new Array(w);F * Copyright (c) 2022 Niklas von Hertzen * Released under MIT License */(function(A,e){(function(t,r){A.exports=r()})(SF,function(){/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var t=function(a,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(l,s){l.__proto__=s}||function(l,s){for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&(l[f]=s[f])},t(a,i)};function r(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");t(a,i);function l(){this.constructor=a}a.prototype=i===null?Object.create(i):(l.prototype=i.prototype,new l)}var n=function(){return n=Object.assign||function(i){for(var l,s=1,f=arguments.length;s0&&B[B.length-1])&&(_[0]===6||_[0]===2)){l=0;continue}if(_[0]===3&&(!B||_[1]>B[0]&&_[1]=55296&&f<=56319&&l>10)+55296,Q%1024+56320)),(f+1===l||s.length>16384)&&(B+=String.fromCharCode.apply(String,s),s.length=0)}return B},F="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",U=typeof Uint8Array>"u"?[]:new Uint8Array(256),S=0;S"u"?[]:new Uint8Array(256),E=0;E>4,W[f++]=(Q&15)<<4|b>>2,W[f++]=(b&3)<<6|x&63;return _},I=function(a){for(var i=a.length,l=[],s=0;s>v,N=1<>v,M=T+j,L=M,R=32,z=L+R,X=65536>>p,$=1<=0){if(i<55296||i>56319&&i<=65535)return l=this.index[i>>v],l=(l<>v)],l=(l<>p),l=this.index[l],l+=i>>v&Y,l=this.index[l],l=(l<"u"?[]:new Uint8Array(256),dA=0;dAFA?(f.push(!0),b-=FA):f.push(!1),["normal","auto","loose"].indexOf(i)!==-1&&[8208,8211,12316,12448].indexOf(B)!==-1)return s.push(Q),l.push(oA);if(b===P||b===uA){if(Q===0)return s.push(Q),l.push(Ar);var x=l[Q-1];return _l.indexOf(x)===-1?(s.push(s[Q-1]),l.push(x)):(s.push(Q),l.push(Ar))}if(s.push(Q),b===Rl)return l.push(i==="strict"?$A:Qr);if(b===Gi||b===Ba)return l.push(Ar);if(b===cn)return B>=131072&&B<=196605||B>=196608&&B<=262141?l.push(Qr):l.push(Ar);l.push(b)}),[s,l,f]},Ue=function(a,i,l,s){var f=s[l];if(Array.isArray(a)?a.indexOf(f)!==-1:a===f)for(var B=l;B<=s.length;){B++;var Q=s[B];if(Q===i)return!0;if(Q!==Z)break}if(f===Z)for(var B=l;B>0;){B--;var b=s[B];if(Array.isArray(a)?a.indexOf(b)!==-1:a===b)for(var x=l;x<=s.length;){x++;var Q=s[x];if(Q===i)return!0;if(Q!==Z)break}if(b!==Z)break}return!1},WA=function(a,i){for(var l=a;l>=0;){var s=i[l];if(s===Z)l--;else return s}return 0},re=function(a,i,l,s,f){if(l[s]===0)return KA;var B=s-1;if(Array.isArray(f)&&f[B]===!0)return KA;var Q=B-1,b=B+1,x=i[B],_=Q>=0?i[Q]:0,W=i[b];if(x===hA&&W===MA)return KA;if(Xi.indexOf(x)!==-1)return fn;if(Xi.indexOf(W)!==-1||zi.indexOf(W)!==-1)return KA;if(WA(B,i)===nA)return tr;if(ji.get(a[B])===uA||(x===Vn||x===un)&&ji.get(a[b])===uA||x===k||W===k||x===tA||[Z,BA,zA].indexOf(x)===-1&&W===tA||[mA,bA,RA,ge,yr].indexOf(W)!==-1||WA(B,i)===he||Ue(He,he,B,i)||Ue([mA,bA],$A,B,i)||Ue(SA,SA,B,i))return KA;if(x===Z)return tr;if(x===He||W===He)return KA;if(W===oA||x===oA)return tr;if([BA,zA,$A].indexOf(W)!==-1||x===TA||_===Ni&&wa.indexOf(x)!==-1||x===yr&&W===Ni||W===JA||bt.indexOf(W)!==-1&&x===pe||bt.indexOf(x)!==-1&&W===pe||x===_t&&[Qr,Vn,un].indexOf(W)!==-1||[Qr,Vn,un].indexOf(x)!==-1&&W===Xe||bt.indexOf(x)!==-1&&ma.indexOf(W)!==-1||ma.indexOf(x)!==-1&&bt.indexOf(W)!==-1||[_t,Xe].indexOf(x)!==-1&&(W===pe||[he,zA].indexOf(W)!==-1&&i[b+1]===pe)||[he,zA].indexOf(x)!==-1&&W===pe||x===pe&&[pe,yr,ge].indexOf(W)!==-1)return KA;if([pe,yr,ge,mA,bA].indexOf(W)!==-1)for(var J=B;J>=0;){var AA=i[J];if(AA===pe)return KA;if([yr,ge].indexOf(AA)!==-1)J--;else break}if([_t,Xe].indexOf(W)!==-1)for(var J=[mA,bA].indexOf(x)!==-1?Q:B;J>=0;){var AA=i[J];if(AA===pe)return KA;if([yr,ge].indexOf(AA)!==-1)J--;else break}if(er===x&&[er,Nn,Cr,Vi].indexOf(W)!==-1||[Nn,Cr].indexOf(x)!==-1&&[Nn,Gn].indexOf(W)!==-1||[Gn,Vi].indexOf(x)!==-1&&W===Gn||va.indexOf(x)!==-1&&[JA,Xe].indexOf(W)!==-1||va.indexOf(W)!==-1&&x===_t||bt.indexOf(x)!==-1&&bt.indexOf(W)!==-1||x===ge&&bt.indexOf(W)!==-1||bt.concat(pe).indexOf(x)!==-1&&W===he&&Wi.indexOf(a[b])===-1||bt.concat(pe).indexOf(W)!==-1&&x===bA)return KA;if(x===Wn&&W===Wn){for(var yA=l[B],cA=1;yA>0&&(yA--,i[yA]===Wn);)cA++;if(cA%2!==0)return KA}return x===Vn&&W===un?KA:tr},jA=function(a,i){i||(i={lineBreak:"normal",wordBreak:"normal"});var l=Vl(a,i.lineBreak),s=l[0],f=l[1],B=l[2];(i.wordBreak==="break-all"||i.wordBreak==="break-word")&&(f=f.map(function(b){return[pe,Ar,Gi].indexOf(b)!==-1?Qr:b}));var Q=i.wordBreak==="keep-all"?B.map(function(b,x){return b&&a[x]>=19968&&a[x]<=40959}):void 0;return[s,f,Q]},le=function(){function a(i,l,s,f){this.codePoints=i,this.required=l===fn,this.start=s,this.end=f}return a.prototype.slice=function(){return w.apply(void 0,this.codePoints.slice(this.start,this.end))},a}(),vt=function(a,i){var l=y(a),s=jA(l,i),f=s[0],B=s[1],Q=s[2],b=l.length,x=0,_=0;return{next:function(){if(_>=b)return{done:!0,value:null};for(var W=KA;_=_d&&a<=57},By=function(a){return a>=55296&&a<=57343},zn=function(a){return _e(a)||a>=Gd&&a<=jd||a>=Vd&&a<=fy},my=function(a){return a>=Vd&&a<=hy},vy=function(a){return a>=Gd&&a<=py},wy=function(a){return my(a)||vy(a)},yy=function(a){return a>=ty},Ea=function(a){return a===Xn||a===Gl||a===_w},Sa=function(a){return wy(a)||yy(a)||a===Ww},Xd=function(a){return Sa(a)||_e(a)||a===qe},Cy=function(a){return a>=oy&&a<=ay||a===sy||a>=ly&&a<=uy||a===cy},Fr=function(a,i){return a!==hn?!1:i!==Xn},Ia=function(a,i,l){return a===qe?Sa(i)||Fr(i,l):Sa(a)?!0:!!(a===hn&&Fr(a,i))},jl=function(a,i,l){return a===gn||a===qe?_e(i)?!0:i===$i&&_e(l):_e(a===$i?i:a)},Qy=function(a){var i=0,l=1;(a[i]===gn||a[i]===qe)&&(a[i]===qe&&(l=-1),i++);for(var s=[];_e(a[i]);)s.push(a[i++]);var f=s.length?parseInt(w.apply(void 0,s),10):0;a[i]===$i&&i++;for(var B=[];_e(a[i]);)B.push(a[i++]);var Q=B.length,b=Q?parseInt(w.apply(void 0,B),10):0;(a[i]===Wd||a[i]===Nd)&&i++;var x=1;(a[i]===gn||a[i]===qe)&&(a[i]===qe&&(x=-1),i++);for(var _=[];_e(a[i]);)_.push(a[i++]);var W=_.length?parseInt(w.apply(void 0,_),10):0;return l*(f+b*Math.pow(10,-Q))*Math.pow(10,x*W)},Fy={type:2},Uy={type:3},Ey={type:4},Sy={type:13},Iy={type:8},Hy={type:21},xy={type:9},by={type:10},Ty={type:11},Ly={type:12},Dy={type:14},Ha={type:23},Py={type:1},Oy={type:25},ky={type:24},Ky={type:26},My={type:27},Ry={type:28},_y={type:29},Vy={type:31},Xl={type:32},zd=function(){function a(){this._value=[]}return a.prototype.write=function(i){this._value=this._value.concat(y(i))},a.prototype.read=function(){for(var i=[],l=this.consumeToken();l!==Xl;)i.push(l),l=this.consumeToken();return i},a.prototype.consumeToken=function(){var i=this.consumeCodePoint();switch(i){case Ca:return this.consumeStringToken(Ca);case Vw:var l=this.peekCodePoint(0),s=this.peekCodePoint(1),f=this.peekCodePoint(2);if(Xd(l)||Fr(s,f)){var B=Ia(l,s,f)?Nl:Ji,Q=this.consumeName();return{type:5,value:Q,flags:B}}break;case Nw:if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),Sy;break;case Qa:return this.consumeStringToken(Qa);case Fa:return Fy;case Zi:return Uy;case Wl:if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),Dy;break;case gn:if(jl(i,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(i),this.consumeNumericToken();break;case ry:return Ey;case qe:var b=i,x=this.peekCodePoint(0),_=this.peekCodePoint(1);if(jl(b,x,_))return this.reconsumeCodePoint(i),this.consumeNumericToken();if(Ia(b,x,_))return this.reconsumeCodePoint(i),this.consumeIdentLikeToken();if(x===qe&&_===zw)return this.consumeCodePoint(),this.consumeCodePoint(),ky;break;case $i:if(jl(i,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(i),this.consumeNumericToken();break;case ya:if(this.peekCodePoint(0)===Wl)for(this.consumeCodePoint();;){var W=this.consumeCodePoint();if(W===Wl&&(W=this.consumeCodePoint(),W===ya))return this.consumeToken();if(W===Vt)return this.consumeToken()}break;case ny:return Ky;case iy:return My;case Xw:if(this.peekCodePoint(0)===jw&&this.peekCodePoint(1)===qe&&this.peekCodePoint(2)===qe)return this.consumeCodePoint(),this.consumeCodePoint(),Oy;break;case Jw:var J=this.peekCodePoint(0),AA=this.peekCodePoint(1),yA=this.peekCodePoint(2);if(Ia(J,AA,yA)){var Q=this.consumeName();return{type:7,value:Q}}break;case Yw:return Ry;case hn:if(Fr(i,this.peekCodePoint(0)))return this.reconsumeCodePoint(i),this.consumeIdentLikeToken();break;case Zw:return _y;case $w:if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),Iy;break;case qw:return Ty;case Ay:return Ly;case dy:case gy:var cA=this.peekCodePoint(0),gA=this.peekCodePoint(1);return cA===gn&&(zn(gA)||gA===Ua)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(i),this.consumeIdentLikeToken();case Md:if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),xy;if(this.peekCodePoint(0)===Md)return this.consumeCodePoint(),Hy;break;case ey:if(this.peekCodePoint(0)===Yi)return this.consumeCodePoint(),by;break;case Vt:return Xl}return Ea(i)?(this.consumeWhiteSpace(),Vy):_e(i)?(this.reconsumeCodePoint(i),this.consumeNumericToken()):Sa(i)?(this.reconsumeCodePoint(i),this.consumeIdentLikeToken()):{type:6,value:w(i)}},a.prototype.consumeCodePoint=function(){var i=this._value.shift();return typeof i>"u"?-1:i},a.prototype.reconsumeCodePoint=function(i){this._value.unshift(i)},a.prototype.peekCodePoint=function(i){return i>=this._value.length?-1:this._value[i]},a.prototype.consumeUnicodeRangeToken=function(){for(var i=[],l=this.consumeCodePoint();zn(l)&&i.length<6;)i.push(l),l=this.consumeCodePoint();for(var s=!1;l===Ua&&i.length<6;)i.push(l),l=this.consumeCodePoint(),s=!0;if(s){var f=parseInt(w.apply(void 0,i.map(function(x){return x===Ua?_d:x})),16),B=parseInt(w.apply(void 0,i.map(function(x){return x===Ua?jd:x})),16);return{type:30,start:f,end:B}}var Q=parseInt(w.apply(void 0,i),16);if(this.peekCodePoint(0)===qe&&zn(this.peekCodePoint(1))){this.consumeCodePoint(),l=this.consumeCodePoint();for(var b=[];zn(l)&&b.length<6;)b.push(l),l=this.consumeCodePoint();var B=parseInt(w.apply(void 0,b),16);return{type:30,start:Q,end:B}}else return{type:30,start:Q,end:Q}},a.prototype.consumeIdentLikeToken=function(){var i=this.consumeName();return i.toLowerCase()==="url"&&this.peekCodePoint(0)===Fa?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Fa?(this.consumeCodePoint(),{type:19,value:i}):{type:20,value:i}},a.prototype.consumeUrlToken=function(){var i=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt)return{type:22,value:""};var l=this.peekCodePoint(0);if(l===Qa||l===Ca){var s=this.consumeStringToken(this.consumeCodePoint());return s.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===Zi)?(this.consumeCodePoint(),{type:22,value:s.value}):(this.consumeBadUrlRemnants(),Ha)}for(;;){var f=this.consumeCodePoint();if(f===Vt||f===Zi)return{type:22,value:w.apply(void 0,i)};if(Ea(f))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Vt||this.peekCodePoint(0)===Zi?(this.consumeCodePoint(),{type:22,value:w.apply(void 0,i)}):(this.consumeBadUrlRemnants(),Ha);if(f===Ca||f===Qa||f===Fa||Cy(f))return this.consumeBadUrlRemnants(),Ha;if(f===hn)if(Fr(f,this.peekCodePoint(0)))i.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Ha;else i.push(f)}},a.prototype.consumeWhiteSpace=function(){for(;Ea(this.peekCodePoint(0));)this.consumeCodePoint()},a.prototype.consumeBadUrlRemnants=function(){for(;;){var i=this.consumeCodePoint();if(i===Zi||i===Vt)return;Fr(i,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},a.prototype.consumeStringSlice=function(i){for(var l=5e4,s="";i>0;){var f=Math.min(l,i);s+=w.apply(void 0,this._value.splice(0,f)),i-=f}return this._value.shift(),s},a.prototype.consumeStringToken=function(i){var l="",s=0;do{var f=this._value[s];if(f===Vt||f===void 0||f===i)return l+=this.consumeStringSlice(s),{type:0,value:l};if(f===Xn)return this._value.splice(0,s),Py;if(f===hn){var B=this._value[s+1];B!==Vt&&B!==void 0&&(B===Xn?(l+=this.consumeStringSlice(s),s=-1,this._value.shift()):Fr(f,B)&&(l+=this.consumeStringSlice(s),l+=w(this.consumeEscapedCodePoint()),s=-1))}s++}while(!0)},a.prototype.consumeNumber=function(){var i=[],l=dn,s=this.peekCodePoint(0);for((s===gn||s===qe)&&i.push(this.consumeCodePoint());_e(this.peekCodePoint(0));)i.push(this.consumeCodePoint());s=this.peekCodePoint(0);var f=this.peekCodePoint(1);if(s===$i&&_e(f))for(i.push(this.consumeCodePoint(),this.consumeCodePoint()),l=jn;_e(this.peekCodePoint(0));)i.push(this.consumeCodePoint());s=this.peekCodePoint(0),f=this.peekCodePoint(1);var B=this.peekCodePoint(2);if((s===Wd||s===Nd)&&((f===gn||f===qe)&&_e(B)||_e(f)))for(i.push(this.consumeCodePoint(),this.consumeCodePoint()),l=jn;_e(this.peekCodePoint(0));)i.push(this.consumeCodePoint());return[Qy(i),l]},a.prototype.consumeNumericToken=function(){var i=this.consumeNumber(),l=i[0],s=i[1],f=this.peekCodePoint(0),B=this.peekCodePoint(1),Q=this.peekCodePoint(2);if(Ia(f,B,Q)){var b=this.consumeName();return{type:15,number:l,flags:s,unit:b}}return f===Gw?(this.consumeCodePoint(),{type:16,number:l,flags:s}):{type:17,number:l,flags:s}},a.prototype.consumeEscapedCodePoint=function(){var i=this.consumeCodePoint();if(zn(i)){for(var l=w(i);zn(this.peekCodePoint(0))&&l.length<6;)l+=w(this.consumeCodePoint());Ea(this.peekCodePoint(0))&&this.consumeCodePoint();var s=parseInt(l,16);return s===0||By(s)||s>1114111?Rd:s}return i===Vt?Rd:i},a.prototype.consumeName=function(){for(var i="";;){var l=this.consumeCodePoint();if(Xd(l))i+=w(l);else if(Fr(l,this.peekCodePoint(0)))i+=w(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(l),i}},a}(),Jd=function(){function a(i){this._tokens=i}return a.create=function(i){var l=new zd;return l.write(i),new a(l.read())},a.parseValue=function(i){return a.create(i).parseComponentValue()},a.parseValues=function(i){return a.create(i).parseComponentValues()},a.prototype.parseComponentValue=function(){for(var i=this.consumeToken();i.type===31;)i=this.consumeToken();if(i.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(i);var l=this.consumeComponentValue();do i=this.consumeToken();while(i.type===31);if(i.type===32)return l;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},a.prototype.parseComponentValues=function(){for(var i=[];;){var l=this.consumeComponentValue();if(l.type===32)return i;i.push(l),i.push()}},a.prototype.consumeComponentValue=function(){var i=this.consumeToken();switch(i.type){case 11:case 28:case 2:return this.consumeSimpleBlock(i.type);case 19:return this.consumeFunction(i)}return i},a.prototype.consumeSimpleBlock=function(i){for(var l={type:i,values:[]},s=this.consumeToken();;){if(s.type===32||Gy(s,i))return l;this.reconsumeToken(s),l.values.push(this.consumeComponentValue()),s=this.consumeToken()}},a.prototype.consumeFunction=function(i){for(var l={name:i.value,values:[],type:18};;){var s=this.consumeToken();if(s.type===32||s.type===3)return l;this.reconsumeToken(s),l.values.push(this.consumeComponentValue())}},a.prototype.consumeToken=function(){var i=this._tokens.shift();return typeof i>"u"?Xl:i},a.prototype.reconsumeToken=function(i){this._tokens.unshift(i)},a}(),qi=function(a){return a.type===15},Jn=function(a){return a.type===17},qA=function(a){return a.type===20},Ny=function(a){return a.type===0},zl=function(a,i){return qA(a)&&a.value===i},Yd=function(a){return a.type!==31},Yn=function(a){return a.type!==31&&a.type!==4},Nt=function(a){var i=[],l=[];return a.forEach(function(s){if(s.type===4){if(l.length===0)throw new Error("Error parsing function args, zero tokens for arg");i.push(l),l=[];return}s.type!==31&&l.push(s)}),l.length&&i.push(l),i},Gy=function(a,i){return i===11&&a.type===12||i===28&&a.type===29?!0:i===2&&a.type===3},Ur=function(a){return a.type===17||a.type===15},ye=function(a){return a.type===16||Ur(a)},Zd=function(a){return a.length>1?[a[0],a[1]]:[a[0]]},Pe={type:17,number:0,flags:dn},Jl={type:16,number:50,flags:dn},Er={type:16,number:100,flags:dn},Ao=function(a,i,l){var s=a[0],f=a[1];return[ee(s,i),ee(typeof f<"u"?f:s,l)]},ee=function(a,i){if(a.type===16)return a.number/100*i;if(qi(a))switch(a.unit){case"rem":case"em":return 16*a.number;case"px":default:return a.number}return a.number},$d="deg",qd="grad",Ah="rad",eh="turn",xa={name:"angle",parse:function(a,i){if(i.type===15)switch(i.unit){case $d:return Math.PI*i.number/180;case qd:return Math.PI/200*i.number;case Ah:return i.number;case eh:return Math.PI*2*i.number}throw new Error("Unsupported angle type")}},th=function(a){return a.type===15&&(a.unit===$d||a.unit===qd||a.unit===Ah||a.unit===eh)},rh=function(a){var i=a.filter(qA).map(function(l){return l.value}).join(" ");switch(i){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Pe,Pe];case"to top":case"bottom":return wt(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Pe,Er];case"to right":case"left":return wt(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Er,Er];case"to bottom":case"top":return wt(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Er,Pe];case"to left":case"right":return wt(270)}return 0},wt=function(a){return Math.PI*a/180},Sr={name:"color",parse:function(a,i){if(i.type===18){var l=Wy[i.name];if(typeof l>"u")throw new Error('Attempting to parse an unsupported color function "'+i.name+'"');return l(a,i.values)}if(i.type===5){if(i.value.length===3){var s=i.value.substring(0,1),f=i.value.substring(1,2),B=i.value.substring(2,3);return Hr(parseInt(s+s,16),parseInt(f+f,16),parseInt(B+B,16),1)}if(i.value.length===4){var s=i.value.substring(0,1),f=i.value.substring(1,2),B=i.value.substring(2,3),Q=i.value.substring(3,4);return Hr(parseInt(s+s,16),parseInt(f+f,16),parseInt(B+B,16),parseInt(Q+Q,16)/255)}if(i.value.length===6){var s=i.value.substring(0,2),f=i.value.substring(2,4),B=i.value.substring(4,6);return Hr(parseInt(s,16),parseInt(f,16),parseInt(B,16),1)}if(i.value.length===8){var s=i.value.substring(0,2),f=i.value.substring(2,4),B=i.value.substring(4,6),Q=i.value.substring(6,8);return Hr(parseInt(s,16),parseInt(f,16),parseInt(B,16),parseInt(Q,16)/255)}}if(i.type===20){var b=rr[i.value.toUpperCase()];if(typeof b<"u")return b}return rr.TRANSPARENT}},Ir=function(a){return(255&a)===0},xe=function(a){var i=255&a,l=255&a>>8,s=255&a>>16,f=255&a>>24;return i<255?"rgba("+f+","+s+","+l+","+i/255+")":"rgb("+f+","+s+","+l+")"},Hr=function(a,i,l,s){return(a<<24|i<<16|l<<8|Math.round(s*255)<<0)>>>0},nh=function(a,i){if(a.type===17)return a.number;if(a.type===16){var l=i===3?1:255;return i===3?a.number/100*l:Math.round(a.number/100*l)}return 0},ih=function(a,i){var l=i.filter(Yn);if(l.length===3){var s=l.map(nh),f=s[0],B=s[1],Q=s[2];return Hr(f,B,Q,1)}if(l.length===4){var b=l.map(nh),f=b[0],B=b[1],Q=b[2],x=b[3];return Hr(f,B,Q,x)}return 0};function Yl(a,i,l){return l<0&&(l+=1),l>=1&&(l-=1),l<1/6?(i-a)*l*6+a:l<1/2?i:l<2/3?(i-a)*6*(2/3-l)+a:a}var oh=function(a,i){var l=i.filter(Yn),s=l[0],f=l[1],B=l[2],Q=l[3],b=(s.type===17?wt(s.number):xa.parse(a,s))/(Math.PI*2),x=ye(f)?f.number/100:0,_=ye(B)?B.number/100:0,W=typeof Q<"u"&&ye(Q)?ee(Q,1):1;if(x===0)return Hr(_*255,_*255,_*255,1);var J=_<=.5?_*(x+1):_+x-_*x,AA=_*2-J,yA=Yl(AA,J,b+1/3),cA=Yl(AA,J,b),gA=Yl(AA,J,b-1/3);return Hr(yA*255,cA*255,gA*255,W)},Wy={hsl:oh,hsla:oh,rgb:ih,rgba:ih},eo=function(a,i){return Sr.parse(a,Jd.create(i).parseComponentValue())},rr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},jy={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(a,i){return i.map(function(l){if(qA(l))switch(l.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Xy={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ba=function(a,i){var l=Sr.parse(a,i[0]),s=i[1];return s&&ye(s)?{color:l,stop:s}:{color:l,stop:null}},ah=function(a,i){var l=a[0],s=a[a.length-1];l.stop===null&&(l.stop=Pe),s.stop===null&&(s.stop=Er);for(var f=[],B=0,Q=0;QB?f.push(x):f.push(B),B=x}else f.push(null)}for(var _=null,Q=0;QQ.optimumDistance)?{optimumCorner:b,optimumDistance:W}:Q},{optimumDistance:f?1/0:-1/0,optimumCorner:null}).optimumCorner},Yy=function(a,i,l,s,f){var B=0,Q=0;switch(a.size){case 0:a.shape===0?B=Q=Math.min(Math.abs(i),Math.abs(i-s),Math.abs(l),Math.abs(l-f)):a.shape===1&&(B=Math.min(Math.abs(i),Math.abs(i-s)),Q=Math.min(Math.abs(l),Math.abs(l-f)));break;case 2:if(a.shape===0)B=Q=Math.min(Tt(i,l),Tt(i,l-f),Tt(i-s,l),Tt(i-s,l-f));else if(a.shape===1){var b=Math.min(Math.abs(l),Math.abs(l-f))/Math.min(Math.abs(i),Math.abs(i-s)),x=sh(s,f,i,l,!0),_=x[0],W=x[1];B=Tt(_-i,(W-l)/b),Q=b*B}break;case 1:a.shape===0?B=Q=Math.max(Math.abs(i),Math.abs(i-s),Math.abs(l),Math.abs(l-f)):a.shape===1&&(B=Math.max(Math.abs(i),Math.abs(i-s)),Q=Math.max(Math.abs(l),Math.abs(l-f)));break;case 3:if(a.shape===0)B=Q=Math.max(Tt(i,l),Tt(i,l-f),Tt(i-s,l),Tt(i-s,l-f));else if(a.shape===1){var b=Math.max(Math.abs(l),Math.abs(l-f))/Math.max(Math.abs(i),Math.abs(i-s)),J=sh(s,f,i,l,!1),_=J[0],W=J[1];B=Tt(_-i,(W-l)/b),Q=b*B}break}return Array.isArray(a.size)&&(B=ee(a.size[0],s),Q=a.size.length===2?ee(a.size[1],f):B),[B,Q]},Zy=function(a,i){var l=wt(180),s=[];return Nt(i).forEach(function(f,B){if(B===0){var Q=f[0];if(Q.type===20&&Q.value==="to"){l=rh(f);return}else if(th(Q)){l=xa.parse(a,Q);return}}var b=ba(a,f);s.push(b)}),{angle:l,stops:s,type:1}},Ta=function(a,i){var l=wt(180),s=[];return Nt(i).forEach(function(f,B){if(B===0){var Q=f[0];if(Q.type===20&&["top","left","right","bottom"].indexOf(Q.value)!==-1){l=rh(f);return}else if(th(Q)){l=(xa.parse(a,Q)+wt(270))%wt(360);return}}var b=ba(a,f);s.push(b)}),{angle:l,stops:s,type:1}},$y=function(a,i){var l=wt(180),s=[],f=1,B=0,Q=3,b=[];return Nt(i).forEach(function(x,_){var W=x[0];if(_===0){if(qA(W)&&W.value==="linear"){f=1;return}else if(qA(W)&&W.value==="radial"){f=2;return}}if(W.type===18){if(W.name==="from"){var J=Sr.parse(a,W.values[0]);s.push({stop:Pe,color:J})}else if(W.name==="to"){var J=Sr.parse(a,W.values[0]);s.push({stop:Er,color:J})}else if(W.name==="color-stop"){var AA=W.values.filter(Yn);if(AA.length===2){var J=Sr.parse(a,AA[1]),yA=AA[0];Jn(yA)&&s.push({stop:{type:16,number:yA.number*100,flags:yA.flags},color:J})}}}}),f===1?{angle:(l+wt(180))%wt(360),stops:s,type:f}:{size:Q,shape:B,stops:s,position:b,type:f}},lh="closest-side",uh="farthest-side",ch="closest-corner",fh="farthest-corner",dh="circle",hh="ellipse",gh="cover",ph="contain",qy=function(a,i){var l=0,s=3,f=[],B=[];return Nt(i).forEach(function(Q,b){var x=!0;if(b===0){var _=!1;x=Q.reduce(function(J,AA){if(_)if(qA(AA))switch(AA.value){case"center":return B.push(Jl),J;case"top":case"left":return B.push(Pe),J;case"right":case"bottom":return B.push(Er),J}else(ye(AA)||Ur(AA))&&B.push(AA);else if(qA(AA))switch(AA.value){case dh:return l=0,!1;case hh:return l=1,!1;case"at":return _=!0,!1;case lh:return s=0,!1;case gh:case uh:return s=1,!1;case ph:case ch:return s=2,!1;case fh:return s=3,!1}else if(Ur(AA)||ye(AA))return Array.isArray(s)||(s=[]),s.push(AA),!1;return J},x)}if(x){var W=ba(a,Q);f.push(W)}}),{size:s,shape:l,stops:f,position:B,type:2}},La=function(a,i){var l=0,s=3,f=[],B=[];return Nt(i).forEach(function(Q,b){var x=!0;if(b===0?x=Q.reduce(function(W,J){if(qA(J))switch(J.value){case"center":return B.push(Jl),!1;case"top":case"left":return B.push(Pe),!1;case"right":case"bottom":return B.push(Er),!1}else if(ye(J)||Ur(J))return B.push(J),!1;return W},x):b===1&&(x=Q.reduce(function(W,J){if(qA(J))switch(J.value){case dh:return l=0,!1;case hh:return l=1,!1;case ph:case lh:return s=0,!1;case uh:return s=1,!1;case ch:return s=2,!1;case gh:case fh:return s=3,!1}else if(Ur(J)||ye(J))return Array.isArray(s)||(s=[]),s.push(J),!1;return W},x)),x){var _=ba(a,Q);f.push(_)}}),{size:s,shape:l,stops:f,position:B,type:2}},AC=function(a){return a.type===1},eC=function(a){return a.type===2},Zl={name:"image",parse:function(a,i){if(i.type===22){var l={url:i.value,type:0};return a.cache.addImage(i.value),l}if(i.type===18){var s=Bh[i.name];if(typeof s>"u")throw new Error('Attempting to parse an unsupported image function "'+i.name+'"');return s(a,i.values)}throw new Error("Unsupported image type "+i.type)}};function tC(a){return!(a.type===20&&a.value==="none")&&(a.type!==18||!!Bh[a.name])}var Bh={"linear-gradient":Zy,"-moz-linear-gradient":Ta,"-ms-linear-gradient":Ta,"-o-linear-gradient":Ta,"-webkit-linear-gradient":Ta,"radial-gradient":qy,"-moz-radial-gradient":La,"-ms-radial-gradient":La,"-o-radial-gradient":La,"-webkit-radial-gradient":La,"-webkit-gradient":$y},rC={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(a,i){if(i.length===0)return[];var l=i[0];return l.type===20&&l.value==="none"?[]:i.filter(function(s){return Yn(s)&&tC(s)}).map(function(s){return Zl.parse(a,s)})}},nC={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(a,i){return i.map(function(l){if(qA(l))switch(l.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},iC={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(a,i){return Nt(i).map(function(l){return l.filter(ye)}).map(Zd)}},oC={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(a,i){return Nt(i).map(function(l){return l.filter(qA).map(function(s){return s.value}).join(" ")}).map(aC)}},aC=function(a){switch(a){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Zn;(function(a){a.AUTO="auto",a.CONTAIN="contain",a.COVER="cover"})(Zn||(Zn={}));var sC={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(a,i){return Nt(i).map(function(l){return l.filter(lC)})}},lC=function(a){return qA(a)||ye(a)},Da=function(a){return{name:"border-"+a+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},uC=Da("top"),cC=Da("right"),fC=Da("bottom"),dC=Da("left"),Pa=function(a){return{name:"border-radius-"+a,initialValue:"0 0",prefix:!1,type:1,parse:function(i,l){return Zd(l.filter(ye))}}},hC=Pa("top-left"),gC=Pa("top-right"),pC=Pa("bottom-right"),BC=Pa("bottom-left"),Oa=function(a){return{name:"border-"+a+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(i,l){switch(l){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},mC=Oa("top"),vC=Oa("right"),wC=Oa("bottom"),yC=Oa("left"),ka=function(a){return{name:"border-"+a+"-width",initialValue:"0",type:0,prefix:!1,parse:function(i,l){return qi(l)?l.number:0}}},CC=ka("top"),QC=ka("right"),FC=ka("bottom"),UC=ka("left"),EC={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},SC={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(a,i){switch(i){case"rtl":return 1;case"ltr":default:return 0}}},IC={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(a,i){return i.filter(qA).reduce(function(l,s){return l|HC(s.value)},0)}},HC=function(a){switch(a){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},xC={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(a,i){switch(i){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},bC={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(a,i){return i.type===20&&i.value==="normal"?0:i.type===17||i.type===15?i.number:0}},Ka;(function(a){a.NORMAL="normal",a.STRICT="strict"})(Ka||(Ka={}));var TC={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(a,i){switch(i){case"strict":return Ka.STRICT;case"normal":default:return Ka.NORMAL}}},LC={name:"line-height",initialValue:"normal",prefix:!1,type:4},mh=function(a,i){return qA(a)&&a.value==="normal"?1.2*i:a.type===17?i*a.number:ye(a)?ee(a,i):i},DC={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(a,i){return i.type===20&&i.value==="none"?null:Zl.parse(a,i)}},PC={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(a,i){switch(i){case"inside":return 0;case"outside":default:return 1}}},$l={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(a,i){switch(i){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Ma=function(a){return{name:"margin-"+a,initialValue:"0",prefix:!1,type:4}},OC=Ma("top"),kC=Ma("right"),KC=Ma("bottom"),MC=Ma("left"),RC={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(a,i){return i.filter(qA).map(function(l){switch(l.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},_C={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(a,i){switch(i){case"break-word":return"break-word";case"normal":default:return"normal"}}},Ra=function(a){return{name:"padding-"+a,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},VC=Ra("top"),NC=Ra("right"),GC=Ra("bottom"),WC=Ra("left"),jC={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(a,i){switch(i){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},XC={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(a,i){switch(i){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},zC={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(a,i){return i.length===1&&zl(i[0],"none")?[]:Nt(i).map(function(l){for(var s={color:rr.TRANSPARENT,offsetX:Pe,offsetY:Pe,blur:Pe},f=0,B=0;B"u")throw new Error('Attempting to parse an unsupported transform function "'+i.name+'"');return l(i.values)}return null}},ZC=function(a){var i=a.filter(function(l){return l.type===17}).map(function(l){return l.number});return i.length===6?i:null},$C=function(a){var i=a.filter(function(x){return x.type===17}).map(function(x){return x.number}),l=i[0],s=i[1];i[2],i[3];var f=i[4],B=i[5];i[6],i[7],i[8],i[9],i[10],i[11];var Q=i[12],b=i[13];return i[14],i[15],i.length===16?[l,s,f,B,Q,b]:null},qC={matrix:ZC,matrix3d:$C},vh={type:16,number:50,flags:dn},AQ=[vh,vh],eQ={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(a,i){var l=i.filter(ye);return l.length!==2?AQ:[l[0],l[1]]}},tQ={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(a,i){switch(i){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},to;(function(a){a.NORMAL="normal",a.BREAK_ALL="break-all",a.KEEP_ALL="keep-all"})(to||(to={}));for(var rQ={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(a,i){switch(i){case"break-all":return to.BREAK_ALL;case"keep-all":return to.KEEP_ALL;case"normal":default:return to.NORMAL}}},nQ={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(a,i){if(i.type===20)return{auto:!0,order:0};if(Jn(i))return{auto:!1,order:i.number};throw new Error("Invalid z-index number parsed")}},wh={name:"time",parse:function(a,i){if(i.type===15)switch(i.unit.toLowerCase()){case"s":return 1e3*i.number;case"ms":return i.number}throw new Error("Unsupported time type")}},iQ={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(a,i){return Jn(i)?i.number:1}},oQ={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},aQ={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(a,i){return i.filter(qA).map(function(l){switch(l.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(l){return l!==0})}},sQ={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(a,i){var l=[],s=[];return i.forEach(function(f){switch(f.type){case 20:case 0:l.push(f.value);break;case 17:l.push(f.number.toString());break;case 4:s.push(l.join(" ")),l.length=0;break}}),l.length&&s.push(l.join(" ")),s.map(function(f){return f.indexOf(" ")===-1?f:"'"+f+"'"})}},lQ={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},uQ={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(a,i){if(Jn(i))return i.number;if(qA(i))switch(i.value){case"bold":return 700;case"normal":default:return 400}return 400}},cQ={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(a,i){return i.filter(qA).map(function(l){return l.value})}},fQ={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(a,i){switch(i){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},Ee=function(a,i){return(a&i)!==0},dQ={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(a,i){if(i.length===0)return[];var l=i[0];return l.type===20&&l.value==="none"?[]:i}},hQ={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(a,i){if(i.length===0)return null;var l=i[0];if(l.type===20&&l.value==="none")return null;for(var s=[],f=i.filter(Yd),B=0;B1?1:0],this.overflowWrap=CA(i,_C,l.overflowWrap),this.paddingTop=CA(i,VC,l.paddingTop),this.paddingRight=CA(i,NC,l.paddingRight),this.paddingBottom=CA(i,GC,l.paddingBottom),this.paddingLeft=CA(i,WC,l.paddingLeft),this.paintOrder=CA(i,vQ,l.paintOrder),this.position=CA(i,XC,l.position),this.textAlign=CA(i,jC,l.textAlign),this.textDecorationColor=CA(i,oQ,(s=l.textDecorationColor)!==null&&s!==void 0?s:l.color),this.textDecorationLine=CA(i,aQ,(f=l.textDecorationLine)!==null&&f!==void 0?f:l.textDecoration),this.textShadow=CA(i,zC,l.textShadow),this.textTransform=CA(i,JC,l.textTransform),this.transform=CA(i,YC,l.transform),this.transformOrigin=CA(i,eQ,l.transformOrigin),this.visibility=CA(i,tQ,l.visibility),this.webkitTextStrokeColor=CA(i,wQ,l.webkitTextStrokeColor),this.webkitTextStrokeWidth=CA(i,yQ,l.webkitTextStrokeWidth),this.wordBreak=CA(i,rQ,l.wordBreak),this.zIndex=CA(i,nQ,l.zIndex)}return a.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},a.prototype.isTransparent=function(){return Ir(this.backgroundColor)},a.prototype.isTransformed=function(){return this.transform!==null},a.prototype.isPositioned=function(){return this.position!==0},a.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},a.prototype.isFloating=function(){return this.float!==0},a.prototype.isInlineLevel=function(){return Ee(this.display,4)||Ee(this.display,33554432)||Ee(this.display,268435456)||Ee(this.display,536870912)||Ee(this.display,67108864)||Ee(this.display,134217728)},a}(),QQ=function(){function a(i,l){this.content=CA(i,dQ,l.content),this.quotes=CA(i,BQ,l.quotes)}return a}(),Ch=function(){function a(i,l){this.counterIncrement=CA(i,hQ,l.counterIncrement),this.counterReset=CA(i,gQ,l.counterReset)}return a}(),CA=function(a,i,l){var s=new zd,f=l!==null&&typeof l<"u"?l.toString():i.initialValue;s.write(f);var B=new Jd(s.read());switch(i.type){case 2:var Q=B.parseComponentValue();return i.parse(a,qA(Q)?Q.value:i.initialValue);case 0:return i.parse(a,B.parseComponentValue());case 1:return i.parse(a,B.parseComponentValues());case 4:return B.parseComponentValue();case 3:switch(i.format){case"angle":return xa.parse(a,B.parseComponentValue());case"color":return Sr.parse(a,B.parseComponentValue());case"image":return Zl.parse(a,B.parseComponentValue());case"length":var b=B.parseComponentValue();return Ur(b)?b:Pe;case"length-percentage":var x=B.parseComponentValue();return ye(x)?x:Pe;case"time":return wh.parse(a,B.parseComponentValue())}break}},FQ="data-html2canvas-debug",UQ=function(a){var i=a.getAttribute(FQ);switch(i){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},ql=function(a,i){var l=UQ(a);return l===1||i===l},Gt=function(){function a(i,l){if(this.context=i,this.textNodes=[],this.elements=[],this.flags=0,ql(l,3))debugger;this.styles=new CQ(i,window.getComputedStyle(l,null)),du(l)&&(this.styles.animationDuration.some(function(s){return s>0})&&(l.style.animationDuration="0s"),this.styles.transform!==null&&(l.style.transform="none")),this.bounds=d(this.context,l),ql(l,4)&&(this.flags|=16)}return a}(),EQ="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAA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BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIA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AZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKB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4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Qh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ro=typeof Uint8Array>"u"?[]:new Uint8Array(256),_a=0;_a>4,W[f++]=(Q&15)<<4|b>>2,W[f++]=(b&3)<<6|x&63;return _},IQ=function(a){for(var i=a.length,l=[],s=0;s>pn,bQ=1<>pn,LQ=Fh+TQ,DQ=LQ,PQ=32,OQ=DQ+PQ,kQ=65536>>Au,KQ=1<=0){if(i<55296||i>56319&&i<=65535)return l=this.index[i>>pn],l=(l<>pn)],l=(l<>Au),l=this.index[l],l+=i>>pn&MQ,l=this.index[l],l=(l<"u"?[]:new Uint8Array(256),Va=0;Va=55296&&f<=56319&&l>10)+55296,Q%1024+56320)),(f+1===l||s.length>16384)&&(B+=String.fromCharCode.apply(String,s),s.length=0)}return B},zQ=_Q(EQ),yt="×",su="÷",JQ=function(a){return zQ.get(a)},YQ=function(a,i,l){var s=l-2,f=i[s],B=i[l-1],Q=i[l];if(B===ru&&Q===nu)return yt;if(B===ru||B===nu||B===Sh||Q===ru||Q===nu||Q===Sh)return su;if(B===Hh&&[Hh,iu,xh,bh].indexOf(Q)!==-1||(B===xh||B===iu)&&(Q===iu||Q===ou)||(B===bh||B===ou)&&Q===ou||Q===Th||Q===Ih||Q===WQ||B===GQ)return yt;if(B===Th&&Q===Lh){for(;f===Ih;)f=i[--s];if(f===Lh)return yt}if(B===au&&Q===au){for(var b=0;f===au;)b++,f=i[--s];if(b%2===0)return yt}return su},ZQ=function(a){var i=jQ(a),l=i.length,s=0,f=0,B=i.map(JQ);return{next:function(){if(s>=l)return{done:!0,value:null};for(var Q=yt;sQ.x||W.y>Q.y;return Q=W,_===0?!0:J});return a.body.removeChild(i),b},e1=function(){return typeof new Image().crossOrigin<"u"},t1=function(){return typeof new XMLHttpRequest().responseType=="string"},r1=function(a){var i=new Image,l=a.createElement("canvas"),s=l.getContext("2d");if(!s)return!1;i.src="data:image/svg+xml,";try{s.drawImage(i,0,0),l.toDataURL()}catch{return!1}return!0},Dh=function(a){return a[0]===0&&a[1]===255&&a[2]===0&&a[3]===255},n1=function(a){var i=a.createElement("canvas"),l=100;i.width=l,i.height=l;var s=i.getContext("2d");if(!s)return Promise.reject(!1);s.fillStyle="rgb(0, 255, 0)",s.fillRect(0,0,l,l);var f=new Image,B=i.toDataURL();f.src=B;var Q=lu(l,l,0,0,f);return s.fillStyle="red",s.fillRect(0,0,l,l),Ph(Q).then(function(b){s.drawImage(b,0,0);var x=s.getImageData(0,0,l,l).data;s.fillStyle="red",s.fillRect(0,0,l,l);var _=a.createElement("div");return _.style.backgroundImage="url("+B+")",_.style.height=l+"px",Dh(x)?Ph(lu(l,l,0,0,_)):Promise.reject(!1)}).then(function(b){return s.drawImage(b,0,0),Dh(s.getImageData(0,0,l,l).data)}).catch(function(){return!1})},lu=function(a,i,l,s,f){var B="http://www.w3.org/2000/svg",Q=document.createElementNS(B,"svg"),b=document.createElementNS(B,"foreignObject");return Q.setAttributeNS(null,"width",a.toString()),Q.setAttributeNS(null,"height",i.toString()),b.setAttributeNS(null,"width","100%"),b.setAttributeNS(null,"height","100%"),b.setAttributeNS(null,"x",l.toString()),b.setAttributeNS(null,"y",s.toString()),b.setAttributeNS(null,"externalResourcesRequired","true"),Q.appendChild(b),b.appendChild(f),Q},Ph=function(a){return new Promise(function(i,l){var s=new Image;s.onload=function(){return i(s)},s.onerror=l,s.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(a))})},Oe={get SUPPORT_RANGE_BOUNDS(){var a=qQ(document);return Object.defineProperty(Oe,"SUPPORT_RANGE_BOUNDS",{value:a}),a},get SUPPORT_WORD_BREAKING(){var a=Oe.SUPPORT_RANGE_BOUNDS&&A1(document);return Object.defineProperty(Oe,"SUPPORT_WORD_BREAKING",{value:a}),a},get SUPPORT_SVG_DRAWING(){var a=r1(document);return Object.defineProperty(Oe,"SUPPORT_SVG_DRAWING",{value:a}),a},get SUPPORT_FOREIGNOBJECT_DRAWING(){var a=typeof Array.from=="function"&&typeof window.fetch=="function"?n1(document):Promise.resolve(!1);return Object.defineProperty(Oe,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:a}),a},get SUPPORT_CORS_IMAGES(){var a=e1();return Object.defineProperty(Oe,"SUPPORT_CORS_IMAGES",{value:a}),a},get SUPPORT_RESPONSE_TYPE(){var a=t1();return Object.defineProperty(Oe,"SUPPORT_RESPONSE_TYPE",{value:a}),a},get SUPPORT_CORS_XHR(){var a="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Oe,"SUPPORT_CORS_XHR",{value:a}),a},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var a=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Oe,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:a}),a}},no=function(){function a(i,l){this.text=i,this.bounds=l}return a}(),i1=function(a,i,l,s){var f=s1(i,l),B=[],Q=0;return f.forEach(function(b){if(l.textDecorationLine.length||b.trim().length>0)if(Oe.SUPPORT_RANGE_BOUNDS){var x=Oh(s,Q,b.length).getClientRects();if(x.length>1){var _=uu(b),W=0;_.forEach(function(AA){B.push(new no(AA,h.fromDOMRectList(a,Oh(s,W+Q,AA.length).getClientRects()))),W+=AA.length})}else B.push(new no(b,h.fromDOMRectList(a,x)))}else{var J=s.splitText(b.length);B.push(new no(b,o1(a,s))),s=J}else Oe.SUPPORT_RANGE_BOUNDS||(s=s.splitText(b.length));Q+=b.length}),B},o1=function(a,i){var l=i.ownerDocument;if(l){var s=l.createElement("html2canvaswrapper");s.appendChild(i.cloneNode(!0));var f=i.parentNode;if(f){f.replaceChild(s,i);var B=d(a,s);return s.firstChild&&f.replaceChild(s.firstChild,s),B}}return h.EMPTY},Oh=function(a,i,l){var s=a.ownerDocument;if(!s)throw new Error("Node has no owner document");var f=s.createRange();return f.setStart(a,i),f.setEnd(a,i+l),f},uu=function(a){if(Oe.SUPPORT_NATIVE_TEXT_SEGMENTATION){var i=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(i.segment(a)).map(function(l){return l.segment})}return $Q(a)},a1=function(a,i){if(Oe.SUPPORT_NATIVE_TEXT_SEGMENTATION){var l=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(l.segment(a)).map(function(s){return s.segment})}return u1(a,i)},s1=function(a,i){return i.letterSpacing!==0?uu(a):a1(a,i)},l1=[32,160,4961,65792,65793,4153,4241],u1=function(a,i){for(var l=vt(a,{lineBreak:i.lineBreak,wordBreak:i.overflowWrap==="break-word"?"break-word":i.wordBreak}),s=[],f,B=function(){if(f.value){var Q=f.value.slice(),b=y(Q),x="";b.forEach(function(_){l1.indexOf(_)===-1?x+=w(_):(x.length&&s.push(x),s.push(w(_)),x="")}),x.length&&s.push(x)}};!(f=l.next()).done;)B();return s},c1=function(){function a(i,l,s){this.text=f1(l.data,s.textTransform),this.textBounds=i1(i,this.text,s,l)}return a}(),f1=function(a,i){switch(i){case 1:return a.toLowerCase();case 3:return a.replace(d1,h1);case 2:return a.toUpperCase();default:return a}},d1=/(^|\s|:|-|\(|\))([a-z])/g,h1=function(a,i,l){return a.length>0?i+l.toUpperCase():a},kh=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this;return f.src=s.currentSrc||s.src,f.intrinsicWidth=s.naturalWidth,f.intrinsicHeight=s.naturalHeight,f.context.cache.addImage(f.src),f}return i}(Gt),Kh=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this;return f.canvas=s,f.intrinsicWidth=s.width,f.intrinsicHeight=s.height,f}return i}(Gt),Mh=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this,B=new XMLSerializer,Q=d(l,s);return s.setAttribute("width",Q.width+"px"),s.setAttribute("height",Q.height+"px"),f.svg="data:image/svg+xml,"+encodeURIComponent(B.serializeToString(s)),f.intrinsicWidth=s.width.baseVal.value,f.intrinsicHeight=s.height.baseVal.value,f.context.cache.addImage(f.svg),f}return i}(Gt),Rh=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this;return f.value=s.value,f}return i}(Gt),cu=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this;return f.start=s.start,f.reversed=typeof s.reversed=="boolean"&&s.reversed===!0,f}return i}(Gt),g1=[{type:15,flags:0,unit:"px",number:3}],p1=[{type:16,flags:0,number:50}],B1=function(a){return a.width>a.height?new h(a.left+(a.width-a.height)/2,a.top,a.height,a.height):a.width0)l.textNodes.push(new c1(a,f,l.styles));else if($n(f))if(qh(f)&&f.assignedNodes)f.assignedNodes().forEach(function(b){return Wa(a,b,l,s)});else{var Q=Wh(a,f);Q.styles.isVisible()&&(y1(f,Q,s)?Q.flags|=4:C1(Q.styles)&&(Q.flags|=2),w1.indexOf(f.tagName)!==-1&&(Q.flags|=8),l.elements.push(Q),f.slot,f.shadowRoot?Wa(a,f.shadowRoot,Q,s):!Xa(f)&&!zh(f)&&!za(f)&&Wa(a,f,Q,s))}},Wh=function(a,i){return gu(i)?new kh(a,i):Jh(i)?new Kh(a,i):zh(i)?new Mh(a,i):Q1(i)?new Rh(a,i):F1(i)?new cu(a,i):U1(i)?new fu(a,i):za(i)?new Vh(a,i):Xa(i)?new Nh(a,i):Zh(i)?new Gh(a,i):new Gt(a,i)},jh=function(a,i){var l=Wh(a,i);return l.flags|=4,Wa(a,i,l,l),l},y1=function(a,i,l){return i.styles.isPositionedWithZIndex()||i.styles.opacity<1||i.styles.isTransformed()||hu(a)&&l.styles.isTransparent()},C1=function(a){return a.isPositioned()||a.isFloating()},Xh=function(a){return a.nodeType===Node.TEXT_NODE},$n=function(a){return a.nodeType===Node.ELEMENT_NODE},du=function(a){return $n(a)&&typeof a.style<"u"&&!ja(a)},ja=function(a){return typeof a.className=="object"},Q1=function(a){return a.tagName==="LI"},F1=function(a){return a.tagName==="OL"},U1=function(a){return a.tagName==="INPUT"},E1=function(a){return a.tagName==="HTML"},zh=function(a){return a.tagName==="svg"},hu=function(a){return a.tagName==="BODY"},Jh=function(a){return a.tagName==="CANVAS"},Yh=function(a){return a.tagName==="VIDEO"},gu=function(a){return a.tagName==="IMG"},Zh=function(a){return a.tagName==="IFRAME"},$h=function(a){return a.tagName==="STYLE"},S1=function(a){return a.tagName==="SCRIPT"},Xa=function(a){return a.tagName==="TEXTAREA"},za=function(a){return a.tagName==="SELECT"},qh=function(a){return a.tagName==="SLOT"},Ag=function(a){return a.tagName.indexOf("-")>0},I1=function(){function a(){this.counters={}}return a.prototype.getCounterValue=function(i){var l=this.counters[i];return l&&l.length?l[l.length-1]:1},a.prototype.getCounterValues=function(i){var l=this.counters[i];return l||[]},a.prototype.pop=function(i){var l=this;i.forEach(function(s){return l.counters[s].pop()})},a.prototype.parse=function(i){var l=this,s=i.counterIncrement,f=i.counterReset,B=!0;s!==null&&s.forEach(function(b){var x=l.counters[b.counter];x&&b.increment!==0&&(B=!1,x.length||x.push(1),x[Math.max(0,x.length-1)]+=b.increment)});var Q=[];return B&&f.forEach(function(b){var x=l.counters[b.counter];Q.push(b.counter),x||(x=l.counters[b.counter]=[]),x.push(b.reset)}),Q},a}(),eg={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},tg={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},H1={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},x1={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},qn=function(a,i,l,s,f,B){return al?oo(a,f,B.length>0):s.integers.reduce(function(Q,b,x){for(;a>=b;)a-=b,Q+=s.values[x];return Q},"")+B},rg=function(a,i,l,s){var f="";do l||a--,f=s(a)+f,a/=i;while(a*i>=i);return f},ve=function(a,i,l,s,f){var B=l-i+1;return(a<0?"-":"")+(rg(Math.abs(a),B,s,function(Q){return w(Math.floor(Q%B)+i)})+f)},Bn=function(a,i,l){l===void 0&&(l=". ");var s=i.length;return rg(Math.abs(a),s,!1,function(f){return i[Math.floor(f%s)]})+l},Ai=1,xr=2,br=4,io=8,nr=function(a,i,l,s,f,B){if(a<-9999||a>9999)return oo(a,4,f.length>0);var Q=Math.abs(a),b=f;if(Q===0)return i[0]+b;for(var x=0;Q>0&&x<=4;x++){var _=Q%10;_===0&&Ee(B,Ai)&&b!==""?b=i[_]+b:_>1||_===1&&x===0||_===1&&x===1&&Ee(B,xr)||_===1&&x===1&&Ee(B,br)&&a>100||_===1&&x>1&&Ee(B,io)?b=i[_]+(x>0?l[x-1]:"")+b:_===1&&x>0&&(b=l[x-1]+b),Q=Math.floor(Q/10)}return(a<0?s:"")+b},ng="十百千萬",ig="拾佰仟萬",og="マイナス",pu="마이너스",oo=function(a,i,l){var s=l?". ":"",f=l?"、":"",B=l?", ":"",Q=l?" ":"";switch(i){case 0:return"•"+Q;case 1:return"◦"+Q;case 2:return"◾"+Q;case 5:var b=ve(a,48,57,!0,s);return b.length<4?"0"+b:b;case 4:return Bn(a,"〇一二三四五六七八九",f);case 6:return qn(a,1,3999,eg,3,s).toLowerCase();case 7:return qn(a,1,3999,eg,3,s);case 8:return ve(a,945,969,!1,s);case 9:return ve(a,97,122,!1,s);case 10:return ve(a,65,90,!1,s);case 11:return ve(a,1632,1641,!0,s);case 12:case 49:return qn(a,1,9999,tg,3,s);case 35:return qn(a,1,9999,tg,3,s).toLowerCase();case 13:return ve(a,2534,2543,!0,s);case 14:case 30:return ve(a,6112,6121,!0,s);case 15:return Bn(a,"子丑寅卯辰巳午未申酉戌亥",f);case 16:return Bn(a,"甲乙丙丁戊己庚辛壬癸",f);case 17:case 48:return nr(a,"零一二三四五六七八九",ng,"負",f,xr|br|io);case 47:return nr(a,"零壹貳參肆伍陸柒捌玖",ig,"負",f,Ai|xr|br|io);case 42:return nr(a,"零一二三四五六七八九",ng,"负",f,xr|br|io);case 41:return nr(a,"零壹贰叁肆伍陆柒捌玖",ig,"负",f,Ai|xr|br|io);case 26:return nr(a,"〇一二三四五六七八九","十百千万",og,f,0);case 25:return nr(a,"零壱弐参四伍六七八九","拾百千万",og,f,Ai|xr|br);case 31:return nr(a,"영일이삼사오육칠팔구","십백천만",pu,B,Ai|xr|br);case 33:return nr(a,"零一二三四五六七八九","十百千萬",pu,B,0);case 32:return nr(a,"零壹貳參四五六七八九","拾百千",pu,B,Ai|xr|br);case 18:return ve(a,2406,2415,!0,s);case 20:return qn(a,1,19999,x1,3,s);case 21:return ve(a,2790,2799,!0,s);case 22:return ve(a,2662,2671,!0,s);case 22:return qn(a,1,10999,H1,3,s);case 23:return Bn(a,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Bn(a,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return ve(a,3302,3311,!0,s);case 28:return Bn(a,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",f);case 29:return Bn(a,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",f);case 34:return ve(a,3792,3801,!0,s);case 37:return ve(a,6160,6169,!0,s);case 38:return ve(a,4160,4169,!0,s);case 39:return ve(a,2918,2927,!0,s);case 40:return ve(a,1776,1785,!0,s);case 43:return ve(a,3046,3055,!0,s);case 44:return ve(a,3174,3183,!0,s);case 45:return ve(a,3664,3673,!0,s);case 46:return ve(a,3872,3881,!0,s);case 3:default:return ve(a,48,57,!0,s)}},ag="data-html2canvas-ignore",sg=function(){function a(i,l,s){if(this.context=i,this.options=s,this.scrolledElements=[],this.referenceElement=l,this.counters=new I1,this.quoteDepth=0,!l.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(l.ownerDocument.documentElement,!1)}return a.prototype.toIFrame=function(i,l){var s=this,f=b1(i,l);if(!f.contentWindow)return Promise.reject("Unable to find iframe window");var B=i.defaultView.pageXOffset,Q=i.defaultView.pageYOffset,b=f.contentWindow,x=b.document,_=D1(f).then(function(){return o(s,void 0,void 0,function(){var W,J;return u(this,function(AA){switch(AA.label){case 0:return this.scrolledElements.forEach(K1),b&&(b.scrollTo(l.left,l.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(b.scrollY!==l.top||b.scrollX!==l.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(b.scrollX-l.left,b.scrollY-l.top,0,0))),W=this.options.onclone,J=this.clonedReferenceElement,typeof J>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:x.fonts&&x.fonts.ready?[4,x.fonts.ready]:[3,2];case 1:AA.sent(),AA.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,L1(x)]:[3,4];case 3:AA.sent(),AA.label=4;case 4:return typeof W=="function"?[2,Promise.resolve().then(function(){return W(x,J)}).then(function(){return f})]:[2,f]}})})});return x.open(),x.write(O1(document.doctype)+""),k1(this.referenceElement.ownerDocument,B,Q),x.replaceChild(x.adoptNode(this.documentElement),x.documentElement),x.close(),_},a.prototype.createElementClone=function(i){if(ql(i,2))debugger;if(Jh(i))return this.createCanvasClone(i);if(Yh(i))return this.createVideoClone(i);if($h(i))return this.createStyleClone(i);var l=i.cloneNode(!1);return gu(l)&&(gu(i)&&i.currentSrc&&i.currentSrc!==i.src&&(l.src=i.currentSrc,l.srcset=""),l.loading==="lazy"&&(l.loading="eager")),Ag(l)?this.createCustomElementClone(l):l},a.prototype.createCustomElementClone=function(i){var l=document.createElement("html2canvascustomelement");return Bu(i.style,l),l},a.prototype.createStyleClone=function(i){try{var l=i.sheet;if(l&&l.cssRules){var s=[].slice.call(l.cssRules,0).reduce(function(B,Q){return Q&&typeof Q.cssText=="string"?B+Q.cssText:B},""),f=i.cloneNode(!1);return f.textContent=s,f}}catch(B){if(this.context.logger.error("Unable to access cssRules property",B),B.name!=="SecurityError")throw B}return i.cloneNode(!1)},a.prototype.createCanvasClone=function(i){var l;if(this.options.inlineImages&&i.ownerDocument){var s=i.ownerDocument.createElement("img");try{return s.src=i.toDataURL(),s}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",i)}}var f=i.cloneNode(!1);try{f.width=i.width,f.height=i.height;var B=i.getContext("2d"),Q=f.getContext("2d");if(Q)if(!this.options.allowTaint&&B)Q.putImageData(B.getImageData(0,0,i.width,i.height),0,0);else{var b=(l=i.getContext("webgl2"))!==null&&l!==void 0?l:i.getContext("webgl");if(b){var x=b.getContextAttributes();(x==null?void 0:x.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",i)}Q.drawImage(i,0,0)}return f}catch{this.context.logger.info("Unable to clone canvas as it is tainted",i)}return f},a.prototype.createVideoClone=function(i){var l=i.ownerDocument.createElement("canvas");l.width=i.offsetWidth,l.height=i.offsetHeight;var s=l.getContext("2d");try{return s&&(s.drawImage(i,0,0,l.width,l.height),this.options.allowTaint||s.getImageData(0,0,l.width,l.height)),l}catch{this.context.logger.info("Unable to clone video as it is tainted",i)}var f=i.ownerDocument.createElement("canvas");return f.width=i.offsetWidth,f.height=i.offsetHeight,f},a.prototype.appendChildNode=function(i,l,s){(!$n(l)||!S1(l)&&!l.hasAttribute(ag)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(l)))&&(!this.options.copyStyles||!$n(l)||!$h(l))&&i.appendChild(this.cloneNode(l,s))},a.prototype.cloneChildNodes=function(i,l,s){for(var f=this,B=i.shadowRoot?i.shadowRoot.firstChild:i.firstChild;B;B=B.nextSibling)if($n(B)&&qh(B)&&typeof B.assignedNodes=="function"){var Q=B.assignedNodes();Q.length&&Q.forEach(function(b){return f.appendChildNode(l,b,s)})}else this.appendChildNode(l,B,s)},a.prototype.cloneNode=function(i,l){if(Xh(i))return document.createTextNode(i.data);if(!i.ownerDocument)return i.cloneNode(!1);var s=i.ownerDocument.defaultView;if(s&&$n(i)&&(du(i)||ja(i))){var f=this.createElementClone(i);f.style.transitionProperty="none";var B=s.getComputedStyle(i),Q=s.getComputedStyle(i,":before"),b=s.getComputedStyle(i,":after");this.referenceElement===i&&du(f)&&(this.clonedReferenceElement=f),hu(f)&&_1(f);var x=this.counters.parse(new Ch(this.context,B)),_=this.resolvePseudoContent(i,f,Q,ao.BEFORE);Ag(i)&&(l=!0),Yh(i)||this.cloneChildNodes(i,f,l),_&&f.insertBefore(_,f.firstChild);var W=this.resolvePseudoContent(i,f,b,ao.AFTER);return W&&f.appendChild(W),this.counters.pop(x),(B&&(this.options.copyStyles||ja(i))&&!Zh(i)||l)&&Bu(B,f),(i.scrollTop!==0||i.scrollLeft!==0)&&this.scrolledElements.push([f,i.scrollLeft,i.scrollTop]),(Xa(i)||za(i))&&(Xa(f)||za(f))&&(f.value=i.value),f}return i.cloneNode(!1)},a.prototype.resolvePseudoContent=function(i,l,s,f){var B=this;if(s){var Q=s.content,b=l.ownerDocument;if(!(!b||!Q||Q==="none"||Q==="-moz-alt-content"||s.display==="none")){this.counters.parse(new Ch(this.context,s));var x=new QQ(this.context,s),_=b.createElement("html2canvaspseudoelement");Bu(s,_),x.content.forEach(function(J){if(J.type===0)_.appendChild(b.createTextNode(J.value));else if(J.type===22){var AA=b.createElement("img");AA.src=J.value,AA.style.opacity="1",_.appendChild(AA)}else if(J.type===18){if(J.name==="attr"){var yA=J.values.filter(qA);yA.length&&_.appendChild(b.createTextNode(i.getAttribute(yA[0].value)||""))}else if(J.name==="counter"){var cA=J.values.filter(Yn),gA=cA[0],OA=cA[1];if(gA&&qA(gA)){var IA=B.counters.getCounterValue(gA.value),EA=OA&&qA(OA)?$l.parse(B.context,OA.value):3;_.appendChild(b.createTextNode(oo(IA,EA,!1)))}}else if(J.name==="counters"){var XA=J.values.filter(Yn),gA=XA[0],kA=XA[1],OA=XA[2];if(gA&&qA(gA)){var DA=B.counters.getCounterValues(gA.value),wA=OA&&qA(OA)?$l.parse(B.context,OA.value):3,VA=kA&&kA.type===0?kA.value:"",NA=DA.map(function(At){return oo(At,wA,!1)}).join(VA);_.appendChild(b.createTextNode(NA))}}}else if(J.type===20)switch(J.value){case"open-quote":_.appendChild(b.createTextNode(yh(x.quotes,B.quoteDepth++,!0)));break;case"close-quote":_.appendChild(b.createTextNode(yh(x.quotes,--B.quoteDepth,!1)));break;default:_.appendChild(b.createTextNode(J.value))}}),_.className=mu+" "+vu;var W=f===ao.BEFORE?" "+mu:" "+vu;return ja(l)?l.className.baseValue+=W:l.className+=W,_}}},a.destroy=function(i){return i.parentNode?(i.parentNode.removeChild(i),!0):!1},a}(),ao;(function(a){a[a.BEFORE=0]="BEFORE",a[a.AFTER=1]="AFTER"})(ao||(ao={}));var b1=function(a,i){var l=a.createElement("iframe");return l.className="html2canvas-container",l.style.visibility="hidden",l.style.position="fixed",l.style.left="-10000px",l.style.top="0px",l.style.border="0",l.width=i.width.toString(),l.height=i.height.toString(),l.scrolling="no",l.setAttribute(ag,"true"),a.body.appendChild(l),l},T1=function(a){return new Promise(function(i){if(a.complete){i();return}if(!a.src){i();return}a.onload=i,a.onerror=i})},L1=function(a){return Promise.all([].slice.call(a.images,0).map(T1))},D1=function(a){return new Promise(function(i,l){var s=a.contentWindow;if(!s)return l("No window assigned for iframe");var f=s.document;s.onload=a.onload=function(){s.onload=a.onload=null;var B=setInterval(function(){f.body.childNodes.length>0&&f.readyState==="complete"&&(clearInterval(B),i(a))},50)}})},P1=["all","d","content"],Bu=function(a,i){for(var l=a.length-1;l>=0;l--){var s=a.item(l);P1.indexOf(s)===-1&&i.style.setProperty(s,a.getPropertyValue(s))}return i},O1=function(a){var i="";return a&&(i+=""),i},k1=function(a,i,l){a&&a.defaultView&&(i!==a.defaultView.pageXOffset||l!==a.defaultView.pageYOffset)&&a.defaultView.scrollTo(i,l)},K1=function(a){var i=a[0],l=a[1],s=a[2];i.scrollLeft=l,i.scrollTop=s},M1=":before",R1=":after",mu="___html2canvas___pseudoelement_before",vu="___html2canvas___pseudoelement_after",lg=`{ content: "" !important; display: none !important; }`,_1=function(a){V1(a,"."+mu+M1+lg+` .`+vu+R1+lg)},V1=function(a,i){var l=a.ownerDocument;if(l){var s=l.createElement("style");s.textContent=i,a.appendChild(s)}},ug=function(){function a(){}return a.getOrigin=function(i){var l=a._link;return l?(l.href=i,l.href=l.href,l.protocol+l.hostname+l.port):"about:blank"},a.isSameOrigin=function(i){return a.getOrigin(i)===a._origin},a.setContext=function(i){a._link=i.document.createElement("a"),a._origin=a.getOrigin(i.location.href)},a._origin="about:blank",a}(),N1=function(){function a(i,l){this.context=i,this._options=l,this._cache={}}return a.prototype.addImage=function(i){var l=Promise.resolve();return this.has(i)||(yu(i)||X1(i))&&(this._cache[i]=this.loadImage(i)).catch(function(){}),l},a.prototype.match=function(i){return this._cache[i]},a.prototype.loadImage=function(i){return o(this,void 0,void 0,function(){var l,s,f,B,Q=this;return u(this,function(b){switch(b.label){case 0:return l=ug.isSameOrigin(i),s=!wu(i)&&this._options.useCORS===!0&&Oe.SUPPORT_CORS_IMAGES&&!l,f=!wu(i)&&!l&&!yu(i)&&typeof this._options.proxy=="string"&&Oe.SUPPORT_CORS_XHR&&!s,!l&&this._options.allowTaint===!1&&!wu(i)&&!yu(i)&&!f&&!s?[2]:(B=i,f?[4,this.proxy(B)]:[3,2]);case 1:B=b.sent(),b.label=2;case 2:return this.context.logger.debug("Added image "+i.substring(0,256)),[4,new Promise(function(x,_){var W=new Image;W.onload=function(){return x(W)},W.onerror=_,(z1(B)||s)&&(W.crossOrigin="anonymous"),W.src=B,W.complete===!0&&setTimeout(function(){return x(W)},500),Q._options.imageTimeout>0&&setTimeout(function(){return _("Timed out ("+Q._options.imageTimeout+"ms) loading image")},Q._options.imageTimeout)})];case 3:return[2,b.sent()]}})})},a.prototype.has=function(i){return typeof this._cache[i]<"u"},a.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},a.prototype.proxy=function(i){var l=this,s=this._options.proxy;if(!s)throw new Error("No proxy defined");var f=i.substring(0,256);return new Promise(function(B,Q){var b=Oe.SUPPORT_RESPONSE_TYPE?"blob":"text",x=new XMLHttpRequest;x.onload=function(){if(x.status===200)if(b==="text")B(x.response);else{var J=new FileReader;J.addEventListener("load",function(){return B(J.result)},!1),J.addEventListener("error",function(AA){return Q(AA)},!1),J.readAsDataURL(x.response)}else Q("Failed to proxy resource "+f+" with status code "+x.status)},x.onerror=Q;var _=s.indexOf("?")>-1?"&":"?";if(x.open("GET",""+s+_+"url="+encodeURIComponent(i)+"&responseType="+b),b!=="text"&&x instanceof XMLHttpRequest&&(x.responseType=b),l._options.imageTimeout){var W=l._options.imageTimeout;x.timeout=W,x.ontimeout=function(){return Q("Timed out ("+W+"ms) proxying "+f)}}x.send()})},a}(),G1=/^data:image\/svg\+xml/i,W1=/^data:image\/.*;base64,/i,j1=/^data:image\/.*/i,X1=function(a){return Oe.SUPPORT_SVG_DRAWING||!J1(a)},wu=function(a){return j1.test(a)},z1=function(a){return W1.test(a)},yu=function(a){return a.substr(0,4)==="blob"},J1=function(a){return a.substr(-3).toLowerCase()==="svg"||G1.test(a)},vA=function(){function a(i,l){this.type=0,this.x=i,this.y=l}return a.prototype.add=function(i,l){return new a(this.x+i,this.y+l)},a}(),ei=function(a,i,l){return new vA(a.x+(i.x-a.x)*l,a.y+(i.y-a.y)*l)},Ja=function(){function a(i,l,s,f){this.type=1,this.start=i,this.startControl=l,this.endControl=s,this.end=f}return a.prototype.subdivide=function(i,l){var s=ei(this.start,this.startControl,i),f=ei(this.startControl,this.endControl,i),B=ei(this.endControl,this.end,i),Q=ei(s,f,i),b=ei(f,B,i),x=ei(Q,b,i);return l?new a(this.start,s,Q,x):new a(x,b,B,this.end)},a.prototype.add=function(i,l){return new a(this.start.add(i,l),this.startControl.add(i,l),this.endControl.add(i,l),this.end.add(i,l))},a.prototype.reverse=function(){return new a(this.end,this.endControl,this.startControl,this.start)},a}(),Ct=function(a){return a.type===1},Y1=function(){function a(i){var l=i.styles,s=i.bounds,f=Ao(l.borderTopLeftRadius,s.width,s.height),B=f[0],Q=f[1],b=Ao(l.borderTopRightRadius,s.width,s.height),x=b[0],_=b[1],W=Ao(l.borderBottomRightRadius,s.width,s.height),J=W[0],AA=W[1],yA=Ao(l.borderBottomLeftRadius,s.width,s.height),cA=yA[0],gA=yA[1],OA=[];OA.push((B+x)/s.width),OA.push((cA+J)/s.width),OA.push((Q+gA)/s.height),OA.push((_+AA)/s.height);var IA=Math.max.apply(Math,OA);IA>1&&(B/=IA,Q/=IA,x/=IA,_/=IA,J/=IA,AA/=IA,cA/=IA,gA/=IA);var EA=s.width-x,XA=s.height-AA,kA=s.width-J,DA=s.height-gA,wA=l.borderTopWidth,VA=l.borderRightWidth,NA=l.borderBottomWidth,PA=l.borderLeftWidth,Ce=ee(l.paddingTop,i.bounds.width),At=ee(l.paddingRight,i.bounds.width),lt=ee(l.paddingBottom,i.bounds.width),Ae=ee(l.paddingLeft,i.bounds.width);this.topLeftBorderDoubleOuterBox=B>0||Q>0?ae(s.left+PA/3,s.top+wA/3,B-PA/3,Q-wA/3,YA.TOP_LEFT):new vA(s.left+PA/3,s.top+wA/3),this.topRightBorderDoubleOuterBox=B>0||Q>0?ae(s.left+EA,s.top+wA/3,x-VA/3,_-wA/3,YA.TOP_RIGHT):new vA(s.left+s.width-VA/3,s.top+wA/3),this.bottomRightBorderDoubleOuterBox=J>0||AA>0?ae(s.left+kA,s.top+XA,J-VA/3,AA-NA/3,YA.BOTTOM_RIGHT):new vA(s.left+s.width-VA/3,s.top+s.height-NA/3),this.bottomLeftBorderDoubleOuterBox=cA>0||gA>0?ae(s.left+PA/3,s.top+DA,cA-PA/3,gA-NA/3,YA.BOTTOM_LEFT):new vA(s.left+PA/3,s.top+s.height-NA/3),this.topLeftBorderDoubleInnerBox=B>0||Q>0?ae(s.left+PA*2/3,s.top+wA*2/3,B-PA*2/3,Q-wA*2/3,YA.TOP_LEFT):new vA(s.left+PA*2/3,s.top+wA*2/3),this.topRightBorderDoubleInnerBox=B>0||Q>0?ae(s.left+EA,s.top+wA*2/3,x-VA*2/3,_-wA*2/3,YA.TOP_RIGHT):new vA(s.left+s.width-VA*2/3,s.top+wA*2/3),this.bottomRightBorderDoubleInnerBox=J>0||AA>0?ae(s.left+kA,s.top+XA,J-VA*2/3,AA-NA*2/3,YA.BOTTOM_RIGHT):new vA(s.left+s.width-VA*2/3,s.top+s.height-NA*2/3),this.bottomLeftBorderDoubleInnerBox=cA>0||gA>0?ae(s.left+PA*2/3,s.top+DA,cA-PA*2/3,gA-NA*2/3,YA.BOTTOM_LEFT):new vA(s.left+PA*2/3,s.top+s.height-NA*2/3),this.topLeftBorderStroke=B>0||Q>0?ae(s.left+PA/2,s.top+wA/2,B-PA/2,Q-wA/2,YA.TOP_LEFT):new vA(s.left+PA/2,s.top+wA/2),this.topRightBorderStroke=B>0||Q>0?ae(s.left+EA,s.top+wA/2,x-VA/2,_-wA/2,YA.TOP_RIGHT):new vA(s.left+s.width-VA/2,s.top+wA/2),this.bottomRightBorderStroke=J>0||AA>0?ae(s.left+kA,s.top+XA,J-VA/2,AA-NA/2,YA.BOTTOM_RIGHT):new vA(s.left+s.width-VA/2,s.top+s.height-NA/2),this.bottomLeftBorderStroke=cA>0||gA>0?ae(s.left+PA/2,s.top+DA,cA-PA/2,gA-NA/2,YA.BOTTOM_LEFT):new vA(s.left+PA/2,s.top+s.height-NA/2),this.topLeftBorderBox=B>0||Q>0?ae(s.left,s.top,B,Q,YA.TOP_LEFT):new vA(s.left,s.top),this.topRightBorderBox=x>0||_>0?ae(s.left+EA,s.top,x,_,YA.TOP_RIGHT):new vA(s.left+s.width,s.top),this.bottomRightBorderBox=J>0||AA>0?ae(s.left+kA,s.top+XA,J,AA,YA.BOTTOM_RIGHT):new vA(s.left+s.width,s.top+s.height),this.bottomLeftBorderBox=cA>0||gA>0?ae(s.left,s.top+DA,cA,gA,YA.BOTTOM_LEFT):new vA(s.left,s.top+s.height),this.topLeftPaddingBox=B>0||Q>0?ae(s.left+PA,s.top+wA,Math.max(0,B-PA),Math.max(0,Q-wA),YA.TOP_LEFT):new vA(s.left+PA,s.top+wA),this.topRightPaddingBox=x>0||_>0?ae(s.left+Math.min(EA,s.width-VA),s.top+wA,EA>s.width+VA?0:Math.max(0,x-VA),Math.max(0,_-wA),YA.TOP_RIGHT):new vA(s.left+s.width-VA,s.top+wA),this.bottomRightPaddingBox=J>0||AA>0?ae(s.left+Math.min(kA,s.width-PA),s.top+Math.min(XA,s.height-NA),Math.max(0,J-VA),Math.max(0,AA-NA),YA.BOTTOM_RIGHT):new vA(s.left+s.width-VA,s.top+s.height-NA),this.bottomLeftPaddingBox=cA>0||gA>0?ae(s.left+PA,s.top+Math.min(DA,s.height-NA),Math.max(0,cA-PA),Math.max(0,gA-NA),YA.BOTTOM_LEFT):new vA(s.left+PA,s.top+s.height-NA),this.topLeftContentBox=B>0||Q>0?ae(s.left+PA+Ae,s.top+wA+Ce,Math.max(0,B-(PA+Ae)),Math.max(0,Q-(wA+Ce)),YA.TOP_LEFT):new vA(s.left+PA+Ae,s.top+wA+Ce),this.topRightContentBox=x>0||_>0?ae(s.left+Math.min(EA,s.width+PA+Ae),s.top+wA+Ce,EA>s.width+PA+Ae?0:x-PA+Ae,_-(wA+Ce),YA.TOP_RIGHT):new vA(s.left+s.width-(VA+At),s.top+wA+Ce),this.bottomRightContentBox=J>0||AA>0?ae(s.left+Math.min(kA,s.width-(PA+Ae)),s.top+Math.min(XA,s.height+wA+Ce),Math.max(0,J-(VA+At)),AA-(NA+lt),YA.BOTTOM_RIGHT):new vA(s.left+s.width-(VA+At),s.top+s.height-(NA+lt)),this.bottomLeftContentBox=cA>0||gA>0?ae(s.left+PA+Ae,s.top+DA,Math.max(0,cA-(PA+Ae)),gA-(NA+lt),YA.BOTTOM_LEFT):new vA(s.left+PA+Ae,s.top+s.height-(NA+lt))}return a}(),YA;(function(a){a[a.TOP_LEFT=0]="TOP_LEFT",a[a.TOP_RIGHT=1]="TOP_RIGHT",a[a.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",a[a.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(YA||(YA={}));var ae=function(a,i,l,s,f){var B=4*((Math.sqrt(2)-1)/3),Q=l*B,b=s*B,x=a+l,_=i+s;switch(f){case YA.TOP_LEFT:return new Ja(new vA(a,_),new vA(a,_-b),new vA(x-Q,i),new vA(x,i));case YA.TOP_RIGHT:return new Ja(new vA(a,i),new vA(a+Q,i),new vA(x,_-b),new vA(x,_));case YA.BOTTOM_RIGHT:return new Ja(new vA(x,i),new vA(x,i+b),new vA(a+Q,_),new vA(a,_));case YA.BOTTOM_LEFT:default:return new Ja(new vA(x,_),new vA(x-Q,_),new vA(a,i+b),new vA(a,i))}},Ya=function(a){return[a.topLeftBorderBox,a.topRightBorderBox,a.bottomRightBorderBox,a.bottomLeftBorderBox]},Z1=function(a){return[a.topLeftContentBox,a.topRightContentBox,a.bottomRightContentBox,a.bottomLeftContentBox]},Za=function(a){return[a.topLeftPaddingBox,a.topRightPaddingBox,a.bottomRightPaddingBox,a.bottomLeftPaddingBox]},$1=function(){function a(i,l,s){this.offsetX=i,this.offsetY=l,this.matrix=s,this.type=0,this.target=6}return a}(),$a=function(){function a(i,l){this.path=i,this.target=l,this.type=1}return a}(),q1=function(){function a(i){this.opacity=i,this.type=2,this.target=6}return a}(),AF=function(a){return a.type===0},cg=function(a){return a.type===1},eF=function(a){return a.type===2},fg=function(a,i){return a.length===i.length?a.some(function(l,s){return l===i[s]}):!1},tF=function(a,i,l,s,f){return a.map(function(B,Q){switch(Q){case 0:return B.add(i,l);case 1:return B.add(i+s,l);case 2:return B.add(i+s,l+f);case 3:return B.add(i,l+f)}return B})},dg=function(){function a(i){this.element=i,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return a}(),hg=function(){function a(i,l){if(this.container=i,this.parent=l,this.effects=[],this.curves=new Y1(this.container),this.container.styles.opacity<1&&this.effects.push(new q1(this.container.styles.opacity)),this.container.styles.transform!==null){var s=this.container.bounds.left+this.container.styles.transformOrigin[0].number,f=this.container.bounds.top+this.container.styles.transformOrigin[1].number,B=this.container.styles.transform;this.effects.push(new $1(s,f,B))}if(this.container.styles.overflowX!==0){var Q=Ya(this.curves),b=Za(this.curves);fg(Q,b)?this.effects.push(new $a(Q,6)):(this.effects.push(new $a(Q,2)),this.effects.push(new $a(b,4)))}}return a.prototype.getEffects=function(i){for(var l=[2,3].indexOf(this.container.styles.position)===-1,s=this.parent,f=this.effects.slice(0);s;){var B=s.effects.filter(function(x){return!cg(x)});if(l||s.container.styles.position!==0||!s.parent){if(f.unshift.apply(f,B),l=[2,3].indexOf(s.container.styles.position)===-1,s.container.styles.overflowX!==0){var Q=Ya(s.curves),b=Za(s.curves);fg(Q,b)||f.unshift(new $a(b,6))}}else f.unshift.apply(f,B);s=s.parent}return f.filter(function(x){return Ee(x.target,i)})},a}(),Cu=function(a,i,l,s){a.container.elements.forEach(function(f){var B=Ee(f.flags,4),Q=Ee(f.flags,2),b=new hg(f,a);Ee(f.styles.display,2048)&&s.push(b);var x=Ee(f.flags,8)?[]:s;if(B||Q){var _=B||f.styles.isPositioned()?l:i,W=new dg(b);if(f.styles.isPositioned()||f.styles.opacity<1||f.styles.isTransformed()){var J=f.styles.zIndex.order;if(J<0){var AA=0;_.negativeZIndex.some(function(cA,gA){return J>cA.element.container.styles.zIndex.order?(AA=gA,!1):AA>0}),_.negativeZIndex.splice(AA,0,W)}else if(J>0){var yA=0;_.positiveZIndex.some(function(cA,gA){return J>=cA.element.container.styles.zIndex.order?(yA=gA+1,!1):yA>0}),_.positiveZIndex.splice(yA,0,W)}else _.zeroOrAutoZIndexOrTransformedOrOpacity.push(W)}else f.styles.isFloating()?_.nonPositionedFloats.push(W):_.nonPositionedInlineLevel.push(W);Cu(b,W,B?W:l,x)}else f.styles.isInlineLevel()?i.inlineLevel.push(b):i.nonInlineLevel.push(b),Cu(b,i,l,x);Ee(f.flags,8)&&gg(f,x)})},gg=function(a,i){for(var l=a instanceof cu?a.start:1,s=a instanceof cu?a.reversed:!1,f=0;f"u"?a[0]:l},uF=function(a,i,l,s,f){var B=i[0],Q=i[1],b=l[0],x=l[1];switch(a){case 2:return[new vA(Math.round(s.left),Math.round(s.top+Q)),new vA(Math.round(s.left+s.width),Math.round(s.top+Q)),new vA(Math.round(s.left+s.width),Math.round(x+s.top+Q)),new vA(Math.round(s.left),Math.round(x+s.top+Q))];case 3:return[new vA(Math.round(s.left+B),Math.round(s.top)),new vA(Math.round(s.left+B+b),Math.round(s.top)),new vA(Math.round(s.left+B+b),Math.round(s.height+s.top)),new vA(Math.round(s.left+B),Math.round(s.height+s.top))];case 1:return[new vA(Math.round(s.left+B),Math.round(s.top+Q)),new vA(Math.round(s.left+B+b),Math.round(s.top+Q)),new vA(Math.round(s.left+B+b),Math.round(s.top+Q+x)),new vA(Math.round(s.left+B),Math.round(s.top+Q+x))];default:return[new vA(Math.round(f.left),Math.round(f.top)),new vA(Math.round(f.left+f.width),Math.round(f.top)),new vA(Math.round(f.left+f.width),Math.round(f.height+f.top)),new vA(Math.round(f.left),Math.round(f.height+f.top))]}},cF="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",mg="Hidden Text",fF=function(){function a(i){this._data={},this._document=i}return a.prototype.parseMetrics=function(i,l){var s=this._document.createElement("div"),f=this._document.createElement("img"),B=this._document.createElement("span"),Q=this._document.body;s.style.visibility="hidden",s.style.fontFamily=i,s.style.fontSize=l,s.style.margin="0",s.style.padding="0",s.style.whiteSpace="nowrap",Q.appendChild(s),f.src=cF,f.width=1,f.height=1,f.style.margin="0",f.style.padding="0",f.style.verticalAlign="baseline",B.style.fontFamily=i,B.style.fontSize=l,B.style.margin="0",B.style.padding="0",B.appendChild(this._document.createTextNode(mg)),s.appendChild(B),s.appendChild(f);var b=f.offsetTop-B.offsetTop+2;s.removeChild(B),s.appendChild(this._document.createTextNode(mg)),s.style.lineHeight="normal",f.style.verticalAlign="super";var x=f.offsetTop-s.offsetTop+2;return Q.removeChild(s),{baseline:b,middle:x}},a.prototype.getMetrics=function(i,l){var s=i+" "+l;return typeof this._data[s]>"u"&&(this._data[s]=this.parseMetrics(i,l)),this._data[s]},a}(),vg=function(){function a(i,l){this.context=i,this.options=l}return a}(),dF=1e4,hF=function(a){r(i,a);function i(l,s){var f=a.call(this,l,s)||this;return f._activeEffects=[],f.canvas=s.canvas?s.canvas:document.createElement("canvas"),f.ctx=f.canvas.getContext("2d"),s.canvas||(f.canvas.width=Math.floor(s.width*s.scale),f.canvas.height=Math.floor(s.height*s.scale),f.canvas.style.width=s.width+"px",f.canvas.style.height=s.height+"px"),f.fontMetrics=new fF(document),f.ctx.scale(f.options.scale,f.options.scale),f.ctx.translate(-s.x,-s.y),f.ctx.textBaseline="bottom",f._activeEffects=[],f.context.logger.debug("Canvas renderer initialized ("+s.width+"x"+s.height+") with scale "+s.scale),f}return i.prototype.applyEffects=function(l){for(var s=this;this._activeEffects.length;)this.popEffect();l.forEach(function(f){return s.applyEffect(f)})},i.prototype.applyEffect=function(l){this.ctx.save(),eF(l)&&(this.ctx.globalAlpha=l.opacity),AF(l)&&(this.ctx.translate(l.offsetX,l.offsetY),this.ctx.transform(l.matrix[0],l.matrix[1],l.matrix[2],l.matrix[3],l.matrix[4],l.matrix[5]),this.ctx.translate(-l.offsetX,-l.offsetY)),cg(l)&&(this.path(l.path),this.ctx.clip()),this._activeEffects.push(l)},i.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},i.prototype.renderStack=function(l){return o(this,void 0,void 0,function(){var s;return u(this,function(f){switch(f.label){case 0:return s=l.element.container.styles,s.isVisible()?[4,this.renderStackContent(l)]:[3,2];case 1:f.sent(),f.label=2;case 2:return[2]}})})},i.prototype.renderNode=function(l){return o(this,void 0,void 0,function(){return u(this,function(s){switch(s.label){case 0:if(Ee(l.container.flags,16))debugger;return l.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(l)]:[3,3];case 1:return s.sent(),[4,this.renderNodeContent(l)];case 2:s.sent(),s.label=3;case 3:return[2]}})})},i.prototype.renderTextWithLetterSpacing=function(l,s,f){var B=this;if(s===0)this.ctx.fillText(l.text,l.bounds.left,l.bounds.top+f);else{var Q=uu(l.text);Q.reduce(function(b,x){return B.ctx.fillText(x,b,l.bounds.top+f),b+B.ctx.measureText(x).width},l.bounds.left)}},i.prototype.createFontStyle=function(l){var s=l.fontVariant.filter(function(Q){return Q==="normal"||Q==="small-caps"}).join(""),f=vF(l.fontFamily).join(", "),B=qi(l.fontSize)?""+l.fontSize.number+l.fontSize.unit:l.fontSize.number+"px";return[[l.fontStyle,s,l.fontWeight,B,f].join(" "),f,B]},i.prototype.renderTextNode=function(l,s){return o(this,void 0,void 0,function(){var f,B,Q,b,x,_,W,J,AA=this;return u(this,function(yA){return f=this.createFontStyle(s),B=f[0],Q=f[1],b=f[2],this.ctx.font=B,this.ctx.direction=s.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",x=this.fontMetrics.getMetrics(Q,b),_=x.baseline,W=x.middle,J=s.paintOrder,l.textBounds.forEach(function(cA){J.forEach(function(gA){switch(gA){case 0:AA.ctx.fillStyle=xe(s.color),AA.renderTextWithLetterSpacing(cA,s.letterSpacing,_);var OA=s.textShadow;OA.length&&cA.text.trim().length&&(OA.slice(0).reverse().forEach(function(IA){AA.ctx.shadowColor=xe(IA.color),AA.ctx.shadowOffsetX=IA.offsetX.number*AA.options.scale,AA.ctx.shadowOffsetY=IA.offsetY.number*AA.options.scale,AA.ctx.shadowBlur=IA.blur.number,AA.renderTextWithLetterSpacing(cA,s.letterSpacing,_)}),AA.ctx.shadowColor="",AA.ctx.shadowOffsetX=0,AA.ctx.shadowOffsetY=0,AA.ctx.shadowBlur=0),s.textDecorationLine.length&&(AA.ctx.fillStyle=xe(s.textDecorationColor||s.color),s.textDecorationLine.forEach(function(IA){switch(IA){case 1:AA.ctx.fillRect(cA.bounds.left,Math.round(cA.bounds.top+_),cA.bounds.width,1);break;case 2:AA.ctx.fillRect(cA.bounds.left,Math.round(cA.bounds.top),cA.bounds.width,1);break;case 3:AA.ctx.fillRect(cA.bounds.left,Math.ceil(cA.bounds.top+W),cA.bounds.width,1);break}}));break;case 1:s.webkitTextStrokeWidth&&cA.text.trim().length&&(AA.ctx.strokeStyle=xe(s.webkitTextStrokeColor),AA.ctx.lineWidth=s.webkitTextStrokeWidth,AA.ctx.lineJoin=window.chrome?"miter":"round",AA.ctx.strokeText(cA.text,cA.bounds.left,cA.bounds.top+_)),AA.ctx.strokeStyle="",AA.ctx.lineWidth=0,AA.ctx.lineJoin="miter";break}})}),[2]})})},i.prototype.renderReplacedElement=function(l,s,f){if(f&&l.intrinsicWidth>0&&l.intrinsicHeight>0){var B=As(l),Q=Za(s);this.path(Q),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(f,0,0,l.intrinsicWidth,l.intrinsicHeight,B.left,B.top,B.width,B.height),this.ctx.restore()}},i.prototype.renderNodeContent=function(l){return o(this,void 0,void 0,function(){var s,f,B,Q,b,x,EA,EA,_,W,J,AA,kA,yA,cA,DA,gA,OA,IA,EA,XA,kA,DA;return u(this,function(wA){switch(wA.label){case 0:this.applyEffects(l.getEffects(4)),s=l.container,f=l.curves,B=s.styles,Q=0,b=s.textNodes,wA.label=1;case 1:return Q0&&ke>0&&(NA=B.ctx.createPattern(DA,"repeat"),B.renderRepeat(Ce,NA,et,tt))):eC(W)&&(PA=Qu(l,s,[null,null,null]),Ce=PA[0],At=PA[1],lt=PA[2],Ae=PA[3],ke=PA[4],Tr=W.position.length===0?[Jl]:W.position,et=ee(Tr[0],Ae),tt=ee(Tr[Tr.length-1],ke),mn=Yy(W,et,tt,Ae,ke),Wt=mn[0],Lr=mn[1],Wt>0&&Lr>0&&(vn=B.ctx.createRadialGradient(At+et,lt+tt,0,At+et,lt+tt,Wt),ah(W.stops,Wt*2).forEach(function(so){return vn.addColorStop(so.stop,xe(so.color))}),B.path(Ce),B.ctx.fillStyle=vn,Wt!==Lr?(wn=l.bounds.left+.5*l.bounds.width,ir=l.bounds.top+.5*l.bounds.height,yn=Lr/Wt,or=1/yn,B.ctx.save(),B.ctx.translate(wn,ir),B.ctx.transform(1,0,0,yn,0,0),B.ctx.translate(-wn,-ir),B.ctx.fillRect(At,or*(lt-ir)+ir,Ae,ke*or),B.ctx.restore()):B.ctx.fill())),ni.label=6;case 6:return s--,[2]}})},B=this,Q=0,b=l.styles.backgroundImage.slice(0).reverse(),_.label=1;case 1:return Q0?W.style!==2?[3,5]:[4,this.renderDashedDottedBorder(W.color,W.width,b,l.curves,2)]:[3,11]):[3,13];case 4:return AA.sent(),[3,11];case 5:return W.style!==3?[3,7]:[4,this.renderDashedDottedBorder(W.color,W.width,b,l.curves,3)];case 6:return AA.sent(),[3,11];case 7:return W.style!==4?[3,9]:[4,this.renderDoubleBorder(W.color,W.width,b,l.curves)];case 8:return AA.sent(),[3,11];case 9:return[4,this.renderSolidBorder(W.color,b,l.curves)];case 10:AA.sent(),AA.label=11;case 11:b++,AA.label=12;case 12:return x++,[3,3];case 13:return[2]}})})},i.prototype.renderDashedDottedBorder=function(l,s,f,B,Q){return o(this,void 0,void 0,function(){var b,x,_,W,J,AA,yA,cA,gA,OA,IA,EA,XA,kA,DA,wA,DA,wA;return u(this,function(VA){return this.ctx.save(),b=oF(B,f),x=pg(B,f),Q===2&&(this.path(x),this.ctx.clip()),Ct(x[0])?(_=x[0].start.x,W=x[0].start.y):(_=x[0].x,W=x[0].y),Ct(x[1])?(J=x[1].end.x,AA=x[1].end.y):(J=x[1].x,AA=x[1].y),f===0||f===2?yA=Math.abs(_-J):yA=Math.abs(W-AA),this.ctx.beginPath(),Q===3?this.formatPath(b):this.formatPath(x.slice(0,2)),cA=s<3?s*3:s*2,gA=s<3?s*2:s,Q===3&&(cA=s,gA=s),OA=!0,yA<=cA*2?OA=!1:yA<=cA*2+gA?(IA=yA/(2*cA+gA),cA*=IA,gA*=IA):(EA=Math.floor((yA+gA)/(cA+gA)),XA=(yA-EA*cA)/(EA-1),kA=(yA-(EA+1)*cA)/EA,gA=kA<=0||Math.abs(gA-XA)g.length)&&(C=g.length);for(var T=0,N=new Array(C);Tg.length)&&(C=g.length);for(var T=0,N=new Array(C);T99?0:g<10?7:3,top:1,fontWeight:400,fontSize:13}},"°"))},O=function(){var p=(0,t.usePicker)(),g=p.deletePoint;return e.default.createElement("div",{onClick:g,style:w(w(w(w(w(w({},u.df),u.jc),u.ac),u.controlBtnsWrap),{},{width:30},(0,n.controlBtnStyles)(!1)),{},{marginRight:1})},e.default.createElement(o.default,null))}}(uc)),uc}var KB;function Kd(){return KB||(KB=1,function(A){function e(L){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},e(L)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=A.controlBtnStyles=void 0;var t=F(pA),r=kd,n=mt,o=y(kb()),u=sn,c=y(Lw),h=y(Dw),d=y(Kb()),m=xA;function y(L){return L&&L.__esModule?L:{default:L}}function w(L){if(typeof WeakMap!="function")return null;var R=new WeakMap,z=new WeakMap;return(w=function($){return $?z:R})(L)}function F(L,R){if(!R&&L&&L.__esModule)return L;if(L===null||e(L)!=="object"&&typeof L!="function")return{default:L};var z=w(R);if(z&&z.has(L))return z.get(L);var X={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in L)if(Y!=="default"&&Object.prototype.hasOwnProperty.call(L,Y)){var eA=$?Object.getOwnPropertyDescriptor(L,Y):null;eA&&(eA.get||eA.set)?Object.defineProperty(X,Y,eA):X[Y]=L[Y]}return X.default=L,z&&z.set(L,X),X}function U(L,R){var z=Object.keys(L);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(L);R&&(X=X.filter(function($){return Object.getOwnPropertyDescriptor(L,$).enumerable})),z.push.apply(z,X)}return z}function S(L){for(var R=1;RL.length)&&(R=L.length);for(var z=0,X=new Array(R);zp.length)&&(g=p.length);for(var C=0,T=new Array(g);CA.length)&&(e=A.length);for(var t=0,r=new Array(e);t1&&arguments[1]!==void 0?arguments[1]:w,SA=c==null?void 0:c.filter(function(TA){return!(0,Qs.isUpperCase)(TA.value)}),BA=[{value:Z.toUpperCase(),left:uA}].concat(cc(SA));z(BA)},$=function(Z){r?X(Z):t(Z)},Y=function(Z){var uA=(0,ut.formatInputValues)(Z,0,255);$("rgba(".concat(uA,", ").concat(O,", ").concat(v,", ").concat(p,")"))},eA=function(Z){var uA=(0,ut.formatInputValues)(Z,0,255);$("rgba(".concat(I,", ").concat(uA,", ").concat(v,", ").concat(p,")"))},rA=function(Z){var uA=(0,ut.formatInputValues)(Z,0,255);$("rgba(".concat(I,", ").concat(O,", ").concat(uA,", ").concat(p,")"))},fA=function(Z){var uA=(0,ut.formatInputValues)(Z,0,100);$("rgba(".concat(I,", ").concat(O,", ").concat(v,", ").concat(uA/100,")"))},iA=function(Z){var uA=(0,ut.formatInputValues)(Z,0,360),SA=yo({h:uA,s:T,l:N}),BA=SA.toRgb(),TA=BA.r,zA=BA.g,oA=BA.b;$("rgba(".concat(TA,", ").concat(zA,", ").concat(oA,", ").concat(p,")"))},q=function(Z){var uA=(0,ut.formatInputValues)(Z,0,100),SA=yo({h:C,s:uA/100,l:N}),BA=SA.toRgb(),TA=BA.r,zA=BA.g,oA=BA.b;$("rgba(".concat(TA,", ").concat(zA,", ").concat(oA,", ").concat(p,")"))},aA=function(Z){var uA=(0,ut.formatInputValues)(Z,0,100),SA=yo({h:C,s:T,l:uA/100});if(SA!=null&&SA.isValid()){var BA=SA.toRgb(),TA=BA.r,zA=BA.g,oA=BA.b;$("rgba(".concat(TA,", ").concat(zA,", ").concat(oA,", ").concat(p,")"))}else console.log("The new color was invalid, perhaps the lightness you passed in was a decimal? Please pass the new value between 0 - 100")},dA=function(){return E.toHslString()},QA=function(){return E.toHsvString()},FA=function(){return E.toHexString()},sA=function(){var Z=(0,Mb.rgb2cmyk)(I,O,v),uA=Z.c,SA=Z.m,BA=Z.y,TA=Z.k;return"cmyk(".concat(uA,", ").concat(SA,", ").concat(BA,", ").concat(TA,")")},hA=function(Z){if(r){var uA=c==null?void 0:c.map(function(SA,BA){return Xt(Xt({},SA),{},{value:BA===Z?(0,ut.high)(SA):(0,ut.low)(SA)})});z(uA)}else console.log("This function is only relevant when the picker is in gradient mode")},MA=function(Z){var uA=[].concat(cc(c.map(function(SA){return Xt(Xt({},SA),{},{value:(0,ut.low)(SA)})})),[{value:m,left:Z}]);z(uA),Z||console.log("You did not pass a stop value (left amount) for the new color point so it defaulted to 50")},P=function(Z){if((c==null?void 0:c.length)>2){var uA=Z||y,SA=c==null?void 0:c.filter(function(BA,TA){return TA!==uA});z(SA),Z||console.log("You did not pass in the index of the point you wanted to delete so the function default to the currently selected point")}else console.log("A gradient must have atleast two colors, disable your delete button when necessary")},G=function(Z){X(m,(0,ut.formatInputValues)(Z,0,100))},k=[I,O,v,p],nA=[C,T,N];return{setLinear:K,setRadial:j,setDegrees:M,setSolid:L,setGradient:R,setR:Y,setG:eA,setB:rA,setA:fA,setHue:iA,setSaturation:q,setLightness:aA,valueToHSL:dA,valueToHSV:QA,valueToHex:FA,valueToCmyk:sA,setSelectedPoint:hA,addPoint:MA,deletePoint:P,selectedPoint:y,isGradient:r,gradientType:n,degrees:o,setPointLeft:G,currentLeft:w,rgbaArr:k,hslArr:nA,previousColors:S,getGradientObject:D}};Ml.useColorPicker=$b;(function(A){function e(p){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(g){return typeof g}:function(g){return g&&typeof Symbol=="function"&&g.constructor===Symbol&&g!==Symbol.prototype?"symbol":typeof g},e(p)}Object.defineProperty(A,"__esModule",{value:!0});var t={};A.default=void 0;var r=d(pA),n=c(mt),o=c(Fw),u=Ml;Object.keys(u).forEach(function(p){p==="default"||p==="__esModule"||Object.prototype.hasOwnProperty.call(t,p)||p in A&&A[p]===u[p]||Object.defineProperty(A,p,{enumerable:!0,get:function(){return u[p]}})});function c(p){return p&&p.__esModule?p:{default:p}}function h(p){if(typeof WeakMap!="function")return null;var g=new WeakMap,C=new WeakMap;return(h=function(N){return N?C:g})(p)}function d(p,g){if(!g&&p&&p.__esModule)return p;if(p===null||e(p)!=="object"&&typeof p!="function")return{default:p};var C=h(g);if(C&&C.has(p))return C.get(p);var T={},N=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in p)if(K!=="default"&&Object.prototype.hasOwnProperty.call(p,K)){var j=N?Object.getOwnPropertyDescriptor(p,K):null;j&&(j.get||j.set)?Object.defineProperty(T,K,j):T[K]=p[K]}return T.default=p,C&&C.set(p,T),T}function m(p,g){var C=Object.keys(p);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(p);g&&(T=T.filter(function(N){return Object.getOwnPropertyDescriptor(p,N).enumerable})),C.push.apply(C,T)}return C}function y(p){for(var g=1;gp.length)&&(g=p.length);for(var C=0,T=new Array(g);C{const[t,r]=pA.useState(!1),n=pA.useRef(null);return pA.useEffect(()=>{const o=u=>{n.current&&!n.current.contains(u.target)&&r(!1)};return t&&document.addEventListener("mousedown",o),()=>{document.removeEventListener("mousedown",o)}},[t]),HA.jsxs("div",{className:"",children:[HA.jsx("button",{onClick:()=>r(!t),style:{background:A},className:"w-16 h-8 rounded-md"}),t&&HA.jsx("div",{ref:n,className:"fixed top-0 left-0 z-50 p-4 bg-white border rounded-lg shadow-lg border-zinc-00",children:HA.jsx(qb,{value:A,onChange:e})})]})},e4=({settingsState:A,switchChange:e,colorChange:t})=>{const r=[{title:"Notification Collector",description:"Uncaps the 9+ limit for notifications, showing the real number.",modifyElement:HA.jsx(Ge,{state:A.notificationCollector,onChange:n=>e("notificationCollector",n)})},{title:"Lesson Alerts",description:"Sends a native browser notification ~5 minutes prior to lessons.",modifyElement:HA.jsx(Ge,{state:A.lessonAlerts,onChange:n=>e("lessonAlerts",n)})},{title:"Animated Background",description:"Adds an animated background to BetterSEQTA. (May impact battery life)",modifyElement:HA.jsx(Ge,{state:A.animatedBackground,onChange:n=>e("animatedBackground",n)})},{title:"Animated Background Speed",description:"Controls the speed of the animated background.",modifyElement:HA.jsx(Ge,{state:A.animatedBackgroundSpeed,onChange:n=>e("animatedBackgroundSpeed",n)})},{title:"Custom Theme Colour",description:"Customise the overall theme colour of SEQTA Learn.",modifyElement:HA.jsx(A4,{color:A.customThemeColor,onChange:n=>t(n)})},{title:"BetterSEQTA+",description:"Unlocks premium features.",modifyElement:HA.jsx(Ge,{state:A.betterSEQTAPlus,onChange:n=>e("betterSEQTAPlus",n)})}];return HA.jsx("div",{className:"flex flex-col overflow-y-scroll divide-y divide-zinc-100",children:r.map((n,o)=>HA.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[HA.jsxs("div",{className:"pr-4",children:[HA.jsx("h2",{className:"text-sm font-bold",children:n.title}),HA.jsx("p",{className:"text-xs",children:n.description})]}),HA.jsx("div",{children:n.modifyElement})]},o))})},t4="/client/rsc/png/betterseqta-dark-full.png",r4="/client/rsc/png/betterseqta-light-full.png";function n4(){const[A,e]=pA.useState({youtube:!1,outlook:!1,office:!1,spotify:!1,google:!1,duckduckgo:!1,coolmathgames:!1,sace:!1,googlescholar:!1,gmail:!1,netflix:!1}),t=(n,o)=>{e({...A,[n]:o})},r=[{title:"YouTube",link:"https://youtube.com",modifyElement:HA.jsx(Ge,{state:A.youtube,onChange:n=>t("youtube",n)})},{title:"Outlook",link:"https://outlook.office.com/mail/inbox",modifyElement:HA.jsx(Ge,{state:A.outlook,onChange:n=>t("outlook",n)})},{title:"Office",link:"https://www.office.com/",modifyElement:HA.jsx(Ge,{state:A.office,onChange:n=>t("office",n)})},{title:"Spotify",link:"https://www.spotify.com/",modifyElement:HA.jsx(Ge,{state:A.spotify,onChange:n=>t("spotify",n)})},{title:"Google",link:"https://www.google.com/",modifyElement:HA.jsx(Ge,{state:A.google,onChange:n=>t("google",n)})},{title:"DuckDuckGo",link:"https://duckduckgo.com/",modifyElement:HA.jsx(Ge,{state:A.duckduckgo,onChange:n=>t("duckduckgo",n)})},{title:"Cool Math Games",link:"https://www.coolmathgames.com/",modifyElement:HA.jsx(Ge,{state:A.coolmathgames,onChange:n=>t("coolmathgames",n)})},{title:"SACE",link:"https://www.sace.sa.edu.au/",modifyElement:HA.jsx(Ge,{state:A.sace,onChange:n=>t("sace",n)})},{title:"Google Scholar",link:"https://scholar.google.com/",modifyElement:HA.jsx(Ge,{state:A.googlescholar,onChange:n=>t("googlescholar",n)})},{title:"Gmail",link:"https://mail.google.com/",modifyElement:HA.jsx(Ge,{state:A.gmail,onChange:n=>t("gmail",n)})},{title:"Netflix",link:"https://www.netflix.com/",modifyElement:HA.jsx(Ge,{state:A.netflix,onChange:n=>t("netflix",n)})}];return HA.jsx("div",{className:"flex flex-col divide-y divide-zinc-100",children:r.map((n,o)=>HA.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[n.title,n.modifyElement]},o))})}const i4=()=>HA.jsxs("div",{className:"flex flex-col overflow-y-scroll divide-y divide-zinc-100/50",children:[HA.jsxs("div",{children:[HA.jsx("h2",{className:"text-lg font-bold",children:"About"}),HA.jsx("p",{className:"py-2",children:"BetterSEQTA+ is a branch of BetterSEQTA which was originally developed by Nulkem. It was discontinued. So BetterSEQTA+ has come in to fill in that gap!"}),HA.jsxs("p",{className:"py-2",children:["We are currently working on fixing bugs and adding new features. If you want to request a feature or report a bug, you can do so on",HA.jsx("a",{className:"pl-1 text-blue-500 underline hover:text-blue-600",href:"https://github.com/SethBurkart123/EvenBetterSEQTA",target:"_blank",children:"Github"}),"."]})]}),HA.jsxs("div",{children:[HA.jsx("h2",{className:"pt-2 text-lg font-bold",children:"Credits"}),HA.jsx("p",{className:"py-2",children:"Nulkem for the original extension, OG-RandomTechChannel, Crazypersonalph, and the current maintainer SethBurkart123"})]})]}),o4=()=>{const[A,e]=pA.useState({notificationCollector:!1,lessonAlerts:!1,animatedBackground:!1,animatedBackgroundSpeed:!1,customThemeColor:"#db6969",betterSEQTAPlus:!0}),t=(o,u)=>{e({...A,[o]:u})},r=o=>{e({...A,customThemeColor:o})},n=[{title:"Settings",content:HA.jsx(e4,{settingsState:A,switchChange:t,colorChange:r})},{title:"Shortcuts",content:HA.jsx(n4,{})},{title:"About",content:HA.jsx(i4,{})}];return HA.jsxs("div",{className:"flex flex-col w-[24rem] shadow-2xl gap-2 bg-white rounded-xl h-[590px] dark:bg-zinc-800 dark:text-white",children:[HA.jsxs("div",{className:"grid border-b border-b-zinc-200/40 place-items-center",children:[HA.jsx("img",{src:t4,className:"w-4/5 dark:hidden"}),HA.jsx("img",{src:r4,className:"hidden w-4/5 dark:block"})]}),HA.jsx(ab,{themeColor:A.customThemeColor,tabs:n})]})};const a4=document.getElementById("ExtensionPopup"),Kw=a4.attachShadow({mode:"open"}),Mw=document.createElement("style");Mw.textContent=` .switch[data-ison=true]{background-color:#30d259}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.left-0{left:0!important}.top-0{top:0!important}.z-0{z-index:0!important}.z-10{z-index:10!important}.z-50{z-index:50!important}.mb-2{margin-bottom:.5rem!important}.flex{display:flex!important}.grid{display:grid!important}.hidden{display:none!important}.h-1{height:.25rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-[590px]{height:590px!important}.h-full{height:100%!important}.h-screen{height:100vh!important}.w-14{width:3.5rem!important}.w-16{width:4rem!important}.w-4/5{width:80%!important}.w-6{width:1.5rem!important}.w-[24rem]{width:24rem!important}.w-full{width:100%!important}.w-screen{width:100vw!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.place-items-center{place-items:center!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0 !important;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))!important;border-bottom-width:calc(1px * var(--tw-divide-y-reverse))!important}.divide-zinc-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1 !important;border-color:rgb(244 244 245 / var(--tw-divide-opacity))!important}.divide-zinc-100/50>:not([hidden])~:not([hidden]){border-color:#f4f4f580!important}.overflow-hidden{overflow:hidden!important}.overflow-x-clip{overflow-x:clip!important}.overflow-y-scroll{overflow-y:scroll!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.rounded-md{border-radius:.375rem!important}.rounded-xl{border-radius:.75rem!important}.border{border-width:1px!important}.border-b{border-bottom-width:1px!important}.border-b-zinc-200/40{border-bottom-color:#e4e4e766!important}.bg-[#DDDDDD]{--tw-bg-opacity: 1 !important;background-color:rgb(221 221 221 / var(--tw-bg-opacity))!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.p-1{padding:.25rem!important}.p-4{padding:1rem!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.py-2{padding-top:.5rem!important;padding-bottom:.5rem!important}.py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.pb-2{padding-bottom:.5rem!important}.pl-1{padding-left:.25rem!important}.pr-4{padding-right:1rem!important}.pt-2{padding-top:.5rem!important}.pt-4{padding-top:1rem!important}.text-[0.875rem]{font-size:.875rem!important}.text-lg{font-size:1rem!important}.text-sm{font-size:.775rem!important}.text-xs{font-size:.65rem!important}.font-bold{font-weight:700!important}.text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.underline{text-decoration-line:underline!important}.opacity-40{opacity:.4!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25) !important;--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06)) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%}.hover:text-blue-600:hover{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.focus:outline-none:focus{outline:2px solid transparent!important;outline-offset:2px!important}:is(.dark .dark:block){display:block!important}:is(.dark .dark:hidden){display:none!important}:is(.dark .dark:bg-[#38373D]){--tw-bg-opacity: 1 !important;background-color:rgb(56 55 61 / var(--tw-bg-opacity))!important}:is(.dark .dark:bg-[#FEFEFE]){--tw-bg-opacity: 1 !important;background-color:rgb(254 254 254 / var(--tw-bg-opacity))!important}:is(.dark .dark:bg-zinc-800){--tw-bg-opacity: 1 !important;background-color:rgb(39 39 42 / var(--tw-bg-opacity))!important}:is(.dark .dark:text-white){--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important} `;Kw.appendChild(Mw);const Rw=document.createElement("div");Kw.appendChild(Rw);const s4=fc.createRoot(Rw);s4.render(HA.jsx(Uf.StrictMode,{children:HA.jsx(o4,{})}));