old.martials.no/assets/layout-69a2eb57.js

2 lines
23 KiB
JavaScript
Raw Normal View History

2023-06-03 16:13:23 +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 r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).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={context:void 0,registry:void 0},$e=(e,t)=>e===t,V=Symbol("solid-proxy"),xe=Symbol("solid-track"),Se=Symbol("solid-dev-component"),F={equals:$e};let oe=he;const L=1,U=2,fe={owned:null,cleanups:null,context:null,owner:null};var g=null;let X=null,h=null,p=null,x=null,R=0;function j(e,t){const n=h,s=g,l=e.length===0,i=l?fe:{owned:null,cleanups:null,context:null,owner:t===void 0?s:t},r=l?e:()=>e(()=>A(()=>q(i)));g=i,h=null;try{return O(r,!0)}finally{h=n,g=s}}function ce(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 P(e,t,n){const s=ee(e,t,!1,L);D(s)}function ae(e,t,n){oe=Ne;const s=ee(e,t,!1,L);(!n||!n.render)&&(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 Et(e){return O(e,!1)}function A(e){if(h===null)return e();const t=h;h=null;try{return e()}finally{h=t}}function Pt(e){ae(()=>A(e))}function Q(e){return g===null||(g.cleanups===null?g.cleanups=[e]:g.cleanups.push(e)),e}function Ce(){return g}function Le(e,t){const n=g,s=h;g=e,h=null;try{return O(t,!0)}catch(l){te(l)}finally{g=n,h=s}}function Ot(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 Ee(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,O(()=>H(this),!1),p=e}if(h){const e=this.observers?this.observers.length:0;h.sources?(h.sources.push(this),h.sourceSlots.push(e)):(h.sources=[this],h.sourceSlots=[e]),this.observers?(this.observers.push(h),this.observerSlots.push(h.sources.length-1)):(this.observers=[h],this.observerSlots=[h.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&&O(()=>{for(let l=0;l<e.observers.length;l+=1){const i=e.observers[l],r=X&&X.running;r&&X.disposed.has(i),(r?!i.tState:!i.state)&&(i.pure?p.push(i):x.push(i),i.observers&&ge(i)),r||(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=h,s=R;h=g=e,Pe(e,e.value,s),h=n,g=t}function Pe(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!==fe&&(g.owned?g.owned.push(i):g.owned=[i]),i}function K(e){if(e.state===0)return;if(e.state===U)return H(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<R);)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,O(()=>H(e,t[0]),!1),p=s}}function O(e,t){if(p)return e();let n=!1;t||(p=[]),x?n=!0:x=[],R++;try{const s=e();return Oe(n),s}catch(s){n||(x=null),p=null,te(s)}}function Oe(e){if(