1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,69093,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return u}});let s=e.r(43476),i=e.r(71645),r=e.r(67585),o=e.r(52157);function n(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(n(()=>null)),loading:null,ssr:!0},u=function(e){let t={...l,...e},a=(0,i.lazy)(()=>t.loader().then(n)),u=t.loading;function d(e){let n=u?(0,s.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,d=l?i.Suspense:i.Fragment,c=t.ssr?(0,s.jsxs)(s.Fragment,{children:["u"<typeof window?(0,s.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,s.jsx)(a,{...e})]}):(0,s.jsx)(r.BailoutToCSR,{reason:"next/dynamic",children:(0,s.jsx)(a,{...e})});return(0,s.jsx)(d,{...l?{fallback:n}:{},children:c})}return d.displayName="LoadableComponent",d}},70703,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let s=e.r(55682)._(e.r(69093));function i(e,t){let a={};"function"==typeof e&&(a.loader=e);let i={...a,...t};return(0,s.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},7670,3610,e=>{"use strict";function t(){for(var e,t,a=0,s="",i=arguments.length;a<i;a++)(e=arguments[a])&&(t=function e(t){var a,s,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var r=t.length;for(a=0;a<r;a++)t[a]&&(s=e(t[a]))&&(i&&(i+=" "),i+=s)}else for(s in t)t[s]&&(i&&(i+=" "),i+=s);return i}(e))&&(s&&(s+=" "),s+=t);return s}e.s(["clsx",0,t,"default",0,t],7670);var a=e.i(70703);let s=(0,a.default)(()=>e.A(93539),{loadableGenerated:{modules:[89645]}}),i=(0,a.default)(()=>e.A(8820),{loadableGenerated:{modules:[89382]}}),r=(0,a.default)(()=>e.A(18612),{loadableGenerated:{modules:[38124]}}),o=(0,a.default)(()=>e.A(2773),{loadableGenerated:{modules:[95195]}}),n=(0,a.default)(()=>e.A(4190),{loadableGenerated:{modules:[60351]}}),l=(0,a.default)(()=>e.A(52409),{loadableGenerated:{modules:[77256]}}),u=(0,a.default)(()=>e.A(47076),{loadableGenerated:{modules:[68587]}}),d=(0,a.default)(()=>e.A(17976),{loadableGenerated:{modules:[99025]}}),c=(0,a.default)(()=>e.A(81498),{loadableGenerated:{modules:[23798]}}),p=(0,a.default)(()=>e.A(29206),{loadableGenerated:{modules:[29585]}}),h=(0,a.default)(()=>e.A(87268),{loadableGenerated:{modules:[33721]}}),g=(0,a.default)(()=>e.A(53385),{loadableGenerated:{modules:[44056]}}),f=(0,a.default)(()=>e.A(24672),{loadableGenerated:{modules:[5236]}}),m=(0,a.default)(()=>e.A(50730),{loadableGenerated:{modules:[14923]}}),y=(0,a.default)(()=>e.A(91959),{loadableGenerated:{modules:[61669]}}),b=(0,a.default)(()=>e.A(65587),{loadableGenerated:{modules:[86059]}}),v=(0,a.default)(()=>e.A(74836),{loadableGenerated:{modules:[23629]}}),x=(0,a.default)(()=>e.A(90447),{loadableGenerated:{modules:[91526]}}),w=(0,a.default)(()=>e.A(87239),{loadableGenerated:{modules:[853]}}),S=(0,a.default)(()=>e.A(59608),{loadableGenerated:{modules:[66797]}}),k=(0,a.default)(()=>e.A(89584),{loadableGenerated:{modules:[27902]}}),O=(0,a.default)(()=>e.A(6107),{loadableGenerated:{modules:[77898]}}),_=(0,a.default)(()=>e.A(69984),{loadableGenerated:{modules:[68111]}}),j=(0,a.default)(()=>e.A(81606),{loadableGenerated:{modules:[72040]}});(0,a.default)(()=>e.A(26417),{loadableGenerated:{modules:[23181]}});let $=(0,a.default)(()=>e.A(40499),{loadableGenerated:{modules:[58196]}}),C=(0,a.default)(()=>e.A(3560),{loadableGenerated:{modules:[17581]}}),P=(0,a.default)(()=>e.A(37451),{loadableGenerated:{modules:[76560]}}),L=(0,a.default)(()=>e.A(13166),{loadableGenerated:{modules:[51721]}}),N=(0,a.default)(()=>e.A(32170),{loadableGenerated:{modules:[20985]}}),E=(0,a.default)(()=>e.A(66713),{loadableGenerated:{modules:[9820]}}),R=(0,a.default)(()=>e.A(67667),{loadableGenerated:{modules:[91495]}}),A=(0,a.default)(()=>e.A(2424),{loadableGenerated:{modules:[14574]}}),I=(0,a.default)(()=>
1e.A(56272),{loadableGenerated:{modules:[8186]}}),T=(0,a.default)(()=>e.A(22480),{loadableGenerated:{modules:[64669]}}),D=(0,a.default)(()=>e.A(92655),{loadableGenerated:{modules:[82308]}}),F=(0,a.default)(()=>e.A(28567),{loadableGenerated:{modules:[57564]}}),G=(0,a.default)(()=>e.A(25689),{loadableGenerated:{modules:[83038]}});(0,a.default)(()=>e.A(23571),{loadableGenerated:{modules:[69805]}}),(0,a.default)(()=>e.A(10350),{loadableGenerated:{modules:[44051]}});let z=(0,a.default)(()=>e.A(89526),{loadableGenerated:{modules:[404]}}),M=(0,a.default)(()=>e.A(2412),{loadableGenerated:{modules:[96380]}}),U=(0,a.default)(()=>e.A(5192),{loadableGenerated:{modules:[83148]}}),V=(0,a.default)(()=>e.A(25159),{loadableGenerated:{modules:[64846]}}),B=(0,a.default)(()=>e.A(45735),{loadableGenerated:{modules:[52374]}}),W=(0,a.default)(()=>e.A(30730),{loadableGenerated:{modules:[3233]}}),H=(0,a.default)(()=>e.A(23671),{loadableGenerated:{modules:[58744]}});(0,a.default)(()=>e.A(27992),{loadableGenerated:{modules:[32887]}}),(0,a.default)(()=>e.A(37719),{loadableGenerated:{modules:[21396]}}),e.s(["ArrowRight",0,s,"ArrowUpRight",0,i,"ArrowUpRightAccent",0,r,"Bitcoin",0,o,"Bitcoin2",0,n,"Bnb",0,l,"Book",0,u,"BookPlus",0,d,"BorderedEye",0,c,"BorderedShield",0,p,"Close",0,h,"CornerRightUp",0,g,"CoursesTitle1",0,f,"CoursesTitle2",0,m,"Cpu",0,y,"Cup",0,b,"DropdownArrow",0,v,"Eth",0,x,"FlagEn",0,w,"FlagRu",0,S,"Hamburger",0,k,"Lightning",0,O,"Litecoin",0,_,"Logo",0,j,"MasterCard",0,$,"Mir",0,C,"PartnerIcon1",0,P,"PartnerIcon2",0,L,"PartnerIcon3",0,N,"PartnerIcon4",0,E,"PartnerIcon5",0,R,"PartnerIcon6",0,A,"PartnerIcon8",0,I,"Sbp",0,T,"SliderNext",0,D,"SliderPrev",0,F,"Star",0,G,"Ton",0,z,"Tron",0,M,"Usdc",0,U,"Usdt",0,V,"VirtualCardChip",0,B,"VirtualCardLines",0,W,"Visa",0,H],3610)},10424,e=>{e.v({arrow:"styles-module__lfyWva__arrow",arrowUp:"styles-module__lfyWva__arrowUp",body:"styles-module__lfyWva__body",content:"styles-module__lfyWva__content",contentOpen:"styles-module__lfyWva__contentOpen",dropdown:"styles-module__lfyWva__dropdown",header:"styles-module__lfyWva__header",separator:"styles-module__lfyWva__separator",title:"styles-module__lfyWva__title",titleSection:"styles-module__lfyWva__titleSection"})},17836,98314,26067,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(7670),i=e.i(3610),r=e.i(10424);function o({title:e,content:n,icon:l,isOpen:u=!1,onToggle:d}){let[c,p]=(0,a.useState)(u),h=d?u??!1:c,g=()=>{let e=!h;d?d(e):p(e)};return(0,t.jsxs)("div",{className:r.default.dropdown,children:[(0,t.jsxs)("div",{className:r.default.header,onClick:g,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),g())},tabIndex:0,role:"button","aria-expanded":h,"aria-label":`${h?"Collapse":"Expand"} ${e}`,children:[(0,t.jsxs)("div",{className:r.default.titleSection,children:[(0,t.jsx)("p",{className:r.default.title,children:e}),l]}),(0,t.jsx)("div",{className:(0,s.default)(r.default.arrow,h&&r.default.arrowUp),children:(0,t.jsx)(i.DropdownArrow,{})})]}),n&&(0,t.jsx)("div",{className:(0,s.default)(r.default.content,h&&r.default.contentOpen),children:(0,t.jsx)("div",{className:r.default.body,children:n})}),(0,t.jsx)("div",{className:r.default.separator})]})}e.s([],98314),e.s(["Accordion",0,function({items:e,defaultOpenIndex:s}){let[i,r]=(0,a.useState)(s??null);return(0,t.jsx)(t.Fragment,{children:e.map((e,a)=>{let s=i===a;return(0,t.jsx)(o,{title:e.title,content:e.content,icon:e.icon?e.icon(s):void 0,isOpen:s,onToggle:e=>{r(e?a:null)}},e.id)})})}],26067),e.s([],17836)},18566,(e,t,a)=>{t.exports=e.r(76562)},2008,(e,t,a)=>{t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},85269,2607,45771,22831,e=>{"use strict";let t;var a=e.i(71645),s=e.i(2008),i=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function r(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},a=e.match(/<\/?([^\s]+?)[/\s>]/);if(a&&(t.name=a[1],(s.default[a[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("-->");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(i),n=null;null!==(n=o.exec(e));)if(n[0].trim())if(n[1]){var l=n[1].trim(),u=[l,""];l.indexOf("=")>-1&&(u=l.split("=")),t.attrs[u[0]]=u[1],o.lastIndex--}else n[2]&&(t.attrs[n[2]]=n[3].trim().substring(1,n[3].length-1));return t}var o=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,n=/^\s*$/,l=Object.create(null);let u=function(e,t){t||(t={}),t.components||(t.components=l);var a,s=[],i=[],u=-1,d=!1;if(0!==e.indexOf("<")){var c=e.indexOf("<");s.push({type:"text",content:-1===c?e:e.substring(0,c)})}return e.replace(o,function(o,l){if(d){if(o!=="</"+a.name+">")return;d=!1}var c,p="/"!==o.charAt(1),h=o.startsWith("<!--"),g=l+o.length,f=e.charAt(g);if(h){var m=r(o);return u<0?s.push(m):(c=i[u]).children.push(m),s}if(p&&(u++,"tag"===(a=r(o)).type&&t.components[a.name]&&(a.type="component",d=!0),a.voidElement||d||!f||"<"===f||a.children.push({type:"text",content:e.slice(g,e.indexOf("<",g))}),0===u&&s.push(a),(c=i[u-1])&&c.children.push(a),i[u]=a),(!p||a.voidElement)&&(u>-1&&(a.voidElement||a.name===o.slice(2,-1))&&(a=-1==--u?s:i[u]),!d&&"<"!==f&&f)){c=-1===u?s:i[u].children;var y=e.indexOf("<",g),b=e.slice(g,-1===y?void 0:y);n.test(b)&&(b=" "),(y>-1&&u+c.length>=0||" "!==b)&&c.push({type:"text",content:b})}}),s},d=(e,t,a,s)=>{let i=[a,{code:t,...s||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(i,"warn","react-i18next::",!0);m(i[0])&&(i[0]=`react-i18next:: ${i[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...i):console?.warn&&console.warn(...i)},c={},p=(e,t,a,s)=>{m(a)&&c[a]||(m(a)&&(c[a]=new Date),d(e,t,a,s))},h=(e,t)=>()=>{if(e.isInitialized)t();else{let a=()=>{setTimeout(()=>{e.off("initialized",a)},0),t()};e.on("initialized",a)}},g=(e,t,a)=>{e.loadNamespaces(t,h(e,a))},f=(e,t,a,s)=>
1{if(m(a)&&(a=[a]),e.options.preload&&e.options.preload.indexOf(t)>-1)return g(e,a,s);a.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,h(e,s))},m=e=>"string"==typeof e,y=e=>"object"==typeof e&&null!==e,b=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,v={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"â¦","…":"â¦","/":"/","/":"/"},x=e=>v[e],w={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(b,x)},S=(e,t)=>{if(!e)return!1;let a=e.props?.children??e.children;return t?a.length>0:!!a},k=e=>{if(!e)return[];let t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?O(t):t},O=e=>Array.isArray(e)?e:[e],_=(e,t,s,i)=>{if(!e)return"";let r="",o=O(e),n=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return o.forEach((e,o)=>{if(m(e)){r+=`${e}`;return}if((0,a.isValidElement)(e)){let{props:a,type:l}=e,u=Object.keys(a).length,d=n.indexOf(l)>-1,c=a.children;if(!c&&d&&!u){r+=`<${l}/>`;return}if(!c&&(!d||u)||a.i18nIsDynamicList){r+=`<${o}></${o}>`;return}if(d&&1===u&&m(c)){r+=`<${l}>${c}</${l}>`;return}let p=_(c,t,s,i);r+=`<${o}>${p}</${o}>`;return}if(null===e)return void d(s,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:i});if(y(e)){let{format:t,...a}=e,o=Object.keys(a);if(1===o.length){let e=t?`${o[0]}, ${t}`:o[0];r+=`{{${e}}}`;return}d(s,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:i,child:e});return}d(s,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:i,child:e})}),r},j=(e,t,s)=>{let i=e.key||t,r=(0,a.cloneElement)(e,{key:i});return!r.props||!r.props.children||0>s.indexOf(`${t}/>`)&&0>s.indexOf(`${t} />`)?r:(0,a.createElement)(function(){return(0,a.createElement)(a.Fragment,null,r)},{key:i})};e.s(["initReactI18next",0,{type:"3rdParty",init(e){((e={})=>{w={...w,...e}})(e.options.react),t=e}}],2607);let $=(0,a.createContext)();class C{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}e.s(["Trans",0,function({children:e,count:s,parent:i,i18nKey:r,context:o,tOptions:n={},values:l,defaults:d,components:c,ns:h,i18n:g,t:f,shouldUnescape:b,...v}){let{i18n:x,defaultNS:C}=(0,a.useContext)($)||{},P=g||x||t,L=f||P?.t.bind(P);return function({children:e,count:s,parent:i,i18nKey:r,context:o,tOptions:n={},values:l,defaults:d,components:c,ns:h,i18n:g,t:f,shouldUnescape:b,...v}){let x=g||t;if(!x)return p(x,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:r}),e;let $=f||x.t.bind(x)||(e=>e),C={...w,...x.options?.react},P=h||$.ns||x.options?.defaultNS;P=m(P)?[P]:P||["translation"];let L=_(e,C,x,r),N=d||L||C.transEmptyNodeValue||r,{hashTransKey:E}=C,R=r||(E?E(L||N):L||N);x.options?.interpolation?.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...x.options.interpolation.defaultVariables}:{...x.options.interpolation.defaultVariables});let A=!l&&(void 0===s||x.options?.interpolation?.alwaysFormat)&&e?{interpolation:{...n.interpolation,prefix:"#$?",suffix:"?$#"}}:n.interpolation,I={...n,context:o||n.context,count:s,...l,...A,defaultValue:N,ns:P},T=R?$(R,I):N,D=((e,t,a,s)=>{if(!e)return null;if(Array.isArray(e))return e.map((e,a)=>j(e,a,t));if(y(e)){let a;return a={},Object.keys(e).forEach(s=>{Object.assign(a,{[s]:j(e[s],s,t)})}),a}return p(a,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:s}),null})(c,T,x,r),F=D||e,G=null;!(!y(D)||Array.isArray(D))&&Object.keys(D).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0)&&(G=D,F=e);let z=((e,t,s,i,r,o,n)=>{if(""===s)return[];let l=r.transKeepBasicHtmlNodesFor||[],d=s&&new RegExp(l.map(e=>`<${e}`).join("|")).test(s);if(!e&&!t&&!d&&!n)return[s];let c=t??{},p=e=>
1{O(e).forEach(e=>{m(e)||(S(e)?p(k(e)):y(e)&&!(0,a.isValidElement)(e)&&Object.assign(c,e))})};p(e);let h=u(`<0>${s}</0>`),g={...c,...o},f=(e,t,s)=>{let i=k(e),r=v(i,t.children,s);return Array.isArray(i)&&i.every(a.isValidElement)&&0===r.length||e.props?.i18nIsDynamicList?i:r},b=(e,t,s,i,r)=>{e.dummy?(e.children=t,s.push((0,a.cloneElement)(e,{key:i},r?void 0:t))):s.push(...a.Children.map([e],e=>{let s={...e.props};return delete s.i18nIsDynamicList,(0,a.createElement)(e.type,{...s,key:i,ref:e.props.ref??e.ref},r?null:t)}))},v=(e,s,o)=>{let u=O(e);return O(s).reduce((e,s,c)=>{let p=s.children?.[0]?.content&&i.services.interpolator.interpolate(s.children[0].content,g,i.language);if("tag"===s.type){var h,x;let n,w=u[parseInt(s.name,10)];!w&&t&&(w=t[s.name]),1!==o.length||w||(w=o[0][s.name]),w||(w={});let k=0!==Object.keys(s.attrs).length?(h={props:s.attrs},(n={...x=w}).props=Object.assign(h.props,x.props),n):w,O=(0,a.isValidElement)(k),_=O&&S(s,!0)&&!s.voidElement,j=d&&y(k)&&k.dummy&&!O,$=y(t)&&Object.hasOwnProperty.call(t,s.name);if(m(k)){let t=i.services.interpolator.interpolate(k,g,i.language);e.push(t)}else if(S(k)||_){let t=f(k,s,o);b(k,t,e,c)}else if(j)b(k,v(u,s.children,o),e,c);else if(Number.isNaN(parseFloat(s.name)))if($){let t=f(k,s,o);b(k,t,e,c,s.voidElement)}else if(r.transSupportBasicHtmlNodes&&l.indexOf(s.name)>-1)if(s.voidElement)e.push((0,a.createElement)(s.name,{key:`${s.name}-${c}`}));else{let t=v(u,s.children,o);e.push((0,a.createElement)(s.name,{key:`${s.name}-${c}`},t))}else if(s.voidElement)e.push(`<${s.name} />`);else{let t=v(u,s.children,o);e.push(`<${s.name}>${t}</${s.name}>`)}else if(y(k)&&!O){let t=s.children[0]?p:null;t&&e.push(t)}else b(k,p,e,c,1!==s.children.length||!p)}else if("text"===s.type){let t=r.transWrapTextNodes,o=n?r.unescape(i.services.interpolator.interpolate(s.content,g,i.language)):i.services.interpolator.interpolate(s.content,g,i.language);t?e.push((0,a.createElement)(t,{key:`${s.name}-${c}`},o)):e.push(o)}return e},[])};return k(v([{dummy:!0,children:e||[]}],h,O(e||[]))[0])})(F,G,T,x,C,I,b),M=i??C.defaultTransParent;return M?(0,a.createElement)(M,v,z):z}({children:e,count:s,parent:i,i18nKey:r,context:o,tOptions:n,values:l,defaults:d,components:c,ns:h||L?.ns||C||P?.options?.defaultNS,i18n:P,t:f,shouldUnescape:b,...v})}],45771),e.s(["useTranslation",0,(e,s={})=>{var i,r,o,n;let l,{i18n:u}=s,{i18n:d,defaultNS:c}=(0,a.useContext)($)||{},h=u||d||t;if(h&&!h.reportNamespaces&&(h.reportNamespaces=new C),!h){p(h,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>m(t)?t:y(t)&&m(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}h.options.react?.wait&&p(h,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let b={...w,...h.options.react,...s},{useSuspense:v,keyPrefix:x}=b,S=e||c||h.options?.defaultNS;S=m(S)?[S]:S||["translation"],h.reportNamespaces.addUsedNamespaces?.(S);let k=(h.isInitialized||h.initializedStoreOnce)&&S.every(e=>((e,t,a={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:a.lng,precheck:(t,s)=>{if(a.bindI18n&&a.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!s(t.isLanguageChangingTo,e))return!1}}):(p(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,h,b)),O=(i=s.lng||null,r="fallback"===b.nsMode?S:S[0],(0,a.useCallback)(h.getFixedT(i,r,x),[h,i,r,x])),_=()=>O,j=()=>{let e,t;return e=s.lng||null,t="fallback"===b.nsMode?S:S[0],h.getFixedT(e,t,x)},[P,L]=(0,a.useState)(_),N=S.join();s.lng&&(N=`${s.lng}${N}`);let E=(o=N,l=(0,a.useRef)(),(0,a.useEffect)(()=>{l.current=n?l.current:o},[o,n]),l.current),R=(0,a.useRef)(!0);(0,a.useEffect)(()=>{let{bindI18n:e,bindI18nStore:t}=b;R.current=!0,k||v||(s.lng?f(h,s.lng,S,()=>{R.current&&L(j)}):g(h,S,()=>{R.current&&L(j)})),k&&E&&E!==N&&R.current&&L(j);let a=()=>{R.current&&L(j)};return e&&h?.on(e,a),t&&h?.store.on(t,a),()=>
1{R.current=!1,h&&e&&e?.split(" ").forEach(e=>h.off(e,a)),t&&h&&t.split(" ").forEach(e=>h.store.off(e,a))}},[h,N]),(0,a.useEffect)(()=>{R.current&&k&&L(_)},[h,x,k]);let A=[P,h,k];if(A.t=P,A.i18n=h,A.ready=k,k||!k&&!v)return A;throw new Promise(e=>{s.lng?f(h,s.lng,S,()=>e()):g(h,S,()=>e())})}],22831),e.s([],85269)},22596,25487,e=>{"use strict";var t,a=e.i(71645),s=e.i(18566);e.i(85269);var i=e.i(22831);let r=e=>"string"==typeof e,o=()=>{let e,t,a=new Promise((a,s)=>{e=a,t=s});return a.resolve=e,a.reject=t,a},n=e=>null==e?"":""+e,l=/###/g,u=e=>e&&e.indexOf("###")>-1?e.replace(l,"."):e,d=e=>!e||r(e),c=(e,t,a)=>{let s=r(t)?t.split("."):t,i=0;for(;i<s.length-1;){if(d(e))return{};let t=u(s[i]);!e[t]&&a&&(e[t]=new a),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++i}return d(e)?{}:{obj:e,k:u(s[i])}},p=(e,t,a)=>{let{obj:s,k:i}=c(e,t,Object);if(void 0!==s||1===t.length){s[i]=a;return}let r=t[t.length-1],o=t.slice(0,t.length-1),n=c(e,o,Object);for(;void 0===n.obj&&o.length;)r=`${o[o.length-1]}.${r}`,n=c(e,o=o.slice(0,o.length-1),Object),n?.obj&&void 0!==n.obj[`${n.k}.${r}`]&&(n.obj=void 0);n.obj[`${n.k}.${r}`]=a},h=(e,t)=>{let{obj:a,k:s}=c(e,t);if(a&&Object.prototype.hasOwnProperty.call(a,s))return a[s]},g=(e,t,a)=>{for(let s in t)"__proto__"!==s&&"constructor"!==s&&(s in e?r(e[s])||e[s]instanceof String||r(t[s])||t[s]instanceof String?a&&(e[s]=t[s]):g(e[s],t[s],a):e[s]=t[s]);return e};var f={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let m=e=>r(e)?e.replace(/[&<>"'\/]/g,e=>f[e]):e,y=[" ",",","?","!",";"],b=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let a=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,a),this.regExpQueue.push(e),a}}(20),v=(e,t,a=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let s=t.split(a),i=e;for(let e=0;e<s.length;){let t;if(!i||"object"!=typeof i)return;let r="";for(let o=e;o<s.length;++o)if(o!==e&&(r+=a),r+=s[o],void 0!==(t=i[r])){if(["string","number","boolean"].indexOf(typeof t)>-1&&o<s.length-1)continue;e+=o-e+1;break}i=t}return i},x=e=>e?.replace("_","-"),w={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class S{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||w,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,a,s){return s&&!this.debug?null:(r(e[0])&&(e[0]=`${a}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new S(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new S(this.logger,e)}}var k=new S;class O{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let a=this.observers[e].get(t)||0;this.observers[e].set(t,a+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,a])=>{for(let s=0;s<a;s++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([a,s])=>{for(let i=0;i<s;i++)a.apply(a,[e,...t])})}}class _ extends O{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,a,s={}){let i,o=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,n=void 0!==s.ignoreJSONStructure?s.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],a&&(Array.isArray(a)?i.push(...a):r(a)&&o?i.push(...a.split(o)):i.push(a)));let l=h(this.data,i);
1return(!l&&!t&&!a&&e.indexOf(".")>-1&&(e=i[0],t=i[1],a=i.slice(2).join(".")),!l&&n&&r(a))?v(this.data?.[e]?.[t],a,o):l}addResource(e,t,a,s,i={silent:!1}){let r=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,o=[e,t];a&&(o=o.concat(r?a.split(r):a)),e.indexOf(".")>-1&&(o=e.split("."),s=t,t=o[1]),this.addNamespaces(t),p(this.data,o,s),i.silent||this.emit("added",e,t,a,s)}addResources(e,t,a,s={silent:!1}){for(let s in a)(r(a[s])||Array.isArray(a[s]))&&this.addResource(e,t,s,a[s],{silent:!0});s.silent||this.emit("added",e,t,a)}addResourceBundle(e,t,a,s,i,r={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),s=a,a=t,t=o[1]),this.addNamespaces(t);let n=h(this.data,o)||{};r.skipCopy||(a=JSON.parse(JSON.stringify(a))),s?g(n,a,i):n={...n,...a},p(this.data,o,n),r.silent||this.emit("added",e,t,a)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var j={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,a,s,i){return e.forEach(e=>{t=this.processors[e]?.process(t,a,s,i)??t}),t}};let $=Symbol("i18next/PATH_KEY");function C(e,t){let a,s,i,{[$]:r}=e((s=[],(i=Object.create(null)).get=(e,t)=>(a?.revoke?.(),t===$)?s:(s.push(t),(a=Proxy.revocable(e,i)).proxy),Proxy.revocable(Object.create(null),i).proxy));return r.join(t?.keySeparator??".")}let P={},L=e=>!r(e)&&"boolean"!=typeof e&&"number"!=typeof e;class N extends O{constructor(e,t={}){super(),((e,t,a)=>{e.forEach(e=>{t[e]&&(a[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let a={...t};if(null==e)return!1;let s=this.resolve(e,a);return s?.res!==void 0}extractFromKey(e,t){let a=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===a&&(a=":");let s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],o=a&&e.indexOf(a)>-1,n=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,a)=>{t=t||"",a=a||"";let s=y.filter(e=>0>t.indexOf(e)&&0>a.indexOf(e));if(0===s.length)return!0;let i=b.getRegExp(`(${s.map(e=>"?"===e?"\\?":e).join("|")})`),r=!i.test(e);if(!r){let t=e.indexOf(a);t>0&&!i.test(e.substring(0,t))&&(r=!0)}return r})(e,a,s);if(o&&!n){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:r(i)?[i]:i};let o=e.split(a);(a!==s||a===s&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(s)}return{key:e,namespaces:r(i)?[i]:i}}translate(e,t,a){let s="object"==typeof t?{...t}:t;if("object"!=typeof s&&this.options.overloadTranslationOptionHandler&&(s=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof s&&(s={...s}),s||(s={}),null==e)return"";"function"==typeof e&&(e=C(e,{...this.options,...s})),Array.isArray(e)||(e=[String(e)]);let i=void 0!==s.returnDetails?s.returnDetails:this.options.returnDetails,o=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,{key:n,namespaces:l}=this.extractFromKey(e[e.length-1],s),u=l[l.length-1],d=void 0!==s.nsSeparator?s.nsSeparator:this.options.nsSeparator;void 0===d&&(d=":");let c=s.lng||this.language,p=s.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return p?i?{res:`${u}${d}${n}`,usedKey:n,exactUsedKey:n,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(s)}:`${u}${d}${n}`:i?{res:n,usedKey:n,exactUsedKey:n,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(s)}:n;let h=this.resolve(e,s),g=h?.res,f=h?.usedKey||n,m=h?.exactUsedKey||n,y=void 0!==s.joinArrays?s.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==s.count&&!r(s.count),x=N.hasDefaultValue(s),w=v?this.pluralResolver.getSuffix(c,s.count,s):"",S=s.ordinal&&v?this.pluralResolver.getSuffix(c,s.count,{ordinal:!1}):"",k=v&&!s.ordinal&&0===s.count,O=k&&s[`defaultValue${this.options.pluralSeparator}zero`]||s[`defaultValue${w}`]||s[`defaultValue${S}`]||s.defaultValue,_=g;b&&!g&&x&&(_=O);let j=L(_),$=Object.prototype.toString.apply(_);if(b&&_&&j&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf($)&&!(r(y)&&Array.isArray(_))){if(!s.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,_,{...s,ns:l}):`key '${n} (${this.language})' returned an object instead of string.`;return i?(h.res=e,h.usedParams=this.getUsedParamsDetails(s),h):e}if(o){let e=Array.isArray(_),t=e?[]:{},a=e?m:f;for(let e in _)if(Object.prototype.hasOwnProperty.call(_,e)){let i=`${a}${o}${e}`;x&&!g?t[e]=this.translate(i,{...s,defaultValue:L(O)?O[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(i,{...s,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=_[e])}g=t}}else if(b&&r(y)&&Array.isArray(g))(g=g.join(y))&&(g=this.extendTranslation(g,e,s,a));else{let t=!1,i=!1;!this.isValidLookup(g)&&x&&(t=!0,g=O),this.isValidLookup(g)||(i=!0,g=n);let r=(s.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:g,l=x&&O!==g&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",c,u,n,l?O:g),o){let e=this.resolve(n,{...s,keySeparator:!1});e&&e.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 e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,s.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let a=0;a<t.length;
1a++)e.push(t[a]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(s.lng||this.language):e.push(s.lng||this.language);let a=(e,t,a)=>{let i=x&&a!==g?a:r;this.options.missingKeyHandler?this.options.missingKeyHandler(e,u,t,i,l,s):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,u,t,i,l,s),this.emit("missingKey",e,u,t,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,s);k&&s[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{a([e],n+t,s[`defaultValue${t}`]||O)})}):a(e,n,O))}g=this.extendTranslation(g,e,s,h,a),i&&g===n&&this.options.appendNamespaceToMissingKey&&(g=`${u}${d}${n}`),(i||t)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${d}${n}`:n,t?g:void 0,s))}return i?(h.res=g,h.usedParams=this.getUsedParamsDetails(s),h):g}extendTranslation(e,t,a,s,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...a},a.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!a.skipInterpolation){let o;a.interpolation&&this.interpolator.init({...a,...{interpolation:{...this.options.interpolation,...a.interpolation}}});let n=r(e)&&(a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(n){let t=e.match(this.interpolator.nestingRegexp);o=t&&t.length}let l=a.replace&&!r(a.replace)?a.replace:a;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,a.lng||this.language||s.usedLng,a),n){let t=e.match(this.interpolator.nestingRegexp);o<(t&&t.length)&&(a.nest=!1)}!a.lng&&s&&s.res&&(a.lng=this.language||s.usedLng),!1!==a.nest&&(e=this.interpolator.nest(e,(...e)=>i?.[0]!==e[0]||a.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),a)),a.interpolation&&this.interpolator.reset()}let o=a.postProcess||this.options.postProcess,n=r(o)?[o]:o;return null!=e&&n?.length&&!1!==a.applyPostProcessor&&(e=j.handle(n,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(a)},...a}:a,this)),e}resolve(e,t={}){let a,s,i,o,n;return r(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(a))return;let l=this.extractFromKey(e,t),u=l.key;s=u;let d=l.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let c=void 0!==t.count&&!r(t.count),p=c&&!t.ordinal&&0===t.count,h=void 0!==t.context&&(r(t.context)||"number"==typeof t.context)&&""!==t.context,g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);d.forEach(e=>{this.isValidLookup(a)||(n=e,!P[`${g[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(n)&&(P[`${g[0]}-${e}`]=!0,this.logger.warn(`key "${s}" for languages "${g.join(", ")}" won't get resolved as namespace "${n}" 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!!!")),g.forEach(s=>{let r;if(this.isValidLookup(a))return;o=s;let n=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(n,u,s,e,t);else{let e;c&&(e=this.pluralResolver.getSuffix(s,t.count,t));let a=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(t.ordinal&&0===e.indexOf(i)&&n.push(u+e.replace(i,this.options.pluralSeparator)),n.push(u+e),p&&n.push(u+a)),h){let s=`${u}${this.options.contextSeparator||"_"}${t.context}`;n.push(s),c&&(t.ordinal&&0===e.indexOf(i)&&n.push(s+e.replace(i,this.options.pluralSeparator)),n.push(s+e),p&&n.push(s+a))}}for(;r=n.pop();)this.isValidLookup(a)||(i=r,a=this.getResource(s,e,r,t))}))})}),{res:a,usedKey:s,exactUsedKey:i,usedLng:o,usedNS:n}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,a,s={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,a,s):this.resourceStore.getResource(e,t,a,s)}
1getUsedParamsDetails(e={}){let t=e.replace&&!r(e.replace),a=t?e.replace:e;if(t&&void 0!==e.count&&(a.count=e.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!t)for(let e of(a={...a},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete a[e];return a}static hasDefaultValue(e){let t="defaultValue";for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a)&&t===a.substring(0,t.length)&&void 0!==e[a])return!0;return!1}}class E{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(!(e=x(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=x(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(r(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let a=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(a))&&(t=a)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let a=this.getScriptPartFromCode(e);if(this.isSupportedCode(a))return t=a;let s=this.getLanguagePartFromCode(e);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(e=>{if(e===s||!(0>e.indexOf("-")&&0>s.indexOf("-"))&&(e.indexOf("-")>0&&0>s.indexOf("-")&&e.substring(0,e.indexOf("-"))===s||0===e.indexOf(s)&&s.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),r(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let a=e[t];return a||(a=e[this.getScriptPartFromCode(t)]),a||(a=e[this.formatLanguageCode(t)]),a||(a=e[this.getLanguagePartFromCode(t)]),a||(a=e.default),a||[]}toResolveHierarchy(e,t){let a=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),s=[],i=e=>{e&&(this.isSupportedCode(e)?s.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return r(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):r(e)&&i(this.formatLanguageCode(e)),a.forEach(e=>{0>s.indexOf(e)&&i(this.formatLanguageCode(e))}),s}}let R={zero:0,one:1,two:2,few:3,many:4,other:5},A={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class I{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let a,s=x("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:s,type:i});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];try{a=new Intl.PluralRules(s,{type:i})}catch(i){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),A;if(!e.match(/-|_/))return A;let s=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(s,t)}return this.pluralRulesCache[r]=a,a}needsPlural(e,t={}){let a=this.getRule(e,t);return a||(a=this.getRule("dev",t)),a?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,a={}){return this.getSuffixes(e,a).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let a=this.getRule(e,t);return(a||(a=this.getRule("dev",t)),a)?a.resolvedOptions().pluralCategories.sort((e,t)=>
1R[e]-R[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,a={}){let s=this.getRule(e,a);return s?`${this.options.prepend}${a.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,a))}}let T=(e,t,a,s=".",i=!0)=>{let o,n=void 0!==(o=h(e,a))?o:h(t,a);return!n&&i&&r(a)&&void 0===(n=v(e,a,s))&&(n=v(t,a,s)),n};class D{constructor(e={}){this.logger=k.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:a,useRawValueToEscape:s,prefix:i,prefixEscaped:r,suffix:o,suffixEscaped:n,formatSeparator:l,unescapeSuffix:u,unescapePrefix:d,nestingPrefix:c,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:g,nestingOptionsSeparator:f,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:m,this.escapeValue=void 0===a||a,this.useRawValueToEscape=void 0!==s&&s,this.prefix=i?i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):r||"{{",this.suffix=o?o.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):n||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":u||"",this.nestingPrefix=c?c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):p||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):g||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=f||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"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,a,s){let i,o,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},d=e=>{if(0>e.indexOf(this.formatSeparator)){let i=T(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,a,{...s,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),r=i.shift().trim(),o=i.join(this.formatSeparator).trim();return this.format(T(t,u,r,this.options.keySeparator,this.options.ignoreJSONStructure),o,a,{...s,...t,interpolationkey:r})};this.resetRegExp();let c=s?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e.replace(/\$/g,"$$$$")},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e).replace(/\$/g,"$$$$"):e.replace(/\$/g,"$$$$")}].forEach(t=>{for(l=0;i=t.regex.exec(e);){let a=i[1].trim();if(void 0===(o=d(a)))if("function"==typeof c){let t=c(e,i,s);o=r(t)?t:""}else if(s&&Object.prototype.hasOwnProperty.call(s,a))o="";else if(p){o=i[0];continue}else this.logger.warn(`missed to pass in variable ${a} for interpolating ${e}`),o="";else r(o)||this.useRawValueToEscape||(o=n(o));let u=t.safeValue(o);if(e=e.replace(i[0],u),p?(t.regex.lastIndex+=o.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,a={}){let s,i,o,l=(e,t)=>{let a=this.nestingOptionsSeparator;if(0>e.indexOf(a))return e;let s=e.split(RegExp(`${a}[ ]*{`)),i=`{${s[1]}`;e=s[0];let r=(i=this.interpolate(i,o)).match(/'/g),n=i.match(/"/g);((r?.length??0)%2!=0||n)&&n.length%2==0||(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${a}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;s=this.nestingRegexp.exec(e);){let u=[];(o=(o={...a}).replace&&!r(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let d=/{.*}/.test(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(-1!==d&&(u=s[1].slice(d).split(this.formatSeparator).map(e=>
1e.trim()).filter(Boolean),s[1]=s[1].slice(0,d)),(i=t(l.call(this,s[1].trim(),o),o))&&s[0]===e&&!r(i))return i;r(i)||(i=n(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),u.length&&(i=u.reduce((e,t)=>this.format(e,t,a.lng,{...a,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}let F=e=>{let t={};return(a,s,i)=>{let r=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(r={...r,[i.interpolationkey]:void 0});let o=s+JSON.stringify(r),n=t[o];return n||(n=e(x(s),i),t[o]=n),n(a)}},G=e=>(t,a,s)=>e(x(a),s)(t);class z{constructor(e={}){this.logger=k.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let a=t.cacheInBuiltFormats?F:G;this.formats={number:a((e,t)=>{let a=new Intl.NumberFormat(e,{...t});return e=>a.format(e)}),currency:a((e,t)=>{let a=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>a.format(e)}),datetime:a((e,t)=>{let a=new Intl.DateTimeFormat(e,{...t});return e=>a.format(e)}),relativetime:a((e,t)=>{let a=new Intl.RelativeTimeFormat(e,{...t});return e=>a.format(e,t.range||"day")}),list:a((e,t)=>{let a=new Intl.ListFormat(e,{...t});return e=>a.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=F(t)}format(e,t,a,s={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:r}=(e=>{let t=e.toLowerCase().trim(),a={};if(e.indexOf("(")>-1){let s=e.split("(");t=s[0].toLowerCase().trim();let i=s[1].substring(0,s[1].length-1);"currency"===t&&0>i.indexOf(":")?a.currency||(a.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?a.range||(a.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...s]=e.split(":"),i=s.join(":").trim().replace(/^'+|'+$/g,""),r=t.trim();a[r]||(a[r]=i),"false"===i&&(a[r]=!1),"true"===i&&(a[r]=!0),isNaN(i)||(a[r]=parseInt(i,10))}})}return{formatName:t,formatOptions:a}})(t);if(this.formats[i]){let t=e;try{let o=s?.formatParams?.[s.interpolationkey]||{},n=o.locale||o.lng||s.locale||s.lng||a;t=this.formats[i](e,n,{...r,...s,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class M extends O{constructor(e,t,a,s={}){super(),this.backend=e,this.store=t,this.services=a,this.languageUtils=a.languageUtils,this.options=s,this.logger=k.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=[],this.backend?.init?.(a,s.backend,s)}queueLoad(e,t,a,s){let i={},r={},o={},n={};return e.forEach(e=>{let s=!0;t.forEach(t=>{let o=`${e}|${t}`;!a.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===r[o]&&(r[o]=!0):(this.state[o]=1,s=!1,void 0===r[o]&&(r[o]=!0),void 0===i[o]&&(i[o]=!0),void 0===n[t]&&(n[t]=!0)))}),s||(o[e]=!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(o),toLoadNamespaces:Object.keys(n)}}loaded(e,t,a){let s=e.split("|"),i=s[0],r=s[1];t&&this.emit("failedLoading",i,r,t),!t&&a&&this.store.addResourceBundle(i,r,a,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&a&&(this.state[e]=0);let o={};this.queue.forEach(a=>{((e,t,a,s)=>{let{obj:i,k:r}=c(e,t,Object);i[r]=i[r]||[],i[r].push(a)})(a.loaded,[i],r),void 0!==a.pending[e]&&(delete a.pending[e],a.pendingCount--),t&&a.errors.push(t),0!==a.pendingCount||a.done||(Object.keys(a.loaded).forEach(e=>{o[e]||(o[e]={});let t=a.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),a.done=!0,a.errors.length?a.callback(a.errors):a.callback())}
1),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,a,s=0,i=this.retryTimeout,r){if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:a,tried:s,wait:i,callback:r});this.readingCalls++;let o=(o,n)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}o&&n&&s<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,a,s+1,2*i,r)},i):r(o,n)},n=this.backend[a].bind(this.backend);if(2===n.length){try{let a=n(e,t);a&&"function"==typeof a.then?a.then(e=>o(null,e)).catch(o):o(null,a)}catch(e){o(e)}return}return n(e,t,o)}prepareLoading(e,t,a={},s){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();r(e)&&(e=this.languageUtils.toResolveHierarchy(e)),r(t)&&(t=[t]);let i=this.queueLoad(e,t,a,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,a){this.prepareLoading(e,t,{},a)}reload(e,t,a){this.prepareLoading(e,t,{reload:!0},a)}loadOne(e,t=""){let a=e.split("|"),s=a[0],i=a[1];this.read(s,i,"read",void 0,void 0,(a,r)=>{a&&this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`,a),!a&&r&&this.logger.log(`${t}loaded namespace ${i} for language ${s}`,r),this.loaded(e,a,r)})}saveMissing(e,t,a,s,i,r={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${a}" 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!!!");if(null!=a&&""!==a){if(this.backend?.create){let n={...r,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,a,s,n):l(e,t,a,s))&&"function"==typeof i.then?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else l(e,t,a,s,o,n)}e&&e[0]&&this.store.addResource(e[0],t,a,s)}}}let U=()=>({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:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),r(e[1])&&(t.defaultValue=e[1]),r(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let a=e[3]||e[2];Object.keys(a).forEach(e=>{t[e]=a[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),V=e=>(r(e.ns)&&(e.ns=[e.ns]),r(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),r(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),B=()=>{};class W extends O{constructor(e={},t){if(super(),this.options=V(e),this.services={},this.logger=k,this.modules={external:[]},(e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(r(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let a=U();this.options={...a,...this.options,...V(e)},this.options.interpolation={...a.interpolation,...this.options.interpolation}
1,void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);let s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?k.init(s(this.modules.logger),this.options):k.init(null,this.options),e=this.modules.formatter?this.modules.formatter:z;let t=new E(this.options);this.store=new _(this.options.resources,this.options);let i=this.services;i.logger=k,i.resourceStore=this.store,i.languageUtils=t,i.pluralResolver=new I(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==a.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),e&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(i.formatter=s(e),i.formatter.init&&i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new D(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new M(s(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(i.languageDetector=s(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=s(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new N(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=B),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[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(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let i=o(),n=()=>{let e=(e,a)=>{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),i.resolve(a),t(e,a)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?n():setTimeout(n,0),i}loadResources(e,t=B){let a=t,s=r(e)?e:this.language;if("function"==typeof e&&(a=e),!this.options.resources||this.options.partialBundledLanguages){if(s?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return a();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};s?t(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),a(e)})}else a(null)}reloadResources(e,t,a){let s=o();return"function"==typeof e&&(a=e,e=void 0),"function"==typeof t&&(a=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),a||(a=B),this.services.backendConnector.reload(e,t,e=>{s.resolve(),a(e)}),s}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&j.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let a=o();
1this.emit("languageChanging",e);let s=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(i,r)=>{r?this.isLanguageChangingTo===e&&(s(r),this.translator.changeLanguage(r),this.isLanguageChangingTo=void 0,this.emit("languageChanged",r),this.logger.log("languageChanged",r)):this.isLanguageChangingTo=void 0,a.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},n=t=>{e||t||!this.services.languageDetector||(t=[]);let a=r(t)?t:t&&t[0],o=this.store.hasLanguageSomeTranslations(a)?a:this.services.languageUtils.getBestMatchFromCodes(r(t)?[t]:t);o&&(this.language||s(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{i(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(n):this.services.languageDetector.detect(n):n(e):n(this.services.languageDetector.detect()),a}getFixedT(e,t,a){let s=(e,t,...i)=>{let r,o;(r="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t}).lng=r.lng||s.lng,r.lngs=r.lngs||s.lngs,r.ns=r.ns||s.ns,""!==r.keyPrefix&&(r.keyPrefix=r.keyPrefix||a||s.keyPrefix);let n=this.options.keySeparator||".";return r.keyPrefix&&Array.isArray(e)?o=e.map(e=>("function"==typeof e&&(e=C(e,{...this.options,...t})),`${r.keyPrefix}${n}${e}`)):("function"==typeof e&&(e=C(e,{...this.options,...t})),o=r.keyPrefix?`${r.keyPrefix}${n}${e}`:e),this.t(o,r)};return r(e)?s.lng=e:s.lngs=e,s.ns=t,s.keyPrefix=a,s}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let a=t.lng||this.resolvedLanguage||this.languages[0],s=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===a.toLowerCase())return!0;let r=(e,t)=>{let a=this.services.backendConnector.state[`${e}|${t}`];return -1===a||0===a||2===a};if(t.precheck){let e=t.precheck(this,r);if(void 0!==e)return e}return!!(this.hasResourceBundle(a,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(a,e)&&(!s||r(i,e)))}loadNamespaces(e,t){let a=o();return this.options.ns?(r(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{a.resolve(),t&&t(e)}),a):(t&&t(),Promise.resolve())}loadLanguages(e,t){let a=o();r(e)&&(e=[e]);let s=this.options.preload||[],i=e.filter(e=>0>s.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=s.concat(i),this.loadResources(e=>{a.resolve(),t&&t(e)}),a):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let t=new Intl.Locale(e);if(t&&t.getTextInfo){let e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}let t=this.services?.languageUtils||new E(U());return e.toLowerCase().indexOf("-latn")>1?"ltr":["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"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){return new W(e,t)}cloneInstance(e={},t=B){let a=e.forkResourceStore;a&&delete e.forkResourceStore;let s={...this.options,...e,isClone:!0},i=new W(s);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},a&&(i.store=new _(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((a,s)=>(a[s]={...e[t][s]},a),e[t]),e),{}),s),i.services.resourceStore=i.store),i.translator=new N(i.services,s),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),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}}}let H=W.createInstance();H.createInstance=W.createInstance,H.createInstance,H.dir,H.init,H.loadResources,H.reloadResources,H.use,H.changeLanguage,H.getFixedT,H.t,H.exists,H.setDefaultNamespace,H.hasLoadedNamespace,H.loadNamespaces,H.loadLanguages;let{slice:K,forEach:q}=[],J=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Y=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"},s=encodeURIComponent(t),i=`${e}=${s}`;if(a.maxAge>0){let e=a.maxAge-0;if(Number.isNaN(e))throw Error("maxAge should be a Number");i+=`; Max-Age=${Math.floor(e)}`}if(a.domain){if(!J.test(a.domain))throw TypeError("option domain is invalid");i+=`; Domain=${a.domain}`}if(a.path){if(!J.test(a.path))throw TypeError("option path is invalid");i+=`; Path=${a.path}`}if(a.expires){if("function"!=typeof a.expires.toUTCString)throw TypeError("option expires is invali
1d");i+=`; Expires=${a.expires.toUTCString()}`}if(a.httpOnly&&(i+="; HttpOnly"),a.secure&&(i+="; Secure"),a.sameSite)switch("string"==typeof a.sameSite?a.sameSite.toLowerCase():a.sameSite){case!0:case"strict":i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"none":i+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return a.partitioned&&(i+="; Partitioned"),i},X={create(e,t,a,s){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};a&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+60*a*1e3)),s&&(i.domain=s),document.cookie=Y(e,t,i)},read(e){let t=`${e}=`,a=document.cookie.split(";");for(let e=0;e<a.length;e++){let s=a[e];for(;" "===s.charAt(0);)s=s.substring(1,s.length);if(0===s.indexOf(t))return s.substring(t.length,s.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var Z={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"u">typeof document)return X.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:a,cookieMinutes:s,cookieDomain:i,cookieOptions:r}=t;a&&"u">typeof document&&X.create(a,e,s,i,r)}},Q={name:"querystring",lookup(e){let t,{lookupQuerystring:a}=e;if("u">typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));let s=e.substring(1).split("&");for(let e=0;e<s.length;e++){let i=s[e].indexOf("=");i>0&&s[e].substring(0,i)===a&&(t=s[e].substring(i+1))}}return t}},ee={name:"hash",lookup(e){let t,{lookupHash:a,lookupFromHashIndex:s}=e;if("u">typeof window){let{hash:e}=window.location;if(e&&e.length>2){let i=e.substring(1);if(a){let e=i.split("&");for(let s=0;s<e.length;s++){let i=e[s].indexOf("=");i>0&&e[s].substring(0,i)===a&&(t=e[s].substring(i+1))}}if(t)return t;if(!t&&s>-1){let t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;return t["number"==typeof s?s:0]?.replace("/","")}}}return t}};let et=null,ea=()=>{if(null!==et)return et;try{if(!(et="u">typeof window&&null!==window.localStorage))return!1;let e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){et=!1}return et};var es={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&ea())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:a}=t;a&&ea()&&window.localStorage.setItem(a,e)}};let ei=null,er=()=>{if(null!==ei)return ei;try{if(!(ei="u">typeof window&&null!==window.sessionStorage))return!1;let e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){ei=!1}return ei};var eo={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&er())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:a}=t;a&&er()&&window.sessionStorage.setItem(a,e)}},en={name:"navigator",lookup(e){let t=[];if("u">typeof navigator){let{languages:e,userLanguage:a,language:s}=navigator;if(e)for(let a=0;a<e.length;a++)t.push(e[a]);a&&t.push(a),s&&t.push(s)}return t.length>0?t:void 0}},el={name:"htmlTag",lookup(e){let t,{htmlTag:a}=e,s=a||("u">typeof document?document.documentElement:null);return s&&"function"==typeof s.getAttribute&&(t=s.getAttribute("lang")),t}},eu={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("u"<typeof window)return;let a=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(Array.isArray(a))return a["number"==typeof t?t:0]?.replace("/","")}},ed={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e,a="u">typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(a)return a["number"==typeof t?t+1:1]}};let ec=!1;try{document.cookie,ec=!0}catch(e){}let ep=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];ec||ep.splice(1,1);class eh{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return q.call(K.call(arguments,1
1),t=>{if(t)for(let a in t)void 0===e[a]&&(e[a]=t[a])}),e}(t,this.options||{},{order:ep,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(Z),this.addDetector(Q),this.addDetector(es),this.addDetector(eo),this.addDetector(en),this.addDetector(el),this.addDetector(eu),this.addDetector(ed),this.addDetector(ee)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return(e.forEach(e=>{if(this.detectors[e]){let a=this.detectors[e].lookup(this.options);a&&"string"==typeof a&&(a=[a]),a&&(t=t.concat(a))}}),t=t.filter(e=>null!=e&&!("string"==typeof e&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(t=>t.test(e)))).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes)?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;!t||this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)})}}eh.type="languageDetector";var eg=e.i(2607);let ef=["en","ru"],em="translation";e.s(["defaultNS",0,em,"fallbackLng",0,"en","languages",0,ef],25487),H.use(eg.initReactI18next).use(eh).use((t=(t,a)=>e.f({"./locales//en/cookiePolicy.json":{id:()=>83912,module:()=>e.A(83912)},"./locales//en/footer.json":{id:()=>567,module:()=>e.A(567)},"./locales//en/homepage.json":{id:()=>65247,module:()=>e.A(65247)},"./locales//en/menu.json":{id:()=>8879,module:()=>e.A(8879)},"./locales//en/privacyPolicy.json":{id:()=>55407,module:()=>e.A(55407)},"./locales//en/translation.json":{id:()=>33761,module:()=>e.A(33761)},"./locales//ru/cookiePolicy.json":{id:()=>46572,module:()=>e.A(46572)},"./locales//ru/footer.json":{id:()=>88954,module:()=>e.A(88954)},"./locales//ru/homepage.json":{id:()=>24169,module:()=>e.A(24169)},"./locales//ru/menu.json":{id:()=>5239,module:()=>e.A(5239)},"./locales//ru/privacyPolicy.json":{id:()=>26257,module:()=>e.A(26257)},"./locales//ru/translation.json":{id:()=>49373,module:()=>e.A(49373)},"./locales/en/cookiePolicy.json":{id:()=>83912,module:()=>e.A(83912)},"./locales/en/footer.json":{id:()=>567,module:()=>e.A(567)},"./locales/en/homepage.json":{id:()=>65247,module:()=>e.A(65247)},"./locales/en/menu.json":{id:()=>8879,module:()=>e.A(8879)},"./locales/en/privacyPolicy.json":{id:()=>55407,module:()=>e.A(55407)},"./locales/en/translation.json":{id:()=>33761,module:()=>e.A(33761)},"./locales/ru/cookiePolicy.json":{id:()=>46572,module:()=>e.A(46572)},"./locales/ru/footer.json":{id:()=>88954,module:()=>e.A(88954)},"./locales/ru/homepage.json":{id:()=>24169,module:()=>e.A(24169)},"./locales/ru/menu.json":{id:()=>5239,module:()=>e.A(5239)},"./locales/ru/privacyPolicy.json":{id:()=>26257,module:()=>e.A(26257)},"./locales/ru/translation.json":{id:()=>49373,module:()=>e.A(49373)}}).import(`./locales/${t}/${a}.json`),{type:"backend",init:function(e,t,a){},read:function(e,a,s){!0;if(t.length<3){try{var i=t(e,a);i&&"function"==typeof i.then?i.then(function(e){return s(null,e&&e.default||e)}).catch(s):s(null,i)}catch(e){s(e)}return}t(e,a,s)}})).init({supportedLngs:ef,fallbackLng:"en",lng:void 0,fallbackNS:em,defaultNS:em,detection:{order:["path","htmlTag","cookie","navigator"]},preload:[]}),e.s(["useT",0,function(e,t){let r=(0,s.useParams)()?.lang;if("string"!=typeof r)throw Error("useT is only available inside /app/[lang]");{let[e,t]=(0,a.useState)(H.resolvedLanguage);(0,a.useEffect)(()=>{e!==H.resolvedLanguage&&t(H.resolvedLanguage)},[e]),(0,a.useEffect)(()=>{r&&H.resolvedLanguage!==r&&H.changeLanguage(r)},[r])}return(0,i.useTranslation)(e,t)}],22596)},80433,e=>{e.v({container:"styles-module__W1ZbkG__container",dropdown:"styles-module__W1ZbkG__dropdown",flag:"styles-module__W1ZbkG__flag",menuButton:"styles-module__W1ZbkG__menuButton",menuItem:"styles-module__W1ZbkG__menuItem"})},88143,(e,t,a)=>{"use strict";function s({widthInt:e,heightInt:t,blurWidth:a,blurHeight:i,blurDataURL:r,objectFit:o}
1){let n=a?40*a:e,l=i?40*i:t,u=n&&l?`viewBox='0 0 ${n} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return s}})},87690,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return o}};for(var i in s)Object.defineProperty(a,i,{enumerable:!0,get:s[i]});let r=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return u}}),e.r(33525);let s=e.r(43369),i=e.r(88143),r=e.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function n(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:a=!1,priority:d=!1,preload:c=!1,loading:p,className:h,quality:g,width:f,height:m,fill:y=!1,style:b,overrideSrc:v,onLoad:x,onLoadingComplete:w,placeholder:S="empty",blurDataURL:k,fetchPriority:O,decoding:_="async",layout:j,objectFit:$,objectPosition:C,lazyBoundary:P,lazyRoot:L,...N},E){var R;let A,I,T,{imgConf:D,showAltText:F,blurComplete:G,defaultLoader:z}=E,M=D||r.imageConfigDefault;if("allSizes"in M)A=M;else{let e=[...M.deviceSizes,...M.imageSizes].sort((e,t)=>e-t),t=M.deviceSizes.sort((e,t)=>e-t),a=M.qualities?.sort((e,t)=>e-t);A={...M,allSizes:e,deviceSizes:t,qualities:a}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=N.loader||z;delete N.loader,delete N.srcSet;let V="__next_img_default"in U;if(V){if("custom"===A.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:a,...s}=t;return e(s)}}if(j){"fill"===j&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[j];e&&(b={...b,...e});let a={responsive:"100vw",fill:"100vw"}[j];a&&!t&&(t=a)}let B="",W=l(f),H=l(m);if((R=e)&&"object"==typeof R&&(n(R)||void 0!==R.src)){let t=n(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}
2`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(I=t.blurWidth,T=t.blurHeight,k=k||t.blurDataURL,B=t.src,!y)if(W||H){if(W&&!H){let e=W/t.width;H=Math.round(t.height*e)}else if(!W&&H){let e=H/t.height;W=Math.round(t.width*e)}}else W=t.width,H=t.height}let K=!d&&!c&&("lazy"===p||void 0===p);(!(e="string"==typeof e?e:B)||e.startsWith("data:")||e.startsWith("blob:"))&&(a=!0,K=!1),A.unoptimized&&(a=!0),V&&!A.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(a=!0);let q=l(g),J=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:$,objectPosition:C}:{},F?{}:{color:"transparent"},b),Y=G||"empty"===S?null:"blur"===S?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:W,heightInt:H,blurWidth:I,blurHeight:T,blurDataURL:k||"",objectFit:J.objectFit})}")`:`url("${S}")`,X=o.includes(J.objectFit)?"fill"===J.objectFit?"100% 100%":"cover":J.objectFit,Z=Y?{backgroundSize:X,backgroundPosition:J.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Y}:{},Q=function({config:e,src:t,unoptimized:a,width:i,quality:r,sizes:o,loader:n}){if(a){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,s.getDeploymentId)();if(e){let a=t.indexOf("?");if(-1!==a){let s=new URLSearchParams(t.slice(a+1));s.get("dpl")||(s.append("dpl",e),t=t.slice(0,a)+"?"+s.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},a,s){if(s){let a=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=a.exec(s);)i.push(parseInt(e[2]));if(i.length){let a=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*a),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof a?{widths:e,kind:"w"}:{widths:[...new Set([a,2*a].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,o),d=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((a,s)=>`${n({config:e,src:t,quality:r,width:a})} ${"w"===u?a:s+1}${u}`).join(", "),src:n({config:e,src:t,quality:r,width:l[d]})}}({config:A,src:e,unoptimized:a,width:W,quality:q,sizes:t,loader:U}),ee=K?"lazy":p;return{props:{...N,loading:ee,fetchPriority:O,width:W,height:H,decoding:_,className:h,style:{...J,...Z},sizes:Q.sizes,srcSet:Q.srcSet,src:v||Q.src},meta:{unoptimized:a,preload:c||d,placeholder:S,fill:y}}}},98879,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return n}});let s=e.r(71645),i="u"<typeof window,r=i?()=>{}:s.useLayoutEffect,o=i?()=>{}:s.useEffect;function n(e){let{headManager:t,reduceComponentsToState:a}=e;function n(){if(t&&t.mountedInstances){let e=s.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(a(e))}}return i&&(t?.mountedInstances?.add(e.children),n()),r(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),r(()=>(t&&(t._pendingUpdate=n),()=>{t&&(t._pendingUpdate=n)})),o(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return f},defaultHead:function(){return c}};for(var i in s)Object.defineProperty(a,i,{enumerable:!0,get:s[i]});let r=e.r(55682),o=e.r(90809),n=e.r(43476),l=o._(e.r(71645)),u=r._(e.r(98879)),d=e.r(42732);function c(){return[(0,n.jsx)("meta",{charSet:"utf-8"},"charset"),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===l.default.Fragment?e.concat(l.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let h=["name","httpEquiv","charSet","itemProp"];function g(e){let t,a,s,i;return e.reduce(p,[]).reverse().concat(c().reverse()).filter((t=new Set,a=new Set,s=new Set,i={},e=>{let r=!0,o=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){o=!0;let a=e.key.slice(e.key.indexOf("$")+1);t.has(a)?r=!1:t.add(a)}switch(e.type){case"title":case"base":a.has(e.type)?r=!1:a.add(e.type);break;case"meta":for(let t=0,a=h.length;t<a;t++){let a=h[t];if(e.props.hasOwnProperty(a))if("charSet"===a)s.has(a)?r=!1:s.add(a);else{let t=e.props[a],s=i[a]||new Set;
2("name"!==a||!o)&&s.has(t)?r=!1:(s.add(t),i[a]=s)}}}return r})).reverse().map((e,t)=>{let a=e.key||t;return l.default.cloneElement(e,{key:a})})}let f=function({children:e}){let t=(0,l.useContext)(d.HeadManagerContext);return(0,n.jsx)(u.default,{reduceComponentsToState:g,headManager:t,children:e})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},18556,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let s=e.r(55682)._(e.r(71645)),i=e.r(87690),r=s.default.createContext(i.imageConfigDefault)},65856,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"RouterContext",{enumerable:!0,get:function(){return s}});let s=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,a)=>{"use strict";function s(e,t){let a=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-a)<Math.abs(e-a)?t:e,t.qualities[0]):a}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"findClosestQuality",{enumerable:!0,get:function(){return s}})},1948,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return o}});let s=e.r(70965),i=e.r(43369);function r({config:e,src:t,width:a,quality:o}){let n=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let a=new URLSearchParams(t.slice(e+1)),s=a.get("dpl");if(s){n=s,a.delete("dpl");let i=a.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,s.findClosestQuality)(o,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${a}&q=${l}${t.startsWith("/")&&n?`&dpl=${n}`:""}`}r.__next_img_default=!0;let o=r},85437,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"Image",{enumerable:!0,get:function(){return x}});let s=e.r(55682),i=e.r(90809),r=e.r(43476),o=i._(e.r(71645)),n=s._(e.r(74080)),l=s._(e.r(25633)),u=e.r(8927),d=e.r(87690),c=e.r(18556);e.r(33525);let p=e.r(65856),h=s._(e.r(1948)),g=e.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function m(e,t,a,s,i,r,o){let n=e?.src;e&&e["data-loaded-src"]!==n&&(e["data-loaded-src"]=n,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),a?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let s=!1,i=!1;a.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>s,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{s=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}s?.current&&s.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,o.forwardRef)(({src:e,srcSet:t,sizes:a,height:s,width:i,decoding:n,className:l,style:u,fetchPriority:d,placeholder:c,loading:p,unoptimized:h,fill:f,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:x,setShowAltText:w,sizesInput:S,onLoad:k,onError:O,..._},j)=>{let $=(0,o.useCallback)(e=>{e&&(O&&(e.src=e.src),e.complete&&m(e,c,b,v,x,h,S))},[e,c,b,v,x,O,h,S]),C=(0,g.useMergedRef)(j,$);return(0,r.jsx)("img",{..._,...y(d),loading:p,width:i,height:s,decoding:n,"data-nimg":f?"fill":"1",className:l,style:u,sizes:a,srcSet:t,src:e,ref:C,onLoad:e=>{m(e.currentTarget,c,b,v,x,h,S)},onError:e=>{w(!0),"empty"!==c&&x(!0),O&&O(e)}})});function v({isAppRouter:e,imgAttributes:t}){let a={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&n.default.preload?(n.default.preload(t.src,a),null):(0,r.jsx)(l.default,{children:(0,r.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...a},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,o.forwardRef)((e,t)=>{let a=(0,o.useContext)(p.RouterContext),s=(0,o.useContext)(c.ImageConfigContext),i=(0,o.useMemo)(()=>{let e=f||s||d.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
3e-t),a=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:a,qualities:i,localPatterns:"u"<typeof window?s?.localPatterns:e.localPatterns}},[s]),{onLoad:n,onLoadingComplete:l}=e,g=(0,o.useRef)(n);(0,o.useEffect)(()=>{g.current=n},[n]);let m=(0,o.useRef)(l);(0,o.useEffect)(()=>{m.current=l},[l]);let[y,x]=(0,o.useState)(!1),[w,S]=(0,o.useState)(!1),{props:k,meta:O}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:w});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{...k,unoptimized:O.unoptimized,placeholder:O.placeholder,fill:O.fill,onLoadRef:g,onLoadingCompleteRef:m,setBlurComplete:x,setShowAltText:S,sizesInput:e.sizes,ref:t}),O.preload?(0,r.jsx)(v,{isAppRouter:!a,imgAttributes:k}):null]})});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},94909,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s={default:function(){return d},getImageProps:function(){return u}};for(var i in s)Object.defineProperty(a,i,{enumerable:!0,get:s[i]});let r=e.r(55682),o=e.r(8927),n=e.r(85437),l=r._(e.r(1948));function u(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let d=n.Image},57688,(e,t,a)=>{t.exports=e.r(94909)},59237,e=>{e.v({contentWrapper:"styles-module__PnMPmG__contentWrapper",maskGroup1:"styles-module__PnMPmG__maskGroup1",maskGroup2:"styles-module__PnMPmG__maskGroup2",maskGroup3:"styles-module__PnMPmG__maskGroup3",overlayRay:"styles-module__PnMPmG__overlayRay",section:"styles-module__PnMPmG__section"})},61347,e=>{e.v({navButton:"styles-module__um71OG__navButton",navigation:"styles-module__um71OG__navigation"})},5940,e=>{e.v({chipIcon:"styles-module__GdeF-a__chipIcon",left:"styles-module__GdeF-a__left",right:"styles-module__GdeF-a__right",virtualCard:"styles-module__GdeF-a__virtualCard",virtualCardBackground:"styles-module__GdeF-a__virtualCardBackground",virtualCardContainer:"styles-module__GdeF-a__virtualCardContainer",virtualCardExpiration:"styles-module__GdeF-a__virtualCardExpiration",virtualCardNumber:"styles-module__GdeF-a__virtualCardNumber",virtualCardRow:"styles-module__GdeF-a__virtualCardRow"})},41618,62267,42244,26542,51251,e=>{"use strict";e.i(17836),e.i(98314);var t=e.i(43476),a=e.i(71645),s=e.i(18566),i=e.i(22596),r=e.i(25487),o=e.i(3610),n=e.i(80433);let l={en:{label:"EN",flag:o.FlagEn},ru:{label:"RU",flag:o.FlagRu}};e.s(["LanguageSwitcher",0,function(){let[e,u]=(0,a.useState)(!1),{i18n:d}=(0,i.useT)(),c=(0,s.usePathname)(),p=d.language,h=l[p],g=h?.flag||o.FlagEn;return(0,t.jsxs)("div",{className:n.default.container,children:[(0,t.jsxs)("button",{onClick:()=>u(!e),className:n.default.menuButton,children:[(0,t.jsx)(g,{width:22,height:16}),h?.label]}),e&&(0,t.jsx)("div",{className:n.default.dropdown,children:r.languages.map(e=>{let a=l[e],s=a?.flag||o.FlagEn;return(0,t.jsxs)("button",{onClick:()=>(e=>{if(e!==p){let t;document.cookie=`i18next=${e}; path=/; max-age=31536000; SameSite=Lax`,d.changeLanguage(e),window.location.href=(t=c,(p&&c.startsWith(`/${p}`)&&(t=c.slice(`/${p}`.length)||"/"),e===r.fallbackLng)?t:`/${e}${t}`),u(!1)}})(e),className:n.default.menuItem,children:[(0,t.jsx)(s,{width:22,height:16,className:n.default.flag}),a?.label||e.toUpperCase()]},e)})})]})}],62267);var u=e.i(57688),d=e.i(59237);e.s(["SectionWithOverlay",0,({children:e})=>(0,t.jsx)("section",{className:d.default.section,children:(0,t.jsxs)("div",{className:d.default.contentWrapper,children:[(0,t.jsxs)("div",{className:d.default.maskContainer,children:[(0,t.jsx)(u.default,{src:"/mask-group.png",alt:"",width:355,height:875,className:`${d.default.overlayRay} ${d.default.maskGroup1}`}),(0,t.jsx)(u.default,{src:"/mask-group.png",alt:"",width:355,height:875,className:`${d.default.overlayRay} ${d.default.maskGroup2}`}),(0,t.jsx)(u.default,{src:"/mask-group.png",alt:"",width:355,height:875,className:`${d.default.overlayRay} ${d.default.maskGroup3}`})]}),e]})})],42244);var c=e.i(7670),p=e.i(61347);e.s(["SwiperNavigation",0,({swiperRef:e,className:a})=>
3(0,t.jsxs)("div",{className:(0,c.default)(p.default.navigation,a),children:[(0,t.jsx)("button",{className:p.default.navButton,"aria-label":"Previous slide",onClick:()=>e.current?.slidePrev(),children:(0,t.jsx)(o.SliderPrev,{width:16})}),(0,t.jsx)("button",{className:p.default.navButton,"aria-label":"Next slide",onClick:()=>e.current?.slideNext(),children:(0,t.jsx)(o.SliderNext,{width:16})})]})],26542);var h=e.i(5940);e.s(["VirtualCard",0,({variant:e})=>(0,t.jsxs)("div",{className:h.default.virtualCardContainer,children:[(0,t.jsx)("div",{className:(0,c.clsx)(h.default.virtualCardBackground,"left"===e?h.default.left:h.default.right)}),(0,t.jsxs)("div",{className:(0,c.clsx)(h.default.virtualCard,"left"===e?h.default.left:h.default.right),children:[(0,t.jsxs)("div",{className:h.default.virtualCardRow,children:[(0,t.jsx)(o.VirtualCardLines,{width:44}),(0,t.jsx)(o.VirtualCardChip,{width:26,className:(0,c.clsx)(h.default.chipIcon,"left"===e?h.default.left:h.default.right)})]}),(0,t.jsx)("p",{className:h.default.virtualCardNumber,children:"3674 6251 8824 1266"}),(0,t.jsx)("p",{className:h.default.virtualCardExpiration,children:"Exp.Date: 25/12"})]})]})],51251),e.s([],41618)},6705,e=>{"use strict";e.s(["BREAKPOINTS",0,{mobileMenuHide:920},"links",0,e=>{let t=e&&"en"===e?"":"ru/";return{academy:{main:"https://academy.cyberyozh.com/",courses:"https://academy.cyberyozh.com/courses/",blog:"https://dzen.ru/id/5b4260ec8bcd5700a97722e1"},educationalPlatform:{courses:"https://edu.cyberyozh.com/my-courses"},cyberyozhapp:{main:`https://app.cyberyozh.com/${t}`,mobileProxies:`https://app.cyberyozh.com/${t}proxy/mobile/`,residentialProxies:`https://app.cyberyozh.com/${t}proxy/residential/`,datacenterProxies:`https://app.cyberyozh.com/${t}proxy/datacenter/`,smsActivation:`https://app.cyberyozh.com/${t}reception-sms/virtual/`,blog:`https://app.cyberyozh.com/${t}blog/`,virtualCards:`https://app.cyberyozh.com/${t}virtual-cards/`,aboutCompany:`https://app.cyberyozh.com/${t}our-company/`,legal:`https://app.cyberyozh.com/${t}legal/`,privacyPolicy:`https://app.cyberyozh.com/${t}legal/privacy-policy/`,cookiePolicy:`https://app.cyberyozh.com/${t}legal/cookie-policy/`,testimonials:`https://app.cyberyozh.com/${t}testimonials/`},cyberyozhVacancies:"https://jobs.cyberyozh.com/vakansii",cyberyozhBook:`https://book.cyberyozh.com/${e}`,innerLinks:{academy:"#headerAcademy",library:"#headerBooks",services:"#headerServices",media:{blog:"#headerBlog",social:"#socialSection",partners:"#partnersSection"},whyWe:{features:"#featuresSection",experts:"#expertsSection"}},socialMedia:{telegram:"https://t.me/cyberyozh_official",youtube:"https://www.youtube.com/@CyberYozh"},supportEmail:"[email protected]",supportTg:"https://t.me/cyberYozh_support_bot"}}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.