function runAllForms(){$.fn.slider&&$(".slider").slider();$.fn.select2&&$("select.select2").each(function(){var n=$(this),t=n.attr("data-select-width")||"100%";n.select2({allowClear:!0,width:t});n=null});$.fn.mask&&$("[data-mask]").each(function(){var n=$(this),t=n.attr("data-mask")||"error...",i=n.attr("data-mask-placeholder")||"X";n.mask(t,{placeholder:i});n=null});$.fn.autocomplete&&$("[data-autocomplete]").each(function(){var n=$(this),t=n.data("autocomplete")||["The","Quick","Brown","Fox","Jumps","Over","Three","Lazy","Dogs"];n.autocomplete({source:t});n=null});$.fn.datepicker&&$(".datepicker").each(function(){var n=$(this),t=n.attr("data-dateformat")||"dd.mm.yy";n.datepicker({dateFormat:t,prevText:'<i class="fa fa-chevron-left"><\/i>',nextText:'<i class="fa fa-chevron-right"><\/i>'});n=null});$("button[data-loading-text]").on("click",function(){var n=$(this);n.button("loading");setTimeout(function(){n.button("reset");n=null},3e3)})}function runAllCharts(){if($.fn.sparkline){var v,n,r,y,p,w,u,f,b,i,k,d,g,nt,tt,it,e,rt,ut,ft,et,ot,st,ht,ct,lt,at,vt,yt,pt,wt,bt,kt,dt,gt,ni,ti,ii,ri,ui,fi,ei,oi,si,hi,ci,sr,li,ai,vi,yi,pi,o,t,wi,bi,ki,di,gi,nr,tr,s,ir,h,c,rr,ur,l,a,fr,er,or;$(".sparkline:not(:has(>canvas))").each(function(){var hr=$(this),cr=hr.data("sparkline-type")||"bar",lr;cr=="bar"&&(v=hr.data("sparkline-bar-color")||hr.css("color")||"#0000f0",n=hr.data("sparkline-height")||"26px",r=hr.data("sparkline-barwidth")||5,y=hr.data("sparkline-barspacing")||2,p=hr.data("sparkline-negbar-color")||"#A90329",w=hr.data("sparkline-barstacked-color")||["#A90329","#0099c6","#98AA56","#da532c","#4490B1","#6E9461","#990099","#B4CAD3"],hr.sparkline("html",{barColor:v,type:cr,height:n,barWidth:r,barSpacing:y,stackedBarColor:w,negBarColor:p,zeroAxis:"false"}),hr=null);cr=="line"&&(n=hr.data("sparkline-height")||"20px",t=hr.data("sparkline-width")||"90px",u=hr.data("sparkline-line-color")||hr.css("color")||"#0000f0",f=hr.data("sparkline-line-width")||1,b=hr.data("fill-color")||"#c0d0f0",i=hr.data("sparkline-spot-color")||"#f08000",k=hr.data("sparkline-minspot-color")||"#ed1c24",d=hr.data("sparkline-maxspot-color")||"#f08000",g=hr.data("sparkline-highlightspot-color")||"#50f050",nt=hr.data("sparkline-highlightline-color")||"f02020",tt=hr.data("sparkline-spotradius")||1.5,thisChartMinYRange=hr.data("sparkline-min-y")||"undefined",thisChartMaxYRange=hr.data("sparkline-max-y")||"undefined",thisChartMinXRange=hr.data("sparkline-min-x")||"undefined",thisChartMaxXRange=hr.data("sparkline-max-x")||"undefined",thisMinNormValue=hr.data("min-val")||"undefined",thisMaxNormValue=hr.data("max-val")||"undefined",thisNormColor=hr.data("norm-color")||"#c0c0c0",thisDrawNormalOnTop=hr.data("draw-normal")||!1,hr.sparkline("html",{type:"line",width:t,height:n,lineWidth:f,lineColor:u,fillColor:b,spotColor:i,minSpotColor:k,maxSpotColor:d,highlightSpotColor:g,highlightLineColor:nt,spotRadius:tt,chartRangeMin:thisChartMinYRange,chartRangeMax:thisChartMaxYRange,chartRangeMinX:thisChartMinXRange,chartRangeMaxX:thisChartMaxXRange,normalRangeMin:thisMinNormValue,normalRangeMax:thisMaxNormValue,normalRangeColor:thisNormColor,drawNormalOnTop:thisDrawNormalOnTop}),hr=null);cr=="pie"&&(it=hr.data("sparkline-piecolor")||["#B4CAD3","#4490B1","#98AA56","#da532c","#6E9461","#0099c6","#990099","#717D8A"],e=hr.data("sparkline-piesize")||90,rt=hr.data("border-color")||"#45494C",ut=hr.data("sparkline-offset")||0,hr.sparkline("html",{type:"pie",width:e,height:e,tooltipFormat:'<span style="color: {{color}}">&#9679;<\/span> ({{percent.1}}%)',sliceColors:it,borderWidth:1,offset:ut,borderColor:rt}),hr=null);cr=="box"&&(ft=hr.data("sparkline-width")||"auto",et=hr.data("sparkline-height")||"auto",ot=hr.data("sparkline-boxraw")||!1,st=hr.data("sparkline-targetval")||"undefined",ht=hr.data("sparkline-min")||"undefined",ct=hr.data("sparkline-max")||"undefined",lt=hr.data("sparkline-showoutlier")||!0,at=hr.data("sparkline-outlier-iqr")||1.5,vt=hr.data("sparkline-spotradius")||1.5,yt=hr.css("color")||"#000000",pt=hr.data("fill-color")||"#c0d0f0",wt=hr.data("sparkline-whis-color")||"#000000",bt=hr.data("sparkline-outline-color")||"#303030",kt=hr.data("sparkline-outlinefill-color")||"#f0f0f0",dt=hr.data("sparkline-outlinemedian-color")||"#f00000",gt=hr.data("sparkline-outlinetarget-color")||"#40a020",hr.sparkline("html",{type:"box",width:ft,height:et,raw:ot,target:st,minValue:ht,maxValue:ct,showOutliers:lt,outlierIQR:at,spotRadius:vt,boxLineColor:yt,boxFillColor:pt,whiskerColor:wt,outlierLineColor:bt,outlierFillColor:kt,medianColor:dt,targetColor:gt}),hr=null);cr=="bullet"&&(lr=hr.data("sparkline-height")||"auto",ni=hr.data("sparkline-width")||2,ti=hr.data("sparkline-bullet-color")||"#ed1c24",ii=hr.data("sparkline-performance-color")||"#3030f0",ri=hr.data("sparkline-bulletrange-color")||["#d3dafe","#a8b6ff","#7f94ff"],hr.sparkline("html",{type:"bullet",height:lr,targetWidth:ni,targetColor:ti,performanceColor:ii,rangeColors:ri}),hr=null);cr=="discrete"&&(ui=hr.data("sparkline-height")||26,fi=hr.data("sparkline-width")||50,ei=hr.css("color"),oi=hr.data("sparkline-line-height")||5,si=hr.data("sparkline-threshold")||"undefined",hi=hr.data("sparkline-threshold-color")||"#ed1c24",hr.sparkline("html",{type:"discrete",width:fi,height:ui,lineColor:ei,lineHeight:oi,thresholdValue:si,thresholdColor:hi}),hr=null);cr=="tristate"&&(ci=hr.data("sparkline-height")||26,sr=hr.data("sparkline-posbar-color")||"#60f060",li=hr.data("sparkline-negbar-color")||"#f04040",ai=hr.data("sparkline-zerobar-color")||"#909090",vi=hr.data("sparkline-barwidth")||5,yi=hr.data("sparkline-barspacing")||2,pi=hr.data("sparkline-zeroaxis")||!1,hr.sparkline("html",{type:"tristate",height:ci,posBarColor:o,negBarColor:li,zeroBarColor:ai,barWidth:vi,barSpacing:yi,zeroAxis:pi}),hr=null);cr=="compositebar"&&(n=hr.data("sparkline-height")||"20px",t=hr.data("sparkline-width")||"100%",r=hr.data("sparkline-barwidth")||3,f=hr.data("sparkline-line-width")||1,u=hr.data("data-sparkline-linecolor")||"#ed1c24",o=hr.data("data-sparkline-barcolor")||"#333333",hr.sparkline(hr.data("sparkline-bar-val"),{type:"bar",width:t,height:n,barColor:o,barWidth:r}),hr.sparkline(hr.data("sparkline-line-val"),{width:t,height:n,lineColor:u,lineWidth:f,composite:!0,fillColor:!1}),hr=null);cr=="compositeline"&&(n=hr.data("sparkline-height")||"20px",t=hr.data("sparkline-width")||"90px",wi=hr.data("sparkline-bar-val"),bi=hr.data("sparkline-bar-val-spots-top")||null,ki=hr.data("sparkline-bar-val-spots-bottom")||null,di=hr.data("sparkline-line-width-top")||1,gi=hr.data("sparkline-line-width-bottom")||1,nr=hr.data("sparkline-color-top")||"#333333",tr=hr.data("sparkline-color-bottom")||"#ed1c24",s=hr.data("sparkline-spotradius-top")||1.5,ir=hr.data("sparkline-spotradius-bottom")||s,i=hr.data("sparkline-spot-color")||"#f08000",h=hr.data("sparkline-minspot-color-top")||"#ed1c24",c=hr.data("sparkline-maxspot-color-top")||"#f08000",rr=hr.data("sparkline-minspot-color-bottom")||h,ur=hr.data("sparkline-maxspot-color-bottom")||c,l=hr.data("sparkline-highlightspot-color-top")||"#50f050",a=hr.data("sparkline-highlightline-color-top")||"#f02020",fr=hr.data("sparkline-highlightspot-color-bottom")||l,thisHighlightLineColor2=hr.data("sparkline-highlightline-color-bottom")||a,er=hr.data("sparkline-fillcolor-top")||"transparent",or=hr.data("sparkline-fillcolor-bottom")||"transparent",hr.sparkline(wi,{type:"line",spotRadius:s,spotColor:i,minSpotColor:h,maxSpotColor:c,highlightSpotColor:l,highlightLineColor:a,valueSpots:bi,lineWidth:di,width:t,height:n,lineColor:nr,fillColor:er}),hr.sparkline(hr.data("sparkline-line-val"),{type:"line",spotRadius:ir,spotColor:i,minSpotColor:rr,maxSpotColor:ur,highlightSpotColor:fr,highlightLineColor:thisHighlightLineColor2,valueSpots:ki,lineWidth:gi,width:t,height:n,lineColor:tr,composite:!0,fillColor:or}),hr=null)})}$.fn.easyPieChart&&$(".easy-pie-chart").each(function(){var n=$(this),i=n.css("color")||n.data("pie-color"),r=n.data("pie-track-color")||"rgba(0,0,0,0.04)",t=parseInt(n.data("pie-size"))||25;n.easyPieChart({barColor:i,trackColor:r,scaleColor:!1,lineCap:"butt",lineWidth:parseInt(t/8.5),animate:1500,rotate:-90,size:t,onStep:function(n,t,i){$(this.el).find(".percent").text(Math.round(i))}});n=null})}function setup_widgets_desktop(){$.fn.jarvisWidgets&&enableJarvisWidgets&&$("#widget-grid").jarvisWidgets({grid:"article",widgets:".jarviswidget",localStorage:localStorageJarvisWidgets,deleteSettingsKey:"#deletesettingskey-options",settingsKeyLabel:"Reset settings?",deletePositionKey:"#deletepositionkey-options",positionKeyLabel:"Reset position?",sortable:sortableJarvisWidgets,buttonsHidden:!1,toggleButton:!0,toggleClass:"fa fa-minus | fa fa-plus",toggleSpeed:200,onToggle:function(){},deleteButton:!0,deleteMsg:"Warning: This action cannot be undone!",deleteClass:"fa fa-times",deleteSpeed:200,onDelete:function(){},editButton:!0,editPlaceholder:".jarviswidget-editbox",editClass:"fa fa-cog | fa fa-save",editSpeed:200,onEdit:function(){},colorButton:!0,fullscreenButton:!0,fullscreenClass:"fa fa-expand | fa fa-compress",fullscreenDiff:3,onFullscreen:function(){},customButton:!1,customClass:"folder-10 | next-10",customStart:function(){alert("Hello you, this is a custom button...")},customEnd:function(){alert("bye, till next time...")},buttonOrder:"%refresh% %custom% %edit% %toggle% %fullscreen% %delete%",opacity:1,dragHandle:"> header",placeholderClass:"jarviswidget-placeholder",indicator:!0,indicatorTime:600,ajax:!0,timestampPlaceholder:".jarviswidget-timestamp",timestampFormat:"Last update: %m%/%d%/%y% %h%:%i%:%s%",refreshButton:!0,refreshButtonClass:"fa fa-refresh",labelError:"Sorry but there was a error:",labelUpdated:"Last Update:",labelRefresh:"Refresh",labelDelete:"Delete widget:",afterLoad:function(){},rtl:!1,onChange:function(){},onSave:function(){},ajaxnav:$.navAsAjax})}function setup_widgets_mobile(){enableMobileWidgets&&enableJarvisWidgets&&setup_widgets_desktop()}function loadScript(n,t){if(jsArray[n])debugState&&root.root.console.log("This script was already loaded %c: "+n,debugStyle_warning);else{var r=jQuery.Deferred(),u=document.getElementsByTagName("body")[0],i=document.createElement("script");i.type="text/javascript";i.src=n;i.onload=function(){r.resolve()};u.appendChild(i);jsArray[n]=r.promise()}jsArray[n].then(function(){typeof t=="function"&&t()})}function checkURL(){var t=location.href.split("#").splice(1).join("#"),n,r,i;if(!t)try{n=window.document.URL;n&&n.indexOf("#",0)>0&&n.indexOf("#",0)<n.length+1&&(t=n.substring(n.indexOf("#",0)+1))}catch(u){}container=$("#content");t?($("nav li.active").removeClass("active"),$('nav li:has(a[href="'+t+'"])').addClass("active"),r=$('nav a[href="'+t+'"]').attr("title"),document.title=r||document.title,debugState&&root.console.log("Page title: %c "+document.title,debugStyle_green),loadURL(t+location.search,container)):(i=$('nav > ul > li:first-child > a[href!="#"]'),window.location.hash=i.attr("href"),i=null)}function loadURL(n,t){debugState&&root.root.console.log("Loading URL: %c"+n,debugStyle);$.ajax({type:"GET",url:n,dataType:"html",cache:!0,beforeSend:function(){var n,i,r;if($.navAsAjax&&$(".google_maps")[0]&&t[0]==$("#content")[0]&&(n=$(".google_maps"),i=0,n.each(function(){i++;var t=document.getElementById(this.id);i==n.length+1||(t&&t.parentNode.removeChild(t),debugState&&root.console.log("Destroying maps.........%c"+this.id,debugStyle_warning))}),debugState&&root.console.log("✔ Google map instances nuked!!!")),$.navAsAjax&&$(".dataTables_wrapper")[0]&&t[0]==$("#content")[0]&&(r=$.fn.dataTable.fnTables(!0),$(r).each(function(){$(this).find(".details-control").length!=0?($(this).find("*").addBack().off().remove(),$(this).dataTable().fnDestroy()):$(this).dataTable().fnDestroy()}),debugState&&root.console.log("✔ Datatable instances nuked!!!")),$.navAsAjax&&$.intervalArr.length>0&&t[0]==$("#content")[0]&&enableJarvisWidgets){while($.intervalArr.length>0)clearInterval($.intervalArr.pop());debugState&&root.console.log("✔ All JarvisWidget intervals cleared")}if($.navAsAjax&&t[0]==$("#content")[0]&&enableJarvisWidgets&&$("#widget-grid")[0]&&($("#widget-grid").jarvisWidgets("destroy"),debugState&&root.console.log("✔ JarvisWidgets destroyed")),$.navAsAjax&&t[0]==$("#content")[0]){if(typeof pagedestroy=="function")try{pagedestroy();debugState&&root.console.log("✔ Pagedestroy()")}catch(u){pagedestroy=undefined;debugState&&root.console.log("! Pagedestroy() Catch Error")}$.fn.sparkline&&$("#content .sparkline")[0]&&($("#content .sparkline").sparkline("destroy"),debugState&&root.console.log("✔ Sparkline Charts destroyed!"));$.fn.easyPieChart&&$("#content .easy-pie-chart")[0]&&($("#content .easy-pie-chart").easyPieChart("destroy"),debugState&&root.console.log("✔ EasyPieChart Charts destroyed!"));$.fn.select2&&$("#content select.select2")[0]&&($("#content select.select2").select2("destroy"),debugState&&root.console.log("✔ Select2 destroyed!"));$.fn.mask&&$("#content [data-mask]")[0]&&($("#content [data-mask]").unmask(),debugState&&root.console.log("✔ Input Mask destroyed!"));$.fn.datepicker&&$("#content .datepicker")[0]&&($("#content .datepicker").off(),$("#content .datepicker").remove(),debugState&&root.console.log("✔ Datepicker destroyed!"));$.fn.slider&&$("#content .slider")[0]&&($("#content .slider").off(),$("#content .slider").remove(),debugState&&root.console.log("✔ Bootstrap Slider destroyed!"))}pagefunction=null;t.removeData().html("");t.html('<h1 class="ajax-loading-animation"><i class="fa fa-cog fa-spin"><\/i> Loading...<\/h1>');t[0]==$("#content")[0]&&($("body").find("> *").filter(":not("+ignore_key_elms+")").empty().remove(),drawBreadCrumb(),$("html").animate({scrollTop:0},"fast"))},success:function(n){t.css({opacity:"0.0"}).html(n).delay(50).animate({opacity:"1.0"},300);n=null;t=null},error:function(i,r,u){t.html('<h4 class="ajax-loading-error"><i class="fa fa-warning txt-color-orangeDark"><\/i> Error requesting <span class="txt-color-red">'+n+"<\/span>: "+i.status+' <span style="text-transform: capitalize;">'+u+"<\/span><\/h4>")},async:!0})}function drawBreadCrumb(n){var t=$("nav li.active > a"),i=t.length;bread_crumb.empty();bread_crumb.append($("<li>Home<\/li>"));t.each(function(){bread_crumb.append($("<li><\/li>").html($.trim($(this).clone().children(".badge").remove().end().text())));--i||(document.title=bread_crumb.find("li:last-child").text())});n!=undefined&&$.each(n,function(n,t){bread_crumb.append($("<li><\/li>").html(t));document.title=bread_crumb.find("li:last-child").text()})}function pageSetUp(){thisDevice==="desktop"?($("[rel=tooltip], [data-rel=tooltip]").tooltip(),$("[rel=popover], [data-rel=popover]").popover(),$("[rel=popover-hover], [data-rel=popover-hover]").popover({trigger:"hover"}),setup_widgets_desktop(),runAllCharts(),runAllForms()):($("[rel=popover], [data-rel=popover]").popover(),$("[rel=popover-hover], [data-rel=popover-hover]").popover({trigger:"hover"}),runAllCharts(),setup_widgets_mobile(),runAllForms())}function getParam(n){n=n.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+n+"=([^&#]*)",r=new RegExp(i),t=r.exec(window.location.href);return t==null?"":t[1]}function SmartUnLoading(){$(".divMessageBox").fadeOut(300,function(){$(this).remove()});$(".LoadingBoxContainer").fadeOut(300,function(){$(this).remove()})}function getInternetExplorerVersion(){var n=-1,t,i;return navigator.appName=="Microsoft Internet Explorer"&&(t=navigator.userAgent,i=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})"),i.exec(t)!=null&&(n=parseFloat(RegExp.$1))),n}function checkVersion(){var n="You're not using Windows Internet Explorer.",t=getInternetExplorerVersion();t>-1&&(n=t>=8?"You're using a recent copy of Windows Internet Explorer.":"You should upgrade your copy of Windows Internet Explorer.");alert(n)}function isIE8orlower(){var n="0",t=getInternetExplorerVersion();return t>-1&&(n=t>=9?0:1),n}function customizeSmartAdmin(){$.fn.easyPieChart&&($.fn.easyPieChartOriginal=$.fn.easyPieChart,$.fn.easyPieChart=function(n){var t=$.extend({},n,{animate:800,onStep:function(n,t,i){$(this.el).find(".percent").text(i.toFixed(2))}});this.easyPieChartOriginal(t)})}function parseISOLocal(n){var t=n.split(/\D/);return new Date(t[0],t[1]-1,t[2])}var commands,ie,gMapsLoaded,BigBoxes;$.root_=$("body");$.navAsAjax=!1;$.sound_path="/content/sound/";$.sound_on=!0;var root=this,debugState=!1,debugStyle="font-weight: bold; color: #00f;",debugStyle_green="font-weight: bold; font-style:italic; color: #46C246;",debugStyle_red="font-weight: bold; color: #ed1c24;",debugStyle_warning="background-color:yellow",debugStyle_success="background-color:green; font-weight:bold; color:#fff;",debugStyle_error="background-color:#ed1c24; font-weight:bold; color:#fff;",throttle_delay=350,menu_speed=235,menu_accordion=!0,enableJarvisWidgets=!0,localStorageJarvisWidgets=!0,sortableJarvisWidgets=!0,enableMobileWidgets=!1,fastClick=!1,boxList=[],showList=[],nameList=[],idList=[],chatbox_config={width:200,gap:35},ignore_key_elms=["#header, #left-panel, #right-panel, #main, div.page-footer, #shortcut, #divSmallBoxes, #divMiniIcons, #divbigBoxes, #voiceModal, script, .ui-chatbox"],voice_command=!0,voice_command_auto=!1,voice_command_lang="en-US",voice_localStorage=!1;voice_command&&(commands={"show dashboard":function(){$('nav a[href="ajax/dashboard.html"]').trigger("click")},"show inbox":function(){$('nav a[href="ajax/inbox.html"]').trigger("click")},"show graphs":function(){$('nav a[href="ajax/flot.html"]').trigger("click")},"show flotchart":function(){$('nav a[href="ajax/flot.html"]').trigger("click")},"show morris chart":function(){$('nav a[href="ajax/morris.html"]').trigger("click")},"show inline chart":function(){$('nav a[href="ajax/inline-charts.html"]').trigger("click")},"show dygraphs":function(){$('nav a[href="ajax/dygraphs.html"]').trigger("click")},"show tables":function(){$('nav a[href="ajax/table.html"]').trigger("click")},"show data table":function(){$('nav a[href="ajax/datatables.html"]').trigger("click")},"show jquery grid":function(){$('nav a[href="ajax/jqgrid.html"]').trigger("click")},"show form":function(){$('nav a[href="ajax/form-elements.html"]').trigger("click")},"show form layouts":function(){$('nav a[href="ajax/form-templates.html"]').trigger("click")},"show form validation":function(){$('nav a[href="ajax/validation.html"]').trigger("click")},"show form elements":function(){$('nav a[href="ajax/bootstrap-forms.html"]').trigger("click")},"show form plugins":function(){$('nav a[href="ajax/plugins.html"]').trigger("click")},"show form wizards":function(){$('nav a[href="ajax/wizards.html"]').trigger("click")},"show bootstrap editor":function(){$('nav a[href="ajax/other-editors.html"]').trigger("click")},"show dropzone":function(){$('nav a[href="ajax/dropzone.html"]').trigger("click")},"show image cropping":function(){$('nav a[href="ajax/image-editor.html"]').trigger("click")},"show general elements":function(){$('nav a[href="ajax/general-elements.html"]').trigger("click")},"show buttons":function(){$('nav a[href="ajax/buttons.html"]').trigger("click")},"show fontawesome":function(){$('nav a[href="ajax/fa.html"]').trigger("click")},"show glyph icons":function(){$('nav a[href="ajax/glyph.html"]').trigger("click")},"show flags":function(){$('nav a[href="ajax/flags.html"]').trigger("click")},"show grid":function(){$('nav a[href="ajax/grid.html"]').trigger("click")},"show tree view":function(){$('nav a[href="ajax/treeview.html"]').trigger("click")},"show nestable lists":function(){$('nav a[href="ajax/nestable-list.html"]').trigger("click")},"show jquery U I":function(){$('nav a[href="ajax/jqui.html"]').trigger("click")},"show typography":function(){$('nav a[href="ajax/typography.html"]').trigger("click")},"show calendar":function(){$('nav a[href="ajax/calendar.html"]').trigger("click")},"show widgets":function(){$('nav a[href="ajax/widgets.html"]').trigger("click")},"show gallery":function(){$('nav a[href="ajax/gallery.html"]').trigger("click")},"show maps":function(){$('nav a[href="ajax/gmap-xml.html"]').trigger("click")},"show pricing tables":function(){$('nav a[href="ajax/pricing-table.html"]').trigger("click")},"show invoice":function(){$('nav a[href="ajax/invoice.html"]').trigger("click")},"show search":function(){$('nav a[href="ajax/search.html"]').trigger("click")},"go back":function(){history.back(1)},"scroll up":function(){$("html, body").animate({scrollTop:0},100)},"scroll down":function(){$("html, body").animate({scrollTop:$(document).height()},100)},"hide navigation":function(){$.root_.hasClass("container")&&!$.root_.hasClass("menu-on-top")?$("span.minifyme").trigger("click"):$("#hide-menu > span > a").trigger("click")},"show navigation":function(){$.root_.hasClass("container")&&!$.root_.hasClass("menu-on-top")?$("span.minifyme").trigger("click"):$("#hide-menu > span > a").trigger("click")},mute:function(){$.sound_on=!1;$.smallBox({title:"MUTE",content:"All sounds have been muted!",color:"#a90329",timeout:4e3,icon:"fa fa-volume-off"})},"sound on":function(){$.sound_on=!0;$.speechApp.playConfirmation();$.smallBox({title:"UNMUTE",content:"All sounds have been turned on!",color:"#40ac2b",sound_file:"voice_alert",timeout:5e3,icon:"fa fa-volume-up"})},stop:function(){smartSpeechRecognition.abort();$.root_.removeClass("voice-command-active");$.smallBox({title:"VOICE COMMAND OFF",content:"Your voice commands has been successfully turned off. Click on the <i class='fa fa-microphone fa-lg fa-fw'><\/i> icon to turn it back on.",color:"#40ac2b",sound_file:"voice_off",timeout:8e3,icon:"fa fa-microphone-slash"});$("#speech-btn .popover").is(":visible")&&$("#speech-btn .popover").fadeOut(250)},help:function(){$("#voiceModal").removeData("modal").modal({remote:"ajax/modal-content/modal-voicecommand.html",show:!0});$("#speech-btn .popover").is(":visible")&&$("#speech-btn .popover").fadeOut(250)},"got it":function(){$("#voiceModal").modal("hide")},logout:function(){$.speechApp.stop();window.location=$("#logout > span > a").attr("href")}});$.intervalArr=[];var calc_navbar_height=function(){var n=null;return($("#header").length&&(n=$("#header").height()),n===null&&(n=$('<div id="header"><\/div>').height()),n===null)?49:n},navbar_height=calc_navbar_height,shortcut_dropdown=$("#shortcut"),bread_crumb=$("#ribbon ol.breadcrumb"),topmenu=!1,thisDevice=null,ismobile=/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()),jsArray={},initApp=function(n){return n.addDeviceType=function(){if(ismobile){if($.root_.addClass("mobile-detected"),thisDevice="mobile",fastClick)return $.root_.addClass("needsclick"),FastClick.attach(document.body),!1}else return $.root_.addClass("desktop-detected"),thisDevice="desktop",!1},n.menuPos=function(){($.root_.hasClass("menu-on-top")||localStorage.getItem("sm-setmenu")=="top")&&(topmenu=!0,$.root_.addClass("menu-on-top"))},n.SmartActions=function(){var n={userLogout:function(n){function t(){window.location=n.attr("href")}$.SmartMessageBox({title:"<i class='fa fa-sign-out txt-color-orangeDark'><\/i> Logout <span class='txt-color-orangeDark'><strong>"+$("#show-shortcut").text()+"<\/strong><\/span> ?",content:n.data("logout-msg")||"You can improve your security further after logging out by closing this opened browser",buttons:"[No][Yes]"},function(n){n=="Yes"&&($.root_.addClass("animated fadeOutUp"),setTimeout(t,1e3))})},resetWidgets:function(n){$.SmartMessageBox({title:"<i class='fa fa-refresh' style='color:green'><\/i> Clear Local Storage",content:n.data("reset-msg")||"Would you like to RESET all your saved widgets and clear LocalStorage?1",buttons:"[No][Yes]"},function(n){n=="Yes"&&localStorage&&(localStorage.clear(),location.reload())})},launchFullscreen:function(n){$.root_.hasClass("full-screen")?($.root_.removeClass("full-screen"),document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()):($.root_.addClass("full-screen"),n.requestFullscreen?n.requestFullscreen():n.mozRequestFullScreen?n.mozRequestFullScreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen():n.msRequestFullscreen&&n.msRequestFullscreen())},minifyMenu:function(n){$.root_.hasClass("menu-on-top")||($.root_.toggleClass("minified"),$.root_.removeClass("hidden-menu"),$("html").removeClass("hidden-menu-mobile-lock"),n.effect("highlight",{},500))},toggleMenu:function(){$.root_.hasClass("menu-on-top")?$.root_.hasClass("menu-on-top")&&$(window).width()<979&&($("html").toggleClass("hidden-menu-mobile-lock"),$.root_.toggleClass("hidden-menu"),$.root_.removeClass("minified")):($("html").toggleClass("hidden-menu-mobile-lock"),$.root_.toggleClass("hidden-menu"),$.root_.removeClass("minified"))},toggleShortcut:function(){function n(){shortcut_dropdown.animate({height:"hide"},300,"easeOutCirc");$.root_.removeClass("shortcut-on")}function t(){shortcut_dropdown.animate({height:"show"},200,"easeOutCirc");$.root_.addClass("shortcut-on")}shortcut_dropdown.is(":visible")?n():t();shortcut_dropdown.find("a").click(function(t){t.preventDefault();window.location=$(this).attr("href");setTimeout(n,300)});$(document).mouseup(function(t){shortcut_dropdown.is(t.target)||shortcut_dropdown.has(t.target).length!==0||n()})}};$.root_.on("click",'[data-action="userLogout"]',function(t){var i=$(this);n.userLogout(i);t.preventDefault();i=null});$.root_.on("click",'[data-action="resetWidgets"]',function(t){var i=$(this);n.resetWidgets(i);t.preventDefault();i=null});$.root_.on("click",'[data-action="launchFullscreen"]',function(t){n.launchFullscreen(document.documentElement);t.preventDefault()});$.root_.on("click",'[data-action="minifyMenu"]',function(t){var i=$(this);n.minifyMenu(i);t.preventDefault();i=null});$.root_.on("click",'[data-action="toggleMenu"]',function(t){n.toggleMenu();t.preventDefault()});$.root_.on("click",'[data-action="toggleShortcut"]',function(t){n.toggleShortcut();t.preventDefault()})},n.leftNav=function(){topmenu||$("nav ul").jarvismenu({accordion:menu_accordion||!0,speed:menu_speed||!0,closedSign:'<em class="fa fa-plus-square-o"><\/em>',openedSign:'<em class="fa fa-minus-square-o"><\/em>'})},n.domReadyMisc=function(){$("#search-mobile").click(function(){$.root_.addClass("search-mobile")});$("#cancel-search-js").click(function(){$.root_.removeClass("search-mobile")});$("#activity").click(function(n){var t=$(this),i;t.find(".badge").hasClass("bg-color-red")&&(t.find(".badge").removeClassPrefix("bg-color-"),t.find(".badge").text("0"));t.next(".ajax-dropdown").is(":visible")?(t.next(".ajax-dropdown").fadeOut(150),t.removeClass("active")):(t.next(".ajax-dropdown").fadeIn(150),t.addClass("active"));i=t.next(".ajax-dropdown").find(".btn-group > .active > input").attr("id");t=null;i=null;n.preventDefault()});$('input[name="activity"]').change(function(){var n=$(this);url=n.attr("id");container=$(".ajax-notifications");loadURL(url,container);n=null});$(document).mouseup(function(n){$(".ajax-dropdown").is(n.target)||$(".ajax-dropdown").has(n.target).length!==0||($(".ajax-dropdown").fadeOut(150),$(".ajax-dropdown").prev().removeClass("active"))});$("button[data-btn-loading]").on("click",function(){var n=$(this);n.button("loading");setTimeout(function(){n.button("reset")},3e3)});$this=$("#activity > .badge");parseInt($this.text())>0&&($this.addClass("bg-color-red bounceIn animated"),$this=null)},n.mobileCheckActivation=function(){$(window).width()<979?($.root_.addClass("mobile-view-activated"),$.root_.removeClass("minified")):$.root_.hasClass("mobile-view-activated")&&$.root_.removeClass("mobile-view-activated");debugState&&console.log("mobileCheckActivation")},n}({});if(initApp.addDeviceType(),initApp.menuPos(),jQuery(document).ready(function(){initApp.SmartActions();initApp.leftNav();initApp.domReadyMisc()}),function(n,t,i){function l(){h=t[e](function(){r.each(function(){var i,r,t=n(this),u=n.data(this,f);try{i=t.width()}catch(e){i=t.width}try{r=t.height()}catch(e){r=t.height}(i!==u.w||r!==u.h)&&t.trigger(s,[u.w=i,u.h=r])});l()},u[c])}var r=n([]),u=n.resize=n.extend(n.resize,{}),h,e="setTimeout",s="resize",f=s+"-special-event",c="delay",o="throttleWindow";u[c]=throttle_delay;u[o]=!0;n.event.special[s]={setup:function(){if(!u[o]&&this[e])return!1;var t=n(this);r=r.add(t);try{n.data(this,f,{w:t.width(),h:t.height()})}catch(i){n.data(this,f,{w:t.width,h:t.height})}r.length===1&&l()},teardown:function(){if(!u[o]&&this[e])return!1;var t=n(this);r=r.not(t);t.removeData(f);r.length||clearTimeout(h)},add:function(t){function s(t,u,e){var o=n(this),s=n.data(this,f);s.w=u!==i?u:o.width();s.h=e!==i?e:o.height();r.apply(this,arguments)}if(!u[o]&&this[e])return!1;var r;if(n.isFunction(t))return r=t,s;r=t.handler;t.handler=s}}}(jQuery,this),$("#main").resize(function(){initApp.mobileCheckActivation()}),ie=function(){for(var i,n=3,t=document.createElement("div"),r=t.getElementsByTagName("i");t.innerHTML="<!--[if gt IE "+ ++n+"]><i><\/i><![endif]-->",r[0];);return n>4?n:i}(),$.fn.extend({jarvismenu:function(n){var t=$.extend({accordion:"true",speed:200,closedSign:"[+]",openedSign:"[-]"},n),i=$(this);i.find("li").each(function(){$(this).find("ul").length!==0&&($(this).find("a:first").append("<b class='collapse-sign'>"+t.closedSign+"<\/b>"),$(this).find("a:first").attr("href")=="#"&&$(this).find("a:first").click(function(){return!1}))});i.find("li.active").each(function(){$(this).parents("ul").slideDown(t.speed);$(this).parents("ul").parent("li").find("b:first").html(t.openedSign);$(this).parents("ul").parent("li").addClass("open")});i.find("li a").click(function(){$(this).parent().find("ul").length!==0&&(t.accordion&&($(this).parent().find("ul").is(":visible")||(parents=$(this).parent().parents("ul"),visible=i.find("ul:visible"),visible.each(function(n){var i=!0;parents.each(function(t){if(parents[t]==visible[n])return i=!1,!1});i&&$(this).parent().find("ul")!=visible[n]&&$(visible[n]).slideUp(t.speed,function(){$(this).parent("li").find("b:first").html(t.closedSign);$(this).parent("li").removeClass("open")})}))),$(this).parent().find("ul:first").is(":visible")&&!$(this).parent().find("ul:first").hasClass("active")?$(this).parent().find("ul:first").slideUp(t.speed,function(){$(this).parent("li").removeClass("open");$(this).parent("li").find("b:first").delay(t.speed).html(t.closedSign)}):$(this).parent().find("ul:first").slideDown(t.speed,function(){$(this).parent("li").addClass("open");$(this).parent("li").find("b:first").delay(t.speed).html(t.openedSign)}))})}}),jQuery.fn.doesExist=function(){return jQuery(this).length>0},($.navAsAjax||$(".google_maps"))&&(gMapsLoaded=!1,window.gMapsCallback=function(){gMapsLoaded=!0;$(window).trigger("gMapsLoaded")},window.loadGoogleMaps=function(){if(gMapsLoaded)return window.gMapsCallback();var n=document.createElement("script");n.setAttribute("type","text/javascript");n.setAttribute("src","https://maps.google.com/maps/api/js?sensor=false&callback=gMapsCallback");(document.getElementsByTagName("head")[0]||document.documentElement).appendChild(n)}),$.navAsAjax){$("nav").length&&checkURL();$(document).on("click",'nav a[href!="#"]',function(n){n.preventDefault();var t=$(n.currentTarget);t.parent().hasClass("active")||t.attr("target")||($.root_.hasClass("mobile-view-activated")?($.root_.removeClass("hidden-menu"),$("html").removeClass("hidden-menu-mobile-lock"),window.setTimeout(function(){window.location.search?window.location.href=window.location.href.replace(window.location.search,"").replace(window.location.hash,"")+"#"+t.attr("href"):window.location.hash=t.attr("href")},150)):window.location.search?window.location.href=window.location.href.replace(window.location.search,"").replace(window.location.hash,"")+"#"+t.attr("href"):window.location.hash=t.attr("href"))});$(document).on("click",'nav a[target="_blank"]',function(n){n.preventDefault();var t=$(n.currentTarget);window.open(t.attr("href"))});$(document).on("click",'nav a[target="_top"]',function(n){n.preventDefault();var t=$(n.currentTarget);window.location=t.attr("href")});$(document).on("click",'nav a[href="#"]',function(n){n.preventDefault()});$(window).on("hashchange",function(){checkURL()})}$("body").on("click",function(n){$('[rel="popover"], [data-rel="popover"]').each(function(){$(this).is(n.target)||$(this).has(n.target).length!==0||$(".popover").has(n.target).length!==0||$(this).popover("hide")})});$("body").on("hidden.bs.modal",".modal",function(){$(this).removeData("bs.modal")});jQuery(document).ready(function(){$("body").append("<div id='divSmallBoxes'><\/div>");$("body").append("<div id='divMiniIcons'><\/div><div id='divbigBoxes'><\/div>")});var ExistMsg=0,SmartMSGboxCount=0,PrevTop=0;$.SmartMessageBox=function(n,t){var h,r,c,e,f,s,u,o,i;if(n=$.extend({title:"",content:"",NormalButton:undefined,ActiveButton:undefined,buttons:undefined,input:undefined,inputValue:undefined,placeholder:"",options:undefined},n),c=0,c=1,isIE8orlower()==0&&$.sound_on&&(e=document.createElement("audio"),e.setAttribute("src",$.sound_path+"messagebox.mp3"),e.addEventListener("load",function(){e.play()},!0),e.pause(),e.play()),SmartMSGboxCount=SmartMSGboxCount+1,ExistMsg==0&&(ExistMsg=1,h="<div class='divMessageBox animated fadeIn fast' id='MsgBoxBack'><\/div>",$("body").append(h),isIE8orlower()==1&&$("#MsgBoxBack").addClass("MessageIE")),f="",s=0,n.input!=undefined){s=1;n.input=n.input.toLowerCase();switch(n.input){case"text":n.inputValue=$.type(n.inputValue)==="string"?n.inputValue.replace(/'/g,"&#x27;"):n.inputValue;f="<input class='form-control' type='"+n.input+"' id='txt"+SmartMSGboxCount+"' placeholder='"+n.placeholder+"' value='"+n.inputValue+"'/><br/><br/>";break;case"password":f="<input class='form-control' type='"+n.input+"' id='txt"+SmartMSGboxCount+"' placeholder='"+n.placeholder+"'/><br/><br/>";break;case"select":if(n.options==undefined)alert("For this type of input, the options parameter is required.");else{for(f="<select class='form-control' id='txt"+SmartMSGboxCount+"'>",i=0;i<=n.options.length-1;i++)n.options[i]=="["?u="":n.options[i]=="]"?(o=o+1,u="<option>"+u+"<\/option>",f+=u):u+=n.options[i];f+="<\/select>"}break;default:alert("That type of input is not handled yet")}}for(r="<div class='MessageBoxContainer animated fadeIn fast' id='Msg"+SmartMSGboxCount+"'>",r+="<div class='MessageBoxMiddle'>",r+="<span class='MsgTitle'>"+n.title+"<\/span class='MsgTitle'>",r+="<p class='pText'>"+n.content+"<\/p>",r+=f,r+="<div class='MessageBoxButtonSection'>",n.buttons==undefined&&(n.buttons="[Accept]"),n.buttons=$.trim(n.buttons),n.buttons=n.buttons.split(""),u="",o=0,n.NormalButton==undefined&&(n.NormalButton="#232323"),n.ActiveButton==undefined&&(n.ActiveButton="#ed145b"),i=0;i<=n.buttons.length-1;i++)n.buttons[i]=="["?u="":n.buttons[i]=="]"?(o=o+1,u="<button id='bot"+o+"-Msg"+SmartMSGboxCount+"' class='btn btn-default btn-sm botTempo'> "+u+"<\/button>",r+=u):u+=n.buttons[i];r+="<\/div>";r+="<\/div>";r+="<\/div>";SmartMSGboxCount>1&&($(".MessageBoxContainer").hide(),$(".MessageBoxContainer").css("z-index",99999));$(".divMessageBox").append(r);s==1&&$("#txt"+SmartMSGboxCount).focus();$(".botTempo").hover(function(){var n=$(this).attr("id")},function(){var n=$(this).attr("id")});$(".botTempo").click(function(){var n=$(this).attr("id"),i=n.substr(n.indexOf("-")+1),r=$.trim($(this).text()),u,f;s==1?typeof t=="function"&&(u=i.replace("Msg",""),f=$("#txt"+u).val(),t&&t(r,f)):typeof t=="function"&&t&&t(r);$("#"+i).addClass("animated fadeOut fast");SmartMSGboxCount=SmartMSGboxCount-1;SmartMSGboxCount==0&&$("#MsgBoxBack").removeClass("fadeIn").addClass("fadeOut").delay(300).queue(function(){ExistMsg=0;$(this).remove()})})};BigBoxes=0;$.bigBox=function(n,t){var i,r,f;n=$.extend({title:"",content:"",icon:undefined,number:undefined,color:undefined,sound:$.sound_on,sound_file:"bigbox",timeout:undefined,colortime:1500,colors:undefined},n);n.sound&&isIE8orlower()==0&&(r=document.createElement("audio"),navigator.userAgent.match("Firefox/")?r.setAttribute("src",$.sound_path+n.sound_file+".ogg"):r.setAttribute("src",$.sound_path+n.sound_file+".mp3"),r.addEventListener("load",function(){r.play()},!0),r.pause(),r.play());BigBoxes=BigBoxes+1;i="<div id='bigBox"+BigBoxes+"' class='bigBox animated fadeIn fast'><div id='bigBoxColor"+BigBoxes+"'><i class='botClose fa fa-times' id='botClose"+BigBoxes+"'><\/i>";i+="<span>"+n.title+"<\/span>";i+="<p>"+n.content+"<\/p>";i+="<div class='bigboxicon'>";n.icon==undefined&&(n.icon="fa fa-cloud");i+="<i class='"+n.icon+"'><\/i>";i+="<\/div>";i+="<div class='bigboxnumber'>";n.number!=undefined&&(i+=n.number);i+="<\/div><\/div>";i+="<\/div>";$("#divbigBoxes").append(i);n.color==undefined&&(n.color="#004d60");$("#bigBox"+BigBoxes).css("background-color",n.color);$("#divMiniIcons").append("<div id='miniIcon"+BigBoxes+"' class='cajita animated fadeIn' style='background-color: "+n.color+";'><i class='"+n.icon+"'/><\/i><\/div>");$("#miniIcon"+BigBoxes).bind("click",function(){var n=$(this).attr("id"),t=n.replace("miniIcon","bigBox"),i=n.replace("miniIcon","bigBoxColor");$(".cajita").each(function(){var n=$(this).attr("id"),t=n.replace("miniIcon","bigBox");$("#"+t).css("z-index",9998)});$("#"+t).css("z-index",9999);$("#"+i).removeClass("animated fadeIn").delay(1).queue(function(){$(this).show();$(this).addClass("animated fadeIn");$(this).clearQueue()})});var u=$("#botClose"+BigBoxes),o=$("#bigBox"+BigBoxes),s=$("#miniIcon"+BigBoxes),e;n.colors!=undefined&&n.colors.length>0&&(u.attr("colorcount","0"),e=setInterval(function(){var t=u.attr("colorcount");u.animate({backgroundColor:n.colors[t].color});o.animate({backgroundColor:n.colors[t].color});s.animate({backgroundColor:n.colors[t].color});t<n.colors.length-1?u.attr("colorcount",t*1+1):u.attr("colorcount",0)},n.colortime));u.bind("click",function(){clearInterval(e);typeof t=="function"&&t&&t();var n=$(this).attr("id"),i=n.replace("botClose","bigBox"),r=n.replace("botClose","miniIcon");$("#"+i).removeClass("fadeIn fast");$("#"+i).addClass("fadeOut fast").delay(300).queue(function(){$(this).clearQueue();$(this).remove()});$("#"+r).removeClass("fadeIn fast");$("#"+r).addClass("fadeOut fast").delay(300).queue(function(){$(this).clearQueue();$(this).remove()})});n.timeout!=undefined&&(f=BigBoxes,setTimeout(function(){clearInterval(e);$("#bigBox"+f).removeClass("fadeIn fast");$("#bigBox"+f).addClass("fadeOut fast").delay(300).queue(function(){$(this).clearQueue();$(this).remove()});$("#miniIcon"+f).removeClass("fadeIn fast");$("#miniIcon"+f).addClass("fadeOut fast").delay(300).queue(function(){$(this).clearQueue();$(this).remove()})},n.timeout))};var SmallBoxes=0,SmallCount=0,SmallBoxesAnchos=0;$.smallBox=function(n,t){var f,r,e,u,s,i,o;n=$.extend({title:"",content:"",icon:undefined,iconSmall:undefined,sound:$.sound_on,sound_file:"smallbox",color:undefined,timeout:undefined,colortime:1500,colors:undefined},n);n.sound&&isIE8orlower()==0&&(r=document.createElement("audio"),navigator.userAgent.match("Firefox/")?r.setAttribute("src",$.sound_path+n.sound_file+".ogg"):r.setAttribute("src",$.sound_path+n.sound_file+".mp3"),r.addEventListener("load",function(){r.play()},!0),r.pause(),r.play());SmallBoxes=SmallBoxes+1;f="";e="";u="smallbox"+SmallBoxes;e=n.iconSmall==undefined?"<div class='miniIcono'><\/div>":"<div class='miniIcono'><i class='miniPic "+n.iconSmall+"'><\/i><\/div>";f=n.icon==undefined?"<div id='smallbox"+SmallBoxes+"' class='SmallBox animated fadeInRight fast'><div class='textoFull'><span>"+n.title+"<\/span><p>"+n.content+"<\/p><\/div>"+e+"<\/div>":"<div id='smallbox"+SmallBoxes+"' class='SmallBox animated fadeInRight fast'><div class='foto'><i class='"+n.icon+"'><\/i><\/div><div class='textoFoto'><span>"+n.title+"<\/span><p>"+n.content+"<\/p><\/div>"+e+"<\/div>";SmallBoxes==1?($("#divSmallBoxes").append(f),SmallBoxesAnchos=$("#smallbox"+SmallBoxes).height()+40):(s=$(".SmallBox").length,s==0?($("#divSmallBoxes").append(f),SmallBoxesAnchos=$("#smallbox"+SmallBoxes).height()+40):($("#divSmallBoxes").append(f),$("#smallbox"+SmallBoxes).css("top",SmallBoxesAnchos),SmallBoxesAnchos=SmallBoxesAnchos+$("#smallbox"+SmallBoxes).height()+20,$(".SmallBox").each(function(n){n==0?($(this).css("top",20),heightPrev=$(this).height()+40,SmallBoxesAnchos=$(this).height()+40):($(this).css("top",heightPrev),heightPrev=heightPrev+$(this).height()+20,SmallBoxesAnchos=SmallBoxesAnchos+$(this).height()+20)})));i=$("#smallbox"+SmallBoxes);n.color==undefined?i.css("background-color","#004d60"):i.css("background-color",n.color);n.colors!=undefined&&n.colors.length>0&&(i.attr("colorcount","0"),o=setInterval(function(){var t=i.attr("colorcount");i.animate({backgroundColor:n.colors[t].color});t<n.colors.length-1?i.attr("colorcount",t*1+1):i.attr("colorcount",0)},n.colortime));n.timeout!=undefined&&setTimeout(function(){clearInterval(o);var n=$(this).height()+20,i=u,r=$("#"+u).css("top");if($("#"+u+":hover").length!=0)$("#"+u).on("mouseleave",function(){SmallBoxesAnchos=SmallBoxesAnchos-n;$("#"+u).remove();typeof t=="function"&&t&&t();var i=0;$(".SmallBox").each(function(n){n==0?($(this).animate({top:20},300),i=$(this).height()+40,SmallBoxesAnchos=$(this).height()+40):($(this).animate({top:i},350),i=i+$(this).height()+20,SmallBoxesAnchos=SmallBoxesAnchos+$(this).height()+20)})});else clearInterval(o),SmallBoxesAnchos=SmallBoxesAnchos-n,typeof t=="function"&&t&&t(),$("#"+u).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){$(this).remove();var n=0;$(".SmallBox").each(function(t){t==0?($(this).animate({top:20},300),n=$(this).height()+40,SmallBoxesAnchos=$(this).height()+40):($(this).animate({top:n}),n=n+$(this).height()+20,SmallBoxesAnchos=SmallBoxesAnchos+$(this).height()+20)})})},n.timeout);$("#smallbox"+SmallBoxes).bind("click",function(){clearInterval(o);typeof t=="function"&&t&&t();var n=$(this).height()+20,i=$(this).attr("id"),r=$(this).css("top");SmallBoxesAnchos=SmallBoxesAnchos-n;$(this).removeClass().addClass("SmallBox").animate({opacity:0},300,function(){$(this).remove();var n=0;$(".SmallBox").each(function(t){t==0?($(this).animate({top:20},300),n=$(this).height()+40,SmallBoxesAnchos=$(this).height()+40):($(this).animate({top:n},350),n=n+$(this).height()+20,SmallBoxesAnchos=SmallBoxesAnchos+$(this).height()+20)})})})},function(n){"use strict";var u,f,r,t,i;n("[data-hide]").on("click",function(t){function f(){i.hide()}var u=n(this),r=u.attr("data-target"),i;(r||(r=u.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=n(r),t&&t.preventDefault(),i.length||(i=u.closest(".alert")),i.trigger(t=n.Event("close.bs.alert")),t.isDefaultPrevented())||(i.removeClass("in"),n.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",f).emulateTransitionEnd(n.fn.alert.Constructor.TRANSITION_DURATION):f())});window.Constants={DataTableSearchFormWithIcon:'<span class="input-group-addon"><i class="glyphicon glyphicon-search"><\/i><\/span>',DataTableTopBarDom:"<'row'<'col-sm-6'i><'col-sm-6'f>><'row't><'row'<'col-sm-5'p><'col-sm-7'>>"};u=1200;f=979;initApp.mobileCheckActivation=function(){if(!n.root_.hasClass("hidden-menu")&&window.FixedMenu!==!0){var t=n(window).width();t<f?n.root_.addClass("mobile-view-activated"):t<u?(n.root_.addClass("minified minimized-auto"),n.root_.removeClass("mobile-view-activated")):(n.root_.hasClass("minimized-manual")?n.root_.removeClass("minimized-auto"):n.root_.removeClass("minified minimized-auto"),n.root_.removeClass("mobile-view-activated"))}};initApp.minifyMenuEx=function(t){n.root_.toggleClass("minified minimized-manual");n.root_.removeClass("hidden-menu");n("html").removeClass("hidden-menu-mobile-lock");t.effect("highlight",{},500)};n.root_.on("click",'[data-action="minifyMenuEx"]',function(t){var i=n(this);initApp.minifyMenuEx(i);t.preventDefault();i=null});initApp.mobileCheckActivation();r=["which","shift","toString","call","freeze","rypciumPypcium","function","warn","handler is not a function","keyup","length","push","keyCode"],function(n,t){var i=function(t){while(--t)n.push(n.shift())};i(++t)}(r,290);t=function(n){n=+n;return r[n]};i=Object[t("0x0")]([38,38,40,40,37,39,37,39,66,65]);window[t("0x1")]=function(r){if(t("0x2")!==typeof r){console[t("0x3")](t("0x4"));return}var u=[];n(window)[t("0x5")](function(n){i[t("0x6")]>u[t("0x7")](n[t("0x8")]||n[t("0x9")])||(i[t("0x6")]<u[t("0x6")]&&u[t("0xa")](),i[t("0xb")]()===u[t("0xb")]())&&r[t("0xc")](window)})}}(jQuery)