1/*! For license information please see splide-extension-auto-scroll.min.js.LICENSE.txt */ 2(()=>{var n={581:(n,t,e)=>{var o,r;void 0===(r="function"==typeof(o=function(){"use strict";function n(n){n.length=0}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 r(n,t){return typeof t===n}var i=Array.isArray;function u(n){return i(n)?n:[n]}function c(n,t){u(n).forEach(t)}e(r,"function"),e(r,"string"),e(r,"undefined");var a=Object.keys;function f(n,t,e){if(n){var o=a(n);o=e?o.reverse():o;for(var r=0;r<o.length;r++){var i=o[r];if("__proto__"!==i&&!1===t(n[i],i))break}}return n}function s(n){return t(arguments,1).forEach((function(t){f(t,(function(e,o){n[o]=t[o]}))})),n}var l=Math.min;function d(){var t=[];function e(n,e,o,r){i(n,e,(function(n,e,i){var u="addEventListener"in n,c=u?n.removeEventListener.bind(n,e,o,r):n.removeListener.bind(n,o);u?n.addEventListener(e,o,r):n.addListener(o),t.push([n,e,i,o,c])}))}function o(n,e,o){i(n,e,(function(n,e,r){t=t.filter((function(t){return!!(t[0]!==n||t[1]!==e||t[2]!==r||o&&t[3]!==o)||(t[4](),!1)}))}))}function r(n,t,e){var o,r=!0;return"function"==typeof CustomEvent?o=new CustomEvent(t,{bubbles:r,detail:e}):(o=document.createEvent("CustomEvent")).initCustomEvent(t,r,!1,e),n.dispatchEvent(o),o}function i(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])}))}))}))}function u(){t.forEach((function(n){n[4]()})),n(t)}return{bind:e,unbind:o,dispatch:r,destroy:u}}var v="move",p="moved",m="updated",y="drag",b="dragged",g="scroll",h="scrolled",E="destroy";function w(n){var o=n?n.event.bus:document.createDocumentFragment(),r=d();function c(n,t){r.bind(o,u(n).join(" "),(function(n){t.apply(t,i(n.detail)?n.detail:[])}))}function a(n){r.dispatch(o,n,t(arguments,1))}return n&&n.event.on(E,r.destroy),s(r,{bus:o,on:c,off:e(r.unbind,o),emit:a})}function S(n,t,e,r){var i,u,c=Date.now,a=0,f=!0,s=0;function d(){if(!f){if(a=n?l((c()-i)/n,1):1,e&&e(a),a>=1&&(t(),i=c(),r&&++s>=r))return p();o(d)}}function v(t){!t&&y(),i=c()-(t?a*n:0),f=!1,o(d)}function p(){f=!0}function m(){i=c(),a=0,e&&e(a)}function y(){u&&cancelAnimationFrame(u),a=0,u=0,f=!0}function b(t){n=t}function g(){return f}return{start:v,rewind:m,pause:p,cancel:y,set:b,isPaused:g}}function x(n,t){var e;function o(){e||(e=S(t||0,(function(){n(),e=null}),null,1)).start()}return o}var A="is-active",L="slide",_="fade";function k(n,t,e){return Array.prototype.slice.call(n,t,e)}function M(n){return n.bind.apply(n,[null].concat(k(arguments,1)))}function C(n,t){return typeof t===n}function O(n){return!j(n)&&C("object",n)}var P=Array.isArray;M(C,"function"),M(C,"string");var F=M(C,"undefined");function j(n){return null===n}function D(n){return P(n)?n:[n]}
2function I(n,t){D(n).forEach(t)}function z(n,t,e){n&&I(t,(function(t){t&&n.classList[e?"add":"remove"](t)}))}var H=Object.keys;function q(n,t,e){if(n){var o=H(n);o=e?o.reverse():o;for(var r=0;r<o.length;r++){var i=o[r];if("__proto__"!==i&&!1===t(n[i],i))break}}return n}function B(n){return k(arguments,1).forEach((function(t){q(t,(function(e,o){n[o]=t[o]}))})),n}function T(n,t){I(n,(function(n){I(t,(function(t){n&&n.removeAttribute(t)}))}))}function G(n,t,e){O(t)?q(t,(function(t,e){G(n,e,t)})):I(n,(function(n){j(e)||""===e?T(n,t):n.setAttribute(t,String(e))}))}var J=Math.min,K=Math.max;function N(n,t,e){var o=J(t,e),r=K(t,e);return J(K(o,n),r)}Math.floor,Math.ceil,Math.abs;var Q={speed:1,autoStart:!0,pauseOnHover:!0,pauseOnFocus:!0},R={startScroll:"Start auto scroll",pauseScroll:"Pause auto scroll"};function U(n,t,e){var o,r,i,u,c,a,f=w(n),s=f.on,l=f.off,d=f.bind,E=f.unbind,k=t.Move,M=k.translate,C=k.getPosition,P=k.toIndex,j=k.getLimit,D=t.Controller,I=D.setIndex,H=D.getIndex,q=t.Direction.orient,T=t.Elements.toggle,J=t.Live,K=n.root,U=x(t.Arrows.update,500),V={};function W(){var n=e.autoScroll;V=B({},Q,O(n)?n:{})}function X(){n.is(_)||!o&&!1!==e.autoScroll&&(o=S(0,rn),Z(),nn())}function Y(){o&&(o.cancel(),o=null,a=void 0,l([v,y,g,p,h]),E(K,"mouseenter mouseleave focusin focusout"),E(T,"click"))}function Z(){V.pauseOnHover&&d(K,"mouseenter mouseleave",(function(n){i="mouseenter"===n.type,on()})),V.pauseOnFocus&&d(K,"focusin focusout",(function(n){u="focusin"===n.type,on()})),V.useToggleButton&&d(T,"click",(function(){r?tn():en()})),s(m,$),s([v,y,g],(function(){c=!0,en(!1)})),s([p,b,h],(function(){c=!1,on()}))}function $(){var n=e.autoScroll;!1!==n?(V=B({},V,O(n)?n:{}),X()):Y(),o&&!F(a)&&M(a)}function nn(){V.autoStart&&("complete"===document.readyState?tn():d(window,"load",tn))}function tn(){fn()&&(o.start(!0),J.disable(!0),u=i=r=!1,an())}function en(n){void 0===n&&(n=!0),r||(r=n,an(),fn()||(o.pause(),J.disable(!1)))}function on(){r||(i||u||c?en(!1):tn())}function rn(){var e=C(),o=un(e);e!==o?(M(o),cn(a=C())):(en(!1),V.rewind&&n.go(V.speed>0?0:t.Controller.getEnd())),U()}function un(t){var e=V.speed||1;return t+=q(e),n.is(L)&&(t=N(t,j(!1),j(!0))),t}function cn(o){var r=n.length,i=(P(o)+r)%r;i!==H()&&(I(i),t.Slides.update(),t.Pagination.update(),"nearby"===e.lazyLoad&&t.LazyLoad.check())}function an(){if(T){var n=r?"startScroll":"pauseScroll";z(T,A,!r),G(T,"aria-label",e.i18n[n]||R[n])}}function fn(){return!o||o.isPaused()}return{setup:W,mount:X,destroy:Y,play:tn,pause:en,isPaused:fn}}typeof window<"u"&&(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.AutoScroll=U)})?o.call(t,e,t,n):o)||(n.exports=r)}},t={};(function e(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return n[o](i,i.exports,e),i.exports})(581)})(); 3//# sourceMappingURL=splide-extension-auto-scroll.min.js.map
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.