text: !function(e,a,r){"use strict";r("html");r(".colors li").on("click",function(){var e=r(this);if(!e.hasClass("active")){e.siblings().removeClass("active");var a=e.closest(".skin"),i=e.attr("class")?"-"+e.attr("class"):"",s=a.data("icheckbox"),t=a.data("iradio"),c="icheckbox_minimal",l="iradio_minimal";a.hasClass("skin-square")&&(c="icheckbox_square",l="iradio_square",void 0===s&&(s="icheckbox_square-red",t="iradio_square-red")),a.hasClass("skin-flat")&&(c="icheckbox_flat",l="iradio_flat",void 0===s&&(s="icheckbox_flat-green",t="iradio_flat-green")),a.hasClass("skin-line")&&(c="icheckbox_line",l="iradio_line",void 0===s&&(s="icheckbox_line-blue",t="iradio_line-blue")),void 0===s&&(s=c,t=l),a.find("input, .skin-states .state").each(function(){var e=r(this).hasClass("state")?r(this):r(this).parent(),a=e.attr("class").replace(s,c+i).replace(t,l+i);e.attr("class",a)}),a.data("icheckbox",c+i),a.data("iradio",l+i),e.addClass("active")}}),r(".icheck1 input").iCheck({checkboxClass:"icheckbox_square-blue",radioClass:"iradio_square-blue"}),r(".icheck2 input").iCheck({checkboxClass:"icheckbox_minimal",radioClass:"iradio_minimal"}),r(".skin-square input").iCheck({checkboxClass:"icheckbox_square-red",radioClass:"iradio_square-red"}),r(".skin-flat input").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"}),r(".skin-polaris input").iCheck({checkboxClass:"icheckbox_polaris",radioClass:"iradio_polaris",increaseArea:"-10%"}),r(".skin-futurico input").iCheck({checkboxClass:"icheckbox_futurico",radioClass:"iradio_futurico",increaseArea:"20%"}),r("html"),r(".switch:checkbox").checkboxpicker(),r("#switch12").checkboxpicker({html:!0,offLabel:'<span class="icon-remove">',onLabel:'<span class="icon-ok">'});var i=0;if(Array.prototype.forEach){var s=r(".switchery");r.each(s,function(e,a){var i,s,t="",c="";i=r(this).data("size");t=void 0!==r(this).data("size")?"switchery switchery-"+{lg:"large",sm:"small",xs:"xsmall"}[i]:"switchery";c=void 0!==(s=r(this).data("color"))?{primary:"#967ADC",success:"#37BC9B",danger:"#DA4453",warning:"#F6BB42",info:"#3BAFDA"}[s]:"#37BC9B";new Switchery(r(this)[0],{className:t,color:c})})}else{var t=a.querySelectorAll(".switchery");for(i=0;i<t.length;i++)t[i].data("size"),t[i].data("color"),new Switchery(t[i],{color:"#37BC9B"})}function c(e){e.element;return e.id?"<i class='"+r(e.element).data("icon")+"'></i>"+e.text:e.text}function l(e){return e.id?r('<span><img src="../../../app-assets/images/flags/'+e.element.value.toLowerCase()+'.png" class="img-flag" /> '+e.text+"</span>"):e.text}r(".select2").select2(),r(".select2-placeholder").select2({placeholder:"Select a state",allowClear:!0}),r(".select2-icons").select2({minimumResultsForSearch:1/0,templateResult:c,templateSelection:c,escapeMarkup:function(e){return e}}),r(".select2-theme").select2({placeholder:"Classic Theme",theme:"classic"}),r(".select2-templating").select2({templateResult:l,templateSelection:l}),r(".select2-size-xs").select2({containerCssClass:"select-xs"});r("html");r(".touchspin").TouchSpin({buttondown_class:"btn btn-primary",buttonup_class:"btn btn-primary",buttondown_txt:'<i class="ft-minus"></i>',buttonup_txt:'<i class="ft-plus"></i>'}),r("#chart1").sparkline([5,6,7,8,9,10,12,13,15,14,13,12,10,9,8,10,12,14,15,16,17,14,12,11,10,8],{type:"bar",width:"100%",height:"30px",barWidth:2,barSpacing:4,barColor:"#FF5722"}),r("#chart2").sparkline([[8,10],[12,8],[9,14],[8,11],[10,13],[7,11],[8,14],[9,12],[10,11],[12,14],[8,12],[9,12],[9,14]],{type:"bar",width:"100%",height:"30px",barWidth:4,barSpacing:6,stackedBarColor:["#4CAF50","#FFEB3B"]})}(window,document,jQuery);