import{r as t,h as i}from"./p-03169580.js";import{s as e}from"./p-e1ee6da1.js";import"./p-59c95c5f.js";import"./p-3775d1fc.js";import"./p-80de33dc.js";import"./p-c2fbed0d.js";import"./p-5717491f.js";import"./p-de14d315.js";let s=class{constructor(i){t(this,i);this.zoom=1;this.resize=false;this.allowFullscreen=false;this.disablePositioning=false}componentDidLoad(){try{this.templateEl.shadowRoot.querySelector(".contract-header").remove();this.templateEl.shadowRoot.querySelector(".contract-footer").remove()}catch(t){console.log(t)}if(!this.disablePositioning)return;const t=this.templateEl.shadowRoot.querySelector(".render-wrapper");if(t)t.style.position="relative"}render(){var t,s;const o=this.template||((s=(t=e.templates)===null||t===void 0?void 0:t.find)===null||s===void 0?void 0:s.call(t,(t=>(t===null||t===void 0?void 0:t.id)===this.templateId)));const r=this.helpers||(e===null||e===void 0?void 0:e.helpers)||{};const l=(this.partials||e.templates||[]).filter((t=>!!(t===null||t===void 0?void 0:t.partial))).map((t=>({html:(t===null||t===void 0?void 0:t.html)||"",id:(t===null||t===void 0?void 0:t.id)||null})));return i("fireenjin-render-template",{ref:t=>this.templateEl=t,disableFrame:true,template:o,templateId:this.templateId,data:this.data,helpers:r,partials:l,zoom:this.zoom,allowFullscreen:this.allowFullscreen,resize:this.resize,rawHtml:this.rawHtml})}};export{s as floodteam_template};
//# sourceMappingURL=p-73604ce4.entry.js.map