PageSourceSearch

https://www.flooringlethbridge.com/_public/Framework/Assets/JavaSc…98ca172b68602916626310ae23be80&css=29530204

js flooringlethbridge.com collected 2026-10-10 02:30:31 UTC 54,281 bytes, 33 lines download raw bytes

1function deepExtend(r){r=r||{};for(var e=arguments.length,n=1;n<e;n++){var t=arguments[n];if(t)for(var a in t)Object.hasOwnProperty.call(t,a)&&(r[a]=t[a])}return r}
2function getClosest(e,n){for(n=n.toUpperCase();e;){if(e.nodeName===n)return e;e=e.parentNode}return null}
3function httpBuildQuery(n){var r=[];for(var t in n){var o=function n(r,t,o){null===t&&(t=""),!0===t?t="1":!1===t&&(t="0");var u=typeof t;if("function"===u)return"";if("object"===u){var e=[];for(let u in t)e.push(n(r+"["+u+"]",t[u],o));return e.join("&")}return r+"="+encodeURIComponent(t)}(t,n[t],r);""!==o&&r.push(o)}return r.join("&")}
4function triggerEventCrossBrowser(e,n){var t;return"function"==typeof window.Event?t=new Event(n,{bubbles:!0,cancelable:!0}):(t=document.createEvent("Event")).initEvent(n,!0,!0,!0),e.dispatchEvent(t)}
5function ajaxRequest(e){let a;if(e.onTrigger&&("string"==typeof e.onTrigger&&(e.onTrigger=Function(e.onTrigger)),!1===e.onTrigger()))return;var t=e._GET||{},n=e._POST||{};if(e.ajaxparams&&deepExtend(t,e.ajaxparams),e.dataIncludeJS){var o="";"u">typeof g_arrLoadedJavaScript&&(o=g_arrLoadedJavaScript.join("|")),n._ajaxjs=o}if(e.dataIncludeCSS){let e="";"u">typeof g_arrLoadedCSS&&(e=g_arrLoadedCSS.join("|")),n._ajaxcss=e}if(e.dataIncludeURL&&!n._ajaxurl){var r=location.href;r=(r=r.substring(r.indexOf("//")+2)).substring(r.indexOf("/")),n._ajaxurl=r}let s=[];if(!1!==e.alwaysPost){let e=document.getElementsByClassName("alwayspost");for(let a=0;a<e.length;a++){let t=e[a],o=t.getAttribute("name"),r=t.form;o&&("radio"!=t.type&&"checkbox"!=t.type||t.checked)&&(r&&-1===s.indexOf(r)&&(triggerEventCrossBrowser(r,"updatevalues"),s.push(r)),"[]"===o.substr(o.length-2)?(void 0===n[o=o.substr(0,o.length-2)]&&(n[o]=[]),n[o].push(t.value)):void 0===n[o]&&(n[o]=t.value))}}if(e.dataIncludeState){var i=e.dataIncludeState;i.data&&i.data("ajaxparams")&&deepExtend(n,i.data("ajaxparams"));let a=getClosest(i,"form");if(a){if(a.getAttribute("action")){let e=document.createElement("div");e.innerHTML=a.getAttribute("action"),n._ajaxurl=e.textContent}else n._ajaxurl||(e.dataIncludeURL=!0);n._ajaxurl&&n._ajaxurl.startsWith("https://"+window.location.host+"/")&&(n._ajaxurl=n._ajaxurl.substr(window.location.host.length+8)),-1===s.indexOf(a)&&triggerEventCrossBrowser(a,"updatevalues");let t=new FormData(a);for(let e in n)!function e(a,t,n){if(t instanceof Array)for(let o=0;o<t.length;o++)e(a+"[]",t[o],n);else if(t instanceof Object)for(let o in t)e(a+"["+o+"]",t[o],n);else n.has(a)&&-1!==a.indexOf("[")?n.append(a,t):n.set(a,t)}(e,n[e],t);n=t}}e.method?e.method=e.method.toUpperCase():e.method="POST","POST"!==e.method&&deepExtend(t,n),(t=httpBuildQuery(t))&&(-1===e.url.indexOf("?")?e.url+="?":"&"!==e.url.substr(-1)&&(e.url+="&"),e.url+=t);let d=new XMLHttpRequest;d.bHasFiredBeforeLoadEvent=!1,d.open(e.method,e.url,void 0===e.async||e.async),d.setRequestHeader("x-requested-with","XMLHttpRequest");let l="",u=0,c=0,g=Promise.resolve(),x=null,p=!1;function m(e){if(!p){p=!0;try{e&&triggerEventCrossBrowser(window,"loadajax")}finally{a(e),ajaxPop(d)}}}async function f(){if(!e.precacheOnly&&!p){if(!d.bHasFiredBeforeLoadEvent&&d.response.length&&-1!==d.response.indexOf("\n¤¤¤¤¤¤¤¤¤¤\n\n")&&(triggerEventCrossBrowser(window,"loadajaxbeforesuccess"),e.beforeSuccess&&e.beforeSuccess(),d.bHasFiredBeforeLoadEvent=!0),e.evalChunkedResponse){let e,a=d.response;l+=a.substr(u),u=a.length,g=g.then(async()=>{p||(c+=await ajaxEvalChunkedResponse(l.substr(c)))});do e=g,await e;while(e!==g)}!p&&4===d.readyState&&d.status>=200&&d.status<400&&(x||(x=Promise.resolve().then(async()=>{p||(!e.evalChunkedResponse&&(e.evalResponse||void 0===e.evalResponse)&&ajaxEvalResponse(d.response),d.successHandlerCalled=!0,e.success&&await e.success(d.response),p||(e.onSuccessEval&&await Function(e.onSuccessEval)(d.response),m(!0)))})),await x)}}d.whenComplete=new Promise(e=>{a=e}),e.onProgress&&d.addEventListener("progress",e.onProgress),e.onComplete&&d.addEventListener("loadend",e.onComplete),d.addEventListener("progress",f),d.onload=async function(){try{d.status>=200&&d.status<400?(await f(),e.precacheOnly&&ajaxPop(d)):(e.error&&e.error(d.responseText,d.status,e),m(!1))}catch(e){throw m(!1),e}},d.onerror=function(){try{e.error&&e.error(d.responseText,d.status,e)}finally{m(!1)}}
5,d.onabort=function(a){if(!p)try{e.abort&&e.abort(a)}finally{m(!1)}};let j=d.abort.bind(d);return d.abort=function(){try{j()}finally{d.onabort()}},d.executePrecachedResult=async function(){if(p)return d.whenComplete;e.precacheOnly=!1,g_arrAjaxRequests.includes(d)||g_arrAjaxRequests.push(d);try{await f()}catch(e){throw m(!1),e}return d.whenComplete},d._showLoading=e.showLoading,g_arrAjaxRequests.push(d),"GET"===e.method?d.send():(n instanceof FormData||(d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),n=httpBuildQuery(n)),d.send(n)),e.showLoading&&ajaxShowLoading(e.showLoadingMessage),d}function ajaxAbort(e){e.abort(),ajaxPop(e)}function ajaxPop(e){let a=g_arrAjaxRequests.indexOf(e);if(-1===a)return;g_arrAjaxRequests.splice(a,1),g_arrAjaxRequests.length||triggerAjaxDone();let t=!0;for(var n=0;n<g_arrAjaxRequests.length;n++)g_arrAjaxRequests[n]._showLoading&&(t=!1);t&&ajaxHideLoading()}function ajaxAbortAll(){let e=g_arrAjaxRequests;for(let a of(window.g_arrAjaxRequests=[],e))a.abort();g_arrAjaxRequests.length||(ajaxHideLoading(),triggerAjaxDone())}function ajaxShowLoading(e){ajaxLoadingTimeout||(ajaxLoadingHideTimeout&&(clearTimeout(ajaxLoadingHideTimeout),ajaxLoadingHideTimeout=null),ajaxLoadingTimeout=setTimeout(function(){var a=document.getElementById("ajaxLoading");a&&a.parentNode.removeChild(a),(a=document.createElement("div")).id="ajaxLoading",e&&(a.innerHTML='<div class="ajaxLoadingMessage">'+e+"</div>"),document.body.appendChild(a),a.classList.add("ajaxLoadingShow"),ajaxLoadingTimeout=null},400))}function ajaxHideLoading(){ajaxLoadingTimeout&&(clearTimeout(ajaxLoadingTimeout),ajaxLoadingTimeout=null);var e=document.getElementById("ajaxLoading");e&&(e.classList.add("ajaxLoadingHide"),ajaxLoadingHideTimeout&&clearTimeout(ajaxLoadingHideTimeout),ajaxLoadingHideTimeout=setTimeout(function(){e.parentNode&&e.parentNode.removeChild(e)},500))}async function ajaxEvalChunkedResponse(e){let a="\n¤¤¤¤¤¤¤¤¤¤\n\n",t=e.indexOf(a),n=0;for(;-1!==t;){let o=e.indexOf("\n"),r=e.substr(0,o),s=e.substr(o+1,t-o-1);if("js"==r)ajaxEvalResponse(s);else if("css"==r){let e=document.createElement("style");e.styleSheet?e.styleSheet.cssText=s:e.appendChild(document.createTextNode(s)),document.getElementsByTagName("head")[0].appendChild(e)}else if("cssRemote"==r){let e=JSON.parse(s);await Promise.all(e.map(e=>new Promise(a=>{let t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e),t.onload=function(){triggerEventCrossBrowser(window,"loadajaxcss"),a()},t.onerror=a,document.getElementsByTagName("head")[0].appendChild(t)})))}else if("jsRemote"==r){let e=JSON.parse(s);await Promise.all(e.map(e=>{let a=document.querySelector('script[src="'+CSS.escape(e)+'"]');if(a)return a._oncordAjaxLoad;let t=document.createElement("script");return t._oncordAjaxLoad=new Promise(e=>{t.onload=e,t.onerror=e}),t.setAttribute("src",e),(document.head||document.getElementsByTagName("head")[0]).appendChild(t),t._oncordAjaxLoad}))}n+=t+a.length,t=(e=e.substr(t+a.length)).indexOf(a)}return n}function ajaxEvalResponse(e){e&&(window.execScript?window.execScript(e):eval.call(window,e))}function triggerAjaxDone(){for(let e in g_arrOnAJAXDone)g_arrOnAJAXDone[e]();g_arrOnAJAXDone=[]}window.ajaxLoadingTimeout=window.ajaxLoadingTimeout||null,window.ajaxLoadingHideTimeout=window.ajaxLoadingHideTimeout||null,window.g_arrAjaxRequests=window.g_arrAjaxRequests||[],window.g_arrOnAJAXDone=window.g_arrOnAJAXDone||[];
6window.DataControls={showMore:function(a,e){var t=document.getElementById(a+"_rows");t.value=parseInt(t.value)+e,ajaxRequest({url:"/_public/Controls/Data/DataControlABC/datacontrol.php",dataIncludeURL:!0,dataIncludeJS:!0,dataIncludeCSS:!0,dataIncludeState:!0,evalChunkedResponse:!0,_POST:{_datacontrolid:a}});var o=RegExp(a+"_rows=[\\d]*"),l=location.search;l.match(o)?l=l.replace(o,a+"_rows="+t.value):l?l+="&"+a+"_rows="+t.value:l+="?"+a+"_rows="+t.value,history.replaceState(null,"",l)}};
7!function(){let e=/_\d*x\d*[ac]?\.[a-z]{3,5}$/,t=new MutationObserver(d),i="IntersectionObserver"in window?new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(o(e.target),i.unobserve(e.target))})},{root:null,rootMargin:"0px 0px 0px 0px",threshold:0}):null,n=[7056,16200,23256,32400,39456,46512,53568,64800,97200,129600,259200,388800,518400,648e3,777600,921600,2073600,3686400,8294400];function s(e){e._imageObserversBound||(e._imageObserversBound=!0,requestAnimationFrame(function(){t.observe(e,{attributes:!1,childList:!0,subtree:!0}),d([{type:"childList",addedNodes:e.body?e.body.childNodes:e.childNodes,removedNodes:[],target:e.body?e.body:e}])}))}function d(e){for(let t=0;t<e.length;t++){let n=e[t];n.addedNodes.length&&function e(t){for(let n=0;n<t.length;n++){let d=t[n];d.isConnected&&1===d.nodeType&&("IMG"===d.nodeName&&d.getAttribute("data-src")&&d.getAttribute("data-lazy")?i&&d.getAttribute("data-verylazy")?i.observe(d):o(d):d.childNodes&&d.childNodes.length&&e(d.childNodes),d.shadowRoot&&s(d.shadowRoot))}}(n.addedNodes)}}function o(t){requestAnimationFrame(function(){!function(t){if(!t.isConnected)return;let s=t.getAttribute("data-src");if(!e.test(s)){let e=t.getBoundingClientRect();if((!e.width||!e.height)&&i)return t.setAttribute("data-verylazy",!0),i.observe(t);let d=s.lastIndexOf("."),o=s.substring(0,d);!function(e,t){if(window._s8Sqips=window._s8Sqips||{},!window._s8Sqips[e]){let i=/viewBox(?:%3D|=)'0\s0\s(\d+)\s(\d+)'/.exec(t);window._s8Sqips[e]={native:{width:parseInt(i[1]),height:parseInt(i[2])},sizes:[],sqip:t};let s=window._s8Sqips[e].native.width,d=window._s8Sqips[e].native.height;if(!s||!d)return;let o=s/d;for(let t=0;t<n.length;
7t++){let i,r=Math.sqrt(n[t]/o),a=o*r;if(a>=s||r>=d)break;let l=parseInt(a)===a,h=parseInt(r)===r;i=(l&&h?"_"+a+"x"+r:l?"_"+a+"x":h?"_x"+r:o>=1?"_"+Math.ceil(a)+"x":"_x"+Math.ceil(r))+"a",window._s8Sqips[e].sizes.push({width:a,height:r,suffix:i})}}}(o,t.src);let r="",a=window.devicePixelRatio;a>2&&(a=2),e.width<10&&(e.width=400),window.innerWidth<450&&a>1.3&&(a=1.3);let l=parseInt(e.width)*a,h=parseInt(e.height)*a;for(let e=0;e<window._s8Sqips[o].sizes.length;e++){let t=window._s8Sqips[o].sizes[e];if(l<1.3*t.width&&h<1.3*t.height){r=t.suffix;break}}s=o+r+s.substring(d,s.length)}let d=new Image,o=()=>{t.src=s,d.removeEventListener("load",o,!0)};d.addEventListener("load",o,!0),d.src=s}(t)})}"interactive"===document.readyState||"complete"===document.readyState?s(document):window.addEventListener("DOMContentLoaded",()=>s(document),!0)}();
8!function(){window.interpolate||(Object.assign(e,{linear:(e,t,a,i)=>a*e/i+t,easeinquad:(e,t,a,i)=>a*(e/=i)*e+t,easeoutquad:(e,t,a,i)=>-a*(e/=i)*(e-2)+t,easeinoutquad:(e,t,a,i)=>(e/=i/2)<1?a/2*e*e+t:-a/2*(--e*(e-2)-1)+t,easeincubic:(e,t,a,i)=>a*(e/=i)*e*e+t,easeoutcubic:(e,t,a,i)=>(e/=i,a*(--e*e*e+1)+t),easeinoutcubic:(e,t,a,i)=>(e/=i/2)<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t,easeinquart:(e,t,a,i)=>a*(e/=i)*e*e*e+t,easeoutquart:(e,t,a,i)=>(e/=i,-a*(--e*e*e*e-1)+t),easeinoutquart:(e,t,a,i)=>(e/=i/2)<1?a/2*e*e*e*e+t:-a/2*((e-=2)*e*e*e-2)+t,easeinquint:(e,t,a,i)=>a*(e/=i)*e*e*e*e+t,easeoutquint:(e,t,a,i)=>(e/=i,a*(--e*e*e*e*e+1)+t),easeinoutquint:(e,t,a,i)=>(e/=i/2)<1?a/2*e*e*e*e*e+t:a/2*((e-=2)*e*e*e*e+2)+t,easeinsine:(e,t,a,i)=>-a*Math.cos(e/i*(Math.PI/2))+a+t,easeoutsine:(e,t,a,i)=>a*Math.sin(e/i*(Math.PI/2))+t,easeinoutsine:(e,t,a,i)=>-a/2*(Math.cos(Math.PI*e/i)-1)+t,easeinexpo:(e,t,a,i)=>a*Math.pow(2,10*(e/i-1))+t,easeoutexpo:(e,t,a,i)=>a*(-Math.pow(2,-10*e/i)+1)+t,easeinoutexpo:(e,t,a,i)=>(e/=i/2)<1?a/2*Math.pow(2,10*(e-1))+t:a/2*(-Math.pow(2,-10*--e)+2)+t,easeincirc:(e,t,a,i)=>-a*(Math.sqrt(1-(e/=i)*e)-1)+t,easeoutcirc:(e,t,a,i)=>(e/=i,a*Math.sqrt(1- --e*e)+t),easeinoutcirc:(e,t,a,i)=>(e/=i/2)<1?-a/2*(Math.sqrt(1-e*e)-1)+t:a/2*(Math.sqrt(1-(e-=2)*e)+1)+t}),window.interpolate=e);function e(t,a,i,s,u,n="easeoutcubic",o=0){n&&e?.[n]||(n="easeoutcubic");let c=(t-a)/(i-a);c=o+(1-o)*c;let r=e[n](c,0,1,1),h=e[n](o,0,1,1);return s+(u-s)*(r=(r-h)/(1-h))}}();
9!function(){if(window.MutationModel)return;let t={},e=new Proxy(t,{set:(t,e,i,s)=>(i.initialisedPromise&&i.initialised(),Reflect.set(t,e,i,s))});window.MutationModel=class{constructor(i,s,o){if(t[i])return console.warn(`MutationModel: ${i} already added.`),!1;for(const t in this.initialisedPromise=new Promise(t=>this.initialised=t),s)Object.prototype.hasOwnProperty.call(s,t)&&(this[t]=s[t]);this.mutationObserver=new MutationObserver(this._mutationObserverCallback.bind(this)),this._updateState={_callbackQueued:!1,_states:{}},this._update=this._update.bind(this),e[i]=this,s.rootNodeName&&!window.customElements.get(s.rootNodeName)&&window.customElements.define(s.rootNodeName,this.getRootElementBaseClass()),o&&o(this)}_mutationObserverCallback(t){try{window}catch(t){return}for(let e of t)if("childList"===e.type){for(let t of e.removedNodes)this._removed(t,e.target);for(let t of e.addedNodes)t.isConnected&&this._added(t,e.target)}else"attributes"===e.type&&e.target.isConnected&&this._changed(e.target,e.attributeName,e.oldValue)}getRootElement(t){return 1===t.nodeType?t.closest(this.rootNodeName):null}getRootElementBaseClass(){let t=this;class e extends HTMLElement{constructor(){super()}connectedCallback(){t.initialisedPromise.then(()=>{t.observe(this)})}getMutationModel(){return t}}return e}observe(t){var e;let i,s=Object.keys(this.attributes).map(t=>this.attributes[t]);this.mutationObserver.observe(t,{attributes:!0,attributeFilter:s,childList:!0,subtree:!0});let o=[{type:"childList",addedNodes:(i=function t(e){return e.childNodes?[e,...Array.prototype.flatMap.call(e.childNodes,t)]:e}(e=t))===e?[e]:i,removedNodes:[],target:t.parentNode},...s.filter(e=>t.hasAttribute&&t.hasAttribute(e)).map(e=>({type:"attributes",target:t,attributeName:e,oldValue:""}))];this._mutationObserverCallback(o)}update(t,e){this._updateState._states[e]||(this._updateState._states[e]=[]),-1==this._updateState._states[e].indexOf(t)&&this._updateState._states[e].push(t),this._updateState._callbackQueued||requestAnimationFrame(this._update),this._updateState._callbackQueued=!0}_update(t){this._updateState._callbackQueued=!1;let e=Object.keys(this._updateState._states),i=[];for(let t=0;t<e.length;t++)i.push(this._updateState._states[e[t]]),delete this._updateState._states[e[t]];for(let s=0;s<e.length;s++){let o=e[s],a=i[s];for(let e=0;e<a.length;e++){let i=a[e];for(let e=0,s=Object.keys(this.definitions);e<s.length;e++){let a=this.definitions[s[e]];if(a.match(i)){a.onUpdate&&a.onUpdate[o]&&a.onUpdate[o](i,t);break}}}}}_added(t,e){if(1===t.nodeType){t.shadowRoot&&!t.shadowRoot._mutationModelObserving&&(t.shadowRoot._mutationModelObserving=!0,this.observe(t.shadowRoot));for(let i=0,s=Object.keys(this.definitions);i<s.length;i++){let o=this.definitions[s[i]];if(o.match(e)&&e.contains(t)){o.onChildAdded&&o.onChildAdded(e,t),this._emitCustomEvent("childAdded",e,{child:t});break}}for(let i=0,s=Object.keys(this.definitions);i<s.length;i++){let o=this.definitions[s[i]];if(o.match(t)&&e.contains(t)){o.onAdded&&o.onAdded(t,e),this._emitCustomEvent("added",t,{parent:e});break}}
9t.childNodes&&[...t.childNodes].forEach(t=>{this._added(t,t.parentNode)})}}_removed(t,e){if(1===t.nodeType){for(let i=0,s=Object.keys(this.definitions);i<s.length;i++){let o=this.definitions[s[i]];if(o.match(e)){o.onChildRemoved&&o.onChildRemoved(e,t),this._emitCustomEvent("childRemoved",e,{child:t});break}}for(let i=0,s=Object.keys(this.definitions);i<s.length;i++){let o=this.definitions[s[i]];if(o.match(t)){o.onRemoved&&o.onRemoved(t,e),this._emitCustomEvent("removed",t,{parent:e});break}}}}_changed(t,e,i){for(let s=0,o=Object.keys(this.definitions);s<o.length;s++){let a=this.definitions[o[s]];if(a.match(t)){a.onChanged&&a.onChanged(t,e,i);return}}}_emitCustomEvent(t,e,i){let s=new CustomEvent(t,{detail:i||{}});e.dispatchEvent(s)}}}();
10!function(){let t;if(window.Rotators)return;let e=new window.MutationModel("Rotators",{rootNodeName:"oncord-rotator",classes:{rotator:"s8-Rotator",slide:"s8-RotatorSlide",item:"s8-RotatorItem",content:"s8-RotatorContent",nav:"s8-RotatorNav",navNext:"s8-RotatorNavNext",navPrev:"s8-RotatorNavPrev",navSlides:"s8-RotatorNavSlides",navSlide:"s8-RotatorNavSlide",navSlideActive:"s8-RotatorNavSlideActive"},attributes:{rotator:"data-s8-rotator",slide:"data-s8-rotator-slide",item:"data-s8-rotator-item",content:"data-s8-rotator-content",nav:"data-s8-rotator-nav",navNext:"data-s8-rotator-nav-next",navPrev:"data-s8-rotator-nav-prev",navSlides:"data-s8-rotator-nav-slides",navSlide:"data-s8-rotator-nav-slide",variant:"data-s8-rotator-variant",navVariant:"data-s8-rotator-nav-variant",minimapVariant:"data-s8-rotator-nav-minimap-variant",arrowVariant:"data-s8-rotator-nav-arrow-variant",position:"data-s8-rotator-position",positionStep:"data-s8-rotator-position-step",spaceBetweenItems:"data-s8-rotator-space-between-items",groupSize:"data-s8-rotator-group-size",alignItems:"data-s8-rotator-align-items",transition:"data-s8-rotator-transition",easing:"data-s8-rotator-transition-easing",speed:"data-s8-rotator-transition-speed",changeAt:"data-s8-rotator-change-at",slideTransition:"data-s8-rotator-slide-transition",continuousSpeed:"data-s8-rotator-continuous-speed",pauseOnHover:"data-s8-rotator-pause-on-hover",direction:"data-s8-rotator-direction"},speeds:{fast:200,normal:700,slow:1400},positionSteps:{single:"single",group:"group"},definitions:{rotator:{match:function(t){return t&&1===t.nodeType&&t.nodeName===e.rootNodeName.toUpperCase()},onAdded:function(t){(function(t){function i(n){if(i._bound&&!i._bound.isConnected||1!==n.buttons){t.removeEventListener("mousemove",i,!0),i._bound=!1;return}let r=i._bound,a=e.nav.getContainer(r),o=e.api.getNavSlide(a),s=null,l=null;for(let t=0,e=0;t<o.childNodes.length;t++){let i=o.childNodes[t];if(1!==i.nodeType)continue;let r=i.getBoundingClientRect();(!s||Math.abs(r.x+r.width/2-n.clientX)<Math.abs(s.x+s.width/2-n.clientX))&&(s=r,l=e),e++}s&&e.api.setPosition(r,l)}function n(i){if(!t.contains(n._bound)){t.removeEventListener("touchmove",n,!0),n._bound=!1,n._traveled=null;return}let a=n._bound;n._traveled.trace.push({clientX:i.changedTouches[0].clientX,clientY:i.changedTouches[0].clientY,timeStart:i.timeStamp});let o=0,s=0;for(let t=0,e=1;e<n._traveled.trace.length;t++,e++){let i=n._traveled.trace[t],r=n._traveled.trace[e];o+=r.clientX-i.clientX,s+=r.clientY-i.clientY}if(o*=-1,n._traveled.maxTraveledX=Math.max(n._traveled.maxTraveledX,Math.abs(o)),3*Math.abs(s)>n._traveled.maxTraveledX)return void r();let l=o/n._traveled.initialWidth;n._traveled.swipedDistance=l*n._traveled.initialGroupSize;let u=n._traveled.initialPos+n._traveled.swipedDistance;e.api.setPosition(a,u,"instant")}function r(i){if(n._bound){let i=n._bound,r=e.api.getSlide(i),a=e.api.getItems(r),o=e.api.getNormalPosition(a.length,e.api.getTargetPosition(i));if(0!==n._traveled.swipedDistance&&o!==parseInt(o)){let t=parseInt(o)+(n._traveled.swipedDistance>0?0:1),r=n._traveled.swipedDistance>0?1:-1,a=Math.abs(n._traveled.swipedDistance)-Math.floor(Math.abs(n._traveled.swipedDistance))>=.3;e.api.setPosition(i,t+(a?r:0),"slide","normal","easeoutcubic")}t.removeEventListener("touchmove",n,!0),n._bound=!1,n._traveled=null}}t._rotatorEventsBound||(t._rotatorEventsBound=!0,t.addEventListener("click",function(i){if(!t.contains(i.target))return;let n=!1,r=!1,a=1===i.target.nodeType?i.target:i.target.parentNode;for(;a&&1===a.nodeType;){if(n=a.getAttribute(e.attributes.navNext),r=a.getAttribute(e.attributes.navPrev),n||r){i.preventDefault();let t=a.parentNode.parentNode;if(!e.definitions.rotator.match(t))return;let r=e.api.getSlide(t);if(!r)return;let o=e.api.getItems(r).length;if(!o)return;let s=e.api.getTargetPosition(t);s+=Math.min(e.api.getPositionStep(t),o)*(n?1:-1),e.api.setPosition(t,s);return}if(a.getAttribute(e.attributes.navSlide)){i.preventDefault();let t=a,n=t.parentNode,r=n.parentNode.parentNode;if(!e.definitions.rotator.match(r))return;for(let i=0,a=0;i<n.childNodes.length;i++){if(n.childNodes[i]===t){e.api.setPosition(r,a);break}1===n.childNodes[i].nodeType&&n.childNodes[i].getAttribute(e.attributes.navSlide)&&a++}return}a=a.parentNode}},!0),t.addEventListener("mousedown",function(n){if(i._bound)return;let r=1===n.target.nodeType?n.target:n.target.parentNode;for(;r&&1===r.nodeType;){if(r.getAttribute(e.attributes.navSlide)){let n=r.parentNode.parentNode.parentNode;e.definitions.rotator.match(n)&&(t.addEventListener("mousemove",i,!0),i._bound=n);return}r=r.parentNode}},!0),t.addEventListener("keydown",function(i){let n="ArrowRight"===i.key?"."+e.classes.navNext:"ArrowLeft"===i.key?"."+e.classes.navPrev:null,r=n?t.querySelector(n):null;r&&r.dispatchEvent(new Event("click"))},!0),t.addEventListener("mouseup",function(e){i._bound&&(t.removeEventListener("mousemove",i,!0),i._bound=!1)},!0),i._bound=!1,t.addEventListener("touchstart",function(i){if(n._bound)return;let r=1===i.target.nodeType?i.target:i.target.parentNode,a=null;for(;r&&1===r.nodeType;){if(e.definitions.rotator.match(r)){if(a=r,"continuous"===e.api.getTransitionStyle(a))return;let o=a.getBoundingClientRect();t.addEventListener("touchmove",n,!0),n._bound=a,n._traveled={initialId:i.changedTouches[0].identifier,initialPos:e.api.getTargetPosition(a),initialGroupSize:e.api.getGroupSize(a),initialWidth:o.width,maxTraveledX:0,swipedDistance:0,trace:[{clientX:i.changedTouches[0].clientX,clientY:i.changedTouches[0].clientY,timeStart:i.timeStamp}]};return}r=r.parentNode}},!0),t.addEventListener("touchend",r,!0),n._bound=!1,n._traveled=null)}
10)(t.getRootNode()),t.classList.add(e.classes.rotator),e.api.setPosition(t,t.getAttribute(e.attributes.position)),e.api.setGroupSize(t,t.getAttribute(e.attributes.groupSize)),e.api.createSlide(t);let i=e.api.getSlide(t),n=e.api.getTargetPosition(t);i&&0!==n&&e.api.setPosition(t,n,"instant")},onRemoved:function(){},onChanged:function(t,i){(i==e.attributes.groupSize||i==e.attributes.position||i==e.attributes.spaceBetweenItems||i==e.attributes.transition||i==e.attributes.slideTransition||i==e.attributes.alignItems)&&(e.continuous._state.has(t)&&(i==e.attributes.transition&&"continuous"!==e.api.getTransitionStyle(t)?e.continuous.teardown(t):(i==e.attributes.groupSize||i==e.attributes.spaceBetweenItems)&&e.continuous.recalculateLayout(t)),e.update(t,"updateRender"),e.update(t,"updateTransition"))},onChildAdded:function(t,i){if(!e.definitions.slide.match(i)&&!e.definitions.nav.match(i)){i.setAttribute(e.attributes.content,!0);let n=e.api.getSlide(t);n||console.log("no slide"),n&&n.appendChild(i)}},onChildRemoved:null,onUpdate:{updateRender:function(t,i){e.api.createSlide(t);let n=e.api.getSlide(t),r=e.api.getItems(n),a=e.api.getGroupSize(t),o=e.api.getTargetPosition(t),s=e.api.getCurrentTransition(n);e.api._updateGroupSize(t,n,r,a),e.api._updatePosition(t,n,r,o,a,s,i),o=e.api.getTargetPosition(t),s=e.api.getCurrentTransition(n),e.api._updateSpaceBetweenItems(t,n,r,a),e.nav.update(t,n,r,o,a,s);let l=t.getAttribute(e.attributes.alignItems);n.style.alignItems=l},updateTransition:function(t,i){let n=e.api.getSlide(t);if(!n)return;let r=e.api.getCurrentTransition(n);if(!r||null===r.type)return;let a=e.api.getItems(n),o=e.api.getGroupSize(t);e.api.transition.animate[r.type](t,n,a,o,r,i),"continuous"!==r.type&&e.nav.update(t,n,a,e.api.getTargetPosition(t),o,r)}}},slide:{match:function(t){return t&&1===t.nodeType&&t.parentNode&&t.getAttribute(e.attributes.slide)&&e.definitions.rotator.match(t.parentNode)},onAdded:function(t){let i=t.parentNode,n=[...i.childNodes].filter(i=>i!=t&&!e.definitions.nav.match(i));t.append(...n);let r=i.getAttribute(e.attributes.alignItems);t.style.alignItems=r},onRemoved:null,onChanged:function(t,i){i==e.attributes.slideTransition&&e.update(t.parentNode,"updateTransition")},onChildAdded:null,onChildRemoved:null},item:{match:function(t){return t&&1===t.nodeType&&t.getAttribute(e.attributes.item)},onAdded:function(t){let i=t.parentNode.parentNode;e.update(i,"updateRender"),e.update(i,"updateTransition")},onRemoved:function(t,i){if(t){let t=i.parentNode;e.update(t,"updateRender")}},onChanged:null,onChildAdded:null,onChildRemoved:null},content:{match:function(t){return!(t&&1===t.nodeType&&t.hasAttribute("data-s8-rotator-clone"))&&t&&(1===t.nodeType&&t.getAttribute(e.attributes.content)||t.parentNode&&(e.definitions.slide.match(t.parentNode)||e.definitions.item.match(t.parentNode))&&!e.definitions.nav.match(t)&&!e.definitions.slide.match(t)&&!e.definitions.item.match(t))},onAdded:function(t){if(e.definitions.slide.match(t.parentNode)){let i=document.createElement("div");i.setAttribute(e.attributes.item,!0),i.classList.add(e.classes.item),t.parentNode.insertBefore(i,t),i.appendChild(t)}t.setAttribute(e.attributes.content,!0),t.classList.add(e.classes.content)},onRemoved:function(t,e){},onChanged:null,onChildAdded:null,onChildRemoved:null},nav:{match:function(t){return t&&1===t.nodeType&&t.parentNode&&t.getAttribute(e.attributes.nav)&&e.definitions.rotator.match(t.parentNode)},onAdded:null,onRemoved:null,onChanged:null,onChildAdded:null,onChildRemoved:null}},api:{getSlide:function(t){for(let i=0;i<t.childNodes.length;i++)if(e.definitions.slide.match(t.childNodes[i]))return t.childNodes[i];return null},getNav:function(t){for(let i=0;i<t.childNodes.length;i++)if(e.definitions.nav.match(t.childNodes[i]))return t.childNodes[i];return null},getContentNodes:function(t){return[...t.querySelectorAll(`*[${e.attributes.content}]`)]},setGroupSize:function(t,i){if("string"==typeof i&&"none"===i.toLowerCase())return t.setAttribute(e.attributes.groupSize,i.toLowerCase());let n=parseFloat(i);isNaN(n)&&(n=1),t.setAttribute(e.attributes.groupSize,n)},rotateNext:function(t){if(!e.definitions.rotator.match(t))return;let i=e.api.getSlide(t);if(!i)return;let n=e.api.getItems(i).length;if(!n)return;let r=e.api.getTargetPosition(t);r+=Math.min(e.api.getPositionStep(t),n),e.api.setPosition(t,r)},rotatePrevious:function(t){if(!e.definitions.rotator.match(t))return;let i=e.api.getSlide(t);if(!i)return;let n=e.api.getItems(i).length;if(!n)return;let r=e.api.getTargetPosition(t);r+=-1*Math.min(e.api.getPositionStep(t),n),e.api.setPosition(t,r)},setPosition:function(t,i,n,r,a){isNaN(i=parseFloat(i))&&(i=0),n||r||a?t.setAttribute(e.attributes.position,i+" "+(n||null)+" "+(r||null)+" "+(a||null)):t.setAttribute(e.attributes.position,i)},setTransitionEasing:function(t,i){t.setAttribute(e.attributes.easing,i)},getGroupSize:function(t){let i=t.getAttribute(e.attributes.groupSize);if("none"===i.toLowerCase())return 0;if("fade"==e.api.getTransitionStyle(t))return 1;let n=parseFloat(i),r=e.api.getSlide(t),a=e.api.getItems(r).length;return isNaN(n)?1:Math.min(n,a)},getTargetPosition:function(t){let i=parseFloat(t.getAttribute(e.attributes.position).split(" ")[0]);return isNaN(i)?0:i},getPositionStep:function(t){let i=(t.getAttribute(e.attributes.positionStep)||"").toLowerCase();if(e.positionSteps[i]){if("single"==i)return 1;if("group"==i)return e.api.getGroupSize(t)}let n=parseFloat(i);return isNaN(n)&&(n=e.api.getGroupSize(t)),n=Math.max(Math.min(e.api.getGroupSize(t),n),1)},setPositionStep:function(t,i){i=Math.max(Math.min(e.api.getGroupSize(t),i),1),t.setAttribute(e.attributes.positionStep,i)},getSpaceBetweenItems:function(t){let i=t.getAttribute(e.attributes.spaceBetweenItems);return i?parseInt(i):0},getTargetTransition:function(t){let i=t.getAttribute(e.attributes.position).split(" ");return i.length<=1?null:{transitionStyle:i[1]?e.api._filterTransitionStyleAttribute(i[1]):null,transitionSpeed:i[2]?e.api._filterTransitionSpeedAttribute(i[2]):null,transitionEasing:i[3]?e.api._filterTransitionEasingAttribute(i[3]):null}},getNormalPosition:function(t,e){return e>=t&&(e%=t),e<0&&(e=t-(Math.abs(e)%t||t)),e},getTransitionStyle:function(t){return e.api._filterTransitionStyleAttribute(t.getAttribute(e.attributes.transition))},_filterTransitionStyleAttribute:function(t){return t&&"null"!==t||(t="instant"),t=t.toLowerCase(),t=e.api.transition.typeIsValid(t)?t:"instant"},getTransitionSpeed:function(t){return e.api._filterTransitionSpeedAttribute(t.getAttribute(e.attributes.speed))},_filterTransitionSpeedAttribute:function(t){let i;return t&&"null"!==t||(t="normal"),"fast"===(t=t.toLowerCase())?i=e.speeds.fast:"normal"===t?i=e.speeds.normal:"slow"===t?i=e.speeds.slow:(isNaN(i=parseInt(t))||i<0)&&(i=e.speeds.normal),i},getTransitionEasing:function(t){let i=t.getAttribute(e.attributes.easing);return i||e.api.setTransitionEasing(t,"none"),e.api._filterTransitionEasingAttribute(i)},_filterTransitionEasingAttribute:function(t){return t&&("none"==t&&(t="linear"),window.interpolate[t]||(t=t.toLowerCase().replace(/\s/g,""),window.interpolate[t]||(t&&"linear"!==t&&!/^ease/.test(t)&&(t="ease"+t),t&&"linear"!==t&&!/quad$|cubic$|quart$|sine$|expo$|circ$/.test(t)&&(t+="cubic"),window.interpolate[t])))?t:"linear"},getActiveGroup:function(t,i,n){i=e.api.getNormalPosition(t.length,Math.round(i));let r=t.length,a=[i];for(let t=1,e=i+1;t<n&&(e>=r&&(e=0),e!=i);t++,e++)a.push(e);return a},getCurrentItem:function(t){let i=e.api.getSlide(t),n=e.api.getItems(i),r=e.api.getNormalPosition(n.length,Math.round(parseFloat(t.getAttribute(e.attributes.position))));return n[r]}
10,getSlideOverhang:function(t,e,i){return Math.max(0,Math.min(e+i-t.length,e))},_updateGroupSize:function(t,i,n,r){let a=e.api.getSpaceBetweenItems(t),o=r?`0 0 calc(calc(100% - ${(r-1)*a}px)/${r})`:"";for(let t=0;t<n.length;t++)n[t].style.flex=o;i.style.width=r?"100%":"auto"},_updateSpaceBetweenItems:function(t,i,n,r){let a=e.api.getSpaceBetweenItems(t);i.style.gap=a+"px"},_updatePosition:function(t,i,n,r,a,o,s){if(!a&&i.offsetLeft&&(e.api.setPosition(t,0),0===o.current))return;let l=e.api.getTargetTransition(t),u=e.api.getNormalPosition(n.length,r);r!==u?(o&&(null!==o.from&&(o.from=u<r?o.from-n.length:o.from+n.length),null!==o.to&&(o.to=u<r?o.to-n.length:o.to+n.length),null!==o.current&&(o.current=u<r?o.current-n.length:o.current+n.length)),e.api._setCurrentTransition(i,o.type,o.current,o.from,o.to,o.timeStart,o.timeEnd,o.easing,o.timePercentSkip),e.api.setPosition(t,u)):l&&e.api.setPosition(t,u),o&&null!==o.type&&(null===o.to||o.to===u)||e.api.transition.configured(t,i,n,u,l,s)},transition:{configured:function(t,i,n,r,a,o){let s=a&&a.transitionStyle?a.transitionStyle:e.api.getTransitionStyle(t),l=a&&a.transitionSpeed?a.transitionSpeed:e.api.getTransitionSpeed(t),u=a&&a.transitionEasing?a.transitionEasing:e.api.getTransitionEasing(t);e.api.transition[s](i,n,r,l,u,o)},typeIsValid:function(t){return"instant"==t||"fade"==t||"slide"==t||"groupSize"==t||"continuous"==t},instant:function(t,i,n){e.api._setCurrentTransition(t,"instant",n,n,n)},fade:function(t,i,n,r,a,o){let s=e.api.getCurrentTransition(t);e.api._setCurrentTransition(t,"fade",s.current,s.current,n,null,o+r,a)},slide:function(t,i,n,r,a,o){let s=e.api.getCurrentTransition(t);if("slide"==s.type){let i=s.timePercentSkip,a=i+(1-i)*(o-s.timeStart)/(s.timeEnd-s.timeStart);a>.5&&(a=1-a),e.api._setCurrentTransition(t,"slide",s.current,s.current,n,o,o+r,s.easing,a);return}e.api._setCurrentTransition(t,"slide",s.current,s.current,n,null,r,a,0)},continuous:function(t,i,n,r,a,o){let s=e.api.getCurrentTransition(t);e.api._setCurrentTransition(t,"continuous",s.current||0,null,null,o,null,null,0)},animate:{instant:function(t,i,n,r,a){let o=n.length,s=e.api.getNormalPosition(o,a.current),l=e.api.getSpaceBetweenItems(t),u=Math.min(o,r),d=`calc(-${100*s/u}% - ${s*l/u}px)`;if(r){let t=e.api.getSlideOverhang(n,s,r);i.style.transform="translateX("+d+")";for(let e=0;e<o;e++){let i=n[e];e<Math.ceil(t)?i.style.transform=`translateX(calc(${o}00% + ${o*l}px)`:i.style.transform="none"}}else{let t=Math.floor(s);for(let e=0;e<o;e++)n[e].style.order=e<t?o-(t-e):e-t;let e=n[t].getBoundingClientRect().width*(s-t);i.style.transform="translateX(-"+e+"px)"}"instant"===a.type&&e.api._setCurrentTransition(i,null,s)},fade:function(t,i,n,r,a,o){let s=e.api.getNormalPosition(n.length,a.from),l=e.api.getNormalPosition(n.length,a.to);if(s==l)return void e.api._setCurrentTransition(i,null);let u=n[s],d=n[l];if(!u||!d)return void e.api._setCurrentTransition(i,null);if(null===a.timeStart){for(let t of n)t.classList.remove("s8-RotatorItem--fadeOut"),t.classList.remove("s8-RotatorItem--fadeIn"),t==u&&(t.style.opacity=1,t.classList.add("s8-RotatorItem--fadeOut")),t==d&&(t.style.opacity=0,t.classList.add("s8-RotatorItem--fadeIn"));i.classList.add("s8-RotatorSlide--fade"),a.timeStart=o,a.timePercentSkip=0,e.api._setCurrentTransition(i,"fade",a.to,a.from,a.to,a.timeStart,a.timeEnd,a.easing,a.timePercentSkip)}else if(o<=a.timeEnd){let t=a.timeEnd-(a.timeEnd-a.timeStart)/2,n=1;o<=t&&(n=window.interpolate(o,a.timeStart,t,0,1,a.easing,a.timePercentSkip).toFixed(3));let r=window.interpolate(o,a.timeStart,a.timeEnd,1,0,a.easing,a.timePercentSkip).toFixed(3);d.style.opacity=n,u.style.opacity=r,e.api._setCurrentTransition(i,"fade",a.to,a.from,a.to,a.timeStart,a.timeEnd,a.easing,a.timePercentSkip)}else{for(let t of n)t.style.removeProperty("opacity"),t.classList.remove("s8-RotatorItem--fadeOut"),t.classList.remove("s8-RotatorItem--fadeIn");i.classList.remove("s8-RotatorSlide--fade"),a.current=a.to,e.api._setCurrentTransition(i,null,a.to),e.api.transition.animate.
10instant(t,i,n,r,a)}},slide:function(t,i,n,r,a,o){null===a.timeStart?(a.current=a.from,a.timeStart=o,a.timeEnd=a.timeStart+a.timeEnd,a.timePercentSkip=0,e.api._setCurrentTransition(i,"slide",a.current,a.from,a.to,a.timeStart,a.timeEnd,a.easing,a.timePercentSkip)):o<=a.timeEnd?(a.current=window.interpolate(o,a.timeStart,a.timeEnd,a.from,a.to,a.easing,a.timePercentSkip),e.api._setCurrentTransition(i,"slide",a.current,a.from,a.to,a.timeStart,a.timeEnd,a.easing,a.timePercentSkip)):(a.current=a.to,e.api._setCurrentTransition(i,null,a.to)),e.api.transition.animate.instant(t,i,n,r,a)},continuous:function(t,i,n,r,a,o){let s=n.length;if(0===s)return;let l=e.api.getContinuousSpeed(t),u=e.api.getDirection(t),d=e.continuous._state.get(t);d||(d=e.continuous.init(t,i,n,r,e.api.getSpaceBetweenItems(t)));let c=d.lastTime?Math.min(o-d.lastTime,100):0;d.lastTime=o;let p=+!d.paused;d.speedFactor+=(p-d.speedFactor)*(1-Math.exp(-c/250)),.001>Math.abs(p-d.speedFactor)&&(d.speedFactor=p);let f=l*d.speedFactor*(c/1e3);"backward"===u?(d.offset-=f,d.offset<=0&&d.totalWidth>0&&(d.offset=d.totalWidth+d.offset%d.totalWidth)):(d.offset+=f,d.offset>=d.totalWidth&&d.totalWidth>0&&(d.offset=d.offset%d.totalWidth)),i.style.transform=`translateX(-${d.offset}px)`;let g=d.itemWidth>0?d.offset/d.itemWidth%s:0;e.api._setCurrentTransition(i,"continuous",g,null,null,o,null,null,0)}}},getContinuousSpeed:function(t){let i=parseFloat(t.getAttribute(e.attributes.continuousSpeed));return isNaN(i)||i<=0?50:i},isPauseOnHoverEnabled:function(t){let i=t.getAttribute(e.attributes.pauseOnHover);return"true"===i||"1"===i},getDirection:function(t){return"backward"===t.getAttribute(e.attributes.direction)?"backward":"forward"},getCurrentTransition:function(t){let i=t.getAttribute(e.attributes.slideTransition);if(!i)return{type:null,current:0,from:null,to:null,timeStart:null,timeEnd:null};let n=i.split(" "),r={type:void 0!==n[0]?n[0]:null,current:void 0!==n[1]?parseFloat(n[1]):null,from:void 0!==n[2]?parseFloat(n[2]):null,to:void 0!==n[3]?parseFloat(n[3]):null,timeStart:void 0!==n[4]?parseFloat(n[4]):null,timeEnd:void 0!==n[5]?parseFloat(n[5]):null,easing:void 0!==n[6]?n[6]:null,timePercentSkip:void 0!==n[7]?parseFloat(n[7]):null};return e.api.transition.typeIsValid(r.type)||(r.type=null),isNaN(r.current)&&(r.current=0),isNaN(r.timeStart)&&(r.timeStart=null),isNaN(r.timeEnd)&&(r.timeEnd=null),isNaN(r.from)&&(r.from=null),isNaN(r.to)&&(r.to=null),"_"==r.easing&&(r.easing=null),isNaN(r.timePercentSkip)&&(r.timePercentSkip=null),r},getItems:function(t){let i=[];for(let n=0;n<t.childNodes.length;n++)e.definitions.item.match(t.childNodes[n])&&i.push(t.childNodes[n]);return i},createSlide:function(t){if(e.api.getSlide(t))return;let i=document.createElement("div");i.setAttribute(e.attributes.slide,!0),i.classList.add(e.classes.slide),t.appendChild(i)},getNavSlide:function(t){for(let i=0;i<t.childNodes.length;i++)if(1===t.childNodes[i].nodeType&&t.childNodes[i].getAttribute(e.attributes.navSlides))return t.childNodes[i];return null},getNavNext:function(t){for(let i=0;i<t.childNodes.length;i++)if(1===t.childNodes[i].nodeType&&t.childNodes[i].getAttribute(e.attributes.navNext))return t.childNodes[i];return null},getNavPrev:function(t){for(let i=0;i<t.childNodes.length;i++)if(1===t.childNodes[i].nodeType&&t.childNodes[i].getAttribute(e.attributes.navPrev))return t.childNodes[i];return null},_setCurrentTransition:function(t,i,n,r,a,o,s,l,u){i?(l=l||"_",o=o||"_",s=s||"_",u=u||"_",t.setAttribute(e.attributes.slideTransition,i+" "+n+" "+r+" "+a+" "+o+" "+s+" "+l+" "+u)):t.setAttribute(e.attributes.slideTransition,"none "+n)}},nav:{update:function(t,i,n,r,a,o){if("continuous"===e.api.getTransitionStyle(t))return;let s=e.nav.getContainer(t);s||((s=document.createElement("div")).setAttribute(e.attributes.nav,!0),s.classList.add(e.classes.nav),t.appendChild(s)),e.nav.minimap.update(t,i,s,n,r,a,o),e.nav.arrows.update(t,i,s,n,r,a,o)},getContainer:function(t){for(let i=0;i<t.childNodes.length;i++)if(e.definitions.nav.match(t.childNodes[i]))return t.childNodes[i];return null},arrows:{update:function(t,i,n,r,a,o,s){let l=e.nav.arrows.getVariant(t);if(!l){let t=e.nav.arrows.getPreviousArrow(n);t&&t.remove();let i=e.nav.arrows.getNextArrow(n);t&&i.remove();return}let u=e.nav.arrows.variants[l];e.nav.arrows.getPreviousArrow(n)||u.setPreviousArrow(n),e.nav.arrows.getNextArrow(n)||u.setNextArrow(n)},getPreviousArrow:function(t){for(let i=0;i<t.childNodes.length;i++)if(1===t.childNodes[i].nodeType&&t.childNodes[i].getAttribute(e.attributes.navPrev))return t.childNodes[i];return null},getNextArrow:function(t){for(let i=0;i<t.childNodes.length;i++)if(1===t.childNodes[i].nodeType&&t.childNodes[i].getAttribute(e.attributes.navNext))return t.childNodes[i];return null},getVariant:function(t){let i=t.getAttribute(e.attributes.arrowVariant);return i&&"none"!=i?e.nav.arrows.variants[i]?i:void 0:null},variants:{circle:{setPreviousArrow:function(t){let i=e.nav.arrows.getPreviousArrow(t);if(i)return;let n=document.createElement("template");n.innerHTML=`
11								<svg class="${e.classes.navPrev}" draggable="false" viewBox="0 0 46 46" ${e.attributes.navPrev}=true>
12									<circle cx="23" cy="23" r="22"></circle>
13									<path d="M27 10.5 l-11.5 12.5 l11.5 12.5"></path>
14									<path d="M27.5 10 l-12 13 l12 13"></path>
15								</svg>
16							`,i=n.content.firstElementChild,t.appendChild(i)},setNextArrow:function(t){let i=e.nav.arrows.getNextArrow(t);if(i)return;let n=document.createElement("template");n.innerHTML=`
17								<svg class="${e.classes.navNext}" draggable="false" viewBox="0 0 46 46" ${e.attributes.navNext}=true>
18									<circle cx="23" cy="23" r="22"></circle>
19									<path d="M19 10.5 l11.5 12.5 l-11.5 12.5"></path>
20									<path d="M18.5 10 l12 13 l-12 13"></path>
21								</svg>
22							`,i=n.content.firstElementChild,t.appendChild(i)}}}},minimap:{update:function(t,i,n,r,a,o,s){let l=e.nav.minimap.getVariant(t),u=e.api.getNavSlide(n);if(!l){u&&u.remove();return}let d=e.nav.minimap.variants[l],c=e.nav.minimap.renderers[d.renderer](t,i,n,r,a,o,s);d.applyVariantTo(c)},getVariant:function(t){let i=t.getAttribute(e.attributes.minimapVariant);return i&&"none"!=i?e.nav.minimap.variants[i]?i:void 0:null},renderers:{sequential:function(t,i,n,r,a,o,s){let l=e.api.getNavSlide(n);l||((l=document.createElementNS("http://www.w3.org/2000/svg","svg")).setAttribute("class",e.classes.navSlides),l.setAttribute("viewBox","0 0 12 12"),l.setAttribute("draggable","false"),l.setAttribute(e.attributes.navSlides,!0),n.appendChild(l));let u=r.length,d=e.api.getActiveGroup(r,null!==s.current?s.current:a,o),c=0;for(let t=0;t<l.childNodes.length;t++){let i=l.childNodes[t];1===i.nodeType&&i.getAttribute(e.attributes.navSlide)&&(i.setAttribute("class",-1!==d.indexOf(c)?e.classes.navSlideActive:""),++c>u&&(l.removeChild(i),t--,c--))}for(let t=c;t<u;t++){let i=document.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("class",-1!==d.indexOf(t)?e.classes.navSlideActive:""),i.setAttribute("draggable","false"),i.setAttribute(e.attributes.navSlide,!0),i.setAttribute("x",1+16*t),i.setAttribute("y",1),l.appendChild(i)}return l.setAttribute("viewBox","0 0 "+16*u+" 14"),[...l.childNodes]}},variants:{dots:{renderer:"sequential",applyVariantTo:function(t){for(let e of t)e.style.y="1px",e.style.height="12px",e.style.width="12px",e.style.rx="6px",e.style.ry="6px"}},squares:{renderer:"sequential",applyVariantTo:function(t){for(let e of t)e.style.y="1px",e.style.height="12px",e.style.width="12px",e.style.rx="0px",e.style.ry="0px"}},dashes:{renderer:"sequential",applyVariantTo:function(t){for(let e of t)e.style.y="4px",e.style.height="4px",e.style.width="12px",e.style.rx="0px",e.style.ry="0px"}},pills:{renderer:"sequential",applyVariantTo:function(t){for(let e of t)e.style.y="4px",e.style.height="4px",e.style.width="12px",e.style.rx="2px",e.style.ry="2px"}}}}}});window.Rotators=e,e.continuous={_state:new WeakMap,_getGroupSizeItemWidth:function(t,e,i){return(e-(t-1)*i)/t},_applyGroupSizeWidths:function(t,i,n,r,a){let o=e.continuous._getGroupSizeItemWidth(n,r,a);if(o<=0)return;for(let t=0;t<i.length;t++)i[t].style.width=o+"px";let s=t.querySelectorAll("[data-s8-rotator-clone]");for(let t=0;t<s.length;t++)s[t].style.width=o+"px"},calculateRequiredCloneSets:function(t,e,i){return e<=0||0===i.length?1:Math.max(Math.ceil(t/e),1)},_createCloneSet:function(t,i,n){for(let r=0;r<i.length;r++){let a=i[r].cloneNode(!0);for(let t of(a.classList.add("s8-RotatorItem--clone"),a.removeAttribute(e.attributes.item),a.setAttribute("data-s8-rotator-clone","true"),a.setAttribute("aria-hidden","true"),a.setAttribute("data-s8-rotator-clone-set",n),a.querySelectorAll("[id]")))t.removeAttribute("id");for(let t of(a.removeAttribute("id"),a.querySelectorAll("a[href], button, input, select, textarea, [tabindex]")))t.setAttribute("tabindex","-1");t.appendChild(a)}},init:function(t,i,n,r,a){let o,s=n.length;if(0===s)return null;let l=e.api.getDirection(t);e.continuous.removeClones(i);let u=t.getBoundingClientRect().width;r&&u>0&&e.continuous._applyGroupSizeWidths(i,n,r,u,a);let d=0;for(let t=0;t<s;t++)d+=n[t].getBoundingClientRect().width,t<s-1&&(d+=a);let c=d+a,p=d/s;o=d<=0?1:e.continuous.calculateRequiredCloneSets(u,c,n);for(let t=0;t<o;t++)e.continuous._createCloneSet(i,n,t);i.style.willChange="transform";let f=0;"backward"===l&&(f=c>0?c:u);let g={offset:f,totalWidth:c>0?c:u,cloneSets:o,itemWidth:p>0?p:u/s,lastTime:null,paused:!1,speedFactor:1};return e.continuous._state.set(t,g),i.style.transform=`translateX(-${f}px)`,e.continuous.setupPauseOnHover(t),e.continuous.setupImageLoadListeners(t,i,n),g},removeClones:function(t){for(let e of t.querySelectorAll("[data-s8-rotator-clone]"))e.remove();for(let i of e.api.getItems(t))i.style.width=""},recalculateLayout:function(t){let i=e.api.getSlide(t);if(!i)return;let n=e.continuous._state.get(t);if(!n)return;let r=e.api.getItems(i),a=r.length;if(0===a)return;let o=e.api.getSpaceBetweenItems(t),s=t.getBoundingClientRect().width,l=e.api.getGroupSize(t);l&&s>0&&e.continuous._applyGroupSizeWidths(i,r,l,s,o);let u=0;for(let t=0;t<a;t++)u+=r[t].getBoundingClientRect().width,t<a-1&&(u+=o);if(u<=0)return;let d=u+o,c=n.totalWidth>0?n.offset/n.totalWidth:0;n.totalWidth=d,n.itemWidth=u/a,n.offset=c*n.totalWidth,n.offset>=n.totalWidth&&(n.offset=n.offset%n.totalWidth),n.offset<0&&(n.offset=0);
22let p=e.continuous.calculateRequiredCloneSets(s,d,r);if(p>n.cloneSets){for(let t=n.cloneSets;t<p;t++)e.continuous._createCloneSet(i,r,t);n.cloneSets=p}else if(p<n.cloneSets){let t=i.querySelectorAll("[data-s8-rotator-clone]"),e=p*a;for(let i=e;i<t.length;i++)t[i].remove();n.cloneSets=p}e.continuous.syncCloneImageSources(i,r)},syncCloneImageSources:function(t,e){let i=t.querySelectorAll("[data-s8-rotator-clone]"),n=e.length;for(let t=0;t<i.length;t++){let r=e[t%n].querySelector("img"),a=i[t].querySelector("img");r&&a&&r.complete&&!a.complete&&a.src!==r.src&&(a.src=r.src)}},setupPauseOnHover:function(t){t._continuousPauseSetup||(t._continuousPauseSetup=!0,t.addEventListener("mouseenter",function(){if(!e.api.isPauseOnHoverEnabled(t))return;let i=e.continuous._state.get(t);i&&(i.paused=!0)}),t.addEventListener("mouseleave",function(){let i=e.continuous._state.get(t);i&&(i.paused=!1)}))},setupImageLoadListeners:function(t,i,n){for(let i of n)for(let n of i.querySelectorAll("img"))n.complete||n.addEventListener("load",function(){e.continuous.recalculateLayout(t)},{once:!0})},teardown:function(t){e.continuous._state.delete(t);let i=e.api.getSlide(t);i&&(e.continuous.removeClones(i),i.style.transform="",i.style.removeProperty("will-change"),e.api._setCurrentTransition(i,null,0))}},window.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(function(){document.querySelectorAll('oncord-rotator[data-s8-rotator-transition="continuous"]').forEach(function(t){e.continuous.recalculateLayout(t)})},100)})}();
23!function(){if(window.Modal)return;let t=[...document.querySelectorAll('link[href^="/_public/Framework/Assets/CSS/server.php?css="]')],e=(()=>{try{let e=new CSSStyleSheet;for(let o of t)[...o.sheet.rules].map(t=>t.cssText).forEach(e.insertRule,e);return e}catch(t){}return null})(),o=fetch("/_public/Framework/Assets/JavaScript/modal.css").then(t=>t.text()),n=fetch("/_public/Framework/Assets/JavaScript/rotator.css").then(t=>t.text());class s{static classes={overlay:"s8-ModalOverlay",modal:"s8-Modal",close:"s8-ModalUiClose",content:"s8-ModalContent",contentWrapping:"s8-ModalContent-Wrapping",contentAbove:"s8-ModalContent-Above",contentCenter:"s8-ModalContent-Center",contentBelow:"s8-ModalContent-Below",inactiveShort:"s8-Modal-Inactive-Short",inactiveLong:"s8-Modal-Inactive-Long"};static attributes={triggersModal:"data-modal",modalTheme:"data-modal-theme",modalContentAbove:"data-modal-content-above",modalContentBelow:"data-modal-content-below"};static themes={light:"--modal-bg: #fafafa; --modal-font-color: #555555; --modal-stroke: #555555; --modal-scroll-bg: #a8a8a8;",dark:"--modal-bg: #1e1e1e; --modal-font-color: #EEE; --modal-stroke: #797979; --modal-scroll-bg: #404040;"};static contentModals(t){return 1===t.nodeType&&t.getAttribute(s.attributes.triggersModal)}constructor(a,r,d){if(this._ui={},this._root=document.createElement("div"),this._root.classList.add(s.classes.overlay),this._container=this._root,"attachShadow"in this._container){const i=this._root.attachShadow({mode:"open"}),a=[...document.querySelectorAll('link[href^="/_public/Framework/Assets/CSS/server.php?css="]')];"adoptedStyleSheets"in i&&e&&t.length==a.length?i.adoptedStyleSheets=[e]:i.append(...a.map(t=>t.cloneNode(!0)));const r=document.createElement("style");i.append(r),Promise.all([o,n]).then(([t,e])=>r.innerText=t+e),this._container=document.createElement("div"),this._container.classList.add(s.classes.overlay),i.appendChild(this._container)}this._modalRotator=document.createElement(window.Rotators.rootNodeName),this._modalRotator.classList.add(s.classes.modal),a.length>1&&this._modalRotator.setAttribute(window.Rotators.attributes.rotator,!0),this._modalRotator.setAttribute(window.Rotators.attributes.position,r),this._modalRotator.setAttribute(window.Rotators.attributes.groupSize,1),this._modalRotator.setAttribute(window.Rotators.attributes.easing,"inout"),this._modalRotator.setAttribute(window.Rotators.attributes.speed,"normal"),this._modalRotator.setAttribute(window.Rotators.attributes.transition,"slide"),this._modalRotator.setAttribute(window.Rotators.attributes.minimapVariant,"dots"),this._modalRotator.setAttribute(window.Rotators.attributes.arrowVariant,"circle");const l=[];for(const t of a){let e=t.cloneNode(!0);const o=e.getAttribute(s.attributes.modalContentAbove),n=e.getAttribute(s.attributes.modalContentBelow);for(const t of(l.push(e.getAttribute(s.attributes.modalTheme)),function(t){let e=function t(e){return e.childNodes?[e,...Array.prototype.flatMap.call(e.childNodes,t)]:e}(t);return e===t?[t]:e}(e)))if(t.nodeType===Node.ELEMENT_NODE){for(const e in t.removeAttribute("id"),s.attributes)t.removeAttribute(s.attributes[e]);if(t.getAttribute("src")){for(const e of["width","height","max-width","max-height"])t.style[e]=null;let e=t.getAttribute("src");if(/_\d*x\d*[ac]?\.[a-z]{3,5}$/i.test(e)){const o=e.lastIndexOf("."),n=e.lastIndexOf("_"),s=e.substring(0,n),i=e.substring(o,e.length);if(window._s8Sqips&&window._s8Sqips[s]){for(const t of(e=s,window._s8Sqips[s].sizes)
23)parseInt(screen.width)*window.devicePixelRatio<=t.width&&parseInt(screen.height)*window.devicePixelRatio<=t.height&&(e+=t.suffix);e+=i,t.src=window._s8Sqips[s].sqip}}}}const i=document.createElement("div"),a=document.createElement("div");a.classList.add(s.classes.contentAbove),a.classList.add("scroll"),a.innerHTML=o||"",i.appendChild(a);const r=document.createElement("div");r.classList.add(s.classes.contentCenter),i.appendChild(r),r.appendChild(e);const d=document.createElement("div");d.classList.add(s.classes.contentBelow),d.classList.add("scroll"),d.innerHTML=n||"",i.appendChild(d),(e=i).classList.add(s.classes.contentWrapping),e.classList.add(s.classes.content),this._modalRotator.appendChild(e)}const c=new Map;for(let t=0;t<l.length;t++){let e=l[t];if(!e||!((e=e.toLowerCase().trim())in s.themes))continue;c.has(e)||c.set(e,[]);const o=`.${s.classes.modal}[${window.Rotators.attributes.position}="${t}"]`;c.get(e).push(`${o}, ${o} ~ *`)}(d=d?d.toLowerCase().trim():null)in s.themes&&(c.has(d)||c.set(d,[]),c.get(d).push(`.${s.classes.modal}, .${s.classes.modal} ~ *`));const h=[...c].map(([t,e])=>`${e.join(", ")}{${s.themes[t]}}`).join("\n"),m=document.createElement("style");m.innerHTML=h,this._container.appendChild(m),this._container.appendChild(this._modalRotator);const u="http://www.w3.org/2000/svg",p=document.createElementNS(u,"svg");p.setAttribute("viewBox","0 0 46 46");const w=document.createElementNS("http://www.w3.org/2000/svg","circle");w.setAttribute("cx","23"),w.setAttribute("cy","23"),w.setAttribute("r","22"),p.appendChild(w);let b=document.createElementNS(u,"path");b.setAttribute("d","M13.5 13.5 l19 19 M13.5 32.5 l19 -19"),p.appendChild(b),(b=document.createElementNS(u,"path")).setAttribute("d","M13 13 l20 20 M13 33 l20 -20"),p.appendChild(b),p.setAttribute("class",s.classes.close);const v=(function(t){t.target===this._container&&(this._container.removeEventListener("click",v),p.removeEventListener("click",g),this.destroy())}).bind(this);this._container.addEventListener("click",v);const g=(function(t){this._container.removeEventListener("click",v),p.removeEventListener("click",g),this.destroy(),t.stopImmediatePropagation()}).bind(this);p.addEventListener("click",g);let _=null;const f=(function(){requestAnimationFrame((function(t){this._container.parentNode&&(_=t,this._container.classList.remove(s.classes.inactiveShort),this._container.classList.remove(s.classes.inactiveLong))}).bind(this))}).bind(this);this._container.addEventListener("mousemove",f),this._container.addEventListener("touchmove",f),this._container.addEventListener("click",f);const y=(function(t){if(this._container.parentNode){_=null===_?t:_;let e=t-_;e>7e3?(this._container.classList.remove(s.classes.inactiveShort),this._container.classList.add(s.classes.inactiveLong)):e>1500&&(this._container.classList.remove(s.classes.inactiveLong),this._container.classList.add(s.classes.inactiveShort)),requestAnimationFrame(y)}}).bind(this);if(requestAnimationFrame(y),this._container.appendChild(p),!this._root.parentNode){const t=window.getComputedStyle(document.body);this._oldBodyMarginRight=t.marginRight,document.body.style.marginRight=parseFloat(this._oldBodyMarginRight)+window.innerWidth-document.documentElement.clientWidth+"px",document.body.style.overflow="hidden",document.documentElement.style.overflow="hidden",document.body.appendChild(this._root),document.body.addEventListener("touchmove",i)}}destroy(){this._root.parentNode&&(this._root.parentNode.removeChild(this._root),document.body.style.marginRight=this._oldBodyMarginRight,document.body.style.overflow="",document.documentElement.style.overflow="",document.body.removeEventListener("touchmove",i))}}function i(t){t.preventDefault()}window.Modal=s,window.addEventListener("click",function(t){let e=t.target,o=window.s8Gallery||null;for(;e.parentNode;){if(s.contentModals(e)){let t=e.parentNode,n=t&&t.parentNode?t.parentNode:null;if(o&&n&&o.definitions.gallery.match(n)){let t=o.api.getContent(o.api.getItems(n));new s(t,t.indexOf(e),o.api.getModalTheme(n));return}let i=[...t.childNodes].filter(t=>s.contentModals(t));new s(i,i.indexOf(e),e.getAttribute(s.attributes.modalTheme)||null);return}e=e.parentNode}},!0)}();
24!function(){let e=!1;function t(){if(e)return;e=!0;let t="sw="+screen.width+"&sh="+screen.height+"&ww="+(void 0!==window.innerHeight?window.innerHeight:document.documentElement.offsetHeight)+"&wh="+(void 0!==window.innerWidth?window.innerWidth:document.documentElement.offsetWidth)+"&dpr="+(void 0!==window.devicePixelRatio?window.devicePixelRatio:1);try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone;"string"==typeof e&&e&&(t+="&tzo="+encodeURIComponent(e))}catch(e){}fetch("/_public/Components/Website/t.php?"+t,{priority:"low"}).catch(()=>{})}document.onmousemove=t,document.onscroll=t,document.ontouchstart=t}();
25(()=>{let e=Date.now();function t(){let t=Date.now();t-e<25e3||(fetch("/_public/Components/Website/_keepalive").catch(e=>{}),e=t)}document.addEventListener("mousemove",t),document.addEventListener("scroll",t),document.addEventListener("touchstart",t)})();
26if(typeof(g_arrLoadedJavaScript) == 'undefined')
27	var g_arrLoadedJavaScript = [2234774388];
28else
29	g_arrLoadedJavaScript.push(2234774388);
30if(typeof(g_arrLoadedCSS) == 'undefined')
31	var g_arrLoadedCSS = ["29530204"];
32else
33	g_arrLoadedCSS.push("29530204");

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.