System.register(["./p-3c39d395.system.js","./p-efe1606a.system.js"],function(t){"use strict";var e,i,n,s;return{setters:[function(t){e=t.r;i=t.h;n=t.g},function(t){s=t.l}],execute:function(){var r=t("bce_element_link_template",function(){function t(t){e(this,t);this.metadata={};this.href="";this.text="";this.icon="";this.labelHref="Reference";this.labelText="Text";this.labelIcon="Icon";this.placeholderHref="https://example.com";this.placeholderText="Example";this.placeholderIcon="globe";this._link=s(this,this.handleInput);this._href=this._link("href");this._text=this._link("text");this._icon=this._link("icon")}t.prototype.handleInput=function(t,e){var i;var n=e.target;if(!n)return;e.cancelBubble=true;this[t]=n.value;this.value=this.updateValue((i={},i[t]=n.value,i));this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.updateValue=function(t){if(t===void 0){t={}}var e={href:this.href,text:this.text,icon:this.icon,metadata:Object.assign({},this.metadata)};return Object.assign({},e,t)};t.prototype.componentDidLoad=function(){this.value=this.updateValue();this.el.dispatchEvent(new Event("input",{bubbles:true}))};t.prototype.render=function(){return[i("bce-input",Object.assign({type:"text"},this._href)),i("bce-input",Object.assign({type:"text"},this._text)),i("bce-input",Object.assign({type:"text"},this._icon))]};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:true,configurable:true});return t}())}}});