PageSourceSearch

https://hyper-space.com.au/assets/link-CeGbVeGB.js

js hyper-space.com.au collected 2026-10-04 22:35:09 UTC 9,615 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/router-D7-SC_sx.js","assets/rolldown-runtime-S-ySWqyJ.js","assets/index-FokGuDA1.js","assets/framework-CXnKph_e.js"])))=>i.map(i=>d[i]);
2import{r as e}from"./rolldown-runtime-S-ySWqyJ.js";import{i as t,r as n}from"./framework-CXnKph_e.js";import{_ as r,a as i,b as a,d as o,f as s,g as c,h as l,i as u,l as d,m as f,n as p,o as m,p as h,s as g,t as _,u as v,y as ee}from"./index-FokGuDA1.js";var y=/([/#?\\]|%(2f|23|3f|5c))/gi;function b(e){return e.replace(y,e=>encodeURIComponent(e))}function x(e){try{return b(decodeURIComponent(e))}catch{return e}}function S(e){return e.split(`/`).map(e=>x(e)).join(`/`)}function C(e){try{return decodeURIComponent(e)}catch{return e}}function w(e){for(let t of Object.keys(e)){let n=e[t];Array.isArray(n)?e[t]=n.map(C):e[t]=C(n)}}function T(){return{staticChildren:new Map,dynamicChild:null,catchAllChild:null,optionalCatchAllChild:null,route:null}}function E(e){let t=T();for(let n of e){let e=n.patternParts;if(e.length===0){t.route===null&&(t.route=n);continue}let r=t;for(let t=0;t<e.length;t++){let i=e[t];if(i.endsWith(`+`)&&i.startsWith(`:`)){if(t!==e.length-1)break;let a=i.slice(1,-1);r.catchAllChild===null&&(r.catchAllChild={paramName:a,route:n});break}if(i.endsWith(`*`)&&i.startsWith(`:`)){if(t!==e.length-1)break;let a=i.slice(1,-1);r.optionalCatchAllChild===null&&(r.optionalCatchAllChild={paramName:a,route:n});break}if(i.startsWith(`:`)){let a=i.slice(1);r.dynamicChild===null&&(r.dynamicChild={paramName:a,node:T()}),r=r.dynamicChild.node,t===e.length-1&&r.route===null&&(r.route=n);continue}let a=r.staticChildren.get(i);a||(a=T(),r.staticChildren.set(i,a)),r=a,t===e.length-1&&r.route===null&&(r.route=n)}}return t}function D(e,t){let n=k(e,t,0);return n&&w(n.params),n}function O(){return Object.create(null)}function k(e,t,n){if(n===t.length)return e.route===null?e.optionalCatchAllChild===null?null:{route:e.optionalCatchAllChild.route,params:O()}:{route:e.route,params:O()};let r=t[n],i=e.staticChildren.get(r);if(i){let e=k(i,t,n+1);if(e!==null)return e}if(e.dynamicChild!==null){let i=k(e.dynamicChild.node,t,n+1);if(i!==null)return i.params[e.dynamicChild.paramName]=r,i}if(e.catchAllChild!==null){let r=t.slice(n),i=O();return i[e.catchAllChild.paramName]=r,{route:e.catchAllChild.route,params:i}}if(e.optionalCatchAllChild!==null){let r=t.slice(n),i=O();return i[e.optionalCatchAllChild.paramName]=r,{route:e.optionalCatchAllChild.route,params:i}}return null}function A(){return new WeakMap}function j(e,t){let n=e.get(t);return n||(n=E(t),e.set(t,n)),n}function M(e,t,n){let r=e.split(`?`)[0],i=r===`/`?`/`:r.replace(/\/$/,``);i=S(i);let a=i.split(`/`).filter(Boolean);return D(j(n,t),a)}function N(e){if(e)return e.split(`,`,1)[0]?.trim().split(`:`,1)[0]?.toLowerCase()||void 0}function P(e,t,n){if(!e?.length)return;let r=N(t),i=n?.toLowerCase();for(let t of e)if(r===N(t.domain)||i===t.defaultLocale.toLowerCase()||t.locales?.some(e=>e.toLowerCase()===i))return t}function F(e,t,n){let r=t.toLowerCase();if(r===n.toLowerCase())return e;let i=e.startsWith(`/`)?e:`/${e}`,a=(i.split(/[?#]/,1)[0]??i).toLowerCase(),o=`/${r}`;return a===o||a.startsWith(`${o}/`)?e.startsWith(`/`)?e:i:`/${t}${i}`}function I(e,t=``){return t?t+e:e}function L(e,t,{basePath:n,currentHostname:r,domainItems:i}){if(!i?.length)return;let a=P(i,void 0,t);if(!a)return;let o=P(i,r??void 0),s=F(e,t,a.defaultLocale);if(!(o&&N(o.domain)===N(a.domain)))return`${`http${a.http?``:`s`}://`}${a.domain}${I(s,n)}`}function R(e,t,n){Object.defineProperty(e,t,{value:n,enumerable:!0,writable:!0,configurable:!0})}function te(e,t,n){if(Object.hasOwn(e,t)){let r=e[t];R(e,t,Array.isArray(r)?r.concat(n):[r,n])}else R(e,t,n)}function z(e){return typeof e==`string`?e:typeof e==`number`&&!isNaN(e)||typeof e==`boolean`?String(e):``}function B(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e)){if(Array.isArray(r)){for(let e of r)t.append(n,z(e));continue}t.set(n,z(r))}return t}function V(e,t){let n=e.indexOf(`#`),r=n===-1?e:e.slice(0,n),i=n===-1?``:e.slice(n),a=r.indexOf(`?`),o=a===-1?r:r.slice(0,a),s=a===-1?``:r.slice(a+1),c=new URLSearchParams(s);for(let[e,n]of t)c.append(e,n);let l=c.toString();return`${o}${l?`?${l}`:``}${i}`}var ne=()=>globalThis.__VINEXT_DEFAULT_LOCALE__==null&&globalThis.__VINEXT_LOCALE__==null?null:{locale:globalThis.__VINEXT_LOCALE__,locales:globalThis.__VINEXT_LOCALES__,defaultLocale:globalThis.__VINEXT_DEFAULT_LOCALE__,domainLocales:globalThis.__VINEXT_DOMAIN_LOCALES__,hostname:globalThis.__VINEXT_HOSTNAME__};function H(){return ne()}
2function re(e){return e.nodeEnv===`production`&&e.prefetch!==!1&&!e.isDangerous}function U(e){let{href:t,basePath:n,currentOrigin:r}=e;if(!ie(t))return t;if(r===void 0)return null;try{let e=new URL(r),i=t.startsWith(`//`)?new URL(t,e.origin):new URL(t);return i.origin===e.origin?n?h(i.pathname,n)?f(i.pathname,n)+i.search+i.hash:null:i.pathname+i.search+i.hash:null}catch{return null}}function ie(e){return e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`//`)}var W=e(t(),1),G=n(),K=(0,W.createContext)({pending:!1});function ae(){return(0,W.useContext)(K)}var q=``,oe=A();function se(e){if(typeof e==`string`)return e;let t=e.pathname??`/`;if(e.query){let n=B(e.query);t=V(t,n)}return t}function J(e,t){return t||e===!1?`disabled`:e===!0?`full`:`auto`}function ce(e){if(typeof window>`u`)return null;let t;try{t=new URL(e,window.location.href)}catch{return null}return t.origin===window.location.origin?`${f(t.pathname,q)}${t.search}`:null}function Y(e){if(typeof window>`u`)return!1;let t=window.__VINEXT_LINK_PREFETCH_ROUTES__;if(!t)return!1;let n=ce(e);if(n===null)return!1;let r=M(n,t,oe);return r?!r.route.isDynamic:!1}function X(e,t,n=`low`){if(typeof window>`u`)return;let o=U({href:e,basePath:q,currentOrigin:window.location.origin});if(o==null)return;let s=v(o,window.location.href,q);(window.requestIdleCallback??(e=>setTimeout(e,100)))(()=>{(async()=>{if(typeof window.__VINEXT_RSC_NAVIGATE__==`function`){if(t===`auto`&&!Y(o))return;let e=p(),d=u(),f=l({interceptionContext:e});d&&f.set(a,d);let m=await c(s,f),h=r.encodeCacheKey(m,e),_=i();if(_.has(h))return;_.add(h),g(m,fetch(m,{headers:f,credentials:`include`,priority:n,purpose:`prefetch`}),e,d)}else if(window.__NEXT_DATA__?.__vinext?.pageModuleUrl){let e=document.createElement(`link`);e.rel=`prefetch`,e.href=s,e.as=`document`,document.head.appendChild(e)}})().catch(e=>{console.error(`[vinext] RSC prefetch setup error:`,e)})})}var Z=null,Q=new WeakMap;function le(){return typeof window>`u`||typeof IntersectionObserver>`u`?null:Z||(Z=new IntersectionObserver(e=>{for(let t of e)if(t.isIntersecting){let e=Q.get(t.target);e&&(e(),Z?.unobserve(t.target),Q.delete(t.target))}},{rootMargin:`250px`}),Z)}function $(){return typeof window<`u`?window.__VINEXT_DEFAULT_LOCALE__:H()?.defaultLocale}function ue(){return typeof window<`u`?window.__NEXT_DATA__?.domainLocales:H()?.domainLocales}function de(){return typeof window<`u`?window.location.hostname:H()?.hostname}function fe(e,t){return L(e,t,{basePath:q,currentHostname:de(),domainItems:ue()})}function pe(e,t){return t===!1||t===void 0||e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`//`)?e:fe(e,t)||F(e,t,$()??``)}var me=(0,W.forwardRef)(function({href:e,as:t,replace:n=!1,prefetch:r,scroll:i=!0,children:a,onClick:c,onMouseEnter:l,onTouchStart:u,onNavigate:f,...p},h){let{locale:g,...y}=p,b=t??se(e),x=typeof b==`string`&&ee(b),S=pe(x?`/`:b,g),C=s(S,q),[w,T]=(0,W.useState)(!1),E=(0,W.useRef)(!0);(0,W.useEffect)(()=>(E.current=!0,()=>{E.current=!1}),[]);let D=(0,W.useRef)(null),O=J(r,x),k=re({nodeEnv:`production`,prefetch:r,isDangerous:x}),A=(0,W.useCallback)(e=>{D.current=e,typeof h==`function`?h(e):h&&(h.current=e)},[h]);(0,W.useEffect)(()=>{if(!k||typeof window>`u`)return;let e=D.current;if(!e)return;let t=U({href:S,basePath:q,currentOrigin:window.location.origin});if(t==null)return;let n=le();if(n)return Q.set(e,()=>X(t,O,`low`)),n.observe(e),()=>{n.unobserve(e),Q.delete(e)}},[k,O,S]);let j=(0,W.useCallback)(()=>{k&&X(S,O,`high`)},[k,O,S]),M=(0,W.useCallback)(e=>{l?.(e),j()},[l,j]),N=(0,W.useCallback)(e=>{u?.(e),j()},[u,j]),P=async e=>{if(c&&c(e),e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.currentTarget.target&&e.currentTarget.target!==`_self`)return;let t=S;if(b.startsWith(`http://`)||b.startsWith(`https://`)||b.startsWith(`//`)){let e=o(b,q);if(e==null)return;t=e}e.preventDefault();let r=d(t,window.location.href,q),a=v(t,window.location.href,q);if(f)try{let e=new URL(a,window.location.origin),t=!1,n={url:e,preventDefault(){t=!0},get defaultPrevented(){return t}};if(f(n),n.defaultPrevented)return}catch{}if(typeof window.__VINEXT_RSC_NAVIGATE__==`function`){T(!0),W.startTransition(()=>{m(t,n?`replace`:`push`,i,!0).finally(()=>{E.current&&T(!1)})});return}else try{let e=(await _(async()=>{let{default:e}=await import(`./router-D7-SC_sx.js`);return{default:e}},__vite__mapDeps([0,1,2,3]))).default;n?await e.replace(r,void 0,{scroll:i}):await e.push(r,void 0,{scroll:i})}catch{n?window.history.replaceState({},``,a):window.history.pushState({},``,a),window.dispatchEvent(new PopStateEvent(`popstate`))}},{passHref:F,...I}=y,L=W.useMemo(()=>({pending:w}),[w]);return x?(0,G.jsx)(`a`,{...I,onMouseEnter:M,onTouchStart:N,children:a}):(0,G.jsx)(K.Provider,{value:L,children:(0,G.jsx)(`a`,{ref:A,href:C,onClick:e=>{P(e)},onMouseEnter:M,onTouchStart:N,...I,children:a})})});export{L as a,Y as canAutoPrefetchFullAppRoute,me as default,F as i,V as n,B as r,J as resolveLinkPrefetchMode,te as t,ae as useLinkStatus};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.