turkmen-textile-front/dist/assets/index-DaWiwHTB.js

3 lines
64 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home-9Fjwx4zC.js","assets/ui-library-hk2QbOT6.js","assets/react-vendor-Y0eyvj1J.js","assets/news-card-q9FMXRQt.js","assets/about-CXsNM-Pj.js","assets/use-scroll-top-DE9DNB_I.js","assets/b2b-BDZDnRcx.js","assets/radio-group-BzzifJr3.js","assets/become-sponsor-BVKenR0G.js","assets/stend.data-Dr6usuZY.js","assets/stend-form-Btmh9gn2.js","assets/contacts-D5kAPqo8.js","assets/news-CbbGj254.js","assets/news-inner-yLLUoaQP.js","assets/participants-DE-SMKpR.js","assets/media-B2Xw54QF.js"])))=>i.map(i=>d[i]);
import{u as ke,i as Oe,j as b,H as Le,F as Re,Q as $e,a as Pe}from"./ui-library-hk2QbOT6.js";import{f as Ce,a as R,O as Ee,g as Te,h as Ne}from"./react-vendor-Y0eyvj1J.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=t(s);fetch(s.href,i)}})();const je="modulepreload",Ae=function(a){return"/"+a},ae={},N=function(e,t,n){let s=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),l=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(t.map(o=>{if(o=Ae(o),o in ae)return;ae[o]=!0;const u=o.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${d}`))return;const f=document.createElement("link");if(f.rel=u?"stylesheet":je,u||(f.as="script"),f.crossOrigin="",f.href=o,l&&f.setAttribute("nonce",l),document.head.appendChild(f),u)return new Promise((c,g)=>{f.addEventListener("load",c),f.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${o}`)))})}))}function i(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return s.then(r=>{for(const l of r||[])l.status==="rejected"&&i(l.reason);return e().catch(i)})};var G={},oe;function Fe(){if(oe)return G;oe=1;var a=Ce();return G.createRoot=a.createRoot,G.hydrateRoot=a.hydrateRoot,G}var De=Fe();const p=a=>typeof a=="string",_=()=>{let a,e;const t=new Promise((n,s)=>{a=n,e=s});return t.resolve=a,t.reject=e,t},le=a=>a==null?"":""+a,Ie=(a,e,t)=>{a.forEach(n=>{e[n]&&(t[n]=e[n])})},Ve=/###/g,ue=a=>a&&a.indexOf("###")>-1?a.replace(Ve,"."):a,ce=a=>!a||p(a),H=(a,e,t)=>{const n=p(e)?e.split("."):e;let s=0;for(;s<n.length-1;){if(ce(a))return{};const i=ue(n[s]);!a[i]&&t&&(a[i]=new t),Object.prototype.hasOwnProperty.call(a,i)?a=a[i]:a={},++s}return ce(a)?{}:{obj:a,k:ue(n[s])}},de=(a,e,t)=>{const{obj:n,k:s}=H(a,e,Object);if(n!==void 0||e.length===1){n[s]=t;return}let i=e[e.length-1],r=e.slice(0,e.length-1),l=H(a,r,Object);for(;l.obj===void 0&&r.length;)i=`${r[r.length-1]}.${i}`,r=r.slice(0,r.length-1),l=H(a,r,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${i}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=t},Be=(a,e,t,n)=>{const{obj:s,k:i}=H(a,e,Object);s[i]=s[i]||[],s[i].push(t)},q=(a,e)=>{const{obj:t,k:n}=H(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,n))return t[n]},Ke=(a,e,t)=>{const n=q(a,t);return n!==void 0?n:q(e,t)},Se=(a,e,t)=>{for(const n in e)n!=="__proto__"&&n!=="constructor"&&(n in a?p(a[n])||a[n]instanceof String||p(e[n])||e[n]instanceof String?t&&(a[n]=e[n]):Se(a[n],e[n],t):a[n]=e[n]);return a},I=a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ue={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const Me=a=>p(a)?a.replace(/[&<>"'\/]/g,e=>Ue[e]):a;class _e{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}const He=[" ",",","?","!",";"],ze=new _e(20),Je=(a,e,t)=>{e=e||"",t=t||"";const n=He.filter(r=>e.indexOf(r)<0&&t.indexOf(r)<0);if(n.length===0)return!0;const s=ze.getRegExp(`(${n.map(r=>r==="?"?"\\?":r).join("|")})`);let i=!s.test(a);if(!i){const r=a.indexOf(t);r>0&&!s.test(a.substring(0,r))&&(i=!0)}return i},te=function(a,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;const n=e.split(t);let s=a;for(let i=0;i<n.length;){if(!s||typeof s!="object")return;let r,l="";for(let o=i;o<n.length;++o)if(o!==i&&(l+=t),l+=n[o],r=s[l],r!==void 0){if(["string","number","boolean"].indexOf(typeof r)>-1&&o<n.length-1)continue;i+=o-i+1;break}s=r}return s},Q=a=>a==null?void 0:a.replace("_","-"),Ge={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){var t,n;(n=(t=console==null?void 0:console[a])==null?void 0:t.apply)==null||n.call(t,console,e)}};class Y{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||Ge,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,s){return s&&!this.debug?null:(p(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new Y(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new Y(this.logger,e)}}var T=new Y;class X{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);const s=this.observers[n].get(t)||0;this.observers[n].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s<t;s++)n[s-1]=arguments[s];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(r=>{let[l,o]=r;for(let u=0;u<o;u++)l(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(r=>{let[l,o]=r;for(let u=0;u<o;u++)l.apply(l,[e,...n])})}}class fe extends X{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){var u,d;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,r=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],n&&(Array.isArray(n)?l.push(...n):p(n)&&i?l.push(...n.split(i)):l.push(n)));const o=q(this.data,l);return!o&&!t&&!n&&e.indexOf(".")>-1&&(e=l[0],t=l[1],n=l.slice(2).join(".")),o||!r||!p(n)?o:te((d=(u=this.data)==null?void 0:u[e])==null?void 0:d[t],n,i)}addResource(e,t,n,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[e,t];n&&(l=l.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(l=e.split("."),s=t,t=l[1]),this.addNamespaces(t),de(this.data,l,s),i.silent||this.emit("added",e,t,n,s)}addResources(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in n)(p(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});s.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,s,i){let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),s=n,n=t,t=l[1]),this.addNamespaces(t);let o=q(this.data,l)||{};r.skipCopy||(n=JSON.parse(JSON.stringify(n))),s?Se(o,n,i):o={...o,...n},de(this.data,l,o),r.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(s=>t[s]&&Object.keys(t[s]).length>0)}toJSON(){return this.data}}var we={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,n,s){return a.forEach(i=>{var r;e=((r=this.processors[i])==null?void 0:r.process(e,t,n,s))??e}),e}};const he={},pe=a=>!p(a)&&typeof a!="boolean"&&typeof a!="number";class Z extends X{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Ie(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=T.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const n=this.resolve(e,t);return(n==null?void 0:n.res)!==void 0}extractFromKey(e,t){let n=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const r=n&&e.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Je(e,n,s);if(r&&!l){const o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:p(i)?[i]:i};const u=e.split(n);(n!==s||n===s&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),e=u.join(s)}return{key:e,namespaces:p(i)?[i]:i}}translate(e,t,n){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:r,namespaces:l}=this.extractFromKey(e[e.length-1],t),o=l[l.length-1],u=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(d){const O=t.nsSeparator||this.options.nsSeparator;return s?{res:`${o}${O}${r}`,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:`${o}${O}${r}`}return s?{res:r,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:r}const f=this.resolve(e,t);let c=f==null?void 0:f.res;const g=(f==null?void 0:f.usedKey)||r,h=(f==null?void 0:f.exactUsedKey)||r,m=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,S=t.count!==void 0&&!p(t.count),C=Z.hasDefaultValue(t),$=S?this.pluralResolver.getSuffix(u,t.count,t):"",B=t.ordinal&&S?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",K=S&&!t.ordinal&&t.count===0,v=K&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${$}`]||t[`defaultValue${B}`]||t.defaultValue;let w=c;k&&!c&&C&&(w=v);const F=pe(w),D=Object.prototype.toString.apply(w);if(k&&w&&F&&m.indexOf(D)<0&&!(p(x)&&Array.isArray(w))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,w,{...t,ns:l}):`key '${r} (${this.language})' returned an object instead of string.`;return s?(f.res=O,f.usedParams=this.getUsedParamsDetails(t),f):O}if(i){const O=Array.isArray(w),P=O?[]:{},ne=O?h:g;for(const E in w)if(Object.prototype.hasOwnProperty.call(w,E)){const j=`${ne}${i}${E}`;C&&!c?P[E]=this.translate(j,{...t,defaultValue:pe(v)?v[E]:void 0,joinArrays:!1,ns:l}):P[E]=this.translate(j,{...t,joinArrays:!1,ns:l}),P[E]===j&&(P[E]=w[E])}c=P}}else if(k&&p(x)&&Array.isArray(c))c=c.join(x),c&&(c=this.extendTranslation(c,e,t,n));else{let O=!1,P=!1;!this.isValidLookup(c)&&C&&(O=!0,c=v),this.isValidLookup(c)||(P=!0,c=r);const E=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&P?void 0:c,j=C&&v!==c&&this.options.updateMissing;if(P||O||j){if(this.logger.log(j?"updateKey":"missingKey",u,o,r,j?v:c),i){const L=this.resolve(r,{...t,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let U=[];const J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let L=0;L<J.length;L++)U.push(J[L]);else this.options.saveMissingTo==="all"?U=this.languageUtils.toResolveHierarchy(t.lng||this.language):U.push(t.lng||this.language);const se=(L,A,M)=>{var re;const ie=C&&M!==c?M:E;this.options.missingKeyHandler?this.options.missingKeyHandler(L,o,A,ie,j,t):(re=this.backendConnector)!=null&&re.saveMissing&&this.backendConnector.saveMissing(L,o,A,ie,j,t),this.emit("missingKey",L,o,A,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?U.forEach(L=>{const A=this.pluralResolver.getSuffixes(L,t);K&&t[`defaultValue${this.options.pluralSeparator}zero`]&&A.indexOf(`${this.options.pluralSeparator}zero`)<0&&A.push(`${this.options.pluralSeparator}zero`),A.forEach(M=>{se([L],r+M,t[`defaultValue${M}`]||v)})}):se(U,r,v))}c=this.extendTranslation(c,e,t,f,n),P&&c===r&&this.options.appendNamespaceToMissingKey&&(c=`${o}:${r}`),(P||O)&&this.options.parseMissingKeyHandler&&(c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${r}`:r,O?c:void 0))}return s?(f.res=c,f.usedParams=this.getUsedParamsDetails(t),f):c}extendTranslation(e,t,n,s,i){var u,d;var r=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const f=p(e)&&(((d=n==null?void 0:n.interpolation)==null?void 0:d.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let c;if(f){const h=e.match(this.interpolator.nestingRegexp);c=h&&h.length}let g=n.replace&&!p(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(g={...this.options.interpolation.defaultVariables,...g}),e=this.interpolator.interpolate(e,g,n.lng||this.language||s.usedLng,n),f){const h=e.match(this.interpolator.nestingRegexp),m=h&&h.length;c<m&&(n.nest=!1)}!n.lng&&s&&s.res&&(n.lng=this.language||s.usedLng),n.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var h=arguments.length,m=new Array(h),x=0;x<h;x++)m[x]=arguments[x];return(i==null?void 0:i[0])===m[0]&&!n.context?(r.logger.warn(`It seems you are nesting recursively key: ${m[0]} in key: ${t[0]}`),null):r.translate(...m,t)},n)),n.interpolation&&this.interpolator.reset()}const l=n.postProcess||this.options.postProcess,o=p(l)?[l]:l;return e!=null&&(o!=null&&o.length)&&n.applyPostProcessor!==!1&&(e=we.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,s,i,r,l;return p(e)&&(e=[e]),e.forEach(o=>{if(this.isValidLookup(n))return;const u=this.extractFromKey(o,t),d=u.key;s=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const c=t.count!==void 0&&!p(t.count),g=c&&!t.ordinal&&t.count===0,h=t.context!==void 0&&(p(t.context)||typeof t.context=="number")&&t.context!=="",m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);f.forEach(x=>{var k,S;this.isValidLookup(n)||(l=x,!he[`${m[0]}-${x}`]&&((k=this.utils)!=null&&k.hasLoadedNamespace)&&!((S=this.utils)!=null&&S.hasLoadedNamespace(l))&&(he[`${m[0]}-${x}`]=!0,this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(C=>{var K;if(this.isValidLookup(n))return;r=C;const $=[d];if((K=this.i18nFormat)!=null&&K.addLookupKeys)this.i18nFormat.addLookupKeys($,d,C,x,t);else{let v;c&&(v=this.pluralResolver.getSuffix(C,t.count,t));const w=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&($.push(d+v),t.ordinal&&v.indexOf(F)===0&&$.push(d+v.replace(F,this.options.pluralSeparator)),g&&$.push(d+w)),h){const D=`${d}${this.options.contextSeparator}${t.context}`;$.push(D),c&&($.push(D+v),t.ordinal&&v.indexOf(F)===0&&$.push(D+v.replace(F,this.options.pluralSeparator)),g&&$.push(D+w))}}let B;for(;B=$.pop();)this.isValidLookup(n)||(i=B,n=this.getResource(C,x,B,t))}))})}),{res:n,usedKey:s,exactUsedKey:i,usedLng:r,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,n){var i;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(e,t,n,s):this.resourceStore.getResource(e,t,n,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!p(e.replace);let s=n?e.replace:e;if(n&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!n){s={...s};for(const i of t)delete s[i]}return s}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&e[n]!==void 0)return!0;return!1}}class ge{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=T.create("languageUtils")}getScriptPartFromCode(e){if(e=Q(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=Q(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(p(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(n=>{if(t)return;const s=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(n=>{if(t)return;const s=this.getLanguagePartFromCode(n);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),p(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],i=r=>{r&&(this.isSupportedCode(r)?s.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return p(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(e))):p(e)&&i(this.formatLanguageCode(e)),n.forEach(r=>{s.indexOf(r)<0&&i(this.formatLanguageCode(r))}),s}}const me={zero:0,one:1,two:2,few:3,many:4,other:5},xe={select:a=>a===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class We{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=T.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Q(e==="dev"?"en":e),s=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:s});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let r;try{r=new Intl.PluralRules(n,{type:s})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),xe;if(!e.match(/-|_/))return xe;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[i]=r,r}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,n).map(s=>`${t}${s}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((s,i)=>me[s]-me[i]).map(s=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,n);return s?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const be=function(a,e,t){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=Ke(a,e,t);return!i&&s&&p(t)&&(i=te(a,t,n),i===void 0&&(i=te(e,t,n))),i},ee=a=>a.replace(/\$/g,"$$$$");class qe{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=T.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:s,prefix:i,prefixEscaped:r,suffix:l,suffixEscaped:o,formatSeparator:u,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:c,nestingPrefixEscaped:g,nestingSuffix:h,nestingSuffixEscaped:m,nestingOptionsSeparator:x,maxReplaces:k,alwaysFormat:S}=e.interpolation;this.escape=t!==void 0?t:Me,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=i?I(i):r||"{{",this.suffix=l?I(l):o||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=c?I(c):g||I("$t("),this.nestingSuffix=h?I(h):m||I(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=k||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,n)=>(t==null?void 0:t.source)===n?(t.lastIndex=0,t):new RegExp(n,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,s){var g;let i,r,l;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=h=>{if(h.indexOf(this.formatSeparator)<0){const S=be(t,o,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,n,{...s,...t,interpolationkey:h}):S}const m=h.split(this.formatSeparator),x=m.shift().trim(),k=m.join(this.formatSeparator).trim();return this.format(be(t,o,x,this.options.keySeparator,this.options.ignoreJSONStructure),k,n,{...s,...t,interpolationkey:x})};this.resetRegExp();const d=(s==null?void 0:s.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((g=s==null?void 0:s.interpolation)==null?void 0:g.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:h=>ee(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?ee(this.escape(h)):ee(h)}].forEach(h=>{for(l=0;i=h.regex.exec(e);){const m=i[1].trim();if(r=u(m),r===void 0)if(typeof d=="function"){const k=d(e,i,s);r=p(k)?k:""}else if(s&&Object.prototype.hasOwnProperty.call(s,m))r="";else if(f){r=i[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),r="";else!p(r)&&!this.useRawValueToEscape&&(r=le(r));const x=h.safeValue(r);if(e=e.replace(i[0],x),f?(h.regex.lastIndex+=r.length,h.regex.lastIndex-=i[0].length):h.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,i,r;const l=(o,u)=>{const d=this.nestingOptionsSeparator;if(o.indexOf(d)<0)return o;const f=o.split(new RegExp(`${d}[ ]*{`));let c=`{${f[1]}`;o=f[0],c=this.interpolate(c,r);const g=c.match(/'/g),h=c.match(/"/g);(((g==null?void 0:g.length)??0)%2===0&&!h||h.length%2!==0)&&(c=c.replace(/'/g,'"'));try{r=JSON.parse(c),u&&(r={...u,...r})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${o}`,m),`${o}${d}${c}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,o};for(;s=this.nestingRegexp.exec(e);){let o=[];r={...n},r=r.replace&&!p(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const d=s[1].split(this.formatSeparator).map(f=>f.trim());s[1]=d.shift(),o=d,u=!0}if(i=t(l.call(this,s[1].trim(),r),r),i&&s[0]===e&&!p(i))return i;p(i)||(i=le(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),u&&(i=o.reduce((d,f)=>this.format(d,f,n.lng,{...n,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}const Qe=a=>{let e=a.toLowerCase().trim();const t={};if(a.indexOf("(")>-1){const n=a.split("(");e=n[0].toLowerCase().trim();const s=n[1].substring(0,n[1].length-1);e==="currency"&&s.indexOf(":")<0?t.currency||(t.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?t.range||(t.range=s.trim()):s.split(";").forEach(r=>{if(r){const[l,...o]=r.split(":"),u=o.join(":").trim().replace(/^'+|'+$/g,""),d=l.trim();t[d]||(t[d]=u),u==="false"&&(t[d]=!1),u==="true"&&(t[d]=!0),isNaN(u)||(t[d]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},V=a=>{const e={};return(t,n,s)=>{let i=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(i={...i,[s.interpolationkey]:void 0});const r=n+JSON.stringify(i);let l=e[r];return l||(l=a(Q(n),s),e[r]=l),l(t)}};class Ye{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=T.create("formatter"),this.options=e,this.formats={number:V((t,n)=>{const s=new Intl.NumberFormat(t,{...n});return i=>s.format(i)}),currency:V((t,n)=>{const s=new Intl.NumberFormat(t,{...n,style:"currency"});return i=>s.format(i)}),datetime:V((t,n)=>{const s=new Intl.DateTimeFormat(t,{...n});return i=>s.format(i)}),relativetime:V((t,n)=>{const s=new Intl.RelativeTimeFormat(t,{...n});return i=>s.format(i,n.range||"day")}),list:V((t,n)=>{const s=new Intl.ListFormat(t,{...n});return i=>s.format(i)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=V(t)}format(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(l=>l.indexOf(")")>-1)){const l=i.findIndex(o=>o.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,l)].join(this.formatSeparator)}return i.reduce((l,o)=>{var f;const{formatName:u,formatOptions:d}=Qe(o);if(this.formats[u]){let c=l;try{const g=((f=s==null?void 0:s.formatParams)==null?void 0:f[s.interpolationkey])||{},h=g.locale||g.lng||s.locale||s.lng||n;c=this.formats[u](l,h,{...d,...s,...g})}catch(g){this.logger.warn(g)}return c}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const Ze=(a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)};class Xe extends X{constructor(e,t,n){var i,r;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=s,this.logger=T.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],(r=(i=this.backend)==null?void 0:i.init)==null||r.call(i,n,s.backend,s)}queueLoad(e,t,n,s){const i={},r={},l={},o={};return e.forEach(u=>{let d=!0;t.forEach(f=>{const c=`${u}|${f}`;!n.reload&&this.store.hasResourceBundle(u,f)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?r[c]===void 0&&(r[c]=!0):(this.state[c]=1,d=!1,r[c]===void 0&&(r[c]=!0),i[c]===void 0&&(i[c]=!0),o[f]===void 0&&(o[f]=!0)))}),d||(l[u]=!0)}),(Object.keys(i).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(r),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){const s=e.split("|"),i=s[0],r=s[1];t&&this.emit("failedLoading",i,r,t),!t&&n&&this.store.addResourceBundle(i,r,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const l={};this.queue.forEach(o=>{Be(o.loaded,[i],r),Ze(o,e),t&&o.errors.push(t),o.pendingCount===0&&!o.done&&(Object.keys(o.loaded).forEach(u=>{l[u]||(l[u]={});const d=o.loaded[u];d.length&&d.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),o.done=!0,o.errors.length?o.callback(o.errors):o.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(o=>!o.done)}read(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:s,wait:i,callback:r});return}this.readingCalls++;const l=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,n,s+1,i*2,r)},i);return}r(u,d)},o=this.backend[n].bind(this.backend);if(o.length===2){try{const u=o(e,t);u&&typeof u.then=="function"?u.then(d=>l(null,d)).catch(l):l(null,u)}catch(u){l(u)}return}return o(e,t,l)}prepareLoading(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);const i=this.queueLoad(e,t,n,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(r=>{this.loadOne(r)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=e.split("|"),s=n[0],i=n[1];this.read(s,i,"read",void 0,void 0,(r,l)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`,r),!r&&l&&this.logger.log(`${t}loaded namespace ${i} for language ${s}`,l),this.loaded(e,r,l)})}saveMissing(e,t,n,s,i){var o,u,d,f,c;let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(o=this.services)==null?void 0:o.utils)!=null&&u.hasLoadedNamespace&&!((f=(d=this.services)==null?void 0:d.utils)!=null&&f.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((c=this.backend)!=null&&c.create){const g={...r,isUpdate:i},h=this.backend.create.bind(this.backend);if(h.length<6)try{let m;h.length===5?m=h(e,t,n,s,g):m=h(e,t,n,s),m&&typeof m.then=="function"?m.then(x=>l(null,x)).catch(l):l(null,m)}catch(m){l(m)}else h(e,t,n,s,l,g)}!e||!e[0]||this.store.addResource(e[0],t,n,s)}}}const ye=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),p(a[1])&&(e.defaultValue=a[1]),p(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){const t=a[3]||a[2];Object.keys(t).forEach(n=>{e[n]=t[n]})}return e},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ve=a=>{var e,t;return p(a.ns)&&(a.ns=[a.ns]),p(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),p(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),((t=(e=a.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a},W=()=>{},et=a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})};class z extends X{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ve(e),this.services={},this.logger=T,this.modules={external:[]},et(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(p(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const s=ye();this.options={...s,...this.options,...ve(t)},this.options.interpolation={...s.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?T.init(i(this.modules.logger),this.options):T.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=Ye;const f=new ge(this.options);this.store=new fe(this.options.resources,this.options);const c=this.services;c.logger=T,c.resourceStore=this.store,c.languageUtils=f,c.pluralResolver=new We(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=i(d),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new qe(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new Xe(i(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(g){for(var h=arguments.length,m=new Array(h>1?h-1:0),x=1;x<h;x++)m[x-1]=arguments[x];e.emit(g,...m)}),this.modules.languageDetector&&(c.languageDetector=i(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=i(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new Z(this.services,this.options),this.translator.on("*",function(g){for(var h=arguments.length,m=new Array(h>1?h-1:0),x=1;x<h;x++)m[x-1]=arguments[x];e.emit(g,...m)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,n||(n=W),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return e.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return e.store[d](...arguments),e}});const o=_(),u=()=>{const d=(f,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(c),n(f,c)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),o}loadResources(e){var i,r;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W;const s=p(e)?e:this.language;if(typeof e=="function"&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if((s==null?void 0:s.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const l=[],o=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(f=>{f!=="cimode"&&l.indexOf(f)<0&&l.push(f)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>o(d)),(r=(i=this.options.preload)==null?void 0:i.forEach)==null||r.call(i,u=>o(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(e,t,n){const s=_();return typeof e=="function"&&(n=e,e=void 0),typeof t=="function"&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=W),this.services.backendConnector.reload(e,t,i=>{s.resolve(),n(i)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&we.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const n=this.languages[t];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const s=_();this.emit("languageChanging",e);const i=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return n.t(...arguments)}),t&&t(o,function(){return n.t(...arguments)})},l=o=>{var d,f;!e&&!o&&this.services.languageDetector&&(o=[]);const u=p(o)?o:this.services.languageUtils.getBestMatchFromCodes(o);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),(f=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||f.call(d,u)),this.loadResources(u,c=>{r(c,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),s}getFixedT(e,t,n){var s=this;const i=function(r,l){let o;if(typeof l!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),f=2;f<u;f++)d[f-2]=arguments[f];o=s.options.overloadTranslationOptionHandler([r,l].concat(d))}else o={...l};o.lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,o.keyPrefix!==""&&(o.keyPrefix=o.keyPrefix||n||i.keyPrefix);const c=s.options.keySeparator||".";let g;return o.keyPrefix&&Array.isArray(r)?g=r.map(h=>`${o.keyPrefix}${c}${h}`):g=o.keyPrefix?`${o.keyPrefix}${c}${r}`:r,s.t(g,o)};return p(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){var s;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(s=this.translator)==null?void 0:s.translate(...t)}exists(){var s;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(s=this.translator)==null?void 0:s.exists(...t)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const r=(l,o)=>{const u=this.services.backendConnector.state[`${l}|${o}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,r);if(l!==void 0)return l}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(n,e)&&(!s||r(i,e)))}loadNamespaces(e,t){const n=_();return this.options.ns?(p(e)&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{n.resolve(),t&&t(s)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=_();p(e)&&(e=[e]);const s=this.options.preload||[],i=e.filter(r=>s.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return i.length?(this.options.preload=s.concat(i),this.loadResources(r=>{n.resolve(),t&&t(r)}),n):(t&&t(),Promise.resolve())}dir(e){var s,i;if(e||(e=this.resolvedLanguage||(((s=this.languages)==null?void 0:s.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((i=this.services)==null?void 0:i.languageUtils)||new ge(ye());return t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new z(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:W;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},i=new z(s);if((e.debug!==void 0||e.prefix!==void 0)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const l=Object.keys(this.store.data).reduce((o,u)=>(o[u]={...this.store.data[u]},Object.keys(o[u]).reduce((d,f)=>(d[f]={...o[u][f]},d),{})),{});i.store=new fe(l,s),i.services.resourceStore=i.store}return i.translator=new Z(i.services,s),i.translator.on("*",function(l){for(var o=arguments.length,u=new Array(o>1?o-1:0),d=1;d<o;d++)u[d-1]=arguments[d];i.emit(l,...u)}),i.init(s,t),i.translator.options=s,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const y=z.createInstance();y.createInstance=z.createInstance;y.createInstance;y.dir;y.init;y.loadResources;y.reloadResources;y.use;y.changeLanguage;y.getFixedT;y.t;y.exists;y.setDefaultNamespace;y.hasLoadedNamespace;y.loadNamespaces;y.loadLanguages;const tt="Ashgabat, Turkmenistan",nt={title:"Guide"},st={title:"Contacts",link:"/contacts"},it={text:"Official Support",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_eng.pdf"},rt={trigger:"News",item:["Subscribe to the news"]},at={trigger:"About exhibition"},ot={trigger:"To the Visitors",items:[{title:"Почему стоит посетить",link:""},{title:"Программа",link:""},{title:"Список участников",link:""}]},lt={trigger:"To the Exhibitors"},ut={trigger:"Список участников",items:[{title:"Забронировать стенд",link:"/stend-form"},{title:"Почему стоить участвовать",link:"/stend-form"},{title:"Тематические разделы",link:""}]},ct={venue:tt,guide:nt,contacts:st,support:it,news:rt,"":"",about:at,visitors:ot,exhibitors:lt,participants:ut},dt="Ашхабад, Туркменистан",ft={title:"Гид"},ht={title:"Контакты",link:"/contacts"},pt={text:"Официальная поддержка",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_ru.pdf"},gt={title:"Новости",item:["Пописаться на новости"]},mt={trigger:"О выставке"},xt={trigger:"Посетителям",items:[{title:"Почему стоит посетить",link:""},{title:"Список участников",link:""},{title:"Программа",link:""},{title:"Петеводитель",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf",pdf:!0}]},bt={trigger:"Участникам"},yt={trigger:"Посетителям",items:[{title:"Забронировать стенд",link:"/stend-form"},{title:"Почему стоить участвовать",link:"/stend-form"},{title:"Тематические разделы",link:""}]},vt={venue:dt,guide:ft,contacts:ht,support:pt,news:gt,"":"",about:mt,visitors:xt,exhibitors:bt,participants:yt},kt=[{title:"Travel Guide",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf",blank:"blank"},{title:"News",drop:!0,dropDownContent:[{text:"News",link:"/news"},{text:"Subscribe to the news",modal:!0}]},{title:"Contact us",link:"/contacts"},{title:"About exhibition",drop:!0,dropDownContent:[{text:"About exhibition",link:"/about"},{text:"Media",link:"/media"}]},{title:"Visitors",drop:!0,dropDownContent:[{text:"Why visit?",link:""},{text:"List of Participants",link:"/participants"},{text:"Programme",link:""},{text:"Travel guide",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf",blank:"blank"}]},{title:"Exhibitors",drop:!0,dropDownContent:[{text:"Book a stand",link:"/stend-form"},{text:"Why exhibit",link:""},{text:"Themtic areas of the exhibition",link:""}]}],St={navigation:kt},wt=[{title:"Путеводитель",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf",blank:"blank"},{title:"Новости",drop:!0,dropDownContent:[{text:"Новости",link:"/news"},{text:"Подписаться на новости",modal:!0}]},{title:"Контакты",link:"/contacts"},{title:"О выставке",drop:!0,dropDownContent:[{text:"О выставке",link:"/about"},{text:"Медиа",link:"/media"}]},{title:"Посетителям",drop:!0,dropDownContent:[{text:"Почему стоит посетить?",link:""},{text:"Список участников",link:"/participants"},{text:"Программа",link:""},{text:"Путеводитель",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf",blank:"blank"}]},{title:"Участникам",drop:!0,dropDownContent:[{text:"Забронировать стенд",link:"/stend-form"},{text:"Почему стоит учатсвовать",link:""},{text:"Тематические разделы",link:""}]}],Ot={navigation:wt},Lt={lg:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/en/l.jpg",md:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/en/m.jpg",sm:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/en/s.jpg"},Rt={title:"Partners",button:""},$t={buttons:[{title:"Floor Plan",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Book a stand",link:"/stend-form"},{title:"Participants list",link:"/participants"},{title:"B2B | B2G meetings",link:"/B2B-B2G"}],title:"“TurkmenTextile Expo-2025” exhibition and trade fair in Ashgabat",paragraphs:["“TurkmenTextile Expo-2025” exhibition and trade fair in Ashgabat An international exhibition and trade fair that will bring together global industry leaders, innovative manufacturers, and designers. Our mission is to strengthen Turkmenistans position as a key hub of the textile and fashion industry.","The exhibition will be a platform for exploring sustainable practices, modern technologies and design solutions, inspiring development of the industry. TurkmenTextile Expo-2025 is a platform that connects tradition and innovation, producers and consumers, and the world!"],cards:[{nums:"10,000 m²",text:"Exhibition area"},{nums:"10000+",text:"Expected visitors"},{nums:"100+",text:"Exhibitors from over 30 countries"},{nums:"80%",text:"Participants are top-management"}],button:"More about the exhibition"},Pt={title:"Sponsors and partners"},Ct={banners:Lt,partners:Rt,about:$t,sponsors:Pt},Et={lg:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/ru/l.jpg",md:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/ru/m.jpg",sm:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/surat/ru/s.jpg"},Tt={title:"Партнёры",button:""},Nt={buttons:[{title:"План выставки",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Забронировать стенд",link:"/stend-form"},{title:"Список участников",link:"/participants"},{title:"B2B | B2G встречи",link:"/B2B-B2G"}],title:"Выставка-ярмарка «TurkmenTextile Expo 2025» в Ашхабаде",paragraphs:["Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. Наша миссия укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии.","Выставка станет платформой для изучения устойчивых практик, современных технологий и дизайнерских решений, вдохновляя на развитие индустрии"],cards:[{nums:"10,000 m²",text:"выставочной площади"},{nums:"10000+",text:"Ожидаемых посетителей"},{nums:"100+",text:"Экспоненты из более чем 30 стран"},{nums:"80%",text:"Участников топ-менеджмента"}],button:"Подробнее о выставке"},jt={title:"Спонсоры и партнеры"},At={banners:Et,partners:Tt,about:Nt,sponsors:jt},Ft={block:{title:"“TurkmenTextile Expo-2025” exhibition and trade fair in Ashgabat.",texts:["The International exhibition and trade fair will bring together global industry leaders, innovative manufacturers, and creative designers. It is a unique platform for developing your business in the textile and fashion sector.","This exhibition aims to position Turkmenistan as a key hub in the global textile and fashion industry, showcasing the countrys rich textile heritage, promoting the adoption of innovative practice in the sector, and strengthening international cooperation.","“TurkmenTextile Expo-2025” is a platform that connects tradition and innovation, producers and consumers, Turkmenistan and the world!","Here, you will have the opportunity to connect with leading industry players, present your products or services, learn about the latest market trends, and find new partners and clients.","Our mission is to strengthen Turkmenistans position as a key center of the textile and fashion industry. The exhibition will serve as a platform for exploring sustainable practices, modern technologies, and new design solutions, inspiring the further development of the industry."]},block_2:{title:"Why participate?",subtitle:"“TurkmenTextile Expo-2025” opens broad prospects for participants:",texts:["Business meetings with the heads of Turkmenistan's textile industry.","The opportunity to establish business relationships with textile enterprises and factories in Turkmenistan to develop export directions","Expanding business networks a unique opportunity for B2B and B2G meetings, concluding trade agreements, and establishing strategic partnerships.","Training and development workshops and lectures from leading global experts will help participants deepen their knowledge and master modern approaches in the textile industry.","Cultural exchange a chance to showcase Turkmenistan's rich textile heritage and be inspired by the cultural traditions of other countries."]},block_3:{title:"Partnership and sponsorship",subtitle:"“TurkmenTextile Expo-2025” invites international organizations, associations, and brands to collaborate in promoting their products and services. Partners will gain:",texts:["Recognition on the international stage participation in a large-scale event attracting leading players in the textile and fashion industries.","Advertising opportunities integration of the brand into the exhibitions marketing campaign, including digital and offline channels","Direct access to the audience interaction with manufacturers, designers, equipment suppliers, and buyers.","Contribution to industry development support for innovations, sustainable practices, and cultural heritage."]},button:"Become a sponsor "},Dt={title:"Invitation to Participate",text:"The Ministry of Textile Industry in Turkmenistan invites the business community from all over the world to join this unique event, which will be a significant step toward strengthening Turkmenistans position on the international economic stage."},It={main:Ft,invataion:Dt},Vt={block:{title:"Выставка-ярмарка «TurkmenTextile Expo-2025» в Ашхабаде",texts:["Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. Выставка станет платформой для изучения устойчивых практик, современных технологий и новых дизайнерских решений, вдохновляя на развитие индустрии.","Основная цель выставки-ярмарки позиционирование Туркменистана как ключевого центра международной текстильной и модной индустрии, демонстрация национального ткаческого наследия, содействие внедрению инноваций в отрасли и укрепление международного сотрудничества.","Здесь вы сможете установить контакты с ведущими игроками отрасли, представить свою продукцию или услуги, узнать о последних тенденциях на рынке, а также найти новых партнеров и клиентов."]},block_2:{title:"Почему вам стоить посетить?",subtitle:"TurkmenTextile Expo-2025 открывает широкие перспективы для участников:",texts:["Деловые встречи с руководителями текстильной отрасли Туркменистана","Возможность установить деловые отношения с предприятиями и фабриками текстильной индустрии Туркменистана для развития экспортных направлений.","Расширение деловых связей — уникальная возможность для B2B и B2G-встреч, заключения торговых соглашений и установления стратегических партнёрств.","Обучение и развитие — мастер-классы и лекции от ведущих мировых экспертов помогут участникам углубить знания и освоить современные подходы в области текстильной индустрии.","Культурный обмен — возможность продемонстрировать богатое текстильное наследие Туркменистана и вдохновиться культурными традициями других стран."]},block_3:{title:"Партнёрство и спонсорство",subtitle:"TurkmenTextile Expo-2025 приглашает к сотрудничеству международные организации, ассоциации и бренды для продвижения своих продуктов и услуг. Партнёры получат:",texts:["Признание на международной арене — участие в масштабном событии, привлекающем ведущих игроков текстильной и модной индустрий.","Рекламные возможности — интеграция бренда в маркетинговую кампанию выставки, включая digital и офлайн-каналы.","Прямой доступ к аудитории — взаимодействие с производителями, дизайнерами, поставщиками оборудования и покупателями.","Вклад в развитие индустрии — поддержка инноваций, устойчивых практик и культурного наследия."]},button:"Стать спонсором"},Bt={title:"Приглашение к участию",text:"Министерство текстильной промышленности Туркменистана приглашает бизнес-сообщество со всего мира присоединиться к этому уникальному событию, которое станет важным шагом к укреплению позиций Туркменистана в международной экономической арене."},Kt={main:Vt,invatation:Bt},Ut="Contact us",Mt="Name",_t="Phone",Ht="Company name",zt="Message",Jt="Send",Gt="Contact details",Wt="Address",qt="744000, Ashgabat, Bitarap Turkmenistan ave., 183",Qt="Your message is submitted",Yt={title:Ut,name:Mt,phone:_t,company:Ht,message:zt,button:Jt,title_2:Gt,address:Wt,venue:qt,submitted:Qt},Zt="Связать с нами",Xt="Имя",en="Телефон:",tn="Название компании",nn="Сообщение",sn="Отправить",rn="Контакты",an="Адрес:",on="744000, г. Ашхабад, просп. Битарап Туркменистан, 183",ln="Ваше письмо отправлено",un={title:Zt,name:Xt,phone:en,company:tn,message:nn,button:sn,title_2:rn,address:an,venue:on,submitted:ln},cn=ke.getState().lang;y.use(Oe).init({resources:{en:{nav:St,header:ct,home:Ct,about:It,contacts:Yt},ru:{nav:Ot,header:vt,home:At,about:Kt,contacts:un}},lng:cn,fallbackLng:"en",ns:["home","about","header","contacts","nav"],defaultNS:"home",interpolation:{escapeValue:!1}});const dn=()=>{const a=ke(e=>e.lang);return R.useEffect(()=>{y.changeLanguage(a)},[a]),null};function fn(){return b.jsxs("main",{className:"flex flex-col min-h-screen",children:[b.jsx(dn,{}),b.jsx(Le,{}),b.jsx("div",{className:"flex-auto",children:b.jsx(Ee,{})}),b.jsx(Re,{})]})}const hn=R.lazy(()=>N(()=>import("./home-9Fjwx4zC.js"),__vite__mapDeps([0,1,2,3]))),pn=R.lazy(()=>N(()=>import("./about-CXsNM-Pj.js"),__vite__mapDeps([4,1,2,5]))),gn=R.lazy(()=>N(()=>import("./b2b-BDZDnRcx.js"),__vite__mapDeps([6,1,2,7,5]))),mn=R.lazy(()=>N(()=>import("./become-sponsor-BVKenR0G.js"),__vite__mapDeps([8,1,2,7,5,9]))),xn=R.lazy(()=>N(()=>import("./stend-form-Btmh9gn2.js"),__vite__mapDeps([10,1,2,7,9]))),bn=R.lazy(()=>N(()=>import("./contacts-D5kAPqo8.js"),__vite__mapDeps([11,1,2,5]))),yn=R.lazy(()=>N(()=>import("./news-CbbGj254.js"),__vite__mapDeps([12,1,2,3,5]))),vn=R.lazy(()=>N(()=>import("./news-inner-yLLUoaQP.js"),__vite__mapDeps([13,1,2,3,5]))),kn=R.lazy(()=>N(()=>import("./participants-DE-SMKpR.js"),__vite__mapDeps([14,1,2,5]))),Sn=R.lazy(()=>N(()=>import("./media-B2Xw54QF.js"),__vite__mapDeps([15,1,2]))),wn=Te([{element:b.jsx(fn,{}),path:"/",children:[{element:b.jsx(hn,{}),path:""},{element:b.jsx(pn,{}),path:"/about"},{element:b.jsx(gn,{}),path:"/B2B-B2G"},{element:b.jsx(mn,{}),path:"/become-sponsor"},{element:b.jsx(xn,{}),path:"/stend-form"},{element:b.jsx(bn,{}),path:"/contacts"},{element:b.jsx(yn,{}),path:"/news"},{element:b.jsx(vn,{}),path:"/news/:id"},{element:b.jsx(kn,{}),path:"/participants"},{element:b.jsx(Sn,{}),path:"/media"}]}]),On=new $e;De.createRoot(document.getElementById("root")).render(b.jsx(R.StrictMode,{children:b.jsx(Pe,{client:On,children:b.jsx(Ne,{router:wn})})}));