!function(i,a,l){"use strict";l("html");l(".colors li").on("click",function(){var i=l(this);if(!i.hasClass("active")){i.siblings().removeClass("active");var a=i.closest(".skin"),s=i.attr("class")?"-"+i.attr("class"):"",e=a.data("icheckbox"),c=a.data("iradio"),o="icheckbox_minimal",r="iradio_minimal";a.hasClass("skin-square")&&(o="icheckbox_square",r="iradio_square",void 0===e&&(e="icheckbox_square-red",c="iradio_square-red")),a.hasClass("skin-flat")&&(o="icheckbox_flat",r="iradio_flat",void 0===e&&(e="icheckbox_flat-green",c="iradio_flat-green")),a.hasClass("skin-line")&&(o="icheckbox_line",r="iradio_line",void 0===e&&(e="icheckbox_line-blue",c="iradio_line-blue")),void 0===e&&(e=o,c=r),a.find("input, .skin-states .state").each(function(){var i=l(this).hasClass("state")?l(this):l(this).parent(),a=i.attr("class").replace(e,o+s).replace(c,r+s);i.attr("class",a)}),a.data("icheckbox",o+s),a.data("iradio",r+s),i.addClass("active")}}),l(".skin-line input").each(function(){var i=l(this),a=i.next(),s=a.text();a.remove(),i.iCheck({checkboxClass:"icheckbox_line-blue",radioClass:"iradio_line-blue",insert:'<div class="icheck_line-icon"></div>'+s})}),l(".icheck_minimal input").iCheck({checkboxClass:"icheckbox_minimal",radioClass:"iradio_minimal"}),l(".skin-square input").iCheck({checkboxClass:"icheckbox_square-red",radioClass:"iradio_square-red"}),l(".skin-flat input").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"}),l(".skin-polaris input").iCheck({checkboxClass:"icheckbox_polaris",radioClass:"iradio_polaris",increaseArea:"-10%"}),l(".skin-futurico input").iCheck({checkboxClass:"icheckbox_futurico",radioClass:"iradio_futurico",increaseArea:"20%"})}(window,document,jQuery);