(function(){function m(a,b,c){function e(l,h,k){0>k&&(k+=1);1k?h:k<2/3?l+(h-l)*(2/3-k)*6:l}a/=360;b/=100;c/=100;if(b){var f=.5>c?c*(1+b):c+b-c*b,g=2*c-f;c=e(g,f,a+1/3);b=e(g,f,a);a=e(g,f,a-1/3)}else c=b=a=c;return{r:Math.round(255*c),g:Math.round(255*b),b:Math.round(255*a)}}function n(a,b,c){a/=255;b/=255;c/=255;var e=Math.max(a,b,c),f=Math.min(a,b,c),g,l=(e+f)/2;if(e==f)f=g=0;else{var h=e-f;f=.5=b?b/12.92:Math.pow((b+.055)/1.055,2.4))+.7152*(.03928>=c?c/12.92:Math.pow((c+.055)/1.055,2.4))+.0722*(.03928>= a?a/12.92:Math.pow((a+.055)/1.055,2.4)))};d.prototype.hueShift=function(a){this.h=(this.h+a)%360};d.prototype.clone=function(){var a=new d;a.h=this.h;a.s=this.s;a.l=this.l;a.a=this.a;a.strReadFormat=this.strReadFormat;return a};d.prototype.createComplement=function(){if("null"===this.strReadFormat)return null;var a=this.clone();a.hueShift(180);return a};d.prototype.getComplimentaryTextColor=function(){return 50<=this.getRelativeLuminance()?new d("rgba(0,0,0,1)"):new d("rgba(255,255,255,1)")};d.prototype.createGradient= function(){var a=(this.h-25+360)%360,b=Math.min(Math.max(this.s-20,50),100),c=Math.min(Math.max(this.l+10,0),100),e=new d;e.setHSLA(a,b,c,1);return{strStartColor:this.getRGBAString(),strEndColor:e.getRGBAString(),bLightFont:128>this.getRelativeLuminance()}};d.prototype.createAnalogousPallate=function(){let a={},b=this.clone();b.hueShift(-30);let c=this.clone();c.hueShift(30);a.pPrimary=this;a.pSecondary=b;a.pTertiary=c;return a};d.prototype.createTriadicPallate=function(){let a={},b=this.clone(); b.hueShift(-120);let c=this.clone();c.hueShift(120);a.pPrimary=this;a.pSecondary=b;a.pTertiary=c;return a};d.prototype.createSplitComplementaryPallate=function(){let a={},b=this.clone();b.hueShift(-72);let c=this.clone();c.hueShift(72);a.pPrimary=this;a.pSecondary=b;a.pTertiary=c;return a};window.Color=d})(); (function(){let m={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9", darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC", ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4",indianred:"#CD5C5C",indigo:"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A", lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1", moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460", seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};window.CSSColorNames={getHexForName:function(n){return n?m[n.toLowerCase()]||null:null}}})(); (function(){function k(a,b){this.config={bOpenOnHover:b.bOpenOnHover,strOrientation:b.strOrientation,bPreventWrap:b.bPreventWrap,pMobileMediaQuery:window.matchMedia(`(max-width: ${parseInt(b.iMobileBreakPoint)}px)`)};this.pNavList=new h(a);this.nMobileMenuUL=this.pNavList.getListNode().previousElementSibling;this.mobileMenuCloseTimer=this.mouseoutCloseTimer=null;this.init()}function h(a){this.nList=a;this.arrListItems=[];this.init()}function l(a){this.nListItem=a;a._pListItem=this;this.nLink=a.querySelector("a"); this.pSubNavList=null;this.init()}const c={LIST:"s8-navigationPrimary",LIST_ITEM_OPEN:"s8-navigationPrimaryLI-open",LIST_ITEM_HAS_CHILD_LIST:"s8-navigationPrimary-hasChildren",MOBILE_CLOSE_SHOW:"s8-navigationPrimary__mobileCloseButton--show",DISPLAY_STATE_MOBILE:"s8-navigationPrimary--displayStateMobile",DISPLAY_STATE_MOBILE_IS_OPEN:"s8-navigationPrimary--displayStateMobile-open"};window.PrimaryNavigation=k;k.prototype={init:function(){let a=this.pNavList.getListNode();this.nMobileCloseButton=document.createElement("div"); this.nMobileCloseButton.classList.add("s8-navigationPrimary__mobileCloseButton");this.nMobileCloseButton.setAttribute("tabindex","0");a.parentElement.appendChild(this.nMobileCloseButton);this._fixColors();this._bindInteractions();let b;"function"===typeof Event?b=new Event("initialised"):(b=document.createEvent("Event"),b.initEvent("initialised",!0,!0));a.dispatchEvent(b)},_bindInteractions:function(){for(let a=0,b=Object.keys(this.interactions);aa.clientWidth}};h.prototype={init:function(){for(let a=0;aa)return c/2*a*a+b;a--;return-c/2*(a*(a-2)-1)+b},easeincubic:function(a,b,c,d){a/=d;return c* a*a*a+b},easeoutcubic:function(a,b,c,d){a/=d;a--;return c*(a*a*a+1)+b},easeinoutcubic:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a+b;a-=2;return c/2*(a*a*a+2)+b},easeinquart:function(a,b,c,d){a/=d;return c*a*a*a*a+b},easeoutquart:function(a,b,c,d){a/=d;a--;return-c*(a*a*a*a-1)+b},easeinoutquart:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a+b;a-=2;return-c/2*(a*a*a*a-2)+b},easeinquint:function(a,b,c,d){a/=d;return c*a*a*a*a*a+b},easeoutquint:function(a,b,c,d){a/=d;a--;return c*(a*a*a*a*a+ 1)+b},easeinoutquint:function(a,b,c,d){a/=d/2;if(1>a)return c/2*a*a*a*a*a+b;a-=2;return c/2*(a*a*a*a*a+2)+b},easeinsine:function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},easeoutsine:function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},easeinoutsine:function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},easeinexpo:function(a,b,c,d){return c*Math.pow(2,10*(a/d-1))+b},easeoutexpo:function(a,b,c,d){return c*(-Math.pow(2,-10*a/d)+1)+b},easeinoutexpo:function(a,b,c,d){a/=d/2;if(1>a)return c/ 2*Math.pow(2,10*(a-1))+b;a--;return c/2*(-Math.pow(2,-10*a)+2)+b},easeincirc:function(a,b,c,d){a/=d;return-c*(Math.sqrt(1-a*a)-1)+b},easeoutcirc:function(a,b,c,d){a/=d;a--;return c*Math.sqrt(1-a*a)+b},easeinoutcirc:function(a,b,c,d){a/=d/2;if(1>a)return-c/2*(Math.sqrt(1-a*a)-1)+b;a-=2;return c/2*(Math.sqrt(1-a*a)+1)+b}},window.interpolate=f)})(); (function(){function f(a,b,c){if(m[a])return console.warn(`MutationModel: ${a} already added.`),!1;this.initialisedPromise=new Promise(d=>this.initialised=d);for(const d in b)b.hasOwnProperty(d)&&(this[d]=b[d]);this.mutationObserver=new MutationObserver(this._mutationObserverCallback.bind(this));this._updateState={_callbackQueued:!1,_states:{}};this._update=this._update.bind(this);q[a]=this;b.rootNodeName&&!customElements.get(b.rootNodeName)&&customElements.define(b.rootNodeName,this.getRootElementBaseClass()); c&&c(this)}function r(a){function b(d){return d.childNodes?[d,...Array.prototype.flatMap.call(d.childNodes,b)]:d}const c=b(a);return c===a?[a]:c}if(!window.MutationModel){var m={},q=new Proxy(m,{set(a,b,c,d){c.initialisedPromise&&c.initialised();return Reflect.set(a,b,c,d)}});window.MutationModel=f;f.prototype._mutationObserverCallback=function(a){try{window}catch(b){return}for(const b of a)if("childList"===b.type){for(const c of b.removedNodes)c.isConnected||this._removed(c,b.target);for(const c of b.addedNodes)c.isConnected&& this._added(c,b.target)}else"attributes"===b.type&&b.target.isConnected&&this._changed(b.target,b.attributeName,b.oldValue)};f.prototype.getRootElement=function(a){return 1===a.nodeType?a.closest(this.rootNodeName):null};f.prototype.getRootElementBaseClass=function(){let a=this;class b extends HTMLElement{constructor(){super()}connectedCallback(){a.initialisedPromise.then(()=>{a.observe(this)})}getMutationModel(){return a}}return b};f.prototype.observe=function(a){var b=Object.keys(this.attributes).map(c=> this.attributes[c]);this.mutationObserver.observe(a,{attributes:!0,attributeFilter:b,childList:!0,subtree:!0});b=[{type:"childList",addedNodes:r(a),removedNodes:[],target:a.parentNode},...b.filter(c=>a.hasAttribute&&a.hasAttribute(c)).map(c=>({type:"attributes",target:a,attributeName:c,oldValue:""}))];this._mutationObserverCallback(b)};f.prototype.update=function(a,b){this._updateState._states[b]||(this._updateState._states[b]=[]);-1==this._updateState._states[b].indexOf(a)&&this._updateState._states[b].push(a); this._updateState._callbackQueued||requestAnimationFrame(this._update);this._updateState._callbackQueued=!0};f.prototype._update=function(a){this._updateState._callbackQueued=!1;let b=Object.keys(this._updateState._states),c=[];for(var d=0;d{this._added(d,d.parentNode)})}};f.prototype._removed=function(a,b){if(1===a.nodeType){for(let d=0,e=Object.keys(this.definitions);de._traveled.maxTraveledX?g():(e._traveled.swipedDistance=d/e._traveled.initialWidth*e._traveled.initialGroupSize,c.api.setPosition(f, e._traveled.initialPos+e._traveled.swipedDistance,"instant"))}else a.removeEventListener("touchmove",e,!0),e._bound=!1,e._traveled=null}function g(d){if(e._bound){d=e._bound;var f=c.api.getSlide(d);f=c.api.getItems(f);f=c.api.getNormalPosition(f.length,c.api.getTargetPosition(d));if(0!==e._traveled.swipedDistance&&f!==parseInt(f)){f=parseInt(f)+(0g!=a&&!c.definitions.nav.match(g));a.append(...e);b=b.getAttribute(c.attributes.alignItems);a.style.alignItems=b},onRemoved:null,onChanged:function(a, b){b==c.attributes.slideTransition&&c.update(a.parentNode,"updateTransition")},onChildAdded:null,onChildRemoved:null},item:{match:function(a){return 1===a.nodeType&&a.getAttribute(c.attributes.item)},onAdded:function(a){a=a.parentNode.parentNode;c.update(a,"updateRender");c.update(a,"updateTransition")},onRemoved:function(a,b){a&&c.update(b.parentNode,"updateRender")},onChanged:null,onChildAdded:null,onChildRemoved:null},content:{match:function(a){return 1===a.nodeType&&a.getAttribute(c.attributes.content)|| a.parentNode&&(c.definitions.slide.match(a.parentNode)||c.definitions.item.match(a.parentNode))&&!c.definitions.nav.match(a)&&!c.definitions.slide.match(a)&&!c.definitions.item.match(a)},onAdded:function(a){if(c.definitions.slide.match(a.parentNode)){let b=document.createElement("div");b.setAttribute(c.attributes.item,!0);b.classList.add(c.classes.item);a.parentNode.insertBefore(b,a);b.appendChild(a)}a.setAttribute(c.attributes.content,!0);a.classList.add(c.classes.content)},onRemoved:function(a, b){},onChanged:null,onChildAdded:null,onChildRemoved:null},nav:{match:function(a){return 1===a.nodeType&&a.parentNode&&a.getAttribute(c.attributes.nav)&&c.definitions.rotator.match(a.parentNode)},onAdded:null,onRemoved:null,onChanged:null,onChildAdded:null,onChildRemoved:null}},api:{getSlide:function(a){for(let b=0;b=a.length?null:{transitionStyle:a[1]? c.api._filterTransitionStyleAttribute(a[1]):null,transitionSpeed:a[2]?c.api._filterTransitionSpeedAttribute(a[2]):null,transitionEasing:a[3]?c.api._filterTransitionEasingAttribute(a[3]):null}},getNormalPosition:function(a,b){b>=a&&(b%=a);0>b&&(b=a-(Math.abs(b)%a||a));return b},getTransitionStyle:function(a){return c.api._filterTransitionStyleAttribute(a.getAttribute(c.attributes.transition))},_filterTransitionStyleAttribute:function(a){a&&"null"!==a||(a="instant");a=a.toLowerCase();return a=c.api.transition.typeIsValid(a)? a:"instant"},getTransitionSpeed:function(a){return c.api._filterTransitionSpeedAttribute(a.getAttribute(c.attributes.speed))},_filterTransitionSpeedAttribute:function(a){a&&"null"!==a||(a="normal");a=a.toLowerCase();if("fast"===a)a=c.speeds.fast;else if("normal"===a)a=c.speeds.normal;else if("slow"===a)a=c.speeds.slow;else if(a=parseInt(a),isNaN(a)||0>a)a=c.speeds.normal;return a},getTransitionEasing:function(a){let b=a.getAttribute(c.attributes.easing);b||c.api.setTransitionEasing(a,"none");return c.api._filterTransitionEasingAttribute(b)}, _filterTransitionEasingAttribute:function(a){if(!a)return"linear";"none"==a&&(a="linear");if(window.interpolate._easing[a])return a;a=a.toLowerCase().replace(/\s/g,"");if(window.interpolate._easing[a])return a;a&&"linear"!==a&&!/^ease/.test(a)&&(a="ease"+a);a&&"linear"!==a&&!/quad$|cubic$|quart$|sine$|expo$|circ$/.test(a)&&(a+="cubic");return window.interpolate._easing[a]?a:"linear"},getActiveGroup:function(a,b,e){b=c.api.getNormalPosition(a.length,Math.round(b));a=a.length;let g=[b];for(let d=1, f=b+1;d=a&&(f=0);if(f==b)break;g.push(f)}return g},getCurrentItem:function(a){var b=c.api.getSlide(a);b=c.api.getItems(b);a=c.api.getNormalPosition(b.length,Math.round(parseFloat(a.getAttribute(c.attributes.position))));return b[a]},getSlideOverhang:function(a,b,e){return Math.max(0,Math.min(b+e-a.length,b))},_updateGroupSize:function(a,b,e,g){var d=g-1;a=c.api.getSpaceBetweenItems(a);d=g?`0 0 calc(calc(100% - ${d*a}px)/${g})`:"";for(a=0;a `,b=b.content.firstElementChild,a.appendChild(b))},setNextArrow:function(a){var b=c.nav.arrows.getNextArrow(a);b||(b=document.createElement("template"),b.innerHTML=` `,b=b.content.firstElementChild,a.appendChild(b))}}}},minimap:{update:function(a,b,e,g,d,f,h){var k=c.nav.minimap.getVariant(a);let l=c.api.getNavSlide(e);k?(k=c.nav.minimap.variants[k],a=c.nav.minimap.renderers[k.renderer](a,b,e,g,d,f,h),k.applyVariantTo(a)):l&&l.remove()},getVariant:function(a){a=a.getAttribute(c.attributes.minimapVariant);if(!a||"none"==a)return null;if(c.nav.minimap.variants[a])return a},renderers:{sequential:function(a,b,e,g,d,f,h){a=c.api.getNavSlide(e);a||(a=document.createElementNS("http://www.w3.org/2000/svg", "svg"),a.setAttribute("class",c.classes.navSlides),a.setAttribute("viewBox","0 0 12 12"),a.setAttribute("draggable","false"),a.setAttribute(c.attributes.navSlides,!0),e.appendChild(a));e=g.length;g=c.api.getActiveGroup(g,null!==h.current?h.current:d,f);d=0;for(f=0;fe&&(a.removeChild(h),f--,d--));for(;dr.cloneNode(!0)));let f=document.createElement("style");d.append(f);Promise.all([B, C]).then(([r,D])=>f.innerText=r+D);this._container=document.createElement("div");this._container.classList.add(a.classes.overlay);d.appendChild(this._container)}this._modalRotator=document.createElement(window.Rotators.rootNodeName);this._modalRotator.classList.add(a.classes.modal);1`${r.join(", ")}{${a.themes[f]}}`).join("\n");e=document.createElement("style");e.innerHTML=b;this._container.appendChild(e);this._container.appendChild(this._modalRotator);let m=document.createElementNS("http://www.w3.org/2000/svg","svg");m.setAttribute("viewBox","0 0 46 46");b=document.createElementNS("http://www.w3.org/2000/svg", "circle");b.setAttribute("cx","23");b.setAttribute("cy","23");b.setAttribute("r","22");m.appendChild(b);b=document.createElementNS("http://www.w3.org/2000/svg","path");b.setAttribute("d","M13.5 13.5 l19 19 M13.5 32.5 l19 -19");m.appendChild(b);b=document.createElementNS("http://www.w3.org/2000/svg","path");b.setAttribute("d","M13 13 l20 20 M13 33 l20 -20");m.appendChild(b);m.setAttribute("class",a.classes.close);let v=function(f){f.target===this._container&&(this._container.removeEventListener("click", v),m.removeEventListener("click",w),this.destroy())}.bind(this);this._container.addEventListener("click",v);let w=function(f){this._container.removeEventListener("click",v);m.removeEventListener("click",w);this.destroy();f.stopImmediatePropagation()}.bind(this);m.addEventListener("click",w);let t=null;b=function(){requestAnimationFrame(function(f){this._container.parentNode&&(t=f,this._container.classList.remove(a.classes.inactiveShort),this._container.classList.remove(a.classes.inactiveLong))}.bind(this))}.bind(this); this._container.addEventListener("mousemove",b);this._container.addEventListener("touchmove",b);this._container.addEventListener("click",b);let z=function(f){this._container.parentNode&&(t=null===t?f:t,f-=t,7E3{try{const c=new CSSStyleSheet;for(const e of y)[...e.sheet.rules].map(b=>b.cssText).forEach(c.insertRule,c);return c}catch(c){}return null})(),B=fetch("/_public/Framework/Assets/JavaScript/modal.css").then(c=>c.text()),C=fetch("/_public/Framework/Assets/JavaScript/rotator.css").then(c=>c.text()); window.Modal=a;a.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"};a.attributes={triggersModal:"data-modal",modalTheme:"data-modal-theme",modalContentAbove:"data-modal-content-above",modalContentBelow:"data-modal-content-below"}; a.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;"};a.contentModals=function(c){return 1===c.nodeType&&c.getAttribute(a.attributes.triggersModal)};a.prototype.destroy=function(){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",A))};window.addEventListener("click",function(c){c=c.target;for(var e=window.s8Gallery||null;c.parentNode;){if(a.contentModals(c)){var b=c.parentNode,d=b&&b.parentNode?b.parentNode:null;if(e&&d&&e.definitions.gallery.match(d)){b=d;d=e.api.getContent(e.api.getItems(b));new a(d,d.indexOf(c),e.api.getModalTheme(b));break}e=[...b.childNodes].filter(k=>a.contentModals(k));console.log(e);new a(e,e.indexOf(c),c.getAttribute(a.attributes.modalTheme)|| null);break}c=c.parentNode}},!0)}})(); (function(){if(!window.s8Gallery){var c=new window.MutationModel("Gallery",{rootNodeName:"oncord-gallery",_galleries:[],classes:{gallery:"s8-GalleryFlex",item:"s8-GalleryFlexItem",bolster:"s8-GalleryFlexBolster",content:"s8-GalleryFlexItemContent"},attributes:{gallery:"data-s8-gallery",item:"data-s8-gallery-item",bolster:"data-s8-gallery-bolster",content:"data-s8-gallery-content",variant:"data-s8-gallery-variant",spacing:"data-s8-gallery-spacing",sizing:"data-s8-gallery-sizing",sizingTolerance:"data-s8-gallery-sizing-tolerance", modalContent:"data-s8-gallery-modalcontent",modalTheme:"data-s8-gallery-modaltheme",reflectContent:"data-s8-gallery-reflectcontent"},definitions:{gallery:{match:function(a){return 1===a.nodeType&&a.nodeName===c.rootNodeName.toUpperCase()},onAdded:function(a){a.classList.remove(c.classes.item,c.classes.bolster,c.classes.content);a.classList.add(c.classes.gallery);c.definitions.gallery.onUpdate.updateRender(a);c.update(a,"updateModal");c._galleries.includes(a)||c._galleries.push(a)},onRemoved:function(a){c.update(a, "updateModal");c._galleries.includes(a)&&c._galleries.splice(c._galleries.indexOf(a),1)},onChanged:function(a){c.update(a,"updateRender");c.update(a,"updateModal")},onChildAdded:function(a,b){c.definitions.item.match(b)||c.definitions.content.match(b)||a.removeChild(b)},onChildRemoved:function(a){c.update(a,"updateRender")},onUpdate:{updateRender:function(a){let b=c.api.getItems(a);var d=c.api.getContent(b);let e=c.api.getBolsters(b);d=c.api.getImages(d);c.api._updateLayout(a,b);c.api._updateRatios(a, d,e)},updateModal:function(a){c.api._updateModal(a)}}},item:{match:function(a){return 1===a.nodeType&&a.parentNode&&a.getAttribute(c.attributes.item)&&c.definitions.gallery.match(a.parentNode)},onAdded:function(a){a.classList.add(c.classes.item);a.classList.remove(c.classes.gallery,c.classes.bolster,c.classes.content);let b=c.api.getImage(a);if(b&&0===b.naturalWidth+b.naturalHeight){let d=a.parentNode,e=function(f){c.update(d,"updateRender");b.removeEventListener("load",e,!0)};b.addEventListener("load", e,!0)}else c.update(a.parentNode,"updateRender")},onRemoved:null,onChanged:null,onChildAdded:null,onChildRemoved:function(a){for(let b=0;b1E-15*k*k;)d.push([g,k,e]),f=1/f,e=Math.floor(f),f-=e,m=h,h=g,n=l,l=k,g=m+e*h,k=n+e*l,e=parseFloat((Math.abs(a-g/k)/a*100).toFixed(2));d.push([g,k,e]);if(void 0!==b){for(a=0;a=a?0:a},getSizing:function(a){a=a.getAttribute(c.attributes.sizing)||"";a=a.toLowerCase();const b={small:10,medium:6,large:4};if(-1!==a.indexOf(","))return a=a.split(",").map(function(e){if(void 0!==b[e])return b[e];e=parseInt(e);return isNaN(e)?null:e}), {min:Math.max(Math.min(a[0],a[1]),1),max:Math.max(a[0],a[1],1)};let d=6;a?(a=a.toLowerCase())&&"small"==a?d=10:"medium"==a?d=6:"large"==a?d=4:isNaN(parseInt(a))||(d=parseInt(a)):d=6;return d=Math.max(1,d)},getSizingTolerance:function(a){a=a.getAttribute(c.attributes.sizingTolerance);let b=.25;a?isNaN(parseFloat(a))||(b=parseFloat(a)):b=.25;return b},setRatio:function(a,b,d){b=parseInt(b);d=parseInt(d);if(isNaN(b)||isNaN(d))b=d=1;b=Math.abs(b);d=Math.abs(d);for(let e=0;ee&&0f%d)d=g}a=Math.min(a,100/d);f=(100-(d-1)*a)/d;a/=2;for(e=0;e=d,m=ec.bottom&&(c.bottom=e.bottom,c.height=e.bottom-c.top);b=this.position;if(this.positionDynamic){e=this.container.parentNode;for(g=a=0;e;){if((e.currentStyle||e.ownerDocument)&&"hidden"===(e.currentStyle||e.ownerDocument.defaultView.getComputedStyle(e, "")).overflow){var h=e.getBoundingClientRect();if(h&&h.width){a=h.left;g=h.top;break}}e=e.parentNode}e||(e=this.container.ownerDocument.documentElement);var k=e.clientWidth;let q=e.clientHeight;e={side:"top",opposed:"bottom",x:k,y:c.top-g};e.size=e.x*e.y;h={side:"right",opposed:"left",x:k-c.right-a,y:q};h.size=h.x*h.y;k={side:"bottom",opposed:"top",x:k,y:q-c.bottom-g};k.size=k.x*k.y;g={side:"left",opposed:"right",x:c.left-a,y:c.top-g};g.size=g.x*g.y;a={topleft:e,top:e,topright:e,bottomleft:k,bottom:k, bottomright:k,left:g,right:h}[b];b=[e,h,k,g];for(i=0;ic&&this.container.offsetParent&&"hidden"==this.container.offsetParent.ownerDocument.defaultView.getComputedStyle(this.container.offsetParent,null).overflowY&&(c=0);this.nWrapper._iTransLeft=Math.floor((this.nWrapper._iTransLeft||0)+ d);this.nWrapper._iTransTop=Math.floor((this.nWrapper._iTransTop||0)+c);this.nWrapper.style.transform="translate("+this.nWrapper._iTransLeft+"px, "+this.nWrapper._iTransTop+"px)";if(!this.ignoreCollision)for(c=document.getElementsByTagName("tooltip"),d=0;d=a.left-5&&b.left<=a.right+5&&b.top>=a.top-5&&b.top<=a.bottom-5&&(this.nWrapper._iTransLeft+= Math.floor(a.width)+10,this.nWrapper.style.transform="translate("+this.nWrapper._iTransLeft+"px, "+this.nWrapper._iTransTop+"px)"));this.animation&&this.nWrapper.classList.add("tooltipAnimated-"+this.animation)}}else this.hide()}};f.prototype._setContent=function(){this.nWrapper.className=this.nWrapper.className.replace(/\sTitle/ig,"");"string"===typeof this.title&&this.title.length?(this.nTitle.innerHTML=this.title,this.nTitle.style.display="block"):"function"===typeof this.title?(this.nTitle.innerHTML= "",this.nTitle.appendChild(this.title(this)),this.nTitle.style.display="block"):this.title?this.title!==this.title.firstChild&&(this.nTitle.appendChild(this.title),this.nTitle.style.display="block"):this.nTitle.innerHTML="";"string"===typeof this.content?this.nContent.innerHTML=this.content:"function"===typeof this.content?(this.nContent.innerHTML="",this.nContent.appendChild(this.content(this))):this.content?this.content!==this.nContent.firstChild&&this.nContent.appendChild(this.content):this.nContent.innerHTML= ""};f.prototype._addChevron=function(a){a="tooltip--arrow-"+a;let d=this.container.ownerDocument.createElement("tooltipchevronwrapper"),b=this.container.ownerDocument.createElement("tooltipchevron");d.appendChild(b);this.nWrapper.classList.add(a);this._arrChevrons.unshift({class:a,wrapper:d,chevron:b});this.nWrapperContent.appendChild(d);return d};f.prototype._clearChevrons=function(){for(;this._arrChevrons.length;){let a=this._arrChevrons.pop();a.wrapper.parentNode.removeChild(a.wrapper);this.nWrapper.classList.remove(a.class)}}; f.prototype.disableAnimation=function(){this.nWrapper.classList.add("animationDisable")};f.prototype._hookEvents=function(){function a(c){b.nWrapper.contains(c.target)||b.target.contains(c.target)||(document.body.contains(b.nWrapper)?b.hide():window.removeEventListener("click",a))}function d(c,e){if(e){c instanceof Array||(c=[c]);for(let g=0;gMath.abs(f.right-h.right)||60>f.left+f.width/2-h.left)f.top>h.top+50?(b.arrowPosition="bottom",b.position="top"):e=c.parentNode}("hidden"===g.overflowY||"scroll"===g.overflowY||"auto"===g.overflowY)&&c.parentNode&&1===c.nodeType&&((g=c.getBoundingClientRect())&&50>f.top-g.top||5k;k++)setTimeout(function(){window.g_arrAjaxRequests&&!g_arrAjaxRequests.length&&e.submitButton.classList.remove("submitButtonSubmitted")},500*k)}var d=this,e=this.getDOMElement();triggerEventCrossBrowser(e,"updatevalues");if(!d.validate())return a.preventDefault(),!1;"ajax"=== d.m_strMethod&&(d.m_strOnSubmitAttrValue&&Function("event",this.m_strOnSubmitAttrValue).bind(e)(a),a.preventDefault(),this.clearModifiedState());var c=d.m_bShowLeavePageWarning=!1;if(window.g_arrAjaxRequests&&g_arrAjaxRequests.length&&"ajax"!==d.m_strMethod)for(var f=0;fDate.now()- 7E3)return a.preventDefault(),!1;this.iSubmittedTime=Date.now();b();return!0};Form.prototype.submitWithEvents=function(a){a&&!1===triggerEventCrossBrowser(a,"click")||(a=this.getDOMElement(),!1!==triggerEventCrossBrowser(a,"submit")&&a.submit())};Form.HandleLeavePageWarning=function(){for(var a in g_arrForms)if(!document.getElementById(a))delete g_arrForms[a];else if(g_arrForms[a].m_bShowLeavePageWarning&&g_arrForms[a].isModified())return"If you leave this page, changes made to the form will be lost."}; window.onbeforeunload=Form.HandleLeavePageWarning;window.addEventListener("beforeAjaxNavigateValidate",function(a){var b=Form.HandleLeavePageWarning();if(void 0===b||confirm(b+" Are you sure you want to navigate away?"))for(var d in g_arrForms)g_arrForms[d].clearModifiedState();else a.preventDefault(),a.stopImmediatePropagation()},!0);window.addEventListener("click",function(a){a.target&&a.target.id&&(g_strLastButtonClicked=a.target.id)}); window.addEventListener("keydown",function(a){if((a.ctrlKey||-1!==navigator.platform.toLowerCase().indexOf("mac")&&a.metaKey)&&83==(document.all?a.keyCode:a.which)){var b=getClosest(document.activeElement,"form");if(b&&b.id&&g_arrForms[b.id])var d=g_arrForms[b.id];else 1===document.forms.length&&(b=document.forms[0],b.id&&g_arrForms[b.id]&&(d=g_arrForms[b.id]));d&&d.m_bControlSSubmit&&(d.submitWithEvents(),a.preventDefault())}}); (function(){function a(b,c,e){this.utc_offset=b;this.olson_tz=c;this.uses_dst=e}var d={};a.prototype.display=function(){this.ambiguity_check();var b="UTC-offset: "+this.utc_offset+"
";b+="Olson database name: "+this.olson_tz+"
";return b+="Daylight Savings: "+(this.uses_dst?"yes":"no")+"
"};a.prototype.ambiguity_check=function(){var b,c=d.ambiguity_list[this.olson_tz];if("undefined"!==typeof c){var e=c.length;for(b=0;be?{utc_offset:b, dst:1,hemisphere:"NORTH"}:0b.width&&(b.width=400);let z=parseInt(b.width)*d;b=parseInt(b.height)*d;for(d=0;d=b||d>=h)break;var f=parseInt(e)===e;let l=parseInt(d)===d;f=f&&l?"_"+e+"x"+d:f?"_"+e+"x":l?"_x"+d:1<=c?"_"+Math.ceil(e)+"x":"_x"+Math.ceil(d);f+="a";window._s8Sqips[a].sizes.push({width:e, height:d,suffix:f})}}}}const x=/_\d*x\d*[ac]?\.[a-z]{3,5}$/,u=new MutationObserver(p),k="IntersectionObserver"in window?new IntersectionObserver(v,{root:null,rootMargin:"0px 0px 0px 0px",threshold:0}):null,t=[7056,32400,129600,518400,921600,2073600,3686400,8294400];"interactive"==document.readyState||"complete"==document.readyState?m(document):window.addEventListener("DOMContentLoaded",()=>m(document),!0)})(); Form.arrValidationMethods["\\Controls\\Forms\\Validations\\Mandatory"]=function(a){if("select"===a.nodeName.toLowerCase()){if(a=a.options[a.selectedIndex].value,!a||"null"===a)return"Please select a value"}else if(a.getAttribute("type")&&("checkbox"===a.getAttribute("type").toLowerCase()||"radio"===a.getAttribute("type").toLowerCase())){if(a.form){for(var b=a.form.querySelectorAll('input[name="'+a.getAttribute("name")+'"]'),d=!1,c=0;c