{"version":3,"file":"FieldCarousel.CDG8Q7CB.mjs","names":["useRef","_Fragment","useState","useSyncExternalStore","__esmMin","init_npm_react_18_3_1","me","init_ssg_sandbox_shims","l","H","_e","p","J","init_jsx_runtime","ce","de","window","init_framer_CKT6jEEQ","useIsStaticRenderer","changed","S","go","card","row","stops","stopsOf","here","nearest","by","glide","ARROW_MS","gap","still","findRow","n","el","useMergedRef","node","ref","bezier","x1","y1","x2","y2","cx","bx","ax","cy","ay","sx","t","sy","x","lo","hi","pad","box","max","c","stopGlide","glides","restore","from","to","t0","frame","now","ms","ease","settle","target","SETTLE_MS","addMouseDrag","start","dragging","lastX","lastT","speed","down","e","move","dx","DRAG_START","dt","up","block","flick","FLICK_PAUSE","MOMENTUM","noNativeDrag","withFieldCarousel","fieldCarousel","Component","setRef","isStatic","ROW","check","end","next","stopDrag","drag","sizes","CSS","props","arrow","name","dir","version","useVersion","setRow","found","ends","enabled","withCarouselPrev","withCarouselNext","equal","Row","EQUAL_CSS","attr","withFieldCarouselEqual","withFieldCarouselEqualPhone","withFieldCarouselPhone","PHONE_CSS","withFieldCarouselPhonePeek","PEEK_CSS","g","subscribe","SETTLE_EASE","ROW_CSS","init_FieldCarousel","b","a","sel"],"sources":["https:/framerusercontent.com/modules/6nllT8o5ZVAMAKY3L8gX/BPBwljxdFulObrOV8ou7/FieldCarousel.js"],"sourcesContent":["// Card carousels on the News page (From the Field, Press): the override for each card row plus the overrides for its arrows.\n// Put \"withFieldCarousel\" on a CMS list to make it one scrolling row.\n// Put \"withCarouselPrev\" / \"withCarouselNext\" on Carousel Arrow instances in the same section; each pair moves the row next to it.\n// The arrows are a canvas component (Components/Buttons/Carousel Arrow) — edit their look there. These overrides only add the click\n// and swap to the \"… Disabled\" variant when there's nothing further that way.\n// With a mouse, the From the Field and Press rows can also be dragged sideways (see addMouseDrag).\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{createElement,forwardRef,useEffect,useRef,useState,useSyncExternalStore}from\"react\";import{useIsStaticRenderer}from\"framer\";// Every card row on the page and how far it can still scroll. Shared even if Framer loads this module more than once\nconst g=globalThis;const S=g.__keyCardCarousels||(g.__keyCardCarousels={rows:new Map,version:0,listeners:new Set});function changed(){S.version++;S.listeners.forEach(l=>l());}const subscribe=l=>{S.listeners.add(l);return()=>S.listeners.delete(l);};const useVersion=()=>useSyncExternalStore(subscribe,()=>S.version,()=>0);// Scrolls a row by one card (card width + gap) either way; the browser stops it at the ends\nfunction go(row,by){const card=row.firstElementChild;if(!card)return;if(row.hasAttribute(\"data-fc-drag\")){// the News rows: glide one card on from where the row is heading, with the same ease as after a drag\nconst stops=stopsOf(row);const here=nearest(stops,row.scrollLeft);const i=stops.indexOf(here)+by;if(i>=0&&i<stops.length)glide(row,stops[i],ARROW_MS);return;}const gap=parseFloat(getComputedStyle(row).columnGap)||0;const still=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;row.scrollBy({left:by*(card.offsetWidth+gap),behavior:still?\"auto\":\"smooth\"});}// The row an arrow belongs to: the nearest one found by stepping out from the arrow through its parent layers\nfunction findRow(el){for(let n=el.parentElement;n;n=n.parentElement){const row=n.querySelector(\"[data-fc-row]\");if(row)return row;}return null;}const ROW=\"data-fc-row\";// Cards snap to the left edge; the scrollbar is hidden because the arrows (beside the title on tablet and phone) or a swipe move the row\nconst CSS=`\n[${ROW}] { overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }\n[${ROW}]::-webkit-scrollbar { display: none; }\n[${ROW}] > * { flex-shrink: 0; scroll-snap-align: start; }\n@media (hover: hover) and (pointer: fine) {\n  [data-fc-drag] { cursor: grab; }\n  [data-fc-drag] a { cursor: pointer; }\n}\n[data-fc-dragging], [data-fc-dragging] * { cursor: grabbing !important; user-select: none !important; }\n/* Touch screens: each arrow's tap area reaches about 44px tall without changing how it looks */\n@media (pointer: coarse) {\n  [aria-label=\"Previous articles\"], [aria-label=\"Next articles\"] { position: relative; }\n  [aria-label=\"Previous articles\"]::after, [aria-label=\"Next articles\"]::after { content: \"\"; position: absolute; inset: -6px -4px; }\n}\n`;function useMergedRef(ref){const el=useRef(null);const setRef=node=>{el.current=node;if(typeof ref===\"function\")ref(node);else if(ref)ref.current=node;};return[el,setRef];}// Mouse drag: the row follows the mouse, keeps a little momentum on a quick flick, then glides onto the nearest card.\n// Touch screens already swipe natively, so only a mouse starts a drag.\n// A press that moves less than DRAG_START px is still a click, so the cards' links keep working.\n// Settings tuned in the Carousel Drag Tuner artifact (FOLLOW 0, EDGE_STRETCH 0 and PRESS_SCALE 1 there mean \"off\", so they\n// have no code here).\nconst DRAG_START=5// px before a press becomes a drag\n;const MOMENTUM=250// how far a flick carries on: release speed (px per ms) × this many ms\n;const FLICK_PAUSE=80// ms held still before letting go = no flick\n;const SETTLE_MS=500// glide onto a card after a drag\n;const ARROW_MS=500// glide to the next card after an arrow click\n;const SETTLE_EASE=[.22,.8,.24,1]// cubic-bezier, the site's KEY ease\n;// cubic-bezier(x1, y1, x2, y2) as a function of progress 0–1\nfunction bezier([x1,y1,x2,y2]){const cx=3*x1,bx=3*(x2-x1)-cx,ax=1-cx-bx;const cy=3*y1,by=3*(y2-y1)-cy,ay=1-cy-by;const sx=t=>((ax*t+bx)*t+cx)*t;const sy=t=>((ay*t+by)*t+cy)*t;return x=>{if(x<=0)return 0;if(x>=1)return 1;let lo=0,hi=1,t=x;for(let i=0;i<24;i++){if(sx(t)<x)lo=t;else hi=t;t=(lo+hi)/2;}return sy(t);};}const ease=bezier(SETTLE_EASE);// Where each card snaps to (its left edge, less the row's left padding), clamped to how far the row can scroll\nfunction stopsOf(row){const pad=parseFloat(getComputedStyle(row).paddingLeft)||0;const box=row.getBoundingClientRect();const max=row.scrollWidth-row.clientWidth;return Array.from(row.children).map(c=>Math.min(max,Math.max(0,row.scrollLeft+c.getBoundingClientRect().left-box.left-pad)));}const nearest=(stops,x)=>stops.reduce((a,b)=>Math.abs(b-x)<Math.abs(a-x)?b:a,0);// The glide running on each row, so a new drag or arrow click can take over from it\nconst glides=new WeakMap;function stopGlide(row){cancelAnimationFrame(glides.get(row)||0);glides.delete(row);}// Glides the row to `to` over `ms` with the KEY ease. The browser's own snapping stays off during the glide (turned\n// back on, it would snap to a card at once and cut the glide short) and comes back once the row has arrived.\nfunction glide(row,to,ms){stopGlide(row);const restore=()=>{row.style.scrollSnapType=\"\";row.style.scrollBehavior=\"\";};const from=row.scrollLeft;if(window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches||Math.abs(to-from)<1){row.scrollLeft=to;restore();return;}row.style.scrollSnapType=\"none\";row.style.scrollBehavior=\"auto\";const t0=performance.now();const frame=now=>{const p=Math.min(1,(now-t0)/ms);row.scrollLeft=from+(to-from)*ease(p);if(p<1)glides.set(row,requestAnimationFrame(frame));else{glides.delete(row);restore();}};glides.set(row,requestAnimationFrame(frame));}// After a drag: glide to the card nearest where the flick would land\nfunction settle(row,target){glide(row,nearest(stopsOf(row),target),SETTLE_MS);}function addMouseDrag(row){row.setAttribute(\"data-fc-drag\",\"\");let start=null;let dragging=false;let lastX=0;let lastT=0;let speed=0;const down=e=>{if(e.pointerType!==\"mouse\"||e.button!==0)return;stopGlide(row);start={x:e.clientX,left:row.scrollLeft,id:e.pointerId};dragging=false;lastX=e.clientX;lastT=e.timeStamp;speed=0;};const move=e=>{if(!start||e.pointerId!==start.id)return;const dx=e.clientX-start.x;if(!dragging){if(Math.abs(dx)<DRAG_START)return;dragging=true;row.setPointerCapture(e.pointerId);row.setAttribute(\"data-fc-dragging\",\"\");row.style.scrollSnapType=\"none\"// otherwise the row snaps back to a card on every move\n;row.style.scrollBehavior=\"auto\";}row.scrollLeft=start.left-dx;const dt=e.timeStamp-lastT;if(dt>0)speed=.8*((lastX-e.clientX)/dt)+.2*speed;lastX=e.clientX;lastT=e.timeStamp;};const up=e=>{if(!start||e.pointerId!==start.id)return;start=null;if(!dragging)return;// the press turned into a drag, so the click that follows mustn't open the card under the mouse\nconst block=c=>{c.preventDefault();c.stopPropagation();};row.addEventListener(\"click\",block,{capture:true,once:true});setTimeout(()=>row.removeEventListener(\"click\",block,{capture:true}),0);row.removeAttribute(\"data-fc-dragging\");if(row.hasPointerCapture(e.pointerId))row.releasePointerCapture(e.pointerId);const still=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;// a pause before letting go means no flick\nconst flick=e.timeStamp-lastT>FLICK_PAUSE||still?0:speed*MOMENTUM;settle(row,row.scrollLeft+flick);dragging=false;};// links and images would otherwise start the browser's own drag-and-drop\nconst noNativeDrag=e=>e.preventDefault();row.addEventListener(\"pointerdown\",down);row.addEventListener(\"pointermove\",move);row.addEventListener(\"pointerup\",up);row.addEventListener(\"pointercancel\",up);row.addEventListener(\"dragstart\",noNativeDrag);return()=>{row.removeEventListener(\"pointerdown\",down);row.removeEventListener(\"pointermove\",move);row.removeEventListener(\"pointerup\",up);row.removeEventListener(\"pointercancel\",up);row.removeEventListener(\"dragstart\",noNativeDrag);row.removeAttribute(\"data-fc-drag\");row.removeAttribute(\"data-fc-dragging\");stopGlide(row);row.style.scrollSnapType=row.style.scrollBehavior=\"\";};}// From the Field and Press rows: arrows, swipe, and mouse drag\nexport function withFieldCarousel(Component){return fieldCarousel(Component,true);}function fieldCarousel(Component,drag){return /*#__PURE__*/forwardRef((props,ref)=>{const[el,setRef]=useMergedRef(ref);const isStatic=useIsStaticRenderer();// Mark the row so the CSS above applies, and keep its arrows told whether there's anything left on either side\nuseEffect(()=>{const row=el.current;if(isStatic||!row)return;row.setAttribute(ROW,\"\");// Snap cards to the row's own left padding, so the row can run to the screen edge\n// while the first card still starts in line with the title\nconst pad=()=>row.style.scrollPaddingLeft=getComputedStyle(row).paddingLeft;const check=()=>{pad();const end=row.scrollWidth-row.clientWidth;const next={canPrev:row.scrollLeft>2,canNext:row.scrollLeft<end-2};const now=S.rows.get(row);if(now&&now.canPrev===next.canPrev&&now.canNext===next.canNext)return;S.rows.set(row,next);changed();};check();const stopDrag=drag?addMouseDrag(row):null;const sizes=new ResizeObserver(check)// the window resizing or cards loading in changes how far it can scroll\n;sizes.observe(row);row.addEventListener(\"scroll\",check,{passive:true});return()=>{stopDrag?.();sizes.disconnect();row.removeEventListener(\"scroll\",check);row.removeAttribute(ROW);S.rows.delete(row);changed();};},[isStatic]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/createElement(Component,{...props,ref:setRef})]});});}function arrow(dir){const name=dir<0?\"Left\":\"Right\";return Component=>/*#__PURE__*/forwardRef((props,ref)=>{const[el,setRef]=useMergedRef(ref);const isStatic=useIsStaticRenderer();const version=useVersion();const[row,setRow]=useState(null);// The row may load after the arrow, so look again whenever a row appears or goes\n    useEffect(()=>{if(isStatic||!el.current)return;const found=findRow(el.current);if(found!==row)setRow(found);},[version,isStatic]);const ends=row?S.rows.get(row):undefined;// the canvas has no row to scroll, so it shows the starting state: nothing to the left yet\n    const enabled=ends?dir<0?ends.canPrev:ends.canNext:!isStatic?false:dir>0;const move=()=>enabled&&row&&go(row,dir);return /*#__PURE__*/createElement(Component,{...props,ref:setRef,variant:enabled?name:`${name} Disabled`,role:\"button\",tabIndex:enabled?0:-1,\"aria-label\":dir<0?\"Previous articles\":\"Next articles\",\"aria-disabled\":!enabled,onClick:move,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();move();}},style:{...props.style,cursor:enabled?\"pointer\":\"default\"}});});}// Written out as functions so Framer lists them as overrides\nexport function withCarouselPrev(Component){return arrow(-1)(Component);}export function withCarouselNext(Component){return arrow(1)(Component);}// Same as withFieldCarousel, plus (Turnkey \"Our Process\" steps):\n//   • every card is as tall as the tallest one\n//   • the row stays inside the content width (lined up with the title and arrows), and cards are sized so a whole\n//     number of them plus a 24px sliver of the next fills it: 4 on wide desktops (1520px+ screens), 3 on desktop,\n//     2 on tablet, 1 on phone. The sliver shows the row scrolls; arrows and swipes still move one card at a time.\n// Desktop/tablet go on the 40px-padded section (withFieldCarouselEqual) and switch with container queries on the\n// section (its width less padding: 1120px+ is desktop, 1440px+ is a 1520px+ screen), so the canvas shows each\n// breakpoint as the site does. The phone section has a 12px gap (withFieldCarouselEqualPhone).\nconst ROW_CSS=sel=>`\n${sel} { align-items: stretch !important; }\n${sel} > * > * { height: 100% !important; }\n/* Canvas (no scrolling set up there): clip like the live row does */\n${sel}:not([data-fc-row]) { overflow: hidden !important; }\n`;const EQUAL_CSS=`\n${ROW_CSS(\"[data-fc-equal]\")}\n*:has(> [data-fc-equal]) { container-type: inline-size; }\n[data-fc-equal] { gap: 16px !important; }\n[data-fc-equal] > * { width: calc((100% - 16px - 16px - 24px) / 2) !important; }\n@container (min-width: 1120px) { [data-fc-equal] > * { width: calc((100% - 48px - 24px) / 3) !important; } }\n@container (min-width: 1440px) { [data-fc-equal] > * { width: calc((100% - 64px - 24px) / 4) !important; } }\n${ROW_CSS(\"[data-fc-equal-phone]\")}\n[data-fc-equal-phone] { gap: 12px !important; }\n[data-fc-equal-phone] > * { width: calc(100% - 12px - 24px) !important; }\n`;function equal(attr){return Component=>{const Row=fieldCarousel(Component,false)// no mouse drag on the Turnkey Our Process steps\n;return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:EQUAL_CSS}),/*#__PURE__*/createElement(Row,{...props,ref,[attr]:\"\",style:{...props.style,alignItems:\"stretch\"}})]}));};}export function withFieldCarouselEqual(Component){return equal(\"data-fc-equal\")(Component);}// Phone section of Our Process: 20px page padding, 12px gap, one card plus a 24px sliver of the next\nexport function withFieldCarouselEqualPhone(Component){return equal(\"data-fc-equal-phone\")(Component);}// About Us \"Research Shows Why Reading Still Matters\" cards (bug 175): a swipeable row on phone only.\n// Same row behaviour as the others (snap, arrows, swipe), but only below 810px; on tablet and desktop the cards stay\n// stacked as Framer lays them out. Each card is the row's width less 36px, so after the 12px gap a 24px sliver of the\n// next card shows (like Turnkey \"Our Process\" on phone), and all are as tall as the tallest: the grey\n// \"description\" area of each Goal Row stretches to the bottom so every card ends on the same line.\nconst PHONE_CSS=`\n@media (max-width: 809.98px) {\n  [data-fc-phone] { align-items: stretch !important; gap: 12px !important; }\n  [data-fc-phone] > * { width: calc(100% - 12px - 24px) !important; }\n  [data-fc-phone] > * > * { height: 100% !important; }\n  [data-fc-phone] [data-framer-name=\"description\"] { flex: 1 1 auto !important; }\n}\n@media (min-width: 810px) {\n  [data-fc-row][data-fc-phone] { overflow: visible !important; scroll-snap-type: none !important; }\n}\n`;export function withFieldCarouselPhone(Component){const Row=fieldCarousel(Component,false);return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:PHONE_CSS}),/*#__PURE__*/createElement(Row,{...props,ref,\"data-fc-phone\":\"\"})]}));}// Financials \"Past Reports\" covers (bug 212): a swipeable row on phone only, where each cover keeps the width set in\n// Framer (so the next one peeks in). Same row behaviour as the others (snap, arrows, swipe), but only below 768px,\n// Framer's Phone breakpoint on that page; on tablet and desktop the covers stay as Framer lays them out.\nconst PEEK_CSS=`\n@media (min-width: 768px) {\n  [data-fc-row][data-fc-peek] { overflow: visible !important; scroll-snap-type: none !important; }\n  [data-fc-row][data-fc-peek] > * { flex-shrink: 1; }\n}\n`;export function withFieldCarouselPhonePeek(Component){const Row=fieldCarousel(Component,false);return /*#__PURE__*/forwardRef((props,ref)=>/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:PEEK_CSS}),/*#__PURE__*/createElement(Row,{...props,ref,\"data-fc-peek\":\"\"})]}));}\nexport const __FramerMetadata__ = {\"exports\":{\"withFieldCarouselEqual\":{\"type\":\"reactHoc\",\"name\":\"withFieldCarouselEqual\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselNext\":{\"type\":\"reactHoc\",\"name\":\"withCarouselNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFieldCarouselPhone\":{\"type\":\"reactHoc\",\"name\":\"withFieldCarouselPhone\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFieldCarouselEqualPhone\":{\"type\":\"reactHoc\",\"name\":\"withFieldCarouselEqualPhone\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFieldCarouselPhonePeek\":{\"type\":\"reactHoc\",\"name\":\"withFieldCarouselPhonePeek\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCarouselPrev\":{\"type\":\"reactHoc\",\"name\":\"withCarouselPrev\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFieldCarousel\":{\"type\":\"reactHoc\",\"name\":\"withFieldCarousel\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FieldCarousel.map"],"mappings":"A,mOAOmH,SAASmB,GAAS,CAAC,EAAE,UAAUC,EAAE,UAAU,QAAQ,GAAGZ,EAAE,CAAC,CAAE,CAC9K,SAASa,EAAG,EAAI,EAAG,CAAC,IAAMC,EAAKC,EAAI,kBAAkB,GAAG,CAACD,EAAK,OAAO,GAAGC,EAAI,aAAa,cAAc,EAAE,CACzG,IAAMC,EAAMC,EAAQF,CAAG,EAAQG,EAAKC,EAAQH,EAAMD,EAAI,UAAU,EAAQ,EAAEC,EAAM,QAAQE,CAAI,EAAEE,EAAM,GAAG,GAAG,EAAEJ,EAAM,QAAOK,EAAMN,EAAIC,EAAM,GAAGM,CAAQ,EAAE,MAAO,CAAC,IAAMC,EAAI,WAAW,iBAAiBR,CAAG,CAAC,CAAC,SAAS,GAAG,EAAQS,EAAMhB,EAAO,WAAW,kCAAkC,CAAC,CAAC,QAAQO,EAAI,SAAS,CAAC,KAAKK,GAAIN,EAAK,YAAYS,GAAK,SAASC,EAAM,OAAO,QAAQ,CAAC,CAAE,CAC/W,SAASC,GAAQ,EAAG,CAAC,IAAI,IAAIC,EAAEC,EAAG,cAAcD,EAAE,EAA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