import{M as c,V as t}from"./p-dcc98162.js";import{K as e}from"./p-148d9138.js";var n=function(c,t,e,n){var o,l=arguments.length,a=l<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,e):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(c,t,e,n);else for(var s=c.length-1;s>=0;s--)(o=c[s])&&(a=(l<3?o(a):l>3?o(t,e,a):o(t,e))||a);return l>3&&a&&Object.defineProperty(t,e,a),a};class o extends t{constructor(c){super(),this.keyboardEventListeners=[],this.listenersRetriever=c}connectedCallback(){e.register(this.keyboardEventListeners)}disconnectedCallback(){e.deregister(this.keyboardEventListeners)}componentDidLoad(){this.keyboardEventListeners=this.listenersRetriever(this),e.register(this.keyboardEventListeners)}}n([c("connectedCallback")],o.prototype,"connectedCallback",null),n([c("disconnectedCallback")],o.prototype,"disconnectedCallback",null),n([c("componentDidLoad")],o.prototype,"componentDidLoad",null);export{o as K}