(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[858],{3835:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var o=n(14232);let c=(e,t)=>{e&&(t?e.setAttribute("data-portal",""):e.removeAttribute("data-portal"))},i=(e,t)=>{t.style.removeProperty("overflow-y"),e.classList.toggle("scroll-disable-windows",!1),e.style.removeProperty("overflow"),e.style.removeProperty("height"),e.style.removeProperty("width"),e.style.removeProperty("top")},l=()=>{void 0!==window.prevScrollPosition&&(window.scrollTo(0,window.prevScrollPosition),window.prevScrollPosition=void 0)},a=()=>document.querySelectorAll("[data-portal]").length>1,r=e=>{let t=(0,o.useRef)(null),n=(0,o.useRef)(!1);return(0,o.useEffect)(()=>{if(n.current===e)return;n.current=e;let o=t.current,r=document.body,s=document.documentElement,d=window.innerWidth-s.clientWidth,u=d>0;if(e&&u)r.style.top||(window.prevScrollPosition=window.scrollY),((e,t,n)=>{t.style.setProperty("overflow-y","scroll"),e.classList.toggle("scroll-disable-windows",!0),e.style.setProperty("width","calc(100vw - ".concat(n,"px)")),e.style.setProperty("top","-".concat(window.prevScrollPosition,"px"))})(r,s,d),c(o,!0);else if(e)(e=>{e.style.setProperty("overflow","hidden"),e.style.setProperty("height","100vh")})(r),c(o,!0);else{let e=!a();e&&i(r,s),e&&l(),c(o,!1)}return()=>{let e=!a();e&&i(r,s),e&&l()}},[e]),t}},9789:(e,t,n)=>{"use strict";function o(e){return"".concat("finkit-modular","-").concat(e)}n.d(t,{g:()=>o})},10157:(e,t,n)=>{"use strict";n.d(t,{t:()=>c});let o={а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"y",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"h",ц:"c",ч:"ch",ш:"sh",щ:"sch",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya"},c=e=>e.replace(/[а-яё]/gi,e=>{let t=e.toLowerCase();return t in o?o[t]:e}).replaceAll(/[ \u00A0]/g,"_")},13636:(e,t,n)=>{"use strict";n.d(t,{$:()=>o.a});var o=n(83815)},14595:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var o=n(37876),c=n(69241),i=n(9789);n(83314);let l=Object.freeze({privateIcon:(0,i.g)("private-icon")}),a=e=>{let{children:t,className:n,style:i,...a}=e;return(0,o.jsx)("span",{className:(0,c.A)(l.privateIcon,n),style:i,...a,children:t})};a.displayName="PrivateIcon"},15720:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var o=n(14232);let c={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>o.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M7.22 7.22a.743.743 0 011.06 0L12 10.94l3.72-3.72a.743.743 0 011.06 0 .742.742 0 010 1.06L13.061 12l3.72 3.72a.743.743 0 010 1.06.743.743 0 01-1.061 0L12 13.06l-3.72 3.72a.743.743 0 01-1.06 0 .743.743 0 010-1.06L10.94 12 7.22 8.28a.743.743 0 010-1.06z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a(e){let{className:t,style:n,boxSize:a,size:r,onClick:s}=e;return o.createElement("span",{className:t,style:{...c,...s&&{cursor:"pointer"},...r&&{fontSize:"".concat(r,"px")},...a&&{width:"".concat(a,"px"),height:"".concat(a,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...s?{role:"button",tabIndex:"0",onClick:s}:{}},o.createElement(l,{viewBox:"0 0 24 24",style:i}))}a.displayName="IconFdsCloseO"},20134:()=>{},31557:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var o=n(70728);let c=(e,t)=>{let n=sessionStorage.getItem("pushedEvents"),c=n?JSON.parse(n):[];e.event||(e.event="data-event"),"string"==typeof e.eventAction&&(e.eventAction=e.eventAction.toLowerCase().replaceAll(" ","_")),"string"==typeof e.eventLabel&&(e.eventLabel=e.eventLabel.toLowerCase().replaceAll(" ","_")),e.eventLabel||(e.eventLabel="undefined");let i=c.find(n=>n.eventCategory===e.eventCategory&&n.eventAction===e.eventAction&&n.eventLabel===e.eventLabel&&("all"===t||"url"===t&&window.location.pathname===n.url));if(!t||!i){if(t){let t={...e};t.url=window.location.pathname,c.push(t),sessionStorage.setItem("pushedEvents",JSON.stringify(c))}(0,o.Fj)(e)}}},34350:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});let o={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},40317:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var o=n(37876),c=n(69241),i=n(9789);n(76637);let l=(0,i.g)("container"),a=Object.freeze({container:l,states:{narrow:"".concat(l,"--narrow")}}),r=e=>{let{children:t,as:n,fluid:i=!1,className:l="",...r}=e;return(0,o.jsx)(n||"div",{className:(0,c.A)(a.container,l,{[a.states.narrow]:!i}),...r,children:t})};r.displayName="Container"},44373:()=>{},44500:(e,t,n)=>{"use strict";n.d(t,{D:()=>i,h:()=>a});var o=n(10157),c=n(31557),i=(e=>(e.icon="icon",e.chip="chip",e.accordion="accordion",e.button="button",e.checkbox="checkbox",e.radio="radio",e.select="select",e.toggle="toggle",e.tooltip="tooltip",e.link="link",e.banner="banner",e.tag="tag",e.date="date",e.field="field",e.offer="offer",e.tab="tab",e.submitButton="submitButton",e.popup="popup",e.block="block",e.show="show",e.close="close",e))(i||{});let l={icon:"click_icon_",chip:"click_chip_",accordion:"show_acc_",button:"click_button_",checkbox:"click_check_",radio:"click_radio_",select:"click_sel_",toggle:"click_togg_",tooltip:"click_tip_",link:"click_link_",banner:"click_bnr_",tag:"click_tag_",date:"input_date_",field:"input_field_",offer:"click_offer_",tab:"click_tab_",submitButton:"form_button_",popup:"show_pop_up_",block:"click_block_",show:"show_",close:"close_"},a=e=>{let{eventCategory:t,eventActionType:n,eventActionText:i="",eventLabel:a}=e,r={event:"data-event",eventCategory:t,eventAction:l[n]+(0,o.t)(i)};void 0!==a&&(r.eventLabel=(0,o.t)("string"==typeof a?a:a.toString())),(0,c.d)(r)}},50657:(e,t,n)=>{"use strict";n.d(t,{C:()=>p,P:()=>y,U:()=>_,u:()=>d});var o=n(37876),c=n(14232),i=n(15720),l=n(69241),a=n(3835),r=n(57539),s=n(98477);let d=e=>{let{opened:t}=e,[n,o]=(0,c.useState)(!1),i=(0,c.useRef)(null),l=(0,c.useRef)(!1);return(0,c.useEffect)(()=>(t&&!l.current?(l.current=!0,o(!0)):!t&&l.current&&(i.current=setTimeout(()=>{l.current=!1,o(!1)},300)),()=>{i.current&&clearTimeout(i.current)}),[t]),{mounted:n}},u=(0,r.g)("click-outside","sc"),m=Object.freeze({overlay:"".concat(u,"__overlay"),open:"".concat(u,"--open"),close:"".concat(u,"--close")}),p=e=>{let{onClose:t,onToucheMove:n,isOpen:i,delay:a=300}=e,r=(0,c.useRef)(null),s=(0,c.useCallback)(()=>{t&&(r.current=setTimeout(()=>{t()},a))},[a,t]),d=(0,c.useCallback)(e=>{"Escape"===e.key&&s()},[s]);return(0,c.useEffect)(()=>(i&&window.addEventListener("keydown",d),()=>{r.current&&clearTimeout(r.current),window.removeEventListener("keydown",d)}),[i,d]),(0,o.jsx)("div",{className:(0,l.A)(m.overlay,{[m.open]:i,[m.close]:!i}),onTouchStart:n,onClick:s})},h=(0,r.g)("mobile-modal-footer","sc"),f=Object.freeze({footer:"".concat(h,"__footer"),footerWithoutShadow:"".concat(h,"__footer--without-shadow")}),v=e=>{let{footer:t,isSmallPopup:n=!1,footerClassName:c}=e;return(0,o.jsx)("div",{className:(0,l.A)(f.footer,n&&f.footerWithoutShadow,c),children:"function"==typeof t?t():t})},b=(0,r.g)("mobile-popup","sc"),g=Object.freeze({mobilePopup:"".concat(b),mobilePopupOpen:"".concat(b,"--open"),content:"".concat(b,"__content"),contentFull:"".concat(b,"__content--full"),contentTransition:"".concat(b,"__content--transition"),contentTransitionOpen:"".concat(b,"__content--transition-open"),contentLine:"".concat(b,"__content-line"),contentContainer:"".concat(b,"__content-container"),smallContentContainer:"".concat(b,"__content-container--small"),min:"".concat(b,"__content-container--min"),title:"".concat(b,"__title"),closeContainer:"".concat(b,"__close-container"),closeButton:"".concat(b,"__close-button")}),x=e=>{let{children:t,footer:n,isOpen:r,isSmallPopup:s,onClose:d,hasCloseButton:u=!0,full:m,touchDistance:h=100,withDisabledScroll:f=!0,contentClassName:b,className:x,title:_,closeButton:w,footerClassName:j}=e,[y,N]=(0,c.useState)(!1),[k,A]=(0,c.useState)(!1),[C,z]=(0,c.useState)(!0),[L,O]=(0,c.useState)("120%"),S=(0,c.useRef)(null),T=(0,c.useRef)(0),E=(0,c.useRef)(!1),W=e=>{var t,n,o;let c=null==(t=S.current)?void 0:t.offsetTop,i=null==(n=S.current)?void 0:n.offsetHeight;if(E.current=!0,z(!1),c&&i){let t=(null==(o=null==e?void 0:e.touches[0])?void 0:o.clientY)-c,n=0;t>=0&&t<=i+30&&(n=t),t>i+30&&(n=i+30),O("".concat(n,"px")),T.current=n}},R=()=>{E.current&&(T.current>h&&d?null==d||d():O("0"),z(!0),E.current=!1),window.removeEventListener("touchmove",W),window.removeEventListener("touchend",R)};return(0,c.useEffect)(()=>{r&&setTimeout(()=>{N(!0),A(!0),O("0")},100),!r&&k&&(O("120%"),N(!1),A(!1))},[k,r]),(0,a.u)(r&&f),(0,o.jsxs)("div",{"data-portal":!0,className:(0,l.A)(g.mobilePopup,k&&g.mobilePopupOpen,x),children:[(0,o.jsx)(p,{onClose:()=>{r&&(null==d||d())},onToucheMove:()=>{r&&(N(!1),window.addEventListener("touchmove",W),window.addEventListener("touchend",R))},isOpen:r,delay:0}),(0,o.jsxs)("div",{className:(0,l.A)(g.content,m&&g.contentFull,C&&g.contentTransition,C&&y&&g.contentTransitionOpen),ref:S,style:{transform:"translateY(".concat(L,")")},children:[(0,o.jsx)("div",{className:g.contentLine}),(0,o.jsxs)("div",{className:(0,l.A)(g.contentContainer,s&&g.smallContentContainer,{[g.min]:!_&&!u},b),children:[!!_&&(0,o.jsx)("div",{className:g.title,children:_}),u?(0,o.jsx)("div",{className:g.closeContainer,children:u?w?"function"==typeof w?w():w:(0,o.jsx)("button",{onClick:d,className:g.closeButton,children:(0,o.jsx)(i.a,{size:24})}):null}):null,t]}),n&&(0,o.jsx)(v,{footerClassName:j,isSmallPopup:s,footer:n})]})]})},_=e=>{let{children:t,isSmallPopup:n=!1,isOpen:c=!1,...i}=e,{mounted:l}=d({opened:c});return l?(0,o.jsx)(x,{isSmallPopup:n,isOpen:c,...i,children:t}):null};_.displayName="UiMobilePopup";let w="data-portal-users",j=e=>{var t;return Number(null!=(t=e.getAttribute(w))?t:0)},y=e=>{let{children:t,id:n="portal-root"}=e,[o,i]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let e=document.getElementById(n);if(e&&!e.hasAttribute(w))return void i(e);let t=null!=e?e:document.body.appendChild(document.createElement("div"));return t.id=n,t.setAttribute(w,String(j(t)+1)),i(t),()=>{let e=j(t)-1;t.setAttribute(w,String(e)),e>0||t.remove()}},[n]),o?(0,s.createPortal)(t,o):null}},50858:(e,t,n)=>{"use strict";n.d(t,{w:()=>en}),n(75152);var o=n(37876),c=n(40317),i=n(69241),l=n(34350),a=n(9789);n(44373);let r=Object.freeze({text:(0,a.g)("text")});function s(e){let{as:t,className:n,style:c,children:a,size:s,weight:d,lineClamp:u,dataQa:m,dataId:p,...h}=e;return(0,o.jsx)(t||"span",{className:(0,i.A)(r.text,n),style:{...s&&{fontSize:"var(--font-size-".concat(s,")"),lineHeight:"var(--font-line-height-".concat(s,")")},...d&&{fontWeight:"var(--font-weight-".concat(d,")")},...u&&{WebkitLineClamp:u,lineClamp:u,...l.l},...c},...h,"data-id":p,"data-qa":m,children:a})}s.displayName="Text";var d=n(91273),u=n(51391),m=n(44500);let p=e=>{let{minioUrl:t,iconName:n,alt:c}=e;return(0,o.jsx)("img",{width:24,height:24,src:(0,d.oq)(t,"/widgets/footer/".concat(n,".svg")),alt:c,loading:"lazy"})},h=e=>{let{onClick:t,eventCategory:n,eventActionType:c,eventActionText:i,eventLabel:l,chat:a,onKeyDown:r,...s}=e,d=()=>{(0,m.h)({eventCategory:n,eventActionType:c||m.D.link,eventActionText:i||"",eventLabel:l})},p=()=>{var e,t,n;return null==(n=null==(t=null==(e=null==window?void 0:window.supportWidget)?void 0:e.craftTalk)?void 0:t.open)?void 0:n.call(t)};return(0,o.jsx)(u.N,{onClick:e=>{null==t||t(e),a&&(null==e||e.preventDefault(),p()),d()},onKeyDown:e=>{null==r||r(e),!(!a||"Enter"!==e.key&&" "!==e.key)&&(e.preventDefault(),e.repeat||(p(),d()))},...s})};var f=n(57539),v=n(13636),b=n(75250),g=n(82662),x=n(14232),_=n(52426),w=n(55151),j=n(50657);let y=(0,f.g)("footer-contacts-block","sc"),N=Object.freeze({contactsWrapper:"".concat(y,"__contacts-wrapper"),gray:"".concat(y,"__gray"),phones:"".concat(y,"__phones"),contactsButtons:"".concat(y,"__contacts-buttons"),vkIcon:"".concat(y,"__vk-icon"),tgIcon:"".concat(y,"__tg-icon"),dzenIcon:"".concat(y,"__dzen-icon"),maxIcon:"".concat(y,"__max-icon"),link:"".concat(y,"__link")}),k=(0,f.g)("footer","sc"),A=Object.freeze({wrapper:"".concat(k,"__wrapper"),section:"".concat(k,"__section"),container:"".concat(k,"__container"),top:"".concat(k,"__top"),main:"".concat(k,"__main"),links:"".concat(k,"__links"),disclaimer:"".concat(k,"__disclaimer"),bottom:"".concat(k,"__bottom"),bottomLinks:"".concat(k,"__bottom-links"),bottomDisclaimer:"".concat(k,"__bottom-disclaimer"),compact:"".concat(k,"__wrapper--compact"),white:"".concat(k,"__wrapper--white")}),C="finkit-widgets-sc-footer",z=[{title:"8 (800) 505-32-32",url:"tel:88005053232"},{title:"8 (800) 700-64-94",url:"tel:88007006494"},{title:"+7 (495) 145-32-32",url:"tel:+74951453232"},{title:"+7 (495) 787-64-94",url:"tel:+74957876494"}],L=[...z,{title:"Онлайн чат",url:void 0}],O=[{type:"vk",label:"ВКонтакте",className:N.vkIcon,iconName:"vk"},{type:"telegramChannel",label:"Telegram",className:N.tgIcon,iconName:"telegram"},{type:"dzen",label:"Дзен",className:N.dzenIcon,iconName:"dzen"},{type:"max",label:"MAX",className:N.maxIcon,iconName:"max"}],S=(0,o.jsxs)("p",{children:["На сайте finuslugi.ru предоставляются услуги оператора финансовой платформы ПАО Московская Биржа, а также услуги ООО \xabМБ Маркетплейс\xbb, организации, не являющейся оператором финансовой платформы в соответствии с Федеральным законом от 20.07.2020 №211-ФЗ \xabО совершении финансовых сделок с использованием финансовой платформы\xbb. Услуги оператора финансовой платформы ПАО Московская Биржа обозначены пометкой \xabОткрытие онлайн на Финуслугах\xbb. Иная информация на сайте www.finuslugi.ru считается размещенной ООО \xabМБ Маркетплейс\xbb, если иное явно не следует из существа размещаемой информации. ООО \xabМБ Маркетплейс\xbb входит в Группу \xabМосковская Биржа\xbb.",(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),"Группа \xabМосковская Биржа\xbb - ПАО Московская Биржа и юридические лица, находящиеся под прямым или косвенным контролем ПАО Московская Биржа."]}),T=e=>{let{onClick:t,eventActionText:n,eventLabel:c,...i}=e;return(0,o.jsx)(v.$,{onClick:e=>{null==t||t(e),(0,m.h)({eventCategory:C,eventActionType:m.D.button,eventActionText:n||"",eventLabel:c})},...i})},E=e=>(0,o.jsx)(h,{eventCategory:C,...e}),W=e=>{let{minioUrl:t,blogs:n}=e;return(0,o.jsxs)("div",{className:N.contactsWrapper,children:[(0,o.jsx)(s,{className:N.gray,size:"16",weight:"regular",children:"Звоните или пишите"}),(0,o.jsx)("div",{className:N.phones,children:L.map(e=>{let{title:t,url:n}=e;return(0,o.jsx)(E,{href:n,role:n?void 0:"button",eventActionText:t,chat:!n,children:t},t)})}),(0,o.jsx)(s,{className:N.gray,size:"16",weight:"regular",children:"Следите за нами в соцсетях"}),(0,o.jsx)("div",{className:N.contactsButtons,children:O.map(e=>{let{type:c,label:i,className:l,iconName:a}=e;return(0,o.jsx)(T,{as:"a",href:null==n?void 0:n[c],target:"_blank","aria-label":i,className:l,iconRight:(0,o.jsx)(p,{minioUrl:t,iconName:a,alt:i}),shape:"circle-icon",variant:"white",eventActionText:c,eventLabel:null==n?void 0:n[c]},c)})}),(0,o.jsx)(s,{className:N.gray,size:"16",weight:"regular",children:"Канал для инвесторов"}),(0,o.jsx)("div",{className:N.contactsButtons,children:(0,o.jsxs)(E,{href:null==n?void 0:n.investTg,target:"_blank",className:N.link,eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg,children:[(0,o.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:N.tgIcon,iconRight:(0,o.jsx)(p,{minioUrl:t,iconName:"telegram",alt:""}),shape:"circle-icon",variant:"white",eventActionText:"telegram",eventLabel:null==n?void 0:n.investTg}),"Финуслуги Инвест"]})})]})},R=(0,f.g)("footer-disclaimer","sc"),P=Object.freeze({disclaimer:"".concat(R)}),I=e=>{let t=e=>{e.target instanceof HTMLAnchorElement&&(0,m.h)({eventCategory:C,eventActionType:m.D.link,eventActionText:e.target.textContent||"",eventLabel:e.target.href})};return e.disclaimer?(0,o.jsx)("div",{className:(0,i.A)(e.className,P.disclaimer),dangerouslySetInnerHTML:{__html:e.disclaimer||""},onClick:t}):(0,o.jsx)("div",{className:(0,i.A)(e.className,P.disclaimer),onClick:t,children:e.children})},U=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",[t,n]=(0,x.useState)(e);return(0,x.useEffect)(()=>{let t=(()=>{let e=new URL(window.location.href),t=new URLSearchParams;return e.searchParams.forEach((e,n)=>{/^utm_/i.test(n)&&t.set(n,e)}),t})();if(!t||0===t.size)return;let[o,c=""]=e.split("?"),i=new URLSearchParams(c);t.forEach((e,t)=>{i.has(t)||i.set(t,e)});let l=i.toString();n(l?"".concat(o,"?").concat(l):o)},[e]),t},B=(0,f.g)("footer-modal-body","sc"),D=Object.freeze({wrapper:"".concat(B,"__wrapper"),title:"".concat(B,"__title"),item:"".concat(B,"__item"),label:"".concat(B,"__label"),button:"".concat(B,"__button"),description:"".concat(B,"__description")}),M=e=>{let{directions:t}=e;return(0,o.jsxs)("div",{className:D.wrapper,children:[(0,o.jsx)("div",{className:D.title,children:"Направления"}),t.map(e=>(0,o.jsxs)(E,{className:D.item,href:e.url,target:"_blank",eventActionText:e.name,eventLabel:"".concat(e.name,"_").concat(e.url),children:[(0,o.jsxs)("div",{className:D.label,children:[(0,o.jsx)("span",{children:e.name}),(0,o.jsx)(T,{className:D.button,iconRight:(0,o.jsx)(b.K,{size:28}),shape:"circle-icon",eventActionText:"IconFdsArrowUpRightSmallO"})]}),(0,o.jsx)("p",{className:D.description,children:e.description})]},e.url))]})},q=(0,f.g)("footer-popup","sc"),F=Object.freeze({wrapper:"".concat(q,"__wrapper"),button:"".concat(q,"__button"),icon:"".concat(q,"__icon"),buttonWrapper:"".concat(q,"__button-wrapper")}),H=e=>{let{directions:t}=e,n=(0,_.qF)("l"),[c,i]=(0,x.useState)(!1),l=()=>{i(!1)};return(0,o.jsxs)("div",{className:F.wrapper,children:[(0,o.jsx)("div",{className:F.buttonWrapper,children:(0,o.jsx)(T,{className:F.button,appearance:"ghost",variant:"white",onClick:()=>{i(!0)},label:"Все направления",eventActionText:"Все направления",iconLeft:(0,o.jsx)("div",{className:F.icon,children:[1,2,3,4,5,6,7,8,9].map(e=>(0,o.jsx)("div",{},e))})})}),(0,o.jsxs)(j.P,{children:[!n&&(0,o.jsx)(j.U,{isOpen:c,onClose:l,full:!0,children:(0,o.jsx)(M,{directions:t})}),n&&(0,o.jsx)(w.D,{isOpen:c,onClose:l,width:"804px",children:(0,o.jsx)(M,{directions:t})})]})]})},K=(0,f.g)("footer-left-column","sc"),V=Object.freeze({leftColumn:"".concat(K,"__left-column"),logoWrapper:"".concat(K,"__logo-wrapper"),banner:"".concat(K,"__banner"),bannerButton:"".concat(K,"__banner-button"),mobAppLink:"".concat(K,"__mob-app-link"),br:"".concat(K,"__br")}),$=e=>{let{showcaseUrl:t,minioUrl:n,directions:c,mobAppUrl:i}=e,l=U(i);return(0,o.jsxs)("div",{className:V.leftColumn,children:[(0,o.jsx)(E,{className:V.logoWrapper,href:t,eventActionType:m.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:(0,o.jsx)("img",{src:(0,d.oq)(n,"/widgets/footer/finuslugi_base_logo.svg"),alt:"finuslugi logo",loading:"lazy"})}),(0,o.jsx)(H,{directions:null!=c?c:[]}),(0,o.jsx)(E,{href:l,target:"_blank",eventActionType:m.D.banner,eventActionText:"Управляйте финансами через приложение Финуслуг",eventLabel:l,className:V.mobAppLink,children:(0,o.jsxs)(g.Z,{className:V.banner,children:[(0,o.jsxs)(s,{weight:"medium",children:["Управляйте финансами",(0,o.jsx)("br",{}),"через приложение",(0,o.jsx)("br",{className:V.br})," Финуслуг"]}),(0,o.jsx)(T,{as:"span",tabIndex:-1,"aria-hidden":!0,className:V.bannerButton,iconRight:(0,o.jsx)(b.K,{size:32}),shape:"circle-icon",variant:"white",eventActionText:"IconFdsArrowUpRightSmallO"}),(0,o.jsxs)("picture",{children:[(0,o.jsx)("source",{srcSet:(0,d.oq)(n,"/widgets/footer/apps_d.webp"),media:"(min-width: 1024px)"}),(0,o.jsx)("img",{src:(0,d.oq)(n,"/widgets/footer/apps_m.webp"),alt:"иллюстрация мобильного приложения",loading:"lazy"})]})]})})]})},Z=(0,f.g)("footer-logo","sc"),Y=Object.freeze({wrapper:"".concat(Z,"__wrapper"),link:"".concat(Z,"__link"),fromMoex:"".concat(Z,"__from-moex"),logo:"".concat(Z,"__logo"),white:"".concat(Z,"__wrapper--white")}),G=e=>{let{showcaseUrl:t,minioUrl:n,isWhite:c}=e;return(0,o.jsx)("div",{className:(0,i.A)(Y.wrapper,{[Y.white]:c}),children:(0,o.jsxs)(E,{className:Y.link,href:t,eventActionType:m.D.icon,eventActionText:"finuslugi_logo",eventLabel:"finuslugi_logo_".concat(t),children:[(0,o.jsx)("img",{className:Y.logo,src:"".concat(n,"/images/logo-brandmark-common-finuslugi.svg"),loading:"lazy"}),(0,o.jsx)("img",{className:Y.fromMoex,src:"".concat(n,"/images/fromMoex.svg"),loading:"lazy"})]})})};var J=(e=>(e.BLACK="black",e.GRAY="gray",e))(J||{});let X=(0,f.g)("footer-warning","sc"),Q=Object.freeze({reservedSpace:"".concat(X,"__reserved-space"),wrapper:"".concat(X,"__wrapper"),wrapperGray:"".concat(X,"__wrapper--gray"),fixed:"".concat(X,"__wrapper--fixed"),container:"".concat(X,"__container"),text:"".concat(X,"__text"),invisibleText:"".concat(X,"__text--invisible")}),ee=e=>{let{text:t,variant:n,fixed:l,isPlaceholder:a}=e;return(0,o.jsx)("div",{className:(0,i.A)(Q.wrapper,{[Q.wrapperGray]:"gray"===n,[Q.fixed]:l&&!a}),children:(0,o.jsx)(c.m,{className:Q.container,children:(0,o.jsx)("div",{className:(0,i.A)(Q.text,{[Q.invisibleText]:a}),dangerouslySetInnerHTML:{__html:t}})})})},et=e=>{var t,n;let{warning:c}=e,i="string"==typeof c?{text:c}:c,l={text:i.text,fixed:null==(t=i.fixed)||t,variant:null!=(n=i.variant)?n:J.BLACK};return(0,o.jsxs)("div",{className:Q.reservedSpace,children:[(0,o.jsx)(ee,{...l,isPlaceholder:l.fixed}),l.fixed&&(0,o.jsx)(ee,{...l,fixed:!0})]})},en=e=>{var t,n;let{data:l,showcaseUrl:a="https://finuslugi.ru",minioUrl:r="https://assets.finuslugi.ru/mp-assets",customDisclaimer:s,variant:d="default",className:u}=e,m=!s&&null!=l&&l.disclaimer?l.disclaimer:void 0,p=d.includes("compact"),h=d.includes("white"),f=null==(t=null==l?void 0:l.bottom)?void 0:t.concat(p?z:[]),v=l&&"warning"in l?l.warning:void 0;return l?(0,o.jsx)("footer",{className:(0,i.A)(A.wrapper,u,{[A.compact]:p,[A.white]:h}),children:(0,o.jsxs)("section",{className:A.section,children:[(0,o.jsxs)(c.m,{className:A.container,children:[!p&&(0,o.jsx)($,{showcaseUrl:a,minioUrl:r,directions:null==l?void 0:l.directions,mobAppUrl:null==l?void 0:l.mobAppUrl}),(0,o.jsx)("div",{className:A.wrapper,children:(0,o.jsxs)("div",{className:A.top,children:[(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:A.main,children:[!p&&(0,o.jsx)("div",{className:A.links,children:null==(n=null==l?void 0:l.top)?void 0:n.map(e=>(0,o.jsx)(E,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),p&&(0,o.jsx)(G,{showcaseUrl:a,minioUrl:r,isWhite:h}),(0,o.jsx)(I,{className:A.disclaimer,disclaimer:m,children:s||S})]}),(0,o.jsxs)("div",{className:A.bottom,children:[(0,o.jsx)("div",{className:A.bottomLinks,children:null==f?void 0:f.map(e=>(0,o.jsx)(E,{href:e.url,eventActionText:e.title,eventLabel:e.url,children:e.title},e.url))}),(0,o.jsx)(I,{className:A.bottomDisclaimer,disclaimer:null==l?void 0:l.bottomDisclaimer})]})]}),!p&&(0,o.jsx)(W,{minioUrl:r,blogs:null==l?void 0:l.blogs})]})})]}),p&&!!v&&(0,o.jsx)(et,{warning:v})]})}):null}},51391:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var o=n(37876),c=n(69241),i=n(14232),l=n(14595),a=n(9789);function r(e){return i.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M10.25 5.75c0 .414.336.75.75.75h5.44L5.22 17.72a.75.75 0 1 0 1.06 1.06L17.5 7.56V13a.75.75 0 0 0 1.5 0V5.75a.75.75 0 0 0-.75-.75H11a.75.75 0 0 0-.75.75Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(75552);let s=(0,a.g)("link"),d=Object.freeze({link:s,states:{inverted:"".concat(s,"--inverted"),disabled:"".concat(s,"--disabled")},content:"".concat(s,"__content"),icon:"".concat(s,"__icon"),size:{s:"".concat(s,"--s"),m:"".concat(s,"--m")}});function u(e){let{as:t,size:n="m",withIcon:i=!1,children:a,disabled:s,text:u,inverted:m,onClick:p,className:h,style:f,dataQa:v,dataId:b,...g}=e,x=(0,c.A)(d.link,{[d.states.inverted]:m,[d.states.disabled]:s},d.size[n],h),_=u||a;return(0,o.jsx)(t||"a",{className:x,disabled:s,style:f,onClick:p,"aria-disabled":s,tabIndex:s?-1:0,...g,"data-id":b,"data-qa":v,children:i?(0,o.jsxs)("span",{className:d.content,children:[_,(0,o.jsx)(l.P,{className:d.icon,children:(0,o.jsx)(r,{})})]}):_})}u.displayName="Link"},52426:(e,t,n)=>{"use strict";n.d(t,{nu:()=>s,qF:()=>d});let o=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})}),c=Object.freeze(Object.keys(o));Object.freeze(c.filter(e=>"xs"!==e)),Object.freeze(c.filter(e=>"3xl"!==e));var i=n(14232);let l=i.useEffect;function a(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],window.matchMedia(e).matches}function r(e){let{defaultValue:t=!1,initializeWithValue:n=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[o,c]=(0,i.useState)(()=>n?a(e,t):null!=t&&t);function r(){c(a(e))}return l(()=>{let t=window.matchMedia(e);return r(),"function"==typeof t.addListener?t.addListener(r):t.addEventListener("change",r),()=>{"function"==typeof t.removeListener?t.removeListener(r):t.removeEventListener("change",r)}},[e]),o}function s(e){let{maxWidth:t}=o[e];return r("screen and (max-width: ".concat(t,"px)"))}function d(e){let{minWidth:t}=o[e];return r("screen and (min-width: ".concat(t,"px)"))}},55151:(e,t,n)=>{"use strict";n.d(t,{D:()=>x});var o=n(37876),c=n(50657),i=n(14232),l=n(69241),a=n(3835),r=n(15720),s=n(57539);let d=(0,s.g)("drawer-footer","sc"),u=Object.freeze({footer:"".concat(d,"__footer"),hasScroll:"".concat(d,"__footer--has-scroll")}),m=e=>{let{footer:t,hasScroll:n,className:c}=e;return(0,o.jsx)("div",{className:(0,l.A)(u.footer,{[u.hasScroll]:n},c),children:"function"==typeof t?t():t})},p=(0,s.g)("drawer-content","sc"),h=Object.freeze({container:"".concat(p,"__container"),open:"".concat(p,"--open"),close:"".concat(p,"--close"),header:"".concat(p,"__header"),rowHeader:"".concat(p,"__header--row"),title:"".concat(p,"__title"),center:"".concat(p,"__title--center"),left:"".concat(p,"__title--left"),right:"".concat(p,"__title--right"),controlContainer:"".concat(p,"__control-container"),content:"".concat(p,"__content"),footer:"".concat(p,"__footer")}),f=e=>{let{onClose:t,onContentClick:n,children:c,title:a,rowTitle:s,titleAlign:d,isCloseable:u,footer:p,closeButton:f,isOpen:v,contentClassName:b,footerClassName:g,contentStyle:x,width:_}=e,w=(0,i.useRef)(null),j=(0,i.useRef)(null),[y,N]=(0,i.useState)(!1);(0,i.useEffect)(()=>{var e;if(!j.current||!w.current)return;let t=(null==(e=null==j?void 0:j.current)?void 0:e.getBoundingClientRect().top)||0,n=null==w?void 0:w.current,o=()=>{let e=null==j?void 0:j.current;e&&N(()=>e.getBoundingClientRect().top!==t)};return n&&n.addEventListener("scroll",o,!1),()=>{null==n||n.removeEventListener("scroll",o,!1)}},[]);let k=x||_?{width:_,...x||{}}:void 0;return(0,o.jsxs)("div",{ref:w,style:k,className:(0,l.A)(h.container,{[h.open]:v,[h.close]:!v},b),children:[a||u?(0,o.jsxs)("div",{className:(0,l.A)(h.header,{[h.rowHeader]:s}),children:[u?f?"function"==typeof f?f():f:(0,o.jsx)("button",{type:"button",className:h.controlContainer,onClick:t,children:(0,o.jsx)(r.a,{size:24})}):null,a?(0,o.jsx)("h3",{className:(0,l.A)(h.title,{[h[d]]:!0}),children:a}):null]}):null,(0,o.jsx)("div",{ref:j,className:h.content,onClick:n,children:c}),p&&(0,o.jsx)(m,{className:(0,l.A)(h.footer,g),footer:p,hasScroll:y})]})},v=(0,s.g)("drawer-layout","sc"),b=Object.freeze({window:"".concat(v,"__window")}),g=e=>{let{onClose:t,isOpen:n,children:r,withDisabledScroll:s,className:d,...u}=e,m=(0,i.useCallback)(e=>e.stopPropagation(),[]);return(0,a.u)(n&&s),(0,o.jsxs)("div",{"data-portal":!0,className:(0,l.A)(b.window,d),children:[(0,o.jsx)(c.C,{onClose:t,isOpen:n,delay:0}),(0,o.jsx)(f,{onContentClick:m,onClose:t,isOpen:n,...u,children:r})]})},x=e=>{let{isOpen:t=!1,children:n,titleAlign:i="center",isCloseable:l=!0,withDisabledScroll:a=!0,...r}=e,{mounted:s}=(0,c.u)({opened:t});return s?(0,o.jsx)(g,{titleAlign:i,isCloseable:l,isOpen:t,withDisabledScroll:a,...r,children:n}):null};x.displayName="Drawer"},57539:(e,t,n)=>{"use strict";function o(e,t){return"".concat("finkit-widgets","-").concat(t,"-").concat(e)}n.d(t,{g:()=>o})},69241:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});let o=function(){for(var e,t,n=0,o="",c=arguments.length;n<c;n++)(e=arguments[n])&&(t=function e(t){var n,o,c="";if("string"==typeof t||"number"==typeof t)c+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(o=e(t[n]))&&(c&&(c+=" "),c+=o)}else for(o in t)t[o]&&(c&&(c+=" "),c+=o);return c}(e))&&(o&&(o+=" "),o+=t);return o}},70728:(e,t,n)=>{"use strict";function o(e){Array.isArray(window.dataLayer)?window.dataLayer.push({event:"data_event",...window.browserId?{browser_id:window.browserId}:{},...window.sessionId?{session_id:window.browserSessionId}:{},...window.customerId?{customer_id:window.customerId}:{},...e}):console.log("window.dataLayer does not exist"),Array.isArray(window._mtm)?window._mtm.push(e):console.log("window._mtm does not exist")}n.d(t,{Fj:()=>o})},73044:(e,t,n)=>{"use strict";n.d(t,{B:()=>c,a:()=>o,b:()=>i});let o=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})}),c=Object.freeze(Object.keys(o)),i=Object.freeze(c.filter(e=>"xs"!==e));Object.freeze(c.filter(e=>"3xl"!==e))},75152:()=>{},75250:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var o=n(14232);let c={display:"inline-block",lineHeight:0,backfaceVisibility:"hidden"},i={width:"1em",height:"1em",overflowClipMargin:"content-box",overflow:"hidden"},l=e=>o.createElement("svg",{width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},o.createElement("path",{d:"M9 8a.75.75 0 000 1.5h4.44l-5.22 5.22a.75.75 0 101.06 1.06l5.22-5.22v4.445a.75.75 0 101.5 0V8.75a.75.75 0 00-.75-.75H9z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}));function a(e){let{className:t,style:n,boxSize:a,size:r,onClick:s}=e;return o.createElement("span",{className:t,style:{...c,...s&&{cursor:"pointer"},...r&&{fontSize:"".concat(r,"px")},...a&&{width:"".concat(a,"px"),height:"".concat(a,"px"),display:"inline-flex",alignItems:"center",justifyContent:"center"},...n},...s?{role:"button",tabIndex:"0",onClick:s}:{}},o.createElement(l,{viewBox:"0 0 24 24",style:i}))}a.displayName="IconFdsArrowUpRightSmallO"},75552:()=>{},76637:()=>{},82662:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var o=n(37876),c=n(69241),i=n(9789);n(20134);let l=(0,i.g)("card"),a={card:l,variants:{primary:"".concat(l,"--primary"),secondary:"".concat(l,"--secondary")}},r=e=>{let{as:t,className:n,style:i,children:l,variant:r="primary",dataQa:s,dataId:d,...u}=e;return(0,o.jsx)(t||"div",{className:(0,c.A)(n,a.card,a.variants[r]),style:i,...u,"data-id":d,"data-qa":s,children:l})};r.displayName="Card"},83314:()=>{},83815:(e,t,n)=>{"use strict";n.d(t,{a:()=>p});var o=n(37876),c=n(14232),i=n(69241),l=n(14595),a=n(73044),r=n(9789);function s(e){return c.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M15.827 2.761A10.001 10.001 0 1 0 12 22a.75.75 0 0 0 .75-.75v-.004a.75.75 0 0 0-.75-.75A8.496 8.496 0 1 1 20.496 12c0 .414.336.75.75.75h.004A.75.75 0 0 0 22 12a10 10 0 0 0-6.173-9.239Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}n(98224);let d=["xxs","xs","s","m","l"],u=(0,r.g)("button"),m={button:u,label:"".concat(u,"__label"),icon:"".concat(u,"__icon"),spinner:"".concat(u,"__spinner"),states:{ghost:"".concat(u,"--ghost"),outline:"".concat(u,"--outline"),stretch:"".concat(u,"--stretch"),iconOnly:"".concat(u,"--icon-only"),iconLeft:"".concat(u,"--icon-left"),iconRight:"".concat(u,"--icon-right"),rounded:"".concat(u,"--rounded"),disabled:"".concat(u,"--disabled"),hidden:"".concat(u,"--hidden")}},p=(0,c.forwardRef)((e,t)=>{let{as:n,appearance:r="fill",children:u,className:p,disabled:h=!1,iconLeft:f,iconRight:v,label:b,pending:g,shape:x="default",size:_="m",stretch:w=!1,variant:j="primary",type:y,dataId:N,dataQa:k,style:A,onClick:C,...z}=e,L=n||"button",O=b||u,S=(0,c.useMemo)(()=>"icon"===x||"circle-icon"===x,[x]),T="string"==typeof _&&d.includes(_),E=(0,c.useMemo)(()=>{let e={};if(_&&!T){let t=(e=>e?"string"==typeof e?e.split(" ").map(e=>{if(e.includes("-")){let t=e.indexOf("-");return[e.substring(0,t),e.substring(t+1,e.length)]}return[e]}).reduce((e,t)=>{let[n,o]=t;return{...e,[n]:void 0===o||o}},{}):e:{})(_);e=a.B.reduce((e,n)=>{let o="xs"===n?"".concat(m.button,"--").concat(t[n]):"".concat(m.button,"--").concat(t[n],"-").concat(n);return{...e,[o]:!!t[n]}},{})}return e},[T,_]),W=(0,c.useMemo)(()=>({[m.button]:!0,["".concat(m.button,"--").concat(j)]:!0,["".concat(m.button,"--").concat(_)]:T,[m.states.iconOnly]:S,[m.states.stretch]:!0===w,["".concat(m.states.stretch,":").concat(w)]:"string"==typeof w,[m.states.ghost]:"ghost"===r,[m.states.outline]:"outline"===r,[m.states.rounded]:"circle-icon"===x,[m.states.iconLeft]:f&&!S,[m.states.iconRight]:v&&!S,[m.states.disabled]:h,...E}),[r,h,f,S,v,T,E,x,_,w,j]),R=(0,c.useMemo)(()=>!!v&&(!S||!f),[f,v,S]),P=(0,c.useCallback)(e=>{if(h)return void e.preventDefault();null==C||C(e)},[C,h]);return(0,o.jsxs)(L,{className:(0,i.A)(p,{...W}),ref:t,style:A,type:"button"===L?y||"button":void 0,disabled:"button"===L?h:void 0,"aria-disabled":h||void 0,tabIndex:h?-1:0,onClick:P,...z,"data-qa":k,"data-id":N,children:[f&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.A)(m.icon,{[m.states.hidden]:g}),children:f}),O&&!S&&(0,o.jsx)("span",{className:(0,i.A)(m.label,{[m.states.hidden]:g}),children:O}),R&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:(0,i.A)(m.icon,{[m.states.hidden]:g}),children:v}),g&&(0,o.jsx)("span",{role:"img","aria-hidden":"true",className:m.spinner,children:(0,o.jsx)(l.P,{children:(0,o.jsx)(s,{})})})]})});p.displayName="Button"},91273:(e,t,n)=>{"use strict";n.d(t,{VL:()=>x,oq:()=>_});let o=/#/g,c=/&/g,i=/\//g,l=/=/g,a=/\+/g,r=/%5e/gi,s=/%60/gi,d=/%7c/gi,u=/%20/gi;function m(e){return encodeURI(""+("string"==typeof e?e:JSON.stringify(e))).replace(d,"|").replace(a,"%2B").replace(u,"+").replace(o,"%23").replace(c,"%26").replace(s,"`").replace(r,"^").replace(i,"%2F")}function p(e){return m(e).replace(l,"%3D")}function h(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}let f=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,v=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,b=/^([/\\]\s*){2,}[^/\\]/,g=/^\.?\//;function x(e,t){let n=function e(t="",n){let o=t.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(o){let[,e,t=""]=o;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!function(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?f.test(e):v.test(e)||!!t.acceptRelative&&b.test(e)}(t,{acceptRelative:!0}))return n?e(n+t):j(t);let[,c="",i,l=""]=t.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,a="",r=""]=l.match(/([^#/?]*)(.*)?/)||[];"file:"===c&&(r=r.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:s,search:d,hash:u}=j(r);return{protocol:c.toLowerCase(),auth:i?i.slice(0,Math.max(0,i.length-1)):"",host:a,pathname:s,search:d,hash:u,[w]:!c}}(e),o={...function(e=""){let t=Object.create(null);for(let n of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=n.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let o=h(e[1].replace(a," "));if("__proto__"===o||"constructor"===o)continue;let c=h((e[2]||"").replace(a," "));void 0===t[o]?t[o]=c:Array.isArray(t[o])?t[o].push(c):t[o]=[t[o],c]}return t}(n.search),...t};return n.search=Object.keys(o).filter(e=>void 0!==o[e]).map(e=>{var t;return(("number"==typeof(t=o[e])||"boolean"==typeof t)&&(t=String(t)),t)?Array.isArray(t)?t.map(t=>`${p(e)}=${m(t)}`).join("&"):`${p(e)}=${m(t)}`:p(e)}).filter(Boolean).join("&"),function(e){let t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",c=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[w]?(e.protocol||"")+"//":"")+c+i+t+n+o}(n)}function _(e,...t){let n=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(n){let t=e.replace(g,"");n=function(e="",t){return e.endsWith("/")?e:e+"/"}(n)+t}else n=e;return n}let w=Symbol.for("ufo:protocolRelative");function j(e=""){let[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}},98224:()=>{}}]);