Buckets:
| import{s as H,n as E,j as q,r as U}from"./scheduler.80eaf607.js";import{S as V,i as k,C as N,D as C,f as b,d,k as i,m as T,l as _,e as v,s as R,q as Z,a as y,b as O,r as P,x as j,u as Y,c as B,j as x,n as D,B as w,t as I,o as M,p as A,H as z,E as F}from"./index.47529bd5.js";function G(a){const e=document.createElement("textarea");document.body.appendChild(e),e.value=a,e.select(),document.execCommand("copy"),document.body.removeChild(e)}function J(a){let e,t,o,l;return{c(){e=N("svg"),t=N("path"),o=N("path"),l=N("rect"),this.h()},l(r){e=C(r,"svg",{class:!0,xmlns:!0,"aria-hidden":!0,fill:!0,focusable:!0,role:!0,width:!0,height:!0,preserveAspectRatio:!0,viewBox:!0});var s=b(e);t=C(s,"path",{d:!0,transform:!0}),b(t).forEach(d),o=C(s,"path",{d:!0,transform:!0}),b(o).forEach(d),l=C(s,"rect",{fill:!0,width:!0,height:!0}),b(l).forEach(d),s.forEach(d),this.h()},h(){i(t,"d","M28,10V28H10V10H28m0-2H10a2,2,0,0,0-2,2V28a2,2,0,0,0,2,2H28a2,2,0,0,0,2-2V10a2,2,0,0,0-2-2Z"),i(t,"transform","translate(0)"),i(o,"d","M4,18H2V4A2,2,0,0,1,4,2H18V4H4Z"),i(o,"transform","translate(0)"),i(l,"fill","none"),i(l,"width","32"),i(l,"height","32"),i(e,"class",a[0]),i(e,"xmlns","http://www.w3.org/2000/svg"),i(e,"aria-hidden","true"),i(e,"fill","currentColor"),i(e,"focusable","false"),i(e,"role","img"),i(e,"width","1em"),i(e,"height","1em"),i(e,"preserveAspectRatio","xMidYMid meet"),i(e,"viewBox","0 0 32 32")},m(r,s){T(r,e,s),_(e,t),_(e,o),_(e,l)},p(r,[s]){s&1&&i(e,"class",r[0])},i:E,o:E,d(r){r&&d(e)}}}function K(a,e,t){let{classNames:o=""}=e;return a.$$set=l=>{"classNames"in l&&t(0,o=l.classNames)},[o]}class L extends V{constructor(e){super(),k(this,e,K,J,H,{classNames:0})}}function Q(a){let e,t,o,l,r;return{c(){e=v("div"),t=v("div"),o=R(),l=Z(a[1]),this.h()},l(s){e=y(s,"DIV",{class:!0});var u=b(e);t=y(u,"DIV",{class:!0,style:!0}),b(t).forEach(d),o=O(u),l=P(u,a[1]),u.forEach(d),this.h()},h(){i(t,"class","absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0"),j(t,"border-left-color","transparent"),j(t,"border-right-color","transparent"),i(e,"class",r="absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow "+a[2]+" "+a[0])},m(s,u){T(s,e,u),_(e,t),_(e,o),_(e,l)},p(s,[u]){u&2&&Y(l,s[1]),u&5&&r!==(r="absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow "+s[2]+" "+s[0])&&i(e,"class",r)},i:E,o:E,d(s){s&&d(e)}}}function W(a,e,t){let{classNames:o=""}=e,{label:l="Copied"}=e,{position:r="left-1/2 top-full transform -translate-x-1/2 translate-y-2"}=e;return a.$$set=s=>{"classNames"in s&&t(0,o=s.classNames),"label"in s&&t(1,l=s.label),"position"in s&&t(2,r=s.position)},[o,l,r]}class X extends V{constructor(e){super(),k(this,e,W,Q,H,{classNames:0,label:1,position:2})}}function $(a){let e,t,o,l,r,s,u,h,f;return t=new L({}),l=new X({props:{classNames:a[4]?"opacity-100":"opacity-0"}}),{c(){e=v("button"),B(t.$$.fragment),o=R(),B(l.$$.fragment),this.h()},l(n){e=y(n,"BUTTON",{class:!0,title:!0,type:!0});var c=b(e);x(t.$$.fragment,c),o=O(c),x(l.$$.fragment,c),c.forEach(d),this.h()},h(){i(e,"class",r="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none "+a[0]+" "+(a[2]==="text"?"mx-0.5":"")+" "+(a[2]==="button"?"btn":"")+" "+(a[2]==="button-clear"?"py-1 px-2 border rounded-lg shadow-sm":"")+" "+(!a[4]&&["button-clear","text"].includes(a[2])?"text-gray-600":"")+" "+(a[4]?"text-green-500":"")),i(e,"title",s=a[3]||a[1]||"Copy to clipboard"),i(e,"type","button")},m(n,c){T(n,e,c),D(t,e,null),_(e,o),D(l,e,null),u=!0,h||(f=w(e,"click",a[5]),h=!0)},p(n,[c]){const m={};c&16&&(m.classNames=n[4]?"opacity-100":"opacity-0"),l.$set(m),(!u||c&21&&r!==(r="inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none "+n[0]+" "+(n[2]==="text"?"mx-0.5":"")+" "+(n[2]==="button"?"btn":"")+" "+(n[2]==="button-clear"?"py-1 px-2 border rounded-lg shadow-sm":"")+" "+(!n[4]&&["button-clear","text"].includes(n[2])?"text-gray-600":"")+" "+(n[4]?"text-green-500":"")))&&i(e,"class",r),(!u||c&10&&s!==(s=n[3]||n[1]||"Copy to clipboard"))&&i(e,"title",s)},i(n){u||(I(t.$$.fragment,n),I(l.$$.fragment,n),u=!0)},o(n){M(t.$$.fragment,n),M(l.$$.fragment,n),u=!1},d(n){n&&d(e),A(t),A(l),h=!1,f()}}}function ee(a,e,t){let{classNames:o=""}=e,{label:l=""}=e,{style:r="text"}=e,{title:s=""}=e,{value:u}=e,h=!1,f;q(()=>{f&&clearTimeout(f)});function n(){G(decodeURIComponent(atob(u))),t(4,h=!0),f&&clearTimeout(f),f=setTimeout(()=>{t(4,h=!1)},1e3)}return a.$$set=c=>{"classNames"in c&&t(0,o=c.classNames),"label"in c&&t(1,l=c.label),"style"in c&&t(2,r=c.style),"title"in c&&t(3,s=c.title),"value"in c&&t(6,u=c.value)},[o,l,r,s,h,n,u]}class te extends V{constructor(e){super(),k(this,e,ee,$,H,{classNames:0,label:1,style:2,title:3,value:6})}}function ae(a){let e,t,o,l,r,s,u,h,f,n,c;return o=new te({props:{classNames:"transition duration-200 ease-in-out "+(a[4]&&"opacity-0"),label:"code excerpt",value:a[0]}}),{c(){e=v("div"),t=v("div"),B(o.$$.fragment),l=R(),r=v("pre"),s=new z(!1),this.h()},l(m){e=y(m,"DIV",{class:!0});var g=b(e);t=y(g,"DIV",{class:!0});var p=b(t);x(o.$$.fragment,p),p.forEach(d),l=O(g),r=y(g,"PRE",{class:!0});var S=b(r);s=F(S,!1),S.forEach(d),g.forEach(d),this.h()},h(){i(t,"class","absolute top-2.5 right-4"),s.a=null,i(r,"class",u=a[2]?"whitespace-pre-wrap":""),i(e,"class",h="code-block relative "+a[3])},m(m,g){T(m,e,g),_(e,t),D(o,t,null),_(e,l),_(e,r),s.m(a[1],r),f=!0,n||(c=[w(e,"mouseover",a[5]),w(e,"focus",a[5]),w(e,"mouseout",a[6]),w(e,"blur",a[6])],n=!0)},p(m,[g]){const p={};g&16&&(p.classNames="transition duration-200 ease-in-out "+(m[4]&&"opacity-0")),g&1&&(p.value=m[0]),o.$set(p),(!f||g&2)&&s.p(m[1]),(!f||g&4&&u!==(u=m[2]?"whitespace-pre-wrap":""))&&i(r,"class",u),(!f||g&8&&h!==(h="code-block relative "+m[3]))&&i(e,"class",h)},i(m){f||(I(o.$$.fragment,m),f=!0)},o(m){M(o.$$.fragment,m),f=!1},d(m){m&&d(e),A(o),n=!1,U(c)}}}function se(a,e,t){let o=!0,{code:l=""}=e,{highlighted:r=""}=e,{wrap:s=!1}=e,{classNames:u=""}=e;function h(){t(4,o=!1)}function f(){t(4,o=!0)}return a.$$set=n=>{"code"in n&&t(0,l=n.code),"highlighted"in n&&t(1,r=n.highlighted),"wrap"in n&&t(2,s=n.wrap),"classNames"in n&&t(3,u=n.classNames)},[l,r,s,u,o,h,f]}class oe extends V{constructor(e){super(),k(this,e,se,ae,H,{code:0,highlighted:1,wrap:2,classNames:3})}}export{oe as C}; | |
Xet Storage Details
- Size:
- 6.43 kB
- Xet hash:
- 760658614c669616d40c06572fe01398eebb6be38efbb40e810def4cab0ad560
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.