"use strict";var React=require("react"),core=require("@gem-sdk/core"),index=require("../constants/index.js");const useSubscriptionSellingType=()=>{let e=core.useProductStore(e=>e.subscriptionSellingType);return React.useMemo(()=>({isOneTime:e===index.SubscriptionEnum.ONE_TIME,isSubscription:e===index.SubscriptionEnum.SUBSCRIPTION,subscriptionSellingType:e}),[e])};exports.useSubscriptionSellingType=useSubscriptionSellingType;
