1function initAllResize(){console.log("cmscommon.core.initAllResize() - nothing happens here now... ")}function preventDefaultAction(e){e&&(e.preventDefault(),e.stopPropagation())}function closePopup(){return cmsPopupStackableCloseAll(),!1}function cmsPopupStackableCloseAll(){return popupCounter=0,$(".cmsPopupStackable").remove(),!1}$(function(){console.log("cmscommon.core()"),initStandardClicks(),$(".popupMessage").each(function(){popupMessage($(this).html()),$(this).hide()}),$(".popupError").each(function(){popupError($(this).html()),$(this).hide()})});let popupCounter=0;function cmsPopupStackableClose(e){popupCounter--;let o=$(e).parents(".cmsPopupStackable");if(o.length||(o=$(e)),o.length){const e=o.get(0);e.oncloseFN&&e.oncloseFN(),o.remove()}else $(".cmsPopupStackable").remove()}function cmsPopupStackableHTML(o,t,n,i,a,p,s){if($(".menuPopout").css("visibility","hidden").css("opacity","0"),$("#"+o).length>0&&($("#"+o).remove(),popupCounter--),popupCounter++,console.log("cmsPopupStackableHTML popupCounter="+popupCounter+" "+s),popupCounter>10)return preventDefaultAction(e),$(".cmsPopupStackable").remove(),popupCounter=0,void alert("too many popups... error...");i=void 0!==i?i:"80%";const c='<div id="'+o+'" class="cmsPopupStackable '+(s=void 0!==s?s:"")+'" ><a class="cmsPopupCloseOverlay" onclick="cmsPopupStackableClose(this)" title="Close Window"></a><div class="cmsDraggable cmsModal"><div class="cmsModalContent" >'+t+'</div><a class="cmsPopupCloseButton" onclick="cmsPopupStackableClose(this)" title="Close Window"><span class="material-icons">close</span></a></div></div>';$("body").append(c);const l=$("#"+o);p&&(l.get(0).oncloseFN=p);const r=l.find(".cmsModal");return void 0!==a&&(t.startsWith("<iframe")?r.css("max-height",a):r.find(".cmsModalContent").css("max-height",a)),void 0!==i&&r.css("maxWidth",i),r.prepend("<div class=cmsDraggablePopupTitle>"+(n||"")+"</div>"),"function"==typeof r.draggable&&(console.log("Applying draggable"),r.draggable({handle:".cmsDraggablePopupTitle"})),"function"==typeof r.resizable&&s?.includes("resizable")&&(console.log("Applying resizable "),r.resizable()),l}function cmsPopupStackable(e,o,t,n,i,a,p){return cmsPopupStackableHTML(e,'<iframe style="width:100%; height:100%; background-color:white; border: 0;" src="'+o+'"></iframe>',t,n,i,a,"cmsPopupIframe "+p)}let handleOtherPopup=!1,otherPopupCounter=0;function getPopupID(e){return e+otherPopupCounter++}function popupImage(e,o,t,n){const i='<img style="max-width:100%; height:auto" border=0 src="'+e+'" onclick="cmsPopupStackableClose(this)"/>';return cmsPopupStackableHTML(getPopupID("popupImage"),i,o,t,n,!1,"cmsPopupImage")}function createPopupSized(e,o,t,n,i){handleOtherPopup=cmsPopupStackable(getPopupID("popupCreatePopupSized"),e,o,t||"600px",n||"400px",!1,i)}function createPopupMax(e,o,t){handleOtherPopup=cmsPopupStackable("popupCreatePopupMax"+otherPopupCounter++,e,o,"95%","90%",t,"cmsMaxIframe resizable")}function initStandardPopups(){console.log("initStandardPopups - nothing happens here now... ")}function popupFromLink(e,o,t,n,i){const a=$(e);return a.closest(".noMobilePopup").length>0&&window.innerWidth<600||(createPopupSized(a.attr("href"),a.attr("title"),t,n,i),preventDefaultAction(o),!1)}function initStandardClicks(){const e=$("body");e.on("click",".clickFirstLink li, div.column.clickFirstLink, tr.clickFirstLink",clickFirstLink),e.on("click",".mobilePreviewIframe",function(e){return popupFromLink(this,e,"400px","800px","cmsMobileIframe resizable")}),e.on("click",".smallIframe",function(e){return popupFromLink(this,e,"400px","400px","cmsSmallIframe resizable")}),e.on("click",".mediumIframe",function(e){return popupFromLink(this,e,"600px","600px","cmsMediumIframe resizable")}),e.on("click",".largeIframe,.bigColorBoxIframe",function(e){return popupFromLink(this,e,"95%","90%","cmsMaxIframe resizable")}),e.on("click",".popupContent",function(e){preventDefaultAction(e),console.log("popupContent");const o=$(this),t=getPopupID("popupContent");cmsPopupStackableHTML(t,"loading...",o.attr("title"),o.attr("data-max-width"),o.attr("data-max-height")),$("#"+t+" .cmsModalContent").load(o.attr("href"))}),e.on("click",".popupImage",function(e){preventDefaultAction(e),popupImage(this.getAttribute("href"),this.getAttribute("title"),"90%","auto")})}function popupMessage(e){e.indexOf("<")<0&&(e="<p>"+e.replace(/\n/g,"<br>")+"</p>"),cmsPopupStackableHTML("PopupMessage",e,"","500px")}function popupError(e){e.indexOf("<")<0&&(e="<p class=error>"+e.replace(/\n/g,"<br>")+"</p>"),cmsPopupStackableHTML("PopupError",e,"Error","500px")}function clickFirstLink(e){console.log("clickFirstLink "+e.target);let o=$(e.target);o.is(":input, a, a>img")||(o=o.closest(".clickFirstLink,.cmsItem,li,a"),o.is("a")||(console.log("clickFirstLink clicking now... "),o.find("a").first()[0].click()))}function noNulls(e){return e&&e.length>0&&"null"==e?"":e}function zeroNulls(e){return null==e||""==e||e&&e.length>0&&"null"==e?0:parseInt(e)}function isNotNull(e){return e&&null!=e&&""!=e&&'""'!=e}function isInteger(e){return e&&null!=e&&!isNaN(parseInt(e))}function sessionGetItem(e){const o=sessionStorage.getItem(e);
1return o?"null"==o?"":o:""}function sessionGetInt(e){return zeroNulls(sessionGetItem(e))}function sessionSetItem(e,o){sessionStorage.setItem(e,o)}function sessionRemoveItem(e,o){sessionStorage.removeItem(e)}function getLocalStorageValue(e){return window.localStorage&&window.localStorage.getItem(e)?window.localStorage.getItem(e):""}function browserGetSetting(e){return window.localStorage&&window.localStorage.getItem(e)?window.localStorage.getItem(e):""}function safeLoadScript(e,o){try{if($(`script[src*="${e}"]`).length>0)return;$.getScript(e,o)}catch(e){console.log(e)}}$(document).ready(function(){console.log("ajaxLoadContent check"),$(".ajaxLoadContent").each(function(){console.log("ajaxLoadContent");const e=$(this),o=e.attr("href"),t=e.attr("waitingMessage");t?e.html("<i class=waitingMessage>"+t+"</i>"):e.html("<i class=waitingMessage>Loading... Please wait... </i>"),$(".waitingMessage").attr("style","color:silver; border:1px dashed silver; padding: 1%; display: block; "),o&&e.load(o,function(){e.hasClass("autoChartTables")&&e.find("canvas.autoChartTable").each(autoChartTable),"function"==typeof initForms&&initForms()})})});
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.