import{B as s}from"./p-QZIJPVF8.js";import{a as t}from"./p-DttRmuGk.js";import{a as r}from"./p-CklISCW5.js";class p extends t{constructor(){super((s=>{s.windowResizeListener()})),this.listener=new s}attach(s){super.attach(s),r.hasWindow&&(this.listener.connect(window),this.listener.add((()=>super.notify())))}detach(){super.detach(),this.listener.disconnect()}}new p;export{p as B}