(()=>{const e=()=>{const r=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const i=n.target,u=parseInt(i.dataset.rowIndex||0,10),l=i.querySelectorAll(".col"),o=100;u%2!==0?l.forEach((s,c)=>{const a=l.length-c-1;setTimeout(()=>{s.classList.add("fade-in")},o*a)}):l.forEach((s,c)=>{setTimeout(()=>{s.classList.add("fade-in")},o*c)}),r.unobserve(i)}})},{threshold:.2,rootMargin:"0px 0px -100px 0px"});document.querySelectorAll(".standard-col-fadein").forEach((t,n)=>{t.dataset.rowIndex=n,r.observe(t)})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();document.querySelectorAll(".footer-menu").forEach(r=>{r.querySelector("h4").addEventListener("click",()=>{r.classList.toggle("active")})});(()=>{if(!document.querySelector(".ex-loggedin"))return;document.querySelector(".header-full .widgetlogo .logo img").src!=="https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/igate-logo-white.png"&&document.querySelector(".header-full .widgetlogo").classList.add("white-bg")})();function Vr(e,r){for(var t=0;t-1}function ct(e,r){return e.push.apply(e,Je(r)),e}function fe(e,r,t){e&&ne(r,function(n){n&&e.classList[t?"add":"remove"](n)})}function se(e,r){fe(e,ye(r)?r.split(" "):r,!0)}function Ze(e,r){ne(r,e.appendChild.bind(e))}function Rt(e,r){ne(e,function(t){var n=(r||t).parentNode;n&&n.insertBefore(t,r)})}function Be(e,r){return ur(e)&&(e.msMatchesSelector||e.matches).call(e,r)}function dr(e,r){var t=e?Se(e.children):[];return r?t.filter(function(n){return Be(n,r)}):t}function et(e,r){return r?dr(e,r)[0]:e.firstElementChild}var Ge=Object.keys;function we(e,r,t){return e&&(t?Ge(e).reverse():Ge(e)).forEach(function(n){n!=="__proto__"&&r(e[n],n)}),e}function Ue(e){return Se(arguments,1).forEach(function(r){we(r,function(t,n){e[n]=r[n]})}),e}function he(e){return Se(arguments,1).forEach(function(r){we(r,function(t,n){xt(t)?e[n]=t.slice():Fe(t)?e[n]=he({},Fe(e[n])?e[n]:{},t):e[n]=t})}),e}function Kt(e,r){ne(r||Ge(e),function(t){delete e[t]})}function le(e,r){ne(e,function(t){ne(r,function(n){t&&t.removeAttribute(n)})})}function R(e,r,t){Fe(r)?we(r,function(n,i){R(e,i,n)}):ne(e,function(n){Nt(t)||t===""?le(n,r):n.setAttribute(r,String(t))})}function Me(e,r,t){var n=document.createElement(e);return r&&(ye(r)?se(n,r):R(n,r)),t&&Ze(t,n),n}function oe(e,r,t){if(Qe(t))return getComputedStyle(e)[r];Nt(t)||(e.style[r]=""+t)}function We(e,r){oe(e,"display",r)}function fr(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function ae(e,r){return e.getAttribute(r)}function Qt(e,r){return e&&e.classList.contains(r)}function te(e){return e.getBoundingClientRect()}function Te(e){ne(e,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function vr(e){return et(new DOMParser().parseFromString(e,"text/html").body)}function de(e,r){e.preventDefault(),r&&(e.stopPropagation(),e.stopImmediatePropagation())}function mr(e,r){return e&&e.querySelector(r)}function Dt(e,r){return r?Se(e.querySelectorAll(r)):[]}function ve(e,r){fe(e,r,!1)}function Ct(e){return e.timeStamp}function qe(e){return ye(e)?e:e?e+"px":""}var tt="splide",$t="data-"+tt;function Ve(e,r){if(!e)throw new Error("["+tt+"] "+(r||""))}var Ee=Math.min,dt=Math.max,ft=Math.floor,ze=Math.ceil,Z=Math.abs;function pr(e,r,t){return Z(e-r)0)-+(e<0)}function kt(e,r){return ne(r,function(t){e=e.replace("%s",""+t)}),e}function Ht(e){return e<10?"0"+e:""+e}var Jt={};function Gr(e){return""+e+Ht(Jt[e]=(Jt[e]||0)+1)}function gr(){var e=[];function r(l,o,s,c){i(l,o,function(a,p,m){var d="addEventListener"in a,f=d?a.removeEventListener.bind(a,p,s,c):a.removeListener.bind(a,s);d?a.addEventListener(p,s,c):a.addListener(s),e.push([a,p,m,s,f])})}function t(l,o,s){i(l,o,function(c,a,p){e=e.filter(function(m){return m[0]===c&&m[1]===a&&m[2]===p&&(!s||m[3]===s)?(m[4](),!1):!0})})}function n(l,o,s){var c,a=!0;return typeof CustomEvent=="function"?c=new CustomEvent(o,{bubbles:a,detail:s}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(o,a,!1,s)),l.dispatchEvent(c),c}function i(l,o,s){ne(l,function(c){c&&ne(o,function(a){a.split(" ").forEach(function(p){var m=p.split(".");s(c,m[0],m[1])})})})}function u(){e.forEach(function(l){l[4]()}),pe(e)}return{bind:r,unbind:t,dispatch:n,destroy:u}}var Ce="mounted",Zt="ready",be="move",rt="moved",hr="click",Ur="active",Wr="inactive",zr="visible",Yr="hidden",Y="refresh",ee="updated",Ye="resize",Vt="resized",Xr="drag",Kr="dragging",Qr="dragged",jt="scroll",De="scrolled",Jr="overflow",yr="destroy",Zr="arrows:mounted",en="arrows:updated",tn="pagination:mounted",rn="pagination:updated",Er="navigation:mounted",br="autoplay:play",nn="autoplay:playing",Sr="autoplay:pause",Ar="lazyload:loaded",Lr="sk",qr="sh",vt="ei";function U(e){var r=e?e.event.bus:document.createDocumentFragment(),t=gr();function n(u,l){t.bind(r,Je(u).join(" "),function(o){l.apply(l,xt(o.detail)?o.detail:[])})}function i(u){t.dispatch(r,u,Se(arguments,1))}return e&&e.event.on(yr,t.destroy),Ue(t,{bus:r,on:n,off:F(t.unbind,r),emit:i})}function pt(e,r,t,n){var i=Date.now,u,l=0,o,s=!0,c=0;function a(){if(!s){if(l=e?Ee((i()-u)/e,1):1,t&&t(l),l>=1&&(r(),u=i(),n&&++c>=n))return m();o=Xt(a)}}function p(h){h||f(),u=i()-(h?l*e:0),s=!1,o=Xt(a)}function m(){s=!0}function d(){u=i(),l=0,t&&t(l)}function f(){o&&cancelAnimationFrame(o),l=0,o=0,s=!0}function v(h){e=h}function g(){return s}return{start:p,rewind:d,pause:m,cancel:f,set:v,isPaused:g}}function on(e){var r=e;function t(i){r=i}function n(i){return Ot(Je(i),r)}return{set:t,is:n}}function an(e,r){var t=pt(0,e,null,1);return function(){t.isPaused()&&t.start()}}function cn(e,r,t){var n=e.state,i=t.breakpoints||{},u=t.reducedMotion||{},l=gr(),o=[];function s(){var f=t.mediaQuery==="min";Ge(i).sort(function(v,g){return f?+v-+g:+g-+v}).forEach(function(v){a(i[v],"("+(f?"min":"max")+"-width:"+v+"px)")}),a(u,Yt),p()}function c(f){f&&l.destroy()}function a(f,v){var g=matchMedia(v);l.bind(g,"change",p),o.push([f,g])}function p(){var f=n.is(ut),v=t.direction,g=o.reduce(function(h,y){return he(h,y[1].matches?y[0]:{})},{});Kt(t),d(g),t.destroy?e.destroy(t.destroy==="completely"):f?(c(!0),e.mount()):v!==t.direction&&e.refresh()}function m(f){matchMedia(Yt).matches&&(f?he(t,u):Kt(t,Ge(u)))}function d(f,v,g){he(t,f),v&&he(Object.getPrototypeOf(t),f),(g||!n.is(Pe))&&e.emit(ee,t)}return{setup:s,destroy:c,reduce:m,set:d}}var gt="Arrow",ht=gt+"Left",yt=gt+"Right",wr=gt+"Up",Tr=gt+"Down",er="rtl",Et="ttb",Lt={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[wr,yt],ArrowRight:[Tr,ht]};function sn(e,r,t){function n(u,l,o){o=o||t.direction;var s=o===er&&!l?1:o===Et?0:-1;return Lt[u]&&Lt[u][s]||u.replace(/width|left|right/i,function(c,a){var p=Lt[c.toLowerCase()][s]||c;return a>0?p.charAt(0).toUpperCase()+p.slice(1):p})}function i(u){return u*(t.direction===er?1:-1)}return{resolve:n,orient:i}}var me="role",xe="tabindex",ln="disabled",ie="aria-",nt=ie+"controls",_r=ie+"current",tr=ie+"selected",re=ie+"label",Ft=ie+"labelledby",Cr=ie+"hidden",Bt=ie+"orientation",Xe=ie+"roledescription",rr=ie+"live",nr=ie+"busy",or=ie+"atomic",Gt=[me,xe,ln,nt,_r,re,Ft,Cr,Bt,Xe],ue=tt+"__",Ae="is-",qt=tt,ar=ue+"track",un=ue+"list",bt=ue+"slide",Ir=bt+"--clone",dn=bt+"__container",Ut=ue+"arrows",St=ue+"arrow",kr=St+"--prev",Pr=St+"--next",At=ue+"pagination",Mr=At+"__page",fn=ue+"progress",vn=fn+"__bar",mn=ue+"toggle",pn=ue+"spinner",gn=ue+"sr",hn=Ae+"initialized",_e=Ae+"active",xr=Ae+"prev",Nr=Ae+"next",Pt=Ae+"visible",Mt=Ae+"loading",Or=Ae+"focus-in",Rr=Ae+"overflow",yn=[_e,Pt,xr,Nr,Mt,Or,Rr],En={slide:bt,clone:Ir,arrows:Ut,arrow:St,prev:kr,next:Pr,pagination:At,page:Mr,spinner:pn};function bn(e,r){if(lr(e.closest))return e.closest(r);for(var t=e;t&&t.nodeType===1&&!Be(t,r);)t=t.parentElement;return t}var Sn=5,ir=200,Dr="touchstart mousedown",wt="touchmove mousemove",Tt="touchend touchcancel mouseup click";function An(e,r,t){var n=U(e),i=n.on,u=n.bind,l=e.root,o=t.i18n,s={},c=[],a=[],p=[],m,d,f;function v(){E(),M(),y()}function g(){i(Y,h),i(Y,v),i(ee,y),u(document,Dr+" keydown",function(S){f=S.type==="keydown"},{capture:!0}),u(l,"focusin",function(){fe(l,Or,!!f)})}function h(S){var C=Gt.concat("style");pe(c),ve(l,a),ve(m,p),le([m,d],C),le(l,S?C:["style",Xe])}function y(){ve(l,a),ve(m,p),a=N(qt),p=N(ar),se(l,a),se(m,p),R(l,re,t.label),R(l,Ft,t.labelledby)}function E(){m=_("."+ar),d=et(m,"."+un),Ve(m&&d,"A track/list element is missing."),ct(c,dr(d,"."+bt+":not(."+Ir+")")),we({arrows:Ut,pagination:At,prev:kr,next:Pr,bar:vn,toggle:mn},function(S,C){s[C]=_("."+S)}),Ue(s,{root:l,track:m,list:d,slides:c})}function M(){var S=l.id||Gr(tt),C=t.role;l.id=S,m.id=m.id||S+"-track",d.id=d.id||S+"-list",!ae(l,me)&&l.tagName!=="SECTION"&&C&&R(l,me,C),R(l,Xe,o.carousel),R(d,me,"presentation")}function _(S){var C=mr(l,S);return C&&bn(C,"."+qt)===l?C:void 0}function N(S){return[S+"--"+t.type,S+"--"+t.direction,t.drag&&S+"--draggable",t.isNavigation&&S+"--nav",S===qt&&_e]}return Ue(s,{setup:v,mount:g,destroy:h})}var Oe="slide",$e="loop",ot="fade";function Ln(e,r,t,n){var i=U(e),u=i.on,l=i.emit,o=i.bind,s=e.Components,c=e.root,a=e.options,p=a.isNavigation,m=a.updateOnMove,d=a.i18n,f=a.pagination,v=a.slideFocus,g=s.Direction.resolve,h=ae(n,"style"),y=ae(n,re),E=t>-1,M=et(n,"."+dn),_;function N(){E||(n.id=c.id+"-slide"+Ht(r+1),R(n,me,f?"tabpanel":"group"),R(n,Xe,d.slide),R(n,re,y||kt(d.slideLabel,[r+1,e.length]))),S()}function S(){o(n,"click",F(l,hr,x)),o(n,"keydown",F(l,Lr,x)),u([rt,qr,De],L),u(Er,H),m&&u(be,P)}function C(){_=!0,i.destroy(),ve(n,yn),le(n,Gt),R(n,"style",h),R(n,re,y||"")}function H(){var k=e.splides.map(function(A){var I=A.splide.Components.Slides.getAt(r);return I?I.slide.id:""}).join(" ");R(n,re,kt(d.slideX,(E?t:r)+1)),R(n,nt,k),R(n,me,v?"button":""),v&&le(n,Xe)}function P(){_||L()}function L(){if(!_){var k=e.index;q(),w(),fe(n,xr,r===k-1),fe(n,Nr,r===k+1)}}function q(){var k=D();k!==Qt(n,_e)&&(fe(n,_e,k),R(n,_r,p&&k||""),l(k?Ur:Wr,x))}function w(){var k=W(),A=!k&&(!D()||E);if(e.state.is([Re,Ke])||R(n,Cr,A||""),R(Dt(n,a.focusableNodes||""),xe,A?-1:""),v&&R(n,xe,A?-1:0),k!==Qt(n,Pt)&&(fe(n,Pt,k),l(k?zr:Yr,x)),!k&&document.activeElement===n){var I=s.Slides.getAt(e.index);I&&fr(I.slide)}}function O(k,A,I){oe(I&&M||n,k,A)}function D(){var k=e.index;return k===r||a.cloneStatus&&k===t}function W(){if(e.is(ot))return D();var k=te(s.Elements.track),A=te(n),I=g("left",!0),V=g("right",!0);return ft(k[I])<=ze(A[I])&&ft(A[V])<=ze(k[V])}function G(k,A){var I=Z(k-r);return!E&&(a.rewind||e.is($e))&&(I=Ee(I,e.length-I)),I<=A}var x={index:r,slideIndex:t,slide:n,container:M,isClone:E,mount:N,destroy:C,update:L,style:O,isWithin:G};return x}function qn(e,r,t){var n=U(e),i=n.on,u=n.emit,l=n.bind,o=r.Elements,s=o.slides,c=o.list,a=[];function p(){m(),i(Y,d),i(Y,m)}function m(){s.forEach(function(L,q){v(L,q,-1)})}function d(){_(function(L){L.destroy()}),pe(a)}function f(){_(function(L){L.update()})}function v(L,q,w){var O=Ln(e,q,w,L);O.mount(),a.push(O),a.sort(function(D,W){return D.index-W.index})}function g(L){return L?N(function(q){return!q.isClone}):a}function h(L){var q=r.Controller,w=q.toIndex(L),O=q.hasFocus()?1:t.perPage;return N(function(D){return st(D.index,w,w+O-1)})}function y(L){return N(L)[0]}function E(L,q){ne(L,function(w){if(ye(w)&&(w=vr(w)),ur(w)){var O=s[q];O?Rt(w,O):Ze(c,w),se(w,t.classes.slide),C(w,F(u,Ye))}}),u(Y)}function M(L){Te(N(L).map(function(q){return q.slide})),u(Y)}function _(L,q){g(q).forEach(L)}function N(L){return a.filter(lr(L)?L:function(q){return ye(L)?Be(q.slide,L):Ot(Je(L),q.index)})}function S(L,q,w){_(function(O){O.style(L,q,w)})}function C(L,q){var w=Dt(L,"img"),O=w.length;O?w.forEach(function(D){l(D,"load error",function(){--O||q()})}):q()}function H(L){return L?s.length:a.length}function P(){return a.length>t.perPage}return{mount:p,destroy:d,update:f,register:v,get:g,getIn:h,getAt:y,add:E,remove:M,forEach:_,filter:N,style:S,getLength:H,isEnough:P}}function wn(e,r,t){var n=U(e),i=n.on,u=n.bind,l=n.emit,o=r.Slides,s=r.Direction.resolve,c=r.Elements,a=c.root,p=c.track,m=c.list,d=o.getAt,f=o.style,v,g,h;function y(){E(),u(window,"resize load",an(F(l,Ye))),i([ee,Y],E),i(Ye,M)}function E(){v=t.direction===Et,oe(a,"maxWidth",qe(t.width)),oe(p,s("paddingLeft"),_(!1)),oe(p,s("paddingRight"),_(!0)),M(!0)}function M(x){var k=te(a);(x||g.width!==k.width||g.height!==k.height)&&(oe(p,"height",N()),f(s("marginRight"),qe(t.gap)),f("width",C()),f("height",H(),!0),g=k,l(Vt),h!==(h=G())&&(fe(a,Rr,h),l(Jr,h)))}function _(x){var k=t.padding,A=s(x?"right":"left");return k&&qe(k[A]||(Fe(k)?0:k))||"0px"}function N(){var x="";return v&&(x=S(),Ve(x,"height or heightRatio is missing."),x="calc("+x+" - "+_(!1)+" - "+_(!0)+")"),x}function S(){return qe(t.height||te(m).width*t.heightRatio)}function C(){return t.autoWidth?null:qe(t.fixedWidth)||(v?"":P())}function H(){return qe(t.fixedHeight)||(v?t.autoHeight?null:P():S())}function P(){var x=qe(t.gap);return"calc((100%"+(x&&" + "+x)+")/"+(t.perPage||1)+(x&&" - "+x)+")"}function L(){return te(m)[s("width")]}function q(x,k){var A=d(x||0);return A?te(A.slide)[s("width")]+(k?0:D()):0}function w(x,k){var A=d(x);if(A){var I=te(A.slide)[s("right")],V=te(m)[s("left")];return Z(I-V)+(k?0:D())}return 0}function O(x){return w(e.length-1)-w(0)+q(0,x)}function D(){var x=d(0);return x&&parseFloat(oe(x.slide,s("marginRight")))||0}function W(x){return parseFloat(oe(p,s("padding"+(x?"Right":"Left"))))||0}function G(){return e.is(ot)||O(!0)>L()}return{mount:y,resize:M,listSize:L,slideSize:q,sliderSize:O,totalSize:w,getPadding:W,isOverflow:G}}var Tn=2;function _n(e,r,t){var n=U(e),i=n.on,u=r.Elements,l=r.Slides,o=r.Direction.resolve,s=[],c;function a(){i(Y,p),i([ee,Ye],d),(c=g())&&(f(c),r.Layout.resize(!0))}function p(){m(),a()}function m(){Te(s),pe(s),n.destroy()}function d(){var h=g();c!==h&&(cV)&&(L(),C(P(O(),A>V),!0)),l(Re),u(be,I,V,A),E.start(I,function(){l(Ne),u(rt,I,V,A),K&&K()})}function S(A){C(w(A,!0))}function C(A,I){if(!e.is(ot)){var V=I?A:H(A);oe(h,"transform","translate"+f("X")+"("+V+"px)"),A!==V&&u(qr)}}function H(A){if(e.is($e)){var I=q(A),V=I>r.Controller.getEnd(),K=I<0;(K||V)&&(A=P(A,V))}return A}function P(A,I){var V=A-G(I),K=m();return A-=v(K*(ze(Z(V)/K)||1))*(I?1:-1),A}function L(){C(O(),!0),E.cancel()}function q(A){for(var I=r.Slides.get(),V=0,K=1/0,X=0;X=0:I<=h[f("scrollWidth")]-te(y)[f("width")]}function k(A,I){I=Qe(I)?O():I;var V=A!==!0&&v(I)v(G(!0));return V||K}return{mount:M,move:N,jump:S,translate:C,shift:P,cancel:L,toIndex:q,toPosition:w,getPosition:O,getLimit:G,exceededLimit:k,reposition:_}}function In(e,r,t){var n=U(e),i=n.on,u=n.emit,l=r.Move,o=l.getPosition,s=l.getLimit,c=l.toPosition,a=r.Slides,p=a.isEnough,m=a.getLength,d=t.omitEnd,f=e.is($e),v=e.is(Oe),g=F(O,!1),h=F(O,!0),y=t.start||0,E,M=y,_,N,S;function C(){H(),i([ee,Y,vt],H),i(Vt,P)}function H(){_=m(!0),N=t.perMove,S=t.perPage,E=x();var b=Ie(y,0,d?E:_-1);b!==y&&(y=b,l.reposition())}function P(){E!==x()&&u(vt)}function L(b,j,J){if(!ge()){var z=w(b),Q=G(z);Q>-1&&(j||Q!==y)&&(V(Q),l.move(z,Q,M,J))}}function q(b,j,J,z){r.Scroll.scroll(b,j,J,function(){var Q=G(l.toIndex(o()));V(d?Ee(Q,E):Q),z&&z()})}function w(b){var j=y;if(ye(b)){var J=b.match(/([+\-<>])(\d+)?/)||[],z=J[1],Q=J[2];z==="+"||z==="-"?j=D(y+ +(""+z+(+Q||1)),y):z===">"?j=Q?k(+Q):g(!0):z==="<"&&(j=h(!0))}else j=f?b:Ie(b,0,E);return j}function O(b,j){var J=N||(X()?1:S),z=D(y+J*(b?-1:1),y,!(N||X()));return z===-1&&v&&!pr(o(),s(!b),1)?b?0:E:j?z:G(z)}function D(b,j,J){if(p()||X()){var z=W(b);z!==b&&(j=b,b=z,J=!1),b<0||b>E?!N&&(st(0,b,j,!0)||st(E,j,b,!0))?b=k(A(b)):f?b=J?b<0?-(_%S||S):_:b:t.rewind?b=b<0?E:0:b=-1:J&&b!==j&&(b=k(A(j)+(b0;)if(c(_-1,!0)!==c(b,!0)){b++;break}return Ie(b,0,_-1)}function k(b){return Ie(X()?b:S*b,0,E)}function A(b){return X()?Ee(b,E):ft((b>=E?_-1:b)/S)}function I(b){var j=l.toIndex(b);return v?Ie(j,0,E):j}function V(b){b!==y&&(M=y,y=b)}function K(b){return b?M:y}function X(){return!Qe(t.focus)||t.isNavigation}function ge(){return e.state.is([Re,Ke])&&!!t.waitForTransition}return{mount:C,go:L,scroll:q,getNext:g,getPrev:h,getAdjacent:O,getEnd:x,setIndex:V,getIndex:K,toIndex:k,toPage:A,toDest:I,hasFocus:X,isBusy:ge}}var kn="http://www.w3.org/2000/svg",Pn="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",at=40;function Mn(e,r,t){var n=U(e),i=n.on,u=n.bind,l=n.emit,o=t.classes,s=t.i18n,c=r.Elements,a=r.Controller,p=c.arrows,m=c.track,d=p,f=c.prev,v=c.next,g,h,y={};function E(){_(),i(ee,M)}function M(){N(),E()}function _(){var q=t.arrows;q&&!(f&&v)&&H(),f&&v&&(Ue(y,{prev:f,next:v}),We(d,q?"":"none"),se(d,h=Ut+"--"+t.direction),q&&(S(),L(),R([f,v],nt,m.id),l(Zr,f,v)))}function N(){n.destroy(),ve(d,h),g?(Te(p?[f,v]:d),f=v=null):le([f,v],Gt)}function S(){i([Ce,rt,Y,De,vt],L),u(v,"click",F(C,">")),u(f,"click",F(C,"<"))}function C(q){a.go(q,!0)}function H(){d=p||Me("div",o.arrows),f=P(!0),v=P(!1),g=!0,Ze(d,[f,v]),!p&&Rt(d,m)}function P(q){var w=' `);const t=document.createElement("button");t.classList.add("testimonials-sticky-button"),t.setAttribute("data-toggle","modal"),t.setAttribute("data-target","#testimonialsModal"),t.innerHTML='Testimonials',document.body.appendChild(t);const n=document.getElementById("testimonialsModal"),i=n.querySelector(".modal-body"),u=e.querySelector(".testimonial-carousel");i.appendChild(u),$(n).on("shown.bs.modal",()=>{const l=n.querySelector(".splide");l&&l.splide&&l.splide.refresh()})})();document.querySelectorAll(".testimonial-carousel .splide").forEach(e=>{const r=e.closest("#testimonialsModal")!==null,t={type:"loop",focus:0,perMove:1,pagination:!0,arrows:!0,autoplay:!0,interval:6e3,pauseOnHover:!0,pauseOnFocus:!0,gap:"38px"},n={1800:{perPage:3},1200:{perPage:2},768:{perPage:1}},i={1470:{perPage:1},1080:{perPage:2},720:{perPage:1}};new ce(e,{...t,perPage:r?3:2,breakpoints:r?n:i}).mount()});document.querySelectorAll(".delivery-map").forEach(e=>{const r=new IntersectionObserver(t=>{t.forEach(n=>{n.isIntersecting&&(console.log("Map is in view!"),e.classList.add("map-active"),r.unobserve(n.target))})},{threshold:.4});r.observe(e)});document.querySelectorAll(".eco-grid").forEach(e=>{const r=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const i=n.target;i.classList.add("section-loaded"),r.unobserve(i)}})},{threshold:.1});r.observe(e)});document.querySelectorAll(".contact-cta-imagegrid").forEach(e=>{const r=e.querySelectorAll(".image-group");setInterval(()=>{const n=Math.floor(Math.random()*r.length);r.forEach((i,u)=>{u===n&&i.classList.toggle("image-swap")})},4e3);const t=new IntersectionObserver(n=>{n.forEach(i=>{i.isIntersecting&&(i.target.classList.add("loaded"),t.unobserve(e))})},{threshold:.3});t.observe(e)});(()=>{const e=()=>{const r=new IntersectionObserver(t=>{t.forEach(n=>{if(n.isIntersecting){const i=n.target,u=i.querySelectorAll(".landing-intro__feature"),l=300;u.forEach((s,c)=>{setTimeout(()=>{s.classList.add("fade-in")},l*(c+1))});const o=i.querySelector(".landing-intro__main");o&&setTimeout(()=>{o.classList.add("fade-in")},50),r.unobserve(i)}})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});document.querySelectorAll(".landing-intro__content").forEach(t=>{r.observe(t)})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();(()=>{const e=document.querySelector(".custom-grid-tools");if(!e)return;const r=document.querySelector(".tools-actions");r&&e.appendChild(r)})();(()=>{const e=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(u=>{if(u.querySelector(".quantity-input-wrapper"))return;const l=u.querySelector(".inputquantity");if(!l||l.getAttribute("type")==="number")return;const o=document.createElement("div");o.classList.add("quantity-input-wrapper"),o.innerHTML=` `,u.querySelector(".buttons.group").insertAdjacentElement("afterbegin",o),o.appendChild(l);const s=u.querySelector(".quantity-input-increment"),c=u.querySelector(".quantity-input-decrement");s.addEventListener("click",()=>{Number.isNaN(l.value)?l.value=1:l.value=parseInt(l.value,10)+1}),c.addEventListener("click",()=>{Number.isNaN(l.value)||parseInt(l.value,10)<=1?l.value=1:l.value=parseInt(l.value,10)-1}),u.classList.add("quantity-spinner")})},r=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(u=>{if(u.querySelector(".product-actions-wrapper"))return;const l=document.createElement("div");l.classList.add("product-actions-wrapper");const o=u.querySelector(".footer");if(o)o.appendChild(l);else return;const s=u.querySelector(".addtoquicklist-wrapper");s&&l.appendChild(s);const c=u.querySelector(".product-compare-action");c&&l.appendChild(c)})},t=()=>{if(!document.querySelector(".ex-loggedout"))return;const u=document.createElement("div");u.classList.add("product-login-buttons"),u.innerHTML=` Sign In Create Account `,document.querySelectorAll(".catalog-grid .product").forEach(l=>{if(l.querySelector(".product-login-buttons"))return;const o=l.querySelector(".footer-wrapper-price");o&&!o.children.length&&o.appendChild(u.cloneNode(!0))})},n=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(u=>{var o;const l=u.querySelector(".live-inventory-v2-wrapper");l&&((o=u.querySelector(".footer-wrapper-price"))==null||o.appendChild(l))})},i=()=>{e(),r(),t(),n()};document.addEventListener("DOMContentLoaded",()=>{i()}),document.addEventListener("product-loadmore-success",u=>{console.log("More products loaded",u.detail),i()},!1)})();(()=>{if(!document.querySelector(".ex-product"))return;const e=()=>{const o=document.querySelector(".desktop .product-summary");if(!o)return;const s=document.createElement("div");s.classList.add("product-summary-actions"),o.appendChild(s);const c=document.createElement("div");c.classList.add("product-summary-inner"),s.appendChild(c);const a=o.querySelector(".product-configurable-wrapper"),p=o.querySelector(".product-points-wrapper"),m=o.querySelector(".product-links-wrapper");a&&c.appendChild(a),p&&c.appendChild(p),m&&c.appendChild(m);const d=document.querySelector(".desktop .productaddtocart_container");d&&s.appendChild(d)},r=()=>{document.querySelectorAll(".pdp-minibanner").forEach(o=>{var s,c;(c=(s=o.closest(".catalog-single"))==null?void 0:s.querySelector(".product-summary-inner"))==null||c.insertAdjacentElement("afterbegin",o)})},t=()=>{document.querySelectorAll(".catalog-single .product-shopping-actions").forEach(o=>{if(o.querySelector(".product-actions-wrapper"))return;const s=document.createElement("div");s.classList.add("product-actions-wrapper"),o.appendChild(s);const c=o.querySelector(".product-shopping-actions-addtoquicklist");c&&s.appendChild(c);const a=o.querySelector(".product-compare-action");a&&s.appendChild(a)})},n=()=>{document.querySelectorAll(".custom-product-text").forEach(o=>{var s,c;(c=(s=o.closest(".catalog-single"))==null?void 0:s.querySelector(".product-shopping-actions > .product-shopping-actions-row:first-child"))==null||c.insertAdjacentElement("afterend",o)}),document.querySelectorAll(".prod-desc-link").forEach(o=>{o.addEventListener("click",s=>{var a;s.preventDefault();const c=(a=o.closest(".catalog-single"))==null?void 0:a.querySelector(".productdescription_container");c&&c.scrollIntoView({behavior:"smooth"})})}),document.querySelectorAll(".prod-spec-link").forEach(o=>{o.addEventListener("click",s=>{var a;s.preventDefault();const c=(a=o.closest(".catalog-single"))==null?void 0:a.querySelector(".productspecs_container");c&&c.scrollIntoView({behavior:"smooth"})})})},i=()=>{document.querySelectorAll(".catalog-single .product-shopping-actions").forEach(o=>{const s=o.querySelector(".save.with-value"),c=o.querySelector(".live-inventory-v2-wrapper"),a=o.querySelector(".product-shopping-actions-row:first-child");if((s||c)&&a){const p=document.createElement("div");p.classList.add("stock-sale-wrapper"),c&&p.appendChild(c),s&&p.appendChild(s),a.insertAdjacentElement("afterbegin",p)}})},u=()=>{document.querySelectorAll(".page-content .panel-collapse").forEach(o=>{const s=o.querySelector(".panel-body"),c=o.getBoundingClientRect().height;((s==null?void 0:s.getBoundingClientRect().height)||0)>c?o.classList.add("accordion-read-more"):o.classList.remove("accordion-read-more"),o.querySelector(".show-more-btn-wrapper")||(o.insertAdjacentHTML("beforeend",`
See
`),o.querySelector(".show-more-btn-wrapper").addEventListener("click",()=>{o.classList.toggle("show-more")}))})},l=()=>{document.querySelectorAll(".catalog-single .product-summary").forEach(o=>{var c;o.querySelector(".product-indicators .non-returnable")||(c=o.querySelector(".custom-product-text .is-returnable"))==null||c.classList.remove("hide")})};document.addEventListener("DOMContentLoaded",()=>{e(),r(),t(),n(),u(),l(),setTimeout(()=>{u()},1e3)}),document.addEventListener("live-pricing-done",()=>{i()}),window.addEventListener("resize",()=>{u()})})();(()=>{const e=()=>{const i=document.querySelector(".mobile-configurator-ghost"),u=document.querySelector(".custom-configurator:not(.mobile-configurator-ghost)");if(!i||!u)return;const l=()=>{let c='
';const a=u.querySelector('[data-type="col"]');a&&(c+=`

Choose Your Colour

`,a.querySelectorAll('input[type="radio"]').forEach(d=>{const f=d.parentElement.querySelector(".label-colour"),v=d.parentElement.getAttribute("data-colour");let g="";if(f){const h=f.getAttribute("style");h?g=h:f.style.background&&(g=`background: ${f.style.background};`)}c+=`
`}),c+="
");const p=u.querySelector('[data-type="place"]');p&&(c+=`

Choose Your Logo Placement

Tap to select/deselect placement options.

`,p.querySelectorAll('input[type="checkbox"]').forEach(d=>{const f=p.querySelector(`label[for="${d.id}"]`),v=f?f.querySelector("img"):null;c+=`
`}),c+="
"),u.querySelector('[data-type="file"]')&&(c+=`

Upload Your Logo

📁 Tap to upload your logo

JPG, PNG, WEBP, PSD, AI, PDF

`),u.querySelectorAll("select").forEach(d=>{var h;const f=d.closest(".custom-configurator-section"),v=f.getAttribute("data-type"),g=((h=f.querySelector("h4"))==null?void 0:h.textContent)||"Select Option";c+=`

${g}

"}),c+="
",i.querySelector(".mobile-configurator-message").insertAdjacentHTML("afterend",c)},o=()=>{i.querySelectorAll(".mobile-sync-colour").forEach(a=>{a.addEventListener("click",()=>{const p=a.getAttribute("data-sync-value"),m=u.querySelector(`input[type="radio"][value="${p}"]`);m&&(m.checked=!0,m.dispatchEvent(new Event("change",{bubbles:!0}))),i.querySelectorAll(".mobile-sync-colour").forEach(d=>{d.classList.remove("mobile-selected")}),a.classList.add("mobile-selected")})}),i.querySelectorAll(".mobile-sync-placement").forEach(a=>{a.addEventListener("click",()=>{const p=a.getAttribute("data-sync-value"),m=u.querySelector(`input[type="checkbox"][value="${p}"]`);m&&(m.checked=!m.checked,m.dispatchEvent(new Event("change",{bubbles:!0}))),a.classList.toggle("mobile-selected")})});const c=i.querySelector(".mobile-sync-file");c&&c.addEventListener("click",()=>{const a=u.querySelector("#logo-upload-input");a&&a.click()}),i.querySelectorAll(".mobile-sync-dropdown").forEach(a=>{a.addEventListener("change",()=>{const p=a.value,m=a.getAttribute("data-sync-select"),d=u.querySelector(`select[name="${m}"]`);d&&(d.value=p,d.dispatchEvent(new Event("change",{bubbles:!0})))})})},s=()=>{u.addEventListener("change",()=>{setTimeout(()=>{const c=u.querySelector('input[type="radio"]:checked');if(i.querySelectorAll(".mobile-sync-colour").forEach(a=>{a.classList.remove("mobile-selected")}),c){const a=i.querySelector(`.mobile-sync-colour[data-sync-value="${c.value}"]`);a&&a.classList.add("mobile-selected")}i.querySelectorAll(".mobile-sync-placement").forEach(a=>a.classList.remove("mobile-selected")),u.querySelectorAll('input[type="checkbox"]:checked').forEach(a=>{const p=i.querySelector(`.mobile-sync-placement[data-sync-value="${a.value}"]`);p&&p.classList.add("mobile-selected")}),u.querySelectorAll("select").forEach(a=>{if(a.value){const p=a.name,m=i.querySelector(`[data-sync-select="${p}"]`);m&&(m.value=a.value)}})},10)})};l(),o(),s()},r=()=>{let i=document.querySelectorAll(".custom-configurator-summary");if(!i.length){const o=document.createElement("div");o.classList.add("custom-configurator-summary"),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(s=>{var c,a,p;s.insertAdjacentElement("beforebegin",o.cloneNode(!0)),(c=s.querySelector(".live-inventory-v2-add-to-cart-wrapper"))==null||c.classList.add("custom-configurator-add-to-cart-wrapper"),(a=s.querySelector(".live-inventory-v2-add-to-cart-wrapper"))==null||a.insertAdjacentHTML("afterbegin",` `),(p=s.querySelector(".custom-configurator-add-to-cart"))==null||p.addEventListener("click",()=>{var m;s.closest(".product-shopping-actions-row").querySelector(".unselected")?(s.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.add("show-incomplete"),s.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.add("shake-horizontal"),setTimeout(()=>{s.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.remove("shake-horizontal")},500)):(m=s.querySelector(".btn-add-to-cart"))==null||m.click()})}),i=document.querySelectorAll(".custom-configurator-summary")}i.forEach(o=>{o.innerHTML=""});const u=[];document.querySelectorAll(".custom-configurator-section:not(.mobile-sync-section)").forEach(o=>{var a,p,m;const s=o.getAttribute("data-type");let c="";switch(s){case"col":c=((a=o.querySelector("input:checked"))==null?void 0:a.value)||"",i.forEach(d=>{var f;d.insertAdjacentHTML("beforeend",`
${c||"Select colour"}
`)});break;case"place":c=Array.from(o.querySelectorAll("input:checked")).map(d=>d.value).join("|"),i.forEach(d=>{let f=0;o.querySelectorAll("input:checked").forEach(v=>{const g=v.value;d.insertAdjacentHTML("beforeend",`
${g}
${g}
`),f+=1}),f===0&&d.insertAdjacentHTML("beforeend",`
No placement selected
Select placement
`)});break;case"file":c=((p=o.querySelector("a"))==null?void 0:p.href)||"",i.forEach(d=>{const f=o.querySelector(".uploaded a");if(f){const v=f.href.split(".").pop().toLowerCase(),h={pdf:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-pdf.svg",psd:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-psd.svg",ai:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-ai.svg"}[v]||f.href;d.insertAdjacentHTML("beforeend",`
${f.innerText}
Logo Added
`)}else d.insertAdjacentHTML("beforeend",`
No logo uploaded
Upload logo
`)});break;default:c=((m=o.querySelector("select"))==null?void 0:m.value)||"",i.forEach(d=>{d.insertAdjacentHTML("beforeend",`
${c}
${c||"No selection"}
`)});break}u.push({[s]:c})}),document.querySelectorAll(".lineref").forEach(o=>{o.setAttribute("value",JSON.stringify(u))}),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(o=>{var s;(s=o.closest(".product-shopping-actions-row"))!=null&&s.querySelector(".unselected")?o.classList.remove("show-add-to-cart"):o.classList.add("show-add-to-cart")})},t=i=>{const u=[];return i.querySelectorAll(":scope > li").forEach(l=>{const o={text:l.childNodes[0].nodeValue.trim()},s=l.querySelector("ul");s&&(o.children=t(s)),u.push(o)}),u},n=(i,u)=>{const l=new FormData;l.append("file",i),$.ajax({method:"post",url:"/ajax/upload-file",data:l,processData:!1,contentType:!1}).then(o=>{if(o.status==="success"){const{filepath:s}=o.data,c=new FileReader;c.readAsDataURL(i),c.onloadend=function(){return function(){u.innerHTML=`

Uploaded: ${i.name}

`,(s.endsWith(".png")||s.endsWith(".jpg")||s.endsWith(".jpeg")||s.endsWith(".webp"))&&u.insertAdjacentHTML("beforeend",` ${i.name} `),r()}}()}})};(()=>{if(!document.querySelector(".ex-product"))return;const i=document.querySelector(".product-description custom-html");if(!i)return;const u="Custom Configurator",l=i.innerHTML,o=l.indexOf(u);if(o!==-1){const d=l.substring(0,o),f=l.substring(o);i.innerHTML=`${d}
${f}
`}const s=document.querySelector(".custom-configurator-data ul");if(!s)return;const c=s?t(s):[];let a='
',p="";c.forEach(d=>{var f;switch(d.text){case"Type":p=d.children[0].text;break;case"Title":a+=`

${d.children[0].text}

`;break;case"Colour":a+='
',a+="

Choose Your Colour

",a+='
',d.children.forEach(v=>{let g="";v.children?g=v.children[0].text:g=(window.customConfiguratorColour||{})[v.text.toLowerCase()]||"",a+=`
`,a+=``,a+=``,a+=`
`,a+="
"}),a+="
",a+="
";break;case"Logo Placement":{const v=window.customConfiguratorPlacement||{};a+='
',a+="

Choose Your Logo Placement

",a+="

Select all that apply.

",a+='
',d.children.forEach(g=>{var _;const h=g.text.toLowerCase(),y=v[p.toLowerCase()]||{},E=v.globalFallback||"",M=((_=y.positions)==null?void 0:_[h])||y.fallback||E;a+=`
`,a+=``,a+=``,a+="
"}),a+="
",a+="
";break}case"Logo Upload":{a+='
',a+="

Upload Your Logo

",a+=`

Drag 'n' drop your file here, or click to select file.

JPG, JPEG, PNG, WEBP, PSD, AI, PDF

`,a+="
",setTimeout(()=>{const v=document.getElementById("logo-upload-box"),g=document.getElementById("logo-upload-input");v.addEventListener("dragover",h=>{h.preventDefault(),v.classList.add("dragging")}),v.addEventListener("dragleave",()=>{v.classList.remove("dragging")}),v.addEventListener("drop",h=>{if(h.preventDefault(),v.classList.remove("dragging"),h.dataTransfer&&h.dataTransfer.files.length>0){const y=h.dataTransfer.files[0];n(y,v)}else console.error("No files were dropped or e.dataTransfer is undefined.")}),v.addEventListener("click",()=>{g.click()}),g.addEventListener("change",h=>{const y=h.target.files[0];y&&n(y,v)})},0);break}default:{const v=d.text.toLowerCase().substring(0,6).replace(/\s+/g,"");a+=`
`,a+=`

Choose Your ${d.text}

`,a+=`",a+="
";break}}}),a+="
",document.querySelector(".product-main-row").insertAdjacentHTML("afterend",a);const m=document.querySelectorAll(".product-main-row");m.length>1&&(m[1].insertAdjacentHTML("afterend",`

Configure your workwear options below. Your selections will be synchronized.

`),e()),document.querySelectorAll(".custom-configurator-section:not(.mobile-sync-section)").forEach(d=>{d.addEventListener("change",()=>{r()})}),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(d=>{d.insertAdjacentHTML("beforeend",'')}),r()})()})();document.querySelectorAll('.customertools[data-static="true"]').forEach(e=>{e.querySelector(".nav-pills").insertAdjacentHTML("afterbegin",` `)}),document.querySelectorAll(".sidebar-mobiletools a").forEach(e=>{e.addEventListener("click",()=>{document.querySelector('.customertools[data-static="false"]').classList.toggle("open")})});(()=>{if(!document.querySelector(".ex-emptysearchresults"))return;const r=new URLSearchParams(window.location.search).get("query");r&&document.querySelectorAll(".no-search-searchterm").forEach(t=>{t.textContent=`'${r}'`}),document.querySelectorAll(".no-search-searchbar").forEach(t=>{t.appendChild(document.querySelector(".header-full .search-form").cloneNode(!0))})})();(()=>{var t;if(!document.querySelector(".ex-cart"))return;document.addEventListener("cart-load-success",()=>{setTimeout(()=>{var n,i;(n=document.querySelector(".desktop .cart-topbuttons"))==null||n.prepend(document.querySelector(".desktop .clear-cart")),(i=document.querySelector(".mobile .cart-topbuttons"))==null||i.prepend(document.querySelector(".mobile .clear-cart"))},200)},!1),document.addEventListener("cart-total-update",()=>{setTimeout(()=>{var n,i;(n=document.querySelector(".desktop .cart-topbuttons"))==null||n.prepend(document.querySelector(".desktop .clear-cart")),(i=document.querySelector(".mobile .cart-topbuttons"))==null||i.prepend(document.querySelector(".mobile .clear-cart"))},200)},!1);const r=document.querySelector(".desktop .cart-banner");r&&((t=document.querySelector(".desktop .carttotals_container"))==null||t.append(r))})();(()=>{if(!document.querySelector(".ex-blog"))return;const r=document.querySelector(".custom-grid-tools .tools-actions");if(!r)return;const t=document.querySelector(".listgrid");t&&(r.appendChild(t),r.querySelector(".listview")&&(r.querySelector(".listview").className="listview",r.querySelector(".listview").innerHTML="List"),r.querySelector(".gridview")&&(r.querySelector(".gridview").className="gridview",r.querySelector(".gridview").innerHTML="Grid"))})();window.categoryIcons&&document.querySelectorAll(".blogarchive-category").forEach(e=>{const r=e.querySelector(".blogarchive-category-name");if(!r)return;const t=r.innerText;if(window.categoryIcons[t]){const n=e.querySelector(".blogarchive-category-icon img");n&&(n.src=window.categoryIcons[t])}});(()=>{var t;if(!document.querySelector(".ex-rewards"))return;const e=document.querySelector(".reward-title"),r=document.querySelector(".rewards-hero-points");e&&r&&(e.classList.remove("col-md-12"),r.appendChild(e)),(t=document.querySelector(".custom-grid-tools .tools-actions"))==null||t.insertAdjacentElement("beforeend",document.querySelector(".sortby"))})();(()=>{const e=()=>{const r=new IntersectionObserver(n=>{n.forEach(i=>{if(i.isIntersecting){const u=i.target,l=u.querySelectorAll(".eco-grid-sustainability-goal");l.forEach((s,c)=>{setTimeout(()=>{s.classList.add("fade-in")},100*c)});const o=u.querySelector(".goals-achievements-achievements-outer");if(o){const s=o.querySelectorAll("p");s.forEach((a,p)=>{setTimeout(()=>{a.classList.add("fade-in")},100*(l.length+p))}),o.querySelectorAll(".list-check li").forEach((a,p)=>{setTimeout(()=>{a.classList.add("fade-in")},100*(l.length+s.length+p))})}r.unobserve(u)}})},{threshold:.2,rootMargin:"0px 0px -100px 0px"}),t=document.querySelector(".goals-achievements");t&&r.observe(t)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();window.hdLoaded?console.log("layout.js already loaded"):(window.hdLoaded=!0,(()=>{if(!document.querySelector(".orderpads-wrapper"))return;const r=document.querySelector(".myaccount.quicklistsedit");if(r){r.insertAdjacentHTML("afterbegin",`
`);const i=document.querySelector(".listtools-top .sortby");document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",i),document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",document.querySelector(".gridtopleft .itemsfound")),document.querySelector(".quicklists-header-left").insertAdjacentElement("afterbegin",document.querySelector(".breadcrumb")),document.querySelector(".listtools-top").insertAdjacentElement("afterbegin",document.querySelector(".quicklist-title"))}document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach(i=>{if(r){const d=i.querySelector(".btn-update-default-qty");d&&i.querySelector(".buttons.group").insertAdjacentElement("beforeend",d);const f=i.querySelector(".actioncontent");f&&i.querySelector(".shopping-actions").insertAdjacentElement("beforeend",f);const v=i.querySelector(".delete");v&&v.insertAdjacentHTML("beforeend","Remove From Quicklist")}const u=document.createElement("div"),l=i.querySelector(".inputquantity");function o(){const d=parseInt(l.value,10)||0;l.value=d+1,l.dispatchEvent(new Event("change",{bubbles:!0}))}function s(){const d=parseInt(l.value,10)||0;d>0&&(l.value=d-1,l.dispatchEvent(new Event("change",{bubbles:!0})))}if(l){u.classList.add("quantity-wrapper"),l.insertAdjacentElement("beforebegin",u),u.appendChild(l);const d=document.createElement("button");d.classList.add("plus-btn"),d.innerHTML='',u.insertAdjacentElement("beforeend",d);const f=document.createElement("button");f.classList.add("minus-btn"),f.innerHTML='',u.insertAdjacentElement("afterbegin",f),d.addEventListener("click",o),f.addEventListener("click",s)}const c=document.createElement("div");c.classList.add("product-stock-and-actions"),i.querySelector(".shopping-actions").appendChild(c);const a=i.querySelector(".quicklist-groups-btn-wrapper");a&&c.insertAdjacentElement("beforeend",a);const p=i.querySelector(".live-inventory-v2-wrapper");p&&r?c.insertAdjacentElement("beforeend",p):p&&i.querySelector(".buttons.group").insertAdjacentElement("beforeend",p);const m=i.querySelector(".product-compare-action");m&&c.insertAdjacentElement("beforeend",m)}),document.addEventListener("live-inventory-done",()=>{console.log("live inventory has just finished running"),document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach(i=>{const u=i.querySelector(".inputquantity");if(!u){i.querySelector(".quantity-wrapper")&&(i.querySelector(".quantity-wrapper").style.display="none");return}const l=i.querySelector(".has-price");if(!l)return;let o=i.querySelector(".total-price");o||(o=document.createElement("span"),o.classList.add("total-price"),l.insertAdjacentElement("afterend",o));const s=()=>{const c=l.textContent.trim(),a=parseFloat(c.replace(/[^0-9.-]+/g,""))||0,p=parseInt(u.value,10)||0,m=a*p;m>0?o.textContent=`€${m.toFixed(2)}`:o.textContent="€0.00"};u.addEventListener("change",s),u.addEventListener("input",s),s()})},!1);const t=document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent"),n=document.createElement("div");n.classList.add("quicklists-banner"),n.innerHTML='
Winter Banner
',t.length>=4?t[3].insertAdjacentElement("afterend",n):t.length>0&&t[t.length-1].insertAdjacentElement("afterend",n)})());