(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91390,3315,e=>{var t=e.i(43476),a=e.i(71645),r=e.i(43489),i=e.i(7670),n=e.i(2404),l=e.i(12569),s=e.i(54061);function o(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("defs",null,a.createElement("clipPath",{id:"a"},a.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),a.createElement("g",{clipPath:"url(#a)"},a.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function d(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}let c=(0,s.g)("caption"),u=Object.freeze({caption:c,captionWithIcon:`${c}--with-icon`,content:`${c}__content`,icon:`${c}__icon`,text:`${c}__text`,size:{s:`${c}--s`,m:`${c}--m`},states:{success:`${c}--success`,error:`${c}--error`,warning:`${c}--warning`}});function f({as:e,children:a,state:r="default",size:s="m",text:c,withoutIcon:h=!1,lineClamp:m,role:p,dataQa:g,dataId:v,className:b,style:y,...x}){let w=c||a,_=!h&&["success","error","warning"].includes(r),j="success"===r?o:d,$=(0,i.f)(b,u.caption,u.size[s],{[u.captionWithIcon]:_,[u.states.success]:"success"===r,[u.states.error]:"error"===r,[u.states.warning]:"warning"===r});return(0,t.jsx)(e||"div",{className:$,style:y,role:p,...x,"data-id":v,"data-qa":g,children:(0,t.jsxs)("div",{className:u.content,children:[_&&w&&(0,t.jsx)(n.P,{className:u.icon,children:(0,t.jsx)(j,{})}),(0,t.jsx)("span",{className:(0,i.f)(u.text),style:{...m?{WebkitLineClamp:m,lineClamp:m,...l.l}:void 0},children:w})]})})}f.displayName="Caption",e.s(["C",0,f],3315),e.i(89485);var h=e.i(14044);let m=(...e)=>(...t)=>{e.forEach(e=>{null==e||e(...t)})},p=(0,s.g)("input-base"),g={wrapper:p,input:`${p}__input`,container:`${p}__container`,label:`${p}__label`,field:`${p}__field`,slotLeft:`${p}__slot-left`,rightLabel:`${p}__right-label`,caption:`${p}__caption`,placeholder:{visible:`${p}__placeholder`,hidden:`${p}__hidden`},states:{primary:`${p}--primary`,secondary:`${p}--secondary`,error:`${p}--error`,success:`${p}--success`,s:`${p}--s`,m:`${p}--m`,l:`${p}--l`,focused:`${p}--focused`,disabled:`${p}--disabled`,active:`${p}--active`,hasLabel:`${p}--has-label`,accent:`${p}--accent`}},v=(0,a.forwardRef)(({icon:e,rightLabel:n,slotLeft:l,disabled:s,state:o,size:d="m",variant:c="primary",label:u,value:p,placeholder:v,maskPlaceholder:b,autoFocus:y=!1,maskPlaceholderVariant:x="default",caption:w,type:_="text",inputMode:j="text",hasCaption:$,className:C,style:N,dataQa:O,dataId:z,inputRef:P,onChange:S,onFocus:E,onBlur:k,onKeyDown:R,...M},I)=>{let B=(0,a.useId)(),{value:W,show:L,hide:T}=((e=!1)=>{let[t,r]=(0,a.useState)(e),i=(0,a.useCallback)(()=>r(!0),[]);return{value:t,show:i,hide:(0,a.useCallback)(()=>r(!1),[]),toggle:(0,a.useCallback)(()=>r(e=>!e),[])}})(),q=(0,a.useRef)(null),A=(0,r._)([P,q]),F=(0,a.useMemo)(()=>W||!!p||!!v,[p,W,v]),D=(0,a.useCallback)(()=>{var e;null==(e=q.current)||e.focus()},[]),Z=(0,a.useMemo)(()=>{if(!b)return null;let e={hidden:p??"",visible:b.substring((null==p?void 0:p.length)??0)};return b.length===(null==p?void 0:p.length)?null:e},[b,p]);return(0,a.useEffect)(()=>{var e,t,a;if(!y)return;let r=(null==(e=q.current)?void 0:e.value.length)??0;null==(t=q.current)||t.focus(),null==(a=q.current)||a.setSelectionRange(r,r)},[y]),(0,t.jsxs)("div",{className:(0,i.f)(C,g.wrapper),style:N,"data-qa":O,"data-id":z,children:[(0,t.jsxs)("div",{className:(0,i.f)(g.input,g.states[c],g.states[d],{[g.states.focused]:W,[g.states.error]:"error"===o,[g.states.success]:"success"===o,[g.states.disabled]:!!s,[g.states.hasLabel]:u}),onClick:D,ref:I,children:[l&&(0,t.jsx)("div",{className:g.slotLeft,children:l}),(0,t.jsxs)("label",{htmlFor:B,className:g.container,children:[u&&(0,t.jsx)("span",{className:(0,i.f)(g.label,{[g.states.active]:F,[g.states.s]:"s"===d,[g.states.disabled]:s,[g.states.error]:"error"===o,[g.states.success]:"success"===o}),children:u}),Z&&!!p&&(0,t.jsxs)("div",{className:(0,i.f)(g.placeholder.visible,{[g.states.accent]:"accent"===x}),children:[Z.hidden&&(0,t.jsx)("span",{className:g.placeholder.hidden,children:Z.hidden}),Z.visible]}),(0,t.jsx)("input",{...M,id:B,ref:A,className:(0,i.f)(g.field,{[g.states.s]:"s"===d,[g.states.hasLabel]:u,[g.states.disabled]:s}),type:_,inputMode:j,autoComplete:"off",placeholder:v,value:p,disabled:s,onChange:e=>{null==S||S(e.target.value,e)},onFocus:m(L,E),onBlur:m(T,k),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==S||S("",{target:{value:""}})),null==R||R(e)}})]}),n&&(0,t.jsx)("div",{className:(0,i.f)(g.rightLabel,{[g.states.disabled]:s}),children:n}),e]}),($||w)&&(0,t.jsx)(f,{dataQa:(0,h.g)(`${O}-caption`,!!O),className:(0,i.f)(g.caption,{[g.states.disabled]:s}),state:o,withoutIcon:!0,children:w})]})});v.displayName="InputBase",e.s(["I",0,v],91390)},2753,e=>{e.s(["M",0,"finkit-modals","T",0,"finkit-tooltips"])},14044,e=>{e.s(["g",0,(e,t=!0)=>t?e:void 0])},96347,e=>{var t=e.i(43476),a=e.i(7670);let r=(0,e.i(54061).g)("divider"),i=Object.freeze({divider:r,content:`${r}__content`}),n=({content:e,className:r,style:n,dataQa:l,dataId:s,...o})=>(0,t.jsx)("div",{className:(0,a.f)(i.divider,r),style:n,...o,"data-id":s,"data-qa":l,children:e&&(0,t.jsx)("div",{className:i.content,children:e})});n.displayName="Divider",e.s(["f",0,n])},91784,e=>{var t=e.i(43476),a=e.i(71645),r=e.i(43489),i=e.i(7670),n=e.i(2753),l=e.i(14044),s=e.i(54061),o=e.i(16727);function d(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M7.22 12.53a.75.75 0 0 1 0-1.06l6.5-6.5a.75.75 0 1 1 1.06 1.06L8.81 12l5.97 5.97a.75.75 0 1 1-1.06 1.06l-6.5-6.5Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function c(e){return a.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{d:"M7.22 7.22a.743.743 0 0 1 1.06 0L12 10.94l3.72-3.72a.743.743 0 0 1 1.06 0 .742.742 0 0 1 0 1.06L13.061 12l3.72 3.72a.743.743 0 0 1 0 1.06.743.743 0 0 1-1.061 0L12 13.06l-3.72 3.72a.743.743 0 0 1-1.06 0 .743.743 0 0 1 0-1.06L10.94 12 7.22 8.28a.743.743 0 0 1 0-1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}var u=e.i(2404);let f=(0,s.g)("modal"),h=Object.freeze({modal:f,overlay:`${f}__overlay`,withoutFooter:`${f}--without-footer`,noContent:`${f}--no-content`,open:`${f}--open`,overlayOpen:`${f}__overlay--open`,height:{medium:`${f}--height-medium`,full:`${f}--height-full`},size:{s:`${f}--s`,m:`${f}--m`,l:`${f}--l`,xl:`${f}--xl`},header:`${f}__header`,headerText:`${f}__header-text`,headerTitle:`${f}__header-title`,headerSubtitle:`${f}__header-subtitle`,closeIcon:`${f}__close-icon`,backButton:`${f}__back-button`,backButtonText:`${f}__back-button-text`,headerStates:{centered:`${f}__header--centered`,withLongBtn:`${f}__header--with-long-btn`,defaultHeight:`${f}__header--default-height`},content:`${f}__content`,withoutPadding:`${f}__content--without-padding`,withScroll:`${f}__content--with-scroll`,footer:`${f}__footer`,footerContainer:`${f}__footer-container`,footerBtn:`${f}__footer-btn`,footerDescription:`${f}__footer-description`,divider:`${f}__divider`,dividerTop:`${f}__divider--top`,dividerBottom:`${f}__divider--bottom`}),m=({primaryBtnText:e,onPrimary:a,secondaryBtnText:r,onSecondary:n,thirdBtnText:s,onThird:d,description:c,children:u,noContent:f,dataQa:m})=>(0,t.jsxs)("div",{"data-qa":(0,l.g)(`${m}-footer`,!!m),className:(0,i.f)(h.footer,{[h.noContent]:f}),children:[!f&&(0,t.jsx)("div",{className:(0,i.f)(h.divider,h.dividerTop)}),u||(0,t.jsxs)("div",{className:h.footerContainer,children:[s&&(0,t.jsx)(o.a,{dataQa:(0,l.g)(`${m}-footer-third-btn`,!!m),label:s,variant:"secondary",size:"s",className:h.footerBtn,onClick:d}),r&&(0,t.jsx)(o.a,{dataQa:(0,l.g)(`${m}-footer-secondary-btn`,!!m),label:r,variant:"secondary",size:"s",className:h.footerBtn,onClick:n}),e&&(0,t.jsx)(o.a,{dataQa:(0,l.g)(`${m}-footer-primary-btn`,!!m),label:e,size:"s",className:h.footerBtn,onClick:a})]}),c&&(0,t.jsx)("span",{"data-qa":(0,l.g)(`${m}-footer-description`,!!m),className:h.footerDescription,children:c})]}),p=({text:e,title:a,subtitle:r,align:n="left",backBtnVariant:s,onBack:o,onClose:f,noContent:m,dataQa:p,withoutCloseBtn:g=!1})=>(0,t.jsxs)("div",{"data-qa":(0,l.g)(`${p}-header`,!!p),className:(0,i.f)(h.header,{[h.headerStates.centered]:"center"===n||!!s,[h.headerStates.withLongBtn]:"long"===s,[h.headerStates.defaultHeight]:!e&&!a&&!r}),children:[e&&(0,t.jsx)("span",{"data-qa":(0,l.g)(`${p}-header-text`,!!p),className:h.headerText,children:e}),a&&(0,t.jsx)("span",{"data-qa":(0,l.g)(`${p}-header-title`,!!p),className:h.headerTitle,children:a}),r&&(0,t.jsx)("span",{"data-qa":(0,l.g)(`${p}-header-subtitle`,!!p),className:h.headerSubtitle,children:r}),!g&&(0,t.jsx)("button",{"data-qa":(0,l.g)(`${p}-header-close`,!!p),type:"button",className:h.closeIcon,onClick:f,children:(0,t.jsx)(u.P,{children:(0,t.jsx)(c,{})})}),s&&(0,t.jsxs)("button",{"data-qa":(0,l.g)(`${p}-header-back`,!!p),type:"button",className:h.backButton,onClick:o,children:[(0,t.jsx)(u.P,{children:(0,t.jsx)(d,{})}),"long"===s&&(0,t.jsx)("span",{className:h.backButtonText,children:"Назад"})]}),!m&&(0,t.jsx)("div",{className:(0,i.f)(h.divider,h.dividerBottom)})]}),g=(0,a.forwardRef)(({header:e,footer:s,open:o=!1,size:d="m",noPadding:c=!1,height:u="full",onClose:f,children:g,className:v,style:b,dataQa:y,dataId:x,dismissDisabled:w=!1,..._},j)=>{let[$,C]=(0,a.useState)(!1),[N,O]=(0,a.useState)(!1),z=(0,a.useRef)(null);(0,a.useEffect)(()=>()=>{z.current&&cancelAnimationFrame(z.current)},[]),(0,a.useEffect)(()=>{if(z.current&&cancelAnimationFrame(z.current),o)return C(!0),z.current=requestAnimationFrame(()=>{requestAnimationFrame(()=>{O(!0)})}),()=>{z.current&&cancelAnimationFrame(z.current)};{O(!1);let e=setTimeout(()=>{C(!1)},300);return()=>{clearTimeout(e),z.current&&cancelAnimationFrame(z.current)}}},[o]);let P=()=>{O(!1);let e=setTimeout(()=>{null==f||f(),C(!1)},300);return()=>clearTimeout(e)},{context:S}=(0,r.E)({open:$,onOpenChange:e=>{e||P()}}),E=(0,r.H)(S,{outsidePressEvent:"mousedown",outsidePress:!w,escapeKey:!w}),k=(0,r.M)(S,{role:"dialog"}),{getFloatingProps:R}=(0,r.t)([E,k]),[M,I]=(0,a.useState)(!1),B=(0,a.useCallback)(e=>{e&&new ResizeObserver(()=>{I(e.scrollHeight>e.clientHeight)}).observe(e)},[]);return $?(0,t.jsx)(r.r,{id:n.M,children:(0,t.jsx)(r.j,{lockScroll:!0,className:(0,i.f)(h.overlay,{[h.overlayOpen]:N}),children:(0,t.jsx)(r.i,{context:S,children:(0,t.jsxs)("div",{ref:j,className:(0,i.f)(h.modal,h.size[d],h.height[u],{[h.withoutFooter]:!(null==s?void 0:s.primaryBtnText)&&!(null==s?void 0:s.children),[h.open]:N},v),style:b,...R(),..._,"data-id":x,"data-qa":y,children:[(0,t.jsx)(p,{...e,dataQa:y,noContent:!g,onClose:P}),g&&(0,t.jsx)("div",{"data-qa":(0,l.g)(`${y}-content`,!!y),ref:B,className:(0,i.f)(h.content,{[h.withoutFooter]:!(null==s?void 0:s.primaryBtnText)&&!(null==s?void 0:s.children),[h.withoutPadding]:c,[h.withScroll]:M}),children:g}),((null==s?void 0:s.primaryBtnText)||(null==s?void 0:s.children))&&(0,t.jsx)(m,{...s,dataQa:y,noContent:!g})]})})})}):null});g.displayName="Modal",e.s(["f",0,g],91784)},48148,30755,51966,e=>{var t=e.i(61745);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let r=a(0,t.r);a(0,t.B),e.s(["f",0,r],48148);var i=e.i(43476),n=e.i(7670),l=e.i(71645);function s(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("defs",null,l.createElement("clipPath",{id:"a"},l.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),l.createElement("g",{clipPath:"url(#a)"},l.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function o(e){return l.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}function d(e){return`finkit-${e}`}let c=Object.freeze({privateIcon:d("private-icon")}),u=({children:e,className:t,style:a,...r})=>(0,i.jsx)("span",{className:(0,n.f)(c.privateIcon,t),style:a,...r,children:e});u.displayName="PrivateIcon";let f={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},h=d("caption"),m=Object.freeze({caption:h,captionWithIcon:`${h}--with-icon`,content:`${h}__content`,icon:`${h}__icon`,text:`${h}__text`,size:{s:`${h}--s`,m:`${h}--m`},states:{success:`${h}--success`,error:`${h}--error`,warning:`${h}--warning`}});function p({as:e,children:t,state:a="default",size:r="m",text:l,withoutIcon:d=!1,lineClamp:c,role:h,dataQa:g,dataId:v,className:b,style:y,...x}){let w=l||t,_=!d&&["success","error","warning"].includes(a),j="success"===a?s:o,$=(0,n.f)(b,m.caption,m.size[r],{[m.captionWithIcon]:_,[m.states.success]:"success"===a,[m.states.error]:"error"===a,[m.states.warning]:"warning"===a});return(0,i.jsx)(e||"div",{className:$,style:y,role:h,...x,"data-id":v,"data-qa":g,children:(0,i.jsxs)("div",{className:m.content,children:[_&&w&&(0,i.jsx)(u,{className:m.icon,children:(0,i.jsx)(j,{})}),(0,i.jsx)("span",{className:(0,n.f)(m.text),style:{...c?{WebkitLineClamp:c,lineClamp:c,...f}:void 0},children:w})]})})}p.displayName="Caption";let g=d("form-field"),v=Object.freeze({formField:g,labelWrapper:`${g}__label-wrapper`,label:`${g}__label`,description:`${g}__description`}),b=({label:e,description:t,caption:a,captionState:r,children:l,hasCaption:s,className:o,style:d,dataQa:c,dataId:u,...f})=>(0,i.jsxs)("div",{className:(0,n.f)(v.formField,o),style:d,...f,"data-id":u,"data-qa":c,children:[(e||t)&&(0,i.jsxs)("div",{className:v.labelWrapper,children:[(0,i.jsx)("span",{className:v.label,children:e}),(0,i.jsx)("span",{className:v.description,children:t})]}),l,(s||a)&&(0,i.jsx)(p,{text:a,state:r})]});b.displayName="FormField";let y={display:"h1",hero:"h1",h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6"},x=d("heading"),w=Object.freeze({heading:x,states:Object.freeze({display:`${x}--display`,hero:`${x}--hero`,h1:`${x}--h1`,h2:`${x}--h2`,h3:`${x}--h3`,h4:`${x}--h4`,h5:`${x}--h5`,h6:`${x}--h6`})}),_=({as:e,children:t,weight:a,type:r,lineClamp:l,className:s,style:o,dataQa:d,dataId:c,...u})=>{var h;let m=e||y[r]||"div",p=/^h[1-6]$/.test(m),g=(null==(h=r.match(/\d+/))?void 0:h[0])||1;return(0,i.jsx)(m,{className:(0,n.f)(w.heading,w.states[r],s),style:{...a?{fontWeight:`var(--font-weight-${a})`}:void 0,...l?{WebkitLineClamp:l,lineClamp:l,...f}:void 0,...o},role:p?null:"heading","aria-level":p?null:g,...u,"data-id":c,"data-qa":d,children:t})};_.displayName="Heading";let j=Object.freeze({text:d("text")});function $({as:e,className:t,style:a,children:r,size:l,weight:s,lineClamp:o,dataQa:d,dataId:c,...u}){return(0,i.jsx)(e||"span",{className:(0,n.f)(j.text,t),style:{...l&&{fontSize:`var(--font-size-${l})`,lineHeight:`var(--font-line-height-${l})`},...s&&{fontWeight:`var(--font-weight-${s})`},...o&&{WebkitLineClamp:o,lineClamp:o,...f},...a},...u,"data-id":c,"data-qa":d,children:r})}$.displayName="Text";let C=Object.freeze({xs:Object.freeze({maxWidth:599}),s:Object.freeze({minWidth:600,maxWidth:767}),m:Object.freeze({minWidth:768,maxWidth:1023}),l:Object.freeze({minWidth:1024,maxWidth:1279}),xl:Object.freeze({minWidth:1280,maxWidth:1439}),"2xl":Object.freeze({minWidth:1440,maxWidth:1919}),"3xl":Object.freeze({minWidth:1920})}),N=Object.freeze(Object.keys(C)),O=Object.freeze(N.filter(e=>"xs"!==e)),z=Object.freeze(N.filter(e=>"3xl"!==e));e.s(["B",0,C,"C",0,p,"F",0,b,"H",0,_,"P",0,u,"S",0,o,"T",0,$,"a",0,N,"b",0,z,"c",0,O,"d",0,(e,t=!0)=>t?e:void 0,"e",0,e=>null==e,"f",0,s,"g",0,d,"i",0,function(e){return"u">typeof e},"p",0,(e,t,a,r)=>{let i=[t,a,r];return i[e%100>4&&e%100<20?2:[2,0,1,1,1,2][e%10<5?e%10:5]]||i[0]}],30755);let P=d("card"),S={card:P,variants:{primary:`${P}--primary`,secondary:`${P}--secondary`}},E=({as:e,className:t,style:a,children:r,variant:l="primary",dataQa:s,dataId:o,...d})=>(0,i.jsx)(e||"div",{className:(0,n.f)(t,S.card,S.variants[l]),style:a,...d,"data-id":o,"data-qa":s,children:r});E.displayName="Card";let k=d("col"),R=Object.freeze({col:k,state:{size:(e,t)=>!0===t?`${k}--${e}`:`${k}--${e}-${t}`,offsetLeft:(e,t)=>`${k}--${e}-offset-left-${t}`,offsetRight:(e,t)=>`${k}--${e}-offset-right-${t}`}}),M=({as:e,className:t="",size:a={},offsetLeft:r={},offsetRight:l={},children:s,...o})=>{let d=Object.entries(a).reduce((e,[t,a])=>[...e,R.state.size(t,a)],[]).join(" "),c=Object.entries(r).reduce((e,[t,a])=>[...e,R.state.offsetLeft(t,a)],[]).join(" "),u=Object.entries(l).reduce((e,[t,a])=>[...e,R.state.offsetRight(t,a)],[]).join(" ");return(0,i.jsx)(e||"div",{className:(0,n.f)(R.col,t,d,c,u),...o,children:s})};M.displayName="Col";let I=d("container"),B=Object.freeze({container:I,states:{narrow:`${I}--narrow`}}),W=({children:e,as:t,fluid:a=!1,className:r="",...l})=>(0,i.jsx)(t||"div",{className:(0,n.f)(B.container,r,{[B.states.narrow]:!a}),...l,children:e});W.displayName="Container";let L=d("divider"),T=Object.freeze({divider:L,content:`${L}__content`}),q=({content:e,className:t,style:a,dataQa:r,dataId:l,...s})=>(0,i.jsx)("div",{className:(0,n.f)(T.divider,t),style:a,...s,"data-id":l,"data-qa":r,children:e&&(0,i.jsx)("div",{className:T.content,children:e})});q.displayName="Divider";let A=d("loader");Object.freeze({loader:A,variant:{primary:`${A}--primary`,purple:`${A}--purple`,accent:`${A}--accent`,white:`${A}--white`},size:{s:`${A}--s`,m:`${A}--m`,l:`${A}--l`}});let F=d("progress-bar"),D=Object.freeze({progressBar:F,rounded:`${F}-rounded`,indicator:`${F}__indicator`,text:`${F}__text`,animationCircle:`${F}__animation-circle`});let Z=d("row"),H=(e,t,a)=>`${Z}--gutter-${e}-${t}-${a}`,U=Object.freeze({row:Z,state:{reverse:`${Z}--reverse`,gutter:(e,t="xs")=>Array.isArray(e)?[H(t,e[0],"h"),H(t,e[1],"v")].join(" "):H(t,e,"h")}});function Q({as:e,className:t="",reverse:a=!1,gutters:r={},children:l,...s}){let o=Object.entries(r).map(([e,t])=>U.state.gutter(t,e)).join(" ");return(0,i.jsx)(e||"div",{...s,className:(0,n.f)(U.row,t,o,{[U.state.reverse]:a}),children:l})}Q.displayName="Row";let G=d("skeleton"),V=Object.freeze({skeleton:G,states:{inline:`${G}--inline`,rounded:`${G}--rounded`,inverted:`${G}--inverted`,suspend:`${G}--suspend`}});function K({as:e,className:t="",width:a,height:r,inline:l=!1,rounded:s=!1,inverted:o=!1,suspend:d=!1,children:c,style:u,...f}){let h={...a&&{width:`${a}px`},...r&&{height:`${r}px`},...u};return(0,i.jsx)(e||"div",{className:(0,n.f)(V.skeleton,t,{[V.states.inline]:l,[V.states.rounded]:s,[V.states.inverted]:o,[V.states.suspend]:d}),style:h,"aria-hidden":"true",...f,children:c})}K.displayName="Skeleton",e.s(["N",0,E,"u",0,M,"t",0,W,"V",0,q,"z",0,Q,"l",0,K],51966)},5500,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"Image",{enumerable:!0,get:function(){return y}});let r=e.r(55682),i=e.r(90809),n=e.r(43476),l=i._(e.r(71645)),s=r._(e.r(74080)),o=r._(e.r(25633)),d=e.r(8927),c=e.r(65856),u=e.r(49381),f=r._(e.r(1948)),h=e.r(18581);function m(e,t,a,r,i,n,l){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),a?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;a.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function p(e){return l.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let g="u"<typeof window?l.useEffect:l.useLayoutEffect,v=(0,l.forwardRef)(({src:e,srcSet:t,sizes:a,height:r,width:i,decoding:s,className:o,style:d,fetchPriority:c,placeholder:u,loading:f,unoptimized:v,fill:b,onLoadRef:y,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:_,sizesInput:j,onLoad:$,onError:C,...N},O)=>{let z=(0,l.useRef)(!1),P=(0,l.useRef)(null);g(()=>{let{current:e}=z,{current:t}=P;e||null===t||(C&&(t.src=t.src),t.complete&&m(t,u,y,x,w,v,j),z.current=!0)},[e,u,y,x,C,v,j]);let S=(0,h.useMergedRef)(O,P);return(0,n.jsx)("img",{...N,...p(c),loading:f,width:i,height:r,decoding:s,"data-nimg":b?"fill":"1",className:o,style:d,sizes:a,srcSet:t,src:e,ref:S,onLoad:e=>{m(e.currentTarget,u,y,x,w,v,j)},onError:e=>{_(!0),"empty"!==u&&w(!0),C&&C(e)}})});function b({isAppRouter:e,imgAttributes:t}){let a={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...p(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,a),null):(0,n.jsx)(o.default,{children:(0,n.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...a},"__nimg-"+t.src+t.srcSet+t.sizes)})}let y=(0,l.forwardRef)((e,t)=>{let a=(0,l.useContext)(c.RouterContext),r=(0,u.useImageConfig)(),{onLoad:i,onLoadingComplete:s}=e,o=(0,l.useRef)(i);(0,l.useEffect)(()=>{o.current=i},[i]);let h=(0,l.useRef)(s);(0,l.useEffect)(()=>{h.current=s},[s]);let[m,p]=(0,l.useState)(!1),[g,y]=(0,l.useState)(!1),{props:x,meta:w}=(0,d.getImgProps)(e,{defaultLoader:f.default,imgConf:r,blurComplete:m,showAltText:g});return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v,{...x,unoptimized:w.unoptimized,placeholder:w.placeholder,fill:w.fill,onLoadRef:o,onLoadingCompleteRef:h,setBlurComplete:p,setShowAltText:y,sizesInput:e.sizes,ref:t}),w.preload?(0,n.jsx)(b,{isAppRouter:!a,imgAttributes:x}):null]})});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},49381,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useImageConfig",{enumerable:!0,get:function(){return s}});let r=e.r(71645),i=e.r(87690),n=e.r(18556),l={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75,90],path:"/invest/moneybox/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function s(){let e=(0,r.useContext)(n.ImageConfigContext);return(0,i.prepareImageConfig)(l,e)}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},18581,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=e.r(71645);function i(e,t){let a=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=a.current;e&&(a.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(a.current=n(e,r)),t&&(i.current=n(t,r))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},70965,(e,t,a)=>{function r(e,t){let a=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-a)<Math.abs(e-a)?t:e,t.qualities[0]):a}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"findClosestQuality",{enumerable:!0,get:function(){return r}})},8927,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return o}});let r=e.r(43369),i=e.r(88143),n=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:0/0:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):0/0}function o({src:e,sizes:t,unoptimized:a=!1,priority:d=!1,preload:c=!1,loading:u,className:f,quality:h,width:m,height:p,fill:g=!1,style:v,overrideSrc:b,onLoad:y,onLoadingComplete:x,placeholder:w="empty",blurDataURL:_,fetchPriority:j,decoding:$="async",layout:C,objectFit:N,objectPosition:O,lazyBoundary:z,lazyRoot:P,...S},E){var k;let R,M,{imgConf:I,showAltText:B,blurComplete:W,defaultLoader:L}=E;if(void 0===L)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let T=S.loader||L;delete S.loader,delete S.srcSet;let q="__next_img_default"in T;if(q){if("custom"===I.loader)throw Error(`Image with src "${e}" is missing "loader" prop.
Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{let e=T;T=t=>{let{config:a,...r}=t;return e(r)}}if(C){"fill"===C&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(v={...v,...e});let a={responsive:"100vw",fill:"100vw"}[C];a&&!t&&(t=a)}let A="",F=s(m),D=s(p);if((k=e)&&"object"==typeof k&&(l(k)||void 0!==k.src)){let t=l(e)?e.default:e;if(!t.src)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`);if(!t.height||!t.width)throw Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`);if(R=t.blurWidth,M=t.blurHeight,_=_||t.blurDataURL,A=t.src,!g)if(F||D){if(F&&!D){let e=F/t.width;D=Math.round(t.height*e)}else if(!F&&D){let e=D/t.height;F=Math.round(t.width*e)}}else F=t.width,D=t.height}let Z=!d&&!c&&("lazy"===u||void 0===u);(!(e="string"==typeof e?e:A)||e.startsWith("data:")||e.startsWith("blob:"))&&(a=!0,Z=!1),I.unoptimized&&(a=!0),q&&!I.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(a=!0);let H=s(h),U=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:N,objectPosition:O}:{},B?{}:{color:"transparent"},v),Q=W||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:F,heightInt:D,blurWidth:R,blurHeight:M,blurDataURL:_||"",objectFit:U.objectFit})}")`:`url("${w}")`,G=n.includes(U.objectFit)?"fill"===U.objectFit?"100% 100%":"cover":U.objectFit,V=Q?{backgroundSize:G,backgroundPosition:U.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Q}:{},K=function({config:e,src:t,unoptimized:a,width:i,quality:n,sizes:l,loader:s}){if(a){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,r.getDeploymentId)();if(t.includes("/_next/static/immutable")&&!(0,r.getAssetToken)())e=void 0;else if(e){let a=t.indexOf("?");if(-1!==a){let r=new URLSearchParams(t.slice(a+1));r.get("dpl")||(r.append("dpl",e),t=t.slice(0,a)+"?"+r.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t},a,r){if(r){let a=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=a.exec(r);)i.push(parseInt(e[2]));if(i.length){let a=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*a),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof a?{widths:e,kind:"w"}:{widths:[...new Set([a,2*a].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,l),c=o.length-1;return{sizes:l||"w"!==d?l:"100vw",srcSet:o.map((a,r)=>`${s({config:e,src:t,quality:n,width:a})} ${"w"===d?a:r+1}${d}`).join(", "),src:s({config:e,src:t,quality:n,width:o[c]})}}({config:I,src:e,unoptimized:a,width:F,quality:H,sizes:t,loader:T}),J=Z?"lazy":u;return{props:{...S,loading:J,fetchPriority:j,width:F,height:D,decoding:$,className:f,style:{...U,...V},sizes:K.sizes,srcSet:K.srcSet,src:b||K.src},meta:{unoptimized:a,preload:c||d,placeholder:w,fill:g}}}},25633,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0});var r={default:function(){return p},defaultHead:function(){return u}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n=e.r(55682),l=e.r(90809),s=e.r(43476),o=l._(e.r(71645)),d=n._(e.r(98879)),c=e.r(42732);function u(){return[(0,s.jsx)("meta",{charSet:"utf-8"},"charset"),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let h=["name","httpEquiv","charSet","itemProp"];function m(e){let t,a,r,i;return e.reduce(f,[]).reverse().concat(u().reverse()).filter((t=new Set,a=new Set,r=new Set,i={},e=>{let n=!0,l=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){l=!0;let a=e.key.slice(e.key.indexOf("$")+1);t.has(a)?n=!1:t.add(a)}switch(e.type){case"title":case"base":a.has(e.type)?n=!1:a.add(e.type);break;case"meta":for(let t=0,a=h.length;t<a;t++){let a=h[t];if(e.props.hasOwnProperty(a))if("charSet"===a)r.has(a)?n=!1:r.add(a);else{let t=e.props[a],r=i[a]||new Set;("name"!==a||!l)&&r.has(t)?n=!1:(r.add(t),i[a]=r)}}}return n})).reverse().map((e,t)=>{let a=e.key||t;return o.default.cloneElement(e,{key:a})})}let p=function({children:e}){let t=(0,o.useContext)(c.HeadManagerContext);return(0,s.jsx)(d.default,{reduceComponentsToState:m,headManager:t,children:e})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},88143,(e,t,a)=>{function r({widthInt:e,heightInt:t,blurWidth:a,blurHeight:i,blurDataURL:n,objectFit:l}){let s=a?40*a:e,o=i?40*i:t,d=s&&o?`viewBox='0 0 ${s} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===l?"xMidYMid":"cover"===l?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${n}'/%3E%3C/svg%3E`}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},18556,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return n}});let r=e.r(55682)._(e.r(71645)),i=e.r(87690),n=r.default.createContext(i.imageConfigDefault)},87690,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0});var r={VALID_LOADERS:function(){return n},imageConfigDefault:function(){return d},prepareImageConfig:function(){return o}};for(var i in r)Object.defineProperty(a,i,{enumerable:!0,get:r[i]});let n=["default","imgix","cloudinary","akamai","custom"],l={},s=new WeakMap;function o(e,t){let a=e??l,r=t??l,i=s.get(a);if(i){let e=i.get(r);if(e)return e}let n=e||t||d,o=[...n.deviceSizes].sort((e,t)=>e-t),c=[...n.imageSizes],u={deviceSizes:o,imageSizes:c,allSizes:[...o,...c].sort((e,t)=>e-t),qualities:void 0===n.qualities?void 0:[...n.qualities].sort((e,t)=>e-t),path:n.path,loader:n.loader,dangerouslyAllowSVG:n.dangerouslyAllowSVG,unoptimized:n.unoptimized,domains:n.domains,remotePatterns:n.remotePatterns,localPatterns:"u"<typeof window&&void 0!==t?t.localPatterns:n.localPatterns,output:n.output};return i||(i=new WeakMap,s.set(a,i)),i.set(r,u),u}let d={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},1948,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return l}});let r=e.r(70965),i=e.r(43369);function n({config:e,src:t,width:a,quality:l}){let s=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//"))if(t.includes("/_next/static/immutable")&&!(0,i.getAssetToken)())s=void 0;else{let e=t.indexOf("?");if(-1!==e){let a=new URLSearchParams(t.slice(e+1)),r=a.get("dpl");if(r){s=r,a.delete("dpl");let i=a.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`);let o=(0,r.findClosestQuality)(l,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${a}&q=${o}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}n.__next_img_default=!0;let l=n},65856,(e,t,a)=>{e.i(47167),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"RouterContext",{enumerable:!0,get:function(){return r}});let r=(e.r(55682)._(e.r(71645))).default.createContext(null)},98879,(e,t,a)=>{Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return s}});let r=e.r(71645),i="u"<typeof window,n=i?()=>{}:r.useLayoutEffect,l=i?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:a}=e;function s(){if(t&&t.mountedInstances){let e=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(a(e))}}return i&&(t?.mountedInstances?.add(e.children),s()),n(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),n(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},42950,e=>{e.s(["f",0,"/invest/moneybox"])}])})();