text: $.components.register("ace",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof ace&&(ace.config.loadModule("ace/ext/language_tools"),$('[data-plugin="ace"]',a).each(function(){var a=$(this).attr("id"),b=$(this).data("mode"),c=$(this).data("theme"),d=ace.edit(a);d.container.style.opacity="",b&&d.session.setMode("ace/mode/"+b),c&&d.setTheme("ace/theme/"+c),d.setOption("maxLines",40),d.setAutoScrollEditorIntoView(!0),ace.config.loadModule("ace/ext/language_tools",function(){d.setOptions({enableSnippets:!0,enableBasicAutocompletion:!0})})}))}}),$.components.register("alertify",{mode:"api",defaults:{type:"alert",delay:5e3,theme:"bootstrap"},api:function(){if("undefined"!=typeof alertify){var a=$.components.getDefaults("alertify");$(document).on("click.site.alertify",'[data-plugin="alertify"]',function(){var b=$(this),c=$.extend(!0,{},a,b.data());switch(c.labelOk&&(c.okBtn=c.labelOk),c.labelCancel&&(c.cancelBtn=c.labelCancel),"undefined"!=typeof c.delay&&alertify.delay(c.delay),"undefined"!=typeof c.theme&&alertify.theme(c.theme),"undefined"!=typeof c.cancelBtn&&alertify.cancelBtn(c.cancelBtn),"undefined"!=typeof c.okBtn&&alertify.okBtn(c.okBtn),"undefined"!=typeof c.placeholder&&alertify.delay(c.placeholder),"undefined"!=typeof c.defaultValue&&alertify.delay(c.defaultValue),"undefined"!=typeof c.maxLogItems&&alertify.delay(c.maxLogItems),"undefined"!=typeof c.closeLogOnClick&&alertify.delay(c.closeLogOnClick),c.type){case"alert":alertify.alert(c.alertMessage);break;case"confirm":alertify.confirm(c.confirmTitle,function(){alertify.success(c.successMessage)},function(){alertify.error(c.errorMessage)});break;case"prompt":alertify.prompt(c.promptTitle,function(a,b){var d=c.successMessage.replace("%s",a);alertify.success(d)},function(a){alertify.error(c.errorMessage)});break;case"log":alertify.log(c.logMessage);break;case"success":alertify.success(c.successMessage);break;case"error":alertify.error(c.errorMessage)}})}}}),$.components.register("animate-list",{mode:"init",defaults:{child:".panel",duration:250,delay:50,animate:"scale-up",fill:"backwards"},init:function(){var a=this;$("[data-plugin=animateList]").each(function(){var b=$(this),c=$.extend({},a.defaults,b.data(),!0),d=function(a,b){this.options=b,this.$children=a.find(b.child),this.$children.addClass("animation-"+b.animate),this.$children.css("animation-fill-mode",b.fill),this.$children.css("animation-duration",b.duration+"ms");var c=0,d=this;this.$children.each(function(){$(this).css("animation-delay",c+"ms"),c+=d.options.delay})};d.prototype={run:function(a){var b=this;this.$children.removeClass("animation-"+this.options.animate),"undefined"!=typeof a&&(this.options.animate=a),setTimeout(function(){b.$children.addClass("animation-"+b.options.animate)},0)}},b.data("animateList",new d(b,c))})}}),$.components.register("animsition",{mode:"manual",defaults:{inClass:"fade-in",outClass:"fade-out",inDuration:800,outDuration:500,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"loader",loadingType:"default",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",inDefaults:["fade-in","fade-in-up-sm","fade-in-up","fade-in-up-lg","fade-in-down-sm","fade-in-down","fade-in-down-lg","fade-in-left-sm","fade-in-left","fade-in-left-lg","fade-in-right-sm","fade-in-right","fade-in-right-lg","zoom-in-sm","zoom-in","zoom-in-lg"],outDefaults:["fade-out","fade-out-up-sm","fade-out-up","fade-out-up-lg","fade-out-down-sm","fade-out-down","fade-out-down-lg","fade-out-left-sm","fade-out-left","fade-out-left-lg","fade-out-right-sm","fade-out-right","fade-out-right-lg","zoom-out-sm","zoom-out","zoom-out-lg"]},init:function(a,b){var c=$.components.getDefaults("animsition");if(c.random){var d=c.inDefaults.length,e=c.outDefaults.length,f=parseInt(d*Math.random(),0),g=parseInt(e*Math.random(),0);c.inClass=c.inDefaults[f],c.outClass=c.outDefaults[g]}var h=$(".animsition",a);return h.animsition(c),$("."+c.loadingClass).addClass("loader-"+c.loadingType),h.animsition("supportCheck",c)?($.isFunction(b)&&h.one("animsition.end",function(){b.call()}),!0):($.isFunction(b)&&b.call(),!1)}}),$.components.register("breadcrumb",{mode:"init",defaults:{namespace:"breadcrumb",dropdown:function(){return'<div class="dropdown"><a href="javascript:void(0);" data-toggle="dropdown"><i class="'+this.dropicon+'"></i></a><ul class="'+this.namespace+'-menu dropdown-menu" role="menu"></ul></div>'},dropdownContent:function(a){return'<li><a href="javascript:void(0);">'+a+"</a></li>"}},init:function(a){if($.fn.asBreadcrumbs){var b=$.components.getDefaults("breadcrumb");$('[data-plugin="breadcrumb"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asBreadcrumbs(a)})}}}),$.components.register("asColorPicker",{defaults:{namespace:"colorInputUi"},mode:"default"}),$.components.register("paginator",{mode:"init",defaults:{namespace:"pagination",currentPage:1,itemsPerPage:10,disabledClass:"disabled",activeClass:"active",visibleNum:{0:3,480:5},tpl:function(){return"{{prev}}{{lists}}{{next}}"},components:{prev:{tpl:function(){return'<li class="'+this.namespace+'-prev"><a href="javascript:void(0)"><span class="icon wb-chevron-left-mini"></span></a></li>'}},next:{tpl:function(){return'<li class="'+this.namespace+'-next"><a href="javascript:void(0)"><span class="icon wb-chevron-right-mini"></span></a></li>'}},lists:{tpl:function(){var a="",b=this.currentPage>=this.visible?this.currentPage%this.visible:this.currentPage;b=0===b?this.visible:b;for(var c=1;b>c;c++)a+='<li class="'+this.namespace+'-items" data-value="'+(this.currentPage-b+c)+'"><a href="javascript:void(0)">'+(this.currentPage-b+c)+"</a></li>";a+='<li class="'+this.namespace+"-items "+this.classes.active+'" data-value="'+this.currentPage+'"><a href="javascript:void(0)">'+this.currentPage+"</a></li>";for(var d=this.currentPage+1,e=d+this.visible-b-1>this.totalPages?this.totalPages:d+this.visible-b-1;e>=d;d++)a+='<li class="'+this.namespace+'-items" data-value="'+d+'"><a href="javascript:void(0)">'+d+"</a></li>";return a}}}},init:function(a){if($.fn.asPaginator){var b=$.components.getDefaults("paginator");$('[data-plugin="paginator"]',a).each(function(){var a=$(this),c=a.data(),d=a.data("total");c=$.extend({},b,c),a.asPaginator(d,c)})}}}),$.components.register("pieProgress",{mode:"init",defaults:{namespace:"pie-progress",speed:30,classes:{svg:"pie-progress-svg",element:"pie-progress",number:"pie-progress-number",content:"pie-progress-content"}},init:function(a){if($.fn.asPieProgress){var b=$.components.getDefaults("pieProgress");$('[data-plugin="pieProgress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend(!0,{},b,c),a.asPieProgress(c)})}}}),$.components.register("progress",{mode:"init",defaults:{bootstrap:!0,onUpdate:function(a){var b=(a-this.min)/(this.max-this.min);.5>b?this.$target.addClass("progress-bar-success").removeClass("progress-bar-warning progress-bar-danger"):b>=.5&&.8>b?this.$target.addClass("progress-bar-warning").removeClass("progress-bar-success progress-bar-danger"):this.$target.addClass("progress-bar-danger").removeClass("progress-bar-success progress-bar-warning")},labelCallback:function(a){var b,c=this.$element.data("labeltype");if("percentage"===c){var d=this.getPercentage(a);b=d+"%"}else if("steps"===c){var e=this.$element.data("totalsteps");e||(e=10);var f=Math.round(e*(a-this.min)/(this.max-this.min));b=f+" / "+e}else b=a;return this.$element.parent().hasClass("contextual-progress")&&this.$element.parent().find(".progress-label").html(b),b}},init:function(a){if($.fn.asProgress){var b=$.components.getDefaults("progress");$('[data-plugin="progress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend({},b,c),a.asProgress(c)})}}}),$.components.register("asRange",{mode:"default",defaults:{tip:!1,scale:!1}}),$.components.register("scrollable",{mode:"init",defaults:{namespace:"scrollable",contentSelector:"> [data-role='content']",containerSelector:"> [data-role='container']"},init:function(a){if($.fn.asScrollable){var b=$.components.getDefaults("scrollable");$('[data-plugin="scrollable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asScrollable(a)})}}}),$.components.register("asSpinner",{mode:"default",defaults:{namespace:"spinnerUi",skin:null,min:"-10",max:100,mousewheel:!0}}),$.components.register("bootbox",{mode:"api",defaults:{message:""},api:function(){if("undefined"!=typeof bootbox){var a=$.components.getDefaults("bootbox");$(document).on("click.site.bootbox",'[data-plugin="bootbox"]',function(){var b=$(this),c=b.data();if(c=$.extend(!0,{},a,c),c.classname&&(c.className=c.classname),"string"==typeof c.callback&&$.isFunction(window[c.callback])&&(c.callback=window[c.callback]),c.type)switch(c.type){case"alert":bootbox.alert(c);break;case"confirm":bootbox.confirm(c);break;case"prompt":bootbox.prompt(c);break;default:bootbox.dialog(c)}else bootbox.dialog(c)})}}}),$.components.register("datepicker",{mode:"default",defaults:{autoclose:!0}}),$.components.register("maxlength",{mode:"default",defaults:{}}),$.components.register("selectpicker",{mode:"default",defaults:{style:"btn-select",iconBase:"icon",tickIcon:"wb-check"}}),$.components.register("sweetalert",{mode:"api",api:function(){if("undefined"!=typeof swal){var a=$.components.getDefaults("sweetalert");$(document).on("click.site.sweetalert",'[data-plugin="sweetalert"]',function(){var b=$.extend(!0,{},a,$(this).data());swal(b)})}}}),$.components.register("tagsinput",{defaults:{tagClass:"label label-default"},mode:"default"}),$.components.register("tokenfield",{mode:"default",defaults:{}}),$.components.register("TouchSpin",{mode:"default",defaults:{verticalupclass:"wb-plus",verticaldownclass:"wb-minus",buttondown_class:"btn btn-outline btn-default",buttonup_class:"btn btn-outline btn-default"}}),$.components.register("treeview",{mode:"init",defaults:{injectStyle:!1,expandIcon:"icon wb-plus",collapseIcon:"icon wb-minus",emptyIcon:"icon",nodeIcon:"icon wb-folder",showBorder:!1,borderColor:$.colors("blue-grey",200),onhoverColor:$.colors("blue-grey",100),selectedColor:"#ffffff",selectedBackColor:$.colors("primary",600),searchResultColor:$.colors("primary",600),searchResultBackColor:"#ffffff"},init:function(a){if($.fn.treeview){var b=$.components.getDefaults("treeview");$('[data-plugin="treeview"]',a).each(function(){var a=$(this),c=a.data();"string"==typeof c.source&&$.isFunction(window[c.source])?(c.data=window[c.source](),delete c.source):$.isFunction(c.souce)&&(c.data=c.source(),delete c.source),c=$.extend(!0,{},b,c),a.treeview(c)})}}}),$.components.register("buttons",{mode:"api",defaults:{},api:function(){$(document).on("click.site.loading","[data-loading-text]",function(){var a=$(this),b=a.text(),c=20,d=a.data("loadingText");a.text(d+"("+c+")").css("opacity",".6");var e=setInterval(function(){a.text(d+"("+--c+")"),0===c&&(clearInterval(e),a.text(b).css("opacity","1"))},1e3)}),$(document).on("click.site.morebutton","[data-more]",function(){var a=$($(this).data("more"));a.toggleClass("show")})}}),$.components.register("card",{mode:"init",defaults:{},init:function(a){if($.fn.card){var b=$.components.getDefaults("card");$('[data-plugin="card"]',a).each(function(){var a=$.extend({},b,$(this).data());a.target&&(a.container=$(a.target)),$(this).card(a)})}}}),$.components.register("clockpicker",{mode:"default",defaults:{donetext:"Done"}}),$.components.register("dataTable",{defaults:{responsive:!0,language:{sSearchPlaceholder:"Search..",lengthMenu:"_MENU_",search:"_INPUT_",paginate:{previous:'<i class="icon wb-chevron-left-mini"></i>',next:'<i class="icon wb-chevron-right-mini"></i>'}}},api:function(){$.fn.dataTable&&$.fn.dataTable.TableTools&&$.extend(!0,$.fn.dataTable.TableTools.classes,{container:"DTTT btn-group btn-group pull-left",buttons:{normal:"btn btn-outline btn-default",disabled:"disabled"},print:{body:"site-print DTTT_Print"}})},init:function(a){if($.fn.dataTable){var b=$.components.getDefaults("dataTable");$('[data-plugin="dataTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).dataTable(a)})}}}),$.components.register("datepair",{mode:"default",defaults:{startClass:"datepair-start",endClass:"datepair-end",timeClass:"datepair-time",dateClass:"datepair-date"}}),$.components.register("editableTable",{mode:"init",init:function(a){if($.fn.editableTableWidget){var b=$.components.getDefaults("editableTable");$('[data-plugin="editableTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).editableTableWidget(a)})}}}),$.components.register("filterable",{mode:"init",defaults:{animationOptions:{duration:750,easing:"linear",queue:!1}},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("filterable"),c=function(){$("[data-filterable]",a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data(),{filter:"*"});a.isotope(c)}),$("[data-filter]",a).click(function(b){var c=$(this),d=c.data("target"),e=c.parent("li");d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e.siblings(".active").each(function(){$(this).find("a").attr("aria-expanded",!1),$(this).removeClass("active")}),e.addClass("active"),c.attr("aria-expanded",!0);var f=$(d,a),g=c.attr("data-filter");"*"!==g&&(g='[data-type="'+g+'"]'),f.isotope({filter:g}),b.preventDefault()})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("formatter",{mode:"init",defaults:{persistent:!0},init:function(a){if($.fn.formatter){var b,c=$.components.getDefaults("formatter"),d=navigator.userAgent.toLowerCase();b=/msie/i.test(d)&&!/opera/.test(d)?{persistent:!1}:{},$('[data-plugin="formatter"]',a).each(function(){var a=$.extend({},c,b,$(this).data());a.pattern&&(a.pattern=a.pattern.replace(/\[\[/g,"{{").replace(/\]\]/g,"}}")),$(this).formatter(a)})}}}),$.components.register("gauge",{mode:"init",defaults:{lines:12,angle:.12,lineWidth:.4,pointer:{length:.68,strokeWidth:.03,color:$.colors("blue-grey",400)},limitMax:!0,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("gauge");$('[data-plugin="gauge"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".gauge-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Gauge(e[0]).setOptions(c);a.data("gauge",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("donut",{mode:"init",defaults:{lines:12,angle:.3,lineWidth:.08,pointer:{length:.9,strokeWidth:.035,color:$.colors("blue-grey",400)},limitMax:!1,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("donut");$('[data-plugin="donut"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".donut-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Donut(e[0]).setOptions(c);a.data("donut",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("gmaps",{styles:[{featureType:"landscape",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#e0e0e0"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","200")}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#000000"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{color:$.colors("blue-grey","200")},{weight:.5}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"on"},{color:$.colors("blue-grey","700")}]},{featureType:"road.local",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"transit",elementType:"all",stylers:[{color:$.colors("blue-grey","100")}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]},{featureType:"administrative.neighborhood",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels.icon",stylers:[{visibility:"on"},{hue:"#ffffff"},{saturation:-100},{lightness:50}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"administrative.neighborhood",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]}]}),$.components.register("gridstack",{mode:"init",defaults:{cell_height:80,vertical_margin:20},init:function(a){if($.fn.gridstack){var b=$.components.getDefaults("gridstack");$('[data-plugin="gridstack"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).gridstack(a)})}}}),$.components.register("highlight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.hightlight){$.components.getDefaults("highlight");$('[data-plugin="highlight"]',a).each(function(a,b){hljs.highlightBlock(b)})}}}),$.components.register("sortable",{defaults:{},mode:"default"}),$.components.register("iCheck",{mode:"default",defaults:{}}),$.components.register("input-group-file",{api:function(){$(document).on("change",".input-group-file [type=file]",function(){var a=$(this),b=$(this).parents(".input-group-file").find(".form-control"),c="";$.each(a[0].files,function(a,b){c+=b.name+", "}),c=c.substring(0,c.length-2),b.val(c)})}}),$.components.register("isotope",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("isotope"),c=function(){$('[data-plugin="isotope"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.isotope(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("appear",{defaults:{},api:function(a){$.fn.appear&&($(document).on("appear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||(a.removeClass("invisible").addClass("animation-"+b),a.data("repeat")===!1&&a.addClass("appear-no-repeat"))}),$(document).on("disappear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||a.addClass("invisible").removeClass("animation-"+b)}))},init:function(a){if($.fn.appear){var b=$.components.getDefaults("appear");$('[data-plugin="appear"]',a).appear(b),$('[data-plugin="appear"]',a).not(":appeared").addClass("invisible")}}}),$.components.register("floatThead",{mode:"default",defaults:{top:function(){return $(".site-navbar").outerHeight()},position:"absolute"}}),$.components.register("knob",{mode:"default",defaults:{min:-50,max:50,width:120,height:120,thickness:".1"}}),$.components.register("labelauty",{mode:"default",defaults:{same_width:!0}}),$.components.register("placeholder",{mode:"init",init:function(a){$.fn.placeholder&&$("input, textarea",a).placeholder()}}),$.components.register("strength",{mode:"default",defaults:{showMeter:!0,showToggle:!1,templates:{toggle:'<div class="checkbox-custom checkbox-primary show-password-wrap"><input type="checkbox" class="{toggleClass}" title="Show/Hide Password" id="show_password" /><label for="show_password">Show Password</label></div>',meter:'<div class="{meterClass}">{score}</div>',score:'<div class="{scoreClass}"></div>',main:'<div class="{containerClass}">{input}{meter}{toggle}</div>'},classes:{container:"strength-container",status:"strength-{status}",input:"strength-input",toggle:"strength-toggle",meter:"strength-meter",score:"strength-score"},scoreLables:{invalid:"Invalid",weak:"Weak",good:"Good",strong:"Strong"},scoreClasses:{invalid:"strength-invalid",weak:"strength-weak",good:"strength-good",strong:"strength-strong"}}}),$.components.register("wizard",{mode:"default",defaults:{step:".steps .step, .pearls .pearl",templates:{buttons:function(){var a=this.options;return'<div class="wizard-buttons"><a class="btn btn-default btn-outline" href="#'+this.id+'" data-wizard="back" role="button">'+a.buttonLabels.back+'</a><a class="btn btn-primary btn-outline pull-right" href="#'+this.id+'" data-wizard="next" role="button">'+a.buttonLabels.next+'</a><a class="btn btn-success btn-outline pull-right" href="#'+this.id+'" data-wizard="finish" role="button">'+a.buttonLabels.finish+"</a></div>"}}}}),$.components.register("timepicker",{mode:"default",defaults:{}}),$.components.register("vectorMap",{mode:"default",defaults:{map:"world_mill_en",backgroundColor:"#fff",zoomAnimate:!0,regionStyle:{initial:{fill:$.colors("primary",600)},hover:{fill:$.colors("primary",500)},selected:{fill:$.colors("primary",800)},selectedHover:{fill:$.colors("primary",500)}},markerStyle:{initial:{r:8,fill:$.colors("red",600),"stroke-width":0},hover:{r:12,stroke:$.colors("red",600),"stroke-width":0}}}}),$.components.register("ladda",{mode:"init",defaults:{timeout:2e3},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("ladda");Ladda.bind('[data-plugin="ladda"]',a)}}}),$.components.register("laddaProgress",{mode:"init",defaults:{init:function(a){var b=0,c=setInterval(function(){b=Math.min(b+.1*Math.random(),1),a.setProgress(b),1===b&&(a.stop(),clearInterval(c))},200)}},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("laddaProgress");Ladda.bind('[data-plugin="laddaProgress"]',a)}}}),$.components.register("magnificPopup",{mode:"default",defaults:{type:"image",closeOnContentClick:!0,image:{verticalFit:!0}}}),$.components.register("masonry",{mode:"init",defaults:{itemSelector:".masonry-item"},init:function(a){if("undefined"!=typeof $.fn.masonry){var b=$.components.getDefaults("masonry"),c=function(){$('[data-plugin="masonry"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.masonry(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("matchHeight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.matchHeight){var b=$.components.getDefaults("matchHeight");$('[data-plugin="matchHeight"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data()),d=a.data("matchSelector");d?a.find(d).matchHeight(c):a.children().matchHeight(c)})}}}),$.components.register("material",{init:function(a){$(".form-material",a).each(function(){var a=$(this);if(a.data("material")!==!0){var b=a.find(".form-control");if(b.attr("data-hint")&&b.after("<div class=hint>"+b.attr("data-hint")+"</div>"),a.hasClass("floating")){if(b.hasClass("floating-label")){var c=b.attr("placeholder");b.attr("placeholder",null).removeClass("floating-label"),b.after("<div class=floating-label>"+c+"</div>")}null!==b.val()&&"undefined"!=b.val()&&""!==b.val()||b.addClass("empty")}b.next().is("[type=file]")&&a.addClass("form-material-file"),a.data("material",!0)}})},api:function(){function a(a){return"undefined"==typeof a.which?!0:"number"==typeof a.which&&a.which>0?!a.ctrlKey&&!a.metaKey&&!a.altKey&&8!=a.which&&9!=a.which:!1}$(document).on("keydown.site.material paste.site.material",".form-control",function(b){a(b)&&$(this).removeClass("empty")}).on("keyup.site.material change.site.material",".form-control",function(){var a=$(this);""===a.val()&&"undefined"!=typeof a[0].checkValidity&&a[0].checkValidity()?a.addClass("empty"):a.removeClass("empty")}).on("focus",".form-material-file",function(){$(this).find("input").addClass("focus")}).on("blur",".form-material-file",function(){$(this).find("input").removeClass("focus")}).on("change",".form-material-file [type=file]",function(){var a=$(this),b="";$.each(a[0].files,function(a,c){b+=c.name+", "}),b=b.substring(0,b.length-2),b?a.prev().removeClass("empty"):a.prev().addClass("empty"),a.prev().val(b)})}}),$.components.register("multiSelect",{mode:"default",defaults:{}}),$.components.register("nestable",{mode:"default"}),$.components.register("nprogress",{mode:"init",defaults:{minimum:.15,trickleRate:.07,trickleSpeed:360,showSpinner:!1,template:'<div class="bar" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'},init:function(){if("undefined"!=typeof NProgress){var a=$.components.getDefaults("nprogress");NProgress.configure(a)}}}),$.components.register("owlCarousel",{mode:"default",defaults:{loop:!0,nav:!0,dots:!1,dotsClass:"owl-dots owl-dots-fall",responsive:{0:{items:1},600:{items:3}}}}),$.components.register("panel",{api:function(){$(document).on("click.site.panel",'[data-toggle="panel-fullscreen"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleFullscreen()}),$(document).on("click.site.panel",'[data-toggle="panel-collapse"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleContent()}),$(document).on("click.site.panel",'[data-toggle="panel-close"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.close()}),$(document).on("click.site.panel",'[data-toggle="panel-refresh"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api"),e=b.data("loadCallback");$.isFunction(window[e])?d.load(window[e]):d.load()})},init:function(a){$(".panel",a).each(function(){var a,b=$(this),c=!1,d=!1,e=!1,f=!1,g=b.find('[data-toggle="panel-fullscreen"]'),h=b.find('[data-toggle="panel-collapse"]'),i=this;b.hasClass("is-collapse")&&(e=!0);var j={load:function(c){var d=b.data("loader-type");d||(d="default"),a=$('<div class="panel-loading"><div class="loader loader-'+d+'"></div></div>'),a.appendTo(b),b.addClass("is-loading"),b.trigger("loading.uikit.panel"),f=!0,$.isFunction(c)&&c.call(i,this.done)},done:function(){f===!0&&(a.remove(),b.removeClass("is-loading"),b.trigger("loading.done.uikit.panel"))},toggleContent:function(){e?this.showContent():this.hideContent()},showContent:function(){e!==!1&&(b.removeClass("is-collapse"),h.hasClass("wb-plus")&&h.removeClass("wb-plus").addClass("wb-minus"),b.trigger("shown.uikit.panel"),e=!1)},hideContent:function(){e!==!0&&(b.addClass("is-collapse"),h.hasClass("wb-minus")&&h.removeClass("wb-minus").addClass("wb-plus"),b.trigger("hidden.uikit.panel"),e=!0)},toggleFullscreen:function(){c?this.leaveFullscreen():this.enterFullscreen()},enterFullscreen:function(){c!==!0&&(b.addClass("is-fullscreen"),g.hasClass("wb-expand")&&g.removeClass("wb-expand").addClass("wb-contract"),b.trigger("enter.fullscreen.uikit.panel"),c=!0)},leaveFullscreen:function(){c!==!1&&(b.removeClass("is-fullscreen"),g.hasClass("wb-contract")&&g.removeClass("wb-contract").addClass("wb-expand"),b.trigger("leave.fullscreen.uikit.panel"),c=!1)},toggle:function(){d?this.open():this.close()},open:function(){d!==!1&&(b.removeClass("is-close"),b.trigger("open.uikit.panel"),d=!1)},close:function(){d!==!0&&(b.addClass("is-close"),b.trigger("close.uikit.panel"),d=!0)}};b.data("panel-api",j)})}}),$.components.register("peityBar",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",400)],height:22,max:null,min:0,padding:.1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityBar");$('[data-plugin="peityBar"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[400]]}c=$.extend(!0,{},b,c),a.peity("bar",c)})}}}),$.components.register("peityDonut",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,innerRadius:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityDonut");$('[data-plugin="peityDonut"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("donut",c)})}}}),$.components.register("peityLine",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",200)],height:22,max:null,min:0,stroke:$.colors("primary",600),strokeWidth:1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityLine");$('[data-plugin="peityLine"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[200]],b.stroke=d[600]}c=$.extend(!0,{},b,c),a.peity("line",c)})}}}),$.components.register("peityPie",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityPie");$('[data-plugin="peityPie"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("pie",c)})}}}),$.components.register("plyr",{mode:"init",init:function(){"undefined"!=typeof plyr&&(!function(a,b){var c=new XMLHttpRequest,d=a.body;"withCredentials"in c&&(c.open("GET",b,!0),c.send(),c.onload=function(){var b=a.createElement("div");b.style.display="none",b.innerHTML=c.responseText,d.insertBefore(b,d.childNodes[0])})}(document,"https://cdn.plyr.io/1.1.5/sprite.svg"),plyr.setup())}}),$.components.register("rating",{mode:"init",defaults:{targetKeep:!0,icon:"font",starType:"i",starOff:"icon wb-star",starOn:"icon wb-star orange-600",cancelOff:"icon wb-minus-circle",cancelOn:"icon wb-minus-circle orange-600",starHalf:"icon wb-star-half orange-500"},init:function(a){if($.fn.raty){var b=$.components.getDefaults("rating");$('[data-plugin="rating"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());c.hints&&(c.hints=c.hints.split(",")),a.raty(c)})}}}),$.components.register("select2",{mode:"default",defaults:{width:"style"}}),$.components.register("selectable",{mode:"init",defaults:{allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},init:function(a){if($.fn.asSelectable){var b=$.components.getDefaults("selectable");$('[data-plugin="selectable"], [data-selectable="selectable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asSelectable(a)})}}}),$.components.register("slidePanel",{mode:"manual",defaults:{closeSelector:".slidePanel-close",mouseDragHandler:".slidePanel-handler",loading:{template:function(a){return'<div class="'+a.classes.loading+'"><div class="loader loader-default"></div></div>'},showCallback:function(a){this.$el.addClass(a.classes.loading+"-show")},hideCallback:function(a){this.$el.removeClass(a.classes.loading+"-show");
  }}}}),$.components.register("summernote",{mode:"default",defaults:{height:300}}),$.components.register("switchery",{mode:"init",defaults:{color:$.colors("primary",600)},init:function(a){if("undefined"!=typeof Switchery){var b=$.components.getDefaults("switchery");$('[data-plugin="switchery"]',a).each(function(){var a=$.extend({},b,$(this).data());new Switchery(this,a)})}}}),$.components.register("table",{mode:"api",api:function(a){function b(a){"checkbox"===a.target.type||"button"===a.target.type||"a"===a.target.tagName.toLowerCase()||$(a.target).parent("div.checkbox-custom").length||($(this).hasClass("active")?$(this).removeClass("active"):($(this).siblings(".table-section").removeClass("active"),$(this).addClass("active")))}var c="undefined"!=typeof document.ontouchstart,d="click";c&&(d="touchstart"),$(document).on(d,".table-section",function(a){b.call(this,a)})}}),$.components.register("verticalTab",{mode:"init",init:function(a){$.fn.matchHeight&&$(".nav-tabs-vertical",a).each(function(){$(this).children().matchHeight()})}}),$.components.register("horizontalTab",{mode:"init",init:function(a){$.fn.responsiveHorizontalTabs&&$(".nav-tabs-horizontal",a).responsiveHorizontalTabs()}}),$.components.register("taskList",{mode:"api",api:function(){$(document).on("change.site.task",'[data-role="task"]',function(){var a=$(this),b=a.find('[type="checkbox"]');b.is(":checked")?a.addClass("task-done"):a.removeClass("task-done")}),$('[data-role="task"]').trigger("change.site.task")}}),$.components.register("toastr",{mode:"api",api:function(){if("undefined"!=typeof toastr){var a=$.components.getDefaults("toastr");$(document).on("click.site.toastr",'[data-plugin="toastr"]',function(b){b.preventDefault();var c=$(this),d=$.extend(!0,{},a,c.data()),e=d.message||"",f=d.type||"info",g=d.title||void 0;switch(f){case"success":toastr.success(e,g,d);break;case"warning":toastr.warning(e,g,d);break;case"error":toastr.error(e,g,d);break;case"info":toastr.info(e,g,d);break;default:toastr.info(e,g,d)}})}}}),$.components.register("toolbar",{mode:"init",init:function(a){if($.fn.toolbar){var b=$.components.getDefaults("toolbar");$('[data-plugin="toolbar"]',a).each(function(){var a=$(this),c=a.data("toolbar"),d=$.extend(!0,{},b);c&&(d.content=c),a.toolbar(d)})}}}),$.components.register("webuiPopover",{mode:"default",defaults:{trigger:"click",width:320,multi:!0,cloaseable:!1,style:"",delay:300,padding:!0}}),$.components.register("ace",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof ace&&(ace.config.loadModule("ace/ext/language_tools"),$('[data-plugin="ace"]',a).each(function(){var a=$(this).attr("id"),b=$(this).data("mode"),c=$(this).data("theme"),d=ace.edit(a);d.container.style.opacity="",b&&d.session.setMode("ace/mode/"+b),c&&d.setTheme("ace/theme/"+c),d.setOption("maxLines",40),d.setAutoScrollEditorIntoView(!0),ace.config.loadModule("ace/ext/language_tools",function(){d.setOptions({enableSnippets:!0,enableBasicAutocompletion:!0})})}))}}),$.components.register("alertify",{mode:"api",defaults:{type:"alert",delay:5e3,theme:"bootstrap"},api:function(){if("undefined"!=typeof alertify){var a=$.components.getDefaults("alertify");$(document).on("click.site.alertify",'[data-plugin="alertify"]',function(){var b=$(this),c=$.extend(!0,{},a,b.data());switch(c.labelOk&&(c.okBtn=c.labelOk),c.labelCancel&&(c.cancelBtn=c.labelCancel),"undefined"!=typeof c.delay&&alertify.delay(c.delay),"undefined"!=typeof c.theme&&alertify.theme(c.theme),"undefined"!=typeof c.cancelBtn&&alertify.cancelBtn(c.cancelBtn),"undefined"!=typeof c.okBtn&&alertify.okBtn(c.okBtn),"undefined"!=typeof c.placeholder&&alertify.delay(c.placeholder),"undefined"!=typeof c.defaultValue&&alertify.delay(c.defaultValue),"undefined"!=typeof c.maxLogItems&&alertify.delay(c.maxLogItems),"undefined"!=typeof c.closeLogOnClick&&alertify.delay(c.closeLogOnClick),c.type){case"alert":alertify.alert(c.alertMessage);break;case"confirm":alertify.confirm(c.confirmTitle,function(){alertify.success(c.successMessage)},function(){alertify.error(c.errorMessage)});break;case"prompt":alertify.prompt(c.promptTitle,function(a,b){var d=c.successMessage.replace("%s",a);alertify.success(d)},function(a){alertify.error(c.errorMessage)});break;case"log":alertify.log(c.logMessage);break;case"success":alertify.success(c.successMessage);break;case"error":alertify.error(c.errorMessage)}})}}}),$.components.register("animate-list",{mode:"init",defaults:{child:".panel",duration:250,delay:50,animate:"scale-up",fill:"backwards"},init:function(){var a=this;$("[data-plugin=animateList]").each(function(){var b=$(this),c=$.extend({},a.defaults,b.data(),!0),d=function(a,b){this.options=b,this.$children=a.find(b.child),this.$children.addClass("animation-"+b.animate),this.$children.css("animation-fill-mode",b.fill),this.$children.css("animation-duration",b.duration+"ms");var c=0,d=this;this.$children.each(function(){$(this).css("animation-delay",c+"ms"),c+=d.options.delay})};d.prototype={run:function(a){var b=this;this.$children.removeClass("animation-"+this.options.animate),"undefined"!=typeof a&&(this.options.animate=a),setTimeout(function(){b.$children.addClass("animation-"+b.options.animate)},0)}},b.data("animateList",new d(b,c))})}}),$.components.register("animsition",{mode:"manual",defaults:{inClass:"fade-in",outClass:"fade-out",inDuration:800,outDuration:500,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"loader",loadingType:"default",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",inDefaults:["fade-in","fade-in-up-sm","fade-in-up","fade-in-up-lg","fade-in-down-sm","fade-in-down","fade-in-down-lg","fade-in-left-sm","fade-in-left","fade-in-left-lg","fade-in-right-sm","fade-in-right","fade-in-right-lg","zoom-in-sm","zoom-in","zoom-in-lg"],outDefaults:["fade-out","fade-out-up-sm","fade-out-up","fade-out-up-lg","fade-out-down-sm","fade-out-down","fade-out-down-lg","fade-out-left-sm","fade-out-left","fade-out-left-lg","fade-out-right-sm","fade-out-right","fade-out-right-lg","zoom-out-sm","zoom-out","zoom-out-lg"]},init:function(a,b){var c=$.components.getDefaults("animsition");if(c.random){var d=c.inDefaults.length,e=c.outDefaults.length,f=parseInt(d*Math.random(),0),g=parseInt(e*Math.random(),0);c.inClass=c.inDefaults[f],c.outClass=c.outDefaults[g]}var h=$(".animsition",a);return h.animsition(c),$("."+c.loadingClass).addClass("loader-"+c.loadingType),h.animsition("supportCheck",c)?($.isFunction(b)&&h.one("animsition.end",function(){b.call()}),!0):($.isFunction(b)&&b.call(),!1)}}),$.components.register("breadcrumb",{mode:"init",defaults:{namespace:"breadcrumb",dropdown:function(){return'<div class="dropdown"><a href="javascript:void(0);" data-toggle="dropdown"><i class="'+this.dropicon+'"></i></a><ul class="'+this.namespace+'-menu dropdown-menu" role="menu"></ul></div>'},dropdownContent:function(a){return'<li><a href="javascript:void(0);">'+a+"</a></li>"}},init:function(a){if($.fn.asBreadcrumbs){var b=$.components.getDefaults("breadcrumb");$('[data-plugin="breadcrumb"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asBreadcrumbs(a)})}}}),$.components.register("asColorPicker",{defaults:{namespace:"colorInputUi"},mode:"default"}),$.components.register("paginator",{mode:"init",defaults:{namespace:"pagination",currentPage:1,itemsPerPage:10,disabledClass:"disabled",activeClass:"active",visibleNum:{0:3,480:5},tpl:function(){return"{{prev}}{{lists}}{{next}}"},components:{prev:{tpl:function(){return'<li class="'+this.namespace+'-prev"><a href="javascript:void(0)"><span class="icon wb-chevron-left-mini"></span></a></li>'}},next:{tpl:function(){return'<li class="'+this.namespace+'-next"><a href="javascript:void(0)"><span class="icon wb-chevron-right-mini"></span></a></li>'}},lists:{tpl:function(){var a="",b=this.currentPage>=this.visible?this.currentPage%this.visible:this.currentPage;b=0===b?this.visible:b;for(var c=1;b>c;c++)a+='<li class="'+this.namespace+'-items" data-value="'+(this.currentPage-b+c)+'"><a href="javascript:void(0)">'+(this.currentPage-b+c)+"</a></li>";a+='<li class="'+this.namespace+"-items "+this.classes.active+'" data-value="'+this.currentPage+'"><a href="javascript:void(0)">'+this.currentPage+"</a></li>";for(var d=this.currentPage+1,e=d+this.visible-b-1>this.totalPages?this.totalPages:d+this.visible-b-1;e>=d;d++)a+='<li class="'+this.namespace+'-items" data-value="'+d+'"><a href="javascript:void(0)">'+d+"</a></li>";return a}}}},init:function(a){if($.fn.asPaginator){var b=$.components.getDefaults("paginator");$('[data-plugin="paginator"]',a).each(function(){var a=$(this),c=a.data(),d=a.data("total");c=$.extend({},b,c),a.asPaginator(d,c)})}}}),$.components.register("pieProgress",{mode:"init",defaults:{namespace:"pie-progress",speed:30,classes:{svg:"pie-progress-svg",element:"pie-progress",number:"pie-progress-number",content:"pie-progress-content"}},init:function(a){if($.fn.asPieProgress){var b=$.components.getDefaults("pieProgress");$('[data-plugin="pieProgress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend(!0,{},b,c),a.asPieProgress(c)})}}}),$.components.register("progress",{mode:"init",defaults:{bootstrap:!0,onUpdate:function(a){var b=(a-this.min)/(this.max-this.min);.5>b?this.$target.addClass("progress-bar-success").removeClass("progress-bar-warning progress-bar-danger"):b>=.5&&.8>b?this.$target.addClass("progress-bar-warning").removeClass("progress-bar-success progress-bar-danger"):this.$target.addClass("progress-bar-danger").removeClass("progress-bar-success progress-bar-warning")},labelCallback:function(a){var b,c=this.$element.data("labeltype");if("percentage"===c){var d=this.getPercentage(a);b=d+"%"}else if("steps"===c){var e=this.$element.data("totalsteps");e||(e=10);var f=Math.round(e*(a-this.min)/(this.max-this.min));b=f+" / "+e}else b=a;return this.$element.parent().hasClass("contextual-progress")&&this.$element.parent().find(".progress-label").html(b),b}},init:function(a){if($.fn.asProgress){var b=$.components.getDefaults("progress");$('[data-plugin="progress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend({},b,c),a.asProgress(c)})}}}),$.components.register("asRange",{mode:"default",defaults:{tip:!1,scale:!1}}),$.components.register("scrollable",{mode:"init",defaults:{namespace:"scrollable",contentSelector:"> [data-role='content']",containerSelector:"> [data-role='container']"},init:function(a){if($.fn.asScrollable){var b=$.components.getDefaults("scrollable");$('[data-plugin="scrollable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asScrollable(a)})}}}),$.components.register("asSpinner",{mode:"default",defaults:{namespace:"spinnerUi",skin:null,min:"-10",max:100,mousewheel:!0}}),$.components.register("bootbox",{mode:"api",defaults:{message:""},api:function(){if("undefined"!=typeof bootbox){var a=$.components.getDefaults("bootbox");$(document).on("click.site.bootbox",'[data-plugin="bootbox"]',function(){var b=$(this),c=b.data();if(c=$.extend(!0,{},a,c),c.classname&&(c.className=c.classname),"string"==typeof c.callback&&$.isFunction(window[c.callback])&&(c.callback=window[c.callback]),c.type)switch(c.type){case"alert":bootbox.alert(c);break;case"confirm":bootbox.confirm(c);break;case"prompt":bootbox.prompt(c);break;default:bootbox.dialog(c)}else bootbox.dialog(c)})}}}),$.components.register("datepicker",{mode:"default",defaults:{autoclose:!0}}),$.components.register("maxlength",{mode:"default",defaults:{}}),$.components.register("selectpicker",{mode:"default",defaults:{style:"btn-select",iconBase:"icon",tickIcon:"wb-check"}}),$.components.register("sweetalert",{mode:"api",api:function(){if("undefined"!=typeof swal){var a=$.components.getDefaults("sweetalert");$(document).on("click.site.sweetalert",'[data-plugin="sweetalert"]',function(){var b=$.extend(!0,{},a,$(this).data());swal(b)})}}}),$.components.register("tagsinput",{defaults:{tagClass:"label label-default"},mode:"default"}),$.components.register("tokenfield",{mode:"default",defaults:{}}),$.components.register("TouchSpin",{mode:"default",defaults:{verticalupclass:"wb-plus",verticaldownclass:"wb-minus",buttondown_class:"btn btn-outline btn-default",buttonup_class:"btn btn-outline btn-default"}}),$.components.register("treeview",{mode:"init",defaults:{injectStyle:!1,expandIcon:"icon wb-plus",collapseIcon:"icon wb-minus",emptyIcon:"icon",nodeIcon:"icon wb-folder",showBorder:!1,borderColor:$.colors("blue-grey",200),onhoverColor:$.colors("blue-grey",100),selectedColor:"#ffffff",selectedBackColor:$.colors("primary",600),searchResultColor:$.colors("primary",600),searchResultBackColor:"#ffffff"},init:function(a){if($.fn.treeview){var b=$.components.getDefaults("treeview");$('[data-plugin="treeview"]',a).each(function(){var a=$(this),c=a.data();"string"==typeof c.source&&$.isFunction(window[c.source])?(c.data=window[c.source](),delete c.source):$.isFunction(c.souce)&&(c.data=c.source(),delete c.source),c=$.extend(!0,{},b,c),a.treeview(c)})}}}),$.components.register("buttons",{mode:"api",defaults:{},api:function(){$(document).on("click.site.loading","[data-loading-text]",function(){var a=$(this),b=a.text(),c=20,d=a.data("loadingText");a.text(d+"("+c+")").css("opacity",".6");var e=setInterval(function(){a.text(d+"("+--c+")"),0===c&&(clearInterval(e),a.text(b).css("opacity","1"))},1e3)}),$(document).on("click.site.morebutton","[data-more]",function(){var a=$($(this).data("more"));a.toggleClass("show")})}}),$.components.register("card",{mode:"init",defaults:{},init:function(a){if($.fn.card){var b=$.components.getDefaults("card");$('[data-plugin="card"]',a).each(function(){var a=$.extend({},b,$(this).data());a.target&&(a.container=$(a.target)),$(this).card(a)})}}}),$.components.register("clockpicker",{mode:"default",defaults:{donetext:"Done"}}),$.components.register("dataTable",{defaults:{responsive:!0,language:{sSearchPlaceholder:"Search..",lengthMenu:"_MENU_",search:"_INPUT_",paginate:{previous:'<i class="icon wb-chevron-left-mini"></i>',next:'<i class="icon wb-chevron-right-mini"></i>'}}},api:function(){$.fn.dataTable&&$.fn.dataTable.TableTools&&$.extend(!0,$.fn.dataTable.TableTools.classes,{container:"DTTT btn-group btn-group pull-left",buttons:{normal:"btn btn-outline btn-default",disabled:"disabled"},print:{body:"site-print DTTT_Print"}})},init:function(a){if($.fn.dataTable){var b=$.components.getDefaults("dataTable");$('[data-plugin="dataTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).dataTable(a)})}}}),$.components.register("datepair",{mode:"default",defaults:{startClass:"datepair-start",endClass:"datepair-end",timeClass:"datepair-time",dateClass:"datepair-date"}}),$.components.register("editableTable",{mode:"init",init:function(a){if($.fn.editableTableWidget){var b=$.components.getDefaults("editableTable");$('[data-plugin="editableTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).editableTableWidget(a)})}}}),$.components.register("filterable",{mode:"init",defaults:{animationOptions:{duration:750,easing:"linear",queue:!1}},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("filterable"),c=function(){$("[data-filterable]",a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data(),{filter:"*"});a.isotope(c)}),$("[data-filter]",a).click(function(b){var c=$(this),d=c.data("target"),e=c.parent("li");d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e.siblings(".active").each(function(){$(this).find("a").attr("aria-expanded",!1),$(this).removeClass("active")}),e.addClass("active"),c.attr("aria-expanded",!0);var f=$(d,a),g=c.attr("data-filter");"*"!==g&&(g='[data-type="'+g+'"]'),f.isotope({filter:g}),b.preventDefault()})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("formatter",{mode:"init",defaults:{persistent:!0},init:function(a){if($.fn.formatter){var b,c=$.components.getDefaults("formatter"),d=navigator.userAgent.toLowerCase();b=/msie/i.test(d)&&!/opera/.test(d)?{persistent:!1}:{},$('[data-plugin="formatter"]',a).each(function(){var a=$.extend({},c,b,$(this).data());a.pattern&&(a.pattern=a.pattern.replace(/\[\[/g,"{{").replace(/\]\]/g,"}}")),$(this).formatter(a)})}}}),$.components.register("gauge",{mode:"init",defaults:{lines:12,angle:.12,lineWidth:.4,pointer:{length:.68,strokeWidth:.03,color:$.colors("blue-grey",400)},limitMax:!0,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("gauge");$('[data-plugin="gauge"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".gauge-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Gauge(e[0]).setOptions(c);a.data("gauge",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("donut",{mode:"init",defaults:{lines:12,angle:.3,lineWidth:.08,pointer:{length:.9,strokeWidth:.035,color:$.colors("blue-grey",400)},limitMax:!1,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("donut");$('[data-plugin="donut"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".donut-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Donut(e[0]).setOptions(c);a.data("donut",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("gmaps",{styles:[{featureType:"landscape",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#e0e0e0"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","200")}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#000000"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{color:$.colors("blue-grey","200")},{weight:.5}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"on"},{color:$.colors("blue-grey","700")}]},{featureType:"road.local",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"transit",elementType:"all",stylers:[{color:$.colors("blue-grey","100")}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]},{featureType:"administrative.neighborhood",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels.icon",stylers:[{visibility:"on"},{hue:"#ffffff"},{saturation:-100},{lightness:50}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"administrative.neighborhood",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]}]}),$.components.register("gridstack",{mode:"init",defaults:{cell_height:80,vertical_margin:20},init:function(a){if($.fn.gridstack){var b=$.components.getDefaults("gridstack");$('[data-plugin="gridstack"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).gridstack(a)})}}}),$.components.register("highlight",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof $.fn.hightlight&&($.components.getDefaults("highlight"),$('[data-plugin="highlight"]',a).each(function(a,b){hljs.highlightBlock(b)}))}}),$.components.register("sortable",{defaults:{},mode:"default"}),$.components.register("iCheck",{mode:"default",defaults:{}}),$.components.register("input-group-file",{api:function(){$(document).on("change",".input-group-file [type=file]",function(){var a=$(this),b=$(this).parents(".input-group-file").find(".form-control"),c="";$.each(a[0].files,function(a,b){c+=b.name+", "}),c=c.substring(0,c.length-2),b.val(c)})}}),$.components.register("isotope",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("isotope"),c=function(){$('[data-plugin="isotope"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.isotope(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("appear",{defaults:{},api:function(a){$.fn.appear&&($(document).on("appear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||(a.removeClass("invisible").addClass("animation-"+b),a.data("repeat")===!1&&a.addClass("appear-no-repeat"))}),$(document).on("disappear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||a.addClass("invisible").removeClass("animation-"+b)}))},init:function(a){if($.fn.appear){var b=$.components.getDefaults("appear");$('[data-plugin="appear"]',a).appear(b),$('[data-plugin="appear"]',a).not(":appeared").addClass("invisible")}}}),$.components.register("floatThead",{mode:"default",defaults:{top:function(){return $(".site-navbar").outerHeight()},position:"absolute"}}),$.components.register("knob",{mode:"default",defaults:{min:-50,max:50,width:120,height:120,thickness:".1"}}),$.components.register("labelauty",{mode:"default",defaults:{same_width:!0}}),$.components.register("placeholder",{mode:"init",init:function(a){$.fn.placeholder&&$("input, textarea",a).placeholder()}}),$.components.register("strength",{mode:"default",defaults:{showMeter:!0,showToggle:!1,templates:{toggle:'<div class="checkbox-custom checkbox-primary show-password-wrap"><input type="checkbox" class="{toggleClass}" title="Show/Hide Password" id="show_password" /><label for="show_password">Show Password</label></div>',meter:'<div class="{meterClass}">{score}</div>',score:'<div class="{scoreClass}"></div>',main:'<div class="{containerClass}">{input}{meter}{toggle}</div>'},classes:{container:"strength-container",status:"strength-{status}",input:"strength-input",toggle:"strength-toggle",meter:"strength-meter",score:"strength-score"},scoreLables:{invalid:"Invalid",weak:"Weak",good:"Good",strong:"Strong"},scoreClasses:{invalid:"strength-invalid",weak:"strength-weak",good:"strength-good",strong:"strength-strong"}}}),$.components.register("wizard",{mode:"default",defaults:{step:".steps .step, .pearls .pearl",templates:{buttons:function(){var a=this.options;return'<div class="wizard-buttons"><a class="btn btn-default btn-outline" href="#'+this.id+'" data-wizard="back" role="button">'+a.buttonLabels.back+'</a><a class="btn btn-primary btn-outline pull-right" href="#'+this.id+'" data-wizard="next" role="button">'+a.buttonLabels.next+'</a><a class="btn btn-success btn-outline pull-right" href="#'+this.id+'" data-wizard="finish" role="button">'+a.buttonLabels.finish+"</a></div>"}}}}),$.components.register("timepicker",{mode:"default",defaults:{}}),$.components.register("vectorMap",{mode:"default",defaults:{map:"world_mill_en",backgroundColor:"#fff",zoomAnimate:!0,regionStyle:{initial:{fill:$.colors("primary",600)},hover:{fill:$.colors("primary",500)},selected:{fill:$.colors("primary",800)},selectedHover:{fill:$.colors("primary",500)}},markerStyle:{initial:{r:8,fill:$.colors("red",600),"stroke-width":0},hover:{r:12,stroke:$.colors("red",600),"stroke-width":0}}}}),$.components.register("ladda",{mode:"init",defaults:{timeout:2e3},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("ladda");Ladda.bind('[data-plugin="ladda"]',a)}}}),$.components.register("laddaProgress",{mode:"init",defaults:{init:function(a){var b=0,c=setInterval(function(){b=Math.min(b+.1*Math.random(),1),a.setProgress(b),1===b&&(a.stop(),clearInterval(c))},200)}},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("laddaProgress");Ladda.bind('[data-plugin="laddaProgress"]',a)}}}),$.components.register("magnificPopup",{mode:"default",defaults:{type:"image",closeOnContentClick:!0,image:{verticalFit:!0}}}),$.components.register("masonry",{mode:"init",defaults:{itemSelector:".masonry-item"},init:function(a){if("undefined"!=typeof $.fn.masonry){var b=$.components.getDefaults("masonry"),c=function(){$('[data-plugin="masonry"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.masonry(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("matchHeight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.matchHeight){var b=$.components.getDefaults("matchHeight");$('[data-plugin="matchHeight"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data()),d=a.data("matchSelector");d?a.find(d).matchHeight(c):a.children().matchHeight(c)})}}}),$.components.register("material",{init:function(a){$(".form-material",a).each(function(){var a=$(this);if(a.data("material")!==!0){var b=a.find(".form-control");if(b.attr("data-hint")&&b.after("<div class=hint>"+b.attr("data-hint")+"</div>"),a.hasClass("floating")){if(b.hasClass("floating-label")){var c=b.attr("placeholder");b.attr("placeholder",null).removeClass("floating-label"),b.after("<div class=floating-label>"+c+"</div>")}(null===b.val()||"undefined"==b.val()||""===b.val())&&b.addClass("empty")}b.next().is("[type=file]")&&a.addClass("form-material-file"),a.data("material",!0)}})},api:function(){function a(a){return"undefined"==typeof a.which?!0:"number"==typeof a.which&&a.which>0?!a.ctrlKey&&!a.metaKey&&!a.altKey&&8!=a.which&&9!=a.which:!1}$(document).on("keydown.site.material paste.site.material",".form-control",function(b){a(b)&&$(this).removeClass("empty")}).on("keyup.site.material change.site.material",".form-control",function(){var a=$(this);""===a.val()&&"undefined"!=typeof a[0].checkValidity&&a[0].checkValidity()?a.addClass("empty"):a.removeClass("empty")}).on("focus",".form-material-file",function(){$(this).find("input").addClass("focus")}).on("blur",".form-material-file",function(){$(this).find("input").removeClass("focus")}).on("change",".form-material-file [type=file]",function(){var a=$(this),b="";$.each(a[0].files,function(a,c){b+=c.name+", "}),b=b.substring(0,b.length-2),b?a.prev().removeClass("empty"):a.prev().addClass("empty"),a.prev().val(b)})}}),$.components.register("multiSelect",{mode:"default",defaults:{}}),$.components.register("nestable",{mode:"default"}),$.components.register("nprogress",{mode:"init",defaults:{minimum:.15,trickleRate:.07,trickleSpeed:360,showSpinner:!1,template:'<div class="bar" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'},init:function(){if("undefined"!=typeof NProgress){var a=$.components.getDefaults("nprogress");NProgress.configure(a)}}}),$.components.register("owlCarousel",{mode:"default",defaults:{loop:!0,nav:!0,dots:!1,dotsClass:"owl-dots owl-dots-fall",responsive:{0:{items:1},600:{items:3}}}}),$.components.register("panel",{api:function(){$(document).on("click.site.panel",'[data-toggle="panel-fullscreen"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleFullscreen()}),$(document).on("click.site.panel",'[data-toggle="panel-collapse"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleContent()}),$(document).on("click.site.panel",'[data-toggle="panel-close"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.close()}),$(document).on("click.site.panel",'[data-toggle="panel-refresh"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api"),e=b.data("loadCallback");$.isFunction(window[e])?d.load(window[e]):d.load()})},init:function(a){$(".panel",a).each(function(){var a,b=$(this),c=!1,d=!1,e=!1,f=!1,g=b.find('[data-toggle="panel-fullscreen"]'),h=b.find('[data-toggle="panel-collapse"]'),i=this;b.hasClass("is-collapse")&&(e=!0);var j={load:function(c){var d=b.data("loader-type");d||(d="default"),a=$('<div class="panel-loading"><div class="loader loader-'+d+'"></div></div>'),a.appendTo(b),b.addClass("is-loading"),b.trigger("loading.uikit.panel"),f=!0,$.isFunction(c)&&c.call(i,this.done)},done:function(){f===!0&&(a.remove(),b.removeClass("is-loading"),b.trigger("loading.done.uikit.panel"))},toggleContent:function(){e?this.showContent():this.hideContent()},showContent:function(){e!==!1&&(b.removeClass("is-collapse"),h.hasClass("wb-plus")&&h.removeClass("wb-plus").addClass("wb-minus"),b.trigger("shown.uikit.panel"),e=!1)},hideContent:function(){e!==!0&&(b.addClass("is-collapse"),h.hasClass("wb-minus")&&h.removeClass("wb-minus").addClass("wb-plus"),b.trigger("hidden.uikit.panel"),e=!0)},toggleFullscreen:function(){c?this.leaveFullscreen():this.enterFullscreen()},enterFullscreen:function(){c!==!0&&(b.addClass("is-fullscreen"),g.hasClass("wb-expand")&&g.removeClass("wb-expand").addClass("wb-contract"),b.trigger("enter.fullscreen.uikit.panel"),c=!0)},leaveFullscreen:function(){c!==!1&&(b.removeClass("is-fullscreen"),g.hasClass("wb-contract")&&g.removeClass("wb-contract").addClass("wb-expand"),b.trigger("leave.fullscreen.uikit.panel"),c=!1)},toggle:function(){d?this.open():this.close()},open:function(){d!==!1&&(b.removeClass("is-close"),b.trigger("open.uikit.panel"),d=!1)},close:function(){d!==!0&&(b.addClass("is-close"),b.trigger("close.uikit.panel"),d=!0)}};b.data("panel-api",j)})}}),$.components.register("peityBar",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",400)],height:22,max:null,min:0,padding:.1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityBar");$('[data-plugin="peityBar"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[400]]}c=$.extend(!0,{},b,c),a.peity("bar",c)})}}}),$.components.register("peityDonut",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,innerRadius:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityDonut");$('[data-plugin="peityDonut"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("donut",c)})}}}),$.components.register("peityLine",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",200)],height:22,max:null,min:0,stroke:$.colors("primary",600),strokeWidth:1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityLine");$('[data-plugin="peityLine"]',a).each(function(){
  var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[200]],b.stroke=d[600]}c=$.extend(!0,{},b,c),a.peity("line",c)})}}}),$.components.register("peityPie",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityPie");$('[data-plugin="peityPie"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("pie",c)})}}}),$.components.register("plyr",{mode:"init",init:function(){"undefined"!=typeof plyr&&(!function(a,b){var c=new XMLHttpRequest,d=a.body;"withCredentials"in c&&(c.open("GET",b,!0),c.send(),c.onload=function(){var b=a.createElement("div");b.style.display="none",b.innerHTML=c.responseText,d.insertBefore(b,d.childNodes[0])})}(document,"https://cdn.plyr.io/1.1.5/sprite.svg"),plyr.setup())}}),$.components.register("rating",{mode:"init",defaults:{targetKeep:!0,icon:"font",starType:"i",starOff:"icon wb-star",starOn:"icon wb-star orange-600",cancelOff:"icon wb-minus-circle",cancelOn:"icon wb-minus-circle orange-600",starHalf:"icon wb-star-half orange-500"},init:function(a){if($.fn.raty){var b=$.components.getDefaults("rating");$('[data-plugin="rating"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());c.hints&&(c.hints=c.hints.split(",")),a.raty(c)})}}}),$.components.register("select2",{mode:"default",defaults:{width:"style"}}),$.components.register("selectable",{mode:"init",defaults:{allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},init:function(a){if($.fn.asSelectable){var b=$.components.getDefaults("selectable");$('[data-plugin="selectable"], [data-selectable="selectable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asSelectable(a)})}}}),$.components.register("slidePanel",{mode:"manual",defaults:{closeSelector:".slidePanel-close",mouseDragHandler:".slidePanel-handler",loading:{template:function(a){return'<div class="'+a.classes.loading+'"><div class="loader loader-default"></div></div>'},showCallback:function(a){this.$el.addClass(a.classes.loading+"-show")},hideCallback:function(a){this.$el.removeClass(a.classes.loading+"-show")}}}}),$.components.register("summernote",{mode:"default",defaults:{height:300}}),$.components.register("switchery",{mode:"init",defaults:{color:$.colors("primary",600)},init:function(a){if("undefined"!=typeof Switchery){var b=$.components.getDefaults("switchery");$('[data-plugin="switchery"]',a).each(function(){var a=$.extend({},b,$(this).data());new Switchery(this,a)})}}}),$.components.register("table",{mode:"api",api:function(a){function b(a){"checkbox"===a.target.type||"button"===a.target.type||"a"===a.target.tagName.toLowerCase()||$(a.target).parent("div.checkbox-custom").length||($(this).hasClass("active")?$(this).removeClass("active"):($(this).siblings(".table-section").removeClass("active"),$(this).addClass("active")))}var c="undefined"!=typeof document.ontouchstart,d="click";c&&(d="touchstart"),$(document).on(d,".table-section",function(a){b.call(this,a)})}}),$.components.register("verticalTab",{mode:"init",init:function(a){$.fn.matchHeight&&$(".nav-tabs-vertical",a).each(function(){$(this).children().matchHeight()})}}),$.components.register("horizontalTab",{mode:"init",init:function(a){$.fn.responsiveHorizontalTabs&&$(".nav-tabs-horizontal",a).responsiveHorizontalTabs()}}),$.components.register("taskList",{mode:"api",api:function(){$(document).on("change.site.task",'[data-role="task"]',function(){var a=$(this),b=a.find('[type="checkbox"]');b.is(":checked")?a.addClass("task-done"):a.removeClass("task-done")}),$('[data-role="task"]').trigger("change.site.task")}}),$.components.register("toastr",{mode:"api",api:function(){if("undefined"!=typeof toastr){var a=$.components.getDefaults("toastr");$(document).on("click.site.toastr",'[data-plugin="toastr"]',function(b){b.preventDefault();var c=$(this),d=$.extend(!0,{},a,c.data()),e=d.message||"",f=d.type||"info",g=d.title||void 0;switch(f){case"success":toastr.success(e,g,d);break;case"warning":toastr.warning(e,g,d);break;case"error":toastr.error(e,g,d);break;case"info":toastr.info(e,g,d);break;default:toastr.info(e,g,d)}})}}}),$.components.register("toolbar",{mode:"init",init:function(a){if($.fn.toolbar){var b=$.components.getDefaults("toolbar");$('[data-plugin="toolbar"]',a).each(function(){var a=$(this),c=a.data("toolbar"),d=$.extend(!0,{},b);c&&(d.content=c),a.toolbar(d)})}}}),$.components.register("webuiPopover",{mode:"default",defaults:{trigger:"click",width:320,multi:!0,cloaseable:!1,style:"",delay:300,padding:!0}}),$.components.register("ace",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof ace&&(ace.config.loadModule("ace/ext/language_tools"),$('[data-plugin="ace"]',a).each(function(){var a=$(this).attr("id"),b=$(this).data("mode"),c=$(this).data("theme"),d=ace.edit(a);d.container.style.opacity="",b&&d.session.setMode("ace/mode/"+b),c&&d.setTheme("ace/theme/"+c),d.setOption("maxLines",40),d.setAutoScrollEditorIntoView(!0),ace.config.loadModule("ace/ext/language_tools",function(){d.setOptions({enableSnippets:!0,enableBasicAutocompletion:!0})})}))}}),$.components.register("ace",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof ace&&(ace.config.loadModule("ace/ext/language_tools"),$('[data-plugin="ace"]',a).each(function(){var a=$(this).attr("id"),b=$(this).data("mode"),c=$(this).data("theme"),d=ace.edit(a);d.container.style.opacity="",b&&d.session.setMode("ace/mode/"+b),c&&d.setTheme("ace/theme/"+c),d.setOption("maxLines",40),d.setAutoScrollEditorIntoView(!0),ace.config.loadModule("ace/ext/language_tools",function(){d.setOptions({enableSnippets:!0,enableBasicAutocompletion:!0})})}))}}),$.components.register("alertify",{mode:"api",defaults:{type:"alert",delay:5e3,theme:"bootstrap"},api:function(){if("undefined"!=typeof alertify){var a=$.components.getDefaults("alertify");$(document).on("click.site.alertify",'[data-plugin="alertify"]',function(){var b=$(this),c=$.extend(!0,{},a,b.data());switch(c.labelOk&&(c.okBtn=c.labelOk),c.labelCancel&&(c.cancelBtn=c.labelCancel),"undefined"!=typeof c.delay&&alertify.delay(c.delay),"undefined"!=typeof c.theme&&alertify.theme(c.theme),"undefined"!=typeof c.cancelBtn&&alertify.cancelBtn(c.cancelBtn),"undefined"!=typeof c.okBtn&&alertify.okBtn(c.okBtn),"undefined"!=typeof c.placeholder&&alertify.delay(c.placeholder),"undefined"!=typeof c.defaultValue&&alertify.delay(c.defaultValue),"undefined"!=typeof c.maxLogItems&&alertify.delay(c.maxLogItems),"undefined"!=typeof c.closeLogOnClick&&alertify.delay(c.closeLogOnClick),c.type){case"alert":alertify.alert(c.alertMessage);break;case"confirm":alertify.confirm(c.confirmTitle,function(){alertify.success(c.successMessage)},function(){alertify.error(c.errorMessage)});break;case"prompt":alertify.prompt(c.promptTitle,function(a,b){var d=c.successMessage.replace("%s",a);alertify.success(d)},function(a){alertify.error(c.errorMessage)});break;case"log":alertify.log(c.logMessage);break;case"success":alertify.success(c.successMessage);break;case"error":alertify.error(c.errorMessage)}})}}}),$.components.register("alertify",{mode:"api",defaults:{type:"alert",delay:5e3,theme:"bootstrap"},api:function(){if("undefined"!=typeof alertify){var a=$.components.getDefaults("alertify");$(document).on("click.site.alertify",'[data-plugin="alertify"]',function(){var b=$(this),c=$.extend(!0,{},a,b.data());switch(c.labelOk&&(c.okBtn=c.labelOk),c.labelCancel&&(c.cancelBtn=c.labelCancel),"undefined"!=typeof c.delay&&alertify.delay(c.delay),"undefined"!=typeof c.theme&&alertify.theme(c.theme),"undefined"!=typeof c.cancelBtn&&alertify.cancelBtn(c.cancelBtn),"undefined"!=typeof c.okBtn&&alertify.okBtn(c.okBtn),"undefined"!=typeof c.placeholder&&alertify.delay(c.placeholder),"undefined"!=typeof c.defaultValue&&alertify.delay(c.defaultValue),"undefined"!=typeof c.maxLogItems&&alertify.delay(c.maxLogItems),"undefined"!=typeof c.closeLogOnClick&&alertify.delay(c.closeLogOnClick),c.type){case"alert":alertify.alert(c.alertMessage);break;case"confirm":alertify.confirm(c.confirmTitle,function(){alertify.success(c.successMessage)},function(){alertify.error(c.errorMessage)});break;case"prompt":alertify.prompt(c.promptTitle,function(a,b){var d=c.successMessage.replace("%s",a);alertify.success(d)},function(a){alertify.error(c.errorMessage)});break;case"log":alertify.log(c.logMessage);break;case"success":alertify.success(c.successMessage);break;case"error":alertify.error(c.errorMessage)}})}}}),$.components.register("animate-list",{mode:"init",defaults:{child:".panel",duration:250,delay:50,animate:"scale-up",fill:"backwards"},init:function(){var a=this;$("[data-plugin=animateList]").each(function(){var b=$(this),c=$.extend({},a.defaults,b.data(),!0),d=function(a,b){this.options=b,this.$children=a.find(b.child),this.$children.addClass("animation-"+b.animate),this.$children.css("animation-fill-mode",b.fill),this.$children.css("animation-duration",b.duration+"ms");var c=0,d=this;this.$children.each(function(){$(this).css("animation-delay",c+"ms"),c+=d.options.delay})};d.prototype={run:function(a){var b=this;this.$children.removeClass("animation-"+this.options.animate),"undefined"!=typeof a&&(this.options.animate=a),setTimeout(function(){b.$children.addClass("animation-"+b.options.animate)},0)}},b.data("animateList",new d(b,c))})}}),$.components.register("animate-list",{mode:"init",defaults:{child:".panel",duration:250,delay:50,animate:"scale-up",fill:"backwards"},init:function(){var a=this;$("[data-plugin=animateList]").each(function(){var b=$(this),c=$.extend({},a.defaults,b.data(),!0),d=function(a,b){this.options=b,this.$children=a.find(b.child),this.$children.addClass("animation-"+b.animate),this.$children.css("animation-fill-mode",b.fill),this.$children.css("animation-duration",b.duration+"ms");var c=0,d=this;this.$children.each(function(){$(this).css("animation-delay",c+"ms"),c+=d.options.delay})};d.prototype={run:function(a){var b=this;this.$children.removeClass("animation-"+this.options.animate),"undefined"!=typeof a&&(this.options.animate=a),setTimeout(function(){b.$children.addClass("animation-"+b.options.animate)},0)}},b.data("animateList",new d(b,c))})}}),$.components.register("animsition",{mode:"manual",defaults:{inClass:"fade-in",outClass:"fade-out",inDuration:800,outDuration:500,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"loader",loadingType:"default",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",inDefaults:["fade-in","fade-in-up-sm","fade-in-up","fade-in-up-lg","fade-in-down-sm","fade-in-down","fade-in-down-lg","fade-in-left-sm","fade-in-left","fade-in-left-lg","fade-in-right-sm","fade-in-right","fade-in-right-lg","zoom-in-sm","zoom-in","zoom-in-lg"],outDefaults:["fade-out","fade-out-up-sm","fade-out-up","fade-out-up-lg","fade-out-down-sm","fade-out-down","fade-out-down-lg","fade-out-left-sm","fade-out-left","fade-out-left-lg","fade-out-right-sm","fade-out-right","fade-out-right-lg","zoom-out-sm","zoom-out","zoom-out-lg"]},init:function(a,b){var c=$.components.getDefaults("animsition");if(c.random){var d=c.inDefaults.length,e=c.outDefaults.length,f=parseInt(d*Math.random(),0),g=parseInt(e*Math.random(),0);c.inClass=c.inDefaults[f],c.outClass=c.outDefaults[g]}var h=$(".animsition",a);return h.animsition(c),$("."+c.loadingClass).addClass("loader-"+c.loadingType),h.animsition("supportCheck",c)?($.isFunction(b)&&h.one("animsition.end",function(){b.call()}),!0):($.isFunction(b)&&b.call(),!1)}}),$.components.register("animsition",{mode:"manual",defaults:{inClass:"fade-in",outClass:"fade-out",inDuration:800,outDuration:500,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"loader",loadingType:"default",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",inDefaults:["fade-in","fade-in-up-sm","fade-in-up","fade-in-up-lg","fade-in-down-sm","fade-in-down","fade-in-down-lg","fade-in-left-sm","fade-in-left","fade-in-left-lg","fade-in-right-sm","fade-in-right","fade-in-right-lg","zoom-in-sm","zoom-in","zoom-in-lg"],outDefaults:["fade-out","fade-out-up-sm","fade-out-up","fade-out-up-lg","fade-out-down-sm","fade-out-down","fade-out-down-lg","fade-out-left-sm","fade-out-left","fade-out-left-lg","fade-out-right-sm","fade-out-right","fade-out-right-lg","zoom-out-sm","zoom-out","zoom-out-lg"]},init:function(a,b){var c=$.components.getDefaults("animsition");if(c.random){var d=c.inDefaults.length,e=c.outDefaults.length,f=parseInt(d*Math.random(),0),g=parseInt(e*Math.random(),0);c.inClass=c.inDefaults[f],c.outClass=c.outDefaults[g]}var h=$(".animsition",a);return h.animsition(c),$("."+c.loadingClass).addClass("loader-"+c.loadingType),h.animsition("supportCheck",c)?($.isFunction(b)&&h.one("animsition.end",function(){b.call()}),!0):($.isFunction(b)&&b.call(),!1)}}),$.components.register("breadcrumb",{mode:"init",defaults:{namespace:"breadcrumb",dropdown:function(){return'<div class="dropdown"><a href="javascript:void(0);" data-toggle="dropdown"><i class="'+this.dropicon+'"></i></a><ul class="'+this.namespace+'-menu dropdown-menu" role="menu"></ul></div>'},dropdownContent:function(a){return'<li><a href="javascript:void(0);">'+a+"</a></li>"}},init:function(a){if($.fn.asBreadcrumbs){var b=$.components.getDefaults("breadcrumb");$('[data-plugin="breadcrumb"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asBreadcrumbs(a)})}}}),$.components.register("breadcrumb",{mode:"init",defaults:{namespace:"breadcrumb",dropdown:function(){return'<div class="dropdown"><a href="javascript:void(0);" data-toggle="dropdown"><i class="'+this.dropicon+'"></i></a><ul class="'+this.namespace+'-menu dropdown-menu" role="menu"></ul></div>'},dropdownContent:function(a){return'<li><a href="javascript:void(0);">'+a+"</a></li>"}},init:function(a){if($.fn.asBreadcrumbs){var b=$.components.getDefaults("breadcrumb");$('[data-plugin="breadcrumb"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asBreadcrumbs(a)})}}}),$.components.register("asColorPicker",{defaults:{namespace:"colorInputUi"},mode:"default"}),$.components.register("asColorPicker",{defaults:{namespace:"colorInputUi"},mode:"default"}),$.components.register("paginator",{mode:"init",defaults:{namespace:"pagination",currentPage:1,itemsPerPage:10,disabledClass:"disabled",activeClass:"active",visibleNum:{0:3,480:5},tpl:function(){return"{{prev}}{{lists}}{{next}}"},components:{prev:{tpl:function(){return'<li class="'+this.namespace+'-prev"><a href="javascript:void(0)"><span class="icon wb-chevron-left-mini"></span></a></li>'}},next:{tpl:function(){return'<li class="'+this.namespace+'-next"><a href="javascript:void(0)"><span class="icon wb-chevron-right-mini"></span></a></li>'}},lists:{tpl:function(){var a="",b=this.currentPage>=this.visible?this.currentPage%this.visible:this.currentPage;b=0===b?this.visible:b;for(var c=1;b>c;c++)a+='<li class="'+this.namespace+'-items" data-value="'+(this.currentPage-b+c)+'"><a href="javascript:void(0)">'+(this.currentPage-b+c)+"</a></li>";a+='<li class="'+this.namespace+"-items "+this.classes.active+'" data-value="'+this.currentPage+'"><a href="javascript:void(0)">'+this.currentPage+"</a></li>";for(var d=this.currentPage+1,e=d+this.visible-b-1>this.totalPages?this.totalPages:d+this.visible-b-1;e>=d;d++)a+='<li class="'+this.namespace+'-items" data-value="'+d+'"><a href="javascript:void(0)">'+d+"</a></li>";return a}}}},init:function(a){if($.fn.asPaginator){var b=$.components.getDefaults("paginator");$('[data-plugin="paginator"]',a).each(function(){var a=$(this),c=a.data(),d=a.data("total");c=$.extend({},b,c),a.asPaginator(d,c)})}}}),$.components.register("paginator",{mode:"init",defaults:{namespace:"pagination",currentPage:1,itemsPerPage:10,disabledClass:"disabled",activeClass:"active",visibleNum:{0:3,480:5},tpl:function(){return"{{prev}}{{lists}}{{next}}"},components:{prev:{tpl:function(){return'<li class="'+this.namespace+'-prev"><a href="javascript:void(0)"><span class="icon wb-chevron-left-mini"></span></a></li>'}},next:{tpl:function(){return'<li class="'+this.namespace+'-next"><a href="javascript:void(0)"><span class="icon wb-chevron-right-mini"></span></a></li>'}},lists:{tpl:function(){var a="",b=this.currentPage>=this.visible?this.currentPage%this.visible:this.currentPage;b=0===b?this.visible:b;for(var c=1;b>c;c++)a+='<li class="'+this.namespace+'-items" data-value="'+(this.currentPage-b+c)+'"><a href="javascript:void(0)">'+(this.currentPage-b+c)+"</a></li>";a+='<li class="'+this.namespace+"-items "+this.classes.active+'" data-value="'+this.currentPage+'"><a href="javascript:void(0)">'+this.currentPage+"</a></li>";for(var d=this.currentPage+1,e=d+this.visible-b-1>this.totalPages?this.totalPages:d+this.visible-b-1;e>=d;d++)a+='<li class="'+this.namespace+'-items" data-value="'+d+'"><a href="javascript:void(0)">'+d+"</a></li>";return a}}}},init:function(a){if($.fn.asPaginator){var b=$.components.getDefaults("paginator");$('[data-plugin="paginator"]',a).each(function(){var a=$(this),c=a.data(),d=a.data("total");c=$.extend({},b,c),a.asPaginator(d,c)})}}}),$.components.register("pieProgress",{mode:"init",defaults:{namespace:"pie-progress",speed:30,classes:{svg:"pie-progress-svg",element:"pie-progress",number:"pie-progress-number",content:"pie-progress-content"}},init:function(a){if($.fn.asPieProgress){var b=$.components.getDefaults("pieProgress");$('[data-plugin="pieProgress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend(!0,{},b,c),a.asPieProgress(c)})}}}),$.components.register("pieProgress",{mode:"init",defaults:{namespace:"pie-progress",speed:30,classes:{svg:"pie-progress-svg",element:"pie-progress",number:"pie-progress-number",content:"pie-progress-content"}},init:function(a){if($.fn.asPieProgress){var b=$.components.getDefaults("pieProgress");$('[data-plugin="pieProgress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend(!0,{},b,c),a.asPieProgress(c)})}}}),$.components.register("progress",{mode:"init",defaults:{bootstrap:!0,onUpdate:function(a){var b=(a-this.min)/(this.max-this.min);.5>b?this.$target.addClass("progress-bar-success").removeClass("progress-bar-warning progress-bar-danger"):b>=.5&&.8>b?this.$target.addClass("progress-bar-warning").removeClass("progress-bar-success progress-bar-danger"):this.$target.addClass("progress-bar-danger").removeClass("progress-bar-success progress-bar-warning")},labelCallback:function(a){var b,c=this.$element.data("labeltype");if("percentage"===c){var d=this.getPercentage(a);b=d+"%"}else if("steps"===c){var e=this.$element.data("totalsteps");e||(e=10);var f=Math.round(e*(a-this.min)/(this.max-this.min));b=f+" / "+e}else b=a;return this.$element.parent().hasClass("contextual-progress")&&this.$element.parent().find(".progress-label").html(b),b}},init:function(a){if($.fn.asProgress){var b=$.components.getDefaults("progress");$('[data-plugin="progress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend({},b,c),a.asProgress(c)})}}}),$.components.register("progress",{mode:"init",defaults:{bootstrap:!0,onUpdate:function(a){var b=(a-this.min)/(this.max-this.min);.5>b?this.$target.addClass("progress-bar-success").removeClass("progress-bar-warning progress-bar-danger"):b>=.5&&.8>b?this.$target.addClass("progress-bar-warning").removeClass("progress-bar-success progress-bar-danger"):this.$target.addClass("progress-bar-danger").removeClass("progress-bar-success progress-bar-warning")},labelCallback:function(a){var b,c=this.$element.data("labeltype");if("percentage"===c){var d=this.getPercentage(a);b=d+"%"}else if("steps"===c){var e=this.$element.data("totalsteps");e||(e=10);var f=Math.round(e*(a-this.min)/(this.max-this.min));b=f+" / "+e}else b=a;return this.$element.parent().hasClass("contextual-progress")&&this.$element.parent().find(".progress-label").html(b),b}},init:function(a){if($.fn.asProgress){var b=$.components.getDefaults("progress");$('[data-plugin="progress"]',a).each(function(){var a=$(this),c=a.data();c=$.extend({},b,c),a.asProgress(c)})}}}),$.components.register("asRange",{mode:"default",defaults:{tip:!1,scale:!1}}),$.components.register("asRange",{mode:"default",defaults:{tip:!1,scale:!1}}),$.components.register("scrollable",{mode:"init",defaults:{namespace:"scrollable",contentSelector:"> [data-role='content']",containerSelector:"> [data-role='container']"},init:function(a){if($.fn.asScrollable){var b=$.components.getDefaults("scrollable");$('[data-plugin="scrollable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asScrollable(a)})}}}),$.components.register("scrollable",{mode:"init",defaults:{namespace:"scrollable",contentSelector:"> [data-role='content']",containerSelector:"> [data-role='container']"},init:function(a){if($.fn.asScrollable){var b=$.components.getDefaults("scrollable");$('[data-plugin="scrollable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asScrollable(a)})}}}),$.components.register("asSpinner",{mode:"default",defaults:{namespace:"spinnerUi",skin:null,min:"-10",max:100,mousewheel:!0}}),$.components.register("asSpinner",{mode:"default",defaults:{namespace:"spinnerUi",skin:null,min:"-10",max:100,mousewheel:!0}}),$.components.register("bootbox",{mode:"api",defaults:{message:""},api:function(){if("undefined"!=typeof bootbox){var a=$.components.getDefaults("bootbox");$(document).on("click.site.bootbox",'[data-plugin="bootbox"]',function(){var b=$(this),c=b.data();if(c=$.extend(!0,{},a,c),c.classname&&(c.className=c.classname),"string"==typeof c.callback&&$.isFunction(window[c.callback])&&(c.callback=window[c.callback]),c.type)switch(c.type){case"alert":bootbox.alert(c);break;case"confirm":bootbox.confirm(c);break;case"prompt":bootbox.prompt(c);break;default:bootbox.dialog(c)}else bootbox.dialog(c)})}}}),$.components.register("bootbox",{mode:"api",defaults:{message:""},api:function(){if("undefined"!=typeof bootbox){var a=$.components.getDefaults("bootbox");$(document).on("click.site.bootbox",'[data-plugin="bootbox"]',function(){var b=$(this),c=b.data();if(c=$.extend(!0,{},a,c),c.classname&&(c.className=c.classname),"string"==typeof c.callback&&$.isFunction(window[c.callback])&&(c.callback=window[c.callback]),c.type)switch(c.type){case"alert":bootbox.alert(c);break;case"confirm":bootbox.confirm(c);break;case"prompt":bootbox.prompt(c);break;default:bootbox.dialog(c)}else bootbox.dialog(c)})}}}),$.components.register("datepicker",{mode:"default",defaults:{autoclose:!0}}),$.components.register("datepicker",{mode:"default",defaults:{autoclose:!0}}),$.components.register("maxlength",{mode:"default",defaults:{}}),$.components.register("maxlength",{mode:"default",defaults:{}}),$.components.register("selectpicker",{mode:"default",defaults:{style:"btn-select",iconBase:"icon",tickIcon:"wb-check"}}),$.components.register("selectpicker",{mode:"default",defaults:{style:"btn-select",iconBase:"icon",tickIcon:"wb-check"}}),$.components.register("sweetalert",{mode:"api",api:function(){if("undefined"!=typeof swal){var a=$.components.getDefaults("sweetalert");$(document).on("click.site.sweetalert",'[data-plugin="sweetalert"]',function(){var b=$.extend(!0,{},a,$(this).data());swal(b)})}}}),$.components.register("sweetalert",{mode:"api",api:function(){if("undefined"!=typeof swal){var a=$.components.getDefaults("sweetalert");$(document).on("click.site.sweetalert",'[data-plugin="sweetalert"]',function(){var b=$.extend(!0,{},a,$(this).data());swal(b)})}}}),$.components.register("tagsinput",{defaults:{tagClass:"label label-default"},mode:"default"}),$.components.register("tagsinput",{defaults:{tagClass:"label label-default"},mode:"default"}),$.components.register("tokenfield",{mode:"default",defaults:{}}),$.components.register("tokenfield",{mode:"default",defaults:{}}),$.components.register("TouchSpin",{mode:"default",defaults:{verticalupclass:"wb-plus",verticaldownclass:"wb-minus",buttondown_class:"btn btn-outline btn-default",buttonup_class:"btn btn-outline btn-default"}}),$.components.register("TouchSpin",{mode:"default",defaults:{verticalupclass:"wb-plus",verticaldownclass:"wb-minus",buttondown_class:"btn btn-outline btn-default",buttonup_class:"btn btn-outline btn-default"}}),$.components.register("treeview",{mode:"init",defaults:{injectStyle:!1,expandIcon:"icon wb-plus",collapseIcon:"icon wb-minus",emptyIcon:"icon",nodeIcon:"icon wb-folder",showBorder:!1,borderColor:$.colors("blue-grey",200),onhoverColor:$.colors("blue-grey",100),selectedColor:"#ffffff",selectedBackColor:$.colors("primary",600),searchResultColor:$.colors("primary",600),searchResultBackColor:"#ffffff"},init:function(a){if($.fn.treeview){var b=$.components.getDefaults("treeview");$('[data-plugin="treeview"]',a).each(function(){var a=$(this),c=a.data();"string"==typeof c.source&&$.isFunction(window[c.source])?(c.data=window[c.source](),delete c.source):$.isFunction(c.souce)&&(c.data=c.source(),delete c.source),c=$.extend(!0,{},b,c),a.treeview(c)})}}}),$.components.register("treeview",{mode:"init",defaults:{injectStyle:!1,expandIcon:"icon wb-plus",collapseIcon:"icon wb-minus",emptyIcon:"icon",nodeIcon:"icon wb-folder",showBorder:!1,borderColor:$.colors("blue-grey",200),onhoverColor:$.colors("blue-grey",100),selectedColor:"#ffffff",selectedBackColor:$.colors("primary",600),searchResultColor:$.colors("primary",600),searchResultBackColor:"#ffffff"},init:function(a){if($.fn.treeview){var b=$.components.getDefaults("treeview");$('[data-plugin="treeview"]',a).each(function(){var a=$(this),c=a.data();"string"==typeof c.source&&$.isFunction(window[c.source])?(c.data=window[c.source](),delete c.source):$.isFunction(c.souce)&&(c.data=c.source(),delete c.source),c=$.extend(!0,{},b,c),a.treeview(c)})}}}),$.components.register("buttons",{mode:"api",defaults:{},api:function(){$(document).on("click.site.loading","[data-loading-text]",function(){var a=$(this),b=a.text(),c=20,d=a.data("loadingText");a.text(d+"("+c+")").css("opacity",".6");var e=setInterval(function(){a.text(d+"("+--c+")"),0===c&&(clearInterval(e),a.text(b).css("opacity","1"))},1e3)}),$(document).on("click.site.morebutton","[data-more]",function(){var a=$($(this).data("more"));a.toggleClass("show")})}}),$.components.register("buttons",{mode:"api",defaults:{},api:function(){$(document).on("click.site.loading","[data-loading-text]",function(){var a=$(this),b=a.text(),c=20,d=a.data("loadingText");a.text(d+"("+c+")").css("opacity",".6");var e=setInterval(function(){a.text(d+"("+--c+")"),0===c&&(clearInterval(e),a.text(b).css("opacity","1"))},1e3)}),$(document).on("click.site.morebutton","[data-more]",function(){var a=$($(this).data("more"));a.toggleClass("show")})}}),$.components.register("card",{mode:"init",defaults:{},init:function(a){if($.fn.card){var b=$.components.getDefaults("card");$('[data-plugin="card"]',a).each(function(){var a=$.extend({},b,$(this).data());a.target&&(a.container=$(a.target)),$(this).card(a)})}}}),$.components.register("card",{mode:"init",defaults:{},init:function(a){if($.fn.card){var b=$.components.getDefaults("card");$('[data-plugin="card"]',a).each(function(){var a=$.extend({},b,$(this).data());a.target&&(a.container=$(a.target)),$(this).card(a)})}}}),$.components.register("clockpicker",{mode:"default",defaults:{donetext:"Done"}}),$.components.register("clockpicker",{mode:"default",defaults:{donetext:"Done"}}),$.components.register("dataTable",{defaults:{responsive:!0,language:{sSearchPlaceholder:"Search..",lengthMenu:"_MENU_",search:"_INPUT_",paginate:{previous:'<i class="icon wb-chevron-left-mini"></i>',next:'<i class="icon wb-chevron-right-mini"></i>'}}},api:function(){$.fn.dataTable&&$.fn.dataTable.TableTools&&$.extend(!0,$.fn.dataTable.TableTools.classes,{container:"DTTT btn-group btn-group pull-left",buttons:{normal:"btn btn-outline btn-default",disabled:"disabled"},print:{body:"site-print DTTT_Print"}})},init:function(a){if($.fn.dataTable){var b=$.components.getDefaults("dataTable");$('[data-plugin="dataTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).dataTable(a)})}}}),$.components.register("dataTable",{defaults:{responsive:!0,language:{sSearchPlaceholder:"Search..",lengthMenu:"_MENU_",search:"_INPUT_",paginate:{previous:'<i class="icon wb-chevron-left-mini"></i>',next:'<i class="icon wb-chevron-right-mini"></i>'}}},api:function(){$.fn.dataTable&&$.fn.dataTable.TableTools&&$.extend(!0,$.fn.dataTable.TableTools.classes,{container:"DTTT btn-group btn-group pull-left",buttons:{normal:"btn btn-outline btn-default",disabled:"disabled"},print:{body:"site-print DTTT_Print"}})},init:function(a){if($.fn.dataTable){var b=$.components.getDefaults("dataTable");$('[data-plugin="dataTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).dataTable(a)})}}}),$.components.register("datepair",{mode:"default",defaults:{startClass:"datepair-start",endClass:"datepair-end",timeClass:"datepair-time",dateClass:"datepair-date"}}),$.components.register("datepair",{mode:"default",defaults:{startClass:"datepair-start",endClass:"datepair-end",timeClass:"datepair-time",dateClass:"datepair-date"}}),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",f)))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.6",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger(a.Event("shown.bs.dropdown",h))}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&j<i.length-1&&j++,~j||(j=0),i.eq(j).trigger("focus")}}}};var h=a.fn.dropdown;a.fn.dropdown=d,a.fn.dropdown.Constructor=g,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=h,this},a(document).on("click.bs.dropdown.data-api",c).on("click.bs.dropdown.data-api",".dropdown form",function(a){a.stopPropagation()}).on("click.bs.dropdown.data-api",f,g.prototype.toggle).on("keydown.bs.dropdown.data-api",f,g.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",g.prototype.keydown)}(jQuery),$.components.register("dropify",{mode:"default",defaults:{}}),$.components.register("dropify",{mode:"default",defaults:{}}),$.components.register("editableTable",{
  mode:"init",init:function(a){if($.fn.editableTableWidget){var b=$.components.getDefaults("editableTable");$('[data-plugin="editableTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).editableTableWidget(a)})}}}),$.components.register("editableTable",{mode:"init",init:function(a){if($.fn.editableTableWidget){var b=$.components.getDefaults("editableTable");$('[data-plugin="editableTable"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).editableTableWidget(a)})}}}),$.components.register("filterable",{mode:"init",defaults:{animationOptions:{duration:750,easing:"linear",queue:!1}},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("filterable"),c=function(){$("[data-filterable]",a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data(),{filter:"*"});a.isotope(c)}),$("[data-filter]",a).click(function(b){var c=$(this),d=c.data("target"),e=c.parent("li");d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e.siblings(".active").each(function(){$(this).find("a").attr("aria-expanded",!1),$(this).removeClass("active")}),e.addClass("active"),c.attr("aria-expanded",!0);var f=$(d,a),g=c.attr("data-filter");"*"!==g&&(g='[data-type="'+g+'"]'),f.isotope({filter:g}),b.preventDefault()})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("filterable",{mode:"init",defaults:{animationOptions:{duration:750,easing:"linear",queue:!1}},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("filterable"),c=function(){$("[data-filterable]",a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data(),{filter:"*"});a.isotope(c)}),$("[data-filter]",a).click(function(b){var c=$(this),d=c.data("target"),e=c.parent("li");d||(d=c.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),e.siblings(".active").each(function(){$(this).find("a").attr("aria-expanded",!1),$(this).removeClass("active")}),e.addClass("active"),c.attr("aria-expanded",!0);var f=$(d,a),g=c.attr("data-filter");"*"!==g&&(g='[data-type="'+g+'"]'),f.isotope({filter:g}),b.preventDefault()})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("formatter",{mode:"init",defaults:{persistent:!0},init:function(a){if($.fn.formatter){var b,c=$.components.getDefaults("formatter"),d=navigator.userAgent.toLowerCase();b=/msie/i.test(d)&&!/opera/.test(d)?{persistent:!1}:{},$('[data-plugin="formatter"]',a).each(function(){var a=$.extend({},c,b,$(this).data());a.pattern&&(a.pattern=a.pattern.replace(/\[\[/g,"{{").replace(/\]\]/g,"}}")),$(this).formatter(a)})}}}),$.components.register("formatter",{mode:"init",defaults:{persistent:!0},init:function(a){if($.fn.formatter){var b,c=$.components.getDefaults("formatter"),d=navigator.userAgent.toLowerCase();b=/msie/i.test(d)&&!/opera/.test(d)?{persistent:!1}:{},$('[data-plugin="formatter"]',a).each(function(){var a=$.extend({},c,b,$(this).data());a.pattern&&(a.pattern=a.pattern.replace(/\[\[/g,"{{").replace(/\]\]/g,"}}")),$(this).formatter(a)})}}}),$.components.register("gauge",{mode:"init",defaults:{lines:12,angle:.12,lineWidth:.4,pointer:{length:.68,strokeWidth:.03,color:$.colors("blue-grey",400)},limitMax:!0,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("gauge");$('[data-plugin="gauge"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".gauge-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Gauge(e[0]).setOptions(c);a.data("gauge",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("donut",{mode:"init",defaults:{lines:12,angle:.3,lineWidth:.08,pointer:{length:.9,strokeWidth:.035,color:$.colors("blue-grey",400)},limitMax:!1,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("donut");$('[data-plugin="donut"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".donut-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Donut(e[0]).setOptions(c);a.data("donut",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("gauge",{mode:"init",defaults:{lines:12,angle:.12,lineWidth:.4,pointer:{length:.68,strokeWidth:.03,color:$.colors("blue-grey",400)},limitMax:!0,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("gauge");$('[data-plugin="gauge"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".gauge-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Gauge(e[0]).setOptions(c);a.data("gauge",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("donut",{mode:"init",defaults:{lines:12,angle:.3,lineWidth:.08,pointer:{length:.9,strokeWidth:.035,color:$.colors("blue-grey",400)},limitMax:!1,colorStart:$.colors("blue-grey",200),colorStop:$.colors("blue-grey",200),strokeColor:$.colors("primary",500),generateGradient:!0},init:function(a){if(Gauge){var b=$.components.getDefaults("donut");$('[data-plugin="donut"]',a).each(function(){var a=$(this),c=a.data(),d=a.find(".donut-label"),e=a.find("canvas");if(c=$.extend(!0,{},b,c),0!==e.length){var f=new Donut(e[0]).setOptions(c);a.data("donut",f),f.animationSpeed=50,f.maxValue=a.data("max-value"),f.set(a.data("value")),d.length>0&&f.setTextField(d[0])}})}}}),$.components.register("gmaps",{styles:[{featureType:"landscape",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#e0e0e0"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","200")}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#000000"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{color:$.colors("blue-grey","200")},{weight:.5}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"on"},{color:$.colors("blue-grey","700")}]},{featureType:"road.local",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"transit",elementType:"all",stylers:[{color:$.colors("blue-grey","100")}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]},{featureType:"administrative.neighborhood",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels.icon",stylers:[{visibility:"on"},{hue:"#ffffff"},{saturation:-100},{lightness:50}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"administrative.neighborhood",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]}]}),$.components.register("gmaps",{styles:[{featureType:"landscape",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"poi",elementType:"all",stylers:[{color:"#ffffff"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"administrative",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road.highway",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.fill",stylers:[{color:"#e0e0e0"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:$.colors("blue-grey","200")}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#000000"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi.attraction",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{color:$.colors("blue-grey","200")},{weight:.5}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:$.colors("blue-grey","300")}]},{featureType:"road.arterial",elementType:"geometry.stroke",stylers:[{visibility:"off"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"},{color:"#000000"}]},{featureType:"poi",elementType:"labels.text",stylers:[{visibility:"on"},{color:$.colors("blue-grey","700")}]},{featureType:"road.local",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"transit",elementType:"all",stylers:[{color:$.colors("blue-grey","100")}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","500")}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{visibility:"off"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]},{featureType:"administrative.neighborhood",elementType:"labels.text",stylers:[{color:$.colors("blue-grey","700")}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"road.highway",elementType:"labels.icon",stylers:[{visibility:"on"},{hue:"#ffffff"},{saturation:-100},{lightness:50}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"}]},{featureType:"administrative.neighborhood",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"administrative",elementType:"labels.text.stroke",stylers:[{color:"#ffffff"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:$.colors("blue-grey","600")}]}]}),$.components.register("gridstack",{mode:"init",defaults:{cell_height:80,vertical_margin:20},init:function(a){if($.fn.gridstack){var b=$.components.getDefaults("gridstack");$('[data-plugin="gridstack"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).gridstack(a)})}}}),$.components.register("gridstack",{mode:"init",defaults:{cell_height:80,vertical_margin:20},init:function(a){if($.fn.gridstack){var b=$.components.getDefaults("gridstack");$('[data-plugin="gridstack"]',a).each(function(){var a=$.extend(!0,{},b,$(this).data());$(this).gridstack(a)})}}}),$.components.register("highlight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.hightlight){$.components.getDefaults("highlight");$('[data-plugin="highlight"]',a).each(function(a,b){hljs.highlightBlock(b)})}}}),$.components.register("highlight",{mode:"init",defaults:{},init:function(a){"undefined"!=typeof $.fn.hightlight&&($.components.getDefaults("highlight"),$('[data-plugin="highlight"]',a).each(function(a,b){hljs.highlightBlock(b)}))}}),$.components.register("sortable",{defaults:{},mode:"default"}),$.components.register("sortable",{defaults:{},mode:"default"}),$.components.register("iCheck",{mode:"default",defaults:{}}),$.components.register("iCheck",{mode:"default",defaults:{}}),$.components.register("input-group-file",{api:function(){$(document).on("change",".input-group-file [type=file]",function(){var a=$(this),b=$(this).parents(".input-group-file").find(".form-control"),c="";$.each(a[0].files,function(a,b){c+=b.name+", "}),c=c.substring(0,c.length-2),b.val(c)})}}),$.components.register("input-group-file",{api:function(){$(document).on("change",".input-group-file [type=file]",function(){var a=$(this),b=$(this).parents(".input-group-file").find(".form-control"),c="";$.each(a[0].files,function(a,b){c+=b.name+", "}),c=c.substring(0,c.length-2),b.val(c)})}}),$.components.register("isotope",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("isotope"),c=function(){$('[data-plugin="isotope"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.isotope(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("isotope",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.isotope){var b=$.components.getDefaults("isotope"),c=function(){$('[data-plugin="isotope"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.isotope(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("appear",{defaults:{},api:function(a){$.fn.appear&&($(document).on("appear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||(a.removeClass("invisible").addClass("animation-"+b),a.data("repeat")===!1&&a.addClass("appear-no-repeat"))}),$(document).on("disappear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||a.addClass("invisible").removeClass("animation-"+b)}))},init:function(a){if($.fn.appear){var b=$.components.getDefaults("appear");$('[data-plugin="appear"]',a).appear(b),$('[data-plugin="appear"]',a).not(":appeared").addClass("invisible")}}}),$.components.register("appear",{defaults:{},api:function(a){$.fn.appear&&($(document).on("appear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||(a.removeClass("invisible").addClass("animation-"+b),a.data("repeat")===!1&&a.addClass("appear-no-repeat"))}),$(document).on("disappear",'[data-plugin="appear"]',function(){var a=$(this),b=a.data("animate");a.hasClass("appear-no-repeat")||a.addClass("invisible").removeClass("animation-"+b)}))},init:function(a){if($.fn.appear){var b=$.components.getDefaults("appear");$('[data-plugin="appear"]',a).appear(b),$('[data-plugin="appear"]',a).not(":appeared").addClass("invisible")}}}),$.components.register("floatThead",{mode:"default",defaults:{top:function(){return $(".site-navbar").outerHeight()},position:"absolute"}}),$.components.register("floatThead",{mode:"default",defaults:{top:function(){return $(".site-navbar").outerHeight()},position:"absolute"}}),$.components.register("knob",{mode:"default",defaults:{min:-50,max:50,width:120,height:120,thickness:".1"}}),$.components.register("knob",{mode:"default",defaults:{min:-50,max:50,width:120,height:120,thickness:".1"}}),$.components.register("labelauty",{mode:"default",defaults:{same_width:!0}}),$.components.register("labelauty",{mode:"default",defaults:{same_width:!0}}),$.components.register("placeholder",{mode:"init",init:function(a){$.fn.placeholder&&$("input, textarea",a).placeholder()}}),$.components.register("placeholder",{mode:"init",init:function(a){$.fn.placeholder&&$("input, textarea",a).placeholder()}}),$.components.register("strength",{mode:"default",defaults:{showMeter:!0,showToggle:!1,templates:{toggle:'<div class="checkbox-custom checkbox-primary show-password-wrap"><input type="checkbox" class="{toggleClass}" title="Show/Hide Password" id="show_password" /><label for="show_password">Show Password</label></div>',meter:'<div class="{meterClass}">{score}</div>',score:'<div class="{scoreClass}"></div>',main:'<div class="{containerClass}">{input}{meter}{toggle}</div>'},classes:{container:"strength-container",status:"strength-{status}",input:"strength-input",toggle:"strength-toggle",meter:"strength-meter",score:"strength-score"},scoreLables:{invalid:"Invalid",weak:"Weak",good:"Good",strong:"Strong"},scoreClasses:{invalid:"strength-invalid",weak:"strength-weak",good:"strength-good",strong:"strength-strong"}}}),$.components.register("strength",{mode:"default",defaults:{showMeter:!0,showToggle:!1,templates:{toggle:'<div class="checkbox-custom checkbox-primary show-password-wrap"><input type="checkbox" class="{toggleClass}" title="Show/Hide Password" id="show_password" /><label for="show_password">Show Password</label></div>',meter:'<div class="{meterClass}">{score}</div>',score:'<div class="{scoreClass}"></div>',main:'<div class="{containerClass}">{input}{meter}{toggle}</div>'},classes:{container:"strength-container",status:"strength-{status}",input:"strength-input",toggle:"strength-toggle",meter:"strength-meter",score:"strength-score"},scoreLables:{invalid:"Invalid",weak:"Weak",good:"Good",strong:"Strong"},scoreClasses:{invalid:"strength-invalid",weak:"strength-weak",good:"strength-good",strong:"strength-strong"}}}),$.components.register("wizard",{mode:"default",defaults:{step:".steps .step, .pearls .pearl",templates:{buttons:function(){var a=this.options;return'<div class="wizard-buttons"><a class="btn btn-default btn-outline" href="#'+this.id+'" data-wizard="back" role="button">'+a.buttonLabels.back+'</a><a class="btn btn-primary btn-outline pull-right" href="#'+this.id+'" data-wizard="next" role="button">'+a.buttonLabels.next+'</a><a class="btn btn-success btn-outline pull-right" href="#'+this.id+'" data-wizard="finish" role="button">'+a.buttonLabels.finish+"</a></div>"}}}}),$.components.register("wizard",{mode:"default",defaults:{step:".steps .step, .pearls .pearl",templates:{buttons:function(){var a=this.options;return'<div class="wizard-buttons"><a class="btn btn-default btn-outline" href="#'+this.id+'" data-wizard="back" role="button">'+a.buttonLabels.back+'</a><a class="btn btn-primary btn-outline pull-right" href="#'+this.id+'" data-wizard="next" role="button">'+a.buttonLabels.next+'</a><a class="btn btn-success btn-outline pull-right" href="#'+this.id+'" data-wizard="finish" role="button">'+a.buttonLabels.finish+"</a></div>"}}}}),$.components.register("timepicker",{mode:"default",defaults:{}}),$.components.register("timepicker",{mode:"default",defaults:{}}),$.components.register("vectorMap",{mode:"default",defaults:{map:"world_mill_en",backgroundColor:"#fff",zoomAnimate:!0,regionStyle:{initial:{fill:$.colors("primary",600)},hover:{fill:$.colors("primary",500)},selected:{fill:$.colors("primary",800)},selectedHover:{fill:$.colors("primary",500)}},markerStyle:{initial:{r:8,fill:$.colors("red",600),"stroke-width":0},hover:{r:12,stroke:$.colors("red",600),"stroke-width":0}}}}),$.components.register("vectorMap",{mode:"default",defaults:{map:"world_mill_en",backgroundColor:"#fff",zoomAnimate:!0,regionStyle:{initial:{fill:$.colors("primary",600)},hover:{fill:$.colors("primary",500)},selected:{fill:$.colors("primary",800)},selectedHover:{fill:$.colors("primary",500)}},markerStyle:{initial:{r:8,fill:$.colors("red",600),"stroke-width":0},hover:{r:12,stroke:$.colors("red",600),"stroke-width":0}}}}),$.components.register("ladda",{mode:"init",defaults:{timeout:2e3},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("ladda");Ladda.bind('[data-plugin="ladda"]',a)}}}),$.components.register("laddaProgress",{mode:"init",defaults:{init:function(a){var b=0,c=setInterval(function(){b=Math.min(b+.1*Math.random(),1),a.setProgress(b),1===b&&(a.stop(),clearInterval(c))},200)}},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("laddaProgress");Ladda.bind('[data-plugin="laddaProgress"]',a)}}}),$.components.register("ladda",{mode:"init",defaults:{timeout:2e3},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("ladda");Ladda.bind('[data-plugin="ladda"]',a)}}}),$.components.register("laddaProgress",{mode:"init",defaults:{init:function(a){var b=0,c=setInterval(function(){b=Math.min(b+.1*Math.random(),1),a.setProgress(b),1===b&&(a.stop(),clearInterval(c))},200)}},init:function(){if("undefined"!=typeof Ladda){var a=$.components.getDefaults("laddaProgress");Ladda.bind('[data-plugin="laddaProgress"]',a)}}}),$.components.register("magnificPopup",{mode:"default",defaults:{type:"image",closeOnContentClick:!0,image:{verticalFit:!0}}}),$.components.register("magnificPopup",{mode:"default",defaults:{type:"image",closeOnContentClick:!0,image:{verticalFit:!0}}}),$.components.register("masonry",{mode:"init",defaults:{itemSelector:".masonry-item"},init:function(a){if("undefined"!=typeof $.fn.masonry){var b=$.components.getDefaults("masonry"),c=function(){$('[data-plugin="masonry"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.masonry(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("masonry",{mode:"init",defaults:{itemSelector:".masonry-item"},init:function(a){if("undefined"!=typeof $.fn.masonry){var b=$.components.getDefaults("masonry"),c=function(){$('[data-plugin="masonry"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());a.masonry(c)})};a!==document?c():$(window).on("load",function(){c()})}}}),$.components.register("matchHeight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.matchHeight){var b=$.components.getDefaults("matchHeight");$('[data-plugin="matchHeight"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data()),d=a.data("matchSelector");d?a.find(d).matchHeight(c):a.children().matchHeight(c)})}}}),$.components.register("matchHeight",{mode:"init",defaults:{},init:function(a){if("undefined"!=typeof $.fn.matchHeight){var b=$.components.getDefaults("matchHeight");$('[data-plugin="matchHeight"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data()),d=a.data("matchSelector");d?a.find(d).matchHeight(c):a.children().matchHeight(c)})}}}),$.components.register("material",{init:function(a){$(".form-material",a).each(function(){var a=$(this);if(a.data("material")!==!0){var b=a.find(".form-control");if(b.attr("data-hint")&&b.after("<div class=hint>"+b.attr("data-hint")+"</div>"),a.hasClass("floating")){if(b.hasClass("floating-label")){var c=b.attr("placeholder");b.attr("placeholder",null).removeClass("floating-label"),b.after("<div class=floating-label>"+c+"</div>")}null!==b.val()&&"undefined"!=b.val()&&""!==b.val()||b.addClass("empty")}b.next().is("[type=file]")&&a.addClass("form-material-file"),a.data("material",!0)}})},api:function(){function a(a){return"undefined"==typeof a.which?!0:"number"==typeof a.which&&a.which>0?!a.ctrlKey&&!a.metaKey&&!a.altKey&&8!=a.which&&9!=a.which:!1}$(document).on("keydown.site.material paste.site.material",".form-control",function(b){a(b)&&$(this).removeClass("empty")}).on("keyup.site.material change.site.material",".form-control",function(){var a=$(this);""===a.val()&&"undefined"!=typeof a[0].checkValidity&&a[0].checkValidity()?a.addClass("empty"):a.removeClass("empty")}).on("focus",".form-material-file",function(){$(this).find("input").addClass("focus")}).on("blur",".form-material-file",function(){$(this).find("input").removeClass("focus")}).on("change",".form-material-file [type=file]",function(){var a=$(this),b="";$.each(a[0].files,function(a,c){b+=c.name+", "}),b=b.substring(0,b.length-2),b?a.prev().removeClass("empty"):a.prev().addClass("empty"),a.prev().val(b)})}}),$.components.register("material",{init:function(a){$(".form-material",a).each(function(){var a=$(this);if(a.data("material")!==!0){var b=a.find(".form-control");if(b.attr("data-hint")&&b.after("<div class=hint>"+b.attr("data-hint")+"</div>"),a.hasClass("floating")){if(b.hasClass("floating-label")){var c=b.attr("placeholder");b.attr("placeholder",null).removeClass("floating-label"),b.after("<div class=floating-label>"+c+"</div>")}(null===b.val()||"undefined"==b.val()||""===b.val())&&b.addClass("empty")}b.next().is("[type=file]")&&a.addClass("form-material-file"),a.data("material",!0)}})},api:function(){function a(a){return"undefined"==typeof a.which?!0:"number"==typeof a.which&&a.which>0?!a.ctrlKey&&!a.metaKey&&!a.altKey&&8!=a.which&&9!=a.which:!1}$(document).on("keydown.site.material paste.site.material",".form-control",function(b){a(b)&&$(this).removeClass("empty")}).on("keyup.site.material change.site.material",".form-control",function(){var a=$(this);""===a.val()&&"undefined"!=typeof a[0].checkValidity&&a[0].checkValidity()?a.addClass("empty"):a.removeClass("empty")}).on("focus",".form-material-file",function(){$(this).find("input").addClass("focus")}).on("blur",".form-material-file",function(){$(this).find("input").removeClass("focus")}).on("change",".form-material-file [type=file]",function(){var a=$(this),b="";$.each(a[0].files,function(a,c){b+=c.name+", "}),b=b.substring(0,b.length-2),b?a.prev().removeClass("empty"):a.prev().addClass("empty"),a.prev().val(b)})}}),$.components.register("multiSelect",{mode:"default",defaults:{}}),$.components.register("multiSelect",{mode:"default",defaults:{}}),$.components.register("nestable",{mode:"default"}),$.components.register("nestable",{mode:"default"}),$.components.register("nprogress",{mode:"init",defaults:{minimum:.15,trickleRate:.07,trickleSpeed:360,showSpinner:!1,template:'<div class="bar" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'},init:function(){if("undefined"!=typeof NProgress){var a=$.components.getDefaults("nprogress");NProgress.configure(a)}}}),$.components.register("nprogress",{mode:"init",defaults:{minimum:.15,trickleRate:.07,trickleSpeed:360,showSpinner:!1,template:'<div class="bar" role="bar"></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'},init:function(){if("undefined"!=typeof NProgress){var a=$.components.getDefaults("nprogress");NProgress.configure(a)}}}),$.components.register("owlCarousel",{mode:"default",defaults:{loop:!0,nav:!0,dots:!1,dotsClass:"owl-dots owl-dots-fall",responsive:{0:{items:1},600:{items:3}}}}),$.components.register("owlCarousel",{mode:"default",defaults:{loop:!0,nav:!0,dots:!1,dotsClass:"owl-dots owl-dots-fall",responsive:{0:{items:1},600:{items:3}}}}),$.components.register("panel",{api:function(){$(document).on("click.site.panel",'[data-toggle="panel-fullscreen"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleFullscreen()}),$(document).on("click.site.panel",'[data-toggle="panel-collapse"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleContent()}),$(document).on("click.site.panel",'[data-toggle="panel-close"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.close()}),$(document).on("click.site.panel",'[data-toggle="panel-refresh"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api"),e=b.data("loadCallback");$.isFunction(window[e])?d.load(window[e]):d.load()})},init:function(a){$(".panel",a).each(function(){var a,b=$(this),c=!1,d=!1,e=!1,f=!1,g=b.find('[data-toggle="panel-fullscreen"]'),h=b.find('[data-toggle="panel-collapse"]'),i=this;b.hasClass("is-collapse")&&(e=!0);var j={load:function(c){var d=b.data("loader-type");d||(d="default"),a=$('<div class="panel-loading"><div class="loader loader-'+d+'"></div></div>'),a.appendTo(b),b.addClass("is-loading"),b.trigger("loading.uikit.panel"),f=!0,$.isFunction(c)&&c.call(i,this.done)},done:function(){f===!0&&(a.remove(),b.removeClass("is-loading"),b.trigger("loading.done.uikit.panel"))},toggleContent:function(){e?this.showContent():this.hideContent()},showContent:function(){e!==!1&&(b.removeClass("is-collapse"),h.hasClass("wb-plus")&&h.removeClass("wb-plus").addClass("wb-minus"),b.trigger("shown.uikit.panel"),e=!1)},hideContent:function(){e!==!0&&(b.addClass("is-collapse"),h.hasClass("wb-minus")&&h.removeClass("wb-minus").addClass("wb-plus"),b.trigger("hidden.uikit.panel"),e=!0)},toggleFullscreen:function(){c?this.leaveFullscreen():this.enterFullscreen()},enterFullscreen:function(){c!==!0&&(b.addClass("is-fullscreen"),g.hasClass("wb-expand")&&g.removeClass("wb-expand").addClass("wb-contract"),b.trigger("enter.fullscreen.uikit.panel"),c=!0)},leaveFullscreen:function(){c!==!1&&(b.removeClass("is-fullscreen"),g.hasClass("wb-contract")&&g.removeClass("wb-contract").addClass("wb-expand"),b.trigger("leave.fullscreen.uikit.panel"),c=!1)},toggle:function(){d?this.open():this.close()},open:function(){d!==!1&&(b.removeClass("is-close"),b.trigger("open.uikit.panel"),d=!1)},close:function(){d!==!0&&(b.addClass("is-close"),b.trigger("close.uikit.panel"),d=!0)}};b.data("panel-api",j)})}}),$.components.register("panel",{api:function(){$(document).on("click.site.panel",'[data-toggle="panel-fullscreen"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleFullscreen()}),$(document).on("click.site.panel",'[data-toggle="panel-collapse"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.toggleContent()}),$(document).on("click.site.panel",'[data-toggle="panel-close"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api");d.close()}),$(document).on("click.site.panel",'[data-toggle="panel-refresh"]',function(a){a.preventDefault();var b=$(this),c=b.closest(".panel"),d=c.data("panel-api"),e=b.data("loadCallback");$.isFunction(window[e])?d.load(window[e]):d.load()})},init:function(a){$(".panel",a).each(function(){var a,b=$(this),c=!1,d=!1,e=!1,f=!1,g=b.find('[data-toggle="panel-fullscreen"]'),h=b.find('[data-toggle="panel-collapse"]'),i=this;b.hasClass("is-collapse")&&(e=!0);var j={load:function(c){var d=b.data("loader-type");d||(d="default"),a=$('<div class="panel-loading"><div class="loader loader-'+d+'"></div></div>'),a.appendTo(b),b.addClass("is-loading"),b.trigger("loading.uikit.panel"),f=!0,$.isFunction(c)&&c.call(i,this.done)},done:function(){f===!0&&(a.remove(),b.removeClass("is-loading"),b.trigger("loading.done.uikit.panel"))},toggleContent:function(){e?this.showContent():this.hideContent()},showContent:function(){e!==!1&&(b.removeClass("is-collapse"),h.hasClass("wb-plus")&&h.removeClass("wb-plus").addClass("wb-minus"),b.trigger("shown.uikit.panel"),e=!1)},hideContent:function(){e!==!0&&(b.addClass("is-collapse"),h.hasClass("wb-minus")&&h.removeClass("wb-minus").addClass("wb-plus"),b.trigger("hidden.uikit.panel"),e=!0)},toggleFullscreen:function(){c?this.leaveFullscreen():this.enterFullscreen()},enterFullscreen:function(){c!==!0&&(b.addClass("is-fullscreen"),g.hasClass("wb-expand")&&g.removeClass("wb-expand").addClass("wb-contract"),b.trigger("enter.fullscreen.uikit.panel"),c=!0)},leaveFullscreen:function(){c!==!1&&(b.removeClass("is-fullscreen"),g.hasClass("wb-contract")&&g.removeClass("wb-contract").addClass("wb-expand"),b.trigger("leave.fullscreen.uikit.panel"),c=!1)},toggle:function(){d?this.open():this.close()},open:function(){d!==!1&&(b.removeClass("is-close"),b.trigger("open.uikit.panel"),
  d=!1)},close:function(){d!==!0&&(b.addClass("is-close"),b.trigger("close.uikit.panel"),d=!0)}};b.data("panel-api",j)})}}),$.components.register("peityBar",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",400)],height:22,max:null,min:0,padding:.1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityBar");$('[data-plugin="peityBar"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[400]]}c=$.extend(!0,{},b,c),a.peity("bar",c)})}}}),$.components.register("peityDonut",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,innerRadius:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityDonut");$('[data-plugin="peityDonut"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("donut",c)})}}}),$.components.register("peityLine",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",200)],height:22,max:null,min:0,stroke:$.colors("primary",600),strokeWidth:1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityLine");$('[data-plugin="peityLine"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[200]],b.stroke=d[600]}c=$.extend(!0,{},b,c),a.peity("line",c)})}}}),$.components.register("peityPie",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityPie");$('[data-plugin="peityPie"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("pie",c)})}}}),$.components.register("peityBar",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",400)],height:22,max:null,min:0,padding:.1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityBar");$('[data-plugin="peityBar"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[400]]}c=$.extend(!0,{},b,c),a.peity("bar",c)})}}}),$.components.register("peityDonut",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,innerRadius:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityDonut");$('[data-plugin="peityDonut"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("donut",c)})}}}),$.components.register("peityLine",{mode:"init",defaults:{delimiter:",",fill:[$.colors("primary",200)],height:22,max:null,min:0,stroke:$.colors("primary",600),strokeWidth:1,width:44},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityLine");$('[data-plugin="peityLine"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[200]],b.stroke=d[600]}c=$.extend(!0,{},b,c),a.peity("line",c)})}}}),$.components.register("peityPie",{mode:"init",defaults:{delimiter:null,fill:[$.colors("primary",700),$.colors("primary",400),$.colors("primary",200)],height:null,radius:11,width:null},init:function(a){if($.fn.peity){var b=$.components.getDefaults("peityPie");$('[data-plugin="peityPie"]',a).each(function(){var a=$(this),c=a.data();if(c.skin&&$.colors(c.skin)){var d=$.colors(c.skin);b.fill=[d[700],d[400],d[200]]}c=$.extend(!0,{},b,c),a.peity("pie",c)})}}}),$.components.register("plyr",{mode:"init",init:function(){"undefined"!=typeof plyr&&(!function(a,b){var c=new XMLHttpRequest,d=a.body;"withCredentials"in c&&(c.open("GET",b,!0),c.send(),c.onload=function(){var b=a.createElement("div");b.style.display="none",b.innerHTML=c.responseText,d.insertBefore(b,d.childNodes[0])})}(document,"https://cdn.plyr.io/1.1.5/sprite.svg"),plyr.setup())}}),$.components.register("plyr",{mode:"init",init:function(){"undefined"!=typeof plyr&&(!function(a,b){var c=new XMLHttpRequest,d=a.body;"withCredentials"in c&&(c.open("GET",b,!0),c.send(),c.onload=function(){var b=a.createElement("div");b.style.display="none",b.innerHTML=c.responseText,d.insertBefore(b,d.childNodes[0])})}(document,"https://cdn.plyr.io/1.1.5/sprite.svg"),plyr.setup())}}),$.components.register("rating",{mode:"init",defaults:{targetKeep:!0,icon:"font",starType:"i",starOff:"icon wb-star",starOn:"icon wb-star orange-600",cancelOff:"icon wb-minus-circle",cancelOn:"icon wb-minus-circle orange-600",starHalf:"icon wb-star-half orange-500"},init:function(a){if($.fn.raty){var b=$.components.getDefaults("rating");$('[data-plugin="rating"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());c.hints&&(c.hints=c.hints.split(",")),a.raty(c)})}}}),$.components.register("rating",{mode:"init",defaults:{targetKeep:!0,icon:"font",starType:"i",starOff:"icon wb-star",starOn:"icon wb-star orange-600",cancelOff:"icon wb-minus-circle",cancelOn:"icon wb-minus-circle orange-600",starHalf:"icon wb-star-half orange-500"},init:function(a){if($.fn.raty){var b=$.components.getDefaults("rating");$('[data-plugin="rating"]',a).each(function(){var a=$(this),c=$.extend(!0,{},b,a.data());c.hints&&(c.hints=c.hints.split(",")),a.raty(c)})}}}),$.components.register("select2",{mode:"default",defaults:{width:"style"}}),$.components.register("select2",{mode:"default",defaults:{width:"style"}}),$.components.register("selectable",{mode:"init",defaults:{allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},init:function(a){if($.fn.asSelectable){var b=$.components.getDefaults("selectable");$('[data-plugin="selectable"], [data-selectable="selectable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asSelectable(a)})}}}),$.components.register("selectable",{mode:"init",defaults:{allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},init:function(a){if($.fn.asSelectable){var b=$.components.getDefaults("selectable");$('[data-plugin="selectable"], [data-selectable="selectable"]',a).each(function(){var a=$.extend({},b,$(this).data());$(this).asSelectable(a)})}}}),$.components.register("slidePanel",{mode:"manual",defaults:{closeSelector:".slidePanel-close",mouseDragHandler:".slidePanel-handler",loading:{template:function(a){return'<div class="'+a.classes.loading+'"><div class="loader loader-default"></div></div>'},showCallback:function(a){this.$el.addClass(a.classes.loading+"-show")},hideCallback:function(a){this.$el.removeClass(a.classes.loading+"-show")}}}}),$.components.register("slidePanel",{mode:"manual",defaults:{closeSelector:".slidePanel-close",mouseDragHandler:".slidePanel-handler",loading:{template:function(a){return'<div class="'+a.classes.loading+'"><div class="loader loader-default"></div></div>'},showCallback:function(a){this.$el.addClass(a.classes.loading+"-show")},hideCallback:function(a){this.$el.removeClass(a.classes.loading+"-show")}}}}),$.components.register("summernote",{mode:"default",defaults:{height:300}}),$.components.register("summernote",{mode:"default",defaults:{height:300}}),$.components.register("switchery",{mode:"init",defaults:{color:$.colors("primary",600)},init:function(a){if("undefined"!=typeof Switchery){var b=$.components.getDefaults("switchery");$('[data-plugin="switchery"]',a).each(function(){var a=$.extend({},b,$(this).data());new Switchery(this,a)})}}}),$.components.register("switchery",{mode:"init",defaults:{color:$.colors("primary",600)},init:function(a){if("undefined"!=typeof Switchery){var b=$.components.getDefaults("switchery");$('[data-plugin="switchery"]',a).each(function(){var a=$.extend({},b,$(this).data());new Switchery(this,a)})}}}),$.components.register("table",{mode:"api",api:function(a){function b(a){"checkbox"===a.target.type||"button"===a.target.type||"a"===a.target.tagName.toLowerCase()||$(a.target).parent("div.checkbox-custom").length||($(this).hasClass("active")?$(this).removeClass("active"):($(this).siblings(".table-section").removeClass("active"),$(this).addClass("active")))}var c="undefined"!=typeof document.ontouchstart,d="click";c&&(d="touchstart"),$(document).on(d,".table-section",function(a){b.call(this,a)})}}),$.components.register("table",{mode:"api",api:function(a){function b(a){"checkbox"===a.target.type||"button"===a.target.type||"a"===a.target.tagName.toLowerCase()||$(a.target).parent("div.checkbox-custom").length||($(this).hasClass("active")?$(this).removeClass("active"):($(this).siblings(".table-section").removeClass("active"),$(this).addClass("active")))}var c="undefined"!=typeof document.ontouchstart,d="click";c&&(d="touchstart"),$(document).on(d,".table-section",function(a){b.call(this,a)})}}),$.components.register("verticalTab",{mode:"init",init:function(a){$.fn.matchHeight&&$(".nav-tabs-vertical",a).each(function(){$(this).children().matchHeight()})}}),$.components.register("horizontalTab",{mode:"init",init:function(a){$.fn.responsiveHorizontalTabs&&$(".nav-tabs-horizontal",a).responsiveHorizontalTabs()}}),$.components.register("verticalTab",{mode:"init",init:function(a){$.fn.matchHeight&&$(".nav-tabs-vertical",a).each(function(){$(this).children().matchHeight()})}}),$.components.register("horizontalTab",{mode:"init",init:function(a){$.fn.responsiveHorizontalTabs&&$(".nav-tabs-horizontal",a).responsiveHorizontalTabs()}}),$.components.register("taskList",{mode:"api",api:function(){$(document).on("change.site.task",'[data-role="task"]',function(){var a=$(this),b=a.find('[type="checkbox"]');b.is(":checked")?a.addClass("task-done"):a.removeClass("task-done")}),$('[data-role="task"]').trigger("change.site.task")}}),$.components.register("taskList",{mode:"api",api:function(){$(document).on("change.site.task",'[data-role="task"]',function(){var a=$(this),b=a.find('[type="checkbox"]');b.is(":checked")?a.addClass("task-done"):a.removeClass("task-done")}),$('[data-role="task"]').trigger("change.site.task")}}),$.components.register("toastr",{mode:"api",api:function(){if("undefined"!=typeof toastr){var a=$.components.getDefaults("toastr");$(document).on("click.site.toastr",'[data-plugin="toastr"]',function(b){b.preventDefault();var c=$(this),d=$.extend(!0,{},a,c.data()),e=d.message||"",f=d.type||"info",g=d.title||void 0;switch(f){case"success":toastr.success(e,g,d);break;case"warning":toastr.warning(e,g,d);break;case"error":toastr.error(e,g,d);break;case"info":toastr.info(e,g,d);break;default:toastr.info(e,g,d)}})}}}),$.components.register("toastr",{mode:"api",api:function(){if("undefined"!=typeof toastr){var a=$.components.getDefaults("toastr");$(document).on("click.site.toastr",'[data-plugin="toastr"]',function(b){b.preventDefault();var c=$(this),d=$.extend(!0,{},a,c.data()),e=d.message||"",f=d.type||"info",g=d.title||void 0;switch(f){case"success":toastr.success(e,g,d);break;case"warning":toastr.warning(e,g,d);break;case"error":toastr.error(e,g,d);break;case"info":toastr.info(e,g,d);break;default:toastr.info(e,g,d)}})}}}),$.components.register("toolbar",{mode:"init",init:function(a){if($.fn.toolbar){var b=$.components.getDefaults("toolbar");$('[data-plugin="toolbar"]',a).each(function(){var a=$(this),c=a.data("toolbar"),d=$.extend(!0,{},b);c&&(d.content=c),a.toolbar(d)})}}}),$.components.register("toolbar",{mode:"init",init:function(a){if($.fn.toolbar){var b=$.components.getDefaults("toolbar");$('[data-plugin="toolbar"]',a).each(function(){var a=$(this),c=a.data("toolbar"),d=$.extend(!0,{},b);c&&(d.content=c),a.toolbar(d)})}}}),$.components.register("webuiPopover",{mode:"default",defaults:{trigger:"click",width:320,multi:!0,cloaseable:!1,style:"",delay:300,padding:!0}}),$.components.register("webuiPopover",{mode:"default",defaults:{trigger:"click",width:320,multi:!0,cloaseable:!1,style:"",delay:300,padding:!0}}),function(a,b,c){"use strict";c.configs.colors={red:{100:"#ffeaea",200:"#fad3d3",300:"#fab4b4",400:"#fa9898",500:"#fa7a7a",600:"#f96868",700:"#e9595b",800:"#d6494b"},pink:{100:"#fce4ec",200:"#ffccde",300:"#fba9c6",400:"#fb8db4",500:"#f978a6",600:"#f96197",700:"#f44c87",800:"#e53b75"},purple:{100:"#f6f2ff",200:"#e3dbf4",300:"#d2c5ec",400:"#bba7e4",500:"#a58add",600:"#926dde",700:"#7c51d1",800:"#6d45bc"},indigo:{100:"#edeff9",200:"#dadef5",300:"#bcc5f4",400:"#9daaf3",500:"#8897ec",600:"#677ae4",700:"#5166d6",800:"#465bd4"},blue:{100:"#e8f1f8",200:"#d5e4f1",300:"#bcd8f1",400:"#a2caee",500:"#89bceb",600:"#62a8ea",700:"#4e97d9",800:"#3583ca"},cyan:{100:"#ecf9fa",200:"#d3eff2",300:"#baeaef",400:"#9ae1e9",500:"#77d6e1",600:"#57c7d4",700:"#47b8c6",800:"#37a9b7"},teal:{100:"#ecfdfc",200:"#cdf4f1",300:"#99e1da",400:"#79d1c9",500:"#56bfb5",600:"#3aa99e",700:"#269b8f",800:"#178d81"},green:{100:"#e7faf2",200:"#bfedd8",300:"#9fe5c5",400:"#7dd3ae",500:"#5cd29d",600:"#46be8a",700:"#36ab7a",800:"#279566"},"light-green":{100:"#f1f7ea",200:"#e0ecd1",300:"#cadfb1",400:"#bad896",500:"#acd57c",600:"#9ece67",700:"#83b944",800:"#70a532"},yellow:{100:"#fffae7",200:"#f9eec1",300:"#f6e7a9",400:"#f8e59b",500:"#f7e083",600:"#f7da64",700:"#f9cd48",800:"#fbc02d"},orange:{100:"#fff3e6",200:"#ffddb9",300:"#fbce9d",400:"#f6be80",500:"#f4b066",600:"#f2a654",700:"#ec9940",800:"#e98f2e"},brown:{100:"#fae6df",200:"#e2bdaf",300:"#d3aa9c",400:"#b98e7e",500:"#a17768",600:"#8d6658",700:"#7d5b4f",800:"#715146"},grey:{100:"#fafafa",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242"},"blue-grey":{100:"#f3f7f9",200:"#e4eaec",300:"#ccd5db",400:"#a3afb7",500:"#76838f",600:"#526069",700:"#37474f",800:"#263238"}}}(window,document,$),!function(a,b,c){"use strict";c.configs.colors={red:{100:"#ffeaea",200:"#fad3d3",300:"#fab4b4",400:"#fa9898",500:"#fa7a7a",600:"#f96868",700:"#e9595b",800:"#d6494b"},pink:{100:"#fce4ec",200:"#ffccde",300:"#fba9c6",400:"#fb8db4",500:"#f978a6",600:"#f96197",700:"#f44c87",800:"#e53b75"},purple:{100:"#f6f2ff",200:"#e3dbf4",300:"#d2c5ec",400:"#bba7e4",500:"#a58add",600:"#926dde",700:"#7c51d1",800:"#6d45bc"},indigo:{100:"#edeff9",200:"#dadef5",300:"#bcc5f4",400:"#9daaf3",500:"#8897ec",600:"#677ae4",700:"#5166d6",800:"#465bd4"},blue:{100:"#e8f1f8",200:"#d5e4f1",300:"#bcd8f1",400:"#a2caee",500:"#89bceb",600:"#62a8ea",700:"#4e97d9",800:"#3583ca"},cyan:{100:"#ecf9fa",200:"#d3eff2",300:"#baeaef",400:"#9ae1e9",500:"#77d6e1",600:"#57c7d4",700:"#47b8c6",800:"#37a9b7"},teal:{100:"#ecfdfc",200:"#cdf4f1",300:"#99e1da",400:"#79d1c9",500:"#56bfb5",600:"#3aa99e",700:"#269b8f",800:"#178d81"},green:{100:"#e7faf2",200:"#bfedd8",300:"#9fe5c5",400:"#7dd3ae",500:"#5cd29d",600:"#46be8a",700:"#36ab7a",800:"#279566"},"light-green":{100:"#f1f7ea",200:"#e0ecd1",300:"#cadfb1",400:"#bad896",500:"#acd57c",600:"#9ece67",700:"#83b944",800:"#70a532"},yellow:{100:"#fffae7",200:"#f9eec1",300:"#f6e7a9",400:"#f8e59b",500:"#f7e083",600:"#f7da64",700:"#f9cd48",800:"#fbc02d"},orange:{100:"#fff3e6",200:"#ffddb9",300:"#fbce9d",400:"#f6be80",500:"#f4b066",600:"#f2a654",700:"#ec9940",800:"#e98f2e"},brown:{100:"#fae6df",200:"#e2bdaf",300:"#d3aa9c",400:"#b98e7e",500:"#a17768",600:"#8d6658",700:"#7d5b4f",800:"#715146"},grey:{100:"#fafafa",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242"},"blue-grey":{100:"#f3f7f9",200:"#e4eaec",300:"#ccd5db",400:"#a3afb7",500:"#76838f",600:"#526069",700:"#37474f",800:"#263238"}}}(window,document,$),function(a,b,c){"use strict";var d=c(b);c.site=c.site||{},c.extend(c.site,{_queue:{prepare:[],run:[],complete:[]},run:function(){var a=this;this.dequeue("prepare",function(){a.trigger("before.run",a)}),this.dequeue("run",function(){a.dequeue("complete",function(){a.trigger("after.run",a)})})},dequeue:function(a,b){var d=this,e=this.getQueue(a),f=e.shift(),g=function(){d.dequeue(a,b)};f?f.call(this,g):c.isFunction(b)&&b.call(this)},getQueue:function(a){return c.isArray(this._queue[a])||(this._queue[a]=[]),this._queue[a]},extend:function(a){return c.each(this._queue,function(b,d){c.isFunction(a[b])&&(d.push(a[b]),delete a[b])}),c.extend(this,a),this},trigger:function(a,b,c){"undefined"!=typeof a&&("undefined"==typeof c&&(c=d),c.trigger(a+".site",b))},throttle:function(a,b){var c,d,e,f=Date.now||function(){return(new Date).getTime()},g=null,h=0,i=function(){h=f(),g=null,e=a.apply(c,d),c=d=null};return function(){var j=f(),k=b-(j-h);return c=this,d=arguments,0>=k?(clearTimeout(g),g=null,h=j,e=a.apply(c,d),c=d=null):g||(g=setTimeout(i,k)),e}},resize:function(){if(b.createEvent){var c=b.createEvent("Event");c.initEvent("resize",!0,!0),a.dispatchEvent(c)}else{element=b.documentElement;var d=b.createEventObject();element.fireEvent("onresize",d)}}}),c.configs=c.configs||{},c.extend(c.configs,{data:{},get:function(a){for(var b=function(a,b){return a[b]},c=this.data,d=0;d<arguments.length;d++)a=arguments[d],c=b(c,a);return c},set:function(a,b){this.data[a]=b},extend:function(a,b){var d=this.get(a);return c.extend(!0,d,b)}}),c.colors=function(a,b){if("primary"===a&&(a=c.configs.get("site","primaryColor"),a||(a="red")),"undefined"==typeof c.configs.colors)return null;if("undefined"!=typeof c.configs.colors[a]){if(b&&"undefined"!=typeof c.configs.colors[a][b])return c.configs.colors[a][b];if("undefined"==typeof b)return c.configs.colors[a]}return null},c.components=c.components||{},c.extend(c.components,{_components:{},register:function(a,b){this._components[a]=b},init:function(a,d,e){var f=this;if("undefined"==typeof a)c.each(this._components,function(a){f.init(a)});else{d=d||b,e=e||[];var g=this.get(a);if(g)switch(g.mode){case"default":return this._initDefault(a,d);case"init":return this._initComponent(a,g,d,e);case"api":return this._initApi(a,g,e);default:return this._initApi(a,g,d,e),void this._initComponent(a,g,d,e)}}},call:function(a,c){var d=Array.prototype.slice.call(arguments,2),e=this.get(a);return c=c||b,this._initComponent(a,e,c,d)},_initDefault:function(a,b){if(c.fn[a]){var d=this.getDefaults(a);c("[data-plugin="+a+"]",b).each(function(){var b=c(this),e=c.extend(!0,{},d,b.data());b[a](e)})}},_initComponent:function(a,b,d,e){c.isFunction(b.init)&&b.init.apply(b,[d].concat(e))},_initApi:function(a,b,d){"undefined"==typeof b.apiCalled&&c.isFunction(b.api)&&(b.api.apply(b,d),b.apiCalled=!0)},getDefaults:function(a){var b=this.get(a);return b&&"undefined"!=typeof b.defaults?b.defaults:{}},get:function(a,b){return"undefined"!=typeof this._components[a]?"undefined"!=typeof b?this._components[a][b]:this._components[a]:void console.warn("component:"+component+" script is not loaded.")}})}(window,document,jQuery),!function(a,b,c){"use strict";var d=c(b);c.site=c.site||{},c.extend(c.site,{_queue:{prepare:[],run:[],complete:[]},run:function(){var a=this;this.dequeue("prepare",function(){a.trigger("before.run",a)}),this.dequeue("run",function(){a.dequeue("complete",function(){a.trigger("after.run",a)})})},dequeue:function(a,b){var d=this,e=this.getQueue(a),f=e.shift(),g=function(){d.dequeue(a,b)};f?f.call(this,g):c.isFunction(b)&&b.call(this)},getQueue:function(a){return c.isArray(this._queue[a])||(this._queue[a]=[]),this._queue[a]},extend:function(a){return c.each(this._queue,function(b,d){c.isFunction(a[b])&&(d.push(a[b]),delete a[b])}),c.extend(this,a),this},trigger:function(a,b,c){"undefined"!=typeof a&&("undefined"==typeof c&&(c=d),c.trigger(a+".site",b))},throttle:function(a,b){var c,d,e,f=Date.now||function(){return(new Date).getTime()},g=null,h=0,i=function(){h=f(),g=null,e=a.apply(c,d),c=d=null};return function(){var j=f(),k=b-(j-h);return c=this,d=arguments,0>=k?(clearTimeout(g),g=null,h=j,e=a.apply(c,d),c=d=null):g||(g=setTimeout(i,k)),e}},resize:function(){if(b.createEvent){var c=b.createEvent("Event");c.initEvent("resize",!0,!0),a.dispatchEvent(c)}else{element=b.documentElement;var d=b.createEventObject();element.fireEvent("onresize",d)}}}),c.configs=c.configs||{},c.extend(c.configs,{data:{},get:function(a){for(var b=function(a,b){return a[b]},c=this.data,d=0;d<arguments.length;d++)a=arguments[d],c=b(c,a);return c},set:function(a,b){this.data[a]=b},extend:function(a,b){var d=this.get(a);return c.extend(!0,d,b)}}),c.colors=function(a,b){if("primary"===a&&(a=c.configs.get("site","primaryColor"),a||(a="red")),"undefined"==typeof c.configs.colors)return null;if("undefined"!=typeof c.configs.colors[a]){if(b&&"undefined"!=typeof c.configs.colors[a][b])return c.configs.colors[a][b];if("undefined"==typeof b)return c.configs.colors[a]}return null},c.components=c.components||{},c.extend(c.components,{_components:{},register:function(a,b){this._components[a]=b},init:function(a,d,e){var f=this;if("undefined"==typeof a)c.each(this._components,function(a){f.init(a)});else{d=d||b,e=e||[];var g=this.get(a);if(g)switch(g.mode){case"default":return this._initDefault(a,d);case"init":return this._initComponent(a,g,d,e);case"api":return this._initApi(a,g,e);default:return this._initApi(a,g,d,e),void this._initComponent(a,g,d,e)}}},call:function(a,c){var d=Array.prototype.slice.call(arguments,2),e=this.get(a);return c=c||b,this._initComponent(a,e,c,d)},_initDefault:function(a,b){if(c.fn[a]){var d=this.getDefaults(a);c("[data-plugin="+a+"]",b).each(function(){var b=c(this),e=c.extend(!0,{},d,b.data());b[a](e)})}},_initComponent:function(a,b,d,e){c.isFunction(b.init)&&b.init.apply(b,[d].concat(e))},_initApi:function(a,b,d){"undefined"==typeof b.apiCalled&&c.isFunction(b.api)&&(b.api.apply(b,d),b.apiCalled=!0)},getDefaults:function(a){var b=this.get(a);return b&&"undefined"!=typeof b.defaults?b.defaults:{}},get:function(a,b){return"undefined"!=typeof this._components[a]?"undefined"!=typeof b?this._components[a][b]:this._components[a]:void 0}})}(window,document,jQuery),function(a,b,c){"use strict";var d=c(b);d.on("click","#btn-explore",function(){c("#block_explore >div").toggleClass("active")})}(window,document,jQuery),function(a,b,c){"use strict";var d="actionBtn",e=c[d]=function(a,b){this.element=a,this.$element=c(a),this.options=c.extend({},e.defaults,b,this.$element.data()),this.init()};e.defaults={trigger:"click",toggleSelector:".site-action-toggle",listSelector:".site-action-buttons",activeClass:"active",onShow:function(){},onHide:function(){}},e.prototype={constructor:e,init:function(){this.showed=!1,this.$toggle=this.$element.find(this.options.toggleSelector),this.$list=this.$element.find(this.options.listSelector);var a=this;"hover"===this.options.trigger?(this.$element.on("mouseenter",this.options.toggleSelector,function(){a.showed||a.show()}),this.$element.on("mouseleave",this.options.toggleSelector,function(){a.showed&&a.hide()})):this.$element.on("click",this.options.toggleSelector,function(){a.showed?a.hide():a.show()})},show:function(){this.showed||(this.$element.addClass(this.options.activeClass),this.showed=!0,this.options.onShow.call(this))},hide:function(){this.showed&&(this.$element.removeClass(this.options.activeClass),this.showed=!1,this.options.onHide.call(this))}},c.fn[d]=function(a){if("string"!=typeof a)return this.each(function(){c.data(this,d)||c.data(this,d,new e(this,a))});var b=a,f=Array.prototype.slice.call(arguments,1);if(/^\_/.test(b))return!1;if(!/^(get)$/.test(b))return this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,f)});var g=this.first().data(d);return g&&"function"==typeof g[b]?g[b].apply(g,f):void 0}}(window,document,jQuery),!function(a,b,c){"use strict";var d="actionBtn",e=c[d]=function(a,b){this.element=a,this.$element=c(a),this.options=c.extend({},e.defaults,b,this.$element.data()),this.init()};e.defaults={trigger:"click",toggleSelector:".site-action-toggle",listSelector:".site-action-buttons",activeClass:"active",onShow:function(){},onHide:function(){}},e.prototype={constructor:e,init:function(){this.showed=!1,this.$toggle=this.$element.find(this.options.toggleSelector),this.$list=this.$element.find(this.options.listSelector);var a=this;"hover"===this.options.trigger?(this.$element.on("mouseenter",this.options.toggleSelector,function(){a.showed||a.show()}),this.$element.on("mouseleave",this.options.toggleSelector,function(){a.showed&&a.hide()})):this.$element.on("click",this.options.toggleSelector,function(){a.showed?a.hide():a.show()})},show:function(){this.showed||(this.$element.addClass(this.options.activeClass),this.showed=!0,this.options.onShow.call(this))},hide:function(){this.showed&&(this.$element.removeClass(this.options.activeClass),this.showed=!1,this.options.onHide.call(this))}},c.fn[d]=function(a){if("string"!=typeof a)return this.each(function(){c.data(this,d)||c.data(this,d,new e(this,a))});var b=a,f=Array.prototype.slice.call(arguments,1);if(/^\_/.test(b))return!1;if(!/^(get)$/.test(b))return this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,f)});var g=this.first().data(d);return g&&"function"==typeof g[b]?g[b].apply(g,f):void 0}}(window,document,jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.tab.close");e||c.data("bs.tab.close",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-close="tab"]',d=function(b){a(b).on("click",c,this.close)};d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){k.detach().trigger("closed.bs.tab").remove(),h.detach().remove()}var e=a(this),f=e.closest('[data-toggle="tab"]'),g=f.data("target"),h=f.parent("li");if(g||(g=f.attr("href"),g=g&&g.replace(/.*(?=#[^\s]*$)/,"")),h.hasClass("active")){var i=h.siblings().eq(0).children('[data-toggle="tab"]');if(i.length>0){var j=i.tab().data("bs.tab");j.show()}}var k=a(g);b&&b.preventDefault(),k.trigger(b=a.Event("close.bs.tab")),b.isDefaultPrevented()||(k.removeClass("in"),a.support.transition&&k.hasClass("fade")?k.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.tabClose;a.fn.tabClose=b,a.fn.tabClose.Constructor=d,a.fn.tabClose.noConflict=function(){return a.fn.tabClose=e,this},a(document).on("click.bs.tab-close.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.tab.close");e||c.data("bs.tab.close",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-close="tab"]',d=function(b){a(b).on("click",c,this.close)};d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){k.detach().trigger("closed.bs.tab").remove(),h.detach().remove()}var e=a(this),f=e.closest('[data-toggle="tab"]'),g=f.data("target"),h=f.parent("li");if(g||(g=f.attr("href"),g=g&&g.replace(/.*(?=#[^\s]*$)/,"")),h.hasClass("active")){var i=h.siblings().eq(0).children('[data-toggle="tab"]');if(i.length>0){var j=i.tab().data("bs.tab");j.show()}}var k=a(g);b&&b.preventDefault(),k.trigger(b=a.Event("close.bs.tab")),b.isDefaultPrevented()||(k.removeClass("in"),a.support.transition&&k.hasClass("fade")?k.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.tabClose;a.fn.tabClose=b,a.fn.tabClose.Constructor=d,a.fn.tabClose.noConflict=function(){return a.fn.tabClose=e,this},a(document).on("click.bs.tab-close.data-api",c,d.prototype.close)}(jQuery),function(a,b,c){"use strict";var d="responsiveHorizontalTabs",e={navSelector:".nav-tabs",itemSelector:">li",dropdownSelector:">.dropdown",dropdownItemSelector:"li",tabSelector:".tab-pane",activeClassName:"active"},f=function(a,b){var d=this.$tabs=c(a);this.options=b=c.extend(!0,{},e,b);var f=this.$nav=d.find(this.options.navSelector),g=this.$dropdown=f.find(this.options.dropdownSelector),h=this.$items=f.find(this.options.itemSelector).filter(function(){return!c(this).is(g)});this.$dropdownItems=g.find(this.options.dropdownItemSelector),this.$tabPanel=this.$tabs.find(this.options.tabSelector),this.breakpoints=[],h.each(function(){c(this).data("width",c(this).width())}),this.init(),this.bind()};f.prototype={init:function(){if(0!==this.$dropdown.length){this.$dropdown.show(),this.breakpoints=[];var a=this.length=this.$items.length,b=this.dropWidth=this.$dropdown.width(),c=0;if(this.flag=a,1>=a)return void this.$dropdown.hide();for(var d=0;a-2>d;d++)0===d?this.breakpoints.push(this.$items.eq(d).outerWidth()+b):this.breakpoints.push(this.breakpoints[d-1]+this.$items.eq(d).width());for(d=0;a>d;d++)c+=this.$items.eq(d).outerWidth();this.breakpoints.push(c),this.layout()}},layout:function(){if(!(this.breakpoints.length<=0)){for(var a=this.$nav.width(),b=0,c=this.options.activeClassName,d=this.$tabPanel.filter("."+c).index();b<this.breakpoints.length&&!(this.breakpoints[b]>a);b++);if(b!==this.flag){if(this.$items.removeClass(c),this.$dropdownItems.removeClass(c),this.$dropdown.removeClass(c),b===this.breakpoints.length)this.$dropdown.hide(),this.$items.show(),this.$items.eq(d).addClass(c);else{this.$dropdown.show();for(var e=0;e<this.length;e++)b>e?(this.$items.eq(e).show(),this.$dropdownItems.eq(e).hide()):(this.$items.eq(e).hide(),this.$dropdownItems.eq(e).show());b>d?this.$items.eq(d).addClass(c):(this.$dropdown.addClass(c),this.$dropdownItems.eq(d).addClass(c))}this.flag=b}}},bind:function(){var b=this;c(a).resize(function(){b.layout()})}},c.fn[d]=function(a){if("string"==typeof a){var b=a,e=Array.prototype.slice.call(arguments,1);return/^\_/.test(b)?!1:this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,e)})}return this.each(function(){c.data(this,d)?c.data(this,d).init():c.data(this,d,new f(this,a))})}}(window,document,jQuery),!function(a,b,c){"use strict";var d="responsiveHorizontalTabs",e={navSelector:".nav-tabs",itemSelector:">li",dropdownSelector:">.dropdown",dropdownItemSelector:"li",tabSelector:".tab-pane",activeClassName:"active"},f=function(a,b){var d=this.$tabs=c(a);this.options=b=c.extend(!0,{},e,b);var f=this.$nav=d.find(this.options.navSelector),g=this.$dropdown=f.find(this.options.dropdownSelector),h=this.$items=f.find(this.options.itemSelector).filter(function(){return!c(this).is(g)});this.$dropdownItems=g.find(this.options.dropdownItemSelector),this.$tabPanel=this.$tabs.find(this.options.tabSelector),this.breakpoints=[],h.each(function(){c(this).data("width",c(this).width())}),this.init(),this.bind()};f.prototype={init:function(){if(0!==this.$dropdown.length){this.$dropdown.show(),this.breakpoints=[];var a=this.length=this.$items.length,b=this.dropWidth=this.$dropdown.width(),c=0;if(this.flag=a,1>=a)return void this.$dropdown.hide();for(var d=0;a-2>d;d++)0===d?this.breakpoints.push(this.$items.eq(d).outerWidth()+b):this.breakpoints.push(this.breakpoints[d-1]+this.$items.eq(d).width());for(d=0;a>d;d++)c+=this.$items.eq(d).outerWidth();this.breakpoints.push(c),this.layout()}},layout:function(){if(!(this.breakpoints.length<=0)){for(var a=this.$nav.width(),b=0,c=this.options.activeClassName,d=this.$tabPanel.filter("."+c).index();b<this.breakpoints.length&&!(this.breakpoints[b]>a);b++);if(b!==this.flag){if(this.$items.removeClass(c),this.$dropdownItems.removeClass(c),this.$dropdown.removeClass(c),b===this.breakpoints.length)this.$dropdown.hide(),this.$items.show(),this.$items.eq(d).addClass(c);else{this.$dropdown.show();for(var e=0;e<this.length;e++)b>e?(this.$items.eq(e).show(),this.$dropdownItems.eq(e).hide()):(this.$items.eq(e).hide(),this.$dropdownItems.eq(e).show());b>d?this.$items.eq(d).addClass(c):(this.$dropdown.addClass(c),this.$dropdownItems.eq(d).addClass(c))}this.flag=b}}},bind:function(){var b=this;c(a).resize(function(){b.layout()})}},c.fn[d]=function(a){if("string"==typeof a){var b=a,e=Array.prototype.slice.call(arguments,1);return/^\_/.test(b)?!1:this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,e)})}return this.each(function(){c.data(this,d)?c.data(this,d).init():c.data(this,d,new f(this,a))})}}(window,document,jQuery),function(a,b,c){"use strict";var d="asSelectable",e=c[d]=function(a,b){this.element=a,this.$element=c(a),this.options=c.extend({},e.defaults,b,this.$element.data()),
  this.init()};e.defaults={allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},e.prototype={constructor:e,init:function(){var a=this,b=this.options;a.$element.on("change",b.allSelector,function(){var b=c(this).prop("checked");a.getItems().each(function(){var d=c(this);d.prop("checked",b).trigger("change",[!0]),a.selectRow(d,b)})}),a.$element.on("click",b.itemSelector,function(b){var d=c(this),e=d.prop("checked");a.selectRow(d,e),b.stopPropagation()}),a.$element.on("change",b.itemSelector,function(){var c=a.$element.find(b.allSelector),d=a.getItems(),e=d.length,f=a.getSelected().length;e===f?c.prop("checked",!0):c.prop("checked",!1),a._trigger("change",f),"function"==typeof b.callback&&b.callback.call(this)}),b.rowSelectable&&a.$element.on("click",b.rowSelector,function(d){if("checkbox"!==d.target.type&&"button"!==d.target.type&&"a"!==d.target.tagName.toLowerCase()&&!c(d.target).parent("div.checkbox-custom").length){var e=c(b.itemSelector,this),f=e.prop("checked");e.prop("checked",!f),a.selectRow(e,!f)}})},selectRow:function(a,b){b?a.parents(this.options.rowSelector).addClass(this.options.rowActiveClass):a.parents(this.options.rowSelector).removeClass(this.options.rowActiveClass)},getItems:function(){return this.$element.find(this.options.itemSelector)},getSelected:function(){return this.getItems().filter(":checked")},_trigger:function(a){var b=Array.prototype.slice.call(arguments,1),c=[this].concat(b);this.$element.trigger(d+"::"+a,c),a=a.replace(/\b\w+\b/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)});var e="on"+a;"function"==typeof this.options[e]&&this.options[e].apply(this,b)}},c.fn[d]=function(a){if("string"!=typeof a)return this.each(function(){c.data(this,d)||c.data(this,d,new e(this,a))});var b=a,f=Array.prototype.slice.call(arguments,1);if(/^\_/.test(b))return!1;if(!/^(get)/.test(b))return this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,f)});var g=this.first().data(d);return g&&"function"==typeof g[b]?g[b].apply(g,f):void 0}}(window,document,jQuery),!function(a,b,c){"use strict";var d="asSelectable",e=c[d]=function(a,b){this.element=a,this.$element=c(a),this.options=c.extend({},e.defaults,b,this.$element.data()),this.init()};e.defaults={allSelector:".selectable-all",itemSelector:".selectable-item",rowSelector:"tr",rowSelectable:!1,rowActiveClass:"active",onChange:null},e.prototype={constructor:e,init:function(){var a=this,b=this.options;a.$element.on("change",b.allSelector,function(){var b=c(this).prop("checked");a.getItems().each(function(){var d=c(this);d.prop("checked",b).trigger("change",[!0]),a.selectRow(d,b)})}),a.$element.on("click",b.itemSelector,function(b){var d=c(this),e=d.prop("checked");a.selectRow(d,e),b.stopPropagation()}),a.$element.on("change",b.itemSelector,function(){var c=a.$element.find(b.allSelector),d=a.getItems(),e=d.length,f=a.getSelected().length;e===f?c.prop("checked",!0):c.prop("checked",!1),a._trigger("change",f),"function"==typeof b.callback&&b.callback.call(this)}),b.rowSelectable&&a.$element.on("click",b.rowSelector,function(d){if("checkbox"!==d.target.type&&"button"!==d.target.type&&"a"!==d.target.tagName.toLowerCase()&&!c(d.target).parent("div.checkbox-custom").length){var e=c(b.itemSelector,this),f=e.prop("checked");e.prop("checked",!f),a.selectRow(e,!f)}})},selectRow:function(a,b){b?a.parents(this.options.rowSelector).addClass(this.options.rowActiveClass):a.parents(this.options.rowSelector).removeClass(this.options.rowActiveClass)},getItems:function(){return this.$element.find(this.options.itemSelector)},getSelected:function(){return this.getItems().filter(":checked")},_trigger:function(a){var b=Array.prototype.slice.call(arguments,1),c=[this].concat(b);this.$element.trigger(d+"::"+a,c),a=a.replace(/\b\w+\b/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)});var e="on"+a;"function"==typeof this.options[e]&&this.options[e].apply(this,b)}},c.fn[d]=function(a){if("string"!=typeof a)return this.each(function(){c.data(this,d)||c.data(this,d,new e(this,a))});var b=a,f=Array.prototype.slice.call(arguments,1);if(/^\_/.test(b))return!1;if(!/^(get)/.test(b))return this.each(function(){var a=c.data(this,d);a&&"function"==typeof a[b]&&a[b].apply(a,f)});var g=this.first().data(d);return g&&"function"==typeof g[b]?g[b].apply(g,f):void 0}}(window,document,jQuery),function(a){"use strict";var b="stickyHeader",c={headerSelector:".header",changeHeaderOn:100,activeClassName:"active-sticky-header",min:50,method:"toggle"},d=function(a,b){this.isActive=!1,this.init(b),this.bind()};d.prototype={init:function(b){var d=this.$el.css("transition","none"),e=this.$header=d.find(b.headerSelector).css({position:"absolute",top:0,left:0});this.options=a.extend(!0,{},c,b,e.data()),this.headerHeight=e.outerHeight(),this.$el.css("paddingTop",this.headerHeight)},_toggleActive:function(){this.isActive?this.$header.css("height",this.options.min):this.$header.css("height",this.headerHeight)},bind:function(){var b=this;this.$el.on("scroll",function(){if("toggle"===b.options.method)a(this).scrollTop()>b.options.changeHeaderOn&&!b.isActive?(b.$el.addClass(b.options.activeClassName),b.isActive=!0,b.$header.css("height",b.options.min),b.$el.trigger("toggle:sticky",[b,b.isActive])):a(this).scrollTop()<=b.options.changeHeaderOn&&b.isActive&&(b.$el.removeClass(b.options.activeClassName),b.isActive=!1,b.$header.css("height",b.headerHeight),b.$el.trigger("toggle:sticky",[b,b.isActive]));else if("scroll"===b.options.method){var c=Math.max(b.headerHeight-a(this).scrollTop(),b.options.min);c===b.headerHeight?b.$el.removeClass(b.options.activeClassName):b.$el.addClass(b.options.activeClassName),b.$header.css("height",c),b.$el.trigger("toggle:sticky",[b])}})}},a.fn[b]=function(c){if("string"==typeof c){var e=c,f=Array.prototype.slice.call(arguments,1);return/^\_/.test(e)?!1:this.each(function(){var c=a.data(this,b);c&&"function"==typeof c[e]&&c[e].apply(c,f)})}return this.each(function(){a.data(this,b)?a.data(this,b).init(c):a.data(this,b,new d(this,c))})}}(jQuery),!function(a){"use strict";var b="stickyHeader",c={headerSelector:".header",changeHeaderOn:100,activeClassName:"active-sticky-header",min:50,method:"toggle"},d=function(a,b){this.isActive=!1,this.init(b),this.bind()};d.prototype={init:function(b){var d=this.$el.css("transition","none"),e=this.$header=d.find(b.headerSelector).css({position:"absolute",top:0,left:0});this.options=a.extend(!0,{},c,b,e.data()),this.headerHeight=e.outerHeight(),this.$el.css("paddingTop",this.headerHeight)},_toggleActive:function(){this.isActive?this.$header.css("height",this.options.min):this.$header.css("height",this.headerHeight)},bind:function(){var b=this;this.$el.on("scroll",function(){if("toggle"===b.options.method)a(this).scrollTop()>b.options.changeHeaderOn&&!b.isActive?(b.$el.addClass(b.options.activeClassName),b.isActive=!0,b.$header.css("height",b.options.min),b.$el.trigger("toggle:sticky",[b,b.isActive])):a(this).scrollTop()<=b.options.changeHeaderOn&&b.isActive&&(b.$el.removeClass(b.options.activeClassName),b.isActive=!1,b.$header.css("height",b.headerHeight),b.$el.trigger("toggle:sticky",[b,b.isActive]));else if("scroll"===b.options.method){var c=Math.max(b.headerHeight-a(this).scrollTop(),b.options.min);c===b.headerHeight?b.$el.removeClass(b.options.activeClassName):b.$el.addClass(b.options.activeClassName),b.$header.css("height",c),b.$el.trigger("toggle:sticky",[b])}})}},a.fn[b]=function(c){if("string"==typeof c){var e=c,f=Array.prototype.slice.call(arguments,1);return/^\_/.test(e)?!1:this.each(function(){var c=a.data(this,b);c&&"function"==typeof c[e]&&c[e].apply(c,f)})}return this.each(function(){a.data(this,b)?a.data(this,b).init(c):a.data(this,b,new d(this,c))})}}(jQuery);