PageSourceSearch

https://www.thettcgroup.com/fleet-driver-management/wp-content/pla…/dist/main.js?ver=dd84d851e11870438654

js thettcgroup.com collected 2026-10-09 04:56:15 UTC 49,125 bytes, 1 lines download raw bytes

vendor: 4,731 bytes, line 1
1(()=>{var e={56:function(e,t,i){e.exports=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==i.g?i.g:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")(),s=function(e){try{return!!e()}catch(e){return!0}},o=!s((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c={f:l&&!a.call({1:2},1)?function(e){var t=l(this,e);return!!t&&t.enumerable}:a},u=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},d={}.toString,h=function(e){return d.call(e).slice(8,-1)},p="".split,f=s((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==h(e)?p.call(e,""):Object(e)}:Object,v=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},y=function(e){return f(v(e))},b=function(e){return"object"==typeof e?null!==e:"function"==typeof e},m=function(e,t){if(!b(e))return e;var i,n;if(t&&"function"==typeof(i=e.toString)&&!b(n=i.call(e)))return n;if("function"==typeof(i=e.valueOf)&&!b(n=i.call(e)))return n;if(!t&&"function"==typeof(i=e.toString)&&!b(n=i.call(e)))return n;throw TypeError("Can't convert object to primitive value")},g={}.hasOwnProperty,w=function(e,t){return g.call(e,t)},_=r.document,S=b(_)&&b(_.createElement),E=function(e){return S?_.createElement(e):{}},A=!o&&!s((function(){return 7!=Object.defineProperty(E("div"),"a",{get:function(){return 7}}).a})),L=Object.getOwnPropertyDescriptor,C={f:o?L:function(e,t){if(e=y(e),t=m(t,!0),A)try{return L(e,t)}catch(e){}if(w(e,t))return u(!c.f.call(e,t),e[t])}},O=function(e){if(!b(e))throw TypeError(String(e)+" is not an object");return e},x=Object.defineProperty,k={f:o?x:function(e,t,i){if(O(e),t=m(t,!0),O(i),A)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}},T=o?function(e,t,i){return k.f(e,t,u(1,i))}:function(e,t,i){return e[t]=i,e},j=function(e,t){try{T(r,e,t)}catch(i){r[e]=t}return t},M="__core-js_shared__",D=r[M]||j(M,{}),P=Function.toString;"function"!=typeof D.inspectSource&&(D.inspectSource=function(e){return P.call(e)});var N,I,H,B=D.inspectSource,X=r.WeakMap,F="function"==typeof X&&/native code/.test(B(X)),R=t((function(e){(e.exports=function(e,t){return D[e]||(D[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),q=0,Y=Math.random(),W=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++q+Y).toString(36)},V=R("keys"),z=function(e){return V[e]||(V[e]=W(e))},G={},U=r.WeakMap;if(F){var Q=new U,$=Q.get,K=Q.has,J=Q.set;N=function(e,t){return J.call(Q,e,t),t},I=function(e){return $.call(Q,e)||{}},H=function(e){return K.call(Q,e)}}else{var Z=z("state");G[Z]=!0,N=function(e,t){return T(e,Z,t),t},I=function(e){return w(e,Z)?e[Z]:{}},H=function(e){return w(e,Z)}}var ee,te,ie={set:N,get:I,has:H,enforce:function(e){return H(e)?I(e):N(e,{})},getterFor:function(e){return function(t){var i;if(!b(t)||(i=I(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return i}}},ne=t((function(e){var t=ie.get,i=ie.enforce,n=String(String).split("String");(e.exports=function(e,t,s,o){var a=!!o&&!!o.unsafe,l=!!o&&!!o.enumerable,c=!!o&&!!o.noTargetGet;"function"==typeof s&&("string"!=typeof t||w(s,"name")||T(s,"name",t),i(s).source=n.join("string"==typeof t?t:"")),e!==r?(a?!c&&e[t]&&(l=!0):delete e[t],l?e[t]=s:T(e,t,s)):l?e[t]=s:j(t,s)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||B(this)}))})),re=r,se=function(e){return"function"==typeof e?e:void 0},oe=function(e,t){return arguments.length<2?se(re[e])||se(r[e]):re[e]&&re[e][t]||r[e]&&r[e][t]},ae=Math.ceil,le=Math.floor,ce=function(e){return isNaN(e=+e)?0:(e>0?le:ae)(e)},ue=Math.min,de=function(e){return e>0?ue(ce(e),9007199254740991):0},he=Math.max,pe=Math.min,fe=function(e,t){var i=ce(e);return i<0?he(i+t,0):pe(i,t)},ve=function(e){return function(t,i,n){var r,s=y(t),o=de(s.length),a=fe(n,o);if(e&&i!=i){for(;o>a;)if((r=s[a++])!=r)return!0}else for(;o>a;a++)if((e||a in s)&&s[a]===i)return e||a||0;return!e&&-1}},ye={includes:ve(!0),indexOf:ve(!1)},be=ye.indexOf,me=function(e,t){var i,n=y(e),r=0,s=[];for(i in n)!w(G,i)&&w(n,i)&&s.push(i);for(;t.length>r;)w(n,i=t[r++])&&(~be(s,i)||s.push(i));return s},ge=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],we=ge.concat("length","prototype"),_e={f:Object.getOwnPropertyNames||function(e){return me(e,we)}},Se={f:Object.getOwnPropertySymbols},Ee=oe("Reflect","ownKeys")||function(e){var t=_e.f(O(e)),i=Se.f;return i?t.concat(i(e)):t},Ae=function(e,t){for(var i=Ee(t),n=k.f,r=C.f,s=0;s<i.length;s++){var o=i[s];w(e,o)||n(e,o,r(t,o))}},Le=/#|\.prototype\./,Ce=function(e,t){var i=xe[Oe(e)];return i==Te||i!=ke&&("function"==typeof t?s(t):!!t)},Oe=Ce.normalize=function(e){return String(e).replace(Le,".").toLowerCase()},xe=Ce.data={},ke=Ce.NATIVE="N",Te=Ce.POLYFILL="P",je=Ce,Me=C.f,De=function(e,t){var i,n,s,o,a,l=e.target,c=e.global,u=e.stat;if(i=c?r:u?r[l]||j(l,{}):(r[l]||{}).prototype)for(n in t){if(o=t[n],s=e.noTargetGet?(a=Me(i,n))&&a.value:i[n],!je(c?n:l+(u?".":"#")+n,e.forced)&&void 0!==s){if(typeof o==typeof s)continue;Ae(o,s)}(e.sham||s&&s.sham)&&T(o,"sham",!0),ne(i,n,o,e)}},Pe=Array.isArray||function(e){return"Array"==h(e)},Ne=function(e){return Object(v(e))},Ie=function(e,t,i){var n=m(t);n in e?k.f(e,n,u(0,i)):e[n]=i},He=!!Object.getOwnPropertySymbols&&!s((function(){return!String(Symbol())})),Be=He&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Xe=R("wks"),Fe=r.Symbol,Re=Be?Fe:Fe&&Fe.withoutSetter||W,qe=function(e){return w(Xe,e)||(He&&w(Fe,e)?Xe[e]=Fe[e]:Xe[e]=Re("Symbol."+e)),Xe[e]},Ye=qe("species"),We=function(e,t){var i;return Pe(e)&&("function"!=typeof(i=e.constructor)||i!==Array&&!Pe(i.prototype)?b(i)&&null===(i=i[Ye])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===t?0:t)},Ve=oe("navigator","userAgent")||"",ze=r.process,Ge=ze&&ze.versions,Ue=Ge&&Ge.v8;Ue?te=(ee=Ue.split("."))[0]+ee[1]:Ve&&(!(ee=Ve.match(/Edge\/(\d+)/))||ee[1]>=74)&&(ee=Ve.match(/Chrome\/(\d+)/))&&(te=ee[1]);var Qe=te&&+te,$e=qe("species"),Ke=function(e){return Qe>=51||!s((function(){var t=[];return(t.constructor={})[$e]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Je=qe("isConcatSpreadable"),Ze=9007199254740991,et="Maximum allowed index exceeded",tt=Qe>=51||!s((function(){var e=[];return e[Je]=!1,e.concat()[0]!==e})),it=Ke("concat"),nt=function(e){if(!b(e))return!1;var t=e[Je];return void 0!==t?!!t:Pe(e)};De({target:"Array",proto:!0,forced:!tt||!it},{concat:function(e){var t,i,n,r,s,o=Ne(this),a=We(o,0),l=0;for(t=-1,n=arguments.length;t<n;t++)if(nt(s=-1===t?o:arguments[t])){if(l+(r=de(s.length))>Ze)throw TypeError(et);for(i=0;i<r;i++,l++)i in s&&Ie(a,l,s[i])}else{if(l>=Ze)throw TypeError(et);Ie(a,l++,s)}return a.length=l,a}});var rt=[].push,st=function(e){var t=1==e,i=2==e,n=3==e,r=4==e,s=6==e,o=5==e||s;return function(a,l,c,u){for(var d,h,p=Ne(a),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,r){return e.call(t,i,n,r)}}return function(){return e.apply(t,arguments)}}(l,c,3),b=de(v.length),m=0,g=u||We,w=t?g(a,b):i?g(a,0):void 0;b>m;m++)if((o||m in v)&&(h=y(d=v[m],m,p),e))if(t)w[m]=h;else if(h)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:rt.call(w,d)}else if(r)return!1;return s?-1:n||r?r:w}},ot={forEach:st(0),map:st(1),filter:st(2),some:st(3),every:st(4),find:st(5),findIndex:st(6)},at=function(e,t){var i=[][e];return!!i&&s((function(){i.call(null,t||function(){throw 1},1)}))},lt=Object.defineProperty,ct={},ut=function(e){throw e},dt=function(e,t){if(w(ct,e))return ct[e];t||(t={});var i=[][e],n=!!w(t,"ACCESSORS")&&t.ACCESSORS,r=w(t,0)?t[0]:ut,a=w(t,1)?t[1]:void 0;return ct[e]=!!i&&!s((function(){if(n&&!o)return!0;var e={length:-1};n?lt(e,1,{enumerable:!0,get:ut}):e[1]=1,i.call(e,r,a)}))},ht=ot.forEach,pt=at("forEach"),ft=dt("forEach"),vt=pt&&ft?[].forEach:function(e){return ht(this,e,arguments.length>1?arguments[1]:void 0)};De({target:"Array",proto:!0,forced:[].forEach!=vt},{forEach:vt});var yt=ye.indexOf,bt=[].indexOf,mt=!!bt&&1/[1].indexOf(1,-0)<0,gt=at("indexOf"),wt=dt("indexOf",{ACCESSORS:!0,1:0});De({target:"Array",proto:!0,forced:mt||!gt||!wt},{indexOf:function(e){return mt?bt.apply(this,arguments)||0:yt(this,e,arguments.length>1?arguments[1]:void 0)}});var _t=ot.map,St=Ke("map"),Et=dt("map");De({target:"Array",proto:!0,forced:!St||!Et},{map:function(e){return _t(this,e,arguments.length>1?arguments[1]:void 0)}});var At,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(!b(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),Ct=Object.keys||function(e){return me(e,ge)},Ot=o?Object.defineProperties:function(e,t){O(e);for(var i,n=Ct(t),r=n.length,s=0;r>s;)k.f(e,i=n[s++],t[i]);return e},xt=oe("document","documentElement"),kt=z("IE_PROTO"),Tt=function(){},jt=function(e){return"<script>"+e+"<\/script>"},Mt=function(){try{At=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;Mt=At?function(e){e.write(jt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(At):((t=E("iframe")).style.display="none",xt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(jt("document.F=Object")),e.close(),e.F);for(var i=ge.length;i--;)delete Mt.prototype[ge[i]];return Mt()};G[kt]=!0;var Dt=Object.create||function(e,t){var i;return null!==e?(Tt.prototype=O(e),i=new Tt,Tt.prototype=null,i[kt]=e):i=Mt(),void 0===t?i:Ot(i,t)},Pt="\t\n\v\f\r                 \u2028\u2029\ufeff",Nt="["+Pt+"]",It=RegExp("^"+Nt+Nt+"*"),Ht=RegExp(Nt+Nt+"*$"),Bt=function(e){return function(t){var i=String(v(t));return 1&e&&(i=i.replace(It,"")),2&e&&(i=i.replace(Ht,"")),i}},Xt={start:Bt(1),end:Bt(2),trim:Bt(3)},Ft=_e.f,Rt=C.f,qt=k.f,Yt=Xt.trim,Wt="Number",Vt=r.Number,zt=Vt.prototype,Gt=h(Dt(zt))==Wt,Ut=function(e){var t,i,n,r,s,o,a,l,c=m(e,!1);if("string"==typeof c&&c.length>
12)if(43===(t=(c=Yt(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,r=49;break;case 79:case 111:n=8,r=55;break;default:return+c}for(o=(s=c.slice(2)).length,a=0;a<o;a++)if((l=s.charCodeAt(a))<48||l>r)return NaN;return parseInt(s,n)}return+c};if(je(Wt,!Vt(" 0o1")||!Vt("0b1")||Vt("+0x1"))){for(var Qt,$t=function(e){var t=arguments.length<1?0:e,i=this;return i instanceof $t&&(Gt?s((function(){zt.valueOf.call(i)})):h(i)!=Wt)?function(e,t,i){var n,r;return Lt&&"function"==typeof(n=t.constructor)&&n!==i&&b(r=n.prototype)&&r!==i.prototype&&Lt(e,r),e}(new Vt(Ut(t)),i,$t):Ut(t)},Kt=o?Ft(Vt):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),Jt=0;Kt.length>Jt;Jt++)w(Vt,Qt=Kt[Jt])&&!w($t,Qt)&&qt($t,Qt,Rt(Vt,Qt));$t.prototype=zt,zt.constructor=$t,ne(r,Wt,$t)}var Zt=Xt.trim,ei=r.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;De({target:"Number",stat:!0,forced:Number.parseInt!=ii},{parseInt:ii});var ni=Object.assign,ri=Object.defineProperty,si=!ni||s((function(){if(o&&1!==ni({b:1},ni(ri({},"a",{enumerable:!0,get:function(){ri(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]||Ct(ni({},t)).join("")!=n}))?function(e,t){for(var i=Ne(e),n=arguments.length,r=1,s=Se.f,a=c.f;n>r;)for(var l,u=f(arguments[r++]),d=s?Ct(u).concat(s(u)):Ct(u),h=d.length,p=0;h>p;)l=d[p++],o&&!a.call(u,l)||(i[l]=u[l]);return i}:ni;De({target:"Object",stat:!0,forced:Object.assign!==si},{assign:si});var oi=c.f,ai=function(e){return function(t){for(var i,n=y(t),r=Ct(n),s=r.length,a=0,l=[];s>a;)i=r[a++],o&&!oi.call(n,i)||l.push(e?[i,n[i]]:n[i]);return l}},li=[ai(!0),ai(!1)][0];for(var ci in De({target:"Object",stat:!0},{entries:function(e){return li(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=r[ci],di=ui&&ui.prototype;if(di&&di.forEach!==vt)try{T(di,"forEach",vt)}catch(e){di.forEach=vt}}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 pi(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 fi(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){fi(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){return function(e){if(Array.isArray(e))return gi(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||mi(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mi(e,t){if(e){if("string"==typeof e)return gi(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)?gi(e,t):void 0}}function gi(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 wi=function(e,t,i){var n;return void 0===t&&(t=50),void 0===i&&(i={isImmediate:!1}),function(){for(var r=[],s=arguments.length;s--;)r[s]=arguments[s];var o=this,a=i.isImmediate&&void 0===n;void 0!==n&&clearTimeout(n),n=setTimeout((function(){n=void 0,i.isImmediate||e.apply(o,r)}),t),a&&e.apply(o,r)}},_i=qe("unscopables"),Si=Array.prototype;null==Si[_i]&&k.f(Si,_i,{configurable:!0,value:Dt(null)});var Ei=ye.includes;De({target:"Array",proto:!0,forced:!dt("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return Ei(this,e,arguments.length>1?arguments[1]:void 0)}}),Si[_i].includes=!0;var Ai=Ke("slice"),Li=dt("slice",{ACCESSORS:!0,0:0,1:2}),Ci=qe("species"),Oi=[].slice,xi=Math.max;De({target:"Array",proto:!0,forced:!Ai||!Li},{slice:function(e,t){var i,n,r,s=y(this),o=de(s.length),a=fe(e,o),l=fe(void 0===t?o:t,o);if(Pe(s)&&("function"!=typeof(i=s.constructor)||i!==Array&&!Pe(i.prototype)?b(i)&&null===(i=i[Ci])&&(i=void 0):i=void 0,i===Array||void 0===i))return Oi.call(s,a,l);for(n=new(void 0===i?Array:i)(xi(l-a,0)),r=0;a<l;a++,r++)a in s&&Ie(n,r,s[a]);return n.length=r,n}});var ki={};ki[qe("toStringTag")]="z";var Ti="[object z]"===String(ki),ji=qe("toStringTag"),Mi="Arguments"==h(function(){return arguments}()),Di=Ti?h: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),ji))?i:Mi?h(t):"Object"==(n=h(t))&&"function"==typeof t.callee?"Arguments":n},Pi=Ti?{}.toString:function(){return"[object "+Di(this)+"]"};Ti||ne(Object.prototype,"toString",Pi,{unsafe:!0});var Ni=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},Ii="toString",Hi=RegExp.prototype,Bi=Hi.toString,Xi=s((function(){return"/a/b"!=Bi.call({source:"a",flags:"b"})})),Fi=Bi.name!=Ii;(Xi||Fi)&&ne(RegExp.prototype,Ii,(function(){var e=O(this),t=String(e.source),i=e.flags;return"/"+t+"/"+String(void 0===i&&e instanceof RegExp&&!("flags"in Hi)?Ni.call(e):i)}),{unsafe:!0});var Ri=qe("match"),qi=qe("match");De({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(i){try{return t[qi]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~String(v(this)).indexOf(function(e){if(function(e){var t;return b(e)&&(void 0!==(t=e[Ri])?!!t:"RegExp"==h(e))}(e))throw TypeError("The method doesn't accept regular expressions");return e}(e),arguments.length>1?arguments[1]:void 0)}});var Yi,Wi,Vi,zi,Gi=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")},Ui=function(e){var t=e.charCode||e.keyCode,i=e.type;return"click"===i||"keydown"===i&&(32===t||13===t)&&(e.preventDefault(),!0)},Qi=function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&null!=e&&!isNaN(Number(e.toString()))},$i=function(e){return"object"===hi(e)&&null!==e},Ki=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)}))}},Ji=function(e,t,i){var n=!!window.getComputedStyle,r=window.getComputedStyle||function(){},s=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"===r(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||r(e,null);var a=o(i[t]);return s||"width"!==t?s||"height"!==t||(a+=o(i.paddingTop)+o(i.paddingBottom)+o(i.borderTopWidth)+o(i.borderBottomWidth)):a+=o(i.paddingLeft)+o(i.paddingRight)+o(i.borderLeftWidth)+o(i.borderRightWidth),a}return o(e.style[t])}(e,t,i)},Zi=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=[],n=e.nextSibling;n&&i.length<t;)i.push(n),n=n.nextSibling;return i};return function(e){e[e.Prev=0]="Prev",e[e.Next=1]="Next"}(Yi||(Yi={})),function(e){e[e.Enabled=1]="Enabled",e[e.Disabled=0]="Disabled"}(Wi||(Wi={})),function(e){e[e.Enable=0]="Enable",e[e.Disable=1]="Disable"}(Vi||(Vi={})),function(e){e[e.Yes=0]="Yes",e[e.No=0]="No"}(zi||(zi={})),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&&!$i(i))throw new Error("The required input [options] must be an Object");this.slider=t,this.slides=t.children,this.sliderContainer=Gi('<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=zi.No,this.autoplayBtn=Gi('<button type="button" class="a11y-slider-autoplay">Toggle slider autoplay</button>'),this._pauseOnMouseLeave=!1,this._skipBtns=[],this.dots=null,this.swipe=!0,this.activeSlide=this.slides[0],this.visibleSlides=[],this.sliderEnabled=Wi.Disabled,this.modernBrowser=!!HTMLElement.prototype.scrollTo,this.isPlatformiOS=function(){switch(navigator.platform){case"iPod":case"iPhone":case"iPad":case"iPod Simulator":case"iPhone Simulator":case"iPad Simulator":return!0}return!(!navigator.userAgent.includes("Mac")||!("ontouchend"in document))}(),this.mouseDown=!1,this.touchStart=!1,this.swipeStartX=0,this.swipeX=0,this.swipeXCached=0,this.statusEl=Gi('<div class="a11y-slider-status" role="status">Displaying slide 1 of '.concat(this.slides.length,"</div>")),this._hasCustomArrows=!!(i&&i.prevArrow||i&&i.nextArrow),this.options={container:!0,arrows:!0,prevArrow:i&&i.prevArrow||Gi('<button type="button" class="a11y-slider-prev">Previous slide</button>'),nextArrow:i&&i.nextArrow||Gi('<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,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=wi(this._checkShouldEnable.bind(this),250),this._updateHeightDebounced=wi(this._updateHeight.bind(this),250),this._generateDotsDebounced=wi(this._generateDots.bind(this),250),this._updateScrollPosition=wi((function(){return n.scrollToSlide(n.activeSlide)}),250),this._handleScroll=wi(this._handleScroll.bind(this),10),this._scrollFinish=wi(this._scrollFinish.bind(this),175),this._swipeMouseDown=this._swipeMouseDown.bind(this),this._swipeMouseUp=this._swipeMouseUp.bind(this),this._swipeMouseMove=this._swipeMouseMove.bind(this),this._swipeTouchStart=this._swipeTouchStart.bind(this),this._swipeTouchEnd=this._swipeTouchEnd.bind(this),this._swipeTouchMove=this._swipeTouchMove.bind(this),this._init()}var t,i;return t=e,(i=[{key:"_init",value:function(){var e=this;setTimeout((function(){return e.slider.scrollLeft=0}),1),$i(this.options.responsive)&&this._checkResponsive(),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),Qi(this.options.slidesToShow)?this.slides.length===this.options.slidesToShow&&(t=!1):this._getActiveAndVisible(null,(function(i){i.length===e.slides.length&&(t=!1)})),t&&this.sliderEnabled===Wi.Disabled?this._enableSlider():t||this.sliderEnabled!==Wi.Enabled||this._disableSlider(),!t&&this._hasCustomArrows&&(Ki(this.options.prevArrow,(function(e){e.classList.add("a11y-slider-hide")})),Ki(this.options.nextArrow,(function(e){e.classList.add("a11y-slider-hide")})))}},{key:"_enableSlider",value:function(){var e=this;this.sliderEnabled=Wi.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)),Ki(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")})),Ki(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),this._setCSS(),!0===this.options.adaptiveHeight&&(this._updateHeight(this.visibleSlides),window.addEventListener("resize",this._updateHeightDebounced.bind(this))),this.options.autoplay&&this._enableAutoplay(),window.addEventListener("resize",this._updateScrollPosition),this.options.swipe&&this._enableSwipe(),this.options.autoplay||this._enableA11YStatus()}},{key:"_disableSlider",value:function(){var e=this;this.sliderEnabled=Wi.Disabled,document.body.contains(this.sliderContainer)&&(this.sliderContainer.insertAdjacentElement("beforebegin",this.slider),this.sliderContainer.parentNode&&this.sliderContainer.parentNode.removeChild(this.sliderContainer)),this._removeSkipBtn(),Ki(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)})),Ki(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(),this._removeA11YStatus()}},{key:"_setCSS",value:function(e){var t=this;this._addSlidesWidth(),this._getActiveAndVisible(e||null),this.slider.classList.add(this._sliderClass),Ki(this.slides,(function(e){e.classList.remove(t._activeClass),e.classList.remove(t._visibleClass)})),this.activeSlide.classList.add(this._activeClass),Ki(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),Ki(this.slides,(function(t){t.classList.remove(e._activeClass),t.classList.remove(e._visibleClass)})),this._removeA11Y()}},{key:"_enableA11YStatus",value:function(){this._updateA11YStatus(),this.slider.insertAdjacentElement("afterend",this.statusEl)}},{key:"_updateA11YStatus",value:function(){var e=Array.prototype.indexOf.call(this.activeSlide.parentNode&&this.activeSlide.parentNode.children,this.activeSlide);this.statusEl.textContent="Displaying slide ".concat(e+1," of ").concat(this.slides.length)}},{key:"_removeA11YStatus",value:function(){this.statusEl.parentNode&&this.statusEl.parentNode.removeChild(this.statusEl)}},{key:"_checkResponsive",value:function(){var e=this;if($i(this.options.responsive)){var t=this.options,i=(t.responsive,function(e,t){if(null==e)return{};var i,n,r=function(e,t){if(null==e)return{};var i,n,r={},s=Object.keys(e);for(n=0;n<s.length;n++)i=s[n],t.indexOf(i)>=0||(r[i]=e[i]);return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)i=s[n],t.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(e,i)&&(r[i]=e[i])}return r}(t,["responsive"])),n=[],r=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(r[0][0])-1,"px)")),options:i}),r.forEach((function(t,i){var s=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,r=!1,s=void 0;try{for(var o,a=e[Symbol.iterator]();!(n=(o=a.next()).done)&&(i.push(o.value),!t||i.length!==t);n=!0);}catch(e){r=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(r)throw s}}return i}}(e,t)||mi(e,t)||function(){throw new TypeError("Invalid attempt to de
1structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t,2),o=s[0],a=s[1],l=yi({},e.options),c="screen and (min-width: ".concat(o,"px)");i!==r.length-1&&(c=c.concat(" and (max-width: ".concat(Number.parseInt(r[i+1][0])-1,"px)"))),n.forEach((function(e){Object.assign(l,e.options)})),Object.assign(l,a),n.push({mql:window.matchMedia(c),options:l})})),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(Qi(this.options.slidesToShow)){var e=100/this.options.slidesToShow;this.slider.style.display="flex",Ki(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"),Ki(this.slides,(function(e){e.style.removeProperty("width"),e.style.removeProperty("flex")}))}},{key:"_updateA11Y",value:function(){var e=this;if(this._removeA11Y(),Ki(this.slides,(function(t){var i=t.querySelectorAll(e._focusable);t.classList.contains(e._visibleClass)||(t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true")),Ki(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],r=this.visibleSlides[this.visibleSlides.length-1];n===t&&Ki(this.options.prevArrow,(function(e){e.setAttribute("disabled","")})),r===i&&Ki(this.options.nextArrow,(function(e){e.setAttribute("disabled","")}))}this._updateA11YStatus()}},{key:"_removeA11Y",value:function(){var e=this;Ki(this.slides,(function(t){var i=t.querySelectorAll(e._focusable);t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden"),Ki(i,(function(e){e.removeAttribute("tabindex")}))})),Ki(this.options.prevArrow,(function(e){return e.removeAttribute("disabled")})),Ki(this.options.nextArrow,(function(e){return e.removeAttribute("disabled")}))}},{key:"_addSkipBtn",value:function(){var e=Gi('<button class="a11y-slider-sr-only" type="button" tabindex="0">Click to skip slider carousel</button>'),t=Gi('<div class="a11y-slider-sr-only" tabindex="-1">End of slider carousel</div>'),i=function(e){!0===Ui(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(){var e=[].concat(bi(function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,i=[],n=e.previousSibling;n&&i.length<t;)i.push(n),n=n.previousSibling;return i}(this.slider)),bi(Zi(this.slider)));Ki(this._skipBtns,(function(e){e.parentNode&&e.parentNode.removeChild(e)})),Ki(e,(function(e){e.classList.contains("a11y-slider-sr-only")&&e.parentNode&&e.parentNode.removeChild(e)}))}},{key:"_generateDots",value:function(){var e=this;if(!1!==this.options.dots&&(this._removeDots(),this.sliderEnabled!==Wi.Disabled)){this.dots=Gi('<ul class="'.concat(this._dotsClass,'"></ul>'));for(var t=function(t){var i=Gi("<li></li>"),n=void 0;e.options.customPaging?n=Gi(e.options.customPaging(t,e)):(n=Gi('<button type="button"></button>')).textContent="Move slider to item #".concat(t+1);var r=function(i){!0===Ui(i)&&(e.scrollToSlide(e.slides[t]),e._toggleAutoplay(Vi.Disable))};n.addEventListener("click",r,{passive:!0}),n.addEventListener("keypress",r,{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(){return this.slides.length-(this.options.slidesToShow||this.visibleSlides.length||1)+1}},{key:"_removeDots",value:function(){var e=this;window.removeEventListener("resize",this._generateDotsDebounced);var t=Zi(this.slider);this.dots instanceof HTMLElement&&this.dots.parentNode&&this.dots.parentNode.removeChild(this.dots),Ki(t,(function(t){t.classList.contains(e._dotsClass)&&t.parentNode&&t.parentNode.removeChild(t)}))}},{key:"_updateDots",value:function(e){if(this.dots instanceof HTMLElement){var t,i,n,r,s=Array.prototype.indexOf.call(e.parentNode&&e.parentNode.children,e);s>this.dots.children.length&&(s=this.dots.children.length-1),Ki(this.dots.children,(function(e){var t,i;null===(t=e.querySelector("button"))||void 0===t||t.classList.remove("active"),null===(i=e.querySelector("button"))||void 0===i||i.removeAttribute("aria-current")})),null===(t=this.dots.children[s])||void 0===t||null===(i=t.querySelector("button"))||void 0===i||i.classList.add("active"),null===(n=this.dots.children[s])||void 0===n||null===(r=n.querySelector("button"))||void 0===r||r.setAttribute("aria-current","true")}}},{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(Vi.Enable)}},{key:"_disableAutoplay",value:function(){var e;this._toggleAutoplay(Vi.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),this.slider.addEventListener("touchstart",this._swipeTouchStart),this.slider.addEventListener("touchend",this._swipeTouchEnd),this.slider.addEventListener("touchmove",this._swipeTouchMove))}},{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:this.isPlatformiOS?"auto":"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:"_swipeTouchStart",value:function(e){this.touchStart=!0,this.slider.classList.add("a11y-slider-scrolling"),this.swipeStartX=e.touches[0].pageX-this.slider.offsetLeft,this.swipeX=this.slider.scrollLeft,this.swipeXCached=this.slider.scrollLeft}},{key:"_swipeTouchEnd",value:function(){if(this.touchStart){var e=(this.swipeXCached-(this.swipeX-1))*(this.swipeXCached-(this.swipeX+1))<=0;this.touchStart=!1,this.slider.classList.remove("a11y-slider-scrolling"),this.modernBrowser&&this.slider.scroll({left:e?this.swipeXCached:this.swipeXCached-1,behavior:this.isPlatformiOS?"auto":"smooth"})}}},{key:"_swipeTouchMove",value:function(e){if(this.touchStart){e.preventDefault();var t=2*(e.touches[0].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),this.slider.removeEventListener("touchstart",this._swipeTouchStart),this.slider.removeEventListener("touchend",this._swipeTouchEnd),this.slider.removeEventListener("touchmove",this._swipeTouchMove)}},{key:"_toggleAutoplay",value:function(e){var t=this;e===Vi.Enable?(t._removeA11YStatus(),t._autoplayTimer=window.setInterval((function(){t._goPrevOrNext(Yi.Next)}),t.options.autoplaySpeed),t.autoplayBtn.setAttribute("data-autoplaying","true"),t._dispatchEvent("autoplayStart",{currentSlide:t.activeSlide,a11ySlider:t})):e===Vi.Disable&&(t._enableA11YStatus(),window.clearInterval(t._autoplayTimer),t._autoplayTimer=zi.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 r=t.slider.firstElementChild,s=t.slider.lastElementChild,o=i[0],a=i[i.length-1];e===Yi.Next?a===s?!0===t.options.infinite&&t.scrollToSlide(r):t.scrollToSlide(n&&n.nextElementSibling):e===Yi.Prev&&(o===r?!0===t.options.infinite&&t.scrollToSlide(s):t.scrollToSlide(n&&n.previousElementSibling))}))}},{key:"scrollToSlide",value:function(e){var t,i=this,n=this.slider.scrollLeft;if(Qi(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(this.visibleSlides),this.modernBrowser?this.slider.scroll({left:t.offsetLeft,behavior:this.isPlatformiOS?"auto":"smooth"}):this.slider.scrollLeft=t.offsetLeft,setTimeout((function(){i.slider.scrollLeft===n&&i.sliderEnabled===Wi.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(!1===e)this.slider.style.height="";else{var t=Ji(this.slider,"height"),i=0;Ki(e,(function(e){var t=Ji(e,"height");t>i&&(i=t)})),t!==i&&0!==i&&(this.slider.style.height="".concat(i,"px"))}}},{key:"refreshHeight",value:function(){this._updateHeight(this.visibleSlides)}},{key:"_getActiveAndVisible",value:function(e,t){var i=!this.slider.classList.contains(this._sliderClass),n=this.slider.style.borderWidth;this.slider.style.borderWidth="0px",i&&this.slider.classList.add(this._sliderClass);var r=[],s=Math.round(this.slider.getBoundingClientRect().width),o=this.slider.scrollLeft-1<0?0:this.slider.scrollLeft-1;if(Ki(this.slides,(function(e){var t=e.offsetLeft<0?0:e.offsetLeft;t>=o&&t<o+s&&r.push(e)})),this.slider.style.borderWidth=n,i&&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{var a;this.activeSlide=null!==(a=r[0])&&void 0!==a?a:this.slides[0]}t&&t(this.visibleSlides,this.activeSlide)}},{key:"_handlePrev",value:function(e){!0===Ui(e)&&(this._goPrevOrNext(Yi.Prev),this._toggleAutoplay(Vi.Disable))}},{key:"_handleNext",value:function(e){!0===Ui(e)&&(this._goPrevOrNext(Yi.Next),this._toggleAutoplay(Vi.Disable))}},{key:"_handleAutoplay",value:function(e){!0===Ui(e)&&(this._autoplayTimer===zi.No?this._toggleAutoplay(Vi.Enable):this._toggleAutoplay(Vi.Disable))}}
1,{key:"_handleAutoplayHover",value:function(e){"mouseenter"===e.type?this._autoplayTimer!==zi.No&&(this._toggleAutoplay(Vi.Disable),this._pauseOnMouseLeave=!0):"mouseleave"===e.type&&this._pauseOnMouseLeave&&this._autoplayTimer===zi.No&&(this._toggleAutoplay(Vi.Enable),this._pauseOnMouseLeave=!1)}},{key:"_handleAutoplayEvent",value:function(e){this._pauseOnMouseLeave=!1,this._toggleAutoplay(Vi.Disable)}},{key:"_handleScroll",value:function(){this._scrollFinish()}},{key:"_scrollFinish",value:function(){this._setCSS(),!0===this.options.adaptiveHeight&&this._updateHeight(this.visibleSlides),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})}}])&&pi(t.prototype,i),e}()}()},899:()=>{var e;e=jQuery,window,document,e(document).ready((function(){function t(){const t=parseInt(e("#banPeriod").val()),i=parseInt(e("#customBanPeriod").val()),n=new Date(e("#convictionDate").val()),r=0===t?i:t,s=12===r?3:(r/12*3*4.345).toFixed(0),o={weekday:"long",year:"numeric",month:"long",day:"numeric"},a=new Date(n);a.setMonth(a.getMonth()+r);const l=new Date(a);l.setMonth(l.getMonth()-Math.floor(.25*r));const c=new Date(l);c.setMonth(c.getMonth()-2),e("#reductionLength").text(12===r?s+" months":s+" weeks"),e("#disqualificationEndDateNoReduction").text(a.toLocaleDateString("en-GB",o)),e("#disqualificationEndDateWithReduction").text(l.toLocaleDateString("en-GB",o)),e("#courseCompletionDate").text(c.toLocaleDateString("en-GB",o))}function i(){"0"===e("#banPeriod").val()?e("#customBanPeriod").show():(e("#customBanPeriod").hide(),e("#customBanPeriod").val(""))}const n=(new Date).toISOString().substring(0,10);e("#convictionDate").val(n).trigger("change"),i(),t(),e("#convictionDate").on("click",(function(){e("#convictionDate").datepicker("show")})),e("#calculate").on("click",(function(){t()})),e("#banPeriod").change((function(){i()}))}))}},t={};function i(n){var r=t[n];if(void 0!==r)return r.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,i),s.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";var e=i(56),t=i.n(e);i(899),window.location.search.includes("lbredirect=1")&&document.body.classList.add("lbredirect"),jQuery((function(e){const i=e(".navbar__toggle"),n=e(i.data("target"));if(i.on("click",(t=>{t.preventDefault(),n.hasClass("navbar__collapse--open")?(e(".navbar").removeClass("navbar--open"),n.removeClass("navbar__collapse--open"),i.attr("aria-expanded",!1),i.removeClass("navbar__toggle--open"),e(".header__nav").removeClass("header__nav--open"),e("body").removeClass("body-nav-open")):(e(".navbar").addClass("navbar--open"),n.addClass("navbar__collapse--open"),i.attr("aria-expanded",!0),i.addClass("navbar__toggle--open"),e(".header__nav").addClass("header__nav--open"),e("body").addClass("body-nav-open"))})),n.find('[data-toggle="dropdown"]').on("click",(function(t){const i=e(this).closest(".dropdown");i.hasClass("dropdown--open")&&"dropdown-toggle"===e(t.target).attr("class")&&""!==e(this).attr("href")&&void 0!==e(this).attr("href")?window.location.href=e(this).attr("href"):!i.hasClass("dropdown--open")||"dropdown-toggle"!==e(t.target).attr("class")||""!==e(this).attr("href")&&void 0!==e(this).attr("href")?e(window).width()<=1366&&"false"===e(t.target).attr("aria-expanded")&&(t.preventDefault(),n.find('[data-toggle="dropdown"]').closest(".dropdown").removeClass("dropdown--open"),i.addClass("dropdown--open"),e(t.target).attr("aria-expanded","true"),i.find(".dropdown-menu").first().addClass("test")):(t.preventDefault(),i.removeClass("dropdown--open"),i.find(".dropdown-menu").first().removeClass("test"))})),n.find(".caret").on("click",(function(t){t.preventDefault(),e(this).closest(".dropdown").hasClass("dropdown--open")?(e(this).closest(".dropdown").removeClass("dropdown--open"),e(this).closest("a").attr("aria-expanded","fal
1se"),e(this).closest(".dropdown").find(".dropdown-menu").first().removeClass("test")):(e(this).closest(".dropdown").addClass("dropdown--open"),e(this).closest("a").attr("aria-expanded","true"),e(this).closest(".dropdown").find(".dropdown-menu").first().addClass("test"))})),e(".dropdown-menu .dropdown-menu .current-page-ancestor").closest(".layer-0").addClass("current-menu-ancestor"),e(window).width()>=1366){const t=e("header"),i=e(".dropdown .dropdown-menu").not(".layer-1 .dropdown-menu");r(t,i),document.addEventListener("scroll",(function(){r(t,i)}),{passive:!0})}function r(t,i){const n=e(window).scrollTop(),r=t.offset().top-n+t.outerHeight(!0)-10;i.css("cssText","top:"+r+"px !important;")}e(".accordion-header").on("click",(function(){e(this).closest(".accordion").toggleClass("open"),e(this).siblings(".accordion-body").slideToggle(300),e(this).closest(".accordion").hasClass("open")?e(this).closest(".accordion-header").attr("aria-label","Close Accordion"):e(this).closest(".accordion-header").attr("aria-label","Open Accordion")}));const s=document.querySelector("header"),o=document.querySelector("body"),a=document.createElement("div");a.setAttribute("data-observer-intercept",""),s.before(a),new IntersectionObserver((([e])=>{s.classList.toggle("active",!e.isIntersecting),o.classList.toggle("sticky",!e.isIntersecting)})).observe(a),e(".search-submit").attr({"aria-label":"Search Submit","aria-expanded":"false"}),e(".swp-input--search").attr({"aria-label":"Search Input","aria-expanded":"false"});let l=!1;if(e(".search-submit").on("click",(function(t){const i=e(this).parent().find(".swp-input--search").val();l?l&&i.length<1&&(t.preventDefault(),l=!1,e(".searchwp-form-input-container").removeClass("open").find("input").focus(),e(".search-submit").attr({"aria-expanded":"false"}),e(".swp-input--search").attr({"aria-expanded":"false"})):(t.preventDefault(),l=!0,e(".searchwp-form-input-container").addClass("open").find("input").focus(),e(".search-submit").attr({"aria-expanded":"true"}),e(".swp-input--search").attr({"aria-expanded":"true"}))})),e(document).ready((function(){e(".country-selector").length>-1&&e(".country-selector").detach().appendTo(".header-wrapper")})),e(".country-selector").focus((function(){e(".country-selector ul").css("cssText","display: block"),e(".country-selector .weglot-language-cy").focus()})),e(".country-selector ul").focusout((function(){e(".country-selector ul").css("cssText","display: none")})),e(".filter-container").length>-1){const t=window.location.href,i=t.substring(t.indexOf("?")+1).split("&");let n="",r="";for(let e=0,t=i.length;e<t;e++){const t=i[e].split("=");0===e?n=t:1===e&&(r=t)}e("#category-filter").val(n[1]),e("#sort-order-filter").val(r[1]),""!==n[1]&&i.length>1&&(e("#category-filter")[0].options[0].innerHTML="Clear Selection"),""!==r[1]&&i.length>1&&(e("#sort-order-filter")[0].options[0].innerHTML="Clear Selection"),e("#category-filter, #sort-order-filter").on("change",(function(){const t=window.location.href.split("?")[0],i=e("#category-filter").find(":selected").val(),n=e("#sort-order-filter").find(":selected").val();let r="";""===i&&""===n||(r=(""!==i?e("#category-filter").data("filter")+"="+i:e("#category-filter").data("filter")+"=")+(""!==n?"&order="+n:"&order=")),window.location.href=t+r!==""?"?"+r:""}))}e(document).ready((function(){e(".carousel").length>0&&(e(".carousel").each((function(i,n){e(n).children().length>1&&new(t())(n,{slidesToShow:1,container:!0,arrows:!0,dots:!0,centerMode:!0,skipBtn:!1,infinite:!0,swipe:!1}).scrollToSlide(1)})),e(".carousel-slide").wrap('<div class="carousel-slide-container"></div>'))}))}))})()})();

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.