nichts/modules/gui/chevron/index.html

255 lines
1.2 MiB
HTML
Raw Normal View History

2024-05-24 14:57:38 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chevron</title>
<!-- coloration -->
<script>
const settings = JSON.parse(localStorage.getItem('settings'))
if (settings) {
const colorScheme = settings.appearance.colorScheme === 'auto'
? window.matchMedia("(prefers-color-scheme: dark)").matches
? 'dark'
: 'light'
: settings.appearance.colorScheme
document.documentElement.style.backgroundColor = settings.appearance.themes[settings.appearance.activeTheme][colorScheme].background
}
</script>
<!-- -->
<script type="module" crossorigin>
var K_=Object.defineProperty;var q_=(e,t,n)=>t in e?K_(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var pn=(e,t,n)=>(q_(e,typeof t!="symbol"?t+"":t,n),n),Th=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)};var hn=(e,t,n)=>(Th(e,t,"read from private field"),n?n.call(e):t.get(e)),so=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ma=(e,t,n,r)=>(Th(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);var ga=(e,t,n)=>(Th(e,t,"access private method"),n);function G_(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var Y_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function JC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},Pe={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Pu=Symbol.for("react.element"),X_=Symbol.for("react.portal"),J_=Symbol.for("react.fragment"),Q_=Symbol.for("react.strict_mode"),Z_=Symbol.for("react.profiler"),eO=Symbol.for("react.provider"),tO=Symbol.for("react.context"),nO=Symbol.for("react.forward_ref"),rO=Symbol.for("react.suspense"),oO=Symbol.for("react.memo"),iO=Symbol.for("react.lazy"),yx=Symbol.iterator;function aO(e){return e===null||typeof e!="object"?null:(e=yx&&e[yx]||e["@@iterator"],typeof e=="function"?e:null)}var QC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ZC=Object.assign,e5={};function Ps(e,t,n){this.props=e,this.context=t,this.refs=e5,this.updater=n||QC}Ps.prototype.isReactComponent={};Ps.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ps.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function t5(){}t5.prototype=Ps.prototype;function fv(e,t,n){this.props=e,this.context=t,this.refs=e5,this.updater=n||QC}var pv=fv.prototype=new t5;pv.constructor=fv;ZC(pv,Ps.prototype);pv.isPureReactComponent=!0;var xx=Array.isArray,n5=Object.prototype.hasOwnProperty,hv={current:null},r5={key:!0,ref:!0,__self:!0,__source:!0};function o5(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)n5.call(t,r)&&!r5.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Pu,type:e,key:i,ref:a,props:o,_owner:hv.current}}function sO(e,t){return{$$typeof:Pu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function mv(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pu}function lO(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var bx=/\/+/g;function Ah(e,t){return typeof e=="object"&&e!==null&&e.key!=null?lO(""+e.key):t.toString(36)}function Zc(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Pu:case X_:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Ah(a,0):r,xx(o)?(n="",e!=null&&(n=e.replace(bx,"$&/")+"/"),Zc(o,t,n,"",function(u){return u})):o!=null&&(mv(o)&&(o=sO(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(bx,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",xx(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Ah(i,s);a+=Zc(i,t,n,l,o)}else if(l=aO(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Ah(i,s++),a+=Zc(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}function ac(e,t,n){if(e==null)return e;var r=[],o=0;return Zc(e,r,"","",function(i){return t.call(n,i,o++)}),r}function uO(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var dn={current:null},ed={transition:null},cO={ReactCurrentDispatcher:dn,ReactCurrentBatchConfig:ed,ReactCurrentOwner:hv};Pe.Children={map:ac,forEach:function(e,t,n){ac(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ac(e,function(){t++}),t},toArray:function(e){return ac(e,function(t){return t})||[]},only:function(e){if(!mv(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Pe.Component=Ps;Pe.Fragment=J_;Pe.Profiler=Z_;Pe
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(M,V){var I=M.length;M.push(V);e:for(;0<I;){var E=I-1>>>1,T=M[E];if(0<o(T,V))M[E]=V,M[I]=T,I=E;else break e}}function n(M){return M.length===0?null:M[0]}function r(M){if(M.length===0)return null;var V=M[0],I=M.pop();if(I!==V){M[0]=I;e:for(var E=0,T=M.length,Z=T>>>1;E<Z;){var J=2*(E+1)-1,ee=M[J],j=J+1,te=M[j];if(0>o(ee,I))j<T&&0>o(te,ee)?(M[E]=te,M[j]=I,E=j):(M[E]=ee,M[J]=I,E=J);else if(j<T&&0>o(te,I))M[E]=te,M[j]=I,E=j;else break e}}return V}function o(M,V){var I=M.sortIndex-V.sortIndex;return I!==0?I:M.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,f=3,h=!1,p=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(M){for(var V=n(u);V!==null;){if(V.callback===null)r(u);else if(V.startTime<=M)r(u),V.sortIndex=V.expirationTime,t(l,V);else break;V=n(u)}}function S(M){if(m=!1,y(M),!p)if(n(l)!==null)p=!0,N(b);else{var V=n(u);V!==null&&H(S,V.startTime-M)}}function b(M,V){p=!1,m&&(m=!1,g(P),P=-1),h=!0;var I=f;try{for(y(V),d=n(l);d!==null&&(!(d.expirationTime>V)||M&&!_());){var E=d.callback;if(typeof E=="function"){d.callback=null,f=d.priorityLevel;var T=E(d.expirationTime<=V);V=e.unstable_now(),typeof T=="function"?d.callback=T:d===n(l)&&r(l),y(V)}else r(l);d=n(l)}if(d!==null)var Z=!0;else{var J=n(u);J!==null&&H(S,J.startTime-V),Z=!1}return Z}finally{d=null,f=I,h=!1}}var w=!1,C=null,P=-1,A=5,O=-1;function _(){return!(e.unstable_now()-O<A)}function D(){if(C!==null){var M=e.unstable_now();O=M;var V=!0;try{V=C(!0,M)}finally{V?$():(w=!1,C=null)}}else w=!1}var $;if(typeof v=="function")$=function(){v(D)};else if(typeof MessageChannel<"u"){var z=new MessageChannel,F=z.port2;z.port1.onmessage=D,$=function(){F.postMessage(null)}}else $=function(){x(D,0)};function N(M){C=M,w||(w=!0,$())}function H(M,V){P=x(function(){M(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(M){M.callback=null},e.unstable_continueExecution=function(){p||h||(p=!0,N(b))},e.unstable_forceFrameRate=function(M){0>M||125<M?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):A=0<M?Math.floor(1e3/M):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(M){switch(f){case 1:case 2:case 3:var V=3;break;default:V=f}var I=f;f=V;try{return M()}finally{f=I}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(M,V){switch(M){case 1:case 2:case 3:case 4:case 5:break;default:M=3}var I=f;f=M;try{return V()}finally{f=I}},e.unstable_scheduleCallback=function(M,V,I){var E=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?E+I:E):I=E,M){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=I+T,M={id:c++,callback:V,priorityLevel:M,startTime:I,expirationTime:T,sortIndex:-1},I>E?(M.sortIndex=I,t(u,M),n(l)===null&&M===n(u)&&(m?(g(P),P=-1):m=!0,H(S,I-E))):(M.sortIndex=T,t(l,M),p||h||(p=!0,N(b))),M},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(M){var V=f;return function(){var I=f;f=V;try{return M.apply(this,arguments)}finally{f=I}}}})(a5);(function(e){e.exports=a5})(i5);/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var s5=k.exports,Vn=i5.exports;function Y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l5=new Set,Ml={};function sa(e,t){as(e,t),as(e+"Capture",t)}function as(e,t){for(Ml[e]=t,e=0;e<t.length;e++)l5.add(t[e])}var Eo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),t0=Object.prototype.hasOwnProperty,dO=/^[: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]*$/,wx={},Sx={};function fO(e){return t0.call(Sx,e)?!0:t0.call(wx,e)?!1:dO.test(e)?Sx[e]=!0:(wx[e]=!0,!1)}function pO(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hO(e,t,n,r){if(t===null||typeof t>"u"||pO(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fn(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ht={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ht[e]=new fn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ht[t]=new fn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ht[e]=new fn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ht[e]=new fn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ht[e]=new fn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ht[e]=new fn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ht[e]=new fn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ht[e]=new fn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ht[e]=new fn(e,5,!1,e.toLowerCase(),null,!1,!1)});var gv=/[\-:]([a-z])/g;function vv(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-ad
`+_h+e}var Oh=!1;function Dh(e,t){if(!e||Oh)return"";Oh=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
`),i=r.stack.split(`
`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Oh=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ol(e):""}function mO(e){switch(e.tag){case 5:return ol(e.type);case 16:return ol("Lazy");case 13:return ol("Suspense");case 19:return ol("SuspenseList");case 0:case 2:case 15:return e=Dh(e.type,!1),e;case 11:return e=Dh(e.type.render,!1),e;case 1:return e=Dh(e.type,!0),e;default:return""}}function i0(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ea:return"Fragment";case ka:return"Portal";case n0:return"Profiler";case xv:return"StrictMode";case r0:return"Suspense";case o0:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case c5:return(e.displayName||"Context")+".Consumer";case u5:return(e._context.displayName||"Context")+".Provider";case bv:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case wv:return t=e.displayName||null,t!==null?t:i0(e.type)||"Memo";case Bo:t=e._payload,e=e._init;try{return i0(e(t))}catch{}}return null}function gO(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return i0(t);case 8:return t===xv?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ai(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function f5(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function vO(e){var t=f5(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lc(e){e._valueTracker||(e._valueTracker=vO(e))}function p5(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=f5(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Id(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function a0(e,t){var n=t.checked;return rt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function kx(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=ai(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function h5(e,t){t=t.checked,t!=null&&yv(e,"checked",t,!1)}function s0(e,t){h5(e,t);var n=ai(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?l0(e,t.type,n):t.hasOwnProperty("defaultValue")&&l0(e,t.type,ai(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Ex(e,t,n){if(t.hasOwnProper
`).replace(TD,"")}function gc(e,t,n){if(t=Gx(t),Gx(e)!==t&&n)throw Error(Y(425))}function Hd(){}var S0=null,C0=null;function k0(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var E0=typeof setTimeout=="function"?setTimeout:void 0,AD=typeof clearTimeout=="function"?clearTimeout:void 0,Yx=typeof Promise=="function"?Promise:void 0,_D=typeof queueMicrotask=="function"?queueMicrotask:typeof Yx<"u"?function(e){return Yx.resolve(null).then(e).catch(OD)}:E0;function OD(e){setTimeout(function(){throw e})}function Uh(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Vl(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Vl(t)}function Zo(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Xx(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var As=Math.random().toString(36).slice(2),Ur="__reactFiber$"+As,Kl="__reactProps$"+As,Po="__reactContainer$"+As,P0="__reactEvents$"+As,DD="__reactListeners$"+As,RD="__reactHandles$"+As;function zi(e){var t=e[Ur];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Po]||n[Ur]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xx(e);e!==null;){if(n=e[Ur])return n;e=Xx(e)}return t}e=n,n=e.parentNode}return null}function _u(e){return e=e[Ur]||e[Po],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function _a(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(Y(33))}function Kf(e){return e[Kl]||null}var T0=[],Oa=-1;function yi(e){return{current:e}}function Ye(e){0>Oa||(e.current=T0[Oa],T0[Oa]=null,Oa--)}function je(e,t){Oa++,T0[Oa]=e.current,e.current=t}var si={},Zt=yi(si),bn=yi(!1),Qi=si;function ss(e,t){var n=e.type.contextTypes;if(!n)return si;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function wn(e){return e=e.childContextTypes,e!=null}function jd(){Ye(bn),Ye(Zt)}function Jx(e,t,n){if(Zt.current!==si)throw Error(Y(168));je(Zt,t),je(bn,n)}function nk(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(Y(108,gO(e)||"Unknown",o));return rt({},n,r)}function Ud(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||si,Qi=Zt.current,je(Zt,e),je(bn,bn.current),!0}function Qx(e,t,n){var r=e.stateNode;if(!r)throw Error(Y(169));n?(e=nk(e,t,Qi),r.__reactInternalMemoizedMergedChildContext=e,Ye(bn),Ye(Zt),je(Zt,e)):Ye(bn),je(bn,n)}var mo=null,qf=!1,Wh=!1;function rk(e){mo===null?mo=[e]:mo.push(e)}function LD(e){qf=!0,rk(e)}function xi(){if(!Wh&&mo!==null){Wh=!0;var e=0,t=Me;try{var n=mo;for(Me=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}mo=null,qf=!1}catch(o){throw mo!==null&&(mo=mo.slice(e+1)),A5(Cv,xi),o}finally{Me=t,Wh=!1}}return null}var Da=[],Ra=0,Wd=null,Kd=0,Jn=[],Qn=0,Zi=null,vo=1,yo="";function Di(e,t){Da[Ra++]=Kd,Da[Ra++]=Wd,Wd=e,Kd=t}function ok(e,t,n){Jn[Qn++]=vo,Jn[Qn++]=yo,Jn[Qn++]=Zi,Zi=e;var r=vo;e=yo;var o=32-Lr(r)-1;r&=~(1<<o),n+=1;var i=32-Lr(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,vo=1<<32-Lr(t)+o|n<<o|r,yo=i+e}else vo=1<<i|n<<o|r,yo=e}function Rv(e){e.return!==null&&(Di(e,1),ok(e,1,0))}function Lv(e){for(;e===Wd;)Wd=Da[--Ra],Da[Ra]=null,Kd=Da[--Ra],Da[Ra]=null;for(;e===Zi;)Zi=Jn[--Qn],Jn[Qn]=null,yo=Jn[--Qn],Jn[Qn]=null,vo=Jn[--Qn],Jn[Qn]=null}var zn=null,In=null,Qe=!1,Ar=null;function ik(e,t){var n=tr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletio
Error generating stack: `+i.message+`
`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Xh(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function L0(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var HD=typeof WeakMap=="function"?WeakMap:Map;function Lk(e,t,n){n=wo(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ef||(ef=!0,j0=r),L0(e,t)},n}function Ik(e,t,n){n=wo(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){L0(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){L0(e,t),typeof r!="function"&&(ti===null?ti=new Set([this]):ti.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function lb(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new HD;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=nR.bind(null,e,t,n),t.then(e,e))}function ub(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function cb(e,t,n,r,o){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=wo(-1,1),t.tag=2,ei(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var jD=Lo.ReactCurrentOwner,yn=!1;function sn(e,t,n,r){t.child=e===null?fk(t,null,n,r):us(t,e.child,n,r)}function db(e,t,n,r,o){n=n.render;var i=t.ref;return Ga(t,o),r=Uv(e,t,n,r,i,o),n=Wv(),e!==null&&!yn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ao(e,t,o)):(Qe&&n&&Rv(t),t.flags|=1,sn(e,t,r,o),t.child)}function fb(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!ty(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,$k(e,t,i,r,o)):(e=cd(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,(e.lanes&o)===0){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:jl,n(a,r)&&e.ref===t.ref)return Ao(e,t,o)}return t.flags|=1,e=ri(i,r),e.ref=t.ref,e.return=t,t.child=e}function $k(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(jl(i,r)&&e.ref===t.ref)if(yn=!1,t.pendingProps=r=i,(e.lanes&o)!==0)(e.flags&131072)!==0&&(yn=!0);else return t.lanes=e.lanes,Ao(e,t,o)}return I0(e,t,n,r,o)}function Mk(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},je($a,Rn),Rn|=n;else{if((n&1073741824)===0)return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,je($a,Rn),Rn|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,je($a,Rn),Rn|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,je($a,Rn),Rn|=r;return sn(e,t,o,n),t.child}function Fk(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function I0(e,t,n,r,o){var i=wn(n)?Qi:Zt.current;return i=ss(t,i),Ga(t,o),n=Uv(e,t,n,r,i,o),r=Wv(),e!==null&&!yn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ao(e,t,o)):(Qe&&r&&Rv(t),t.flags|=1,sn(e,t,n,o),t.child)}function pb(e,t,n,r,o){if(wn(n)){var i=!0;Ud(t)}else i=!1;if(Ga(t,o),t.stateNode===null)sd(e,t),ck(t,n,r),R0(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=cr(u):(u=wn(n)?Qi:Zt.current,u=ss(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&ob(t,a,r,u),No=!1;var f=t.memoizedState;a.state=f,Yd(t,r,a,o),l=t.memoizedState,s!==r||f!==l||bn.current||No?(typeof c=="function"&&(D0(t,n,c,r),l=t.memoizedState),(s=No||rb(t,n,s,r,f,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componen
* assign-symbols <https://github.com/jonschlinkert/assign-symbols>
*
* Copyright (c) 2015-present, Jon Schlinkert.
* Licensed under the MIT License.
*/const hR=Object.prototype.toString,mR=Object.prototype.propertyIsEnumerable,Tb=Object.getOwnPropertySymbols;var gR=(e,...t)=>{if(!vR(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Tb!="function")return e;for(let n of t){let r=Tb(n);for(let o of r)mR.call(n,o)&&(e[o]=n[o])}return e};function vR(e){return typeof e=="function"||hR.call(e)==="[object Object]"||Array.isArray(e)}/*!
* assign-deep <https://github.com/jonschlinkert/assign-deep>
*
* Copyright (c) 2017-present, Jon Schlinkert.
* Released under the MIT License.
*/const yR=Object.prototype.toString,xR=gR,bR=e=>e!=="__proto__"&&e!=="constructor"&&e!=="prototype",wR=aE.exports=(e,...t)=>{let n=0;for(SR(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(tm(t[n])){for(const r of Object.keys(t[n]))bR(r)&&(tm(e[r])&&tm(t[n][r])?wR(e[r],t[n][r]):e[r]=t[n][r]);xR(e,t[n])}return e};function tm(e){return typeof e=="function"||yR.call(e)==="[object Object]"}function SR(e){return typeof e=="object"?e===null:typeof e!="function"}const CR={grey:{50:"#F7F7F8",100:"#EBEBEF",200:"#D8D8DF",300:"#B9B9C6",400:"#8F8FA3",500:"#73738C",600:"#5A5A72",700:"#434356",800:"#25252D",900:"#131318"},blue:{50:"#F4FAFF",100:"#DDF1FF",200:"#ADDBFF",300:"#6FB6FF",400:"#3990FF",500:"#096BDE",600:"#054DA7",700:"#02367D",800:"#072859",900:"#00153C"},yellow:{50:"#FFF8C5",100:"#FAE17D",200:"#EAC54F",300:"#D4A72C",400:"#BF8700",500:"#9A6700",600:"#7D4E00",700:"#633C01",800:"#4D2D00",900:"#3B2300"},red:{50:"#FFF8F6",100:"#FFE9E8",200:"#FFC7C5",300:"#FF9192",400:"#FA5255",500:"#D3232F",600:"#A10E25",700:"#77061B",800:"#580013",900:"#39000D"},green:{50:"#F3FEF5",100:"#D7F5DD",200:"#77EC95",300:"#4CC76E",400:"#2CA24D",500:"#1A7D36",600:"#0F5D26",700:"#034318",800:"#002F0F",900:"#001D09"},purple:{50:"#FDF7FF",100:"#F4EAFF",200:"#E1CBFF",300:"#C69EFF",400:"#A374F9",500:"#814DDE",600:"#5F35AE",700:"#452382",800:"#301761",900:"#1D0A42"}},Yn=CR;function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},L.apply(this,arguments)}function Ii(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function sE(e){if(!Ii(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=sE(e[n])}),t}function $r(e,t,n={clone:!0}){const r=n.clone?L({},e):e;return Ii(e)&&Ii(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Ii(t[o])&&o in e&&Ii(e[o])?r[o]=$r(e[o],t[o],n):n.clone?r[o]=Ii(t[o])?sE(t[o]):t[o]:r[o]=t[o])}),r}var ae={exports:{}},kR="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ER=kR,PR=ER;function lE(){}function uE(){}uE.resetWarningCache=lE;var TR=function(){function e(r,o,i,a,s,l){if(l!==PR){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:uE,resetWarningCache:lE};return n.PropTypes=n,n};ae.exports=TR();function Zl(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}function xe(e){if(typeof e!="string")throw new Error(Zl(7));return e.charAt(0).toUpperCase()+e.slice(1)}function cE(e,t){return k.exports.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Ab(e){return e&&e.ownerDocument||document}function q0(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const AR=typeof window<"u"?k.exports.useLayoutEffect:k.exports.useEffect,eu=AR;let _b=0;function _R(e){const[t,n]=k.exports.useState(e),r=e||t;return k.exports.useEffect(()=>{t==null&&(_b+=1,n(`mui-${_b}`))},[t]),r}const Ob=Zm["useId"];function ay(e){if(Ob!==void 0){const t=Ob();return e!=null?e:t}return _R(e)}function rp({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=k.exports.useRef(e!==void 0),[i,a]=k.exports.useState(t),s=o?e:i,l=k.exports.useCallback(u=>{o||a(u)},[]);return[s,l]}function OR(e){const t=k.exports.useRef(e);return eu(()=>{t.current=e}),k.exports.useCallback((...n)=>(0,t.current)(...n),[])}function Ot(...e){return k.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{q0(n,t)})},e)}let op=!0,G0=!1,Db;const DR={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Rt=typeof Symbol=="function"&&Symbol.for,dy=Rt?Symbol.for("react.element"):60103,fy=Rt?Symbol.for("react.portal"):60106,up=Rt?Symbol.for("react.fragment"):60107,cp=Rt?Symbol.for("react.strict_mode"):60108,dp=Rt?Symbol.for("react.profiler"):60114,fp=Rt?Symbol.for("react.provider"):60109,pp=Rt?Symbol.for("react.context"):60110,py=Rt?Symbol.for("react.async_mode"):60111,hp=Rt?Symbol.for("react.concurrent_mode"):60111,mp=Rt?Symbol.for("react.forward_ref"):60112,gp=Rt?Symbol.for("react.suspense"):60113,vL=Rt?Symbol.for("react.suspense_list"):60120,vp=Rt?Symbol.for("react.memo"):60115,yp=Rt?Symbol.for("react.lazy"):60116,yL=Rt?Symbol.for("react.block"):60121,xL=Rt?Symbol.for("react.fundamental"):60117,bL=Rt?Symbol.for("react.responder"):60118,wL=Rt?Symbol.for("react.scope"):60119;function Wn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case dy:switch(e=e.type,e){case py:case hp:case up:case dp:case cp:case gp:return e;default:switch(e=e&&e.$$typeof,e){case pp:case mp:case yp:case vp:case fp:return e;default:return t}}case fy:return t}}}function SE(e){return Wn(e)===hp}ze.AsyncMode=py;ze.ConcurrentMode=hp;ze.ContextConsumer=pp;ze.ContextProvider=fp;ze.Element=dy;ze.ForwardRef=mp;ze.Fragment=up;ze.Lazy=yp;ze.Memo=vp;ze.Portal=fy;ze.Profiler=dp;ze.StrictMode=cp;ze.Suspense=gp;ze.isAsyncMode=function(e){return SE(e)||Wn(e)===py};ze.isConcurrentMode=SE;ze.isContextConsumer=function(e){return Wn(e)===pp};ze.isContextProvider=function(e){return Wn(e)===fp};ze.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===dy};ze.isForwardRef=function(e){return Wn(e)===mp};ze.isFragment=function(e){return Wn(e)===up};ze.isLazy=function(e){return Wn(e)===yp};ze.isMemo=function(e){return Wn(e)===vp};ze.isPortal=function(e){return Wn(e)===fy};ze.isProfiler=function(e){return Wn(e)===dp};ze.isStrictMode=function(e){return Wn(e)===cp};ze.isSuspense=function(e){return Wn(e)===gp};ze.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===up||e===hp||e===dp||e===cp||e===gp||e===vL||typeof e=="object"&&e!==null&&(e.$$typeof===yp||e.$$typeof===vp||e.$$typeof===fp||e.$$typeof===pp||e.$$typeof===mp||e.$$typeof===xL||e.$$typeof===bL||e.$$typeof===wL||e.$$typeof===yL)};ze.typeOf=Wn;(function(e){e.exports=ze})(wE);var CE=wE.exports,SL={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},CL={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},kE={};kE[CE.ForwardRef]=SL;kE[CE.Memo]=CL;var kL=!0;function EL(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var EE=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||kL===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},PE=function(t,n,r){EE(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function PL(e){for(var t=0,n,r=0,o=e.length;o>=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var TL={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWid
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var HL=k.exports,jL=Symbol.for("react.element"),UL=Symbol.for("react.fragment"),WL=Object.prototype.hasOwnProperty,KL=HL.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qL={key:!0,ref:!0,__self:!0,__source:!0};function RE(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)WL.call(t,r)&&!qL.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:jL,type:e,key:i,ref:a,props:o,_owner:KL.current}}bp.Fragment=UL;bp.jsx=RE;bp.jsxs=RE;(function(e){e.exports=bp})(xp);const ln=xp.exports.Fragment,R=xp.exports.jsx,se=xp.exports.jsxs;function GL(e){return e==null||Object.keys(e).length===0}function om(e){const{styles:t,defaultTheme:n={}}=e;return R(IL,{styles:typeof t=="function"?o=>t(GL(o)?n:o):t})}/** @license MUI v5.11.0
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function LE(e,t){return VL(e,t)}const YL=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))};function yl(e,t){return t?$r(e,t,{clone:!1}):e}const gy={xs:0,sm:600,md:900,lg:1200,xl:1536},Hb={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${gy[e]}px)`};function _o(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Hb;return t.reduce((a,s,l)=>(a[i.up(i.keys[l])]=n(t[l]),a),{})}if(typeof t=="object"){const i=r.breakpoints||Hb;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||gy).indexOf(s)!==-1){const l=i.up(s);a[l]=n(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return n(t)}function XL(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function JL(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function wp(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function af(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=wp(e,n)||r,t&&(o=t(o,r,e)),o}function Ie(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,u=wp(l,r)||{};return _o(a,s,d=>{let f=af(u,o,d);return d===f&&typeof d=="string"&&(f=af(u,o,`${t}${d==="default"?"":xe(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function Sp(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?yl(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function QL(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const ZL={m:"margin",p:"padding"},eI={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},jb={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},tI=QL(e=>{if(e.length>2)if(jb[e])e=jb[e];else return[e];const[t,n]=e.split(""),r=ZL[t],o=eI[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),vy=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],yy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...vy,...yy];function Ru(e,t,n,r){var o;const i=(o=wp(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:i*a:Array.isArray(i)?a=>typeof a=="string"?a:i[a]:typeof i=="function"?i:()=>{}}function IE(e){return Ru(e,"spacing",8)}function Lu(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function nI(e,t){return n=>e.reduce((r,o)=>(r[o]=Lu(t,n),r),{})}function rI(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=tI(n),i=nI(o,r),a=e[n];return _o(e,a,i)}function $E(e,t){const n=IE(e.theme);return Object.keys(e).map(r=>rI(e,t,r,n)).reduce(yl,{})}function it(e){return $E(e,vy)}it.propTypes={};it.filterProps=vy;function at(e){return $E(e,yy)}at.propTypes={};at.filterProps=yy;function Wr(e){return typeof e!="number"?e:`${e}px solid`}const oI=Ie({prop:"border",themeKey:"borders",transform:Wr}),iI=Ie({prop:"borderTop",themeKey:"borders",transform:Wr}),aI=Ie({prop:"borderRight",themeKey:"borders",transform:Wr}),sI=Ie({prop:"borderBottom",themeKey:"borders",transform:Wr}),lI=Ie({prop:"borderLeft",themeKey:"borders",transform:Wr}),uI=Ie({prop:"borderColor",themeKey:"palette"}),cI=Ie({prop:"borderTopColor",themeKey:"palette"}),dI=Ie({prop:"borderRightColor",themeKey:"palette"}),fI=Ie({prop:"borderBottomColor",themeKey:"palette"}),pI=Ie({prop:"borderLeftColor",themeKey:"palette"}),Cp=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ru(e.theme,"shape.borderRadiu
var mode = localStorage.getItem('${o}') || '${t}';
var cssColorScheme = mode;
var colorScheme = '';
if (mode === 'system') {
// handle system mode
var mql = window.matchMedia('(prefers-color-scheme: dark)');
if (mql.matches) {
cssColorScheme = 'dark';
colorScheme = localStorage.getItem('${i}-dark') || '${r}';
} else {
cssColorScheme = 'light';
colorScheme = localStorage.getItem('${i}-light') || '${n}';
}
}
if (mode === 'light') {
colorScheme = localStorage.getItem('${i}-light') || '${n}';
}
if (mode === 'dark') {
colorScheme = localStorage.getItem('${i}-dark') || '${r}';
}
if (colorScheme) {
${s}.setAttribute('${a}', colorScheme);
}
} catch (e) {} })();`}},"mui-color-scheme-init")}function Kb(e){if(typeof window<"u"&&e==="system")return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function WE(e,t){if(e.mode==="light"||e.mode==="system"&&e.systemMode==="light")return t("light");if(e.mode==="dark"||e.mode==="system"&&e.systemMode==="dark")return t("dark")}function x6(e){return WE(e,t=>{if(t==="light")return e.lightColorScheme;if(t==="dark")return e.darkColorScheme})}function sm(e,t){if(typeof window>"u")return;let n;try{n=localStorage.getItem(e)||void 0,n||localStorage.setItem(e,t)}catch{}return n||t}function b6(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:o=[],modeStorageKey:i=Sy,colorSchemeStorageKey:a=Cy,storageWindow:s=typeof window>"u"?void 0:window}=e,l=o.join(","),[u,c]=k.exports.useState(()=>{const x=sm(i,t),g=sm(`${a}-light`,n),v=sm(`${a}-dark`,r);return{mode:x,systemMode:Kb(x),lightColorScheme:g,darkColorScheme:v}}),d=x6(u),f=k.exports.useCallback(x=>{c(g=>{if(x===g.mode)return g;const v=x||t;try{localStorage.setItem(i,v)}catch{}return L({},g,{mode:v,systemMode:Kb(v)})})},[i,t]),h=k.exports.useCallback(x=>{x?typeof x=="string"?x&&!l.includes(x)?console.error(`\`${x}\` does not exist in \`theme.colorSchemes\`.`):c(g=>{const v=L({},g);return WE(g,y=>{try{localStorage.setItem(`${a}-${y}`,x)}catch{}y==="light"&&(v.lightColorScheme=x),y==="dark"&&(v.darkColorScheme=x)}),v}):c(g=>{const v=L({},g),y=x.light===null?n:x.light,S=x.dark===null?r:x.dark;if(y)if(!l.includes(y))console.error(`\`${y}\` does not exist in \`theme.colorSchemes\`.`);else{v.lightColorScheme=y;try{localStorage.setItem(`${a}-light`,y)}catch{}}if(S)if(!l.includes(S))console.error(`\`${S}\` does not exist in \`theme.colorSchemes\`.`);else{v.darkColorScheme=S;try{localStorage.setItem(`${a}-dark`,S)}catch{}}return v}):c(g=>{try{localStorage.setItem(`${a}-light`,n),localStorage.setItem(`${a}-dark`,r)}catch{}return L({},g,{lightColorScheme:n,darkColorScheme:r})})},[l,a,n,r]),p=k.exports.useCallback(x=>{u.mode==="system"&&c(g=>L({},g,{systemMode:x!=null&&x.matches?"dark":"light"}))},[u.mode]),m=k.exports.useRef(p);return m.current=p,k.exports.useEffect(()=>{const x=(...v)=>m.current(...v),g=window.matchMedia("(prefers-color-scheme: dark)");return g.addListener(x),x(g),()=>g.removeListener(x)},[]),k.exports.useEffect(()=>{const x=g=>{const v=g.newValue;typeof g.key=="string"&&g.key.startsWith(a)&&(!v||l.match(v))&&(g.key.endsWith("light")&&h({light:v}),g.key.endsWith("dark")&&h({dark:v})),g.key===i&&(!v||["light","dark","system"].includes(v))&&f(v||t)};if(s)return s.addEventListener("storage",x),()=>s.removeEventListener("storage",x)},[h,f,i,a,l,t,s]),L({},u,{colorScheme:d,setMode:f,setColorScheme:h})}const w6=["colorSchemes","components","cssVarPrefix"],S6="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function C6(e){const{theme:t={},attribute:n=UE,modeStorageKey:r=Sy,colorSchemeStorageKey:o=Cy,defaultMode:i="light",defaultColorScheme:a,disableTransitionOnChange:s=!1,shouldSkipGeneratingVar:l,resolveTheme:u,excludeVariablesFromRoot:c}=e;(!t.colorSchemes||typeof a=="string"&&!t.colorSchemes[a]||typeof a=="object"&&!t.colorSchemes[a==null?void 0:a.light]||typeof a=="object"&&!t.colorSchemes[a==null?void 0:a.dark])&&console.error(`MUI: \`${a}\` does not exist in \`theme.colorSchemes\`.`);const d=k.exports.createContext(void 0),f=()=>{const g=k.exports.useContext(d);if(!g)throw new Error(Zl(19));return g};function h({children:g,theme:v=t,modeStorageKey:y=r,colorSchemeStorageKey:S=o,attribute:b=n,defaultMode:w=i,defaultColorScheme:C=a,disableTransitionOnChange:P=s,storageWindow:A=typeof window>"u"?void 0:window,documentNode:O=typeof document>"u"?void 0:document,colorSchemeNode:_=typeof document>"u"?void 0:document.documentElement,colorSchemeSelector:D=":root",shouldSkipGeneratingVar:$=l,disableNestedContext:z=!1,disableStyleSheetGeneration:F=!1}){const N=k.exports.useRef(!1),H=wy(),M=k.exports
animation: var(
--CircularProgress-circulation,
0.8s linear 0s infinite normal none running
)
${0};
`),RF)),zF=k.exports.forwardRef(function(t,n){const r=Ut({props:t,name:"JoyCircularProgress"}),{children:o,className:i,color:a="primary",size:s="md",variant:l="soft",thickness:u,determinate:c=!1,value:d=c?0:25}=r,f=be(r,DF),{getColor:h}=An(l),p=h(t.color,a),m=L({},r,{color:p,size:s,variant:l,thickness:u,value:d,determinate:c,instanceSize:t.size}),x=LF(m),[g,v]=Ce("root",{ref:n,className:Pn(x.root,i),elementType:IF,externalForwardedProps:f,ownerState:m,additionalProps:L({role:"progressbar",style:{"--CircularProgress-percent":d}},d&&c&&{"aria-valuenow":Math.round(typeof d=="number"?d:Number(d||0))})}),[y,S]=Ce("svg",{className:x.svg,elementType:$F,externalForwardedProps:f,ownerState:m}),[b,w]=Ce("track",{className:x.track,elementType:MF,externalForwardedProps:f,ownerState:m}),[C,P]=Ce("progress",{className:x.progress,elementType:FF,externalForwardedProps:f,ownerState:m});return se(g,L({},v,{children:[se(y,L({},S,{children:[R(b,L({},w)),R(C,L({},P))]})),o]}))}),BF=zF;function NF(e){return Lt("JoyButton",e)}const VF=It("JoyButton",["root","colorPrimary","colorNeutral","colorDanger","colorInfo","colorSuccess","colorWarning","colorContext","variantPlain","variantOutlined","variantSoft","variantSolid","focusVisible","disabled","sizeSm","sizeMd","sizeLg","fullWidth","startDecorator","endDecorator","loading","loadingIndicatorCenter"]),uw=VF,HF=["children","action","color","variant","size","fullWidth","startDecorator","endDecorator","loading","loadingPosition","loadingIndicator","disabled"],jF=e=>{const{color:t,disabled:n,focusVisible:r,focusVisibleClassName:o,fullWidth:i,size:a,variant:s,loading:l}=e,u={root:["root",n&&"disabled",r&&"focusVisible",i&&"fullWidth",s&&`variant${xe(s)}`,t&&`color${xe(t)}`,a&&`size${xe(a)}`,l&&"loading"],startDecorator:["startDecorator"],endDecorator:["endDecorator"],loadingIndicatorCenter:["loadingIndicatorCenter"]},c=Dt(u,NF,{});return r&&o&&(c.root+=` ${o}`),c},UF=ce("span",{name:"JoyButton",slot:"StartDecorator",overridesResolver:(e,t)=>t.startDecorator})({"--Icon-margin":"0 0 0 calc(var(--Button-gap) / -2)","--CircularProgress-margin":"0 0 0 calc(var(--Button-gap) / -2)",display:"inherit",marginRight:"var(--Button-gap)"}),WF=ce("span",{name:"JoyButton",slot:"EndDecorator",overridesResolver:(e,t)=>t.endDecorator})({"--Icon-margin":"0 calc(var(--Button-gap) / -2) 0 0","--CircularProgress-margin":"0 calc(var(--Button-gap) / -2) 0 0",display:"inherit",marginLeft:"var(--Button-gap)"}),KF=ce("span",{name:"JoyButton",slot:"LoadingCenter",overridesResolver:(e,t)=>t.loadingIndicatorCenter})(({theme:e,ownerState:t})=>{var n,r,o,i;return L({display:"inherit",position:"absolute",left:"50%",transform:"translateX(-50%)",color:(n=e.variants[t.variant])==null||(r=n[t.color])==null?void 0:r.color},t.disabled&&{color:(o=e.variants[`${t.variant}Disabled`])==null||(i=o[t.color])==null?void 0:i.color})}),qF=ce("button",{name:"JoyButton",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e,ownerState:t})=>{var n,r,o,i;return[L({"--Icon-margin":"initial","--CircularProgress-size":"var(--Icon-fontSize)"},t.size==="sm"&&{"--Icon-fontSize":"1.25rem","--Button-gap":"0.375rem",minHeight:"var(--Button-minHeight, 2rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"2px",paddingInline:"0.75rem"},t.size==="md"&&{"--Icon-fontSize":"1.5rem","--Button-gap":"0.5rem",minHeight:"var(--Button-minHeight, 2.5rem)",fontSize:e.vars.fontSize.sm,paddingBlock:"0.25rem",paddingInline:"1rem"},t.size==="lg"&&{"--Icon-fontSize":"1.75rem","--Button-gap":"0.75rem",minHeight:"var(--Button-minHeight, 3rem)",fontSize:e.vars.fontSize.md,paddingBlock:"0.375rem",paddingInline:"1.5rem"},{WebkitTapHighlightColor:"transparent",borderRadius:`var(--Button-radius, ${e.vars.radius.sm})`,margin:"var(--Button-margin)",border:"none",backgroundColor:"transparent",cursor:"pointer",display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",textDecoration:"none",transition:"background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${i}px !important;
height: ${a}px !important;
top: ${s}px !important;
left: ${l}px !important;
}
`),()=>{document.head.removeChild(u)}},[t]),R(mj,{isPresent:t,childRef:r,sizeRef:o,children:k.exports.cloneElement(e,{ref:r})})}const Pm=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Nu(vj),l=k.exports.useId(),u=k.exports.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;r&&r()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[n]);return k.exports.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[n]),k.exports.useEffect(()=>{!n&&!s.size&&r&&r()},[n]),a==="popLayout"&&(e=R(gj,{isPresent:n,children:e})),R(Bu.Provider,{value:u,children:e})};function vj(){return new Map}const wa=e=>e.key||"";function yj(e,t){e.forEach(n=>{const r=wa(n);t.set(r,n)})}function xj(e){const t=[];return k.exports.Children.forEach(e,n=>{k.exports.isValidElement(n)&&t.push(n)}),t}const bj=({children:e,custom:t,initial:n=!0,onExitComplete:r,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{o&&(a="wait",V3(!1,"Replace exitBeforeEnter with mode='wait'"));let[s]=hj();const l=k.exports.useContext(Uy).forceRender;l&&(s=l);const u=IT(),c=xj(e);let d=c;const f=new Set,h=k.exports.useRef(d),p=k.exports.useRef(new Map).current,m=k.exports.useRef(!0);if(gf(()=>{m.current=!1,yj(c,p),h.current=d}),e1(()=>{m.current=!0,p.clear(),f.clear()}),m.current)return R(ln,{children:d.map(y=>R(Pm,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:i,mode:a,children:y},wa(y)))});d=[...d];const x=h.current.map(wa),g=c.map(wa),v=x.length;for(let y=0;y<v;y++){const S=x[y];g.indexOf(S)===-1&&f.add(S)}return a==="wait"&&f.size&&(d=[]),f.forEach(y=>{if(g.indexOf(y)!==-1)return;const S=p.get(y);if(!S)return;const b=x.indexOf(y),w=()=>{p.delete(y),f.delete(y);const C=h.current.findIndex(P=>P.key===y);if(h.current.splice(C,1),!f.size){if(h.current=c,u.current===!1)return;s(),r&&r()}};d.splice(b,0,R(Pm,{isPresent:!1,onExitComplete:w,custom:t,presenceAffectsLayout:i,mode:a,children:S},wa(S)))}),d=d.map(y=>{const S=y.key;return f.has(S)?y:R(Pm,{isPresent:!0,presenceAffectsLayout:i,mode:a,children:y},wa(y))}),N3!=="production"&&a==="wait"&&d.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),R(ln,{children:f.size?d:d.map(y=>k.exports.cloneElement(y))})};function wj(){let e=!1;const t=[],n=new Set,r={subscribe(o){return n.add(o),()=>void n.delete(o)},start(o,i){if(e){const a=[];return n.forEach(s=>{a.push(pT(s,o,{transitionOverride:i}))}),Promise.all(a)}else return new Promise(a=>{t.push({animation:[o,i],resolve:a})})},set(o){return n.forEach(i=>{TV(i,o)})},stop(){n.forEach(o=>{MV(o)})},mount(){return e=!0,t.forEach(({animation:o,resolve:i})=>{r.start(...o).then(i)}),()=>{e=!1,r.stop()}}};return r}function Na(){const e=Nu(wj);return k.exports.useEffect(e.mount,[]),e}function v1(e,t,n=!0){const r=String(e),o=k.exports.useRef("null"),i=k.exports.useRef({called:!0,_func:null,set func(a){a!==this._func&&(this._func=a,this.called=!1)},fire(){this.called||(this._func(),this.called=!0)}});k.exports.useEffect(()=>{o.current!==r&&t.transitions[r]&&(typeof t.transitions[r][o.current]=="function"?i.current.func=t.transitions[r][o.current]:typeof t.transitions[r].any=="function"&&(i.current.func=t.transitions[r].any)),n&&i.current.fire(),o.current=r},[r,n,t.transitions]),k.exports.useEffect(()=>{var a,s,l,u;n?(s=(a=t==null?void 0:t.visibility)==null?void 0:a.show)==null||s.call():(u=(l=t==null?void 0:t.visibility)==null?void 0:l.hide)==null||u.call()},[n,t==null?void 0:t.visibility])}var Sj=/d{1,4}|D{3,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|W{1,2}|[LlopSZN]|"[^"]*"|'[^']*'/g,Cj=/\b(?:[A-Z]{1,3}[A-Z][TC])(?:[-+]\d{4})?|((?:Australian )?(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time)\b/g,kj=/[^-+\dA-Z]/g;function Ej(e,t,n,r){if(arguments.length===1&&typeof e=="string"&&!/\d/.test(e)&&(t=e,e=void 0),e=e||e===0?e:new Date,e instanceof Date||(e=new Date(e)),isNaN(e))throw TypeError("Invalid date");t=String(t
* Splide.js
* Version : 4.1.3
* License : MIT
* Copyright: 2022 Naotoshi Fujita
*//*!
* @splidejs/splide-extension-grid
* Version : 0.4.1
* License : MIT
* Copyright: 2022 Naotoshi Fujita
*/function jU(e){e.length=0}function z1(e,t,n){return Array.prototype.slice.call(e,t,n)}function oh(e){return e.bind.apply(e,[null].concat(z1(arguments,1)))}function B1(e,t){return typeof t===e}var wA=Array.isArray;oh(B1,"function");oh(B1,"string");oh(B1,"undefined");function SA(e){return wA(e)?e:[e]}function xS(e,t){SA(e).forEach(t)}var UU=Object.keys;function WU(e,t,n){if(e){var r=UU(e);r=n?r.reverse():r;for(var o=0;o<r.length;o++){var i=r[o];if(i!=="__proto__"&&t(e[i],i)===!1)break}}return e}function KU(e){return z1(arguments,1).forEach(function(t){WU(t,function(n,r){e[r]=t[r]})}),e}var CA="splide";function qU(){var e=[];function t(a,s,l,u){o(a,s,function(c,d,f){var h="addEventListener"in c,p=h?c.removeEventListener.bind(c,d,l,u):c.removeListener.bind(c,l);h?c.addEventListener(d,l,u):c.addListener(l),e.push([c,d,f,l,p])})}function n(a,s,l){o(a,s,function(u,c,d){e=e.filter(function(f){return f[0]===u&&f[1]===c&&f[2]===d&&(!l||f[3]===l)?(f[4](),!1):!0})})}function r(a,s,l){var u,c=!0;return typeof CustomEvent=="function"?u=new CustomEvent(s,{bubbles:c,detail:l}):(u=document.createEvent("CustomEvent"),u.initCustomEvent(s,c,!1,l)),a.dispatchEvent(u),u}function o(a,s,l){xS(a,function(u){u&&xS(s,function(c){c.split(" ").forEach(function(d){var f=d.split(".");l(u,f[0],f[1])})})})}function i(){e.forEach(function(a){a[4]()}),jU(e)}return{bind:t,unbind:n,dispatch:r,destroy:i}}var GU="visible",YU="hidden",Dm="refresh",XU="updated",JU="destroy";function kA(e){var t=e?e.event.bus:document.createDocumentFragment(),n=qU();function r(i,a){n.bind(t,SA(i).join(" "),function(s){a.apply(a,wA(s.detail)?s.detail:[])})}function o(i){n.dispatch(t,i,z1(arguments,1))}return e&&e.event.on(JU,n.destroy),KU(n,{bus:t,on:r,off:oh(n.unbind,t),emit:o})}var QU=CA,ih=CA+"__slide",ZU=ih+"__container";function bS(e){e.length=0}function ah(e,t,n){return Array.prototype.slice.call(e,t,n)}function N1(e){return e.bind(null,...ah(arguments,1))}function sh(e,t){return typeof t===e}function eW(e){return!j1(e)&&sh("object",e)}const V1=Array.isArray;N1(sh,"function");const H1=N1(sh,"string"),tW=N1(sh,"undefined");function j1(e){return e===null}function nW(e){return e instanceof HTMLElement}function U1(e){return V1(e)?e:[e]}function ks(e,t){U1(e).forEach(t)}function wS(e,t){return e.push(...U1(t)),e}function EA(e,t,n){e&&ks(t,r=>{r&&e.classList[n?"add":"remove"](r)})}function Vg(e,t){EA(e,H1(t)?t.split(" "):t,!0)}function Ed(e,t){ks(t,e.appendChild.bind(e))}function rW(e,t){return nW(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function oW(e,t){const n=e?ah(e.children):[];return t?n.filter(r=>rW(r,t)):n}function SS(e,t){return t?oW(e,t)[0]:e.firstElementChild}const PA=Object.keys;function TA(e,t,n){if(e){let r=PA(e);r=n?r.reverse():r;for(let o=0;o<r.length;o++){const i=r[o];if(i!=="__proto__"&&t(e[i],i)===!1)break}}return e}function iW(e){return ah(arguments,1).forEach(t=>{TA(t,(n,r)=>{e[r]=t[r]})}),e}function aW(e,t){U1(t||PA(e)).forEach(n=>{delete e[n]})}function Hg(e,t){ks(e,n=>{ks(t,r=>{n&&n.removeAttribute(r)})})}function W1(e,t,n){eW(t)?TA(t,(r,o)=>{W1(e,o,r)}):ks(e,r=>{j1(n)||n===""?Hg(r,t):r.setAttribute(t,String(n))})}function CS(e,t,n){const r=document.createElement(e);return t&&(H1(t)?Vg(r,t):W1(r,t)),n&&Ed(n,r),r}function uo(e,t,n){if(tW(n))return getComputedStyle(e)[t];j1(n)||(e.style[t]=`${n}`)}function sW(e,t){return e&&e.classList.contains(t)}function lW(e){ks(e,t=>{t&&t.parentNode&&t.parentNode.removeChild(t)})}function kS(e,t){return t?ah(e.querySelectorAll(t)):[]}function ES(e,t){EA(e,t,!1)}function Nc(e){return H1(e)?e:e?`${e}px`:""}const uW="splide";function cW(e,t){if(!e)throw new Error(`[${uW}] ${t||""}`)}const{min:dW,max:lee,floor:uee,ceil:cee,abs:dee}=Math;function fW(e){return e<10?`0${e}`:`${e}`}const AA=`${ih}__row`,jg=`${ih}--col`,pW={rows:1,cols:1,dimensions:[],gap:{}};function hW(e){function t(){const{rows:o,cols:i,dimensions:a}=e;return V1(a)&&a.length?a:[[o,i]]}function n(o){const i=t();return i[dW(o,i.length-1)]}function r(o){const i=t();let a,s,l=0;for(let u=0;u<i.length;u++){const c=i[u];if(a=c[0]||1,s=c[1]||1,l+=a*s,o<l)bre
if(l!==u.current)return;await v.path.start({translateX:h.x,d:f[3],transition:{ease:fo,duration:o*Gt.menu[1]}});//!
if(l===u.current)return await v.path.start({d:f[0],transition:{ease:fo,delay:.1,duration:o*Gt.menu[0]}})}},searching:{async default(){return v.svg.start({left:0,transition:{ease:MW,duration:o*Gt.smashToSide[0]}}),await v.path.start({translateX:0,d:f[1],transition:{ease:"linear",duration:o*Gt.smashToSide[0]}}),await v.path.start({translateY:0,d:f[2],transition:{ease:zW,duration:o*Gt.smashToSide[1]}}),t()}},opened:{async default(){return v.svg.start({left:"50%",transition:{ease:fo,duration:o*Gt.menu[0]}}),await v.path.start({d:f[3],transition:{ease:fo,duration:o*Gt.menu[0]}}),await v.path.start({translateX:0,d:f[4],transition:{ease:fo,delay:.1,duration:o*Gt.menu[1]}}),v.topMenu.start({translateY:0,transition:{ease:fo,duration:o*Gt.menu[2]}}),await v.bottomMenu.start({translateY:0,transition:{ease:fo,duration:o*Gt.menu[2]}}),d(!0)}}}}),[v,o,f,l,h,t]);return v1(l,y,e),se("div",{className:Hc.container,style:{"--menu-offset":i/2+"px",visibility:e?"visible":"hidden"},children:[R("div",{className:Hc.wrapper,children:R(rr.div,{initial:{translateY:"100%"},animate:v.topMenu,children:R(Dj,{})})}),R(rr.svg,{initial:{left:"50%"},animate:v.svg,className:Hc.svg,viewBox:"0 0 0.5 1",children:R(rr.path,{initial:{translateX:h.x,d:f[0]},animate:v.path,stroke:a,strokeWidth:i,fill:"#0000",strokeLinecap:"round",strokeLinejoin:"round",vectorEffect:"non-scaling-stroke"})}),R("div",{className:Hc.wrapper,children:R(rr.div,{initial:{translateY:"-100%"},animate:v.bottomMenu,children:R($W,{visibility:e,fullVisibility:c})})})]})}function jW(e,t=null){if(t){for(const n of window.CONFIG.macros)if(t===n.normalisedURL)return{options:n,command:null}}else for(const n of window.CONFIG.macros)for(const r of n.triggers)if(e.startsWith(r)){if(e===r)return{options:n,command:null};{const o=UW(e.slice(r.length));if(typeof n.commands=="object"&&o&&Object.prototype.hasOwnProperty.call(n.commands,o.type))return{options:n,command:o}}}return null}function UW(e){let t=null;const n=window.CONFIG.commands.sort((r,o)=>r.trigger.length>o.trigger.length);for(const r of n)e.startsWith(r.trigger)&&(t={...r,args:e.slice(r.trigger.length)});return t}function WW(e){const t=new RegExp(/^[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)$/);return!!e.match(t)}function KW(e){if(!WW(e))return null;let t;try{t=new URL(MT(e))}catch{return null}return qW(t.hostname)}function qW(e){const n=e.slice(0,e.lastIndexOf(".")).lastIndexOf(".")+1;return e.slice(n)}function GW(e){let t=0;for(let n=0;n<e.length;n++)t+=e.charCodeAt(n);return t}const OA=63,DA=-10,YW=Math.floor((100-(OA+1+DA))/2);function DS(e,t=!1,n=!0){typeof e=="string"&&(e=GW(e));const r=e*137.508,o=(e&OA)+DA+YW;let i=70;return t&&(i=40),n?`hsl(${r},${o}%,${i}%)`:[r,o,i]}//!
const XW="#f2f2f2",gx=class{constructor(t,n,r,o,i,a=!1){this.value=t,this._type=n,this.origin=r,this.engine=o,this.colorScheme=i,a||(this.normalisedURL=KW(this.value),this.macro=jW(this.value,this.normalisedURL))}get type(){let t=this._type;return this.macro&&(t="macro",this.macro.command&&(t="command")),this.normalisedURL&&(this.macro||(t="redirect")),t}get url(){let t=null,n=this.engine.types.query.template;return this.engine.types[this._type]&&(n=this.engine.types[this._type].template),t=n.replace("{@}",encodeURIComponent(this.origin)).replace("{$}",encodeURIComponent(this.value)),this.macro&&(t=this.macro.options.url,this.macro.command&&(t=this.command.template.replace("{@}",this.macro.options.url).replace("{$}",encodeURIComponent(this.macro.command.args)))),this.normalisedURL&&(t=this.value),t}get label(){let t=null;return t="search",gx.specialTypes.includes(this.type)&&(t=this.type),this.macro&&(t=this.macro.options.name,this.macro.command&&(t=this.macro.command.type,this.command.description&&(t=this.command.description))),this.normalisedURL&&(this.macro||(t="redirect")),t}get marquee(){let t=null;return t=this.engine.name,this.macro&&(t=this.macro.options.name),this.normalisedURL&&(this.macro||(t=this.normalisedURL)),t}get bgColor(){let t=null;if(t=this.engine.bgColor,this.macro&&(t=this.macro.options.bgColor),this.normalisedURL&&!this.macro){const n=this.colorScheme==="dark";t={type:"gradient",gradientType:"linear",colors:[DS(this.normalisedURL,n),DS(this.normalisedURL+"1",n)]}}return t}get textColor(){let t=null;return t=this.engine.textColor,this.macro&&(t=this.macro.options.textColor),this.normalisedURL&&(this.macro||(t=XW)),t}get command(){return this.macro.options.commands[this.macro.command.type]}};let Pd=gx;pn(Pd,"specialTypes",["calculator","currency"]);function RA(e,t="query",n,r=!1){const o=k.exports.useContext(Kn),i=window.CONFIG.engines[o.general.searchEngine],a=o.query.forceSearchEngineOnCtrl,s=k.exports.useContext(Hy),l=zT("Control"),u=a&&l,c=k.exports.useMemo(()=>new Pd(e,t,n,i,s,u),[e,t,n,i,s,u]),d=k.exports.useRef(c);return r||(d.current=c),[d.current,l]}function JW(e){return $t({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zm0-2a8 8 0 1 0 0-16 8 8 0 0 0 0 16zm-1-5h2v2h-2v-2zm0-8h2v6h-2V7z"}}]}]})(e)}function QW(e){return $t({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"g",attr:{},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M18 18v2H6v-2h12zm3-7v2H3v-2h18zm-3-7v2H6V4h12z"}}]}]})(e)}const ZW="_container_nc56x_1",eK="_title_nc56x_25",tK="_description_nc56x_51",Lm={container:ZW,title:eK,description:tK};function nK({title:e,description:t,type:n}){let r=null;switch(n){case"warning":r=R(JW,{size:"1.5em"})}return se("div",{className:Lm.container+" "+n,children:[se("div",{className:Lm.title,children:[r,e]}),t&&R("div",{className:Lm.description,children:t})]})}var LA={};function rK(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(LA,"__esModule",{value:!0});var po=k.exports;function oK(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var el=oK(po);/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Rf=function(){return Rf=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},Rf.apply(this,arguments)};rK(`.marquee-container {
overflow-x: hidden !important;
display: flex !important;
flex-direction: row !important;
position: relative;
width: 100%;
}
.marquee-container:hover div {
animation-play-state: var(--pause-on-hover);
}
.marquee-container:active div {
animation-play-state: var(--pause-on-click);
}
.overlay {
position: absolute;
width: 100%;
height: 100%;
}
.overlay::before, .overlay::after {
background: linear-gradient(to right, var(--gradient-color));
content: "";
height: 100%;
position: absolute;
width: var(--gradient-width);
z-index: 2;
}
.overlay::after {
right: 0;
top: 0;
transform: rotateZ(180deg);
}
.overlay::before {
left: 0;
top: 0;
}
.marquee {
flex: 0 0 auto;
min-width: 100%;
z-index: 1;
display: flex;
flex-direction: row;
align-items: center;
animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
animation-play-state: var(--play);
animation-delay: var(--delay);
animation-direction: var(--direction);
}
@keyframes scroll {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}`);var iK=function(e){var t,n,r,o,i=e.style,a=i===void 0?{}:i,s=e.className,l=s===void 0?"":s,u=e.play,c=u===void 0?!0:u,d=e.pauseOnHover,f=d===void 0?!1:d,h=e.pauseOnClick,p=h===void 0?!1:h,m=e.direction,x=m===void 0?"left":m,g=e.speed,v=g===void 0?20:g,y=e.delay,S=y===void 0?0:y,b=e.loop,w=b===void 0?0:b,C=e.gradient,P=C===void 0?!0:C,A=e.gradientColor,O=A===void 0?[255,255,255]:A,_=e.gradientWidth,D=_===void 0?200:_,$=e.onFinish,z=e.onCycleComplete,F=e.children,N=po.useState(0),H=N[0],M=N[1],V=po.useState(0),I=V[0],E=V[1],T=po.useState(!1),Z=T[0],J=T[1],ee=po.useRef(null),j=po.useRef(null);po.useEffect(function(){if(!!Z){var q=function(){j.current&&ee.current&&(M(ee.current.getBoundingClientRect().width),E(j.current.getBoundingClientRect().width))};return q(),window.addEventListener("resize",q),function(){window.removeEventListener("resize",q)}}},[Z]),po.useEffect(function(){J(!0)},[]);var te="rgba("+O[0]+", "+O[1]+", "+O[2],le=I<H?H/v:I/v;return el.default.createElement(po.Fragment,null,Z?el.default.createElement("div",{ref:ee,style:Rf(Rf({},a),(t={},t["--pause-on-hover"]=!c||f?"paused":"running",t["--pause-on-click"]=!c||f&&!p||p?"paused":"running",t)),className:l+" marquee-container"},P&&el.default.createElement("div",{style:(n={},n["--gradient-color"]=te+", 1), "+te+", 0)",n["--gradient-width"]=typeof D=="number"?D+"px":D,n),className:"overlay"}),el.default.createElement("div",{ref:j,style:(r={},r["--play"]=c?"running":"paused",r["--direction"]=x==="left"?"normal":"reverse",r["--duration"]=le+"s",r["--delay"]=S+"s",r["--iteration-count"]=w?""+w:"infinite",r),className:"marquee",onAnimationIteration:z,onAnimationEnd:$},F),el.default.createElement("div",{style:(o={},o["--play"]=c?"running":"paused",o["--direction"]=x==="left"?"normal":"reverse",o["--duration"]=le+"s",o["--delay"]=S+"s",o["--iteration-count"]=w?""+w:"infinite",o),className:"marquee","aria-hidden":"true"},F)):null)},aK=LA.default=iK;const sK="_viewport_16qa1_17",lK="_container_16qa1_49",uK="_marquee_16qa1_61",cK="_row_16qa1_77",Wc={viewport:sK,"bg-animation":"_bg-animation_16qa1_1",container:lK,marquee:uK,row:cK};function dK({width:e,height:t,color:n,marqueeText:r="",marqueeSpeed:o=25,marqueeAngle:i=330,lineDensity:a=15,rowDensity:s=6,textColor:l="#d2d2d2",textSize:u="5vmin",textOpacity:c=.2,style:d={}}){const h=k.exports.useContext(Kn).chevron.quickLook.marquee;let p=null;if(r&&h){const g=[],v=[];for(let y=0;y<a;y++)v.push(R("div",{children:r},y));for(let y=0;y<(r.length<5?s*2:s);y++)g.push(R("div",{className:Wc.row,children:[...v]},y));p=R(aK,{className:Wc.marquee,gradient:!1,speed:o,children:[...g]})}const x={"--diagonal":Math.sqrt(Math.pow(e,2)+Math.pow(t,2))+"px","--rotation-angle":i+"deg","--text-color":l,"--text-size":u,"--text-opacity":c,"--secondary":_A(n)};return R("div",{className:Wc.viewport,style:{...x,...d},children:R("div",{className:Wc.container,children:p})})}const fK="_svg_3l95s_1",pK="_label_3l95s_35",Kc={svg:fK,"clip-container":"_clip-container_3l95s_17","label-container":"_label-container_3l95s_35",label:pK},Oi={open:[2.5],forward:[1,1],close:[1]};function hK({visibility:e,onAnimationEnd:t}){const n=k.exports.useContext(Kn),r=k.exports.useContext(zp),o=n.general.animationSpeed/1e3,i=n.chevron.thickness,a=r.chevron,s=n.chevron.quickLook.topCurvature,l=n.chevron.quickLook.bottomCurvature,u=n.chevron.quickLook.fontSize,c=n.chevron.quickLook.showMacrosLabel,d=n.query.notifyAboutForcedSearchEngine,f=Mn(z=>z.mode),h=Mn(z=>z.query),p=Mn(z=>z.redirected),m=Mn(z=>z.selectedSuggestion),[x,g]=k.exports.useState(h);k.exports.useEffect(()=>{h&&g(h)},[h]);const[v,y]=RA(m?m.suggestion:x,m?m.type:void 0,x,p);let S=v.label;v.type==="macro"&&!c&&(S="");const b=k.exports.useMemo(()=>[ye("M",[0,.5])+ye("c",[0,0,0,0,0,.5])+ye("c",[0,0,0,0,0,-.5])+ye("M",[0,.5])+ye("c",[0,0,0,0,0,-.5])+ye("c",[0,0,0,0,0,.5]),ye("M",[0,.5])+ye("c",[0,0,0,0,0,.5])+ye("c",[0,-l,.5,-s,.5,-.5])+ye("M",[0,.5])+ye("c",[0,0,0,0,0,-.5])+ye("c",[0,l,.5,s,.5,.5]),z=>ye("M",[0,.5])+ye("c",[0,0,0,0,0,.5])+ye("c",[0,-l,.5,-s,z*2,-.5])+ye("M",[0,.5])+ye("c",[0,0,0,0,0,-.5])+ye("c",
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&Sq[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},VS=Symbol("internals");function nl(e){return e&&String(e).trim().toLowerCase()}function Ad(e){return e===!1||e==null?e:W.isArray(e)?e.map(Ad):String(e)}function kq(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Eq(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function HS(e,t,n,r){if(W.isFunction(r))return r.call(this,t,n);if(!!W.isString(t)){if(W.isString(r))return t.indexOf(r)!==-1;if(W.isRegExp(r))return r.test(t)}}function Pq(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Tq(e,t){const n=W.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class dh{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,l,u){const c=nl(l);if(!c)throw new Error("header name must be a non-empty string");const d=W.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=Ad(s))}const a=(s,l)=>W.forEach(s,(u,c)=>i(u,c,l));return W.isPlainObject(t)||t instanceof this.constructor?a(t,n):W.isString(t)&&(t=t.trim())&&!Eq(t)?a(Cq(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=nl(t),t){const r=W.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return kq(o);if(W.isFunction(n))return n.call(this,o,r);if(W.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=nl(t),t){const r=W.findKey(this,t);return!!(r&&(!n||HS(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=nl(a),a){const s=W.findKey(r,a);s&&(!n||HS(r,r[s],s,n))&&(delete r[s],o=!0)}}return W.isArray(t)?t.forEach(i):i(t),o}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(t){const n=this,r={};return W.forEach(this,(o,i)=>{const a=W.findKey(r,i);if(a){n[a]=Ad(o),delete n[i];return}const s=t?Pq(i):String(i).trim();s!==i&&delete n[i],n[s]=Ad(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return W.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&W.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[VS]=this[VS]={accessors:{}}).accessors,o=this.prototype;function i(a){const s=nl(a);r[s]||(Tq(o,a),r[s]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}}dh.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);W.freezeMethods(dh.prototype);W.freezeMethods(dh);const ko=dh;function Nm(e,t){const n=this||Q1,r=t||n,o=ko.from(r.headers);let i=r.data;return W.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function t4(e){return!!(e&&e.__CANCEL__)}function Zu(e,t,n){_e.call(this,e==null?"canceled":e,_e.ERR_CANCELED,t,n),this.name="CanceledError"}W.inherits(Zu,_e,{__CANCEL__:!0});const Aq=null;function _q(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new _e("Request failed with status code "+n.status,[_e.ERR_BAD_REQUEST,_e.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Oq=Gr.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,a,s){const l=[];l.push(n+"="+encodeURIComponent(r)),W.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),W.isString(i)&&l.push("path="+i),W.isString(a)&&l.push("domain="+a),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Dq(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Rq(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function n4(e,t){return e&&!Dq(t)?Rq(e,t):t}const Lq=Gr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const s=W.isString(a)?o(a):a;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function Iq(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function $q(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=r[i];a||(a=u),n[o]=l,r[o]=u;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-a<t)return;const h=c&&u-c;return h?Math.round(f*1e3/h):void 0}}function jS(e,t){let n=0;const r=$q(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s),u=i<=a;n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&u?(a-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Mq=typeof XMLHttpRequest<"u",Fq=Mq&&function(e){return new Promise(function(n,r){let o=e.data;const i=ko.from(e.headers).normalize(),a=e.responseType;let s;function l(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}W.isFormData(o)&&(Gr.isStandardBrowserEnv||Gr.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let u=new XMLHttpRequest;if(e.auth){const h=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(h+":"+p))}const c=n4(e.baseURL,e.url);u.open(e.method.toUpperCase(),QA(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const h=ko.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:h,config:e,request:u};_q(function(g){n(g),l()},function(g){r(g
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var u4=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)};function Ll(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?tC(e.position):"start"in e||"end"in e?tC(e):"line"in e||"column"in e?Zg(e):""}function Zg(e){return nC(e&&e.line)+":"+nC(e&&e.column)}function tC(e){return Zg(e&&e.start)+"-"+Zg(e&&e.end)}function nC(e){return e&&typeof e=="number"?e:1}class gr extends Error{constructor(t,n,r){const o=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?o[1]=r:(o[0]=r.slice(0,a),o[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(i=n.position):"start"in n||"end"in n?i=n:("line"in n||"column"in n)&&(i.start=n)),this.name=Ll(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=o[0],this.ruleId=o[1],this.file,this.actual,this.expected,this.url,this.note}}gr.prototype.file="";gr.prototype.name="";gr.prototype.reason="";gr.prototype.message="";gr.prototype.stack="";gr.prototype.fatal=null;gr.prototype.column=null;gr.prototype.line=null;gr.prototype.source=null;gr.prototype.ruleId=null;gr.prototype.position=null;const Vr={basename:mG,dirname:gG,extname:vG,join:yG,sep:"/"};function mG(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');ec(e);let n=0,r=-1,o=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else a<0&&(i=!0,a=o+1),s>-1&&(e.charCodeAt(o)===t.charCodeAt(s--)?s<0&&(r=o):(s=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function gG(e){if(ec(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function vG(e){ec(e);let t=e.length,n=-1,r=0,o=-1,i=0,a;for(;t--;){const s=e.charCodeAt(t);if(s===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),s===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function yG(...e){let t=-1,n;for(;++t<e.length;)ec(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":xG(n)}function xG(e){ec(e);const t=e.charCodeAt(0)===47;let n=bG(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function bG(e,t){let n="",r=0,o=-1,i=0,a=-1,s,l;for(;++a<=e.length;){if(a<e.length)s=e.charCodeAt(a);else{if(s===47)break;s=47}if(s===47){if(!(o===a-1||i===1))if(o!==a-1&&i===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),o=a,i=0;continue}}else if(n.length>0){n="",r=0,o=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),r=a-o-1;o=a,i=0}else s===46&&i>-1?i++:i=-1}return n}function ec(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const wG={cwd:SG};function SG(){return"/"}function ev(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function CG(e){if(typeof e=="string")e=new URL(e);else if(!ev(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return kG(e)}function kG(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;
`;break}case-3:{a=`\r
`;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(i)}o=i===-2,r.push(a)}return r.join("")}const pX={[42]:gn,[43]:gn,[45]:gn,[48]:gn,[49]:gn,[50]:gn,[51]:gn,[52]:gn,[53]:gn,[54]:gn,[55]:gn,[56]:gn,[57]:gn,[62]:m4},hX={[91]:vY},mX={[-2]:Ym,[-1]:Ym,[32]:Ym},gX={[35]:CY,[42]:Rd,[45]:[kC,Rd],[60]:TY,[61]:kC,[95]:Rd,[96]:SC,[126]:SC},vX={[38]:v4,[92]:g4},yX={[-5]:Xm,[-4]:Xm,[-3]:Xm,[33]:jY,[38]:v4,[42]:ov,[60]:[YG,RY],[91]:WY,[92]:[wY,g4],[93]:ox,[95]:ov,[96]:sY},xX={null:[ov,aX]},bX={null:[42,95]},wX={null:[]},SX=Object.freeze(Object.defineProperty({__proto__:null,document:pX,contentInitial:hX,flowInitial:mX,flow:gX,string:vX,text:yX,insideSpan:xX,attentionMarkers:bX,disable:wX},Symbol.toStringTag,{value:"Module"}));function CX(e={}){const t=IG([SX].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(HG),document:r(UG),flow:r(oX),string:r(sX),text:r(lX)};return n;function r(o){return i;function i(a){return cX(n,o,a)}}}const EC=/[\0\t\n\r]/g;function kX(){let e=1,t="",n=!0,r;return o;function o(i,a,s){const l=[];let u,c,d,f,h;for(i=t+i.toString(a),d=0,t="",n&&(i.charCodeAt(0)===65279&&d++,n=void 0);d<i.length;){if(EC.lastIndex=d,u=EC.exec(i),f=u&&u.index!==void 0?u.index:i.length,h=i.charCodeAt(f),!u){t=i.slice(d);break}if(h===10&&d===f&&r)l.push(-3),r=void 0;else switch(r&&(l.push(-5),r=void 0),d<f&&(l.push(i.slice(d,f)),e+=f-d),h){case 0:{l.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,l.push(-2);e++<c;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:r=!0,e=1}d=f+1}return s&&(r&&l.push(-5),t&&l.push(t),l.push(null)),l}}function EX(e){for(;!y4(e););return e}function k4(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"\uFFFD":String.fromCharCode(n)}const PX=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function TX(e){return e.replace(PX,AX)}function AX(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return k4(n.slice(i?2:1),i?16:10)}return rx(n)||e}const E4={}.hasOwnProperty,_X=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),OX(n)(EX(CX(n).document().write(kX()(e,t,!0))))};function OX(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(Ne),autolinkProtocol:_,autolinkEmail:_,atxHeading:s(et),blockQuote:s(ne),characterEscape:_,characterReference:_,codeFenced:s(Ae),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:s(Ae,l),codeText:s(Q,l),codeTextData:_,data:_,codeFlowValue:_,definition:s(de),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:s(De),hardBreakEscape:s(ft),hardBreakTrailing:s(ft),htmlFlow:s(tn,l),htmlFlowData:_,htmlText:s(tn,l),htmlTextData:_,image:s(br),label:l,link:s(Ne),listItem:s(Xe),listItemValue:p,listOrdered:s(wt,h),listUnordered:s(wt),paragraph:s(Tt),reference:ee,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:s(et),strong:s(St),thematicBreak:s(ue)},exit:{atxHeading:c(),atxHeadingSequence:C,autolink:c(),autolinkEmail:G,autolinkProtocol:q,blockQuote:c(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:te,characterReferenceMarkerNumeric:te,characterReferenceValue:le,codeFenced:c(v),codeFencedFence:g,codeFencedFenceInfo:m,codeFencedFenceMeta:x,codeFlowValue:D,codeIndented:c(y),codeText:c(H),codeTextData:D,data:D,definition:c(),definitionDestinationString:w,definitionLabelString:S,definitionTitleString:b,emphasis:c(),hardBreakEscape:c(z),hardBreakTrailing:c(z),htmlFlow:c(F),htmlFlowData:D,htmlText:c(N),htmlTextData:D,image:c(V),label:E,labelText:I,lineEnding:$,link:c(M),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:j,resourceDestinationString:T,resourceTitleString:Z,resource:J,setextHeading:c(O),setextHeadingLineSequence:A,setextHeadingText:P,strong:c(),thematicBreak:c()}};P4(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(B){let U={type:"root",children:
`}]}function $X(e,t){const n=t.value?t.value+`
`:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function MX(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function FX(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Is(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&Fn(e.charCodeAt(n+1))&&Fn(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const s=e.charCodeAt(n+1);i<56320&&s>56319&&s<57344?(a=String.fromCharCode(i,s),o=1):a="\uFFFD"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function T4(e,t){const n=String(t.identifier).toUpperCase(),r=Is(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;o===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],s={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,s);const l={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,l),e.applyData(t,l)}function zX(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},T4(e,{type:"footnoteReference",identifier:o,position:t.position})}function BX(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function NX(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function A4(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function VX(e,t){const n=e.definition(t.identifier);if(!n)return A4(e,t);const r={src:Is(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}function HX(e,t){const n={src:Is(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function jX(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function UX(e,t){const n=e.definition(t.identifier);if(!n)return A4(e,t);const r={href:Is(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function WX(e,t){const n={href:Is(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function KX(e,t,n){const r=e.all(t),o=n?qX(n):_4(t),i={},a=[];if(typeof t.checked=="boolean"){const c=r[0];let d;c&&c.type==="element"&&c.tagName==="p"?d=c:(d={type:"element",tagName:"p",properties:{},children:[]},r.unshift(d)),d.children.length>0&&d.children.unshift({type:"text",value:" "}),d.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",check
`}),c.type==="element"&&c.tagName==="p"&&!o?a.push(...c.children):a.push(c)}const l=r[r.length-1];l&&(o||l.type!=="element"||l.tagName!=="p")&&a.push({type:"text",value:`
`});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)}function qX(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=_4(n[r])}return t}function _4(e){const t=e.spread;return t==null?e.children.length>1:t}function GX(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const a=r[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function YX(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function XX(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function JX(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const ix=O4("start"),ax=O4("end");function QX(e){return{start:ix(e),end:ax(e)}}function O4(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function ZX(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),o.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=ix(t.children[1]),l=ax(t.children[t.children.length-1]);s.line&&l.line&&(a.position={start:s,end:l}),o.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function eJ(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,s=a?a.length:t.children.length;let l=-1;const u=[];for(;++l<s;){const d=t.children[l],f={},h=a?a[l]:void 0;h&&(f.align=h);let p={type:"element",tagName:i,properties:f,children:[]};d&&(p.children=e.all(d),e.patch(d,p),p=e.applyData(t,p)),u.push(p)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function tJ(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const TC=9,AC=32;function nJ(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(_C(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(_C(t.slice(o),o>0,!1)),i.join("")}function _C(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===TC||i===AC;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===TC||i===AC;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function rJ(e,t){const n={type:"text",value:nJ(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function oJ(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const iJ={blockquote:LX,break:IX,code:$X,delete:MX,emphasis:FX,footnoteReference:T4,footnote:zX,heading:BX,html:NX,imageReference:VX,image:HX,inlineCode:jX,linkReference:UX,link:WX,listItem:KX,list:GX,paragraph:YX,root:XX,strong:JX,table:ZX,tableCell:tJ,tableRow:eJ,text:rJ,thematicBreak:oJ,toml:Yc,yaml:Yc,definition:Yc,footnoteDefinition:Yc};function Yc(){return null}const D4=function(e){if(e==null)return uJ;if(typeof e=="string")return lJ(e);if(typeof e=="object")return Array.isArray(e)?aJ(e):sJ(e);if(typeof e=="function")return ph(e);throw new Error("Expected function, string, or object as test")};function aJ(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=D4(e[n]);return ph(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].call(this,...o))return!0;return!1}}function sJ(e){return ph(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function lJ(e){return ph(t);function t(n){return n&&n.type===e}}function ph(e){return t;function t(n,...r){return Boolean(n&&typ
`});++r<e.length;)r&&n.push({type:"text",value:`
`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
`}),n}function wJ(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const o=e.all(r),i=String(r.identifier).toUpperCase(),a=Is(i.toLowerCase());let s=0;const l=[];for(;++s<=e.footnoteCounts[i];){const d={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};s>1&&d.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(s)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(d)}const u=o[o.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const d=u.children[u.children.length-1];d&&d.type==="text"?d.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...l)}else o.push(...l);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,c),t.push(c)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:`
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:`
`}]}}function L4(e,t){const n=gJ(e,t),r=n.one(e,null),o=wJ(n);return o&&r.children.push({type:"text",value:`
`},o),Array.isArray(r)?{type:"root",children:r}:r}const SJ=function(e,t){return e&&"run"in e?kJ(e,t):EJ(e||t)},CJ=SJ;function kJ(e,t){return(n,r,o)=>{e.run(L4(n,t),r,i=>{o(i)})}}function EJ(e){return t=>L4(t,e)}class tc{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}tc.prototype.property={};tc.prototype.normal={};tc.prototype.space=null;function I4(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new tc(n,r,t)}function iv(e){return e.toLowerCase()}class vr{constructor(t,n){this.property=t,this.attribute=n}}vr.prototype.space=null;vr.prototype.boolean=!1;vr.prototype.booleanish=!1;vr.prototype.overloadedBoolean=!1;vr.prototype.number=!1;vr.prototype.commaSeparated=!1;vr.prototype.spaceSeparated=!1;vr.prototype.commaOrSpaceSeparated=!1;vr.prototype.mustUseProperty=!1;vr.prototype.defined=!1;let PJ=0;const Se=pa(),ht=pa(),$4=pa(),X=pa(),Ge=pa(),ns=pa(),Dn=pa();function pa(){return 2**++PJ}const av=Object.freeze(Object.defineProperty({__proto__:null,boolean:Se,booleanish:ht,overloadedBoolean:$4,number:X,spaceSeparated:Ge,commaSeparated:ns,commaOrSpaceSeparated:Dn},Symbol.toStringTag,{value:"Module"})),Jm=Object.keys(av);class ux extends vr{constructor(t,n,r,o){let i=-1;if(super(t,n),LC(this,"space",o),typeof r=="number")for(;++i<Jm.length;){const a=Jm[i];LC(this,Jm[i],(r&av[a])===av[a])}}}ux.prototype.defined=!0;function LC(e,t,n){n&&(e[t]=n)}const TJ={}.hasOwnProperty;function $s(e){const t={},n={};let r;for(r in e.properties)if(TJ.call(e.properties,r)){const o=e.properties[r],i=new ux(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[iv(r)]=r,n[iv(i.attribute)]=r}return new tc(t,n,e.space)}const M4=$s({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),F4=$s({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function z4(e,t){return t in e?e[t]:t}function B4(e,t){return z4(e,t.toLowerCase())}const N4=$s({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:B4,properties:{xmlns:null,xmlnsXLink:null}}),V4=$s({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ht,ariaAutoComplete:null,ariaBusy:ht,ariaChecked:ht,ariaColCount:X,ariaColIndex:X,ariaColSpan:X,ariaControls:Ge,ariaCurrent:null,ariaDescribedBy:Ge,ariaDetails:null,ariaDisabled:ht,ariaDropEffect:Ge,ariaErrorMessage:null,ariaExpanded:ht,ariaFlowTo:Ge,ariaGrabbed:ht,ariaHasPopup:null,ariaHidden:ht,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ge,ariaLevel:X,ariaLive:null,ariaModal:ht,ariaMultiLine:ht,ariaMultiSelectable:ht,ariaOrientation:null,ariaOwns:Ge,ariaPlaceholder:null,ariaPosInSet:X,ariaPressed:ht,ariaReadOnly:ht,ariaRelevant:null,ariaRequired:ht,ariaRoleDescription:Ge,ariaRowCount:X,ariaRowIndex:X,ariaRowSpan:X,ariaSelected:ht,ariaSetSize:X,ariaSort:null,ariaValueMax:X,ariaValueMin:X,ariaValueNow:X,ariaValueText:null,role:null}}),AJ=$s({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:B4,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:ns,acceptCharset:Ge,accessKey:Ge,action:null,allow:null,allowFullScreen:Se,allowPaymentRequest:Se,allowUserMedia:Se,alt:null,as:null,async:Se,autoCapitalize:null,autoComplete:Ge,autoFocus:Se,autoPlay:Se,capture:Se,charSet:null,checked:Se,cite:null,className:Ge,cols:X,colSpan:null,content:null,contentEditable:ht,controls:Se,controlsList:Ge,coords:X|ns,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Se,defer:Se,dir:null,dirName:null,disabled:Se,download:$4,draggable:ht,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Se,formTarget:null,headers:Ge,height:X,hidden:Se,high:X,href:null,
* @license React
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var cx=Symbol.for("react.element"),dx=Symbol.for("react.portal"),hh=Symbol.for("react.fragment"),mh=Symbol.for("react.strict_mode"),gh=Symbol.for("react.profiler"),vh=Symbol.for("react.provider"),yh=Symbol.for("react.context"),zJ=Symbol.for("react.server_context"),xh=Symbol.for("react.forward_ref"),bh=Symbol.for("react.suspense"),wh=Symbol.for("react.suspense_list"),Sh=Symbol.for("react.memo"),Ch=Symbol.for("react.lazy"),BJ=Symbol.for("react.offscreen"),j4;j4=Symbol.for("react.module.reference");function yr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case cx:switch(e=e.type,e){case hh:case gh:case mh:case bh:case wh:return e;default:switch(e=e&&e.$$typeof,e){case zJ:case yh:case xh:case Ch:case Sh:case vh:return e;default:return t}}case dx:return t}}}Be.ContextConsumer=yh;Be.ContextProvider=vh;Be.Element=cx;Be.ForwardRef=xh;Be.Fragment=hh;Be.Lazy=Ch;Be.Memo=Sh;Be.Portal=dx;Be.Profiler=gh;Be.StrictMode=mh;Be.Suspense=bh;Be.SuspenseList=wh;Be.isAsyncMode=function(){return!1};Be.isConcurrentMode=function(){return!1};Be.isContextConsumer=function(e){return yr(e)===yh};Be.isContextProvider=function(e){return yr(e)===vh};Be.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===cx};Be.isForwardRef=function(e){return yr(e)===xh};Be.isFragment=function(e){return yr(e)===hh};Be.isLazy=function(e){return yr(e)===Ch};Be.isMemo=function(e){return yr(e)===Sh};Be.isPortal=function(e){return yr(e)===dx};Be.isProfiler=function(e){return yr(e)===gh};Be.isStrictMode=function(e){return yr(e)===mh};Be.isSuspense=function(e){return yr(e)===bh};Be.isSuspenseList=function(e){return yr(e)===wh};Be.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===hh||e===gh||e===mh||e===bh||e===wh||e===BJ||typeof e=="object"&&e!==null&&(e.$$typeof===Ch||e.$$typeof===Sh||e.$$typeof===vh||e.$$typeof===yh||e.$$typeof===xh||e.$$typeof===j4||e.getModuleId!==void 0)};Be.typeOf=yr;(function(e){e.exports=Be})(H4);const NJ=JC(H4.exports);function VJ(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function HJ(e){return e.join(" ").trim()}function jJ(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var fx={exports:{}},MC=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,UJ=/\n/g,WJ=/^\s*/,KJ=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,qJ=/^:\s*/,GJ=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,YJ=/^[;\s]*/,XJ=/^\s+|\s+$/g,JJ=`
`,FC="/",zC="*",Mi="",QJ="comment",ZJ="declaration",eQ=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function o(p){var m=p.match(UJ);m&&(n+=m.length);var x=p.lastIndexOf(JJ);r=~x?p.length-x:r+p.length}function i(){var p={line:n,column:r};return function(m){return m.position=new a(p),u(),m}}function a(p){this.start=p,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function s(p){var m=new Error(t.source+":"+n+":"+r+": "+p);if(m.reason=p,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function l(p){var m=p.exec(e);if(!!m){var x=m[0];return o(x),e=e.slice(x.length),m}}function u(){l(WJ)}function c(p){var m;for(p=p||[];m=d();)m!==!1&&p.push(m);return p}function d(){var p=i();if(!(FC!=e.charAt(0)||zC!=e.charAt(1))){for(var m=2;Mi!=e.charAt(m)&&(zC!=e.charAt(m)||FC!=e.charAt(m+1));)++m;if(m+=2,Mi===e.charAt(m-1))return s("End of comment missing");var x=e.slice(2,m-2);return r+=2,o(x),e=e.slice(m),r+=2,p({type:QJ,comment:x})}}function f(){var p=i(),m=l(KJ);if(!!m){if(d(),!l(qJ))return s("property missing ':'");var x=l(GJ),g=p({type:ZJ,property:BC(m[0].replace(MC,Mi)),value:x?BC(x[0].replace(MC,Mi)):Mi});return l(YJ),g}}function h(){var p=[];c(p);for(var m;m=f();)m!==!1&&(p.push(m),c(p));return p}return u(),h()};function BC(e){return e?e.replace(XJ,Mi):Mi}var tQ=eQ;function U4(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,o=tQ(e),i=typeof t=="function",a,s,l=0,u=o.length;l<u;l++)r=o[l],a=r.property,s=r.value,i?t(a,s,r):s&&(n||(n={}),n[a]=s);return n}fx.exports=U4;fx.exports.default=U4;const nQ=fx.exports,NC=["http","https","mailto","tel"];function rQ(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let o=-1;for(;++o<NC.length;){const i=NC[o];if(r===i.length&&t.slice(0,i.length).toLowerCase()===i)return t}return o=t.indexOf("?"),o!==-1&&r>o||(o=t.indexOf("#"),o!==-1&&r>o)?t:"javascript:void(0)"}const sv={}.hasOwnProperty,oQ=new Set(["table","thead","tbody","tfoot","tr"]);function W4(e,t){const n=[];let r=-1,o;for(;++r<t.children.length;)o=t.children[r],o.type==="element"?n.push(iQ(e,o,r,t)):o.type==="text"?(t.type!=="element"||!oQ.has(t.tagName)||!VJ(o))&&n.push(o.value):o.type==="raw"&&!e.options.skipHtml&&n.push(o.value);return n}function iQ(e,t,n,r){const o=e.options,i=o.transformLinkUri===void 0?rQ:o.transformLinkUri,a=e.schema,s=t.tagName,l={};let u=a,c;if(a.space==="html"&&s==="svg"&&(u=MJ,e.schema=u),t.properties)for(c in t.properties)sv.call(t.properties,c)&&sQ(l,c,t.properties[c],e);(s==="ol"||s==="ul")&&e.listDepth++;const d=W4(e,t);(s==="ol"||s==="ul")&&e.listDepth--,e.schema=a;const f=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},h=o.components&&sv.call(o.components,s)?o.components[s]:s,p=typeof h=="string"||h===Ze.Fragment;if(!NJ.isValidElementType(h))throw new TypeError(`Component for name \`${s}\` not defined or is not renderable`);if(l.key=[s,f.start.line,f.start.column,n].join("-"),s==="a"&&o.linkTarget&&(l.target=typeof o.linkTarget=="function"?o.linkTarget(String(l.href||""),t.children,typeof l.title=="string"?l.title:null):o.linkTarget),s==="a"&&i&&(l.href=i(String(l.href||""),t.children,typeof l.title=="string"?l.title:null)),!p&&s==="code"&&r.type==="element"&&r.tagName!=="pre"&&(l.inline=!0),!p&&(s==="h1"||s==="h2"||s==="h3"||s==="h4"||s==="h5"||s==="h6")&&(l.level=Number.parseInt(s.charAt(1),10)),s==="img"&&o.transformImageUri&&(l.src=o.transformImageUri(String(l.src||""),String(l.alt||""),typeof l.title=="string"?l.title:null)),!p&&s==="li"&&r.type==="element"){const m=aQ(t);l.checked=m&&m.properties?Boolean(m.properties.checked):null,l.index=Qm(r,t),l.ordered=r.tagName==="ol"}return!p&&(s==="ol"||s==="ul")&&(l.ordered=s==="ol",l.depth=e.listDepth),(s==="td"||s==="th")&&(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),p||(l.isHeader=s==="th")),!p&&s==="tr"&&r.type==="element"&&(l.isHeader=Boolean(r.tagName==="thead")),o.sourcePos&&(l[
`))if(r){const o=r.slice(r.indexOf(":")+2);let i;try{i=JSON.parse(o)}catch{}i&&typeof i.choices[0].delta.content=="string"&&(typeof n=="string"?n+=i.choices[0].delta.content:n=i.choices[0].delta.content,e(n))}return n}}function yQ(e,t){const n=JSON.parse(e);return t||(t={}),t.code=n.error.code,typeof t.message=="string"?t.message+=n.error.message:t.message=n.error.message,t}const xQ="_icon_cds68_49",HC={"md-container":"_md-container_cds68_1",icon:xQ};function bQ(e){let t={role:"system",content:`You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: 2021-09`};return t.content+=`
Current date and time: `+new Date().toLocaleString()+".",e&&(t.content+=`
Answer in `+e+" language."),t}function wQ({query:e,className:t}){const n=k.exports.useContext(Kn),r=n.query.AI.enabled,o=n.query.AI.apiKey,i=n.query.AI.temperature,a=n.query.AI.language,[s,l]=k.exports.useState(""),u=k.exports.useRef([]);return k.exports.useEffect(()=>{if(!r)return;let c=null;if(e){const d={content:e,role:"user"},f=[bQ(a),...u.current,d],h=mQ(l,f,i,o);h.promise.then(p=>u.current.push(d,p)).catch(p=>l(`## \u26A0\uFE0F ${p.code||"error"}
\`\`\`${p.message||"No description available \u2639\uFE0F"}\`\`\``)),c=h.controller}else l("");return()=>c&&c.abort()},[e,i,o,r,a]),!s||!r?null:se(ln,{children:[R(fQ,{className:HC.icon,onClick:c=>c.stopPropagation()}),R("div",{className:t,onClick:c=>c.stopPropagation(),children:R("div",{className:HC["md-container"],children:R(K4,{children:s})})})]})}function SQ(e,t){return new Promise(n=>{const r=document.createElement("script");document.querySelector("head").appendChild(r),r.src=e,window[t]=o=>{n(o),r.remove()}})}const CQ="https://www.google.com/complete/search";async function kQ(e,t){const n={q:e,client:"chrome-omni",hl:t,callback:"c"+new Date().getTime()};let r=CQ+"?";for(const i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r+=`${i}=${encodeURIComponent(n[i])}&`);const o=await SQ(r,n.callback);return o[1].map((i,a)=>{const s={suggestion:i,type:o[4]["google:suggesttype"][a].toLowerCase(),relevance:o[4]["google:suggestrelevance"][a]};return s.type==="calculator"&&(s.suggestion=s.suggestion.slice(2)),s})}const EQ="_container_znqbx_1",PQ="_field_znqbx_39",Jc={container:EQ,"ai-completion":"_ai-completion_znqbx_15",field:PQ},TQ=300;function AQ(){const e=k.exports.useContext(Kn),t=e.general.searchHistory,n=e.query.field.fontSize,r=e.query.suggestions.fontSize,o=e.query.field.caret,i=k.exports.useRef(null),a=Mn(w=>w.mode),s=Mn(w=>w.query),l=Mn(w=>w.selectedSuggestion),u=Bp(),c=qq(s,kQ),[d]=RA(l?l.suggestion:s,l?l.type:void 0,s),[f,h]=k.exports.useState(""),p=FT(),m=k.exports.useCallback(()=>{t&&d._type==="query"&&Ha.add({id:d.value,type:d._type}),p(d.url,"main")},[d,t,p]),x=k.exports.useCallback(w=>{if(Yo.get("QueryField").has(a)){//!
const C=w.replace(/\s{2,}/g," ");C!==s&&(h(""),u({query:C,selectedSuggestion:null}))}},[a,s,u]),g=k.exports.useCallback(w=>{switch(w.key){case"Enter":Yo.get("QueryField").has(a)&&(m(),w.preventDefault());break;case"Escape":u({query:""}),h("");break;default:if(Yo.get("Suggestions").has(a)&&DW.get("Suggestions").has(w.key)){switch(w.key){case"ArrowUp":u({selectedSuggestion:jC(c,l,"prev")});break;case"ArrowDown":u({selectedSuggestion:jC(c,l,"next")});break}w.preventDefault()}}},[a,u,m,c,l]);k.exports.useEffect(()=>(window.addEventListener("keydown",g),()=>window.removeEventListener("keydown",g)),[g]);const v=k.exports.useRef(-1),y=k.exports.useCallback(w=>{Yo.get("QueryField").has(a)&&(w.code==="Space"&&(Date.now()-v.current<TQ&&h(s),v.current=Date.now()),document.activeElement!==i.current&&i.current.focus())},[s,a]);k.exports.useEffect(()=>(window.addEventListener("keypress",y),()=>window.removeEventListener("keypress",y)),[y]),k.exports.useEffect(()=>{const w=()=>{document.activeElement!==i.current&&i.current.focus()};return document.addEventListener("click",w),()=>document.removeEventListener("click",w)},[]),k.exports.useEffect(()=>{i.current.blur(),i.current.focus()},[]);const S={"--font-size":n+"em","--font-size-suggestions":r+"em"},b=R("input",{ref:i,value:d.value,className:Go(Jc.field,!l&&Jc.selected),onChange:w=>x(w.target.value),style:{opacity:d.value?1:0,caretColor:o?void 0:"transparent"}});return se("div",{className:Jc.container,style:S,children:[R(wQ,{query:f,className:Jc["ai-completion"]}),b,d.value&&R(hG,{queryMode:e.appearance.style,buttonMode:e.appearance.style,suggestions:c,selectedSuggestion:l,onRedirect:m,setSelected:w=>u({selectedSuggestion:w})})]})}function jC(e,t,n){const r=e.indexOf(t);let o=null;if(typeof n=="number")o=n;else if(n==="next")o=r+1;else if(n==="prev")o=(r===-1?e.length:r)-1;else throw new Error("unknown option");return o<0||o>=e.length?null:e[o]}const _Q=k.exports.memo(AQ);function UC({title:e,isPlaceholder:t=!1,onApply:n,onCancel:r}){const o=Object.assign({zIndex:10},t?{visibility:"hidden"}:{maxHeight:0});return R(Or,{sx:o,children:se(Or,{sx:i=>({p:1,display:"flex",justifyContent:"space-between",alignItems:"center",boxShadow:"0px 5px 10px #0003",background:`rgba(${i.vars.palette.neutral.mainChannel} / 0.4)`,backdropFilter:"blur(10px)"}),children:[R($P,{onClick:n}),R(ys,{level:"h3",sx:{mx:2},textAlign:"center",children:e}),R(MP,{onClick:r})]})})}function OQ(e,t){let n=e.replace(/([A-Z])/g," $1");return n=n.toLowerCase(),t&&(n=n.charAt(0).toUpperCase()+n.slice(1)),n}function DQ({template:e,current:t,path:n,isThemeColor:r=!1,onChange:o}){const i=OQ(n.slice(n.lastIndexOf(".")+1),!r),a=cu(e,n);return se(Or,{sx:{display:"flex",justifyContent:"flex-start",alignItems:"center",height:"2em"},children:[R(ys,{level:"body1",sx:{mr:5},children:i}),R(Or,{sx:{ml:"auto",display:"flex"},children:a.render(t,n,o)})]})}function q4({path:e,template:t,current:n,hidden:r,onChange:o,visibility:i=!0}){const a=e.split("."),s=a.length>1,l=a[a.length-1],[u,c]=k.exports.useState(!s),d=cu(t,e)instanceof Ma,[f,h]=k.exports.useState(d?document.body.getAttribute("data-color-scheme")||"light":""),p=f?e+"."+f:e;return se(ln,{children:[se(Or,{onClick:s?()=>c(m=>!m):null,sx:{display:i?"flex":"none",alignItems:"center",cursor:s?"pointer":void 0,px:2,py:1},children:[R(ys,{level:s?"h5":"h4",sx:{textTransform:d?void 0:"capitalize"},children:l}),d&&R(LQ,{selected:f,onSetSelected:()=>h(m=>m==="light"?"dark":"light")}),s&&R(Gi,{variant:"plain",color:"neutral",sx:{ml:"auto"},children:R(q8,{size:"1.5em",style:u?{transform:"rotate(90deg)"}:null})})]}),u&&R(mF,{variant:"solid",sx:m=>({maxHeight:u?void 0:"0px",background:m.vars.palette.background.level1,borderRadius:s?void 0:"12px",borderLeft:s?"1px solid black":void 0,borderColor:s?"divider":void 0,overflow:"hidden",mb:s?u?1:0:2,py:s?0:void 0,ml:s?2:0}),children:R(RQ,{template:t,current:n,path:p,isThemeColor:d,hidden:r,onChange:o})})]})}function RQ({template:e,current:t,path:n,isThemeColor:r=!1,hidden:o,onChange:i}){const a=n.indexOf(".")!==-1,s=cu(e,n),l=[];for(const u in s){const
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Xt={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},Tn={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},Ms={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},JQ={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},QQ=function(t){switch(t){case Xt.Mobile:return{isMobile:!0};case Xt.Tablet:return{isTablet:!0};case Xt.SmartTv:return{isSmartTV:!0};case Xt.Console:return{isConsole:!0};case Xt.Wearable:return{isWearable:!0};case Xt.Browser:return{isBrowser:!0};case Xt.Embedded:return{isEmbedded:!0};default:return JQ}},ZQ=function(t){return Y4(t)},me=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return t||n},hx=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},mx=function(t){var n=hx();return n&&n.platform&&(n.platform.indexOf(t)!==-1||n.platform==="MacIntel"&&n.maxTouchPoints>1&&!window.MSStream)},eZ=function(t,n,r,o,i){return{isBrowser:t,browserMajorVersion:me(n.major),browserFullVersion:me(n.version),browserName:me(n.name),engineName:me(r.name),engineVersion:me(r.version),osName:me(o.name),osVersion:me(o.version),userAgent:me(i)}},XC=function(t,n,r,o){return BQ({},t,{vendor:me(n.vendor),model:me(n.model),os:me(r.name),osVersion:me(r.version),ua:me(o)})},tZ=function(t,n,r,o){return{isSmartTV:t,engineName:me(n.name),engineVersion:me(n.version),osName:me(r.name),osVersion:me(r.version),userAgent:me(o)}},nZ=function(t,n,r,o){return{isConsole:t,engineName:me(n.name),engineVersion:me(n.version),osName:me(r.name),osVersion:me(r.version),userAgent:me(o)}},rZ=function(t,n,r,o){return{isWearable:t,engineName:me(n.name),engineVersion:me(n.version),osName:me(r.name),osVersion:me(r.version),userAgent:me(o)}},oZ=function(t,n,r,o,i){return{isEmbedded:t,vendor:me(n.vendor),model:me(n.model),engineName:me(r.name),engineVersion:me(r.version),osName:me(o.name),osVersion:me(o.version),userAgent:me(i)}};function iZ(e){var t=e?rc(e):X4,n=t.device,r=t.browser,o=t.engine,i=t.os,a=t.ua,s=QQ(n.type),l=s.isBrowser,u=s.isMobile,c=s.isTablet,d=s.isSmartTV,f=s.isConsole,h=s.isWearable,p=s.isEmbedded;if(l)return eZ(l,r,o,i,a);if(d)return tZ(d,o,i,a);if(f)return nZ(f,o,i,a);if(u||c)return XC(s,n,i,a);if(h)return rZ(h,o,i,a);if(p)return oZ(p,n,o,i,a)}var J4=function(t){var n=t.type;return n===Xt.Mobile},Q4=function(t){var n=t.type;return n===Xt.Tablet},Z4=function(t){var n=t.type;return n===Xt.Mobile||n===Xt.Tablet},e_=function(t){var n=t.type;return n===Xt.SmartTv},Ff=function(t){var n=t.type;return n===Xt.Browser},t_=function(t){var n=t.type;return n===Xt.Wearable},n_=function(t){var n=t.type;return n===Xt.Console},r_=function(t){var n=t.type;return n===Xt.Embedded},o_=function(t){var n=t.vendor;return me(n)},i_=function(t){var n=t.model;return me(n)},a_=function(t){var n=t.type;return me(n,"browser")},s_=function(t){var n=t.name;return n===Ms.Android},l_=function(t){var n=t.name;return n===Ms.Windows},u_=function(t){var n=t.name;return n===Ms.MAC_OS},c_=function(t){var n=t.name;return n===Ms.WindowsPhone},d_=function(t){var n=t.name;return n===Ms.IOS},f_=function(t){var n=t.version;return me(n)},p_=function(t){var n=t.name;return me(n)},h_=function(t){var n=t.name;return n===Tn.Chrome},m_=function(t){var n=t.name;return n===Tn.Firefox},g_=function(t){var n=t.name;return n===Tn.Chromium},zf=function(t){var n=t.name;return n===Tn.Edge},v_=function(t){var n=t.name;return n===Tn.Yandex},y_=function(t){var n=t.name;return n===Tn.Safari||n===Tn.MobileSafari},x_=function(t){var n=t.name;return n===Tn.MobileSafari},b_=function(t){var n=t.name;return n===Tn.Opera},w_=function(t){var n=t.name;return n===Tn.InternetExplorer||n===Tn.Ie},S
</script>
<style>
@font-face{font-family:Onest;src:url(data:font/ttf;base64,AAEAAAASAQAABAAgRFNJRwAAAAEAAWs4AAAACEdERUYUihWRAAABLAAAALJHUE9T6TKdqgAAAeAAAB8uR1NVQlxJlnMAACEQAAAdBE9TLzLoEt1mAAA+FAAAAGBjbWFw6SSl/QAAPnQAAAYsY3Z0ICjmCREAAVvoAAAAhGZwZ21iLv99AAFcbAAADgxnYXNwAAAAEAABW+AAAAAIZ2x5Zp/rAIgAAESgAAEBBmhlYWQmUP5lAAFFqAAAADZoaGVhDqMLOgABReAAAAAkaG10eOEaPqYAAUYEAAAFCGxvY2EOzc4qAAFLDAAAAoZtYXhwBHwReAABTZQAAAAgbmFtZUZQgwMAAU20AAAGRnBvc3Q/+VbMAAFT/AAAB+RwcmVwNV+FVAABangAAAC9AAEAAAAMAAAAAAAAAAIAGwACACUAAQAmACYAAwAnAJYAAQCXAJcAAgCYAKIAAQCjAKMAAgCkAKQAAQClAKUAAgCmAKYAAQCnAKkAAgCqAKoAAQCrAKsAAgCsALQAAQC1ALYAAgC3APMAAQD0APUAAgD2APcAAQD4APsAAgD8APwAAQD+AP4AAgD/AQIAAQEDAQMAAgEEAQUAAQEKAQsAAQEOARIAAQEVARgAAQEvAUEAAQAAAAEAAAAKAHoA0AADREZMVAAUY3lybAAgbGF0bgAsAAQAAAAA//8AAQAAAAQAAAAA//8AAQABABwABEFaRSAAJE1PTCAALFJPTSAANFRSSyAAPAAA//8AAQAGAAD//wABAAIAAP//AAEAAwAA//8AAQAEAAD//wABAAUAB2tlcm4ALGtlcm4AMmtlcm4AOGtlcm4APmtlcm4ARGtlcm4ASmtlcm4AUAAAAAEAAAAAAAEAAAAAAAEAAAAAAAEAAAAAAAEAAAAAAAEAAAAAAAEAAAABAAQAAgAAAAQADhfmG44dmgABFt4ABAAAAHsBAAEOASABlgGcAi4CxAMiA4gEOgSgBM4FiAWaBbgFuAXGBewF8gYEBg4GBAZQBr4HLAeGB8AHzgfYCBoIhAimCUAJSgnoCooLOAtWC3gLhgvEC+4MFAw2DFQLxAvEDHIMgAyaDPQM/g1cDhIOKA7WDtwPkg/UD+oQLBBuELARbg+SD5IRsBG+EdgR2AyAEg4SSBJIEmISrBK6EtATHhMsE3YMgAyADIASDhOQE84UBBRCFHgUuhTIFRYVRBVKFWQVShWKBgQV1BY6FkAWShZQFm4WdBZ0DIAVShMeDPQVShOQFUoVShMeE5AVShMeFooWzA7cC4YAAwAO/7AAtv/EANgAKAAEACIAFAA0ABQAQwAUAEYAFAAdABT/5wAb/+cAIv/iACP/zgAn/+IAKP/iAEP/4gBFABQARgAUAHQAFACP/+cAkP/nAJL/5wCi/+IAqf/nAKr/5wCr/+cAv//iAMT/5wDb/+IA3//nAOH/5wDm/+cA6v/nAQP/4gEV/+IBFv/iARf/4gEY/+cAAQA7ACgAJAAO/84AEAAKABH/sAAUAAoAGwAKACAAFAAiACgAIwAUACcACgAoAAoANAAUAEMAKABG/8QAdP/YAI8ACgCQAAoAkgAKAJMAFACX//YAogAeAKkACgCqAAoAqwAKALb/2AC/AAoAxAAKANsACgDfAAoA4QAKAOYACgDqAAoBAwAKARUACgEWAAoBFwAKARgACgAlABD/5wAR//EAFP/2ABv/9gAi/8QAI//OACf/7AAo/+wAQ//EAEUAFABGABQAj//2AJD/9gCS//YAk//2AJwACgCdAAoAnwAKAKEACgCi/84Aqf/2AKr/9gCr//YAv//sAMT/9gDb/+wA3//2AOAACgDh//YA5v/2AOkACgDq//YBA//sARX/7AEW/+wBF//sARj/9gAXABH/7AAU//YAG//2ACf/9gAo//YAj//2AJD/9gCS//YAqf/2AKr/9gCr//YAv//2AMT/9gDb//YA3//2AOH/9gDm//YA6v/2AQP/9gEV//YBFv/2ARf/9gEY//YAGQAU//YAG//2ACL/xAAj//YAJ//sACj/7ABD/8QAj//2AJD/9gCS//YAqf/2AKr/9gCr//YAv//sAMT/9gDb/+wA3//2AOH/9gDm//YA6v/2AQP/7AEV/+wBFv/sARf/7AEY//YALAAD/7AAFP/OABj/7AAZ/+wAGv/sABv/zgAc/+wAIP/sACL/sAAj/84AJ//OACj/zgA0/+wAOwAoAEEAFABD/7AARQAKAEYAFACP/84AkP/OAJL/zgCV/+wAnP/nAJ3/5wCf/+cAof/nAKL/sACp/84Aqv/OAKv/zgC//84AxP/OANv/zgDf/84A4P/nAOH/zgDm/84A6f/nAOr/zgED/84BFf/OARb/zgEX/84BGP/OABkAA//EABT/5wAi/9gAI//iACf/3QAo/90ALgAoADsAKABBABQAQ//YAEUACgBGABQAnP/7AJ3/+wCf//sAof/7AKL/4gC//90A2//dAOD/+wDp//sBA//dARX/3QEW/90BF//dAAsAIgAUADQAFAA7ACgAQwAUAEYAFACc/+cAnf/iAJ//5wCh/+cA4P/iAOn/4gAuABT/ugAY/+IAGf/iABr/4gAb/7oAHP/iAB3/4gAf/+wAIP/iACL/sAAj/8QAJ/+6ACj/ugA0/+IAOwAoAEP/sABGABQAj/+6AJD/ugCR/+wAkv+6AJX/4gCX/+wAnP/sAJ3/7ACf/+wAof/sAKL/pgCp/7oAqv+6AKv/ugC1/+wAv/+6AMT/ugDb/7oA3/+6AOD/7ADh/7oA5v+6AOn/7ADq/7oBA/+6ARX/ugEW/7oBF/+6ARj/ugAEAC4AKAA0AB4AOwAUAEYAFAAHABQACgAf//YARf/sAI8ACgCR//YAl//7ALD/7AADADsAKABFABQARgAUAAkAH//2AEX/7ACPAAoAkf/sAJf/+wCw/+wAxv/sAOj/7AD0/+wAAQCTABQABAAi/+IAQ//iAEUAKABGACgAAgBFACgARgAoABAAFP/2ABv/9gBFACgARgAoAI//9gCQ//YAkv/2AKn/9gCq//YAq//2AMT/9gDf//YA4f/2AOb/9gDq//YBGP/2ABsAA//OAA3/zgAO/7AAEf+wAB3/4gAjAB4ARf/OAEb/zgBH/84ASP/OAFkAKABy/7AAdP+wAHkAHgB8/+wAgf/OAIP/sACX/+IAmP/iAJz/7ACd/+wAn//sAKH/7AC2/9gAuQAUAOD/7ADp/+wAGwAD/84ADf/EAA7/sAAR/7AAHf/iACMAHgBF/84ARv/OAEf/zgBI/84AWQAoAHL/sAB0/7AAeQAeAHz/7ACB/84Ag/+wAJf/4gCY/+IAnP/sAJ3/7ACf/+wAof/sALb/2AC5ABQA4P/sAOn/7AAWAA3/9gAO/84AEf/EAB3/4gAfAAUAIgAeACMADwAu/+wANAAUAEMAHgBG/9gAdP/OAJf/4gCc/+4Anf/uAJ//7gCh/+4AogAUALX/7AC2/9gA4P/uAOn/7gAOABIAKAATACgAI//sAGIAKAByABQAdAAoAIAAFACDABQAkQAoAKL/sAC2ACgAxgAoAOgAKAD0ACgAAwAz/y4AcgAeAIAAHgACADP/4gA8/7oAEAAHACgADgAoABAAKAARACgAEgAUABYAKAAXACgAWQAoAHIAKABzACgAdAAoAHkAKACAACgAkwAoAJgAFAC2ACgAGgA8/y4AVwAoAFkAPABaACgAWwAoAFwAKABfACgAYQAoAGMAFABkACgAZf/sAGYAKABnACgAaQAoAGoAKABrACgAbAAoAHkAPACMACgAmQAUAJoAFACbABQAwAAUAMIAFAEHACgBGAAUAAgADgAUAFkAKAByACgAdAAoAHkAKACAACgAkwAoALYAFAAmAAP/zgAN/8QADv+wABH/sAAd/+IAIwAeAEX/zgBG/84AR//OAEj/zgBVABQAWQA8AFoAFABeACgAYv/YAGX/2ABtACgAcv+wAHMAFAB0/7AAeAAUAHkAKAB7ABQAfP/sAIH/zgCD/7AAi
</style>
</head>
<body>
<div id="root"></div>
<script src="config.js"></script>
<script src="icons.js"></script>
</body>
</html>