mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
2 lines
566 KiB
JavaScript
2 lines
566 KiB
JavaScript
/*! For license information please see client.js.LICENSE.txt */
|
||
!function(){const A=document.createElement("link").relList;if(!(A&&A.supports&&A.supports("modulepreload"))){for(const A of document.querySelectorAll('link[rel="modulepreload"]'))e(A);new MutationObserver((A=>{for(const t of A)if("childList"===t.type)for(const A of t.addedNodes)"LINK"===A.tagName&&"modulepreload"===A.rel&&e(A)})).observe(document,{childList:!0,subtree:!0})}function e(A){if(A.ep)return;A.ep=!0;const e=function(A){const e={};return A.integrity&&(e.integrity=A.integrity),A.referrerPolicy&&(e.referrerPolicy=A.referrerPolicy),"use-credentials"===A.crossOrigin?e.credentials="include":"anonymous"===A.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}(A);fetch(A.href,e)}}();var MF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function A0(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var e0={exports:{}},vl={},t0={exports:{}},MA={},ca=Symbol.for("react.element"),_F=Symbol.for("react.portal"),VF=Symbol.for("react.fragment"),NF=Symbol.for("react.strict_mode"),GF=Symbol.for("react.profiler"),jF=Symbol.for("react.provider"),WF=Symbol.for("react.context"),zF=Symbol.for("react.forward_ref"),XF=Symbol.for("react.suspense"),JF=Symbol.for("react.memo"),YF=Symbol.for("react.lazy"),bg=Symbol.iterator;function $F(A){return null===A||"object"!=typeof A?null:"function"==typeof(A=bg&&A[bg]||A["@@iterator"])?A:null}var r0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},n0=Object.assign,i0={};function _i(A,e,t){this.props=A,this.context=e,this.refs=i0,this.updater=t||r0}function o0(){}function xf(A,e,t){this.props=A,this.context=e,this.refs=i0,this.updater=t||r0}_i.prototype.isReactComponent={},_i.prototype.setState=function(A,e){if("object"!=typeof A&&"function"!=typeof A&&null!=A)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")},_i.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")},o0.prototype=_i.prototype;var If=xf.prototype=new o0;If.constructor=xf,n0(If,_i.prototype),If.isPureReactComponent=!0;var Hg=Array.isArray,a0=Object.prototype.hasOwnProperty,bf={current:null},s0={key:!0,ref:!0,__self:!0,__source:!0};function l0(A,e,t){var n,r={},o=null,i=null;if(null!=e)for(n in void 0!==e.ref&&(i=e.ref),void 0!==e.key&&(o=""+e.key),e)a0.call(e,n)&&!s0.hasOwnProperty(n)&&(r[n]=e[n]);var a=arguments.length-2;if(1===a)r.children=t;else if(1<a){for(var s=Array(a),l=0;l<a;l++)s[l]=arguments[l+2];r.children=s}if(A&&A.defaultProps)for(n in a=A.defaultProps)void 0===r[n]&&(r[n]=a[n]);return{$$typeof:ca,type:A,key:o,ref:i,props:r,_owner:bf.current}}function ZF(A,e){return{$$typeof:ca,type:A.type,key:e,ref:A.ref,props:A.props,_owner:A._owner}}function Hf(A){return"object"==typeof A&&null!==A&&A.$$typeof===ca}function qF(A){var e={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,(function(A){return e[A]}))}var Tg=/\/+/g;function xu(A,e){return"object"==typeof A&&null!==A&&null!=A.key?qF(""+A.key):e.toString(36)}function Ss(A,e,t,n,r){var o=typeof A;("undefined"===o||"boolean"===o)&&(A=null);var i=!1;if(null===A)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(A.$$typeof){case ca:case _F:i=!0}}if(i)return r=r(i=A),A=""===n?"."+xu(i,0):n,Hg(r)?(t="",null!=A&&(t=A.replace(Tg,"$&/")+"/"),Ss(r,e,t,"",(function(A){return A}))):null!=r&&(Hf(r)&&(r=ZF(r,t+(!r.key||i&&i.key===r.key?"":(""+r.key).replace(Tg,"$&/")+"/")+A)),e.push(r)),1;if(i=0,n=""===n?".":n+":",Hg(A))for(var a=0;a<A.length;a++){var s=n+xu(o=A[a],a);i+=Ss(o,e,t,s,r)}else if("function"==typeof(s=$F(A)))for(A=s.call(A),a=0;!(o=A.next()).done;)i+=Ss(o=o.value,e,t,s=n+xu(o,a++),r);else if("object"===o)throw e=String(A),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(A).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return i}function is(A,e,t){if(null==A)return A;var n=[],r=0;return Ss(A,n,"","",(function(A){return e.call(t,A,r++)})),n}function AU(A){if(-1===A._status){var e=A._result;(e=e()).then((function(e){(0===A._status||-1===A._status)&&(A._status=1,A._result=e)}),(function(e){(0===A._status||-1===A._status)&&(A._status=2,A._result=e)})),-1===A._status&&(A._status=0,A._result=e)}if(1===A._status)return A._result.default;throw A._result}var Je={current:null},xs={transition:null},eU={ReactCurrentDispatcher:Je,ReactCurrentBatchConfig:xs,ReactCurrentOwner:bf};MA.Children={map:is,forEach:function(A,e,t){is(A,(function(){e.apply(this,arguments)}),t)},count:function(A){var e=0;return is(A,(function(){e++})),e},toArray:function(A){return is(A,(function(A){return A}))||[]},only:function(A){if(!Hf(A))throw Error("React.Children.only expected to receive a single React element child.");return A}},MA.Component=_i,MA.Fragment=VF,MA.Profiler=GF,MA.PureComponent=xf,MA.StrictMode=NF,MA.Suspense=XF,MA.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eU,MA.cloneElement=function(A,e,t){if(null==A)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+A+".");var n=n0({},A.props),r=A.key,o=A.ref,i=A._owner;if(null!=e){if(void 0!==e.ref&&(o=e.ref,i=bf.current),void 0!==e.key&&(r=""+e.key),A.type&&A.type.defaultProps)var a=A.type.defaultProps;for(s in e)a0.call(e,s)&&!s0.hasOwnProperty(s)&&(n[s]=void 0===e[s]&&void 0!==a?a[s]:e[s])}var s=arguments.length-2;if(1===s)n.children=t;else if(1<s){a=Array(s);for(var l=0;l<s;l++)a[l]=arguments[l+2];n.children=a}return{$$typeof:ca,type:A.type,key:r,ref:o,props:n,_owner:i}},MA.createContext=function(A){return(A={$$typeof:WF,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:jF,_context:A},A.Consumer=A},MA.createElement=l0,MA.createFactory=function(A){var e=l0.bind(null,A);return e.type=A,e},MA.createRef=function(){return{current:null}},MA.forwardRef=function(A){return{$$typeof:zF,render:A}},MA.isValidElement=Hf,MA.lazy=function(A){return{$$typeof:YF,_payload:{_status:-1,_result:A},_init:AU}},MA.memo=function(A,e){return{$$typeof:JF,type:A,compare:void 0===e?null:e}},MA.startTransition=function(A){var e=xs.transition;xs.transition={};try{A()}finally{xs.transition=e}},MA.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},MA.useCallback=function(A,e){return Je.current.useCallback(A,e)},MA.useContext=function(A){return Je.current.useContext(A)},MA.useDebugValue=function(){},MA.useDeferredValue=function(A){return Je.current.useDeferredValue(A)},MA.useEffect=function(A,e){return Je.current.useEffect(A,e)},MA.useId=function(){return Je.current.useId()},MA.useImperativeHandle=function(A,e,t){return Je.current.useImperativeHandle(A,e,t)},MA.useInsertionEffect=function(A,e){return Je.current.useInsertionEffect(A,e)},MA.useLayoutEffect=function(A,e){return Je.current.useLayoutEffect(A,e)},MA.useMemo=function(A,e){return Je.current.useMemo(A,e)},MA.useReducer=function(A,e,t){return Je.current.useReducer(A,e,t)},MA.useRef=function(A){return Je.current.useRef(A)},MA.useState=function(A){return Je.current.useState(A)},MA.useSyncExternalStore=function(A,e,t){return Je.current.useSyncExternalStore(A,e,t)},MA.useTransition=function(){return Je.current.useTransition()},MA.version="18.2.0",t0.exports=MA;var AA=t0.exports;const Tf=A0(AA);var tU=AA,rU=Symbol.for("react.element"),nU=Symbol.for("react.fragment"),iU=Object.prototype.hasOwnProperty,oU=tU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,aU={key:!0,ref:!0,__self:!0,__source:!0};function u0(A,e,t){var n,r={},o=null,i=null;for(n in void 0!==t&&(o=""+t),void 0!==e.key&&(o=""+e.key),void 0!==e.ref&&(i=e.ref),e)iU.call(e,n)&&!aU.hasOwnProperty(n)&&(r[n]=e[n]);if(A&&A.defaultProps)for(n in e=A.defaultProps)void 0===r[n]&&(r[n]=e[n]);return{$$typeof:rU,type:A,key:o,ref:i,props:r,_owner:oU.current}}vl.Fragment=nU,vl.jsx=u0,vl.jsxs=u0,e0.exports=vl;var rA=e0.exports,mc={},c0={exports:{}},gt={},f0={exports:{}},d0={};!function(A){function e(A,e){var t=A.length;A.push(e);A:for(;0<t;){var n=t-1>>>1,o=A[n];if(!(0<r(o,e)))break A;A[n]=e,A[t]=o,t=n}}function t(A){return 0===A.length?null:A[0]}function n(A){if(0===A.length)return null;var e=A[0],t=A.pop();if(t!==e){A[0]=t;A:for(var n=0,o=A.length,i=o>>>1;n<i;){var a=2*(n+1)-1,s=A[a],l=a+1,u=A[l];if(0>r(s,t))l<o&&0>r(u,s)?(A[n]=u,A[l]=t,n=l):(A[n]=s,A[a]=t,n=a);else{if(!(l<o&&0>r(u,t)))break A;A[n]=u,A[l]=t,n=l}}}return e}function r(A,e){var t=A.sortIndex-e.sortIndex;return 0!==t?t:A.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;A.unstable_now=function(){return o.now()}}else{var i=Date,a=i.now();A.unstable_now=function(){return i.now()-a}}var s=[],l=[],u=1,c=null,d=3,f=!1,g=!1,h=!1,p="function"==typeof setTimeout?setTimeout:null,B="function"==typeof clearTimeout?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;function w(A){for(var r=t(l);null!==r;){if(null===r.callback)n(l);else{if(!(r.startTime<=A))break;n(l),r.sortIndex=r.expirationTime,e(s,r)}r=t(l)}}function y(A){if(h=!1,w(A),!g)if(null!==t(s))g=!0,k(v);else{var e=t(l);null!==e&&L(y,e.startTime-A)}}function v(e,r){g=!1,h&&(h=!1,B(U),U=-1),f=!0;var o=d;try{for(w(r),c=t(s);null!==c&&(!(c.expirationTime>r)||e&&!x());){var i=c.callback;if("function"==typeof i){c.callback=null,d=c.priorityLevel;var a=i(c.expirationTime<=r);r=A.unstable_now(),"function"==typeof a?c.callback=a:c===t(s)&&n(s),w(r)}else n(s);c=t(s)}if(null!==c)var u=!0;else{var p=t(l);null!==p&&L(y,p.startTime-r),u=!1}return u}finally{c=null,d=o,f=!1}}typeof navigator<"u"&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Q,b=!1,C=null,U=-1,F=5,E=-1;function x(){return!(A.unstable_now()-E<F)}function H(){if(null!==C){var e=A.unstable_now();E=e;var t=!0;try{t=C(!0,e)}finally{t?Q():(b=!1,C=null)}}else b=!1}if("function"==typeof m)Q=function(){m(H)};else if(typeof MessageChannel<"u"){var S=new MessageChannel,I=S.port2;S.port1.onmessage=H,Q=function(){I.postMessage(null)}}else Q=function(){p(H,0)};function k(A){C=A,b||(b=!0,Q())}function L(e,t){U=p((function(){e(A.unstable_now())}),t)}A.unstable_IdlePriority=5,A.unstable_ImmediatePriority=1,A.unstable_LowPriority=4,A.unstable_NormalPriority=3,A.unstable_Profiling=null,A.unstable_UserBlockingPriority=2,A.unstable_cancelCallback=function(A){A.callback=null},A.unstable_continueExecution=function(){g||f||(g=!0,k(v))},A.unstable_forceFrameRate=function(A){0>A||125<A?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):F=0<A?Math.floor(1e3/A):5},A.unstable_getCurrentPriorityLevel=function(){return d},A.unstable_getFirstCallbackNode=function(){return t(s)},A.unstable_next=function(A){switch(d){case 1:case 2:case 3:var e=3;break;default:e=d}var t=d;d=e;try{return A()}finally{d=t}},A.unstable_pauseExecution=function(){},A.unstable_requestPaint=function(){},A.unstable_runWithPriority=function(A,e){switch(A){case 1:case 2:case 3:case 4:case 5:break;default:A=3}var t=d;d=A;try{return e()}finally{d=t}},A.unstable_scheduleCallback=function(n,r,o){var i=A.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,n){case 1:var a=-1;break;case 2:a=250;break;case 5:a=1073741823;break;case 4:a=1e4;break;default:a=5e3}return n={id:u++,callback:r,priorityLevel:n,startTime:o,expirationTime:a=o+a,sortIndex:-1},o>i?(n.sortIndex=o,e(l,n),null===t(s)&&n===t(l)&&(h?(B(U),U=-1):h=!0,L(y,o-i))):(n.sortIndex=a,e(s,n),g||f||(g=!0,k(v))),n},A.unstable_shouldYield=x,A.unstable_wrapCallback=function(A){var e=d;return function(){var t=d;d=e;try{return A.apply(this,arguments)}finally{d=t}}}}(d0),f0.exports=d0;var sU=f0.exports,h0=AA,dt=sU;function uA(A){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+A,t=1;t<arguments.length;t++)e+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+A+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var g0=new Set,Go={};function Kn(A,e){Ti(A,e),Ti(A+"Capture",e)}function Ti(A,e){for(Go[A]=e,A=0;A<e.length;A++)g0.add(e[A])}var Br=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),vc=Object.prototype.hasOwnProperty,lU=/^[: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]*$/,Lg={},Pg={};function uU(A){return!!vc.call(Pg,A)||!vc.call(Lg,A)&&(lU.test(A)?Pg[A]=!0:(Lg[A]=!0,!1))}function cU(A,e,t,n){if(null!==t&&0===t.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==t?!t.acceptsBooleans:"data-"!==(A=A.toLowerCase().slice(0,5))&&"aria-"!==A);default:return!1}}function fU(A,e,t,n){if(null===e||typeof e>"u"||cU(A,e,t,n))return!0;if(n)return!1;if(null!==t)switch(t.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function Ye(A,e,t,n,r,o,i){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=n,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=A,this.type=e,this.sanitizeURL=o,this.removeEmptyString=i}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(A){Me[A]=new Ye(A,0,!1,A,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(A){var e=A[0];Me[e]=new Ye(e,1,!1,A[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(A){Me[A]=new Ye(A,2,!1,A.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(A){Me[A]=new Ye(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){Me[A]=new Ye(A,3,!1,A.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(A){Me[A]=new Ye(A,3,!0,A,null,!1,!1)})),["capture","download"].forEach((function(A){Me[A]=new Ye(A,4,!1,A,null,!1,!1)})),["cols","rows","size","span"].forEach((function(A){Me[A]=new Ye(A,6,!1,A,null,!1,!1)})),["rowSpan","start"].forEach((function(A){Me[A]=new Ye(A,5,!1,A.toLowerCase(),null,!1,!1)}));var Lf=/[\-:]([a-z])/g;function Pf(A){return A[1].toUpperCase()}function Df(A,e,t,n){var r=Me.hasOwnProperty(e)?Me[e]:null;(null!==r?0!==r.type:n||!(2<e.length)||"o"!==e[0]&&"O"!==e[0]||"n"!==e[1]&&"N"!==e[1])&&(fU(e,t,r,n)&&(t=null),n||null===r?uU(e)&&(null===t?A.removeAttribute(e):A.setAttribute(e,""+t)):r.mustUseProperty?A[r.propertyName]=null===t?3!==r.type&&"":t:(e=r.attributeName,n=r.attributeNamespace,null===t?A.removeAttribute(e):(t=3===(r=r.type)||4===r&&!0===t?"":""+t,n?A.setAttributeNS(n,e,t):A.setAttribute(e,t))))}"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(Lf,Pf);Me[e]=new Ye(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(Lf,Pf);Me[e]=new Ye(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(Lf,Pf);Me[e]=new Ye(e,1,!1,A,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(A){Me[A]=new Ye(A,1,!1,A.toLowerCase(),null,!1,!1)})),Me.xlinkHref=new Ye("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(A){Me[A]=new Ye(A,1,!1,A.toLowerCase(),null,!0,!0)}));var Cr=h0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,os=Symbol.for("react.element"),ui=Symbol.for("react.portal"),ci=Symbol.for("react.fragment"),Of=Symbol.for("react.strict_mode"),wc=Symbol.for("react.profiler"),p0=Symbol.for("react.provider"),B0=Symbol.for("react.context"),kf=Symbol.for("react.forward_ref"),yc=Symbol.for("react.suspense"),Cc=Symbol.for("react.suspense_list"),Rf=Symbol.for("react.memo"),Rr=Symbol.for("react.lazy"),m0=Symbol.for("react.offscreen"),Dg=Symbol.iterator;function ho(A){return null===A||"object"!=typeof A?null:"function"==typeof(A=Dg&&A[Dg]||A["@@iterator"])?A:null}var Iu,he=Object.assign;function Eo(A){if(void 0===Iu)try{throw Error()}catch(A){var e=A.stack.trim().match(/\n( *(at )?)/);Iu=e&&e[1]||""}return"\n"+Iu+A}var bu=!1;function Hu(A,e){if(!A||bu)return"";bu=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(A){var n=A}Reflect.construct(A,[],e)}else{try{e.call()}catch(A){n=A}A.call(e.prototype)}else{try{throw Error()}catch(A){n=A}A()}}catch(e){if(e&&n&&"string"==typeof e.stack){for(var r=e.stack.split("\n"),o=n.stack.split("\n"),i=r.length-1,a=o.length-1;1<=i&&0<=a&&r[i]!==o[a];)a--;for(;1<=i&&0<=a;i--,a--)if(r[i]!==o[a]){if(1!==i||1!==a)do{if(i--,0>--a||r[i]!==o[a]){var s="\n"+r[i].replace(" at new "," at ");return A.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",A.displayName)),s}}while(1<=i&&0<=a);break}}}finally{bu=!1,Error.prepareStackTrace=t}return(A=A?A.displayName||A.name:"")?Eo(A):""}function dU(A){switch(A.tag){case 5:return Eo(A.type);case 16:return Eo("Lazy");case 13:return Eo("Suspense");case 19:return Eo("SuspenseList");case 0:case 2:case 15:return Hu(A.type,!1);case 11:return Hu(A.type.render,!1);case 1:return Hu(A.type,!0);default:return""}}function Qc(A){if(null==A)return null;if("function"==typeof A)return A.displayName||A.name||null;if("string"==typeof A)return A;switch(A){case ci:return"Fragment";case ui:return"Portal";case wc:return"Profiler";case Of:return"StrictMode";case yc:return"Suspense";case Cc:return"SuspenseList"}if("object"==typeof A)switch(A.$$typeof){case B0:return(A.displayName||"Context")+".Consumer";case p0:return(A._context.displayName||"Context")+".Provider";case kf:var e=A.render;return(A=A.displayName)||(A=""!==(A=e.displayName||e.name||"")?"ForwardRef("+A+")":"ForwardRef"),A;case Rf:return null!==(e=A.displayName||null)?e:Qc(A.type)||"Memo";case Rr:e=A._payload,A=A._init;try{return Qc(A(e))}catch{}}return null}function hU(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=(A=e.render).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 Qc(e);case 8:return e===Of?"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("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e}return null}function en(A){switch(typeof A){case"boolean":case"number":case"string":case"undefined":case"object":return A;default:return""}}function v0(A){var e=A.type;return(A=A.nodeName)&&"input"===A.toLowerCase()&&("checkbox"===e||"radio"===e)}function gU(A){var e=v0(A)?"checked":"value",t=Object.getOwnPropertyDescriptor(A.constructor.prototype,e),n=""+A[e];if(!A.hasOwnProperty(e)&&typeof t<"u"&&"function"==typeof t.get&&"function"==typeof t.set){var r=t.get,o=t.set;return Object.defineProperty(A,e,{configurable:!0,get:function(){return r.call(this)},set:function(A){n=""+A,o.call(this,A)}}),Object.defineProperty(A,e,{enumerable:t.enumerable}),{getValue:function(){return n},setValue:function(A){n=""+A},stopTracking:function(){A._valueTracker=null,delete A[e]}}}}function as(A){A._valueTracker||(A._valueTracker=gU(A))}function w0(A){if(!A)return!1;var e=A._valueTracker;if(!e)return!0;var t=e.getValue(),n="";return A&&(n=v0(A)?A.checked?"true":"false":A.value),(A=n)!==t&&(e.setValue(A),!0)}function _s(A){if(typeof(A=A||(typeof document<"u"?document:void 0))>"u")return null;try{return A.activeElement||A.body}catch{return A.body}}function Fc(A,e){var t=e.checked;return he({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??A._wrapperState.initialChecked})}function Og(A,e){var t=null==e.defaultValue?"":e.defaultValue,n=null!=e.checked?e.checked:e.defaultChecked;t=en(null!=e.value?e.value:t),A._wrapperState={initialChecked:n,initialValue:t,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function y0(A,e){null!=(e=e.checked)&&Df(A,"checked",e,!1)}function Uc(A,e){y0(A,e);var t=en(e.value),n=e.type;if(null!=t)"number"===n?(0===t&&""===A.value||A.value!=t)&&(A.value=""+t):A.value!==""+t&&(A.value=""+t);else if("submit"===n||"reset"===n)return void A.removeAttribute("value");e.hasOwnProperty("value")?Ec(A,e.type,t):e.hasOwnProperty("defaultValue")&&Ec(A,e.type,en(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(A.defaultChecked=!!e.defaultChecked)}function kg(A,e,t){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!("submit"!==n&&"reset"!==n||void 0!==e.value&&null!==e.value))return;e=""+A._wrapperState.initialValue,t||e===A.value||(A.value=e),A.defaultValue=e}""!==(t=A.name)&&(A.name=""),A.defaultChecked=!!A._wrapperState.initialChecked,""!==t&&(A.name=t)}function Ec(A,e,t){("number"!==e||_s(A.ownerDocument)!==A)&&(null==t?A.defaultValue=""+A._wrapperState.initialValue:A.defaultValue!==""+t&&(A.defaultValue=""+t))}var So=Array.isArray;function Ei(A,e,t,n){if(A=A.options,e){e={};for(var r=0;r<t.length;r++)e["$"+t[r]]=!0;for(t=0;t<A.length;t++)r=e.hasOwnProperty("$"+A[t].value),A[t].selected!==r&&(A[t].selected=r),r&&n&&(A[t].defaultSelected=!0)}else{for(t=""+en(t),e=null,r=0;r<A.length;r++){if(A[r].value===t)return A[r].selected=!0,void(n&&(A[r].defaultSelected=!0));null!==e||A[r].disabled||(e=A[r])}null!==e&&(e.selected=!0)}}function Sc(A,e){if(null!=e.dangerouslySetInnerHTML)throw Error(uA(91));return he({},e,{value:void 0,defaultValue:void 0,children:""+A._wrapperState.initialValue})}function Rg(A,e){var t=e.value;if(null==t){if(t=e.children,e=e.defaultValue,null!=t){if(null!=e)throw Error(uA(92));if(So(t)){if(1<t.length)throw Error(uA(93));t=t[0]}e=t}null==e&&(e=""),t=e}A._wrapperState={initialValue:en(t)}}function C0(A,e){var t=en(e.value),n=en(e.defaultValue);null!=t&&((t=""+t)!==A.value&&(A.value=t),null==e.defaultValue&&A.defaultValue!==t&&(A.defaultValue=t)),null!=n&&(A.defaultValue=""+n)}function Kg(A){var e=A.textContent;e===A._wrapperState.initialValue&&""!==e&&null!==e&&(A.value=e)}function Q0(A){switch(A){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function xc(A,e){return null==A||"http://www.w3.org/1999/xhtml"===A?Q0(e):"http://www.w3.org/2000/svg"===A&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":A}var ss,F0=function(A){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return A(e,t)}))}:A}((function(A,e){if("http://www.w3.org/2000/svg"!==A.namespaceURI||"innerHTML"in A)A.innerHTML=e;else{for((ss=ss||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=ss.firstChild;A.firstChild;)A.removeChild(A.firstChild);for(;e.firstChild;)A.appendChild(e.firstChild)}}));function jo(A,e){if(e){var t=A.firstChild;if(t&&t===A.lastChild&&3===t.nodeType)return void(t.nodeValue=e)}A.textContent=e}var Ho={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},pU=["Webkit","ms","Moz","O"];function U0(A,e,t){return null==e||"boolean"==typeof e||""===e?"":t||"number"!=typeof e||0===e||Ho.hasOwnProperty(A)&&Ho[A]?(""+e).trim():e+"px"}function E0(A,e){for(var t in A=A.style,e)if(e.hasOwnProperty(t)){var n=0===t.indexOf("--"),r=U0(t,e[t],n);"float"===t&&(t="cssFloat"),n?A.setProperty(t,r):A[t]=r}}Object.keys(Ho).forEach((function(A){pU.forEach((function(e){e=e+A.charAt(0).toUpperCase()+A.substring(1),Ho[e]=Ho[A]}))}));var BU=he({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 Ic(A,e){if(e){if(BU[A]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(uA(137,A));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(uA(60));if("object"!=typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(uA(61))}if(null!=e.style&&"object"!=typeof e.style)throw Error(uA(62))}}function bc(A,e){if(-1===A.indexOf("-"))return"string"==typeof e.is;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 Hc=null;function Kf(A){return(A=A.target||A.srcElement||window).correspondingUseElement&&(A=A.correspondingUseElement),3===A.nodeType?A.parentNode:A}var Tc=null,Si=null,xi=null;function Mg(A){if(A=ha(A)){if("function"!=typeof Tc)throw Error(uA(280));var e=A.stateNode;e&&(e=Fl(e),Tc(A.stateNode,A.type,e))}}function S0(A){Si?xi?xi.push(A):xi=[A]:Si=A}function x0(){if(Si){var A=Si,e=xi;if(xi=Si=null,Mg(A),e)for(A=0;A<e.length;A++)Mg(e[A])}}function I0(A,e){return A(e)}function b0(){}var Tu=!1;function H0(A,e,t){if(Tu)return A(e,t);Tu=!0;try{return I0(A,e,t)}finally{Tu=!1,(null!==Si||null!==xi)&&(b0(),x0())}}function Wo(A,e){var t=A.stateNode;if(null===t)return null;var n=Fl(t);if(null===n)return null;t=n[e];A:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(A=A.type)||"input"===A||"select"===A||"textarea"===A)),A=!n;break A;default:A=!1}if(A)return null;if(t&&"function"!=typeof t)throw Error(uA(231,e,typeof t));return t}var Lc=!1;if(Br)try{var go={};Object.defineProperty(go,"passive",{get:function(){Lc=!0}}),window.addEventListener("test",go,go),window.removeEventListener("test",go,go)}catch{Lc=!1}function mU(A,e,t,n,r,o,i,a,s){var l=Array.prototype.slice.call(arguments,3);try{e.apply(t,l)}catch(A){this.onError(A)}}var To=!1,Vs=null,Ns=!1,Pc=null,vU={onError:function(A){To=!0,Vs=A}};function wU(A,e,t,n,r,o,i,a,s){To=!1,Vs=null,mU.apply(vU,arguments)}function yU(A,e,t,n,r,o,i,a,s){if(wU.apply(this,arguments),To){if(!To)throw Error(uA(198));var l=Vs;To=!1,Vs=null,Ns||(Ns=!0,Pc=l)}}function Mn(A){var e=A,t=A;if(A.alternate)for(;e.return;)e=e.return;else{A=e;do{4098&(e=A).flags&&(t=e.return),A=e.return}while(A)}return 3===e.tag?t:null}function T0(A){if(13===A.tag){var e=A.memoizedState;if(null===e&&null!==(A=A.alternate)&&(e=A.memoizedState),null!==e)return e.dehydrated}return null}function _g(A){if(Mn(A)!==A)throw Error(uA(188))}function CU(A){var e=A.alternate;if(!e){if(null===(e=Mn(A)))throw Error(uA(188));return e!==A?null:A}for(var t=A,n=e;;){var r=t.return;if(null===r)break;var o=r.alternate;if(null===o){if(null!==(n=r.return)){t=n;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===t)return _g(r),A;if(o===n)return _g(r),e;o=o.sibling}throw Error(uA(188))}if(t.return!==n.return)t=r,n=o;else{for(var i=!1,a=r.child;a;){if(a===t){i=!0,t=r,n=o;break}if(a===n){i=!0,n=r,t=o;break}a=a.sibling}if(!i){for(a=o.child;a;){if(a===t){i=!0,t=o,n=r;break}if(a===n){i=!0,n=o,t=r;break}a=a.sibling}if(!i)throw Error(uA(189))}}if(t.alternate!==n)throw Error(uA(190))}if(3!==t.tag)throw Error(uA(188));return t.stateNode.current===t?A:e}function L0(A){return null!==(A=CU(A))?P0(A):null}function P0(A){if(5===A.tag||6===A.tag)return A;for(A=A.child;null!==A;){var e=P0(A);if(null!==e)return e;A=A.sibling}return null}var D0=dt.unstable_scheduleCallback,Vg=dt.unstable_cancelCallback,QU=dt.unstable_shouldYield,FU=dt.unstable_requestPaint,we=dt.unstable_now,UU=dt.unstable_getCurrentPriorityLevel,Mf=dt.unstable_ImmediatePriority,O0=dt.unstable_UserBlockingPriority,Gs=dt.unstable_NormalPriority,EU=dt.unstable_LowPriority,k0=dt.unstable_IdlePriority,wl=null,qt=null;function SU(A){if(qt&&"function"==typeof qt.onCommitFiberRoot)try{qt.onCommitFiberRoot(wl,A,void 0,128==(128&A.current.flags))}catch{}}var Kt=Math.clz32?Math.clz32:bU,xU=Math.log,IU=Math.LN2;function bU(A){return 0==(A>>>=0)?32:31-(xU(A)/IU|0)|0}var ls=64,us=4194304;function xo(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 4194240&A;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&A;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return A}}function js(A,e){var t=A.pendingLanes;if(0===t)return 0;var n=0,r=A.suspendedLanes,o=A.pingedLanes,i=268435455&t;if(0!==i){var a=i&~r;0!==a?n=xo(a):0!=(o&=i)&&(n=xo(o))}else 0!=(i=t&~r)?n=xo(i):0!==o&&(n=xo(o));if(0===n)return 0;if(0!==e&&e!==n&&!(e&r)&&((r=n&-n)>=(o=e&-e)||16===r&&0!=(4194240&o)))return e;if(4&n&&(n|=16&t),0!==(e=A.entangledLanes))for(A=A.entanglements,e&=n;0<e;)r=1<<(t=31-Kt(e)),n|=A[t],e&=~r;return n}function HU(A,e){switch(A){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function TU(A,e){for(var t=A.suspendedLanes,n=A.pingedLanes,r=A.expirationTimes,o=A.pendingLanes;0<o;){var i=31-Kt(o),a=1<<i,s=r[i];-1===s?(!(a&t)||a&n)&&(r[i]=HU(a,e)):s<=e&&(A.expiredLanes|=a),o&=~a}}function Dc(A){return 0!=(A=-1073741825&A.pendingLanes)?A:1073741824&A?1073741824:0}function R0(){var A=ls;return!(4194240&(ls<<=1))&&(ls=64),A}function Lu(A){for(var e=[],t=0;31>t;t++)e.push(A);return e}function fa(A,e,t){A.pendingLanes|=e,536870912!==e&&(A.suspendedLanes=0,A.pingedLanes=0),(A=A.eventTimes)[e=31-Kt(e)]=t}function LU(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 n=A.eventTimes;for(A=A.expirationTimes;0<t;){var r=31-Kt(t),o=1<<r;e[r]=0,n[r]=-1,A[r]=-1,t&=~o}}function _f(A,e){var t=A.entangledLanes|=e;for(A=A.entanglements;t;){var n=31-Kt(t),r=1<<n;r&e|A[n]&e&&(A[n]|=e),t&=~r}}var $A=0;function K0(A){return 1<(A&=-A)?4<A?268435455&A?16:536870912:4:1}var M0,Vf,_0,V0,N0,Oc=!1,cs=[],jr=null,Wr=null,zr=null,zo=new Map,Xo=new Map,_r=[],PU="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ng(A,e){switch(A){case"focusin":case"focusout":jr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":zr=null;break;case"pointerover":case"pointerout":zo.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Xo.delete(e.pointerId)}}function po(A,e,t,n,r,o){return null===A||A.nativeEvent!==o?(A={blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]},null!==e&&null!==(e=ha(e))&&Vf(e),A):(A.eventSystemFlags|=n,e=A.targetContainers,null!==r&&-1===e.indexOf(r)&&e.push(r),A)}function DU(A,e,t,n,r){switch(e){case"focusin":return jr=po(jr,A,e,t,n,r),!0;case"dragenter":return Wr=po(Wr,A,e,t,n,r),!0;case"mouseover":return zr=po(zr,A,e,t,n,r),!0;case"pointerover":var o=r.pointerId;return zo.set(o,po(zo.get(o)||null,A,e,t,n,r)),!0;case"gotpointercapture":return o=r.pointerId,Xo.set(o,po(Xo.get(o)||null,A,e,t,n,r)),!0}return!1}function G0(A){var e=xn(A.target);if(null!==e){var t=Mn(e);if(null!==t)if(13===(e=t.tag)){if(null!==(e=T0(t)))return A.blockedOn=e,void N0(A.priority,(function(){_0(t)}))}else if(3===e&&t.stateNode.current.memoizedState.isDehydrated)return void(A.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}A.blockedOn=null}function Is(A){if(null!==A.blockedOn)return!1;for(var e=A.targetContainers;0<e.length;){var t=kc(A.domEventName,A.eventSystemFlags,e[0],A.nativeEvent);if(null!==t)return null!==(e=ha(t))&&Vf(e),A.blockedOn=t,!1;var n=new(t=A.nativeEvent).constructor(t.type,t);Hc=n,t.target.dispatchEvent(n),Hc=null,e.shift()}return!0}function Gg(A,e,t){Is(A)&&t.delete(e)}function OU(){Oc=!1,null!==jr&&Is(jr)&&(jr=null),null!==Wr&&Is(Wr)&&(Wr=null),null!==zr&&Is(zr)&&(zr=null),zo.forEach(Gg),Xo.forEach(Gg)}function Bo(A,e){A.blockedOn===e&&(A.blockedOn=null,Oc||(Oc=!0,dt.unstable_scheduleCallback(dt.unstable_NormalPriority,OU)))}function Jo(A){function e(e){return Bo(e,A)}if(0<cs.length){Bo(cs[0],A);for(var t=1;t<cs.length;t++){var n=cs[t];n.blockedOn===A&&(n.blockedOn=null)}}for(null!==jr&&Bo(jr,A),null!==Wr&&Bo(Wr,A),null!==zr&&Bo(zr,A),zo.forEach(e),Xo.forEach(e),t=0;t<_r.length;t++)(n=_r[t]).blockedOn===A&&(n.blockedOn=null);for(;0<_r.length&&null===(t=_r[0]).blockedOn;)G0(t),null===t.blockedOn&&_r.shift()}var Ii=Cr.ReactCurrentBatchConfig,Ws=!0;function kU(A,e,t,n){var r=$A,o=Ii.transition;Ii.transition=null;try{$A=1,Nf(A,e,t,n)}finally{$A=r,Ii.transition=o}}function RU(A,e,t,n){var r=$A,o=Ii.transition;Ii.transition=null;try{$A=4,Nf(A,e,t,n)}finally{$A=r,Ii.transition=o}}function Nf(A,e,t,n){if(Ws){var r=kc(A,e,t,n);if(null===r)Nu(A,e,n,zs,t),Ng(A,n);else if(DU(r,A,e,t,n))n.stopPropagation();else if(Ng(A,n),4&e&&-1<PU.indexOf(A)){for(;null!==r;){var o=ha(r);if(null!==o&&M0(o),null===(o=kc(A,e,t,n))&&Nu(A,e,n,zs,t),o===r)break;r=o}null!==r&&n.stopPropagation()}else Nu(A,e,n,null,t)}}var zs=null;function kc(A,e,t,n){if(zs=null,null!==(A=xn(A=Kf(n))))if(null===(e=Mn(A)))A=null;else if(13===(t=e.tag)){if(null!==(A=T0(e)))return A;A=null}else if(3===t){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;A=null}else e!==A&&(A=null);return zs=A,null}function j0(A){switch(A){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(UU()){case Mf:return 1;case O0:return 4;case Gs:case EU:return 16;case k0:return 536870912;default:return 16}default:return 16}}var Nr=null,Gf=null,bs=null;function W0(){if(bs)return bs;var A,e,t=Gf,n=t.length,r="value"in Nr?Nr.value:Nr.textContent,o=r.length;for(A=0;A<n&&t[A]===r[A];A++);var i=n-A;for(e=1;e<=i&&t[n-e]===r[o-e];e++);return bs=r.slice(A,1<e?1-e:void 0)}function Hs(A){var e=A.keyCode;return"charCode"in A?0===(A=A.charCode)&&13===e&&(A=13):A=e,10===A&&(A=13),32<=A||13===A?A:0}function fs(){return!0}function jg(){return!1}function pt(A){function e(e,t,n,r,o){for(var i in this._reactName=e,this._targetInst=n,this.type=t,this.nativeEvent=r,this.target=o,this.currentTarget=null,A)A.hasOwnProperty(i)&&(e=A[i],this[i]=e?e(r):r[i]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?fs:jg,this.isPropagationStopped=jg,this}return he(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var A=this.nativeEvent;A&&(A.preventDefault?A.preventDefault():"unknown"!=typeof A.returnValue&&(A.returnValue=!1),this.isDefaultPrevented=fs)},stopPropagation:function(){var A=this.nativeEvent;A&&(A.stopPropagation?A.stopPropagation():"unknown"!=typeof A.cancelBubble&&(A.cancelBubble=!0),this.isPropagationStopped=fs)},persist:function(){},isPersistent:fs}),e}var Pu,Du,mo,Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(A){return A.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jf=pt(Vi),da=he({},Vi,{view:0,detail:0}),KU=pt(da),yl=he({},da,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Wf,button:0,buttons:0,relatedTarget:function(A){return void 0===A.relatedTarget?A.fromElement===A.srcElement?A.toElement:A.fromElement:A.relatedTarget},movementX:function(A){return"movementX"in A?A.movementX:(A!==mo&&(mo&&"mousemove"===A.type?(Pu=A.screenX-mo.screenX,Du=A.screenY-mo.screenY):Du=Pu=0,mo=A),Pu)},movementY:function(A){return"movementY"in A?A.movementY:Du}}),Wg=pt(yl),MU=he({},yl,{dataTransfer:0}),_U=pt(MU),VU=he({},da,{relatedTarget:0}),Ou=pt(VU),NU=he({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),GU=pt(NU),jU=he({},Vi,{clipboardData:function(A){return"clipboardData"in A?A.clipboardData:window.clipboardData}}),WU=pt(jU),zU=he({},Vi,{data:0}),zg=pt(zU),XU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},JU={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},YU={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function $U(A){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(A):!!(A=YU[A])&&!!e[A]}function Wf(){return $U}var ZU=he({},da,{key:function(A){if(A.key){var e=XU[A.key]||A.key;if("Unidentified"!==e)return e}return"keypress"===A.type?13===(A=Hs(A))?"Enter":String.fromCharCode(A):"keydown"===A.type||"keyup"===A.type?JU[A.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Wf,charCode:function(A){return"keypress"===A.type?Hs(A):0},keyCode:function(A){return"keydown"===A.type||"keyup"===A.type?A.keyCode:0},which:function(A){return"keypress"===A.type?Hs(A):"keydown"===A.type||"keyup"===A.type?A.keyCode:0}}),qU=pt(ZU),AE=he({},yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xg=pt(AE),eE=he({},da,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Wf}),tE=pt(eE),rE=he({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),nE=pt(rE),iE=he({},yl,{deltaX:function(A){return"deltaX"in A?A.deltaX:"wheelDeltaX"in A?-A.wheelDeltaX:0},deltaY:function(A){return"deltaY"in A?A.deltaY:"wheelDeltaY"in A?-A.wheelDeltaY:"wheelDelta"in A?-A.wheelDelta:0},deltaZ:0,deltaMode:0}),oE=pt(iE),aE=[9,13,27,32],zf=Br&&"CompositionEvent"in window,Lo=null;Br&&"documentMode"in document&&(Lo=document.documentMode);var sE=Br&&"TextEvent"in window&&!Lo,z0=Br&&(!zf||Lo&&8<Lo&&11>=Lo),Jg=String.fromCharCode(32),Yg=!1;function X0(A,e){switch(A){case"keyup":return-1!==aE.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function J0(A){return"object"==typeof(A=A.detail)&&"data"in A?A.data:null}var fi=!1;function lE(A,e){switch(A){case"compositionend":return J0(e);case"keypress":return 32!==e.which?null:(Yg=!0,Jg);case"textInput":return(A=e.data)===Jg&&Yg?null:A;default:return null}}function uE(A,e){if(fi)return"compositionend"===A||!zf&&X0(A,e)?(A=W0(),bs=Gf=Nr=null,fi=!1,A):null;switch(A){case"paste":default:return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return z0&&"ko"!==e.locale?null:e.data}}var cE={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $g(A){var e=A&&A.nodeName&&A.nodeName.toLowerCase();return"input"===e?!!cE[A.type]:"textarea"===e}function Y0(A,e,t,n){S0(n),0<(e=Xs(e,"onChange")).length&&(t=new jf("onChange","change",null,t,n),A.push({event:t,listeners:e}))}var Po=null,Yo=null;function fE(A){am(A,0)}function Cl(A){if(w0(gi(A)))return A}function dE(A,e){if("change"===A)return e}var $0=!1;if(Br){var ku;if(Br){var Ru="oninput"in document;if(!Ru){var Zg=document.createElement("div");Zg.setAttribute("oninput","return;"),Ru="function"==typeof Zg.oninput}ku=Ru}else ku=!1;$0=ku&&(!document.documentMode||9<document.documentMode)}function qg(){Po&&(Po.detachEvent("onpropertychange",Z0),Yo=Po=null)}function Z0(A){if("value"===A.propertyName&&Cl(Yo)){var e=[];Y0(e,Yo,A,Kf(A)),H0(fE,e)}}function hE(A,e,t){"focusin"===A?(qg(),Yo=t,(Po=e).attachEvent("onpropertychange",Z0)):"focusout"===A&&qg()}function gE(A){if("selectionchange"===A||"keyup"===A||"keydown"===A)return Cl(Yo)}function pE(A,e){if("click"===A)return Cl(e)}function BE(A,e){if("input"===A||"change"===A)return Cl(e)}function mE(A,e){return A===e&&(0!==A||1/A==1/e)||A!=A&&e!=e}var _t="function"==typeof Object.is?Object.is:mE;function $o(A,e){if(_t(A,e))return!0;if("object"!=typeof A||null===A||"object"!=typeof e||null===e)return!1;var t=Object.keys(A),n=Object.keys(e);if(t.length!==n.length)return!1;for(n=0;n<t.length;n++){var r=t[n];if(!vc.call(e,r)||!_t(A[r],e[r]))return!1}return!0}function Ap(A){for(;A&&A.firstChild;)A=A.firstChild;return A}function ep(A,e){var t,n=Ap(A);for(A=0;n;){if(3===n.nodeType){if(t=A+n.textContent.length,A<=e&&t>=e)return{node:n,offset:e-A};A=t}A:{for(;n;){if(n.nextSibling){n=n.nextSibling;break A}n=n.parentNode}n=void 0}n=Ap(n)}}function q0(A,e){return!(!A||!e)&&(A===e||(!A||3!==A.nodeType)&&(e&&3===e.nodeType?q0(A,e.parentNode):"contains"in A?A.contains(e):!!A.compareDocumentPosition&&!!(16&A.compareDocumentPosition(e))))}function Am(){for(var A=window,e=_s();e instanceof A.HTMLIFrameElement;){try{var t="string"==typeof e.contentWindow.location.href}catch{t=!1}if(!t)break;e=_s((A=e.contentWindow).document)}return e}function Xf(A){var e=A&&A.nodeName&&A.nodeName.toLowerCase();return e&&("input"===e&&("text"===A.type||"search"===A.type||"tel"===A.type||"url"===A.type||"password"===A.type)||"textarea"===e||"true"===A.contentEditable)}function vE(A){var e=Am(),t=A.focusedElem,n=A.selectionRange;if(e!==t&&t&&t.ownerDocument&&q0(t.ownerDocument.documentElement,t)){if(null!==n&&Xf(t))if(e=n.start,void 0===(A=n.end)&&(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).getSelection){A=A.getSelection();var r=t.textContent.length,o=Math.min(n.start,r);n=void 0===n.end?o:Math.min(n.end,r),!A.extend&&o>n&&(r=n,n=o,o=r),r=ep(t,o);var i=ep(t,n);r&&i&&(1!==A.rangeCount||A.anchorNode!==r.node||A.anchorOffset!==r.offset||A.focusNode!==i.node||A.focusOffset!==i.offset)&&((e=e.createRange()).setStart(r.node,r.offset),A.removeAllRanges(),o>n?(A.addRange(e),A.extend(i.node,i.offset)):(e.setEnd(i.node,i.offset),A.addRange(e)))}for(e=[],A=t;A=A.parentNode;)1===A.nodeType&&e.push({element:A,left:A.scrollLeft,top:A.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<e.length;t++)(A=e[t]).element.scrollLeft=A.left,A.element.scrollTop=A.top}}var wE=Br&&"documentMode"in document&&11>=document.documentMode,di=null,Rc=null,Do=null,Kc=!1;function tp(A,e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;Kc||null==di||di!==_s(n)||(n="selectionStart"in(n=di)&&Xf(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Do&&$o(Do,n)||(Do=n,0<(n=Xs(Rc,"onSelect")).length&&(e=new jf("onSelect","select",null,e,t),A.push({event:e,listeners:n}),e.target=di)))}function ds(A,e){var t={};return t[A.toLowerCase()]=e.toLowerCase(),t["Webkit"+A]="webkit"+e,t["Moz"+A]="moz"+e,t}var hi={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionend:ds("Transition","TransitionEnd")},Ku={},em={};function Ql(A){if(Ku[A])return Ku[A];if(!hi[A])return A;var e,t=hi[A];for(e in t)if(t.hasOwnProperty(e)&&e in em)return Ku[A]=t[e];return A}Br&&(em=document.createElement("div").style,"AnimationEvent"in window||(delete hi.animationend.animation,delete hi.animationiteration.animation,delete hi.animationstart.animation),"TransitionEvent"in window||delete hi.transitionend.transition);var tm=Ql("animationend"),rm=Ql("animationiteration"),nm=Ql("animationstart"),im=Ql("transitionend"),om=new Map,rp="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function on(A,e){om.set(A,e),Kn(e,[A])}for(var Mu=0;Mu<rp.length;Mu++){var _u=rp[Mu],yE=_u.toLowerCase(),CE=_u[0].toUpperCase()+_u.slice(1);on(yE,"on"+CE)}on(tm,"onAnimationEnd"),on(rm,"onAnimationIteration"),on(nm,"onAnimationStart"),on("dblclick","onDoubleClick"),on("focusin","onFocus"),on("focusout","onBlur"),on(im,"onTransitionEnd"),Ti("onMouseEnter",["mouseout","mouseover"]),Ti("onMouseLeave",["mouseout","mouseover"]),Ti("onPointerEnter",["pointerout","pointerover"]),Ti("onPointerLeave",["pointerout","pointerover"]),Kn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Kn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Kn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Kn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Kn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Kn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Io="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),QE=new Set("cancel close invalid load scroll toggle".split(" ").concat(Io));function np(A,e,t){var n=A.type||"unknown-event";A.currentTarget=t,yU(n,e,void 0,A),A.currentTarget=null}function am(A,e){e=0!=(4&e);for(var t=0;t<A.length;t++){var n=A[t],r=n.event;n=n.listeners;A:{var o=void 0;if(e)for(var i=n.length-1;0<=i;i--){var a=n[i],s=a.instance,l=a.currentTarget;if(a=a.listener,s!==o&&r.isPropagationStopped())break A;np(r,a,l),o=s}else for(i=0;i<n.length;i++){if(s=(a=n[i]).instance,l=a.currentTarget,a=a.listener,s!==o&&r.isPropagationStopped())break A;np(r,a,l),o=s}}}if(Ns)throw A=Pc,Ns=!1,Pc=null,A}function oe(A,e){var t=e[Gc];void 0===t&&(t=e[Gc]=new Set);var n=A+"__bubble";t.has(n)||(sm(e,A,2,!1),t.add(n))}function Vu(A,e,t){var n=0;e&&(n|=4),sm(t,A,n,e)}var hs="_reactListening"+Math.random().toString(36).slice(2);function Zo(A){if(!A[hs]){A[hs]=!0,g0.forEach((function(e){"selectionchange"!==e&&(QE.has(e)||Vu(e,!1,A),Vu(e,!0,A))}));var e=9===A.nodeType?A:A.ownerDocument;null===e||e[hs]||(e[hs]=!0,Vu("selectionchange",!1,e))}}function sm(A,e,t,n){switch(j0(e)){case 1:var r=kU;break;case 4:r=RU;break;default:r=Nf}t=r.bind(null,e,t,A),r=void 0,!Lc||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(r=!0),n?void 0!==r?A.addEventListener(e,t,{capture:!0,passive:r}):A.addEventListener(e,t,!0):void 0!==r?A.addEventListener(e,t,{passive:r}):A.addEventListener(e,t,!1)}function Nu(A,e,t,n,r){var o=n;if(!(1&e||2&e||null===n))A:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var a=n.stateNode.containerInfo;if(a===r||8===a.nodeType&&a.parentNode===r)break;if(4===i)for(i=n.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===r||8===s.nodeType&&s.parentNode===r))return;i=i.return}for(;null!==a;){if(null===(i=xn(a)))return;if(5===(s=i.tag)||6===s){n=o=i;continue A}a=a.parentNode}}n=n.return}H0((function(){var n=o,r=Kf(t),i=[];A:{var a=om.get(A);if(void 0!==a){var s=jf,l=A;switch(A){case"keypress":if(0===Hs(t))break A;case"keydown":case"keyup":s=qU;break;case"focusin":l="focus",s=Ou;break;case"focusout":l="blur",s=Ou;break;case"beforeblur":case"afterblur":s=Ou;break;case"click":if(2===t.button)break A;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Wg;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=_U;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=tE;break;case tm:case rm:case nm:s=GU;break;case im:s=nE;break;case"scroll":s=KU;break;case"wheel":s=oE;break;case"copy":case"cut":case"paste":s=WU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Xg}var u=0!=(4&e),c=!u&&"scroll"===A,d=u?null!==a?a+"Capture":null:a;u=[];for(var f,g=n;null!==g;){var h=(f=g).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==d&&null!=(h=Wo(g,d))&&u.push(qo(g,h,f))),c)break;g=g.return}0<u.length&&(a=new s(a,l,null,t,r),i.push({event:a,listeners:u}))}}if(!(7&e)){if(s="mouseout"===A||"pointerout"===A,(!(a="mouseover"===A||"pointerover"===A)||t===Hc||!(l=t.relatedTarget||t.fromElement)||!xn(l)&&!l[mr])&&(s||a)&&(a=r.window===r?r:(a=r.ownerDocument)?a.defaultView||a.parentWindow:window,s?(s=n,null!==(l=(l=t.relatedTarget||t.toElement)?xn(l):null)&&(l!==(c=Mn(l))||5!==l.tag&&6!==l.tag)&&(l=null)):(s=null,l=n),s!==l)){if(u=Wg,h="onMouseLeave",d="onMouseEnter",g="mouse",("pointerout"===A||"pointerover"===A)&&(u=Xg,h="onPointerLeave",d="onPointerEnter",g="pointer"),c=null==s?a:gi(s),f=null==l?a:gi(l),(a=new u(h,g+"leave",s,t,r)).target=c,a.relatedTarget=f,h=null,xn(r)===n&&((u=new u(d,g+"enter",l,t,r)).target=f,u.relatedTarget=c,h=u),c=h,s&&l)A:{for(d=l,g=0,f=u=s;f;f=ai(f))g++;for(f=0,h=d;h;h=ai(h))f++;for(;0<g-f;)u=ai(u),g--;for(;0<f-g;)d=ai(d),f--;for(;g--;){if(u===d||null!==d&&u===d.alternate)break A;u=ai(u),d=ai(d)}u=null}else u=null;null!==s&&ip(i,a,s,u,!1),null!==l&&null!==c&&ip(i,c,l,u,!0)}if("select"===(s=(a=n?gi(n):window).nodeName&&a.nodeName.toLowerCase())||"input"===s&&"file"===a.type)var p=dE;else if($g(a))if($0)p=BE;else{p=gE;var B=hE}else(s=a.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(p=pE);switch(p&&(p=p(A,n))?Y0(i,p,t,r):(B&&B(A,a,n),"focusout"===A&&(B=a._wrapperState)&&B.controlled&&"number"===a.type&&Ec(a,"number",a.value)),B=n?gi(n):window,A){case"focusin":($g(B)||"true"===B.contentEditable)&&(di=B,Rc=n,Do=null);break;case"focusout":Do=Rc=di=null;break;case"mousedown":Kc=!0;break;case"contextmenu":case"mouseup":case"dragend":Kc=!1,tp(i,t,r);break;case"selectionchange":if(wE)break;case"keydown":case"keyup":tp(i,t,r)}var m;if(zf)A:{switch(A){case"compositionstart":var w="onCompositionStart";break A;case"compositionend":w="onCompositionEnd";break A;case"compositionupdate":w="onCompositionUpdate";break A}w=void 0}else fi?X0(A,t)&&(w="onCompositionEnd"):"keydown"===A&&229===t.keyCode&&(w="onCompositionStart");w&&(z0&&"ko"!==t.locale&&(fi||"onCompositionStart"!==w?"onCompositionEnd"===w&&fi&&(m=W0()):(Gf="value"in(Nr=r)?Nr.value:Nr.textContent,fi=!0)),0<(B=Xs(n,w)).length&&(w=new zg(w,A,null,t,r),i.push({event:w,listeners:B}),(m||null!==(m=J0(t)))&&(w.data=m))),(m=sE?lE(A,t):uE(A,t))&&0<(n=Xs(n,"onBeforeInput")).length&&(r=new zg("onBeforeInput","beforeinput",null,t,r),i.push({event:r,listeners:n}),r.data=m)}am(i,e)}))}function qo(A,e,t){return{instance:A,listener:e,currentTarget:t}}function Xs(A,e){for(var t=e+"Capture",n=[];null!==A;){var r=A,o=r.stateNode;5===r.tag&&null!==o&&(r=o,null!=(o=Wo(A,t))&&n.unshift(qo(A,o,r)),null!=(o=Wo(A,e))&&n.push(qo(A,o,r))),A=A.return}return n}function ai(A){if(null===A)return null;do{A=A.return}while(A&&5!==A.tag);return A||null}function ip(A,e,t,n,r){for(var o=e._reactName,i=[];null!==t&&t!==n;){var a=t,s=a.alternate,l=a.stateNode;if(null!==s&&s===n)break;5===a.tag&&null!==l&&(a=l,r?null!=(s=Wo(t,o))&&i.unshift(qo(t,s,a)):r||null!=(s=Wo(t,o))&&i.push(qo(t,s,a))),t=t.return}0!==i.length&&A.push({event:e,listeners:i})}var FE=/\r\n?/g,UE=/\u0000|\uFFFD/g;function op(A){return("string"==typeof A?A:""+A).replace(FE,"\n").replace(UE,"")}function gs(A,e,t){if(e=op(e),op(A)!==e&&t)throw Error(uA(425))}function Js(){}var Mc=null,_c=null;function Vc(A,e){return"textarea"===A||"noscript"===A||"string"==typeof e.children||"number"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var Nc="function"==typeof setTimeout?setTimeout:void 0,EE="function"==typeof clearTimeout?clearTimeout:void 0,ap="function"==typeof Promise?Promise:void 0,SE="function"==typeof queueMicrotask?queueMicrotask:typeof ap<"u"?function(A){return ap.resolve(null).then(A).catch(xE)}:Nc;function xE(A){setTimeout((function(){throw A}))}function Gu(A,e){var t=e,n=0;do{var r=t.nextSibling;if(A.removeChild(t),r&&8===r.nodeType)if("/$"===(t=r.data)){if(0===n)return A.removeChild(r),void Jo(e);n--}else"$"!==t&&"$?"!==t&&"$!"!==t||n++;t=r}while(t);Jo(e)}function Xr(A){for(;null!=A;A=A.nextSibling){var e=A.nodeType;if(1===e||3===e)break;if(8===e){if("$"===(e=A.data)||"$!"===e||"$?"===e)break;if("/$"===e)return null}}return A}function sp(A){A=A.previousSibling;for(var e=0;A;){if(8===A.nodeType){var t=A.data;if("$"===t||"$!"===t||"$?"===t){if(0===e)return A;e--}else"/$"===t&&e++}A=A.previousSibling}return null}var Ni=Math.random().toString(36).slice(2),Zt="__reactFiber$"+Ni,Aa="__reactProps$"+Ni,mr="__reactContainer$"+Ni,Gc="__reactEvents$"+Ni,IE="__reactListeners$"+Ni,bE="__reactHandles$"+Ni;function xn(A){var e=A[Zt];if(e)return e;for(var t=A.parentNode;t;){if(e=t[mr]||t[Zt]){if(t=e.alternate,null!==e.child||null!==t&&null!==t.child)for(A=sp(A);null!==A;){if(t=A[Zt])return t;A=sp(A)}return e}t=(A=t).parentNode}return null}function ha(A){return!(A=A[Zt]||A[mr])||5!==A.tag&&6!==A.tag&&13!==A.tag&&3!==A.tag?null:A}function gi(A){if(5===A.tag||6===A.tag)return A.stateNode;throw Error(uA(33))}function Fl(A){return A[Aa]||null}var jc=[],pi=-1;function an(A){return{current:A}}function ae(A){0>pi||(A.current=jc[pi],jc[pi]=null,pi--)}function te(A,e){pi++,jc[pi]=A.current,A.current=e}var tn={},je=an(tn),nt=an(!1),Pn=tn;function Li(A,e){var t=A.type.contextTypes;if(!t)return tn;var n=A.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var r,o={};for(r in t)o[r]=e[r];return n&&((A=A.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,A.__reactInternalMemoizedMaskedChildContext=o),o}function it(A){return null!=A.childContextTypes}function Ys(){ae(nt),ae(je)}function lp(A,e,t){if(je.current!==tn)throw Error(uA(168));te(je,e),te(nt,t)}function lm(A,e,t){var n=A.stateNode;if(e=e.childContextTypes,"function"!=typeof n.getChildContext)return t;for(var r in n=n.getChildContext())if(!(r in e))throw Error(uA(108,hU(A)||"Unknown",r));return he({},t,n)}function $s(A){return A=(A=A.stateNode)&&A.__reactInternalMemoizedMergedChildContext||tn,Pn=je.current,te(je,A),te(nt,nt.current),!0}function up(A,e,t){var n=A.stateNode;if(!n)throw Error(uA(169));t?(A=lm(A,e,Pn),n.__reactInternalMemoizedMergedChildContext=A,ae(nt),ae(je),te(je,A)):ae(nt),te(nt,t)}var ur=null,Ul=!1,ju=!1;function um(A){null===ur?ur=[A]:ur.push(A)}function HE(A){Ul=!0,um(A)}function sn(){if(!ju&&null!==ur){ju=!0;var A=0,e=$A;try{var t=ur;for($A=1;A<t.length;A++){var n=t[A];do{n=n(!0)}while(null!==n)}ur=null,Ul=!1}catch(e){throw null!==ur&&(ur=ur.slice(A+1)),D0(Mf,sn),e}finally{$A=e,ju=!1}}return null}var Bi=[],mi=0,Zs=null,qs=0,Ut=[],Et=0,Dn=null,cr=1,fr="";function Fn(A,e){Bi[mi++]=qs,Bi[mi++]=Zs,Zs=A,qs=e}function cm(A,e,t){Ut[Et++]=cr,Ut[Et++]=fr,Ut[Et++]=Dn,Dn=A;var n=cr;A=fr;var r=32-Kt(n)-1;n&=~(1<<r),t+=1;var o=32-Kt(e)+r;if(30<o){var i=r-r%5;o=(n&(1<<i)-1).toString(32),n>>=i,r-=i,cr=1<<32-Kt(e)+r|t<<r|n,fr=o+A}else cr=1<<o|t<<r|n,fr=A}function Jf(A){null!==A.return&&(Fn(A,1),cm(A,1,0))}function Yf(A){for(;A===Zs;)Zs=Bi[--mi],Bi[mi]=null,qs=Bi[--mi],Bi[mi]=null;for(;A===Dn;)Dn=Ut[--Et],Ut[Et]=null,fr=Ut[--Et],Ut[Et]=null,cr=Ut[--Et],Ut[Et]=null}var ft=null,ct=null,le=!1,kt=null;function fm(A,e){var t=St(5,null,null,0);t.elementType="DELETED",t.stateNode=e,t.return=A,null===(e=A.deletions)?(A.deletions=[t],A.flags|=16):e.push(t)}function cp(A,e){switch(A.tag){case 5:var t=A.type;return null!==(e=1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(A.stateNode=e,ft=A,ct=Xr(e.firstChild),!0);case 6:return null!==(e=""===A.pendingProps||3!==e.nodeType?null:e)&&(A.stateNode=e,ft=A,ct=null,!0);case 13:return null!==(e=8!==e.nodeType?null:e)&&(t=null!==Dn?{id:cr,overflow:fr}:null,A.memoizedState={dehydrated:e,treeContext:t,retryLane:1073741824},(t=St(18,null,null,0)).stateNode=e,t.return=A,A.child=t,ft=A,ct=null,!0);default:return!1}}function Wc(A){return 0!=(1&A.mode)&&0==(128&A.flags)}function zc(A){if(le){var e=ct;if(e){var t=e;if(!cp(A,e)){if(Wc(A))throw Error(uA(418));e=Xr(t.nextSibling);var n=ft;e&&cp(A,e)?fm(n,t):(A.flags=-4097&A.flags|2,le=!1,ft=A)}}else{if(Wc(A))throw Error(uA(418));A.flags=-4097&A.flags|2,le=!1,ft=A}}}function fp(A){for(A=A.return;null!==A&&5!==A.tag&&3!==A.tag&&13!==A.tag;)A=A.return;ft=A}function ps(A){if(A!==ft)return!1;if(!le)return fp(A),le=!0,!1;var e;if((e=3!==A.tag)&&!(e=5!==A.tag)&&(e="head"!==(e=A.type)&&"body"!==e&&!Vc(A.type,A.memoizedProps)),e&&(e=ct)){if(Wc(A))throw dm(),Error(uA(418));for(;e;)fm(A,e),e=Xr(e.nextSibling)}if(fp(A),13===A.tag){if(!(A=null!==(A=A.memoizedState)?A.dehydrated:null))throw Error(uA(317));A:{for(A=A.nextSibling,e=0;A;){if(8===A.nodeType){var t=A.data;if("/$"===t){if(0===e){ct=Xr(A.nextSibling);break A}e--}else"$"!==t&&"$!"!==t&&"$?"!==t||e++}A=A.nextSibling}ct=null}}else ct=ft?Xr(A.stateNode.nextSibling):null;return!0}function dm(){for(var A=ct;A;)A=Xr(A.nextSibling)}function Pi(){ct=ft=null,le=!1}function $f(A){null===kt?kt=[A]:kt.push(A)}var TE=Cr.ReactCurrentBatchConfig;function Dt(A,e){if(A&&A.defaultProps){for(var t in e=he({},e),A=A.defaultProps)void 0===e[t]&&(e[t]=A[t]);return e}return e}var Al=an(null),el=null,vi=null,Zf=null;function qf(){Zf=vi=el=null}function Ad(A){var e=Al.current;ae(Al),A._currentValue=e}function Xc(A,e,t){for(;null!==A;){var n=A.alternate;if((A.childLanes&e)!==e?(A.childLanes|=e,null!==n&&(n.childLanes|=e)):null!==n&&(n.childLanes&e)!==e&&(n.childLanes|=e),A===t)break;A=A.return}}function bi(A,e){el=A,Zf=vi=null,null!==(A=A.dependencies)&&null!==A.firstContext&&(A.lanes&e&&(rt=!0),A.firstContext=null)}function It(A){var e=A._currentValue;if(Zf!==A)if(A={context:A,memoizedValue:e,next:null},null===vi){if(null===el)throw Error(uA(308));vi=A,el.dependencies={lanes:0,firstContext:A}}else vi=vi.next=A;return e}var In=null;function ed(A){null===In?In=[A]:In.push(A)}function hm(A,e,t,n){var r=e.interleaved;return null===r?(t.next=t,ed(e)):(t.next=r.next,r.next=t),e.interleaved=t,vr(A,n)}function vr(A,e){A.lanes|=e;var t=A.alternate;for(null!==t&&(t.lanes|=e),t=A,A=A.return;null!==A;)A.childLanes|=e,null!==(t=A.alternate)&&(t.childLanes|=e),t=A,A=A.return;return 3===t.tag?t.stateNode:null}var Kr=!1;function td(A){A.updateQueue={baseState:A.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gm(A,e){A=A.updateQueue,e.updateQueue===A&&(e.updateQueue={baseState:A.baseState,firstBaseUpdate:A.firstBaseUpdate,lastBaseUpdate:A.lastBaseUpdate,shared:A.shared,effects:A.effects})}function hr(A,e){return{eventTime:A,lane:e,tag:0,payload:null,callback:null,next:null}}function Jr(A,e,t){var n=A.updateQueue;if(null===n)return null;if(n=n.shared,2&GA){var r=n.pending;return null===r?e.next=e:(e.next=r.next,r.next=e),n.pending=e,vr(A,t)}return null===(r=n.interleaved)?(e.next=e,ed(n)):(e.next=r.next,r.next=e),n.interleaved=e,vr(A,t)}function Ts(A,e,t){if(null!==(e=e.updateQueue)&&(e=e.shared,0!=(4194240&t))){var n=e.lanes;t|=n&=A.pendingLanes,e.lanes=t,_f(A,t)}}function dp(A,e){var t=A.updateQueue,n=A.alternate;if(null!==n&&t===(n=n.updateQueue)){var r=null,o=null;if(null!==(t=t.firstBaseUpdate)){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};null===o?r=o=i:o=o.next=i,t=t.next}while(null!==t);null===o?r=o=e:o=o.next=e}else r=o=e;return t={baseState:n.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:n.shared,effects:n.effects},void(A.updateQueue=t)}null===(A=t.lastBaseUpdate)?t.firstBaseUpdate=e:A.next=e,t.lastBaseUpdate=e}function tl(A,e,t,n){var r=A.updateQueue;Kr=!1;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,a=r.shared.pending;if(null!==a){r.shared.pending=null;var s=a,l=s.next;s.next=null,null===i?o=l:i.next=l,i=s;var u=A.alternate;null!==u&&(a=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===a?u.firstBaseUpdate=l:a.next=l,u.lastBaseUpdate=s)}if(null!==o){var c=r.baseState;for(i=0,u=l=s=null,a=o;;){var d=a.lane,f=a.eventTime;if((n&d)===d){null!==u&&(u=u.next={eventTime:f,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});A:{var g=A,h=a;switch(d=e,f=t,h.tag){case 1:if("function"==typeof(g=h.payload)){c=g.call(f,c,d);break A}c=g;break A;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(d="function"==typeof(g=h.payload)?g.call(f,c,d):g))break A;c=he({},c,d);break A;case 2:Kr=!0}}null!==a.callback&&0!==a.lane&&(A.flags|=64,null===(d=r.effects)?r.effects=[a]:d.push(a))}else f={eventTime:f,lane:d,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===u?(l=u=f,s=c):u=u.next=f,i|=d;if(null===(a=a.next)){if(null===(a=r.shared.pending))break;a=(d=a).next,d.next=null,r.lastBaseUpdate=d,r.shared.pending=null}}if(null===u&&(s=c),r.baseState=s,r.firstBaseUpdate=l,r.lastBaseUpdate=u,null!==(e=r.shared.interleaved)){r=e;do{i|=r.lane,r=r.next}while(r!==e)}else null===o&&(r.shared.lanes=0);kn|=i,A.lanes=i,A.memoizedState=c}}function hp(A,e,t){if(A=e.effects,e.effects=null,null!==A)for(e=0;e<A.length;e++){var n=A[e],r=n.callback;if(null!==r){if(n.callback=null,n=t,"function"!=typeof r)throw Error(uA(191,r));r.call(n)}}}var pm=(new h0.Component).refs;function Jc(A,e,t,n){t=null==(t=t(n,e=A.memoizedState))?e:he({},e,t),A.memoizedState=t,0===A.lanes&&(A.updateQueue.baseState=t)}var El={isMounted:function(A){return!!(A=A._reactInternals)&&Mn(A)===A},enqueueSetState:function(A,e,t){A=A._reactInternals;var n=Xe(),r=$r(A),o=hr(n,r);o.payload=e,null!=t&&(o.callback=t),null!==(e=Jr(A,o,r))&&(Mt(e,A,r,n),Ts(e,A,r))},enqueueReplaceState:function(A,e,t){A=A._reactInternals;var n=Xe(),r=$r(A),o=hr(n,r);o.tag=1,o.payload=e,null!=t&&(o.callback=t),null!==(e=Jr(A,o,r))&&(Mt(e,A,r,n),Ts(e,A,r))},enqueueForceUpdate:function(A,e){A=A._reactInternals;var t=Xe(),n=$r(A),r=hr(t,n);r.tag=2,null!=e&&(r.callback=e),null!==(e=Jr(A,r,n))&&(Mt(e,A,n,t),Ts(e,A,n))}};function gp(A,e,t,n,r,o,i){return"function"==typeof(A=A.stateNode).shouldComponentUpdate?A.shouldComponentUpdate(n,o,i):!(e.prototype&&e.prototype.isPureReactComponent&&$o(t,n)&&$o(r,o))}function Bm(A,e,t){var n=!1,r=tn,o=e.contextType;return"object"==typeof o&&null!==o?o=It(o):(r=it(e)?Pn:je.current,o=(n=null!=(n=e.contextTypes))?Li(A,r):tn),e=new e(t,o),A.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=El,A.stateNode=e,e._reactInternals=A,n&&((A=A.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,A.__reactInternalMemoizedMaskedChildContext=o),e}function pp(A,e,t,n){A=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(t,n),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(t,n),e.state!==A&&El.enqueueReplaceState(e,e.state,null)}function Yc(A,e,t,n){var r=A.stateNode;r.props=t,r.state=A.memoizedState,r.refs=pm,td(A);var o=e.contextType;"object"==typeof o&&null!==o?r.context=It(o):(o=it(e)?Pn:je.current,r.context=Li(A,o)),r.state=A.memoizedState,"function"==typeof(o=e.getDerivedStateFromProps)&&(Jc(A,e,o,t),r.state=A.memoizedState),"function"==typeof e.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(e=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),e!==r.state&&El.enqueueReplaceState(r,r.state,null),tl(A,t,r,n),r.state=A.memoizedState),"function"==typeof r.componentDidMount&&(A.flags|=4194308)}function vo(A,e,t){if(null!==(A=t.ref)&&"function"!=typeof A&&"object"!=typeof A){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(uA(309));var n=t.stateNode}if(!n)throw Error(uA(147,A));var r=n,o=""+A;return null!==e&&null!==e.ref&&"function"==typeof e.ref&&e.ref._stringRef===o?e.ref:((e=function(A){var e=r.refs;e===pm&&(e=r.refs={}),null===A?delete e[o]:e[o]=A})._stringRef=o,e)}if("string"!=typeof A)throw Error(uA(284));if(!t._owner)throw Error(uA(290,A))}return A}function Bs(A,e){throw A=Object.prototype.toString.call(e),Error(uA(31,"[object Object]"===A?"object with keys {"+Object.keys(e).join(", ")+"}":A))}function Bp(A){return(0,A._init)(A._payload)}function mm(A){function e(e,t){if(A){var n=e.deletions;null===n?(e.deletions=[t],e.flags|=16):n.push(t)}}function t(t,n){if(!A)return null;for(;null!==n;)e(t,n),n=n.sibling;return null}function n(A,e){for(A=new Map;null!==e;)null!==e.key?A.set(e.key,e):A.set(e.index,e),e=e.sibling;return A}function r(A,e){return(A=Zr(A,e)).index=0,A.sibling=null,A}function o(e,t,n){return e.index=n,A?null!==(n=e.alternate)?(n=n.index)<t?(e.flags|=2,t):n:(e.flags|=2,t):(e.flags|=1048576,t)}function i(e){return A&&null===e.alternate&&(e.flags|=2),e}function a(A,e,t,n){return null===e||6!==e.tag?((e=Zu(t,A.mode,n)).return=A,e):((e=r(e,t)).return=A,e)}function s(A,e,t,n){var o=t.type;return o===ci?u(A,e,t.props.children,n,t.key):null!==e&&(e.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===Rr&&Bp(o)===e.type)?((n=r(e,t.props)).ref=vo(A,e,t),n.return=A,n):((n=Rs(t.type,t.key,t.props,null,A.mode,n)).ref=vo(A,e,t),n.return=A,n)}function l(A,e,t,n){return null===e||4!==e.tag||e.stateNode.containerInfo!==t.containerInfo||e.stateNode.implementation!==t.implementation?((e=qu(t,A.mode,n)).return=A,e):((e=r(e,t.children||[])).return=A,e)}function u(A,e,t,n,o){return null===e||7!==e.tag?((e=Ln(t,A.mode,n,o)).return=A,e):((e=r(e,t)).return=A,e)}function c(A,e,t){if("string"==typeof e&&""!==e||"number"==typeof e)return(e=Zu(""+e,A.mode,t)).return=A,e;if("object"==typeof e&&null!==e){switch(e.$$typeof){case os:return(t=Rs(e.type,e.key,e.props,null,A.mode,t)).ref=vo(A,null,e),t.return=A,t;case ui:return(e=qu(e,A.mode,t)).return=A,e;case Rr:return c(A,(0,e._init)(e._payload),t)}if(So(e)||ho(e))return(e=Ln(e,A.mode,t,null)).return=A,e;Bs(A,e)}return null}function d(A,e,t,n){var r=null!==e?e.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==r?null:a(A,e,""+t,n);if("object"==typeof t&&null!==t){switch(t.$$typeof){case os:return t.key===r?s(A,e,t,n):null;case ui:return t.key===r?l(A,e,t,n):null;case Rr:return d(A,e,(r=t._init)(t._payload),n)}if(So(t)||ho(t))return null!==r?null:u(A,e,t,n,null);Bs(A,t)}return null}function f(A,e,t,n,r){if("string"==typeof n&&""!==n||"number"==typeof n)return a(e,A=A.get(t)||null,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case os:return s(e,A=A.get(null===n.key?t:n.key)||null,n,r);case ui:return l(e,A=A.get(null===n.key?t:n.key)||null,n,r);case Rr:return f(A,e,t,(0,n._init)(n._payload),r)}if(So(n)||ho(n))return u(e,A=A.get(t)||null,n,r,null);Bs(e,n)}return null}return function a(s,l,u,g){if("object"==typeof u&&null!==u&&u.type===ci&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case os:A:{for(var h=u.key,p=l;null!==p;){if(p.key===h){if((h=u.type)===ci){if(7===p.tag){t(s,p.sibling),(l=r(p,u.props.children)).return=s,s=l;break A}}else if(p.elementType===h||"object"==typeof h&&null!==h&&h.$$typeof===Rr&&Bp(h)===p.type){t(s,p.sibling),(l=r(p,u.props)).ref=vo(s,p,u),l.return=s,s=l;break A}t(s,p);break}e(s,p),p=p.sibling}u.type===ci?((l=Ln(u.props.children,s.mode,g,u.key)).return=s,s=l):((g=Rs(u.type,u.key,u.props,null,s.mode,g)).ref=vo(s,l,u),g.return=s,s=g)}return i(s);case ui:A:{for(p=u.key;null!==l;){if(l.key===p){if(4===l.tag&&l.stateNode.containerInfo===u.containerInfo&&l.stateNode.implementation===u.implementation){t(s,l.sibling),(l=r(l,u.children||[])).return=s,s=l;break A}t(s,l);break}e(s,l),l=l.sibling}(l=qu(u,s.mode,g)).return=s,s=l}return i(s);case Rr:return a(s,l,(p=u._init)(u._payload),g)}if(So(u))return function(r,i,a,s){for(var l=null,u=null,g=i,h=i=0,p=null;null!==g&&h<a.length;h++){g.index>h?(p=g,g=null):p=g.sibling;var B=d(r,g,a[h],s);if(null===B){null===g&&(g=p);break}A&&g&&null===B.alternate&&e(r,g),i=o(B,i,h),null===u?l=B:u.sibling=B,u=B,g=p}if(h===a.length)return t(r,g),le&&Fn(r,h),l;if(null===g){for(;h<a.length;h++)null!==(g=c(r,a[h],s))&&(i=o(g,i,h),null===u?l=g:u.sibling=g,u=g);return le&&Fn(r,h),l}for(g=n(r,g);h<a.length;h++)null!==(p=f(g,r,h,a[h],s))&&(A&&null!==p.alternate&&g.delete(null===p.key?h:p.key),i=o(p,i,h),null===u?l=p:u.sibling=p,u=p);return A&&g.forEach((function(A){return e(r,A)})),le&&Fn(r,h),l}(s,l,u,g);if(ho(u))return function(r,i,a,s){var l=ho(a);if("function"!=typeof l)throw Error(uA(150));if(null==(a=l.call(a)))throw Error(uA(151));for(var u=l=null,g=i,h=i=0,p=null,B=a.next();null!==g&&!B.done;h++,B=a.next()){g.index>h?(p=g,g=null):p=g.sibling;var m=d(r,g,B.value,s);if(null===m){null===g&&(g=p);break}A&&g&&null===m.alternate&&e(r,g),i=o(m,i,h),null===u?l=m:u.sibling=m,u=m,g=p}if(B.done)return t(r,g),le&&Fn(r,h),l;if(null===g){for(;!B.done;h++,B=a.next())null!==(B=c(r,B.value,s))&&(i=o(B,i,h),null===u?l=B:u.sibling=B,u=B);return le&&Fn(r,h),l}for(g=n(r,g);!B.done;h++,B=a.next())null!==(B=f(g,r,h,B.value,s))&&(A&&null!==B.alternate&&g.delete(null===B.key?h:B.key),i=o(B,i,h),null===u?l=B:u.sibling=B,u=B);return A&&g.forEach((function(A){return e(r,A)})),le&&Fn(r,h),l}(s,l,u,g);Bs(s,u)}return"string"==typeof u&&""!==u||"number"==typeof u?(u=""+u,null!==l&&6===l.tag?(t(s,l.sibling),(l=r(l,u)).return=s,s=l):(t(s,l),(l=Zu(u,s.mode,g)).return=s,s=l),i(s)):t(s,l)}}var Di=mm(!0),vm=mm(!1),ga={},Ar=an(ga),ea=an(ga),ta=an(ga);function bn(A){if(A===ga)throw Error(uA(174));return A}function rd(A,e){switch(te(ta,e),te(ea,A),te(Ar,ga),A=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:xc(null,"");break;default:e=xc(e=(A=8===A?e.parentNode:e).namespaceURI||null,A=A.tagName)}ae(Ar),te(Ar,e)}function Oi(){ae(Ar),ae(ea),ae(ta)}function wm(A){bn(ta.current);var e=bn(Ar.current),t=xc(e,A.type);e!==t&&(te(ea,A),te(Ar,t))}function nd(A){ea.current===A&&(ae(Ar),ae(ea))}var ce=an(0);function rl(A){for(var e=A;null!==e;){if(13===e.tag){var t=e.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(128&e.flags)return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===A)break;for(;null===e.sibling;){if(null===e.return||e.return===A)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Wu=[];function id(){for(var A=0;A<Wu.length;A++)Wu[A]._workInProgressVersionPrimary=null;Wu.length=0}var Ls=Cr.ReactCurrentDispatcher,zu=Cr.ReactCurrentBatchConfig,On=0,de=null,xe=null,Le=null,nl=!1,Oo=!1,ra=0,LE=0;function Ve(){throw Error(uA(321))}function od(A,e){if(null===e)return!1;for(var t=0;t<e.length&&t<A.length;t++)if(!_t(A[t],e[t]))return!1;return!0}function ad(A,e,t,n,r,o){if(On=o,de=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,Ls.current=null===A||null===A.memoizedState?kE:RE,A=t(n,r),Oo){o=0;do{if(Oo=!1,ra=0,25<=o)throw Error(uA(301));o+=1,Le=xe=null,e.updateQueue=null,Ls.current=KE,A=t(n,r)}while(Oo)}if(Ls.current=il,e=null!==xe&&null!==xe.next,On=0,Le=xe=de=null,nl=!1,e)throw Error(uA(300));return A}function sd(){var A=0!==ra;return ra=0,A}function Yt(){var A={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Le?de.memoizedState=Le=A:Le=Le.next=A,Le}function bt(){if(null===xe){var A=de.alternate;A=null!==A?A.memoizedState:null}else A=xe.next;var e=null===Le?de.memoizedState:Le.next;if(null!==e)Le=e,xe=A;else{if(null===A)throw Error(uA(310));A={memoizedState:(xe=A).memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},null===Le?de.memoizedState=Le=A:Le=Le.next=A}return Le}function na(A,e){return"function"==typeof e?e(A):e}function Xu(A){var e=bt(),t=e.queue;if(null===t)throw Error(uA(311));t.lastRenderedReducer=A;var n=xe,r=n.baseQueue,o=t.pending;if(null!==o){if(null!==r){var i=r.next;r.next=o.next,o.next=i}n.baseQueue=r=o,t.pending=null}if(null!==r){o=r.next,n=n.baseState;var a=i=null,s=null,l=o;do{var u=l.lane;if((On&u)===u)null!==s&&(s=s.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),n=l.hasEagerState?l.eagerState:A(n,l.action);else{var c={lane:u,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===s?(a=s=c,i=n):s=s.next=c,de.lanes|=u,kn|=u}l=l.next}while(null!==l&&l!==o);null===s?i=n:s.next=a,_t(n,e.memoizedState)||(rt=!0),e.memoizedState=n,e.baseState=i,e.baseQueue=s,t.lastRenderedState=n}if(null!==(A=t.interleaved)){r=A;do{o=r.lane,de.lanes|=o,kn|=o,r=r.next}while(r!==A)}else null===r&&(t.lanes=0);return[e.memoizedState,t.dispatch]}function Ju(A){var e=bt(),t=e.queue;if(null===t)throw Error(uA(311));t.lastRenderedReducer=A;var n=t.dispatch,r=t.pending,o=e.memoizedState;if(null!==r){t.pending=null;var i=r=r.next;do{o=A(o,i.action),i=i.next}while(i!==r);_t(o,e.memoizedState)||(rt=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),t.lastRenderedState=o}return[o,n]}function ym(){}function Cm(A,e){var t=de,n=bt(),r=e(),o=!_t(n.memoizedState,r);if(o&&(n.memoizedState=r,rt=!0),n=n.queue,ld(Um.bind(null,t,n,A),[A]),n.getSnapshot!==e||o||null!==Le&&1&Le.memoizedState.tag){if(t.flags|=2048,ia(9,Fm.bind(null,t,n,r,e),void 0,null),null===Pe)throw Error(uA(349));30&On||Qm(t,e,r)}return r}function Qm(A,e,t){A.flags|=16384,A={getSnapshot:e,value:t},null===(e=de.updateQueue)?(e={lastEffect:null,stores:null},de.updateQueue=e,e.stores=[A]):null===(t=e.stores)?e.stores=[A]:t.push(A)}function Fm(A,e,t,n){e.value=t,e.getSnapshot=n,Em(e)&&Sm(A)}function Um(A,e,t){return t((function(){Em(e)&&Sm(A)}))}function Em(A){var e=A.getSnapshot;A=A.value;try{var t=e();return!_t(A,t)}catch{return!0}}function Sm(A){var e=vr(A,1);null!==e&&Mt(e,A,1,-1)}function mp(A){var e=Yt();return"function"==typeof A&&(A=A()),e.memoizedState=e.baseState=A,A={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:na,lastRenderedState:A},e.queue=A,A=A.dispatch=OE.bind(null,de,A),[e.memoizedState,A]}function ia(A,e,t,n){return A={tag:A,create:e,destroy:t,deps:n,next:null},null===(e=de.updateQueue)?(e={lastEffect:null,stores:null},de.updateQueue=e,e.lastEffect=A.next=A):null===(t=e.lastEffect)?e.lastEffect=A.next=A:(n=t.next,t.next=A,A.next=n,e.lastEffect=A),A}function xm(){return bt().memoizedState}function Ps(A,e,t,n){var r=Yt();de.flags|=A,r.memoizedState=ia(1|e,t,void 0,void 0===n?null:n)}function Sl(A,e,t,n){var r=bt();n=void 0===n?null:n;var o=void 0;if(null!==xe){var i=xe.memoizedState;if(o=i.destroy,null!==n&&od(n,i.deps))return void(r.memoizedState=ia(e,t,o,n))}de.flags|=A,r.memoizedState=ia(1|e,t,o,n)}function vp(A,e){return Ps(8390656,8,A,e)}function ld(A,e){return Sl(2048,8,A,e)}function Im(A,e){return Sl(4,2,A,e)}function bm(A,e){return Sl(4,4,A,e)}function Hm(A,e){return"function"==typeof e?(A=A(),e(A),function(){e(null)}):null!=e?(A=A(),e.current=A,function(){e.current=null}):void 0}function Tm(A,e,t){return t=null!=t?t.concat([A]):null,Sl(4,4,Hm.bind(null,e,A),t)}function ud(){}function Lm(A,e){var t=bt();e=void 0===e?null:e;var n=t.memoizedState;return null!==n&&null!==e&&od(e,n[1])?n[0]:(t.memoizedState=[A,e],A)}function Pm(A,e){var t=bt();e=void 0===e?null:e;var n=t.memoizedState;return null!==n&&null!==e&&od(e,n[1])?n[0]:(A=A(),t.memoizedState=[A,e],A)}function Dm(A,e,t){return 21&On?(_t(t,e)||(t=R0(),de.lanes|=t,kn|=t,A.baseState=!0),e):(A.baseState&&(A.baseState=!1,rt=!0),A.memoizedState=t)}function PE(A,e){var t=$A;$A=0!==t&&4>t?t:4,A(!0);var n=zu.transition;zu.transition={};try{A(!1),e()}finally{$A=t,zu.transition=n}}function Om(){return bt().memoizedState}function DE(A,e,t){var n=$r(A);t={lane:n,action:t,hasEagerState:!1,eagerState:null,next:null},km(A)?Rm(e,t):null!==(t=hm(A,e,t,n))&&(Mt(t,A,n,Xe()),Km(t,e,n))}function OE(A,e,t){var n=$r(A),r={lane:n,action:t,hasEagerState:!1,eagerState:null,next:null};if(km(A))Rm(e,r);else{var o=A.alternate;if(0===A.lanes&&(null===o||0===o.lanes)&&null!==(o=e.lastRenderedReducer))try{var i=e.lastRenderedState,a=o(i,t);if(r.hasEagerState=!0,r.eagerState=a,_t(a,i)){var s=e.interleaved;return null===s?(r.next=r,ed(e)):(r.next=s.next,s.next=r),void(e.interleaved=r)}}catch{}null!==(t=hm(A,e,r,n))&&(Mt(t,A,n,r=Xe()),Km(t,e,n))}}function km(A){var e=A.alternate;return A===de||null!==e&&e===de}function Rm(A,e){Oo=nl=!0;var t=A.pending;null===t?e.next=e:(e.next=t.next,t.next=e),A.pending=e}function Km(A,e,t){if(4194240&t){var n=e.lanes;t|=n&=A.pendingLanes,e.lanes=t,_f(A,t)}}var il={readContext:It,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},kE={readContext:It,useCallback:function(A,e){return Yt().memoizedState=[A,void 0===e?null:e],A},useContext:It,useEffect:vp,useImperativeHandle:function(A,e,t){return t=null!=t?t.concat([A]):null,Ps(4194308,4,Hm.bind(null,e,A),t)},useLayoutEffect:function(A,e){return Ps(4194308,4,A,e)},useInsertionEffect:function(A,e){return Ps(4,2,A,e)},useMemo:function(A,e){var t=Yt();return e=void 0===e?null:e,A=A(),t.memoizedState=[A,e],A},useReducer:function(A,e,t){var n=Yt();return e=void 0!==t?t(e):e,n.memoizedState=n.baseState=e,A={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:A,lastRenderedState:e},n.queue=A,A=A.dispatch=DE.bind(null,de,A),[n.memoizedState,A]},useRef:function(A){return A={current:A},Yt().memoizedState=A},useState:mp,useDebugValue:ud,useDeferredValue:function(A){return Yt().memoizedState=A},useTransition:function(){var A=mp(!1),e=A[0];return A=PE.bind(null,A[1]),Yt().memoizedState=A,[e,A]},useMutableSource:function(){},useSyncExternalStore:function(A,e,t){var n=de,r=Yt();if(le){if(void 0===t)throw Error(uA(407));t=t()}else{if(t=e(),null===Pe)throw Error(uA(349));30&On||Qm(n,e,t)}r.memoizedState=t;var o={value:t,getSnapshot:e};return r.queue=o,vp(Um.bind(null,n,o,A),[A]),n.flags|=2048,ia(9,Fm.bind(null,n,o,t,e),void 0,null),t},useId:function(){var A=Yt(),e=Pe.identifierPrefix;if(le){var t=fr;e=":"+e+"R"+(t=(cr&~(1<<32-Kt(cr)-1)).toString(32)+t),0<(t=ra++)&&(e+="H"+t.toString(32)),e+=":"}else e=":"+e+"r"+(t=LE++).toString(32)+":";return A.memoizedState=e},unstable_isNewReconciler:!1},RE={readContext:It,useCallback:Lm,useContext:It,useEffect:ld,useImperativeHandle:Tm,useInsertionEffect:Im,useLayoutEffect:bm,useMemo:Pm,useReducer:Xu,useRef:xm,useState:function(){return Xu(na)},useDebugValue:ud,useDeferredValue:function(A){return Dm(bt(),xe.memoizedState,A)},useTransition:function(){return[Xu(na)[0],bt().memoizedState]},useMutableSource:ym,useSyncExternalStore:Cm,useId:Om,unstable_isNewReconciler:!1},KE={readContext:It,useCallback:Lm,useContext:It,useEffect:ld,useImperativeHandle:Tm,useInsertionEffect:Im,useLayoutEffect:bm,useMemo:Pm,useReducer:Ju,useRef:xm,useState:function(){return Ju(na)},useDebugValue:ud,useDeferredValue:function(A){var e=bt();return null===xe?e.memoizedState=A:Dm(e,xe.memoizedState,A)},useTransition:function(){return[Ju(na)[0],bt().memoizedState]},useMutableSource:ym,useSyncExternalStore:Cm,useId:Om,unstable_isNewReconciler:!1};function ki(A,e){try{var t="",n=e;do{t+=dU(n),n=n.return}while(n);var r=t}catch(A){r="\nError generating stack: "+A.message+"\n"+A.stack}return{value:A,source:e,stack:r,digest:null}}function Yu(A,e,t){return{value:A,source:null,stack:t??null,digest:e??null}}function $c(A,e){try{console.error(e.value)}catch(A){setTimeout((function(){throw A}))}}var ME="function"==typeof WeakMap?WeakMap:Map;function Mm(A,e,t){(t=hr(-1,t)).tag=3,t.payload={element:null};var n=e.value;return t.callback=function(){al||(al=!0,sf=n),$c(A,e)},t}function _m(A,e,t){(t=hr(-1,t)).tag=3;var n=A.type.getDerivedStateFromError;if("function"==typeof n){var r=e.value;t.payload=function(){return n(r)},t.callback=function(){$c(A,e)}}var o=A.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(t.callback=function(){$c(A,e),"function"!=typeof n&&(null===Yr?Yr=new Set([this]):Yr.add(this));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),t}function wp(A,e,t){var n=A.pingCache;if(null===n){n=A.pingCache=new ME;var r=new Set;n.set(e,r)}else void 0===(r=n.get(e))&&(r=new Set,n.set(e,r));r.has(t)||(r.add(t),A=AS.bind(null,A,e,t),e.then(A,A))}function yp(A){do{var e;if((e=13===A.tag)&&(e=null===(e=A.memoizedState)||null!==e.dehydrated),e)return A;A=A.return}while(null!==A);return null}function Cp(A,e,t,n,r){return 1&A.mode?(A.flags|=65536,A.lanes=r,A):(A===e?A.flags|=65536:(A.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((e=hr(-1,1)).tag=2,Jr(t,e,1))),t.lanes|=1),A)}var _E=Cr.ReactCurrentOwner,rt=!1;function ze(A,e,t,n){e.child=null===A?vm(e,null,t,n):Di(e,A.child,t,n)}function Qp(A,e,t,n,r){t=t.render;var o=e.ref;return bi(e,r),n=ad(A,e,t,n,o,r),t=sd(),null===A||rt?(le&&t&&Jf(e),e.flags|=1,ze(A,e,n,r),e.child):(e.updateQueue=A.updateQueue,e.flags&=-2053,A.lanes&=~r,wr(A,e,r))}function Fp(A,e,t,n,r){if(null===A){var o=t.type;return"function"!=typeof o||md(o)||void 0!==o.defaultProps||null!==t.compare||void 0!==t.defaultProps?((A=Rs(t.type,null,n,e,e.mode,r)).ref=e.ref,A.return=e,e.child=A):(e.tag=15,e.type=o,Vm(A,e,o,n,r))}if(o=A.child,!(A.lanes&r)){var i=o.memoizedProps;if((t=null!==(t=t.compare)?t:$o)(i,n)&&A.ref===e.ref)return wr(A,e,r)}return e.flags|=1,(A=Zr(o,n)).ref=e.ref,A.return=e,e.child=A}function Vm(A,e,t,n,r){if(null!==A){var o=A.memoizedProps;if($o(o,n)&&A.ref===e.ref){if(rt=!1,e.pendingProps=n=o,0==(A.lanes&r))return e.lanes=A.lanes,wr(A,e,r);131072&A.flags&&(rt=!0)}}return Zc(A,e,t,n,r)}function Nm(A,e,t){var n=e.pendingProps,r=n.children,o=null!==A?A.memoizedState:null;if("hidden"===n.mode)if(1&e.mode){if(!(1073741824&t))return A=null!==o?o.baseLanes|t:t,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:A,cachePool:null,transitions:null},e.updateQueue=null,te(yi,ut),ut|=A,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==o?o.baseLanes:t,te(yi,ut),ut|=n}else e.memoizedState={baseLanes:0,cachePool:null,transitions:null},te(yi,ut),ut|=t;else null!==o?(n=o.baseLanes|t,e.memoizedState=null):n=t,te(yi,ut),ut|=n;return ze(A,e,r,t),e.child}function Gm(A,e){var t=e.ref;(null===A&&null!==t||null!==A&&A.ref!==t)&&(e.flags|=512,e.flags|=2097152)}function Zc(A,e,t,n,r){var o=it(t)?Pn:je.current;return o=Li(e,o),bi(e,r),t=ad(A,e,t,n,o,r),n=sd(),null===A||rt?(le&&n&&Jf(e),e.flags|=1,ze(A,e,t,r),e.child):(e.updateQueue=A.updateQueue,e.flags&=-2053,A.lanes&=~r,wr(A,e,r))}function Up(A,e,t,n,r){if(it(t)){var o=!0;$s(e)}else o=!1;if(bi(e,r),null===e.stateNode)Ds(A,e),Bm(e,t,n),Yc(e,t,n,r),n=!0;else if(null===A){var i=e.stateNode,a=e.memoizedProps;i.props=a;var s=i.context,l=t.contextType;l="object"==typeof l&&null!==l?It(l):Li(e,l=it(t)?Pn:je.current);var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;c||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==n||s!==l)&&pp(e,i,n,l),Kr=!1;var d=e.memoizedState;i.state=d,tl(e,n,i,r),s=e.memoizedState,a!==n||d!==s||nt.current||Kr?("function"==typeof u&&(Jc(e,t,u,n),s=e.memoizedState),(a=Kr||gp(e,t,a,n,d,s,l))?(c||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(e.flags|=4194308)):("function"==typeof i.componentDidMount&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=s),i.props=n,i.state=s,i.context=l,n=a):("function"==typeof i.componentDidMount&&(e.flags|=4194308),n=!1)}else{i=e.stateNode,gm(A,e),a=e.memoizedProps,l=e.type===e.elementType?a:Dt(e.type,a),i.props=l,c=e.pendingProps,d=i.context,s="object"==typeof(s=t.contextType)&&null!==s?It(s):Li(e,s=it(t)?Pn:je.current);var f=t.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(a!==c||d!==s)&&pp(e,i,n,s),Kr=!1,d=e.memoizedState,i.state=d,tl(e,n,i,r);var g=e.memoizedState;a!==c||d!==g||nt.current||Kr?("function"==typeof f&&(Jc(e,t,f,n),g=e.memoizedState),(l=Kr||gp(e,t,l,n,d,g,s)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,g,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,g,s)),"function"==typeof i.componentDidUpdate&&(e.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(e.flags|=1024)):("function"!=typeof i.componentDidUpdate||a===A.memoizedProps&&d===A.memoizedState||(e.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===A.memoizedProps&&d===A.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=g),i.props=n,i.state=g,i.context=s,n=l):("function"!=typeof i.componentDidUpdate||a===A.memoizedProps&&d===A.memoizedState||(e.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||a===A.memoizedProps&&d===A.memoizedState||(e.flags|=1024),n=!1)}return qc(A,e,t,n,o,r)}function qc(A,e,t,n,r,o){Gm(A,e);var i=0!=(128&e.flags);if(!n&&!i)return r&&up(e,t,!1),wr(A,e,o);n=e.stateNode,_E.current=e;var a=i&&"function"!=typeof t.getDerivedStateFromError?null:n.render();return e.flags|=1,null!==A&&i?(e.child=Di(e,A.child,null,o),e.child=Di(e,null,a,o)):ze(A,e,a,o),e.memoizedState=n.state,r&&up(e,t,!0),e.child}function jm(A){var e=A.stateNode;e.pendingContext?lp(A,e.pendingContext,e.pendingContext!==e.context):e.context&&lp(A,e.context,!1),rd(A,e.containerInfo)}function Ep(A,e,t,n,r){return Pi(),$f(r),e.flags|=256,ze(A,e,t,n),e.child}var Xm,tf,Jm,Ym,Af={dehydrated:null,treeContext:null,retryLane:0};function ef(A){return{baseLanes:A,cachePool:null,transitions:null}}function Wm(A,e,t){var n,r=e.pendingProps,o=ce.current,i=!1,a=0!=(128&e.flags);if((n=a)||(n=(null===A||null!==A.memoizedState)&&0!=(2&o)),n?(i=!0,e.flags&=-129):(null===A||null!==A.memoizedState)&&(o|=1),te(ce,1&o),null===A)return zc(e),null!==(A=e.memoizedState)&&null!==(A=A.dehydrated)?(1&e.mode?"$!"===A.data?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(a=r.children,A=r.fallback,i?(r=e.mode,i=e.child,a={mode:"hidden",children:a},1&r||null===i?i=bl(a,r,0,null):(i.childLanes=0,i.pendingProps=a),A=Ln(A,r,t,null),i.return=e,A.return=e,i.sibling=A,e.child=i,e.child.memoizedState=ef(t),e.memoizedState=Af,A):cd(e,a));if(null!==(o=A.memoizedState)&&null!==(n=o.dehydrated))return VE(A,e,a,r,n,o,t);if(i){i=r.fallback,a=e.mode,n=(o=A.child).sibling;var s={mode:"hidden",children:r.children};return 1&a||e.child===o?(r=Zr(o,s)).subtreeFlags=14680064&o.subtreeFlags:((r=e.child).childLanes=0,r.pendingProps=s,e.deletions=null),null!==n?i=Zr(n,i):(i=Ln(i,a,t,null)).flags|=2,i.return=e,r.return=e,r.sibling=i,e.child=r,r=i,i=e.child,a=null===(a=A.child.memoizedState)?ef(t):{baseLanes:a.baseLanes|t,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=A.childLanes&~t,e.memoizedState=Af,r}return A=(i=A.child).sibling,r=Zr(i,{mode:"visible",children:r.children}),!(1&e.mode)&&(r.lanes=t),r.return=e,r.sibling=null,null!==A&&(null===(t=e.deletions)?(e.deletions=[A],e.flags|=16):t.push(A)),e.child=r,e.memoizedState=null,r}function cd(A,e){return(e=bl({mode:"visible",children:e},A.mode,0,null)).return=A,A.child=e}function ms(A,e,t,n){return null!==n&&$f(n),Di(e,A.child,null,t),(A=cd(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,A}function VE(A,e,t,n,r,o,i){if(t)return 256&e.flags?(e.flags&=-257,ms(A,e,i,n=Yu(Error(uA(422))))):null!==e.memoizedState?(e.child=A.child,e.flags|=128,null):(o=n.fallback,r=e.mode,n=bl({mode:"visible",children:n.children},r,0,null),(o=Ln(o,r,i,null)).flags|=2,n.return=e,o.return=e,n.sibling=o,e.child=n,1&e.mode&&Di(e,A.child,null,i),e.child.memoizedState=ef(i),e.memoizedState=Af,o);if(!(1&e.mode))return ms(A,e,i,null);if("$!"===r.data){if(n=r.nextSibling&&r.nextSibling.dataset)var a=n.dgst;return n=a,ms(A,e,i,n=Yu(o=Error(uA(419)),n,void 0))}if(a=0!=(i&A.childLanes),rt||a){if(null!==(n=Pe)){switch(i&-i){case 4:r=2;break;case 16:r=8;break;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:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:r=32;break;case 536870912:r=268435456;break;default:r=0}0!==(r=r&(n.suspendedLanes|i)?0:r)&&r!==o.retryLane&&(o.retryLane=r,vr(A,r),Mt(n,A,r,-1))}return Bd(),ms(A,e,i,n=Yu(Error(uA(421))))}return"$?"===r.data?(e.flags|=128,e.child=A.child,e=eS.bind(null,A),r._reactRetry=e,null):(A=o.treeContext,ct=Xr(r.nextSibling),ft=e,le=!0,kt=null,null!==A&&(Ut[Et++]=cr,Ut[Et++]=fr,Ut[Et++]=Dn,cr=A.id,fr=A.overflow,Dn=e),(e=cd(e,n.children)).flags|=4096,e)}function Sp(A,e,t){A.lanes|=e;var n=A.alternate;null!==n&&(n.lanes|=e),Xc(A.return,e,t)}function $u(A,e,t,n,r){var o=A.memoizedState;null===o?A.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:t,tailMode:r}:(o.isBackwards=e,o.rendering=null,o.renderingStartTime=0,o.last=n,o.tail=t,o.tailMode=r)}function zm(A,e,t){var n=e.pendingProps,r=n.revealOrder,o=n.tail;if(ze(A,e,n.children,t),2&(n=ce.current))n=1&n|2,e.flags|=128;else{if(null!==A&&128&A.flags)A:for(A=e.child;null!==A;){if(13===A.tag)null!==A.memoizedState&&Sp(A,t,e);else if(19===A.tag)Sp(A,t,e);else if(null!==A.child){A.child.return=A,A=A.child;continue}if(A===e)break A;for(;null===A.sibling;){if(null===A.return||A.return===e)break A;A=A.return}A.sibling.return=A.return,A=A.sibling}n&=1}if(te(ce,n),1&e.mode)switch(r){case"forwards":for(t=e.child,r=null;null!==t;)null!==(A=t.alternate)&&null===rl(A)&&(r=t),t=t.sibling;null===(t=r)?(r=e.child,e.child=null):(r=t.sibling,t.sibling=null),$u(e,!1,r,t,o);break;case"backwards":for(t=null,r=e.child,e.child=null;null!==r;){if(null!==(A=r.alternate)&&null===rl(A)){e.child=r;break}A=r.sibling,r.sibling=t,t=r,r=A}$u(e,!0,t,null,o);break;case"together":$u(e,!1,null,null,void 0);break;default:e.memoizedState=null}else e.memoizedState=null;return e.child}function Ds(A,e){!(1&e.mode)&&null!==A&&(A.alternate=null,e.alternate=null,e.flags|=2)}function wr(A,e,t){if(null!==A&&(e.dependencies=A.dependencies),kn|=e.lanes,!(t&e.childLanes))return null;if(null!==A&&e.child!==A.child)throw Error(uA(153));if(null!==e.child){for(t=Zr(A=e.child,A.pendingProps),e.child=t,t.return=e;null!==A.sibling;)A=A.sibling,(t=t.sibling=Zr(A,A.pendingProps)).return=e;t.sibling=null}return e.child}function NE(A,e,t){switch(e.tag){case 3:jm(e),Pi();break;case 5:wm(e);break;case 1:it(e.type)&&$s(e);break;case 4:rd(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,r=e.memoizedProps.value;te(Al,n._currentValue),n._currentValue=r;break;case 13:if(null!==(n=e.memoizedState))return null!==n.dehydrated?(te(ce,1&ce.current),e.flags|=128,null):t&e.child.childLanes?Wm(A,e,t):(te(ce,1&ce.current),null!==(A=wr(A,e,t))?A.sibling:null);te(ce,1&ce.current);break;case 19:if(n=0!=(t&e.childLanes),128&A.flags){if(n)return zm(A,e,t);e.flags|=128}if(null!==(r=e.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),te(ce,ce.current),n)break;return null;case 22:case 23:return e.lanes=0,Nm(A,e,t)}return wr(A,e,t)}function wo(A,e){if(!le)switch(A.tailMode){case"hidden":e=A.tail;for(var t=null;null!==e;)null!==e.alternate&&(t=e),e=e.sibling;null===t?A.tail=null:t.sibling=null;break;case"collapsed":t=A.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e||null===A.tail?A.tail=null:A.tail.sibling=null:n.sibling=null}}function Ne(A){var e=null!==A.alternate&&A.alternate.child===A.child,t=0,n=0;if(e)for(var r=A.child;null!==r;)t|=r.lanes|r.childLanes,n|=14680064&r.subtreeFlags,n|=14680064&r.flags,r.return=A,r=r.sibling;else for(r=A.child;null!==r;)t|=r.lanes|r.childLanes,n|=r.subtreeFlags,n|=r.flags,r.return=A,r=r.sibling;return A.subtreeFlags|=n,A.childLanes=t,e}function GE(A,e,t){var n=e.pendingProps;switch(Yf(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ne(e),null;case 1:case 17:return it(e.type)&&Ys(),Ne(e),null;case 3:return n=e.stateNode,Oi(),ae(nt),ae(je),id(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(null===A||null===A.child)&&(ps(e)?e.flags|=4:null===A||A.memoizedState.isDehydrated&&!(256&e.flags)||(e.flags|=1024,null!==kt&&(cf(kt),kt=null))),tf(A,e),Ne(e),null;case 5:nd(e);var r=bn(ta.current);if(t=e.type,null!==A&&null!=e.stateNode)Jm(A,e,t,n,r),A.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(null===e.stateNode)throw Error(uA(166));return Ne(e),null}if(A=bn(Ar.current),ps(e)){n=e.stateNode,t=e.type;var o=e.memoizedProps;switch(n[Zt]=e,n[Aa]=o,A=0!=(1&e.mode),t){case"dialog":oe("cancel",n),oe("close",n);break;case"iframe":case"object":case"embed":oe("load",n);break;case"video":case"audio":for(r=0;r<Io.length;r++)oe(Io[r],n);break;case"source":oe("error",n);break;case"img":case"image":case"link":oe("error",n),oe("load",n);break;case"details":oe("toggle",n);break;case"input":Og(n,o),oe("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},oe("invalid",n);break;case"textarea":Rg(n,o),oe("invalid",n)}for(var i in Ic(t,o),r=null,o)if(o.hasOwnProperty(i)){var a=o[i];"children"===i?"string"==typeof a?n.textContent!==a&&(!0!==o.suppressHydrationWarning&&gs(n.textContent,a,A),r=["children",a]):"number"==typeof a&&n.textContent!==""+a&&(!0!==o.suppressHydrationWarning&&gs(n.textContent,a,A),r=["children",""+a]):Go.hasOwnProperty(i)&&null!=a&&"onScroll"===i&&oe("scroll",n)}switch(t){case"input":as(n),kg(n,o,!0);break;case"textarea":as(n),Kg(n);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(n.onclick=Js)}n=r,e.updateQueue=n,null!==n&&(e.flags|=4)}else{i=9===r.nodeType?r:r.ownerDocument,"http://www.w3.org/1999/xhtml"===A&&(A=Q0(t)),"http://www.w3.org/1999/xhtml"===A?"script"===t?((A=i.createElement("div")).innerHTML="<script><\/script>",A=A.removeChild(A.firstChild)):"string"==typeof n.is?A=i.createElement(t,{is:n.is}):(A=i.createElement(t),"select"===t&&(i=A,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):A=i.createElementNS(A,t),A[Zt]=e,A[Aa]=n,Xm(A,e,!1,!1),e.stateNode=A;A:{switch(i=bc(t,n),t){case"dialog":oe("cancel",A),oe("close",A),r=n;break;case"iframe":case"object":case"embed":oe("load",A),r=n;break;case"video":case"audio":for(r=0;r<Io.length;r++)oe(Io[r],A);r=n;break;case"source":oe("error",A),r=n;break;case"img":case"image":case"link":oe("error",A),oe("load",A),r=n;break;case"details":oe("toggle",A),r=n;break;case"input":Og(A,n),r=Fc(A,n),oe("invalid",A);break;case"option":default:r=n;break;case"select":A._wrapperState={wasMultiple:!!n.multiple},r=he({},n,{value:void 0}),oe("invalid",A);break;case"textarea":Rg(A,n),r=Sc(A,n),oe("invalid",A)}for(o in Ic(t,r),a=r)if(a.hasOwnProperty(o)){var s=a[o];"style"===o?E0(A,s):"dangerouslySetInnerHTML"===o?null!=(s=s?s.__html:void 0)&&F0(A,s):"children"===o?"string"==typeof s?("textarea"!==t||""!==s)&&jo(A,s):"number"==typeof s&&jo(A,""+s):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(Go.hasOwnProperty(o)?null!=s&&"onScroll"===o&&oe("scroll",A):null!=s&&Df(A,o,s,i))}switch(t){case"input":as(A),kg(A,n,!1);break;case"textarea":as(A),Kg(A);break;case"option":null!=n.value&&A.setAttribute("value",""+en(n.value));break;case"select":A.multiple=!!n.multiple,null!=(o=n.value)?Ei(A,!!n.multiple,o,!1):null!=n.defaultValue&&Ei(A,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof r.onClick&&(A.onclick=Js)}switch(t){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break A;case"img":n=!0;break A;default:n=!1}}n&&(e.flags|=4)}null!==e.ref&&(e.flags|=512,e.flags|=2097152)}return Ne(e),null;case 6:if(A&&null!=e.stateNode)Ym(A,e,A.memoizedProps,n);else{if("string"!=typeof n&&null===e.stateNode)throw Error(uA(166));if(t=bn(ta.current),bn(Ar.current),ps(e)){if(n=e.stateNode,t=e.memoizedProps,n[Zt]=e,(o=n.nodeValue!==t)&&null!==(A=ft))switch(A.tag){case 3:gs(n.nodeValue,t,0!=(1&A.mode));break;case 5:!0!==A.memoizedProps.suppressHydrationWarning&&gs(n.nodeValue,t,0!=(1&A.mode))}o&&(e.flags|=4)}else(n=(9===t.nodeType?t:t.ownerDocument).createTextNode(n))[Zt]=e,e.stateNode=n}return Ne(e),null;case 13:if(ae(ce),n=e.memoizedState,null===A||null!==A.memoizedState&&null!==A.memoizedState.dehydrated){if(le&&null!==ct&&1&e.mode&&!(128&e.flags))dm(),Pi(),e.flags|=98560,o=!1;else if(o=ps(e),null!==n&&null!==n.dehydrated){if(null===A){if(!o)throw Error(uA(318));if(!(o=null!==(o=e.memoizedState)?o.dehydrated:null))throw Error(uA(317));o[Zt]=e}else Pi(),!(128&e.flags)&&(e.memoizedState=null),e.flags|=4;Ne(e),o=!1}else null!==kt&&(cf(kt),kt=null),o=!0;if(!o)return 65536&e.flags?e:null}return 128&e.flags?(e.lanes=t,e):((n=null!==n)!=(null!==A&&null!==A.memoizedState)&&n&&(e.child.flags|=8192,1&e.mode&&(null===A||1&ce.current?0===Ie&&(Ie=3):Bd())),null!==e.updateQueue&&(e.flags|=4),Ne(e),null);case 4:return Oi(),tf(A,e),null===A&&Zo(e.stateNode.containerInfo),Ne(e),null;case 10:return Ad(e.type._context),Ne(e),null;case 19:if(ae(ce),null===(o=e.memoizedState))return Ne(e),null;if(n=0!=(128&e.flags),null===(i=o.rendering))if(n)wo(o,!1);else{if(0!==Ie||null!==A&&128&A.flags)for(A=e.child;null!==A;){if(null!==(i=rl(A))){for(e.flags|=128,wo(o,!1),null!==(n=i.updateQueue)&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=t,t=e.child;null!==t;)A=n,(o=t).flags&=14680066,null===(i=o.alternate)?(o.childLanes=0,o.lanes=A,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,A=i.dependencies,o.dependencies=null===A?null:{lanes:A.lanes,firstContext:A.firstContext}),t=t.sibling;return te(ce,1&ce.current|2),e.child}A=A.sibling}null!==o.tail&&we()>Ri&&(e.flags|=128,n=!0,wo(o,!1),e.lanes=4194304)}else{if(!n)if(null!==(A=rl(i))){if(e.flags|=128,n=!0,null!==(t=A.updateQueue)&&(e.updateQueue=t,e.flags|=4),wo(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!le)return Ne(e),null}else 2*we()-o.renderingStartTime>Ri&&1073741824!==t&&(e.flags|=128,n=!0,wo(o,!1),e.lanes=4194304);o.isBackwards?(i.sibling=e.child,e.child=i):(null!==(t=o.last)?t.sibling=i:e.child=i,o.last=i)}return null!==o.tail?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=we(),e.sibling=null,t=ce.current,te(ce,n?1&t|2:1&t),e):(Ne(e),null);case 22:case 23:return pd(),n=null!==e.memoizedState,null!==A&&null!==A.memoizedState!==n&&(e.flags|=8192),n&&1&e.mode?1073741824&ut&&(Ne(e),6&e.subtreeFlags&&(e.flags|=8192)):Ne(e),null;case 24:case 25:return null}throw Error(uA(156,e.tag))}function jE(A,e){switch(Yf(e),e.tag){case 1:return it(e.type)&&Ys(),65536&(A=e.flags)?(e.flags=-65537&A|128,e):null;case 3:return Oi(),ae(nt),ae(je),id(),65536&(A=e.flags)&&!(128&A)?(e.flags=-65537&A|128,e):null;case 5:return nd(e),null;case 13:if(ae(ce),null!==(A=e.memoizedState)&&null!==A.dehydrated){if(null===e.alternate)throw Error(uA(340));Pi()}return 65536&(A=e.flags)?(e.flags=-65537&A|128,e):null;case 19:return ae(ce),null;case 4:return Oi(),null;case 10:return Ad(e.type._context),null;case 22:case 23:return pd(),null;default:return null}}Xm=function(A,e){for(var t=e.child;null!==t;){if(5===t.tag||6===t.tag)A.appendChild(t.stateNode);else if(4!==t.tag&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}},tf=function(){},Jm=function(A,e,t,n){var r=A.memoizedProps;if(r!==n){A=e.stateNode,bn(Ar.current);var o,i=null;switch(t){case"input":r=Fc(A,r),n=Fc(A,n),i=[];break;case"select":r=he({},r,{value:void 0}),n=he({},n,{value:void 0}),i=[];break;case"textarea":r=Sc(A,r),n=Sc(A,n),i=[];break;default:"function"!=typeof r.onClick&&"function"==typeof n.onClick&&(A.onclick=Js)}for(l in Ic(t,n),t=null,r)if(!n.hasOwnProperty(l)&&r.hasOwnProperty(l)&&null!=r[l])if("style"===l){var a=r[l];for(o in a)a.hasOwnProperty(o)&&(t||(t={}),t[o]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(Go.hasOwnProperty(l)?i||(i=[]):(i=i||[]).push(l,null));for(l in n){var s=n[l];if(a=null!=r?r[l]:void 0,n.hasOwnProperty(l)&&s!==a&&(null!=s||null!=a))if("style"===l)if(a){for(o in a)!a.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(t||(t={}),t[o]="");for(o in s)s.hasOwnProperty(o)&&a[o]!==s[o]&&(t||(t={}),t[o]=s[o])}else t||(i||(i=[]),i.push(l,t)),t=s;else"dangerouslySetInnerHTML"===l?(s=s?s.__html:void 0,a=a?a.__html:void 0,null!=s&&a!==s&&(i=i||[]).push(l,s)):"children"===l?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(l,""+s):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(Go.hasOwnProperty(l)?(null!=s&&"onScroll"===l&&oe("scroll",A),i||a===s||(i=[])):(i=i||[]).push(l,s))}t&&(i=i||[]).push("style",t);var l=i;(e.updateQueue=l)&&(e.flags|=4)}},Ym=function(A,e,t,n){t!==n&&(e.flags|=4)};var vs=!1,Ge=!1,WE="function"==typeof WeakSet?WeakSet:Set,EA=null;function wi(A,e){var t=A.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Be(A,e,t)}else t.current=null}function rf(A,e,t){try{t()}catch(t){Be(A,e,t)}}var xp=!1;function zE(A,e){if(Mc=Ws,Xf(A=Am())){if("selectionStart"in A)var t={start:A.selectionStart,end:A.selectionEnd};else A:{var n=(t=(t=A.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(n&&0!==n.rangeCount){t=n.anchorNode;var r=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{t.nodeType,o.nodeType}catch{t=null;break A}var i=0,a=-1,s=-1,l=0,u=0,c=A,d=null;e:for(;;){for(var f;c!==t||0!==r&&3!==c.nodeType||(a=i+r),c!==o||0!==n&&3!==c.nodeType||(s=i+n),3===c.nodeType&&(i+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===A)break e;if(d===t&&++l===r&&(a=i),d===o&&++u===n&&(s=i),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}t=-1===a||-1===s?null:{start:a,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(_c={focusedElem:A,selectionRange:t},Ws=!1,EA=e;null!==EA;)if(A=(e=EA).child,0!=(1028&e.subtreeFlags)&&null!==A)A.return=e,EA=A;else for(;null!==EA;){e=EA;try{var g=e.alternate;if(1024&e.flags)switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var h=g.memoizedProps,p=g.memoizedState,B=e.stateNode,m=B.getSnapshotBeforeUpdate(e.elementType===e.type?h:Dt(e.type,h),p);B.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var w=e.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(uA(163))}}catch(A){Be(e,e.return,A)}if(null!==(A=e.sibling)){A.return=e.return,EA=A;break}EA=e.return}return g=xp,xp=!1,g}function ko(A,e,t){var n=e.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{if((r.tag&A)===A){var o=r.destroy;r.destroy=void 0,void 0!==o&&rf(e,t,o)}r=r.next}while(r!==n)}}function xl(A,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var t=e=e.next;do{if((t.tag&A)===A){var n=t.create;t.destroy=n()}t=t.next}while(t!==e)}}function nf(A){var e=A.ref;if(null!==e){var t=A.stateNode;A.tag,A=t,"function"==typeof e?e(A):e.current=A}}function $m(A){var e=A.alternate;null!==e&&(A.alternate=null,$m(e)),A.child=null,A.deletions=null,A.sibling=null,5===A.tag&&null!==(e=A.stateNode)&&(delete e[Zt],delete e[Aa],delete e[Gc],delete e[IE],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 Zm(A){return 5===A.tag||3===A.tag||4===A.tag}function Ip(A){A:for(;;){for(;null===A.sibling;){if(null===A.return||Zm(A.return))return null;A=A.return}for(A.sibling.return=A.return,A=A.sibling;5!==A.tag&&6!==A.tag&&18!==A.tag;){if(2&A.flags||null===A.child||4===A.tag)continue A;A.child.return=A,A=A.child}if(!(2&A.flags))return A.stateNode}}function of(A,e,t){var n=A.tag;if(5===n||6===n)A=A.stateNode,e?8===t.nodeType?t.parentNode.insertBefore(A,e):t.insertBefore(A,e):(8===t.nodeType?(e=t.parentNode).insertBefore(A,t):(e=t).appendChild(A),null!=(t=t._reactRootContainer)||null!==e.onclick||(e.onclick=Js));else if(4!==n&&null!==(A=A.child))for(of(A,e,t),A=A.sibling;null!==A;)of(A,e,t),A=A.sibling}function af(A,e,t){var n=A.tag;if(5===n||6===n)A=A.stateNode,e?t.insertBefore(A,e):t.appendChild(A);else if(4!==n&&null!==(A=A.child))for(af(A,e,t),A=A.sibling;null!==A;)af(A,e,t),A=A.sibling}var Re=null,Ot=!1;function Or(A,e,t){for(t=t.child;null!==t;)qm(A,e,t),t=t.sibling}function qm(A,e,t){if(qt&&"function"==typeof qt.onCommitFiberUnmount)try{qt.onCommitFiberUnmount(wl,t)}catch{}switch(t.tag){case 5:Ge||wi(t,e);case 6:var n=Re,r=Ot;Re=null,Or(A,e,t),Ot=r,null!==(Re=n)&&(Ot?(A=Re,t=t.stateNode,8===A.nodeType?A.parentNode.removeChild(t):A.removeChild(t)):Re.removeChild(t.stateNode));break;case 18:null!==Re&&(Ot?(A=Re,t=t.stateNode,8===A.nodeType?Gu(A.parentNode,t):1===A.nodeType&&Gu(A,t),Jo(A)):Gu(Re,t.stateNode));break;case 4:n=Re,r=Ot,Re=t.stateNode.containerInfo,Ot=!0,Or(A,e,t),Re=n,Ot=r;break;case 0:case 11:case 14:case 15:if(!Ge&&null!==(n=t.updateQueue)&&null!==(n=n.lastEffect)){r=n=n.next;do{var o=r,i=o.destroy;o=o.tag,void 0!==i&&(2&o||4&o)&&rf(t,e,i),r=r.next}while(r!==n)}Or(A,e,t);break;case 1:if(!Ge&&(wi(t,e),"function"==typeof(n=t.stateNode).componentWillUnmount))try{n.props=t.memoizedProps,n.state=t.memoizedState,n.componentWillUnmount()}catch(A){Be(t,e,A)}Or(A,e,t);break;case 21:Or(A,e,t);break;case 22:1&t.mode?(Ge=(n=Ge)||null!==t.memoizedState,Or(A,e,t),Ge=n):Or(A,e,t);break;default:Or(A,e,t)}}function bp(A){var e=A.updateQueue;if(null!==e){A.updateQueue=null;var t=A.stateNode;null===t&&(t=A.stateNode=new WE),e.forEach((function(e){var n=tS.bind(null,A,e);t.has(e)||(t.add(e),e.then(n,n))}))}}function Lt(A,e){var t=e.deletions;if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];try{var o=A,i=e,a=i;A:for(;null!==a;){switch(a.tag){case 5:Re=a.stateNode,Ot=!1;break A;case 3:case 4:Re=a.stateNode.containerInfo,Ot=!0;break A}a=a.return}if(null===Re)throw Error(uA(160));qm(o,i,r),Re=null,Ot=!1;var s=r.alternate;null!==s&&(s.return=null),r.return=null}catch(A){Be(r,e,A)}}if(12854&e.subtreeFlags)for(e=e.child;null!==e;)Av(e,A),e=e.sibling}function Av(A,e){var t=A.alternate,n=A.flags;switch(A.tag){case 0:case 11:case 14:case 15:if(Lt(e,A),Xt(A),4&n){try{ko(3,A,A.return),xl(3,A)}catch(e){Be(A,A.return,e)}try{ko(5,A,A.return)}catch(e){Be(A,A.return,e)}}break;case 1:Lt(e,A),Xt(A),512&n&&null!==t&&wi(t,t.return);break;case 5:if(Lt(e,A),Xt(A),512&n&&null!==t&&wi(t,t.return),32&A.flags){var r=A.stateNode;try{jo(r,"")}catch(e){Be(A,A.return,e)}}if(4&n&&null!=(r=A.stateNode)){var o=A.memoizedProps,i=null!==t?t.memoizedProps:o,a=A.type,s=A.updateQueue;if(A.updateQueue=null,null!==s)try{"input"===a&&"radio"===o.type&&null!=o.name&&y0(r,o),bc(a,i);var l=bc(a,o);for(i=0;i<s.length;i+=2){var u=s[i],c=s[i+1];"style"===u?E0(r,c):"dangerouslySetInnerHTML"===u?F0(r,c):"children"===u?jo(r,c):Df(r,u,c,l)}switch(a){case"input":Uc(r,o);break;case"textarea":C0(r,o);break;case"select":var d=r._wrapperState.wasMultiple;r._wrapperState.wasMultiple=!!o.multiple;var f=o.value;null!=f?Ei(r,!!o.multiple,f,!1):d!==!!o.multiple&&(null!=o.defaultValue?Ei(r,!!o.multiple,o.defaultValue,!0):Ei(r,!!o.multiple,o.multiple?[]:"",!1))}r[Aa]=o}catch(e){Be(A,A.return,e)}}break;case 6:if(Lt(e,A),Xt(A),4&n){if(null===A.stateNode)throw Error(uA(162));r=A.stateNode,o=A.memoizedProps;try{r.nodeValue=o}catch(e){Be(A,A.return,e)}}break;case 3:if(Lt(e,A),Xt(A),4&n&&null!==t&&t.memoizedState.isDehydrated)try{Jo(e.containerInfo)}catch(e){Be(A,A.return,e)}break;case 4:default:Lt(e,A),Xt(A);break;case 13:Lt(e,A),Xt(A),8192&(r=A.child).flags&&(o=null!==r.memoizedState,r.stateNode.isHidden=o,!o||null!==r.alternate&&null!==r.alternate.memoizedState||(hd=we())),4&n&&bp(A);break;case 22:if(u=null!==t&&null!==t.memoizedState,1&A.mode?(Ge=(l=Ge)||u,Lt(e,A),Ge=l):Lt(e,A),Xt(A),8192&n){if(l=null!==A.memoizedState,(A.stateNode.isHidden=l)&&!u&&1&A.mode)for(EA=A,u=A.child;null!==u;){for(c=EA=u;null!==EA;){switch(f=(d=EA).child,d.tag){case 0:case 11:case 14:case 15:ko(4,d,d.return);break;case 1:wi(d,d.return);var g=d.stateNode;if("function"==typeof g.componentWillUnmount){n=d,t=d.return;try{e=n,g.props=e.memoizedProps,g.state=e.memoizedState,g.componentWillUnmount()}catch(A){Be(n,t,A)}}break;case 5:wi(d,d.return);break;case 22:if(null!==d.memoizedState){Tp(c);continue}}null!==f?(f.return=d,EA=f):Tp(c)}u=u.sibling}A:for(u=null,c=A;;){if(5===c.tag){if(null===u){u=c;try{r=c.stateNode,l?"function"==typeof(o=r.style).setProperty?o.setProperty("display","none","important"):o.display="none":(a=c.stateNode,i=null!=(s=c.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,a.style.display=U0("display",i))}catch(e){Be(A,A.return,e)}}}else if(6===c.tag){if(null===u)try{c.stateNode.nodeValue=l?"":c.memoizedProps}catch(e){Be(A,A.return,e)}}else if((22!==c.tag&&23!==c.tag||null===c.memoizedState||c===A)&&null!==c.child){c.child.return=c,c=c.child;continue}if(c===A)break A;for(;null===c.sibling;){if(null===c.return||c.return===A)break A;u===c&&(u=null),c=c.return}u===c&&(u=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:Lt(e,A),Xt(A),4&n&&bp(A);case 21:}}function Xt(A){var e=A.flags;if(2&e){try{A:{for(var t=A.return;null!==t;){if(Zm(t)){var n=t;break A}t=t.return}throw Error(uA(160))}switch(n.tag){case 5:var r=n.stateNode;32&n.flags&&(jo(r,""),n.flags&=-33),af(A,Ip(A),r);break;case 3:case 4:var o=n.stateNode.containerInfo;of(A,Ip(A),o);break;default:throw Error(uA(161))}}catch(e){Be(A,A.return,e)}A.flags&=-3}4096&e&&(A.flags&=-4097)}function XE(A,e,t){EA=A,ev(A)}function ev(A,e,t){for(var n=0!=(1&A.mode);null!==EA;){var r=EA,o=r.child;if(22===r.tag&&n){var i=null!==r.memoizedState||vs;if(!i){var a=r.alternate,s=null!==a&&null!==a.memoizedState||Ge;a=vs;var l=Ge;if(vs=i,(Ge=s)&&!l)for(EA=r;null!==EA;)s=(i=EA).child,22===i.tag&&null!==i.memoizedState?Lp(r):null!==s?(s.return=i,EA=s):Lp(r);for(;null!==o;)EA=o,ev(o),o=o.sibling;EA=r,vs=a,Ge=l}Hp(A)}else 8772&r.subtreeFlags&&null!==o?(o.return=r,EA=o):Hp(A)}}function Hp(A){for(;null!==EA;){var e=EA;if(8772&e.flags){var t=e.alternate;try{if(8772&e.flags)switch(e.tag){case 0:case 11:case 15:Ge||xl(5,e);break;case 1:var n=e.stateNode;if(4&e.flags&&!Ge)if(null===t)n.componentDidMount();else{var r=e.elementType===e.type?t.memoizedProps:Dt(e.type,t.memoizedProps);n.componentDidUpdate(r,t.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;null!==o&&hp(e,o,n);break;case 3:var i=e.updateQueue;if(null!==i){if(t=null,null!==e.child)switch(e.child.tag){case 5:case 1:t=e.child.stateNode}hp(e,i,t)}break;case 5:var a=e.stateNode;if(null===t&&4&e.flags){t=a;var s=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&t.focus();break;case"img":s.src&&(t.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===e.memoizedState){var l=e.alternate;if(null!==l){var u=l.memoizedState;if(null!==u){var c=u.dehydrated;null!==c&&Jo(c)}}}break;default:throw Error(uA(163))}Ge||512&e.flags&&nf(e)}catch(A){Be(e,e.return,A)}}if(e===A){EA=null;break}if(null!==(t=e.sibling)){t.return=e.return,EA=t;break}EA=e.return}}function Tp(A){for(;null!==EA;){var e=EA;if(e===A){EA=null;break}var t=e.sibling;if(null!==t){t.return=e.return,EA=t;break}EA=e.return}}function Lp(A){for(;null!==EA;){var e=EA;try{switch(e.tag){case 0:case 11:case 15:var t=e.return;try{xl(4,e)}catch(A){Be(e,t,A)}break;case 1:var n=e.stateNode;if("function"==typeof n.componentDidMount){var r=e.return;try{n.componentDidMount()}catch(A){Be(e,r,A)}}var o=e.return;try{nf(e)}catch(A){Be(e,o,A)}break;case 5:var i=e.return;try{nf(e)}catch(A){Be(e,i,A)}}}catch(A){Be(e,e.return,A)}if(e===A){EA=null;break}var a=e.sibling;if(null!==a){a.return=e.return,EA=a;break}EA=e.return}}var sv,JE=Math.ceil,ol=Cr.ReactCurrentDispatcher,fd=Cr.ReactCurrentOwner,xt=Cr.ReactCurrentBatchConfig,GA=0,Pe=null,Fe=null,Ke=0,ut=0,yi=an(0),Ie=0,oa=null,kn=0,Il=0,dd=0,Ro=null,tt=null,hd=0,Ri=1/0,lr=null,al=!1,sf=null,Yr=null,ws=!1,Gr=null,sl=0,Ko=0,lf=null,Os=-1,ks=0;function Xe(){return 6&GA?we():-1!==Os?Os:Os=we()}function $r(A){return 1&A.mode?2&GA&&0!==Ke?Ke&-Ke:null!==TE.transition?(0===ks&&(ks=R0()),ks):(0!==(A=$A)||(A=void 0===(A=window.event)?16:j0(A.type)),A):1}function Mt(A,e,t,n){if(50<Ko)throw Ko=0,lf=null,Error(uA(185));fa(A,t,n),(!(2&GA)||A!==Pe)&&(A===Pe&&(!(2&GA)&&(Il|=t),4===Ie&&Vr(A,Ke)),ot(A,n),1===t&&0===GA&&!(1&e.mode)&&(Ri=we()+500,Ul&&sn()))}function ot(A,e){var t=A.callbackNode;TU(A,e);var n=js(A,A===Pe?Ke:0);if(0===n)null!==t&&Vg(t),A.callbackNode=null,A.callbackPriority=0;else if(e=n&-n,A.callbackPriority!==e){if(null!=t&&Vg(t),1===e)0===A.tag?HE(Pp.bind(null,A)):um(Pp.bind(null,A)),SE((function(){!(6&GA)&&sn()})),t=null;else{switch(K0(n)){case 1:t=Mf;break;case 4:t=O0;break;case 16:default:t=Gs;break;case 536870912:t=k0}t=lv(t,tv.bind(null,A))}A.callbackPriority=e,A.callbackNode=t}}function tv(A,e){if(Os=-1,ks=0,6&GA)throw Error(uA(327));var t=A.callbackNode;if(Hi()&&A.callbackNode!==t)return null;var n=js(A,A===Pe?Ke:0);if(0===n)return null;if(30&n||n&A.expiredLanes||e)e=ll(A,n);else{e=n;var r=GA;GA|=2;var o=nv();for((Pe!==A||Ke!==e)&&(lr=null,Ri=we()+500,Tn(A,e));;)try{ZE();break}catch(e){rv(A,e)}qf(),ol.current=o,GA=r,null!==Fe?e=0:(Pe=null,Ke=0,e=Ie)}if(0!==e){if(2===e&&0!==(r=Dc(A))&&(n=r,e=uf(A,r)),1===e)throw t=oa,Tn(A,0),Vr(A,n),ot(A,we()),t;if(6===e)Vr(A,n);else{if(r=A.current.alternate,!(30&n||YE(r)||(e=ll(A,n),2===e&&(o=Dc(A),0!==o&&(n=o,e=uf(A,o))),1!==e)))throw t=oa,Tn(A,0),Vr(A,n),ot(A,we()),t;switch(A.finishedWork=r,A.finishedLanes=n,e){case 0:case 1:throw Error(uA(345));case 2:case 5:Un(A,tt,lr);break;case 3:if(Vr(A,n),(130023424&n)===n&&10<(e=hd+500-we())){if(0!==js(A,0))break;if(((r=A.suspendedLanes)&n)!==n){Xe(),A.pingedLanes|=A.suspendedLanes&r;break}A.timeoutHandle=Nc(Un.bind(null,A,tt,lr),e);break}Un(A,tt,lr);break;case 4:if(Vr(A,n),(4194240&n)===n)break;for(e=A.eventTimes,r=-1;0<n;){var i=31-Kt(n);o=1<<i,(i=e[i])>r&&(r=i),n&=~o}if(n=r,10<(n=(120>(n=we()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*JE(n/1960))-n)){A.timeoutHandle=Nc(Un.bind(null,A,tt,lr),n);break}Un(A,tt,lr);break;default:throw Error(uA(329))}}}return ot(A,we()),A.callbackNode===t?tv.bind(null,A):null}function uf(A,e){var t=Ro;return A.current.memoizedState.isDehydrated&&(Tn(A,e).flags|=256),2!==(A=ll(A,e))&&(e=tt,tt=t,null!==e&&cf(e)),A}function cf(A){null===tt?tt=A:tt.push.apply(tt,A)}function YE(A){for(var e=A;;){if(16384&e.flags){var t=e.updateQueue;if(null!==t&&null!==(t=t.stores))for(var n=0;n<t.length;n++){var r=t[n],o=r.getSnapshot;r=r.value;try{if(!_t(o(),r))return!1}catch{return!1}}}if(t=e.child,16384&e.subtreeFlags&&null!==t)t.return=e,e=t;else{if(e===A)break;for(;null===e.sibling;){if(null===e.return||e.return===A)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function Vr(A,e){for(e&=~dd,e&=~Il,A.suspendedLanes|=e,A.pingedLanes&=~e,A=A.expirationTimes;0<e;){var t=31-Kt(e),n=1<<t;A[t]=-1,e&=~n}}function Pp(A){if(6&GA)throw Error(uA(327));Hi();var e=js(A,0);if(!(1&e))return ot(A,we()),null;var t=ll(A,e);if(0!==A.tag&&2===t){var n=Dc(A);0!==n&&(e=n,t=uf(A,n))}if(1===t)throw t=oa,Tn(A,0),Vr(A,e),ot(A,we()),t;if(6===t)throw Error(uA(345));return A.finishedWork=A.current.alternate,A.finishedLanes=e,Un(A,tt,lr),ot(A,we()),null}function gd(A,e){var t=GA;GA|=1;try{return A(e)}finally{0===(GA=t)&&(Ri=we()+500,Ul&&sn())}}function Rn(A){null!==Gr&&0===Gr.tag&&!(6&GA)&&Hi();var e=GA;GA|=1;var t=xt.transition,n=$A;try{if(xt.transition=null,$A=1,A)return A()}finally{$A=n,xt.transition=t,!(6&(GA=e))&&sn()}}function pd(){ut=yi.current,ae(yi)}function Tn(A,e){A.finishedWork=null,A.finishedLanes=0;var t=A.timeoutHandle;if(-1!==t&&(A.timeoutHandle=-1,EE(t)),null!==Fe)for(t=Fe.return;null!==t;){var n=t;switch(Yf(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&Ys();break;case 3:Oi(),ae(nt),ae(je),id();break;case 5:nd(n);break;case 4:Oi();break;case 13:case 19:ae(ce);break;case 10:Ad(n.type._context);break;case 22:case 23:pd()}t=t.return}if(Pe=A,Fe=A=Zr(A.current,null),Ke=ut=e,Ie=0,oa=null,dd=Il=kn=0,tt=Ro=null,null!==In){for(e=0;e<In.length;e++)if(null!==(n=(t=In[e]).interleaved)){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var i=o.next;o.next=r,n.next=i}t.pending=n}In=null}return A}function rv(A,e){for(;;){var t=Fe;try{if(qf(),Ls.current=il,nl){for(var n=de.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}nl=!1}if(On=0,Le=xe=de=null,Oo=!1,ra=0,fd.current=null,null===t||null===t.return){Ie=1,oa=e,Fe=null;break}A:{var o=A,i=t.return,a=t,s=e;if(e=Ke,a.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s,u=a,c=u.tag;if(!(1&u.mode||0!==c&&11!==c&&15!==c)){var d=u.alternate;d?(u.updateQueue=d.updateQueue,u.memoizedState=d.memoizedState,u.lanes=d.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=yp(i);if(null!==f){f.flags&=-257,Cp(f,i,a,o,e),1&f.mode&&wp(o,l,e),s=l;var g=(e=f).updateQueue;if(null===g){var h=new Set;h.add(s),e.updateQueue=h}else g.add(s);break A}if(!(1&e)){wp(o,l,e),Bd();break A}s=Error(uA(426))}else if(le&&1&a.mode){var p=yp(i);if(null!==p){!(65536&p.flags)&&(p.flags|=256),Cp(p,i,a,o,e),$f(ki(s,a));break A}}o=s=ki(s,a),4!==Ie&&(Ie=2),null===Ro?Ro=[o]:Ro.push(o),o=i;do{switch(o.tag){case 3:o.flags|=65536,e&=-e,o.lanes|=e,dp(o,Mm(o,s,e));break A;case 1:a=s;var B=o.type,m=o.stateNode;if(!(128&o.flags||"function"!=typeof B.getDerivedStateFromError&&(null===m||"function"!=typeof m.componentDidCatch||null!==Yr&&Yr.has(m)))){o.flags|=65536,e&=-e,o.lanes|=e,dp(o,_m(o,a,e));break A}}o=o.return}while(null!==o)}ov(t)}catch(A){e=A,Fe===t&&null!==t&&(Fe=t=t.return);continue}break}}function nv(){var A=ol.current;return ol.current=il,null===A?il:A}function Bd(){(0===Ie||3===Ie||2===Ie)&&(Ie=4),null===Pe||!(268435455&kn)&&!(268435455&Il)||Vr(Pe,Ke)}function ll(A,e){var t=GA;GA|=2;var n=nv();for((Pe!==A||Ke!==e)&&(lr=null,Tn(A,e));;)try{$E();break}catch(e){rv(A,e)}if(qf(),GA=t,ol.current=n,null!==Fe)throw Error(uA(261));return Pe=null,Ke=0,Ie}function $E(){for(;null!==Fe;)iv(Fe)}function ZE(){for(;null!==Fe&&!QU();)iv(Fe)}function iv(A){var e=sv(A.alternate,A,ut);A.memoizedProps=A.pendingProps,null===e?ov(A):Fe=e,fd.current=null}function ov(A){var e=A;do{var t=e.alternate;if(A=e.return,32768&e.flags){if(null!==(t=jE(t,e)))return t.flags&=32767,void(Fe=t);if(null===A)return Ie=6,void(Fe=null);A.flags|=32768,A.subtreeFlags=0,A.deletions=null}else if(null!==(t=GE(t,e,ut)))return void(Fe=t);if(null!==(e=e.sibling))return void(Fe=e);Fe=e=A}while(null!==e);0===Ie&&(Ie=5)}function Un(A,e,t){var n=$A,r=xt.transition;try{xt.transition=null,$A=1,qE(A,e,t,n)}finally{xt.transition=r,$A=n}return null}function qE(A,e,t,n){do{Hi()}while(null!==Gr);if(6&GA)throw Error(uA(327));t=A.finishedWork;var r=A.finishedLanes;if(null===t)return null;if(A.finishedWork=null,A.finishedLanes=0,t===A.current)throw Error(uA(177));A.callbackNode=null,A.callbackPriority=0;var o=t.lanes|t.childLanes;if(LU(A,o),A===Pe&&(Fe=Pe=null,Ke=0),!(2064&t.subtreeFlags)&&!(2064&t.flags)||ws||(ws=!0,lv(Gs,(function(){return Hi(),null}))),o=0!=(15990&t.flags),15990&t.subtreeFlags||o){o=xt.transition,xt.transition=null;var i=$A;$A=1;var a=GA;GA|=4,fd.current=null,zE(A,t),Av(t,A),vE(_c),Ws=!!Mc,_c=Mc=null,A.current=t,XE(t),FU(),GA=a,$A=i,xt.transition=o}else A.current=t;if(ws&&(ws=!1,Gr=A,sl=r),0===(o=A.pendingLanes)&&(Yr=null),SU(t.stateNode),ot(A,we()),null!==e)for(n=A.onRecoverableError,t=0;t<e.length;t++)n((r=e[t]).value,{componentStack:r.stack,digest:r.digest});if(al)throw al=!1,A=sf,sf=null,A;return 1&sl&&0!==A.tag&&Hi(),1&(o=A.pendingLanes)?A===lf?Ko++:(Ko=0,lf=A):Ko=0,sn(),null}function Hi(){if(null!==Gr){var A=K0(sl),e=xt.transition,t=$A;try{if(xt.transition=null,$A=16>A?16:A,null===Gr)var n=!1;else{if(A=Gr,Gr=null,sl=0,6&GA)throw Error(uA(331));var r=GA;for(GA|=4,EA=A.current;null!==EA;){var o=EA,i=o.child;if(16&EA.flags){var a=o.deletions;if(null!==a){for(var s=0;s<a.length;s++){var l=a[s];for(EA=l;null!==EA;){var u=EA;switch(u.tag){case 0:case 11:case 15:ko(8,u,o)}var c=u.child;if(null!==c)c.return=u,EA=c;else for(;null!==EA;){var d=(u=EA).sibling,f=u.return;if($m(u),u===l){EA=null;break}if(null!==d){d.return=f,EA=d;break}EA=f}}}var g=o.alternate;if(null!==g){var h=g.child;if(null!==h){g.child=null;do{var p=h.sibling;h.sibling=null,h=p}while(null!==h)}}EA=o}}if(2064&o.subtreeFlags&&null!==i)i.return=o,EA=i;else A:for(;null!==EA;){if(2048&(o=EA).flags)switch(o.tag){case 0:case 11:case 15:ko(9,o,o.return)}var B=o.sibling;if(null!==B){B.return=o.return,EA=B;break A}EA=o.return}}var m=A.current;for(EA=m;null!==EA;){var w=(i=EA).child;if(2064&i.subtreeFlags&&null!==w)w.return=i,EA=w;else A:for(i=m;null!==EA;){if(2048&(a=EA).flags)try{switch(a.tag){case 0:case 11:case 15:xl(9,a)}}catch(A){Be(a,a.return,A)}if(a===i){EA=null;break A}var y=a.sibling;if(null!==y){y.return=a.return,EA=y;break A}EA=a.return}}if(GA=r,sn(),qt&&"function"==typeof qt.onPostCommitFiberRoot)try{qt.onPostCommitFiberRoot(wl,A)}catch{}n=!0}return n}finally{$A=t,xt.transition=e}}return!1}function Dp(A,e,t){A=Jr(A,e=Mm(A,e=ki(t,e),1),1),e=Xe(),null!==A&&(fa(A,1,e),ot(A,e))}function Be(A,e,t){if(3===A.tag)Dp(A,A,t);else for(;null!==e;){if(3===e.tag){Dp(e,A,t);break}if(1===e.tag){var n=e.stateNode;if("function"==typeof e.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Yr||!Yr.has(n))){e=Jr(e,A=_m(e,A=ki(t,A),1),1),A=Xe(),null!==e&&(fa(e,1,A),ot(e,A));break}}e=e.return}}function AS(A,e,t){var n=A.pingCache;null!==n&&n.delete(e),e=Xe(),A.pingedLanes|=A.suspendedLanes&t,Pe===A&&(Ke&t)===t&&(4===Ie||3===Ie&&(130023424&Ke)===Ke&&500>we()-hd?Tn(A,0):dd|=t),ot(A,e)}function av(A,e){0===e&&(1&A.mode?(e=us,!(130023424&(us<<=1))&&(us=4194304)):e=1);var t=Xe();null!==(A=vr(A,e))&&(fa(A,e,t),ot(A,t))}function eS(A){var e=A.memoizedState,t=0;null!==e&&(t=e.retryLane),av(A,t)}function tS(A,e){var t=0;switch(A.tag){case 13:var n=A.stateNode,r=A.memoizedState;null!==r&&(t=r.retryLane);break;case 19:n=A.stateNode;break;default:throw Error(uA(314))}null!==n&&n.delete(e),av(A,t)}function lv(A,e){return D0(A,e)}function rS(A,e,t,n){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=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function St(A,e,t,n){return new rS(A,e,t,n)}function md(A){return!(!(A=A.prototype)||!A.isReactComponent)}function nS(A){if("function"==typeof A)return md(A)?1:0;if(null!=A){if((A=A.$$typeof)===kf)return 11;if(A===Rf)return 14}return 2}function Zr(A,e){var t=A.alternate;return null===t?((t=St(A.tag,e,A.key,A.mode)).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=14680064&A.flags,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=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},t.sibling=A.sibling,t.index=A.index,t.ref=A.ref,t}function Rs(A,e,t,n,r,o){var i=2;if(n=A,"function"==typeof A)md(A)&&(i=1);else if("string"==typeof A)i=5;else A:switch(A){case ci:return Ln(t.children,r,o,e);case Of:i=8,r|=8;break;case wc:return(A=St(12,t,e,2|r)).elementType=wc,A.lanes=o,A;case yc:return(A=St(13,t,e,r)).elementType=yc,A.lanes=o,A;case Cc:return(A=St(19,t,e,r)).elementType=Cc,A.lanes=o,A;case m0:return bl(t,r,o,e);default:if("object"==typeof A&&null!==A)switch(A.$$typeof){case p0:i=10;break A;case B0:i=9;break A;case kf:i=11;break A;case Rf:i=14;break A;case Rr:i=16,n=null;break A}throw Error(uA(130,null==A?A:typeof A,""))}return(e=St(i,t,e,r)).elementType=A,e.type=n,e.lanes=o,e}function Ln(A,e,t,n){return(A=St(7,A,n,e)).lanes=t,A}function bl(A,e,t,n){return(A=St(22,A,n,e)).elementType=m0,A.lanes=t,A.stateNode={isHidden:!1},A}function Zu(A,e,t){return(A=St(6,A,null,e)).lanes=t,A}function qu(A,e,t){return(e=St(4,null!==A.children?A.children:[],A.key,e)).lanes=t,e.stateNode={containerInfo:A.containerInfo,pendingChildren:null,implementation:A.implementation},e}function iS(A,e,t,n,r){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=Lu(0),this.expirationTimes=Lu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Lu(0),this.identifierPrefix=n,this.onRecoverableError=r,this.mutableSourceEagerHydrationData=null}function vd(A,e,t,n,r,o,i,a,s){return A=new iS(A,e,t,a,s),1===e?(e=1,!0===o&&(e|=8)):e=0,o=St(3,null,null,e),A.current=o,o.stateNode=A,o.memoizedState={element:n,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},td(o),A}function oS(A,e,t){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:ui,key:null==n?null:""+n,children:A,containerInfo:e,implementation:t}}function uv(A){if(!A)return tn;A:{if(Mn(A=A._reactInternals)!==A||1!==A.tag)throw Error(uA(170));var e=A;do{switch(e.tag){case 3:e=e.stateNode.context;break A;case 1:if(it(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break A}}e=e.return}while(null!==e);throw Error(uA(171))}if(1===A.tag){var t=A.type;if(it(t))return lm(A,t,e)}return e}function cv(A,e,t,n,r,o,i,a,s){return(A=vd(t,n,!0,A,r,o,i,a,s)).context=uv(null),t=A.current,(o=hr(n=Xe(),r=$r(t))).callback=e??null,Jr(t,o,r),A.current.lanes=r,fa(A,r,n),ot(A,n),A}function Hl(A,e,t,n){var r=e.current,o=Xe(),i=$r(r);return t=uv(t),null===e.context?e.context=t:e.pendingContext=t,(e=hr(o,i)).payload={element:A},null!==(n=void 0===n?null:n)&&(e.callback=n),null!==(A=Jr(r,e,i))&&(Mt(A,r,i,o),Ts(A,r,i)),i}function ul(A){return(A=A.current).child?(A.child.tag,A.child.stateNode):null}function Op(A,e){if(null!==(A=A.memoizedState)&&null!==A.dehydrated){var t=A.retryLane;A.retryLane=0!==t&&t<e?t:e}}function wd(A,e){Op(A,e),(A=A.alternate)&&Op(A,e)}function aS(){return null}sv=function(A,e,t){if(null!==A)if(A.memoizedProps!==e.pendingProps||nt.current)rt=!0;else{if(!(A.lanes&t||128&e.flags))return rt=!1,NE(A,e,t);rt=!!(131072&A.flags)}else rt=!1,le&&1048576&e.flags&&cm(e,qs,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;Ds(A,e),A=e.pendingProps;var r=Li(e,je.current);bi(e,t),r=ad(null,e,n,A,r,t);var o=sd();return e.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof?(e.tag=1,e.memoizedState=null,e.updateQueue=null,it(n)?(o=!0,$s(e)):o=!1,e.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,td(e),r.updater=El,e.stateNode=r,r._reactInternals=e,Yc(e,n,A,t),e=qc(null,e,n,!0,o,t)):(e.tag=0,le&&o&&Jf(e),ze(null,e,r,t),e=e.child),e;case 16:n=e.elementType;A:{switch(Ds(A,e),A=e.pendingProps,n=(r=n._init)(n._payload),e.type=n,r=e.tag=nS(n),A=Dt(n,A),r){case 0:e=Zc(null,e,n,A,t);break A;case 1:e=Up(null,e,n,A,t);break A;case 11:e=Qp(null,e,n,A,t);break A;case 14:e=Fp(null,e,n,Dt(n.type,A),t);break A}throw Error(uA(306,n,""))}return e;case 0:return n=e.type,r=e.pendingProps,Zc(A,e,n,r=e.elementType===n?r:Dt(n,r),t);case 1:return n=e.type,r=e.pendingProps,Up(A,e,n,r=e.elementType===n?r:Dt(n,r),t);case 3:A:{if(jm(e),null===A)throw Error(uA(387));n=e.pendingProps,r=(o=e.memoizedState).element,gm(A,e),tl(e,n,null,t);var i=e.memoizedState;if(n=i.element,o.isDehydrated){if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},e.updateQueue.baseState=o,e.memoizedState=o,256&e.flags){e=Ep(A,e,n,t,r=ki(Error(uA(423)),e));break A}if(n!==r){e=Ep(A,e,n,t,r=ki(Error(uA(424)),e));break A}for(ct=Xr(e.stateNode.containerInfo.firstChild),ft=e,le=!0,kt=null,t=vm(e,null,n,t),e.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(Pi(),n===r){e=wr(A,e,t);break A}ze(A,e,n,t)}e=e.child}return e;case 5:return wm(e),null===A&&zc(e),n=e.type,r=e.pendingProps,o=null!==A?A.memoizedProps:null,i=r.children,Vc(n,r)?i=null:null!==o&&Vc(n,o)&&(e.flags|=32),Gm(A,e),ze(A,e,i,t),e.child;case 6:return null===A&&zc(e),null;case 13:return Wm(A,e,t);case 4:return rd(e,e.stateNode.containerInfo),n=e.pendingProps,null===A?e.child=Di(e,null,n,t):ze(A,e,n,t),e.child;case 11:return n=e.type,r=e.pendingProps,Qp(A,e,n,r=e.elementType===n?r:Dt(n,r),t);case 7:return ze(A,e,e.pendingProps,t),e.child;case 8:case 12:return ze(A,e,e.pendingProps.children,t),e.child;case 10:A:{if(n=e.type._context,r=e.pendingProps,o=e.memoizedProps,i=r.value,te(Al,n._currentValue),n._currentValue=i,null!==o)if(_t(o.value,i)){if(o.children===r.children&&!nt.current){e=wr(A,e,t);break A}}else for(null!==(o=e.child)&&(o.return=e);null!==o;){var a=o.dependencies;if(null!==a){i=o.child;for(var s=a.firstContext;null!==s;){if(s.context===n){if(1===o.tag){(s=hr(-1,t&-t)).tag=2;var l=o.updateQueue;if(null!==l){var u=(l=l.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),l.pending=s}}o.lanes|=t,null!==(s=o.alternate)&&(s.lanes|=t),Xc(o.return,t,e),a.lanes|=t;break}s=s.next}}else if(10===o.tag)i=o.type===e.type?null:o.child;else if(18===o.tag){if(null===(i=o.return))throw Error(uA(341));i.lanes|=t,null!==(a=i.alternate)&&(a.lanes|=t),Xc(i,t,e),i=o.sibling}else i=o.child;if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(null!==(o=i.sibling)){o.return=i.return,i=o;break}i=i.return}o=i}ze(A,e,r.children,t),e=e.child}return e;case 9:return r=e.type,n=e.pendingProps.children,bi(e,t),n=n(r=It(r)),e.flags|=1,ze(A,e,n,t),e.child;case 14:return r=Dt(n=e.type,e.pendingProps),Fp(A,e,n,r=Dt(n.type,r),t);case 15:return Vm(A,e,e.type,e.pendingProps,t);case 17:return n=e.type,r=e.pendingProps,r=e.elementType===n?r:Dt(n,r),Ds(A,e),e.tag=1,it(n)?(A=!0,$s(e)):A=!1,bi(e,t),Bm(e,n,r),Yc(e,n,r,t),qc(null,e,n,!0,A,t);case 19:return zm(A,e,t);case 22:return Nm(A,e,t)}throw Error(uA(156,e.tag))};var fv="function"==typeof reportError?reportError:function(A){console.error(A)};function yd(A){this._internalRoot=A}function Tl(A){this._internalRoot=A}function Cd(A){return!(!A||1!==A.nodeType&&9!==A.nodeType&&11!==A.nodeType)}function Ll(A){return!(!A||1!==A.nodeType&&9!==A.nodeType&&11!==A.nodeType&&(8!==A.nodeType||" react-mount-point-unstable "!==A.nodeValue))}function kp(){}function sS(A,e,t,n,r){if(r){if("function"==typeof n){var o=n;n=function(){var A=ul(i);o.call(A)}}var i=cv(e,n,A,0,null,!1,!1,"",kp);return A._reactRootContainer=i,A[mr]=i.current,Zo(8===A.nodeType?A.parentNode:A),Rn(),i}for(;r=A.lastChild;)A.removeChild(r);if("function"==typeof n){var a=n;n=function(){var A=ul(s);a.call(A)}}var s=vd(A,0,!1,null,null,!1,!1,"",kp);return A._reactRootContainer=s,A[mr]=s.current,Zo(8===A.nodeType?A.parentNode:A),Rn((function(){Hl(e,s,t,n)})),s}function Pl(A,e,t,n,r){var o=t._reactRootContainer;if(o){var i=o;if("function"==typeof r){var a=r;r=function(){var A=ul(i);a.call(A)}}Hl(e,i,A,r)}else i=sS(t,e,A,r,n);return ul(i)}Tl.prototype.render=yd.prototype.render=function(A){var e=this._internalRoot;if(null===e)throw Error(uA(409));Hl(A,e,null,null)},Tl.prototype.unmount=yd.prototype.unmount=function(){var A=this._internalRoot;if(null!==A){this._internalRoot=null;var e=A.containerInfo;Rn((function(){Hl(null,A,null,null)})),e[mr]=null}},Tl.prototype.unstable_scheduleHydration=function(A){if(A){var e=V0();A={blockedOn:null,target:A,priority:e};for(var t=0;t<_r.length&&0!==e&&e<_r[t].priority;t++);_r.splice(t,0,A),0===t&&G0(A)}},M0=function(A){switch(A.tag){case 3:var e=A.stateNode;if(e.current.memoizedState.isDehydrated){var t=xo(e.pendingLanes);0!==t&&(_f(e,1|t),ot(e,we()),!(6&GA)&&(Ri=we()+500,sn()))}break;case 13:Rn((function(){var e=vr(A,1);if(null!==e){var t=Xe();Mt(e,A,1,t)}})),wd(A,1)}},Vf=function(A){if(13===A.tag){var e=vr(A,134217728);null!==e&&Mt(e,A,134217728,Xe()),wd(A,134217728)}},_0=function(A){if(13===A.tag){var e=$r(A),t=vr(A,e);null!==t&&Mt(t,A,e,Xe()),wd(A,e)}},V0=function(){return $A},N0=function(A,e){var t=$A;try{return $A=A,e()}finally{$A=t}},Tc=function(A,e,t){switch(e){case"input":if(Uc(A,t),e=t.name,"radio"===t.type&&null!=e){for(t=A;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<t.length;e++){var n=t[e];if(n!==A&&n.form===A.form){var r=Fl(n);if(!r)throw Error(uA(90));w0(n),Uc(n,r)}}}break;case"textarea":C0(A,t);break;case"select":null!=(e=t.value)&&Ei(A,!!t.multiple,e,!1)}},I0=gd,b0=Rn;var lS={usingClientEntryPoint:!1,Events:[ha,gi,Fl,S0,x0,gd]},yo={findFiberByHostInstance:xn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},uS={bundleType:yo.bundleType,version:yo.version,rendererPackageName:yo.rendererPackageName,rendererConfig:yo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Cr.ReactCurrentDispatcher,findHostInstanceByFiber:function(A){return null===(A=L0(A))?null:A.stateNode},findFiberByHostInstance:yo.findFiberByHostInstance||aS,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var ys=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ys.isDisabled&&ys.supportsFiber)try{wl=ys.inject(uS),qt=ys}catch{}}function dv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||"function"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(dv)}catch(A){console.error(A)}}gt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=lS,gt.createPortal=function(A,e){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Cd(e))throw Error(uA(200));return oS(A,e,null,t)},gt.createRoot=function(A,e){if(!Cd(A))throw Error(uA(299));var t=!1,n="",r=fv;return null!=e&&(!0===e.unstable_strictMode&&(t=!0),void 0!==e.identifierPrefix&&(n=e.identifierPrefix),void 0!==e.onRecoverableError&&(r=e.onRecoverableError)),e=vd(A,1,!1,null,null,t,!1,n,r),A[mr]=e.current,Zo(8===A.nodeType?A.parentNode:A),new yd(e)},gt.findDOMNode=function(A){if(null==A)return null;if(1===A.nodeType)return A;var e=A._reactInternals;if(void 0===e)throw"function"==typeof A.render?Error(uA(188)):(A=Object.keys(A).join(","),Error(uA(268,A)));return null===(A=L0(e))?null:A.stateNode},gt.flushSync=function(A){return Rn(A)},gt.hydrate=function(A,e,t){if(!Ll(e))throw Error(uA(200));return Pl(null,A,e,!0,t)},gt.hydrateRoot=function(A,e,t){if(!Cd(A))throw Error(uA(405));var n=null!=t&&t.hydratedSources||null,r=!1,o="",i=fv;if(null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),e=cv(e,null,A,1,t??null,r,!1,o,i),A[mr]=e.current,Zo(A),n)for(A=0;A<n.length;A++)r=(r=(t=n[A])._getVersion)(t._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,r]:e.mutableSourceEagerHydrationData.push(t,r);return new Tl(e)},gt.render=function(A,e,t){if(!Ll(e))throw Error(uA(200));return Pl(null,A,e,!1,t)},gt.unmountComponentAtNode=function(A){if(!Ll(A))throw Error(uA(40));return!!A._reactRootContainer&&(Rn((function(){Pl(null,null,A,!1,(function(){A._reactRootContainer=null,A[mr]=null}))})),!0)},gt.unstable_batchedUpdates=gd,gt.unstable_renderSubtreeIntoContainer=function(A,e,t,n){if(!Ll(t))throw Error(uA(200));if(null==A||void 0===A._reactInternals)throw Error(uA(38));return Pl(A,e,t,!1,n)},gt.version="18.2.0-next-9e3b772b8-20220608",dv(),c0.exports=gt;var hv=c0.exports,Rp=hv;mc.createRoot=Rp.createRoot,mc.hydrateRoot=Rp.hydrateRoot;const gv=AA.createContext({transformPagePoint:A=>A,isStatic:!1,reducedMotion:"never"}),Dl=AA.createContext({}),Ol=AA.createContext(null),kl=typeof document<"u",Qd=kl?AA.useLayoutEffect:AA.useEffect,pv=AA.createContext({strict:!1});function cS(A,e,t,n){const{visualElement:r}=AA.useContext(Dl),o=AA.useContext(pv),i=AA.useContext(Ol),a=AA.useContext(gv).reducedMotion,s=AA.useRef();n=n||o.renderer,!s.current&&n&&(s.current=n(A,{visualState:e,parent:r,props:t,presenceContext:i,blockInitialAnimation:!!i&&!1===i.initial,reducedMotionConfig:a}));const l=s.current;AA.useInsertionEffect((()=>{l&&l.update(t,i)}));const u=AA.useRef(!!window.HandoffAppearAnimations);return Qd((()=>{l&&(l.render(),u.current&&l.animationState&&l.animationState.animateChanges())})),AA.useEffect((()=>{l&&(l.updateFeatures(),!u.current&&l.animationState&&l.animationState.animateChanges(),window.HandoffAppearAnimations=void 0,u.current=!1)})),l}function Ci(A){return"object"==typeof A&&Object.prototype.hasOwnProperty.call(A,"current")}function fS(A,e,t){return AA.useCallback((n=>{n&&A.mount&&A.mount(n),e&&(n?e.mount(n):e.unmount()),t&&("function"==typeof t?t(n):Ci(t)&&(t.current=n))}),[e])}function aa(A){return"string"==typeof A||Array.isArray(A)}function Rl(A){return"object"==typeof A&&"function"==typeof A.start}const Fd=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ud=["initial",...Fd];function Kl(A){return Rl(A.animate)||Ud.some((e=>aa(A[e])))}function Bv(A){return!(!Kl(A)&&!A.variants)}function dS(A,e){if(Kl(A)){const{initial:e,animate:t}=A;return{initial:!1===e||aa(e)?e:void 0,animate:aa(t)?t:void 0}}return!1!==A.inherit?e:{}}function hS(A){const{initial:e,animate:t}=dS(A,AA.useContext(Dl));return AA.useMemo((()=>({initial:e,animate:t})),[Kp(e),Kp(t)])}function Kp(A){return Array.isArray(A)?A.join(" "):A}const Mp={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"]},sa={};for(const A in Mp)sa[A]={isEnabled:e=>Mp[A].some((A=>!!e[A]))};function gS(A){for(const e in A)sa[e]={...sa[e],...A[e]}}const Ed=AA.createContext({}),mv=AA.createContext({}),pS=Symbol.for("motionComponentSymbol");function BS({preloadedFeatures:A,createVisualElement:e,useRender:t,useVisualState:n,Component:r}){A&&gS(A);const o=AA.forwardRef((function(o,i){let a;const s={...AA.useContext(gv),...o,layoutId:mS(o)},{isStatic:l}=s,u=hS(o),c=n(o,l);if(!l&&kl){u.visualElement=cS(r,c,s,e);const t=AA.useContext(mv),n=AA.useContext(pv).strict;u.visualElement&&(a=u.visualElement.loadFeatures(s,n,A,t))}return AA.createElement(Dl.Provider,{value:u},a&&u.visualElement?AA.createElement(a,{visualElement:u.visualElement,...s}):null,t(r,o,fS(c,u.visualElement,i),c,l,u.visualElement))}));return o[pS]=r,o}function mS({layoutId:A}){const e=AA.useContext(Ed).id;return e&&void 0!==A?e+"-"+A:A}function vS(A){function e(e,t={}){return BS(A(e,t))}if(typeof Proxy>"u")return e;const t=new Map;return new Proxy(e,{get:(A,n)=>(t.has(n)||t.set(n,e(n)),t.get(n))})}const wS=["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 Sd(A){return"string"==typeof A&&!A.includes("-")&&!!(wS.indexOf(A)>-1||/[A-Z]/.test(A))}const cl={};function yS(A){Object.assign(cl,A)}const pa=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],_n=new Set(pa);function vv(A,{layout:e,layoutId:t}){return _n.has(A)||A.startsWith("origin")||(e||void 0!==t)&&(!!cl[A]||"opacity"===A)}const at=A=>!(!A||!A.getVelocity),CS={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},QS=pa.length;function FS(A,{enableHardwareAcceleration:e=!0,allowTransformNone:t=!0},n,r){let o="";for(let e=0;e<QS;e++){const t=pa[e];void 0!==A[t]&&(o+=`${CS[t]||t}(${A[t]}) `)}return e&&!A.z&&(o+="translateZ(0)"),o=o.trim(),r?o=r(A,n?"":o):t&&n&&(o="none"),o}const wv=A=>e=>"string"==typeof e&&e.startsWith(A),yv=wv("--"),ff=wv("var(--"),US=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,ES=(A,e)=>e&&"number"==typeof A?e.transform(A):A,rn=(A,e,t)=>Math.min(Math.max(t,A),e),Vn={test:A=>"number"==typeof A,parse:parseFloat,transform:A=>A},Mo={...Vn,transform:A=>rn(0,1,A)},Cs={...Vn,default:1},_o=A=>Math.round(1e5*A)/1e5,Ml=/(-)?([\d]*\.?[\d])+/g,Cv=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,SS=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Ba(A){return"string"==typeof A}const ma=A=>({test:e=>Ba(e)&&e.endsWith(A)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${A}`}),kr=ma("deg"),er=ma("%"),TA=ma("px"),xS=ma("vh"),IS=ma("vw"),_p={...er,parse:A=>er.parse(A)/100,transform:A=>er.transform(100*A)},Vp={...Vn,transform:Math.round},Qv={borderWidth:TA,borderTopWidth:TA,borderRightWidth:TA,borderBottomWidth:TA,borderLeftWidth:TA,borderRadius:TA,radius:TA,borderTopLeftRadius:TA,borderTopRightRadius:TA,borderBottomRightRadius:TA,borderBottomLeftRadius:TA,width:TA,maxWidth:TA,height:TA,maxHeight:TA,size:TA,top:TA,right:TA,bottom:TA,left:TA,padding:TA,paddingTop:TA,paddingRight:TA,paddingBottom:TA,paddingLeft:TA,margin:TA,marginTop:TA,marginRight:TA,marginBottom:TA,marginLeft:TA,rotate:kr,rotateX:kr,rotateY:kr,rotateZ:kr,scale:Cs,scaleX:Cs,scaleY:Cs,scaleZ:Cs,skew:kr,skewX:kr,skewY:kr,distance:TA,translateX:TA,translateY:TA,translateZ:TA,x:TA,y:TA,z:TA,perspective:TA,transformPerspective:TA,opacity:Mo,originX:_p,originY:_p,originZ:TA,zIndex:Vp,fillOpacity:Mo,strokeOpacity:Mo,numOctaves:Vp};function xd(A,e,t,n){const{style:r,vars:o,transform:i,transformOrigin:a}=A;let s=!1,l=!1,u=!0;for(const A in e){const t=e[A];if(yv(A)){o[A]=t;continue}const n=Qv[A],c=ES(t,n);if(_n.has(A)){if(s=!0,i[A]=c,!u)continue;t!==(n.default||0)&&(u=!1)}else A.startsWith("origin")?(l=!0,a[A]=c):r[A]=c}if(e.transform||(s||n?r.transform=FS(A.transform,t,u,n):r.transform&&(r.transform="none")),l){const{originX:A="50%",originY:e="50%",originZ:t=0}=a;r.transformOrigin=`${A} ${e} ${t}`}}const Id=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Fv(A,e,t){for(const n in e)!at(e[n])&&!vv(n,t)&&(A[n]=e[n])}function bS({transformTemplate:A},e,t){return AA.useMemo((()=>{const n=Id();return xd(n,e,{enableHardwareAcceleration:!t},A),Object.assign({},n.vars,n.style)}),[e])}function HS(A,e,t){const n={};return Fv(n,A.style||{},A),Object.assign(n,bS(A,e,t)),A.transformValues?A.transformValues(n):n}function TS(A,e,t){const n={},r=HS(A,e,t);return A.drag&&!1!==A.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===A.drag?"none":"pan-"+("x"===A.drag?"y":"x")),void 0===A.tabIndex&&(A.onTap||A.onTapStart||A.whileTap)&&(n.tabIndex=0),n.style=r,n}const LS=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 fl(A){return A.startsWith("while")||A.startsWith("drag")&&"draggable"!==A||A.startsWith("layout")||A.startsWith("onTap")||A.startsWith("onPan")||LS.has(A)}let Uv=A=>!fl(A);function PS(A){A&&(Uv=e=>e.startsWith("on")?!fl(e):A(e))}try{PS(require("@emotion/is-prop-valid").default)}catch{}function DS(A,e,t){const n={};for(const r in A)"values"===r&&"object"==typeof A.values||(Uv(r)||!0===t&&fl(r)||!e&&!fl(r)||A.draggable&&r.startsWith("onDrag"))&&(n[r]=A[r]);return n}function Np(A,e,t){return"string"==typeof A?A:TA.transform(e+t*A)}function OS(A,e,t){return`${Np(e,A.x,A.width)} ${Np(t,A.y,A.height)}`}const kS={offset:"stroke-dashoffset",array:"stroke-dasharray"},RS={offset:"strokeDashoffset",array:"strokeDasharray"};function KS(A,e,t=1,n=0,r=!0){A.pathLength=1;const o=r?kS:RS;A[o.offset]=TA.transform(-n);const i=TA.transform(e),a=TA.transform(t);A[o.array]=`${i} ${a}`}function bd(A,{attrX:e,attrY:t,attrScale:n,originX:r,originY:o,pathLength:i,pathSpacing:a=1,pathOffset:s=0,...l},u,c,d){if(xd(A,l,u,d),c)return void(A.style.viewBox&&(A.attrs.viewBox=A.style.viewBox));A.attrs=A.style,A.style={};const{attrs:f,style:g,dimensions:h}=A;f.transform&&(h&&(g.transform=f.transform),delete f.transform),h&&(void 0!==r||void 0!==o||g.transform)&&(g.transformOrigin=OS(h,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==e&&(f.x=e),void 0!==t&&(f.y=t),void 0!==n&&(f.scale=n),void 0!==i&&KS(f,i,a,s,!1)}const Ev=()=>({...Id(),attrs:{}}),Hd=A=>"string"==typeof A&&"svg"===A.toLowerCase();function MS(A,e,t,n){const r=AA.useMemo((()=>{const t=Ev();return bd(t,e,{enableHardwareAcceleration:!1},Hd(n),A.transformTemplate),{...t.attrs,style:{...t.style}}}),[e]);if(A.style){const e={};Fv(e,A.style,A),r.style={...e,...r.style}}return r}function _S(A=!1){return(e,t,n,{latestValues:r},o)=>{const i=(Sd(e)?MS:TS)(t,r,o,e),a={...DS(t,"string"==typeof e,A),...i,ref:n},{children:s}=t,l=AA.useMemo((()=>at(s)?s.get():s),[s]);return AA.createElement(e,{...a,children:l})}}const Td=A=>A.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();function Sv(A,{style:e,vars:t},n,r){Object.assign(A.style,e,r&&r.getProjectionStyles(n));for(const e in t)A.style.setProperty(e,t[e])}const xv=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 Iv(A,e,t,n){Sv(A,e,void 0,n);for(const t in e.attrs)A.setAttribute(xv.has(t)?t:Td(t),e.attrs[t])}function Ld(A,e){const{style:t}=A,n={};for(const r in t)(at(t[r])||e.style&&at(e.style[r])||vv(r,A))&&(n[r]=t[r]);return n}function bv(A,e){const t=Ld(A,e);for(const n in A)(at(A[n])||at(e[n]))&&(t[-1!==pa.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=A[n]);return t}function Pd(A,e,t,n={},r={}){return"function"==typeof e&&(e=e(void 0!==t?t:A.custom,n,r)),"string"==typeof e&&(e=A.variants&&A.variants[e]),"function"==typeof e&&(e=e(void 0!==t?t:A.custom,n,r)),e}function Hv(A){const e=AA.useRef(null);return null===e.current&&(e.current=A()),e.current}const dl=A=>Array.isArray(A),VS=A=>!!(A&&"object"==typeof A&&A.mix&&A.toValue),NS=A=>dl(A)?A[A.length-1]||0:A;function Ks(A){const e=at(A)?A.get():A;return VS(e)?e.toValue():e}function GS({scrapeMotionValuesFromProps:A,createRenderState:e,onMount:t},n,r,o){const i={latestValues:jS(n,r,o,A),renderState:e()};return t&&(i.mount=A=>t(n,A,i)),i}const Tv=A=>(e,t)=>{const n=AA.useContext(Dl),r=AA.useContext(Ol),o=()=>GS(A,e,n,r);return t?o():Hv(o)};function jS(A,e,t,n){const r={},o=n(A,{});for(const A in o)r[A]=Ks(o[A]);let{initial:i,animate:a}=A;const s=Kl(A),l=Bv(A);e&&l&&!s&&!1!==A.inherit&&(void 0===i&&(i=e.initial),void 0===a&&(a=e.animate));let u=!!t&&!1===t.initial;u=u||!1===i;const c=u?a:i;return c&&"boolean"!=typeof c&&!Rl(c)&&(Array.isArray(c)?c:[c]).forEach((e=>{const t=Pd(A,e);if(!t)return;const{transitionEnd:n,transition:o,...i}=t;for(const A in i){let e=i[A];Array.isArray(e)&&(e=e[u?e.length-1:0]),null!==e&&(r[A]=e)}for(const A in n)r[A]=n[A]})),r}const me=A=>A;class Gp{constructor(){this.order=[],this.scheduled=new Set}add(A){if(!this.scheduled.has(A))return this.scheduled.add(A),this.order.push(A),!0}remove(A){const e=this.order.indexOf(A);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(A))}clear(){this.order.length=0,this.scheduled.clear()}}function WS(A){let e=new Gp,t=new Gp,n=0,r=!1,o=!1;const i=new WeakSet,a={schedule:(A,o=!1,a=!1)=>{const s=a&&r,l=s?e:t;return o&&i.add(A),l.add(A)&&s&&r&&(n=e.order.length),A},cancel:A=>{t.remove(A),i.delete(A)},process:s=>{if(r)o=!0;else{if(r=!0,[e,t]=[t,e],t.clear(),n=e.order.length,n)for(let t=0;t<n;t++){const n=e.order[t];n(s),i.has(n)&&(a.schedule(n),A())}r=!1,o&&(o=!1,a.process(s))}}};return a}const Qs=["prepare","read","update","preRender","render","postRender"],zS=40;function XS(A,e){let t=!1,n=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=Qs.reduce(((A,e)=>(A[e]=WS((()=>t=!0)),A)),{}),i=A=>o[A].process(r),a=()=>{const o=performance.now();t=!1,r.delta=n?1e3/60:Math.max(Math.min(o-r.timestamp,40),1),r.timestamp=o,r.isProcessing=!0,Qs.forEach(i),r.isProcessing=!1,t&&e&&(n=!1,A(a))};return{schedule:Qs.reduce(((e,i)=>{const s=o[i];return e[i]=(e,o=!1,i=!1)=>(t||(t=!0,n=!0,r.isProcessing||A(a)),s.schedule(e,o,i)),e}),{}),cancel:A=>Qs.forEach((e=>o[e].cancel(A))),state:r,steps:o}}const{schedule:re,cancel:yr,state:Te,steps:Ac}=XS(typeof requestAnimationFrame<"u"?requestAnimationFrame:me,!0),JS={useVisualState:Tv({scrapeMotionValuesFromProps:bv,createRenderState:Ev,onMount:(A,e,{renderState:t,latestValues:n})=>{re.read((()=>{try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}})),re.render((()=>{bd(t,n,{enableHardwareAcceleration:!1},Hd(e.tagName),A.transformTemplate),Iv(e,t)}))}})},YS={useVisualState:Tv({scrapeMotionValuesFromProps:Ld,createRenderState:Id})};function $S(A,{forwardMotionProps:e=!1},t,n){return{...Sd(A)?JS:YS,preloadedFeatures:t,useRender:_S(e),createVisualElement:n,Component:A}}function dr(A,e,t,n={passive:!0}){return A.addEventListener(e,t,n),()=>A.removeEventListener(e,t)}const Lv=A=>"mouse"===A.pointerType?"number"!=typeof A.button||A.button<=0:!1!==A.isPrimary;function _l(A,e="page"){return{point:{x:A[e+"X"],y:A[e+"Y"]}}}const ZS=A=>e=>Lv(e)&&A(e,_l(e));function gr(A,e,t,n){return dr(A,e,ZS(t),n)}const qS=(A,e)=>t=>e(A(t)),qr=(...A)=>A.reduce(qS);function Pv(A){let e=null;return()=>null===e&&(e=A,()=>{e=null})}const jp=Pv("dragHorizontal"),Wp=Pv("dragVertical");function Dv(A){let e=!1;if("y"===A)e=Wp();else if("x"===A)e=jp();else{const A=jp(),t=Wp();A&&t?e=()=>{A(),t()}:(A&&A(),t&&t())}return e}function Ov(){const A=Dv(!0);return!A||(A(),!1)}class ln{constructor(A){this.isMounted=!1,this.node=A}update(){}}function zp(A,e){const t="pointer"+(e?"enter":"leave"),n="onHover"+(e?"Start":"End");return gr(A.current,t,((t,r)=>{if("touch"===t.type||Ov())return;const o=A.getProps();A.animationState&&o.whileHover&&A.animationState.setActive("whileHover",e),o[n]&&re.update((()=>o[n](t,r)))}),{passive:!A.getProps()[n]})}class Ax extends ln{mount(){this.unmount=qr(zp(this.node,!0),zp(this.node,!1))}unmount(){}}class ex extends ln{constructor(){super(...arguments),this.isActive=!1}onFocus(){let A=!1;try{A=this.node.current.matches(":focus-visible")}catch{A=!0}!A||!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=qr(dr(this.node.current,"focus",(()=>this.onFocus())),dr(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}const kv=(A,e)=>!!e&&(A===e||kv(A,e.parentElement));function ec(A,e){if(!e)return;const t=new PointerEvent("pointer"+A);e(t,_l(t))}class tx extends ln{constructor(){super(...arguments),this.removeStartListeners=me,this.removeEndListeners=me,this.removeAccessibleListeners=me,this.startPointerPress=(A,e)=>{if(this.removeEndListeners(),this.isPressing)return;const t=this.node.getProps(),n=gr(window,"pointerup",((A,e)=>{if(!this.checkPressEnd())return;const{onTap:t,onTapCancel:n}=this.node.getProps();re.update((()=>{kv(this.node.current,A.target)?t&&t(A,e):n&&n(A,e)}))}),{passive:!(t.onTap||t.onPointerUp)}),r=gr(window,"pointercancel",((A,e)=>this.cancelPress(A,e)),{passive:!(t.onTapCancel||t.onPointerCancel)});this.removeEndListeners=qr(n,r),this.startPress(A,e)},this.startAccessiblePress=()=>{const A=dr(this.node.current,"keydown",(A=>{"Enter"!==A.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=dr(this.node.current,"keyup",(A=>{"Enter"!==A.key||!this.checkPressEnd()||ec("up",((A,e)=>{const{onTap:t}=this.node.getProps();t&&re.update((()=>t(A,e)))}))})),ec("down",((A,e)=>{this.startPress(A,e)})))})),e=dr(this.node.current,"blur",(()=>{this.isPressing&&ec("cancel",((A,e)=>this.cancelPress(A,e)))}));this.removeAccessibleListeners=qr(A,e)}}startPress(A,e){this.isPressing=!0;const{onTapStart:t,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),t&&re.update((()=>t(A,e)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ov()}cancelPress(A,e){if(!this.checkPressEnd())return;const{onTapCancel:t}=this.node.getProps();t&&re.update((()=>t(A,e)))}mount(){const A=this.node.getProps(),e=gr(this.node.current,"pointerdown",this.startPointerPress,{passive:!(A.onTapStart||A.onPointerStart)}),t=dr(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=qr(e,t)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const df=new WeakMap,tc=new WeakMap,rx=A=>{const e=df.get(A.target);e&&e(A)},nx=A=>{A.forEach(rx)};function ix({root:A,...e}){const t=A||document;tc.has(t)||tc.set(t,{});const n=tc.get(t),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(nx,{root:A,...e})),n[r]}function ox(A,e,t){const n=ix(e);return df.set(A,t),n.observe(A),()=>{df.delete(A),n.unobserve(A)}}const ax={some:0,all:1};class sx extends ln{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:A={}}=this.node.getProps(),{root:e,margin:t,amount:n="some",once:r}=A,o={root:e?e.current:void 0,rootMargin:t,threshold:"number"==typeof n?n:ax[n]};return ox(this.node.current,o,(A=>{const{isIntersecting:e}=A;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:t,onViewportLeave:n}=this.node.getProps(),o=e?t:n;o&&o(A)}))}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:A,prevProps:e}=this.node;["amount","margin","root"].some(lx(A,e))&&this.startObserver()}unmount(){}}function lx({viewport:A={}},{viewport:e={}}={}){return t=>A[t]!==e[t]}const ux={inView:{Feature:sx},tap:{Feature:tx},focus:{Feature:ex},hover:{Feature:Ax}};function Rv(A,e){if(!Array.isArray(e))return!1;const t=e.length;if(t!==A.length)return!1;for(let n=0;n<t;n++)if(e[n]!==A[n])return!1;return!0}function cx(A){const e={};return A.values.forEach(((A,t)=>e[t]=A.get())),e}function fx(A){const e={};return A.values.forEach(((A,t)=>e[t]=A.getVelocity())),e}function Vl(A,e,t){const n=A.getProps();return Pd(n,e,void 0!==t?t:n.custom,cx(A),fx(A))}const dx="framerAppearId",hx="data-"+Td(dx);let gx=me,Dd=me;const An=A=>1e3*A,pr=A=>A/1e3,px={current:!1},Kv=A=>Array.isArray(A)&&"number"==typeof A[0];function Mv(A){return!!(!A||"string"==typeof A&&_v[A]||Kv(A)||Array.isArray(A)&&A.every(Mv))}const bo=([A,e,t,n])=>`cubic-bezier(${A}, ${e}, ${t}, ${n})`,_v={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:bo([0,.65,.55,1]),circOut:bo([.55,0,1,.45]),backIn:bo([.31,.01,.66,-.59]),backOut:bo([.33,1.53,.69,.99])};function Vv(A){if(A)return Kv(A)?bo(A):Array.isArray(A)?A.map(Vv):_v[A]}function Bx(A,e,t,{delay:n=0,duration:r,repeat:o=0,repeatType:i="loop",ease:a,times:s}={}){const l={[e]:t};s&&(l.offset=s);const u=Vv(a);return Array.isArray(u)&&(l.easing=u),A.animate(l,{delay:n,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===i?"alternate":"normal"})}function mx(A,{repeat:e,repeatType:t="loop"}){return A[e&&"loop"!==t&&e%2==1?0:A.length-1]}const Nv=(A,e,t)=>(((1-3*t+3*e)*A+(3*t-6*e))*A+3*e)*A,vx=1e-7,wx=12;function yx(A,e,t,n,r){let o,i,a=0;do{i=e+(t-e)/2,o=Nv(i,n,r)-A,o>0?t=i:e=i}while(Math.abs(o)>vx&&++a<wx);return i}function va(A,e,t,n){return A===e&&t===n?me:r=>0===r||1===r?r:Nv((e=>yx(e,0,1,A,t))(r),e,n)}const Cx=va(.42,0,1,1),Qx=va(0,0,.58,1),Gv=va(.42,0,.58,1),Fx=A=>Array.isArray(A)&&"number"!=typeof A[0],jv=A=>e=>e<=.5?A(2*e)/2:(2-A(2*(1-e)))/2,Wv=A=>e=>1-A(1-e),zv=A=>1-Math.sin(Math.acos(A)),Od=Wv(zv),Ux=jv(Od),Xv=va(.33,1.53,.69,.99),kd=Wv(Xv),Ex=jv(kd),Sx=A=>(A*=2)<1?.5*kd(A):.5*(2-Math.pow(2,-10*(A-1))),xx={linear:me,easeIn:Cx,easeInOut:Gv,easeOut:Qx,circIn:zv,circInOut:Ux,circOut:Od,backIn:kd,backInOut:Ex,backOut:Xv,anticipate:Sx},Xp=A=>{if(Array.isArray(A)){Dd(4===A.length);const[e,t,n,r]=A;return va(e,t,n,r)}return"string"==typeof A?xx[A]:A},Rd=(A,e)=>t=>!!(Ba(t)&&SS.test(t)&&t.startsWith(A)||e&&Object.prototype.hasOwnProperty.call(t,e)),Jv=(A,e,t)=>n=>{if(!Ba(n))return n;const[r,o,i,a]=n.match(Ml);return{[A]:parseFloat(r),[e]:parseFloat(o),[t]:parseFloat(i),alpha:void 0!==a?parseFloat(a):1}},Ix=A=>rn(0,255,A),rc={...Vn,transform:A=>Math.round(Ix(A))},Hn={test:Rd("rgb","red"),parse:Jv("red","green","blue"),transform:({red:A,green:e,blue:t,alpha:n=1})=>"rgba("+rc.transform(A)+", "+rc.transform(e)+", "+rc.transform(t)+", "+_o(Mo.transform(n))+")"};function bx(A){let e="",t="",n="",r="";return A.length>5?(e=A.substring(1,3),t=A.substring(3,5),n=A.substring(5,7),r=A.substring(7,9)):(e=A.substring(1,2),t=A.substring(2,3),n=A.substring(3,4),r=A.substring(4,5),e+=e,t+=t,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(t,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}}const hf={test:Rd("#"),parse:bx,transform:Hn.transform},Qi={test:Rd("hsl","hue"),parse:Jv("hue","saturation","lightness"),transform:({hue:A,saturation:e,lightness:t,alpha:n=1})=>"hsla("+Math.round(A)+", "+er.transform(_o(e))+", "+er.transform(_o(t))+", "+_o(Mo.transform(n))+")"},We={test:A=>Hn.test(A)||hf.test(A)||Qi.test(A),parse:A=>Hn.test(A)?Hn.parse(A):Qi.test(A)?Qi.parse(A):hf.parse(A),transform:A=>Ba(A)?A:A.hasOwnProperty("red")?Hn.transform(A):Qi.transform(A)},fe=(A,e,t)=>-t*A+t*e+A;function nc(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+6*(e-A)*t:t<.5?e:t<2/3?A+(e-A)*(2/3-t)*6:A}function Hx({hue:A,saturation:e,lightness:t,alpha:n}){A/=360,t/=100;let r=0,o=0,i=0;if(e/=100){const n=t<.5?t*(1+e):t+e-t*e,a=2*t-n;r=nc(a,n,A+1/3),o=nc(a,n,A),i=nc(a,n,A-1/3)}else r=o=i=t;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*i),alpha:n}}const ic=(A,e,t)=>{const n=A*A;return Math.sqrt(Math.max(0,t*(e*e-n)+n))},Tx=[hf,Hn,Qi],Lx=A=>Tx.find((e=>e.test(A)));function Jp(A){const e=Lx(A);let t=e.parse(A);return e===Qi&&(t=Hx(t)),t}const Yv=(A,e)=>{const t=Jp(A),n=Jp(e),r={...t};return A=>(r.red=ic(t.red,n.red,A),r.green=ic(t.green,n.green,A),r.blue=ic(t.blue,n.blue,A),r.alpha=fe(t.alpha,n.alpha,A),Hn.transform(r))};function Px(A){var e,t;return isNaN(A)&&Ba(A)&&((null===(e=A.match(Ml))||void 0===e?void 0:e.length)||0)+((null===(t=A.match(Cv))||void 0===t?void 0:t.length)||0)>0}const $v={regex:US,countKey:"Vars",token:"${v}",parse:me},Zv={regex:Cv,countKey:"Colors",token:"${c}",parse:We.parse},qv={regex:Ml,countKey:"Numbers",token:"${n}",parse:Vn.parse};function oc(A,{regex:e,countKey:t,token:n,parse:r}){const o=A.tokenised.match(e);o&&(A["num"+t]=o.length,A.tokenised=A.tokenised.replace(e,n),A.values.push(...o.map(r)))}function hl(A){const e=A.toString(),t={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return t.value.includes("var(--")&&oc(t,$v),oc(t,Zv),oc(t,qv),t}function Aw(A){return hl(A).values}function ew(A){const{values:e,numColors:t,numVars:n,tokenised:r}=hl(A),o=e.length;return A=>{let e=r;for(let r=0;r<o;r++)e=r<n?e.replace($v.token,A[r]):r<n+t?e.replace(Zv.token,We.transform(A[r])):e.replace(qv.token,_o(A[r]));return e}}const Dx=A=>"number"==typeof A?0:A;function Ox(A){const e=Aw(A);return ew(A)(e.map(Dx))}const nn={test:Px,parse:Aw,createTransformer:ew,getAnimatableNone:Ox},tw=(A,e)=>t=>`${t>0?e:A}`;function rw(A,e){return"number"==typeof A?t=>fe(A,e,t):We.test(A)?Yv(A,e):A.startsWith("var(")?tw(A,e):iw(A,e)}const nw=(A,e)=>{const t=[...A],n=t.length,r=A.map(((A,t)=>rw(A,e[t])));return A=>{for(let e=0;e<n;e++)t[e]=r[e](A);return t}},kx=(A,e)=>{const t={...A,...e},n={};for(const r in t)void 0!==A[r]&&void 0!==e[r]&&(n[r]=rw(A[r],e[r]));return A=>{for(const e in n)t[e]=n[e](A);return t}},iw=(A,e)=>{const t=nn.createTransformer(e),n=hl(A),r=hl(e);return n.numVars===r.numVars&&n.numColors===r.numColors&&n.numNumbers>=r.numNumbers?qr(nw(n.values,r.values),t):tw(A,e)},la=(A,e,t)=>{const n=e-A;return 0===n?1:(t-A)/n},Yp=(A,e)=>t=>fe(A,e,t);function Rx(A){return"number"==typeof A?Yp:"string"==typeof A?We.test(A)?Yv:iw:Array.isArray(A)?nw:"object"==typeof A?kx:Yp}function Kx(A,e,t){const n=[],r=t||Rx(A[0]),o=A.length-1;for(let t=0;t<o;t++){let o=r(A[t],A[t+1]);if(e){const A=Array.isArray(e)?e[t]||me:e;o=qr(A,o)}n.push(o)}return n}function ow(A,e,{clamp:t=!0,ease:n,mixer:r}={}){const o=A.length;if(Dd(o===e.length),1===o)return()=>e[0];A[0]>A[o-1]&&(A=[...A].reverse(),e=[...e].reverse());const i=Kx(e,n,r),a=i.length,s=e=>{let t=0;if(a>1)for(;t<A.length-2&&!(e<A[t+1]);t++);const n=la(A[t],A[t+1],e);return i[t](n)};return t?e=>s(rn(A[0],A[o-1],e)):s}function Mx(A,e){const t=A[A.length-1];for(let n=1;n<=e;n++){const r=la(0,e,n);A.push(fe(t,1,r))}}function _x(A){const e=[0];return Mx(e,A.length-1),e}function Vx(A,e){return A.map((A=>A*e))}function Nx(A,e){return A.map((()=>e||Gv)).splice(0,A.length-1)}function gl({duration:A=300,keyframes:e,times:t,ease:n="easeInOut"}){const r=Fx(n)?n.map(Xp):Xp(n),o={done:!1,value:e[0]},i=ow(Vx(t&&t.length===e.length?t:_x(e),A),e,{ease:Array.isArray(r)?r:Nx(e,r)});return{calculatedDuration:A,next:e=>(o.value=i(e),o.done=e>=A,o)}}function aw(A,e){return e?A*(1e3/e):0}const Gx=5;function sw(A,e,t){const n=Math.max(e-Gx,0);return aw(t-A(n),e-n)}const ac=.001,jx=.01,$p=10,Wx=.05,zx=1;function Xx({duration:A=800,bounce:e=.25,velocity:t=0,mass:n=1}){let r,o;gx(A<=An($p));let i=1-e;i=rn(Wx,zx,i),A=rn(jx,$p,pr(A)),i<1?(r=e=>{const n=e*i,r=n*A,o=n-t,a=gf(e,i),s=Math.exp(-r);return ac-o/a*s},o=e=>{const n=e*i*A,o=n*t+t,a=Math.pow(i,2)*Math.pow(e,2)*A,s=Math.exp(-n),l=gf(Math.pow(e,2),i);return(-r(e)+ac>0?-1:1)*((o-a)*s)/l}):(r=e=>Math.exp(-e*A)*((e-t)*A+1)-ac,o=e=>Math.exp(-e*A)*(A*A*(t-e)));const a=Yx(r,o,5/A);if(A=An(A),isNaN(a))return{stiffness:100,damping:10,duration:A};{const e=Math.pow(a,2)*n;return{stiffness:e,damping:2*i*Math.sqrt(n*e),duration:A}}}const Jx=12;function Yx(A,e,t){let n=t;for(let t=1;t<Jx;t++)n-=A(n)/e(n);return n}function gf(A,e){return A*Math.sqrt(1-e*e)}const $x=["duration","bounce"],Zx=["stiffness","damping","mass"];function Zp(A,e){return e.some((e=>void 0!==A[e]))}function qx(A){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...A};if(!Zp(A,Zx)&&Zp(A,$x)){const t=Xx(A);e={...e,...t,velocity:0,mass:1},e.isResolvedFromDuration=!0}return e}function lw({keyframes:A,restDelta:e,restSpeed:t,...n}){const r=A[0],o=A[A.length-1],i={done:!1,value:r},{stiffness:a,damping:s,mass:l,velocity:u,duration:c,isResolvedFromDuration:d}=qx(n),f=u?-pr(u):0,g=s/(2*Math.sqrt(a*l)),h=o-r,p=pr(Math.sqrt(a/l)),B=Math.abs(h)<5;let m;if(t||(t=B?.01:2),e||(e=B?.005:.5),g<1){const A=gf(p,g);m=e=>{const t=Math.exp(-g*p*e);return o-t*((f+g*p*h)/A*Math.sin(A*e)+h*Math.cos(A*e))}}else if(1===g)m=A=>o-Math.exp(-p*A)*(h+(f+p*h)*A);else{const A=p*Math.sqrt(g*g-1);m=e=>{const t=Math.exp(-g*p*e),n=Math.min(A*e,300);return o-t*((f+g*p*h)*Math.sinh(n)+A*h*Math.cosh(n))/A}}return{calculatedDuration:d&&c||null,next:A=>{const n=m(A);if(d)i.done=A>=c;else{let r=f;0!==A&&(r=g<1?sw(m,A,n):0);const a=Math.abs(r)<=t,s=Math.abs(o-n)<=e;i.done=a&&s}return i.value=i.done?o:n,i}}}function qp({keyframes:A,velocity:e=0,power:t=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:i,min:a,max:s,restDelta:l=.5,restSpeed:u}){const c=A[0],d={done:!1,value:c},f=A=>void 0===a?s:void 0===s||Math.abs(a-A)<Math.abs(s-A)?a:s;let g=t*e;const h=c+g,p=void 0===i?h:i(h);p!==h&&(g=p-c);const B=A=>-g*Math.exp(-A/n),m=A=>p+B(A),w=A=>{const e=B(A),t=m(A);d.done=Math.abs(e)<=l,d.value=d.done?p:t};let y,v;const Q=A=>{(A=>void 0!==a&&A<a||void 0!==s&&A>s)(d.value)&&(y=A,v=lw({keyframes:[d.value,f(d.value)],velocity:sw(m,A,d.value),damping:r,stiffness:o,restDelta:l,restSpeed:u}))};return Q(0),{calculatedDuration:null,next:A=>{let e=!1;return!v&&void 0===y&&(e=!0,w(A),Q(A)),void 0!==y&&A>y?v.next(A-y):(!e&&w(A),d)}}}const AI=A=>{const e=({timestamp:e})=>A(e);return{start:()=>re.update(e,!0),stop:()=>yr(e),now:()=>Te.isProcessing?Te.timestamp:performance.now()}},AB=2e4;function eB(A){let e=0,t=A.next(e);for(;!t.done&&e<AB;)e+=50,t=A.next(e);return e>=AB?1/0:e}const eI={decay:qp,inertia:qp,tween:gl,keyframes:gl,spring:lw};function pl({autoplay:A=!0,delay:e=0,driver:t=AI,keyframes:n,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:a="loop",onPlay:s,onStop:l,onComplete:u,onUpdate:c,...d}){let f,g,h=1,p=!1;const B=()=>{g=new Promise((A=>{f=A}))};let m;B();const w=eI[r]||gl;let y;w!==gl&&"number"!=typeof n[0]&&(y=ow([0,100],n,{clamp:!1}),n=[0,100]);const v=w({...d,keyframes:n});let Q;"mirror"===a&&(Q=w({...d,keyframes:[...n].reverse(),velocity:-(d.velocity||0)}));let b="idle",C=null,U=null,F=null;null===v.calculatedDuration&&o&&(v.calculatedDuration=eB(v));const{calculatedDuration:E}=v;let x=1/0,H=1/0;null!==E&&(x=E+i,H=x*(o+1)-i);let S=0;const I=A=>{if(null===U)return;h>0&&(U=Math.min(U,A)),h<0&&(U=Math.min(A-H/h,U)),S=null!==C?C:Math.round(A-U)*h;const t=S-e*(h>=0?1:-1),r=h>=0?t<0:t>H;S=Math.max(t,0),"finished"===b&&null===C&&(S=H);let s=S,l=v;if(o){const A=S/x;let e=Math.floor(A),t=A%1;!t&&A>=1&&(t=1),1===t&&e--,e=Math.min(e,o+1);const n=!!(e%2);n&&("reverse"===a?(t=1-t,i&&(t-=i/x)):"mirror"===a&&(l=Q));let r=rn(0,1,t);S>H&&(r="reverse"===a&&n?1:0),s=r*x}const u=r?{done:!1,value:n[0]}:l.next(s);y&&(u.value=y(u.value));let{done:d}=u;!r&&null!==E&&(d=h>=0?S>=H:S<=0);const f=null===C&&("finished"===b||"running"===b&&d);return c&&c(u.value),f&&P(),u},k=()=>{m&&m.stop(),m=void 0},L=()=>{b="idle",k(),f(),B(),U=F=null},P=()=>{b="finished",u&&u(),k(),f()},T=()=>{if(p)return;m||(m=t(I));const A=m.now();s&&s(),null!==C?U=A-C:(!U||"finished"===b)&&(U=A),"finished"===b&&B(),F=U,C=null,b="running",m.start()};A&&T();const O={then:(A,e)=>g.then(A,e),get time(){return pr(S)},set time(A){A=An(A),S=A,null===C&&m&&0!==h?U=m.now()-A/h:C=A},get duration(){const A=null===v.calculatedDuration?eB(v):v.calculatedDuration;return pr(A)},get speed(){return h},set speed(A){A===h||!m||(h=A,O.time=pr(S))},get state(){return b},play:T,pause:()=>{b="paused",C=S},stop:()=>{p=!0,"idle"!==b&&(b="idle",l&&l(),L())},cancel:()=>{null!==F&&I(F),L()},complete:()=>{b="finished"},sample:A=>(U=0,I(A))};return O}function tI(A){let e;return()=>(void 0===e&&(e=A()),e)}const rI=tI((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),nI=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),Fs=10,iI=2e4,oI=(A,e)=>"spring"===e.type||"backgroundColor"===A||!Mv(e.ease);function aI(A,e,{onUpdate:t,onComplete:n,...r}){if(!rI()||!nI.has(e)||r.repeatDelay||"mirror"===r.repeatType||0===r.damping||"inertia"===r.type)return!1;let o,i,a=!1;const s=()=>{i=new Promise((A=>{o=A}))};s();let{keyframes:l,duration:u=300,ease:c,times:d}=r;if(oI(e,r)){const A=pl({...r,repeat:0,delay:0});let e={done:!1,value:l[0]};const t=[];let n=0;for(;!e.done&&n<iI;)e=A.sample(n),t.push(e.value),n+=10;d=void 0,l=t,u=n-10,c="linear"}const f=Bx(A.owner.current,e,l,{...r,duration:u,ease:c,times:d});r.syncStart&&(f.startTime=Te.isProcessing?Te.timestamp:document.timeline?document.timeline.currentTime:performance.now());const g=()=>f.cancel(),h=()=>{re.update(g),o(),s()};return f.onfinish=()=>{A.set(mx(l,r)),n&&n(),h()},{then:(A,e)=>i.then(A,e),attachTimeline:A=>(f.timeline=A,f.onfinish=null,me),get time(){return pr(f.currentTime||0)},set time(A){f.currentTime=An(A)},get speed(){return f.playbackRate},set speed(A){f.playbackRate=A},get duration(){return pr(u)},play:()=>{a||(f.play(),yr(g))},pause:()=>f.pause(),stop:()=>{if(a=!0,"idle"===f.playState)return;const{currentTime:e}=f;if(e){const t=pl({...r,autoplay:!1});A.setWithVelocity(t.sample(e-10).value,t.sample(e).value,10)}h()},complete:()=>f.finish(),cancel:h}}function sI({keyframes:A,delay:e,onUpdate:t,onComplete:n}){const r=()=>(t&&t(A[A.length-1]),n&&n(),{time:0,speed:1,duration:0,play:me,pause:me,stop:me,then:A=>(A(),Promise.resolve()),cancel:me,complete:me});return e?pl({keyframes:[0,1],duration:0,delay:e,onComplete:r}):r()}const lI={type:"spring",stiffness:500,damping:25,restSpeed:10},uI=A=>({type:"spring",stiffness:550,damping:0===A?2*Math.sqrt(550):30,restSpeed:10}),cI={type:"keyframes",duration:.8},fI={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dI=(A,{keyframes:e})=>e.length>2?cI:_n.has(A)?A.startsWith("scale")?uI(e[1]):lI:fI,pf=(A,e)=>"zIndex"!==A&&!("number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!nn.test(e)&&"0"!==e||e.startsWith("url("))),hI=new Set(["brightness","contrast","saturate","opacity"]);function gI(A){const[e,t]=A.slice(0,-1).split("(");if("drop-shadow"===e)return A;const[n]=t.match(Ml)||[];if(!n)return A;const r=t.replace(n,"");let o=hI.has(e)?1:0;return n!==t&&(o*=100),e+"("+o+r+")"}const pI=/([a-z-]*)\(.*?\)/g,Bf={...nn,getAnimatableNone:A=>{const e=A.match(pI);return e?e.map(gI).join(" "):A}},BI={...Qv,color:We,backgroundColor:We,outlineColor:We,fill:We,stroke:We,borderColor:We,borderTopColor:We,borderRightColor:We,borderBottomColor:We,borderLeftColor:We,filter:Bf,WebkitFilter:Bf},Kd=A=>BI[A];function uw(A,e){let t=Kd(A);return t!==Bf&&(t=nn),t.getAnimatableNone?t.getAnimatableNone(e):void 0}const cw=A=>/^0[^.\s]+$/.test(A);function mI(A){return"number"==typeof A?0===A:null!==A?"none"===A||"0"===A||cw(A):void 0}function vI(A,e,t,n){const r=pf(e,t);let o;o=Array.isArray(t)?[...t]:[null,t];const i=void 0!==n.from?n.from:A.get();let a;const s=[];for(let A=0;A<o.length;A++)null===o[A]&&(o[A]=0===A?i:o[A-1]),mI(o[A])&&s.push(A),"string"==typeof o[A]&&"none"!==o[A]&&"0"!==o[A]&&(a=o[A]);if(r&&s.length&&a)for(let A=0;A<s.length;A++)o[s[A]]=uw(e,a);return o}function wI({when:A,delay:e,delayChildren:t,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:i,repeatDelay:a,from:s,elapsed:l,...u}){return!!Object.keys(u).length}function fw(A,e){return A[e]||A.default||A}const Md=(A,e,t,n={})=>r=>{const o=fw(n,A)||{},i=o.delay||n.delay||0;let{elapsed:a=0}=n;a-=An(i);const s=vI(e,A,t,o),l=s[0],u=s[s.length-1],c=pf(A,l),d=pf(A,u);let f={keyframes:s,velocity:e.getVelocity(),ease:"easeOut",...o,delay:-a,onUpdate:A=>{e.set(A),o.onUpdate&&o.onUpdate(A)},onComplete:()=>{r(),o.onComplete&&o.onComplete()}};if(wI(o)||(f={...f,...dI(A,f)}),f.duration&&(f.duration=An(f.duration)),f.repeatDelay&&(f.repeatDelay=An(f.repeatDelay)),!c||!d||px.current||!1===o.type)return sI(f);if(e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const t=aI(e,A,f);if(t)return t}return pl(f)};function Bl(A){return!(!at(A)||!A.add)}const dw=A=>/^\-?\d*\.?\d+$/.test(A);function _d(A,e){-1===A.indexOf(e)&&A.push(e)}function Vd(A,e){const t=A.indexOf(e);t>-1&&A.splice(t,1)}class Nd{constructor(){this.subscriptions=[]}add(A){return _d(this.subscriptions,A),()=>Vd(this.subscriptions,A)}notify(A,e,t){const n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](A,e,t);else for(let r=0;r<n;r++){const n=this.subscriptions[r];n&&n(A,e,t)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const yI=A=>!isNaN(parseFloat(A));class CI{constructor(A,e={}){this.version="10.16.4",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(A,e=!0)=>{this.prev=this.current,this.current=A;const{delta:t,timestamp:n}=Te;this.lastUpdated!==n&&(this.timeDelta=t,this.lastUpdated=n,re.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()),e&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>re.postRender(this.velocityCheck),this.velocityCheck=({timestamp:A})=>{A!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=A,this.canTrackVelocity=yI(this.current),this.owner=e.owner}onChange(A){return this.on("change",A)}on(A,e){this.events[A]||(this.events[A]=new Nd);const t=this.events[A].add(e);return"change"===A?()=>{t(),re.read((()=>{this.events.change.getSize()||this.stop()}))}:t}clearListeners(){for(const A in this.events)this.events[A].clear()}attach(A,e){this.passiveEffect=A,this.stopPassiveEffect=e}set(A,e=!0){e&&this.passiveEffect?this.passiveEffect(A,this.updateAndNotify):this.updateAndNotify(A,e)}setWithVelocity(A,e,t){this.set(e),this.prev=A,this.timeDelta=t}jump(A){this.updateAndNotify(A),this.prev=A,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?aw(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(A){return this.stop(),new Promise((e=>{this.hasAnimated=!0,this.animation=A(e),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 Ki(A,e){return new CI(A,e)}const hw=A=>e=>e.test(A),QI={test:A=>"auto"===A,parse:A=>A},gw=[Vn,TA,er,kr,IS,xS,QI],Co=A=>gw.find(hw(A)),FI=[...gw,We,nn],UI=A=>FI.find(hw(A));function EI(A,e,t){A.hasValue(e)?A.getValue(e).set(t):A.addValue(e,Ki(t))}function SI(A,e){const t=Vl(A,e);let{transitionEnd:n={},transition:r={},...o}=t?A.makeTargetAnimatable(t,!1):{};o={...o,...n};for(const e in o)EI(A,e,NS(o[e]))}function xI(A,e,t){var n,r;const o=Object.keys(e).filter((e=>!A.hasValue(e))),i=o.length;if(i)for(let a=0;a<i;a++){const i=o[a],s=e[i];let l=null;Array.isArray(s)&&(l=s[0]),null===l&&(l=null!==(r=null!==(n=t[i])&&void 0!==n?n:A.readValue(i))&&void 0!==r?r:e[i]),null!=l&&("string"==typeof l&&(dw(l)||cw(l))?l=parseFloat(l):!UI(l)&&nn.test(s)&&(l=uw(i,s)),A.addValue(i,Ki(l,{owner:A})),void 0===t[i]&&(t[i]=l),null!==l&&A.setBaseTarget(i,l))}}function II(A,e){return e?(e[A]||e.default||e).from:void 0}function bI(A,e,t){const n={};for(const r in A){const A=II(r,e);if(void 0!==A)n[r]=A;else{const A=t.getValue(r);A&&(n[r]=A.get())}}return n}function HI({protectedKeys:A,needsAnimating:e},t){const n=A.hasOwnProperty(t)&&!0!==e[t];return e[t]=!1,n}function pw(A,e,{delay:t=0,transitionOverride:n,type:r}={}){let{transition:o=A.getDefaultTransition(),transitionEnd:i,...a}=A.makeTargetAnimatable(e);const s=A.getValue("willChange");n&&(o=n);const l=[],u=r&&A.animationState&&A.animationState.getState()[r];for(const e in a){const n=A.getValue(e),r=a[e];if(!n||void 0===r||u&&HI(u,e))continue;const i={delay:t,elapsed:0,...o};if(window.HandoffAppearAnimations&&!n.hasAnimated){const t=A.getProps()[hx];t&&(i.elapsed=window.HandoffAppearAnimations(t,e,n,re),i.syncStart=!0)}n.start(Md(e,n,r,A.shouldReduceMotion&&_n.has(e)?{type:!1}:i));const c=n.animation;Bl(s)&&(s.add(e),c.then((()=>s.remove(e)))),l.push(c)}return i&&Promise.all(l).then((()=>{i&&SI(A,i)})),l}function mf(A,e,t={}){const n=Vl(A,e,t.custom);let{transition:r=A.getDefaultTransition()||{}}=n||{};t.transitionOverride&&(r=t.transitionOverride);const o=n?()=>Promise.all(pw(A,n,t)):()=>Promise.resolve(),i=A.variantChildren&&A.variantChildren.size?(n=0)=>{const{delayChildren:o=0,staggerChildren:i,staggerDirection:a}=r;return TI(A,e,o+n,i,a,t)}:()=>Promise.resolve(),{when:a}=r;if(a){const[A,e]="beforeChildren"===a?[o,i]:[i,o];return A().then((()=>e()))}return Promise.all([o(),i(t.delay)])}function TI(A,e,t=0,n=0,r=1,o){const i=[],a=(A.variantChildren.size-1)*n,s=1===r?(A=0)=>A*n:(A=0)=>a-A*n;return Array.from(A.variantChildren).sort(LI).forEach(((A,n)=>{A.notify("AnimationStart",e),i.push(mf(A,e,{...o,delay:t+s(n)}).then((()=>A.notify("AnimationComplete",e))))})),Promise.all(i)}function LI(A,e){return A.sortNodePosition(e)}function PI(A,e,t={}){let n;if(A.notify("AnimationStart",e),Array.isArray(e)){const r=e.map((e=>mf(A,e,t)));n=Promise.all(r)}else if("string"==typeof e)n=mf(A,e,t);else{const r="function"==typeof e?Vl(A,e,t.custom):e;n=Promise.all(pw(A,r,t))}return n.then((()=>A.notify("AnimationComplete",e)))}const DI=[...Fd].reverse(),OI=Fd.length;function kI(A){return e=>Promise.all(e.map((({animation:e,options:t})=>PI(A,e,t))))}function RI(A){let e=kI(A);const t=MI();let n=!0;const r=(e,t)=>{const n=Vl(A,t);if(n){const{transition:A,transitionEnd:t,...r}=n;e={...e,...r,...t}}return e};function o(o,i){const a=A.getProps(),s=A.getVariantContext(!0)||{},l=[],u=new Set;let c={},d=1/0;for(let e=0;e<OI;e++){const f=DI[e],g=t[f],h=void 0!==a[f]?a[f]:s[f],p=aa(h),B=f===i?g.isActive:null;!1===B&&(d=e);let m=h===s[f]&&h!==a[f]&&p;if(m&&n&&A.manuallyAnimateOnMount&&(m=!1),g.protectedKeys={...c},!g.isActive&&null===B||!h&&!g.prevProp||Rl(h)||"boolean"==typeof h)continue;const w=KI(g.prevProp,h);let y=w||f===i&&g.isActive&&!m&&p||e>d&&p;const v=Array.isArray(h)?h:[h];let Q=v.reduce(r,{});!1===B&&(Q={});const{prevResolvedValues:b={}}=g,C={...b,...Q},U=A=>{y=!0,u.delete(A),g.needsAnimating[A]=!0};for(const A in C){const e=Q[A],t=b[A];c.hasOwnProperty(A)||(e!==t?dl(e)&&dl(t)?!Rv(e,t)||w?U(A):g.protectedKeys[A]=!0:void 0!==e?U(A):u.add(A):void 0!==e&&u.has(A)?U(A):g.protectedKeys[A]=!0)}g.prevProp=h,g.prevResolvedValues=Q,g.isActive&&(c={...c,...Q}),n&&A.blockInitialAnimation&&(y=!1),y&&!m&&l.push(...v.map((A=>({animation:A,options:{type:f,...o}}))))}if(u.size){const e={};u.forEach((t=>{const n=A.getBaseTarget(t);void 0!==n&&(e[t]=n)})),l.push({animation:e})}let f=!!l.length;return n&&!1===a.initial&&!A.manuallyAnimateOnMount&&(f=!1),n=!1,f?e(l):Promise.resolve()}return{animateChanges:o,setActive:function(e,n,r){var i;if(t[e].isActive===n)return Promise.resolve();null===(i=A.variantChildren)||void 0===i||i.forEach((A=>{var t;return null===(t=A.animationState)||void 0===t?void 0:t.setActive(e,n)})),t[e].isActive=n;const a=o(r,e);for(const A in t)t[A].protectedKeys={};return a},setAnimateFunction:function(t){e=t(A)},getState:()=>t}}function KI(A,e){return"string"==typeof e?e!==A:!!Array.isArray(e)&&!Rv(e,A)}function Qn(A=!1){return{isActive:A,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function MI(){return{animate:Qn(!0),whileInView:Qn(),whileHover:Qn(),whileTap:Qn(),whileDrag:Qn(),whileFocus:Qn(),exit:Qn()}}class _I extends ln{constructor(A){super(A),A.animationState||(A.animationState=RI(A))}updateAnimationControlsSubscription(){const{animate:A}=this.node.getProps();this.unmount(),Rl(A)&&(this.unmount=A.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:A}=this.node.getProps(),{animate:e}=this.node.prevProps||{};A!==e&&this.updateAnimationControlsSubscription()}unmount(){}}let VI=0;class NI extends ln{constructor(){super(...arguments),this.id=VI++}update(){if(!this.node.presenceContext)return;const{isPresent:A,onExitComplete:e,custom:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||A===n)return;const r=this.node.animationState.setActive("exit",!A,{custom:t??this.node.getProps().custom});e&&!A&&r.then((()=>e(this.id)))}mount(){const{register:A}=this.node.presenceContext||{};A&&(this.unmount=A(this.id))}unmount(){}}const GI={animation:{Feature:_I},exit:{Feature:NI}},tB=(A,e)=>Math.abs(A-e);function jI(A,e){const t=tB(A.x,e.x),n=tB(A.y,e.y);return Math.sqrt(t**2+n**2)}class Bw{constructor(A,e,{transformPagePoint:t}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const A=lc(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,t=jI(A.offset,{x:0,y:0})>=3;if(!e&&!t)return;const{point:n}=A,{timestamp:r}=Te;this.history.push({...n,timestamp:r});const{onStart:o,onMove:i}=this.handlers;e||(o&&o(this.lastMoveEvent,A),this.startEvent=this.lastMoveEvent),i&&i(this.lastMoveEvent,A)},this.handlePointerMove=(A,e)=>{this.lastMoveEvent=A,this.lastMoveEventInfo=sc(e,this.transformPagePoint),re.update(this.updatePoint,!0)},this.handlePointerUp=(A,e)=>{if(this.end(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const{onEnd:t,onSessionEnd:n}=this.handlers,r=lc("pointercancel"===A.type?this.lastMoveEventInfo:sc(e,this.transformPagePoint),this.history);this.startEvent&&t&&t(A,r),n&&n(A,r)},!Lv(A))return;this.handlers=e,this.transformPagePoint=t;const n=sc(_l(A),this.transformPagePoint),{point:r}=n,{timestamp:o}=Te;this.history=[{...r,timestamp:o}];const{onSessionStart:i}=e;i&&i(A,lc(n,this.history)),this.removeListeners=qr(gr(window,"pointermove",this.handlePointerMove),gr(window,"pointerup",this.handlePointerUp),gr(window,"pointercancel",this.handlePointerUp))}updateHandlers(A){this.handlers=A}end(){this.removeListeners&&this.removeListeners(),yr(this.updatePoint)}}function sc(A,e){return e?{point:e(A.point)}:A}function rB(A,e){return{x:A.x-e.x,y:A.y-e.y}}function lc({point:A},e){return{point:A,delta:rB(A,mw(e)),offset:rB(A,WI(e)),velocity:zI(e,.1)}}function WI(A){return A[0]}function mw(A){return A[A.length-1]}function zI(A,e){if(A.length<2)return{x:0,y:0};let t=A.length-1,n=null;const r=mw(A);for(;t>=0&&(n=A[t],!(r.timestamp-n.timestamp>An(e)));)t--;if(!n)return{x:0,y:0};const o=pr(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};const i={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function ht(A){return A.max-A.min}function vf(A,e=0,t=.01){return Math.abs(A-e)<=t}function nB(A,e,t,n=.5){A.origin=n,A.originPoint=fe(e.min,e.max,A.origin),A.scale=ht(t)/ht(e),(vf(A.scale,1,1e-4)||isNaN(A.scale))&&(A.scale=1),A.translate=fe(t.min,t.max,A.origin)-A.originPoint,(vf(A.translate)||isNaN(A.translate))&&(A.translate=0)}function Vo(A,e,t,n){nB(A.x,e.x,t.x,n?n.originX:void 0),nB(A.y,e.y,t.y,n?n.originY:void 0)}function iB(A,e,t){A.min=t.min+e.min,A.max=A.min+ht(e)}function XI(A,e,t){iB(A.x,e.x,t.x),iB(A.y,e.y,t.y)}function oB(A,e,t){A.min=e.min-t.min,A.max=A.min+ht(e)}function No(A,e,t){oB(A.x,e.x,t.x),oB(A.y,e.y,t.y)}function JI(A,{min:e,max:t},n){return void 0!==e&&A<e?A=n?fe(e,A,n.min):Math.max(A,e):void 0!==t&&A>t&&(A=n?fe(t,A,n.max):Math.min(A,t)),A}function aB(A,e,t){return{min:void 0!==e?A.min+e:void 0,max:void 0!==t?A.max+t-(A.max-A.min):void 0}}function YI(A,{top:e,left:t,bottom:n,right:r}){return{x:aB(A.x,t,r),y:aB(A.y,e,n)}}function sB(A,e){let t=e.min-A.min,n=e.max-A.max;return e.max-e.min<A.max-A.min&&([t,n]=[n,t]),{min:t,max:n}}function $I(A,e){return{x:sB(A.x,e.x),y:sB(A.y,e.y)}}function ZI(A,e){let t=.5;const n=ht(A),r=ht(e);return r>n?t=la(e.min,e.max-n,A.min):n>r&&(t=la(A.min,A.max-r,e.min)),rn(0,1,t)}function qI(A,e){const t={};return void 0!==e.min&&(t.min=e.min-A.min),void 0!==e.max&&(t.max=e.max-A.min),t}const wf=.35;function Ab(A=wf){return!1===A?A=0:!0===A&&(A=wf),{x:lB(A,"left","right"),y:lB(A,"top","bottom")}}function lB(A,e,t){return{min:uB(A,e),max:uB(A,t)}}function uB(A,e){return"number"==typeof A?A:A[e]||0}const cB=()=>({translate:0,scale:1,origin:0,originPoint:0}),Fi=()=>({x:cB(),y:cB()}),fB=()=>({min:0,max:0}),Qe=()=>({x:fB(),y:fB()});function $t(A){return[A("x"),A("y")]}function vw({top:A,left:e,right:t,bottom:n}){return{x:{min:e,max:t},y:{min:A,max:n}}}function eb({x:A,y:e}){return{top:e.min,right:A.max,bottom:e.max,left:A.min}}function tb(A,e){if(!e)return A;const t=e({x:A.left,y:A.top}),n=e({x:A.right,y:A.bottom});return{top:t.y,left:t.x,bottom:n.y,right:n.x}}function uc(A){return void 0===A||1===A}function yf({scale:A,scaleX:e,scaleY:t}){return!uc(A)||!uc(e)||!uc(t)}function En(A){return yf(A)||ww(A)||A.z||A.rotate||A.rotateX||A.rotateY}function ww(A){return dB(A.x)||dB(A.y)}function dB(A){return A&&"0%"!==A}function ml(A,e,t){return t+e*(A-t)}function hB(A,e,t,n,r){return void 0!==r&&(A=ml(A,r,n)),ml(A,t,n)+e}function Cf(A,e=0,t=1,n,r){A.min=hB(A.min,e,t,n,r),A.max=hB(A.max,e,t,n,r)}function yw(A,{x:e,y:t}){Cf(A.x,e.translate,e.scale,e.originPoint),Cf(A.y,t.translate,t.scale,t.originPoint)}function rb(A,e,t,n=!1){const r=t.length;if(!r)return;let o,i;e.x=e.y=1;for(let a=0;a<r;a++){o=t[a],i=o.projectionDelta;const r=o.instance;r&&r.style&&"contents"===r.style.display||(n&&o.options.layoutScroll&&o.scroll&&o!==o.root&&Ui(A,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),i&&(e.x*=i.x.scale,e.y*=i.y.scale,yw(A,i)),n&&En(o.latestValues)&&Ui(A,o.latestValues))}e.x=gB(e.x),e.y=gB(e.y)}function gB(A){return Number.isInteger(A)||A>1.0000000000001||A<.999999999999?A:1}function Mr(A,e){A.min=A.min+e,A.max=A.max+e}function pB(A,e,[t,n,r]){const o=void 0!==e[r]?e[r]:.5,i=fe(A.min,A.max,o);Cf(A,e[t],e[n],i,e.scale)}const nb=["x","scaleX","originX"],ib=["y","scaleY","originY"];function Ui(A,e){pB(A.x,e,nb),pB(A.y,e,ib)}function Cw(A,e){return vw(tb(A.getBoundingClientRect(),e))}function ob(A,e,t){const n=Cw(A,t),{scroll:r}=e;return r&&(Mr(n.x,r.offset.x),Mr(n.y,r.offset.y)),n}const ab=new WeakMap;class sb{constructor(A){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=A}start(A,{snapToCursor:e=!1}={}){const{presenceContext:t}=this.visualElement;t&&!1===t.isPresent||(this.panSession=new Bw(A,{onSessionStart:A=>{this.stopAnimation(),e&&this.snapToCursor(_l(A,"page").point)},onStart:(A,e)=>{const{drag:t,dragPropagation:n,onDragStart:r}=this.getProps();if(t&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Dv(t),!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),$t((A=>{let e=this.getAxisMotionValue(A).get()||0;if(er.test(e)){const{projection:t}=this.visualElement;if(t&&t.layout){const n=t.layout.layoutBox[A];n&&(e=ht(n)*(parseFloat(e)/100))}}this.originPoint[A]=e})),r&&re.update((()=>r(A,e)),!1,!0);const{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(A,e)=>{const{dragPropagation:t,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!t&&!this.openGlobalLock)return;const{offset:i}=e;if(n&&null===this.currentDirection)return this.currentDirection=lb(i),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",e.point,i),this.updateAxis("y",e.point,i),this.visualElement.render(),o&&o(A,e)},onSessionEnd:(A,e)=>this.stop(A,e)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(A,e){const t=this.isDragging;if(this.cancel(),!t)return;const{velocity:n}=e;this.startAnimation(n);const{onDragEnd:r}=this.getProps();r&&re.update((()=>r(A,e)))}cancel(){this.isDragging=!1;const{projection:A,animationState:e}=this.visualElement;A&&(A.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:t}=this.getProps();!t&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(A,e,t){const{drag:n}=this.getProps();if(!t||!Us(A,n,this.currentDirection))return;const r=this.getAxisMotionValue(A);let o=this.originPoint[A]+t[A];this.constraints&&this.constraints[A]&&(o=JI(o,this.constraints[A],this.elastic[A])),r.set(o)}resolveConstraints(){const{dragConstraints:A,dragElastic:e}=this.getProps(),{layout:t}=this.visualElement.projection||{},n=this.constraints;A&&Ci(A)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!A||!t)&&YI(t.layoutBox,A),this.elastic=Ab(e),n!==this.constraints&&t&&this.constraints&&!this.hasMutatedConstraints&&$t((A=>{this.getAxisMotionValue(A)&&(this.constraints[A]=qI(t.layoutBox[A],this.constraints[A]))}))}resolveRefConstraints(){const{dragConstraints:A,onMeasureDragConstraints:e}=this.getProps();if(!A||!Ci(A))return!1;const t=A.current,{projection:n}=this.visualElement;if(!n||!n.layout)return!1;const r=ob(t,n.root,this.visualElement.getTransformPagePoint());let o=$I(n.layout.layoutBox,r);if(e){const A=e(eb(o));this.hasMutatedConstraints=!!A,A&&(o=vw(A))}return o}startAnimation(A){const{drag:e,dragMomentum:t,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:i}=this.getProps(),a=this.constraints||{},s=$t((i=>{if(!Us(i,e,this.currentDirection))return;let s=a&&a[i]||{};o&&(s={min:0,max:0});const l=n?200:1e6,u=n?40:1e7,c={type:"inertia",velocity:t?A[i]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...r,...s};return this.startAxisValueAnimation(i,c)}));return Promise.all(s).then(i)}startAxisValueAnimation(A,e){const t=this.getAxisMotionValue(A);return t.start(Md(A,t,0,e))}stopAnimation(){$t((A=>this.getAxisMotionValue(A).stop()))}getAxisMotionValue(A){const e="_drag"+A.toUpperCase(),t=this.visualElement.getProps();return t[e]||this.visualElement.getValue(A,(t.initial?t.initial[A]:void 0)||0)}snapToCursor(A){$t((e=>{const{drag:t}=this.getProps();if(!Us(e,t,this.currentDirection))return;const{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){const{min:t,max:o}=n.layout.layoutBox[e];r.set(A[e]-fe(t,o,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:A,dragConstraints:e}=this.getProps(),{projection:t}=this.visualElement;if(!Ci(e)||!t||!this.constraints)return;this.stopAnimation();const n={x:0,y:0};$t((A=>{const e=this.getAxisMotionValue(A);if(e){const t=e.get();n[A]=ZI({min:t,max:t},this.constraints[A])}}));const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",t.root&&t.root.updateScroll(),t.updateLayout(),this.resolveConstraints(),$t((e=>{if(!Us(e,A,null))return;const t=this.getAxisMotionValue(e),{min:r,max:o}=this.constraints[e];t.set(fe(r,o,n[e]))}))}addListeners(){if(!this.visualElement.current)return;ab.set(this.visualElement,this);const A=gr(this.visualElement.current,"pointerdown",(A=>{const{drag:e,dragListener:t=!0}=this.getProps();e&&t&&this.start(A)})),e=()=>{const{dragConstraints:A}=this.getProps();Ci(A)&&(this.constraints=this.resolveRefConstraints())},{projection:t}=this.visualElement,n=t.addEventListener("measure",e);t&&!t.layout&&(t.root&&t.root.updateScroll(),t.updateLayout()),e();const r=dr(window,"resize",(()=>this.scalePositionWithinConstraints())),o=t.addEventListener("didUpdate",(({delta:A,hasLayoutChanged:e})=>{this.isDragging&&e&&($t((e=>{const t=this.getAxisMotionValue(e);t&&(this.originPoint[e]+=A[e].translate,t.set(t.get()+A[e].translate))})),this.visualElement.render())}));return()=>{r(),A(),n(),o&&o()}}getProps(){const A=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:t=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=wf,dragMomentum:i=!0}=A;return{...A,drag:e,dragDirectionLock:t,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:i}}}function Us(A,e,t){return!(!0!==e&&e!==A||null!==t&&t!==A)}function lb(A,e=10){let t=null;return Math.abs(A.y)>e?t="y":Math.abs(A.x)>e&&(t="x"),t}class ub extends ln{constructor(A){super(A),this.removeGroupControls=me,this.removeListeners=me,this.controls=new sb(A)}mount(){const{dragControls:A}=this.node.getProps();A&&(this.removeGroupControls=A.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||me}unmount(){this.removeGroupControls(),this.removeListeners()}}const BB=A=>(e,t)=>{A&&re.update((()=>A(e,t)))};class cb extends ln{constructor(){super(...arguments),this.removePointerDownListener=me}onPointerDown(A){this.session=new Bw(A,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){const{onPanSessionStart:A,onPanStart:e,onPan:t,onPanEnd:n}=this.node.getProps();return{onSessionStart:BB(A),onStart:BB(e),onMove:t,onEnd:(A,e)=>{delete this.session,n&&re.update((()=>n(A,e)))}}}mount(){this.removePointerDownListener=gr(this.node.current,"pointerdown",(A=>this.onPointerDown(A)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}function fb(){const A=AA.useContext(Ol);if(null===A)return[!0,null];const{isPresent:e,onExitComplete:t,register:n}=A,r=AA.useId();return AA.useEffect((()=>n(r)),[]),!e&&t?[!1,()=>t&&t(r)]:[!0]}const Ms={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function mB(A,e){return e.max===e.min?0:A/(e.max-e.min)*100}const Qo={correct:(A,e)=>{if(!e.target)return A;if("string"==typeof A){if(!TA.test(A))return A;A=parseFloat(A)}return`${mB(A,e.target.x)}% ${mB(A,e.target.y)}%`}},db={correct:(A,{treeScale:e,projectionDelta:t})=>{const n=A,r=nn.parse(A);if(r.length>5)return n;const o=nn.createTransformer(A),i="number"!=typeof r[0]?1:0,a=t.x.scale*e.x,s=t.y.scale*e.y;r[0+i]/=a,r[1+i]/=s;const l=fe(a,s,.5);return"number"==typeof r[2+i]&&(r[2+i]/=l),"number"==typeof r[3+i]&&(r[3+i]/=l),o(r)}};class hb extends Tf.Component{componentDidMount(){const{visualElement:A,layoutGroup:e,switchLayoutGroup:t,layoutId:n}=this.props,{projection:r}=A;yS(gb),r&&(e.group&&e.group.add(r),t&&t.register&&n&&t.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",(()=>{this.safeToRemove()})),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ms.hasEverUpdated=!0}getSnapshotBeforeUpdate(A){const{layoutDependency:e,visualElement:t,drag:n,isPresent:r}=this.props,o=t.projection;return o&&(o.isPresent=r,n||A.layoutDependency!==e||void 0===e?o.willUpdate():this.safeToRemove(),A.isPresent!==r&&(r?o.promote():o.relegate()||re.postRender((()=>{const A=o.getStack();(!A||!A.members.length)&&this.safeToRemove()})))),null}componentDidUpdate(){const{projection:A}=this.props.visualElement;A&&(A.root.didUpdate(),queueMicrotask((()=>{!A.currentAnimation&&A.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:A,layoutGroup:e,switchLayoutGroup:t}=this.props,{projection:n}=A;n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),t&&t.deregister&&t.deregister(n))}safeToRemove(){const{safeToRemove:A}=this.props;A&&A()}render(){return null}}function Qw(A){const[e,t]=fb(),n=AA.useContext(Ed);return Tf.createElement(hb,{...A,layoutGroup:n,switchLayoutGroup:AA.useContext(mv),isPresent:e,safeToRemove:t})}const gb={borderRadius:{...Qo,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Qo,borderTopRightRadius:Qo,borderBottomLeftRadius:Qo,borderBottomRightRadius:Qo,boxShadow:db},Fw=["TopLeft","TopRight","BottomLeft","BottomRight"],pb=Fw.length,vB=A=>"string"==typeof A?parseFloat(A):A,wB=A=>"number"==typeof A||TA.test(A);function Bb(A,e,t,n,r,o){r?(A.opacity=fe(0,void 0!==t.opacity?t.opacity:1,mb(n)),A.opacityExit=fe(void 0!==e.opacity?e.opacity:1,0,vb(n))):o&&(A.opacity=fe(void 0!==e.opacity?e.opacity:1,void 0!==t.opacity?t.opacity:1,n));for(let r=0;r<pb;r++){const o=`border${Fw[r]}Radius`;let i=yB(e,o),a=yB(t,o);void 0===i&&void 0===a||(i||(i=0),a||(a=0),0===i||0===a||wB(i)===wB(a)?(A[o]=Math.max(fe(vB(i),vB(a),n),0),(er.test(a)||er.test(i))&&(A[o]+="%")):A[o]=a)}(e.rotate||t.rotate)&&(A.rotate=fe(e.rotate||0,t.rotate||0,n))}function yB(A,e){return void 0!==A[e]?A[e]:A.borderRadius}const mb=Uw(0,.5,Od),vb=Uw(.5,.95,me);function Uw(A,e,t){return n=>n<A?0:n>e?1:t(la(A,e,n))}function CB(A,e){A.min=e.min,A.max=e.max}function Ft(A,e){CB(A.x,e.x),CB(A.y,e.y)}function QB(A,e,t,n,r){return A=ml(A-=e,1/t,n),void 0!==r&&(A=ml(A,1/r,n)),A}function wb(A,e=0,t=1,n=.5,r,o=A,i=A){if(er.test(e)&&(e=parseFloat(e),e=fe(i.min,i.max,e/100)-i.min),"number"!=typeof e)return;let a=fe(o.min,o.max,n);A===o&&(a-=e),A.min=QB(A.min,e,t,a,r),A.max=QB(A.max,e,t,a,r)}function FB(A,e,[t,n,r],o,i){wb(A,e[t],e[n],e[r],e.scale,o,i)}const yb=["x","scaleX","originX"],Cb=["y","scaleY","originY"];function UB(A,e,t,n){FB(A.x,e,yb,t?t.x:void 0,n?n.x:void 0),FB(A.y,e,Cb,t?t.y:void 0,n?n.y:void 0)}function EB(A){return 0===A.translate&&1===A.scale}function Ew(A){return EB(A.x)&&EB(A.y)}function Qb(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 Sw(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 SB(A){return ht(A.x)/ht(A.y)}class Fb{constructor(){this.members=[]}add(A){_d(this.members,A),A.scheduleRender()}remove(A){if(Vd(this.members,A),A===this.prevLead&&(this.prevLead=void 0),A===this.lead){const A=this.members[this.members.length-1];A&&this.promote(A)}}relegate(A){const e=this.members.findIndex((e=>A===e));if(0===e)return!1;let t;for(let A=e;A>=0;A--){const e=this.members[A];if(!1!==e.isPresent){t=e;break}}return!!t&&(this.promote(t),!0)}promote(A,e){const t=this.lead;if(A!==t&&(this.prevLead=t,this.lead=A,A.show(),t)){t.instance&&t.scheduleRender(),A.scheduleRender(),A.resumeFrom=t,e&&(A.resumeFrom.preserveOpacity=!0),t.snapshot&&(A.snapshot=t.snapshot,A.snapshot.latestValues=t.animationValues||t.latestValues),A.root&&A.root.isUpdating&&(A.isLayoutDirty=!0);const{crossfade:n}=A.options;!1===n&&t.hide()}}exitAnimationComplete(){this.members.forEach((A=>{const{options:e,resumingFrom:t}=A;e.onExitComplete&&e.onExitComplete(),t&&t.options.onExitComplete&&t.options.onExitComplete()}))}scheduleRender(){this.members.forEach((A=>{A.instance&&A.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function xB(A,e,t){let n="";const r=A.x.translate/e.x,o=A.y.translate/e.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),t){const{rotate:A,rotateX:e,rotateY:r}=t;A&&(n+=`rotate(${A}deg) `),e&&(n+=`rotateX(${e}deg) `),r&&(n+=`rotateY(${r}deg) `)}const i=A.x.scale*e.x,a=A.y.scale*e.y;return(1!==i||1!==a)&&(n+=`scale(${i}, ${a})`),n||"none"}const Ub=(A,e)=>A.depth-e.depth;class Eb{constructor(){this.children=[],this.isDirty=!1}add(A){_d(this.children,A),this.isDirty=!0}remove(A){Vd(this.children,A),this.isDirty=!0}forEach(A){this.isDirty&&this.children.sort(Ub),this.isDirty=!1,this.children.forEach(A)}}function Sb(A,e){const t=performance.now(),n=({timestamp:r})=>{const o=r-t;o>=e&&(yr(n),A(o-e))};return re.read(n,!0),()=>yr(n)}function xb(A){window.MotionDebug&&window.MotionDebug.record(A)}function Ib(A){return A instanceof SVGElement&&"svg"!==A.tagName}function bb(A,e,t){const n=at(A)?A:Ki(A);return n.start(Md("",n,e,t)),n.animation}const IB=["","X","Y","Z"],bB=1e3;let Hb=0;const Sn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function xw({attachResizeListener:A,defaultParent:e,measureScroll:t,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(A={},t=(null==e?void 0:e())){this.id=Hb++,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=()=>{Sn.totalNodes=Sn.resolvedTargetDeltas=Sn.recalculatedProjection=0,this.nodes.forEach(Pb),this.nodes.forEach(Kb),this.nodes.forEach(Mb),this.nodes.forEach(Db),xb(Sn)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=A,this.root=t?t.root||t:this,this.path=t?[...t.path,t]:[],this.parent=t,this.depth=t?t.depth+1:0;for(let A=0;A<this.path.length;A++)this.path[A].shouldResetTransform=!0;this.root===this&&(this.nodes=new Eb)}addEventListener(A,e){return this.eventHandlers.has(A)||this.eventHandlers.set(A,new Nd),this.eventHandlers.get(A).add(e)}notifyListeners(A,...e){const t=this.eventHandlers.get(A);t&&t.notify(...e)}hasListeners(A){return this.eventHandlers.has(A)}mount(e,t=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Ib(e),this.instance=e;const{layoutId:n,layout:r,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),t&&(r||n)&&(this.isLayoutDirty=!0),A){let t;const n=()=>this.root.updateBlockedByResize=!1;A(e,(()=>{this.root.updateBlockedByResize=!0,t&&t(),t=Sb(n,250),Ms.hasAnimatedSinceResize&&(Ms.hasAnimatedSinceResize=!1,this.nodes.forEach(TB))}))}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",(({delta:A,hasLayoutChanged:e,hasRelativeTargetChanged:t,layout:n})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||o.getDefaultTransition()||jb,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=o.getProps(),s=!this.targetLayout||!Sw(this.targetLayout,n)||t,l=!e&&t;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||l||e&&(s||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(A,l);const e={...fw(r,"layout"),onPlay:i,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e)}else e||TB(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const A=this.getStack();A&&A.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,yr(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(_b),this.animationId++)}getTransformTemplate(){const{visualElement:A}=this.options;return A&&A.getProps().transformTemplate}willUpdate(A=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let A=0;A<this.path.length;A++){const e=this.path[A];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:t}=this.options;if(void 0===e&&!t)return;const n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),A&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(HB);this.isUpdating||this.nodes.forEach(kb),this.isUpdating=!1,this.nodes.forEach(Rb),this.nodes.forEach(Tb),this.nodes.forEach(Lb),this.clearAllSnapshots();const A=performance.now();Te.delta=rn(0,1e3/60,A-Te.timestamp),Te.timestamp=A,Te.isProcessing=!0,Ac.update.process(Te),Ac.preRender.process(Te),Ac.render.process(Te),Te.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask((()=>this.update())))}clearAllSnapshots(){this.nodes.forEach(Ob),this.sharedNodes.forEach(Vb)}scheduleUpdateProjection(){re.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){re.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 A=0;A<this.path.length;A++)this.path[A].updateScroll();const A=this.layout;this.layout=this.measure(!1),this.layoutCorrected=Qe(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,A?A.layoutBox:void 0)}updateScroll(A="measure"){let e=!(!this.options.layoutScroll||!this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===A&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:A,isRoot:n(this.instance),offset:t(this.instance)})}resetTransform(){if(!r)return;const A=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!Ew(this.projectionDelta),t=this.getTransformTemplate(),n=t?t(this.latestValues,""):void 0,o=n!==this.prevTransformTemplateValue;A&&(e||En(this.latestValues)||o)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(A=!0){const e=this.measurePageBox();let t=this.removeElementScroll(e);return A&&(t=this.removeTransform(t)),Wb(t),{animationId:this.root.animationId,measuredBox:e,layoutBox:t,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:A}=this.options;if(!A)return Qe();const e=A.measureViewportBox(),{scroll:t}=this.root;return t&&(Mr(e.x,t.offset.x),Mr(e.y,t.offset.y)),e}removeElementScroll(A){const e=Qe();Ft(e,A);for(let t=0;t<this.path.length;t++){const n=this.path[t],{scroll:r,options:o}=n;if(n!==this.root&&r&&o.layoutScroll){if(r.isRoot){Ft(e,A);const{scroll:t}=this.root;t&&(Mr(e.x,-t.offset.x),Mr(e.y,-t.offset.y))}Mr(e.x,r.offset.x),Mr(e.y,r.offset.y)}}return e}applyTransform(A,e=!1){const t=Qe();Ft(t,A);for(let A=0;A<this.path.length;A++){const n=this.path[A];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&Ui(t,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),En(n.latestValues)&&Ui(t,n.latestValues)}return En(this.latestValues)&&Ui(t,this.latestValues),t}removeTransform(A){const e=Qe();Ft(e,A);for(let A=0;A<this.path.length;A++){const t=this.path[A];if(!t.instance||!En(t.latestValues))continue;yf(t.latestValues)&&t.updateSnapshot();const n=Qe();Ft(n,t.measurePageBox()),UB(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,n)}return En(this.latestValues)&&UB(e,this.latestValues),e}setTargetDelta(A){this.targetDelta=A,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(A){this.options={...this.options,...A,crossfade:void 0===A.crossfade||A.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Te.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(A=!1){var e;const t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);const n=!!this.resumingFrom||this!==t;if(!(A||n&&this.isSharedProjectionDirty||this.isProjectionDirty||null!==(e=this.parent)&&void 0!==e&&e.isProjectionDirty||this.attemptToResolveRelativeTarget))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=Te.timestamp,!this.targetDelta&&!this.relativeTarget){const A=this.getClosestProjectingParent();A&&A.layout&&1!==this.animationProgress?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qe(),this.relativeTargetOrigin=Qe(),No(this.relativeTargetOrigin,this.layout.layoutBox,A.layout.layoutBox),Ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=Qe(),this.targetWithTransforms=Qe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),XI(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ft(this.target,this.layout.layoutBox),yw(this.target,this.targetDelta)):Ft(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const A=this.getClosestProjectingParent();A&&!!A.resumingFrom==!!this.resumingFrom&&!A.options.layoutScroll&&A.target&&1!==this.animationProgress?(this.relativeParent=A,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Qe(),this.relativeTargetOrigin=Qe(),No(this.relativeTargetOrigin,this.target,A.target),Ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Sn.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!yf(this.parent.latestValues)&&!ww(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!(!(this.relativeTarget||this.targetDelta||this.options.layoutRoot)||!this.layout)}calcProjection(){var A;const e=this.getLead(),t=!!this.resumingFrom||this!==e;let n=!0;if((this.isProjectionDirty||!(null===(A=this.parent)||void 0===A)&&A.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Te.timestamp&&(n=!1),n)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Ft(this.layoutCorrected,this.layout.layoutBox);const i=this.treeScale.x,a=this.treeScale.y;rb(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox);const{target:s}=e;if(!s)return void(this.projectionTransform&&(this.projectionDelta=Fi(),this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta=Fi(),this.projectionDeltaWithTransform=Fi());const l=this.projectionTransform;Vo(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.projectionTransform=xB(this.projectionDelta,this.treeScale),(this.projectionTransform!==l||this.treeScale.x!==i||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),Sn.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(A=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),A){const A=this.getStack();A&&A.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(A,e=!1){const t=this.snapshot,n=t?t.latestValues:{},r={...this.latestValues},o=Fi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const i=Qe(),a=(t?t.source:void 0)!==(this.layout?this.layout.source:void 0),s=this.getStack(),l=!s||s.members.length<=1,u=!(!a||l||!0!==this.options.crossfade||this.path.some(Gb));let c;this.animationProgress=0,this.mixTargetDelta=e=>{const t=e/1e3;LB(o.x,A.x,t),LB(o.y,A.y,t),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(No(i,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Nb(this.relativeTarget,this.relativeTargetOrigin,i,t),c&&Qb(this.relativeTarget,c)&&(this.isProjectionDirty=!1),c||(c=Qe()),Ft(c,this.relativeTarget)),a&&(this.animationValues=r,Bb(r,n,this.latestValues,t,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=t},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(A){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(yr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=re.update((()=>{Ms.hasAnimatedSinceResize=!0,this.currentAnimation=bb(0,bB,{...A,onUpdate:e=>{this.mixTargetDelta(e),A.onUpdate&&A.onUpdate(e)},onComplete:()=>{A.onComplete&&A.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 A=this.getStack();A&&A.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(bB),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const A=this.getLead();let{targetWithTransforms:e,target:t,layout:n,latestValues:r}=A;if(e&&t&&n){if(this!==A&&this.layout&&n&&Iw(this.options.animationType,this.layout.layoutBox,n.layoutBox)){t=this.target||Qe();const e=ht(this.layout.layoutBox.x);t.x.min=A.target.x.min,t.x.max=t.x.min+e;const n=ht(this.layout.layoutBox.y);t.y.min=A.target.y.min,t.y.max=t.y.min+n}Ft(e,t),Ui(e,r),Vo(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(A,e){this.sharedNodes.has(A)||this.sharedNodes.set(A,new Fb),this.sharedNodes.get(A).add(e);const t=e.options.initialPromotionConfig;e.promote({transition:t?t.transition:void 0,preserveFollowOpacity:t&&t.shouldPreserveFollowOpacity?t.shouldPreserveFollowOpacity(e):void 0})}isLead(){const A=this.getStack();return!A||A.lead===this}getLead(){var A;const{layoutId:e}=this.options;return e&&(null===(A=this.getStack())||void 0===A?void 0:A.lead)||this}getPrevLead(){var A;const{layoutId:e}=this.options;return e?null===(A=this.getStack())||void 0===A?void 0:A.prevLead:void 0}getStack(){const{layoutId:A}=this.options;if(A)return this.root.sharedNodes.get(A)}promote({needsReset:A,transition:e,preserveFollowOpacity:t}={}){const n=this.getStack();n&&n.promote(this,t),A&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const A=this.getStack();return!!A&&A.relegate(this)}resetRotation(){const{visualElement:A}=this.options;if(!A)return;let e=!1;const{latestValues:t}=A;if((t.rotate||t.rotateX||t.rotateY||t.rotateZ)&&(e=!0),!e)return;const n={};for(let e=0;e<IB.length;e++){const r="rotate"+IB[e];t[r]&&(n[r]=t[r],A.setStaticValue(r,0))}A.render();for(const e in n)A.setStaticValue(e,n[e]);A.scheduleRender()}getProjectionStyles(A={}){var e,t;const n={};if(!this.instance||this.isSVG)return n;if(!this.isVisible)return{visibility:"hidden"};n.visibility="";const r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=Ks(A.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Ks(A.pointerEvents)||""),this.hasProjected&&!En(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1),e}const i=o.animationValues||o.latestValues;this.applyTransformsToTarget(),n.transform=xB(this.projectionDeltaWithTransform,this.treeScale,i),r&&(n.transform=r(i,n.transform));const{x:a,y:s}=this.projectionDelta;n.transformOrigin=`${100*a.origin}% ${100*s.origin}% 0`,o.animationValues?n.opacity=o===this?null!==(t=null!==(e=i.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==t?t:1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:n.opacity=o===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0;for(const A in cl){if(void 0===i[A])continue;const{correct:e,applyTo:t}=cl[A],r="none"===n.transform?i[A]:e(i[A],o);if(t){const A=t.length;for(let e=0;e<A;e++)n[t[e]]=r}else n[A]=r}return this.options.layoutId&&(n.pointerEvents=o===this?Ks(A.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((A=>{var e;return null===(e=A.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(HB),this.root.sharedNodes.clear()}}}function Tb(A){A.updateLayout()}function Lb(A){var e;const t=(null===(e=A.resumeFrom)||void 0===e?void 0:e.snapshot)||A.snapshot;if(A.isLead()&&A.layout&&t&&A.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:n}=A.layout,{animationType:r}=A.options,o=t.source!==A.layout.source;"size"===r?$t((A=>{const n=o?t.measuredBox[A]:t.layoutBox[A],r=ht(n);n.min=e[A].min,n.max=n.min+r})):Iw(r,t.layoutBox,e)&&$t((n=>{const r=o?t.measuredBox[n]:t.layoutBox[n],i=ht(e[n]);r.max=r.min+i,A.relativeTarget&&!A.currentAnimation&&(A.isProjectionDirty=!0,A.relativeTarget[n].max=A.relativeTarget[n].min+i)}));const i=Fi();Vo(i,e,t.layoutBox);const a=Fi();o?Vo(a,A.applyTransform(n,!0),t.measuredBox):Vo(a,e,t.layoutBox);const s=!Ew(i);let l=!1;if(!A.resumeFrom){const n=A.getClosestProjectingParent();if(n&&!n.resumeFrom){const{snapshot:r,layout:o}=n;if(r&&o){const i=Qe();No(i,t.layoutBox,r.layoutBox);const a=Qe();No(a,e,o.layoutBox),Sw(i,a)||(l=!0),n.options.layoutRoot&&(A.relativeTarget=a,A.relativeTargetOrigin=i,A.relativeParent=n)}}}A.notifyListeners("didUpdate",{layout:e,snapshot:t,delta:a,layoutDelta:i,hasLayoutChanged:s,hasRelativeTargetChanged:l})}else if(A.isLead()){const{onExitComplete:e}=A.options;e&&e()}A.options.transition=void 0}function Pb(A){Sn.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 Db(A){A.isProjectionDirty=A.isSharedProjectionDirty=A.isTransformDirty=!1}function Ob(A){A.clearSnapshot()}function HB(A){A.clearMeasurements()}function kb(A){A.isLayoutDirty=!1}function Rb(A){const{visualElement:e}=A.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),A.resetTransform()}function TB(A){A.finishAnimation(),A.targetDelta=A.relativeTarget=A.target=void 0,A.isProjectionDirty=!0}function Kb(A){A.resolveTargetDelta()}function Mb(A){A.calcProjection()}function _b(A){A.resetRotation()}function Vb(A){A.removeLeadSnapshot()}function LB(A,e,t){A.translate=fe(e.translate,0,t),A.scale=fe(e.scale,1,t),A.origin=e.origin,A.originPoint=e.originPoint}function PB(A,e,t,n){A.min=fe(e.min,t.min,n),A.max=fe(e.max,t.max,n)}function Nb(A,e,t,n){PB(A.x,e.x,t.x,n),PB(A.y,e.y,t.y,n)}function Gb(A){return A.animationValues&&void 0!==A.animationValues.opacityExit}const jb={duration:.45,ease:[.4,0,.1,1]},DB=A=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(A),OB=DB("applewebkit/")&&!DB("chrome/")?Math.round:me;function kB(A){A.min=OB(A.min),A.max=OB(A.max)}function Wb(A){kB(A.x),kB(A.y)}function Iw(A,e,t){return"position"===A||"preserve-aspect"===A&&!vf(SB(e),SB(t),.2)}const zb=xw({attachResizeListener:(A,e)=>dr(A,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),cc={current:void 0},bw=xw({measureScroll:A=>({x:A.scrollLeft,y:A.scrollTop}),defaultParent:()=>{if(!cc.current){const A=new zb({});A.mount(window),A.setOptions({layoutScroll:!0}),cc.current=A}return cc.current},resetTransform:(A,e)=>{A.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:A=>"fixed"===window.getComputedStyle(A).position}),Xb={pan:{Feature:cb},drag:{Feature:ub,ProjectionNode:bw,MeasureLayout:Qw}},Jb=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Yb(A){const e=Jb.exec(A);if(!e)return[,];const[,t,n]=e;return[t,n]}function Qf(A,e,t=1){const[n,r]=Yb(A);if(!n)return;const o=window.getComputedStyle(e).getPropertyValue(n);if(o){const A=o.trim();return dw(A)?parseFloat(A):A}return ff(r)?Qf(r,e,t+1):r}function $b(A,{...e},t){const n=A.current;if(!(n instanceof Element))return{target:e,transitionEnd:t};t&&(t={...t}),A.values.forEach((A=>{const e=A.get();if(!ff(e))return;const t=Qf(e,n);t&&A.set(t)}));for(const A in e){const r=e[A];if(!ff(r))continue;const o=Qf(r,n);o&&(e[A]=o,t||(t={}),void 0===t[A]&&(t[A]=r))}return{target:e,transitionEnd:t}}const Zb=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Hw=A=>Zb.has(A),qb=A=>Object.keys(A).some(Hw),RB=A=>A===Vn||A===TA,KB=(A,e)=>parseFloat(A.split(", ")[e]),MB=(A,e)=>(t,{transform:n})=>{if("none"===n||!n)return 0;const r=n.match(/^matrix3d\((.+)\)$/);if(r)return KB(r[1],e);{const e=n.match(/^matrix\((.+)\)$/);return e?KB(e[1],A):0}},AH=new Set(["x","y","z"]),eH=pa.filter((A=>!AH.has(A)));function tH(A){const e=[];return eH.forEach((t=>{const n=A.getValue(t);void 0!==n&&(e.push([t,n.get()]),n.set(t.startsWith("scale")?1:0))})),e.length&&A.render(),e}const Mi={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:MB(4,13),y:MB(5,14)};Mi.translateX=Mi.x,Mi.translateY=Mi.y;const rH=(A,e,t)=>{const n=e.measureViewportBox(),r=e.current,o=getComputedStyle(r),{display:i}=o,a={};"none"===i&&e.setStaticValue("display",A.display||"block"),t.forEach((A=>{a[A]=Mi[A](n,o)})),e.render();const s=e.measureViewportBox();return t.forEach((t=>{const n=e.getValue(t);n&&n.jump(a[t]),A[t]=Mi[t](s,o)})),A},nH=(A,e,t={},n={})=>{e={...e},n={...n};const r=Object.keys(e).filter(Hw);let o=[],i=!1;const a=[];if(r.forEach((r=>{const s=A.getValue(r);if(!A.hasValue(r))return;let l=t[r],u=Co(l);const c=e[r];let d;if(dl(c)){const A=c.length,e=null===c[0]?1:0;l=c[e],u=Co(l);for(let t=e;t<A&&null!==c[t];t++)d?Dd(Co(c[t])===d):d=Co(c[t])}else d=Co(c);if(u!==d)if(RB(u)&&RB(d)){const A=s.get();"string"==typeof A&&s.set(parseFloat(A)),"string"==typeof c?e[r]=parseFloat(c):Array.isArray(c)&&d===TA&&(e[r]=c.map(parseFloat))}else null!=u&&u.transform&&null!=d&&d.transform&&(0===l||0===c)?0===l?s.set(d.transform(l)):e[r]=u.transform(c):(i||(o=tH(A),i=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:e[r],s.jump(c))})),a.length){const t=a.indexOf("height")>=0?window.pageYOffset:null,r=rH(e,A,a);return o.length&&o.forEach((([e,t])=>{A.getValue(e).set(t)})),A.render(),kl&&null!==t&&window.scrollTo({top:t}),{target:r,transitionEnd:n}}return{target:e,transitionEnd:n}};function iH(A,e,t,n){return qb(e)?nH(A,e,t,n):{target:e,transitionEnd:n}}const oH=(A,e,t,n)=>{const r=$b(A,e,n);return iH(A,e=r.target,t,n=r.transitionEnd)},Ff={current:null},Tw={current:!1};function aH(){if(Tw.current=!0,kl)if(window.matchMedia){const A=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ff.current=A.matches;A.addListener(e),e()}else Ff.current=!1}function sH(A,e,t){const{willChange:n}=e;for(const r in e){const o=e[r],i=t[r];if(at(o))A.addValue(r,o),Bl(n)&&n.add(r);else if(at(i))A.addValue(r,Ki(o,{owner:A})),Bl(n)&&n.remove(r);else if(i!==o)if(A.hasValue(r)){const e=A.getValue(r);!e.hasAnimated&&e.set(o)}else{const e=A.getStaticValue(r);A.addValue(r,Ki(void 0!==e?e:o,{owner:A}))}}for(const n in t)void 0===e[n]&&A.removeValue(n);return e}const _B=new WeakMap,Lw=Object.keys(sa),lH=Lw.length,VB=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],uH=Ud.length;class cH{constructor({parent:A,props:e,presenceContext:t,reducedMotionConfig:n,visualState:r},o={}){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=()=>re.render(this.render,!1,!0);const{latestValues:i,renderState:a}=r;this.latestValues=i,this.baseTarget={...i},this.initialValues=e.initial?{...i}:{},this.renderState=a,this.parent=A,this.props=e,this.presenceContext=t,this.depth=A?A.depth+1:0,this.reducedMotionConfig=n,this.options=o,this.isControllingVariants=Kl(e),this.isVariantNode=Bv(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!(!A||!A.current);const{willChange:s,...l}=this.scrapeMotionValuesFromProps(e,{});for(const A in l){const e=l[A];void 0!==i[A]&&at(e)&&(e.set(i[A],!1),Bl(s)&&s.add(A))}}scrapeMotionValuesFromProps(A,e){return{}}mount(A){this.current=A,_B.set(A,this),this.projection&&!this.projection.instance&&this.projection.mount(A),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((A,e)=>this.bindToMotionValue(e,A))),Tw.current||aH(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ff.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){_B.delete(this.current),this.projection&&this.projection.unmount(),yr(this.notifyUpdate),yr(this.render),this.valueSubscriptions.forEach((A=>A())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const A in this.events)this.events[A].clear();for(const A in this.features)this.features[A].unmount();this.current=null}bindToMotionValue(A,e){const t=_n.has(A),n=e.on("change",(e=>{this.latestValues[A]=e,this.props.onUpdate&&re.update(this.notifyUpdate,!1,!0),t&&this.projection&&(this.projection.isTransformDirty=!0)})),r=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(A,(()=>{n(),r()}))}sortNodePosition(A){return this.current&&this.sortInstanceNodePosition&&this.type===A.type?this.sortInstanceNodePosition(this.current,A.current):0}loadFeatures({children:A,...e},t,n,r){let o,i;for(let A=0;A<lH;A++){const t=Lw[A],{isEnabled:n,Feature:r,ProjectionNode:a,MeasureLayout:s}=sa[t];a&&(o=a),n(e)&&(!this.features[t]&&r&&(this.features[t]=new r(this)),s&&(i=s))}if(!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:A,layout:t,drag:n,dragConstraints:i,layoutScroll:a,layoutRoot:s}=e;this.projection.setOptions({layoutId:A,layout:t,alwaysMeasureLayout:!!n||i&&Ci(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof t?t:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:s})}return i}updateFeatures(){for(const A in this.features){const e=this.features[A];e.isMounted?e.update():(e.mount(),e.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(A){return this.latestValues[A]}setStaticValue(A,e){this.latestValues[A]=e}makeTargetAnimatable(A,e=!0){return this.makeTargetAnimatableFromInstance(A,this.props,e)}update(A,e){(A.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=A,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<VB.length;e++){const t=VB[e];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const n=A["on"+t];n&&(this.propEventSubscriptions[t]=this.on(t,n))}this.prevMotionValues=sH(this,this.scrapeMotionValuesFromProps(A,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(A){return this.props.variants?this.props.variants[A]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(A=!1){if(A)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const A=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(A.initial=this.props.initial),A}const e={};for(let A=0;A<uH;A++){const t=Ud[A],n=this.props[t];(aa(n)||!1===n)&&(e[t]=n)}return e}addVariantChild(A){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(A),()=>e.variantChildren.delete(A)}addValue(A,e){e!==this.values.get(A)&&(this.removeValue(A),this.bindToMotionValue(A,e)),this.values.set(A,e),this.latestValues[A]=e.get()}removeValue(A){this.values.delete(A);const e=this.valueSubscriptions.get(A);e&&(e(),this.valueSubscriptions.delete(A)),delete this.latestValues[A],this.removeValueFromRenderState(A,this.renderState)}hasValue(A){return this.values.has(A)}getValue(A,e){if(this.props.values&&this.props.values[A])return this.props.values[A];let t=this.values.get(A);return void 0===t&&void 0!==e&&(t=Ki(e,{owner:this}),this.addValue(A,t)),t}readValue(A){var e;return void 0===this.latestValues[A]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,A))&&void 0!==e?e:this.readValueFromInstance(this.current,A,this.options):this.latestValues[A]}setBaseTarget(A,e){this.baseTarget[A]=e}getBaseTarget(A){var e;const{initial:t}=this.props,n="string"==typeof t||"object"==typeof t?null===(e=Pd(this.props,t))||void 0===e?void 0:e[A]:void 0;if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,A);return void 0===r||at(r)?void 0!==this.initialValues[A]&&void 0===n?void 0:this.baseTarget[A]:r}on(A,e){return this.events[A]||(this.events[A]=new Nd),this.events[A].add(e)}notify(A,...e){this.events[A]&&this.events[A].notify(...e)}}class Pw extends cH{sortInstanceNodePosition(A,e){return 2&A.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(A,e){return A.style?A.style[e]:void 0}removeValueFromRenderState(A,{vars:e,style:t}){delete e[A],delete t[A]}makeTargetAnimatableFromInstance({transition:A,transitionEnd:e,...t},{transformValues:n},r){let o=bI(t,A||{},this);if(n&&(e&&(e=n(e)),t&&(t=n(t)),o&&(o=n(o))),r){xI(this,t,o);const A=oH(this,t,o,e);e=A.transitionEnd,t=A.target}return{transition:A,transitionEnd:e,...t}}}function fH(A){return window.getComputedStyle(A)}class dH extends Pw{readValueFromInstance(A,e){if(_n.has(e)){const A=Kd(e);return A&&A.default||0}{const t=fH(A),n=(yv(e)?t.getPropertyValue(e):t[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(A,{transformPagePoint:e}){return Cw(A,e)}build(A,e,t,n){xd(A,e,t,n.transformTemplate)}scrapeMotionValuesFromProps(A,e){return Ld(A,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:A}=this.props;at(A)&&(this.childSubscription=A.on("change",(A=>{this.current&&(this.current.textContent=`${A}`)})))}renderInstance(A,e,t,n){Sv(A,e,t,n)}}class hH extends Pw{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(A,e){return A[e]}readValueFromInstance(A,e){if(_n.has(e)){const A=Kd(e);return A&&A.default||0}return e=xv.has(e)?e:Td(e),A.getAttribute(e)}measureInstanceViewportBox(){return Qe()}scrapeMotionValuesFromProps(A,e){return bv(A,e)}build(A,e,t,n){bd(A,e,t,this.isSVGTag,n.transformTemplate)}renderInstance(A,e,t,n){Iv(A,e,t,n)}mount(A){this.isSVGTag=Hd(A.tagName),super.mount(A)}}const gH=(A,e)=>Sd(A)?new hH(e,{enableHardwareAcceleration:!1}):new dH(e,{enableHardwareAcceleration:!0}),pH={layout:{ProjectionNode:bw,MeasureLayout:Qw}},BH={...GI,...ux,...Xb,...pH},Rt=vS(((A,e)=>$S(A,e,BH,gH)));function Dw(){const A=AA.useRef(!1);return Qd((()=>(A.current=!0,()=>{A.current=!1})),[]),A}function mH(){const A=Dw(),[e,t]=AA.useState(0),n=AA.useCallback((()=>{A.current&&t(e+1)}),[e]);return[AA.useCallback((()=>re.postRender(n)),[n]),e]}class vH extends AA.Component{getSnapshotBeforeUpdate(A){const e=this.props.childRef.current;if(e&&A.isPresent&&!this.props.isPresent){const A=this.props.sizeRef.current;A.height=e.offsetHeight||0,A.width=e.offsetWidth||0,A.top=e.offsetTop,A.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function wH({children:A,isPresent:e}){const t=AA.useId(),n=AA.useRef(null),r=AA.useRef({width:0,height:0,top:0,left:0});return AA.useInsertionEffect((()=>{const{width:A,height:o,top:i,left:a}=r.current;if(e||!n.current||!A||!o)return;n.current.dataset.motionPopId=t;const s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(`\n [data-motion-pop-id="${t}"] {\n position: absolute !important;\n width: ${A}px !important;\n height: ${o}px !important;\n top: ${i}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(s)}}),[e]),AA.createElement(vH,{isPresent:e,childRef:n,sizeRef:r},AA.cloneElement(A,{ref:n}))}const fc=({children:A,initial:e,isPresent:t,onExitComplete:n,custom:r,presenceAffectsLayout:o,mode:i})=>{const a=Hv(yH),s=AA.useId(),l=AA.useMemo((()=>({id:s,initial:e,isPresent:t,custom:r,onExitComplete:A=>{a.set(A,!0);for(const A of a.values())if(!A)return;n&&n()},register:A=>(a.set(A,!1),()=>a.delete(A))})),o?void 0:[t]);return AA.useMemo((()=>{a.forEach(((A,e)=>a.set(e,!1)))}),[t]),AA.useEffect((()=>{!t&&!a.size&&n&&n()}),[t]),"popLayout"===i&&(A=AA.createElement(wH,{isPresent:t},A)),AA.createElement(Ol.Provider,{value:l},A)};function yH(){return new Map}function CH(A){return AA.useEffect((()=>()=>A()),[])}const si=A=>A.key||"";function QH(A,e){A.forEach((A=>{const t=si(A);e.set(t,A)}))}function FH(A){const e=[];return AA.Children.forEach(A,(A=>{AA.isValidElement(A)&&e.push(A)})),e}const UH=({children:A,custom:e,initial:t=!0,onExitComplete:n,exitBeforeEnter:r,presenceAffectsLayout:o=!0,mode:i="sync"})=>{const a=AA.useContext(Ed).forceRender||mH()[0],s=Dw(),l=FH(A);let u=l;const c=AA.useRef(new Map).current,d=AA.useRef(u),f=AA.useRef(new Map).current,g=AA.useRef(!0);if(Qd((()=>{g.current=!1,QH(l,f),d.current=u})),CH((()=>{g.current=!0,f.clear(),c.clear()})),g.current)return AA.createElement(AA.Fragment,null,u.map((A=>AA.createElement(fc,{key:si(A),isPresent:!0,initial:!!t&&void 0,presenceAffectsLayout:o,mode:i},A))));u=[...u];const h=d.current.map(si),p=l.map(si),B=h.length;for(let A=0;A<B;A++){const e=h[A];-1===p.indexOf(e)&&!c.has(e)&&c.set(e,void 0)}return"wait"===i&&c.size&&(u=[]),c.forEach(((A,t)=>{if(-1!==p.indexOf(t))return;const r=f.get(t);if(!r)return;const g=h.indexOf(t);let B=A;if(!B){const A=()=>{f.delete(t),c.delete(t);const A=d.current.findIndex((A=>A.key===t));if(d.current.splice(A,1),!c.size){if(d.current=l,!1===s.current)return;a(),n&&n()}};B=AA.createElement(fc,{key:si(r),isPresent:!1,onExitComplete:A,custom:e,presenceAffectsLayout:o,mode:i},r),c.set(t,B)}u.splice(g,0,B)})),u=u.map((A=>{const e=A.key;return c.has(e)?A:AA.createElement(fc,{key:si(A),isPresent:!0,presenceAffectsLayout:o,mode:i},A)})),AA.createElement(AA.Fragment,null,c.size?u:u.map((A=>AA.cloneElement(A))))};let dc,NB=!1;const EH=({settingsState:A,setSettingsState:e})=>{AA.useEffect((()=>{NB||(NB=!0,chrome.storage.local.get((function(A){e({notificationCollector:A.notificationcollector,lessonAlerts:A.lessonalert,animatedBackground:A.animatedbk,animatedBackgroundSpeed:A.bksliderinput,customThemeColor:A.selectedColor,betterSEQTAPlus:A.onoff,shortcuts:A.shortcuts,customshortcuts:A.customshortcuts,transparencyEffects:A.transparencyEffects}),A.DarkMode&&document.body.classList.add("dark")})))}));const t=AA.useMemo((()=>({notificationcollector:"notificationCollector",lessonalert:"lessonAlerts",animatedbk:"animatedBackground",bksliderinput:"animatedBackgroundSpeed",selectedColor:"customThemeColor",onoff:"betterSEQTAPlus",shortcuts:"shortcuts",customshortcuts:"customshortcuts",transparencyEffects:"transparencyEffects"})),[]),n=A=>{for(const[n,{newValue:r}]of Object.entries(A)){"DarkMode"===n&&("DarkMode"===n&&r?document.body.classList.add("dark"):document.body.classList.remove("dark"));const A=t[n];A&&e((e=>({...e,[A]:r})))}};AA.useEffect((()=>(chrome.storage.onChanged.addListener(n),()=>{chrome.storage.onChanged.removeListener(n)})));const r=(A,e)=>{chrome.storage.local.set({[A]:e})};AA.useEffect((()=>{if(dc)for(const[e,n]of Object.entries(A)){const A=Object.keys(t).find((A=>t[A]===e));A&&n!==dc[e]&&r(A,n)}dc=A}),[A,t])},Ow=AA.createContext(void 0),SH=({children:A})=>{const[e,t]=AA.useState({notificationCollector:!1,lessonAlerts:!1,animatedBackground:!1,animatedBackgroundSpeed:"0",customThemeColor:"rgba(219, 105, 105, 1)",betterSEQTAPlus:!0,shortcuts:[],customshortcuts:[],transparencyEffects:!1}),[n,r]=AA.useState(!1),[o,i]=AA.useState(!1);return EH({settingsState:e,setSettingsState:t}),rA.jsx(Ow.Provider,{value:{settingsState:e,setSettingsState:t,showPicker:n,setShowPicker:r,standalone:o,setStandalone:i},children:A})},Nn=()=>{const A=AA.useContext(Ow);if(!A)throw new Error("useSettingsContext must be used within a SettingsContextProvider");return A},xH=({tabs:A})=>{const[e,t]=AA.useState(0),[n,r]=AA.useState(null),[o,i]=AA.useState(0),[a,s]=AA.useState(0),l=AA.useRef(a),u=Nn().settingsState.customThemeColor,c=A=>{"popupClosed"===A.data&&t(0)};AA.useEffect((()=>(window.addEventListener("message",c),()=>{window.removeEventListener("message",c)})),[]),AA.useEffect((()=>{const A=100*-e;s(A),l.current=A}),[e]);const d=AA.useRef(null),f={type:"spring",stiffness:250,damping:25},g={hidden:{opacity:0},visible:{opacity:1}},h={duration:.2};return AA.useEffect((()=>{if(d.current){const e=d.current.getBoundingClientRect().width;i(e/A.length)}}),[A.length]),rA.jsxs(rA.Fragment,{children:[rA.jsx("div",{ref:d,className:"top-0 z-10 text-[0.875rem] pb-0.5 mx-4",children:rA.jsxs("div",{className:"relative flex",children:[rA.jsx(Rt.div,{className:"absolute top-0 left-0 z-0 h-full rounded-full opacity-40",style:{width:`${o}px`,background:u},initial:!1,animate:{x:(p=n,null!==p?o*p:o*e)},transition:f}),A.map(((A,e)=>rA.jsx("button",{className:"relative z-10 flex-1 px-4 py-2",onClick:()=>t(e),onMouseEnter:()=>r(e),onMouseLeave:()=>r(null),children:A.title},e)))]})}),rA.jsx("div",{className:"h-full px-4 overflow-y-scroll overflow-x-clip",children:rA.jsx(Rt.div,{initial:!1,animate:{x:`${a}%`},transition:f,children:rA.jsx("div",{className:"absolute flex w-full",style:{left:-a+"%"},children:A.map(((A,t)=>rA.jsx(Rt.div,{className:"absolute w-full pb-4",initial:"hidden",animate:e===t?"visible":"hidden",transition:h,variants:g,style:{display:e===t?"block":"none"},children:A.content},t)))})})})]});var p};function li(A){return rA.jsx("div",{className:"flex w-14 p-1 cursor-pointer rounded-full dark:bg-[#38373D] bg-[#DDDDDD] switch","data-isOn":A.state,onClick:()=>{const e=!A.state;A.onChange(e)},children:rA.jsx(Rt.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:IH})})}const IH={type:"spring",stiffness:700,damping:30},bH=({state:A,onChange:e})=>{const{settingsState:t}=Nn();return rA.jsx("div",{className:"relative w-full max-w-lg py-8 mx-auto",children:rA.jsx("input",{type:"range",min:"0",max:"100",value:A,onChange:A=>e(Number(A.target.value)),className:"w-full h-1 rounded-full appearance-none cursor-pointer slider",style:{background:`${t.customThemeColor}`}})})},HH=()=>{const{setShowPicker:A,settingsState:e}=Nn();return rA.jsx("button",{onClick:()=>{A(!0)},style:{background:e.customThemeColor},className:"w-16 h-8 rounded-md"})},TH=()=>{const{settingsState:A,setSettingsState:e}=Nn(),t=(t,n)=>{e({...A,[t]:n})},n=[{title:"Notification Collector",description:"Uncaps the 9+ limit for notifications, showing the real number.",modifyElement:rA.jsx(li,{state:A.notificationCollector,onChange:A=>t("notificationCollector",A)})},{title:"Lesson Alerts",description:"Sends a native browser notification ~5 minutes prior to lessons.",modifyElement:rA.jsx(li,{state:A.lessonAlerts,onChange:A=>t("lessonAlerts",A)})},{title:"Animated Background",description:"Adds an animated background to BetterSEQTA. (May impact battery life)",modifyElement:rA.jsx(li,{state:A.animatedBackground,onChange:A=>t("animatedBackground",A)})},{title:"Animated Background Speed",description:"Controls the speed of the animated background.",modifyElement:rA.jsx(bH,{state:parseInt(A.animatedBackgroundSpeed),onChange:t=>{return n=t,void e({...A,animatedBackgroundSpeed:n});var n}})},{title:"Custom Theme Colour",description:"Customise the overall theme colour of SEQTA Learn.",modifyElement:rA.jsx(HH,{})},{title:"Edit Sidebar Layout",description:"Customise the sidebar layout.",modifyElement:rA.jsx("button",{onClick:()=>chrome.runtime.sendMessage({type:"currentTab",info:"EditSidebar"}),className:"px-4 py-1 text-[0.75rem] bg-blue-500 rounded-md",children:"Edit"})},{title:"Transparency Effects",description:"Enables transparency effects on certain elements such as blur. (May impact battery life)",modifyElement:rA.jsx(li,{state:A.transparencyEffects,onChange:A=>t("transparencyEffects",A)})},{title:"BetterSEQTA+",description:"Enables BetterSEQTA+ features",modifyElement:rA.jsx(li,{state:A.betterSEQTAPlus,onChange:A=>t("betterSEQTAPlus",A)})}];return rA.jsx("div",{className:"flex flex-col -mt-4 overflow-y-scroll divide-y divide-zinc-100 dark:divide-zinc-700",children:n.map(((A,e)=>rA.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[rA.jsxs("div",{className:"pr-4",children:[rA.jsx("h2",{className:"text-sm font-bold",children:A.title}),rA.jsx("p",{className:"text-xs",children:A.description})]}),rA.jsx("div",{children:A.modifyElement})]},e)))})},LH="/client/rsc/png/betterseqta-dark-full.png",PH="/client/rsc/png/betterseqta-light-full.png";function DH(){const{settingsState:A,setSettingsState:e}=Nn(),[t,n]=AA.useState(""),[r,o]=AA.useState(""),[i,a]=AA.useState(!1);return rA.jsxs("div",{className:"flex flex-col divide-y divide-zinc-100 dark:divide-zinc-700",children:[rA.jsx(UH,{children:i?rA.jsx(Rt.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{type:"spring",damping:20},children:rA.jsxs("div",{className:"flex flex-col items-center mb-4",children:[rA.jsx(Rt.input,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{delay:.2},className:"w-full p-2 rounded-md bg-zinc-100 dark:bg-zinc-700 focus:outline-none",type:"text",placeholder:"Shortcut Name",value:t,onChange:A=>n(A.target.value)}),rA.jsx(Rt.input,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{delay:.3},className:"w-full p-2 my-2 rounded-md bg-zinc-100 dark:bg-zinc-700 focus:outline-none",type:"text",placeholder:"URL eg. https://google.com",value:r,onChange:A=>o(A.target.value)}),rA.jsx(Rt.button,{initial:{opacity:0},animate:{opacity:1},transition:{delay:.4},className:"w-full px-4 py-2 text-white bg-blue-500 rounded-md",onClick:()=>{if(""!==t.trim()&&(i=r,new RegExp("^(https?:\\/\\/)?[\\w.-]+[\\w.-]+$","i").test(i))){const i={name:t.trim(),url:r.trim(),icon:t[0]},s=[...A.customshortcuts,i];e({...A,customshortcuts:s}),n(""),o(""),a(!1)}else console.error("Please enter a valid title and URL.");var i},children:"Add"})]})}):rA.jsx(Rt.button,{initial:{backgroundColor:"rgba(29, 161, 242, 1)",height:"auto"},animate:{backgroundColor:"rgba(29, 161, 242, 1)",height:"auto"},exit:{backgroundColor:"rgba(29, 161, 242, 1)",height:"auto"},transition:{type:"tween",ease:"easeOut"},className:"px-4 py-2 mb-4 text-white bg-blue-500 rounded",onClick:()=>{a(!i)},children:"Add Custom Shortcut"})}),A.shortcuts?A.shortcuts.map(((t,n)=>t.name&&rA.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[t.name,rA.jsx(li,{state:t.enabled,onChange:n=>((t,n)=>{const r=A.shortcuts.map((A=>A.name===t?{...A,enabled:n}:A));e({...A,shortcuts:r})})(t.name,n)})]},n))):rA.jsx("p",{children:"Loading shortcuts..."}),A.customshortcuts?A.customshortcuts.map(((t,n)=>rA.jsxs("div",{className:"flex items-center justify-between px-4 py-3",children:[t.name,rA.jsx("button",{onClick:()=>(t=>{const n=A.customshortcuts.filter(((A,e)=>e!==t));e({...A,customshortcuts:n})})(n),children:rA.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"w-6 h-6",children:rA.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]},n))):rA.jsx("p",{children:"Loading custom shortcuts..."})]})}var kw={},Bt={},He={},Pt={},Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.defaultLocales=Vt.config=void 0;var OH={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%)"};Vt.config=OH;var kH={CONTROLS:{SOLID:"Solid",GRADIENT:"Gradient"}};Vt.defaultLocales=kH;var Fo={},Rw={exports:{}};!function(A){!function(e){var t=/^\s+/,n=/\s+$/,r=0,o=e.round,i=e.min,a=e.max,s=e.random;function l(A,s){if(s=s||{},(A=A||"")instanceof l)return A;if(!(this instanceof l))return new l(A,s);var u=function(A){var r={r:0,g:0,b:0},o=1,s=null,l=null,u=null,c=!1,d=!1;return"string"==typeof A&&(A=function(A){A=A.replace(t,"").replace(n,"").toLowerCase();var e,r=!1;if(E[A])A=E[A],r=!0;else if("transparent"==A)return{r:0,g:0,b:0,a:0,format:"name"};return(e=R.rgb.exec(A))?{r:e[1],g:e[2],b:e[3]}:(e=R.rgba.exec(A))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=R.hsl.exec(A))?{h:e[1],s:e[2],l:e[3]}:(e=R.hsla.exec(A))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=R.hsv.exec(A))?{h:e[1],s:e[2],v:e[3]}:(e=R.hsva.exec(A))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=R.hex8.exec(A))?{r:k(e[1]),g:k(e[2]),b:k(e[3]),a:O(e[4]),format:r?"name":"hex8"}:(e=R.hex6.exec(A))?{r:k(e[1]),g:k(e[2]),b:k(e[3]),format:r?"name":"hex"}:(e=R.hex4.exec(A))?{r:k(e[1]+""+e[1]),g:k(e[2]+""+e[2]),b:k(e[3]+""+e[3]),a:O(e[4]+""+e[4]),format:r?"name":"hex8"}:!!(e=R.hex3.exec(A))&&{r:k(e[1]+""+e[1]),g:k(e[2]+""+e[2]),b:k(e[3]+""+e[3]),format:r?"name":"hex"}}(A)),"object"==typeof A&&(V(A.r)&&V(A.g)&&V(A.b)?(r=function(A,e,t){return{r:255*S(A,255),g:255*S(e,255),b:255*S(t,255)}}(A.r,A.g,A.b),c=!0,d="%"===String(A.r).substr(-1)?"prgb":"rgb"):V(A.h)&&V(A.s)&&V(A.v)?(s=P(A.s),l=P(A.v),r=function(A,t,n){A=6*S(A,360),t=S(t,100),n=S(n,100);var r=e.floor(A),o=A-r,i=n*(1-t),a=n*(1-o*t),s=n*(1-(1-o)*t),l=r%6;return{r:255*[n,a,i,i,s,n][l],g:255*[s,n,n,a,i,i][l],b:255*[i,i,s,n,n,a][l]}}(A.h,s,l),c=!0,d="hsv"):V(A.h)&&V(A.s)&&V(A.l)&&(s=P(A.s),u=P(A.l),r=function(A,e,t){var n,r,o;function i(A,e,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?A+6*(e-A)*t:t<.5?e:t<2/3?A+(e-A)*(2/3-t)*6:A}if(A=S(A,360),e=S(e,100),t=S(t,100),0===e)n=r=o=t;else{var a=t<.5?t*(1+e):t+e-t*e,s=2*t-a;n=i(s,a,A+1/3),r=i(s,a,A),o=i(s,a,A-1/3)}return{r:255*n,g:255*r,b:255*o}}(A.h,s,u),c=!0,d="hsl"),A.hasOwnProperty("a")&&(o=A.a)),o=H(o),{ok:c,format:A.format||d,r:i(255,a(r.r,0)),g:i(255,a(r.g,0)),b:i(255,a(r.b,0)),a:o}}(A);this._originalInput=A,this._r=u.r,this._g=u.g,this._b=u.b,this._a=u.a,this._roundA=o(100*this._a)/100,this._format=s.format||u.format,this._gradientType=s.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=u.ok,this._tc_id=r++}function u(A,e,t){A=S(A,255),e=S(e,255),t=S(t,255);var n,r,o=a(A,e,t),s=i(A,e,t),l=(o+s)/2;if(o==s)n=r=0;else{var u=o-s;switch(r=l>.5?u/(2-o-s):u/(o+s),o){case A:n=(e-t)/u+(e<t?6:0);break;case e:n=(t-A)/u+2;break;case t:n=(A-e)/u+4}n/=6}return{h:n,s:r,l}}function c(A,e,t){A=S(A,255),e=S(e,255),t=S(t,255);var n,r,o=a(A,e,t),s=i(A,e,t),l=o,u=o-s;if(r=0===o?0:u/o,o==s)n=0;else{switch(o){case A:n=(e-t)/u+(e<t?6:0);break;case e:n=(t-A)/u+2;break;case t:n=(A-e)/u+4}n/=6}return{h:n,s:r,v:l}}function d(A,e,t,n){var r=[L(o(A).toString(16)),L(o(e).toString(16)),L(o(t).toString(16))];return n&&r[0].charAt(0)==r[0].charAt(1)&&r[1].charAt(0)==r[1].charAt(1)&&r[2].charAt(0)==r[2].charAt(1)?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function f(A,e,t,n){return[L(T(n)),L(o(A).toString(16)),L(o(e).toString(16)),L(o(t).toString(16))].join("")}function g(A,e){e=0===e?0:e||10;var t=l(A).toHsl();return t.s-=e/100,t.s=I(t.s),l(t)}function h(A,e){e=0===e?0:e||10;var t=l(A).toHsl();return t.s+=e/100,t.s=I(t.s),l(t)}function p(A){return l(A).desaturate(100)}function B(A,e){e=0===e?0:e||10;var t=l(A).toHsl();return t.l+=e/100,t.l=I(t.l),l(t)}function m(A,e){e=0===e?0:e||10;var t=l(A).toRgb();return t.r=a(0,i(255,t.r-o(-e/100*255))),t.g=a(0,i(255,t.g-o(-e/100*255))),t.b=a(0,i(255,t.b-o(-e/100*255))),l(t)}function w(A,e){e=0===e?0:e||10;var t=l(A).toHsl();return t.l-=e/100,t.l=I(t.l),l(t)}function y(A,e){var t=l(A).toHsl(),n=(t.h+e)%360;return t.h=n<0?360+n:n,l(t)}function v(A){var e=l(A).toHsl();return e.h=(e.h+180)%360,l(e)}function Q(A){var e=l(A).toHsl(),t=e.h;return[l(A),l({h:(t+120)%360,s:e.s,l:e.l}),l({h:(t+240)%360,s:e.s,l:e.l})]}function b(A){var e=l(A).toHsl(),t=e.h;return[l(A),l({h:(t+90)%360,s:e.s,l:e.l}),l({h:(t+180)%360,s:e.s,l:e.l}),l({h:(t+270)%360,s:e.s,l:e.l})]}function C(A){var e=l(A).toHsl(),t=e.h;return[l(A),l({h:(t+72)%360,s:e.s,l:e.l}),l({h:(t+216)%360,s:e.s,l:e.l})]}function U(A,e,t){e=e||6,t=t||30;var n=l(A).toHsl(),r=360/t,o=[l(A)];for(n.h=(n.h-(r*e>>1)+720)%360;--e;)n.h=(n.h+r)%360,o.push(l(n));return o}function F(A,e){e=e||6;for(var t=l(A).toHsv(),n=t.h,r=t.s,o=t.v,i=[],a=1/e;e--;)i.push(l({h:n,s:r,v:o})),o=(o+a)%1;return i}l.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 A=this.toRgb();return(299*A.r+587*A.g+114*A.b)/1e3},getLuminance:function(){var A,t,n,r=this.toRgb();return A=r.r/255,t=r.g/255,n=r.b/255,.2126*(A<=.03928?A/12.92:e.pow((A+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:e.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:e.pow((n+.055)/1.055,2.4))},setAlpha:function(A){return this._a=H(A),this._roundA=o(100*this._a)/100,this},toHsv:function(){var A=c(this._r,this._g,this._b);return{h:360*A.h,s:A.s,v:A.v,a:this._a}},toHsvString:function(){var A=c(this._r,this._g,this._b),e=o(360*A.h),t=o(100*A.s),n=o(100*A.v);return 1==this._a?"hsv("+e+", "+t+"%, "+n+"%)":"hsva("+e+", "+t+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var A=u(this._r,this._g,this._b);return{h:360*A.h,s:A.s,l:A.l,a:this._a}},toHslString:function(){var A=u(this._r,this._g,this._b),e=o(360*A.h),t=o(100*A.s),n=o(100*A.l);return 1==this._a?"hsl("+e+", "+t+"%, "+n+"%)":"hsla("+e+", "+t+"%, "+n+"%, "+this._roundA+")"},toHex:function(A){return d(this._r,this._g,this._b,A)},toHexString:function(A){return"#"+this.toHex(A)},toHex8:function(A){return function(A,e,t,n,r){var i=[L(o(A).toString(16)),L(o(e).toString(16)),L(o(t).toString(16)),L(T(n))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,A)},toHex8String:function(A){return"#"+this.toHex8(A)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"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(100*S(this._r,255))+"%",g:o(100*S(this._g,255))+"%",b:o(100*S(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*S(this._r,255))+"%, "+o(100*S(this._g,255))+"%, "+o(100*S(this._b,255))+"%)":"rgba("+o(100*S(this._r,255))+"%, "+o(100*S(this._g,255))+"%, "+o(100*S(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(x[d(this._r,this._g,this._b,!0)]||!1)},toFilter:function(A){var e="#"+f(this._r,this._g,this._b,this._a),t=e,n=this._gradientType?"GradientType = 1, ":"";if(A){var r=l(A);t="#"+f(r._r,r._g,r._b,r._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+e+",endColorstr="+t+")"},toString:function(A){var e=!!A;A=A||this._format;var t=!1,n=this._a<1&&this._a>=0;return e||!n||"hex"!==A&&"hex6"!==A&&"hex3"!==A&&"hex4"!==A&&"hex8"!==A&&"name"!==A?("rgb"===A&&(t=this.toRgbString()),"prgb"===A&&(t=this.toPercentageRgbString()),("hex"===A||"hex6"===A)&&(t=this.toHexString()),"hex3"===A&&(t=this.toHexString(!0)),"hex4"===A&&(t=this.toHex8String(!0)),"hex8"===A&&(t=this.toHex8String()),"name"===A&&(t=this.toName()),"hsl"===A&&(t=this.toHslString()),"hsv"===A&&(t=this.toHsvString()),t||this.toHexString()):"name"===A&&0===this._a?this.toName():this.toRgbString()},clone:function(){return l(this.toString())},_applyModification:function(A,e){var t=A.apply(null,[this].concat([].slice.call(e)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(B,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(w,arguments)},desaturate:function(){return this._applyModification(g,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(p,arguments)},spin:function(){return this._applyModification(y,arguments)},_applyCombination:function(A,e){return A.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(U,arguments)},complement:function(){return this._applyCombination(v,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(C,arguments)},triad:function(){return this._applyCombination(Q,arguments)},tetrad:function(){return this._applyCombination(b,arguments)}},l.fromRatio=function(A,e){if("object"==typeof A){var t={};for(var n in A)A.hasOwnProperty(n)&&(t[n]="a"===n?A[n]:P(A[n]));A=t}return l(A,e)},l.equals=function(A,e){return!(!A||!e)&&l(A).toRgbString()==l(e).toRgbString()},l.random=function(){return l.fromRatio({r:s(),g:s(),b:s()})},l.mix=function(A,e,t){t=0===t?0:t||50;var n=l(A).toRgb(),r=l(e).toRgb(),o=t/100;return l({r:(r.r-n.r)*o+n.r,g:(r.g-n.g)*o+n.g,b:(r.b-n.b)*o+n.b,a:(r.a-n.a)*o+n.a})},l.readability=function(A,t){var n=l(A),r=l(t);return(e.max(n.getLuminance(),r.getLuminance())+.05)/(e.min(n.getLuminance(),r.getLuminance())+.05)},l.isReadable=function(A,e,t){var n,r,o=l.readability(A,e);switch(r=!1,n=function(A){var e,t;return"AA"!==(e=((A=A||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==e&&(e="AA"),"small"!==(t=(A.size||"small").toLowerCase())&&"large"!==t&&(t="small"),{level:e,size:t}}(t),n.level+n.size){case"AAsmall":case"AAAlarge":r=o>=4.5;break;case"AAlarge":r=o>=3;break;case"AAAsmall":r=o>=7}return r},l.mostReadable=function(A,e,t){var n,r,o,i,a=null,s=0;r=(t=t||{}).includeFallbackColors,o=t.level,i=t.size;for(var u=0;u<e.length;u++)(n=l.readability(A,e[u]))>s&&(s=n,a=l(e[u]));return l.isReadable(A,a,{level:o,size:i})||!r?a:(t.includeFallbackColors=!1,l.mostReadable(A,["#fff","#000"],t))};var E=l.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"},x=l.hexNames=function(A){var e={};for(var t in A)A.hasOwnProperty(t)&&(e[A[t]]=t);return e}(E);function H(A){return A=parseFloat(A),(isNaN(A)||A<0||A>1)&&(A=1),A}function S(A,t){(function(A){return"string"==typeof A&&-1!=A.indexOf(".")&&1===parseFloat(A)})(A)&&(A="100%");var n=function(A){return"string"==typeof A&&-1!=A.indexOf("%")}(A);return A=i(t,a(0,parseFloat(A))),n&&(A=parseInt(A*t,10)/100),e.abs(A-t)<1e-6?1:A%t/parseFloat(t)}function I(A){return i(1,a(0,A))}function k(A){return parseInt(A,16)}function L(A){return 1==A.length?"0"+A:""+A}function P(A){return A<=1&&(A=100*A+"%"),A}function T(A){return e.round(255*parseFloat(A)).toString(16)}function O(A){return k(A)/255}var D,M,K,R=(M="[\\s|\\(]+("+(D="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",K="[\\s|\\(]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")[,|\\s]+("+D+")\\s*\\)?",{CSS_UNIT:new RegExp(D),rgb:new RegExp("rgb"+M),rgba:new RegExp("rgba"+K),hsl:new RegExp("hsl"+M),hsla:new RegExp("hsla"+K),hsv:new RegExp("hsv"+M),hsva:new RegExp("hsva"+K),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 V(A){return!!R.CSS_UNIT.exec(A)}A.exports?A.exports=l:window.tinycolor=l}(Math)}(Rw);var GB,jB,WB,un=Rw.exports;function RH(){if(GB)return Fo;GB=1,Object.defineProperty(Fo,"__esModule",{value:!0}),Fo.gradientParser=void 0;var A=Gi(),e=wa();function t(A){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}function n(A,e){if(A){if("string"==typeof A)return r(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return r(A,e)}}function r(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}function o(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function i(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?o(Object(t),!0).forEach((function(e){a(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function a(A,e,n){return e=function(A){var e=function(A,e){if("object"!==t(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===t(e)?e:String(e)}(e),e in A?Object.defineProperty(A,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[e]=n,A}var s=un;return Fo.gradientParser=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",o={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 a(A){var e=new Error(t+": "+A);throw e.source=t,e}function l(){return u("linear-gradient",o.linearGradient,d)||u("repeating-linear-gradient",o.repeatingLinearGradient,d)||u("radial-gradient",o.radialGradient,f)||u("repeating-radial-gradient",o.repeatingRadialGradient,f)}function u(A,e,t){return c(e,(function(e){var n=t();return n&&(x(o.comma)||a("Missing comma before color stops")),{type:A,orientation:n,colorStops:m(w)}}))}function c(A,e){var t=x(A);if(t){x(o.startCall)||a("Missing (");var n=e(t);return x(o.endCall)||a("Missing )"),n}}function d(){return E("directional",o.sideOrCorner,1)||E("angular",o.angleValue,1)}function f(){var A,e,n=g();return n&&((A=[]).push(n),e=t,x(o.comma)&&((n=g())?A.push(n):t=e)),A}function g(){var A=function(){var A=E("shape",/^(circle)/i,0);return A&&(A.style=F()||h()),A}()||function(){var A=E("shape",/^(ellipse)/i,0);return A&&(A.style=U()||h()),A}();if(A)A.at=p();else{var e=h();if(e){A=e;var t=p();t&&(A.at=t)}else{var n=B();n&&(A={type:"default-radial",at:n})}}return A}function h(){return E("extent-keyword",o.extentKeywords,1)}function p(){if(E("position",/^at/,0)){var A=B();return A||a("Missing positioning value"),A}}function B(){var A={x:U(),y:U()};if(A.x||A.y)return{type:"position",value:A}}function m(A){var e=A(),t=[];if(e)for(t.push(e);x(o.comma);)(e=A())?t.push(e):a("One extra comma");return t}function w(){var A,e=function(){var A=E("hex",o.hexColor,1);if(null!=A&&A.value){var e=s(null==A?void 0:A.value).toRgb(),t=e.r,n=e.g,r=e.b,i=e.a;return{value:"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(i,")")}}}()||c(o.hslColor,y)||c(o.rgbaColor,b)||c(o.rgbColor,Q)||function(){var A=E("literal",o.literalColor,0);if(null!=A&&A.value){var e=s(null==A?void 0:A.value).toRgb(),t=e.r,n=e.g,r=e.b,i=e.a;return{value:"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(i,")")}}}()||c(o.hsvColor,v);return e||a("Expected color definition"),e.left=parseInt(null===(A=U())||void 0===A?void 0:A.value),e}var y=function(A){var t=(0,e.isUpperCase)(null==A?void 0:A[0]),n=m(C),r=s({h:n[0],s:n[1],l:n[2],a:n[3]||1}).toRgb(),o=r.r,i=r.g,a=r.b,l=r.a;return{value:"".concat(t?"RGBA":"rgba","(").concat(o,", ").concat(i,", ").concat(a,", ").concat(l,")")}},v=function(A){var t=(0,e.isUpperCase)(null==A?void 0:A[0]),n=m(C),r=s({h:n[0],s:n[1],v:n[2],a:n[3]||1}).toRgb(),o=r.r,i=r.g,a=r.b,l=r.a;return{value:"".concat(t?"RGBA":"rgba","(").concat(o,", ").concat(i,", ").concat(a,", ").concat(l,")")}},Q=function(A){var t,i=(0,e.isUpperCase)(null==A?void 0:A[0]),a=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||n(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(x(o.spacedRgbColor)||[null].concat(function(A){if(Array.isArray(A))return r(A)}(t=m(C))||function(A){if(typeof Symbol<"u"&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(t)||n(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),5),s=a[1],l=a[2],u=a[3],c=a[4],d=void 0===c?1:c;return{value:"".concat(i?"RGBA":"rgba","(").concat(s,", ").concat(l,", ").concat(u,", ").concat(d,")")}},b=function(A){var t=(0,e.isUpperCase)(null==A?void 0:A[0]);return{value:"".concat(t?"RGBA":"rgba","(").concat(m(C),")")}};function C(){return x(o.number)[1]}function U(){return E("%",o.percentageValue,1)||E("position-keyword",o.positionKeywords,1)||F()}function F(){return E("px",o.pixelValue,1)||E("em",o.emValue,1)}function E(A,e,t){var n=x(e);if(n)return{type:A,value:n[t]}}function x(A){var e,n;return(n=/^[\n\r\t\s]+/.exec(t))&&H(n[0].length),(e=A.exec(t))&&H(e[0].length),e}function H(A){t=t.substr(A)}return function(){var n,r=m(l);t.length>0&&a("Invalid input not EOF");var o=r[0],s=null==o||null===(n=o.colorStops)||void 0===n?void 0:n.filter((function(A){return(0,e.isUpperCase)(A.value)})).length;return function(){if(s>0)return o;var e=function(e,t){return 0===t?(0,A.high)(e):(0,A.low)(e)};return i(i({},o),{},{colorStops:o.colorStops.map((function(A,t){return i(i({},A),{},{value:e(A,t)})}))})}()}()},Fo}function Gi(){if(jB)return Pt;jB=1,Object.defineProperty(Pt,"__esModule",{value:!0}),Pt.low=Pt.high=Pt.getColors=Pt.formatInputValues=void 0;var A=Vt,e=RH();A.config.defaultColor;var t=A.config.defaultGradient;Pt.low=function(A){return A.value.toLowerCase()},Pt.high=function(A){return A.value.toUpperCase()},Pt.getColors=function(A){if(null==A?void 0:A.includes("gradient")){var r=null==A?void 0:A.includes("conic"),o=!r&&n()?A:t;r&&console.log("Sorry we cant handle conic gradients yet");var i=(0,e.gradientParser)(o);return null==i?void 0:i.colorStops}return[{value:A}]};var n=function(A){return!0};return Pt.formatInputValues=function(A,e,t){return isNaN(A)||A<e?e:A>t?t:A},Pt}function wa(){if(WB)return He;WB=1,Object.defineProperty(He,"__esModule",{value:!0}),He.compareGradients=void 0,He.computePickerPosition=function(e){var t,n=o(e),i=n.offsetLeft,a=n.offsetTop,s=n.clientWidth,l=n.clientHeight;return[(t=e.clientX-i-r/2,(0,A.formatInputValues)(t,-9,s-10)),function(){var t=e.clientY-a-r/2;return(0,A.formatInputValues)(t,-9,l-10)}()]},He.computeSquareXY=function(A,e,t){var n=100*A[1],o=100*A[2],i=n*(o<50?o:100-o)/100,a=0|Math.round(200*i/(o+i)),s=Math.round(i+o);return[e/100*a-r/2,t-t/100*s-r/2]},He.getGradientType=He.getDegrees=void 0,He.getHandleValue=function(e){var t=o(e),r=t.offsetLeft,i=t.clientWidth,a=e.clientX-r-n/2,s=i-18,l=(0,A.formatInputValues)(a,0,s);return Math.round(l/(s/100))},He.safeBounds=He.isUpperCase=He.getNewHsl=void 0;var A=Gi(),e=Vt,t=un,n=e.config.barSize,r=e.config.crossSize;He.getDegrees=function(A){var e,t=null==A?void 0:A.split(",")[0];return parseInt(null==t||null===(e=t.split("(")[1])||void 0===e?void 0:e.slice(0,-3))},He.getGradientType=function(A){return null==A?void 0:A.split("(")[0]},He.getNewHsl=function(A,e,n,r,o){o(A);var i=t({h:A,s:e,l:n}).toRgb(),a=i.r,s=i.g,l=i.b;return"rgba(".concat(a,", ").concat(s,", ").concat(l,", ").concat(r,")")};var o=function(A){var e=A.target.parentNode.getBoundingClientRect(),t="c-resize ps-rl"===A.target.className?15:0;return{offsetLeft:(null==e?void 0:e.x)+t,offsetTop:null==e?void 0:e.y,clientWidth:null==e?void 0:e.width,clientHeight:null==e?void 0:e.height}};return He.safeBounds=o,He.isUpperCase=function(A){var e;return(null==A?void 0:A[0])===(null==A||null===(e=A[0])||void 0===e?void 0:e.toUpperCase())},He.compareGradients=function(A,e){var t,n;return(null==A||null===(t=A.toLowerCase())||void 0===t?void 0:t.replaceAll(" ",""))===(null==e||null===(n=e.toLowerCase())||void 0===n?void 0:n.replaceAll(" ",""))},He}!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(A){var r=A.children,o=A.bounds,s=A.value,l=A.onChange,u=A.squareSize,d=A.squareHeight,p=A.hideOpacity,B=null==o?void 0:o.x,m=null==s?void 0:s.includes("gradient"),w=(0,t.getGradientType)(s),y=(0,t.getDegrees)(s),v="linear-gradient"===w?"".concat(y,"deg"):"circle",Q=(0,n.getColors)(s),b=null==Q?void 0:Q.map((function(A,e){return c(c({},A),{},{index:e})})),C=(null==b?void 0:b.filter((function(A){return(0,t.isUpperCase)(A.value)}))[0])||b[0],U=null==C?void 0:C.value,F=null==C?void 0:C.index,E=null==C?void 0:C.left,x=a((0,e.useState)(f(U)),2),H=x[0],S=x[1],I=a((0,e.useState)("rgb"),2),k=I[0],L=I[1],P=H.toRgb(),T=P.r,O=P.g,D=P.b,M=P.a,K=H.toHsl(),R=K.h,V=K.s,N=K.l,j=H.toHsv(),G=j.s,_=j.v,W=a((0,e.useState)(Math.round(R)),2),X=W[0],z=W[1],J=Math.round(R),Y=a((0,t.computeSquareXY)([J,V,N],u,d),2),Z=Y[0],q=Y[1],$=a((0,e.useState)([]),2),AA=$[0],eA=$[1],tA=a((0,e.useState)([]),2),nA=tA[0],rA=tA[1],oA=a((0,e.useState)(null),2),iA=oA[0],aA=oA[1],sA=function(A){A!==s&&(m?(0,t.compareGradients)(nA[0],s)||rA([s].concat(i(null==nA?void 0:nA.slice(0,8)))):eA([s].concat(i(null==AA?void 0:AA.slice(0,8)))),l(A))};(0,e.useEffect)((function(){S(f(U)),z(J)}),[U,J]);var lA=function(A){var e=A.sort((function(A,e){return A.left-e.left})),t=null==e?void 0:e.map((function(A){return"".concat(null==A?void 0:A.value," ").concat(A.left,"%")}));sA("".concat(w,"(").concat(v,", ").concat(t.join(", "),")"))},uA=function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:E,n=null==Q?void 0:Q.filter((function(A){return!(0,t.isUpperCase)(A.value)})),r=[{value:A.toUpperCase(),left:e}].concat(i(n));lA(r)},cA=function(A){m?uA(A):sA(A)},dA=function(A){var e=null==Q?void 0:Q.map((function(e,t){return c(c({},e),{},{value:t===A?(0,n.high)(e):(0,n.low)(e)})}));lA(e)};(0,e.useEffect)((function(){return window.addEventListener("click",fA),function(){window.removeEventListener("click",fA)}}),[iA,s]);var fA=function(A){var e,t=null==A||null===(e=A.path)||void 0===e?void 0:e.map((function(A){return A.id}));null!=t&&t.includes("gradient-bar")?aA("gpoint"):null!=t&&t.includes("rbgcp-input")?aA("input"):null!=t&&t.includes("rbgcp-wrapper")?aA("picker"):aA(null)},gA={x:Z,y:q,s:V,l:N,r:T,g:O,b:D,hue:J,hsvS:G,hsvV:_,value:s,colors:Q,degrees:y,inFocus:iA,opacity:M,onChange:l,addPoint:function(A){var e,r=(0,t.getHandleValue)(A,B),o=null===(e=[].concat(i(Q.map((function(A){return c(c({},A),{},{value:(0,n.low)(A)})}))),[{value:U,left:r}]))||void 0===e?void 0:e.sort((function(A,e){return A.left-e.left}));lA(o)},inputType:k,nextPoint:function(){F!==(null==Q?void 0:Q.length)-1&&dA(F+1)},tinyColor:H,handleHue:function(A){var e=3.6*(0,t.getHandleValue)(A),n=(0,t.getNewHsl)(e,V,N,M,z);cA(n)},setInFocus:aA,isGradient:m,offsetLeft:B,squareSize:u,hideOpacity:p,handleColor:function(A,e){var n=a((0,t.computePickerPosition)(A,d),2),r=n[0],o=n[1],i=Math.min(r+g/2,u-1),s=Math.min(o+g/2,d-1),l=a(e.getImageData(i,s,1,1).data,3),c=l[0],f=l[1],h=l[2],p="rgba(".concat(c,", ").concat(f,", ").concat(h,", ").concat(M,")");cA(p)},currentLeft:E,deletePoint:function(){if((null==Q?void 0:Q.length)>2){var A=null==Q?void 0:Q.map((function(A,e){return c(c({},A),{},{value:e===F-1?(0,n.high)(A):(0,n.low)(A)})})),e=null==A?void 0:A.filter((function(A,e){return e!==F}));lA(e)}},internalHue:X,squareHeight:d,setInputType:L,gradientType:w,handleChange:cA,currentColor:U,selectedColor:F,handleOpacity:function(A){var e=(0,t.getHandleValue)(A)/100,n="rgba(".concat(T,", ").concat(O,", ").concat(D,", ").concat(e,")");cA(n)},setInternalHue:z,previousColors:AA,handleGradient:uA,setSelectedColor:dA,internalOnChange:sA,previousGraidents:nA};return e.default.createElement(h.Provider,{value:gA},r)},A.usePicker=function(){return(0,e.useContext)(h)};var e=function(A,e){if(A&&A.__esModule)return A;if(null===A||"object"!==o(A)&&"function"!=typeof A)return{default:A};var t=r(e);if(t&&t.has(A))return t.get(A);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in A)if("default"!==a&&Object.prototype.hasOwnProperty.call(A,a)){var s=i?Object.getOwnPropertyDescriptor(A,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=A[a]}return n.default=A,t&&t.set(A,n),n}(AA),t=wa(),n=Gi();function r(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(r=function(A){return A?t:e})(A)}function o(A){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}function i(A){return function(A){if(Array.isArray(A))return l(A)}(A)||function(A){if(typeof Symbol<"u"&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(A)||s(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||s(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(A,e){if(A){if("string"==typeof A)return l(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(A,e)}}function l(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}function u(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function c(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){d(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function d(A,e,t){return e=function(A){var e=function(A,e){if("object"!==o(A)||null===A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var n=t.call(A,"string");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===o(e)?e:String(e)}(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}var f=un,g=Vt.config.crossSize,h=(0,e.createContext)()}(Bt);var Kw={},Mw={},Gd={};!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.usePaintSat=A.usePaintLight=A.usePaintBright=A.default=void 0;var e=AA,t=un;A.default=function(A,t){(0,e.useEffect)((function(){var e,n=null==A||null===(e=A.current)||void 0===e?void 0:e.getContext("2d",{willReadFrequently:!0});n.rect(0,0,t,14);for(var r=n.createLinearGradient(0,0,t,0),o=0;o<=360;o+=30)r.addColorStop(o/360,"hsl(".concat(o,", 100%, 50%)"));n.fillStyle=r,n.fill()}),[A,t])},A.usePaintSat=function(A,t,n,r){(0,e.useEffect)((function(){var e,o=null==A||null===(e=A.current)||void 0===e?void 0:e.getContext("2d",{willReadFrequently:!0});if(o){o.rect(0,0,r,14);for(var i=o.createLinearGradient(0,0,r,0),a=0;a<=100;a+=10)i.addColorStop(a/100,"hsl(".concat(t,", ").concat(a,"%, ").concat(n,"%)"));o.fillStyle=i,o.fill()}}),[A,t,n,r])},A.usePaintLight=function(A,t,n,r){(0,e.useEffect)((function(){var e,o=null==A||null===(e=A.current)||void 0===e?void 0:e.getContext("2d",{willReadFrequently:!0});if(o){o.rect(0,0,r,14);for(var i=o.createLinearGradient(0,0,r,0),a=0;a<=100;a+=10)i.addColorStop(a/100,"hsl(".concat(t,", ").concat(n,"%, ").concat(a,"%)"));o.fillStyle=i,o.fill()}}),[A,t,n,r])},A.usePaintBright=function(A,n,r,o){(0,e.useEffect)((function(){var e,i=null==A||null===(e=A.current)||void 0===e?void 0:e.getContext("2d",{willReadFrequently:!0});if(i){i.rect(0,0,o,14);for(var a=i.createLinearGradient(0,0,o,0),s=0;s<=100;s+=10){var l=t({h:n,s:r,v:s});a.addColorStop(s/100,l.toHslString())}i.fillStyle=a,i.fill()}}),[A,n,r,o])}}(Gd);var bA={};Object.defineProperty(bA,"__esModule",{value:!0}),bA.psRl=bA.opacityOverlay=bA.npe=bA.jsb=bA.jfe=bA.jc=bA.inputWrap=bA.inputLabel=bA.inputDropdown=bA.input=bA.handle=bA.gradientHandleWrap=bA.gradientHandle=bA.df=bA.degreeInput=bA.controlBtnsWrap=bA.controlBtn=bA.checkered=bA.canvasWrapper=bA.cResize=bA.cCross=bA.borderBox=bA.ac=void 0;var KH={display:"flex"};bA.df=KH;var MH={alignItems:"center"};bA.ac=MH;var _H={justifyContent:"center"};bA.jc=_H;var VH={justifyContent:"flex-end"};bA.jfe=VH;var NH={justifyContent:"space-between"};bA.jsb=NH;var GH={position:"relative"};bA.psRl=GH;var jH={cursor:"crosshair"};bA.cCross=jH;var WH={borderRadius:6,overflow:"hidden",height:294};bA.canvasWrapper=WH;var zH={cursor:"ew-resize"};bA.cResize=zH;var XH={position:"absolute",left:0,top:0,width:"100%",height:"100%",borderRadius:10};bA.opacityOverlay=XH;var JH={boxSizing:"border-box"};bA.borderBox=JH;var YH={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"};bA.handle=YH;var $H={position:"absolute",zIndex:1e4,top:-2,outline:"none"};bA.gradientHandleWrap=$H;var ZH={border:"2px solid white",borderRadius:"50%",boxShadow:"0px 0px 3px rgba(0,0,0,.5)",width:18,height:18,boxSizing:"border-box"};bA.gradientHandle=ZH;var qH={pointerEvents:"none"};bA.npe=qH;var A4={height:24,borderRadius:4,border:"none",outline:"none",textAlign:"center",width:34,fontWeight:500,color:"rgb(50, 49, 54)",fontSize:13,background:"transparent"};bA.degreeInput=A4;var e4={height:32,borderRadius:6,border:"1px solid #bebebe",width:"100%",padding:2,outline:"none",color:"black",fontWeight:400,textAlign:"center",boxSizing:"border-box"};bA.inputWrap=e4;var t4={textAlign:"center",lineHeight:1.2,fontWeight:700,color:"rgb(86,86,86)",fontSize:11};bA.inputLabel=t4;var r4={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)"};bA.controlBtn=r4;var n4={height:28,background:"#e9e9f5",borderRadius:6,padding:2};bA.controlBtnsWrap=n4;var i4={position:"absolute",right:-2,top:34,padding:5,background:"#e9e9f5",zIndex:1e8,borderRadius:6,boxShadow:"1px 1px 14px 1px rgba(0,0,0,.25)"};bA.inputDropdown=i4;var o4={fontFamily:"-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif"};bA.input=o4;var a4={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};bA.checkered=a4,function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t,n=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=a(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var s=o?Object.getOwnPropertyDescriptor(A,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),r=Bt,o=(t=Gd)&&t.__esModule?t:{default:t},i=bA;function a(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(a=function(A){return A?t:e})(A)}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function l(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){u(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function u(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function c(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return d(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}A.default=function(){var A=(0,n.useRef)(null),e=(0,r.usePicker)(),t=e.handleHue,a=e.internalHue,s=e.squareSize,u=c((0,n.useState)(!1),2),d=u[0],f=u[1];(0,o.default)(A,s);var g=c((0,n.useState)(2),2),h=g[0],p=g[1];return(0,n.useEffect)((function(){var e;p((null==A||null===(e=A.current)||void 0===e?void 0:e.offsetTop)-2)}),[A]),(0,n.useEffect)((function(){var A=function(){f(!1)};return window.addEventListener("mouseup",A),function(){window.removeEventListener("mouseup",A)}}),[]),n.default.createElement("div",{style:l(l(l(l({},i.psRl),i.cResize),i.borderBox),{},{height:14,marginTop:17,marginBottom:4}),onMouseMove:function(A){return function(A){d&&t(A)}(A)}},n.default.createElement("div",{style:l(l({},i.handle),{},{left:a*((s-18)/360),top:h}),onMouseDown:function(){f(!0)}}),n.default.createElement("canvas",{ref:A,width:"".concat(s,"px"),height:"14px",style:{position:"relative",borderRadius:14,verticalAlign:"top"},onClick:function(A){return function(A){d||t(A)}(A)}}))}}(Mw);var _w={},ji={};function s4(A,e,t){var n=0,r=0,o=0;if(null===A||null===e||null===t||isNaN(A)||isNaN(e)||isNaN(t))alert("Please enter numeric RGB values!");else{if(!(A<0||e<0||t<0||A>255||e>255||t>255)){if(0===A&&0===e&&0===t)return[0,0,0,1];n=1-A/255,r=1-e/255,o=1-t/255;var i=Math.min(n,Math.min(r,o));return{c:n=(n-i)/(1-i),m:r=(r-i)/(1-i),y:o=(o-i)/(1-i),k:i}}alert("RGB values must be in the range 0 to 255.")}}Object.defineProperty(ji,"__esModule",{value:!0}),ji.cmykToRgb=void 0,ji.rgb2cmyk=s4;var l4=function(A){var e=A.c,t=A.m,n=A.y,r=A.k;return{r:255*(1-e)*(1-r),g:255*(1-t)*(1-r),b:255*(1-n)*(1-r)}};ji.cmykToRgb=l4,function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=a(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var s=o?Object.getOwnPropertyDescriptor(A,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),n=ji,r=Gi(),o=Bt,i=bA;function a(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(a=function(A){return A?t:e})(A)}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function l(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){u(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function u(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function c(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return d(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var f=un;A.default=function(){var A=(0,o.usePicker)(),e=A.handleChange,n=A.r,r=A.g,i=A.b,a=A.opacity,s=A.inputType,l=A.hideOpacity;return t.default.createElement("div",{style:{display:"flex",justifyContent:"space-between",paddingTop:14}},"cmyk"!==s&&t.default.createElement(g,null),"hsl"===s&&t.default.createElement(p,null),"rgb"===s&&t.default.createElement(h,null),"hsv"===s&&t.default.createElement(B,null),"cmyk"===s&&t.default.createElement(m,null),!l&&t.default.createElement(w,{value:Math.round(100*a),callback:function(A){return e("rgba(".concat(n,", ").concat(r,", ").concat(i,", ").concat(A/100,")"))},label:"A"}))};var g=function(){var A=(0,o.usePicker)(),e=A.handleChange,n=A.tinyColor,r=A.opacity,a=c((0,t.useState)(""),2),s=a[0],u=a[1],d=n.toHex(),g=c((0,t.useState)(d),2),h=g[0],p=g[1];return(0,t.useEffect)((function(){"hex"!==s&&p(d)}),[n,s,d]),t.default.createElement("div",{style:{width:"23%"}},t.default.createElement("input",{style:l({},i.inputWrap),value:h,onChange:function(A){return function(A){var t=f(A.target.value);if(p(A.target.value),t.isValid()){var n=t.toRgb(),o=n.r,i=n.g,a=n.b,s="rgba(".concat(o,", ").concat(i,", ").concat(a,", ").concat(r,")");e(s)}}(A)},id:"rbgcp-input",onFocus:function(){u("hex")},onBlur:function(){u("")}}),t.default.createElement("div",{style:l({},i.inputLabel)},"HEX"))},h=function(){var A=(0,o.usePicker)(),e=A.handleChange,n=A.r,r=A.g,i=A.b,a=A.opacity,s=function(A){var t=A.r,n=A.g,r=A.b;e("rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(a,")"))};return t.default.createElement(t.default.Fragment,null,t.default.createElement(w,{value:n,callback:function(A){return s({r:A,g:r,b:i})},label:"R",max:255}),t.default.createElement(w,{value:r,callback:function(A){return s({r:n,g:A,b:i})},label:"G",max:255}),t.default.createElement(w,{value:i,callback:function(A){return s({r:n,g:r,b:A})},label:"B",max:255}))},p=function(){var A=(0,o.usePicker)(),e=A.handleChange,n=A.s,r=A.l,i=A.internalHue,a=A.opacity,s=A.setInternalHue,l=function(A){var t=f(A).toRgb(),n=t.r,r=t.g,o=t.b;e("rgba(".concat(n,", ").concat(r,", ").concat(o,", ").concat(a,")"))};return t.default.createElement(t.default.Fragment,null,t.default.createElement(w,{value:y(i),callback:function(A){return function(A,t,n){s(A);var r=f({h:A,s:t,l:n}).toRgb(),o=r.r,i=r.g,l=r.b;e("rgba(".concat(o,", ").concat(i,", ").concat(l,", ").concat(a,")"))}(A,n,r)},label:"H",max:360}),t.default.createElement(w,{value:y(100*n),callback:function(A){return l({h:i,s:A,l:r})},label:"S"}),t.default.createElement(w,{value:y(100*r),callback:function(A){return l({h:i,s:n,l:A})},label:"L"}))},B=function(){var A=(0,o.usePicker)(),e=A.handleChange,n=A.hsvS,r=A.hsvV,i=A.internalHue,a=A.setInternalHue,s=A.opacity,l=function(A){var t=f(A).toRgb(),n=t.r,r=t.g,o=t.b;e("rgba(".concat(n,", ").concat(r,", ").concat(o,", ").concat(s,")"))};return t.default.createElement(t.default.Fragment,null,t.default.createElement(w,{value:y(i),callback:function(A){return function(A,t,n){a(A);var r=f({h:A,s:t,v:n}).toRgb(),o=r.r,i=r.g,l=r.b;e("rgba(".concat(o,", ").concat(i,", ").concat(l,", ").concat(s,")"))}(A,n,r)},label:"H",max:360}),t.default.createElement(w,{value:y(100*n),callback:function(A){return l({h:i,s:A,v:r})},label:"S"}),t.default.createElement(w,{value:y(100*r),callback:function(A){return l({h:i,s:n,v:A})},label:"V"}))},m=function(){var A=(0,o.usePicker)(),e=A.handleChange,r=A.r,i=A.g,a=A.b,s=A.opacity,l=(0,n.rgb2cmyk)(r,i,a),u=l.c,c=l.m,d=l.k,f=l.y,g=function(A){var t=(0,n.cmykToRgb)(A),r=t.r,o=t.g,i=t.b;e("rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(s,")"))};return t.default.createElement(t.default.Fragment,null,t.default.createElement(w,{value:y(100*u),callback:function(A){return g({c:A,m:c,y:f,k:d})},label:"C"}),t.default.createElement(w,{value:y(100*c),callback:function(A){return g({c:u,m:A,y:f,k:d})},label:"M"}),t.default.createElement(w,{value:y(100*f),callback:function(A){return g({c:u,m:c,y:A,k:d})},label:"Y"}),t.default.createElement(w,{value:y(100*d),callback:function(A){return g({c:u,m:c,y:f,k:A})},label:"K"}))},w=function(A){var e=A.value,n=A.callback,a=A.max,s=void 0===a?100:a,u=A.label,d=c((0,t.useState)(e),2),f=d[0],g=d[1],h=(0,o.usePicker)().hideOpacity?"22%":"18%";return(0,t.useEffect)((function(){g(e)}),[e]),t.default.createElement("div",{style:{width:h}},t.default.createElement("input",{id:"rbgcp-input",style:l({},i.inputWrap),value:f,onChange:function(A){return function(A){var e=(0,r.formatInputValues)(parseFloat(A.target.value),0,s);g(e),n(e)}(A)}}),t.default.createElement("div",{style:l({},i.inputLabel)},u))},y=function(A){return Math.round(A,2)}}(_w);var Vw={},Nw={};!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e=AA;A.default=function(A,t,n,r){(0,e.useEffect)((function(){var e=A.current.getContext("2d",{willReadFrequently:!0});e.fillStyle="hsl(".concat(t,", 100%, 50%)"),e.fillRect(0,0,n,r);var o=e.createLinearGradient(0,0,n,0);o.addColorStop(0,"rgba(255, 255, 255, 1)"),o.addColorStop(1,"rgba(255, 255, 255, 0)"),e.fillStyle=o,e.fillRect(0,0,n,r);var i=e.createLinearGradient(0,0,0,r);i.addColorStop(0,"rgba(0, 0, 0, 0)"),i.addColorStop(1,"rgba(0, 0, 0, 1)"),e.fillStyle=i,e.fillRect(0,0,n,r)}),[A,t,n,r])}}(Nw),function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t,n=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=a(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var s=o?Object.getOwnPropertyDescriptor(A,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),r=(t=Nw)&&t.__esModule?t:{default:t},o=Bt,i=bA;function a(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(a=function(A){return A?t:e})(A)}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function l(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){u(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function u(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function c(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}A.default=function(){var A=(0,o.usePicker)(),e=A.x,t=A.y,a=A.handleColor,s=A.internalHue,u=A.squareSize,d=A.squareHeight,f=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return c(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return c(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)(!1),2),g=f[0],h=f[1],p=(0,n.useRef)(null);(0,r.default)(p,s,u,d);var B=function(A){var e,t=null==p||null===(e=p.current)||void 0===e?void 0:e.getContext("2d",{willReadFrequently:!0});a(A,t)},m=function(){h(!1)};return(0,n.useEffect)((function(){var A=function(){m()};return window.addEventListener("mouseup",A),function(){window.removeEventListener("mouseup",A)}}),[]),n.default.createElement("div",{style:i.psRl},n.default.createElement("div",{style:l(l({},i.psRl),i.cCross),onMouseDown:function(A){h(!0),B(A)},onMouseMove:function(A){return function(A){g&&B(A)}(A)},onMouseUp:m},n.default.createElement("div",{style:l({left:e,top:t},i.handle),onMouseDown:function(){h(!0)}}),n.default.createElement("div",{style:l(l({},i.canvasWrapper),{},{height:d}),onClick:function(A){return function(A){g||B(A)}(A)}},n.default.createElement("canvas",{ref:p,width:"".concat(u,"px"),height:"".concat(d,"px"),id:"paintSquare"}))))}}(Vw);var Gw={};!function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=o(t);if(n&&n.has(A))return n.get(A);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in A)if("default"!==a&&Object.prototype.hasOwnProperty.call(A,a)){var s=i?Object.getOwnPropertyDescriptor(A,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=A[a]}return r.default=A,n&&n.set(A,r),r}(AA),n=Bt,r=bA;function o(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(o=function(A){return A?t:e})(A)}function i(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function a(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){s(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function s(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function l(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}A.default=function(){var A=(0,n.usePicker)(),e=A.handleOpacity,o=A.opacity,i=A.tinyColor,s=A.squareSize,u=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return l(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return l(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,t.useState)(!1),2),c=u[0],d=u[1],f=i.toRgb(),g=f.r,h=f.g,p=f.b,B="linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(".concat(g,",").concat(h,",").concat(p,",.5) 100%)"),m=s-18;return(0,t.useEffect)((function(){var A=function(){d(!1)};return window.addEventListener("mouseup",A),function(){window.removeEventListener("mouseup",A)}}),[]),t.default.createElement("div",{onMouseDown:function(){d(!0)},onMouseMove:function(A){return function(A){c&&e(A)}(A)},style:a(a(a(a({},r.cResize),r.psRl),{},{height:14},r.borderBox),{},{marginTop:17,marginBottom:4})},t.default.createElement("div",{style:a(a({},r.checkered),{},{width:"100%",height:14})}),t.default.createElement("div",{style:a({left:m*o,top:-2},r.handle)}),t.default.createElement("div",{style:a({background:B},r.opacityOverlay),onClick:function(A){return function(A){c||e(A)}(A)}}))}}(Gw);var jw={};!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e,t=(e=AA)&&e.__esModule?e:{default:e},n=Bt;A.default=function(A){var e=A.presets,o=void 0===e?[]:e,i=(0,n.usePicker)(),a=i.value,s=i.onChange,l=i.handleChange,u=i.squareSize;return t.default.createElement("div",{style:{display:"flex",marginTop:14,justifyContent:"space-between"}},t.default.createElement("div",{style:{width:50,height:50,background:a,borderRadius:6,flexShrink:0}}),t.default.createElement("div",{style:{display:"flex",flexWrap:"wrap",width:u-66,justifyContent:"space-between"}},((null==o?void 0:o.length)>0?null==o?void 0:o.slice(0,18):r).map((function(A,e){return t.default.createElement("div",{key:e,style:{height:23,width:"10.2%",borderRadius:4,background:A,marginBottom:2,border:"rgba(255,255,255, 1)"===A?"1px solid #96959c":""},onClick:function(){return function(A){null!=A&&A.includes("gradient")?s(A):l(A)}(A)}})}))))};var r=["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)"]}(jw);var hc={},jd={};!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=(e=AA)&&e.__esModule?e:{default:e};A.default=function(){return t.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}},t.default.createElement("polyline",{style:{fill:"none",stroke:"rgb(50, 49, 54)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"},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"}))},A.LinearIcon=function(A){var e={fill:"none",stroke:A.color||"#323136",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return t.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}},t.default.createElement("polyline",{style:e,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.RadialIcon=function(A){var e={fill:"none",stroke:A.color||"#323136",strokeMiterlimit:10,strokeWidth:"1.8px"};return t.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}},t.default.createElement("circle",{style:e,cx:"10",cy:"10",r:"9"}),t.default.createElement("circle",{style:e,cx:"10",cy:"10",r:"5"}))},A.SlidersIcon=function(A){var e=A.color||"#323136",n={fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px",fillRule:"evenodd"},r={fill:e,stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return t.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}},t.default.createElement("polyline",{style:n,points:"3.74 2.75 3.74 12.69 0.9 12.71 6.59 12.71"}),t.default.createElement("line",{style:r,x1:"3.74",y1:"17.26",x2:"3.74",y2:"15.21"}),t.default.createElement("polyline",{style:n,points:"10.1 17.25 10.1 7.31 12.95 7.29 7.26 7.29"}),t.default.createElement("line",{style:r,x1:"10.1",y1:"2.74",x2:"10.1",y2:"4.79"}),t.default.createElement("polyline",{style:n,points:"16.26 2.75 16.26 12.69 13.41 12.71 19.1 12.71"}),t.default.createElement("line",{style:r,x1:"16.26",y1:"17.26",x2:"16.26",y2:"15.21"}))},A.InputsIcon=function(A){var e={fill:"none",stroke:A.color||"#323136",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.8px"};return t.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}},t.default.createElement("path",{style:e,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"}),t.default.createElement("path",{style:e,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"}),t.default.createElement("path",{style:e,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.PaletteIcon=function(A){var e=A.color||"#323136",n={fill:e},r={fill:e,stroke:e,strokeMiterlimit:10,strokeWidth:"0.5px"};return t.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}},t.default.createElement("circle",{style:n,cx:"9.36",cy:"5.07",r:"1.71"}),t.default.createElement("circle",{style:n,cx:"13.93",cy:"6.91",r:"1.71"}),t.default.createElement("circle",{style:n,cx:"5.8",cy:"7.55",r:"1.71"}),t.default.createElement("circle",{style:n,cx:"5.45",cy:"12.04",r:"1.71"}),t.default.createElement("path",{style:r,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.DegreesIcon=function(A){var e={fill:"none",stroke:A.color||"#323136",strokeMiterlimit:10,strokeWidth:"1.8px",strokeLinecap:"round"};return t.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}},t.default.createElement("polyline",{style:e,points:"13.86 2.01 1.7 16.99 18.77 16.99"}),t.default.createElement("polyline",{style:e,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.StopIcon=function(){return t.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}},t.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"}),t.default.createElement("path",{d:"M4.79,8.09V7H9.16V8.09H7.59V13H6.38V8.09Z"}),t.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"}),t.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"}))}}(jd);var gc={},Ww={};!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e=AA,t=hv;function n(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var r=(0,e.memo)((function(A){var r=A.children,o="id"+Math.random().toString(16).slice(2),i=(0,e.useRef)(document.getElementById(o)||document.createElement("div")),a=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return n(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,e.useState)(!i.current.parentElement),1)[0];return(0,e.useEffect)((function(){var A=i.current;return a&&(i.current.id=o,document.body.appendChild(i.current)),function(){a&&A.parentElement&&A.parentElement.removeChild(A)}}),[o]),(0,t.createPortal)(r,i.current)}));A.default=r}(Ww);var zw={exports:{}};zw.exports=function(){var A=function(e,t){return(A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,e){A.__proto__=e}||function(A,e){for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(A[t]=e[t])})(e,t)};function e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}A(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var t=function(){return t=Object.assign||function(A){for(var e,t=1,n=arguments.length;t<n;t++)for(var r in e=arguments[t])Object.prototype.hasOwnProperty.call(e,r)&&(A[r]=e[r]);return A},t.apply(this,arguments)};function n(A,e,t,n){return new(t||(t=Promise))((function(r,o){function i(A){try{s(n.next(A))}catch(A){o(A)}}function a(A){try{s(n.throw(A))}catch(A){o(A)}}function s(A){A.done?r(A.value):function(A){return A instanceof t?A:new t((function(e){e(A)}))}(A.value).then(i,a)}s((n=n.apply(A,e||[])).next())}))}function r(A,e){var t,n,r,o,i={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,n=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(r=(r=i.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){i=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){i.label=o[1];break}if(6===o[0]&&i.label<r[1]){i.label=r[1],r=o;break}if(r&&i.label<r[2]){i.label=r[2],i.ops.push(o);break}r[2]&&i.ops.pop(),i.trys.pop();continue}o=e.call(A,i)}catch(A){o=[6,A],n=0}finally{t=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}function o(A,e,t){if(t||2===arguments.length)for(var n,r=0,o=e.length;r<o;r++)(n||!(r in e))&&(n||(n=Array.prototype.slice.call(e,0,r)),n[r]=e[r]);return A.concat(n||e)}for(var i=function(){function A(A,e,t,n){this.left=A,this.top=e,this.width=t,this.height=n}return A.prototype.add=function(e,t,n,r){return new A(this.left+e,this.top+t,this.width+n,this.height+r)},A.fromClientRect=function(e,t){return new A(t.left+e.windowBounds.left,t.top+e.windowBounds.top,t.width,t.height)},A.fromDOMRectList=function(e,t){var n=Array.from(t).find((function(A){return 0!==A.width}));return n?new A(n.left+e.windowBounds.left,n.top+e.windowBounds.top,n.width,n.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),a=function(A,e){return i.fromClientRect(A,e.getBoundingClientRect())},s=function(A){for(var e=[],t=0,n=A.length;t<n;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){var o=A.charCodeAt(t++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),t--)}else e.push(r)}return e},l=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var n=[],r=-1,o="";++r<t;){var i=A[r];i<=65535?n.push(i):(i-=65536,n.push(55296+(i>>10),i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=typeof Uint8Array>"u"?[]:new Uint8Array(256),d=0;d<64;d++)c[u.charCodeAt(d)]=d;for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g=typeof Uint8Array>"u"?[]:new Uint8Array(256),h=0;h<64;h++)g[f.charCodeAt(h)]=h;for(var p=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},B=function(){function A(A,e,t,n,r,o){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=r,this.data=o}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=typeof Uint8Array>"u"?[]:new Uint8Array(256),y=0;y<64;y++)w[m.charCodeAt(y)]=y;var v=10,Q=13,b=15,C=17,U=18,F=19,E=20,x=21,H=22,S=24,I=25,k=26,L=27,P=28,T=30,O=32,D=33,M=34,K=35,R=37,V=38,N=39,j=40,G=42,_=[9001,65288],W="×",X="÷",z=function(A,e){var t=function(A){var e,t,n,r,o,i=.75*A.length,a=A.length,s=0;"="===A[A.length-1]&&(i--,"="===A[A.length-2]&&i--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(i):new Array(i),u=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<a;e+=4)t=g[A.charCodeAt(e)],n=g[A.charCodeAt(e+1)],r=g[A.charCodeAt(e+2)],o=g[A.charCodeAt(e+3)],u[s++]=t<<2|n>>4,u[s++]=(15&n)<<4|r>>2,u[s++]=(3&r)<<6|63&o;return l}(A),n=Array.isArray(t)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(t):new Uint32Array(t),r=Array.isArray(t)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(t):new Uint16Array(t),o=p(r,12,n[4]/2),i=2===n[5]?p(r,(24+n[4])/2):function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(n,Math.ceil((24+n[4])/4));return new B(n[0],n[1],n[2],n[3],o,i)}("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),J=[T,36],Y=[1,2,3,5],Z=[v,8],q=[L,k],$=Y.concat(Z),AA=[V,N,j,M,K],eA=[b,Q],tA=function(A,e,t,n){var r=n[t];if(Array.isArray(A)?-1!==A.indexOf(r):A===r)for(var o=t;o<=n.length;){if((s=n[++o])===e)return!0;if(s!==v)break}if(r===v)for(o=t;o>0;){var i=n[--o];if(Array.isArray(A)?-1!==A.indexOf(i):A===i)for(var a=t;a<=n.length;){var s;if((s=n[++a])===e)return!0;if(s!==v)break}if(i!==v)break}return!1},nA=function(A,e){for(var t=A;t>=0;){var n=e[t];if(n!==v)return n;t--}return 0},rA=function(A,e,t,n,r){if(0===t[n])return W;var o=n-1;if(Array.isArray(r)&&!0===r[o])return W;var i=o-1,a=o+1,s=e[o],l=i>=0?e[i]:0,u=e[a];if(2===s&&3===u)return W;if(-1!==Y.indexOf(s))return"!";if(-1!==Y.indexOf(u)||-1!==Z.indexOf(u))return W;if(8===nA(o,e))return X;if(11===z.get(A[o])||(s===O||s===D)&&11===z.get(A[a])||7===s||7===u||9===s||-1===[v,Q,b].indexOf(s)&&9===u||-1!==[C,U,F,S,P].indexOf(u)||nA(o,e)===H||tA(23,H,o,e)||tA([C,U],x,o,e)||tA(12,12,o,e))return W;if(s===v)return X;if(23===s||23===u)return W;if(16===u||16===s)return X;if(-1!==[Q,b,x].indexOf(u)||14===s||36===l&&-1!==eA.indexOf(s)||s===P&&36===u||u===E||-1!==J.indexOf(u)&&s===I||-1!==J.indexOf(s)&&u===I||s===L&&-1!==[R,O,D].indexOf(u)||-1!==[R,O,D].indexOf(s)&&u===k||-1!==J.indexOf(s)&&-1!==q.indexOf(u)||-1!==q.indexOf(s)&&-1!==J.indexOf(u)||-1!==[L,k].indexOf(s)&&(u===I||-1!==[H,b].indexOf(u)&&e[a+1]===I)||-1!==[H,b].indexOf(s)&&u===I||s===I&&-1!==[I,P,S].indexOf(u))return W;if(-1!==[I,P,S,C,U].indexOf(u))for(var c=o;c>=0;){if((d=e[c])===I)return W;if(-1===[P,S].indexOf(d))break;c--}if(-1!==[L,k].indexOf(u))for(c=-1!==[C,U].indexOf(s)?i:o;c>=0;){var d;if((d=e[c])===I)return W;if(-1===[P,S].indexOf(d))break;c--}if(V===s&&-1!==[V,N,M,K].indexOf(u)||-1!==[N,M].indexOf(s)&&-1!==[N,j].indexOf(u)||-1!==[j,K].indexOf(s)&&u===j||-1!==AA.indexOf(s)&&-1!==[E,k].indexOf(u)||-1!==AA.indexOf(u)&&s===L||-1!==J.indexOf(s)&&-1!==J.indexOf(u)||s===S&&-1!==J.indexOf(u)||-1!==J.concat(I).indexOf(s)&&u===H&&-1===_.indexOf(A[a])||-1!==J.concat(I).indexOf(u)&&s===U)return W;if(41===s&&41===u){for(var f=t[o],g=1;f>0&&41===e[--f];)g++;if(g%2!=0)return W}return s===O&&u===D?W:X},oA=function(A,e){e||(e={lineBreak:"normal",wordBreak:"normal"});var t=function(A,e){void 0===e&&(e="strict");var t=[],n=[],r=[];return A.forEach((function(A,o){var i=z.get(A);if(i>50?(r.push(!0),i-=50):r.push(!1),-1!==["normal","auto","loose"].indexOf(e)&&-1!==[8208,8211,12316,12448].indexOf(A))return n.push(o),t.push(16);if(4===i||11===i){if(0===o)return n.push(o),t.push(T);var a=t[o-1];return-1===$.indexOf(a)?(n.push(n[o-1]),t.push(a)):(n.push(o),t.push(T))}return n.push(o),31===i?t.push("strict"===e?x:R):i===G||29===i?t.push(T):43===i?A>=131072&&A<=196605||A>=196608&&A<=262141?t.push(R):t.push(T):void t.push(i)})),[n,t,r]}(A,e.lineBreak),n=t[0],r=t[1],o=t[2];return("break-all"===e.wordBreak||"break-word"===e.wordBreak)&&(r=r.map((function(A){return-1!==[I,T,G].indexOf(A)?R:A}))),[n,r,"keep-all"===e.wordBreak?o.map((function(e,t){return e&&A[t]>=19968&&A[t]<=40959})):void 0]},iA=function(){function A(A,e,t,n){this.codePoints=A,this.required="!"===e,this.start=t,this.end=n}return A.prototype.slice=function(){return l.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),aA=45,sA=43,lA=-1,uA=function(A){return A>=48&&A<=57},cA=function(A){return uA(A)||A>=65&&A<=70||A>=97&&A<=102},dA=function(A){return 10===A||9===A||32===A},fA=function(A){return function(A){return function(A){return A>=97&&A<=122}(A)||function(A){return A>=65&&A<=90}(A)}(A)||function(A){return A>=128}(A)||95===A},gA=function(A){return fA(A)||uA(A)||A===aA},hA=function(A){return A>=0&&A<=8||11===A||A>=14&&A<=31||127===A},pA=function(A,e){return 92===A&&10!==e},BA=function(A,e,t){return A===aA?fA(e)||pA(e,t):!!fA(A)||!(92!==A||!pA(A,e))},mA=function(A,e,t){return A===sA||A===aA?!!uA(e)||46===e&&uA(t):uA(46===A?e:A)},wA=function(A){var e=0,t=1;(A[e]===sA||A[e]===aA)&&(A[e]===aA&&(t=-1),e++);for(var n=[];uA(A[e]);)n.push(A[e++]);var r=n.length?parseInt(l.apply(void 0,n),10):0;46===A[e]&&e++;for(var o=[];uA(A[e]);)o.push(A[e++]);var i=o.length,a=i?parseInt(l.apply(void 0,o),10):0;(69===A[e]||101===A[e])&&e++;var s=1;(A[e]===sA||A[e]===aA)&&(A[e]===aA&&(s=-1),e++);for(var u=[];uA(A[e]);)u.push(A[e++]);var c=u.length?parseInt(l.apply(void 0,u),10):0;return t*(r+a*Math.pow(10,-i))*Math.pow(10,s*c)},yA={type:2},vA={type:3},QA={type:4},bA={type:13},CA={type:8},UA={type:21},FA={type:9},EA={type:10},xA={type:11},HA={type:12},SA={type:14},IA={type:23},kA={type:1},LA={type:25},PA={type:24},TA={type:26},OA={type:27},DA={type:28},MA={type:29},KA={type:31},RA={type:32},VA=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(s(A))},A.prototype.read=function(){for(var A=[],e=this.consumeToken();e!==RA;)A.push(e),e=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case 34:return this.consumeStringToken(34);case 35:var e=this.peekCodePoint(0),t=this.peekCodePoint(1),n=this.peekCodePoint(2);if(gA(e)||pA(t,n)){var r=BA(e,t,n)?2:1;return{type:5,value:this.consumeName(),flags:r}}break;case 36:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),bA;break;case 39:return this.consumeStringToken(39);case 40:return yA;case 41:return vA;case 42:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),SA;break;case sA:if(mA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 44:return QA;case aA:var o=A,i=this.peekCodePoint(0),a=this.peekCodePoint(1);if(mA(o,i,a))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(BA(o,i,a))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(i===aA&&62===a)return this.consumeCodePoint(),this.consumeCodePoint(),PA;break;case 46:if(mA(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case 47:if(42===this.peekCodePoint(0))for(this.consumeCodePoint();;){var s=this.consumeCodePoint();if(42===s&&47===(s=this.consumeCodePoint()))return this.consumeToken();if(s===lA)return this.consumeToken()}break;case 58:return TA;case 59:return OA;case 60:if(33===this.peekCodePoint(0)&&this.peekCodePoint(1)===aA&&this.peekCodePoint(2)===aA)return this.consumeCodePoint(),this.consumeCodePoint(),LA;break;case 64:var u=this.peekCodePoint(0),c=this.peekCodePoint(1),d=this.peekCodePoint(2);if(BA(u,c,d))return{type:7,value:this.consumeName()};break;case 91:return DA;case 92:if(pA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case 93:return MA;case 61:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),CA;break;case 123:return xA;case 125:return HA;case 117:case 85:var f=this.peekCodePoint(0),g=this.peekCodePoint(1);return f===sA&&(cA(g)||63===g)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case 124:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),FA;if(124===this.peekCodePoint(0))return this.consumeCodePoint(),UA;break;case 126:if(61===this.peekCodePoint(0))return this.consumeCodePoint(),EA;break;case lA:return RA}return dA(A)?(this.consumeWhiteSpace(),KA):uA(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):fA(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:l(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],e=this.consumeCodePoint();cA(e)&&A.length<6;)A.push(e),e=this.consumeCodePoint();for(var t=!1;63===e&&A.length<6;)A.push(e),e=this.consumeCodePoint(),t=!0;if(t)return{type:30,start:parseInt(l.apply(void 0,A.map((function(A){return 63===A?48:A}))),16),end:parseInt(l.apply(void 0,A.map((function(A){return 63===A?70:A}))),16)};var n=parseInt(l.apply(void 0,A),16);if(this.peekCodePoint(0)===aA&&cA(this.peekCodePoint(1))){this.consumeCodePoint(),e=this.consumeCodePoint();for(var r=[];cA(e)&&r.length<6;)r.push(e),e=this.consumeCodePoint();return{type:30,start:n,end:parseInt(l.apply(void 0,r),16)}}return{type:30,start:n,end:n}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&40===this.peekCodePoint(0)?(this.consumeCodePoint(),this.consumeUrlToken()):40===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===lA)return{type:22,value:""};var e=this.peekCodePoint(0);if(39===e||34===e){var t=this.consumeStringToken(this.consumeCodePoint());return 0===t.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===lA||41===this.peekCodePoint(0))?(this.consumeCodePoint(),{type:22,value:t.value}):(this.consumeBadUrlRemnants(),IA)}for(;;){var n=this.consumeCodePoint();if(n===lA||41===n)return{type:22,value:l.apply(void 0,A)};if(dA(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===lA||41===this.peekCodePoint(0)?(this.consumeCodePoint(),{type:22,value:l.apply(void 0,A)}):(this.consumeBadUrlRemnants(),IA);if(34===n||39===n||40===n||hA(n))return this.consumeBadUrlRemnants(),IA;if(92===n){if(!pA(n,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),IA;A.push(this.consumeEscapedCodePoint())}else A.push(n)}},A.prototype.consumeWhiteSpace=function(){for(;dA(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(41===A||A===lA)return;pA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var e="";A>0;){var t=Math.min(5e4,A);e+=l.apply(void 0,this._value.splice(0,t)),A-=t}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var e="",t=0;;){var n=this._value[t];if(n===lA||void 0===n||n===A)return{type:0,value:e+=this.consumeStringSlice(t)};if(10===n)return this._value.splice(0,t),kA;if(92===n){var r=this._value[t+1];r!==lA&&void 0!==r&&(10===r?(e+=this.consumeStringSlice(t),t=-1,this._value.shift()):pA(n,r)&&(e+=this.consumeStringSlice(t),e+=l(this.consumeEscapedCodePoint()),t=-1))}t++}},A.prototype.consumeNumber=function(){var A=[],e=4,t=this.peekCodePoint(0);for((t===sA||t===aA)&&A.push(this.consumeCodePoint());uA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(46===t&&uA(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;uA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());t=this.peekCodePoint(0),n=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((69===t||101===t)&&((n===sA||n===aA)&&uA(r)||uA(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),e=8;uA(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[wA(A),e]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),e=A[0],t=A[1],n=this.peekCodePoint(0),r=this.peekCodePoint(1),o=this.peekCodePoint(2);return BA(n,r,o)?{type:15,number:e,flags:t,unit:this.consumeName()}:37===n?(this.consumeCodePoint(),{type:16,number:e,flags:t}):{type:17,number:e,flags:t}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(cA(A)){for(var e=l(A);cA(this.peekCodePoint(0))&&e.length<6;)e+=l(this.consumeCodePoint());dA(this.peekCodePoint(0))&&this.consumeCodePoint();var t=parseInt(e,16);return 0===t||function(A){return A>=55296&&A<=57343}(t)||t>1114111?65533:t}return A===lA?65533:A},A.prototype.consumeName=function(){for(var A="";;){var e=this.consumeCodePoint();if(gA(e))A+=l(e);else{if(!pA(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),A;A+=l(this.consumeEscapedCodePoint())}}},A}(),NA=function(){function A(A){this._tokens=A}return A.create=function(e){var t=new VA;return t.write(e),new A(t.read())},A.parseValue=function(e){return A.create(e).parseComponentValue()},A.parseValues=function(e){return A.create(e).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var e=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return e;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var e=this.consumeComponentValue();if(32===e.type)return A;A.push(e),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var e={type:A,values:[]},t=this.consumeToken();;){if(32===t.type||ZA(t,A))return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue()),t=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var e={name:A.value,values:[],type:18};;){var t=this.consumeToken();if(32===t.type||3===t.type)return e;this.reconsumeToken(t),e.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?RA:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),jA=function(A){return 15===A.type},GA=function(A){return 17===A.type},_A=function(A){return 20===A.type},WA=function(A){return 0===A.type},XA=function(A,e){return _A(A)&&A.value===e},zA=function(A){return 31!==A.type},JA=function(A){return 31!==A.type&&4!==A.type},YA=function(A){var e=[],t=[];return A.forEach((function(A){if(4===A.type){if(0===t.length)throw new Error("Error parsing function args, zero tokens for arg");return e.push(t),void(t=[])}31!==A.type&&t.push(A)})),t.length&&e.push(t),e},ZA=function(A,e){return 11===e&&12===A.type||28===e&&29===A.type||2===e&&3===A.type},qA=function(A){return 17===A.type||15===A.type},$A=function(A){return 16===A.type||qA(A)},Ae=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},ee={type:17,number:0,flags:4},te={type:16,number:50,flags:4},ne={type:16,number:100,flags:4},re=function(A,e,t){var n=A[0],r=A[1];return[oe(n,e),oe(typeof r<"u"?r:n,t)]},oe=function(A,e){if(16===A.type)return A.number/100*e;if(jA(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},ie="grad",ae="turn",se=function(A,e){if(15===e.type)switch(e.unit){case"deg":return Math.PI*e.number/180;case ie:return Math.PI/200*e.number;case"rad":return e.number;case ae:return 2*Math.PI*e.number}throw new Error("Unsupported angle type")},le=function(A){return 15===A.type&&("deg"===A.unit||A.unit===ie||"rad"===A.unit||A.unit===ae)},ue=function(A){switch(A.filter(_A).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[ee,ee];case"to top":case"bottom":return ce(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[ee,ne];case"to right":case"left":return ce(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[ne,ne];case"to bottom":case"top":return ce(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[ne,ee];case"to left":case"right":return ce(270)}return 0},ce=function(A){return Math.PI*A/180},de=function(A,e){if(18===e.type){var t=ye[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+e.name+'"');return t(A,e.values)}if(5===e.type){if(3===e.value.length){var n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);return he(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),1)}if(4===e.value.length){n=e.value.substring(0,1),r=e.value.substring(1,2),o=e.value.substring(2,3);var i=e.value.substring(3,4);return he(parseInt(n+n,16),parseInt(r+r,16),parseInt(o+o,16),parseInt(i+i,16)/255)}if(6===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),he(parseInt(n,16),parseInt(r,16),parseInt(o,16),1);if(8===e.value.length)return n=e.value.substring(0,2),r=e.value.substring(2,4),o=e.value.substring(4,6),i=e.value.substring(6,8),he(parseInt(n,16),parseInt(r,16),parseInt(o,16),parseInt(i,16)/255)}if(20===e.type){var a=Qe[e.value.toUpperCase()];if(typeof a<"u")return a}return Qe.TRANSPARENT},fe=function(A){return 0==(255&A)},ge=function(A){var e=255&A,t=255&A>>8,n=255&A>>16,r=255&A>>24;return e<255?"rgba("+r+","+n+","+t+","+e/255+")":"rgb("+r+","+n+","+t+")"},he=function(A,e,t,n){return(A<<24|e<<16|t<<8|Math.round(255*n)<<0)>>>0},pe=function(A,e){if(17===A.type)return A.number;if(16===A.type){var t=3===e?1:255;return 3===e?A.number/100*t:Math.round(A.number/100*t)}return 0},Be=function(A,e){var t=e.filter(JA);if(3===t.length){var n=t.map(pe),r=n[0],o=n[1],i=n[2];return he(r,o,i,1)}if(4===t.length){var a=t.map(pe),s=(r=a[0],o=a[1],i=a[2],a[3]);return he(r,o,i,s)}return 0};function me(A,e,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(e-A)*t*6+A:t<.5?e:t<2/3?6*(e-A)*(2/3-t)+A:A}var we=function(A,e){var t=e.filter(JA),n=t[0],r=t[1],o=t[2],i=t[3],a=(17===n.type?ce(n.number):se(A,n))/(2*Math.PI),s=$A(r)?r.number/100:0,l=$A(o)?o.number/100:0,u=typeof i<"u"&&$A(i)?oe(i,1):1;if(0===s)return he(255*l,255*l,255*l,1);var c=l<=.5?l*(s+1):l+s-l*s,d=2*l-c,f=me(d,c,a+1/3),g=me(d,c,a),h=me(d,c,a-1/3);return he(255*f,255*g,255*h,u)},ye={hsl:we,hsla:we,rgb:Be,rgba:Be},ve=function(A,e){return de(A,NA.create(e).parseComponentValue())},Qe={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},be={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(_A(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ce={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Ue=function(A,e){var t=de(A,e[0]),n=e[1];return n&&$A(n)?{color:t,stop:n}:{color:t,stop:null}},Fe=function(A,e){var t=A[0],n=A[A.length-1];null===t.stop&&(t.stop=ee),null===n.stop&&(n.stop=ne);for(var r=[],o=0,i=0;i<A.length;i++){var a=A[i].stop;if(null!==a){var s=oe(a,e);s>o?r.push(s):r.push(o),o=s}else r.push(null)}var l=null;for(i=0;i<r.length;i++){var u=r[i];if(null===u)null===l&&(l=i);else if(null!==l){for(var c=i-l,d=(u-r[l-1])/(c+1),f=1;f<=c;f++)r[l+f-1]=d*f;l=null}}return A.map((function(A,t){return{color:A.color,stop:Math.max(Math.min(1,r[t]/e),0)}}))},Ee=function(A,e,t){var n="number"==typeof A?A:function(A,e,t){var n=e/2,r=t/2,o=oe(A[0],e)-n,i=r-oe(A[1],t);return(Math.atan2(i,o)+2*Math.PI)%(2*Math.PI)}(A,e,t),r=Math.abs(e*Math.sin(n))+Math.abs(t*Math.cos(n)),o=e/2,i=t/2,a=r/2,s=Math.sin(n-Math.PI/2)*a,l=Math.cos(n-Math.PI/2)*a;return[r,o-l,o+l,i-s,i+s]},xe=function(A,e){return Math.sqrt(A*A+e*e)},He=function(A,e,t,n,r){return[[0,0],[0,e],[A,0],[A,e]].reduce((function(A,e){var o=e[0],i=e[1],a=xe(t-o,n-i);return(r?a<A.optimumDistance:a>A.optimumDistance)?{optimumCorner:e,optimumDistance:a}:A}),{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},Se=function(A,e){var t=ce(180),n=[];return YA(e).forEach((function(e,r){if(0===r){var o=e[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(t=ue(e));if(le(o))return void(t=(se(A,o)+ce(270))%ce(360))}var i=Ue(A,e);n.push(i)})),{angle:t,stops:n,type:1}},Ie="closest-side",ke="farthest-side",Le="closest-corner",Pe="farthest-corner",Te="circle",Oe="ellipse",De="cover",Me="contain",Ke=function(A,e){var t=0,n=3,r=[],o=[];return YA(e).forEach((function(e,i){var a=!0;if(0===i?a=e.reduce((function(A,e){if(_A(e))switch(e.value){case"center":return o.push(te),!1;case"top":case"left":return o.push(ee),!1;case"right":case"bottom":return o.push(ne),!1}else if($A(e)||qA(e))return o.push(e),!1;return A}),a):1===i&&(a=e.reduce((function(A,e){if(_A(e))switch(e.value){case Te:return t=0,!1;case Oe:return t=1,!1;case Me:case Ie:return n=0,!1;case ke:return n=1,!1;case Le:return n=2,!1;case De:case Pe:return n=3,!1}else if(qA(e)||$A(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),a)),a){var s=Ue(A,e);r.push(s)}})),{size:n,shape:t,stops:r,position:o,type:2}},Re=function(A,e){if(22===e.type){var t={url:e.value,type:0};return A.cache.addImage(e.value),t}if(18===e.type){var n=je[e.name];if(typeof n>"u")throw new Error('Attempting to parse an unsupported image function "'+e.name+'"');return n(A,e.values)}throw new Error("Unsupported image type "+e.type)};var Ve,Ne,je={"linear-gradient":function(A,e){var t=ce(180),n=[];return YA(e).forEach((function(e,r){if(0===r){var o=e[0];if(20===o.type&&"to"===o.value)return void(t=ue(e));if(le(o))return void(t=se(A,o))}var i=Ue(A,e);n.push(i)})),{angle:t,stops:n,type:1}},"-moz-linear-gradient":Se,"-ms-linear-gradient":Se,"-o-linear-gradient":Se,"-webkit-linear-gradient":Se,"radial-gradient":function(A,e){var t=0,n=3,r=[],o=[];return YA(e).forEach((function(e,i){var a=!0;if(0===i){var s=!1;a=e.reduce((function(A,e){if(s)if(_A(e))switch(e.value){case"center":return o.push(te),A;case"top":case"left":return o.push(ee),A;case"right":case"bottom":return o.push(ne),A}else($A(e)||qA(e))&&o.push(e);else if(_A(e))switch(e.value){case Te:return t=0,!1;case Oe:return t=1,!1;case"at":return s=!0,!1;case Ie:return n=0,!1;case De:case ke:return n=1,!1;case Me:case Le:return n=2,!1;case Pe:return n=3,!1}else if(qA(e)||$A(e))return Array.isArray(n)||(n=[]),n.push(e),!1;return A}),a)}if(a){var l=Ue(A,e);r.push(l)}})),{size:n,shape:t,stops:r,position:o,type:2}},"-moz-radial-gradient":Ke,"-ms-radial-gradient":Ke,"-o-radial-gradient":Ke,"-webkit-radial-gradient":Ke,"-webkit-gradient":function(A,e){var t=ce(180),n=[],r=1;return YA(e).forEach((function(e,t){var o=e[0];if(0===t){if(_A(o)&&"linear"===o.value)return void(r=1);if(_A(o)&&"radial"===o.value)return void(r=2)}if(18===o.type)if("from"===o.name){var i=de(A,o.values[0]);n.push({stop:ee,color:i})}else if("to"===o.name)i=de(A,o.values[0]),n.push({stop:ne,color:i});else if("color-stop"===o.name){var a=o.values.filter(JA);if(2===a.length){i=de(A,a[1]);var s=a[0];GA(s)&&n.push({stop:{type:16,number:100*s.number,flags:s.flags},color:i})}}})),1===r?{angle:(t+ce(180))%ce(360),stops:n,type:r}:{size:3,shape:0,stops:n,position:[],type:r}}},Ge={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e.filter((function(A){return JA(A)&&function(A){return!(20===A.type&&"none"===A.value||18===A.type&&!je[A.name])}(A)})).map((function(e){return Re(A,e)}))}},_e={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,e){return e.map((function(A){if(_A(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},We={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,e){return YA(e).map((function(A){return A.filter($A)})).map(Ae)}},Xe={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,e){return YA(e).map((function(A){return A.filter(_A).map((function(A){return A.value})).join(" ")})).map(ze)}},ze=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;default:return 0}};(Ne=Ve||(Ve={})).AUTO="auto",Ne.CONTAIN="contain",Ne.COVER="cover";var Je,Ye={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,e){return YA(e).map((function(A){return A.filter(Ze)}))}},Ze=function(A){return _A(A)||$A(A)},qe=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},$e=qe("top"),At=qe("right"),et=qe("bottom"),tt=qe("left"),nt=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,e){return Ae(e.filter($A))}}},rt=nt("top-left"),ot=nt("top-right"),it=nt("bottom-right"),at=nt("bottom-left"),st=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,e){switch(e){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},lt=st("top"),ut=st("right"),ct=st("bottom"),dt=st("left"),ft=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return jA(e)?e.number:0}}},gt=ft("top"),ht=ft("right"),pt=ft("bottom"),Bt=ft("left"),mt={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},wt={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,e){return"rtl"===e?1:0}},yt={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,e){return e.filter(_A).reduce((function(A,e){return A|vt(e.value)}),0)}},vt=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},Qt={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},bt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,e){return 20===e.type&&"normal"===e.value?0:17===e.type||15===e.type?e.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(Je||(Je={}));var Ct,Ut={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"strict"===e?Je.STRICT:Je.NORMAL}},Ft={name:"line-height",initialValue:"normal",prefix:!1,type:4},Et=function(A,e){return _A(A)&&"normal"===A.value?1.2*e:17===A.type?e*A.number:$A(A)?oe(A,e):e},xt={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,e){return 20===e.type&&"none"===e.value?null:Re(A,e)}},Ht={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,e){return"inside"===e?0:1}},St={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){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":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;default:return-1}}},It=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},kt=It("top"),Lt=It("right"),Pt=It("bottom"),Tt=It("left"),Ot={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,e){return e.filter(_A).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Dt={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){return"break-word"===e?"break-word":"normal"}},Mt=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Kt=Mt("top"),Rt=Mt("right"),Vt=Mt("bottom"),Nt=Mt("left"),jt={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,e){switch(e){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Gt={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,e){switch(e){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},_t={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&XA(e[0],"none")?[]:YA(e).map((function(e){for(var t={color:Qe.TRANSPARENT,offsetX:ee,offsetY:ee,blur:ee},n=0,r=0;r<e.length;r++){var o=e[r];qA(o)?(0===n?t.offsetX=o:1===n?t.offsetY=o:t.blur=o,n++):t.color=de(A,o)}return t}))}},Wt={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Xt={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,e){if(20===e.type&&"none"===e.value)return null;if(18===e.type){var t=zt[e.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported transform function "'+e.name+'"');return t(e.values)}return null}},zt={matrix:function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===e.length?e:null},matrix3d:function(A){var e=A.filter((function(A){return 17===A.type})).map((function(A){return A.number})),t=e[0],n=e[1];e[2],e[3];var r=e[4],o=e[5];e[6],e[7],e[8],e[9],e[10],e[11];var i=e[12],a=e[13];return e[14],e[15],16===e.length?[t,n,r,o,i,a]:null}},Jt={type:16,number:50,flags:4},Yt=[Jt,Jt],Zt={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,e){var t=e.filter($A);return 2!==t.length?Yt:[t[0],t[1]]}},qt={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,e){switch(e){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"}(Ct||(Ct={}));for(var $t={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"break-all":return Ct.BREAK_ALL;case"keep-all":return Ct.KEEP_ALL;default:return Ct.NORMAL}}},An={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,e){if(20===e.type)return{auto:!0,order:0};if(GA(e))return{auto:!1,order:e.number};throw new Error("Invalid z-index number parsed")}},en={name:"time",parse:function(A,e){if(15===e.type)switch(e.unit.toLowerCase()){case"s":return 1e3*e.number;case"ms":return e.number}throw new Error("Unsupported time type")}},tn={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,e){return GA(e)?e.number:1}},nn={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},rn={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,e){return e.filter(_A).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},on={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,e){var t=[],n=[];return e.forEach((function(A){switch(A.type){case 20:case 0:t.push(A.value);break;case 17:t.push(A.number.toString());break;case 4:n.push(t.join(" ")),t.length=0}})),t.length&&n.push(t.join(" ")),n.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},an={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},sn={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,e){return GA(e)?e.number:_A(e)&&"bold"===e.value?700:400}},ln={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return e.filter(_A).map((function(A){return A.value}))}},un={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,e){switch(e){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},cn=function(A,e){return 0!=(A&e)},dn={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,e){if(0===e.length)return[];var t=e[0];return 20===t.type&&"none"===t.value?[]:e}},fn={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;for(var n=[],r=e.filter(zA),o=0;o<r.length;o++){var i=r[o],a=r[o+1];if(20===i.type){var s=a&&GA(a)?a.number:1;n.push({counter:i.value,increment:s})}}return n}},gn={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return[];for(var t=[],n=e.filter(zA),r=0;r<n.length;r++){var o=n[r],i=n[r+1];if(_A(o)&&"none"!==o.value){var a=i&&GA(i)?i.number:0;t.push({counter:o.value,reset:a})}}return t}},hn={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,e){return e.filter(jA).map((function(e){return en.parse(A,e)}))}},pn={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,e){if(0===e.length)return null;var t=e[0];if(20===t.type&&"none"===t.value)return null;var n=[],r=e.filter(WA);if(r.length%2!=0)return null;for(var o=0;o<r.length;o+=2){var i=r[o].value,a=r[o+1].value;n.push({open:i,close:a})}return n}},Bn=function(A,e,t){if(!A)return"";var n=A[Math.min(e,A.length-1)];return n?t?n.open:n.close:""},mn={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,e){return 1===e.length&&XA(e[0],"none")?[]:YA(e).map((function(e){for(var t={color:255,offsetX:ee,offsetY:ee,blur:ee,spread:ee,inset:!1},n=0,r=0;r<e.length;r++){var o=e[r];XA(o,"inset")?t.inset=!0:qA(o)?(0===n?t.offsetX=o:1===n?t.offsetY=o:2===n?t.blur=o:t.spread=o,n++):t.color=de(A,o)}return t}))}},wn={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,e){var t=[];return e.filter(_A).forEach((function(A){switch(A.value){case"stroke":t.push(1);break;case"fill":t.push(0);break;case"markers":t.push(2)}})),[0,1,2].forEach((function(A){-1===t.indexOf(A)&&t.push(A)})),t}},yn={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},vn={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,e){return jA(e)?e.number:0}},Qn=function(){function A(A,e){var t,n;this.animationDuration=Un(A,hn,e.animationDuration),this.backgroundClip=Un(A,be,e.backgroundClip),this.backgroundColor=Un(A,Ce,e.backgroundColor),this.backgroundImage=Un(A,Ge,e.backgroundImage),this.backgroundOrigin=Un(A,_e,e.backgroundOrigin),this.backgroundPosition=Un(A,We,e.backgroundPosition),this.backgroundRepeat=Un(A,Xe,e.backgroundRepeat),this.backgroundSize=Un(A,Ye,e.backgroundSize),this.borderTopColor=Un(A,$e,e.borderTopColor),this.borderRightColor=Un(A,At,e.borderRightColor),this.borderBottomColor=Un(A,et,e.borderBottomColor),this.borderLeftColor=Un(A,tt,e.borderLeftColor),this.borderTopLeftRadius=Un(A,rt,e.borderTopLeftRadius),this.borderTopRightRadius=Un(A,ot,e.borderTopRightRadius),this.borderBottomRightRadius=Un(A,it,e.borderBottomRightRadius),this.borderBottomLeftRadius=Un(A,at,e.borderBottomLeftRadius),this.borderTopStyle=Un(A,lt,e.borderTopStyle),this.borderRightStyle=Un(A,ut,e.borderRightStyle),this.borderBottomStyle=Un(A,ct,e.borderBottomStyle),this.borderLeftStyle=Un(A,dt,e.borderLeftStyle),this.borderTopWidth=Un(A,gt,e.borderTopWidth),this.borderRightWidth=Un(A,ht,e.borderRightWidth),this.borderBottomWidth=Un(A,pt,e.borderBottomWidth),this.borderLeftWidth=Un(A,Bt,e.borderLeftWidth),this.boxShadow=Un(A,mn,e.boxShadow),this.color=Un(A,mt,e.color),this.direction=Un(A,wt,e.direction),this.display=Un(A,yt,e.display),this.float=Un(A,Qt,e.cssFloat),this.fontFamily=Un(A,on,e.fontFamily),this.fontSize=Un(A,an,e.fontSize),this.fontStyle=Un(A,un,e.fontStyle),this.fontVariant=Un(A,ln,e.fontVariant),this.fontWeight=Un(A,sn,e.fontWeight),this.letterSpacing=Un(A,bt,e.letterSpacing),this.lineBreak=Un(A,Ut,e.lineBreak),this.lineHeight=Un(A,Ft,e.lineHeight),this.listStyleImage=Un(A,xt,e.listStyleImage),this.listStylePosition=Un(A,Ht,e.listStylePosition),this.listStyleType=Un(A,St,e.listStyleType),this.marginTop=Un(A,kt,e.marginTop),this.marginRight=Un(A,Lt,e.marginRight),this.marginBottom=Un(A,Pt,e.marginBottom),this.marginLeft=Un(A,Tt,e.marginLeft),this.opacity=Un(A,tn,e.opacity);var r=Un(A,Ot,e.overflow);this.overflowX=r[0],this.overflowY=r[r.length>1?1:0],this.overflowWrap=Un(A,Dt,e.overflowWrap),this.paddingTop=Un(A,Kt,e.paddingTop),this.paddingRight=Un(A,Rt,e.paddingRight),this.paddingBottom=Un(A,Vt,e.paddingBottom),this.paddingLeft=Un(A,Nt,e.paddingLeft),this.paintOrder=Un(A,wn,e.paintOrder),this.position=Un(A,Gt,e.position),this.textAlign=Un(A,jt,e.textAlign),this.textDecorationColor=Un(A,nn,null!==(t=e.textDecorationColor)&&void 0!==t?t:e.color),this.textDecorationLine=Un(A,rn,null!==(n=e.textDecorationLine)&&void 0!==n?n:e.textDecoration),this.textShadow=Un(A,_t,e.textShadow),this.textTransform=Un(A,Wt,e.textTransform),this.transform=Un(A,Xt,e.transform),this.transformOrigin=Un(A,Zt,e.transformOrigin),this.visibility=Un(A,qt,e.visibility),this.webkitTextStrokeColor=Un(A,yn,e.webkitTextStrokeColor),this.webkitTextStrokeWidth=Un(A,vn,e.webkitTextStrokeWidth),this.wordBreak=Un(A,$t,e.wordBreak),this.zIndex=Un(A,An,e.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return fe(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return cn(this.display,4)||cn(this.display,33554432)||cn(this.display,268435456)||cn(this.display,536870912)||cn(this.display,67108864)||cn(this.display,134217728)},A}(),bn=function(A,e){this.content=Un(A,dn,e.content),this.quotes=Un(A,pn,e.quotes)},Cn=function(A,e){this.counterIncrement=Un(A,fn,e.counterIncrement),this.counterReset=Un(A,gn,e.counterReset)},Un=function(A,e,t){var n=new VA,r=null!==t&&typeof t<"u"?t.toString():e.initialValue;n.write(r);var o=new NA(n.read());switch(e.type){case 2:var i=o.parseComponentValue();return e.parse(A,_A(i)?i.value:e.initialValue);case 0:return e.parse(A,o.parseComponentValue());case 1:return e.parse(A,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(e.format){case"angle":return se(A,o.parseComponentValue());case"color":return de(A,o.parseComponentValue());case"image":return Re(A,o.parseComponentValue());case"length":var a=o.parseComponentValue();return qA(a)?a:ee;case"length-percentage":var s=o.parseComponentValue();return $A(s)?s:ee;case"time":return en.parse(A,o.parseComponentValue())}}},Fn=function(A,e){var t=function(A){switch(A.getAttribute("data-html2canvas-debug")){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}}(A);return 1===t||e===t},En=function(A,e){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Fn(e,3),this.styles=new Qn(A,window.getComputedStyle(e,null)),Ir(e)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(e.style.animationDuration="0s"),null!==this.styles.transform&&(e.style.transform="none")),this.bounds=a(this.context,e),Fn(e,4)&&(this.flags|=16)},xn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hn=typeof Uint8Array>"u"?[]:new Uint8Array(256),Sn=0;Sn<64;Sn++)Hn[xn.charCodeAt(Sn)]=Sn;for(var In=function(A,e,t){return A.slice?A.slice(e,t):new Uint16Array(Array.prototype.slice.call(A,e,t))},kn=function(){function A(A,e,t,n,r,o){this.initialValue=A,this.errorValue=e,this.highStart=t,this.highValueIndex=n,this.index=r,this.data=o}return A.prototype.get=function(A){var e;if(A>=0){if(A<55296||A>56319&&A<=65535)return e=((e=this.index[A>>5])<<2)+(31&A),this.data[e];if(A<=65535)return e=((e=this.index[2048+(A-55296>>5)])<<2)+(31&A),this.data[e];if(A<this.highStart)return e=2080+(A>>11),e=this.index[e],e+=A>>5&63,e=((e=this.index[e])<<2)+(31&A),this.data[e];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Ln="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Pn=typeof Uint8Array>"u"?[]:new Uint8Array(256),Tn=0;Tn<64;Tn++)Pn[Ln.charCodeAt(Tn)]=Tn;var On,Dn=8,Mn=9,Kn=11,Rn=12,Vn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var t=A.length;if(!t)return"";for(var n=[],r=-1,o="";++r<t;){var i=A[r];i<=65535?n.push(i):(i-=65536,n.push(55296+(i>>10),i%1024+56320)),(r+1===t||n.length>16384)&&(o+=String.fromCharCode.apply(String,n),n.length=0)}return o},Nn=function(A,e){var t=function(A){var e,t,n,r,o,i=.75*A.length,a=A.length,s=0;"="===A[A.length-1]&&(i--,"="===A[A.length-2]&&i--);var l=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&typeof Uint8Array.prototype.slice<"u"?new ArrayBuffer(i):new Array(i),u=Array.isArray(l)?l:new Uint8Array(l);for(e=0;e<a;e+=4)t=Hn[A.charCodeAt(e)],n=Hn[A.charCodeAt(e+1)],r=Hn[A.charCodeAt(e+2)],o=Hn[A.charCodeAt(e+3)],u[s++]=t<<2|n>>4,u[s++]=(15&n)<<4|r>>2,u[s++]=(3&r)<<6|63&o;return l}(A),n=Array.isArray(t)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=4)t.push(A[n+3]<<24|A[n+2]<<16|A[n+1]<<8|A[n]);return t}(t):new Uint32Array(t),r=Array.isArray(t)?function(A){for(var e=A.length,t=[],n=0;n<e;n+=2)t.push(A[n+1]<<8|A[n]);return t}(t):new Uint16Array(t),o=In(r,12,n[4]/2),i=2===n[5]?In(r,(24+n[4])/2):function(A,e,t){return A.slice?A.slice(e,t):new Uint32Array(Array.prototype.slice.call(A,e,t))}(n,Math.ceil((24+n[4])/4));return new kn(n[0],n[1],n[2],n[3],o,i)}("AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA="),jn="×",Gn=function(A){return Nn.get(A)},_n=function(A,e,t){var n=t-2,r=e[n],o=e[t-1],i=e[t];if(2===o&&3===i)return jn;if(2===o||3===o||4===o||2===i||3===i||4===i)return"÷";if(o===Dn&&-1!==[Dn,Mn,Kn,Rn].indexOf(i)||(o===Kn||o===Mn)&&(i===Mn||10===i)||(o===Rn||10===o)&&10===i||13===i||5===i||7===i||1===o)return jn;if(13===o&&14===i){for(;5===r;)r=e[--n];if(14===r)return jn}if(15===o&&15===i){for(var a=0;15===r;)a++,r=e[--n];if(a%2==0)return jn}return"÷"},Wn=function(A){var e=function(A){for(var e=[],t=0,n=A.length;t<n;){var r=A.charCodeAt(t++);if(r>=55296&&r<=56319&&t<n){var o=A.charCodeAt(t++);56320==(64512&o)?e.push(((1023&r)<<10)+(1023&o)+65536):(e.push(r),t--)}else e.push(r)}return e}(A),t=e.length,n=0,r=0,o=e.map(Gn);return{next:function(){if(n>=t)return{done:!0,value:null};for(var A=jn;n<t&&(A=_n(0,o,++n))===jn;);if(A!==jn||n===t){var i=Vn.apply(null,e.slice(r,n));return r=n,{value:i,done:!1}}return{done:!0,value:null}}}},Xn=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},zn=function(A,e,t,n,r){var o="http://www.w3.org/2000/svg",i=document.createElementNS(o,"svg"),a=document.createElementNS(o,"foreignObject");return i.setAttributeNS(null,"width",A.toString()),i.setAttributeNS(null,"height",e.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",n.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(a),a.appendChild(r),i},Jn=function(A){return new Promise((function(e,t){var n=new Image;n.onload=function(){return e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Yn={get SUPPORT_RANGE_BOUNDS(){var A=function(A){if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var t=A.createElement("boundtest");t.style.height="123px",t.style.display="block",A.body.appendChild(t),e.selectNode(t);var n=e.getBoundingClientRect(),r=Math.round(n.height);if(A.body.removeChild(t),123===r)return!0}}return!1}(document);return Object.defineProperty(Yn,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Yn.SUPPORT_RANGE_BOUNDS&&function(A){var e=A.createElement("boundtest");e.style.width="50px",e.style.display="block",e.style.fontSize="12px",e.style.letterSpacing="0px",e.style.wordSpacing="0px",A.body.appendChild(e);var t=A.createRange();e.innerHTML="function"==typeof"".repeat?"👨".repeat(10):"";var n=e.firstChild,r=s(n.data).map((function(A){return l(A)})),o=0,i={},a=r.every((function(A,e){t.setStart(n,o),t.setEnd(n,o+A.length);var r=t.getBoundingClientRect();o+=A.length;var a=r.x>i.x||r.y>i.y;return i=r,0===e||a}));return A.body.removeChild(e),a}(document);return Object.defineProperty(Yn,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=function(A){var e=new Image,t=A.createElement("canvas"),n=t.getContext("2d");if(!n)return!1;e.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{n.drawImage(e,0,0),t.toDataURL()}catch{return!1}return!0}(document);return Object.defineProperty(Yn,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?function(A){var e=A.createElement("canvas"),t=100;e.width=t,e.height=t;var n=e.getContext("2d");if(!n)return Promise.reject(!1);n.fillStyle="rgb(0, 255, 0)",n.fillRect(0,0,t,t);var r=new Image,o=e.toDataURL();r.src=o;var i=zn(t,t,0,0,r);return n.fillStyle="red",n.fillRect(0,0,t,t),Jn(i).then((function(e){n.drawImage(e,0,0);var r=n.getImageData(0,0,t,t).data;n.fillStyle="red",n.fillRect(0,0,t,t);var i=A.createElement("div");return i.style.backgroundImage="url("+o+")",i.style.height=t+"px",Xn(r)?Jn(zn(t,t,0,0,i)):Promise.reject(!1)})).then((function(A){return n.drawImage(A,0,0),Xn(n.getImageData(0,0,t,t).data)})).catch((function(){return!1}))}(document):Promise.resolve(!1);return Object.defineProperty(Yn,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=typeof(new Image).crossOrigin<"u";return Object.defineProperty(Yn,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A="string"==typeof(new XMLHttpRequest).responseType;return Object.defineProperty(Yn,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Yn,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(Yn,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Zn=function(A,e){this.text=A,this.bounds=e},qn=function(A,e){var t=e.ownerDocument;if(t){var n=t.createElement("html2canvaswrapper");n.appendChild(e.cloneNode(!0));var r=e.parentNode;if(r){r.replaceChild(n,e);var o=a(A,n);return n.firstChild&&r.replaceChild(n.firstChild,n),o}}return i.EMPTY},$n=function(A,e,t){var n=A.ownerDocument;if(!n)throw new Error("Node has no owner document");var r=n.createRange();return r.setStart(A,e),r.setEnd(A,e+t),r},Ar=function(A){if(Yn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return function(A){for(var e,t=Wn(A),n=[];!(e=t.next()).done;)e.value&&n.push(e.value.slice());return n}(A)},er=function(A,e){return 0!==e.letterSpacing?Ar(A):function(A,e){if(Yn.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return nr(A,e)}(A,e)},tr=[32,160,4961,65792,65793,4153,4241],nr=function(A,e){for(var t,n=function(A,e){var t=s(A),n=oA(t,e),r=n[0],o=n[1],i=n[2],a=t.length,l=0,u=0;return{next:function(){if(u>=a)return{done:!0,value:null};for(var A=W;u<a&&(A=rA(t,o,r,++u,i))===W;);if(A!==W||u===a){var e=new iA(t,A,l,u);return l=u,{value:e,done:!1}}return{done:!0,value:null}}}}(A,{lineBreak:e.lineBreak,wordBreak:"break-word"===e.overflowWrap?"break-word":e.wordBreak}),r=[],o=function(){if(t.value){var A=t.value.slice(),e=s(A),n="";e.forEach((function(A){-1===tr.indexOf(A)?n+=l(A):(n.length&&r.push(n),r.push(l(A)),n="")})),n.length&&r.push(n)}};!(t=n.next()).done;)o();return r},rr=function(A,e,t){this.text=or(e.data,t.textTransform),this.textBounds=function(A,e,t,n){var r=er(e,t),o=[],a=0;return r.forEach((function(e){if(t.textDecorationLine.length||e.trim().length>0)if(Yn.SUPPORT_RANGE_BOUNDS){var r=$n(n,a,e.length).getClientRects();if(r.length>1){var s=Ar(e),l=0;s.forEach((function(e){o.push(new Zn(e,i.fromDOMRectList(A,$n(n,l+a,e.length).getClientRects()))),l+=e.length}))}else o.push(new Zn(e,i.fromDOMRectList(A,r)))}else{var u=n.splitText(e.length);o.push(new Zn(e,qn(A,n))),n=u}else Yn.SUPPORT_RANGE_BOUNDS||(n=n.splitText(e.length));a+=e.length})),o}(A,this.text,t,e)},or=function(A,e){switch(e){case 1:return A.toLowerCase();case 3:return A.replace(ir,ar);case 2:return A.toUpperCase();default:return A}},ir=/(^|\s|:|-|\(|\))([a-z])/g,ar=function(A,e,t){return A.length>0?e+t.toUpperCase():A},sr=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.src=t.currentSrc||t.src,n.intrinsicWidth=t.naturalWidth,n.intrinsicHeight=t.naturalHeight,n.context.cache.addImage(n.src),n}return e(t,A),t}(En),lr=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.canvas=t,n.intrinsicWidth=t.width,n.intrinsicHeight=t.height,n}return e(t,A),t}(En),ur=function(A){function t(e,t){var n=A.call(this,e,t)||this,r=new XMLSerializer,o=a(e,t);return t.setAttribute("width",o.width+"px"),t.setAttribute("height",o.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(t)),n.intrinsicWidth=t.width.baseVal.value,n.intrinsicHeight=t.height.baseVal.value,n.context.cache.addImage(n.svg),n}return e(t,A),t}(En),cr=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return e(t,A),t}(En),dr=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.start=t.start,n.reversed="boolean"==typeof t.reversed&&!0===t.reversed,n}return e(t,A),t}(En),fr=[{type:15,flags:0,unit:"px",number:3}],gr=[{type:16,flags:0,number:50}],hr="checkbox",pr="radio",Br="password",mr=707406591,wr=function(A){function t(e,t){var n=A.call(this,e,t)||this;switch(n.type=t.type.toLowerCase(),n.checked=t.checked,n.value=function(A){var e=A.type===Br?new Array(A.value.length+1).join("•"):A.value;return 0===e.length?A.placeholder||"":e}(t),(n.type===hr||n.type===pr)&&(n.styles.backgroundColor=3739148031,n.styles.borderTopColor=n.styles.borderRightColor=n.styles.borderBottomColor=n.styles.borderLeftColor=2779096575,n.styles.borderTopWidth=n.styles.borderRightWidth=n.styles.borderBottomWidth=n.styles.borderLeftWidth=1,n.styles.borderTopStyle=n.styles.borderRightStyle=n.styles.borderBottomStyle=n.styles.borderLeftStyle=1,n.styles.backgroundClip=[0],n.styles.backgroundOrigin=[0],n.bounds=function(A){return A.width>A.height?new i(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new i(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A}(n.bounds)),n.type){case hr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=fr;break;case pr:n.styles.borderTopRightRadius=n.styles.borderTopLeftRadius=n.styles.borderBottomRightRadius=n.styles.borderBottomLeftRadius=gr}return n}return e(t,A),t}(En),yr=function(A){function t(e,t){var n=A.call(this,e,t)||this,r=t.options[t.selectedIndex||0];return n.value=r&&r.text||"",n}return e(t,A),t}(En),vr=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.value=t.value,n}return e(t,A),t}(En),Qr=function(A){function t(e,t){var n=A.call(this,e,t)||this;n.src=t.src,n.width=parseInt(t.width,10)||0,n.height=parseInt(t.height,10)||0,n.backgroundColor=n.styles.backgroundColor;try{if(t.contentWindow&&t.contentWindow.document&&t.contentWindow.document.documentElement){n.tree=Fr(e,t.contentWindow.document.documentElement);var r=t.contentWindow.document.documentElement?ve(e,getComputedStyle(t.contentWindow.document.documentElement).backgroundColor):Qe.TRANSPARENT,o=t.contentWindow.document.body?ve(e,getComputedStyle(t.contentWindow.document.body).backgroundColor):Qe.TRANSPARENT;n.backgroundColor=fe(r)?fe(o)?n.styles.backgroundColor:o:r}}catch{}return n}return e(t,A),t}(En),br=["OL","UL","MENU"],Cr=function(A,e,t,n){for(var r=e.firstChild,o=void 0;r;r=o)if(o=r.nextSibling,Hr(r)&&r.data.trim().length>0)t.textNodes.push(new rr(A,r,t.styles));else if(Sr(r))if(_r(r)&&r.assignedNodes)r.assignedNodes().forEach((function(e){return Cr(A,e,t,n)}));else{var i=Ur(A,r);i.styles.isVisible()&&(Er(r,i,n)?i.flags|=4:xr(i.styles)&&(i.flags|=2),-1!==br.indexOf(r.tagName)&&(i.flags|=8),t.elements.push(i),r.slot,r.shadowRoot?Cr(A,r.shadowRoot,i,n):!jr(r)&&!Or(r)&&!Gr(r)&&Cr(A,r,i,n))}},Ur=function(A,e){return Rr(e)?new sr(A,e):Mr(e)?new lr(A,e):Or(e)?new ur(A,e):Lr(e)?new cr(A,e):Pr(e)?new dr(A,e):Tr(e)?new wr(A,e):Gr(e)?new yr(A,e):jr(e)?new vr(A,e):Vr(e)?new Qr(A,e):new En(A,e)},Fr=function(A,e){var t=Ur(A,e);return t.flags|=4,Cr(A,e,t,t),t},Er=function(A,e,t){return e.styles.isPositionedWithZIndex()||e.styles.opacity<1||e.styles.isTransformed()||Dr(A)&&t.styles.isTransparent()},xr=function(A){return A.isPositioned()||A.isFloating()},Hr=function(A){return A.nodeType===Node.TEXT_NODE},Sr=function(A){return A.nodeType===Node.ELEMENT_NODE},Ir=function(A){return Sr(A)&&typeof A.style<"u"&&!kr(A)},kr=function(A){return"object"==typeof A.className},Lr=function(A){return"LI"===A.tagName},Pr=function(A){return"OL"===A.tagName},Tr=function(A){return"INPUT"===A.tagName},Or=function(A){return"svg"===A.tagName},Dr=function(A){return"BODY"===A.tagName},Mr=function(A){return"CANVAS"===A.tagName},Kr=function(A){return"VIDEO"===A.tagName},Rr=function(A){return"IMG"===A.tagName},Vr=function(A){return"IFRAME"===A.tagName},Nr=function(A){return"STYLE"===A.tagName},jr=function(A){return"TEXTAREA"===A.tagName},Gr=function(A){return"SELECT"===A.tagName},_r=function(A){return"SLOT"===A.tagName},Wr=function(A){return A.tagName.indexOf("-")>0},Xr=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var e=this.counters[A];return e&&e.length?e[e.length-1]:1},A.prototype.getCounterValues=function(A){return this.counters[A]||[]},A.prototype.pop=function(A){var e=this;A.forEach((function(A){return e.counters[A].pop()}))},A.prototype.parse=function(A){var e=this,t=A.counterIncrement,n=A.counterReset,r=!0;null!==t&&t.forEach((function(A){var t=e.counters[A.counter];t&&0!==A.increment&&(r=!1,t.length||t.push(1),t[Math.max(0,t.length-1)]+=A.increment)}));var o=[];return r&&n.forEach((function(A){var t=e.counters[A.counter];o.push(A.counter),t||(t=e.counters[A.counter]=[]),t.push(A.reset)})),o},A}(),zr={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"]},Jr={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:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Yr={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:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Zr={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:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},qr=function(A,e,t,n,r,o){return A<e||A>t?ao(A,r,o.length>0):n.integers.reduce((function(e,t,r){for(;A>=t;)A-=t,e+=n.values[r];return e}),"")+o},$r=function(A,e,t,n){var r="";do{t||A--,r=n(A)+r,A/=e}while(A*e>=e);return r},Ao=function(A,e,t,n,r){var o=t-e+1;return(A<0?"-":"")+($r(Math.abs(A),o,n,(function(A){return l(Math.floor(A%o)+e)}))+r)},eo=function(A,e,t){void 0===t&&(t=". ");var n=e.length;return $r(Math.abs(A),n,!1,(function(A){return e[Math.floor(A%n)]}))+t},to=function(A,e,t,n,r,o){if(A<-9999||A>9999)return ao(A,4,r.length>0);var i=Math.abs(A),a=r;if(0===i)return e[0]+a;for(var s=0;i>0&&s<=4;s++){var l=i%10;0===l&&cn(o,1)&&""!==a?a=e[l]+a:l>1||1===l&&0===s||1===l&&1===s&&cn(o,2)||1===l&&1===s&&cn(o,4)&&A>100||1===l&&s>1&&cn(o,8)?a=e[l]+(s>0?t[s-1]:"")+a:1===l&&s>0&&(a=t[s-1]+a),i=Math.floor(i/10)}return(A<0?n:"")+a},no="十百千萬",ro="拾佰仟萬",oo="マイナス",io="마이너스",ao=function(A,e,t){var n=t?". ":"",r=t?"、":"",o=t?", ":"",i=t?" ":"";switch(e){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var a=Ao(A,48,57,!0,n);return a.length<4?"0"+a:a;case 4:return eo(A,"〇一二三四五六七八九",r);case 6:return qr(A,1,3999,zr,3,n).toLowerCase();case 7:return qr(A,1,3999,zr,3,n);case 8:return Ao(A,945,969,!1,n);case 9:return Ao(A,97,122,!1,n);case 10:return Ao(A,65,90,!1,n);case 11:return Ao(A,1632,1641,!0,n);case 12:case 49:return qr(A,1,9999,Jr,3,n);case 35:return qr(A,1,9999,Jr,3,n).toLowerCase();case 13:return Ao(A,2534,2543,!0,n);case 14:case 30:return Ao(A,6112,6121,!0,n);case 15:return eo(A,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return eo(A,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return to(A,"零一二三四五六七八九",no,"負",r,14);case 47:return to(A,"零壹貳參肆伍陸柒捌玖",ro,"負",r,15);case 42:return to(A,"零一二三四五六七八九",no,"负",r,14);case 41:return to(A,"零壹贰叁肆伍陆柒捌玖",ro,"负",r,15);case 26:return to(A,"〇一二三四五六七八九","十百千万",oo,r,0);case 25:return to(A,"零壱弐参四伍六七八九","拾百千万",oo,r,7);case 31:return to(A,"영일이삼사오육칠팔구","십백천만",io,o,7);case 33:return to(A,"零一二三四五六七八九","十百千萬",io,o,0);case 32:return to(A,"零壹貳參四五六七八九","拾百千",io,o,7);case 18:return Ao(A,2406,2415,!0,n);case 20:return qr(A,1,19999,Zr,3,n);case 21:return Ao(A,2790,2799,!0,n);case 22:return Ao(A,2662,2671,!0,n);case 22:return qr(A,1,10999,Yr,3,n);case 23:return eo(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return eo(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Ao(A,3302,3311,!0,n);case 28:return eo(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return eo(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return Ao(A,3792,3801,!0,n);case 37:return Ao(A,6160,6169,!0,n);case 38:return Ao(A,4160,4169,!0,n);case 39:return Ao(A,2918,2927,!0,n);case 40:return Ao(A,1776,1785,!0,n);case 43:return Ao(A,3046,3055,!0,n);case 44:return Ao(A,3174,3183,!0,n);case 45:return Ao(A,3664,3673,!0,n);case 46:return Ao(A,3872,3881,!0,n);default:return Ao(A,48,57,!0,n)}},so="data-html2canvas-ignore",lo=function(){function A(A,e,t){if(this.context=A,this.options=t,this.scrolledElements=[],this.referenceElement=e,this.counters=new Xr,this.quoteDepth=0,!e.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(e.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,e){var t=this,o=co(A,e);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var i=A.defaultView.pageXOffset,a=A.defaultView.pageYOffset,s=o.contentWindow,l=s.document,u=ho(o).then((function(){return n(t,void 0,void 0,(function(){var A,t;return r(this,(function(n){switch(n.label){case 0:return this.scrolledElements.forEach(yo),s&&(s.scrollTo(e.left,e.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(s.scrollY!==e.top||s.scrollX!==e.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(s.scrollX-e.left,s.scrollY-e.top,0,0))),A=this.options.onclone,typeof(t=this.clonedReferenceElement)>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:n.sent(),n.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,go(l)]:[3,4];case 3:n.sent(),n.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then((function(){return A(l,t)})).then((function(){return o}))]:[2,o]}}))}))}));return l.open(),l.write(mo(document.doctype)+"<html></html>"),wo(this.referenceElement.ownerDocument,i,a),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),u},A.prototype.createElementClone=function(A){if(Fn(A,2),Mr(A))return this.createCanvasClone(A);if(Kr(A))return this.createVideoClone(A);if(Nr(A))return this.createStyleClone(A);var e=A.cloneNode(!1);return Rr(e)&&(Rr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(e.src=A.currentSrc,e.srcset=""),"lazy"===e.loading&&(e.loading="eager")),Wr(e)?this.createCustomElementClone(e):e},A.prototype.createCustomElementClone=function(A){var e=document.createElement("html2canvascustomelement");return Bo(A.style,e),e},A.prototype.createStyleClone=function(A){try{var e=A.sheet;if(e&&e.cssRules){var t=[].slice.call(e.cssRules,0).reduce((function(A,e){return e&&"string"==typeof e.cssText?A+e.cssText:A}),""),n=A.cloneNode(!1);return n.textContent=t,n}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var e;if(this.options.inlineImages&&A.ownerDocument){var t=A.ownerDocument.createElement("img");try{return t.src=A.toDataURL(),t}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var r=A.getContext("2d"),o=n.getContext("2d");if(o)if(!this.options.allowTaint&&r)o.putImageData(r.getImageData(0,0,A.width,A.height),0,0);else{var i=null!==(e=A.getContext("webgl2"))&&void 0!==e?e:A.getContext("webgl");if(i){var a=i.getContextAttributes();!1===(null==a?void 0:a.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}o.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},A.prototype.createVideoClone=function(A){var e=A.ownerDocument.createElement("canvas");e.width=A.offsetWidth,e.height=A.offsetHeight;var t=e.getContext("2d");try{return t&&(t.drawImage(A,0,0,e.width,e.height),this.options.allowTaint||t.getImageData(0,0,e.width,e.height)),e}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},A.prototype.appendChildNode=function(A,e,t){(!Sr(e)||!function(A){return"SCRIPT"===A.tagName}(e)&&!e.hasAttribute(so)&&("function"!=typeof this.options.ignoreElements||!this.options.ignoreElements(e)))&&(!this.options.copyStyles||!Sr(e)||!Nr(e))&&A.appendChild(this.cloneNode(e,t))},A.prototype.cloneChildNodes=function(A,e,t){for(var n=this,r=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;r;r=r.nextSibling)if(Sr(r)&&_r(r)&&"function"==typeof r.assignedNodes){var o=r.assignedNodes();o.length&&o.forEach((function(A){return n.appendChildNode(e,A,t)}))}else this.appendChildNode(e,r,t)},A.prototype.cloneNode=function(A,e){if(Hr(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var t=A.ownerDocument.defaultView;if(t&&Sr(A)&&(Ir(A)||kr(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var r=t.getComputedStyle(A),o=t.getComputedStyle(A,":before"),i=t.getComputedStyle(A,":after");this.referenceElement===A&&Ir(n)&&(this.clonedReferenceElement=n),Dr(n)&&Co(n);var a=this.counters.parse(new Cn(this.context,r)),s=this.resolvePseudoContent(A,n,o,On.BEFORE);Wr(A)&&(e=!0),Kr(A)||this.cloneChildNodes(A,n,e),s&&n.insertBefore(s,n.firstChild);var l=this.resolvePseudoContent(A,n,i,On.AFTER);return l&&n.appendChild(l),this.counters.pop(a),(r&&(this.options.copyStyles||kr(A))&&!Vr(A)||e)&&Bo(r,n),(0!==A.scrollTop||0!==A.scrollLeft)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(jr(A)||Gr(A))&&(jr(n)||Gr(n))&&(n.value=A.value),n}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,e,t,n){var r=this;if(t){var o=t.content,i=e.ownerDocument;if(i&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==t.display){this.counters.parse(new Cn(this.context,t));var a=new bn(this.context,t),s=i.createElement("html2canvaspseudoelement");Bo(t,s),a.content.forEach((function(e){if(0===e.type)s.appendChild(i.createTextNode(e.value));else if(22===e.type){var t=i.createElement("img");t.src=e.value,t.style.opacity="1",s.appendChild(t)}else if(18===e.type){if("attr"===e.name){var n=e.values.filter(_A);n.length&&s.appendChild(i.createTextNode(A.getAttribute(n[0].value)||""))}else if("counter"===e.name){var o=e.values.filter(JA),l=o[0],u=o[1];if(l&&_A(l)){var c=r.counters.getCounterValue(l.value),d=u&&_A(u)?St.parse(r.context,u.value):3;s.appendChild(i.createTextNode(ao(c,d,!1)))}}else if("counters"===e.name){var f=e.values.filter(JA),g=(l=f[0],f[1]);if(u=f[2],l&&_A(l)){var h=r.counters.getCounterValues(l.value),p=u&&_A(u)?St.parse(r.context,u.value):3,B=g&&0===g.type?g.value:"",m=h.map((function(A){return ao(A,p,!1)})).join(B);s.appendChild(i.createTextNode(m))}}}else if(20===e.type)switch(e.value){case"open-quote":s.appendChild(i.createTextNode(Bn(a.quotes,r.quoteDepth++,!0)));break;case"close-quote":s.appendChild(i.createTextNode(Bn(a.quotes,--r.quoteDepth,!1)));break;default:s.appendChild(i.createTextNode(e.value))}})),s.className=vo+" "+Qo;var l=n===On.BEFORE?" "+vo:" "+Qo;return kr(e)?e.className.baseValue+=l:e.className+=l,s}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(On||(On={}));var uo,co=function(A,e){var t=A.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=e.width.toString(),t.height=e.height.toString(),t.scrolling="no",t.setAttribute(so,"true"),A.body.appendChild(t),t},fo=function(A){return new Promise((function(e){A.complete?e():A.src?(A.onload=e,A.onerror=e):e()}))},go=function(A){return Promise.all([].slice.call(A.images,0).map(fo))},ho=function(A){return new Promise((function(e,t){var n=A.contentWindow;if(!n)return t("No window assigned for iframe");var r=n.document;n.onload=A.onload=function(){n.onload=A.onload=null;var t=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(t),e(A))}),50)}}))},po=["all","d","content"],Bo=function(A,e){for(var t=A.length-1;t>=0;t--){var n=A.item(t);-1===po.indexOf(n)&&e.style.setProperty(n,A.getPropertyValue(n))}return e},mo=function(A){var e="";return A&&(e+="<!DOCTYPE ",A.name&&(e+=A.name),A.internalSubset&&(e+=A.internalSubset),A.publicId&&(e+='"'+A.publicId+'"'),A.systemId&&(e+='"'+A.systemId+'"'),e+=">"),e},wo=function(A,e,t){A&&A.defaultView&&(e!==A.defaultView.pageXOffset||t!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(e,t)},yo=function(A){var e=A[0],t=A[1],n=A[2];e.scrollLeft=t,e.scrollTop=n},vo="___html2canvas___pseudoelement_before",Qo="___html2canvas___pseudoelement_after",bo='{\n content: "" !important;\n display: none !important;\n}',Co=function(A){Uo(A,"."+vo+":before"+bo+"\n ."+Qo+":after"+bo)},Uo=function(A,e){var t=A.ownerDocument;if(t){var n=t.createElement("style");n.textContent=e,A.appendChild(n)}},Fo=function(){function A(){}return A.getOrigin=function(e){var t=A._link;return t?(t.href=e,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},A.isSameOrigin=function(e){return A.getOrigin(e)===A._origin},A.setContext=function(e){A._link=e.document.createElement("a"),A._origin=A.getOrigin(e.location.href)},A._origin="about:blank",A}(),Eo=function(){function A(A,e){this.context=A,this._options=e,this._cache={}}return A.prototype.addImage=function(A){var e=Promise.resolve();return this.has(A)||(Po(A)||Io(A))&&(this._cache[A]=this.loadImage(A)).catch((function(){})),e},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return n(this,void 0,void 0,(function(){var e,t,n,o,i=this;return r(this,(function(r){switch(r.label){case 0:return e=Fo.isSameOrigin(A),t=!ko(A)&&!0===this._options.useCORS&&Yn.SUPPORT_CORS_IMAGES&&!e,n=!ko(A)&&!e&&!Po(A)&&"string"==typeof this._options.proxy&&Yn.SUPPORT_CORS_XHR&&!t,e||!1!==this._options.allowTaint||ko(A)||Po(A)||n||t?(o=A,n?[4,this.proxy(o)]:[3,2]):[2];case 1:o=r.sent(),r.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,e){var n=new Image;n.onload=function(){return A(n)},n.onerror=e,(Lo(o)||t)&&(n.crossOrigin="anonymous"),n.src=o,!0===n.complete&&setTimeout((function(){return A(n)}),500),i._options.imageTimeout>0&&setTimeout((function(){return e("Timed out ("+i._options.imageTimeout+"ms) loading image")}),i._options.imageTimeout)}))];case 3:return[2,r.sent()]}}))}))},A.prototype.has=function(A){return typeof this._cache[A]<"u"},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var e=this,t=this._options.proxy;if(!t)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise((function(r,o){var i=Yn.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(200===a.status)if("text"===i)r(a.response);else{var A=new FileReader;A.addEventListener("load",(function(){return r(A.result)}),!1),A.addEventListener("error",(function(A){return o(A)}),!1),A.readAsDataURL(a.response)}else o("Failed to proxy resource "+n+" with status code "+a.status)},a.onerror=o;var s=t.indexOf("?")>-1?"&":"?";if(a.open("GET",""+t+s+"url="+encodeURIComponent(A)+"&responseType="+i),"text"!==i&&a instanceof XMLHttpRequest&&(a.responseType=i),e._options.imageTimeout){var l=e._options.imageTimeout;a.timeout=l,a.ontimeout=function(){return o("Timed out ("+l+"ms) proxying "+n)}}a.send()}))},A}(),xo=/^data:image\/svg\+xml/i,Ho=/^data:image\/.*;base64,/i,So=/^data:image\/.*/i,Io=function(A){return Yn.SUPPORT_SVG_DRAWING||!To(A)},ko=function(A){return So.test(A)},Lo=function(A){return Ho.test(A)},Po=function(A){return"blob"===A.substr(0,4)},To=function(A){return"svg"===A.substr(-3).toLowerCase()||xo.test(A)},Oo=function(){function A(A,e){this.type=0,this.x=A,this.y=e}return A.prototype.add=function(e,t){return new A(this.x+e,this.y+t)},A}(),Do=function(A,e,t){return new Oo(A.x+(e.x-A.x)*t,A.y+(e.y-A.y)*t)},Mo=function(){function A(A,e,t,n){this.type=1,this.start=A,this.startControl=e,this.endControl=t,this.end=n}return A.prototype.subdivide=function(e,t){var n=Do(this.start,this.startControl,e),r=Do(this.startControl,this.endControl,e),o=Do(this.endControl,this.end,e),i=Do(n,r,e),a=Do(r,o,e),s=Do(i,a,e);return t?new A(this.start,n,i,s):new A(s,a,o,this.end)},A.prototype.add=function(e,t){return new A(this.start.add(e,t),this.startControl.add(e,t),this.endControl.add(e,t),this.end.add(e,t))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ko=function(A){return 1===A.type},Ro=function(A){var e=A.styles,t=A.bounds,n=re(e.borderTopLeftRadius,t.width,t.height),r=n[0],o=n[1],i=re(e.borderTopRightRadius,t.width,t.height),a=i[0],s=i[1],l=re(e.borderBottomRightRadius,t.width,t.height),u=l[0],c=l[1],d=re(e.borderBottomLeftRadius,t.width,t.height),f=d[0],g=d[1],h=[];h.push((r+a)/t.width),h.push((f+u)/t.width),h.push((o+g)/t.height),h.push((s+c)/t.height);var p=Math.max.apply(Math,h);p>1&&(r/=p,o/=p,a/=p,s/=p,u/=p,c/=p,f/=p,g/=p);var B=t.width-a,m=t.height-c,w=t.width-u,y=t.height-g,v=e.borderTopWidth,Q=e.borderRightWidth,b=e.borderBottomWidth,C=e.borderLeftWidth,U=oe(e.paddingTop,A.bounds.width),F=oe(e.paddingRight,A.bounds.width),E=oe(e.paddingBottom,A.bounds.width),x=oe(e.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||o>0?Vo(t.left+C/3,t.top+v/3,r-C/3,o-v/3,uo.TOP_LEFT):new Oo(t.left+C/3,t.top+v/3),this.topRightBorderDoubleOuterBox=r>0||o>0?Vo(t.left+B,t.top+v/3,a-Q/3,s-v/3,uo.TOP_RIGHT):new Oo(t.left+t.width-Q/3,t.top+v/3),this.bottomRightBorderDoubleOuterBox=u>0||c>0?Vo(t.left+w,t.top+m,u-Q/3,c-b/3,uo.BOTTOM_RIGHT):new Oo(t.left+t.width-Q/3,t.top+t.height-b/3),this.bottomLeftBorderDoubleOuterBox=f>0||g>0?Vo(t.left+C/3,t.top+y,f-C/3,g-b/3,uo.BOTTOM_LEFT):new Oo(t.left+C/3,t.top+t.height-b/3),this.topLeftBorderDoubleInnerBox=r>0||o>0?Vo(t.left+2*C/3,t.top+2*v/3,r-2*C/3,o-2*v/3,uo.TOP_LEFT):new Oo(t.left+2*C/3,t.top+2*v/3),this.topRightBorderDoubleInnerBox=r>0||o>0?Vo(t.left+B,t.top+2*v/3,a-2*Q/3,s-2*v/3,uo.TOP_RIGHT):new Oo(t.left+t.width-2*Q/3,t.top+2*v/3),this.bottomRightBorderDoubleInnerBox=u>0||c>0?Vo(t.left+w,t.top+m,u-2*Q/3,c-2*b/3,uo.BOTTOM_RIGHT):new Oo(t.left+t.width-2*Q/3,t.top+t.height-2*b/3),this.bottomLeftBorderDoubleInnerBox=f>0||g>0?Vo(t.left+2*C/3,t.top+y,f-2*C/3,g-2*b/3,uo.BOTTOM_LEFT):new Oo(t.left+2*C/3,t.top+t.height-2*b/3),this.topLeftBorderStroke=r>0||o>0?Vo(t.left+C/2,t.top+v/2,r-C/2,o-v/2,uo.TOP_LEFT):new Oo(t.left+C/2,t.top+v/2),this.topRightBorderStroke=r>0||o>0?Vo(t.left+B,t.top+v/2,a-Q/2,s-v/2,uo.TOP_RIGHT):new Oo(t.left+t.width-Q/2,t.top+v/2),this.bottomRightBorderStroke=u>0||c>0?Vo(t.left+w,t.top+m,u-Q/2,c-b/2,uo.BOTTOM_RIGHT):new Oo(t.left+t.width-Q/2,t.top+t.height-b/2),this.bottomLeftBorderStroke=f>0||g>0?Vo(t.left+C/2,t.top+y,f-C/2,g-b/2,uo.BOTTOM_LEFT):new Oo(t.left+C/2,t.top+t.height-b/2),this.topLeftBorderBox=r>0||o>0?Vo(t.left,t.top,r,o,uo.TOP_LEFT):new Oo(t.left,t.top),this.topRightBorderBox=a>0||s>0?Vo(t.left+B,t.top,a,s,uo.TOP_RIGHT):new Oo(t.left+t.width,t.top),this.bottomRightBorderBox=u>0||c>0?Vo(t.left+w,t.top+m,u,c,uo.BOTTOM_RIGHT):new Oo(t.left+t.width,t.top+t.height),this.bottomLeftBorderBox=f>0||g>0?Vo(t.left,t.top+y,f,g,uo.BOTTOM_LEFT):new Oo(t.left,t.top+t.height),this.topLeftPaddingBox=r>0||o>0?Vo(t.left+C,t.top+v,Math.max(0,r-C),Math.max(0,o-v),uo.TOP_LEFT):new Oo(t.left+C,t.top+v),this.topRightPaddingBox=a>0||s>0?Vo(t.left+Math.min(B,t.width-Q),t.top+v,B>t.width+Q?0:Math.max(0,a-Q),Math.max(0,s-v),uo.TOP_RIGHT):new Oo(t.left+t.width-Q,t.top+v),this.bottomRightPaddingBox=u>0||c>0?Vo(t.left+Math.min(w,t.width-C),t.top+Math.min(m,t.height-b),Math.max(0,u-Q),Math.max(0,c-b),uo.BOTTOM_RIGHT):new Oo(t.left+t.width-Q,t.top+t.height-b),this.bottomLeftPaddingBox=f>0||g>0?Vo(t.left+C,t.top+Math.min(y,t.height-b),Math.max(0,f-C),Math.max(0,g-b),uo.BOTTOM_LEFT):new Oo(t.left+C,t.top+t.height-b),this.topLeftContentBox=r>0||o>0?Vo(t.left+C+x,t.top+v+U,Math.max(0,r-(C+x)),Math.max(0,o-(v+U)),uo.TOP_LEFT):new Oo(t.left+C+x,t.top+v+U),this.topRightContentBox=a>0||s>0?Vo(t.left+Math.min(B,t.width+C+x),t.top+v+U,B>t.width+C+x?0:a-C+x,s-(v+U),uo.TOP_RIGHT):new Oo(t.left+t.width-(Q+F),t.top+v+U),this.bottomRightContentBox=u>0||c>0?Vo(t.left+Math.min(w,t.width-(C+x)),t.top+Math.min(m,t.height+v+U),Math.max(0,u-(Q+F)),c-(b+E),uo.BOTTOM_RIGHT):new Oo(t.left+t.width-(Q+F),t.top+t.height-(b+E)),this.bottomLeftContentBox=f>0||g>0?Vo(t.left+C+x,t.top+y,Math.max(0,f-(C+x)),g-(b+E),uo.BOTTOM_LEFT):new Oo(t.left+C+x,t.top+t.height-(b+E))};!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"}(uo||(uo={}));var Vo=function(A,e,t,n,r){var o=(Math.sqrt(2)-1)/3*4,i=t*o,a=n*o,s=A+t,l=e+n;switch(r){case uo.TOP_LEFT:return new Mo(new Oo(A,l),new Oo(A,l-a),new Oo(s-i,e),new Oo(s,e));case uo.TOP_RIGHT:return new Mo(new Oo(A,e),new Oo(A+i,e),new Oo(s,l-a),new Oo(s,l));case uo.BOTTOM_RIGHT:return new Mo(new Oo(s,e),new Oo(s,e+a),new Oo(A+i,l),new Oo(A,l));case uo.BOTTOM_LEFT:default:return new Mo(new Oo(s,l),new Oo(s-i,l),new Oo(A,e+a),new Oo(A,e))}},No=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},jo=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},Go=function(A,e,t){this.offsetX=A,this.offsetY=e,this.matrix=t,this.type=0,this.target=6},_o=function(A,e){this.path=A,this.target=e,this.type=1},Wo=function(A){this.opacity=A,this.type=2,this.target=6},Xo=function(A){return 1===A.type},zo=function(A,e){return A.length===e.length&&A.some((function(A,t){return A===e[t]}))},Jo=function(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]},Yo=function(){function A(A,e){if(this.container=A,this.parent=e,this.effects=[],this.curves=new Ro(this.container),this.container.styles.opacity<1&&this.effects.push(new Wo(this.container.styles.opacity)),null!==this.container.styles.transform){var t=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new Go(t,n,r))}if(0!==this.container.styles.overflowX){var o=No(this.curves),i=jo(this.curves);zo(o,i)?this.effects.push(new _o(o,6)):(this.effects.push(new _o(o,2)),this.effects.push(new _o(i,4)))}}return A.prototype.getEffects=function(A){for(var e=-1===[2,3].indexOf(this.container.styles.position),t=this.parent,n=this.effects.slice(0);t;){var r=t.effects.filter((function(A){return!Xo(A)}));if(e||0!==t.container.styles.position||!t.parent){if(n.unshift.apply(n,r),e=-1===[2,3].indexOf(t.container.styles.position),0!==t.container.styles.overflowX){var o=No(t.curves),i=jo(t.curves);zo(o,i)||n.unshift(new _o(i,6))}}else n.unshift.apply(n,r);t=t.parent}return n.filter((function(e){return cn(e.target,A)}))},A}(),Zo=function(A,e,t,n){A.container.elements.forEach((function(r){var o=cn(r.flags,4),i=cn(r.flags,2),a=new Yo(r,A);cn(r.styles.display,2048)&&n.push(a);var s=cn(r.flags,8)?[]:n;if(o||i){var l=o||r.styles.isPositioned()?t:e,u=new Jo(a);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var c=r.styles.zIndex.order;if(c<0){var d=0;l.negativeZIndex.some((function(A,e){return c>A.element.container.styles.zIndex.order?(d=e,!1):d>0})),l.negativeZIndex.splice(d,0,u)}else if(c>0){var f=0;l.positiveZIndex.some((function(A,e){return c>=A.element.container.styles.zIndex.order?(f=e+1,!1):f>0})),l.positiveZIndex.splice(f,0,u)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else r.styles.isFloating()?l.nonPositionedFloats.push(u):l.nonPositionedInlineLevel.push(u);Zo(a,u,o?u:t,s)}else r.styles.isInlineLevel()?e.inlineLevel.push(a):e.nonInlineLevel.push(a),Zo(a,e,t,s);cn(r.flags,8)&&qo(r,s)}))},qo=function(A,e){for(var t=A instanceof dr?A.start:1,n=A instanceof dr&&A.reversed,r=0;r<e.length;r++){var o=e[r];o.container instanceof cr&&"number"==typeof o.container.value&&0!==o.container.value&&(t=o.container.value),o.listValue=ao(t,o.container.styles.listStyleType,!0),t+=n?-1:1}},$o=function(A,e){switch(e){case 0:return ei(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return ei(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return ei(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return ei(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Ai=function(A,e){var t=[];return Ko(A)?t.push(A.subdivide(.5,!1)):t.push(A),Ko(e)?t.push(e.subdivide(.5,!0)):t.push(e),t},ei=function(A,e,t,n){var r=[];return Ko(A)?r.push(A.subdivide(.5,!1)):r.push(A),Ko(t)?r.push(t.subdivide(.5,!0)):r.push(t),Ko(n)?r.push(n.subdivide(.5,!0).reverse()):r.push(n),Ko(e)?r.push(e.subdivide(.5,!1).reverse()):r.push(e),r},ti=function(A){var e=A.bounds,t=A.styles;return e.add(t.borderLeftWidth,t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth),-(t.borderTopWidth+t.borderBottomWidth))},ni=function(A){var e=A.styles,t=A.bounds,n=oe(e.paddingLeft,t.width),r=oe(e.paddingRight,t.width),o=oe(e.paddingTop,t.width),i=oe(e.paddingBottom,t.width);return t.add(n+e.borderLeftWidth,o+e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth+n+r),-(e.borderTopWidth+e.borderBottomWidth+o+i))},ri=function(A,e,t){var n=function(A,e){return 0===A?e.bounds:2===A?ni(e):ti(e)}(si(A.styles.backgroundOrigin,e),A),r=function(A,e){return 0===A?e.bounds:2===A?ni(e):ti(e)}(si(A.styles.backgroundClip,e),A),o=ai(si(A.styles.backgroundSize,e),t,n),i=o[0],a=o[1],s=re(si(A.styles.backgroundPosition,e),n.width-i,n.height-a);return[li(si(A.styles.backgroundRepeat,e),s,o,n,r),Math.round(n.left+s[0]),Math.round(n.top+s[1]),i,a]},oi=function(A){return _A(A)&&A.value===Ve.AUTO},ii=function(A){return"number"==typeof A},ai=function(A,e,t){var n=e[0],r=e[1],o=e[2],i=A[0],a=A[1];if(!i)return[0,0];if($A(i)&&a&&$A(a))return[oe(i,t.width),oe(a,t.height)];var s=ii(o);if(_A(i)&&(i.value===Ve.CONTAIN||i.value===Ve.COVER))return ii(o)?t.width/t.height<o!=(i.value===Ve.COVER)?[t.width,t.width/o]:[t.height*o,t.height]:[t.width,t.height];var l=ii(n),u=ii(r),c=l||u;if(oi(i)&&(!a||oi(a)))return l&&u?[n,r]:s||c?c&&s?[l?n:r*o,u?r:n/o]:[l?n:t.width,u?r:t.height]:[t.width,t.height];if(s){var d=0,f=0;return $A(i)?d=oe(i,t.width):$A(a)&&(f=oe(a,t.height)),oi(i)?d=f*o:(!a||oi(a))&&(f=d/o),[d,f]}var g=null,h=null;if($A(i)?g=oe(i,t.width):a&&$A(a)&&(h=oe(a,t.height)),null!==g&&(!a||oi(a))&&(h=l&&u?g/n*r:t.height),null!==h&&oi(i)&&(g=l&&u?h/r*n:t.width),null!==g&&null!==h)return[g,h];throw new Error("Unable to calculate background-size for element")},si=function(A,e){var t=A[e];return typeof t>"u"?A[0]:t},li=function(A,e,t,n,r){var o=e[0],i=e[1],a=t[0],s=t[1];switch(A){case 2:return[new Oo(Math.round(n.left),Math.round(n.top+i)),new Oo(Math.round(n.left+n.width),Math.round(n.top+i)),new Oo(Math.round(n.left+n.width),Math.round(s+n.top+i)),new Oo(Math.round(n.left),Math.round(s+n.top+i))];case 3:return[new Oo(Math.round(n.left+o),Math.round(n.top)),new Oo(Math.round(n.left+o+a),Math.round(n.top)),new Oo(Math.round(n.left+o+a),Math.round(n.height+n.top)),new Oo(Math.round(n.left+o),Math.round(n.height+n.top))];case 1:return[new Oo(Math.round(n.left+o),Math.round(n.top+i)),new Oo(Math.round(n.left+o+a),Math.round(n.top+i)),new Oo(Math.round(n.left+o+a),Math.round(n.top+i+s)),new Oo(Math.round(n.left+o),Math.round(n.top+i+s))];default:return[new Oo(Math.round(r.left),Math.round(r.top)),new Oo(Math.round(r.left+r.width),Math.round(r.top)),new Oo(Math.round(r.left+r.width),Math.round(r.height+r.top)),new Oo(Math.round(r.left),Math.round(r.height+r.top))]}},ui="Hidden Text",ci=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,e){var t=this._document.createElement("div"),n=this._document.createElement("img"),r=this._document.createElement("span"),o=this._document.body;t.style.visibility="hidden",t.style.fontFamily=A,t.style.fontSize=e,t.style.margin="0",t.style.padding="0",t.style.whiteSpace="nowrap",o.appendChild(t),n.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",r.style.fontFamily=A,r.style.fontSize=e,r.style.margin="0",r.style.padding="0",r.appendChild(this._document.createTextNode(ui)),t.appendChild(r),t.appendChild(n);var i=n.offsetTop-r.offsetTop+2;t.removeChild(r),t.appendChild(this._document.createTextNode(ui)),t.style.lineHeight="normal",n.style.verticalAlign="super";var a=n.offsetTop-t.offsetTop+2;return o.removeChild(t),{baseline:i,middle:a}},A.prototype.getMetrics=function(A,e){var t=A+" "+e;return typeof this._data[t]>"u"&&(this._data[t]=this.parseMetrics(A,e)),this._data[t]},A}(),di=function(A,e){this.context=A,this.options=e},fi=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n._activeEffects=[],n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),t.canvas||(n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px"),n.fontMetrics=new ci(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+t.width+"x"+t.height+") with scale "+t.scale),n}return e(t,A),t.prototype.applyEffects=function(A){for(var e=this;this._activeEffects.length;)this.popEffect();A.forEach((function(A){return e.applyEffect(A)}))},t.prototype.applyEffect=function(A){this.ctx.save(),function(A){return 2===A.type}(A)&&(this.ctx.globalAlpha=A.opacity),function(A){return 0===A.type}(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Xo(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},t.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},t.prototype.renderStack=function(A){return n(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},t.prototype.renderNode=function(A){return n(this,void 0,void 0,(function(){return r(this,(function(e){switch(e.label){case 0:return cn(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(A)];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},t.prototype.renderTextWithLetterSpacing=function(A,e,t){var n=this;0===e?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+t):Ar(A.text).reduce((function(e,r){return n.ctx.fillText(r,e,A.bounds.top+t),e+n.ctx.measureText(r).width}),A.bounds.left)},t.prototype.createFontStyle=function(A){var e=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),t=mi(A.fontFamily).join(", "),n=jA(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,e,A.fontWeight,n,t].join(" "),t,n]},t.prototype.renderTextNode=function(A,e){return n(this,void 0,void 0,(function(){var t,n,o,i,a,s,l,u,c=this;return r(this,(function(r){return t=this.createFontStyle(e),n=t[0],o=t[1],i=t[2],this.ctx.font=n,this.ctx.direction=1===e.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(o,i),s=a.baseline,l=a.middle,u=e.paintOrder,A.textBounds.forEach((function(A){u.forEach((function(t){switch(t){case 0:c.ctx.fillStyle=ge(e.color),c.renderTextWithLetterSpacing(A,e.letterSpacing,s);var n=e.textShadow;n.length&&A.text.trim().length&&(n.slice(0).reverse().forEach((function(t){c.ctx.shadowColor=ge(t.color),c.ctx.shadowOffsetX=t.offsetX.number*c.options.scale,c.ctx.shadowOffsetY=t.offsetY.number*c.options.scale,c.ctx.shadowBlur=t.blur.number,c.renderTextWithLetterSpacing(A,e.letterSpacing,s)})),c.ctx.shadowColor="",c.ctx.shadowOffsetX=0,c.ctx.shadowOffsetY=0,c.ctx.shadowBlur=0),e.textDecorationLine.length&&(c.ctx.fillStyle=ge(e.textDecorationColor||e.color),e.textDecorationLine.forEach((function(e){switch(e){case 1:c.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+s),A.bounds.width,1);break;case 2:c.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:c.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+l),A.bounds.width,1)}})));break;case 1:e.webkitTextStrokeWidth&&A.text.trim().length&&(c.ctx.strokeStyle=ge(e.webkitTextStrokeColor),c.ctx.lineWidth=e.webkitTextStrokeWidth,c.ctx.lineJoin=window.chrome?"miter":"round",c.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+s)),c.ctx.strokeStyle="",c.ctx.lineWidth=0,c.ctx.lineJoin="miter"}}))})),[2]}))}))},t.prototype.renderReplacedElement=function(A,e,t){if(t&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var n=ni(A),r=jo(e);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(t,0,0,A.intrinsicWidth,A.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},t.prototype.renderNodeContent=function(A){return n(this,void 0,void 0,(function(){var e,n,o,a,s,l,u,c,d,f,g,h,p,B,m,w,y,v;return r(this,(function(r){switch(r.label){case 0:this.applyEffects(A.getEffects(4)),e=A.container,n=A.curves,o=e.styles,a=0,s=e.textNodes,r.label=1;case 1:return a<s.length?(l=s[a],[4,this.renderTextNode(l,o)]):[3,4];case 2:r.sent(),r.label=3;case 3:return a++,[3,1];case 4:if(!(e instanceof sr))return[3,8];r.label=5;case 5:return r.trys.push([5,7,,8]),[4,this.context.cache.match(e.src)];case 6:return m=r.sent(),this.renderReplacedElement(e,n,m),[3,8];case 7:return r.sent(),this.context.logger.error("Error loading image "+e.src),[3,8];case 8:if(e instanceof lr&&this.renderReplacedElement(e,n,e.canvas),!(e instanceof ur))return[3,12];r.label=9;case 9:return r.trys.push([9,11,,12]),[4,this.context.cache.match(e.svg)];case 10:return m=r.sent(),this.renderReplacedElement(e,n,m),[3,12];case 11:return r.sent(),this.context.logger.error("Error loading svg "+e.svg.substring(0,255)),[3,12];case 12:return e instanceof Qr&&e.tree?[4,new t(this.context,{scale:this.options.scale,backgroundColor:e.backgroundColor,x:0,y:0,width:e.width,height:e.height}).render(e.tree)]:[3,14];case 13:u=r.sent(),e.width&&e.height&&this.ctx.drawImage(u,0,0,e.width,e.height,e.bounds.left,e.bounds.top,e.bounds.width,e.bounds.height),r.label=14;case 14:if(e instanceof wr&&(c=Math.min(e.bounds.width,e.bounds.height),e.type===hr?e.checked&&(this.ctx.save(),this.path([new Oo(e.bounds.left+.39363*c,e.bounds.top+.79*c),new Oo(e.bounds.left+.16*c,e.bounds.top+.5549*c),new Oo(e.bounds.left+.27347*c,e.bounds.top+.44071*c),new Oo(e.bounds.left+.39694*c,e.bounds.top+.5649*c),new Oo(e.bounds.left+.72983*c,e.bounds.top+.23*c),new Oo(e.bounds.left+.84*c,e.bounds.top+.34085*c),new Oo(e.bounds.left+.39363*c,e.bounds.top+.79*c)]),this.ctx.fillStyle=ge(mr),this.ctx.fill(),this.ctx.restore()):e.type===pr&&e.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(e.bounds.left+c/2,e.bounds.top+c/2,c/4,0,2*Math.PI,!0),this.ctx.fillStyle=ge(mr),this.ctx.fill(),this.ctx.restore())),gi(e)&&e.value.length){switch(d=this.createFontStyle(o),y=d[0],f=d[1],g=this.fontMetrics.getMetrics(y,f).baseline,this.ctx.font=y,this.ctx.fillStyle=ge(o.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=pi(e.styles.textAlign),v=ni(e),h=0,e.styles.textAlign){case 1:h+=v.width/2;break;case 2:h+=v.width}p=v.add(h,0,0,-v.height/2+1),this.ctx.save(),this.path([new Oo(v.left,v.top),new Oo(v.left+v.width,v.top),new Oo(v.left+v.width,v.top+v.height),new Oo(v.left,v.top+v.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Zn(e.value,p),o.letterSpacing,g),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!cn(e.styles.display,2048))return[3,20];if(null===e.styles.listStyleImage)return[3,19];if(0!==(B=e.styles.listStyleImage).type)return[3,18];m=void 0,w=B.url,r.label=15;case 15:return r.trys.push([15,17,,18]),[4,this.context.cache.match(w)];case 16:return m=r.sent(),this.ctx.drawImage(m,e.bounds.left-(m.width+10),e.bounds.top),[3,18];case 17:return r.sent(),this.context.logger.error("Error loading list-style-image "+w),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==e.styles.listStyleType&&(y=this.createFontStyle(o)[0],this.ctx.font=y,this.ctx.fillStyle=ge(o.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",v=new i(e.bounds.left,e.bounds.top+oe(e.styles.paddingTop,e.bounds.width),e.bounds.width,Et(o.lineHeight,o.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Zn(A.listValue,v),o.letterSpacing,Et(o.lineHeight,o.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),r.label=20;case 20:return[2]}}))}))},t.prototype.renderStackContent=function(A){return n(this,void 0,void 0,(function(){var e,t,n,o,i,a,s,l,u,c,d,f,g,h,p;return r(this,(function(r){switch(r.label){case 0:return cn(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:r.sent(),e=0,t=A.negativeZIndex,r.label=2;case 2:return e<t.length?(p=t[e],[4,this.renderStack(p)]):[3,5];case 3:r.sent(),r.label=4;case 4:return e++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:r.sent(),n=0,o=A.nonInlineLevel,r.label=7;case 7:return n<o.length?(p=o[n],[4,this.renderNode(p)]):[3,10];case 8:r.sent(),r.label=9;case 9:return n++,[3,7];case 10:i=0,a=A.nonPositionedFloats,r.label=11;case 11:return i<a.length?(p=a[i],[4,this.renderStack(p)]):[3,14];case 12:r.sent(),r.label=13;case 13:return i++,[3,11];case 14:s=0,l=A.nonPositionedInlineLevel,r.label=15;case 15:return s<l.length?(p=l[s],[4,this.renderStack(p)]):[3,18];case 16:r.sent(),r.label=17;case 17:return s++,[3,15];case 18:u=0,c=A.inlineLevel,r.label=19;case 19:return u<c.length?(p=c[u],[4,this.renderNode(p)]):[3,22];case 20:r.sent(),r.label=21;case 21:return u++,[3,19];case 22:d=0,f=A.zeroOrAutoZIndexOrTransformedOrOpacity,r.label=23;case 23:return d<f.length?(p=f[d],[4,this.renderStack(p)]):[3,26];case 24:r.sent(),r.label=25;case 25:return d++,[3,23];case 26:g=0,h=A.positiveZIndex,r.label=27;case 27:return g<h.length?(p=h[g],[4,this.renderStack(p)]):[3,30];case 28:r.sent(),r.label=29;case 29:return g++,[3,27];case 30:return[2]}}))}))},t.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},t.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},t.prototype.formatPath=function(A){var e=this;A.forEach((function(A,t){var n=Ko(A)?A.start:A;0===t?e.ctx.moveTo(n.x,n.y):e.ctx.lineTo(n.x,n.y),Ko(A)&&e.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},t.prototype.renderRepeat=function(A,e,t,n){this.path(A),this.ctx.fillStyle=e,this.ctx.translate(t,n),this.ctx.fill(),this.ctx.translate(-t,-n)},t.prototype.resizeImage=function(A,e,t){var n;if(A.width===e&&A.height===t)return A;var r=(null!==(n=this.canvas.ownerDocument)&&void 0!==n?n:document).createElement("canvas");return r.width=Math.max(1,e),r.height=Math.max(1,t),r.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,e,t),r},t.prototype.renderBackgroundImage=function(A){return n(this,void 0,void 0,(function(){var e,t,n,o,i,a;return r(this,(function(s){switch(s.label){case 0:e=A.styles.backgroundImage.length-1,t=function(t){var o,i,a,s,l,u,c,d,f,g,h,p,B,m,w,y,v,Q,b,C,U,F,E,x,H,S,I,k,L,P,T;return r(this,(function(r){switch(r.label){case 0:if(0!==t.type)return[3,5];o=void 0,i=t.url,r.label=1;case 1:return r.trys.push([1,3,,4]),[4,n.context.cache.match(i)];case 2:return o=r.sent(),[3,4];case 3:return r.sent(),n.context.logger.error("Error loading background-image "+i),[3,4];case 4:return o&&(a=ri(A,e,[o.width,o.height,o.width/o.height]),y=a[0],F=a[1],E=a[2],b=a[3],C=a[4],m=n.ctx.createPattern(n.resizeImage(o,b,C),"repeat"),n.renderRepeat(y,m,F,E)),[3,6];case 5:!function(A){return 1===A.type}(t)?function(A){return 2===A.type}(t)&&(w=ri(A,e,[null,null,null]),y=w[0],v=w[1],Q=w[2],b=w[3],C=w[4],U=0===t.position.length?[te]:t.position,F=oe(U[0],b),E=oe(U[U.length-1],C),x=function(A,e,t,n,r){var o=0,i=0;switch(A.size){case 0:0===A.shape?o=i=Math.min(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.min(Math.abs(e),Math.abs(e-n)),i=Math.min(Math.abs(t),Math.abs(t-r)));break;case 2:if(0===A.shape)o=i=Math.min(xe(e,t),xe(e,t-r),xe(e-n,t),xe(e-n,t-r));else if(1===A.shape){var a=Math.min(Math.abs(t),Math.abs(t-r))/Math.min(Math.abs(e),Math.abs(e-n)),s=He(n,r,e,t,!0),l=s[0],u=s[1];i=a*(o=xe(l-e,(u-t)/a))}break;case 1:0===A.shape?o=i=Math.max(Math.abs(e),Math.abs(e-n),Math.abs(t),Math.abs(t-r)):1===A.shape&&(o=Math.max(Math.abs(e),Math.abs(e-n)),i=Math.max(Math.abs(t),Math.abs(t-r)));break;case 3:if(0===A.shape)o=i=Math.max(xe(e,t),xe(e,t-r),xe(e-n,t),xe(e-n,t-r));else if(1===A.shape){a=Math.max(Math.abs(t),Math.abs(t-r))/Math.max(Math.abs(e),Math.abs(e-n));var c=He(n,r,e,t,!1);l=c[0],u=c[1],i=a*(o=xe(l-e,(u-t)/a))}}return Array.isArray(A.size)&&(o=oe(A.size[0],n),i=2===A.size.length?oe(A.size[1],r):o),[o,i]}(t,F,E,b,C),H=x[0],S=x[1],H>0&&S>0&&(I=n.ctx.createRadialGradient(v+F,Q+E,0,v+F,Q+E,H),Fe(t.stops,2*H).forEach((function(A){return I.addColorStop(A.stop,ge(A.color))})),n.path(y),n.ctx.fillStyle=I,H!==S?(k=A.bounds.left+.5*A.bounds.width,L=A.bounds.top+.5*A.bounds.height,T=1/(P=S/H),n.ctx.save(),n.ctx.translate(k,L),n.ctx.transform(1,0,0,P,0,0),n.ctx.translate(-k,-L),n.ctx.fillRect(v,T*(Q-L)+L,b,C*T),n.ctx.restore()):n.ctx.fill())):(s=ri(A,e,[null,null,null]),y=s[0],F=s[1],E=s[2],b=s[3],C=s[4],l=Ee(t.angle,b,C),u=l[0],c=l[1],d=l[2],f=l[3],g=l[4],(h=document.createElement("canvas")).width=b,h.height=C,p=h.getContext("2d"),B=p.createLinearGradient(c,f,d,g),Fe(t.stops,u).forEach((function(A){return B.addColorStop(A.stop,ge(A.color))})),p.fillStyle=B,p.fillRect(0,0,b,C),b>0&&C>0&&(m=n.ctx.createPattern(h,"repeat"),n.renderRepeat(y,m,F,E))),r.label=6;case 6:return e--,[2]}}))},n=this,o=0,i=A.styles.backgroundImage.slice(0).reverse(),s.label=1;case 1:return o<i.length?(a=i[o],[5,t(a)]):[3,4];case 2:s.sent(),s.label=3;case 3:return o++,[3,1];case 4:return[2]}}))}))},t.prototype.renderSolidBorder=function(A,e,t){return n(this,void 0,void 0,(function(){return r(this,(function(n){return this.path($o(t,e)),this.ctx.fillStyle=ge(A),this.ctx.fill(),[2]}))}))},t.prototype.renderDoubleBorder=function(A,e,t,o){return n(this,void 0,void 0,(function(){var n,i;return r(this,(function(r){switch(r.label){case 0:return e<3?[4,this.renderSolidBorder(A,t,o)]:[3,2];case 1:return r.sent(),[2];case 2:return n=function(A,e){switch(e){case 0:return ei(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return ei(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return ei(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return ei(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}}(o,t),this.path(n),this.ctx.fillStyle=ge(A),this.ctx.fill(),i=function(A,e){switch(e){case 0:return ei(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return ei(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return ei(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return ei(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}}(o,t),this.path(i),this.ctx.fill(),[2]}}))}))},t.prototype.renderNodeBackgroundAndBorders=function(A){return n(this,void 0,void 0,(function(){var e,t,n,o,i,a,s,l,u=this;return r(this,(function(r){switch(r.label){case 0:return this.applyEffects(A.getEffects(2)),e=A.container.styles,t=!fe(e.backgroundColor)||e.backgroundImage.length,n=[{style:e.borderTopStyle,color:e.borderTopColor,width:e.borderTopWidth},{style:e.borderRightStyle,color:e.borderRightColor,width:e.borderRightWidth},{style:e.borderBottomStyle,color:e.borderBottomColor,width:e.borderBottomWidth},{style:e.borderLeftStyle,color:e.borderLeftColor,width:e.borderLeftWidth}],o=hi(si(e.backgroundClip,0),A.curves),t||e.boxShadow.length?(this.ctx.save(),this.path(o),this.ctx.clip(),fe(e.backgroundColor)||(this.ctx.fillStyle=ge(e.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:r.sent(),this.ctx.restore(),e.boxShadow.slice(0).reverse().forEach((function(e){u.ctx.save();var t=No(A.curves),n=e.inset?0:1e4,r=function(A,e,t,n,r){return A.map((function(A,o){switch(o){case 0:return A.add(e,t);case 1:return A.add(e+n,t);case 2:return A.add(e+n,t+r);case 3:return A.add(e,t+r)}return A}))}(t,-n+(e.inset?1:-1)*e.spread.number,(e.inset?1:-1)*e.spread.number,e.spread.number*(e.inset?-2:2),e.spread.number*(e.inset?-2:2));e.inset?(u.path(t),u.ctx.clip(),u.mask(r)):(u.mask(t),u.ctx.clip(),u.path(r)),u.ctx.shadowOffsetX=e.offsetX.number+n,u.ctx.shadowOffsetY=e.offsetY.number,u.ctx.shadowColor=ge(e.color),u.ctx.shadowBlur=e.blur.number,u.ctx.fillStyle=e.inset?ge(e.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),r.label=2;case 2:i=0,a=0,s=n,r.label=3;case 3:return a<s.length?0!==(l=s[a]).style&&!fe(l.color)&&l.width>0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,i,A.curves,2)]:[3,11]:[3,13];case 4:return r.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,i,A.curves,3)];case 6:return r.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,i,A.curves)];case 8:return r.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,i,A.curves)];case 10:r.sent(),r.label=11;case 11:i++,r.label=12;case 12:return a++,[3,3];case 13:return[2]}}))}))},t.prototype.renderDashedDottedBorder=function(A,e,t,o,i){return n(this,void 0,void 0,(function(){var n,a,s,l,u,c,d,f,g,h,p,B,m,w,y,v;return r(this,(function(r){return this.ctx.save(),n=function(A,e){switch(e){case 0:return Ai(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Ai(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Ai(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Ai(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}}(o,t),a=$o(o,t),2===i&&(this.path(a),this.ctx.clip()),Ko(a[0])?(s=a[0].start.x,l=a[0].start.y):(s=a[0].x,l=a[0].y),Ko(a[1])?(u=a[1].end.x,c=a[1].end.y):(u=a[1].x,c=a[1].y),d=0===t||2===t?Math.abs(s-u):Math.abs(l-c),this.ctx.beginPath(),3===i?this.formatPath(n):this.formatPath(a.slice(0,2)),f=e<3?3*e:2*e,g=e<3?2*e:e,3===i&&(f=e,g=e),h=!0,d<=2*f?h=!1:d<=2*f+g?(f*=p=d/(2*f+g),g*=p):(B=Math.floor((d+g)/(f+g)),m=(d-B*f)/(B-1),g=(w=(d-(B+1)*f)/B)<=0||Math.abs(g-m)<Math.abs(g-w)?m:w),h&&(3===i?this.ctx.setLineDash([0,f+g]):this.ctx.setLineDash([f,g])),3===i?(this.ctx.lineCap="round",this.ctx.lineWidth=e):this.ctx.lineWidth=2*e+1.1,this.ctx.strokeStyle=ge(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===i&&(Ko(a[0])&&(y=a[3],v=a[0],this.ctx.beginPath(),this.formatPath([new Oo(y.end.x,y.end.y),new Oo(v.start.x,v.start.y)]),this.ctx.stroke()),Ko(a[1])&&(y=a[1],v=a[2],this.ctx.beginPath(),this.formatPath([new Oo(y.end.x,y.end.y),new Oo(v.start.x,v.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},t.prototype.render=function(A){return n(this,void 0,void 0,(function(){var e;return r(this,(function(t){switch(t.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=ge(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),e=function(A){var e=new Yo(A,null),t=new Jo(e),n=[];return Zo(e,t,t,n),qo(e.container,n),t}(A),[4,this.renderStack(e)];case 1:return t.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},t}(di),gi=function(A){return A instanceof vr||A instanceof yr||A instanceof wr&&A.type!==pr&&A.type!==hr},hi=function(A,e){switch(A){case 0:return No(e);case 2:return function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]}(e);default:return jo(e)}},pi=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},Bi=["-apple-system","system-ui"],mi=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===Bi.indexOf(A)})):A},wi=function(A){function t(e,t){var n=A.call(this,e,t)||this;return n.canvas=t.canvas?t.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),n.options=t,n.canvas.width=Math.floor(t.width*t.scale),n.canvas.height=Math.floor(t.height*t.scale),n.canvas.style.width=t.width+"px",n.canvas.style.height=t.height+"px",n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-t.x,-t.y),n.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+t.width+"x"+t.height+" at "+t.x+","+t.y+") with scale "+t.scale),n}return e(t,A),t.prototype.render=function(A){return n(this,void 0,void 0,(function(){var e,t;return r(this,(function(n){switch(n.label){case 0:return e=zn(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,yi(e)];case 1:return t=n.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=ge(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(t,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},t}(di),yi=function(A){return new Promise((function(e,t){var n=new Image;n.onload=function(){e(n)},n.onerror=t,n.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},vi=function(){function A(A){var e=A.id,t=A.enabled;this.id=e,this.enabled=t,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.debug?console.debug.apply(console,o([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&typeof window<"u"&&window.console&&"function"==typeof console.info&&console.info.apply(console,o([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.warn?console.warn.apply(console,o([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],e=0;e<arguments.length;e++)A[e]=arguments[e];this.enabled&&(typeof window<"u"&&window.console&&"function"==typeof console.error?console.error.apply(console,o([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),Qi=function(){function A(e,t){var n;this.windowBounds=t,this.instanceName="#"+A.instanceCount++,this.logger=new vi({id:this.instanceName,enabled:e.logging}),this.cache=null!==(n=e.cache)&&void 0!==n?n:new Eo(this,e)}return A.instanceCount=1,A}();typeof window<"u"&&Fo.setContext(window);var bi=function(A,e){return n(void 0,void 0,void 0,(function(){var n,o,s,l,u,c,d,f,g,h,p,B,m,w,y,v,Q,b,C,U,F,E,x,H,S,I,k,L,P,T,O,D,M,K,R,V,N,j;return r(this,(function(r){switch(r.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(n=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(o=n.defaultView))throw new Error("Document is not attached to a Window");return s={allowTaint:null!==(E=e.allowTaint)&&void 0!==E&&E,imageTimeout:null!==(x=e.imageTimeout)&&void 0!==x?x:15e3,proxy:e.proxy,useCORS:null!==(H=e.useCORS)&&void 0!==H&&H},l=t({logging:null===(S=e.logging)||void 0===S||S,cache:e.cache},s),u={windowWidth:null!==(I=e.windowWidth)&&void 0!==I?I:o.innerWidth,windowHeight:null!==(k=e.windowHeight)&&void 0!==k?k:o.innerHeight,scrollX:null!==(L=e.scrollX)&&void 0!==L?L:o.pageXOffset,scrollY:null!==(P=e.scrollY)&&void 0!==P?P:o.pageYOffset},c=new i(u.scrollX,u.scrollY,u.windowWidth,u.windowHeight),d=new Qi(l,c),f=null!==(T=e.foreignObjectRendering)&&void 0!==T&&T,g={allowTaint:null!==(O=e.allowTaint)&&void 0!==O&&O,onclone:e.onclone,ignoreElements:e.ignoreElements,inlineImages:f,copyStyles:f},d.logger.debug("Starting document clone with size "+c.width+"x"+c.height+" scrolled to "+-c.left+","+-c.top),h=new lo(d,A,g),(p=h.clonedReferenceElement)?[4,h.toIFrame(n,c)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return B=r.sent(),m=Dr(p)||function(A){return"HTML"===A.tagName}(p)?function(A){var e=A.body,t=A.documentElement;if(!e||!t)throw new Error("Unable to get document size");var n=Math.max(Math.max(e.scrollWidth,t.scrollWidth),Math.max(e.offsetWidth,t.offsetWidth),Math.max(e.clientWidth,t.clientWidth)),r=Math.max(Math.max(e.scrollHeight,t.scrollHeight),Math.max(e.offsetHeight,t.offsetHeight),Math.max(e.clientHeight,t.clientHeight));return new i(0,0,n,r)}(p.ownerDocument):a(d,p),w=m.width,y=m.height,v=m.left,Q=m.top,b=Ci(d,p,e.backgroundColor),C={canvas:e.canvas,backgroundColor:b,scale:null!==(M=null!==(D=e.scale)&&void 0!==D?D:o.devicePixelRatio)&&void 0!==M?M:1,x:(null!==(K=e.x)&&void 0!==K?K:0)+v,y:(null!==(R=e.y)&&void 0!==R?R:0)+Q,width:null!==(V=e.width)&&void 0!==V?V:Math.ceil(w),height:null!==(N=e.height)&&void 0!==N?N:Math.ceil(y)},f?(d.logger.debug("Document cloned, using foreign object rendering"),[4,new wi(d,C).render(p)]):[3,3];case 2:return U=r.sent(),[3,5];case 3:return d.logger.debug("Document cloned, element located at "+v+","+Q+" with size "+w+"x"+y+" using computed rendering"),d.logger.debug("Starting DOM parsing"),F=Fr(d,p),b===F.styles.backgroundColor&&(F.styles.backgroundColor=Qe.TRANSPARENT),d.logger.debug("Starting renderer for element at "+C.x+","+C.y+" with size "+C.width+"x"+C.height),[4,new fi(d,C).render(F)];case 4:U=r.sent(),r.label=5;case 5:return(!(null!==(j=e.removeContainer)&&void 0!==j)||j)&&(lo.destroy(B)||d.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),d.logger.debug("Finished rendering"),[2,U]}}))}))},Ci=function(A,e,t){var n=e.ownerDocument,r=n.documentElement?ve(A,getComputedStyle(n.documentElement).backgroundColor):Qe.TRANSPARENT,o=n.body?ve(A,getComputedStyle(n.body).backgroundColor):Qe.TRANSPARENT,i="string"==typeof t?ve(A,t):null===t?Qe.TRANSPARENT:4294967295;return e===n.documentElement?fe(r)?fe(o)?i:o:r:i};return function(A,e){return void 0===e&&(e={}),bi(A,e)}}();var zB,u4=zw.exports;function c4(){return zB||(zB=1,function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=a(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var s=o?Object.getOwnPropertyDescriptor(A,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),n=i(Ww),r=i(u4),o=Wd();function i(A){return A&&A.__esModule?A:{default:A}}function a(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(a=function(A){return A?t:e})(A)}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function l(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){u(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function u(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function c(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return d(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var f=un,g=function(A){var e=A.color||"#323136",n={fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4px"},r={fill:e,stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4px"};return t.default.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",style:{width:16}},t.default.createElement("path",{style:n,d:"M15.6,7h0L7.78,14.86c-.37.37-1.61.38-2,.75s-.5,1.53-.76,2a3.53,3.53,0,0,1-.52.52,1.6,1.6,0,0,1-2.27-.06l-.32-.32a1.61,1.61,0,0,1-.06-2.27A3.25,3.25,0,0,1,2.4,15c.47-.26,1.65-.35,2-.73s.34-1.64.71-2c1.68-1.73,5.61-5.65,7.91-7.93h0l1.14,1.38L15.6,7Z"}),t.default.createElement("polygon",{style:r,points:"15.7 8.87 11.13 4.29 12.69 2.73 17.25 7.31 15.7 8.87"}),t.default.createElement("path",{style:r,d:"M18.18,3.71,16.36,5.53a1.33,1.33,0,0,1-1.88,0h0a1.34,1.34,0,0,1,0-1.89l1.81-1.82a1.34,1.34,0,0,1,1.89,0h0A1.34,1.34,0,0,1,18.18,3.71Z"}))};A.default=function(A){var e=A.onSelect,i=A.buttonStyle,a=c((0,t.useState)(""),2),s=a[0],u=a[1],d=c((0,t.useState)(!1),2),h=d[0],p=d[1];return t.default.createElement("div",null,t.default.createElement("div",{style:l(l({},i),(0,o.controlBtnStyles)(h)),onClick:function(){if(window.EyeDropper){var A=new window.EyeDropper,t=new window.AbortController;A.open({signal:t.signal}).then((function(A){var t=f(A.sRGBHex).toRgb(),n=t.r,r=t.g,o=t.b;e("rgba(".concat(n,", ").concat(r,", ").concat(o,", 1)"))})).catch((function(A){console.log(A)}))}else!function(){var A=document.getElementById("root");p(!0),(0,r.default)(A).then((function(e){var t=document.createElement("canvas"),n=t.getContext("2d",{willReadFrequently:!0});t.width=2*A.offsetWidth,t.height=2*A.offsetHeight,n.drawImage(e,0,0),u(n)}))}()}},t.default.createElement(g,{color:h?"rgb(86, 140, 245)":""})),h&&t.default.createElement(n.default,{id:"eyeDropCover"},t.default.createElement("div",{style:{position:"fixed",left:0,top:0,zIndex:1e8,width:window.innerWidth,height:window.innerHeight,cursor:"copy"},onClick:function(A){return function(A){A.stopPropagation();var t=2*A.pageX,n=2*A.pageY,r=c(s.getImageData(t,n,1,1).data,3),o=r[0],i=r[1],a=r[2];e("rgba(".concat(o,", ").concat(i,", ").concat(a,", 1)")),p(!1)}(A)}})))}}(gc)),gc}var Xw={};!function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=a(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var s=o?Object.getOwnPropertyDescriptor(A,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),n=Bt,r=wa(),o=Gd,i=bA;function a(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(a=function(A){return A?t:e})(A)}function s(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function l(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?s(Object(t),!0).forEach((function(e){u(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function u(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function c(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return d(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return d(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var f=un;A.default=function(A){var e=A.openAdvanced,r=(0,n.usePicker)(),i=r.tinyColor,a=r.hue,s=r.l,l=r.handleChange,u=r.s,c=r.opacity,d=r.squareSize,h=i.toHsv(),p=h.v,B=h.s,m=(0,t.useRef)(null),w=(0,t.useRef)(null),y=(0,t.useRef)(null);return(0,o.usePaintSat)(m,a,100*s,d),(0,o.usePaintLight)(w,a,100*u,d),(0,o.usePaintBright)(y,a,100*u,d),t.default.createElement("div",{style:{height:e?98:0,width:"100%",transition:"all 120ms linear"}},t.default.createElement("div",{style:{paddingTop:11,display:e?"":"none"}},t.default.createElement(g,{value:u,reffy:m,callback:function(A){var e=f({h:a,s:A/100,l:s}).toRgb(),t=e.r,n=e.g,r=e.b;l("rgba(".concat(t,",").concat(n,",").concat(r,",").concat(c,")"))},openAdvanced:e,label:"Saturation"}),t.default.createElement(g,{value:s,reffy:w,label:"Lightness",callback:function(A){var e=f({h:a,s:u,l:A/100}).toRgb(),t=e.r,n=e.g,r=e.b;l("rgba(".concat(t,",").concat(n,",").concat(r,",").concat(c,")"))},openAdvanced:e}),t.default.createElement(g,{value:p,reffy:y,label:"Brightness",callback:function(A){var e=f({h:a,s:100*B,v:A}).toRgb(),t=e.r,n=e.g,r=e.b;l("rgba(".concat(t,",").concat(n,",").concat(r,",").concat(c,")"))},openAdvanced:e})))};var g=function(A){var e=A.value,o=A.callback,a=A.reffy,s=A.openAdvanced,u=A.label,d=(0,n.usePicker)().squareSize,f=c((0,t.useState)(!1),2),g=f[0],h=f[1],p=c((0,t.useState)(2),2),B=p[0],m=p[1],w=e*(d-18);(0,t.useEffect)((function(){var A;m((null==a||null===(A=a.current)||void 0===A?void 0:A.offsetTop)-2)}),[s,a]);var y=function(A){g&&o((0,r.getHandleValue)(A))},v=function(A){g||o((0,r.getHandleValue)(A))};return(0,t.useEffect)((function(){var A=function(){h(!1)};return window.addEventListener("mouseup",A),function(){window.removeEventListener("mouseup",A)}}),[]),t.default.createElement("div",{style:l(l({},i.borderBox),{},{width:"100%",padding:"3px 0px 3px 0px"})},t.default.createElement("div",{className:"c-resize ps-rl",onMouseMove:function(A){return y(A)},style:l(l({},i.cResize),i.psRl)},t.default.createElement("div",{style:l(l({},i.handle),{},{left:w,top:B}),onMouseDown:function(){h(!0)}}),t.default.createElement("div",{style:{textAlign:"center",color:"#fff",fontSize:12,fontWeight:500,lineHeight:1,position:"absolute",left:"50%",transform:"translate(-50%, 0%)",top:B+2,zIndex:10,textShadow:"1px 1px 1px rgba(0,0,0,.6)"},onMouseMove:function(A){return y(A)},onClick:function(A){return v(A)}},u),t.default.createElement("canvas",{ref:a,width:"".concat(d,"px"),height:"14px",style:{position:"relative",borderRadius:14},onClick:function(A){return v(A)}})))}}(Xw);var Jw={};!function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e,t=(e=AA)&&e.__esModule?e:{default:e},n=Bt,r=bA;function o(A){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}function i(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function a(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?i(Object(t),!0).forEach((function(e){s(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):i(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function s(A,e,t){return e=function(A){var e=function(A,e){if("object"!==o(A)||null===A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var n=t.call(A,"string");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===o(e)?e:String(e)}(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}A.default=function(A){var e=A.openComparibles,o=(0,n.usePicker)(),i=o.tinyColor,s=o.handleChange,l=i.analogous(),u=i.monochromatic(),c=i.triad(),d=i.tetrad(),f=function(A){var e=A.toRgb(),t=e.r,n=e.g,r=e.b,o=e.a;s("rgba(".concat(t,",").concat(n,",").concat(r,",").concat(o,")"))};return t.default.createElement("div",{style:{height:e?216:0,width:"100%",transition:"all 120ms linear"}},t.default.createElement("div",{style:a({paddingTop:11,display:e?"":"none"},r.psRl)},t.default.createElement("div",{style:{textAlign:"center",color:"#323136",fontSize:13,fontWeight:600,position:"absolute",top:6.5,left:2}},"Color Guide"),t.default.createElement("div",{style:{textAlign:"center",color:"#323136",fontSize:12,fontWeight:500,marginTop:3}},"Analogous"),t.default.createElement("div",{style:a({borderRadius:5,overflow:"hidden"},r.df)},null==l?void 0:l.map((function(A,e){return t.default.createElement("div",{key:e,style:{width:"20%",height:30,background:A.toHexString()},onClick:function(){return f(A)}})}))),t.default.createElement("div",{style:{textAlign:"center",color:"#323136",fontSize:12,fontWeight:500,marginTop:3}},"Monochromatic"),t.default.createElement("div",{style:a(a({borderRadius:5,overflow:"hidden"},r.df),r.jfe)},null==u?void 0:u.map((function(A,e){return t.default.createElement("div",{key:e,style:{width:"20%",height:30,background:A.toHexString()},onClick:function(){return f(A)}})}))),t.default.createElement("div",{style:{textAlign:"center",color:"#323136",fontSize:12,fontWeight:500,marginTop:3}},"Triad"),t.default.createElement("div",{style:a(a({borderRadius:5,overflow:"hidden"},r.df),r.jfe)},null==c?void 0:c.map((function(A,e){return t.default.createElement("div",{key:e,style:{width:"calc(100% / 3)",height:28,background:A.toHexString()},onClick:function(){return f(A)}})}))),t.default.createElement("div",{style:{textAlign:"center",color:"#323136",fontSize:12,fontWeight:500,marginTop:3}},"Tetrad"),t.default.createElement("div",{style:a(a({borderRadius:5,overflow:"hidden"},r.df),r.jfe)},null==d?void 0:d.map((function(A,e){return t.default.createElement("div",{key:e,style:{width:"25%",height:28,background:A.toHexString()},onClick:function(){return f(A)}})})))))}}(Jw);var XB,JB,pc={};function f4(){return XB||(XB=1,function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e,t=(e=AA)&&e.__esModule?e:{default:e},n=Bt,r=Gi(),o=Wd(),i=function(A,e){if(A&&A.__esModule)return A;if(null===A||"object"!==l(A)&&"function"!=typeof A)return{default:A};var t=s(e);if(t&&t.has(A))return t.get(A);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in A)if("default"!==o&&Object.prototype.hasOwnProperty.call(A,o)){var i=r?Object.getOwnPropertyDescriptor(A,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=A[o]}return n.default=A,t&&t.set(A,n),n}(jd),a=bA;function s(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(s=function(A){return A?t:e})(A)}function l(A){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}function u(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function c(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){d(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function d(A,e,t){return e=function(A){var e=function(A,e){if("object"!==l(A)||null===A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var n=t.call(A,"string");if("object"!==l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===l(e)?e:String(e)}(e),e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}A.default=function(A){var e=A.hideGradientType,r=A.hideGradientAngle,o=A.hideGradientStop,i=(0,n.usePicker)().gradientType;return t.default.createElement("div",{style:c(c(c(c({},a.df),a.jsb),{},{marginTop:12,marginBottom:-4,background:"#e9e9f5",borderRadius:6},a.borderBox),{},{paddingLeft:e?4:0})},!e&&t.default.createElement(f,null),t.default.createElement("div",{style:{width:53}},!r&&"linear-gradient"===i&&t.default.createElement(h,null)),!o&&t.default.createElement(g,null),t.default.createElement(p,null))};var f=function(){var A=(0,n.usePicker)(),e=A.gradientType,r=A.internalOnChange,s=A.value,l="linear-gradient"===e,u="radial-gradient"===e;return t.default.createElement("div",{style:c(c(c(c({},a.df),a.ac),a.controlBtnsWrap),a.borderBox)},t.default.createElement("div",{onClick:function(){var A=s.split(/,(.+)/)[1];r("linear-gradient(90deg, ".concat(A))},style:c(c({},a.controlBtn),(0,o.controlBtnStyles)(l))},t.default.createElement(i.LinearIcon,{color:l?"#568CF5":""})),t.default.createElement("div",{onClick:function(){var A=s.split(/,(.+)/)[1];r("radial-gradient(circle, ".concat(A))},style:c(c({},a.controlBtn),(0,o.controlBtnStyles)(u))},t.default.createElement(i.RadialIcon,{color:u?"#568CF5":""})))},g=function(){var A=(0,n.usePicker)(),e=A.currentLeft,o=A.handleGradient,s=A.currentColor;return t.default.createElement("div",{style:c(c(c(c({},a.df),a.ac),a.controlBtnsWrap),{},{paddingLeft:8})},t.default.createElement(i.StopIcon,null),t.default.createElement("input",{id:"rbgcp-input",style:a.degreeInput,value:e,onChange:function(A){return function(A){o(s,(0,r.formatInputValues)(A,0,100))}(A.target.value||0)}}))},h=function(){var A=(0,n.usePicker)(),e=A.degrees,o=A.internalOnChange,s=A.value;return t.default.createElement("div",{style:c(c(c(c({},a.psRl),a.controlBtnsWrap),a.df),a.ac)},t.default.createElement(i.DegreesIcon,null),t.default.createElement("input",{id:"rbgcp-input",style:a.degreeInput,value:e,onChange:function(A){return function(A){var e=(0,r.formatInputValues)(A.target.value,0,360),t=s.split(/,(.+)/)[1];o("linear-gradient(".concat(e||0,"deg, ").concat(t))}(A)}}),t.default.createElement("div",{style:{position:"absolute",right:e>99?0:e<10?7:3,top:1,fontWeight:400,fontSize:13}},"°"))},p=function(){var A=(0,n.usePicker)().deletePoint;return t.default.createElement("div",{onClick:A,style:c(c(c(c(c(c({},a.df),a.jc),a.ac),a.controlBtnsWrap),{},{width:30},(0,o.controlBtnStyles)(!1)),{},{marginRight:1})},t.default.createElement(i.default,null))}}(pc)),pc}function Wd(){return JB||(JB=1,function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=A.controlBtnStyles=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=d(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var a=o?Object.getOwnPropertyDescriptor(A,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),n=jd,r=Bt,o=c(c4()),i=Vt,a=c(Xw),s=c(Jw),l=c(f4()),u=bA;function c(A){return A&&A.__esModule?A:{default:A}}function d(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(d=function(A){return A?t:e})(A)}function f(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function g(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?f(Object(t),!0).forEach((function(e){h(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function h(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function p(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return B(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return B(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var m=i.config.defaultColor,w=i.config.defaultGradient;A.default=function(A){var e=A.hideEyeDrop,i=A.hideAdvancedSliders,c=A.hideColorGuide,d=A.hideInputType,f=A.hideColorTypeBtns,h=A.hideGradientControls,B=A.hideGradientType,Q=A.hideGradientAngle,b=A.hideGradientStop,C=(0,r.usePicker)(),U=C.isGradient,F=C.internalOnChange,E=C.previousColors,x=C.previousGraidents,H=C.handleChange,S=p((0,t.useState)(!1),2),I=S[0],k=S[1],L=p((0,t.useState)(!1),2),P=L[0],T=L[1],O=p((0,t.useState)(!1),2),D=O[0],M=O[1],K=e&&i&&c&&d,R=(null==E?void 0:E[0])||m,V=(null==x?void 0:x[0])||w,N=e&&i&&c&&d;return N&&f?null:t.default.createElement("div",{style:{paddingTop:12,paddingBottom:4}},t.default.createElement("div",{style:g(g(g({width:"100%"},u.df),u.jsb),u.ac)},t.default.createElement("div",{style:g(g(g(g({height:28,background:f?"":"#e9e9f5",borderRadius:6,padding:2},u.df),u.jc),u.ac),u.borderBox)},!f&&t.default.createElement(t.default.Fragment,null,t.default.createElement("div",{style:g(g(g(g({},u.controlBtn),v(!U)),u.df),u.ac),onClick:function(){F(R)}},"Solid"),t.default.createElement("div",{style:g(g(g(g({},u.controlBtn),v(U)),u.df),u.ac),onClick:function(){F(V)}},"Gradient"))),!N&&t.default.createElement("div",{style:g(g(g(g({},u.ac),u.jfe),{},{height:28,background:"#e9e9f5",borderRadius:6,padding:2,display:K?"none":""},u.df),u.borderBox)},!e&&t.default.createElement(o.default,{onSelect:H,buttonStyle:{width:30,height:24,borderRadius:4,display:"flex",alignItems:"center",justifyContent:"center"}}),t.default.createElement("div",{style:g(g(g({width:30},v(I)),{},{height:24,borderRadius:4,display:i?"none":"flex"},u.jc),u.ac),onClick:function(){return k(!I)}},t.default.createElement(n.SlidersIcon,{color:I?"#568CF5":""})),t.default.createElement("div",{style:g(g(g({width:30},v(P)),{},{height:24,borderRadius:4,display:c?"none":"flex"},u.jc),u.ac),onClick:function(){return T(!P)}},t.default.createElement(n.PaletteIcon,{color:P?"#568CF5":""})),t.default.createElement("div",{style:g(g(g(g({width:30},v(D)),{},{height:24,borderRadius:4,display:d?"none":"flex"},u.jc),u.ac),u.psRl),onClick:function(){return M(!D)}},t.default.createElement(n.InputsIcon,{color:D?"#568CF5":""}),t.default.createElement(y,{openInputType:D,setOpenInputType:M})))),!i&&t.default.createElement(a.default,{openAdvanced:I}),!c&&t.default.createElement(s.default,{openComparibles:P}),U&&!h&&t.default.createElement(l.default,{hideGradientType:B,hideGradientAngle:Q,hideGradientStop:b}))};var y=function(A){var e=A.openInputType,n=A.setOpenInputType,o=(0,r.usePicker)(),i=o.inputType,a=o.setInputType,s=e?"visibility 0ms linear":"visibility 100ms linear 150ms",l=e?"z-index 0ms linear":"z-index 100ms linear 150ms",c=e?"opacity 120ms linear":"opacity 150ms linear 50ms",d=function(A,t){e&&(A.stopPropagation(),a(t),n(!1))};return t.default.createElement("div",{style:g({visibility:e?"visible":"hidden",zIndex:e?"":-100,opacity:e?1:0,transition:"".concat(c,", ").concat(s,", ").concat(l)},u.inputDropdown)},t.default.createElement("div",{style:g(g(g(g(g({},u.df),u.ac),u.psRl),u.controlBtn),v("rgb"===i)),onClick:function(A){return d(A,"rgb")}},"RGB"),t.default.createElement("div",{style:g(g(g(g({},u.df),u.ac),u.controlBtn),v("hsl"===i)),onClick:function(A){return d(A,"hsl")}},"HSL"),t.default.createElement("div",{style:g(g(g(g({},u.df),u.ac),u.controlBtn),v("hsv"===i)),onClick:function(A){return d(A,"hsv")}},"HSV"),t.default.createElement("div",{style:g(g(g(g({},u.df),u.ac),u.controlBtn),v("cmyk"===i)),onClick:function(A){return d(A,"cmyk")}},"CMYK"))},v=function(A){return{background:A?"white":"rgba(255,255,255,0)",color:A?"#568CF5":"rgb(86,86,86)",boxShadow:A?"1px 1px 3px rgba(0,0,0,.2)":"1px 1px 3px rgba(0,0,0,0)"}};A.controlBtnStyles=v}(hc)),hc}var Yw={};!function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0}),A.default=A.Handle=void 0;var t=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=i(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in A)if("default"!==a&&Object.prototype.hasOwnProperty.call(A,a)){var s=o?Object.getOwnPropertyDescriptor(A,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=A[a]}return r.default=A,n&&n.set(A,r),r}(AA),n=wa(),r=Bt,o=bA;function i(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(i=function(A){return A?t:e})(A)}function a(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function s(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?a(Object(t),!0).forEach((function(e){l(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function l(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function u(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}A.default=function(){var A=(0,r.usePicker)(),e=A.currentColor,i=A.addPoint,a=A.colors,l=A.value,d=A.handleGradient,f=A.squareSize,g=A.deletePoint,h=A.isGradient,p=A.selectedColor,B=A.inFocus,m=A.setInFocus,w=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return u(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return u(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,t.useState)(!1),2),y=w[0],v=w[1];(0,t.useEffect)((function(){var A,e;(null===(A=window)||void 0===A||null===(e=A.document)||void 0===e?void 0:e.getElementById("gradient-handle-".concat(p))).focus()}),[p]);var Q,b=function(A){h&&8===A.keyCode&&"gpoint"===B&&g()},C=function(){v(!1)};return(0,t.useEffect)((function(){var A;return window.addEventListener("mouseup",C),null===(A=window)||void 0===A||A.addEventListener("keydown",b),function(){var A;window.removeEventListener("mouseup",C),null===(A=window)||void 0===A||A.removeEventListener("keydown",b)}})),t.default.createElement("div",{style:s(s(s({width:"100%"},o.psRl),o.borderBox),{},{marginTop:17,marginBottom:4}),id:"gradient-bar"},t.default.createElement("div",{style:{width:f,height:14,backgroundImage:(Q=l,Q.replace(/(radial|linear)-gradient\([^,]+,/,"linear-gradient(90deg,")),borderRadius:10},onMouseDown:function(A){return function(A){y||(i(A),v(!0))}(A)},onMouseMove:function(A){return function(A){y&&d(e,(0,n.getHandleValue)(A))}(A)}}),null==a?void 0:a.map((function(A,e){return t.default.createElement(c,{i:e,left:A.left,key:"".concat(e,"-").concat(A),setInFocus:m,setDragging:v})})))};var c=function(A){var e=A.left,n=A.i,i=A.setDragging,a=A.setInFocus,l=(0,r.usePicker)(),u=l.setSelectedColor,c=l.selectedColor,f=l.squareSize,g=c===n,h=(f-18)/100;return t.default.createElement("div",{tabIndex:0,onBlur:function(){a(null)},onFocus:function(){a("gpoint"),u(n)},id:"gradient-handle-".concat(n),onMouseDown:function(A){return function(A){A.stopPropagation(),u(n),i(!0)}(A)},style:s({left:e*h},o.gradientHandleWrap)},t.default.createElement("div",{style:s(s(s(s(s({},d(g)),o.gradientHandle),o.df),o.jc),o.ac)},g&&t.default.createElement("div",{style:{width:5,height:5,borderRadius:"50%",background:"white"}})))};A.Handle=c;var d=function(A){return{boxShadow:A?"0px 0px 5px 1px rgba(86, 140, 245,.95)":"",border:A?"2px solid white":"2px solid rgba(255,255,255,.75)"}}}(Yw),function(A){Object.defineProperty(A,"__esModule",{value:!0}),A.default=void 0;var e=u(AA),t=u(Mw),n=u(_w),r=u(Vw),o=u(Gw),i=u(jw),a=u(Wd()),s=u(Yw),l=Bt;function u(A){return A&&A.__esModule?A:{default:A}}A.default=function(A){var u=A.hideControls,c=A.hideInputs,d=A.hidePresets,f=A.hideOpacity,g=A.hideHue,h=A.presets,p=A.hideEyeDrop,B=A.hideAdvancedSliders,m=A.hideColorGuide,w=A.hideInputType,y=A.hideColorTypeBtns,v=A.hideGradientType,Q=A.hideGradientAngle,b=A.hideGradientStop,C=A.hideGradientControls,U=A.locales,F=(0,l.usePicker)().isGradient;return e.default.createElement("div",{style:{userSelect:"none"},id:"rbgcp-wrapper"},e.default.createElement(r.default,null),!u&&e.default.createElement(a.default,{hideEyeDrop:p,hideAdvancedSliders:B,hideColorGuide:m,hideInputType:w,hideColorTypeBtns:y,hideGradientControls:C,hideGradientType:v,hideGradientAngle:Q,hideGradientStop:b,locales:U}),F&&e.default.createElement(s.default,null),!g&&e.default.createElement(t.default,null),!f&&e.default.createElement(o.default,null),!c&&e.default.createElement(n.default,null),!d&&e.default.createElement(i.default,{presets:h}))}}(Kw);var Nl={};Object.defineProperty(Nl,"__esModule",{value:!0}),Nl.useColorPicker=void 0;var YB=AA,Es=wa(),lt=Gi(),d4=ji,$w=Vt;function ua(A){return(ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}function Bc(A){return p4(A)||g4(A)||Zw(A)||h4()}function h4(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g4(A){if(typeof Symbol<"u"&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}function p4(A){if(Array.isArray(A))return Uf(A)}function B4(A,e){return w4(A)||v4(A,e)||Zw(A,e)||m4()}function m4(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zw(A,e){if(A){if("string"==typeof A)return Uf(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Uf(A,e)}}function Uf(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}function v4(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}function w4(A){if(Array.isArray(A))return A}function $B(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function Jt(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?$B(Object(t),!0).forEach((function(e){y4(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):$B(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function y4(A,e,t){return(e=C4(e))in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function C4(A){var e=Q4(A,"string");return"symbol"===ua(e)?e:String(e)}function Q4(A,e){if("object"!==ua(A)||null===A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var n=t.call(A,e||"default");if("object"!==ua(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(A)}var F4=$w.config.defaultColor,U4=$w.config.defaultGradient,Uo=un,E4=function(A,e){var t=null==A?void 0:A.includes("gradient"),n=(0,Es.getGradientType)(A),r=(0,Es.getDegrees)(A),o="linear-gradient"===n?"".concat(r,"deg"):"circle",i=(0,lt.getColors)(A),a=null==i?void 0:i.map((function(A,e){return Jt(Jt({},A),{},{index:e})})),s=(null==a?void 0:a.filter((function(A){return(0,Es.isUpperCase)(A.value)}))[0])||a[0],l=null==s?void 0:s.value,u=null==s?void 0:s.index,c=null==s?void 0:s.left,d=B4((0,YB.useState)([]),2),f=d[0],g=d[1],h=Uo(l),p=h.toRgb(),B=p.r,m=p.g,w=p.b,y=p.a,v=h.toHsl(),Q=v.h,b=v.s,C=v.l;(0,YB.useEffect)((function(){var A;null!==(A=Uo(l))&&void 0!==A&&A.isValid()&&f[0]!==l&&g([l].concat(Bc(null==f?void 0:f.slice(0,19))))}),[l,f]);var U=function(A){var t=A.sort((function(A,e){return A.left-e.left})),r=null==t?void 0:t.map((function(A){return"".concat(null==A?void 0:A.value," ").concat(A.left,"%")}));e("".concat(n,"(").concat(o,", ").concat(r.join(", "),")"))},F=function(A){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c,t=null==i?void 0:i.filter((function(A){return!(0,Es.isUpperCase)(A.value)})),n=[{value:A.toUpperCase(),left:e}].concat(Bc(t));U(n)},E=function(A){t?F(A):e(A)};return{setLinear:function(){var t=A.split(/,(.+)/)[1];e("linear-gradient(90deg, ".concat(t))},setRadial:function(){var t=A.split(/,(.+)/)[1];e("radial-gradient(circle, ".concat(t))},setDegrees:function(t){var r=A.split(/,(.+)/)[1];e("linear-gradient(".concat((0,lt.formatInputValues)(t,0,360),"deg, ").concat(r)),"linear-gradient"!==n&&console.log("Warning: you are updating degrees when the gradient type is not linear. This will change the gradients type which may be undesired")},setSolid:function(A){e(A||F4)},setGradient:function(A){e(A||U4)},setR:function(A){var e=(0,lt.formatInputValues)(A,0,255);E("rgba(".concat(e,", ").concat(m,", ").concat(w,", ").concat(y,")"))},setG:function(A){var e=(0,lt.formatInputValues)(A,0,255);E("rgba(".concat(B,", ").concat(e,", ").concat(w,", ").concat(y,")"))},setB:function(A){var e=(0,lt.formatInputValues)(A,0,255);E("rgba(".concat(B,", ").concat(m,", ").concat(e,", ").concat(y,")"))},setA:function(A){var e=(0,lt.formatInputValues)(A,0,100);E("rgba(".concat(B,", ").concat(m,", ").concat(w,", ").concat(e/100,")"))},setHue:function(A){var e=(0,lt.formatInputValues)(A,0,360),t=Uo({h:e,s:b,l:C}).toRgb(),n=t.r,r=t.g,o=t.b;E("rgba(".concat(n,", ").concat(r,", ").concat(o,", ").concat(y,")"))},setSaturation:function(A){var e=(0,lt.formatInputValues)(A,0,100),t=Uo({h:Q,s:e/100,l:C}).toRgb(),n=t.r,r=t.g,o=t.b;E("rgba(".concat(n,", ").concat(r,", ").concat(o,", ").concat(y,")"))},setLightness:function(A){var e=(0,lt.formatInputValues)(A,0,100),t=Uo({h:Q,s:b,l:e/100});if(null!=t&&t.isValid()){var n=t.toRgb(),r=n.r,o=n.g,i=n.b;E("rgba(".concat(r,", ").concat(o,", ").concat(i,", ").concat(y,")"))}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")},valueToHSL:function(){return h.toHslString()},valueToHSV:function(){return h.toHsvString()},valueToHex:function(){return h.toHexString()},valueToCmyk:function(){var A=(0,d4.rgb2cmyk)(B,m,w),e=A.c,t=A.m,n=A.y,r=A.k;return"cmyk(".concat(e,", ").concat(t,", ").concat(n,", ").concat(r,")")},setSelectedPoint:function(A){if(t){var e=null==i?void 0:i.map((function(e,t){return Jt(Jt({},e),{},{value:t===A?(0,lt.high)(e):(0,lt.low)(e)})}));U(e)}else console.log("This function is only relevant when the picker is in gradient mode")},addPoint:function(A){var e=[].concat(Bc(i.map((function(A){return Jt(Jt({},A),{},{value:(0,lt.low)(A)})}))),[{value:l,left:A}]);U(e),A||console.log("You did not pass a stop value (left amount) for the new color point so it defaulted to 50")},deletePoint:function(A){if((null==i?void 0:i.length)>2){var e=A||u,t=null==i?void 0:i.filter((function(A,t){return t!==e}));U(t),A||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")},selectedPoint:u,isGradient:t,gradientType:n,degrees:r,setPointLeft:function(A){F(l,(0,lt.formatInputValues)(A,0,100))},currentLeft:c,rgbaArr:[B,m,w,y],hslArr:[Q,b,C],previousColors:f,getGradientObject:function(){if(A)return t?{isGradient:!0,gradientType:n,degrees:o,colors:null==i?void 0:i.map((function(A){var e;return Jt(Jt({},A),{},{value:null===(e=A.value)||void 0===e?void 0:e.toLowerCase()})}))}:{isGradient:!1,gradientType:null,degrees:null,colors:null==i?void 0:i.map((function(A){var e;return Jt(Jt({},A),{},{value:null===(e=A.value)||void 0===e?void 0:e.toLowerCase()})}))};console.log("RBGCP ERROR - YOU MUST PASS A VALUE AND CALLBACK TO THE useColorPicker HOOK")}}};Nl.useColorPicker=E4,function(A){function e(A){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A})(A)}Object.defineProperty(A,"__esModule",{value:!0});var t={};A.default=void 0;var n=function(A,t){if(A&&A.__esModule)return A;if(null===A||"object"!==e(A)&&"function"!=typeof A)return{default:A};var n=l(t);if(n&&n.has(A))return n.get(A);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in A)if("default"!==i&&Object.prototype.hasOwnProperty.call(A,i)){var a=o?Object.getOwnPropertyDescriptor(A,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=A[i]}return r.default=A,n&&n.set(A,r),r}(AA),r=s(Bt),o=s(Kw),i=Vt,a=Nl;function s(A){return A&&A.__esModule?A:{default:A}}function l(A){if("function"!=typeof WeakMap)return null;var e=new WeakMap,t=new WeakMap;return(l=function(A){return A?t:e})(A)}function u(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function c(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?u(Object(t),!0).forEach((function(e){d(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function d(A,t,n){return t=function(A){var t=function(A,t){if("object"!==e(A)||null===A)return A;var n=A[Symbol.toPrimitive];if(void 0!==n){var r=n.call(A,"string");if("object"!==e(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(A)}(A);return"symbol"===e(t)?t:String(t)}(t),t in A?Object.defineProperty(A,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):A[t]=n,A}function f(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}Object.keys(a).forEach((function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(t,e)||e in A&&A[e]===a[e]||Object.defineProperty(A,e,{enumerable:!0,get:function(){return a[e]}})}));A.default=function(A){var e=A.value,t=void 0===e?"rgba(175, 51, 242, 1)":e,a=A.onChange,s=void 0===a?function(){}:a,l=A.hideControls,u=void 0!==l&&l,d=A.hideInputs,g=void 0!==d&&d,h=A.hideOpacity,p=void 0!==h&&h,B=A.hidePresets,m=void 0!==B&&B,w=A.hideHue,y=void 0!==w&&w,v=A.presets,Q=void 0===v?[]:v,b=A.hideEyeDrop,C=void 0!==b&&b,U=A.hideAdvancedSliders,F=void 0!==U&&U,E=A.hideColorGuide,x=void 0!==E&&E,H=A.hideInputType,S=void 0!==H&&H,I=A.hideColorTypeBtns,k=void 0!==I&&I,L=A.hideGradientType,P=void 0!==L&&L,T=A.hideGradientAngle,O=void 0!==T&&T,D=A.hideGradientStop,M=void 0!==D&&D,K=A.hideGradientControls,R=void 0!==K&&K,V=A.locales,N=void 0===V?i.defaultLocales:V,j=A.width,G=void 0===j?294:j,_=A.height,W=void 0===_?294:_,X=A.style,z=void 0===X?{}:X,J=A.className,Y=(0,n.useRef)(null),Z=function(A,e){return function(A){if(Array.isArray(A))return A}(A)||function(A,e){var t=null==A?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(null!=t){var n,r,o,i,a=[],s=!0,l=!1;try{if(o=(t=t.call(A)).next,0===e){if(Object(t)!==t)return;s=!1}else for(;!(s=(n=o.call(t)).done)&&(a.push(n.value),a.length!==e);s=!0);}catch(A){l=!0,r=A}finally{try{if(!s&&null!=t.return&&(i=t.return(),Object(i)!==i))return}finally{if(l)throw r}}return a}}(A,e)||function(A,e){if(A){if("string"==typeof A)return f(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);if("Object"===t&&A.constructor&&(t=A.constructor.name),"Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return f(A,e)}}(A,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)({}),2),q=Z[0],$=Z[1];return(0,n.useEffect)((function(){var A;$(null==Y||null===(A=Y.current)||void 0===A?void 0:A.getBoundingClientRect())}),[]),n.default.createElement("div",{ref:Y,style:c(c({},z),{},{width:G}),className:J},n.default.createElement(r.default,{bounds:q,value:t,onChange:s,squareSize:G,squareHeight:W,hideOpacity:p},n.default.createElement(o.default,{hideControls:u,hideInputs:g,hidePresets:m,hideOpacity:p,hideHue:y,presets:Q,hideEyeDrop:C,hideAdvancedSliders:F,hideColorGuide:x,hideInputType:S,hideColorTypeBtns:k,hideGradientType:P,hideGradientAngle:O,hideGradientStop:M,hideGradientControls:R,locales:N})))}}(kw);const S4=A0(kw);function x4(){const{settingsState:A,setSettingsState:e,showPicker:t,setShowPicker:n}=Nn(),r=["linear-gradient(30deg, rgba(229,209,218,1) 0%, RGBA(235,169,202,1) 46%, rgba(214,155,162,1) 100%)","linear-gradient(40deg, rgba(201,61,0,1) 0%, RGBA(170, 5, 58, 1) 100%)","linear-gradient(40deg, rgba(0, 141, 201, 0.76) 0%, rgba(8, 5, 170, 0.66) 100%)","linear-gradient(40deg, rgba(0, 201, 20, 0.76) 0%, rgba(4, 160, 105, 0.66) 100%)","linear-gradient(40deg, rgba(199, 20, 55, 0.76) 0%, rgba(95, 11, 160, 0.66) 100%)","linear-gradient(40deg, rgba(24, 20, 199, 0.76) 0%, rgba(23, 173, 65, 0.66) 100%)","radial-gradient(circle, rgba(20, 199, 178, 0.76) 32%, rgba(3, 120, 57, 0.66) 100%)","radial-gradient(circle, rgba(13, 15, 145, 0.76) 12%, rgba(103, 3, 120, 0.66) 100%)","linear-gradient(20deg, rgb(230, 21, 21) 0%, rgb(230, 109, 21) 12%, rgb(230, 34, 21) 26%, rgb(230, 21, 21) 39%, rgb(230, 84, 21) 48%, rgb(230, 34, 21) 58%, rgb(230, 96, 21) 69%, rgb(230, 34, 21) 80%, rgb(230, 71, 21) 89%, rgb(230, 21, 21) 100%)","rgba(114, 1, 170, 0.89)","rgba(93, 135, 63, 0.89)","rgba(4, 4, 138, 0.77)","rgba(21, 20, 20, 0.89)","linear-gradient(340deg, rgb(205, 74, 82) 18%, rgba(132, 8, 8, 0.89) 46%, rgb(204, 78, 85) 72%)","radial-gradient(circle, rgb(74, 205, 158) 0%, rgba(8, 72, 132, 0.89) 99%)","rgba(17, 94, 89, 1)","rgba(30, 64, 175, 0.89)","rgba(134, 25, 143, 1)","rgba(14, 165, 233, 0.9)"],[o,i]=AA.useState((()=>{const A=localStorage.getItem("colorPickerPresets");return A?JSON.parse(A):r})),a=A=>{"popupClosed"===A.data&&n(!1)};return AA.useEffect((()=>(window.addEventListener("message",a),()=>{window.removeEventListener("message",a)})),[]),AA.useEffect((()=>{if(!t){const e=o.indexOf(A.customThemeColor);let t;t=e>-1?[A.customThemeColor,...o.slice(0,e),...o.slice(e+1)]:[A.customThemeColor,...o].slice(0,18),i(t),localStorage.setItem("colorPickerPresets",JSON.stringify(t))}}),[t]),rA.jsx(Rt.div,{initial:"hidden",animate:t?"visible":"exit",exit:"exit",variants:{hidden:{opacity:0},visible:{opacity:1},exit:{opacity:0}},transition:{duration:.2},onClick:()=>n(!1),className:"absolute top-0 left-0 z-50 flex justify-center w-full h-full pt-4 bg-black/20 "+(t?"":"pointer-events-none"),children:rA.jsx("div",{children:rA.jsx(Rt.div,{initial:"hidden",animate:t?"visible":"exit",exit:"exit",variants:{hidden:{scale:.3},visible:{scale:1},exit:{scale:.4}},transition:{type:"spring",stiffness:500,damping:40},onClick:A=>A.stopPropagation(),className:"h-auto p-4 bg-white border rounded-lg shadow-lg dark:bg-zinc-800 border-zinc-100 dark:border-zinc-700",children:rA.jsx(S4,{presets:o,hideInputs:!0,value:A.customThemeColor,onChange:t=>{e({...A,customThemeColor:t})}})})})})}const I4=async(A,e)=>{var t;const n=await fetch(A.url),r=+n.headers.get("Content-Length");let o=0;const i=null==(t=n.body)?void 0:t.getReader(),a=[];for(;;){const{done:A,value:t}=await i.read();if(A)break;a.push(t),o+=t.length,e(Math.ceil(o/r*100))}const s=new Blob(a);return await Ef(A.id,A.type,s),{id:A.id,type:A.type,blob:s,url:URL.createObjectURL(s)}},zd=()=>new Promise(((A,e)=>{const t=indexedDB.open("MyDatabase",1);t.onerror=()=>e(t.error),t.onsuccess=()=>A(t.result),t.onupgradeneeded=A=>{A.target.result.createObjectStore("backgrounds",{keyPath:"id"})}})),Ef=async(A,e,t)=>new Promise(((n,r)=>{zd().then((async o=>{const i=o.transaction("backgrounds","readwrite"),a=i.objectStore("backgrounds").put({id:A,type:e,blob:t});await new Promise(((A,e)=>{i.oncomplete=()=>A(a.result),i.onerror=()=>e(i.error)})).then(n,r)})).catch(r)})),ZB=async()=>{const A=(await zd()).transaction("backgrounds","readonly").objectStore("backgrounds").getAll();return await new Promise(((e,t)=>{A.onsuccess=()=>e(A.result),A.onerror=()=>t(A.error)}))},qB=[{id:"image-preset-1",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-1.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-1-thumb.jpg",isPreset:!0},{id:"image-preset-2",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-2.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-2-thumb.jpg",isPreset:!0},{id:"image-preset-3",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-3.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-3-thumb.jpg",isPreset:!0},{id:"image-preset-4",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-4.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-4-thumb.jpg",isPreset:!0},{id:"image-preset-5",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-5.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-5-thumb.jpg",isPreset:!0},{id:"image-preset-6",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-6.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-6-thumb.jpg",isPreset:!0},{id:"image-preset-7",type:"image",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-7.jpg",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/images/background-7-thumb.jpg",isPreset:!0},{id:"video-preset-1",type:"video",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/videos/animated-1.mp4",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/videos/animation-1-thumb.mp4",isPreset:!0},{id:"video-preset-2",type:"video",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/videos/animation-2.mp4",previewUrl:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/backgrounds/videos/animation-2-thumb.mp4",isPreset:!0}],b4=async(A,e)=>{const t=await chrome.runtime.sendMessage({type:"currentTab",info:"DownloadTheme",body:{themeName:A,themeURL:e}});console.log("Response: ",t)},H4=async(A,e)=>{const t=await chrome.runtime.sendMessage({type:"currentTab",info:"SetTheme",body:{themeName:A,themeURL:e}});console.log("Response: ",t)},qw=async()=>{const A=await chrome.runtime.sendMessage({type:"currentTab",info:"ListThemes"});return console.log("Response: ",A),A},Sf=async()=>{await chrome.runtime.sendMessage({type:"currentTab",info:"DisableTheme"})},T4=async A=>{await chrome.runtime.sendMessage({type:"currentTab",info:"DeleteTheme",body:{themeName:A}})};function L4({selectedType:A,setSelectedType:e,isEditMode:t}){const[n,r]=AA.useState([]),[o,i]=AA.useState(localStorage.getItem("selectedBackground")),[a,s]=AA.useState([]),[l,u]=AA.useState({}),c=async A=>{var e;const t=null==(e=A.target.files)?void 0:e[0];if(!t)return;const n=`${Date.now()}-${t.name}`,o=t.type.split("/")[0],i=new Blob([t],{type:t.type});await Ef(n,o,i),r((A=>[...A,{id:n,type:o,blob:i,url:URL.createObjectURL(i)}]))},d=async A=>{if(A.isPreset){if(!(await ZB()).some((e=>e.id===A.id))&&void 0===l[A.id]){u((e=>({...e,[A.id]:0})));const e=await I4(A,(e=>{u((t=>({...t,[A.id]:e})))}));u((e=>{const{[A.id]:t,...n}=e;return n})),await Ef(e.id,e.type,e.blob),r((A=>[...A,e])),s((A=>[...A,e.id]))}f(A.id)}},f=A=>{Sf(),e("background"),i(A),localStorage.setItem("selectedBackground",A)},g=async A=>{(await zd()).transaction("backgrounds","readwrite").objectStore("backgrounds").delete(A),r((e=>e.filter((e=>e.id!==A)))),A===o&&h()},h=()=>{e("background"),Sf(),i(null),localStorage.removeItem("selectedBackground")},p=A=>2*Math.PI*A;return AA.useEffect((()=>{(async()=>{const A=await ZB(),e=A.map((A=>({...A,url:URL.createObjectURL(A.blob)})));s(A.map((A=>A.id))),r(e)})()}),[]),rA.jsxs(rA.Fragment,{children:[rA.jsx("button",{disabled:null==o,className:`w-full px-4 py-2 mb-4 dark:text-white transition ${null==o?"dark:bg-zinc-900 bg-zinc-100":"bg-blue-500 text-white"} rounded`,onClick:()=>h(),children:null==o?"No Background":"Remove Background"}),rA.jsxs("div",{className:"relative",children:[rA.jsx("h2",{className:"pb-2 text-lg font-bold",children:"Images"}),rA.jsxs("div",{className:"flex flex-wrap gap-4",children:[rA.jsxs("div",{className:"relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900",children:[rA.jsx("div",{className:"flex items-center justify-center w-full h-full text-3xl font-bold text-gray-400 transition font-IconFamily hover:text-gray-500",children:""}),rA.jsx("input",{type:"file",accept:"image/*, video/*",onChange:c,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"})]}),n.filter((A=>"image"===A.type)).map((e=>rA.jsxs("div",{onClick:()=>f(e.id),className:`relative w-16 h-16 cursor-pointer rounded-xl transition ring dark:ring-white ring-zinc-300 ${t?"animate-shake":""} ${o===e.id&&"background"===A?"dark:ring-2 ring-4":"ring-0"}`,children:[t&&rA.jsx("div",{className:"absolute top-0 right-0 z-10 flex w-6 h-6 p-2 text-white translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full place-items-center",onClick:()=>g(e.id),children:rA.jsx("div",{className:"w-4 h-0.5 bg-white"})}),rA.jsx("img",{className:"object-cover w-full h-full rounded-xl",src:e.url,alt:"swatch"})]},e.id))),n.concat(qB).filter((A=>"image"===A.type&&A.isPreset&&!A.isDownloaded&&!a.includes(A.id))).map((A=>rA.jsxs("button",{onClick:()=>d(A),className:"relative w-16 h-16 transition cursor-pointer rounded-xl duration-300 "+(t?"opacity-0 pointer-events-none hidden":"opacity-100"),children:[A.isPreset&&void 0!==l[A.id]&&rA.jsx("div",{className:"absolute top-0 left-0 z-20 flex items-center justify-center w-full h-full",children:rA.jsxs("svg",{className:"w-full h-full text-zinc-100 dark:text-zinc-700",viewBox:"0 0 36 36",children:[rA.jsx("circle",{stroke:"currentColor",fill:"none",strokeWidth:"4",strokeLinecap:"round",cx:"18",cy:"18",r:"10",strokeDasharray:`${p(14)} ${p(14)}`,strokeDashoffset:"0",transform:"rotate(-90 18 18)"}),rA.jsx("circle",{stroke:"#3B82F6",fill:"none",strokeWidth:"4",strokeLinecap:"round",cx:"18",cy:"18",r:"10",strokeDasharray:`${p(14)} ${p(14)}`,strokeDashoffset:""+p(14)*(1-l[A.id]/100),transform:"rotate(-90 18 18)"})]})}),rA.jsx("div",{className:"relative transition top-0 z-10 flex justify-center w-full h-full text-white rounded-xl group place-items-center "+(void 0===l[A.id]?"hover:bg-black/20":""),children:rA.jsx("span",{className:"absolute z-10 text-3xl transition opacity-0 font-IconFamily group-hover:opacity-100",children:void 0===l[A.id]?"":""})}),rA.jsx("img",{className:"absolute top-0 object-cover w-full h-full rounded-xl",src:A.isPreset?A.previewUrl:A.url,alt:"swatch"})]},A.id)))]}),rA.jsx("h2",{className:"py-2 text-lg font-bold",children:"Videos"}),rA.jsxs("div",{className:"flex flex-wrap gap-4",children:[rA.jsxs("div",{className:"relative w-16 h-16 overflow-hidden transition rounded-xl bg-zinc-100 dark:bg-zinc-900",children:[rA.jsx("div",{className:"flex items-center justify-center w-full h-full text-3xl font-bold text-gray-400 transition font-IconFamily hover:text-gray-500",children:""}),rA.jsx("input",{type:"file",accept:"image/*, video/*",onChange:c,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"})]}),n.filter((A=>"video"===A.type)).map((e=>rA.jsxs("div",{onClick:()=>f(e.id),className:`relative w-16 h-16 cursor-pointer rounded-xl transition ring dark:ring-white ring-zinc-300 ${t?"animate-shake":""} ${o===e.id&&"background"===A?"dark:ring-2 ring-4":"ring-0"}`,children:[t&&rA.jsx("div",{className:"absolute top-0 right-0 z-10 flex w-6 h-6 p-2 text-white translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full place-items-center",onClick:()=>g(e.id),children:rA.jsx("div",{className:"w-4 h-0.5 bg-white"})}),rA.jsx("video",{muted:!0,loop:!0,autoPlay:!0,src:e.url,className:"object-cover w-full h-full rounded-xl"})]},e.id))),n.concat(qB).filter((A=>"video"===A.type&&A.isPreset&&!A.isDownloaded&&!a.includes(A.id))).map((A=>rA.jsxs("div",{onClick:()=>d(A),className:"relative w-16 h-16 transition cursor-pointer rounded-xl duration-300 "+(t?"opacity-0 pointer-events-none hidden":"opacity-100"),children:[A.isPreset&&void 0!==l[A.id]&&rA.jsx("div",{className:"absolute top-0 left-0 z-20 flex items-center justify-center w-full h-full",children:rA.jsxs("svg",{className:"w-full h-full text-zinc-100 dark:text-zinc-700",viewBox:"0 0 36 36",children:[rA.jsx("circle",{stroke:"currentColor",fill:"none",strokeWidth:"4",strokeLinecap:"round",cx:"18",cy:"18",r:"10",strokeDasharray:`${p(14)} ${p(14)}`,strokeDashoffset:"0",transform:"rotate(-90 18 18)"}),rA.jsx("circle",{stroke:"#3B82F6",fill:"none",strokeWidth:"4",strokeLinecap:"round",cx:"18",cy:"18",r:"10",strokeDasharray:`${p(14)} ${p(14)}`,strokeDashoffset:""+p(14)*(1-l[A.id]/100),transform:"rotate(-90 18 18)"})]})}),rA.jsx("div",{className:"relative transition top-0 z-10 flex justify-center w-full h-full text-white rounded-xl group place-items-center "+(void 0===l[A.id]?"hover:bg-black/20":""),children:rA.jsx("span",{className:"absolute z-10 text-3xl transition opacity-0 font-IconFamily group-hover:opacity-100",children:void 0===l[A.id]?"":""})}),rA.jsx("video",{muted:!0,loop:!0,autoPlay:!0,src:A.isPreset?A.previewUrl:A.url,className:"absolute top-0 object-cover w-full h-full rounded-xl"})]},A.id)))]})]})]})}const P4="/client/rsc/jpeg/hacker.jpeg",D4=[{name:"Hacker",url:"https://raw.githubusercontent.com/SethBurkart123/BetterSEQTA-Themes/main/themes/hacker.json",coverImage:rA.jsx("img",{className:"object-cover object-center w-full h-full",src:P4})}],O4=({selectedType:A,setSelectedType:e,isEditMode:t})=>{const[n,r]=AA.useState([]),[o,i]=AA.useState("");return AA.useEffect((()=>{(async()=>{const A=await qw(),e=D4.map((e=>({...e,isDownloaded:A.themes.includes(e.name),isLoading:!1})));""!==A.selectedTheme&&i(A.selectedTheme),e.sort(((A,e)=>Number(e.isDownloaded)-Number(A.isDownloaded))),r(e)})()}),[]),AA.useEffect((()=>{"background"===A&&i("")}),[A]),rA.jsxs("div",{className:"my-2",children:[(t?n.some((A=>A.isDownloaded)):n.length>0)&&rA.jsx("h2",{className:"pb-2 text-lg font-bold",children:"Themes"}),rA.jsx("div",{className:"flex flex-col gap-4",children:n.filter((A=>!t||A.isDownloaded)).map((a=>rA.jsxs("button",{className:"relative w-full h-16 flex justify-center items-center rounded-lg bg-zinc-700 transition ring dark:ring-white ring-zinc-300 "+(o==a.name&&"theme"==A?"dark:ring-2 ring-4":"ring-0"),onClick:()=>(async(A,t)=>{const a=A=>r((e=>e.map((e=>e.name===A?{...e,isLoading:!1}:e))));var s;s=A,r((A=>A.map((A=>A.name===s?{...A,isLoading:!0}:A))));const l=n.find((e=>e.name===A));if(l)return l.isDownloaded&&A===o?(await Sf(),i(""),e("background"),void a(A)):l.isDownloaded&&A!==o?(await H4(A,t),i(A),e("theme"),void a(A)):(l.isDownloaded||(await b4(A,t),(A=>{r((e=>e.map((e=>e.name===A?{...e,isDownloaded:!0}:e))))})(A),e("theme"),i(A)),void a(A));a(A)})(a.name,a.url),disabled:a.isLoading,children:[t&&rA.jsx("div",{className:"absolute top-0 right-0 z-10 flex w-6 h-6 p-2 text-white translate-x-1/2 -translate-y-1/2 bg-red-600 rounded-full place-items-center",onClick:A=>{A.stopPropagation(),(async A=>{await T4(A),r((e=>{const t=e.map((e=>e.name===A?{...e,isDownloaded:!1}:e));return t.sort(((A,e)=>Number(e.isDownloaded)-Number(A.isDownloaded))),t})),o===A&&(i(""),e("background"))})(a.name)},children:rA.jsx("div",{className:"w-4 h-0.5 bg-white"})}),rA.jsxs("div",{className:"relative transition rounded-lg overflow-hidden top-0 z-10 flex justify-center w-full h-full text-white group place-items-center "+(a.isDownloaded?"":"hover:bg-black/20"),children:[rA.jsx("span",{className:"absolute z-10 text-3xl transition opacity-0 font-IconFamily group-hover:opacity-100",children:a.isDownloaded||a.isLoading?"":""}),a.isLoading&&rA.jsx("div",{className:"z-10 inline-block w-6 h-6 border-4 border-current rounded-full animate-spin border-t-transparent",role:"status",children:rA.jsx("span",{className:"sr-only",children:"Loading..."})})]}),rA.jsx("div",{className:"absolute inset-0 z-0 overflow-hidden rounded-lg",children:a.coverImage})]},a.name)))})]})},k4=()=>{const[A,e]=AA.useState(!1),[t,n]=AA.useState("background");return AA.useEffect((()=>{qw().then((A=>{A.selectedTheme?n("theme"):n("background")}))}),[]),rA.jsxs("div",{children:[rA.jsx("button",{className:"absolute top-12 z-20 right-0 p-2 text-[0.8rem] text-blue-500",onClick:()=>e(!A),children:A?"Done":"Edit"}),rA.jsx(L4,{setSelectedType:n,selectedType:t,isEditMode:A}),rA.jsx(O4,{setSelectedType:n,selectedType:t,isEditMode:A})]})},R4=()=>{const{standalone:A,setStandalone:e}=Nn();AA.useEffect((()=>{document.body.classList.contains("standalone")&&e(!0)}));const t=[{title:"Settings",content:rA.jsx(TH,{})},{title:"Shortcuts",content:rA.jsx(DH,{})},{title:"Themes",content:rA.jsx(k4,{})}];return rA.jsxs("div",{className:`flex flex-col w-[384px] shadow-2xl gap-2 bg-white ${A?"":"rounded-xl"} h-[600px] overflow-clip dark:bg-zinc-800 dark:text-white`,children:[rA.jsxs("div",{className:"grid border-b border-b-zinc-200/40 place-items-center",children:[rA.jsx("img",{src:LH,className:"w-4/5 dark:hidden"}),rA.jsx("img",{src:PH,className:"hidden w-4/5 dark:block"})]}),rA.jsx(x4,{}),rA.jsx(xH,{tabs:t})]})},K4=mc.createRoot(document.getElementById("ExtensionPopup")),M4=chrome.runtime.getURL("fonts/IconFamily.woff"),Xd=document.createElement("style");Xd.setAttribute("type","text/css"),Xd.innerHTML=`\n@font-face {\n font-family: 'IconFamily';\n src: url('${M4}') format('woff');\n font-weight: normal;\n font-style: normal;\n}`,document.head.appendChild(Xd),K4.render(rA.jsx(Tf.StrictMode,{children:rA.jsx(SH,{children:rA.jsx(R4,{})})})); |