Liferay.Loader.define("frontend-js-spa-web@5.0.32/screen/Screen",["module","exports","require","frontend-js-web","../cacheable/Cacheable","../util/utils"],(function(e,t,r){var s;window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r("frontend-js-web"),a=(s=r("../cacheable/Cacheable"))&&s.__esModule?s:{default:s},n=r("../util/utils");class e extends a.default{constructor(){super(),this.id=this.makeId_((0,n.getUid)()),this.metas=null,this.title=null}activate(){}beforeActivate(){}beforeDeactivate(){}beforeUpdateHistoryPath(e){return e}beforeUpdateHistoryState(e){return e}deactivate(){}disposeInternal(){super.disposeInternal()}evaluateScripts(e){return Object.keys(e).forEach((t=>{e[t].activeChild&&(0,i.runScriptsInElement)(e[t].activeChild)})),Promise.resolve()}evaluateStyles(){return Promise.resolve()}flip(e){const t=[];return Object.keys(e).forEach((r=>{const s=e[r].show(this.id);t.push(s)})),Promise.all(t)}getId(){return this.id}getMetas(){return this.metas}getSurfaceContent(){}getTitle(){return this.title}load(){return Promise.resolve()}makeId_(e){return"screen_"+e}setId(e){this.id=e}setMetas(e){this.metas=e}setTitle(e){this.title=e}toString(){return this.id}}e.isImplementedBy=function(t){return t instanceof e};var l=e;t.default=l}}));
//# sourceMappingURL=Screen.js.map