!function(a){var b=wp.media;b.view.Settings.Gallery=b.view.Settings.Gallery.extend({render:function(){var c=this.$el;return console.log(this.$el),b.view.Settings.prototype.render.apply(this,arguments),c.append(b.template("italystrap-gallery-settings")),b.gallery.defaults.type="default",b.gallery.defaults.orderby="",b.gallery.defaults.name="italystrap-bootstrap-carousel",b.gallery.defaults.width="",b.gallery.defaults.height="",b.gallery.defaults.indicators="before-inner",b.gallery.defaults.control="true",b.gallery.defaults.interval=0,b.gallery.defaults.pause="hover",b.gallery.defaults.titletag="h4",b.gallery.defaults.image_title="true",b.gallery.defaults.link="none",b.gallery.defaults.text="true",b.gallery.defaults.wpautop="true",b.gallery.defaults.containerclass="",b.gallery.defaults.itemclass="",b.gallery.defaults.captionclass="",b.gallery.defaults.responsive="false",b.gallery.defaults.sizetablet="large",b.gallery.defaults.sizephone="medium",this.update.apply(this,["type"]),this.update.apply(this,["orderby"]),this.update.apply(this,["name"]),this.update.apply(this,["width"]),this.update.apply(this,["height"]),this.update.apply(this,["indicators"]),this.update.apply(this,["control"]),this.update.apply(this,["interval"]),this.update.apply(this,["pause"]),this.update.apply(this,["titletag"]),this.update.apply(this,["image_title"]),this.update.apply(this,["link"]),this.update.apply(this,["text"]),this.update.apply(this,["wpautop"]),this.update.apply(this,["containerclass"]),this.update.apply(this,["itemclass"]),this.update.apply(this,["captionclass"]),this.update.apply(this,["responsive"]),this.update.apply(this,["sizetablet"]),this.update.apply(this,["sizephone"]),c.find("select[name=type]").on("change",function(){var b=c.find("select[name=columns]").closest("label.setting"),d=c.find("#italystrap-carousel-option");"default"===a(this).val()?(b.show(),d.hide()):(b.hide(),d.show())}).change(),this}})}(jQuery);