{"version":3,"file":"GSListBase.BE5dLP9X.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sZSEfkiMtX4uRkyPzxVA/s0Sb7mVuBqHDvZQYRDnW/GSListBase.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";/**\n * GSListBase\n *\n * Shared base for list components (GSCarePreferenceList, GSServiceLevelList,\n * GSPackageList, GSPersonalizationCatalog). Not exposed to the Framer canvas.\n *\n * All API infrastructure, hooks, node types, and formatters now live in\n * `GSAPI.tsx`. This file re-exports everything from there so existing list\n * component imports continue to work unchanged, then adds the list-specific\n * UI components: `StatusBox`, `renderListStatus`, and `RecommendedBadge`.\n */// Re-export the entire shared API layer so list components only need one import.\nexport*from\"https://framerusercontent.com/modules/AmpdlNC8yKAHZpAjq4Bd/KBF1tUsCV9sBLFjIzY0L/GSAPI.js\";/**\n * Neutral, theme-able container used for loading / error / empty messaging.\n */export function StatusBox({children,style,color=\"#999\",fontFamily=\"sans-serif\",fontSize=14}){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:\"32px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontSize,color,fontFamily,...style},children:children});}export function renderListStatus(status,messages,statusBoxProps){if(status.kind===\"ready\")return null;if(status.kind===\"loading\"){return /*#__PURE__*/_jsx(StatusBox,{...statusBoxProps,children:messages?.loading??\"Loading…\"});}if(status.kind===\"empty\"){return /*#__PURE__*/_jsx(StatusBox,{...statusBoxProps,children:messages?.empty??\"No results found.\"});}return /*#__PURE__*/_jsx(StatusBox,{...statusBoxProps,children:messages?.error?messages.error(status.message):`Error: ${status.message}`});}export function RecommendedBadge({label=\"Recommended\",style,background=\"#1F313A\",color=\"#FFFFFF\",fontFamily=`\"Nunito Sans\", sans-serif`}){return /*#__PURE__*/_jsx(\"span\",{style:{display:\"inline-block\",padding:\"4px 10px\",fontSize:11,fontWeight:700,letterSpacing:\"0.08em\",textTransform:\"uppercase\",lineHeight:1,backgroundColor:background,color,fontFamily,borderRadius:999,...style},children:label});}\nexport const __FramerMetadata__ = {\"exports\":{\"ListStatusMessages\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecommendedBadgeProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"renderListStatus\":{\"type\":\"reactComponent\",\"name\":\"renderListStatus\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecommendedBadge\":{\"type\":\"reactComponent\",\"name\":\"RecommendedBadge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StatusBox\":{\"type\":\"reactComponent\",\"name\":\"StatusBox\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StatusBoxProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sJAaG,SAAgB,EAAU,CAAC,WAAS,QAAM,QAAM,OAAO,aAAW,aAAa,WAAS,IAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,QAAQ,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,WAAS,QAAM,aAAW,GAAG,CAAK,EAAW,UAAQ,CAAC,CAAE,CAAC,SAAgB,EAAiB,EAAO,EAAS,EAAe,CAAmS,OAA/R,EAAO,OAAO,QAAe,KAAQ,EAAO,OAAO,UAA+B,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,SAAS,UAAU,CAAC,EAAM,EAAO,OAAO,QAA6B,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,OAAO,mBAAmB,CAAC,EAAuB,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,MAAM,EAAS,MAAM,EAAO,OAAO,EAAE,UAAU,EAAO,SAAS,CAAC,CAAE,iBAb3tB"}