System.register(["./p-343b3b10.system.js"],(function(t){"use strict";var r,e,n;return{setters:[function(t){r=t.r;e=t.h;n=t.H}],execute:function(){var o=t("devingen_product_root_taban",function(){function t(t){r(this,t)}t.prototype.componentWillLoad=function(){this.fetchProductSettings()};t.prototype.fetchProductSettings=function(){var t=this;this.apiDevingen.findProductSettingsTaban(this.product._id).then((function(r){return t.productSettings=r})).catch((function(r){var e;if(((e=r===null||r===void 0?void 0:r.data)===null||e===void 0?void 0:e.error)==="product-setting-not-found-for-product"){t.apiDevingen.createProductSettingsTaban(t.product._id).then((function(r){t.productSettings=r})).catch((function(r){return t.error=r}))}else{t.error=r}}))};t.prototype.render=function(){var t=this.error;if(t){return e(n,null,e("div",{class:"d-flex justify-content-center"},e("devingen-error-card",{error:t,message:"Unexpected error occurred."})))}return e(n,{class:"container d-flex flex-grow-1 flex-column"})};return t}())}}}));