function monitorHeightOfIsolatedDisplay(id,origin){let url="ViewTemplateInlinedCssHtml";if(!id.startsWith("template"))url="ViewInlinedCssHtml?id\x3d"+id;jQuery("#inlined-css-html-container").embedPlayer({url:url,width:"100%",height:"100%",messageEventHandlerConfig:{origin:origin,handler:__messageEventHandlerForIFrameResize}});function __messageEventHandlerForIFrameResize(event){if(event.$iframe&&event.origin===origin&&typeof event.data==="string"){let data=JSON.parse(event.data);let height=data["display_height"];
if(height)event.$iframe.style.height=height+"px"}}};