this.Kontur=this.Kontur||{},this.Kontur.Widgets=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=28)}({1:function(e,t,n){"use strict";n.d(t,"a",(function(){return j}));function r(e){return"function"==typeof e}var i=function(e){r(e)&&("loading"===document.readyState?document.addEventListener?document.addEventListener("DOMContentLoaded",e):document.onreadystatechange=function(){"loading"!==document.readyState&&e()}:e())};function o(e,t,n){"undefined"!=typeof Kontur&&void 0!==Kontur.Module&&Kontur.Module(e,t,n)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"wordEndingByNumber",value:function(e,t,n,r){return(e=Math.abs(e)%100)>20&&(e%=10),1===e?t:e>1&&e<5?n:r}},{key:"separateThousandsInNumber",value:function(e,t){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,t||"&nbsp;")}},{key:"numberWithLeadingZeros",value:function(e,t){var n=Array(t+1).join("0"),r=e.toString();if(r.length>=t)return r;var i=n+r,o=i.length-t;return i.slice(o)}},{key:"trimSpaces",value:function(e){return e?e.replace(/^\s+|\s+$/g,""):e}},{key:"trimEndSpaces",value:function(e){return e?String.prototype.trimEnd?e.trimEnd():e.replace(/\s+$/,""):e}}],(n=null)&&a(t.prototype,n),r&&a(t,r),e}();function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),n}o("Kontur.StringHelper",(function(){this.wordEndingByNumber=s.wordEndingByNumber,this.separateThousandsInNumber=s.separateThousandsInNumber,this.numberWithLeadingZeros=s.numberWithLeadingZeros,this.trimSpaces=s.trimSpaces}));var c=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"getSiteUrl",value:function(){return this.siteUrl}},{key:"setSiteUrl",value:function(e){this.siteUrl=e}},{key:"addParameter",value:function(t,n,r){var i=this;return l(this,e,p).call(this,n,r)?l(this,e,f).call(this,t,(function(t){return l(i,e,d).call(i,t,n,r)})):t}},{key:"addParameters",value:function(t,n){var r=this;return n=n||{},l(this,e,f).call(this,t,(function(t){var i=t;for(var o in n){var a=n[o];l(r,e,p).call(r,o,a)&&(i=l(r,e,d).call(r,i,o,a))}return i}))}},{key:"toAbsoluteUrl",value:function(e,t){var n=this.removeTrailingSlash(e)+"/"+this.trimSlashes(t);return this.removeTrailingSlash(n)}},{key:"removeTrailingSlash",value:function(e){return e.replace(/\/+$/g,"")}},{key:"trimSlashes",value:function(e){return e.replace(/^[\/]+|[\/]+$/g,"")}},{key:"removeParameters",value:function(e){return e.replace(/\?.*$/g,"")}},{key:"getQueryParams",value:function(){return this.getParameters(window.location.href)}},{key:"isRelative",value:function(t){return l(this,e,v).call(this,t,"/")&&!l(this,e,v).call(this,t,"//")}},{key:"getPath",value:function(e){return e.replace(/^(?:\/\/|[^\/]+)*\//,"/")}},{key:"getParameters",value:function(e){if("string"!=typeof e||-1===e.indexOf("?"))return{};var t=e.indexOf("#");-1!==t&&(e=e.substring(0,t));for(var n={},r=e.slice(e.indexOf("?")+1).split("&"),i=0;i<r.length;i++){var o=r[i].split("=");n[o[0]]=void 0===o[1]?"":o[1]}return n}},{key:"getUrlParts",value:function(e){var t=document.createElement("a");return t.href=e,t.href=t.href,{href:t.href,host:t.host,hostname:t.hostname,port:t.port,pathname:0==t.pathname.indexOf("/")?t.pathname:"/"+t.pathname,protocol:t.protocol,hash:t.hash,search:t.search}}},{key:"toRelativeUrl",value:function(e){var t=this.getUrlParts(e);return t.pathname+t.search+t.hash}}],(n=null)&&u(t.prototype,n),r&&u(t,r),e}();function d(e,t,n){var r="",i=e.split("?"),o=i[0],a=i[1],s="";if(a){i=a.split("&");for(var u=0;u<i.length;u++)i[u].split("=")[0].toLowerCase()!==t.toLowerCase()&&(r+=s+i[u],s="&")}return o+"?"+r+(s+t+"="+n)}function f(e,t){var n="",r=e.indexOf("#");return-1!==r&&(n=e.substring(r),e=e.substring(0,r)),t(e)+n}function p(e,t){return Boolean(e)&&Boolean(t)}function v(e,t){return 0===e.lastIndexOf(t,0)}o("Kontur.UrlHelper",(function(){this.getSiteUrl=function(){return c.getSiteUrl()},this.setSiteUrl=function(e){c.setSiteUrl(e)},this.addParameter=function(e,t,n){return c.addParameter(e,t,n)},this.addParameters=function(e,t){return c.addParameters(e,t)},this.toAbsoluteUrl=function(e,t){return c.toAbsoluteUrl(e,t)},this.removeTrailingSlash=function(e){return c.removeTrailingSlash(e)},this.trimSlashes=function(e){return c.trimSlashes(e)},this.removeParameters=function(e){return c.removeParameters(e)},this.getQueryParams=function(){return c.getQueryParams()},this.isRelative=function(e){return c.isRelative(e)},this.getPath=function(e){return c.getPath(e)},this.getParameters=function(e){return c.getParameters(e)},this.getUrlParts=function(e){return c.getUrlParts(e)},this.toRelativeUrl=function(e){return c.toRelativeUrl(e)}}));function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var m=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"setCookie",value:function(e,t,n,r,i){var o=e+"="+t;if(void 0!==n){var a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3),o=o+";expires="+a.toUTCString()}void 0===r?o+=";path=/":o=o+";path="+r,void 0!==i&&(o=o+";domain="+i),document.cookie=o}},{key:"getCookie",value:function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?decodeURIComponent(t[1]):void 0}}],(n=null)&&h(t.prototype,n),r&&h(t,r),e}();function y(){var e=S();return null!==e&&(e.apply(void 0,arguments),!0)}function S(){var e=window.ga;return r(e)?e:null}function _(){return!!S()}o("Kontur.Cookie",(function(){this.setCookie=m.setCookie,this.getCookie=m.getCookie}));function g(e,t,n,r){var i={hitType:"event",eventCategory:n||"events"};return e&&(i.eventAction=e),t&&(i.eventValue=parseInt(t)||0),r&&(i.eventLabel=r),i}var E={sendEvent:function(e,t,n,r){var i=function(e,t,n,r){var i=["_trackEvent",n||"events",e];r&&i.push(r);t&&i.push(t);return i}(e,t,n,r);if(b().push(i),_()){y("send",g(e,t,n,r))}},sendPageView:function(e){if(_())y("set","page",e),y("send","pageview");else{b().push(["_trackPageview",e])}},setParameter:function(e,t){var n,i=null===(n=null===(o=window.Kontur)||void 0===o?void 0:o.GaDimensions)||void 0===n?void 0:n.getDimensions;var o;if(!i||!r(i))return;var a=$.inArray(e,i());if(-1==a)return;(S()||function(){window.console&&window.console.log&&window.console.log(arguments)})("set","dimension"+(a+1),t)}};function b(){return window._gaq=window._gaq||[]}var w,A={sendEvent:function(e,t,n,r){var i=g(null,t,n,r),o=O();o?o.reachGoal(e,i):(window.pageEvents=window.pageEvents||[],window.pageEvents.push(e))},sendPageView:function(e){var t=O();t&&t.hit(e)},getYandexCounter:O};function O(){return(w=w||function(){for(var e in window)if(window.hasOwnProperty(e)&&0===e.indexOf("yaCounter"))return e;return null}())?window[w]:null}function L(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var P,R,C,I=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"sendEvent",value:function(t,n,r,i){var o,a,s=function(e,t,n,r){var i=["trackEvent",e,t];return(r||n)&&(i.push(r),i.push(n)),i}(t||"events",n,r,i);(o=e.defaultProjectName,a="".concat(o,"Queue"),window[a]?window[a]:window[a]=[]).push(s)}}],(n=null)&&L(t.prototype,n),r&&L(t,r),e}();C="web_sites",(R="defaultProjectName")in(P=I)?Object.defineProperty(P,R,{value:C,enumerable:!0,configurable:!0,writable:!0}):P[R]=C;var T={sendPageView:function(e,t){var n=document.querySelector('[src^="//counter.yadro.ru"]');n&&(r=function(e){return e.src.match(/(\/\/counter.yadro.ru\/hit\?.*?)r/)[1]}(n)+function(e,t){var n=window.location.origin,r=window.screen,i=window.document,o="r"+window.escape(t||i.referrer),a=void 0!==r?";s"+r.width+"*"+r.height+"*"+(r.colorDepth?r.colorDepth:r.pixelDepth):"",s=";u"+window.escape(n+e),u=";"+window.Math.random();return o+a+s+u}(e,t),window.document.createElement("img").src=r);var r}};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x={sendEvent:function(e,t){M().push(D(D({},t),{},{event:e}))},pushData:function(e){if(!e)return;M().push(e)},isInStrictMode:function(){return!(!window.Kontur||!("GoogleTagManagerStrictMode"in window.Kontur))}};function M(){return window.dataLayer=window.dataLayer||[]}var j={getCleanEventName:U,getEventNameFromUrl:function(e){return e.replace(/\?.+=.+/,"").replace(/^.*:\/\/[^\/]+/,"")},initialize:function(){if(W)return;window.loadScriptAsync=function(e){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=e;var n=document.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)},window.RegisterPageEvent=B,W=!0},registerPageEvent:B,registerPageView:function(e,t){i((function(){var n;E.sendPageView(e),A.sendPageView(e),T.sendPageView(e,t),null===(n=window.console)||void 0===n||n.info("page view was registered: ".concat(e," (referrer: ").concat(t,")"))}))},setCustomParameter:function(e,t){E.setParameter(e,t)},setEventNameDecorator:function(e){r(e)&&(V=e)}},V=null;function B(e,t,n,r){i((function(){var i,o,a,s=U(e);x.isInStrictMode()?x.sendEvent(s,t):(E.sendEvent(s,t,n,r),A.sendEvent(s,t,n,r),I.sendEvent(n,s,t));var u=null===(i=window.Kontur)||void 0===i||null===(o=i.Counters)||void 0===o?void 0:o.CustomEventHandler;u&&u.sendEvent(s,t,n,r),null===(a=window.console)||void 0===a||a.info("event was registered: ".concat(s))}))}var W=!1;function U(e){var t=e.replace(/[&=?#]/g,"").replace(/(\/|-)+/g,"-").replace(/^-+|-+$/g,"");return null!=V?V(t):t}},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),i=n(22),o=n.n(i);function a(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=function(){function e(t,n,r,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"containers",void 0),l(this,"widgetApi",void 0),l(this,"onReady",void 0),l(this,"triggerAttributeSelectors",void 0),l(this,"bannerSelector",void 0),l(this,"bannerElement",void 0),l(this,"bannerSlider",null),this.settings=t,this.widgetApi=n,this.triggerAttributeSelectors=r,this.bannerSelector=i,this.dataShowEventSelectors="data-show-event"}var t,n,i;return t=e,(n=[{key:"initialize",value:function(){var e=this;if(this.containers=document.querySelectorAll(this.settings.containerSelector),this.containers&&0!==this.containers.length){this.bannerElement=document.querySelector(this.bannerSelector);var t=document.querySelectorAll(this.triggerAttributeSelectors);t.length&&t.forEach((function(t){t.addEventListener("click",(function(t){e.bannerElement&&0===e.bannerElement.children.length&&e.loadBanners()}))}))}}},{key:"loadBanners",value:function(){var e=this;this.widgetApi.fetchBanners(this.settings.productId).then((function(t){if(!t.isSuccess)return console.error("Request failed with status:",t.statusCode),void(t.error&&console.error("Error details:",t.error));e._processBanners(t),e._initializeSlider(),e._activateBanner()})).catch((function(e){console.error("Error:",e)}))}},{key:"_registerEvents",value:function(){var e=this;this.bannerElement.querySelectorAll("[".concat(this.dataShowEventSelectors,"]")).forEach((function(t){var n=t.getAttribute(e.dataShowEventSelectors);r.a.registerPageEvent(n)}))}},{key:"_initializeSlider",value:function(){var e=document.querySelector("[data-header-async-slider]");e&&(this.bannerSlider=new o.a(e))}},{key:"_activateBanner",value:function(){var e;null===(e=this.bannerElement)||void 0===e||e.classList.add("active"),document.getElementById("header-cross-products-list").style.setProperty("transform","translateX(-664px)")}},{key:"_processBanners",value:function(e){var t=this;a(this.containers).forEach((function(n){return t._insertBanner(n,e)}))}},{key:"_insertBanner",value:function(e,t){if(t&&t.body&&e){var n=this._createElementFromHtml(t.body.html);e.appendChild(n),this._registerEvents()}else console.error("Banner not inserted, error")}},{key:"_createElementFromHtml",value:function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstElementChild}}])&&u(t.prototype,n),i&&u(t,i),e}()},22:function(e,t,n){var r,i,o,a;function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}a=function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){return i(t[a][1][e]||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}Object.defineProperty(n,"__esModule",{value:!0});var i={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function o(e){e.length=0}function a(e,t,n){return Array.prototype.slice.call(e,t,n)}function u(e){return e.bind.apply(e,[null].concat(a(arguments,1)))}var l=setTimeout,c=function(){};function d(e){return requestAnimationFrame(e)}function f(e,t){return s(t)===e}function p(e){return!S(e)&&f("object",e)}var v=Array.isArray,h=u(f,"function"),m=u(f,"string"),y=u(f,"undefined");function S(e){return null===e}function _(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function g(e){return v(e)?e:[e]}function E(e,t){g(e).forEach(t)}function b(e,t){return e.indexOf(t)>-1}function w(e,t){return e.push.apply(e,g(t)),e}function A(e,t,n){e&&E(t,(function(t){t&&e.classList[n?"add":"remove"](t)}))}function O(e,t){A(e,m(t)?t.split(" "):t,!0)}function L(e,t){E(t,e.appendChild.bind(e))}function P(e,t){E(e,(function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)}))}function R(e,t){return _(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function C(e,t){var n=e?a(e.children):[];return t?n.filter((function(e){return R(e,t)})):n}function I(e,t){return t?C(e,t)[0]:e.firstElementChild}var T=Object.keys;function N(e,t,n){return e&&(n?T(e).reverse():T(e)).forEach((function(n){"__proto__"!==n&&t(e[n],n)})),e}function D(e){return a(arguments,1).forEach((function(t){N(t,(function(n,r){e[r]=t[r]}))})),e}function k(e){return a(arguments,1).forEach((function(t){N(t,(function(t,n){v(t)?e[n]=t.slice():p(t)?e[n]=k({},p(e[n])?e[n]:{},t):e[n]=t}))})),e}function x(e,t){E(t||T(e),(function(t){delete e[t]}))}function M(e,t){E(e,(function(e){E(t,(function(t){e&&e.removeAttribute(t)}))}))}function j(e,t,n){p(t)?N(t,(function(t,n){j(e,n,t)})):E(e,(function(e){S(n)||""===n?M(e,t):e.setAttribute(t,String(n))}))}function V(e,t,n){var r=document.createElement(e);return t&&(m(t)?O(r,t):j(r,t)),n&&L(n,r),r}function B(e,t,n){if(y(n))return getComputedStyle(e)[t];S(n)||(e.style[t]=""+n)}function W(e,t){B(e,"display",t)}function U(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function G(e,t){return e.getAttribute(t)}function z(e,t){return e&&e.classList.contains(t)}function K(e){return e.getBoundingClientRect()}function Y(e){E(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function F(e){return I((new DOMParser).parseFromString(e,"text/html").body)}function H(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function q(e,t){return e&&e.querySelector(t)}function X(e,t){return t?a(e.querySelectorAll(t)):[]}function $(e,t){A(e,t,!1)}function Q(e){return e.timeStamp}function Z(e){return m(e)?e:e?e+"px":""}function J(e,t){if(!e)throw new Error("[splide] "+(t||""))}var ee=Math.min,te=Math.max,ne=Math.floor,re=Math.ceil,ie=Math.abs;function oe(e,t,n){return ie(e-t)<n}function ae(e,t,n,r){var i=ee(t,n),o=te(t,n);return r?i<e&&e<o:i<=e&&e<=o}function se(e,t,n){var r=ee(t,n),i=te(t,n);return ee(te(r,e),i)}function ue(e){return+(e>0)-+(e<0)}function le(e){return e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function ce(e,t){return E(t,(function(t){e=e.replace("%s",""+t)})),e}function de(e){return e<10?"0"+e:""+e}var fe={};function pe(e){return""+e+de(fe[e]=(fe[e]||0)+1)}function ve(){var e=[];function t(e,t,n){E(e,(function(e){e&&E(t,(function(t){t.split(" ").forEach((function(t){var r=t.split(".");n(e,r[0],r[1])}))}))}))}return{bind:function(n,r,i,o){t(n,r,(function(t,n,r){var a="addEventListener"in t,s=a?t.removeEventListener.bind(t,n,i,o):t.removeListener.bind(t,i);a?t.addEventListener(n,i,o):t.addListener(i),e.push([t,n,r,i,s])}))},unbind:function(n,r,i){t(n,r,(function(t,n,r){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==r||i&&e[3]!==i)||(e[4](),!1)}))}))},dispatch:function(e,t,n){var r;return"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:!0,detail:n}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,n),e.dispatchEvent(r),r},destroy:function(){e.forEach((function(e){e[4]()})),o(e)}}}function he(e){var t=e?e.event.bus:document.createDocumentFragment(),n=ve();return e&&e.event.on("destroy",n.destroy),D(n,{bus:t,on:function(e,r){n.bind(t,g(e).join(" "),(function(e){r.apply(r,v(e.detail)?e.detail:[])}))},off:u(n.unbind,t),emit:function(e){n.dispatch(t,e,a(arguments,1))}})}function me(e,t,n,r){var i,o,a=Date.now,s=0,u=!0,l=0;function c(){if(!u){if(s=e?ee((a()-i)/e,1):1,n&&n(s),s>=1&&(t(),i=a(),r&&++l>=r))return f();o=d(c)}}function f(){u=!0}function p(){o&&cancelAnimationFrame(o),s=0,o=0,u=!0}return{start:function(t){t||p(),i=a()-(t?s*e:0),u=!1,o=d(c)},rewind:function(){i=a(),s=0,n&&n(s)},pause:f,cancel:p,set:function(t){e=t},isPaused:function(){return u}}}function ye(e){var t=e;return{set:function(e){t=e},is:function(e){return b(g(e),t)}}}function Se(e,t){var n=me(t||0,e,null,1);return function(){n.isPaused()&&n.start()}}var _e="ttb",ge={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:["ArrowUp","ArrowRight"],ArrowRight:["ArrowDown","ArrowLeft"]};function Ee(e,t,n){return{resolve:function(e,t,r){var i="rtl"!==(r=r||n.direction)||t?r===_e?0:-1:1;return ge[e]&&ge[e][i]||e.replace(/width|left|right/i,(function(e,t){var n=ge[e.toLowerCase()][i]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(e){return e*("rtl"===n.direction?1:-1)}}}var be="role",we=[be,"tabindex","disabled","aria-controls","aria-current","aria-label","aria-labelledby","aria-hidden","aria-orientation","aria-roledescription"],Ae="splide",Oe="splide__slide--clone",Le="is-active",Pe=[Le,"is-visible","is-prev","is-next","is-loading","is-focus-in","is-overflow"],Re={slide:"splide__slide",clone:Oe,arrows:"splide__arrows",arrow:"splide__arrow",prev:"splide__arrow--prev",next:"splide__arrow--next",pagination:"splide__pagination",page:"splide__pagination__page",spinner:"splide__spinner"},Ce="touchend touchcancel mouseup click",Ie="slide",Te="loop",Ne="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",De={passive:!1,capture:!0},ke={Spacebar:" ",Right:"ArrowRight",Left:"ArrowLeft",Up:"ArrowUp",Down:"ArrowDown"};function xe(e){return e=m(e)?e:e.key,ke[e]||e}var Me=[" ","Enter"],je=Object.freeze({__proto__:null,Media:function(e,t,n){var r=e.state,i=n.breakpoints||{},o=n.reducedMotion||{},a=ve(),s=[];function u(e){e&&a.destroy()}function l(e,t){var n=matchMedia(t);a.bind(n,"change",c),s.push([e,n])}function c(){var t=r.is(7),i=n.direction,o=s.reduce((function(e,t){return k(e,t[1].matches?t[0]:{})}),{});x(n),d(o),n.destroy?e.destroy("completely"===n.destroy):t?(u(!0),e.mount()):i!==n.direction&&e.refresh()}function d(t,i,o){k(n,t),i&&k(Object.getPrototypeOf(n),t),!o&&r.is(1)||e.emit("updated",n)}return{setup:function(){var e="min"===n.mediaQuery;T(i).sort((function(t,n){return e?+t-+n:+n-+t})).forEach((function(t){l(i[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),l(o,"(prefers-reduced-motion: reduce)"),c()},destroy:u,reduce:function(e){matchMedia("(prefers-reduced-motion: reduce)").matches&&(e?k(n,o):x(n,T(o)))},set:d}},Direction:Ee,Elements:function(e,t,n){var r,i,a,s=he(e),u=s.on,l=s.bind,c=e.root,d=n.i18n,f={},p=[],v=[],m=[];function y(){r=g(".splide__track"),i=I(r,".splide__list"),J(r&&i,"A track/list element is missing."),w(p,C(i,".splide__slide:not(."+Oe+")")),N({arrows:"splide__arrows",pagination:"splide__pagination",prev:"splide__arrow--prev",next:"splide__arrow--next",bar:"splide__progress__bar",toggle:"splide__toggle"},(function(e,t){f[t]=g("."+e)})),D(f,{root:c,track:r,list:i,slides:p}),function(){var e=c.id||pe("splide"),t=n.role;c.id=e,r.id=r.id||e+"-track",i.id=i.id||e+"-list",!G(c,be)&&"SECTION"!==c.tagName&&t&&j(c,be,t),j(c,"aria-roledescription",d.carousel),j(i,be,"presentation")}(),_()}function S(e){var t=we.concat("style");o(p),$(c,v),$(r,m),M([r,i],t),M(c,e?t:["style","aria-roledescription"])}function _(){$(c,v),$(r,m),v=E(Ae),m=E("splide__track"),O(c,v),O(r,m),j(c,"aria-label",n.label),j(c,"aria-labelledby",n.labelledby)}function g(e){var t=q(c,e);return t&&function(e,t){if(h(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!R(n,t);)n=n.parentElement;return n}(t,"."+Ae)===c?t:void 0}function E(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===Ae&&Le]}return D(f,{setup:y,mount:function(){u("refresh",S),u("refresh",y),u("updated",_),l(document,"touchstart mousedown keydown",(function(e){a="keydown"===e.type}),{capture:!0}),l(c,"focusin",(function(){A(c,"is-focus-in",!!a)}))},destroy:S})},Slides:function(e,t,n){var r=he(e),i=r.on,a=r.emit,s=r.bind,l=t.Elements,c=l.slides,d=l.list,f=[];function p(){c.forEach((function(e,t){y(e,t,-1)}))}function v(){w((function(e){e.destroy()})),o(f)}function y(t,n,r){var i=function(e,t,n,r){var i,o=he(e),a=o.on,s=o.emit,l=o.bind,c=e.Components,d=e.root,f=e.options,p=f.isNavigation,v=f.updateOnMove,h=f.i18n,m=f.pagination,y=f.slideFocus,S=c.Direction.resolve,_=G(r,"style"),g=G(r,"aria-label"),E=n>-1,b=I(r,".splide__slide__container");function w(){var i=e.splides.map((function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""})).join(" ");j(r,"aria-label",ce(h.slideX,(E?n:t)+1)),j(r,"aria-controls",i),j(r,be,y?"button":""),y&&M(r,"aria-roledescription")}function O(){i||L()}function L(){if(!i){var n=e.index;(o=P())!==z(r,Le)&&(A(r,Le,o),j(r,"aria-current",p&&o||""),s(o?"active":"inactive",R)),function(){var t=function(){if(e.is("fade"))return P();var t=K(c.Elements.track),n=K(r),i=S("left",!0),o=S("right",!0);return ne(t[i])<=re(n[i])&&ne(n[o])<=re(t[o])}(),n=!t&&(!P()||E);if(e.state.is([4,5])||j(r,"aria-hidden",n||""),j(X(r,f.focusableNodes||""),"tabindex",n?-1:""),y&&j(r,"tabindex",n?-1:0),t!==z(r,"is-visible")&&(A(r,"is-visible",t),s(t?"visible":"hidden",R)),!t&&document.activeElement===r){var i=c.Slides.getAt(e.index);i&&U(i.slide)}}(),A(r,"is-prev",t===n-1),A(r,"is-next",t===n+1)}var o}function P(){var r=e.index;return r===t||f.cloneStatus&&r===n}var R={index:t,slideIndex:n,slide:r,container:b,isClone:E,mount:function(){E||(r.id=d.id+"-slide"+de(t+1),j(r,be,m?"tabpanel":"group"),j(r,"aria-roledescription",h.slide),j(r,"aria-label",g||ce(h.slideLabel,[t+1,e.length]))),l(r,"click",u(s,"click",R)),l(r,"keydown",u(s,"sk",R)),a(["moved","sh","scrolled"],L),a("navigation:mounted",w),v&&a("move",O)},destroy:function(){i=!0,o.destroy(),$(r,Pe),M(r,we),j(r,"style",_),j(r,"aria-label",g||"")},update:L,style:function(e,t,n){B(n&&b||r,e,t)},isWithin:function(n,r){var i=ie(n-t);return E||!f.rewind&&!e.is(Te)||(i=ee(i,e.length-i)),i<=r}};return R}(e,n,r,t);i.mount(),f.push(i),f.sort((function(e,t){return e.index-t.index}))}function S(e){return e?C((function(e){return!e.isClone})):f}function w(e,t){S(t).forEach(e)}function C(e){return f.filter(h(e)?e:function(t){return m(e)?R(t.slide,e):b(g(e),t.index)})}return{mount:function(){p(),i("refresh",v),i("refresh",p)},destroy:v,update:function(){w((function(e){e.update()}))},register:y,get:S,getIn:function(e){var r=t.Controller,i=r.toIndex(e),o=r.hasFocus()?1:n.perPage;return C((function(e){return ae(e.index,i,i+o-1)}))},getAt:function(e){return C(e)[0]},add:function(e,t){E(e,(function(e){if(m(e)&&(e=F(e)),_(e)){var r=c[t];r?P(e,r):L(d,e),O(e,n.classes.slide),i=e,o=u(a,"resize"),l=X(i,"img"),(f=l.length)?l.forEach((function(e){s(e,"load error",(function(){--f||o()}))})):o()}var i,o,l,f})),a("refresh")},remove:function(e){Y(C(e).map((function(e){return e.slide}))),a("refresh")},forEach:w,filter:C,style:function(e,t,n){w((function(r){r.style(e,t,n)}))},getLength:function(e){return e?c.length:f.length},isEnough:function(){return f.length>n.perPage}}},Layout:function(e,t,n){var r,i,o,a=he(e),s=a.on,l=a.bind,c=a.emit,d=t.Slides,f=t.Direction.resolve,v=t.Elements,h=v.root,m=v.track,y=v.list,S=d.getAt,_=d.style;function g(){r=n.direction===_e,B(h,"maxWidth",Z(n.width)),B(m,f("paddingLeft"),b(!1)),B(m,f("paddingRight"),b(!0)),E(!0)}function E(e){var t=K(h);(e||i.width!==t.width||i.height!==t.height)&&(B(m,"height",function(){var e="";return r&&(J(e=w(),"height or heightRatio is missing."),e="calc("+e+" - "+b(!1)+" - "+b(!0)+")"),e}()),_(f("marginRight"),Z(n.gap)),_("width",n.autoWidth?null:Z(n.fixedWidth)||(r?"":O())),_("height",Z(n.fixedHeight)||(r?n.autoHeight?null:O():w()),!0),i=t,c("resized"),o!==(o=T())&&(A(h,"is-overflow",o),c("overflow",o)))}function b(e){var t=n.padding,r=f(e?"right":"left");return t&&Z(t[r]||(p(t)?0:t))||"0px"}function w(){return Z(n.height||K(y).width*n.heightRatio)}function O(){var e=Z(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function L(){return K(y)[f("width")]}function P(e,t){var n=S(e||0);return n?K(n.slide)[f("width")]+(t?0:I()):0}function R(e,t){var n=S(e);if(n){var r=K(n.slide)[f("right")],i=K(y)[f("left")];return ie(r-i)+(t?0:I())}return 0}function C(t){return R(e.length-1)-R(0)+P(0,t)}function I(){var e=S(0);return e&&parseFloat(B(e.slide,f("marginRight")))||0}function T(){return e.is("fade")||C(!0)>L()}return{mount:function(){g(),l(window,"resize load",Se(u(c,"resize"))),s(["updated","refresh"],g),s("resize",E)},resize:E,listSize:L,slideSize:P,sliderSize:C,totalSize:R,getPadding:function(e){return parseFloat(B(m,f("padding"+(e?"Right":"Left"))))||0},isOverflow:T}},Clones:function(e,t,n){var r,i=he(e),a=i.on,s=t.Elements,u=t.Slides,l=t.Direction.resolve,c=[];function d(){a("refresh",f),a(["updated","resize"],v),(r=h())&&(function(t){var r=u.get().slice(),i=r.length;if(i){for(;r.length<t;)w(r,r);w(r.slice(-t),r.slice(0,t)).forEach((function(o,a){var l=a<t,d=function(t,r){var i=t.cloneNode(!0);return O(i,n.classes.clone),i.id=e.root.id+"-clone"+de(r+1),i}(o.slide,a);l?P(d,r[0].slide):L(s.list,d),w(c,d),u.register(d,a-t+(l?0:i),o.index)}))}}(r),t.Layout.resize(!0))}function f(){p(),d()}function p(){Y(c),o(c),i.destroy()}function v(){var e=h();r!==e&&(r<e||!e)&&i.emit("refresh")}function h(){var r=n.clones;if(e.is(Te)){if(y(r)){var i=n[l("fixedWidth")]&&t.Layout.slideSize(0);r=i&&re(K(s.track)[l("width")]/i)||n[l("autoWidth")]&&e.length||2*n.perPage}}else r=0;return r}return{mount:d,destroy:p}},Move:function(e,t,n){var r,i=he(e),o=i.on,a=i.emit,s=e.state.set,u=t.Layout,l=u.slideSize,c=u.getPadding,d=u.totalSize,f=u.listSize,p=u.sliderSize,v=t.Direction,h=v.resolve,m=v.orient,S=t.Elements,_=S.list,g=S.track;function E(){t.Controller.isBusy()||(t.Scroll.cancel(),b(e.index),t.Slides.update())}function b(e){w(P(e,!0))}function w(n,r){if(!e.is("fade")){var i=r?n:function(n){if(e.is(Te)){var r=L(n),i=r>t.Controller.getEnd();(r<0||i)&&(n=A(n,i))}return n}(n);B(_,"transform","translate"+h("X")+"("+i+"px)"),n!==i&&a("sh")}}function A(e,t){var n=e-C(t),r=p();return e-m(r*(re(ie(n)/r)||1))*(t?1:-1)}function O(){w(R(),!0),r.cancel()}function L(e){for(var n=t.Slides.get(),r=0,i=1/0,o=0;o<n.length;o++){var a=n[o].index,s=ie(P(a,!0)-e);if(!(s<=i))break;i=s,r=a}return r}function P(t,r){var i=m(d(t-1)-function(e){var t=n.focus;return"center"===t?(f()-l(e,!0))/2:+t*l(e)||0}(t));return r?function(t){return n.trimSpace&&e.is(Ie)&&(t=se(t,0,m(p(!0)-f()))),t}(i):i}function R(){var e=h("left");return K(_)[e]-K(g)[e]+m(c(!1))}function C(e){return P(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){r=t.Transition,o(["mounted","resized","updated","refresh"],E)},move:function(e,t,n,i){var o,u;e!==t&&(o=e>n,u=m(A(R(),o)),o?u>=0:u<=_[h("scrollWidth")]-K(g)[h("width")])&&(O(),w(A(R(),e>n),!0)),s(4),a("move",t,n,e),r.start(t,(function(){s(3),a("moved",t,n,e),i&&i()}))},jump:b,translate:w,shift:A,cancel:O,toIndex:L,toPosition:P,getPosition:R,getLimit:C,exceededLimit:function(e,t){t=y(t)?R():t;var n=!0!==e&&m(t)<m(C(!1)),r=!1!==e&&m(t)>m(C(!0));return n||r},reposition:E}},Controller:function(e,t,n){var r,i,o,a,s=he(e),l=s.on,c=s.emit,d=t.Move,f=d.getPosition,p=d.getLimit,v=d.toPosition,h=t.Slides,S=h.isEnough,_=h.getLength,g=n.omitEnd,E=e.is(Te),b=e.is(Ie),w=u(C,!1),A=u(C,!0),O=n.start||0,L=O;function P(){i=_(!0),o=n.perMove,a=n.perPage,r=N();var e=se(O,0,g?r:i-1);e!==O&&(O=e,d.reposition())}function R(){r!==N()&&c("ei")}function C(e,t){var n=o||(M()?1:a),i=I(O+n*(e?-1:1),O,!(o||M()));return-1===i&&b&&!oe(f(),p(!e),1)?e?0:r:t?i:T(i)}function I(t,s,u){if(S()||M()){var l=function(t){if(b&&"move"===n.trimSpace&&t!==O)for(var r=f();r===v(t,!0)&&ae(t,0,e.length-1,!n.rewind);)t<O?--t:++t;return t}(t);l!==t&&(s=t,t=l,u=!1),t<0||t>r?t=o||!ae(0,t,s,!0)&&!ae(r,s,t,!0)?E?u?t<0?-(i%a||a):i:t:n.rewind?t<0?r:0:-1:D(k(t)):u&&t!==s&&(t=D(k(s)+(t<s?-1:1)))}else t=-1;return t}function T(e){return E?(e+i)%i||0:e}function N(){for(var e=i-(M()||E&&o?1:a);g&&e-- >0;)if(v(i-1,!0)!==v(e,!0)){e++;break}return se(e,0,i-1)}function D(e){return se(M()?e:a*e,0,r)}function k(e){return M()?ee(e,r):ne((e>=r?i-1:e)/a)}function x(e){e!==O&&(L=O,O=e)}function M(){return!y(n.focus)||n.isNavigation}function j(){return e.state.is([4,5])&&!!n.waitForTransition}return{mount:function(){P(),l(["updated","refresh","ei"],P),l("resized",R)},go:function(e,t,n){if(!j()){var i=function(e){var t=O;if(m(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],i=n[1],o=n[2];"+"===i||"-"===i?t=I(O+ +(""+i+(+o||1)),O):">"===i?t=o?D(+o):w(!0):"<"===i&&(t=A(!0))}else t=E?e:se(e,0,r);return t}(e),o=T(i);o>-1&&(t||o!==O)&&(x(o),d.move(i,o,L,n))}},scroll:function(e,n,i,o){t.Scroll.scroll(e,n,i,(function(){var e=T(d.toIndex(f()));x(g?ee(e,r):e),o&&o()}))},getNext:w,getPrev:A,getAdjacent:C,getEnd:N,setIndex:x,getIndex:function(e){return e?L:O},toIndex:D,toPage:k,toDest:function(e){var t=d.toIndex(e);return b?se(t,0,r):t},hasFocus:M,isBusy:j}},Arrows:function(e,t,n){var r,i,o=he(e),a=o.on,s=o.bind,l=o.emit,c=n.classes,d=n.i18n,f=t.Elements,p=t.Controller,v=f.arrows,h=f.track,m=v,y=f.prev,S=f.next,_={};function g(){!function(){var e=n.arrows;!e||y&&S||(m=v||V("div",c.arrows),y=A(!0),S=A(!1),r=!0,L(m,[y,S]),!v&&P(m,h)),y&&S&&(D(_,{prev:y,next:S}),W(m,e?"":"none"),O(m,i="splide__arrows--"+n.direction),e&&(a(["mounted","moved","refresh","scrolled","ei"],R),s(S,"click",u(w,">")),s(y,"click",u(w,"<")),R(),j([y,S],"aria-controls",h.id),l("arrows:mounted",y,S)))}(),a("updated",E)}function E(){b(),g()}function b(){o.destroy(),$(m,i),r?(Y(v?[y,S]:m),y=S=null):M([y,S],we)}function w(e){p.go(e,!0)}function A(e){return F('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||Ne)+'" />')}function R(){if(y&&S){var t=e.index,n=p.getPrev(),r=p.getNext(),i=n>-1&&t<n?d.last:d.prev,o=r>-1&&t>r?d.first:d.next;y.disabled=n<0,S.disabled=r<0,j(y,"aria-label",i),j(S,"aria-label",o),l("arrows:updated",y,S,n,r)}}return{arrows:_,mount:g,destroy:b,update:R}},Autoplay:function(e,t,n){var r,i,o=he(e),a=o.on,s=o.bind,u=o.emit,l=me(n.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&B(t,"width",100*e+"%"),u("autoplay:playing",e)})),c=l.isPaused,d=t.Elements,f=t.Elements,p=f.root,v=f.toggle,h=n.autoplay,m="pause"===h;function y(){c()&&t.Slides.isEnough()&&(l.start(!n.resetProgress),i=r=m=!1,g(),u("autoplay:play"))}function S(e){void 0===e&&(e=!0),m=!!e,g(),c()||(l.pause(),u("autoplay:pause"))}function _(){m||(r||i?S(!1):y())}function g(){v&&(A(v,Le,!m),j(v,"aria-label",n.i18n[m?"play":"pause"]))}function E(e){var r=t.Slides.getAt(e);l.set(r&&+G(r.slide,"data-splide-interval")||n.interval)}return{mount:function(){h&&(n.pauseOnHover&&s(p,"mouseenter mouseleave",(function(e){r="mouseenter"===e.type,_()})),n.pauseOnFocus&&s(p,"focusin focusout",(function(e){i="focusin"===e.type,_()})),v&&s(v,"click",(function(){m?y():S(!0)})),a(["move","scroll","refresh"],l.rewind),a("move",E),v&&j(v,"aria-controls",d.track.id),m||y(),g())},destroy:l.cancel,play:y,pause:S,isPaused:c}},Cover:function(e,t,n){var r=he(e).on;function i(e){t.Slides.forEach((function(t){var n=I(t.container||t.slide,"img");n&&n.src&&o(e,n,t)}))}function o(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),W(t,e?"none":"")}return{mount:function(){n.cover&&(r("lazyload:loaded",u(o,!0)),r(["mounted","updated","refresh"],u(i,!0)))},destroy:u(i,!1)}},Scroll:function(e,t,n){var r,i,o=he(e),a=o.on,s=o.emit,l=e.state.set,c=t.Move,d=c.getPosition,f=c.getLimit,p=c.exceededLimit,v=c.translate,h=e.is(Ie),m=1;function y(e,n,o,a,f){var v=d();if(g(),o&&(!h||!p())){var y=t.Layout.sliderSize(),E=ue(e)*y*ne(ie(e)/y)||0;e=c.toPosition(t.Controller.toDest(e%y))+E}var b=oe(v,e,1);m=1,n=b?0:n||te(ie(e-v)/1.5,800),i=a,r=me(n,S,u(_,v,e,f),1),l(5),s("scroll"),r.start()}function S(){l(3),i&&i(),s("scrolled")}function _(e,t,r,o){var a,s,u=d(),l=(e+(t-e)*(a=o,(s=n.easingFunc)?s(a):1-Math.pow(1-a,4))-u)*m;v(u+l),h&&!r&&p()&&(m*=.6,ie(l)<10&&y(f(p(!0)),600,!1,i,!0))}function g(){r&&r.cancel()}function E(){r&&!r.isPaused()&&(g(),S())}return{mount:function(){a("move",g),a(["updated","refresh"],E)},destroy:g,scroll:y,cancel:E}},Drag:function(e,t,n){var r,i,o,a,s,u,l,d,f=he(e),v=f.on,h=f.emit,m=f.bind,y=f.unbind,S=e.state,_=t.Move,g=t.Scroll,E=t.Controller,b=t.Elements.track,w=t.Media.reduce,A=t.Direction,O=A.resolve,L=A.orient,P=_.getPosition,C=_.exceededLimit,I=!1;function T(){var e=n.drag;G(!e),a="free"===e}function N(e){if(u=!1,!l){var t=U(e);r=e.target,i=n.noDrag,R(r,".splide__pagination__page, .splide__arrow")||i&&R(r,i)||!t&&e.button||(E.isBusy()?H(e,!0):(d=t?b:window,s=S.is([4,5]),o=null,m(d,"touchmove mousemove",D,De),m(d,Ce,k,De),_.cancel(),g.cancel(),M(e)))}var r,i}function D(t){if(S.is(6)||(S.set(6),h("drag")),t.cancelable)if(s){_.translate(r+j(t)/(I&&e.is(Ie)?5:1));var i=V(t)>200,o=I!==(I=C());(i||o)&&M(t),u=!0,h("dragging"),H(t)}else(function(e){return ie(j(e))>ie(j(e,!0))})(t)&&(s=function(e){var t=n.dragMinThreshold,r=p(t),i=r&&t.mouse||0,o=(r?t.touch:+t)||10;return ie(j(e))>(U(e)?o:i)}(t),H(t))}function k(r){S.is(6)&&(S.set(3),h("dragged")),s&&(function(r){var i=function(t){if(e.is(Te)||!I){var n=V(t);if(n&&n<200)return j(t)/n}return 0}(r),o=function(e){return P()+ue(e)*ee(ie(e)*(n.flickPower||600),a?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(i),s=n.rewind&&n.rewindByDrag;w(!1),a?E.scroll(o,0,n.snap):e.is("fade")?E.go(L(ue(i))<0?s?"<":"-":s?">":"+"):e.is(Ie)&&I&&s?E.go(C(!0)?">":"<"):E.go(E.toDest(o),!0),w(!0)}(r),H(r)),y(d,"touchmove mousemove",D),y(d,Ce,k),s=!1}function x(e){!l&&u&&H(e,!0)}function M(e){o=i,i=e,r=P()}function j(e,t){return W(e,t)-W(B(e),t)}function V(e){return Q(e)-Q(B(e))}function B(e){return i===e&&o||i}function W(e,t){return(U(e)?e.changedTouches[0]:e)["page"+O(t?"Y":"X")]}function U(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function G(e){l=e}return{mount:function(){m(b,"touchmove mousemove",c,De),m(b,Ce,c,De),m(b,"touchstart mousedown",N,De),m(b,"click",x,{capture:!0}),m(b,"dragstart",H),v(["mounted","updated"],T)},disable:G,isDragging:function(){return s}}},Keyboard:function(e,t,n){var r,i,o=he(e),a=o.on,s=o.bind,u=o.unbind,c=e.root,d=t.Direction.resolve;function f(){var e=n.keyboard;e&&(r="global"===e?window:c,s(r,"keydown",h))}function p(){u(r,"keydown")}function v(){var e=i;i=!0,l((function(){i=e}))}function h(t){if(!i){var n=xe(t);n===d("ArrowLeft")?e.go("<"):n===d("ArrowRight")&&e.go(">")}}return{mount:function(){f(),a("updated",p),a("updated",f),a("move",v)},destroy:p,disable:function(e){i=e}}},LazyLoad:function(e,t,n){var r=he(e),i=r.on,a=r.off,s=r.bind,l=r.emit,c="sequential"===n.lazyLoad,d=["moved","scrolled"],f=[];function p(){o(f),t.Slides.forEach((function(e){X(e.slide,"[data-splide-lazy], [data-splide-lazy-srcset]").forEach((function(t){var r=G(t,"data-splide-lazy"),i=G(t,"data-splide-lazy-srcset");if(r!==t.src||i!==t.srcset){var o=n.classes.spinner,a=t.parentElement,s=I(a,"."+o)||V("span",o,a);f.push([t,e,s]),t.src||W(t,"none")}}))})),c?y():(a(d),i(d,v),v())}function v(){(f=f.filter((function(t){var r=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,r)||h(t)}))).length||a(d)}function h(e){var t=e[0];O(e[1].slide,"is-loading"),s(t,"load error",u(m,e)),j(t,"src",G(t,"data-splide-lazy")),j(t,"srcset",G(t,"data-splide-lazy-srcset")),M(t,"data-splide-lazy"),M(t,"data-splide-lazy-srcset")}function m(e,t){var n=e[0],r=e[1];$(r.slide,"is-loading"),"error"!==t.type&&(Y(e[2]),W(n,""),l("lazyload:loaded",n,r),l("resize")),c&&y()}function y(){f.length&&h(f.shift())}return{mount:function(){n.lazyLoad&&(p(),i("refresh",p))},destroy:u(o,f),check:v}},Pagination:function(e,t,n){var r,i,s=he(e),l=s.on,c=s.emit,d=s.bind,f=t.Slides,p=t.Elements,v=t.Controller,h=v.hasFocus,m=v.getIndex,y=v.go,S=t.Direction.resolve,_=p.pagination,g=[];function E(){r&&(Y(_?a(r.children):r),$(r,i),o(g),r=null),s.destroy()}function b(e){y(">"+e,!0)}function w(e,t){var n=g.length,r=xe(t),i=A(),o=-1;r===S("ArrowRight",!1,i)?o=++e%n:r===S("ArrowLeft",!1,i)?o=(--e+n)%n:"Home"===r?o=0:"End"===r&&(o=n-1);var a=g[o];a&&(U(a.button),y(">"+o),H(t,!0))}function A(){return n.paginationDirection||n.direction}function L(e){return g[v.toPage(e)]}function P(){var e=L(m(!0)),t=L(m());if(e){var n=e.button;$(n,Le),M(n,"aria-selected"),j(n,"tabindex",-1)}if(t){var i=t.button;O(i,Le),j(i,"aria-selected",!0),j(i,"tabindex","")}c("pagination:updated",{list:r,items:g},e,t)}return{items:g,mount:function t(){E(),l(["updated","refresh","ei"],t);var o=n.pagination;_&&W(_,o?"":"none"),o&&(l(["move","scroll","scrolled"],P),function(){var t=e.length,o=n.classes,a=n.i18n,s=n.perPage,l=h()?v.getEnd()+1:re(t/s);O(r=_||V("ul",o.pagination,p.track.parentElement),i="splide__pagination--"+A()),j(r,be,"tablist"),j(r,"aria-label",a.select),j(r,"aria-orientation",A()===_e?"vertical":"");for(var c=0;c<l;c++){var m=V("li",null,r),y=V("button",{class:o.page,type:"button"},m),S=f.getIn(c).map((function(e){return e.slide.id})),E=!h()&&s>1?a.pageX:a.slideX;d(y,"click",u(b,c)),n.paginationKeyboard&&d(y,"keydown",u(w,c)),j(m,be,"presentation"),j(y,be,"tab"),j(y,"aria-controls",S.join(" ")),j(y,"aria-label",ce(E,c+1)),j(y,"tabindex",-1),g.push({li:m,button:y,page:c})}}(),P(),c("pagination:mounted",{list:r,items:g},L(e.index)))},destroy:E,getAt:L,update:P}},Sync:function(e,t,n){var r=n.isNavigation,i=n.slideFocus,a=[];function s(){var t,n;e.splides.forEach((function(t){t.isParent||(c(e,t.splide),c(t.splide,e))})),r&&((n=(t=he(e)).on)("click",f),n("sk",p),n(["mounted","updated"],d),a.push(t),t.emit("navigation:mounted",e.splides))}function l(){a.forEach((function(e){e.destroy()})),o(a)}function c(e,t){var n=he(e);n.on("move",(function(e,n,r){t.go(t.is(Te)?r:e)})),a.push(n)}function d(){j(t.Elements.list,"aria-orientation",n.direction===_e?"vertical":"")}function f(t){e.go(t.index)}function p(e,t){b(Me,xe(t))&&(f(e),H(t))}return{setup:u(t.Media.set,{slideFocus:y(i)?r:i},!0),mount:s,destroy:l,remount:function(){l(),s()}}},Wheel:function(e,t,n){var r=he(e).bind,i=0;function o(r){if(r.cancelable){var o=r.deltaY,a=o<0,s=Q(r),u=n.wheelMinThreshold||0,l=n.wheelSleep||0;ie(o)>u&&s-i>l&&(e.go(a?"<":">"),i=s),function(r){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(r)}(a)&&H(r)}}return{mount:function(){n.wheel&&r(t.Elements.track,"wheel",o,De)}}},Live:function(e,t,n){var r=he(e).on,i=t.Elements.track,o=n.live&&!n.isNavigation,a=V("span","splide__sr"),s=me(90,u(l,!1));function l(e){j(i,"aria-busy",e),e?(L(i,a),s.start()):(Y(a),s.cancel())}function c(e){o&&j(i,"aria-live",e?"off":"polite")}return{mount:function(){o&&(c(!t.Autoplay.isPaused()),j(i,"aria-atomic",!0),a.textContent="…",r("autoplay:play",u(c,!0)),r("autoplay:pause",u(c,!1)),r(["moved","scrolled"],u(l,!0)))},disable:c,destroy:function(){M(i,["aria-live","aria-atomic","aria-busy"]),Y(a)}}}}),Ve={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:Re,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Be(e,t,n){var r=t.Slides;function i(){r.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){he(e).on(["mounted","refresh"],i)},start:function(e,t){r.style("transition","opacity "+n.speed+"ms "+n.easing),l(t)},cancel:c}}function We(e,t,n){var r,i=t.Move,o=t.Controller,a=t.Scroll,s=t.Elements.list,l=u(B,s,"transition");function c(){l(""),a.cancel()}return{mount:function(){he(e).bind(s,"transitionend",(function(e){e.target===s&&r&&(c(),r())}))},start:function(t,s){var u=i.toPosition(t,!0),c=i.getPosition(),d=function(t){var r=n.rewindSpeed;if(e.is(Ie)&&r){var i=o.getIndex(!0),a=o.getEnd();if(0===i&&t>=a||i>=a&&0===t)return r}return n.speed}(t);ie(u-c)>=1&&d>=1?n.useScroll?a.scroll(u,d,!1,s):(l("transform "+d+"ms "+n.easing),i.translate(u,!0),r=s):(i.jump(t),s())},cancel:c}}var Ue=function(){function e(t,n){this.event=he(),this.Components={},this.state=ye(1),this.splides=[],this._o={},this._E={};var r=m(t)?q(document,t):t;J(r,r+" is invalid."),this.root=r,n=k({label:G(r,"aria-label")||"",labelledby:G(r,"aria-labelledby")||""},Ve,e.defaults,n||{});try{k(n,JSON.parse(G(r,"data-splide")))}catch(e){J(!1,"Invalid JSON")}this._o=Object.create(k({},n))}var t=e.prototype;return t.mount=function(e,t){var n=this,r=this.state,i=this.Components;return J(r.is([1,7]),"Already mounted!"),r.set(1),this._C=i,this._T=t||this._T||(this.is("fade")?Be:We),this._E=e||this._E,N(D({},je,this._E,{Transition:this._T}),(function(e,t){var r=e(n,i,n._o);i[t]=r,r.setup&&r.setup()})),N(i,(function(e){e.mount&&e.mount()})),this.emit("mounted"),O(this.root,"is-initialized"),r.set(3),this.emit("ready"),this},t.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},t.go=function(e){return this._C.Controller.go(e),this},t.on=function(e,t){return this.event.on(e,t),this},t.off=function(e){return this.event.off(e),this},t.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(a(arguments,1))),this},t.add=function(e,t){return this._C.Slides.add(e,t),this},t.remove=function(e){return this._C.Slides.remove(e),this},t.is=function(e){return this._o.type===e},t.refresh=function(){return this.emit("refresh"),this},t.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?he(this).on("ready",this.destroy.bind(this,e)):(N(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit("destroy"),t.destroy(),e&&o(this.splides),n.set(7)),this},function(e,t,n){t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(e,[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}]),e}();Ue.defaults={},Ue.STATES=i;var Ge={listTag:"ul",slideTag:"li"},ze=function(){function e(e,t){this.styles={},this.id=e,this.options=t}var t=e.prototype;return t.rule=function(e,t,n,r){r=r||"default";var i=this.styles[r]=this.styles[r]||{};(i[e]=i[e]||{})[t]=n},t.build=function(){var e=this,t="";return this.styles.default&&(t+=this.buildSelectors(this.styles.default)),Object.keys(this.styles).sort((function(t,n){return"min"===e.options.mediaQuery?+t-+n:+n-+t})).forEach((function(n){"default"!==n&&(t+="@media screen and (max-width: "+n+"px) {",t+=e.buildSelectors(e.styles[n]),t+="}")})),t},t.buildSelectors=function(e){var t=this,n="";return N(e,(function(e,r){r=("#"+t.id+" "+r).trim(),n+=r+" {",N(e,(function(e,t){(e||0===e)&&(n+=t+": "+e+";")})),n+="}"})),n},e}(),Ke=function(){function e(e,t,n,r){this.slides=[],this.options={},this.breakpoints=[],k(Ve,r||{}),k(k(this.options,Ve),t||{}),this.contents=e,this.config=D({},Ge,n||{}),this.id=this.config.id||pe("splide"),this.Style=new ze(this.id,this.options),this.Direction=Ee(0,0,this.options),J(this.contents.length,"Provide at least 1 content."),this.init()}e.clean=function(e){var t=he(e).on,n=e.root,r=X(n,"."+Oe);t("mounted",(function(){Y(I(n,"style"))})),Y(r)};var t=e.prototype;return t.init=function(){this.parseBreakpoints(),this.initSlides(),this.registerRootStyles(),this.registerTrackStyles(),this.registerSlideStyles(),this.registerListStyles()},t.initSlides=function(){var e=this;w(this.slides,this.contents.map((function(t,n){(t=m(t)?{html:t}:t).styles=t.styles||{},t.attrs=t.attrs||{},e.cover(t);var r=e.options.classes.slide+" "+(0===n?Le:"");return D(t.attrs,{class:(r+" "+(t.attrs.class||"")).trim(),style:e.buildStyles(t.styles)}),t}))),this.isLoop()&&this.generateClones(this.slides)},t.registerRootStyles=function(){var e=this;this.breakpoints.forEach((function(t){var n=t[0],r=t[1];e.Style.rule(" ","max-width",Z(r.width),n)}))},t.registerTrackStyles=function(){var e=this,t=this.Style,n=".splide__track";this.breakpoints.forEach((function(r){var i=r[0],o=r[1];t.rule(n,e.resolve("paddingLeft"),e.cssPadding(o,!1),i),t.rule(n,e.resolve("paddingRight"),e.cssPadding(o,!0),i),t.rule(n,"height",e.cssTrackHeight(o),i)}))},t.registerListStyles=function(){var e=this,t=this.Style,n=".splide__list";this.breakpoints.forEach((function(r){var i=r[0],o=r[1];t.rule(n,"transform",e.buildTranslate(o),i),e.cssSlideHeight(o)||t.rule(n,"aspect-ratio",e.cssAspectRatio(o),i)}))},t.registerSlideStyles=function(){var e=this,t=this.Style,n=".splide__slide";this.breakpoints.forEach((function(r){var i=r[0],o=r[1];t.rule(n,"width",e.cssSlideWidth(o),i),t.rule(n,"height",e.cssSlideHeight(o)||"100%",i),t.rule(n,e.resolve("marginRight"),Z(o.gap)||"0px",i),t.rule(n+" > img","display",o.cover?"none":"inline",i)}))},t.buildTranslate=function(e){var t=this.Direction,n=t.resolve,r=t.orient,i=[];return i.push(this.cssOffsetClones(e)),i.push(this.cssOffsetGaps(e)),this.isCenter(e)&&(i.push(this.buildCssValue(r(-50),"%")),i.push.apply(i,this.cssOffsetCenter(e))),i.filter(Boolean).map((function(e){return"translate"+n("X")+"("+e+")"})).join(" ")},t.cssOffsetClones=function(e){var t=this.Direction,n=t.resolve,r=t.orient,i=this.getCloneCount();if(this.isFixedWidth(e)){var o=this.parseCssValue(e[n("fixedWidth")]),a=o.value,s=o.unit;return this.buildCssValue(r(a)*i,s)}return r(100*i/e.perPage)+"%"},t.cssOffsetCenter=function(e){var t=this.Direction,n=t.resolve,r=t.orient;if(this.isFixedWidth(e)){var i=this.parseCssValue(e[n("fixedWidth")]),o=i.value,a=i.unit;return[this.buildCssValue(r(o/2),a)]}var s=[],u=e.perPage,l=e.gap;if(s.push(r(50/u)+"%"),l){var c=this.parseCssValue(l),d=c.value,f=c.unit,p=(d/u-d)/2;s.push(this.buildCssValue(r(p),f))}return s},t.cssOffsetGaps=function(e){var t=this.getCloneCount();if(t&&e.gap){var n=this.Direction.orient,r=this.parseCssValue(e.gap),i=r.value,o=r.unit;if(this.isFixedWidth(e))return this.buildCssValue(n(i*t),o);var a=t/e.perPage;return this.buildCssValue(n(a*i),o)}return""},t.resolve=function(e){return le(this.Direction.resolve(e))},t.cssPadding=function(e,t){var n=e.padding,r=this.Direction.resolve(t?"right":"left",!0);return n&&Z(n[r]||(p(n)?0:n))||"0px"},t.cssTrackHeight=function(e){var t="";return this.isVertical()&&(J(t=this.cssHeight(e),'"height" is missing.'),t="calc("+t+" - "+this.cssPadding(e,!1)+" - "+this.cssPadding(e,!0)+")"),t},t.cssHeight=function(e){return Z(e.height)},t.cssSlideWidth=function(e){return e.autoWidth?"":Z(e.fixedWidth)||(this.isVertical()?"":this.cssSlideSize(e))},t.cssSlideHeight=function(e){return Z(e.fixedHeight)||(this.isVertical()?e.autoHeight?"":this.cssSlideSize(e):this.cssHeight(e))},t.cssSlideSize=function(e){var t=Z(e.gap);return"calc((100%"+(t&&" + "+t)+")/"+(e.perPage||1)+(t&&" - "+t)+")"},t.cssAspectRatio=function(e){var t=e.heightRatio;return t?""+1/t:""},t.buildCssValue=function(e,t){return""+e+t},t.parseCssValue=function(e){return m(e)?{value:parseFloat(e)||0,unit:e.replace(/\d*(\.\d*)?/,"")||"px"}:{value:e,unit:"px"}},t.parseBreakpoints=function(){var e=this,t=this.options.breakpoints;this.breakpoints.push(["default",this.options]),t&&N(t,(function(t,n){e.breakpoints.push([n,k(k({},e.options),t)])}))},t.isFixedWidth=function(e){return!!e[this.Direction.resolve("fixedWidth")]},t.isLoop=function(){return this.options.type===Te},t.isCenter=function(e){if("center"===e.focus){if(this.isLoop())return!0;if(this.options.type===Ie)return!this.options.trimSpace}return!1},t.isVertical=function(){return this.options.direction===_e},t.buildClasses=function(){var e=this.options;return[Ae,Ae+"--"+e.type,Ae+"--"+e.direction,e.drag&&Ae+"--draggable",e.isNavigation&&Ae+"--nav",Le,!this.config.hidden&&"is-rendered"].filter(Boolean).join(" ")},t.buildAttrs=function(e){var t="";return N(e,(function(e,n){t+=e?" "+le(n)+'="'+e+'"':""})),t.trim()},t.buildStyles=function(e){var t="";return N(e,(function(e,n){t+=" "+le(n)+":"+e+";"})),t.trim()},t.renderSlides=function(){var e=this,t=this.config.slideTag;return this.slides.map((function(n){return"<"+t+" "+e.buildAttrs(n.attrs)+">"+(n.html||"")+"</"+t+">"})).join("")},t.cover=function(e){var t=e.styles,n=e.html,r=void 0===n?"":n;if(this.options.cover&&!this.options.lazyLoad){var i=r.match(/<img.*?src\s*=\s*(['"])(.+?)\1.*?>/);i&&i[2]&&(t.background="center/cover no-repeat url('"+i[2]+"')")}},t.generateClones=function(e){for(var t=this.options.classes,n=this.getCloneCount(),r=e.slice();r.length<n;)w(r,r);w(r.slice(-n).reverse(),r.slice(0,n)).forEach((function(r,i){var o=D({},r.attrs,{class:r.attrs.class+" "+t.clone}),a=D({},r,{attrs:o});i<n?e.unshift(a):e.push(a)}))},t.getCloneCount=function(){if(this.isLoop()){var e=this.options;return e.clones?e.clones:te.apply(void 0,this.breakpoints.map((function(e){return e[1].perPage})))*((e.flickMaxPages||1)+1)}return 0},t.renderArrows=function(){var e="";return e+='<div class="'+this.options.classes.arrows+'">',e+=this.renderArrow(!0),(e+=this.renderArrow(!1))+"</div>"},t.renderArrow=function(e){var t=this.options,n=t.classes,r=t.i18n,i={class:n.arrow+" "+(e?n.prev:n.next),type:"button",ariaLabel:e?r.prev:r.next};return"<button "+this.buildAttrs(i)+'><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40"><path d="'+(this.options.arrowPath||Ne)+'" /></svg></button>'},t.html=function(){var e=this.config,t=e.rootClass,n=e.listTag,r=e.arrows,i=e.beforeTrack,o=e.afterTrack,a=e.slider,s=e.beforeSlider,u=e.afterSlider,l="";return l+='<div id="'+this.id+'" class="'+this.buildClasses()+" "+(t||"")+'">',l+="<style>"+this.Style.build()+"</style>",a&&(l+=s||"",l+='<div class="splide__slider">'),l+=i||"",r&&(l+=this.renderArrows()),l+='<div class="splide__track">',l+="<"+n+' class="splide__list">',l+=this.renderSlides(),l+="</"+n+">",l+="</div>",l+=o||"",a&&(l+="</div>",l+=u||""),l+="</div>"},e}();n.CLASSES=Re,n.CLASS_ACTIVE=Le,n.CLASS_ARROW="splide__arrow",n.CLASS_ARROWS="splide__arrows",n.CLASS_ARROW_NEXT="splide__arrow--next",n.CLASS_ARROW_PREV="splide__arrow--prev",n.CLASS_CLONE=Oe,n.CLASS_CONTAINER="splide__slide__container",n.CLASS_FOCUS_IN="is-focus-in",n.CLASS_INITIALIZED="is-initialized",n.CLASS_LIST="splide__list",n.CLASS_LOADING="is-loading",n.CLASS_NEXT="is-next",n.CLASS_OVERFLOW="is-overflow",n.CLASS_PAGINATION="splide__pagination",n.CLASS_PAGINATION_PAGE="splide__pagination__page",n.CLASS_PREV="is-prev",n.CLASS_PROGRESS="splide__progress",n.CLASS_PROGRESS_BAR="splide__progress__bar",n.CLASS_ROOT=Ae,n.CLASS_SLIDE="splide__slide",n.CLASS_SPINNER="splide__spinner",n.CLASS_SR="splide__sr",n.CLASS_TOGGLE="splide__toggle",n.CLASS_TOGGLE_PAUSE="splide__toggle__pause",n.CLASS_TOGGLE_PLAY="splide__toggle__play",n.CLASS_TRACK="splide__track",n.CLASS_VISIBLE="is-visible",n.DEFAULTS=Ve,n.EVENT_ACTIVE="active",n.EVENT_ARROWS_MOUNTED="arrows:mounted",n.EVENT_ARROWS_UPDATED="arrows:updated",n.EVENT_AUTOPLAY_PAUSE="autoplay:pause",n.EVENT_AUTOPLAY_PLAY="autoplay:play",n.EVENT_AUTOPLAY_PLAYING="autoplay:playing",n.EVENT_CLICK="click",n.EVENT_DESTROY="destroy",n.EVENT_DRAG="drag",n.EVENT_DRAGGED="dragged",n.EVENT_DRAGGING="dragging",n.EVENT_END_INDEX_CHANGED="ei",n.EVENT_HIDDEN="hidden",n.EVENT_INACTIVE="inactive",n.EVENT_LAZYLOAD_LOADED="lazyload:loaded",n.EVENT_MOUNTED="mounted",n.EVENT_MOVE="move",n.EVENT_MOVED="moved",n.EVENT_NAVIGATION_MOUNTED="navigation:mounted",n.EVENT_OVERFLOW="overflow",n.EVENT_PAGINATION_MOUNTED="pagination:mounted",n.EVENT_PAGINATION_UPDATED="pagination:updated",n.EVENT_READY="ready",n.EVENT_REFRESH="refresh",n.EVENT_RESIZE="resize",n.EVENT_RESIZED="resized",n.EVENT_SCROLL="scroll",n.EVENT_SCROLLED="scrolled",n.EVENT_SHIFTED="sh",n.EVENT_SLIDE_KEYDOWN="sk",n.EVENT_UPDATED="updated",n.EVENT_VISIBLE="visible",n.EventBinder=ve,n.EventInterface=he,n.FADE="fade",n.LOOP=Te,n.LTR="ltr",n.RTL="rtl",n.RequestInterval=me,n.SLIDE=Ie,n.STATUS_CLASSES=Pe,n.Splide=Ue,n.SplideRenderer=Ke,n.State=ye,n.TTB=_e,n.Throttle=Se,n.default=Ue},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=a(e("../group-by")),i=a(e("../../variables/breakpoints")),o=a(e("./data-attribute"));function a(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,p(r.key),r)}}function p(e){var t=function(e,t){if("object"!=u(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==u(t)?t:t+""}var v=function(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.default;d(this,e),this.attributes=this._parseAttributes(t,n,r)}),[{key:"_parseAttributes",value:function(e,t,n){return Object.entries(e).map((function(e){var r=l(e,2),i=r[0],a=r[1];return new o.default(i,a,t,n)}))}},{key:"breakpoints",get:function(){return(0,r.default)(this.attributes,"keyBreakpoint")}},{key:"breakpointWidth",get:function(){return(0,r.default)(this.attributes,"keyBreakpointWidth")}}]);!function(e,t,n){(t=p(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(v,"toKeyValueObject",(function(e){return Object.fromEntries(Object.entries(e).map((function(e){var t=l(e,2)[1];return[t.keyName,t.value]})).filter((function(e){return""!==l(e,1)[0]})))})),n.default=v},{"../../variables/breakpoints":6,"../group-by":4,"./data-attribute":3}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=(r=e("../../variables/breakpoints"))&&r.__esModule?r:{default:r};function o(e){return(o="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,d(r.key),r)}}function d(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var f=function(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i.default;l(this,e),this._rawKeyParts=this._parseKeyParts(t),this._breakpointList=o,this._breakpointMinName=this._extractMinBreakpointName(),this.key=t,this.keyPrefix=this._extractKeyPrefix(r),this.keyName=this._extractKeyName(r),this.keyBreakpoint=this._extractKeyBreakpoint(),this.keyBreakpointWidth=o[this._extractKeyBreakpoint()],this.value=this._parseValue(n)}),[{key:"_parseValue",value:function(e){return"true"===e.toLowerCase()||"false"===e.toLowerCase()?JSON.parse(e.toLowerCase()):e}},{key:"_parseKeyParts",value:function(e){return e.split(/(?=[A-Z])/).map((function(e){return e.toLowerCase()}))}},{key:"_extractMinBreakpointName",value:function(){var e=Object.entries(this._breakpointList).find((function(e){return 0===a(e,2)[1]}));return e?e[0]:"0"}},{key:"_extractKeyPrefix",value:function(e){return this._rawKeyParts[0]===e?e:null}},{key:"_extractKeyBreakpoint",value:function(){var e=this._rawKeyParts.slice(-1)[0];return Object.keys(this._breakpointList).includes(e)?e:this._breakpointMinName}},{key:"_extractKeyName",value:function(e){var t=this._rawKeyParts;return this._extractKeyPrefix(e)&&(t=t.slice(1)),this._extractKeyBreakpoint()&&this._extractKeyBreakpoint()!==this._breakpointMinName&&(t=t.slice(0,-1)),t.map((function(e,t){return 0===t?e.toLowerCase():e[0].toUpperCase()+e.slice(1)})).join("")}}]);n.default=f},{"../../variables/breakpoints":6}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=function(e,t){return e.reduce((function(e,n){var r=n[t];return e[r]||(e[r]=[]),e[r].push(n),e}),{})}},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){"function"==typeof e&&(window.IS_PROMO_UI_DOCUMENTATION||"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e())}},{}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default={xxs:0,xs:375,sm:768,md:992,lg:1200,xl:1440,xxl:1920}},{}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r,i=e("./constants"),o=l(e("../../common/js/data-attributes/data-attribute-list")),a=l(e("@splidejs/splide")),u=l(e("../../common/js/ready"));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function d(e,t){return v(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],u=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(e){l=!0,i=e}finally{try{if(!u&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw i}}return s}}(e,t)||S(e,t)||p()}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=S(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function v(e){if(Array.isArray(e))return e}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e){return function(e){if(Array.isArray(e))return g(e)}(e)||_(e)||S(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function S(e,t){if(e){if("string"==typeof e)return g(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?g(e,t):void 0}}function _(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w(r.key),r)}}function b(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}var A=window.CSS&&window.CSS.supports&&window.CSS.supports("--a","0"),O=n.default=function(){function e(t){var n=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),b(this,"_syncAnimationValueByBreakpoint",(function(){var e=n._getCurrentResponsiveCustomOptionPropValue("animation");switch(e){case i.SLIDER_ANIMATION_TYPES.fade.name:n.sliderElement.classList.add(i.SLIDER_ANIMATION_TYPES.fade.className),n.sliderElement.classList.remove(i.SLIDER_ANIMATION_TYPES.slide.className);break;case i.SLIDER_ANIMATION_TYPES.slide.name:n.sliderElement.classList.add(i.SLIDER_ANIMATION_TYPES.slide.className),n.sliderElement.classList.remove(i.SLIDER_ANIMATION_TYPES.fade.className);break;default:console.error("Slider. Неправильное значение параметра animation — ".concat(e))}})),this.sliderElement=t,this.sliderItems=y(t.children),this.sliderOptions=this._getOptions(),this.splide=null,window.jQuery&&window.jQuery.fn&&window.jQuery.fn.slick&&console.warn("[Slider] promo-ui не поддерживает слайдер Slick с версии 3.7.0"),this._isSplideMounted()||(this._initPreventPageScrollStyle(),this._initSplide(),this._initSliderCustomResponsive())}return function(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"_isSplideMounted",value:function(){return this.sliderElement.classList.contains("splide")}},{key:"_getOptions",value:function(){var e=new o.default(this.sliderElement.dataset,"slider").breakpointWidth,t=o.default.toKeyValueObject(e[0]),n=this._extractSliderOptions(t,{isResponsive:!1});return{splide:n.splide,custom:n.custom,splideBreakpoints:this._extractBreakpointOptions(e,"splide"),customBreakpoints:this._extractBreakpointOptions(e,"custom")}}},{key:"_initPreventPageScrollStyle",value:function(){if(!Boolean(document.getElementById(i.SLIDER_PREVENT_PAGE_SCROLL_STYLE_ID))){var e=document.createElement("style");e.id=i.SLIDER_PREVENT_PAGE_SCROLL_STYLE_ID,e.innerHTML="body { overflow-x: hidden; overflow-x: clip; }",document.body.appendChild(e)}}},{key:"_initSplide",value:function(){var e=this;this.sliderElement.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.ROOT);var t=this._buildSliderTrack(),n=this._buildSliderArrows({arrowsType:this.sliderOptions.custom.arrowsType,isOutside:Boolean(this.sliderOptions.custom.arrowsContainer)});if(this.sliderElement.appendChild(t),this.sliderElement.appendChild(n),this.sliderOptions.splide.autoplay){var r=this._buildProgress();this.sliderElement.appendChild(r)}this._syncAnimationValueByBreakpoint(),this.splide=new a.default(this.sliderElement,m(m({},this.sliderOptions.splide),{},{breakpoints:this.sliderOptions.splideBreakpoints})).mount(),this._initAutoplay(),this._initArrows(),this._updateSplideActive(),this.splide.on("move",(function(){e._updateSplideActive()}))}},{key:"_initArrows",value:function(){if(this.splide.options.arrows&&(this.splide.Components.Arrows.destroy(),this.splide.Components.Arrows.mount()),this.sliderOptions.custom.arrowsContainer){var e=this.sliderOptions.custom.arrowsContainer,t=function(e){return v(e)||_(e)||S(e)||p()}(document.querySelectorAll("#".concat(e))),n=t[0];t.slice(1).length>0&&console.warn("[Slider] Для внешних стрелок найдено больше одного элемента с ID=".concat(e)),n.appendChild(this.splide.Components.Elements.arrows)}}},{key:"_initAutoplay",value:function(){var e=this;this.sliderOptions.splide.autoplay&&(this._pauseAutoplayOnHover(),this.sliderElement.classList.add(i.SLIDER_CLASSNAMES.AUTOPLAY),this.splide.Components.Autoplay.play(),this._updateProgress(),this.splide.on("pagination:updated",(function(){return e._updateProgress()})))}},{key:"_updateSplideActive",value:function(){var e=this;if(1!==Number(this.splide.options.perPage)){var t=this.splide.index;this.splide.Components.Slides.forEach((function(n){n.index>=t&&n.index<t+Number(e.splide.options.perPage)?n.slide.classList.add("is-active-multiple"):n.slide.classList.remove("is-active-multiple")}))}}},{key:"_initSliderCustomResponsive",value:function(){this.splide.on("resize",this._syncAnimationValueByBreakpoint)}},{key:"_getCurrentResponsiveCustomOptionPropValue",value:function(e){for(var t=Object.keys(this.sliderOptions.customBreakpoints),n=window.innerWidth,r=this.sliderOptions.custom[e],i=0,o=t;i<o.length;i++){var a=o[i];if(n<Number(a))break;var s=this.sliderOptions.customBreakpoints[a];s[e]&&(r=s[e])}return r}},{key:"_buildSliderTrack",value:function(){var e=document.createElement("div");e.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.TRACK),e.classList.add(i.SLIDER_CLASSNAMES.TRACK);var t=document.createElement("div");t.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.LIST);var n,r=f(this.sliderItems);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.SLIDE),t.appendChild(o)}}catch(e){r.e(e)}finally{r.f()}return e.appendChild(t),e}},{key:"_buildSliderArrows",value:function(e){var t=e.arrowsType,n=e.isOutside,r=void 0!==n&&n,o=function(e){switch(e){case i.SLIDER_ARROW_TYPES.primary:return i.SLIDER_CLASSNAMES.ARROW_TYPE_PRIMARY;case i.SLIDER_ARROW_TYPES.secondary:return i.SLIDER_CLASSNAMES.ARROW_TYPE_SECONDARY;default:console.error("Slider. Неправильно задан параметр arrows-type — ".concat(e))}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=document.createElement("button");t.type="button";var n,r=f(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;t.classList.add(i)}}catch(e){r.e(e)}finally{r.f()}return t.innerHTML='<svg class="slider__arrow-icon" viewBox="0 0 64 64"><g class="slider__arrow-icon__line"><line x1="18" y1="32" x2="46" y2="32"/></g><polyline class="slider__arrow-icon__polyline" points="28 22, 18 32, 28 42"/></svg>',t},s=[i.SLIDER_CLASSNAMES.ARROW,i.SLIDER_SPLIDE_CLASSNAMES.ARROW],u=a([].concat(s,[i.SLIDER_CLASSNAMES.ARROW_PREV,i.SLIDER_SPLIDE_CLASSNAMES.ARROW_PREV,o(t)])),l=a([].concat(s,[i.SLIDER_CLASSNAMES.ARROW_NEXT,i.SLIDER_SPLIDE_CLASSNAMES.ARROW_NEXT,o(t)])),c=document.createElement("div");return c.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.ARROWS),c.classList.add(i.SLIDER_CLASSNAMES.ARROWS),r&&c.classList.add(i.SLIDER_CLASSNAMES.ARROWS_OUTSIDE),c.appendChild(u),c.appendChild(l),c}},{key:"_buildProgress",value:function(){var e=document.createElement("div");e.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.PROGRESS),e.classList.add(i.SLIDER_CLASSNAMES.DOT_PROGRESS);var t=document.createElement("div");return t.classList.add(i.SLIDER_SPLIDE_CLASSNAMES.PROGRESS_BAR),t.classList.add(i.SLIDER_CLASSNAMES.DOT_PROGRESS_BAR),e.appendChild(t),e}},{key:"_pauseAutoplayOnHover",value:function(){var e=this.splide.Components.Elements.track,t=this.splide.Components.Autoplay,n=t.play,r=t.pause;e.addEventListener("mouseenter",(function(t){var i=t.offsetX,o=e.getBoundingClientRect().width;i>=0&&i<=o?r():n()})),e.addEventListener("mouseleave",n),e.addEventListener("focusin",r),e.addEventListener("focusout",n)}},{key:"_updateProgress",value:function(){var e=this.sliderElement.querySelector(".".concat(i.SLIDER_CLASSNAMES.DOT,".is-active"))||this.sliderElement.querySelector(".".concat(i.SLIDER_CLASSNAMES.DOT)),t=this.sliderElement.querySelector(".".concat(i.SLIDER_CLASSNAMES.DOT_PROGRESS));e.appendChild(t)}},{key:"_extractSliderOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(arguments.length>1?arguments[1]:void 0).isResponsive,r={splide:{perPage:t.perPage,perMove:t.perPage,arrows:t.arrows,autoplay:t.autoplay,interval:t.autoplaySpeed,pagination:t.dots,padding:t.animation===i.SLIDER_ANIMATION_TYPES.slide.name?i.SLIDER_GAP_CSS_VARIABLE:0,type:t.infinite?"loop":"slide"},custom:{animation:t.animation,arrowsType:t.arrowsType,arrowsContainer:t.arrowsContainer}};return n&&function(){for(var e in r.splide)i.SLIDER_OPTIONS_SPLIDE_RESPONSIVE.includes(e)||delete r.splide[e];for(var t in r.custom)i.SLIDER_OPTIONS_CUSTOM_RESPONSIVE.includes(t)||delete r.custom[t]}(),function(){for(var e in r.splide)void 0===r.splide[e]&&delete r.splide[e];for(var t in r.custom)void 0===r.custom[t]&&delete r.custom[t]}(),n||(r.splide=m(m({},e.defaultSpliderOptions),r.splide),r.custom=m(m({},e.defaultCustomOptions),r.custom)),r}},{key:"_extractBreakpointOptions",value:function(e,t){var n=this;return Object.fromEntries(Object.entries(e).filter((function(e){return"0"!==d(e,1)[0]})).map((function(e){var r=d(e,2),i=r[0],a=r[1];return[Number(i),n._extractSliderOptions(o.default.toKeyValueObject(a),{isResponsive:!0})[t]]})))}}])}();r=O,b(O,"defaultOptions",{arrows:!0,arrowsType:i.SLIDER_ARROW_TYPES.primary,arrowsContainer:null,dots:!1,perPage:1,animation:i.SLIDER_ANIMATION_TYPES.fade.name,infinite:!1,autoplay:!1,autoplaySpeed:4e3}),b(O,"defaultSpliderOptions",{arrows:r.defaultOptions.arrows,autoplay:r.defaultOptions.autoplay,pauseOnHover:!1,pauseOnFocus:!1,interval:r.defaultOptions.autoplaySpeed,pagination:r.defaultOptions.dots,mediaQuery:"min",gap:A?i.SLIDER_GAP_CSS_VARIABLE:i.SLIDER_DEFAULT_GAP,speed:400,resetProgress:!1,updateOnMove:!0,perPage:1,i18n:i.SLIDER_ARIA_CAPTIONS,classes:{list:i.SLIDER_CLASSNAMES.LIST,pagination:i.SLIDER_CLASSNAMES.DOTS_LIST,page:i.SLIDER_CLASSNAMES.DOT}}),b(O,"defaultCustomOptions",{animation:r.defaultOptions.animation,arrowsType:r.defaultOptions.arrowsType,arrowsContainer:r.defaultOptions.arrowsContainer}),(0,u.default)((function(){return document.querySelectorAll("[data-slider]").forEach((function(e){return new O(e)}))}))},{"../../common/js/data-attributes/data-attribute-list":2,"../../common/js/ready":5,"./constants":8,"@splidejs/splide":1}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.SLIDER_SPLIDE_CLASSNAMES=n.SLIDER_PREVENT_PAGE_SCROLL_STYLE_ID=n.SLIDER_OPTIONS_SPLIDE_RESPONSIVE=n.SLIDER_OPTIONS_CUSTOM_RESPONSIVE=n.SLIDER_GAP_CSS_VARIABLE=n.SLIDER_DEFAULT_GAP=n.SLIDER_CLASSNAMES=n.SLIDER_ARROW_TYPES=n.SLIDER_ARIA_CAPTIONS=n.SLIDER_ANIMATION_TYPES=void 0;var r=n.SLIDER_CLASSNAMES={AUTOPLAY:"slider_autoplay",LIST:"slider__list",ARROWS:"slider__arrows",ARROWS_OUTSIDE:"slider__arrows_outside",ARROW:"slider__arrow",ARROW_PREV:"slider__arrow_prev",ARROW_NEXT:"slider__arrow_next",ARROW_TYPE_PRIMARY:"slider__arrow_type-primary",ARROW_TYPE_SECONDARY:"slider__arrow_type-secondary",DOTS_LIST:"slider__dots-list",TRACK:"slider__track",DOT:"slider__dot",DOT_PROGRESS:"slider__dot-progress",DOT_PROGRESS_BAR:"slider__dot-progress-bar",ANIMATION_FADE:"slider_animation-fade",ANIMATION_SLIDE:"slider_animation-slide"},i=(n.SLIDER_ANIMATION_TYPES={fade:{name:"fade",className:r.ANIMATION_FADE},slide:{name:"slide",className:r.ANIMATION_SLIDE}},n.SLIDER_ARROW_TYPES={primary:"primary",secondary:"secondary"},n.SLIDER_ARIA_CAPTIONS={prev:"Предыдущий слайд",next:"Следующий слайд",first:"Первый слайд",last:"Последний слайд",slideX:"К слайду %s",pageX:"К слайду %s",select:"Перейти к слайду",slide:"Слайд",slideLabel:"%s из %s"},n.SLIDER_SPLIDE_CLASSNAMES={ROOT:"splide",ARROWS:"splide__arrows",ARROW:"splide__arrow",ARROW_PREV:"splide__arrow--prev",ARROW_NEXT:"splide__arrow--next",TRACK:"splide__track",LIST:"splide__list",SLIDE:"splide__slide",PROGRESS:"splide__progress",PROGRESS_BAR:"splide__progress__bar"},n.SLIDER_OPTIONS_SPLIDE_RESPONSIVE=["perPage","perMove","arrows","pagination","padding"],n.SLIDER_OPTIONS_CUSTOM_RESPONSIVE=["animation"],n.SLIDER_PREVENT_PAGE_SCROLL_STYLE_ID="slider-prevent-page-scroll-style",n.SLIDER_DEFAULT_GAP="32px");n.SLIDER_GAP_CSS_VARIABLE="var(--slider-slides-gap, ".concat(i,")")},{}]},{},[7])(7)},"object"===s(t)&&void 0!==e?e.exports=a():(i=[],void 0===(o="function"==typeof(r=a)?r.apply(t,i):r)||(e.exports=o))},27:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return l}));var o=function e(t,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0;r(this,e),i(this,"body",void 0),i(this,"isSuccess",void 0),i(this,"statusCode",void 0),i(this,"error",void 0),this.body=t,this.isSuccess=o,this.statusCode=n,this.error=a};function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),n}var u=new WeakSet,l=function(){function e(t){var n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),u.add(this),i=void 0,(r="baseApiUrl")in(n=this)?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,this.baseApiUrl=t}var t,n,r;return t=e,(n=[{key:"fetchBanners",value:function(t){var n=new URL("".concat(this.baseApiUrl,"/widget/banners/v1/list"));return n.search=new URLSearchParams({productId:t,ieCacheBugFix:s(e,e,d).call(e)}).toString(),function(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}(this,u,c).call(this,fetch(n.toString(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.method,n=void 0===t?"GET":t,r=e.bodyObject;return{method:n,mode:"cors",credentials:"include",headers:{"X-ClientProvidedUrl":window.location,"Content-Type":r?"application/json":void 0},body:r?JSON.stringify(r):void 0}}()))}}])&&a(t.prototype,n),r&&a(t,r),e}();function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200;return e.then((function(e){var n=e.json(),r=e.status,i=r===t;return n.then((function(e){return new o(e,r,i)})).catch((function(){return new o(null,r,i)}))})).catch((function(e){var t=e.response,n=(void 0===t?{}:t).status;return new o(null,n,!1,e)}))}function d(){return Number(new Date)}},28:function(e,t,n){"use strict";n.r(t);n(29)},29:function(module,__webpack_exports__,__webpack_require__){"use strict";var _widget__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(21),_widgetApi__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(27),config=JSON.parse("{\"apiUrl\":\"https://kontur.ru\"}"),triggerAttributeSelectors="[data-header-submenu-control], [data-header-submenu-control-external]",bannerSelector="[data-banners]";function initialize(){var e=getPropsFromScript("banner_settings"),t=window.Kontur.BannerFrontConfig.apiUrl,n=new _widgetApi__WEBPACK_IMPORTED_MODULE_1__.a(t),r=new _widget__WEBPACK_IMPORTED_MODULE_0__.a(e,n,triggerAttributeSelectors,bannerSelector);window.Kontur.BannerWidget=window.Kontur.BannerWidget||r,r.initialize(e)}function getPropsFromScript(iid){var selector='script[data-props-for="'.concat(iid,'"]'),script=document.querySelector(selector);if(script){var text=script.textContent;return eval(text)}throw new Error('No container element with props found by widget instance id "'.concat(iid,'". Check if element with selector "').concat(selector,'" defined'))}window.Kontur=window.Kontur||{},window.Kontur.BannerFrontConfig=config,initialize()}});
//# sourceMappingURL=banners.js.map