import{r as t,h as s,H as i}from"./p-1ea36ff3.js";import{P as e}from"./p-b1bf76b5.js";import"./p-56d4255d.js";import"./p-d50d0ec8.js";let r=class{constructor(s){t(this,s),this.fetchProduct=async()=>{const{id:t}=this.match.params,s=await this.apiDevingen.getProduct(t).catch((t=>this.error=t));s&&(this.product=e.decode(s))}}componentWillLoad(){this.fetchProduct()}render(){const{apiData:t,apiDevingen:e,product:r,products:p,workspaceOwnerships:o}=this;return r?s(i,null,s(`devingen-product-root-${r.type}`,{apiData:t,apiDevingen:e,product:r,products:p,workspaceOwnerships:o})):s("div",{class:"d-flex justify-content-center pt-3"},s("dvn-progress",{indefinite:!0}))}};export{r as devingen_product_page}