1import{l as N,u as f,j as e,S as k,B as g,ag as b}from"./index-BBlr5mjY.js";import{r as c,J as w,N as v}from"./vendor-icons-DdDstFZX.js";import{S as y}from"./slider-Bn4fV13U.js";import"./index-BdQq_4o_.js";const S=({value:s,suffix:l=""})=>{const[o,t]=c.useState(s),r=c.useRef(s);c.useEffect(()=>{const a=r.current,m=s;if(r.current=s,a===m)return;const x=500;let n=0,i=0;const p=u=>{n||(n=u);const h=Math.min((u-n)/x,1),j=1-Math.pow(1-h,3);t(Math.round(a+(m-a)*j)),h<1&&(i=requestAnimationFrame(p))};return i=requestAnimationFrame(p),()=>cancelAnimationFrame(i)},[s]);const d=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:0,maximumFractionDigits:0}).format(o);return e.jsxs("span",{dir:"ltr",children:[d,l]})},A=()=>{const[s,l]=c.useState([1e6]),{openDemo:o}=N(),{t}=f(),r=4.9,d=6,a=s[0]*r/100,x=s[0]*d/100-a,n=i=>i>=1e6?`$${(i/1e6).toFixed(1)}M`:`$${(i/1e3).toFixed(0)}K`;return e.jsx("section",{id:"pricing",className:"rt-section rt-section--tint",children:e.jsxs("div",{className:"rt-container",children:[e.jsx(k,{eyebrow:t("pricing.badge"),title:e.jsxs(e.Fragment,{children:[t("pricing.title")," ",t("pricing.titleHighlight")]}),lead:t("pricing.description"),aside:e.jsxs("a",{className:"rt-link text-[0.9375rem]",href:"/pricing",children:[t("nav.pricing"),e.jsx(w,{className:"rt-arrow","aria-hidden":"true"})]})}),e.jsxs("div",{className:"rt-split",children:[e.jsxs("section",{className:"rt-card",children:[e.jsx("p",{className:"rt-eyebrow",children:t("pricing.rentalTide")}),e.jsxs("p",{className:"flex flex-wrap items-baseline gap-x-3",children:[e.jsx("span",{dir:"ltr",className:"rt-readout text-num-xl text-ink",children:t("pricing.rateReadout")}),e.jsx("span",{className:"text-lead text-ink-muted",children:t("cta.stats.perTransaction")})]}),e.jsxs("p",{className:"mt-3 text-body text-ink-muted max-w-[52ch]",children:[t("pricing.lessThan5M"),". ",t("pricing.noSetupCosts"),". ",t("pricing.cancelAnytime"),"."]}),e.jsxs("dl",{className:"mt-6",children:[e.jsxs("div",{className:"rt-row",children:[e.jsx("dt",{className:"text-row-title text-ink",children:t("pricing.rentalTide")}),e.jsxs("dd",{className:"rt-row__value flex items-center gap-3",children:[e.jsx("span",{className:"rt-badge rt-badge--ok",children:t("pricing.best")}),e.jsx("span",{dir:"ltr",className:"rt-readout text-readout-lg text-ink",children:"4.9%"})]})]}),e.jsxs("div",{className:"rt-row",children:[e.jsxs("dt",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block text-row-title text-ink",children:t("pricing.competitors")}),e.jsx("span",{className:"block text-caption text-ink-subtle",children:t("pricing.plusMonthlyFees")})]}),e.jsx("dd",{dir:"ltr",className:"rt-row__value rt-readout text-readout-lg text-ink-muted",children:"6.0%"})]}),e.jsxs("div",{className:"rt-row",children:[e.jsxs("dt",{className:"min-w-0 flex-1",children:[e.jsx("span",{className:"block text-row-title text-ink",children:t("pricing.membershipsBadge")}),e.jsx("span",{className:"block text-caption text-ink-subtle",children:t("pricing.membershipsDesc")})]}),e.jsx("dd",{dir:"ltr",className:"rt-row__value rt-readout text-readout-lg text-ink",children:"1.25%"})]}),e.jsxs("div",{className:"rt-row",children:[e.jsx("dt",{className:"text-row-title text-ink",children:t("pricing.enterprise")}),e.jsx("dd",{className:"rt-row__value text-small text-ink-muted",children:t("pricing.enterpriseDesc")})]})]}),e.jsxs("div",{className:"mt-6 flex flex-col gap-3 sm:flex-row",children:[e.jsx(g,{size:"md",onClick:()=>{b("signup_click",{placement:"pricing"}),window.location.href="https://app.rentaltide.com/signup"},children:t("pricing.startFree")}),e.jsx(g,{variant:"secondary",size:"md","data-rt-secondary":"",onClick:o,children:t("pricing.bookDemo")})]}),e.jsxs("p",{className:"mt-4 flex flex-wrap items-center gap-x-4 gap-y-1 text-caption text-ink-subtle",children:[e.jsx("span",{children:t("pricing.noSetupCosts")}),e.jsx("span",{children:t("pricing.cancelAnytime")}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(v,{className:"h-3.5 w-3.5","aria-hidden":"true"}),t("pricing.stripeProcessing")]})]})]}),e.jsxs("section",{className:"rt-card",children:[e.jsx("p",{className:"text-label text-ink-subtle",children:t("pricing.calculateSavings")}),e.jsxs("p",{className:"mt-2 flex flex-wrap items-baseline gap-x-2",children:[e.jsx("span",{dir:"ltr",className:"rt-readout text-num-m text-ink",children:n(s[0])}),e.jsx("span",{className:"text-small text-ink-muted",children:t("pricing.annualRevenue")})]}),e.jsx("form",{className:"mt-5",onSubmit:i=>i.preventDefault(),children:e.jsx(y,{value:s,onValueChange:l,min:1e5,max:1e7,step:1e5,"aria-label":"Annual revenue slider"})}),e.jsxs("div",{className:"mt-6 border-t border-hairline pt-5",children:[e.jsx("p",{className:"text-label text-ink-subtle",children:t("pricing.youSave")}),e.jsx("p",{className:"rt-readout mt-1 text-num-m text-ink",children:e.jsx(S,{value:x,suffix:t("pricing.perYear")})}),e.jsxs("p",{className:"mt-1 text-caption text-ink-subtle",children:[t("pricing.at")," ",r,"% ",t("pricing.vs")," 6.0%"]})]})]})]})]})})};export{A as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.