PageSourceSearch

https://fontpainter.com/_nuxt/D29Q_1xc.js

js fontpainter.com collected 2026-10-04 01:42:39 UTC 1,811 bytes, 1 lines download raw bytes

1import{aa as d,g as k,aO as R,e as N,y as h,aw as b,l as g,bg as l,p as j,aN as x,bh as w,bi as O,am as y,a0 as S,v as _,bj as T,X as v,ao as A,aU as c,bk as B}from"./CZKrCW95.js";const E=d({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(t,s){return()=>y(l[t.name],t.layoutProps,s.slots)}}),C={name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},W=d({name:"NuxtLayout",inheritAttrs:!1,props:C,setup(t,s){const o=k(),u=g(c),e=!u||u===R()?b():u,a=N(()=>{let n=h(t.name)??(e==null?void 0:e.meta.layout)??"default";return n&&!(n in l)&&t.fallback&&(n=h(t.fallback)),n}),i=j();s.expose({layoutRef:i});const r=o.deferHydration();if(o.isHydrating){const n=o.hooks.hookOnce("app:error",r);x().beforeEach(n)}let f;return()=>{const n=a.value&&a.value in l,p=(e==null?void 0:e.meta.layoutTransition)??w,L=f;return f=a.value,O(n&&p,{default:()=>y(T,{suspensible:!0,onResolve:()=>{_(r)}},{default:()=>y(H,{layoutProps:S(s.attrs,{ref:i}),key:a.value||void 0,name:a.value,shouldProvide:!t.name,isRenderingNewLayout:m=>m!==L&&m===a.value,hasTransition:!!p},s.slots)})}).default()}}}),H=d({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0}},setup(t,s){const o=t.name;t.shouldProvide&&v(B,{isCurrent:e=>o===(e.meta.layout??"default")});const u=g(c);if(u&&u===R()){const e=b(),a={};for(const i in e){const r=i;Object.defineProperty(a,r,{enumerable:!0,get:()=>t.isRenderingNewLayout(t.name)?e[r]:u[r]})}v(c,A(a))}return()=>{var e,a;return!o||typeof o=="string"&&!(o in l)?(a=(e=s.slots).default)==null?void 0:a.call(e):y(E,{key:o,layoutProps:t.layoutProps,name:o},s.slots)}}});export{W 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.