(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1154],{17806:(e,t,a)=>{"use strict";a.d(t,{VL:()=>x,cV:()=>_,oq:()=>y});let s=/#/g,l=/&/g,r=/\//g,c=/=/g,n=/\+/g,i=/%5e/gi,o=/%60/gi,u=/%7c/gi,d=/%20/gi;function h(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(u,"|").replace(n,"%2B").replace(d,"+").replace(s,"%23").replace(l,"%26").replace(o,"`").replace(i,"^").replace(r,"%2F")}function p(e){return h(e).replace(c,"%3D")}function f(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let m=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,g=/^([/\\]\s*){2,}[^/\\]/,b=/\/$|\/\?|\/#/,$=/^\.?\//;function w(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?m.test(e):v.test(e)||!!t.acceptRelative&&g.test(e)}function _(e,t){var a;if(!(a=t)||"/"===a||w(e))return e;let s=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(s)){let t=e[s.length];if(!t||"/"===t||"?"===t)return e}return y(s,e)}function x(e,t){var a;let s,l,r,c,i,o=function e(t="",a){let s=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(s){let[,e,t=""]=s;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!w(t,{acceptRelative:!0}))return a?e(a+t):N(t);let[,l="",r,c=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,n="",i=""]=c.match(/([^#/?]*)(.*)?/)||[];"file:"===l&&(i=i.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:o,search:u,hash:d}=N(i);return{protocol:l.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:n,pathname:o,search:u,hash:d,[j]:!l}}(e),u={...function(e=""){let t=Object.create(null);for(let a of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=a.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let s=f(e[1].replace(n," "));if("__proto__"===s||"constructor"===s)continue;let l=f((e[2]||"").replace(n," "));void 0===t[s]?t[s]=l:Array.isArray(t[s])?t[s].push(l):t[s]=[t[s],l]}return t}(o.search),...t};return o.search=Object.keys(u).filter(e=>void 0!==u[e]).map(e=>{var t;return(("number"==typeof(t=u[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${p(e)}=${h(t)}`).join("&"):`${p(e)}=${h(t)}`:p(e)}).filter(Boolean).join("&"),s=(a=o).pathname||"",l=a.search?(a.search.startsWith("?")?"":"?")+a.search:"",r=a.hash||"",c=a.auth?a.auth+"@":"",i=a.host||"",(a.protocol||a[j]?(a.protocol||"")+"//":"")+c+i+s+l+r}function y(e,...t){let a=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(a){let t=e.replace($,"");a=function(e=""){return e.endsWith("/")?e:e+"/"}(a)+t}else a=e;return a}let j=Symbol.for("ufo:protocolRelative");function N(e=""){let[t="",a="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:a,hash:s}}},25968:()=>{},34337:(e,t,a)=>{"use strict";a.d(t,{u:()=>l});var s=a(12115);let l=(e=!1)=>{let[t,a]=(0,s.useState)(e),l=(0,s.useCallback)(()=>a(!0),[]);return{value:t,show:l,hide:(0,s.useCallback)(()=>a(!1),[]),toggle:(0,s.useCallback)(()=>a(e=>!e),[])}}},37637:(e,t,a)=>{"use strict";a.d(t,{I:()=>f});var s=a(95155),l=a(12115),r=a(76701),c=a(29722),n=a(86969);a(42879);var i=a(92681),o=a(34337),u=a(83640);a(56601);let d=(...e)=>(...t)=>{e.forEach(e=>{null==e||e(...t)})},h=(0,u.g)("input-base"),p={wrapper:h,input:`${h}__input`,container:`${h}__container`,label:`${h}__label`,field:`${h}__field`,slotLeft:`${h}__slot-left`,rightLabel:`${h}__right-label`,caption:`${h}__caption`,placeholder:{visible:`${h}__placeholder`,hidden:`${h}__hidden`},states:{primary:`${h}--primary`,secondary:`${h}--secondary`,error:`${h}--error`,success:`${h}--success`,s:`${h}--s`,m:`${h}--m`,l:`${h}--l`,focused:`${h}--focused`,disabled:`${h}--disabled`,active:`${h}--active`,hasLabel:`${h}--has-label`,accent:`${h}--accent`}},f=(0,l.forwardRef)(({icon:e,rightLabel:t,slotLeft:a,disabled:u,state:h,size:f="m",variant:m="primary",label:v,value:g,placeholder:b,maskPlaceholder:$,autoFocus:w=!1,maskPlaceholderVariant:_="default",caption:x,type:y="text",inputMode:j="text",hasCaption:N,className:C,style:k,dataQa:A,dataId:E,inputRef:R,onChange:L,onFocus:I,onBlur:W,onKeyDown:Z,...B},M)=>{let S=(0,l.useId)(),{value:O,show:z,hide:q}=(0,o.u)(),D=(0,l.useRef)(null),F=(0,r.SV)([R,D]),P=(0,l.useMemo)(()=>O||!!g||!!b,[g,O,b]),V=(0,l.useCallback)(()=>{var e;null==(e=D.current)||e.focus()},[]),U=(0,l.useMemo)(()=>{if(!$)return null;let e={hidden:g??"",visible:$.substring((null==g?void 0:g.length)??0)};return $.length===(null==g?void 0:g.length)?null:e},[$,g]);return(0,l.useEffect)(()=>{var e,t,a;if(!w)return;let s=(null==(e=D.current)?void 0:e.value.length)??0;null==(t=D.current)||t.focus(),null==(a=D.current)||a.setSelectionRange(s,s)},[w]),(0,s.jsxs)("div",{className:(0,c.A)(C,p.wrapper),style:k,"data-qa":A,"data-id":E,children:[(0,s.jsxs)("div",{className:(0,c.A)(p.input,p.states[m],p.states[f],{[p.states.focused]:O,[p.states.error]:"error"===h,[p.states.success]:"success"===h,[p.states.disabled]:!!u,[p.states.hasLabel]:v}),onClick:V,ref:M,children:[a&&(0,s.jsx)("div",{className:p.slotLeft,children:a}),(0,s.jsxs)("label",{htmlFor:S,className:p.container,children:[v&&(0,s.jsx)("span",{className:(0,c.A)(p.label,{[p.states.active]:P,[p.states.s]:"s"===f,[p.states.disabled]:u,[p.states.error]:"error"===h,[p.states.success]:"success"===h}),children:v}),U&&!!g&&(0,s.jsxs)("div",{className:(0,c.A)(p.placeholder.visible,{[p.states.accent]:"accent"===_}),children:[U.hidden&&(0,s.jsx)("span",{className:p.placeholder.hidden,children:U.hidden}),U.visible]}),(0,s.jsx)("input",{...B,id:S,ref:F,className:(0,c.A)(p.field,{[p.states.s]:"s"===f,[p.states.hasLabel]:v,[p.states.disabled]:u}),type:y,inputMode:j,autoComplete:"off",placeholder:b,value:g,disabled:u,onChange:e=>{null==L||L(e.target.value,e)},onFocus:d(z,I),onBlur:d(q,W),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==L||L("",{target:{value:""}})),null==Z||Z(e)}})]}),t&&(0,s.jsx)("div",{className:(0,c.A)(p.rightLabel,{[p.states.disabled]:u}),children:t}),e]}),(N||x)&&(0,s.jsx)(n.C,{dataQa:(0,i.g)(`${A}-caption`,!!A),className:(0,c.A)(p.caption,{[p.states.disabled]:u}),state:h,withoutIcon:!0,children:x})]})});f.displayName="InputBase"},56601:()=>{},86253:(e,t,a)=>{"use strict";a.d(t,{l:()=>s});let s={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},86969:(e,t,a)=>{"use strict";a.d(t,{C:()=>p});var s=a(95155),l=a(29722),r=a(12115),c=a(26048),n=a(86253),i=a(83640);function o(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.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 u(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.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"}))}a(25968);let d=(0,i.g)("caption"),h=Object.freeze({caption:d,captionWithIcon:`${d}--with-icon`,content:`${d}__content`,icon:`${d}__icon`,text:`${d}__text`,size:{s:`${d}--s`,m:`${d}--m`},states:{success:`${d}--success`,error:`${d}--error`,warning:`${d}--warning`}});function p({as:e,children:t,state:a="default",size:r="m",text:i,withoutIcon:d=!1,lineClamp:f,role:m,dataQa:v,dataId:g,className:b,style:$,...w}){let _=i||t,x=!d&&["success","error","warning"].includes(a),y="success"===a?o:u,j=(0,l.A)(b,h.caption,h.size[r],{[h.captionWithIcon]:x,[h.states.success]:"success"===a,[h.states.error]:"error"===a,[h.states.warning]:"warning"===a});return(0,s.jsx)(e||"div",{className:j,style:$,role:m,...w,"data-id":g,"data-qa":v,children:(0,s.jsxs)("div",{className:h.content,children:[x&&_&&(0,s.jsx)(c.P,{className:h.icon,children:(0,s.jsx)(y,{})}),(0,s.jsx)("span",{className:(0,l.A)(h.text),style:{...f?{WebkitLineClamp:f,lineClamp:f,...n.l}:void 0},children:_})]})})}p.displayName="Caption"}}]);