System.register(["./index-83dd9303.system.js"],(function(e){"use strict";var n,t,i,r;return{setters:[function(e){n=e.r;t=e.a;i=e.h;r=e.g}],execute:function(){var s=':Host{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;cursor:pointer;text-decoration:underline;white-space:nowrap;margin-left:16px;-ms-flex-order:2;order:2}.banner__link{position:relative}.banner__link::before{content:"";position:absolute;inset:-4px;border:2px solid transparent;border-radius:4px}.banner__link:focus-visible{outline:none}.banner__link:focus-visible::before{border-color:var(--color-focus, #c226fb)}';var o=e("bds_banner_link",function(){function e(e){var i=this;n(this,e);this.bdsBannerLink=t(this,"bdsBannerLink",7);this._buttonClickHandler=function(){i.bdsBannerLink.emit(i.el);window.open(i.link)};this.link=undefined;this.dataTest=null}e.prototype.handleKeyDown=function(e){if(e.key=="Enter"){this.bdsBannerLink.emit(this.el);window.open(this.link)}};e.prototype.render=function(){var e=this;var n="a";return i(n,{key:"74ce2914f086449395c27c71ad0ba5ab09a47ef2",class:{banner__link:true},onClick:function(){return e._buttonClickHandler()},"data-test":this.dataTest,tabindex:"0",onKeyDown:this.handleKeyDown.bind(this)},i("slot",{key:"e3bb860d61e43d3516b2653031df9458f5fdba68"}))};Object.defineProperty(e.prototype,"el",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());o.style=s}}}));
//# sourceMappingURL=bds-banner-link.system.entry.js.map