{"version":3,"file":"KitList.CBPLRO5L.mjs","names":["useState","useRef","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/0iYzbQNsxEes0FKL7y4r/hdWMUkMW5HDojjpPsrR5/KitList.js"],"sourcesContent":["// The header Kit List: quiet text button with a count badge (lime-lit while the \"added\" panel is open), plus the light glass drawer from\n// the right (brand system v2 §6 Kit List drawer, Buttons › Quiet).\n//\n// Framer: Assets > Code > New file, paste, drop once in the header on every page. The drawer\n// opens only from this button — adding kit never opens it, it only bumps the count.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType}from\"framer\";import{KIT_PANEL_EVENT,clearLines,countItems,enquiryHrefWithDates,estimate,formatMoney,isStorageUsable,loadDates,loadLines,perDaySubtotal,removeLine,saveDates,setQty,shouldBumpCount,subscribe}from\"https://framerusercontent.com/modules/63duGyOXCgUlaPENpqTR/NpP6rZ9gNa0lOMP8rVVv/kit-list.js\";import DateRange from\"https://framerusercontent.com/modules/ebDCoTxyMtQiLKumlsxx/40xcLHw3XIjT4cTF1t4Q/DateRange.js\";import{colour,focusRingLight,font,glassLight,labelMono,motion,radius,showFocusRing}from\"https://framerusercontent.com/modules/yG9gp6meCLV2xzqACEat/lENFKffrvr2h5MKUW9vx/theme.js\";const focus=e=>showFocusRing(e.currentTarget,focusRingLight);const blur=e=>Object.assign(e.currentTarget.style,{outline:\"none\"});// Drawer motion. The scrim fades rather than snapping to 40% (it read as a glitch); the panel\n// travels its full width and settles, contents fade in a beat after (no vertical drift: the\n// panel should only ever move sideways); closing is quicker and accelerates out.\nconst DRAWER_IN=480;const DRAWER_OUT=260;const SCRIM_IN=360;// A gentler settle than the house ease, which front-loads the move and still felt abrupt here.\nconst EASE_OUT=\"cubic-bezier(0.32, 0.72, 0, 1)\";// Even fade so the dim builds rather than jumping.\nconst EASE_FADE=\"cubic-bezier(0.4, 0, 0.2, 1)\";const EASE_IN=\"cubic-bezier(0.4, 0, 1, 1)\";const drawerCss=[`@keyframes fomo-scrim-in { from { opacity: 0; } }`,`@keyframes fomo-scrim-out { to { opacity: 0; } }`,`@keyframes fomo-drawer-in { from { transform: translateX(100%); } }`,`@keyframes fomo-drawer-out { to { transform: translateX(100%); } }`,`@keyframes fomo-drawer-rise { from { opacity: 0; } }`,`.fomo-scrim { animation: fomo-scrim-in ${SCRIM_IN}ms ${EASE_FADE} both; }`,`.fomo-scrim.closing { animation: fomo-scrim-out ${DRAWER_OUT}ms ${EASE_IN} both; }`,`.fomo-drawer { animation: fomo-drawer-in ${DRAWER_IN}ms ${EASE_OUT} both; }`,`.fomo-scrim.closing .fomo-drawer { animation: fomo-drawer-out ${DRAWER_OUT}ms ${EASE_IN} both; }`,`.fomo-drawer > * { animation: fomo-drawer-rise 320ms ${EASE_OUT} 200ms both; }`,`.fomo-scrim.closing .fomo-drawer > * { animation: none; }`,`@media ${motion.reduced} { .fomo-scrim, .fomo-drawer, .fomo-drawer > * { animation: none !important; } }`].join(\" \");export default function KitList({emptyLinkHref=\"/cameras\",emptyLinkLabel=\"Start with cameras\",enquiryHref=\"/kit-list\",ownListHref=\"/kit-list\"}){const[lines,setLines]=useState([]);const[open,setOpen]=useState(false);const[closing,setClosing]=useState(false);const closeTimer=useRef(undefined);const[start,setStart]=useState(\"\");const[end,setEnd]=useState(\"\");const[hover,setHover]=useState(false);// True while AddToKitList's \"added\" drop panel is open: the badge goes lime until it closes.\nconst[panelOpen,setPanelOpen]=useState(false);const panelRef=useRef(null);const triggerRef=useRef(null);useEffect(()=>{const sync=()=>setLines(loadLines());sync();return subscribe(sync);},[]);useEffect(()=>{const onPanel=e=>setPanelOpen(!!e.detail?.open);window.addEventListener(KIT_PANEL_EVENT,onPanel);return()=>window.removeEventListener(KIT_PANEL_EVENT,onPanel);},[]);// Re-read on every open: the enquiry page may have changed the dates since.\nuseEffect(()=>{if(!open)return;const dates=loadDates();setStart(dates.from);setEnd(dates.to);},[open]);// Keep the drawer mounted while it animates out, then unmount.\nconst close=useCallback(()=>{if(closeTimer.current)return;setClosing(true);const reduced=typeof window!==\"undefined\"&&window.matchMedia(motion.reduced).matches;closeTimer.current=setTimeout(()=>{closeTimer.current=undefined;setClosing(false);setOpen(false);},reduced?0:DRAWER_OUT);// Send focus back where it came from, or a keyboard user is stranded at the page root.\ntriggerRef.current?.focus();},[]);useEffect(()=>()=>clearTimeout(closeTimer.current),[]);// Escape dismisses, and focus is trapped inside while open (§8 accessibility floor).\nuseEffect(()=>{if(!open)return;const onKeyDown=event=>{if(event.key===\"Escape\"){close();return;}if(event.key!==\"Tab\")return;const focusable=panelRef.current?.querySelectorAll('a[href], button:not([disabled]), input, [tabindex]:not([tabindex=\"-1\"])');if(!focusable||focusable.length===0)return;const first=focusable[0];const last=focusable[focusable.length-1];if(event.shiftKey&&document.activeElement===first){event.preventDefault();last.focus();}else if(!event.shiftKey&&document.activeElement===last){event.preventDefault();first.focus();}};document.addEventListener(\"keydown\",onKeyDown);panelRef.current?.querySelector(\"button, a, input\")?.focus();return()=>document.removeEventListener(\"keydown\",onKeyDown);},[open,close]);const count=countItems(lines);// Bump only when the count goes up (spec §5.8): never on the first render, never on removal.\nconst previous=useRef(null);const[bumpKey,setBumpKey]=useState(0);useEffect(()=>{if(shouldBumpCount(previous.current,count))setBumpKey(k=>k+1);previous.current=count;},[count]);const priced=estimate(lines,start||null,end||null);const perDay=perDaySubtotal(lines);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"button\",{ref:triggerRef,type:\"button\",// AddToKitList anchors its \"added\" drop panel under this button.\n\"data-fomo-kitlist-button\":\"\",onClick:()=>setOpen(true),\"aria-haspopup\":\"dialog\",\"aria-expanded\":open,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{display:\"inline-flex\",alignItems:\"center\",gap:8,height:40,padding:\"0 12px\",...labelMono,color:hover?colour.recordBlack:colour.mutedOnLight,background:\"transparent\",border:\"none\",borderRadius:radius,whiteSpace:\"nowrap\",cursor:\"pointer\",transition:`color ${motion.t}ms ${motion.ease}`},onFocus:focus,onBlur:blur,children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`@keyframes fomo-kit-bump { 0% { transform: scale(1); } 40% { transform: scale(1.18); } 100% { transform: scale(1); } } @media ${motion.reduced} { .fomo-kit-count { animation: none !important; } button { transition: none !important; } }`}}),\"Kit List\",/*#__PURE__*/_jsx(\"span\",{className:\"fomo-kit-count\",style:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:18,height:18,padding:\"0 4px\",boxSizing:\"border-box\",borderRadius:radius,// Panel open: the lime fill gets a House Dark Green edge and text so it reads as lit (also at 0 after a removal).\nborder:`1px solid ${panelOpen?colour.houseDarkGreen:count>0?colour.houseLimeGreen:colour.lineOnLight}`,background:count>0||panelOpen?colour.houseLimeGreen:\"transparent\",color:panelOpen?colour.houseDarkGreen:colour.recordBlack,fontFamily:font.mono,fontSize:11,lineHeight:1,letterSpacing:0,fontVariantNumeric:\"tabular-nums\",animation:bumpKey>0?`fomo-kit-bump ${motion.bump}ms ${motion.ease}`:\"none\"},\"aria-hidden\":\"true\",children:count},bumpKey),/*#__PURE__*/_jsx(\"span\",{style:visuallyHidden,children:count===1?\"1 item\":`${count} items`})]}),open&&typeof document!==\"undefined\"&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(\"div\",{className:closing?\"fomo-scrim closing\":\"fomo-scrim\",onClick:close,style:{position:\"fixed\",inset:0,zIndex:9e3,background:\"rgba(5, 5, 4, 0.4)\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`${drawerCss} .fomo-kit-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size ${motion.underline}ms ${motion.ease}; } .fomo-kit-link:hover, .fomo-kit-link:focus-visible { background-size: 100% 1px; } @media ${motion.reduced} { .fomo-kit-link { transition: none; } }`}}),/*#__PURE__*/_jsxs(\"div\",{ref:panelRef,className:\"fomo-drawer\",role:\"dialog\",\"aria-modal\":\"true\",\"aria-label\":\"Kit List\",onClick:event=>event.stopPropagation(),style:{position:\"absolute\",top:0,right:0,bottom:0,width:\"min(420px, 100vw)\",display:\"flex\",flexDirection:\"column\",fontFamily:font.body,color:colour.recordBlack,background:glassLight.background,backdropFilter:glassLight.backdropFilter,WebkitBackdropFilter:glassLight.backdropFilter,borderLeft:glassLight.border},children:[/*#__PURE__*/_jsxs(\"header\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",padding:\"16px 24px\",borderBottom:`1px solid ${colour.lineOnLight}`},children:[/*#__PURE__*/_jsx(\"h2\",{style:{margin:0,fontFamily:font.display,fontWeight:400,fontSize:28,lineHeight:1.1},children:\"Kit List\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:close,\"aria-label\":\"Close\",style:{width:32,height:32,padding:0,display:\"grid\",placeItems:\"center\",color:colour.recordBlack,background:\"transparent\",border:\"1px solid transparent\",borderRadius:radius,cursor:\"pointer\"},onMouseEnter:e=>e.currentTarget.style.borderColor=colour.lineOnLight,onMouseLeave:e=>e.currentTarget.style.borderColor=\"transparent\",onFocus:focus,onBlur:blur,children:/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",\"aria-hidden\":\"true\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"1.25\",strokeLinecap:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3 3l10 10M13 3L3 13\"})})})]}),/*#__PURE__*/_jsx(\"div\",{\"data-lenis-prevent\":\"\",style:{flex:1,overflowY:\"auto\",padding:\"8px 24px\"},children:lines.length===0?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"grid\",gap:16,padding:\"24px 0\"},children:[/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontFamily:font.display,fontWeight:400,fontSize:22,lineHeight:1.2},children:\"Your Kit List is empty.\"}),/*#__PURE__*/_jsx(TextLink,{href:emptyLinkHref,children:emptyLinkLabel}),/*#__PURE__*/_jsxs(\"p\",{style:{margin:0,fontSize:14,lineHeight:1.5,color:colour.mutedOnLight},children:[\"Already have a list? \",/*#__PURE__*/_jsx(TextLink,{href:ownListHref,children:\"Send it as a file or a typed list\"})]})]}):/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0},children:lines.map(line=>/*#__PURE__*/_jsxs(\"li\",{style:{display:\"grid\",gridTemplateColumns:\"64px 1fr auto\",alignItems:\"center\",gap:16,padding:\"12px 0\",borderBottom:`1px solid ${colour.lineOnLight}`},children:[line.imageUrl?/*#__PURE__*/_jsx(\"img\",{src:line.imageUrl,alt:\"\",width:64,height:64,style:{objectFit:\"contain\",borderRadius:radius,background:colour.pureWhite}}):/*#__PURE__*/_jsx(\"div\",{style:{width:64,height:64,borderRadius:radius,background:colour.paper}}),/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:15,lineHeight:1.4},children:line.name}),/*#__PURE__*/_jsxs(\"div\",{style:{...labelMono,color:colour.mutedOnLight,marginTop:2},children:[\"\\xa3\",formatMoney(line.dayRate),\" / day\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,marginTop:8},children:[/*#__PURE__*/_jsx(QtyButton,{label:`Reduce quantity of ${line.name}`,onClick:()=>setQty(line.rentmanId,line.qty-1),children:\"−\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:font.mono,fontSize:13,minWidth:20,textAlign:\"center\",fontVariantNumeric:\"tabular-nums\"},children:line.qty}),/*#__PURE__*/_jsx(QtyButton,{label:`Increase quantity of ${line.name}`,onClick:()=>setQty(line.rentmanId,line.qty+1),children:\"+\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>removeLine(line.rentmanId),\"aria-label\":`Remove ${line.name}`,className:\"fomo-kit-link\",style:{...textLinkStyle,marginLeft:8,fontSize:13},onFocus:focus,onBlur:blur,children:\"Remove\"})]})]}),/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:font.mono,fontSize:13,fontVariantNumeric:\"tabular-nums\",whiteSpace:\"nowrap\"},children:[\"\\xa3\",formatMoney(line.dayRate*line.qty)]})]},line.rentmanId))})}),lines.length>0&&/*#__PURE__*/_jsxs(\"footer\",{style:{padding:\"16px 24px 24px\",borderTop:`1px solid ${colour.lineOnLight}`,display:\"grid\",gap:12},children:[/*#__PURE__*/_jsx(DateRange,{startLabel:\"Collection\",endLabel:\"Return\",start:start,end:end,above:true,onChange:r=>{setStart(r.start);setEnd(r.end);saveDates({from:r.start,to:r.end});}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"baseline\",gap:8,flexWrap:\"wrap\"},children:!priced?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(Big,{children:[\"\\xa3\",formatMoney(perDay)]}),/*#__PURE__*/_jsx(Small,{children:\"/ day ex VAT\"})]}):priced.overLimit?/*#__PURE__*/_jsx(Small,{children:\"Long hires are priced individually. Ask for a quote.\"}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(Big,{children:[\"\\xa3\",formatMoney(priced.exVat)]}),/*#__PURE__*/_jsxs(Small,{children:[\"ex VAT for \",priced.billableDays,\" billable day\",priced.billableDays===1?\"\":\"s\",\", \\xa3\",formatMoney(priced.incVat),\" inc VAT\"]})]})}),/*#__PURE__*/_jsx(PrimaryLink,{href:enquiryHrefWithDates(enquiryHref,start,end),children:\"Request a quote\"}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:14,lineHeight:1.5,color:colour.mutedOnLight},children:\"Prices are a guide. Attach the rest of your list on the next step.\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:8,fontSize:12,color:colour.mutedOnLight},children:[/*#__PURE__*/_jsx(\"span\",{children:isStorageUsable()?\"\":\"Not saved. This list clears when you close the tab\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"fomo-kit-link\",onClick:()=>clearLines(),style:{...textLinkStyle,fontSize:12},onFocus:focus,onBlur:blur,children:\"Clear\"})]})]})]})]}),document.body)]});}const textLinkStyle={padding:0,fontFamily:font.body,fontSize:15,color:colour.recordBlack,border:\"none\",borderRadius:radius,// Spec §6 text link: nothing at rest, a 1px ink underline draws on hover (.fomo-kit-link).\ntextDecoration:\"none\",paddingBottom:2,cursor:\"pointer\"};function TextLink(props){return /*#__PURE__*/_jsx(\"a\",{href:props.href,className:\"fomo-kit-link\",style:{...textLinkStyle,width:\"max-content\"},onFocus:focus,onBlur:blur,children:props.children});}/** Primary button on light (spec §6): black fill, Casette White Label mono; hover lime + black. */function PrimaryLink(props){const[hover,setHover]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:props.href,onMouseEnter:()=>setHover(true),onMouseLeave:()=>setHover(false),style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:40,padding:\"0 16px\",...labelMono,color:hover?colour.recordBlack:colour.casetteWhite,background:hover?colour.houseLimeGreen:colour.recordBlack,border:`1px solid ${hover?colour.houseLimeGreen:colour.recordBlack}`,borderRadius:radius,textDecoration:\"none\",transition:`background ${motion.t}ms ${motion.ease}, color ${motion.t}ms ${motion.ease}`},onFocus:focus,onBlur:blur,children:props.children});}const Big=p=>/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:font.mono,fontSize:32,lineHeight:1,letterSpacing:\"-0.02em\",fontVariantNumeric:\"tabular-nums\"},children:p.children});const Small=p=>/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,lineHeight:1.5,color:colour.mutedOnLight},children:p.children});/** Exported for EnquiryPage.tsx's editable kit rows. Icon button (spec): 24px square, hairline. */export function QtyButton(props){const{color=colour.recordBlack}=props;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:props.onClick,\"aria-label\":props.label,style:{width:24,height:24,padding:0,fontSize:13,lineHeight:1,color,background:\"transparent\",border:`1px solid ${colour.lineOnLight}`,borderRadius:radius,cursor:\"pointer\"},onFocus:focus,onBlur:blur,children:props.children});}const visuallyHidden={position:\"absolute\",width:1,height:1,overflow:\"hidden\",clip:\"rect(0 0 0 0)\"};addPropertyControls(KitList,{emptyLinkHref:{type:ControlType.String,title:\"Empty link\",defaultValue:\"/cameras\"},emptyLinkLabel:{type:ControlType.String,title:\"Empty label\",defaultValue:\"Start with cameras\"},enquiryHref:{type:ControlType.String,title:\"Enquiry page\",defaultValue:\"/kit-list\"},ownListHref:{type:ControlType.String,title:\"Send your list\",defaultValue:\"/kit-list\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"QtyButton\":{\"type\":\"reactComponent\",\"name\":\"QtyButton\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"KitList\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KitList.map"],"mappings":"+gBAUy+B,SAAwB,EAAQ,CAAC,gBAAc,WAAW,iBAAe,qBAAqB,cAAY,YAAY,cAAY,aAAa,CAAC,GAAK,CAAC,EAAM,GAAUA,EAAS,CAAC,CAAC,EAAO,CAAC,EAAK,GAASA,EAAS,EAAK,EAAO,CAAC,EAAQ,GAAYA,EAAS,EAAK,EAAQ,EAAWC,EAAO,IAAA,EAAS,EAAO,CAAC,EAAM,GAAUD,EAAS,EAAE,EAAO,CAAC,EAAI,GAAQA,EAAS,EAAE,EAAO,CAAC,EAAM,GAAUA,EAAS,EAAK,EAC92C,CAAC,EAAU,GAAcA,EAAS,EAAK,EAAQ,EAASC,EAAO,IAAI,EAAQ,EAAWA,EAAO,IAAI,EAAE,MAAc,CAAC,IAAM,MAAS,EAAS,GAAU,CAAC,EAAS,OAAP,EAAK,EAAS,GAAU,CAAI,CAA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