PageSourceSearch

https://tkrusdom.ru/local/templates/tkrusdom/js/app.js?177330249174389

js tkrusdom.ru collected 2026-10-07 17:14:05 UTC 74,389 bytes, 1 lines download raw bytes

1var Wi=Object.defineProperty;var zi=(t,e,r)=>e in t?Wi(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var v=(t,e,r)=>(zi(t,typeof e!="symbol"?e+"":e,r),r);/* empty css    */import{l as $r,u as qe}from"./scroll-lock-chunk.js?v=1741011821315";import{a as Rr}from"./accordeon-chunk.js?v=1741011821315";import{D as Fi}from"./droplet-effect-chunk.js?v=1741011821315";import{c as Ui}from"./card-slider-chunk.js?v=1741011821315";import{S as Gi}from"./swipers-chunk.js?v=1741011821315";import{i as lr,s as Xi}from"./set-delivery-chunk.js?v=1741011821315";import{i as Yi}from"./get-type-device-chunk.js?v=1741011821315";import{c as Ji}from"./checkbox-handler-chunk.js?v=1741011821315";import{o as Ki}from"./main-accordion-chunk.js?v=1741011821315";const me={width:0,height:0};function jr(){const t=document.documentElement.style,e=document.querySelector(".header")??document.querySelector(".simple-header"),r=e?e.clientHeight:0;me.width=document.documentElement.clientWidth,me.height=window.innerHeight,t.setProperty("--vh",`${me.height/100}px`),t.setProperty("--vw",`${me.width/100}px`),t.setProperty("--heightHeader",`${r}px`)}window.addEventListener("resize",()=>{jr()});document.addEventListener("DOMContentLoaded",()=>{jr()});const mt=typeof window<"u",Wr=mt&&!("onscroll"in window)||typeof navigator<"u"&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),zr=mt&&"IntersectionObserver"in window,Fr=mt&&"classList"in document.createElement("p"),Ur=mt&&window.devicePixelRatio>1,Zi={elements_selector:".lazy",container:Wr||mt?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_bg_hidpi:"bg-hidpi",data_bg_multi:"bg-multi",data_bg_multi_hidpi:"bg-multi-hidpi",data_bg_set:"bg-set",data_poster:"poster",class_applied:"applied",class_loading:"loading",class_loaded:"loaded",class_error:"error",class_entered:"entered",class_exited:"exited",unobserve_completed:!0,unobserve_entered:!1,cancel_on_exit:!0,callback_enter:null,callback_exit:null,callback_applied:null,callback_loading:null,callback_loaded:null,callback_error:null,callback_finish:null,callback_cancel:null,use_native:!1,restore_on_error:!1},Gr=t=>Object.assign({},Zi,t),ur=function(t,e){let r;const i="LazyLoad::Initialized",n=new t(e);try{r=new CustomEvent(i,{detail:{instance:n}})}catch{r=document.createEvent("CustomEvent"),r.initCustomEvent(i,!1,!1,{instance:n})}window.dispatchEvent(r)},Qi=(t,e)=>{if(e)if(!e.length)ur(t,e);else for(let r=0,i;i=e[r];r+=1)ur(t,i)},lt="src",We="srcset",ze="sizes",Xr="poster",te="llOriginalAttrs",Yr="data",Fe="loading",Jr="loaded",Kr="applied",tn="entered",Ue="error",Zr="native",Qr="data-",ti="ll-status",$=(t,e)=>t.getAttribute(Qr+e),en=(t,e,r)=>{const i=Qr+e;if(r===null){t.removeAttribute(i);return}t.setAttribute(i,r)},ee=t=>$(t,ti),Ot=(t,e)=>en(t,ti,e),Le=t=>Ot(t,null),Ge=t=>ee(t)===null,rn=t=>ee(t)===Fe,nn=t=>ee(t)===Ue,Xe=t=>ee(t)===Zr,on=[Fe,Jr,Kr,Ue],an=t=>on.indexOf(ee(t))>=0,gt=(t,e,r,i)=>{if(!(!t||typeof t!="function")){if(i!==void 0){t(e,r,i);return}if(r!==void 0){t(e,r);return}t(e)}},Rt=(t,e)=>{if(e!==""){if(Fr){t.classList.add(e);return}t.className+=(t.className?" ":"")+e}},et=(t,e)=>{if(e!==""){if(Fr){t.classList.remove(e);return}t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")}},sn=t=>{t.llTempImage=document.createElement("IMG")},cn=t=>{delete t.llTempImage},ei=t=>t.llTempImage,Ae=(t,e)=>{if(!e)return;const r=e._observer;r&&r.unobserve(t)},ln=t=>{t.disconnect()},un=(t,e,r)=>{e.unobserve_entered&&Ae(t,r)},Ye=(t,e)=>{t&&(t.loadingCount+=e)},dn=t=>{t&&(t.toLoadCount-=1)},ri=(t,e)=>{t&&(t.toLoadCount=e)},pn=t=>t.loadingCount>0,fn=t=>t.toLoadCount>0,ii=t=>{let e=[];for(let r=0,i;i=t.children[r];r+=1)i.tagName==="SOURCE"&&e.push(i);return e},Je=(t,e)=>{const r=t.parentNode;if(!r||r.tagName!=="PICTURE")return;ii(r).forEach(e)},ni=(t,e)=>{ii(t).forEach(e)},xe=[lt],oi=[lt,Xr],Jt=[lt,We,ze],ai=[Yr],Oe=t=>!!t[te],si=t=>t[te],ci=t=>delete t[te],qt=(t,e)=>{if(Oe(t))return;const r={};e.forEach(i=>{r[i]=t.getAttribute(i)}),t[te]=r},hn=t=>{Oe(t)||(t[te]={backgroundImage:t.style.backgroundImage})},vn=(t,e,r)=>{if(!r){t.removeAttribute(e);return}t.setAttribute(e,r)},At=(t,e)=>{if(!Oe(t))return;const r=si(t);e.forEach(i=>
1{vn(t,i,r[i])})},mn=t=>{if(!Oe(t))return;const e=si(t);t.style.backgroundImage=e.backgroundImage},li=(t,e,r)=>{Rt(t,e.class_applied),Ot(t,Kr),r&&(e.unobserve_completed&&Ae(t,e),gt(e.callback_applied,t,r))},ui=(t,e,r)=>{Rt(t,e.class_loading),Ot(t,Fe),r&&(Ye(r,1),gt(e.callback_loading,t,r))},ht=(t,e,r)=>{r&&t.setAttribute(e,r)},dr=(t,e)=>{ht(t,ze,$(t,e.data_sizes)),ht(t,We,$(t,e.data_srcset)),ht(t,lt,$(t,e.data_src))},gn=(t,e)=>{Je(t,r=>{qt(r,Jt),dr(r,e)}),qt(t,Jt),dr(t,e)},bn=(t,e)=>{qt(t,xe),ht(t,lt,$(t,e.data_src))},yn=(t,e)=>{ni(t,r=>{qt(r,xe),ht(r,lt,$(r,e.data_src))}),qt(t,oi),ht(t,Xr,$(t,e.data_poster)),ht(t,lt,$(t,e.data_src)),t.load()},wn=(t,e)=>{qt(t,ai),ht(t,Yr,$(t,e.data_src))},En=(t,e,r)=>{const i=$(t,e.data_bg),n=$(t,e.data_bg_hidpi),o=Ur&&n?n:i;o&&(t.style.backgroundImage=`url("${o}")`,ei(t).setAttribute(lt,o),ui(t,e,r))},Sn=(t,e,r)=>{const i=$(t,e.data_bg_multi),n=$(t,e.data_bg_multi_hidpi),o=Ur&&n?n:i;o&&(t.style.backgroundImage=o,li(t,e,r))},Cn=(t,e,r)=>{const i=$(t,e.data_bg_set);if(!i)return;const n=i.split("|");let o=n.map(s=>`image-set(${s})`);t.style.backgroundImage=o.join(),t.style.backgroundImage===""&&(o=n.map(s=>`-webkit-image-set(${s})`),t.style.backgroundImage=o.join()),li(t,e,r)},di={IMG:gn,IFRAME:bn,VIDEO:yn,OBJECT:wn},Ln=(t,e)=>{const r=di[t.tagName];r&&r(t,e)},An=(t,e,r)=>{const i=di[t.tagName];i&&(i(t,e),ui(t,e,r))},xn=["IMG","IFRAME","VIDEO","OBJECT"],On=t=>xn.indexOf(t.tagName)>-1,pi=(t,e)=>{e&&!pn(e)&&!fn(e)&&gt(t.callback_finish,e)},pr=(t,e,r)=>{t.addEventListener(e,r),t.llEvLisnrs[e]=r},Tn=(t,e,r)=>{t.removeEventListener(e,r)},Ke=t=>!!t.llEvLisnrs,kn=(t,e,r)=>{Ke(t)||(t.llEvLisnrs={});const i=t.tagName==="VIDEO"?"loadeddata":"load";pr(t,i,e),pr(t,"error",r)},Pe=t=>{if(!Ke(t))return;const e=t.llEvLisnrs;for(let r in e){const i=e[r];Tn(t,r,i)}delete t.llEvLisnrs},fi=(t,e,r)=>{cn(t),Ye(r,-1),dn(r),et(t,e.class_loading),e.unobserve_completed&&Ae(t,r)},_n=(t,e,r,i)=>{const n=Xe(e);fi(e,r,i),Rt(e,r.class_loaded),Ot(e,Jr),gt(r.callback_loaded,e,i),n||pi(r,i)},In=(t,e,r,i)=>{const n=Xe(e);fi(e,r,i),Rt(e,r.class_error),Ot(e,Ue),gt(r.callback_error,e,i),r.restore_on_error&&At(e,Jt),n||pi(r,i)},Ze=(t,e,r)=>{const i=ei(t)||t;if(Ke(i))return;kn(i,s=>{_n(s,t,e,r),Pe(i)},s=>{In(s,t,e,r),Pe(i)})},Dn=(t,e,r)=>{sn(t),Ze(t,e,r),hn(t),En(t,e,r),Sn(t,e,r),Cn(t,e,r)},Vn=(t,e,r)=>{Ze(t,e,r),An(t,e,r)},Qe=(t,e,r)=>{On(t)?Vn(t,e,r):Dn(t,e,r)},Mn=(t,e,r)=>{t.setAttribute("loading","lazy"),Ze(t,e,r),Ln(t,e),Ot(t,Zr)},fr=t=>{t.removeAttribute(lt),t.removeAttribute(We),t.removeAttribute(ze)},Bn=t=>{Je(t,e=>{fr(e)}),fr(t)},hi=t=>{Je(t,e=>{At(e,Jt)}),At(t,Jt)},qn=t=>{ni(t,e=>{At(e,xe)}),At(t,oi),t.load()},Pn=t=>{At(t,xe)},Nn=t=>{At(t,ai)},Hn={IMG:hi,IFRAME:Pn,VIDEO:qn,OBJECT:Nn},$n=t=>{const e=Hn[t.tagName];if(!e){mn(t);return}e(t)},Rn=(t,e)=>{Ge(t)||Xe(t)||(et(t,e.class_entered),et(t,e.class_exited),et(t,e.class_applied),et(t,e.class_loading),et(t,e.class_loaded),et(t,e.class_error))},jn=(t,e)=>{$n(t),Rn(t,e),Le(t),ci(t)},Wn=(t,e,r,i)=>{r.cancel_on_exit&&rn(t)&&t.tagName==="IMG"&&(Pe(t),Bn(t),hi(t),et(t,r.class_loading),Ye(i,-1),Le(t),gt(r.callback_cancel,t,e,i))},zn=(t,e,r,i)=>{const n=an(t);Ot(t,tn),Rt(t,r.class_entered),et(t,r.class_exited),un(t,r,i),gt(r.callback_enter,t,e,i),!n&&Qe(t,r,i)},Fn=(t,e,r,i)=>{Ge(t)||(Rt(t,r.class_exited),Wn(t,e,r,i),gt(r.callback_exit,t,e,i))},Un=["IMG","IFRAME","VIDEO"],vi=t=>t.use_native&&"loading"in HTMLImageElement.prototype,Gn=(t,e,r)=>{t.forEach(i=>{Un.indexOf(i.tagName)!==-1&&Mn(i,e,r)}),ri(r,0)},Xn=t=>t.isIntersecting||t.intersectionRatio>0,Yn=t=>({root:t.container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}),Jn=(t,e,r)=>{t.forEach(i=>Xn(i)?zn(i.target,i,e,r):Fn(i.target,i,e,r))},Kn=(t,e)=>{e.forEach(r=>{t.observe(r)})},Zn=(t,e)=>{ln(t),Kn(t,e)},Qn=(t,e)=>{!zr||vi(t)||(e._observer=new IntersectionObserver(r=>{Jn(r,t,e)},Yn(t)))},mi=t=>Array.prototype.slice.call(t),we=t=>t.container.querySelectorAll(t.elements_selector),to=t=>mi(t).filter(Ge),eo=t=>nn(t),ro=t=>mi(t).filter(eo),hr=(t,e)=>to(t||we(e)),io=(t,e)=>{ro(we(t)).forEach(i=>{et(i,t.class_error),Le(i)}
1),e.update()},no=(t,e)=>{mt&&(e._onlineHandler=()=>{io(t,e)},window.addEventListener("online",e._onlineHandler))},oo=t=>{mt&&window.removeEventListener("online",t._onlineHandler)},re=function(t,e){const r=Gr(t);this._settings=r,this.loadingCount=0,Qn(r,this),no(r,this),this.update(e)};re.prototype={update:function(t){const e=this._settings,r=hr(t,e);if(ri(this,r.length),Wr||!zr){this.loadAll(r);return}if(vi(e)){Gn(r,e,this);return}Zn(this._observer,r)},destroy:function(){this._observer&&this._observer.disconnect(),oo(this),we(this._settings).forEach(t=>{ci(t)}),delete this._observer,delete this._settings,delete this._onlineHandler,delete this.loadingCount,delete this.toLoadCount},loadAll:function(t){const e=this._settings;hr(t,e).forEach(i=>{Ae(i,this),Qe(i,e,this)})},restoreAll:function(){const t=this._settings;we(t).forEach(e=>{jn(e,t)})}};re.load=(t,e)=>{const r=Gr(e);Qe(t,r)};re.resetStatus=t=>{Le(t)};mt&&Qi(re,window.lazyLoadOptions);const ao=document.body;document.querySelector("header");const Vt={XL:1640,LG:1279,MD:1023,SM:767,XS:575,XXS:449};window.matchMedia(`(max-width: ${Vt.XL}px)`),window.matchMedia(`(max-width: ${Vt.LG}px)`),window.matchMedia(`(max-width: ${Vt.MD}px)`),window.matchMedia(`(max-width: ${Vt.SM}px)`),window.matchMedia(`(max-width: ${Vt.XS}px)`),window.matchMedia(`(max-width: ${Vt.XXS}px)`);const vr=window.location.hostname==="localhost"||window.location.hostname==="cadesign.ru";class so{constructor(e){v(this,"id");v(this,"dropdown");v(this,"header");v(this,"activator");v(this,"closeBtn");this.activator=e,this.id=e.getAttribute("data-dropdown-open"),this.dropdown=document.querySelector(`[data-dropdown-id="${this.id}"]`),this.closeBtn=document.querySelector(`[data-dropdown-close="${this.id}"]`),this.header=document.querySelector(".header")}open(){var r,i;const e=new Event("dropdown-open");document.dispatchEvent(e),$r(),(r=this.activator)==null||r.classList.add("is-active"),(i=this.dropdown)==null||i.classList.add("is-open")}close(){var e,r;ao.classList.contains("modal-open")||((e=this.dropdown)==null||e.classList.remove("is-open"),(r=this.activator)==null||r.classList.remove("is-active"),qe())}leave(){this.header&&this.header.addEventListener("mouseleave",e=>{(e.target!==this.dropdown||e.target!==this.activator)&&this.close()})}enter(){this.activator.addEventListener("click",()=>{this.open()})}setEventCloseBtn(){this.closeBtn&&this.closeBtn.addEventListener("click",()=>{this.close()})}init(){this.setEventCloseBtn(),this.enter(),this.leave()}}const co=()=>{const t=document.querySelectorAll("[data-dropdown-open]"),e=[];t.forEach(r=>{const i=new so(r);i.init(),e.push(i)}),document.addEventListener("dropdown-open",()=>{e.forEach(r=>{r.close()})})};class lo{constructor(e,r){v(this,"tab");v(this,"opener");this.tab=e,this.opener=r}open(e){if(this.opener.classList.contains("is-active-tab"))return;const r=new CustomEvent("tab-open",{detail:{tab:e}});document.dispatchEvent(r),setTimeout(()=>{this.tab.classList.add("is-active-tab"),this.opener.classList.add("is-active-tab")},0)}close(){const e=new Event("tab-close");document.dispatchEvent(e),this.tab.classList.remove("is-active-tab"),this.opener.classList.remove("is-active-tab")}enter(){var e;(e=this.opener)==null||e.addEventListener("mouseenter",r=>{const i=r.currentTarget;i.hasAttribute("data-tab-click-opener")||i.hasAttribute("data-value")||this.open(i)})}leave(){this.opener.addEventListener("mouseleave",e=>{e.currentTarget.hasAttribute("data-tab-click-opener")||this.close()})}click(){var e;(e=this.opener)==null||e.addEventListener("click",r=>{const i=r.currentTarget;this.open(i)})}init(){this.enter(),this.click()}destroy(){this.opener.removeEventListener("mouseenter",this.enter),this.opener.removeEventListener("mouseleave",this.leave),this.opener.removeEventListener("click",this.click)}}class Ne{constructor(){v(this,"tabs");v(this,"openers");v(this,"store");v(this,"clickOpeners");v(this,"tabClosers");this.store=[]}closeAll(e){this.store.forEach(r=>{const i=r.opener.getAttribute("data-tab-group");i&&i.includes(e)&&r.close()})}handleOpen(){document.addEventListener("tab-open",e=>{let r=e.detail.tab.getAttribute("data-tab-group");this.closeAll(r)})}
1handleTabClose(){this.tabClosers.forEach(e=>{e.addEventListener("click",()=>{const r=e.getAttribute("data-tab-close");this.closeTabById(r)})})}closeTabById(e){e&&this.store.forEach(r=>{r.tab.getAttribute("data-tab")===e&&r.close()})}init(e){return this.tabs=document.querySelectorAll("[data-tab]"),this.openers=document.querySelectorAll("[data-tab-opener]"),this.clickOpeners=document.querySelectorAll("[data-tab-click-opener]"),this.tabClosers=document.querySelectorAll("[data-tab-close]"),this.tabs.forEach(r=>{const i=r.dataset.tab;if(r.getAttribute("data-tab-initialized"))return;r.setAttribute("data-tab-initialized","true");let n=!1;for(const o of this.openers){const s=o.dataset.tabOpener;if(s===i){this.initTab(s),n=!0;break}}if(!n)for(const o of this.clickOpeners){const s=o.dataset.tabClickOpener;if(s===i){this.initTab(s),n=!0;break}}}),this.tabClosers&&this.tabClosers.forEach(r=>{r.addEventListener("click",()=>{this.store.forEach(i=>{i.tab.getAttribute("data-tab")===r.getAttribute("data-tab-close")&&i.close()})})}),e||this.handleOpen(),this}initNewTabs(){this.init(!0)}initTab(e){document.querySelectorAll(`[data-tab="${e}"]`).forEach(i=>{if(i.classList.contains("initialized"))return;i.classList.add("initialized");let n=document.querySelector(`[data-tab-click-opener="${i.getAttribute("data-tab")}"]`);n||(n=document.querySelector(`[data-tab-opener="${i.getAttribute("data-tab")}"]`));const o=new lo(i,n);this.store.push(o),o.init()})}}const uo=()=>new Ne().init(!1);var R="top",X="bottom",Y="right",j="left",tr="auto",ie=[R,X,Y,j],Pt="start",Kt="end",po="clippingParents",gi="viewport",Gt="popper",fo="reference",mr=ie.reduce(function(t,e){return t.concat([e+"-"+Pt,e+"-"+Kt])},[]),bi=[].concat(ie,[tr]).reduce(function(t,e){return t.concat([e,e+"-"+Pt,e+"-"+Kt])},[]),ho="beforeRead",vo="read",mo="afterRead",go="beforeMain",bo="main",yo="afterMain",wo="beforeWrite",Eo="write",So="afterWrite",Co=[ho,vo,mo,go,bo,yo,wo,Eo,So];function nt(t){return t?(t.nodeName||"").toLowerCase():null}function F(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function xt(t){var e=F(t).Element;return t instanceof e||t instanceof Element}function G(t){var e=F(t).HTMLElement;return t instanceof e||t instanceof HTMLElement}function er(t){if(typeof ShadowRoot>"u")return!1;var e=F(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function Lo(t){var e=t.state;Object.keys(e.elements).forEach(function(r){var i=e.styles[r]||{},n=e.attributes[r]||{},o=e.elements[r];!G(o)||!nt(o)||(Object.assign(o.style,i),Object.keys(n).forEach(function(s){var u=n[s];u===!1?o.removeAttribute(s):o.setAttribute(s,u===!0?"":u)}))})}function Ao(t){var e=t.state,r={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,r.popper),e.styles=r,e.elements.arrow&&Object.assign(e.elements.arrow.style,r.arrow),function(){Object.keys(e.elements).forEach(function(i){var n=e.elements[i],o=e.attributes[i]||{},s=Object.keys(e.styles.hasOwnProperty(i)?e.styles[i]:r[i]),u=s.reduce(function(c,p){return c[p]="",c},{});!G(n)||!nt(n)||(Object.assign(n.style,u),Object.keys(o).forEach(function(c){n.removeAttribute(c)}))})}}var yi={name:"applyStyles",enabled:!0,phase:"write",fn:Lo,effect:Ao,requires:["computeStyles"]};function it(t){return t.split("-")[0]}var Lt=Math.max,Ee=Math.min,Nt=Math.round;function He(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function wi(){return!/^((?!chrome|android).)*safari/i.test(He())}function Ht(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!1);var i=t.getBoundingClientRect(),n=1,o=1;e&&G(t)&&(n=t.offsetWidth>0&&Nt(i.width)/t.offsetWidth||1,o=t.offsetHeight>0&&Nt(i.height)/t.offsetHeight||1);var s=xt(t)?F(t):window,u=s.visualViewport,c=!wi()&&r,p=(i.left+(c&&u?u.offsetLeft:0))/n,d=(i.top+(c&&u?u.offsetTop:0))/o,w=i.width/n,C=i.height/o;return{width:w,height:C,top:d,right:p+w,bottom:d+C,left:p,x:p,y:d}}function rr(t){var e=Ht(t),r=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-r)<=1&&(r=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:r,height:i}}function Ei(t,e){var r=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;
vendor: 5,071 bytes, line 1
1if(r&&er(r)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function ut(t){return F(t).getComputedStyle(t)}function xo(t){return["table","td","th"].indexOf(nt(t))>=0}function bt(t){return((xt(t)?t.ownerDocument:t.document)||window.document).documentElement}function Te(t){return nt(t)==="html"?t:t.assignedSlot||t.parentNode||(er(t)?t.host:null)||bt(t)}function gr(t){return!G(t)||ut(t).position==="fixed"?null:t.offsetParent}function Oo(t){var e=/firefox/i.test(He()),r=/Trident/i.test(He());if(r&&G(t)){var i=ut(t);if(i.position==="fixed")return null}var n=Te(t);for(er(n)&&(n=n.host);G(n)&&["html","body"].indexOf(nt(n))<0;){var o=ut(n);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||e&&o.willChange==="filter"||e&&o.filter&&o.filter!=="none")return n;n=n.parentNode}return null}function ne(t){for(var e=F(t),r=gr(t);r&&xo(r)&&ut(r).position==="static";)r=gr(r);return r&&(nt(r)==="html"||nt(r)==="body"&&ut(r).position==="static")?e:r||Oo(t)||e}function ir(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Xt(t,e,r){return Lt(t,Ee(e,r))}function To(t,e,r){var i=Xt(t,e,r);return i>r?r:i}function Si(){return{top:0,right:0,bottom:0,left:0}}function Ci(t){return Object.assign({},Si(),t)}function Li(t,e){return e.reduce(function(r,i){return r[i]=t,r},{})}var ko=function(e,r){return e=typeof e=="function"?e(Object.assign({},r.rects,{placement:r.placement})):e,Ci(typeof e!="number"?e:Li(e,ie))};function _o(t){var e,r=t.state,i=t.name,n=t.options,o=r.elements.arrow,s=r.modifiersData.popperOffsets,u=it(r.placement),c=ir(u),p=[j,Y].indexOf(u)>=0,d=p?"height":"width";if(!(!o||!s)){var w=ko(n.padding,r),C=rr(o),g=c==="y"?R:j,E=c==="y"?X:Y,b=r.rects.reference[d]+r.rects.reference[c]-s[c]-r.rects.popper[d],y=s[c]-r.rects.reference[c],A=ne(o),O=A?c==="y"?A.clientHeight||0:A.clientWidth||0:0,k=b/2-y/2,a=w[g],L=O-C[d]-w[E],h=O/2-C[d]/2+k,T=Xt(a,h,L),M=c;r.modifiersData[i]=(e={},e[M]=T,e.centerOffset=T-h,e)}}function Io(t){var e=t.state,r=t.options,i=r.element,n=i===void 0?"[data-popper-arrow]":i;n!=null&&(typeof n=="string"&&(n=e.elements.popper.querySelector(n),!n)||Ei(e.elements.popper,n)&&(e.elements.arrow=n))}var Do={name:"arrow",enabled:!0,phase:"main",fn:_o,effect:Io,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $t(t){return t.split("-")[1]}var Vo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Mo(t,e){var r=t.x,i=t.y,n=e.devicePixelRatio||1;return{x:Nt(r*n)/n||0,y:Nt(i*n)/n||0}}function br(t){var e,r=t.popper,i=t.popperRect,n=t.placement,o=t.variation,s=t.offsets,u=t.position,c=t.gpuAcceleration,p=t.adaptive,d=t.roundOffsets,w=t.isFixed,C=s.x,g=C===void 0?0:C,E=s.y,b=E===void 0?0:E,y=typeof d=="function"?d({x:g,y:b}):{x:g,y:b};g=y.x,b=y.y;var A=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),k=j,a=R,L=window;if(p){var h=ne(r),T="clientHeight",M="clientWidth";if(h===F(r)&&(h=bt(r),ut(h).position!=="static"&&u==="absolute"&&(T="scrollHeight",M="scrollWidth")),h=h,n===R||(n===j||n===Y)&&o===Kt){a=X;var V=w&&h===L&&L.visualViewport?L.visualViewport.height:h[T];b-=V-i.height,b*=c?1:-1}if(n===j||(n===R||n===X)&&o===Kt){k=Y;var I=w&&h===L&&L.visualViewport?L.visualViewport.width:h[M];g-=I-i.width,g*=c?1:-1}}var B=Object.assign({position:u},p&&Vo),D=d===!0?Mo({x:g,y:b},F(r)):{x:g,y:b};if(g=D.x,b=D.y,c){var _;return Object.assign({},B,(_={},_[a]=O?"0":"",_[k]=A?"0":"",_.transform=(L.devicePixelRatio||1)<=1?"translate("+g+"px, "+b+"px)":"translate3d("+g+"px, "+b+"px, 0)",_))}return Object.assign({},B,(e={},e[a]=O?b+"px":"",e[k]=A?g+"px":"",e.transform="",e))}function Bo(t){var e=t.state,r=t.options,i=r.gpuAcceleration,n=i===void 0?!0:i,o=r.adaptive,s=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,p={placement:it(e.placement),variation:$t(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:n,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,br(Object.assign({},p,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,br(Object.assign({},p,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}var qo={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Bo,data:{}},ge={passive:!0};function Po(t){var e=t.state,r=t.instance,i=t.options,n=i.scroll,o=n===void 0?!0:n,s=i.resize,u=s===void 0?!0:s,c=F(e.elements.popper),p=[].concat(e.scrollParents.reference,e.scrollParents.popper);return o&&p.forEach(function(d){d.addEventListener("scroll",r.update,ge)}),u&&c.addEventListener("resize",r.update,ge),function(){o&&p.forEach(function(d){d.removeEventListener("scroll",r.update,ge)}),u&&c.removeEventListener("resize",r.update,ge)}}var No={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Po,data:{}}
vendor: 7,214 bytes, line 1
1,Ho={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(t){return t.replace(/left|right|bottom|top/g,function(e){return Ho[e]})}var $o={start:"end",end:"start"};function yr(t){return t.replace(/start|end/g,function(e){return $o[e]})}function nr(t){var e=F(t),r=e.pageXOffset,i=e.pageYOffset;return{scrollLeft:r,scrollTop:i}}function or(t){return Ht(bt(t)).left+nr(t).scrollLeft}function Ro(t,e){var r=F(t),i=bt(t),n=r.visualViewport,o=i.clientWidth,s=i.clientHeight,u=0,c=0;if(n){o=n.width,s=n.height;var p=wi();(p||!p&&e==="fixed")&&(u=n.offsetLeft,c=n.offsetTop)}return{width:o,height:s,x:u+or(t),y:c}}function jo(t){var e,r=bt(t),i=nr(t),n=(e=t.ownerDocument)==null?void 0:e.body,o=Lt(r.scrollWidth,r.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),s=Lt(r.scrollHeight,r.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),u=-i.scrollLeft+or(t),c=-i.scrollTop;return ut(n||r).direction==="rtl"&&(u+=Lt(r.clientWidth,n?n.clientWidth:0)-o),{width:o,height:s,x:u,y:c}}function ar(t){var e=ut(t),r=e.overflow,i=e.overflowX,n=e.overflowY;return/auto|scroll|overlay|hidden/.test(r+n+i)}function Ai(t){return["html","body","#document"].indexOf(nt(t))>=0?t.ownerDocument.body:G(t)&&ar(t)?t:Ai(Te(t))}function Yt(t,e){var r;e===void 0&&(e=[]);var i=Ai(t),n=i===((r=t.ownerDocument)==null?void 0:r.body),o=F(i),s=n?[o].concat(o.visualViewport||[],ar(i)?i:[]):i,u=e.concat(s);return n?u:u.concat(Yt(Te(s)))}function $e(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Wo(t,e){var r=Ht(t,!1,e==="fixed");return r.top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r}function wr(t,e,r){return e===gi?$e(Ro(t,r)):xt(e)?Wo(e,r):$e(jo(bt(t)))}function zo(t){var e=Yt(Te(t)),r=["absolute","fixed"].indexOf(ut(t).position)>=0,i=r&&G(t)?ne(t):t;return xt(i)?e.filter(function(n){return xt(n)&&Ei(n,i)&&nt(n)!=="body"}):[]}function Fo(t,e,r,i){var n=e==="clippingParents"?zo(t):[].concat(e),o=[].concat(n,[r]),s=o[0],u=o.reduce(function(c,p){var d=wr(t,p,i);return c.top=Lt(d.top,c.top),c.right=Ee(d.right,c.right),c.bottom=Ee(d.bottom,c.bottom),c.left=Lt(d.left,c.left),c},wr(t,s,i));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function xi(t){var e=t.reference,r=t.element,i=t.placement,n=i?it(i):null,o=i?$t(i):null,s=e.x+e.width/2-r.width/2,u=e.y+e.height/2-r.height/2,c;switch(n){case R:c={x:s,y:e.y-r.height};break;case X:c={x:s,y:e.y+e.height};break;case Y:c={x:e.x+e.width,y:u};break;case j:c={x:e.x-r.width,y:u};break;default:c={x:e.x,y:e.y}}var p=n?ir(n):null;if(p!=null){var d=p==="y"?"height":"width";switch(o){case Pt:c[p]=c[p]-(e[d]/2-r[d]/2);break;case Kt:c[p]=c[p]+(e[d]/2-r[d]/2);break}}return c}function Zt(t,e){e===void 0&&(e={});var r=e,i=r.placement,n=i===void 0?t.placement:i,o=r.strategy,s=o===void 0?t.strategy:o,u=r.boundary,c=u===void 0?po:u,p=r.rootBoundary,d=p===void 0?gi:p,w=r.elementContext,C=w===void 0?Gt:w,g=r.altBoundary,E=g===void 0?!1:g,b=r.padding,y=b===void 0?0:b,A=Ci(typeof y!="number"?y:Li(y,ie)),O=C===Gt?fo:Gt,k=t.rects.popper,a=t.elements[E?O:C],L=Fo(xt(a)?a:a.contextElement||bt(t.elements.popper),c,d,s),h=Ht(t.elements.reference),T=xi({reference:h,element:k,strategy:"absolute",placement:n}),M=$e(Object.assign({},k,T)),V=C===Gt?M:h,I={top:L.top-V.top+A.top,bottom:V.bottom-L.bottom+A.bottom,left:L.left-V.left+A.left,right:V.right-L.right+A.right},B=t.modifiersData.offset;if(C===Gt&&B){var D=B[n];Object.keys(I).forEach(function(_){var W=[Y,X].indexOf(_)>=0?1:-1,z=[R,X].indexOf(_)>=0?"y":"x";I[_]+=D[z]*W})}return I}function Uo(t,e){e===void 0&&(e={});var r=e,i=r.placement,n=r.boundary,o=r.rootBoundary,s=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,p=c===void 0?bi:c,d=$t(i),w=d?u?mr:mr.filter(function(E){return $t(E)===d}):ie,C=w.filter(function(E){return p.indexOf(E)>=0});C.length===0&&(C=w);var g=C.reduce(function(E,b){return E[b]=Zt(t,{placement:b,boundary:n,rootBoundary:o,padding:s})[it(b)],E},{});return Object.keys(g).sort(function(E,b){return g[E]-g[b]})}function Go(t){if(it(t)===tr)return[];var e=ye(t);return[yr(t),e,yr(e)]}function Xo(t){var e=t.state,r=t.options,i=t.name;if(!e.modifiersData[i]._skip){for(var n=r.mainAxis,o=n===void 0?!0:n,s=r.altAxis,u=s===void 0?!0:s,c=r.fallbackPlacements,p=r.padding,d=r.boundary,w=r.rootBoundary,C=r.altBoundary,g=r.flipVariations,E=g===void 0?!0:g,b=r.allowedAutoPlacements,y=e.options.placement,A=it(y),O=A===y,k=c||(O||!E?[ye(y)]:Go(y)),a=[y].concat(k).reduce(function(ot,J){return ot.concat(it(J)===tr?Uo(e,{placement:J,boundary:d,rootBoundary:w,padding:p,flipVariations:E,allowedAutoPlacements:b}):J)},[]),L=e.rects.reference,h=e.rects.popper,T=new Map,M=!0,V=a[0],I=0;I<a.length;I++){var B=a[I],D=it(B),_=$t(B)===Pt,W=[R,X].indexOf(D)>=0,z=W?"width":"height",P=Zt(e,{placement:B,boundary:d,rootBoundary:w,altBoundary:C,padding:p}),N=W?_?Y:j:_?X:R;L[z]>h[z]&&(N=ye(N));var q=ye(N),Z=[];if(o&&Z.push(P[D]<=0),u&&Z.push(P[N]<=0,P[q]<=0),Z.every(function(ot){return ot})){V=B,M=!1;break}T.set(B,Z)}if(M)for(var Q=E?3:1,yt=function(J){var at=a.find(function(Tt){var st=T.get(Tt);if(st)return st.slice(0,J).every(function(kt){return kt})});if(at)return V=at,"break"},tt=Q;tt>0;tt--){var wt=yt(tt);if(wt==="break")break}e.placement!==V&&(e.modifiersData[i]._skip=!0,e.placement=V,e.reset=!0)}}var Yo={name:"flip",enabled:!0,phase:"main",fn:Xo,requiresIfExists:["offset"],data:{_skip:!1}};function Er(t,e,r){return r===void 0&&(r={x:0,y:0}),{top:t.top-e.height-r.y,right:t.right-e.width+r.x,bottom:t.bottom-e.height+r.y,left:t.left-e.width-r.x}}function Sr(t){return[R,Y,X,j].some(function(e){return t[e]>=0})}function Jo(t){var e=t.state,r=t.name,i=e.rects.reference,n=e.rects.popper,o=e.modifiersData.preventOverflow,s=Zt(e,{elementContext:"reference"}),u=Zt(e,{altBoundary:!0}),c=Er(s,i),p=Er(u,n,o),d=Sr(c),w=Sr(p);e.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:p,isReferenceHidden:d,hasPopperEscaped:w},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":w})}var Ko={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Jo};function Zo(t,e,r){var i=it(t),n=[j,R].indexOf(i)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},e,{placement:t})):r,s=o[0],u=o[1];return s=s||0,u=(u||0)*n,[j,Y].indexOf(i)>=0?{x:u,y:s}:{x:s,y:u}}function Qo(t){var e=t.state,r=t.options,i=t.name,n=r.offset,o=n===void 0?[0,0]:n,s=bi.reduce(function(d,w){return d[w]=Zo(w,e.rects,o),d},{}),u=s[e.placement],c=u.x,p=u.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=p),e.modifiersData[i]=s}var ta={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Qo};function ea(t){var e=t.state,r=t.name;e.modifiersData[r]=xi({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}var ra={name:"popperOffsets",enabled:!0,phase:"read",fn:ea,data:{}};function ia(t){return t==="x"?"y":"x"}function na(t){var e=t.state,r=t.options,i=t.name,n=r.mainAxis,o=n===void 0?!0:n,s=r.altAxis,u=s===void 0?!1:s,c=r.boun
vendor: 1,507 bytes, line 1
1dary,p=r.rootBoundary,d=r.altBoundary,w=r.padding,C=r.tether,g=C===void 0?!0:C,E=r.tetherOffset,b=E===void 0?0:E,y=Zt(e,{boundary:c,rootBoundary:p,padding:w,altBoundary:d}),A=it(e.placement),O=$t(e.placement),k=!O,a=ir(A),L=ia(a),h=e.modifiersData.popperOffsets,T=e.rects.reference,M=e.rects.popper,V=typeof b=="function"?b(Object.assign({},e.rects,{placement:e.placement})):b,I=typeof V=="number"?{mainAxis:V,altAxis:V}:Object.assign({mainAxis:0,altAxis:0},V),B=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,D={x:0,y:0};if(h){if(o){var _,W=a==="y"?R:j,z=a==="y"?X:Y,P=a==="y"?"height":"width",N=h[a],q=N+y[W],Z=N-y[z],Q=g?-M[P]/2:0,yt=O===Pt?T[P]:M[P],tt=O===Pt?-M[P]:-T[P],wt=e.elements.arrow,ot=g&&wt?rr(wt):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Si(),at=J[W],Tt=J[z],st=Xt(0,T[P],ot[P]),kt=k?T[P]/2-Q-st-at-I.mainAxis:yt-st-at-I.mainAxis,dt=k?-T[P]/2+Q+st+Tt+I.mainAxis:tt+st+Tt+I.mainAxis,_t=e.elements.arrow&&ne(e.elements.arrow),oe=_t?a==="y"?_t.clientTop||0:_t.clientLeft||0:0,jt=(_=B==null?void 0:B[a])!=null?_:0,ae=N+kt-jt-oe,se=N+dt-jt,Wt=Xt(g?Ee(q,ae):q,N,g?Lt(Z,se):Z);h[a]=Wt,D[a]=Wt-N}if(u){var zt,ce=a==="x"?R:j,le=a==="x"?X:Y,ct=h[L],pt=L==="y"?"height":"width",Ft=ct+y[ce],Et=ct-y[le],Ut=[R,j].indexOf(A)!==-1,ue=(zt=B==null?void 0:B[L])!=null?zt:0,de=Ut?Ft:ct-T[pt]-M[pt]-ue+I.altAxis,pe=Ut?ct+T[pt]+M[pt]-ue-I.altAxis:Et,fe=g&&Ut?To(de,ct,pe):Xt(g?de:Ft,ct,g?pe:Et);h[L]=fe,D[L]=fe-ct}e.modifiersData[i]=D}}
vendor: 8,811 bytes, line 1
1var oa={name:"preventOverflow",enabled:!0,phase:"main",fn:na,requiresIfExists:["offset"]};function aa(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function sa(t){return t===F(t)||!G(t)?nr(t):aa(t)}function ca(t){var e=t.getBoundingClientRect(),r=Nt(e.width)/t.offsetWidth||1,i=Nt(e.height)/t.offsetHeight||1;return r!==1||i!==1}function la(t,e,r){r===void 0&&(r=!1);var i=G(e),n=G(e)&&ca(e),o=bt(e),s=Ht(t,n,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(i||!i&&!r)&&((nt(e)!=="body"||ar(o))&&(u=sa(e)),G(e)?(c=Ht(e,!0),c.x+=e.clientLeft,c.y+=e.clientTop):o&&(c.x=or(o))),{x:s.left+u.scrollLeft-c.x,y:s.top+u.scrollTop-c.y,width:s.width,height:s.height}}function ua(t){var e=new Map,r=new Set,i=[];t.forEach(function(o){e.set(o.name,o)});function n(o){r.add(o.name);var s=[].concat(o.requires||[],o.requiresIfExists||[]);s.forEach(function(u){if(!r.has(u)){var c=e.get(u);c&&n(c)}}),i.push(o)}return t.forEach(function(o){r.has(o.name)||n(o)}),i}function da(t){var e=ua(t);return Co.reduce(function(r,i){return r.concat(e.filter(function(n){return n.phase===i}))},[])}function pa(t){var e;return function(){return e||(e=new Promise(function(r){Promise.resolve().then(function(){e=void 0,r(t())})})),e}}function fa(t){var e=t.reduce(function(r,i){var n=r[i.name];return r[i.name]=n?Object.assign({},n,i,{options:Object.assign({},n.options,i.options),data:Object.assign({},n.data,i.data)}):i,r},{});return Object.keys(e).map(function(r){return e[r]})}var Cr={placement:"bottom",modifiers:[],strategy:"absolute"};function Lr(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return!e.some(function(i){return!(i&&typeof i.getBoundingClientRect=="function")})}function ha(t){t===void 0&&(t={});var e=t,r=e.defaultModifiers,i=r===void 0?[]:r,n=e.defaultOptions,o=n===void 0?Cr:n;return function(u,c,p){p===void 0&&(p=o);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Cr,o),modifiersData:{},elements:{reference:u,popper:c},attributes:{},styles:{}},w=[],C=!1,g={state:d,setOptions:function(A){var O=typeof A=="function"?A(d.options):A;b(),d.options=Object.assign({},o,d.options,O),d.scrollParents={reference:xt(u)?Yt(u):u.contextElement?Yt(u.contextElement):[],popper:Yt(c)};var k=da(fa([].concat(i,d.options.modifiers)));return d.orderedModifiers=k.filter(function(a){return a.enabled}),E(),g.update()},forceUpdate:function(){if(!C){var A=d.elements,O=A.reference,k=A.popper;if(Lr(O,k)){d.rects={reference:la(O,ne(k),d.options.strategy==="fixed"),popper:rr(k)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(I){return d.modifiersData[I.name]=Object.assign({},I.data)});for(var a=0;a<d.orderedModifiers.length;a++){if(d.reset===!0){d.reset=!1,a=-1;continue}var L=d.orderedModifiers[a],h=L.fn,T=L.options,M=T===void 0?{}:T,V=L.name;typeof h=="function"&&(d=h({state:d,options:M,name:V,instance:g})||d)}}}},update:pa(function(){return new Promise(function(y){g.forceUpdate(),y(d)})}),destroy:function(){b(),C=!0}};if(!Lr(u,c))return g;g.setOptions(p).then(function(y){!C&&p.onFirstUpdate&&p.onFirstUpdate(y)});function E(){d.orderedModifiers.forEach(function(y){var A=y.name,O=y.options,k=O===void 0?{}:O,a=y.effect;if(typeof a=="function"){var L=a({state:d,name:A,instance:g,options:k}),h=function(){};w.push(L||h)}})}function b(){w.forEach(function(y){return y()}),w=[]}return g}}var va=[No,ra,qo,yi,ta,Yo,oa,Do,Ko],ma=ha({defaultModifiers:va}),ga="tippy-box",Oi="tippy-content",Ti="tippy-backdrop",ki="tippy-arrow",_i="tippy-svg-arrow",Ct={passive:!0,capture:!0},Ii=function(){return document.body};function De(t,e,r){if(Array.isArray(t)){var i=t[e];return i??(Array.isArray(r)?r[e]:r)}return t}function sr(t,e){var r={}.toString.call(t);return r.indexOf("[object")===0&&r.indexOf(e+"]")>-1}function Di(t,e){return typeof t=="function"?t.apply(void 0,e):t}function Ar(t,e){if(e===0)return t;var r;return function(i){clearTimeout(r),r=setTimeout(function(){t(i)},e)}}function ba(t){return t.split(/\s+/).filter(Boolean)}function Mt(t){return[].concat(t)}function xr(t,e){t.indexOf(e)===-1&&t.push(e)}function ya(t){return t.filter(function(e,r){return t.indexOf(e)===r})}function wa(t){return t.split("-")[0]}function Se(t){return[].slice.call(t)}function Or(t){return Object.keys(t).reduce(function(e,r){return t[r]!==void 0&&(e[r]=t[r]),e},{})}function Bt(){return document.createElement("div")}function ke(t){return["Element","Fragment"].some(function(e){return sr(t,e)})}function Ea(t){return sr(t,"NodeList")}function Sa(t){return sr(t,"MouseEvent")}function Ca(t){return!!(t&&t._tippy&&t._tippy.reference===t)}function La(t){return ke(t)?[t]:Ea(t)?Se(t):Array.isArray(t)?t:Se(document.querySelectorAll(t))}function Ve(t,e){t.forEach(function(r){r&&(r.style.transitionDuration=e+"ms")})}function Qt(t,e){t.forEach(function(r){r&&r.setAttribute("data-state",e)})}function Aa(t){var e,r=Mt(t),i=r[0];return i!=null&&(e=i.ownerDocument)!=null&&e.body?i.ownerDocument:document}function xa(t,e){var r=e.clientX,i=e.clientY;return t.every(function(n){var o=n.popperRect,s=n.popperState,u=n.props,c=u.interactiveBorder,p=wa(s.placement),d=s.modifiersData.offset;if(!d)return!0;var w=p==="bottom"?d.top.y:0,C=p==="top"?d.bottom.y:0,g=p==="right"?d.left.x:0,E=p==="left"?d.right.x:0,b=o.top-i+w>c,y=i-o.bottom-C>c,A=o.left-r+g>c,O=r-o.right-E>c;return b||y||A||O})}function Me(t,e,r){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(n){t[i](n,r)})}function Tr(t,e){for(var r=e;r;){var i;if(t.contains(r))return!0;r=r.getRootNode==null||(i=r.getRootNode())==null?void 0:i.host}return!1}var rt={isTouch:!1},kr=0;function Oa(){rt.isTouch||(rt.isTouch=!0,window.performance&&document.addEventListener("mousemove",Vi))}function Vi(){var t=performance.now();t-kr<20&&(rt.isTouch=!1,document.removeEventListener("mousemove",Vi)),kr=t}function Ta(){var t=document.activeElement;if(Ca(t)){var e=t._tippy;t.blur&&!e.state.isVisible&&t.blur()}}function ka(){document.addEventListener("touchstart",Oa,Ct),window.addEventListener("blur",Ta)}var _a=typeof window<"u"&&typeof document<"u",Ia=_a?!!window.msCrypto:!1,Da={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Va={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},K=Object.assign({appendTo:Ii,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Da,Va),Ma=Object.keys(K),Ba=function(e){var r=Object.keys(e);r.forEach(function(i){K[i]=e[i]})};function Mi(t){var e=t.plugins||[],r=e.reduce(function(i,n){var o=n.name,s=n.defaultValue;if(o){var u;i[o]=t[o]!==void 0?t[o]:(u=K[o])!=null?u:s}return i},{});return Object.assign({},t,r)}function qa(t,e){var r=e?Object.keys(Mi(Object.assign({},K,{plugins:e}))):Ma,i=r.reduce(function(n,o){var s=(t.getAttribute("data-tippy-"+o)||"").trim();if(!s)return n;if(o==="content")n[o]=s;else try{n[o]=JSON.parse(s)}catch{n[o]=s}return n},{});return i}function _r(t,e){var r=Object.assign({},e,{content:Di(e.content,[t])},e.ignoreAttributes?{}:qa(t,e.plugins));return r.aria=Object.assign({},K.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?e.interactive:r.aria.expanded,content:r.aria.content==="auto"?e.interactive?null:"describedby":r.aria.content},r}var Pa=function(){return"innerHTML"};function Re(t,e){t[Pa()]=e}function Ir(t){var e=Bt();return t===!0?e.className=ki:(e.className=_i,ke(t)?e.appendChild(t):Re(e,t)),e}function Dr(t,e){ke(e.content)?(Re(t,""),t.appendChild(e.content)):typeof e.content!="function"&&(e.allowHTML?Re(t,e.content):t.textContent=e.content)}function Ce(t){var e=t.firstElementChild,r=Se(e.children);return{box:e,content:r.find(function(i){return i.classList.contains(Oi)}),arrow:r.find(function(i){return i.classList.contains(ki)||i.classList.contains(_i)}),backdrop:r.find(function(i){return i.classList.contains(Ti)})}}function Bi(t){var e=Bt(),r=Bt();r.className=ga,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var i=Bt();i.className=Oi,i.setAttribute("data-state","hidden"),Dr(i,t.props),e.appendChild(r),r.appendChild(i),n(t.props,t.props);function n(o,s){var u=Ce(e),c=u.box,p=u.content,d=u.arrow;s.theme?c.setAttribute("data-theme",s.theme):c.removeAttribute("data-theme"),typeof s.animation=="str
1ing"?c.setAttribute("data-animation",s.animation):c.removeAttribute("data-animation"),s.inertia?c.setAttribute("data-inertia",""):c.removeAttribute("data-inertia"),c.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?c.setAttribute("role",s.role):c.removeAttribute("role"),(o.content!==s.content||o.allowHTML!==s.allowHTML)&&Dr(p,t.props),s.arrow?d?o.arrow!==s.arrow&&(c.removeChild(d),c.appendChild(Ir(s.arrow))):c.appendChild(Ir(s.arrow)):d&&c.removeChild(d)}return{popper:e,onUpdate:n}}Bi.$$tippy=!0;var Na=1,be=[],Be=[];function Ha(t,e){var r=_r(t,Object.assign({},K,Mi(Or(e)))),i,n,o,s=!1,u=!1,c=!1,p=!1,d,w,C,g=[],E=Ar(ae,r.interactiveDebounce),b,y=Na++,A=null,O=ya(r.plugins),k={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},a={id:y,reference:t,popper:Bt(),popperInstance:A,props:r,state:k,plugins:O,clearDelayTimeouts:de,setProps:pe,setContent:fe,show:Pi,hide:Ni,hideWithInteractivity:Hi,enable:Ut,disable:ue,unmount:$i,destroy:Ri};if(!r.render)return a;var L=r.render(a),h=L.popper,T=L.onUpdate;h.setAttribute("data-tippy-root",""),h.id="tippy-"+a.id,a.popper=h,t._tippy=a,h._tippy=a;var M=O.map(function(l){return l.fn(a)}),V=t.hasAttribute("aria-expanded");return _t(),Q(),N(),q("onCreate",[a]),r.showOnCreate&&Ft(),h.addEventListener("mouseenter",function(){a.props.interactive&&a.state.isVisible&&a.clearDelayTimeouts()}),h.addEventListener("mouseleave",function(){a.props.interactive&&a.props.trigger.indexOf("mouseenter")>=0&&W().addEventListener("mousemove",E)}),a;function I(){var l=a.props.touch;return Array.isArray(l)?l:[l,0]}function B(){return I()[0]==="hold"}function D(){var l;return!!((l=a.props.render)!=null&&l.$$tippy)}function _(){return b||t}function W(){var l=_().parentNode;return l?Aa(l):document}function z(){return Ce(h)}function P(l){return a.state.isMounted&&!a.state.isVisible||rt.isTouch||d&&d.type==="focus"?0:De(a.props.delay,l?0:1,K.delay)}function N(l){l===void 0&&(l=!1),h.style.pointerEvents=a.props.interactive&&!l?"":"none",h.style.zIndex=""+a.props.zIndex}function q(l,f,m){if(m===void 0&&(m=!0),M.forEach(function(S){S[l]&&S[l].apply(S,f)}),m){var x;(x=a.props)[l].apply(x,f)}}function Z(){var l=a.props.aria;if(l.content){var f="aria-"+l.content,m=h.id,x=Mt(a.props.triggerTarget||t);x.forEach(function(S){var H=S.getAttribute(f);if(a.state.isVisible)S.setAttribute(f,H?H+" "+m:m);else{var U=H&&H.replace(m,"").trim();U?S.setAttribute(f,U):S.removeAttribute(f)}})}}function Q(){if(!(V||!a.props.aria.expanded)){var l=Mt(a.props.triggerTarget||t);l.forEach(function(f){a.props.interactive?f.setAttribute("aria-expanded",a.state.isVisible&&f===_()?"true":"false"):f.removeAttribute("aria-expanded")})}}function yt(){W().removeEventListener("mousemove",E),be=be.filter(function(l){return l!==E})}function tt(l){if(!(rt.isTouch&&(c||l.type==="mousedown"))){var f=l.composedPath&&l.composedPath()[0]||l.target;if(!(a.props.interactive&&Tr(h,f))){if(Mt(a.props.triggerTarget||t).some(function(m){return Tr(m,f)})){if(rt.isTouch||a.state.isVisible&&a.props.trigger.indexOf("click")>=0)return}else q("onClickOutside",[a,l]);a.props.hideOnClick===!0&&(a.clearDelayTimeouts(),a.hide(),u=!0,setTimeout(function(){u=!1}),a.state.isMounted||at())}}}function wt(){c=!0}function ot(){c=!1}function J(){var l=W();l.addEventListener("mousedown",tt,!0),l.addEventListener("touchend",tt,Ct),l.addEventListener("touchstart",ot,Ct),l.addEventListener("touchmove",wt,Ct)}function at(){var l=W();l.removeEventListener("mousedown",tt,!0),l.removeEventListener("touchend",tt,Ct),l.removeEventListener("touchstart",ot,Ct),l.removeEventListener("touchmove",wt,Ct)}function Tt(l,f){kt(l,function(){!a.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&f()})}function st(l,f){kt(l,f)}function kt(l,f){var m=z().box;function x(S){S.target===m&&(Me(m,"remove",x),f())}if(l===0)return f();Me(m,"remove",w),Me(m,"add",x),w=x}function dt(l,f,m){m===void 0&&(m=!1);var x=Mt(a.props.triggerTarget||t);x.forEach(function(S){S.addEventListener(l,f,m),g.push({node:S,eventType:l,handler:f,options:m})})}function _t(){B()&&(dt("touchstart",jt,{passive:!0}),dt("touchend",se,{passive:!0})),ba(a.props.trigger).forEach(function(l){if(l!=="manual")switch(dt(l,jt),l){case"mouseenter":dt("mouseleave",se);break;case"focus":dt(Ia?"focusout":"blur",Wt);break;case"focusin":dt("focusout",Wt);break}})}function oe(){g.forEach(function(l){var f=l.node,m=l.eventType,x=l.handler,S=l.options;f.removeEventListener(m,x,S)}),g=[]}function jt(l){var f,m=!1;if(!(!a.state.isEnabled||zt(l)||u)){var x=((f=d)==null?void 0:f.type)==="focus";d=l,b=l.currentTarget,Q(),!a.state.isVisible&&Sa(l)&&be.forEach(function(S){return S(l)}
vendor: 4,323 bytes, line 1
1),l.type==="click"&&(a.props.trigger.indexOf("mouseenter")<0||s)&&a.props.hideOnClick!==!1&&a.state.isVisible?m=!0:Ft(l),l.type==="click"&&(s=!m),m&&!x&&Et(l)}}function ae(l){var f=l.target,m=_().contains(f)||h.contains(f);if(!(l.type==="mousemove"&&m)){var x=pt().concat(h).map(function(S){var H,U=S._tippy,It=(H=U.popperInstance)==null?void 0:H.state;return It?{popperRect:S.getBoundingClientRect(),popperState:It,props:r}:null}).filter(Boolean);xa(x,l)&&(yt(),Et(l))}}function se(l){var f=zt(l)||a.props.trigger.indexOf("click")>=0&&s;if(!f){if(a.props.interactive){a.hideWithInteractivity(l);return}Et(l)}}function Wt(l){a.props.trigger.indexOf("focusin")<0&&l.target!==_()||a.props.interactive&&l.relatedTarget&&h.contains(l.relatedTarget)||Et(l)}function zt(l){return rt.isTouch?B()!==l.type.indexOf("touch")>=0:!1}function ce(){le();var l=a.props,f=l.popperOptions,m=l.placement,x=l.offset,S=l.getReferenceClientRect,H=l.moveTransition,U=D()?Ce(h).arrow:null,It=S?{getBoundingClientRect:S,contextElement:S.contextElement||_()}:t,cr={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(he){var Dt=he.state;if(D()){var ji=z(),Ie=ji.box;["placement","reference-hidden","escaped"].forEach(function(ve){ve==="placement"?Ie.setAttribute("data-placement",Dt.placement):Dt.attributes.popper["data-popper-"+ve]?Ie.setAttribute("data-"+ve,""):Ie.removeAttribute("data-"+ve)}),Dt.attributes.popper={}}}},St=[{name:"offset",options:{offset:x}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!H}},cr];D()&&U&&St.push({name:"arrow",options:{element:U,padding:3}}),St.push.apply(St,(f==null?void 0:f.modifiers)||[]),a.popperInstance=ma(It,h,Object.assign({},f,{placement:m,onFirstUpdate:C,modifiers:St}))}function le(){a.popperInstance&&(a.popperInstance.destroy(),a.popperInstance=null)}function ct(){var l=a.props.appendTo,f,m=_();a.props.interactive&&l===Ii||l==="parent"?f=m.parentNode:f=Di(l,[m]),f.contains(h)||f.appendChild(h),a.state.isMounted=!0,ce()}function pt(){return Se(h.querySelectorAll("[data-tippy-root]"))}function Ft(l){a.clearDelayTimeouts(),l&&q("onTrigger",[a,l]),J();var f=P(!0),m=I(),x=m[0],S=m[1];rt.isTouch&&x==="hold"&&S&&(f=S),f?i=setTimeout(function(){a.show()},f):a.show()}function Et(l){if(a.clearDelayTimeouts(),q("onUntrigger",[a,l]),!a.state.isVisible){at();return}if(!(a.props.trigger.indexOf("mouseenter")>=0&&a.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(l.type)>=0&&s)){var f=P(!1);f?n=setTimeout(function(){a.state.isVisible&&a.hide()},f):o=requestAnimationFrame(function(){a.hide()})}}function Ut(){a.state.isEnabled=!0}function ue(){a.hide(),a.state.isEnabled=!1}function de(){clearTimeout(i),clearTimeout(n),cancelAnimationFrame(o)}function pe(l){if(!a.state.isDestroyed){q("onBeforeUpdate",[a,l]),oe();var f=a.props,m=_r(t,Object.assign({},f,Or(l),{ignoreAttributes:!0}));a.props=m,_t(),f.interactiveDebounce!==m.interactiveDebounce&&(yt(),E=Ar(ae,m.interactiveDebounce)),f.triggerTarget&&!m.triggerTarget?Mt(f.triggerTarget).forEach(function(x){x.removeAttribute("aria-expanded")}):m.triggerTarget&&t.removeAttribute("aria-expanded"),Q(),N(),T&&T(f,m),a.popperInstance&&(ce(),pt().forEach(function(x){requestAnimationFrame(x._tippy.popperInstance.forceUpdate)})),q("onAfterUpdate",[a,l])}}function fe(l){a.setProps({content:l})}function Pi(){var l=a.state.isVisible,f=a.state.isDestroyed,m=!a.state.isEnabled,x=rt.isTouch&&!a.props.touch,S=De(a.props.duration,0,K.duration);if(!(l||f||m||x)&&!_().hasAttribute("disabled")&&(q("onShow",[a],!1),a.props.onShow(a)!==!1)){if(a.state.isVisible=!0,D()&&(h.style.visibility="visible"),N(),J(),a.state.isMounted||(h.style.transition="none"),D()){var H=z(),U=H.box,It=H.content;Ve([U,It],0)}C=function(){var St;if(!(!a.state.isVisible||p)){if(p=!0,h.offsetHeight,h.style.transition=a.props.moveTransition,D()&&a.props.animation){var _e=z(),he=_e.box,Dt=_e.content;Ve([he,Dt],S),Qt([he,Dt],"visible")}Z(),Q(),xr(Be,a),(St=a.popperInstance)==null||St.forceUpdate(),q("onMount",[a]),a.props.animation&&D()&&st(S,function(){a.state.isShown=!0,q("onShown",[a])})}},ct()}}function Ni(){var l=!a.state.isVisible,f=a.state.isDestroyed,m=!a.state.isEnabled,x=De(a.props.duration,1,K.duration);
1if(!(l||f||m)&&(q("onHide",[a],!1),a.props.onHide(a)!==!1)){if(a.state.isVisible=!1,a.state.isShown=!1,p=!1,s=!1,D()&&(h.style.visibility="hidden"),yt(),at(),N(!0),D()){var S=z(),H=S.box,U=S.content;a.props.animation&&(Ve([H,U],x),Qt([H,U],"hidden"))}Z(),Q(),a.props.animation?D()&&Tt(x,a.unmount):a.unmount()}}function Hi(l){W().addEventListener("mousemove",E),xr(be,E),E(l)}function $i(){a.state.isVisible&&a.hide(),a.state.isMounted&&(le(),pt().forEach(function(l){l._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Be=Be.filter(function(l){return l!==a}),a.state.isMounted=!1,q("onHidden",[a]))}function Ri(){a.state.isDestroyed||(a.clearDelayTimeouts(),a.unmount(),oe(),delete t._tippy,a.state.isDestroyed=!0,q("onDestroy",[a]))}}function vt(t,e){e===void 0&&(e={});var r=K.plugins.concat(e.plugins||[]);ka();var i=Object.assign({},e,{plugins:r}),n=La(t),o=n.reduce(function(s,u){var c=u&&Ha(u,i);return c&&s.push(c),s},[]);return ke(t)?o[0]:o}vt.defaultProps=K;vt.setDefaultProps=Ba;vt.currentInput=rt;Object.assign({},yi,{effect:function(e){var r=e.state,i={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,i.popper),r.styles=i,r.elements.arrow&&Object.assign(r.elements.arrow.style,i.arrow)}});var qi={name:"animateFill",defaultValue:!1,fn:function(e){var r;if(!((r=e.props.render)!=null&&r.$$tippy))return{};var i=Ce(e.popper),n=i.box,o=i.content,s=e.props.animateFill?$a():null;return{onCreate:function(){s&&(n.insertBefore(s,n.firstElementChild),n.setAttribute("data-animatefill",""),n.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(s){var c=n.style.transitionDuration,p=Number(c.replace("ms",""));o.style.transitionDelay=Math.round(p/10)+"ms",s.style.transitionDuration=c,Qt([s],"visible")}},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&Qt([s],"hidden")}}}};function $a(){var t=Bt();return t.className=Ti,Qt([t],"hidden"),t}vt.setDefaultProps({render:Bi});const Ra=()=>{const t=document.querySelectorAll('[data-tooltip-opener="header-tooltip"]'),e=document.querySelector('[data-tooltip="header-tooltip"]');t.forEach(r=>{const i=e.cloneNode(!0);e&&vt(r,{content:i,arrow:!1,theme:"transparent",interactive:!0,animateFill:!0,plugins:[qi]})})},ja=()=>{co(),window.Tabs=uo(),Ra()},Wa=(t,e)=>{let r=null;return function(...n){r||(r=setTimeout(()=>{t(...n),clearTimeout(r),r=null},e))}},za=(t,e)=>{let i=0;window.addEventListener("scroll",Wa(()=>{const n=window.scrollY;i<n-150&&(t(),i=n-100),i>n+150&&(e(),i=n+100)},100))},Fa=()=>
1{if(window.innerWidth>1024)return;const t=document.querySelector(".mobile-menu"),e=document.querySelector(".mobile-sticky"),r="hide-to-bottom";t&&za(()=>{t.classList.add(r),e&&e.classList.add(r)},()=>{t.classList.remove(r),e&&e.classList.remove(r)})};function Ua(){const t=document.querySelectorAll(".footer-accordion");t.length>0&&t.forEach(e=>{e.querySelector(".footer-accordion__title").addEventListener("click",()=>{e.querySelector(".footer-accordion__container").classList.toggle("footer-accordion__container--hide"),e.querySelector(".footer-accordion__title > span").classList.toggle("is-active")})})}const Ga=()=>{Ua()};class Xa{constructor(){v(this,"modalSelector");v(this,"body");v(this,"document");v(this,"closeTimeout");v(this,"activeClass");v(this,"modalWrapper");this.modalSelector="[data-modal]",this.document=document,this.body=this.document.body,this.closeTimeout=300,this.activeClass="is-active",this.modalWrapper=document.querySelector(".modal-wrapper")||null,this.modalWrapper===null&&this.createModalWrapper()}isOtherOpen(){return document.querySelectorAll(this.modalSelector).length}timeout(){return this.closeTimeout}createModalWrapper(){this.modalWrapper=document.createElement("div"),this.modalWrapper.classList.add("modal-wrapper"),this.body.append(this.modalWrapper)}open(e,r=!0){const i=document.querySelector(`[data-modal=${e}]`),n=i.querySelector(".modal__mobile-top");window.afterAjax(),r&&$r(),i.classList.add(this.activeClass),i.focus(),this.body.classList.add("modal-open"),this.setEventMove(n,e),document.dispatchEvent(new CustomEvent("modal-open",{detail:{id:e,modal:i}}))}close(e){const r=document.querySelector(`[data-modal=${e}]`),i=r.dataset.modalOnclose;e?r.classList.remove(this.activeClass):document.querySelectorAll("[data-modal]").forEach(n=>n.classList.remove(this.activeClass)),this.isOtherOpen||setTimeout(()=>{qe(),this.body.classList.remove("modal-open"),i&&r.remove()},this.closeTimeout),setTimeout(()=>{qe(),this.body.classList.remove("modal-open"),i&&r.remove()},this.closeTimeout),document.dispatchEvent(new CustomEvent("modal-close",{detail:{id:e,modal:r}}))}toggle(e){document.querySelector(`[data-modal=${e}]`).classList.contains(this.activeClass)?this.close(e):this.open(e)}setEventMove(e,r){e&&e.addEventListener("touchmove",i=>{i.preventDefault(),this.close(r)})}showError(){let e=document.querySelector('[data-modal="modal-error"]');const r=()=>"<div class='modal' data-modal='modal-error'><div class='modal__error'>Произошла ошибка</div></div>";e||(e=document.createElement("div"),e.innerHTML=r(),this.body.append(e)),this.open("modal-error")}async openWithAjax(e,r={}){var c;const i=document.querySelectorAll(`[data-modal=${e}]`).length;let n,o;if(i){this.open(e);return}const s=vr?`./ajax/${e}.html`:"/local/ajax/";r&&(o=Object.assign(r)),o.action="LoadBlocks/getModal",o.modalId=e,o.return="html";const u=new FormData;for(const p in o)u.append(p,o[p]);if(vr?n=await fetch(s,{method:"GET"}):n=await fetch(s,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},body:u}),n.status===200){const p=await n.text();(c=this.modalWrapper)==null||c.insertAdjacentHTML("afterend",p),ft.open(e)}else console.error(`Ошибка HTTP: ${n.status}`)}}const ft=new Xa;window.Modal=ft;const Ya=()=>{document.addEventListener("click",t=>{const e=t.target;if(e.closest("[data-modal-open]")){t.preventDefault();const i=e.closest("[data-modal-open]").dataset.modalOpen;ft.open(i)}if(e.closest("[data-modal-ajax-open]")){t.preventDefault();const r=e.closest("[data-modal-ajax-open]"),i=r.dataset.modalAjaxOpen,n=r.dataset;ft.openWithAjax(i,n)}if(e.closest("[data-modal-close]")){t.preventDefault();const i=e.closest("[data-modal-close]").dataset.modalClose;ft.close(i)}if(e.closest("[data-modal-toggle]")){t.preventDefault();const i=e.closest("[data-modal-toggle]").dataset.modalToggle;ft.toggle(i)}}),document.addEventListener("mousedown",t=>{const e=t.target;if(e.closest("[data-modal]")){if(e.closest("[data-modal-inner]"))return;t.preventDefault();const i=e.closest("[data-modal]").dataset.modal;ft.close(i)}}),document.addEventListener("modal-open",t=>{const e=t.detail.id;document.querySelectorAll("[data-modal].is-active").forEach(i=>
1{const n=i.dataset.modal;e==="saturate-list"||n==="fast-show"||e!==n&&ft.close(n)})})},Ja=()=>{document.addEventListener("modal-open",t=>{const e=t.detail.id;if(e==="search-modal"){const i=document.querySelector(`[data-modal=${e}]`).querySelector(".search-input__input"),n=setTimeout(()=>{i==null||i.focus(),clearTimeout(n)},300)}e==="modal-catalog"&&(window.Tabs.initNewTabs(),Rr())})};class Ka{constructor(e){v(this,"counterContainer");v(this,"totalPrice");v(this,"totalUnits");v(this,"totalItems");v(this,"localTotalItems");v(this,"plusButton");v(this,"minusButton");v(this,"input");v(this,"price");v(this,"step");v(this,"maxValue");v(this,"minValue");v(this,"plusHandler");v(this,"minusHandler");v(this,"inputHandler");v(this,"blurHandler");v(this,"cardContainer");v(this,"unit");v(this,"isGroupCounter");v(this,"isOverallCounter");v(this,"initialValue");v(this,"allCounters");v(this,"currentValue");v(this,"isModalCounter");v(this,"isTotalCounter");v(this,"isSample");if(this.isTotalCounter=e.isTotalCounter,this.isSample=e.isSample,this.allCounters=e.counters,this.cardContainer=e.counterContainerSelector,this.counterContainer=this.setCounterContainer(e.counterIndex),this.isModalCounter=e.isInModal,!!this.counterContainer){if(this.totalPrice=this.cardContainer.querySelector(e.totalPrice),this.totalUnits=this.cardContainer.querySelector(e.totalUnits),this.totalItems=this.cardContainer.querySelector(e.totalItems),this.plusButton=this.counterContainer.querySelector(e.plusSelector),this.minusButton=this.counterContainer.querySelector(e.minusSelector),this.input=this.counterContainer.querySelector(e.inputSelector),this.price=+this.input.dataset.price,this.step=+this.input.dataset.counterStep,this.maxValue=+this.input.dataset.maxValue,this.minValue=+this.input.dataset.minValue,this.unit=this.input.dataset.unit,this.initialValue=this.input.value,this.currentValue=+this.input.value,this.totalPrice.textContent=String(this.currentValue*this.price).replace(/\B(?=(\d{3})+(?!\d))/g," "),this.isTotalCounter||this.insertNewData(this.currentValue),this.isOverallCounter){let r=0,i=0,n=0;this.allCounters.forEach(o=>{o.getCounterCardContainer()===this.cardContainer&&o.checkIfCounterGrouped()&&(i+=o.getCurrentValue(),n+=o.getCurrentValue()/o.getStep(),n=Math.floor(n),r+=o.currentValue*o.price,this.totalPrice.textContent=String(r).replace(/\B(?=(\d{3})+(?!\d))/g," "),this.totalUnits&&(this.totalUnits.textContent=String(i)))})}this.initialValue==="ОБРАЗЕЦ"&&(this.input.setAttribute("readonly","true"),this.minusButton.disabled=!0,this.totalPrice.textContent="Бесплатно",this.displayPriceBlock("none")),this.plusHandler=()=>this.plus(),this.minusHandler=()=>this.minus(),this.inputHandler=r=>this.inputEvent(r),this.blurHandler=r=>this.blurEvent(r),this.plusButton.addEventListener("click",this.plusHandler),this.minusButton.addEventListener("click",this.minusHandler),this.input.addEventListener("input",this.inputHandler),this.input.addEventListener("change",this.inputHandler),this.input.addEventListener("keypress",this.inputHandler),this.input.addEventListener("blur",this.blurHandler),this.isOverallCounter&&this.setOverallCounterValue()}}minus(){let e=this.setCurrentValue(this.input.value);this.initialValue==="ОБРАЗЕЦ"&&this.input.value==="1"&&(this.minusButton.disabled=!0,this.input.value="ОБРАЗЕЦ");let r=e-this.step;r>=this.minValue?(this.input.value=String(this.roundToNearestStep(r,this.step)),this.plusButton.disabled=!1):(this.input.value=String(this.minValue),r=this.minValue,this.minusButton.disabled=!0),this.insertNewData(r),this.isGroupCounter&&this.setOverallCounterValue(),this.isOverallCounter&&this.setGroupCountersValue("minus"),this.input.dispatchEvent(new Event("change"))}plus(){const e=this.setCurrentValue(this.input.value);isNaN(+this.input.value)&&(this.input.disabled=!1,this.displayPriceBlock("block"));let r=e+this.step;+this.input.value===this.maxValue&&(this.plusButton.disabled=!0),r<=this.maxValue?(this.input.value=String(this.roundToNearestStep(r,this.step)),this.minusButton.disabled=!1,r===this.maxValue&&(this.plusButton.disabled=!0)):r>this.maxValue&&(this.input.value=String(this.maxValue),r=this.maxValue),this.insertNewData(r),this.isGroupCounter&&this.setOverallCounterValue(),this.isOverallCounter&&this.setGroupCountersValue("plus"),this.input.dispatchEvent(new Event("change"))}inputEvent(e){const r=e.currentTarget,i=r.value;i!=="ОБРАЗЕЦ"&&(r.value=i.replace(/\D/g,""),this.disableCartBtn(),this.isSample&&i==="0"&&(this.input.value="ОБРАЗЕЦ",this.minusButton.disabled=!0,this.totalPrice.textContent="Бесплатно",this.displayPriceBlock("none")))}disableCartBtn(){const e=this.cardContainer.querySelector(".js-add-to-cart-btn");e&&(this.totalPrice.textContent=="0"?e.setAttribute("disabled","true"):e.removeAttribute("disabled"))}blurEvent(e){const r=e.currentTarget;if(r.hasAttribute("readonly"))return;const i=this.roundToNearestStep(r.value,this.step),n=this.initialValue==="ОБРАЗЕЦ";i<this.minValue?(r.value=n?"ОБРАЗЕЦ":String(this.minValue),this.currentValue=this.minValue,this.plusButton.disabled=!1,this.insertNewData(this.minValue)):i>this.maxValue?(r.value=String(this.maxValue),this.currentValue=this.maxValue,this.minusButton.disabled=!1,this.plusButton.disabled=!0,this.insertNewData(this.maxValue)):(r.value=n?"ОБРАЗЕЦ":String(i),this.currentValue=i,this.plusButton.disabled=!1,this.minusButton.disabled=!1,this.insertNewData(i)),this.disableCartBtn(),this.isGroupCounter&&this.setOverallCounterValue()}insertNewData(e){this.currentValue=e;const r=this.setCurrentPrice(e);r==="Бесплатно"&&(this.displayPriceBlock("none"),this.input.disabled=!0),this.insertOverallInfo(r,e),e===this.minValue&&(this.minusButton.disabled=!0,this.initialValue==="ОБРАЗЕЦ"?(this.input.value=this.initialValue,this.displayPriceBlock("none"),this.totalPrice.textContent="Бесплатно",this.input.disabled=!0):this.input.value=String(Math.floor(this.minValue)))}itemsName(e){const r=this.setItemName(this.unit);if(e%10===1&&e%100!==11){if(r==="рулон")return" рулон";if(r==="короб")return" коробка"}else if(e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)){if(r==="рулон")return" рулона";if(r==="короб")return" коробки"}if(r==="рулон")return" рулонов";if(r==="короб")return" коробок"}roundToNearestStep(e,r){const i=isNaN(+e)?+e.split(" ")[0]:+e;return Math.round(i/r)*r}setCounterContainer(e){if(this.isTotalCounter||(this.localTotalItems=this.cardContainer.querySelector(`[data-total-items-${e+1}]`)),e){const r=this.cardContainer.querySelector(`[data-counter-${e}]`);if(this.localTotalItems=this.cardContainer.querySelector(`[data-total-items-${e}]`),r)this.isGroupCounter=!0;else return this.localTotalItems=this.cardContainer.querySelector("[data-total-items-overall]"),this.isOverallCounter=!0,this.cardContainer.querySelector("[data-counter-overall]");return r}else return this.cardContainer.querySelector("[data-counter]")}setCurrentValue(e){return isNaN(+e)?e===this.initialValue?0:+e.split(" ")[0]:+e}setCurrentPrice(e){return e===this.minValue&&this.initialValue==="ОБРАЗЕЦ"?"Бесплатно":e*this.price}setItemName(e){return e==="шт"?"короб":"рулон"}setOverallCounterValue(){let e=0,r=0,i;
1if(this.allCounters.forEach(n=>{n.getCounterCardContainer()===this.cardContainer&&(n.checkIfCounterGrouped()&&(n.getCurrentValue(),e+=n.getCurrentValue(),r+=n.getCurrentValue()/n.getStep(),r=Math.floor(r)),n.checkIfCounterTotal()&&(i=n))}),this.isGroupCounter){if(!i)return;i.localTotalItems.textContent=String(Math.floor(r))+this.itemsName(r),i.input.value=String(e),i.currentValue=e}this.isOverallCounter&&(this.localTotalItems&&(this.localTotalItems.textContent=String(Math.floor(r))+this.itemsName(r)),this.input.value=String(e),this.currentValue=e,this.minusButton.disabled=!1,this.input.readOnly||(this.input.readOnly=!0))}setGroupCountersValue(e){this.allCounters.forEach(r=>{r.getCounterCardContainer()===this.cardContainer&&r.checkIfCounterGrouped()&&(e==="plus"?(r.plus(),r.input.dispatchEvent(new Event("change"))):e==="minus"&&r.minus(),r.input.dispatchEvent(new Event("change"))),this.setOverallCounterValue()})}displayPriceBlock(e){this.cardContainer.querySelector(".basket-price__bottom")&&(this.cardContainer.querySelector(".basket-price__bottom").style.display=e);const r=this.totalPrice.nextElementSibling;r&&(r.style.display=e)}insertOverallInfo(e,r){if(this.isGroupCounter){let i=0,n=0,o=0;this.allCounters.forEach(s=>{s.getCounterCardContainer()===this.cardContainer&&s.checkIfCounterGrouped()&&(n+=s.getCurrentValue(),o+=s.getCurrentValue()/s.getStep(),o=Math.floor(o),i+=s.currentValue*s.price)}),this.totalPrice.textContent=String(i).replace(/\B(?=(\d{3})+(?!\d))/g," "),this.totalUnits&&(this.totalUnits.textContent=String(n)),this.totalItems&&(this.totalItems.textContent=String(Math.floor(o))+this.itemsName(o))}else this.totalPrice.textContent=String(e).replace(/\B(?=(\d{3})+(?!\d))/g," "),this.totalUnits&&(this.totalUnits.textContent=String(r)),this.totalItems&&(this.totalItems.textContent=String(Math.floor(r/this.step))+this.itemsName(r/this.step));this.localTotalItems&&(this.localTotalItems.textContent=String(Math.floor(r/this.step))+this.itemsName(r/this.step))}getCounterCardContainer(){return this.cardContainer}checkIfCounterGrouped(){return this.isGroupCounter}checkIfCounterTotal(){return this.isOverallCounter}getCurrentValue(){return this.currentValue===void 0?0:this.currentValue}getStep(){return this.step}destroy(){this.plusButton.removeEventListener("click",this.plusHandler),this.minusButton.removeEventListener("click",this.minusHandler),this.input.removeEventListener("input",this.inputHandler),this.input.removeEventListener("blur",this.blurHandler)}}class Za{constructor(){v(this,"counterOptions");v(this,"counters",[]);this.counterOptions={plusSelector:"[data-counter-plus]",minusSelector:"[data-counter-minus]",inputSelector:"[data-counter-input]",price:"[data-price]",step:"[data-counter-step]",totalPrice:"[data-total-price]",totalUnits:"[data-total-units]",totalItems:"[data-total-items]",unit:"[data-unit]",isTotalCounter:!1,isSample:!1}}init(){const e=document.querySelectorAll("[data-counter-container]"),r=document.querySelectorAll("[data-counter]");e&&r&&e.forEach(i=>{this.initializeCounter(i)})}reInitCounters(){const e=document.querySelectorAll("[data-counter-container]");e&&(this.counters.length>0&&(this.counters.forEach(r=>r.destroy()),this.counters=[]),e.forEach(r=>{this.initializeCounter(r)}))}initializeCounter(e,r=!1){const i=e.querySelectorAll("[data-counter]");i.forEach((n,o)=>{const s=n.getAttribute("data-counter-id");if(!this.counters.find(c=>c.counterId===s)){const c=new Ka({...this.counterOptions,counters:this.counters,counterContainerSelector:e,counterIndex:i.length>1?o+1:null,isInModal:r,isTotalCounter:n.getAttribute("data-counter")==="all-product",isSample:n.getAttribute("value")==="ОБРАЗЕЦ"});this.counters.push(c)}})}destroyCounters(){this.counters.forEach(e=>{e.isModalCounter&&e.destroy()})}}const Vr=()=>{vt.setDefaultProps({maxWidth:"500px"}),vt("[data-tippy-content]"),document.querySelectorAll("[data-tooltip-opener]").forEach(e=>{const r=e.dataset.tooltipOpener,i=document.querySelector(`[data-tooltip-opener="${r}"]`),n=document.querySelector(`[data-tooltip="${r}"]`);vt(i,{content:n,arrow:!1,theme:"transparent",interactive:!0,animateFill:!0,placement:"bottom",plugins:[qi],trigger:Qa(r),onShown(o){const s=r==="saturate-list"?".icon-close":".filter-popup__close",u=o.popper.querySelector(s);u&&u.addEventListener("click",()=>{o.hide()})}})})};function Qa(t){if(t==="actions-basket")return"click"}const Mr=()=>{let t=!1;r(t),t=!0,window.matchMedia("(min-width: 768px)").addEventListener("change",i=>{i.media==="(min-width: 768px)"?(r(t),t=!0):(r(t),t=!1)});function r(i){document.querySelectorAll(".card-product").forEach(o=>{function s(){o.style.cssText="z-index: 5;",o.classList.add("is-hover")}function u(){o.style.cssText="z-index: 1;",o.classList.remove("is-hover")}i&&(o.removeEventListener("mouseenter",s),o.removeEventListener("mouseleave",u)),i||(o.addEventListener("mouseenter",s),o.addEventListener("mouseleave",u))})}};function ts(){const t=new Fi,e=new Za;return Vr(),t.applyToElements(".js-dropped"),Mr(),document.addEventListener("modal-open",r=>{const i=r.detail;(i.id==="fast-show"||i.id==="fast-show-product")&&Ui(),t.applyToElements(".js-dropped")}),document.addEventListener("modal-close",r=>{const i=r.detail;(i.id==="fast-show"||i.id==="fast-show-product")&&e.destroyCounters()}),{dropletEffect:t,counterAll:e,hoverCardEffect:Mr,tippyInit:Vr}}function Br(){document.querySelectorAll(".password-label").forEach(e
1=>{const r=e.querySelector(".btn-show-hide");if(!r)return;const i=e.querySelector("input");r.addEventListener("click",()=>(i.getAttribute("type")==="password"?(r.classList.add("view"),i.setAttribute("type","text")):(r.classList.remove("view"),i.setAttribute("type","password")),!1))})}class qr{constructor(e){v(this,"select");v(this,"head");v(this,"items");v(this,"title");v(this,"body");v(this,"input");v(this,"arrow");this.select=e,this.head=this.select.querySelector(".select__header"),this.items=this.select.querySelectorAll(".select__item"),this.body=this.select.querySelector(".select__body"),this.title=this.select.querySelector(".select__current"),this.input=this.select.querySelector("input[type=hidden]"),this.arrow=this.select.querySelector(".select-arrow"),this.setEvents()}toggle(){this.select.classList.toggle("is-active"),this.arrow.classList.toggle("is-active")}close(){this.select.classList.remove("is-active"),this.arrow.classList.remove("is-active")}open(){this.select.classList.add("is-active"),this.arrow.classList.add("is-active")}clearSelect(){this.select.querySelectorAll(".is-active").forEach(e=>{e.classList.remove("is-active")})}handlerItemClick(e){e.addEventListener("click",r=>{let i=r.target;i=i.closest(".select__item"),this.select.classList.contains("select--image")?this.title.innerHTML=i.innerHTML:this.title.innerText=i.innerText,this.clearSelect(),e.classList.add("is-active"),this.close(),this.input&&this.input.setAttribute("value",i.getAttribute("data-value"))})}setEvents(){var e,r;this.select.classList.contains("initialized")||((e=this.head)==null||e.addEventListener("click",()=>{this.toggle()}),(r=this.arrow)==null||r.addEventListener("click",()=>{this.toggle()}),document.addEventListener("click",i=>{i.target.closest(".select")===this.select||this.close()}),this.items.forEach(i=>{this.handlerItemClick(i)})),this.select.classList.add("initialized")}addItem(e,r,i){if(!e)return;this.clearSelect();const n=document.createElement("div");if(n.classList.add("select__item"),n.classList.add("is-active"),i&&i.forEach(s=>{n.setAttribute(s.attrName,s.attrValue)}),n.innerText=r,this.body.appendChild(n),n.getAttribute("data-tab-click-opener")){const s=n.getAttribute("data-tab-click-opener"),u=document.querySelector(`[data-tab="${s}"]`),c=document.querySelector(`[data-tab-click-opener="${s}"]`);if(!u||!c)return;window.Tabs.initTab(s)}this.handlerItemClick(n);const o=new Event("click");n.dispatchEvent(o)}}window.StoreSelects=[];class Pr{constructor(e){v(this,"link");v(this,"card");v(this,"clickableElement");v(this,"initialized");this.card=e,this.link=this.card.querySelector(".card-product__top-link"),this.clickableElement=this.card.querySelector(".card-product__top"),this.initialized=!1,this.setEvents()}setEvents(){this.link&&this.clickableElement&&!this.initialized&&(this.clickableElement.addEventListener("click",this.handleLinkClick.bind(this)),this.initialized=!0)}handleLinkClick(e){e.preventDefault();const r=e.target;!r.closest(".card-product__add-favorite")&&!r.closest(".card-product__more")&&(window.location.href="",window.location.href=this.link.getAttribute("href"))}}function Nr(){const t=document.querySelectorAll(".js-toggle");t.length===0||!t||t.forEach(e=>{if(e.classList.contains("initialized"))return;e.classList.add("initialized");const r=e.querySelectorAll(".js-toggle-item");r[0].addEventListener("click",()=>{e.classList.remove("is-active")}),r[1].addEventListener("click",()=>{e.classList.add("is-active")})})}function Hr(){const t=document.querySelectorAll("[data-mobile-sub-nav]"),e=document.querySelectorAll("[data-mobile-sub-nav-opener]"),r=document.querySelectorAll("[data-mobile-sub-nav-close]");if(!t||!e||!r)return;const i=Array.from(t);e.forEach(n=>{n.hasAttribute("initialized")||(n.addEventListener("click",o=>{o.preventDefault(),n.setAttribute("initialized",""),i.find(s=>s.getAttribute("data-mobile-sub-nav")===n.getAttribute("data-mobile-sub-nav-opener")).classList.add("is-active")}),r.forEach(o=>{o.addEventListener("click",s=>{s.preventDefault(),i.find(u=>u.getAttribute("data-mobile-sub-nav")===o.getAttribute("data-mobile-sub-nav-close")).classList.remove("is-active")})}))})}const es=()=>{document.addEventListener("click",t=>{const e=t.target;if(e.className.includes("list-card-actions__item-accardion-title")){const r=e.nextElementSibling;r&&r.classList.toggle("list-card-actions__item-accardion-body-activ")}})};function rs(){const t=document.querySelectorAll(".product-accordion");t.length>
10&&t.forEach(e=>{e.querySelector(".accordion__title").addEventListener("click",()=>{e.querySelector(".accordion__container").classList.toggle("accordion__container--hide"),e.querySelector(".list-products__title > span > svg").classList.toggle("is-active")})})}const is=()=>{rs()};document.addEventListener("DOMContentLoaded",()=>{window.myLazyLoad=new re({elements_selector:".lazy"}),window.myLazyLoad.update(),ja(),Ga(),is(),Ya(),Fa(),Ja(),Br(),lr(),es(),window.Tabs=new Ne().init(!1);const{dropletEffect:t,counterAll:e,hoverCardEffect:r,tippyInit:i}=ts(),n=new Gi([".slider-in-card"]);e.init(),n.init(),document.querySelectorAll(".select").forEach(s=>{window.StoreSelects.push(new qr(s))}),Yi.any()!=null&&document.querySelector("body").classList.add("mobile-device"),document.querySelectorAll(".card-product").forEach(s=>{new Pr(s)}),Hr(),Nr(),window.afterAjax=()=>{Rr(),e.reInitCounters(),n.initNewSwipers(),t.reInitDroplets(".js-dropped"),r(),i(),window.myLazyLoad.update(),lr(),Ki(),document.querySelectorAll(".select").forEach(c=>{window.StoreSelects.push(new qr(c))}),Br(),window.Tabs=new Ne().init(!1);const s=new Set;document.querySelectorAll(".basket-items-block").forEach(c=>{s.has(c)||(Ji(),s.add(c))});const u=Xi();u&&u.reinitialize&&u.reinitialize(),document.querySelectorAll(".card-product").forEach(c=>{new Pr(c)}),Nr(),Hr()}});window.addSelectItem=(t,e,r)=>{window.StoreSelects.find(i=>i.select.id===t.id).addItem(t,e,r)};const je=document.getElementById("scrollToTopBtn"),ns=document.documentElement;window.addEventListener("scroll",()=>{window.pageYOffset>200?je.classList.add("show"):je.classList.remove("show")});je.addEventListener("click",()=>{ns.scrollTo({top:0,behavior:"smooth"})});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.