项目代码提交

This commit is contained in:
zhouxing
2026-09-21 17:30:02 +08:00
parent 70f7ebd0a0
commit 456d3fe316
96 changed files with 6173 additions and 0 deletions
@@ -0,0 +1 @@
import{n as e,r as t,t as n}from"./index-D33mATlf.js";var r=``,i=n();function a(e){let n;try{n=new URL(e,window.location.href)}catch{return null}return n.origin===window.location.origin?`${t(n.pathname,r)}${n.search}`:null}var o={cacheForNavigation:!1,fallbackTtl:`static`,honorDynamicStaleTime:!0,prefetchShellFirst:!1,shouldPrefetch:!1};function s(t){let n=window.__VINEXT_LINK_PREFETCH_ROUTES__;if(!n)return o;let r=a(t);if(r===null)return o;let s=e(r,n,i);if(!s)return o;let c=s.route,l=new URL(r,`http://vinext.local`).search!==``;return{cacheForNavigation:!l&&!c.canPrefetchLoadingShell&&c.requiresDynamicNavigationRequest!==!0,fallbackTtl:`static`,honorDynamicStaleTime:!0,prefetchShellFirst:l||!c.isDynamic,shouldPrefetch:!0}}function c(){return{cacheForNavigation:!0,fallbackTtl:`static`,honorDynamicStaleTime:!1,prefetchShellFirst:!0,shouldPrefetch:!0}}export{s as resolveAutoAppRoutePrefetch,c as resolveFullAppRoutePrefetch};
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t}from"./framework-D_rUT4EX.js";import{i as n}from"./index-D33mATlf.js";var r=e(t(),1),i=new Map;function a(e,t){return e?{...e,...t}:t}function o({providerId:e,segmentMap:t,children:o}){let s=(0,r.useRef)(null),c=n(),l=a(s.current??(e?i.get(e)??null:null),t);return(0,r.useEffect)(()=>{s.current=l,e&&i.set(e,l)},[l,e]),c?(0,r.createElement)(c.Provider,{value:l},o):o}export{o as LayoutSegmentProvider,a as mergeLayoutSegmentMap};
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{s as n,l as r,o as t};
@@ -0,0 +1 @@
import{r as e}from"./rolldown-runtime-C60lm6uB.js";import{i as t}from"./framework-D_rUT4EX.js";var n=e(t(),1),r=`data-vinext-streamed-icon`;function i(e,t){let n=e.getAttribute(r),i=`${t}:`;if(!n?.startsWith(i))return null;let a=Number(n.slice(i.length));return Number.isInteger(a)&&a>=0?a:null}function a(e){document.querySelectorAll(`body link[${r}]`).forEach(e=>document.head.appendChild(e));let t=[...document.querySelectorAll(`head link[${r}]`)],n=new Map;for(let r of t){let t=i(r,e);if(t===null){r.remove();continue}let a=n.get(t);a&&a.remove(),n.set(t,r)}for(let[,e]of[...n].sort(([e],[t])=>e-t))document.head.appendChild(e)}function o({metadataKey:e}){return(0,n.useLayoutEffect)(()=>a(e),[e]),null}export{o as StreamedIconsInsertion,a as reconcileStreamedIcons};