PageSourceSearch

https://ffdraftboards.com/assets/link-DQbUAAro.js

js ffdraftboards.com collected 2026-09-24 14:42:55 UTC 9,641 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/router-Bky4KuO6.js","assets/rolldown-runtime-DWdDZTNf.js","assets/index-B2z8fi5x.js","assets/framework-Dykh5YIU.js"])))=>i.map(i=>d[i]);
2import{i as e,n as t}from"./rolldown-runtime-DWdDZTNf.js";import{i as n,r}from"./framework-Dykh5YIU.js";import{_ as i,a,b as o,d as s,f as c,g as l,h as u,i as d,m as f,n as p,o as m,p as ee,s as h,t as g,u as te,v as _,x as v}from"./index-B2z8fi5x.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 ne(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 re=()=>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 re()}
2function ie(e){return e.nodeEnv===`production`&&e.prefetch!==!1&&!e.isDangerous}function U(e){let{href:t,basePath:n,currentOrigin:r}=e;if(!ae(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?f(i.pathname,n)?u(i.pathname,n)+i.search+i.hash:null:i.pathname+i.search+i.hash:null}catch{return null}}function ae(e){return e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`//`)}var oe=t({canAutoPrefetchFullAppRoute:()=>Y,default:()=>$,resolveLinkPrefetchMode:()=>J,useLinkStatus:()=>se}),W=e(n(),1),G=r(),K=(0,W.createContext)({pending:!1});function se(){return(0,W.useContext)(K)}var q=``,ce=A();function le(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 ue(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?`${u(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=ue(e);if(n===null)return!1;let r=M(n,t,ce);return r?!r.route.isDynamic:!1}function X(e,t,n=`low`){if(typeof window>`u`)return;let r=U({href:e,basePath:q,currentOrigin:window.location.origin});if(r==null)return;let o=s(r,window.location.href,q);(window.requestIdleCallback??(e=>setTimeout(e,100)))(()=>{(async()=>{if(typeof window.__VINEXT_RSC_NAVIGATE__==`function`){if(t===`auto`&&!Y(r))return;let e=p(),s=d(),c=l({interceptionContext:e});s&&c.set(v,s);let u=await i(o,c),f=_.encodeCacheKey(u,e),m=a();if(m.has(f))return;m.add(f),h(u,fetch(u,{headers:c,credentials:`include`,priority:n,purpose:`prefetch`}),e,s)}else if(window.__NEXT_DATA__?.__vinext?.pageModuleUrl){let e=document.createElement(`link`);e.rel=`prefetch`,e.href=o,e.as=`document`,document.head.appendChild(e)}})().catch(e=>{console.error(`[vinext] RSC prefetch setup error:`,e)})})}var Z=null,Q=new WeakMap;function de(){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 fe(){return typeof window<`u`?window.__VINEXT_DEFAULT_LOCALE__:H()?.defaultLocale}function pe(){return typeof window<`u`?window.__NEXT_DATA__?.domainLocales:H()?.domainLocales}function me(){return typeof window<`u`?window.location.hostname:H()?.hostname}function he(e,t){return L(e,t,{basePath:q,currentHostname:me(),domainItems:pe()})}function ge(e,t){return t===!1||t===void 0||e.startsWith(`http://`)||e.startsWith(`https://`)||e.startsWith(`//`)?e:he(e,t)||F(e,t,fe()??``)}var $=(0,W.forwardRef)(function({href:e,as:t,replace:n=!1,prefetch:r,scroll:i=!0,children:a,onClick:l,onMouseEnter:u,onTouchStart:d,onNavigate:f,...p},h){let{locale:_,...v}=p,y=t??le(e),b=typeof y==`string`&&o(y),x=ge(b?`/`:y,_),S=ee(x,q),[C,w]=(0,W.useState)(!1),T=(0,W.useRef)(!0);(0,W.useEffect)(()=>(T.current=!0,()=>{T.current=!1}),[]);let E=(0,W.useRef)(null),D=J(r,b),O=ie({nodeEnv:`production`,prefetch:r,isDangerous:b}),k=(0,W.useCallback)(e=>{E.current=e,typeof h==`function`?h(e):h&&(h.current=e)},[h]);(0,W.useEffect)(()=>{if(!O||typeof window>`u`)return;let e=E.current;if(!e)return;let t=U({href:x,basePath:q,currentOrigin:window.location.origin});if(t==null)return;let n=de();if(n)return Q.set(e,()=>X(t,D,`low`)),n.observe(e),()=>{n.unobserve(e),Q.delete(e)}},[O,D,x]);let A=(0,W.useCallback)(()=>{O&&X(x,D,`high`)},[O,D,x]),j=(0,W.useCallback)(e=>{u?.(e),A()},[u,A]),M=(0,W.useCallback)(e=>{d?.(e),A()},[d,A]),N=async e=>{if(l&&l(e),e.defaultPrevented||e.button!==0||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.currentTarget.target&&e.currentTarget.target!==`_self`)return;let t=x;if(y.startsWith(`http://`)||y.startsWith(`https://`)||y.startsWith(`//`)){let e=c(y,q);if(e==null)return;t=e}e.preventDefault();let r=te(t,window.location.href,q),a=s(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`){w(!0),W.startTransition(()=>{m(t,n?`replace`:`push`,i,!0).finally(()=>{T.current&&w(!1)})});return}else try{let e=(await g(async()=>{let{default:e}=await import(`./router-Bky4KuO6.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:P,...F}=v,I=W.useMemo(()=>({pending:C}),[C]);return b?(0,G.jsx)(`a`,{...F,onMouseEnter:j,onTouchStart:M,children:a}):(0,G.jsx)(K.Provider,{value:I,children:(0,G.jsx)(`a`,{ref:k,href:S,onClick:e=>{N(e)},onMouseEnter:j,onTouchStart:M,...F,children:a})})});
2export{B as a,V as i,oe as n,F as o,ne as r,L as s,$ as t};

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.