1import{a as e,c as t,l as n,o as r,s as i}from"./index-DejjuIVA.js";import{t as a}from"./business-sections-aZvb9-Dl.js";var o=n();function s({directory:e,site:t,posts:n}){let a=r.id,s=(e,t)=>`var(--${a}-${e}${t?`, ${t}`:``})`,c=s(`ink`,s(`black`,`#111111`)),l=s(`muted`,s(`steel`,c)),u=s(`line`,s(`line-aqua`,s(`lav-soft`,c))),d=s(`white`,s(`bg`,s(`paper`,s(`card`,`#ffffff`)))),f=s(`soft`,s(`bg-soft`,s(`accent-soft`,s(`paper-deep`,s(`lav-soft`,s(`sand`,`transparent`)))))),p=s(`accent`,s(`magenta`,s(`indigo`,s(`bordo`,s(`gold`,s(`cyan`,s(`leaf`,c))))))),m=[p,s(`orange`,s(`purple`,s(`peach-deep`,s(`gold`,s(`blue`,p))))),s(`blue`,s(`mint-deep`,s(`cyan`,s(`accent-dark`,s(`deep`,p)))))],h=`${a}-container`,g=e?.bands??[],_=e=>e&&e.replace(/^\/+|\/+$/g,``).split(`/`).pop()||null;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(`section`,{className:h,style:{paddingBlock:`3.5rem`},children:[(0,o.jsx)(`h1`,{className:`text-4xl font-extrabold leading-[1.1] tracking-[-0.02em] sm:text-5xl lg:text-6xl`,style:{color:c},children:t.name}),t.tagline&&(0,o.jsx)(`p`,{className:`mt-4 max-w-2xl text-lg font-light sm:text-xl`,style:{color:l},children:t.tagline}),e?.intro&&(0,o.jsx)(`p`,{className:`mt-6 max-w-3xl text-base leading-relaxed`,style:{color:l},children:e.intro})]}),g.map((e,t)=>{let n=m[t%m.length],r=_(e.href);return(0,o.jsxs)(`section`,{className:h,style:{paddingBottom:`3rem`},children:[(0,o.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b-2 pb-3`,style:{borderColor:n},children:[(0,o.jsx)(`h2`,{className:`text-2xl font-extrabold tracking-tight sm:text-3xl`,style:{color:c},children:r?(0,o.jsx)(i,{to:{kind:`category`,slug:r},children:e.name}):e.name}),r&&(0,o.jsx)(i,{to:{kind:`category`,slug:r},className:`shrink-0 text-sm font-medium underline-offset-4 hover:underline`,style:{color:n},children:`××× ××××ר××`})]}),(0,o.jsx)(`ul`,{className:`mt-6 grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4`,children:e.entries.map(e=>(0,o.jsx)(`li`,{children:(0,o.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noopener`,className:`flex h-full flex-col items-center justify-center gap-3 border p-5 transition-transform duration-150 hover:-translate-y-1`,style:{background:d,borderColor:u},children:[(0,o.jsx)(`img`,{src:e.logo,alt:e.label,loading:`lazy`,className:`h-14 w-full object-contain`,style:{mixBlendMode:`multiply`}}),(0,o.jsx)(`span`,{className:`line-clamp-2 text-center text-xs font-medium`,style:{color:l},children:e.label})]})},e.url))})]},e.name)}),n.length>0&&(0,o.jsxs)(`section`,{className:h,style:{background:f,paddingBlock:`3rem`},children:[(0,o.jsx)(`h2`,{className:`text-2xl font-extrabold tracking-tight sm:text-3xl`,style:{color:c},children:`×××ר×× ××ר×× ××`}),(0,o.jsx)(`ul`,{className:`mt-6 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:n.slice(0,6).map(e=>(0,o.jsx)(`li`,{children:(0,o.jsxs)(i,{to:{kind:`post`,slug:e.slug},className:`group block`,children:[e.image&&(0,o.jsx)(`img`,{src:e.image,alt:e.title,loading:`lazy`,className:`aspect-[16/9] w-full object-cover`}),(0,o.jsx)(`h3`,{className:`mt-3 text-base font-bold leading-snug group-hover:underline`,style:{color:c},children:e.title}),e.excerpt&&(0,o.jsx)(`p`,{className:`mt-1.5 line-clamp-2 text-sm`,style:{color:l},children:e.excerpt})]})},e.slug))})]})]})}function c(){let{content:n,home:i,directory:c}=e.useLoaderData();if(c){let e={"@context":`https://schema.org`,"@type":`CollectionPage`,name:t.name,description:t.description,url:`${t.url}/`,inLanguage:`he-IL`};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(s,{directory:c,site:n.site,posts:n.posts}),(0,o.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})]})}if(i){let e={"@context":`https://schema.org`,"@type":`ProfessionalService`,name:t.name,description:t.description,url:`${t.url}/`,areaServed:`IL`,inLanguage:`he-IL`};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(a,{home:i,site:n.site,posts:n.posts}),(0,o.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})]})}return(0,o.jsx)(r.Home,{content:n})}export{c as component};
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.