1function trimString(t,e){return null==t||null==t?"":t.length>e?t.substring(0,t.substring(0,e).lastIndexOf(" "))+" ..":t}function updateTime(){serverTime=new Date(serverTime.getTime()+1e3);var t=serverTime.getHours(),e=serverTime.getMinutes(),n=t>=12?$util.getLocalString("PM"):$util.getLocalString("AM");t%=12,t=t||12,e=e<10?"0"+e:e,$("#currentTime").html(t+":"+e+" "+n)}function getTopMenu(){var t="";$.ajax({type:"GET",contentType:"application/json",url:$util.LangUrl+"_layouts/15/MOFInternet/MOFInternetHandler.ashx?op=getMenu&listUrl="+$util.LangUrl+"Lists/TopMenuLevel1&viewName=Home&subList="+$util.LangUrl+"Lists/TopMenuLevel2",dataType:"json",async:!0,cache:!1,success:function(e){if(null!=e&&e.length>0){function n(){if($(this).find(".dropdown").stop().slideDown("fast",0).show(),function(t){jQuery.fn.calcdropdownWidth=function(){rowWidth=0,t(this).find("ul").each(function(){rowWidth+=t(this).width()})}}(jQuery),$(this).find(".row").length>0){var t=0;$(this).find(".row").each(function(){$(this).calcdropdownWidth(),rowWidth>t&&(t=rowWidth)}),$(this).find(".dropdown").css({width:t}),$(this).find(".row:last").css({margin:"0"})}else $(this).calcdropdownWidth(),$(this).find(".dropdown").css({width:rowWidth})}function i(){$(this).find(".dropdown").stop().slideUp("fast",0,function(){$(this).hide()})}$.each(e,function(e,n){var i="#link";null!=n.Item.URL&&""!=n.Item.URL&&(i=n.Item.URL),t+='<li ref="'+i+'"><a class="topLevel" href="'+i+'">'+n.Item.Title+"</a>",null!=n.SubItem&&(t+='<ul class="dropdown">',$.each(n.SubItem,function(e,n){t+='<li><a href="'+n.URL+'"><span>></span> '+n.Title+"</a></li>"}),t+="</ul>"),t+="</li>"}),$("#menu").html(t),$("#menu").slicknav({label:$util.getLocalString("MainMenu"),duplicate:!0});var o={sensitivity:2,interval:100,over:n,timeout:100,out:i};$("ul#menu li .dropdown").css({opacity:"1"}),$("ul#menu li").hoverIntent(o)}},error:function(t,e,n){}})}function getFooterMenu(){var t="";$.ajax({type:"GET",contentType:"application/json",url:$util.LangUrl+"_LAYOUTS/15/MOFInternet/MOFInternetHandler.ashx?op=getMenu&listUrl="+$util.LangUrl+"Lists/FooterCategories&viewName=Home&subList="+$util.LangUrl+"Lists/FooterSub",dataType:"json",async:!0,cache:!1,success:function(e){null!=e&&e.length>0&&($.each(e,function(e,n){t+='<ul class="ful"><li>'+n.Item.Title+"</li>",null!=n.SubItem&&$.each(n.SubItem,function(e,n){t+='<li><a href="'+n.URL+'">'+n.Title+"</a></li>"}),t+="</ul>"}),t+='<span class="clr"></span>',$("#footermenu").html(t))},error:function(t,e,n){}})}function getURL(t){var e="";if(""!=t&&null!=t){var n=t.split(", ");e=n[0]}return e}function AddToFavorites(){var t=window.document.URL,e=$util.getLocalString("KSA")+" - "+$util.getLocalString("MOF")+" - "+window.document.title;return window.sidebar?($("a.BookmarkMe").attr("href",t),$("a.BookmarkMe").attr("title",e),$("a.BookmarkMe").attr("rel","sidebar")):window.opera&&window.print?alert($util.getLocalString("addToFavourite")):window.external&&window.ActiveXObject?window.external.AddFavorite(t,e):alert($util.getLocalString("addToFavourite")),!1}function incFont(t,e){$("div,span,label,a,li,td,th",t).each(function(){incFont($(this),e)});var n=t.css("font-size"),i=parseFloat(n,10);if(0!=i&&(null==t.attr("df")&&t.attr("df",i),i<26+e)){var o=i+1;t.css("font-size",o.toString()+"px")}}function decFont(t,e){if(0!=i){var n=t.css("font-size"),i=parseFloat(n,10);if(0==e)t.css("font-size",t.attr("df")+"px");else if(i>18+e){var o=i-1;o>=t.attr("df")&&t.css("font-size",o.toString()+"px")}}$("div,span,label,a,li,td,th",t).each(function(){decFont($(this),e)})}function initFontCur(t){var e=$("img#incFont"),n=$("img#decFont");t>=4?(e.css("cursor","default"),n.css("cursor","pointer")):t<=0?(e.css("cursor","pointer"),n.css("cursor","default")):(e.css("cursor","pointer"),n.css("cursor","pointer"))}function changeFontSize(t){$affectedElements.each(function(){var e=$
1(this);0==steps?e.css("font-size",parseInt(e.attr("data-font-size"))):e.css("font-size",parseInt(e.css("font-size"))+t)})}function startVoiceRecognition(){var t='<button data-remodal-action="close" class="remodal-close" aria-label="Close"></button>\t\t\t\t\t\t <div>\t\t\t\t\t\t\t<h2 id="modal1Title">'+$util.getLocalString("VoiceCommands")+'</h2>\t\t\t\t\t\t\t<div id="modal1Desc">\t\t\t\t\t\t\t\t<p>'+$util.getLocalString("VoiceCommandsDesc")+"</p>\t\t\t\t\t\t\t\t<h3>"+$util.getLocalString("VoiceCommandsListTitle")+'</h3>\t\t\t\t\t\t\t\t<ul id="voice_commands">'+$util.getLocalString("VoiceCommandsListContent")+'</ul>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t </div>\t\t\t\t\t\t <br/>\t\t\t\t\t\t <button data-remodal-action="confirm" class="remodal-confirm">'+$util.getLocalString("OK")+"</button>";if($('div[data-remodal-id="voiceCmdsModal"]').html(t),annyang){getVoiceCommands();var e=function(t){var e=$util.LangUrl+"generalservcies/search/pages/default.aspx?k="+t;window.location.replace(e)},n=function(t){for(var e="",n=0;n<voiceCommands.commands.length;n++)voiceCommands.commands[n].title==t&&(e=voiceCommands.commands[n].url,window.location.replace(e))},i="ar"==$util.currentLang?{"Ø§Ø¨ØØ« ع٠*tag":e,"Ø§ÙØªÙ٠اÙÙ *tag":n}:{"search for *tag":e,"go to *tag":n};annyang.debug(),annyang.addCommands(i),annyang.setLanguage($util.currentLang),annyang.start()}}function pauseVoiceRecognition(){1==annyang.isListening()&&annyang.pause()}function resumeVoiceRecognition(){1!=annyang.isListening()&&annyang.resume()}function getVoiceCommands(){var t="";$.ajax({type:"GET",contentType:"application/json",url:"/_LAYOUTS/15/MOFInternet/MOFInternetHandler.ashx?op=LoadItems&listUrl=/Lists/VoiceCommands&viewName=Home",dataType:"json",async:!0,cache:!1,success:function(e){null!=e&&e.length>0&&($.each(e,function(e,n){var i="ar"==$util.currentLang?n.Title:n.Title_En,o="ar"==$util.currentLang?n.URL:$util.LangUrl+n.URL;t+="<li>"+$util.getLocalString("command_moveTo")+i+"</li>",voiceCommands.commands.push({title:i.toLowerCase(),url:o})}),t+="<li>"+$util.getLocalString("command_searchFor")+"</li>",$("#voice_commands").html(t))},error:function(t,e,n){console.log(n)}})}function getParameterByName(t){t=t.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var e="[\\?&]"+t+"=([^&#]*)",n=new RegExp(e),i=n.exec(window.location.href);return null==i?"":decodeURIComponent(i[1].replace(/\+/g," "))}function removeURLParameter(t,e){var n=t.split("?");if(n.length>=2){for(var i=encodeURIComponent(e)+"=",o=n[1].split(/[&;]/g),a=o.length;a-- >0;)-1!==o[a].lastIndexOf(i,0)&&o.splice(a,1);return t=n[0]+"?"+o.join("&"),t}return t}function getCookie(t){var e=null;if(document.cookie&&""!=$.trim(document.cookie)){var n=document.cookie.split(";"),i=n.length;if(i>0)for(var o=0;o<i;o++){var a=$.trim(n[o]);if(a.substring(0,t.length+1)==t+"="){e=decodeURIComponent(a.substring(t.length+1));break}}}return e}function setCookie(t,e){$.cookie(t,e,{expires:365,path:"/"})}function playVideo(t){if($("#divPlayer").html(""),t.indexOf("www.youtube.com")>0){var e=t.replace("http://","//"),n='<iframe width="100%" height="100%" src="'+e+'?rel=0" frameborder="0" allowfullscreen></iframe>';$("#divyPlayer").html(n),$(window).width()>767?$.colorbox({width:"50%",height:"65%",inline:!0,href:"#divyPlayer"}):$.colorbox({width:"100%",height:"65%",inline:!0,href:"#divyPlayer"})}else jwplayer("divPlayer").setup({height:"100%",width:"97%",playlist:[{file:t}],flashplayer:$utill.LangUrl+"_LAYOUTS/15/MOFInternet/jwplayer/jwplayer.flash.swf",captions:{back:!1,color:"cc0000",fontsize:20}}),$(window).width()>767?$.colorbox({width:"50%",height:"65%",inline:!0,href:"#divPlayer"}):$.colorbox({width:"100%",height:"65%",inline:!0,href:"#divPlayer"})}function ValidateScripts(t,e){var n=e.Value,i=/^((?!<script).|\s+)*$/i;e.IsValid=i.test(n)}function searchSite(){var t=$(".search_input").val();""==t?alert($util.getLocalString("EmptyKeyword")):window.location.href=$util.LangUrl+"generalservcies/search/pages/default.aspx?k="+t}var CookieColorKeyName="MOFColorSelectedValue";$(window).scroll(function(){$(this).scrollTop()>100?$(".scrollup").fadeIn():$(".scrollup").fadeOut(),$(this).scrollTop()>60&&$("#s4-ribbonrow").length>0&&$("#s4-ribbonrow").height()>=35?$(".hbottom").addClass("fixed"):$(".hbottom").removeClass("fixed")}),$(document).ready(function(){$(".colorSwitch").click(function(){$("body").toggleClass("grayscale")}
1),$(".scrollup").click(function(){return $("html, body").animate({scrollTop:0},600),!1}),$(".tooltip strong").click(function(){$(this).parent().toggleClass("sropen srclose")}),$(document).mouseup(function(t){var e=$(".srch");e.is(t.target)||0!==e.has(t.target).length||e.hasClass("srclose")||e.addClass("srclose").removeClass("sropen")}),$(".collapsible img").click(function(){$(this).parent().toggleClass("sropen srclose")}),$("#click").click(function(){return $("#click").css({"background-color":"#f00",color:"#fff",cursor:"inherit"}).text("Open this window again and this message will still be here."),!1}),$.fn.slideFadeToggle=function(t,e,n){return this.animate({opacity:"toggle",height:"toggle"},t,e,n)},getTopMenu(),getFooterMenu();var t=location.pathname.split("/")[1];$("ul#menu > li").removeClass("current"),$('li[ref="'+t+'"]').addClass("current");var e=document.location.href,n=$util.getLocalString("MOF")+" - "+document.title,i=document.title+" "+e;$("a.mail_a").attr("href","mailto:?subject="+n+"&body="+i),$("a.incFont").click(function(){return 0==steps&&($affectedElements=$("div,span,label,a,li,td,th"),$affectedElements.each(function(){var t=$(this);t.attr("data-font-size",t.css("font-size"))})),steps+=1,steps>4?(steps=4,!1):(initFontCur(steps),changeFontSize(1),!1)}),$("a.decFont").click(function(){return steps-=1,steps<0?(steps=0,!1):(initFontCur(steps),changeFontSize(-1),!1)}),updateTime(),setInterval(updateTime,1e3),startVoiceRecognition();try{createLoginItemsList($util.currentLang)}catch(t){console.log(t.message)}});var $affectedElements,serverTime=new Date,steps=0;
1initFontCur(steps);var voiceCommands={commands:[]};$(".search_input").keypress(function(t){13===t.keyCode&&(t.preventDefault(),searchSite())});
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.