function deepExtend(a){a=a||{};for(var e=arguments.length,c=1;c=200&&c.status<400?(p(),triggerEventCrossBrowser(window,"loadajax")):e.error&&e.error(c.responseText,c.status,e),ajaxPop(c)},c.onerror=function(){e.error&&e.error(c.responseText,c.status,e),ajaxPop(c)},e.abort&&(c.onabort=e.abort),"GET"===e.method?c.send():(t instanceof FormData||(c.setRequestHeader("Content-type","application/x-www-form-urlencoded"),t=httpBuildQuery(t)),c.send(t)),c.executePrecachedResult=function(){e.precacheOnly=!1,p()},c._showLoading=e.showLoading,g_arrAjaxRequests.push(c),e.showLoading&&ajaxShowLoading(e.showLoadingMessage),c}function ajaxAbort(e){e.abort(),ajaxPop(e)}function ajaxPop(e){var a=g_arrAjaxRequests.length;if(a>1){for(var t=0;t'+e+""),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))}function ajaxEvalChunkedResponse(e){let a=0,t=[],n="\n\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\xa4\n\n",o=e.indexOf(n),r=0;for(;-1!==o;){let s=e.indexOf("\n"),i=e.substr(0,s),d=e.substr(s+1,o-s-1);if("js"==i)a?t.push(d):ajaxEvalResponse(d);else if("css"==i){let e=document.createElement("style");e.styleSheet?e.styleSheet.cssText=d:e.appendChild(document.createTextNode(d)),document.getElementsByTagName("head")[0].appendChild(e)}else if("cssRemote"==i){let e=JSON.parse(d);for(let a=0;awindow.innerWidth-100&&t.offsetHeight>window.innerHeight-100&&t.classList.add("dialogBoxFullScreen");let e=void 0!==window.scrollY?window.scrollY:document.documentElement.scrollTop,i=Math.round(window.innerHeight/2.5-t.offsetHeight/2.5);if(i+=e,i=Math.max(e,i),t.style.top=i+"px","auto"===o.width&&(t.style.width="auto",t.style.left="auto",t.style.right="auto",t.style.left=window.innerWidth/2-t.offsetWidth/2+"px"),o.closable){t.addEventListener("keydown",function(e){27===e.keyCode&&(o.fnOnClose&&o.fnOnClose(),o.close())});let e=document.createElement("dialogboxclose");t.appendChild(e),e.addEventListener("click",function(){o.fnOnClose&&o.fnOnClose(),o.close()})}triggerEventCrossBrowser(window,"dialogboxopen")})}if(void 0!==this.noajax&&this.noajax)a();else{let e=null;this._GET&&(e=this._GET);let t=null;this.nSender&&(t=this.nSender),this.ajax(this.ajaxparams,e,function(){a(),o.onAjaxComplete&&setTimeout(function(){o.onAjaxComplete()},0)},t)}if(this.nSender){let e=this.nSender;for(;e=e.parentElement;)if(e.classList.contains("tableRow")){e.classList.add("tableRow-active"),t._dialogTableRow=e;break}if(this.nSender.parentNode&&this.nSender.parentNode.parentNode&&this.nSender.parentNode.parentNode._contextMenuTableRow){let e=this.nSender.parentNode.parentNode._contextMenuTableRow;e.classList.add("tableRow-active"),t._dialogTableRow=e}}t.style.zIndex=g_iDialogBoxZIndex+1,g_iDialogBoxZIndex+=2},DialogBox.prototype.close=function(){this.noajax=!1;let e=document.getElementById(this.id);if(!e||!e.classList.contains("dialogBoxOpen"))return;e.classList.remove("dialogBoxOpen"),e.classList.remove("dialogBoxFullScreen"),e.classList.add("dialogBoxClose");let o=document.getElementById(this.id+"_opened");o&&o.classList.remove("alwayspost");let t=e.previousSibling;t&&"dialogboxoverlay"===t.nodeName.toLowerCase()&&(t.classList.add("dialogBoxClose"),t.closeTimeout=setTimeout(function(){t.classList.remove("dialogBoxOpen"),t.parentNode&&t.parentNode.removeChild(t)},100)),setTimeout(function(){e.style.display="",e.innerHTML=""},100),triggerEventCrossBrowser(e,"close"),e._dialogTableRow&&e._dialogTableRow.classList.remove("tableRow-active"),g_iDialogBoxZIndex-=2},DialogBox.prototype.generateCacheKey=function(e,o){let t=this.id;return e&&(t+=httpBuildQuery(e)),o&&(t+=httpBuildQuery(o)),t},DialogBox.prototype.ajax=function(e,o,t,i){let a=this.generateCacheKey(e,o);if(this.m_arrAJAXCache[a]){t&&this.m_arrAJAXCache[a].result?(ajaxEvalChunkedResponse(this.m_arrAJAXCache[a].result),t(this.m_arrAJAXCache[a].result),delete this.m_arrAJAXCache[a],requestAnimationFrame(()=>{document.body.querySelector("#"+this.id+" *[autofocus]")?.focus()})):this.m_arrAJAXCache[a].fnSuccess=t;return}let l={};l.type="POST",l.url="/_public/Controls/Forms/DialogBox/dialogbox.php",l.dataIncludeURL=!0,l.dataIncludeJS=!0,l.dataIncludeCSS=!0,l.dataIncludeState=!0,l.evalResponse=!1,i&&(l.dataIncludeState=i),o&&(l._GET=o),l._POST={},l._POST.dialogid=this.id,l.ajaxparams=e;let s=this;l.success=function(e){s.m_arrAJAXCache[a]&&(s.m_arrAJAXCache[a].fnSuccess?(ajaxEvalChunkedResponse(e),s.m_arrAJAXCache[a].fnSuccess(e),delete s.m_arrAJAXCache[a],requestAnimationFrame(()=>{document.body.querySelector("#"+this.id+" *[autofocus]")?.focus()})):s.m_arrAJAXCache[a].result=e)},this.m_arrAJAXCache[a]={result:null,fnSuccess:t},ajaxRequest(l)},DialogBox.get=function(e){return g_arrDialogBoxes[e]},DialogBox.open=function(e,o){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].open(o)},DialogBox.cache=function(e,o,t){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].ajax(null,o,null,t)},DialogBox.close=function(e){if(!g_arrDialogBoxes[e])throw"Could not find dialog box with id "+e;g_arrDialogBoxes[e].close()},DialogBox.closeClosest=function(e){let o=getClosest(e,"dialogbox");o&&DialogBox.close(o.getAttribute("id"))},DialogBox.isOpen=function(e){if(!g_arrDialogBoxes[e])return!1;let o=document.getElementById(e);return!!o&&o.classList.contains("dialogBoxOpen")},DialogBox.linkCache=function(e){let o=e.getAttribute("data-dialog");DialogBox.cache(o,JSON.parse(e.getAttribute("data-dialogget")),e)},DialogBox.linkOpen=function(e){let o=DialogBox.get(e.getAttribute("data-dialog"));return o._GET=JSON.parse(e.getAttribute("data-dialogget")),o.nSender=e,o.open(),!1},window.addEventListener("ajaxNavigate",function(){for(let e in g_arrDialogBoxes)g_arrDialogBoxes[e].close()}); (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(){let t={LIST_ITEM_OPEN:"s8-navigationPrimaryLI-open",MOBILE_CLOSE_SHOW:"s8-navigationPrimary__mobileCloseButton--show",DISPLAY_STATE_MOBILE:"s8-navigationPrimary--displayStateMobile",DISPLAY_STATE_MOBILE_IS_OPEN:"s8-navigationPrimary--displayStateMobile-open"};function e(t,e){this.config={bOpenOnHover:e.bOpenOnHover,strOrientation:e.strOrientation,bPreventWrap:e.bPreventWrap,pMobileMediaQuery:window.matchMedia(`(max-width: ${parseInt(e.iMobileBreakPoint)}px)`)},this.classlicurrent=e.classlicurrent||"active",this.pNavList=new i(t),this.nMobileMenuUL=this.pNavList.getListNode().previousElementSibling,this.mouseoutCloseTimer=null,this.mobileMenuCloseTimer=null,this.init()}function i(t){this.nList=t,this.arrListItems=[],this.init()}function n(t){this.nListItem=t,t._pListItem=this,this.nLink=t.querySelector("a"),this.pSubNavList=null,this.init()}window.PrimaryNavigation=e,e.prototype={init:function(){let t=this.pNavList.getListNode();this.nMobileCloseButton=document.createElement("div"),this.nMobileCloseButton.classList.add("s8-navigationPrimary__mobileCloseButton"),this.nMobileCloseButton.setAttribute("tabindex","0"),t.parentElement.appendChild(this.nMobileCloseButton),this._fixColors(),this._bindInteractions();let e=null;"function"==typeof Event?e=new Event("initialised"):(e=document.createEvent("Event")).initEvent("initialised",!0,!0),t.dispatchEvent(e)},_bindInteractions:function(){for(let t=0,e=Object.keys(this.interactions);t50?t.classList.add("s8-navigationPrimary--fallback-bg-black"):t.classList.add("s8-navigationPrimary--fallback-bg-white"));let i=t.querySelector("ul");if(i){let e=window.getComputedStyle(i);("rgba(0, 0, 0, 0)"===e.backgroundColor||"transparent"===e.backgroundColor)&&(new Color(e.color).getRelativeLuminance()>50?t.classList.add("s8-navigationPrimary--fallback-submenus-bg-black"):t.classList.add("s8-navigationPrimary--fallback-submenus-bg-white"))}},_widthIsTooSmallForListItems:function(){let t=this.pNavList.getListNode();return t.scrollWidth>t.clientWidth}},i.prototype={init:function(){for(let t=0;t0;){i.pop();let t="/"+i.join("/")+"/";this.arrListItems.some(function(i){return e=i.getLinkByhref(t)})}}return e},setActiveLink:function(t,e){this.arrListItems.forEach(function(i){i.nLink===t||i.pSubNavList&&i.pSubNavList.getLinkByhref(t.href)?i.setActive(!0,e):i.setActive(!1,e)})},inMobileDisplay:function(){return this.nList.classList.contains(t.DISPLAY_STATE_MOBILE)}},n.prototype={init:function(){let t=this.nListItem.querySelector("ul");t&&(this.pSubNavList=new i(t))},open:function(){this.isOpen()||this.nListItem.classList.add(t.LIST_ITEM_OPEN)},close:function(){this.isOpen()&&this.nListItem.classList.remove(t.LIST_ITEM_OPEN),this.pSubNavList&&this.pSubNavList.closeAll()},isOpen:function(){return!this.pSubNavList||this.nListItem.classList.contains(t.LIST_ITEM_OPEN)},contains:function(t){return this.nListItem.contains(t.nListItem)},setActive:function(t,e){this.nListItem.classList[t?"add":"remove"](e),this.pSubNavList&&this.pSubNavList.arrListItems.forEach(function(i){i.setActive(t,e)})},getLinkByhref:function(t){return new window.URL(this.nLink.href).pathname===t||this.nLink.href===t?this.nLink:this.pSubNavList?this.pSubNavList.getLinkByhref(t):null}}}(); !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{t+="&tzo="+encodeURIComponent(Intl.DateTimeFormat().resolvedOptions().timeZone)}catch(e){}fetch("/_public/Components/Website/t.php?"+t,{priority:"low"}).catch(e=>{})}document.onmousemove=t,document.onscroll=t,document.ontouchstart=t}(); !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=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{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)}(); if(typeof(g_arrLoadedJavaScript) == 'undefined') var g_arrLoadedJavaScript = [1883359239]; else g_arrLoadedJavaScript.push(1883359239); if(typeof(g_arrLoadedCSS) == 'undefined') var g_arrLoadedCSS = ["4271248385"]; else g_arrLoadedCSS.push("4271248385");