radames's picture
static
4825ce7 unverified
raw
history blame
8.11 kB
function M(){}function nt(t,e){for(const n in e)t[n]=e[n];return t}function K(t){return t()}function I(){return Object.create(null)}function v(t){t.forEach(K)}function it(t){return typeof t=="function"}function $t(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}function rt(t){return Object.keys(t).length===0}function ct(t,...e){if(t==null)return M;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function vt(t,e,n){t.$$.on_destroy.push(ct(e,n))}function Et(t,e,n,i){if(t){const r=W(t,e,n,i);return t[0](r)}}function W(t,e,n,i){return t[1]&&i?nt(n.ctx.slice(),t[1](i(e))):n.ctx}function St(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const u=[],c=Math.max(e.dirty.length,r.length);for(let o=0;o<c;o+=1)u[o]=e.dirty[o]|r[o];return u}return e.dirty|r}return e.dirty}function Nt(t,e,n,i,r,u){if(r){const c=W(e,n,i,u);t.p(c,r)}}function kt(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let i=0;i<n;i++)e[i]=-1;return e}return-1}const Q=typeof window<"u";let At=Q?()=>window.performance.now():()=>Date.now(),R=Q?t=>requestAnimationFrame(t):M;const w=new Set;function U(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),w.size!==0&&R(U)}function Mt(t){let e;return w.size===0&&R(U),{promise:new Promise(n=>{w.add(e={c:t,f:n})}),abort(){w.delete(e)}}}let j=!1;function st(){j=!0}function lt(){j=!1}function ot(t,e,n,i){for(;t<e;){const r=t+(e-t>>1);n(r)<=i?t=r+1:e=r}return t}function ut(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const s=[];for(let l=0;l<e.length;l++){const f=e[l];f.claim_order!==void 0&&s.push(f)}e=s}const n=new Int32Array(e.length+1),i=new Int32Array(e.length);n[0]=-1;let r=0;for(let s=0;s<e.length;s++){const l=e[s].claim_order,f=(r>0&&e[n[r]].claim_order<=l?r+1:ot(1,r,d=>e[n[d]].claim_order,l))-1;i[s]=n[f]+1;const _=f+1;n[_]=s,r=Math.max(_,r)}const u=[],c=[];let o=e.length-1;for(let s=n[r]+1;s!=0;s=i[s-1]){for(u.push(e[s-1]);o>=s;o--)c.push(e[o]);o--}for(;o>=0;o--)c.push(e[o]);u.reverse(),c.sort((s,l)=>s.claim_order-l.claim_order);for(let s=0,l=0;s<c.length;s++){for(;l<u.length&&c[s].claim_order>=u[l].claim_order;)l++;const f=l<u.length?u[l]:null;t.insertBefore(c[s],f)}}function at(t,e){if(j){for(ut(t),(t.actual_end_child===void 0||t.actual_end_child!==null&&t.actual_end_child.parentNode!==t)&&(t.actual_end_child=t.firstChild);t.actual_end_child!==null&&t.actual_end_child.claim_order===void 0;)t.actual_end_child=t.actual_end_child.nextSibling;e!==t.actual_end_child?(e.claim_order!==void 0||e.parentNode!==t)&&t.insertBefore(e,t.actual_end_child):t.actual_end_child=e.nextSibling}else(e.parentNode!==t||e.nextSibling!==null)&&t.appendChild(e)}function jt(t,e,n){j&&!n?at(t,e):(e.parentNode!==t||e.nextSibling!=n)&&t.insertBefore(e,n||null)}function ft(t){t.parentNode.removeChild(t)}function dt(t){return document.createElement(t)}function _t(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function T(t){return document.createTextNode(t)}function Ct(){return T(" ")}function Pt(){return T("")}function zt(t,e,n,i){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n,i)}function Bt(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function ht(t){return Array.from(t.childNodes)}function mt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function V(t,e,n,i,r=!1){mt(t);const u=(()=>{for(let c=t.claim_info.last_index;c<t.length;c++){const o=t[c];if(e(o)){const s=n(o);return s===void 0?t.splice(c,1):t[c]=s,r||(t.claim_info.last_index=c),o}}for(let c=t.claim_info.last_index-1;c>=0;c--){const o=t[c];if(e(o)){const s=n(o);return s===void 0?t.splice(c,1):t[c]=s,r?s===void 0&&t.claim_info.last_index--:t.claim_info.last_index=c,o}}return i()})();return u.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,u}function X(t,e,n,i){return V(t,r=>r.nodeName===e,r=>{const u=[];for(let c=0;c<r.attributes.length;c++){const o=r.attributes[c];n[o.name]||u.push(o.name)}u.forEach(c=>r.removeAttribute(c))},()=>i(e))}function Dt(t,e,n){return X(t,e,n,dt)}function Lt(t,e,n){return X(t,e,n,_t)}function pt(t,e){return V(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>T(e),!0)}function Ot(t){return pt(t," ")}function Tt(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function qt(t,e,n,i){n===null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}let $;function b(t){$=t}function q(){if(!$)throw new Error("Function called outside component initialization");return $}function Ft(t){q().$$.on_mount.push(t)}function Ht(t){q().$$.after_update.push(t)}function It(t){q().$$.on_destroy.push(t)}const x=[],G=[],k=[],J=[],Y=Promise.resolve();let L=!1;function Z(){L||(L=!0,Y.then(tt))}function Gt(){return Z(),Y}function O(t){k.push(t)}const D=new Set;let N=0;function tt(){const t=$;do{for(;N<x.length;){const e=x[N];N++,b(e),yt(e.$$)}for(b(null),x.length=0,N=0;G.length;)G.pop()();for(let e=0;e<k.length;e+=1){const n=k[e];D.has(n)||(D.add(n),n())}k.length=0}while(x.length);for(;J.length;)J.pop()();L=!1,D.clear(),b(t)}function yt(t){if(t.fragment!==null){t.update(),v(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(O)}}const A=new Set;let g;function Jt(){g={r:0,c:[],p:g}}function Kt(){g.r||v(g.c),g=g.p}function et(t,e){t&&t.i&&(A.delete(t),t.i(e))}function gt(t,e,n,i){if(t&&t.o){if(A.has(t))return;A.add(t),g.c.push(()=>{A.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}function Wt(t,e){gt(t,1,1,()=>{e.delete(t.key)})}function Qt(t,e,n,i,r,u,c,o,s,l,f,_){let d=t.length,m=u.length,h=d;const C={};for(;h--;)C[t[h].key]=h;const E=[],P=new Map,z=new Map;for(h=m;h--;){const a=_(r,u,h),p=n(a);let y=c.get(p);y?i&&y.p(a,e):(y=l(p,a),y.c()),P.set(p,E[h]=y),p in C&&z.set(p,Math.abs(h-C[p]))}const F=new Set,H=new Set;function B(a){et(a,1),a.m(o,f),c.set(a.key,a),f=a.first,m--}for(;d&&m;){const a=E[m-1],p=t[d-1],y=a.key,S=p.key;a===p?(f=a.first,d--,m--):P.has(S)?!c.has(y)||F.has(y)?B(a):H.has(S)?d--:z.get(y)>z.get(S)?(H.add(y),B(a)):(F.add(S),d--):(s(p,c),d--)}for(;d--;){const a=t[d];P.has(a.key)||s(a,c)}for(;m;)B(E[m-1]);return E}function Rt(t){t&&t.c()}function Ut(t,e){t&&t.l(e)}function wt(t,e,n,i){const{fragment:r,on_mount:u,on_destroy:c,after_update:o}=t.$$;r&&r.m(e,n),i||O(()=>{const s=u.map(K).filter(it);c?c.push(...s):v(s),t.$$.on_mount=[]}),o.forEach(O)}function xt(t,e){const n=t.$$;n.fragment!==null&&(v(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function bt(t,e){t.$$.dirty[0]===-1&&(x.push(t),Z(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Vt(t,e,n,i,r,u,c,o=[-1]){const s=$;b(t);const l=t.$$={fragment:null,ctx:null,props:u,update:M,not_equal:r,bound:I(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:I(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};c&&c(l.root);let f=!1;if(l.ctx=n?n(t,e.props||{},(_,d,...m)=>{const h=m.length?m[0]:d;return l.ctx&&r(l.ctx[_],l.ctx[_]=h)&&(!l.skip_bound&&l.bound[_]&&l.bound[_](h),f&&bt(t,_)),d}):[],l.update(),f=!0,v(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){st();const _=ht(e.target);l.fragment&&l.fragment.l(_),_.forEach(ft)}else l.fragment&&l.fragment.c();e.intro&&et(t.$$.fragment),wt(t,e.target,e.anchor,e.customElement),lt(),tt()}b(s)}class Xt{$destroy(){xt(this,1),this.$destroy=M}$on(e,n){const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!rt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{M as A,Et as B,Nt as C,kt as D,St as E,at as F,vt as G,At as H,Mt as I,_t as J,Lt as K,zt as L,v as M,It as N,Qt as O,Wt as P,Xt as S,Ct as a,jt as b,Ot as c,Kt as d,Pt as e,et as f,Jt as g,ft as h,Vt as i,Ht as j,dt as k,Dt as l,ht as m,Bt as n,Ft as o,qt as p,T as q,pt as r,$t as s,gt as t,Tt as u,Rt as v,Ut as w,wt as x,xt as y,Gt as z};