PageSourceSearch

https://www.lacoquetakids.com/cdn/shop/t/291/assets/keen-slider.js?v=143423378084985074941789399761

js lacoquetakids.com collected 2026-09-26 18:43:02 UTC 10,354 bytes, 3 lines download raw bytes

1(function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self).KeenSlider=e()})(this,()=>{"use strict";function t(t2,e2,n2){return e2 in t2?Object.defineProperty(t2,e2,{value:n2,enumerable:!0,configurable:!0,writable:!0}):t2[e2]=n2,t2}function e(t2,e2){const n2=Object.keys(t2);if(Object.getOwnPropertySymbols){let r2=Object.getOwnPropertySymbols(t2);e2&&(r2=r2.filter(e3=>Object.getOwnPropertyDescriptor(t2,e3).enumerable)),n2.push.apply(n2,r2)}return n2}function n(n2){for(let r2=1;r2<arguments.length;r2++){var i2=arguments[r2]!=null?arguments[r2]:{};r2%2?e(Object(i2),!0).forEach(e2=>{t(n2,e2,i2[e2])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n2,Object.getOwnPropertyDescriptors(i2)):e(Object(i2)).forEach(t2=>{Object.defineProperty(n2,t2,Object.getOwnPropertyDescriptor(i2,t2))})}return n2}function r(t2){return(function(t3){if(Array.isArray(t3))return i(t3)})(t2)||(function(t3){if(typeof Symbol<"u"&&Symbol.iterator in Object(t3))return Array.from(t3)})(t2)||(function(t3,e2){if(!t3)return;if(typeof t3=="string")return i(t3,e2);let n2=Object.prototype.toString.call(t3).slice(8,-1);if(n2==="Object"&&t3.constructor&&(n2=t3.constructor.name),n2==="Map"||n2==="Set")return Array.from(t3);if(n2==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n2))return i(t3,e2)})(t2)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function i(t2,e2){(e2==null||e2>t2.length)&&(e2=t2.length);for(var n2=0,r2=new Array(e2);n2<e2;n2++)r2[n2]=t2[n2];return r2}function o(t2){return Array.prototype.slice.call(t2)}function a(t2){const e2=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;return typeof t2=="function"?o(t2()):typeof t2=="string"?o(e2.querySelectorAll(t2)):t2 instanceof HTMLElement?[t2]:t2 instanceof NodeList?t2:[]}function u(t2,e2,n2){return Math.min(Math.max(t2,e2),n2)}return Math.sign||(Math.sign=function(t2){return(t2>0)-(t2<0)||+t2}),function(t2){let e2,i2,o2,c,f,s,l,d,h,v,p,m,b,g,w,y,M,O,S,j,A,x,k,P,E,T,D,C,L,V,X,Y,z,H,I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const q="data-keen-slider-moves",F="data-keen-slider-v";let W=[],_=null,K=!1,N=!1,R=0,U=[];function $(t3,e3,n2){const r2=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};t3.addEventListener(e3,n2,r2),W.push([t3,e3,n2,r2])}function B(t3){if(O&&S===Z(t3)&&ft()){const n2=et(t3).x;if(!rt(t3)&&P)return J(t3);P&&(Kt(),j=n2,P=!1),t3.cancelable&&t3.preventDefault();const r2=j-n2;E+=Math.abs(r2),!T&&E>5&&(T=!0,e2.setAttribute(q,!0)),Yt(k(r2,Gt)*(lt()?-1:1),t3.timeStamp),j=n2}}function G(t3){O||!ft()||nt(t3.target)||(O=!0,P=!0,S=Z(t3),T=!1,E=0,rt(t3),pt(),M=v,j=et(t3).x,Yt(0,t3.timeStamp),ut("dragStart"))}function J(t3){O&&S===Z(t3,!0)&&ft()&&(e2.removeAttribute(q),O=!1,gt(),ut("dragEnd"))}function Q(t3){return t3.changedTouches}function Z(t3){const n2=arguments.length>1&&arguments[1]!==void 0&&arguments[1]?Q(t3):tt(t3);return n2?n2[0]?n2[0].identifier:"error":"default"}function tt(t3){return t3.targetTouches}function et(t3){const e3=tt(t3);return{x:ht()?e3?e3[0].screenY:t3.pageY:e3?e3[0].screenX:t3.pageX,timestamp:t3.timeStamp}}function nt(t3){return t3.hasAttribute(y.preventEvent)}function rt(t3){const e3=tt(t3);if(!e3)return!0;const n2=e3[0],r2=ht()?n2.clientY:n2.clientX,i3=ht()?n2.clientX:n2.clientY,o3=A!==void 0&&x!==void 0&&Math.abs(x-i3)<=Math.abs(A-r2);return A=r2,x=i3,o3}function it(t3){ft()&&O&&t3.preventDefault()}function ot(){$(window,"orientationchange",Dt),$(window,"resize",()=>Tt()),$(e2,"dragstart",t3=>{ft()&&t3.preventDefault()}),$(e2,"mousedown",G),$(y.cancelOnLeave?e2:window,"mousemove",B),y.cancelOnLeave&&$(e2,"mouseleave",J),$(window,"mouseup",J),$(e2,"touchstart",G,{passive:!0}),$(e2,"touchmove",B,{passive:!1}),$(e2,"touchend",J,{passive:!0}),$(e2,"touchcancel",J,{passive:!0}),$(window,"wheel",it,{passive:!1})}function at(){W.forEach(t3=>{t3[0].removeEventListener(t3[1],t3[2],t3[3])}),W=[]}function ut(t3){y[t3]&&y[t3](Gt)}function ct(){return y.centered}function ft(){return i2!==void 0?i2:y.controls}function st(){return y.loop&&o2>1}function lt(){return y.rtl}function dt(){return!y.loop&&y.rubberband}function ht(){return!!y.vertical}function vt(){D=window.requestAnimationFrame(mt)}function pt(){D&&(window.cancelAnimationFrame(D),D=null),C=null}function mt(t3){C||(C=t3);const e3=t3-C,n2=bt(e3);if(e3>=V)return Yt(L-Y,!1),H?H():void ut("afterChange");const r2=zt(n2);if(r2===0||st()||dt()||z){if(r2!==0&&dt()&&!z)return St();Y+=n2,Yt(n2,!1),vt()}else Yt(n2-r2,!1)}function bt(t3){return L*X(t3/V)-Y}function gt(){switch(ut("beforeChange"),y.mode){case"free":Mt();break;case"free-snap":Ot();break;default:wt()}}function wt(){yt((l===1&&p!==0?M:v)+Math.sign(p))}function yt(t3,e3){const n2=arguments.length>2&&arguments[2]!==void 0?arguments[2]:y.duration,r2=arguments.length>3&&arguments[3]!==void 0&&arguments[3],i3=arguments.length>4&&arguments[4]!==void 0&&arguments[4],o3=function(t4){return 1+--t4*t4*t4*t4*t4};jt(Ft(t3=qt(t3,r2,i3)),n2,o3,e3)}function Mt(){if(b===0)return!(!zt(0)||st())&&yt(v);const t3=y.friction/Math.pow(Math.abs(b),-.5);jt(Math.pow(b,2)/t3*Math.sign(b),6*Math.abs(b/t3),t4=>1-Math.pow(1-t4,5))}function Ot(){if(b===0)return yt(v);const t3=y.friction/Math.pow(Math.abs(b),-.5),e3=Math.pow(b,2)/t3*Math.sign(b),n2=6*Math.abs(b/t3),r2=(R+e3)/(s/l);jt((p===-1?Math.floor(r2):Math.ceil(r2))*(s/l)-R,n2,t4=>1-Math.pow(1-t4,5))}function St(){if(pt(),b===0)return yt(v,!0);const t3=.04/Math.pow(Math.abs(b),-.5),e3=Math.pow(b,2)/t3*Math.sign(b),n2=function(t4){return--t4*t4*t4+1};
2jt(e3,3*Math.abs(b/t3),n2,!0,()=>{jt(Ft(qt(v)),500,n2,!0)})}function jt(t3,e3,n2,r2,i3){pt(),L=t3,Y=0,V=e3,X=n2,z=r2,H=i3,C=null,vt()}function At(n2){const r2=a(t2);r2.length&&(e2=r2[0],Tt(n2),ot(),ut("mounted"))}function xt(){let t3;const e3=I.breakpoints||[];for(const r2 in e3)window.matchMedia(r2).matches&&(t3=r2);if(t3===_)return!0;const i3=(_=t3)?e3[_]:I;i3.breakpoints&&_&&delete i3.breakpoints,y=n(n(n({},Bt),I),i3),K=!0,h=null,ut("optionsChanged"),Et()}function kt(t3){if(typeof t3=="function")return t3();const e3=y.autoAdjustSlidesPerView;e3||(o2=Math.max(t3,o2));const n2=st()&&e3?o2-1:o2;return u(t3,1,Math.max(n2,1))}function Pt(){xt(),N=!0,ut("created")}function Et(t3,e3){t3&&(I=t3),e3&&(_=null),Ct(),At(e3)}function Tt(t3){const n2=window.innerWidth;if(xt()&&(n2!==h||t3)){h=n2;const r2=y.slides;typeof r2=="number"?(f=null,o2=r2):(f=a(r2,e2),o2=f?f.length:0);const i3=y.dragSpeed;k=typeof i3=="function"?i3:function(t4){return t4*i3},s=ht()?e2.offsetHeight:e2.offsetWidth,l=kt(y.slidesPerView),d=u(y.spacing,0,s/(l-1)-1),s+=d,c=ct()?(s/2-s/l/2)/s:0,Vt();const p2=!N||K&&y.resetSlide?y.initial:v;$t(st()?p2:Ht(p2)),ht()&&e2.setAttribute(F,!0),K=!1}}function Dt(t3){Tt(),setTimeout(Tt,500),setTimeout(Tt,2e3)}function Ct(){at(),Xt(),e2&&e2.hasAttribute(F)&&e2.removeAttribute(F),ut("destroyed")}function Lt(){f&&f.forEach((t3,e3)=>{const n2=g[e3].distance*s-e3*(s/l-d/l-d/l*(l-1)),r2=ht()?0:n2,i3=ht()?n2:0,o3="translate3d(".concat(r2,"px, ").concat(i3,"px, 0)");t3.style.transform=o3,t3.style["-webkit-transform"]=o3})}function Vt(){f&&f.forEach(t3=>{const e3="calc(".concat(100/l,"% - ").concat(d/l*(l-1),"px)");ht()?(t3.style["min-height"]=e3,t3.style["max-height"]=e3):(t3.style["min-width"]=e3,t3.style["max-width"]=e3)})}function Xt(){if(f){let t3=["transform","-webkit-transform"];t3=[].concat(r(t3),ht?["min-height","max-height"]:["min-width","max-width"]),f.forEach(e3=>{t3.forEach(t4=>{e3.style.removeProperty(t4)})})}}function Yt(t3){const e3=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],n2=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Date.now();_t(t3,n2),e3&&(t3=Rt(t3)),R+=t3,Nt()}function zt(t3){const e3=s*(o2-1*(ct()?1:l))/l,n2=R+t3;return n2>e3?n2-e3:n2<0?n2:0}function Ht(t3){return u(t3,0,o2-1-(ct()?0:l-1))}function It(){const t3=Math.abs(w),e3=R<0?1-t3:t3;return{direction:p,progressTrack:e3,progressSlides:e3*o2/(o2-1),positions:g,position:R,speed:b,relativeSlide:(v%o2+o2)%o2,absoluteSlide:v,size:o2,slidesPerView:l,widthOrHeight:s}}function qt(t3){const e3=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n2=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return st()?e3?Wt(t3,n2):t3:Ht(t3)}function Ft(t3){return-(-s/l*t3+R)}function Wt(t3,e3){const n2=(v%o2+o2)%o2,r2=n2<(t3=(t3%o2+o2)%o2)?-n2-o2+t3:-(n2-t3),i3=n2>t3?o2-n2+t3:t3-n2,a2=e3?Math.abs(r2)<=i3?r2:i3:t3<n2?r2:i3;return v+a2}function _t(t3,e3){clearTimeout(m);const n2=Math.sign(t3);if(n2!==p&&Kt(),p=n2,U.push({distance:t3,time:e3}),m=setTimeout(()=>{U=[],b=0},50),(U=U.slice(-6)).length<=1||p===0)return b=0;const r2=U.slice(0,-1).reduce((t4,e4)=>t4+e4.distance,0),i3=U[U.length-1].time,o3=U[0].time;b=u(r2/(i3-o3),-10,10)}function Kt(){U=[]}function Nt(){w=st()?R%(s*o2/l)/(s*o2/l):R/(s*o2/l),Ut();for(var t3=[],e3=0;e3<o2;e3++){let n2=(1/o2*e3-(w<0&&st()?w+1:w))*o2/l+c;st()&&(n2+=n2>(o2-1)/l?-o2/l:n2<-o2/l+1?o2/l:0);const r2=1/l,i3=n2+r2,a2=i3<r2?i3/r2:i3>1?1-(i3-1)*l/1:1;t3.push({portion:a2<0||a2>1?0:a2,distance:lt()?-1*n2+1-r2:n2})}g=t3,Lt(),ut("move")}function Rt(t3){if(st())return t3;const e3=zt(t3);if(!dt())return t3-e3;if(e3===0)return t3;let n2;return t3*(n2=e3/s,(1-Math.abs(n2))*(1-Math.abs(n2)))}function Ut(){const t3=Math.round(R/(s/l));t3!==v&&(!st()&&(t3<0||t3>o2-1)||(v=t3,ut("slideChanged")))}function $t(t3){ut("beforeChange"),Yt(Ft(t3),!1),ut("afterChange")}var Bt={autoAdjustSlidesPerView:!0,centered:!1,breakpoints:null,controls:!0,dragSpeed:1,friction:.0025,loop:!1,initial:0,duration:500,preventEvent:"data-keen-slider-pe",slides:".keen-slider__slide",vertical:!1,resetSlide:!1,slidesPerView:1,spacing:0,mode:"snap",rtl:!1,rubberband:!0,cancelOnLeave:!0},Gt={controls(t3){i2=t3},destroy:Ct,refresh(t3){Et(t3,!0)},next(){yt(v+1,!0)},prev(){yt(v-1,!0)},moveToSlide(t3,e3){yt(t3,!0,e3)},moveToSlideRelative(t3){const e3=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n2=arguments.length>2?arguments[2]:void 0;yt(t3,!0,n2,!0,e3)},resize(){Tt(!0)},details(){return It()},options(){const t3=n({},y);return delete t3.breakpoints,t3}};return Pt(),Gt}});
3//# sourceMappingURL=/cdn/shop/t/291/assets/keen-slider.js.map?v=143423378084985074941789399761

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