2 lines
24 KiB
JavaScript
2 lines
24 KiB
JavaScript
![]() |
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();const u={};function W(e){u.context=e}function $e(){return{...u.context,id:`${u.context.id}${u.context.count++}-`,count:0}}const Ne=(e,t)=>e===t,H=Symbol("solid-proxy"),Se=Symbol("solid-track"),q={equals:Ne};let fe=ge;const C=1,U=2,ue={owned:null,cleanups:null,context:null,owner:null};var h=null;let M=null,d=null,p=null,$=null,ne=0;function z(e,t){const n=d,s=h,i=e.length===0,l=i?ue:{owned:null,cleanups:null,context:null,owner:t===void 0?s:t},o=i?e:()=>e(()=>N(()=>X(l)));h=l,d=null;try{return j(o,!0)}finally{d=n,h=s}}function Y(e,t){t=t?Object.assign({},q,t):q;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=i=>(typeof i=="function"&&(i=i(n.value)),he(n,i));return[de.bind(n),s]}function P(e,t,n){const s=se(e,t,!1,C);B(s)}function Ce(e,t,n){fe=Pe;const s=se(e,t,!1,C);s.user=!0,$?$.push(s):B(s)}function S(e,t,n){n=n?Object.assign({},q,n):q;const s=se(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,B(s),de.bind(s)}function Ct(e){return j(e,!1)}function N(e){if(d===null)return e();const t=d;d=null;try{return e()}finally{d=t}}function Et(e){Ce(()=>N(e))}function J(e){return h===null||(h.cleanups===null?h.cleanups=[e]:h.cleanups.push(e)),e}function Lt(e,t){const n=Symbol("context");return{id:n,Provider:_e(n),defaultValue:e}}function Mt(e){let t;return(t=ye(h,e.id))!==void 0?t:e.defaultValue}function Ee(e){const t=S(e),n=S(()=>Z(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}function de(){const e=M;if(this.sources&&(this.state||e))if(this.state===C||e)B(this);else{const t=p;p=null,j(()=>R(this),!1),p=t}if(d){const t=this.observers?this.observers.length:0;d.sources?(d.sources.push(this),d.sourceSlots.push(t)):(d.sources=[this],d.sourceSlots=[t]),this.observers?(this.observers.push(d),this.observerSlots.push(d.sources.length-1)):(this.observers=[d],this.observerSlots=[d.sources.length-1])}return this.value}function he(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let i=0;i<e.observers.length;i+=1){const l=e.observers[i],o=M&&M.running;o&&M.disposed.has(l),(o&&!l.tState||!o&&!l.state)&&(l.pure?p.push(l):$.push(l),l.observers&&me(l)),o||(l.state=C)}if(p.length>1e6)throw p=[],new Error},!1)),t}function B(e){if(!e.fn)return;X(e);const t=h,n=d,s=ne;d=h=e,Le(e,e.value,s),d=n,h=t}function Le(e,t,n){let s;try{s=e.fn(t)}catch(i){e.pure&&(e.state=C,e.owned&&e.owned.forEach(X),e.owned=null),pe(i)}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?he(e,s):e.value=s,e.updatedAt=n)}function se(e,t,n,s=C,i){const l={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:h,context:null,pure:n};return h===null||h!==ue&&(h.owned?h.owned.push(l):h.owned=[l]),l}function K(e){const t=M;if(e.state===0||t)return;if(e.state===U||t)return R(e);if(e.suspense&&N(e.suspense.inFallback))return e.suspense.effects.push(e);const n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<ne);)(e.state||t)&&n.push(e);for(let s=n.length-1;s>=0;s--)if(e=n[s],e.state===C||t)B(e);else if(e.state===U||t){const i=p;p=null,j(()=>R(e,n[0]),!1),p=i}}function j(e,t){if(p)return e();let n=!1;t||(p=[]),$?n=!0:$=[],ne++;try{const s=e();return Me(n),s}catch(s){n||($=null),p=null,pe(s)}}function Me(e){if(p&&(ge(p),p=null),e)return;const t=$;$=null,t.lengt
|