PageSourceSearch

https://www.anchorwe.com/_nuxt/vkDCEr2g.js

js anchorwe.com collected 2026-10-09 22:58:32 UTC 1,528 bytes, 1 lines download raw bytes

1import{i,aA as c,a9 as m,k as h,aB as P,ak as v,r as b,Q as k,aC as r,aD as L,aE as g,aF as R,aG as l,aH as S,u as d,aI as j,a2 as A,aJ as T,aq as _,aK as x}from"./C3QhlAmE.js";const B=i({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(t,o){const a=await r[t.name]().then(e=>e.default||e);return()=>l(a,t.layoutProps,o.slots)}}),H=i({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(t,o){const a=c(),e=m(R),n=e===h()?P():e,u=v(()=>{let s=d(t.name)??n.meta.layout??"default";return s&&!(s in r)&&t.fallback&&(s=d(t.fallback)),s}),y=b();o.expose({layoutRef:y});const p=a.deferHydration();if(a.isHydrating){const s=a.hooks.hookOnce("app:error",p);k().beforeEach(s)}return()=>{const s=u.value&&u.value in r,f=n.meta.layoutTransition??L;return g(S,s&&f,{default:()=>l(T,{suspensible:!0,onResolve:()=>{A(p)}},{default:()=>l(O,{layoutProps:j(o.attrs,{ref:y}),key:u.value||void 0,name:u.value,shouldProvide:!t.name,hasTransition:!!f},o.slots)})}).default()}}}),O=i({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(t,o){const a=t.name;return t.shouldProvide&&_(x,{isCurrent:e=>a===(e.meta.layout??"default")}),()=>{var e,n;return!a||typeof a=="string"&&!(a in r)?(n=(e=o.slots).default)==null?void 0:n.call(e):l(B,{key:a,layoutProps:t.layoutProps,name:a},o.slots)}}});export{H as _};

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.