/*! Built with http://stenciljs.com */
const{h:t}=window.webcomponents;import{a as e}from"./chunk-3db5a196.js";import"./chunk-e83794f9.js";import"./chunk-7544ae3d.js";import{a as s}from"./chunk-e405d082.js";import"./chunk-3bf53888.js";import"./chunk-7fb7349a.js";import{b as a}from"./chunk-541bf05a.js";class n{constructor(){this.app=e.instance}iframeLoaded(t){console.log(t.detail)}componentWillLoad(){this.data={title:"js-base"},s.fetchJson("assets/documentation.json").then(t=>{this.docData=t})}componentDidLoad(){this.postRender()}componentDidUpdate(){this.postRender()}postRender(){this.docData&&a.fadeIn(this.el.querySelector(".jumbotron"),350,1400)}render(){return t("div",{class:"text-center"},t("ema-svg",{src:"../assets/sketch/splash/images/splash.svg","data-json":JSON.stringify(this.data),class:"img-responsive"}),this.docData&&t("div",{class:"jumbotron pt-3 pb-3 hidden"},t("h5",null,"webcomponents"),t("ul",{class:"list-inline"},this.app.components.map(e=>t("li",{class:"list-inline-item"},t("stencil-route-link",{url:"/components/"+e.tag},"<"+e.tag+">")))),t("h5",null,"modules"),t("ul",{class:"list-inline"},this.docData.children.map(e=>{if(e.flags.isExported)return t("li",{class:"list-inline-item"},t("stencil-route-link",{url:"/documentation"},e.name))}))))}static get is(){return"ema-app-home"}static get properties(){return{data:{state:!0},docData:{state:!0},el:{elementRef:!0}}}static get listeners(){return[{name:"iframeLoaded",method:"iframeLoaded"}]}static get style(){return"ema-app-home .jumbotron{color:#868e96;border-top:1px solid #c5c9cd;border-bottom:1px solid #c5c9cd;padding-left:3rem;padding-right:3rem}ema-app-home .jumbotron li{font-size:.86rem;padding:.25rem .33333rem}"}}export{n as EmaAppHome};