import{r as e,h as r,H as c,a as t}from"./p-8a04cc92.js";import"./p-836e88d4.js";import"./p-84fcecb9.js";import{C as s}from"./p-e06bc7e2.js";import{G as a}from"./p-62f4c75e.js";import"./p-62a6c3f4.js";import{H as i}from"./p-201402d9.js";import{P as o}from"./p-39faafc7.js";import{R as l}from"./p-11acb06d.js";import{T as u}from"./p-7d1c7c91.js";import"./p-8f078939.js";import"./p-1a50013f.js";import"./p-d3a46b1b.js";import{s as p}from"./p-107f44b6.js";import{a as n}from"./p-bd8fa0bf.js";import{P as m}from"./p-19c7a2df.js";import{P as d}from"./p-5d0a9978.js";import{g,a as h}from"./p-77365f2d.js";const b=class{constructor(r){e(this,r)}checkForAds(e){var r;((null===(r=null==e?void 0:e.doc.data)||void 0===r?void 0:r.body)||[]).forEach(e=>{"ad"===e.slice_type&&n(`${location.host}${location.pathname}`,"Resource Center")})}componentWillLoad(){this.checkForAds(this.prismicData)}render(){const e=g(this.prismicData.doc),t=this.prismicData;return r(c,null,r("div",{class:"resource-article"},r(u,{type:"editorial"},r(l,null,r(a,null,r(s,{md:3,sm:3},r("resource-toc",{titleNames:h(this.prismicData)})),r(s,{md:9,sm:9,xs:12,cols:12},r("div",{class:"resource-article-content"},r("div",{class:"heading-group"},r(i,{class:"ui-theme--editorial",level:1,id:p(t.title)},t.title),r(o,{level:2},t.description),e.map(e=>r("resource-author-item",{author:e})),r(d,{image:t.doc.data.hero_image,width:"800",height:"420"})),r("article",null,r(m,{content:t.doc.data.body})))))))),r(f,{resource:t}))}get el(){return t(this)}},f=({resource:e})=>r("script",{type:"application/ld+json"},JSON.stringify({"@context":"https://schema.org","@type":"NewsArticle",headline:e.title,image:[e.metaImage],datePublished:e.publishDate,dateModified:e.updatedDate,author:{"@type":"Person",name:e.authors[0].name},publisher:{"@type":"Organization",name:"Ionic",logo:{"@type":"ImageObject",url:"https://ionicframework.com/img/meta/logo.png"}}}));b.style='.sc-resource-article-h{padding-bottom:76px}.heading-group.sc-resource-article img.sc-resource-article{max-width:100%;margin-block-end:var(--space-11)}.heading-group.sc-resource-article .ui-heading-1.sc-resource-article{margin-block-start:var(--space-10);margin-block-end:var(--space-5)}.heading-group.sc-resource-article .ui-paragraph.sc-resource-article{color:#73849A;margin-block-end:var(--space-6)}resource-toc.sc-resource-article{margin-block-start:var(--space-10)}resource-author-item.sc-resource-article{margin-block-start:var(--space-3);margin-block-end:var(--space-3)}resource-author-item.sc-resource-article:last-of-type{margin-block-end:73px}article.sc-resource-article .ui-heading-2.sc-resource-article{margin-block-start:var(--space-9);margin-block-end:var(--space-3)}article.sc-resource-article .ui-heading-3.sc-resource-article{margin-block-start:var(--space-8);margin-block-end:var(--space-3)}article.sc-resource-article .ui-heading-4.sc-resource-article{margin-block-start:var(--space-3);margin-block-end:var(--space-2)}article.sc-resource-article .ui-heading.sc-resource-article:first-child{margin-block-start:0}article.sc-resource-article p.sc-resource-article{font-size:16px;letter-spacing:-0.011em;line-height:1.75em;margin-bottom:1.8em;color:var(--c-indigo-80)}article.sc-resource-article ul.sc-resource-article li.sc-resource-article{list-style-type:none}article.sc-resource-article ul.sc-resource-article li.sc-resource-article::before{content:"";display:inline-block;width:6px;height:6px;background:#b2becd;position:absolute;top:12px;left:0;border-radius:8px}article.sc-resource-article ol.sc-resource-article li.sc-resource-article{list-style-type:counter-style}article.sc-resource-article ul.sc-resource-article,article.sc-resource-article ol.sc-resource-article{font-size:16px;letter-spacing:-0.011em;line-height:1.75em;margin-bottom:1.8em;color:var(--c-indigo-80)}article.sc-resource-article li.sc-resource-article{position:relative;padding-left:18px}article.sc-resource-article table.sc-resource-article{overflow-x:auto;margin-right:-15px;padding-right:15px;box-sizing:content-box;font-size:13px}article.sc-resource-article table.sc-resource-article td.sc-resource-article,article.sc-resource-article table.sc-resource-article th.sc-resource-article{min-width:120px;padding-right:12px}article.sc-resource-article table.sc-resource-article tbody.sc-resource-article tr.sc-resource-article td.sc-resource-article{border-top-color:#DEE3EA}article.sc-resource-article table.sc-resource-article>thead.sc-resource-article>tr.sc-resource-article>th.sc-resource-article{border-bottom-color:#E9EDF3;font-weight:600}';export{b as resource_article}