Buckets:

download
raw
4.24 kB
import{x as b,e as $,h as k,k as z,y as j,g as ee,z as U,i as ne,A as re,j as X,l as L,m as H,C as fe,B as ae,F as y,G as ie,I as A,J as B,K as le,L as se,M as ue,N as oe,O as q,P as te,Q as de,R as ve,T as G,U as ce,V as pe,W as K,X as P,Y,Z as ge,_ as _e,$ as he,a0 as Ee,a1 as me,a2 as Q,a3 as Te,a4 as Ae}from"./sz7-a29n.js";function Ne(e,r){return r}function Ce(e,r,s){for(var o=[],c=r.length,l,i=r.length,p=0;p<c;p++){let h=r[p];P(h,()=>{if(l){if(l.pending.delete(h),l.done.add(h),l.pending.size===0){var t=e.outrogroups;V(e,q(l.done)),t.delete(l),t.size===0&&(e.outrogroups=null)}}else i-=1},!1)}if(i===0){var a=o.length===0&&s!==null;if(a){var v=s,f=v.parentNode;_e(f),f.append(v),e.items.clear()}V(e,r,!a)}else l={pending:new Set(r),done:new Set},(e.outrogroups??=new Set).add(l)}function V(e,r,s=!0){var o;if(e.pending.size>0){o=new Set;for(const i of e.pending.values())for(const p of i)o.add(e.items.get(p).e)}for(var c=0;c<r.length;c++){var l=r[c];if(o?.has(l)){l.f|=A;const i=document.createDocumentFragment();he(l,i)}else Ee(r[c],s)}}var J;function xe(e,r,s,o,c,l=null){var i=e,p=new Map,a=(r&Q)!==0;if(a){var v=e;i=k?z(j(v)):v.appendChild(b())}k&&ee();var f=null,h=ue(()=>{var d=s();return oe(d)?d:d==null?[]:q(d)}),t,E=new Map,m=!0;function x(d){(w.effect.f&pe)===0&&(w.pending.delete(d),w.fallback=f,we(w,t,i,r,o),f!==null&&(t.length===0?(f.f&A)===0?K(f):(f.f^=A,M(f,null,i)):P(f,()=>{f=null})))}function n(d){w.pending.delete(d)}var u=$(()=>{t=U(h);var d=t.length;let _=!1;if(k){var O=ne(i)===re;O!==(d===0)&&(i=X(),z(i),L(!1),_=!0)}for(var S=new Set,g=ie,R=se(),I=0;I<d;I+=1){k&&H.nodeType===fe&&H.data===ae&&(i=H,_=!0,L(!1));var T=t[I],F=o(T,I),C=m?null:p.get(F);C?(C.v&&y(C.v,T),C.i&&y(C.i,I),R&&g.unskip_effect(C.e)):(C=Se(p,m?i:J??=b(),T,F,I,c,r,s),m||(C.e.f|=A),p.set(F,C)),S.add(F)}if(d===0&&l&&!f&&(m?f=B(()=>l(i)):(f=B(()=>l(J??=b())),f.f|=A)),d>S.size&&le(),k&&d>0&&z(X()),!m)if(E.set(g,S),R){for(const[W,Z]of p)S.has(W)||g.skip_effect(Z.e);g.oncommit(x),g.ondiscard(n)}else x(g);_&&L(!0),U(h)}),w={effect:u,items:p,pending:E,outrogroups:null,fallback:f};m=!1,k&&(i=H)}function D(e){for(;e!==null&&(e.f&ge)===0;)e=e.next;return e}function we(e,r,s,o,c){var l=(o&Ae)!==0,i=r.length,p=e.items,a=D(e.effect.first),v,f=null,h,t=[],E=[],m,x,n,u;if(l)for(u=0;u<i;u+=1)m=r[u],x=c(m,u),n=p.get(x).e,(n.f&A)===0&&(n.nodes?.a?.measure(),(h??=new Set).add(n));for(u=0;u<i;u+=1){if(m=r[u],x=c(m,u),n=p.get(x).e,e.outrogroups!==null)for(const T of e.outrogroups)T.pending.delete(n),T.done.delete(n);if((n.f&Y)!==0&&(K(n),l&&(n.nodes?.a?.unfix(),(h??=new Set).delete(n))),(n.f&A)!==0)if(n.f^=A,n===a)M(n,null,s);else{var w=f?f.next:a;n===e.effect.last&&(e.effect.last=n.prev),n.prev&&(n.prev.next=n.next),n.next&&(n.next.prev=n.prev),N(e,f,n),N(e,n,w),M(n,w,s),f=n,t=[],E=[],a=D(f.next);continue}if(n!==a){if(v!==void 0&&v.has(n)){if(t.length<E.length){var d=E[0],_;f=d.prev;var O=t[0],S=t[t.length-1];for(_=0;_<t.length;_+=1)M(t[_],d,s);for(_=0;_<E.length;_+=1)v.delete(E[_]);N(e,O.prev,S.next),N(e,f,O),N(e,S,d),a=d,f=S,u-=1,t=[],E=[]}else v.delete(n),M(n,a,s),N(e,n.prev,n.next),N(e,n,f===null?e.effect.first:f.next),N(e,f,n),f=n;continue}for(t=[],E=[];a!==null&&a!==n;)(v??=new Set).add(a),E.push(a),a=D(a.next);if(a===null)continue}(n.f&A)===0&&t.push(n),f=n,a=D(n.next)}if(e.outrogroups!==null){for(const T of e.outrogroups)T.pending.size===0&&(V(e,q(T.done)),e.outrogroups?.delete(T));e.outrogroups.size===0&&(e.outrogroups=null)}if(a!==null||v!==void 0){var g=[];if(v!==void 0)for(n of v)(n.f&Y)===0&&g.push(n);for(;a!==null;)(a.f&Y)===0&&a!==e.fallback&&g.push(a),a=D(a.next);var R=g.length;if(R>0){var I=(o&Q)!==0&&i===0?s:null;if(l){for(u=0;u<R;u+=1)g[u].nodes?.a?.measure();for(u=0;u<R;u+=1)g[u].nodes?.a?.fix()}Ce(e,g,I)}}l&&Te(()=>{if(h!==void 0)for(n of h)n.nodes?.a?.apply()})}function Se(e,r,s,o,c,l,i,p){var a=(i&te)!==0?(i&de)===0?ve(s,!1,!1):G(s):null,v=(i&ce)!==0?G(c):null;return{v:a,i:v,e:B(()=>(l(r,a??s,v??c,p),()=>{e.delete(o)}))}}function M(e,r,s){if(e.nodes)for(var o=e.nodes.start,c=e.nodes.end,l=r&&(r.f&A)===0?r.nodes.start:s;o!==null;){var i=me(o);if(l.before(o),o===c)return;o=i}}function N(e,r,s){r===null?e.effect.first=s:r.next=s,s===null?e.effect.last=r:s.prev=r}export{xe as e,Ne as i};

Xet Storage Details

Size:
4.24 kB
·
Xet hash:
ecbc0c028cc433326f37a597bc9324c07b592d14f1455589daf3863e789a5b59

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.