PageSourceSearch

https://cornelius.com/assets/Home-DaGlbuGU.js

js cornelius.com collected 2026-10-04 02:45:15 UTC 38,090 bytes, 1 lines download raw bytes

1import{r as a,j as e}from"./vendor-PKXgktxM.js";import{t as Q,u as X,g as K,a as Z,b as ee,S as te,L as b,P as se,c as ie,d as C,e as E,f as re}from"./index-aQEzI3WC.js";import{P as ae}from"./ProductFinder-BIghuDKv.js";import{T as ne,k as U,l as oe,m as $,n as j,a as f,o as le,W as ce,p as de,q as me,E as R}from"./icons-CqhEfYCO.js";import"./helmet-BNHTuvC-.js";import"./admin-editor-DXMNQspV.js";import"./search-Dw8P0qyA.js";import"./SanitizedHtml-DiPnL8b-.js";import"./sanitize-LQkvcK5U.js";const u=[{id:"age",text:"How old is your primary beverage equipment?",options:[{label:"Less than 3 years",score:25,detail:"Modern & efficient"},{label:"3–7 years",score:15,detail:"Approaching mid-life"},{label:"7–12 years",score:8,detail:"Likely losing efficiency"},{label:"12+ years",score:0,detail:"Past optimal lifespan"}]},{id:"downtime",text:"How often does your equipment experience unplanned downtime?",options:[{label:"Rarely (once a quarter or less)",score:25,detail:"Excellent reliability"},{label:"Occasionally (monthly)",score:15,detail:"Room for improvement"},{label:"Frequently (weekly)",score:5,detail:"Impacting revenue"},{label:"Constantly — it's a headache",score:0,detail:"Urgent action needed"}]},{id:"monitoring",text:"Can you monitor equipment health remotely?",options:[{label:"Yes — real-time IoT dashboard",score:25,detail:"Best-in-class visibility"},{label:"Some monitoring, not real-time",score:15,detail:"Partial visibility"},{label:"Manual checks only",score:5,detail:"Reactive, not proactive"},{label:"No monitoring at all",score:0,detail:"Flying blind"}]},{id:"consistency",text:"How consistent is your beverage quality across locations?",options:[{label:"Excellent — always on-brand",score:25,detail:"Customer trust is high"},{label:"Good — minor variations",score:18,detail:"Mostly consistent"},{label:"Inconsistent — noticeable issues",score:8,detail:"Brand risk"},{label:"We struggle with this",score:0,detail:"Revenue at risk"}]}];function he(s){return s>=85?{score:s,level:"elite",title:"Elite Operator",description:"Your beverage program is in the top tier. You're already leveraging modern equipment and monitoring. Small optimizations can still unlock meaningful gains.",recommendations:["Explore Cornelius DMS for advanced multi-unit analytics","Consider ACSD for drive-thru automation to push throughput even further","Review your equipment refresh cycle to stay ahead of efficiency curves"]}:s>=60?{score:s,level:"strong",title:"Strong Foundation",description:"You have a solid beverage program with clear opportunities to level up. The right upgrades could significantly reduce costs and improve customer satisfaction.",recommendations:["Upgrade aging equipment to R290-compliant, IoT-ready systems","Implement Cornelius DMS for proactive maintenance alerts","Standardize equipment across locations for consistent quality"]}:s>=35?{score:s,level:"developing",title:"Growth Opportunity",description:"Your beverage operation has significant room for improvement. Modern equipment and connected monitoring could dramatically reduce downtime and boost revenue.",recommendations:["Start with a beverage equipment audit — identify your highest-cost failure points","Evaluate connected dispensing systems with built-in diagnostics","Talk to our team about a phased equipment modernization plan"]}:{score:s,level:"critical",title:"Urgent Upgrade Needed",description:"Your beverage program is costing you money, customers, and brand reputation every day. The good news: modern systems can transform your operation quickly.",recommendations:["Schedule an immediate consultation — every week of delay costs revenue","Prioritize IoT-connected equipment to eliminate reactive maintenance","Deploy standardized dispensing systems for consistent quality across all locations"]}}function ue(){const[s,o]=a.useState(0),[i,l]=a.useState([]),[r,t]=a.useState(null),[c,d]=a.useState(!1),[x,p]=a.useState(!1),[O,B]=a.useState(null),[m,w]=a.useState({name:"",email:"",company:"",phone:""}),I=a.useRef(null),P=a.useRef(null),z=s>=u.length,T=s/u.length*100,H=n=>{const h=[...i,n];if(l(h),s+1>=u.length){const v=h.reduce((y,S)=>y+S,0),g=he(v);t(g),Q(g.score,g.level)}const k=s+1;o(k),requestAnimationFrame(()=>{k>=u.length?P.current?.focus():I.current?.focus()})},Y=()=>{o(0),l([]),t(null),d(!1),p(!1),w({name:"",email:"",company:"",phone:""})}
1,[q,D]=a.useState(null),[N,A]=a.useState(!1),W=async n=>{n.preventDefault(),D(null),A(!0);try{const h=i.map((y,S)=>{const F=u[S],L=F.options.find(J=>J.score===y);return{question:F.text,answer:L?.label||"Unknown",detail:L?.detail||"",score:y,maxScore:25}}),v=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:m.name,email:m.email,company:m.company,phone:m.phone||void 0,message:JSON.stringify({type:"scorecard",totalScore:r?.score,maxScore:100,tier:r?.level,tierTitle:r?.title,tierDescription:r?.description,answers:h,recommendations:r?.recommendations}),source:"scorecard",productName:"Beverage Operations Assessment"})}),g=await v.json().catch(()=>({}));if(!v.ok)throw new Error(g.error||"Something went wrong. Please try again.");g.emailSent===!1&&B("Your assessment was saved, but our notification system had a temporary issue. Our team will still follow up with you."),p(!0)}catch(h){D(h instanceof Error?h.message:"Something went wrong. Please try again.")}finally{A(!1)}},M={elite:"text-emerald-500",strong:"text-blue-500",developing:"text-amber-500",critical:"text-red-500"},V={elite:"from-emerald-500/20 to-emerald-500/5",strong:"from-blue-500/20 to-blue-500/5",developing:"from-amber-500/20 to-amber-500/5",critical:"from-red-500/20 to-red-500/5"},G={elite:$,strong:oe,developing:U,critical:ne};return e.jsxs("div",{children:[!z&&e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"mb-8",children:[e.jsxs("div",{className:"flex items-center justify-between text-xs text-white/50 mb-2",children:[e.jsxs("span",{children:["Question ",s+1," of ",u.length]}),e.jsxs("span",{children:[Math.round(T),"% complete"]})]}),e.jsx("div",{className:"h-1.5 bg-white/10 rounded-full overflow-hidden",role:"progressbar","aria-valuenow":s+1,"aria-valuemin":1,"aria-valuemax":u.length,"aria-label":`Question ${s+1} of ${u.length}`,children:e.jsx("div",{className:"h-full bg-gradient-to-r from-cornelius-blue to-white rounded-full transition-all duration-500 ease-out",style:{width:`${T}%`}})})]}),e.jsx("h3",{ref:I,tabIndex:-1,className:"text-xl md:text-2xl font-bold text-white mb-6 outline-none",children:u[s].text}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:u[s].options.map((n,h)=>e.jsxs("button",{onClick:()=>H(n.score),className:"flex flex-col items-start p-5 border border-white/15 hover:border-white/40 bg-white/5 hover:bg-white/10 transition-all text-left group rounded-sm",children:[e.jsx("span",{className:"font-semibold text-white group-hover:text-cornelius-light transition-colors",children:n.label}),e.jsx("span",{className:"text-xs text-white/50 mt-1",children:n.detail})]},h))})]}),z&&r&&!c&&e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:`inline-flex items-center justify-center w-24 h-24 rounded-full bg-gradient-to-b ${V[r.level]} mb-6`,children:(()=>{const n=G[r.level];return e.jsx(n,{className:`w-10 h-10 ${M[r.level]}`,"aria-hidden":"true"})})()}),e.jsxs("div",{className:"mb-2",children:[e.jsx("span",{className:`text-5xl md:text-6xl font-black ${M[r.level]}`,children:r.score}),e.jsx("span",{className:"text-white/40 text-2xl font-light",children:"/100"})]}),e.jsx("h3",{ref:P,tabIndex:-1,className:"text-xl md:text-2xl font-bold text-white mb-3 outline-none",children:r.title}),e.jsx("p",{className:"text-white/70 max-w-xl mx-auto mb-8 leading-relaxed",children:r.description}),e.jsxs("div",{className:"max-w-lg mx-auto text-left mb-8",children:[e.jsx("h4",{className:"text-sm font-semibold text-white/60 uppercase tracking-wider mb-4",children:"Your Top Recommendations"}),e.jsx("div",{className:"space-y-3",children:r.recommendations.map((n,h)=>e.jsxs("div",{className:"flex items-start gap-3 p-3 bg-white/5 border border-white/10 rounded-sm",children:[e.jsx("span",{className:"flex items-center justify-center w-6 h-6 rounded-full bg-cornelius-blue text-white text-xs font-bold shrink-0 mt-0.5",children:h+1}),e.jsx("span",{className:"text-white/80 text-sm leading-relaxed",children:n})]},h))})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsxs("button",{onClick:()=>d(!0),className:"inline-flex items-center justify-center gap-2 bg-white text-cornelius-navy font-semibold px-6 py-3 text-sm tracking-wide hover:bg-cornelius-light transition-colors min-h-[48px]",children:["GET YOUR FULL REPORT ",e.jsx(j,{className:"w-4 h-4"})]}),e.jsx("button",{onClick:Y,className:"inline-flex items-center justify-center gap-2 border border-white/30 text-white font-medium px-6 py-3 text-sm hover:bg-white/10 transition-colors min-h-[48px]",children:"Retake Assessment"})]})]}),c&&!x&&e.jsxs("div",{className:"max-w-md mx-auto",children:[e.jsx("h3",{className:"text-xl font-bold text-white mb-2 text-center",children:"Get Your Personalized Report"}),e.jsxs("p",{className:"text-white/60 text-sm text-center mb-6",children:["We'll send detailed recommendations and ROI projections based on your score of ",r?.score,"/100."]}),e.jsxs("form",{onSubmit:W,className:"space-y-4",children:[e.jsx("div",{children:e.jsx("input",{type:"text",placeholder:"Full Name",required:!0,value:m.name,onChange:n=>w({...m,name:n.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 text-white placeholder:text-white/40 focus:border-white/50 focus:outline-none rounded-sm text-sm"})}),e.jsx("div",{children:e.jsx("input",{type:"email",placeholder:"Work Email",required:!0,value:m.email,onChange:n=>w({...m,email:n.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 text-white placeholder:text-white/40 focus:border-white/50 focus:outline-none rounded-sm text-sm"})}),e.jsx("div",{children:e.jsx("input",{type:"text",placeholder:"Company Name",required:!0,value:m.company,onChange:n=>w({...m,company:n.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 text-white placeholder:text-white/40 focus:border-white/50 focus:outline-none rounded-sm text-sm"})}),e.jsx("div",{children:e.jsx("input",{type:"tel",placeholder:"Phone (optional)",value:m.phone,onChange:n=>w({...m,phone:n.target.value}),className:"w-full px-4 py-3 bg-white/10 border border-white/20 text-white placeholder:text-white/40 focus:border-white/50 focus:outline-none rounded-sm text-sm"})}),q&&e.jsx("div",{className:"text-red-400 text-sm text-center bg-red-400/10 border border-red-400/20 rounded-sm px-4 py-2",children:q}),e.jsxs("button",{type:"submit",disabled:N,className:"w-full inline-flex items-center justify-center gap-2 bg-white text-cornelius-navy font-semibold px-6 py-3 text-sm tracking-wide hover:bg-cornelius-light transition-colors min-h-[48px] disabled:opacity-60 disabled:cursor-not-allowed",children:[N?"SENDING...":"SEND MY REPORT"," ",!N&&e.jsx(f,{className:"w-4 h-4"})]}),e.jsx("p",{className:"text-white/30 text-xs text-center",children:"No spam. Your data stays with Cornelius."})]})]}),x&&e.jsxs("div",{className:"text-center py-8",children:[e.jsx($,{className:"w-16 h-16 text-emerald-400 mx-auto mb-4","aria-hidden":"true"}),e.jsx("h3",{className:"text-2xl font-bold text-white mb-2",children:"You're All Set"}),e.jsx("p",{className:"text-white/70 max-w-md mx-auto",children:"We'll send your personalized beverage operations report within 24 hours. In the meantime, explore our product catalog."}),O&&e.jsx("p",{className:"text-amber-300 text-sm mt-3 max-w-md mx-auto",children:O}),e.jsxs("a",{href:"/products",className:"inline-flex items-center justify-center gap-2 bg-white text-cornelius-navy font-semibold px-6 py-3 text-sm tracking-wide hover:bg-cornelius-light transition-colors min-h-[48px] mt-6",children:["EXPLORE PRODUCTS ",e.jsx(j,{className:"w-4 h-4"})]})]})]})}function xe(s){return new DOMParser().parseFromString(s,"text/html").body.textContent||s}const pe=[{name:"Fountain",description:"Consistent flavor, every pour",key:"fountain",path:"/products/fountain"},{name:"Frozen",description:"Smooth, reliable frozen beverages",key:"frozen",path:"/products/frozen"},{name:"Juice",description:"Non-carbonated dispensing solutions",key:"juice",path:"/products/juice"},{name:"Ice",description:"Engineered for peak demand",key:"ice",path:"/products/ice"}],ge=()=>typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;function _({src:s,label:o,poster:i}){const l=a.useRef(null),r=a.useRef(null),[t,c]=a.useState(!1);return a.useEffect(()=>{const d=l.current;if(!d)return;const x=new IntersectionObserver(([p])=>{p.isIntersecting&&(c(!0),x.disconnect())},{rootMargin:"200px"});return x.observe(d),()=>x.disconnect()},[]),a.useEffect(()=>{if(!t)return;const d=r.current;if(!d)return;const x=new IntersectionObserver(([p])=>{p.isIntersecting&&!ge()?d.play().catch(()=>{}):d.pause()},{threshold:.3});return x.observe(d),()=>x.disconnect()},[t]),e.jsx("div",{ref:l,className:"relative bg-gradient-to-br from-cornelius-dark via-cornelius-navy to-cornelius-blue rounded-sm overflow-hidden flex items-center justify-center min-h-[300px] md:min-
1h-[400px]",style:i?{backgroundImage:`url(${i})`,backgroundSize:"cover",backgroundPosition:"center"}:void 0,children:t&&e.jsx("video",{ref:r,muted:!0,playsInline:!0,preload:"auto",poster:i,className:"w-full h-full object-cover absolute inset-0","aria-label":o,children:e.jsx("source",{src:s,type:"video/mp4"})})})}function be({content:s}){const o=s.acsd_headline||"Serve drive-thru orders",i=s.acsd_highlight||"34 seconds faster",l=s.acsd_body||"Proven with 1.5M+ drinks poured, ACSD transforms beverage operations with precision automation designed specifically for high-volume drive-thrus to increase throughput at the window and keep cars moving.",r=s.acsd_link_url||"https://acsd.cornelius.com/",t=s.acsd_link_text||"EXPLORE ACSD";return e.jsxs("section",{className:"relative bg-white overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-cornelius-teal via-cornelius-teal/50 to-transparent"}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-12 md:py-20",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16 items-center",children:[e.jsxs("div",{children:[e.jsx("span",{className:"inline-block text-xs font-semibold tracking-[0.2em] uppercase text-cornelius-teal mb-4",children:"ACSD"}),e.jsxs("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-bold text-cornelius-navy leading-tight mb-4",children:[o,e.jsx("br",{}),e.jsxs("span",{className:"relative inline-block",children:[e.jsx("span",{className:"relative z-10 bg-gradient-to-r from-cornelius-teal-dark to-cornelius-navy bg-clip-text text-transparent",children:i}),e.jsx("span",{className:"absolute bottom-1 left-0 w-full h-2 md:h-3 bg-cornelius-teal/15 -skew-x-3","aria-hidden":"true"})]})]}),e.jsx("p",{className:"text-cornelius-gray leading-relaxed mb-8 text-base md:text-lg",children:l}),e.jsxs("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 bg-cornelius-navy text-white font-semibold px-6 py-3 text-sm tracking-wide hover:bg-cornelius-dark transition-colors min-h-[48px]",children:[t," ",e.jsx(R,{className:"w-4 h-4","aria-hidden":"true"}),e.jsx("span",{className:"sr-only",children:"(opens in a new tab)"})]})]}),e.jsx(_,{src:"/images/acsd-animation.mp4",poster:"/images/acsd-animation-poster.webp",label:"ACSD Automatic Crew Serve Dispenser animation"})]})})]})}function we(){return e.jsxs("div",{className:"home-hero-connected","aria-hidden":"true",children:[e.jsxs("div",{className:"home-hero-liquid",children:[e.jsx("span",{className:"home-hero-ridge home-hero-ridge-a"}),e.jsx("span",{className:"home-hero-ridge home-hero-ridge-b"}),e.jsx("span",{className:"home-hero-ridge home-hero-ridge-c"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-a"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-b"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-c"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-d"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-e"}),e.jsx("span",{className:"home-hero-bubble home-hero-bubble-f"})]}),e.jsxs("svg",{className:"home-hero-network",viewBox:"0 0 1200 700",preserveAspectRatio:"none",children:[e.jsx("path",{className:"home-hero-arc home-hero-arc-a",d:"M675 122 C845 48 1088 112 1198 310"}),e.jsx("path",{className:"home-hero-arc home-hero-arc-b",d:"M674 178 C822 294 1017 356 1198 354"}),e.jsx("path",{className:"home-hero-arc home-hero-arc-c",d:"M734 88 C791 265 934 441 1172 526"}),e.jsx("path",{className:"home-hero-arc home-hero-arc-d",d:"M779 509 C909 402 1050 246 1125 115"}),e.jsx("path",{className:"home-hero-arc home-hero-arc-e",d:"M701 340 C852 285 1028 274 1190 322"}),e.jsx("circle",{className:"home-hero-node home-hero-node-a",cx:"708",cy:"149",r:"8"}),e.jsx("circle",{className:"home-hero-node home-hero-node-b",cx:"843",cy:"264",r:"11"}),e.jsx("circle",{className:"home-hero-node home-hero-node-c",cx:"1007",cy:"301",r:"7"}),e.jsx("circle",{className:"home-hero-node home-hero-node-d",cx:"1125",cy:"115",r:"9"}),e.jsx("circle",{className:"home-hero-node home-hero-node-e",cx:"1077",cy:"468",r:"12"}),e.jsx("circle",{className:"home-hero-node home-hero-node-f",cx:"779",cy:"509",r:"7"})]}),e.jsx("div",{className:"home-hero-connected-vignette"})]})}function Oe(){const{products:s}=X(),o=a.useMemo(()=>K(s),[s]),{data:i}=Z(),{data:l}=ee("home"),r=a.useMemo(()=>pe.map(t=>({...t,name:i[`category_${t.key}_name`]??t.name,description:i[`category_${t.key}_desc`]??t.description})),[i]);return e.jsxs("div",{children:[e.jsx(te,{title:l.title||"Intelligent Beverage Dispensing Systems",path:"/",description:l.description||"Cornelius engineers intelligent beverage dispensing systems for consistent flavor, speed of service, and maximum uptime. Over 90 years of innovation.",image:l.ogImage||void 0,jsonLd:{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.cornelius.com/#organization",name:"Cornelius, Inc.",url:"https://www.cornelius.com",logo:{"@type":"ImageObject","@id":"https://www.cornelius.com/#logo",url:"https://www.cornelius.com/images/cornelius-header-logo.svg",contentUrl:"https://www.cornelius.com/images/cornelius-header-logo.svg",caption:"Cornelius"},description:"Cornelius engineers intelligent beverage dispensing systems that deliver consistent quality of flavor, speed of service, and maximum uptime.",foundingDate:"1931",numberOfEmployees:{"@type":"QuantitativeValue",value:500},parentOrganization:{"@type":"Organization",name:"Marmon Foodservice Technologies",url:"https://www.marmonfoodservice.com",parentOrganization:{"@type":"Organization",name:"Berkshire Hathaway",url:"https://www.berkshirehathaway.com"}},contactPoint:{"@type":"ContactPoint",telephone:"+1-800-238-3600",contactType:"customer service",contactOption:"TollFree",areaServed:"US",availableLanguage:"English"},address:{"@type":"PostalAddress",addressLocality:"Anoka",addressRegion:"MN",addressCountry:"US"},sameAs:["https://www.linkedin.com/company/cornelius-inc"]},{"@type":"LocalBusiness","@id":"https://www.cornelius.com/#localbusiness",name:"Cornelius, Inc.",url:"https://www.cornelius.com",telephone:"+1-800-238-3600",image:"https://www.cornelius.com/images/cornelius-header-logo.svg",address:{"@type":"PostalAddress",addressLocality:"Anoka",addressRegion:"MN",addressCountry:"US"},areaServed:{"@type":"Country",name:"United States"},priceRange:"$$$$",description:"Cornelius engineers intelligent beverage dispensing systems for commercial foodservice. Fountain dispensers, frozen beverage machines, juice dispensers, and ice machines.",parentOrganization:{"@id":"https://www.cornelius.com/#organization"}},{"@type":"WebSite","@id":"https://www.cornelius.com/#website",name:"Cornelius",url:"https://www.cornelius.com",publisher:{"@id":"https://www.cornelius.com/#organization"},potentialAction:{"@type":"SearchAction",target:"https://www.cornelius.com/document-library?q={search_term_string}","query-input":"required name=search_term_string"}},{"@type":"SiteNavigationElement","@id":"https://www.cornelius.com/#navigation",name:"Main Navigation",url:"https://www.cornelius.com",hasPart:[{"@type":"SiteNavigationElement",name:"Solutions",url:"https://www.cornelius.com/solutions"},{"@type":"SiteNavigationElement",name:"Products",url:"https://www.cornelius.com/products"},{"@type":"SiteNavigationElement",name:"Document Library",url:"https://www.cornelius.com/document-library"},{"@type":"SiteNavigationElement",name:"About",url:"https://www.cornelius.com/about"},{"@type":"SiteNavigationElement",name:"News",url:"https://www.cornelius.com/news"},{"@type":"SiteNavigationElement",name:"Contact",url:"https://www.cornelius.com/contact"},{"@type":"SiteNavigationElement",name:"Where to Buy",url:"https://www.cornelius.com/where-to-buy"}]},{"@type":"VideoObject",name:"ACSD Automatic Crew Serve Dispenser",description:"Animation demonstrating the Cornelius ACSD drive-thru beverage automation system.",contentUrl:"https://www.cornelius.com/images/acsd-animation.mp4",thumbnailUrl:"https://www.cornelius.com/images/cornelius-header-logo.svg",uploadDate:"2025-01-01"},{"@type":"VideoObject",name:"Cornelius Chunklet Ice Machine",description:"Animation demonstrating Cornelius chunklet modular continuous ice production.",contentUrl:"https://www.cornelius.com/images/ice-animation.mp4",thumbnailUrl:"https://www.cornelius.com/images/cornelius-header-logo.svg",uploadDate:"2025-01-01"}]}}),e.jsxs("section",{className:"relative bg-cornelius-dark overflow-hidden min-h-[320px] md:min-
1h-[420px]",children:[e.jsx(we,{}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-16 md:py-28 relative z-20",children:e.jsxs("div",{className:"max-w-2xl",children:[e.jsx("h1",{className:"text-2xl md:text-5xl lg:text-6xl font-bold leading-tight mb-4 md:mb-6 text-white",children:i.hero_headline??"Engineering the Perfect Pour"}),e.jsx("p",{className:"text-lg md:text-xl text-white/80 leading-relaxed mb-2 md:mb-3",children:i.hero_subtitle??"Intelligent beverage dispensing systems engineered for quality of flavor, speed of service, and maximum uptime."}),e.jsx("p",{className:"text-sm md:text-base text-cornelius-teal/70 italic tracking-wide mb-6 md:mb-8",children:i.hero_tagline??"Pour the perfect beverage."}),e.jsxs("div",{className:"flex flex-wrap gap-4",children:[e.jsxs(b,{to:"/products",className:"inline-flex items-center justify-center gap-2 bg-cornelius-teal text-white font-semibold px-5 sm:px-6 py-3 text-sm tracking-wide hover:bg-cornelius-teal-dark transition-colors min-h-[48px] w-full sm:w-auto",children:["EXPLORE OUR PRODUCTS",e.jsx(f,{className:"w-4 h-4"})]}),e.jsxs("a",{href:"#product-finder",onClick:t=>{t.preventDefault(),document.getElementById("product-finder")?.scrollIntoView({behavior:"smooth"})},"data-cta":"find-your-solution",className:"inline-flex items-center justify-center gap-2 border border-white text-white font-semibold px-5 sm:px-6 py-3 text-sm tracking-wide hover:bg-white hover:text-cornelius-navy transition-colors min-h-[48px] w-full sm:w-auto",children:["FIND YOUR SOLUTION",e.jsx(f,{className:"w-4 h-4"})]}),e.jsx(b,{to:"/where-to-buy","data-cta":"where-to-buy",className:"inline-flex items-center justify-center gap-2 border border-white/40 text-white font-semibold px-5 sm:px-6 py-3 text-sm tracking-wide hover:bg-white hover:text-cornelius-navy transition-colors min-h-[48px] w-full sm:w-auto",children:"WHERE TO BUY"})]})]})})]}),e.jsx(be,{content:i}),e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-cornelius-indigo via-cornelius-dark to-cornelius-navy"}),e.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-12 md:py-20 relative z-10",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 lg:gap-16 items-center",children:[e.jsx("div",{className:"order-2 lg:order-1",children:e.jsx(_,{src:"/images/ice-animation.mp4",poster:"/images/ice-animation-poster.webp",label:"Cornelius chunklet ice machine animation"})}),e.jsxs("div",{className:"order-1 lg:order-2",children:[e.jsx("span",{className:"inline-block text-xs font-semibold tracking-[0.2em] uppercase text-cornelius-teal mb-4",children:"New for 2026"}),e.jsx("h2",{className:"text-2xl md:text-4xl lg:text-5xl font-bold text-white leading-tight mb-4",children:i.ice_headline??"Chunklet ice built for the rush"}),e.jsx("p",{className:"text-white/90 leading-relaxed mb-6 text-base md:text-lg",children:i.ice_body??"Engineered for modern foodservice environments, Cornelius Ice delivers consistent, high-quality chunklet ice with a system-level redesign focused on reliability, efficiency, and quieter front-of-house performance. Front-access service and smarter electronics help reduce downtime and keep ice available during peak demand."}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-4 gap-3 mb-8",children:[{icon:le,label:"R290 Compliant"},{icon:ce,label:"IoT-Ready"},{icon:de,label:"Built-in Diagnostics"},{icon:me,label:"3+5yr Warranty"}].map(({icon:t,label:c})=>e.jsxs("div",{className:"flex items-center gap-2 text-white",children:[e.jsx(t,{className:"w-4 h-4 text-cornelius-teal shrink-0"}),e.jsx("span",{className:"text-xs font-medium",children:c})]},c))}),e.jsxs("a",{href:"https://ice.cornelius.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 bg-cornelius-teal text-white font-semibold px-6 py-3 text-sm tracking-wide hover:bg-cornelius-teal-dark transition-colors min-h-[48px]",children:["EXPLORE ICE MACHINES ",e.jsx(R,{className:"w-4 h-4","aria-hidden":"true"}),e.jsx("span",{className:"sr-only",children:"(opens in a new tab)"})]})]})]})})]}),e.jsxs("section",{className:`relative overflow-hidden bg-gray-50${o.length===0?" hidden":""}`,children:[e.jsx("div",{className:"absolute top-0 left-0 w-full h-1 bg-gradient-to-r from-cornelius-teal via-cornelius-navy to-cornelius-teal"}),e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 py-12 md:py-20 relative z-10",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("span",{className:"inline-block text-xs font-semibold tracking-[0.2em] uppercase text-cornelius-teal mb-3",children:"New for 2026"}),e.jsx("h2",{className:"text-2xl md:text-4xl font-bold text-cornelius-navy",children:o.length===1?o[0].name:"Latest Innovations"})]}),e.jsx("div",{className:`grid gap-6 ${o.length===1?"grid-cols-1 max-w-2xl mx-auto":o.length===2?"grid-cols-1 sm:grid-cols-2 max-w-4xl mx-auto":"grid-cols-1 sm:grid-cols-2 lg:grid-cols-3"}`,children:o.map(t=>e.jsxs(b,{to:`/products/${t.category}/${t.slug}`,className:"group bg-white border border-gray-200 hover:border-cornelius-teal/40 hover:shadow-lg transition-all",children:[e.jsx("div",{className:"h-48 bg-cornelius-light/30 flex items-center justify-center p-6 overflow-hidden",children:t.image?e.jsx("img",{src:t.image,alt:t.name,loading:"lazy",width:200,height:192,className:"max-h-full max-w-full object-contain group-hover:scale-105 transition-transform duration-300",onError:c=>{c.currentTarget.style.visibility="hidden"}}):e.jsx(se,{name:t.name,category:t.category,size:"sm"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("span",{className:"text-[10px] font-semibold text-cornelius-teal uppercase tracking-wider",children:ie[t.category]}),e.jsx("h3",{className:"font-bold text-cornelius-navy mt-1 text-lg group-hover:text-cornelius-teal-dark transition-colors",children:t.name}),e.jsx("p",{className:"text-cornelius-gray text-sm mt-2 line-clamp-2",children:t.description?xe(t.description):t.family}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-cornelius-teal text-sm font-medium mt
1-3",children:["Learn more about ",t.name,e.jsx(j,{className:"w-3 h-3","aria-hidden":"true"})]})]})]},t.id))})]})]}),e.jsx("section",{id:"product-finder",className:"bg-white py-12 md:py-20 scroll-mt-20",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("span",{className:"inline-block text-xs font-semibold tracking-[0.2em] uppercase text-cornelius-teal mb-3",children:"Our Solutions"}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-cornelius-navy",children:i.solutions_headline??"Intelligent systems for modern foodservice"}),e.jsx("p",{className:"text-cornelius-gray mt-2 text-sm md:text-base max-w-2xl mx-auto",children:i.solutions_subtitle??"45 products across 4 categories. Built to serve millions of drinks a day."})]}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6",children:r.map(t=>e.jsxs(b,{to:t.path,className:"group bg-cornelius-light/50 border border-gray-100 overflow-hidden hover:shadow-lg hover:border-cornelius-teal/30 transition-all duration-300",children:[e.jsxs("div",{className:"h-48 bg-white overflow-hidden flex items-center justify-center",children:[C[t.key]?e.jsx("img",{src:C[t.key],alt:`${t.name} beverage equipment`,loading:"lazy",width:400,height:192,sizes:"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 25vw",className:"w-full h-full object-contain p-4 group-hover:scale-105 transition-transform duration-300",onError:c=>{c.currentTarget.style.visibility="hidden";const d=c.currentTarget.nextElementSibling;d&&(d.style.display="block")}}):null,e.jsx("span",{className:`text-3xl font-bold text-cornelius-navy/15 select-none${C[t.key]?" hidden":""}`,children:t.name})]}),e.jsxs("div",{className:"p-5 flex items-center justify-between border-t border-cornelius-teal/10",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"font-bold text-cornelius-navy text-lg lowercase first-letter:uppercase",children:t.name.toLowerCase()}),e.jsx("p",{className:"text-sm text-cornelius-gray mt-1",children:t.description})]}),e.jsx(j,{className:"w-5 h-5 text-cornelius-teal group-hover:translate-x-1 transition-transform"})]})]},t.name))})]})}),e.jsxs("section",{className:"relative bg-gradient-to-br from-cornelius-navy via-cornelius-dark to-cornelius-indigo py-12 md:py-16 overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 opacity-[0.03]",style:{backgroundImage:`url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")`}}),e.jsx("div",{className:"absolute top-0 right-0 w-96 h-96 bg-cornelius-teal/10 rounded-full blur-3xl translate-x-1/3 -translate-y-1/3"}),e.jsx("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 relative z-10",children:e.jsx("div",{id:"guided-finder",className:"scroll-mt-20 bg-white/5 border border-cornelius-teal/15 rounded-sm p-5 md:p-8 backdrop-blur-sm",children:e.jsx(E,{sectionName:"ProductFinder",fallback:e.jsxs("div",{className:"text-center py-10 text-white/70 text-sm",children:["The product finder is temporarily unavailable. ",e.jsx("a",{href:"/products",className:"underline text-white/80 hover:text-white",children:"Browse all products"})]}),children:e.jsx(ae,{hideCategoryGrid:!0,variant:"dark"})})})})]}),e.jsx(E,{sectionName:"NewsletterStrip",children:e.jsx(fe,{})}),e.jsxs("section",{className:"relative bg-gradient-to-bl from-cornelius-indigo via-cornelius-navy to-cornelius-dark py-12 md:py-16 overflow-hidden",children:[e.jsx("div",{className:"absolute top-0 left-0 w-72 h-72 bg-cornelius-teal/8 rounded-full blur-3xl -translate-x-1/2 -translate-y-1/2"}),e.jsx("div",{className:"absolute bottom-0 right-0 w-96 h-96 bg-cornelius-teal/5 rounded-full blur-3xl translate-x-1/3 translate-y-1/3"}),e.jsxs("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 relative z-10",children:[e.jsxs("div",{className:"text-center mb-6",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 bg-white/10 border border-white/20 rounded-full px-4 py-1.5 mb-4",children:[e.jsx(U,{className:"w-3.5 h-3.5 text-emerald-400"}),e.jsx("span",{className:"text-xs font-semibold text-white/80 uppercase tracking-wider",children:"Free Assessment"})]}),e.jsxs("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-black text-white leading-tight mb-3",children:["How Optimized Is Your",e.jsx("br",{}),e.jsx("span",{className:"bg-gradient-to-r from-emerald-400 to-cornelius-light bg-clip-text text-transparent",children:"Beverage Operation?"})]}),e.jsx("p",{className:"text-white/70 text-sm md:text-base max-w-xl mx-auto",children:"4 questions. 60 seconds. Get a score and personalized recommendations to reduce downtime and improve every pour."})]}),e.jsx("div",{className:"bg-white/5 border border-white/10 rounded-sm p-5 md:p-8 backdrop-blur-sm",children:e.jsx(E,{sectionName:"BeverageScorecard",fallback:e.jsx("div",{className:"text-center py-10 text-white/70 text-sm",children:"The assessment tool is temporarily unavailable. Please try again later."}),children:e.jsx(ue,{})})})]})]}),e.jsx("section",{className:"bg-gray-50 py-12 md:py-16 border-t border-cornelius-teal/15",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 divide-y md:divide-y-0 md:divide-x divide-cornelius-teal/20",children:[e.jsxs("div",{className:"pb-6 md:pb-0 md:pr-10",children:[e.jsx("h3",{className:"text-cornelius-navy font-bold text-lg mb-2",children:"Our Story"}),e.jsx("p",{className:"text-cornelius-gray text-base leading-relaxed mb-5",children:"90+ years of engineering beverage systems built for performance and reliability."}),e.jsxs(b,{to:"/about",className:"inline-flex items-center justify-center gap-1.5 bg-white border border-cornelius-navy text-cornelius-navy font-semibold px-6 py-2.5 text-sm tracking-wide hover:bg-cornelius-navy hover:text-white transition-colors",children:["Learn More ",e.jsx(f,{className:"w-3.5 h-3.5"})]})]}),e.jsxs("div",{className:"py-6 md:py-0 md:px-10",children:[e.jsx("h3",{className:"text-cornelius-navy font-bold text-lg mb-2",children:"Cornelius DMS"}),e.jsx("p",{className:"text-cornelius-gray text-base leading-relaxed mb-5",children:"Cloud-based diagnostics and proactive maintenance to reduce downtime across your fleet."}),e.jsxs("a",{href:"https://www.corneliusdms.com/",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-1.5 bg-cornelius-blue text-white font-semibold px-6 py-2.5 text-sm tracking-wide hover:bg-cornelius-navy transition-colors",children:["Explore DMS ",e.jsx(R,{className:"w-3.5 h-3.5"})]})]}),e.jsxs("div",{className:"pt-6 md:pt-0 md:pl-10",children:[e.jsx("h3",{className:"text-cornelius-navy font-bold text-lg mb-2",children:"Get in Touch"}),e.jsx("p",{className:"text-cornelius-gray text-base leading-relaxed mb-5",children:"Product selection, service support, or finding a local distributor — we're here to help."}),e.jsxs(b,{to:"/contact",className:"inline-flex items-center justify-center gap-1.5 bg-white border border-cornelius-navy text-cornelius-navy font-semibold px-6 py-2.5 text-sm tracking-wide hover:bg-cornelius-navy hover:text-white transition-colors",children:["Contact Us ",e.jsx(f,{className:"w-3.5 h-3.5"})]})]})]})})})]})}
1function fe(){const[s,o]=a.useState(""),[i,l]=a.useState("idle"),r=async t=>{if(t.preventDefault(),!!s){l("submitting");try{if(!(await fetch("/api/newsletter/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:s})})).ok)throw new Error("Failed");l("success"),o(""),re()}catch{l("error"),setTimeout(()=>l("idle"),3e3)}}};return e.jsx("section",{className:"bg-white py-12 md:py-16",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 sm:px-6",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-8 md:gap-12",children:[e.jsx("div",{className:"w-full md:w-2/5 shrink-0",children:e.jsxs("picture",{children:[e.jsx("source",{srcSet:"/images/friday-5-header.webp",type:"image/webp"}),e.jsx("img",{src:"/images/friday-5-header.png",alt:"The Friday 5 Newsletter",width:1e3,height:600,sizes:"(max-width: 768px) 100vw, 40vw",className:"w-full rounded-xl shadow-lg aspect-[5/3] object-cover",loading:"lazy",decoding:"async"})]})}),e.jsxs("div",{className:"flex-1 text-center md:text-left",children:[e.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-cornelius-navy mb-4",children:"Don't Get Left Behind"}),e.jsx("p",{className:"text-cornelius-gray text-sm leading-relaxed mb-6 max-w-lg",children:"Every week, thousands of QSR and c-store operators get the 5 breaking stories shaping the future of foodservice. It takes 60 seconds to read. Don't be the last to know."}),e.jsx("div",{className:"min-h-[88px] sm:min-h-[52px] flex items-center justify-center md:justify-start","aria-live":"polite",children:i==="success"?e.jsx("p",{className:"text-cornelius-teal text-sm font-semibold",children:"Check your inbox to confirm your subscription."}):i==="error"?e.jsx("p",{className:"text-red-600 text-sm font-semibold",children:"Something went wrong. Try again."}):e.jsxs("form",{onSubmit:r,className:"flex flex-col sm:flex-row gap-3 max-w-md w-full mx-auto md:mx-0",children:[e.jsx("input",{type:"email",required:!0,placeholder:"Enter your best email",value:s,onChange:t=>o(t.target.value),className:"bg-gray-50 border border-gray-300 text-cornelius-navy placeholder:text-gray-400 text-sm px-4 py-3 rounded-lg focus:outline-none focus:border-cornelius-teal flex-1"}),e.jsx("button",{type:"submit",disabled:i==="submitting",className:"bg-cornelius-teal text-white font-semibold px-6 py-3 text-sm tracking-wide rounded-lg hover:bg-cornelius-teal-dark transition-colors shrink-0 disabled:opacity-50",children:i==="submitting"?"Joining...":"Send Me the Friday 5"})]})})]})]})})})}export{Oe 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.