🌟构建了简易的blog
This commit is contained in:
2
website/blog/_astro/page.OjjRkIOC.js
Normal file
2
website/blog/_astro/page.OjjRkIOC.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_astro/SwupA11yPlugin.Fv5HjOXF.js","_astro/index.modern.D46RI4Wq.js","_astro/Swup.DoubZhVr.js","_astro/SwupHeadPlugin.DvOZNxAa.js","_astro/SwupScriptsPlugin.DeeT9ppa.js"])))=>i.map(i=>d[i]);
|
||||
import{_ as r}from"./preload-helper.DBDNhmf7.js";function u(t){return JSON.parse(t,w)}function w(t,e){if(Array.isArray(e)&&e.length===2&&typeof e[1]=="string"){const i=e[0];if(e=e[1],i===":regex:"){const o=e.match(/\/(.*?)\/([a-z]*)?$/i)||[];return new RegExp(o[1],o[2]||"")}if(i===":function:")return new Function(`return (${e}).apply(this, arguments);`)}return e}function p(t,{timeoutFallback:e=1e3}={}){"requestIdleCallback"in window?window.requestIdleCallback(()=>t()):setTimeout(()=>t(),e)}function c(t){document.readyState==="complete"?setTimeout(()=>t(),0):window.addEventListener("load",()=>t())}function f(t,{delayAfterLoad:e=0}={}){c(()=>{e>0?setTimeout(()=>p(t),e):p(t)})}async function _(){const[t,e,i,o]=await Promise.all([r(()=>import("./Swup.DoubZhVr.js").then(n=>n.S),[]).then(n=>n.default),r(()=>import("./SwupA11yPlugin.Fv5HjOXF.js"),__vite__mapDeps([0,1,2])).then(n=>n.default),r(()=>import("./SwupHeadPlugin.DvOZNxAa.js"),__vite__mapDeps([3,1])).then(n=>n.default),r(()=>import("./SwupScriptsPlugin.DeeT9ppa.js"),__vite__mapDeps([4,1])).then(n=>n.default)]),s=new t({ignoreVisit:(n,{el:d,event:l}={})=>d?.closest("[data-no-swup]"),animationSelector:'[class*="transition-swup-"]',containers:["main"],cache:!0,native:!1,plugins:[new e(u("{}")),new i(u('{"awaitAssets":true,"persistAssets":false,"persistTags":false}')),new o(u("{}"))]}),a=n=>document.dispatchEvent(new Event(n));s.hooks.before("content:replace",()=>a("astro:before-swap")),s.hooks.on("content:replace",()=>a("astro:after-swap")),s.hooks.on("page:view",()=>a("astro:page-load")),window.swup=s}f(_);
|
||||
Reference in New Issue
Block a user