|
import{s as _,r as p,e as v,c as m,a as h,d as f,i as b,v as g,w as I,x as E,G as $,q as D,O as q,B as w}from"./scheduler.DB3Sqaa-.js";import{S as y,i as L,t as M,a as O}from"./index.CidI1d1E.js";function S(r){let n,a;const o=r[2].default,t=p(o,r,r[1],null);return{c(){n=v("div"),t&&t.c()},l(e){n=m(e,"DIV",{});var s=h(n);t&&t.l(s),s.forEach(f)},m(e,s){b(e,n,s),t&&t.m(n,null),r[3](n),a=!0},p(e,[s]){t&&t.p&&(!a||s&2)&&g(t,o,e,e[1],a?E(o,e[1],s,null):I(e[1]),null)},i(e){a||(M(t,e),a=!0)},o(e){O(t,e),a=!1},d(e){e&&f(n),t&&t.d(e),r[3](null)}}}function k(r,n,a){let{$$slots:o={},$$scope:t}=n;const e=$();let s,c,i;D(()=>{c=new IntersectionObserver((l,B)=>{l.forEach(d=>{d.isIntersecting?i=setInterval(()=>{e("visible")},100):clearInterval(i)})},{root:null,rootMargin:"0px",threshold:.1}),c.observe(s)}),q(()=>{c.disconnect(),i&&clearInterval(i)});function u(l){w[l?"unshift":"push"](()=>{s=l,a(0,s)})}return r.$$set=l=>{"$$scope"in l&&a(1,t=l.$$scope)},[s,t,o,u]}class V extends y{constructor(n){super(),L(this,n,k,S,_,{})}}export{V as L}; |