import{jsx as e}from"react/jsx-runtime";import t from"../../../../text/components/Text.js";import{getSellingPlanLabelAttrs as l}from"../common/attrs.js";import{SubscriptionEnum as r}from"../../../constants/index.js";let SellingPlanLabel=({setting:n,styles:s,id:o})=>{let{sellingTitle:m,sellingTitleOneTime:a,sellingType:i}=n??{},p=i===r.ONE_TIME,x=p?a:m,{typo:g,textAlign:c,direction:f}=l({styles:s,sellingType:i});return e("label",{htmlFor:o,children:e(t,{className:"gp-flex-1",textClassWrapper:"gp-leading-[24px]",styles:{typo:g,textAlign:c,direction:f},setting:{text:x}})})};export{SellingPlanLabel};
