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AAUU,UAAA4K,EAAAL,MAAmBI,EAGvRxK,EAAAb,cACduL,EAAAhG,EACN,CACAO,IAAA,OACArF,QAAA,YACAC,UAAA,iEAEA8K,OAAAlK,EAAA,GAAAmK,SAAA,QAEApF,GAA6BxF,EAAAb,cAAoBuL,EAAAhG,EAAU,CAAIO,IAAA,OAAArF,QAAA,aAAmC0F,IAClG","sources":["webpack://@logos/commerceweb-frontend/javascript/node_modules/lucide-react/dist/esm/icons/receipt-text.mjs","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-4HTP4IKO.js","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-6QPTOQ5G.js","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-LLLO52LD.js","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-KT4ZOYEC.js","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-NC3UEGS4.js","webpack://@logos/commerceweb-frontend/./node_modules/@faithlife/commerce-components/dist/chunk-UPYNERKC.js"],"sourcesContent":["/**\n * @license lucide-react v1.27.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */\n\nimport createLucideIcon from '../createLucideIcon.mjs';\n\nconst __iconNode = [\n  [\"path\", { d: \"M13 16H8\", key: \"wsln4y\" }],\n  [\"path\", { d: \"M14 8H8\", key: \"1l3xfs\" }],\n  [\"path\", { d: \"M16 12H8\", key: \"1fr5h0\" }],\n  [\n    \"path\",\n    {\n      d: \"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z\",\n      key: \"ycz6yz\"\n    }\n  ]\n];\nconst ReceiptText = createLucideIcon(\"receipt-text\", __iconNode);\n\nexport { __iconNode, ReceiptText as default };\n//# sourceMappingURL=receipt-text.mjs.map\n","// src/components/subscription-pricing-cards/types.ts\nvar SubscriptionBillingPeriodOptions = /* @__PURE__ */ ((SubscriptionBillingPeriodOptions2) => {\n  SubscriptionBillingPeriodOptions2[\"Monthly\"] = \"Monthly\";\n  SubscriptionBillingPeriodOptions2[\"AnnualBilledMonthly\"] = \"AnnualBilledMonthly\";\n  SubscriptionBillingPeriodOptions2[\"Annual\"] = \"Annual\";\n  SubscriptionBillingPeriodOptions2[\"MultiAnnual\"] = \"MultiAnnual\";\n  return SubscriptionBillingPeriodOptions2;\n})(SubscriptionBillingPeriodOptions || {});\nvar SubscriptionPricingCardFormatOptions = /* @__PURE__ */ ((SubscriptionPricingCardFormatOptions2) => {\n  SubscriptionPricingCardFormatOptions2[\"Full\"] = \"Full\";\n  SubscriptionPricingCardFormatOptions2[\"Mini\"] = \"Mini\";\n  SubscriptionPricingCardFormatOptions2[\"Micro\"] = \"Micro\";\n  SubscriptionPricingCardFormatOptions2[\"MicroAlt\"] = \"MicroAlt\";\n  return SubscriptionPricingCardFormatOptions2;\n})(SubscriptionPricingCardFormatOptions || {});\n\n// src/components/subscription-pricing-cards/subscription-pricing-cards-context-provider.tsx\nimport React, { useState } from \"react\";\n\n// src/components/subscription-pricing-cards/subscription-pricing-cards-context.ts\nimport { createContext, useContext } from \"react\";\nvar SubscriptionPricingCardsContext = createContext(\n  null\n);\nfunction useSubscriptionPricingCardsContext() {\n  return useContext(SubscriptionPricingCardsContext);\n}\n\n// src/components/subscription-pricing-cards/subscription-pricing-cards-context-provider.tsx\nvar SubscriptionPricingCardsContextProvider = ({\n  initialValue,\n  children\n}) => {\n  const [annualSavingsPercentage, setAnnualSavingsPercentage] = useState(null);\n  const handleAddSpoidToCartSuccess = (spoid) => {\n    initialValue.setSelectedSpoid?.(spoid);\n    initialValue.handleShowLibraryUpsellModal?.(spoid);\n  };\n  return /* @__PURE__ */ React.createElement(\n    SubscriptionPricingCardsContext.Provider,\n    {\n      value: {\n        annualSavingsPercentage,\n        setAnnualSavingsPercentage,\n        handleAddSpoidToCartSuccess,\n        ...initialValue\n      }\n    },\n    children\n  );\n};\n\nexport {\n  SubscriptionBillingPeriodOptions,\n  SubscriptionPricingCardFormatOptions,\n  SubscriptionPricingCardsContext,\n  useSubscriptionPricingCardsContext,\n  SubscriptionPricingCardsContextProvider\n};\n//# sourceMappingURL=chunk-4HTP4IKO.js.map","import {\n  ListItem,\n  listItemVariants\n} from \"./chunk-UPYNERKC.js\";\nimport {\n  cn\n} from \"./chunk-NZVMNINS.js\";\n\n// src/components/list/component.tsx\nimport React from \"react\";\nfunction List({\n  children,\n  numbered = false,\n  variant = \"default\",\n  className,\n  \"data-testid\": testId\n}) {\n  const Tag = numbered ? \"ol\" : \"ul\";\n  return /* @__PURE__ */ React.createElement(\n    Tag,\n    {\n      className: cn(\"tw-preflight flex flex-col\", listItemVariants[variant].listGap, className),\n      \"data-testid\": testId\n    },\n    React.Children.map(\n      children,\n      (child, index) => React.isValidElement(child) && child.type === ListItem ? (\n        // Numbering is purely positional, so it's derived from child order rather than authored per item.\n        React.cloneElement(child, { variant, ...numbered ? { index } : {} })\n      ) : child\n    )\n  );\n}\n\nexport {\n  List\n};\n//# sourceMappingURL=chunk-6QPTOQ5G.js.map","import {\n  List\n} from \"./chunk-6QPTOQ5G.js\";\nimport {\n  ListItem\n} from \"./chunk-UPYNERKC.js\";\nimport {\n  useSubscriptionPricingCardsContext\n} from \"./chunk-4HTP4IKO.js\";\nimport {\n  useSubscriptionProductData\n} from \"./chunk-NC3UEGS4.js\";\nimport {\n  Badge\n} from \"./chunk-4TY4ZLJA.js\";\nimport {\n  useProductCardActions\n} from \"./chunk-YKNRUA43.js\";\nimport {\n  Button\n} from \"./chunk-NXVEBOBO.js\";\nimport {\n  AiIcon,\n  ConfirmIcon,\n  LibrariesIcon\n} from \"./chunk-ICYG44B4.js\";\nimport {\n  commerceResourceDefaults,\n  useResources\n} from \"./chunk-A263RQU4.js\";\nimport {\n  Typography\n} from \"./chunk-P4MY4MXU.js\";\nimport {\n  LocalizeComponent,\n  cn\n} from \"./chunk-NZVMNINS.js\";\n\n// src/components/subscription-product-card/component.tsx\nimport React, { useEffect } from \"react\";\nimport { useTranslations } from \"use-intl\";\nfunction resolveLabelsAndNotes(t, {\n  isCurrentPlan,\n  isSelected,\n  selectedBillingMode,\n  subscriptionProductData\n}) {\n  const {\n    title,\n    hasSubscription,\n    isGroupSubscription,\n    freeTrialDays,\n    initialCharge,\n    isMultiAnnualSubscription\n  } = subscriptionProductData;\n  const isUserEligibleForFreeTrial = (freeTrialDays ?? 0) > 0;\n  let ctaLabel;\n  if (isCurrentPlan) {\n    ctaLabel = t(\"currentPlan\");\n  } else if (isSelected) {\n    ctaLabel = t(\"continueWith\", { title });\n  } else if (!isGroupSubscription && hasSubscription) {\n    ctaLabel = t(\"switchTo\", { title });\n  } else if (isUserEligibleForFreeTrial || isGroupSubscription) {\n    ctaLabel = t(\"startFreeTrial\", { days: freeTrialDays || 30 });\n  } else {\n    ctaLabel = t(\"subscribe\");\n  }\n  let billingNote;\n  if (isMultiAnnualSubscription) {\n    billingNote = isUserEligibleForFreeTrial ? t(\"billedOnceAfterFreeTrial\", { initialCharge, days: freeTrialDays }) : t(\"billedOnceThenRenews\", { initialCharge });\n  } else if (selectedBillingMode === \"Annual\" /* Annual */) {\n    billingNote = isUserEligibleForFreeTrial ? t(\"billedAnnuallyAfterFreeTrial\", { initialCharge, days: freeTrialDays }) : t(\"billedAnnually\", { initialCharge });\n  } else if (isUserEligibleForFreeTrial) {\n    billingNote = t(\"afterFreeTrial\", { days: freeTrialDays });\n  }\n  const billingNoteAddendum = isMultiAnnualSubscription && isUserEligibleForFreeTrial ? t(\"renewsAnnuallyAfterTwoYears\") : \"\";\n  return { ctaLabel, billingNote, billingNoteAddendum };\n}\nfunction SubscriptionProductCardCore({\n  badge,\n  variant = \"default\",\n  spoid,\n  description,\n  featuresHeader,\n  features = [],\n  libraryNote,\n  aiFeatures,\n  selectedBillingMode = \"Monthly\" /* Monthly */,\n  subscriptionProductData,\n  onAddSpoidToCartSuccess,\n  couponCodes,\n  className,\n  \"data-testid\": testId,\n  ...rest\n}) {\n  const {\n    title,\n    strikeoutPrice,\n    strikeoutPriceDescription,\n    pricePerMonth,\n    canSubscribe,\n    isUserSubscribedToSpoid,\n    isMultiAnnualSubscription,\n    initialChargeLocalized\n  } = subscriptionProductData;\n  const isCurrentPlan = !canSubscribe && isUserSubscribedToSpoid;\n  const {\n    selectedSpoid,\n    format = \"Full\" /* Full */,\n    selectedSubscribableProduct: subscribableProductInCart,\n    purchaseAllowed = true\n  } = useSubscriptionPricingCardsContext() ?? {};\n  const isSelected = !isCurrentPlan && selectedSpoid === spoid && subscribableProductInCart?.isMultiAnnualSubscription === isMultiAnnualSubscription;\n  const t = useTranslations(\"\");\n  const { ctaLabel, billingNote, billingNoteAddendum } = resolveLabelsAndNotes(t, {\n    isCurrentPlan,\n    isSelected,\n    selectedBillingMode,\n    subscriptionProductData\n  });\n  const { handleAddSpoidToCart, onAddToCartRequest } = useProductCardActions(onAddSpoidToCartSuccess);\n  const getButtonVariant = () => {\n    if (!selectedSpoid || isSelected) {\n      return \"primary\";\n    }\n    return \"secondary\";\n  };\n  const ctaButton = /* @__PURE__ */ React.createElement(\n    Button,\n    {\n      variant: getButtonVariant(),\n      scale: {\n        [\"Full\" /* Full */]: \"large\",\n        [\"Mini\" /* Mini */]: \"medium\",\n        [\"Micro\" /* Micro */]: \"small\",\n        [\"MicroAlt\" /* MicroAlt */]: \"medium\"\n      }[format],\n      className: cn(\n        \"w-full\",\n        format === \"Micro\" /* Micro */ && \"col-start-2\"\n      ),\n      onClick: () => handleAddSpoidToCart(spoid, isMultiAnnualSubscription ? 2 : 1, couponCodes),\n      disabled: isCurrentPlan || !purchaseAllowed\n    },\n    ctaLabel\n  );\n  const isFeatured = variant === \"featured\";\n  return /* @__PURE__ */ React.createElement(\n    \"div\",\n    {\n      ...rest,\n      className: cn(\n        \"tw-preflight gap-sp24 min-h-full rounded border bg-white px-4.5\",\n        isFeatured ? \"border-border-strong border-2\" : \"border-border\",\n        format === \"Full\" /* Full */ ? (\n          /* inherits grid rows from parent, if there is no parent grid, the default layout of automatically-sized content-based grid rows will prevent any additional space from being added */\n          \"p-sp24 grid lg:row-span-2 lg:grid-rows-subgrid\"\n        ) : \"p-sp16 flex flex-col justify-between rounded-b-none border-b-0\",\n        className\n      ),\n      \"data-testid\": testId\n    },\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp24 row-start-1 flex flex-col justify-between\" }, /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp16 flex items-start justify-between\" }, /* @__PURE__ */ React.createElement(\n      Typography,\n      {\n        variant: format === \"Full\" /* Full */ ? \"headingH4\" : format === \"Mini\" /* Mini */ ? \"headingH5\" : \"headingH6\",\n        color: \"primary\",\n        className: \"min-w-0 flex-1\"\n      },\n      title\n    ), badge && /* @__PURE__ */ React.createElement(\n      Badge,\n      {\n        variant: \"inverse\",\n        scale: \"sm\",\n        className: \"shrink-0\",\n        typographyVariant: [\n          \"Full\" /* Full */,\n          \"Mini\" /* Mini */\n        ].includes(format) ? \"ui2\" : \"ui4\"\n      },\n      badge\n    )), /* @__PURE__ */ React.createElement(\n      \"div\",\n      {\n        className: cn(\n          [\n            \"Full\" /* Full */,\n            \"Mini\" /* Mini */\n          ].includes(format) ? \"gap-sp6 flex flex-col justify-between\" : format === \"Micro\" /* Micro */ ? \"gap-sp8 grid grid-cols-[1fr_auto] grid-rows-[1fr] justify-between\" : \"\"\n        )\n      },\n      [\n        \"Full\" /* Full */,\n        \"Mini\" /* Mini */\n      ].includes(format) && /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp6 flex items-center\" }, strikeoutPrice && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"ui4\", className: \"text-foreground line-through\" }, strikeoutPrice), strikeoutPriceDescription && /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"ui4\", className: \"text-foreground\" }, strikeoutPriceDescription))),\n      /* @__PURE__ */ React.createElement(\n        Typography,\n        {\n          tag: \"h3\",\n          variant: format === \"Full\" /* Full */ ? \"headingH3\" : format === \"Mini\" /* Mini */ ? \"headingH4\" : \"headingH6\",\n          className: cn(\n            \"text-foreground font-semibold\",\n            format === \"Micro\" /* Micro */ && \"col-start-1 self-center\"\n          )\n        },\n        pricePerMonth\n      ),\n      format === \"Micro\" /* Micro */ && onAddToCartRequest && ctaButton,\n      [\n        \"Full\" /* Full */,\n        \"Mini\" /* Mini */\n      ].includes(format) && /* @__PURE__ */ React.createElement(\"div\", { className: \"flex flex-col\" }, initialChargeLocalized && /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"bodySmall\", className: \"text-foreground\" }, `(${initialChargeLocalized})`), /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"bodySmall\", className: \"text-foreground\" }, billingNote), billingNoteAddendum && /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"bodySmall\", className: \"text-foreground\" }, billingNoteAddendum))\n    ), [\n      \"Full\" /* Full */,\n      \"Mini\" /* Mini */\n    ].includes(format) && description && /* @__PURE__ */ React.createElement(\n      Typography,\n      {\n        variant: \"bodyRegular\",\n        className: cn(\n          \"text-foreground\",\n          format === \"Mini\" /* Mini */ && \"min-h-10\"\n        )\n      },\n      description\n    ), format === \"Full\" /* Full */ && onAddToCartRequest && ctaButton),\n    format === \"Full\" /* Full */ && /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp24 row-start-2 flex flex-col\" }, (featuresHeader || features.length > 0) && /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp12 flex flex-col\" }, featuresHeader && /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"ui1\", className: \"text-foreground font-semibold\" }, featuresHeader), features.length > 0 && /* @__PURE__ */ React.createElement(List, null, features.map(\n      (feature) => feature.type === \"category\" ? /* @__PURE__ */ React.createElement(\n        Typography,\n        {\n          key: feature.text,\n          tag: \"li\",\n          variant: \"bodySmall\",\n          className: \"bg-surface-tint px-sp8 py-sp4 font-body leading-4 font-semibold tracking-normal\"\n        },\n        feature.text\n      ) : /* @__PURE__ */ React.createElement(\n        ListItem,\n        {\n          key: feature.text,\n          icon: /* @__PURE__ */ React.createElement(ConfirmIcon, { size: 16 }),\n          text: feature.text\n        }\n      )\n    ))), libraryNote && /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp6 flex items-center\" }, /* @__PURE__ */ React.createElement(LibrariesIcon, { className: \"text-foreground\", width: 12, height: 12 }), /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"ui2\", className: \"text-foreground\" }, libraryNote)), aiFeatures && aiFeatures.length > 0 && /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(\"div\", { className: \"flex flex-1 flex-col justify-end\" }, /* @__PURE__ */ React.createElement(List, null, aiFeatures.map((feature) => /* @__PURE__ */ React.createElement(\n      ListItem,\n      {\n        key: feature.text,\n        icon: /* @__PURE__ */ React.createElement(AiIcon, { size: 16 }),\n        text: feature.text,\n        className: \"bg-surface-tint p-sp8\"\n      }\n    )))))),\n    [\n      \"Mini\" /* Mini */,\n      \"MicroAlt\" /* MicroAlt */\n    ].includes(format) && onAddToCartRequest && ctaButton\n  );\n}\nfunction SubscriptionProductCard(props) {\n  return /* @__PURE__ */ React.createElement(LocalizeComponent, { messages: props.subscriptionProductData.localizedResources }, /* @__PURE__ */ React.createElement(SubscriptionProductCardCore, { ...props }));\n}\nfunction SubscriptionProductCardSkeleton({\n  className,\n  \"data-testid\": testId,\n  ...rest\n}) {\n  return /* @__PURE__ */ React.createElement(\n    \"div\",\n    {\n      ...rest,\n      className: cn(\n        \"tw-preflight gap-sp16 p-sp24 flex animate-pulse flex-col rounded-sm border motion-reduce:animate-none\",\n        className\n      ),\n      \"data-testid\": testId\n    },\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-6 w-24 rounded\" }),\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp4 flex flex-col\" }, /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-4 w-32 rounded\" }), /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-8 w-24 rounded\" }), /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-3 w-full rounded\" })),\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-3 w-3/4 rounded\" }),\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-10 w-full rounded\" }),\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-1 w-full\" }),\n    /* @__PURE__ */ React.createElement(\"div\", { className: \"gap-sp8 flex flex-col\" }, /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-4 w-20 rounded\" }), /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-3 w-full rounded\" }), /* @__PURE__ */ React.createElement(\"div\", { className: \"bg-surface-tint h-3 w-full rounded\" }))\n  );\n}\nfunction SubscriptionProductCardError({\n  message,\n  className,\n  \"data-testid\": testId,\n  ...rest\n}) {\n  return /* @__PURE__ */ React.createElement(\n    \"div\",\n    {\n      ...rest,\n      className: cn(\"tw-preflight border-border p-sp24 rounded-sm border\", className),\n      \"data-testid\": testId\n    },\n    /* @__PURE__ */ React.createElement(Typography, { variant: \"bodySmall\", className: \"text-error\" }, message)\n  );\n}\nfunction ConnectedSubscriptionProductCard({\n  badge,\n  variant,\n  spoid = \"\",\n  alternateSpoid,\n  description,\n  featuresHeader,\n  features,\n  libraryNote,\n  aiFeatures,\n  className,\n  \"data-testid\": testId,\n  ...rest\n}) {\n  const context = useSubscriptionPricingCardsContext();\n  const resources = {\n    ...commerceResourceDefaults.subscriptionProductCard,\n    ...useResources().subscriptionProductCard\n  };\n  const { selectedBillingMode, couponCodes } = context ?? {};\n  const cardSpoids = context?.selectedCardSpoids ?? { spoid, alternateSpoid };\n  const resolvedSpoid = selectedBillingMode !== \"Monthly\" /* Monthly */ && selectedBillingMode !== \"AnnualBilledMonthly\" /* AnnualBilledMonthly */ && cardSpoids.alternateSpoid ? cardSpoids.alternateSpoid : cardSpoids.spoid;\n  const { data, isLoading, error } = useSubscriptionProductData(\n    resolvedSpoid,\n    couponCodes,\n    selectedBillingMode === \"MultiAnnual\" /* MultiAnnual */\n  );\n  useEffect(() => {\n    if (!context?.annualSavingsPercentage && data?.annualSavingsPercentage) {\n      context?.setAnnualSavingsPercentage?.(data.annualSavingsPercentage);\n    }\n  }, [context, data?.annualSavingsPercentage]);\n  if (isLoading) {\n    return /* @__PURE__ */ React.createElement(SubscriptionProductCardSkeleton, { ...rest, className, \"data-testid\": testId });\n  }\n  if (error || !data) {\n    const message = error ? (resources.failedToLoadProduct ?? commerceResourceDefaults.subscriptionProductCard.failedToLoadProduct)(resolvedSpoid) : (resources.productNotFound ?? commerceResourceDefaults.subscriptionProductCard.productNotFound)(resolvedSpoid);\n    return /* @__PURE__ */ React.createElement(\n      SubscriptionProductCardError,\n      {\n        ...rest,\n        className,\n        \"data-testid\": testId,\n        message\n      }\n    );\n  }\n  return /* @__PURE__ */ React.createElement(\n    SubscriptionProductCard,\n    {\n      ...rest,\n      subscriptionProductData: data,\n      spoid: resolvedSpoid,\n      selectedBillingMode,\n      badge,\n      variant,\n      description,\n      featuresHeader,\n      features,\n      libraryNote,\n      aiFeatures,\n      className,\n      \"data-testid\": testId,\n      onAddSpoidToCartSuccess: context?.handleAddSpoidToCartSuccess,\n      couponCodes\n    }\n  );\n}\n\nexport {\n  SubscriptionProductCard,\n  SubscriptionProductCardSkeleton,\n  SubscriptionProductCardError,\n  ConnectedSubscriptionProductCard\n};\n//# sourceMappingURL=chunk-LLLO52LD.js.map","import {\n  ConnectedSubscriptionProductCard\n} from \"./chunk-LLLO52LD.js\";\nimport {\n  lucideIconUri\n} from \"./chunk-BEFWWR2C.js\";\nimport {\n  getStorybookDocsUrlForMolecule\n} from \"./chunk-QJ7P73DS.js\";\nimport {\n  withBuilderAttributes\n} from \"./chunk-NZVMNINS.js\";\n\n// src/components/subscription-product-card/register.tsx\nimport { Builder } from \"@builder.io/react\";\nimport { ReceiptText } from \"lucide-react\";\nvar WrappedSubscriptionProductCard = withBuilderAttributes(ConnectedSubscriptionProductCard);\nvar isInsideL4CPricing = (_options, _parent, parentElements) => Boolean(parentElements?.some((element) => element.component?.name === \"L4CPricing\"));\nvar isOutsideL4CPricing = (_options, _parent, parentElements) => !parentElements?.some((element) => element.component?.name === \"L4CPricing\");\nvar variantInput = {\n  name: \"variant\",\n  friendlyName: \"Variant\",\n  type: \"string\",\n  enum: [\"default\", \"featured\"],\n  defaultValue: \"default\",\n  helperText: \"Select a variant to apply preset styling.\"\n};\nvar registerComponent = () => {\n  Builder.registerComponent(WrappedSubscriptionProductCard, {\n    name: \"v2: SubscriptionProductCard\",\n    friendlyName: \"Subscription Product Card\",\n    image: lucideIconUri(ReceiptText),\n    docsLink: getStorybookDocsUrlForMolecule(\"subscription-product-card\", \"premium\"),\n    canHaveChildren: false,\n    noWrap: true,\n    inputs: [\n      {\n        ...variantInput,\n        showIf: isOutsideL4CPricing\n      },\n      {\n        ...variantInput,\n        helperText: `${variantInput.helperText} Inside L4C Pricing, SPOIDs are controlled by L4C Attendance Options.`,\n        showIf: isInsideL4CPricing\n      },\n      {\n        name: \"badge\",\n        friendlyName: \"Badge\",\n        type: \"string\",\n        helperText: \"Optional badge text to display on the card.\"\n      },\n      {\n        name: \"spoid\",\n        friendlyName: \"SPOID\",\n        type: \"string\",\n        showIf: isOutsideL4CPricing,\n        helperText: \"The subscribable product option ID (SPOID) to fetch and display. Optional when supplied by L4C Pricing attendance options. When used with an Alternate SPOID, this is the monthly SPOID; otherwise it may be monthly or annual.\"\n      },\n      {\n        name: \"alternateSpoid\",\n        friendlyName: \"Alternate SPOID\",\n        type: \"string\",\n        showIf: isOutsideL4CPricing,\n        helperText: \"Optional annual SPOID. When used, this SPOID must be the annual SPOID.\"\n      },\n      {\n        name: \"description\",\n        friendlyName: \"Description\",\n        type: \"string\",\n        helperText: \"Optional description to display below the product name, overriding any description from the context data.\"\n      },\n      {\n        name: \"featuresHeader\",\n        friendlyName: \"Features Header\",\n        type: \"string\",\n        helperText: \"Optional header text to display above the features list, overriding any header from the context data.\"\n      },\n      {\n        name: \"features\",\n        friendlyName: \"Features\",\n        type: \"list\",\n        subFields: [\n          {\n            name: \"text\",\n            type: \"string\",\n            required: true,\n            helperText: \"Feature text to display in the features list.\"\n          },\n          {\n            name: \"type\",\n            friendlyName: \"Entry Type\",\n            type: \"string\",\n            enum: [\"feature\", \"category\"],\n            helperText: \"Choose category for a blue-tinted subtitle without an icon.\"\n          }\n        ]\n      },\n      {\n        name: \"libraryNote\",\n        friendlyName: \"Library Note\",\n        type: \"string\",\n        helperText: \"Optional note about library access or recommendations, displayed after the features list.\"\n      },\n      {\n        name: \"aiFeatures\",\n        friendlyName: \"AI Features\",\n        type: \"list\",\n        subFields: [\n          {\n            name: \"text\",\n            type: \"string\",\n            required: true,\n            helperText: \"AI feature text to display in the AI features list.\"\n          }\n        ]\n      }\n    ]\n  });\n};\n\nexport {\n  registerComponent\n};\n//# sourceMappingURL=chunk-KT4ZOYEC.js.map","import {\n  useSubscriptionContext\n} from \"./chunk-S5VM5FVP.js\";\nimport {\n  useEmptyDataResult\n} from \"./chunk-4GZNZVEG.js\";\n\n// src/hooks/use-subscription-product-data.ts\nfunction useSubscriptionProductData(spoid, couponCodes, isMultiAnnual) {\n  const { useSubscriptionProductData: useImpl = useEmptyDataResult } = useSubscriptionContext();\n  return useImpl(spoid, couponCodes, isMultiAnnual);\n}\n\nexport {\n  useSubscriptionProductData\n};\n//# sourceMappingURL=chunk-NC3UEGS4.js.map","import {\n  Typography\n} from \"./chunk-P4MY4MXU.js\";\nimport {\n  cn\n} from \"./chunk-NZVMNINS.js\";\n\n// src/components/list-item/component.tsx\nimport React from \"react\";\n\n// src/components/list-item/list-item-variants.ts\nvar listItemVariants = {\n  compact: {\n    container: \"\",\n    content: \"flex items-start gap-sp6\",\n    spec: \"flex min-h-6 shrink-0 items-center\",\n    listGap: \"gap-sp6\"\n  },\n  default: {\n    container: \"\",\n    content: \"flex items-start gap-sp8\",\n    spec: \"flex min-h-6 shrink-0 items-center\",\n    listGap: \"gap-sp12\"\n  },\n  divided: {\n    container: \"border-t\",\n    content: \"flex items-start gap-sp24 py-sp12\",\n    spec: \"flex min-h-6 shrink-0 items-center gap-sp6\",\n    listGap: \"\"\n  }\n};\n\n// src/components/list-item/component.tsx\nfunction ListItem({\n  icon,\n  text,\n  index,\n  variant = \"default\",\n  className,\n  \"data-testid\": testId,\n  ...rest\n}) {\n  const isNumbered = index !== void 0;\n  const v = listItemVariants[variant];\n  return /* @__PURE__ */ React.createElement(\"li\", { className: cn(\"tw-preflight\", v.container, className), \"data-testid\": testId, ...rest }, /* @__PURE__ */ React.createElement(\"div\", { className: v.content }, (isNumbered || icon) && /* @__PURE__ */ React.createElement(\"div\", { className: v.spec }, isNumbered ? (\n    // heading-h5's font metrics reserve descender space below the digits; nudge down to optically center.\n    // Fixed 2ch width + tabular-nums reserves identical space for every step so item text stays aligned.\n    /* @__PURE__ */ React.createElement(\n      Typography,\n      {\n        tag: \"span\",\n        variant: \"headingH5\",\n        className: \"w-[2ch] translate-y-0.5 text-center leading-none tabular-nums\"\n      },\n      String(index + 1).padStart(2, \"0\")\n    )\n  ) : icon), /* @__PURE__ */ React.createElement(Typography, { tag: \"span\", variant: \"bodySmall\" }, text)));\n}\n\nexport {\n  listItemVariants,\n  ListItem\n};\n//# sourceMappingURL=chunk-UPYNERKC.js.map"],"names":["ReceiptText","A","d","key","SubscriptionBillingPeriodOptions","SubscriptionBillingPeriodOptions2","SubscriptionPricingCardFormatOptions","SubscriptionPricingCardFormatOptions2","SubscriptionPricingCardsContext","react__WEBPACK_IMPORTED_MODULE_0__","createContext","useSubscriptionPricingCardsContext","useContext","SubscriptionPricingCardsContextProvider","initialValue","children","annualSavingsPercentage","setAnnualSavingsPercentage","useState","createElement","Provider","value","handleAddSpoidToCartSuccess","spoid","setSelectedSpoid","handleShowLibraryUpsellModal","List","numbered","variant","className","testId","Tag","react__WEBPACK_IMPORTED_MODULE_2__","_chunk_NZVMNINS_js__WEBPACK_IMPORTED_MODULE_1__","cn","_chunk_UPYNERKC_js__WEBPACK_IMPORTED_MODULE_0__","I","listGap","Children","map","child","index","isValidElement","type","c","cloneElement","SubscriptionProductCardCore","badge","description","featuresHeader","features","libraryNote","aiFeatures","selectedBillingMode","subscriptionProductData","onAddSpoidToCartSuccess","couponCodes","rest","title","strikeoutPrice","strikeoutPriceDescription","pricePerMonth","canSubscribe","isUserSubscribedToSpoid","isMultiAnnualSubscription","initialChargeLocalized","isCurrentPlan","selectedSpoid","format","selectedSubscribableProduct","subscribableProductInCart","purchaseAllowed","chunk_4HTP4IKO","Nv","isSelected","t","production","c3","ctaLabel","billingNote","billingNoteAddendum","hasSubscription","isGroupSubscription","freeTrialDays","initialCharge","isUserEligibleForFreeTrial","days","resolveLabelsAndNotes","handleAddSpoidToCart","onAddToCartRequest","chunk_YKNRUA43","_","ctaButton","react","chunk_NXVEBOBO","$n","scale","Full","Mini","Micro","MicroAlt","chunk_NZVMNINS","onClick","disabled","isFeatured","chunk_P4MY4MXU","o","color","chunk_4TY4ZLJA","E","typographyVariant","includes","Fragment","tag","length","chunk_6QPTOQ5G","B","feature","text","chunk_UPYNERKC","icon","chunk_ICYG44B4","Mw","size","p","width","height","KH","SubscriptionProductCard","props","l4","messages","localizedResources","SubscriptionProductCardSkeleton","SubscriptionProductCardError","message","WrappedSubscriptionProductCard","$l","alternateSpoid","context","resources","chunk_A263RQU4","SS","subscriptionProductCard","fn","cardSpoids","selectedCardSpoids","resolvedSpoid","data","isLoading","error","chunk_NC3UEGS4","useEffect","failedToLoadProduct","productNotFound","isInsideL4CPricing","_options","_parent","parentElements","Boolean","some","element","component","name","isOutsideL4CPricing","variantInput","friendlyName","enum","defaultValue","helperText","registerComponent","builder_react_es5","M$","image","chunk_BEFWWR2C","receipt_text","docsLink","chunk_QJ7P73DS","Im","canHaveChildren","noWrap","inputs","showIf","subFields","required","useSubscriptionProductData","isMultiAnnual","useImpl","_chunk_4GZNZVEG_js__WEBPACK_IMPORTED_MODULE_1__","G","_chunk_S5VM5FVP_js__WEBPACK_IMPORTED_MODULE_0__","ue","listItemVariants","compact","container","content","spec","default","divided","ListItem","isNumbered","v","_chunk_P4MY4MXU_js__WEBPACK_IMPORTED_MODULE_0__","String","padStart"],"sourceRoot":""}