text: !function(t){t.fn.smk_VisualSelect=function(e){if(this.length>1)return this.each(function(){t(this).smk_VisualSelect(e)}),this;var i=(t.extend({},e),this);this.isset=function(t){return"undefined"!=typeof t?!0:!1};var n=function(){i.prepareHtml(),i.createStructure(),i.proceedOnClick()};return this.prepareHtml=function(){i.addClass("visual-select"),i.html('<div class="native">'+i.getTheHtml()+"</div>"),i.append('<div class="choice"></div>'),i.find(".native").hide()},this.createStructure=function(){i.getInputs().each(function(){var e=t(this),n=e.attr("value"),c=e.data("label"),a=e.is(":checked")?" active":"";i.find(".choice").append('<span class="handle'+a+'" data-value="'+n+'">'+c+"</span>")})},this.getTheHtml=function(){return i.children(".native").length<1?i.html():void 0},this.getInputs=function(){return i.find("input")},this.checkIt=function(t){var e=i.find(".native");e.find("input").removeAttr("checked"),e.find('input[value="'+t+'"]').attr("checked","checked").change()},this.makeActive=function(e){i.find(".choice .handle").removeClass("active"),t(e).addClass("active")},this.proceedOnClick=function(){i.on("click",".handle",function(){i.checkIt(t(this).data("value")),i.makeActive(this)})},n(),this}}(jQuery);
  //# sourceMappingURL=smk-visual-select.min.js.map