pages-landing-page/_app/immutable/nodes/0.0-EjFgCU.js
2024-12-03 15:04:25 +00:00

2 lines
5.5 KiB
JavaScript

import{l as re,p as t,i as S,c as d,t as b,e as ve,d as le,f as fe}from"../chunks/disclose-version.z0nfJhyb.js";import{s as se,i as ne,a as x,b as i,c as oe,d as _e}from"../chunks/ProgressBar.svelte_svelte_type_style_lang.BTFLqW8D.js";import{t as de,D as f,E as ie,F as P,w as ce,G as c,I as v,J as R,K as _,L as l,M as g,N as u,O as ge}from"../chunks/utils.6TO9RudS.js";function ue(w,e,o,H){var s=w.__styles??(w.__styles={});s[e]!==o&&(s[e]=o,o==null?w.style.removeProperty(e):w.style.setProperty(e,o,""))}const be=!0,Ae=Object.freeze(Object.defineProperty({__proto__:null,prerender:be},Symbol.toStringTag,{value:"Module"}));var he=b("<div><!></div>"),xe=b("<div><!></div>"),we=b("<div><!></div>"),me=b('<div data-testid="app-bar" role="toolbar"><div><!> <div><!></div> <!></div> <!></div>');function Pe(w,e){const o=se(e),H=re(e,["children","$$slots","$$events","$$legacy"]);de(e,!1);const s=u(),y=u(),m=u(),z=u(),D=u(),M=u();let T=t(e,"background",8,"bg-surface-100-800-token"),B=t(e,"border",8,""),J=t(e,"padding",8,"p-4"),K=t(e,"shadow",8,""),A=t(e,"spacing",8,"space-y-4"),j=t(e,"gridColumns",8,"grid-cols-[auto_1fr_auto]"),G=t(e,"gap",8,"gap-4"),O=t(e,"regionRowMain",8,""),k=t(e,"regionRowHeadline",8,""),E=t(e,"slotLead",8,""),I=t(e,"slotDefault",8,""),N=t(e,"slotTrail",8,""),U=t(e,"label",8,""),V=t(e,"labelledby",8,"");const W="flex flex-col",X="grid items-center",p="",q="flex-none flex justify-between items-center",C="flex-auto",Q="flex-none flex items-center space-x-4";f(()=>(l(T()),l(B()),l(A()),l(J()),l(K()),l(H)),()=>{_(s,`${W} ${T()} ${B()} ${A()} ${J()} ${K()} ${H.class??""}`)}),f(()=>(l(j()),l(G()),l(O())),()=>{_(y,`${X} ${j()} ${G()} ${O()}`)}),f(()=>l(k()),()=>{_(m,`${p} ${k()}`)}),f(()=>l(E()),()=>{_(z,`${q} ${E()}`)}),f(()=>l(I()),()=>{_(D,`${C} ${I()}`)}),f(()=>l(N()),()=>{_(M,`${Q} ${N()}`)}),ie(),ne();var h=me(),L=c(h),F=c(L);S(F,()=>o.lead,r=>{var a=he(),n=c(a);x(n,e,"lead",{},null),v(a),P(()=>i(a,`app-bar-slot-lead ${g(z)??""}`)),d(r,a)});var $=R(F,2),Y=c($);x(Y,e,"default",{},null),v($);var Z=R($,2);S(Z,()=>o.trail,r=>{var a=xe(),n=c(a);x(n,e,"trail",{},null),v(a),P(()=>i(a,`app-bar-slot-trail ${g(M)??""}`)),d(r,a)}),v(L);var ee=R(L,2);S(ee,()=>o.headline,r=>{var a=we(),n=c(a);x(n,e,"headline",{},null),v(a),P(()=>i(a,`app-bar-row-headline ${g(m)??""}`)),d(r,a)}),v(h),P(()=>{i(h,`app-bar ${g(s)??""}`),oe(h,"aria-label",U()),oe(h,"aria-labelledby",V()),i(L,`app-bar-row-main ${g(y)??""}`),i($,`app-bar-slot-default ${g(D)??""}`)}),d(w,h),ce()}var ye=b('<header id="shell-header"><!></header>'),Se=b('<aside id="sidebar-left"><!></aside>'),Re=b('<header id="page-header"><!></header>'),He=b('<footer id="page-footer"><!></footer>'),Le=b('<aside id="sidebar-right"><!></aside>'),Fe=b('<footer id="shell-footer"><!></footer>'),pe=b('<div id="appShell" data-testid="app-shell"><!> <div><!> <div id="page"><!> <main id="page-content"><!></main> <!></div> <!></div> <!></div>');function Ce(w,e){const o=se(e),H=re(e,["children","$$slots","$$events","$$legacy"]);de(e,!1);const s=u(),y=u(),m=u(),z=u(),D=u(),M=u(),T=u(),B=u();let J=t(e,"scrollbarGutter",8,"auto"),K=t(e,"regionPage",8,""),A=t(e,"slotHeader",8,"z-10"),j=t(e,"slotSidebarLeft",8,"w-auto"),G=t(e,"slotSidebarRight",8,"w-auto"),O=t(e,"slotPageHeader",8,""),k=t(e,"slotPageContent",8,""),E=t(e,"slotPageFooter",8,""),I=t(e,"slotFooter",8,"");const N="w-full h-full flex flex-col overflow-hidden",U="w-full h-full flex overflow-hidden",V="flex-1 overflow-x-hidden flex flex-col",W="flex-none overflow-x-hidden overflow-y-auto",X="flex-none overflow-x-hidden overflow-y-auto";f(()=>l(H),()=>{_(s,`${N} ${H.class??""}`)}),f(()=>l(A()),()=>{_(y,`${A()}`)}),f(()=>l(j()),()=>{_(m,`${W} ${j()}`)}),f(()=>l(G()),()=>{_(z,`${X} ${G()}`)}),f(()=>l(O()),()=>{_(D,`${O()}`)}),f(()=>l(k()),()=>{_(M,`${k()}`)}),f(()=>l(E()),()=>{_(T,`${E()}`)}),f(()=>l(I()),()=>{_(B,`${I()}`)}),ie(),ne();var p=pe(),q=c(p);S(q,()=>o.header,r=>{var a=ye(),n=c(a);x(n,e,"header",{},null),v(a),P(()=>i(a,`flex-none ${g(y)??""}`)),d(r,a)});var C=R(q,2);i(C,`flex-auto ${U}`);var Q=c(C);S(Q,()=>o.sidebarLeft,r=>{var a=Se(),n=c(a);x(n,e,"sidebarLeft",{},null),v(a),P(()=>i(a,g(m))),d(r,a)});var h=R(Q,2),L=c(h);S(L,()=>o.pageHeader,r=>{var a=Re(),n=c(a);x(n,e,"pageHeader",{},ae=>{var te=le("(slot:header)");d(ae,te)}),v(a),P(()=>i(a,`flex-none ${g(D)??""}`)),d(r,a)});var F=R(L,2),$=c(F);x($,e,"default",{},null),v(F);var Y=R(F,2);S(Y,()=>o.pageFooter,r=>{var a=He(),n=c(a);x(n,e,"pageFooter",{},ae=>{var te=le("(slot:footer)");d(ae,te)}),v(a),P(()=>i(a,`flex-none ${g(T)??""}`)),d(r,a)}),v(h);var Z=R(h,2);S(Z,()=>o.sidebarRight,r=>{var a=Le(),n=c(a);x(n,e,"sidebarRight",{},null),v(a),P(()=>i(a,g(z))),d(r,a)}),v(C);var ee=R(C,2);S(ee,()=>o.footer,r=>{var a=Fe(),n=c(a);x(n,e,"footer",{},null),v(a),P(()=>i(a,`flex-none ${g(B)??""}`)),d(r,a)}),v(p),P(()=>{i(p,g(s)),i(h,`${K()??""} ${V}`),ue(h,"scrollbar-gutter",J()),i(F,`flex-auto ${g(M)??""}`)}),ve("scroll",h,function(r){_e.call(this,e,r)}),d(w,p),ce()}var $e=b("<noscript></noscript>"),ze=b('<strong class="text-xl uppercase"><a href="/">Froth Pages</a></strong>'),De=b('<a class="anchor" href="https://git.froth.zone/sam/static-pages">Source Code</a>');function je(w,e){Ce(w,{children:(o,H)=>{var s=fe(),y=ge(s);x(y,e,"default",{},null),d(o,s)},$$slots:{default:!0,header:(o,H)=>{Pe(o,{gridColumns:"grid-cols-3",slotDefault:"place-self-center",slotTrail:"place-content-end",children:(s,y)=>{var m=$e();d(s,m)},$$slots:{default:!0,lead:(s,y)=>{var m=ze();d(s,m)},trail:(s,y)=>{var m=De();d(s,m)}}})}}})}export{je as component,Ae as universal};
//# sourceMappingURL=0.0-EjFgCU.js.map