define(["ember","require"],function(a,b){return a.ContainerView.extend({name:"bauble-item",classNames:["shape-content"],attributeBindings:["title"],title:function(){return"topic"==this.get("model.type")?(this.get("model.properties.TopicYear")?this.get("model.properties.TopicYear")+"年":"")+(this.get("model.properties.TopicMonth")?this.get("model.properties.TopicMonth")+"月":"")+"主题："+this.get("model.properties.Title"):""}.property("model"),initialize:function(){var a=this,c=a.get("model");console.log(c);var d="topic"==c.type?c.get("properties.TopictypeCode").toLowerCase():c.type;-1!==d.indexOf("table")&&(d="table"),b(["./elements/"+d],function(b){b&&a.pushObject(b.create({model:a.get("model")}))})}.on("init")})});