PageSourceSearch

https://knoxstudio.ai/_next/static/chunks/3rm3la7filas6.js

js knoxstudio.ai collected 2026-10-05 15:18:10 UTC 81,907 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,179862,e=>{"use strict";let t,r,i,s,n,a,o,l,u,c,h,d,p,g,f=(e,t=0)=>{let r=new Int32Array(e.length);for(let i=0;i<e.length;i++)r[i]=e.charCodeAt(i)-48-t;return r},m=e=>{let t=new Int32Array(e.length+1);for(let r=0;r<e.length;r++)t[r+1]=t[r]+e[r];return t},y=e=>{let t=new Int32Array(e.length),r=0;for(let i=0;i<e.length;i++){let s=e.charCodeAt(i)-48;r+=s>>>1^-(1&s),t[i]=r}return t},b=m(f("E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010")),v=m(f(":11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3")),w=(()=>{let e=b.length-1,t=new Int32Array(e);for(let r=e-1;r>=0;r--){let e=1,i=r+1;for(let s=b[r];s<b[r+1];s++)e+=t[i],i+=t[i];t[r]=e}let r=new Int32Array(b[e]),i=0;for(let s=0;s<e;s++){let e=s+1;for(let n=b[s];n<b[s+1];n++)r[i++]=e,e+=t[e]}return r})(),x=f("02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000…ŏ000ˆ0000ŏ0000000000—0000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000",1),k=m(f("123333359346463635126536711576")),S=f("93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032"),C=f("012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199"),A=y("020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200"),L=(()=>{let e=new Int32Array(319).fill(-1),t=y("02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222"),r=y("02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222");for(let i=0;i<t.length;i++)e[t[i]]=r[i];return e})(),$="container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize  -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-p
1an- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover| gradient-to-b gradient-to-bl gradient-to-br gradient-to-l gradient-to-r gradient-to-t gradient-to-tl gradient-to-tr none|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform".split("|").map(e=>{let t=e.split(" "),r=t.shift();for(let e=0;e<t.length;e++)t[e]=r+t[e];return t}),O=y("0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422"),N=y("É 222222222222222222222222222222222222222222222222222222222222˕4222226>ʶ22ʷʺʷ2ʸʷ42Ê´2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222Ç£222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622"),R=y("02222222222222222222222222222222222222222222222222222222222222222202022222222222EH2200IL021042222Y\\222IL0cf2e10j2222U00X202[^2y0000120|{~�‚22…ˆ‡:22|22222222222G000q†OVI00000}š2›>40000ŒB00000I¨©000¬00000000000000021M®­00°“000000000000000000000–222›HGHa1º222¿2À2222ÉÌ000­°2±"),j=new Int32Array(995),E=new Int32Array(995),P=new Int32Array(995),I="",z=new Int32Array(1038);{let e=new Map,t=0,r=0;for(let i=0;i<O.length;i++)for(let s of $[R[i]]){let n=e.get(s);void 0===n&&(n=t++,e.set(s,n),z[2*n]=I.length,z[2*n+1]=s.length,I+=s),j[r]=O[i],E[r]=N[i],P[r]=n,r++}}let F=y("0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p"),T=m(f("1::24444432:442:44:44>222222:44:4421322511111311111114")),D=y("2Š4A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅҜ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=„ƧNž2Đå242L222290000f22500ɛ000ǘ222"),H=f("ij"),M=f("—");var U,V={GROUP_COUNT:384,customValidatorNames:[],edgeStart:b,labelStart:v,labelText:"@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom",edgeTarget:w,nodeGroup:x,nodeVlist:L,vlistPat:k,vlistOps:S,vlistRef:C,vlistGroup:A,litAnchor:j,litGroup:E,litPool:P,poolOffsets:z,poolText:I,adjGid:F,adjStart:T,adjTgt:D,patGid:H,patTgt:M,postfixLookupGroups:f("1"),orderSensitiveModifiers:"* ** after backdrop before details-content file first-letter first-line marker placeholder selection"};let B="line"in Error(),K=(e,t,r)=>{let i=0x811c9dc5;for(let s=t;s<r;s++)i=Math.imul(i^e.charCodeAt(s),0x1000193);return i},_=(e,t,r)=>{let i=r-t,s=Math.imul(i,0x9e3779b1)^e.charCodeAt(t);if(i>3){let n=i>>2,a=i>>1;s=Math.imul((s=Math.imul(s^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+n),0x85ebca6b))^e.charCodeAt(t+a)<<8^e.charCodeAt(t+a+n)<<16^e.charCodeAt(r-3),0xc2b2ae35)^(e.charCodeAt(r-2)<<8^e.charCodeAt(r-1)<<16);for(let i=t+3,n=r-4;i<t+8&&i<n;i++,n--)s=Math.imul(s^e.charCodeAt(i)^e.charCodeAt(n)<<8,0x1000193)}return s^s>>>15},q=(e,t)=>
1{if(!e)return"";if("string"==typeof e)return e;let r="";if("number"==typeof e.length&&(!t||Array.isArray(e))){for(let i=0;i<e.length;i++){let s=e[i];if(!s)continue;let n="string"==typeof s?s:q(s,t);n&&(r&&(r+=" "),r+=n)}return r}if(t){if("number"==typeof e)return""+e;if("object"==typeof e)for(let t in e)e[t]&&(r&&(r+=" "),r+=t)}return r},W=function(){return((e,t)=>{let r="";for(let i=0;i<e.length;i++){let s=e[i];if(!s)continue;let n="string"==typeof s?s:q(s,t);n&&(r&&(r+=" "),r+=n)}return r})(arguments,!1)},J=((e,t={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:s,labelText:n,edgeTarget:a,nodeGroup:o,nodeVlist:l,vlistPat:u,vlistOps:c,vlistRef:h,vlistGroup:d,litAnchor:p,litGroup:g,litPool:f,poolOffsets:m,poolText:y,adjGid:b,adjStart:v,adjTgt:w,patGid:x,patTgt:k,postfixLookupGroups:S,customValidatorNames:C,orderSensitiveModifiers:A}=e,L=new Int32Array(r).fill(-1);for(let e=0;e<b.length;e++)L[b[e]]=e;let $=0;for(let e=0;e+1<v.length;e++){let t=v[e+1]-v[e];t>$&&($=t)}let O=32;for(;O<2*(1+$+x.length);)O<<=1;let N=new Int32Array(h.length+1);for(let e=0;e<h.length;e++)N[e+1]=N[e]+u[h[e]+1]-u[h[e]];let R=new Uint8Array(r);for(let e=0;e<S.length;e++)R[S[e]]=1;let j=new Uint8Array(i.length-1),E=0,P=!0;for(let e=0;e<p.length;e++){j[p[e]]=1;let t=m[2*f[e]+1];t>E&&(E=t);let r=y.charCodeAt(m[2*f[e]]);(91===r||40===r)&&(P=!1)}let I=1;for(;I<2*p.length;)I<<=1;let z=new Int32Array(I).fill(-1);for(let e=0;e<p.length;e++){let t=m[2*f[e]],r=(K(y,t,t+m[2*f[e]+1])^Math.imul(p[e],0x9e3779b1))&I-1;for(;-1!==z[r];)r=r+1&I-1;z[r]=e}let F=(e,t,r,i)=>{let s=(K(t,r,i)^Math.imul(e,0x9e3779b1))&I-1,n=i-r;for(;;){let i=z[s];if(-1===i)return -1;if(p[i]===e&&m[2*f[i]+1]===n){let e=m[2*f[i]],s=!0;for(let i=0;i<n;i++)if(y.charCodeAt(e+i)!==t.charCodeAt(r+i)){s=!1;break}if(s)return g[i]}s=s+1&I-1}},T=t.cacheSize??8192,D=t.prefix??e.prefix??"",H=""===D?"":D+":",M=H.length,U=(C??[]).map(e=>{let t;if(!t)throw Error("cn: missing validator "+e);return t}),V=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,q=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,J=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Y=0,Q=-1,X=-1,Z=-1,ee=-1,et=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||95===e,er=e=>/\s/.test(String.fromCharCode(e)),ei=(e,t,r)=>{if(Y=0,Q=-1,r-t<3)return;let i=e.charCodeAt(t),s=e.charCodeAt(r-1);if(91===i&&93===s)Y=1;else{if(40!==i||41!==s)return;Y=2}Z=t+1,ee=r-1;let n=t+1;if(et(e.charCodeAt(n))){for(n++;n<r-1;){let t=e.charCodeAt(n);if(!et(t)&&45!==t)break;n++}n<r-2&&58===e.charCodeAt(n)&&(Q=t+1,X=n,Z=n+1)}},es=(e,t,r,i)=>{if(r-t!==i.length)return!1;for(let r=0;r<i.length;r++)if(e.charCodeAt(t+r)!==i.charCodeAt(r))return!1;return!0},en=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ea=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,eo=e=>!!e&&!Number.isNaN(Number(e)),el=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],eu="length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight".split("|").map(e=>e.split(" ")),ec=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],eh=(e,t,r,i)=>{if(e>=10){if(e>=25)return U[e-25](t.slice(r,i));let s=e-10;if(Y!==el[s])return!1;if(Q>=0){for(let e of eu[s])if(es(t,Q,X,e))return!0;return!1}switch(ec[s]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(Z,ee);return V.test(e)&&!q.test(e)}case 3:return eo(t.slice(Z,ee));case 4:return G.test(t.slice(Z,ee));default:return J.test(t.slice(Z,ee))}}switch(e){case 0:return!0;case 1:return 0===Y;case 2:return 1===Y;case 3:return 2===Y;case 4:return en.test(t.slice(r,i));case 5:return eo(t.slice(r,i));case 6:{let e=t.slice(r,i);return!!e&&Number.isInteger(Number(e))}case 7:return i>r&&37===t.charCodeAt(i-1)&&eo(t.slice(r,i-1));case 8:return ea.test(t.slice(r,i));default:if(i-r<11||!es(t,r,r+10,"@container"))return!1;if(47===t.charCodeAt(r+10))return i-r>=12;let s=t.charCodeAt(r+11);return 115===s&&i-r>=17&&es(t,r+10,r+16,"-size/")||110===s&&i-r>=19&&es(t,r+10,r+18,"-normal/")}},ed=new Set("string"==typeof A?A.split(" "):A),ep=(e,t,r,i,s,n)=>{let a=K(t,r,i)^0x9e3779b9*!!s,o=e.get(a);if(void 0!==o)e:for(let e=0;e<o.length;e++){let n=o[e];if(n.imp===s&&n.k.length===i-r){for(let e=0;e<n.k.length;
1e++)if(n.k.charCodeAt(e)!==t.charCodeAt(r+e))continue e;return n.id}}else e.set(a,o=[]);let l=t.slice(r,i),u=n(l);return o.push({k:l,imp:s,id:u}),u},eg=new Map,ef=new Map,em=2,ey=(e,t)=>{let r=[],i=0,s=0,n=0;for(let t=0;t<e.length;t++){let a=e.charCodeAt(t);0===i&&0===s&&58===a?(r.push(e.slice(n,t)),n=t+1):91===a?i++:93===a?i--:40===a?s++:41===a&&s--}r.push(e.slice(n));let a=r[0];if(r.length>1){let e=[],t=[];for(let i of r)91===i.charCodeAt(0)||ed.has(i)?(t.length&&(e.push(...t.sort()),t=[]),e.push(i)):t.push(i);t.length&&e.push(...t.sort()),a=e.join(":")}let o=t?a+" !":a,l=ef.get(o);return void 0===l&&ef.set(o,l=em++),l},eb=new Map,ev=r,ew=r+4096,ex=()=>ev++,ek=new Int32Array(8192),eS=Array(8192).fill(null),eC=new Int32Array(8192),eA=new Int32Array(8192),eL=new Uint8Array(8192),e$=0,eO=(e,t,r,i,s,n,a,o)=>{let l=e;if(null!==eS[e])if(null===eS[1|e])l=1|e;else{if((3&e$++)!=0)return;l=e|e$>>2&1}eS[l]=t.slice(r,i),ek[l]=s,eC[l]=n,eA[l]=a,eL[l]=o},eN=256,eR=[new Int32Array(256),new Int32Array(eN),new Int32Array(eN),new Int32Array(eN)],[ej,eE,eP,eI]=eR,ez=new Uint8Array(eN),eF=new Uint8Array(eN),eT=()=>{eN*=2,eR=eR.map(e=>{let t=new Int32Array(eN);return t.set(e),t}),[ej,eE,eP,eI]=eR;let e=new Uint8Array(eN);e.set(ez),ez=e,eF=new Uint8Array(eN)},eD=64,eH=new Int32Array(64),eM=new Int32Array(eD),eU=new Int32Array(r),eV=2048,eB=21,eK=new Float64Array(2048),e_=new Int32Array(eV),eq=0,eW=(e,t)=>{if(0===e&&t<r)return eU[t]===eq?1:(eU[t]=eq,0);let i=2097152*e+t+1,s=Math.imul(i,0x9e3779b1)>>>eB;for(;e_[s]===eq;){if(eK[s]===i)return 1;s=s+1&eV-1}return eK[s]=i,e_[s]=eq,0},eJ=(e,t,r,i,s)=>{if(r-t>=2&&91===e.charCodeAt(t)&&93===e.charCodeAt(r-1)){let i=-1;for(let s=t+1;
1s<r-1;s++)if(58===e.charCodeAt(s)){i=s;break}return -1===i||i===t+1?-1:ep(eb,e,t+1,i,0,ex)}if(i>=0&&o[i]>=0)return o[i];for(let t=s-1;t>=0;t--){let i=eM[t];if(i>r)continue;let s=eH[t],n=r-i;if(1===j[s]&&n>0&&n<=E){let t=e.charCodeAt(i);if(!1===P||91!==t&&40!==t){let t=F(s,e,i,r);if(t>=0)return t}}let a=l[s];if(a<0)continue;let o=h[a],p=u[o],g=u[o+1];if(p===g)continue;ei(e,i,r);let f=N[a]-p;for(let t=p;t<g;t++)if(eh(c[t],e,i,r))return d[f+t]}return -1},eG=e=>{let t=e.length,o=0,u=0,c=!1;(em>4096||eg.size>4096)&&(eg=new Map,ef=new Map,em=2,eS.fill(null)),ev>ew&&(eb=new Map,ev=r,eS.fill(null));let h=0;for(;h<t;){let d,p=e.charCodeAt(h);if(32===p||p>=9&&p<=13||p>=160&&er(p)){32!==p&&(c=!0),h++;continue}let g=h,f=0;for(;h<t;){if((p=e.charCodeAt(h))<=32){if(32===p)break;if(p>=9&&p<=13){c=!0;break}}else if(p>=160&&er(p)){c=!0;break}f=Math.imul(f^p,0x1000193),h++}let m=h,y=m-g;o===eN&&eT();let b=o++;ej[b]=g,eE[b]=m,u+=y;let v=(f^=Math.imul(y,0x9e3779b1))^f>>>15,w=8190&v;{let t=-1;if(ek[w]===v&&null!==eS[w]&&eS[w].length===y?t=w:ek[1|w]===v&&null!==eS[1|w]&&eS[1|w].length===y&&(t=1|w),t>=0){let r=eS[t],i=!0;for(let t=0;t<y;t++)if(r.charCodeAt(t)!==e.charCodeAt(g+t)){i=!1;break}if(i){eP[b]=eC[t],eI[b]=eA[t],ez[b]=eL[t];continue}}}let x=g;if(0!==M){if(m-g<=M||!e.startsWith(H,g)){eP[b]=-1,eO(w,e,g,m,v,-1,0,0);continue}x=g+M}let k=0,S=0,C=-1,A=-1;for(let t=x;t<m;t++){let r=e.charCodeAt(t);if(0===k&&0===S){if(58===r){C=t;continue}if(47===r){A=t;continue}}91===r?k++:93===r?k--:40===r?S++:41===r&&S--}let L=C>=x?C+1:x,$=L,O=m,N=!1,E=0;O>$&&33===e.charCodeAt(O-1)?(N=!0,O--):O>$&&33===e.charCodeAt($)&&(N=!0,$++,E=1);let P=-1;A>L&&(P=A+E)>=O&&(P=-1);let I=$;O-$>1&&45===e.charCodeAt($)&&(I=$+1);let z=0,F=0,T=0,D=-1,U=0;(l[0]>=0||1===j[0])&&(eH[0]=0,eM[0]=I,U=1);let V=-1,B=0;for(let t=I;t<O;t++)if(t===P&&(V=F<T?-1:z,B=U),-1!==z){let r=e.charCodeAt(t),o=-1;if(F<T)n.charCodeAt(F)===r?++F===T&&(o=z=D):z=-1;else{let e=i[z],t=i[z+1],l=-1;for(let i=e;i<t;i++){let e=s[i];if(n.charCodeAt(e)===r){s[i+1]-e==1?o=l=a[i]:(F=e+1,T=s[i+1],D=a[i],l=z);break}}z=l}if(o>=0&&(l[o]>=0||1===j[o])&&t+1<O&&45===e.charCodeAt(t+1)){if(U===eD){let e=new Int32Array(eD*=2);e.set(eH),eH=e;let t=new Int32Array(eD);t.set(eM),eM=t}eH[U]=o,eM[U]=t+2,U++}}P===O&&(V=F<T?-1:z,B=U);let K=F<T?-1:z,_=!1;if(P>=0)if(_=!0,-1!==(d=eJ(e,$,P,V,B))&&d<r&&R[d]){let t=eJ(e,$,O,K,U);-1!==t&&t!==d&&(d=t,_=!1)}else -1===d&&(d=eJ(e,$,O,K,U),_=!1);else d=eJ(e,$,O,K,U);let q=0,W=0;-1===d?eP[b]=-1:(W=+!!_,q=x>=C?+!!N:ep(eg,e,x,C,+!!N,e=>ey(e,N)),eP[b]=d,ez[b]=W,eI[b]=q),eO(w,e,g,m,v,d,q,W)}if(0===o)return"";if(1===o)return 0===ej[0]&&eE[0]===t?e:e.slice(ej[0],eE[0]);if(o*O>eV){for(;o*O>eV;)eV<<=1,eB--;eK=new Float64Array(eV),e_=new Int32Array(eV)}if(em>=2097152||ev>=2097152)throw Error("cn: too many distinct classes in one merge");0==(eq=eq+1|0)&&(eU.fill(0),e_.fill(0),eq=1);let d=!1;for(let e=o-1;e>=0;e--){let t=eP[e];if(-1===t){eF[e]=1;continue}let i=eI[e];if(1===eW(i,t)){eF[e]=0,d=!0;continue}if(eF[e]=1,t<r){let r=L[t];if(r>=0)for(let e=v[r];e<v[r+1];e++)eW(i,w[e]);if(1&ez[e])for(let e=0;e<x.length;e++)x[e]===t&&eW(i,k[e])}}if(!d&&!c&&t===u+o-1)return e;let p="",g=0;for(;g<o;){if(!eF[g]){g++;continue}let t=ej[g],r=eE[g],i=g+1;for(;i<o&&eF[i]&&ej[i]===r+1&&32===e.charCodeAt(r);)r=eE[i],i++;p.length>0&&(p+=" "),p+=e.slice(t,r),g=i}return p},eY=new Int32Array(32768),eQ=0,eX=1,eZ=Object.create(null),e0=Object.create(null),e2=new Map,e1=new Map,e4=0,e3=0,e6=()=>{eQ^=16384,eX=eX+1|0,e3=0},e8=0===T?eG:B?e=>{let t=e2.get(e);return void 0!==t?t:(e=>{let t=e2.get(e);if(void 0!==t)return t;let r=_(e,0,e.length),i=(16383&r)+eQ,s=eY[i]===(r^eX)||eY[16384^i]===(r^eX-1);return s&&void 0!==(t=e1.get(e))?(e2.set(e,t),t):(t=eG(e),s?(e2.set(e,t),++e4>T&&(e4=0,e1=e2,e2=new Map,e6())):(eY[i]=r^eX,++e3>16384&&e6()),t)})(e)}:e=>{let t=eZ[e];if(void 0!==t)return t;let r=_(e,0,e.length),i=(16383&r)+eQ,s=eY[i]===(r^eX)||eY[16384^i]===(r^eX-1);return s&&void 0!==(t=e0[e])?(eZ[e]=t,t):(t=eG(e),s?(eZ[e]=t,++e4>T&&(e4=0,e0=eZ,eZ=Object.create(null),e6())):(eY[i]=r^eX,++e3>16384&&e6()),t)};return{merge:function(){return 1==arguments.length&&"string"==typeof arguments[0]?e8(arguments[0]):e8(W.apply(null,arguments))},mergeString:e8,seenBefore:0===T?()=>!1:e=>{let t=_(e,0,e.length),r=(16383&t)+eQ;return eY[r]===(t^eX)||eY[16384^r]===(t^eX-1)||(eY[r]=t^eX,++e3>16384&&e6(),!1)},mergeUncached:eG}})(V),G=(U=J.mergeString,t=void 0===J?()=>!0:J.seenBefore,r=void 0===J?U:J.mergeUncached,i=new Map,s=new Map,n=0,a=null,o=null,l=[],u=[],c=0,h=(e,t,r)=>{null===o&&(o=Array(4096).fill(""),l=Array(4096).fill(""),u=Array(4096).fill(""));let i=4094&_(e,0,e.length);if(o[i]===e&&l[i]===t)return u[i];if(o[1|i]===e&&l[1|i]===t)return u[1|i];let s=U(r?t+" "+e:e),n=""===o[i]?i:i|(""===o[1|i]?1:1&c++);return o[n]=e,l[n]=t,u[n]=s,s},d=(e,t,r,i)=>{let s=0;if(t){if(t!==e.a0)return!1;s=1}if(r){if(r!==(0===s?e.a0:e.a1))return!1;s++}if(i){if(i!==(0===s?e.a0:1===s?e.a1:e.a2))return!1;s++}return s===e.t},p=(e,t)=>{let r=e.a,i=0;for(let e=0;e<t.length;e++){let s=t[e];if(s){if(s!==r[i])return!1;i++}}return i===e.t},g=(e,o)=>{let l=e.length,u=null===a?null:a.n;if(!o){if(null!==u&&p(u,e))return a=u,u.r;if(null!==a&&a!==u&&p(a,e))return a.r}let c="",d=-1,g=0,f=!1;for(let t=0;t<l;t++){let r=e[t];if(r){if("string"!=typeof r){if(!(r=e[t]=q(r,!0)))continue;f=!0}d<0&&(c=r,d=t),g++}}if(0===g)return"";if(1===g)return U(c);if(f){if(null!==u&&p(u,e))return a=u,u.r;if(null!==a&&a!==u&&p(a,e))return a.r}let m=i.get(c);void 0===m&&void 0!==(m=s.get(c))&&i.set(c,m);let y=null;if(void 0!==m){if(m.skip>0){m.skip--,a=null;let t=c;
1for(let r=d+1;r<l;r++){let i=e[r];i&&(t+=" "+i)}return h(t,"",!1)}let t=m.e;e:for(let r=0;r<t.length;r++){let i=t[r];if(i.t!==g)continue;let s=i.a,n=1;for(let t=d+1;t<l;t++){let r=e[t];if(r&&r!==s[n++])continue e}y=i;break}null!==y&&(m.miss=0)}if(null===y){let a=c,o=[c];for(let t=d+1;t<l;t++){let r=e[t];r&&(a+=" "+r,o.push(r))}if(!t(a))return r(a);y={r:U(a),t:o.length,a0:o[0],a1:o[1],a2:o[2]??"",a:o,n:null},void 0===m?i.set(c,m={e:[],miss:0,skip:0,at:0}):++m.miss>16&&(m.miss=16,m.skip=1024,m.e.length=0,m.at=0);let u=m.e;u.length<256?u.push(y):(u[m.at]=y,m.at=m.at+1&255),++n>1e3&&(n=0,s=i,i=new Map)}return null!==a&&a!==y&&(a.n=y),a=y,y.r},function(e,t,r){let s=arguments.length;if((1|s)==3){let n=a;if(null!==n){let i=n.n;if(null!==i&&d(i,e,t,r))return a=i,i.r;if(n!==i&&d(n,e,t,r))return n.r}if(2===s&&"string"==typeof t&&""!==t){let r=i.get(e);if(void 0!==r&&r.skip>0)return r.skip--,a=null,h(t,e,!0)}return g([e,t,r],!0)}if(1===s)return"string"==typeof e?U(e):Array.isArray(e)?g(e.slice(),!1):U(q(e,!0));let n=a;if(null!==n){let e=n.n;if(null!==e){let t=e.a,r=0,i=!0;for(let e=0;e<s;e++){let s=arguments[e];if(s){if(s!==t[r]){i=!1;break}r++}}if(i&&r===e.t)return a=e,e.r}if(n!==e){let e=n.a,t=0,r=!0;for(let i=0;i<s;i++){let s=arguments[i];if(s){if(s!==e[t]){r=!1;break}t++}}if(r&&t===n.t)return n.r}}let o=[];for(let e=0;e<s;e++)o.push(arguments[e]);return g(o,!0)});J.merge,e.s(["cn",0,G],179862)},456420,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},s=(0,t.createContext)({}),n=(0,t.forwardRef)(({color:e,size:n,width:a,height:o,strokeWidth:l,absoluteStrokeWidth:u,nonScalingStroke:c,className:h="",children:d,iconNode:p=[],icon:g={node:p,aliases:[],size:24},...f},m)=>{let{size:y=24,strokeWidth:b=2,absoluteStrokeWidth:v=!1,nonScalingStroke:w=!1,color:x="currentColor",className:k=""}=(0,t.useContext)(s)??{},S=!!d||(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(f),[C,A,L=[]]=function(e,t={}){return function(e,t={}){let s=t.attributeNames??{},n=e=>s[e]??e,a=e.size??e.width??i.width,o=e.size??e.height??i.height,l=e.aliases?.filter(e=>"string"==typeof e&&""!==e.trim()).map(e=>`lucide-${e}`)??[],u=[...e.name?[`lucide-${e.name}`]:[],...l],c=t.className?.split(" ").filter(Boolean)??[],h=!1===t.includeDefaultClasses?r(...c):r("lucide",...u,...c),d=t.absoluteStrokeWidth?Number(t.strokeWidth??i["stroke-width"])*Number(e.size??e.width??i.width)/Number(t.size??t.width??i.width):t.strokeWidth??i["stroke-width"];return["svg",{...Object.entries(i).reduce((e,[t,r])=>(e[n(t)]=r,e),{}),..."color"in t&&t.color&&{[n("stroke")]:t.color},..."size"in t&&null!=t.size&&{[n("width")]:t.size,[n("height")]:t.size},..."width"in t&&null!=t.width&&{[n("width")]:t.width},..."height"in t&&null!=t.height&&{[n("height")]:t.height},[n("stroke-width")]:d,...h&&{[n("class")]:h},[n("viewBox")]:`0 0 ${a} ${o}`,...!1===t.hasA11yProp?{[n("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(e=>{let[r,i,s]=e,a=t.nonScalingStroke?{[n("vector-effect")]:"non-scaling-stroke",...i}:i;return s?[r,a,s]:[r,a]})]}(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}(g,{color:e??x,width:a??n??y,height:o??n??y,strokeWidth:l??b,absoluteStrokeWidth:u??v,nonScalingStroke:c??w,className:r(k,h),hasA11yProp:S,attributes:f});return(0,t.createElement)(C,{ref:m,...A},[...L.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(d)?d:[d]])});e.s(["default",0,function(e,r=[],i=[]){let s,a="string"==typeof e?function(e,t,r=[]){if(null==t)throw Error("[lucide]: iconNode is required when icon name is used");return{name:e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),size:24,node:t,...r.length>0?{aliases:r}:{}}}(e,r,i):e,o=(0,t.forwardRef)(({className:e,...r},i)=>(0,t.createElement)(n,{ref:i,icon:a,className:e,...r}));return a.name&&(o.displayName=(s=(e=>{let t="",r=!1;for(let i of e){if("-"===i||"_"===i||i<=" "){r=t.length>0;continue}0===t.length?t+=i.toLowerCase():t+=r?i.toUpperCase():i,r=!1}return t})(a.name)).charAt(0).toUpperCase()+s.slice(1)),o}],456420)}
1,785269,645141,402607,322831,526733,200071,e=>{"use strict";let t;var r=e.i(271645);let i=e=>"string"==typeof e,s=()=>{let e,t,r=new Promise((r,i)=>{e=r,t=i});return r.resolve=e,r.reject=t,r},n=e=>null==e?"":String(e),a=/###/g,o=e=>e&&e.includes("###")?e.replace(a,"."):e,l=e=>!e||i(e),u=(e,t,r)=>{let s=i(t)?t.split("."):t,n=0;for(;n<s.length-1;){if(l(e))return{};let t=o(s[n]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++n}return l(e)?{}:{obj:e,k:o(s[n])}},c=(e,t,r)=>{let{obj:i,k:s}=u(e,t,Object);if(void 0!==i||1===t.length){i[s]=r;return}let n=t[t.length-1],a=t.slice(0,t.length-1),o=u(e,a,Object);for(;void 0===o.obj&&a.length;)n=`${a[a.length-1]}.${n}`,o=u(e,a=a.slice(0,a.length-1),Object),o?.obj&&void 0!==o.obj[`${o.k}.${n}`]&&(o.obj=void 0);o.obj[`${o.k}.${n}`]=r},h=(e,t)=>{let{obj:r,k:i}=u(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,i))return r[i]},d=(e,t,r)=>{for(let s in t)"__proto__"!==s&&"constructor"!==s&&(Object.prototype.hasOwnProperty.call(e,s)?i(e[s])||e[s]instanceof String||i(t[s])||t[s]instanceof String?r&&(e[s]=t[s]):d(e[s],t[s],r):e[s]=t[s]);return e},p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},g=e=>i(e)?e.replace(/[&<>"'\/]/g,e=>p[e]):e,f=[" ",",","?","!",";"],m=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 r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),y=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let i=t.split(r),s=e;for(let e=0;e<i.length;){let t;if(!s||"object"!=typeof s)return;let n="";for(let a=e;a<i.length;++a)if(a!==e&&(n+=r),n+=i[a],void 0!==(t=s[n])){if(["string","number","boolean"].includes(typeof t)&&a<i.length-1)continue;e+=a-e+1;break}s=t}return s},b=e=>e?.replace(/_/g,"-"),v={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)}};var w=new class e{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||v,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,r,s){return s&&!this.debug?null:(e=e.map(e=>i(e)?e.replace(/[\r\n\x00-\x1F\x7F]/g," "):e),i(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(t){return new e(this.logger,{...{prefix:`${this.prefix}:${t}:`},...this.options})}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new e(this.logger,t)}};class x{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}once(e,t){let r=(...i)=>{t(...i),this.off(e,r)};return this.on(e,r),this}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let i=0;i<r;i++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,i])=>{for(let s=0;s<i;s++)r(e,...t)})}}class k extends x{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){this.options.ns.includes(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,r,s={}){let n,a=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,o=void 0!==s.ignoreJSONStructure?s.ignoreJSONStructure:this.options.ignoreJSONStructure;e.includes(".")?n=e.split("."):(n=[e,t],r&&(Array.isArray(r)?n.push(...r):i(r)&&a?n.push(...r.split(a)):n.push(r)));let l=h(this.data,n);return(!l&&!t&&!r&&e.includes(".")&&(e=n[0],t=n[1],r=n.slice(2).join(".")),!l&&o&&i(r))?y(this.data?.[e]?.[t],r,a):l}addResource(e,t,r,i,s={silent:!1}){let n=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(n?r.split(n):r)),e.includes(".")&&(a=e.split("."),i=t,t=a[1]),this.addNamespaces(t),c(this.data,a,i),s.silent||this.emit
1("added",e,t,r,i)}addResources(e,t,r,s={silent:!1}){for(let s in r)(i(r[s])||Array.isArray(r[s]))&&this.addResource(e,t,s,r[s],{silent:!0});s.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,i,s,n={silent:!1,skipCopy:!1}){let a=[e,t];e.includes(".")&&(a=e.split("."),i=r,r=t,t=a[1]),this.addNamespaces(t);let o=h(this.data,a)||{};n.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?d(o,r,s):o={...o,...r},c(this.data,a,o),n.silent||this.emit("added",e,t,r)}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 S={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,i,s){return e.forEach(e=>{t=this.processors[e]?.process(t,r,i,s)??t}),t}};let C=Symbol("i18next/PATH_KEY");function A(e,t){let r,i,s,{[C]:n}=e((i=[],(s=Object.create(null)).get=(e,t)=>(r?.revoke?.(),t===C)?i:(i.push(t),(r=Proxy.revocable(e,s)).proxy),Proxy.revocable(Object.create(null),s).proxy)),a=t?.keySeparator??".",o=t?.nsSeparator??":",l=t?.enableSelector==="strict";if(n.length>1&&o){let e=t?.ns,r=l?Array.isArray(e)?e:e?[e]:null:Array.isArray(e)?e:null;if(r&&(l?r:r.length>1?r.slice(1):[]).includes(n[0]))return`${n[0]}${o}${n.slice(1).join(a)}`}return n.join(a)}let L=e=>!i(e)&&"boolean"!=typeof e&&"number"!=typeof e;class $ extends x{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[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=w.create("translator"),this.checkedLoadedFor={}}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let i=this.resolve(e,r);if(i?.res===void 0)return!1;let s=L(i.res);return!1!==r.returnObjects||!s}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,n=t.ns||this.options.defaultNS||[],a=r&&e.includes(r),o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let i=f.filter(e=>!t.includes(e)&&!r.includes(e));if(0===i.length)return!0;let s=m.getRegExp(`(${i.map(e=>"?"===e?"\\?":e).join("|")})`),n=!s.test(e);if(!n){let t=e.indexOf(r);t>0&&!s.test(e.substring(0,t))&&(n=!0)}return n})(e,r,s);if(a&&!o){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:i(n)?[n]:n};let a=e.split(r);(r!==s||r===s&&this.options.ns.includes(a[0]))&&(n=a.shift()),e=a.join(s)}return{key:e,namespaces:i(n)?[n]:n}}translate(e,t,r){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=A(e,{...this.options,...s})),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?A(e,{...this.options,...s}):String(e));let n=void 0!==s.returnDetails?s.returnDetails:this.options.returnDetails,a=void 0!==s.keySeparator?s.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],s),u=l[l.length-1],c=void 0!==s.nsSeparator?s.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");let h=s.lng||this.language,d=s.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(h?.toLowerCase()==="cimode")return d?n?{res:`${u}${c}${o}`,usedKey:o,exactUsedKey:o,usedLng:h,usedNS:u,usedParams:this.getUsedParamsDetails(s)}:`${u}${c}${o}`:n?{res:o,usedKey:o,exactUsedKey:o,usedLng:h,usedNS:u,usedParams:this.getUsedParamsDetails(s)}:o;let p=this.resolve(e,s),g=p?.res,f=p?.usedKey||o,m=p?.exactUsedKey||o,y=void 0!==s.joinArrays?s.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==s.count&&!i(s.count),w=$.hasDefaultValue(s),x=v?this.pluralResolver.getSuffix(h,s.count,s):"",k=s.ordinal&&v?this.pluralResolver.getSuffix(h,s.count,{ordinal:!1}):"",S=v&&!s.ordinal&&0===s.count,C=S&&s[`defaultValue${this.options.pluralSeparator}zero`]||s[`defaultValue${x}`]||s[`defaultValue${k}`]||s.defaultValue,O=g;b&&!g&&w&&(O=C);let N=L(O),R=Object.prototype.toString.apply(O);if(b&&O&&N&&!["[object Number]","[object Function]","[object RegExp]"].includes(R)&&!(i(y)&&Array.isArray(O))){if
1(!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,O,{...s,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(p.res=e,p.usedParams=this.getUsedParamsDetails(s),p):e}if(a){let e=Array.isArray(O),t=e?[]:{},r=e?m:f;for(let e in O)if(Object.prototype.hasOwnProperty.call(O,e)){let i=`${r}${a}${e}`;w&&!g?t[e]=this.translate(i,{...s,defaultValue:L(C)?C[e]:void 0,...{joinArrays:!1,ns:l}}):t[e]=this.translate(i,{...s,joinArrays:!1,ns:l}),t[e]===i&&(t[e]=O[e])}g=t}}else if(b&&i(y)&&Array.isArray(g))(g=g.join(y))&&(g=this.extendTranslation(g,e,s,r));else{let t=!1,i=!1;!this.isValidLookup(g)&&w&&(t=!0,g=C),this.isValidLookup(g)||(i=!0,g=o);let n=(s.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&i?void 0:g,l=w&&C!==g&&this.options.updateMissing;if(i||t||l){if(this.logger.log(l?"updateKey":"missingKey",h,u,v&&!l?`${o}${this.pluralResolver.getSuffix(h,s.count,s)}`:o,l?C:g),a){let e=this.resolve(o,{...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 r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(s.lng||this.language):e.push(s.lng||this.language);let r=(e,t,r)=>{let i=w&&r!==g?r:n;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);S&&s[`defaultValue${this.options.pluralSeparator}zero`]&&!t.includes(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],o+t,s[`defaultValue${t}`]||C)})}):r(e,o,C))}g=this.extendTranslation(g,e,s,p,r),i&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${u}${c}${o}`),(i||t)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${c}${o}`:o,t?g:void 0,s))}return n?(p.res=g,p.usedParams=this.getUsedParamsDetails(s),p):g}extendTranslation(e,t,r,s,n){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let o=i(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(o){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&!i(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||s.usedLng,r),o){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&s&&s.res&&(r.lng=this.language||s.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>n?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let a=r.postProcess||this.options.postProcess,o=i(a)?[a]:a;return null!=e&&o?.length&&!1!==r.applyPostProcessor&&(e=S.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,s,n,a,o;return i(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?A(e,{...this.options,...t}
1):e)),e.forEach(e=>{if(this.isValidLookup(r))return;let l=this.extractFromKey(e,t),u=l.key;s=u;let c=l.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let h=void 0!==t.count&&!i(t.count),d=h&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(i(t.context)||"number"==typeof t.context)&&""!==t.context,g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(e=>{this.isValidLookup(r)||(o=e,!this.checkedLoadedFor[`${g[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(this.checkedLoadedFor[`${g[0]}-${e}`]=!0,this.logger.warn(`key "${s}" for languages "${g.join(", ")}" won't get resolved as namespace "${o}" 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(i=>{let s;if(this.isValidLookup(r))return;a=i;let o=[u];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,u,i,e,t);else{let e;h&&(e=this.pluralResolver.getSuffix(i,t.count,t));let r=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(h&&(t.ordinal&&e.startsWith(s)&&o.push(u+e.replace(s,this.options.pluralSeparator)),o.push(u+e),d&&o.push(u+r)),p){let i=`${u}${this.options.contextSeparator||"_"}${t.context}`;o.push(i),h&&(t.ordinal&&e.startsWith(s)&&o.push(i+e.replace(s,this.options.pluralSeparator)),o.push(i+e),d&&o.push(i+r))}}for(;s=o.pop();)this.isValidLookup(r)||(n=s,r=this.getResource(i,e,s,t))}))})}),{res:r,usedKey:s,exactUsedKey:n,usedLng:a,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,i={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,i):this.resourceStore.getResource(e,t,r,i)}getUsedParamsDetails(e={}){let t=e.replace&&!i(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r={...r,count:e.count}),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&t.startsWith("defaultValue")&&void 0!==e[t])return!0;return!1}}class O{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils"),this.resolveHierarchyCache={}}clearCache(){this.resolveHierarchyCache={}}getScriptPartFromCode(e){if(!(e=b(e))||!e.includes("-"))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=b(e))||!e.includes("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(i(e)&&e.includes("-")){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.includes(e)}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let i=this.getLanguagePartFromCode(e);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(e=>e===i||(!!e.includes("-")||!!i.includes("-"))&&!!(e.includes("-")&&!i.includes("-")&&e.slice(0,e.indexOf("-"))===i||e.startsWith(i)&&i.length>1))}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),i(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];
1return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.options.fallbackLng,s=Array.isArray(r)?r.join("|"):r;s!==this._cachedFallbackLng&&(this.resolveHierarchyCache={},this._cachedFallbackLng=s);let n=void 0===t||!1===t||i(t),a=void 0===t&&"function"==typeof this.options.fallbackLng,o=i(e)&&n&&!a,l=null;if(o){let r;r=void 0===t?"undefined":!1===t?"boolean:false":`string:${t}`,l=`${e.length}:${e}|${r}`}if(null!==l){let e=this.resolveHierarchyCache[l];if(void 0!==e)return e.slice()}let u=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),c=[],h=e=>{e&&(this.isSupportedCode(e)?c.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return(i(e)&&(e.includes("-")||e.includes("_"))?("languageOnly"!==this.options.load&&h(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&h(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&h(this.getLanguagePartFromCode(e))):i(e)&&h(this.formatLanguageCode(e)),u.forEach(e=>{c.includes(e)||h(this.formatLanguageCode(e))}),null!==l)?(this.resolveHierarchyCache[l]=c,c.slice()):c}}let N={zero:0,one:1,two:2,few:3,many:4,other:5},R={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class j{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,i=b("dev"===e?"en":e),s=t.ordinal?"ordinal":"cardinal",n=JSON.stringify({cleanedCode:i,type:s});if(n in this.pluralRulesCache)return this.pluralRulesCache[n];try{r=new Intl.PluralRules(i,{type:s})}catch(s){if("u"<typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),R;if(!e.match(/-|_/))return R;let i=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(i,t)}return this.pluralRulesCache[n]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>N[e]-N[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let i=this.getRule(e,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let E=(e,t,r,s=".",n=!0)=>{let a,o=void 0!==(a=h(e,r))?a:h(t,r);return!o&&n&&i(r)&&void 0===(o=y(e,r,s))&&(o=y(t,r,s)),o},P=e=>e.replace(/\$/g,"$$$$");class I{constructor(e={}){this.logger=w.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:r,useRawValueToEscape:i,prefix:s,prefixEscaped:n,suffix:a,suffixEscaped:o,formatSeparator:l,unescapeSuffix:u,unescapePrefix:c,nestingPrefix:h,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:g,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==i&&i,this.prefix=s?s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):n||"{{",this.suffix=a?a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):o||"}}",this.formatSeparator=l||",",this.unescapePrefix=u?"":c?c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):"-",this.unescapeSuffix=this.unescapePrefix?"":u?u.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):"",this.nestingPrefix=h?h.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):d||"$t(".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingSuffix=p?p.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"):f||")".replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),this.nestingOptionsSeparator=m||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>
1e?.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,r,s){let a,o,l,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(!e.includes(this.formatSeparator)){let i=E(t,u,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,r,{...s,...t,interpolationkey:e}):i}let i=e.split(this.formatSeparator),n=i.shift().trim(),a=i.join(this.formatSeparator).trim();return this.format(E(t,u,n,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...s,...t,interpolationkey:n})};this.resetRegExp(),!this.escapeValue&&"string"==typeof e&&/\$t\([^)]*\{[^}]*\{\{/.test(e)&&this.logger.warn("nesting options string contains interpolated variables with escapeValue: false — if any of those values are attacker-controlled they can inject additional nesting options (e.g. redirect lng/ns). Sanitise untrusted input before passing it to t(), or keep escapeValue: true.");let h=s?.missingInterpolationHandler||this.options.missingInterpolationHandler,d=s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>e},{regex:this.regexp,safeValue:e=>this.escapeValue?this.escape(e):e}].forEach(t=>{for(l=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(o=c(r)))if("function"==typeof h){let t=h(e,a,s);o=i(t)?t:""}else if(s&&Object.prototype.hasOwnProperty.call(s,r))o="";else if(d){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),o="";else i(o)||this.useRawValueToEscape||(o=n(o));let u=t.safeValue(o);if(e=e.replace(a[0],P(u)),d?(t.regex.lastIndex+=u.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t,r={}){let s,a,o,l=(e,t)=>{let r=this.nestingOptionsSeparator;if(!e.includes(r))return e;let i=e.split(RegExp(`${r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}[ ]*{`)),s=`{${i[1]}`;e=i[0];let n=(s=this.interpolate(s,o)).match(/'/g),a=s.match(/"/g);((n?.length??0)%2!=0||a)&&(a?.length??0)%2==0||(s=s.replace(/'/g,'"'));try{o=JSON.parse(s),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${s}`}return o.defaultValue&&o.defaultValue.includes(this.prefix)&&delete o.defaultValue,e};for(;s=this.nestingRegexp.exec(e);){let u=[];(o=(o={...r}).replace&&!i(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let c=/{.*}/s.test(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(-1!==c&&(u=s[1].slice(c).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),s[1]=s[1].slice(0,c)),(a=t(l.call(this,s[1].trim(),o),o))&&s[0]===e&&!i(a))return a;i(a)||(a=n(a)),a||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),a=""),u.length&&(a=u.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:s[1].trim()}),a.trim())),e=e.replace(s[0],P(n(a))),this.regexp.lastIndex=0}return e}}let z=e=>{let t={};return(r,i,s)=>{let n=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(n={...n,[s.interpolationkey]:void 0});let a=i+JSON.stringify(n),o=t[a];return o||(o=e(b(i),s),t[a]=o),o(r)}},F=e=>(t,r,i)=>e(b(r),i)(t);class T{constructor(e={}){this.logger=w.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?z:F;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=z(t)}format(e,t,r,i={}){if(!t||null==e)return e;let s=t.split(this.formatSeparator),n=[];for(let e=0;e<s.length;e++){let t=s[e];for(;t.indexOf("(")>-1&&!t.includes(")")&&e+1<s.length;)t=`${t}${this.formatSeparator}${s[++e]}`;n.push(t)}return n.reduce((e,t)=>
1{let{formatName:s,formatOptions:n}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.includes("(")){let i=e.split("(");t=i[0].toLowerCase().trim();let s=i[1].slice(0,-1);"currency"!==t||s.includes(":")?"relativetime"!==t||s.includes(":")?s.split(";").forEach(e=>{if(e){let[t,...i]=e.split(":"),s=i.join(":").trim().replace(/^'+|'+$/g,""),n=t.trim();r[n]||(r[n]=s),"false"===s&&(r[n]=!1),"true"===s&&(r[n]=!0),isNaN(s)||(r[n]=parseInt(s,10))}}):r.range||(r.range=s.trim()):r.currency||(r.currency=s.trim())}return{formatName:t,formatOptions:r}})(t);if(this.formats[s]){let t=e;try{let a=i?.formatParams?.[i.interpolationkey]||{},o=a.locale||a.lng||i.locale||i.lng||r;t=this.formats[s](e,o,{...n,...i,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${s}`),e},e)}}class D extends x{constructor(e,t,r,i={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,i.backend,i)}queueLoad(e,t,r,i){let s={},n={},a={},o={};return e.forEach(e=>{let i=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===n[a]&&(n[a]=!0):(this.state[a]=1,i=!1,void 0===n[a]&&(n[a]=!0),void 0===s[a]&&(s[a]=!0),void 0===o[t]&&(o[t]=!0)))}),i||(a[e]=!0)}),(Object.keys(s).length||Object.keys(n).length)&&this.queue.push({pending:n,pendingCount:Object.keys(n).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(n),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(o)}}loaded(e,t,r){let i=e.split("|"),s=i[0],n=i[1];t&&this.emit("failedLoading",s,n,t),!t&&r&&this.store.addResourceBundle(s,n,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let a={};this.queue.forEach(r=>{((e,t,r)=>{let{obj:i,k:s}=u(e,t,Object);i[s]=i[s]||[],i[s].push(r)})(r.loaded,[s],n),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,i=0,s=this.retryTimeout,n){if(!e.length)return n(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:s,callback:n});this.readingCalls++;let a=(a,o)=>{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)}a&&o&&i<this.maxRetries?setTimeout(()=>{this.read(e,t,r,i+1,2*s,n)},s):n(a,o)},o=this.backend[r].bind(this.backend);if(2===o.length){try{let r=o(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return o(e,t,a)}prepareLoading(e,t,r={},s){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();i(e)&&(e=this.languageUtils.toResolveHierarchy(e)),i(t)&&(t=[t]);let n=this.queueLoad(e,t,r,s);if(!n.toLoad.length)return n.pending.length||s(),null;n.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),i=r[0],s=r[1];this.read(i,s,"read",void 0,void 0,(r,n)=>{r&&this.logger.warn(`${t}loading namespace ${s} for language ${i} failed`,r),!r&&n&&this.logger.log(`${t}loaded namespace ${s} for language ${i}`,n),this.loaded(e,r,n)})}saveMissing(e,t,r,i,s,n={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" 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!=r&&""!==r){if(this.backend?.create){let o={...n,isUpdate:s},l=this.backend.create.bind(this.backend);if(l.length<6)try{let s;
1(s=5===l.length?l(e,t,r,i,o):l(e,t,r,i))&&"function"==typeof s.then?s.then(e=>a(null,e)).catch(a):a(null,s)}catch(e){a(e)}else l(e,t,r,i,a,o)}e&&e[0]&&this.store.addResource(e[0],t,r,i)}}}let H=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",enableSelector:!1,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]),i(e[1])&&(t.defaultValue=e[1]),i(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),M=e=>(i(e.ns)&&(e.ns=[e.ns]),i(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),i(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&!e.supportedLngs.includes("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),U=()=>{};class V extends x{constructor(e={},t){if(super(),this.options=M(e),this.services={},this.logger=w,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&&(i(e.ns)?e.defaultNS=e.ns:e.ns.includes("translation")||(e.defaultNS=e.ns[0]));let r=H();this.options={...r,...this.options,...M(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation}
1,void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler);let n=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?w.init(n(this.modules.logger),this.options):w.init(null,this.options),e=this.modules.formatter?this.modules.formatter:T;let t=new O(this.options);this.store=new k(this.options.resources,this.options);let r=this.services;r.logger=w,r.resourceStore=this.store,r.languageUtils=t,r.pluralResolver=new j(t,{prepend:this.options.pluralSeparator}),e&&(r.formatter=n(e),r.formatter.init&&r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new I(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new D(n(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(r.languageDetector=n(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=n(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new $(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=U),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 a=s(),o=()=>{let e=(e,r)=>{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),a.resolve(r),t(e,r)};if((this.languages||this.isLanguageChangingTo)&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?o():setTimeout(o,0),a}loadResources(e,t=U){let r=t,s=i(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(s?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&(e.includes(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),r(e)})}else r(null)}reloadResources(e,t,r){let i=s();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=U),this.services.backendConnector.reload(e,t,e=>{i.resolve(),r(e)}),i}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&&S.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"].includes(e)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!["cimode","dev"].includes(t)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&!this.languages.includes(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=s();
1this.emit("languageChanging",e);let n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(i,s)=>{s?this.isLanguageChangingTo===e&&(n(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(i,(...e)=>this.t(...e))},o=t=>{e||t||!this.services.languageDetector||(t=[]);let r=i(t)?t:t&&t[0],s=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(i(t)?[t]:t);s&&(this.language||n(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector?.cacheUserLanguage?.(s)),this.loadResources(s,e=>{a(e,s)})};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(o):this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}getFixedT(e,t,r,s){let n=s?.scopeNs,a=(e,t,...i)=>{let s,o;(s="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(i)):{...t}).lng=s.lng||a.lng,s.lngs=s.lngs||a.lngs;let l=void 0!==s.ns&&null!==s.ns;s.ns=s.ns||a.ns,""!==s.keyPrefix&&(s.keyPrefix=s.keyPrefix||r||a.keyPrefix);let u={...this.options,...s};Array.isArray(n)&&!l&&(u.ns=n),"function"==typeof s.keyPrefix&&(s.keyPrefix=A(s.keyPrefix,u));let c=this.options.keySeparator||".";return s.keyPrefix&&Array.isArray(e)?o=e.map(e=>("function"==typeof e&&(e=A(e,u)),`${s.keyPrefix}${c}${e}`)):("function"==typeof e&&(e=A(e,u)),o=s.keyPrefix?`${s.keyPrefix}${c}${e}`:e),this.t(o,s)};return i(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=r,a}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 r=t.lng||this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let n=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,n);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||n(r,e)&&(!i||n(s,e)))}loadNamespaces(e,t){let r=s();return this.options.ns?(i(e)&&(e=[e]),e.forEach(e=>{this.options.ns.includes(e)||this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=s();i(e)&&(e=[e]);let n=this.options.preload||[],a=e.filter(e=>!n.includes(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=n.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(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 O(H());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"].includes(t.getLanguagePartFromCode(e))||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let r=new V(e,t);return r.createInstance=V.createInstance,r}cloneInstance(e={},t=U){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let i={...this.options,...e,isClone:!0},s=new V(i);if((void 0!==e.debug||void 0!==e.prefix)&&(s.logger=s.logger.clone(e)),["store","services","language"].forEach(e=>{s[e]=this[e]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r&&(s.store=new k(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,i)=>(r[i]={...e[t][i]},r),e[t]),e),{}),i),s.services.resourceStore=s.store),e.interpolation){let t={...H().interpolation,...this.options.interpolation,...e.interpolation},r={...i,interpolation:t};s.services.interpolator=new I(r)}return s.translator=new $(s.services,i),s.translator.on("*",(e,...t)=>{s.emit(e,...t)}),s.init(i,t),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let B=V.createInstance();B.createInstance,B.dir,B.init,B.loadResources,B.reloadResources,B.use,B.changeLanguage,B.getFixedT,B.t,B.exists,B.setDefaultNamespace,B.hasLoadedNamespace,B.loadNamespaces,B.loadLanguages,e.s(["default",0,B],645141);Object.create(null);let K=(e,t,r,i)=>{let s=[r,{code:t,...i||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(s,"warn","react-i18next::",!0);Y(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...s):console?.warn&&console.warn(...s)},_={},q=(e,t,r,i)=>{Y(r)&&_[r]||(Y(r)&&(_[r]=new Date),K(e,t,r,i))},W=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},J=(e,t,r)=>{e.loadNamespaces(t,W(e,r))},G=(e,t,r,i)=>{if(Y(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return J(e,r,i);r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,W(e,i))},Y=e=>"string"==typeof e,Q=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,X={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},Z=e=>X[e],ee={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Q,Z),transDefaultProps:void 0};e.s(["initReactI18next",0,{type:"3rdParty",init(e){((e={})=>{ee={...ee,...e}})(e.options.react),t=e}}],402607);let et=(0,r.createContext)();class er{constructor(){this.usedNamespaces={}}
1addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}let ei={"&nbsp;":" ","&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&apos;":"'","&copy;":"©","&reg;":"®","&trade;":"™","&hellip;":"…","&ndash;":"–","&mdash;":"—","&lsquo;":"‘","&rsquo;":"’","&sbquo;":"‚","&ldquo;":"“","&rdquo;":"”","&bdquo;":"„","&dagger;":"†","&Dagger;":"‡","&bull;":"•","&prime;":"′","&Prime;":"″","&lsaquo;":"‹","&rsaquo;":"›","&sect;":"§","&para;":"¶","&middot;":"·","&ensp;":" ","&emsp;":" ","&thinsp;":" ","&euro;":"€","&pound;":"£","&yen;":"¥","&cent;":"¢","&curren;":"¤","&times;":"×","&divide;":"÷","&minus;":"−","&plusmn;":"±","&ne;":"≠","&le;":"≤","&ge;":"≥","&asymp;":"≈","&equiv;":"≡","&infin;":"∞","&int;":"∫","&sum;":"∑","&prod;":"∏","&radic;":"√","&part;":"∂","&permil;":"‰","&deg;":"°","&micro;":"µ","&larr;":"←","&uarr;":"↑","&rarr;":"→","&darr;":"↓","&harr;":"↔","&crarr;":"↵","&lArr;":"⇐","&uArr;":"⇑","&rArr;":"⇒","&dArr;":"⇓","&hArr;":"⇔","&alpha;":"α","&beta;":"β","&gamma;":"γ","&delta;":"δ","&epsilon;":"ε","&zeta;":"ζ","&eta;":"η","&theta;":"θ","&iota;":"ι","&kappa;":"κ","&lambda;":"λ","&mu;":"μ","&nu;":"ν","&xi;":"ξ","&omicron;":"ο","&pi;":"π","&rho;":"ρ","&sigma;":"σ","&tau;":"τ","&upsilon;":"υ","&phi;":"φ","&chi;":"χ","&psi;":"ψ","&omega;":"ω","&Alpha;":"Α","&Beta;":"Β","&Gamma;":"Γ","&Delta;":"Δ","&Epsilon;":"Ε","&Zeta;
1":"Ζ","&Eta;":"Η","&Theta;":"Θ","&Iota;":"Ι","&Kappa;":"Κ","&Lambda;":"Λ","&Mu;":"Μ","&Nu;":"Ν","&Xi;":"Ξ","&Omicron;":"Ο","&Pi;":"Π","&Rho;":"Ρ","&Sigma;":"Σ","&Tau;":"Τ","&Upsilon;":"Υ","&Phi;":"Φ","&Chi;":"Χ","&Psi;":"Ψ","&Omega;":"Ω","&Agrave;":"À","&Aacute;":"Á","&Acirc;":"Â","&Atilde;":"Ã","&Auml;":"Ä","&Aring;":"Å","&AElig;":"Æ","&Ccedil;":"Ç","&Egrave;":"È","&Eacute;":"É","&Ecirc;":"Ê","&Euml;":"Ë","&Igrave;":"Ì","&Iacute;":"Í","&Icirc;":"Î","&Iuml;":"Ï","&ETH;":"Ð","&Ntilde;":"Ñ","&Ograve;":"Ò","&Oacute;":"Ó","&Ocirc;":"Ô","&Otilde;":"Õ","&Ouml;":"Ö","&Oslash;":"Ø","&Ugrave;":"Ù","&Uacute;":"Ú","&Ucirc;":"Û","&Uuml;":"Ü","&Yacute;":"Ý","&THORN;":"Þ","&szlig;":"ß","&agrave;":"à","&aacute;":"á","&acirc;":"â","&atilde;":"ã","&auml;":"ä","&aring;":"å","&aelig;":"æ","&ccedil;":"ç","&egrave;":"è","&eacute;":"é","&ecirc;":"ê","&euml;":"ë","&igrave;":"ì","&iacute;":"í","&icirc;":"î","&iuml;":"ï","&eth;":"ð","&ntilde;":"ñ","&ograve;":"ò","&oacute;":"ó","&ocirc;":"ô","&otilde;":"õ","&ouml;":"ö","&oslash;":"ø","&ugrave;":"ù","&uacute;":"ú","&ucirc;":"û","&uuml;":"ü","&yacute;":"ý","&thorn;":"þ","&yuml;":"ÿ","&iexcl;":"¡","&iquest;":"¿","&fnof;":"ƒ","&circ;":"ˆ","&tilde;":"˜","&OElig;":"Œ","&oelig;":"œ","&Scaron;":"Š","&scaron;":"š","&Yuml;":"Ÿ","&ordf;":"ª","&ordm;":"º","&macr;":"¯","&acute;":"´","&cedil;":"¸","&sup1;":"¹","&sup2;":"²","&sup3;":"³","&frac14;":"¼","&frac12;":"½","&frac34;":"¾","&spades;":"♠","&clubs;":"♣","&hearts;":"♥","&diams;":"♦","&loz;":"◊","&oline;":"‾","&frasl;":"⁄","&weierp;":"℘","&image;":"ℑ","&real;":"ℜ","&alefsym;":"ℵ"},es=RegExp(Object.keys(ei).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g");var en=e.i(802239);let ea={t:(e,t)=>{let r;if(Y(t))return t;if("object"==typeof(r=t)&&null!==r&&Y(t.defaultValue))return t.defaultValue;if("function"==typeof e)return"";if(Array.isArray(e)){let t=e[e.length-1];return"function"==typeof t?"":t}return e},ready:!1},eo=()=>()=>{},el=(e,i={})=>{let{i18n:s}=i,{i18n:n,defaultNS:a}=(0,r.useContext)(et)||{},o=s||n||t;o&&!o.reportNamespaces&&(o.reportNamespaces=new er),o||q(o,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next or by passing it via props or context. In monorepo setups, make sure there is only one instance of react-i18next.");let l=(0,r.useMemo)(()=>({...ee,...o?.options?.react,...i}),[o,i]),{useSuspense:u,keyPrefix:c}=l,h=e||a||o?.options?.defaultNS,d=Y(h)?[h]:h||["translation"],p=(0,r.useMemo)(()=>d,d);o?.reportNamespaces?.addUsedNamespaces?.(p);let g=(0,r.useRef)(0),f=(0,r.useCallback)(e=>{if(!o)return eo;let{bindI18n:t,bindI18nStore:r}=l,i=()=>{g.current+=1,e()};return t&&o.on(t,i),r&&o.store.on(r,i),()=>{t&&t.split(" ").forEach(e=>o.off(e,i)),r&&r.split(" ").forEach(e=>o.store.off(e,i))}},[o,l]),m=(0,r.useRef)(),y=(0,r.useCallback)(()=>{if(!o)return ea;let e=!!(o.isInitialized||o.initializedStoreOnce)&&p.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,i)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!i(t.isLanguageChangingTo,e))return!1}}):(q(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,o,l)),t=i.lng||o.language,r=g.current,s=m.current;if(s&&s.ready===e&&s.lng===t&&s.keyPrefix===c&&s.revision===r)return s;let n={t:o.getFixedT(t,"fallback"===l.nsMode?p:p[0],c,{scopeNs:p}),ready:e,lng:t,keyPrefix:c,revision:r};return m.current=n,n},[o,p,c,l,i.lng]),[b,v]=(0,r.useState)(0),{t:w,ready:x}=(0,en.useSyncExternalStore)(f,y,y);(0,r.useEffect)(()=>{if(o&&!x&&!u){let e=()=>v(e=>e+1);i.lng?G(o,i.lng,p,e):J(o,p,e)}},[o,i.lng,p,x,u,b]);let k=o||{},S=(0,r.useRef)(null),C=(0,r.useRef)(),A=e=>{let t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;let r=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(r,"__original"))try{Object.defineProperty(r,"__original",{value:e,writable:!1,enumerable:!1,
1configurable:!1})}catch(e){}return r},L=(0,r.useMemo)(()=>{let e=k&&`${k.language}|${k.resolvedLanguage}|${k.languages?.join(",")}`,t=k;S.current&&S.current.__original===k?C.current!==e?(S.current=t=A(k),C.current=e):t=S.current:(S.current=t=A(k),C.current=e);let r=x||u?w:(...e)=>(q(o,"USE_T_BEFORE_READY","useTranslation: t was called before ready. When using useSuspense: false, make sure to check the ready flag before using t."),w(...e)),i=[r,t,x];return i.t=r,i.i18n=t,i.ready=x,i},[w,k,x,k.resolvedLanguage,k.language,k.languages]);if(o&&u&&!x)throw new Promise(e=>{let t=()=>e();i.lng?G(o,i.lng,p,t):J(o,p,t)});return L};e.s(["useTranslation",0,el],322831),e.s(["withTranslation",0,(e,t={})=>function(i){function s({forwardedRef:n,...a}){let[o,l,u]=el(e,{...a,keyPrefix:t.keyPrefix}),c={...a,t:o,i18n:l,tReady:u};return t.withRef&&n?c.ref=n:!t.withRef&&n&&(c.forwardedRef=n),(0,r.createElement)(i,c)}return s.displayName=`withI18nextTranslation(${i.displayName||i.name||(Y(i)&&i.length>0?i:"Unknown")})`,s.WrappedComponent=i,t.withRef?(0,r.forwardRef)((e,t)=>(0,r.createElement)(s,Object.assign({},e,{forwardedRef:t}))):s}],526733),e.s(["I18nextProvider",0,function({i18n:e,defaultNS:t,children:i}){let s=(0,r.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,r.createElement)(et.Provider,{value:s},i)}],200071),e.s([],785269)},755838,(e,t,r)=>{"use strict";var i=e.r(271645),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=i.useState,a=i.useEffect,o=i.useLayoutEffect,l=i.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!s(e,r)}catch(e){return!0}}var c="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),i=n({inst:{value:r,getSnapshot:t}}),s=i[0].inst,c=i[1];return o(function(){s.value=r,s.getSnapshot=t,u(s)&&c({inst:s})},[e,r,t]),a(function(){return u(s)&&c({inst:s}),e(function(){u(s)&&c({inst:s})})},[e]),l(r),r};r.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c},802239,(e,t,r)=>{"use strict";e.i(247167),t.exports=e.r(755838)}]);

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.