600 lines
350 KiB
JavaScript
600 lines
350 KiB
JavaScript
function Gm(e,t){return t.forEach(function(n){n&&typeof n!="string"&&!Array.isArray(n)&&Object.keys(n).forEach(function(r){if(r!=="default"&&!(r in e)){var i=Object.getOwnPropertyDescriptor(n,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return n[r]}})}})}),Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Qm=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}};Qm();var b={exports:{}},se={};/**
|
|
* @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 Mi=Symbol.for("react.element"),Ym=Symbol.for("react.portal"),Km=Symbol.for("react.fragment"),Xm=Symbol.for("react.strict_mode"),Zm=Symbol.for("react.profiler"),qm=Symbol.for("react.provider"),Jm=Symbol.for("react.context"),e0=Symbol.for("react.forward_ref"),t0=Symbol.for("react.suspense"),n0=Symbol.for("react.memo"),r0=Symbol.for("react.lazy"),sc=Symbol.iterator;function i0(e){return e===null||typeof e!="object"?null:(e=sc&&e[sc]||e["@@iterator"],typeof e=="function"?e:null)}var dd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},pd=Object.assign,hd={};function Rr(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||dd}Rr.prototype.isReactComponent={};Rr.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")};Rr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function md(){}md.prototype=Rr.prototype;function Ks(e,t,n){this.props=e,this.context=t,this.refs=hd,this.updater=n||dd}var Xs=Ks.prototype=new md;Xs.constructor=Ks;pd(Xs,Rr.prototype);Xs.isPureReactComponent=!0;var uc=Array.isArray,vd=Object.prototype.hasOwnProperty,Zs={current:null},gd={key:!0,ref:!0,__self:!0,__source:!0};function yd(e,t,n){var r,i={},o=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)vd.call(t,r)&&!gd.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(l===1)i.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];i.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)i[r]===void 0&&(i[r]=l[r]);return{$$typeof:Mi,type:e,key:o,ref:a,props:i,_owner:Zs.current}}function o0(e,t){return{$$typeof:Mi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function qs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mi}function a0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var cc=/\/+/g;function qa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?a0(""+e.key):t.toString(36)}function ho(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Mi:case Ym:a=!0}}if(a)return a=e,i=i(a),e=r===""?"."+qa(a,0):r,uc(i)?(n="",e!=null&&(n=e.replace(cc,"$&/")+"/"),ho(i,t,n,"",function(u){return u})):i!=null&&(qs(i)&&(i=o0(i,n+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(cc,"$&/")+"/")+e)),t.push(i)),1;if(a=0,r=r===""?".":r+":",uc(e))for(var l=0;l<e.length;l++){o=e[l];var s=r+qa(o,l);a+=ho(o,t,n,s,i)}else if(s=i0(e),typeof s=="function")for(e=s.call(e),l=0;!(o=e.next()).done;)o=o.value,s=r+qa(o,l++),a+=ho(o,t,n,s,i);else if(o==="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 Bi(e,t,n){if(e==null)return e;var r=[],i=0;return ho(e,r,"","",function(o){return t.call(n,o,i++)}),r}function l0(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 lt={current:null},mo={transition:null},s0={ReactCurrentDispatcher:lt,ReactCurrentBatchConfig:mo,ReactCurrentOwner:Zs};se.Children={map:Bi,forEach:function(e,t,n){Bi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Bi(e,function(){t++}),t},toArray:function(e){return Bi(e,function(t){return t})||[]},only:function(e){if(!qs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};se.Component=Rr;se.Fragment=Km;se.Profiler=Zm;se.PureComponent=Ks;se.StrictMode=Xm;se.Suspense=t0;se.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=s0;se.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=pd({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=Zs.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)vd.call(t,s)&&!gd.hasOwnProperty(s)&&(r[s]=t[s]===void 0&&l!==void 0?l[s]:t[s])}var s=arguments.length-2;if(s===1)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Mi,type:e.type,key:i,ref:o,props:r,_owner:a}};se.createContext=function(e){return e={$$typeof:Jm,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:qm,_context:e},e.Consumer=e};se.createElement=yd;se.createFactory=function(e){var t=yd.bind(null,e);return t.type=e,t};se.createRef=function(){return{current:null}};se.forwardRef=function(e){return{$$typeof:e0,render:e}};se.isValidElement=qs;se.lazy=function(e){return{$$typeof:r0,_payload:{_status:-1,_result:e},_init:l0}};se.memo=function(e,t){return{$$typeof:n0,type:e,compare:t===void 0?null:t}};se.startTransition=function(e){var t=mo.transition;mo.transition={};try{e()}finally{mo.transition=t}};se.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};se.useCallback=function(e,t){return lt.current.useCallback(e,t)};se.useContext=function(e){return lt.current.useContext(e)};se.useDebugValue=function(){};se.useDeferredValue=function(e){return lt.current.useDeferredValue(e)};se.useEffect=function(e,t){return lt.current.useEffect(e,t)};se.useId=function(){return lt.current.useId()};se.useImperativeHandle=function(e,t,n){return lt.current.useImperativeHandle(e,t,n)};se.useInsertionEffect=function(e,t){return lt.current.useInsertionEffect(e,t)};se.useLayoutEffect=function(e,t){return lt.current.useLayoutEffect(e,t)};se.useMemo=function(e,t){return lt.current.useMemo(e,t)};se.useReducer=function(e,t,n){return lt.current.useReducer(e,t,n)};se.useRef=function(e){return lt.current.useRef(e)};se.useState=function(e){return lt.current.useState(e)};se.useSyncExternalStore=function(e,t,n){return lt.current.useSyncExternalStore(e,t,n)};se.useTransition=function(){return lt.current.useTransition()};se.version="18.2.0";b.exports=se;var He=b.exports,fc=Gm({__proto__:null,default:He},[b.exports]),Js={exports:{}},St={},xd={exports:{}},wd={};/**
|
|
* @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(V,z){var B=V.length;V.push(z);e:for(;0<B;){var oe=B-1>>>1,P=V[oe];if(0<i(P,z))V[oe]=z,V[B]=P,B=oe;else break e}}function n(V){return V.length===0?null:V[0]}function r(V){if(V.length===0)return null;var z=V[0],B=V.pop();if(B!==z){V[0]=B;e:for(var oe=0,P=V.length,T=P>>>1;oe<T;){var N=2*(oe+1)-1,W=V[N],C=N+1,q=V[C];if(0>i(W,B))C<P&&0>i(q,W)?(V[oe]=q,V[C]=B,oe=C):(V[oe]=W,V[N]=B,oe=N);else if(C<P&&0>i(q,B))V[oe]=q,V[C]=B,oe=C;else break e}}return z}function i(V,z){var B=V.sortIndex-z.sortIndex;return B!==0?B:V.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,f=null,p=3,g=!1,v=!1,x=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(V){for(var z=n(u);z!==null;){if(z.callback===null)r(u);else if(z.startTime<=V)r(u),z.sortIndex=z.expirationTime,t(s,z);else break;z=n(u)}}function k(V){if(x=!1,m(V),!v)if(n(s)!==null)v=!0,ee(E);else{var z=n(u);z!==null&&X(k,z.startTime-V)}}function E(V,z){v=!1,x&&(x=!1,h(F),F=-1),g=!0;var B=p;try{for(m(z),f=n(s);f!==null&&(!(f.expirationTime>z)||V&&!j());){var oe=f.callback;if(typeof oe=="function"){f.callback=null,p=f.priorityLevel;var P=oe(f.expirationTime<=z);z=e.unstable_now(),typeof P=="function"?f.callback=P:f===n(s)&&r(s),m(z)}else r(s);f=n(s)}if(f!==null)var T=!0;else{var N=n(u);N!==null&&X(k,N.startTime-z),T=!1}return T}finally{f=null,p=B,g=!1}}var w=!1,O=null,F=-1,M=5,L=-1;function j(){return!(e.unstable_now()-L<M)}function H(){if(O!==null){var V=e.unstable_now();L=V;var z=!0;try{z=O(!0,V)}finally{z?re():(w=!1,O=null)}}else w=!1}var re;if(typeof d=="function")re=function(){d(H)};else if(typeof MessageChannel!="undefined"){var ue=new MessageChannel,te=ue.port2;ue.port1.onmessage=H,re=function(){te.postMessage(null)}}else re=function(){S(H,0)};function ee(V){O=V,w||(w=!0,re())}function X(V,z){F=S(function(){V(e.unstable_now())},z)}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(V){V.callback=null},e.unstable_continueExecution=function(){v||g||(v=!0,ee(E))},e.unstable_forceFrameRate=function(V){0>V||125<V?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<V?Math.floor(1e3/V):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(V){switch(p){case 1:case 2:case 3:var z=3;break;default:z=p}var B=p;p=z;try{return V()}finally{p=B}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(V,z){switch(V){case 1:case 2:case 3:case 4:case 5:break;default:V=3}var B=p;p=V;try{return z()}finally{p=B}},e.unstable_scheduleCallback=function(V,z,B){var oe=e.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?oe+B:oe):B=oe,V){case 1:var P=-1;break;case 2:P=250;break;case 5:P=1073741823;break;case 4:P=1e4;break;default:P=5e3}return P=B+P,V={id:c++,callback:z,priorityLevel:V,startTime:B,expirationTime:P,sortIndex:-1},B>oe?(V.sortIndex=B,t(u,V),n(s)===null&&V===n(u)&&(x?(h(F),F=-1):x=!0,X(k,B-oe))):(V.sortIndex=P,t(s,V),v||g||(v=!0,ee(E))),V},e.unstable_shouldYield=j,e.unstable_wrapCallback=function(V){var z=p;return function(){var B=p;p=z;try{return V.apply(this,arguments)}finally{p=B}}}})(wd);xd.exports=wd;/**
|
|
* @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 Sd=b.exports,wt=xd.exports;function _(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 kd=new Set,pi={};function Zn(e,t){Cr(e,t),Cr(e+"Capture",t)}function Cr(e,t){for(pi[e]=t,e=0;e<t.length;e++)kd.add(t[e])}var rn=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Bl=Object.prototype.hasOwnProperty,u0=/^[: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]*$/,dc={},pc={};function c0(e){return Bl.call(pc,e)?!0:Bl.call(dc,e)?!1:u0.test(e)?pc[e]=!0:(dc[e]=!0,!1)}function f0(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 d0(e,t,n,r){if(t===null||typeof t=="undefined"||f0(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 st(e,t,n,r,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var Ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ze[e]=new st(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ze[t]=new st(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ze[e]=new st(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ze[e]=new st(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){Ze[e]=new st(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ze[e]=new st(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ze[e]=new st(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ze[e]=new st(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ze[e]=new st(e,5,!1,e.toLowerCase(),null,!1,!1)});var eu=/[\-:]([a-z])/g;function tu(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(eu,tu);Ze[t]=new st(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(eu,tu);Ze[t]=new st(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(eu,tu);Ze[t]=new st(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ze[e]=new st(e,1,!1,e.toLowerCase(),null,!1,!1)});Ze.xlinkHref=new st("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ze[e]=new st(e,1,!1,e.toLowerCase(),null,!0,!0)});function nu(e,t,n,r){var i=Ze.hasOwnProperty(t)?Ze[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(d0(t,n,i,r)&&(n=null),r||i===null?c0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var sn=Sd.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ji=Symbol.for("react.element"),rr=Symbol.for("react.portal"),ir=Symbol.for("react.fragment"),ru=Symbol.for("react.strict_mode"),jl=Symbol.for("react.profiler"),bd=Symbol.for("react.provider"),Cd=Symbol.for("react.context"),iu=Symbol.for("react.forward_ref"),Hl=Symbol.for("react.suspense"),Ul=Symbol.for("react.suspense_list"),ou=Symbol.for("react.memo"),dn=Symbol.for("react.lazy"),Ed=Symbol.for("react.offscreen"),hc=Symbol.iterator;function $r(e){return e===null||typeof e!="object"?null:(e=hc&&e[hc]||e["@@iterator"],typeof e=="function"?e:null)}var Fe=Object.assign,Ja;function Zr(e){if(Ja===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ja=t&&t[1]||""}return`
|
|
`+Ja+e}var el=!1;function tl(e,t){if(!e||el)return"";el=!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 i=u.stack.split(`
|
|
`),o=r.stack.split(`
|
|
`),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l]){var s=`
|
|
`+i[a].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=a&&0<=l);break}}}finally{el=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Zr(e):""}function p0(e){switch(e.tag){case 5:return Zr(e.type);case 16:return Zr("Lazy");case 13:return Zr("Suspense");case 19:return Zr("SuspenseList");case 0:case 2:case 15:return e=tl(e.type,!1),e;case 11:return e=tl(e.type.render,!1),e;case 1:return e=tl(e.type,!0),e;default:return""}}function Wl(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 ir:return"Fragment";case rr:return"Portal";case jl:return"Profiler";case ru:return"StrictMode";case Hl:return"Suspense";case Ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Cd:return(e.displayName||"Context")+".Consumer";case bd:return(e._context.displayName||"Context")+".Provider";case iu:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ou:return t=e.displayName||null,t!==null?t:Wl(e.type)||"Memo";case dn:t=e._payload,e=e._init;try{return Wl(e(t))}catch{}}return null}function h0(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 Wl(t);case 8:return t===ru?"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 An(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Od(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function m0(e){var t=Od(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){r=""+a,o.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 Hi(e){e._valueTracker||(e._valueTracker=m0(e))}function Pd(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Od(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function To(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function Gl(e,t){var n=t.checked;return Fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function mc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=An(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 Ad(e,t){t=t.checked,t!=null&&nu(e,"checked",t,!1)}function Ql(e,t){Ad(e,t);var n=An(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")?Yl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Yl(e,t.type,An(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Yl(e,t,n){(t!=="number"||To(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var qr=Array.isArray;function gr(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+An(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Kl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(_(91));return Fe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function gc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(_(92));if(qr(n)){if(1<n.length)throw Error(_(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:An(n)}}function Fd(e,t){var n=An(t.value),r=An(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function yc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Vd(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Xl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Vd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ui,_d=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ui=Ui||document.createElement("div"),Ui.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ui.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function hi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var ti={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},v0=["Webkit","ms","Moz","O"];Object.keys(ti).forEach(function(e){v0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ti[t]=ti[e]})});function Td(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||ti.hasOwnProperty(e)&&ti[e]?(""+t).trim():t+"px"}function Id(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Td(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var g0=Fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Zl(e,t){if(t){if(g0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(_(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(_(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(_(61))}if(t.style!=null&&typeof t.style!="object")throw Error(_(62))}}function ql(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Jl=null;function au(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var es=null,yr=null,xr=null;function xc(e){if(e=Ni(e)){if(typeof es!="function")throw Error(_(280));var t=e.stateNode;t&&(t=wa(t),es(e.stateNode,e.type,t))}}function Md(e){yr?xr?xr.push(e):xr=[e]:yr=e}function Rd(){if(yr){var e=yr,t=xr;if(xr=yr=null,xc(e),t)for(e=0;e<t.length;e++)xc(t[e])}}function Ld(e,t){return e(t)}function Nd(){}var nl=!1;function zd(e,t,n){if(nl)return e(t,n);nl=!0;try{return Ld(e,t,n)}finally{nl=!1,(yr!==null||xr!==null)&&(Nd(),Rd())}}function mi(e,t){var n=e.stateNode;if(n===null)return null;var r=wa(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(_(231,t,typeof n));return n}var ts=!1;if(rn)try{var Br={};Object.defineProperty(Br,"passive",{get:function(){ts=!0}}),window.addEventListener("test",Br,Br),window.removeEventListener("test",Br,Br)}catch{ts=!1}function y0(e,t,n,r,i,o,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ni=!1,Io=null,Mo=!1,ns=null,x0={onError:function(e){ni=!0,Io=e}};function w0(e,t,n,r,i,o,a,l,s){ni=!1,Io=null,y0.apply(x0,arguments)}function S0(e,t,n,r,i,o,a,l,s){if(w0.apply(this,arguments),ni){if(ni){var u=Io;ni=!1,Io=null}else throw Error(_(198));Mo||(Mo=!0,ns=u)}}function qn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Dd(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function wc(e){if(qn(e)!==e)throw Error(_(188))}function k0(e){var t=e.alternate;if(!t){if(t=qn(e),t===null)throw Error(_(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return wc(i),e;if(o===r)return wc(i),t;o=o.sibling}throw Error(_(188))}if(n.return!==r.return)n=i,r=o;else{for(var a=!1,l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a)throw Error(_(189))}}if(n.alternate!==r)throw Error(_(190))}if(n.tag!==3)throw Error(_(188));return n.stateNode.current===n?e:t}function $d(e){return e=k0(e),e!==null?Bd(e):null}function Bd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Bd(e);if(t!==null)return t;e=e.sibling}return null}var jd=wt.unstable_scheduleCallback,Sc=wt.unstable_cancelCallback,b0=wt.unstable_shouldYield,C0=wt.unstable_requestPaint,Ie=wt.unstable_now,E0=wt.unstable_getCurrentPriorityLevel,lu=wt.unstable_ImmediatePriority,Hd=wt.unstable_UserBlockingPriority,Ro=wt.unstable_NormalPriority,O0=wt.unstable_LowPriority,Ud=wt.unstable_IdlePriority,va=null,Qt=null;function P0(e){if(Qt&&typeof Qt.onCommitFiberRoot=="function")try{Qt.onCommitFiberRoot(va,e,void 0,(e.current.flags&128)===128)}catch{}}var zt=Math.clz32?Math.clz32:V0,A0=Math.log,F0=Math.LN2;function V0(e){return e>>>=0,e===0?32:31-(A0(e)/F0|0)|0}var Wi=64,Gi=4194304;function Jr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Lo(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,a=n&268435455;if(a!==0){var l=a&~i;l!==0?r=Jr(l):(o&=a,o!==0&&(r=Jr(o)))}else a=n&~i,a!==0?r=Jr(a):o!==0&&(r=Jr(o));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-zt(t),i=1<<n,r|=e[n],t&=~i;return r}function _0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function T0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var a=31-zt(o),l=1<<a,s=i[a];s===-1?((l&n)===0||(l&r)!==0)&&(i[a]=_0(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}function rs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Wd(){var e=Wi;return Wi<<=1,(Wi&4194240)===0&&(Wi=64),e}function rl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ri(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zt(t),e[t]=n}function I0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-zt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function su(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-zt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var xe=0;function Gd(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Qd,uu,Yd,Kd,Xd,is=!1,Qi=[],yn=null,xn=null,wn=null,vi=new Map,gi=new Map,hn=[],M0="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function kc(e,t){switch(e){case"focusin":case"focusout":yn=null;break;case"dragenter":case"dragleave":xn=null;break;case"mouseover":case"mouseout":wn=null;break;case"pointerover":case"pointerout":vi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":gi.delete(t.pointerId)}}function jr(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=Ni(t),t!==null&&uu(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function R0(e,t,n,r,i){switch(t){case"focusin":return yn=jr(yn,e,t,n,r,i),!0;case"dragenter":return xn=jr(xn,e,t,n,r,i),!0;case"mouseover":return wn=jr(wn,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return vi.set(o,jr(vi.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,gi.set(o,jr(gi.get(o)||null,e,t,n,r,i)),!0}return!1}function Zd(e){var t=Nn(e.target);if(t!==null){var n=qn(t);if(n!==null){if(t=n.tag,t===13){if(t=Dd(n),t!==null){e.blockedOn=t,Xd(e.priority,function(){Yd(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function vo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=os(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Jl=r,n.target.dispatchEvent(r),Jl=null}else return t=Ni(n),t!==null&&uu(t),e.blockedOn=n,!1;t.shift()}return!0}function bc(e,t,n){vo(e)&&n.delete(t)}function L0(){is=!1,yn!==null&&vo(yn)&&(yn=null),xn!==null&&vo(xn)&&(xn=null),wn!==null&&vo(wn)&&(wn=null),vi.forEach(bc),gi.forEach(bc)}function Hr(e,t){e.blockedOn===t&&(e.blockedOn=null,is||(is=!0,wt.unstable_scheduleCallback(wt.unstable_NormalPriority,L0)))}function yi(e){function t(i){return Hr(i,e)}if(0<Qi.length){Hr(Qi[0],e);for(var n=1;n<Qi.length;n++){var r=Qi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(yn!==null&&Hr(yn,e),xn!==null&&Hr(xn,e),wn!==null&&Hr(wn,e),vi.forEach(t),gi.forEach(t),n=0;n<hn.length;n++)r=hn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<hn.length&&(n=hn[0],n.blockedOn===null);)Zd(n),n.blockedOn===null&&hn.shift()}var wr=sn.ReactCurrentBatchConfig,No=!0;function N0(e,t,n,r){var i=xe,o=wr.transition;wr.transition=null;try{xe=1,cu(e,t,n,r)}finally{xe=i,wr.transition=o}}function z0(e,t,n,r){var i=xe,o=wr.transition;wr.transition=null;try{xe=4,cu(e,t,n,r)}finally{xe=i,wr.transition=o}}function cu(e,t,n,r){if(No){var i=os(e,t,n,r);if(i===null)pl(e,t,r,zo,n),kc(e,r);else if(R0(i,e,t,n,r))r.stopPropagation();else if(kc(e,r),t&4&&-1<M0.indexOf(e)){for(;i!==null;){var o=Ni(i);if(o!==null&&Qd(o),o=os(e,t,n,r),o===null&&pl(e,t,r,zo,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else pl(e,t,r,null,n)}}var zo=null;function os(e,t,n,r){if(zo=null,e=au(r),e=Nn(e),e!==null)if(t=qn(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Dd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return zo=e,null}function qd(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(E0()){case lu:return 1;case Hd:return 4;case Ro:case O0:return 16;case Ud:return 536870912;default:return 16}default:return 16}}var vn=null,fu=null,go=null;function Jd(){if(go)return go;var e,t=fu,n=t.length,r,i="value"in vn?vn.value:vn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===i[o-r];r++);return go=i.slice(e,1<r?1-r:void 0)}function yo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Yi(){return!0}function Cc(){return!1}function kt(e){function t(n,r,i,o,a){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Yi:Cc,this.isPropagationStopped=Cc,this}return Fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Yi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Yi)},persist:function(){},isPersistent:Yi}),t}var Lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},du=kt(Lr),Li=Fe({},Lr,{view:0,detail:0}),D0=kt(Li),il,ol,Ur,ga=Fe({},Li,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:pu,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ur&&(Ur&&e.type==="mousemove"?(il=e.screenX-Ur.screenX,ol=e.screenY-Ur.screenY):ol=il=0,Ur=e),il)},movementY:function(e){return"movementY"in e?e.movementY:ol}}),Ec=kt(ga),$0=Fe({},ga,{dataTransfer:0}),B0=kt($0),j0=Fe({},Li,{relatedTarget:0}),al=kt(j0),H0=Fe({},Lr,{animationName:0,elapsedTime:0,pseudoElement:0}),U0=kt(H0),W0=Fe({},Lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),G0=kt(W0),Q0=Fe({},Lr,{data:0}),Oc=kt(Q0),Y0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},K0={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},X0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Z0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=X0[e])?!!t[e]:!1}function pu(){return Z0}var q0=Fe({},Li,{key:function(e){if(e.key){var t=Y0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=yo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?K0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:pu,charCode:function(e){return e.type==="keypress"?yo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?yo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),J0=kt(q0),e1=Fe({},ga,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pc=kt(e1),t1=Fe({},Li,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:pu}),n1=kt(t1),r1=Fe({},Lr,{propertyName:0,elapsedTime:0,pseudoElement:0}),i1=kt(r1),o1=Fe({},ga,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),a1=kt(o1),l1=[9,13,27,32],hu=rn&&"CompositionEvent"in window,ri=null;rn&&"documentMode"in document&&(ri=document.documentMode);var s1=rn&&"TextEvent"in window&&!ri,ep=rn&&(!hu||ri&&8<ri&&11>=ri),Ac=String.fromCharCode(32),Fc=!1;function tp(e,t){switch(e){case"keyup":return l1.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function np(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var or=!1;function u1(e,t){switch(e){case"compositionend":return np(t);case"keypress":return t.which!==32?null:(Fc=!0,Ac);case"textInput":return e=t.data,e===Ac&&Fc?null:e;default:return null}}function c1(e,t){if(or)return e==="compositionend"||!hu&&tp(e,t)?(e=Jd(),go=fu=vn=null,or=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ep&&t.locale!=="ko"?null:t.data;default:return null}}var f1={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!f1[e.type]:t==="textarea"}function rp(e,t,n,r){Md(r),t=Do(t,"onChange"),0<t.length&&(n=new du("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ii=null,xi=null;function d1(e){hp(e,0)}function ya(e){var t=sr(e);if(Pd(t))return e}function p1(e,t){if(e==="change")return t}var ip=!1;if(rn){var ll;if(rn){var sl="oninput"in document;if(!sl){var _c=document.createElement("div");_c.setAttribute("oninput","return;"),sl=typeof _c.oninput=="function"}ll=sl}else ll=!1;ip=ll&&(!document.documentMode||9<document.documentMode)}function Tc(){ii&&(ii.detachEvent("onpropertychange",op),xi=ii=null)}function op(e){if(e.propertyName==="value"&&ya(xi)){var t=[];rp(t,xi,e,au(e)),zd(d1,t)}}function h1(e,t,n){e==="focusin"?(Tc(),ii=t,xi=n,ii.attachEvent("onpropertychange",op)):e==="focusout"&&Tc()}function m1(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return ya(xi)}function v1(e,t){if(e==="click")return ya(t)}function g1(e,t){if(e==="input"||e==="change")return ya(t)}function y1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Bt=typeof Object.is=="function"?Object.is:y1;function wi(e,t){if(Bt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Bl.call(t,i)||!Bt(e[i],t[i]))return!1}return!0}function Ic(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mc(e,t){var n=Ic(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ic(n)}}function ap(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?ap(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lp(){for(var e=window,t=To();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=To(e.document)}return t}function mu(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function x1(e){var t=lp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&ap(n.ownerDocument.documentElement,n)){if(r!==null&&mu(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Mc(n,o);var a=Mc(n,r);i&&a&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var w1=rn&&"documentMode"in document&&11>=document.documentMode,ar=null,as=null,oi=null,ls=!1;function Rc(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ls||ar==null||ar!==To(r)||(r=ar,"selectionStart"in r&&mu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),oi&&wi(oi,r)||(oi=r,r=Do(as,"onSelect"),0<r.length&&(t=new du("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ar)))}function Ki(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var lr={animationend:Ki("Animation","AnimationEnd"),animationiteration:Ki("Animation","AnimationIteration"),animationstart:Ki("Animation","AnimationStart"),transitionend:Ki("Transition","TransitionEnd")},ul={},sp={};rn&&(sp=document.createElement("div").style,"AnimationEvent"in window||(delete lr.animationend.animation,delete lr.animationiteration.animation,delete lr.animationstart.animation),"TransitionEvent"in window||delete lr.transitionend.transition);function xa(e){if(ul[e])return ul[e];if(!lr[e])return e;var t=lr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in sp)return ul[e]=t[n];return e}var up=xa("animationend"),cp=xa("animationiteration"),fp=xa("animationstart"),dp=xa("transitionend"),pp=new Map,Lc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vn(e,t){pp.set(e,t),Zn(t,[e])}for(var cl=0;cl<Lc.length;cl++){var fl=Lc[cl],S1=fl.toLowerCase(),k1=fl[0].toUpperCase()+fl.slice(1);Vn(S1,"on"+k1)}Vn(up,"onAnimationEnd");Vn(cp,"onAnimationIteration");Vn(fp,"onAnimationStart");Vn("dblclick","onDoubleClick");Vn("focusin","onFocus");Vn("focusout","onBlur");Vn(dp,"onTransitionEnd");Cr("onMouseEnter",["mouseout","mouseover"]);Cr("onMouseLeave",["mouseout","mouseover"]);Cr("onPointerEnter",["pointerout","pointerover"]);Cr("onPointerLeave",["pointerout","pointerover"]);Zn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Zn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Zn("onBeforeInput",["compositionend","keypress","textInput","paste"]);Zn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Zn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ei="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),b1=new Set("cancel close invalid load scroll toggle".split(" ").concat(ei));function Nc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,S0(r,t,void 0,e),e.currentTarget=null}function hp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&i.isPropagationStopped())break e;Nc(i,l,u),o=s}else for(a=0;a<r.length;a++){if(l=r[a],s=l.instance,u=l.currentTarget,l=l.listener,s!==o&&i.isPropagationStopped())break e;Nc(i,l,u),o=s}}}if(Mo)throw e=ns,Mo=!1,ns=null,e}function ke(e,t){var n=t[ds];n===void 0&&(n=t[ds]=new Set);var r=e+"__bubble";n.has(r)||(mp(t,e,2,!1),n.add(r))}function dl(e,t,n){var r=0;t&&(r|=4),mp(n,e,r,t)}var Xi="_reactListening"+Math.random().toString(36).slice(2);function Si(e){if(!e[Xi]){e[Xi]=!0,kd.forEach(function(n){n!=="selectionchange"&&(b1.has(n)||dl(n,!1,e),dl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Xi]||(t[Xi]=!0,dl("selectionchange",!1,t))}}function mp(e,t,n,r){switch(qd(t)){case 1:var i=N0;break;case 4:i=z0;break;default:i=cu}n=i.bind(null,t,n,e),i=void 0,!ts||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function pl(e,t,n,r,i){var o=r;if((t&1)===0&&(t&2)===0&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var l=r.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=r.return;a!==null;){var s=a.tag;if((s===3||s===4)&&(s=a.stateNode.containerInfo,s===i||s.nodeType===8&&s.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Nn(l),a===null)return;if(s=a.tag,s===5||s===6){r=o=a;continue e}l=l.parentNode}}r=r.return}zd(function(){var u=o,c=au(n),f=[];e:{var p=pp.get(e);if(p!==void 0){var g=du,v=e;switch(e){case"keypress":if(yo(n)===0)break e;case"keydown":case"keyup":g=J0;break;case"focusin":v="focus",g=al;break;case"focusout":v="blur",g=al;break;case"beforeblur":case"afterblur":g=al;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Ec;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=B0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=n1;break;case up:case cp:case fp:g=U0;break;case dp:g=i1;break;case"scroll":g=D0;break;case"wheel":g=a1;break;case"copy":case"cut":case"paste":g=G0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Pc}var x=(t&4)!==0,S=!x&&e==="scroll",h=x?p!==null?p+"Capture":null:p;x=[];for(var d=u,m;d!==null;){m=d;var k=m.stateNode;if(m.tag===5&&k!==null&&(m=k,h!==null&&(k=mi(d,h),k!=null&&x.push(ki(d,k,m)))),S)break;d=d.return}0<x.length&&(p=new g(p,v,null,n,c),f.push({event:p,listeners:x}))}}if((t&7)===0){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&n!==Jl&&(v=n.relatedTarget||n.fromElement)&&(Nn(v)||v[on]))break e;if((g||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,g?(v=n.relatedTarget||n.toElement,g=u,v=v?Nn(v):null,v!==null&&(S=qn(v),v!==S||v.tag!==5&&v.tag!==6)&&(v=null)):(g=null,v=u),g!==v)){if(x=Ec,k="onMouseLeave",h="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(x=Pc,k="onPointerLeave",h="onPointerEnter",d="pointer"),S=g==null?p:sr(g),m=v==null?p:sr(v),p=new x(k,d+"leave",g,n,c),p.target=S,p.relatedTarget=m,k=null,Nn(c)===u&&(x=new x(h,d+"enter",v,n,c),x.target=m,x.relatedTarget=S,k=x),S=k,g&&v)t:{for(x=g,h=v,d=0,m=x;m;m=er(m))d++;for(m=0,k=h;k;k=er(k))m++;for(;0<d-m;)x=er(x),d--;for(;0<m-d;)h=er(h),m--;for(;d--;){if(x===h||h!==null&&x===h.alternate)break t;x=er(x),h=er(h)}x=null}else x=null;g!==null&&zc(f,p,g,x,!1),v!==null&&S!==null&&zc(f,S,v,x,!0)}}e:{if(p=u?sr(u):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var E=p1;else if(Vc(p))if(ip)E=g1;else{E=m1;var w=h1}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(E=v1);if(E&&(E=E(e,u))){rp(f,E,n,c);break e}w&&w(e,p,u),e==="focusout"&&(w=p._wrapperState)&&w.controlled&&p.type==="number"&&Yl(p,"number",p.value)}switch(w=u?sr(u):window,e){case"focusin":(Vc(w)||w.contentEditable==="true")&&(ar=w,as=u,oi=null);break;case"focusout":oi=as=ar=null;break;case"mousedown":ls=!0;break;case"contextmenu":case"mouseup":case"dragend":ls=!1,Rc(f,n,c);break;case"selectionchange":if(w1)break;case"keydown":case"keyup":Rc(f,n,c)}var O;if(hu)e:{switch(e){case"compositionstart":var F="onCompositionStart";break e;case"compositionend":F="onCompositionEnd";break e;case"compositionupdate":F="onCompositionUpdate";break e}F=void 0}else or?tp(e,n)&&(F="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(F="onCompositionStart");F&&(ep&&n.locale!=="ko"&&(or||F!=="onCompositionStart"?F==="onCompositionEnd"&&or&&(O=Jd()):(vn=c,fu="value"in vn?vn.value:vn.textContent,or=!0)),w=Do(u,F),0<w.length&&(F=new Oc(F,e,null,n,c),f.push({event:F,listeners:w}),O?F.data=O:(O=np(n),O!==null&&(F.data=O)))),(O=s1?u1(e,n):c1(e,n))&&(u=Do(u,"onBeforeInput"),0<u.length&&(c=new Oc("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=O))}hp(f,t)})}function ki(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Do(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=mi(e,n),o!=null&&r.unshift(ki(e,o,i)),o=mi(e,t),o!=null&&r.push(ki(e,o,i))),e=e.return}return r}function er(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function zc(e,t,n,r,i){for(var o=t._reactName,a=[];n!==null&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(s!==null&&s===r)break;l.tag===5&&u!==null&&(l=u,i?(s=mi(n,o),s!=null&&a.unshift(ki(n,s,l))):i||(s=mi(n,o),s!=null&&a.push(ki(n,s,l)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var C1=/\r\n?/g,E1=/\u0000|\uFFFD/g;function Dc(e){return(typeof e=="string"?e:""+e).replace(C1,`
|
|
`).replace(E1,"")}function Zi(e,t,n){if(t=Dc(t),Dc(e)!==t&&n)throw Error(_(425))}function $o(){}var ss=null,us=null;function cs(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 fs=typeof setTimeout=="function"?setTimeout:void 0,O1=typeof clearTimeout=="function"?clearTimeout:void 0,$c=typeof Promise=="function"?Promise:void 0,P1=typeof queueMicrotask=="function"?queueMicrotask:typeof $c!="undefined"?function(e){return $c.resolve(null).then(e).catch(A1)}:fs;function A1(e){setTimeout(function(){throw e})}function hl(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),yi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);yi(t)}function Sn(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 Bc(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 Nr=Math.random().toString(36).slice(2),Gt="__reactFiber$"+Nr,bi="__reactProps$"+Nr,on="__reactContainer$"+Nr,ds="__reactEvents$"+Nr,F1="__reactListeners$"+Nr,V1="__reactHandles$"+Nr;function Nn(e){var t=e[Gt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[on]||n[Gt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Bc(e);e!==null;){if(n=e[Gt])return n;e=Bc(e)}return t}e=n,n=e.parentNode}return null}function Ni(e){return e=e[Gt]||e[on],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function sr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(_(33))}function wa(e){return e[bi]||null}var ps=[],ur=-1;function _n(e){return{current:e}}function be(e){0>ur||(e.current=ps[ur],ps[ur]=null,ur--)}function Se(e,t){ur++,ps[ur]=e.current,e.current=t}var Fn={},it=_n(Fn),ft=_n(!1),Hn=Fn;function Er(e,t){var n=e.type.contextTypes;if(!n)return Fn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function dt(e){return e=e.childContextTypes,e!=null}function Bo(){be(ft),be(it)}function jc(e,t,n){if(it.current!==Fn)throw Error(_(168));Se(it,t),Se(ft,n)}function vp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(_(108,h0(e)||"Unknown",i));return Fe({},n,r)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fn,Hn=it.current,Se(it,e),Se(ft,ft.current),!0}function Hc(e,t,n){var r=e.stateNode;if(!r)throw Error(_(169));n?(e=vp(e,t,Hn),r.__reactInternalMemoizedMergedChildContext=e,be(ft),be(it),Se(it,e)):be(ft),Se(ft,n)}var Jt=null,Sa=!1,ml=!1;function gp(e){Jt===null?Jt=[e]:Jt.push(e)}function _1(e){Sa=!0,gp(e)}function Tn(){if(!ml&&Jt!==null){ml=!0;var e=0,t=xe;try{var n=Jt;for(xe=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Jt=null,Sa=!1}catch(i){throw Jt!==null&&(Jt=Jt.slice(e+1)),jd(lu,Tn),i}finally{xe=t,ml=!1}}return null}var cr=[],fr=0,Ho=null,Uo=0,Ct=[],Et=0,Un=null,en=1,tn="";function Rn(e,t){cr[fr++]=Uo,cr[fr++]=Ho,Ho=e,Uo=t}function yp(e,t,n){Ct[Et++]=en,Ct[Et++]=tn,Ct[Et++]=Un,Un=e;var r=en;e=tn;var i=32-zt(r)-1;r&=~(1<<i),n+=1;var o=32-zt(t)+i;if(30<o){var a=i-i%5;o=(r&(1<<a)-1).toString(32),r>>=a,i-=a,en=1<<32-zt(t)+i|n<<i|r,tn=o+e}else en=1<<o|n<<i|r,tn=e}function vu(e){e.return!==null&&(Rn(e,1),yp(e,1,0))}function gu(e){for(;e===Ho;)Ho=cr[--fr],cr[fr]=null,Uo=cr[--fr],cr[fr]=null;for(;e===Un;)Un=Ct[--Et],Ct[Et]=null,tn=Ct[--Et],Ct[Et]=null,en=Ct[--Et],Ct[Et]=null}var yt=null,gt=null,Ee=!1,Mt=null;function xp(e,t){var n=Ot(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Uc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,yt=e,gt=Sn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,yt=e,gt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Un!==null?{id:en,overflow:tn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Ot(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,yt=e,gt=null,!0):!1;default:return!1}}function hs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ms(e){if(Ee){var t=gt;if(t){var n=t;if(!Uc(e,t)){if(hs(e))throw Error(_(418));t=Sn(n.nextSibling);var r=yt;t&&Uc(e,t)?xp(r,n):(e.flags=e.flags&-4097|2,Ee=!1,yt=e)}}else{if(hs(e))throw Error(_(418));e.flags=e.flags&-4097|2,Ee=!1,yt=e}}}function Wc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;yt=e}function qi(e){if(e!==yt)return!1;if(!Ee)return Wc(e),Ee=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!cs(e.type,e.memoizedProps)),t&&(t=gt)){if(hs(e))throw wp(),Error(_(418));for(;t;)xp(e,t),t=Sn(t.nextSibling)}if(Wc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(_(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){gt=Sn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}gt=null}}else gt=yt?Sn(e.stateNode.nextSibling):null;return!0}function wp(){for(var e=gt;e;)e=Sn(e.nextSibling)}function Or(){gt=yt=null,Ee=!1}function yu(e){Mt===null?Mt=[e]:Mt.push(e)}var T1=sn.ReactCurrentBatchConfig;function Tt(e,t){if(e&&e.defaultProps){t=Fe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}var Wo=_n(null),Go=null,dr=null,xu=null;function wu(){xu=dr=Go=null}function Su(e){var t=Wo.current;be(Wo),e._currentValue=t}function vs(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Sr(e,t){Go=e,xu=dr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(ct=!0),e.firstContext=null)}function At(e){var t=e._currentValue;if(xu!==e)if(e={context:e,memoizedValue:t,next:null},dr===null){if(Go===null)throw Error(_(308));dr=e,Go.dependencies={lanes:0,firstContext:e}}else dr=dr.next=e;return t}var zn=null;function ku(e){zn===null?zn=[e]:zn.push(e)}function Sp(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,ku(t)):(n.next=i.next,i.next=n),t.interleaved=n,an(e,r)}function an(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var pn=!1;function bu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function kp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function nn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function kn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(me&2)!==0){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,an(e,n)}return i=r.interleaved,i===null?(t.next=t,ku(r)):(t.next=i.next,i.next=t),r.interleaved=t,an(e,n)}function xo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,su(e,n)}}function Gc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=a:o=o.next=a,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Qo(e,t,n,r){var i=e.updateQueue;pn=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var s=l,u=s.next;s.next=null,a===null?o=u:a.next=u,a=s;var c=e.alternate;c!==null&&(c=c.updateQueue,l=c.lastBaseUpdate,l!==a&&(l===null?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(o!==null){var f=i.baseState;a=0,c=u=s=null,l=o;do{var p=l.lane,g=l.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:g,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var v=e,x=l;switch(p=t,g=n,x.tag){case 1:if(v=x.payload,typeof v=="function"){f=v.call(g,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=x.payload,p=typeof v=="function"?v.call(g,f,p):v,p==null)break e;f=Fe({},f,p);break e;case 2:pn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[l]:p.push(l))}else g={eventTime:g,lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},c===null?(u=c=g,s=f):c=c.next=g,a|=p;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;p=l,l=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);if(c===null&&(s=f),i.baseState=s,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do a|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Gn|=a,e.lanes=a,e.memoizedState=f}}function Qc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(_(191,i));i.call(r)}}}var bp=new Sd.Component().refs;function gs(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Fe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var ka={isMounted:function(e){return(e=e._reactInternals)?qn(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=at(),i=Cn(e),o=nn(r,i);o.payload=t,n!=null&&(o.callback=n),t=kn(e,o,i),t!==null&&(Dt(t,e,i,r),xo(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=at(),i=Cn(e),o=nn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=kn(e,o,i),t!==null&&(Dt(t,e,i,r),xo(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=at(),r=Cn(e),i=nn(n,r);i.tag=2,t!=null&&(i.callback=t),t=kn(e,i,r),t!==null&&(Dt(t,e,r,n),xo(t,e,r))}};function Yc(e,t,n,r,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,a):t.prototype&&t.prototype.isPureReactComponent?!wi(n,r)||!wi(i,o):!0}function Cp(e,t,n){var r=!1,i=Fn,o=t.contextType;return typeof o=="object"&&o!==null?o=At(o):(i=dt(t)?Hn:it.current,r=t.contextTypes,o=(r=r!=null)?Er(e,i):Fn),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=ka,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Kc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&ka.enqueueReplaceState(t,t.state,null)}function ys(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=bp,bu(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=At(o):(o=dt(t)?Hn:it.current,i.context=Er(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(gs(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&ka.enqueueReplaceState(i,i.state,null),Qo(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Wr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(_(309));var r=n.stateNode}if(!r)throw Error(_(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(a){var l=i.refs;l===bp&&(l=i.refs={}),a===null?delete l[o]:l[o]=a},t._stringRef=o,t)}if(typeof e!="string")throw Error(_(284));if(!n._owner)throw Error(_(290,e))}return e}function Ji(e,t){throw e=Object.prototype.toString.call(t),Error(_(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xc(e){var t=e._init;return t(e._payload)}function Ep(e){function t(h,d){if(e){var m=h.deletions;m===null?(h.deletions=[d],h.flags|=16):m.push(d)}}function n(h,d){if(!e)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function r(h,d){for(h=new Map;d!==null;)d.key!==null?h.set(d.key,d):h.set(d.index,d),d=d.sibling;return h}function i(h,d){return h=En(h,d),h.index=0,h.sibling=null,h}function o(h,d,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<d?(h.flags|=2,d):m):(h.flags|=2,d)):(h.flags|=1048576,d)}function a(h){return e&&h.alternate===null&&(h.flags|=2),h}function l(h,d,m,k){return d===null||d.tag!==6?(d=kl(m,h.mode,k),d.return=h,d):(d=i(d,m),d.return=h,d)}function s(h,d,m,k){var E=m.type;return E===ir?c(h,d,m.props.children,k,m.key):d!==null&&(d.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===dn&&Xc(E)===d.type)?(k=i(d,m.props),k.ref=Wr(h,d,m),k.return=h,k):(k=Eo(m.type,m.key,m.props,null,h.mode,k),k.ref=Wr(h,d,m),k.return=h,k)}function u(h,d,m,k){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=bl(m,h.mode,k),d.return=h,d):(d=i(d,m.children||[]),d.return=h,d)}function c(h,d,m,k,E){return d===null||d.tag!==7?(d=Bn(m,h.mode,k,E),d.return=h,d):(d=i(d,m),d.return=h,d)}function f(h,d,m){if(typeof d=="string"&&d!==""||typeof d=="number")return d=kl(""+d,h.mode,m),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case ji:return m=Eo(d.type,d.key,d.props,null,h.mode,m),m.ref=Wr(h,null,d),m.return=h,m;case rr:return d=bl(d,h.mode,m),d.return=h,d;case dn:var k=d._init;return f(h,k(d._payload),m)}if(qr(d)||$r(d))return d=Bn(d,h.mode,m,null),d.return=h,d;Ji(h,d)}return null}function p(h,d,m,k){var E=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return E!==null?null:l(h,d,""+m,k);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case ji:return m.key===E?s(h,d,m,k):null;case rr:return m.key===E?u(h,d,m,k):null;case dn:return E=m._init,p(h,d,E(m._payload),k)}if(qr(m)||$r(m))return E!==null?null:c(h,d,m,k,null);Ji(h,m)}return null}function g(h,d,m,k,E){if(typeof k=="string"&&k!==""||typeof k=="number")return h=h.get(m)||null,l(d,h,""+k,E);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case ji:return h=h.get(k.key===null?m:k.key)||null,s(d,h,k,E);case rr:return h=h.get(k.key===null?m:k.key)||null,u(d,h,k,E);case dn:var w=k._init;return g(h,d,m,w(k._payload),E)}if(qr(k)||$r(k))return h=h.get(m)||null,c(d,h,k,E,null);Ji(d,k)}return null}function v(h,d,m,k){for(var E=null,w=null,O=d,F=d=0,M=null;O!==null&&F<m.length;F++){O.index>F?(M=O,O=null):M=O.sibling;var L=p(h,O,m[F],k);if(L===null){O===null&&(O=M);break}e&&O&&L.alternate===null&&t(h,O),d=o(L,d,F),w===null?E=L:w.sibling=L,w=L,O=M}if(F===m.length)return n(h,O),Ee&&Rn(h,F),E;if(O===null){for(;F<m.length;F++)O=f(h,m[F],k),O!==null&&(d=o(O,d,F),w===null?E=O:w.sibling=O,w=O);return Ee&&Rn(h,F),E}for(O=r(h,O);F<m.length;F++)M=g(O,h,F,m[F],k),M!==null&&(e&&M.alternate!==null&&O.delete(M.key===null?F:M.key),d=o(M,d,F),w===null?E=M:w.sibling=M,w=M);return e&&O.forEach(function(j){return t(h,j)}),Ee&&Rn(h,F),E}function x(h,d,m,k){var E=$r(m);if(typeof E!="function")throw Error(_(150));if(m=E.call(m),m==null)throw Error(_(151));for(var w=E=null,O=d,F=d=0,M=null,L=m.next();O!==null&&!L.done;F++,L=m.next()){O.index>F?(M=O,O=null):M=O.sibling;var j=p(h,O,L.value,k);if(j===null){O===null&&(O=M);break}e&&O&&j.alternate===null&&t(h,O),d=o(j,d,F),w===null?E=j:w.sibling=j,w=j,O=M}if(L.done)return n(h,O),Ee&&Rn(h,F),E;if(O===null){for(;!L.done;F++,L=m.next())L=f(h,L.value,k),L!==null&&(d=o(L,d,F),w===null?E=L:w.sibling=L,w=L);return Ee&&Rn(h,F),E}for(O=r(h,O);!L.done;F++,L=m.next())L=g(O,h,F,L.value,k),L!==null&&(e&&L.alternate!==null&&O.delete(L.key===null?F:L.key),d=o(L,d,F),w===null?E=L:w.sibling=L,w=L);return e&&O.forEach(function(H){return t(h,H)}),Ee&&Rn(h,F),E}function S(h,d,m,k){if(typeof m=="object"&&m!==null&&m.type===ir&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case ji:e:{for(var E=m.key,w=d;w!==null;){if(w.key===E){if(E=m.type,E===ir){if(w.tag===7){n(h,w.sibling),d=i(w,m.props.children),d.return=h,h=d;break e}}else if(w.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===dn&&Xc(E)===w.type){n(h,w.sibling),d=i(w,m.props),d.ref=Wr(h,w,m),d.return=h,h=d;break e}n(h,w);break}else t(h,w);w=w.sibling}m.type===ir?(d=Bn(m.props.children,h.mode,k,m.key),d.return=h,h=d):(k=Eo(m.type,m.key,m.props,null,h.mode,k),k.ref=Wr(h,d,m),k.return=h,h=k)}return a(h);case rr:e:{for(w=m.key;d!==null;){if(d.key===w)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=i(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=bl(m,h.mode,k),d.return=h,h=d}return a(h);case dn:return w=m._init,S(h,d,w(m._payload),k)}if(qr(m))return v(h,d,m,k);if($r(m))return x(h,d,m,k);Ji(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=i(d,m),d.return=h,h=d):(n(h,d),d=kl(m,h.mode,k),d.return=h,h=d),a(h)):n(h,d)}return S}var Pr=Ep(!0),Op=Ep(!1),zi={},Yt=_n(zi),Ci=_n(zi),Ei=_n(zi);function Dn(e){if(e===zi)throw Error(_(174));return e}function Cu(e,t){switch(Se(Ei,t),Se(Ci,e),Se(Yt,zi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Xl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Xl(t,e)}be(Yt),Se(Yt,t)}function Ar(){be(Yt),be(Ci),be(Ei)}function Pp(e){Dn(Ei.current);var t=Dn(Yt.current),n=Xl(t,e.type);t!==n&&(Se(Ci,e),Se(Yt,n))}function Eu(e){Ci.current===e&&(be(Yt),be(Ci))}var Pe=_n(0);function Yo(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vl=[];function Ou(){for(var e=0;e<vl.length;e++)vl[e]._workInProgressVersionPrimary=null;vl.length=0}var wo=sn.ReactCurrentDispatcher,gl=sn.ReactCurrentBatchConfig,Wn=0,Ae=null,De=null,je=null,Ko=!1,ai=!1,Oi=0,I1=0;function et(){throw Error(_(321))}function Pu(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Bt(e[n],t[n]))return!1;return!0}function Au(e,t,n,r,i,o){if(Wn=o,Ae=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,wo.current=e===null||e.memoizedState===null?N1:z1,e=n(r,i),ai){o=0;do{if(ai=!1,Oi=0,25<=o)throw Error(_(301));o+=1,je=De=null,t.updateQueue=null,wo.current=D1,e=n(r,i)}while(ai)}if(wo.current=Xo,t=De!==null&&De.next!==null,Wn=0,je=De=Ae=null,Ko=!1,t)throw Error(_(300));return e}function Fu(){var e=Oi!==0;return Oi=0,e}function Ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return je===null?Ae.memoizedState=je=e:je=je.next=e,je}function Ft(){if(De===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=De.next;var t=je===null?Ae.memoizedState:je.next;if(t!==null)je=t,De=e;else{if(e===null)throw Error(_(310));De=e,e={memoizedState:De.memoizedState,baseState:De.baseState,baseQueue:De.baseQueue,queue:De.queue,next:null},je===null?Ae.memoizedState=je=e:je=je.next=e}return je}function Pi(e,t){return typeof t=="function"?t(e):t}function yl(e){var t=Ft(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=De,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var l=a=null,s=null,u=o;do{var c=u.lane;if((Wn&c)===c)s!==null&&(s=s.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};s===null?(l=s=f,a=r):s=s.next=f,Ae.lanes|=c,Gn|=c}u=u.next}while(u!==null&&u!==o);s===null?a=r:s.next=l,Bt(r,t.memoizedState)||(ct=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=s,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,Ae.lanes|=o,Gn|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function xl(e){var t=Ft(),n=t.queue;if(n===null)throw Error(_(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);Bt(o,t.memoizedState)||(ct=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Ap(){}function Fp(e,t){var n=Ae,r=Ft(),i=t(),o=!Bt(r.memoizedState,i);if(o&&(r.memoizedState=i,ct=!0),r=r.queue,Vu(Tp.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||je!==null&&je.memoizedState.tag&1){if(n.flags|=2048,Ai(9,_p.bind(null,n,r,i,t),void 0,null),Ue===null)throw Error(_(349));(Wn&30)!==0||Vp(n,t,i)}return i}function Vp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function _p(e,t,n,r){t.value=n,t.getSnapshot=r,Ip(t)&&Mp(e)}function Tp(e,t,n){return n(function(){Ip(t)&&Mp(e)})}function Ip(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Bt(e,n)}catch{return!0}}function Mp(e){var t=an(e,1);t!==null&&Dt(t,e,1,-1)}function Zc(e){var t=Ht();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:e},t.queue=e,e=e.dispatch=L1.bind(null,Ae,e),[t.memoizedState,e]}function Ai(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Ae.updateQueue,t===null?(t={lastEffect:null,stores:null},Ae.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Rp(){return Ft().memoizedState}function So(e,t,n,r){var i=Ht();Ae.flags|=e,i.memoizedState=Ai(1|t,n,void 0,r===void 0?null:r)}function ba(e,t,n,r){var i=Ft();r=r===void 0?null:r;var o=void 0;if(De!==null){var a=De.memoizedState;if(o=a.destroy,r!==null&&Pu(r,a.deps)){i.memoizedState=Ai(t,n,o,r);return}}Ae.flags|=e,i.memoizedState=Ai(1|t,n,o,r)}function qc(e,t){return So(8390656,8,e,t)}function Vu(e,t){return ba(2048,8,e,t)}function Lp(e,t){return ba(4,2,e,t)}function Np(e,t){return ba(4,4,e,t)}function zp(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Dp(e,t,n){return n=n!=null?n.concat([e]):null,ba(4,4,zp.bind(null,t,e),n)}function _u(){}function $p(e,t){var n=Ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pu(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Bp(e,t){var n=Ft();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Pu(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function jp(e,t,n){return(Wn&21)===0?(e.baseState&&(e.baseState=!1,ct=!0),e.memoizedState=n):(Bt(n,t)||(n=Wd(),Ae.lanes|=n,Gn|=n,e.baseState=!0),t)}function M1(e,t){var n=xe;xe=n!==0&&4>n?n:4,e(!0);var r=gl.transition;gl.transition={};try{e(!1),t()}finally{xe=n,gl.transition=r}}function Hp(){return Ft().memoizedState}function R1(e,t,n){var r=Cn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Up(e))Wp(t,n);else if(n=Sp(e,t,n,r),n!==null){var i=at();Dt(n,e,r,i),Gp(n,t,r)}}function L1(e,t,n){var r=Cn(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Up(e))Wp(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var a=t.lastRenderedState,l=o(a,n);if(i.hasEagerState=!0,i.eagerState=l,Bt(l,a)){var s=t.interleaved;s===null?(i.next=i,ku(t)):(i.next=s.next,s.next=i),t.interleaved=i;return}}catch{}finally{}n=Sp(e,t,i,r),n!==null&&(i=at(),Dt(n,e,r,i),Gp(n,t,r))}}function Up(e){var t=e.alternate;return e===Ae||t!==null&&t===Ae}function Wp(e,t){ai=Ko=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gp(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,su(e,n)}}var Xo={readContext:At,useCallback:et,useContext:et,useEffect:et,useImperativeHandle:et,useInsertionEffect:et,useLayoutEffect:et,useMemo:et,useReducer:et,useRef:et,useState:et,useDebugValue:et,useDeferredValue:et,useTransition:et,useMutableSource:et,useSyncExternalStore:et,useId:et,unstable_isNewReconciler:!1},N1={readContext:At,useCallback:function(e,t){return Ht().memoizedState=[e,t===void 0?null:t],e},useContext:At,useEffect:qc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,So(4194308,4,zp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return So(4194308,4,e,t)},useInsertionEffect:function(e,t){return So(4,2,e,t)},useMemo:function(e,t){var n=Ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ht();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=R1.bind(null,Ae,e),[r.memoizedState,e]},useRef:function(e){var t=Ht();return e={current:e},t.memoizedState=e},useState:Zc,useDebugValue:_u,useDeferredValue:function(e){return Ht().memoizedState=e},useTransition:function(){var e=Zc(!1),t=e[0];return e=M1.bind(null,e[1]),Ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ae,i=Ht();if(Ee){if(n===void 0)throw Error(_(407));n=n()}else{if(n=t(),Ue===null)throw Error(_(349));(Wn&30)!==0||Vp(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,qc(Tp.bind(null,r,o,e),[e]),r.flags|=2048,Ai(9,_p.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=Ht(),t=Ue.identifierPrefix;if(Ee){var n=tn,r=en;n=(r&~(1<<32-zt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Oi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=I1++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},z1={readContext:At,useCallback:$p,useContext:At,useEffect:Vu,useImperativeHandle:Dp,useInsertionEffect:Lp,useLayoutEffect:Np,useMemo:Bp,useReducer:yl,useRef:Rp,useState:function(){return yl(Pi)},useDebugValue:_u,useDeferredValue:function(e){var t=Ft();return jp(t,De.memoizedState,e)},useTransition:function(){var e=yl(Pi)[0],t=Ft().memoizedState;return[e,t]},useMutableSource:Ap,useSyncExternalStore:Fp,useId:Hp,unstable_isNewReconciler:!1},D1={readContext:At,useCallback:$p,useContext:At,useEffect:Vu,useImperativeHandle:Dp,useInsertionEffect:Lp,useLayoutEffect:Np,useMemo:Bp,useReducer:xl,useRef:Rp,useState:function(){return xl(Pi)},useDebugValue:_u,useDeferredValue:function(e){var t=Ft();return De===null?t.memoizedState=e:jp(t,De.memoizedState,e)},useTransition:function(){var e=xl(Pi)[0],t=Ft().memoizedState;return[e,t]},useMutableSource:Ap,useSyncExternalStore:Fp,useId:Hp,unstable_isNewReconciler:!1};function Fr(e,t){try{var n="",r=t;do n+=p0(r),r=r.return;while(r);var i=n}catch(o){i=`
|
|
Error generating stack: `+o.message+`
|
|
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function wl(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function xs(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var $1=typeof WeakMap=="function"?WeakMap:Map;function Qp(e,t,n){n=nn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qo||(qo=!0,Fs=r),xs(e,t)},n}function Yp(e,t,n){n=nn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){xs(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){xs(e,t),typeof r!="function"&&(bn===null?bn=new Set([this]):bn.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function Jc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new $1;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ev.bind(null,e,t,n),t.then(e,e))}function ef(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 tf(e,t,n,r,i){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=nn(-1,1),t.tag=2,kn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var B1=sn.ReactCurrentOwner,ct=!1;function ot(e,t,n,r){t.child=e===null?Op(t,null,n,r):Pr(t,e.child,n,r)}function nf(e,t,n,r,i){n=n.render;var o=t.ref;return Sr(t,i),r=Au(e,t,n,r,o,i),n=Fu(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ln(e,t,i)):(Ee&&n&&vu(t),t.flags|=1,ot(e,t,r,i),t.child)}function rf(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Du(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Kp(e,t,o,r,i)):(e=Eo(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var a=o.memoizedProps;if(n=n.compare,n=n!==null?n:wi,n(a,r)&&e.ref===t.ref)return ln(e,t,i)}return t.flags|=1,e=En(o,r),e.ref=t.ref,e.return=t,t.child=e}function Kp(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(wi(o,r)&&e.ref===t.ref)if(ct=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(ct=!0);else return t.lanes=e.lanes,ln(e,t,i)}return ws(e,t,n,r,i)}function Xp(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Se(hr,mt),mt|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Se(hr,mt),mt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Se(hr,mt),mt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Se(hr,mt),mt|=r;return ot(e,t,i,n),t.child}function Zp(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ws(e,t,n,r,i){var o=dt(n)?Hn:it.current;return o=Er(t,o),Sr(t,i),n=Au(e,t,n,r,o,i),r=Fu(),e!==null&&!ct?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ln(e,t,i)):(Ee&&r&&vu(t),t.flags|=1,ot(e,t,n,i),t.child)}function of(e,t,n,r,i){if(dt(n)){var o=!0;jo(t)}else o=!1;if(Sr(t,i),t.stateNode===null)ko(e,t),Cp(t,n,r),ys(t,n,r,i),r=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=At(u):(u=dt(n)?Hn:it.current,u=Er(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";f||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==r||s!==u)&&Kc(t,a,r,u),pn=!1;var p=t.memoizedState;a.state=p,Qo(t,r,a,i),s=t.memoizedState,l!==r||p!==s||ft.current||pn?(typeof c=="function"&&(gs(t,n,c,r),s=t.memoizedState),(l=pn||Yc(t,n,l,r,p,s,u))?(f||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,kp(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:Tt(t.type,l),a.props=u,f=t.pendingProps,p=a.context,s=n.contextType,typeof s=="object"&&s!==null?s=At(s):(s=dt(n)?Hn:it.current,s=Er(t,s));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==f||p!==s)&&Kc(t,a,r,s),pn=!1,p=t.memoizedState,a.state=p,Qo(t,r,a,i);var v=t.memoizedState;l!==f||p!==v||ft.current||pn?(typeof g=="function"&&(gs(t,n,g,r),v=t.memoizedState),(u=pn||Yc(t,n,u,r,p,v,s)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,v,s),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,v,s)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=s,r=u):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Ss(e,t,n,r,o,i)}function Ss(e,t,n,r,i,o){Zp(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return i&&Hc(t,n,!1),ln(e,t,o);r=t.stateNode,B1.current=t;var l=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=Pr(t,e.child,null,o),t.child=Pr(t,null,l,o)):ot(e,t,l,o),t.memoizedState=r.state,i&&Hc(t,n,!0),t.child}function qp(e){var t=e.stateNode;t.pendingContext?jc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&jc(e,t.context,!1),Cu(e,t.containerInfo)}function af(e,t,n,r,i){return Or(),yu(i),t.flags|=256,ot(e,t,n,r),t.child}var ks={dehydrated:null,treeContext:null,retryLane:0};function bs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jp(e,t,n){var r=t.pendingProps,i=Pe.current,o=!1,a=(t.flags&128)!==0,l;if((l=a)||(l=e!==null&&e.memoizedState===null?!1:(i&2)!==0),l?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),Se(Pe,i&1),e===null)return ms(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(a=r.children,e=r.fallback,o?(r=t.mode,o=t.child,a={mode:"hidden",children:a},(r&1)===0&&o!==null?(o.childLanes=0,o.pendingProps=a):o=Oa(a,r,0,null),e=Bn(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=bs(n),t.memoizedState=ks,e):Tu(t,a));if(i=e.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return j1(e,t,a,r,l,i,n);if(o){o=r.fallback,a=t.mode,i=e.child,l=i.sibling;var s={mode:"hidden",children:r.children};return(a&1)===0&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=s,t.deletions=null):(r=En(i,s),r.subtreeFlags=i.subtreeFlags&14680064),l!==null?o=En(l,o):(o=Bn(o,a,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,a=e.child.memoizedState,a=a===null?bs(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},o.memoizedState=a,o.childLanes=e.childLanes&~n,t.memoizedState=ks,r}return o=e.child,e=o.sibling,r=En(o,{mode:"visible",children:r.children}),(t.mode&1)===0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Tu(e,t){return t=Oa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function eo(e,t,n,r){return r!==null&&yu(r),Pr(t,e.child,null,n),e=Tu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function j1(e,t,n,r,i,o,a){if(n)return t.flags&256?(t.flags&=-257,r=wl(Error(_(422))),eo(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Oa({mode:"visible",children:r.children},i,0,null),o=Bn(o,i,a,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,(t.mode&1)!==0&&Pr(t,e.child,null,a),t.child.memoizedState=bs(a),t.memoizedState=ks,o);if((t.mode&1)===0)return eo(e,t,a,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var l=r.dgst;return r=l,o=Error(_(419)),r=wl(o,r,void 0),eo(e,t,a,r)}if(l=(a&e.childLanes)!==0,ct||l){if(r=Ue,r!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=(i&(r.suspendedLanes|a))!==0?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,an(e,i),Dt(r,e,i,-1))}return zu(),r=wl(Error(_(421))),eo(e,t,a,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=tv.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,gt=Sn(i.nextSibling),yt=t,Ee=!0,Mt=null,e!==null&&(Ct[Et++]=en,Ct[Et++]=tn,Ct[Et++]=Un,en=e.id,tn=e.overflow,Un=t),t=Tu(t,r.children),t.flags|=4096,t)}function lf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),vs(e.return,t,n)}function Sl(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function eh(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(ot(e,t,r.children,n),r=Pe.current,(r&2)!==0)r=r&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&lf(e,n,t);else if(e.tag===19)lf(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Se(Pe,r),(t.mode&1)===0)t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Yo(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Sl(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Yo(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Sl(t,!0,n,null,o);break;case"together":Sl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ko(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ln(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gn|=t.lanes,(n&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(_(153));if(t.child!==null){for(e=t.child,n=En(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=En(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function H1(e,t,n){switch(t.tag){case 3:qp(t),Or();break;case 5:Pp(t);break;case 1:dt(t.type)&&jo(t);break;case 4:Cu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;Se(Wo,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(Se(Pe,Pe.current&1),t.flags|=128,null):(n&t.child.childLanes)!==0?Jp(e,t,n):(Se(Pe,Pe.current&1),e=ln(e,t,n),e!==null?e.sibling:null);Se(Pe,Pe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,(e.flags&128)!==0){if(r)return eh(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Se(Pe,Pe.current),r)break;return null;case 22:case 23:return t.lanes=0,Xp(e,t,n)}return ln(e,t,n)}var th,Cs,nh,rh;th=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Cs=function(){};nh=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Dn(Yt.current);var o=null;switch(n){case"input":i=Gl(e,i),r=Gl(e,r),o=[];break;case"select":i=Fe({},i,{value:void 0}),r=Fe({},r,{value:void 0}),o=[];break;case"textarea":i=Kl(e,i),r=Kl(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=$o)}Zl(n,r);var a;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(pi.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var s=r[u];if(l=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(s!=null||l!=null))if(u==="style")if(l){for(a in l)!l.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&l[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(o||(o=[]),o.push(u,n)),n=s;else u==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,l=l?l.__html:void 0,s!=null&&l!==s&&(o=o||[]).push(u,s)):u==="children"?typeof s!="string"&&typeof s!="number"||(o=o||[]).push(u,""+s):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(pi.hasOwnProperty(u)?(s!=null&&u==="onScroll"&&ke("scroll",e),o||l===s||(o=[])):(o=o||[]).push(u,s))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};rh=function(e,t,n,r){n!==r&&(t.flags|=4)};function Gr(e,t){if(!Ee)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function tt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function U1(e,t,n){var r=t.pendingProps;switch(gu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return tt(t),null;case 1:return dt(t.type)&&Bo(),tt(t),null;case 3:return r=t.stateNode,Ar(),be(ft),be(it),Ou(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(qi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Mt!==null&&(Ts(Mt),Mt=null))),Cs(e,t),tt(t),null;case 5:Eu(t);var i=Dn(Ei.current);if(n=t.type,e!==null&&t.stateNode!=null)nh(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(_(166));return tt(t),null}if(e=Dn(Yt.current),qi(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[Gt]=t,r[bi]=o,e=(t.mode&1)!==0,n){case"dialog":ke("cancel",r),ke("close",r);break;case"iframe":case"object":case"embed":ke("load",r);break;case"video":case"audio":for(i=0;i<ei.length;i++)ke(ei[i],r);break;case"source":ke("error",r);break;case"img":case"image":case"link":ke("error",r),ke("load",r);break;case"details":ke("toggle",r);break;case"input":mc(r,o),ke("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ke("invalid",r);break;case"textarea":gc(r,o),ke("invalid",r)}Zl(n,o),i=null;for(var a in o)if(o.hasOwnProperty(a)){var l=o[a];a==="children"?typeof l=="string"?r.textContent!==l&&(o.suppressHydrationWarning!==!0&&Zi(r.textContent,l,e),i=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(o.suppressHydrationWarning!==!0&&Zi(r.textContent,l,e),i=["children",""+l]):pi.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&ke("scroll",r)}switch(n){case"input":Hi(r),vc(r,o,!0);break;case"textarea":Hi(r),yc(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=$o)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Vd(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Gt]=t,e[bi]=r,th(e,t,!1,!1),t.stateNode=e;e:{switch(a=ql(n,r),n){case"dialog":ke("cancel",e),ke("close",e),i=r;break;case"iframe":case"object":case"embed":ke("load",e),i=r;break;case"video":case"audio":for(i=0;i<ei.length;i++)ke(ei[i],e);i=r;break;case"source":ke("error",e),i=r;break;case"img":case"image":case"link":ke("error",e),ke("load",e),i=r;break;case"details":ke("toggle",e),i=r;break;case"input":mc(e,r),i=Gl(e,r),ke("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Fe({},r,{value:void 0}),ke("invalid",e);break;case"textarea":gc(e,r),i=Kl(e,r),ke("invalid",e);break;default:i=r}Zl(n,i),l=i;for(o in l)if(l.hasOwnProperty(o)){var s=l[o];o==="style"?Id(e,s):o==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,s!=null&&_d(e,s)):o==="children"?typeof s=="string"?(n!=="textarea"||s!=="")&&hi(e,s):typeof s=="number"&&hi(e,""+s):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(pi.hasOwnProperty(o)?s!=null&&o==="onScroll"&&ke("scroll",e):s!=null&&nu(e,o,s,a))}switch(n){case"input":Hi(e),vc(e,r,!1);break;case"textarea":Hi(e),yc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+An(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?gr(e,!!r.multiple,o,!1):r.defaultValue!=null&&gr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=$o)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return tt(t),null;case 6:if(e&&t.stateNode!=null)rh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(_(166));if(n=Dn(Ei.current),Dn(Yt.current),qi(t)){if(r=t.stateNode,n=t.memoizedProps,r[Gt]=t,(o=r.nodeValue!==n)&&(e=yt,e!==null))switch(e.tag){case 3:Zi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Zi(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Gt]=t,t.stateNode=r}return tt(t),null;case 13:if(be(Pe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ee&>!==null&&(t.mode&1)!==0&&(t.flags&128)===0)wp(),Or(),t.flags|=98560,o=!1;else if(o=qi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(_(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(_(317));o[Gt]=t}else Or(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;tt(t),o=!1}else Mt!==null&&(Ts(Mt),Mt=null),o=!0;if(!o)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Pe.current&1)!==0?$e===0&&($e=3):zu())),t.updateQueue!==null&&(t.flags|=4),tt(t),null);case 4:return Ar(),Cs(e,t),e===null&&Si(t.stateNode.containerInfo),tt(t),null;case 10:return Su(t.type._context),tt(t),null;case 17:return dt(t.type)&&Bo(),tt(t),null;case 19:if(be(Pe),o=t.memoizedState,o===null)return tt(t),null;if(r=(t.flags&128)!==0,a=o.rendering,a===null)if(r)Gr(o,!1);else{if($e!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(a=Yo(e),a!==null){for(t.flags|=128,Gr(o,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Se(Pe,Pe.current&1|2),t.child}e=e.sibling}o.tail!==null&&Ie()>Vr&&(t.flags|=128,r=!0,Gr(o,!1),t.lanes=4194304)}else{if(!r)if(e=Yo(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Gr(o,!0),o.tail===null&&o.tailMode==="hidden"&&!a.alternate&&!Ee)return tt(t),null}else 2*Ie()-o.renderingStartTime>Vr&&n!==1073741824&&(t.flags|=128,r=!0,Gr(o,!1),t.lanes=4194304);o.isBackwards?(a.sibling=t.child,t.child=a):(n=o.last,n!==null?n.sibling=a:t.child=a,o.last=a)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ie(),t.sibling=null,n=Pe.current,Se(Pe,r?n&1|2:n&1),t):(tt(t),null);case 22:case 23:return Nu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(mt&1073741824)!==0&&(tt(t),t.subtreeFlags&6&&(t.flags|=8192)):tt(t),null;case 24:return null;case 25:return null}throw Error(_(156,t.tag))}function W1(e,t){switch(gu(t),t.tag){case 1:return dt(t.type)&&Bo(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ar(),be(ft),be(it),Ou(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Eu(t),null;case 13:if(be(Pe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(_(340));Or()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return be(Pe),null;case 4:return Ar(),null;case 10:return Su(t.type._context),null;case 22:case 23:return Nu(),null;case 24:return null;default:return null}}var to=!1,rt=!1,G1=typeof WeakSet=="function"?WeakSet:Set,$=null;function pr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){_e(e,t,r)}else n.current=null}function Es(e,t,n){try{n()}catch(r){_e(e,t,r)}}var sf=!1;function Q1(e,t){if(ss=No,e=lp(),mu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var a=0,l=-1,s=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var g;f!==n||i!==0&&f.nodeType!==3||(l=a+i),f!==o||r!==0&&f.nodeType!==3||(s=a+r),f.nodeType===3&&(a+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break t;if(p===n&&++u===i&&(l=a),p===o&&++c===r&&(s=a),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=l===-1||s===-1?null:{start:l,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(us={focusedElem:e,selectionRange:n},No=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var v=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var x=v.memoizedProps,S=v.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?x:Tt(t.type,x),S);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(_(163))}}catch(k){_e(t,t.return,k)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return v=sf,sf=!1,v}function li(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Es(t,n,o)}i=i.next}while(i!==r)}}function Ca(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ih(e){var t=e.alternate;t!==null&&(e.alternate=null,ih(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Gt],delete t[bi],delete t[ds],delete t[F1],delete t[V1])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function oh(e){return e.tag===5||e.tag===3||e.tag===4}function uf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||oh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ps(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=$o));else if(r!==4&&(e=e.child,e!==null))for(Ps(e,t,n),e=e.sibling;e!==null;)Ps(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(As(e,t,n),e=e.sibling;e!==null;)As(e,t,n),e=e.sibling}var Qe=null,It=!1;function cn(e,t,n){for(n=n.child;n!==null;)ah(e,t,n),n=n.sibling}function ah(e,t,n){if(Qt&&typeof Qt.onCommitFiberUnmount=="function")try{Qt.onCommitFiberUnmount(va,n)}catch{}switch(n.tag){case 5:rt||pr(n,t);case 6:var r=Qe,i=It;Qe=null,cn(e,t,n),Qe=r,It=i,Qe!==null&&(It?(e=Qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Qe.removeChild(n.stateNode));break;case 18:Qe!==null&&(It?(e=Qe,n=n.stateNode,e.nodeType===8?hl(e.parentNode,n):e.nodeType===1&&hl(e,n),yi(e)):hl(Qe,n.stateNode));break;case 4:r=Qe,i=It,Qe=n.stateNode.containerInfo,It=!0,cn(e,t,n),Qe=r,It=i;break;case 0:case 11:case 14:case 15:if(!rt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,a=o.destroy;o=o.tag,a!==void 0&&((o&2)!==0||(o&4)!==0)&&Es(n,t,a),i=i.next}while(i!==r)}cn(e,t,n);break;case 1:if(!rt&&(pr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){_e(n,t,l)}cn(e,t,n);break;case 21:cn(e,t,n);break;case 22:n.mode&1?(rt=(r=rt)||n.memoizedState!==null,cn(e,t,n),rt=r):cn(e,t,n);break;default:cn(e,t,n)}}function cf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new G1),t.forEach(function(r){var i=nv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function _t(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,a=t,l=a;e:for(;l!==null;){switch(l.tag){case 5:Qe=l.stateNode,It=!1;break e;case 3:Qe=l.stateNode.containerInfo,It=!0;break e;case 4:Qe=l.stateNode.containerInfo,It=!0;break e}l=l.return}if(Qe===null)throw Error(_(160));ah(o,a,i),Qe=null,It=!1;var s=i.alternate;s!==null&&(s.return=null),i.return=null}catch(u){_e(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)lh(t,e),t=t.sibling}function lh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(_t(t,e),jt(e),r&4){try{li(3,e,e.return),Ca(3,e)}catch(x){_e(e,e.return,x)}try{li(5,e,e.return)}catch(x){_e(e,e.return,x)}}break;case 1:_t(t,e),jt(e),r&512&&n!==null&&pr(n,n.return);break;case 5:if(_t(t,e),jt(e),r&512&&n!==null&&pr(n,n.return),e.flags&32){var i=e.stateNode;try{hi(i,"")}catch(x){_e(e,e.return,x)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,a=n!==null?n.memoizedProps:o,l=e.type,s=e.updateQueue;if(e.updateQueue=null,s!==null)try{l==="input"&&o.type==="radio"&&o.name!=null&&Ad(i,o),ql(l,a);var u=ql(l,o);for(a=0;a<s.length;a+=2){var c=s[a],f=s[a+1];c==="style"?Id(i,f):c==="dangerouslySetInnerHTML"?_d(i,f):c==="children"?hi(i,f):nu(i,c,f,u)}switch(l){case"input":Ql(i,o);break;case"textarea":Fd(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var g=o.value;g!=null?gr(i,!!o.multiple,g,!1):p!==!!o.multiple&&(o.defaultValue!=null?gr(i,!!o.multiple,o.defaultValue,!0):gr(i,!!o.multiple,o.multiple?[]:"",!1))}i[bi]=o}catch(x){_e(e,e.return,x)}}break;case 6:if(_t(t,e),jt(e),r&4){if(e.stateNode===null)throw Error(_(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(x){_e(e,e.return,x)}}break;case 3:if(_t(t,e),jt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{yi(t.containerInfo)}catch(x){_e(e,e.return,x)}break;case 4:_t(t,e),jt(e);break;case 13:_t(t,e),jt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(Ru=Ie())),r&4&&cf(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(rt=(u=rt)||c,_t(t,e),rt=u):_t(t,e),jt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&(e.mode&1)!==0)for($=e,c=e.child;c!==null;){for(f=$=c;$!==null;){switch(p=$,g=p.child,p.tag){case 0:case 11:case 14:case 15:li(4,p,p.return);break;case 1:pr(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(x){_e(r,n,x)}}break;case 5:pr(p,p.return);break;case 22:if(p.memoizedState!==null){df(f);continue}}g!==null?(g.return=p,$=g):df(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(l=f.stateNode,s=f.memoizedProps.style,a=s!=null&&s.hasOwnProperty("display")?s.display:null,l.style.display=Td("display",a))}catch(x){_e(e,e.return,x)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(x){_e(e,e.return,x)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:_t(t,e),jt(e),r&4&&cf(e);break;case 21:break;default:_t(t,e),jt(e)}}function jt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(oh(n)){var r=n;break e}n=n.return}throw Error(_(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(hi(i,""),r.flags&=-33);var o=uf(e);As(e,o,i);break;case 3:case 4:var a=r.stateNode.containerInfo,l=uf(e);Ps(e,l,a);break;default:throw Error(_(161))}}catch(s){_e(e,e.return,s)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Y1(e,t,n){$=e,sh(e)}function sh(e,t,n){for(var r=(e.mode&1)!==0;$!==null;){var i=$,o=i.child;if(i.tag===22&&r){var a=i.memoizedState!==null||to;if(!a){var l=i.alternate,s=l!==null&&l.memoizedState!==null||rt;l=to;var u=rt;if(to=a,(rt=s)&&!u)for($=i;$!==null;)a=$,s=a.child,a.tag===22&&a.memoizedState!==null?pf(i):s!==null?(s.return=a,$=s):pf(i);for(;o!==null;)$=o,sh(o),o=o.sibling;$=i,to=l,rt=u}ff(e)}else(i.subtreeFlags&8772)!==0&&o!==null?(o.return=i,$=o):ff(e)}}function ff(e){for(;$!==null;){var t=$;if((t.flags&8772)!==0){var n=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:rt||Ca(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!rt)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Tt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Qc(t,o,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Qc(t,a,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&yi(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(_(163))}rt||t.flags&512&&Os(t)}catch(p){_e(t,t.return,p)}}if(t===e){$=null;break}if(n=t.sibling,n!==null){n.return=t.return,$=n;break}$=t.return}}function df(e){for(;$!==null;){var t=$;if(t===e){$=null;break}var n=t.sibling;if(n!==null){n.return=t.return,$=n;break}$=t.return}}function pf(e){for(;$!==null;){var t=$;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Ca(4,t)}catch(s){_e(t,n,s)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(s){_e(t,i,s)}}var o=t.return;try{Os(t)}catch(s){_e(t,o,s)}break;case 5:var a=t.return;try{Os(t)}catch(s){_e(t,a,s)}}}catch(s){_e(t,t.return,s)}if(t===e){$=null;break}var l=t.sibling;if(l!==null){l.return=t.return,$=l;break}$=t.return}}var K1=Math.ceil,Zo=sn.ReactCurrentDispatcher,Iu=sn.ReactCurrentOwner,Pt=sn.ReactCurrentBatchConfig,me=0,Ue=null,Re=null,Xe=0,mt=0,hr=_n(0),$e=0,Fi=null,Gn=0,Ea=0,Mu=0,si=null,ut=null,Ru=0,Vr=1/0,qt=null,qo=!1,Fs=null,bn=null,no=!1,gn=null,Jo=0,ui=0,Vs=null,bo=-1,Co=0;function at(){return(me&6)!==0?Ie():bo!==-1?bo:bo=Ie()}function Cn(e){return(e.mode&1)===0?1:(me&2)!==0&&Xe!==0?Xe&-Xe:T1.transition!==null?(Co===0&&(Co=Wd()),Co):(e=xe,e!==0||(e=window.event,e=e===void 0?16:qd(e.type)),e)}function Dt(e,t,n,r){if(50<ui)throw ui=0,Vs=null,Error(_(185));Ri(e,n,r),((me&2)===0||e!==Ue)&&(e===Ue&&((me&2)===0&&(Ea|=n),$e===4&&mn(e,Xe)),pt(e,r),n===1&&me===0&&(t.mode&1)===0&&(Vr=Ie()+500,Sa&&Tn()))}function pt(e,t){var n=e.callbackNode;T0(e,t);var r=Lo(e,e===Ue?Xe:0);if(r===0)n!==null&&Sc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Sc(n),t===1)e.tag===0?_1(hf.bind(null,e)):gp(hf.bind(null,e)),P1(function(){(me&6)===0&&Tn()}),n=null;else{switch(Gd(r)){case 1:n=lu;break;case 4:n=Hd;break;case 16:n=Ro;break;case 536870912:n=Ud;break;default:n=Ro}n=vh(n,uh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function uh(e,t){if(bo=-1,Co=0,(me&6)!==0)throw Error(_(327));var n=e.callbackNode;if(kr()&&e.callbackNode!==n)return null;var r=Lo(e,e===Ue?Xe:0);if(r===0)return null;if((r&30)!==0||(r&e.expiredLanes)!==0||t)t=ea(e,r);else{t=r;var i=me;me|=2;var o=fh();(Ue!==e||Xe!==t)&&(qt=null,Vr=Ie()+500,$n(e,t));do try{q1();break}catch(l){ch(e,l)}while(1);wu(),Zo.current=o,me=i,Re!==null?t=0:(Ue=null,Xe=0,t=$e)}if(t!==0){if(t===2&&(i=rs(e),i!==0&&(r=i,t=_s(e,i))),t===1)throw n=Fi,$n(e,0),mn(e,r),pt(e,Ie()),n;if(t===6)mn(e,r);else{if(i=e.current.alternate,(r&30)===0&&!X1(i)&&(t=ea(e,r),t===2&&(o=rs(e),o!==0&&(r=o,t=_s(e,o))),t===1))throw n=Fi,$n(e,0),mn(e,r),pt(e,Ie()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(_(345));case 2:Ln(e,ut,qt);break;case 3:if(mn(e,r),(r&130023424)===r&&(t=Ru+500-Ie(),10<t)){if(Lo(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){at(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=fs(Ln.bind(null,e,ut,qt),t);break}Ln(e,ut,qt);break;case 4:if(mn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var a=31-zt(r);o=1<<a,a=t[a],a>i&&(i=a),r&=~o}if(r=i,r=Ie()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*K1(r/1960))-r,10<r){e.timeoutHandle=fs(Ln.bind(null,e,ut,qt),r);break}Ln(e,ut,qt);break;case 5:Ln(e,ut,qt);break;default:throw Error(_(329))}}}return pt(e,Ie()),e.callbackNode===n?uh.bind(null,e):null}function _s(e,t){var n=si;return e.current.memoizedState.isDehydrated&&($n(e,t).flags|=256),e=ea(e,t),e!==2&&(t=ut,ut=n,t!==null&&Ts(t)),e}function Ts(e){ut===null?ut=e:ut.push.apply(ut,e)}function X1(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],o=i.getSnapshot;i=i.value;try{if(!Bt(o(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function mn(e,t){for(t&=~Mu,t&=~Ea,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-zt(t),r=1<<n;e[n]=-1,t&=~r}}function hf(e){if((me&6)!==0)throw Error(_(327));kr();var t=Lo(e,0);if((t&1)===0)return pt(e,Ie()),null;var n=ea(e,t);if(e.tag!==0&&n===2){var r=rs(e);r!==0&&(t=r,n=_s(e,r))}if(n===1)throw n=Fi,$n(e,0),mn(e,t),pt(e,Ie()),n;if(n===6)throw Error(_(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ln(e,ut,qt),pt(e,Ie()),null}function Lu(e,t){var n=me;me|=1;try{return e(t)}finally{me=n,me===0&&(Vr=Ie()+500,Sa&&Tn())}}function Qn(e){gn!==null&&gn.tag===0&&(me&6)===0&&kr();var t=me;me|=1;var n=Pt.transition,r=xe;try{if(Pt.transition=null,xe=1,e)return e()}finally{xe=r,Pt.transition=n,me=t,(me&6)===0&&Tn()}}function Nu(){mt=hr.current,be(hr)}function $n(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,O1(n)),Re!==null)for(n=Re.return;n!==null;){var r=n;switch(gu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Bo();break;case 3:Ar(),be(ft),be(it),Ou();break;case 5:Eu(r);break;case 4:Ar();break;case 13:be(Pe);break;case 19:be(Pe);break;case 10:Su(r.type._context);break;case 22:case 23:Nu()}n=n.return}if(Ue=e,Re=e=En(e.current,null),Xe=mt=t,$e=0,Fi=null,Mu=Ea=Gn=0,ut=si=null,zn!==null){for(t=0;t<zn.length;t++)if(n=zn[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var a=o.next;o.next=i,r.next=a}n.pending=r}zn=null}return e}function ch(e,t){do{var n=Re;try{if(wu(),wo.current=Xo,Ko){for(var r=Ae.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ko=!1}if(Wn=0,je=De=Ae=null,ai=!1,Oi=0,Iu.current=null,n===null||n.return===null){$e=1,Fi=t,Re=null;break}e:{var o=e,a=n.return,l=n,s=t;if(t=Xe,l.flags|=32768,s!==null&&typeof s=="object"&&typeof s.then=="function"){var u=s,c=l,f=c.tag;if((c.mode&1)===0&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=ef(a);if(g!==null){g.flags&=-257,tf(g,a,l,o,t),g.mode&1&&Jc(o,u,t),t=g,s=u;var v=t.updateQueue;if(v===null){var x=new Set;x.add(s),t.updateQueue=x}else v.add(s);break e}else{if((t&1)===0){Jc(o,u,t),zu();break e}s=Error(_(426))}}else if(Ee&&l.mode&1){var S=ef(a);if(S!==null){(S.flags&65536)===0&&(S.flags|=256),tf(S,a,l,o,t),yu(Fr(s,l));break e}}o=s=Fr(s,l),$e!==4&&($e=2),si===null?si=[o]:si.push(o),o=a;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Qp(o,s,t);Gc(o,h);break e;case 1:l=s;var d=o.type,m=o.stateNode;if((o.flags&128)===0&&(typeof d.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(bn===null||!bn.has(m)))){o.flags|=65536,t&=-t,o.lanes|=t;var k=Yp(o,l,t);Gc(o,k);break e}}o=o.return}while(o!==null)}ph(n)}catch(E){t=E,Re===n&&n!==null&&(Re=n=n.return);continue}break}while(1)}function fh(){var e=Zo.current;return Zo.current=Xo,e===null?Xo:e}function zu(){($e===0||$e===3||$e===2)&&($e=4),Ue===null||(Gn&268435455)===0&&(Ea&268435455)===0||mn(Ue,Xe)}function ea(e,t){var n=me;me|=2;var r=fh();(Ue!==e||Xe!==t)&&(qt=null,$n(e,t));do try{Z1();break}catch(i){ch(e,i)}while(1);if(wu(),me=n,Zo.current=r,Re!==null)throw Error(_(261));return Ue=null,Xe=0,$e}function Z1(){for(;Re!==null;)dh(Re)}function q1(){for(;Re!==null&&!b0();)dh(Re)}function dh(e){var t=mh(e.alternate,e,mt);e.memoizedProps=e.pendingProps,t===null?ph(e):Re=t,Iu.current=null}function ph(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&32768)===0){if(n=U1(n,t,mt),n!==null){Re=n;return}}else{if(n=W1(n,t),n!==null){n.flags&=32767,Re=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{$e=6,Re=null;return}}if(t=t.sibling,t!==null){Re=t;return}Re=t=e}while(t!==null);$e===0&&($e=5)}function Ln(e,t,n){var r=xe,i=Pt.transition;try{Pt.transition=null,xe=1,J1(e,t,n,r)}finally{Pt.transition=i,xe=r}return null}function J1(e,t,n,r){do kr();while(gn!==null);if((me&6)!==0)throw Error(_(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(_(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(I0(e,o),e===Ue&&(Re=Ue=null,Xe=0),(n.subtreeFlags&2064)===0&&(n.flags&2064)===0||no||(no=!0,vh(Ro,function(){return kr(),null})),o=(n.flags&15990)!==0,(n.subtreeFlags&15990)!==0||o){o=Pt.transition,Pt.transition=null;var a=xe;xe=1;var l=me;me|=4,Iu.current=null,Q1(e,n),lh(n,e),x1(us),No=!!ss,us=ss=null,e.current=n,Y1(n),C0(),me=l,xe=a,Pt.transition=o}else e.current=n;if(no&&(no=!1,gn=e,Jo=i),o=e.pendingLanes,o===0&&(bn=null),P0(n.stateNode),pt(e,Ie()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(qo)throw qo=!1,e=Fs,Fs=null,e;return(Jo&1)!==0&&e.tag!==0&&kr(),o=e.pendingLanes,(o&1)!==0?e===Vs?ui++:(ui=0,Vs=e):ui=0,Tn(),null}function kr(){if(gn!==null){var e=Gd(Jo),t=Pt.transition,n=xe;try{if(Pt.transition=null,xe=16>e?16:e,gn===null)var r=!1;else{if(e=gn,gn=null,Jo=0,(me&6)!==0)throw Error(_(331));var i=me;for(me|=4,$=e.current;$!==null;){var o=$,a=o.child;if(($.flags&16)!==0){var l=o.deletions;if(l!==null){for(var s=0;s<l.length;s++){var u=l[s];for($=u;$!==null;){var c=$;switch(c.tag){case 0:case 11:case 15:li(8,c,o)}var f=c.child;if(f!==null)f.return=c,$=f;else for(;$!==null;){c=$;var p=c.sibling,g=c.return;if(ih(c),c===u){$=null;break}if(p!==null){p.return=g,$=p;break}$=g}}}var v=o.alternate;if(v!==null){var x=v.child;if(x!==null){v.child=null;do{var S=x.sibling;x.sibling=null,x=S}while(x!==null)}}$=o}}if((o.subtreeFlags&2064)!==0&&a!==null)a.return=o,$=a;else e:for(;$!==null;){if(o=$,(o.flags&2048)!==0)switch(o.tag){case 0:case 11:case 15:li(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,$=h;break e}$=o.return}}var d=e.current;for($=d;$!==null;){a=$;var m=a.child;if((a.subtreeFlags&2064)!==0&&m!==null)m.return=a,$=m;else e:for(a=d;$!==null;){if(l=$,(l.flags&2048)!==0)try{switch(l.tag){case 0:case 11:case 15:Ca(9,l)}}catch(E){_e(l,l.return,E)}if(l===a){$=null;break e}var k=l.sibling;if(k!==null){k.return=l.return,$=k;break e}$=l.return}}if(me=i,Tn(),Qt&&typeof Qt.onPostCommitFiberRoot=="function")try{Qt.onPostCommitFiberRoot(va,e)}catch{}r=!0}return r}finally{xe=n,Pt.transition=t}}return!1}function mf(e,t,n){t=Fr(n,t),t=Qp(e,t,1),e=kn(e,t,1),t=at(),e!==null&&(Ri(e,1,t),pt(e,t))}function _e(e,t,n){if(e.tag===3)mf(e,e,n);else for(;t!==null;){if(t.tag===3){mf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(bn===null||!bn.has(r))){e=Fr(n,e),e=Yp(t,e,1),t=kn(t,e,1),e=at(),t!==null&&(Ri(t,1,e),pt(t,e));break}}t=t.return}}function ev(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=at(),e.pingedLanes|=e.suspendedLanes&n,Ue===e&&(Xe&n)===n&&($e===4||$e===3&&(Xe&130023424)===Xe&&500>Ie()-Ru?$n(e,0):Mu|=n),pt(e,t)}function hh(e,t){t===0&&((e.mode&1)===0?t=1:(t=Gi,Gi<<=1,(Gi&130023424)===0&&(Gi=4194304)));var n=at();e=an(e,t),e!==null&&(Ri(e,t,n),pt(e,n))}function tv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hh(e,n)}function nv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(_(314))}r!==null&&r.delete(t),hh(e,n)}var mh;mh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ft.current)ct=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return ct=!1,H1(e,t,n);ct=(e.flags&131072)!==0}else ct=!1,Ee&&(t.flags&1048576)!==0&&yp(t,Uo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ko(e,t),e=t.pendingProps;var i=Er(t,it.current);Sr(t,n),i=Au(null,t,r,e,i,n);var o=Fu();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,dt(r)?(o=!0,jo(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,bu(t),i.updater=ka,t.stateNode=i,i._reactInternals=t,ys(t,r,e,n),t=Ss(null,t,r,!0,o,n)):(t.tag=0,Ee&&o&&vu(t),ot(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ko(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=iv(r),e=Tt(r,e),i){case 0:t=ws(null,t,r,e,n);break e;case 1:t=of(null,t,r,e,n);break e;case 11:t=nf(null,t,r,e,n);break e;case 14:t=rf(null,t,r,Tt(r.type,e),n);break e}throw Error(_(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),ws(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),of(e,t,r,i,n);case 3:e:{if(qp(t),e===null)throw Error(_(387));r=t.pendingProps,o=t.memoizedState,i=o.element,kp(e,t),Qo(t,r,null,n);var a=t.memoizedState;if(r=a.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=Fr(Error(_(423)),t),t=af(e,t,r,n,i);break e}else if(r!==i){i=Fr(Error(_(424)),t),t=af(e,t,r,n,i);break e}else for(gt=Sn(t.stateNode.containerInfo.firstChild),yt=t,Ee=!0,Mt=null,n=Op(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Or(),r===i){t=ln(e,t,n);break e}ot(e,t,r,n)}t=t.child}return t;case 5:return Pp(t),e===null&&ms(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,cs(r,i)?a=null:o!==null&&cs(r,o)&&(t.flags|=32),Zp(e,t),ot(e,t,a,n),t.child;case 6:return e===null&&ms(t),null;case 13:return Jp(e,t,n);case 4:return Cu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Pr(t,null,r,n):ot(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),nf(e,t,r,i,n);case 7:return ot(e,t,t.pendingProps,n),t.child;case 8:return ot(e,t,t.pendingProps.children,n),t.child;case 12:return ot(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,a=i.value,Se(Wo,r._currentValue),r._currentValue=a,o!==null)if(Bt(o.value,a)){if(o.children===i.children&&!ft.current){t=ln(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var l=o.dependencies;if(l!==null){a=o.child;for(var s=l.firstContext;s!==null;){if(s.context===r){if(o.tag===1){s=nn(-1,n&-n),s.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?s.next=s:(s.next=c.next,c.next=s),u.pending=s}}o.lanes|=n,s=o.alternate,s!==null&&(s.lanes|=n),vs(o.return,n,t),l.lanes|=n;break}s=s.next}}else if(o.tag===10)a=o.type===t.type?null:o.child;else if(o.tag===18){if(a=o.return,a===null)throw Error(_(341));a.lanes|=n,l=a.alternate,l!==null&&(l.lanes|=n),vs(a,n,t),a=o.sibling}else a=o.child;if(a!==null)a.return=o;else for(a=o;a!==null;){if(a===t){a=null;break}if(o=a.sibling,o!==null){o.return=a.return,a=o;break}a=a.return}o=a}ot(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Sr(t,n),i=At(i),r=r(i),t.flags|=1,ot(e,t,r,n),t.child;case 14:return r=t.type,i=Tt(r,t.pendingProps),i=Tt(r.type,i),rf(e,t,r,i,n);case 15:return Kp(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Tt(r,i),ko(e,t),t.tag=1,dt(r)?(e=!0,jo(t)):e=!1,Sr(t,n),Cp(t,r,i),ys(t,r,i,n),Ss(null,t,r,!0,e,n);case 19:return eh(e,t,n);case 22:return Xp(e,t,n)}throw Error(_(156,t.tag))};function vh(e,t){return jd(e,t)}function rv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ot(e,t,n,r){return new rv(e,t,n,r)}function Du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function iv(e){if(typeof e=="function")return Du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===iu)return 11;if(e===ou)return 14}return 2}function En(e,t){var n=e.alternate;return n===null?(n=Ot(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Eo(e,t,n,r,i,o){var a=2;if(r=e,typeof e=="function")Du(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case ir:return Bn(n.children,i,o,t);case ru:a=8,i|=8;break;case jl:return e=Ot(12,n,t,i|2),e.elementType=jl,e.lanes=o,e;case Hl:return e=Ot(13,n,t,i),e.elementType=Hl,e.lanes=o,e;case Ul:return e=Ot(19,n,t,i),e.elementType=Ul,e.lanes=o,e;case Ed:return Oa(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case bd:a=10;break e;case Cd:a=9;break e;case iu:a=11;break e;case ou:a=14;break e;case dn:a=16,r=null;break e}throw Error(_(130,e==null?e:typeof e,""))}return t=Ot(a,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function Bn(e,t,n,r){return e=Ot(7,e,r,t),e.lanes=n,e}function Oa(e,t,n,r){return e=Ot(22,e,r,t),e.elementType=Ed,e.lanes=n,e.stateNode={isHidden:!1},e}function kl(e,t,n){return e=Ot(6,e,null,t),e.lanes=n,e}function bl(e,t,n){return t=Ot(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ov(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=rl(0),this.expirationTimes=rl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=rl(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function $u(e,t,n,r,i,o,a,l,s){return e=new ov(e,t,n,l,s),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Ot(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},bu(o),e}function av(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:rr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gh(e){if(!e)return Fn;e=e._reactInternals;e:{if(qn(e)!==e||e.tag!==1)throw Error(_(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(dt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(_(171))}if(e.tag===1){var n=e.type;if(dt(n))return vp(e,n,t)}return t}function yh(e,t,n,r,i,o,a,l,s){return e=$u(n,r,!0,e,i,o,a,l,s),e.context=gh(null),n=e.current,r=at(),i=Cn(n),o=nn(r,i),o.callback=t!=null?t:null,kn(n,o,i),e.current.lanes=i,Ri(e,i,r),pt(e,r),e}function Pa(e,t,n,r){var i=t.current,o=at(),a=Cn(i);return n=gh(n),t.context===null?t.context=n:t.pendingContext=n,t=nn(o,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=kn(i,t,a),e!==null&&(Dt(e,i,a,o),xo(e,i,a)),a}function ta(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function vf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Bu(e,t){vf(e,t),(e=e.alternate)&&vf(e,t)}function lv(){return null}var xh=typeof reportError=="function"?reportError:function(e){console.error(e)};function ju(e){this._internalRoot=e}Aa.prototype.render=ju.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(_(409));Pa(e,t,null,null)};Aa.prototype.unmount=ju.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Qn(function(){Pa(null,e,null,null)}),t[on]=null}};function Aa(e){this._internalRoot=e}Aa.prototype.unstable_scheduleHydration=function(e){if(e){var t=Kd();e={blockedOn:null,target:e,priority:t};for(var n=0;n<hn.length&&t!==0&&t<hn[n].priority;n++);hn.splice(n,0,e),n===0&&Zd(e)}};function Hu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fa(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gf(){}function sv(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=ta(a);o.call(u)}}var a=yh(t,r,e,0,null,!1,!1,"",gf);return e._reactRootContainer=a,e[on]=a.current,Si(e.nodeType===8?e.parentNode:e),Qn(),a}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var l=r;r=function(){var u=ta(s);l.call(u)}}var s=$u(e,0,!1,null,null,!1,!1,"",gf);return e._reactRootContainer=s,e[on]=s.current,Si(e.nodeType===8?e.parentNode:e),Qn(function(){Pa(t,s,n,r)}),s}function Va(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o;if(typeof i=="function"){var l=i;i=function(){var s=ta(a);l.call(s)}}Pa(t,a,e,i)}else a=sv(n,t,e,i,r);return ta(a)}Qd=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Jr(t.pendingLanes);n!==0&&(su(t,n|1),pt(t,Ie()),(me&6)===0&&(Vr=Ie()+500,Tn()))}break;case 13:Qn(function(){var r=an(e,1);if(r!==null){var i=at();Dt(r,e,1,i)}}),Bu(e,1)}};uu=function(e){if(e.tag===13){var t=an(e,134217728);if(t!==null){var n=at();Dt(t,e,134217728,n)}Bu(e,134217728)}};Yd=function(e){if(e.tag===13){var t=Cn(e),n=an(e,t);if(n!==null){var r=at();Dt(n,e,t,r)}Bu(e,t)}};Kd=function(){return xe};Xd=function(e,t){var n=xe;try{return xe=e,t()}finally{xe=n}};es=function(e,t,n){switch(t){case"input":if(Ql(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=wa(r);if(!i)throw Error(_(90));Pd(r),Ql(r,i)}}}break;case"textarea":Fd(e,n);break;case"select":t=n.value,t!=null&&gr(e,!!n.multiple,t,!1)}};Ld=Lu;Nd=Qn;var uv={usingClientEntryPoint:!1,Events:[Ni,sr,wa,Md,Rd,Lu]},Qr={findFiberByHostInstance:Nn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},cv={bundleType:Qr.bundleType,version:Qr.version,rendererPackageName:Qr.rendererPackageName,rendererConfig:Qr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:sn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=$d(e),e===null?null:e.stateNode},findFiberByHostInstance:Qr.findFiberByHostInstance||lv,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var ro=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ro.isDisabled&&ro.supportsFiber)try{va=ro.inject(cv),Qt=ro}catch{}}St.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uv;St.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Hu(t))throw Error(_(200));return av(e,t,null,n)};St.createRoot=function(e,t){if(!Hu(e))throw Error(_(299));var n=!1,r="",i=xh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=$u(e,1,!1,null,null,n,!1,r,i),e[on]=t.current,Si(e.nodeType===8?e.parentNode:e),new ju(t)};St.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(_(188)):(e=Object.keys(e).join(","),Error(_(268,e)));return e=$d(t),e=e===null?null:e.stateNode,e};St.flushSync=function(e){return Qn(e)};St.hydrate=function(e,t,n){if(!Fa(t))throw Error(_(200));return Va(null,e,t,!0,n)};St.hydrateRoot=function(e,t,n){if(!Hu(e))throw Error(_(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",a=xh;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=yh(t,null,e,1,n!=null?n:null,i,!1,o,a),e[on]=t.current,Si(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Aa(t)};St.render=function(e,t,n){if(!Fa(t))throw Error(_(200));return Va(null,e,t,!1,n)};St.unmountComponentAtNode=function(e){if(!Fa(e))throw Error(_(40));return e._reactRootContainer?(Qn(function(){Va(null,null,e,!1,function(){e._reactRootContainer=null,e[on]=null})}),!0):!1};St.unstable_batchedUpdates=Lu;St.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Fa(n))throw Error(_(200));if(e==null||e._reactInternals===void 0)throw Error(_(38));return Va(e,t,n,!1,r)};St.version="18.2.0-next-9e3b772b8-20220608";function wh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(wh)}catch(e){console.error(e)}}wh(),Js.exports=St;var Sh,yf=Js.exports;Sh=yf.createRoot,yf.hydrateRoot;var _a={exports:{}},Ta={};/**
|
|
* @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 fv=b.exports,dv=Symbol.for("react.element"),pv=Symbol.for("react.fragment"),hv=Object.prototype.hasOwnProperty,mv=fv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,vv={key:!0,ref:!0,__self:!0,__source:!0};function kh(e,t,n){var r,i={},o=null,a=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)hv.call(t,r)&&!vv.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:dv,type:e,key:o,ref:a,props:i,_owner:mv.current}}Ta.Fragment=pv;Ta.jsx=kh;Ta.jsxs=kh;_a.exports=Ta;const y=_a.exports.jsx,R=_a.exports.jsxs,na=_a.exports.Fragment,gv={display:{appearance:!1,asynchronous:!1}},bh=b.exports.createContext({}),yv=({children:e})=>{const[t,n]=b.exports.useState(gv),r=b.exports.useCallback(a=>{n(l=>({...l,display:{...a}}))},[n]),i=b.exports.useCallback(a=>{n(l=>({...l,locales:a}))},[n]),o={display:t.display,setDisplay:r,locales:t.locales,setLocales:i};return y(bh.Provider,{value:o,children:e})};function un(){return b.exports.useContext(bh)}var Ia={exports:{}},we={};/** @license React v16.13.1
|
|
* 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 We=typeof Symbol=="function"&&Symbol.for,Uu=We?Symbol.for("react.element"):60103,Wu=We?Symbol.for("react.portal"):60106,Ma=We?Symbol.for("react.fragment"):60107,Ra=We?Symbol.for("react.strict_mode"):60108,La=We?Symbol.for("react.profiler"):60114,Na=We?Symbol.for("react.provider"):60109,za=We?Symbol.for("react.context"):60110,Gu=We?Symbol.for("react.async_mode"):60111,Da=We?Symbol.for("react.concurrent_mode"):60111,$a=We?Symbol.for("react.forward_ref"):60112,Ba=We?Symbol.for("react.suspense"):60113,xv=We?Symbol.for("react.suspense_list"):60120,ja=We?Symbol.for("react.memo"):60115,Ha=We?Symbol.for("react.lazy"):60116,wv=We?Symbol.for("react.block"):60121,Sv=We?Symbol.for("react.fundamental"):60117,kv=We?Symbol.for("react.responder"):60118,bv=We?Symbol.for("react.scope"):60119;function bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Uu:switch(e=e.type,e){case Gu:case Da:case Ma:case La:case Ra:case Ba:return e;default:switch(e=e&&e.$$typeof,e){case za:case $a:case Ha:case ja:case Na:return e;default:return t}}case Wu:return t}}}function Ch(e){return bt(e)===Da}we.AsyncMode=Gu;we.ConcurrentMode=Da;we.ContextConsumer=za;we.ContextProvider=Na;we.Element=Uu;we.ForwardRef=$a;we.Fragment=Ma;we.Lazy=Ha;we.Memo=ja;we.Portal=Wu;we.Profiler=La;we.StrictMode=Ra;we.Suspense=Ba;we.isAsyncMode=function(e){return Ch(e)||bt(e)===Gu};we.isConcurrentMode=Ch;we.isContextConsumer=function(e){return bt(e)===za};we.isContextProvider=function(e){return bt(e)===Na};we.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Uu};we.isForwardRef=function(e){return bt(e)===$a};we.isFragment=function(e){return bt(e)===Ma};we.isLazy=function(e){return bt(e)===Ha};we.isMemo=function(e){return bt(e)===ja};we.isPortal=function(e){return bt(e)===Wu};we.isProfiler=function(e){return bt(e)===La};we.isStrictMode=function(e){return bt(e)===Ra};we.isSuspense=function(e){return bt(e)===Ba};we.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Ma||e===Da||e===La||e===Ra||e===Ba||e===xv||typeof e=="object"&&e!==null&&(e.$$typeof===Ha||e.$$typeof===ja||e.$$typeof===Na||e.$$typeof===za||e.$$typeof===$a||e.$$typeof===Sv||e.$$typeof===kv||e.$$typeof===bv||e.$$typeof===wv)};we.typeOf=bt;Ia.exports=we;function Cv(e){function t(P,T,N,W,C){for(var q=0,I=0,pe=0,ce=0,fe,Z,Te=0,Le=0,ae,Ne=ae=fe=0,he=0,A=0,K=0,D=0,ne=N.length,Ge=ne-1,Ce,U="",ye="",In="",Vt="",Je;he<ne;){if(Z=N.charCodeAt(he),he===Ge&&I+ce+pe+q!==0&&(I!==0&&(Z=I===47?10:47),ce=pe=q=0,ne++,Ge++),I+ce+pe+q===0){if(he===Ge&&(0<A&&(U=U.replace(p,"")),0<U.trim().length)){switch(Z){case 32:case 9:case 59:case 13:case 10:break;default:U+=N.charAt(he)}Z=59}switch(Z){case 123:for(U=U.trim(),fe=U.charCodeAt(0),ae=1,D=++he;he<ne;){switch(Z=N.charCodeAt(he)){case 123:ae++;break;case 125:ae--;break;case 47:switch(Z=N.charCodeAt(he+1)){case 42:case 47:e:{for(Ne=he+1;Ne<Ge;++Ne)switch(N.charCodeAt(Ne)){case 47:if(Z===42&&N.charCodeAt(Ne-1)===42&&he+2!==Ne){he=Ne+1;break e}break;case 10:if(Z===47){he=Ne+1;break e}}he=Ne}}break;case 91:Z++;case 40:Z++;case 34:case 39:for(;he++<Ge&&N.charCodeAt(he)!==Z;);}if(ae===0)break;he++}switch(ae=N.substring(D,he),fe===0&&(fe=(U=U.replace(f,"").trim()).charCodeAt(0)),fe){case 64:switch(0<A&&(U=U.replace(p,"")),Z=U.charCodeAt(1),Z){case 100:case 109:case 115:case 45:A=T;break;default:A=ee}if(ae=t(T,A,ae,Z,C+1),D=ae.length,0<V&&(A=n(ee,U,K),Je=l(3,ae,A,T,re,H,D,Z,C,W),U=A.join(""),Je!==void 0&&(D=(ae=Je.trim()).length)===0&&(Z=0,ae="")),0<D)switch(Z){case 115:U=U.replace(w,a);case 100:case 109:case 45:ae=U+"{"+ae+"}";break;case 107:U=U.replace(d,"$1 $2"),ae=U+"{"+ae+"}",ae=te===1||te===2&&o("@"+ae,3)?"@-webkit-"+ae+"@"+ae:"@"+ae;break;default:ae=U+ae,W===112&&(ae=(ye+=ae,""))}else ae="";break;default:ae=t(T,n(T,U,K),ae,W,C+1)}In+=ae,ae=K=A=Ne=fe=0,U="",Z=N.charCodeAt(++he);break;case 125:case 59:if(U=(0<A?U.replace(p,""):U).trim(),1<(D=U.length))switch(Ne===0&&(fe=U.charCodeAt(0),fe===45||96<fe&&123>fe)&&(D=(U=U.replace(" ",":")).length),0<V&&(Je=l(1,U,T,P,re,H,ye.length,W,C,W))!==void 0&&(D=(U=Je.trim()).length)===0&&(U="\0\0"),fe=U.charCodeAt(0),Z=U.charCodeAt(1),fe){case 0:break;case 64:if(Z===105||Z===99){Vt+=U+N.charAt(he);break}default:U.charCodeAt(D-1)!==58&&(ye+=i(U,fe,Z,U.charCodeAt(2)))}K=A=Ne=fe=0,U="",Z=N.charCodeAt(++he)}}switch(Z){case 13:case 10:I===47?I=0:1+fe===0&&W!==107&&0<U.length&&(A=1,U+="\0"),0<V*B&&l(0,U,T,P,re,H,ye.length,W,C,W),H=1,re++;break;case 59:case 125:if(I+ce+pe+q===0){H++;break}default:switch(H++,Ce=N.charAt(he),Z){case 9:case 32:if(ce+q+I===0)switch(Te){case 44:case 58:case 9:case 32:Ce="";break;default:Z!==32&&(Ce=" ")}break;case 0:Ce="\\0";break;case 12:Ce="\\f";break;case 11:Ce="\\v";break;case 38:ce+I+q===0&&(A=K=1,Ce="\f"+Ce);break;case 108:if(ce+I+q+ue===0&&0<Ne)switch(he-Ne){case 2:Te===112&&N.charCodeAt(he-3)===58&&(ue=Te);case 8:Le===111&&(ue=Le)}break;case 58:ce+I+q===0&&(Ne=he);break;case 44:I+pe+ce+q===0&&(A=1,Ce+="\r");break;case 34:case 39:I===0&&(ce=ce===Z?0:ce===0?Z:ce);break;case 91:ce+I+pe===0&&q++;break;case 93:ce+I+pe===0&&q--;break;case 41:ce+I+q===0&&pe--;break;case 40:if(ce+I+q===0){if(fe===0)switch(2*Te+3*Le){case 533:break;default:fe=1}pe++}break;case 64:I+pe+ce+q+Ne+ae===0&&(ae=1);break;case 42:case 47:if(!(0<ce+q+pe))switch(I){case 0:switch(2*Z+3*N.charCodeAt(he+1)){case 235:I=47;break;case 220:D=he,I=42}break;case 42:Z===47&&Te===42&&D+2!==he&&(N.charCodeAt(D+2)===33&&(ye+=N.substring(D,he+1)),Ce="",I=0)}}I===0&&(U+=Ce)}Le=Te,Te=Z,he++}if(D=ye.length,0<D){if(A=T,0<V&&(Je=l(2,ye,A,P,re,H,D,W,C,W),Je!==void 0&&(ye=Je).length===0))return Vt+ye+In;if(ye=A.join(",")+"{"+ye+"}",te*ue!==0){switch(te!==2||o(ye,2)||(ue=0),ue){case 111:ye=ye.replace(k,":-moz-$1")+ye;break;case 112:ye=ye.replace(m,"::-webkit-input-$1")+ye.replace(m,"::-moz-$1")+ye.replace(m,":-ms-input-$1")+ye}ue=0}}return Vt+ye+In}function n(P,T,N){var W=T.trim().split(S);T=W;var C=W.length,q=P.length;switch(q){case 0:case 1:var I=0;for(P=q===0?"":P[0]+" ";I<C;++I)T[I]=r(P,T[I],N).trim();break;default:var pe=I=0;for(T=[];I<C;++I)for(var ce=0;ce<q;++ce)T[pe++]=r(P[ce]+" ",W[I],N).trim()}return T}function r(P,T,N){var W=T.charCodeAt(0);switch(33>W&&(W=(T=T.trim()).charCodeAt(0)),W){case 38:return T.replace(h,"$1"+P.trim());case 58:return P.trim()+T.replace(h,"$1"+P.trim());default:if(0<1*N&&0<T.indexOf("\f"))return T.replace(h,(P.charCodeAt(0)===58?"":"$1")+P.trim())}return P+T}function i(P,T,N,W){var C=P+";",q=2*T+3*N+4*W;if(q===944){P=C.indexOf(":",9)+1;var I=C.substring(P,C.length-1).trim();return I=C.substring(0,P).trim()+I+";",te===1||te===2&&o(I,1)?"-webkit-"+I+I:I}if(te===0||te===2&&!o(C,1))return C;switch(q){case 1015:return C.charCodeAt(10)===97?"-webkit-"+C+C:C;case 951:return C.charCodeAt(3)===116?"-webkit-"+C+C:C;case 963:return C.charCodeAt(5)===110?"-webkit-"+C+C:C;case 1009:if(C.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+C+C;case 978:return"-webkit-"+C+"-moz-"+C+C;case 1019:case 983:return"-webkit-"+C+"-moz-"+C+"-ms-"+C+C;case 883:if(C.charCodeAt(8)===45)return"-webkit-"+C+C;if(0<C.indexOf("image-set(",11))return C.replace(j,"$1-webkit-$2")+C;break;case 932:if(C.charCodeAt(4)===45)switch(C.charCodeAt(5)){case 103:return"-webkit-box-"+C.replace("-grow","")+"-webkit-"+C+"-ms-"+C.replace("grow","positive")+C;case 115:return"-webkit-"+C+"-ms-"+C.replace("shrink","negative")+C;case 98:return"-webkit-"+C+"-ms-"+C.replace("basis","preferred-size")+C}return"-webkit-"+C+"-ms-"+C+C;case 964:return"-webkit-"+C+"-ms-flex-"+C+C;case 1023:if(C.charCodeAt(8)!==99)break;return I=C.substring(C.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+I+"-webkit-"+C+"-ms-flex-pack"+I+C;case 1005:return v.test(C)?C.replace(g,":-webkit-")+C.replace(g,":-moz-")+C:C;case 1e3:switch(I=C.substring(13).trim(),T=I.indexOf("-")+1,I.charCodeAt(0)+I.charCodeAt(T)){case 226:I=C.replace(E,"tb");break;case 232:I=C.replace(E,"tb-rl");break;case 220:I=C.replace(E,"lr");break;default:return C}return"-webkit-"+C+"-ms-"+I+C;case 1017:if(C.indexOf("sticky",9)===-1)break;case 975:switch(T=(C=P).length-10,I=(C.charCodeAt(T)===33?C.substring(0,T):C).substring(P.indexOf(":",7)+1).trim(),q=I.charCodeAt(0)+(I.charCodeAt(7)|0)){case 203:if(111>I.charCodeAt(8))break;case 115:C=C.replace(I,"-webkit-"+I)+";"+C;break;case 207:case 102:C=C.replace(I,"-webkit-"+(102<q?"inline-":"")+"box")+";"+C.replace(I,"-webkit-"+I)+";"+C.replace(I,"-ms-"+I+"box")+";"+C}return C+";";case 938:if(C.charCodeAt(5)===45)switch(C.charCodeAt(6)){case 105:return I=C.replace("-items",""),"-webkit-"+C+"-webkit-box-"+I+"-ms-flex-"+I+C;case 115:return"-webkit-"+C+"-ms-flex-item-"+C.replace(F,"")+C;default:return"-webkit-"+C+"-ms-flex-line-pack"+C.replace("align-content","").replace(F,"")+C}break;case 973:case 989:if(C.charCodeAt(3)!==45||C.charCodeAt(4)===122)break;case 931:case 953:if(L.test(P)===!0)return(I=P.substring(P.indexOf(":")+1)).charCodeAt(0)===115?i(P.replace("stretch","fill-available"),T,N,W).replace(":fill-available",":stretch"):C.replace(I,"-webkit-"+I)+C.replace(I,"-moz-"+I.replace("fill-",""))+C;break;case 962:if(C="-webkit-"+C+(C.charCodeAt(5)===102?"-ms-"+C:"")+C,N+W===211&&C.charCodeAt(13)===105&&0<C.indexOf("transform",10))return C.substring(0,C.indexOf(";",27)+1).replace(x,"$1-webkit-$2")+C}return C}function o(P,T){var N=P.indexOf(T===1?":":"{"),W=P.substring(0,T!==3?N:10);return N=P.substring(N+1,P.length-1),z(T!==2?W:W.replace(M,"$1"),N,T)}function a(P,T){var N=i(T,T.charCodeAt(0),T.charCodeAt(1),T.charCodeAt(2));return N!==T+";"?N.replace(O," or ($1)").substring(4):"("+T+")"}function l(P,T,N,W,C,q,I,pe,ce,fe){for(var Z=0,Te=T,Le;Z<V;++Z)switch(Le=X[Z].call(c,P,Te,N,W,C,q,I,pe,ce,fe)){case void 0:case!1:case!0:case null:break;default:Te=Le}if(Te!==T)return Te}function s(P){switch(P){case void 0:case null:V=X.length=0;break;default:if(typeof P=="function")X[V++]=P;else if(typeof P=="object")for(var T=0,N=P.length;T<N;++T)s(P[T]);else B=!!P|0}return s}function u(P){return P=P.prefix,P!==void 0&&(z=null,P?typeof P!="function"?te=1:(te=2,z=P):te=0),u}function c(P,T){var N=P;if(33>N.charCodeAt(0)&&(N=N.trim()),oe=N,N=[oe],0<V){var W=l(-1,T,N,N,re,H,0,0,0,0);W!==void 0&&typeof W=="string"&&(T=W)}var C=t(ee,N,T,0,0);return 0<V&&(W=l(-2,C,N,N,re,H,C.length,0,0,0),W!==void 0&&(C=W)),oe="",ue=0,H=re=1,C}var f=/^\0+/g,p=/[\0\r\f]/g,g=/: */g,v=/zoo|gra/,x=/([,: ])(transform)/g,S=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,d=/@(k\w+)\s*(\S*)\s*/,m=/::(place)/g,k=/:(read-only)/g,E=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,F=/-self|flex-/g,M=/[^]*?(:[rp][el]a[\w-]+)[^]*/,L=/stretch|:\s*\w+\-(?:conte|avail)/,j=/([^-])(image-set\()/,H=1,re=1,ue=0,te=1,ee=[],X=[],V=0,z=null,B=0,oe="";return c.use=s,c.set=u,e!==void 0&&u(e),c}var Ev={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,strokeWidth:1};function Eh(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ov=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,xf=Eh(function(e){return Ov.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Qu=Ia.exports,Pv={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Av={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Fv={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Oh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Yu={};Yu[Qu.ForwardRef]=Fv;Yu[Qu.Memo]=Oh;function wf(e){return Qu.isMemo(e)?Oh:Yu[e.$$typeof]||Pv}var Vv=Object.defineProperty,_v=Object.getOwnPropertyNames,Sf=Object.getOwnPropertySymbols,Tv=Object.getOwnPropertyDescriptor,Iv=Object.getPrototypeOf,kf=Object.prototype;function Ph(e,t,n){if(typeof t!="string"){if(kf){var r=Iv(t);r&&r!==kf&&Ph(e,r,n)}var i=_v(t);Sf&&(i=i.concat(Sf(t)));for(var o=wf(e),a=wf(t),l=0;l<i.length;++l){var s=i[l];if(!Av[s]&&!(n&&n[s])&&!(a&&a[s])&&!(o&&o[s])){var u=Tv(t,s);try{Vv(e,s,u)}catch{}}}}return e}var Mv=Ph;function Lt(){return(Lt=Object.assign||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}).apply(this,arguments)}var bf=function(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n},Is=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!Ia.exports.typeOf(e)},ra=Object.freeze([]),On=Object.freeze({});function _r(e){return typeof e=="function"}function Cf(e){return e.displayName||e.name||"Component"}function Ku(e){return e&&typeof e.styledComponentId=="string"}var Tr=typeof process!="undefined"&&process.env!==void 0&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",Xu=typeof window!="undefined"&&"HTMLElement"in window,Rv=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env!==void 0&&({}.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&{}.REACT_APP_SC_DISABLE_SPEEDY!==""?{}.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&{}.REACT_APP_SC_DISABLE_SPEEDY:{}.SC_DISABLE_SPEEDY!==void 0&&{}.SC_DISABLE_SPEEDY!==""?{}.SC_DISABLE_SPEEDY!=="false"&&{}.SC_DISABLE_SPEEDY:!1)),Lv={};function Yn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var Nv=function(){function e(n){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=n}var t=e.prototype;return t.indexOfGroup=function(n){for(var r=0,i=0;i<n;i++)r+=this.groupSizes[i];return r},t.insertRules=function(n,r){if(n>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,a=o;n>=a;)(a<<=1)<0&&Yn(16,""+n);this.groupSizes=new Uint32Array(a),this.groupSizes.set(i),this.length=a;for(var l=o;l<a;l++)this.groupSizes[l]=0}for(var s=this.indexOfGroup(n+1),u=0,c=r.length;u<c;u++)this.tag.insertRule(s,r[u])&&(this.groupSizes[n]++,s++)},t.clearGroup=function(n){if(n<this.length){var r=this.groupSizes[n],i=this.indexOfGroup(n),o=i+r;this.groupSizes[n]=0;for(var a=i;a<o;a++)this.tag.deleteRule(i)}},t.getGroup=function(n){var r="";if(n>=this.length||this.groupSizes[n]===0)return r;for(var i=this.groupSizes[n],o=this.indexOfGroup(n),a=o+i,l=o;l<a;l++)r+=this.tag.getRule(l)+`/*!sc*/
|
|
`;return r},e}(),Oo=new Map,ia=new Map,ci=1,io=function(e){if(Oo.has(e))return Oo.get(e);for(;ia.has(ci);)ci++;var t=ci++;return Oo.set(e,t),ia.set(t,e),t},zv=function(e){return ia.get(e)},Dv=function(e,t){t>=ci&&(ci=t+1),Oo.set(e,t),ia.set(t,e)},$v="style["+Tr+'][data-styled-version="5.3.11"]',Bv=new RegExp("^"+Tr+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),jv=function(e,t,n){for(var r,i=n.split(","),o=0,a=i.length;o<a;o++)(r=i[o])&&e.registerName(t,r)},Hv=function(e,t){for(var n=(t.textContent||"").split(`/*!sc*/
|
|
`),r=[],i=0,o=n.length;i<o;i++){var a=n[i].trim();if(a){var l=a.match(Bv);if(l){var s=0|parseInt(l[1],10),u=l[2];s!==0&&(Dv(u,s),jv(e,u,l[3]),e.getTag().insertRules(s,r)),r.length=0}else r.push(a)}}},Uv=function(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:null},Ah=function(e){var t=document.head,n=e||t,r=document.createElement("style"),i=function(l){for(var s=l.childNodes,u=s.length;u>=0;u--){var c=s[u];if(c&&c.nodeType===1&&c.hasAttribute(Tr))return c}}(n),o=i!==void 0?i.nextSibling:null;r.setAttribute(Tr,"active"),r.setAttribute("data-styled-version","5.3.11");var a=Uv();return a&&r.setAttribute("nonce",a),n.insertBefore(r,o),r},Wv=function(){function e(n){var r=this.element=Ah(n);r.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,a=0,l=o.length;a<l;a++){var s=o[a];if(s.ownerNode===i)return s}Yn(17)}(r),this.length=0}var t=e.prototype;return t.insertRule=function(n,r){try{return this.sheet.insertRule(r,n),this.length++,!0}catch{return!1}},t.deleteRule=function(n){this.sheet.deleteRule(n),this.length--},t.getRule=function(n){var r=this.sheet.cssRules[n];return r!==void 0&&typeof r.cssText=="string"?r.cssText:""},e}(),Gv=function(){function e(n){var r=this.element=Ah(n);this.nodes=r.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(n,r){if(n<=this.length&&n>=0){var i=document.createTextNode(r),o=this.nodes[n];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(n){this.element.removeChild(this.nodes[n]),this.length--},t.getRule=function(n){return n<this.length?this.nodes[n].textContent:""},e}(),Qv=function(){function e(n){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(n,r){return n<=this.length&&(this.rules.splice(n,0,r),this.length++,!0)},t.deleteRule=function(n){this.rules.splice(n,1),this.length--},t.getRule=function(n){return n<this.length?this.rules[n]:""},e}(),Ef=Xu,Yv={isServer:!Xu,useCSSOMInjection:!Rv},oa=function(){function e(n,r,i){n===void 0&&(n=On),r===void 0&&(r={}),this.options=Lt({},Yv,{},n),this.gs=r,this.names=new Map(i),this.server=!!n.isServer,!this.server&&Xu&&Ef&&(Ef=!1,function(o){for(var a=document.querySelectorAll($v),l=0,s=a.length;l<s;l++){var u=a[l];u&&u.getAttribute(Tr)!=="active"&&(Hv(o,u),u.parentNode&&u.parentNode.removeChild(u))}}(this))}e.registerId=function(n){return io(n)};var t=e.prototype;return t.reconstructWithOptions=function(n,r){return r===void 0&&(r=!0),new e(Lt({},this.options,{},n),this.gs,r&&this.names||void 0)},t.allocateGSInstance=function(n){return this.gs[n]=(this.gs[n]||0)+1},t.getTag=function(){return this.tag||(this.tag=(i=(r=this.options).isServer,o=r.useCSSOMInjection,a=r.target,n=i?new Qv(a):o?new Wv(a):new Gv(a),new Nv(n)));var n,r,i,o,a},t.hasNameForId=function(n,r){return this.names.has(n)&&this.names.get(n).has(r)},t.registerName=function(n,r){if(io(n),this.names.has(n))this.names.get(n).add(r);else{var i=new Set;i.add(r),this.names.set(n,i)}},t.insertRules=function(n,r,i){this.registerName(n,r),this.getTag().insertRules(io(n),i)},t.clearNames=function(n){this.names.has(n)&&this.names.get(n).clear()},t.clearRules=function(n){this.getTag().clearGroup(io(n)),this.clearNames(n)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(n){for(var r=n.getTag(),i=r.length,o="",a=0;a<i;a++){var l=zv(a);if(l!==void 0){var s=n.names.get(l),u=r.getGroup(a);if(s&&u&&s.size){var c=Tr+".g"+a+'[id="'+l+'"]',f="";s!==void 0&&s.forEach(function(p){p.length>0&&(f+=p+",")}),o+=""+u+c+'{content:"'+f+`"}/*!sc*/
|
|
`}}}return o}(this)},e}(),Kv=/(a)(d)/gi,Of=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ms(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=Of(t%52)+n;return(Of(t%52)+n).replace(Kv,"$1-$2")}var mr=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},Fh=function(e){return mr(5381,e)};function Vh(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(_r(n)&&!Ku(n))return!1}return!0}var Xv=Fh("5.3.11"),Zv=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=(r===void 0||r.isStatic)&&Vh(t),this.componentId=n,this.baseHash=mr(Xv,n),this.baseStyle=r,oa.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,n,r)),this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var a=Kn(this.rules,t,n,r).join(""),l=Ms(mr(this.baseHash,a)>>>0);if(!n.hasNameForId(i,l)){var s=r(a,"."+l,void 0,i);n.insertRules(i,l,s)}o.push(l),this.staticRulesId=l}else{for(var u=this.rules.length,c=mr(this.baseHash,r.hash),f="",p=0;p<u;p++){var g=this.rules[p];if(typeof g=="string")f+=g;else if(g){var v=Kn(g,t,n,r),x=Array.isArray(v)?v.join(""):v;c=mr(c,x+p),f+=x}}if(f){var S=Ms(c>>>0);if(!n.hasNameForId(i,S)){var h=r(f,"."+S,void 0,i);n.insertRules(i,S,h)}o.push(S)}}return o.join(" ")},e}(),qv=/^\s*\/\/.*$/gm,Jv=[":","[",".","#"];function eg(e){var t,n,r,i,o=e===void 0?On:e,a=o.options,l=a===void 0?On:a,s=o.plugins,u=s===void 0?ra:s,c=new Cv(l),f=[],p=function(x){function S(h){if(h)try{x(h+"}")}catch{}}return function(h,d,m,k,E,w,O,F,M,L){switch(h){case 1:if(M===0&&d.charCodeAt(0)===64)return x(d+";"),"";break;case 2:if(F===0)return d+"/*|*/";break;case 3:switch(F){case 102:case 112:return x(m[0]+d),"";default:return d+(L===0?"/*|*/":"")}case-2:d.split("/*|*/}").forEach(S)}}}(function(x){f.push(x)}),g=function(x,S,h){return S===0&&Jv.indexOf(h[n.length])!==-1||h.match(i)?x:"."+t};function v(x,S,h,d){d===void 0&&(d="&");var m=x.replace(qv,""),k=S&&h?h+" "+S+" { "+m+" }":m;return t=d,n=S,r=new RegExp("\\"+n+"\\b","g"),i=new RegExp("(\\"+n+"\\b){2,}"),c(h||!S?"":S,k)}return c.use([].concat(u,[function(x,S,h){x===2&&h.length&&h[0].lastIndexOf(n)>0&&(h[0]=h[0].replace(r,g))},p,function(x){if(x===-2){var S=f;return f=[],S}}])),v.hash=u.length?u.reduce(function(x,S){return S.name||Yn(15),mr(x,S.name)},5381).toString():"",v}var _h=He.createContext();_h.Consumer;var Th=He.createContext(),tg=(Th.Consumer,new oa),Rs=eg();function Ih(){return b.exports.useContext(_h)||tg}function Mh(){return b.exports.useContext(Th)||Rs}var ng=function(){function e(t,n){var r=this;this.inject=function(i,o){o===void 0&&(o=Rs);var a=r.name+o.hash;i.hasNameForId(r.id,a)||i.insertRules(r.id,a,o(r.rules,a,"@keyframes"))},this.toString=function(){return Yn(12,String(r.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=n}return e.prototype.getName=function(t){return t===void 0&&(t=Rs),this.name+t.hash},e}(),rg=/([A-Z])/,ig=/([A-Z])/g,og=/^ms-/,ag=function(e){return"-"+e.toLowerCase()};function Pf(e){return rg.test(e)?e.replace(ig,ag).replace(og,"-ms-"):e}var Af=function(e){return e==null||e===!1||e===""};function Kn(e,t,n,r){if(Array.isArray(e)){for(var i,o=[],a=0,l=e.length;a<l;a+=1)(i=Kn(e[a],t,n,r))!==""&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(Af(e))return"";if(Ku(e))return"."+e.styledComponentId;if(_r(e)){if(typeof(u=e)!="function"||u.prototype&&u.prototype.isReactComponent||!t)return e;var s=e(t);return Kn(s,t,n,r)}var u;return e instanceof ng?n?(e.inject(n,r),e.getName(r)):e:Is(e)?function c(f,p){var g,v,x=[];for(var S in f)f.hasOwnProperty(S)&&!Af(f[S])&&(Array.isArray(f[S])&&f[S].isCss||_r(f[S])?x.push(Pf(S)+":",f[S],";"):Is(f[S])?x.push.apply(x,c(f[S],S)):x.push(Pf(S)+": "+(g=S,(v=f[S])==null||typeof v=="boolean"||v===""?"":typeof v!="number"||v===0||g in Ev||g.startsWith("--")?String(v).trim():v+"px")+";"));return p?[p+" {"].concat(x,["}"]):x}(e):e.toString()}var Ff=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Di(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return _r(e)||Is(e)?Ff(Kn(bf(ra,[e].concat(n)))):n.length===0&&e.length===1&&typeof e[0]=="string"?e:Ff(Kn(bf(e,n)))}var Rh=function(e,t,n){return n===void 0&&(n=On),e.theme!==n.theme&&e.theme||t||n.theme},lg=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,sg=/(^-|-$)/g;function Cl(e){return e.replace(lg,"-").replace(sg,"")}var Lh=function(e){return Ms(Fh(e)>>>0)};function oo(e){return typeof e=="string"&&!0}var Ls=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},ug=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function cg(e,t,n){var r=e[n];Ls(t)&&Ls(r)?Nh(r,t):e[n]=t}function Nh(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];if(Ls(a))for(var l in a)ug(l)&&cg(e,a[l],l)}return e}var Xn=He.createContext();Xn.Consumer;function fg(e){var t=b.exports.useContext(Xn),n=b.exports.useMemo(function(){return function(r,i){if(!r)return Yn(14);if(_r(r)){var o=r(i);return o}return Array.isArray(r)||typeof r!="object"?Yn(8):i?Lt({},i,{},r):r}(e.theme,t)},[e.theme,t]);return e.children?He.createElement(Xn.Provider,{value:n},e.children):null}var El={};function zh(e,t,n){var r=Ku(e),i=!oo(e),o=t.attrs,a=o===void 0?ra:o,l=t.componentId,s=l===void 0?function(d,m){var k=typeof d!="string"?"sc":Cl(d);El[k]=(El[k]||0)+1;var E=k+"-"+Lh("5.3.11"+k+El[k]);return m?m+"-"+E:E}(t.displayName,t.parentComponentId):l,u=t.displayName,c=u===void 0?function(d){return oo(d)?"styled."+d:"Styled("+Cf(d)+")"}(e):u,f=t.displayName&&t.componentId?Cl(t.displayName)+"-"+t.componentId:t.componentId||s,p=r&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,g=t.shouldForwardProp;r&&e.shouldForwardProp&&(g=t.shouldForwardProp?function(d,m,k){return e.shouldForwardProp(d,m,k)&&t.shouldForwardProp(d,m,k)}:e.shouldForwardProp);var v,x=new Zv(n,f,r?e.componentStyle:void 0),S=x.isStatic&&a.length===0,h=function(d,m){return function(k,E,w,O){var F=k.attrs,M=k.componentStyle,L=k.defaultProps,j=k.foldedComponentIds,H=k.shouldForwardProp,re=k.styledComponentId,ue=k.target,te=function(W,C,q){W===void 0&&(W=On);var I=Lt({},C,{theme:W}),pe={};return q.forEach(function(ce){var fe,Z,Te,Le=ce;for(fe in _r(Le)&&(Le=Le(I)),Le)I[fe]=pe[fe]=fe==="className"?(Z=pe[fe],Te=Le[fe],Z&&Te?Z+" "+Te:Z||Te):Le[fe]}),[I,pe]}(Rh(E,b.exports.useContext(Xn),L)||On,E,F),ee=te[0],X=te[1],V=function(W,C,q,I){var pe=Ih(),ce=Mh(),fe=C?W.generateAndInjectStyles(On,pe,ce):W.generateAndInjectStyles(q,pe,ce);return fe}(M,O,ee),z=w,B=X.$as||E.$as||X.as||E.as||ue,oe=oo(B),P=X!==E?Lt({},E,{},X):E,T={};for(var N in P)N[0]!=="$"&&N!=="as"&&(N==="forwardedAs"?T.as=P[N]:(H?H(N,xf,B):!oe||xf(N))&&(T[N]=P[N]));return E.style&&X.style!==E.style&&(T.style=Lt({},E.style,{},X.style)),T.className=Array.prototype.concat(j,re,V!==re?V:null,E.className,X.className).filter(Boolean).join(" "),T.ref=z,b.exports.createElement(B,T)}(v,d,m,S)};return h.displayName=c,(v=He.forwardRef(h)).attrs=p,v.componentStyle=x,v.displayName=c,v.shouldForwardProp=g,v.foldedComponentIds=r?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):ra,v.styledComponentId=f,v.target=r?e.target:e,v.withComponent=function(d){var m=t.componentId,k=function(w,O){if(w==null)return{};var F,M,L={},j=Object.keys(w);for(M=0;M<j.length;M++)F=j[M],O.indexOf(F)>=0||(L[F]=w[F]);return L}(t,["componentId"]),E=m&&m+"-"+(oo(d)?d:Cl(Cf(d)));return zh(d,Lt({},k,{attrs:p,componentId:E}),n)},Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(d){this._foldedDefaultProps=r?Nh({},e.defaultProps,d):d}}),Object.defineProperty(v,"toString",{value:function(){return"."+v.styledComponentId}}),i&&Mv(v,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),v}var Ns=function(e){return function t(n,r,i){if(i===void 0&&(i=On),!Ia.exports.isValidElementType(r))return Yn(1,String(r));var o=function(){return n(r,i,Di.apply(void 0,arguments))};return o.withConfig=function(a){return t(n,r,Lt({},i,{},a))},o.attrs=function(a){return t(n,r,Lt({},i,{attrs:Array.prototype.concat(i.attrs,a).filter(Boolean)}))},o}(zh,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){Ns[e]=Ns(e)});var dg=function(){function e(n,r){this.rules=n,this.componentId=r,this.isStatic=Vh(n),oa.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(n,r,i,o){var a=o(Kn(this.rules,r,i,o).join(""),""),l=this.componentId+n;i.insertRules(l,l,a)},t.removeStyles=function(n,r){r.clearRules(this.componentId+n)},t.renderStyles=function(n,r,i,o){n>2&&oa.registerId(this.componentId+n),this.removeStyles(n,i),this.createStyles(n,r,i,o)},e}();function pg(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Di.apply(void 0,[e].concat(n)),o="sc-global-"+Lh(JSON.stringify(i)),a=new dg(i,o);function l(u){var c=Ih(),f=Mh(),p=b.exports.useContext(Xn),g=b.exports.useRef(c.allocateGSInstance(o)).current;return c.server&&s(g,u,c,p,f),b.exports.useLayoutEffect(function(){if(!c.server)return s(g,u,c,p,f),function(){return a.removeStyles(g,c)}},[g,u,c,p,f]),null}function s(u,c,f,p,g){if(a.isStatic)a.renderStyles(u,Lv,f,g);else{var v=Lt({},c,{theme:Rh(c,p,l.defaultProps)});a.renderStyles(u,v,f,g)}}return He.memo(l)}var Ve=Ns,hg=pg`
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
outline: 0;
|
|
font-family: '${e=>e.theme.fontFamily}', sans-serif;
|
|
}
|
|
|
|
body {
|
|
background: transparent;
|
|
-webkit-font-smoothing: antialiased;
|
|
overflow: hidden;
|
|
/* background: url('https://cdn.discordapp.com/attachments/694641187901931601/786575235734437938/unknown.png'); */
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
outline: 0;
|
|
}
|
|
`;function Q(){return Q=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},Q.apply(this,arguments)}function $t(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const ie={arr:Array.isArray,obj:e=>Object.prototype.toString.call(e)==="[object Object]",fun:e=>typeof e=="function",str:e=>typeof e=="string",num:e=>typeof e=="number",und:e=>e===void 0,nul:e=>e===null,set:e=>e instanceof Set,map:e=>e instanceof Map,equ(e,t){if(typeof e!=typeof t)return!1;if(ie.str(e)||ie.num(e))return e===t;if(ie.obj(e)&&ie.obj(t)&&Object.keys(e).length+Object.keys(t).length===0)return!0;let n;for(n in e)if(!(n in t))return!1;for(n in t)if(e[n]!==t[n])return!1;return ie.und(n)?e===t:!0}};function mg(e,t){return t===void 0&&(t=!0),n=>(ie.arr(n)?n:Object.keys(n)).reduce((r,i)=>{const o=t?i[0].toLowerCase()+i.substring(1):i;return r[o]=e(o),r},e)}function Dh(){const e=b.exports.useState(!1),t=e[1];return b.exports.useCallback(()=>t(r=>!r),[])}function Mn(e,t){return ie.und(e)||ie.nul(e)?t:e}function vr(e){return ie.und(e)?[]:ie.arr(e)?e:[e]}function vt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ie.fun(e)?e(...n):e}function vg(e){return e.to,e.from,e.config,e.onStart,e.onRest,e.onFrame,e.children,e.reset,e.reverse,e.force,e.immediate,e.delay,e.attach,e.destroyed,e.interpolateTo,e.ref,e.lazy,$t(e,["to","from","config","onStart","onRest","onFrame","children","reset","reverse","force","immediate","delay","attach","destroyed","interpolateTo","ref","lazy"])}function Ol(e){const t=vg(e);if(ie.und(t))return Q({to:t},e);const n=Object.keys(e).reduce((r,i)=>ie.und(t[i])?Q({},r,{[i]:e[i]}):r,{});return Q({to:t},n)}function gg(e,t){return t&&(ie.fun(t)?t(e):ie.obj(t)&&(t.current=e)),e}class Rt{constructor(){this.payload=void 0,this.children=[]}getAnimatedValue(){return this.getValue()}getPayload(){return this.payload||this}attach(){}detach(){}getChildren(){return this.children}addChild(t){this.children.length===0&&this.attach(),this.children.push(t)}removeChild(t){const n=this.children.indexOf(t);this.children.splice(n,1),this.children.length===0&&this.detach()}}class zs extends Rt{constructor(){super(...arguments),this.payload=[],this.attach=()=>this.payload.forEach(t=>t instanceof Rt&&t.addChild(this)),this.detach=()=>this.payload.forEach(t=>t instanceof Rt&&t.removeChild(this))}}class $h extends Rt{constructor(){super(...arguments),this.payload={},this.attach=()=>Object.values(this.payload).forEach(t=>t instanceof Rt&&t.addChild(this)),this.detach=()=>Object.values(this.payload).forEach(t=>t instanceof Rt&&t.removeChild(this))}getValue(t){t===void 0&&(t=!1);const n={};for(const r in this.payload){const i=this.payload[r];t&&!(i instanceof Rt)||(n[r]=i instanceof Rt?i[t?"getAnimatedValue":"getValue"]():i)}return n}getAnimatedValue(){return this.getValue(!0)}}let Zu;function yg(e,t){Zu={fn:e,transform:t}}let Bh;function xg(e){Bh=e}let jh=e=>typeof window!="undefined"?window.requestAnimationFrame(e):-1,aa;function wg(e){aa=e}let Hh=()=>Date.now(),Sg=e=>e.current,Uh;function kg(e){Uh=e}class bg extends $h{constructor(t,n){super(),this.update=void 0,this.payload=t.style?Q({},t,{style:Uh(t.style)}):t,this.update=n,this.attach()}}const Cg=e=>ie.fun(e)&&!(e.prototype instanceof He.Component),Eg=e=>b.exports.forwardRef((n,r)=>{const i=Dh(),o=b.exports.useRef(!0),a=b.exports.useRef(null),l=b.exports.useRef(null),s=b.exports.useCallback(p=>{const g=a.current,v=()=>{let x=!1;l.current&&(x=Zu.fn(l.current,a.current.getAnimatedValue())),(!l.current||x===!1)&&i()};a.current=new bg(p,v),g&&g.detach()},[]);b.exports.useEffect(()=>()=>{o.current=!1,a.current&&a.current.detach()},[]),b.exports.useImperativeHandle(r,()=>Sg(l)),s(n);const u=a.current.getValue();u.scrollTop,u.scrollLeft;const c=$t(u,["scrollTop","scrollLeft"]),f=Cg(e)?void 0:p=>l.current=gg(p,r);return y(e,{...c,ref:f})});let fi=!1;const jn=new Set,Wh=()=>{if(!fi)return!1;let e=Hh();for(let t of jn){let n=!1;for(let r=0;r<t.configs.length;r++){let i=t.configs[r],o,a;for(let l=0;l<i.animatedValues.length;l++){let s=i.animatedValues[l];if(s.done)continue;let u=i.fromValues[l],c=i.toValues[l],f=s.lastPosition,p=c instanceof Rt,g=Array.isArray(i.initialVelocity)?i.initialVelocity[l]:i.initialVelocity;if(p&&(c=c.getValue()),i.immediate){s.setValue(c),s.done=!0;continue}if(typeof u=="string"||typeof c=="string"){s.setValue(c),s.done=!0;continue}if(i.duration!==void 0)f=u+i.easing((e-s.startTime)/i.duration)*(c-u),o=e>=s.startTime+i.duration;else if(i.decay)f=u+g/(1-.998)*(1-Math.exp(-(1-.998)*(e-s.startTime))),o=Math.abs(s.lastPosition-f)<.1,o&&(c=f);else{a=s.lastTime!==void 0?s.lastTime:e,g=s.lastVelocity!==void 0?s.lastVelocity:i.initialVelocity,e>a+64&&(a=e);let v=Math.floor(e-a);for(let d=0;d<v;++d){let m=-i.tension*(f-c),k=-i.friction*g,E=(m+k)/i.mass;g=g+E*1/1e3,f=f+g*1/1e3}let x=i.clamp&&i.tension!==0?u<c?f>c:f<c:!1,S=Math.abs(g)<=i.precision,h=i.tension!==0?Math.abs(c-f)<=i.precision:!0;o=x||S&&h,s.lastVelocity=g,s.lastTime=e}p&&!i.toValues[l].done&&(o=!1),o?(s.value!==c&&(f=c),s.done=!0):n=!0,s.setValue(f),s.lastPosition=f}t.props.onFrame&&(t.values[i.name]=i.interpolation.getValue())}t.props.onFrame&&t.props.onFrame(t.values),n||(jn.delete(t),t.stop(!0))}return jn.size?jh(Wh):fi=!1,fi},Og=e=>{jn.has(e)||jn.add(e),fi||(fi=!0,jh(Wh))},Pg=e=>{jn.has(e)&&jn.delete(e)};function la(e,t,n){if(typeof e=="function")return e;if(Array.isArray(e))return la({range:e,output:t,extrapolate:n});if(aa&&typeof e.output[0]=="string")return aa(e);const r=e,i=r.output,o=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",l=r.extrapolateRight||r.extrapolate||"extend",s=r.easing||(u=>u);return u=>{const c=Fg(u,o);return Ag(u,o[c],o[c+1],i[c],i[c+1],s,a,l,r.map)}}function Ag(e,t,n,r,i,o,a,l,s){let u=s?s(e):e;if(u<t){if(a==="identity")return u;a==="clamp"&&(u=t)}if(u>n){if(l==="identity")return u;l==="clamp"&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u=u-t:u=(u-t)/(n-t),u=o(u),r===-1/0?u=-u:i===1/0?u=u+r:u=u*(i-r)+r,u)}function Fg(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}class Vi extends zs{constructor(t,n,r,i){super(),this.calc=void 0,this.payload=t instanceof zs&&!(t instanceof Vi)?t.getPayload():Array.isArray(t)?t:[t],this.calc=la(n,r,i)}getValue(){return this.calc(...this.payload.map(t=>t.getValue()))}updateConfig(t,n,r){this.calc=la(t,n,r)}interpolate(t,n,r){return new Vi(this,t,n,r)}}function Gh(e,t){"update"in e?t.add(e):e.getChildren().forEach(n=>Gh(n,t))}class Ds extends Rt{constructor(t){var n;super(),n=this,this.animatedStyles=new Set,this.value=void 0,this.startPosition=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.startTime=void 0,this.lastTime=void 0,this.done=!1,this.setValue=function(r,i){i===void 0&&(i=!0),n.value=r,i&&n.flush()},this.value=t,this.startPosition=t,this.lastPosition=t}flush(){this.animatedStyles.size===0&&Gh(this,this.animatedStyles),this.animatedStyles.forEach(t=>t.update())}clearStyles(){this.animatedStyles.clear()}getValue(){return this.value}interpolate(t,n,r){return new Vi(this,t,n,r)}}class Vg extends zs{constructor(t){super(),this.payload=t.map(n=>new Ds(n))}setValue(t,n){n===void 0&&(n=!0),Array.isArray(t)?t.length===this.payload.length&&t.forEach((r,i)=>this.payload[i].setValue(r,n)):this.payload.forEach(r=>r.setValue(t,n))}getValue(){return this.payload.map(t=>t.getValue())}interpolate(t,n){return new Vi(this,t,n)}}let _g=0;class Qh{constructor(){this.id=void 0,this.idle=!0,this.hasChanged=!1,this.guid=0,this.local=0,this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.listeners=[],this.queue=[],this.localQueue=void 0,this.getValues=()=>this.interpolations,this.id=_g++}update(t){if(!t)return this;const n=Ol(t),r=n.delay,i=r===void 0?0:r,o=n.to,a=$t(n,["delay","to"]);if(ie.arr(o)||ie.fun(o))this.queue.push(Q({},a,{delay:i,to:o}));else if(o){let l={};Object.entries(o).forEach(s=>{let u=s[0],c=s[1];const f=Q({to:{[u]:c},delay:vt(i,u)},a),p=l[f.delay]&&l[f.delay].to;l[f.delay]=Q({},l[f.delay],f,{to:Q({},p,f.to)})}),this.queue=Object.values(l)}return this.queue=this.queue.sort((l,s)=>l.delay-s.delay),this.diff(a),this}start(t){if(this.queue.length){this.idle=!1,this.localQueue&&this.localQueue.forEach(i=>{let o=i.from,a=o===void 0?{}:o,l=i.to,s=l===void 0?{}:l;ie.obj(a)&&(this.merged=Q({},a,this.merged)),ie.obj(s)&&(this.merged=Q({},this.merged,s))});const n=this.local=++this.guid,r=this.localQueue=this.queue;this.queue=[],r.forEach((i,o)=>{let a=i.delay,l=$t(i,["delay"]);const s=c=>{o===r.length-1&&n===this.guid&&c&&(this.idle=!0,this.props.onRest&&this.props.onRest(this.merged)),t&&t()};let u=ie.arr(l.to)||ie.fun(l.to);a?setTimeout(()=>{n===this.guid&&(u?this.runAsync(l,s):this.diff(l).start(s))},a):u?this.runAsync(l,s):this.diff(l).start(s)})}else ie.fun(t)&&this.listeners.push(t),this.props.onStart&&this.props.onStart(),Og(this);return this}stop(t){return this.listeners.forEach(n=>n(t)),this.listeners=[],this}pause(t){return this.stop(!0),t&&Pg(this),this}runAsync(t,n){var r=this;t.delay;let i=$t(t,["delay"]);const o=this.local;let a=Promise.resolve(void 0);if(ie.arr(i.to))for(let l=0;l<i.to.length;l++){const s=l,u=Q({},i,Ol(i.to[s]));ie.arr(u.config)&&(u.config=u.config[s]),a=a.then(()=>{if(o===this.guid)return new Promise(c=>this.diff(u).start(c))})}else if(ie.fun(i.to)){let l=0,s;a=a.then(()=>i.to(u=>{const c=Q({},i,Ol(u));if(ie.arr(c.config)&&(c.config=c.config[l]),l++,o===this.guid)return s=new Promise(f=>this.diff(c).start(f))},function(u){return u===void 0&&(u=!0),r.stop(u)}).then(()=>s))}a.then(n)}diff(t){this.props=Q({},this.props,t);let n=this.props,r=n.from,i=r===void 0?{}:r,o=n.to,a=o===void 0?{}:o,l=n.config,s=l===void 0?{}:l,u=n.reverse,c=n.attach,f=n.reset,p=n.immediate;if(u){var g=[a,i];i=g[0],a=g[1]}this.merged=Q({},i,this.merged,a),this.hasChanged=!1;let v=c&&c(this);if(this.animations=Object.entries(this.merged).reduce((x,S)=>{let h=S[0],d=S[1],m=x[h]||{};const k=ie.num(d),E=ie.str(d)&&!d.startsWith("#")&&!/\d/.test(d)&&!Bh[d],w=ie.arr(d),O=!k&&!w&&!E;let F=ie.und(i[h])?d:i[h],M=k||w||E?d:1,L=vt(s,h);v&&(M=v.animations[h].parent);let j=m.parent,H=m.interpolation,re=vr(v?M.getPayload():M),ue,te=d;O&&(te=aa({range:[0,1],output:[d,d]})(1));let ee=H&&H.getValue();const V=!ie.und(j)&&m.animatedValues.some(P=>!P.done),z=!ie.equ(te,ee),B=!ie.equ(te,m.previous),oe=!ie.equ(L,m.config);if(f||B&&z||oe){if(k||E)j=H=m.parent||new Ds(F);else if(w)j=H=m.parent||new Vg(F);else if(O){let P=m.interpolation&&m.interpolation.calc(m.parent.value);P=P!==void 0&&!f?P:F,m.parent?(j=m.parent,j.setValue(0,!1)):j=new Ds(0);const T={output:[P,d]};m.interpolation?(H=m.interpolation,m.interpolation.updateConfig(T)):H=j.interpolate(T)}return re=vr(v?M.getPayload():M),ue=vr(j.getPayload()),f&&!O&&j.setValue(F,!1),this.hasChanged=!0,ue.forEach(P=>{P.startPosition=P.value,P.lastPosition=P.value,P.lastVelocity=V?P.lastVelocity:void 0,P.lastTime=V?P.lastTime:void 0,P.startTime=Hh(),P.done=!1,P.animatedStyles.clear()}),vt(p,h)&&j.setValue(O?M:d,!1),Q({},x,{[h]:Q({},m,{name:h,parent:j,interpolation:H,animatedValues:ue,toValues:re,previous:te,config:L,fromValues:vr(j.getValue()),immediate:vt(p,h),initialVelocity:Mn(L.velocity,0),clamp:Mn(L.clamp,!1),precision:Mn(L.precision,.01),tension:Mn(L.tension,170),friction:Mn(L.friction,26),mass:Mn(L.mass,1),duration:L.duration,easing:Mn(L.easing,P=>P),decay:L.decay})})}else return z?x:(O&&(j.setValue(1,!1),H.updateConfig({output:[te,te]})),j.done=!0,this.hasChanged=!0,Q({},x,{[h]:Q({},x[h],{previous:te})}))},this.animations),this.hasChanged){this.configs=Object.values(this.animations),this.values={},this.interpolations={};for(let x in this.animations)this.interpolations[x]=this.animations[x].interpolation,this.values[x]=this.animations[x].interpolation.getValue()}return this}destroy(){this.stop(),this.props={},this.merged={},this.animations={},this.interpolations={},this.values={},this.configs=[],this.local=0}}const Tg=(e,t)=>{const n=b.exports.useRef(!1),r=b.exports.useRef(),i=ie.fun(t),o=b.exports.useMemo(()=>{r.current&&(r.current.map(f=>f.destroy()),r.current=void 0);let c;return[new Array(e).fill().map((f,p)=>{const g=new Qh,v=i?vt(t,p,g):t[p];return p===0&&(c=v.ref),g.update(v),c||g.start(),g}),c]},[e]),a=o[0],l=o[1];r.current=a,b.exports.useImperativeHandle(l,()=>({start:()=>Promise.all(r.current.map(c=>new Promise(f=>c.start(f)))),stop:c=>r.current.forEach(f=>f.stop(c)),get controllers(){return r.current}}));const s=b.exports.useMemo(()=>c=>r.current.map((f,p)=>{f.update(i?vt(c,p,f):c[p]),l||f.start()}),[e]);b.exports.useEffect(()=>{n.current?i||s(t):l||r.current.forEach(c=>c.start())}),b.exports.useEffect(()=>(n.current=!0,()=>r.current.forEach(c=>c.destroy())),[]);const u=r.current.map(c=>c.getValues());return i?[u,s,c=>r.current.forEach(f=>f.pause(c))]:u},Ig=e=>{const t=ie.fun(e),n=Tg(1,t?e:[e]),r=n[0],i=n[1],o=n[2];return t?[r[0],i,o]:r};let Mg=0;const Po="enter",Pl="leave",Al="update",Rg=(e,t)=>(typeof t=="function"?e.map(t):vr(t)).map(String),$s=e=>{let t=e.items,n=e.keys,r=n===void 0?o=>o:n,i=$t(e,["items","keys"]);return t=vr(t!==void 0?t:null),Q({items:t,keys:Rg(t,r)},i)};function Fl(e,t,n){const r=Q({items:e,keys:t||(d=>d)},n),i=$s(r),o=i.lazy,a=o===void 0?!1:o;i.unique;const l=i.reset,s=l===void 0?!1:l;i.enter,i.leave,i.update;const u=i.onDestroyed;i.keys,i.items;const c=i.onFrame,f=i.onRest,p=i.onStart,g=i.ref,v=$t(i,["lazy","unique","reset","enter","leave","update","onDestroyed","keys","items","onFrame","onRest","onStart","ref"]),x=Dh(),S=b.exports.useRef(!1),h=b.exports.useRef({mounted:!1,first:!0,deleted:[],current:{},transitions:[],prevProps:{},paused:!!r.ref,instances:!S.current&&new Map,forceUpdate:x});return b.exports.useImperativeHandle(r.ref,()=>({start:()=>Promise.all(Array.from(h.current.instances).map(d=>{let m=d[1];return new Promise(k=>m.start(k))})),stop:d=>Array.from(h.current.instances).forEach(m=>m[1].stop(d)),get controllers(){return Array.from(h.current.instances).map(d=>d[1])}})),h.current=Lg(h.current,r),h.current.changed&&h.current.transitions.forEach(d=>{const m=d.slot,k=d.from,E=d.to,w=d.config,O=d.trail,F=d.key,M=d.item;h.current.instances.has(F)||h.current.instances.set(F,new Qh);const L=h.current.instances.get(F),j=Q({},v,{to:E,from:k,config:w,ref:g,onRest:H=>{h.current.mounted&&(d.destroyed&&(!g&&!a&&Vf(h,F),u&&u(M)),!Array.from(h.current.instances).some(te=>!te[1].idle)&&(g||a)&&h.current.deleted.length>0&&Vf(h),f&&f(M,m,H))},onStart:p&&(()=>p(M,m)),onFrame:c&&(H=>c(M,m,H)),delay:O,reset:s&&m===Po});L.update(j),h.current.paused||L.start()}),b.exports.useEffect(()=>(h.current.mounted=S.current=!0,()=>{h.current.mounted=S.current=!1,Array.from(h.current.instances).map(d=>d[1].destroy()),h.current.instances.clear()}),[]),h.current.transitions.map(d=>{let m=d.item,k=d.slot,E=d.key;return{item:m,key:E,state:k,props:h.current.instances.get(E).getValues()}})}function Vf(e,t){const n=e.current.deleted;for(let r of n){let i=r.key;const o=a=>a.key!==i;(ie.und(t)||t===i)&&(e.current.instances.delete(i),e.current.transitions=e.current.transitions.filter(o),e.current.deleted=e.current.deleted.filter(o))}e.current.forceUpdate()}function Lg(e,t){let n=e.first,r=e.prevProps,i=$t(e,["first","prevProps"]),o=$s(t),a=o.items,l=o.keys,s=o.initial,u=o.from,c=o.enter,f=o.leave,p=o.update,g=o.trail,v=g===void 0?0:g,x=o.unique,S=o.config,h=o.order,d=h===void 0?[Po,Pl,Al]:h,m=$s(r),k=m.keys,E=m.items,w=Q({},i.current),O=[...i.deleted],F=Object.keys(w),M=new Set(F),L=new Set(l),j=l.filter(ee=>!M.has(ee)),H=i.transitions.filter(ee=>!ee.destroyed&&!L.has(ee.originalKey)).map(ee=>ee.originalKey),re=l.filter(ee=>M.has(ee)),ue=-v;for(;d.length;)switch(d.shift()){case Po:{j.forEach((X,V)=>{x&&O.find(P=>P.originalKey===X)&&(O=O.filter(P=>P.originalKey!==X));const z=l.indexOf(X),B=a[z],oe=n&&s!==void 0?"initial":Po;w[X]={slot:oe,originalKey:X,key:x?String(X):Mg++,item:B,trail:ue=ue+v,config:vt(S,B,oe),from:vt(n&&s!==void 0?s||{}:u,B),to:vt(c,B)}});break}case Pl:{H.forEach(X=>{const V=k.indexOf(X),z=E[V],B=Pl;O.unshift(Q({},w[X],{slot:B,destroyed:!0,left:k[Math.max(0,V-1)],right:k[Math.min(k.length,V+1)],trail:ue=ue+v,config:vt(S,z,B),to:vt(f,z)})),delete w[X]});break}case Al:{re.forEach(X=>{const V=l.indexOf(X),z=a[V],B=Al;w[X]=Q({},w[X],{item:z,slot:B,trail:ue=ue+v,config:vt(S,z,B),to:vt(p,z)})});break}}let te=l.map(ee=>w[ee]);return O.forEach(ee=>{let X=ee.left;ee.right;let V=$t(ee,["left","right"]),z;(z=te.findIndex(B=>B.originalKey===X))!==-1&&(z+=1),z=Math.max(0,z),te=[...te.slice(0,z),V,...te.slice(z)]}),Q({},i,{changed:j.length||H.length||re.length,first:n&&j.length===0,transitions:te,current:w,deleted:O,prevProps:t})}class Ng extends $h{constructor(t){t===void 0&&(t={}),super(),t.transform&&!(t.transform instanceof Rt)&&(t=Zu.transform(t)),this.payload=t}}const sa={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},Nt="[-+]?\\d*\\.?\\d+",ua=Nt+"%";function Ua(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return"\\(\\s*("+t.join(")\\s*,\\s*(")+")\\s*\\)"}const zg=new RegExp("rgb"+Ua(Nt,Nt,Nt)),Dg=new RegExp("rgba"+Ua(Nt,Nt,Nt,Nt)),$g=new RegExp("hsl"+Ua(Nt,ua,ua)),Bg=new RegExp("hsla"+Ua(Nt,ua,ua,Nt)),jg=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Hg=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,Ug=/^#([0-9a-fA-F]{6})$/,Wg=/^#([0-9a-fA-F]{8})$/;function Gg(e){let t;return typeof e=="number"?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=Ug.exec(e))?parseInt(t[1]+"ff",16)>>>0:sa.hasOwnProperty(e)?sa[e]:(t=zg.exec(e))?(tr(t[1])<<24|tr(t[2])<<16|tr(t[3])<<8|255)>>>0:(t=Dg.exec(e))?(tr(t[1])<<24|tr(t[2])<<16|tr(t[3])<<8|If(t[4]))>>>0:(t=jg.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=Wg.exec(e))?parseInt(t[1],16)>>>0:(t=Hg.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=$g.exec(e))?(_f(Tf(t[1]),ao(t[2]),ao(t[3]))|255)>>>0:(t=Bg.exec(e))?(_f(Tf(t[1]),ao(t[2]),ao(t[3]))|If(t[4]))>>>0:null}function Vl(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function _f(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,i=2*n-r,o=Vl(i,r,e+1/3),a=Vl(i,r,e),l=Vl(i,r,e-1/3);return Math.round(o*255)<<24|Math.round(a*255)<<16|Math.round(l*255)<<8}function tr(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function Tf(e){return(parseFloat(e)%360+360)%360/360}function If(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(t*255)}function ao(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function Mf(e){let t=Gg(e);if(t===null)return e;t=t||0;let n=(t&4278190080)>>>24,r=(t&16711680)>>>16,i=(t&65280)>>>8,o=(t&255)/255;return`rgba(${n}, ${r}, ${i}, ${o})`}const lo=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Qg=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Yg=new RegExp(`(${Object.keys(sa).join("|")})`,"g"),Kg=e=>{const t=e.output.map(i=>i.replace(Qg,Mf)).map(i=>i.replace(Yg,Mf)),n=t[0].match(lo).map(()=>[]);t.forEach(i=>{i.match(lo).forEach((o,a)=>n[a].push(+o))});const r=t[0].match(lo).map((i,o)=>la(Q({},e,{output:n[o]})));return i=>{let o=0;return t[0].replace(lo,()=>r[o++](i)).replace(/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,(a,l,s,u,c)=>`rgba(${Math.round(l)}, ${Math.round(s)}, ${Math.round(u)}, ${c})`)}};let di={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const Xg=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),Zg=["Webkit","Ms","Moz","O"];di=Object.keys(di).reduce((e,t)=>(Zg.forEach(n=>e[Xg(n,t)]=e[t]),e),di);function qg(e,t,n){return t==null||typeof t=="boolean"||t===""?"":!n&&typeof t=="number"&&t!==0&&!(di.hasOwnProperty(e)&&di[e])?t+"px":(""+t).trim()}const Rf={};kg(e=>new Ng(e));wg(Kg);xg(sa);yg((e,t)=>{if(e.nodeType&&e.setAttribute!==void 0){const i=t.style,o=t.children,a=t.scrollTop,l=t.scrollLeft,s=$t(t,["style","children","scrollTop","scrollLeft"]),u=e.nodeName==="filter"||e.parentNode&&e.parentNode.nodeName==="filter";a!==void 0&&(e.scrollTop=a),l!==void 0&&(e.scrollLeft=l),o!==void 0&&(e.textContent=o);for(let c in i)if(!!i.hasOwnProperty(c)){var n=c.indexOf("--")===0,r=qg(c,i[c],n);c==="float"&&(c="cssFloat"),n?e.style.setProperty(c,r):e.style[c]=r}for(let c in s){const f=u?c:Rf[c]||(Rf[c]=c.replace(/([A-Z])/g,p=>"-"+p.toLowerCase()));typeof e.getAttribute(f)!="undefined"&&e.setAttribute(f,s[c])}return}else return!1},e=>e);const Jg=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ey=mg(Eg,!1),Ao=ey(Jg),ca={};async function ty(e,t={}){const{timeout:n=15e3}=t,r=new AbortController,i=setTimeout(()=>r.abort(),n),o=await fetch(e,{...t,signal:r.signal});return clearTimeout(i),o}async function Yh(e,t={},n=1){try{return await ty(e,t)}catch(r){if(r.name==="AbortError"&&n>0)return console.log(`Request Failed due to timeout: ${e}`),Yh(e,t,n-1)}return new Response(null,{status:408,statusText:"Request Timeout",headers:{"Content-Length":"0"}})}async function ny(e,t={}){const n=`https://${GetParentResourceName()}/${e}`;return(await Yh(n,{method:"post",headers:{"Content-type":"application/json; charset=UTF-8"},body:JSON.stringify(t)},5)).json()}function ry(e,t){if(ca[e]){console.log(`[Nui] Event ${e} is already declared.`);return}ca[e]=t}function iy(e,t){window.dispatchEvent(new MessageEvent("message",{data:{type:e,payload:t}}))}const de={post:ny,onEvent:ry,emitEvent:iy},oy=()=>(window.addEventListener("message",e=>{!ca[e.data.type]||ca[e.data.type](e.data.payload)}),window.addEventListener("keydown",e=>{e.key==="d"?de.post("rotate_right"):e.key==="a"&&de.post("rotate_left")}),null),Lf={model:"mp_m_freemode_01",tattoos:{},components:[{component_id:0,drawable:15,texture:0},{component_id:1,drawable:15,texture:0},{component_id:2,drawable:15,texture:0},{component_id:3,drawable:15,texture:0},{component_id:4,drawable:15,texture:0},{component_id:5,drawable:15,texture:0},{component_id:6,drawable:15,texture:0},{component_id:7,drawable:15,texture:0},{component_id:8,drawable:15,texture:0},{component_id:9,drawable:15,texture:0},{component_id:10,drawable:15,texture:0},{component_id:11,drawable:15,texture:0}],props:[{prop_id:0,drawable:-1,texture:0},{prop_id:1,drawable:-1,texture:0},{prop_id:2,drawable:-1,texture:0},{prop_id:6,drawable:-1,texture:0},{prop_id:7,drawable:-1,texture:0}],headBlend:{shapeFirst:0,shapeSecond:0,shapeThird:0,shapeMix:0,skinFirst:0,skinSecond:0,skinThird:0,skinMix:0,thirdMix:0},faceFeatures:{noseWidth:0,nosePeakHigh:0,nosePeakSize:0,noseBoneHigh:0,nosePeakLowering:0,noseBoneTwist:0,eyeBrownHigh:0,eyeBrownForward:0,cheeksBoneHigh:0,cheeksBoneWidth:0,cheeksWidth:0,eyesOpening:0,lipsThickness:0,jawBoneWidth:0,jawBoneBackSize:0,chinBoneLowering:0,chinBoneLenght:0,chinBoneSize:0,chinHole:0,neckThickness:0},headOverlays:{blemishes:{style:0,opacity:0},beard:{style:0,opacity:0,color:0},eyebrows:{style:0,opacity:0,color:0},ageing:{style:0,opacity:0},makeUp:{style:0,opacity:0,color:0,secondColor:0},blush:{style:0,opacity:0,color:0},complexion:{style:0,opacity:0},sunDamage:{style:0,opacity:0},lipstick:{style:0,opacity:0,color:0},moleAndFreckles:{style:0,opacity:0},chestHair:{style:0,opacity:0,color:0},bodyBlemishes:{style:0,opacity:0}},hair:{style:0,color:0,highlight:0,texture:0},eyeColor:0},ay={ped:{model:{items:["mp_m_freemode_01","mp_f_freemode_01","player_zero"]}},tattoos:{items:{},opacity:{min:0,max:1,factor:.1}},components:[{component_id:0,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:1,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:2,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:3,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:4,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:5,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:6,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:7,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:8,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:9,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:10,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{component_id:11,drawable:{min:0,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}}],props:[{prop_id:0,drawable:{min:-1,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{prop_id:1,drawable:{min:-1,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{prop_id:2,drawable:{min:-1,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{prop_id:6,drawable:{min:-1,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},{prop_id:7,drawable:{min:-1,max:255},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}}],headBlend:{shapeFirst:{min:0,max:45},shapeSecond:{min:0,max:45},shapeThird:{min:0,max:45},skinFirst:{min:0,max:45},skinSecond:{min:0,max:45},skinThird:{min:0,max:45},shapeMix:{min:0,max:10,factor:.1},skinMix:{min:0,max:10,factor:.1},thirdMix:{min:0,max:10,factor:.1}},faceFeatures:{noseWidth:{min:-10,max:10,factor:.1},nosePeakHigh:{min:-10,max:10,factor:.1},nosePeakSize:{min:-10,max:10,factor:.1},noseBoneHigh:{min:-10,max:10,factor:.1},nosePeakLowering:{min:-10,max:10,factor:.1},noseBoneTwist:{min:-10,max:10,factor:.1},eyeBrownHigh:{min:-10,max:10,factor:.1},eyeBrownForward:{min:-10,max:10,factor:.1},cheeksBoneHigh:{min:-10,max:10,factor:.1},cheeksBoneWidth:{min:-10,max:10,factor:.1},cheeksWidth:{min:-10,max:10,factor:.1},eyesOpening:{min:-10,max:10,factor:.1},lipsThickness:{min:-10,max:10,factor:.1},jawBoneWidth:{min:-10,max:10,factor:.1},jawBoneBackSize:{min:-10,max:10,factor:.1},chinBoneLowering:{min:-10,max:10,factor:.1},chinBoneLenght:{min:-10,max:10,factor:.1},chinBoneSize:{min:-10,max:10,factor:.1},chinHole:{min:-10,max:10,factor:.1},neckThickness:{min:-10,max:10,factor:.1}},headOverlays:{blemishes:{style:{min:0,max:23},opacity:{min:0,max:10,factor:.1}},beard:{style:{min:0,max:28},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},eyebrows:{style:{min:0,max:33},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},ageing:{style:{min:0,max:14},opacity:{min:0,max:10,factor:.1}},makeUp:{style:{min:0,max:74},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},blush:{style:{min:0,max:6},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},complexion:{style:{min:0,max:11},opacity:{min:0,max:10,factor:.1}},sunDamage:{style:{min:0,max:10},opacity:{min:0,max:10,factor:.1}},lipstick:{style:{min:0,max:9},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},moleAndFreckles:{style:{min:0,max:17},opacity:{min:0,max:10,factor:.1}},chestHair:{style:{min:0,max:16},opacity:{min:0,max:10,factor:.1},color:{items:[[255,0,0],[0,255,0],[0,0,255]]}},bodyBlemishes:{style:{min:0,max:11},opacity:{min:0,max:10,factor:.1}}},hair:{style:{min:0,max:255},color:{items:[[255,0,0],[0,255,0],[0,0,255]]},highlight:{items:[[255,0,0],[0,255,0],[0,0,255]]},texture:{min:0,max:255},blacklist:{drawables:[],textures:[]}},eyeColor:{min:0,max:30}},_l={head:!1,body:!1,bottom:!1},Tl={left:!1,right:!1},ly={head:!1,body:!1,bottom:!1};var Kh={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Nf=He.createContext&&He.createContext(Kh),Pn=globalThis&&globalThis.__assign||function(){return Pn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Pn.apply(this,arguments)},sy=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function Xh(e){return e&&e.map(function(t,n){return He.createElement(t.tag,Pn({key:n},t.attr),Xh(t.child))})}function qe(e){return function(t){return He.createElement(uy,Pn({attr:Pn({},e.attr)},t),Xh(e.child))}}function uy(e){var t=function(n){var r=e.attr,i=e.size,o=e.title,a=sy(e,["attr","size","title"]),l=i||n.size||"1em",s;return n.className&&(s=n.className),e.className&&(s=(s?s+" ":"")+e.className),He.createElement("svg",Pn({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,r,a,{className:s,style:Pn(Pn({color:e.color||n.color},n.style),e.style),height:l,width:l,xmlns:"http://www.w3.org/2000/svg"}),o&&He.createElement("title",null,o),e.children)};return Nf!==void 0?He.createElement(Nf.Consumer,null,function(n){return t(n)}):t(Kh)}function cy(e){return qe({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(e)}function fy(e){return qe({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(e)}function dy(e){return qe({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(e)}function py(e){return qe({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(e)}const hy=Ve.div`
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);
|
|
|
|
user-select: none;
|
|
|
|
& + div {
|
|
margin-top: 10px;
|
|
}
|
|
`,my=Ve.div`
|
|
width: 100%;
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
padding: 0 10px;
|
|
border-radius: ${e=>e.theme.borderRadius||"4px"};
|
|
|
|
z-index: 2;
|
|
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, ${({active:e})=>e?"0.9":"0.7"});
|
|
|
|
box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
|
|
|
|
transition: background 0.1s;
|
|
|
|
&:hover {
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.9);
|
|
transform: scale(1.05);
|
|
transition: background 0.2s;
|
|
cursor: pointer;
|
|
}
|
|
|
|
${({active:e})=>e&&Di`
|
|
background: rgba(${t=>t.theme.primaryBackground||"0, 0, 0"}, 1);
|
|
&:hover {
|
|
${t=>t.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
background: rgba(${t=>t.theme.primaryBackground||"0, 0, 0"}, 1);
|
|
}
|
|
`}
|
|
|
|
span {
|
|
font-size: 15px;
|
|
font-weight: ${e=>e.theme.sectionFontWeight||"normal"};
|
|
}
|
|
`,vy=Ve.div`
|
|
padding: 0 2px 5px 2px;
|
|
|
|
overflow: hidden;
|
|
`,Jn=({children:e,title:t,deps:n=[]})=>{const[r,i]=b.exports.useState(!1),[o,a]=b.exports.useState(0),l=b.exports.useRef(null),s=Ig({height:r?o:0,opacity:r?1:0});return b.exports.useEffect(()=>{l.current&&a(l.current.offsetHeight)},[l,a]),b.exports.useEffect(()=>{l.current&&a(l.current.offsetHeight)},[l,a,n]),R(hy,{children:[R(my,{active:r,onClick:()=>i(u=>!u),children:[y("span",{children:t}),r?y(py,{size:30}):y(cy,{size:30})]}),y(Ao.div,{style:{...s,overflow:"hidden"},children:y(vy,{ref:l,children:e})})]})},gy=Ve.div`
|
|
margin-top: 0.5rem;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
padding: 10px;
|
|
border-radius: 2px;
|
|
|
|
background: rgba(${e=>e.theme.secondayBackground||"0, 0, 0"}, 0.3);
|
|
|
|
span {
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);
|
|
font-size: 14px;
|
|
}
|
|
`,yy=Ve.div`
|
|
width: 100%;
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
|
|
margin-top: 10px;
|
|
|
|
> div {
|
|
& + div {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
`,J=({children:e,title:t})=>R(gy,{children:[t&&y("span",{children:t}),y(yy,{children:e})]});function xy(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function wy(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var Sy=function(){function e(n){var r=this;this._insertTag=function(i){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,o),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(wy(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=xy(i);try{o.insertRule(r,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0},e}(),nt="-ms-",fa="-moz-",ve="-webkit-",Zh="comm",qu="rule",Ju="decl",ky="@import",qh="@keyframes",by="@layer",Cy=Math.abs,Wa=String.fromCharCode,Ey=Object.assign;function Oy(e,t){return Ye(e,0)^45?(((t<<2^Ye(e,0))<<2^Ye(e,1))<<2^Ye(e,2))<<2^Ye(e,3):0}function Jh(e){return e.trim()}function Py(e,t){return(e=t.exec(e))?e[0]:e}function ge(e,t,n){return e.replace(t,n)}function Bs(e,t){return e.indexOf(t)}function Ye(e,t){return e.charCodeAt(t)|0}function _i(e,t,n){return e.slice(t,n)}function Ut(e){return e.length}function ec(e){return e.length}function so(e,t){return t.push(e),e}function Ay(e,t){return e.map(t).join("")}var Ga=1,Ir=1,em=0,ht=0,Me=0,zr="";function Qa(e,t,n,r,i,o,a){return{value:e,root:t,parent:n,type:r,props:i,children:o,line:Ga,column:Ir,length:a,return:""}}function Yr(e,t){return Ey(Qa("",null,null,"",null,null,0),e,{length:-e.length},t)}function Fy(){return Me}function Vy(){return Me=ht>0?Ye(zr,--ht):0,Ir--,Me===10&&(Ir=1,Ga--),Me}function xt(){return Me=ht<em?Ye(zr,ht++):0,Ir++,Me===10&&(Ir=1,Ga++),Me}function Kt(){return Ye(zr,ht)}function Fo(){return ht}function $i(e,t){return _i(zr,e,t)}function Ti(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tm(e){return Ga=Ir=1,em=Ut(zr=e),ht=0,[]}function nm(e){return zr="",e}function Vo(e){return Jh($i(ht-1,js(e===91?e+2:e===40?e+1:e)))}function _y(e){for(;(Me=Kt())&&Me<33;)xt();return Ti(e)>2||Ti(Me)>3?"":" "}function Ty(e,t){for(;--t&&xt()&&!(Me<48||Me>102||Me>57&&Me<65||Me>70&&Me<97););return $i(e,Fo()+(t<6&&Kt()==32&&xt()==32))}function js(e){for(;xt();)switch(Me){case e:return ht;case 34:case 39:e!==34&&e!==39&&js(Me);break;case 40:e===41&&js(e);break;case 92:xt();break}return ht}function Iy(e,t){for(;xt()&&e+Me!==47+10;)if(e+Me===42+42&&Kt()===47)break;return"/*"+$i(t,ht-1)+"*"+Wa(e===47?e:xt())}function My(e){for(;!Ti(Kt());)xt();return $i(e,ht)}function Ry(e){return nm(_o("",null,null,null,[""],e=tm(e),0,[0],e))}function _o(e,t,n,r,i,o,a,l,s){for(var u=0,c=0,f=a,p=0,g=0,v=0,x=1,S=1,h=1,d=0,m="",k=i,E=o,w=r,O=m;S;)switch(v=d,d=xt()){case 40:if(v!=108&&Ye(O,f-1)==58){Bs(O+=ge(Vo(d),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:O+=Vo(d);break;case 9:case 10:case 13:case 32:O+=_y(v);break;case 92:O+=Ty(Fo()-1,7);continue;case 47:switch(Kt()){case 42:case 47:so(Ly(Iy(xt(),Fo()),t,n),s);break;default:O+="/"}break;case 123*x:l[u++]=Ut(O)*h;case 125*x:case 59:case 0:switch(d){case 0:case 125:S=0;case 59+c:h==-1&&(O=ge(O,/\f/g,"")),g>0&&Ut(O)-f&&so(g>32?Df(O+";",r,n,f-1):Df(ge(O," ","")+";",r,n,f-2),s);break;case 59:O+=";";default:if(so(w=zf(O,t,n,u,c,i,l,m,k=[],E=[],f),o),d===123)if(c===0)_o(O,t,w,w,k,o,f,l,E);else switch(p===99&&Ye(O,3)===110?100:p){case 100:case 108:case 109:case 115:_o(e,w,w,r&&so(zf(e,w,w,0,0,i,l,m,i,k=[],f),E),i,E,f,l,r?k:E);break;default:_o(O,w,w,w,[""],E,0,l,E)}}u=c=g=0,x=h=1,m=O="",f=a;break;case 58:f=1+Ut(O),g=v;default:if(x<1){if(d==123)--x;else if(d==125&&x++==0&&Vy()==125)continue}switch(O+=Wa(d),d*x){case 38:h=c>0?1:(O+="\f",-1);break;case 44:l[u++]=(Ut(O)-1)*h,h=1;break;case 64:Kt()===45&&(O+=Vo(xt())),p=Kt(),c=f=Ut(m=O+=My(Fo())),d++;break;case 45:v===45&&Ut(O)==2&&(x=0)}}return o}function zf(e,t,n,r,i,o,a,l,s,u,c){for(var f=i-1,p=i===0?o:[""],g=ec(p),v=0,x=0,S=0;v<r;++v)for(var h=0,d=_i(e,f+1,f=Cy(x=a[v])),m=e;h<g;++h)(m=Jh(x>0?p[h]+" "+d:ge(d,/&\f/g,p[h])))&&(s[S++]=m);return Qa(e,t,n,i===0?qu:l,s,u,c)}function Ly(e,t,n){return Qa(e,t,n,Zh,Wa(Fy()),_i(e,2,-2),0)}function Df(e,t,n,r){return Qa(e,t,n,Ju,_i(e,0,r),_i(e,r+1,-1),r)}function br(e,t){for(var n="",r=ec(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Ny(e,t,n,r){switch(e.type){case by:if(e.children.length)break;case ky:case Ju:return e.return=e.return||e.value;case Zh:return"";case qh:return e.return=e.value+"{"+br(e.children,r)+"}";case qu:e.value=e.props.join(",")}return Ut(n=br(e.children,r))?e.return=e.value+"{"+n+"}":""}function zy(e){var t=ec(e);return function(n,r,i,o){for(var a="",l=0;l<t;l++)a+=e[l](n,r,i,o)||"";return a}}function Dy(e){return function(t){t.root||(t=t.return)&&e(t)}}var $y=function(t,n,r){for(var i=0,o=0;i=o,o=Kt(),i===38&&o===12&&(n[r]=1),!Ti(o);)xt();return $i(t,ht)},By=function(t,n){var r=-1,i=44;do switch(Ti(i)){case 0:i===38&&Kt()===12&&(n[r]=1),t[r]+=$y(ht-1,n,r);break;case 2:t[r]+=Vo(i);break;case 4:if(i===44){t[++r]=Kt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Wa(i)}while(i=xt());return t},jy=function(t,n){return nm(By(tm(t),n))},$f=new WeakMap,Hy=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!$f.get(r))&&!i){$f.set(t,!0);for(var o=[],a=jy(n,o),l=r.props,s=0,u=0;s<a.length;s++)for(var c=0;c<l.length;c++,u++)t.props[u]=o[s]?a[s].replace(/&\f/g,l[c]):l[c]+" "+a[s]}}},Uy=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function rm(e,t){switch(Oy(e,t)){case 5103:return ve+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ve+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ve+e+fa+e+nt+e+e;case 6828:case 4268:return ve+e+nt+e+e;case 6165:return ve+e+nt+"flex-"+e+e;case 5187:return ve+e+ge(e,/(\w+).+(:[^]+)/,ve+"box-$1$2"+nt+"flex-$1$2")+e;case 5443:return ve+e+nt+"flex-item-"+ge(e,/flex-|-self/,"")+e;case 4675:return ve+e+nt+"flex-line-pack"+ge(e,/align-content|flex-|-self/,"")+e;case 5548:return ve+e+nt+ge(e,"shrink","negative")+e;case 5292:return ve+e+nt+ge(e,"basis","preferred-size")+e;case 6060:return ve+"box-"+ge(e,"-grow","")+ve+e+nt+ge(e,"grow","positive")+e;case 4554:return ve+ge(e,/([^-])(transform)/g,"$1"+ve+"$2")+e;case 6187:return ge(ge(ge(e,/(zoom-|grab)/,ve+"$1"),/(image-set)/,ve+"$1"),e,"")+e;case 5495:case 3959:return ge(e,/(image-set\([^]*)/,ve+"$1$`$1");case 4968:return ge(ge(e,/(.+:)(flex-)?(.*)/,ve+"box-pack:$3"+nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ve+e+e;case 4095:case 3583:case 4068:case 2532:return ge(e,/(.+)-inline(.+)/,ve+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ut(e)-1-t>6)switch(Ye(e,t+1)){case 109:if(Ye(e,t+4)!==45)break;case 102:return ge(e,/(.+:)(.+)-([^]+)/,"$1"+ve+"$2-$3$1"+fa+(Ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Bs(e,"stretch")?rm(ge(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ye(e,t+1)!==115)break;case 6444:switch(Ye(e,Ut(e)-3-(~Bs(e,"!important")&&10))){case 107:return ge(e,":",":"+ve)+e;case 101:return ge(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ve+(Ye(e,14)===45?"inline-":"")+"box$3$1"+ve+"$2$3$1"+nt+"$2box$3")+e}break;case 5936:switch(Ye(e,t+11)){case 114:return ve+e+nt+ge(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ve+e+nt+ge(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ve+e+nt+ge(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ve+e+nt+e+e}return e}var Wy=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Ju:t.return=rm(t.value,t.length);break;case qh:return br([Yr(t,{value:ge(t.value,"@","@"+ve)})],i);case qu:if(t.length)return Ay(t.props,function(o){switch(Py(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return br([Yr(t,{props:[ge(o,/:(read-\w+)/,":"+fa+"$1")]})],i);case"::placeholder":return br([Yr(t,{props:[ge(o,/:(plac\w+)/,":"+ve+"input-$1")]}),Yr(t,{props:[ge(o,/:(plac\w+)/,":"+fa+"$1")]}),Yr(t,{props:[ge(o,/:(plac\w+)/,nt+"input-$1")]})],i)}return""})}},Gy=[Wy],Qy=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(x){var S=x.getAttribute("data-emotion");S.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var i=t.stylisPlugins||Gy,o={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(x){for(var S=x.getAttribute("data-emotion").split(" "),h=1;h<S.length;h++)o[S[h]]=!0;l.push(x)});var s,u=[Hy,Uy];{var c,f=[Ny,Dy(function(x){c.insert(x)})],p=zy(u.concat(i,f)),g=function(S){return br(Ry(S),p)};s=function(S,h,d,m){c=d,g(S?S+"{"+h.styles+"}":h.styles),m&&(v.inserted[h.name]=!0)}}var v={key:n,sheet:new Sy({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:s};return v.sheet.hydrate(l),v},Yy=!0;function im(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var tc=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Yy===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},om=function(t,n,r){tc(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Ky(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=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(i){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 Xy={animationIterationCount:1,aspectRatio: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,strokeWidth:1},Zy=/[A-Z]|^ms/g,qy=/_EMO_([^_]+?)_([^]*?)_EMO_/g,am=function(t){return t.charCodeAt(1)===45},Bf=function(t){return t!=null&&typeof t!="boolean"},Il=Eh(function(e){return am(e)?e:e.replace(Zy,"-$&").toLowerCase()}),jf=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(qy,function(r,i,o){return Wt={name:i,styles:o,next:Wt},i})}return Xy[t]!==1&&!am(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ii(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Wt={name:n.name,styles:n.styles,next:Wt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Wt={name:r.name,styles:r.styles,next:Wt},r=r.next;var i=n.styles+";";return i}return Jy(e,t,n)}case"function":{if(e!==void 0){var o=Wt,a=n(e);return Wt=o,Ii(e,t,a)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function Jy(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ii(e,t,n[i])+";";else for(var o in n){var a=n[o];if(typeof a!="object")t!=null&&t[a]!==void 0?r+=o+"{"+t[a]+"}":Bf(a)&&(r+=Il(o)+":"+jf(o,a)+";");else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)Bf(a[l])&&(r+=Il(o)+":"+jf(o,a[l])+";");else{var s=Ii(e,t,a);switch(o){case"animation":case"animationName":{r+=Il(o)+":"+s+";";break}default:r+=o+"{"+s+"}"}}}return r}var Hf=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Wt,nc=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,o="";Wt=void 0;var a=t[0];a==null||a.raw===void 0?(i=!1,o+=Ii(r,n,a)):o+=a[0];for(var l=1;l<t.length;l++)o+=Ii(r,n,t[l]),i&&(o+=a[l]);Hf.lastIndex=0;for(var s="",u;(u=Hf.exec(o))!==null;)s+="-"+u[1];var c=Ky(o)+s;return{name:c,styles:o,next:Wt}},e2=function(t){return t()},t2=fc["useInsertionEffect"]?fc["useInsertionEffect"]:!1,lm=t2||e2,rc={}.hasOwnProperty,sm=b.exports.createContext(typeof HTMLElement!="undefined"?Qy({key:"css"}):null);sm.Provider;var um=function(t){return b.exports.forwardRef(function(n,r){var i=b.exports.useContext(sm);return t(n,i,r)})},cm=b.exports.createContext({}),Hs="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",n2=function(t,n){var r={};for(var i in n)rc.call(n,i)&&(r[i]=n[i]);return r[Hs]=t,r},r2=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return tc(n,r,i),lm(function(){return om(n,r,i)}),null},i2=um(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Hs],o=[r],a="";typeof e.className=="string"?a=im(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var l=nc(o,void 0,b.exports.useContext(cm));a+=t.key+"-"+l.name;var s={};for(var u in e)rc.call(e,u)&&u!=="css"&&u!==Hs&&(s[u]=e[u]);return s.ref=n,s.className=a,b.exports.createElement(b.exports.Fragment,null,b.exports.createElement(r2,{cache:t,serialized:l,isStringTag:typeof i=="string"}),b.exports.createElement(i,s))}),o2=i2,Y=function(t,n){var r=arguments;if(n==null||!rc.call(n,"css"))return b.exports.createElement.apply(void 0,r);var i=r.length,o=new Array(i);o[0]=o2,o[1]=n2(t,n);for(var a=2;a<i;a++)o[a]=r[a];return b.exports.createElement.apply(null,o)};function ic(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return nc(t)}var a2=function(){var t=ic.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},l2=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var o=t[r];if(o!=null){var a=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))a=e(o);else{a="";for(var l in o)o[l]&&l&&(a&&(a+=" "),a+=l)}break}default:a=o}a&&(i&&(i+=" "),i+=a)}}return i};function s2(e,t,n){var r=[],i=im(e,r,n);return r.length<2?n:i+t(r)}var u2=function(t){var n=t.cache,r=t.serializedArr;return lm(function(){for(var i=0;i<r.length;i++)om(n,r[i],!1)}),null},c2=um(function(e,t){var n=!1,r=[],i=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];var p=nc(c,t.registered);return r.push(p),tc(t,p,!1),t.key+"-"+p.name},o=function(){for(var u=arguments.length,c=new Array(u),f=0;f<u;f++)c[f]=arguments[f];return s2(t.registered,i,l2(c))},a={css:i,cx:o,theme:b.exports.useContext(cm)},l=e.children(a);return n=!0,b.exports.createElement(b.exports.Fragment,null,b.exports.createElement(u2,{cache:t,serializedArr:r}),l)});function f2(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Dr(e,t){if(e==null)return{};var n=$t(e,t),r,i;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)r=o[i],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Mr(e){return Mr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mr(e)}var fm={},dm={exports:{}},d2="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",p2=d2,h2=p2;function pm(){}function hm(){}hm.resetWarningCache=pm;var m2=function(){function e(r,i,o,a,l,s){if(s!==h2){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 https://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:hm,resetWarningCache:pm};return n.PropTypes=n,n};dm.exports=m2();Object.defineProperty(fm,"__esModule",{value:!0});var Ml=Object.assign||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},Uf=function(){function e(t,n){for(var r=0;r<n.length;r++){var i=n[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),mm=b.exports,Kr=vm(mm),v2=dm.exports,ze=vm(v2);function vm(e){return e&&e.__esModule?e:{default:e}}function g2(e,t){var n={};for(var r in e)t.indexOf(r)>=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x2(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var Wf={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},S2=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],k2=function(t){return S2.forEach(function(n){return delete t[n]}),t},Gf=function(t,n){n.style.fontSize=t.fontSize,n.style.fontFamily=t.fontFamily,n.style.fontWeight=t.fontWeight,n.style.fontStyle=t.fontStyle,n.style.letterSpacing=t.letterSpacing,n.style.textTransform=t.textTransform},gm=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Qf=function(){return gm?"_"+Math.random().toString(36).substr(2,12):void 0},oc=function(e){w2(t,e),Uf(t,null,[{key:"getDerivedStateFromProps",value:function(r,i){var o=r.id;return o!==i.prevId?{inputId:o||Qf(),prevId:o}:null}}]);function t(n){y2(this,t);var r=x2(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.inputRef=function(i){r.input=i,typeof r.props.inputRef=="function"&&r.props.inputRef(i)},r.placeHolderSizerRef=function(i){r.placeHolderSizer=i},r.sizerRef=function(i){r.sizer=i},r.state={inputWidth:n.minWidth,inputId:n.id||Qf(),prevId:n.id},r}return Uf(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(r,i){i.inputWidth!==this.state.inputWidth&&typeof this.props.onAutosize=="function"&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(!(!this.mounted||!window.getComputedStyle)){var r=this.input&&window.getComputedStyle(this.input);!r||(Gf(r,this.sizer),this.placeHolderSizer&&Gf(r,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(!(!this.mounted||!this.sizer||typeof this.sizer.scrollWidth=="undefined")){var r=void 0;this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?r=Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:r=this.sizer.scrollWidth+2;var i=this.props.type==="number"&&this.props.extraWidth===void 0?16:parseInt(this.props.extraWidth)||0;r+=i,r<this.props.minWidth&&(r=this.props.minWidth),r!==this.state.inputWidth&&this.setState({inputWidth:r})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var r=this.props.injectStyles;return gm&&r?Kr.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var r=[this.props.defaultValue,this.props.value,""].reduce(function(l,s){return l!=null?l:s}),i=Ml({},this.props.style);i.display||(i.display="inline-block");var o=Ml({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),a=g2(this.props,[]);return k2(a),a.className=this.props.inputClassName,a.id=this.state.inputId,a.style=o,Kr.default.createElement("div",{className:this.props.className,style:i},this.renderStyles(),Kr.default.createElement("input",Ml({},a,{ref:this.inputRef})),Kr.default.createElement("div",{ref:this.sizerRef,style:Wf},r),this.props.placeholder?Kr.default.createElement("div",{ref:this.placeHolderSizerRef,style:Wf},this.props.placeholder):null)}}]),t}(mm.Component);oc.propTypes={className:ze.default.string,defaultValue:ze.default.any,extraWidth:ze.default.oneOfType([ze.default.number,ze.default.string]),id:ze.default.string,injectStyles:ze.default.bool,inputClassName:ze.default.string,inputRef:ze.default.func,inputStyle:ze.default.object,minWidth:ze.default.oneOfType([ze.default.number,ze.default.string]),onAutosize:ze.default.func,onChange:ze.default.func,placeholder:ze.default.string,placeholderIsMinWidth:ze.default.bool,style:ze.default.object,value:ze.default.any};oc.defaultProps={minWidth:1,injectStyles:!0};var b2=fm.default=oc;function Ya(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C2(e,t){if(Mr(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(Mr(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function ym(e){var t=C2(e,"string");return Mr(t)=="symbol"?t:String(t)}function Yf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,ym(r.key),r)}}function Ka(e,t,n){return t&&Yf(e.prototype,t),n&&Yf(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Us(e,t){return Us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Us(e,t)}function Xa(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Us(e,t)}function Xt(e,t,n){return t=ym(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Kf(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Ke(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Kf(Object(n),!0).forEach(function(r){E2(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kf(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},da(e)}function O2(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A2(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:P2(e)}function Za(e){var t=O2();return function(){var r=da(e),i;if(t){var o=da(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return A2(this,i)}}var pa=function(){};function F2(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function V2(e,t,n){var r=[n];if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&r.push("".concat(F2(e,i)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var Xf=function(t){return Array.isArray(t)?t.filter(Boolean):Mr(t)==="object"&&t!==null?[t]:[]},xm=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var n=Dr(t,["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"]);return Ke({},n)};function ac(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function wm(e){return ac(e)?window.pageYOffset:e.scrollTop}function ha(e,t){if(ac(e)){window.scrollTo(0,t);return}e.scrollTop=t}function _2(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/,i=document.documentElement;if(t.position==="fixed")return i;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return i}function T2(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function uo(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:pa,i=wm(e),o=t-i,a=10,l=0;function s(){l+=a;var u=T2(l,i,o,n);ha(e,u),l<n?window.requestAnimationFrame(s):r(e)}s()}function I2(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?ha(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&ha(e,Math.max(t.offsetTop-i,0))}function M2(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Zf(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function R2(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Sm=!1,L2={get passive(){return Sm=!0}},co=typeof window!="undefined"?window:{};co.addEventListener&&co.removeEventListener&&(co.addEventListener("p",pa,L2),co.removeEventListener("p",pa,!1));var N2=Sm;function z2(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,l=e.theme,s=l.spacing,u=_2(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var f=u.getBoundingClientRect(),p=f.height,g=n.getBoundingClientRect(),v=g.bottom,x=g.height,S=g.top,h=n.offsetParent.getBoundingClientRect(),d=h.top,m=window.innerHeight,k=wm(u),E=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),O=d-w,F=m-S,M=O+k,L=p-k-S,j=v-m+k+E,H=k+S-w,re=160;switch(i){case"auto":case"bottom":if(F>=x)return{placement:"bottom",maxHeight:t};if(L>=x&&!a)return o&&uo(u,j,re),{placement:"bottom",maxHeight:t};if(!a&&L>=r||a&&F>=r){o&&uo(u,j,re);var ue=a?F-E:L-E;return{placement:"bottom",maxHeight:ue}}if(i==="auto"||a){var te=t,ee=a?O:M;return ee>=r&&(te=Math.min(ee-E-s.controlHeight,t)),{placement:"top",maxHeight:te}}if(i==="bottom")return o&&ha(u,j),{placement:"bottom",maxHeight:t};break;case"top":if(O>=x)return{placement:"top",maxHeight:t};if(M>=x&&!a)return o&&uo(u,H,re),{placement:"top",maxHeight:t};if(!a&&M>=r||a&&O>=r){var X=t;return(!a&&M>=r||a&&O>=r)&&(X=a?O-w:M-w),o&&uo(u,H,re),{placement:"top",maxHeight:X}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}function D2(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ws=function(t){return t==="auto"?"bottom":t},$2=function(t){var n,r=t.placement,i=t.theme,o=i.borderRadius,a=i.spacing,l=i.colors;return n={label:"menu"},Xt(n,D2(r),"100%"),Xt(n,"backgroundColor",l.neutral0),Xt(n,"borderRadius",o),Xt(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Xt(n,"marginBottom",a.menuGutter),Xt(n,"marginTop",a.menuGutter),Xt(n,"position","absolute"),Xt(n,"width","100%"),Xt(n,"zIndex",1),n},km=b.exports.createContext({getPortalPlacement:null}),bm=function(e){Xa(n,e);var t=Za(n);function n(){var r;Ya(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),r.state={maxHeight:r.props.maxMenuHeight,placement:null},r.getPlacement=function(l){var s=r.props,u=s.minMenuHeight,c=s.maxMenuHeight,f=s.menuPlacement,p=s.menuPosition,g=s.menuShouldScrollIntoView,v=s.theme;if(!!l){var x=p==="fixed",S=g&&!x,h=z2({maxHeight:c,menuEl:l,minHeight:u,placement:f,shouldScroll:S,isFixedPosition:x,theme:v}),d=r.context.getPortalPlacement;d&&d(h),r.setState(h)}},r.getUpdatedProps=function(){var l=r.props.menuPlacement,s=r.state.placement||Ws(l);return Ke(Ke({},r.props),{},{placement:s,maxHeight:r.state.maxHeight})},r}return Ka(n,[{key:"render",value:function(){var i=this.props.children;return i({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),n}(b.exports.Component);bm.contextType=km;var B2=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerRef,l=t.innerProps;return Y("div",Q({css:o("menu",t),className:i({menu:!0},r),ref:a},l),n)},j2=function(t){var n=t.maxHeight,r=t.theme.spacing.baseUnit;return{maxHeight:n,overflowY:"auto",paddingBottom:r,paddingTop:r,position:"relative",WebkitOverflowScrolling:"touch"}},H2=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps,l=t.innerRef,s=t.isMulti;return Y("div",Q({css:o("menuList",t),className:i({"menu-list":!0,"menu-list--is-multi":s},r),ref:l},a),n)},Cm=function(t){var n=t.theme,r=n.spacing.baseUnit,i=n.colors;return{color:i.neutral40,padding:"".concat(r*2,"px ").concat(r*3,"px"),textAlign:"center"}},U2=Cm,W2=Cm,Em=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Y("div",Q({css:o("noOptionsMessage",t),className:i({"menu-notice":!0,"menu-notice--no-options":!0},r)},a),n)};Em.defaultProps={children:"No options"};var Om=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Y("div",Q({css:o("loadingMessage",t),className:i({"menu-notice":!0,"menu-notice--loading":!0},r)},a),n)};Om.defaultProps={children:"Loading..."};var G2=function(t){var n=t.rect,r=t.offset,i=t.position;return{left:n.left,position:i,top:r,width:n.width,zIndex:1}},Q2=function(e){Xa(n,e);var t=Za(n);function n(){var r;Ya(this,n);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return r=t.call.apply(t,[this].concat(o)),r.state={placement:null},r.getPortalPlacement=function(l){var s=l.placement,u=Ws(r.props.menuPlacement);s!==u&&r.setState({placement:s})},r}return Ka(n,[{key:"render",value:function(){var i=this.props,o=i.appendTo,a=i.children,l=i.className,s=i.controlElement,u=i.cx,c=i.innerProps,f=i.menuPlacement,p=i.menuPosition,g=i.getStyles,v=p==="fixed";if(!o&&!v||!s)return null;var x=this.state.placement||Ws(f),S=M2(s),h=v?0:window.pageYOffset,d=S[x]+h,m={offset:d,position:p,rect:S},k=Y("div",Q({css:g("menuPortal",m),className:u({"menu-portal":!0},l)},c),a);return Y(km.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},o?Js.exports.createPortal(k,o):k)}}]),n}(b.exports.Component),Y2=function(t){var n=t.isDisabled,r=t.isRtl;return{label:"container",direction:r?"rtl":null,pointerEvents:n?"none":null,position:"relative"}},K2=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps,l=t.isDisabled,s=t.isRtl;return Y("div",Q({css:o("container",t),className:i({"--is-disabled":l,"--is-rtl":s},r)},a),n)},X2=function(t){var n=t.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(n.baseUnit/2,"px ").concat(n.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},Z2=function(t){var n=t.children,r=t.className,i=t.cx,o=t.innerProps,a=t.isMulti,l=t.getStyles,s=t.hasValue;return Y("div",Q({css:l("valueContainer",t),className:i({"value-container":!0,"value-container--is-multi":a,"value-container--has-value":s},r)},o),n)},q2=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},J2=function(t){var n=t.children,r=t.className,i=t.cx,o=t.innerProps,a=t.getStyles;return Y("div",Q({css:a("indicatorsContainer",t),className:i({indicators:!0},r)},o),n)},qf,ex={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Pm=function(t){var n=t.size,r=Dr(t,["size"]);return Y("svg",Q({height:n,width:n,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ex},r))},lc=function(t){return Y(Pm,Q({size:20},t),Y("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Am=function(t){return Y(Pm,Q({size:20},t),Y("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Fm=function(t){var n=t.isFocused,r=t.theme,i=r.spacing.baseUnit,o=r.colors;return{label:"indicatorContainer",color:n?o.neutral60:o.neutral20,display:"flex",padding:i*2,transition:"color 150ms",":hover":{color:n?o.neutral80:o.neutral40}}},tx=Fm,nx=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Y("div",Q({css:o("dropdownIndicator",t),className:i({indicator:!0,"dropdown-indicator":!0},r)},a),n||Y(Am,null))},rx=Fm,ix=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Y("div",Q({css:o("clearIndicator",t),className:i({indicator:!0,"clear-indicator":!0},r)},a),n||Y(lc,null))},ox=function(t){var n=t.isDisabled,r=t.theme,i=r.spacing.baseUnit,o=r.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:n?o.neutral10:o.neutral20,marginBottom:i*2,marginTop:i*2,width:1}},ax=function(t){var n=t.className,r=t.cx,i=t.getStyles,o=t.innerProps;return Y("span",Q({},o,{css:i("indicatorSeparator",t),className:r({"indicator-separator":!0},n)}))},lx=a2(qf||(qf=f2([`
|
|
0%, 80%, 100% { opacity: 0; }
|
|
40% { opacity: 1; }
|
|
`]))),sx=function(t){var n=t.isFocused,r=t.size,i=t.theme,o=i.colors,a=i.spacing.baseUnit;return{label:"loadingIndicator",color:n?o.neutral60:o.neutral20,display:"flex",padding:a*2,transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"}},Rl=function(t){var n=t.delay,r=t.offset;return Y("span",{css:ic({animation:"".concat(lx," 1s ease-in-out ").concat(n,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:r?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Vm=function(t){var n=t.className,r=t.cx,i=t.getStyles,o=t.innerProps,a=t.isRtl;return Y("div",Q({css:i("loadingIndicator",t),className:r({indicator:!0,"loading-indicator":!0},n)},o),Y(Rl,{delay:0,offset:a}),Y(Rl,{delay:160,offset:!0}),Y(Rl,{delay:320,offset:!a}))};Vm.defaultProps={size:4};var ux=function(t){var n=t.isDisabled,r=t.isFocused,i=t.theme,o=i.colors,a=i.borderRadius,l=i.spacing;return{label:"control",alignItems:"center",backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:r?o.primary:o.neutral30}}},cx=function(t){var n=t.children,r=t.cx,i=t.getStyles,o=t.className,a=t.isDisabled,l=t.isFocused,s=t.innerRef,u=t.innerProps,c=t.menuIsOpen;return Y("div",Q({ref:s,css:i("control",t),className:r({control:!0,"control--is-disabled":a,"control--is-focused":l,"control--menu-is-open":c},o)},u),n)},fx=function(t){var n=t.theme.spacing;return{paddingBottom:n.baseUnit*2,paddingTop:n.baseUnit*2}},dx=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.Heading,l=t.headingProps,s=t.innerProps,u=t.label,c=t.theme,f=t.selectProps;return Y("div",Q({css:o("group",t),className:i({group:!0},r)},s),Y(a,Q({},l,{selectProps:f,theme:c,getStyles:o,cx:i}),u),Y("div",null,n))},px=function(t){var n=t.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:n.baseUnit*3,paddingRight:n.baseUnit*3,textTransform:"uppercase"}},hx=function(t){var n=t.getStyles,r=t.cx,i=t.className,o=xm(t);o.data;var a=Dr(o,["data"]);return Y("div",Q({css:n("groupHeading",t),className:r({"group-heading":!0},i)},a))},mx=function(t){var n=t.isDisabled,r=t.theme,i=r.spacing,o=r.colors;return{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:n?"hidden":"visible",color:o.neutral80}},vx=function(t){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:t?0:1,outline:0,padding:0,color:"inherit"}},gx=function(t){var n=t.className,r=t.cx,i=t.getStyles,o=xm(t),a=o.innerRef,l=o.isDisabled,s=o.isHidden,u=Dr(o,["innerRef","isDisabled","isHidden"]);return Y("div",{css:i("input",t)},Y(b2,Q({className:r({input:!0},n),inputRef:a,inputStyle:vx(s),disabled:l},u)))},yx=function(t){var n=t.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:i/2,display:"flex",margin:r.baseUnit/2,minWidth:0}},xx=function(t){var n=t.theme,r=n.borderRadius,i=n.colors,o=t.cropWithEllipsis;return{borderRadius:r/2,color:i.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},wx=function(t){var n=t.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=t.isFocused;return{alignItems:"center",borderRadius:i/2,backgroundColor:a&&o.dangerLight,display:"flex",paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},_m=function(t){var n=t.children,r=t.innerProps;return Y("div",r,n)},Sx=_m,kx=_m;function bx(e){var t=e.children,n=e.innerProps;return Y("div",n,t||Y(lc,{size:14}))}var Tm=function(t){var n=t.children,r=t.className,i=t.components,o=t.cx,a=t.data,l=t.getStyles,s=t.innerProps,u=t.isDisabled,c=t.removeProps,f=t.selectProps,p=i.Container,g=i.Label,v=i.Remove;return Y(c2,null,function(x){var S=x.css,h=x.cx;return Y(p,{data:a,innerProps:Ke({className:h(S(l("multiValue",t)),o({"multi-value":!0,"multi-value--is-disabled":u},r))},s),selectProps:f},Y(g,{data:a,innerProps:{className:h(S(l("multiValueLabel",t)),o({"multi-value__label":!0},r))},selectProps:f},n),Y(v,{data:a,innerProps:Ke({className:h(S(l("multiValueRemove",t)),o({"multi-value__remove":!0},r))},c),selectProps:f}))})};Tm.defaultProps={cropWithEllipsis:!0};var Cx=function(t){var n=t.isDisabled,r=t.isFocused,i=t.isSelected,o=t.theme,a=o.spacing,l=o.colors;return{label:"option",backgroundColor:i?l.primary:r?l.primary25:"transparent",color:n?l.neutral20:i?l.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(a.baseUnit*2,"px ").concat(a.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!n&&(i?l.primary:l.primary50)}}},Ex=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,l=t.isFocused,s=t.isSelected,u=t.innerRef,c=t.innerProps;return Y("div",Q({css:o("option",t),className:i({option:!0,"option--is-disabled":a,"option--is-focused":l,"option--is-selected":s},r),ref:u},c),n)},Ox=function(t){var n=t.theme,r=n.spacing,i=n.colors;return{label:"placeholder",color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},Px=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.innerProps;return Y("div",Q({css:o("placeholder",t),className:i({placeholder:!0},r)},a),n)},Ax=function(t){var n=t.isDisabled,r=t.theme,i=r.spacing,o=r.colors;return{label:"singleValue",color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2,maxWidth:"calc(100% - ".concat(i.baseUnit*2,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},Fx=function(t){var n=t.children,r=t.className,i=t.cx,o=t.getStyles,a=t.isDisabled,l=t.innerProps;return Y("div",Q({css:o("singleValue",t),className:i({"single-value":!0,"single-value--is-disabled":a},r)},l),n)},Vx={ClearIndicator:ix,Control:cx,DropdownIndicator:nx,DownChevron:Am,CrossIcon:lc,Group:dx,GroupHeading:hx,IndicatorsContainer:J2,IndicatorSeparator:ax,Input:gx,LoadingIndicator:Vm,Menu:B2,MenuList:H2,MenuPortal:Q2,LoadingMessage:Om,NoOptionsMessage:Em,MultiValue:Tm,MultiValueContainer:Sx,MultiValueLabel:kx,MultiValueRemove:bx,Option:Ex,Placeholder:Px,SelectContainer:K2,SingleValue:Fx,ValueContainer:Z2},_x=function(t){return Ke(Ke({},Vx),t.components)};function Gs(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Tx(e){if(Array.isArray(e))return Gs(e)}function Ix(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Mx(e,t){if(!!e){if(typeof e=="string")return Gs(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gs(e,t)}}function Rx(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Im(e){return Tx(e)||Ix(e)||Mx(e)||Rx()}var Jf=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Lx(e,t){return!!(e===t||Jf(e)&&Jf(t))}function Nx(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Lx(e[n],t[n]))return!1;return!0}function zx(e,t){t===void 0&&(t=Nx);var n,r=[],i,o=!1;function a(){for(var l=[],s=0;s<arguments.length;s++)l[s]=arguments[s];return o&&n===this&&t(l,r)||(i=e.apply(this,l),o=!0,n=this,r=l),i}return a}var Dx={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},$x=function(t){return Y("span",Q({css:Dx},t))},Bx={guidance:function(t){var n=t.isSearchable,r=t.isMulti,i=t.isDisabled,o=t.tabSelectsValue,a=t.context;switch(a){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(o?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(t["aria-label"]||"Select"," is focused ").concat(n?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(t){var n=t.action,r=t.label,i=r===void 0?"":r,o=t.isDisabled;switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(i,", deselected.");case"select-option":return o?"option ".concat(i," is disabled. Select another option."):"option ".concat(i,", selected.");default:return""}},onFocus:function(t){var n=t.context,r=t.focused,i=r===void 0?{}:r,o=t.options,a=t.label,l=a===void 0?"":a,s=t.selectValue,u=t.isDisabled,c=t.isSelected,f=function(x,S){return x&&x.length?"".concat(x.indexOf(S)+1," of ").concat(x.length):""};if(n==="value"&&s)return"value ".concat(l," focused, ").concat(f(s,i),".");if(n==="menu"){var p=u?" disabled":"",g="".concat(c?"selected":"focused").concat(p);return"option ".concat(l," ").concat(g,", ").concat(f(o,i),".")}return""},onFilter:function(t){var n=t.inputValue,r=t.resultsMessage;return"".concat(r).concat(n?" for search term "+n:"",".")}},jx=function(t){var n=t.ariaSelection,r=t.focusedOption,i=t.focusedValue,o=t.focusableOptions,a=t.isFocused,l=t.selectValue,s=t.selectProps,u=s.ariaLiveMessages,c=s.getOptionLabel,f=s.inputValue,p=s.isMulti,g=s.isOptionDisabled,v=s.isSearchable,x=s.menuIsOpen,S=s.options,h=s.screenReaderStatus,d=s.tabSelectsValue,m=s["aria-label"],k=s["aria-live"],E=b.exports.useMemo(function(){return Ke(Ke({},Bx),u||{})},[u]),w=b.exports.useMemo(function(){var j="";if(n&&E.onChange){var H=n.option,re=n.removedValue,ue=n.value,te=function(z){return Array.isArray(z)?null:z},ee=re||H||te(ue),X=Ke({isDisabled:ee&&g(ee),label:ee?c(ee):""},n);j=E.onChange(X)}return j},[n,g,c,E]),O=b.exports.useMemo(function(){var j="",H=r||i,re=!!(r&&l&&l.includes(r));if(H&&E.onFocus){var ue={focused:H,label:c(H),isDisabled:g(H),isSelected:re,options:S,context:H===r?"menu":"value",selectValue:l};j=E.onFocus(ue)}return j},[r,i,c,g,E,S,l]),F=b.exports.useMemo(function(){var j="";if(x&&S.length&&E.onFilter){var H=h({count:o.length});j=E.onFilter({inputValue:f,resultsMessage:H})}return j},[o,f,x,E,S,h]),M=b.exports.useMemo(function(){var j="";if(E.guidance){var H=i?"value":x?"menu":"input";j=E.guidance({"aria-label":m,context:H,isDisabled:r&&g(r),isMulti:p,isSearchable:v,tabSelectsValue:d})}return j},[m,r,i,p,g,v,x,E,d]),L="".concat(O," ").concat(F," ").concat(M);return Y($x,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text"},a&&Y(He.Fragment,null,Y("span",{id:"aria-selection"},w),Y("span",{id:"aria-context"},L)))},Qs=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],Hx=new RegExp("["+Qs.map(function(e){return e.letters}).join("")+"]","g"),Mm={};for(var Ll=0;Ll<Qs.length;Ll++)for(var Nl=Qs[Ll],zl=0;zl<Nl.letters.length;zl++)Mm[Nl.letters[zl]]=Nl.base;var Rm=function(t){return t.replace(Hx,function(n){return Mm[n]})},Ux=zx(Rm),ed=function(t){return t.replace(/^\s+|\s+$/g,"")},Wx=function(t){return"".concat(t.label," ").concat(t.value)},Gx=function(t){return function(n,r){var i=Ke({ignoreCase:!0,ignoreAccents:!0,stringify:Wx,trim:!0,matchFrom:"any"},t),o=i.ignoreCase,a=i.ignoreAccents,l=i.stringify,s=i.trim,u=i.matchFrom,c=s?ed(r):r,f=s?ed(l(n)):l(n);return o&&(c=c.toLowerCase(),f=f.toLowerCase()),a&&(c=Ux(c),f=Rm(f)),u==="start"?f.substr(0,c.length)===c:f.indexOf(c)>-1}};function Qx(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef;e.emotion;var n=Dr(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Y("input",Q({ref:t},n,{css:ic({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"","")}))}var Yx=function(t){t.preventDefault(),t.stopPropagation()};function Kx(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,a=b.exports.useRef(!1),l=b.exports.useRef(!1),s=b.exports.useRef(0),u=b.exports.useRef(null),c=b.exports.useCallback(function(S,h){if(u.current!==null){var d=u.current,m=d.scrollTop,k=d.scrollHeight,E=d.clientHeight,w=u.current,O=h>0,F=k-E-m,M=!1;F>h&&a.current&&(r&&r(S),a.current=!1),O&&l.current&&(o&&o(S),l.current=!1),O&&h>F?(n&&!a.current&&n(S),w.scrollTop=k,M=!0,a.current=!0):!O&&-h>m&&(i&&!l.current&&i(S),w.scrollTop=0,M=!0,l.current=!0),M&&Yx(S)}},[]),f=b.exports.useCallback(function(S){c(S,S.deltaY)},[c]),p=b.exports.useCallback(function(S){s.current=S.changedTouches[0].clientY},[]),g=b.exports.useCallback(function(S){var h=s.current-S.changedTouches[0].clientY;c(S,h)},[c]),v=b.exports.useCallback(function(S){if(!!S){var h=N2?{passive:!1}:!1;typeof S.addEventListener=="function"&&S.addEventListener("wheel",f,h),typeof S.addEventListener=="function"&&S.addEventListener("touchstart",p,h),typeof S.addEventListener=="function"&&S.addEventListener("touchmove",g,h)}},[g,p,f]),x=b.exports.useCallback(function(S){!S||(typeof S.removeEventListener=="function"&&S.removeEventListener("wheel",f,!1),typeof S.removeEventListener=="function"&&S.removeEventListener("touchstart",p,!1),typeof S.removeEventListener=="function"&&S.removeEventListener("touchmove",g,!1))},[g,p,f]);return b.exports.useEffect(function(){if(!!t){var S=u.current;return v(S),function(){x(S)}}},[t,v,x]),function(S){u.current=S}}var td=["boxSizing","height","overflow","paddingRight","position"],nd={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function rd(e){e.preventDefault()}function id(e){e.stopPropagation()}function od(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function ad(){return"ontouchstart"in window||navigator.maxTouchPoints}var ld=!!(typeof window!="undefined"&&window.document&&window.document.createElement),Xr=0,nr={capture:!1,passive:!1};function Xx(e){var t=e.isEnabled,n=e.accountForScrollbars,r=n===void 0?!0:n,i=b.exports.useRef({}),o=b.exports.useRef(null),a=b.exports.useCallback(function(s){if(!!ld){var u=document.body,c=u&&u.style;if(r&&td.forEach(function(v){var x=c&&c[v];i.current[v]=x}),r&&Xr<1){var f=parseInt(i.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,g=window.innerWidth-p+f||0;Object.keys(nd).forEach(function(v){var x=nd[v];c&&(c[v]=x)}),c&&(c.paddingRight="".concat(g,"px"))}u&&ad()&&(u.addEventListener("touchmove",rd,nr),s&&(s.addEventListener("touchstart",od,nr),s.addEventListener("touchmove",id,nr))),Xr+=1}},[]),l=b.exports.useCallback(function(s){if(!!ld){var u=document.body,c=u&&u.style;Xr=Math.max(Xr-1,0),r&&Xr<1&&td.forEach(function(f){var p=i.current[f];c&&(c[f]=p)}),u&&ad()&&(u.removeEventListener("touchmove",rd,nr),s&&(s.removeEventListener("touchstart",od,nr),s.removeEventListener("touchmove",id,nr)))}},[]);return b.exports.useEffect(function(){if(!!t){var s=o.current;return a(s),function(){l(s)}}},[t,a,l]),function(s){o.current=s}}var Zx=function(){return document.activeElement&&document.activeElement.blur()},qx={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Jx(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=r===void 0?!0:r,o=e.onBottomArrive,a=e.onBottomLeave,l=e.onTopArrive,s=e.onTopLeave,u=Kx({isEnabled:i,onBottomArrive:o,onBottomLeave:a,onTopArrive:l,onTopLeave:s}),c=Xx({isEnabled:n}),f=function(g){u(g),c(g)};return Y(He.Fragment,null,n&&Y("div",{onClick:Zx,css:qx}),t(f))}var ew=function(t){return t.label},tw=function(t){return t.label},nw=function(t){return t.value},rw=function(t){return!!t.isDisabled},iw={clearIndicator:rx,container:Y2,control:ux,dropdownIndicator:tx,group:fx,groupHeading:px,indicatorsContainer:q2,indicatorSeparator:ox,input:mx,loadingIndicator:sx,loadingMessage:W2,menu:$2,menuList:j2,menuPortal:G2,multiValue:yx,multiValueLabel:xx,multiValueRemove:wx,noOptionsMessage:U2,option:Cx,placeholder:Ox,singleValue:Ax,valueContainer:X2},ow={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},aw=4,Lm=4,lw=38,sw=Lm*2,uw={baseUnit:Lm,controlHeight:lw,menuGutter:sw},Dl={borderRadius:aw,colors:ow,spacing:uw},cw={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Zf(),captureMenuScroll:!Zf(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Gx(),formatGroupLabel:ew,getOptionLabel:tw,getOptionValue:nw,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:rw,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!R2(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var n=t.count;return"".concat(n," result").concat(n!==1?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0};function sd(e,t,n,r){var i=$m(e,t,n),o=Bm(e,t,n),a=Dm(e,t),l=ma(e,t);return{type:"option",data:t,isDisabled:i,isSelected:o,label:a,value:l,index:r}}function Nm(e,t){return e.options.map(function(n,r){if(n.options){var i=n.options.map(function(a,l){return sd(e,a,t,l)}).filter(function(a){return ud(e,a)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=sd(e,n,t,r);return ud(e,o)?o:void 0}).filter(function(n){return!!n})}function zm(e){return e.reduce(function(t,n){return n.type==="group"?t.push.apply(t,Im(n.options.map(function(r){return r.data}))):t.push(n.data),t},[])}function fw(e,t){return zm(Nm(e,t))}function ud(e,t){var n=e.inputValue,r=n===void 0?"":n,i=t.data,o=t.isSelected,a=t.label,l=t.value;return(!Hm(e)||!o)&&jm(e,{label:a,value:l,data:i},r)}function dw(e,t){var n=e.focusedValue,r=e.selectValue,i=r.indexOf(n);if(i>-1){var o=t.indexOf(n);if(o>-1)return n;if(i<t.length)return t[i]}return null}function pw(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}var Dm=function(t,n){return t.getOptionLabel(n)},ma=function(t,n){return t.getOptionValue(n)};function $m(e,t,n){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,n):!1}function Bm(e,t,n){if(n.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,n);var r=ma(e,t);return n.some(function(i){return ma(e,i)===r})}function jm(e,t,n){return e.filterOption?e.filterOption(t,n):!0}var Hm=function(t){var n=t.hideSelectedOptions,r=t.isMulti;return n===void 0?r:n},hw=1,Um=function(e){Xa(n,e);var t=Za(n);function n(r){var i;return Ya(this,n),i=t.call(this,r),i.state={ariaSelection:null,focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0},i.blockOptionHover=!1,i.isComposing=!1,i.commonProps=void 0,i.initialTouchX=0,i.initialTouchY=0,i.instancePrefix="",i.openAfterFocus=!1,i.scrollToFocusedOptionOnUpdate=!1,i.userIsDragging=void 0,i.controlRef=null,i.getControlRef=function(o){i.controlRef=o},i.focusedOptionRef=null,i.getFocusedOptionRef=function(o){i.focusedOptionRef=o},i.menuListRef=null,i.getMenuListRef=function(o){i.menuListRef=o},i.inputRef=null,i.getInputRef=function(o){i.inputRef=o},i.focus=i.focusInput,i.blur=i.blurInput,i.onChange=function(o,a){var l=i.props,s=l.onChange,u=l.name;a.name=u,i.ariaOnChange(o,a),s(o,a)},i.setValue=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set-value",l=arguments.length>2?arguments[2]:void 0,s=i.props,u=s.closeMenuOnSelect,c=s.isMulti;i.onInputChange("",{action:"set-value"}),u&&(i.setState({inputIsHiddenAfterUpdate:!c}),i.onMenuClose()),i.setState({clearFocusValueOnUpdate:!0}),i.onChange(o,{action:a,option:l})},i.selectOption=function(o){var a=i.props,l=a.blurInputOnSelect,s=a.isMulti,u=a.name,c=i.state.selectValue,f=s&&i.isOptionSelected(o,c),p=i.isOptionDisabled(o,c);if(f){var g=i.getOptionValue(o);i.setValue(c.filter(function(v){return i.getOptionValue(v)!==g}),"deselect-option",o)}else if(!p)s?i.setValue([].concat(Im(c),[o]),"select-option",o):i.setValue(o,"select-option");else{i.ariaOnChange(o,{action:"select-option",name:u});return}l&&i.blurInput()},i.removeValue=function(o){var a=i.props.isMulti,l=i.state.selectValue,s=i.getOptionValue(o),u=l.filter(function(f){return i.getOptionValue(f)!==s}),c=a?u:u[0]||null;i.onChange(c,{action:"remove-value",removedValue:o}),i.focusInput()},i.clearValue=function(){var o=i.state.selectValue;i.onChange(i.props.isMulti?[]:null,{action:"clear",removedValues:o})},i.popValue=function(){var o=i.props.isMulti,a=i.state.selectValue,l=a[a.length-1],s=a.slice(0,a.length-1),u=o?s:s[0]||null;i.onChange(u,{action:"pop-value",removedValue:l})},i.getValue=function(){return i.state.selectValue},i.cx=function(){for(var o=arguments.length,a=new Array(o),l=0;l<o;l++)a[l]=arguments[l];return V2.apply(void 0,[i.props.classNamePrefix].concat(a))},i.getOptionLabel=function(o){return Dm(i.props,o)},i.getOptionValue=function(o){return ma(i.props,o)},i.getStyles=function(o,a){var l=iw[o](a);l.boxSizing="border-box";var s=i.props.styles[o];return s?s(l,a):l},i.getElementId=function(o){return"".concat(i.instancePrefix,"-").concat(o)},i.getComponents=function(){return _x(i.props)},i.buildCategorizedOptions=function(){return Nm(i.props,i.state.selectValue)},i.getCategorizedOptions=function(){return i.props.menuIsOpen?i.buildCategorizedOptions():[]},i.buildFocusableOptions=function(){return zm(i.buildCategorizedOptions())},i.getFocusableOptions=function(){return i.props.menuIsOpen?i.buildFocusableOptions():[]},i.ariaOnChange=function(o,a){i.setState({ariaSelection:Ke({value:o},a)})},i.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),i.focusInput())},i.onMenuMouseMove=function(o){i.blockOptionHover=!1},i.onControlMouseDown=function(o){var a=i.props.openMenuOnClick;i.state.isFocused?i.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&i.onMenuClose():a&&i.openMenu("first"):(a&&(i.openAfterFocus=!0),i.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()},i.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.button!==0)&&!i.props.isDisabled){var a=i.props,l=a.isMulti,s=a.menuIsOpen;i.focusInput(),s?(i.setState({inputIsHiddenAfterUpdate:!l}),i.onMenuClose()):i.openMenu("first"),o.preventDefault(),o.stopPropagation()}},i.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(i.clearValue(),o.stopPropagation(),i.openAfterFocus=!1,o.type==="touchend"?i.focusInput():setTimeout(function(){return i.focusInput()}))},i.onScroll=function(o){typeof i.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&ac(o.target)&&i.props.onMenuClose():typeof i.props.closeMenuOnScroll=="function"&&i.props.closeMenuOnScroll(o)&&i.props.onMenuClose()},i.onCompositionStart=function(){i.isComposing=!0},i.onCompositionEnd=function(){i.isComposing=!1},i.onTouchStart=function(o){var a=o.touches,l=a&&a.item(0);!l||(i.initialTouchX=l.clientX,i.initialTouchY=l.clientY,i.userIsDragging=!1)},i.onTouchMove=function(o){var a=o.touches,l=a&&a.item(0);if(!!l){var s=Math.abs(l.clientX-i.initialTouchX),u=Math.abs(l.clientY-i.initialTouchY),c=5;i.userIsDragging=s>c||u>c}},i.onTouchEnd=function(o){i.userIsDragging||(i.controlRef&&!i.controlRef.contains(o.target)&&i.menuListRef&&!i.menuListRef.contains(o.target)&&i.blurInput(),i.initialTouchX=0,i.initialTouchY=0)},i.onControlTouchEnd=function(o){i.userIsDragging||i.onControlMouseDown(o)},i.onClearIndicatorTouchEnd=function(o){i.userIsDragging||i.onClearIndicatorMouseDown(o)},i.onDropdownIndicatorTouchEnd=function(o){i.userIsDragging||i.onDropdownIndicatorMouseDown(o)},i.handleInputChange=function(o){var a=o.currentTarget.value;i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange(a,{action:"input-change"}),i.props.menuIsOpen||i.onMenuOpen()},i.onInputFocus=function(o){i.props.onFocus&&i.props.onFocus(o),i.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(i.openAfterFocus||i.props.openMenuOnFocus)&&i.openMenu("first"),i.openAfterFocus=!1},i.onInputBlur=function(o){if(i.menuListRef&&i.menuListRef.contains(document.activeElement)){i.inputRef.focus();return}i.props.onBlur&&i.props.onBlur(o),i.onInputChange("",{action:"input-blur"}),i.onMenuClose(),i.setState({focusedValue:null,isFocused:!1})},i.onOptionHover=function(o){i.blockOptionHover||i.state.focusedOption===o||i.setState({focusedOption:o})},i.shouldHideSelectedOptions=function(){return Hm(i.props)},i.onKeyDown=function(o){var a=i.props,l=a.isMulti,s=a.backspaceRemovesValue,u=a.escapeClearsValue,c=a.inputValue,f=a.isClearable,p=a.isDisabled,g=a.menuIsOpen,v=a.onKeyDown,x=a.tabSelectsValue,S=a.openMenuOnFocus,h=i.state,d=h.focusedOption,m=h.focusedValue,k=h.selectValue;if(!p&&!(typeof v=="function"&&(v(o),o.defaultPrevented))){switch(i.blockOptionHover=!0,o.key){case"ArrowLeft":if(!l||c)return;i.focusValue("previous");break;case"ArrowRight":if(!l||c)return;i.focusValue("next");break;case"Delete":case"Backspace":if(c)return;if(m)i.removeValue(m);else{if(!s)return;l?i.popValue():f&&i.clearValue()}break;case"Tab":if(i.isComposing||o.shiftKey||!g||!x||!d||S&&i.isOptionSelected(d,k))return;i.selectOption(d);break;case"Enter":if(o.keyCode===229)break;if(g){if(!d||i.isComposing)return;i.selectOption(d);break}return;case"Escape":g?(i.setState({inputIsHiddenAfterUpdate:!1}),i.onInputChange("",{action:"menu-close"}),i.onMenuClose()):f&&u&&i.clearValue();break;case" ":if(c)return;if(!g){i.openMenu("first");break}if(!d)return;i.selectOption(d);break;case"ArrowUp":g?i.focusOption("up"):i.openMenu("last");break;case"ArrowDown":g?i.focusOption("down"):i.openMenu("first");break;case"PageUp":if(!g)return;i.focusOption("pageup");break;case"PageDown":if(!g)return;i.focusOption("pagedown");break;case"Home":if(!g)return;i.focusOption("first");break;case"End":if(!g)return;i.focusOption("last");break;default:return}o.preventDefault()}},i.instancePrefix="react-select-"+(i.props.instanceId||++hw),i.state.selectValue=Xf(r.value),i}return Ka(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"componentDidUpdate",value:function(i){var o=this.props,a=o.isDisabled,l=o.menuIsOpen,s=this.state.isFocused;(s&&!a&&i.isDisabled||s&&l&&!i.menuIsOpen)&&this.focusInput(),s&&a&&!i.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(I2(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(i,o){this.props.onInputChange(i,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(i){var o=this,a=this.state,l=a.selectValue,s=a.isFocused,u=this.buildFocusableOptions(),c=i==="first"?0:u.length-1;if(!this.props.isMulti){var f=u.indexOf(l[0]);f>-1&&(c=f)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c]},function(){return o.onMenuOpen()})}},{key:"focusValue",value:function(i){var o=this.state,a=o.selectValue,l=o.focusedValue;if(!!this.props.isMulti){this.setState({focusedOption:null});var s=a.indexOf(l);l||(s=-1);var u=a.length-1,c=-1;if(!!a.length){switch(i){case"previous":s===0?c=0:s===-1?c=u:c=s-1;break;case"next":s>-1&&s<u&&(c=s+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:a[c]})}}}},{key:"focusOption",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props.pageSize,a=this.state.focusedOption,l=this.getFocusableOptions();if(!!l.length){var s=0,u=l.indexOf(a);a||(u=-1),i==="up"?s=u>0?u-1:l.length-1:i==="down"?s=(u+1)%l.length:i==="pageup"?(s=u-o,s<0&&(s=0)):i==="pagedown"?(s=u+o,s>l.length-1&&(s=l.length-1)):i==="last"&&(s=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[s],focusedValue:null})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(Dl):Ke(Ke({},Dl),this.props.theme):Dl}},{key:"getCommonProps",value:function(){var i=this.clearValue,o=this.cx,a=this.getStyles,l=this.getValue,s=this.selectOption,u=this.setValue,c=this.props,f=c.isMulti,p=c.isRtl,g=c.options,v=this.hasValue();return{clearValue:i,cx:o,getStyles:a,getValue:l,hasValue:v,isMulti:f,isRtl:p,options:g,selectOption:s,selectProps:c,setValue:u,theme:this.getTheme()}}},{key:"hasValue",value:function(){var i=this.state.selectValue;return i.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var i=this.props,o=i.isClearable,a=i.isMulti;return o===void 0?a:o}},{key:"isOptionDisabled",value:function(i,o){return $m(this.props,i,o)}},{key:"isOptionSelected",value:function(i,o){return Bm(this.props,i,o)}},{key:"filterOption",value:function(i,o){return jm(this.props,i,o)}},{key:"formatOptionLabel",value:function(i,o){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(i,{context:o,inputValue:a,selectValue:l})}else return this.getOptionLabel(i)}},{key:"formatGroupLabel",value:function(i){return this.props.formatGroupLabel(i)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var i=this.props,o=i.isDisabled,a=i.isSearchable,l=i.inputId,s=i.inputValue,u=i.tabIndex,c=i.form,f=this.getComponents(),p=f.Input,g=this.state.inputIsHidden,v=this.commonProps,x=l||this.getElementId("input"),S={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};return a?y(p,{...v,autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:x,innerRef:this.getInputRef,isDisabled:o,isHidden:g,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:s,...S}):y(Qx,{id:x,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:pa,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:u,form:c,value:"",...S})}},{key:"renderPlaceholderOrValue",value:function(){var i=this,o=this.getComponents(),a=o.MultiValue,l=o.MultiValueContainer,s=o.MultiValueLabel,u=o.MultiValueRemove,c=o.SingleValue,f=o.Placeholder,p=this.commonProps,g=this.props,v=g.controlShouldRenderValue,x=g.isDisabled,S=g.isMulti,h=g.inputValue,d=g.placeholder,m=this.state,k=m.selectValue,E=m.focusedValue,w=m.isFocused;if(!this.hasValue()||!v)return h?null:b.exports.createElement(f,{...p,key:"placeholder",isDisabled:x,isFocused:w},d);if(S){var O=k.map(function(M,L){var j=M===E;return b.exports.createElement(a,{...p,components:{Container:l,Label:s,Remove:u},isFocused:j,isDisabled:x,key:"".concat(i.getOptionValue(M)).concat(L),index:L,removeProps:{onClick:function(){return i.removeValue(M)},onTouchEnd:function(){return i.removeValue(M)},onMouseDown:function(re){re.preventDefault(),re.stopPropagation()}},data:M},i.formatOptionLabel(M,"value"))});return O}if(h)return null;var F=k[0];return y(c,{...p,data:F,isDisabled:x,children:this.formatOptionLabel(F,"value")})}},{key:"renderClearIndicator",value:function(){var i=this.getComponents(),o=i.ClearIndicator,a=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!this.isClearable()||!o||s||!this.hasValue()||u)return null;var f={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return y(o,{...a,innerProps:f,isFocused:c})}},{key:"renderLoadingIndicator",value:function(){var i=this.getComponents(),o=i.LoadingIndicator,a=this.commonProps,l=this.props,s=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!o||!u)return null;var f={"aria-hidden":"true"};return y(o,{...a,innerProps:f,isDisabled:s,isFocused:c})}},{key:"renderIndicatorSeparator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator,a=i.IndicatorSeparator;if(!o||!a)return null;var l=this.commonProps,s=this.props.isDisabled,u=this.state.isFocused;return y(a,{...l,isDisabled:s,isFocused:u})}},{key:"renderDropdownIndicator",value:function(){var i=this.getComponents(),o=i.DropdownIndicator;if(!o)return null;var a=this.commonProps,l=this.props.isDisabled,s=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return y(o,{...a,innerProps:u,isDisabled:l,isFocused:s})}},{key:"renderMenu",value:function(){var i=this,o=this.getComponents(),a=o.Group,l=o.GroupHeading,s=o.Menu,u=o.MenuList,c=o.MenuPortal,f=o.LoadingMessage,p=o.NoOptionsMessage,g=o.Option,v=this.commonProps,x=this.state.focusedOption,S=this.props,h=S.captureMenuScroll,d=S.inputValue,m=S.isLoading,k=S.loadingMessage,E=S.minMenuHeight,w=S.maxMenuHeight,O=S.menuIsOpen,F=S.menuPlacement,M=S.menuPosition,L=S.menuPortalTarget,j=S.menuShouldBlockScroll,H=S.menuShouldScrollIntoView,re=S.noOptionsMessage,ue=S.onMenuScrollToTop,te=S.onMenuScrollToBottom;if(!O)return null;var ee=function(T,N){var W=T.type,C=T.data,q=T.isDisabled,I=T.isSelected,pe=T.label,ce=T.value,fe=x===C,Z=q?void 0:function(){return i.onOptionHover(C)},Te=q?void 0:function(){return i.selectOption(C)},Le="".concat(i.getElementId("option"),"-").concat(N),ae={id:Le,onClick:Te,onMouseMove:Z,onMouseOver:Z,tabIndex:-1};return b.exports.createElement(g,{...v,innerProps:ae,data:C,isDisabled:q,isSelected:I,key:Le,label:pe,type:W,value:ce,isFocused:fe,innerRef:fe?i.getFocusedOptionRef:void 0},i.formatOptionLabel(T.data,"menu"))},X;if(this.hasOptions())X=this.getCategorizedOptions().map(function(P){if(P.type==="group"){var T=P.data,N=P.options,W=P.index,C="".concat(i.getElementId("group"),"-").concat(W),q="".concat(C,"-heading");return b.exports.createElement(a,{...v,key:C,data:T,options:N,Heading:l,headingProps:{id:q,data:P.data},label:i.formatGroupLabel(P.data)},P.options.map(function(I){return ee(I,"".concat(W,"-").concat(I.index))}))}else if(P.type==="option")return ee(P,"".concat(P.index))});else if(m){var V=k({inputValue:d});if(V===null)return null;X=y(f,{...v,children:V})}else{var z=re({inputValue:d});if(z===null)return null;X=y(p,{...v,children:z})}var B={minMenuHeight:E,maxMenuHeight:w,menuPlacement:F,menuPosition:M,menuShouldScrollIntoView:H},oe=y(bm,{...v,...B,children:function(P){var T=P.ref,N=P.placerProps,W=N.placement,C=N.maxHeight;return y(s,{...v,...B,innerRef:T,innerProps:{onMouseDown:i.onMenuMouseDown,onMouseMove:i.onMenuMouseMove},isLoading:m,placement:W,children:y(Jx,{captureEnabled:h,onTopArrive:ue,onBottomArrive:te,lockEnabled:j,children:function(q){return y(u,{...v,innerRef:function(pe){i.getMenuListRef(pe),q(pe)},isLoading:m,maxHeight:C,focusedOption:x,children:X})}})})}});return L||M==="fixed"?y(c,{...v,appendTo:L,controlElement:this.controlRef,menuPlacement:F,menuPosition:M,children:oe}):oe}},{key:"renderFormField",value:function(){var i=this,o=this.props,a=o.delimiter,l=o.isDisabled,s=o.isMulti,u=o.name,c=this.state.selectValue;if(!(!u||l))if(s)if(a){var f=c.map(function(v){return i.getOptionValue(v)}).join(a);return y("input",{name:u,type:"hidden",value:f})}else{var p=c.length>0?c.map(function(v,x){return y("input",{name:u,type:"hidden",value:i.getOptionValue(v)},"i-".concat(x))}):y("input",{name:u,type:"hidden"});return y("div",{children:p})}else{var g=c[0]?this.getOptionValue(c[0]):"";return y("input",{name:u,type:"hidden",value:g})}}},{key:"renderLiveRegion",value:function(){var i=this.commonProps,o=this.state,a=o.ariaSelection,l=o.focusedOption,s=o.focusedValue,u=o.isFocused,c=o.selectValue,f=this.getFocusableOptions();return y(jx,{...i,ariaSelection:a,focusedOption:l,focusedValue:s,isFocused:u,selectValue:c,focusableOptions:f})}},{key:"render",value:function(){var i=this.getComponents(),o=i.Control,a=i.IndicatorsContainer,l=i.SelectContainer,s=i.ValueContainer,u=this.props,c=u.className,f=u.id,p=u.isDisabled,g=u.menuIsOpen,v=this.state.isFocused,x=this.commonProps=this.getCommonProps();return R(l,{...x,className:c,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:v,children:[this.renderLiveRegion(),R(o,{...x,innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:v,menuIsOpen:g,children:[R(s,{...x,isDisabled:p,children:[this.renderPlaceholderOrValue(),this.renderInput()]}),R(a,{...x,isDisabled:p,children:[this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator()]})]}),this.renderMenu(),this.renderFormField()]})}}],[{key:"getDerivedStateFromProps",value:function(i,o){var a=o.prevProps,l=o.clearFocusValueOnUpdate,s=o.inputIsHiddenAfterUpdate,u=i.options,c=i.value,f=i.menuIsOpen,p=i.inputValue,g={};if(a&&(c!==a.value||u!==a.options||f!==a.menuIsOpen||p!==a.inputValue)){var v=Xf(c),x=f?fw(i,v):[],S=l?dw(o,v):null,h=pw(o,x);g={selectValue:v,focusedOption:h,focusedValue:S,clearFocusValueOnUpdate:!1}}var d=s!=null&&i!==a?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{};return Ke(Ke(Ke({},g),d),{},{prevProps:i})}}]),n}(b.exports.Component);Um.defaultProps=cw;var mw={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},vw=function(t){var n,r;return r=n=function(i){Xa(a,i);var o=Za(a);function a(){var l;Ya(this,a);for(var s=arguments.length,u=new Array(s),c=0;c<s;c++)u[c]=arguments[c];return l=o.call.apply(o,[this].concat(u)),l.select=void 0,l.state={inputValue:l.props.inputValue!==void 0?l.props.inputValue:l.props.defaultInputValue,menuIsOpen:l.props.menuIsOpen!==void 0?l.props.menuIsOpen:l.props.defaultMenuIsOpen,value:l.props.value!==void 0?l.props.value:l.props.defaultValue},l.onChange=function(f,p){l.callProp("onChange",f,p),l.setState({value:f})},l.onInputChange=function(f,p){var g=l.callProp("onInputChange",f,p);l.setState({inputValue:g!==void 0?g:f})},l.onMenuOpen=function(){l.callProp("onMenuOpen"),l.setState({menuIsOpen:!0})},l.onMenuClose=function(){l.callProp("onMenuClose"),l.setState({menuIsOpen:!1})},l}return Ka(a,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(s){return this.props[s]!==void 0?this.props[s]:this.state[s]}},{key:"callProp",value:function(s){if(typeof this.props[s]=="function"){for(var u,c=arguments.length,f=new Array(c>1?c-1:0),p=1;p<c;p++)f[p-1]=arguments[p];return(u=this.props)[s].apply(u,f)}}},{key:"render",value:function(){var s=this,u=this.props;u.defaultInputValue,u.defaultMenuIsOpen,u.defaultValue;var c=Dr(u,["defaultInputValue","defaultMenuIsOpen","defaultValue"]);return y(t,{...c,ref:function(p){s.select=p},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")})}}]),a}(b.exports.Component),n.defaultProps=mw,r},gw=vw(Um),Wm=gw;const yw=Ve.div`
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
|
|
> span {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 200;
|
|
}
|
|
`,fo={control:e=>({...e,marginTop:"10px",background:"rgba(23, 23, 23, 0.8)",fontSize:"14px",color:"#fff",border:"none",outline:"none",boxShadow:"none"}),placeholder:e=>({...e,fontSize:"14px",color:"#fff"}),input:e=>({...e,fontSize:"14px",color:"#fff"}),singleValue:e=>({...e,fontSize:"14px",color:"#fff",border:"none",outline:"none"}),indicatorContainer:e=>({...e,borderColor:"#fff",color:"#fff"}),dropdownIndicator:e=>({...e,borderColor:"#fff",color:"#fff"}),menuPortal:e=>({...e,color:"#fff",zIndex:9999}),menu:e=>({...e,background:"rgba(23, 23, 23, 0.8)",position:"absolute",marginBottom:"10px",borderRadius:"4px"}),menuList:e=>({...e,background:"rgba(23, 23, 23, 0.8)",borderRadius:"4px","&::-webkit-scrollbar":{width:"10px"},"&::-webkit-scrollbar-track":{background:"none"},"&::-webkit-scrollbar-thumb":{borderRadius:"4px",background:"#fff"}}),option:(e,{isFocused:t})=>({...e,borderRadius:"4px",width:"97%",marginLeft:"auto",marginRight:"auto",background:t?"rgba(255, 255, 255, 0.1)":"none"})},xw=({title:e,items:t,defaultValue:n,clientValue:r,onChange:i})=>{const o=b.exports.useRef(null),a=(u,{action:c})=>{c==="select-option"&&i(u.value)},l=()=>{setTimeout(()=>{const u=document.getElementsByClassName("Select"+e+"__option--is-selected")[0];u&&u.scrollIntoView({behavior:"auto",block:"start",inline:"nearest"})},100)},s=b.exports.useContext(Xn);return fo.control.background=`rgba(${s.secondaryBackground||"0, 0, 0"}, 0.8)`,fo.menu.background=`rgba(${s.secondaryBackground||"0, 0, 0"}, 0.8)`,fo.menuList.background=`rgba(${s.secondaryBackground||"0, 0, 0"}, 0.8)`,R(yw,{children:[R("span",{children:[y("small",{children:e}),y("small",{children:r})]}),y(Wm,{ref:o,styles:fo,options:t.map(u=>({value:u,label:u})),value:{value:n,label:n},onChange:a,onMenuOpen:l,className:"Select"+e,classNamePrefix:"Select"+e,menuPortalTarget:document.body})]})},ww=({settings:e,storedData:t,data:n,handleModelChange:r})=>{const{locales:i}=un();return i?y(Jn,{title:i.ped.title,children:y(J,{children:y(xw,{title:i.ped.model,items:e.model.items,defaultValue:n,clientValue:t,onChange:o=>r(o)})})}):null},Sw=Ve.div`
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
|
|
margin-top: ${({title:e})=>e?"5px":"0"};
|
|
|
|
> span {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 200;
|
|
}
|
|
|
|
> div {
|
|
min-width: 0;
|
|
height: 30px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
margin-top: 10px;
|
|
|
|
button {
|
|
height: 100%;
|
|
min-width: 30px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);
|
|
|
|
outline: 0;
|
|
border: none;
|
|
border-radius: 2px;
|
|
|
|
background: rgba(23, 23, 23, 0.5);
|
|
|
|
&:hover {
|
|
color: rgba(${e=>e.theme.fontColorHover||"255, 255, 255"}, 1);
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.9);
|
|
${e=>e.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
${e=>e.theme.scaleOnHover?"transform: scale(1.1);":""}
|
|
}
|
|
}
|
|
|
|
input {
|
|
min-width: 0;
|
|
height: 100%;
|
|
|
|
flex-grow: 1;
|
|
flex-shrink: 1;
|
|
|
|
text-align: center;
|
|
font-size: 14px;
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);
|
|
|
|
border: none;
|
|
border-radius: 2px;
|
|
margin: 0 2px;
|
|
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.8);
|
|
|
|
&::-webkit-outer-spin-button,
|
|
&::-webkit-inner-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
}
|
|
}
|
|
`,G=({title:e,min:t=0,max:n=255,blacklisted:r=[],defaultValue:i,clientValue:o,onChange:a})=>{const l=b.exports.useRef(null),s=b.exports.useCallback(()=>{l.current&&l.current.focus()},[l]),u=function(v,x){for(var S=0;S<x.length;S++)if(x[S]==v)return!0;return!1},c=function(v){return v<t?v=n:v>n&&(v=t),v},f=function(v,x,S){if(S===0){if(!u(v,x))return c(v);S=v>i?1:-1}do v=c(v+S);while(u(v,x));return v},p=b.exports.useCallback((v,x)=>f(v,r,x),[t,n,r]),g=b.exports.useCallback((v,x)=>{let S;if(!v&&v!==0||Number.isNaN(v))return;typeof v=="string"?S=parseInt(v):S=v;const h=p(S,x);a(h)},[p,a]);return R(Sw,{onClick:s,children:[R("span",{children:[y("small",{children:e}),R("small",{children:[o," / ",n]})]}),R("div",{children:[y("button",{type:"button",onClick:()=>g(i,-1),children:y(fy,{strokeWidth:5})}),y("input",{type:"number",ref:l,value:i,onChange:v=>g(v.target.value,0)}),y("button",{type:"button",onClick:()=>g(i,1),children:y(dy,{strokeWidth:5})})]})]})},kw=Ve.div`
|
|
width: 100%;
|
|
|
|
> span {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 200;
|
|
}
|
|
|
|
> div {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
margin-top: 10px;
|
|
|
|
> small {
|
|
font-weight: 200;
|
|
font-size: 8px;
|
|
}
|
|
}
|
|
|
|
input[type='range'] {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 100%;
|
|
height: 15px;
|
|
background: rgba(${e=>e.theme.secondayBackground||"0, 0, 0"}, 0.8);
|
|
outline: none;
|
|
opacity: 1;
|
|
border-radius: 2px;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
input[type='range']::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
width: 17px;
|
|
height: 17px;
|
|
background: #eeeeee;
|
|
cursor: pointer;
|
|
border-radius: 2px;
|
|
}
|
|
`,le=({min:e,max:t,factor:n=1,title:r,defaultValue:i=1,clientValue:o,onChange:a})=>{const l=b.exports.useRef(null),s=b.exports.useCallback(()=>{l.current&&l.current.focus()},[l]),u=b.exports.useCallback(c=>{const f=parseFloat(c.target.value);a(f)},[a]);return R(kw,{onClick:s,children:[R("span",{children:[R("small",{children:[r,": ",i]}),y("small",{children:o})]}),R("div",{children:[y("small",{children:e}),y("input",{type:"range",ref:l,value:i,min:e,max:t,step:n,onChange:u}),y("small",{children:t})]})]})},bw=({settings:e,storedData:t,data:n,handleHeadBlendChange:r})=>{const{locales:i}=un();return i?R(Jn,{title:i.headBlend.title,children:[R(J,{title:i.headBlend.shape.title,children:[y(G,{title:i.headBlend.shape.firstOption,min:e.shapeFirst.min,max:e.shapeFirst.max,defaultValue:n.shapeFirst,clientValue:t.shapeFirst,onChange:o=>r("shapeFirst",o)}),y(G,{title:i.headBlend.shape.secondOption,min:e.shapeSecond.min,max:e.shapeSecond.max,defaultValue:n.shapeSecond,clientValue:t.shapeSecond,onChange:o=>r("shapeSecond",o)}),y(le,{title:i.headBlend.shape.mix,min:e.shapeMix.min,max:e.shapeMix.max,factor:e.shapeMix.factor,defaultValue:n.shapeMix,clientValue:t.shapeMix,onChange:o=>r("shapeMix",o)})]}),R(J,{title:i.headBlend.skin.title,children:[y(G,{title:i.headBlend.skin.firstOption,min:e.skinFirst.min,max:e.skinFirst.max,defaultValue:n.skinFirst,clientValue:t.skinFirst,onChange:o=>r("skinFirst",o)}),y(G,{title:i.headBlend.skin.secondOption,min:e.skinSecond.min,max:e.skinSecond.max,defaultValue:n.skinSecond,clientValue:t.skinSecond,onChange:o=>r("skinSecond",o)}),y(le,{title:i.headBlend.skin.mix,min:e.skinMix.min,max:e.skinMix.max,factor:e.skinMix.factor,defaultValue:n.skinMix,clientValue:t.skinMix,onChange:o=>r("skinMix",o)})]}),R(J,{title:i.headBlend.race.title,children:[y(G,{title:i.headBlend.race.shape,min:e.shapeThird.min,max:e.shapeThird.max,defaultValue:n.shapeThird,clientValue:t.shapeThird,onChange:o=>r("shapeThird",o)}),y(G,{title:i.headBlend.race.skin,min:e.skinThird.min,max:e.skinThird.max,defaultValue:n.skinThird,clientValue:t.skinThird,onChange:o=>r("skinThird",o)}),y(le,{title:i.headBlend.race.mix,min:e.thirdMix.min,max:e.thirdMix.max,factor:e.thirdMix.factor,defaultValue:n.thirdMix,clientValue:t.thirdMix,onChange:o=>r("thirdMix",o)})]})]}):null},Cw=({settings:e,storedData:t,data:n,handleFaceFeatureChange:r})=>{const{locales:i}=un();return i?R(Jn,{title:i.faceFeatures.title,children:[R(J,{title:i.faceFeatures.nose.title,children:[y(le,{title:i.faceFeatures.nose.width,min:e.noseWidth.min,max:e.noseWidth.max,factor:e.noseWidth.factor,defaultValue:n.noseWidth,clientValue:t.noseWidth,onChange:o=>r("noseWidth",o)}),y(le,{title:i.faceFeatures.nose.height,min:e.nosePeakHigh.min,max:e.nosePeakHigh.max,factor:e.nosePeakHigh.factor,defaultValue:n.nosePeakHigh,clientValue:t.nosePeakHigh,onChange:o=>r("nosePeakHigh",o)}),y(le,{title:i.faceFeatures.nose.size,min:e.nosePeakSize.min,max:e.nosePeakSize.max,factor:e.nosePeakSize.factor,defaultValue:n.nosePeakSize,clientValue:t.nosePeakSize,onChange:o=>r("nosePeakSize",o)}),y(le,{title:i.faceFeatures.nose.boneHeight,min:e.noseBoneHigh.min,max:e.noseBoneHigh.max,factor:e.noseBoneHigh.factor,defaultValue:n.noseBoneHigh,clientValue:t.noseBoneHigh,onChange:o=>r("noseBoneHigh",o)}),y(le,{title:i.faceFeatures.nose.peakHeight,min:e.nosePeakLowering.min,max:e.nosePeakLowering.max,factor:e.nosePeakLowering.factor,defaultValue:n.nosePeakLowering,clientValue:t.nosePeakLowering,onChange:o=>r("nosePeakLowering",o)}),y(le,{title:i.faceFeatures.nose.boneTwist,min:e.noseBoneTwist.min,max:e.noseBoneTwist.max,factor:e.noseBoneTwist.factor,defaultValue:n.noseBoneTwist,clientValue:t.noseBoneTwist,onChange:o=>r("noseBoneTwist",o)})]}),R(J,{title:i.faceFeatures.eyebrows.title,children:[y(le,{title:i.faceFeatures.eyebrows.height,min:e.eyeBrownHigh.min,max:e.eyeBrownHigh.max,factor:e.eyeBrownHigh.factor,defaultValue:n.eyeBrownHigh,clientValue:t.eyeBrownHigh,onChange:o=>r("eyeBrownHigh",o)}),y(le,{title:i.faceFeatures.eyebrows.depth,min:e.eyeBrownForward.min,max:e.eyeBrownForward.max,factor:e.eyeBrownForward.factor,defaultValue:n.eyeBrownForward,clientValue:t.eyeBrownForward,onChange:o=>r("eyeBrownForward",o)})]}),R(J,{title:i.faceFeatures.cheeks.title,children:[y(le,{title:i.faceFeatures.cheeks.boneHeight,min:e.cheeksBoneHigh.min,max:e.cheeksBoneHigh.max,factor:e.cheeksBoneHigh.factor,defaultValue:n.cheeksBoneHigh,clientValue:t.cheeksBoneHigh,onChange:o=>r("cheeksBoneHigh",o)}),y(le,{title:i.faceFeatures.cheeks.boneWidth,min:e.cheeksBoneWidth.min,max:e.cheeksBoneWidth.max,factor:e.cheeksBoneWidth.factor,defaultValue:n.cheeksBoneWidth,clientValue:t.cheeksBoneWidth,onChange:o=>r("cheeksBoneWidth",o)}),y(le,{title:i.faceFeatures.cheeks.width,min:e.cheeksWidth.min,max:e.cheeksWidth.max,factor:e.cheeksWidth.factor,defaultValue:n.cheeksWidth,clientValue:t.cheeksWidth,onChange:o=>r("cheeksWidth",o)})]}),R(J,{title:i.faceFeatures.eyesAndMouth.title,children:[y(le,{title:i.faceFeatures.eyesAndMouth.eyesOpening,min:e.eyesOpening.min,max:e.eyesOpening.max,factor:e.eyesOpening.factor,defaultValue:n.eyesOpening,clientValue:t.eyesOpening,onChange:o=>r("eyesOpening",o)}),y(le,{title:i.faceFeatures.eyesAndMouth.lipsThickness,min:e.lipsThickness.min,max:e.lipsThickness.max,factor:e.lipsThickness.factor,defaultValue:n.lipsThickness,clientValue:t.lipsThickness,onChange:o=>r("lipsThickness",o)})]}),R(J,{title:i.faceFeatures.jaw.title,children:[y(le,{title:i.faceFeatures.jaw.width,min:e.jawBoneWidth.min,max:e.jawBoneWidth.max,factor:e.jawBoneWidth.factor,defaultValue:n.jawBoneWidth,clientValue:t.jawBoneWidth,onChange:o=>r("jawBoneWidth",o)}),y(le,{title:i.faceFeatures.jaw.size,min:e.jawBoneBackSize.min,max:e.jawBoneBackSize.max,factor:e.jawBoneBackSize.factor,defaultValue:n.jawBoneBackSize,clientValue:t.jawBoneBackSize,onChange:o=>r("jawBoneBackSize",o)})]}),R(J,{title:i.faceFeatures.chin.title,children:[y(le,{title:i.faceFeatures.chin.lowering,min:e.chinBoneLowering.min,max:e.chinBoneLowering.max,factor:e.chinBoneLowering.factor,defaultValue:n.chinBoneLowering,clientValue:t.chinBoneLowering,onChange:o=>r("chinBoneLowering",o)}),y(le,{title:i.faceFeatures.chin.length,min:e.chinBoneLenght.min,max:e.chinBoneLenght.max,factor:e.chinBoneLenght.factor,defaultValue:n.chinBoneLenght,clientValue:t.chinBoneLenght,onChange:o=>r("chinBoneLenght",o)}),y(le,{title:i.faceFeatures.chin.size,min:e.chinBoneSize.min,max:e.chinBoneSize.max,factor:e.chinBoneSize.factor,defaultValue:n.chinBoneSize,clientValue:t.chinBoneSize,onChange:o=>r("chinBoneSize",o)}),y(le,{title:i.faceFeatures.chin.hole,min:e.chinHole.min,max:e.chinHole.max,factor:e.chinHole.factor,defaultValue:n.chinHole,clientValue:t.chinHole,onChange:o=>r("chinHole",o)})]}),y(J,{title:i.faceFeatures.neck.title,children:y(le,{title:i.faceFeatures.neck.thickness,min:e.neckThickness.min,max:e.neckThickness.max,factor:e.neckThickness.factor,defaultValue:n.neckThickness,clientValue:t.neckThickness,onChange:o=>r("neckThickness",o)})})]}):null},Ew=Ve.div`
|
|
width: 100%;
|
|
|
|
> span {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-weight: 200;
|
|
}
|
|
|
|
> div {
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
|
|
margin-top: 10px;
|
|
}
|
|
`,Ow=Ve.button`
|
|
height: 20px;
|
|
width: 20px;
|
|
|
|
border: 2px solid rgba(0, 0, 0, 0.2);
|
|
|
|
margin: 1px;
|
|
|
|
&:hover {
|
|
border: 2px solid rgba(255, 255, 255, 0.5);
|
|
${e=>e.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
${e=>e.theme.scaleOnHover?"transform: scale(1.1);":""}
|
|
}
|
|
|
|
${({selected:e})=>e&&Di`
|
|
border: 2px solid rgba(255, 255, 255, 1);
|
|
`}
|
|
`,Zt=({title:e,colors:t=[],defaultValue:n,clientValue:r,onChange:i})=>{const o=b.exports.useCallback(a=>{i(a)},[i]);return R(Ew,{children:[R("span",{children:[y("small",{children:`${e}: ${n}`}),y("small",{children:r})]}),y("div",{children:t.map((a,l)=>y(Ow,{style:{backgroundColor:`rgb(${a[0]}, ${a[1]}, ${a[2]})`},selected:n===l,onClick:()=>o(l)},l))})]})},Pw=({settings:e,storedData:t,data:n,isPedFreemodeModel:r,handleHairChange:i,handleHeadOverlayChange:o,handleEyeColorChange:a,handleChangeFade:l,automaticFade:s})=>{var p,g,v,x,S,h,d,m,k,E;const{locales:u}=un();if(!u)return null;const c=b.exports.useCallback(()=>{var O;const w=(O=e==null?void 0:e.fade)==null?void 0:O.findIndex(F=>{var M;return F.name===((M=n.fade)==null?void 0:M.name)});return w>=0?w:0},[(p=n.fade)==null?void 0:p.name])(),f=b.exports.useCallback(()=>{var O;const w=(O=e==null?void 0:e.fade)==null?void 0:O.findIndex(F=>{var M;return F.name===((M=t.fade)==null?void 0:M.name)});return w>=0?w:0},[(g=t.fade)==null?void 0:g.name])();return R(Jn,{title:u.headOverlays.title,deps:[e],children:[R(J,{title:u.headOverlays.hair.title,children:[y(G,{title:u.headOverlays.hair.style,min:e.hair.style.min,max:e.hair.style.max,blacklisted:e.hair.blacklist.drawables,defaultValue:n.hair.style,clientValue:t.hair.style,onChange:w=>i("style",w)}),y(G,{title:u.headOverlays.hair.texture,min:e.hair.texture.min,max:e.hair.texture.max,blacklisted:e.hair.blacklist.textures,defaultValue:n.hair.texture,clientValue:t.hair.texture,onChange:w=>i("texture",w)}),r&&R(na,{children:[!s&&y(G,{title:u.headOverlays.hair.fade,min:0,max:((v=e==null?void 0:e.fade)==null?void 0:v.length)-1,defaultValue:c,clientValue:f,onChange:w=>l(w)}),y(Zt,{title:u.headOverlays.hair.color,colors:e.hair.color.items,defaultValue:n.hair.color,clientValue:t.hair.color,onChange:w=>i("color",w)}),y(Zt,{title:u.headOverlays.hair.highlight,colors:e.hair.highlight.items,defaultValue:n.hair.highlight,onChange:w=>i("highlight",w)})]})]}),r&&R(na,{children:[R(J,{title:u.headOverlays.eyebrows,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.eyebrows.opacity.min,max:e.headOverlays.eyebrows.opacity.max,factor:e.headOverlays.eyebrows.opacity.factor,defaultValue:n.headOverlays.eyebrows.opacity,clientValue:t.headOverlays.eyebrows.opacity,onChange:w=>o("eyebrows","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.eyebrows.style.min,max:e.headOverlays.eyebrows.style.max,defaultValue:n.headOverlays.eyebrows.style,clientValue:t.headOverlays.eyebrows.style,onChange:w=>o("eyebrows","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(x=e.headOverlays.eyebrows.color)==null?void 0:x.items,defaultValue:n.headOverlays.eyebrows.color,clientValue:t.headOverlays.eyebrows.color,onChange:w=>o("eyebrows","color",w)})]}),y(J,{title:u.headOverlays.eyeColor,children:y(G,{title:u.headOverlays.style,min:e.eyeColor.min,max:e.eyeColor.max,defaultValue:n.eyeColor,clientValue:t.eyeColor,onChange:w=>a(w)})}),R(J,{title:u.headOverlays.makeUp,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.makeUp.opacity.min,max:e.headOverlays.makeUp.opacity.max,factor:e.headOverlays.makeUp.opacity.factor,defaultValue:n.headOverlays.makeUp.opacity,clientValue:t.headOverlays.makeUp.opacity,onChange:w=>o("makeUp","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.makeUp.style.min,max:e.headOverlays.makeUp.style.max,defaultValue:n.headOverlays.makeUp.style,clientValue:t.headOverlays.makeUp.style,onChange:w=>o("makeUp","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(S=e.headOverlays.makeUp.color)==null?void 0:S.items,defaultValue:n.headOverlays.makeUp.color,clientValue:t.headOverlays.makeUp.color,onChange:w=>o("makeUp","color",w)}),y(Zt,{title:u.headOverlays.secondColor,colors:(h=e.headOverlays.makeUp.color)==null?void 0:h.items,defaultValue:n.headOverlays.makeUp.secondColor,clientValue:t.headOverlays.makeUp.secondColor,onChange:w=>o("makeUp","secondColor",w)})]}),R(J,{title:u.headOverlays.blush,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.blush.opacity.min,max:e.headOverlays.blush.opacity.max,factor:e.headOverlays.blush.opacity.factor,defaultValue:n.headOverlays.blush.opacity,clientValue:t.headOverlays.blush.opacity,onChange:w=>o("blush","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.blush.style.min,max:e.headOverlays.blush.style.max,defaultValue:n.headOverlays.blush.style,clientValue:t.headOverlays.blush.style,onChange:w=>o("blush","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(d=e.headOverlays.blush.color)==null?void 0:d.items,defaultValue:n.headOverlays.blush.color,clientValue:t.headOverlays.blush.color,onChange:w=>o("blush","color",w)})]}),R(J,{title:u.headOverlays.lipstick,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.lipstick.opacity.min,max:e.headOverlays.lipstick.opacity.max,factor:e.headOverlays.lipstick.opacity.factor,defaultValue:n.headOverlays.lipstick.opacity,clientValue:t.headOverlays.lipstick.opacity,onChange:w=>o("lipstick","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.lipstick.style.min,max:e.headOverlays.lipstick.style.max,defaultValue:n.headOverlays.lipstick.style,clientValue:t.headOverlays.lipstick.style,onChange:w=>o("lipstick","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(m=e.headOverlays.lipstick.color)==null?void 0:m.items,defaultValue:n.headOverlays.lipstick.color,clientValue:t.headOverlays.lipstick.color,onChange:w=>o("lipstick","color",w)})]}),R(J,{title:u.headOverlays.beard,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.beard.opacity.min,max:e.headOverlays.beard.opacity.max,factor:e.headOverlays.beard.opacity.factor,defaultValue:n.headOverlays.beard.opacity,clientValue:t.headOverlays.beard.opacity,onChange:w=>o("beard","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.beard.style.min,max:e.headOverlays.beard.style.max,defaultValue:n.headOverlays.beard.style,clientValue:t.headOverlays.beard.style,onChange:w=>o("beard","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(k=e.headOverlays.beard.color)==null?void 0:k.items,defaultValue:n.headOverlays.beard.color,clientValue:t.headOverlays.beard.color,onChange:w=>o("beard","color",w)})]}),R(J,{title:u.headOverlays.blemishes,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.blemishes.opacity.min,max:e.headOverlays.blemishes.opacity.max,factor:e.headOverlays.blemishes.opacity.factor,defaultValue:n.headOverlays.blemishes.opacity,clientValue:t.headOverlays.blemishes.opacity,onChange:w=>o("blemishes","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.blemishes.style.min,max:e.headOverlays.blemishes.style.max,defaultValue:n.headOverlays.blemishes.style,clientValue:t.headOverlays.blemishes.style,onChange:w=>o("blemishes","style",w)})]}),R(J,{title:u.headOverlays.ageing,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.ageing.opacity.min,max:e.headOverlays.ageing.opacity.max,factor:e.headOverlays.ageing.opacity.factor,defaultValue:n.headOverlays.ageing.opacity,clientValue:t.headOverlays.ageing.opacity,onChange:w=>o("ageing","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.ageing.style.min,max:e.headOverlays.ageing.style.max,defaultValue:n.headOverlays.ageing.style,clientValue:t.headOverlays.ageing.style,onChange:w=>o("ageing","style",w)})]}),R(J,{title:u.headOverlays.complexion,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.complexion.opacity.min,max:e.headOverlays.complexion.opacity.max,factor:e.headOverlays.complexion.opacity.factor,defaultValue:n.headOverlays.complexion.opacity,clientValue:t.headOverlays.complexion.opacity,onChange:w=>o("complexion","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.complexion.style.min,max:e.headOverlays.complexion.style.max,defaultValue:n.headOverlays.complexion.style,clientValue:t.headOverlays.complexion.style,onChange:w=>o("complexion","style",w)})]}),R(J,{title:u.headOverlays.sunDamage,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.sunDamage.opacity.min,max:e.headOverlays.sunDamage.opacity.max,factor:e.headOverlays.sunDamage.opacity.factor,defaultValue:n.headOverlays.sunDamage.opacity,clientValue:t.headOverlays.sunDamage.opacity,onChange:w=>o("sunDamage","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.sunDamage.style.min,max:e.headOverlays.sunDamage.style.max,defaultValue:n.headOverlays.sunDamage.style,clientValue:t.headOverlays.sunDamage.style,onChange:w=>o("sunDamage","style",w)})]}),R(J,{title:u.headOverlays.moleAndFreckles,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.moleAndFreckles.opacity.min,max:e.headOverlays.moleAndFreckles.opacity.max,factor:e.headOverlays.moleAndFreckles.opacity.factor,defaultValue:n.headOverlays.moleAndFreckles.opacity,clientValue:t.headOverlays.moleAndFreckles.opacity,onChange:w=>o("moleAndFreckles","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.moleAndFreckles.style.min,max:e.headOverlays.moleAndFreckles.style.max,defaultValue:n.headOverlays.moleAndFreckles.style,clientValue:t.headOverlays.moleAndFreckles.style,onChange:w=>o("moleAndFreckles","style",w)})]}),R(J,{title:u.headOverlays.chestHair,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.chestHair.opacity.min,max:e.headOverlays.chestHair.opacity.max,factor:e.headOverlays.chestHair.opacity.factor,defaultValue:n.headOverlays.chestHair.opacity,clientValue:t.headOverlays.chestHair.opacity,onChange:w=>o("chestHair","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.chestHair.style.min,max:e.headOverlays.chestHair.style.max,defaultValue:n.headOverlays.chestHair.style,clientValue:t.headOverlays.chestHair.style,onChange:w=>o("chestHair","style",w)}),y(Zt,{title:u.headOverlays.color,colors:(E=e.headOverlays.chestHair.color)==null?void 0:E.items,defaultValue:n.headOverlays.chestHair.color,clientValue:t.headOverlays.chestHair.color,onChange:w=>o("chestHair","color",w)})]}),R(J,{title:u.headOverlays.bodyBlemishes,children:[y(le,{title:u.headOverlays.opacity,min:e.headOverlays.bodyBlemishes.opacity.min,max:e.headOverlays.bodyBlemishes.opacity.max,factor:e.headOverlays.bodyBlemishes.opacity.factor,defaultValue:n.headOverlays.bodyBlemishes.opacity,clientValue:t.headOverlays.bodyBlemishes.opacity,onChange:w=>o("bodyBlemishes","opacity",w)}),y(G,{title:u.headOverlays.style,min:e.headOverlays.bodyBlemishes.style.min,max:e.headOverlays.bodyBlemishes.style.max,defaultValue:n.headOverlays.bodyBlemishes.style,clientValue:t.headOverlays.bodyBlemishes.style,onChange:w=>o("bodyBlemishes","style",w)})]})]})]})},Aw=Ve.div`
|
|
height: 100vh;
|
|
width: 100vw;
|
|
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
overflow: hidden;
|
|
`,Fw=Ve.div`
|
|
height: 100%;
|
|
width: 20%;
|
|
max-width: 400px;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
|
|
padding: 40px 10px;
|
|
|
|
background: linear-gradient(
|
|
to right,
|
|
rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.8),
|
|
rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0)
|
|
);
|
|
|
|
overflow-y: scroll;
|
|
|
|
::-webkit-scrollbar {
|
|
width: 0px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.2);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.2);
|
|
border-radius: 3vh;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.2);
|
|
}
|
|
`,Be=Ve.div`
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
> div {
|
|
& + div {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
`,Vw=({settings:e,data:t,storedData:n,handleComponentDrawableChange:r,handleComponentTextureChange:i,componentConfig:o,hasTracker:a,isPedFreemodeModel:l})=>{const{locales:s}=un(),u=e.reduce((p,{component_id:g,drawable:v,texture:x,blacklist:S})=>({...p,[g]:{drawable:v,texture:x,blacklist:S}}),{}),c=t.reduce((p,{component_id:g,drawable:v,texture:x})=>({...p,[g]:{drawable:v,texture:x}}),{}),f=n.reduce((p,{component_id:g,drawable:v,texture:x})=>({...p,[g]:{drawable:v,texture:x}}),{});return s?R(Jn,{title:s.components.title,children:[!l&&y(J,{title:s.components.head,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[0].drawable.min,max:u[0].drawable.max,blacklisted:u[0].blacklist.drawables,defaultValue:c[0].drawable,clientValue:f[0].drawable,onChange:p=>r(0,p)}),y(G,{title:s.components.texture,min:u[0].texture.min,max:u[0].texture.max,blacklisted:u[0].blacklist.textures,defaultValue:c[0].texture,clientValue:f[0].texture,onChange:p=>i(0,p)})]})}),o.masks&&y(J,{title:s.components.mask,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[1].drawable.min,max:u[1].drawable.max,blacklisted:u[1].blacklist.drawables,defaultValue:c[1].drawable,clientValue:f[1].drawable,onChange:p=>r(1,p)}),y(G,{title:s.components.texture,min:u[1].texture.min,max:u[1].texture.max,blacklisted:u[1].blacklist.textures,defaultValue:c[1].texture,clientValue:f[1].texture,onChange:p=>i(1,p)})]})}),o.scarfAndChains&&!a&&y(J,{title:s.components.scarfAndChains,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[7].drawable.min,max:u[7].drawable.max,blacklisted:u[7].blacklist.drawables,defaultValue:c[7].drawable,clientValue:f[7].drawable,onChange:p=>r(7,p)}),y(G,{title:s.components.texture,min:u[7].texture.min,max:u[7].texture.max,blacklisted:u[7].blacklist.textures,defaultValue:c[7].texture,clientValue:f[7].texture,onChange:p=>i(7,p)})]})}),o.jackets&&y(J,{title:s.components.jackets,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[11].drawable.min,max:u[11].drawable.max,blacklisted:u[11].blacklist.drawables,defaultValue:c[11].drawable,clientValue:f[11].drawable,onChange:p=>r(11,p)}),y(G,{title:s.components.texture,min:u[11].texture.min,max:u[11].texture.max,blacklisted:u[11].blacklist.textures,defaultValue:c[11].texture,clientValue:f[11].texture,onChange:p=>i(11,p)})]})}),o.shirts&&y(J,{title:s.components.shirt,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[8].drawable.min,max:u[8].drawable.max,blacklisted:u[8].blacklist.drawables,defaultValue:c[8].drawable,clientValue:f[8].drawable,onChange:p=>r(8,p)}),y(G,{title:s.components.texture,min:u[8].texture.min,max:u[8].texture.max,blacklisted:u[8].blacklist.textures,defaultValue:c[8].texture,clientValue:f[8].texture,onChange:p=>i(8,p)})]})}),o.bodyArmor&&y(J,{title:s.components.bodyArmor,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[9].drawable.min,max:u[9].drawable.max,blacklisted:u[9].blacklist.drawables,defaultValue:c[9].drawable,clientValue:f[9].drawable,onChange:p=>r(9,p)}),y(G,{title:s.components.texture,min:u[9].texture.min,max:u[9].texture.max,blacklisted:u[9].blacklist.textures,defaultValue:c[9].texture,clientValue:f[9].texture,onChange:p=>i(9,p)})]})}),o.bags&&y(J,{title:s.components.bags,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[5].drawable.min,max:u[5].drawable.max,blacklisted:u[5].blacklist.drawables,defaultValue:c[5].drawable,clientValue:f[5].drawable,onChange:p=>r(5,p)}),y(G,{title:s.components.texture,min:u[5].texture.min,max:u[5].texture.max,blacklisted:u[5].blacklist.textures,defaultValue:c[5].texture,clientValue:f[5].texture,onChange:p=>i(5,p)})]})}),o.upperBody&&y(J,{title:s.components.upperBody,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[3].drawable.min,max:u[3].drawable.max,blacklisted:u[3].blacklist.drawables,defaultValue:c[3].drawable,clientValue:f[3].drawable,onChange:p=>r(3,p)}),y(G,{title:s.components.texture,min:u[3].texture.min,max:u[3].texture.max,blacklisted:u[3].blacklist.textures,defaultValue:c[3].texture,clientValue:f[3].texture,onChange:p=>i(3,p)})]})}),o.lowerBody&&y(J,{title:s.components.lowerBody,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[4].drawable.min,max:u[4].drawable.max,blacklisted:u[4].blacklist.drawables,defaultValue:c[4].drawable,clientValue:f[4].drawable,onChange:p=>r(4,p)}),y(G,{title:s.components.texture,min:u[4].texture.min,max:u[4].texture.max,blacklisted:u[4].blacklist.textures,defaultValue:c[4].texture,clientValue:f[4].texture,onChange:p=>i(4,p)})]})}),o.shoes&&y(J,{title:s.components.shoes,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[6].drawable.min,max:u[6].drawable.max,blacklisted:u[6].blacklist.drawables,defaultValue:c[6].drawable,clientValue:f[6].drawable,onChange:p=>r(6,p)}),y(G,{title:s.components.texture,min:u[6].texture.min,max:u[6].texture.max,blacklisted:u[6].blacklist.textures,defaultValue:c[6].texture,clientValue:f[6].texture,onChange:p=>i(6,p)})]})}),o.decals&&y(J,{title:s.components.decals,children:R(Be,{children:[y(G,{title:s.components.drawable,min:u[10].drawable.min,max:u[10].drawable.max,blacklisted:u[10].blacklist.drawables,defaultValue:c[10].drawable,clientValue:f[10].drawable,onChange:p=>r(10,p)}),y(G,{title:s.components.texture,min:u[10].texture.min,max:u[10].texture.max,blacklisted:u[10].blacklist.textures,defaultValue:c[10].texture,clientValue:f[10].texture,onChange:p=>i(10,p)})]})})]}):null},_w=({settings:e,data:t,storedData:n,handlePropDrawableChange:r,handlePropTextureChange:i,propConfig:o})=>{const{locales:a}=un(),l=e.reduce((c,{prop_id:f,drawable:p,texture:g,blacklist:v})=>({...c,[f]:{drawable:p,texture:g,blacklist:v}}),{}),s=t.reduce((c,{prop_id:f,drawable:p,texture:g})=>({...c,[f]:{drawable:p,texture:g}}),{}),u=n.reduce((c,{prop_id:f,drawable:p,texture:g})=>({...c,[f]:{drawable:p,texture:g}}),{});return a?R(Jn,{title:a.props.title,children:[o.hats&&y(J,{title:a.props.hats,children:R(Be,{children:[y(G,{title:a.props.drawable,min:l[0].drawable.min,max:l[0].drawable.max,defaultValue:s[0].drawable,clientValue:u[0].drawable,blacklisted:l[0].blacklist.drawables,onChange:c=>r(0,c)}),y(G,{title:a.props.texture,min:l[0].texture.min,max:l[0].texture.max,defaultValue:s[0].texture,clientValue:u[0].texture,blacklisted:l[0].blacklist.textures,onChange:c=>i(0,c)})]})}),o.glasses&&y(J,{title:a.props.glasses,children:R(Be,{children:[y(G,{title:a.props.drawable,min:l[1].drawable.min,max:l[1].drawable.max,defaultValue:s[1].drawable,clientValue:u[1].drawable,blacklisted:l[1].blacklist.drawables,onChange:c=>r(1,c)}),y(G,{title:a.props.texture,min:l[1].texture.min,max:l[1].texture.max,defaultValue:s[1].texture,clientValue:u[1].texture,blacklisted:l[1].blacklist.textures,onChange:c=>i(1,c)})]})}),o.ear&&y(J,{title:a.props.ear,children:R(Be,{children:[y(G,{title:a.props.drawable,min:l[2].drawable.min,max:l[2].drawable.max,defaultValue:s[2].drawable,clientValue:u[2].drawable,blacklisted:l[2].blacklist.drawables,onChange:c=>r(2,c)}),y(G,{title:a.props.texture,min:l[2].texture.min,max:l[2].texture.max,defaultValue:s[2].texture,clientValue:u[2].texture,blacklisted:l[2].blacklist.textures,onChange:c=>i(2,c)})]})}),o.watches&&y(J,{title:a.props.watches,children:R(Be,{children:[y(G,{title:a.props.drawable,min:l[6].drawable.min,max:l[6].drawable.max,defaultValue:s[6].drawable,clientValue:u[6].drawable,blacklisted:l[6].blacklist.drawables,onChange:c=>r(6,c)}),y(G,{title:a.props.texture,min:l[6].texture.min,max:l[6].texture.max,defaultValue:s[6].texture,clientValue:u[6].texture,blacklisted:l[6].blacklist.textures,onChange:c=>i(6,c)})]})}),o.bracelets&&y(J,{title:a.props.bracelets,children:R(Be,{children:[y(G,{title:a.props.drawable,min:l[7].drawable.min,max:l[7].drawable.max,defaultValue:s[7].drawable,clientValue:u[7].drawable,blacklisted:l[7].blacklist.drawables,onChange:c=>r(7,c)}),y(G,{title:a.props.texture,min:l[7].texture.min,max:l[7].texture.max,defaultValue:s[7].texture,clientValue:u[7].texture,blacklisted:l[7].blacklist.textures,onChange:c=>i(7,c)})]})})]}):null};function Tw(e){return qe({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M490 296.9C480.51 239.51 450.51 64 392.3 64c-14 0-26.49 5.93-37 14a58.21 58.21 0 0 1-70.58 0c-10.51-8-23-14-37-14-58.2 0-88.2 175.47-97.71 232.88C188.81 309.47 243.73 320 320 320s131.23-10.51 170-23.1zm142.9-37.18a16 16 0 0 0-19.75 1.5c-1 .9-101.27 90.78-293.16 90.78-190.82 0-292.22-89.94-293.24-90.84A16 16 0 0 0 1 278.53C1.73 280.55 78.32 480 320 480s318.27-199.45 319-201.47a16 16 0 0 0-6.09-18.81z"}}]})(e)}function Iw(e){return qe({tag:"svg",attr:{viewBox:"0 0 192 512"},child:[{tag:"path",attr:{d:"M96 0c35.346 0 64 28.654 64 64s-28.654 64-64 64-64-28.654-64-64S60.654 0 96 0m48 144h-11.36c-22.711 10.443-49.59 10.894-73.28 0H48c-26.51 0-48 21.49-48 48v136c0 13.255 10.745 24 24 24h16v136c0 13.255 10.745 24 24 24h64c13.255 0 24-10.745 24-24V352h16c13.255 0 24-10.745 24-24V192c0-26.51-21.49-48-48-48z"}}]})(e)}function Mw(e){return qe({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(e)}function Rw(e){return qe({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM224 416c-35.346 0-64-28.654-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.346-28.654 64-64 64zm96-304.52V212c0 6.627-5.373 12-12 12H76c-6.627 0-12-5.373-12-12V108c0-6.627 5.373-12 12-12h228.52c3.183 0 6.235 1.264 8.485 3.515l3.48 3.48A11.996 11.996 0 0 1 320 111.48z"}}]})(e)}function Lw(e){return qe({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M192 160h32V32h-32c-35.35 0-64 28.65-64 64s28.65 64 64 64zM0 416c0 35.35 28.65 64 64 64h32V352H64c-35.35 0-64 28.65-64 64zm337.46-128c-34.91 0-76.16 13.12-104.73 32-24.79 16.38-44.52 32-104.73 32v128l57.53 15.97c26.21 7.28 53.01 13.12 80.31 15.05 32.69 2.31 65.6.67 97.58-6.2C472.9 481.3 512 429.22 512 384c0-64-84.18-96-174.54-96zM491.42 7.19C459.44.32 426.53-1.33 393.84.99c-27.3 1.93-54.1 7.77-80.31 15.04L256 32v128c60.2 0 79.94 15.62 104.73 32 28.57 18.88 69.82 32 104.73 32C555.82 224 640 192 640 128c0-45.22-39.1-97.3-148.58-120.81z"}}]})(e)}function Nw(e){return qe({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm194.8 170.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5 22.4 26.9 55.2 42.2 90.2 42.2s67.8-15.4 90.2-42.2c13.4-16.2 38.1 4.2 24.6 20.5z"}}]})(e)}function zw(e){return qe({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M214.66 311.01L288 256V96H128v176l-86.65 64.61c-39.4 29.56-53.86 84.42-29.21 127.06C30.39 495.25 63.27 512 96.08 512c20.03 0 40.25-6.25 57.52-19.2l21.86-16.39c-29.85-55.38-13.54-125.84 39.2-165.4zM288 32c0-11.05 3.07-21.3 8.02-30.38C293.4.92 290.85 0 288 0H160c-17.67 0-32 14.33-32 32v32h160V32zM480 0H352c-17.67 0-32 14.33-32 32v32h192V32c0-17.67-14.33-32-32-32zM320 272l-86.13 64.61c-39.4 29.56-53.86 84.42-29.21 127.06 18.25 31.58 50.61 48.33 83.42 48.33 20.03 0 40.25-6.25 57.52-19.2l115.2-86.4A127.997 127.997 0 0 0 512 304V96H320v176z"}}]})(e)}function Dw(e){return qe({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M367.9 329.76c-4.62 5.3-9.78 10.1-15.9 13.65v22.94c66.52 9.34 112 28.05 112 49.65 0 30.93-93.12 56-208 56S48 446.93 48 416c0-21.6 45.48-40.3 112-49.65v-22.94c-6.12-3.55-11.28-8.35-15.9-13.65C58.87 345.34 0 378.05 0 416c0 53.02 114.62 96 256 96s256-42.98 256-96c0-37.95-58.87-70.66-144.1-86.24zM256 128c35.35 0 64-28.65 64-64S291.35 0 256 0s-64 28.65-64 64 28.65 64 64 64zm-64 192v96c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-96c17.67 0 32-14.33 32-32v-96c0-26.51-21.49-48-48-48h-11.8c-11.07 5.03-23.26 8-36.2 8s-25.13-2.97-36.2-8H208c-26.51 0-48 21.49-48 48v96c0 17.67 14.33 32 32 32z"}}]})(e)}function $w(e){return qe({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(e)}function Bw(e){return qe({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z"}}]})(e)}function jw(e){return qe({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(e)}function Hw(e){return qe({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"}}]})(e)}function Uw(e){return qe({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M133.3 33.41L77.89 47.25 34.6 148.3l33.29 22.2 27.46-54.9 17.05 4.9-15.07 150.1H245.2l9.2-87.9.9-8.1h4.5l-5.4-54.1 17.1-4.9 27.4 54.9 33.3-22.2-43.3-101.05-55.4-13.84c-5.5 3.87-12.2 6.21-19.5 7.95-9.4 2.21-20 3.24-30.6 3.24-10.6 0-21.2-1.03-30.6-3.24-7.3-1.74-14-4.07-19.5-7.95zM271.5 192.6l-1.5 14h178.8l-1.5-14zm-3.4 32l-26.7 254h62.7l46.5-216.9h17.6l46.5 216.9h62.7l-26.7-254z"}}]})(e)}const Ww=Ve.div`
|
|
height: 100vh;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
|
|
padding: 40px 0;
|
|
|
|
> * {
|
|
& + * {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
`,Gw=Ve.button`
|
|
height: 40px;
|
|
width: 40px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
border: 0;
|
|
border-radius: ${e=>e.theme.borderRadius||"4px"};
|
|
|
|
box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
|
|
|
|
transition: all 0.2s;
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 0.9);
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.7);
|
|
|
|
&:hover {
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.9);
|
|
${e=>e.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
${e=>e.theme.scaleOnHover?"transform: scale(1.05);":""}
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.8);
|
|
}
|
|
|
|
${({active:e})=>e&&Di`
|
|
color: rgba(${t=>t.theme.fontColorSelected||"0, 0, 0"}, 0.7);
|
|
background: rgba(${t=>t.theme.primaryBackgroundSelected||"255, 255, 255"}, 1);
|
|
|
|
&:hover {
|
|
color: rgba(${t=>t.theme.fontColorSelected||"0, 0, 0"}, 0.9);
|
|
background: rgba(${t=>t.theme.primaryBackgroundSelected||"255, 255, 255"}, 1);
|
|
${t=>t.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
}
|
|
`}
|
|
`,$l=Ve.button`
|
|
height: 40px;
|
|
width: 40px;
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
flex-shrink: 0;
|
|
|
|
border: 0;
|
|
border-radius: ${e=>e.theme.borderRadius||"4px"};
|
|
|
|
box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.2);
|
|
|
|
transition: all 0.1s;
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 0.9);
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.7);
|
|
|
|
&:hover {
|
|
color: rgba(${e=>e.theme.fontColorHover||"255, 255, 255"}, 1);
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.9);
|
|
${e=>e.theme.smoothBackgroundTransition?"transition: background 0.2s;":""}
|
|
${e=>e.theme.scaleOnHover?"transform: scale(1.05);":""}
|
|
}
|
|
|
|
&:active {
|
|
transform: scale(0.8);
|
|
color: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.7);
|
|
background: rgba(${e=>e.theme.primaryBackgroundSelected||"255, 255, 255"}, 1);
|
|
}
|
|
`,Qw=Ve.div`
|
|
height: 40px;
|
|
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
|
|
width: ${({width:e})=>`${e+40}px`};
|
|
|
|
transition: width 0.3s;
|
|
|
|
overflow: hidden;
|
|
`,Yw=Ve.div`
|
|
height: 40px;
|
|
width: 40px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
flex-shrink: 0;
|
|
|
|
border: 0;
|
|
border-radius: ${e=>e.theme.borderRadius||"4px"};
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 0.9);
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.7);
|
|
`,Kw=Ve.div`
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
|
|
padding-left: 10px;
|
|
|
|
> * {
|
|
& + * {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
`,fn=({children:e,active:t,onClick:n})=>y(Gw,{type:"button",active:t,onClick:n,children:e}),cd=({children:e,icon:t})=>{const[n,r]=b.exports.useState(!0),[i,o]=b.exports.useState(0),a=b.exports.useRef(null);b.exports.useEffect(()=>{a.current&&(o(a.current.offsetWidth),r(!1))},[a,o]);const l=b.exports.useCallback(()=>{r(!0)},[r]),s=b.exports.useCallback(()=>{r(!1)},[r]);return R(Qw,{width:n?i:0,onMouseEnter:l,onMouseLeave:s,children:[y(Yw,{children:t}),y(Kw,{ref:a,children:e})]})},Xw=({camera:e,rotate:t,clothes:n,handleSetClothes:r,handleSetCamera:i,handleTurnAround:o,handleRotateLeft:a,handleRotateRight:l,handleExit:s,handleSave:u,enableExit:c})=>R(Ww,{children:[R(cd,{icon:y(Hw,{size:20}),children:[y(fn,{active:e.head,onClick:()=>i("head"),children:y(Nw,{size:20})}),y(fn,{active:e.body,onClick:()=>i("body"),children:y(Iw,{size:20})}),y(fn,{active:e.bottom,onClick:()=>i("bottom"),children:y(Lw,{size:20})})]}),R(cd,{icon:y(Uw,{size:20}),children:[y(fn,{active:n.head,onClick:()=>r("head"),children:y(Tw,{size:20})}),y(fn,{active:n.body,onClick:()=>r("body"),children:y(Bw,{size:20})}),y(fn,{active:n.bottom,onClick:()=>r("bottom"),children:y(zw,{size:20})})]}),y($l,{onClick:o,children:y(Dw,{size:20})}),y(fn,{active:t.left,onClick:a,children:y(Mw,{size:20})}),y(fn,{active:t.right,onClick:l,children:y(jw,{size:20})}),y($l,{onClick:u,children:y(Rw,{size:20})}),c&&y($l,{onClick:s,children:y($w,{size:20})})]}),Zw=Ve.div`
|
|
width: 100vw;
|
|
height: 100vh;
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
top: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
user-select: none;
|
|
|
|
font-size: 1.5rem;
|
|
color: rgba(255, 255, 255, 1);
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-shadow: 3px 3px rgba(0, 0, 0, 0.5);
|
|
|
|
background: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.9);
|
|
|
|
span {
|
|
font-size: 1rem;
|
|
opacity: 0.5;
|
|
}
|
|
`,qw=Ve.div`
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
margin-top: 100px;
|
|
|
|
button {
|
|
height: 40px;
|
|
width: 100px;
|
|
margin: 0 50px;
|
|
border-radius: ${e=>e.theme.borderRadius||"0px"};
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 1);;
|
|
font-size: 1.5rem;
|
|
font-weight: 400;
|
|
text-transform: uppercase;
|
|
|
|
opacity: 0.8;
|
|
transition: all 0.2s;
|
|
|
|
background: none;
|
|
border: 0;
|
|
|
|
&:hover {
|
|
transform: scale(1.1);
|
|
opacity: 1;
|
|
text-shadow: 0px 2px 2px rgba(251, 255, 190, 0.2);
|
|
background: rgba(${e=>e.theme.primaryBackground||"0, 0, 0"}, 0.9);
|
|
}
|
|
}
|
|
`,fd=({title:e,description:t,accept:n,decline:r,handleAccept:i,handleDecline:o})=>R(Zw,{children:[y("p",{children:e}),y("span",{children:t}),R(qw,{children:[y("button",{type:"button",onClick:i,children:n}),y("button",{type:"button",onClick:o,children:r})]})]}),Jw=Ve.span`
|
|
padding: 5px 12px;
|
|
margin: ${e=>(e==null?void 0:e.margin)||"0px"};
|
|
width: ${e=>(e==null?void 0:e.width)||"auto"};
|
|
color: rgba(${e=>e.theme.fontColor||"255, 255, 255"}, 0.9);
|
|
background-color: rgba(${e=>e.theme.secondaryBackground||"0, 0, 0"}, 0.7);
|
|
text-align: center;
|
|
border-radius: ${e=>e.theme.borderRadius||"4px"};
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 5px;
|
|
font-weight: 200;
|
|
cursor: pointer;
|
|
`,Ys=({children:e,onClick:t,margin:n,width:r})=>y(Jw,{onClick:t,margin:n,width:r,children:e}),eS=Ve.div`
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
gap: 10px;
|
|
|
|
> section {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
`,po={control:e=>({...e,marginTop:"10px",background:"rgba(23, 23, 23, 0.8)",fontSize:"14px",color:"#fff",border:"none",outline:"none",boxShadow:"none"}),placeholder:e=>({...e,fontSize:"14px",color:"#fff"}),input:e=>({...e,fontSize:"14px",color:"#fff"}),singleValue:e=>({...e,fontSize:"14px",color:"#fff",border:"none",outline:"none"}),indicatorContainer:e=>({...e,borderColor:"#fff",color:"#fff"}),dropdownIndicator:e=>({...e,borderColor:"#fff",color:"#fff"}),menuPortal:e=>({...e,color:"#fff",zIndex:9999}),menu:e=>({...e,background:"rgba(23, 23, 23, 0.8)",position:"absolute",marginBottom:"10px",borderRadius:"4px"}),menuList:e=>({...e,background:"rgba(23, 23, 23, 0.8)",borderRadius:"4px","&::-webkit-scrollbar":{width:"10px"},"&::-webkit-scrollbar-track":{background:"none"},"&::-webkit-scrollbar-thumb":{borderRadius:"4px",background:"#fff"}}),option:(e,{isFocused:t})=>({...e,borderRadius:"4px",width:"97%",marginLeft:"auto",marginRight:"auto",background:t?"rgba(255, 255, 255, 0.1)":"none"})},tS=({items:e,tattoosApplied:t,handleApplyTattoo:n,handlePreviewTattoo:r,handleDeleteTattoo:i,settings:o})=>{const l=b.exports.useRef(null),[s,u]=b.exports.useState(e[0]),[c,f]=b.exports.useState(.1),{label:p}=s,{locales:g}=un(),v=b.exports.useCallback(()=>{var E;if(!t)return .1;const{name:k}=s;for(let w=0;w<t.length;w++){const{name:O}=t[w];if(O===k)return(E=t[w].opacity)!=null?E:.1}return .1},[s,t])();b.exports.useEffect(()=>{f(v)},[v]);const x=(k,{action:E})=>{E==="select-option"&&(r(k.value,c),u(k.value))},S=b.exports.useCallback(k=>{f(k),r(s,k)},[s]),h=()=>{setTimeout(()=>{const k=document.getElementsByClassName("TattooDropdown"+e[0].zone+"__option--is-selected")[0];k&&k.scrollIntoView({behavior:"auto",block:"start",inline:"nearest"})},100)},d=b.exports.useCallback(()=>{if(!t)return!1;const{name:k}=s;for(let E=0;E<t.length;E++){const{name:w}=t[E];if(w===k)return!0}return!1},[t,s])();if(!g)return null;const m=b.exports.useContext(Xn);return po.control.background=`rgba(${m.secondaryBackground||"0, 0, 0"}, 0.8)`,po.menu.background=`rgba(${m.secondaryBackground||"0, 0, 0"}, 0.8)`,po.menuList.background=`rgba(${m.secondaryBackground||"0, 0, 0"}, 0.8)`,R(eS,{children:[y(Wm,{ref:l,styles:po,options:e.map(k=>({value:k,label:k.label})),value:{value:s,label:p},onChange:x,onMenuOpen:h,className:"TattooDropdown"+e[0].zone,classNamePrefix:"TattooDropdown"+e[0].zone,menuPortalTarget:document.body,menuShouldScrollIntoView:!0}),y(le,{title:g.tattoos.opacity,min:o.opacity.min,max:o.opacity.max,factor:o.opacity.factor,defaultValue:c,clientValue:v,onChange:k=>S(k)}),y("section",{children:d?y(Ys,{onClick:()=>i(s),children:g.tattoos.delete}):y(Ys,{onClick:()=>n(s,c),children:g.tattoos.apply})})]})},nS=({settings:e,data:t,storedData:n,handleApplyTattoo:r,handlePreviewTattoo:i,handleDeleteTattoo:o,handleClearTattoos:a})=>{const{locales:l}=un(),{items:s}=e,u=Object.keys(s);return l?R(Jn,{title:l.tattoos.title,children:[u.map(c=>{var f;return c!=="ZONE_HAIR"&&y(J,{title:l.tattoos.items[c],children:y(Be,{children:y(tS,{handlePreviewTattoo:i,handleApplyTattoo:r,handleDeleteTattoo:o,items:s[c],tattoosApplied:(f=t[c])!=null?f:null,settings:e})})},c)}),y(J,{children:y(Be,{children:y(Ys,{onClick:()=>a(),width:"100%",children:l.tattoos.deleteAll})})})]}):null},rS=()=>{const[e,t]=b.exports.useState(),[n,r]=b.exports.useState(),[i,o]=b.exports.useState(),[a,l]=b.exports.useState(),[s,u]=b.exports.useState(_l),[c,f]=b.exports.useState(Tl),[p,g]=b.exports.useState(ly),[v,x]=b.exports.useState(!1),[S,h]=b.exports.useState(!1),{display:d,setDisplay:m,locales:k,setLocales:E}=un(),w=Fl(d.appearance,null,{from:{transform:"translateX(-50px)",opacity:0},enter:{transform:"translateY(0)",opacity:1},leave:{transform:"translateX(-50px)",opacity:0}}),O=Fl(v,null,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0}}),F=Fl(S,null,{from:{opacity:0},enter:{opacity:1},leave:{opacity:0}}),M=b.exports.useCallback(()=>{de.post("appearance_turn_around")},[]),L=b.exports.useCallback(A=>{g({...p,[A]:!p[A]}),p[A]?de.post("appearance_wear_clothes",{data:n,key:A}):de.post("appearance_remove_clothes",A)},[n,p,g]),j=b.exports.useCallback(A=>{u({..._l,[A]:!s[A]}),f(Tl),s[A]?de.post("appearance_set_camera","default"):de.post("appearance_set_camera",A)},[s,u,f]),H=b.exports.useCallback(()=>{f({left:!c.left,right:!1}),c.left?de.post("appearance_set_camera","current"):de.post("appearance_rotate_camera","left")},[f,c]),re=b.exports.useCallback(()=>{f({left:!1,right:!c.right}),c.right?de.post("appearance_set_camera","current"):de.post("appearance_rotate_camera","right")},[f,c]),ue=b.exports.useCallback(()=>{x(!0)},[x]),te=b.exports.useCallback(()=>{h(!0)},[h]),ee=b.exports.useCallback(async A=>{A&&await de.post("appearance_save",n),x(!1)},[x,n]),X=b.exports.useCallback(async A=>{A&&await de.post("appearance_exit"),h(!1)},[h]),V=b.exports.useCallback(async A=>{const{appearanceSettings:K,appearanceData:D}=await de.post("appearance_change_model",A);l(K),r(D)},[r,l]),z=b.exports.useCallback((A,K)=>{if(!n)return;const D={...n.headBlend,[A]:K},ne={...n,headBlend:D};r(ne),de.post("appearance_change_head_blend",D)},[n,r]),B=b.exports.useCallback((A,K)=>{if(!n)return;const D={...n.faceFeatures,[A]:K},ne={...n,faceFeatures:D};r(ne),de.post("appearance_change_face_feature",D)},[n,r]),oe=b.exports.useCallback(async(A,K)=>{if(!n||!a)return;const D={...n.hair,[A]:K},ne={...n,hair:D};r(ne);const Ge=await de.post("appearance_change_hair",D),Ce={...a,hair:Ge};l(Ce)},[n,r,a,l]),P=b.exports.useCallback(async A=>{if(!n||!a)return;const{tattoos:K}=n,D={...K},ne=a.tattoos.items.ZONE_HAIR[A];D[ne.zone]||(D[ne.zone]=[]),D[ne.zone]=[ne],await de.post("appearance_apply_tattoo",D),r({...n,tattoos:D})},[a,n,r]),T=b.exports.useCallback((A,K,D)=>{if(!n)return;const ne={...n.headOverlays[A],[K]:D},Ge={...n,headOverlays:{...n.headOverlays,[A]:ne}};r(Ge),de.post("appearance_change_head_overlay",{...n.headOverlays,[A]:ne})},[n,r]),N=b.exports.useCallback(A=>{if(!n)return;const K={...n,eyeColor:A};r(K),de.post("appearance_change_eye_color",A)},[n,r]),W=b.exports.useCallback(async(A,K)=>{if(!n||!a)return;const D=n.components.find(Oe=>Oe.component_id===A);if(!D)return;const ne={...D,drawable:K,texture:0},Ce=[...n.components.filter(Oe=>Oe.component_id!==A),ne],U={...n,components:Ce};r(U);const ye=await de.post("appearance_change_component",ne),Vt=[...a.components.filter(Oe=>Oe.component_id!==A),ye],Je={...a,components:Vt};l(Je)},[n,r,a,l]),C=b.exports.useCallback(async(A,K)=>{if(!n||!a)return;const D=n.components.find(Oe=>Oe.component_id===A);if(!D)return;const ne={...D,texture:K},Ce=[...n.components.filter(Oe=>Oe.component_id!==A),ne],U={...n,components:Ce};r(U);const ye=await de.post("appearance_change_component",ne),Vt=[...a.components.filter(Oe=>Oe.component_id!==A),ye],Je={...a,components:Vt};l(Je)},[n,r,a,l]),q=b.exports.useCallback(async(A,K)=>{if(!n||!a)return;const D=n.props.find(Oe=>Oe.prop_id===A);if(!D)return;const ne={...D,drawable:K,texture:0},Ce=[...n.props.filter(Oe=>Oe.prop_id!==A),ne],U={...n,props:Ce};r(U);const ye=await de.post("appearance_change_prop",ne),Vt=[...a.props.filter(Oe=>Oe.prop_id!==A),ye],Je={...a,props:Vt};l(Je)},[n,r,a,l]),I=b.exports.useCallback(async(A,K)=>{if(!n||!a)return;const D=n.props.find(Oe=>Oe.prop_id===A);if(!D)return;const ne={...D,texture:K},Ce=[...n.props.filter(Oe=>Oe.prop_id!==A),ne],U={...n,props:Ce};r(U);const ye=await de.post("appearance_change_prop",ne),Vt=[...a.props.filter(Oe=>Oe.prop_id!==A),ye],Je={...a,props:Vt};l(Je)},[n,r,a,l]),pe=b.exports.useMemo(()=>{if(!!n)return n.model==="mp_m_freemode_01"||n.model==="mp_f_freemode_01"},[n]),ce=b.exports.useMemo(()=>{if(!!n)return n.model==="mp_m_freemode_01"},[n]),fe=A=>{for(const K in A.items)A.items[K]=A.items[K].filter(D=>{if(ce&&D.hashMale!=="")return D;if(!ce&&D.hashFemale!=="")return D});return A},Z=b.exports.useCallback(async(A,K)=>{if(!n)return;A.opacity=K;const{tattoos:D}=n,ne=JSON.parse(JSON.stringify({...D}));ne[A.zone]||(ne[A.zone]=[]),ne[A.zone].push(A),await de.post("appearance_apply_tattoo",{tattoo:A,updatedTattoos:ne})&&r({...n,tattoos:ne})},[n,r]),Te=b.exports.useCallback((A,K)=>{if(!n)return;A.opacity=K;const{tattoos:D}=n;de.post("appearance_preview_tattoo",{data:D,tattoo:A})},[n]),Le=b.exports.useCallback(async A=>{if(!n)return;const{tattoos:K}=n,D=K;D[A.zone]=D[A.zone].filter(ne=>ne.name!==A.name),await de.post("appearance_delete_tattoo",D),r({...n,tattoos:D})},[n,r]),ae=b.exports.useCallback(async()=>{if(!n)return;const{tattoos:A}=n,K={...A};for(var D in K)D!=="ZONE_HAIR"&&(K[D]=[]);await de.post("appearance_delete_tattoo",K),r({...n,tattoos:K})},[n,r]);b.exports.useEffect(()=>{k||de.post("appearance_get_locales").then(A=>E(A)),de.onEvent("appearance_display",A=>{m({appearance:!0,asynchronous:A.asynchronous})}),de.onEvent("appearance_hide",()=>{m({appearance:!1,asynchronous:!1}),r(Lf),o(Lf),u(_l),f(Tl)})},[]);const Ne=b.exports.useCallback(async()=>{const A=await de.post("appearance_get_data");t(A.config),o(A.appearanceData),r(A.appearanceData)},[]),he=b.exports.useCallback(async()=>{if(a===void 0||a===ay){const A=await de.post("appearance_get_settings");l(A.appearanceSettings)}},[]);return b.exports.useEffect(()=>{d.appearance&&(d.asynchronous?(async()=>(await he(),await Ne()))():(he().catch(console.error),Ne().catch(console.error)))},[d.appearance]),!d.appearance||!e||!a||!n||!i||!k?null:R(na,{children:[w.map(({item:A,key:K,props:D})=>{var ne,Ge,Ce,U;return A&&y(Ao.div,{style:D,children:R(Aw,{children:[R(Fw,{children:[e.ped&&y(ww,{settings:a.ped,storedData:i.model,data:n.model,handleModelChange:V}),a&&R(na,{children:[pe&&e.headBlend&&y(bw,{settings:a.headBlend,storedData:i.headBlend,data:n.headBlend,handleHeadBlendChange:z}),pe&&e.faceFeatures&&y(Cw,{settings:a.faceFeatures,storedData:i.faceFeatures,data:n.faceFeatures,handleFaceFeatureChange:B}),e.headOverlays&&y(Pw,{settings:{hair:a.hair,headOverlays:a.headOverlays,eyeColor:a.eyeColor,fade:a.tattoos.items.ZONE_HAIR},storedData:{hair:i.hair,headOverlays:i.headOverlays,eyeColor:i.eyeColor,fade:((Ge=(ne=i.tattoos)==null?void 0:ne.ZONE_HAIR)==null?void 0:Ge.length)>0?i.tattoos.ZONE_HAIR[0]:null},data:{hair:n.hair,headOverlays:n.headOverlays,eyeColor:n.eyeColor,fade:((U=(Ce=n.tattoos)==null?void 0:Ce.ZONE_HAIR)==null?void 0:U.length)>0?n.tattoos.ZONE_HAIR[0]:null},isPedFreemodeModel:pe,handleHairChange:oe,handleHeadOverlayChange:T,handleEyeColorChange:N,handleChangeFade:P,automaticFade:e.automaticFade})]}),e.components&&y(Vw,{settings:a.components,data:n.components,storedData:i.components,handleComponentDrawableChange:W,handleComponentTextureChange:C,componentConfig:e.componentConfig,hasTracker:e.hasTracker,isPedFreemodeModel:pe}),e.props&&y(_w,{settings:a.props,data:n.props,storedData:i.props,handlePropDrawableChange:q,handlePropTextureChange:I,propConfig:e.propConfig}),pe&&e.tattoos&&y(nS,{settings:fe(a.tattoos),data:n.tattoos,storedData:i.tattoos,handleApplyTattoo:Z,handlePreviewTattoo:Te,handleDeleteTattoo:Le,handleClearTattoos:ae})]}),y(Xw,{camera:s,rotate:c,clothes:p,handleSetClothes:L,handleSetCamera:j,handleTurnAround:M,handleRotateLeft:H,handleRotateRight:re,handleSave:ue,handleExit:te,enableExit:e.enableExit})]})},K)}),O.map(({item:A,key:K,props:D})=>A&&y(Ao.div,{style:D,children:y(fd,{title:k.modal.save.title,description:k.modal.save.description,accept:k.modal.accept,decline:k.modal.decline,handleAccept:()=>ee(!0),handleDecline:()=>ee(!1)})},K)),F.map(({item:A,key:K,props:D})=>A&&y(Ao.div,{style:D,children:y(fd,{title:k.modal.exit.title,description:k.modal.exit.description,accept:k.modal.accept,decline:k.modal.decline,handleAccept:()=>X(!0),handleDecline:()=>X(!1)})},K))]})},iS={id:"default",borderRadius:"4px",fontColor:"255, 255, 255",fontColorHover:"255, 255, 255",fontColorSelected:"0, 0, 0",fontFamily:"Inter",primaryBackground:"0, 0, 0",primaryBackgroundSelected:"255, 255, 255",secondaryBackground:"0, 0, 0",scaleOnHover:!1,sectionFontWeight:"normal",smoothBackgroundTransition:!1},oS=()=>{const[e,t]=b.exports.useState(iS),n=i=>{for(let o=0;o<i.themes.length;o++)if(i.themes[o].id===i.currentTheme)return i.themes[o]},r=b.exports.useCallback(async()=>{const i=await de.post("get_theme_configuration");t(n(i))},[]);return b.exports.useEffect(()=>{r().catch(console.error)},[r]),y(yv,{children:R(fg,{theme:e,children:[y(rS,{}),y(hg,{})]})})},aS=document.getElementById("root"),lS=Sh(aS);lS.render(R(He.StrictMode,{children:[y(oS,{}),y(oy,{})]}));
|