diff --git a/assets/ts/resources.ts b/assets/ts/resources.ts index b44e244f..c963dc41 100644 --- a/assets/ts/resources.ts +++ b/assets/ts/resources.ts @@ -21,8 +21,13 @@ export async function getImageJSON(): Promise { const ogUrlMetaTag = document.querySelector( 'meta[property="og:url"]' ) as HTMLMetaElement | null - const indexJsonUrl = ogUrlMetaTag?.content - ? new URL('index.json', ogUrlMetaTag.content).href + // og:url can be scheme-relative ("//host/path") when Hugo's baseURL isn't set + // (e.g. plain `hugo server` locally) — URL() requires an absolute base, so + // borrow the current page's scheme in that case. + let ogUrl = ogUrlMetaTag?.content + if (ogUrl?.startsWith('//')) ogUrl = window.location.protocol + ogUrl + const indexJsonUrl = ogUrl + ? new URL('index.json', ogUrl).href : new URL('index.json', window.location.href).href const response = await fetch(indexJsonUrl, { diff --git a/bundled/js/main.js b/bundled/js/main.js index 674af495..cde19470 100644 --- a/bundled/js/main.js +++ b/bundled/js/main.js @@ -1,2 +1,2 @@ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C9ps67.js","./B8qGIc.js","./D_AJRT.js","./BTM0LT.js","./T4JtL6.js","./pp6Xsv.js","./Tk9ik_.js"])))=>i.map(i=>d[i]); -var e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return t(this.context.count)},getNextContextId(){return t(this.context.count++)}};function t(t){let n=String(t),r=n.length-1;return e.context.id+(r?String.fromCharCode(96+r):``)+n}function n(t){e.context=t}var r=(e,t)=>e===t,i=Symbol(`solid-proxy`),a=typeof Proxy==`function`,o=Symbol(`solid-track`),s={equals:r},c=null,l=pe,u=1,d=2,f={owned:null,cleanups:null,context:null,owner:null},p={},m=null,h=null,g=null,_=null,v=null,y=0;function b(e,t){let n=g,r=m,i=e.length===0,a=t===void 0?r:t,o=i?f:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>w(()=>L(o)));m=o,g=null;try{return F(s,!0)}finally{g=n,m=r}}function x(e,t){t=t?Object.assign({},s,t):s;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[le.bind(n),e=>(typeof e==`function`&&(e=h&&h.running&&h.sources.has(n)?e(n.tValue):e(n.value)),ue(n,e))]}function ee(e,t,n){M(N(e,t,!0,u))}function S(e,t,n){M(N(e,t,!1,u))}function te(e,t,n){l=me;let r=N(e,t,!1,u),i=j&&k(j);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),v?v.push(r):M(r)}function C(e,t,n){n=n?Object.assign({},s,n):s;let r=N(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,M(r),le.bind(r)}function ne(e){return e&&typeof e==`object`&&`then`in e}function re(t,n,r){let i,a,o;typeof n==`function`?(i=t,a=n,o=r||{}):(i=!0,a=t,o=n||{});let s=null,c=p,l=null,u=!1,d=!1,f=`initialValue`in o,_=typeof i==`function`&&C(i),v=new Set,[y,b]=(o.storage||x)(o.initialValue),[S,te]=x(void 0),[re,ie]=x(void 0,{equals:!1}),[ae,oe]=x(f?`ready`:`unresolved`);m&&T(()=>{for(let e of v.keys())e.decrement();v.clear(),h&&s&&h.promises.delete(s),s=null}),e.context&&(l=e.getNextContextId(),o.ssrLoadFrom===`initial`?c=o.initialValue:e.load&&e.has(l)&&(c=e.load(l)));function E(e,t,n,r){return s===e&&(s=null,r!==void 0&&(f=!0),(e===c||t===c)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(r,{value:t})),c=p,h&&e&&u?(h.promises.delete(e),u=!1,F(()=>{h.running=!0,ce(t,n)},!1)):ce(t,n)),t}function ce(e,t){F(()=>{t===void 0&&b(()=>e),oe(t===void 0?f?`ready`:`unresolved`:`errored`),te(t);for(let e of v.keys())e.decrement();v.clear()},!1)}function D(){let e=j&&k(j),t=y(),n=S();if(n!==void 0&&!s)throw n;return g&&!g.user&&e&&ee(()=>{re(),s&&(e.resolved&&h&&u?h.promises.add(s):v.has(e)||(e.increment(),v.add(e)))}),t}function O(e=!0){if(e!==!1&&d)return;d=!1;let t=_?_():i;if(u=h&&h.running,t==null||t===!1){E(s,w(y));return}h&&s&&h.promises.delete(s);let n,r=c===p?w(()=>{try{return a(t,{value:y(),refetching:e})}catch(e){n=e}}):c;if(n!==void 0){E(s,void 0,R(n),t);return}else if(!ne(r))return E(s,r,void 0,t),r;return s=r,`v`in r?(r.s===1?E(s,r.v,void 0,t):E(s,void 0,R(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),F(()=>{oe(f?`refreshing`:`pending`),ie()},!1),r.then(e=>E(r,e,void 0,t),e=>E(r,void 0,R(e),t)))}Object.defineProperties(D,{state:{get:()=>ae()},error:{get:()=>S()},loading:{get(){let e=ae();return e===`pending`||e===`refreshing`}},latest:{get(){if(!f)return D();let e=S();if(e&&!s)throw e;return y()}}});let A=m;return _?ee(()=>(A=m,O(!1))):O(!1),[D,{refetch:e=>se(A,()=>O(e)),mutate:b}]}function ie(e){return F(e,!1)}function w(e){if(g===null)return e();let t=g;g=null;try{return e()}finally{g=t}}function ae(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;tt(o,i,n));return i=o,s}}function oe(e){te(()=>w(e))}function T(e){return m===null||(m.cleanups===null?m.cleanups=[e]:m.cleanups.push(e)),e}function E(){return g}function se(e,t){let n=m,r=g;m=e,g=null;try{return F(t,!0)}catch(e){z(e)}finally{m=n,g=r}}var[ce,D]=x(!1);function O(e,t){let n=Symbol(`context`);return{id:n,Provider:ye(n),defaultValue:e}}function k(e){let t;return m&&m.context&&(t=m.context[e.id])!==void 0?t:e.defaultValue}function A(e){let t=C(e),n=C(()=>ve(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var j;function le(){let e=h&&h.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===u)M(this);else{let e=_;_=null,F(()=>I(this),!1),_=e}if(g){let e=this.observers;if(!e||e[e.length-1]!==g){let t=e?e.length:0;g.sources?(g.sources.push(this),g.sourceSlots.push(t)):(g.sources=[this],g.sourceSlots=[t]),e?(e.push(g),this.observerSlots.push(g.sources.length-1)):(this.observers=[g],this.observerSlots=[g.sources.length-1])}}return e&&h.sources.has(this)?this.tValue:this.value}function ue(e,t,n){let r=h&&h.running&&h.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(h){let r=h.running;(r||!n&&h.sources.has(e))&&(h.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&F(()=>{for(let t=0;t1e6)throw _=[],Error()},!1)}return t}function M(e){if(!e.fn)return;L(e);let t=y;de(e,h&&h.running&&h.sources.has(e)?e.tValue:e.value,t),h&&!h.running&&h.sources.has(e)&&queueMicrotask(()=>{F(()=>{h&&(h.running=!0),g=m=e,de(e,e.tValue,t),g=m=null},!1)})}function de(e,t,n){let r,i=m,a=g;g=m=e;try{r=e.fn(t)}catch(t){return e.pure&&(h&&h.running?(e.tState=u,e.tOwned&&e.tOwned.forEach(L),e.tOwned=void 0):(e.state=u,e.owned&&e.owned.forEach(L),e.owned=null)),e.updatedAt=n+1,z(t)}finally{g=a,m=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?ue(e,r,!0):h&&h.running&&e.pure?(h.sources.has(e)||(e.value=r),h.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function N(e,t,n,r=u,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return h&&h.running&&(a.state=0,a.tState=r),m===null||m!==f&&(h&&h.running&&m.pure?m.tOwned?m.tOwned.push(a):m.tOwned=[a]:m.owned?m.owned.push(a):m.owned=[a]),a}function P(e){let t=h&&h.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===d)return I(e);if(e.suspense&&w(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(h.disposed.has(t))return}if((t?e.tState:e.state)===u)M(e);else if((t?e.tState:e.state)===d){let t=_;_=null,F(()=>I(e,n[0]),!1),_=t}}}function F(e,t){if(_)return e();let n=!1;t||(_=[]),v?n=!0:v=[],y++;try{let t=e();return fe(n),t}catch(e){n||(v=null),_=null,z(e)}}function fe(e){if(_&&=(pe(_),null),e)return;let t;if(h){if(!h.promises.size&&!h.queue.size){let e=h.sources,n=h.disposed;v.push.apply(v,h.effects),t=h.resolve;for(let e of v)`tState`in e&&(e.state=e.tState),delete e.tState;h=null,F(()=>{for(let e of n)L(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;el(n),!1),t&&t()}function pe(e){for(let t=0;t=0;t--)L(e.tOwned[t]);delete e.tOwned}if(h&&h.running&&e.pure)ge(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)L(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}h&&h.running?e.tState=0:e.state=0}function ge(e,t){if(t||(e.tState=0,h.disposed.add(e)),e.owned)for(let t=0;tn=w(()=>(m.context={...m.context,[e]:t.value},A(()=>t.children))),void 0),n}}var be=Symbol(`fallback`);function B(e){for(let t=0;t1?[]:null;return T(()=>B(a)),()=>{let l=e()||[],u=l.length,d,f;return l[o],w(()=>{let e,t,o,m,h,g,_,v,y;if(u===0)s!==0&&(B(a),a=[],r=[],i=[],s=0,c&&=[]),n.fallback&&(r=[be],i[0]=b(e=>(a[0]=e,n.fallback())),s=1);else if(s===0){for(i=Array(u),f=0;f=g&&v>=g&&r[_]===l[v];_--,v--)o[v]=i[_],m[v]=a[_],c&&(h[v]=c[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(o[f]=i[d],m[f]=a[d],c&&(h[f]=c[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;fB(a)),()=>{let u=e()||[],d=u.length;return u[o],w(()=>{if(d===0)return c!==0&&(B(a),a=[],r=[],i=[],c=0,s=[]),n.fallback&&(r=[be],i[0]=b(e=>(a[0]=e,n.fallback())),c=1),i;for(r[0]===be&&(a[0](),a=[],r=[],i=[],c=0),l=0;lu[l]):l>=r.length&&(i[l]=b(f));for(;le(t||{}))}function H(){return!0}var Ce={get(e,t,n){return t===i?n:e.get(t)},has(e,t){return t===i||e.has(t)},set:H,deleteProperty:H,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:H,deleteProperty:H}},ownKeys(e){return e.keys()}};function U(e){return(e=typeof e==`function`?e():e)?e:{}}function we(){for(let e=0,t=this.length;e=0;n--){let r=U(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in U(e[n]))return!0;return!1},keys(){let t=[];for(let n=0;n=0;t--){let i=e[t];if(!i)continue;let a=Object.getOwnPropertyNames(i);for(let e=a.length-1;e>=0;e--){let t=a[e];if(t===`__proto__`||t===`constructor`)continue;let o=Object.getOwnPropertyDescriptor(i,t);if(!r[t])r[t]=o.get?{enumerable:!0,configurable:!0,get:we.bind(n[t]=[o.get.bind(i)])}:o.value===void 0?void 0:o;else{let e=n[t];e&&(o.get?e.push(o.get.bind(i)):o.value!==void 0&&e.push(()=>o.value))}}}let o={},s=Object.keys(r);for(let e=s.length-1;e>=0;e--){let t=s[e],n=r[t];n&&n.get?Object.defineProperty(o,t,n):o[t]=n?n.value:void 0}return o}function Ee(t){let r,i,a=a=>{let o=e.context;if(o){let[a,s]=x();e.count||=0,e.count++,(i||=t()).then(t=>{!e.done&&n(o),e.count--,s(()=>t.default),n()}),r=a}else if(!r){let[e]=re(()=>(i||=t()).then(e=>e.default));r=e,T(()=>r=void 0)}let s;return C(()=>(s=r?.())?w(()=>{if(!o||e.done)return s(a);let t=e.context;n(o);let r=s(a);return n(t),r}):``)};return a.preload=()=>i||((i=t()).then(e=>r=()=>e.default),i),a}var De=e=>`Stale read from <${e}>.`;function Oe(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return C(xe(()=>e.each,e.children,t||void 0))}function ke(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return C(Se(()=>e.each,e.children,t||void 0))}function Ae(e){let t=e.keyed,n=C(()=>e.when,void 0,void 0),r=t?n:C(n,void 0,{equals:(e,t)=>!e==!t});return C(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?w(()=>a(t?i:()=>{if(!w(r))throw De(`Show`);return n()})):a}return e.fallback},void 0,void 0)}function je(e){let t=A(()=>e.children),n=C(()=>{let e=t(),n=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;ea()?void 0:i.when,void 0,void 0),s=i.keyed?o:C(o,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(s()?[t,o,i]:void 0)}return r});return C(()=>{let t=n()();if(!t)return e.fallback;let[r,i,a]=t,o=a.children;return typeof o==`function`&&o.length>0?w(()=>o(a.keyed?i():()=>{if(w(n)()?.[0]!==r)throw De(`Match`);return i()})):o},void 0,void 0)}function W(e){return e}var Me=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),Ne=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),Pe=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),Fe=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function Ie(e,t){let n=Fe[e];return typeof n==`object`?n[t]?n.$:void 0:n}var Le=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),Re={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},ze=e=>C(()=>e());function Be(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;or-s){let i=t[o];for(;s{i=r,t===document?e():$e(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=``}}function G(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>w(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function Ue(e,t=window.document){let n=t[Ve]||(t[Ve]=new Set);for(let r=0,i=e.length;rr.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function Je(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;ai.children=J(e,t.children,i.children)),S(()=>typeof t.ref==`function`&&Qe(t.ref,e)),S(()=>et(e,t,n,!0,i,!0)),i}function Qe(e,t,n){return w(()=>e(t,n))}function $e(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return J(e,t,r,n);S(r=>J(e,t(),r,n),r)}function et(e,t,n,r,i={},a=!1){t||={};for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=rt(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||J(e,t.children);continue}let s=t[o];i[o]=rt(e,o,s,i[o],n,a,t)}}function q(t){return!!e.context&&!e.done&&(!t||t.isConnected)}function tt(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function nt(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t-1&&Re[t.split(`:`)[0]];r?We(e,r,t,n):K(e,Pe[t]||t,n)}return n}function it(t){if(e.registry&&e.events&&e.events.find(([e,n])=>n===t))return;let n=t.target,r=`$$${t.type}`,i=t.target,a=t.currentTarget,o=e=>Object.defineProperty(t,"target",{configurable:!0,value:e}),s=()=>{let e=n[r];if(e&&!n.disabled){let i=n[`${r}Data`];if(i===void 0?e.call(n,t):e.call(n,i,t),t.cancelBubble)return}return n.host&&typeof n.host!=`string`&&!n.host._$host&&n.contains(t.target)&&o(n.host),!0},c=()=>{for(;s()&&(n=n._$host||n.parentNode||n.host););};if(Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return n||document}}),e.registry&&!e.done&&(e.done=_$HY.done=!0),t.composedPath){let e=t.composedPath();o(e[0]);for(let t=0;t{let i=t();for(;typeof i==`function`;)i=i();n=J(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(at(o,t,n,i))return S(()=>n=J(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=Y(e,n,r),s)return n}else c?n.length===0?ot(e,o,r):Be(e,n,o):(n&&Y(e),ot(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Y(e,n,r,t);Y(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function at(e,t,n,r){let i=!1;for(let a=0,o=t.length;a=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}var st=`Invariant failed`;function X(e,t){if(!e)throw Error(st)}var ct=`modulepreload`,lt=function(e,t){return new URL(e,t).href},ut={},Z=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=lt(t,n),t=s(t),t in ut)return;ut[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ct,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function dt(e,t){return(e+1)%t}function ft(e,t){return(e+t-1)%t}function pt(e){return(`0000`+e.toString()).slice(-4)}async function mt(){let e=await Z(()=>import(`./D1O2us.js`),[],import.meta.url);return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&e.gsap.globalTimeline.timeScale(1e3),e.gsap}function ht(){let e=sessionStorage.getItem(`thresholdsIndex`);return e===null?2:parseInt(e)}function gt(){let e=window.navigator.userAgent.toLowerCase(),t=`ontouchstart`in window||window.navigator.maxTouchPoints>0,n=window.matchMedia(`(pointer: coarse)`).matches||window.matchMedia(`(hover: none)`).matches,r=/android|iphone|ipad|ipod|mobile/.test(e),i=/windows nt/.test(e);return r||t&&n&&!i}function _t(e){return e.length<2?e:[...new Set(e)]}var vt=[{threshold:20,trailLength:20},{threshold:40,trailLength:10},{threshold:80,trailLength:5},{threshold:140,trailLength:5},{threshold:200,trailLength:5}],yt=O();function bt(){let e=ht();return e<0||e>=vt.length?2:e}function xt(e){let[t,n]=x(bt()),r=C(()=>{let e=vt[t()];return{thresholdIndex:t(),threshold:e.threshold,trailLength:e.trailLength}}),i=e=>{let r=t()+e;r<0||r>=vt.length||(sessionStorage.setItem(`thresholdsIndex`,r.toString()),n(r))};return V(yt.Provider,{value:[r,{incThreshold:()=>{i(1)},decThreshold:()=>{i(-1)}}],get children(){return e.children}})}function St(){let e=k(yt);return X(e,`undefined config context`),e}var Ct=O();function wt(e){let t=C(()=>({images:e.images,length:e.images.length}));return V(Ct.Provider,{value:t,get children(){return e.children}})}function Tt(){let e=k(Ct);return X(e,`undefined image context`),e}var Et=O();function Dt(e){let t=Tt(),[n,r]=x(-1),[i,a]=x([]),[o,s]=x(``),[c,l]=x(!1),[u,d]=x(!1),[f,p]=x(!1),[m,h]=x(`none`),g=e=>{let n=t().length;n<=0||r(t=>e===1?dt(t,n):ft(t,n))};return V(Et.Provider,{value:[{index:n,cordHist:i,hoverText:o,isOpen:c,isAnimating:u,isLoading:f,navVector:m},{setIndex:r,incIndex:()=>{g(1)},decIndex:()=>{g(-1)},setCordHist:a,setHoverText:s,setIsOpen:l,setIsAnimating:d,setIsLoading:p,setNavVector:h}],get children(){return e.children}})}function Ot(){let e=k(Et);return X(e,`undefined desktop context`),e}var kt=O();function At(e){let t=Tt(),[n,r]=x(-1),[i,a]=x(!1),[o,s]=x(!1),[c,l]=x(!1),u=e=>{let n=t().length;n<=0||r(t=>e===1?dt(t,n):ft(t,n))};return V(kt.Provider,{value:[{index:n,isOpen:i,isAnimating:o,isScrollLocked:c},{setIndex:r,incIndex:()=>{u(1)},decIndex:()=>{u(-1)},setIsOpen:a,setIsAnimating:s,setIsScrollLocked:l}],get children(){return e.children}})}function jt(){let e=k(kt);return X(e,`undefined mobile context`),e}async function Mt(){if(document.title.split(` | `)[0]===`404`)return[];let e=document.querySelector(`meta[property="og:url"]`),t=e?.content?new URL(`index.json`,e.content).href:new URL(`index.json`,window.location.href).href,n=await fetch(t,{headers:{Accept:`application/json`}});if(!n.ok)throw Error(`failed to load ${t}: ${n.status}`);return(await n.json()).sort((e,t)=>e.index-t.index)}var Nt=G(`
Error`),Pt=G(`
Couldn’t load images.`),Ft=G(`
No images yet.`);document.addEventListener(`contextmenu`,e=>{e.target instanceof HTMLImageElement&&e.preventDefault()});var Q=document.getElementsByClassName(`container`)[0],It=Ee(async()=>await Z(()=>import(`./C9ps67.js`),__vite__mapDeps([0,1]),import.meta.url)),Lt=Ee(async()=>await Z(()=>import(`./D_AJRT.js`),__vite__mapDeps([2,3]),import.meta.url));function Rt(e){return V(je,{get fallback(){return Nt()},get children(){return[V(W,{get when(){return e.isMobile},get children(){return V(At,{get children(){return V(Lt,{get closeText(){return e.closeText},get loadingText(){return e.loadingText}})}})}}),V(W,{get when(){return!e.isMobile},get children(){return V(Dt,{get children(){return V(It,{get prevText(){return e.prevText},get closeText(){return e.closeText},get nextText(){return e.nextText},get loadingText(){return e.loadingText}})}})}})]}})}function zt(){let[e]=re(Mt);return V(je,{get children(){return[V(W,{get when(){return e.error!=null},get children(){return Pt()}}),V(W,{get when(){return ze(()=>e.state===`ready`)()&&(e()?.length??0)>0},get children(){return V(wt,{get images(){return e()??[]},get children(){return V(xt,{get children(){return V(Rt,{get isMobile(){return gt()},get prevText(){return Q.dataset.prev},get closeText(){return Q.dataset.close},get nextText(){return Q.dataset.next},get loadingText(){return Q.dataset.loading}})}})}})}}),V(W,{get when(){return e.state===`ready`},get children(){return Ft()}})]}})}var $=Q?.dataset.page;$===`404`||($===`post`?Z(()=>import(`./T4JtL6.js`).then(e=>{e.initPost()}),__vite__mapDeps([4,1,5,3]),import.meta.url):$===`postlist`?gt()||Z(()=>import(`./ij2qtk.js`).then(e=>{e.initPostList()}),[],import.meta.url):$===`grid`?Z(()=>import(`./Tk9ik_.js`).then(e=>{e.initGrid()}),__vite__mapDeps([6,1,5,3]),import.meta.url):$===`info`||He(()=>V(zt,{}),Q));export{V as A,w as B,Qe as C,ke as D,Oe as E,E as F,Te as I,ae as L,C as M,S as N,Ae as O,x as P,T as R,G as S,o as T,ze as _,Tt as a,Xe as b,pt as c,mt as d,_t as f,$e as g,Ue as h,wt as i,te as j,ie as k,dt as l,X as m,jt as n,St as o,Z as p,Ot as r,ft as s,At as t,gt as u,He as v,i as w,Ze as x,K as y,oe as z}; \ No newline at end of file +var e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return t(this.context.count)},getNextContextId(){return t(this.context.count++)}};function t(t){let n=String(t),r=n.length-1;return e.context.id+(r?String.fromCharCode(96+r):``)+n}function n(t){e.context=t}var r=(e,t)=>e===t,i=Symbol(`solid-proxy`),a=typeof Proxy==`function`,o=Symbol(`solid-track`),s={equals:r},c=null,l=pe,u=1,d=2,f={owned:null,cleanups:null,context:null,owner:null},p={},m=null,h=null,g=null,_=null,v=null,y=0;function b(e,t){let n=g,r=m,i=e.length===0,a=t===void 0?r:t,o=i?f:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>w(()=>L(o)));m=o,g=null;try{return F(s,!0)}finally{g=n,m=r}}function x(e,t){t=t?Object.assign({},s,t):s;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[le.bind(n),e=>(typeof e==`function`&&(e=h&&h.running&&h.sources.has(n)?e(n.tValue):e(n.value)),ue(n,e))]}function ee(e,t,n){M(N(e,t,!0,u))}function S(e,t,n){M(N(e,t,!1,u))}function te(e,t,n){l=me;let r=N(e,t,!1,u),i=j&&k(j);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),v?v.push(r):M(r)}function C(e,t,n){n=n?Object.assign({},s,n):s;let r=N(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,M(r),le.bind(r)}function ne(e){return e&&typeof e==`object`&&`then`in e}function re(t,n,r){let i,a,o;typeof n==`function`?(i=t,a=n,o=r||{}):(i=!0,a=t,o=n||{});let s=null,c=p,l=null,u=!1,d=!1,f=`initialValue`in o,_=typeof i==`function`&&C(i),v=new Set,[y,b]=(o.storage||x)(o.initialValue),[S,te]=x(void 0),[re,ie]=x(void 0,{equals:!1}),[ae,oe]=x(f?`ready`:`unresolved`);m&&T(()=>{for(let e of v.keys())e.decrement();v.clear(),h&&s&&h.promises.delete(s),s=null}),e.context&&(l=e.getNextContextId(),o.ssrLoadFrom===`initial`?c=o.initialValue:e.load&&e.has(l)&&(c=e.load(l)));function E(e,t,n,r){return s===e&&(s=null,r!==void 0&&(f=!0),(e===c||t===c)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(r,{value:t})),c=p,h&&e&&u?(h.promises.delete(e),u=!1,F(()=>{h.running=!0,ce(t,n)},!1)):ce(t,n)),t}function ce(e,t){F(()=>{t===void 0&&b(()=>e),oe(t===void 0?f?`ready`:`unresolved`:`errored`),te(t);for(let e of v.keys())e.decrement();v.clear()},!1)}function D(){let e=j&&k(j),t=y(),n=S();if(n!==void 0&&!s)throw n;return g&&!g.user&&e&&ee(()=>{re(),s&&(e.resolved&&h&&u?h.promises.add(s):v.has(e)||(e.increment(),v.add(e)))}),t}function O(e=!0){if(e!==!1&&d)return;d=!1;let t=_?_():i;if(u=h&&h.running,t==null||t===!1){E(s,w(y));return}h&&s&&h.promises.delete(s);let n,r=c===p?w(()=>{try{return a(t,{value:y(),refetching:e})}catch(e){n=e}}):c;if(n!==void 0){E(s,void 0,R(n),t);return}else if(!ne(r))return E(s,r,void 0,t),r;return s=r,`v`in r?(r.s===1?E(s,r.v,void 0,t):E(s,void 0,R(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),F(()=>{oe(f?`refreshing`:`pending`),ie()},!1),r.then(e=>E(r,e,void 0,t),e=>E(r,void 0,R(e),t)))}Object.defineProperties(D,{state:{get:()=>ae()},error:{get:()=>S()},loading:{get(){let e=ae();return e===`pending`||e===`refreshing`}},latest:{get(){if(!f)return D();let e=S();if(e&&!s)throw e;return y()}}});let A=m;return _?ee(()=>(A=m,O(!1))):O(!1),[D,{refetch:e=>se(A,()=>O(e)),mutate:b}]}function ie(e){return F(e,!1)}function w(e){if(g===null)return e();let t=g;g=null;try{return e()}finally{g=t}}function ae(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;tt(o,i,n));return i=o,s}}function oe(e){te(()=>w(e))}function T(e){return m===null||(m.cleanups===null?m.cleanups=[e]:m.cleanups.push(e)),e}function E(){return g}function se(e,t){let n=m,r=g;m=e,g=null;try{return F(t,!0)}catch(e){z(e)}finally{m=n,g=r}}var[ce,D]=x(!1);function O(e,t){let n=Symbol(`context`);return{id:n,Provider:ye(n),defaultValue:e}}function k(e){let t;return m&&m.context&&(t=m.context[e.id])!==void 0?t:e.defaultValue}function A(e){let t=C(e),n=C(()=>ve(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var j;function le(){let e=h&&h.running;if(this.sources&&(e?this.tState:this.state))if((e?this.tState:this.state)===u)M(this);else{let e=_;_=null,F(()=>I(this),!1),_=e}if(g){let e=this.observers;if(!e||e[e.length-1]!==g){let t=e?e.length:0;g.sources?(g.sources.push(this),g.sourceSlots.push(t)):(g.sources=[this],g.sourceSlots=[t]),e?(e.push(g),this.observerSlots.push(g.sources.length-1)):(this.observers=[g],this.observerSlots=[g.sources.length-1])}}return e&&h.sources.has(this)?this.tValue:this.value}function ue(e,t,n){let r=h&&h.running&&h.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(h){let r=h.running;(r||!n&&h.sources.has(e))&&(h.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&F(()=>{for(let t=0;t1e6)throw _=[],Error()},!1)}return t}function M(e){if(!e.fn)return;L(e);let t=y;de(e,h&&h.running&&h.sources.has(e)?e.tValue:e.value,t),h&&!h.running&&h.sources.has(e)&&queueMicrotask(()=>{F(()=>{h&&(h.running=!0),g=m=e,de(e,e.tValue,t),g=m=null},!1)})}function de(e,t,n){let r,i=m,a=g;g=m=e;try{r=e.fn(t)}catch(t){return e.pure&&(h&&h.running?(e.tState=u,e.tOwned&&e.tOwned.forEach(L),e.tOwned=void 0):(e.state=u,e.owned&&e.owned.forEach(L),e.owned=null)),e.updatedAt=n+1,z(t)}finally{g=a,m=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?ue(e,r,!0):h&&h.running&&e.pure?(h.sources.has(e)||(e.value=r),h.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function N(e,t,n,r=u,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:m,context:m?m.context:null,pure:n};return h&&h.running&&(a.state=0,a.tState=r),m===null||m!==f&&(h&&h.running&&m.pure?m.tOwned?m.tOwned.push(a):m.tOwned=[a]:m.owned?m.owned.push(a):m.owned=[a]),a}function P(e){let t=h&&h.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===d)return I(e);if(e.suspense&&w(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(h.disposed.has(t))return}if((t?e.tState:e.state)===u)M(e);else if((t?e.tState:e.state)===d){let t=_;_=null,F(()=>I(e,n[0]),!1),_=t}}}function F(e,t){if(_)return e();let n=!1;t||(_=[]),v?n=!0:v=[],y++;try{let t=e();return fe(n),t}catch(e){n||(v=null),_=null,z(e)}}function fe(e){if(_&&=(pe(_),null),e)return;let t;if(h){if(!h.promises.size&&!h.queue.size){let e=h.sources,n=h.disposed;v.push.apply(v,h.effects),t=h.resolve;for(let e of v)`tState`in e&&(e.state=e.tState),delete e.tState;h=null,F(()=>{for(let e of n)L(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;el(n),!1),t&&t()}function pe(e){for(let t=0;t=0;t--)L(e.tOwned[t]);delete e.tOwned}if(h&&h.running&&e.pure)ge(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)L(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}h&&h.running?e.tState=0:e.state=0}function ge(e,t){if(t||(e.tState=0,h.disposed.add(e)),e.owned)for(let t=0;tn=w(()=>(m.context={...m.context,[e]:t.value},A(()=>t.children))),void 0),n}}var be=Symbol(`fallback`);function B(e){for(let t=0;t1?[]:null;return T(()=>B(a)),()=>{let l=e()||[],u=l.length,d,f;return l[o],w(()=>{let e,t,o,m,h,g,_,v,y;if(u===0)s!==0&&(B(a),a=[],r=[],i=[],s=0,c&&=[]),n.fallback&&(r=[be],i[0]=b(e=>(a[0]=e,n.fallback())),s=1);else if(s===0){for(i=Array(u),f=0;f=g&&v>=g&&r[_]===l[v];_--,v--)o[v]=i[_],m[v]=a[_],c&&(h[v]=c[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(o[f]=i[d],m[f]=a[d],c&&(h[f]=c[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;fB(a)),()=>{let u=e()||[],d=u.length;return u[o],w(()=>{if(d===0)return c!==0&&(B(a),a=[],r=[],i=[],c=0,s=[]),n.fallback&&(r=[be],i[0]=b(e=>(a[0]=e,n.fallback())),c=1),i;for(r[0]===be&&(a[0](),a=[],r=[],i=[],c=0),l=0;lu[l]):l>=r.length&&(i[l]=b(f));for(;le(t||{}))}function H(){return!0}var Ce={get(e,t,n){return t===i?n:e.get(t)},has(e,t){return t===i||e.has(t)},set:H,deleteProperty:H,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:H,deleteProperty:H}},ownKeys(e){return e.keys()}};function U(e){return(e=typeof e==`function`?e():e)?e:{}}function we(){for(let e=0,t=this.length;e=0;n--){let r=U(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in U(e[n]))return!0;return!1},keys(){let t=[];for(let n=0;n=0;t--){let i=e[t];if(!i)continue;let a=Object.getOwnPropertyNames(i);for(let e=a.length-1;e>=0;e--){let t=a[e];if(t===`__proto__`||t===`constructor`)continue;let o=Object.getOwnPropertyDescriptor(i,t);if(!r[t])r[t]=o.get?{enumerable:!0,configurable:!0,get:we.bind(n[t]=[o.get.bind(i)])}:o.value===void 0?void 0:o;else{let e=n[t];e&&(o.get?e.push(o.get.bind(i)):o.value!==void 0&&e.push(()=>o.value))}}}let o={},s=Object.keys(r);for(let e=s.length-1;e>=0;e--){let t=s[e],n=r[t];n&&n.get?Object.defineProperty(o,t,n):o[t]=n?n.value:void 0}return o}function Ee(t){let r,i,a=a=>{let o=e.context;if(o){let[a,s]=x();e.count||=0,e.count++,(i||=t()).then(t=>{!e.done&&n(o),e.count--,s(()=>t.default),n()}),r=a}else if(!r){let[e]=re(()=>(i||=t()).then(e=>e.default));r=e,T(()=>r=void 0)}let s;return C(()=>(s=r?.())?w(()=>{if(!o||e.done)return s(a);let t=e.context;n(o);let r=s(a);return n(t),r}):``)};return a.preload=()=>i||((i=t()).then(e=>r=()=>e.default),i),a}var De=e=>`Stale read from <${e}>.`;function Oe(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return C(xe(()=>e.each,e.children,t||void 0))}function ke(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return C(Se(()=>e.each,e.children,t||void 0))}function Ae(e){let t=e.keyed,n=C(()=>e.when,void 0,void 0),r=t?n:C(n,void 0,{equals:(e,t)=>!e==!t});return C(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?w(()=>a(t?i:()=>{if(!w(r))throw De(`Show`);return n()})):a}return e.fallback},void 0,void 0)}function je(e){let t=A(()=>e.children),n=C(()=>{let e=t(),n=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;ea()?void 0:i.when,void 0,void 0),s=i.keyed?o:C(o,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(s()?[t,o,i]:void 0)}return r});return C(()=>{let t=n()();if(!t)return e.fallback;let[r,i,a]=t,o=a.children;return typeof o==`function`&&o.length>0?w(()=>o(a.keyed?i():()=>{if(w(n)()?.[0]!==r)throw De(`Match`);return i()})):o},void 0,void 0)}function W(e){return e}var Me=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),Ne=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),Pe=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),Fe=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function Ie(e,t){let n=Fe[e];return typeof n==`object`?n[t]?n.$:void 0:n}var Le=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),Re={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},ze=e=>C(()=>e());function Be(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;or-s){let i=t[o];for(;s{i=r,t===document?e():$e(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=``}}function G(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>w(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function Ue(e,t=window.document){let n=t[Ve]||(t[Ve]=new Set);for(let r=0,i=e.length;rr.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function Je(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;ai.children=J(e,t.children,i.children)),S(()=>typeof t.ref==`function`&&Qe(t.ref,e)),S(()=>et(e,t,n,!0,i,!0)),i}function Qe(e,t,n){return w(()=>e(t,n))}function $e(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return J(e,t,r,n);S(r=>J(e,t(),r,n),r)}function et(e,t,n,r,i={},a=!1){t||={};for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=rt(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||J(e,t.children);continue}let s=t[o];i[o]=rt(e,o,s,i[o],n,a,t)}}function q(t){return!!e.context&&!e.done&&(!t||t.isConnected)}function tt(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function nt(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t-1&&Re[t.split(`:`)[0]];r?We(e,r,t,n):K(e,Pe[t]||t,n)}return n}function it(t){if(e.registry&&e.events&&e.events.find(([e,n])=>n===t))return;let n=t.target,r=`$$${t.type}`,i=t.target,a=t.currentTarget,o=e=>Object.defineProperty(t,"target",{configurable:!0,value:e}),s=()=>{let e=n[r];if(e&&!n.disabled){let i=n[`${r}Data`];if(i===void 0?e.call(n,t):e.call(n,i,t),t.cancelBubble)return}return n.host&&typeof n.host!=`string`&&!n.host._$host&&n.contains(t.target)&&o(n.host),!0},c=()=>{for(;s()&&(n=n._$host||n.parentNode||n.host););};if(Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return n||document}}),e.registry&&!e.done&&(e.done=_$HY.done=!0),t.composedPath){let e=t.composedPath();o(e[0]);for(let t=0;t{let i=t();for(;typeof i==`function`;)i=i();n=J(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(at(o,t,n,i))return S(()=>n=J(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=Y(e,n,r),s)return n}else c?n.length===0?ot(e,o,r):Be(e,n,o):(n&&Y(e),ot(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=Y(e,n,r,t);Y(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function at(e,t,n,r){let i=!1;for(let a=0,o=t.length;a=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}var st=`Invariant failed`;function X(e,t){if(!e)throw Error(st)}var ct=`modulepreload`,lt=function(e,t){return new URL(e,t).href},ut={},Z=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=lt(t,n),t=s(t),t in ut)return;ut[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:ct,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};function dt(e,t){return(e+1)%t}function ft(e,t){return(e+t-1)%t}function pt(e){return(`0000`+e.toString()).slice(-4)}async function mt(){let e=await Z(()=>import(`./D1O2us.js`),[],import.meta.url);return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches&&e.gsap.globalTimeline.timeScale(1e3),e.gsap}function ht(){let e=sessionStorage.getItem(`thresholdsIndex`);return e===null?2:parseInt(e)}function gt(){let e=window.navigator.userAgent.toLowerCase(),t=`ontouchstart`in window||window.navigator.maxTouchPoints>0,n=window.matchMedia(`(pointer: coarse)`).matches||window.matchMedia(`(hover: none)`).matches,r=/android|iphone|ipad|ipod|mobile/.test(e),i=/windows nt/.test(e);return r||t&&n&&!i}function _t(e){return e.length<2?e:[...new Set(e)]}var vt=[{threshold:20,trailLength:20},{threshold:40,trailLength:10},{threshold:80,trailLength:5},{threshold:140,trailLength:5},{threshold:200,trailLength:5}],yt=O();function bt(){let e=ht();return e<0||e>=vt.length?2:e}function xt(e){let[t,n]=x(bt()),r=C(()=>{let e=vt[t()];return{thresholdIndex:t(),threshold:e.threshold,trailLength:e.trailLength}}),i=e=>{let r=t()+e;r<0||r>=vt.length||(sessionStorage.setItem(`thresholdsIndex`,r.toString()),n(r))};return V(yt.Provider,{value:[r,{incThreshold:()=>{i(1)},decThreshold:()=>{i(-1)}}],get children(){return e.children}})}function St(){let e=k(yt);return X(e,`undefined config context`),e}var Ct=O();function wt(e){let t=C(()=>({images:e.images,length:e.images.length}));return V(Ct.Provider,{value:t,get children(){return e.children}})}function Tt(){let e=k(Ct);return X(e,`undefined image context`),e}var Et=O();function Dt(e){let t=Tt(),[n,r]=x(-1),[i,a]=x([]),[o,s]=x(``),[c,l]=x(!1),[u,d]=x(!1),[f,p]=x(!1),[m,h]=x(`none`),g=e=>{let n=t().length;n<=0||r(t=>e===1?dt(t,n):ft(t,n))};return V(Et.Provider,{value:[{index:n,cordHist:i,hoverText:o,isOpen:c,isAnimating:u,isLoading:f,navVector:m},{setIndex:r,incIndex:()=>{g(1)},decIndex:()=>{g(-1)},setCordHist:a,setHoverText:s,setIsOpen:l,setIsAnimating:d,setIsLoading:p,setNavVector:h}],get children(){return e.children}})}function Ot(){let e=k(Et);return X(e,`undefined desktop context`),e}var kt=O();function At(e){let t=Tt(),[n,r]=x(-1),[i,a]=x(!1),[o,s]=x(!1),[c,l]=x(!1),u=e=>{let n=t().length;n<=0||r(t=>e===1?dt(t,n):ft(t,n))};return V(kt.Provider,{value:[{index:n,isOpen:i,isAnimating:o,isScrollLocked:c},{setIndex:r,incIndex:()=>{u(1)},decIndex:()=>{u(-1)},setIsOpen:a,setIsAnimating:s,setIsScrollLocked:l}],get children(){return e.children}})}function jt(){let e=k(kt);return X(e,`undefined mobile context`),e}async function Mt(){if(document.title.split(` | `)[0]===`404`)return[];let e=document.querySelector(`meta[property="og:url"]`)?.content;e?.startsWith(`//`)&&(e=window.location.protocol+e);let t=e?new URL(`index.json`,e).href:new URL(`index.json`,window.location.href).href,n=await fetch(t,{headers:{Accept:`application/json`}});if(!n.ok)throw Error(`failed to load ${t}: ${n.status}`);return(await n.json()).sort((e,t)=>e.index-t.index)}var Nt=G(`
Error`),Pt=G(`
Couldn’t load images.`),Ft=G(`
No images yet.`);document.addEventListener(`contextmenu`,e=>{e.target instanceof HTMLImageElement&&e.preventDefault()});var Q=document.getElementsByClassName(`container`)[0],It=Ee(async()=>await Z(()=>import(`./C9ps67.js`),__vite__mapDeps([0,1]),import.meta.url)),Lt=Ee(async()=>await Z(()=>import(`./D_AJRT.js`),__vite__mapDeps([2,3]),import.meta.url));function Rt(e){return V(je,{get fallback(){return Nt()},get children(){return[V(W,{get when(){return e.isMobile},get children(){return V(At,{get children(){return V(Lt,{get closeText(){return e.closeText},get loadingText(){return e.loadingText}})}})}}),V(W,{get when(){return!e.isMobile},get children(){return V(Dt,{get children(){return V(It,{get prevText(){return e.prevText},get closeText(){return e.closeText},get nextText(){return e.nextText},get loadingText(){return e.loadingText}})}})}})]}})}function zt(){let[e]=re(Mt);return V(je,{get children(){return[V(W,{get when(){return e.error!=null},get children(){return Pt()}}),V(W,{get when(){return ze(()=>e.state===`ready`)()&&(e()?.length??0)>0},get children(){return V(wt,{get images(){return e()??[]},get children(){return V(xt,{get children(){return V(Rt,{get isMobile(){return gt()},get prevText(){return Q.dataset.prev},get closeText(){return Q.dataset.close},get nextText(){return Q.dataset.next},get loadingText(){return Q.dataset.loading}})}})}})}}),V(W,{get when(){return e.state===`ready`},get children(){return Ft()}})]}})}var $=Q?.dataset.page;$===`404`||($===`post`?Z(()=>import(`./T4JtL6.js`).then(e=>{e.initPost()}),__vite__mapDeps([4,1,5,3]),import.meta.url):$===`postlist`?gt()||Z(()=>import(`./ij2qtk.js`).then(e=>{e.initPostList()}),[],import.meta.url):$===`grid`?Z(()=>import(`./Tk9ik_.js`).then(e=>{e.initGrid()}),__vite__mapDeps([6,1,5,3]),import.meta.url):$===`info`||He(()=>V(zt,{}),Q));export{V as A,w as B,Qe as C,ke as D,Oe as E,E as F,Te as I,ae as L,C as M,S as N,Ae as O,x as P,T as R,G as S,o as T,ze as _,Tt as a,Xe as b,pt as c,mt as d,_t as f,$e as g,Ue as h,wt as i,te as j,ie as k,dt as l,X as m,jt as n,St as o,Z as p,Ot as r,ft as s,At as t,gt as u,He as v,i as w,Ze as x,K as y,oe as z}; \ No newline at end of file