"use strict";var e=require("react/jsx-runtime"),r=require("react"),s=require("@gem-sdk/core"),t=require("../../../../../common/components/TooltipHover.js"),i=require("../../../constants/index.js");const a=r.forwardRef(({setting:r},a)=>{let{t:o}=s.useI18nStore();return e.jsx("div",{ref:a,"data-selling-type":r?.sellingType,id:"product-subscription",children:e.jsx(t.default,{enable:!0,text:o("Not be displayed when published"),width:"205px",position:"bottom",className:"gp-arrow-left-offset-10",children:e.jsx("div",{className:"gp-px-2 gp-py-1 gp-flex gp-border gp-border-light-200 gp-items-center gp-justify-center gp-rounded-lg gp-w-fit",style:{borderStyle:"dashed",strokeDasharray:"2,2"},children:e.jsx("span",{className:"gp-text-dark-400 gp-text-[12px] gp-leading-5",children:o(r?.sellingType===i.SubscriptionEnum.ONE_TIME?"This product is only available as a subscription":"This product is only available as a one-time purchase")})})})})});a.displayName="OneTimePurchaseTooltip",exports.OneTimePurchaseTooltip=a;
