PageSourceSearch

https://www.spirgroup.com/_nuxt/Bc9Oe_P3.js

js spirgroup.com collected 2026-10-07 08:19:01 UTC 2,294 bytes, 1 lines download raw bytes

1import{_ as $}from"./Dy-PMN2m.js";import{d as B,p as r,c as i,o as c,k as D,t as a,b as d,y as k,s as N,v as m,F as C,a as V,O as H}from"./tecNIwts.js";const z={class:"hero"},A={class:"container mx-auto py-8 md:py-12 lg:pt-20 lg:pb-18"},E={class:"grid lg:grid-cols-12 gap-8 lg:gap-16"},F={key:0,class:"text-4xl md:text-6xl lg:text-7xl"},L={key:0,class:"text-secondary"},T={key:1,class:"text-2xl md:text-3xl lg:text-4xl"},W={key:0,class:"sm:text-lg lg:text-xl"},q={key:1,class:"sm:text-lg lg:text-xl prose lg:prose-lg max-w-none"},P=B({__name:"BlockHero",props:{block:{}},setup(o){const n=o,p=t=>typeof t=="string",f=r(()=>{const t={},{image:e}=n.block;if(!e)return t;const{crop:s,hotspot:l,assetDimensions:h}=e;if(s&&h&&(s.top||s.bottom||s.left||s.right)){const{width:u,height:x}=h,v=Math.round(s.left*u),w=Math.round(s.top*x),M=Math.round(u*(1-s.left-s.right)),_=Math.round(x*(1-s.top-s.bottom));t.rect=`${v},${w},${M},${_}`}return l&&(t["fp-x"]=l.x,t["fp-y"]=l.y,t.crop="focalpoint"),t}),b=r(()=>{const{assetDimensions:t,crop:e}=n.block.image??{};if(t)return e&&(e.left||e.right)?Math.round(t.width*(1-e.left-e.right)):t.width}),y=r(()=>{const{assetDimensions:t,crop:e}=n.block.image??{};if(t)return e&&(e.top||e.bottom)?Math.round(t.height*(1-e.top-e.bottom)):t.height}),g=r(()=>n.block.columnLayout==="6-6");return(t,e)=>{const s=$,l=H;return c(),i("section",z,[o.block.image?(c(),D(s,{key:0,src:o.block.image.asset._ref,alt:o.block.image.alt||"",width:b.value,height:y.value,modifiers:f.value,fit:"max",sizes:"(max-width: 640px) 640px, (max-width: 1024px) 1024px, (max-width: 1440px) 1440px, 1920px",class:"w-full lg:mt-8",provider:"sanity"},null,8,["src","alt","width","height","modifiers"])):a("",!0),d("div",A,[d("div",E,[d("div",{class:k([g.value?"lg:col-span-6":"lg:col-span-7","space-y-4"])},[o.block.title?(c(),i("h1",F,[N(m(o.block.title)+" ",1),o.block.titleAccent?(c(),i("span",L,m(o.block.titleAccent),1)):a("",!0)])):a("",!0),o.block.subtitle?(c(),i("h2",T,m(o.block.subtitle),1)):a("",!0)],2),d("div",{class:k(g.value?"lg:col-span-6":"lg:col-span-5")},[o.block.description?(c(),i(C,{key:0},[p(o.block.description)?(c(),i("p",W,m(o.block.description),1)):(c(),i("div",q,[V(l,{blocks:o.block.description},null,8,["blocks"])]))],64)):a("",!0)],2)])])])}}});export{P as default};

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.