define(["scripts/upfront/inline-panels/item"],function(e){var t=e.extend({events:{click:"clicked"},initialize:function(e){this.options=e||{},this.label=this.options.label,this.icon=this.options.icon},clicked:function(e){e.preventDefault(),e.stopPropagation(),this.$el.siblings(".upfront-inline-panel-subitem-active").removeClass("upfront-inline-panel-subitem-active"),this.trigger("click",e)},setIsSelected:function(e){if(e){this.$el.addClass("inline-panel-item-selected");return}this.$el.removeClass("inline-panel-item-selected")}});return t});