App.Models.QuickTourModel=Backbone.Model.extend({defaults:{width:"",height:"",dismissable:!0,title:"",page:1}}),App.Views.QuickTourView=Backbone.View.extend({id:"child_content",el:"#child_content",className:"quick_tour",template:_.template(quick_tour_template),initialize:function(){this.render()},events:function(){var e={};return e[vup+" div.presets_hold"]="openPresets",e[vup+" div.srcs_hold"]="openExplore",e[vup+" div#quick_tour_dev_tray_overlay"]="openDevTray",e[vup+" div#quick_tour_vol_shade"]="openVolShade",e[vup+" section#quick_tour"]="closeBottomDrawer",e},render:function(){switch(this.model.get("page")){case 1:var e=isQT?"":funcObj.langCon.getString("QuickTour_Header");this.model.set("header",e),this.model.set("content_title_speakers",funcObj.langCon.getString("QuickTour_ContentTitle")),this.model.set("content_title_volume",funcObj.langCon.getString("General_Volume")),this.model.set("content",funcObj.langCon.getString("QuickTour_Content")),this.model.set("dismiss_text",funcObj.langCon.getString("QuickTour_DismissText")),this.model.set("presets_text",funcObj.langCon.getString("QuickTour_Presets")),this.model.set("music_sources_text",funcObj.langCon.getString("QuickTour_MusicSources")),this.$el.addClass(this.className),this.$el.html(this.template(this.model.toJSON())),$("#main_tray").addClass("zztop"),setTimeout(function(){$("#viewport").removeClass("drawer"),funcObj.settingsBrowse.removeLastPage(!1,!0),funcObj.deviceTray.toggleTray(!1),funcObj.message.closeMessage()},0)}$("#bbd_tour").addClass("ani_opacity_1")},openPresets:function(e){$("body").hasClass("offline")||$("#bbd_presets").open()},openExplore:function(e){app.Models.MainLayoutModel.trigger("UPDATE_MAIN_VIEW",{scenario:"drawer"})},openDevTray:function(e){funcObj.deviceTray.toggleTray(!0)},closeBottomDrawer:function(e){var t="#"+this.model.get("parentDrawer");$("#bbd_tour").bind(transEndEvent+" oTransitionEnd MSTransitionEnd",function(e){$(t).killYourself()}),$("#bbd_tour").removeClass("ani_opacity_1"),$(t).close(),funcObj.tips.toggleCondition(17)},openVolShade:function(e){$(document).trigger("VOLUME_SHADE_OPEN")}});