PageSourceSearch

https://www.clcillinois.edu/ResourcePackages/CLCPublic/assets/dist/js/a11ySlider.min.js?package=CLCPublic

js clcillinois.edu collected 2026-09-24 09:14:04 UTC 39,931 bytes, 1 lines download raw bytes

vendor: 4,874 bytes, line 1
1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).A11YSlider=t()}(this,(function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var i=function(e){return e&&e.Math==Math&&e},n=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},r=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),o={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,a={f:l&&!o.call({1:2},1)?function(e){var t=l(this,e);return!!t&&t.enumerable}:o},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},u={}.toString,d=function(e){return u.call(e).slice(8,-1)},h="".split,f=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==d(e)?h.call(e,""):Object(e)}:Object,p=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},v=function(e){return f(p(e))},y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},b=function(e,t){if(!y(e))return e;var i,n;if(t&&"function"==typeof(i=e.toString)&&!y(n=i.call(e)))return n;if("function"==typeof(i=e.valueOf)&&!y(n=i.call(e)))return n;if(!t&&"function"==typeof(i=e.toString)&&!y(n=i.call(e)))return n;throw TypeError("Can't convert object to primitive value")},m={}.hasOwnProperty,g=function(e,t){return m.call(e,t)},S=n.document,_=y(S)&&y(S.createElement),w=function(e){return _?S.createElement(e):{}},E=!r&&!s((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),L=Object.getOwnPropertyDescriptor,A={f:r?L:function(e,t){if(e=v(e),t=b(t,!0),E)try{return L(e,t)}catch(e){}if(g(e,t))return c(!a.f.call(e,t),e[t])}},O=function(e){if(!y(e))throw TypeError(String(e)+" is not an object");return e},x=Object.defineProperty,C={f:r?x:function(e,t,i){if(O(e),t=b(t,!0),O(i),E)try{return x(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},k=r?function(e,t,i){return C.f(e,t,c(1,i))}:function(e,t,i){return e[t]=i,e},T=function(e,t){try{k(n,e,t)}catch(i){n[e]=t}return t},j="__core-js_shared__",N=n[j]||T(j,{}),M=Function.toString;"function"!=typeof N.inspectSource&&(N.inspectSource=function(e){return M.call(e)});var P,D,I,H=N.inspectSource,B=n.WeakMap,F="function"==typeof B&&/native code/.test(H(B)),R=t((function(e){(e.exports=function(e,t){return N[e]||(N[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),X=0,W=Math.random(),V=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++X+W).toString(36)},z=R("keys"),q=function(e){return z[e]||(z[e]=V(e))},G={},U=n.WeakMap;if(F){var Y=new U,$=Y.get,K=Y.has,J=Y.set;P=function(e,t){return J.call(Y,e,t),t},D=function(e){return $.call(Y,e)||{}},I=function(e){return K.call(Y,e)}}else{var Q=q("state");G[Q]=!0,P=function(e,t){return k(e,Q,t),t},D=function(e){return g(e,Q)?e[Q]:{}},I=function(e){return g(e,Q)}}var Z,ee,te={set:P,get:D,has:I,enforce:function(e){return I(e)?D(e):P(e,{})},getterFor:function(e){return function(t){var i;if(!y(t)||(i=D(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}},ie=t((function(e){var t=te.get,i=te.enforce,s=String(String).split("String");(e.exports=function(e,t,r,o){var l=!!o&&!!o.unsafe,a=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof r&&("string"!=typeof t||g(r,"name")||k(r,"name",t),i(r).source=s.join("string"==typeof t?t:"")),e!==n?(l?!c&&e[t]&&(a=!0):delete e[t],a?e[t]=r:k(e,t,r)):a?e[t]=r:T(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||H(this)}))})),ne=n,se=function(e){return"function"==typeof e?e:void 0},re=function(e,t){return arguments.length<2?se(ne[e])||se(n[e]):ne[e]&&ne[e][t]||n[e]&&n[e][t]},oe=Math.ceil,le=Math.floor,ae=function(e){return isNaN(e=+e)?0:(e>0?le:oe)(e)},ce=Math.min,ue=function(e){return e>0?ce(ae(e),9007199254740991):0},de=Math.max,he=Math.min,fe=function(e,t){var i=ae(e);return i<0?de(i+t,0):he(i,t)},pe=function(e){return function(t,i,n){var s,r=v(t),o=ue(r.length),l=fe(n,o);if(e&&i!=i){for(;o>l;)if((s=r[l++])!=s)return!0}else for(;o>l;l++)if((e||l in r)&&r[l]===i)return e||l||0;return!e&&-1}},ve={includes:pe(!0),indexOf:pe(!1)},ye=ve.indexOf,be=function(e,t){var i,n=v(e),s=0,r=[];for(i in n)!g(G,i)&&g(n,i)&&r.push(i);for(;t.length>s;)g(n,i=t[s++])&&(~ye(r,i)||r.push(i));return r},me=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],ge=me.concat("length","prototype"),Se={f:Object.getOwnPropertyNames||function(e){return be(e,ge)}},_e={f:Object.getOwnPropertySymbols},we=re("Reflect","ownKeys")||function(e){var t=Se.f(O(e)),i=_e.f;return i?t.concat(i(e)):t},Ee=function(e,t){for(var i=we(t),n=C.f,s=A.f,r=0;r<i.length;r++){var o=i[r];g(e,o)||n(e,o,s(t,o))}},Le=/#|\.prototype\./,Ae=function(e,t){var i=xe[Oe(e)];return i==ke||i!=Ce&&("function"==typeof t?s(t):!!t)},Oe=Ae.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},xe=Ae.data={},Ce=Ae.NATIVE="N",ke=Ae.POLYFILL="P",Te=Ae,je=A.f,Ne=function(e,t){var i,s,r,o,l,a=e.target,c=e.global,u=e.stat;if(i=c?n:u?n[a]||T(a,{}):(n[a]||{}).prototype)for(s in t){if(o=t[s],r=e.noTargetGet?(l=je(i,s))&&l.value:i[s],!Te(c?s:a+(u?".":"#")+s,e.forced)&&void 0!==r){if(typeof o==typeof r)continue;Ee(o,r)}(e.sham||r&&r.sham)&&k(o,"sham",!0),ie(i,s,o,e)}},Me=Array.isArray||function(e){return"Array"==d(e)},Pe=function(e){return Object(p(e))},De=function(e,t,i){var n=b(t);n in e?C.f(e,n,c(0,i)):e[n]=i},Ie=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),He=Ie&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Be=R("wks"),Fe=n.Symbol,Re=He?Fe:Fe&&Fe.withoutSetter||V,Xe=function(e){return g(Be,e)||(Ie&&g(Fe,e)?Be[e]=Fe[e]:Be[e]=Re("Symbol."+e)),Be[e]},We=Xe("species"),Ve=function(e,t){var i;return Me(e)&&("function"!=typeof(i=e.constructor)||i!==Array&&!Me(i.prototype)?y(i)&&null===(i=i[We])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===t?0:t)},ze=re("navigator","userAgent")||"",qe=n.process,Ge=qe&&qe.versions,Ue=Ge&&Ge.v8;Ue?ee=(Z=Ue.split("."))[0]+Z[1]:ze&&(!(Z=ze.match(/Edge\/(\d+)/))||Z[1]>=74)&&(Z=ze.match(/Chrome\/(\d+)/))&&(ee=Z[1]);var Ye=ee&&+ee,$e=Xe("species"),Ke=function(e){return Ye>=51||!s((function(){var t=[];return(t.constructor={})[$e]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Je=Xe("isConcatSpreadable"),Qe=9007199254740991,Ze="Maximum allowed index exceeded",et=Ye>=51||!s((function(){var e=[];return e[Je]=!1,e.concat()[0]!==e})),tt=Ke("concat"),it=function(e){if(!y(e))return!1;var t=e[Je];return void 0!==t?!!t:Me(e)};Ne({target:"Array",proto:!0,forced:!et||!tt},{concat:function(e){var t,i,n,s,r,o=Pe(this),l=Ve(o,0),a=0;for(t=-1,n=arguments.length;t<n;t++)if(it(r=-1===t?o:arguments[t])){if(a+(s=ue(r.length))>Qe)throw TypeError(Ze);for(i=0;i<s;i++,a++)i in r&&De(l,a,r[i])}else{if(a>=Qe)throw TypeError(Ze);De(l,a++,r)}return l.length=a,l}});var nt=[].push,st=function(e){var t=1==e,i=2==e,n=3==e,s=4==e,r=6==e,o=5==e||r;return function(l,a,c,u){for(var d,h,p=Pe(l),v=f(p),y=function(e,t,i){if(function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function")}(e),void 0===t)return e;switch(i){case 0:return function(){return e.call(t)};case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,s){return e.call(t,i,n,s)}}return function(){return e.apply(t,arguments)}}(a,c,3),b=ue(v.length),m=0,g=u||Ve,S=t?g(l,b):i?g(l,0):void 0;b>m;m++)if((o||m in v)&&(h=y(d=v[m],m,p),e))if(t)S[m]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:nt.call(S,d)}else if(s)return!1;return r?-1:n||s?s:S}},rt={forEach:st(0),map:st(1),filter:st(2),some:st(3),every:st(4),find:st(5),findIndex:st(6)},ot=function(e,t){var i=[][e];return!!i&&s((function(){i.call(null,t||function(){throw 1},1)}))},lt=Object.defineProperty,at={},ct=function(e){throw e},ut=function(e,t){if(g(at,e))return at[e];t||(t={});var i=[][e],n=!!g(t,"ACCESSORS")&&t.ACCESSORS,o=g(t,0)?t[0]:ct,l=g(t,1)?t[1]:void 0;return at[e]=!!i&&!s((function(){if(n&&!r)return!0;var e={length:-1};n?lt(e,1,{enumerable:!0,get:ct}):e[1]=1,i.call(e,o,l)}))},dt=rt.forEach,ht=ot("forEach"),ft=ut("forEach"),pt=ht&&ft?[].forEach:function(e){return dt(this,e,arguments.length>1?arguments[1]:void 0)};Ne({target:"Array",proto:!0,forced:[].forEach!=pt},{forEach:pt});var vt=ve.indexOf,yt=[].indexOf,bt=!!yt&&1/[1].indexOf(1,-0)<0,mt=ot("indexOf"),gt=ut("indexOf",{ACCESSORS:!0,1:0});Ne({target:"Array",proto:!0,forced:bt||!mt||!gt},{indexOf:function(e){return bt?yt.apply(this,arguments)||0:vt(this,e,arguments.length>1?arguments[1]:void 0)}});var St=rt.map,_t=Ke("map"),wt=ut("map");Ne({target:"Array",proto:!0,forced:!_t||!wt},{map:function(e){return St(this,e,arguments.length>1?arguments[1]:void 0)}});var Et,Lt=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),t=i instanceof Array}catch(e){}return function(i,n){return O(i),function(e){if(!y(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(n),t?e.call(i,n):i.__proto__=n,i}}():void 0),At=function(e,t,i){var n,s;return Lt&&"function"==typeof(n=t.constructor)&&n!==i&&y(s=n.prototype)&&s!==i.prototype&&Lt(e,s),e},Ot=Object.keys||function(e){return be(e,me)},xt=r?Object.defineProperties:function(e,t){O(e);for(var i,n=Ot(t),s=n.length,r=0;s>r;)C.f(e,i=n[r++],t[i]);return e},Ct=re("document","documentElement"),kt=q("IE_PROTO"),Tt=function(){},jt=function(e){return"<script>"+e+"<\/script>"},Nt=function(){try{Et=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Nt=Et?function(e){e.write(jt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(Et):((t=w("iframe")).style.display="none",Ct.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(jt("document.F=Object")),e.close(),e.F);for(var i=me.length;i--;)delete Nt.prototype[me[i]];return Nt()};G[kt]=!0;var Mt=Object.create||function(e,t){var i;return null!==e?(Tt.prototype=O(e),i=new Tt,Tt.prototype=null,i[kt]=e):i=Nt(
1),void 0===t?i:xt(i,t)},Pt="\t\n\v\f\r                 \u2028\u2029\ufeff",Dt="["+Pt+"]",It=RegExp("^"+Dt+Dt+"*"),Ht=RegExp(Dt+Dt+"*$"),Bt=function(e){return function(t){var i=String(p(t));return 1&e&&(i=i.replace(It,"")),2&e&&(i=i.replace(Ht,"")),i}},Ft={start:Bt(1),end:Bt(2),trim:Bt(3)},Rt=Se.f,Xt=A.f,Wt=C.f,Vt=Ft.trim,zt="Number",qt=n.Number,Gt=qt.prototype,Ut=d(Mt(Gt))==zt,Yt=function(e){var t,i,n,s,r,o,l,a,c=b(e,!1);if("string"==typeof c&&c.length>2)if(43===(t=(c=Vt(c)).charCodeAt(0))||45===t){if(88===(i=c.charCodeAt(2))||120===i)return NaN}else if(48===t){switch(c.charCodeAt(1)){case 66:case 98:n=2,s=49;break;case 79:case 111:n=8,s=55;break;default:return+c}for(o=(r=c.slice(2)).length,l=0;l<o;l++)if((a=r.charCodeAt(l))<48||a>s)return NaN;return parseInt(r,n)}return+c};if(Te(zt,!qt(" 0o1")||!qt("0b1")||qt("+0x1"))){for(var $t,Kt=function(e){var t=arguments.length<1?0:e,i=this;return i instanceof Kt&&(Ut?s((function(){Gt.valueOf.call(i)})):d(i)!=zt)?At(new qt(Yt(t)),i,Kt):Yt(t)},Jt=r?Rt(qt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Qt=0;Jt.length>Qt;Qt++)g(qt,$t=Jt[Qt])&&!g(Kt,$t)&&Wt(Kt,$t,Xt(qt,$t));Kt.prototype=Gt,Gt.constructor=Kt,ie(n,zt,Kt)}var Zt=Ft.trim,ei=n.parseInt,ti=/^[+-]?0[Xx]/,ii=8!==ei(Pt+"08")||22!==ei(Pt+"0x16")?function(e,t){var i=Zt(String(e));return ei(i,t>>>0||(ti.test(i)?16:10))}:ei;Ne({target:"Number",stat:!0,forced:Number.parseInt!=ii},{parseInt:ii});var ni=Object.assign,si=Object.defineProperty,ri=!ni||s((function(){if(r&&1!==ni({b:1},ni(si({},"a",{enumerable:!0,get:function(){si(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach((function(e){t[e]=e})),7!=ni({},e)[i]||Ot(ni({},t)).join("")!=n}))?function(e,t){for(var i=Pe(e),n=arguments.length,s=1,o=_e.f,l=a.f;n>s;)for(var c,u=f(arguments[s++]),d=o?Ot(u).concat(o(u)):Ot(u),h=d.length,p=0;h>p;)c=d[p++],r&&!l.call(u,c)||(i[c]=u[c]);return i}:ni;Ne({target:"Object",stat:!0,forced:Object.assign!==ri},{assign:ri});var oi=a.f,li=function(e){return function(t){for(var i,n=v(t),s=Ot(n),o=s.length,l=0,a=[];o>l;)i=s[l++],r&&!oi.call(n,i)||a.push(e?[i,n[i]]:n[i]);return a}},ai=[li(!0),li(!1)][0];for(var ci in Ne({target:"Object",stat:!0},{entries:function(e){return ai(e)}}),{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var ui=n[ci],di=ui&&ui.prototype;if(di&&di.forEach!==pt)try{k(di,"forEach",pt)}catch(e){di.forEach=pt}}function hi(e){return(hi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fi(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pi(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function vi(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,n)}return i}function yi(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?vi(Object(i),!0).forEach((function(t){pi(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):vi(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}function bi(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}var mi=function(e,t,i){var n;return void 0===t&&(t=50),void 0===i&&(i={isImmediate:!1}),function(){for(var s=[],r=arguments.length;r--;)s[r]=arguments[r];var o=this,l=i.isImmediate&&void 0===n;void 0!==n&&clearTimeout(n),n=setTimeout((function(){n=void 0,i.isImmediate||e.apply(o,s)}),t),l&&e.apply(o,s)}},gi=Ke("slice"),Si=ut("slice",{ACCESSORS:!0,0:0,1:2}),_i=Xe("species"),wi=[].slice,Ei=Math.max;Ne({target:"Array",proto:!0,forced:!gi||!Si},{slice:function(e,t){var i,n,s,r=v(this),o=ue(r.length),l=fe(e,o),a=fe(void 0===t?o:t,o);if(Me(r)&&("function"!=typeof(i=r.constructor)||i!==Array&&!Me(i.prototype)?y(i)&&null===(i=i[_i])&&(i=void 0):i=void 0,i===Array||void 0===i))return wi.call(r,l,a);for(n=new(void 0===i?Array:i)(Ei(a-l,0)),s=0;l<a;l++,s++)l in r&&De(n,s,r[l]);return n.length=s,n}});var Li={};Li[Xe("toStringTag")]="z";var Ai="[object z]"===String(Li),Oi=Xe("toStringTag"),xi="Arguments"==d(function(){return arguments}()),Ci=Ai?d:function(e){var t,i,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(i=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Oi))?i:xi?d(t):"Object"==(n=d(t))&&"function"==typeof t.callee?"Arguments":n},ki=Ai?{}.toString:function(){return"[object "+Ci(this)+"]"};Ai||ie(Object.prototype,"toString",ki,{unsafe:!0});var Ti=function(){var e=O(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},ji="toString",Ni=RegExp.prototype,Mi=Ni.toString,Pi=s((function(){return"/a/b"!=Mi.call({source:"a",flags:"b"})})),Di=Mi.name!=ji;(Pi||Di)&&ie(RegExp.prototype,ji,(function(){var e=O(this),t=String(e.source),i=e.flags;return"/"+t+"/"+String(void 0===i&&e instanceof RegExp&&!("flags"in Ni)?Ti.call(e):i)}),{unsafe:!0});var Ii,Hi,Bi,Fi,Ri=function(e){var t=(new DOMParser).parseFromString(e,"text/html").body.firstChild;if(t instanceof HTMLElement)return t;throw new Error("Supplied markup does not create an HTML Element")},Xi=function(e){var t=e.charCode||e.keyCode,i=e.type;return"click"===i||"keydown"===i&&(32===t||13===t)&&(e.preventDefault(),!0)},Wi=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&null!=e&&!isNaN(Number(e.toString()))},Vi=function(e){return"object"===hi(e)&&null!==e},zi=function(e,t){if(void 0!==e){var i=function(e){if(Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return!("[object HTMLCollection]"!==t&&"[object NodeList]"!==t&&("object"!==hi(e)||!e.hasOwnProperty("length")||e.length<0||0!==e.length&&(!e[0]||!e[0].nodeType)))}(e)?e:[e];
1Array.prototype.slice.call(i).forEach((function(e){e instanceof HTMLElement&&t&&t(e)}))}};return function(e){e[e.Prev=0]="Prev",e[e.Next=1]="Next"}(Ii||(Ii={})),function(e){e[e.Enabled=1]="Enabled",e[e.Disabled=0]="Disabled"}(Hi||(Hi={})),function(e){e[e.Enable=0]="Enable",e[e.Disable=1]="Disable"}(Bi||(Bi={})),function(e){e[e.Yes=0]="Yes",e[e.No=0]="No"}(Fi||(Fi={})),function(){function e(t,i){var n=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),!(t instanceof HTMLElement))throw new Error("The required input [element] must be an HTMLElement");if(void 0!==i&&!Vi(i))throw new Error("The required input [options] must be an Object");this.initialLoad=!0,this.sliderScrollLeft=0,this.slider=t,this.slides=t.children,this.sliderContainer=Ri('<div class="a11y-slider-container"></div>'),this._activeClass="a11y-slider-active",this._visibleClass="a11y-slider-visible",this._dotsClass="a11y-slider-dots",this._sliderClass="a11y-slider",this._focusable="a, area, input, select, textarea, button, iframe, object, embed, *[tabindex], *[contenteditable]",this._autoplayTimer=Fi.No,this.autoplayBtn=Ri('<button type="button" class="a11y-slider-autoplay">Toggle slider autoplay</button>'),this._pauseOnMouseLeave=!1,this._skipBtns=[],this.direction="prev",this.dots=null,this.swipe=!0,this.activeSlide=this.slides[0],this.visibleSlides=[],this.sliderEnabled=Hi.Disabled,this.modernBrowser=!!HTMLElement.prototype.scrollTo,this.mouseDown=!1,this.swipeStartX=0,this.swipeX=0,this.swipeXCached=0,this._hasCustomArrows=!!(i&&i.prevArrow||i&&i.nextArrow),this.options={container:!0,arrows:!0,prevArrow:i&&i.prevArrow||Ri('<button type="button" class="a11y-slider-prev">Previous slide</button>'),nextArrow:i&&i.nextArrow||Ri('<button type="button" class="a11y-slider-next">Next slide</button>'),dots:!0,adaptiveHeight:!1,skipBtn:!0,slidesToShow:null,autoplay:!1,autoplaySpeed:4e3,autoplayHoverPause:!0,centerMode:!1,infinite:!0,seamlessScroll:!1,disable:!1,responsive:null,customPaging:null,swipe:!0},this.options=yi(yi({},this.options),i),this._handlePrev=this._handlePrev.bind(this),this._handleNext=this._handleNext.bind(this),this._handleAutoplay=this._handleAutoplay.bind(this),this._handleAutoplayHover=this._handleAutoplayHover.bind(this),this._handleAutoplayEvent=this._handleAutoplayEvent.bind(this),this._checkShouldEnableDebounced=mi(this._checkShouldEnable.bind(this),250),this._updateHeightDebounced=mi(this._updateHeight.bind(this),250),this._generateDotsDebounced=mi(this._generateDots.bind(this),250),this._updateScrollPosition=mi((function(){return n.scrollToSlide(n.activeSlide)}),250),this._handleScroll=mi(this._handleScroll.bind(this),10),this._scrollFinish=mi(this._scrollFinish.bind(this),175),this._swipeMouseDown=this._swipeMouseDown.bind(this),this._swipeMouseUp=this._swipeMouseUp.bind(this),this._swipeMouseMove=this._swipeMouseMove.bind(this),this._init()}var t,i;return t=e,(i=[{key:"_init",value:function(){var e=this;if(setTimeout((function(){var t=e.options.seamlessScroll?e.activeSlide.offsetLeft:0;e.slider.scrollLeft=t}),1),Vi(this.options.responsive)&&this._checkResponsive(),this.options.seamlessScroll&&this.slides.length>1){var t=this.slider.firstElementChild,i=null==t?void 0:t.cloneNode(!0);i.classList.add("a11y-slider-clone"),i.classList.add("a11y-slider-first-clone"),i.setAttribute("slide-index","-1");var n=this.slider.lastElementChild,s=null==n?void 0:n.cloneNode(!0);s.classList.add("a11y-slider-clone"),s.classList.add("a11y-slider-last-clone"),s.setAttribute("slide-index","-1"),this.slider.insertAdjacentElement("afterbegin",s),this.slider.insertAdjacentElement("beforeend",i)}this._checkShouldEnable(),window.addEventListener("resize",this._checkShouldEnableDebounced),this._dispatchEvent("init",{a11ySlider:this})}},{key:"_checkShouldEnable",value:function(){var e=this,t=!0;!0===this.options.disable&&(t=!1),this.slides.length<=1&&(t=!1),Wi(this.options.slidesToShow)?(this.options.seamlessScroll&&this.slides.length-2===this.options.slidesToShow&&(t=!1),this.slides.length===this.options.slidesToShow&&(t=!1)):this._getActiveAndVisible(null,(function(i){i.length===e.slides.length&&(t=!1)})),t&&this.sliderEnabled===Hi.Disabled?this._enableSlider():t||this.sliderEnabled!==Hi.Enabled||this._disableSlider(),!t&&this._hasCustomArrows&&(zi(this.options.prevArrow,(function(e){e.classList.add("a11y-slider-hide")})),zi(this.options.nextArrow,(function(e){e.classList.add("a11y-slider-hide")})))}},{key:"_enableSlider",value:function(){var e=this;this.sliderEnabled=Hi.Enabled,this.options.container&&(this.slider.insertAdjacentElement("beforebegin",this.sliderContainer),this.sliderContainer.insertAdjacentElement("afterbegin",this.slider)),this.options.skipBtn&&this._addSkipBtn(),this.options.arrows&&!this._hasCustomArrows&&(this.options.prevArrow instanceof HTMLElement&&this.slider.insertAdjacentElement("beforebegin",this.options.prevArrow),this.options.nextArrow instanceof HTMLElement&&this.slider.insertAdjacentElement("beforebegin",this.options.nextArrow)),zi(this.options.prevArrow,(function(t){t.addEventListener("click",e._handlePrev,{passive:!0}),t.addEventListener("keypress",e._handlePrev,{passive:!0}),e._hasCustomArrows&&t.classList.remove("a11y-slider-hide")})),zi(this.options.nextArrow,(function(t){t.addEventListener("click",e._handleNext,{passive:!0}),t.addEventListener("keypress",e._handleNext,{passive:!0}),e._hasCustomArrows&&t.classList.remove("a11y-slider-hide")})),this.options.dots&&this._generateDots(),this.slider.addEventListener("scroll",this._handleScroll,!1);var t=this.options.seamlessScroll?this.slides[1]:null;this._setCSS(t),this.options.seamlessScroll,!0===this.options.adaptiveHeight&&(this._updateHeight(this.activeSlide),window.addEventListener("resize",this._updateHeightDebounced.bind(this))),this.options.autoplay&&this._enableAutoplay(),window.addEventListener("resize",this._updateScrollPosition),this.options.swipe&&this._enableSwipe()}},{key:"_disableSlider",value:function(){var e=this;this.sliderEnabled=Hi.Disabled,document.body.contains(this.sliderContainer)&&(this.sliderContainer.insertAdjacentElement("beforebegin",this.slider),this.sliderContainer.parentNode&&this.sliderContainer.parentNode.removeChild(this.sliderContainer)),this._removeSkipBtn(),zi(this.options.prevArrow,(function(t){t.removeEventListener("click",e._handlePrev),t.removeEventListener("keypress",e._handlePrev),e._hasCustomArrows?t.classList.add("a11y-slider-hide"):t.parentNode&&t.parentNode.removeChild(t)})),zi(this.options.nextArrow,(function(t){t.removeEventListener("click",e._handleNext),t.removeEventListener("keypress",e._handleNext),e._hasCustomArrows?t.classList.add("a11y-slider-hide"):t.parentNode&&t.parentNode.removeChild(t)})),this._removeDots(),this.slider.removeEventListener("scroll",this._handleScroll,!1),this._removeCSS(),window.removeEventListener("resize",this._updateHeightDebounced),this._updateHeight(!1),this.options.autoplay&&this._disableAutoplay(),this._disableSwipe(),window.removeEventListener("resize",this._updateScrollPosition),this.options.swipe&&this._disableSwipe()}},{key:"_setCSS",value:function(e){var t=this;this._addSlidesWidth(),this._getActiveAndVisible(e||null),this.slider.classList.add(this._sliderClass),zi(this.slides,(function(e){e.classList.remove(t._activeClass),e.classList.remove(t._visibleClass)})),this.activeSlide.classList.add(this._activeClass),zi(this.visibleSlides,(function(e){e.classList.add(t._visibleClass)})),this._updateDots(this.activeSlide),this._updateA11Y()}},{key:"_removeCSS",value:function(){var e=this;this._removeSlidesWidth(),this.slider.classList.remove(this._sliderClass),zi(this.slides,(function(t){t.classList.remove(e._activeClass),t.classList.remove(e._visibleClass)})),this._removeA11Y()}},{key:"_checkResponsive",value:function(){var e=this;if(Vi(this.options.responsive)){var t=this.options,i=(t.responsive,function(e,t){if(null==e)return{};var i,n,s=function(e,t){if(null==e)return{};var i,n,s={},r=Object.keys(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||(s[i]=e[i]);return s}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)i=r[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(s[i]=e[i])}return s}(t,["responsive"])),n=[],s=Object.entries(this.options.responsive).sort((function(e,t){return e[1]-t[1]}));n.push({mql:window.matchMedia("screen and (max-width: ".concat(Number.parseInt(s[0][0])-1,"px)")),options:i}
1),s.forEach((function(t,i){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var i=[],n=!0,s=!1,r=void 0;try{for(var o,l=e[Symbol.iterator]();!(n=(o=l.next()).done)&&(i.push(o.value),!t||i.length!==t);n=!0);}catch(e){s=!0,r=e}finally{try{n||null==l.return||l.return()}finally{if(s)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bi(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?bi(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),o=r[0],l=r[1],a=yi({},e.options),c="screen and (min-width: ".concat(o,"px)");i!==s.length-1&&(c=c.concat(" and (max-width: ".concat(Number.parseInt(s[i+1][0])-1,"px)"))),n.forEach((function(e){Object.assign(a,e.options)})),Object.assign(a,l),n.push({mql:window.matchMedia(c),options:a})})),n.map((function(t){t.mql.matches&&Object.assign(e.options,t.options),t.mql.addListener((function(){t.mql.matches&&e.updateOptions(t.options)}))}))}}},{key:"_addSlidesWidth",value:function(){if(Wi(this.options.slidesToShow)){var e=100/this.options.slidesToShow;this.slider.style.display="flex",zi(this.slides,(function(t){t.style.width="".concat(e,"%"),t.style.flex="0 0 auto"}))}else this._removeSlidesWidth()}},{key:"_removeSlidesWidth",value:function(){this.slider.style.removeProperty("display"),zi(this.slides,(function(e){e.style.removeProperty("width"),e.style.removeProperty("flex")}))}},{key:"_updateA11Y",value:function(){var e=this;if(this._removeA11Y(),zi(this.slides,(function(t){var i=t.querySelectorAll(e._focusable);t.classList.contains(e._visibleClass)||(t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true")),zi(i,(function(i){t.classList.contains(e._visibleClass)||i.setAttribute("tabindex","-1")}))})),!1===this.options.infinite){var t=this.slider.firstElementChild,i=this.slider.lastElementChild,n=this.visibleSlides[0],s=this.visibleSlides[this.visibleSlides.length-1];n===t&&zi(this.options.prevArrow,(function(e){e.setAttribute("disabled","")})),s===i&&zi(this.options.nextArrow,(function(e){e.setAttribute("disabled","")}))}}},{key:"_removeA11Y",value:function(){var e=this;zi(this.slides,(function(t){var i=t.querySelectorAll(e._focusable);t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden"),zi(i,(function(e){e.removeAttribute("tabindex")}))})),zi(this.options.prevArrow,(function(e){return e.removeAttribute("disabled")})),zi(this.options.nextArrow,(function(e){return e.removeAttribute("disabled")}))}},{key:"_addSkipBtn",value:function(){var e=Ri('<button class="a11y-slider-sr-only" type="button" tabindex="0">Click to skip slider carousel</button>'),t=Ri('<div class="a11y-slider-sr-only" tabindex="-1">End of slider carousel</div>'),i=function(e){!0===Xi(e)&&t.focus()};e.addEventListener("click",i,{passive:!0}),e.addEventListener("keypress",i,{passive:!0}),this.slider.insertAdjacentElement("beforebegin",e),this.slider.insertAdjacentElement("afterend",t),this._skipBtns=[],this._skipBtns.push(e,t)}},{key:"_removeSkipBtn",value:function(){zi(this._skipBtns,(function(e){e.parentNode&&e.parentNode.removeChild(e)}))}},{key:"_generateDots",value:function(){var e=this;if(!1!==this.options.dots&&(this._removeDots(),this.sliderEnabled!==Hi.Disabled)){this.dots=Ri('<ul class="'.concat(this._dotsClass,'"></ul>'));for(var t=function(t){var i=Ri("<li></li>"),n=void 0;e.options.customPaging?n=Ri(e.options.customPaging(t,e)):(n=Ri('<button type="button"></button>')).textContent="Move slider to item #".concat(t+1);var s=function(i){!0===Xi(i)&&(e.options.seamlessScroll?e.scrollToSlide(e.slides[t+1]):e.scrollToSlide(e.slides[t]),e._toggleAutoplay(Bi.Disable))};n.addEventListener("click",s,{passive:!0}),n.addEventListener("keypress",s,{passive:!0}),i.insertAdjacentElement("beforeend",n),e.dots.insertAdjacentElement("beforeend",i)},i=0;i<this._getDotCount();i++)t(i);this._updateDots(this.activeSlide),this.slider.insertAdjacentElement("afterend",this.dots),window.addEventListener("resize",this._generateDotsDebounced)}}},{key:"_getDotCount",value:function(){var e=this.options.seamlessScroll?2:0;return this.slides.length-e-(this.options.slidesToShow||this.visibleSlides.length)+1}},{key:"_removeDots",value:function(){window.removeEventListener("resize",this._generateDotsDebounced),this.dots instanceof HTMLElement&&this.dots.parentNode&&this.dots.parentNode.removeChild(this.dots)}},{key:"_updateDots",value:function(e){if(this.dots instanceof HTMLElement){var t,i=Array.prototype.indexOf.call(e.parentNode&&e.parentNode.children,e);i>this.dots.children.length&&(i=this.dots.children.length-1),this.options.seamlessScroll&&("next"===this.direction&&e.classList.contains("a11y-slider-first-clone")?i=0:"prev"===this.direction&&e.classList.contains("a11y-slider-last-clone")?i=this.dots.children.length-1:"prev"===this.direction&&e.classList.contains("a11y-slider-first-clone")||"next"===this.direction&&e.classList.contains("a11y-slider-last-clone")||i--),zi(this.dots.children,(function(e){var t;return null===(t=e.querySelector("button"))||void 0===t?void 0:t.classList.remove("active")})),null===(t=this.dots.children[i].querySelector("button"))||void 0===t||t.classList.add("active")}}},{key:"_enableAutoplay",value:function(){this.autoplayBtn.addEventListener("click",this._handleAutoplay,{passive:!0}),this.autoplayBtn.addEventListener("keypress",this._handleAutoplay,{passive:!0}),this.slider.addEventListener("click",this._handleAutoplayEvent,{passive:!0}),this.slider.addEventListener("touchstart",this._handleAutoplayEvent,{passive:!0}),this.options.autoplayHoverPause&&(this.slider.addEventListener("mouseenter",this._handleAutoplayHover,{passive:!0}),this.slider.addEventListener("mouseleave",this._handleAutoplayHover,{passive:!0})),this.slider.insertAdjacentElement("beforebegin",this.autoplayBtn),this._toggleAutoplay(Bi.Enable)}},{key:"_disableAutoplay",value:function(){var e;this._toggleAutoplay(Bi.Disable),this.autoplayBtn.removeEventListener("click",this._handleAutoplay),this.autoplayBtn.removeEventListener("keypress",this._handleAutoplay),this.slider.removeEventListener("click",this._handleAutoplayEvent),this.slider.removeEventListener("touchstart",this._handleAutoplayEvent),this.slider.removeEventListener("mouseenter",this._handleAutoplayHover),this.slider.removeEventListener("mouseleave",this._handleAutoplayHover),null===(e=this.autoplayBtn.parentNode)||void 0===e||e.removeChild(this.autoplayBtn)}},{key:"_enableSwipe",value:function(){this.options.swipe&&(this.slider.addEventListener("mousedown",this._swipeMouseDown),this.slider.addEventListener("mouseleave",this._swipeMouseUp),this.slider.addEventListener("mouseup",this._swipeMouseUp),this.slider.addEventListener("mousemove",this._swipeMouseMove))}},{key:"_swipeMouseDown",value:function(e){this.mouseDown=!0,this.slider.classList.add("a11y-slider-scrolling"),this.swipeStartX=e.pageX-this.slider.offsetLeft,this.swipeX=this.slider.scrollLeft,this.swipeXCached=this.slider.scrollLeft}},{key:"_swipeMouseUp",value:function(){if(this.mouseDown){var e=(this.swipeXCached-(this.swipeX-1))*(this.swipeXCached-(this.swipeX+1))<=0;this.mouseDown=!1,this.slider.classList.remove("a11y-slider-scrolling"),this.modernBrowser&&this.slider.scroll({left:e?this.swipeXCached:this.swipeXCached-1,behavior:"smooth"})}}},{key:"_swipeMouseMove",value:function(e){if(this.mouseDown){e.preventDefault();var t=2*(e.pageX-this.slider.offsetLeft-this.swipeStartX);this.slider.scrollLeft=this.swipeX-t,this.swipeXCached=this.slider.scrollLeft}}},{key:"_disableSwipe",value:function(){this.slider.removeEventListener("mousedown",this._swipeMouseDown),this.slider.removeEventListener("mouseleave",this._swipeMouseUp),this.slider.removeEventListener("mouseup",this._swipeMouseUp),this.slider.removeEventListener("mousemove",this._swipeMouseMove)}},{key:"_toggleAutoplay",value:function(e){var t=this;e===Bi.Enable?(t._autoplayTimer=window.setInterval((function(){t._goPrevOrNext(Ii.Next)}),t.options.autoplaySpeed),t.autoplayBtn.setAttribute("data-autoplaying","true"),t._dispatchEvent("autoplayStart",{currentSlide:t.activeSlide,a11ySlider:t})):e===Bi.Disable&&(window.clearInterval(t._autoplayTimer),t._autoplayTimer=Fi.No,t.autoplayBtn.setAttribute("data-autoplaying","false"),t._dispatchEvent("autoplayStop",{currentSlide:t.activeSlide,a11ySlider:t}))}},{key:"_goPrevOrNext",value:function(e){var t=this;this._getActiveAndVisible(null,(function(i,n){var s=t.slider.firstElementChild,r=t.slider.lastElementChild,o=i[0],l=i[i.length-1];t.direction=e?"next":"prev",e===Ii.Next?t.options.seamlessScroll?t.scrollToSlide(n&&n.nextElementSibling):l===r?!0===t.options.infinite&&t.scrollToSlide(s):t.scrollToSlide(n&&n.nextElementSibling):e===Ii.Prev&&(t.options.seamlessScroll?t.scrollToSlide(n&&n.previousElementSibling):o===s?!0===t.options.infinite&&t.scrollToSlide(r):t.scrollToSlide(n&&n.previousElementSibling))}))}},{key:"scrollToSlide",value:function(e){var t,i=this,n=this.slider.scrollLeft;if(Wi(e))t=this.slides[e];else{if(!(e instanceof HTMLElement))throw new Error("scrollToSlide only accepts an HTMLElement or number");t=e}this._dispatchEvent("beforeChange",{currentSlide:this.activeSlide,nextSlide:t,a11ySlider:this}),!0===this.options.adaptiveHeight&&this._updateHeight(t),this.modernBrowser?this.slider.scroll({left:t.offsetLeft,behavior:"smooth"}):this.slider.scrollLeft=t.offsetLeft,setTimeout((function(){i.slider.scrollLeft===n&&i.sliderEnabled===Hi.Enabled&&i._setCSS(t)}),50),this._updateDots(t)}},{key:"updateOptions",value:function(e){Object.assign(this.options,e),this._disableSlider(),this._checkShouldEnable()}},{key:"_updateHeight",value:function(e){if(e instanceof HTMLElement){var t=function(e,t,i){var n=!!window.getComputedStyle,s=window.getComputedStyle||function(){},r=function(){if(!n)return!1;var e=document.body||document.documentElement,t=document.createElement("div");t.style.cssText="width:10px;padding:2px;-webkit-box-sizing:border-box;box-sizing:border-box;",e.appendChild(t);var i="10px"===s(t,null).width;return e.removeChild(t),i}(),o=function(e){return t=e=parseFloat(e),!isNaN(parseFloat(t))&&isFinite(t)?e:0;var t};return function(e,t,i){if(n){i=i||s(e,null);var l=o(i[t]);return r||"width"!==t?r||"height"!==t||(l+=o(i.paddingTop)+o(i.paddingBottom)+o(i.borderTopWidth)+o(i.borderBottomWidth)):l+=o(i.paddingLeft)+o(i.paddingRight)+o(i.borderLeftWidth)+o(i.borderRightWidth),l}return o(e.style[t])}(e,t,i)}(e,"height");this.slider.style.height="".concat(t,"px")}else this.slider.style.height=""}},{key:"refreshHeight",value:function(){this._updateHeight(this.activeSlide)}},{key:"_getActiveAndVisible",value:function(e,t){var i=this,n=!this.slider.classList.contains(this._sliderClass),s=this.slider.style.borderWidth;this.slider.style.borderWidth="0px",n&&this.slider.classList.add(this._sliderClass);var r=[],o=this.slider.scrollLeft-1<0?0:this.slider.scrollLeft-1;if(zi(this.slides,(function(e){var t=e.offsetLeft,n=(i.options.slidesToShow||1)*e.offsetWidth;t>=o&&t<o+n&&!e.classList.contains("a11y-slider-clone")&&r.push(e)})),this.slider.style.borderWidth=s,n&&this.slider.classList.remove(this._sliderClass),this.visibleSlides=r,e)this.activeSlide=e;else if(!0===this.options.centerMode)this.activeSlide=this.visibleSlides[Math.floor((this.visibleSlides.length-1)/2)];else if(this.options.seamlessScroll)if(r.length>0){if("next"===this.direction)this.activeSlide=r[0];else if("prev"===this.direction){var l;(null===(l=this.activeSlide.previousElementSibling)||void 0===l?void 0:l.classList.contains("a11y-slider-clone"))?(this.initialLoad,this.activeSlide=r[0]):this.activeSlide=r[0]}}else"prev"===this.direction?this.activeSlide=this.slides[this.slides.length-2]:"next"===this.direction&&(this.activeSlide=this.slides[1]);else r.length>0&&(this.activeSlide=r[0]);t&&t(this.visibleSlides,this.activeSlide)}},{key:"_handlePrev",value:function(e){!0===Xi(e)&&(this._goPrevOrNext(Ii.Prev),this._toggleAutoplay(Bi.Disable))}},{key:"_handleNext",value:function(e){!0===Xi(e)&&(this._goPrevOrNext(Ii.Next),this._toggleAutoplay(Bi.Disable))}},{key:"_handleAutoplay",value:function(e){!0===Xi(e)&&(this._autoplayTimer===Fi.No?this._toggleAutoplay(Bi.Enable):this._toggleAutoplay(Bi.Disable))}}
1,{key:"_handleAutoplayHover",value:function(e){"mouseenter"===e.type?this._autoplayTimer!==Fi.No&&(this._toggleAutoplay(Bi.Disable),this._pauseOnMouseLeave=!0):"mouseleave"===e.type&&this._pauseOnMouseLeave&&this._autoplayTimer===Fi.No&&(this._toggleAutoplay(Bi.Enable),this._pauseOnMouseLeave=!1)}},{key:"_handleAutoplayEvent",value:function(e){this._pauseOnMouseLeave=!1,this._toggleAutoplay(Bi.Disable)}},{key:"_handleScroll",value:function(){this.direction=this.slider.scrollLeft<this.sliderScrollLeft?"prev":"next",this.sliderScrollLeft=this.slider.scrollLeft,this._scrollFinish()}},{key:"_scrollFinish",value:function(){if(this._setCSS(),this.options.seamlessScroll){var e=Array.prototype.indexOf.call(this.activeSlide.parentNode&&this.activeSlide.parentNode.children,this.activeSlide)-1;("prev"===this.direction&&e===this.slides.length-3||0===e&&"next"===this.direction)&&(this.slider.scrollLeft=this.activeSlide.offsetLeft),this.initialLoad&&(this.initialLoad=!1)}this._dispatchEvent("afterChange",{currentSlide:this.activeSlide,a11ySlider:this})}},{key:"_dispatchEvent",value:function(e,t){var i=function(e,t){var i=document.createEvent("CustomEvent");return t=t||{bubbles:!1,cancelable:!1,detail:void 0},i.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),i}(e,{detail:t});this.slider.dispatchEvent(i)}},{key:"destroy",value:function(){this._disableSlider(),window.removeEventListener("resize",this._checkShouldEnableDebounced),this._dispatchEvent("destroy",{a11ySlider:this})}}])&&fi(t.prototype,i),e}()}));

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.