System.register(["./p-dde863a3.system.js"],function(e){"use strict";var t,n,r;return{setters:[function(e){t=e.r;n=e.h;r=e.g}],execute:function(){var i=function(){function e(e){t(this,e)}e.prototype.componentDidLoad=function(){this.postRender()};e.prototype.componentDidUpdate=function(){this.postRender()};e.prototype.postRender=function(){var e=this.el.querySelector(".field--name-title");var t=this.el.querySelector(".field--name-content");if(this.data.title)e.innerHTML=this.data.title.rendered;if(this.data.content){t.innerHTML=this.data.content.rendered}else{t.innerHTML=""}};e.prototype.parsePost=function(e){return e};e.prototype.render=function(){if(this.dataJson){var e=this.parsePost(JSON.parse(this.dataJson));this.data=e}return n("article",{class:"post post-type-"+e.type+" clearfix",id:"post-"+e.id},n("header",null,n("h2",{class:"field field--name-title"})),n("div",{class:"content clearfix"},n("div",{class:"field field--name-content"}),e.type=="iframe"&&e.url&&n("div",{class:"field field--name-url"},n("ema-iframe",{src:e.url,width:e.width,height:e.height}))))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return":root{--ema-color:#343a40;--ema-primary:#007bff;--ema-secondary:#6c757d;--ema-success:#28a745;--ema-info:#17a2b8;--ema-warning:#ffc107;--ema-danger:#dc3545;--ema-light:#f8f9fa;--ema-dark:#343a40;--ema-background:#fff;--ema-background-diap:rgba(29,29,29,0.97);--ema-border-color:#c5c9cd;--ema-border:1px solid #c5c9cd;--ema-border-radius:3px 3px 3px 3px;--ema-box-shadow:1px 1px 10px 1px #ccc;--ema-margin:0.25rem;--ema-margin-sm:0.5rem;--ema-margin-md:1rem;--ema-margin-lg:1.5rem;--ema-margin-xl:2rem;--ema-padding:0.25rem;--ema-padding-sm:0.5rem;--ema-padding-md:1rem;--ema-padding-lg:1.5rem;--ema-padding-xl:2rem;--ema-gray-100:#f8f9fa;--ema-gray-200:#e9ecef;--ema-gray-300:#dee2e6;--ema-gray-400:#ced4da;--ema-gray-500:#adb5bd;--ema-gray-600:#868e96;--ema-gray-700:#495057;--ema-gray-800:#343a40;--ema-gray-900:#212529}ema-post .node .field{margin-bottom:var(--ema-padding-md,1rem)}"},enumerable:true,configurable:true});return e}();e("ema_post",i)}}});