define(["ember","text!./multimage-tmpl.hbs","./audio","responsiveslides"],function(a,b,c){return a.View.extend({tagName:"div",template:a.Handlebars.compile(b),images:function(){var a=this;return(this.get("model.data.resource")||[]).sortBy("Order").map(function(b,c){return b.get("Summary")||b.set("Summary",a.get("text")),{forced:0==c,sequence:c+1,content:b}})}.property("model.data.resource"),initialize:function(){this.get("model.data.AideoUrl")&&this.set("audio",c.create({src:this.get("model.data.AideoUrl")}))}.on("init"),domReady:function(){0!=this.get("images.length")&&this.$(".rslides").responsiveSlides({auto:!1,nav:!0,fade:500})}.on("didInsertElement"),text:function(){return this.get("model.data.Summary")}.property("model.data.Summary")})});