PageSourceSearch

https://agrinextcon.com/assets/routes-PRyB-0rn.js

js agrinextcon.com collected 2026-09-25 06:08:05 UTC 71,811 bytes, 1 lines download raw bytes

1import{r as e,t}from"./jsx-runtime-DGeXAQPT.js";import{t as n}from"./react-BhjfaixL.js";import{a as r,d as i,f as a,i as o,m as s,n as c,o as l,p as u,r as d,t as f}from"./site-footer-V4iepM0O.js";import{H as p,b as m,d as h,l as g,m as _,p as v,y}from"./index-DBd5aPPm.js";import{t as b}from"./option-picker-DFddbaJt.js";var x=h(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),S=h(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),C=h(`building-2`,[[`path`,{d:`M10 12h4`,key:`a56b0p`}],[`path`,{d:`M10 8h4`,key:`1sr2af`}],[`path`,{d:`M14 21v-3a2 2 0 0 0-4 0v3`,key:`1rgiei`}],[`path`,{d:`M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2`,key:`secmi2`}],[`path`,{d:`M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16`,key:`16ra0t`}]]),w=h(`calendar-check`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}],[`path`,{d:`m9 16 2 2 4-4`,key:`19s6y9`}]]),T=h(`handshake`,[[`path`,{d:`m11 17 2 2a1 1 0 1 0 3-3`,key:`efffak`}],[`path`,{d:`m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4`,key:`9pr0kb`}],[`path`,{d:`m21 3 1 11h-2`,key:`1tisrp`}],[`path`,{d:`M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3`,key:`1uvwmv`}],[`path`,{d:`M3 4h8`,key:`1ep09j`}]]),E=h(`quote`,[[`path`,{d:`M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`rib7q0`}],[`path`,{d:`M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z`,key:`1ymkrd`}]]),D=h(`video`,[[`path`,{d:`m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5`,key:`ftymec`}],[`rect`,{x:`2`,y:`6`,width:`14`,height:`12`,rx:`2`,key:`158x01`}]]),O=e(n(),1),k=`/assets/agri-hero-z67vTwmk.jpg`,A=t();function j({code:e,className:t}){let n={className:t,viewBox:`0 0 48 48`,fill:`none`,stroke:`currentColor`,strokeWidth:1.6,strokeLinecap:`round`,strokeLinejoin:`round`,"aria-hidden":!0};return e===`AE`?(0,A.jsxs)(`svg`,{...n,children:[(0,A.jsx)(`path`,{d:`M12 42h26`}),(0,A.jsx)(`path`,{d:`M18 42V14c0-4 4-8 12-9 0 0-6 8-6 18v19`}),(0,A.jsx)(`path`,{d:`M24 22c6 1 10 5 12 10v10`}),(0,A.jsx)(`path`,{d:`M18 26h6M18 32h6`})]}):e===`SG`?(0,A.jsxs)(`svg`,{...n,children:[(0,A.jsx)(`path`,{d:`M6 20h36`}),(0,A.jsx)(`path`,{d:`M8 20c6-2 26-2 32 0`}),(0,A.jsx)(`path`,{d:`M13 20v22M24 20v22M35 20v22`}),(0,A.jsx)(`path`,{d:`M8 42h32`}),(0,A.jsx)(`path`,{d:`M13 26h22M13 33h22`})]}):e===`US`?(0,A.jsxs)(`svg`,{...n,children:[(0,A.jsx)(`path`,{d:`M24 12a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z`}),(0,A.jsx)(`path`,{d:`M20 9 17 4M24 6V2M28 9l3-5`}),(0,A.jsx)(`path`,{d:`M24 15v13`}),(0,A.jsx)(`path`,{d:`M18 22c1-4 4-6 6-7 2 1 5 3 6 7`}),(0,A.jsx)(`path`,{d:`M30 15 34 8`}),(0,A.jsx)(`path`,{d:`M16 42h16l-3-14h-10Z`}),(0,A.jsx)(`path`,{d:`M12 42h24`})]}):e===`ZA`?(0,A.jsxs)(`svg`,{...n,children:[(0,A.jsx)(`path`,{d:`M10 42h28`}),(0,A.jsx)(`path`,{d:`M24 42V24`}),(0,A.jsx)(`path`,{d:`M24 24 16 18M24 24l8-6`}),(0,A.jsx)(`path`,{d:`M8 18c3-5 9-7 16-7s13 2 16 7c-5 2-10 3-16 3s-11-1-16-3Z`})]}):(0,A.jsxs)(`svg`,{...n,children:[(0,A.jsx)(`circle`,{cx:`24`,cy:`24`,r:`14`}),(0,A.jsx)(`path`,{d:`M10 24h28M24 10c5 6 5 22 0 28M24 10c-5 6-5 22 0 28`})]})}function M({hero:e,editions:t,speakerCount:n,editionCount:r}){let{open:i}=l(),a=o(),s=y(e.videoUrl??``),c=Math.max(0,Math.floor(e.videoStart??0));return(0,A.jsxs)(`section`,{id:`top`,className:`ink-gradient relative overflow-hidden text-ink-foreground`,children:[(0,A.jsxs)(`div`,{className:`absolute inset-0`,children:[s?(0,A.jsx)(`iframe`,{title:`AgriNext conference highlights`,src:`https://www.youtube-nocookie.com/embed/${s}?autoplay=1&mute=1&controls=0&loop=1&playlist=${s}&start=${c}&playsinline=1&modestbranding=1&rel=0&showinfo=0&disablekb=1`,allow:`autoplay; encrypted-media`,className:`pointer-events-none absolute left-1/2 top-1/2 h-[56.25vw] min-h-full w-[177.78vh] min-w-full -translate-x-1/2 -translate-y-1/2 scale-[1.35] border-0 opacity-45 sm:scale-125`}):(0,A.jsx)(`img`,{src:k,alt:`Delegates in conversation at the AgriNext Awards & Conference`,className:`h-full w-full object-cover opacity-40`}),(0,A.jsx)(`div`,{className:`absolute inset-0 bg-[linear-gradient(180deg,oklch(0.13_0.02_152/0.85)_0%,oklch(0.13_0.02_152/0.55)_45%,oklch(0.13_0.02_152/0.95)_100%)]`})]}),(0,A.jsxs)(`div`,{className:`shell relative pb-24 pt-40 sm:pt-52`,children:[(0,A.jsxs)(`p`,{className:`eyebrow inline-flex items-center gap-2 rounded-full border border-primary/40 bg-primary/15 px-4 py-2 text-primary-foreground`,children:[(0,A.jsx)(`span`,{className:`size-1.5 animate-pulse rounded-full bg-primary`}),e.eyebrow]}),(0,A.jsx)(`h1`,{className:`display-xl mt-7 max-w-5xl text-balance`,children:e.headline}),(0,A.jsx)(`p`,{className:`mt-7 max-w-xl text-lg/relaxed text-ink-foreground
1/70`,children:`A global platform where growers, agri-tech innovators, investors and policy leaders meet — across Dubai, Las Vegas and, from 2027, Johannesburg.`}),(0,A.jsxs)(`div`,{className:`mt-10 flex flex-wrap items-center gap-3`,children:[(0,A.jsx)(`button`,{type:`button`,onClick:i,className:`glow inline-flex items-center gap-2 rounded-full bg-primary px-8 py-4 text-sm font-bold uppercase tracking-wide text-primary-foreground transition-all hover:-translate-y-0.5`,children:e.primaryLabel}),(0,A.jsxs)(`button`,{type:`button`,onClick:()=>a.open(),className:`inline-flex items-center gap-2 rounded-full border border-ink-foreground/25 px-8 py-4 text-sm font-bold uppercase tracking-wide text-ink-foreground/85 transition-colors hover:border-primary hover:text-primary`,children:[e.secondaryLabel,` →`]})]}),(0,A.jsx)(`div`,{className:`mt-16 grid max-w-2xl grid-cols-3 gap-4`,children:[{value:`${n}+`,label:`Speakers`},{value:`${r}`,label:`Global editions`},{value:e.attendees,label:`Attendees`}].map(e=>(0,A.jsxs)(`div`,{className:`border-l border-primary/50 pl-4`,children:[(0,A.jsx)(`p`,{className:`font-display text-3xl font-extrabold tracking-tight sm:text-5xl`,children:e.value}),(0,A.jsx)(`p`,{className:`mt-1 text-xs uppercase tracking-widest text-ink-foreground/60`,children:e.label})]},e.label))}),(0,A.jsx)(`div`,{className:`mt-16 grid gap-4 sm:grid-cols-3`,children:t.items.map(e=>(0,A.jsxs)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,className:`glass group flex flex-col gap-3 rounded-3xl border border-ink-foreground/15 p-6 transition-all hover:-translate-y-1 hover:border-primary/60`,style:{backgroundColor:`color-mix(in oklab, oklch(0.13 0.02 152) 55%, transparent)`},children:[(0,A.jsx)(j,{code:e.flag,className:`size-9 text-primary`}),(0,A.jsx)(`p`,{className:`font-display text-base font-bold leading-tight text-ink-foreground group-hover:text-primary`,children:e.name}),(0,A.jsx)(`p`,{className:`text-sm text-ink-foreground/70`,children:e.date}),e.venue?(0,A.jsx)(`p`,{className:`mt-auto line-clamp-2 text-xs text-ink-foreground/50`,children:e.venue}):null]},e.name))})]})]})}function N({events:e}){return e.length===0?null:(0,A.jsx)(`section`,{id:`editions`,className:`bg-surface py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Live from the portal`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:`Upcoming AgriNext editions`}),(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:`Every edition, date and venue below is pulled live from the Next Business Media events portal, so this page always mirrors the latest programme.`}),(0,A.jsx)(`div`,{className:`mt-12 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:e.map(e=>(0,A.jsxs)(`article`,{className:`card-elevated group flex flex-col overflow-hidden transition-transform hover:-translate-y-1`,children:[e.cover?(0,A.jsx)(`img`,{src:e.cover,alt:e.title,loading:`lazy`,className:`aspect-[16/9] w-full object-cover`}):null,(0,A.jsxs)(`div`,{className:`flex flex-1 flex-col gap-3 p-6`,children:[(0,A.jsx)(`span`,{className:`eyebrow text-primary`,children:e.category}),(0,A.jsx)(`h3`,{className:`font-display text-xl font-bold leading-tight`,children:e.title}),(0,A.jsx)(`p`,{className:`text-sm font-semibold`,children:e.date}),(0,A.jsx)(`p`,{className:`line-clamp-2 text-sm text-muted-foreground`,children:e.location}),(0,A.jsx)(`div`,{className:`mt-auto flex items-center justify-end gap-3 pt-4`,children:(0,A.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,className:`text-sm font-semibold text-primary hover:underline`,children:`View event ↗`})})]})]},e.slug))})]})})}function P(e,t,n){return e.length>0?e:t.filter(e=>!e.past).map(e=>({name:e.title.replace(`AgriNext Awards & Conference `,``),date:e.date,flag:e.country,href:`${e.url}${n}`}))}function F({speakers:e,events:t=[],content:n}){if(e.length===0)return null;let r=P(n.applyItems,t,``),i=P(n.seeAllItems,t,`/speakers`);return(0,A.jsx)(`section`,{id:`speakers`,className:`py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-6`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`The lineup`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-2xl`,children:`Speakers shaping the agenda`})]}
1),(0,A.jsx)(b,{label:n.applyLabel||`Apply to speak`,title:n.applyTitle,items:r,className:`rounded-full bg-ink px-6 py-3 text-sm font-semibold uppercase tracking-wide text-ink-foreground transition-transform hover:-translate-y-0.5`})]}),(0,A.jsx)(`div`,{className:`mt-12 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:e.slice(0,Math.max(1,n.homeCount||16)).map(e=>(0,A.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,className:`card-elevated group flex flex-col items-center p-8 text-center transition-transform hover:-translate-y-1`,children:[(0,A.jsx)(`div`,{className:`size-40 overflow-hidden rounded-full bg-muted ring-4 ring-accent/60 sm:size-44`,children:e.image?(0,A.jsx)(`img`,{src:e.image,alt:e.name,loading:`lazy`,className:`size-full object-cover`}):(0,A.jsx)(`span`,{className:`grid size-full place-items-center font-display text-4xl font-bold text-muted-foreground`,children:e.name.charAt(0)})}),(0,A.jsx)(`h3`,{className:`mt-6 font-display text-xl font-bold leading-snug group-hover:text-primary`,children:e.name}),(0,A.jsx)(`p`,{className:`mt-1 text-sm font-medium text-primary`,children:e.title}),(0,A.jsx)(`p`,{className:`text-sm text-muted-foreground`,children:e.company}),(0,A.jsxs)(`p`,{className:`mt-4 inline-flex items-center gap-2 text-[11px] font-semibold uppercase tracking-wide text-muted-foreground`,children:[(0,A.jsx)(j,{code:t.find(t=>t.slug===e.eventSlug)?.country??``,className:`size-5 text-primary`}),e.eventTitle.replace(`AgriNext Awards & Conference `,``)]})]},`${e.eventSlug}-${e.id}`))}),(0,A.jsx)(`div`,{className:`mt-12 flex justify-center`,children:(0,A.jsx)(b,{label:n.seeAllLabel||`See all speakers`,title:n.seeAllTitle,items:i,className:`inline-flex items-center gap-2 rounded-full bg-primary px-8 py-4 text-sm font-semibold uppercase tracking-wide text-primary-foreground shadow-[var(--shadow-card)] transition-transform hover:-translate-y-0.5`,children:(0,A.jsxs)(A.Fragment,{children:[n.seeAllLabel||`See all speakers`,(0,A.jsx)(`span`,{"aria-hidden":!0,className:`grid size-6 place-items-center rounded-full bg-primary-foreground/20`,children:`↗`})]})})})]})})}function I({events:e}){return e.length===0?null:(0,A.jsx)(`section`,{id:`past-editions`,className:`bg-surface py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Archive`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:`Past editions`}),(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:`Editions that have already taken place, pulled live from the Next Business Media events portal.`}),(0,A.jsx)(`div`,{className:`mt-12 grid gap-4 md:grid-cols-2 lg:grid-cols-3`,children:e.map(e=>(0,A.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noreferrer`,className:`group flex flex-col gap-2 rounded-2xl border border-border bg-card p-6 transition-colors hover:border-primary`,children:[(0,A.jsx)(`span`,{className:`eyebrow text-muted-foreground`,children:e.date}),(0,A.jsx)(`h3`,{className:`font-display text-lg font-bold leading-tight group-hover:text-primary`,children:e.title}),(0,A.jsx)(`p`,{className:`line-clamp-2 text-sm text-muted-foreground`,children:e.location}),(0,A.jsx)(`span`,{className:`mt-3 text-sm font-semibold text-primary`,children:`View recap ↗`})]},e.slug))})]})})}function L({name:e,logo:t,className:n=`max-h-12 w-auto object-contain opacity-85`,onFail:r}){let i=[t,...ee(e)].filter(Boolean),[a,o]=(0,O.useState)(0),s=i[a]??null;return s?(0,A.jsx)(`img`,{src:s,alt:e,loading:`lazy`,className:n,onError:()=>{o(e=>{let t=e+1;return t>=i.length&&r?.(),t})}}):null}var R=/\b(inc|llc|ltd|limited|group|holdings|technologies|technology|solutions|international|corp|corporation|company|co|plc|gmbh|pvt|private)\b/gi;function ee(e){let t=te(e);return t?[`https://www.google.com/s2/favicons?domain=${t}&sz=128`,`https://icons.duckduckgo.com/ip3/${t}.ico`]:[]}function te(e){let t=e.toLowerCase().replace(/&/g,` and `).replace(R,` `).replace(/[^a-z0-9]+/g,``);return t.length<3||t.length>30?null:`${t}.com`}function z({content:e,portalCompanies:t=[]}){let n=(e.source??`portal`)===`portal`,r=e.items,i=e=>r.find(t=>t.name.toLowerCase()===e.toLowerCase())?.logo??null,[a,o]=(0,O.useState)([]),s=(n?[...t.map(e=>({name:e.name,logo:e.logo??i(e.name)})),...r.filter(e=>!t.some(t=>t.name.toLowerCase()===e.name.toLowerCase()))]:r).filter(e=>!!e.logo&&!a.includes(e.name.toLowerCase()));if(s.length===0)return null;
1let c=[...s,...s];return(0,A.jsxs)(`section`,{id:`past-attendees`,className:`bg-surface py-24`,children:[(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Trusted by`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:e.subtitle}):null]}),(0,A.jsx)(`div`,{className:`marquee mt-12`,children:(0,A.jsx)(`div`,{className:`marquee-track`,style:{animationDuration:`${Math.max(s.length*4,30)}s`},children:c.map((e,t)=>(0,A.jsx)(`div`,{className:`grid h-24 min-w-52 shrink-0 place-items-center rounded-2xl border border-border bg-card px-7 text-center`,children:(0,A.jsx)(L,{name:e.name,logo:e.logo,onFail:()=>o(t=>t.includes(e.name.toLowerCase())?t:[...t,e.name.toLowerCase()])})},`${e.name}-${t}`))})})]})}function B({content:e}){if(!e?.items?.length)return null;let t=e.items.filter(e=>y(e.videoUrl??``)),n=e.items.filter(e=>!y(e.videoUrl??``));return(0,A.jsx)(`section`,{id:`testimonials`,className:`bg-surface py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Testimonials`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:e.subt
1itle}):null,t.length>0?(0,A.jsx)(`div`,{className:`mt-12 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:t.map((e,t)=>(0,A.jsxs)(`figure`,{className:`card-elevated overflow-hidden`,children:[(0,A.jsx)(`div`,{className:`aspect-video`,children:(0,A.jsx)(`iframe`,{src:`https://www.youtube.com/embed/${y(e.videoUrl??``)}`,title:`${e.name} — video testimonial`,loading:`lazy`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; picture-in-picture`,allowFullScreen:!0,className:`h-full w-full`})}),(0,A.jsxs)(`figcaption`,{className:`p-6`,children:[(0,A.jsx)(`span`,{className:`block text-sm font-semibold`,children:e.name}),(0,A.jsx)(`span`,{className:`block text-xs text-muted-foreground`,children:e.role}),e.quote?(0,A.jsxs)(`p`,{className:`mt-3 line-clamp-3 text-sm text-muted-foreground`,children:[`“`,e.quote,`”`]}):null]})]},`v-${t}`))}):null,(0,A.jsx)(`div`,{className:`mt-12 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:n.map((e,t)=>(0,A.jsxs)(`figure`,{className:`flex h-full flex-col rounded-3xl border border-border bg-card p-7`,children:[(0,A.jsx)(E,{className:`size-8 text-primary`,"aria-hidden":!0}),(0,A.jsxs)(`blockquote`,{className:`mt-5 flex-1 text-sm/relaxed text-foreground`,children:[`“`,e.quote,`”`]}),(0,A.jsxs)(`figcaption`,{className:`mt-6 flex items-center gap-3 border-t border-border pt-5`,children:[e.photo?(0,A.jsx)(`img`,{src:e.photo,alt:e.name,loading:`lazy`,className:`size-11 rounded-full object-cover`}):(0,A.jsx)(`span`,{className:`grid size-11 place-items-center rounded-full bg-primary/10 text-sm font-bold text-primary`,children:e.name.slice(0,1)}),(0,A.jsxs)(`span`,{children:[(0,A.jsx)(`span`,{className:`block text-sm font-semibold`,children:e.name}),(0,A.jsx)(`span`,{className:`block text-xs text-muted-foreground`,children:e.role})]})]})]},t))})]})})}function V(e){return Object.prototype.toString.call(e)===`[object Object]`}function H(e){return V(e)||Array.isArray(e)}function U(){return!!(typeof window<`u`&&window.document&&window.document.createElement)}function W(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||JSON.stringify(Object.keys(e.breakpoints||{}))!==JSON.stringify(Object.keys(t.breakpoints||{}))?!1:n.every(n=>{let r=e[n],i=t[n];return typeof r==`function`?`${r}`==`${i}`:!H(r)||!H(i)?r===i:W(r,i)})}function ne(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function re(e,t){if(e.length!==t.length)return!1;let n=ne(e),r=ne(t);return n.every((e,t)=>{let n=r[t];return W(e,n)})}function ie(e){return typeof e==`number`}function G(e){return typeof e==`string`}function K(e){return typeof e==`boolean`}function ae(e){return Object.prototype.toString.call(e)===`[object Object]`}function q(e){return Math.abs(e)}function J(e){return Math.sign(e)}function Y(e,t){return q(e-t)}function oe(e,t){return e===0||t===0||q(e)<=q(t)?0:q(Y(q(e),q(t))/e)}function se(e){return Math.round(e*100)/100}function X(e){return Q(e).map(Number)}function Z(e){return e[ce(e)]}function ce(e){return Math.max(0,e.length-1)}function le(e,t){return t===ce(e)}function ue(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function Q(e){return Object.keys(e)}function de(e,t){return[e,t].reduce((e,t)=>(Q(t).forEach(n=>{let r=e[n],i=t[n];e[n]=ae(r)&&ae(i)?de(r,i):i}),e),{})}function fe(e,t){return t.MouseEvent!==void 0&&e instanceof t.MouseEvent}function pe(e,t){let n={start:r,center:i,end:a};function r(){return 0}function i(e){return a(e)/2}function a(e){return t-e}function o(r,i){return G(e)?n[e](r):e(t,r,i)}return{measure:o}}function me(){let e=[];function t(t,n,i,a={passive:!0}){let o;if(`addEventListener`in t)t.addEventListener(n,i,a),o=()=>t.removeEventListener(n,i,a);else{let e=t;e.addListener(i),o=()=>e.removeListener(i)}return e.push(o),r}function n(){e=e.filter(e=>e())}let r={add:t,clear:n};return r}function he(e,t,n,r){let i=me(),a=1e3/60,o=null,s=0,c=0;function l(){i.add(e,`visibilitychange`,()=>{e.hidden&&m()})}function u(){p(),i.clear()}function d(e){if(!c)return;o||(o=e,n(),n());let i=e-o;for(o=e,s+=i;s>=a;)n(),s-=a;r(s/a),c&&=t.requestAnimationFrame(d)}function f(){c||=t.requestAnimationFrame(d)}function p(){t.cancelAnimationFrame(c),o=null,s=0,c=0}function m(){o=null,s=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function ge(e,t){let n=t===`rtl`,r=e===`y`,i=r?`y`:`x`,a=r?`x`:`y`,o=!r&&n?-1:1,s=u(),c=d();function l(e){let{height:t,width:n}=e;return r?t:n}function u(){return r?`top`:n?`right`:`left`}function d(){return r?`bottom`:n?`left`:`right`}function f(e){return e*o}return{scroll:i,cross:a,startEdge:s,endEdge:c,measureSize:l,direction:f}}function $(e=0,t=0){let n=q(e-t);function r(t){return t<e}function i(e){return e>t}function a(e){return r(e)||i(e)}function o(n){return a(n)?r(n)?e:t:n}
vendor: 2,143 bytes, line 1
1function s(e){return n?e-n*Math.ceil((e-t)/n):e}return{length:n,max:t,min:e,constrain:o,reachedAny:a,reachedMax:i,reachedMin:r,removeOffset:s}}function _e(e,t,n){let{constrain:r}=$(0,e),i=e+1,a=o(t);function o(e){return n?q((i+e)%i):r(e)}function s(){return a}function c(e){return a=o(e),d}function l(e){return u().set(s()+e)}function u(){return _e(e,s(),n)}let d={get:s,set:c,add:l,clone:u};return d}function ve(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_,v){let{cross:y,direction:b}=e,x=[`INPUT`,`SELECT`,`TEXTAREA`],S={passive:!1},C=me(),w=me(),T=$(50,225).constrain(p.measure(20)),E={mouse:300,touch:400},D={mouse:500,touch:600},O=m?43:25,k=!1,A=0,j=0,M=!1,N=!1,P=!1,F=!1;function I(e){if(!v)return;function n(t){(K(v)||v(e,t))&&B(t)}let r=t;C.add(r,`dragstart`,e=>e.preventDefault(),S).add(r,`touchmove`,()=>void 0,S).add(r,`touchend`,()=>void 0).add(r,`touchstart`,n).add(r,`mousedown`,n).add(r,`touchcancel`,H).add(r,`contextmenu`,H).add(r,`click`,U,!0)}function L(){C.clear(),w.clear()}function R(){let e=F?n:t;w.add(e,`touchmove`,V,S).add(e,`touchend`,H).add(e,`mousemove`,V,S).add(e,`mouseup`,H)}function ee(e){let t=e.nodeName||``;return x.includes(t)}function te(){return(m?D:E)[F?`mouse`:`touch`]}function z(e,t){let n=d.add(J(e)*-1),r=u.byDistance(e,!m).distance;return m||q(e)<T?r:g&&t?r*.5:u.byIndex(n.get(),0).distance}function B(e){let t=fe(e,r);F=t,P=m&&t&&!e.buttons&&k,k=Y(i.get(),o.get())>=2,!(t&&e.button!==0)&&(ee(e.target)||(M=!0,a.pointerDown(e),l.useFriction(0).useDuration(0),i.set(o),R(),A=a.readPoint(e),j=a.readPoint(e,y),f.emit(`pointerDown`)))}function V(e){if(!fe(e,r)&&e.touches.length>=2)return H(e);let t=a.readPoint(e),n=a.readPoint(e,y),o=Y(t,A),c=Y(n,j);if(!N&&!F&&(!e.cancelable||(N=o>c,!N)))return H(e);let u=a.pointerMove(e);o>h&&(P=!0),l.useFriction(.3).useDuration(.75),s.start(),i.add(b(u)),e.preventDefault()}function H(e){let t=u.byDistance(0,!1).index!==d.get(),n=a.pointerUp(e)*te(),r=z(b(n),t),i=oe(n,r),o=O-10*i,s=_+i/50;N=!1,M=!1,w.clear(),l.useDuration(o).useFriction(s),c.distance(r,!m),F=!1,f.emit(`pointerUp`)}function U(e){P&&=(e.stopPropagation(),e.preventDefault(),!1)}function W(){return M}
1return{init:I,destroy:L,pointerDown:W}}function ye(e,t){let n,r;function i(e){return e.timeStamp}function a(n,r){let i=`client${(r||e.scroll)===`x`?`X`:`Y`}`;return(fe(n,t)?n:n.touches[0])[i]}function o(e){return n=e,r=e,a(e)}function s(e){let t=a(e)-a(r),o=i(e)-i(n)>170;return r=e,o&&(n=e),t}function c(e){if(!n||!r)return 0;let t=a(r)-a(n),o=i(e)-i(n),s=i(e)-i(r)>170,c=t/o;return o&&!s&&q(c)>.1?c:0}return{pointerDown:o,pointerMove:s,pointerUp:c,readPoint:a}}function be(){function e(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}return{measure:e}}function xe(e){function t(t){return t/100*e}return{measure:t}}function Se(e,t,n,r,i,a,o){let s=[e].concat(r),c,l,u=[],d=!1;function f(e){return i.measureSize(o.measure(e))}function p(i){if(!a)return;l=f(e),u=r.map(f);function o(n){for(let a of n){if(d)return;let n=a.target===e,o=r.indexOf(a.target),s=n?l:u[o];if(q(f(n?e:r[o])-s)>=.5){i.reInit(),t.emit(`resize`);break}}}c=new ResizeObserver(e=>{(K(a)||a(i,e))&&o(e)}),n.requestAnimationFrame(()=>{s.forEach(e=>c.observe(e))})}function m(){d=!0,c&&c.disconnect()}return{init:p,destroy:m}}function Ce(e,t,n,r,i,a){let o=0,s=0,c=i,l=a,u=e.get(),d=0;function f(){let t=r.get()-e.get(),i=!c,a=0;return i?(o=0,n.set(r),e.set(r),a=t):(n.set(e),o+=t/c,o*=l,u+=o,e.add(o),a=u-d),s=J(a),d=u,x}function p(){return q(r.get()-t.get())<.001}function m(){return c}function h(){return s}function g(){return o}function _(){return y(i)}function v(){return b(a)}function y(e){return c=e,x}function b(e){return l=e,x}let x={direction:h,duration:m,velocity:g,seek:f,settled:p,useBaseFriction:v,useBaseDuration:_,useFriction:b,useDuration:y};return x}function we(e,t,n,r,i){let a=i.measure(10),o=i.measure(50),s=$(.1,.99),c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(i){if(!l())return;let c=q(e[e.reachedMin(t.get())?`min`:`max`]-t.get()),u=n.get()-t.get(),d=s.constrain(c/o);n.subtract(u*d),!i&&q(u)<a&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())}function d(e){c=!e}return{shouldConstrain:l,constrain:u,toggleActive:d}}function Te(e,t,n,r,i){let a=$(-t+e,0),o=d(),s=u(),c=f();function l(e,t){return Y(e,t)<=1}function u(){let e=o[0],t=Z(o);return $(o.lastIndexOf(e),o.indexOf(t)+1)}function d(){return n.map((e,t)=>{let{min:r,max:i}=a,o=a.constrain(e),s=!t,c=le(n,t);return s?i:c||l(r,o)?r:l(i,o)?i:o}).map(e=>parseFloat(e.toFixed(3)))}function f(){if(t<=e+i)return[a.max];if(r===`keepSnaps`)return o;let{min:n,max:c}=s;return o.slice(n,c)}return{snapsContained:c,scrollContainLimit:s}}function Ee(e,t,n){let r=t[0];return{limit:$(n?r-e:Z(t),r)}}function De(e,t,n,r){let i=.1,{reachedMin:a,reachedMax:o}=$(t.min+i,t.max+i);function s(e){return e===1?o(n.get()):e===-1&&a(n.get())}function c(t){if(!s(t))return;let n=t*-1*e;r.forEach(e=>e.add(n))}return{loop:c}}function Oe(e){let{max:t,length:n}=e;function r(e){let r=e-t;return n?r/-n:0}return{get:r}}function ke(e,t,n,r,i){let{startEdge:a,endEdge:o}=e,{groupSlides:s}=i,c=d().map(t.measure),l=f(),u=p();function d(){return s(r).map(e=>Z(e)[o]-e[0][a]).map(q)}function f(){return r.map(e=>n[a]-e[a]).map(e=>-q(e))}function p(){return s(l).map(e=>e[0]).map((e,t)=>e+c[t])}return{snaps:l,snapsAligned:u}}function Ae(e,t,n,r,i,a){let{groupSlides:o}=i,{min:s,max:c}=r,l=u();function u(){let r=o(a),i=!e||t===`keepSnaps`;return n.length===1?[a]:i?r:r.slice(s,c).map((e,t,n)=>{let r=!t,i=le(n,t);return r?ue(Z(n[0])+1):i?ue(ce(a)-Z(n)[0]+1,Z(n)[0]):e})}return{slideRegistry:l}}function je(e,t,n,r,i){let{reachedAny:a,removeOffset:o,constrain:s}=r;function c(e){return e.concat().sort((e,t)=>q(e)-q(t))[0]}function l(n){let r=e?o(n):s(n),{index:i}=t.map((e,t)=>({diff:u(e-r,0),index:t})).sort((e,t)=>q(e.diff)-q(t.diff))[0];return{index:i,distance:r}}function u(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return c(i);let a=i.filter(e=>J(e)===r);return a.length?c(a):Z(i)-n}function d(e,n){return{index:e,distance:u(t[e]-i.get(),n)}}function f(n,r){let o=i.get()+n,{index:s,distance:c}=l(o),d=!e&&a(o);return!r||d?{index:s,distance:n}:{index:s,distance:n+u(t[s]-c,0)}}return{byDistance:f,byIndex:d,shortcut:u}}function Me(e,t,n,r,i,a,o){function s(i){let s=i.distance,c=i.index!==t.get();
1a.add(s),s&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),o.emit(`select`))}function c(e,t){s(i.byDistance(e,t))}function l(e,n){let r=t.clone().set(e);s(i.byIndex(r.get(),n))}return{distance:c,index:l}}function Ne(e,t,n,r,i,a,o,s){let c={passive:!0,capture:!0},l=0;function u(u){if(!s)return;function f(t){if(new Date().getTime()-l>10)return;o.emit(`slideFocusStart`),e.scrollLeft=0;let a=n.findIndex(e=>e.includes(t));ie(a)&&(i.useDuration(0),r.index(a,0),o.emit(`slideFocus`))}a.add(document,`keydown`,d,!1),t.forEach((e,t)=>{a.add(e,`focus`,e=>{(K(s)||s(u,e))&&f(t)},c)})}function d(e){e.code===`Tab`&&(l=new Date().getTime())}return{init:u}}function Pe(e){let t=e;function n(){return t}function r(e){t=o(e)}function i(e){t+=o(e)}function a(e){t-=o(e)}function o(e){return ie(e)?e:e.get()}return{get:n,set:r,add:i,subtract:a}}function Fe(e,t){let n=e.scroll===`x`?o:s,r=t.style,i=null,a=!1;function o(e){return`translate3d(${e}px,0px,0px)`}function s(e){return`translate3d(0px,${e}px,0px)`}function c(t){if(a)return;let o=se(e.direction(t));o!==i&&(r.transform=n(o),i=o)}function l(e){a=!e}function u(){a||(r.transform=``,t.getAttribute(`style`)||t.removeAttribute(`style`))}return{clear:u,to:c,toggleActive:l}}function Ie(e,t,n,r,i,a,o,s,c){let l=.5,u=X(i),d=X(i).reverse(),f=_().concat(v());function p(e,t){return e.reduce((e,t)=>e-i[t],t)}function m(e,t){return e.reduce((e,n)=>p(e,t)>0?e.concat([n]):e,[])}function h(e){return a.map((n,i)=>({start:n-r[i]+l+e,end:n+t-l+e}))}function g(t,r,i){let a=h(r);return t.map(t=>{let r=i?0:-n,o=i?n:0,l=i?`end`:`start`,u=a[t][l];return{index:t,loopPoint:u,slideLocation:Pe(-1),translate:Fe(e,c[t]),target:()=>s.get()>u?r:o}})}function _(){let e=o[0];return g(m(d,e),n,!1)}function v(){let e=t-o[0]-1;return g(m(u,e),-n,!0)}function y(){return f.every(({index:e})=>p(u.filter(t=>t!==e),t)<=.1)}function b(){f.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})}function x(){f.forEach(e=>e.translate.clear())}return{canLoop:y,clear:x,loop:b,loopPoints:f}}function Le(e,t,n){let r,i=!1;function a(a){if(!n)return;function o(e){for(let n of e)if(n.type===`childList`){a.reInit(),t.emit(`slidesChanged`);break}}r=new MutationObserver(e=>{i||(K(n)||n(a,e))&&o(e)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),i=!0}return{init:a,destroy:o}}function Re(e,t,n,r){let i={},a=null,o=null,s,c=!1;function l(){s=new IntersectionObserver(e=>{c||(e.forEach(e=>{let n=t.indexOf(e.target);i[n]=e}),a=null,o=null,n.emit(`slidesInView`))},{root:e.parentElement,threshold:r}),t.forEach(e=>s.observe(e))}function u(){s&&s.disconnect(),c=!0}function d(e){return Q(i).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:a}=i[r];
vendor: 4,160 bytes, line 1
1return(e&&a||!e&&!a)&&t.push(r),t},[])}function f(e=!0){if(e&&a)return a;if(!e&&o)return o;let t=d(e);return e&&(a=t),e||(o=t),t}return{init:l,destroy:u,get:f}}function ze(e,t,n,r,i,a){let{measureSize:o,startEdge:s,endEdge:c}=e,l=n[0]&&i,u=m(),d=h(),f=n.map(o),p=g();function m(){if(!l)return 0;let e=n[0];return q(t[s]-e[s])}function h(){if(!l)return 0;let e=a.getComputedStyle(Z(r));return parseFloat(e.getPropertyValue(`margin-${c}`))}function g(){return n.map((e,t,n)=>{let r=!t,i=le(n,t);return r?f[t]+u:i?f[t]+d:n[t+1][s]-e[s]}).map(q)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function Be(e,t,n,r,i,a,o,s,c){let{startEdge:l,endEdge:u,direction:d}=e,f=ie(n);function p(e,t){return X(e).filter(e=>e%t===0).map(n=>e.slice(n,n+t))}function m(e){return e.length?X(e).reduce((n,f,p)=>{let m=Z(n)||0,h=m===0,g=f===ce(e),_=i[l]-a[m][l],v=i[l]-a[f][u],y=!r&&h?d(o):0,b=q(v-(!r&&g?d(s):0)-(_+y));return p&&b>t+c&&n.push(f),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}function h(e){return f?p(e,n):m(e)}return{groupSlides:h}}function Ve(e,t,n,r,i,a,o){let{align:s,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:_,containScroll:v,watchResize:y,watchSlides:b,watchDrag:x,watchFocus:S}=a,C=be(),w=C.measure(t),T=n.map(C.measure),E=ge(c,l),D=E.measureSize(w),O=xe(D),k=pe(s,D),A=!d&&!!v,{slideSizes:j,slideSizesWithGaps:M,startGap:N,endGap:P}=ze(E,w,T,n,d||!!v,i),F=Be(E,D,g,d,w,T,N,P,2),{snaps:I,snapsAligned:L}=ke(E,k,w,T,F),R=-Z(I)+Z(M),{snapsContained:ee,scrollContainLimit:te}=Te(D,R,L,v,2),z=A?ee:L,{limit:B}=Ee(R,z,d),V=_e(ce(z),u,d),H=V.clone(),U=X(n),W=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},ne=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:a,slideLooper:o,dragHandler:s,animation:c,eventHandler:l,scrollBounds:u,options:{loop:d}},f)=>{let p=e.settled(),m=!u.shouldConstrain(),h=d?p:p&&m,g=h&&!s.pointerDown();g&&c.stop();let _=n.get()*f+i.get()*(1-f);r.set(_),d&&(a.loop(e.direction()),o.loop()),t.to(r.get()),g&&l.emit(`settle`),h||l.emit(`scroll`)},re=he(r,i,()=>W($),e=>ne($,e)),ie=.68,G=z[V.get()],K=Pe(G),ae=Pe(G),q=Pe(G),J=Pe(G),Y=Ce(K,q,ae,J,f,ie),oe=je(d,z,R,B,J),se=Me(re,V,H,Y,oe,J,o),le=Oe(B),ue=me(),Q=Re(t,n,o,h),{slideRegistry:de}=Ae(A,v,z,te,F,U),fe=Ne(e,n,de,se,Y,ue,o,S),$={ownerDocument:r,ownerWindow:i,eventHandler:o,containerRect:w,slideRects:T,animation:re,axis:E,dragHandler:ve(E,e,r,i,J,ye(E,i),K,re,se,Y,oe,V,o,O,p,m,_,ie,x),eventStore:ue,percentOfView:O,index:V,indexPrevious:H,limit:B,location:K,offsetLocation:q,previousLocation:ae,options:a,resizeHandler:Se(t,o,i,n,E,y,C),scrollBody:Y,scrollBounds:we(B,q,J,Y,O),scrollLooper:De(R,B,q,[K,q,ae,J]),scrollProgress:le,scrollSnapList:z.map(le.get),scrollSnaps:z,scrollTarget:oe,scrollTo:se,slideLooper:Ie(E,D,R,j,M,I,z,q,n),slideFocus:fe,slidesHandler:Le(t,o,b),slidesInView:Q,slideIndexes:U,slideRegistry:de,slidesToScroll:F,target:J,translate:Fe(E,t)};return $}function He(){let e={},t;function n(e){t=e}function r(t){return e[t]||[]}function i(e){return r(e).forEach(n=>n(t,e)),c}function a(t,n){return e[t]=r(t).concat([n]),c}function o(t,n){return e[t]=r(t).filter(e=>e!==n),c}function s(){e={}}let c={init:n,emit:i,off:o,on:a,clear:s};return c}var Ue={align:`center`,axis:`x`,container:null,slides:null,containScroll:`trimSnaps`,direction:`ltr`,slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function We(e){function t(e,t){return de(e,t||{})}function n(n){let r=n.breakpoints||{};return t(n,Q(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{}))}function r(t){return t.map(e=>Q(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Ge(e){let t=[];function n(n,r){return t=r.filter(({options:t})=>e.optionsAtMedia(t).active!==!1),t.forEach(t=>t.init(n,e)),r.reduce((e,t)=>
1Object.assign(e,{[t.name]:t}),{})}function r(){t=t.filter(e=>e.destroy())}return{init:n,destroy:r}}function Ke(e,t,n){let r=e.ownerDocument,i=r.defaultView,a=We(i),o=Ge(a),s=me(),c=He(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=a,{on:f,off:p,emit:m}=c,h=D,g=!1,_,v=l(Ue,Ke.globalOptions),y=l(v),b=[],x,S,C;function w(){let{container:t,slides:n}=y;S=(G(t)?e.querySelector(t):t)||e.children[0];let r=G(n)?S.querySelectorAll(n):n;C=[].slice.call(r||S.children)}function T(t){let n=Ve(e,S,C,r,i,t,c);return t.loop&&!n.slideLooper.canLoop()?T(Object.assign({},t,{loop:!1})):n}function E(e,t){g||(v=l(v,e),y=u(v),b=t||b,w(),_=T(y),d([v,...b.map(({options:e})=>e)]).forEach(e=>s.add(e,`change`,D)),y.active&&(_.translate.to(_.location.get()),_.animation.init(),_.slidesInView.init(),_.slideFocus.init(W),_.eventHandler.init(W),_.resizeHandler.init(W),_.slidesHandler.init(W),_.options.loop&&_.slideLooper.loop(),S.offsetParent&&C.length&&_.dragHandler.init(W),x=o.init(W,b)))}function D(e,t){let n=L();O(),E(l({startIndex:n},e),t),c.emit(`reInit`)}function O(){_.dragHandler.destroy(),_.eventStore.clear(),_.translate.clear(),_.slideLooper.clear(),_.resizeHandler.destroy(),_.slidesHandler.destroy(),_.slidesInView.destroy(),_.animation.destroy(),o.destroy(),s.clear()}function k(){g||(g=!0,s.clear(),O(),c.emit(`destroy`),c.clear())}function A(e,t,n){!y.active||g||(_.scrollBody.useBaseFriction().useDuration(t===!0?0:y.duration),_.scrollTo.index(e,n||0))}function j(e){A(_.index.add(1).get(),e,-1)}function M(e){A(_.index.add(-1).get(),e,1)}function N(){return _.index.add(1).get()!==L()}function P(){return _.index.add(-1).get()!==L()}function F(){return _.scrollSnapList}function I(){return _.scrollProgress.get(_.offsetLocation.get())}function L(){return _.index.get()}function R(){return _.indexPrevious.get()}function ee(){return _.slidesInView.get()}function te(){return _.slidesInView.get(!1)}function z(){return x}function B(){return _}function V(){return e}function H(){return S}function U(){return C}let W={canScrollNext:N,canScrollPrev:P,containerNode:H,internalEngine:B,destroy:k,off:p,on:f,emit:m,plugins:z,previousScrollSnap:R,reInit:h,rootNode:V,scrollNext:j,scrollPrev:M,scrollProgress:I,scrollSnapList:F,scrollTo:A,selectedScrollSnap:L,slideNodes:U,slidesInView:ee,slidesNotInView:te};return E(t,n),setTimeout(()=>c.emit(`init`),0),W}Ke.globalOptions=void 0;function qe(e={},t=[]){let n=(0,O.useRef)(e),r=(0,O.useRef)(t),[i,a]=(0,O.useState)(),[o,s]=(0,O.useState)(),c=(0,O.useCallback)(()=>{i&&i.reInit(n.current,r.current)},[i]);return(0,O.useEffect)(()=>{W(n.current,e)||(n.current=e,c())},[e,c]),(0,O.useEffect)(()=>{re(r.current,t)||(r.current=t,c())},[t,c]),(0,O.useEffect)(()=>{if(U()&&o){Ke.globalOptions=qe.globalOptions;let e=Ke(o,n.current,r.current);return a(e),()=>e.destroy()}else a(void 0)},[o,a]),[s,i]}qe.globalOptions=void 0;var Je=e=>typeof e==`boolean`?`${e}`:e===0?`0`:e,Ye=a,Xe=((e,t)=>n=>{if(t?.variants==null)return Ye(e,n?.class,n?.className);let{variants:r,defaultVariants:i}=t,a=Object.keys(r).map(e=>{let t=n?.[e],a=i?.[e];if(t===null)return null;let o=Je(t)||Je(a);return r[e][o]}),o=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return r===void 0||(e[n]=r),e},{});return Ye(e,a,t?.compoundVariants?.reduce((e,t)=>{let{class:n,className:r,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...o}[t]):{...i,...o}[t]===n})?[...e,n,r]:e},[]),n?.class,n?.className)})(`inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium cursor-pointer transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 disabled:cursor-not-allowed [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0`,{variants:{variant:{default:`bg-primary text-primary-foreground shadow hover:bg-primary/90`,destructive:`bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90`,outline:`border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground`,secondary:`bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80`,ghost:`hover:bg-accent hover:text-accent-foreground`,link:`text-primary underline-offset-4 hover:underline`},size:{default:`h-9 px-4 py-2`,sm:`h-8 rounded-md px-3 text-xs`,lg:`h-10 rounded-md px-8`,icon:`h-9 w-9`}},defaultVariants:{variant:`default`,size:`default`}}),Ze=O.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...a},o)=>(0,A.jsx)(r?u:`button`,{className:i(Xe({variant:t,size:n,className:e})),ref:o,...a}
1));Ze.displayName=`Button`;var Qe=O.createContext(null);function $e(){let e=O.useContext(Qe);if(!e)throw Error(`useCarousel must be used within a <Carousel />`);return e}var et=O.forwardRef(({orientation:e=`horizontal`,opts:t,setApi:n,plugins:r,className:a,children:o,...s},c)=>{let[l,u]=qe({...t,axis:e===`horizontal`?`x`:`y`},r),[d,f]=O.useState(!1),[p,m]=O.useState(!1),h=O.useCallback(e=>{e&&(f(e.canScrollPrev()),m(e.canScrollNext()))},[]),g=O.useCallback(()=>{u?.scrollPrev()},[u]),_=O.useCallback(()=>{u?.scrollNext()},[u]),v=O.useCallback(e=>{e.key===`ArrowLeft`?(e.preventDefault(),g()):e.key===`ArrowRight`&&(e.preventDefault(),_())},[g,_]);return O.useEffect(()=>{!u||!n||n(u)},[u,n]),O.useEffect(()=>{if(u)return h(u),u.on(`reInit`,h),u.on(`select`,h),()=>{u?.off(`select`,h)}},[u,h]),(0,A.jsx)(Qe.Provider,{value:{carouselRef:l,api:u,opts:t,orientation:e||(t?.axis===`y`?`vertical`:`horizontal`),scrollPrev:g,scrollNext:_,canScrollPrev:d,canScrollNext:p},children:(0,A.jsx)(`div`,{ref:c,onKeyDownCapture:v,className:i(`relative`,a),role:`region`,"aria-roledescription":`carousel`,...s,children:o})})});et.displayName=`Carousel`;var tt=O.forwardRef(({className:e,...t},n)=>{let{carouselRef:r,orientation:a}=$e();return(0,A.jsx)(`div`,{ref:r,className:`overflow-hidden`,children:(0,A.jsx)(`div`,{ref:n,className:i(`flex`,a===`horizontal`?`-ml-4`:`-mt-4 flex-col`,e),...t})})});tt.displayName=`CarouselContent`;var nt=O.forwardRef(({className:e,...t},n)=>{let{orientation:r}=$e();return(0,A.jsx)(`div`,{ref:n,role:`group`,"aria-roledescription":`slide`,className:i(`min-w-0 shrink-0 grow-0 basis-full`,r===`horizontal`?`pl-4`:`pt-4`,e),...t})});nt.displayName=`CarouselItem`;var rt=O.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},a)=>{let{orientation:o,scrollPrev:s,canScrollPrev:c}=$e();return(0,A.jsxs)(Ze,{ref:a,variant:t,size:n,className:i(`absolute  h-8 w-8 rounded-full`,o===`horizontal`?`-left-12 top-1/2 -translate-y-1/2`:`-top-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!c,onClick:s,...r,children:[(0,A.jsx)(x,{className:`h-4 w-4`}),(0,A.jsx)(`span`,{className:`sr-only`,children:`Previous slide`})]})});rt.displayName=`CarouselPrevious`;var it=O.forwardRef(({className:e,variant:t=`outline`,size:n=`icon`,...r},a)=>{let{orientation:o,scrollNext:s,canScrollNext:c}=$e();return(0,A.jsxs)(Ze,{ref:a,variant:t,size:n,className:i(`absolute h-8 w-8 rounded-full`,o===`horizontal`?`-right-12 top-1/2 -translate-y-1/2`:`-bottom-12 left-1/2 -translate-x-1/2 rotate-90`,e),disabled:!c,onClick:s,...r,children:[(0,A.jsx)(S,{className:`h-4 w-4`}),(0,A.jsx)(`span`,{className:`sr-only`,children:`Next slide`})]})});it.displayName=`CarouselNext`;function at(e){return e.match(/(?:youtu\.be\/|youtube\.com\/(?:watch\?v=|embed\/|shorts\/|live\/))([\w-]{6,})/)?.[1]??(/^[\w-]{6,}$/.test(e.trim())?e.trim():null)}function ot({content:e}){let t=(e?.items??[]).map(e=>({...e,id:at(e.url)})).filter(e=>!!e.id);return t.length===0?null:(0,A.jsx)(`section`,{id:`videos`,className:`py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Watch`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:e.subt
1itle}):null,(0,A.jsxs)(et,{opts:{loop:t.length>1,align:`start`},className:`mt-12`,children:[(0,A.jsx)(tt,{children:t.map((e,t)=>(0,A.jsx)(nt,{className:`md:basis-1/2 lg:basis-1/3`,children:(0,A.jsxs)(`div`,{className:`overflow-hidden rounded-2xl border border-border bg-card`,children:[(0,A.jsx)(`div`,{className:`aspect-video`,children:(0,A.jsx)(`iframe`,{src:`https://www.youtube.com/embed/${e.id}`,title:e.title||`AgriNext video ${t+1}`,loading:`lazy`,allow:`accelerometer; autoplay; clipboard-write; encrypted-media; picture-in-picture`,allowFullScreen:!0,className:`h-full w-full`})}),e.title?(0,A.jsx)(`p`,{className:`px-5 py-4 text-sm font-semibold`,children:e.title}):null]})},t))}),t.length>1?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(rt,{className:`-left-4`}),(0,A.jsx)(it,{className:`-right-4`})]}):null]})]})})}function st({content:e,portalLeaders:t=[]}){let n=t.length>0?t.map(e=>({name:e.name,role:e.role,company:e.company,...e.photo?{photo:e.photo}:{},...e.href?{href:e.href}:{}})):(e?.items??[]).filter(e=>e.name?.trim());if(n.length===0)return null;let r=e.ctaCardTitle||`Want to collaborate with our committee?`,i=e.ctaCardText||`Partner with global experts and drive meaningful impact across the AgriNext editions.`,a=e.ctaCardLabel||`Become a thought leader`,o=e.ctaCardHref||`/register`;return(0,A.jsx)(`section`,{id:`thought-leaders`,className:`bg-background py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsxs)(`div`,{className:`flex flex-wrap items-start justify-between gap-6`,children:[(0,A.jsxs)(`div`,{className:`max-w-2xl`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:e.eyebrow}),(0,A.jsx)(`h2`,{className:`display-lg mt-3 text-balance`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 text-muted-foreground`,children:e.subt
1itle}):null]}),e.ctaLabel&&e.ctaHref?(0,A.jsx)(`a`,{href:e.ctaHref,className:`rounded-full border border-border px-7 py-3 text-xs font-bold uppercase tracking-widest text-foreground transition-colors hover:border-primary hover:text-primary`,children:e.ctaLabel}):null]}),(0,A.jsx)(ct,{items:n}),(0,A.jsx)(`div`,{className:`mt-6`,children:(0,A.jsxs)(`article`,{className:`ink-gradient flex flex-col justify-between gap-6 overflow-hidden rounded-[1.5rem] p-7 text-ink-foreground sm:flex-row sm:items-center`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`span`,{className:`grid size-12 place-items-center rounded-full border border-primary/60 text-primary`,children:(0,A.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,className:`size-6`,"aria-hidden":`true`,children:(0,A.jsx)(`path`,{d:`M8 12 4 8l4-4M16 12l4 4-4 4M3 16h8a4 4 0 0 0 4-4V8`,stroke:`currentColor`,strokeWidth:`1.6`,strokeLinecap:`round`,strokeLinejoin:`round`})})}),(0,A.jsx)(`h3`,{className:`mt-6 font-display text-xl font-bold leading-snug`,children:r}),(0,A.jsx)(`p`,{className:`mt-3 text-sm/relaxed text-ink-foreground/70`,children:i})]}),(0,A.jsx)(`a`,{href:o,className:`shrink-0 rounded-xl bg-primary px-6 py-3 text-center text-xs font-bold uppercase tracking-widest text-primary-foreground transition-transform hover:-translate-y-0.5`,children:a})]})})]})})}function ct({items:e}){let t=(0,O.useRef)(null),[n,r]=(0,O.useState)(!1),[i,a]=(0,O.useState)(!1),o=(0,O.useRef)(null);(0,O.useEffect)(()=>{let e=t.current;if(!e)return;let n=()=>a(e.scrollWidth/2>e.clientWidth+4);return n(),window.addEventListener(`resize`,n),()=>window.removeEventListener(`resize`,n)},[e.length]),(0,O.useEffect)(()=>{let e=t.current;if(!e||n||!i||window.matchMedia(`(prefers-reduced-motion: reduce)`).matches)return;let r=0,a=performance.now(),o=t=>{let n=t-a;a=t;let i=e.scrollWidth/2;e.scrollLeft+=n/1e3*40,e.scrollLeft>=i&&(e.scrollLeft-=i),r=requestAnimationFrame(o)};return r=requestAnimationFrame(o),()=>cancelAnimationFrame(r)},[n,i,e.length]);let s=e=>{let n=t.current;if(!n)return;r(!0),o.current&&clearTimeout(o.current),o.current=setTimeout(()=>r(!1),1200);let i=n.scrollWidth/2;e===-1&&n.scrollLeft<296&&i>0&&(n.scrollLeft+=i),n.scrollBy({left:e*296,behavior:`smooth`})};return(0,O.useEffect)(()=>()=>{o.current&&clearTimeout(o.current)},[]),(0,A.jsxs)(`div`,{className:`relative mt-12`,children:[(0,A.jsx)(`div`,{ref:t,className:`scrollbar-none flex gap-5 overflow-x-auto pb-4`,onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),onTouchStart:()=>r(!0),onTouchEnd:()=>r(!1),children:(i?[...e,...e]:e).map((e,t)=>(0,A.jsx)(`div`,{className:`w-[17rem] shrink-0`,children:(0,A.jsx)(ut,{leader:e})},`${e.name}-${t}`))}),i?(0,A.jsxs)(`div`,{className:`mt-2 flex justify-end gap-2`,children:[(0,A.jsx)(lt,{label:`Previous thought leaders`,onClick:()=>s(-1),flip:!0}),(0,A.jsx)(lt,{label:`Next thought leaders`,onClick:()=>s(1)})]}):null]})}function lt({label:e,onClick:t,flip:n=!1}){return(0,A.jsx)(`button`,{type:`button`,"aria-label":e,onClick:t,className:`grid size-10 place-items-center rounded-full border border-border text-foreground transition-colors hover:border-primary hover:text-primary`,children:(0,A.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,className:`size-4 ${n?`rotate-180`:``}`,"aria-hidden":`true`,children:(0,A.jsx)(`path`,{d:`m9 5 7 7-7 7`,stroke:`currentColor`,strokeWidth:`1.8`,strokeLinecap:`round`,strokeLinejoin:`round`})})})}function ut({leader:e}){let t=(0,A.jsxs)(A.Fragment,{children:[(0,A.jsxs)(`div`,{className:`brand-gradient relative aspect-[4/3.4] overflow-hidden`,children:[e.photo?(0,A.jsx)(`img`,{src:e.photo,alt:e.name,loading:`lazy`,className:`size-full object-cover object-top transition-transform duration-500 group-hover:scale-[1.04]`}):(0,A.jsx)(`span`,{className:`grid size-full place-items-center font-display text-6xl font-extrabold text-primary-foreground`,children:e.name.slice(0,1)}),e.flag?(0,A.jsx)(`span`,{className:`absolute right-3 top-3 rounded-md bg-card/90 px-2 py-1 text-xs font-semibold uppercase tracking-widest text-foreground`,children:e.flag}):null,e.logo?(0,A.jsx)(`img`,{src:e.logo,alt:``,loading:`lazy`,className:`absolute bottom-3 right-3 size-11 rounded-full bg-card object-contain p-1.5`}):null]}),(0,A.jsxs)(`div`,{className:`flex-1 bg-muted/60 p-5`,children:[(0,A.jsx)(`p`,{className:`font-display text-base font-bold leading-tight text-primary`,children:e.name}),e.role?(0,A.jsx)(`p`,{className:`mt-1.5 text-sm text-muted-foreground`,children:e.role}):null,e.company?(0,A.jsx)(`p`,{className:`mt-1 text-sm text-foreground
1/80`,children:e.company}):null]})]}),n=`group flex flex-col overflow-hidden rounded-[1.5rem] transition-transform hover:-translate-y-1`;return e.href?(0,A.jsx)(`a`,{href:e.href,target:`_blank`,rel:`noreferrer`,className:n,children:t}):(0,A.jsx)(`article`,{className:n,children:t})}function dt({content:e,portalIssues:t=[]}){let n=(e?.items??[]).filter(e=>e.title||e.cover),r=n.length>0?n:t;return r.length===0?null:(0,A.jsx)(`section`,{id:`magazines`,className:`py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-6`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:e.eyebrow}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-2xl text-balance`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:e.subtitle}):null]}),e.ctaLabel&&e.ctaHref?(0,A.jsx)(`a`,{href:e.ctaHref,className:`rounded-full border border-border px-6 py-3 text-xs font-bold uppercase tracking-wide transition-colors hover:border-primary hover:text-primary`,children:e.ctaLabel}):null]}),(0,A.jsxs)(et,{opts:{loop:r.length>3,align:`start`},className:`mt-12`,children:[(0,A.jsx)(tt,{children:r.map((e,t)=>(0,A.jsx)(nt,{className:`basis-2/3 sm:basis-1/3 lg:basis-1/4`,children:(0,A.jsxs)(`a`,{href:e.url||`#`,target:e.url?`_blank`:void 0,rel:`noreferrer`,className:`group block`,children:[(0,A.jsx)(`div`,{className:`card-elevated overflow-hidden rounded-2xl transition-transform group-hover:-translate-y-1`,children:(0,A.jsx)(`div`,{className:`aspect-[3/4] bg-surface`,children:e.cover?(0,A.jsx)(`img`,{src:e.cover,alt:e.title,loading:`lazy`,className:`h-full w-full object-cover`}):(0,A.jsx)(`div`,{className:`grid h-full place-items-center p-6 text-center font-display text-lg font-bold text-muted-foreground`,children:e.title})})}),(0,A.jsx)(`p`,{className:`mt-4 font-display text-base font-bold leading-tight group-hover:text-primary`,children:e.title}),e.issue?(0,A.jsx)(`p`,{className:`mt-1 text-xs uppercase tracking-widest text-muted-foreground`,children:e.issue}):null]})},t))}),r.length>1?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(rt,{className:`-left-4`}),(0,A.jsx)(it,{className:`-right-4`})]}):null]})]})})}function ft({content:e,posts:t}){let n=t.slice(0,e.count??12);return n.length===0?null:(0,A.jsx)(`section`,{id:`articles`,className:`py-24`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-6`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Insights`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-2xl`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-muted-foreground`,children:e.subt
1itle}):null]}),(0,A.jsx)(p,{to:`/blog`,className:`rounded-full bg-ink px-6 py-3 text-sm font-semibold uppercase tracking-wide text-ink-foreground transition-transform hover:-translate-y-0.5`,children:e.ctaLabel||`Read the blog`})]}),(0,A.jsxs)(et,{opts:{loop:n.length>3,align:`start`},className:`mt-12`,children:[(0,A.jsx)(tt,{children:n.map(e=>(0,A.jsx)(nt,{className:`md:basis-1/2 lg:basis-1/3`,children:(0,A.jsxs)(p,{to:`/$slug`,params:{slug:e.slug},className:`card-elevated group flex h-full flex-col overflow-hidden transition-transform hover:-translate-y-1`,children:[e.featured_image?(0,A.jsx)(`img`,{src:e.featured_image,alt:e.title,loading:`lazy`,className:`aspect-[16/9] w-full object-cover`}):null,(0,A.jsxs)(`div`,{className:`flex flex-1 flex-col p-6`,children:[(0,A.jsx)(`span`,{className:`eyebrow text-muted-foreground`,children:new Date(e.published_at).toLocaleDateString(`en-GB`,{day:`numeric`,month:`short`,year:`numeric`,timeZone:`UTC`})}),(0,A.jsx)(`h3`,{className:`mt-2 line-clamp-2 font-display text-lg font-bold leading-tight group-hover:text-primary`,children:e.title}),e.excerpt?(0,A.jsx)(`p`,{className:`mt-2 line-clamp-3 text-sm text-muted-foreground`,children:e.excerpt}):null,(0,A.jsx)(`span`,{className:`mt-auto pt-4 text-sm font-semibold text-primary`,children:`Read article →`})]})]})},e.slug))}),n.length>1?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(rt,{className:`-left-4`}),(0,A.jsx)(it,{className:`-right-4`})]}):null]})]})})}var pt=[`News`,`In the News`,`Press`,`Press Release`,`Media Coverage`];function mt(e,t,n,r){if(e.items.length>0)return e.items;let i=r.slice(0,12).map(e=>({title:e.title,source:e.source,url:e.url,date:e.date,image:e.image??void 0}));return i.length>0?i:n.filter(e=>pt.includes(e.category??``)).slice(0,12).map(e=>({title:e.title,source:`AgriNext newsroom`,url:`/${e.slug}`,date:new Date(e.published_at).toLocaleDateString(`en-GB`,{day:`numeric`,month:`short`,year:`numeric`,timeZone:`UTC`}),image:e.featured_image??void 0}))}function ht({content:e,events:t,posts:n,news:r=[]}){let i=mt(e,t,n,r);return i.length===0?null:(0,A.jsx)(gt,{content:e,items:i})}function gt({content:e,items:t}){let n=(0,O.useRef)(null),r=e=>{let t=n.current;t&&t.scrollBy({left:e*Math.max(t.clientWidth*.8,280),behavior:`smooth`})};return(0,A.jsx)(`section`,{id:`news`,className:`ink-gradient py-24 text-ink-foreground`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsxs)(`div`,{className:`flex flex-wrap items-end justify-between gap-6`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Newsroom`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:e.title}),e.subtitle?(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-ink-foreground/70`,children:e.subt
1itle}):null]}),(0,A.jsx)(`div`,{className:`flex gap-3`,children:[-1,1].map(e=>(0,A.jsx)(`button`,{type:`button`,"aria-label":e===-1?`Scroll news left`:`Scroll news right`,onClick:()=>r(e),className:`grid size-11 place-items-center rounded-full bg-white/10 text-ink-foreground ring-1 ring-white/15 transition hover:bg-primary hover:text-primary-foreground`,children:e===-1?`‹`:`›`},e))})]}),(0,A.jsx)(`div`,{ref:n,className:`no-scrollbar mt-12 flex snap-x snap-mandatory gap-5 overflow-x-auto pb-2`,children:t.map((e,t)=>(0,A.jsxs)(`a`,{href:e.url,target:e.url.startsWith(`http`)?`_blank`:void 0,rel:`noreferrer`,className:`group flex w-[19rem] shrink-0 snap-start flex-col overflow-hidden rounded-3xl bg-white/5 ring-1 ring-white/10 backdrop-blur transition-transform hover:-translate-y-1 hover:ring-primary/50 sm:w-[22rem]`,children:[e.image?(0,A.jsx)(`div`,{className:`grid h-44 w-full shrink-0 place-items-center bg-white/90 p-6`,children:(0,A.jsx)(`img`,{src:e.image,alt:e.title,loading:`lazy`,className:`max-h-full max-w-full object-contain`})}):null,(0,A.jsxs)(`div`,{className:`flex flex-1 flex-col p-6`,children:[(0,A.jsx)(`span`,{className:`eyebrow text-primary`,children:e.source}),(0,A.jsx)(`h3`,{className:`mt-3 font-display text-lg font-bold leading-snug group-hover:text-primary`,children:e.title}),e.date?(0,A.jsx)(`span`,{className:`mt-auto pt-5 text-sm text-ink-foreground/60`,children:e.date}):null]})]},`${e.url}-${t}`))})]})})}function _t({content:e}){return(0,A.jsx)(`section`,{id:`matchmaking`,className:`ink-gradient py-28 text-ink-foreground`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:e.eyebrow}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-4xl`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-6 max-w-3xl text-lg/relaxed text-ink-foreground/70`,children:e.subt
1itle}),(0,A.jsx)(`div`,{className:`mt-14 grid gap-6 lg:grid-cols-2`,children:[{icon:C,title:e.physicalTitle,body:e.physicalBody,tag:`Physical`},{icon:D,title:e.virtualTitle,body:e.virtualBody,tag:`Virtual`}].map(e=>(0,A.jsxs)(`div`,{className:`rounded-[2rem] bg-white/5 p-8 ring-1 ring-white/10 backdrop-blur transition-transform hover:-translate-y-1 hover:ring-primary/50`,children:[(0,A.jsxs)(`div`,{className:`flex items-center gap-3`,children:[(0,A.jsx)(`span`,{className:`grid size-11 place-items-center rounded-2xl bg-primary/15 text-primary`,children:(0,A.jsx)(e.icon,{className:`size-5`,"aria-hidden":!0})}),(0,A.jsx)(`span`,{className:`eyebrow text-primary`,children:e.tag})]}),(0,A.jsx)(`h3`,{className:`mt-6 font-display text-2xl font-bold`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-4 text-ink-foreground/70`,children:e.body})]},e.tag))}),(0,A.jsx)(`div`,{className:`mt-14 grid gap-8 md:grid-cols-2 lg:grid-cols-4`,children:e.steps.map((e,t)=>(0,A.jsxs)(`div`,{className:`border-t border-white/15 pt-6`,children:[(0,A.jsx)(`span`,{className:`font-display text-4xl font-black text-primary/70`,children:String(t+1).padStart(2,`0`)}),(0,A.jsx)(`h3`,{className:`mt-4 font-display text-lg font-bold`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-2 text-sm/relaxed text-ink-foreground/65`,children:e.body})]},e.title))}),(0,A.jsx)(`div`,{className:`mt-14 flex flex-wrap items-center gap-x-14 gap-y-8`,children:e.stats.map(e=>(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`font-display text-4xl font-black text-primary`,children:e.value}),(0,A.jsx)(`p`,{className:`mt-1 text-sm uppercase tracking-wide text-ink-foreground/60`,children:e.label})]},e.label))}),(0,A.jsxs)(`div`,{className:`mt-12 flex flex-wrap gap-4`,children:[(0,A.jsxs)(`a`,{href:e.investorHref,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-2 rounded-full bg-primary px-8 py-4 text-sm font-semibold uppercase tracking-wide text-primary-foreground shadow-[var(--shadow-glow)] transition-transform hover:-translate-y-0.5`,children:[(0,A.jsx)(T,{className:`size-4`,"aria-hidden":!0}),e.investorLabel]}),(0,A.jsxs)(`a`,{href:e.startupHref,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-2 rounded-full bg-white/10 px-8 py-4 text-sm font-semibold uppercase tracking-wide text-ink-foreground ring-1 ring-white/20 backdrop-blur transition-transform hover:-translate-y-0.5`,children:[(0,A.jsx)(w,{className:`size-4`,"aria-hidden":!0}),e.startupLabel]})]})]})})}var vt=`/assets/app-mockup-Ds2LppAq.png`;function yt({content:e}){let t=e.ctaHref||`https://portal.nextbusinessmedia.com`,n=e.ctaLabel||`Open the web app`;return(0,A.jsx)(`section`,{id:`web-app`,className:`py-24`,children:(0,A.jsx)(`div`,{className:`shell`,children:(0,A.jsxs)(`div`,{className:`brand-gradient grid items-center gap-10 overflow-hidden rounded-3xl px-8 py-14 text-primary-foreground lg:grid-cols-[1.1fr_0.9fr] lg:px-14`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`h2`,{className:`display-lg max-w-xl`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-5 max-w-xl text-primary-foreground/85`,children:e.body}),(0,A.jsxs)(`a`,{href:t,target:`_blank`,rel:`noreferrer`,className:`mt-8 inl
1ine-flex items-center gap-2 rounded-full bg-ink px-8 py-3.5 text-sm font-semibold uppercase tracking-wide text-ink-foreground transition-transform hover:-translate-y-0.5`,children:[n,(0,A.jsx)(`span`,{"aria-hidden":!0,children:`↗`})]}),e.note?(0,A.jsx)(`p`,{className:`mt-3 text-sm text-primary-foreground/85`,children:e.note}):null,(0,A.jsx)(`p`,{className:`mt-6 text-xs font-semibold uppercase tracking-wide text-primary-foreground/70`,children:`Works right in your browser — no download required.`})]}),(0,A.jsx)(`img`,{src:vt,alt:`Next Business Media web app shown on two phones`,loading:`lazy`,className:`mx-auto w-full max-w-md drop-shadow-2xl`})]})})})}function bt({photo:e}){return(0,A.jsx)(`section`,{id:`about`,className:`bg-background py-28`,children:(0,A.jsxs)(`div`,{className:`shell grid gap-12 lg:grid-cols-[0.9fr_1.1fr]`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`What is AgriNext?`}),(0,A.jsxs)(`h2`,{className:`display-lg mt-4`,children:[`Where agriculture meets `,(0,A.jsx)(`span`,{className:`text-gradient`,children:`technology`})]})]}),(0,A.jsxs)(`div`,{className:`space-y-6 text-lg/relaxed text-muted-foreground`,children:[(0,A.jsx)(`p`,{children:`AgriNext Awards & Conference is a premier global platform at the intersection of agriculture and technology, bringing together growers, agribusiness leaders, agri-tech innovators, investors and policymakers to explore the advances reshaping how the world grows, moves and protects its food.`}),(0,A.jsx)(`p`,{children:`Each edition features keynote sessions, panel discussions, an exhibition floor, curated networking and the AgriNext Awards — recognising the individuals and organisations cultivating a more productive, sustainable agricultural future.`}),(0,A.jsx)(`a`,{href:`${_}/events?sort=date-asc&category=Agriculture+Industry`,target:`_blank`,rel:`noreferrer`,className:`inline-flex items-center gap-2 rounded-full bg-ink px-7 py-3.5 text-sm font-semibold uppercase tracking-wide text-ink-foreground transition-transform hover:-translate-y-0.5`,children:`Explore editions →`}),e?(0,A.jsx)(`img`,{src:e,alt:`AgriNext conference stage`,loading:`lazy`,className:`mt-8 aspect-[16/9] w-full rounded-2xl object-cover`}):null]})]})})}var xt=[{title:`Decision makers`,body:`Boards, CXOs and government leaders shaping agricultural policy, investment and food-security strategy.`},{title:`Growers & producers`,body:`Farmers, ranchers and estate operators adopting precision tools, better inputs and smarter irrigation on real acreage.`},{title:`Innovators & startups`,body:`AgriTech founders showcasing bold i
1deas, meeting visionary investors and turning products into global impact.`},{title:`Agronomists & scientists`,body:`Researchers and practitioners applying data, genetics and automation across the value chain.`}];function St({photo:e}){return(0,A.jsx)(`section`,{className:`ink-gradient relative overflow-hidden py-28 text-ink-foreground`,children:(0,A.jsxs)(`div`,{className:`shell relative`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Who will you meet?`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:`The room is the reason you come`}),(0,A.jsx)(`p`,{className:`mt-4 max-w-2xl text-ink-foreground/70`,children:`A curated mix of global leaders and innovators driving change across the agriculture value chain — gathered for powerful ideas, meaningful conversations and strategic collaboration.`}),e?(0,A.jsx)(`img`,{src:e,alt:`AgriNext audience`,loading:`lazy`,className:`mt-10 aspect-[21/9] w-full rounded-2xl object-cover`}):null,(0,A.jsx)(`div`,{className:`mt-14 grid gap-8 md:grid-cols-2 lg:grid-cols-4`,children:xt.map((e,t)=>(0,A.jsxs)(`div`,{className:`border-t-2 border-primary/60 pt-6`,children:[(0,A.jsxs)(`span`,{className:`font-display text-4xl font-extrabold text-primary/70`,children:[`0`,t+1]}),(0,A.jsx)(`h3`,{className:`mt-3 font-display text-xl font-bold uppercase tracking-tight`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-3 text-sm/relaxed text-ink-foreground/70`,children:e.body})]},e.title))})]})})}var Ct=[{title:`Awards & recognition`,body:`Celebrating excellence across the agriculture ecosystem.`},{title:`Learning sessions`,body:`Keynotes and panels from global industry leaders.`},{title:`Exhibition floor`,body:`Machinery, inputs and agri-tech shown live.`},{title:`Networking`,body:`Curated introductions with growers, buyers and investors.`}];function wt({photo:e}){return(0,A.jsx)(`section`,{className:`bg-surface py-28`,children:(0,A.jsxs)(`div`,{className:`shell grid gap-12 lg:grid-cols-[0.8fr_1.2fr]`,children:[(0,A.jsxs)(`div`,{children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`What's in store`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4`,children:`Days that move your season forward`}),(0,A.jsx)(`a`,{href:`${_}/events?sort=date-asc&category=Agriculture+Industry`,target:`_blank`,rel:`noreferrer`,className:`mt-8 inl
1ine-flex rounded-full bg-primary px-7 py-3.5 text-sm font-semibold uppercase tracking-wide text-primary-foreground transition-transform hover:-translate-y-0.5`,children:`Reserve now →`}),e?(0,A.jsx)(`img`,{src:e,alt:`AgriNext sessions`,loading:`lazy`,className:`mt-8 aspect-[4/3] w-full rounded-2xl object-cover`}):null]}),(0,A.jsx)(`div`,{className:`grid gap-5 sm:grid-cols-2`,children:Ct.map(e=>(0,A.jsxs)(`div`,{className:`card-elevated group p-7 transition-all hover:-translate-y-1 hover:shadow-[var(--shadow-glow)]`,children:[(0,A.jsx)(`h3`,{className:`font-display text-lg font-bold group-hover:text-primary`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.body})]},e.title))})]})})}var Tt=[{title:`Precision & Smart Farming`,body:`Sensors, satellites, drones and farm data platforms turning guesswork into agronomic decisions.`},{title:`Vertical & Controlled Environment Agriculture`,body:`Indoor farms, hydroponics and protected cropping delivering yield in water-scarce regions.`},{title:`Water & Irrigation Innovation`,body:`Efficient irrigation, desalination and soil moisture intelligence for arid geographies.`},{title:`Automation, Robotics & Machinery`,body:`Autonomous equipment and robotics closing the widening agricultural labour gap.`},{title:`Supply Chain & Traceability`,body:`Cold chain, logistics and farm-to-fork traceability that protect margin and food safety.`},{title:`Sustainability & Food Security`,body:`Regenerative practice, carbon, soil health and resilient production for growing populations.`}];function Et({photo:e}){return(0,A.jsx)(`section`,{id:`themes`,className:`ink-gradient py-28 text-ink-foreground`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Core focus areas`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:`The conversations on the agenda`}),e?(0,A.jsx)(`img`,{src:e,alt:`AgriNext conference session`,loading:`lazy`,className:`mt-8 aspect-[21/9] w-full rounded-2xl object-cover`}):null,(0,A.jsx)(`div`,{className:`mt-12 grid gap-4 md:grid-cols-2 lg:grid-cols-3`,children:Tt.map(e=>(0,A.jsxs)(`div`,{className:`rounded-3xl border border-ink-foreground/15 bg-ink-foreground/5 p-8 transition-all hover:-translate-y-1 hover:border-primary/60 hover:bg-ink-foreground/10`,children:[(0,A.jsx)(`h3`,{className:`font-display text-lg font-semibold leading-snug`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-3 text-sm/relaxed text-ink-foreground/70`,children:e.body})]},e.title))})]})})}var Dt=[{title:`Become a Speaker`,body:`Share your field results on a panel or keynote session.`,href:`/get-involved/speaker`},{title:`Nominate for Awards`,body:`Put a company, farm or leader forward for the AgriNext Awards.`,href:`/get-involved/awards`},{title:`Book a Booth`,body:`Reserve exhibition space and showcase your solution.`,href:`/get-involved/booth`},{title:`Become a Sponsor`,body:`Explore partnership and sponsorship opportunities.`,href:`/get-involved/sponsor`},{title:`Media Partnership`,body:`Partner with us to cover the conference globally.`,href:`/get-involved/media`},{title:`Startup Pitch`,body:`Pitch your agri-tech venture to investors on stage.`,href:`/get-involved`}];function Ot({photo:e}){let{open:t}=o();return(0,A.jsx)(`section`,{id:`get-involved`,className:`soft-gradient bg-background py-28`,children:(0,A.jsxs)(`div`,{className:`shell`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`Be part of it`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4 max-w-3xl`,children:`Speak, exhibit, sponsor or be recognised`}),e?(0,A.jsx)(`img`,{src:e,alt:`AgriNext attendees networking`,loading:`lazy`,className:`mt-8 aspect-[21/9] w-full rounded-2xl object-cover`}):null,(0,A.jsx)(`div`,{className:`mt-12 grid gap-5 md:grid-cols-2 lg:grid-cols-3`,children:Dt.map(e=>(0,A.jsxs)(`button`,{type:`button`,onClick:()=>t(e.title),className:`card-quiet group flex flex-col p-7 text-left transition-all hover:-translate-y-1 hover:bg-accent/70 hover:shadow-[var(--shadow-glow)]`,children:[(0,A.jsx)(`h3`,{className:`font-display text-lg font-semibold group-hover:text-primary`,children:e.title}),(0,A.jsx)(`p`,{className:`mt-2 text-sm text-muted-foreground`,children:e.body}),(0,A.jsx)(`span`,{className:`mt-5 text-sm font-semibold text-primary`,children:`Apply →`})]},e.title))})]})})}var kt=[{q:`What is AgriNext Awards & Conference about?`,a:`It is a global agriculture and agri-tech conference and awards programme covering precision farming, controlled environment agriculture, irrigation, robotics, supply chain and sustainability — combining keynotes, panels, an exhibition and recognition for outstanding work in the field.`},{q:`When and where do the editions take place?`,a:`AgriNext Dubai returns on 21 October 2026, followed by Las Vegas on 9 April 2027 and the first AgriNext Africa Exhibition in Johannesburg, South Africa in Q3 2027. Exact venues and pass prices are listed live on the events portal.`},{q:`Who should attend?`,a:`Growers, agribusiness decision makers, agri-tech founders, investors, researchers and government officials who want to learn from peers, meet partners and see working technology in action.`}
1,{q:`How do I apply as a speaker or award nominee?`,a:`Use the Get Involved section — speaking, award nomination, sponsorship, booth and media partner applications are all handled through the portal.`},{q:`How do I buy a pass?`,a:`Open the edition you want to attend on the portal and choose Reserve a spot. Pass tiers and pricing are shown on each event page.`}];function At(){return(0,A.jsx)(`section`,{id:`faq`,className:`bg-surface py-24`,children:(0,A.jsxs)(`div`,{className:`shell max-w-4xl`,children:[(0,A.jsx)(`p`,{className:`eyebrow text-primary`,children:`FAQs`}),(0,A.jsx)(`h2`,{className:`display-lg mt-4`,children:`Frequently asked questions`}),(0,A.jsx)(`div`,{className:`mt-10 divide-y divide-border overflow-hidden rounded-3xl bg-card`,children:kt.map(e=>(0,A.jsxs)(`details`,{className:`group p-6`,children:[(0,A.jsxs)(`summary`,{className:`flex cursor-pointer items-center justify-between gap-6 font-display text-base font-semibold marker:content-none`,children:[e.q,(0,A.jsx)(`span`,{className:`text-primary transition-transform group-open:rotate-45`,children:`+`})]}),(0,A.jsx)(`p`,{className:`mt-3 text-sm/relaxed text-muted-foreground`,children:e.a})]},e.q))})]})})}function jt(){let{data:e}=s(m),{data:t}=s(g),{content:n}=e,i=new Set(n.events.hidden),a=e.events.filter(e=>!i.has(e.slug)),o=a.filter(e=>!e.past),l=a.filter(e=>e.past),u=new Map;for(let t of e.companies??[]){let e=t.name.trim().toLowerCase();e.length>1&&!u.has(e)&&u.set(e,{name:t.name.trim(),logo:t.logo??null})}for(let t of e.speakers){let e=t.company.trim(),n=e.toLowerCase();e.length>1&&!u.has(n)&&u.set(n,{name:e,logo:null})}let p=[...u.values()].sort((e,t)=>e.name.localeCompare(t.name)),h=n.editions.items.length>0?n.editions:{...n.editions,items:o.map(e=>({flag:e.country,name:e.title.replace(/AgriNext\s+(Awards\s*&\s*Conference|Africa Exhibition)?/i,``).replace(/\s+,/g,`,`).replace(/^[\s\-–—]+/,``).replace(/\s{2,}/g,` `).trim(),date:e.date,href:e.url,venue:e.location}))},_={about:(0,A.jsx)(bt,{photo:n.photos.about}),events:(0,A.jsx)(N,{events:o}),audience:(0,A.jsx)(St,{photo:n.photos.audience}),speakers:(0,A.jsx)(F,{speakers:e.speakers,events:a,content:n.speakers}),whatsInStore:(0,A.jsx)(wt,{photo:n.photos.whatsInStore}),focusAreas:(0,A.jsx)(Et,{photo:n.photos.focusAreas}),testimonials:(0,A.jsx)(B,{content:n.testimonials}),videos:(0,A.jsx)(ot,{content:n.videos}),thoughtLeaders:(0,A.jsx)(st,{content:n.thoughtLeaders,portalLeaders:e.thoughtLeaders??[]}),magazines:(0,A.jsx)(dt,{content:n.magazines,portalIssues:e.magazines??[]}),blogCarousel:(0,A.jsx)(ft,{content:n.blogCarousel,posts:t}),news:(0,A.jsx)(ht,{content:n.news,events:o,posts:t,news:e.news}),matchmaking:(0,A.jsx)(_t,{content:n.matchmaking}),attendees:(0,A.jsx)(z,{content:n.attendees,portalCompanies:p}),webapp:(0,A.jsx)(yt,{content:n.webapp}),getInvolved:(0,A.jsx)(Ot,{photo:n.photos.getInvolved}),faq:(0,A.jsx)(At,{}),pastEditions:(0,A.jsx)(I,{events:l})},y=n.layout?.order??v,b=[...y.filter(e=>e in _),...v.filter(e=>!y.includes(e))];return(0,A.jsx)(r,{editions:h,children:(0,A.jsx)(d,{involve:n.involve,children:(0,A.jsxs)(`div`,{children:[(0,A.jsx)(c,{menu:n.menu}),(0,A.jsxs)(`main`,{children:[(0,A.jsx)(M,{hero:n.hero,editions:h,speakerCount:e.speakerCount,editionCount:h.items.length||o.length}),b.map(e=>(0,A.jsx)(O.Fragment,{children:_[e]},e))]}),(0,A.jsx)(f,{content:n.footer,logoUrl:n.menu.logoUrl})]})})})}export{jt as component,m as siteBundleQuery};

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.