import{B as BalSwipeSubject}from"./swipe.subject-3e71bd6d.js";function ListenToSwipe(i){if(i===void 0){i={mobileOnly:false}}return function(t,e,n){var s=t.connectedCallback,o=t.disconnectedCallback;t.connectedCallback=function(){this._balSwipeSubject=new BalSwipeSubject(i);this._balSwipeSubject.attach(this);return s&&s.call(this)};t.disconnectedCallback=function(){this._balSwipeSubject.detach();return o&&o.call(this)}}}export{ListenToSwipe as L};