Buckets:
| import"./DsnmJJEf.js";import{i as L,s as S}from"./CJBatW_J.js";import{q as x,h as y,k as O,K as p,e as A,y as B,L as T,M as D,m as R,N as P,O as q,P as G,Q as U,R as V,T as F,U as J,a as M,s as k,d as C,c as E,r as g,J as K,p as Q,V as W,W as _,b as X,I as m,F as Y,x as j,X as H,G as I,C as N}from"./DnHL2hU6.js";import{s as w,bb as z,bc as Z}from"./D45Yw1Zr.js";import{p as r}from"./gKAq8ekm.js";function $(v,t,i=!1,n=!1,s=!1,d=!1){var u=v,a="";if(i){var l=v;y&&(u=O(p(l)))}x(()=>{var c=B;if(a===(a=t()??"")){y&&A();return}if(i&&!y){c.nodes=null,l.innerHTML=a,a!==""&&T(p(l),l.lastChild);return}if(c.nodes!==null&&(D(c.nodes.start,c.nodes.end),c.nodes=null),a!==""){if(y){R.data;for(var e=A(),f=e;e!==null&&(e.nodeType!==P||e.data!=="");)f=e,e=q(e);if(e===null)throw G(),U;T(R,f),u=O(e);return}var h=n?F:s?J:void 0,o=V(n?"svg":s?"math":"template",h);o.innerHTML=a;var b=n||s?o:o.content;if(T(p(b),b.lastChild),n||s)for(;p(b);)u.before(p(b));else u.before(b)}})}var ee=E(`<div><div class="absolute bottom-full left-1/2 transform -translate-x-1/2 w-0 h-0 border-black border-4 border-t-0" style=" | |
| border-left-color: transparent; | |
| border-right-color: transparent; | |
| "></div> </div>`);function te(v,t){let i=r(t,"classNames",8,""),n=r(t,"label",8,"Copied"),s=r(t,"position",8,"left-1/2 top-full transform -translate-x-1/2 translate-y-2");var d=ee(),u=k(C(d));g(d),x(()=>{w(d,1,` | |
| absolute pointer-events-none transition-opacity bg-black text-white py-1 px-2 leading-tight rounded font-normal shadow | |
| ${s()??""} | |
| ${i()??""} | |
| `),K(u,` ${n()??""}`)}),M(v,d)}var ae=E('<button type="button"><!> <!></button>');function se(v,t){Q(t,!1);let i=r(t,"classNames",8,""),n=r(t,"label",8,""),s=r(t,"style",8,"text"),d=r(t,"title",8,""),u=r(t,"value",8),a=I(!1),l;W(()=>{l&&clearTimeout(l)});function c(){Z(decodeURIComponent(atob(u()))),N(a,!0),l&&clearTimeout(l),l=setTimeout(()=>{N(a,!1)},1e3)}L();var e=ae(),f=C(e);z(f,{});var h=k(f,2);{let o=H(()=>m(a)?"opacity-100":"opacity-0");te(h,{get classNames(){return m(o)}})}g(e),x(o=>{w(e,1,`inline-flex items-center relative text-sm focus:text-green-500 cursor-pointer focus:outline-none | |
| ${i()??""} | |
| ${s()==="text"?"mx-0.5":""} | |
| ${s()==="button"?"btn":""} | |
| ${s()==="button-clear"?"py-1 px-2 border rounded-lg shadow-sm":""} | |
| ${o??""} | |
| ${m(a)?"text-green-500":""} | |
| `),S(e,"title",d()||n()||"Copy to clipboard")},[()=>(m(a),Y(s()),j(()=>!m(a)&&["button-clear","text"].includes(s())?"text-gray-600":""))]),_("click",e,c),M(v,e),X()}var le=E('<div><div class="absolute top-2.5 right-4"><!></div> <pre></pre></div>');function ue(v,t){let i=I(!0),n=r(t,"code",8,""),s=r(t,"highlighted",8,""),d=r(t,"lang",8,""),u=r(t,"wrap",8,!1),a=r(t,"classNames",8,"");function l(){N(i,!1)}function c(){N(i,!0)}var e=le(),f=C(e),h=C(f);{let b=H(()=>m(i)&&"opacity-0");se(h,{get classNames(){return`transition duration-200 ease-in-out ${m(b)??""}`},label:"code excerpt",get value(){return n()}})}g(f);var o=k(f,2);$(o,s,!0),g(o),g(e),x(()=>{w(e,1,`code-block relative ${a()??""}`),w(o,1,`${d()?`language-${d()}`:""} ${u()?"whitespace-pre-wrap":""}`)}),_("mouseover",e,l),_("focus",e,l),_("mouseout",e,c),_("blur",e,c),M(v,e)}export{ue as C}; | |
Xet Storage Details
- Size:
- 3.17 kB
- Xet hash:
- 9177179ff8e4cff6fd7270f1385ab02cd49e25191da56a137f51a2ed4c4e2b48
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.