{"version":3,"file":"GuideProgramCards.CuBpTpi3.mjs","names":["p"],"sources":["https:/framerusercontent.com/modules/sFtiSSCgC9QAmz1txwIN/UZF0Y0iPWjANjAeNhFeR/GuideProgramCards.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const TEXT=\"#0F172A\";const MUTED=\"#57534E\";const SCOPE_COLOR=\"#78716C\";const LABEL_COLOR=\"#78716C\";const CARD_BORDER=\"#E7E2D8\";const CARD_BG=\"#FFFFFF\";const ROWS=[{key:\"breakfast\",label:\"Breakfast\"},{key:\"hotelCredit\",label:\"Hotel credit\"},{key:\"upgrade\",label:\"Upgrade\"},{key:\"checkout\",label:\"Early / late checkout\"},{key:\"loyalty\",label:\"Loyalty earning\"}];/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function GuideProgramCards(props){const programs=props.programs||[];return /*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(auto-fit, minmax(300px, 1fr))\",gap:16,width:\"100%\",alignItems:\"start\",fontFamily:\"Inter, sans-serif\"},children:programs.map((p,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{border:`1px solid ${CARD_BORDER}`,background:CARD_BG,borderRadius:14,padding:\"18px 20px\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:16,fontWeight:700,color:TEXT,marginBottom:2},children:p.name}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:12.5,color:SCOPE_COLOR,lineHeight:1.4,marginBottom:14},children:p.scope}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10},children:ROWS.map(row=>{const value=p[row.key];if(!value)return null;return /*#__PURE__*/_jsxs(\"div\",{style:{borderTop:`1px solid ${CARD_BORDER}`,paddingTop:10},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:11.5,fontWeight:600,letterSpacing:\"0.02em\",textTransform:\"uppercase\",color:LABEL_COLOR,marginBottom:2},children:row.label}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:13.5,lineHeight:1.45,color:MUTED},children:value})]},row.key);})})]},i))});}addPropertyControls(GuideProgramCards,{programs:{type:ControlType.Array,title:\"Programs\",control:{type:ControlType.Object,controls:{name:{type:ControlType.String,title:\"Name\"},scope:{type:ControlType.String,title:\"Scope\",displayTextArea:true},breakfast:{type:ControlType.String,title:\"Breakfast\",optional:true},hotelCredit:{type:ControlType.String,title:\"Hotel Credit\",optional:true},upgrade:{type:ControlType.String,title:\"Upgrade\",optional:true},checkout:{type:ControlType.String,title:\"Checkout\",optional:true},loyalty:{type:ControlType.String,title:\"Loyalty\",optional:true}}},defaultValue:[]}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GuideProgramCards\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GuideProgramCards.map"],"mappings":"8JAGG,SAAwB,EAAkB,EAAM,CAAmC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,oBAAoB,uCAAuC,IAAI,GAAG,MAAM,OAAO,WAAW,QAAQ,WAAW,mBAAmB,EAAE,UAA3M,EAAM,UAAU,CAAC,EAAA,CAA4M,KAAK,EAAE,IAAiB,EAAM,MAAM,CAAC,MAAM,CAAC,OAAO,aAAa,IAAc,WAAW,EAAQ,aAAa,GAAG,QAAQ,YAAY,UAAU,YAAY,EAAE,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,GAAG,WAAW,IAAI,MAAM,EAAK,aAAa,CAAC,EAAE,SAASA,EAAE,IAAI,CAAC,EAAe,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,KAAK,MAAM,EAAY,WA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