text: ﻿"use strict";(function(n,t){n(document).ready(function(){function ht(){n(".JSNews .selectpicker.single-select").selectpicker({actionsBox:!1,liveSearch:!1,liveSearchPlaceholder:"Search",maxOptions:1,mobile:!1,multipleSeparator:" | ",noneSelectedText:"Select",selectedTextFormat:"values",selectOnTab:!1,showContent:!0,showIcon:!0,showSubtext:!1,showTick:!0,size:"auto",style:"btn-primary",tickIcon:"glyphicon-ok",title:null,width:"50%"});n(".JSNews .selectpicker.multi-select").selectpicker({actionsBox:!0,liveSearch:!1,liveSearchPlaceholder:"Search",maxOptions:!1,mobile:!1,multipleSeparator:" | ",noneSelectedText:"Select",selectedTextFormat:"count",selectOnTab:!1,showContent:!0,showIcon:!0,showSubtext:!1,showTick:!1,size:6,style:"btn-primary",tickIcon:"glyphicon-ok",title:null,width:"50%"});n(".JSNews .selectpicker").selectpicker("render");n(".JSNews a.dnnFormHelp").html(i)}var r;jQuery.fn.exists=function(){return this.length>0};var u='<i class="fa fa-plus-circle"><\/i>',f='<i class="fa fa-pencil"><\/i>',e='<i class="fa fa-trash-o"><\/i>',o='<i class="fa fa-angle-left"><\/i>',s='<i class="fa fa-angle-up"><\/i>',h='<i class="fa fa-home"><\/i>',c='<i class="fa fa-external-link"><\/i>',l='<i class="fa fa-upload"><\/i>',a='<i class="fa fa-floppy-o"><\/i>',v='<i class="fa fa-ban"><\/i>',i='<i class="fa fa-info-circle"><\/i>',y='<i class="fa fa-close"><\/i>',p='<i class="fa fa-warning"><\/i>',w='<i class="fa fa-lock"><\/i>',b='<i class="fa fa-unlock"><\/i>',k='<i class="fa fa-cog"><\/i>',d='<i class="fa fa-picture-o"><\/i>',g='<i class="fa fa-clipboard"><\/i>',nt='<i class="fa fa-key"><\/i>',tt='<i class="fa fa-building-o"><\/i>',it='<i class="fa fa-envelope-o"><\/i>',rt='<i class="fa fa-phone"><\/i>',ut='<i class="fa fa-globe"><\/i>',ft='<i class="fa fa-angle-left"><\/i>',et='<i class="fa fa-angle-right"><\/i>',ot='<i class="fa fa-check"><\/i>',st='<i class="fa fa-calendar"><\/i>';n(".JSNews .link-add").prepend(u+" ");n(".JSNews .link-edit").prepend(f+" ");n(".JSNews .link-delete").prepend(e+" ");n(".JSNews .link-back").prepend(o+" ");n(".JSNews .link-up").prepend(s+" ");n(".JSNews .link-home").prepend(h+" ");n(".JSNews .link-all").prepend(c+" ");n(".JSNews .link-upload").prepend(l+" ");n(".JSNews .link-save").prepend(a+" ");n(".JSNews .link-cancel").prepend(v+" ");n(".JSNews .link-info").prepend(i+" ");n(".JSNews .link-prev").prepend(ft+" ");n(".JSNews .link-close").prepend(y+" ");n(".JSNews .link-warning").prepend(p+" ");n(".JSNews .link-lock").prepend(w+" ");n(".JSNews .link-unlock").prepend(b+" ");n(".JSNews .link-settings").prepend(k+" ");n(".JSNews .link-image").prepend(d+" ");n(".JSNews .link-copy").prepend(g+" ");n(".JSNews .link-key").prepend(nt+" ");n(".JSNews .link-company").prepend(tt+" ");n(".JSNews .link-mail").prepend(it+" ");n(".JSNews .link-phone").prepend(rt+" ");n(".JSNews .link-globe").prepend(ut+" ");n(".JSNews .link-check").prepend(" "+ot);n(".JSNews .link-calendar").prepend(" "+st);n(".JSNews .link-next").append(" "+et);n(".JSNews .link-add.no-txt").html(u);n(".JSNews .link-edit.no-txt").html(f);n(".JSNews .link-delete.no-txt").html(e);n(".JSNews .link-back.no-txt").html(o);n(".JSNews .link-up.no-txt").html(s);n(".JSNews .link-home.no-txt").html(h);n(".JSNews .link-all.no-txt").html(c);n(".JSNews .link-upload.no-txt").html(l);n(".JSNews .link-save.no-txt").html(a);n(".JSNews .link-cancel.no-txt").html(v);n(".JSNews .link-info.no-txt").html(i);n(".JSNews .link-prev.no-txt").html(ft);n(".JSNews .link-next.no-txt").html(et);n(".JSNews .link-close.no-txt").html(y);n(".JSNews .link-warning.no-txt").html(p);n(".JSNews .link-lock.no-txt").html(w);n(".JSNews .link-unlock.no-txt").html(b);n(".JSNews .link-settings.no-txt").html(k);n(".JSNews .link-image.no-txt").html(d);n(".JSNews .link-copy.no-txt").html(g);n(".JSNews .link-key.no-txt").html(nt);n(".JSNews .link-company.no-txt").html(tt);n(".JSNews .link-mail.no-txt").html(it);n(".JSNews .link-phone.no-txt").html(rt);n(".JSNews .link-globe.no-txt").html(ut);n(".JSNews .link-check.no-txt").html(ot);n(".JSNews .link-calendar.no-txt").html(" "+st);n(".JSNews a.dnnFormHelp").html(i);n(".JSNews .close-action .fa").addClass("fa-5x");n('.JSNews [data-toggle="tooltip"]').tooltip({placement:"auto bottom"});n(".JSNews .rpt-list .ellipsis").exists()&&n(".JSNews .rpt-list .ellipsis").ellipsis({row:5,onlyFullWords:!0});n(".JSNews .rpt-list .ellipsis p").exists()&&n(".JSNews .rpt-list .ellipsis p").ellipsis({row:5,onlyFullWords:!0});n(".JSNews .rpt-accordion .ellipsis").exists()&&n(".JSNews .rpt-accordion .ellipsis").ellipsis({row:1,onlyFullWords:!0});n(".JSNews .rpt-accordion .ellipsis p").exists()&&n(".JSNews .rpt-accordion .ellipsis p").ellipsis({row:1,onlyFullWords:!0});n(".JSNews a.link-popup").exists()&&n(".JSNews a.link-popup").fancybox({padding:0,closeClick:!0,closeBtn:!0,openEffect:"elastic",closeEffect:"elastic",helpers:{title:{type:"over"},overlay:{showEarly:!1}}});n('.JSNews [disbled="disabled"], .JSNews .aspNetDisabled, .JSNews .dnnDisabled').tooltip("destroy");n(".JSNews .popup").each(function(){var t=n(this),i=0,u=4,r;t.is(".auto-close-box")&&(t.find(".popup-wrapper").append(n("<div>",{"class":"progress-bar"}).css("width","0%")),r=setInterval(function(){i++;t.find(".progress-bar").css("width","100%");i===u&&(clearInterval(r),n(".JSNews .popup.auto-close-box").remove())},1e3))});n(".JSNews .hidder input:checkbox").each(function(){var i=n(this),t=i.parent().data("target");i.is(":checked")?(n(t).show(),n(t+".reverse").hide()):(n(t).hide(),n(t+".reverse").show())}).bind("change",function(){var i=n(this),t=i.parent().data("target");i.is(":checked")?(n(t).show(),n(t+".reverse").hide()):(n(t).hide(),n(t+".reverse").show())});n(".JSNews .unhidder input:checkbox").each(function(){var i=n(this),t=i.parent().data("target");i.is(":checked")?(n(t).hide(),n(t+".reverse").show()):(n(t).show(),n(t+".reverse").hide())}).bind("change",function(){var i=n(this),t=i.parent().data("target");i.is(":checked")?(n(t).hide(),n(t+".reverse").show()):(n(t).show(),n(t+".reverse").hide())});n(".JSNews input:file").each(function(){var i=n(this),t=i.data("target");i.val()!=""?(n(t).show(),n(t+".reverse").hide()):(n(t).hide(),n(t+".reverse").show())}).bind("change",function(){var i=n(this),t=i.data("target");i.val()!=""?(n(t).show(),n(t+".reverse").hide()):(n(t).hide(),n(t+".reverse").show())});n(".JSNews .check-equal").each(function(){n(this).val()===n(this).data("equal")?n(n(this).data("target")).show():n(n(this).data("target")).hide()}).bind("change",function(){n(this).val()===n(this).data("equal")?n(n(this).data("target")).show():n(n(this).data("target")).hide()});n(".JSNews .hidder-radio input:radio").each(function(){n(this).is(":checked")&&(n(this).val()!=="auto"?n(n(this).closest(".hidder-radio").data("target")).show():n(n(this).closest(".hidder-radio").data("target")).hide())}).bind("change",function(){n(this).is(":checked")&&(n(this).val()!=="auto"?n(n(this).closest(".hidder-radio").data("target")).show():n(n(this).closest(".hidder-radio").data("target")).hide())});n(".JSNews .hidder-radio-option input:radio").each(function(){n(this).is(":checked")?n(n(this).parent().data("target")).show():n(n(this).parent().data("target")).hide()}).bind("change",function(){if(n(this).is(":checked")){var t=n(this).closest(".hidder-radio-option").data("grouped-class");n(".JSNews "+t).hide();n(n(this).parent().data("target")).show()}});n(".JSNews .datePicker").exists()&&n(".JSNews .datePicker").daterangepicker({singleDatePicker:!0,alwaysShowCalendars:!0});n(".JSNews .datePickerClick").exists()&&n(".JSNews .datePickerClick").bind("click",function(){n(this).parent().find("input").click()});n(".JSNews .selectpicker.single-select").exists()&&n(".JSNews .selectpicker.single-select").selectpicker({actionsBox:!1,liveSearch:!1,liveSearchPlaceholder:"Search",maxOptions:1,mobile:!1,multipleSeparator:" | ",noneSelectedText:"Select",selectedTextFormat:"values",selectOnTab:!1,showContent:!0,showIcon:!0,showSubtext:!1,showTick:!0,size:"auto",style:"btn-primary",tickIcon:"glyphicon-ok",title:null,width:"50%"});n(".JSNews .selectpicker.multi-select").exists()&&n(".JSNews .selectpicker.multi-select").selectpicker({actionsBox:!0,liveSearch:!1,liveSearchPlaceholder:"Search",maxOptions:!1,mobile:!1,multipleSeparator:" | ",noneSelectedText:"Select",selectedTextFormat:"count",selectOnTab:!1,showContent:!0,showIcon:!0,showSubtext:!1,showTick:!1,size:6,style:"btn-primary",tickIcon:"glyphicon-ok",title:null,width:"50%"});r=t.WebForms.PageRequestManager.getInstance();r!=null&&r.add_endRequest(function(n){n._postBackSettings.panelsToUpdate!=null&&ht()});n(window).scroll(function(){n(this).scrollTop()>100?n(".JSNews .scroll-action").fadeIn():n(".JSNews .scroll-action").fadeOut()});n(".JSNews .scroll-action").click(function(){return n("html, body").animate({scrollTop:0},300),!1})})})(jQuery,window.Sys);