old.martials.no/assets/layout-f14619ef.js

2 lines
23 KiB
JavaScript
Raw Normal View History

2023-04-15 20:59:03 +00:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();const Ae=(e,t)=>e===t,V=Symbol("solid-proxy"),$e=Symbol("solid-track"),xe=Symbol("solid-dev-component"),F={equals:Ae};let oe=he;const L=1,U=2,ae={owned:null,cleanups:null,context:null,owner:null};var g=null;let X=null,d=null,p=null,x=null,K=0;function j(e,t){const n=d,s=g,l=e.length===0,i=l?ae:{owned:null,cleanups:null,context:null,owner:t===void 0?s:t},o=l?e:()=>e(()=>A(()=>q(i)));g=i,d=null;try{return P(o,!0)}finally{d=n,g=s}}function fe(e,t){t=t?Object.assign({},F,t):F;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=l=>(typeof l=="function"&&(l=l(n.value)),de(n,l));return[ue.bind(n),s]}function N(e,t,n){const s=ee(e,t,!1,L);D(s)}function ce(e,t,n){oe=Pe;const s=ee(e,t,!1,L);s.user=!0,x?x.push(s):D(s)}function C(e,t,n){n=n?Object.assign({},F,n):F;const s=ee(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,D(s),ue.bind(s)}function Ct(e){return P(e,!1)}function A(e){if(d===null)return e();const t=d;d=null;try{return e()}finally{d=t}}function Lt(e){ce(()=>A(e))}function Q(e){return g===null||(g.cleanups===null?g.cleanups=[e]:g.cleanups.push(e)),e}function Se(){return g}function Ce(e,t){const n=g,s=d;g=e,d=null;try{return P(t,!0)}catch(l){te(l)}finally{g=n,d=s}}function Et(e,t){const n=Symbol("context");return{id:n,Provider:Me(n),defaultValue:e}}function Nt(e){let t;return(t=me(g,e.id))!==void 0?t:e.defaultValue}function Le(e){const t=C(e),n=C(()=>Y(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}function ue(){if(this.sources&&this.state)if(this.state===L)D(this);else{const e=p;p=null,P(()=>R(this),!1),p=e}if(d){const e=this.observers?this.observers.length:0;d.sources?(d.sources.push(this),d.sourceSlots.push(e)):(d.sources=[this],d.sourceSlots=[e]),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 de(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&P(()=>{for(let l=0;l<e.observers.length;l+=1){const i=e.observers[l],o=X&&X.running;o&&X.disposed.has(i),(o?!i.tState:!i.state)&&(i.pure?p.push(i):x.push(i),i.observers&&ge(i)),o||(i.state=L)}if(p.length>1e6)throw p=[],new Error},!1)),t}function D(e){if(!e.fn)return;q(e);const t=g,n=d,s=K;d=g=e,Ee(e,e.value,s),d=n,g=t}function Ee(e,t,n){let s;try{s=e.fn(t)}catch(l){return e.pure&&(e.state=L,e.owned&&e.owned.forEach(q),e.owned=null),e.updatedAt=n+1,te(l)}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?de(e,s):e.value=s,e.updatedAt=n)}function ee(e,t,n,s=L,l){const i={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:g,context:null,pure:n};return g===null||g!==ae&&(g.owned?g.owned.push(i):g.owned=[i]),i}function H(e){if(e.state===0)return;if(e.state===U)return R(e);if(e.suspense&&A(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<K);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===L)D(e);else if(e.state===U){const s=p;p=null,P(()=>R(e,t[0]),!1),p=s}}function P(e,t){if(p)return e();let n=!1;t||(p=[]),x?n=!0:x=[],K++;try{const s=e();return Ne(n),s}catch(s){n||(x=null),p=null,te(s)}}function Ne(e){if(p&&(he(p),p=null),e)return;const t=x;x=null,t.length&&P