define([],function(){var e=Upfront.Views.Editor.Field.Button.extend({className:"state_settings_button",initialize:function(e){this.options=e||{},this.label=this.options.state,this.options.compact=!0,this.$el.addClass("state_settings_button_"+this.options.state.toLowerCase())},on_click:function(){this.trigger("upfront:presets:state_show",this.options.state.toLowerCase())}});return e});