import{s as d,c as w,u as y,g as k,d as v,f as c,n as f}from"./scheduler.1d51f4c0.js";import{S as m,i as _,g,h,j as b,f as u,k as n,a as p,d as E,t as T}from"./index.85d39492.js";function Y(a){let e,s;const o=a[3].default,r=w(o,a,a[2],null);return{c(){e=g("div"),r&&r.c(),this.h()},l(t){e=h(t,"DIV",{class:!0});var i=b(e);r&&r.l(i),i.forEach(u),this.h()},h(){n(e,"class","course-tip "+(a[0]==="orange"?"course-tip-orange":"")+" bg-gradient-to-br dark:bg-gradient-to-r before:border-"+a[0]+"-500 dark:before:border-"+a[0]+"-800 from-"+a[0]+"-50 dark:from-gray-900 to-white dark:to-gray-950 border border-"+a[0]+"-50 text-"+a[0]+"-700 dark:text-gray-400")},m(t,i){p(t,e,i),r&&r.m(e,null),s=!0},p(t,[i]){r&&r.p&&(!s||i&4)&&y(r,o,t,t[2],s?v(o,t[2],i,null):k(t[2]),null)},i(t){s||(E(r,t),s=!0)},o(t){T(r,t),s=!1},d(t){t&&u(e),r&&r.d(t)}}}function q(a,e,s){let{$$slots:o={},$$scope:r}=e,{warning:t=!1}=e;const i=t?"orange":"green";return a.$$set=l=>{"warning"in l&&s(1,t=l.warning),"$$scope"in l&&s(2,r=l.$$scope)},[i,t,r,o]}class j extends m{constructor(e){super(),_(this,e,q,Y,d,{warning:1})}}function F(a){let e,s;return{c(){e=g("iframe"),this.h()},l(o){e=h(o,"IFRAME",{class:!0,src:!0,title:!0,frameborder:!0,allow:!0}),b(e).forEach(u),this.h()},h(){n(e,"class","w-full xl:w-4/6 h-80"),c(e.src,s="https://www.youtube-nocookie.com/embed/"+a[0])||n(e,"src",s),n(e,"title","YouTube video player"),n(e,"frameborder","0"),n(e,"allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),e.allowFullscreen=!0},m(o,r){p(o,e,r)},p(o,[r]){r&1&&!c(e.src,s="https://www.youtube-nocookie.com/embed/"+o[0])&&n(e,"src",s)},i:f,o:f,d(o){o&&u(e)}}}function I(a,e,s){let{id:o}=e;return a.$$set=r=>{"id"in r&&s(0,o=r.id)},[o]}class A extends m{constructor(e){super(),_(this,e,I,F,d,{id:0})}}export{j as T,A as Y};
