commit 8a67a3abe97907eeb2078405062cee133d340859 Author: Kakabay Date: Wed Mar 1 17:36:58 2023 +0500 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9a02298 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Ignore everything under Resources folder, not elsewhere +node_modules/** + +# Don't ignore directories, so we can recurse into them +#!Resources/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..9df5265 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# exchange-client diff --git a/dist/.htaccess b/dist/.htaccess new file mode 100644 index 0000000..1d70e01 --- /dev/null +++ b/dist/.htaccess @@ -0,0 +1,5 @@ + + RewriteEngine On RewriteBase /subdirectory RewriteRule ^index\.html$ - [L] RewriteCond + %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l + RewriteRule . /index.html [L] + diff --git a/dist/assets/arrow-down.6e85faaa.svg b/dist/assets/arrow-down.6e85faaa.svg new file mode 100644 index 0000000..2178f4e --- /dev/null +++ b/dist/assets/arrow-down.6e85faaa.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/dist/assets/arrow-up.403bca16.svg b/dist/assets/arrow-up.403bca16.svg new file mode 100644 index 0000000..8dec17d --- /dev/null +++ b/dist/assets/arrow-up.403bca16.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/dist/assets/arrow.a0470258.svg b/dist/assets/arrow.a0470258.svg new file mode 100644 index 0000000..b5e6661 --- /dev/null +++ b/dist/assets/arrow.a0470258.svg @@ -0,0 +1,3 @@ + + + diff --git a/dist/assets/burger.2c869322.svg b/dist/assets/burger.2c869322.svg new file mode 100644 index 0000000..6486852 --- /dev/null +++ b/dist/assets/burger.2c869322.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/dist/assets/fax.75231e49.svg b/dist/assets/fax.75231e49.svg new file mode 100644 index 0000000..5766a48 --- /dev/null +++ b/dist/assets/fax.75231e49.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/dist/assets/file.5f15c554.svg b/dist/assets/file.5f15c554.svg new file mode 100644 index 0000000..664ee77 --- /dev/null +++ b/dist/assets/file.5f15c554.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/dist/assets/hero-remake.afb0a7d0.png b/dist/assets/hero-remake.afb0a7d0.png new file mode 100644 index 0000000..d2094e7 Binary files /dev/null and b/dist/assets/hero-remake.afb0a7d0.png differ diff --git a/dist/assets/index.2e037b32.js b/dist/assets/index.2e037b32.js new file mode 100644 index 0000000..471c68e --- /dev/null +++ b/dist/assets/index.2e037b32.js @@ -0,0 +1,161 @@ +var Dg=Object.defineProperty;var kg=(e,t,n)=>t in e?Dg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var yr=(e,t,n)=>(kg(e,typeof t!="symbol"?t+"":t,n),n);function Sg(e,t){for(var n=0;nr[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const u of i)if(u.type==="childList")for(const s of u.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(i){const u={};return i.integrity&&(u.integrity=i.integrity),i.referrerpolicy&&(u.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?u.credentials="include":i.crossorigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function r(i){if(i.ep)return;i.ep=!0;const u=n(i);fetch(i.href,u)}})();var Ga=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Pg(e){var t=e.default;if(typeof t=="function"){var n=function(){return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var j={exports:{}},J={};/** + * @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 xu=Symbol.for("react.element"),Cg=Symbol.for("react.portal"),Og=Symbol.for("react.fragment"),Fg=Symbol.for("react.strict_mode"),Ng=Symbol.for("react.profiler"),Ag=Symbol.for("react.provider"),Rg=Symbol.for("react.context"),Tg=Symbol.for("react.forward_ref"),Mg=Symbol.for("react.suspense"),Lg=Symbol.for("react.memo"),Bg=Symbol.for("react.lazy"),H0=Symbol.iterator;function Ig(e){return e===null||typeof e!="object"?null:(e=H0&&e[H0]||e["@@iterator"],typeof e=="function"?e:null)}var ih={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},uh=Object.assign,sh={};function ti(e,t,n){this.props=e,this.context=t,this.refs=sh,this.updater=n||ih}ti.prototype.isReactComponent={};ti.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")};ti.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ah(){}ah.prototype=ti.prototype;function Ec(e,t,n){this.props=e,this.context=t,this.refs=sh,this.updater=n||ih}var _c=Ec.prototype=new ah;_c.constructor=Ec;uh(_c,ti.prototype);_c.isPureReactComponent=!0;var $0=Array.isArray,oh=Object.prototype.hasOwnProperty,wc={current:null},lh={key:!0,ref:!0,__self:!0,__source:!0};function ch(e,t,n){var r,i={},u=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(u=""+t.key),t)oh.call(t,r)&&!lh.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1>>1,V=A[z];if(0>>1;zi(X,N))Qi(G,X)?(A[z]=G,A[Q]=N,z=Q):(A[z]=X,A[q]=N,z=q);else if(Qi(G,N))A[z]=G,A[Q]=N,z=Q;else break e}}return R}function i(A,R){var N=A.sortIndex-R.sortIndex;return N!==0?N:A.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var o=[],l=[],d=1,p=null,g=3,v=!1,b=!1,k=!1,O=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function w(A){for(var R=n(l);R!==null;){if(R.callback===null)r(l);else if(R.startTime<=A)r(l),R.sortIndex=R.expirationTime,t(o,R);else break;R=n(l)}}function T(A){if(k=!1,w(A),!b)if(n(o)!==null)b=!0,I(D);else{var R=n(l);R!==null&&L(T,R.startTime-A)}}function D(A,R){b=!1,k&&(k=!1,x(f),f=-1),v=!0;var N=g;try{for(w(R),p=n(o);p!==null&&(!(p.expirationTime>R)||A&&!E());){var z=p.callback;if(typeof z=="function"){p.callback=null,g=p.priorityLevel;var V=z(p.expirationTime<=R);R=e.unstable_now(),typeof V=="function"?p.callback=V:p===n(o)&&r(o),w(R)}else r(o);p=n(o)}if(p!==null)var W=!0;else{var q=n(l);q!==null&&L(T,q.startTime-R),W=!1}return W}finally{p=null,g=N,v=!1}}var S=!1,y=null,f=-1,m=5,h=-1;function E(){return!(e.unstable_now()-hA||125z?(A.sortIndex=N,t(l,A),n(o)===null&&A===n(l)&&(k?(x(f),f=-1):k=!0,L(T,N-z))):(A.sortIndex=V,t(o,A),b||v||(b=!0,I(D))),A},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(A){var R=g;return function(){var N=g;g=R;try{return A.apply(this,arguments)}finally{g=N}}}})(hh);(function(e){e.exports=hh})(fh);/** + * @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 ph=j.exports,ft=fh.exports;function H(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),sl=Object.prototype.hasOwnProperty,Hg=/^[: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]*$/,Y0={},q0={};function $g(e){return sl.call(q0,e)?!0:sl.call(Y0,e)?!1:Hg.test(e)?q0[e]=!0:(Y0[e]=!0,!1)}function Kg(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 Yg(e,t,n,r){if(t===null||typeof t>"u"||Kg(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 Ze(e,t,n,r,i,u,s){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=u,this.removeEmptyString=s}var Ie={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ie[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ie[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ie[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ie[e]=new Ze(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ie[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ie[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ie[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ie[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ie[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var kc=/[\-:]([a-z])/g;function Sc(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(kc,Sc);Ie[t]=new Ze(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(kc,Sc);Ie[t]=new Ze(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(kc,Sc);Ie[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ie[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Ie.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ie[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function Pc(e,t,n,r){var i=Ie.hasOwnProperty(t)?Ie[t]:null;(i!==null?i.type!==0:r||!(2a||i[s]!==u[a]){var o=` +`+i[s].replace(" at new "," at ");return e.displayName&&o.includes("")&&(o=o.replace("",e.displayName)),o}while(1<=s&&0<=a);break}}}finally{Za=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ci(e):""}function qg(e){switch(e.tag){case 5:return Ci(e.type);case 16:return Ci("Lazy");case 13:return Ci("Suspense");case 19:return Ci("SuspenseList");case 0:case 2:case 15:return e=eo(e.type,!1),e;case 11:return e=eo(e.type.render,!1),e;case 1:return e=eo(e.type,!0),e;default:return""}}function cl(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 Sr:return"Fragment";case kr:return"Portal";case al:return"Profiler";case Cc:return"StrictMode";case ol:return"Suspense";case ll:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case yh:return(e.displayName||"Context")+".Consumer";case gh:return(e._context.displayName||"Context")+".Provider";case Oc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Fc:return t=e.displayName||null,t!==null?t:cl(e.type)||"Memo";case yn:t=e._payload,e=e._init;try{return cl(e(t))}catch{}}return null}function Xg(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 cl(t);case 8:return t===Cc?"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 Ln(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function bh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Gg(e){var t=bh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,u.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function zu(e){e._valueTracker||(e._valueTracker=Gg(e))}function xh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=bh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Fs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function dl(e,t){var n=t.checked;return ye({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function G0(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ln(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 Eh(e,t){t=t.checked,t!=null&&Pc(e,"checked",t,!1)}function fl(e,t){Eh(e,t);var n=Ln(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")?hl(e,t.type,n):t.hasOwnProperty("defaultValue")&&hl(e,t.type,Ln(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Q0(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 hl(e,t,n){(t!=="number"||Fs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Oi=Array.isArray;function Br(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i"+t.valueOf().toString()+"",t=ju.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ji(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Li={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},Qg=["Webkit","ms","Moz","O"];Object.keys(Li).forEach(function(e){Qg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Li[t]=Li[e]})});function kh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Li.hasOwnProperty(e)&&Li[e]?(""+t).trim():t+"px"}function Sh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=kh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Jg=ye({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 gl(e,t){if(t){if(Jg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(H(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(H(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(H(61))}if(t.style!=null&&typeof t.style!="object")throw Error(H(62))}}function yl(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 vl=null;function Nc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bl=null,Ir=null,zr=null;function e4(e){if(e=wu(e)){if(typeof bl!="function")throw Error(H(280));var t=e.stateNode;t&&(t=Ea(t),bl(e.stateNode,e.type,t))}}function Ph(e){Ir?zr?zr.push(e):zr=[e]:Ir=e}function Ch(){if(Ir){var e=Ir,t=zr;if(zr=Ir=null,e4(e),t)for(e=0;e>>=0,e===0?32:31-(ly(e)/cy|0)|0}var Vu=64,Uu=4194304;function Fi(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 Ts(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,u=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~i;a!==0?r=Fi(a):(u&=s,u!==0&&(r=Fi(u)))}else s=n&~i,s!==0?r=Fi(s):u!==0&&(r=Fi(u));if(r===0)return 0;if(t!==0&&t!==r&&(t&i)===0&&(i=r&-r,u=t&-t,i>=u||i===16&&(u&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Eu(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Mt(t),e[t]=n}function py(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=Ii),l4=String.fromCharCode(32),c4=!1;function qh(e,t){switch(e){case"keyup":return Uy.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Pr=!1;function Hy(e,t){switch(e){case"compositionend":return Xh(t);case"keypress":return t.which!==32?null:(c4=!0,l4);case"textInput":return e=t.data,e===l4&&c4?null:e;default:return null}}function $y(e,t){if(Pr)return e==="compositionend"||!zc&&qh(e,t)?(e=Kh(),vs=Lc=En=null,Pr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=p4(n)}}function Zh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ep(){for(var e=window,t=Fs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Fs(e.document)}return t}function jc(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 ev(e){var t=ep(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zh(n.ownerDocument.documentElement,n)){if(r!==null&&jc(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,u=Math.min(r.start,i);r=r.end===void 0?u:Math.min(r.end,i),!e.extend&&u>r&&(i=r,r=u,u=i),i=m4(n,u);var s=m4(n,r);i&&s&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,Cr=null,kl=null,ji=null,Sl=!1;function g4(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Sl||Cr==null||Cr!==Fs(r)||(r=Cr,"selectionStart"in r&&jc(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}),ji&&iu(ji,r)||(ji=r,r=Bs(kl,"onSelect"),0Nr||(e.current=Al[Nr],Al[Nr]=null,Nr--)}function le(e,t){Nr++,Al[Nr]=e.current,e.current=t}var Bn={},Ke=Vn(Bn),rt=Vn(!1),sr=Bn;function $r(e,t){var n=e.type.contextTypes;if(!n)return Bn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},u;for(u in n)i[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function it(e){return e=e.childContextTypes,e!=null}function zs(){fe(rt),fe(Ke)}function w4(e,t,n){if(Ke.current!==Bn)throw Error(H(168));le(Ke,t),le(rt,n)}function lp(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(H(108,Xg(e)||"Unknown",i));return ye({},n,r)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Bn,sr=Ke.current,le(Ke,e),le(rt,rt.current),!0}function D4(e,t,n){var r=e.stateNode;if(!r)throw Error(H(169));n?(e=lp(e,t,sr),r.__reactInternalMemoizedMergedChildContext=e,fe(rt),fe(Ke),le(Ke,e)):fe(rt),le(rt,n)}var en=null,_a=!1,mo=!1;function cp(e){en===null?en=[e]:en.push(e)}function fv(e){_a=!0,cp(e)}function Un(){if(!mo&&en!==null){mo=!0;var e=0,t=se;try{var n=en;for(se=1;e>=s,i-=s,nn=1<<32-Mt(t)+i|n<f?(m=y,y=null):m=y.sibling;var h=g(x,y,w[f],T);if(h===null){y===null&&(y=m);break}e&&y&&h.alternate===null&&t(x,y),_=u(h,_,f),S===null?D=h:S.sibling=h,S=h,y=m}if(f===w.length)return n(x,y),he&&Kn(x,f),D;if(y===null){for(;ff?(m=y,y=null):m=y.sibling;var E=g(x,y,h.value,T);if(E===null){y===null&&(y=m);break}e&&y&&E.alternate===null&&t(x,y),_=u(E,_,f),S===null?D=E:S.sibling=E,S=E,y=m}if(h.done)return n(x,y),he&&Kn(x,f),D;if(y===null){for(;!h.done;f++,h=w.next())h=p(x,h.value,T),h!==null&&(_=u(h,_,f),S===null?D=h:S.sibling=h,S=h);return he&&Kn(x,f),D}for(y=r(x,y);!h.done;f++,h=w.next())h=v(y,x,f,h.value,T),h!==null&&(e&&h.alternate!==null&&y.delete(h.key===null?f:h.key),_=u(h,_,f),S===null?D=h:S.sibling=h,S=h);return e&&y.forEach(function(C){return t(x,C)}),he&&Kn(x,f),D}function O(x,_,w,T){if(typeof w=="object"&&w!==null&&w.type===Sr&&w.key===null&&(w=w.props.children),typeof w=="object"&&w!==null){switch(w.$$typeof){case Iu:e:{for(var D=w.key,S=_;S!==null;){if(S.key===D){if(D=w.type,D===Sr){if(S.tag===7){n(x,S.sibling),_=i(S,w.props.children),_.return=x,x=_;break e}}else if(S.elementType===D||typeof D=="object"&&D!==null&&D.$$typeof===yn&&N4(D)===S.type){n(x,S.sibling),_=i(S,w.props),_.ref=mi(x,S,w),_.return=x,x=_;break e}n(x,S);break}else t(x,S);S=S.sibling}w.type===Sr?(_=rr(w.props.children,x.mode,T,w.key),_.return=x,x=_):(T=Ss(w.type,w.key,w.props,null,x.mode,T),T.ref=mi(x,_,w),T.return=x,x=T)}return s(x);case kr:e:{for(S=w.key;_!==null;){if(_.key===S)if(_.tag===4&&_.stateNode.containerInfo===w.containerInfo&&_.stateNode.implementation===w.implementation){n(x,_.sibling),_=i(_,w.children||[]),_.return=x,x=_;break e}else{n(x,_);break}else t(x,_);_=_.sibling}_=wo(w,x.mode,T),_.return=x,x=_}return s(x);case yn:return S=w._init,O(x,_,S(w._payload),T)}if(Oi(w))return b(x,_,w,T);if(ci(w))return k(x,_,w,T);Xu(x,w)}return typeof w=="string"&&w!==""||typeof w=="number"?(w=""+w,_!==null&&_.tag===6?(n(x,_.sibling),_=i(_,w),_.return=x,x=_):(n(x,_),_=_o(w,x.mode,T),_.return=x,x=_),s(x)):n(x,_)}return O}var Yr=vp(!0),bp=vp(!1),Du={},Yt=Vn(Du),ou=Vn(Du),lu=Vn(Du);function er(e){if(e===Du)throw Error(H(174));return e}function Xc(e,t){switch(le(lu,t),le(ou,e),le(Yt,Du),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ml(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=ml(t,e)}fe(Yt),le(Yt,t)}function qr(){fe(Yt),fe(ou),fe(lu)}function xp(e){er(lu.current);var t=er(Yt.current),n=ml(t,e.type);t!==n&&(le(ou,e),le(Yt,n))}function Gc(e){ou.current===e&&(fe(Yt),fe(ou))}var me=Vn(0);function Ks(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 go=[];function Qc(){for(var e=0;en?n:4,e(!0);var r=yo.transition;yo.transition={};try{e(!1),t()}finally{se=n,yo.transition=r}}function Lp(){return St().memoizedState}function gv(e,t,n){var r=An(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Bp(e))Ip(t,n);else if(n=pp(e,t,n,r),n!==null){var i=Ge();Lt(n,e,r,i),zp(n,t,r)}}function yv(e,t,n){var r=An(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Bp(e))Ip(t,i);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var s=t.lastRenderedState,a=u(s,n);if(i.hasEagerState=!0,i.eagerState=a,Bt(a,s)){var o=t.interleaved;o===null?(i.next=i,Yc(t)):(i.next=o.next,o.next=i),t.interleaved=i;return}}catch{}finally{}n=pp(e,t,i,r),n!==null&&(i=Ge(),Lt(n,e,r,i),zp(n,t,r))}}function Bp(e){var t=e.alternate;return e===ge||t!==null&&t===ge}function Ip(e,t){Vi=Ys=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function zp(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Rc(e,n)}}var qs={readContext:kt,useCallback:ze,useContext:ze,useEffect:ze,useImperativeHandle:ze,useInsertionEffect:ze,useLayoutEffect:ze,useMemo:ze,useReducer:ze,useRef:ze,useState:ze,useDebugValue:ze,useDeferredValue:ze,useTransition:ze,useMutableSource:ze,useSyncExternalStore:ze,useId:ze,unstable_isNewReconciler:!1},vv={readContext:kt,useCallback:function(e,t){return Wt().memoizedState=[e,t===void 0?null:t],e},useContext:kt,useEffect:R4,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,_s(4194308,4,Np.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _s(4194308,4,e,t)},useInsertionEffect:function(e,t){return _s(4,2,e,t)},useMemo:function(e,t){var n=Wt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Wt();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=gv.bind(null,ge,e),[r.memoizedState,e]},useRef:function(e){var t=Wt();return e={current:e},t.memoizedState=e},useState:A4,useDebugValue:n0,useDeferredValue:function(e){return Wt().memoizedState=e},useTransition:function(){var e=A4(!1),t=e[0];return e=mv.bind(null,e[1]),Wt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ge,i=Wt();if(he){if(n===void 0)throw Error(H(407));n=n()}else{if(n=t(),Ne===null)throw Error(H(349));(or&30)!==0||wp(r,t,n)}i.memoizedState=n;var u={value:n,getSnapshot:t};return i.queue=u,R4(kp.bind(null,r,u,e),[e]),r.flags|=2048,fu(9,Dp.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=Wt(),t=Ne.identifierPrefix;if(he){var n=rn,r=nn;n=(r&~(1<<32-Mt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=cu++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ht]=t,e[au]=r,qp(e,t,!1,!1),t.stateNode=e;e:{switch(s=yl(n,r),n){case"dialog":de("cancel",e),de("close",e),i=r;break;case"iframe":case"object":case"embed":de("load",e),i=r;break;case"video":case"audio":for(i=0;iGr&&(t.flags|=128,r=!0,gi(u,!1),t.lanes=4194304)}else{if(!r)if(e=Ks(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),gi(u,!0),u.tail===null&&u.tailMode==="hidden"&&!s.alternate&&!he)return je(t),null}else 2*De()-u.renderingStartTime>Gr&&n!==1073741824&&(t.flags|=128,r=!0,gi(u,!1),t.lanes=4194304);u.isBackwards?(s.sibling=t.child,t.child=s):(n=u.last,n!==null?n.sibling=s:t.child=s,u.last=s)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=De(),t.sibling=null,n=me.current,le(me,r?n&1|2:n&1),t):(je(t),null);case 22:case 23:return o0(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ot&1073741824)!==0&&(je(t),t.subtreeFlags&6&&(t.flags|=8192)):je(t),null;case 24:return null;case 25:return null}throw Error(H(156,t.tag))}function Sv(e,t){switch(Uc(t),t.tag){case 1:return it(t.type)&&zs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return qr(),fe(rt),fe(Ke),Qc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Gc(t),null;case 13:if(fe(me),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(H(340));Kr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return fe(me),null;case 4:return qr(),null;case 10:return Kc(t.type._context),null;case 22:case 23:return o0(),null;case 24:return null;default:return null}}var Qu=!1,We=!1,Pv=typeof WeakSet=="function"?WeakSet:Set,$=null;function Mr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){xe(e,t,r)}else n.current=null}function Hl(e,t,n){try{n()}catch(r){xe(e,t,r)}}var U4=!1;function Cv(e,t){if(Pl=Ms,e=ep(),jc(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,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var s=0,a=-1,o=-1,l=0,d=0,p=e,g=null;t:for(;;){for(var v;p!==n||i!==0&&p.nodeType!==3||(a=s+i),p!==u||r!==0&&p.nodeType!==3||(o=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(v=p.firstChild)!==null;)g=p,p=v;for(;;){if(p===e)break t;if(g===n&&++l===i&&(a=s),g===u&&++d===r&&(o=s),(v=p.nextSibling)!==null)break;p=g,g=p.parentNode}p=v}n=a===-1||o===-1?null:{start:a,end:o}}else n=null}n=n||{start:0,end:0}}else n=null;for(Cl={focusedElem:e,selectionRange:n},Ms=!1,$=t;$!==null;)if(t=$,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,$=e;else for(;$!==null;){t=$;try{var b=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(b!==null){var k=b.memoizedProps,O=b.memoizedState,x=t.stateNode,_=x.getSnapshotBeforeUpdate(t.elementType===t.type?k:Ft(t.type,k),O);x.__reactInternalSnapshotBeforeUpdate=_}break;case 3:var w=t.stateNode.containerInfo;w.nodeType===1?w.textContent="":w.nodeType===9&&w.documentElement&&w.removeChild(w.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(H(163))}}catch(T){xe(t,t.return,T)}if(e=t.sibling,e!==null){e.return=t.return,$=e;break}$=t.return}return b=U4,U4=!1,b}function Ui(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 u=i.destroy;i.destroy=void 0,u!==void 0&&Hl(t,n,u)}i=i.next}while(i!==r)}}function ka(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 $l(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 Qp(e){var t=e.alternate;t!==null&&(e.alternate=null,Qp(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[au],delete t[Nl],delete t[cv],delete t[dv])),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 Jp(e){return e.tag===5||e.tag===3||e.tag===4}function W4(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jp(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 Kl(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=Is));else if(r!==4&&(e=e.child,e!==null))for(Kl(e,t,n),e=e.sibling;e!==null;)Kl(e,t,n),e=e.sibling}function Yl(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(Yl(e,t,n),e=e.sibling;e!==null;)Yl(e,t,n),e=e.sibling}var Me=null,Nt=!1;function mn(e,t,n){for(n=n.child;n!==null;)Zp(e,t,n),n=n.sibling}function Zp(e,t,n){if(Kt&&typeof Kt.onCommitFiberUnmount=="function")try{Kt.onCommitFiberUnmount(ya,n)}catch{}switch(n.tag){case 5:We||Mr(n,t);case 6:var r=Me,i=Nt;Me=null,mn(e,t,n),Me=r,Nt=i,Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(Nt?(e=Me,n=n.stateNode,e.nodeType===8?po(e.parentNode,n):e.nodeType===1&&po(e,n),nu(e)):po(Me,n.stateNode));break;case 4:r=Me,i=Nt,Me=n.stateNode.containerInfo,Nt=!0,mn(e,t,n),Me=r,Nt=i;break;case 0:case 11:case 14:case 15:if(!We&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var u=i,s=u.destroy;u=u.tag,s!==void 0&&((u&2)!==0||(u&4)!==0)&&Hl(n,t,s),i=i.next}while(i!==r)}mn(e,t,n);break;case 1:if(!We&&(Mr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){xe(n,t,a)}mn(e,t,n);break;case 21:mn(e,t,n);break;case 22:n.mode&1?(We=(r=We)||n.memoizedState!==null,mn(e,t,n),We=r):mn(e,t,n);break;default:mn(e,t,n)}}function H4(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Pv),t.forEach(function(r){var i=Bv.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ot(e,t){var n=t.deletions;if(n!==null)for(var r=0;ri&&(i=s),r&=~u}if(r=i,r=De()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Fv(r/1960))-r,10e?16:e,_n===null)var r=!1;else{if(e=_n,_n=null,Qs=0,(te&6)!==0)throw Error(H(331));var i=te;for(te|=4,$=e.current;$!==null;){var u=$,s=u.child;if(($.flags&16)!==0){var a=u.deletions;if(a!==null){for(var o=0;oDe()-s0?nr(e,0):u0|=n),ut(e,t)}function a3(e,t){t===0&&((e.mode&1)===0?t=1:(t=Uu,Uu<<=1,(Uu&130023424)===0&&(Uu=4194304)));var n=Ge();e=ln(e,t),e!==null&&(Eu(e,t,n),ut(e,n))}function Lv(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),a3(e,n)}function Bv(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(H(314))}r!==null&&r.delete(t),a3(e,n)}var o3;o3=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||rt.current)nt=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return nt=!1,Dv(e,t,n);nt=(e.flags&131072)!==0}else nt=!1,he&&(t.flags&1048576)!==0&&dp(t,Us,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ws(e,t),e=t.pendingProps;var i=$r(t,Ke.current);Vr(t,n),i=Zc(null,t,r,e,i,n);var u=e0();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,it(r)?(u=!0,js(t)):u=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,qc(t),i.updater=wa,t.stateNode=i,i._reactInternals=t,Bl(t,r,e,n),t=jl(null,t,r,!0,u,n)):(t.tag=0,he&&u&&Vc(t),Xe(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ws(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=zv(r),e=Ft(r,e),i){case 0:t=zl(null,t,r,e,n);break e;case 1:t=z4(null,t,r,e,n);break e;case 11:t=B4(null,t,r,e,n);break e;case 14:t=I4(null,t,r,Ft(r.type,e),n);break e}throw Error(H(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),zl(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),z4(e,t,r,i,n);case 3:e:{if($p(t),e===null)throw Error(H(387));r=t.pendingProps,u=t.memoizedState,i=u.element,mp(e,t),$s(t,r,null,n);var s=t.memoizedState;if(r=s.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){i=Xr(Error(H(423)),t),t=j4(e,t,r,n,i);break e}else if(r!==i){i=Xr(Error(H(424)),t),t=j4(e,t,r,n,i);break e}else for(lt=On(t.stateNode.containerInfo.firstChild),dt=t,he=!0,Rt=null,n=bp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Kr(),r===i){t=cn(e,t,n);break e}Xe(e,t,r,n)}t=t.child}return t;case 5:return xp(t),e===null&&Tl(t),r=t.type,i=t.pendingProps,u=e!==null?e.memoizedProps:null,s=i.children,Ol(r,i)?s=null:u!==null&&Ol(r,u)&&(t.flags|=32),Hp(e,t),Xe(e,t,s,n),t.child;case 6:return e===null&&Tl(t),null;case 13:return Kp(e,t,n);case 4:return Xc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yr(t,null,r,n):Xe(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),B4(e,t,r,i,n);case 7:return Xe(e,t,t.pendingProps,n),t.child;case 8:return Xe(e,t,t.pendingProps.children,n),t.child;case 12:return Xe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,u=t.memoizedProps,s=i.value,le(Ws,r._currentValue),r._currentValue=s,u!==null)if(Bt(u.value,s)){if(u.children===i.children&&!rt.current){t=cn(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var a=u.dependencies;if(a!==null){s=u.child;for(var o=a.firstContext;o!==null;){if(o.context===r){if(u.tag===1){o=un(-1,n&-n),o.tag=2;var l=u.updateQueue;if(l!==null){l=l.shared;var d=l.pending;d===null?o.next=o:(o.next=d.next,d.next=o),l.pending=o}}u.lanes|=n,o=u.alternate,o!==null&&(o.lanes|=n),Ml(u.return,n,t),a.lanes|=n;break}o=o.next}}else if(u.tag===10)s=u.type===t.type?null:u.child;else if(u.tag===18){if(s=u.return,s===null)throw Error(H(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Ml(s,n,t),s=u.sibling}else s=u.child;if(s!==null)s.return=u;else for(s=u;s!==null;){if(s===t){s=null;break}if(u=s.sibling,u!==null){u.return=s.return,s=u;break}s=s.return}u=s}Xe(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,Vr(t,n),i=kt(i),r=r(i),t.flags|=1,Xe(e,t,r,n),t.child;case 14:return r=t.type,i=Ft(r,t.pendingProps),i=Ft(r.type,i),I4(e,t,r,i,n);case 15:return Up(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Ft(r,i),ws(e,t),t.tag=1,it(r)?(e=!0,js(t)):e=!1,Vr(t,n),yp(t,r,i),Bl(t,r,i,n),jl(null,t,r,!0,e,n);case 19:return Yp(e,t,n);case 22:return Wp(e,t,n)}throw Error(H(156,t.tag))};function l3(e,t){return Mh(e,t)}function Iv(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 _t(e,t,n,r){return new Iv(e,t,n,r)}function c0(e){return e=e.prototype,!(!e||!e.isReactComponent)}function zv(e){if(typeof e=="function")return c0(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Oc)return 11;if(e===Fc)return 14}return 2}function Rn(e,t){var n=e.alternate;return n===null?(n=_t(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 Ss(e,t,n,r,i,u){var s=2;if(r=e,typeof e=="function")c0(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Sr:return rr(n.children,i,u,t);case Cc:s=8,i|=8;break;case al:return e=_t(12,n,t,i|2),e.elementType=al,e.lanes=u,e;case ol:return e=_t(13,n,t,i),e.elementType=ol,e.lanes=u,e;case ll:return e=_t(19,n,t,i),e.elementType=ll,e.lanes=u,e;case vh:return Pa(n,i,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case gh:s=10;break e;case yh:s=9;break e;case Oc:s=11;break e;case Fc:s=14;break e;case yn:s=16,r=null;break e}throw Error(H(130,e==null?e:typeof e,""))}return t=_t(s,n,t,i),t.elementType=e,t.type=r,t.lanes=u,t}function rr(e,t,n,r){return e=_t(7,e,r,t),e.lanes=n,e}function Pa(e,t,n,r){return e=_t(22,e,r,t),e.elementType=vh,e.lanes=n,e.stateNode={isHidden:!1},e}function _o(e,t,n){return e=_t(6,e,null,t),e.lanes=n,e}function wo(e,t,n){return t=_t(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function jv(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=no(0),this.expirationTimes=no(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=no(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function d0(e,t,n,r,i,u,s,a,o){return e=new jv(e,t,n,a,o),t===1?(t=1,u===!0&&(t|=8)):t=0,u=_t(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},qc(u),e}function Vv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=ht})(dh);var h3,J4=dh.exports;h3=J4.createRoot,J4.hydrateRoot;/** + * @remix-run/router v1.0.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ea(){return ea=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function qv(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:u=!1}=r,s=i.history,a=wn.Pop,o=null;function l(){a=wn.Pop,o&&o({action:a,location:g.location})}function d(v,b){a=wn.Push;let k=Jl(g.location,v,b);n&&n(k,v);let O=ed(k),x=g.createHref(k);try{s.pushState(O,"",x)}catch{i.location.assign(x)}u&&o&&o({action:a,location:k})}function p(v,b){a=wn.Replace;let k=Jl(g.location,v,b);n&&n(k,v);let O=ed(k),x=g.createHref(k);s.replaceState(O,"",x),u&&o&&o({action:a,location:k})}let g={get action(){return a},get location(){return e(i,s)},listen(v){if(o)throw new Error("A history only accepts one active listener");return i.addEventListener(Z4,l),o=v,()=>{i.removeEventListener(Z4,l),o=null}},createHref(v){return t(i,v)},push:d,replace:p,go(v){return s.go(v)}};return g}var td;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(td||(td={}));function Xv(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ii(t):t,i=m3(r.pathname||"/",n);if(i==null)return null;let u=p3(e);Gv(u);let s=null;for(let a=0;s==null&&a{let s={relativePath:i.path||"",caseSensitive:i.caseSensitive===!0,childrenIndex:u,route:i};s.relativePath.startsWith("/")&&(Ae(s.relativePath.startsWith(r),'Absolute route path "'+s.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),s.relativePath=s.relativePath.slice(r.length));let a=Tn([r,s.relativePath]),o=n.concat(s);i.children&&i.children.length>0&&(Ae(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+a+'".')),p3(i.children,t,o,a)),!(i.path==null&&!i.index)&&t.push({path:a,score:r1(a,i.index),routesMeta:o})}),t}function Gv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:i1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Qv=/^:\w+$/,Jv=3,Zv=2,e1=1,t1=10,n1=-2,nd=e=>e==="*";function r1(e,t){let n=e.split("/"),r=n.length;return n.some(nd)&&(r+=n1),t&&(r+=Zv),n.filter(i=>!nd(i)).reduce((i,u)=>i+(Qv.test(u)?Jv:u===""?e1:t1),r)}function i1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function u1(e,t){let{routesMeta:n}=e,r={},i="/",u=[];for(let s=0;s{if(d==="*"){let g=a[p]||"";s=u.slice(0,u.length-g.length).replace(/(.)\/+$/,"$1")}return l[d]=o1(a[p]||"",d),l},{}),pathname:u,pathnameBase:s,pattern:e}}function a1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),g3(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(s,a)=>(r.push(a),"([^\\/]+)"));return e.endsWith("*")?(r.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function o1(e,t){try{return decodeURIComponent(e)}catch(n){return g3(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function m3(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function g3(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function l1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?ii(e):e;return{pathname:n?n.startsWith("/")?n:c1(n,t):t,search:f1(r),hash:h1(i)}}function c1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Do(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function y3(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=ii(e):(i=ea({},e),Ae(!i.pathname||!i.pathname.includes("?"),Do("?","pathname","search",i)),Ae(!i.pathname||!i.pathname.includes("#"),Do("#","pathname","hash",i)),Ae(!i.search||!i.search.includes("#"),Do("#","search","hash",i)));let u=e===""||i.pathname==="",s=u?"/":i.pathname,a;if(r||s==null)a=n;else{let p=t.length-1;if(s.startsWith("..")){let g=s.split("/");for(;g[0]==="..";)g.shift(),p-=1;i.pathname=g.join("/")}a=p>=0?t[p]:"/"}let o=l1(i,a),l=s&&s!=="/"&&s.endsWith("/"),d=(u||s===".")&&n.endsWith("/");return!o.pathname.endsWith("/")&&(l||d)&&(o.pathname+="/"),o}const Tn=e=>e.join("/").replace(/\/\/+/g,"/"),d1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),f1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,h1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class p1{constructor(t,n,r){this.status=t,this.statusText=n||"",this.data=r}}function m1(e){return e instanceof p1}var Aa={exports:{}},Ra={};/** + * @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 g1=j.exports,y1=Symbol.for("react.element"),v1=Symbol.for("react.fragment"),b1=Object.prototype.hasOwnProperty,x1=g1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E1={key:!0,ref:!0,__self:!0,__source:!0};function v3(e,t,n){var r,i={},u=null,s=null;n!==void 0&&(u=""+n),t.key!==void 0&&(u=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)b1.call(t,r)&&!E1.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:y1,type:e,key:u,ref:s,props:i,_owner:x1.current}}Ra.Fragment=v1;Ra.jsx=v3;Ra.jsxs=v3;(function(e){e.exports=Ra})(Aa);const $e=Aa.exports.Fragment,c=Aa.exports.jsx,P=Aa.exports.jsxs;/** + * React Router v6.4.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function ec(){return ec=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.value=r,i.getSnapshot=t,ko(i)&&u({inst:i})},[e,r,t]),k1(()=>(ko(i)&&u({inst:i}),e(()=>{ko(i)&&u({inst:i})})),[e]),P1(r),r}function ko(e){const t=e.getSnapshot,n=e.value;try{const r=t();return!w1(n,r)}catch{return!0}}function O1(e,t,n){return t()}const F1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",N1=!F1,A1=N1?O1:C1;"useSyncExternalStore"in ul&&(e=>e.useSyncExternalStore)(ul);const R1=j.exports.createContext(null),T1=j.exports.createContext(null),b3=j.exports.createContext(null),m0=j.exports.createContext(null),Ta=j.exports.createContext(null),ui=j.exports.createContext({outlet:null,matches:[]}),x3=j.exports.createContext(null);function M1(e,t){let{relative:n}=t===void 0?{}:t;ku()||Ae(!1);let{basename:r,navigator:i}=j.exports.useContext(m0),{hash:u,pathname:s,search:a}=_3(e,{relative:n}),o=s;return r!=="/"&&(o=s==="/"?r:Tn([r,s])),i.createHref({pathname:o,search:a,hash:u})}function ku(){return j.exports.useContext(Ta)!=null}function Ma(){return ku()||Ae(!1),j.exports.useContext(Ta).location}function E3(e){return e.filter((t,n)=>n===0||!t.route.index&&t.pathnameBase!==e[n-1].pathnameBase)}function L1(){ku()||Ae(!1);let{basename:e,navigator:t}=j.exports.useContext(m0),{matches:n}=j.exports.useContext(ui),{pathname:r}=Ma(),i=JSON.stringify(E3(n).map(a=>a.pathnameBase)),u=j.exports.useRef(!1);return j.exports.useEffect(()=>{u.current=!0}),j.exports.useCallback(function(a,o){if(o===void 0&&(o={}),!u.current)return;if(typeof a=="number"){t.go(a);return}let l=y3(a,JSON.parse(i),r,o.relative==="path");e!=="/"&&(l.pathname=l.pathname==="/"?e:Tn([e,l.pathname])),(o.replace?t.replace:t.push)(l,o.state,o)},[e,t,i,r])}function B1(){let{matches:e}=j.exports.useContext(ui),t=e[e.length-1];return t?t.params:{}}function _3(e,t){let{relative:n}=t===void 0?{}:t,{matches:r}=j.exports.useContext(ui),{pathname:i}=Ma(),u=JSON.stringify(E3(r).map(s=>s.pathnameBase));return j.exports.useMemo(()=>y3(e,JSON.parse(u),i,n==="path"),[e,u,i,n])}function I1(e,t){ku()||Ae(!1);let n=j.exports.useContext(b3),{matches:r}=j.exports.useContext(ui),i=r[r.length-1],u=i?i.params:{};i&&i.pathname;let s=i?i.pathnameBase:"/";i&&i.route;let a=Ma(),o;if(t){var l;let b=typeof t=="string"?ii(t):t;s==="/"||((l=b.pathname)==null?void 0:l.startsWith(s))||Ae(!1),o=b}else o=a;let d=o.pathname||"/",p=s==="/"?d:d.slice(s.length)||"/",g=Xv(e,{pathname:p}),v=U1(g&&g.map(b=>Object.assign({},b,{params:Object.assign({},u,b.params),pathname:Tn([s,b.pathname]),pathnameBase:b.pathnameBase==="/"?s:Tn([s,b.pathnameBase])})),r,n||void 0);return t?c(Ta.Provider,{value:{location:ec({pathname:"/",search:"",hash:"",state:null,key:"default"},o),navigationType:wn.Pop},children:v}):v}function z1(){let e=H1(),t=m1(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:r},u={padding:"2px 4px",backgroundColor:r};return P($e,{children:[c("h2",{children:"Unhandled Thrown Error!"}),c("h3",{style:{fontStyle:"italic"},children:t}),n?c("pre",{style:i,children:n}):null,c("p",{children:"\u{1F4BF} Hey developer \u{1F44B}"}),P("p",{children:["You can provide a way better UX than this when your app throws errors by providing your own\xA0",c("code",{style:u,children:"errorElement"})," props on\xA0",c("code",{style:u,children:""})]})]})}class j1 extends j.exports.Component{constructor(t){super(t),this.state={location:t.location,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location?{error:t.error,location:t.location}:{error:t.error||n.error,location:n.location}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?c(x3.Provider,{value:this.state.error,children:this.props.component}):this.props.children}}function V1(e){let{routeContext:t,match:n,children:r}=e,i=j.exports.useContext(R1);return i&&n.route.errorElement&&(i._deepestRenderedBoundaryId=n.route.id),c(ui.Provider,{value:t,children:r})}function U1(e,t,n){if(t===void 0&&(t=[]),e==null)if(n!=null&&n.errors)e=n.matches;else return null;let r=e,i=n==null?void 0:n.errors;if(i!=null){let u=r.findIndex(s=>s.route.id&&(i==null?void 0:i[s.route.id]));u>=0||Ae(!1),r=r.slice(0,Math.min(r.length,u+1))}return r.reduceRight((u,s,a)=>{let o=s.route.id?i==null?void 0:i[s.route.id]:null,l=n?s.route.errorElement||c(z1,{}):null,d=()=>c(V1,{match:s,routeContext:{outlet:u,matches:t.concat(r.slice(0,a+1))},children:o?l:s.route.element!==void 0?s.route.element:u});return n&&(s.route.errorElement||a===0)?c(j1,{location:n.location,component:l,error:o,children:d()}):d()},null)}var rd;(function(e){e.UseRevalidator="useRevalidator"})(rd||(rd={}));var tc;(function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"})(tc||(tc={}));function W1(e){let t=j.exports.useContext(b3);return t||Ae(!1),t}function H1(){var e;let t=j.exports.useContext(x3),n=W1(tc.UseRouteError),r=j.exports.useContext(ui),i=r.matches[r.matches.length-1];return t||(r||Ae(!1),i.route.id||Ae(!1),(e=n.errors)==null?void 0:e[i.route.id])}function yt(e){Ae(!1)}function $1(e){let{basename:t="/",children:n=null,location:r,navigationType:i=wn.Pop,navigator:u,static:s=!1}=e;ku()&&Ae(!1);let a=t.replace(/^\/*/,"/"),o=j.exports.useMemo(()=>({basename:a,navigator:u,static:s}),[a,u,s]);typeof r=="string"&&(r=ii(r));let{pathname:l="/",search:d="",hash:p="",state:g=null,key:v="default"}=r,b=j.exports.useMemo(()=>{let k=m3(l,a);return k==null?null:{pathname:k,search:d,hash:p,state:g,key:v}},[a,l,d,p,g,v]);return b==null?null:c(m0.Provider,{value:o,children:c(Ta.Provider,{children:n,value:{location:b,navigationType:i}})})}function K1(e){let{children:t,location:n}=e,r=j.exports.useContext(T1),i=r&&!t?r.router.routes:nc(t);return I1(i,n)}var id;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(id||(id={}));new Promise(()=>{});function nc(e,t){t===void 0&&(t=[]);let n=[];return j.exports.Children.forEach(e,(r,i)=>{if(!j.exports.isValidElement(r))return;if(r.type===j.exports.Fragment){n.push.apply(n,nc(r.props.children,t));return}r.type!==yt&&Ae(!1),!r.props.index||!r.props.children||Ae(!1);let u=[...t,i],s={id:r.props.id||u.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,hasErrorBoundary:r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle};r.props.children&&(s.children=nc(r.props.children,u)),n.push(s)}),n}/** + * React Router DOM v6.4.2 + * + * Copyright (c) Remix Software Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE.md file in the root directory of this source tree. + * + * @license MIT + */function Y1(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,u;for(u=0;u=0)&&(n[i]=e[i]);return n}function q1(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function X1(e,t){return e.button===0&&(!t||t==="_self")&&!q1(e)}const G1=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset"];function Q1(e){let{basename:t,children:n,window:r}=e,i=j.exports.useRef();i.current==null&&(i.current=Kv({window:r,v5Compat:!0}));let u=i.current,[s,a]=j.exports.useState({action:u.action,location:u.location});return j.exports.useLayoutEffect(()=>u.listen(a),[u]),c($1,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:u})}const K=j.exports.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:u,replace:s,state:a,target:o,to:l,preventScrollReset:d}=t,p=Y1(t,G1),g=M1(l,{relative:i}),v=J1(l,{replace:s,state:a,target:o,preventScrollReset:d,relative:i});function b(k){r&&r(k),k.defaultPrevented||v(k)}return c("a",{...p,href:g,onClick:u?r:b,ref:n,target:o})});var ud;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmitImpl="useSubmitImpl",e.UseFetcher="useFetcher"})(ud||(ud={}));var sd;(function(e){e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(sd||(sd={}));function J1(e,t){let{target:n,replace:r,state:i,preventScrollReset:u,relative:s}=t===void 0?{}:t,a=L1(),o=Ma(),l=_3(e,{relative:s});return j.exports.useCallback(d=>{if(X1(d,n)){d.preventDefault();let p=r!==void 0?r:Zl(o)===Zl(l);a(e,{replace:p,state:i,preventScrollReset:u,relative:s})}},[o,a,l,r,i,n,e,u,s])}const ad="/assets/logo.fe8c8333.svg",Z1="/assets/burger.2c869322.svg",eb=({lang:e,setLang:t})=>{const[n,r]=j.exports.useState(!1),i=()=>{r(!n)};return P("header",{className:"header",children:[c("nav",{className:"nav-top",children:c("div",{className:"container",children:P("div",{className:"nav-top-wrapper",children:[c(K,{to:"/",className:"logo",children:c("img",{src:ad,alt:"logo"})}),e==="ru"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"\u0413\u0422\u0421\u0411\u0422"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"\u041A\u043E\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",children:"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/contacts",children:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"})})]}):null,e==="tm"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"TDH\xC7MB"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"Kotirowkalar"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"Kanun\xE7ylyk"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"Habarlar"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",children:"Multimedi\xFDa"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/contacts",children:"Habarla\u015Fmak \xFC\xE7in"})})]}):null,e==="en"?P("ul",{className:"nav-top-list",children:[c("li",{className:"nav-top-list-item",children:c(K,{to:"/gtsbt",children:"SCRMET"})}),c("li",{className:"nav-top-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"Quotations"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/norm",children:"Normative base"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/news",children:"News"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/multimedia",children:"Multimedia"})}),c("li",{className:"nav-top-list-item",children:c(K,{to:"/contacts",children:"Contacts"})})]}):null,e==="ru"?c("div",{className:"sign-in",children:c("a",{href:"https://shahsyotag.exchange.gov.tm/login",target:"_blank",className:"sign-in-item",children:"\u041B\u0438\u0447\u043D\u044B\u0439 \u043A\u0430\u0431\u0438\u043D\u0435\u0442"})}):null,e==="tm"?c("div",{className:"sign-in",children:c("a",{href:"https://shahsyotag.exchange.gov.tm/login",target:"_blank",className:"sign-in-item",children:"\u015Eahsy otagy"})}):null,e==="en"?c("div",{className:"sign-in",children:c("a",{href:"https://shahsyotag.exchange.gov.tm/login",target:"_blank",className:"sign-in-item",children:"My account"})}):null]})})}),c("nav",{className:"nav-bottom",children:c("div",{className:"container",children:P("div",{className:"nav-bottom-wrapper",children:[e==="ru"?P("ul",{className:"nav-bottom-list",children:[c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/trade",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/fin",children:"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/register",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/tarif",children:"\u0422\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"})})]}):null,e==="tm"?P("ul",{className:"nav-bottom-list",children:[c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/trade",children:"Bir\u017Ea s\xF6wdalary"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/fin",children:"Mali\xFDe g\xF6zeg\xE7iligi"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/register",children:"\u015Eertnamalary hasaba almak"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/tarif",children:"Nyrhlar we \xFDygymlar"})})]}):null,e==="en"?P("ul",{className:"nav-bottom-list",children:[c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/trade",children:"Exchange auctions"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/fin",children:"Financial monitoring"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/register",children:"Contracts registration"})}),c("li",{className:"nav-bottom-list-item",children:c(K,{to:"/tarif",children:"Tariffs and fees"})})]}):null,P("div",{className:"nav-lang-wrapper",children:[c("button",{className:`nav-lang-item ${e==="en"?"lang-active":""}`,onClick:()=>t("en"),children:"EN"}),c("button",{className:`nav-lang-item ${e==="tm"?"lang-active":""}`,onClick:()=>t("tm"),children:"TK"}),c("button",{className:`nav-lang-item ${e==="ru"?"lang-active":""}`,onClick:()=>t("ru"),children:"RU"})]})]})})}),c("div",{className:"mobile-nav",children:c("div",{className:"container",children:P("div",{className:"mobile-nav-wrapper",children:[c(K,{to:"/",className:"logo",children:c("img",{src:ad,alt:"logo"})}),c("div",{className:"burger",onClick:i,children:c("img",{src:Z1})})]})})}),c("nav",{className:`mobile-nav-content ${n?"active":null}`,children:P("div",{className:"mobile-nav-content-wrapper",children:[P("ul",{className:"mobile-nav-list",children:[c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/gtsbt",children:"\u0413\u0422\u0421\u0411\u0422"})}),c("li",{className:"mobile-nav-list-item",children:c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",children:"\u041A\u0430\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/norm",children:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/",children:"\u041D\u043E\u0432\u043E\u0441\u0442\u0438"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/",children:"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u044F"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/",children:"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/trade",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/fin",children:"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/register",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"})}),c("li",{className:"mobile-nav-list-item",onClick:i,children:c(K,{to:"/trade",children:"\u0422\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"})})]}),P("div",{className:"nav-lang-wrapper-mobile",children:[c("button",{className:`nav-lang-item ${e==="en"?"lang-active":""}`,onClick:()=>t("en"),children:"EN"}),c("button",{className:`nav-lang-item ${e==="tm"?"lang-active":""}`,onClick:()=>t("tm"),children:"TK"}),c("button",{className:`nav-lang-item ${e==="ru"?"lang-active":""}`,onClick:()=>t("ru"),children:"RU"})]})]})})]})},ce=({title:e})=>c("h2",{className:"section-title",children:e}),tb=({lang:e})=>P("footer",{className:"footer",children:[c("div",{className:"footer-top",children:c("div",{className:"container",children:P("div",{className:"footer-top-wrapper",children:[c(ce,{title:` + ${e==="ru"?"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B":e==="tm"?"Habarla\u015Fmak \xFC\xE7in":e==="en"?"Contacts":null}`}),P("div",{className:"footer-top-content",children:[P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0422\u0435\u043B\u0435\u0444\u043E\u043D:":e==="tm"?"Telefon belgisi":e==="en"?"Phone":null}),c("h4",{className:"footer-top-item-text",children:"+993 12 44-60-15"})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0412\u0440\u0435\u043C\u044F \u0440\u0430\u0431\u043E\u0442\u044B:":e==="tm"?"I\u015F wagty":e==="en"?"Working time":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A - \u043F\u044F\u0442\u043D\u0438\u0446\u0430: 9:00 - 18:00":e==="tm"?"Du\u015Fenbe - anna: 9:00 - 18:00":e==="en"?"Monday - friday: 9:00 - 18:00":null})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:"Email:"}),c(K,{to:"/",className:"footer-top-item-text",children:"info@exchange.gov.tm"}),c(K,{to:"/",className:"footer-top-item-text",children:"broker@exchange.gov.tm"})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u041F\u0440\u0438\u0435\u043C\u043D\u044B\u0435 \u0434\u043D\u0438:":e==="tm"?"Kabul edi\u015F g\xFCnleri":e==="en"?"Reception days":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A - \u0447\u0435\u0442\u0432\u0435\u0440\u0433: 9:00 - 17:00":e==="tm"?"Du\u015Fenbe - pen\u015Fenbe: 9:00 - 17:00":e==="en"?"Monday - thursday: 9:00 - 17:00":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"\u041F\u044F\u0442\u043D\u0438\u0446\u0430: 9:00 - 13:00":e==="tm"?"Anna: 9:00 - 17:00":e==="en"?"Friday: 9:00 - 17:00":null})]}),P("div",{className:"footer-top-item",children:[c("h3",{className:"footer-top-item-title",children:e==="ru"?"\u0410\u0434\u0440\u0435\u0441:":e==="tm"?"Salgy":e==="en"?"Adress":null}),c("h4",{className:"footer-top-item-text",children:e==="ru"?"744000, \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D \u0433. \u0410\u0448\u0445\u0430\u0431\u0430\u0442, \u0410\u0440\u0447\u0430\u0431\u0438\u043B\u044C \u0448\u0430\u0435\u043B\u044B 52":e==="tm"?"744000, T\xFCrkmenistan \u015F. A\u015Fgabat, Ar\xE7abil \u015Fa\xFDoly 52":e==="en"?"744000, Turkmenistan c. Ashgabat, Archabil shayoly 52":null})]})]})]})})}),c("div",{className:"footer-bottom",children:c("div",{className:"container",children:c("div",{className:"footer-bottom-wrapper",children:P("ul",{className:"footer-nav-list",children:[c("li",{className:"footer-nav-list-item",children:c(K,{to:"/gtsbt",className:"footer-nav-list-link",children:e==="ru"?"\u0413\u0422\u0421\u0411\u0422":e==="tm"?"TDH\xC7MB":e==="en"?"SCRMET":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/norm",className:"footer-nav-list-link",children:e==="ru"?"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430":e==="tm"?"Kanun\xE7ylyk":e==="en"?"Normative base":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/trade",className:"footer-nav-list-link",children:e==="ru"?"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438":e==="tm"?"Bir\u017Ea s\xF6wdalary":e==="en"?"Exchange auctions":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/multimedia",className:"footer-nav-list-link",children:e==="ru"?"\u041C\u0443\u043B\u044C\u0442\u0438\u043C\u0435\u0434\u0438\u0430":e==="tm"?"Multimedi\xFDa":e==="en"?"Multimedia":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/fin",className:"footer-nav-list-link",children:e==="ru"?"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433":e==="tm"?"Mali\xFDe g\xF6zeg\xE7iligi":e==="en"?"Financial monitoring":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/news",className:"footer-nav-list-link",children:e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/register",className:"footer-nav-list-link",children:e==="ru"?"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432":e==="tm"?"\u015Eertnamalary hasaba almak":e==="en"?"Contracts registration":null})}),c("li",{className:"footer-nav-list-item",children:c(K,{to:"/contacts",className:"footer-nav-list-link",children:e==="ru"?"\u041A\u043E\u043D\u0442\u0430\u043A\u0442\u044B":e==="tm"?"Habarla\u015Fmak \xFC\xE7in":e==="en"?"Contacts":null})})]})})})})]}),nb=({lang:e})=>c("section",{className:"hero",children:c("div",{className:"container",children:c("div",{className:"hero-wrapper",children:P("div",{className:"buttons-wrapper",children:[c("a",{href:`https://tmex.gov.tm/${e}`,target:"_blank",className:"hero-button",children:e==="ru"?"\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0442\u043E\u0440\u0433\u043E\u0432\u0443\u044E \u043F\u043B\u043E\u0449\u0430\u0434\u043A\u0443":e==="tm"?"S\xF6wda me\xFDdan\xE7a ge\xE7mek":e==="en"?"Go to the marketplace":null}),c("a",{href:"https://shahsyotag.exchange.gov.tm/login",className:"hero-button",children:e==="ru"?"\u041F\u043E\u0434\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043E\u043D\u043B\u0430\u0439\u043D":e==="tm"?"Resminamalary onla\xFDn tab\u015Fyrmak":e==="en"?"Apply documents online":null})]})})})}),od=e=>j.exports.createElement("svg",{width:17,height:8,viewBox:"0 0 17 8",fill:"",xmlns:"http://www.w3.org/2000/svg",role:"img",...e},j.exports.createElement("path",{d:"M16.3536 4.35355C16.5488 4.15829 16.5488 3.84171 16.3536 3.64645L13.1716 0.464466C12.9763 0.269204 12.6597 0.269204 12.4645 0.464466C12.2692 0.659728 12.2692 0.976311 12.4645 1.17157L15.2929 4L12.4645 6.82843C12.2692 7.02369 12.2692 7.34027 12.4645 7.53553C12.6597 7.7308 12.9763 7.7308 13.1716 7.53553L16.3536 4.35355ZM0 4.5H16V3.5H0V4.5Z",fill:""})),qn="/assets/arrow.a0470258.svg",w3=({title:e,shortDes:t,date:n,image:r,setPostId:i,id:u,lang:s})=>P("div",{className:"news-post",children:[c("div",{className:"news-post-img",children:c("img",{src:r,alt:"news-image"})}),P("div",{className:"news-post-content",children:[c("h3",{className:"news-post-date",children:n}),c("h2",{className:"news-post-title",children:e}),c("p",{className:"news-post-text",children:t})]}),P(K,{className:"news-post-link",to:`/post/${u}`,onClick:()=>i(u),children:[c("img",{src:qn,alt:"arrow"}),c("h3",{children:s==="ru"?"\u0427\u0438\u0442\u0430\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E":s==="tm"?"Doly okamak":s==="en"?"Read all":null})]})]}),rb=e=>j.exports.createElement("svg",{width:48,height:48,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img",...e},j.exports.createElement("g",{clipPath:"url(#clip0_555_638)"},j.exports.createElement("path",{d:"M30 32H18C17.4696 32 16.9609 32.2107 16.5858 32.5858C16.2107 32.9609 16 33.4696 16 34C16 34.5304 16.2107 35.0391 16.5858 35.4142C16.9609 35.7893 17.4696 36 18 36H30C30.5304 36 31.0391 35.7893 31.4142 35.4142C31.7893 35.0391 32 34.5304 32 34C32 33.4696 31.7893 32.9609 31.4142 32.5858C31.0391 32.2107 30.5304 32 30 32Z",fill:""}),j.exports.createElement("path",{d:"M18 28H24C24.5304 28 25.0391 27.7893 25.4142 27.4142C25.7893 27.0391 26 26.5304 26 26C26 25.4696 25.7893 24.9609 25.4142 24.5858C25.0391 24.2107 24.5304 24 24 24H18C17.4696 24 16.9609 24.2107 16.5858 24.5858C16.2107 24.9609 16 25.4696 16 26C16 26.5304 16.2107 27.0391 16.5858 27.4142C16.9609 27.7893 17.4696 28 18 28Z",fill:""}),j.exports.createElement("path",{d:"M39.48 16.6599L28.6 4.65987C28.413 4.45269 28.1847 4.28693 27.9298 4.17326C27.6749 4.05959 27.3991 4.00053 27.12 3.99987H13.12C12.4555 3.99195 11.7959 4.11499 11.179 4.36198C10.5621 4.60898 9.99981 4.97508 9.52436 5.43938C9.04892 5.90368 8.66959 6.45709 8.40804 7.068C8.14648 7.67892 8.00783 8.33537 8 8.99987V38.9999C8.00783 39.6644 8.14648 40.3208 8.40804 40.9317C8.66959 41.5426 9.04892 42.0961 9.52436 42.5604C9.99981 43.0247 10.5621 43.3908 11.179 43.6378C11.7959 43.8848 12.4555 44.0078 13.12 43.9999H34.88C35.5445 44.0078 36.2041 43.8848 36.821 43.6378C37.4379 43.3908 38.0002 43.0247 38.4756 42.5604C38.9511 42.0961 39.3304 41.5426 39.592 40.9317C39.8535 40.3208 39.9922 39.6644 40 38.9999V17.9999C39.9987 17.5042 39.8134 17.0267 39.48 16.6599ZM28 9.99987L33.48 15.9999H29.48C29.2706 15.9872 29.0657 15.933 28.8775 15.8403C28.6892 15.7477 28.5213 15.6185 28.3835 15.4602C28.2458 15.3019 28.1409 15.1178 28.075 14.9186C28.0092 14.7194 27.9837 14.5091 28 14.2999V9.99987ZM34.88 39.9999H13.12C12.9807 40.008 12.8413 39.9885 12.7095 39.9426C12.5778 39.8967 12.4565 39.8253 12.3524 39.7324C12.2484 39.6395 12.1637 39.5269 12.1032 39.4012C12.0427 39.2755 12.0077 39.1391 12 38.9999V8.99987C12.0077 8.8606 12.0427 8.7242 12.1032 8.5985C12.1637 8.47281 12.2484 8.36029 12.3524 8.26739C12.4565 8.17449 12.5778 8.10303 12.7095 8.05713C12.8413 8.01122 12.9807 7.99177 13.12 7.99987H24V14.2999C23.9677 15.7731 24.5195 17.1993 25.5349 18.2672C26.5504 19.3351 27.947 19.958 29.42 19.9999H36V38.9999C35.9923 39.1391 35.9573 39.2755 35.8968 39.4012C35.8363 39.5269 35.7516 39.6395 35.6476 39.7324C35.5435 39.8253 35.4222 39.8967 35.2905 39.9426C35.1587 39.9885 35.0193 40.008 34.88 39.9999Z",fill:""})),j.exports.createElement("defs",null,j.exports.createElement("clipPath",{id:"clip0_555_638"},j.exports.createElement("rect",{width:48,height:48,fill:"white"})))),La=({title:e,link:t})=>P("a",{href:t,download:!0,className:"document-link",children:[c("div",{className:"document-img",children:c(rb,{})}),c("h3",{className:"document-title",children:e})]});var D3={},k3={},ae={},ib=function(t,n,r){var i=document.head||document.getElementsByTagName("head")[0],u=document.createElement("script");typeof n=="function"&&(r=n,n={}),n=n||{},r=r||function(){},u.type=n.type||"text/javascript",u.charset=n.charset||"utf8",u.async="async"in n?!!n.async:!0,u.src=t,n.attrs&&ub(u,n.attrs),n.text&&(u.text=""+n.text);var s="onload"in u?ld:sb;s(u,r),u.onload||ld(u,r),i.appendChild(u)};function ub(e,t){for(var n in t)e.setAttribute(n,t[n])}function ld(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function sb(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var ab=function(t){return ob(t)&&!lb(t)};function ob(e){return!!e&&typeof e=="object"}function lb(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||fb(e)}var cb=typeof Symbol=="function"&&Symbol.for,db=cb?Symbol.for("react.element"):60103;function fb(e){return e.$$typeof===db}function hb(e){return Array.isArray(e)?[]:{}}function pu(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Qr(hb(e),e,t):e}function pb(e,t,n){return e.concat(t).map(function(r){return pu(r,n)})}function mb(e,t){if(!t.customMerge)return Qr;var n=t.customMerge(e);return typeof n=="function"?n:Qr}function gb(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function cd(e){return Object.keys(e).concat(gb(e))}function S3(e,t){try{return t in e}catch{return!1}}function yb(e,t){return S3(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function vb(e,t,n){var r={};return n.isMergeableObject(e)&&cd(e).forEach(function(i){r[i]=pu(e[i],n)}),cd(t).forEach(function(i){yb(e,i)||(S3(e,i)&&n.isMergeableObject(t[i])?r[i]=mb(i,n)(e[i],t[i],n):r[i]=pu(t[i],n))}),r}function Qr(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||pb,n.isMergeableObject=n.isMergeableObject||ab,n.cloneUnlessOtherwiseSpecified=pu;var r=Array.isArray(t),i=Array.isArray(e),u=r===i;return u?r?n.arrayMerge(e,t,n):vb(e,t,n):pu(t,n)}Qr.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return Qr(r,i,n)},{})};var bb=Qr,P3=bb;Object.defineProperty(ae,"__esModule",{value:!0});ae.parseStartTime=Nb;ae.parseEndTime=Ab;ae.randomString=Rb;ae.queryString=Tb;ae.getSDK=Mb;ae.getConfig=Lb;ae.omit=Bb;ae.callPlayer=Ib;ae.isMediaStream=zb;ae.isBlobUrl=jb;ae.supportsWebKitPresentationMode=Vb;var xb=C3(ib),Eb=C3(P3);function C3(e){return e&&e.__esModule?e:{default:e}}function _b(e,t){return Sb(e)||kb(e,t)||Db(e,t)||wb()}function wb(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Db(e,t){if(!!e){if(typeof e=="string")return dd(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 dd(e,t)}}function dd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!(Symbol.iterator in Object(e)))){var n=[],r=!0,i=!1,u=void 0;try{for(var s=e[Symbol.iterator](),a;!(r=(a=s.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(o){i=!0,u=o}finally{try{!r&&s.return!=null&&s.return()}finally{if(i)throw u}}return n}}function Sb(e){if(Array.isArray(e))return e}var Pb=/[?&#](?:start|t)=([0-9hms]+)/,Cb=/[?&#]end=([0-9hms]+)/,rc=/(\d+)(h|m|s)/g,Ob=/^\d+$/;function O3(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(rc))return Fb(r);if(Ob.test(r))return parseInt(r)}}}function Fb(e){for(var t=0,n=rc.exec(e);n!==null;){var r=n,i=_b(r,3),u=i[1],s=i[2];s==="h"&&(t+=parseInt(u,10)*60*60),s==="m"&&(t+=parseInt(u,10)*60),s==="s"&&(t+=parseInt(u,10)),n=rc.exec(e)}return t}function Nb(e){return O3(e,Pb)}function Ab(e){return O3(e,Cb)}function Rb(){return Math.random().toString(36).substr(2,5)}function Tb(e){return Object.keys(e).map(function(t){return"".concat(t,"=").concat(e[t])}).join("&")}function So(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var br={};function Mb(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){return!0},i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:xb.default,u=So(t);return u&&r(u)?Promise.resolve(u):new Promise(function(s,a){if(br[e]){br[e].push({resolve:s,reject:a});return}br[e]=[{resolve:s,reject:a}];var o=function(p){br[e].forEach(function(g){return g.resolve(p)})};if(n){var l=window[n];window[n]=function(){l&&l(),o(So(t))}}i(e,function(d){d?(br[e].forEach(function(p){return p.reject(d)}),br[e]=null):n||o(So(t))})})}function Lb(e,t){return(0,Eb.default)(t.config,e.config)}function Bb(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),i=1;i1?r-1:0),u=1;u0&&arguments[0]!==void 0?arguments[0]:document.createElement("video"),t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var Y={};Object.defineProperty(Y,"__esModule",{value:!0});Y.canPlay=Y.FLV_EXTENSIONS=Y.DASH_EXTENSIONS=Y.HLS_EXTENSIONS=Y.VIDEO_EXTENSIONS=Y.AUDIO_EXTENSIONS=Y.MATCH_URL_KALTURA=Y.MATCH_URL_VIDYARD=Y.MATCH_URL_MIXCLOUD=Y.MATCH_URL_DAILYMOTION=Y.MATCH_URL_TWITCH_CHANNEL=Y.MATCH_URL_TWITCH_VIDEO=Y.MATCH_URL_WISTIA=Y.MATCH_URL_STREAMABLE=Y.MATCH_URL_FACEBOOK_WATCH=Y.MATCH_URL_FACEBOOK=Y.MATCH_URL_VIMEO=Y.MATCH_URL_SOUNDCLOUD=Y.MATCH_URL_YOUTUBE=void 0;var fd=ae;function Ub(e,t){var n;if(typeof Symbol>"u"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=Wb(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(l){throw l},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,s=!1,a;return{s:function(){n=e[Symbol.iterator]()},n:function(){var l=n.next();return u=l.done,l},e:function(l){s=!0,a=l},f:function(){try{!u&&n.return!=null&&n.return()}finally{if(s)throw a}}}}function Wb(e,t){if(!!e){if(typeof e=="string")return hd(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 hd(e,t)}}function hd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nA.length)&&(R=A.length);for(var N=0,z=new Array(R);N"u"||!(Symbol.iterator in Object(A)))){var N=[],z=!0,V=!1,W=void 0;try{for(var q=A[Symbol.iterator](),X;!(z=(X=q.next()).done)&&(N.push(X.value),!(R&&N.length===R));z=!0);}catch(Q){V=!0,W=Q}finally{try{!z&&q.return!=null&&q.return()}finally{if(V)throw W}}return N}}function b(A){if(Array.isArray(A))return A}function k(A,R){if(!(A instanceof R))throw new TypeError("Cannot call a class as a function")}function O(A,R){for(var N=0;N"u"||!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 f(A){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(N){return N.__proto__||Object.getPrototypeOf(N)},f(A)}function m(A,R,N){return R in A?Object.defineProperty(A,R,{value:N,enumerable:!0,configurable:!0,writable:!0}):A[R]=N,A}var h="https://www.youtube.com/iframe_api",E="YT",C="onYouTubeIframeAPIReady",B=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,F=/user\/([a-zA-Z0-9_-]+)\/?/,M=/youtube-nocookie\.com/,I="https://www.youtube-nocookie.com",L=function(A){_(N,A);var R=T(N);function N(){var z;k(this,N);for(var V=arguments.length,W=new Array(V),q=0;q"u"||!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 _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://w.soundcloud.com/player/api.js",D="SC",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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 _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://player.vimeo.com/api/player.js",D="Vimeo",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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 x(f){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},x(f)}function _(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var w="https://connect.facebook.net/en_US/sdk.js",T="FB",D="fbAsyncInit",S="facebook-player-",y=function(f){p(h,f);var m=v(h);function h(){var E;o(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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 O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="https://cdn.embed.ly/player-0.1.0.min.js",w="playerjs",T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;E"u"||!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 _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://fast.wistia.com/assets/external/E-v1.js",D="Wistia",S="wistia-player-",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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 _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://player.twitch.tv/js/embed/v1.js",D="Twitch",S="twitch-player-",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;FF.length)&&(M=F.length);for(var I=0,L=new Array(M);I"u"||!(Symbol.iterator in Object(F)))){var I=[],L=!0,A=!1,R=void 0;try{for(var N=F[Symbol.iterator](),z;!(L=(z=N.next()).done)&&(I.push(z.value),!(M&&I.length===M));L=!0);}catch(V){A=!0,R=V}finally{try{!L&&N.return!=null&&N.return()}finally{if(A)throw R}}return I}}function b(F){if(Array.isArray(F))return F}function k(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function O(F,M){for(var I=0;I"u"||!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 f(F){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},f(F)}function m(F,M,I){return M in F?Object.defineProperty(F,M,{value:I,enumerable:!0,configurable:!0,writable:!0}):F[M]=I,F}var h="https://api.dmcdn.net/all.js",E="DM",C="dmAsyncInit",B=function(F){_(I,F);var M=T(I);function I(){var L;k(this,I);for(var A=arguments.length,R=new Array(A),N=0;N"u"||!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 _(y){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},_(y)}function w(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var T="https://widget.mixcloud.com/media/js/widgetApi.js",D="Mixcloud",S=function(y){g(m,y);var f=b(m);function m(){var h;l(this,m);for(var E=arguments.length,C=new Array(E),B=0;B"u"||!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 _(f){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(h){return h.__proto__||Object.getPrototypeOf(h)},_(f)}function w(f,m,h){return m in f?Object.defineProperty(f,m,{value:h,enumerable:!0,configurable:!0,writable:!0}):f[m]=h,f}var T="https://play.vidyard.com/embed/v4.js",D="VidyardV4",S="onVidyardAPI",y=function(f){g(h,f);var m=b(h);function h(){var E;l(this,h);for(var C=arguments.length,B=new Array(C),F=0;F"u"||!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 O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="https://cdn.embed.ly/player-0.1.0.min.js",w="playerjs",T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;E"u"||!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 x(I){return x=Object.setPrototypeOf?Object.getPrototypeOf:function(A){return A.__proto__||Object.getPrototypeOf(A)},x(I)}function _(I,L,A){return L in I?Object.defineProperty(I,L,{value:A,enumerable:!0,configurable:!0,writable:!0}):I[L]=A,I}var w=typeof navigator<"u",T=w&&navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1,D=w&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||T)&&!window.MSStream,S="https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js",y="Hls",f="https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js",m="dashjs",h="https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js",E="flvjs",C=/www\.dropbox\.com\/.+/,B=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,F="https://videodelivery.net/{id}/manifest/video.m3u8",M=function(I){p(A,I);var L=v(A);function A(){var R;o(this,A);for(var N=arguments.length,z=new Array(N),V=0;V0?V.end(V.length-1):z}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var N=this.player.buffered;if(N.length===0)return 0;var z=N.end(N.length-1),V=this.getDuration();return z>V?V:z}},{key:"getSource",value:function(N){var z=this.shouldUseHLS(N),V=this.shouldUseDASH(N),W=this.shouldUseFLV(N);if(!(N instanceof Array||(0,r.isMediaStream)(N)||z||V||W))return C.test(N)?N.replace("www.dropbox.com","dl.dropboxusercontent.com"):N}},{key:"render",value:function(){var N=this.props,z=N.url,V=N.playing,W=N.loop,q=N.controls,X=N.muted,Q=N.config,G=N.width,we=N.height,Se=this.shouldUseAudio(this.props),st=Se?"audio":"video",zt={width:G==="auto"?G:"100%",height:we==="auto"?we:"100%"};return n.default.createElement(st,a({ref:this.ref,src:this.getSource(z),style:zt,preload:"auto",autoPlay:V||void 0,controls:q,muted:X,loop:W},Q.attributes),z instanceof Array&&z.map(this.renderSourceElement),Q.tracks.map(this.renderTrack))}}]),A}(n.Component);e.default=M,_(M,"displayName","FilePlayer"),_(M,"canPlay",i.canPlay.file)}(Io)),Io}(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=j.exports,n=ae,r=Y;function i(o){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?i=function(d){return typeof d}:i=function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},i(o)}function u(){if(typeof WeakMap!="function")return null;var o=new WeakMap;return u=function(){return o},o}function s(o){if(o&&o.__esModule)return o;if(o===null||i(o)!=="object"&&typeof o!="function")return{default:o};var l=u();if(l&&l.has(o))return l.get(o);var d={},p=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in o)if(Object.prototype.hasOwnProperty.call(o,g)){var v=p?Object.getOwnPropertyDescriptor(o,g):null;v&&(v.get||v.set)?Object.defineProperty(d,g,v):d[g]=o[g]}return d.default=o,l&&l.set(o,d),d}var a=[{key:"youtube",name:"YouTube",canPlay:r.canPlay.youtube,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Kb())})})},{key:"soundcloud",name:"SoundCloud",canPlay:r.canPlay.soundcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Yb())})})},{key:"vimeo",name:"Vimeo",canPlay:r.canPlay.vimeo,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(qb())})})},{key:"facebook",name:"Facebook",canPlay:r.canPlay.facebook,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Xb())})})},{key:"streamable",name:"Streamable",canPlay:r.canPlay.streamable,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Gb())})})},{key:"wistia",name:"Wistia",canPlay:r.canPlay.wistia,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Qb())})})},{key:"twitch",name:"Twitch",canPlay:r.canPlay.twitch,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Jb())})})},{key:"dailymotion",name:"DailyMotion",canPlay:r.canPlay.dailymotion,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(Zb())})})},{key:"mixcloud",name:"Mixcloud",canPlay:r.canPlay.mixcloud,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(ex())})})},{key:"vidyard",name:"Vidyard",canPlay:r.canPlay.vidyard,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(tx())})})},{key:"kaltura",name:"Kaltura",canPlay:r.canPlay.kaltura,lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(nx())})})},{key:"file",name:"FilePlayer",canPlay:r.canPlay.file,canEnablePIP:function(l){return r.canPlay.file(l)&&(document.pictureInPictureEnabled||(0,n.supportsWebKitPresentationMode)())&&!r.AUDIO_EXTENSIONS.test(l)},lazyPlayer:(0,t.lazy)(function(){return Promise.resolve().then(function(){return s(rx())})})}];e.default=a})(k3);var Ba={},Sd=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ix(e,t){return!!(e===t||Sd(e)&&Sd(t))}function ux(e,t){if(e.length!==t.length)return!1;for(var n=0;n"u"||!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 w(y){return w=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},w(y)}function T(y,f,m){return f in y?Object.defineProperty(y,f,{value:m,enumerable:!0,configurable:!0,writable:!0}):y[f]=m,y}var D=5e3,S=function(y){v(m,y);var f=k(m);function m(){var h;d(this,m);for(var E=arguments.length,C=new Array(E),B=0;B0&&E<1;if(F){var M=this.player.getDuration();if(!M){console.warn("ReactPlayer: could not seek using fraction \u2013\xA0duration not yet available");return}this.player.seekTo(M*E);return}this.player.seekTo(E)}},{key:"render",value:function(){var E=this.props.activePlayer;return E?n.default.createElement(E,l({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}]),m}(n.Component);e.default=S,T(S,"displayName","Player"),T(S,"propTypes",i.propTypes),T(S,"defaultProps",i.defaultProps)})(q3);var jo={},Cd;function xx(){return Cd||(Cd=1,function(e){function t(D){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(y){return typeof y}:t=function(y){return y&&typeof Symbol=="function"&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y},t(D)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(j.exports);function r(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return r=function(){return D},D}function i(D){if(D&&D.__esModule)return D;if(D===null||t(D)!=="object"&&typeof D!="function")return{default:D};var S=r();if(S&&S.has(D))return S.get(D);var y={},f=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in D)if(Object.prototype.hasOwnProperty.call(D,m)){var h=f?Object.getOwnPropertyDescriptor(D,m):null;h&&(h.get||h.set)?Object.defineProperty(y,m,h):y[m]=D[m]}return y.default=D,S&&S.set(D,y),y}function u(D,S){var y=Object.keys(D);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(D);S&&(f=f.filter(function(m){return Object.getOwnPropertyDescriptor(D,m).enumerable})),y.push.apply(y,f)}return y}function s(D){for(var S=1;S"u"||!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 O(D){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)},O(D)}function x(D,S,y){return S in D?Object.defineProperty(D,S,{value:y,enumerable:!0,configurable:!0,writable:!0}):D[S]=y,D}var _="64px",w={},T=function(D){d(y,D);var S=g(y);function y(){var f;a(this,y);for(var m=arguments.length,h=new Array(m),E=0;Ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n"u"||!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 na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},na(e)}function ve(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function X3(){if(typeof WeakMap!="function")return null;var e=new WeakMap;return X3=function(){return e},e}function G3(e){if(e&&e.__esModule)return e;if(e===null||$i(e)!=="object"&&typeof e!="function")return{default:e};var t=X3();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var u=r?Object.getOwnPropertyDescriptor(e,i):null;u&&(u.get||u.set)?Object.defineProperty(n,i,u):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}var Tx=(0,Qn.lazy)(function(){return Promise.resolve().then(function(){return G3(xx())})}),Mx=typeof window<"u"&&window.document,Lx=typeof Ga<"u"&&Ga.window&&Ga.window.document,Bx=Object.keys(Ai.propTypes),Ix=Mx||Lx?Qn.Suspense:function(){return null},bi=[],zx=function(t,n){var r,i;return i=r=function(u){Fx(a,u);var s=Nx(a);function a(){var o;Cx(this,a);for(var l=arguments.length,d=new Array(l),p=0;p0&&arguments[0]!==void 0?arguments[0]:"player";return o.player?o.player.getInternalPlayer(g):null}),ve(Ue(o),"seekTo",function(g,v){if(!o.player)return null;o.player.seekTo(g,v)}),ve(Ue(o),"handleReady",function(){o.props.onReady(Ue(o))}),ve(Ue(o),"getActivePlayer",(0,Vo.default)(function(g){for(var v=0,b=[].concat(bi,Uo(t));vc("div",{className:"video-player",children:c(jx,{url:e,controls:!0,volume:1,light:!0,height:"100%",width:"100%"})});function J3(e,t){return function(){return e.apply(t,arguments)}}const{toString:Z3}=Object.prototype,{getPrototypeOf:b0}=Object,x0=(e=>t=>{const n=Z3.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),hn=e=>(e=e.toLowerCase(),t=>x0(t)===e),za=e=>t=>typeof t===e,{isArray:Su}=Array,ac=za("undefined");function Vx(e){return e!==null&&!ac(e)&&e.constructor!==null&&!ac(e.constructor)&&si(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const em=hn("ArrayBuffer");function Ux(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&em(e.buffer),t}const Wx=za("string"),si=za("function"),tm=za("number"),nm=e=>e!==null&&typeof e=="object",Hx=e=>e===!0||e===!1,Cs=e=>{if(x0(e)!=="object")return!1;const t=b0(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$x=hn("Date"),Kx=hn("File"),Yx=hn("Blob"),qx=hn("FileList"),Xx=e=>nm(e)&&si(e.pipe),Gx=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Z3.call(e)===t||si(e.toString)&&e.toString()===t)},Qx=hn("URLSearchParams"),Jx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ja(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,i;if(typeof e!="object"&&(e=[e]),Su(e))for(r=0,i=e.length;r{Cs(e[r])&&Cs(n)?e[r]=oc(e[r],n):Cs(n)?e[r]=oc({},n):Su(n)?e[r]=n.slice():e[r]=n};for(let n=0,r=arguments.length;n(ja(t,(i,u)=>{n&&si(i)?e[u]=J3(i,n):e[u]=i},{allOwnKeys:r}),e),eE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tE=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nE=(e,t,n,r)=>{let i,u,s;const a={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),u=i.length;u-- >0;)s=i[u],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&b0(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},rE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},iE=e=>{if(!e)return null;if(Su(e))return e;let t=e.length;if(!tm(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},uE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&b0(Uint8Array)),sE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=r.next())&&!i.done;){const u=i.value;t.call(e,u[0],u[1])}},aE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},oE=hn("HTMLFormElement"),lE=e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,i){return r.toUpperCase()+i}),Rd=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),cE=hn("RegExp"),rm=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};ja(n,(i,u)=>{t(i,u,e)!==!1&&(r[u]=i)}),Object.defineProperties(e,r)},dE=e=>{rm(e,(t,n)=>{const r=e[n];if(!!si(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not read-only method '"+n+"'")})}})},fE=(e,t)=>{const n={},r=i=>{i.forEach(u=>{n[u]=!0})};return Su(e)?r(e):r(String(e).split(t)),n},hE=()=>{},pE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),U={isArray:Su,isArrayBuffer:em,isBuffer:Vx,isFormData:Gx,isArrayBufferView:Ux,isString:Wx,isNumber:tm,isBoolean:Hx,isObject:nm,isPlainObject:Cs,isUndefined:ac,isDate:$x,isFile:Kx,isBlob:Yx,isRegExp:cE,isFunction:si,isStream:Xx,isURLSearchParams:Qx,isTypedArray:uE,isFileList:qx,forEach:ja,merge:oc,extend:Zx,trim:Jx,stripBOM:eE,inherits:tE,toFlatObject:nE,kindOf:x0,kindOfTest:hn,endsWith:rE,toArray:iE,forEachEntry:sE,matchAll:aE,isHTMLForm:oE,hasOwnProperty:Rd,hasOwnProp:Rd,reduceDescriptors:rm,freezeMethods:dE,toObjectSet:fE,toCamelCase:lE,noop:hE,toFiniteNumber:pE};function re(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}U.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const im=re.prototype,um={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{um[e]={value:e}});Object.defineProperties(re,um);Object.defineProperty(im,"isAxiosError",{value:!0});re.from=(e,t,n,r,i,u)=>{const s=Object.create(im);return U.toFlatObject(e,s,function(o){return o!==Error.prototype},a=>a!=="isAxiosError"),re.call(s,e.message,t,n,r,i),s.cause=e,s.name=e.name,u&&Object.assign(s,u),s};var mE=typeof self=="object"?self.FormData:window.FormData;function lc(e){return U.isPlainObject(e)||U.isArray(e)}function sm(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function Td(e,t,n){return e?e.concat(t).map(function(i,u){return i=sm(i),!n&&u?"["+i+"]":i}).join(n?".":""):t}function gE(e){return U.isArray(e)&&!e.some(lc)}const yE=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});function vE(e){return e&&U.isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator]}function Va(e,t,n){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new(mE||FormData),n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(k,O){return!U.isUndefined(O[k])});const r=n.metaTokens,i=n.visitor||d,u=n.dots,s=n.indexes,o=(n.Blob||typeof Blob<"u"&&Blob)&&vE(t);if(!U.isFunction(i))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(U.isDate(b))return b.toISOString();if(!o&&U.isBlob(b))throw new re("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(b)||U.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function d(b,k,O){let x=b;if(b&&!O&&typeof b=="object"){if(U.endsWith(k,"{}"))k=r?k:k.slice(0,-2),b=JSON.stringify(b);else if(U.isArray(b)&&gE(b)||U.isFileList(b)||U.endsWith(k,"[]")&&(x=U.toArray(b)))return k=sm(k),x.forEach(function(w,T){!U.isUndefined(w)&&t.append(s===!0?Td([k],T,u):s===null?k:k+"[]",l(w))}),!1}return lc(b)?!0:(t.append(Td(O,k,u),l(b)),!1)}const p=[],g=Object.assign(yE,{defaultVisitor:d,convertValue:l,isVisitable:lc});function v(b,k){if(!U.isUndefined(b)){if(p.indexOf(b)!==-1)throw Error("Circular reference detected in "+k.join("."));p.push(b),U.forEach(b,function(x,_){(!U.isUndefined(x)&&i.call(t,x,U.isString(_)?_.trim():_,k,g))===!0&&v(x,k?k.concat(_):[_])}),p.pop()}}if(!U.isObject(e))throw new TypeError("data must be an object");return v(e),t}function Md(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function E0(e,t){this._pairs=[],e&&Va(e,this,t)}const am=E0.prototype;am.append=function(t,n){this._pairs.push([t,n])};am.toString=function(t){const n=t?function(r){return t.call(this,r,Md)}:Md;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function bE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function om(e,t,n){if(!t)return e;const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r));const i=n&&n.encode||bE,u=U.isURLSearchParams(t)?t.toString():new E0(t,n).toString(i);return u&&(e+=(e.indexOf("?")===-1?"?":"&")+u),e}class Ld{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){U.forEach(this.handlers,function(r){r!==null&&t(r)})}}const lm={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},xE=typeof URLSearchParams<"u"?URLSearchParams:E0,EE=FormData,_E=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),sn={isBrowser:!0,classes:{URLSearchParams:xE,FormData:EE,Blob},isStandardBrowserEnv:_E,protocols:["http","https","file","blob","url","data"]};function wE(e,t){return Va(e,new sn.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,u){return sn.isNode&&U.isBuffer(n)?(this.append(r,n.toString("base64")),!1):u.defaultVisitor.apply(this,arguments)}},t))}function DE(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kE(e){const t={},n=Object.keys(e);let r;const i=n.length;let u;for(r=0;r=n.length;return s=!s&&U.isArray(i)?i.length:s,o?(U.hasOwnProp(i,s)?i[s]=[i[s],r]:i[s]=r,!a):((!i[s]||!U.isObject(i[s]))&&(i[s]=[]),t(n,r,i[s],u)&&U.isArray(i[s])&&(i[s]=kE(i[s])),!a)}if(U.isFormData(e)&&U.isFunction(e.entries)){const n={};return U.forEachEntry(e,(r,i)=>{t(DE(r),i,n,0)}),n}return null}function SE(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const PE=sn.isStandardBrowserEnv?function(){return{write:function(n,r,i,u,s,a){const o=[];o.push(n+"="+encodeURIComponent(r)),U.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),U.isString(u)&&o.push("path="+u),U.isString(s)&&o.push("domain="+s),a===!0&&o.push("secure"),document.cookie=o.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function CE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function OE(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function dm(e,t){return e&&!CE(t)?OE(e,t):t}const FE=sn.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function i(u){let s=u;return t&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=i(window.location.href),function(s){const a=U.isString(s)?i(s):s;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Pu(e,t,n){re.call(this,e==null?"canceled":e,re.ERR_CANCELED,t,n),this.name="CanceledError"}U.inherits(Pu,re,{__CANCEL__:!0});function NE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}const AE=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),RE=e=>{const t={};let n,r,i;return e&&e.split(` +`).forEach(function(s){i=s.indexOf(":"),n=s.substring(0,i).trim().toLowerCase(),r=s.substring(i+1).trim(),!(!n||t[n]&&AE[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bd=Symbol("internals"),fm=Symbol("defaults");function Ri(e){return e&&String(e).trim().toLowerCase()}function es(e){return e===!1||e==null?e:String(e)}function TE(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Id(e,t,n,r){if(U.isFunction(r))return r.call(this,t,n);if(!!U.isString(t)){if(U.isString(r))return t.indexOf(r)!==-1;if(U.isRegExp(r))return r.test(t)}}function ME(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function LE(e,t){const n=U.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,u,s){return this[r].call(this,t,i,u,s)},configurable:!0})})}function xi(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}function Dt(e,t){e&&this.set(e),this[fm]=t||null}Object.assign(Dt.prototype,{set:function(e,t,n){const r=this;function i(u,s,a){const o=Ri(s);if(!o)throw new Error("header name must be a non-empty string");const l=xi(r,o);l&&a!==!0&&(r[l]===!1||a===!1)||(U.isArray(u)?u=u.map(es):u=es(u),r[l||s]=u)}return U.isPlainObject(e)?U.forEach(e,(u,s)=>{i(u,s,t)}):i(t,e,n),this},get:function(e,t){if(e=Ri(e),!e)return;const n=xi(this,e);if(n){const r=this[n];if(!t)return r;if(t===!0)return TE(r);if(U.isFunction(t))return t.call(this,r,n);if(U.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}},has:function(e,t){if(e=Ri(e),e){const n=xi(this,e);return!!(n&&(!t||Id(this,this[n],n,t)))}return!1},delete:function(e,t){const n=this;let r=!1;function i(u){if(u=Ri(u),u){const s=xi(n,u);s&&(!t||Id(n,n[s],s,t))&&(delete n[s],r=!0)}}return U.isArray(e)?e.forEach(i):i(e),r},clear:function(){return Object.keys(this).forEach(this.delete.bind(this))},normalize:function(e){const t=this,n={};return U.forEach(this,(r,i)=>{const u=xi(n,i);if(u){t[u]=es(r),delete t[i];return}const s=e?ME(i):String(i).trim();s!==i&&delete t[i],t[s]=es(r),n[s]=!0}),this},toJSON:function(){const e=Object.create(null);return U.forEach(Object.assign({},this[fm]||null,this),(t,n)=>{t==null||t===!1||(e[n]=U.isArray(t)?t.join(", "):t)}),e}});Object.assign(Dt,{from:function(e){return U.isString(e)?new this(RE(e)):e instanceof this?e:new this(e)},accessor:function(e){const n=(this[Bd]=this[Bd]={accessors:{}}).accessors,r=this.prototype;function i(u){const s=Ri(u);n[s]||(LE(r,u),n[s]=!0)}return U.isArray(e)?e.forEach(i):i(e),this}});Dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);U.freezeMethods(Dt.prototype);U.freezeMethods(Dt);function BE(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,u=0,s;return t=t!==void 0?t:1e3,function(o){const l=Date.now(),d=r[u];s||(s=l),n[i]=o,r[i]=l;let p=u,g=0;for(;p!==i;)g+=n[p++],p=p%e;if(i=(i+1)%e,i===u&&(u=(u+1)%e),l-s{const u=i.loaded,s=i.lengthComputable?i.total:void 0,a=u-n,o=r(a),l=u<=s;n=u;const d={loaded:u,total:s,progress:s?u/s:void 0,bytes:a,rate:o||void 0,estimated:o&&s&&l?(s-u)/o:void 0};d[t?"download":"upload"]=!0,e(d)}}function jd(e){return new Promise(function(n,r){let i=e.data;const u=Dt.from(e.headers).normalize(),s=e.responseType;let a;function o(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}U.isFormData(i)&&sn.isStandardBrowserEnv&&u.setContentType(!1);let l=new XMLHttpRequest;if(e.auth){const v=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";u.set("Authorization","Basic "+btoa(v+":"+b))}const d=dm(e.baseURL,e.url);l.open(e.method.toUpperCase(),om(d,e.params,e.paramsSerializer),!0),l.timeout=e.timeout;function p(){if(!l)return;const v=Dt.from("getAllResponseHeaders"in l&&l.getAllResponseHeaders()),k={data:!s||s==="text"||s==="json"?l.responseText:l.response,status:l.status,statusText:l.statusText,headers:v,config:e,request:l};SE(function(x){n(x),o()},function(x){r(x),o()},k),l=null}if("onloadend"in l?l.onloadend=p:l.onreadystatechange=function(){!l||l.readyState!==4||l.status===0&&!(l.responseURL&&l.responseURL.indexOf("file:")===0)||setTimeout(p)},l.onabort=function(){!l||(r(new re("Request aborted",re.ECONNABORTED,e,l)),l=null)},l.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,l)),l=null},l.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const k=e.transitional||lm;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new re(b,k.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,l)),l=null},sn.isStandardBrowserEnv){const v=(e.withCredentials||FE(d))&&e.xsrfCookieName&&PE.read(e.xsrfCookieName);v&&u.set(e.xsrfHeaderName,v)}i===void 0&&u.setContentType(null),"setRequestHeader"in l&&U.forEach(u.toJSON(),function(b,k){l.setRequestHeader(k,b)}),U.isUndefined(e.withCredentials)||(l.withCredentials=!!e.withCredentials),s&&s!=="json"&&(l.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&l.addEventListener("progress",zd(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&l.upload&&l.upload.addEventListener("progress",zd(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=v=>{!l||(r(!v||v.type?new Pu(null,e,l):v),l.abort(),l=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const g=NE(d);if(g&&sn.protocols.indexOf(g)===-1){r(new re("Unsupported protocol "+g+":",re.ERR_BAD_REQUEST,e));return}l.send(i||null)})}const Vd={http:jd,xhr:jd},Ud={getAdapter:e=>{if(U.isString(e)){const t=Vd[e];if(!e)throw Error(U.hasOwnProp(e)?`Adapter '${e}' is not available in the build`:`Can not resolve adapter '${e}'`);return t}if(!U.isFunction(e))throw new TypeError("adapter is not a function");return e},adapters:Vd},IE={"Content-Type":"application/x-www-form-urlencoded"};function zE(){let e;return typeof XMLHttpRequest<"u"?e=Ud.getAdapter("xhr"):typeof process<"u"&&U.kindOf(process)==="process"&&(e=Ud.getAdapter("http")),e}function jE(e,t,n){if(U.isString(e))try{return(t||JSON.parse)(e),U.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ai={transitional:lm,adapter:zE(),transformRequest:[function(t,n){const r=n.getContentType()||"",i=r.indexOf("application/json")>-1,u=U.isObject(t);if(u&&U.isHTMLForm(t)&&(t=new FormData(t)),U.isFormData(t))return i&&i?JSON.stringify(cm(t)):t;if(U.isArrayBuffer(t)||U.isBuffer(t)||U.isStream(t)||U.isFile(t)||U.isBlob(t))return t;if(U.isArrayBufferView(t))return t.buffer;if(U.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(u){if(r.indexOf("application/x-www-form-urlencoded")>-1)return wE(t,this.formSerializer).toString();if((a=U.isFileList(t))||r.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Va(a?{"files[]":t}:t,o&&new o,this.formSerializer)}}return u||i?(n.setContentType("application/json",!1),jE(t)):t}],transformResponse:[function(t){const n=this.transitional||ai.transitional,r=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&U.isString(t)&&(r&&!this.responseType||i)){const s=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(a){if(s)throw a.name==="SyntaxError"?re.from(a,re.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:sn.classes.FormData,Blob:sn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(t){ai.headers[t]={}});U.forEach(["post","put","patch"],function(t){ai.headers[t]=U.merge(IE)});function Wo(e,t){const n=this||ai,r=t||n,i=Dt.from(r.headers);let u=r.data;return U.forEach(e,function(a){u=a.call(n,u,i.normalize(),t?t.status:void 0)}),i.normalize(),u}function hm(e){return!!(e&&e.__CANCEL__)}function Ho(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pu}function Wd(e){return Ho(e),e.headers=Dt.from(e.headers),e.data=Wo.call(e,e.transformRequest),(e.adapter||ai.adapter)(e).then(function(r){return Ho(e),r.data=Wo.call(e,e.transformResponse,r),r.headers=Dt.from(r.headers),r},function(r){return hm(r)||(Ho(e),r&&r.response&&(r.response.data=Wo.call(e,e.transformResponse,r.response),r.response.headers=Dt.from(r.response.headers))),Promise.reject(r)})}function mu(e,t){t=t||{};const n={};function r(l,d){return U.isPlainObject(l)&&U.isPlainObject(d)?U.merge(l,d):U.isPlainObject(d)?U.merge({},d):U.isArray(d)?d.slice():d}function i(l){if(U.isUndefined(t[l])){if(!U.isUndefined(e[l]))return r(void 0,e[l])}else return r(e[l],t[l])}function u(l){if(!U.isUndefined(t[l]))return r(void 0,t[l])}function s(l){if(U.isUndefined(t[l])){if(!U.isUndefined(e[l]))return r(void 0,e[l])}else return r(void 0,t[l])}function a(l){if(l in t)return r(e[l],t[l]);if(l in e)return r(void 0,e[l])}const o={url:u,method:u,data:u,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return U.forEach(Object.keys(e).concat(Object.keys(t)),function(d){const p=o[d]||i,g=p(d);U.isUndefined(g)&&p!==a||(n[d]=g)}),n}const pm="1.1.2",_0={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{_0[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Hd={};_0.transitional=function(t,n,r){function i(u,s){return"[Axios v"+pm+"] Transitional option '"+u+"'"+s+(r?". "+r:"")}return(u,s,a)=>{if(t===!1)throw new re(i(s," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Hd[s]&&(Hd[s]=!0,console.warn(i(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(u,s,a):!0}};function VE(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const u=r[i],s=t[u];if(s){const a=e[u],o=a===void 0||s(a,u,e);if(o!==!0)throw new re("option "+u+" must be "+o,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+u,re.ERR_BAD_OPTION)}}const mm={assertOptions:VE,validators:_0},Er=mm.validators;class ir{constructor(t){this.defaults=t,this.interceptors={request:new Ld,response:new Ld}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=mu(this.defaults,n);const r=n.transitional;r!==void 0&&mm.assertOptions(r,{silentJSONParsing:Er.transitional(Er.boolean),forcedJSONParsing:Er.transitional(Er.boolean),clarifyTimeoutError:Er.transitional(Er.boolean)},!1),n.method=(n.method||this.defaults.method||"get").toLowerCase();const i=n.headers&&U.merge(n.headers.common,n.headers[n.method]);i&&U.forEach(["delete","get","head","post","put","patch","common"],function(v){delete n.headers[v]}),n.headers=new Dt(n.headers,i);const u=[];let s=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(s=s&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const a=[];this.interceptors.response.forEach(function(v){a.push(v.fulfilled,v.rejected)});let o,l=0,d;if(!s){const g=[Wd.bind(this),void 0];for(g.unshift.apply(g,u),g.push.apply(g,a),d=g.length,o=Promise.resolve(n);l{if(!r._listeners)return;let u=r._listeners.length;for(;u-- >0;)r._listeners[u](i);r._listeners=null}),this.promise.then=i=>{let u;const s=new Promise(a=>{r.subscribe(a),u=a}).then(i);return s.cancel=function(){r.unsubscribe(u)},s},t(function(u,s,a){r.reason||(r.reason=new Pu(u,s,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new w0(function(i){t=i}),cancel:t}}}function UE(e){return function(n){return e.apply(null,n)}}function WE(e){return U.isObject(e)&&e.isAxiosError===!0}function gm(e){const t=new ir(e),n=J3(ir.prototype.request,t);return U.extend(n,ir.prototype,t,{allOwnKeys:!0}),U.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return gm(mu(e,i))},n}const Qe=gm(ai);Qe.Axios=ir;Qe.CanceledError=Pu;Qe.CancelToken=w0;Qe.isCancel=hm;Qe.VERSION=pm;Qe.toFormData=Va;Qe.AxiosError=re;Qe.Cancel=Qe.CanceledError;Qe.all=function(t){return Promise.all(t)};Qe.spread=UE;Qe.isAxiosError=WE;Qe.formToJSON=e=>cm(U.isHTMLForm(e)?new FormData(e):e);class Re{constructor(t,n,r,i,u){yr(this,"destination");yr(this,"initialState");yr(this,"setState");yr(this,"setLoader");yr(this,"middleware",t=>t);this.destination=t,this.initialState=n,this.setState=r,this.setLoader=i,this.middleware=u}get(t,n=!1){try{return Qe.get(this.destination,t?{headers:t}:null).then(r=>{n&&this.setLoader(!0),this.setState(r.data)}).finally(()=>{n&&this.setLoader(!1)})}catch(r){throw new Error("Bad parameters",r)}}post(t,n=!1,r=!1){try{return Qe.post(this.destination,t).then(i=>{r&&this.setLoader(!0),n&&this.setState(i.data)}).finally(()=>{r&&this.setLoader(!1)})}catch(i){throw new Error("Bad parameters",i)}}}var ts,HE=new Uint8Array(16);function $E(){if(!ts&&(ts=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!ts))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return ts(HE)}const KE=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function YE(e){return typeof e=="string"&&KE.test(e)}var Te=[];for(var $o=0;$o<256;++$o)Te.push(($o+256).toString(16).substr(1));function qE(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(Te[e[t+0]]+Te[e[t+1]]+Te[e[t+2]]+Te[e[t+3]]+"-"+Te[e[t+4]]+Te[e[t+5]]+"-"+Te[e[t+6]]+Te[e[t+7]]+"-"+Te[e[t+8]]+Te[e[t+9]]+"-"+Te[e[t+10]]+Te[e[t+11]]+Te[e[t+12]]+Te[e[t+13]]+Te[e[t+14]]+Te[e[t+15]]).toLowerCase();if(!YE(n))throw TypeError("Stringified UUID is invalid");return n}function Ua(e,t,n){e=e||{};var r=e.random||(e.rng||$E)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return qE(r)}const ym="/assets/arrow-up.403bca16.svg",vm="/assets/arrow-down.6e85faaa.svg",XE=({active:e,onClick:t,title:n,priceChange:r,price:i,currency:u,titleHide:s})=>{const a=d=>{const p=Array.from(d);p.pop();let g="";return p.forEach(v=>{g=g+v}),parseFloat(g)},[o,l]=j.exports.useState();return j.exports.useEffect(()=>{l(a(r))},[r]),P("div",{className:`table-row ${e}`,onClick:()=>t(),children:[c("div",{className:`table-product-name ${s}`,children:n}),P("div",{className:"table-row-status",children:[c("div",{className:"table-row-arrow",children:c("img",{src:o>0?ym:o<0?vm:""})}),c("span",{className:o>0?"table-row-status-title green":o<0?"table-row-status-title red":"table-row-status-title",children:r})]}),P("div",{className:"table-product-price",children:[i," ",u]})]})},GE=({activeRow:e,setActiveRow:t,tabIndex:n,lang:r})=>{const[i,u]=j.exports.useState(),s=a=>{t(a)};return j.exports.useEffect(()=>{n&&new Re(`https://tmex.gov.tm:8765/api/categories/${n}/tradings`,i,u).get()},[n]),P("div",{className:"table",children:[P("div",{className:"table-top",children:[c("h4",{className:"table-title",children:r==="ru"?"\u0422\u043E\u0432\u0430\u0440\u043D\u0430\u044F \u043F\u043E\u0437\u0438\u0446\u0438\u044F":r==="tm"?"Harydy\u0148 ady":r==="en"?"Product name":null}),c("h4",{className:"table-title",children:r==="ru"?"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435 \u0446\u0435\u043D\u044B":r==="tm"?"Bahany\u0148 \xFC\xFDtge\xFD\u015Fi":r==="en"?"Price change":null}),c("h4",{className:"table-title",children:r==="ru"?"\u0422\u0435\u043A\u0443\u0449\u0430\u044F \u0446\u0435\u043D\u0430":r==="tm"?"H\xE4zirki baha":r==="en"?"Current price":null})]}),c("div",{className:"table-bottom",children:i?i.data.map((a,o)=>o<=2?c(XE,{title:a.title,titleHide:a.title.length>7?"title-hide":null,priceChange:a.price_change,price:a.price,currency:a.currency,onClick:()=>s(o),active:e===o?"active":""},Ua()):null):null})]})};/*! + * Chart.js v3.9.1 + * https://www.chartjs.org + * (c) 2022 Chart.js Contributors + * Released under the MIT License + */function Xt(){}const QE=function(){let e=0;return function(){return e++}}();function ie(e){return e===null||typeof e>"u"}function pe(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return t.slice(0,7)==="[object"&&t.slice(-6)==="Array]"}function ne(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Be=e=>(typeof e=="number"||e instanceof Number)&&isFinite(+e);function vt(e,t){return Be(e)?e:t}function ee(e,t){return typeof e>"u"?t:e}const JE=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100:e/t,bm=(e,t)=>typeof e=="string"&&e.endsWith("%")?parseFloat(e)/100*t:+e;function be(e,t,n){if(e&&typeof e.call=="function")return e.apply(n,t)}function ue(e,t,n,r){let i,u,s;if(pe(e))if(u=e.length,r)for(i=u-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;ie,x:e=>e.x,y:e=>e.y};function In(e,t){return($d[t]||($d[t]=t_(t)))(e)}function t_(e){const t=n_(e);return n=>{for(const r of t){if(r==="")break;n=n&&n[r]}return n}}function n_(e){const t=e.split("."),n=[];let r="";for(const i of t)r+=i,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}function D0(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Pt=e=>typeof e<"u",zn=e=>typeof e=="function",Kd=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0};function r_(e){return e.type==="mouseup"||e.type==="click"||e.type==="contextmenu"}const _e=Math.PI,oe=2*_e,i_=oe+_e,ua=Number.POSITIVE_INFINITY,u_=_e/180,Ee=_e/2,Ei=_e/4,Yd=_e*2/3,Et=Math.log10,qt=Math.sign;function qd(e){const t=Math.round(e);e=Yi(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(Et(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function s_(e){const t=[],n=Math.sqrt(e);let r;for(r=1;ri-u).pop(),t}function Jr(e){return!isNaN(parseFloat(e))&&isFinite(e)}function Yi(e,t,n){return Math.abs(e-t)=e}function Em(e,t,n){let r,i,u;for(r=0,i=e.length;ro&&l=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function S0(e,t,n){n=n||(s=>e[s]1;)u=i+r>>1,n(u)?i=u:r=u;return{lo:i,hi:r}}const tr=(e,t,n,r)=>S0(e,n,r?i=>e[i][t]<=n:i=>e[i][t]S0(e,n,r=>e[r][t]>=n);function d_(e,t,n){let r=0,i=e.length;for(;rr&&e[i-1]>n;)i--;return r>0||i{const r="_onData"+D0(n),i=e[n];Object.defineProperty(e,n,{configurable:!0,enumerable:!1,value(...u){const s=i.apply(this,u);return e._chartjs.listeners.forEach(a=>{typeof a[r]=="function"&&a[r](...u)}),s}})})}function Gd(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);i!==-1&&r.splice(i,1),!(r.length>0)&&(wm.forEach(u=>{delete e[u]}),delete e._chartjs)}function Dm(e){const t=new Set;let n,r;for(n=0,r=e.length;n"u"?function(e){return e()}:window.requestAnimationFrame}();function Sm(e,t,n){const r=n||(s=>Array.prototype.slice.call(s));let i=!1,u=[];return function(...s){u=r(s),i||(i=!0,km.call(window,()=>{i=!1,e.apply(t,u)}))}}function h_(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}const p_=e=>e==="start"?"left":e==="end"?"right":"center",Qd=(e,t,n)=>e==="start"?t:e==="end"?n:(t+n)/2;function Pm(e,t,n){const r=t.length;let i=0,u=r;if(e._sorted){const{iScale:s,_parsed:a}=e,o=s.axis,{min:l,max:d,minDefined:p,maxDefined:g}=s.getUserBounds();p&&(i=He(Math.min(tr(a,s.axis,l).lo,n?r:tr(t,o,s.getPixelForValue(l)).lo),0,r-1)),g?u=He(Math.max(tr(a,s.axis,d,!0).hi+1,n?0:tr(t,o,s.getPixelForValue(d),!0).hi+1),i,r)-i:u=r-i}return{start:i,count:u}}function Cm(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const u=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),u}const ns=e=>e===0||e===1,Jd=(e,t,n)=>-(Math.pow(2,10*(e-=1))*Math.sin((e-t)*oe/n)),Zd=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*oe/n)+1,qi={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>-Math.cos(e*Ee)+1,easeOutSine:e=>Math.sin(e*Ee),easeInOutSine:e=>-.5*(Math.cos(_e*e)-1),easeInExpo:e=>e===0?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>e===1?1:-Math.pow(2,-10*e)+1,easeInOutExpo:e=>ns(e)?e:e<.5?.5*Math.pow(2,10*(e*2-1)):.5*(-Math.pow(2,-10*(e*2-1))+2),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>ns(e)?e:Jd(e,.075,.3),easeOutElastic:e=>ns(e)?e:Zd(e,.075,.3),easeInOutElastic(e){return ns(e)?e:e<.5?.5*Jd(e*2,.1125,.45):.5+.5*Zd(e*2-1,.1125,.45)},easeInBack(e){return e*e*((1.70158+1)*e-1.70158)},easeOutBack(e){return(e-=1)*e*((1.70158+1)*e+1.70158)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?.5*(e*e*(((t*=1.525)+1)*e-t)):.5*((e-=2)*e*(((t*=1.525)+1)*e+t)+2)},easeInBounce:e=>1-qi.easeOutBounce(1-e),easeOutBounce(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:e=>e<.5?qi.easeInBounce(e*2)*.5:qi.easeOutBounce(e*2-1)*.5+.5};/*! + * @kurkle/color v0.2.1 + * https://github.com/kurkle/color#readme + * (c) 2022 Jukka Kurkela + * Released under the MIT License + */function Cu(e){return e+.5|0}const Dn=(e,t,n)=>Math.max(Math.min(e,n),t);function Ti(e){return Dn(Cu(e*2.55),0,255)}function Mn(e){return Dn(Cu(e*255),0,255)}function tn(e){return Dn(Cu(e/2.55)/100,0,1)}function ef(e){return Dn(Cu(e*100),0,100)}const gt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},dc=[..."0123456789ABCDEF"],m_=e=>dc[e&15],g_=e=>dc[(e&240)>>4]+dc[e&15],rs=e=>(e&240)>>4===(e&15),y_=e=>rs(e.r)&&rs(e.g)&&rs(e.b)&&rs(e.a);function v_(e){var t=e.length,n;return e[0]==="#"&&(t===4||t===5?n={r:255>[e[1]]*17,g:255>[e[2]]*17,b:255>[e[3]]*17,a:t===5?gt[e[4]]*17:255}:(t===7||t===9)&&(n={r:gt[e[1]]<<4|gt[e[2]],g:gt[e[3]]<<4|gt[e[4]],b:gt[e[5]]<<4|gt[e[6]],a:t===9?gt[e[7]]<<4|gt[e[8]]:255})),n}const b_=(e,t)=>e<255?t(e):"";function x_(e){var t=y_(e)?m_:g_;return e?"#"+t(e.r)+t(e.g)+t(e.b)+b_(e.a,t):void 0}const E_=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function Om(e,t,n){const r=t*Math.min(n,1-n),i=(u,s=(u+e/30)%12)=>n-r*Math.max(Math.min(s-3,9-s,1),-1);return[i(0),i(8),i(4)]}function __(e,t,n){const r=(i,u=(i+e/60)%6)=>n-n*t*Math.max(Math.min(u,4-u,1),0);return[r(5),r(3),r(1)]}function w_(e,t,n){const r=Om(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function D_(e,t,n,r,i){return e===i?(t-n)/r+(t.5?d/(2-u-s):d/(u+s),o=D_(n,r,i,d,u),o=o*60+.5),[o|0,l||0,a]}function C0(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(Mn)}function O0(e,t,n){return C0(Om,e,t,n)}function k_(e,t,n){return C0(w_,e,t,n)}function S_(e,t,n){return C0(__,e,t,n)}function Fm(e){return(e%360+360)%360}function P_(e){const t=E_.exec(e);let n=255,r;if(!t)return;t[5]!==r&&(n=t[6]?Ti(+t[5]):Mn(+t[5]));const i=Fm(+t[2]),u=+t[3]/100,s=+t[4]/100;return t[1]==="hwb"?r=k_(i,u,s):t[1]==="hsv"?r=S_(i,u,s):r=O0(i,u,s),{r:r[0],g:r[1],b:r[2],a:n}}function C_(e,t){var n=P0(e);n[0]=Fm(n[0]+t),n=O0(n),e.r=n[0],e.g=n[1],e.b=n[2]}function O_(e){if(!e)return;const t=P0(e),n=t[0],r=ef(t[1]),i=ef(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${tn(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}const tf={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},nf={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function F_(){const e={},t=Object.keys(nf),n=Object.keys(tf);let r,i,u,s,a;for(r=0;r>16&255,u>>8&255,u&255]}return e}let is;function N_(e){is||(is=F_(),is.transparent=[0,0,0,0]);const t=is[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:t.length===4?t[3]:255}}const A_=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function R_(e){const t=A_.exec(e);let n=255,r,i,u;if(!!t){if(t[7]!==r){const s=+t[7];n=t[8]?Ti(s):Dn(s*255,0,255)}return r=+t[1],i=+t[3],u=+t[5],r=255&(t[2]?Ti(r):Dn(r,0,255)),i=255&(t[4]?Ti(i):Dn(i,0,255)),u=255&(t[6]?Ti(u):Dn(u,0,255)),{r,g:i,b:u,a:n}}}function T_(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${tn(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}const Ko=e=>e<=.0031308?e*12.92:Math.pow(e,1/2.4)*1.055-.055,_r=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function M_(e,t,n){const r=_r(tn(e.r)),i=_r(tn(e.g)),u=_r(tn(e.b));return{r:Mn(Ko(r+n*(_r(tn(t.r))-r))),g:Mn(Ko(i+n*(_r(tn(t.g))-i))),b:Mn(Ko(u+n*(_r(tn(t.b))-u))),a:e.a+n*(t.a-e.a)}}function us(e,t,n){if(e){let r=P0(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,t===0?360:1)),r=O0(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Nm(e,t){return e&&Object.assign(t||{},e)}function rf(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Mn(e[3]))):(t=Nm(e,{r:0,g:0,b:0,a:1}),t.a=Mn(t.a)),t}function L_(e){return e.charAt(0)==="r"?R_(e):P_(e)}class aa{constructor(t){if(t instanceof aa)return t;const n=typeof t;let r;n==="object"?r=rf(t):n==="string"&&(r=v_(t)||N_(t)||L_(t)),this._rgb=r,this._valid=!!r}get valid(){return this._valid}get rgb(){var t=Nm(this._rgb);return t&&(t.a=tn(t.a)),t}set rgb(t){this._rgb=rf(t)}rgbString(){return this._valid?T_(this._rgb):void 0}hexString(){return this._valid?x_(this._rgb):void 0}hslString(){return this._valid?O_(this._rgb):void 0}mix(t,n){if(t){const r=this.rgb,i=t.rgb;let u;const s=n===u?.5:n,a=2*s-1,o=r.a-i.a,l=((a*o===-1?a:(a+o)/(1+a*o))+1)/2;u=1-l,r.r=255&l*r.r+u*i.r+.5,r.g=255&l*r.g+u*i.g+.5,r.b=255&l*r.b+u*i.b+.5,r.a=s*r.a+(1-s)*i.a,this.rgb=r}return this}interpolate(t,n){return t&&(this._rgb=M_(this._rgb,t._rgb,n)),this}clone(){return new aa(this.rgb)}alpha(t){return this._rgb.a=Mn(t),this}clearer(t){const n=this._rgb;return n.a*=1-t,this}greyscale(){const t=this._rgb,n=Cu(t.r*.3+t.g*.59+t.b*.11);return t.r=t.g=t.b=n,this}opaquer(t){const n=this._rgb;return n.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return us(this._rgb,2,t),this}darken(t){return us(this._rgb,2,-t),this}saturate(t){return us(this._rgb,1,t),this}desaturate(t){return us(this._rgb,1,-t),this}rotate(t){return C_(this._rgb,t),this}}function Am(e){return new aa(e)}function Rm(e){if(e&&typeof e=="object"){const t=e.toString();return t==="[object CanvasPattern]"||t==="[object CanvasGradient]"}return!1}function uf(e){return Rm(e)?e:Am(e)}function Yo(e){return Rm(e)?e:Am(e).saturate(.5).darken(.1).hexString()}const fr=Object.create(null),fc=Object.create(null);function Xi(e,t){if(!t)return e;const n=t.split(".");for(let r=0,i=n.length;rn.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(n,r)=>Yo(r.backgroundColor),this.hoverBorderColor=(n,r)=>Yo(r.borderColor),this.hoverColor=(n,r)=>Yo(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t)}set(t,n){return qo(this,t,n)}get(t){return Xi(this,t)}describe(t,n){return qo(fc,t,n)}override(t,n){return qo(fr,t,n)}route(t,n,r,i){const u=Xi(this,t),s=Xi(this,r),a="_"+n;Object.defineProperties(u,{[a]:{value:u[n],writable:!0},[n]:{enumerable:!0,get(){const o=this[a],l=s[i];return ne(o)?Object.assign({},l,o):ee(o,l)},set(o){this[a]=o}}})}}var Z=new B_({_scriptable:e=>!e.startsWith("on"),_indexable:e=>e!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}});function I_(e){return!e||ie(e.size)||ie(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}function oa(e,t,n,r,i){let u=t[i];return u||(u=t[i]=e.measureText(i).width,n.push(i)),u>r&&(r=u),r}function z_(e,t,n,r){r=r||{};let i=r.data=r.data||{},u=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},u=r.garbageCollect=[],r.font=t),e.save(),e.font=t;let s=0;const a=n.length;let o,l,d,p,g;for(o=0;on.length){for(o=0;o0&&e.stroke()}}function vu(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.xt.top-n&&e.y0&&u.strokeColor!=="";let o,l;for(e.save(),e.font=i.string,W_(e,u),o=0;o+e||0;function F0(e,t){const n={},r=ne(t),i=r?Object.keys(t):t,u=ne(e)?r?s=>ee(e[s],e[t[s]]):s=>e[s]:()=>e;for(const s of i)n[s]=q_(u(s));return n}function Lm(e){return F0(e,{top:"y",right:"x",bottom:"y",left:"x"})}function Wr(e){return F0(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Ct(e){const t=Lm(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function ct(e,t){e=e||{},t=t||Z.font;let n=ee(e.size,t.size);typeof n=="string"&&(n=parseInt(n,10));let r=ee(e.style,t.style);r&&!(""+r).match(K_)&&(console.warn('Invalid font style specified: "'+r+'"'),r="");const i={family:ee(e.family,t.family),lineHeight:Y_(ee(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:ee(e.weight,t.weight),string:""};return i.string=I_(i),i}function ss(e,t,n,r){let i=!0,u,s,a;for(u=0,s=e.length;un&&a===0?0:a+o;return{min:s(r,-Math.abs(u)),max:s(i,u)}}function Wn(e,t){return Object.assign(Object.create(e),t)}function N0(e,t=[""],n=e,r,i=()=>e[0]){Pt(r)||(r=jm("_fallback",e));const u={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:n,_fallback:r,_getTarget:i,override:s=>N0([s,...e],t,n,r)};return new Proxy(u,{deleteProperty(s,a){return delete s[a],delete s._keys,delete e[0][a],!0},get(s,a){return Im(s,a,()=>rw(a,t,e,s))},getOwnPropertyDescriptor(s,a){return Reflect.getOwnPropertyDescriptor(s._scopes[0],a)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(s,a){return of(s).includes(a)},ownKeys(s){return of(s)},set(s,a,o){const l=s._storage||(s._storage=i());return s[a]=l[a]=o,delete s._keys,!0}})}function Zr(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Bm(e,r),setContext:u=>Zr(e,u,n,r),override:u=>Zr(e.override(u),t,n,r)};return new Proxy(i,{deleteProperty(u,s){return delete u[s],delete e[s],!0},get(u,s,a){return Im(u,s,()=>Q_(u,s,a))},getOwnPropertyDescriptor(u,s){return u._descriptors.allKeys?Reflect.has(e,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,s)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(u,s){return Reflect.has(e,s)},ownKeys(){return Reflect.ownKeys(e)},set(u,s,a){return e[s]=a,delete u[s],!0}})}function Bm(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:zn(n)?n:()=>n,isIndexable:zn(r)?r:()=>r}}const G_=(e,t)=>e?e+D0(t):t,A0=(e,t)=>ne(t)&&e!=="adapters"&&(Object.getPrototypeOf(t)===null||t.constructor===Object);function Im(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t))return e[t];const r=n();return e[t]=r,r}function Q_(e,t,n){const{_proxy:r,_context:i,_subProxy:u,_descriptors:s}=e;let a=r[t];return zn(a)&&s.isScriptable(t)&&(a=J_(t,a,e,n)),pe(a)&&a.length&&(a=Z_(t,a,e,s.isIndexable)),A0(t,a)&&(a=Zr(a,i,u&&u[t],s)),a}function J_(e,t,n,r){const{_proxy:i,_context:u,_subProxy:s,_stack:a}=n;if(a.has(e))throw new Error("Recursion detected: "+Array.from(a).join("->")+"->"+e);return a.add(e),t=t(u,s||r),a.delete(e),A0(e,t)&&(t=R0(i._scopes,i,e,t)),t}function Z_(e,t,n,r){const{_proxy:i,_context:u,_subProxy:s,_descriptors:a}=n;if(Pt(u.index)&&r(e))t=t[u.index%t.length];else if(ne(t[0])){const o=t,l=i._scopes.filter(d=>d!==o);t=[];for(const d of o){const p=R0(l,i,e,d);t.push(Zr(p,u,s&&s[e],a))}}return t}function zm(e,t,n){return zn(e)?e(t,n):e}const ew=(e,t)=>e===!0?t:typeof e=="string"?In(t,e):void 0;function tw(e,t,n,r,i){for(const u of t){const s=ew(n,u);if(s){e.add(s);const a=zm(s._fallback,n,i);if(Pt(a)&&a!==n&&a!==r)return a}else if(s===!1&&Pt(r)&&n!==r)return null}return!1}function R0(e,t,n,r){const i=t._rootScopes,u=zm(t._fallback,n,r),s=[...e,...i],a=new Set;a.add(r);let o=af(a,s,n,u||n,r);return o===null||Pt(u)&&u!==n&&(o=af(a,s,u,o,r),o===null)?!1:N0(Array.from(a),[""],i,u,()=>nw(t,n,r))}function af(e,t,n,r,i){for(;n;)n=tw(e,t,n,r,i);return n}function nw(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return pe(i)&&ne(n)?n:i}function rw(e,t,n,r){let i;for(const u of t)if(i=jm(G_(u,e),n),Pt(i))return A0(e,i)?R0(n,r,e,i):i}function jm(e,t){for(const n of t){if(!n)continue;const r=n[e];if(Pt(r))return r}}function of(e){let t=e._keys;return t||(t=e._keys=iw(e._scopes)),t}function iw(e){const t=new Set;for(const n of e)for(const r of Object.keys(n).filter(i=>!i.startsWith("_")))t.add(r);return Array.from(t)}function Vm(e,t,n,r){const{iScale:i}=e,{key:u="r"}=this._parsing,s=new Array(r);let a,o,l,d;for(a=0,o=r;ate==="x"?"y":"x";function sw(e,t,n,r){const i=e.skip?t:e,u=t,s=n.skip?t:n,a=cc(u,i),o=cc(s,u);let l=a/(a+o),d=o/(a+o);l=isNaN(l)?0:l,d=isNaN(d)?0:d;const p=r*l,g=r*d;return{previous:{x:u.x-p*(s.x-i.x),y:u.y-p*(s.y-i.y)},next:{x:u.x+g*(s.x-i.x),y:u.y+g*(s.y-i.y)}}}function aw(e,t,n){const r=e.length;let i,u,s,a,o,l=ei(e,0);for(let d=0;d!l.skip)),t.cubicInterpolationMode==="monotone")lw(e,i);else{let l=r?e[e.length-1]:e[0];for(u=0,s=e.length;uwindow.getComputedStyle(e,null);function fw(e,t){return Wa(e).getPropertyValue(t)}const hw=["top","right","bottom","left"];function ur(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const u=hw[i];r[u]=parseFloat(e[t+"-"+u+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}const pw=(e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot);function mw(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:u}=r;let s=!1,a,o;if(pw(i,u,e.target))a=i,o=u;else{const l=t.getBoundingClientRect();a=r.clientX-l.left,o=r.clientY-l.top,s=!0}return{x:a,y:o,box:s}}function Xn(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=Wa(n),u=i.boxSizing==="border-box",s=ur(i,"padding"),a=ur(i,"border","width"),{x:o,y:l,box:d}=mw(e,n),p=s.left+(d&&a.left),g=s.top+(d&&a.top);let{width:v,height:b}=t;return u&&(v-=s.width+a.width,b-=s.height+a.height),{x:Math.round((o-p)/v*n.width/r),y:Math.round((l-g)/b*n.height/r)}}function gw(e,t,n){let r,i;if(t===void 0||n===void 0){const u=T0(e);if(!u)t=e.clientWidth,n=e.clientHeight;else{const s=u.getBoundingClientRect(),a=Wa(u),o=ur(a,"border","width"),l=ur(a,"padding");t=s.width-l.width-o.width,n=s.height-l.height-o.height,r=da(a.maxWidth,u,"clientWidth"),i=da(a.maxHeight,u,"clientHeight")}}return{width:t,height:n,maxWidth:r||ua,maxHeight:i||ua}}const Xo=e=>Math.round(e*10)/10;function yw(e,t,n,r){const i=Wa(e),u=ur(i,"margin"),s=da(i.maxWidth,e,"clientWidth")||ua,a=da(i.maxHeight,e,"clientHeight")||ua,o=gw(e,t,n);let{width:l,height:d}=o;if(i.boxSizing==="content-box"){const p=ur(i,"border","width"),g=ur(i,"padding");l-=g.width+p.width,d-=g.height+p.height}return l=Math.max(0,l-u.width),d=Math.max(0,r?Math.floor(l/r):d-u.height),l=Xo(Math.min(l,s,o.maxWidth)),d=Xo(Math.min(d,a,o.maxHeight)),l&&!d&&(d=Xo(l/2)),{width:l,height:d}}function lf(e,t,n){const r=t||1,i=Math.floor(e.height*r),u=Math.floor(e.width*r);e.height=i/r,e.width=u/r;const s=e.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${e.height}px`,s.style.width=`${e.width}px`),e.currentDevicePixelRatio!==r||s.height!==i||s.width!==u?(e.currentDevicePixelRatio=r,s.height=i,s.width=u,e.ctx.setTransform(r,0,0,r,0,0),!0):!1}const vw=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch{}return e}();function cf(e,t){const n=fw(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function Gn(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function bw(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:r==="middle"?n<.5?e.y:t.y:r==="after"?n<1?e.y:t.y:n>0?t.y:e.y}}function xw(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},u={x:t.cp1x,y:t.cp1y},s=Gn(e,i,n),a=Gn(i,u,n),o=Gn(u,t,n),l=Gn(s,a,n),d=Gn(a,o,n);return Gn(l,d,n)}const df=new Map;function Ew(e,t){t=t||{};const n=e+JSON.stringify(t);let r=df.get(n);return r||(r=new Intl.NumberFormat(e,t),df.set(n,r)),r}function Ou(e,t,n){return Ew(t,n).format(e)}const _w=function(e,t){return{x(n){return e+e+t-n},setWidth(n){t=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,r){return n-r},leftForLtr(n,r){return n-r}}},ww=function(){return{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}};function Go(e,t,n){return e?_w(t,n):ww()}function Dw(e,t){let n,r;(t==="ltr"||t==="rtl")&&(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function kw(e,t){t!==void 0&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Hm(e){return e==="angle"?{between:yu,compare:o_,normalize:At}:{between:sa,compare:(t,n)=>t-n,normalize:t=>t}}function ff({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n===0,style:i}}function Sw(e,t,n){const{property:r,start:i,end:u}=n,{between:s,normalize:a}=Hm(r),o=t.length;let{start:l,end:d,loop:p}=e,g,v;if(p){for(l+=o,d+=o,g=0,v=o;go(i,w,x)&&a(i,w)!==0,D=()=>a(u,x)===0||o(u,w,x),S=()=>k||T(),y=()=>!k||D();for(let f=d,m=d;f<=p;++f)_=t[f%s],!_.skip&&(x=l(_[r]),x!==w&&(k=o(x,i,u),O===null&&S()&&(O=a(x,i)===0?f:m),O!==null&&y()&&(b.push(ff({start:O,end:f,loop:g,count:s,style:v})),O=null),m=f,w=x));return O!==null&&b.push(ff({start:O,end:p,loop:g,count:s,style:v})),b}function Cw(e,t){const n=[],r=e.segments;for(let i=0;ii&&e[u%t].skip;)u--;return u%=t,{start:i,end:u}}function Fw(e,t,n,r){const i=e.length,u=[];let s=t,a=e[t],o;for(o=t+1;o<=n;++o){const l=e[o%i];l.skip||l.stop?a.skip||(r=!1,u.push({start:t%i,end:(o-1)%i,loop:r}),t=s=l.stop?o:null):(s=o,a.skip&&(t=o)),a=l}return s!==null&&u.push({start:t%i,end:s%i,loop:r}),u}function Nw(e,t){const n=e.points,r=e.options.spanGaps,i=n.length;if(!i)return[];const u=!!e._loop,{start:s,end:a}=Ow(n,i,u,r);if(r===!0)return hf(e,[{start:s,end:a,loop:u}],n,t);const o=aa({chart:t,initial:n.initial,numSteps:s,currentStep:Math.min(r-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=km.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(t=Date.now()){let n=0;this._charts.forEach((r,i)=>{if(!r.running||!r.items.length)return;const u=r.items;let s=u.length-1,a=!1,o;for(;s>=0;--s)o=u[s],o._active?(o._total>r.duration&&(r.duration=o._total),o.tick(t),a=!0):(u[s]=u[u.length-1],u.pop());a&&(i.draw(),this._notify(i,r,t,"progress")),u.length||(r.running=!1,this._notify(i,r,t,"complete"),r.initial=!1),n+=u.length}),this._lastDate=t,n===0&&(this._running=!1)}_getAnims(t){const n=this._charts;let r=n.get(t);return r||(r={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(t,r)),r}listen(t,n,r){this._getAnims(t).listeners[n].push(r)}add(t,n){!n||!n.length||this._getAnims(t).items.push(...n)}has(t){return this._getAnims(t).items.length>0}start(t){const n=this._charts.get(t);!n||(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((r,i)=>Math.max(r,i._duration),0),this._refresh())}running(t){if(!this._running)return!1;const n=this._charts.get(t);return!(!n||!n.running||!n.items.length)}stop(t){const n=this._charts.get(t);if(!n||!n.items.length)return;const r=n.items;let i=r.length-1;for(;i>=0;--i)r[i].cancel();n.items=[],this._notify(t,n,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Gt=new Tw;const mf="transparent",Mw={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=uf(e||mf),i=r.valid&&uf(t||mf);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class Lw{constructor(t,n,r,i){const u=n[r];i=ss([t.to,i,u,t.from]);const s=ss([t.from,u,i]);this._active=!0,this._fn=t.fn||Mw[t.type||typeof s],this._easing=qi[t.easing]||qi.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=n,this._prop=r,this._from=s,this._to=i,this._promises=void 0}active(){return this._active}update(t,n,r){if(this._active){this._notify(!1);const i=this._target[this._prop],u=r-this._start,s=this._duration-u;this._start=r,this._duration=Math.floor(Math.max(s,t.duration)),this._total+=u,this._loop=!!t.loop,this._to=ss([t.to,n,i,t.from]),this._from=ss([t.from,i,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const n=t-this._start,r=this._duration,i=this._prop,u=this._from,s=this._loop,a=this._to;let o;if(this._active=u!==a&&(s||n1?2-o:o,o=this._easing(Math.min(1,Math.max(0,o))),this._target[i]=this._fn(u,a,o)}wait(){const t=this._promises||(this._promises=[]);return new Promise((n,r)=>{t.push({res:n,rej:r})})}_notify(t){const n=t?"res":"rej",r=this._promises||[];for(let i=0;ie!=="onProgress"&&e!=="onComplete"&&e!=="fn"});Z.set("animations",{colors:{type:"color",properties:Iw},numbers:{type:"number",properties:Bw}});Z.describe("animations",{_fallback:"animation"});Z.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}});class $m{constructor(t,n){this._chart=t,this._properties=new Map,this.configure(n)}configure(t){if(!ne(t))return;const n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const i=t[r];if(!ne(i))return;const u={};for(const s of zw)u[s]=i[s];(pe(i.properties)&&i.properties||[r]).forEach(s=>{(s===r||!n.has(s))&&n.set(s,u)})})}_animateOptions(t,n){const r=n.options,i=Vw(t,r);if(!i)return[];const u=this._createAnimations(i,r);return r.$shared&&jw(t.options.$animations,r).then(()=>{t.options=r},()=>{}),u}_createAnimations(t,n){const r=this._properties,i=[],u=t.$animations||(t.$animations={}),s=Object.keys(n),a=Date.now();let o;for(o=s.length-1;o>=0;--o){const l=s[o];if(l.charAt(0)==="$")continue;if(l==="options"){i.push(...this._animateOptions(t,n));continue}const d=n[l];let p=u[l];const g=r.get(l);if(p)if(g&&p.active()){p.update(g,d,a);continue}else p.cancel();if(!g||!g.duration){t[l]=d;continue}u[l]=p=new Lw(g,t,l,d),i.push(p)}return i}update(t,n){if(this._properties.size===0){Object.assign(t,n);return}const r=this._createAnimations(t,n);if(r.length)return Gt.add(this._chart,r),!0}}function jw(e,t){const n=[],r=Object.keys(t);for(let i=0;i0||!n&&u<0)return i.index}return null}function xf(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:u,vScale:s,index:a}=r,o=u.axis,l=s.axis,d=$w(u,s,r),p=t.length;let g;for(let v=0;vn[r].axis===t).shift()}function qw(e,t){return Wn(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}function Xw(e,t,n){return Wn(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}function _i(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(!!r){t=t||e._parsed;for(const i of t){const u=i._stacks;if(!u||u[r]===void 0||u[r][n]===void 0)return;delete u[r][n]}}}const Jo=e=>e==="reset"||e==="none",Ef=(e,t)=>t?e:Object.assign({},e),Gw=(e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:Km(n,!0),values:null};class It{constructor(t,n){this.chart=t,this._ctx=t.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=vf(t.vScale,t),this.addElements()}updateIndex(t){this.index!==t&&_i(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,n=this._cachedMeta,r=this.getDataset(),i=(p,g,v,b)=>p==="x"?g:p==="r"?b:v,u=n.xAxisID=ee(r.xAxisID,Qo(t,"x")),s=n.yAxisID=ee(r.yAxisID,Qo(t,"y")),a=n.rAxisID=ee(r.rAxisID,Qo(t,"r")),o=n.indexAxis,l=n.iAxisID=i(o,u,s,a),d=n.vAxisID=i(o,s,u,a);n.xScale=this.getScaleForId(u),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(a),n.iScale=this.getScaleForId(l),n.vScale=this.getScaleForId(d)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const n=this._cachedMeta;return t===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&Gd(this._data,this),t._stacked&&_i(t)}_dataCheck(){const t=this.getDataset(),n=t.data||(t.data=[]),r=this._data;if(ne(n))this._data=Hw(n);else if(r!==n){if(r){Gd(r,this);const i=this._cachedMeta;_i(i),i._parsed=[]}n&&Object.isExtensible(n)&&f_(n,this),this._syncList=[],this._data=n}}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const n=this._cachedMeta,r=this.getDataset();let i=!1;this._dataCheck();const u=n._stacked;n._stacked=vf(n.vScale,n),n.stack!==r.stack&&(i=!0,_i(n),n.stack=r.stack),this._resyncElements(t),(i||u!==n._stacked)&&xf(this,n._parsed)}configure(){const t=this.chart.config,n=t.datasetScopeKeys(this._type),r=t.getOptionScopes(this.getDataset(),n,!0);this.options=t.createResolver(r,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,n){const{_cachedMeta:r,_data:i}=this,{iScale:u,_stacked:s}=r,a=u.axis;let o=t===0&&n===i.length?!0:r._sorted,l=t>0&&r._parsed[t-1],d,p,g;if(this._parsing===!1)r._parsed=i,r._sorted=!0,g=i;else{pe(i[t])?g=this.parseArrayData(r,i,t,n):ne(i[t])?g=this.parseObjectData(r,i,t,n):g=this.parsePrimitiveData(r,i,t,n);const v=()=>p[a]===null||l&&p[a]k||p=0;--g)if(!b()){this.updateRangeFromParsed(l,t,v,o);break}}return l}getAllParsedValues(t){const n=this._cachedMeta._parsed,r=[];let i,u,s;for(i=0,u=n.length;i=0&&tthis.getContext(r,i),k=l.resolveNamedOptions(g,v,b,p);return k.$shared&&(k.$shared=o,u[s]=Object.freeze(Ef(k,o))),k}_resolveAnimations(t,n,r){const i=this.chart,u=this._cachedDataOpts,s=`animation-${n}`,a=u[s];if(a)return a;let o;if(i.options.animation!==!1){const d=this.chart.config,p=d.datasetAnimationScopeKeys(this._type,n),g=d.getOptionScopes(this.getDataset(),p);o=d.createResolver(g,this.getContext(t,r,n))}const l=new $m(i,o&&o.animations);return o&&o._cacheable&&(u[s]=Object.freeze(l)),l}getSharedOptions(t){if(!!t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,n){return!n||Jo(t)||this.chart._animationsDisabled}_getSharedOptions(t,n){const r=this.resolveDataElementOptions(t,n),i=this._sharedOptions,u=this.getSharedOptions(r),s=this.includeOptions(n,u)||u!==i;return this.updateSharedOptions(u,n,r),{sharedOptions:u,includeOptions:s}}updateElement(t,n,r,i){Jo(i)?Object.assign(t,r):this._resolveAnimations(n,i).update(t,r)}updateSharedOptions(t,n,r){t&&!Jo(n)&&this._resolveAnimations(void 0,n).update(t,r)}_setStyle(t,n,r,i){t.active=i;const u=this.getStyle(n,i);this._resolveAnimations(n,r,i).update(t,{options:!i&&this.getSharedOptions(u)||u})}removeHoverStyle(t,n,r){this._setStyle(t,r,"active",!1)}setHoverStyle(t,n,r){this._setStyle(t,r,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const n=this._data,r=this._cachedMeta.data;for(const[a,o,l]of this._syncList)this[a](o,l);this._syncList=[];const i=r.length,u=n.length,s=Math.min(u,i);s&&this.parse(0,s),u>i?this._insertElements(i,u-i,t):u{for(l.length+=n,a=l.length-1;a>=s;a--)l[a]=l[a-n]};for(o(u),a=t;ai-u))}return e._cache.$bar}function Jw(e){const t=e.iScale,n=Qw(t,e.type);let r=t._length,i,u,s,a;const o=()=>{s===32767||s===-32768||(Pt(a)&&(r=Math.min(r,Math.abs(s-a)||r)),a=s)};for(i=0,u=n.length;i0?i[e-1]:null,a=eMath.abs(a)&&(o=a,l=s),t[n.axis]=l,t._custom={barStart:o,barEnd:l,start:i,end:u,min:s,max:a}}function Ym(e,t,n,r){return pe(e)?t2(e,t,n,r):t[n.axis]=n.parse(e,r),t}function _f(e,t,n,r){const i=e.iScale,u=e.vScale,s=i.getLabels(),a=i===u,o=[];let l,d,p,g;for(l=n,d=n+r;l=n?1:-1)}function r2(e){let t,n,r,i,u;return e.horizontal?(t=e.base>e.x,n="left",r="right"):(t=e.baseo.controller.options.grouped),u=r.options.stacked,s=[],a=o=>{const l=o.controller.getParsed(n),d=l&&l[o.vScale.axis];if(ie(d)||isNaN(d))return!0};for(const o of i)if(!(n!==void 0&&a(o))&&((u===!1||s.indexOf(o.stack)===-1||u===void 0&&o.stack===void 0)&&s.push(o.stack),o.index===t))break;return s.length||s.push(void 0),s}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,n,r){const i=this._getStacks(t,r),u=n!==void 0?i.indexOf(n):-1;return u===-1?i.length-1:u}_getRuler(){const t=this.options,n=this._cachedMeta,r=n.iScale,i=[];let u,s;for(u=0,s=n.data.length;u=0;--r)n=Math.max(n,t[r].size(this.resolveDataElementOptions(r))/2);return n>0&&n}getLabelAndValue(t){const n=this._cachedMeta,{xScale:r,yScale:i}=n,u=this.getParsed(t),s=r.getLabelForValue(u.x),a=i.getLabelForValue(u.y),o=u._custom;return{label:n.label,value:"("+s+", "+a+(o?", "+o:"")+")"}}update(t){const n=this._cachedMeta.data;this.updateElements(n,0,n.length,t)}updateElements(t,n,r,i){const u=i==="reset",{iScale:s,vScale:a}=this._cachedMeta,{sharedOptions:o,includeOptions:l}=this._getSharedOptions(n,i),d=s.axis,p=a.axis;for(let g=n;gyu(w,a,o,!0)?1:Math.max(T,T*n,D,D*n),b=(w,T,D)=>yu(w,a,o,!0)?-1:Math.min(T,T*n,D,D*n),k=v(0,l,p),O=v(Ee,d,g),x=b(_e,l,p),_=b(_e+Ee,d,g);r=(k-x)/2,i=(O-_)/2,u=-(k+x)/2,s=-(O+_)/2}return{ratioX:r,ratioY:i,offsetX:u,offsetY:s}}class Fu extends It{constructor(t,n){super(t,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,n){const r=this.getDataset().data,i=this._cachedMeta;if(this._parsing===!1)i._parsed=r;else{let u=o=>+r[o];if(ne(r[t])){const{key:o="value"}=this._parsing;u=l=>+In(r[l],o)}let s,a;for(s=t,a=t+n;s0&&!isNaN(t)?oe*(Math.abs(t)/n):0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],u=Ou(n._parsed[t],r.options.locale);return{label:i[t]||"",value:u}}getMaxBorderWidth(t){let n=0;const r=this.chart;let i,u,s,a,o;if(!t){for(i=0,u=r.data.datasets.length;ie!=="spacing",_indexable:e=>e!=="spacing"};Fu.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){let t=e.label;const n=": "+e.formattedValue;return pe(t)?(t=t.slice(),t[0]+=n):t+=n,t}}}}};class Ha extends It{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const n=this._cachedMeta,{dataset:r,data:i=[],_dataset:u}=n,s=this.chart._animationsDisabled;let{start:a,count:o}=Pm(n,i,s);this._drawStart=a,this._drawCount=o,Cm(n)&&(a=0,o=i.length),r._chart=this.chart,r._datasetIndex=this.index,r._decimated=!!u._decimated,r.points=i;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(r,void 0,{animated:!s,options:l},t),this.updateElements(i,a,o,t)}updateElements(t,n,r,i){const u=i==="reset",{iScale:s,vScale:a,_stacked:o,_dataset:l}=this._cachedMeta,{sharedOptions:d,includeOptions:p}=this._getSharedOptions(n,i),g=s.axis,v=a.axis,{spanGaps:b,segment:k}=this.options,O=Jr(b)?b:Number.POSITIVE_INFINITY,x=this.chart._animationsDisabled||u||i==="none";let _=n>0&&this.getParsed(n-1);for(let w=n;w0&&Math.abs(D[g]-_[g])>O,k&&(S.parsed=D,S.raw=l.data[w]),p&&(S.options=d||this.resolveDataElementOptions(w,T.active?"active":i)),x||this.updateElement(T,w,S,i),_=D}}getMaxOverflow(){const t=this._cachedMeta,n=t.dataset,r=n.options&&n.options.borderWidth||0,i=t.data||[];if(!i.length)return r;const u=i[0].size(this.resolveDataElementOptions(0)),s=i[i.length-1].size(this.resolveDataElementOptions(i.length-1));return Math.max(r,u,s)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}Ha.id="line";Ha.defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};Ha.overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};class B0 extends It{constructor(t,n){super(t,n),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const n=this._cachedMeta,r=this.chart,i=r.data.labels||[],u=Ou(n._parsed[t].r,r.options.locale);return{label:i[t]||"",value:u}}parseObjectData(t,n,r,i){return Vm.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta.data;this._updateRadius(),this.updateElements(n,0,n.length,t)}getMinMax(){const t=this._cachedMeta,n={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((r,i)=>{const u=this.getParsed(i).r;!isNaN(u)&&this.chart.getDataVisibility(i)&&(un.max&&(n.max=u))}),n}_updateRadius(){const t=this.chart,n=t.chartArea,r=t.options,i=Math.min(n.right-n.left,n.bottom-n.top),u=Math.max(i/2,0),s=Math.max(r.cutoutPercentage?u/100*r.cutoutPercentage:1,0),a=(u-s)/t.getVisibleDatasetCount();this.outerRadius=u-a*this.index,this.innerRadius=this.outerRadius-a}updateElements(t,n,r,i){const u=i==="reset",s=this.chart,o=s.options.animation,l=this._cachedMeta.rScale,d=l.xCenter,p=l.yCenter,g=l.getIndexAngle(0)-.5*_e;let v=g,b;const k=360/this.countVisibleElements();for(b=0;b{!isNaN(this.getParsed(i).r)&&this.chart.getDataVisibility(i)&&n++}),n}_computeAngle(t,n,r){return this.chart.getDataVisibility(t)?Tt(this.resolveDataElementOptions(t,n).angle||r):0}}B0.id="polarArea";B0.defaults={dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0};B0.overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data;if(t.labels.length&&t.datasets.length){const{labels:{pointStyle:n}}=e.legend.options;return t.labels.map((r,i)=>{const s=e.getDatasetMeta(0).controller.getStyle(i);return{text:r,fillStyle:s.backgroundColor,strokeStyle:s.borderColor,lineWidth:s.borderWidth,pointStyle:n,hidden:!e.getDataVisibility(i),index:i}})}return[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}},tooltip:{callbacks:{title(){return""},label(e){return e.chart.data.labels[e.dataIndex]+": "+e.formattedValue}}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}};class qm extends Fu{}qm.id="pie";qm.defaults={cutout:0,rotation:0,circumference:360,radius:"100%"};class I0 extends It{getLabelAndValue(t){const n=this._cachedMeta.vScale,r=this.getParsed(t);return{label:n.getLabels()[t],value:""+n.getLabelForValue(r[n.axis])}}parseObjectData(t,n,r,i){return Vm.bind(this)(t,n,r,i)}update(t){const n=this._cachedMeta,r=n.dataset,i=n.data||[],u=n.iScale.getLabels();if(r.points=i,t!=="resize"){const s=this.resolveDatasetElementOptions(t);this.options.showLine||(s.borderWidth=0);const a={_loop:!0,_fullLoop:u.length===i.length,options:s};this.updateElement(r,void 0,a,t)}this.updateElements(i,0,i.length,t)}updateElements(t,n,r,i){const u=this._cachedMeta.rScale,s=i==="reset";for(let a=n;a{i[u]=r[u]&&r[u].active()?r[u]._to:this[u]}),i}}pn.defaults={};pn.defaultRoutes=void 0;const Xm={values(e){return pe(e)?e:""+e},numeric(e,t,n){if(e===0)return"0";const r=this.chart.options.locale;let i,u=e;if(n.length>1){const l=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(l<1e-4||l>1e15)&&(i="scientific"),u=o2(e,n)}const s=Et(Math.abs(u)),a=Math.max(Math.min(-1*Math.floor(s),20),0),o={notation:i,minimumFractionDigits:a,maximumFractionDigits:a};return Object.assign(o,this.options.ticks.format),Ou(e,r,o)},logarithmic(e,t,n){if(e===0)return"0";const r=e/Math.pow(10,Math.floor(Et(e)));return r===1||r===2||r===5?Xm.numeric.call(this,e,t,n):""}};function o2(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}var $a={formatters:Xm};Z.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",grace:0,grid:{display:!0,lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1,borderDash:[],borderDashOffset:0,borderWidth:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:$a.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}});Z.route("scale.ticks","color","","color");Z.route("scale.grid","color","","borderColor");Z.route("scale.grid","borderColor","","borderColor");Z.route("scale.title","color","","color");Z.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"});Z.describe("scales",{_fallback:"scale"});Z.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"});function l2(e,t){const n=e.options.ticks,r=n.maxTicksLimit||c2(e),i=n.major.enabled?f2(t):[],u=i.length,s=i[0],a=i[u-1],o=[];if(u>r)return h2(t,o,i,u/r),o;const l=d2(i,t,r);if(u>0){let d,p;const g=u>1?Math.round((a-s)/(u-1)):null;for(os(t,o,l,ie(g)?0:s-g,s),d=0,p=u-1;di)return o}return Math.max(i,1)}function f2(e){const t=[];let n,r;for(n=0,r=e.length;ne==="left"?"right":e==="right"?"left":e,kf=(e,t,n)=>t==="top"||t==="left"?e[t]+n:e[t]-n;function Sf(e,t){const n=[],r=e.length/t,i=e.length;let u=0;for(;us+a)))return o}function y2(e,t){ue(e,n=>{const r=n.gc,i=r.length/2;let u;if(i>t){for(u=0;ur?r:n,r=i&&n>r?n:r,{min:vt(n,vt(r,n)),max:vt(r,vt(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){be(this.options.beforeUpdate,[this])}update(t,n,r){const{beginAtZero:i,grace:u,ticks:s}=this.options,a=s.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=n,this._margins=r=Object.assign({left:0,right:0,top:0,bottom:0},r),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+r.left+r.right:this.height+r.top+r.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=X_(this,u,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const o=a=u||r<=1||!this.isHorizontal()){this.labelRotation=i;return}const d=this._getLabelSizes(),p=d.widest.width,g=d.highest.height,v=He(this.chart.width-p,0,this.maxWidth);a=t.offset?this.maxWidth/r:v/(r-1),p+6>a&&(a=v/(r-(t.offset?.5:1)),o=this.maxHeight-wi(t.grid)-n.padding-Pf(t.title,this.chart.options.font),l=Math.sqrt(p*p+g*g),s=k0(Math.min(Math.asin(He((d.highest.height+6)/a,-1,1)),Math.asin(He(o/l,-1,1))-Math.asin(He(g/l,-1,1)))),s=Math.max(i,Math.min(u,s))),this.labelRotation=s}afterCalculateLabelRotation(){be(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){be(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:n,options:{ticks:r,title:i,grid:u}}=this,s=this._isVisible(),a=this.isHorizontal();if(s){const o=Pf(i,n.options.font);if(a?(t.width=this.maxWidth,t.height=wi(u)+o):(t.height=this.maxHeight,t.width=wi(u)+o),r.display&&this.ticks.length){const{first:l,last:d,widest:p,highest:g}=this._getLabelSizes(),v=r.padding*2,b=Tt(this.labelRotation),k=Math.cos(b),O=Math.sin(b);if(a){const x=r.mirror?0:O*p.width+k*g.height;t.height=Math.min(this.maxHeight,t.height+x+v)}else{const x=r.mirror?0:k*p.width+O*g.height;t.width=Math.min(this.maxWidth,t.width+x+v)}this._calculatePadding(l,d,O,k)}}this._handleMargins(),a?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,n,r,i){const{ticks:{align:u,padding:s},position:a}=this.options,o=this.labelRotation!==0,l=a!=="top"&&this.axis==="x";if(this.isHorizontal()){const d=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let g=0,v=0;o?l?(g=i*t.width,v=r*n.height):(g=r*t.height,v=i*n.width):u==="start"?v=n.width:u==="end"?g=t.width:u!=="inner"&&(g=t.width/2,v=n.width/2),this.paddingLeft=Math.max((g-d+s)*this.width/(this.width-d),0),this.paddingRight=Math.max((v-p+s)*this.width/(this.width-p),0)}else{let d=n.height/2,p=t.height/2;u==="start"?(d=0,p=t.height):u==="end"&&(d=n.height,p=0),this.paddingTop=d+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){be(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:n}=this.options;return n==="top"||n==="bottom"||t==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){this.beforeTickToLabelConversion(),this.generateTickLabels(t);let n,r;for(n=0,r=t.length;n({width:u[y]||0,height:s[y]||0});return{first:S(0),last:S(n-1),widest:S(T),highest:S(D),widths:u,heights:s}}getLabelForValue(t){return t}getPixelForValue(t,n){return NaN}getValueForPixel(t){}getPixelForTick(t){const n=this.ticks;return t<0||t>n.length-1?null:this.getPixelForValue(n[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const n=this._startPixel+t*this._length;return l_(this._alignToPixels?Hn(this.chart,n,0):n)}getDecimalForPixel(t){const n=(t-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:n}=this;return t<0&&n<0?n:t>0&&n>0?t:0}getContext(t){const n=this.ticks||[];if(t>=0&&ta*i?a/r:o/i:o*i0}_computeGridLineItems(t){const n=this.axis,r=this.chart,i=this.options,{grid:u,position:s}=i,a=u.offset,o=this.isHorizontal(),d=this.ticks.length+(a?1:0),p=wi(u),g=[],v=u.setContext(this.getContext()),b=v.drawBorder?v.borderWidth:0,k=b/2,O=function(M){return Hn(r,M,b)};let x,_,w,T,D,S,y,f,m,h,E,C;if(s==="top")x=O(this.bottom),S=this.bottom-p,f=x-k,h=O(t.top)+k,C=t.bottom;else if(s==="bottom")x=O(this.top),h=t.top,C=O(t.bottom)-k,S=x+k,f=this.top+p;else if(s==="left")x=O(this.right),D=this.right-p,y=x-k,m=O(t.left)+k,E=t.right;else if(s==="right")x=O(this.left),m=t.left,E=O(t.right)-k,D=x+k,y=this.left+p;else if(n==="x"){if(s==="center")x=O((t.top+t.bottom)/2+.5);else if(ne(s)){const M=Object.keys(s)[0],I=s[M];x=O(this.chart.scales[M].getPixelForValue(I))}h=t.top,C=t.bottom,S=x+k,f=S+p}else if(n==="y"){if(s==="center")x=O((t.left+t.right)/2);else if(ne(s)){const M=Object.keys(s)[0],I=s[M];x=O(this.chart.scales[M].getPixelForValue(I))}D=x-k,y=D-p,m=t.left,E=t.right}const B=ee(i.ticks.maxTicksLimit,d),F=Math.max(1,Math.ceil(d/B));for(_=0;_u.value===t);return i>=0?n.setContext(this.getContext(i)).lineWidth:0}drawGrid(t){const n=this.options.grid,r=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let u,s;const a=(o,l,d)=>{!d.width||!d.color||(r.save(),r.lineWidth=d.width,r.strokeStyle=d.color,r.setLineDash(d.borderDash||[]),r.lineDashOffset=d.borderDashOffset,r.beginPath(),r.moveTo(o.x,o.y),r.lineTo(l.x,l.y),r.stroke(),r.restore())};if(n.display)for(u=0,s=i.length;u{this.draw(i)}}]:[{z:r,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r+1,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(t){const n=this.chart.getSortedVisibleDatasetMetas(),r=this.axis+"AxisID",i=[];let u,s;for(u=0,s=n.length;u{const r=n.split("."),i=r.pop(),u=[e].concat(r).join("."),s=t[n].split("."),a=s.pop(),o=s.join(".");Z.route(u,i,o,a)})}function D2(e){return"id"in e&&"defaults"in e}class k2{constructor(){this.controllers=new ls(It,"datasets",!0),this.elements=new ls(pn,"elements"),this.plugins=new ls(Object,"plugins"),this.scales=new ls(mr,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...t){this._each("register",t)}remove(...t){this._each("unregister",t)}addControllers(...t){this._each("register",t,this.controllers)}addElements(...t){this._each("register",t,this.elements)}addPlugins(...t){this._each("register",t,this.plugins)}addScales(...t){this._each("register",t,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(...t){this._each("unregister",t,this.controllers)}removeElements(...t){this._each("unregister",t,this.elements)}removePlugins(...t){this._each("unregister",t,this.plugins)}removeScales(...t){this._each("unregister",t,this.scales)}_each(t,n,r){[...n].forEach(i=>{const u=r||this._getRegistryForType(i);r||u.isForType(i)||u===this.plugins&&i.id?this._exec(t,u,i):ue(i,s=>{const a=r||this._getRegistryForType(s);this._exec(t,a,s)})})}_exec(t,n,r){const i=D0(t);be(r["before"+i],[],r),n[t](r),be(r["after"+i],[],r)}_getRegistryForType(t){for(let n=0;n0&&this.getParsed(n-1);for(let T=n;T0&&Math.abs(S[v]-w[v])>x,O&&(y.parsed=S,y.raw=l.data[T]),g&&(y.options=p||this.resolveDataElementOptions(T,D.active?"active":i)),_||this.updateElement(D,T,y,i),w=S}this.updateSharedOptions(p,i,d)}getMaxOverflow(){const t=this._cachedMeta,n=t.data||[];if(!this.options.showLine){let a=0;for(let o=n.length-1;o>=0;--o)a=Math.max(a,n[o].size(this.resolveDataElementOptions(o))/2);return a>0&&a}const r=t.dataset,i=r.options&&r.options.borderWidth||0;if(!n.length)return i;const u=n[0].size(this.resolveDataElementOptions(0)),s=n[n.length-1].size(this.resolveDataElementOptions(n.length-1));return Math.max(i,u,s)/2}}z0.id="scatter";z0.defaults={datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1};z0.overrides={interaction:{mode:"point"},plugins:{tooltip:{callbacks:{title(){return""},label(e){return"("+e.label+", "+e.formattedValue+")"}}}},scales:{x:{type:"linear"},y:{type:"linear"}}};function $n(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class pc{constructor(t){this.options=t||{}}init(t){}formats(){return $n()}parse(t,n){return $n()}format(t,n){return $n()}add(t,n,r){return $n()}diff(t,n,r){return $n()}startOf(t,n,r){return $n()}endOf(t,n){return $n()}}pc.override=function(e){Object.assign(pc.prototype,e)};var S2={_date:pc};function P2(e,t,n,r){const{controller:i,data:u,_sorted:s}=e,a=i._cachedMeta.iScale;if(a&&t===a.axis&&t!=="r"&&s&&u.length){const o=a._reversePixels?c_:tr;if(r){if(i._sharedOptions){const l=u[0],d=typeof l.getRange=="function"&&l.getRange(t);if(d){const p=o(u,t,n-d),g=o(u,t,n+d);return{lo:p.lo,hi:g.hi}}}}else return o(u,t,n)}return{lo:0,hi:u.length-1}}function Nu(e,t,n,r,i){const u=e.getSortedVisibleDatasetMetas(),s=n[t];for(let a=0,o=u.length;a{o[s](t[n],i)&&(u.push({element:o,datasetIndex:l,index:d}),a=a||o.inRange(t.x,t.y,i))}),r&&!a?[]:u}var N2={evaluateInteractionItems:Nu,modes:{index(e,t,n,r){const i=Xn(t,e),u=n.axis||"x",s=n.includeInvisible||!1,a=n.intersect?el(e,i,u,r,s):tl(e,i,u,!1,r,s),o=[];return a.length?(e.getSortedVisibleDatasetMetas().forEach(l=>{const d=a[0].index,p=l.data[d];p&&!p.skip&&o.push({element:p,datasetIndex:l.index,index:d})}),o):[]},dataset(e,t,n,r){const i=Xn(t,e),u=n.axis||"xy",s=n.includeInvisible||!1;let a=n.intersect?el(e,i,u,r,s):tl(e,i,u,!1,r,s);if(a.length>0){const o=a[0].datasetIndex,l=e.getDatasetMeta(o).data;a=[];for(let d=0;dn.pos===t)}function Of(e,t){return e.filter(n=>Gm.indexOf(n.pos)===-1&&n.box.axis===t)}function ki(e,t){return e.sort((n,r)=>{const i=t?r:n,u=t?n:r;return i.weight===u.weight?i.index-u.index:i.weight-u.weight})}function A2(e){const t=[];let n,r,i,u,s,a;for(n=0,r=(e||[]).length;nl.box.fullSize),!0),r=ki(Di(t,"left"),!0),i=ki(Di(t,"right")),u=ki(Di(t,"top"),!0),s=ki(Di(t,"bottom")),a=Of(t,"x"),o=Of(t,"y");return{fullSize:n,leftAndTop:r.concat(u),rightAndBottom:i.concat(o).concat(s).concat(a),chartArea:Di(t,"chartArea"),vertical:r.concat(i).concat(o),horizontal:u.concat(s).concat(a)}}function Ff(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Qm(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function L2(e,t,n,r){const{pos:i,box:u}=n,s=e.maxPadding;if(!ne(i)){n.size&&(e[i]-=n.size);const p=r[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?u.height:u.width),n.size=p.size/p.count,e[i]+=n.size}u.getPadding&&Qm(s,u.getPadding());const a=Math.max(0,t.outerWidth-Ff(s,e,"left","right")),o=Math.max(0,t.outerHeight-Ff(s,e,"top","bottom")),l=a!==e.w,d=o!==e.h;return e.w=a,e.h=o,n.horizontal?{same:l,other:d}:{same:d,other:l}}function B2(e){const t=e.maxPadding;function n(r){const i=Math.max(t[r]-e[r],0);return e[r]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function I2(e,t){const n=t.maxPadding;function r(i){const u={left:0,top:0,right:0,bottom:0};return i.forEach(s=>{u[s]=Math.max(t[s],n[s])}),u}return r(e?["left","right"]:["top","bottom"])}function Mi(e,t,n,r){const i=[];let u,s,a,o,l,d;for(u=0,s=e.length,l=0;u{typeof k.beforeLayout=="function"&&k.beforeLayout()});const d=o.reduce((k,O)=>O.box.options&&O.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:t,outerHeight:n,padding:i,availableWidth:u,availableHeight:s,vBoxMaxWidth:u/2/d,hBoxMaxHeight:s/2}),g=Object.assign({},i);Qm(g,Ct(r));const v=Object.assign({maxPadding:g,w:u,h:s,x:i.left,y:i.top},i),b=T2(o.concat(l),p);Mi(a.fullSize,v,p,b),Mi(o,v,p,b),Mi(l,v,p,b)&&Mi(o,v,p,b),B2(v),Nf(a.leftAndTop,v,p,b),v.x+=v.w,v.y+=v.h,Nf(a.rightAndBottom,v,p,b),e.chartArea={left:v.left,top:v.top,right:v.left+v.w,bottom:v.top+v.h,height:v.h,width:v.w},ue(a.chartArea,k=>{const O=k.box;Object.assign(O,e.chartArea),O.update(v.w,v.h,{left:0,top:0,right:0,bottom:0})})}};class Jm{acquireContext(t,n){}releaseContext(t){return!1}addEventListener(t,n,r){}removeEventListener(t,n,r){}getDevicePixelRatio(){return 1}getMaximumSize(t,n,r,i){return n=Math.max(0,n||t.width),r=r||t.height,{width:n,height:Math.max(0,i?Math.floor(n/i):r)}}isAttached(t){return!0}updateConfig(t){}}class z2 extends Jm{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Os="$chartjs",j2={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Af=e=>e===null||e==="";function V2(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[Os]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Af(i)){const u=cf(e,"width");u!==void 0&&(e.width=u)}if(Af(r))if(e.style.height==="")e.height=e.width/(t||2);else{const u=cf(e,"height");u!==void 0&&(e.height=u)}return e}const Zm=vw?{passive:!0}:!1;function U2(e,t,n){e.addEventListener(t,n,Zm)}function W2(e,t,n){e.canvas.removeEventListener(t,n,Zm)}function H2(e,t){const n=j2[e.type]||e.type,{x:r,y:i}=Xn(e,t);return{type:n,chart:t,native:e,x:r!==void 0?r:null,y:i!==void 0?i:null}}function fa(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function $2(e,t,n){const r=e.canvas,i=new MutationObserver(u=>{let s=!1;for(const a of u)s=s||fa(a.addedNodes,r),s=s&&!fa(a.removedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function K2(e,t,n){const r=e.canvas,i=new MutationObserver(u=>{let s=!1;for(const a of u)s=s||fa(a.removedNodes,r),s=s&&!fa(a.addedNodes,r);s&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const bu=new Map;let Rf=0;function eg(){const e=window.devicePixelRatio;e!==Rf&&(Rf=e,bu.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Y2(e,t){bu.size||window.addEventListener("resize",eg),bu.set(e,t)}function q2(e){bu.delete(e),bu.size||window.removeEventListener("resize",eg)}function X2(e,t,n){const r=e.canvas,i=r&&T0(r);if(!i)return;const u=Sm((a,o)=>{const l=i.clientWidth;n(a,o),l{const o=a[0],l=o.contentRect.width,d=o.contentRect.height;l===0&&d===0||u(l,d)});return s.observe(i),Y2(e,u),s}function nl(e,t,n){n&&n.disconnect(),t==="resize"&&q2(e)}function G2(e,t,n){const r=e.canvas,i=Sm(u=>{e.ctx!==null&&n(H2(u,e))},e,u=>{const s=u[0];return[s,s.offsetX,s.offsetY]});return U2(r,t,i),i}class Q2 extends Jm{acquireContext(t,n){const r=t&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(V2(t,n),r):null}releaseContext(t){const n=t.canvas;if(!n[Os])return!1;const r=n[Os].initial;["height","width"].forEach(u=>{const s=r[u];ie(s)?n.removeAttribute(u):n.setAttribute(u,s)});const i=r.style||{};return Object.keys(i).forEach(u=>{n.style[u]=i[u]}),n.width=n.width,delete n[Os],!0}addEventListener(t,n,r){this.removeEventListener(t,n);const i=t.$proxies||(t.$proxies={}),s={attach:$2,detach:K2,resize:X2}[n]||G2;i[n]=s(t,n,r)}removeEventListener(t,n){const r=t.$proxies||(t.$proxies={}),i=r[n];if(!i)return;({attach:nl,detach:nl,resize:nl}[n]||W2)(t,n,i),r[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,n,r,i){return yw(t,n,r,i)}isAttached(t){const n=T0(t);return!!(n&&n.isConnected)}}function J2(e){return!Wm()||typeof OffscreenCanvas<"u"&&e instanceof OffscreenCanvas?z2:Q2}class Z2{constructor(){this._init=[]}notify(t,n,r,i){n==="beforeInit"&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const u=i?this._descriptors(t).filter(i):this._descriptors(t),s=this._notify(u,t,n,r);return n==="afterDestroy"&&(this._notify(u,t,"stop"),this._notify(this._init,t,"uninstall")),s}_notify(t,n,r,i){i=i||{};for(const u of t){const s=u.plugin,a=s[r],o=[n,i,u.options];if(be(a,o,s)===!1&&i.cancelable)return!1}return!0}invalidate(){ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),n}_createDescriptors(t,n){const r=t&&t.config,i=ee(r.options&&r.options.plugins,{}),u=eD(r);return i===!1&&!n?[]:nD(t,u,i,n)}_notifyStateChanges(t){const n=this._oldCache||[],r=this._cache,i=(u,s)=>u.filter(a=>!s.some(o=>a.plugin.id===o.plugin.id));this._notify(i(n,r),t,"stop"),this._notify(i(r,n),t,"start")}}function eD(e){const t={},n=[],r=Object.keys($t.plugins.items);for(let u=0;u{const o=r[a];if(!ne(o))return console.error(`Invalid scale configuration for scale: ${a}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${a}`);const l=gc(a,o),d=uD(l,i),p=n.scales||{};u[l]=u[l]||a,s[a]=Ki(Object.create(null),[{axis:l},o,p[l],p[d]])}),e.data.datasets.forEach(a=>{const o=a.type||e.type,l=a.indexAxis||mc(o,t),p=(fr[o]||{}).scales||{};Object.keys(p).forEach(g=>{const v=iD(g,l),b=a[v+"AxisID"]||u[v]||v;s[b]=s[b]||Object.create(null),Ki(s[b],[{axis:v},r[b],p[g]])})}),Object.keys(s).forEach(a=>{const o=s[a];Ki(o,[Z.scales[o.type],Z.scale])}),s}function tg(e){const t=e.options||(e.options={});t.plugins=ee(t.plugins,{}),t.scales=aD(e,t)}function ng(e){return e=e||{},e.datasets=e.datasets||[],e.labels=e.labels||[],e}function oD(e){return e=e||{},e.data=ng(e.data),tg(e),e}const Tf=new Map,rg=new Set;function fs(e,t){let n=Tf.get(e);return n||(n=t(),Tf.set(e,n),rg.add(n)),n}const Si=(e,t,n)=>{const r=In(t,n);r!==void 0&&e.add(r)};class lD{constructor(t){this._config=oD(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=ng(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),tg(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return fs(t,()=>[[`datasets.${t}`,""]])}datasetAnimationScopeKeys(t,n){return fs(`${t}.transition.${n}`,()=>[[`datasets.${t}.transitions.${n}`,`transitions.${n}`],[`datasets.${t}`,""]])}datasetElementScopeKeys(t,n){return fs(`${t}-${n}`,()=>[[`datasets.${t}.elements.${n}`,`datasets.${t}`,`elements.${n}`,""]])}pluginScopeKeys(t){const n=t.id,r=this.type;return fs(`${r}-plugin-${n}`,()=>[[`plugins.${n}`,...t.additionalOptionScopes||[]]])}_cachedScopes(t,n){const r=this._scopeCache;let i=r.get(t);return(!i||n)&&(i=new Map,r.set(t,i)),i}getOptionScopes(t,n,r){const{options:i,type:u}=this,s=this._cachedScopes(t,r),a=s.get(n);if(a)return a;const o=new Set;n.forEach(d=>{t&&(o.add(t),d.forEach(p=>Si(o,t,p))),d.forEach(p=>Si(o,i,p)),d.forEach(p=>Si(o,fr[u]||{},p)),d.forEach(p=>Si(o,Z,p)),d.forEach(p=>Si(o,fc,p))});const l=Array.from(o);return l.length===0&&l.push(Object.create(null)),rg.has(n)&&s.set(n,l),l}chartOptionScopes(){const{options:t,type:n}=this;return[t,fr[n]||{},Z.datasets[n]||{},{type:n},Z,fc]}resolveNamedOptions(t,n,r,i=[""]){const u={$shared:!0},{resolver:s,subPrefixes:a}=Mf(this._resolverCache,t,i);let o=s;if(dD(s,n)){u.$shared=!1,r=zn(r)?r():r;const l=this.createResolver(t,r,a);o=Zr(s,r,l)}for(const l of n)u[l]=o[l];return u}createResolver(t,n,r=[""],i){const{resolver:u}=Mf(this._resolverCache,t,r);return ne(n)?Zr(u,n,void 0,i):u}}function Mf(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let u=r.get(i);return u||(u={resolver:N0(t,n),subPrefixes:n.filter(a=>!a.toLowerCase().includes("hover"))},r.set(i,u)),u}const cD=e=>ne(e)&&Object.getOwnPropertyNames(e).reduce((t,n)=>t||zn(e[n]),!1);function dD(e,t){const{isScriptable:n,isIndexable:r}=Bm(e);for(const i of t){const u=n(i),s=r(i),a=(s||u)&&e[i];if(u&&(zn(a)||cD(a))||s&&pe(a))return!0}return!1}var fD="3.9.1";const hD=["top","bottom","left","right","chartArea"];function Lf(e,t){return e==="top"||e==="bottom"||hD.indexOf(e)===-1&&t==="x"}function Bf(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function If(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),be(n&&n.onComplete,[e],t)}function pD(e){const t=e.chart,n=t.options.animation;be(n&&n.onProgress,[e],t)}function ig(e){return Wm()&&typeof e=="string"?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ha={},ug=e=>{const t=ig(e);return Object.values(ha).filter(n=>n.canvas===t).pop()};function mD(e,t,n){const r=Object.keys(e);for(const i of r){const u=+i;if(u>=t){const s=e[i];delete e[i],(n>0||u>t)&&(e[u+n]=s)}}}function gD(e,t,n,r){return!n||e.type==="mouseout"?null:r?t:e}class Au{constructor(t,n){const r=this.config=new lD(n),i=ig(t),u=ug(i);if(u)throw new Error("Canvas is already in use. Chart with ID '"+u.id+"' must be destroyed before the canvas with ID '"+u.canvas.id+"' can be reused.");const s=r.createResolver(r.chartOptionScopes(),this.getContext());this.platform=new(r.platform||J2(i)),this.platform.updateConfig(r);const a=this.platform.acquireContext(i,s.aspectRatio),o=a&&a.canvas,l=o&&o.height,d=o&&o.width;if(this.id=QE(),this.ctx=a,this.canvas=o,this.width=d,this.height=l,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new Z2,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=h_(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],ha[this.id]=this,!a||!o){console.error("Failed to create chart: can't acquire context from the given item");return}Gt.listen(this,"complete",If),Gt.listen(this,"progress",pD),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:n},width:r,height:i,_aspectRatio:u}=this;return ie(t)?n&&u?u:i?r/i:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():lf(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return sf(this.canvas,this.ctx),this}stop(){return Gt.stop(this),this}resize(t,n){Gt.running(this)?this._resizeBeforeDraw={width:t,height:n}:this._resize(t,n)}_resize(t,n){const r=this.options,i=this.canvas,u=r.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(i,t,n,u),a=r.devicePixelRatio||this.platform.getDevicePixelRatio(),o=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,lf(this,a,!0)&&(this.notifyPlugins("resize",{size:s}),be(r.onResize,[this,s],this),this.attached&&this._doResize(o)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};ue(n,(r,i)=>{r.id=i})}buildOrUpdateScales(){const t=this.options,n=t.scales,r=this.scales,i=Object.keys(r).reduce((s,a)=>(s[a]=!1,s),{});let u=[];n&&(u=u.concat(Object.keys(n).map(s=>{const a=n[s],o=gc(s,a),l=o==="r",d=o==="x";return{options:a,dposition:l?"chartArea":d?"bottom":"left",dtype:l?"radialLinear":d?"category":"linear"}}))),ue(u,s=>{const a=s.options,o=a.id,l=gc(o,a),d=ee(a.type,s.dtype);(a.position===void 0||Lf(a.position,l)!==Lf(s.dposition))&&(a.position=s.dposition),i[o]=!0;let p=null;if(o in r&&r[o].type===d)p=r[o];else{const g=$t.getScale(d);p=new g({id:o,type:d,ctx:this.ctx,chart:this}),r[p.id]=p}p.init(a,t)}),ue(i,(s,a)=>{s||delete r[a]}),ue(r,s=>{ds.configure(this,s,s.options),ds.addBox(this,s)})}_updateMetasets(){const t=this._metasets,n=this.data.datasets.length,r=t.length;if(t.sort((i,u)=>i.index-u.index),r>n){for(let i=n;in.length&&delete this._stacks,t.forEach((r,i)=>{n.filter(u=>u===r._dataset).length===0&&this._destroyDatasetMeta(i)})}buildOrUpdateControllers(){const t=[],n=this.data.datasets;let r,i;for(this._removeUnreferencedMetasets(),r=0,i=n.length;r{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const n=this.config;n.update();const r=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!r.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0})===!1)return;const u=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let l=0,d=this.data.datasets.length;l{l.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Bf("z","_idx"));const{_active:a,_lastEvent:o}=this;o?this._eventHandler(o,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){ue(this.scales,t=>{ds.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,n=new Set(Object.keys(this._listeners)),r=new Set(t.events);(!Kd(n,r)||!!this._responsiveListeners!==t.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,n=this._getUniformDataChanges()||[];for(const{method:r,start:i,count:u}of n){const s=r==="_removeElements"?-u:u;mD(t,i,s)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const n=this.data.datasets.length,r=u=>new Set(t.filter(s=>s[0]===u).map((s,a)=>a+","+s.splice(1).join(","))),i=r(0);for(let u=1;uu.split(",")).map(u=>({method:u[1],start:+u[2],count:+u[3]}))}_updateLayout(t){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;ds.update(this,this.width,this.height,t);const n=this.chartArea,r=n.width<=0||n.height<=0;this._layers=[],ue(this.boxes,i=>{r&&i.position==="chartArea"||(i.configure&&i.configure(),this._layers.push(...i._layers()))},this),this._layers.forEach((i,u)=>{i._idx=u}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})!==!1){for(let n=0,r=this.data.datasets.length;n=0;--n)this._drawDataset(t[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const n=this.ctx,r=t._clip,i=!r.disabled,u=this.chartArea,s={meta:t,index:t.index,cancelable:!0};this.notifyPlugins("beforeDatasetDraw",s)!==!1&&(i&&Tm(n,{left:r.left===!1?0:u.left-r.left,right:r.right===!1?this.width:u.right+r.right,top:r.top===!1?0:u.top-r.top,bottom:r.bottom===!1?this.height:u.bottom+r.bottom}),t.controller.draw(),i&&Mm(n),s.cancelable=!1,this.notifyPlugins("afterDatasetDraw",s))}isPointInArea(t){return vu(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,n,r,i){const u=N2.modes[n];return typeof u=="function"?u(this,t,r,i):[]}getDatasetMeta(t){const n=this.data.datasets[t],r=this._metasets;let i=r.filter(u=>u&&u._dataset===n).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:t,_dataset:n,_parsed:[],_sorted:!1},r.push(i)),i}getContext(){return this.$context||(this.$context=Wn(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const n=this.data.datasets[t];if(!n)return!1;const r=this.getDatasetMeta(t);return typeof r.hidden=="boolean"?!r.hidden:!n.hidden}setDatasetVisibility(t,n){const r=this.getDatasetMeta(t);r.hidden=!n}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,n,r){const i=r?"show":"hide",u=this.getDatasetMeta(t),s=u.controller._resolveAnimations(void 0,i);Pt(n)?(u.data[n].hidden=!r,this.update()):(this.setDatasetVisibility(t,r),s.update(u,{visible:r}),this.update(a=>a.datasetIndex===t?i:void 0))}hide(t,n){this._updateVisibility(t,n,!1)}show(t,n){this._updateVisibility(t,n,!0)}_destroyDatasetMeta(t){const n=this._metasets[t];n&&n.controller&&n.controller._destroy(),delete this._metasets[t]}_stop(){let t,n;for(this.stop(),Gt.remove(this),t=0,n=this.data.datasets.length;t{n.addEventListener(this,u,s),t[u]=s},i=(u,s,a)=>{u.offsetX=s,u.offsetY=a,this._eventHandler(u)};ue(this.options.events,u=>r(u,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,n=this.platform,r=(o,l)=>{n.addEventListener(this,o,l),t[o]=l},i=(o,l)=>{t[o]&&(n.removeEventListener(this,o,l),delete t[o])},u=(o,l)=>{this.canvas&&this.resize(o,l)};let s;const a=()=>{i("attach",a),this.attached=!0,this.resize(),r("resize",u),r("detach",s)};s=()=>{this.attached=!1,i("resize",u),this._stop(),this._resize(0,0),r("attach",a)},n.isAttached(this.canvas)?a():s()}unbindEvents(){ue(this._listeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._listeners={},ue(this._responsiveListeners,(t,n)=>{this.platform.removeEventListener(this,n,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,n,r){const i=r?"set":"remove";let u,s,a,o;for(n==="dataset"&&(u=this.getDatasetMeta(t[0].datasetIndex),u.controller["_"+i+"DatasetHoverStyle"]()),a=0,o=t.length;a{const a=this.getDatasetMeta(u);if(!a)throw new Error("No dataset found at index "+u);return{datasetIndex:u,element:a.data[s],index:s}});!ra(r,n)&&(this._active=r,this._lastEvent=null,this._updateHoverStyles(r,n))}notifyPlugins(t,n,r){return this._plugins.notify(this,t,n,r)}_updateHoverStyles(t,n,r){const i=this.options.hover,u=(o,l)=>o.filter(d=>!l.some(p=>d.datasetIndex===p.datasetIndex&&d.index===p.index)),s=u(n,t),a=r?t:u(t,n);s.length&&this.updateHoverStyle(s,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(t,n){const r={event:t,replay:n,cancelable:!0,inChartArea:this.isPointInArea(t)},i=s=>(s.options.events||this.options.events).includes(t.native.type);if(this.notifyPlugins("beforeEvent",r,i)===!1)return;const u=this._handleEvent(t,n,r.inChartArea);return r.cancelable=!1,this.notifyPlugins("afterEvent",r,i),(u||r.changed)&&this.render(),this}_handleEvent(t,n,r){const{_active:i=[],options:u}=this,s=n,a=this._getActiveElements(t,i,r,s),o=r_(t),l=gD(t,this._lastEvent,r,o);r&&(this._lastEvent=null,be(u.onHover,[t,a,this],this),o&&be(u.onClick,[t,a,this],this));const d=!ra(a,i);return(d||n)&&(this._active=a,this._updateHoverStyles(a,i,n)),this._lastEvent=l,d}_getActiveElements(t,n,r,i){if(t.type==="mouseout")return[];if(!r)return n;const u=this.options.hover;return this.getElementsAtEventForMode(t,u.mode,u,i)}}const zf=()=>ue(Au.instances,e=>e._plugins.invalidate()),gn=!0;Object.defineProperties(Au,{defaults:{enumerable:gn,value:Z},instances:{enumerable:gn,value:ha},overrides:{enumerable:gn,value:fr},registry:{enumerable:gn,value:$t},version:{enumerable:gn,value:fD},getChart:{enumerable:gn,value:ug},register:{enumerable:gn,value:(...e)=>{$t.add(...e),zf()}},unregister:{enumerable:gn,value:(...e)=>{$t.remove(...e),zf()}}});function sg(e,t,n){const{startAngle:r,pixelMargin:i,x:u,y:s,outerRadius:a,innerRadius:o}=t;let l=i/a;e.beginPath(),e.arc(u,s,a,r-l,n+l),o>i?(l=i/o,e.arc(u,s,o,n+l,r-l,!0)):e.arc(u,s,i,n+Ee,r-Ee),e.closePath(),e.clip()}function yD(e){return F0(e,["outerStart","outerEnd","innerStart","innerEnd"])}function vD(e,t,n,r){const i=yD(e.options.borderRadius),u=(n-t)/2,s=Math.min(u,r*t/2),a=o=>{const l=(n-Math.min(u,o))*r/2;return He(o,0,Math.min(u,l))};return{outerStart:a(i.outerStart),outerEnd:a(i.outerEnd),innerStart:He(i.innerStart,0,s),innerEnd:He(i.innerEnd,0,s)}}function wr(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function yc(e,t,n,r,i,u){const{x:s,y:a,startAngle:o,pixelMargin:l,innerRadius:d}=t,p=Math.max(t.outerRadius+r+n-l,0),g=d>0?d+r+n+l:0;let v=0;const b=i-o;if(r){const M=d>0?d-r:0,I=p>0?p-r:0,L=(M+I)/2,A=L!==0?b*L/(L+r):b;v=(b-A)/2}const k=Math.max(.001,b*p-n/_e)/p,O=(b-k)/2,x=o+O+v,_=i-O-v,{outerStart:w,outerEnd:T,innerStart:D,innerEnd:S}=vD(t,g,p,_-x),y=p-w,f=p-T,m=x+w/y,h=_-T/f,E=g+D,C=g+S,B=x+D/E,F=_-S/C;if(e.beginPath(),u){if(e.arc(s,a,p,m,h),T>0){const L=wr(f,h,s,a);e.arc(L.x,L.y,T,h,_+Ee)}const M=wr(C,_,s,a);if(e.lineTo(M.x,M.y),S>0){const L=wr(C,F,s,a);e.arc(L.x,L.y,S,_+Ee,F+Math.PI)}if(e.arc(s,a,g,_-S/g,x+D/g,!0),D>0){const L=wr(E,B,s,a);e.arc(L.x,L.y,D,B+Math.PI,x-Ee)}const I=wr(y,x,s,a);if(e.lineTo(I.x,I.y),w>0){const L=wr(y,m,s,a);e.arc(L.x,L.y,w,x-Ee,m)}}else{e.moveTo(s,a);const M=Math.cos(m)*p+s,I=Math.sin(m)*p+a;e.lineTo(M,I);const L=Math.cos(h)*p+s,A=Math.sin(h)*p+a;e.lineTo(L,A)}e.closePath()}function bD(e,t,n,r,i){const{fullCircles:u,startAngle:s,circumference:a}=t;let o=t.endAngle;if(u){yc(e,t,n,r,s+oe,i);for(let l=0;l=oe||yu(u,a,o),k=sa(s,l+g,d+g);return b&&k}getCenterPoint(t){const{x:n,y:r,startAngle:i,endAngle:u,innerRadius:s,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius","circumference"],t),{offset:o,spacing:l}=this.options,d=(i+u)/2,p=(s+a+l+o)/2;return{x:n+Math.cos(d)*p,y:r+Math.sin(d)*p}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:n,circumference:r}=this,i=(n.offset||0)/2,u=(n.spacing||0)/2,s=n.circular;if(this.pixelMargin=n.borderAlign==="inner"?.33:0,this.fullCircles=r>oe?Math.floor(r/oe):0,r===0||this.innerRadius<0||this.outerRadius<0)return;t.save();let a=0;if(i){a=i/2;const l=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(l)*a,Math.sin(l)*a),this.circumference>=_e&&(a=i)}t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor;const o=bD(t,this,a,u,s);ED(t,this,a,u,o,s),t.restore()}}j0.id="arc";j0.defaults={borderAlign:"center",borderColor:"#fff",borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0};j0.defaultRoutes={backgroundColor:"backgroundColor"};function ag(e,t,n=t){e.lineCap=ee(n.borderCapStyle,t.borderCapStyle),e.setLineDash(ee(n.borderDash,t.borderDash)),e.lineDashOffset=ee(n.borderDashOffset,t.borderDashOffset),e.lineJoin=ee(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=ee(n.borderWidth,t.borderWidth),e.strokeStyle=ee(n.borderColor,t.borderColor)}function _D(e,t,n){e.lineTo(n.x,n.y)}function wD(e){return e.stepped?V_:e.tension||e.cubicInterpolationMode==="monotone"?U_:_D}function og(e,t,n={}){const r=e.length,{start:i=0,end:u=r-1}=n,{start:s,end:a}=t,o=Math.max(i,s),l=Math.min(u,a),d=ia&&u>a;return{count:r,start:o,loop:t.loop,ilen:l(s+(l?a-T:T))%u,w=()=>{k!==O&&(e.lineTo(d,O),e.lineTo(d,k),e.lineTo(d,x))};for(o&&(v=i[_(0)],e.moveTo(v.x,v.y)),g=0;g<=a;++g){if(v=i[_(g)],v.skip)continue;const T=v.x,D=v.y,S=T|0;S===b?(DO&&(O=D),d=(p*d+T)/++p):(w(),e.lineTo(T,D),b=S,p=0,k=O=D),x=D}w()}function vc(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return!e._decimated&&!e._loop&&!t.tension&&t.cubicInterpolationMode!=="monotone"&&!t.stepped&&!n?kD:DD}function SD(e){return e.stepped?bw:e.tension||e.cubicInterpolationMode==="monotone"?xw:Gn}function PD(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),ag(e,t.options),e.stroke(i)}function CD(e,t,n,r){const{segments:i,options:u}=t,s=vc(t);for(const a of i)ag(e,u,a.style),e.beginPath(),s(e,t,a,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}const OD=typeof Path2D=="function";function FD(e,t,n,r){OD&&!t.options.segment?PD(e,t,n,r):CD(e,t,n,r)}class Ru extends pn{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,n){const r=this.options;if((r.tension||r.cubicInterpolationMode==="monotone")&&!r.stepped&&!this._pointsUpdated){const i=r.spanGaps?this._loop:this._fullLoop;dw(this._points,r,t,i,n),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=Nw(this,this.options.segment))}first(){const t=this.segments,n=this.points;return t.length&&n[t[0].start]}last(){const t=this.segments,n=this.points,r=t.length;return r&&n[t[r-1].end]}interpolate(t,n){const r=this.options,i=t[n],u=this.points,s=Cw(this,{property:n,start:i,end:i});if(!s.length)return;const a=[],o=SD(r);let l,d;for(l=0,d=s.length;le!=="borderDash"&&e!=="fill"};function jf(e,t,n,r){const i=e.options,{[n]:u}=e.getProps([n],r);return Math.abs(t-u)-1?e.split(` +`):e}function LD(e,t){const{element:n,datasetIndex:r,index:i}=t,u=e.getDatasetMeta(r).controller,{label:s,value:a}=u.getLabelAndValue(i);return{chart:e,label:s,parsed:u.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:a,dataset:u.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Vf(e,t){const n=e.chart.ctx,{body:r,footer:i,title:u}=e,{boxWidth:s,boxHeight:a}=t,o=ct(t.bodyFont),l=ct(t.titleFont),d=ct(t.footerFont),p=u.length,g=i.length,v=r.length,b=Ct(t.padding);let k=b.height,O=0,x=r.reduce((T,D)=>T+D.before.length+D.lines.length+D.after.length,0);if(x+=e.beforeBody.length+e.afterBody.length,p&&(k+=p*l.lineHeight+(p-1)*t.titleSpacing+t.titleMarginBottom),x){const T=t.displayColors?Math.max(a,o.lineHeight):o.lineHeight;k+=v*T+(x-v)*o.lineHeight+(x-1)*t.bodySpacing}g&&(k+=t.footerMarginTop+g*d.lineHeight+(g-1)*t.footerSpacing);let _=0;const w=function(T){O=Math.max(O,n.measureText(T).width+_)};return n.save(),n.font=l.string,ue(e.title,w),n.font=o.string,ue(e.beforeBody.concat(e.afterBody),w),_=t.displayColors?s+2+t.boxPadding:0,ue(r,T=>{ue(T.before,w),ue(T.lines,w),ue(T.after,w)}),_=0,n.font=d.string,ue(e.footer,w),n.restore(),O+=b.width,{width:O,height:k}}function BD(e,t){const{y:n,height:r}=t;return ne.height-r/2?"bottom":"center"}function ID(e,t,n,r){const{x:i,width:u}=r,s=n.caretSize+n.caretPadding;if(e==="left"&&i+u+s>t.width||e==="right"&&i-u-s<0)return!0}function zD(e,t,n,r){const{x:i,width:u}=n,{width:s,chartArea:{left:a,right:o}}=e;let l="center";return r==="center"?l=i<=(a+o)/2?"left":"right":i<=u/2?l="left":i>=s-u/2&&(l="right"),ID(l,e,t,n)&&(l="center"),l}function Uf(e,t,n){const r=n.yAlign||t.yAlign||BD(e,n);return{xAlign:n.xAlign||t.xAlign||zD(e,t,n,r),yAlign:r}}function jD(e,t){let{x:n,width:r}=e;return t==="right"?n-=r:t==="center"&&(n-=r/2),n}function VD(e,t,n){let{y:r,height:i}=e;return t==="top"?r+=n:t==="bottom"?r-=i+n:r-=i/2,r}function Wf(e,t,n,r){const{caretSize:i,caretPadding:u,cornerRadius:s}=e,{xAlign:a,yAlign:o}=n,l=i+u,{topLeft:d,topRight:p,bottomLeft:g,bottomRight:v}=Wr(s);let b=jD(t,a);const k=VD(t,o,l);return o==="center"?a==="left"?b+=l:a==="right"&&(b-=l):a==="left"?b-=Math.max(d,g)+i:a==="right"&&(b+=Math.max(p,v)+i),{x:He(b,0,r.width-t.width),y:He(k,0,r.height-t.height)}}function hs(e,t,n){const r=Ct(n.padding);return t==="center"?e.x+e.width/2:t==="right"?e.x+e.width-r.right:e.x+r.left}function Hf(e){return Ut([],Qt(e))}function UD(e,t,n){return Wn(e,{tooltip:t,tooltipItems:n,type:"tooltip"})}function $f(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}class bc extends pn{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart||t._chart,this._chart=this.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const n=this.chart,r=this.options.setContext(this.getContext()),i=r.enabled&&n.options.animation&&r.animations,u=new $m(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(u)),u}getContext(){return this.$context||(this.$context=UD(this.chart.getContext(),this,this._tooltipItems))}getTitle(t,n){const{callbacks:r}=n,i=r.beforeTitle.apply(this,[t]),u=r.title.apply(this,[t]),s=r.afterTitle.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}getBeforeBody(t,n){return Hf(n.callbacks.beforeBody.apply(this,[t]))}getBody(t,n){const{callbacks:r}=n,i=[];return ue(t,u=>{const s={before:[],lines:[],after:[]},a=$f(r,u);Ut(s.before,Qt(a.beforeLabel.call(this,u))),Ut(s.lines,a.label.call(this,u)),Ut(s.after,Qt(a.afterLabel.call(this,u))),i.push(s)}),i}getAfterBody(t,n){return Hf(n.callbacks.afterBody.apply(this,[t]))}getFooter(t,n){const{callbacks:r}=n,i=r.beforeFooter.apply(this,[t]),u=r.footer.apply(this,[t]),s=r.afterFooter.apply(this,[t]);let a=[];return a=Ut(a,Qt(i)),a=Ut(a,Qt(u)),a=Ut(a,Qt(s)),a}_createItems(t){const n=this._active,r=this.chart.data,i=[],u=[],s=[];let a=[],o,l;for(o=0,l=n.length;ot.filter(d,p,g,r))),t.itemSort&&(a=a.sort((d,p)=>t.itemSort(d,p,r))),ue(a,d=>{const p=$f(t.callbacks,d);i.push(p.labelColor.call(this,d)),u.push(p.labelPointStyle.call(this,d)),s.push(p.labelTextColor.call(this,d))}),this.labelColors=i,this.labelPointStyles=u,this.labelTextColors=s,this.dataPoints=a,a}update(t,n){const r=this.options.setContext(this.getContext()),i=this._active;let u,s=[];if(!i.length)this.opacity!==0&&(u={opacity:0});else{const a=Gi[r.position].call(this,i,this._eventPosition);s=this._createItems(r),this.title=this.getTitle(s,r),this.beforeBody=this.getBeforeBody(s,r),this.body=this.getBody(s,r),this.afterBody=this.getAfterBody(s,r),this.footer=this.getFooter(s,r);const o=this._size=Vf(this,r),l=Object.assign({},a,o),d=Uf(this.chart,r,l),p=Wf(r,l,d,this.chart);this.xAlign=d.xAlign,this.yAlign=d.yAlign,u={opacity:1,x:p.x,y:p.y,width:o.width,height:o.height,caretX:a.x,caretY:a.y}}this._tooltipItems=s,this.$context=void 0,u&&this._resolveAnimations().update(this,u),t&&r.external&&r.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(t,n,r,i){const u=this.getCaretPosition(t,r,i);n.lineTo(u.x1,u.y1),n.lineTo(u.x2,u.y2),n.lineTo(u.x3,u.y3)}getCaretPosition(t,n,r){const{xAlign:i,yAlign:u}=this,{caretSize:s,cornerRadius:a}=r,{topLeft:o,topRight:l,bottomLeft:d,bottomRight:p}=Wr(a),{x:g,y:v}=t,{width:b,height:k}=n;let O,x,_,w,T,D;return u==="center"?(T=v+k/2,i==="left"?(O=g,x=O-s,w=T+s,D=T-s):(O=g+b,x=O+s,w=T-s,D=T+s),_=O):(i==="left"?x=g+Math.max(o,d)+s:i==="right"?x=g+b-Math.max(l,p)-s:x=this.caretX,u==="top"?(w=v,T=w-s,O=x-s,_=x+s):(w=v+k,T=w+s,O=x+s,_=x-s),D=w),{x1:O,x2:x,x3:_,y1:w,y2:T,y3:D}}drawTitle(t,n,r){const i=this.title,u=i.length;let s,a,o;if(u){const l=Go(r.rtl,this.x,this.width);for(t.x=hs(this,r.titleAlign,r),n.textAlign=l.textAlign(r.titleAlign),n.textBaseline="middle",s=ct(r.titleFont),a=r.titleSpacing,n.fillStyle=r.titleColor,n.font=s.string,o=0;ow!==0)?(t.beginPath(),t.fillStyle=u.multiKeyBackground,ca(t,{x:O,y:k,w:l,h:o,radius:_}),t.fill(),t.stroke(),t.fillStyle=s.backgroundColor,t.beginPath(),ca(t,{x,y:k+1,w:l-2,h:o-2,radius:_}),t.fill()):(t.fillStyle=u.multiKeyBackground,t.fillRect(O,k,l,o),t.strokeRect(O,k,l,o),t.fillStyle=s.backgroundColor,t.fillRect(x,k+1,l-2,o-2))}t.fillStyle=this.labelTextColors[r]}drawBody(t,n,r){const{body:i}=this,{bodySpacing:u,bodyAlign:s,displayColors:a,boxHeight:o,boxWidth:l,boxPadding:d}=r,p=ct(r.bodyFont);let g=p.lineHeight,v=0;const b=Go(r.rtl,this.x,this.width),k=function(f){n.fillText(f,b.x(t.x+v),t.y+g/2),t.y+=g+u},O=b.textAlign(s);let x,_,w,T,D,S,y;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,t.x=hs(this,O,r),n.fillStyle=r.bodyColor,ue(this.beforeBody,k),v=a&&O!=="right"?s==="center"?l/2+d:l+2+d:0,T=0,S=i.length;T0&&n.stroke()}_updateAnimationTarget(t){const n=this.chart,r=this.$animations,i=r&&r.x,u=r&&r.y;if(i||u){const s=Gi[t.position].call(this,this._active,this._eventPosition);if(!s)return;const a=this._size=Vf(this,t),o=Object.assign({},s,this._size),l=Uf(n,t,o),d=Wf(t,o,l,n);(i._to!==d.x||u._to!==d.y)&&(this.xAlign=l.xAlign,this.yAlign=l.yAlign,this.width=a.width,this.height=a.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,d))}}_willRender(){return!!this.opacity}draw(t){const n=this.options.setContext(this.getContext());let r=this.opacity;if(!r)return;this._updateAnimationTarget(n);const i={width:this.width,height:this.height},u={x:this.x,y:this.y};r=Math.abs(r)<.001?0:r;const s=Ct(n.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&a&&(t.save(),t.globalAlpha=r,this.drawBackground(u,t,i,n),Dw(t,n.textDirection),u.y+=s.top,this.drawTitle(u,t,n),this.drawBody(u,t,n),this.drawFooter(u,t,n),kw(t,n.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,n){const r=this._active,i=t.map(({datasetIndex:a,index:o})=>{const l=this.chart.getDatasetMeta(a);if(!l)throw new Error("Cannot find a dataset at index "+a);return{datasetIndex:a,element:l.data[o],index:o}}),u=!ra(r,i),s=this._positionChanged(i,n);(u||s)&&(this._active=i,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,n,r=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,u=this._active||[],s=this._getActiveElements(t,u,n,r),a=this._positionChanged(s,t),o=n||!ra(s,u)||a;return o&&(this._active=s,(i.enabled||i.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,n))),o}_getActiveElements(t,n,r,i){const u=this.options;if(t.type==="mouseout")return[];if(!i)return n;const s=this.chart.getElementsAtEventForMode(t,u.mode,u,r);return u.reverse&&s.reverse(),s}_positionChanged(t,n){const{caretX:r,caretY:i,options:u}=this,s=Gi[u.position].call(this,t,n);return s!==!1&&(r!==s.x||i!==s.y)}}bc.positioners=Gi;var WD={id:"tooltip",_element:bc,positioners:Gi,afterInit(e,t,n){n&&(e.tooltip=new bc({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(e.notifyPlugins("beforeTooltipDraw",n)===!1)return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:{beforeTitle:Xt,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndexe!=="filter"&&e!=="itemSort"&&e!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const HD=(e,t,n,r)=>(typeof t=="string"?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n);function $D(e,t,n,r){const i=e.indexOf(t);if(i===-1)return HD(e,t,n,r);const u=e.lastIndexOf(t);return i!==u?n:i}const KD=(e,t)=>e===null?null:He(Math.round(e),0,t);class pa extends mr{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const n=this._addedLabels;if(n.length){const r=this.getLabels();for(const{index:i,label:u}of n)r[i]===u&&r.splice(i,1);this._addedLabels=[]}super.init(t)}parse(t,n){if(ie(t))return null;const r=this.getLabels();return n=isFinite(n)&&r[n]===t?n:$D(r,t,ee(n,t),this._addedLabels),KD(n,r.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:r,max:i}=this.getMinMax(!0);this.options.bounds==="ticks"&&(t||(r=0),n||(i=this.getLabels().length-1)),this.min=r,this.max=i}buildTicks(){const t=this.min,n=this.max,r=this.options.offset,i=[];let u=this.getLabels();u=t===0&&n===u.length-1?u:u.slice(t,n+1),this._valueRange=Math.max(u.length-(r?0:1),1),this._startValue=this.min-(r?.5:0);for(let s=t;s<=n;s++)i.push({value:s});return i}getLabelForValue(t){const n=this.getLabels();return t>=0&&tn.length-1?null:this.getPixelForValue(n[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}pa.id="category";pa.defaults={ticks:{callback:pa.prototype.getLabelForValue}};function YD(e,t){const n=[],{bounds:i,step:u,min:s,max:a,precision:o,count:l,maxTicks:d,maxDigits:p,includeBounds:g}=e,v=u||1,b=d-1,{min:k,max:O}=t,x=!ie(s),_=!ie(a),w=!ie(l),T=(O-k)/(p+1);let D=qd((O-k)/b/v)*v,S,y,f,m;if(D<1e-14&&!x&&!_)return[{value:k},{value:O}];m=Math.ceil(O/D)-Math.floor(k/D),m>b&&(D=qd(m*D/b/v)*v),ie(o)||(S=Math.pow(10,o),D=Math.ceil(D*S)/S),i==="ticks"?(y=Math.floor(k/D)*D,f=Math.ceil(O/D)*D):(y=k,f=O),x&&_&&u&&a_((a-s)/u,D/1e3)?(m=Math.round(Math.min((a-s)/D,d)),D=(a-s)/m,y=s,f=a):w?(y=x?s:y,f=_?a:f,m=l-1,D=(f-y)/m):(m=(f-y)/D,Yi(m,Math.round(m),D/1e3)?m=Math.round(m):m=Math.ceil(m));const h=Math.max(Xd(D),Xd(y));S=Math.pow(10,ie(o)?h:o),y=Math.round(y*S)/S,f=Math.round(f*S)/S;let E=0;for(x&&(g&&y!==s?(n.push({value:s}),yi=n?i:o,a=o=>u=r?u:o;if(t){const o=qt(i),l=qt(u);o<0&&l<0?a(0):o>0&&l>0&&s(0)}if(i===u){let o=1;(u>=Number.MAX_SAFE_INTEGER||i<=Number.MIN_SAFE_INTEGER)&&(o=Math.abs(u*.05)),a(u+o),t||s(i-o)}this.min=i,this.max=u}getTickLimit(){const t=this.options.ticks;let{maxTicksLimit:n,stepSize:r}=t,i;return r?(i=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,i>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} would result generating up to ${i} ticks. Limiting to 1000.`),i=1e3)):(i=this.computeTickLimit(),n=n||11),n&&(i=Math.min(n,i)),i}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,n=t.ticks;let r=this.getTickLimit();r=Math.max(2,r);const i={maxTicks:r,bounds:t.bounds,min:t.min,max:t.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},u=this._range||this,s=YD(i,u);return t.bounds==="ticks"&&Em(s,this,"value"),t.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const t=this.ticks;let n=this.min,r=this.max;if(super.configure(),this.options.offset&&t.length){const i=(r-n)/Math.max(t.length-1,1)/2;n-=i,r+=i}this._startValue=n,this._endValue=r,this._valueRange=r-n}getLabelForValue(t){return Ou(t,this.chart.options.locale,this.options.ticks.format)}}class U0 extends ma{determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?t:0,this.max=Be(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),n=t?this.width:this.height,r=Tt(this.options.ticks.minRotation),i=(t?Math.sin(r):Math.cos(r))||.001,u=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,u.lineHeight/i))}getPixelForValue(t){return t===null?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}U0.id="linear";U0.defaults={ticks:{callback:$a.formatters.numeric}};function Yf(e){return e/Math.pow(10,Math.floor(Et(e)))===1}function qD(e,t){const n=Math.floor(Et(t.max)),r=Math.ceil(t.max/Math.pow(10,n)),i=[];let u=vt(e.min,Math.pow(10,Math.floor(Et(t.min)))),s=Math.floor(Et(u)),a=Math.floor(u/Math.pow(10,s)),o=s<0?Math.pow(10,Math.abs(s)):1;do i.push({value:u,major:Yf(u)}),++a,a===10&&(a=1,++s,o=s>=0?1:o),u=Math.round(a*Math.pow(10,s)*o)/o;while(s0?r:null}determineDataLimits(){const{min:t,max:n}=this.getMinMax(!0);this.min=Be(t)?Math.max(0,t):null,this.max=Be(n)?Math.max(0,n):null,this.options.beginAtZero&&(this._zero=!0),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:n}=this.getUserBounds();let r=this.min,i=this.max;const u=o=>r=t?r:o,s=o=>i=n?i:o,a=(o,l)=>Math.pow(10,Math.floor(Et(o))+l);r===i&&(r<=0?(u(1),s(10)):(u(a(r,-1)),s(a(i,1)))),r<=0&&u(a(i,-1)),i<=0&&s(a(r,1)),this._zero&&this.min!==this._suggestedMin&&r===a(this.min,0)&&u(a(r,-1)),this.min=r,this.max=i}buildTicks(){const t=this.options,n={min:this._userMin,max:this._userMax},r=qD(n,this);return t.bounds==="ticks"&&Em(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}getLabelForValue(t){return t===void 0?"0":Ou(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=Et(t),this._valueRange=Et(this.max)-Et(t)}getPixelForValue(t){return(t===void 0||t===0)&&(t=this.min),t===null||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(Et(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const n=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+n*this._valueRange)}}cg.id="logarithmic";cg.defaults={ticks:{callback:$a.formatters.logarithmic,major:{enabled:!0}}};function xc(e){const t=e.ticks;if(t.display&&e.display){const n=Ct(t.backdropPadding);return ee(t.font&&t.font.size,Z.font.size)+n.height}return 0}function XD(e,t,n){return n=pe(n)?n:[n],{w:z_(e,t.string,n),h:n.length*t.lineHeight}}function qf(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:ei?{start:t-n,end:t}:{start:t,end:t+n}}function GD(e){const t={l:e.left+e._padding.left,r:e.right-e._padding.right,t:e.top+e._padding.top,b:e.bottom-e._padding.bottom},n=Object.assign({},t),r=[],i=[],u=e._pointLabels.length,s=e.options.pointLabels,a=s.centerPointLabels?_e/u:0;for(let o=0;ot.r&&(a=(r.end-t.r)/u,e.r=Math.max(e.r,t.r+a)),i.startt.b&&(o=(i.end-t.b)/s,e.b=Math.max(e.b,t.b+o))}function JD(e,t,n){const r=[],i=e._pointLabels.length,u=e.options,s=xc(u)/2,a=e.drawingArea,o=u.pointLabels.centerPointLabels?_e/i:0;for(let l=0;l270||n<90)&&(e-=t),e}function nk(e,t){const{ctx:n,options:{pointLabels:r}}=e;for(let i=t-1;i>=0;i--){const u=r.setContext(e.getPointLabelContext(i)),s=ct(u.font),{x:a,y:o,textAlign:l,left:d,top:p,right:g,bottom:v}=e._pointLabelItems[i],{backdropColor:b}=u;if(!ie(b)){const k=Wr(u.borderRadius),O=Ct(u.backdropPadding);n.fillStyle=b;const x=d-O.left,_=p-O.top,w=g-d+O.width,T=v-p+O.height;Object.values(k).some(D=>D!==0)?(n.beginPath(),ca(n,{x,y:_,w,h:T,radius:k}),n.fill()):n.fillRect(x,_,w,T)}la(n,e._pointLabels[i],a,o+s.lineHeight/2,s,{color:u.color,textAlign:l,textBaseline:"middle"})}}function dg(e,t,n,r){const{ctx:i}=e;if(n)i.arc(e.xCenter,e.yCenter,t,0,oe);else{let u=e.getPointPosition(0,t);i.moveTo(u.x,u.y);for(let s=1;s{const i=be(this.options.pointLabels.callback,[n,r],this);return i||i===0?i:""}).filter((n,r)=>this.chart.getDataVisibility(r))}fit(){const t=this.options;t.display&&t.pointLabels.display?GD(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,n,r,i){this.xCenter+=Math.floor((t-n)/2),this.yCenter+=Math.floor((r-i)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,n,r,i))}getIndexAngle(t){const n=oe/(this._pointLabels.length||1),r=this.options.startAngle||0;return At(t*n+Tt(r))}getDistanceFromCenterForValue(t){if(ie(t))return NaN;const n=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*n:(t-this.min)*n}getValueForDistanceFromCenter(t){if(ie(t))return NaN;const n=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-n:this.min+n}getPointLabelContext(t){const n=this._pointLabels||[];if(t>=0&&t{if(d!==0){a=this.getDistanceFromCenterForValue(l.value);const p=i.setContext(this.getContext(d-1));rk(this,p,a,u)}}),r.display){for(t.save(),s=u-1;s>=0;s--){const l=r.setContext(this.getPointLabelContext(s)),{color:d,lineWidth:p}=l;!p||!d||(t.lineWidth=p,t.strokeStyle=d,t.setLineDash(l.borderDash),t.lineDashOffset=l.borderDashOffset,a=this.getDistanceFromCenterForValue(n.ticks.reverse?this.min:this.max),o=this.getPointPosition(s,a),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(o.x,o.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,n=this.options,r=n.ticks;if(!r.display)return;const i=this.getIndexAngle(0);let u,s;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((a,o)=>{if(o===0&&!n.reverse)return;const l=r.setContext(this.getContext(o)),d=ct(l.font);if(u=this.getDistanceFromCenterForValue(this.ticks[o].value),l.showLabelBackdrop){t.font=d.string,s=t.measureText(a.label).width,t.fillStyle=l.backdropColor;const p=Ct(l.backdropPadding);t.fillRect(-s/2-p.left,-u-d.size/2-p.top,s+p.width,d.size+p.height)}la(t,a.label,0,-u,d,{color:l.color})}),t.restore()}drawTitle(){}}Ya.id="radialLinear";Ya.defaults={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:$a.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback(e){return e},padding:5,centerPointLabels:!1}};Ya.defaultRoutes={"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"};Ya.descriptors={angleLines:{_fallback:"grid"}};const qa={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},tt=Object.keys(qa);function uk(e,t){return e-t}function Xf(e,t){if(ie(t))return null;const n=e._adapter,{parser:r,round:i,isoWeekday:u}=e._parseOpts;let s=t;return typeof r=="function"&&(s=r(s)),Be(s)||(s=typeof r=="string"?n.parse(s,r):n.parse(s)),s===null?null:(i&&(s=i==="week"&&(Jr(u)||u===!0)?n.startOf(s,"isoWeek",u):n.startOf(s,i)),+s)}function Gf(e,t,n,r){const i=tt.length;for(let u=tt.indexOf(e);u=tt.indexOf(n);u--){const s=tt[u];if(qa[s].common&&e._adapter.diff(i,r,s)>=t-1)return s}return tt[n?tt.indexOf(n):0]}function ak(e){for(let t=tt.indexOf(e)+1,n=tt.length;t=t?n[r]:n[i];e[u]=!0}}function ok(e,t,n,r){const i=e._adapter,u=+i.startOf(t[0].value,r),s=t[t.length-1].value;let a,o;for(a=u;a<=s;a=+i.add(a,1,r))o=n[a],o>=0&&(t[o].major=!0);return t}function Jf(e,t,n){const r=[],i={},u=t.length;let s,a;for(s=0;s+t.value))}initOffsets(t){let n=0,r=0,i,u;this.options.offset&&t.length&&(i=this.getDecimalForValue(t[0]),t.length===1?n=1-i:n=(this.getDecimalForValue(t[1])-i)/2,u=this.getDecimalForValue(t[t.length-1]),t.length===1?r=u:r=(u-this.getDecimalForValue(t[t.length-2]))/2);const s=t.length<3?.5:.25;n=He(n,0,s),r=He(r,0,s),this._offsets={start:n,end:r,factor:1/(n+1+r)}}_generate(){const t=this._adapter,n=this.min,r=this.max,i=this.options,u=i.time,s=u.unit||Gf(u.minUnit,n,r,this._getLabelCapacity(n)),a=ee(u.stepSize,1),o=s==="week"?u.isoWeekday:!1,l=Jr(o)||o===!0,d={};let p=n,g,v;if(l&&(p=+t.startOf(p,"isoWeek",o)),p=+t.startOf(p,l?"day":s),t.diff(r,n,s)>1e5*a)throw new Error(n+" and "+r+" are too far apart with stepSize of "+a+" "+s);const b=i.ticks.source==="data"&&this.getDataTimestamps();for(g=p,v=0;gk-O).map(k=>+k)}getLabelForValue(t){const n=this._adapter,r=this.options.time;return r.tooltipFormat?n.format(t,r.tooltipFormat):n.format(t,r.displayFormats.datetime)}_tickFormatFunction(t,n,r,i){const u=this.options,s=u.time.displayFormats,a=this._unit,o=this._majorUnit,l=a&&s[a],d=o&&s[o],p=r[n],g=o&&d&&p&&p.major,v=this._adapter.format(t,i||(g?d:l)),b=u.ticks.callback;return b?be(b,[v,n,r],this):v}generateTickLabels(t){let n,r,i;for(n=0,r=t.length;n0?a:1}getDataTimestamps(){let t=this._cache.data||[],n,r;if(t.length)return t;const i=this.getMatchingVisibleMetas();if(this._normalized&&i.length)return this._cache.data=i[0].controller.getAllParsedValues(this);for(n=0,r=i.length;n=e[r].pos&&t<=e[i].pos&&({lo:r,hi:i}=tr(e,"pos",t)),{pos:u,time:a}=e[r],{pos:s,time:o}=e[i]):(t>=e[r].time&&t<=e[i].time&&({lo:r,hi:i}=tr(e,"time",t)),{time:u,pos:a}=e[r],{time:s,pos:o}=e[i]);const l=s-u;return l?a+(o-a)*(t-u)/l:a}class fg extends Xa{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(t);this._minPos=ps(n,this.min),this._tableRange=ps(n,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:n,max:r}=this,i=[],u=[];let s,a,o,l,d;for(s=0,a=t.length;s=n&&l<=r&&i.push(l);if(i.length<2)return[{time:n,pos:0},{time:r,pos:1}];for(s=0,a=i.length;s2&&arguments[2]!==void 0?arguments[2]:hg;const r=[];e.datasets=t.map(i=>{const u=e.datasets.find(s=>s[n]===i[n]);return!u||!i.data||r.includes(u)?{...i}:(r.push(u),Object.assign(u,i),u)})}function ck(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hg;const n={labels:[],datasets:[]};return pg(n,e.labels),mg(n,e.datasets,t),n}function dk(e,t){let{height:n=150,width:r=300,redraw:i=!1,datasetIdKey:u,type:s,data:a,options:o,plugins:l=[],fallbackContent:d,updateMode:p,...g}=e;const v=j.exports.useRef(null),b=j.exports.useRef(),k=()=>{!v.current||(b.current=new Au(v.current,{type:s,data:ck(a,u),options:o&&{...o},plugins:l}),Zf(t,b.current))},O=()=>{Zf(t,null),b.current&&(b.current.destroy(),b.current=null)};return j.exports.useEffect(()=>{!i&&b.current&&o&&lk(b.current,o)},[i,o]),j.exports.useEffect(()=>{!i&&b.current&&pg(b.current.config.data,a.labels)},[i,a.labels]),j.exports.useEffect(()=>{!i&&b.current&&a.datasets&&mg(b.current.config.data,a.datasets,u)},[i,a.datasets]),j.exports.useEffect(()=>{!b.current||(i?(O(),setTimeout(k)):b.current.update(p))},[i,o,a.labels,a.datasets,p]),j.exports.useEffect(()=>{!b.current||(O(),setTimeout(k))},[s]),j.exports.useEffect(()=>(k(),()=>O()),[]),c("canvas",{...Object.assign({ref:v,role:"img",height:n,width:r},g),children:d})}const fk=j.exports.forwardRef(dk);function hk(e,t){return Au.register(t),j.exports.forwardRef((n,r)=>c(fk,{...Object.assign({},n,{ref:r,type:e})}))}const pk=hk("line",Ha),W0=e=>e.split("-").reverse().join("."),mk=e=>e.split(" ")[0].split("-").reverse().join(".");Au.register(Ru,Ka,U0,WD,pa);const gk=({activeRow:e,tabIndex:t})=>{const[n,r]=j.exports.useState();j.exports.useEffect(()=>{t&&new Re(`https://tmex.gov.tm:8765/api/categories/${t}/tradings`,n,r).get()},[t]);let i;const u={labels:n?n.data[e].all_prices.map(a=>mk(a.date)).reverse():[""],datasets:[{data:n?n.data[e].all_prices.map((a,o)=>o<=9?a.price:""):[""],borderColor:"#4b8dff",pointBorderWidth:2,pointBackgroundColor:"#4b8dff",tension:.1,animation:{onComplete:()=>{i=!0},delay:a=>{let o=0;return a.type==="data"&&a.mode==="default"&&!i&&(o=a.dataIndex*100+a.datasetIndex*100),o}}}]};return c("div",{className:"line-chart",children:c(pk,{data:u,options:{maintainAspectRatio:!1,radius:5,hitRadius:30,hoverRadius:7,scales:{x:{grid:{display:!1}},y:{ticks:{callback:a=>a},grid:{borderDash:[10]}}}}})})},yk=({lang:e})=>{const[t,n]=j.exports.useState(),[r,i]=j.exports.useState(0),[u,s]=j.exports.useState(0),[a,o]=j.exports.useState();j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/categories",t,n).get({"X-Localization":e})},[e]),j.exports.useEffect(()=>{t&&o(t.data[0].id)},[t]),j.exports.useEffect(()=>{i(0)},[u]);const l=(d,p)=>{o(d),s(p)};return c("section",{className:"chart",children:c("div",{className:"container",children:P("div",{className:"chart-wrapper",children:[c("div",{className:"chart-tabs",children:t?t.data.map((d,p)=>c("div",{className:`${a===d.id?"active":""} tab`,onClick:()=>{l(d.id,p)},children:c("span",{children:d.title})},Ua())):null}),P("div",{className:"chart-data",children:[c(GE,{activeRow:r,setActiveRow:i,tabIndex:a,lang:e}),c("div",{className:"line-chart-wrapper",children:c(gk,{activeRow:r,tabIndex:a})})]})]})})})},vk=({lang:e,setPostId:t})=>{const[n,r]=j.exports.useState();return j.exports.useState(),j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/news",n,r).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),P("main",{className:"home-main",children:[c(nb,{lang:e}),c("section",{className:"about",children:c("div",{className:"container",children:P("div",{className:"about-wrapper",children:[e==="ru"?P("div",{className:"about-left",children:[c(ce,{title:"\u041E \u0413\u0422\u0421\u0411\u0422"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"\u0413\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u0430\u044F \u0431\u0438\u0440\u0436\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0431\u044B\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u0423\u043A\u0430\u0437\u043E\u043C \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0442 29 \u0438\u044E\u043B\u044F 1994 \u0433\u043E\u0434\u0430 \u0438 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432\u0430\u0436\u043D\u0435\u0439\u0448\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C \u0438\u043D\u0441\u0442\u0438\u0442\u0443\u0442\u043E\u043C \u0441\u0442\u0440\u0430\u043D\u044B. \u0411\u0438\u0440\u0436\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0433\u043B\u0430\u0432\u043D\u043E\u0433\u043E \u043E\u0440\u0433\u0430\u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E-\u0438\u043C\u043F\u043E\u0440\u0442\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439. \u041E\u0442\u043B\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0445\u0430\u043D\u0438\u0437\u043C \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0435\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u0436\u0434\u0443\u043D\u0430\u0440\u043E\u0434\u043D\u0443\u044E \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u043A\u043E\u0442\u0438\u0440\u043E\u0432\u043A\u0438"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"\u041F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0442\u0430\u0440\u0438\u0444\u044B \u0438 \u0441\u0431\u043E\u0440\u044B"})]})]})]}):null,e==="tm"?P("div",{className:"about-left",children:[c(ce,{title:"TDH\xC7MB BARADA"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easy (TDH\xC7MB) T\xFCrkmenistany\u0148 Prezidentini\u0148 1994-nji \xFDyly\u0148 29-njy i\xFDulyndaky Karary bilen d\xF6redildi we \xFDurdu\u0148 i\u0148 m\xF6h\xFCm ykdysady instituty bolup dur\xFDar. Bir\u017Ea eksport we import amallaryny amala a\u015Fyrmakda d\xF6wleti d\xFCzg\xFCnle\u015Fdir\xFD\xE4n esasy edarany\u0148 wezipesini \xFDerine \xFDetir\xFD\xE4r. Sazla\u015Fykly d\xF6redilen mehanizm halkara ykdysady ulgamyna \xFCst\xFCnlikli birle\u015Fm\xE4ge m\xFCmkin\xE7ilik ber\xFD\xE4r. TDH\xC7MB-ny\u0148 i\u015Fini\u0148 gerimi \xF6r\xE4n gi\u0148dir \u2013 d\xFCrli haryt we maddy ba\xFDlyklary (intellektual e\xFDe\xE7iligi hasaba almazdan), sungat eserlerini we gozgalma\xFDan eml\xE4kleri kabul edip sat\xFDan k\xF6ptarapla\xFDyn bir\u017Easydyr."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Kotirowkalara ge\xE7"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"Nyrhlar we \xFDygymlar"})]})]})]}):null,e==="en"?P("div",{className:"about-left",children:[c(ce,{title:"About the SCRMET"}),c("div",{className:"about-text-wrapper",children:c("p",{className:"about-text",children:"The State Commodity and Raw Materials Exchange of Turkmenistan (SCRMET) was established by the Decree of the President of Turkmenistan on July 29, 1994 and is the most important economic institution of the country. The Exchange functions as the main body of state regulation of export-import operations. Its smoothly functioning mechanism enables it to successfully integrate into the international economic system."})}),P("div",{className:"about-link-wrapper",children:[P("a",{href:`https://tmex.gov.tm/${e}`,className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View Quotations"})]}),P(K,{to:"/tarif",className:"about-link",children:[c("img",{src:qn,alt:"link",className:"about-link-text"}),c("h3",{className:"about-link-text",children:"View tariffs and fees"})]})]})]}):null,c("div",{className:"about-right",children:c(Q3,{videoUrl:"https://www.exchange.gov.tm/page/normative-base?lang=ru"})})]})})}),c(yk,{lang:e}),c("section",{className:"news",children:c("div",{className:"container",children:P("div",{className:"news-wrapper",children:[c(ce,{title:` + ${e==="ru"?"\u041D\u043E\u0432\u043E\u0441\u0442\u0438":e==="tm"?"Habarlar":e==="en"?"News":null}`}),c("div",{className:"news-post-wrapper",children:n?n.data.map((i,u)=>u<=2?c(w3,{title:i.title,shortDes:i.short_description,date:W0(i.date),image:i.image,id:i.id,setPostId:t,lang:e},i.id):null):""})]})})})]})},bk=({lang:e})=>(j.exports.useEffect(()=>{window.scrollTo(0,0)},[]),c("main",{children:P("div",{className:"container",children:[e==="ru"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"\u041E \u0431\u0438\u0440\u0436\u0435"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0413\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u0430\u044F \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u0430\u044F \u0431\u0438\u0440\u0436\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0431\u044B\u043B\u0430 \u0441\u043E\u0437\u0434\u0430\u043D\u0430 \u0423\u043A\u0430\u0437\u043E\u043C \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0442 29 \u0438\u044E\u043B\u044F 1994 \u0433\u043E\u0434\u0430 \u0438 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0432\u0430\u0436\u043D\u0435\u0439\u0448\u0438\u043C \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0438\u043C \u0438\u043D\u0441\u0442\u0438\u0442\u0443\u0442\u043E\u043C \u0441\u0442\u0440\u0430\u043D\u044B. \u0411\u0438\u0440\u0436\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u0442 \u0444\u0443\u043D\u043A\u0446\u0438\u044E \u0433\u043B\u0430\u0432\u043D\u043E\u0433\u043E \u043E\u0440\u0433\u0430\u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u0440\u0435\u0433\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u043D\u043E-\u0438\u043C\u043F\u043E\u0440\u0442\u043D\u044B\u0445 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439. \u041E\u0442\u043B\u0430\u0436\u0435\u043D\u043D\u044B\u0439 \u043C\u0435\u0445\u0430\u043D\u0438\u0437\u043C \u0444\u0443\u043D\u043A\u0446\u0438\u043E\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0435\u0439 \u0443\u0441\u043F\u0435\u0448\u043D\u043E \u0438\u043D\u0442\u0435\u0433\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u043C\u0435\u0436\u0434\u0443\u043D\u0430\u0440\u043E\u0434\u043D\u0443\u044E \u044D\u043A\u043E\u043D\u043E\u043C\u0438\u0447\u0435\u0441\u043A\u0443\u044E \u0441\u0438\u0441\u0442\u0435\u043C\u0443."}),c("p",{children:"\u0421\u043F\u0435\u043A\u0442\u0440 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0413\u0422\u0421\u0411\u0422 \u0447\u0440\u0435\u0437\u0432\u044B\u0447\u0430\u0439\u043D\u043E \u0448\u0438\u0440\u043E\u043A \u2013 \u043E\u043D\u0430 \u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u0443\u043D\u0438\u0432\u0435\u0440\u0441\u0430\u043B\u044C\u043D\u043E\u0439 \u0431\u0438\u0440\u0436\u0435\u0439, \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u044F \u0438 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u044F \u0447\u0435\u0440\u0435\u0437 \u0442\u043E\u0440\u0433\u0438 \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0435 \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u043C\u0430\u0442\u0435\u0440\u0438\u0430\u043B\u044C\u043D\u044B\u0435 \u0446\u0435\u043D\u043D\u043E\u0441\u0442\u0438 (\u0437\u0430 \u0438\u0441\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u044A\u0435\u043A\u0442\u043E\u0432 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0439 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438), \u043F\u0440\u043E\u0438\u0437\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438\u0441\u043A\u0443\u0441\u0441\u0442\u0432\u0430 \u0438 \u043D\u0435\u0434\u0432\u0438\u0436\u0438\u043C\u043E\u0441\u0442\u044C."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0438 \u0446\u0435\u043B\u0438 \u0431\u0438\u0440\u0436\u0438"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0440\u0430\u0432\u043D\u044B\u0435 \u0443\u0441\u043B\u043E\u0432\u0438\u044F \u0434\u043B\u044F \u0435\u0435 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u2013 \u0434\u0435\u043B\u043E\u0432\u044B\u043C \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u043C \u043B\u044E\u0434\u044F\u043C \u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044F\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0438 \u0443\u0441\u043A\u043E\u0440\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440\u043E\u043E\u0431\u043E\u0440\u043E\u0442"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u041D\u0430\u0441\u044B\u0442\u0438\u0442\u044C \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0438\u0439 \u0440\u044B\u043D\u043E\u043A \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u043C\u0438 \u0442\u043E\u0432\u0430\u0440\u0430\u043C\u0438 \u043D\u0430\u0440\u043E\u0434\u043D\u043E\u0433\u043E \u043F\u043E\u0442\u0440\u0435\u0431\u043B\u0435\u043D\u0438\u044F, \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0435\u0439 \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u0435\u043D\u043D\u043E-\u0442\u0435\u0445\u043D\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0438 \u043E\u0431\u043E\u0440\u0443\u0434\u043E\u0432\u0430\u043D\u0438\u0435\u043C, \u043F\u0440\u0435\u0434\u043D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044B\u043C \u0434\u043B\u044F \u043C\u043E\u0434\u0435\u0440\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u043D\u0430\u0440\u043E\u0434\u043D\u043E-\u0445\u043E\u0437\u044F\u0439\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u0430 \u0441\u0442\u0440\u0430\u043D\u044B."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u041A\u0432\u0430\u043B\u0438\u0444\u0438\u0446\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0441\u043F\u0435\u0446\u0438\u0430\u043B\u0438\u0441\u0442\u044B \u0431\u0438\u0440\u0436\u0438 \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u044E\u0442 \u0446\u0435\u043B\u0435\u0441\u043E\u043E\u0431\u0440\u0430\u0437\u043D\u043E\u0441\u0442\u044C \u0432\u0432\u043E\u0437\u0430 \u0438 \u0432\u044B\u0432\u043E\u0437\u0430 \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0438, \u043F\u0440\u043E\u0432\u043E\u0434\u044F\u0442 \u0430\u043D\u0430\u043B\u0438\u0437 \u0432\u043B\u0438\u044F\u043D\u0438\u044F \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u0444\u0430\u043A\u0442\u043E\u0440\u043E\u0432 \u043D\u0430 \u0438\u043C\u043F\u043E\u0440\u0442 \u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442 \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u0438 \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u0438."}),c("p",{children:"\u0413\u043B\u0430\u0432\u043D\u044B\u043C \u0434\u043E\u0441\u0442\u0438\u0436\u0435\u043D\u0438\u0435 \u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0445 \u043B\u0435\u0442 \u0441\u0442\u0430\u043B\u043E \u0432\u043D\u0435\u0434\u0440\u0435\u043D\u0438\u0435 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0433\u043E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043E\u0431\u043E\u0440\u043E\u0442\u0430 \u2013 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441\u0438\u0441\u0442\u0435\u043C\u044B, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435 \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u043E\u0432 \u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u043D\u0430\u0447\u0438\u043D\u0430\u044F \u0441 \u0438\u0445 \u0432\u0432\u043E\u0434\u0430 \u0432 \u0431\u0430\u0437\u0443 \u0434\u0430\u043D\u043D\u044B\u0445 \u0438 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u044F \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0435\u0439 \u0438 \u0432\u044B\u0434\u0430\u0447\u0435\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u0443."}),c("p",{children:"\u041D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0440\u0435\u0430\u043B\u0438\u0437\u0443\u0435\u0442\u0441\u044F \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u044F \u043E\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0433\u043E \u043F\u0440\u043E\u0438\u0437\u0432\u043E\u0434\u0441\u0442\u0432\u0430, \u043A\u043E\u0442\u043E\u0440\u0430\u044F \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0438\u0440\u0443\u0435\u0442\u0441\u044F \u0432 \u0431\u043E\u043B\u0435\u0435 40 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043C\u0438\u0440\u0430. \u0421\u0440\u0435\u0434\u0438 \u043D\u0438\u0445 - \u0422\u0443\u0440\u0446\u0438\u044F, \u041A\u0438\u0442\u0430\u0439, \u0420\u043E\u0441\u0441\u0438\u044F, \u041E\u0410\u042D, \u0413\u0435\u0440\u043C\u0430\u043D\u0438\u044F, \u0421\u0428\u0410, \u0412\u0435\u043B\u0438\u043A\u043E\u0431\u0440\u0438\u0442\u0430\u043D\u0438\u044F, \u0423\u043A\u0440\u0430\u0438\u043D\u0430, \u0428\u0432\u0435\u0439\u0446\u0430\u0440\u0438\u044F. \u041E\u0441\u043D\u043E\u0432\u043D\u044B\u043C\u0438 \u0441\u0442\u0430\u0442\u044C\u044F\u043C\u0438 \u044D\u043A\u0441\u043F\u043E\u0440\u0442\u0430 \u044F\u0432\u043B\u044F\u044E\u0442\u0441\u044F \u043D\u0435\u0444\u0442\u0435\u043F\u0440\u043E\u0434\u0443\u043A\u0442\u044B, \u0445\u043B\u043E\u043F\u043E\u043A-\u0432\u043E\u043B\u043E\u043A\u043D\u043E, \u043F\u0440\u043E\u0434\u0443\u043A\u0446\u0438\u044F \u0442\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043D\u043E\u0439 \u0438 \u0445\u0438\u043C\u0438\u0447\u0435\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u0438 \u0438 \u0442.\u0434."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438"}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u0412 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0417\u0430\u043A\u043E\u043D\u043E\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \xAB\u041E \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u044B\u0445 \u0431\u0438\u0440\u0436\u0430\u0445\xBB, \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u044F \u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438, \u0433\u0440\u0430\u0436\u0434\u0430\u043D\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043F\u0443\u0442\u0435\u043C \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0438\u043B\u0438 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438."})})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0443\u044E\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u043D\u0446\u0438\u043F\u043E\u0432:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u0413\u043B\u0430\u0441\u043D\u043E\u0441\u0442\u044C \u0438 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u0421\u0432\u043E\u0431\u043E\u0434\u0430 \u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0446\u0435\u043D \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u0431\u0440\u043E\u0432\u043E\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0441\u0434\u0435\u043B\u043E\u043A."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0432\u0435\u043D\u0441\u0442\u0432\u043E \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u0443\u0447\u0430\u0441\u0442\u0438\u044F \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0434\u043B\u044F \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0427\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0438\u043B\u0438 \u043F\u043E\u043A\u0443\u043F\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0441\u0442\u0443\u043F\u0430\u0442\u044C \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043B\u0438\u0446\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438."}),c("p",{children:"\u041B\u0438\u0446\u0430, \u043D\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0448\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E, \u0447\u0442\u043E\u0431\u044B \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0442\u043E\u0432\u0430\u0440\u043E\u0432, \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u0433\u043E\u0432\u043E\u0440 \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u0438\u0445 \u0443\u0441\u043B\u0443\u0433 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0411\u0438\u0440\u0436\u0438."})]})]})]}):null,e==="tm"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"Bir\u017Ea barada"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easy (TDH\xC7MB) T\xFCrkmenistany\u0148 Prezidentini\u0148 1994-nji \xFDyly\u0148 29-njy i\xFDulyndaky Karary bilen d\xF6redildi we \xFDurdu\u0148 i\u0148 m\xF6h\xFCm ykdysady instituty bolup dur\xFDar. Bir\u017Ea eksport we import amallaryny amala a\u015Fyrmakda d\xF6wleti d\xFCzg\xFCnle\u015Fdir\xFD\xE4n esasy edarany\u0148 wezipesini \xFDerine \xFDetir\xFD\xE4r. Sazla\u015Fykly d\xF6redilen mehanizm halkara ykdysady ulgamyna \xFCst\xFCnlikli birle\u015Fm\xE4ge m\xFCmkin\xE7ilik ber\xFD\xE4r."}),c("p",{children:"TDH\xC7MB-ny\u0148 i\u015Fini\u0148 gerimi \xF6r\xE4n gi\u0148dir \u2013 d\xFCrli haryt we maddy ba\xFDlyklary (intellektual e\xFDe\xE7iligi hasaba almazdan), sungat eserlerini we gozgalma\xFDan eml\xE4kleri kabul edip sat\xFDan k\xF6ptarapla\xFDyn bir\u017Easydyr."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Bir\u017Eany\u0148 wezipeleri we maksatlary:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eany\u0148 m\xFC\u015Fderileri \u2013 T\xFCrkmenistanly teleke\xE7iler we da\u015Fary \xFDurtly i\u015Few\xFCrler \xFC\xE7in de\u0148 \u015Fertleri d\xF6retmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"S\xF6wda dolany\u015Fygyny \xFDokarlandyrmak we \xE7altla\u015Fdyrmak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\xDDurdu\u0148 milli ykdysady toplumyny d\xF6wrebapla\u015Fdyrmak \xFC\xE7in i\xE7erki bazary zerur sarp edi\u015F harytlary, \xF6n\xFCm\xE7ilik, tehniki \xF6n\xFCmler we enjamlar bilen doldurmak."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Bir\u017Eany\u0148 \xF6kde h\xFCn\xE4rmenleri \xF6n\xFCmleri\u0148 importyny\u0148 we eksportyny\u0148 maksadala\xFDyklygyna baha ber\xFD\xE4rler, d\xFCrli faktorlary\u0148 harytlary\u0148 we \xF6n\xFCmleri\u0148 importyna we eksportyna ed\xFD\xE4n t\xE4sirini seljer\xFD\xE4rler."}),c("p",{children:"Bir\u017Ea s\xF6wdasynda \xFDerli \xF6nd\xFCrilen \xF6n\xFCmler d\xFCn\xFD\xE4ni\u0148 40-dan gowrak \xFDurduna eksport edil\xFD\xE4r we aly\u015F-\xE7aly\u015F s\xF6wdala\u015Fyklarynda satyl\xFDar. Olary\u0148 arasynda T\xFCrki\xFDe, Hyta\xFD, Russi\xFDa, BAE, Germani\xFDa, AB\u015E, Be\xFDik Britani\xFDa, Ukraina, \u015Ewe\xFDsari\xFDa \xFDaly \xFDurtlar bar. Esasy eksport \xF6n\xFCmleri bolup nebit, pagta s\xFC\xFD\xFCmi, dokma we himi\xFDa senagatyny\u0148 \xF6n\xFCmleri we \u015F.m. hyzmat ed\xFD\xE4r."})]})]})]}):null,e==="en"?P("div",{className:"sub-page-wrapper",children:[c(ce,{title:"About the Exchange"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"The State Commodity and Raw Materials Exchange of Turkmenistan (SCRMET) was established by the Decree of the President of Turkmenistan on July 29, 1994 and is the most important economic institution of the country. The Exchange functions as the main body of state regulation of export-import operations. Its smoothly functioning mechanism enables it to successfully integrate into the international economic system."}),c("p",{children:"The range of the SCRMET activities is extremely wide \u2013 it is a universal exchange, accepting and selling various commodities and materials (except intellectual property objects), works of art and real estate through auctions."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Objectives and aims of the exchange:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"to create an equal playing field for its participants \u2013 foreign businessmen and entrepreneurs of Turkmenistan;"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"to increase and accelerate trade turnover;"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"to saturate domestic market with necessary consumer goods, production of industrial-technical purpose and equipment for modernization of national economy complex."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Qualified specialists of the exchange evaluate expediency of import and export of products, analyze influence of various factors on import and export of goods and products."}),c("p",{children:"Domestic products, which are exported to more than 40 countries, are traded at commodity exchanges. Among them are Turkey, China, Russia, UAE, Germany, USA, UK, Ukraine and Switzerland. The main export items are petroleum products, cotton fibre, textile and chemical products, etc."})]})]})]}):null]})})),xk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0412 \u0446\u0435\u043B\u044F\u0445 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u0440\u043E\u0442\u0438\u0432\u043E\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0434\u043E\u0445\u043E\u0434\u043E\u0432, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u044B\u0445 \u043E\u0442 \u043F\u0440\u0435\u0441\u0442\u0443\u043F\u043D\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438, \u0438 \u0444\u0438\u043D\u0430\u043D\u0441\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044E \u0442\u0435\u0440\u0440\u043E\u0440\u0438\u0437\u043C\u0430, \u043D\u0430 \u0431\u0438\u0440\u0436\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u044B \u041F\u0440\u0430\u0432\u0438\u043B\u0430, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u043E\u043F\u0440\u0435\u0434\u0435\u043B\u044F\u044E\u0442 \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0446\u0435\u043B\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0438, \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F \u0432\u043D\u0443\u0442\u0440\u0435\u043D\u043D\u0435\u0433\u043E \u043A\u043E\u043D\u0442\u0440\u043E\u043B\u044F. \u0422\u0430\u043A\u0436\u0435 \u0431\u0438\u0440\u0436\u0435\u0439 \u043D\u0430\u0437\u043D\u0430\u0447\u0430\u0435\u0442\u0441\u044F \u043B\u0438\u0446\u043E, \u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0435 \u0437\u0430 \u0441\u043E\u0431\u043B\u044E\u0434\u0435\u043D\u0438\u0435 \u044D\u0442\u0438\u0445 \u043F\u0440\u0430\u0432\u0438\u043B."}),c("p",{children:"\u0421\u043E\u0442\u0440\u0443\u0434\u043D\u0438\u043A \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438, \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438 \u043E\u0442 \u043A\u043B\u0438\u0435\u043D\u0442\u0430, \u0442\u0449\u0430\u0442\u0435\u043B\u044C\u043D\u043E \u043F\u0440\u043E\u0432\u0435\u0440\u044F\u0435\u0442 \u0435\u0435 \u0441 \u0443\u0447\u0435\u0442\u043E\u043C \u0432\u0438\u0434\u043E\u0432 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0438 \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0439 \u043A\u043B\u0438\u0435\u043D\u0442\u0430, \u043E\u0446\u0435\u043D\u0438\u0432\u0430\u0435\u0442 \u0438 \u043F\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0443\u0440\u043E\u0432\u0435\u043D\u044C \u0440\u0438\u0441\u043A\u0430, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0432\u043D\u043E\u0441\u0438\u0442 \u0435\u0435 \u0432 \u0410\u0411\u0421."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \u0444\u0438\u043D. \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433\u0430"}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u041F\u043E\u0434\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u043D\u0430 \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044E \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430 \u0438\u043B\u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0436\u043D\u043E \u043E\u043D\u043B\u0430\u0439\u043D. \u041B\u0438\u0447\u043D\u044B\u0439 \u043A\u0430\u0431\u0438\u043D\u0435\u0442 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F \u043F\u043E\u0437\u0432\u043E\u043B\u044F\u0435\u0442 \u0432\u043D\u0435\u0441\u0442\u0438 \u0434\u0430\u043D\u043D\u044B\u0435 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u0441\u043A\u0430\u0447\u0430\u0442\u044C \u0431\u043B\u0430\u043D\u043A\u0438 \u0438 \u043E\u0431\u0440\u0430\u0437\u0446\u044B \u0437\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u0439, \u0432\u0435\u0441\u0442\u0438 \u043E\u0431\u0449\u0435\u043D\u0438\u0435 \u0441 \u0430\u0434\u043C\u0438\u043D\u0438\u0441\u0442\u0440\u0430\u0442\u043E\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438, \u0434\u043E\u043F\u043E\u043B\u043D\u044F\u0442\u044C \u043F\u0430\u043A\u0435\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432, \u0435\u0441\u043B\u0438 \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043A\u0430\u044F \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u044C. \u0424\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438, \u0432\u0441\u044F \u0440\u0430\u0431\u043E\u0442\u0430 \u0441 \u0431\u0438\u0440\u0436\u0435\u0439 \u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0441\u044F \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442\u0430."}),c("p",{children:"\u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0441\u0435\u0440\u0432\u0438\u0441\u043E\u043C \u2013 \u043F\u0440\u043E\u0439\u0434\u0438\u0442\u0435 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044E \u0432 \u041B\u0438\u0447\u043D\u043E\u043C \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0435."})]})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"Mali\xFDe g\xF6zeg\xE7iligi"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Jena\xFDat\xE7ylykdan alnan girdejileri\u0148 kanunla\u015Fdyrylmagyna we terror\xE7ylygy mali\xFDele\u015Fdirm\xE4ge gar\u015Fy \xE7\xE4releri guramak \xFC\xE7in bir\u017Ea esasy maksatlary we wezipeleri, i\xE7erki g\xF6zeg\xE7ilik talaplaryny kesgitle\xFD\xE4n d\xFCzg\xFCnlerini d\xF6retdi. \u015Ee\xFDle hem, bir\u017Ea bu d\xFCzg\xFCnleri\u0148 berja\xFD edilmegi \xFC\xE7in jogapk\xE4r adamy belle\xFD\xE4r."}),c("p",{children:"M\xFC\u015Fderiden alnan maglumatlara esaslanyp, komissi\xFDany\u0148 i\u015Fg\xE4ri m\xFC\u015Fderini\u0148 i\u015Flerini\u0148 we amallaryny\u0148 g\xF6rn\xFC\u015Flerini g\xF6z \xF6\u0148\xFCnde tutup, ony \xFCns bilen barla\xFDar, degi\u015Fli t\xF6wekgel\xE7ilik derejesini bahalandyr\xFDar we belle\xFD\xE4r, \u015Fe\xFDle hem ABU-yna giriz\xFD\xE4r."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"Mali\xFDe g\xF6zeg\xE7iligi b\xF6l\xFCminde hasaba aly\u015F "}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Hukuk guramasyny\u0148 \xFDa-da teleke\xE7ini\u0148 kanunla\u015Fdyrylmagy \xFC\xE7in resminamalary onla\xFDn g\xF6rn\xFC\u015Finde hasaba alyp bolar. Ulanyjyny\u0148 \u015Fahsy otagy maglumatlary girizm\xE4ge we resminamalary \xFD\xFCklem\xE4ge, anketalary we nusgalary g\xF6\xE7\xFCrip almaga, aly\u015F-\xE7aly\u015F dolandyryjylary bilen habarla\u015Fmaga, zerur bolsa resminamalar bukjasyny doldurmaga m\xFCmkin\xE7ilik ber\xFD\xE4r. Umuman, bir\u017Ea bilen baglany\u015Fykly \xE4hli i\u015Fler interneti\u0148 k\xF6megi bilen doly awtomatla\u015Fdyryl\xFDar."}),c("p",{children:"Hyzmaty ulanmak \xFC\xE7in \u015Eahsy otagy\u0148yzda hasaba alynmagy\u0148yz h\xF6kmanydyr."})]})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Financial monitoring"}),P("div",{className:"sub-page-content-wrapper",children:[P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"In order to organize counteraction to the legalization of proceeds from criminal activity and the financing of terrorism, the exchange has established Rules that define the main goals and objectives, internal control requirements. The exchange also appoints a person responsible for compliance with these rules."}),c("p",{children:"An employee of the commission, based on the information received from the client, carefully checks it taking into account the types of activities and operations of the client, evaluates and assigns the appropriate level of risk, and also enters it into the AES."})]}),P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:"Registration in the financial monitoring department"}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"You can submit documents for the legalization of a legal entity or entrepreneur online. The user's personal account allows you to enter data and upload documents, download forms and application samples, communicate with exchange administrators, supplement the package of documents if necessary. In fact, all work with the exchange becomes automated using the Internet."}),c("p",{children:"To use the service, register in your Personal Account."})]})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u044B\u0439 \u043C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})},Ek=({lang:e,id:t,title:n})=>{const[r,i]=j.exports.useState();return j.exports.useEffect(()=>{new Re(`https://tmex.gov.tm:8765/api/documents?category=${t}`,r,i).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),P("div",{className:"documents-wrapper",children:[c("h2",{className:"sub-page-file-title",children:n}),c("div",{className:"documents-links-wrapper",children:r?r.data.map(u=>u.page==="\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"&&u.title!="-"?c(La,{title:u.title,link:u.file},Ua()):null):""})]})},_k=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/document/categories",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u041D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u0430\u044F \u0431\u0430\u0437\u0430"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u0430\u044F \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0432 \u0441\u0432\u043E\u0435\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044F \u041A\u043E\u043D\u0441\u0442\u0438\u0442\u0443\u0446\u0438\u0435\u0439, \u0437\u0430\u043A\u043E\u043D\u0430\u043C\u0438, \u0430\u043A\u0442\u0430\u043C\u0438 \u041F\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u0430, \u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435\u043C \u0411\u0438\u0440\u0436\u0438, \u043F\u0440\u0430\u0432\u0438\u043B\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438 \u0438 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u043D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u043E-\u043F\u0440\u0430\u0432\u043E\u0432\u044B\u043C\u0438 \u0430\u043A\u0442\u0430\u043C\u0438."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0412 \u043A\u043E\u043C\u043F\u0435\u0442\u0435\u043D\u0446\u0438\u044E \u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u043E\u0439 \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438 \u0432\u0445\u043E\u0434\u0438\u0442:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u0410\u043D\u043D\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F \u0441\u0434\u0435\u043B\u043E\u043A, \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u043D\u044B\u0445 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u0410\u043D\u043D\u0443\u043B\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u0438 \u043D\u0435\u0432\u043E\u0441\u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u043D\u044B\u0445 \u043D\u0430 \u0411\u0438\u0440\u0436\u0435 \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043F\u043E\u0440\u043E\u0432 \u043F\u043E \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u043C \u0441\u0434\u0435\u043B\u043A\u0430\u043C \u0438 \u0432\u043E\u043F\u0440\u043E\u0441\u0430\u043C \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u0441\u043F\u043E\u0440\u043E\u0432 \u043F\u043E \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430\u043C, \u043F\u0440\u0438 \u0438\u0445 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438, \u0432\u043D\u0435\u0441\u0435\u043D\u0438\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0439 \u0438 \u0440\u0430\u0441\u0442\u043E\u0440\u0436\u0435\u043D\u0438\u0438."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\u041A\u043E\u043C\u0438\u0441\u0441\u0438\u044F \u0432\u043F\u0440\u0430\u0432\u0435 \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u044C, \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u0438 \u0432\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u043F\u0440\u0438\u043D\u044F\u0442\u043E\u0435 \u0440\u0435\u0448\u0435\u043D\u0438\u0435."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435 \u043D\u0430\u0440\u0443\u0448\u0435\u043D\u0438\u0439, \u0434\u043E\u043F\u0443\u0449\u0435\u043D\u043D\u044B\u0445 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0418\u043D\u0441\u0442\u0440\u0443\u043A\u0446\u0438\u044F \u043E \u043F\u043E\u0440\u044F\u0434\u043A\u0435 \u043A\u043E\u043D\u0441\u0443\u043B\u044C\u0441\u043A\u043E\u0439 \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u0438"}),c("p",{children:"\u041A\u043E\u043D\u0441\u0443\u043B\u044C\u0441\u043A\u0430\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u0437\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0438 \u0438 \u0437\u0430\u0441\u0432\u0438\u0434\u0435\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u043E\u0432\u0430\u043D\u0438\u0438 \u043F\u043E\u0434\u043B\u0438\u043D\u043D\u043E\u0441\u0442\u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u0435\u0439 \u043D\u0430 \u044A\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0445 \u0438 \u0430\u043A\u0442\u0430\u0445, \u0430 \u0442\u0430\u043A\u0436\u0435 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044F \u0438\u0445 \u0437\u0430\u043A\u043E\u043D\u0430\u043C \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0430 \u043F\u0440\u0435\u0431\u044B\u0432\u0430\u043D\u0438\u044F \u043A\u043E\u043D\u0441\u0443\u043B\u0430 \u043F\u0443\u0442\u0435\u043C \u0441\u043E\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0439 \u043D\u0430\u0434\u043F\u0438\u0441\u0438 \u0438\u043B\u0438 \u043F\u0440\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u043B\u0435\u0433\u0430\u043B\u0438\u0437\u0430\u0446\u0438\u043E\u043D\u043D\u043E\u0433\u043E \u0448\u0442\u0430\u043C\u043F\u0430 \u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u043C \u0438 \u0430\u043D\u0433\u043B\u0438\u0439\u0441\u043A\u043E\u043C \u044F\u0437\u044B\u043A\u0430\u0445."})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"KADALA\u015EDYRYLAN TOPLUM"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"Arbitra\u017E ge\u0148e\u015Fi \xF6z i\u015Finde T\xFCrkmenistany\u0148 Konstitusi\xFDasy, T\xFCrkmenistany\u0148 Prezidentini\u0148 Permanlary, Kararlary, Bir\u017Eany\u0148 d\xFCzg\xFCnleri, aly\u015F-\xE7aly\u015F s\xF6wdasyny\u0148 kadalary we be\xFDleki kadala\u015Fdyryjy hukuk namalaryna esaslan\xFDar."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Arbitra\u017E ge\u0148e\u015Fini\u0148 ygty\xFDarlygy \u015Fulary \xF6z i\xE7ine al\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdala\u015Fyklarynda baglany\u015Fylan ylala\u015Fyklary\u0148 t\xE4sirini\u0148 \xFDatyrylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eada hasaba alnan we talap edilmedik \u015Fertnamalary\u0148 \xFDatyrylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea amallary we aly\u015F-\xE7aly\u015F s\xF6wdasy baradaky jedellere garamak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Jedeller baglany\u015Fylanda, \xFC\xFDtgedilende we \xFDatyrylanda \u015Fertnamalara garamak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Ge\u0148e\u015Fi\u0148 kabul edilen karary \xFC\xFDtgetm\xE4ge, \xFDatyrmaga we dikeltm\xE4ge hukugy bar."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fyjylar tarapyndan \xFDol berlen d\xFCzg\xFCn bozulmalaryna garamak."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Konsullygy kanunla\u015Fdyrmagy\u0148 tertibi bo\xFDun\xE7a g\xF6rkezmeler"}),c("p",{children:"Konsullygy\u0148 kanunla\u015Fdyrylmagy resminamalara we hereketlere gollary\u0148 dogrudygyny kesgitlemekden, \u015Fe\xFDle hem kanunla\u015Fdyrmak \xFDazgysyny \xFDazmak \xFDa-da d\xF6wlet we i\u0148lis dillerinde kanunla\u015Fdyry\u015F m\xF6h\xFCrini go\xFDmak arkaly konsuly\u0148 kabul ed\xFD\xE4n d\xF6wletini\u0148 kanunlaryna la\xFDyk gelmegini kesgitlemekden ybaratdyr."})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Regulatory framework"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"The Arbitration Commission in its activities is guided by the Constitution, laws, acts of the President, the regulations of the Exchange, the rules of exchange trading and other regulatory legal acts."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"The competence of the Arbitration Commission includes:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Cancellation of transactions concluded at exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Cancellation of contracts registered and unclaimed on the Exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of disputes on exchange transactions and issues of exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of disputes under contracts, when they are concluded, amended and terminated."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"The Commission has the right to change, cancel and restore the adopted decision."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Consideration of violations committed by participants of exchange trading."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Instructions on the procedure of consular legalization"}),c("p",{children:"Consular legalization consists in establishing and certifying the authenticity of signatures on legal documents and acts, as well as their compliance with the laws of the consul's state of residence by making a legalization inscription or affixing a legalization stamp in the state and English languages."})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),t?t.data.map(r=>r.title!="-"?c(Ek,{id:r.id,lang:e,title:r.title},Ua()):null):null]})]})})})},wk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u041F\u0440\u0430\u0432\u0438\u043B\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u043E\u0439 \u0442\u043E\u0440\u0433\u043E\u0432\u043B\u0438"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u0412 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0417\u0430\u043A\u043E\u043D\u043E\u043C \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \xAB\u041E \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u044B\u0445 \u0431\u0438\u0440\u0436\u0430\u0445\xBB, \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432 \u043C\u043E\u0433\u0443\u0442 \u0431\u044B\u0442\u044C \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u044F\u0442\u0438\u044F \u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438, \u0433\u0440\u0430\u0436\u0434\u0430\u043D\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u043F\u0443\u0442\u0435\u043C \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0438\u043B\u0438 \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435\u043C \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u0430 \u043D\u0430 \u043E\u0431\u0441\u043B\u0443\u0436\u0438\u0432\u0430\u043D\u0438\u0435 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0431\u0438\u0440\u0436\u0438."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0443\u044E\u0442\u0441\u044F \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u0438 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0445 \u043F\u0440\u0438\u043D\u0446\u0438\u043F\u043E\u0432:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u0413\u043B\u0430\u0441\u043D\u043E\u0441\u0442\u044C \u0438 \u043F\u0443\u0431\u043B\u0438\u0447\u043D\u043E\u0441\u0442\u044C \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u0421\u0432\u043E\u0431\u043E\u0434\u0430 \u0444\u043E\u0440\u043C\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F \u0446\u0435\u043D \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u0431\u0440\u043E\u0432\u043E\u043B\u044C\u043D\u043E\u0441\u0442\u044C \u0437\u0430\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u044F \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0441\u0434\u0435\u043B\u043E\u043A."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0430\u0432\u0435\u043D\u0441\u0442\u0432\u043E \u0443\u0441\u043B\u043E\u0432\u0438\u0439 \u0443\u0447\u0430\u0441\u0442\u0438\u044F \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445 \u0434\u043B\u044F \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u043E\u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u043E\u0432."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"\u0427\u0442\u043E\u0431\u044B \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0445 \u0442\u043E\u0440\u0433\u0430\u0445, \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E. \u0412 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043F\u0440\u043E\u0434\u0430\u0432\u0446\u0430 \u0438\u043B\u0438 \u043F\u043E\u043A\u0443\u043F\u0430\u0442\u0435\u043B\u044F \u043C\u043E\u0433\u0443\u0442 \u0432\u044B\u0441\u0442\u0443\u043F\u0430\u0442\u044C \u0444\u0438\u0437\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0435 \u043B\u0438\u0446\u0430 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u0438 \u0438\u043D\u043E\u0441\u0442\u0440\u0430\u043D\u043D\u044B\u0445 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432 \u0432\u0441\u0435\u0445 \u0444\u043E\u0440\u043C \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0441\u0442\u0438."}),c("p",{children:"\u041B\u0438\u0446\u0430, \u043D\u0435 \u043F\u0440\u0438\u043E\u0431\u0440\u0435\u0442\u0448\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E, \u0447\u0442\u043E\u0431\u044B \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u0438 \u043A\u0443\u043F\u043B\u0438-\u043F\u0440\u043E\u0434\u0430\u0436\u0438 \u0442\u043E\u0432\u0430\u0440\u043E\u0432, \u043C\u043E\u0433\u0443\u0442 \u0437\u0430\u043A\u043B\u044E\u0447\u0438\u0442\u044C \u0434\u043E\u0433\u043E\u0432\u043E\u0440 \u043D\u0430 \u043E\u043A\u0430\u0437\u0430\u043D\u0438\u0435 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u0438\u0445 \u0443\u0441\u043B\u0443\u0433 \u0441 \u0431\u0440\u043E\u043A\u0435\u0440\u0430\u043C\u0438 \u0411\u0438\u0440\u0436\u0438."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u041F\u043E\u0440\u044F\u0434\u043E\u043A \u043E\u0444\u043E\u0440\u043C\u043B\u0435\u043D\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u043E\u0439\u0442\u0438 \u043F\u0440\u043E\u0446\u0435\u0434\u0443\u0440\u0443 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \u0424\u0438\u043D\u0430\u043D\u0441\u043E\u0432\u043E\u0433\u043E \u041C\u043E\u043D\u0438\u0442\u043E\u0440\u0438\u043D\u0433\u0430."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u043F\u0430\u043A\u0435\u0442 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u043D\u0430 \u0438\u043C\u044F \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F \u0413\u0422\u0421\u0411\u0422 \u043E \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0438 \u043F\u043E\u043A\u0443\u043F\u043A\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430"}),c("li",{className:"sub-page-list-item-list-item",children:"\u0414\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u043D\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F (\u0431\u0440\u043E\u043A\u0435\u0440\u0430) \u0441 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u043E\u043C \u043F\u0435\u0447\u0430\u0442\u0438 \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),c("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044F \u0433\u0435\u043D\u0435\u0440\u0430\u043B\u044C\u043D\u043E\u0439 \u0434\u043E\u0432\u0435\u0440\u0435\u043D\u043D\u043E\u0441\u0442\u0438 (\u043B\u0435\u0433\u0430\u043B\u0438\u0437\u043E\u0432\u0430\u043D\u043D\u043E\u0439)"}),c("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044F \u043F\u0430\u0441\u043F\u043E\u0440\u0442\u0430 \u043F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044F (\u0431\u0440\u043E\u043A\u0435\u0440\u0430) \u0438 \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),c("li",{className:"sub-page-list-item-list-item",children:"\u0417\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0439 \u0431\u043B\u0430\u043D\u043A \u0431\u0430\u043D\u043A\u043E\u0432\u0441\u043A\u0438\u0445 \u0440\u0435\u043A\u0432\u0438\u0437\u0438\u0442\u043E\u0432, \u0437\u0430\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u043E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u043E\u0439 \u043F\u0435\u0447\u0430\u0442\u044C\u044E \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438;"}),c("li",{className:"sub-page-list-item-list-item",children:"\u041A\u043E\u043F\u0438\u044E \u0443\u0447\u0440\u0435\u0434\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 (\u0443\u0441\u0442\u0430\u0432, \u0440\u0435\u0435\u0441\u0442\u0440);"}),c("li",{className:"sub-page-list-item-list-item",children:"\u041E\u0434\u043D\u0430 \u0444\u043E\u0442\u043E\u0433\u0440\u0430\u0444\u0438\u044F \u0431\u0440\u043E\u043A\u0435\u0440\u0430 3x4;"}),c("li",{className:"sub-page-list-item-list-item",children:'\u0417\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u044B\u0439 \u0431\u043B\u0430\u043D\u043A "\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u043E", \u0437\u0430\u0432\u0435\u0440\u0435\u043D\u043D\u044B\u0439 \u043F\u0435\u0447\u0430\u0442\u044C\u044E \u0438 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F \u043A\u043E\u043C\u043F\u0430\u043D\u0438\u0438.'})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0432 \u043E\u0442\u0434\u0435\u043B\u0435 \xAB\u0412\u0437\u0430\u0438\u043C\u043E\u0440\u0430\u0441\u0447\u0435\u0442\u043E\u0432\xBB \u0413\u0422\u0421\u0411\u0422 \u0441\u0447\u0435\u0442\u0430 \u0438 \u043E\u043F\u043B\u0430\u0442\u0438\u0442\u044C:"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u043D\u0435\u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u043D\u0430 \u043B\u0451\u0433\u043A\u0443\u044E \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 5000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410. \u0414\u0435\u043F\u043E\u0437\u0438\u0442 \u2013 6 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410."}),c("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u043D\u0430 \u043D\u0435\u0444\u0442\u044F\u043D\u0443\u044E \u043F\u0440\u043E\u043C\u044B\u0448\u043B\u0435\u043D\u043D\u043E\u0441\u0442\u044C \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 10 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410. \u0414\u0435\u043F\u043E\u0437\u0438\u0442 \u2013 50 000 \u0434\u043E\u043B\u043B\u0430\u0440\u043E\u0432 \u0421\u0428\u0410."})]}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043B\u044F \u0440\u0435\u0437\u0438\u0434\u0435\u043D\u0442\u043E\u0432:"}),c("ul",{className:"sub-page-list-item-list",children:c("li",{className:"sub-page-list-item-list-item",children:"\u0421\u0442\u043E\u0438\u043C\u043E\u0441\u0442\u044C \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430 \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 1 \u0433\u043E\u0434 \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0435\u0442 10 000 \u043C\u0430\u043D\u0430\u0442."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[P("h2",{className:"sub-page-title",children:["\u041E\u0441\u043D\u043E\u0432\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u043F\u0440\u0435\u043A\u0440\u0430\u0449\u0435\u043D\u0438\u044F \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0430:"," "]}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u0417\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u043E \u0437\u0430\u043A\u0440\u044B\u0442\u0438\u0438 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0433\u043E \u043C\u0435\u0441\u0442\u0430."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u041D\u0435 \u0443\u043F\u043B\u0430\u0442\u0430 \u0433\u043E\u0434\u043E\u0432\u043E\u0439 \u043E\u043F\u043B\u0430\u0442\u044B \u0437\u0430 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0435 \u0441\u0440\u043E\u043A\u0438."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u043A\u0430\u0437 \u043E\u0442 \u0443\u043F\u043B\u0430\u0442\u044B \u0433\u043E\u0434\u043E\u0432\u043E\u0439 \u043E\u043F\u043B\u0430\u0442\u044B \u0437\u0430 \u0431\u0440\u043E\u043A\u0435\u0440\u0441\u043A\u043E\u0435 \u043C\u0435\u0441\u0442\u043E."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0435\u0448\u0435\u043D\u0438\u0435 \u0410\u0440\u0431\u0438\u0442\u0440\u0430\u0436\u043D\u043E\u0439 \u043A\u043E\u043C\u0438\u0441\u0441\u0438\u0438 \u0411\u0438\u0440\u0436\u0438."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0435\u043A\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u0438\u043B\u0438 \u043B\u0438\u043A\u0432\u0438\u0434\u0430\u0446\u0438\u044F \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u0438 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430."})]})]})]})]})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"Bir\u017Ea s\xF6wda d\xFCzg\xFCnleri"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"T\xFCrkmenistany\u0148 \u201CHaryt-\xE7ig mal bir\u017Ealary baradaky\u201D Kanunyna la\xFDyklykda, e\xFDe\xE7iligi\u0148 \xE4hli g\xF6rn\xFC\u015Find\xE4ki k\xE4rhanalar we guramalar, T\xFCrkmenistany\u0148 we be\xFDleki d\xF6wletleri\u0148 ra\xFDatlary dellal\xE7ylyk \xFDerini satyn almak \xFDa-da aly\u015F-\xE7aly\u015F dellallary bilen hyzmat \u015Fertnamasyny bagla\u015Fmak arkaly aly\u015F-\xE7aly\u015F s\xF6wdasyna gatna\u015Fyp bilerler."})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Bir\u017Ea s\xF6wdasy a\u015Fakdaky \xFD\xF6relgeler esasynda gurnal\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyny\u0148 el\xFDeterliligi we mahabaty."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea auksionlarynda bahalary\u0148 emele gelmegini\u0148 azatlygy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea amallaryny\u0148 me\xFDletin bagla\u015Fylmagy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fyjylar \xFC\xE7in aly\u015F-\xE7aly\u015F s\xF6wdasyna gatna\u015Fmak \u015Fertlerini\u0148 de\u0148ligi."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"Bir\u017Ea s\xF6wdasyna gatna\u015Fmak \xFC\xE7in birinjilik bilen dellal \xFDerini satyn almaly. Satyjy \xFDa-da alyjy h\xF6km\xFCnde T\xFCrkmenistany\u0148 we da\u015Fary \xFDurtlary\u0148 e\xFDe\xE7iligind\xE4ki \xE4hli \u015Fahslar we \xFDuridiki \u015Fahslar hereket edip bilerler."}),c("p",{children:"Haryt satyn almak we satmak \xFC\xE7in amallary amala a\u015Fyrmak \xFC\xE7in dellal\xE7ylyk \xFDerini satyn almadyk adamlar bir\u017Eany\u0148 dellallary bilen dellal\xE7ylyk hyzmatlary barada \u015Fertnama bagla\u015Fyp bilerler."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Dellal\xE7ylyk \xFDerini hasaba almagy\u0148 tertibi"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Mali\xFDe g\xF6zeg\xE7iligi b\xF6l\xFCminde hasaba aly\u015F prosedurasyny tamamlamaly."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"Resminamalar bukjasyny bermeli:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"TDH\xC7MB-ny\u0148 wekiline dellal\xE7ylyk \xFDerini hasaba almak we satyn almak barada \xFD\xFCz tutma haty"}),c("li",{className:"sub-page-list-item-list-item",children:"Kompani\xFDany\u0148 ba\u015Flygyny\u0148 m\xF6h\xFCri we goly bilen wekil (dellal) \xFC\xE7in ynan\xE7 haty"}),c("li",{className:"sub-page-list-item-list-item",children:"Umumy ynan\xE7 hatyny\u0148 g\xF6\xE7\xFCrmesi (kanunla\u015Fdyrylan)"}),c("li",{className:"sub-page-list-item-list-item",children:"Wekili\u0148 (dellaly\u0148) we kompani\xFDany\u0148 \xFDolba\u015F\xE7ysyny\u0148 pasportyny\u0148 g\xF6\xE7\xFCrmesi"}),c("li",{className:"sub-page-list-item-list-item",children:"Kompani\xFDany\u0148 ba\u015Flygyny\u0148 m\xF6h\xFCri we goly bilen tassyklanan bank maglumatlaryny\u0148 doldurylan g\xF6rn\xFC\u015Fi"})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"TDH\xC7MB-ny\u0148 \xF6zara hasapla\u015Fyk b\xF6l\xFCminden hasap-faktura almaly we t\xF6legini ge\xE7irmeli:"}),c("h3",{className:"sub-page-list-item-text",children:"D\xF6wleti\u0148 \xFDa\u015Fa\xFDjysy bolmadyk \u015Fahslar \xFC\xE7in:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"\xDDe\u0148il senagat \xFC\xE7in bir \xFDyllyk dellal\xE7ylyk \xFDerini\u0148 bahasy 5000 AB\u015E dollary. Go\xFDum - 6000 AB\u015E dollary."}),c("li",{className:"sub-page-list-item-list-item",children:"\u0421Nebit pudagynda 1 \xFDyllyk dellal \xFDerini\u0148 bahasy 10,000 AB\u015E dollary. Go\xFDum - 50,000 AB\u015E dollary."})]}),c("h3",{className:"sub-page-list-item-text",children:"D\xF6wleti\u0148 \xFDa\u015Fa\xFDjysy bolan \u015Fahslar \xFC\xE7in:"}),c("ul",{className:"sub-page-list-item-list",children:c("li",{className:"sub-page-list-item-list-item",children:"1 \xFDyllyk dellal\xE7ylyk \xFDerini\u0148 bahasy 10,000 manat."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Dellaly\u0148 i\u015Fini bes etmegi\u0148 esaslary:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDerini \xFDapmak \xFC\xE7in \xFD\xFCztutma."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDeri \xFC\xE7in \xFDyllyk t\xF6legini wagtynda t\xF6lemezlik."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Dellal\xE7ylyk \xFDeri \xFC\xE7in \xFDyllyk t\xF6legi t\xF6lemekden \xFD\xFCz \xF6w\xFCrmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Bir\u017Eany\u0148 Arbitra\u017E Kommissi\xFDasyny\u0148 karary esasynda"})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\xDDuridik \u015Fahsy\u0148 i\u015Fini\u0148 bes edilmegi \xFDa-da \xFDatyrylmagy."})]})]})]})]})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Exchange trading Rules"}),P("div",{className:"sub-page-content-wrapper",children:[c("div",{className:"sub-page-text-wrapper",children:c("p",{children:'In accordance with the Law of Turkmenistan "On Commodity Exchanges", enterprises and organizations of all forms of ownership, citizens of Turkmenistan and other states can participate in exchange trading by purchasing a brokerage place or concluding a service contract with exchange brokers.'})}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Exchange trading is organized on the basis of the following principles:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Transparency and publicity of exchange trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Freedom of price formation at stock trading."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Voluntary conclusion of exchange transactions."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Equality of conditions of participation in exchange trading for participants of exchange trading."})]})]})]}),P("div",{className:"sub-page-text-wrapper",children:[c("p",{children:"To participate in stock trading, you need to purchase a brokerage place. Individuals and legal entities of Turkmenistan and foreign states of all forms of ownership can act as a seller or buyer."}),c("p",{children:"Persons who have not acquired a brokerage place in order to carry out transactions for the purchase and sale of goods can conclude a contract for the provision of brokerage services with brokers of the Exchange."})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"To register a brokerage place, you must:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Go through the registration procedure in the Financial Monitoring Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:"Provide a package of documents:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"letter of appeal addressed to the representative of the SCRMET about registration and purchase of a brokerage place;"}),c("li",{className:"sub-page-list-item-list-item",children:"power of attorney for a representative (broker) with the original seal and signature of the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the general power of attorney (legalized);"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the passport of the representative (broker) and the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a completed form of bank details, certified with the original seal and signature of the head of the company;"}),c("li",{className:"sub-page-list-item-list-item",children:"a copy of the constituent documents (charter, register);"}),c("li",{className:"sub-page-list-item-list-item",children:"one 3x4 broker photo;"}),c("li",{className:"sub-page-list-item-list-item",children:'a completed "Commitment" form, stamped and signed by the head of the company.'})]})]})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),P("div",{className:"sub-page-list-item-content",children:[c("h3",{className:"sub-page-list-item-text",children:'Get invoices from the SCRMET "Mutual Settlements" department and pay:'}),c("h3",{className:"sub-page-list-item-text",children:"For non-residents:"}),P("ul",{className:"sub-page-list-item-list",children:[c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for light industry for a period of 1 year is $ 5,000. The deposit is $6,000."}),c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for the oil industry for a period of 1 year is $ 10,000. The deposit is 50,000 US dollars."})]}),c("h3",{className:"sub-page-list-item-text",children:"For residents:"}),c("ul",{className:"sub-page-list-item-list",children:c("li",{className:"sub-page-list-item-list-item",children:"The cost of a brokerage place for a period of 1 year is 10,000 manats."})})]})]})]})]}),P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Grounds for termination of the broker's activity:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Application for the closure of the brokerage place."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Failure to pay the annual fee for the brokerage place within the established time limits."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Failure to pay the annual fee for the brokerage place within the established time limits."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"The decision of the Arbitration Commission of the Exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Termination or liquidation of the activity of a legal entity."})]})]})]})]})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0411\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})},Dk=({lang:e})=>{const[t,n]=j.exports.useState();return j.exports.useEffect(()=>{new Re("https://tmex.gov.tm:8765/api/documents",t,n).get({"X-Localization":e}),window.scrollTo(0,0)},[e]),c("main",{children:c("div",{className:"container",children:P("div",{className:"sub-page-wrapper",children:[e==="ru"?P($e,{children:[c(ce,{title:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432 \u043D\u0430 \u0433\u043E\u0441\u0443\u0434\u0430\u0440\u0441\u0442\u0432\u0435\u043D\u043D\u043E\u0439 \u0442\u043E\u0432\u0430\u0440\u043D\u043E-\u0441\u044B\u0440\u044C\u0435\u0432\u043E\u0439 \u0431\u0438\u0440\u0436\u0435 \u0422\u0443\u0440\u043A\u043C\u0435\u043D\u0438\u0441\u0442\u0430\u043D\u0430 \u043E\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043F\u043E \u043F\u0440\u0438\u0432\u0435\u0434\u0435\u043D\u043D\u043E\u0439 \u0441\u0445\u0435\u043C\u0435:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0440\u0438\u0435\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0441 9.00 \u0434\u043E 17.00."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u0434\u0435\u043B \u0430\u043D\u0430\u043B\u0438\u0437\u0430 \u0438 \u0440\u044B\u043D\u043A\u0430 \u0446\u0435\u043D."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u0440\u0430\u0432\u0430 \u0438 \u043A\u0430\u0434\u0440\u043E\u0432."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u043E\u043D\u043D\u044B\u0439 \u043E\u0442\u0434\u0435\u043B."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\u041E\u0442\u0434\u0435\u043B \u0432\u0437\u0430\u0438\u043C\u043E\u0440\u0430\u0441\u0447\u0435\u0442\u0430."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u043D\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u044C \u0440\u0443\u043A\u043E\u0432\u043E\u0434\u0438\u0442\u0435\u043B\u044F\u043C."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u0422\u0430\u043A\u0436\u0435 \u0443\u0447\u0430\u0441\u0442\u043D\u0438\u043A\u0438 \u0431\u0438\u0440\u0436\u0438 \u043C\u043E\u0433\u0443\u0442 \u043E\u0442\u0441\u043B\u0435\u0436\u0438\u0432\u0430\u0442\u044C \u043F\u0440\u043E\u0446\u0435\u0441\u0441 \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u043A\u043E\u043D\u0442\u0440\u0430\u043A\u0442\u043E\u0432 \u043E\u043D\u043B\u0430\u0439\u043D \u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E \u041B\u0438\u0447\u043D\u043E\u0433\u043E \u043A\u0430\u0431\u0438\u043D\u0435\u0442\u0430. \u0414\u043B\u044F \u044D\u0442\u043E\u0433\u043E \u0434\u043E\u0441\u0442\u0430\u0442\u043E\u0447\u043D\u043E \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0435, \u043F\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u0439 \u0440\u0430\u0437\u0434\u0435\u043B \u0438 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C \u0434\u0430\u043B\u044C\u043D\u0435\u0439\u0448\u0438\u043C \u0443\u043A\u0430\u0437\u0430\u043D\u0438\u044F\u043C. \u0420\u0430\u0431\u043E\u0442\u0430 \u043D\u0430 \u0441\u0430\u0439\u0442\u0435 \u0438\u0434\u0435\u043D\u0442\u0438\u0447\u043D\u0430 \u0441 \u0440\u0430\u0431\u043E\u0442\u043E\u0439 \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043C\u0438\u043D\u0430\u043B\u044B \u0432 \u0437\u0434\u0430\u043D\u0438\u0438 \u0431\u0438\u0440\u0436\u0438."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"\u041F\u0435\u0440\u0435\u0447\u0435\u043D\u044C \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u044B\u0445 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u0432 \u0434\u043B\u044F \u0432\u044B\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u043E\u0432 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u0441 \u043F\u0440\u043E\u0441\u044C\u0431\u043E\u0439 \u043E \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438\u0438 \u0432\u044B\u0441\u0442\u0430\u0432\u0438\u0442\u044C \u0442\u043E\u0432\u0430\u0440 \u043D\u0430 \u0431\u0438\u0440\u0436\u0435\u0432\u044B\u0435 \u0442\u043E\u0440\u0433\u0438."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"\u041F\u0438\u0441\u044C\u043C\u043E-\u043E\u0431\u0440\u0430\u0449\u0435\u043D\u0438\u0435 \u043E \u043F\u0440\u043E\u0434\u0430\u0436\u0435 \u0442\u043E\u0432\u0430\u0440\u0430, \u0437\u0430\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0435 \u0432 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0444\u043E\u0440\u043C\u0435."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"\u0421\u043F\u0435\u0446\u0438\u0444\u0438\u043A\u0430\u0446\u0438\u044F \u0442\u043E\u0432\u0430\u0440\u0430, \u0441\u043E\u0441\u0442\u0430\u0432\u043B\u0435\u043D\u043D\u0430\u044F \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0442\u0440\u0435\u0431\u043E\u0432\u0430\u043D\u0438\u044F\u043C\u0438 \u0413\u0422\u0421\u0411\u0422."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E\u0449\u0438\u0435 \u043F\u0440\u0430\u0432\u043E \u0437\u0430\u043D\u0438\u043C\u0430\u0442\u044C\u0441\u044F \u043F\u0440\u0435\u0434\u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u0434\u0435\u044F\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C\u044E."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B, \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u044E\u0449\u0438\u0435 \u043F\u0440\u043E\u0438\u0441\u0445\u043E\u0436\u0434\u0435\u043D\u0438\u0435 \u0442\u043E\u0432\u0430\u0440\u0430."})]})]})]})})]}):null,e==="tm"?P($e,{children:[c(ce,{title:"\u015Eertnamalary hasaba almak"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"T\xFCrkmenistany\u0148 D\xF6wlet haryt we \xE7ig mal bir\u017Easynda \u015Fertnamalary hasaba aly\u015F a\u015Fakdaky tertibe la\xFDyklykda amala a\u015Fyryl\xFDar:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"9:00-dan 17:00-a \xE7enli resminamalary kabul etmek."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Der\u0148ew we bahalary anyklamak b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Hukuk we i\u015Fg\xE4rleri dolandyrmak."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Hasaba aly\u015F b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"\xD6zara hasapla\u015Fyk b\xF6l\xFCmi."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Gol \xE7ekmek \xFC\xE7in dolandyryjylara ge\xE7irmek."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"\u015Ee\xFDle hem, bir\u017Ea gatna\u015Fyjylary \u015Eahsy otagy ulanyp, internet sahypalarynda \u015Fertnamalary hasaba almak prosesini yzarlap bilerler. Munu\u0148 \xFC\xE7in di\u0148e ulgamda hasaba alynyp, degi\u015Fli b\xF6l\xFCme ge\xE7meli we indiki g\xF6rkezmelere e\xFDermeli. Internet sahypasynda i\u015Flemek, aly\u015F-\xE7aly\u015F binasyndaky terminallarynda i\u015Flemek bilen de\u0148dir."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Harytlary aly\u015F-\xE7aly\u015F auksionlaryna \xFDerle\u015Fdirmek \xFC\xE7in zerur resminamalary\u0148 sanawy:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary aly\u015F-\xE7aly\u015F auksionlaryna go\xFDmak \xFC\xE7in rugsat soramak bilen \xFD\xFCz tutma haty."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary satmak \xFC\xE7in bellenen g\xF6rn\xFC\u015Fde doldurylan hat."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"TDH\xC7MB-i\u0148 talaplaryna la\xFDyklykda d\xFCz\xFClen harytlary\u0148 spesifikasi\xFDasy."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Teleke\xE7ilik i\u015Fi bilen me\u015Fgullanmak hukugyny tassykla\xFDan resminamalar."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Harytlary\u0148 gelip \xE7yky\u015Fyny tassykla\xFDan resminamalar."})]})]})]})})]}):null,e==="en"?P($e,{children:[c(ce,{title:"Registration of contracts"}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"Registration of contracts at the The State Commodity and Raw Materials Exchange of Turkmenistan is carried out according to the following scheme:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"Acceptance of documents from 9.00 to 17.00."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"Department of Analysis and Securities market."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Management of Law and Personnel."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Registration Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Mutual Settlements Department."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"6"}),c("h3",{className:"sub-page-list-item-text",children:"Transfer to managers for signature."})]})]})]})}),c("div",{className:"sub-page-text-wrapper",children:c("p",{children:"Also, exchange participants can track the process of registering contracts online on the website using their Personal Account. To do this, it is enough to register in the system, go to the appropriate section and follow further instructions. Working on the site is identical to working through terminals in the exchange building."})}),c("div",{className:"sub-page-content-wrapper",children:P("div",{className:"sub-page-list-wrapper",children:[c("h2",{className:"sub-page-title",children:"The list of necessary documents for placing goods on the stock exchange:"}),P("div",{className:"sub-page-list",children:[P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"1"}),c("h3",{className:"sub-page-list-item-text",children:"A letter of request for permission to put the goods on the stock exchange."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"2"}),c("h3",{className:"sub-page-list-item-text",children:"A letter of appeal for the sale of goods, filled out in the prescribed form."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"3"}),c("h3",{className:"sub-page-list-item-text",children:"Product specification, compiled in accordance with the requirements of the SCRMET."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"4"}),c("h3",{className:"sub-page-list-item-text",children:"Documents confirming the right to engage in entrepreneurial activity."})]}),P("div",{className:"sub-page-list-item",children:[c("div",{className:"sub-page-list-num",children:"5"}),c("h3",{className:"sub-page-list-item-text",children:"Documents confirming the origin of the goods."})]})]})]})})]}):null,P("div",{className:"sub-page-title-text",children:[c("h2",{className:"sub-page-title",children:e==="ru"?"\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B \u0434\u043B\u044F \u0441\u043A\u0430\u0447\u0438\u0432\u0430\u043D\u0438\u044F":e==="tm"?"G\xF6\xE7\xFCrip almak \xFC\xE7in resminamalar":e==="en"?"Documents for download":null}),c("div",{className:"documents-wrapper",children:c("div",{className:"documents-links-wrapper",children:t?t.data.map(r=>r.page==="\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u043E\u0432"&&r.title!="-"?c(La,{title:r.title,link:r.file},r.id):null):""})})]})]})})})};var gg={};function kk(e){if(!e||typeof window>"u")return;const t=document.createElement("style");return t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t),e}Object.defineProperty(gg,"__esModule",{value:!0});var Jt=j.exports;function Sk(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var Pi=Sk(Jt);/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var ga=function(){return ga=Object.assign||function(t){for(var n,r=1,i=arguments.length;r