export const activeStateBehavior=function(e){return class extends e{constructor(){super(),this.isUserSelected=!1,setTimeout((()=>{this.addEventListener&&(this.addEventListener("mouseover",(e=>{this.isUserSelected=!0})),this.addEventListener("focusin",(e=>{this.isUserSelected=!0})),this.addEventListener("mouseout",(e=>{this.isUserSelected=!1})),this.addEventListener("focusout",(e=>{this.isUserSelected=!1})))}),0)}static get properties(){let e={};return super.properties&&(e=super.properties),e.isUserSelected={type:Boolean,reflect:!0,attribute:"is-user-selected"},e}}};