import{getDocUrl as o}from"./lib/dev-hub-url.js";import{defineSmartComponent as t}from"./lib/smart/define-smart-component.js";import{i18n as e}from"./translation.js";import{CcAddonHeaderClient as n}from"./cc-addon-header.client.js";import"./cc-smart-container.js";import"./cc-addon-info.js";t({selector:'cc-addon-info[smart-mode="config-provider"]',params:{apiConfig:{type:Object},ownerId:{type:String},addonId:{type:String}},onContextUpdate({context:t,updateComponent:r,signal:d}){const{apiConfig:i,ownerId:a,addonId:c}=t,p=new n({apiConfig:i,ownerId:a,addonId:c,providerId:"config-provider",signal:d});r("state",{type:"loading",creationDate:"2025-08-06 15:03:00"}),r("docLink",{text:e("cc-addon-info.doc-link.config-provider"),href:o("/addons/config-provider")}),p.getAddon().then((o=>{r("state",{type:"loaded",creationDate:o.creationDate})})).catch((o=>{console.error(o),r("state",{type:"error"})}))}});
//# sourceMappingURL=cc-addon-info.smart-config-provider.js.map
