import{S as b,i as C,s as B,e as m,w as E,k as M,c as p,a as _,x as k,d as h,m as q,b as v,g as w,F as g,y as D,Q as f,q as H,o as I,B as L,R as N}from"./vendor-4833417e.js";import{C as O}from"./CopyButton-dacfbfaf.js";function R(s){let e,n,a,u,i,r,d,l;return a=new O({props:{classNames:"transition duration-200 ease-in-out "+(s[2]&&"opacity-0"),label:"code excerpt",value:s[0]}}),{c(){e=m("div"),n=m("div"),E(a.$$.fragment),u=M(),i=m("pre"),this.h()},l(t){e=p(t,"DIV",{class:!0});var o=_(e);n=p(o,"DIV",{class:!0});var c=_(n);k(a.$$.fragment,c),c.forEach(h),u=q(o),i=p(o,"PRE",{});var y=_(i);y.forEach(h),o.forEach(h),this.h()},h(){v(n,"class","absolute top-2.5 right-4"),v(e,"class","code-block relative")},m(t,o){w(t,e,o),g(e,n),D(a,n,null),g(e,u),g(e,i),i.innerHTML=s[1],r=!0,d||(l=[f(e,"mouseover",s[3]),f(e,"focus",s[3]),f(e,"mouseout",s[4]),f(e,"blur",s[4])],d=!0)},p(t,[o]){const c={};o&4&&(c.classNames="transition duration-200 ease-in-out "+(t[2]&&"opacity-0")),o&1&&(c.value=t[0]),a.$set(c),(!r||o&2)&&(i.innerHTML=t[1])},i(t){r||(H(a.$$.fragment,t),r=!0)},o(t){I(a.$$.fragment,t),r=!1},d(t){t&&h(e),L(a),d=!1,N(l)}}}function S(s,e,n){let a=!0,{code:u=""}=e,{highlighted:i=""}=e;function r(){n(2,a=!1)}function d(){n(2,a=!0)}return s.$$set=l=>{"code"in l&&n(0,u=l.code),"highlighted"in l&&n(1,i=l.highlighted)},[u,i,a,r,d]}class F extends b{constructor(e){super();C(this,e,S,R,B,{code:0,highlighted:1})}}export{F as C};
