(function(e){var t=Upfront.Settings&&Upfront.Settings.l10n?Upfront.Settings.l10n.global.views:Upfront.mainData.l10n.global.views;define(["scripts/upfront/bg-settings/mixins"],function(e){var n=Upfront.Views.Editor.Settings.Item.extend(_.extend({},e,{group:!1,initialize:function(e){var n=this;e.fields=[new Upfront.Views.Editor.Field.Color({model:this.model,label:t.bg_color_short,property:"background_color",use_breakpoint_property:!0,default_value:"#ffffff",spectrum:{move:function(e){n.preview_color(e)},change:function(e){n.update_color(e)},hide:function(e){n.reset_color()}},rendered:function(){this.$el.addClass("uf-bgsettings-color-pick")}})],this.$el.addClass("uf-bgsettings-item uf-bgsettings-coloritem"),this.bind_toggles(),this.constructor.__super__.initialize.call(this,e)}}));return n})})(jQuery);