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(){if(window.ToolTip)return;let t={TOP:"top",TOP_RIGHT:"topright",RIGHT:"right",BOTTOM_RIGHT:"bottomright",BOTTOM:"bottom",BOTTOM_LEFT:"bottomleft",LEFT:"left",TOP_LEFT:"topleft"},e={[t.LEFT]:t.RIGHT,[t.TOP_LEFT]:t.BOTTOM_LEFT,[t.TOP]:t.BOTTOM,[t.TOP_RIGHT]:t.BOTTOM_RIGHT,[t.RIGHT]:t.LEFT,[t.BOTTOM_LEFT]:t.TOP_LEFT,[t.BOTTOM]:t.TOP,[t.BOTTOM_RIGHT]:t.TOP_RIGHT},n=function(t){if("string"==typeof t.target){if(t.target=document.querySelectorAll(t.target),!t.target.length)return;t.target=t.target[0]}let o=this;for(let e in this.title="",this.content="",this.container=document.body,this.target=null,this.position="bottom",this.arrowPosition=null,this.positionOffsetX=0,this.positionOffsetY=0,this.marginX=0,this.marginY=0,this.hasCloseButton=!1,this.positionDynamic=!1,this.showOn=null,this.hideOn=null,this.toggleOn=null,this.onShow=null,this.onHide=null,this.arrClasses=[],this.theme="standard",this.animation=!1,this.ignoreCollision=!1,t)this[e]=t[e];for(let e in this.target||(this.target=document.body,this.positionDynamic=!1,this.position="topright"),this.container||(this.container=document.body),this.id=t.id?t.id:n._id++,this.nWrapper=this.container.ownerDocument.createElement("tooltip"),this._arrChevrons=[],this.nWrapper.toolTip=this,this.nWrapper.id=this.id,this.nWrapper.classList.add("tooltipTheme-"+this.theme),this.arrClasses)this.nWrapper.classList.add(this.arrClasses[e]);if(this.nWrapperContent=this.container.ownerDocument.createElement("tooltipcontent"),this.nWrapper.appendChild(this.nWrapperContent),this.hasCloseButton){let t=this.container.ownerDocument.createElement("tooltipclose");t.addEventListener("click",function(){o.hide()}),this.nWrapperContent.appendChild(t)}this.nTitle=this.container.ownerDocument.createElement("div"),this.nTitle.classList.add("s8ToolTip_Title"),this.nWrapperContent.appendChild(this.nTitle),this.nContent=this.container.ownerDocument.createElement("div"),this.nContent.classList.add("s8ToolTip_Text"),this.nWrapperContent.appendChild(this.nContent),this.container.appendChild(this.nWrapper),this._hookEvents(),window.ToolTipThemes[this.theme].construct(this),this.arrowPosition=this.arrowPosition?this.arrowPosition:e[this.position],this._addChevron(this.arrowPosition),this._update(),n._arrTooltips.push(this)};n._id=0,n._arrTooltips=[],n.getByElementId=function(t){for(let e=0;er.bottom&&(r.bottom=o.bottom,r.height=o.bottom-r.top)}}let h=this.position;if(this.positionDynamic){let t,e=this.container.parentNode,o=0,s=0;for(;e;){if((e.currentStyle||e.ownerDocument)&&"hidden"===(e.currentStyle||e.ownerDocument.defaultView.getComputedStyle(e,"")).overflow){let t=e.getBoundingClientRect();if(t&&t.width){o=t.left,s=t.top;break}}e=e.parentNode}e||(e=this.container.ownerDocument.documentElement);let a=e.clientWidth,l=e.clientHeight,p={side:"top",opposed:"bottom",x:a,y:r.top-s};p.size=p.x*p.y;let d={side:"right",opposed:"left",x:a-r.right-o,y:l};d.size=d.x*d.y;let c={side:"bottom",opposed:"top",x:a,y:l-r.bottom-s};c.size=c.x*c.y;let f={side:"left",opposed:"right",x:r.left-o,y:r.top-s};f.size=f.x*f.y,t=({topleft:p,top:p,topright:p,bottomleft:c,bottom:c,bottomright:c,left:f,right:d})[h];let u=[p,d,c,f];for(i=0;ie&&s.topn){if(r.left>400){let e=r.left+r.width/2,n=r.top-30;for(let o of t)if(o!==this.target&&(s=o.getBoundingClientRect())&&s.lefte&&s.topn){h="left",this.arrowPosition="right";break t}}h="top",this.arrowPosition="bottom";break}}}this._clearChevrons(),this._addChevron(this.arrowPosition),t||(this.position=h)}e=this._arrChevrons[0].chevron.getBoundingClientRect();let l=r.left+r.width*this._positionMatrix[h].w-(e.left+e.width*this._positionMatrix[this.arrowPosition].w),p=r.top+r.height*this._positionMatrix[h].h-(e.top+e.height*this._positionMatrix[this.arrowPosition].h);if(l+=parseInt(this.marginX)+parseInt(this.positionOffsetX),(p+=parseInt(this.marginY)+parseInt(this.positionOffsetY))<0&&this.container.offsetParent&&"hidden"==this.container.offsetParent.ownerDocument.defaultView.getComputedStyle(this.container.offsetParent,null).overflowY&&(p=0),this.nWrapper._iTransLeft=Math.floor((this.nWrapper._iTransLeft||0)+l),this.nWrapper._iTransTop=Math.floor((this.nWrapper._iTransTop||0)+p),this.nWrapper.style.transform="translate("+this.nWrapper._iTransLeft+"px, "+this.nWrapper._iTransTop+"px)",!this.ignoreCollision){let t=this.nWrapper.ownerDocument.getElementsByTagName("tooltip"),e=this.nWrapper.getBoundingClientRect();for(let n=0;n=o.left-5&&e.left<=o.right+5&&e.top>=o.top-5&&e.top<=o.bottom-5&&(this.nWrapper._iTransLeft+=Math.floor(o.width)+10,this.nWrapper.style.transform="translate("+this.nWrapper._iTransLeft+"px, "+this.nWrapper._iTransTop+"px)")}}this.animation&&this.nWrapper.classList.add("tooltipAnimated-"+this.animation)},n.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=""},n.prototype._addChevron=function(t){let e="tooltip--arrow-"+t,n=this.container.ownerDocument.createElement("tooltipchevronwrapper"),o=this.container.ownerDocument.createElement("tooltipchevron");return n.appendChild(o),this.nWrapper.classList.add(e),this._arrChevrons.unshift({class:e,wrapper:n,chevron:o}),this.nWrapperContent.appendChild(n),n},n.prototype._clearChevrons=function(){for(;this._arrChevrons.length;){let t=this._arrChevrons.pop();t.wrapper.parentNode.removeChild(t.wrapper),this.nWrapper.classList.remove(t.class)}},n.prototype.disableAnimation=function(){this.nWrapper.classList.add("animationDisable")},n.prototype._hookEvents=function(){let t=this;function e(n){if(!t.nWrapper.contains(n.target)&&!t.target.contains(n.target)){if(!document.body.contains(t.nWrapper)){window.removeEventListener("click",e);return}t.hide()}}function n(n,o){if(o){n instanceof Array||(n=[n]);for(let s=0;sMath.abs(o.right-t.right)||o.left+o.width/2-t.left<60)&&(o.top>t.top+50?(a.arrowPosition="bottom",a.position="top"):e=r.parentNode)}if(("hidden"===t.overflowY||"scroll"===t.overflowY||"auto"===t.overflowY)&&r.parentNode&&1===r.nodeType){let t=r.getBoundingClientRect();(t&&o.top-t.top<50||o.bottom-t.bottom>5)&&(e=r.parentNode)}r=r.parentNode}let n=document.createElement("tooltipvalidation");t.nValidationContainer=n}t.parentNode.contains(t.nValidationContainer)||t.parentNode.appendChild(t.nValidationContainer),a.container=t.nValidationContainer,a.target=t,("LABEL"==t.nodeName||t.getAttribute("type")&&("checkbox"===t.getAttribute("type").toLowerCase()||"radio"===t.getAttribute("type").toLowerCase()))&&(a.arrowPosition="bottom",a.position="top"),new ToolTip(a).show();try{!r&&t.focus&&t.focus()}catch(t){}},Form.prototype.onSubmit=function(t){var e,r,a=this,o=this.getDOMElement();if(triggerEventCrossBrowser(o,"updatevalues"),!a.validate())return t.preventDefault(),!1;"ajax"===a.m_strMethod&&(a.m_strOnSubmitAttrValue&&Function("event",this.m_strOnSubmitAttrValue).bind(o)(t),t.preventDefault(),this.clearModifiedState()),a.m_bShowLeavePageWarning=!1;var n=!1;if(window.g_arrAjaxRequests&&g_arrAjaxRequests.length&&"ajax"!==a.m_strMethod)for(var i=0;iDate.now()-7e3?(t.preventDefault(),!1):(this.iSubmittedTime=Date.now(),s(),!0)},Form.prototype.submitWithEvents=function(t){if(!t||!1!==triggerEventCrossBrowser(t,"click")){var e=this.getDOMElement();!1!==triggerEventCrossBrowser(e,"submit")&&e.submit()}},Form.HandleLeavePageWarning=function(){for(var t in g_arrForms){if(!document.getElementById(t)){delete g_arrForms[t];continue}if(g_arrForms[t].m_bShowLeavePageWarning&&g_arrForms[t].isModified())return"If you leave this page, changes made to the form will be lost."}},window.onbeforeunload=Form.HandleLeavePageWarning,window.addEventListener("beforeAjaxNavigateValidate",function(t){var e=Form.HandleLeavePageWarning();if(void 0!==e&&!confirm(e+" Are you sure you want to navigate away?")){t.preventDefault(),t.stopImmediatePropagation();return}for(var r in g_arrForms)g_arrForms[r].clearModifiedState()},!0),window.addEventListener("click",function(t){t.target&&t.target.id&&(g_strLastButtonClicked=t.target.id)}),window.addEventListener("keydown",function(t){if((t.ctrlKey||-1!==navigator.platform.toLowerCase().indexOf("mac")&&t.metaKey)&&83==(document.all?t.keyCode:t.which)){var e,r=document.activeElement,a=getClosest(r,"form");a&&a.id&&g_arrForms[a.id]?e=g_arrForms[a.id]:1===document.forms.length&&(a=document.forms[0]).id&&g_arrForms[a.id]&&(e=g_arrForms[a.id]),e&&e.m_bControlSSubmit&&(e.submitWithEvents(),t.preventDefault())}}); !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}(); 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=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 = [78929935]; else g_arrLoadedJavaScript.push(78929935); if(typeof(g_arrLoadedCSS) == 'undefined') var g_arrLoadedCSS = ["2476450438"]; else g_arrLoadedCSS.push("2476450438");