(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){!function(){var e=document.querySelector(".breadcrumbs");if(e){var t=function(){var t=e.querySelectorAll("span.separator"),r=t[t.length-1];if(t.length>1){var n=document.createElement("span");r.classList.add("last-separator"),n.classList.add("hidden"),n.style.width="15px";for(var i=t[0].nextSibling;i&&i!==r;){var a=i.nextSibling;n.appendChild(i),i=a}e.insertBefore(n,r),n.addEventListener("click",(function e(t){t.preventDefault(),n.style.width=Array.from(n.children).reduce((function(e,t){return e+t.offsetWidth+2}),0)+"px",n.classList.add("active"),n.removeEventListener("click",e)}))}document.querySelector(".breadcrumbs").classList.add("visible")};window.innerWidth<=576&&t(),window.addEventListener("resize",(function(){if(window.innerWidth<=576)e.querySelector("span.hidden")||t();else{var r=e.querySelector("span.hidden");if(r){for(var n=r.parentNode;r.firstChild;)n.insertBefore(r.firstChild,r);n.removeChild(r),e.querySelector(".last-separator").classList.remove("last-separator")}}}))}}()}))})();
(()=>{"use strict";function t(r){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(r)}function r(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
r=function(){return n};var e,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,r,e){t[r]=e.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function h(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{h({},"")}catch(e){h=function(t,r,e){return t[r]=e}}function l(t,r,e,n){var o=r&&r.prototype instanceof w?r:w,i=Object.create(o.prototype),c=new T(n||[]);return a(i,"_invoke",{value:S(t,e,c)}),i}function p(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}n.wrap=l;var y="suspendedStart",v="suspendedYield",d="executing",g="completed",m={};function w(){}function b(){}function x(){}var L={};h(L,u,(function(){return this}));var E=Object.getPrototypeOf,j=E&&E(E(F([])));j&&j!==o&&i.call(j,u)&&(L=j);var O=x.prototype=w.prototype=Object.create(L);function _(t){["next","throw","return"].forEach((function(r){h(t,r,(function(t){return this._invoke(r,t)}))}))}function k(r,e){function n(o,a,c,u){var s=p(r[o],r,a);if("throw"!==s.type){var f=s.arg,h=f.value;return h&&"object"==t(h)&&i.call(h,"__await")?e.resolve(h.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):e.resolve(h).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(s.arg)}var o;a(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}})}function S(t,r,n){var o=y;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=N(c,n);if(u){if(u===m)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var s=p(t,r,n);if("normal"===s.type){if(o=n.done?g:v,s.arg===m)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=g,n.method="throw",n.arg=s.arg)}}}function N(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,N(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var i=p(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,m;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function G(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function F(r){if(r||""===r){var n=r[u];if(n)return n.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var o=-1,a=function t(){for(;++o<r.length;)if(i.call(r,o))return t.value=r[o],t.done=!1,t;return t.value=e,t.done=!0,t};return a.next=a}}throw new TypeError(t(r)+" is not iterable")}return b.prototype=x,a(O,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:b,configurable:!0}),b.displayName=h(x,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var r="function"==typeof t&&t.constructor;return!!r&&(r===b||"GeneratorFunction"===(r.displayName||r.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,h(t,f,"GeneratorFunction")),t.prototype=Object.create(O),t},n.awrap=function(t){return{__await:t}},_(k.prototype),h(k.prototype,s,(function(){return this})),n.AsyncIterator=k,n.async=function(t,r,e,o,i){void 0===i&&(i=Promise);var a=new k(l(t,r,e,o),i);return n.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},_(O),h(O,f,"Generator"),h(O,u,(function(){return this})),h(O,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var r=Object(t),e=[];for(var n in r)e.push(n);return e.reverse(),function t(){for(;e.length;){var n=e.pop();if(n in r)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=F,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(G),!t)for(var r in this)"t"===r.charAt(0)&&i.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=r,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(a)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),m},finish:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),G(e),m}},catch:function(t){for(var r=this.tryEntries.length-1;r>=0;--r){var e=this.tryEntries[r];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var o=n.arg;G(e)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:F(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},n}function e(t,r,e,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void e(t)}c.done?r(u):Promise.resolve(u).then(n,o)}function n(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function c(t){e(a,o,i,c,u,"next",t)}function u(t){e(a,o,i,c,u,"throw",t)}c(void 0)}))}}var o;window.getResource=(o={},function(){var t=n(r().mark((function t(e){return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!o[e]){t.next=5;break}return t.next=4,o[e];case 4:case 8:return t.abrupt("return",t.sent);case 5:return o[e]=n(r().mark((function t(){var n,o,i,a,c,u;return r().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,caches.open(e);case 2:return n=t.sent,t.next=5,n.match(e);case 5:return o=t.sent,i=null==o?void 0:o.headers.get("ETag"),t.next=9,fetch(e,{headers:{"If-None-Match":i}});case 9:if(304!==(a=t.sent).status){t.next=14;break}return t.next=13,o.json();case 13:return t.abrupt("return",t.sent);case 14:if(a.ok){t.next=16;break}throw new Error("Could not fetch ".concat(e,", ").concat(a.status));case 16:return t.next=18,a.json();case 18:return c=t.sent,u=new Headers(a.headers),t.next=22,n.put(e,new Response(JSON.stringify(c),{headers:u}));case 22:return t.abrupt("return",c);case 23:case"end":return t.stop()}}),t)})))(),t.next=8,o[e];case 11:throw t.prev=11,t.t0=t.catch(0),console.error("Failed to fetch and cache data from ".concat(e,":"),t.t0),t.t0;case 15:return t.prev=15,delete o[e],t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[0,11,15,18]])})));return function(r){return t.apply(this,arguments)}}())})();
(()=>{"use strict";function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n(t)
/*!
 * @splidejs/splide-extension-auto-scroll
 * Version  : 0.5.3
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */}var t;t=function(){function t(n,t,e){return Array.prototype.slice.call(n,t,e)}function e(n){return n.bind.apply(n,[null].concat(t(arguments,1)))}function o(n){return requestAnimationFrame(n)}function i(t,e){return n(e)===t}var r=Array.isArray;function u(n){return r(n)?n:[n]}function c(n,t){u(n).forEach(t)}e(i,"function"),e(i,"string"),e(i,"undefined");var a=Object.keys;function f(n){return t(arguments,1).forEach((function(t){!function(n,t,e){if(n){var o=a(n);o=e?o.reverse():o;for(var i=0;i<o.length;i++){var r=o[i];if("__proto__"!==r&&!1===t(n[r],r))break}}}(t,(function(e,o){n[o]=t[o]}))})),n}var s=Math.min,l="move",d="moved",v="updated",p="drag",m="dragged",y="scroll",b="scrolled",g="destroy";function h(n){var o=n?n.event.bus:document.createDocumentFragment(),i=function(){var n=[];function t(n,t,e){c(n,(function(n){n&&c(t,(function(t){t.split(" ").forEach((function(t){var o=t.split(".");e(n,o[0],o[1])}))}))}))}return{bind:function(e,o,i,r){t(e,o,(function(t,e,o){var u="addEventListener"in t,c=u?t.removeEventListener.bind(t,e,i,r):t.removeListener.bind(t,i);u?t.addEventListener(e,i,r):t.addListener(i),n.push([t,e,o,i,c])}))},unbind:function(e,o,i){t(e,o,(function(t,e,o){n=n.filter((function(n){return!!(n[0]!==t||n[1]!==e||n[2]!==o||i&&n[3]!==i)||(n[4](),!1)}))}))},dispatch:function(n,t,e){var o;return"function"==typeof CustomEvent?o=new CustomEvent(t,{bubbles:!0,detail:e}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,e),n.dispatchEvent(o),o},destroy:function(){n.forEach((function(n){n[4]()})),function(n){n.length=0}(n)}}}();return n&&n.event.on(g,i.destroy),f(i,{bus:o,on:function(n,t){i.bind(o,u(n).join(" "),(function(n){t.apply(t,r(n.detail)?n.detail:[])}))},off:e(i.unbind,o),emit:function(n){i.dispatch(o,n,t(arguments,1))}})}function w(n,t,e,i){var r,u,c=Date.now,a=0,f=!0,l=0;function d(){if(!f){if(a=n?s((c()-r)/n,1):1,e&&e(a),a>=1&&(t(),r=c(),i&&++l>=i))return v();o(d)}}function v(){f=!0}function p(){u&&cancelAnimationFrame(u),a=0,u=0,f=!0}return{start:function(t){!t&&p(),r=c()-(t?a*n:0),f=!1,o(d)},rewind:function(){r=c(),a=0,e&&e(a)},pause:v,cancel:p,set:function(t){n=t},isPaused:function(){return f}}}var E="slide";function S(n,t,e){return Array.prototype.slice.call(n,t,e)}function A(n){return n.bind.apply(n,[null].concat(S(arguments,1)))}function L(t,e){return n(e)===t}function _(n){return!M(n)&&L("object",n)}var k=Array.isArray;A(L,"function"),A(L,"string");var x=A(L,"undefined");function M(n){return null===n}function C(n,t){(function(n){return k(n)?n:[n]})(n).forEach(t)}var O=Object.keys;function P(n,t,e){if(n){var o=O(n);o=e?o.reverse():o;for(var i=0;i<o.length;i++){var r=o[i];if("__proto__"!==r&&!1===t(n[r],r))break}}return n}function F(n){return S(arguments,1).forEach((function(t){P(t,(function(e,o){n[o]=t[o]}))})),n}function j(n,t,e){_(t)?P(t,(function(t,e){j(n,e,t)})):C(n,(function(n){M(e)||""===e?function(n,t){C(n,(function(n){C(t,(function(t){n&&n.removeAttribute(t)}))}))}(n,t):n.setAttribute(t,String(e))}))}var D=Math.min,I=Math.max;Math.floor,Math.ceil,Math.abs;var z={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},H={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};("undefined"==typeof window?"undefined":n(window))<"u"&&(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.AutoScroll=function(n,t,e){var o,i,r,u,c,a,f=h(n),s=f.on,g=f.off,S=f.bind,A=f.unbind,L=t.Move,k=L.translate,M=L.getPosition,O=L.toIndex,P=L.getLimit,q=t.Controller,B=q.setIndex,T=q.getIndex,G=t.Direction.orient,J=t.Elements.toggle,K=t.Live,N=n.root,Q=function(n,t){var e;return function(){e||(e=w(t||0,(function(){n(),e=null}),null,1)).start()}}(t.Arrows.update,500),R={};function U(){n.is("fade")||!o&&!1!==e.autoScroll&&(o=w(0,$),R.pauseOnHover&&S(N,"mouseenter mouseleave",(function(n){r="mouseenter"===n.type,Z()})),R.pauseOnFocus&&S(N,"focusin focusout",(function(n){u="focusin"===n.type,Z()})),R.useToggleButton&&S(J,"click",(function(){i?X():Y()})),s(v,W),s([l,p,y],(function(){c=!0,Y(!1)})),s([d,m,b],(function(){c=!1,Z()})),R.autoStart&&("complete"===document.readyState?X():S(window,"load",X)))}function V(){o&&(o.cancel(),o=null,a=void 0,g([l,p,y,d,b]),A(N,"mouseenter mouseleave focusin focusout"),A(J,"click"))}function W(){var n=e.autoScroll;!1!==n?(R=F({},R,_(n)?n:{}),U()):V(),o&&!x(a)&&k(a)}function X(){tn()&&(o.start(!0),K.disable(!0),u=r=i=!1,nn())}function Y(n){void 0===n&&(n=!0),i||(i=n,nn(),tn()||(o.pause(),K.disable(!1)))}function Z(){i||(r||u||c?Y(!1):X())}function $(){var o=M(),i=function(t){var e=R.speed||1;return t+=G(e),n.is(E)&&(t=function(n,t,e){var o=D(t,e),i=I(t,e);return D(I(o,n),i)}(t,P(!1),P(!0))),t}(o);o!==i?(k(i),function(o){var i=n.length,r=(O(o)+i)%i;r!==T()&&(B(r),t.Slides.update(),t.Pagination.update(),"nearby"===e.lazyLoad&&t.LazyLoad.check())}(a=M())):(Y(!1),R.rewind&&n.go(R.speed>0?0:t.Controller.getEnd())),Q()}function nn(){if(J){var n=i?"startScroll":"pauseScroll";(function(n,t,e){n&&C(t,(function(t){t&&n.classList[e?"add":"remove"](t)}))})(J,"is-active",!i),j(J,"aria-label",e.i18n[n]||H[n])}}function tn(){return!o||o.isPaused()}return{setup:function(){var n=e.autoScroll;R=F({},z,_(n)?n:{})},mount:U,destroy:V,play:X,pause:Y,isPaused:tn}})},"function"==typeof define&&define.amd?define(t):t()})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.body.dataset.lang;var e,o=new Splide(".promo-slider",{type:"loop",perPage:1,perMove:1,clones:0,focus:0,speed:0,arrows:!0,pagination:!0,autoplay:"pause",autoScroll:!1,intersection:{inView:{autoplay:!0,autoScroll:!1},outView:{autoplay:!1,autoScroll:!1}},interval:5e3,autoHeight:!0});if(o.on("mounted",(function(){Array.from(o.Components.Elements.slides[o.index].querySelectorAll('[data-animate="slide"]')).forEach((function(e){e.classList.add("animate")}))})),o.on("moved",(function(){Array.from(o.Components.Elements.slides[o.index].querySelectorAll('[data-animate="slide"]')).forEach((function(e){e.classList.add("animate")})),o.Components.Elements.slides.forEach((function(e){e!==o.Components.Elements.slides[o.index]&&e.querySelectorAll('[data-animate="slide"]').forEach((function(e){e.classList.contains("animate")&&e.classList.remove("animate")}))}))})),o.mount(window.splide.Extensions),e=document.querySelectorAll(".promo-slider .splide__slide:not(.splide__slide--clone)"),o.on("mounted",(function(){document.querySelector(".promo-slider .splide__list").style.height=e[0].clientHeight+"px"})),o.on("move",(function(o){document.querySelector(".promo-slider .splide__list").style.height=e[o].clientHeight+"px"})),window.innerWidth<=576){var t=function(e,o){e.forEach((function(e){o?e.classList.add("fixed"):e.classList.remove("fixed")}))},i=document.querySelector(".promo-slider"),n=document.querySelector(".quick-actions"),s=i.querySelectorAll(".splide__arrow"),a=i.querySelector(".splide__pagination"),l=document.querySelector(".header").offsetHeight,d=i.offsetHeight+l;window.pageYOffset+window.innerHeight>d&&!r||(t(s,!0),a.classList.add("fixed"),n.classList.add("hide"));var r=!1;window.addEventListener("scroll",(function(){var e=window.pageYOffset+window.innerHeight;e>d&&!r?(t(s,!1),a.classList.remove("fixed"),n.classList.remove("hide"),r=!0):e<=d&&r&&(t(s,!0),a.classList.add("fixed"),n.classList.add("hide"),r=!1)}))}if(document.querySelector(".promo-slider + .brands"))new Splide(".brands",{type:"loop",drag:"free",focus:"center",arrows:!1,pagination:!1,gap:"0.8rem",perPage:3,mediaQuery:"min",autoScroll:{speed:.7},breakpoints:{577:{destroy:!0}},intersection:{inView:{autoScroll:!0},outView:{autoScroll:!1}}}).mount(window.splide.Extensions)}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var e=new Splide(".products",{type:"slide",perPage:3,perMove:1,speed:500,gap:"3rem",arrows:!0,pagination:!0,focus:0,omitEnd:!0,breakpoints:{576:{perPage:2,perMove:1,gap:"1.6rem"}}}).mount();function t(){var t=document.querySelector(".products__list"),n=document.querySelector(".product-banner"),o=document.querySelector(".products__wrap");window.innerWidth<=576&&n&&!t.contains(n)?(e.destroy(),t.appendChild(n),e.mount()):window.innerWidth>576&&n&&t.contains(n)&&(e.destroy(),o.appendChild(n),e.mount())}document.querySelectorAll(".product-card").forEach((function(e){e.querySelector(".product-card__info-btn").addEventListener("click",(function(){e.classList.add("active")})),e.querySelector(".product-card__back-close").addEventListener("click",(function(){e.classList.remove("active")}))})),window.addEventListener("resize",(function(){t()})),t()}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){new Splide(".steps__items",{type:"slide",perPage:1,perMove:1,arrows:!0,pagination:!0,focus:0,omitEnd:!0,gap:"3rem",speed:300,mediaQuery:"min",breakpoints:{577:{destroy:!0}}}).mount();var e=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting?e.target.classList.add("animate"):e.target.classList.remove("animate")}))}));document.querySelectorAll(".steps__item-image").forEach((function(t){e.observe(t)}))}))})();
(()=>{"use strict";function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(!e)return;if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,n)}(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 t(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}document.addEventListener("DOMContentLoaded",(function(){var t="fr"===document.body.dataset.lang;function n(t){var n=t.sectionClass,r=t.itemsListClass,s=t.itemsClass,i=t.btnText,o=t.btnClasses,a=t.numItemsToShow,l=t.hideDesktop,u=window.innerWidth;function c(){document.querySelectorAll(n).forEach((function(t){var n=Array.from(t.querySelectorAll(s)),c=t.querySelector(r);u<=576||!0===l?(m(t,n,c),function(t,n,r){if(n.length>a){for(var s=d(n,a),l=a;l<n.length;l++)n[l].style.visibility="hidden";if(r.style.maxHeight="".concat(s,"px"),r.style.overflow="hidden",t.querySelector("[data-see-more-btn]"))t.querySelector("[data-see-more-btn]").removeAttribute("style");else{var u=function(){var t,n=document.createElement("button");return(t=n.classList).add.apply(t,e(o)),n.textContent=i,n.dataset.seeMoreBtn="",n}();r.insertAdjacentElement("afterend",u),u.addEventListener("click",(function(){u.style.display="none";for(var e=a;e<n.length;e++)n[e].style.visibility="visible";r.style.maxHeight="".concat(d(n,n.length)/10,"rem"),u.remove()}))}}}(t,n,c)):m(t,n,c)}))}function m(e,t,n){var r=e.querySelector("[data-see-more-btn]");t.forEach((function(e){e.style.visibility="visible"})),n.style.maxHeight="none",n.style.overflow="visible",r&&r.remove()}function d(e,t){return e.slice(0,t).reduce((function(e,t){return e+t.offsetHeight+parseInt(getComputedStyle(t).marginBottom,10)}),0)}0!==document.querySelectorAll(n).length&&(c(),window.addEventListener("resize",(function(){window.innerWidth!==u&&(u=window.innerWidth,c())})))}n({sectionClass:".benefits",itemsListClass:".benefits__list",itemsClass:".info-card",btnText:t?"VOIR PLUS":"SEE MORE",btnClasses:["benefits__see-more","read-more-btn"],numItemsToShow:2}),n({sectionClass:".why-trust",itemsListClass:".why-trust__items",itemsClass:".info-card",btnText:t?"VOIR PLUS":"SEE MORE",btnClasses:["why-trust__see-more","read-more-btn"],numItemsToShow:2}),n({sectionClass:".reviews-list",itemsListClass:".reviews-list__list",itemsClass:".review",btnText:t?"VOIR PLUS":"SEE MORE",btnClasses:["reviews-list__see-more","read-more-btn"],numItemsToShow:10,hideDesktop:!0})}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".table-wrap").forEach((function(t){var e=t.querySelector(".table"),n=t.querySelector("table"),o='\n        <div class="table__vertical-scroll">\n            <div class="scroll-button scroll-top icon-dropdown icomoon"></div>\n            <div class="track-and-thumb-wrap">\n                <div class="scroll-track"></div>\n                <div class="scroll-thumb"></div>\n            </div>\n            <div class="scroll-button scroll-bottom icon-dropdown icomoon"></div>\n        </div>',l='\n        <div class="table__horizontal-scroll">\n            <div class="scroll-button scroll-left icon-dropdown icomoon"></div>\n            <div class="track-and-thumb-wrap">\n                <div class="scroll-track"></div>\n                <div class="scroll-thumb"></div>\n            </div>\n            <div class="scroll-button scroll-right icon-dropdown icomoon"></div>\n        </div>';function i(t){var e=t.closest(".table-wrap"),n=e.querySelector(".table__vertical-scroll .scroll-track"),o=e.querySelector(".table__vertical-scroll .scroll-thumb"),l=e.querySelectorAll(".scroll-button"),i=20,r=null,c=0,s=!1;function a(){var e=n.clientHeight,l=t.clientHeight,r=t.scrollHeight;i=Math.max(l/r*e,20),o.style.height=i+"px"}function d(e){var n="up"===e?-200:200;t.scrollBy({top:n,behavior:"smooth"})}function u(t){t.preventDefault(),t.stopPropagation(),s&&(s=!1)}a(),t.addEventListener("scroll",(function(){var e=t.scrollTop,l=t.scrollHeight,r=n.clientHeight,c=e/l*r;c=Math.min(c,r-i),o.style.top=c+"px"})),n.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var o=(e.clientY-n.getBoundingClientRect().top+-i/2)/n.clientHeight,l=Math.floor(o*t.scrollHeight);t.scrollTo({top:l,behavior:"smooth"})})),o.addEventListener("mousedown",(function(e){e.preventDefault(),e.stopPropagation(),r=e.clientY,c=t.scrollTop,s=!0})),o.addEventListener("mouseup",u),l[0].addEventListener("click",(function(){return d("up")})),l[1].addEventListener("click",(function(){return d("down")})),window.addEventListener("mousemove",(function(e){if(e.preventDefault(),e.stopPropagation(),s){var n=t.scrollHeight,o=t.offsetHeight,l=(e.clientY-r)*(o/i),a=Math.min(c+l,n-o);t.scrollTop=a}})),window.addEventListener("mouseup",u),window.addEventListener("resize",a)}function r(t){var e=t.closest(".table-wrap"),n=e.querySelector(".table__horizontal-scroll .scroll-track"),o=e.querySelector(".table__horizontal-scroll .scroll-thumb"),l=e.querySelectorAll(".scroll-button"),i=20,r=null,c=0,s=!1;function a(){var e=n.clientWidth,l=t.clientWidth,r=t.scrollWidth;i=Math.max(l/r*e,20),o.style.width=i+"px"}function d(e){var n="left"===e?-200:200;t.scrollBy({left:n,behavior:"smooth"})}function u(t){t.preventDefault(),t.stopPropagation(),s&&(s=!1)}a(),t.addEventListener("scroll",(function(){var e=t.scrollLeft,l=t.scrollWidth,r=n.clientWidth,c=e/l*r;c=Math.min(c,r-i),o.style.left=c+"px"})),n.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation();var o=(e.clientX-n.getBoundingClientRect().left+-i/2)/n.clientWidth,l=Math.floor(o*t.scrollWidth);t.scrollTo({left:l,behavior:"smooth"})})),o.addEventListener("mousedown",(function(e){e.preventDefault(),e.stopPropagation(),r=e.clientX,c=t.scrollLeft,s=!0})),o.addEventListener("mouseup",u),2===l.length?(l[0].addEventListener("click",(function(){return d("left")})),l[1].addEventListener("click",(function(){return d("right")}))):4==l.length&&(l[2].addEventListener("click",(function(){return d("left")})),l[3].addEventListener("click",(function(){return d("right")}))),window.addEventListener("mousemove",(function(e){if(e.preventDefault(),e.stopPropagation(),s){var n=t.scrollWidth,o=t.offsetWidth,l=(e.clientX-r)*(o/i),a=Math.min(c+l,n-o);t.scrollLeft=a}})),window.addEventListener("mouseup",u),window.addEventListener("resize",a)}window.innerWidth>576?(n.scrollHeight>609&&(t.insertAdjacentHTML("beforeend",o),i(e)),n.scrollWidth>305&&(t.insertAdjacentHTML("beforeend",l),r(e))):(n.scrollHeight>609&&(t.insertAdjacentHTML("beforeend",o),i(e)),n.scrollWidth>window.innerWidth-55&&(t.insertAdjacentHTML("beforeend",l),r(e)))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".main-content").forEach((function(e){var t=e.querySelector(".content.wysiwyg"),n=t.querySelector(".main-content__readmore"),o=t.querySelector(".content-remaining"),r="fr"===document.body.dataset.lang;n.textContent=r?"En savoir plus":"Read more",n&&o&&n.addEventListener("click",(function(){o.classList.add("expanded"),n.style.display="none",t.classList.remove("border-bottom")}))}))}))})();
(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
e=function(){return n};var r,n={},o=Object.prototype,i=o.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},u=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(r){s=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof w?e:w,i=Object.create(o.prototype),c=new N(n||[]);return a(i,"_invoke",{value:k(t,r,c)}),i}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}n.wrap=h;var y="suspendedStart",v="suspendedYield",d="executing",m="completed",g={};function w(){}function b(){}function x(){}var L={};s(L,u,(function(){return this}));var E=Object.getPrototypeOf,S=E&&E(E(T([])));S&&S!==o&&i.call(S,u)&&(L=S);var j=x.prototype=w.prototype=Object.create(L);function O(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function _(e,r){function n(o,a,c,u){var l=p(e[o],e,a);if("throw"!==l.type){var f=l.arg,s=f.value;return s&&"object"==t(s)&&i.call(s,"__await")?r.resolve(s.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(s).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var o;a(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function k(t,e,n){var o=y;return function(i,a){if(o===d)throw new Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:r,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===y)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=d;var l=p(t,e,n);if("normal"===l.type){if(o=n.done?m:v,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=m,n.method="throw",n.arg=l.arg)}}}function A(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,A(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,g;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function T(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function t(){for(;++o<e.length;)if(i.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=r,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return b.prototype=x,a(j,"constructor",{value:x,configurable:!0}),a(x,"constructor",{value:b,configurable:!0}),b.displayName=s(x,f,"GeneratorFunction"),n.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===b||"GeneratorFunction"===(e.displayName||e.name))},n.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,x):(t.__proto__=x,s(t,f,"GeneratorFunction")),t.prototype=Object.create(j),t},n.awrap=function(t){return{__await:t}},O(_.prototype),s(_.prototype,l,(function(){return this})),n.AsyncIterator=_,n.async=function(t,e,r,o,i){void 0===i&&(i=Promise);var a=new _(h(t,e,r,o),i);return n.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},O(j),s(j,f,"Generator"),s(j,u,(function(){return this})),s(j,"toString",(function(){return"[object Generator]"})),n.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},n.values=T,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(G),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),G(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;G(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:T(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},n}function r(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},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 a,c=!0,u=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return c=t.done,t},e:function(t){u=!0,a=t},f:function(){try{c||null==r.return||r.return()}finally{if(u)throw a}}}}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}window.handleInputAppliances=function(t){function n(t,e,r){e.innerHTML='<option value="Other" selected>Select Service</option>',e.appendChild(function(t,e){var r=document.createDocumentFragment(),n=document.body.dataset.lang;return t[n][e]&&t[n][e].forEach((function(n,o){var i=document.createElement("option");i.textContent=n[0],i.value=t.en[e][o][0],r.appendChild(i)})),r}(r,t.value))}function i(){var a;return a=e().mark((function o(){var i,a,c,u;return e().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,getResource("".concat(location.origin,"/appliances.json"));case 3:i=o.sent,a=r(document.querySelectorAll(t)),o.prev=5,u=e().mark((function t(){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:(r=c.value).querySelectorAll("input[name=service]").forEach((function(t){t.addEventListener("change",(function(){return n(t,r.querySelector("select[name=appliance]"),i)}))}));case 2:case"end":return t.stop()}}),t)})),a.s();case 8:if((c=a.n()).done){o.next=12;break}return o.delegateYield(u(),"t0",10);case 10:o.next=8;break;case 12:o.next=17;break;case 14:o.prev=14,o.t1=o.catch(5),a.e(o.t1);case 17:return o.prev=17,a.f(),o.finish(17);case 20:o.next=25;break;case 22:o.prev=22,o.t2=o.catch(0),console.error(o.t2);case 25:case"end":return o.stop()}}),o,null,[[0,22],[5,14,17,20]])})),i=function(){var t=this,e=arguments;return new Promise((function(r,n){var i=a.apply(t,e);function c(t){o(i,r,n,c,u,"next",t)}function u(t){o(i,r,n,c,u,"throw",t)}c(void 0)}))},i.apply(this,arguments)}!function(){i.apply(this,arguments)}()}})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){var e,t,n=new Splide(".offers",{type:"loop",perPage:1,perMove:1,focus:0,speed:0,arrows:!0,pagination:!0,autoplay:"pause",autoScroll:!1,intersection:{inView:{autoplay:!0,autoScroll:!1},outView:{autoplay:!1}},interval:5e3,autoHeight:!0});n.on("mounted",(function(){Array.from(n.Components.Elements.slides[n.index].querySelectorAll('[data-animate="slide"]')).forEach((function(e){e.classList.add("animate")}))})),n.on("moved",(function(){Array.from(n.Components.Elements.slides[n.index].querySelectorAll('[data-animate="slide"]')).forEach((function(e){e.classList.add("animate")})),n.Components.Elements.slides.forEach((function(e){e!==n.Components.Elements.slides[n.index]&&e.querySelectorAll('[data-animate="slide"]').forEach((function(e){e.classList.contains("animate")&&e.classList.remove("animate")}))}))})),e=document.querySelectorAll(".offers .splide__slide:not(.splide__slide--clone)"),t=document.querySelector(".offers .splide__list"),n.on("mounted",(function(){t.style.height=e[0].clientHeight+"px"})),n.on("resize",(function(){n.refresh()})),n.on("refresh",(function(){t.style.height=e[0].clientHeight+"px"})),n.on("move",(function(n){t.style.height=e[n].clientHeight+"px"})),n.mount(window.splide.Extensions)}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){new Splide(".reviews-slider__wrap",{type:"loop",perPage:2,perMove:1,focus:0,speed:500,gap:"6.4rem",padding:"4rem",arrows:!0,pagination:!0,breakpoints:{576:{perPage:1,perMove:1,padding:"1.6rem",gap:"1.6rem"}}}).mount()}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".review").forEach((function(e){var t=e.querySelector(".review__text"),n=e.querySelector(".review__scroll");if(t.scrollHeight>=n.scrollHeight){var o=function(){s=-4,l()},r=function(){s=4,l()},l=function(){null===i&&(i=requestAnimationFrame((function e(){t.scrollTop+=s,t.scrollTop<=0||t.scrollTop+t.clientHeight>=t.scrollHeight?c():i=requestAnimationFrame(e)})))},c=function(){null!==i&&(cancelAnimationFrame(i),i=null)},s=0,i=null;e.querySelector(".scroll-up").addEventListener("mousedown",o),e.querySelector(".scroll-down").addEventListener("mousedown",r),e.querySelector(".scroll-up").addEventListener("touchstart",o,{passive:!0}),e.querySelector(".scroll-down").addEventListener("touchstart",r,{passive:!0}),document.addEventListener("touchend",c,{passive:!0}),document.addEventListener("mouseup",c)}else n.classList.add("hidden")}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".images-slider").forEach((function(e){new Splide(".images-slider",{type:"loop",perPage:e.classList.contains("auto-width")?1:3,perMove:1,omitEnd:!0,focus:"center",updateOnMove:!0,speed:500,arrows:!0,pagination:!0,autoWidth:!!e.classList.contains("auto-width"),gap:"1.4rem",breakpoints:{576:{perPage:1,perMove:1}}}).mount()}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".faq").forEach((function(e){var t=window.innerWidth,n="fr"===document.body.dataset.lang,i=e.querySelectorAll(".faq__item"),o=e.querySelector(".faq__list");function c(e,t){return Array.from(e).slice(0,t).reduce((function(e,t){return e+t.getBoundingClientRect().height}),0)+1}function r(){if(i.length>5&&t<=576){var r=e.querySelector(".faq__btn");o.classList.add("hidden"),o.style.height="".concat(c(i,5),"px"),r||((r=document.createElement("button")).textContent=n?"voir plus":"see more",r.classList.add("s1-t","faq__btn","read-more-btn"),o.insertAdjacentElement("afterend",r),r.addEventListener("click",(function(){o.style.height="".concat(c(i,i.length),"px"),o.classList.remove("hidden"),r.remove()})))}else o.style.height="auto"}r(),window.addEventListener("resize",(function(){window.innerWidth!==t&&(t=window.innerWidth,r())})),i.forEach((function(e){e.querySelector(".faq__item-question").addEventListener("click",(function(){e.classList.toggle("active"),o.classList.contains("hidden")?o.style.height="".concat(c(i,5),"px"):o.style.height="auto"}))}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){!function(){function e(e,t){var r=e.querySelector(".areas-serve-shop__readmore");r.addEventListener("click",(function(e){t.classList.remove("fix-height"),r.remove()}))}document.querySelectorAll(".areas-serve-shop").forEach((function(t){var r=t.querySelectorAll(".cities-list li"),i=t.querySelector(".cities-list"),n="fr"===document.body.dataset.lang,o=document.createElement("button");o.classList.add("areas-serve-shop__readmore","read-more-btn"),o.textContent=n?"TOUTES LES VILLES":"VIEW ALL CITIES",o.setAttribute("aria-label",n?"Afficher la liste complète des villes":"Show full cities list"),r&&(window.innerWidth<576?r.length>10&&(i.after(o),e(t,i)):r.length>25&&(i.after(o),e(t,i)))}))}()}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".blog").forEach((function(e){var t=e.querySelectorAll(".card"),r=e.querySelector(".blog__cards"),o="fr"===document.body.dataset.lang;if(t){if(t.length>3){var a=document.createElement("button");a.classList.add("blog__see-more","read-more-btn"),a.textContent=o?"VOIR PLUS":"SEE MORE",a.setAttribute("aria-label",o?"Afficher toutes les cartes":"Show all cards"),r.after(a),r.classList.add("fix-height"),a.addEventListener("click",(function(e){r.classList.remove("fix-height"),a.remove()}))}t.forEach((function(e){var t,r,o=e.querySelector(".card__text"),a=(t=e.querySelector(".card__title"),r=parseInt(window.getComputedStyle(t).lineHeight),Math.floor(t.clientHeight/r));3===a?o.style.webkitLineClamp=1:a>3&&(o.style.height=0)}))}}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".card").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault(),window.location.href=e.querySelector(".card__title").href}))}))}))})();
(()=>{"use strict";document.addEventListener("DOMContentLoaded",(function(){handleInputAppliances(".request-form")}))})();