@foodpilot/foods 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export interface IBaseTemplateProps {
3
- children: React.ReactNode;
3
+ children: JSX.Element | JSX.Element[];
4
4
  }
5
5
  export declare const BaseTemplate: (props: IBaseTemplateProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,2 @@
1
- export declare function Footer(): import("react/jsx-runtime").JSX.Element;
1
+ /// <reference types="react" />
2
+ export declare const Footer: React.FC;
package/dist/main.js CHANGED
@@ -29757,7 +29757,7 @@ bn.setDefaultNamespace;
29757
29757
  bn.hasLoadedNamespace;
29758
29758
  bn.loadNamespaces;
29759
29759
  bn.loadLanguages;
29760
- function y1() {
29760
+ const y1 = () => {
29761
29761
  const e = Nt();
29762
29762
  return (
29763
29763
  //FIXME: paramétrer les liens
@@ -29792,8 +29792,7 @@ function y1() {
29792
29792
  }
29793
29793
  )
29794
29794
  );
29795
- }
29796
- const TY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29795
+ }, TY = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
29797
29796
  __proto__: null,
29798
29797
  Footer: y1
29799
29798
  }, Symbol.toStringTag, { value: "Module" })), Uk = (e) => {
package/dist/main.umd.cjs CHANGED
@@ -318,7 +318,7 @@ const theme2 = createTheme({ palette: {
318
318
  ${e.palette.mode==="light"?Ro(Ye(e.palette.divider,1),.88):To(Ye(e.palette.divider,1),.68)}`,textAlign:"left",padding:16},t.variant==="head"&&{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},t.variant==="body"&&{color:(e.vars||e).palette.text.primary},t.variant==="footer"&&{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},t.size==="small"&&{padding:"6px 16px",[`&.${$$.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}},t.padding==="checkbox"&&{width:48,padding:"0 0 0 4px"},t.padding==="none"&&{padding:0},t.align==="left"&&{textAlign:"left"},t.align==="center"&&{textAlign:"center"},t.align==="right"&&{textAlign:"right",flexDirection:"row-reverse"},t.align==="justify"&&{textAlign:"justify"},t.stickyHeader&&{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default})),Rb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableCell"}),{align:s="inherit",className:i,component:a,padding:l,scope:c,size:u,sortDirection:d,variant:p}=r,f=me(r,M$),g=C.useContext(yb),v=C.useContext(li),h=v&&v.variant==="head";let b;a?b=a:b=h?"th":"td";let S=c;b==="td"?S=void 0:!S&&h&&(S="col");const w=p||v&&v.variant,T=y({},r,{align:s,component:b,padding:l||(g&&g.padding?g.padding:"normal"),size:u||(g&&g.size?g.size:"medium"),sortDirection:d,stickyHeader:w==="head"&&g&&g.stickyHeader,variant:w}),R=k$(T);let x=null;return d&&(x=d==="asc"?"ascending":"descending"),m.jsx(I$,y({as:b,ref:n,className:ye(R.root,i),"aria-sort":x,scope:S,ownerState:T},f))});process.env.NODE_ENV!=="production"&&(Rb.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,component:o.elementType,padding:o.oneOf(["checkbox","none","normal"]),scope:o.string,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sortDirection:o.oneOf(["asc","desc",!1]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body","footer","head"]),o.string])});const sl=Rb;function D$(e){return Ie("MuiTableFooter",e)}Me("MuiTableFooter",["root"]);const N$=["className","component"],j$=e=>{const{classes:t}=e;return ke({root:["root"]},D$,t)},A$=oe("tfoot",{name:"MuiTableFooter",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-footer-group"}),F$={variant:"footer"},Eb="tfoot",Ob=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableFooter"}),{className:s,component:i=Eb}=r,a=me(r,N$),l=y({},r,{component:i}),c=j$(l);return m.jsx(li.Provider,{value:F$,children:m.jsx(A$,y({as:i,className:ye(c.root,s),ref:n,role:i===Eb?null:"rowgroup",ownerState:l},a))})});process.env.NODE_ENV!=="production"&&(Ob.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const V$=Ob;function L$(e){return Ie("MuiTableHead",e)}Me("MuiTableHead",["root"]);const z$=["className","component"],B$=e=>{const{classes:t}=e;return ke({root:["root"]},L$,t)},H$=oe("thead",{name:"MuiTableHead",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"table-header-group"}),U$={variant:"head"},Pb="thead",_b=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableHead"}),{className:s,component:i=Pb}=r,a=me(r,z$),l=y({},r,{component:i}),c=B$(l);return m.jsx(li.Provider,{value:U$,children:m.jsx(H$,y({as:i,className:ye(c.root,s),ref:n,role:i===Pb?null:"rowgroup",ownerState:l},a))})});process.env.NODE_ENV!=="production"&&(_b.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const W$=_b,G$=ht(m.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),q$=ht(m.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Y$(e){return Ie("MuiTableRow",e)}const $b=Me("MuiTableRow",["root","selected","hover","head","footer"]),K$=["className","component","hover","selected"],Z$=e=>{const{classes:t,selected:n,hover:r,head:s,footer:i}=e;return ke({root:["root",n&&"selected",r&&"hover",s&&"head",i&&"footer"]},Y$,t)},X$=oe("tr",{name:"MuiTableRow",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.head&&t.head,n.footer&&t.footer]}})(({theme:e})=>({color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,[`&.${$b.hover}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${$b.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Ye(e.palette.primary.main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ye(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)}}})),Mb="tr",kb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableRow"}),{className:s,component:i=Mb,hover:a=!1,selected:l=!1}=r,c=me(r,K$),u=C.useContext(li),d=y({},r,{component:i,hover:a,selected:l,head:u&&u.variant==="head",footer:u&&u.variant==="footer"}),p=Z$(d);return m.jsx(X$,y({as:i,ref:n,className:ye(p.root,s),role:i===Mb?null:"row",ownerState:d},c))});process.env.NODE_ENV!=="production"&&(kb.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,hover:o.bool,selected:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const il=kb,J$=ht(m.jsx("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"}),"ArrowDownward");function Q$(e){return Ie("MuiTableSortLabel",e)}const Ku=Me("MuiTableSortLabel",["root","active","icon","iconDirectionDesc","iconDirectionAsc"]),eM=["active","children","className","direction","hideSortIcon","IconComponent"],tM=e=>{const{classes:t,direction:n,active:r}=e,s={root:["root",r&&"active"],icon:["icon",`iconDirection${be(n)}`]};return ke(s,Q$,t)},nM=oe(yn,{name:"MuiTableSortLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.active&&t.active]}})(({theme:e})=>({cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:(e.vars||e).palette.text.secondary},"&:hover":{color:(e.vars||e).palette.text.secondary,[`& .${Ku.icon}`]:{opacity:.5}},[`&.${Ku.active}`]:{color:(e.vars||e).palette.text.primary,[`& .${Ku.icon}`]:{opacity:1,color:(e.vars||e).palette.text.secondary}}})),oM=oe("span",{name:"MuiTableSortLabel",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,t[`iconDirection${be(n.direction)}`]]}})(({theme:e,ownerState:t})=>y({fontSize:18,marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},t.direction==="desc"&&{transform:"rotate(0deg)"},t.direction==="asc"&&{transform:"rotate(180deg)"})),Ib=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTableSortLabel"}),{active:s=!1,children:i,className:a,direction:l="asc",hideSortIcon:c=!1,IconComponent:u=J$}=r,d=me(r,eM),p=y({},r,{active:s,direction:l,hideSortIcon:c,IconComponent:u}),f=tM(p);return m.jsxs(nM,y({className:ye(f.root,a),component:"span",disableRipple:!0,ownerState:p,ref:n},d,{children:[i,c&&!s?null:m.jsx(oM,{as:u,className:ye(f.icon),ownerState:p})]}))});process.env.NODE_ENV!=="production"&&(Ib.propTypes={active:o.bool,children:o.node,classes:o.object,className:o.string,direction:o.oneOf(["asc","desc"]),hideSortIcon:o.bool,IconComponent:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const rM=Ib;function sM(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function iM(e,t,n,r={},s=()=>{}){const{ease:i=sM,duration:a=300}=r;let l=null;const c=t[e];let u=!1;const d=()=>{u=!0},p=f=>{if(u){s(new Error("Animation cancelled"));return}l===null&&(l=f);const g=Math.min(1,(f-l)/a);if(t[e]=i(g)*(n-c)+c,g>=1){requestAnimationFrame(()=>{s(null)});return}requestAnimationFrame(p)};return c===n?(s(new Error("Element already at target position")),d):(requestAnimationFrame(p),d)}const aM=["onChange"],lM={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Db(e){const{onChange:t}=e,n=me(e,aM),r=C.useRef(),s=C.useRef(null),i=()=>{r.current=s.current.offsetHeight-s.current.clientHeight};return Gt(()=>{const a=yr(()=>{const c=r.current;i(),c!==r.current&&t(r.current)}),l=Jn(s.current);return l.addEventListener("resize",a),()=>{a.clear(),l.removeEventListener("resize",a)}},[t]),C.useEffect(()=>{i(),t(r.current)},[t]),m.jsx("div",y({style:lM,ref:s},n))}process.env.NODE_ENV!=="production"&&(Db.propTypes={onChange:o.func.isRequired});function cM(e){return Ie("MuiTabScrollButton",e)}const uM=Me("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),dM=["className","slots","slotProps","direction","orientation","disabled"],pM=e=>{const{classes:t,orientation:n,disabled:r}=e;return ke({root:["root",n,r&&"disabled"]},cM,t)},fM=oe(yn,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>y({width:40,flexShrink:0,opacity:.8,[`&.${uM.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Nb=C.forwardRef(function(t,n){var r,s;const i=Oe({props:t,name:"MuiTabScrollButton"}),{className:a,slots:l={},slotProps:c={},direction:u}=i,d=me(i,dM),f=Nt().direction==="rtl",g=y({isRtl:f},i),v=pM(g),h=(r=l.StartScrollButtonIcon)!=null?r:G$,b=(s=l.EndScrollButtonIcon)!=null?s:q$,S=it({elementType:h,externalSlotProps:c.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g}),w=it({elementType:b,externalSlotProps:c.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:g});return m.jsx(fM,y({component:"div",className:ye(v.root,a),ref:n,role:null,ownerState:g,tabIndex:null},d,{children:u==="left"?m.jsx(h,y({},S)):m.jsx(b,y({},w))}))});process.env.NODE_ENV!=="production"&&(Nb.propTypes={children:o.node,classes:o.object,className:o.string,direction:o.oneOf(["left","right"]).isRequired,disabled:o.bool,orientation:o.oneOf(["horizontal","vertical"]).isRequired,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({EndScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const mM=Nb;function gM(e){return Ie("MuiTabs",e)}const al=Me("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),hM=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],jb=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Ab=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,ll=(e,t,n)=>{let r=!1,s=n(e,t);for(;s;){if(s===e.firstChild){if(r)return;r=!0}const i=s.disabled||s.getAttribute("aria-disabled")==="true";if(!s.hasAttribute("tabindex")||i)s=n(e,s);else{s.focus();return}}},vM=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:s,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:c}=e;return ke({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",s&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[s&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},gM,c)},bM=oe("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${al.scrollButtons}`]:t.scrollButtons},{[`& .${al.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>y({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${al.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),yM=oe("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>y({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),xM=oe("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>y({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),CM=oe("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>y({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),SM=oe(Db)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Fb={};let Vb=!1;const Lb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTabs"}),s=Nt(),i=s.direction==="rtl",{"aria-label":a,"aria-labelledby":l,action:c,centered:u=!1,children:d,className:p,component:f="div",allowScrollButtonsMobile:g=!1,indicatorColor:v="primary",onChange:h,orientation:b="horizontal",ScrollButtonComponent:S=mM,scrollButtons:w="auto",selectionFollowsFocus:T,slots:R={},slotProps:x={},TabIndicatorProps:E={},TabScrollButtonProps:O={},textColor:_="primary",value:P,variant:$="standard",visibleScrollbar:j=!1}=r,H=me(r,hM),D=$==="scrollable",M=b==="vertical",k=M?"scrollTop":"scrollLeft",B=M?"top":"left",Y=M?"bottom":"right",J=M?"clientHeight":"clientWidth",G=M?"height":"width",A=y({},r,{component:f,allowScrollButtonsMobile:g,indicatorColor:v,orientation:b,vertical:M,scrollButtons:w,textColor:_,variant:$,visibleScrollbar:j,fixed:!D,hideScrollbar:D&&!j,scrollableX:D&&!M,scrollableY:D&&M,centered:u&&!D,scrollButtonsHideMobile:!g}),W=vM(A),N=it({elementType:R.StartScrollButtonIcon,externalSlotProps:x.startScrollButtonIcon,ownerState:A}),Z=it({elementType:R.EndScrollButtonIcon,externalSlotProps:x.endScrollButtonIcon,ownerState:A});process.env.NODE_ENV!=="production"&&u&&D&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[F,L]=C.useState(!1),[z,K]=C.useState(Fb),[Q,X]=C.useState(!1),[ee,ie]=C.useState(!1),[U,ne]=C.useState(!1),[q,pe]=C.useState({overflow:"hidden",scrollbarWidth:0}),ue=new Map,Ae=C.useRef(null),fe=C.useRef(null),Pe=()=>{const I=Ae.current;let V;if(I){const Ce=I.getBoundingClientRect();V={clientWidth:I.clientWidth,scrollLeft:I.scrollLeft,scrollTop:I.scrollTop,scrollLeftNormalized:AS(I,s.direction),scrollWidth:I.scrollWidth,top:Ce.top,bottom:Ce.bottom,left:Ce.left,right:Ce.right}}let de;if(I&&P!==!1){const Ce=fe.current.children;if(Ce.length>0){const we=Ce[ue.get(P)];process.env.NODE_ENV!=="production"&&(we||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${P}".`,ue.keys?`You can provide one of the following values: ${Array.from(ue.keys()).join(", ")}.`:null].join(`
319
319
  `))),de=we?we.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&!Vb&&de&&de.width===0&&de.height===0&&V.clientWidth!==0&&(V=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${P}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join(`
320
320
  `)),Vb=!0)}}return{tabsMeta:V,tabMeta:de}},se=qe(()=>{const{tabsMeta:I,tabMeta:V}=Pe();let de=0,Ce;if(M)Ce="top",V&&I&&(de=V.top-I.top+I.scrollTop);else if(Ce=i?"right":"left",V&&I){const _e=i?I.scrollLeftNormalized+I.clientWidth-I.scrollWidth:I.scrollLeft;de=(i?-1:1)*(V[Ce]-I[Ce]+_e)}const we={[Ce]:de,[G]:V?V[G]:0};if(isNaN(z[Ce])||isNaN(z[G]))K(we);else{const _e=Math.abs(z[Ce]-we[Ce]),Be=Math.abs(z[G]-we[G]);(_e>=1||Be>=1)&&K(we)}}),ae=(I,{animation:V=!0}={})=>{V?iM(k,Ae.current,I,{duration:s.transitions.duration.standard}):Ae.current[k]=I},ge=I=>{let V=Ae.current[k];M?V+=I:(V+=I*(i?-1:1),V*=i&&em()==="reverse"?-1:1),ae(V)},De=()=>{const I=Ae.current[J];let V=0;const de=Array.from(fe.current.children);for(let Ce=0;Ce<de.length;Ce+=1){const we=de[Ce];if(V+we[J]>I){Ce===0&&(V=I);break}V+=we[J]}return V},je=()=>{ge(-1*De())},he=()=>{ge(De())},ve=C.useCallback(I=>{pe({overflow:null,scrollbarWidth:I})},[]),Te=()=>{const I={};I.scrollbarSizeListener=D?m.jsx(SM,{onChange:ve,className:ye(W.scrollableX,W.hideScrollbar)}):null;const de=D&&(w==="auto"&&(Q||ee)||w===!0);return I.scrollButtonStart=de?m.jsx(S,y({slots:{StartScrollButtonIcon:R.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:N},orientation:b,direction:i?"right":"left",onClick:je,disabled:!Q},O,{className:ye(W.scrollButtons,O.className)})):null,I.scrollButtonEnd=de?m.jsx(S,y({slots:{EndScrollButtonIcon:R.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:Z},orientation:b,direction:i?"left":"right",onClick:he,disabled:!ee},O,{className:ye(W.scrollButtons,O.className)})):null,I},Re=qe(I=>{const{tabsMeta:V,tabMeta:de}=Pe();if(!(!de||!V)){if(de[B]<V[B]){const Ce=V[k]+(de[B]-V[B]);ae(Ce,{animation:I})}else if(de[Y]>V[Y]){const Ce=V[k]+(de[Y]-V[Y]);ae(Ce,{animation:I})}}}),xe=qe(()=>{D&&w!==!1&&ne(!U)});C.useEffect(()=>{const I=yr(()=>{Ae.current&&se()});let V;const de=_e=>{_e.forEach(Be=>{Be.removedNodes.forEach(We=>{var Ue;(Ue=V)==null||Ue.unobserve(We)}),Be.addedNodes.forEach(We=>{var Ue;(Ue=V)==null||Ue.observe(We)})}),I(),xe()},Ce=Jn(Ae.current);Ce.addEventListener("resize",I);let we;return typeof ResizeObserver<"u"&&(V=new ResizeObserver(I),Array.from(fe.current.children).forEach(_e=>{V.observe(_e)})),typeof MutationObserver<"u"&&(we=new MutationObserver(de),we.observe(fe.current,{childList:!0})),()=>{var _e,Be;I.clear(),Ce.removeEventListener("resize",I),(_e=we)==null||_e.disconnect(),(Be=V)==null||Be.disconnect()}},[se,xe]),C.useEffect(()=>{const I=Array.from(fe.current.children),V=I.length;if(typeof IntersectionObserver<"u"&&V>0&&D&&w!==!1){const de=I[0],Ce=I[V-1],we={root:Ae.current,threshold:.99},_e=He=>{X(!He[0].isIntersecting)},Be=new IntersectionObserver(_e,we);Be.observe(de);const We=He=>{ie(!He[0].isIntersecting)},Ue=new IntersectionObserver(We,we);return Ue.observe(Ce),()=>{Be.disconnect(),Ue.disconnect()}}},[D,w,U,d==null?void 0:d.length]),C.useEffect(()=>{L(!0)},[]),C.useEffect(()=>{se()}),C.useEffect(()=>{Re(Fb!==z)},[Re,z]),C.useImperativeHandle(c,()=>({updateIndicator:se,updateScrollButtons:xe}),[se,xe]);const Le=m.jsx(CM,y({},E,{className:ye(W.indicator,E.className),ownerState:A,style:y({},z,E.style)}));let Ge=0;const Ze=C.Children.map(d,I=>{if(!C.isValidElement(I))return null;process.env.NODE_ENV!=="production"&&vs.isFragment(I)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
321
- `));const V=I.props.value===void 0?Ge:I.props.value;ue.set(V,Ge);const de=V===P;return Ge+=1,C.cloneElement(I,y({fullWidth:$==="fullWidth",indicator:de&&!F&&Le,selected:de,selectionFollowsFocus:T,onChange:h,textColor:_,value:V},Ge===1&&P===!1&&!I.props.tabIndex?{tabIndex:0}:{}))}),ze=I=>{const V=fe.current,de=Bt(V).activeElement;if(de.getAttribute("role")!=="tab")return;let we=b==="horizontal"?"ArrowLeft":"ArrowUp",_e=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&i&&(we="ArrowRight",_e="ArrowLeft"),I.key){case we:I.preventDefault(),ll(V,de,Ab);break;case _e:I.preventDefault(),ll(V,de,jb);break;case"Home":I.preventDefault(),ll(V,null,jb);break;case"End":I.preventDefault(),ll(V,null,Ab);break}},Ne=Te();return m.jsxs(bM,y({className:ye(W.root,p),ownerState:A,ref:n,as:f},H,{children:[Ne.scrollButtonStart,Ne.scrollbarSizeListener,m.jsxs(yM,{className:W.scroller,ownerState:A,style:{overflow:q.overflow,[M?`margin${i?"Left":"Right"}`:"marginBottom"]:j?void 0:-q.scrollbarWidth},ref:Ae,children:[m.jsx(xM,{"aria-label":a,"aria-labelledby":l,"aria-orientation":b==="vertical"?"vertical":null,className:W.flexContainer,ownerState:A,onKeyDown:ze,ref:fe,role:"tablist",children:Ze}),F&&Le]}),Ne.scrollButtonEnd]}))});process.env.NODE_ENV!=="production"&&(Lb.propTypes={action:At,allowScrollButtonsMobile:o.bool,"aria-label":o.string,"aria-labelledby":o.string,centered:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,indicatorColor:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),ScrollButtonComponent:o.elementType,scrollButtons:o.oneOf(["auto",!1,!0]),selectionFollowsFocus:o.bool,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({EndScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TabIndicatorProps:o.object,TabScrollButtonProps:o.object,textColor:o.oneOf(["inherit","primary","secondary"]),value:o.any,variant:o.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:o.bool});const wM=Lb;function TM(e){return Ie("MuiTextField",e)}Me("MuiTextField",["root"]);const RM=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],EM={standard:fv,filled:Xh,outlined:Hv},OM=e=>{const{classes:t}=e;return ke({root:["root"]},TM,t)},PM=oe(GP,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:i=!1,children:a,className:l,color:c="primary",defaultValue:u,disabled:d=!1,error:p=!1,FormHelperTextProps:f,fullWidth:g=!1,helperText:v,id:h,InputLabelProps:b,inputProps:S,InputProps:w,inputRef:T,label:R,maxRows:x,minRows:E,multiline:O=!1,name:_,onBlur:P,onChange:$,onFocus:j,placeholder:H,required:D=!1,rows:M,select:k=!1,SelectProps:B,type:Y,value:J,variant:G="outlined"}=r,A=me(r,RM),W=y({},r,{autoFocus:i,color:c,disabled:d,error:p,fullWidth:g,multiline:O,required:D,select:k,variant:G}),N=OM(W);process.env.NODE_ENV!=="production"&&k&&!a&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const Z={};G==="outlined"&&(b&&typeof b.shrink<"u"&&(Z.notched=b.shrink),Z.label=R),k&&((!B||!B.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const F=Qn(h),L=v&&F?`${F}-helper-text`:void 0,z=R&&F?`${F}-label`:void 0,K=EM[G],Q=m.jsx(K,y({"aria-describedby":L,autoComplete:s,autoFocus:i,defaultValue:u,fullWidth:g,multiline:O,name:_,rows:M,maxRows:x,minRows:E,type:Y,value:J,id:F,inputRef:T,onBlur:P,onChange:$,onFocus:j,placeholder:H,inputProps:S},Z,w));return m.jsxs(PM,y({className:ye(N.root,l),disabled:d,error:p,fullWidth:g,ref:n,required:D,color:c,variant:G,ownerState:W},A,{children:[R!=null&&R!==""&&m.jsx(bv,y({htmlFor:F,id:z},b,{children:R})),k?m.jsx(ib,y({"aria-describedby":L,id:F,labelId:z,value:J,input:Q},B,{children:a})):Q,v&&m.jsx(iv,y({id:L},f,{children:v}))]}))});process.env.NODE_ENV!=="production"&&(zb.propTypes={autoComplete:o.string,autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),defaultValue:o.any,disabled:o.bool,error:o.bool,FormHelperTextProps:o.object,fullWidth:o.bool,helperText:o.node,id:o.string,InputLabelProps:o.object,inputProps:o.object,InputProps:o.object,inputRef:At,label:o.node,margin:o.oneOf(["dense","none","normal"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onFocus:o.func,placeholder:o.string,required:o.bool,rows:o.oneOfType([o.number,o.string]),select:o.bool,SelectProps:o.object,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any,variant:o.oneOf(["filled","outlined","standard"])});const or=zb;function _M(e){return Ie("MuiToggleButton",e)}const Bb=Me("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),$M=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],MM=e=>{const{classes:t,fullWidth:n,selected:r,disabled:s,size:i,color:a}=e,l={root:["root",r&&"selected",s&&"disabled",n&&"fullWidth",`size${be(i)}`,a]};return ke(l,_M,t)},kM=oe(yn,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${be(n.size)}`]]}})(({theme:e,ownerState:t})=>{let n=t.color==="standard"?e.palette.text.primary:e.palette[t.color].main,r;return e.vars&&(n=t.color==="standard"?e.vars.palette.text.primary:e.vars.palette[t.color].main,r=t.color==="standard"?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),y({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${Bb.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bb.selected}`]:{color:n,backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:Ye(n,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${r} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ye(n,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:Ye(n,e.palette.action.selectedOpacity)}}}},t.size==="small"&&{padding:7,fontSize:e.typography.pxToRem(13)},t.size==="large"&&{padding:15,fontSize:e.typography.pxToRem(15)})}),Hb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiToggleButton"}),{children:s,className:i,color:a="standard",disabled:l=!1,disableFocusRipple:c=!1,fullWidth:u=!1,onChange:d,onClick:p,selected:f,size:g="medium",value:v}=r,h=me(r,$M),b=y({},r,{color:a,disabled:l,disableFocusRipple:c,fullWidth:u,size:g}),S=MM(b),w=T=>{p&&(p(T,v),T.defaultPrevented)||d&&d(T,v)};return m.jsx(kM,y({className:ye(S.root,i),disabled:l,focusRipple:!c,ref:n,onClick:w,onChange:d,value:v,ownerState:b,"aria-pressed":f},h,{children:s}))});process.env.NODE_ENV!=="production"&&(Hb.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["standard","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,fullWidth:o.bool,onChange:o.func,onClick:o.func,selected:o.bool,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any.isRequired});const IM=Hb,Sn={main:"#F6A500",gradient:"linear-gradient(#F6B100, #EC7F00)",reverseGradient:"linear-gradient(180deg, #F6B100, #EC7F00)",100:"#FFF6E8",200:"#FDE6BA",300:"#FBD68B",400:"#FAC55D",500:"#F8B52E",600:"#F6A500",700:"#D38702","700-light":"rgba(246, 165, 0, 0.39)",800:"#B06803",900:"#8D4A05",1e3:"#6A2B06"},Qe={gradientDark:"linear-gradient(180deg, #484945 0%, #2A2B27 100%)",gradientLight:"linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%)",100:"#FFFFFF",200:"#FEFCFB",300:"#F6F5F3",400:"#EFEDEC",500:"#E7E6E4",600:"#E0DEDD",700:"#D8D7D5",800:"#D1CFCE",900:"#C9C8C6",1e3:"#C1C0BE",1100:"#BAB9B7",1200:"#B2B1AF",1300:"#ABAAA8",1400:"#A3A2A0",1500:"#9C9B99",1600:"#949491",1700:"#8C8C89",1800:"#858582",1900:"#7D7D7A",2e3:"#767673",2100:"#6E6E6B",2200:"#676764",2300:"#5F5F5C",2400:"#575854",2500:"#50504D",2600:"#484945",2700:"#41413E",2800:"#393A36",2900:"#32322F",3e3:"#2A2B27"},DM={primary:{light:"#63b8ff",main:"#000",dark:"#005db0",contrastText:"#fff"},secondary:{main:"#91B927",light:"#82e9de",dark:"#00867d",contrastText:"#000"}},NM={fontFamily:["Montserrat","serif"].join(","),h1:{fontStyle:"normal",fontWeight:"700",fontSize:"2rem",lineHeight:"3rem",color:Qe[2800]},h2:{fontStyle:"normal",fontWeight:"700",fontSize:"1.5rem",lineHeight:"2rem",color:Qe[2800]},h3:{fontStyle:"normal",fontWeight:"700",fontSize:"1.125rem",lineHeight:"1.75rem",color:Qe[2800]},h4:{fontStyle:"normal",fontWeight:"700",fontSize:"0.875rem",lineHeight:"1.5rem",color:Qe[2800]},h5:{fontStyle:"normal",fontWeight:"700",fontSize:"0.75rem",lineHeight:"1rem",color:Qe[2800]},huge:{fontStyle:"normal",fontWeight:"400",fontSize:"1.125rem",lineHeight:"2rem",color:Qe[2800]},"big-bold":{fontStyle:"normal",fontWeight:"600",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},"big-medium":{fontStyle:"normal",fontWeight:"500",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},big:{fontStyle:"normal",fontWeight:"400",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},"body-bold":{fontStyle:"normal",fontWeight:"600",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[2800]},body:{fontStyle:"normal",fontWeight:"500",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[2800]},"body-light":{fontStyle:"normal",fontWeight:"500",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[1400]},"popover-header":{fontStyle:"normal",fontWeight:"700",lineHeight:"1.5rem",fontSize:"0.875rem"},"grey-tag":{borderRadius:"4px",padding:"8px",display:"inline",background:Qe[400],fontSize:"12px",fontStyle:"normal",fontWeight:"500",color:"black"},"white-tag":{borderRadius:"4px",padding:"8px",border:"1px solid "+Qe[500],color:"black",background:Qe[100],fontSize:"0.625rem",fontStyle:"normal",fontWeight:"700",lineHeight:"normal"}},jM={color:Sn,grey:Qe,searchBox:{borderRadius:"24px",border:"1px solid #E7E6E4",background:"white",boxShadow:"0px 2px 8px 0px "+Qe[500]},rowMenuElement:{marginLeft:"12px",paddingRight:"8px",fontSize:"12px",fontWeight:"600",lineHeight:"20px"},productGrid:{baseCell:{color:Sn[800],fontSize:"12px",fontWeight:700,borderRight:"1px solid "+Qe[500]},boldCell:{color:Qe[2800],fontFamily:"Montserrat",fontStyle:"normal",fontSize:"18px",fontWeight:"800",lineHeight:"normal"},greyCell:{color:Qe[1400],fontSize:"14px",fontStyle:"normal",fontWeight:"400",lineHeight:"20px"},headerCell:{fontWeight:"500",color:Qe[2e3],backgroundColor:Qe[200],border:"1px solid "+Qe[500]}}},AM={MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root:{textTransform:"none",fontSize:"0.75rem",borderRadius:"25px",height:"40px"}},variants:[{props:{variant:"primary"},style:{transition:"none",color:"#FFFFFF",boxShadow:"0px 4px 8px 0px #2A2B2714",background:Sn.gradient,":hover":{color:"#FFFFFF",background:Sn[700]},":disabled":{color:"#FFFFFF",background:Sn["700-light"]},":active":{background:"none",backgroundColor:Sn[900]}}},{props:{variant:"secondary"},style:{color:Sn[700],border:`2px solid ${Sn[700]}`,":hover":{color:"#FFFFFF",border:"none",background:Sn[700]},":disabled":{color:Sn["700-light"],border:`2px solid ${Sn["700-light"]}`,background:"#FFFFFF"},":active":{color:"#FFFFFF",border:"none",background:Sn[900]}}},{props:{variant:"ternary"},style:{border:`1px solid ${Qe[500]}`,background:Qe.gradientLight,":hover":{border:`1px solid ${Qe[500]}`,background:Qe[400]},":disabled":{border:`1px solid ${Qe[100]}`,background:Qe[500]},":active":{background:Qe[600]}}},{props:{variant:"text"},style:{transition:"none",paddingInline:"0",color:Sn[800],fontWeight:"700",":hover":{background:"none",textDecoration:"underline"}}},{props:{variant:"navbar-current"},style:{color:"white",background:Sn.reverseGradient,borderRadius:"8px",padding:"0px"}},{props:{variant:"navbar"},style:{color:"white",background:"black",borderRadius:"0px",padding:"8px"}},{props:{variant:"black-text"},style:{color:Qe[2800],background:"none",fontWeight:"600"}},{props:{variant:"black-filled"},style:{borderRadius:"8px",background:`linear-gradient(180deg, ${Qe[2600]} 0%, ${Qe[3e3]} 100%)`,boxShadow:"0px 4px 8px 0px rgba(42, 43, 39, 0.08)"}},{props:{variant:"white-filled"},style:{borderRadius:"8px",border:"1px solid "+Qe[500],background:"linear-gradient(180deg, #FFF 0%, #FAFAFA 100%)",boxShadow:" 0px 2px 8px 0px rgba(42, 43, 39, 0.04)"}},{props:{variant:"white-filled-no-shadow"},style:{borderRadius:"44px",border:"1px solid #E7E6E4",background:"linear-gradient(180deg, #FFF 0%, #FAFAFA 100%)"}}]},MuiButtonBase:{styleOverrides:{root:{borderRadius:"15px"}}}};iu({palette:DM,typography:NM,custom:jM,components:AM});const FM=la(RR)(()=>({".Mui-disabled":{background:Qe[500]},":before":{height:"0px"},border:`1px solid ${Qe[500]}`,boxShadow:"0px 2px 8px 0px #2A2B270A"})),VM=e=>{const[t,n]=ce.useState(null),r=s=>{if(s===t){n(null);return}n(s)};return m.jsx("div",{style:{display:"flex",flexDirection:"column",marginBlock:"1rem"},children:e.pages.map((s,i)=>{const a=t===i;return m.jsxs(FM,{expanded:a,disableGutters:!0,children:[m.jsx(WR,{sx:{minHeight:"80px"},expandIcon:m.jsx(XR,{}),"aria-controls":"panel1a-content",onClick:()=>r(i),children:s.title}),m.jsx(ZR,{sx:{borderTop:`1px solid ${Qe[500]}`},children:s.content})]},`accordion-prod-ing-${i}`)})})},LM=ht(m.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),zM=ht(m.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Ub=ht(m.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),BM=ht(m.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),HM=ht(m.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92L5.92 19zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41z"}),"CreateOutlined"),UM=ht(m.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator"),WM=ht(m.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),GM=ht(m.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),qM=ht(m.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"SearchOutlined"),YM=ht(m.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");function KM(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const Wb={};function Zu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Wb[t[0]]||(typeof t[0]=="string"&&(Wb[t[0]]=new Date),KM(...t))}const Gb=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}};function qb(e,t,n){e.loadNamespaces(t,Gb(e,n))}function Yb(e,t,n,r){typeof n=="string"&&(n=[n]),n.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,Gb(e,r))}function ZM(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=t.languages[0],s=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(l,c)=>{const u=t.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!s||a(i,e)))}function XM(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Zu("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(s,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!i(s.isLanguageChangingTo,e))return!1}}):ZM(e,t,n)}const JM=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,QM={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},e9=e=>QM[e];let t9={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(JM,e9)};function n9(){return t9}let o9;function r9(){return o9}const s9=ce.createContext();class i9{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const a9=(e,t)=>{const n=ce.useRef();return ce.useEffect(()=>{n.current=t?n.current:e},[e,t]),n.current};function wn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:s}=ce.useContext(s9)||{},i=n||r||r9();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new i9),!i){Zu("You will need to pass in an i18next instance by using initReactI18next");const T=(x,E)=>typeof E=="string"?E:E&&typeof E=="object"&&typeof E.defaultValue=="string"?E.defaultValue:Array.isArray(x)?x[x.length-1]:x,R=[T,{},!1];return R.t=T,R.i18n={},R.ready=!1,R}i.options.react&&i.options.react.wait!==void 0&&Zu("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...n9(),...i.options.react,...t},{useSuspense:l,keyPrefix:c}=a;let u=e||s||i.options&&i.options.defaultNS;u=typeof u=="string"?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(T=>XM(T,i,a));function p(){return i.getFixedT(t.lng||null,a.nsMode==="fallback"?u:u[0],c)}const[f,g]=ce.useState(p);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const h=a9(v),b=ce.useRef(!0);ce.useEffect(()=>{const{bindI18n:T,bindI18nStore:R}=a;b.current=!0,!d&&!l&&(t.lng?Yb(i,t.lng,u,()=>{b.current&&g(p)}):qb(i,u,()=>{b.current&&g(p)})),d&&h&&h!==v&&b.current&&g(p);function x(){b.current&&g(p)}return T&&i&&i.on(T,x),R&&i&&i.store.on(R,x),()=>{b.current=!1,T&&i&&T.split(" ").forEach(E=>i.off(E,x)),R&&i&&R.split(" ").forEach(E=>i.store.off(E,x))}},[i,v]);const S=ce.useRef(!0);ce.useEffect(()=>{b.current&&!S.current&&g(p),S.current=!1},[i,c]);const w=[f,i,d];if(w.t=f,w.i18n=i,w.ready=d,d||!d&&!l)return w;throw new Promise(T=>{t.lng?Yb(i,t.lng,u,()=>T()):qb(i,u,()=>T())})}function l9(e){const t=Nt(),{t:n}=wn(),[r,s]=ce.useState(!1);return m.jsxs(at,{component:"div",sx:{borderRadius:"8px",background:"#FFF",boxShadow:" 0px 2px 8px 0px rgba(42, 43, 39, 0.04)",border:`1px solid ${t.custom.grey[500]}`},children:[m.jsxs(rn,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{width:"100%",padding:"30px 24px"},children:[m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"12px",alignItems:"center",children:[e.headerIcon,m.jsx(ut,{variant:"h3",children:e.headerText})]}),m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"24px",alignItems:"center",children:[e.controls,!e.controls&&m.jsx(Wt,{disabled:!0,variant:"white-filled",startIcon:m.jsx(HM,{}),sx:{marginRight:"24px",borderRadius:"44px"},children:n("Modifier")}),m.jsx(Ft,{onClick:i=>s(!r),children:r===!0?m.jsx(WM,{}):m.jsx(GM,{})})]})]}),r&&m.jsx(Wr,{in:r,timeout:300,children:m.jsxs("div",{children:[m.jsx(er,{}),m.jsx(at,{component:"div",sx:{padding:"44px"},children:e.children})]})})]})}const Kb=e=>m.jsx(at,{sx:{backgroundColor:"black",width:"80px",height:"100vh"},children:m.jsxs(rn,{direction:"column",justifyContent:"space-between",useFlexGap:!0,sx:{height:"837px"},children:[m.jsxs("div",{children:[m.jsx(Ch,{alt:"app-logo",src:"../../assets/icons/favicon.ico",sx:{marginTop:"40px",marginBottom:"40px",marginLeft:"16px",marginRight:"16px",width:"48px",height:"48px"}}),m.jsx(rn,{direction:"column",gap:"12px",useFlexGap:!0,sx:{marginTop:"0px"},children:e.links.map((t,n)=>ce.createElement(Xu,{...t,key:n}))})]}),m.jsxs("div",{className:"bottomSection",children:[m.jsx(Xu,{icon:m.jsx(YM,{}),link:"#",isCurrent:!1}),m.jsx(Ch,{alt:"profile-picture",src:"../../assets/icons/profil.jpg",sx:{margin:"20px",marginTop:"12px",width:"40px",height:"40px"}})]})]})});function Xu(e){return m.jsx(Wt,{variant:e.isCurrent?"navbar-current":"navbar","aria-label":"link",sx:{marginLeft:"20px",marginRight:"20px",width:"40px",height:"40px",minWidth:"0px"},children:e.icon})}const c9=Object.freeze(Object.defineProperty({__proto__:null,NavBarLink:Xu,Navbar:Kb},Symbol.toStringTag,{value:"Module"})),u9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M11.1667 19.9083V12.475L4.66665 8.71665V16.15L11.1667 19.9083ZM12.8333 19.9083L19.3334 16.15V8.7L12.8333 12.475V19.9083ZM12 11.05L18.4084 7.325L12 3.61665L5.57498 7.325L12 11.05ZM3 17.125V6.875L12 1.7L21 6.875V17.125L12 22.3L3 17.125Z",fill:"white"})),d9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M5.82527 21C4.7586 21 3.85305 20.6281 3.10862 19.8844C2.36417 19.1406 1.99194 18.2359 1.99194 17.1702C1.99194 16.1045 2.36417 15.1998 3.10862 14.4561C3.85305 13.7123 4.7586 13.3404 5.82527 13.3404C6.89194 13.3404 7.79749 13.7123 8.54194 14.4561C9.28638 15.1998 9.65859 16.1045 9.65859 17.1702C9.65859 18.2359 9.28638 19.1406 8.54194 19.8844C7.79749 20.6281 6.89194 21 5.82527 21ZM18.1753 21C17.1086 21 16.2031 20.6281 15.4586 19.8844C14.7142 19.1406 14.3419 18.2359 14.3419 17.1702C14.3419 16.1045 14.7142 15.1998 15.4586 14.4561C16.2031 13.7123 17.1086 13.3404 18.1753 13.3404C19.2419 13.3404 20.1475 13.7123 20.8919 14.4561C21.6364 15.1998 22.0086 16.1045 22.0086 17.1702C22.0086 18.2359 21.6364 19.1406 20.8919 19.8844C20.1475 20.6281 19.2419 21 18.1753 21ZM5.82379 19.3349C6.41923 19.3349 6.92944 19.1231 7.35444 18.6995C7.77944 18.2758 7.99194 17.7666 7.99194 17.1717C7.99194 16.5768 7.77994 16.0671 7.35592 15.6425C6.9319 15.2179 6.42218 15.0056 5.82674 15.0056C5.23131 15.0056 4.72109 15.2174 4.29609 15.641C3.87109 16.0646 3.65859 16.5739 3.65859 17.1687C3.65859 17.7636 3.8706 18.2734 4.29462 18.698C4.71864 19.1226 5.22836 19.3349 5.82379 19.3349ZM18.1738 19.3349C18.7692 19.3349 19.2794 19.1231 19.7044 18.6995C20.1294 18.2758 20.3419 17.7666 20.3419 17.1717C20.3419 16.5768 20.1299 16.0671 19.7059 15.6425C19.2819 15.2179 18.7722 15.0056 18.1768 15.0056C17.5813 15.0056 17.0711 15.2174 16.6461 15.641C16.2211 16.0646 16.0086 16.5739 16.0086 17.1687C16.0086 17.7636 16.2206 18.2734 16.6446 18.698C17.0687 19.1226 17.5784 19.3349 18.1738 19.3349ZM12.0086 10.6596C10.942 10.6596 10.0364 10.2877 9.29194 9.54394C8.54751 8.80018 8.17529 7.89546 8.17529 6.82978C8.17529 5.76411 8.54751 4.8594 9.29194 4.11564C10.0364 3.37188 10.942 3 12.0086 3C13.0753 3 13.9808 3.37188 14.7253 4.11564C15.4697 4.8594 15.8419 5.76411 15.8419 6.82978C15.8419 7.89546 15.4697 8.80018 14.7253 9.54394C13.9808 10.2877 13.0753 10.6596 12.0086 10.6596ZM12.0071 8.99445C12.6026 8.99445 13.1128 8.78264 13.5378 8.35901C13.9628 7.93539 14.1753 7.42613 14.1753 6.83125C14.1753 6.23638 13.9633 5.72665 13.5392 5.30204C13.1152 4.87744 12.6055 4.66513 12.0101 4.66513C11.4147 4.66513 10.9044 4.87694 10.4794 5.30057C10.0544 5.72419 9.84194 6.23344 9.84194 6.8283C9.84194 7.42319 10.054 7.93293 10.478 8.35754C10.902 8.78214 11.4117 8.99445 12.0071 8.99445Z",fill:"white"})),p9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M15.8156 16.6542L14.7472 15.6004L19.344 11.0004L14.7472 6.40038L15.8156 5.34656L21.4655 11.0004L15.8156 16.6542ZM2.47876 18.5004V15.0004C2.47876 13.6876 2.94191 12.5677 3.8682 11.6408C4.79447 10.7139 5.91356 10.2504 7.22546 10.2504H14.04L10.1927 6.40038L11.2611 5.34656L16.911 11.0004L11.2611 16.6542L10.1927 15.6004L14.04 11.7504H7.22546C6.32864 11.7504 5.56314 12.0677 4.92896 12.7023C4.29478 13.3369 3.97769 14.103 3.97769 15.0004V18.5004H2.47876Z",fill:"white"})),f9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M2.47876 21.5V10.3116L8.47455 7.75971V9.74048L13.4711 7.74048V10.5001H21.4655V21.5H2.47876ZM3.97769 20H19.9666V12H11.9721V9.95003L6.97561 11.95V10L3.97769 11.325V20ZM11.0882 17.7693H12.8561V14.2308H11.0882V17.7693ZM7.09093 17.7693H8.85891V14.2308H7.09093V17.7693ZM15.0854 17.7693H16.8534V14.2308H15.0854V17.7693ZM21.4655 10.5001H17.4107L18.41 2.8847H20.5239L21.4655 10.5001Z",fill:"white"})),m9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M4.45876 20.7487C3.69647 20.7487 3.04789 20.4811 2.51301 19.9459C1.97813 19.4106 1.71069 18.7616 1.71069 17.9988C1.71069 17.5847 1.79557 17.193 1.96532 16.8238C2.13508 16.4545 2.38331 16.1379 2.71 15.8738V11.2488H4.85276V5.49878H11.8959L16.4196 16.1315C16.5132 16.352 16.5865 16.5741 16.6397 16.7978C16.6928 17.0215 16.7194 17.2552 16.7194 17.4988C16.7194 18.4013 16.4036 19.1686 15.772 19.8007C15.1404 20.4327 14.3736 20.7487 13.4717 20.7487C12.8081 20.7487 12.2034 20.568 11.6576 20.2064C11.1118 19.8449 10.7166 19.359 10.4719 18.7487H7.08961C6.92434 19.3423 6.59797 19.8241 6.11049 20.1939C5.62301 20.5638 5.07243 20.7487 4.45876 20.7487ZM17.7187 19.7487V4.24878H19.2177V18.2488H22.2348V19.7487H17.7187ZM4.45876 19.2488C4.80597 19.2488 5.10096 19.1273 5.34375 18.8844C5.58653 18.6414 5.70792 18.3462 5.70792 17.9988C5.70792 17.6513 5.58653 17.3561 5.34375 17.1132C5.10096 16.8702 4.80597 16.7487 4.45876 16.7487C4.11157 16.7487 3.81658 16.8702 3.5738 17.1132C3.331 17.3561 3.2096 17.6513 3.2096 17.9988C3.2096 18.3462 3.331 18.6414 3.5738 18.8844C3.81658 19.1273 4.11157 19.2488 4.45876 19.2488ZM13.4717 19.2488C13.9521 19.2488 14.3637 19.0773 14.7064 18.7344C15.0492 18.3914 15.2205 17.9795 15.2205 17.4988C15.2205 17.018 15.0492 16.6061 14.7064 16.2632C14.3637 15.9202 13.9521 15.7487 13.4717 15.7487C12.9913 15.7487 12.5797 15.9202 12.237 16.2632C11.8942 16.6061 11.7229 17.018 11.7229 17.4988C11.7229 17.9795 11.8942 18.3914 12.237 18.7344C12.5797 19.0773 12.9913 19.2488 13.4717 19.2488ZM7.08961 17.2488H10.2393C10.247 16.9693 10.2973 16.7023 10.3902 16.4478C10.4831 16.1933 10.6192 15.9603 10.7986 15.7487H8.63663L5.71366 12.7487H4.20891V15.2872C4.24735 15.2744 4.28739 15.2648 4.32903 15.2584C4.37068 15.252 4.41392 15.2488 4.45876 15.2488C5.07243 15.2488 5.62301 15.4337 6.11049 15.8036C6.59797 16.1734 6.92434 16.6552 7.08961 17.2488ZM9.27464 14.2488H13.5639C13.6472 14.2488 13.7289 14.2584 13.809 14.2776C13.8891 14.2969 13.9675 14.3257 14.0444 14.3642L10.9081 6.99876H6.35167V11.2488L9.27464 14.2488ZM8.63663 15.7487L8.17445 15.2737C7.86634 14.9571 7.53323 14.6112 7.17515 14.2362C6.81706 13.8612 6.48396 13.5196 6.17584 13.2112L5.71366 12.7487L8.63663 15.7487Z",fill:"white"})),g9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M8.84319 20.8227C6.96564 20.1245 5.42435 18.9491 4.21931 17.2964C3.01428 15.6436 2.41176 13.7536 2.41176 11.6263C2.41176 11.1354 2.44744 10.6473 2.5188 10.1618C2.59018 9.67635 2.70273 9.19908 2.85644 8.72998L1.42357 9.55635L0.600098 8.15726L5.02219 5.6209L7.57498 9.99L6.14214 10.8082L4.74221 8.41906C4.5281 8.92634 4.36478 9.44997 4.25225 9.98997C4.13969 10.53 4.08341 11.0809 4.08341 11.6427C4.08341 13.4373 4.60496 15.0368 5.64805 16.4414C6.69114 17.8459 8.03618 18.8264 9.68314 19.3827L8.84319 20.8227ZM16.1063 8.34543V6.70908H18.8979C18.1184 5.67817 17.1521 4.87499 15.9993 4.29953C14.8464 3.72407 13.6194 3.43634 12.3183 3.43634C11.2587 3.43634 10.2678 3.61907 9.34548 3.98453C8.42318 4.34998 7.59695 4.85726 6.8668 5.50635L6.02685 4.05C6.89424 3.34636 7.85634 2.79545 8.91315 2.39725C9.96996 1.99908 11.0968 1.79999 12.2936 1.79999C13.6935 1.79999 15.0207 2.07408 16.2751 2.62226C17.5296 3.17044 18.6262 3.95181 19.565 4.96635V3.27271H21.2119V8.34543H16.1063ZM15.1511 23.4L10.729 20.8636L13.2818 16.4945L14.6899 17.3127L13.2653 19.7673C15.3405 19.5327 17.0739 18.645 18.4656 17.1041C19.8573 15.5632 20.5531 13.7427 20.5531 11.6427C20.5531 11.3536 20.538 11.0727 20.5078 10.8C20.4776 10.5272 20.4296 10.2545 20.3637 9.9818H22.0519C22.1013 10.2545 22.1383 10.5259 22.163 10.7959C22.1877 11.0659 22.2001 11.34 22.2001 11.6182C22.2001 13.9145 21.4878 15.9532 20.0632 17.7341C18.6385 19.515 16.809 20.6645 14.5746 21.1827L15.9746 22.0009L15.1511 23.4Z",fill:"white"})),h9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M13.9131 9.74612V8.43075C14.4563 8.1782 15.0248 7.98878 15.6186 7.8625C16.2125 7.73621 16.829 7.67307 17.4683 7.67307C17.8693 7.67307 18.2588 7.7016 18.6368 7.75865C19.0147 7.8157 19.3939 7.89102 19.7744 7.9846V9.23842C19.4003 9.10766 19.0285 9.01278 18.6589 8.9538C18.2892 8.89483 17.8924 8.86535 17.4683 8.86535C16.829 8.86535 16.2099 8.94131 15.611 9.09322C15.012 9.24516 14.4461 9.46279 13.9131 9.74612ZM13.9131 15.2269V13.8923C14.4435 13.6397 15.0104 13.4503 15.6139 13.324C16.2173 13.1977 16.8354 13.1346 17.4683 13.1346C17.8693 13.1346 18.2588 13.1631 18.6368 13.2202C19.0147 13.2772 19.3939 13.3525 19.7744 13.4461V14.6999C19.4003 14.5692 19.0285 14.4743 18.6589 14.4153C18.2892 14.3564 17.8924 14.3269 17.4683 14.3269C16.829 14.3269 16.2099 14.4035 15.611 14.5567C15.012 14.7099 14.4461 14.9333 13.9131 15.2269ZM13.9131 12.4961V11.1615C14.4563 10.909 15.0248 10.7195 15.6186 10.5932C16.2125 10.467 16.829 10.4038 17.4683 10.4038C17.8693 10.4038 18.2588 10.4323 18.6368 10.4894C19.0147 10.5464 19.3939 10.6218 19.7744 10.7154V11.9692C19.4003 11.8384 19.0285 11.7435 18.6589 11.6846C18.2892 11.6256 17.8924 11.5961 17.4683 11.5961C16.829 11.5961 16.2099 11.6753 15.611 11.8336C15.012 11.992 14.4461 12.2128 13.9131 12.4961ZM6.47597 16.0192C7.30361 16.0192 8.10883 16.1131 8.89162 16.3009C9.67441 16.4888 10.4514 16.7833 11.2227 17.1846V7.35382C10.5206 6.89614 9.76089 6.55287 8.94351 6.32402C8.12613 6.09517 7.30361 5.98075 6.47597 5.98075C5.87639 5.98075 5.3162 6.02786 4.79541 6.12207C4.27463 6.21631 3.73942 6.37047 3.1898 6.58457C3.11292 6.61022 3.05847 6.64709 3.02644 6.69517C2.99442 6.74326 2.9784 6.79614 2.9784 6.85382V16.3115C2.9784 16.4012 3.01043 16.467 3.07448 16.5086C3.13856 16.5503 3.20903 16.5551 3.28591 16.523C3.75993 16.3615 4.26022 16.2372 4.78677 16.15C5.31332 16.0628 5.87639 16.0192 6.47597 16.0192ZM12.7216 17.1846C13.4929 16.7833 14.2699 16.4888 15.0527 16.3009C15.8355 16.1131 16.6407 16.0192 17.4683 16.0192C18.0679 16.0192 18.631 16.0628 19.1575 16.15C19.6841 16.2372 20.1844 16.3615 20.6584 16.523C20.7353 16.5551 20.8058 16.5503 20.8698 16.5086C20.9339 16.467 20.9659 16.4012 20.9659 16.3115V6.85382C20.9659 6.79614 20.9499 6.74486 20.9179 6.69997C20.8858 6.65509 20.8314 6.61662 20.7545 6.58457C20.2049 6.37047 19.6697 6.21631 19.1489 6.12207C18.6281 6.02786 18.0679 5.98075 17.4683 5.98075C16.6407 5.98075 15.8182 6.09517 15.0008 6.32402C14.1834 6.55287 13.4237 6.89614 12.7216 7.35382V17.1846ZM11.9722 19.3845C11.1663 18.7897 10.297 18.3301 9.36434 18.0057C8.43166 17.6813 7.46887 17.5192 6.47597 17.5192C5.86615 17.5192 5.26721 17.5868 4.67917 17.722C4.09111 17.8573 3.5242 18.0563 2.97843 18.3191C2.62227 18.4832 2.28341 18.4573 1.96183 18.2413C1.64027 18.0252 1.47949 17.7191 1.47949 17.323V6.46537C1.47949 6.24999 1.5349 6.04775 1.6457 5.85865C1.75652 5.66955 1.91636 5.53333 2.12519 5.45C2.80164 5.12052 3.50659 4.87661 4.24005 4.71827C4.97351 4.55994 5.71881 4.48077 6.47597 4.48077C7.44838 4.48077 8.39836 4.61379 9.32592 4.87982C10.2535 5.14584 11.1356 5.53847 11.9722 6.0577C12.8088 5.53847 13.6908 5.14584 14.6184 4.87982C15.5459 4.61379 16.4959 4.48077 17.4683 4.48077C18.2255 4.48077 18.9708 4.55994 19.7043 4.71827C20.4377 4.87661 21.1427 5.12052 21.8191 5.45C22.028 5.53333 22.1878 5.66955 22.2986 5.85865C22.4094 6.04775 22.4648 6.24999 22.4648 6.46537V17.323C22.4648 17.7191 22.2977 18.022 21.9633 18.2316C21.6289 18.4413 21.2772 18.464 20.9082 18.2999C20.3688 18.0435 19.8099 17.8493 19.2315 17.7172C18.6531 17.5852 18.0654 17.5192 17.4683 17.5192C16.4754 17.5192 15.5127 17.6813 14.58 18.0057C13.6473 18.3301 12.778 18.7897 11.9722 19.3845Z",fill:"white"})),v9=e=>C.createElement("svg",{width:110,height:36,viewBox:"0 0 110 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("g",{clipPath:"url(#clip0_1155_14172)"},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.0348 23.6039H58.1474C58.3271 23.6039 58.4767 23.4535 58.4468 23.243V19.0936C58.4468 18.8831 58.6262 18.7328 58.8359 18.7628C59.5842 18.9132 60.6017 19.0034 61.3201 19.0034C65.8991 19.0034 68.6826 16.3874 68.6826 12.5687C68.6826 8.41926 65.7794 6.13403 62.0382 6.13403C60.2425 6.13403 58.6262 6.88574 57.8782 7.90808V6.76549C57.8782 6.58505 57.7284 6.43472 57.5489 6.43472H55.0348C54.8554 6.43472 54.7055 6.58505 54.7055 6.76549V23.2731C54.7055 23.4535 54.8554 23.6039 55.0348 23.6039ZM61.4397 9.32129C63.385 9.32129 64.7018 10.3737 64.7018 12.4184C64.7018 14.7036 63.1158 15.8762 60.9908 15.8462C60.2724 15.8462 59.3745 15.756 58.6863 15.5154C58.5664 15.4854 58.4767 15.3651 58.4767 15.2147V12.1177C58.4767 10.4639 59.5543 9.32129 61.4397 9.32129Z",fill:"black"}),C.createElement("path",{d:"M109.775 6.7653C109.775 6.58486 109.625 6.43453 109.446 6.43453H98.6714C98.492 6.43453 98.3421 6.58486 98.3421 6.7653V9.11062C98.3421 9.29105 98.492 9.44138 98.6714 9.44138H100.527C100.707 9.44138 100.856 9.59174 100.856 9.77215V13.5908C100.856 17.9207 102.981 19.0333 106.722 19.0333C107.56 19.0333 108.668 18.8829 109.566 18.6424C109.715 18.5822 109.805 18.462 109.805 18.3116V15.846C109.805 15.6054 109.595 15.4551 109.386 15.5152C108.698 15.6956 107.86 15.8159 107.351 15.8159C105.585 15.8159 104.597 15.3048 104.597 13.5608V9.77215C104.597 9.59174 104.747 9.44138 104.926 9.44138H109.446C109.625 9.44138 109.775 9.29105 109.775 9.11062V6.7653Z",fill:"black"}),C.createElement("path",{d:"M83.3778 15.5152C82.6894 15.6956 81.8812 15.8159 81.3426 15.8159C79.5768 15.8159 78.5892 15.3048 78.5892 13.5608V6.7653C78.5892 6.58486 78.4394 6.43453 78.2599 6.43453H75.1473C74.9676 6.43453 74.8181 6.58486 74.8181 6.7653V13.5608C74.8181 17.9207 76.943 19.0032 80.684 19.0032C81.522 19.0032 82.6295 18.8528 83.5274 18.6123C83.6769 18.5822 83.7666 18.4319 83.7666 18.2815V15.8159C83.7969 15.6054 83.5872 15.4551 83.3778 15.5152Z",fill:"black"}),C.createElement("path",{d:"M69.6703 6.7653V18.4018C69.6703 18.5822 69.8198 18.7326 69.9995 18.7326H73.0822C73.2617 18.7326 73.4115 18.5822 73.4115 18.4018V6.7653C73.4115 6.58486 73.2617 6.43453 73.0822 6.43453H69.9995C69.8198 6.43453 69.6703 6.58486 69.6703 6.7653Z",fill:"black"}),C.createElement("path",{d:"M9.21342 23.5736L7.59723 28.4446H6.6395L5.44233 24.8365L4.21524 28.4446H3.25752L1.67126 23.5736H2.59908L3.79623 27.2721L5.05325 23.5736H5.89128L7.11837 27.3022L8.34545 23.5736H9.21342Z",fill:"black"}),C.createElement("path",{d:"M14.9598 28.4446V23.5736H14.0619V25.5882H11.5478V23.5736H10.65V28.4446H11.5478V26.3701H14.0619V28.4446H14.9598Z",fill:"black"}),C.createElement("path",{d:"M20.5864 27.663V28.4145H16.9351V23.5736H20.4667V24.3253H17.833V25.5882H20.1674V26.34H17.833V27.6931L20.5864 27.663Z",fill:"black"}),C.createElement("path",{d:"M26.5721 28.4446V23.5736H25.6744V26.8812L23.0107 23.5736H22.2624V28.4446H23.1603V25.1372L25.824 28.4446H26.5721Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.1813 23.5736H33.3063C33.8151 23.5736 34.2939 23.6638 34.683 23.8743C35.0721 24.0848 35.4014 24.3554 35.6108 24.7162C35.8204 25.077 35.9401 25.498 35.9401 25.9792C35.9401 26.4602 35.8204 26.8812 35.6108 27.2421C35.4014 27.6026 35.0721 27.9034 34.683 28.084C34.2939 28.2643 33.8151 28.3845 33.3063 28.3845H31.1813V23.5736ZM33.2465 27.663C33.6057 27.663 33.9048 27.6026 34.1743 27.4524C34.4437 27.3022 34.6531 27.1216 34.8026 26.8812C34.9525 26.6405 35.0123 26.34 35.0123 26.0092C35.0123 25.6784 34.9525 25.3777 34.8026 25.1372C34.6531 24.8966 34.4437 24.6861 34.1743 24.5659C33.9048 24.4155 33.6057 24.3554 33.2465 24.3554H32.0792V27.6931L33.2465 27.663Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.2146 27.3022H40.639L41.1478 28.4145H42.0755L39.8907 23.5435H38.9929L36.8081 28.4145H37.7358L38.2146 27.3022ZM39.4119 24.4456L40.3396 26.5804H38.514L39.4119 24.4456Z",fill:"black"}),C.createElement("path",{d:"M44.1108 24.3253H42.4945V23.5736H46.595V24.3253H44.9787V28.4145H44.0809L44.1108 24.3253Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.4803 27.3022H50.9047L51.4134 28.4145H52.3412L50.1564 23.5435H49.2585L47.0737 28.4145H48.0015L48.4803 27.3022ZM49.6776 24.4456L50.6053 26.5804H48.7797L49.6776 24.4456Z",fill:"black"}),C.createElement("path",{d:"M93.0747 0.661612C93.0747 1.02701 92.7799 1.32323 92.4161 1.32323C92.0527 1.32323 91.7578 1.02701 91.7578 0.661612C91.7578 0.296215 92.0527 0 92.4161 0C92.7799 0 93.0747 0.296215 93.0747 0.661612Z",fill:"#F6A500"}),C.createElement("path",{d:"M6.13068 9.44135H9.27324C9.48275 9.44135 9.63238 9.29102 9.63238 9.11058V6.79531C9.63238 6.6149 9.48275 6.46458 9.30318 6.46458H5.80148V6.31422C5.80148 4.7206 6.48985 3.66818 8.67466 3.66818C9.42288 3.66818 10.3806 3.84859 11.1289 4.05907C11.3384 4.11923 11.5478 3.96887 11.5478 3.72833V1.6536C11.5478 1.53331 11.4581 1.41303 11.3384 1.35291C10.5602 1.05222 9.33309 0.781609 8.31552 0.781609C4.36489 0.781609 2.03041 2.4955 2.03041 6.28414V6.46458H0.444161C0.264591 6.46458 0.114929 6.6149 0.114929 6.79531V9.11058C0.114929 9.29102 0.264591 9.44135 0.444161 9.44135H1.70118C1.88075 9.44135 2.03041 9.59171 2.03041 9.77211V18.3717C2.03041 18.5521 2.18005 18.7025 2.35962 18.7025H5.47224C5.65181 18.7025 5.80148 18.5521 5.80148 18.3717V9.77211C5.80148 9.59171 5.95111 9.44135 6.13068 9.44135Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.576 19.0334C20.7661 19.0334 23.9386 16.6579 23.9386 12.6287C23.9386 8.68976 20.796 6.13393 16.5161 6.13393C12.3261 6.13393 9.15359 8.68976 9.15359 12.6287C9.15359 16.6579 12.4159 19.0334 16.576 19.0334ZM16.5461 9.14078C18.6112 9.14078 20.0179 10.5239 20.0179 12.5987C20.0179 14.6734 18.6411 16.0265 16.576 16.0265C14.6306 16.0265 13.1042 14.6734 13.1042 12.5987C13.1042 10.5239 14.6306 9.14078 16.5461 9.14078Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2324 12.6287C39.2324 16.6579 36.0597 19.0334 31.8699 19.0334C27.7395 19.0334 24.4772 16.6579 24.4772 12.6287C24.4772 8.68976 27.6498 6.13393 31.8399 6.13393C36.1195 6.13393 39.2324 8.68976 39.2324 12.6287ZM35.3117 12.5987C35.3117 10.5239 33.9048 9.14078 31.8399 9.14078C29.9243 9.14078 28.3981 10.5239 28.3981 12.5987C28.3981 14.6734 29.9243 16.0265 31.8699 16.0265C33.9347 16.0265 35.3117 14.6734 35.3117 12.5987Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.9995 18.4018C53.1493 18.3717 53.2391 18.2214 53.2391 18.071H53.269V1.59349C53.269 1.41305 53.1194 1.26272 52.9397 1.26272H49.857C49.6776 1.26272 49.5277 1.41305 49.5277 1.59349V6.01355C49.5277 6.22403 49.3483 6.37439 49.1389 6.34431C48.5701 6.25411 47.9417 6.19395 47.313 6.19395C43.0932 6.19395 39.771 8.59946 39.771 12.6286C39.771 17.1088 43.602 19.0633 47.9118 19.0633C49.6776 19.0633 51.5929 18.7927 52.9995 18.4018ZM49.1987 15.7257C48.6897 15.8159 48.0912 15.846 47.5526 15.846C45.278 15.846 43.7515 14.5831 43.7515 12.5986C43.7515 10.5539 45.1581 9.26096 47.5227 9.26096C48.0613 9.26096 48.6299 9.32108 49.1987 9.44137C49.3483 9.47144 49.4679 9.62177 49.4679 9.77213V15.3949C49.4679 15.5453 49.3483 15.6956 49.1987 15.7257Z",fill:"#F6A500"}),C.createElement("path",{d:"M96.4568 2.82628C96.4568 3.37429 96.0145 3.81854 95.4693 3.81854C94.9237 3.81854 94.4814 3.37429 94.4814 2.82628C94.4814 2.27826 94.9237 1.83401 95.4693 1.83401C96.0145 1.83401 96.4568 2.27826 96.4568 2.82628Z",fill:"#F6A500"}),C.createElement("path",{d:"M98.7911 3.60802C99.5349 3.60802 100.138 3.00221 100.138 2.25494C100.138 1.50764 99.5349 0.901859 98.7911 0.901859C98.0473 0.901859 97.4444 1.50764 97.4444 2.25494C97.4444 3.00221 98.0473 3.60802 98.7911 3.60802Z",fill:"#F6A500"}),C.createElement("path",{d:"M89.9622 3.33766C90.2598 3.33766 90.5009 3.0953 90.5009 2.79632C90.5009 2.49737 90.2598 2.25501 89.9622 2.25501C89.6646 2.25501 89.4236 2.49737 89.4236 2.79632C89.4236 3.0953 89.6646 3.33766 89.9622 3.33766Z",fill:"#F6A500"}),C.createElement("path",{d:"M96.8758 0.661445C96.8758 0.860764 96.7151 1.02232 96.5166 1.02232C96.3182 1.02232 96.1574 0.860764 96.1574 0.661445C96.1574 0.462126 96.3182 0.300571 96.5166 0.300571C96.7151 0.300571 96.8758 0.462126 96.8758 0.661445Z",fill:"#F6A500"}),C.createElement("path",{d:"M93.4042 2.61597C93.5362 2.61597 93.6434 2.50827 93.6434 2.3754C93.6434 2.2425 93.5362 2.1348 93.4042 2.1348C93.2718 2.1348 93.1646 2.2425 93.1646 2.3754C93.1646 2.50827 93.2718 2.61597 93.4042 2.61597Z",fill:"#F6A500"}),C.createElement("path",{d:"M97.1152 7.63716C97.1152 8.26819 96.6061 8.77976 95.978 8.77976C95.35 8.77976 94.8406 8.26819 94.8406 7.63716C94.8406 7.0061 95.35 6.49453 95.978 6.49453C96.6061 6.49453 97.1152 7.0061 97.1152 7.63716Z",fill:"#F6A500"}),C.createElement("path",{d:"M99.2999 4.93127C99.4984 4.93127 99.6591 4.76972 99.6591 4.5704C99.6591 4.37108 99.4984 4.20952 99.2999 4.20952C99.1017 4.20952 98.941 4.37108 98.941 4.5704C98.941 4.76972 99.1017 4.93127 99.2999 4.93127Z",fill:"#F6A500"}),C.createElement("path",{d:"M97.3546 5.35213C97.3546 5.66772 97.1 5.92353 96.7861 5.92353C96.4719 5.92353 96.2172 5.66772 96.2172 5.35213C96.2172 5.03655 96.4719 4.78074 96.7861 4.78074C97.1 4.78074 97.3546 5.03655 97.3546 5.35213Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M96.0976 9.59164C96.5764 9.56156 96.9954 9.38115 97.3247 9.05039C98.0129 10.0427 98.402 11.2454 98.3422 12.6285C98.3422 16.6577 95.1698 19.0332 90.9797 19.0332C86.8496 19.0332 83.5872 16.6577 83.5872 12.6285C83.5872 8.9301 86.4306 6.43443 90.2616 6.16382C90.2915 5.80297 90.3812 5.41208 90.6205 5.08134C91.2491 4.17928 92.5062 3.93875 93.404 4.57017C94.0025 4.96106 94.3019 5.62257 94.272 6.28407C94.272 6.52463 94.2122 6.76519 94.1523 6.9456C93.8231 7.78751 94.1221 8.7497 94.8704 9.26087C95.2296 9.5014 95.6786 9.62168 96.0976 9.59164ZM92.4464 13.9516H94.0623C94.7807 13.9516 95.439 13.4103 95.4991 12.7488C95.5589 11.937 94.9303 11.2755 94.1523 11.2755H92.4464C92.3862 11.2755 92.3564 11.2454 92.3564 11.1853V9.56156C92.3564 8.8399 91.8476 8.1784 91.1295 8.11827C90.3214 8.05812 89.6628 8.68957 89.6628 9.47135V11.1853C89.6628 11.2454 89.6329 11.2755 89.5731 11.2755H87.9568C87.2387 11.2755 86.5801 11.7866 86.5203 12.5083C86.4605 13.3201 87.0889 13.9816 87.8671 13.9816H89.5432C89.603 13.9816 89.6329 14.0117 89.6329 14.0718V15.6955C89.6329 16.4172 90.1416 17.0787 90.86 17.1388C91.6682 17.199 92.3264 16.5675 92.3264 15.7857V14.0718C92.3264 14.0117 92.3862 13.9516 92.4464 13.9516Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.1216 30.9404H33.426C33.9647 30.9404 34.4136 31.0305 34.8326 31.2411C35.2516 31.4515 35.551 31.7222 35.7906 32.0831C36.0298 32.4439 36.1196 32.8649 36.1196 33.376C36.1196 33.8571 35.9999 34.3081 35.7906 34.669C35.551 35.0299 35.2516 35.3303 34.8326 35.5109C34.4136 35.7213 33.9647 35.8114 33.426 35.8114H31.1216V30.9404ZM33.3662 34.699C33.7852 34.699 34.1145 34.5788 34.3538 34.3382C34.5933 34.0975 34.7429 33.767 34.7429 33.346C34.7429 32.925 34.6233 32.5942 34.3538 32.3535C34.1145 32.1131 33.7553 31.9929 33.3662 31.9929H32.4983V34.669H33.3662V34.699Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.9031 34.5184H39.6514L40.5492 35.8114H42.0156L40.9683 34.2781C41.2673 34.1579 41.5069 33.9472 41.6564 33.6765C41.8063 33.4061 41.896 33.1053 41.896 32.7444C41.896 32.3835 41.8063 32.053 41.6265 31.7823C41.4471 31.5116 41.2075 31.3012 40.8782 31.151C40.5492 31.0005 40.19 30.9404 39.7411 30.9404H37.5264V35.8114H38.9031V34.5184ZM39.6813 32.023C39.9505 32.023 40.1601 32.0831 40.3097 32.2033C40.4592 32.3235 40.5193 32.504 40.5193 32.7444C40.5193 32.9551 40.4592 33.1353 40.3097 33.2555C40.1601 33.376 39.9505 33.4361 39.6813 33.4361H38.933V32.023H39.6813Z",fill:"#F6A500"}),C.createElement("path",{d:"M43.3625 30.9404H44.7391V35.8114H43.3625V30.9404Z",fill:"#F6A500"}),C.createElement("path",{d:"M49.2287 35.8114L51.2936 30.9404H49.9468L48.6 34.0975L47.2831 30.9404H45.8167L47.8819 35.8114H49.2287Z",fill:"#F6A500"}),C.createElement("path",{d:"M56.1424 35.7814H52.2516V30.9103H56.0523V31.9626H53.5984V32.7745H55.7533V33.797H53.5984V34.699H56.1424V35.7814Z",fill:"#F6A500"}),C.createElement("path",{d:"M57.2794 35.3604C57.5189 35.511 57.8183 35.6612 58.1772 35.7513C58.4554 35.8211 58.7515 35.8731 59.0239 35.9209L59.1279 35.9392C59.171 35.9468 59.2134 35.9544 59.2548 35.962C59.7038 35.962 60.0929 35.9019 60.4222 35.7513C60.7511 35.6011 60.9907 35.4205 61.1403 35.1801C61.2901 34.9394 61.3798 34.6991 61.3798 34.3983C61.3798 34.0374 61.2901 33.797 61.1103 33.5864C60.9309 33.4061 60.7212 33.2556 60.482 33.1654C60.3176 33.1036 60.111 33.0559 59.8815 33.0029C59.7766 32.9787 59.6668 32.9533 59.5542 32.925C59.4933 32.9084 59.4355 32.8927 59.3808 32.8779C59.1394 32.8126 58.9577 32.7634 58.8358 32.7144C58.6863 32.6543 58.6261 32.5341 58.6261 32.4139C58.6261 32.2634 58.6863 32.1733 58.8059 32.0831C58.9255 31.993 59.1352 31.9626 59.4044 31.9626C59.8533 31.9626 60.3022 32.0831 60.7511 32.3235L61.1702 31.3013C60.9309 31.151 60.6614 31.0606 60.362 30.9704C60.063 30.8803 59.7636 30.8502 59.4343 30.8502C58.9853 30.8502 58.5962 30.9103 58.2673 31.0606C57.938 31.2111 57.6984 31.3914 57.5489 31.6321C57.3993 31.8725 57.3093 32.1432 57.3093 32.444C57.3093 32.7745 57.3993 33.0452 57.5788 33.2556C57.7582 33.4362 57.9679 33.5864 58.2071 33.6765C58.3966 33.7401 58.6009 33.7887 58.8303 33.8433C58.9272 33.8664 59.0286 33.8905 59.1352 33.9172C59.4642 33.9773 59.7038 34.0675 59.8533 34.1276C60.0031 34.188 60.0929 34.2781 60.0929 34.4283C60.0929 34.6991 59.8533 34.8193 59.3146 34.8193C59.0452 34.8193 58.776 34.7892 58.4766 34.6991C58.2071 34.6089 57.938 34.4884 57.7283 34.3382L57.2794 35.3604Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M68.8322 31.151C69.1615 31.3012 69.4007 31.5116 69.5805 31.7823C69.7599 32.053 69.8497 32.3835 69.8497 32.7444C69.8497 33.1053 69.7599 33.4361 69.5805 33.7069C69.4007 33.9773 69.1615 34.1879 68.8322 34.3382C68.5029 34.4884 68.1138 34.5485 67.6948 34.5485H66.8567V35.8114H65.4801V30.9404H67.6948C68.1437 30.9404 68.5029 31.0005 68.8322 31.151ZM68.2337 33.2555C68.3833 33.1353 68.4431 32.9551 68.4431 32.7444C68.4431 32.504 68.3833 32.3535 68.2337 32.2033C68.0839 32.0831 67.8745 32.023 67.605 32.023H66.8567V33.4361H67.605C67.8745 33.4361 68.1138 33.376 68.2337 33.2555Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5734 34.5184H73.3214L74.2193 35.8114H75.686L74.6383 34.2781C74.9377 34.1579 75.1772 33.9472 75.3268 33.6765C75.4763 33.4061 75.5664 33.1053 75.5664 32.7444C75.5664 32.3835 75.4763 32.053 75.2969 31.7823C75.1174 31.5116 74.8779 31.3012 74.5486 31.151C74.2193 31.0005 73.8604 30.9404 73.4114 30.9404H71.1964V35.8114H72.5734V34.5184ZM73.3513 32.023C73.6208 32.023 73.8305 32.0831 73.98 32.2033C74.0996 32.3235 74.1894 32.504 74.1894 32.7444C74.1894 32.9551 74.1296 33.1353 73.98 33.2555C73.8305 33.376 73.6208 33.4361 73.3513 33.4361H72.6033V32.023H73.3513Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M78.0801 35.5711C77.6611 35.3604 77.362 35.0599 77.1224 34.669C76.8832 34.2781 76.7632 33.8571 76.7632 33.3761C76.7632 32.895 76.8832 32.474 77.1224 32.0831C77.362 31.6922 77.6611 31.3914 78.0801 31.1811C78.4991 30.9704 78.9481 30.8502 79.4571 30.8502C79.9658 30.8502 80.4147 30.9704 80.8338 31.1811C81.2528 31.3914 81.5519 31.6922 81.7914 32.0831C82.0307 32.474 82.1506 32.895 82.1506 33.3761C82.1506 33.8571 82.0307 34.2781 81.7914 34.669C81.5519 35.0599 81.2528 35.3604 80.8338 35.5711C80.4147 35.7814 79.9658 35.9019 79.4571 35.9019C78.9481 35.9019 78.4692 35.7814 78.0801 35.5711ZM80.1154 34.5789C80.325 34.4584 80.4746 34.3081 80.5942 34.0975C80.7138 33.8872 80.7739 33.6465 80.7739 33.3761C80.7739 33.1053 80.7138 32.865 80.5942 32.6543C80.4746 32.444 80.325 32.2934 80.1154 32.1733C79.906 32.0531 79.6964 31.993 79.4571 31.993C79.2175 31.993 78.978 32.0531 78.7985 32.1733C78.5891 32.2934 78.4393 32.444 78.3197 32.6543C78.2 32.865 78.1402 33.1053 78.1402 33.3761C78.1402 33.6465 78.2 33.8872 78.3197 34.0975C78.4393 34.3081 78.5891 34.4584 78.7985 34.5789C79.0082 34.6991 79.2175 34.7592 79.4571 34.7592C79.6964 34.7592 79.906 34.6991 80.1154 34.5789Z",fill:"#F6A500"}),C.createElement("path",{d:"M87.9867 33.2556H86.7895L86.7596 34.6089C86.5203 34.6991 86.2807 34.7592 86.0115 34.7592C85.7421 34.7592 85.5028 34.6991 85.2931 34.5789C85.0838 34.4584 84.9339 34.3082 84.8143 34.0975C84.6947 33.8872 84.6349 33.6465 84.6349 33.3761C84.6349 32.9551 84.7844 32.5942 85.0237 32.3535C85.2931 32.0831 85.6224 31.9626 86.0415 31.9626C86.4904 31.9626 86.8795 32.1432 87.2085 32.5041L88.0764 31.7222C87.8372 31.4215 87.5378 31.2111 87.1786 31.0606C86.8197 30.9104 86.4007 30.8202 85.9517 30.8202C85.4427 30.8202 84.9938 30.9404 84.5747 31.151C84.1557 31.3614 83.8566 31.6622 83.6171 32.0531C83.3778 32.4139 83.2579 32.865 83.2579 33.346C83.2579 33.8271 83.3778 34.2481 83.6171 34.639C83.8566 35.0299 84.1557 35.3304 84.5747 35.541C84.9938 35.7514 85.4427 35.8715 85.9517 35.8715C86.3106 35.8715 86.6698 35.8415 87.029 35.7213C87.3882 35.6312 87.7175 35.4809 87.9867 35.2703V33.2556Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.6981 34.5184H90.9498V35.8114H89.5732V30.9404H91.7879C92.2368 30.9404 92.596 31.0005 92.9253 31.151C93.2543 31.3012 93.4938 31.5116 93.6733 31.7823C93.853 32.053 93.9428 32.3835 93.9428 32.7444C93.9428 33.1053 93.853 33.4061 93.7032 33.6765C93.5536 33.9472 93.3144 34.1579 93.015 34.2781L94.0624 35.8114H92.596L91.6981 34.5184ZM92.3564 32.2033C92.2069 32.0831 91.9975 32.023 91.7281 32.023H90.9797V33.4361H91.7281C91.9975 33.4361 92.2069 33.376 92.3564 33.2555C92.5063 33.1353 92.5661 32.9551 92.5661 32.7444C92.5661 32.504 92.4764 32.3235 92.3564 32.2033Z",fill:"#F6A500"}),C.createElement("path",{d:"M99.27 35.7814V34.699H96.726V33.797H98.8809V32.7745H96.726V31.9626H99.1803V30.9103H95.3792V35.7814H99.27Z",fill:"#F6A500"}),C.createElement("path",{d:"M101.305 35.7513C100.946 35.6612 100.647 35.511 100.407 35.3604L100.856 34.3382C101.066 34.4884 101.335 34.6089 101.605 34.6991C101.904 34.7892 102.173 34.8193 102.443 34.8193C102.981 34.8193 103.221 34.6991 103.221 34.4283C103.221 34.2781 103.131 34.188 102.981 34.1276C102.832 34.0675 102.592 33.9773 102.263 33.9172C102.157 33.8905 102.056 33.8665 101.959 33.8435L101.958 33.8434C101.729 33.7888 101.525 33.7402 101.335 33.6765C101.096 33.5864 100.886 33.4362 100.707 33.2556C100.527 33.0452 100.437 32.7745 100.437 32.444C100.437 32.1432 100.527 31.8725 100.677 31.6321C100.826 31.3914 101.066 31.2111 101.395 31.0606C101.724 30.9103 102.113 30.8502 102.562 30.8502C102.892 30.8502 103.191 30.8803 103.49 30.9704C103.789 31.0606 104.059 31.151 104.298 31.3013L103.879 32.3235C103.43 32.0831 102.981 31.9626 102.532 31.9626C102.263 31.9626 102.054 31.993 101.934 32.0831C101.814 32.1733 101.754 32.2634 101.754 32.4139C101.754 32.5341 101.814 32.6543 101.964 32.7144C102.086 32.7635 102.268 32.8128 102.51 32.8784C102.545 32.8878 102.581 32.8975 102.618 32.9076C102.639 32.9133 102.66 32.9191 102.682 32.925C102.794 32.9533 102.904 32.9785 103.009 33.0027C103.238 33.0557 103.445 33.1035 103.61 33.1654C103.849 33.2556 104.059 33.4061 104.238 33.5864C104.418 33.797 104.508 34.0374 104.508 34.3983C104.508 34.6991 104.418 34.9394 104.268 35.1801C104.119 35.4205 103.879 35.6011 103.55 35.7513C103.221 35.9019 102.832 35.962 102.383 35.962C102.309 35.9484 102.231 35.9348 102.152 35.9209C101.88 35.8731 101.583 35.8211 101.305 35.7513Z",fill:"#F6A500"}),C.createElement("path",{d:"M105.555 35.3604C105.794 35.511 106.094 35.6612 106.453 35.7513C106.774 35.8258 107.075 35.88 107.356 35.9304C107.415 35.9411 107.473 35.9515 107.53 35.962C107.979 35.962 108.368 35.9019 108.698 35.7513C109.027 35.6011 109.266 35.4205 109.416 35.1801C109.566 34.9394 109.655 34.6991 109.655 34.3983C109.655 34.0374 109.566 33.797 109.386 33.5864C109.206 33.4061 108.997 33.2556 108.757 33.1654C108.593 33.1035 108.386 33.0557 108.156 33.0027C108.052 32.9785 107.942 32.9533 107.83 32.925C107.769 32.9085 107.712 32.893 107.658 32.8783C107.416 32.8128 107.234 32.7635 107.111 32.7144C106.962 32.6543 106.902 32.5341 106.902 32.4139C106.902 32.2634 106.962 32.1733 107.081 32.0831C107.201 31.993 107.411 31.9626 107.68 31.9626C108.129 31.9626 108.578 32.0831 109.027 32.3235L109.446 31.3013C109.206 31.151 108.937 31.0606 108.638 30.9704C108.338 30.8803 108.039 30.8502 107.71 30.8502C107.261 30.8502 106.872 30.9103 106.543 31.0606C106.213 31.2111 105.974 31.3914 105.824 31.6321C105.675 31.8725 105.585 32.1432 105.585 32.444C105.585 32.7745 105.675 33.0452 105.855 33.2556C106.034 33.4362 106.243 33.5864 106.483 33.6765C106.673 33.7402 106.877 33.7888 107.107 33.8435C107.203 33.8665 107.304 33.8905 107.411 33.9172C107.74 33.9773 107.979 34.0675 108.129 34.1276C108.279 34.188 108.368 34.2781 108.368 34.4283C108.368 34.6991 108.129 34.8193 107.59 34.8193C107.321 34.8193 107.052 34.7892 106.752 34.6991C106.483 34.6089 106.213 34.4884 106.004 34.3382L105.555 35.3604Z",fill:"#F6A500"})),C.createElement("defs",null,C.createElement("clipPath",{id:"clip0_1155_14172"},C.createElement("rect",{width:110,height:36,fill:"white"})))),b9={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class cl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||b9,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,s){return s&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new cl(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new cl(this.logger,t)}}var ao=new cl;class ul{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]=this.observers[r]||[],this.observers[r].push(n)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t]=this.observers[t].filter(r=>r!==n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];this.observers[t]&&[].concat(this.observers[t]).forEach(a=>{a(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(a=>{a.apply(a,[t,...r])})}}function ci(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function Zb(e){return e==null?"":""+e}function y9(e,t,n){e.forEach(r=>{t[r]&&(n[r]=t[r])})}function Ju(e,t,n){function r(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function s(){return!e||typeof e=="string"}const i=typeof t!="string"?[].concat(t):t.split(".");for(;i.length>1;){if(s())return{};const a=r(i.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return s()?{}:{obj:e,k:r(i.shift())}}function Xb(e,t,n){const{obj:r,k:s}=Ju(e,t,Object);r[s]=n}function x9(e,t,n,r){const{obj:s,k:i}=Ju(e,t,Object);s[i]=s[i]||[],r&&(s[i]=s[i].concat(n)),r||s[i].push(n)}function dl(e,t){const{obj:n,k:r}=Ju(e,t);if(n)return n[r]}function C9(e,t,n){const r=dl(e,n);return r!==void 0?r:dl(t,n)}function Jb(e,t,n){for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Jb(e[r],t[r],n):e[r]=t[r]);return e}function qr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var S9={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function w9(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>S9[t]):e}const T9=[" ",",","?","!",";"];function R9(e,t,n){t=t||"",n=n||"";const r=T9.filter(a=>t.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const s=new RegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let i=!s.test(e);if(!i){const a=e.indexOf(n);a>0&&!s.test(e.substring(0,a))&&(i=!0)}return i}function pl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let s=e;for(let i=0;i<r.length;++i){if(!s||typeof s[r[i]]=="string"&&i+1<r.length)return;if(s[r[i]]===void 0){let a=2,l=r.slice(i,i+a).join(n),c=s[l];for(;c===void 0&&r.length>i+a;)a++,l=r.slice(i,i+a).join(n),c=s[l];if(c===void 0)return;if(c===null)return null;if(t.endsWith(l)){if(typeof c=="string")return c;if(l&&typeof c[l]=="string")return c[l]}const u=r.slice(i+a).join(n);return u?pl(c,u,n):void 0}s=s[r[i]]}return s}function fl(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Qb extends ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,a=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l=[t,n];r&&typeof r!="string"&&(l=l.concat(r)),r&&typeof r=="string"&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."));const c=dl(this.data,l);return c||!a||typeof r!="string"?c:pl(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(a?r.split(a):r)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),Xb(this.data,l,s),i.silent||this.emit("added",t,n,r,s)}addResources(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(typeof r[i]=="string"||Object.prototype.toString.apply(r[i])==="[object Array]")&&this.addResource(t,n,i,r[i],{silent:!0});s.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,s,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=r,r=n,n=l[1]),this.addNamespaces(n);let c=dl(this.data,l)||{};s?Jb(c,r,i):c={...c,...r},Xb(this.data,l,c),a.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var e0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,s){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,s))}),t}};const t0={};class ml extends ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),y9(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ao.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const a=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!R9(t,r,s);if(a&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==s||r===s&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(s)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const R=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${R}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${R}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:a}const p=this.resolve(t,n);let f=p&&p.res;const g=p&&p.usedKey||a,v=p&&p.exactUsedKey||a,h=Object.prototype.toString.apply(f),b=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&b.indexOf(h)<0&&!(typeof S=="string"&&h==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,f,{...n,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=R,p.usedParams=this.getUsedParamsDetails(n),p):R}if(i){const R=h==="[object Array]",x=R?[]:{},E=R?v:g;for(const O in f)if(Object.prototype.hasOwnProperty.call(f,O)){const _=`${E}${i}${O}`;x[O]=this.translate(_,{...n,joinArrays:!1,ns:l}),x[O]===_&&(x[O]=f[O])}f=x}}else if(w&&typeof S=="string"&&h==="[object Array]")f=f.join(S),f&&(f=this.extendTranslation(f,t,n,r));else{let R=!1,x=!1;const E=n.count!==void 0&&typeof n.count!="string",O=ml.hasDefaultValue(n),_=E?this.pluralResolver.getSuffix(u,n.count,n):"",P=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",$=n[`defaultValue${_}`]||n[`defaultValue${P}`]||n.defaultValue;!this.isValidLookup(f)&&O&&(R=!0,f=$),this.isValidLookup(f)||(x=!0,f=a);const H=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:f,D=O&&$!==f&&this.options.updateMissing;if(x||R||D){if(this.logger.log(D?"updateKey":"missingKey",u,c,a,D?$:f),i){const Y=this.resolve(a,{...n,keySeparator:!1});Y&&Y.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 M=[];const k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&k&&k[0])for(let Y=0;Y<k.length;Y++)M.push(k[Y]);else this.options.saveMissingTo==="all"?M=this.languageUtils.toResolveHierarchy(n.lng||this.language):M.push(n.lng||this.language);const B=(Y,J,G)=>{const A=O&&G!==f?G:H;this.options.missingKeyHandler?this.options.missingKeyHandler(Y,c,J,A,D,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Y,c,J,A,D,n),this.emit("missingKey",Y,c,J,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?M.forEach(Y=>{this.pluralResolver.getSuffixes(Y,n).forEach(J=>{B([Y],a+J,n[`defaultValue${J}`]||$)})}):B(M,a,$))}f=this.extendTranslation(f,t,n,p,r),x&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${c}:${a}`),(x||R)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${a}`:a,R?f:void 0):f=this.options.parseMissingKeyHandler(f))}return s?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(t,n,r,s,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let p=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language,r),u){const f=t.match(this.interpolator.nestingRegexp),g=f&&f.length;d<g&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&s&&s.res&&(r.lng=s.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var f=arguments.length,g=new Array(f),v=0;v<f;v++)g[v]=arguments[v];return i&&i[0]===g[0]&&!r.context?(a.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${n[0]}`),null):a.translate(...g,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,c=typeof l=="string"?[l]:l;return t!=null&&c&&c.length&&r.applyPostProcessor!==!1&&(t=e0.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,s,i,a,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),d=u.key;s=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",g=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),v=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(b=>{this.isValidLookup(r)||(l=b,!t0[`${h[0]}-${b}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(t0[`${h[0]}-${b}`]=!0,this.logger.warn(`key "${s}" for languages "${h.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(S=>{if(this.isValidLookup(r))return;a=S;const w=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(w,d,S,b,n);else{let R;f&&(R=this.pluralResolver.getSuffix(S,n.count,n));const x=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(w.push(d+R),n.ordinal&&R.indexOf(E)===0&&w.push(d+R.replace(E,this.options.pluralSeparator)),g&&w.push(d+x)),v){const O=`${d}${this.options.contextSeparator}${n.context}`;w.push(O),f&&(w.push(O+R),n.ordinal&&R.indexOf(E)===0&&w.push(O+R.replace(E,this.options.pluralSeparator)),g&&w.push(O+x))}}let T;for(;T=w.pop();)this.isValidLookup(r)||(i=T,r=this.getResource(S,b,T,n))}))})}),{res:r,usedKey:s,exactUsedKey:i,usedLng:a,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,s):this.resourceStore.getResource(t,n,r,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let s=r?t.replace:t;if(r&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!r){s={...s};for(const i of n)delete s[i]}return s}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}function Qu(e){return e.charAt(0).toUpperCase()+e.slice(1)}class n0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ao.create("languageUtils")}getScriptPartFromCode(t){if(t=fl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=fl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(s=>s.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Qu(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Qu(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Qu(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const s=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&i.indexOf(s)===0)return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],i=a=>{a&&(this.isSupportedCode(a)?s.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(a=>{s.indexOf(a)<0&&i(this.formatLanguageCode(a))}),s}}let E9=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],O9={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const P9=["v1","v2","v3"],_9=["v4"],o0={zero:0,one:1,two:2,few:3,many:4,other:5};function $9(){const e={};return E9.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:O9[t.fc]}})}),e}class M9{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ao.create("pluralResolver"),(!this.options.compatibilityJSON||_9.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=$9()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(fl(t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((s,i)=>o0[s]-o0[i]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):r.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,r);return s?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const i=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!P9.includes(this.options.compatibilityJSON)}}function r0(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=C9(e,t,n);return!i&&s&&typeof n=="string"&&(i=pl(e,n,r),i===void 0&&(i=pl(t,n,r))),i}class k9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:w9,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?qr(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?qr(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?qr(n.nestingPrefix):n.nestingPrefixEscaped||qr("$t("),this.nestingSuffix=n.nestingSuffix?qr(n.nestingSuffix):n.nestingSuffixEscaped||qr(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(t,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const r=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(r,"g")}interpolate(t,n,r,s){let i,a,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(v){return v.replace(/\$/g,"$$$$")}const d=v=>{if(v.indexOf(this.formatSeparator)<0){const w=r0(n,c,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(w,void 0,r,{...s,...n,interpolationkey:v}):w}const h=v.split(this.formatSeparator),b=h.shift().trim(),S=h.join(this.formatSeparator).trim();return this.format(r0(n,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),S,r,{...s,...n,interpolationkey:b})};this.resetRegExp();const p=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,f=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>u(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?u(this.escape(v)):u(v)}].forEach(v=>{for(l=0;i=v.regex.exec(t);){const h=i[1].trim();if(a=d(h),a===void 0)if(typeof p=="function"){const S=p(t,i,s);a=typeof S=="string"?S:""}else if(s&&Object.prototype.hasOwnProperty.call(s,h))a="";else if(f){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=Zb(a));const b=v.safeValue(a);if(t=t.replace(i[0],b),f?(v.regex.lastIndex+=a.length,v.regex.lastIndex-=i[0].length):v.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,i,a;function l(c,u){const d=this.nestingOptionsSeparator;if(c.indexOf(d)<0)return c;const p=c.split(new RegExp(`${d}[ ]*{`));let f=`{${p[1]}`;c=p[0],f=this.interpolate(f,a);const g=f.match(/'/g),v=f.match(/"/g);(g&&g.length%2===0&&!v||v.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),u&&(a={...u,...a})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,h),`${c}${d}${f}`}return delete a.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];a={...r},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const d=s[1].split(this.formatSeparator).map(p=>p.trim());s[1]=d.shift(),c=d,u=!0}if(i=n(l.call(this,s[1].trim(),a),a),i&&s[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=Zb(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),i=""),u&&(i=c.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:s[1].trim()}),i.trim())),t=t.replace(s[0],i),this.regexp.lastIndex=0}return t}}function I9(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const s=r[1].substring(0,r[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(a=>{if(!a)return;const[l,...c]=a.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,"");n[l.trim()]||(n[l.trim()]=u),u==="false"&&(n[l.trim()]=!1),u==="true"&&(n[l.trim()]=!0),isNaN(u)||(n[l.trim()]=parseInt(u,10))})}return{formatName:t,formatOptions:n}}function Yr(e){const t={};return function(r,s,i){const a=s+JSON.stringify(i);let l=t[a];return l||(l=e(fl(s),i),t[a]=l),l(r)}}class D9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("formatter"),this.options=t,this.formats={number:Yr((n,r)=>{const s=new Intl.NumberFormat(n,{...r});return i=>s.format(i)}),currency:Yr((n,r)=>{const s=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>s.format(i)}),datetime:Yr((n,r)=>{const s=new Intl.DateTimeFormat(n,{...r});return i=>s.format(i)}),relativetime:Yr((n,r)=>{const s=new Intl.RelativeTimeFormat(n,{...r});return i=>s.format(i,r.range||"day")}),list:Yr((n,r)=>{const s=new Intl.ListFormat(n,{...r});return i=>s.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Yr(n)}format(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,c)=>{const{formatName:u,formatOptions:d}=I9(c);if(this.formats[u]){let p=l;try{const f=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},g=f.locale||f.lng||s.locale||s.lng||r;p=this.formats[u](l,g,{...d,...s,...f})}catch(f){this.logger.warn(f)}return p}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function N9(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class j9 extends ul{constructor(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=s,this.logger=ao.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&&this.backend.init&&this.backend.init(r,s.backend,s)}queueLoad(t,n,r,s){const i={},a={},l={},c={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const f=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,d=!1,a[f]===void 0&&(a[f]=!0),i[f]===void 0&&(i[f]=!0),c[p]===void 0&&(c[p]=!0)))}),d||(l[u]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const s=t.split("|"),i=s[0],a=s[1];n&&this.emit("failedLoading",i,a,n),r&&this.store.addResourceBundle(i,a,r),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{x9(c.loaded,[i],a),N9(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const d=c.loaded[u];d.length&&d.forEach(p=>{l[u][p]===void 0&&(l[u][p]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:s,wait:i,callback:a});return}this.readingCalls++;const l=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,s+1,i*2,a)},i);return}a(u,d)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(d=>l(null,d)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,r,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),s=r[0],i=r[1];this.read(s,i,"read",void 0,void 0,(a,l)=>{a&&this.logger.warn(`${n}loading namespace ${i} for language ${s} failed`,a),!a&&l&&this.logger.log(`${n}loaded namespace ${i} for language ${s}`,l),this.loaded(t,a,l)})}saveMissing(t,n,r,s,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the 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!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...a,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,s,c):d=u(t,n,r,s),d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}else u(t,n,r,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,r,s)}}}function s0(){return{debug:!1,initImmediate:!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:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(s=>{n[s]=r[s]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function i0(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function gl(){}function A9(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class ui extends ul{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=i0(t),this.services={},this.logger=ao,this.modules={external:[]},A9(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=s0();this.options={...s,...this.options,...i0(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function i(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?ao.init(i(this.modules.logger),this.options):ao.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=D9);const p=new n0(this.options);this.store=new Qb(this.options.resources,this.options);const f=this.services;f.logger=ao,f.resourceStore=this.store,f.languageUtils=p,f.pluralResolver=new M9(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new k9(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new j9(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(g){for(var v=arguments.length,h=new Array(v>1?v-1:0),b=1;b<v;b++)h[b-1]=arguments[b];t.emit(g,...h)}),this.modules.languageDetector&&(f.languageDetector=i(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=i(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new ml(this.services,this.options),this.translator.on("*",function(g){for(var v=arguments.length,h=new Array(v>1?v-1:0),b=1;b<v;b++)h[b-1]=arguments[b];t.emit(g,...h)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=gl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const c=ci(),u=()=>{const d=(p,f)=>{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),c.resolve(f),r(p,f)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gl;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],a=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};s?a(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>a(c)),this.options.preload&&this.options.preload.forEach(l=>a(l)),this.services.backendConnector.load(i,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const s=ci();return t||(t=this.languages),n||(n=this.options.ns),r||(r=gl),this.services.backendConnector.reload(t,n,i=>{s.resolve(),r(i)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&e0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const s=ci();this.emit("languageChanging",t);const i=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},a=(c,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{a(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,r){var s=this;const i=function(a,l){let c;if(typeof l!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p<u;p++)d[p-2]=arguments[p];c=s.options.overloadTranslationOptionHandler([a,l].concat(d))}else c={...l};c.lng=c.lng||i.lng,c.lngs=c.lngs||i.lngs,c.ns=c.ns||i.ns,c.keyPrefix=c.keyPrefix||r||i.keyPrefix;const f=s.options.keySeparator||".";let g;return c.keyPrefix&&Array.isArray(a)?g=a.map(v=>`${c.keyPrefix}${f}${v}`):g=c.keyPrefix?`${c.keyPrefix}${f}${a}`:a,s.t(g,c)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,a);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!s||a(i,t)))}loadNamespaces(t,n){const r=ci();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ci();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],i=t.filter(a=>s.indexOf(a)<0);return i.length?(this.options.preload=s.concat(i),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["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"],r=this.services&&this.services.languageUtils||new n0(s0());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new ui(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gl;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},i=new ui(s);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new Qb(this.store.data,s),i.services.resourceStore=i.store),i.translator=new ml(i.services,s),i.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];i.emit(l,...u)}),i.init(s,n),i.translator.options=s,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const pn=ui.createInstance();pn.createInstance=ui.createInstance,pn.createInstance,pn.dir,pn.init,pn.loadResources,pn.reloadResources,pn.use,pn.changeLanguage,pn.getFixedT;const di=pn.t;pn.exists,pn.setDefaultNamespace,pn.hasLoadedNamespace,pn.loadNamespaces,pn.loadLanguages;function a0(){const e=Nt();return m.jsxs(rn,{direction:"row",justifyContent:"space-between",alignItems:"center",useFlexGap:!0,sx:{borderTop:"1px solid #E7E6E4",width:"1256px",height:"116px",margin:"auto",marginTop:"80px"},children:[m.jsxs(rn,{direction:"row",alignItems:"center",children:[m.jsx(Fn,{component:v9,sx:{width:"110px",height:"36px",flexShrink:"0",marginRight:"56px"},viewBox:"0 0 110 36"}),m.jsxs(rn,{direction:"row",justifyContent:"space-between",useFlexGap:!0,sx:{},gap:"32px",children:[m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Official website")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Group")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Legal mentions")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Terms and conditions")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Contact")})]})]}),m.jsx(at,{sx:e.typography["body-light"],children:"©positive - 2022"})]})}const F9=Object.freeze(Object.defineProperty({__proto__:null,Footer:a0},Symbol.toStringTag,{value:"Module"})),V9=Object.freeze(Object.defineProperty({__proto__:null,BaseTemplate:e=>{const t=[{icon:m.jsx(Fn,{component:u9}),link:"",isCurrent:!0},{icon:m.jsx(Fn,{component:d9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:m9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:g9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:f9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:p9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:h9}),link:"",isCurrent:!1}];return m.jsxs(rn,{direction:"row",spacing:0,useFlexGap:!0,justifyContent:"center",children:[m.jsx(Kb,{links:t}),m.jsx(at,{sx:{backgroundColor:"black",width:"100%",height:"100vh",display:"block"},children:m.jsxs(at,{sx:{height:"100vh",backgroundColor:"#F6F5F3",borderRadius:"15px 0px 0px 0px",display:"block",padding:"40px 52px 40px 52px"},children:[e.children,m.jsx(a0,{})]})})]})}},Symbol.toStringTag,{value:"Module"})),l0=e=>{const{text:t}=e;return m.jsx("div",{style:{backgroundColor:"#EFEDEC",height:"30px",display:"flex",justifyContent:"center",alignItems:"center",width:"fit-content",borderRadius:"5px"},children:m.jsx(ut,{variant:"body",style:{marginInline:"10px"},children:t})})},L9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",border:`2px dashed ${Qe[800]}`,borderRadius:"8px",background:Qe[200]},children:e.children}),z9=e=>{const{children:t}=e;return t?m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px",alignItems:"center",backgroundColor:"#FFF6E8",padding:"40px",border:"1px solid #FBD68B",borderRadius:"16px"},children:t.map(n=>m.jsx(ce.Fragment,{children:m.jsx("div",{style:{width:"100%"},children:n})},`infobox-${n.key}-${Math.random()}`))}):null},B9=e=>{const{isFirst:t=!1,isLast:n=!1}=e;return m.jsx("div",{style:{border:`1px solid ${Qe[500]}`,borderTopLeftRadius:t?"8px":"0px",borderTopRightRadius:t?"8px":"0px",borderBottomLeftRadius:n?"8px":"0px",borderBottomRightRadius:n?"8px":"0px",boxShadow:"0px 2px 8px 0px #2A2B270A"},children:e.children})},H9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",borderLeft:`1px solid ${Qe[500]}`,paddingLeft:"2rem"},children:e.data}),U9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",height:"fit-content",padding:"1rem",border:`1px solid ${Qe[800]}`,borderRadius:"8px",background:Qe[200]},children:e.children}),ed=e=>C.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M1.72408 17.7605L0.239258 16.2756L7.51503 8.99985L0.239258 1.72409L1.72408 0.239258L8.99986 7.51503L16.2756 0.239258L17.7605 1.72409L10.4847 8.99985L17.7605 16.2756L16.2756 17.7605L8.99986 10.4847L1.72408 17.7605Z",fill:"#393A36"})),W9=e=>{const{children:t}=e,[n,r]=ce.useState(!0),s=Array.isArray(t)?t:[t];return m.jsxs("div",{style:{display:n?"flex":"none",flexDirection:"row",gap:"10px",alignItems:"center",backgroundColor:"#FFF6E8",padding:"1rem 0 1rem 1rem",border:"1px solid #FBD68B",borderRadius:"16px"},children:[m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px",width:"100%"},children:s.map(i=>m.jsx(ce.Fragment,{children:m.jsx("div",{style:{width:"100%"},children:i})},`infobox-${i.key}`))}),m.jsx("div",{style:{minWidth:"40px"},children:m.jsx(Wt,{variant:"text",startIcon:m.jsx(ed,{}),onClick:()=>r(!1),disableRipple:!0})})]})},G9=Object.freeze(Object.defineProperty({__proto__:null,Button:e=>m.jsx(Wt,{variant:e.variant,sx:{mt:"2rem",borderBottomLeftRadius:"20px",borderBottomRightRadius:"20px",borderTopLeftRadius:"20px",borderTopRightRadius:"20px",textTransform:"none",fontWeight:"700"},href:e.href,children:e.children})},Symbol.toStringTag,{value:"Module"})),c0=oe(IM)(()=>({textTransform:"capitalize",border:`1px solid ${Qe[500]}`,background:Qe.gradientLight,color:Qe[2800],"&.Mui-selected":{color:"#FFFFFF",background:Qe.gradientDark,"&:hover":{color:"#FFFFFF",background:Qe.gradientDark}},"&:disabled":{border:`1px solid ${Qe[100]}`,background:Qe[500]},"&:hover":{border:`1px solid ${Qe[500]}`,background:Qe[400]}})),q9=Object.freeze(Object.defineProperty({__proto__:null,CustomToggleButton:c0,TertiaryToggleButtons:e=>{const[t,n]=ce.useState(null),r=s=>{var i;if((i=e.onClick)==null||i.call(e,s),s===t){n(null);return}n(s)};return m.jsx("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"1rem"},children:e.choices.map((s,i)=>m.jsx(c0,{value:i,onClick:()=>r(i),selected:i===t,children:m.jsx(ut,{variant:"big-bold",color:"inherit",children:s})},`${i}-button-toggle-${s}`))})}},Symbol.toStringTag,{value:"Module"})),Y9=e=>C.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M8.41251 6.41666H2V5.58334H8.41251L5.4125 2.58333L6 2L10 6L6 10L5.4125 9.41668L8.41251 6.41666Z",fill:"#393A36"})),u0=e=>{const{texts:t}=e;if(t.length===0)return null;const n=t.length-1;return m.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.map((r,s)=>m.jsxs(ce.Fragment,{children:[m.jsx(ut,{variant:"body",children:r}),n!==s&&m.jsx("div",{style:{marginInline:"5px"},children:m.jsx(Y9,{})})]},`text-arrow-${Math.random()}`))})},d0=e=>{const{title:t,titleSize:n,icon:r}=e,i=n||"h1";return m.jsxs(ut,{variant:i,style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"5px"},children:[r,t]})},K9=e=>{const{title:t,titleSize:n,icon:r}=e,i=n||"h1";return m.jsxs(ut,{variant:i,style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"5px"},children:[m.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"25px",backgroundColor:Qe[400],display:"flex",justifyContent:"center",alignItems:"center"},children:r}),t]})},Z9=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("rect",{x:1,y:1,width:18,height:18,rx:3,fill:"white"}),C.createElement("rect",{x:1,y:1,width:18,height:18,rx:3,stroke:"#D1CFCE",strokeWidth:2})),X9=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("rect",{width:20,height:20,rx:4,fill:"url(#paint0_linear_2034_7850)"}),C.createElement("path",{d:"M8.32244 13.9335L4.56689 10.178L5.36133 9.38351L8.32244 12.3446L14.628 6.03906L15.4224 6.83351L8.32244 13.9335Z",fill:"white"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_2034_7850",x1:7.58928,y1:755124e-13,x2:7.58928,y2:20,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#484945"}),C.createElement("stop",{offset:1,stopColor:"#2A2B27"})))),hl=(e,t,n)=>{const r=e.filter(i=>{const a=t[i.name];return t[i.name]=!1,!!a});return Object.entries(t).reduce((i,[a,l])=>{if(l){const c=n(a);i.push(c)}return i},r)},No=(e,t)=>{const n={},r=e.reduce((i,a)=>(i[a.name]=!0,i),n);return t.reduce((i,a)=>(i[a]===void 0&&(i[a]=!1),i),r)},J9=oe(Xs)(()=>({":hover":{background:Qe[400]}})),pi=e=>{const{values:t,...n}=e,{onChange:r,...s}=n,i=Object.entries(t);return m.jsx(n4,{children:i.map(([a,l],c)=>m.jsx(tv,{control:m.jsx(J9,{...s,checkedIcon:m.jsx(X9,{}),icon:m.jsx(Z9,{}),disableRipple:!0,onChange:(u,d)=>{var g;const p=(g=u.target.labels)==null?void 0:g[0],f=p==null?void 0:p.textContent;f&&r(f,d)}}),sx:{gap:"1rem"},label:a,checked:l},`${a}-${c}`))})},fi=e=>{const{t}=wn(),{isOpen:n,setOpen:r,options:s}=e,{canValidate:i=!0}=e,a=()=>r(!1),l=()=>{e.onCancel&&e.onCancel(),a()},c=()=>{a(),e.onValidate&&e.onValidate()};return m.jsxs(Wh,{onClose:l,open:n,fullWidth:!0,maxWidth:"sm",children:[m.jsxs(kP,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:`1px solid ${Qe[500]}`,minHeight:"68px"},children:[s.title,m.jsx(Wt,{variant:"text",endIcon:m.jsx(ed,{}),onClick:l})]}),s.content,m.jsxs(qh,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderTop:`1px solid ${Qe[500]}`,minHeight:"68px",paddingInline:"1rem"},children:[m.jsx(Wt,{variant:"text",onClick:l,children:t("Annuler")}),m.jsx(Wt,{variant:"primary",onClick:c,disabled:!i,children:t("Valider")})]})]})},Q9=e=>{const{t}=wn(),{isOpen:n,setOpen:r,currentConsumptions:s,allConsumptions:i}=e,a=No(s,i),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(s,i);c(p)},[s,i]);const u=m.jsx(ut,{variant:"big-bold",children:t("Ajouter un emballage")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(s,l,f=>({name:f}));e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},ek=e=>({name:e,weight:0,unit:"g",recycledPart:0}),tk=e=>{const{t}=wn(),{isOpen:n,setOpen:r,packaging:s}=e,i=ce.useMemo(()=>(s==null?void 0:s.items)??[],[s]),a=No(i,e.allMaterials),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(i,e.allMaterials);c(p)},[i,e.allMaterials]);const u=m.jsx(ut,{variant:"h3",children:t("Ajouter un matériau")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return s===null?null:m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(i,l,ek);e.onValidate({...s,items:p})},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},nk=e=>({name:e,weight:0,items:[]}),ok=e=>{const{t}=wn(),{isOpen:n,setOpen:r,currentPackagings:s,allPackagings:i}=e,a=No(s,i),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(s,i);c(p)},[s,i]);const u=m.jsx(ut,{variant:"big-bold",children:t("Ajouter un emballage")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(s,l,nk);e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},rk=e=>({name:e,id:0,weight:0}),sk=e=>{const{t}=wn(),{isOpen:n,setOpen:r,allTransformations:s,currentTransformations:i}=e,a=No(i,s),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(i,s);c(p)},[i,s]);const u=m.jsx(ut,{variant:"big-bold",children:t("Sélectionner vos processus de transformations")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(i,l,rk);e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},ik=oe(qa)(({theme:e})=>({fontFamily:e.typography.fontFamily,...e.typography.body})),vl=e=>{const{sx:t,...n}=e;return m.jsx(ik,{...n,sx:{color:"#393A36",border:"1px solid #A3A2A0",borderRadius:"16px",paddingInline:"20px",...t}})},ak=e=>{const{title:t,unit:n,placeholder:r,value:s,description:i,...a}=e;return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[t," :"]}),m.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[m.jsx(vl,{type:"number",style:{minWidth:"150px",width:"10%"},placeholder:r,value:s,...a}),m.jsx(ut,{variant:"body",children:n})]}),m.jsx(ut,{variant:"body-light",children:i})]})};function lk(e){const{title:t,placeholder:n,value:r,description:s,...i}=e;return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[t," :"]}),m.jsx(vl,{style:{width:"70%"},placeholder:n,value:r,...i}),m.jsx(ut,{variant:"body-light",children:s})]})}const p0=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M9.30552 10.6948H4.16663V9.30589H9.30552V4.16699H10.6944V9.30589H15.8333V10.6948H10.6944V15.8337H9.30552V10.6948Z",fill:"#B06803"}));function f0(e){return e.variant==="themed"?m.jsx(ck,{...e}):e.variant==="headless"?m.jsx(m0,{...e}):m.jsx(m0,{...e,variant:"themed"})}function ck(e){return m.jsx(Qa,{open:e.open,anchorEl:e.anchor,onClose:e.onClose,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},PaperProps:{sx:{padding:"24px 20px",borderRadius:"12px",marginTop:1.5,overflow:"visible",boxShadow:"0px 4px 20px 0px rgba(81, 78, 78, 0.12)",border:"1px solid #E7E6E4","&:before":{content:'""',display:"block",position:"absolute",top:-15,right:15,width:0,height:0,borderLeft:"15px solid transparent",borderRight:"15px solid transparent",borderBottom:"15px solid #E7E6E4",zIndex:0}}},children:e.children})}function m0(e){return m.jsx(Qa,{open:e.open,anchorEl:e.anchor,onClose:e.onClose,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},PaperProps:{sx:{borderRadius:"12px"}},children:e.children})}function g0(e){return m.jsxs(at,{component:"div",sx:{background:"white",width:e.width??"376px",borderRadius:"12px",border:"1px solid #E7E6E4",boxShadow:"0px 4px 20px 0px rgba(81, 78, 78, 0.12)"},children:[m.jsxs(rn,{direction:"row",useFlexGap:!0,alignContent:"center",justifyContent:"space-between",sx:{padding:"18px 16px"},children:[e.headerIcon??m.jsx(UM,{}),m.jsx(ut,{variant:"popover-header",sx:{height:"24px"},children:e.headerText}),m.jsx(Ft,{sx:{padding:"0"},onClick:e.onClose,children:m.jsx(BM,{})})]}),m.jsx(er,{}),m.jsx(at,{sx:{padding:"24px",height:"420px",overflow:"auto"},children:e.children}),e.bottomActions&&m.jsx(uk,{onCancel:e.onCancel,onValidate:e.onValidate})]})}function uk(e){const{t}=wn();return m.jsxs(m.Fragment,{children:[m.jsx(er,{}),m.jsxs(rn,{direction:"row",useFlexGap:!0,justifyContent:"space-between",alignItems:"center",sx:{padding:"20px 32px"},children:[m.jsx(Wt,{variant:"text",onClick:e.onCancel,children:t("Annuler")}),m.jsx(Wt,{variant:"primary",onClick:e.onValidate,children:t("Valider")})]})]})}const dk=["chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait"],pk=e=>{const{t}=wn(),{title:n,tiles:r,description:s,addAction:i,product:a}=e,[l,c]=ce.useState(null),u=!!l;function d(f,g){var h,b,S;const v={...a};if(g===!0)(h=v.tags)==null||h.push(f);else{const w=(b=v.tags)==null?void 0:b.indexOf(f);w!=null&&((S=v.tags)==null||S.splice(w,1))}i(v)}const p=m.jsx(ut,{variant:"body-light",children:s});return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[n," :"]}),m.jsx("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"0.5rem"},children:r.map(f=>m.jsx(ce.Fragment,{children:m.jsx(l0,{text:f})},`product-cat-${f}`))}),p,m.jsx(f0,{open:u,anchor:l,onClose:()=>c(null),anchorPosition:"rightside",variant:"headless",children:m.jsx(g0,{headerText:"Ajouter des catégories",onClose:()=>c(null),children:dk.map((f,g)=>{var h;const v=(h=a.tags)==null?void 0:h.includes(f);return m.jsxs(rn,{direction:"row",alignItems:"center",children:[m.jsx(Xs,{checked:v,onChange:(b,S)=>d(f,S)}),f]},g)})})}),m.jsx(Wt,{id:"add-category-anchor",variant:"text",startIcon:m.jsx(p0,{}),onClick:f=>c(f.currentTarget),style:{alignSelf:"start"},children:t("Ajouter d'autres catégories")})]})};function h0(e){const t=Nt(),n={height:"40px",padding:"0px 6px 0px 20px",...t.custom.searchBox,minWidth:"350px"},r={height:"20px",padding:"0px",width:"100%","&>.MuiInputBase-root>fieldset":{border:"none"},"&>.MuiInputBase-root>input":{padding:"0"}},s={height:"48px",padding:"0px 16px 0px 24px",borderTop:"1px solid "+t.custom.grey[500],borderBottom:"1px solid "+t.custom.grey[500],background:t.custom.grey[200]},i={"&>.MuiInputBase-root>fieldset":{border:"none"},"&>.MuiInputBase-root>input":{width:"100%",height:"48px",padding:"0",border:"none"}};return m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"10px",justifyContent:"space-between",alignItems:"center",sx:e.variant==="standalone"?n:s,children:[m.jsx(or,{label:"",type:"search",placeholder:e.placeholder,value:e.value,onChange:a=>{e.onChange(a.target.value)},sx:e.variant==="standalone"?r:i}),m.jsx(qM,{})]})}function fk(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var mk=fk,st=mk;function gk(e){return!!e&&typeof e.then=="function"}var Vt=gk;function hk(e,t){if(e!=null)return e;throw st(t??"Got unexpected null or undefined")}var Ut=hk;function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class bl{getValue(){throw st("BaseLoadable")}toPromise(){throw st("BaseLoadable")}valueMaybe(){throw st("BaseLoadable")}valueOrThrow(){throw st(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw st("BaseLoadable")}promiseOrThrow(){throw st(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw st("BaseLoadable")}errorOrThrow(){throw st(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw st("BaseLoadable")}}class vk extends bl{constructor(t){super(),dt(this,"state","hasValue"),dt(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return Vt(n)?rr(n):Kr(n)?n:mi(n)}catch(n){return Vt(n)?rr(n.next(()=>this.map(t))):yl(n)}}}class bk extends bl{constructor(t){super(),dt(this,"state","hasError"),dt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class v0 extends bl{constructor(t){super(),dt(this,"state","loading"),dt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return rr(this.contents.then(n=>{const r=t(n);if(Kr(r)){const s=r;switch(s.state){case"hasValue":return s.contents;case"hasError":throw s.contents;case"loading":return s.contents}}return r}).catch(n=>{if(Vt(n))return n.then(()=>this.map(t).contents);throw n}))}}function mi(e){return Object.freeze(new vk(e))}function yl(e){return Object.freeze(new bk(e))}function rr(e){return Object.freeze(new v0(e))}function b0(){return Object.freeze(new v0(new Promise(()=>{})))}function yk(e){return e.every(t=>t.state==="hasValue")?mi(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?yl(Ut(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):rr(Promise.all(e.map(t=>t.contents)))}function y0(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(s=>e[s])).map(s=>Kr(s)?s:Vt(s)?rr(s):mi(s)),r=yk(n);return Array.isArray(e)?r:r.map(s=>Object.getOwnPropertyNames(e).reduce((i,a,l)=>({...i,[a]:s[l]}),{}))}function Kr(e){return e instanceof bl}var sr={loadableWithValue:mi,loadableWithError:yl,loadableWithPromise:rr,loadableLoading:b0,loadableAll:y0,isLoadable:Kr,RecoilLoadable:{of:e=>Vt(e)?rr(e):Kr(e)?e:mi(e),error:e=>yl(e),loading:()=>b0(),all:y0,isLoadable:Kr}},xk=sr.loadableWithValue,Ck=sr.loadableWithError,Sk=sr.loadableWithPromise,wk=sr.loadableLoading,Tk=sr.loadableAll,Rk=sr.isLoadable,Ek=sr.RecoilLoadable,gi=Object.freeze({__proto__:null,loadableWithValue:xk,loadableWithError:Ck,loadableWithPromise:Sk,loadableLoading:wk,loadableAll:Tk,isLoadable:Rk,RecoilLoadable:Ek});const td={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};function Ok(e,t){var n,r;const s=(n=process.env[e])===null||n===void 0||(r=n.toLowerCase())===null||r===void 0?void 0:r.trim();if(s==null||s==="")return;if(!["true","false"].includes(s))throw st(`process.env.${e} value must be 'true', 'false', or empty: ${s}`);t(s==="true")}function Pk(e,t){var n;const r=(n=process.env[e])===null||n===void 0?void 0:n.trim();r==null||r===""||t(r.split(/\s*,\s*|\s+/))}function _k(){var e;typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)!=null&&(Ok("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",t=>{td.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=t}),Pk("RECOIL_GKS_ENABLED",t=>{t.forEach(n=>{td.RECOIL_GKS_ENABLED.add(n)})}))}_k();var Zr=td;function xl(e){return Zr.RECOIL_GKS_ENABLED.has(e)}xl.setPass=e=>{Zr.RECOIL_GKS_ENABLED.add(e)},xl.setFail=e=>{Zr.RECOIL_GKS_ENABLED.delete(e)},xl.clear=()=>{Zr.RECOIL_GKS_ENABLED.clear()};var Lt=xl;function $k(e,t,{error:n}={}){return process.env.NODE_ENV!=="production"&&console.error(e,n),null}var Mk=$k,sn=Mk,nd,od,rd;const kk=(nd=ce.createMutableSource)!==null&&nd!==void 0?nd:ce.unstable_createMutableSource,x0=(od=ce.useMutableSource)!==null&&od!==void 0?od:ce.unstable_useMutableSource,sd=(rd=ce.useSyncExternalStore)!==null&&rd!==void 0?rd:ce.unstable_useSyncExternalStore;let C0=!1;function Ik(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null;return sd&&!s&&!C0&&(C0=!0,sn("A React renderer without React 18+ API support is being used with React 18+.")),s}function Dk(){return Lt("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:Lt("recoil_sync_external_store")&&sd!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:Lt("recoil_mutable_source")&&x0!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?Lt("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:Lt("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Nk(){return!1}var Xr={createMutableSource:kk,useMutableSource:x0,useSyncExternalStore:sd,currentRendererSupportsUseSyncExternalStore:Ik,reactMode:Dk,isFastRefreshEnabled:Nk};class id{constructor(t){dt(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class S0 extends id{}class w0 extends id{}function jk(e){return e instanceof S0||e instanceof w0}var Cl={AbstractRecoilValue:id,RecoilState:S0,RecoilValueReadOnly:w0,isRecoilValue:jk},Ak=Cl.AbstractRecoilValue,Fk=Cl.RecoilState,Vk=Cl.RecoilValueReadOnly,Lk=Cl.isRecoilValue,ir=Object.freeze({__proto__:null,AbstractRecoilValue:Ak,RecoilState:Fk,RecoilValueReadOnly:Vk,isRecoilValue:Lk});function zk(e,...t){let n=0;return e.replace(/%s/g,()=>String(t[n++]))}var Bk=zk;function Hk(e,...t){if(process.env.NODE_ENV!=="production"){const n=Bk.call(null,e,...t),r=new Error(n);r.name="Expectation Violation",console.error(r)}}var Uk=Hk,Sl=Uk;function Wk(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var wl=Wk;const{isFastRefreshEnabled:Gk}=Xr;class T0{}const qk=new T0,ar=new Map,ad=new Map;function Yk(e){return wl(e,t=>Ut(ad.get(t)))}function Kk(e){if(ar.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in
321
+ `));const V=I.props.value===void 0?Ge:I.props.value;ue.set(V,Ge);const de=V===P;return Ge+=1,C.cloneElement(I,y({fullWidth:$==="fullWidth",indicator:de&&!F&&Le,selected:de,selectionFollowsFocus:T,onChange:h,textColor:_,value:V},Ge===1&&P===!1&&!I.props.tabIndex?{tabIndex:0}:{}))}),ze=I=>{const V=fe.current,de=Bt(V).activeElement;if(de.getAttribute("role")!=="tab")return;let we=b==="horizontal"?"ArrowLeft":"ArrowUp",_e=b==="horizontal"?"ArrowRight":"ArrowDown";switch(b==="horizontal"&&i&&(we="ArrowRight",_e="ArrowLeft"),I.key){case we:I.preventDefault(),ll(V,de,Ab);break;case _e:I.preventDefault(),ll(V,de,jb);break;case"Home":I.preventDefault(),ll(V,null,jb);break;case"End":I.preventDefault(),ll(V,null,Ab);break}},Ne=Te();return m.jsxs(bM,y({className:ye(W.root,p),ownerState:A,ref:n,as:f},H,{children:[Ne.scrollButtonStart,Ne.scrollbarSizeListener,m.jsxs(yM,{className:W.scroller,ownerState:A,style:{overflow:q.overflow,[M?`margin${i?"Left":"Right"}`:"marginBottom"]:j?void 0:-q.scrollbarWidth},ref:Ae,children:[m.jsx(xM,{"aria-label":a,"aria-labelledby":l,"aria-orientation":b==="vertical"?"vertical":null,className:W.flexContainer,ownerState:A,onKeyDown:ze,ref:fe,role:"tablist",children:Ze}),F&&Le]}),Ne.scrollButtonEnd]}))});process.env.NODE_ENV!=="production"&&(Lb.propTypes={action:At,allowScrollButtonsMobile:o.bool,"aria-label":o.string,"aria-labelledby":o.string,centered:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,indicatorColor:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),ScrollButtonComponent:o.elementType,scrollButtons:o.oneOf(["auto",!1,!0]),selectionFollowsFocus:o.bool,slotProps:o.shape({endScrollButtonIcon:o.oneOfType([o.func,o.object]),startScrollButtonIcon:o.oneOfType([o.func,o.object])}),slots:o.shape({EndScrollButtonIcon:o.elementType,StartScrollButtonIcon:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TabIndicatorProps:o.object,TabScrollButtonProps:o.object,textColor:o.oneOf(["inherit","primary","secondary"]),value:o.any,variant:o.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:o.bool});const wM=Lb;function TM(e){return Ie("MuiTextField",e)}Me("MuiTextField",["root"]);const RM=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],EM={standard:fv,filled:Xh,outlined:Hv},OM=e=>{const{classes:t}=e;return ke({root:["root"]},TM,t)},PM=oe(GP,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),zb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiTextField"}),{autoComplete:s,autoFocus:i=!1,children:a,className:l,color:c="primary",defaultValue:u,disabled:d=!1,error:p=!1,FormHelperTextProps:f,fullWidth:g=!1,helperText:v,id:h,InputLabelProps:b,inputProps:S,InputProps:w,inputRef:T,label:R,maxRows:x,minRows:E,multiline:O=!1,name:_,onBlur:P,onChange:$,onFocus:j,placeholder:H,required:D=!1,rows:M,select:k=!1,SelectProps:B,type:Y,value:J,variant:G="outlined"}=r,A=me(r,RM),W=y({},r,{autoFocus:i,color:c,disabled:d,error:p,fullWidth:g,multiline:O,required:D,select:k,variant:G}),N=OM(W);process.env.NODE_ENV!=="production"&&k&&!a&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const Z={};G==="outlined"&&(b&&typeof b.shrink<"u"&&(Z.notched=b.shrink),Z.label=R),k&&((!B||!B.native)&&(Z.id=void 0),Z["aria-describedby"]=void 0);const F=Qn(h),L=v&&F?`${F}-helper-text`:void 0,z=R&&F?`${F}-label`:void 0,K=EM[G],Q=m.jsx(K,y({"aria-describedby":L,autoComplete:s,autoFocus:i,defaultValue:u,fullWidth:g,multiline:O,name:_,rows:M,maxRows:x,minRows:E,type:Y,value:J,id:F,inputRef:T,onBlur:P,onChange:$,onFocus:j,placeholder:H,inputProps:S},Z,w));return m.jsxs(PM,y({className:ye(N.root,l),disabled:d,error:p,fullWidth:g,ref:n,required:D,color:c,variant:G,ownerState:W},A,{children:[R!=null&&R!==""&&m.jsx(bv,y({htmlFor:F,id:z},b,{children:R})),k?m.jsx(ib,y({"aria-describedby":L,id:F,labelId:z,value:J,input:Q},B,{children:a})):Q,v&&m.jsx(iv,y({id:L},f,{children:v}))]}))});process.env.NODE_ENV!=="production"&&(zb.propTypes={autoComplete:o.string,autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),defaultValue:o.any,disabled:o.bool,error:o.bool,FormHelperTextProps:o.object,fullWidth:o.bool,helperText:o.node,id:o.string,InputLabelProps:o.object,inputProps:o.object,InputProps:o.object,inputRef:At,label:o.node,margin:o.oneOf(["dense","none","normal"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onFocus:o.func,placeholder:o.string,required:o.bool,rows:o.oneOfType([o.number,o.string]),select:o.bool,SelectProps:o.object,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any,variant:o.oneOf(["filled","outlined","standard"])});const or=zb;function _M(e){return Ie("MuiToggleButton",e)}const Bb=Me("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),$M=["children","className","color","disabled","disableFocusRipple","fullWidth","onChange","onClick","selected","size","value"],MM=e=>{const{classes:t,fullWidth:n,selected:r,disabled:s,size:i,color:a}=e,l={root:["root",r&&"selected",s&&"disabled",n&&"fullWidth",`size${be(i)}`,a]};return ke(l,_M,t)},kM=oe(yn,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${be(n.size)}`]]}})(({theme:e,ownerState:t})=>{let n=t.color==="standard"?e.palette.text.primary:e.palette[t.color].main,r;return e.vars&&(n=t.color==="standard"?e.vars.palette.text.primary:e.vars.palette[t.color].main,r=t.color==="standard"?e.vars.palette.text.primaryChannel:e.vars.palette[t.color].mainChannel),y({},e.typography.button,{borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active},t.fullWidth&&{width:"100%"},{[`&.${Bb.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Ye(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Bb.selected}`]:{color:n,backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:Ye(n,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${r} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Ye(n,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${r} / ${e.vars.palette.action.selectedOpacity})`:Ye(n,e.palette.action.selectedOpacity)}}}},t.size==="small"&&{padding:7,fontSize:e.typography.pxToRem(13)},t.size==="large"&&{padding:15,fontSize:e.typography.pxToRem(15)})}),Hb=C.forwardRef(function(t,n){const r=Oe({props:t,name:"MuiToggleButton"}),{children:s,className:i,color:a="standard",disabled:l=!1,disableFocusRipple:c=!1,fullWidth:u=!1,onChange:d,onClick:p,selected:f,size:g="medium",value:v}=r,h=me(r,$M),b=y({},r,{color:a,disabled:l,disableFocusRipple:c,fullWidth:u,size:g}),S=MM(b),w=T=>{p&&(p(T,v),T.defaultPrevented)||d&&d(T,v)};return m.jsx(kM,y({className:ye(S.root,i),disabled:l,focusRipple:!c,ref:n,onClick:w,onChange:d,value:v,ownerState:b,"aria-pressed":f},h,{children:s}))});process.env.NODE_ENV!=="production"&&(Hb.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["standard","primary","secondary","error","info","success","warning"]),o.string]),disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,fullWidth:o.bool,onChange:o.func,onClick:o.func,selected:o.bool,size:o.oneOfType([o.oneOf(["small","medium","large"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any.isRequired});const IM=Hb,Sn={main:"#F6A500",gradient:"linear-gradient(#F6B100, #EC7F00)",reverseGradient:"linear-gradient(180deg, #F6B100, #EC7F00)",100:"#FFF6E8",200:"#FDE6BA",300:"#FBD68B",400:"#FAC55D",500:"#F8B52E",600:"#F6A500",700:"#D38702","700-light":"rgba(246, 165, 0, 0.39)",800:"#B06803",900:"#8D4A05",1e3:"#6A2B06"},Qe={gradientDark:"linear-gradient(180deg, #484945 0%, #2A2B27 100%)",gradientLight:"linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%)",100:"#FFFFFF",200:"#FEFCFB",300:"#F6F5F3",400:"#EFEDEC",500:"#E7E6E4",600:"#E0DEDD",700:"#D8D7D5",800:"#D1CFCE",900:"#C9C8C6",1e3:"#C1C0BE",1100:"#BAB9B7",1200:"#B2B1AF",1300:"#ABAAA8",1400:"#A3A2A0",1500:"#9C9B99",1600:"#949491",1700:"#8C8C89",1800:"#858582",1900:"#7D7D7A",2e3:"#767673",2100:"#6E6E6B",2200:"#676764",2300:"#5F5F5C",2400:"#575854",2500:"#50504D",2600:"#484945",2700:"#41413E",2800:"#393A36",2900:"#32322F",3e3:"#2A2B27"},DM={primary:{light:"#63b8ff",main:"#000",dark:"#005db0",contrastText:"#fff"},secondary:{main:"#91B927",light:"#82e9de",dark:"#00867d",contrastText:"#000"}},NM={fontFamily:["Montserrat","serif"].join(","),h1:{fontStyle:"normal",fontWeight:"700",fontSize:"2rem",lineHeight:"3rem",color:Qe[2800]},h2:{fontStyle:"normal",fontWeight:"700",fontSize:"1.5rem",lineHeight:"2rem",color:Qe[2800]},h3:{fontStyle:"normal",fontWeight:"700",fontSize:"1.125rem",lineHeight:"1.75rem",color:Qe[2800]},h4:{fontStyle:"normal",fontWeight:"700",fontSize:"0.875rem",lineHeight:"1.5rem",color:Qe[2800]},h5:{fontStyle:"normal",fontWeight:"700",fontSize:"0.75rem",lineHeight:"1rem",color:Qe[2800]},huge:{fontStyle:"normal",fontWeight:"400",fontSize:"1.125rem",lineHeight:"2rem",color:Qe[2800]},"big-bold":{fontStyle:"normal",fontWeight:"600",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},"big-medium":{fontStyle:"normal",fontWeight:"500",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},big:{fontStyle:"normal",fontWeight:"400",fontSize:"0.875rem",lineHeight:"0.9231rem",color:Qe[2800]},"body-bold":{fontStyle:"normal",fontWeight:"600",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[2800]},body:{fontStyle:"normal",fontWeight:"500",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[2800]},"body-light":{fontStyle:"normal",fontWeight:"500",fontSize:"0.75rem",lineHeight:"1.25rem",color:Qe[1400]},"popover-header":{fontStyle:"normal",fontWeight:"700",lineHeight:"1.5rem",fontSize:"0.875rem"},"grey-tag":{borderRadius:"4px",padding:"8px",display:"inline",background:Qe[400],fontSize:"12px",fontStyle:"normal",fontWeight:"500",color:"black"},"white-tag":{borderRadius:"4px",padding:"8px",border:"1px solid "+Qe[500],color:"black",background:Qe[100],fontSize:"0.625rem",fontStyle:"normal",fontWeight:"700",lineHeight:"normal"}},jM={color:Sn,grey:Qe,searchBox:{borderRadius:"24px",border:"1px solid #E7E6E4",background:"white",boxShadow:"0px 2px 8px 0px "+Qe[500]},rowMenuElement:{marginLeft:"12px",paddingRight:"8px",fontSize:"12px",fontWeight:"600",lineHeight:"20px"},productGrid:{baseCell:{color:Sn[800],fontSize:"12px",fontWeight:700,borderRight:"1px solid "+Qe[500]},boldCell:{color:Qe[2800],fontFamily:"Montserrat",fontStyle:"normal",fontSize:"18px",fontWeight:"800",lineHeight:"normal"},greyCell:{color:Qe[1400],fontSize:"14px",fontStyle:"normal",fontWeight:"400",lineHeight:"20px"},headerCell:{fontWeight:"500",color:Qe[2e3],backgroundColor:Qe[200],border:"1px solid "+Qe[500]}}},AM={MuiButton:{defaultProps:{disableRipple:!0},styleOverrides:{root:{textTransform:"none",fontSize:"0.75rem",borderRadius:"25px",height:"40px"}},variants:[{props:{variant:"primary"},style:{transition:"none",color:"#FFFFFF",boxShadow:"0px 4px 8px 0px #2A2B2714",background:Sn.gradient,":hover":{color:"#FFFFFF",background:Sn[700]},":disabled":{color:"#FFFFFF",background:Sn["700-light"]},":active":{background:"none",backgroundColor:Sn[900]}}},{props:{variant:"secondary"},style:{color:Sn[700],border:`2px solid ${Sn[700]}`,":hover":{color:"#FFFFFF",border:"none",background:Sn[700]},":disabled":{color:Sn["700-light"],border:`2px solid ${Sn["700-light"]}`,background:"#FFFFFF"},":active":{color:"#FFFFFF",border:"none",background:Sn[900]}}},{props:{variant:"ternary"},style:{border:`1px solid ${Qe[500]}`,background:Qe.gradientLight,":hover":{border:`1px solid ${Qe[500]}`,background:Qe[400]},":disabled":{border:`1px solid ${Qe[100]}`,background:Qe[500]},":active":{background:Qe[600]}}},{props:{variant:"text"},style:{transition:"none",paddingInline:"0",color:Sn[800],fontWeight:"700",":hover":{background:"none",textDecoration:"underline"}}},{props:{variant:"navbar-current"},style:{color:"white",background:Sn.reverseGradient,borderRadius:"8px",padding:"0px"}},{props:{variant:"navbar"},style:{color:"white",background:"black",borderRadius:"0px",padding:"8px"}},{props:{variant:"black-text"},style:{color:Qe[2800],background:"none",fontWeight:"600"}},{props:{variant:"black-filled"},style:{borderRadius:"8px",background:`linear-gradient(180deg, ${Qe[2600]} 0%, ${Qe[3e3]} 100%)`,boxShadow:"0px 4px 8px 0px rgba(42, 43, 39, 0.08)"}},{props:{variant:"white-filled"},style:{borderRadius:"8px",border:"1px solid "+Qe[500],background:"linear-gradient(180deg, #FFF 0%, #FAFAFA 100%)",boxShadow:" 0px 2px 8px 0px rgba(42, 43, 39, 0.04)"}},{props:{variant:"white-filled-no-shadow"},style:{borderRadius:"44px",border:"1px solid #E7E6E4",background:"linear-gradient(180deg, #FFF 0%, #FAFAFA 100%)"}}]},MuiButtonBase:{styleOverrides:{root:{borderRadius:"15px"}}}};iu({palette:DM,typography:NM,custom:jM,components:AM});const FM=la(RR)(()=>({".Mui-disabled":{background:Qe[500]},":before":{height:"0px"},border:`1px solid ${Qe[500]}`,boxShadow:"0px 2px 8px 0px #2A2B270A"})),VM=e=>{const[t,n]=ce.useState(null),r=s=>{if(s===t){n(null);return}n(s)};return m.jsx("div",{style:{display:"flex",flexDirection:"column",marginBlock:"1rem"},children:e.pages.map((s,i)=>{const a=t===i;return m.jsxs(FM,{expanded:a,disableGutters:!0,children:[m.jsx(WR,{sx:{minHeight:"80px"},expandIcon:m.jsx(XR,{}),"aria-controls":"panel1a-content",onClick:()=>r(i),children:s.title}),m.jsx(ZR,{sx:{borderTop:`1px solid ${Qe[500]}`},children:s.content})]},`accordion-prod-ing-${i}`)})})},LM=ht(m.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack"),zM=ht(m.jsx("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward"),Ub=ht(m.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),BM=ht(m.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),HM=ht(m.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM5.92 19H5v-.92l9.06-9.06.92.92L5.92 19zM20.71 5.63l-2.34-2.34c-.2-.2-.45-.29-.71-.29s-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41z"}),"CreateOutlined"),UM=ht(m.jsx("path",{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"DragIndicator"),WM=ht(m.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}),"ExpandLess"),GM=ht(m.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore"),qM=ht(m.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"SearchOutlined"),YM=ht(m.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61l-2.01-1.58zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6z"}),"Settings");function KM(){if(console&&console.warn){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}const Wb={};function Zu(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];typeof t[0]=="string"&&Wb[t[0]]||(typeof t[0]=="string"&&(Wb[t[0]]=new Date),KM(...t))}const Gb=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}};function qb(e,t,n){e.loadNamespaces(t,Gb(e,n))}function Yb(e,t,n,r){typeof n=="string"&&(n=[n]),n.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,Gb(e,r))}function ZM(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const r=t.languages[0],s=t.options?t.options.fallbackLng:!1,i=t.languages[t.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(l,c)=>{const u=t.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};return n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)?!1:!!(t.hasResourceBundle(r,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||a(r,e)&&(!s||a(i,e)))}function XM(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return!t.languages||!t.languages.length?(Zu("i18n.languages were undefined or empty",t.languages),!0):t.options.ignoreJSONStructure!==void 0?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(s,i)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!i(s.isLanguageChangingTo,e))return!1}}):ZM(e,t,n)}const JM=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,QM={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},e9=e=>QM[e];let t9={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(JM,e9)};function n9(){return t9}let o9;function r9(){return o9}const s9=ce.createContext();class i9{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const a9=(e,t)=>{const n=ce.useRef();return ce.useEffect(()=>{n.current=t?n.current:e},[e,t]),n.current};function wn(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{i18n:n}=t,{i18n:r,defaultNS:s}=ce.useContext(s9)||{},i=n||r||r9();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new i9),!i){Zu("You will need to pass in an i18next instance by using initReactI18next");const T=(x,E)=>typeof E=="string"?E:E&&typeof E=="object"&&typeof E.defaultValue=="string"?E.defaultValue:Array.isArray(x)?x[x.length-1]:x,R=[T,{},!1];return R.t=T,R.i18n={},R.ready=!1,R}i.options.react&&i.options.react.wait!==void 0&&Zu("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const a={...n9(),...i.options.react,...t},{useSuspense:l,keyPrefix:c}=a;let u=e||s||i.options&&i.options.defaultNS;u=typeof u=="string"?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces&&i.reportNamespaces.addUsedNamespaces(u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(T=>XM(T,i,a));function p(){return i.getFixedT(t.lng||null,a.nsMode==="fallback"?u:u[0],c)}const[f,g]=ce.useState(p);let v=u.join();t.lng&&(v=`${t.lng}${v}`);const h=a9(v),b=ce.useRef(!0);ce.useEffect(()=>{const{bindI18n:T,bindI18nStore:R}=a;b.current=!0,!d&&!l&&(t.lng?Yb(i,t.lng,u,()=>{b.current&&g(p)}):qb(i,u,()=>{b.current&&g(p)})),d&&h&&h!==v&&b.current&&g(p);function x(){b.current&&g(p)}return T&&i&&i.on(T,x),R&&i&&i.store.on(R,x),()=>{b.current=!1,T&&i&&T.split(" ").forEach(E=>i.off(E,x)),R&&i&&R.split(" ").forEach(E=>i.store.off(E,x))}},[i,v]);const S=ce.useRef(!0);ce.useEffect(()=>{b.current&&!S.current&&g(p),S.current=!1},[i,c]);const w=[f,i,d];if(w.t=f,w.i18n=i,w.ready=d,d||!d&&!l)return w;throw new Promise(T=>{t.lng?Yb(i,t.lng,u,()=>T()):qb(i,u,()=>T())})}function l9(e){const t=Nt(),{t:n}=wn(),[r,s]=ce.useState(!1);return m.jsxs(at,{component:"div",sx:{borderRadius:"8px",background:"#FFF",boxShadow:" 0px 2px 8px 0px rgba(42, 43, 39, 0.04)",border:`1px solid ${t.custom.grey[500]}`},children:[m.jsxs(rn,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{width:"100%",padding:"30px 24px"},children:[m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"12px",alignItems:"center",children:[e.headerIcon,m.jsx(ut,{variant:"h3",children:e.headerText})]}),m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"24px",alignItems:"center",children:[e.controls,!e.controls&&m.jsx(Wt,{disabled:!0,variant:"white-filled",startIcon:m.jsx(HM,{}),sx:{marginRight:"24px",borderRadius:"44px"},children:n("Modifier")}),m.jsx(Ft,{onClick:i=>s(!r),children:r===!0?m.jsx(WM,{}):m.jsx(GM,{})})]})]}),r&&m.jsx(Wr,{in:r,timeout:300,children:m.jsxs("div",{children:[m.jsx(er,{}),m.jsx(at,{component:"div",sx:{padding:"44px"},children:e.children})]})})]})}const Kb=e=>m.jsx(at,{sx:{backgroundColor:"black",width:"80px",height:"100vh"},children:m.jsxs(rn,{direction:"column",justifyContent:"space-between",useFlexGap:!0,sx:{height:"837px"},children:[m.jsxs("div",{children:[m.jsx(Ch,{alt:"app-logo",src:"../../assets/icons/favicon.ico",sx:{marginTop:"40px",marginBottom:"40px",marginLeft:"16px",marginRight:"16px",width:"48px",height:"48px"}}),m.jsx(rn,{direction:"column",gap:"12px",useFlexGap:!0,sx:{marginTop:"0px"},children:e.links.map((t,n)=>ce.createElement(Xu,{...t,key:n}))})]}),m.jsxs("div",{className:"bottomSection",children:[m.jsx(Xu,{icon:m.jsx(YM,{}),link:"#",isCurrent:!1}),m.jsx(Ch,{alt:"profile-picture",src:"../../assets/icons/profil.jpg",sx:{margin:"20px",marginTop:"12px",width:"40px",height:"40px"}})]})]})});function Xu(e){return m.jsx(Wt,{variant:e.isCurrent?"navbar-current":"navbar","aria-label":"link",sx:{marginLeft:"20px",marginRight:"20px",width:"40px",height:"40px",minWidth:"0px"},children:e.icon})}const c9=Object.freeze(Object.defineProperty({__proto__:null,NavBarLink:Xu,Navbar:Kb},Symbol.toStringTag,{value:"Module"})),u9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M11.1667 19.9083V12.475L4.66665 8.71665V16.15L11.1667 19.9083ZM12.8333 19.9083L19.3334 16.15V8.7L12.8333 12.475V19.9083ZM12 11.05L18.4084 7.325L12 3.61665L5.57498 7.325L12 11.05ZM3 17.125V6.875L12 1.7L21 6.875V17.125L12 22.3L3 17.125Z",fill:"white"})),d9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"inherit",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M5.82527 21C4.7586 21 3.85305 20.6281 3.10862 19.8844C2.36417 19.1406 1.99194 18.2359 1.99194 17.1702C1.99194 16.1045 2.36417 15.1998 3.10862 14.4561C3.85305 13.7123 4.7586 13.3404 5.82527 13.3404C6.89194 13.3404 7.79749 13.7123 8.54194 14.4561C9.28638 15.1998 9.65859 16.1045 9.65859 17.1702C9.65859 18.2359 9.28638 19.1406 8.54194 19.8844C7.79749 20.6281 6.89194 21 5.82527 21ZM18.1753 21C17.1086 21 16.2031 20.6281 15.4586 19.8844C14.7142 19.1406 14.3419 18.2359 14.3419 17.1702C14.3419 16.1045 14.7142 15.1998 15.4586 14.4561C16.2031 13.7123 17.1086 13.3404 18.1753 13.3404C19.2419 13.3404 20.1475 13.7123 20.8919 14.4561C21.6364 15.1998 22.0086 16.1045 22.0086 17.1702C22.0086 18.2359 21.6364 19.1406 20.8919 19.8844C20.1475 20.6281 19.2419 21 18.1753 21ZM5.82379 19.3349C6.41923 19.3349 6.92944 19.1231 7.35444 18.6995C7.77944 18.2758 7.99194 17.7666 7.99194 17.1717C7.99194 16.5768 7.77994 16.0671 7.35592 15.6425C6.9319 15.2179 6.42218 15.0056 5.82674 15.0056C5.23131 15.0056 4.72109 15.2174 4.29609 15.641C3.87109 16.0646 3.65859 16.5739 3.65859 17.1687C3.65859 17.7636 3.8706 18.2734 4.29462 18.698C4.71864 19.1226 5.22836 19.3349 5.82379 19.3349ZM18.1738 19.3349C18.7692 19.3349 19.2794 19.1231 19.7044 18.6995C20.1294 18.2758 20.3419 17.7666 20.3419 17.1717C20.3419 16.5768 20.1299 16.0671 19.7059 15.6425C19.2819 15.2179 18.7722 15.0056 18.1768 15.0056C17.5813 15.0056 17.0711 15.2174 16.6461 15.641C16.2211 16.0646 16.0086 16.5739 16.0086 17.1687C16.0086 17.7636 16.2206 18.2734 16.6446 18.698C17.0687 19.1226 17.5784 19.3349 18.1738 19.3349ZM12.0086 10.6596C10.942 10.6596 10.0364 10.2877 9.29194 9.54394C8.54751 8.80018 8.17529 7.89546 8.17529 6.82978C8.17529 5.76411 8.54751 4.8594 9.29194 4.11564C10.0364 3.37188 10.942 3 12.0086 3C13.0753 3 13.9808 3.37188 14.7253 4.11564C15.4697 4.8594 15.8419 5.76411 15.8419 6.82978C15.8419 7.89546 15.4697 8.80018 14.7253 9.54394C13.9808 10.2877 13.0753 10.6596 12.0086 10.6596ZM12.0071 8.99445C12.6026 8.99445 13.1128 8.78264 13.5378 8.35901C13.9628 7.93539 14.1753 7.42613 14.1753 6.83125C14.1753 6.23638 13.9633 5.72665 13.5392 5.30204C13.1152 4.87744 12.6055 4.66513 12.0101 4.66513C11.4147 4.66513 10.9044 4.87694 10.4794 5.30057C10.0544 5.72419 9.84194 6.23344 9.84194 6.8283C9.84194 7.42319 10.054 7.93293 10.478 8.35754C10.902 8.78214 11.4117 8.99445 12.0071 8.99445Z",fill:"white"})),p9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M15.8156 16.6542L14.7472 15.6004L19.344 11.0004L14.7472 6.40038L15.8156 5.34656L21.4655 11.0004L15.8156 16.6542ZM2.47876 18.5004V15.0004C2.47876 13.6876 2.94191 12.5677 3.8682 11.6408C4.79447 10.7139 5.91356 10.2504 7.22546 10.2504H14.04L10.1927 6.40038L11.2611 5.34656L16.911 11.0004L11.2611 16.6542L10.1927 15.6004L14.04 11.7504H7.22546C6.32864 11.7504 5.56314 12.0677 4.92896 12.7023C4.29478 13.3369 3.97769 14.103 3.97769 15.0004V18.5004H2.47876Z",fill:"white"})),f9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M2.47876 21.5V10.3116L8.47455 7.75971V9.74048L13.4711 7.74048V10.5001H21.4655V21.5H2.47876ZM3.97769 20H19.9666V12H11.9721V9.95003L6.97561 11.95V10L3.97769 11.325V20ZM11.0882 17.7693H12.8561V14.2308H11.0882V17.7693ZM7.09093 17.7693H8.85891V14.2308H7.09093V17.7693ZM15.0854 17.7693H16.8534V14.2308H15.0854V17.7693ZM21.4655 10.5001H17.4107L18.41 2.8847H20.5239L21.4655 10.5001Z",fill:"white"})),m9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M4.45876 20.7487C3.69647 20.7487 3.04789 20.4811 2.51301 19.9459C1.97813 19.4106 1.71069 18.7616 1.71069 17.9988C1.71069 17.5847 1.79557 17.193 1.96532 16.8238C2.13508 16.4545 2.38331 16.1379 2.71 15.8738V11.2488H4.85276V5.49878H11.8959L16.4196 16.1315C16.5132 16.352 16.5865 16.5741 16.6397 16.7978C16.6928 17.0215 16.7194 17.2552 16.7194 17.4988C16.7194 18.4013 16.4036 19.1686 15.772 19.8007C15.1404 20.4327 14.3736 20.7487 13.4717 20.7487C12.8081 20.7487 12.2034 20.568 11.6576 20.2064C11.1118 19.8449 10.7166 19.359 10.4719 18.7487H7.08961C6.92434 19.3423 6.59797 19.8241 6.11049 20.1939C5.62301 20.5638 5.07243 20.7487 4.45876 20.7487ZM17.7187 19.7487V4.24878H19.2177V18.2488H22.2348V19.7487H17.7187ZM4.45876 19.2488C4.80597 19.2488 5.10096 19.1273 5.34375 18.8844C5.58653 18.6414 5.70792 18.3462 5.70792 17.9988C5.70792 17.6513 5.58653 17.3561 5.34375 17.1132C5.10096 16.8702 4.80597 16.7487 4.45876 16.7487C4.11157 16.7487 3.81658 16.8702 3.5738 17.1132C3.331 17.3561 3.2096 17.6513 3.2096 17.9988C3.2096 18.3462 3.331 18.6414 3.5738 18.8844C3.81658 19.1273 4.11157 19.2488 4.45876 19.2488ZM13.4717 19.2488C13.9521 19.2488 14.3637 19.0773 14.7064 18.7344C15.0492 18.3914 15.2205 17.9795 15.2205 17.4988C15.2205 17.018 15.0492 16.6061 14.7064 16.2632C14.3637 15.9202 13.9521 15.7487 13.4717 15.7487C12.9913 15.7487 12.5797 15.9202 12.237 16.2632C11.8942 16.6061 11.7229 17.018 11.7229 17.4988C11.7229 17.9795 11.8942 18.3914 12.237 18.7344C12.5797 19.0773 12.9913 19.2488 13.4717 19.2488ZM7.08961 17.2488H10.2393C10.247 16.9693 10.2973 16.7023 10.3902 16.4478C10.4831 16.1933 10.6192 15.9603 10.7986 15.7487H8.63663L5.71366 12.7487H4.20891V15.2872C4.24735 15.2744 4.28739 15.2648 4.32903 15.2584C4.37068 15.252 4.41392 15.2488 4.45876 15.2488C5.07243 15.2488 5.62301 15.4337 6.11049 15.8036C6.59797 16.1734 6.92434 16.6552 7.08961 17.2488ZM9.27464 14.2488H13.5639C13.6472 14.2488 13.7289 14.2584 13.809 14.2776C13.8891 14.2969 13.9675 14.3257 14.0444 14.3642L10.9081 6.99876H6.35167V11.2488L9.27464 14.2488ZM8.63663 15.7487L8.17445 15.2737C7.86634 14.9571 7.53323 14.6112 7.17515 14.2362C6.81706 13.8612 6.48396 13.5196 6.17584 13.2112L5.71366 12.7487L8.63663 15.7487Z",fill:"white"})),g9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M8.84319 20.8227C6.96564 20.1245 5.42435 18.9491 4.21931 17.2964C3.01428 15.6436 2.41176 13.7536 2.41176 11.6263C2.41176 11.1354 2.44744 10.6473 2.5188 10.1618C2.59018 9.67635 2.70273 9.19908 2.85644 8.72998L1.42357 9.55635L0.600098 8.15726L5.02219 5.6209L7.57498 9.99L6.14214 10.8082L4.74221 8.41906C4.5281 8.92634 4.36478 9.44997 4.25225 9.98997C4.13969 10.53 4.08341 11.0809 4.08341 11.6427C4.08341 13.4373 4.60496 15.0368 5.64805 16.4414C6.69114 17.8459 8.03618 18.8264 9.68314 19.3827L8.84319 20.8227ZM16.1063 8.34543V6.70908H18.8979C18.1184 5.67817 17.1521 4.87499 15.9993 4.29953C14.8464 3.72407 13.6194 3.43634 12.3183 3.43634C11.2587 3.43634 10.2678 3.61907 9.34548 3.98453C8.42318 4.34998 7.59695 4.85726 6.8668 5.50635L6.02685 4.05C6.89424 3.34636 7.85634 2.79545 8.91315 2.39725C9.96996 1.99908 11.0968 1.79999 12.2936 1.79999C13.6935 1.79999 15.0207 2.07408 16.2751 2.62226C17.5296 3.17044 18.6262 3.95181 19.565 4.96635V3.27271H21.2119V8.34543H16.1063ZM15.1511 23.4L10.729 20.8636L13.2818 16.4945L14.6899 17.3127L13.2653 19.7673C15.3405 19.5327 17.0739 18.645 18.4656 17.1041C19.8573 15.5632 20.5531 13.7427 20.5531 11.6427C20.5531 11.3536 20.538 11.0727 20.5078 10.8C20.4776 10.5272 20.4296 10.2545 20.3637 9.9818H22.0519C22.1013 10.2545 22.1383 10.5259 22.163 10.7959C22.1877 11.0659 22.2001 11.34 22.2001 11.6182C22.2001 13.9145 21.4878 15.9532 20.0632 17.7341C18.6385 19.515 16.809 20.6645 14.5746 21.1827L15.9746 22.0009L15.1511 23.4Z",fill:"white"})),h9=e=>C.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M13.9131 9.74612V8.43075C14.4563 8.1782 15.0248 7.98878 15.6186 7.8625C16.2125 7.73621 16.829 7.67307 17.4683 7.67307C17.8693 7.67307 18.2588 7.7016 18.6368 7.75865C19.0147 7.8157 19.3939 7.89102 19.7744 7.9846V9.23842C19.4003 9.10766 19.0285 9.01278 18.6589 8.9538C18.2892 8.89483 17.8924 8.86535 17.4683 8.86535C16.829 8.86535 16.2099 8.94131 15.611 9.09322C15.012 9.24516 14.4461 9.46279 13.9131 9.74612ZM13.9131 15.2269V13.8923C14.4435 13.6397 15.0104 13.4503 15.6139 13.324C16.2173 13.1977 16.8354 13.1346 17.4683 13.1346C17.8693 13.1346 18.2588 13.1631 18.6368 13.2202C19.0147 13.2772 19.3939 13.3525 19.7744 13.4461V14.6999C19.4003 14.5692 19.0285 14.4743 18.6589 14.4153C18.2892 14.3564 17.8924 14.3269 17.4683 14.3269C16.829 14.3269 16.2099 14.4035 15.611 14.5567C15.012 14.7099 14.4461 14.9333 13.9131 15.2269ZM13.9131 12.4961V11.1615C14.4563 10.909 15.0248 10.7195 15.6186 10.5932C16.2125 10.467 16.829 10.4038 17.4683 10.4038C17.8693 10.4038 18.2588 10.4323 18.6368 10.4894C19.0147 10.5464 19.3939 10.6218 19.7744 10.7154V11.9692C19.4003 11.8384 19.0285 11.7435 18.6589 11.6846C18.2892 11.6256 17.8924 11.5961 17.4683 11.5961C16.829 11.5961 16.2099 11.6753 15.611 11.8336C15.012 11.992 14.4461 12.2128 13.9131 12.4961ZM6.47597 16.0192C7.30361 16.0192 8.10883 16.1131 8.89162 16.3009C9.67441 16.4888 10.4514 16.7833 11.2227 17.1846V7.35382C10.5206 6.89614 9.76089 6.55287 8.94351 6.32402C8.12613 6.09517 7.30361 5.98075 6.47597 5.98075C5.87639 5.98075 5.3162 6.02786 4.79541 6.12207C4.27463 6.21631 3.73942 6.37047 3.1898 6.58457C3.11292 6.61022 3.05847 6.64709 3.02644 6.69517C2.99442 6.74326 2.9784 6.79614 2.9784 6.85382V16.3115C2.9784 16.4012 3.01043 16.467 3.07448 16.5086C3.13856 16.5503 3.20903 16.5551 3.28591 16.523C3.75993 16.3615 4.26022 16.2372 4.78677 16.15C5.31332 16.0628 5.87639 16.0192 6.47597 16.0192ZM12.7216 17.1846C13.4929 16.7833 14.2699 16.4888 15.0527 16.3009C15.8355 16.1131 16.6407 16.0192 17.4683 16.0192C18.0679 16.0192 18.631 16.0628 19.1575 16.15C19.6841 16.2372 20.1844 16.3615 20.6584 16.523C20.7353 16.5551 20.8058 16.5503 20.8698 16.5086C20.9339 16.467 20.9659 16.4012 20.9659 16.3115V6.85382C20.9659 6.79614 20.9499 6.74486 20.9179 6.69997C20.8858 6.65509 20.8314 6.61662 20.7545 6.58457C20.2049 6.37047 19.6697 6.21631 19.1489 6.12207C18.6281 6.02786 18.0679 5.98075 17.4683 5.98075C16.6407 5.98075 15.8182 6.09517 15.0008 6.32402C14.1834 6.55287 13.4237 6.89614 12.7216 7.35382V17.1846ZM11.9722 19.3845C11.1663 18.7897 10.297 18.3301 9.36434 18.0057C8.43166 17.6813 7.46887 17.5192 6.47597 17.5192C5.86615 17.5192 5.26721 17.5868 4.67917 17.722C4.09111 17.8573 3.5242 18.0563 2.97843 18.3191C2.62227 18.4832 2.28341 18.4573 1.96183 18.2413C1.64027 18.0252 1.47949 17.7191 1.47949 17.323V6.46537C1.47949 6.24999 1.5349 6.04775 1.6457 5.85865C1.75652 5.66955 1.91636 5.53333 2.12519 5.45C2.80164 5.12052 3.50659 4.87661 4.24005 4.71827C4.97351 4.55994 5.71881 4.48077 6.47597 4.48077C7.44838 4.48077 8.39836 4.61379 9.32592 4.87982C10.2535 5.14584 11.1356 5.53847 11.9722 6.0577C12.8088 5.53847 13.6908 5.14584 14.6184 4.87982C15.5459 4.61379 16.4959 4.48077 17.4683 4.48077C18.2255 4.48077 18.9708 4.55994 19.7043 4.71827C20.4377 4.87661 21.1427 5.12052 21.8191 5.45C22.028 5.53333 22.1878 5.66955 22.2986 5.85865C22.4094 6.04775 22.4648 6.24999 22.4648 6.46537V17.323C22.4648 17.7191 22.2977 18.022 21.9633 18.2316C21.6289 18.4413 21.2772 18.464 20.9082 18.2999C20.3688 18.0435 19.8099 17.8493 19.2315 17.7172C18.6531 17.5852 18.0654 17.5192 17.4683 17.5192C16.4754 17.5192 15.5127 17.6813 14.58 18.0057C13.6473 18.3301 12.778 18.7897 11.9722 19.3845Z",fill:"white"})),v9=e=>C.createElement("svg",{width:110,height:36,viewBox:"0 0 110 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("g",{clipPath:"url(#clip0_1155_14172)"},C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M55.0348 23.6039H58.1474C58.3271 23.6039 58.4767 23.4535 58.4468 23.243V19.0936C58.4468 18.8831 58.6262 18.7328 58.8359 18.7628C59.5842 18.9132 60.6017 19.0034 61.3201 19.0034C65.8991 19.0034 68.6826 16.3874 68.6826 12.5687C68.6826 8.41926 65.7794 6.13403 62.0382 6.13403C60.2425 6.13403 58.6262 6.88574 57.8782 7.90808V6.76549C57.8782 6.58505 57.7284 6.43472 57.5489 6.43472H55.0348C54.8554 6.43472 54.7055 6.58505 54.7055 6.76549V23.2731C54.7055 23.4535 54.8554 23.6039 55.0348 23.6039ZM61.4397 9.32129C63.385 9.32129 64.7018 10.3737 64.7018 12.4184C64.7018 14.7036 63.1158 15.8762 60.9908 15.8462C60.2724 15.8462 59.3745 15.756 58.6863 15.5154C58.5664 15.4854 58.4767 15.3651 58.4767 15.2147V12.1177C58.4767 10.4639 59.5543 9.32129 61.4397 9.32129Z",fill:"black"}),C.createElement("path",{d:"M109.775 6.7653C109.775 6.58486 109.625 6.43453 109.446 6.43453H98.6714C98.492 6.43453 98.3421 6.58486 98.3421 6.7653V9.11062C98.3421 9.29105 98.492 9.44138 98.6714 9.44138H100.527C100.707 9.44138 100.856 9.59174 100.856 9.77215V13.5908C100.856 17.9207 102.981 19.0333 106.722 19.0333C107.56 19.0333 108.668 18.8829 109.566 18.6424C109.715 18.5822 109.805 18.462 109.805 18.3116V15.846C109.805 15.6054 109.595 15.4551 109.386 15.5152C108.698 15.6956 107.86 15.8159 107.351 15.8159C105.585 15.8159 104.597 15.3048 104.597 13.5608V9.77215C104.597 9.59174 104.747 9.44138 104.926 9.44138H109.446C109.625 9.44138 109.775 9.29105 109.775 9.11062V6.7653Z",fill:"black"}),C.createElement("path",{d:"M83.3778 15.5152C82.6894 15.6956 81.8812 15.8159 81.3426 15.8159C79.5768 15.8159 78.5892 15.3048 78.5892 13.5608V6.7653C78.5892 6.58486 78.4394 6.43453 78.2599 6.43453H75.1473C74.9676 6.43453 74.8181 6.58486 74.8181 6.7653V13.5608C74.8181 17.9207 76.943 19.0032 80.684 19.0032C81.522 19.0032 82.6295 18.8528 83.5274 18.6123C83.6769 18.5822 83.7666 18.4319 83.7666 18.2815V15.8159C83.7969 15.6054 83.5872 15.4551 83.3778 15.5152Z",fill:"black"}),C.createElement("path",{d:"M69.6703 6.7653V18.4018C69.6703 18.5822 69.8198 18.7326 69.9995 18.7326H73.0822C73.2617 18.7326 73.4115 18.5822 73.4115 18.4018V6.7653C73.4115 6.58486 73.2617 6.43453 73.0822 6.43453H69.9995C69.8198 6.43453 69.6703 6.58486 69.6703 6.7653Z",fill:"black"}),C.createElement("path",{d:"M9.21342 23.5736L7.59723 28.4446H6.6395L5.44233 24.8365L4.21524 28.4446H3.25752L1.67126 23.5736H2.59908L3.79623 27.2721L5.05325 23.5736H5.89128L7.11837 27.3022L8.34545 23.5736H9.21342Z",fill:"black"}),C.createElement("path",{d:"M14.9598 28.4446V23.5736H14.0619V25.5882H11.5478V23.5736H10.65V28.4446H11.5478V26.3701H14.0619V28.4446H14.9598Z",fill:"black"}),C.createElement("path",{d:"M20.5864 27.663V28.4145H16.9351V23.5736H20.4667V24.3253H17.833V25.5882H20.1674V26.34H17.833V27.6931L20.5864 27.663Z",fill:"black"}),C.createElement("path",{d:"M26.5721 28.4446V23.5736H25.6744V26.8812L23.0107 23.5736H22.2624V28.4446H23.1603V25.1372L25.824 28.4446H26.5721Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.1813 23.5736H33.3063C33.8151 23.5736 34.2939 23.6638 34.683 23.8743C35.0721 24.0848 35.4014 24.3554 35.6108 24.7162C35.8204 25.077 35.9401 25.498 35.9401 25.9792C35.9401 26.4602 35.8204 26.8812 35.6108 27.2421C35.4014 27.6026 35.0721 27.9034 34.683 28.084C34.2939 28.2643 33.8151 28.3845 33.3063 28.3845H31.1813V23.5736ZM33.2465 27.663C33.6057 27.663 33.9048 27.6026 34.1743 27.4524C34.4437 27.3022 34.6531 27.1216 34.8026 26.8812C34.9525 26.6405 35.0123 26.34 35.0123 26.0092C35.0123 25.6784 34.9525 25.3777 34.8026 25.1372C34.6531 24.8966 34.4437 24.6861 34.1743 24.5659C33.9048 24.4155 33.6057 24.3554 33.2465 24.3554H32.0792V27.6931L33.2465 27.663Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.2146 27.3022H40.639L41.1478 28.4145H42.0755L39.8907 23.5435H38.9929L36.8081 28.4145H37.7358L38.2146 27.3022ZM39.4119 24.4456L40.3396 26.5804H38.514L39.4119 24.4456Z",fill:"black"}),C.createElement("path",{d:"M44.1108 24.3253H42.4945V23.5736H46.595V24.3253H44.9787V28.4145H44.0809L44.1108 24.3253Z",fill:"black"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M48.4803 27.3022H50.9047L51.4134 28.4145H52.3412L50.1564 23.5435H49.2585L47.0737 28.4145H48.0015L48.4803 27.3022ZM49.6776 24.4456L50.6053 26.5804H48.7797L49.6776 24.4456Z",fill:"black"}),C.createElement("path",{d:"M93.0747 0.661612C93.0747 1.02701 92.7799 1.32323 92.4161 1.32323C92.0527 1.32323 91.7578 1.02701 91.7578 0.661612C91.7578 0.296215 92.0527 0 92.4161 0C92.7799 0 93.0747 0.296215 93.0747 0.661612Z",fill:"#F6A500"}),C.createElement("path",{d:"M6.13068 9.44135H9.27324C9.48275 9.44135 9.63238 9.29102 9.63238 9.11058V6.79531C9.63238 6.6149 9.48275 6.46458 9.30318 6.46458H5.80148V6.31422C5.80148 4.7206 6.48985 3.66818 8.67466 3.66818C9.42288 3.66818 10.3806 3.84859 11.1289 4.05907C11.3384 4.11923 11.5478 3.96887 11.5478 3.72833V1.6536C11.5478 1.53331 11.4581 1.41303 11.3384 1.35291C10.5602 1.05222 9.33309 0.781609 8.31552 0.781609C4.36489 0.781609 2.03041 2.4955 2.03041 6.28414V6.46458H0.444161C0.264591 6.46458 0.114929 6.6149 0.114929 6.79531V9.11058C0.114929 9.29102 0.264591 9.44135 0.444161 9.44135H1.70118C1.88075 9.44135 2.03041 9.59171 2.03041 9.77211V18.3717C2.03041 18.5521 2.18005 18.7025 2.35962 18.7025H5.47224C5.65181 18.7025 5.80148 18.5521 5.80148 18.3717V9.77211C5.80148 9.59171 5.95111 9.44135 6.13068 9.44135Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.576 19.0334C20.7661 19.0334 23.9386 16.6579 23.9386 12.6287C23.9386 8.68976 20.796 6.13393 16.5161 6.13393C12.3261 6.13393 9.15359 8.68976 9.15359 12.6287C9.15359 16.6579 12.4159 19.0334 16.576 19.0334ZM16.5461 9.14078C18.6112 9.14078 20.0179 10.5239 20.0179 12.5987C20.0179 14.6734 18.6411 16.0265 16.576 16.0265C14.6306 16.0265 13.1042 14.6734 13.1042 12.5987C13.1042 10.5239 14.6306 9.14078 16.5461 9.14078Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.2324 12.6287C39.2324 16.6579 36.0597 19.0334 31.8699 19.0334C27.7395 19.0334 24.4772 16.6579 24.4772 12.6287C24.4772 8.68976 27.6498 6.13393 31.8399 6.13393C36.1195 6.13393 39.2324 8.68976 39.2324 12.6287ZM35.3117 12.5987C35.3117 10.5239 33.9048 9.14078 31.8399 9.14078C29.9243 9.14078 28.3981 10.5239 28.3981 12.5987C28.3981 14.6734 29.9243 16.0265 31.8699 16.0265C33.9347 16.0265 35.3117 14.6734 35.3117 12.5987Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M52.9995 18.4018C53.1493 18.3717 53.2391 18.2214 53.2391 18.071H53.269V1.59349C53.269 1.41305 53.1194 1.26272 52.9397 1.26272H49.857C49.6776 1.26272 49.5277 1.41305 49.5277 1.59349V6.01355C49.5277 6.22403 49.3483 6.37439 49.1389 6.34431C48.5701 6.25411 47.9417 6.19395 47.313 6.19395C43.0932 6.19395 39.771 8.59946 39.771 12.6286C39.771 17.1088 43.602 19.0633 47.9118 19.0633C49.6776 19.0633 51.5929 18.7927 52.9995 18.4018ZM49.1987 15.7257C48.6897 15.8159 48.0912 15.846 47.5526 15.846C45.278 15.846 43.7515 14.5831 43.7515 12.5986C43.7515 10.5539 45.1581 9.26096 47.5227 9.26096C48.0613 9.26096 48.6299 9.32108 49.1987 9.44137C49.3483 9.47144 49.4679 9.62177 49.4679 9.77213V15.3949C49.4679 15.5453 49.3483 15.6956 49.1987 15.7257Z",fill:"#F6A500"}),C.createElement("path",{d:"M96.4568 2.82628C96.4568 3.37429 96.0145 3.81854 95.4693 3.81854C94.9237 3.81854 94.4814 3.37429 94.4814 2.82628C94.4814 2.27826 94.9237 1.83401 95.4693 1.83401C96.0145 1.83401 96.4568 2.27826 96.4568 2.82628Z",fill:"#F6A500"}),C.createElement("path",{d:"M98.7911 3.60802C99.5349 3.60802 100.138 3.00221 100.138 2.25494C100.138 1.50764 99.5349 0.901859 98.7911 0.901859C98.0473 0.901859 97.4444 1.50764 97.4444 2.25494C97.4444 3.00221 98.0473 3.60802 98.7911 3.60802Z",fill:"#F6A500"}),C.createElement("path",{d:"M89.9622 3.33766C90.2598 3.33766 90.5009 3.0953 90.5009 2.79632C90.5009 2.49737 90.2598 2.25501 89.9622 2.25501C89.6646 2.25501 89.4236 2.49737 89.4236 2.79632C89.4236 3.0953 89.6646 3.33766 89.9622 3.33766Z",fill:"#F6A500"}),C.createElement("path",{d:"M96.8758 0.661445C96.8758 0.860764 96.7151 1.02232 96.5166 1.02232C96.3182 1.02232 96.1574 0.860764 96.1574 0.661445C96.1574 0.462126 96.3182 0.300571 96.5166 0.300571C96.7151 0.300571 96.8758 0.462126 96.8758 0.661445Z",fill:"#F6A500"}),C.createElement("path",{d:"M93.4042 2.61597C93.5362 2.61597 93.6434 2.50827 93.6434 2.3754C93.6434 2.2425 93.5362 2.1348 93.4042 2.1348C93.2718 2.1348 93.1646 2.2425 93.1646 2.3754C93.1646 2.50827 93.2718 2.61597 93.4042 2.61597Z",fill:"#F6A500"}),C.createElement("path",{d:"M97.1152 7.63716C97.1152 8.26819 96.6061 8.77976 95.978 8.77976C95.35 8.77976 94.8406 8.26819 94.8406 7.63716C94.8406 7.0061 95.35 6.49453 95.978 6.49453C96.6061 6.49453 97.1152 7.0061 97.1152 7.63716Z",fill:"#F6A500"}),C.createElement("path",{d:"M99.2999 4.93127C99.4984 4.93127 99.6591 4.76972 99.6591 4.5704C99.6591 4.37108 99.4984 4.20952 99.2999 4.20952C99.1017 4.20952 98.941 4.37108 98.941 4.5704C98.941 4.76972 99.1017 4.93127 99.2999 4.93127Z",fill:"#F6A500"}),C.createElement("path",{d:"M97.3546 5.35213C97.3546 5.66772 97.1 5.92353 96.7861 5.92353C96.4719 5.92353 96.2172 5.66772 96.2172 5.35213C96.2172 5.03655 96.4719 4.78074 96.7861 4.78074C97.1 4.78074 97.3546 5.03655 97.3546 5.35213Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M96.0976 9.59164C96.5764 9.56156 96.9954 9.38115 97.3247 9.05039C98.0129 10.0427 98.402 11.2454 98.3422 12.6285C98.3422 16.6577 95.1698 19.0332 90.9797 19.0332C86.8496 19.0332 83.5872 16.6577 83.5872 12.6285C83.5872 8.9301 86.4306 6.43443 90.2616 6.16382C90.2915 5.80297 90.3812 5.41208 90.6205 5.08134C91.2491 4.17928 92.5062 3.93875 93.404 4.57017C94.0025 4.96106 94.3019 5.62257 94.272 6.28407C94.272 6.52463 94.2122 6.76519 94.1523 6.9456C93.8231 7.78751 94.1221 8.7497 94.8704 9.26087C95.2296 9.5014 95.6786 9.62168 96.0976 9.59164ZM92.4464 13.9516H94.0623C94.7807 13.9516 95.439 13.4103 95.4991 12.7488C95.5589 11.937 94.9303 11.2755 94.1523 11.2755H92.4464C92.3862 11.2755 92.3564 11.2454 92.3564 11.1853V9.56156C92.3564 8.8399 91.8476 8.1784 91.1295 8.11827C90.3214 8.05812 89.6628 8.68957 89.6628 9.47135V11.1853C89.6628 11.2454 89.6329 11.2755 89.5731 11.2755H87.9568C87.2387 11.2755 86.5801 11.7866 86.5203 12.5083C86.4605 13.3201 87.0889 13.9816 87.8671 13.9816H89.5432C89.603 13.9816 89.6329 14.0117 89.6329 14.0718V15.6955C89.6329 16.4172 90.1416 17.0787 90.86 17.1388C91.6682 17.199 92.3264 16.5675 92.3264 15.7857V14.0718C92.3264 14.0117 92.3862 13.9516 92.4464 13.9516Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.1216 30.9404H33.426C33.9647 30.9404 34.4136 31.0305 34.8326 31.2411C35.2516 31.4515 35.551 31.7222 35.7906 32.0831C36.0298 32.4439 36.1196 32.8649 36.1196 33.376C36.1196 33.8571 35.9999 34.3081 35.7906 34.669C35.551 35.0299 35.2516 35.3303 34.8326 35.5109C34.4136 35.7213 33.9647 35.8114 33.426 35.8114H31.1216V30.9404ZM33.3662 34.699C33.7852 34.699 34.1145 34.5788 34.3538 34.3382C34.5933 34.0975 34.7429 33.767 34.7429 33.346C34.7429 32.925 34.6233 32.5942 34.3538 32.3535C34.1145 32.1131 33.7553 31.9929 33.3662 31.9929H32.4983V34.669H33.3662V34.699Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M38.9031 34.5184H39.6514L40.5492 35.8114H42.0156L40.9683 34.2781C41.2673 34.1579 41.5069 33.9472 41.6564 33.6765C41.8063 33.4061 41.896 33.1053 41.896 32.7444C41.896 32.3835 41.8063 32.053 41.6265 31.7823C41.4471 31.5116 41.2075 31.3012 40.8782 31.151C40.5492 31.0005 40.19 30.9404 39.7411 30.9404H37.5264V35.8114H38.9031V34.5184ZM39.6813 32.023C39.9505 32.023 40.1601 32.0831 40.3097 32.2033C40.4592 32.3235 40.5193 32.504 40.5193 32.7444C40.5193 32.9551 40.4592 33.1353 40.3097 33.2555C40.1601 33.376 39.9505 33.4361 39.6813 33.4361H38.933V32.023H39.6813Z",fill:"#F6A500"}),C.createElement("path",{d:"M43.3625 30.9404H44.7391V35.8114H43.3625V30.9404Z",fill:"#F6A500"}),C.createElement("path",{d:"M49.2287 35.8114L51.2936 30.9404H49.9468L48.6 34.0975L47.2831 30.9404H45.8167L47.8819 35.8114H49.2287Z",fill:"#F6A500"}),C.createElement("path",{d:"M56.1424 35.7814H52.2516V30.9103H56.0523V31.9626H53.5984V32.7745H55.7533V33.797H53.5984V34.699H56.1424V35.7814Z",fill:"#F6A500"}),C.createElement("path",{d:"M57.2794 35.3604C57.5189 35.511 57.8183 35.6612 58.1772 35.7513C58.4554 35.8211 58.7515 35.8731 59.0239 35.9209L59.1279 35.9392C59.171 35.9468 59.2134 35.9544 59.2548 35.962C59.7038 35.962 60.0929 35.9019 60.4222 35.7513C60.7511 35.6011 60.9907 35.4205 61.1403 35.1801C61.2901 34.9394 61.3798 34.6991 61.3798 34.3983C61.3798 34.0374 61.2901 33.797 61.1103 33.5864C60.9309 33.4061 60.7212 33.2556 60.482 33.1654C60.3176 33.1036 60.111 33.0559 59.8815 33.0029C59.7766 32.9787 59.6668 32.9533 59.5542 32.925C59.4933 32.9084 59.4355 32.8927 59.3808 32.8779C59.1394 32.8126 58.9577 32.7634 58.8358 32.7144C58.6863 32.6543 58.6261 32.5341 58.6261 32.4139C58.6261 32.2634 58.6863 32.1733 58.8059 32.0831C58.9255 31.993 59.1352 31.9626 59.4044 31.9626C59.8533 31.9626 60.3022 32.0831 60.7511 32.3235L61.1702 31.3013C60.9309 31.151 60.6614 31.0606 60.362 30.9704C60.063 30.8803 59.7636 30.8502 59.4343 30.8502C58.9853 30.8502 58.5962 30.9103 58.2673 31.0606C57.938 31.2111 57.6984 31.3914 57.5489 31.6321C57.3993 31.8725 57.3093 32.1432 57.3093 32.444C57.3093 32.7745 57.3993 33.0452 57.5788 33.2556C57.7582 33.4362 57.9679 33.5864 58.2071 33.6765C58.3966 33.7401 58.6009 33.7887 58.8303 33.8433C58.9272 33.8664 59.0286 33.8905 59.1352 33.9172C59.4642 33.9773 59.7038 34.0675 59.8533 34.1276C60.0031 34.188 60.0929 34.2781 60.0929 34.4283C60.0929 34.6991 59.8533 34.8193 59.3146 34.8193C59.0452 34.8193 58.776 34.7892 58.4766 34.6991C58.2071 34.6089 57.938 34.4884 57.7283 34.3382L57.2794 35.3604Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M68.8322 31.151C69.1615 31.3012 69.4007 31.5116 69.5805 31.7823C69.7599 32.053 69.8497 32.3835 69.8497 32.7444C69.8497 33.1053 69.7599 33.4361 69.5805 33.7069C69.4007 33.9773 69.1615 34.1879 68.8322 34.3382C68.5029 34.4884 68.1138 34.5485 67.6948 34.5485H66.8567V35.8114H65.4801V30.9404H67.6948C68.1437 30.9404 68.5029 31.0005 68.8322 31.151ZM68.2337 33.2555C68.3833 33.1353 68.4431 32.9551 68.4431 32.7444C68.4431 32.504 68.3833 32.3535 68.2337 32.2033C68.0839 32.0831 67.8745 32.023 67.605 32.023H66.8567V33.4361H67.605C67.8745 33.4361 68.1138 33.376 68.2337 33.2555Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M72.5734 34.5184H73.3214L74.2193 35.8114H75.686L74.6383 34.2781C74.9377 34.1579 75.1772 33.9472 75.3268 33.6765C75.4763 33.4061 75.5664 33.1053 75.5664 32.7444C75.5664 32.3835 75.4763 32.053 75.2969 31.7823C75.1174 31.5116 74.8779 31.3012 74.5486 31.151C74.2193 31.0005 73.8604 30.9404 73.4114 30.9404H71.1964V35.8114H72.5734V34.5184ZM73.3513 32.023C73.6208 32.023 73.8305 32.0831 73.98 32.2033C74.0996 32.3235 74.1894 32.504 74.1894 32.7444C74.1894 32.9551 74.1296 33.1353 73.98 33.2555C73.8305 33.376 73.6208 33.4361 73.3513 33.4361H72.6033V32.023H73.3513Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M78.0801 35.5711C77.6611 35.3604 77.362 35.0599 77.1224 34.669C76.8832 34.2781 76.7632 33.8571 76.7632 33.3761C76.7632 32.895 76.8832 32.474 77.1224 32.0831C77.362 31.6922 77.6611 31.3914 78.0801 31.1811C78.4991 30.9704 78.9481 30.8502 79.4571 30.8502C79.9658 30.8502 80.4147 30.9704 80.8338 31.1811C81.2528 31.3914 81.5519 31.6922 81.7914 32.0831C82.0307 32.474 82.1506 32.895 82.1506 33.3761C82.1506 33.8571 82.0307 34.2781 81.7914 34.669C81.5519 35.0599 81.2528 35.3604 80.8338 35.5711C80.4147 35.7814 79.9658 35.9019 79.4571 35.9019C78.9481 35.9019 78.4692 35.7814 78.0801 35.5711ZM80.1154 34.5789C80.325 34.4584 80.4746 34.3081 80.5942 34.0975C80.7138 33.8872 80.7739 33.6465 80.7739 33.3761C80.7739 33.1053 80.7138 32.865 80.5942 32.6543C80.4746 32.444 80.325 32.2934 80.1154 32.1733C79.906 32.0531 79.6964 31.993 79.4571 31.993C79.2175 31.993 78.978 32.0531 78.7985 32.1733C78.5891 32.2934 78.4393 32.444 78.3197 32.6543C78.2 32.865 78.1402 33.1053 78.1402 33.3761C78.1402 33.6465 78.2 33.8872 78.3197 34.0975C78.4393 34.3081 78.5891 34.4584 78.7985 34.5789C79.0082 34.6991 79.2175 34.7592 79.4571 34.7592C79.6964 34.7592 79.906 34.6991 80.1154 34.5789Z",fill:"#F6A500"}),C.createElement("path",{d:"M87.9867 33.2556H86.7895L86.7596 34.6089C86.5203 34.6991 86.2807 34.7592 86.0115 34.7592C85.7421 34.7592 85.5028 34.6991 85.2931 34.5789C85.0838 34.4584 84.9339 34.3082 84.8143 34.0975C84.6947 33.8872 84.6349 33.6465 84.6349 33.3761C84.6349 32.9551 84.7844 32.5942 85.0237 32.3535C85.2931 32.0831 85.6224 31.9626 86.0415 31.9626C86.4904 31.9626 86.8795 32.1432 87.2085 32.5041L88.0764 31.7222C87.8372 31.4215 87.5378 31.2111 87.1786 31.0606C86.8197 30.9104 86.4007 30.8202 85.9517 30.8202C85.4427 30.8202 84.9938 30.9404 84.5747 31.151C84.1557 31.3614 83.8566 31.6622 83.6171 32.0531C83.3778 32.4139 83.2579 32.865 83.2579 33.346C83.2579 33.8271 83.3778 34.2481 83.6171 34.639C83.8566 35.0299 84.1557 35.3304 84.5747 35.541C84.9938 35.7514 85.4427 35.8715 85.9517 35.8715C86.3106 35.8715 86.6698 35.8415 87.029 35.7213C87.3882 35.6312 87.7175 35.4809 87.9867 35.2703V33.2556Z",fill:"#F6A500"}),C.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M91.6981 34.5184H90.9498V35.8114H89.5732V30.9404H91.7879C92.2368 30.9404 92.596 31.0005 92.9253 31.151C93.2543 31.3012 93.4938 31.5116 93.6733 31.7823C93.853 32.053 93.9428 32.3835 93.9428 32.7444C93.9428 33.1053 93.853 33.4061 93.7032 33.6765C93.5536 33.9472 93.3144 34.1579 93.015 34.2781L94.0624 35.8114H92.596L91.6981 34.5184ZM92.3564 32.2033C92.2069 32.0831 91.9975 32.023 91.7281 32.023H90.9797V33.4361H91.7281C91.9975 33.4361 92.2069 33.376 92.3564 33.2555C92.5063 33.1353 92.5661 32.9551 92.5661 32.7444C92.5661 32.504 92.4764 32.3235 92.3564 32.2033Z",fill:"#F6A500"}),C.createElement("path",{d:"M99.27 35.7814V34.699H96.726V33.797H98.8809V32.7745H96.726V31.9626H99.1803V30.9103H95.3792V35.7814H99.27Z",fill:"#F6A500"}),C.createElement("path",{d:"M101.305 35.7513C100.946 35.6612 100.647 35.511 100.407 35.3604L100.856 34.3382C101.066 34.4884 101.335 34.6089 101.605 34.6991C101.904 34.7892 102.173 34.8193 102.443 34.8193C102.981 34.8193 103.221 34.6991 103.221 34.4283C103.221 34.2781 103.131 34.188 102.981 34.1276C102.832 34.0675 102.592 33.9773 102.263 33.9172C102.157 33.8905 102.056 33.8665 101.959 33.8435L101.958 33.8434C101.729 33.7888 101.525 33.7402 101.335 33.6765C101.096 33.5864 100.886 33.4362 100.707 33.2556C100.527 33.0452 100.437 32.7745 100.437 32.444C100.437 32.1432 100.527 31.8725 100.677 31.6321C100.826 31.3914 101.066 31.2111 101.395 31.0606C101.724 30.9103 102.113 30.8502 102.562 30.8502C102.892 30.8502 103.191 30.8803 103.49 30.9704C103.789 31.0606 104.059 31.151 104.298 31.3013L103.879 32.3235C103.43 32.0831 102.981 31.9626 102.532 31.9626C102.263 31.9626 102.054 31.993 101.934 32.0831C101.814 32.1733 101.754 32.2634 101.754 32.4139C101.754 32.5341 101.814 32.6543 101.964 32.7144C102.086 32.7635 102.268 32.8128 102.51 32.8784C102.545 32.8878 102.581 32.8975 102.618 32.9076C102.639 32.9133 102.66 32.9191 102.682 32.925C102.794 32.9533 102.904 32.9785 103.009 33.0027C103.238 33.0557 103.445 33.1035 103.61 33.1654C103.849 33.2556 104.059 33.4061 104.238 33.5864C104.418 33.797 104.508 34.0374 104.508 34.3983C104.508 34.6991 104.418 34.9394 104.268 35.1801C104.119 35.4205 103.879 35.6011 103.55 35.7513C103.221 35.9019 102.832 35.962 102.383 35.962C102.309 35.9484 102.231 35.9348 102.152 35.9209C101.88 35.8731 101.583 35.8211 101.305 35.7513Z",fill:"#F6A500"}),C.createElement("path",{d:"M105.555 35.3604C105.794 35.511 106.094 35.6612 106.453 35.7513C106.774 35.8258 107.075 35.88 107.356 35.9304C107.415 35.9411 107.473 35.9515 107.53 35.962C107.979 35.962 108.368 35.9019 108.698 35.7513C109.027 35.6011 109.266 35.4205 109.416 35.1801C109.566 34.9394 109.655 34.6991 109.655 34.3983C109.655 34.0374 109.566 33.797 109.386 33.5864C109.206 33.4061 108.997 33.2556 108.757 33.1654C108.593 33.1035 108.386 33.0557 108.156 33.0027C108.052 32.9785 107.942 32.9533 107.83 32.925C107.769 32.9085 107.712 32.893 107.658 32.8783C107.416 32.8128 107.234 32.7635 107.111 32.7144C106.962 32.6543 106.902 32.5341 106.902 32.4139C106.902 32.2634 106.962 32.1733 107.081 32.0831C107.201 31.993 107.411 31.9626 107.68 31.9626C108.129 31.9626 108.578 32.0831 109.027 32.3235L109.446 31.3013C109.206 31.151 108.937 31.0606 108.638 30.9704C108.338 30.8803 108.039 30.8502 107.71 30.8502C107.261 30.8502 106.872 30.9103 106.543 31.0606C106.213 31.2111 105.974 31.3914 105.824 31.6321C105.675 31.8725 105.585 32.1432 105.585 32.444C105.585 32.7745 105.675 33.0452 105.855 33.2556C106.034 33.4362 106.243 33.5864 106.483 33.6765C106.673 33.7402 106.877 33.7888 107.107 33.8435C107.203 33.8665 107.304 33.8905 107.411 33.9172C107.74 33.9773 107.979 34.0675 108.129 34.1276C108.279 34.188 108.368 34.2781 108.368 34.4283C108.368 34.6991 108.129 34.8193 107.59 34.8193C107.321 34.8193 107.052 34.7892 106.752 34.6991C106.483 34.6089 106.213 34.4884 106.004 34.3382L105.555 35.3604Z",fill:"#F6A500"})),C.createElement("defs",null,C.createElement("clipPath",{id:"clip0_1155_14172"},C.createElement("rect",{width:110,height:36,fill:"white"})))),b9={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class cl{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||b9,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,s){return s&&!this.debug?null:(typeof t[0]=="string"&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new cl(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new cl(this.logger,t)}}var ao=new cl;class ul{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]=this.observers[r]||[],this.observers[r].push(n)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t]=this.observers[t].filter(r=>r!==n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];this.observers[t]&&[].concat(this.observers[t]).forEach(a=>{a(...r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(a=>{a.apply(a,[t,...r])})}}function ci(){let e,t;const n=new Promise((r,s)=>{e=r,t=s});return n.resolve=e,n.reject=t,n}function Zb(e){return e==null?"":""+e}function y9(e,t,n){e.forEach(r=>{t[r]&&(n[r]=t[r])})}function Ju(e,t,n){function r(a){return a&&a.indexOf("###")>-1?a.replace(/###/g,"."):a}function s(){return!e||typeof e=="string"}const i=typeof t!="string"?[].concat(t):t.split(".");for(;i.length>1;){if(s())return{};const a=r(i.shift());!e[a]&&n&&(e[a]=new n),Object.prototype.hasOwnProperty.call(e,a)?e=e[a]:e={}}return s()?{}:{obj:e,k:r(i.shift())}}function Xb(e,t,n){const{obj:r,k:s}=Ju(e,t,Object);r[s]=n}function x9(e,t,n,r){const{obj:s,k:i}=Ju(e,t,Object);s[i]=s[i]||[],r&&(s[i]=s[i].concat(n)),r||s[i].push(n)}function dl(e,t){const{obj:n,k:r}=Ju(e,t);if(n)return n[r]}function C9(e,t,n){const r=dl(e,n);return r!==void 0?r:dl(t,n)}function Jb(e,t,n){for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?typeof e[r]=="string"||e[r]instanceof String||typeof t[r]=="string"||t[r]instanceof String?n&&(e[r]=t[r]):Jb(e[r],t[r],n):e[r]=t[r]);return e}function qr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var S9={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function w9(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>S9[t]):e}const T9=[" ",",","?","!",";"];function R9(e,t,n){t=t||"",n=n||"";const r=T9.filter(a=>t.indexOf(a)<0&&n.indexOf(a)<0);if(r.length===0)return!0;const s=new RegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`);let i=!s.test(e);if(!i){const a=e.indexOf(n);a>0&&!s.test(e.substring(0,a))&&(i=!0)}return i}function pl(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const r=t.split(n);let s=e;for(let i=0;i<r.length;++i){if(!s||typeof s[r[i]]=="string"&&i+1<r.length)return;if(s[r[i]]===void 0){let a=2,l=r.slice(i,i+a).join(n),c=s[l];for(;c===void 0&&r.length>i+a;)a++,l=r.slice(i,i+a).join(n),c=s[l];if(c===void 0)return;if(c===null)return null;if(t.endsWith(l)){if(typeof c=="string")return c;if(l&&typeof c[l]=="string")return c[l]}const u=r.slice(i+a).join(n);return u?pl(c,u,n):void 0}s=s[r[i]]}return s}function fl(e){return e&&e.indexOf("_")>0?e.replace("_","-"):e}class Qb extends ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,a=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l=[t,n];r&&typeof r!="string"&&(l=l.concat(r)),r&&typeof r=="string"&&(l=l.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(l=t.split("."));const c=dl(this.data,l);return c||!a||typeof r!="string"?c:pl(this.data&&this.data[t]&&this.data[t][n],r,i)}addResource(t,n,r,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[t,n];r&&(l=l.concat(a?r.split(a):r)),t.indexOf(".")>-1&&(l=t.split("."),s=n,n=l[1]),this.addNamespaces(n),Xb(this.data,l,s),i.silent||this.emit("added",t,n,r,s)}addResources(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in r)(typeof r[i]=="string"||Object.prototype.toString.apply(r[i])==="[object Array]")&&this.addResource(t,n,i,r[i],{silent:!0});s.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,s,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},l=[t,n];t.indexOf(".")>-1&&(l=t.split("."),s=r,r=n,n=l[1]),this.addNamespaces(n);let c=dl(this.data,l)||{};s?Jb(c,r,i):c={...c,...r},Xb(this.data,l,c),a.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(t,n)}:this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(s=>n[s]&&Object.keys(n[s]).length>0)}toJSON(){return this.data}}var e0={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,s){return e.forEach(i=>{this.processors[i]&&(t=this.processors[i].process(t,n,r,s))}),t}};const t0={};class ml extends ul{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),y9(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ao.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const r=this.resolve(t,n);return r&&r.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let i=n.ns||this.options.defaultNS||[];const a=r&&t.indexOf(r)>-1,l=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!R9(t,r,s);if(a&&!l){const c=t.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:t,namespaces:i};const u=t.split(r);(r!==s||r===s&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),t=u.join(s)}return typeof i=="string"&&(i=[i]),{key:t,namespaces:i}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const s=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(t[t.length-1],n),c=l[l.length-1],u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&u.toLowerCase()==="cimode"){if(d){const R=n.nsSeparator||this.options.nsSeparator;return s?{res:`${c}${R}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:`${c}${R}${a}`}return s?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(n)}:a}const p=this.resolve(t,n);let f=p&&p.res;const g=p&&p.usedKey||a,v=p&&p.exactUsedKey||a,h=Object.prototype.toString.apply(f),b=["[object Number]","[object Function]","[object RegExp]"],S=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject;if(w&&f&&(typeof f!="string"&&typeof f!="boolean"&&typeof f!="number")&&b.indexOf(h)<0&&!(typeof S=="string"&&h==="[object Array]")){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,f,{...n,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(p.res=R,p.usedParams=this.getUsedParamsDetails(n),p):R}if(i){const R=h==="[object Array]",x=R?[]:{},E=R?v:g;for(const O in f)if(Object.prototype.hasOwnProperty.call(f,O)){const _=`${E}${i}${O}`;x[O]=this.translate(_,{...n,joinArrays:!1,ns:l}),x[O]===_&&(x[O]=f[O])}f=x}}else if(w&&typeof S=="string"&&h==="[object Array]")f=f.join(S),f&&(f=this.extendTranslation(f,t,n,r));else{let R=!1,x=!1;const E=n.count!==void 0&&typeof n.count!="string",O=ml.hasDefaultValue(n),_=E?this.pluralResolver.getSuffix(u,n.count,n):"",P=n.ordinal&&E?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",$=n[`defaultValue${_}`]||n[`defaultValue${P}`]||n.defaultValue;!this.isValidLookup(f)&&O&&(R=!0,f=$),this.isValidLookup(f)||(x=!0,f=a);const H=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&x?void 0:f,D=O&&$!==f&&this.options.updateMissing;if(x||R||D){if(this.logger.log(D?"updateKey":"missingKey",u,c,a,D?$:f),i){const Y=this.resolve(a,{...n,keySeparator:!1});Y&&Y.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 M=[];const k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&k&&k[0])for(let Y=0;Y<k.length;Y++)M.push(k[Y]);else this.options.saveMissingTo==="all"?M=this.languageUtils.toResolveHierarchy(n.lng||this.language):M.push(n.lng||this.language);const B=(Y,J,G)=>{const A=O&&G!==f?G:H;this.options.missingKeyHandler?this.options.missingKeyHandler(Y,c,J,A,D,n):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(Y,c,J,A,D,n),this.emit("missingKey",Y,c,J,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?M.forEach(Y=>{this.pluralResolver.getSuffixes(Y,n).forEach(J=>{B([Y],a+J,n[`defaultValue${J}`]||$)})}):B(M,a,$))}f=this.extendTranslation(f,t,n,p,r),x&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${c}:${a}`),(x||R)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${a}`:a,R?f:void 0):f=this.options.parseMissingKeyHandler(f))}return s?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(t,n,r,s,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=typeof t=="string"&&(r&&r.interpolation&&r.interpolation.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(u){const f=t.match(this.interpolator.nestingRegexp);d=f&&f.length}let p=r.replace&&typeof r.replace!="string"?r.replace:r;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),t=this.interpolator.interpolate(t,p,r.lng||this.language,r),u){const f=t.match(this.interpolator.nestingRegexp),g=f&&f.length;d<g&&(r.nest=!1)}!r.lng&&this.options.compatibilityAPI!=="v1"&&s&&s.res&&(r.lng=s.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var f=arguments.length,g=new Array(f),v=0;v<f;v++)g[v]=arguments[v];return i&&i[0]===g[0]&&!r.context?(a.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${n[0]}`),null):a.translate(...g,n)},r)),r.interpolation&&this.interpolator.reset()}const l=r.postProcess||this.options.postProcess,c=typeof l=="string"?[l]:l;return t!=null&&c&&c.length&&r.applyPostProcessor!==!1&&(t=e0.handle(c,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...s,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,s,i,a,l;return typeof t=="string"&&(t=[t]),t.forEach(c=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(c,n),d=u.key;s=d;let p=u.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const f=n.count!==void 0&&typeof n.count!="string",g=f&&!n.ordinal&&n.count===0&&this.pluralResolver.shouldUseIntlApi(),v=n.context!==void 0&&(typeof n.context=="string"||typeof n.context=="number")&&n.context!=="",h=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);p.forEach(b=>{this.isValidLookup(r)||(l=b,!t0[`${h[0]}-${b}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(l)&&(t0[`${h[0]}-${b}`]=!0,this.logger.warn(`key "${s}" for languages "${h.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(S=>{if(this.isValidLookup(r))return;a=S;const w=[d];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(w,d,S,b,n);else{let R;f&&(R=this.pluralResolver.getSuffix(S,n.count,n));const x=`${this.options.pluralSeparator}zero`,E=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(w.push(d+R),n.ordinal&&R.indexOf(E)===0&&w.push(d+R.replace(E,this.options.pluralSeparator)),g&&w.push(d+x)),v){const O=`${d}${this.options.contextSeparator}${n.context}`;w.push(O),f&&(w.push(O+R),n.ordinal&&R.indexOf(E)===0&&w.push(O+R.replace(E,this.options.pluralSeparator)),g&&w.push(O+x))}}let T;for(;T=w.pop();)this.isValidLookup(r)||(i=T,r=this.getResource(S,b,T,n))}))})}),{res:r,usedKey:s,exactUsedKey:i,usedLng:a,usedNS:l}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,n,r,s):this.resourceStore.getResource(t,n,r,s)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&typeof t.replace!="string";let s=r?t.replace:t;if(r&&typeof t.count<"u"&&(s.count=t.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!r){s={...s};for(const i of n)delete s[i]}return s}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}function Qu(e){return e.charAt(0).toUpperCase()+e.slice(1)}class n0{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ao.create("languageUtils")}getScriptPartFromCode(t){if(t=fl(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=fl(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const n=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(s=>s.toLowerCase()):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Qu(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=Qu(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Qu(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const s=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(s))&&(n=s)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const s=this.getLanguagePartFromCode(r);if(this.isSupportedCode(s))return n=s;n=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&i.indexOf(s)===0)return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),s=[],i=a=>{a&&(this.isSupportedCode(a)?s.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(t))):typeof t=="string"&&i(this.formatLanguageCode(t)),r.forEach(a=>{s.indexOf(a)<0&&i(this.formatLanguageCode(a))}),s}}let E9=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],O9={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const P9=["v1","v2","v3"],_9=["v4"],o0={zero:0,one:1,two:2,few:3,many:4,other:5};function $9(){const e={};return E9.forEach(t=>{t.lngs.forEach(n=>{e[n]={numbers:t.nr,plurals:O9[t.fc]}})}),e}class M9{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=ao.create("pluralResolver"),(!this.options.compatibilityJSON||_9.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=$9()}addRule(t,n){this.rules[t]=n}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(fl(t),{type:n.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(s=>`${n}${s}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((s,i)=>o0[s]-o0[i]).map(s=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s}`):r.numbers.map(s=>this.getSuffix(t,s,n)):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(t,r);return s?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${s.select(n)}`:this.getSuffixRetroCompatible(s,n):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,n){const r=t.noAbs?t.plurals(n):t.plurals(Math.abs(n));let s=t.numbers[r];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(s===2?s="plural":s===1&&(s=""));const i=()=>this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString();return this.options.compatibilityJSON==="v1"?s===1?"":typeof s=="number"?`_plural_${s.toString()}`:i():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!P9.includes(this.options.compatibilityJSON)}}function r0(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=C9(e,t,n);return!i&&s&&typeof n=="string"&&(i=pl(e,n,r),i===void 0&&(i=pl(t,n,r))),i}class k9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const n=t.interpolation;this.escape=n.escape!==void 0?n.escape:w9,this.escapeValue=n.escapeValue!==void 0?n.escapeValue:!0,this.useRawValueToEscape=n.useRawValueToEscape!==void 0?n.useRawValueToEscape:!1,this.prefix=n.prefix?qr(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?qr(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?qr(n.nestingPrefix):n.nestingPrefixEscaped||qr("$t("),this.nestingSuffix=n.nestingSuffix?qr(n.nestingSuffix):n.nestingSuffixEscaped||qr(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0?n.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=`${this.prefix}(.+?)${this.suffix}`;this.regexp=new RegExp(t,"g");const n=`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`;this.regexpUnescape=new RegExp(n,"g");const r=`${this.nestingPrefix}(.+?)${this.nestingSuffix}`;this.nestingRegexp=new RegExp(r,"g")}interpolate(t,n,r,s){let i,a,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(v){return v.replace(/\$/g,"$$$$")}const d=v=>{if(v.indexOf(this.formatSeparator)<0){const w=r0(n,c,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(w,void 0,r,{...s,...n,interpolationkey:v}):w}const h=v.split(this.formatSeparator),b=h.shift().trim(),S=h.join(this.formatSeparator).trim();return this.format(r0(n,c,b,this.options.keySeparator,this.options.ignoreJSONStructure),S,r,{...s,...n,interpolationkey:b})};this.resetRegExp();const p=s&&s.missingInterpolationHandler||this.options.missingInterpolationHandler,f=s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>u(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?u(this.escape(v)):u(v)}].forEach(v=>{for(l=0;i=v.regex.exec(t);){const h=i[1].trim();if(a=d(h),a===void 0)if(typeof p=="function"){const S=p(t,i,s);a=typeof S=="string"?S:""}else if(s&&Object.prototype.hasOwnProperty.call(s,h))a="";else if(f){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=Zb(a));const b=v.safeValue(a);if(t=t.replace(i[0],b),f?(v.regex.lastIndex+=a.length,v.regex.lastIndex-=i[0].length):v.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,i,a;function l(c,u){const d=this.nestingOptionsSeparator;if(c.indexOf(d)<0)return c;const p=c.split(new RegExp(`${d}[ ]*{`));let f=`{${p[1]}`;c=p[0],f=this.interpolate(f,a);const g=f.match(/'/g),v=f.match(/"/g);(g&&g.length%2===0&&!v||v.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),u&&(a={...u,...a})}catch(h){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,h),`${c}${d}${f}`}return delete a.defaultValue,c}for(;s=this.nestingRegexp.exec(t);){let c=[];a={...r},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const d=s[1].split(this.formatSeparator).map(p=>p.trim());s[1]=d.shift(),c=d,u=!0}if(i=n(l.call(this,s[1].trim(),a),a),i&&s[0]===t&&typeof i!="string")return i;typeof i!="string"&&(i=Zb(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${t}`),i=""),u&&(i=c.reduce((d,p)=>this.format(d,p,r.lng,{...r,interpolationkey:s[1].trim()}),i.trim())),t=t.replace(s[0],i),this.regexp.lastIndex=0}return t}}function I9(e){let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const s=r[1].substring(0,r[1].length-1);t==="currency"&&s.indexOf(":")<0?n.currency||(n.currency=s.trim()):t==="relativetime"&&s.indexOf(":")<0?n.range||(n.range=s.trim()):s.split(";").forEach(a=>{if(!a)return;const[l,...c]=a.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,"");n[l.trim()]||(n[l.trim()]=u),u==="false"&&(n[l.trim()]=!1),u==="true"&&(n[l.trim()]=!0),isNaN(u)||(n[l.trim()]=parseInt(u,10))})}return{formatName:t,formatOptions:n}}function Yr(e){const t={};return function(r,s,i){const a=s+JSON.stringify(i);let l=t[a];return l||(l=e(fl(s),i),t[a]=l),l(r)}}class D9{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=ao.create("formatter"),this.options=t,this.formats={number:Yr((n,r)=>{const s=new Intl.NumberFormat(n,{...r});return i=>s.format(i)}),currency:Yr((n,r)=>{const s=new Intl.NumberFormat(n,{...r,style:"currency"});return i=>s.format(i)}),datetime:Yr((n,r)=>{const s=new Intl.DateTimeFormat(n,{...r});return i=>s.format(i)}),relativetime:Yr((n,r)=>{const s=new Intl.RelativeTimeFormat(n,{...r});return i=>s.format(i,r.range||"day")}),list:Yr((n,r)=>{const s=new Intl.ListFormat(n,{...r});return i=>s.format(i)})},this.init(t)}init(t){const r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=Yr(n)}format(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return n.split(this.formatSeparator).reduce((l,c)=>{const{formatName:u,formatOptions:d}=I9(c);if(this.formats[u]){let p=l;try{const f=s&&s.formatParams&&s.formatParams[s.interpolationkey]||{},g=f.locale||f.lng||s.locale||s.lng||r;p=this.formats[u](l,g,{...d,...s,...f})}catch(f){this.logger.warn(f)}return p}else this.logger.warn(`there was no format function for ${u}`);return l},t)}}function N9(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class j9 extends ul{constructor(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=s,this.logger=ao.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&&this.backend.init&&this.backend.init(r,s.backend,s)}queueLoad(t,n,r,s){const i={},a={},l={},c={};return t.forEach(u=>{let d=!0;n.forEach(p=>{const f=`${u}|${p}`;!r.reload&&this.store.hasResourceBundle(u,p)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,d=!1,a[f]===void 0&&(a[f]=!0),i[f]===void 0&&(i[f]=!0),c[p]===void 0&&(c[p]=!0)))}),d||(l[u]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(t,n,r){const s=t.split("|"),i=s[0],a=s[1];n&&this.emit("failedLoading",i,a,n),r&&this.store.addResourceBundle(i,a,r),this.state[t]=n?-1:2;const l={};this.queue.forEach(c=>{x9(c.loaded,[i],a),N9(c,t),n&&c.errors.push(n),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const d=c.loaded[u];d.length&&d.forEach(p=>{l[u][p]===void 0&&(l[u][p]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(t,n,r){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:s,wait:i,callback:a});return}this.readingCalls++;const l=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(u&&d&&s<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,s+1,i*2,a)},i);return}a(u,d)},c=this.backend[r].bind(this.backend);if(c.length===2){try{const u=c(t,n);u&&typeof u.then=="function"?u.then(d=>l(null,d)).catch(l):l(null,u)}catch(u){l(u)}return}return c(t,n,l)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof n=="string"&&(n=[n]);const i=this.queueLoad(t,n,r,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(a=>{this.loadOne(a)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),s=r[0],i=r[1];this.read(s,i,"read",void 0,void 0,(a,l)=>{a&&this.logger.warn(`${n}loading namespace ${i} for language ${s} failed`,a),!a&&l&&this.logger.log(`${n}loaded namespace ${i} for language ${s}`,l),this.loaded(t,a,l)})}saveMissing(t,n,r,s,i){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the 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!!!");return}if(!(r==null||r==="")){if(this.backend&&this.backend.create){const c={...a,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(t,n,r,s,c):d=u(t,n,r,s),d&&typeof d.then=="function"?d.then(p=>l(null,p)).catch(l):l(null,d)}catch(d){l(d)}else u(t,n,r,s,l,c)}!t||!t[0]||this.store.addResource(t[0],n,r,s)}}}function s0(){return{debug:!1,initImmediate:!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:function(t){let n={};if(typeof t[1]=="object"&&(n=t[1]),typeof t[1]=="string"&&(n.defaultValue=t[1]),typeof t[2]=="string"&&(n.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const r=t[3]||t[2];Object.keys(r).forEach(s=>{n[s]=r[s]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function i0(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function gl(){}function A9(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})}class ui extends ul{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=i0(t),this.services={},this.logger=ao,this.modules={external:[]},A9(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;typeof n=="function"&&(r=n,n={}),!n.defaultNS&&n.defaultNS!==!1&&n.ns&&(typeof n.ns=="string"?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const s=s0();this.options={...s,...this.options,...i0(n)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...s.interpolation,...this.options.interpolation}),n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);function i(d){return d?typeof d=="function"?new d:d:null}if(!this.options.isClone){this.modules.logger?ao.init(i(this.modules.logger),this.options):ao.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:typeof Intl<"u"&&(d=D9);const p=new n0(this.options);this.store=new Qb(this.options.resources,this.options);const f=this.services;f.logger=ao,f.resourceStore=this.store,f.languageUtils=p,f.pluralResolver=new M9(p,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(f.formatter=i(d),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new k9(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new j9(i(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(g){for(var v=arguments.length,h=new Array(v>1?v-1:0),b=1;b<v;b++)h[b-1]=arguments[b];t.emit(g,...h)}),this.modules.languageDetector&&(f.languageDetector=i(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=i(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new ml(this.services,this.options),this.translator.on("*",function(g){for(var v=arguments.length,h=new Array(v>1?v-1:0),b=1;b<v;b++)h[b-1]=arguments[b];t.emit(g,...h)}),this.modules.external.forEach(g=>{g.init&&g.init(this)})}if(this.format=this.options.interpolation.format,r||(r=gl),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return t.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return t.store[d](...arguments),t}});const c=ci(),u=()=>{const d=(p,f)=>{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),c.resolve(f),r(p,f)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),c}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gl;const s=typeof t=="string"?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(s&&s.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const i=[],a=l=>{if(!l||l==="cimode")return;this.services.languageUtils.toResolveHierarchy(l).forEach(u=>{u!=="cimode"&&i.indexOf(u)<0&&i.push(u)})};s?a(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>a(c)),this.options.preload&&this.options.preload.forEach(l=>a(l)),this.services.backendConnector.load(i,this.options.ns,l=>{!l&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(l)})}else r(null)}reloadResources(t,n,r){const s=ci();return t||(t=this.languages),n||(n=this.options.ns),r||(r=gl),this.services.backendConnector.reload(t,n,i=>{s.resolve(),r(i)}),s}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&e0.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const s=ci();this.emit("languageChanging",t);const i=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},a=(c,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return r.t(...arguments)}),n&&n(c,function(){return r.t(...arguments)})},l=c=>{!t&&!c&&this.services.languageDetector&&(c=[]);const u=typeof c=="string"?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(u)),this.loadResources(u,d=>{a(d,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(t),s}getFixedT(t,n,r){var s=this;const i=function(a,l){let c;if(typeof l!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),p=2;p<u;p++)d[p-2]=arguments[p];c=s.options.overloadTranslationOptionHandler([a,l].concat(d))}else c={...l};c.lng=c.lng||i.lng,c.lngs=c.lngs||i.lngs,c.ns=c.ns||i.ns,c.keyPrefix=c.keyPrefix||r||i.keyPrefix;const f=s.options.keySeparator||".";let g;return c.keyPrefix&&Array.isArray(a)?g=a.map(v=>`${c.keyPrefix}${f}${v}`):g=c.keyPrefix?`${c.keyPrefix}${f}${a}`:a,s.t(g,c)};return typeof t=="string"?i.lng=t:i.lngs=t,i.ns=n,i.keyPrefix=r,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const a=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===2};if(n.precheck){const l=n.precheck(this,a);if(l!==void 0)return l}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!s||a(i,t)))}loadNamespaces(t,n){const r=ci();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{r.resolve(),n&&n(s)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=ci();typeof t=="string"&&(t=[t]);const s=this.options.preload||[],i=t.filter(a=>s.indexOf(a)<0);return i.length?(this.options.preload=s.concat(i),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["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"],r=this.services&&this.services.languageUtils||new n0(s0());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new ui(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gl;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const s={...this.options,...t,isClone:!0},i=new ui(s);return(t.debug!==void 0||t.prefix!==void 0)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new Qb(this.store.data,s),i.services.resourceStore=i.store),i.translator=new ml(i.services,s),i.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),d=1;d<c;d++)u[d-1]=arguments[d];i.emit(l,...u)}),i.init(s,n),i.translator.options=s,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const pn=ui.createInstance();pn.createInstance=ui.createInstance,pn.createInstance,pn.dir,pn.init,pn.loadResources,pn.reloadResources,pn.use,pn.changeLanguage,pn.getFixedT;const di=pn.t;pn.exists,pn.setDefaultNamespace,pn.hasLoadedNamespace,pn.loadNamespaces,pn.loadLanguages;const a0=()=>{const e=Nt();return m.jsxs(rn,{direction:"row",justifyContent:"space-between",alignItems:"center",useFlexGap:!0,sx:{borderTop:"1px solid #E7E6E4",width:"1256px",height:"116px",margin:"auto",marginTop:"80px"},children:[m.jsxs(rn,{direction:"row",alignItems:"center",children:[m.jsx(Fn,{component:v9,sx:{width:"110px",height:"36px",flexShrink:"0",marginRight:"56px"},viewBox:"0 0 110 36"}),m.jsxs(rn,{direction:"row",justifyContent:"space-between",useFlexGap:!0,sx:{},gap:"32px",children:[m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Official website")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Group")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Legal mentions")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Terms and conditions")}),m.jsx(tr,{href:"#",sx:e.typography["body-bold"],underline:"hover",children:di("Contact")})]})]}),m.jsx(at,{sx:e.typography["body-light"],children:"©positive - 2022"})]})},F9=Object.freeze(Object.defineProperty({__proto__:null,Footer:a0},Symbol.toStringTag,{value:"Module"})),V9=Object.freeze(Object.defineProperty({__proto__:null,BaseTemplate:e=>{const t=[{icon:m.jsx(Fn,{component:u9}),link:"",isCurrent:!0},{icon:m.jsx(Fn,{component:d9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:m9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:g9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:f9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:p9}),link:"",isCurrent:!1},{icon:m.jsx(Fn,{component:h9}),link:"",isCurrent:!1}];return m.jsxs(rn,{direction:"row",spacing:0,useFlexGap:!0,justifyContent:"center",children:[m.jsx(Kb,{links:t}),m.jsx(at,{sx:{backgroundColor:"black",width:"100%",height:"100vh",display:"block"},children:m.jsxs(at,{sx:{height:"100vh",backgroundColor:"#F6F5F3",borderRadius:"15px 0px 0px 0px",display:"block",padding:"40px 52px 40px 52px"},children:[e.children,m.jsx(a0,{})]})})]})}},Symbol.toStringTag,{value:"Module"})),l0=e=>{const{text:t}=e;return m.jsx("div",{style:{backgroundColor:"#EFEDEC",height:"30px",display:"flex",justifyContent:"center",alignItems:"center",width:"fit-content",borderRadius:"5px"},children:m.jsx(ut,{variant:"body",style:{marginInline:"10px"},children:t})})},L9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",border:`2px dashed ${Qe[800]}`,borderRadius:"8px",background:Qe[200]},children:e.children}),z9=e=>{const{children:t}=e;return t?m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px",alignItems:"center",backgroundColor:"#FFF6E8",padding:"40px",border:"1px solid #FBD68B",borderRadius:"16px"},children:t.map(n=>m.jsx(ce.Fragment,{children:m.jsx("div",{style:{width:"100%"},children:n})},`infobox-${n.key}-${Math.random()}`))}):null},B9=e=>{const{isFirst:t=!1,isLast:n=!1}=e;return m.jsx("div",{style:{border:`1px solid ${Qe[500]}`,borderTopLeftRadius:t?"8px":"0px",borderTopRightRadius:t?"8px":"0px",borderBottomLeftRadius:n?"8px":"0px",borderBottomRightRadius:n?"8px":"0px",boxShadow:"0px 2px 8px 0px #2A2B270A"},children:e.children})},H9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",borderLeft:`1px solid ${Qe[500]}`,paddingLeft:"2rem"},children:e.data}),U9=e=>m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"5px",height:"fit-content",padding:"1rem",border:`1px solid ${Qe[800]}`,borderRadius:"8px",background:Qe[200]},children:e.children}),ed=e=>C.createElement("svg",{width:18,height:18,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M1.72408 17.7605L0.239258 16.2756L7.51503 8.99985L0.239258 1.72409L1.72408 0.239258L8.99986 7.51503L16.2756 0.239258L17.7605 1.72409L10.4847 8.99985L17.7605 16.2756L16.2756 17.7605L8.99986 10.4847L1.72408 17.7605Z",fill:"#393A36"})),W9=e=>{const{children:t}=e,[n,r]=ce.useState(!0),s=Array.isArray(t)?t:[t];return m.jsxs("div",{style:{display:n?"flex":"none",flexDirection:"row",gap:"10px",alignItems:"center",backgroundColor:"#FFF6E8",padding:"1rem 0 1rem 1rem",border:"1px solid #FBD68B",borderRadius:"16px"},children:[m.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px",width:"100%"},children:s.map(i=>m.jsx(ce.Fragment,{children:m.jsx("div",{style:{width:"100%"},children:i})},`infobox-${i.key}`))}),m.jsx("div",{style:{minWidth:"40px"},children:m.jsx(Wt,{variant:"text",startIcon:m.jsx(ed,{}),onClick:()=>r(!1),disableRipple:!0})})]})},G9=Object.freeze(Object.defineProperty({__proto__:null,Button:e=>m.jsx(Wt,{variant:e.variant,sx:{mt:"2rem",borderBottomLeftRadius:"20px",borderBottomRightRadius:"20px",borderTopLeftRadius:"20px",borderTopRightRadius:"20px",textTransform:"none",fontWeight:"700"},href:e.href,children:e.children})},Symbol.toStringTag,{value:"Module"})),c0=oe(IM)(()=>({textTransform:"capitalize",border:`1px solid ${Qe[500]}`,background:Qe.gradientLight,color:Qe[2800],"&.Mui-selected":{color:"#FFFFFF",background:Qe.gradientDark,"&:hover":{color:"#FFFFFF",background:Qe.gradientDark}},"&:disabled":{border:`1px solid ${Qe[100]}`,background:Qe[500]},"&:hover":{border:`1px solid ${Qe[500]}`,background:Qe[400]}})),q9=Object.freeze(Object.defineProperty({__proto__:null,CustomToggleButton:c0,TertiaryToggleButtons:e=>{const[t,n]=ce.useState(null),r=s=>{var i;if((i=e.onClick)==null||i.call(e,s),s===t){n(null);return}n(s)};return m.jsx("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"1rem"},children:e.choices.map((s,i)=>m.jsx(c0,{value:i,onClick:()=>r(i),selected:i===t,children:m.jsx(ut,{variant:"big-bold",color:"inherit",children:s})},`${i}-button-toggle-${s}`))})}},Symbol.toStringTag,{value:"Module"})),Y9=e=>C.createElement("svg",{width:12,height:12,viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M8.41251 6.41666H2V5.58334H8.41251L5.4125 2.58333L6 2L10 6L6 10L5.4125 9.41668L8.41251 6.41666Z",fill:"#393A36"})),u0=e=>{const{texts:t}=e;if(t.length===0)return null;const n=t.length-1;return m.jsx("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:t.map((r,s)=>m.jsxs(ce.Fragment,{children:[m.jsx(ut,{variant:"body",children:r}),n!==s&&m.jsx("div",{style:{marginInline:"5px"},children:m.jsx(Y9,{})})]},`text-arrow-${Math.random()}`))})},d0=e=>{const{title:t,titleSize:n,icon:r}=e,i=n||"h1";return m.jsxs(ut,{variant:i,style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"5px"},children:[r,t]})},K9=e=>{const{title:t,titleSize:n,icon:r}=e,i=n||"h1";return m.jsxs(ut,{variant:i,style:{display:"flex",flexDirection:"row",alignItems:"center",gap:"5px"},children:[m.jsx("div",{style:{width:"40px",height:"40px",borderRadius:"25px",backgroundColor:Qe[400],display:"flex",justifyContent:"center",alignItems:"center"},children:r}),t]})},Z9=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("rect",{x:1,y:1,width:18,height:18,rx:3,fill:"white"}),C.createElement("rect",{x:1,y:1,width:18,height:18,rx:3,stroke:"#D1CFCE",strokeWidth:2})),X9=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("rect",{width:20,height:20,rx:4,fill:"url(#paint0_linear_2034_7850)"}),C.createElement("path",{d:"M8.32244 13.9335L4.56689 10.178L5.36133 9.38351L8.32244 12.3446L14.628 6.03906L15.4224 6.83351L8.32244 13.9335Z",fill:"white"}),C.createElement("defs",null,C.createElement("linearGradient",{id:"paint0_linear_2034_7850",x1:7.58928,y1:755124e-13,x2:7.58928,y2:20,gradientUnits:"userSpaceOnUse"},C.createElement("stop",{stopColor:"#484945"}),C.createElement("stop",{offset:1,stopColor:"#2A2B27"})))),hl=(e,t,n)=>{const r=e.filter(i=>{const a=t[i.name];return t[i.name]=!1,!!a});return Object.entries(t).reduce((i,[a,l])=>{if(l){const c=n(a);i.push(c)}return i},r)},No=(e,t)=>{const n={},r=e.reduce((i,a)=>(i[a.name]=!0,i),n);return t.reduce((i,a)=>(i[a]===void 0&&(i[a]=!1),i),r)},J9=oe(Xs)(()=>({":hover":{background:Qe[400]}})),pi=e=>{const{values:t,...n}=e,{onChange:r,...s}=n,i=Object.entries(t);return m.jsx(n4,{children:i.map(([a,l],c)=>m.jsx(tv,{control:m.jsx(J9,{...s,checkedIcon:m.jsx(X9,{}),icon:m.jsx(Z9,{}),disableRipple:!0,onChange:(u,d)=>{var g;const p=(g=u.target.labels)==null?void 0:g[0],f=p==null?void 0:p.textContent;f&&r(f,d)}}),sx:{gap:"1rem"},label:a,checked:l},`${a}-${c}`))})},fi=e=>{const{t}=wn(),{isOpen:n,setOpen:r,options:s}=e,{canValidate:i=!0}=e,a=()=>r(!1),l=()=>{e.onCancel&&e.onCancel(),a()},c=()=>{a(),e.onValidate&&e.onValidate()};return m.jsxs(Wh,{onClose:l,open:n,fullWidth:!0,maxWidth:"sm",children:[m.jsxs(kP,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:`1px solid ${Qe[500]}`,minHeight:"68px"},children:[s.title,m.jsx(Wt,{variant:"text",endIcon:m.jsx(ed,{}),onClick:l})]}),s.content,m.jsxs(qh,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",borderTop:`1px solid ${Qe[500]}`,minHeight:"68px",paddingInline:"1rem"},children:[m.jsx(Wt,{variant:"text",onClick:l,children:t("Annuler")}),m.jsx(Wt,{variant:"primary",onClick:c,disabled:!i,children:t("Valider")})]})]})},Q9=e=>{const{t}=wn(),{isOpen:n,setOpen:r,currentConsumptions:s,allConsumptions:i}=e,a=No(s,i),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(s,i);c(p)},[s,i]);const u=m.jsx(ut,{variant:"big-bold",children:t("Ajouter un emballage")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(s,l,f=>({name:f}));e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},ek=e=>({name:e,weight:0,unit:"g",recycledPart:0}),tk=e=>{const{t}=wn(),{isOpen:n,setOpen:r,packaging:s}=e,i=ce.useMemo(()=>(s==null?void 0:s.items)??[],[s]),a=No(i,e.allMaterials),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(i,e.allMaterials);c(p)},[i,e.allMaterials]);const u=m.jsx(ut,{variant:"h3",children:t("Ajouter un matériau")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return s===null?null:m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(i,l,ek);e.onValidate({...s,items:p})},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},nk=e=>({name:e,weight:0,items:[]}),ok=e=>{const{t}=wn(),{isOpen:n,setOpen:r,currentPackagings:s,allPackagings:i}=e,a=No(s,i),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(s,i);c(p)},[s,i]);const u=m.jsx(ut,{variant:"big-bold",children:t("Ajouter un emballage")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(s,l,nk);e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},rk=e=>({name:e,id:0,weight:0}),sk=e=>{const{t}=wn(),{isOpen:n,setOpen:r,allTransformations:s,currentTransformations:i}=e,a=No(i,s),[l,c]=ce.useState(a);ce.useEffect(()=>{const p=No(i,s);c(p)},[i,s]);const u=m.jsx(ut,{variant:"big-bold",children:t("Sélectionner vos processus de transformations")}),d=m.jsx("div",{style:{padding:"1.5rem"},children:m.jsx(pi,{values:l,onChange:(p,f)=>{const g={...l,[p]:f};c(g)}})});return m.jsx(fi,{isOpen:n,setOpen:r,options:{title:u,content:d},onValidate:()=>{const p=hl(i,l,rk);e.onValidate(p)},onCancel:()=>{c(a)},canValidate:Object.values(l).includes(!0)})},ik=oe(qa)(({theme:e})=>({fontFamily:e.typography.fontFamily,...e.typography.body})),vl=e=>{const{sx:t,...n}=e;return m.jsx(ik,{...n,sx:{color:"#393A36",border:"1px solid #A3A2A0",borderRadius:"16px",paddingInline:"20px",...t}})},ak=e=>{const{title:t,unit:n,placeholder:r,value:s,description:i,...a}=e;return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[t," :"]}),m.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"5px"},children:[m.jsx(vl,{type:"number",style:{minWidth:"150px",width:"10%"},placeholder:r,value:s,...a}),m.jsx(ut,{variant:"body",children:n})]}),m.jsx(ut,{variant:"body-light",children:i})]})};function lk(e){const{title:t,placeholder:n,value:r,description:s,...i}=e;return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[t," :"]}),m.jsx(vl,{style:{width:"70%"},placeholder:n,value:r,...i}),m.jsx(ut,{variant:"body-light",children:s})]})}const p0=e=>C.createElement("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},C.createElement("path",{d:"M9.30552 10.6948H4.16663V9.30589H9.30552V4.16699H10.6944V9.30589H15.8333V10.6948H10.6944V15.8337H9.30552V10.6948Z",fill:"#B06803"}));function f0(e){return e.variant==="themed"?m.jsx(ck,{...e}):e.variant==="headless"?m.jsx(m0,{...e}):m.jsx(m0,{...e,variant:"themed"})}function ck(e){return m.jsx(Qa,{open:e.open,anchorEl:e.anchor,onClose:e.onClose,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},PaperProps:{sx:{padding:"24px 20px",borderRadius:"12px",marginTop:1.5,overflow:"visible",boxShadow:"0px 4px 20px 0px rgba(81, 78, 78, 0.12)",border:"1px solid #E7E6E4","&:before":{content:'""',display:"block",position:"absolute",top:-15,right:15,width:0,height:0,borderLeft:"15px solid transparent",borderRight:"15px solid transparent",borderBottom:"15px solid #E7E6E4",zIndex:0}}},children:e.children})}function m0(e){return m.jsx(Qa,{open:e.open,anchorEl:e.anchor,onClose:e.onClose,transformOrigin:{horizontal:"right",vertical:"top"},anchorOrigin:{horizontal:"right",vertical:"bottom"},PaperProps:{sx:{borderRadius:"12px"}},children:e.children})}function g0(e){return m.jsxs(at,{component:"div",sx:{background:"white",width:e.width??"376px",borderRadius:"12px",border:"1px solid #E7E6E4",boxShadow:"0px 4px 20px 0px rgba(81, 78, 78, 0.12)"},children:[m.jsxs(rn,{direction:"row",useFlexGap:!0,alignContent:"center",justifyContent:"space-between",sx:{padding:"18px 16px"},children:[e.headerIcon??m.jsx(UM,{}),m.jsx(ut,{variant:"popover-header",sx:{height:"24px"},children:e.headerText}),m.jsx(Ft,{sx:{padding:"0"},onClick:e.onClose,children:m.jsx(BM,{})})]}),m.jsx(er,{}),m.jsx(at,{sx:{padding:"24px",height:"420px",overflow:"auto"},children:e.children}),e.bottomActions&&m.jsx(uk,{onCancel:e.onCancel,onValidate:e.onValidate})]})}function uk(e){const{t}=wn();return m.jsxs(m.Fragment,{children:[m.jsx(er,{}),m.jsxs(rn,{direction:"row",useFlexGap:!0,justifyContent:"space-between",alignItems:"center",sx:{padding:"20px 32px"},children:[m.jsx(Wt,{variant:"text",onClick:e.onCancel,children:t("Annuler")}),m.jsx(Wt,{variant:"primary",onClick:e.onValidate,children:t("Valider")})]})]})}const dk=["chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait","chocolat","Fruits","Vegan","Lait"],pk=e=>{const{t}=wn(),{title:n,tiles:r,description:s,addAction:i,product:a}=e,[l,c]=ce.useState(null),u=!!l;function d(f,g){var h,b,S;const v={...a};if(g===!0)(h=v.tags)==null||h.push(f);else{const w=(b=v.tags)==null?void 0:b.indexOf(f);w!=null&&((S=v.tags)==null||S.splice(w,1))}i(v)}const p=m.jsx(ut,{variant:"body-light",children:s});return m.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:[m.jsxs(ut,{variant:"h5",children:[n," :"]}),m.jsx("div",{style:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"0.5rem"},children:r.map(f=>m.jsx(ce.Fragment,{children:m.jsx(l0,{text:f})},`product-cat-${f}`))}),p,m.jsx(f0,{open:u,anchor:l,onClose:()=>c(null),anchorPosition:"rightside",variant:"headless",children:m.jsx(g0,{headerText:"Ajouter des catégories",onClose:()=>c(null),children:dk.map((f,g)=>{var h;const v=(h=a.tags)==null?void 0:h.includes(f);return m.jsxs(rn,{direction:"row",alignItems:"center",children:[m.jsx(Xs,{checked:v,onChange:(b,S)=>d(f,S)}),f]},g)})})}),m.jsx(Wt,{id:"add-category-anchor",variant:"text",startIcon:m.jsx(p0,{}),onClick:f=>c(f.currentTarget),style:{alignSelf:"start"},children:t("Ajouter d'autres catégories")})]})};function h0(e){const t=Nt(),n={height:"40px",padding:"0px 6px 0px 20px",...t.custom.searchBox,minWidth:"350px"},r={height:"20px",padding:"0px",width:"100%","&>.MuiInputBase-root>fieldset":{border:"none"},"&>.MuiInputBase-root>input":{padding:"0"}},s={height:"48px",padding:"0px 16px 0px 24px",borderTop:"1px solid "+t.custom.grey[500],borderBottom:"1px solid "+t.custom.grey[500],background:t.custom.grey[200]},i={"&>.MuiInputBase-root>fieldset":{border:"none"},"&>.MuiInputBase-root>input":{width:"100%",height:"48px",padding:"0",border:"none"}};return m.jsxs(rn,{direction:"row",useFlexGap:!0,gap:"10px",justifyContent:"space-between",alignItems:"center",sx:e.variant==="standalone"?n:s,children:[m.jsx(or,{label:"",type:"search",placeholder:e.placeholder,value:e.value,onChange:a=>{e.onChange(a.target.value)},sx:e.variant==="standalone"?r:i}),m.jsx(qM,{})]})}function fk(e){const t=new Error(e);if(t.stack===void 0)try{throw t}catch{}return t}var mk=fk,st=mk;function gk(e){return!!e&&typeof e.then=="function"}var Vt=gk;function hk(e,t){if(e!=null)return e;throw st(t??"Got unexpected null or undefined")}var Ut=hk;function dt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class bl{getValue(){throw st("BaseLoadable")}toPromise(){throw st("BaseLoadable")}valueMaybe(){throw st("BaseLoadable")}valueOrThrow(){throw st(`Loadable expected value, but in "${this.state}" state`)}promiseMaybe(){throw st("BaseLoadable")}promiseOrThrow(){throw st(`Loadable expected promise, but in "${this.state}" state`)}errorMaybe(){throw st("BaseLoadable")}errorOrThrow(){throw st(`Loadable expected error, but in "${this.state}" state`)}is(t){return t.state===this.state&&t.contents===this.contents}map(t){throw st("BaseLoadable")}}class vk extends bl{constructor(t){super(),dt(this,"state","hasValue"),dt(this,"contents",void 0),this.contents=t}getValue(){return this.contents}toPromise(){return Promise.resolve(this.contents)}valueMaybe(){return this.contents}valueOrThrow(){return this.contents}promiseMaybe(){}errorMaybe(){}map(t){try{const n=t(this.contents);return Vt(n)?rr(n):Kr(n)?n:mi(n)}catch(n){return Vt(n)?rr(n.next(()=>this.map(t))):yl(n)}}}class bk extends bl{constructor(t){super(),dt(this,"state","hasError"),dt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return Promise.reject(this.contents)}valueMaybe(){}promiseMaybe(){}errorMaybe(){return this.contents}errorOrThrow(){return this.contents}map(t){return this}}class v0 extends bl{constructor(t){super(),dt(this,"state","loading"),dt(this,"contents",void 0),this.contents=t}getValue(){throw this.contents}toPromise(){return this.contents}valueMaybe(){}promiseMaybe(){return this.contents}promiseOrThrow(){return this.contents}errorMaybe(){}map(t){return rr(this.contents.then(n=>{const r=t(n);if(Kr(r)){const s=r;switch(s.state){case"hasValue":return s.contents;case"hasError":throw s.contents;case"loading":return s.contents}}return r}).catch(n=>{if(Vt(n))return n.then(()=>this.map(t).contents);throw n}))}}function mi(e){return Object.freeze(new vk(e))}function yl(e){return Object.freeze(new bk(e))}function rr(e){return Object.freeze(new v0(e))}function b0(){return Object.freeze(new v0(new Promise(()=>{})))}function yk(e){return e.every(t=>t.state==="hasValue")?mi(e.map(t=>t.contents)):e.some(t=>t.state==="hasError")?yl(Ut(e.find(t=>t.state==="hasError"),"Invalid loadable passed to loadableAll").contents):rr(Promise.all(e.map(t=>t.contents)))}function y0(e){const n=(Array.isArray(e)?e:Object.getOwnPropertyNames(e).map(s=>e[s])).map(s=>Kr(s)?s:Vt(s)?rr(s):mi(s)),r=yk(n);return Array.isArray(e)?r:r.map(s=>Object.getOwnPropertyNames(e).reduce((i,a,l)=>({...i,[a]:s[l]}),{}))}function Kr(e){return e instanceof bl}var sr={loadableWithValue:mi,loadableWithError:yl,loadableWithPromise:rr,loadableLoading:b0,loadableAll:y0,isLoadable:Kr,RecoilLoadable:{of:e=>Vt(e)?rr(e):Kr(e)?e:mi(e),error:e=>yl(e),loading:()=>b0(),all:y0,isLoadable:Kr}},xk=sr.loadableWithValue,Ck=sr.loadableWithError,Sk=sr.loadableWithPromise,wk=sr.loadableLoading,Tk=sr.loadableAll,Rk=sr.isLoadable,Ek=sr.RecoilLoadable,gi=Object.freeze({__proto__:null,loadableWithValue:xk,loadableWithError:Ck,loadableWithPromise:Sk,loadableLoading:wk,loadableAll:Tk,isLoadable:Rk,RecoilLoadable:Ek});const td={RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED:!0,RECOIL_GKS_ENABLED:new Set(["recoil_hamt_2020","recoil_sync_external_store","recoil_suppress_rerender_in_callback","recoil_memory_managament_2020"])};function Ok(e,t){var n,r;const s=(n=process.env[e])===null||n===void 0||(r=n.toLowerCase())===null||r===void 0?void 0:r.trim();if(s==null||s==="")return;if(!["true","false"].includes(s))throw st(`process.env.${e} value must be 'true', 'false', or empty: ${s}`);t(s==="true")}function Pk(e,t){var n;const r=(n=process.env[e])===null||n===void 0?void 0:n.trim();r==null||r===""||t(r.split(/\s*,\s*|\s+/))}function _k(){var e;typeof process>"u"||((e=process)===null||e===void 0?void 0:e.env)!=null&&(Ok("RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED",t=>{td.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED=t}),Pk("RECOIL_GKS_ENABLED",t=>{t.forEach(n=>{td.RECOIL_GKS_ENABLED.add(n)})}))}_k();var Zr=td;function xl(e){return Zr.RECOIL_GKS_ENABLED.has(e)}xl.setPass=e=>{Zr.RECOIL_GKS_ENABLED.add(e)},xl.setFail=e=>{Zr.RECOIL_GKS_ENABLED.delete(e)},xl.clear=()=>{Zr.RECOIL_GKS_ENABLED.clear()};var Lt=xl;function $k(e,t,{error:n}={}){return process.env.NODE_ENV!=="production"&&console.error(e,n),null}var Mk=$k,sn=Mk,nd,od,rd;const kk=(nd=ce.createMutableSource)!==null&&nd!==void 0?nd:ce.unstable_createMutableSource,x0=(od=ce.useMutableSource)!==null&&od!==void 0?od:ce.unstable_useMutableSource,sd=(rd=ce.useSyncExternalStore)!==null&&rd!==void 0?rd:ce.unstable_useSyncExternalStore;let C0=!1;function Ik(){var e;const{ReactCurrentDispatcher:t,ReactCurrentOwner:n}=ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s=((e=t==null?void 0:t.current)!==null&&e!==void 0?e:n.currentDispatcher).useSyncExternalStore!=null;return sd&&!s&&!C0&&(C0=!0,sn("A React renderer without React 18+ API support is being used with React 18+.")),s}function Dk(){return Lt("recoil_transition_support")?{mode:"TRANSITION_SUPPORT",early:!0,concurrent:!0}:Lt("recoil_sync_external_store")&&sd!=null?{mode:"SYNC_EXTERNAL_STORE",early:!0,concurrent:!1}:Lt("recoil_mutable_source")&&x0!=null&&typeof window<"u"&&!window.$disableRecoilValueMutableSource_TEMP_HACK_DO_NOT_USE?Lt("recoil_suppress_rerender_in_callback")?{mode:"MUTABLE_SOURCE",early:!0,concurrent:!0}:{mode:"MUTABLE_SOURCE",early:!1,concurrent:!1}:Lt("recoil_suppress_rerender_in_callback")?{mode:"LEGACY",early:!0,concurrent:!1}:{mode:"LEGACY",early:!1,concurrent:!1}}function Nk(){return!1}var Xr={createMutableSource:kk,useMutableSource:x0,useSyncExternalStore:sd,currentRendererSupportsUseSyncExternalStore:Ik,reactMode:Dk,isFastRefreshEnabled:Nk};class id{constructor(t){dt(this,"key",void 0),this.key=t}toJSON(){return{key:this.key}}}class S0 extends id{}class w0 extends id{}function jk(e){return e instanceof S0||e instanceof w0}var Cl={AbstractRecoilValue:id,RecoilState:S0,RecoilValueReadOnly:w0,isRecoilValue:jk},Ak=Cl.AbstractRecoilValue,Fk=Cl.RecoilState,Vk=Cl.RecoilValueReadOnly,Lk=Cl.isRecoilValue,ir=Object.freeze({__proto__:null,AbstractRecoilValue:Ak,RecoilState:Fk,RecoilValueReadOnly:Vk,isRecoilValue:Lk});function zk(e,...t){let n=0;return e.replace(/%s/g,()=>String(t[n++]))}var Bk=zk;function Hk(e,...t){if(process.env.NODE_ENV!=="production"){const n=Bk.call(null,e,...t),r=new Error(n);r.name="Expectation Violation",console.error(r)}}var Uk=Hk,Sl=Uk;function Wk(e,t){return function*(){let n=0;for(const r of e)yield t(r,n++)}()}var wl=Wk;const{isFastRefreshEnabled:Gk}=Xr;class T0{}const qk=new T0,ar=new Map,ad=new Map;function Yk(e){return wl(e,t=>Ut(ad.get(t)))}function Kk(e){if(ar.has(e)){const t=`Duplicate atom key "${e}". This is a FATAL ERROR in
322
322
  production. But it is safe to ignore this warning if it occurred because of
323
323
  hot module replacement.`;process.env.NODE_ENV!=="production"?Gk()||Sl(t,"recoil"):console.warn(t)}}function Zk(e){Zr.RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED&&Kk(e.key),ar.set(e.key,e);const t=e.set==null?new ir.RecoilValueReadOnly(e.key):new ir.RecoilState(e.key);return ad.set(e.key,t),t}class R0 extends Error{}function Xk(e){const t=ar.get(e);if(t==null)throw new R0(`Missing definition for RecoilValue: "${e}""`);return t}function Jk(e){return ar.get(e)}const Tl=new Map;function Qk(e){var t;if(!Lt("recoil_memory_managament_2020"))return;const n=ar.get(e);if(n!=null&&(t=n.shouldDeleteConfigOnRelease)!==null&&t!==void 0&&t.call(n)){var r;ar.delete(e),(r=E0(e))===null||r===void 0||r(),Tl.delete(e)}}function e8(e,t){Lt("recoil_memory_managament_2020")&&(t===void 0?Tl.delete(e):Tl.set(e,t))}function E0(e){return Tl.get(e)}var Tn={nodes:ar,recoilValues:ad,registerNode:Zk,getNode:Xk,getNodeMaybe:Jk,deleteNodeConfigIfPossible:Qk,setConfigDeletionHandler:e8,getConfigDeletionHandler:E0,recoilValuesForKeys:Yk,NodeMissingError:R0,DefaultValue:T0,DEFAULT_VALUE:qk};function t8(e,t){t()}var n8={enqueueExecution:t8};function o8(e,t){return t={exports:{}},e(t,t.exports),t.exports}var r8=o8(function(e){var t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},n={},r=5,s=Math.pow(2,r),i=s-1,a=s/2,l=s/4,c={},u=function(V){return function(){return V}},d=n.hash=function(I){var V=typeof I>"u"?"undefined":t(I);if(V==="number")return I;V!=="string"&&(I+="");for(var de=0,Ce=0,we=I.length;Ce<we;++Ce){var _e=I.charCodeAt(Ce);de=(de<<5)-de+_e|0}return de},p=function(V){return V-=V>>1&1431655765,V=(V&858993459)+(V>>2&858993459),V=V+(V>>4)&252645135,V+=V>>8,V+=V>>16,V&127},f=function(V,de){return de>>>V&i},g=function(V){return 1<<V},v=function(V,de){return p(V&de-1)},h=function(V,de,Ce,we){var _e=we;if(!V){var Be=we.length;_e=new Array(Be);for(var We=0;We<Be;++We)_e[We]=we[We]}return _e[de]=Ce,_e},b=function(V,de,Ce){var we=Ce.length-1,_e=0,Be=0,We=Ce;if(V)_e=Be=de;else for(We=new Array(we);_e<de;)We[Be++]=Ce[_e++];for(++_e;_e<=we;)We[Be++]=Ce[_e++];return V&&(We.length=we),We},S=function(V,de,Ce,we){var _e=we.length;if(V){for(var Be=_e;Be>=de;)we[Be--]=we[Be];return we[de]=Ce,we}for(var We=0,Ue=0,He=new Array(_e+1);We<de;)He[Ue++]=we[We++];for(He[de]=Ce;We<_e;)He[++Ue]=we[We++];return He},w=1,T=2,R=3,x=4,E={__hamt_isEmpty:!0},O=function(V){return V===E||V&&V.__hamt_isEmpty},_=function(V,de,Ce,we){return{type:w,edit:V,hash:de,key:Ce,value:we,_modify:J}},P=function(V,de,Ce){return{type:T,edit:V,hash:de,children:Ce,_modify:G}},$=function(V,de,Ce){return{type:R,edit:V,mask:de,children:Ce,_modify:A}},j=function(V,de,Ce){return{type:x,edit:V,size:de,children:Ce,_modify:W}},H=function(V){return V===E||V.type===w||V.type===T},D=function(V,de,Ce,we,_e){for(var Be=[],We=we,Ue=0,He=0;We;++He)We&1&&(Be[He]=_e[Ue++]),We>>>=1;return Be[de]=Ce,j(V,Ue+1,Be)},M=function(V,de,Ce,we){for(var _e=new Array(de-1),Be=0,We=0,Ue=0,He=we.length;Ue<He;++Ue)if(Ue!==Ce){var tt=we[Ue];tt&&!O(tt)&&(_e[Be++]=tt,We|=1<<Ue)}return $(V,We,_e)},k=function I(V,de,Ce,we,_e,Be){if(Ce===_e)return P(V,Ce,[Be,we]);var We=f(de,Ce),Ue=f(de,_e);return $(V,g(We)|g(Ue),We===Ue?[I(V,de+r,Ce,we,_e,Be)]:We<Ue?[we,Be]:[Be,we])},B=function(V,de,Ce,we,_e,Be,We,Ue){for(var He=_e.length,tt=0;tt<He;++tt){var xt=_e[tt];if(Ce(We,xt.key)){var pt=xt.value,lt=Be(pt);return lt===pt?_e:lt===c?(--Ue.value,b(V,tt,_e)):h(V,tt,_(de,we,We,lt),_e)}}var jt=Be();return jt===c?_e:(++Ue.value,h(V,He,_(de,we,We,jt),_e))},Y=function(V,de){return V===de.edit},J=function(V,de,Ce,we,_e,Be,We){if(de(Be,this.key)){var Ue=we(this.value);return Ue===this.value?this:Ue===c?(--We.value,E):Y(V,this)?(this.value=Ue,this):_(V,_e,Be,Ue)}var He=we();return He===c?this:(++We.value,k(V,Ce,this.hash,this,_e,_(V,_e,Be,He)))},G=function(V,de,Ce,we,_e,Be,We){if(_e===this.hash){var Ue=Y(V,this),He=B(Ue,V,de,this.hash,this.children,we,Be,We);return He===this.children?this:He.length>1?P(V,this.hash,He):He[0]}var tt=we();return tt===c?this:(++We.value,k(V,Ce,this.hash,this,_e,_(V,_e,Be,tt)))},A=function(V,de,Ce,we,_e,Be,We){var Ue=this.mask,He=this.children,tt=f(Ce,_e),xt=g(tt),pt=v(Ue,xt),lt=Ue&xt,jt=lt?He[pt]:E,et=jt._modify(V,de,Ce+r,we,_e,Be,We);if(jt===et)return this;var ot=Y(V,this),ct=Ue,Ct=void 0;if(lt&&O(et)){if(ct&=~xt,!ct)return E;if(He.length<=2&&H(He[pt^1]))return He[pt^1];Ct=b(ot,pt,He)}else if(!lt&&!O(et)){if(He.length>=a)return D(V,tt,et,Ue,He);ct|=xt,Ct=S(ot,pt,et,He)}else Ct=h(ot,pt,et,He);return ot?(this.mask=ct,this.children=Ct,this):$(V,ct,Ct)},W=function(V,de,Ce,we,_e,Be,We){var Ue=this.size,He=this.children,tt=f(Ce,_e),xt=He[tt],pt=(xt||E)._modify(V,de,Ce+r,we,_e,Be,We);if(xt===pt)return this;var lt=Y(V,this),jt=void 0;if(O(xt)&&!O(pt))++Ue,jt=h(lt,tt,pt,He);else if(!O(xt)&&O(pt)){if(--Ue,Ue<=l)return M(V,Ue,tt,He);jt=h(lt,tt,E,He)}else jt=h(lt,tt,pt,He);return lt?(this.size=Ue,this.children=jt,this):j(V,Ue,jt)};E._modify=function(I,V,de,Ce,we,_e,Be){var We=Ce();return We===c?E:(++Be.value,_(I,we,_e,We))};function N(I,V,de,Ce,we){this._editable=I,this._edit=V,this._config=de,this._root=Ce,this._size=we}N.prototype.setTree=function(I,V){return this._editable?(this._root=I,this._size=V,this):I===this._root?this:new N(this._editable,this._edit,this._config,I,V)};var Z=n.tryGetHash=function(I,V,de,Ce){for(var we=Ce._root,_e=0,Be=Ce._config.keyEq;;)switch(we.type){case w:return Be(de,we.key)?we.value:I;case T:{if(V===we.hash)for(var We=we.children,Ue=0,He=We.length;Ue<He;++Ue){var tt=We[Ue];if(Be(de,tt.key))return tt.value}return I}case R:{var xt=f(_e,V),pt=g(xt);if(we.mask&pt){we=we.children[v(we.mask,pt)],_e+=r;break}return I}case x:{if(we=we.children[f(_e,V)],we){_e+=r;break}return I}default:return I}};N.prototype.tryGetHash=function(I,V,de){return Z(I,V,de,this)};var F=n.tryGet=function(I,V,de){return Z(I,de._config.hash(V),V,de)};N.prototype.tryGet=function(I,V){return F(I,V,this)};var L=n.getHash=function(I,V,de){return Z(void 0,I,V,de)};N.prototype.getHash=function(I,V){return L(I,V,this)},n.get=function(I,V){return Z(void 0,V._config.hash(I),I,V)},N.prototype.get=function(I,V){return F(V,I,this)};var z=n.has=function(I,V,de){return Z(c,I,V,de)!==c};N.prototype.hasHash=function(I,V){return z(I,V,this)};var K=n.has=function(I,V){return z(V._config.hash(I),I,V)};N.prototype.has=function(I){return K(I,this)};var Q=function(V,de){return V===de};n.make=function(I){return new N(0,0,{keyEq:I&&I.keyEq||Q,hash:I&&I.hash||d},E,0)},n.empty=n.make();var X=n.isEmpty=function(I){return I&&!!O(I._root)};N.prototype.isEmpty=function(){return X(this)};var ee=n.modifyHash=function(I,V,de,Ce){var we={value:Ce._size},_e=Ce._root._modify(Ce._editable?Ce._edit:NaN,Ce._config.keyEq,0,I,V,de,we);return Ce.setTree(_e,we.value)};N.prototype.modifyHash=function(I,V,de){return ee(de,I,V,this)};var ie=n.modify=function(I,V,de){return ee(I,de._config.hash(V),V,de)};N.prototype.modify=function(I,V){return ie(V,I,this)};var U=n.setHash=function(I,V,de,Ce){return ee(u(de),I,V,Ce)};N.prototype.setHash=function(I,V,de){return U(I,V,de,this)};var ne=n.set=function(I,V,de){return U(de._config.hash(I),I,V,de)};N.prototype.set=function(I,V){return ne(I,V,this)};var q=u(c),pe=n.removeHash=function(I,V,de){return ee(q,I,V,de)};N.prototype.removeHash=N.prototype.deleteHash=function(I,V){return pe(I,V,this)};var ue=n.remove=function(I,V){return pe(V._config.hash(I),I,V)};N.prototype.remove=N.prototype.delete=function(I){return ue(I,this)};var Ae=n.beginMutation=function(I){return new N(I._editable+1,I._edit+1,I._config,I._root,I._size)};N.prototype.beginMutation=function(){return Ae(this)};var fe=n.endMutation=function(I){return I._editable=I._editable&&I._editable-1,I};N.prototype.endMutation=function(){return fe(this)};var Pe=n.mutate=function(I,V){var de=Ae(V);return I(de),fe(de)};N.prototype.mutate=function(I){return Pe(I,this)};var se=function(V){return V&&ae(V[0],V[1],V[2],V[3],V[4])},ae=function(V,de,Ce,we,_e){for(;Ce<V;){var Be=de[Ce++];if(Be&&!O(Be))return ge(Be,we,[V,de,Ce,we,_e])}return se(_e)},ge=function(V,de,Ce){switch(V.type){case w:return{value:de(V),rest:Ce};case T:case x:case R:var we=V.children;return ae(we.length,we,0,de,Ce);default:return se(Ce)}},De={done:!0};function je(I){this.v=I}je.prototype.next=function(){if(!this.v)return De;var I=this.v;return this.v=se(I.rest),I},je.prototype[Symbol.iterator]=function(){return this};var he=function(V,de){return new je(ge(V._root,de))},ve=function(V){return[V.key,V.value]},Te=n.entries=function(I){return he(I,ve)};N.prototype.entries=N.prototype[Symbol.iterator]=function(){return Te(this)};var Re=function(V){return V.key},xe=n.keys=function(I){return he(I,Re)};N.prototype.keys=function(){return xe(this)};var Le=function(V){return V.value},Ge=n.values=N.prototype.values=function(I){return he(I,Le)};N.prototype.values=function(){return Ge(this)};var Ze=n.fold=function(I,V,de){var Ce=de._root;if(Ce.type===w)return I(V,Ce.value,Ce.key);for(var we=[Ce.children],_e=void 0;_e=we.pop();)for(var Be=0,We=_e.length;Be<We;){var Ue=_e[Be++];Ue&&Ue.type&&(Ue.type===w?V=I(V,Ue.value,Ue.key):we.push(Ue.children))}return V};N.prototype.fold=function(I,V){return Ze(I,V,this)};var ze=n.forEach=function(I,V){return Ze(function(de,Ce,we){return I(Ce,we,V)},null,V)};N.prototype.forEach=function(I){return ze(I,this)};var Ne=n.count=function(I){return I._size};N.prototype.count=function(){return Ne(this)},Object.defineProperty(N.prototype,"size",{get:N.prototype.count}),e.exports?e.exports=n:(void 0).hamt=n});class s8{constructor(t){dt(this,"_map",void 0),this._map=new Map(t==null?void 0:t.entries())}keys(){return this._map.keys()}entries(){return this._map.entries()}get(t){return this._map.get(t)}has(t){return this._map.has(t)}set(t,n){return this._map.set(t,n),this}delete(t){return this._map.delete(t),this}clone(){return cd(this)}toMap(){return new Map(this._map)}}class ld{constructor(t){if(dt(this,"_hamt",r8.empty.beginMutation()),t instanceof ld){const n=t._hamt.endMutation();t._hamt=n.beginMutation(),this._hamt=n.beginMutation()}else if(t)for(const[n,r]of t.entries())this._hamt.set(n,r)}keys(){return this._hamt.keys()}entries(){return this._hamt.entries()}get(t){return this._hamt.get(t)}has(t){return this._hamt.has(t)}set(t,n){return this._hamt.set(t,n),this}delete(t){return this._hamt.delete(t),this}clone(){return cd(this)}toMap(){return new Map(this._hamt)}}function cd(e){return Lt("recoil_hamt_2020")?new ld(e):new s8(e)}var i8={persistentMap:cd},a8=i8.persistentMap,l8=Object.freeze({__proto__:null,persistentMap:a8});function c8(e,...t){const n=new Set;e:for(const r of e){for(const s of t)if(s.has(r))continue e;n.add(r)}return n}var hi=c8;function u8(e,t){const n=new Map;return e.forEach((r,s)=>{n.set(s,t(r,s))}),n}var Rl=u8;function d8(){return{nodeDeps:new Map,nodeToNodeSubscriptions:new Map}}function p8(e){return{nodeDeps:Rl(e.nodeDeps,t=>new Set(t)),nodeToNodeSubscriptions:Rl(e.nodeToNodeSubscriptions,t=>new Set(t))}}function ud(e,t,n,r){const{nodeDeps:s,nodeToNodeSubscriptions:i}=n,a=s.get(e);if(a&&r&&a!==r.nodeDeps.get(e))return;s.set(e,t);const l=a==null?t:hi(t,a);for(const c of l)i.has(c)||i.set(c,new Set),Ut(i.get(c)).add(e);if(a){const c=hi(a,t);for(const u of c){if(!i.has(u))return;const d=Ut(i.get(u));d.delete(e),d.size===0&&i.delete(u)}}}function f8(e,t,n,r){var s,i,a,l;const c=n.getState();r===c.currentTree.version||r===((s=c.nextTree)===null||s===void 0?void 0:s.version)||r===((i=c.previousTree)===null||i===void 0?void 0:i.version)||sn("Tried to save dependencies to a discarded tree");const u=n.getGraph(r);if(ud(e,t,u),r===((a=c.previousTree)===null||a===void 0?void 0:a.version)){const p=n.getGraph(c.currentTree.version);ud(e,t,p,u)}if(r===((l=c.previousTree)===null||l===void 0?void 0:l.version)||r===c.currentTree.version){var d;const p=(d=c.nextTree)===null||d===void 0?void 0:d.version;if(p!==void 0){const f=n.getGraph(p);ud(e,t,f,u)}}}var bi={cloneGraph:p8,graph:d8,saveDepsToStore:f8};let m8=0;const g8=()=>m8++;let h8=0;const v8=()=>h8++;let b8=0;var El={getNextTreeStateVersion:g8,getNextStoreID:v8,getNextComponentID:()=>b8++};const{persistentMap:O0}=l8,{graph:y8}=bi,{getNextTreeStateVersion:P0}=El;function _0(){const e=P0();return{version:e,stateID:e,transactionMetadata:{},dirtyAtoms:new Set,atomValues:O0(),nonvalidatedAtoms:O0()}}function x8(){const e=_0();return{currentTree:e,nextTree:null,previousTree:null,commitDepth:0,knownAtoms:new Set,knownSelectors:new Set,transactionSubscriptions:new Map,nodeTransactionSubscriptions:new Map,nodeToComponentSubscriptions:new Map,queuedComponentCallbacks_DEPRECATED:[],suspendedComponentResolvers:new Set,graphsByVersion:new Map().set(e.version,y8()),retention:{referenceCounts:new Map,nodesRetainedByZone:new Map,retainablesToCheckForRelease:new Set},nodeCleanupFunctions:new Map}}var $0={makeEmptyTreeState:_0,makeEmptyStoreState:x8,getNextTreeStateVersion:P0};class M0{}function C8(){return new M0}var Ol={RetentionZone:M0,retentionZone:C8};function S8(e,t){const n=new Set(e);return n.add(t),n}function w8(e,t){const n=new Set(e);return n.delete(t),n}function T8(e,t,n){const r=new Map(e);return r.set(t,n),r}function R8(e,t,n){const r=new Map(e);return r.set(t,n(r.get(t))),r}function E8(e,t){const n=new Map(e);return n.delete(t),n}function O8(e,t){const n=new Map(e);return t.forEach(r=>n.delete(r)),n}var k0={setByAddingToSet:S8,setByDeletingFromSet:w8,mapBySettingInMap:T8,mapByUpdatingInMap:R8,mapByDeletingFromMap:E8,mapByDeletingMultipleFromMap:O8};function*P8(e,t){let n=0;for(const r of e)t(r,n++)&&(yield r)}var dd=P8;function _8(e,t){return new Proxy(e,{get:(r,s)=>(!(s in r)&&s in t&&(r[s]=t[s]()),r[s]),ownKeys:r=>Object.keys(r)})}var I0=_8;const{getNode:yi,getNodeMaybe:$8,recoilValuesForKeys:D0}=Tn,{RetentionZone:N0}=Ol,{setByAddingToSet:M8}=k0,k8=Object.freeze(new Set);class I8 extends Error{}function D8(e,t,n){if(!Lt("recoil_memory_managament_2020"))return()=>{};const{nodesRetainedByZone:r}=e.getState().retention;function s(i){let a=r.get(i);a||r.set(i,a=new Set),a.add(t)}if(n instanceof N0)s(n);else if(Array.isArray(n))for(const i of n)s(i);return()=>{if(!Lt("recoil_memory_managament_2020"))return;const{retention:i}=e.getState();function a(l){const c=i.nodesRetainedByZone.get(l);c==null||c.delete(t),c&&c.size===0&&i.nodesRetainedByZone.delete(l)}if(n instanceof N0)a(n);else if(Array.isArray(n))for(const l of n)a(l)}}function pd(e,t,n,r){const s=e.getState();if(s.nodeCleanupFunctions.has(n))return;const i=yi(n),a=D8(e,n,i.retainedBy),l=i.init(e,t,r);s.nodeCleanupFunctions.set(n,()=>{l(),a()})}function N8(e,t,n){pd(e,e.getState().currentTree,t,n)}function j8(e,t){var n;const r=e.getState();(n=r.nodeCleanupFunctions.get(t))===null||n===void 0||n(),r.nodeCleanupFunctions.delete(t)}function A8(e,t,n){return pd(e,t,n,"get"),yi(n).get(e,t)}function j0(e,t,n){return yi(n).peek(e,t)}function F8(e,t,n){var r;const s=$8(t);return s==null||(r=s.invalidate)===null||r===void 0||r.call(s,e),{...e,atomValues:e.atomValues.clone().delete(t),nonvalidatedAtoms:e.nonvalidatedAtoms.clone().set(t,n),dirtyAtoms:M8(e.dirtyAtoms,t)}}function V8(e,t,n,r){const s=yi(n);if(s.set==null)throw new I8(`Attempt to set read-only RecoilValue: ${n}`);const i=s.set;return pd(e,t,n,"set"),i(e,t,r)}function L8(e,t,n){const r=e.getState(),s=e.getGraph(t.version),i=yi(n).nodeType;return I0({type:i},{loadable:()=>j0(e,t,n),isActive:()=>r.knownAtoms.has(n)||r.knownSelectors.has(n),isSet:()=>i==="selector"?!1:t.atomValues.has(n),isModified:()=>t.dirtyAtoms.has(n),deps:()=>{var a;return D0((a=s.nodeDeps.get(n))!==null&&a!==void 0?a:[])},subscribers:()=>{var a,l;return{nodes:D0(dd(A0(e,t,new Set([n])),c=>c!==n)),components:wl((a=(l=r.nodeToComponentSubscriptions.get(n))===null||l===void 0?void 0:l.values())!==null&&a!==void 0?a:[],([c])=>({name:c}))}}})}function A0(e,t,n){const r=new Set,s=Array.from(n),i=e.getGraph(t.version);for(let l=s.pop();l;l=s.pop()){var a;r.add(l);const c=(a=i.nodeToNodeSubscriptions.get(l))!==null&&a!==void 0?a:k8;for(const u of c)r.has(u)||s.push(u)}return r}var jo={getNodeLoadable:A8,peekNodeLoadable:j0,setNodeValue:V8,initializeNode:N8,cleanUpNode:j8,setUnvalidatedAtomValue_DEPRECATED:F8,peekNodeInfo:L8,getDownstreamNodes:A0};let F0=null;function z8(e){F0=e}function B8(){var e;(e=F0)===null||e===void 0||e()}var V0={setInvalidateMemoizedSnapshot:z8,invalidateMemoizedSnapshot:B8};const{getDownstreamNodes:H8,getNodeLoadable:L0,setNodeValue:U8}=jo,{getNextComponentID:W8}=El,{getNode:G8,getNodeMaybe:z0}=Tn,{DefaultValue:fd}=Tn,{reactMode:q8}=Xr,{AbstractRecoilValue:Y8,RecoilState:K8,RecoilValueReadOnly:Z8,isRecoilValue:X8}=ir,{invalidateMemoizedSnapshot:J8}=V0;function Q8(e,{key:t},n=e.getState().currentTree){var r,s;const i=e.getState();n.version===i.currentTree.version||n.version===((r=i.nextTree)===null||r===void 0?void 0:r.version)||n.version===((s=i.previousTree)===null||s===void 0?void 0:s.version)||sn("Tried to read from a discarded tree");const a=L0(e,n,t);return a.state==="loading"&&a.contents.catch(()=>{}),a}function eI(e,t){const n=e.clone();return t.forEach((r,s)=>{r.state==="hasValue"&&r.contents instanceof fd?n.delete(s):n.set(s,r)}),n}function tI(e,t,{key:n},r){if(typeof r=="function"){const s=L0(e,t,n);if(s.state==="loading"){const i=`Tried to set atom or selector "${n}" using an updater function while the current state is pending, this is not currently supported.`;throw sn(i),st(i)}else if(s.state==="hasError")throw s.contents;return r(s.contents)}else return r}function nI(e,t,n){if(n.type==="set"){const{recoilValue:s,valueOrUpdater:i}=n,a=tI(e,t,s,i),l=U8(e,t,s.key,a);for(const[c,u]of l.entries())md(t,c,u)}else if(n.type==="setLoadable"){const{recoilValue:{key:s},loadable:i}=n;md(t,s,i)}else if(n.type==="markModified"){const{recoilValue:{key:s}}=n;t.dirtyAtoms.add(s)}else if(n.type==="setUnvalidated"){var r;const{recoilValue:{key:s},unvalidatedValue:i}=n,a=z0(s);a==null||(r=a.invalidate)===null||r===void 0||r.call(a,t),t.atomValues.delete(s),t.nonvalidatedAtoms.set(s,i),t.dirtyAtoms.add(s)}else sn(`Unknown action ${n.type}`)}function md(e,t,n){n.state==="hasValue"&&n.contents instanceof fd?e.atomValues.delete(t):e.atomValues.set(t,n),e.dirtyAtoms.add(t),e.nonvalidatedAtoms.delete(t)}function B0(e,t){e.replaceState(n=>{const r=H0(n);for(const s of t)nI(e,r,s);return U0(e,r),J8(),r})}function Pl(e,t){if(xi.length){const n=xi[xi.length-1];let r=n.get(e);r||n.set(e,r=[]),r.push(t)}else B0(e,[t])}const xi=[];function oI(){const e=new Map;return xi.push(e),()=>{for(const[n,r]of e)B0(n,r);xi.pop()!==e&&sn("Incorrect order of batch popping")}}function H0(e){return{...e,atomValues:e.atomValues.clone(),nonvalidatedAtoms:e.nonvalidatedAtoms.clone(),dirtyAtoms:new Set(e.dirtyAtoms)}}function U0(e,t){const n=H8(e,t,t.dirtyAtoms);for(const i of n){var r,s;(r=z0(i))===null||r===void 0||(s=r.invalidate)===null||s===void 0||s.call(r,t)}}function W0(e,t,n){Pl(e,{type:"set",recoilValue:t,valueOrUpdater:n})}function rI(e,t,n){if(n instanceof fd)return W0(e,t,n);Pl(e,{type:"setLoadable",recoilValue:t,loadable:n})}function sI(e,t){Pl(e,{type:"markModified",recoilValue:t})}function iI(e,t,n){Pl(e,{type:"setUnvalidated",recoilValue:t,unvalidatedValue:n})}function aI(e,{key:t},n,r=null){const s=W8(),i=e.getState();i.nodeToComponentSubscriptions.has(t)||i.nodeToComponentSubscriptions.set(t,new Map),Ut(i.nodeToComponentSubscriptions.get(t)).set(s,[r??"<not captured>",n]);const a=q8();if(a.early&&(a.mode==="LEGACY"||a.mode==="MUTABLE_SOURCE")){const l=e.getState().nextTree;l&&l.dirtyAtoms.has(t)&&n(l)}return{release:()=>{const l=e.getState(),c=l.nodeToComponentSubscriptions.get(t);if(c===void 0||!c.has(s)){sn(`Subscription missing at release time for atom ${t}. This is a bug in Recoil.`);return}c.delete(s),c.size===0&&l.nodeToComponentSubscriptions.delete(t)}}}function lI(e,t){var n;const{currentTree:r}=e.getState(),s=G8(t.key);(n=s.clearCache)===null||n===void 0||n.call(s,e,r)}var lo={RecoilValueReadOnly:Z8,AbstractRecoilValue:Y8,RecoilState:K8,getRecoilValueAsLoadable:Q8,setRecoilValue:W0,setRecoilValueLoadable:rI,markRecoilValueModified:sI,setUnvalidatedRecoilValue:iI,subscribeToRecoilValue:aI,isRecoilValue:X8,applyAtomValueWrites:eI,batchStart:oI,writeLoadableToTreeState:md,invalidateDownstreams:U0,copyTreeState:H0,refreshRecoilValue:lI};function cI(e,t,n){const r=e.entries();let s=r.next();for(;!s.done;){const i=s.value;if(t.call(n,i[1],i[0],e))return!0;s=r.next()}return!1}var uI=cI;const{cleanUpNode:dI}=jo,{deleteNodeConfigIfPossible:pI,getNode:G0}=Tn,{RetentionZone:q0}=Ol,fI=12e4,Y0=new Set;function K0(e,t){const n=e.getState(),r=n.currentTree;if(n.nextTree){sn("releaseNodesNowOnCurrentTree should only be called at the end of a batch");return}const s=new Set;for(const a of t)if(a instanceof q0)for(const l of vI(n,a))s.add(l);else s.add(a);const i=mI(e,s);for(const a of i)hI(e,r,a)}function mI(e,t){const n=e.getState(),r=n.currentTree,s=e.getGraph(r.version),i=new Set,a=new Set;return l(t),i;function l(c){const u=new Set,d=gI(e,r,c,i,a);for(const v of d){var p;if(G0(v).retainedBy==="recoilRoot"){a.add(v);continue}if(((p=n.retention.referenceCounts.get(v))!==null&&p!==void 0?p:0)>0){a.add(v);continue}if(Z0(v).some(b=>n.retention.referenceCounts.get(b))){a.add(v);continue}const h=s.nodeToNodeSubscriptions.get(v);if(h&&uI(h,b=>a.has(b))){a.add(v);continue}i.add(v),u.add(v)}const f=new Set;for(const v of u)for(const h of(g=s.nodeDeps.get(v))!==null&&g!==void 0?g:Y0){var g;i.has(h)||f.add(h)}f.size&&l(f)}}function gI(e,t,n,r,s){const i=e.getGraph(t.version),a=[],l=new Set;for(;n.size>0;)c(Ut(n.values().next().value));return a;function c(u){if(r.has(u)||s.has(u)){n.delete(u);return}if(l.has(u))return;const d=i.nodeToNodeSubscriptions.get(u);if(d)for(const p of d)c(p);l.add(u),n.delete(u),a.push(u)}}function hI(e,t,n){if(!Lt("recoil_memory_managament_2020"))return;dI(e,n);const r=e.getState();r.knownAtoms.delete(n),r.knownSelectors.delete(n),r.nodeTransactionSubscriptions.delete(n),r.retention.referenceCounts.delete(n);const s=Z0(n);for(const c of s){var i;(i=r.retention.nodesRetainedByZone.get(c))===null||i===void 0||i.delete(n)}t.atomValues.delete(n),t.dirtyAtoms.delete(n),t.nonvalidatedAtoms.delete(n);const a=r.graphsByVersion.get(t.version);if(a){const c=a.nodeDeps.get(n);if(c!==void 0){a.nodeDeps.delete(n);for(const u of c){var l;(l=a.nodeToNodeSubscriptions.get(u))===null||l===void 0||l.delete(n)}}a.nodeToNodeSubscriptions.delete(n)}pI(n)}function vI(e,t){var n;return(n=e.retention.nodesRetainedByZone.get(t))!==null&&n!==void 0?n:Y0}function Z0(e){const t=G0(e).retainedBy;return t===void 0||t==="components"||t==="recoilRoot"?[]:t instanceof q0?[t]:t}function bI(e,t){const n=e.getState();n.nextTree?n.retention.retainablesToCheckForRelease.add(t):K0(e,new Set([t]))}function yI(e,t,n){var r;if(!Lt("recoil_memory_managament_2020"))return;const s=e.getState().retention.referenceCounts,i=((r=s.get(t))!==null&&r!==void 0?r:0)+n;i===0?X0(e,t):s.set(t,i)}function X0(e,t){if(!Lt("recoil_memory_managament_2020"))return;e.getState().retention.referenceCounts.delete(t),bI(e,t)}function xI(e){if(!Lt("recoil_memory_managament_2020"))return;const t=e.getState();K0(e,t.retention.retainablesToCheckForRelease),t.retention.retainablesToCheckForRelease.clear()}function CI(e){return e===void 0?"recoilRoot":e}var lr={SUSPENSE_TIMEOUT_MS:fI,updateRetainCount:yI,updateRetainCountToZero:X0,releaseScheduledRetainablesNow:xI,retainedByOptionWithDefault:CI};const{unstable_batchedUpdates:SI}=Uo;var wI={unstable_batchedUpdates:SI};const{unstable_batchedUpdates:TI}=wI;var RI={unstable_batchedUpdates:TI};const{batchStart:EI}=lo,{unstable_batchedUpdates:OI}=RI;let gd=OI||(e=>e());var _l={getBatcher:()=>gd,setBatcher:e=>{gd=e},batchUpdates:e=>{gd(()=>{let t=()=>{};try{t=EI(),e()}finally{t()}})}};function*PI(e){for(const t of e)for(const n of t)yield n}var J0=PI;const Q0=typeof Window>"u"||typeof window>"u",_I=e=>!Q0&&(e===window||e instanceof Window),$I=typeof navigator<"u"&&navigator.product==="ReactNative";var Ci={isSSR:Q0,isReactNative:$I,isWindow:_I};function MI(e,t){let n;return(...r)=>{n||(n={});const s=t(...r);return Object.hasOwnProperty.call(n,s)||(n[s]=e(...r)),n[s]}}function kI(e,t){let n,r;return(...s)=>{const i=t(...s);return n===i||(n=i,r=e(...s)),r}}function II(e,t){let n,r;return[(...a)=>{const l=t(...a);return n===l||(n=l,r=e(...a)),r},()=>{n=null}]}var DI={memoizeWithArgsHash:MI,memoizeOneWithArgsHash:kI,memoizeOneWithArgsHashAndInvalidation:II};const{batchUpdates:hd}=_l,{initializeNode:NI,peekNodeInfo:jI}=jo,{graph:AI}=bi,{getNextStoreID:FI}=El,{DEFAULT_VALUE:VI,recoilValues:e1,recoilValuesForKeys:t1}=Tn,{AbstractRecoilValue:LI,getRecoilValueAsLoadable:zI,setRecoilValue:n1,setUnvalidatedRecoilValue:BI}=lo,{updateRetainCount:$l}=lr,{setInvalidateMemoizedSnapshot:HI}=V0,{getNextTreeStateVersion:UI,makeEmptyStoreState:WI}=$0,{isSSR:GI}=Ci,{memoizeOneWithArgsHashAndInvalidation:qI}=DI,YI=`
324
324
  Recoil Snapshots only last for the duration of the callback they are provided to. To keep a Snapshot longer, do this:
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@foodpilot/foods",
3
3
  "private": false,
4
- "version": "0.1.4",
4
+ "version": "0.1.5",
5
5
  "type": "module",
6
6
  "main": "./dist/main.umd.cjs",
7
7
  "module": "./dist/main.js",