define(["qlik"],function(qlik){var KNOWN_CONTAINERS=["qlik-show-hide-container","qlik-tabbed-container","qlik-trellis-container"];return function(){var app=qlik.currApp();return app.getList("masterobject").then(function(model){return app.destroySessionObject(model.layout.qInfo.qId),model.layout.qAppObjectList.qItems?model.layout.qAppObjectList.qItems.filter(function(item){return KNOWN_CONTAINERS.indexOf(item.qData.visualization)<0}).map(function(item){return{value:item.qMeta.title+"|"+item.qInfo.qId,label:50<item.qMeta.title.length?item.qMeta.title.slice(0,50)+"...":item.qMeta.title}}):[{value:"",label:"No MasterObjects"}]})}});