{"version":3,"file":"GSListBase.DPo7yHTB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/sZSEfkiMtX4uRkyPzxVA/SjLrjT6pyK6BgOwU9qA1/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/nU6VWxeq2dAwa3sfMY2F/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\"}},\"renderListStatus\":{\"type\":\"reactComponent\",\"name\":\"renderListStatus\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecommendedBadge\":{\"type\":\"reactComponent\",\"name\":\"RecommendedBadge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"StatusBoxProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RecommendedBadgeProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"StatusBox\":{\"type\":\"reactComponent\",\"name\":\"StatusBox\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"6IAaG,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,EAAM,CAAU,WAAS,CAAC,CAAE,SAAgB,EAAiB,EAAO,EAAS,EAAe,CAAmS,OAA/R,EAAO,OAAO,QAAe,KAAQ,EAAO,OAAO,UAA+B,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,SAAS,WAAW,CAAC,CAAK,EAAO,OAAO,QAA6B,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,OAAO,oBAAoB,CAAC,CAAsB,EAAK,EAAU,CAAC,GAAG,EAAe,SAAS,GAAU,MAAM,EAAS,MAAM,EAAO,QAAQ,CAAC,UAAU,EAAO,UAAU,CAAC,CAAE,SAAgB,EAAiB,CAAC,QAAM,cAAc,QAAM,aAAW,UAAU,QAAM,UAAU,aAAW,6BAA6B,CAAC,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,eAAe,QAAQ,WAAW,SAAS,GAAG,WAAW,IAAI,cAAc,SAAS,cAAc,YAAY,WAAW,EAAE,gBAAgB,EAAW,QAAM,aAAW,aAAa,IAAI,GAAG,EAAM,CAAC,SAAS,EAAM,CAAC,kBAbvmC"}