PageSourceSearch

https://www.fresha.com/assets/b2b-mktg/_next/static/chunks/5749-466f8404cf536fff.js

js fresha.com collected 2026-09-24 08:46:12 UTC 84,060 bytes, 2 lines download raw bytes

1try{!function(){var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56ae70c2-04be-4b55-bad9-f244eea0cb69",e._sentryDebugIdIdentifier="sentry-dbid-56ae70c2-04be-4b55-bad9-f244eea0cb69")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5749],{261:(e,t,n)=>{n.d(t,{Wx:()=>o});var a=n(23653),r=Object.defineProperty,s=new Map,l=new WeakMap,i=0,c=void 0;function o({threshold:e,delay:t,trackVisibility:n,rootMargin:r,root:d,triggerOnce:p,skip:h,initialInView:m,fallbackInView:x,onChange:u}={}){var b;let[j,_]=a.useState(null),f=a.useRef(u),[v,C]=a.useState({inView:!!m,entry:void 0});f.current=u,a.useEffect(()=>{let a;if(!h&&j)return a=function(e,t,n={},a=c){if(void 0===window.IntersectionObserver&&void 0!==a){let r=e.getBoundingClientRect();return t(a,{isIntersecting:a,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:o,elements:d}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var n;return`${t}_${"root"===t?!(n=e.root)?"0":(l.has(n)||(i+=1,l.set(n,i.toString())),l.get(n)):e[t]}`}).toString(),n=s.get(t);if(!n){let a,r=new Map,l=new IntersectionObserver(t=>{t.forEach(t=>{var n;let s=t.isIntersecting&&a.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(n=r.get(t.target))||n.forEach(e=>{e(s,t)})})},e);a=l.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:l,elements:r},s.set(t,n)}return n}(n),p=d.get(e)||[];return d.has(e)||d.set(e,p),p.push(t),o.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(d.delete(e),o.unobserve(e)),0===d.size&&(o.disconnect(),s.delete(r))}}(j,(e,t)=>{C({inView:e,entry:t}),f.current&&f.current(e,t),t.isIntersecting&&p&&a&&(a(),a=void 0)},{root:d,rootMargin:r,threshold:e,trackVisibility:n,delay:t},x),()=>{a&&a()}},[Array.isArray(e)?e.toString():e,j,d,r,p,h,n,x,t]);let g=null==(b=v.entry)?void 0:b.target,y=a.useRef(void 0);j||!g||p||h||y.current===g||(y.current=g,C({inView:!!m,entry:void 0}));let T=[_,v.inView,v.entry];return T.ref=T[0],T.inView=T[1],T.entry=T[2],T}a.Component},6287:(e,t,n)=>{n.d(t,{F:()=>i});var a=n(11233),r=n(23653),s=n(75546),l=n(27308);function i({children:e,features:t,strict:n=!1}){let[,o]=(0,r.useState)(!c(t)),d=(0,r.useRef)(void 0);if(!c(t)){let{renderer:e,...n}=t;d.current=e,(0,l.Y)(n)}return(0,r.useEffect)(()=>{c(t)&&t().then(({renderer:e,...t})=>{(0,l.Y)(t),d.current=e,o(!0)})},[]),(0,a.jsx)(s.Y.Provider,{value:{renderer:d.current,strict:n},children:e})}function c(e){return"function"==typeof e}},21311:(e,t,n)=>{n.d(t,{Z:()=>l});var a=n(69869),r=n(23653),s=n(11233),l=r.forwardRef((e,t)=>(0,s.jsx)(a.Icon,{...e,ref:t,children:(0,s.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,s.jsx)("path",{fillRule:"evenodd",d:"M15.293 27.707a1 1 0 0 0 1.414 0l9-9a1 1 0 0 0-1.414-1.414L17 24.586V5a1 1 0 1 0-2 0v19.586l-7.293-7.293a1 1 0 0 0-1.414 1.414z",clipRule:"evenodd"})})}));l.displayName="Fresha.DesignIcons.ArrowDownIcon"},29286:(e,t,n)=>{n.d(t,{$:()=>a});function a(e,t){let{code:n,locale:a}=t,r=Number(e),s=Number.isInteger(r),l="JPY"===n,i={style:"currency",useGrouping:!0,currency:n};l||s?(i.minimumFractionDigits=0,i.maximumFractionDigits=0):(i.minimumFractionDigits=2,i.maximumFractionDigits=2);let c=new Intl.NumberFormat(a,i).formatToParts(r),o=a.startsWith("ar"),d=o?new Intl.NumberFormat("en",i).formatToParts(r).find(e=>"currency"===e.type)?.value??"":"",p=c.map(e=>"currency"===e.type&&o&&d.length<e.value.length?d:e.value).join("");return"es-ES"===a?p.replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1."):p}},37821:(e,t,n)=>{n.d(t,{Pl:()=>c});var a=n(23653),r=n(77611),s=n(23824),l=n(57283);function i(e){return s.x?function(e){try{let t=localStorage.getItem("$$featureOverrides");if(t){let n=JSON.parse(t)[e];if(n)return"1"===n}}catch(e){}return null}(e)??(0,l.e)()?.isEnabled(e)??!1:null}function c(e){let t=(0,r.wR)(),n=(0,a.useRef)(e),s=(0,a.useMemo)(()=>t?null:i(n.current),[t]),[c,o]=(0,a.useState)(s);return(0,a.useEffect)(()=>{let e=(0,l.e)(),t=setTimeout(()=>{null===i(n.current)&&o(!1)},5e3),a=()=>(clearTimeout(t),o(i(n.current)));return e?.on("ready",a),e?.on("update",a),()=>{clearTimeout(t),e?.off("ready",a),e?.off("update",a)}},[e]),c}}
1,38399:(e,t,n)=>{n.r(t),n.d(t,{PricingTables:()=>ea});var a=n(11233),r=n(23653),s=n(71628),l=n(87018),i=n(62999),c=n(60356),o=n(261),d=n(85836),p=n(15671),h=n(46007),m=n(52508);let x=({size:e="h-7 w-7",className:t})=>(0,a.jsx)("span",{className:(0,m.cn)("inline-flex align-middle",e,t),children:(0,a.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,a.jsx)("path",{fillRule:"evenodd",d:"M28.394 10.06a1.5 1.5 0 0 0-2.121-2.12l-12.94 12.939-5.94-5.94a1.5 1.5 0 0 0-2.12 2.122l7 7a1.5 1.5 0 0 0 2.12 0z",clipRule:"evenodd"})})}),u=Object.assign((0,r.forwardRef)(({children:e,className:t,withBottomMargin:n=!0,id:r},s)=>(0,a.jsx)("div",{className:(0,m.cn)("overflow-hidden rounded-lg border border-neutral-faded laptop:rounded-2xl",n&&"mb-10 laptop:mb-16",t),children:(0,a.jsx)("table",{ref:s,id:r,className:(0,m.cn)("w-full table-fixed border-collapse border-hidden [&_tr]:border-neutral-faded",r&&"scroll-mt-[var(--pricing-sticky-offset,96px)]"),children:e})})),{TableHeaderCell:({colSpan:e,className:t,children:n,primary:r})=>(0,a.jsx)("th",{colSpan:e,className:(0,m.cn)("border border-neutral-faded bg-muted p-3 laptop:min-h-[76px] laptop:px-7 laptop:py-6",r&&"laptop:p-7",t),children:n}),TableCell:({children:e,className:t,colSpan:n})=>(0,a.jsx)("td",{colSpan:n,className:(0,m.cn)("border border-neutral-faded p-3 laptop:px-7",t),children:e}),Content:({children:e,variant:t="content",weight:n="medium",className:r})=>(0,a.jsx)("div",{className:(0,m.cn)("content"===t&&"semibold"!==n&&"typography-body-s-medium laptop:typography-body-m-medium","header"===t&&"text-center typography-header-xs-semibold laptop:text-left laptop:typography-header-s-semibold","sub"===t&&"text-granite-800 typography-body-s-regular","content"===t&&"semibold"===n&&"typography-body-s-semibold laptop:typography-body-m-semibold",r),children:e}),CheckSvg:()=>(0,a.jsx)(x,{className:"size-6 laptop:size-8"})}),b=({addonsPrices:e,isGCC:t,setHeader:n,isIndependentSubscriptionEnabled:s,isAiReceptionistEnabled:i,isXeroEnabled:m,isTeamConnectEnabled:x,isSmartWebsiteEnabled:b})=>{let{ref:j,inView:_}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),f=(({addonsPrices:e,isGCC:t,isAiReceptionistEnabled:n,isXeroEnabled:r,isTeamConnectEnabled:s,isSmartWebsiteEnabled:i})=>{let c=[],{clientLoyaltyPricePerMonth:o,insightsPricePerMonth:m,googleRatingBoostPerMonth:x,dataConnectorPricePerMonth:b,aiReceptionistPricePerMonth:j,xeroPricePerMonth:_,teamConnectPricePerMonth:f,smartWebsitePricePerMonth:v}=e;if(n&&j){let{aiReceptionistUsagePricing:t}=e;c.push({icon:(0,a.jsx)(d.T1,{}),feature:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/ai-concierge",className:"hover:underline",children:(0,l.__)`AI Concierge`}),note:(0,l.__)`Save time and fill your calendar by answering every call and message from your clients anytime`,copy:(0,a.jsxs)("div",{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{aiReceptionistPricePerMonth} per location, monthly",{aiReceptionistPricePerMonth:j})}),t?(0,a.jsx)(h.p,{usagePricing:t}):null]})})}return o&&c.push({icon:(0,a.jsx)(d.w1,{}),feature:(0,l.__)`Client Loyalty`,note:(0,l.__)`Encourage repeat visits and larger purchases by rewarding clients with exclusive offers that celebrate their loyalty.`,copy:(0,a.jsx)(u.Content,{variant:"content",children:t?(0,l.__)`Custom rates`:(0,l.__)("%{clientLoyaltyPricePerMonth} per location, monthly",{clientLoyaltyPricePerMonth:o})})}),x&&c.push({icon:(0,a.jsx)(d.ai,{}),feature:(0,l.__)`Google Rating Boost`,note:(0,l.__)`Prompt your clients to leave a Google review after they've had a positive experience and increase your footfall.`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{googleRatingBoostPerMonth} per location, monthly",{googleRatingBoostPerMonth:x})})}),s&&f&&c.push({id:"team-connect",icon:(0,a.jsx)(d.X6,{}),feature:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/connect",className:"hover:underline",children:(0,l.__)`Team Connect`}),note:(0,l.__)`Give your team a dedicated space to collaborate, create group chats, and share files without leaving Fresha`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{teamConnectPricePerMonth} per team member, monthly",{teamConnectPricePerMonth:f})})}),m&&c.push({icon:(0,a.jsx)(d.RW,{}),feature:(0,l.__)`Insights`,note:(0,l.__)`Enhance your reports with rich data, control your team's access and make more profitable decisions for your business.`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{insightsPricePerMonth} per bookable team member, monthly",{insightsPricePerMonth:m})})}),r&&_&&c.push({icon:(0,a.jsx)(d.eu,{}),feature:(0,l.__)`Xero Accounting`,note:(0,l.__)`Streamline your sales and accounting with Fresha by connecting Xero`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{xeroPricePerMonth} per location, monthly",{xeroPricePerMonth:_})})}),b&&c.push({icon:(0,a.jsx)(d.x6,{}),feature:(0,l.__)`Data Connector`,note:(0,l.__)`Connect the power of Fresha data to your external spreadsheets, systems and other software.`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{dataConnectorPricePerMonth} per location, monthly",{dataConnectorPricePerMonth:b})})}),i&&v&&c.push({icon:(0,a.jsx)(d.CD,{}),feature:(0,l.__)`Smart Website`,note:(0,l.__)`Your own professional website that updates itself as your business evolves`,copy:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{
1smartWebsitePricePerMonth} monthly",{smartWebsitePricePerMonth:v})})}),[...c,{icon:(0,a.jsx)(d.B,{}),border:!0,feature:(0,l.__)`Meta Pixel Ads`,note:(0,l.__)`Use your Facebook Ads Pixel to track events, and create audiences based on their activities.`,copy:(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`})},{icon:(0,a.jsx)(d.Xy,{}),border:!0,feature:(0,l.__)`Google Analytics`,note:(0,l.__)`Send events about certain actions to Google Analytics, and create goals based on events to track conversions.`,copy:(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`})}]})({isGCC:t,addonsPrices:e,isAiReceptionistEnabled:i,isXeroEnabled:m,isTeamConnectEnabled:x,isSmartWebsiteEnabled:b});return(0,r.useEffect)(()=>{_&&n&&n((0,l.__)`Optional add ons`)},[_,n]),(0,r.useEffect)(()=>{let e=window.location.hash.slice(1);if(!e)return;let t=document.getElementById(e);if(!t?.closest("table#addons"))return;let n=requestAnimationFrame(()=>t.scrollIntoView());return()=>cancelAnimationFrame(n)},[]),(0,a.jsxs)(u,{ref:j,id:"addons",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{colSpan:2,className:"laptop:hidden",children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Optional add ons`})}),(0,a.jsx)(u.TableHeaderCell,{colSpan:s?2:3,className:"hidden laptop:table-cell",children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Optional add ons`})})]})}),(0,a.jsx)("tbody",{children:f.map(({copy:e,feature:t,icon:n,note:r,border:l,id:i},o)=>(0,a.jsxs)("tr",{id:i,className:(0,c.A)(i&&"scroll-mt-[var(--pricing-sticky-offset,96px)]"),children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 laptop:flex-row laptop:items-center",children:[(0,a.jsx)("div",{className:(0,c.A)("h-10 w-10 shrink-0 overflow-hidden rounded-md object-cover",l&&"border border-solid border-neutral-faded"),children:n}),(0,a.jsxs)("div",{children:[(0,a.jsx)(u.Content,{variant:"content",children:t}),(0,a.jsx)(u.Content,{variant:"sub",children:r})]})]})}),s?(0,a.jsx)(u.TableCell,{colSpan:1,className:"text-center",children:e}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.TableCell,{colSpan:1,className:"text-center laptop:hidden",children:e}),(0,a.jsx)(u.TableCell,{colSpan:2,className:"hidden text-center laptop:table-cell",children:e})]})]},o))})]})};var j=n(37326);let _={src:"/assets/b2b-mktg/_next/static/media/securitymetrics-certificate-Fresha.4300769c.png",height:120,width:120,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAHlBMVEVMaXEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKvP01AAAACnRSTlMACBcwIESNc2dXKo1ddwAAAAlwSFlzAAAhOAAAITgBRZYxYAAAAC9JREFUCJlFiTESADAIwhRE2/9/uKcOzUIumH0QgZHKvCOq1H463uMk2eYAYtLyAA+hAGjEmpWsAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8};var f=n(67935);let v=({setHeader:e,isIndependentSubscriptionEnabled:t=!1})=>{let n=[{icon:(0,a.jsx)(f.b1,{className:"h-[24px] w-[19.425px] object-contain"}),feature:(0,l.__)`HIPAA compliance`,note:(0,l.__)`Health Insurance Portability and Accountability Act`},{icon:(0,a.jsx)(f.B1,{className:"h-[23.838px] w-[21px] object-contain"}),feature:(0,l.__)`ISO 9001`,note:(0,l.__)`Globally recognized standard for quality management`},{icon:(0,a.jsx)(f.B1,{className:"h-[23.838px] w-[21px] object-contain"}),feature:(0,l.__)`ISO 27001`,note:(0,l.__)`Globally recognized standard for information security`},{icon:(0,a.jsx)(f.dy,{className:"h-[23.838px] w-[21px] object-contain"}),feature:(0,l.__)`GDPR`,note:(0,l.__)`European Union law that protects the privacy and security of personal data`},{icon:(0,a.jsx)(j.default,{src:_,alt:(0,l.__)`Security Metrics`,className:"size-10"}),feature:(0,l.__)`Security Metrics`,note:(0,l.__)`Tested quarterly to ensure that very high payment security standards are maintained`}],{ref:s,inView:i}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0});return(0,r.useEffect)(()=>{i&&e&&e((0,l.__)`Certifications`)},[i,e]),(0,a.jsxs)(u,{ref:s,className:"mb-0",id:"certifications",children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{colSpan:2,className:"laptop:hidden",children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Certifications`})}),(0,a.jsx)(u.TableHeaderCell,{colSpan:t?2:3,className:"hidden laptop:table-cell",children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Certifications`})})]})}),(0,a.jsx)("tbody",{children:n.map(({feature:e,note:n,icon:r},s)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 laptop:flex-row laptop:items-center",children:[(0,a.jsx)("div",{className:"flex size-10 shrink-0 items-center justify-center rounded-md border border-solid border-neutral-faded",children:r}),(0,a.jsxs)("div",{children:[(0,a.jsx)(u.Content,{variant:"content",children:e}),(0,a.jsx)(u.Content,{variant:"sub",children:n})]})]})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),!t&&(0,a.jsx)(u.TableCell,{className:"hidden text-center laptop:table-cell",children:(0,a.jsx)(u.CheckSvg,{})})]},s))})]})};
1var C=n(61395);let g=({data:e,isIndependentSubscriptionEnabled:t=!1})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:t?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Communications`})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Automated email notifications`})}),(0,a.jsx)(u.TableCell,{className:"text-center",colSpan:t?1:2,children:(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`})})]}),e.map(({name:e,individual:n,team:r})=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:e})}),!t&&(0,a.jsx)(u.TableCell,{className:"text-center",children:n}),(0,a.jsx)(u.TableCell,{className:"text-center",children:r})]},e))]})]});var y=n(91891);let T=e=>(0,a.jsx)("span",{className:"text-muted-foregroundMuted typography-body-2xs-regular laptop:typography-body-s-regular",children:e}),N=e=>(0,a.jsx)("span",{className:"font-semibold text-accent",children:e}),P=({whatsappMessagePrice:e,whatsappRemindersPrice:t})=>(0,a.jsx)(y.m,{aria:(0,l.__)`Description of the price of WhatsApp automations and reminders`,label:(0,C.D)((0,l.tS)("Price for appointments updates and reminders and second price for other WhatsApp automations.","%{whatsappRemindersPrice} for appt. updates and reminders<br />%{whatsappMessagePrice} for other WhatsApp automations",{whatsappMessagePrice:e,whatsappRemindersPrice:t}))}),w=({children:e})=>(0,a.jsx)(u.Content,{variant:"content",className:"flex flex-col",children:e}),S=({monthlyFreeAllowance:e,messagePrice:t,whatsappMessagePrice:n,whatsappRemindersPrice:r,isTeam:s})=>e&&t?(0,a.jsx)(w,{children:(({isTeam:e,messagePrice:t,monthlyFreeAllowance:n,whatsappMessagePrice:r,whatsappRemindersPrice:s})=>{let i=!!r&&!!s;return e?(0,a.jsx)(a.Fragment,{children:(0,C.D)(i?(0,l.__)("<accent>%{monthlyFreeAllowance} free per team member monthly</accent><sub>then %{messagePrice} per text</sub><span><sub>or %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{monthlyFreeAllowance:n,messagePrice:t,whatsappMessagePrice:r,whatsappRemindersPrice:s}):(0,l.__)("<accent>%{monthlyFreeAllowance} free per team member monthly</accent><sub>then %{messagePrice} per text</sub>",{monthlyFreeAllowance:n,messagePrice:t}),{accent:N,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...i&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:r,whatsappRemindersPrice:s})},sub:T})}):(0,a.jsx)(a.Fragment,{children:(0,C.D)(i?(0,l.__)("<accent>%{monthlyFreeAllowance} free monthly</accent><sub>then %{messagePrice} per text</sub><span><sub>or %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{monthlyFreeAllowance:n,messagePrice:t,whatsappMessagePrice:r,whatsappRemindersPrice:s}):(0,l.__)("<accent>%{monthlyFreeAllowance} free monthly</accent><sub>then %{messagePrice} per text</sub>",{monthlyFreeAllowance:n,messagePrice:t}),{accent:N,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...i&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:r,whatsappRemindersPrice:s})},sub:T})})})({monthlyFreeAllowance:e,messagePrice:t,whatsappMessagePrice:n,whatsappRemindersPrice:r,isTeam:s})}):e&&!t?(0,a.jsx)(w,{children:(({monthlyFreeAllowance:e,whatsappMessagePrice:t,whatsappRemindersPrice:n,isTeam:r})=>{let s=!!t&&!!n;return r?(0,C.D)(s?(0,l.__)("<accent>%{monthlyFreeAllowance} free per team member monthly</accent><span><sub>then %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{monthlyFreeAllowance:e,whatsappMessagePrice:t,whatsappRemindersPrice:n}):(0,l.__)("<accent>%{monthlyFreeAllowance} free per team member monthly</accent>",{monthlyFreeAllowance:e}),{accent:N,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...s&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:t,whatsappRemindersPrice:n})},sub:T}):(0,C.D)(s?(0,l.__)("<accent>%{monthlyFreeAllowance} free monthly</accent><span><sub>then %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{monthlyFreeAllowance:e,whatsappMessagePrice:t,whatsappRemindersPrice:n}):(0,l.__)("<accent>%{monthlyFreeAllowance} free monthly</accent>",{monthlyFreeAllowance:e}),{accent:N,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...s&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:t,whatsappRemindersPrice:n})},sub:T})})({monthlyFreeAllowance:e,whatsappMessagePrice:n,whatsappRemindersPrice:r,isTeam:s})}):!e&&t?(0,a.jsx)(w,{children:(({messagePrice:e,whatsappMessagePrice:t,whatsappRemindersPrice:n,isTeam:r})=>{let s=!!t&&!!n;return r?(0,C.D)(s?(0,l.__)("%{messagePrice} per text<span><sub>or %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{messagePrice:e,whatsappMessagePrice:t,whatsappRemindersPrice:n}):(0,l.__)("%{messagePrice} per text",{messagePrice:e}),{sub:T,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...s&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:t,whatsappRemindersPrice:n})}}):(0,C.D)(s?(0,l.__)("%{messagePrice} per text<span><sub>or %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{messagePrice:e,whatsappMessagePrice:t,whatsappRemindersPrice:n}):(0,l.__)("%{messagePrice} per text",{messagePrice:e}),{sub:T,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),...s&&{tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:t,whatsappRemindersPrice:n})}})})({messagePrice:t,whatsappMessagePrice:n,whatsappRemindersPrice:r,isTeam:s})}):!e&&!t&&n&&r?(0,a.jsx)(w,{children:(({whatsappMessagePrice:e,whatsappRemindersPrice:t})=>(0,C.D)((0,l.__)("<span><sub>or %{whatsappRemindersPrice} - %{whatsappMessagePrice} per WhatsApp</sub><tooltip></tooltip></span>",{whatsappMessagePrice:e,whatsappRemindersPrice:t}),{sub:T,span:e=>(0,a.jsx)("span",{className:"flex flex-row items-center justify-center gap-2",children:e}),tooltip:()=>(0,a.jsx)(P,{whatsappMessagePrice:e,whatsappRemindersPrice:t})}))({whatsappMessagePrice:n,whatsappRemindersPrice:r})}):(0,a.jsx)(u.Content,{variant:"content",className:"font-semibold",children:"-"}),A=({data:e,activePlan:t})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Communications`})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Automated email notifications`})}),(0,a.jsx)(u.TableCell,{colSpan:1,className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`})})]}),e.map(({name:e,individual:n,team:r})=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:e})}),(0,a.jsx)(u.TableCell,{className:(0,m.cn)("text-center","Team"===t&&"hidden"),children:n}),(0,a.jsx)(u.TableCell,{className:(0,m.cn)("text-center","Independent"===t&&"hidden"),children:r})]},e))]})]}),k=({setHeader:e,isIndependentSubscriptionEnabled:t=!1,subscriptionForIndividualsEnabled:n=!1,shouldShowWhatsappPricing:s=!1,...i})=>{let{ref:c,inView:d}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),p=(({subscriptionForIndividualsEnabled:e,communicationPrices:t})=>{let{wave6FreeSMSAllowance:n,messageAccountingSmsFreeBatchSize:r,automatedTextNotificationsPrice:s,whatsappPaidMessagesPrice:i,whatsappRemindersPrice:c,wave6FreeEmailAllowance:o,marketingEmailUnitPrice:d,marketingSmsUnitPrice:p,shouldShowWhatsappPricing:h}=t;return[{name:h?(0,l.__)`Automated text message and WhatsApp notifications`:(0,l.__)`Automated text message notifications`,individual:S({monthlyFreeAllowance:e?n:r,messagePrice:s,...h&&{whatsappMessagePrice:i,whatsappRemindersPrice:c},isTeam:!1}),team:S({monthlyFreeAllowance:n,messagePrice:s,...h&&{whatsappMessagePrice:i,whatsappRemindersPrice:c},isTeam:!0})},{name:(0,l.__)`Marketing emails`,individual:e?(0,a.jsx)(w,{children:o&&d?(0,C.D)((0,l.__)("<accent>%{monthlyFreeEmailNumber} free monthly</accent><sub>then %{marketingEmailUnitPrice} per email</sub>",{monthlyFreeEmailNumber:o,marketingEmailUnitPrice:d}),{accent:N,sub:T}):"-"}):(0,a.jsx)(u.Content,{variant:"content",children:d?(0,l.__)("%{marketingEmailUnitPrice} per email",{marketingEmailUnitPrice:d}):"-"}),team:(0,a.jsx)(w,{children:o&&d?(0,C.D)((0,l.__)("<accent>%{monthlyFreeEmailNumber} free per team member monthly</accent><sub>then %{marketingEmailUnitPrice} per email</sub>",{monthlyFreeEmailNumber:o,marketingEmailUnitPrice:d}),{accent:N,sub:T}):"-"})},{name:(0,l.__)`Marketing texts`,individual:(0,a.jsx)(u.Content,{variant:"content",children:p?(0,l.__)("%{marketingSmsUnitPrice} per text",{marketingSmsUnitPrice:p}):"-"}),team:(0,a.jsx)(u.Content,{variant:"content",children:p?(0,l.__)("%{marketingSmsUnitPrice} per text",{marketingSmsUnitPrice:p}):"-"})}]})({...i,subscriptionForIndividualsEnabled:n});return(0,r.useEffect)(()=>{d&&e&&e((0,l.__)`Communications`)},[d,e]),(0,a.jsxs)("div",{ref:c,id:"communications",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(A,{data:p,activePlan:i.activePlan})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(g,{data:p,isIndependentSubscriptionEnabled:t})})]})},E=({plans:e,isIndependentSubscriptionEnabled:t=!1})=>t?(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{children:" "}),e.map(e=>(0,a.jsxs)(u.TableHeaderCell,{primary:!0,children:[(0,a.jsx)("h3",{className:"text-2xl font-semibold",children:e.name}),(0,a.jsx)(u.Content,{variant:"sub",children:e.description})]},e.name))]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple team members`})}),e.map(e=>(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",children:e.price}),e.priceNote?(0,a.jsx)(u.Content,{variant:"sub",children:e.priceNote}):null]},e.name))]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple business locations`})}),e.map(e=>(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})},e.name))]})]})]}):(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{children:" "}),e.map(e=>(0,a.jsxs)(u.TableHeaderCell,{primary:!0,children:[(0,a.jsx)("h3",{className:"text-2xl font-semibold",children:e.name}),(0,a.jsx)(u.Content,{variant:"sub",children:e.description})]},e.name))]})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Subscription`})}),e.map(e=>(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",children:e.price}),e.priceNote?(0,a.jsx)(u.Content,{variant:"sub",children:e.priceNote}):null]},e.name))]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Team members`})}),e.map(e=>(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:e.teamMembers})},e.name))]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple business locations`})}),e.map(e=>(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})},e.name))]})]})]}),M=({plan:e,isIndependentSubscriptionEnabled:t=!1})=>t?(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsxs)(u.TableHeaderCell,{colSpan:2,children:[(0,a.jsx)(u.Content,{variant:"header",children:e.name}),(0,a.jsx)(u.Content,{variant:"sub",children:e.description})]},e.name)})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple Team members`})}),(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",children:e.price}),e.priceNote?(0,a.jsx)(u.Content,{variant:"sub",children:e.priceNote}):null]})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple business locations`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]})]})]}):(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsxs)(u.TableHeaderCell,{colSpan:2,children:[(0,a.jsx)(u.Content,{variant:"header",children:e.name}),(0,a.jsx)(u.Content,{variant:"sub",children:e.description})]},e.name)})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Subscription`})}),(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",children:e.price}),e.priceNote?(0,a.jsx)(u.Content,{variant:"sub",children:e.priceNote}):null]})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Team members`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:e.teamMembers})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multiple business locations`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]})]})]}),F=({subscriptionPrice:e,activePlan:t,setHeader:n,geo:i,isIndependentSubscriptionEnabled:c=!1,subscriptionForIndividualsEnabled:d=!1,subscriptionIndividualPrice:p})=>{let h=(0,s.e)(i),{ref:m,inView:x}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0});(0,r.useEffect)(()=>{x&&n&&n(" ")},[x,n]);let u=c?(({subscriptionPrice:e})=>[{id:"Subscription",name:(0,l.__)`Subscription`,description:"",price:e?(0,l.__)("%{
1subscriptionPrice} per month",{subscriptionPrice:e}):(0,l.__)`Free`,priceNote:e?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,l.__)`Per bookable team member`,(0,a.jsx)(y.m,{aria:(0,l.__)`Definition of a team member`,label:(0,l.__)`Team members with a calendar column that can take bookings`})]}):"",teamMembers:""}])({subscriptionPrice:e}):(({subscriptionPrice:e,showArabicCopy:t,subscriptionForIndividualsEnabled:n,subscriptionIndividualPrice:r})=>[{id:"Independent",name:(0,l.__)`Independent`,description:(0,l.__)`One-person businesses`,price:n&&r?(0,l.__)("%{subscriptionIndividualPrice} per month",{subscriptionIndividualPrice:r}):(0,l.__)`Free`,priceNote:"",teamMembers:"1"},{id:"Team",name:(0,l.__)`Team`,description:(0,l.__)`Multiple team member businesses`,price:t?(0,l.__)`Custom rates`:e?(0,l.__)("%{subscriptionPrice} per month",{subscriptionPrice:e}):(0,l.__)`Free`,priceNote:t?"":e?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,l.__)`Per bookable team member`,(0,a.jsx)(y.m,{aria:(0,l.__)`Definition of a team member`,label:(0,l.__)`Team members with a calendar column that can take bookings`})]}):"",teamMembers:(0,l.__)`Unlimited`}])({subscriptionPrice:e,showArabicCopy:h,subscriptionForIndividualsEnabled:d,subscriptionIndividualPrice:p}),b=u.find(({id:e})=>e===t)||u[0];return(0,a.jsxs)("div",{ref:m,id:"compare-plans",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(M,{plan:b,isIndependentSubscriptionEnabled:c})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(E,{plans:u,isIndependentSubscriptionEnabled:c})})]})};var I=n(37821),R=n(69545);let H=({paidSupportPrice:e,notEnglishSpeakingCountry:t,shouldShowArabicCopy:n,isIndependentSubscriptionEnabled:r,individualSubscriptionEnabled:s})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:r?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Customer support`})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Email`}),(0,a.jsx)(u.Content,{variant:"sub",children:s?(0,l.__)`Typical response 2 days`:(0,l.__)`Typical response 24 hours`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),!r&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Chat support`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Typical response 2 minutes`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Phone support`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Instant over the phone help`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:"-"}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]})]}):(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Premium support`}),(0,a.jsx)(u.Content,{variant:"sub",children:r?(0,l.__)`Customer support`:n?(0,l.__)`Live chat support`:(0,l.__)`Phone, chat, and Email support`})]}),!r&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:e?(0,l.__)("%{paidSupportPrice} monthly",{paidSupportPrice:e}):null})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",className:"font-semibold text-accent",children:t?(0,l.__)`Free (English only)`:(0,l.__)`Free`})})]})]})]}),D=({paidSupportPrice:e,activePlan:t,notEnglishSpeakingCountry:n,shouldShowArabicCopy:r,individualSubscriptionEnabled:s})=>{let i="Team"===t?(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:n?(0,l.__)`Free (English only)`:(0,l.__)`Free`}):(0,a.jsx)(u.Content,{variant:"content",children:e?(0,l.__)("%{paidSupportPrice} monthly",{paidSupportPrice:e}):null});return(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Customer support`})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Email`}),(0,a.jsx)(u.Content,{variant:"sub",children:s?(0,l.__)`Typical response 2 days`:(0,l.__)`Typical response 24 hours`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Chat support`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Live chat support`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Phone support`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Instant over the phone help`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:"Team"===t?(0,a.jsx)(u.CheckSvg,{}):"-"})]})]}):(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Premium support`}),(0,a.jsx)(u.Content,{variant:"sub",children:r?(0,l.__)`Live chat support`:(0,l.__)`Phone, chat, and Email support`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:i})]})]})]})},O=["es"],L=({paidSupportPrice:e,activePlan:t,setHeader:n,isIndependentSubscriptionEnabled:i,forceIndividualSubscriptionEnabled:c})=>{let d=(0,R.V)(),p=(0,s.e)(d),h=(0,I.Pl)("B2B_INDEPENDENT_SUBSCRIPTIONS_ENABLED")||c||!1,{ref:m,inView:x}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),u=O.includes(d);return(0,r.useEffect)(()=>{x&&n&&n((0,l.__)`Customer support`)},[x,n]),(0,a.jsxs)("div",{ref:m,id:"customer-support",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(D,{notEnglishSpeakingCountry:u,paidSupportPrice:e,activePlan:t,shouldShowArabicCopy:p,individualSubscriptionEnabled:h})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(H,{notEnglishSpeakingCountry:u,paidSupportPrice:e,shouldShowArabicCopy:p,isIndependentSubscriptionEnabled:i,individualSubscriptionEnabled:h})})]})};var B=n(99484);let W=({features:e,isIndependentSubscriptionEnabled:t})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:t?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Features`})})})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:e})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),!t&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]},e))})]}),$=({features:e})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Features`})})})}),(0,a.jsx)("tbody",{children:e.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:e})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]},e))})]}),z=({setHeader:e,isIndependentSubscriptionEnabled:t})=>{let{ref:n,inView:s}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),i=[(0,l.__)`Calendar and appointment scheduling`,(0,l.__)`Waitlists`,(0,l.__)`Point of sale`,(0,l.__)`Client management`,(0,l.__)`Consultation forms`,(0,l.__)`Client ratings and reviews`,(0,l.__)`Client Connect`,(0,l.__)`Retail and inventory`,(0,l.__)`Online product store`,(0,l.__)`Quotes and invoices`,(0,l.__)`Reporting`,(0,l.__)`Marketing tools`,(0,l.__)`Deals and promotions`,(0,l.__)`Gift cards`,(0,l.__)`Packages`,(0,l.__)`Memberships`,(0,l.__)`Business mobile app`,(0,l.__)`Group bookings`,(0,l.__)`Processing and finishing times`,(0,l.__)`Resources`,(0,l.__)`Patch tests`];return(0,r.useEffect)(()=>{s&&e&&e((0,l.__)`Features`)},[s,e]),(0,a.jsxs)("div",{ref:n,id:"features",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)($,{features:i})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(W,{features:i,isIndependentSubscriptionEnabled:t})})]})},U=({onlineBookingData:e,isIndependentSubscriptionEnabled:t=!1})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:t?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/marketplace",className:"hover:underline",children:(0,l.__)`Online bookings`})})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Client booking app`})}),!t&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),e.map((e,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:e.feature}),e.note?(0,a.jsx)(u.Content,{variant:"sub",children:e.note}):null]}),(0,a.jsx)(u.TableCell,{colSpan:t?1:2,className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:e.copy})})]},n))]})]}),G=({onlineBookingData:e})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/marketplace",className:"hover:underline",children:(0,l.__)`Online bookings`})})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Client booking app`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),e.map((e,t)=>(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:e.feature}),e.note?(0,a.jsx)(u.Content,{variant:"sub",children:e.note}):null]}),(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",className:"text-center",children:e.copy})})]},t))]})]}),Y=()=>(0,C.D)((0,l.__)`<b>Free</b>`,{b:e=>(0,a.jsx)("span",{className:"font-semibold text-accent",children:e})}),K=({newCustomerFee:e,newCustomerMinimumFee:t,setHeader:n,isIndependentSubscriptionEnabled:s=!1})=>{let{ref:i,inView:c}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),d=(({newCustomerFee:e,newCustomerMinimumFee:t})=>[{feature:(0,l.__)`Direct booking links`,note:(0,l.__)`One simple link covering everything your clients can book or buy online.`,copy:Y()},{feature:(0,l.__)`Facebook bookings`,copy:Y()},{feature:(0,l.__)`Instagram bookings`,copy:Y()},{feature:(0,l.__)`Fresha marketplace - New clients`,note:(0,l.__)`One-time fee applied to brand new clients who discover your business via the Fresha marketplace.`,copy:0===e?Y():(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"text-[13px] font-medium text-primary laptop:text-[17px]",children:(0,l.__)("%{newCustomerFee}% one-time commission",{newCustomerFee:e})}),t?(0,a.jsx)("span",{className:"block text-[13px] font-normal text-muted-foregroundMuted laptop:text-[15px]",children:(0,l.__)("Minimum fee of %{newCustomerMinimumFee} per client applies",{newCustomerMinimumFee:t})}):null]})},{feature:(0,l.__)`Fresha marketplace - Returning clients`,note:(0,l.__)`No fee ever applies to your returning clients`,copy:Y()}])({newCustomerFee:e,newCustomerMinimumFee:t});return(0,r.useEffect)(()=>{c&&n&&n((0,l.__)`Online bookings`)},[c,n]),(0,a.jsxs)("div",{ref:i,id:"online-bookings",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(G,{onlineBookingData:d})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(U,{onlineBookingData:d,isIndependentSubscriptionEnabled:s})})]})},V=e=>["AU","NZ"].includes(e),X=({isGCC:e,countryCode:t,forceShowTerminalPrice
1:n=!1,isIndependentSubscriptionEnabled:r=!1,paymentsPrices:s})=>{let i,c,o,d=V(t),{dynamicTerminalDevicePrice:h,isManualCardEntryEnabled:m,dynamicManualTerminalCommission:x,standaloneTerminalAuthorizationPrice:b,newOnlineTransaction:j,newTerminalTransaction:_,newTapToPayPrice:f,newBuyNowPayLater:v,isFreshaPayDisabled:C}=s;return(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:r?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/payments",className:"hover:underline",children:(0,l.__)`Payments`})})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Upfront payments`})}),!r&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`No-shows and cancellation fees`})}),!r&&(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multi merchant`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Route payments directly from clients to independents`})]}),!r&&(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",className:"text-center",children:"-"})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:(0,a.jsx)(u.CheckSvg,{})})})]}),!C&&j.enabled?(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Online payments`})}),(0,a.jsx)(u.TableCell,{colSpan:r?1:2,className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:j.onlineTransactionCommission})})})]}):null,C?null:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`In-person payments`})}),(0,a.jsxs)(u.TableCell,{colSpan:r?1:2,className:"text-center",children:[_.enabled?(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:_.terminalTransactionCommission})}):null,f.enabled?(0,a.jsx)(u.Content,{variant:"content",children:(0,a.jsxs)("div",{className:"flex items-center justify-center gap-1 text-muted-foregroundMuted",children:[(0,l.__)("+%{commissionPerTapToPayTransaction} per Tap to pay authorization",{commissionPerTapToPayTransaction:f.price}),(0,a.jsx)(y.m,{aria:(0,l.__)`Description of the price of Tap to pay authorization`,label:(0,l.__)`Use your phone to accept payments from contactless cards and digital wallets`})]})}):null,b&&!e?(0,a.jsx)(u.Content,{variant:"content",children:(0,a.jsxs)("span",{className:"flex items-center justify-center gap-1 text-muted-foregroundMuted",children:[(0,l.__)("+%{standaloneTerminalAuthorizationPrice} per standalone terminal authorization",{standaloneTerminalAuthorizationPrice:b}),(0,a.jsx)(y.m,{aria:(0,l.__)`Description of the price of standalone terminal authorization`,label:(0,l.__)`Manually enter an amount on your terminal to charge a card or digital wallet`})]})}):null]})]}),!C&&v.enabled?(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Buy Now Pay Later`}),(0,a.jsx)(u.Content,{variant:"sub",children:d?(0,l.__)`Let clients pay in instalments with Afterpay`:(0,l.__)`Let clients pay in instalments with Klarna`})]}),(0,a.jsx)(u.TableCell,{colSpan:r?1:2,className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:v.commission})})})]}):null,m&&x?(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Manual card entry`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Take online payments by manually entering card details.`})]}),(0,a.jsx)(u.TableCell,{colSpan:r?1:2,className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{manualCardEntryPrice} per transaction",{manualCardEntryPrice:x})})})]}):null,h?(i=(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Terminal devices`})}),c=(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("From %{price}",{price:h})}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Per device`})]}),o=(0,a.jsxs)(u.TableCell,{className:"text-center",children:[(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Subject to processing volumes`})]}),r&&n?(0,a.jsxs)("tr",{children:[i,c]}):n?(0,a.jsxs)("tr",{children:[i,(0,a.jsxs)(u.TableCell,{className:"text-center",colSpan:2,children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("From %{price}",{price:h})}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Per device`})]})]}):r?(0,a.jsxs)("tr",{children:[i,o]}):(0,a.jsxs)("tr",{children:[i,c,o]})):null]})]})}
1,Z=({activePlan:e,isGCC:t,countryCode:n,forceShowTerminalPrice:r,paymentsPrices:s})=>{let i=V(n),{dynamicTerminalDevicePrice:c,isManualCardEntryEnabled:o,dynamicManualTerminalCommission:d,standaloneTerminalAuthorizationPrice:h,newOnlineTransaction:m,newTerminalTransaction:x,newTapToPayPrice:b,newBuyNowPayLater:j,isFreshaPayDisabled:_}=s;return(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,a.jsx)(p.InternalLink,{href:"/for-business/features/payments",className:"hover:underline",children:(0,l.__)`Payments`})})})})}),(0,a.jsxs)("tbody",{children:[(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Upfront payments`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`No-shows and cancellation fees`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Multi merchant`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Route payments directly from clients to independents`})]}),"Independent"===e?(0,a.jsx)(u.TableCell,{className:"text-center",children:"-"}):(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.CheckSvg,{})})]}),!_&&m.enabled?(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Online payments`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:m.onlineTransactionCommission})})})]}):null,_?null:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`In-person payments`})}),(0,a.jsxs)(u.TableCell,{className:"text-center",children:[x.enabled?(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:x.terminalTransactionCommission})}):null,b.enabled?(0,a.jsx)(u.Content,{variant:"sub",children:(0,a.jsxs)("span",{className:"flex items-start justify-center gap-1 text-muted-foregroundMuted",children:[(0,l.__)("+%{commissionPerTapToPayTransaction} per Tap to pay authorization",{commissionPerTapToPayTransaction:b.price}),(0,a.jsx)(y.m,{aria:(0,l.__)`Description of the price of Tap to pay authorization`,label:(0,l.__)`Use your phone to accept payments from contactless cards and digital wallets`})]})}):null,h&&!t?(0,a.jsx)(u.Content,{variant:"sub",children:(0,a.jsxs)("span",{className:"flex items-start justify-center gap-1 text-muted-foregroundMuted",children:[(0,l.__)("+%{standaloneTerminalAuthorizationPrice} per standalone terminal authorization",{standaloneTerminalAuthorizationPrice:h}),(0,a.jsx)(y.m,{aria:(0,l.__)`Description of the price of standalone terminal authorization`,label:(0,l.__)`Manually enter an amount on your terminal to charge a card or digital wallet`})]})}):null]})]}),!_&&j.enabled?(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Buy Now Pay Later`}),(0,a.jsx)(u.Content,{variant:"sub",children:i?(0,l.__)`Let clients pay in instalments with Afterpay`:(0,l.__)`Let clients pay in instalments with Klarna`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"sub",className:"font-medium text-primary",children:(0,l.__)("%{commissionPerTransaction} per transaction",{commissionPerTransaction:j.commission})})})]}):null,o&&d?(0,a.jsxs)("tr",{children:[(0,a.jsxs)(u.TableCell,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Manual card entry`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Take online payments by manually entering card details.`})]}),(0,a.jsx)(u.TableCell,{className:"text-center",children:(0,a.jsx)(u.Content,{variant:"sub",className:"font-medium text-primary",children:(0,l.__)("%{manualCardEntryPrice} per transaction",{manualCardEntryPrice:d})})})]}):null,c?(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Terminal devices`})}),(0,a.jsx)(u.TableCell,{className:"text-center",children:"Independent"===e||r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)("From %{price}",{price:c})}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Per device`})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Content,{variant:"content",weight:"semibold",className:"text-accent",children:(0,l.__)`Free`}),(0,a.jsx)(u.Content,{variant:"sub",children:(0,l.__)`Subject to processing volumes`})]})})]}):null]})]})},q=({setHeader:e,isIndependentSubscriptionEnabled:t=!1,forceShowTerminalPrice
1:n=!1,...s})=>{let{ref:i,inView:c}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0});return(0,r.useEffect)(()=>{c&&e&&e((0,l.__)`Payments`)},[c,e]),(0,a.jsxs)("div",{ref:i,id:"payments",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(Z,{...s,forceShowTerminalPrice:n})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(X,{...s,isIndependentSubscriptionEnabled:t,forceShowTerminalPrice:n})})]})},J=({activePlan:e,setActivePlan:t})=>(0,a.jsx)("div",{className:"w-full px-5",children:(0,a.jsxs)("div",{className:"flex items-center rounded-lg border bg-gray-100 p-1 laptop:hidden",children:[(0,a.jsx)("button",{type:"button",className:(0,m.cn)("grow basis-0 truncate rounded-lg px-4 py-2 text-sm font-semibold","Independent"===e&&"border border-neutral-faded bg-white text-foreground"),onClick:()=>t("Independent"),children:(0,l.__)`Independent`}),(0,a.jsx)("button",{type:"button",className:`grow basis-0 truncate rounded-lg px-4 py-2 text-sm font-semibold ${"Team"===e?"border border-neutral-faded bg-white text-foreground":""}`,onClick:()=>t("Team"),children:(0,l.__)`Team`})]})}),Q=({header:e,children:t,activePlan:n,setActivePlan:s,isIndependentSubscriptionEnabled:i=!1})=>{let c,d,p,[h,x]=(0,r.useState)(!1),[b,j]=(0,r.useState)(!1),{containerRef:_,mobileStickyRef:f,desktopStickyRef:v}=(c=(0,r.useRef)(null),d=(0,r.useRef)(null),p=(0,r.useRef)(null),(0,r.useEffect)(()=>{let e=c.current;if(!e)return;let t=()=>{let t=p.current,n=d.current,a=0;if(t?.offsetParent){let e=t.querySelector("table");a=parseFloat(getComputedStyle(t).top)+(e?.offsetHeight??0)}else n?.offsetParent&&(a=parseFloat(getComputedStyle(n).top)+n.offsetHeight+45);e.style.setProperty("--pricing-sticky-offset",`${Math.round(a)}px`)};return t(),window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[]),{containerRef:c,mobileStickyRef:d,desktopStickyRef:p}),{ref:C}=(0,o.Wx)({threshold:0,rootMargin:"-64px 0px 0px 0px",onChange:e=>j(!e)}),{ref:g}=(0,o.Wx)({threshold:0,rootMargin:"-64px 0px 0px 0px",onChange:e=>x(!e)});return i?(0,a.jsxs)("div",{ref:_,className:(0,m.cn)("relative mx-auto max-w-[960px]"),children:[(0,a.jsx)("div",{id:"mobile-block",ref:g,style:{height:"1px"}}),(0,a.jsx)("div",{ref:f,className:(0,m.cn)("sticky top-[72px] z-10 mb-10 laptop:hidden",h&&"bg-white"),children:h?(0,a.jsx)("div",{className:"absolute top-0 h-[45px] w-full border-b border-neutral-faded bg-white p-3 shadow-sm laptop:hidden",children:(0,a.jsx)("h3",{className:"text-center text-[15px] font-semibold leading-[20px]",children:e||n})}):null}),(0,a.jsx)("div",{ref:v,className:(0,m.cn)("sticky top-[72px] z-10 hidden max-w-[960px] opacity-0 laptop:block",b&&"opacity-100"),children:(0,a.jsx)(u,{className:"absolute mb-0 rounded-none laptop:mb-0 laptop:rounded-none",children:(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{primary:!0,children:(0,a.jsx)("p",{className:"text-2xl font-semibold",children:e})}),(0,a.jsx)(u.TableHeaderCell,{primary:!0,children:(0,a.jsx)("p",{className:"text-2xl font-semibold",children:(0,l.__)`Subscription`})})]})})})}),(0,a.jsx)("div",{id:"desktop-block",ref:C,style:{height:"1px"}}),(0,a.jsx)("div",{children:t})]}):(0,a.jsxs)("div",{ref:_,className:"relative mx-auto max-w-[1200px]",children:[(0,a.jsx)("div",{id:"mobile-block",ref:g,style:{height:"1px"}}),(0,a.jsxs)("div",{ref:f,className:(0,m.cn)("sticky top-[72px] z-10 mb-10 laptop:hidden",h&&"bg-white"),children:[(0,a.jsx)(J,{activePlan:n,setActivePlan:s}),h?(0,a.jsx)("div",{className:"absolute top-[46px] h-[45px] w-full border-b border-neutral-faded bg-white p-3 shadow-sm laptop:hidden",children:(0,a.jsx)("h3",{className:"text-center text-[15px] font-semibold leading-[20px]",children:e||n})}):null]}),(0,a.jsx)("div",{ref:v,className:(0,m.cn)("sticky top-[72px] z-10 hidden max-w-[1200px] opacity-0 laptop:block",b&&"opacity-100"),children:(0,a.jsx)(u,{className:"absolute mb-0 rounded-none laptop:mb-0 laptop:rounded-none",children:(0,a.jsx)("thead",{children:(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableHeaderCell,{primary:!0,children:(0,a.jsx)("p",{className:"text-2xl font-semibold",children:e})}),(0,a.jsx)(u.TableHeaderCell,{primary:!0,children:(0,a.jsx)("p",{className:"text-2xl font-semibold",children:(0,l.__)`Independent`})}),(0,a.jsx)(u.TableHeaderCell,{primary:!0,children:(0,a.jsx)("p",{className:"text-2xl font-semibold",children:(0,l.__)`Team`})})]})})})}),(0,a.jsx)("div",{id:"desktop-block",ref:C,style:{height:"1px"}}),(0,a.jsx)("div",{children:t})]})},ee=({data:e,isIndependentSubscriptionEnabled:t=!1})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:t?2:3,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Team management`})})})}),(0,a.jsx)("tbody",{children:e.map((e,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:e.feature}),!t&&(0,a.jsx)(u.TableCell,{className:"text-center",children:e.independent}),(0,a.jsx)(u.TableCell,{className:"text-center",children:e.team})]},n))})]}),et=({data:e,activePlan:t,isIndependentSubscriptionEnabled:n=!1})=>(0,a.jsxs)(u,{children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:(0,a.jsx)(u.TableHeaderCell,{colSpan:2,children:(0,a.jsx)(u.Content,{variant:"header",children:(0,l.__)`Team management`})})})}),(0,a.jsx)("tbody",{children:e.map(({feature:e,independent:r,team:s},l)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(u.TableCell,{children:e}),(0,a.jsx)(u.TableCell,{className:"text-center",children:n||"Team"===t?s:r})]},l))})]}),en=({activePlan:e,setHeader:t,isIndependentSubscriptionEnabled:n=!1})=>{let{ref:s,inView:i}=(0,o.Wx)({rootMargin:"0px 0px -90% 0px",threshold:0}),c=[{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Team member profiles`}),independent:(0,a.jsx)(u.CheckSvg,{}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Shift scheduling`}),independent:(0,a.jsx)(u.CheckSvg,{}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Tips`}),independent:(0,a.jsx)(u.CheckSvg,{}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Login permissions`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Sales commissions`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Wages`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Pay runs`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Timesheets clock in and out`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})},{feature:(0,a.jsx)(u.Content,{variant:"content",children:(0,l.__)`Service pricing and duration per team member`}),independent:(0,a.jsx)(a.Fragment,{children:"-"}),team:(0,a.jsx)(u.CheckSvg,{})}];return(0,r.useEffect)(()=>{i&&t&&t((0,l.__)`Team management`)},[i,t]),(0,a.jsxs)("div",{ref:s,id:"team-management",children:[(0,a.jsx)("div",{className:"laptop:hidden",children:(0,a.jsx)(et,{data:c,activePlan:e,isIndependentSubscriptionEnabled:n})}),(0,a.jsx)("div",{className:"hidden laptop:block",children:(0,a.jsx)(ee,{data:c,isIndependentSubscriptionEnabled:n})})]})},ea=({countryCode:e,addons:t,standaloneTerminalAuthorizationFee:n,onlineTransactionFee:c,tapToPayFee:o,terminalTransactionFee:d,klarnaPayOverTimeFee:p,isKlarnaBnplEnabled:h=!1,newCountryPricing:m,accountingCountryPricing:x,receptionistPricing:u,isIndependentSubscriptionEnabled:j=!1,subscriptionForIndividualsEnabled:_=!1,isAi
1ReceptionistEnabled:f=!1,isXeroEnabled:C=!1,isTeamConnectEnabled:g=!1,isSmartWebsiteEnabled:y=!1})=>{let[T,N]=(0,r.useState)(j?"Team":"Independent"),[P,w]=(0,r.useState)(" "),S=(0,s.e)(e),A=["SG","HK"].includes(e);if(!m)return null;let{canFreshaChargePartners:E,canPartnersChargeCustomers:M,messageAccountingSmsFreeBatchSize:I}=m;if(!E&&!M)return null;let{subscriptionPrice:R,paidSupportPrice:H,subscriptionIndividualPrice:D,addonsPrices:O,onlineBookingPrices:W,paymentsPrices:$,communicationPrices:U}=(0,i.$3)({countryCode:e,addons:t,standaloneTerminalAuthorizationFee:n,onlineTransactionFee:c,tapToPayFee:o,terminalTransactionFee:d,klarnaPayOverTimeFee:p,isKlarnaBnplEnabled:h,newPricingData:m,accountingCountryPricing:x,receptionistPricing:u}),{newCustomerFee:G,newCustomerMinimumFee:Y}=W;return(0,a.jsxs)("div",{className:"m-0 pb-16 pt-10 tablet:pt-10 laptop:px-5 laptop:pb-32 laptop:pt-20",children:[(0,a.jsx)("h2",{className:"mb-10 text-center text-[32px] font-bold laptop:mb-16 laptop:text-5xl",id:"target-section",children:j?(0,l.__)`Full pricing`:(0,l.__)`Compare plans`}),(0,a.jsx)(Q,{header:P,activePlan:T,setActivePlan:N,isIndependentSubscriptionEnabled:j,children:(0,a.jsxs)("div",{className:"mx-auto max-w-[1200px] px-5 tablet:px-6 laptop:px-0",children:[(0,a.jsx)(F,{geo:e,setHeader:w,activePlan:T,subscriptionPrice:R,isIndependentSubscriptionEnabled:j,subscriptionForIndividualsEnabled:_,subscriptionIndividualPrice:D}),(0,a.jsx)(z,{setHeader:w,isIndependentSubscriptionEnabled:j}),(0,a.jsx)(K,{setHeader:w,newCustomerFee:G,newCustomerMinimumFee:Y,isIndependentSubscriptionEnabled:j}),M?(0,a.jsx)(q,{isGCC:S,countryCode:e,setHeader:w,activePlan:T,isIndependentSubscriptionEnabled:j,forceShowTerminalPrice:A,paymentsPrices:$}):null,(0,a.jsx)(k,{setHeader:w,activePlan:T,communicationPrices:U,isIndependentSubscriptionEnabled:j,subscriptionForIndividualsEnabled:_}),(0,a.jsx)(en,{setHeader:w,activePlan:T,isIndependentSubscriptionEnabled:j}),(0,a.jsx)(b,{setHeader:w,isGCC:S,addonsPrices:O,isIndependentSubscriptionEnabled:j,isAiReceptionistEnabled:f,isXeroEnabled:C,isTeamConnectEnabled:g,isSmartWebsiteEnabled:y}),(0,a.jsx)(L,{setHeader:w,activePlan:T,paidSupportPrice:H,isIndependentSubscriptionEnabled:j}),(0,a.jsx)(v,{setHeader:w,isIndependentSubscriptionEnabled:j})]})}),(0,a.jsx)(B.x,{countryCode:e})]})}},46007:(e,t,n)=>{n.d(t,{p:()=>s});var a=n(11233),r=n(87018);let s=({usagePricing:e})=>(0,a.jsxs)("p",{className:"mt-1 text-[13px] leading-[16px] text-neutral-500 laptop:text-[15px] laptop:leading-[20px]",children:[(0,r.t7)("%{mins} min included per location, then %{rate} per extra min","%{mins} mins included per location, then %{rate} per extra min",e.callMinutesPerLocation,{mins:e.callMinutesPerLocation,rate:e.formattedCallMinutePrice}),(0,a.jsx)("br",{}),(0,r.t7)("%{count} message included per location, then %{rate} per extra msg","%{count} messages included per location, then %{rate} per extra msg",e.messageRepliesPerLocation,{count:e.messageRepliesPerLocation,rate:e.formattedMessageReplyPrice})]})},57283:(e,t,n)=>{let a,r;n.d(t,{UnleashInit:()=>c,e:()=>i});var s=n(91991),l=n(23824);let i=()=>(r||(r=(()=>{if(!l.x)return;let e=(0,l._)("UNLEASH_PROXY_URL"),t=(0,l._)("UNLEASH_PROXY_CLIENT_KEY");if(!e||!t)return;let n=(0,l._)("NEXT_PUBLIC_ENVIRONMENT");return new s.cn({url:e,clientKey:t,appName:"b2b-marketing-spa",disableRefresh:!0,context:function(){let e=(0,l._)("UNLEASH_NAMESPACE");if(!a){let t=document.documentElement.getAttribute("data-country-code")||"US";a={properties:{clientType:window._DATADOG_SYNTHETICS_BROWSER?"synthetics":"u">typeof navigator&&navigator.webdriver?"bot":"user",namespace:e??"",countryCode:t}}}return a}(),environment:n})})()),r);l.x&&i()?.start();let c=()=>null},62999:(e,t,n)=>{n.d(t,{to:()=>x,vf:()=>u,$3:()=>b});var a,r=n(32980),s=n(29286);let l={insightsPricePerMonth:"39.95",googleRatingBoostPerMonth:"35.95",dataConnectorPricePerMonth:"975",premiumSupportPricePerMonth:"149.95"},i={insightsPricePerMonth:"4",googleRatingBoostPerMonth:"3.59",dataConnectorPricePerMonth:"97.5",premiumSupportPricePerMonth:"14.9"},c=({countryCode:e,dynamicPrice:t,priceOptions:n,addonType:a})=>"QA"===e?(0,s.$)(l[a],n):"BH"===e?(0,s.$)(i[a],n):"AE"===e&&"premiumSupportPricePerMonth"===a||"SA"===e&&"premiumSupportPricePerMonth"===a?(0,s.$)("149.95",n):t&&(0,s.$)(t,n),o=({fixedRate:e,percentageRate:t,currencyCode:n})=>{let{language:a}=(0,r.XG)(),l=Number(t)/100,i=Number.isInteger(Number(t)),c=Intl.NumberFormat(a,{style:"percent",minimumFractionDigits:2*!i,maximumFractionDigits:2*!i}).format(l),o=(0,s.$)(Number(e),{code:n,locale:a});return`${c} + ${o}`};var d=n(94449),p=n.n(d);let h={encode:(e,t=p().Writer.create())=>(void 0!==e.value&&""!==e.value&&t.uint32(10).string(e.value),t),decode(e,t){let n=e instanceof p().Reader?e:p().Reader.create(e),a=void 0===t?n.len:n.pos+t,r={};for(;n.pos<a;){let e=n.uint32();switch(e>>>3){case 1:if(10!==e)break;r.value=n.string();continue}if((7&e)==4||0===e)break;n.skipType(7&e)}return r},async *encodeTransform(e){for await(let t of e)if(globalThis.Array.isArray(t))for(let e of t)yield*[h.encode(e).finish()];else yield*[h.encode(t).finish()]},async *decodeTransform(e){for await(let t of e)if(globalThis.Array.isArray(t))for(let e of t)yield*[h.decode(e)];else yield*[h.decode(t)]},fromJSON:e=>({value:null!=e.value?globalThis.String(e.value):void 0}),toJSON(e){let t={};return void 0!==e.value&&""!==e.value&&(t.value=e.value),t},create:e=>h.fromPartial(e??{}),fromPartial(e){let t={};return t.value=e.value??void 0,t}};var m=((a={})[a.PRICE_TYPE_UNSPECIFIED=0]="PRICE_TYPE_UNSPECIFIED",a[a.PRICE_TYPE_WHATSAPP_TRANSACTIONAL=1]="PRICE_TYPE_WHATSAPP_TRANSACTIONAL",a[a.PRICE_TYPE_WHATSAPP_MARKETING=2]="PRICE_TYPE_WHATSAPP_MARKETING",a);let x=e=>{let t=e?.pricing?.individualPrice?.value,n=e?.pricing?.individualPriceFrom?.value;return n&&Number(n)>0?n:t&&Number(t)>0?t:void 0},u=e=>{let t=e?.pricing?.fixedPriceFrom?.value,n=e?.pricing?.fixedPrice?.value,a=e?.pricing?.variablePrice?.value,r=e?.pricing?.variablePriceFrom?.value;return t&&Number(t)>0?t:n&&Number(n)>0?n:r&&Number(r)>0?r:a&&Number(a)>0?a:void 0},b=({countryCode:e,onlineTransactionFee:t,tapToPayFee:n,terminalTransactionFee:a,klarnaPayOverTimeFee:l,isKlarnaBnplEnabled:i,addons:d,standaloneTerminalAuthorizationFee:p,newPricingData:h,accountingCountryPricing:b,receptionistPricing:j})=>{let{language:_}=(0,r.XG)(),f=d?.reduce((e,t)=>
1(t.name&&(e[t.name]=t),e),{})??{},{currencyCode:v,newMarketplaceCustomerFeeRate:C,newMarketplaceCustomerMinFeeValue:g}=h,y={code:v,locale:_},T=f.team_subscription,N=u(T),P=x(T),w=T?.benefit,S=u(f.compensation),A=u(f.premium_support),k=N&&(0,s.$)(N,y),E=P&&(0,s.$)(P,y),M=S&&(0,s.$)(S,y),F=(({countryCode:e,newPremiumSupportPrice:t,priceOptions:n})=>c({countryCode:e,dynamicPrice:t,priceOptions:n,addonType:"premiumSupportPricePerMonth"}))({countryCode:e,newPremiumSupportPrice:A,priceOptions:y}),I=(({addonsLookup:e,countryCode:t,priceOptions:n,receptionistPricing:a})=>{let r,l=u(e.loyalty),i=u(e.fresha_insights),o=u(e.google_reviews),d=u(e.data_connector),p=u(e.ai_receptionist),h=u(e.xero),m=u(e.team_chat),x=u(e.website_builder),b=l&&(0,s.$)(l,n),j=p&&(0,s.$)(p,n),_=h&&(0,s.$)(h,n),f=m&&(0,s.$)(m,n),v=x&&(0,s.$)(x,n),C=(({countryCode:e,newInsightsPrice:t,priceOptions:n})=>c({countryCode:e,dynamicPrice:t,priceOptions:n,addonType:"insightsPricePerMonth"}))({countryCode:t,newInsightsPrice:i,priceOptions:n}),g=(({countryCode:e,newGoogleRatingBoostPrice:t,priceOptions:n})=>c({countryCode:e,dynamicPrice:t,priceOptions:n,addonType:"googleRatingBoostPerMonth"}))({countryCode:t,newGoogleRatingBoostPrice:o,priceOptions:n}),y=(({countryCode:e,newDataConnectorPrice:t,priceOptions:n})=>c({countryCode:e,dynamicPrice:t,priceOptions:n,addonType:"dataConnectorPricePerMonth"}))({countryCode:t,newDataConnectorPrice:d,priceOptions:n});if(a&&!a.isFallback&&a.allowance&&a.unitPrices){let{callSecondsPerLocation:e,messageRepliesPerLocation:t}=a.allowance,{callMinutePrice:l,messageReplyPrice:i}=a.unitPrices;if(void 0!==e&&void 0!==t&&void 0!==l&&void 0!==i){let a=Math.floor(e/60),c=(0,s.$)(l,n),o=(0,s.$)(i,n);a>0&&t>0&&(r={callMinutesPerLocation:a,formattedCallMinutePrice:c,messageRepliesPerLocation:t,formattedMessageReplyPrice:o})}}return{clientLoyaltyPricePerMonth:b,insightsPricePerMonth:C,googleRatingBoostPerMonth:g,dataConnectorPricePerMonth:y,aiReceptionistPricePerMonth:j,aiReceptionistUsagePricing:r,xeroPricePerMonth:_,teamConnectPricePerMonth:f,smartWebsitePricePerMonth:v}})({addonsLookup:f,countryCode:e,priceOptions:y,receptionistPricing:j}),R=(({newMarketplaceCustomerFeeRate:e,newMarketplaceCustomerMinFeeValue:t,priceOptions:n})=>({newCustomerFee:e,newCustomerMinimumFee:"number"==typeof t&&t>0?(0,s.$)(t,n):void 0}))({newMarketplaceCustomerFeeRate:C,newMarketplaceCustomerMinFeeValue:g,priceOptions:y});return{subscriptionPrice:k,subscriptionIndividualPrice:E,paidSupportPrice:F,addonsPrices:I,onlineBookingPrices:R,paymentsPrices:(({newPricingData:e,onlineTransactionFee:t,terminalTransactionFee:n,tapToPayFee:a,klarnaPayOverTimeFee:r,isKlarnaBnplEnabled:l,standaloneTerminalAuthorizationFee:i,priceOptions:c,currencyCode:d})=>{let{offeredTerminals:p,manualCardEntryFixedFee:h,manualCardEntryPercentageFee:m,freshaPayAvailability:x}=e,u=t?.fixedRate?.value,b=t?.percentageRate?.value,j=n?.fixedRate?.value,_=n?.percentageRate?.value,f=i?.fixedRate?.value,v=a?.fixedRate?.value,C=f&&Number(f)>0?(0,s.$)(f,c):void 0,g=p?.[0]?.netPrice,y=void 0!==g?(0,s.$)(g,c):void 0,T=null!==h||null!==m,N=h||m?o({currencyCode:d,fixedRate:(h||0).toString(),percentageRate:(m||0).toString()}):void 0,P=o({currencyCode:d,fixedRate:u??"0",percentageRate:b??"0"}),w=o({currencyCode:d,fixedRate:j??"0",percentageRate:_??"0"}),S=v?(0,s.$)(v,c):void 0,A=o({currencyCode:d,fixedRate:r?.fixedRate?.value??"0",percentageRate:r?.percentageRate?.value??"0"});return{dynamicTerminalDevicePrice:y,isManualCardEntryEnabled:T,newOnlineTransaction:{onlineTransactionCommission:P,enabled:t?.enabled||!1},newTerminalTransaction:{terminalTransactionCommission:w,enabled:n?.enabled||!1},newTapToPayPrice:{price:S??"0",enabled:a?.enabled||!1},newBuyNowPayLater:{commission:A,enabled:(l??!1)&&(r?.enabled||!1)},isFreshaPayDisabled:"fresha_pay_disabled"===x,dynamicManualTerminalCommission:N,standaloneTerminalAuthorizationPrice:C}})({newPricingData:h,onlineTransactionFee:t,terminalTransactionFee:a,tapToPayFee:n,klarnaPayOverTimeFee:l,isKlarnaBnplEnabled:i,standaloneTerminalAuthorizationFee:p,priceOptions:y,currencyCode:v}),communicationPrices:(({newPricingData:e,accountingCountryPricing:t,priceOptions:n,benefitsObj:a,language:r})=>{let l,i,{smsUnitPrice:c,emailUnitPrice:o,messageAccountingSmsFreeBatchSize:d,messageAccountingSmsUnitPrice:p,messageAccountingSmsUnitPriceTaxExcluded:
1h}=e,x=a?.monthlySmsAllowance?new Intl.NumberFormat(r).format(Number(a?.monthlySmsAllowance)):void 0,u=a?.monthlyEmailAllowance?new Intl.NumberFormat(r).format(Number(a.monthlyEmailAllowance)):void 0,b=null!==c,j=null!==o,_=o&&(0,s.$)(o??0,n),f=c&&(0,s.$)(c??0,n),v=p&&(0,s.$)(p??0,n),{marketing:C,utility:g,shouldShowWhatsappPricing:y}=(l=t?.find(e=>e.type===m.PRICE_TYPE_WHATSAPP_TRANSACTIONAL)?.value?.value,{utility:l??"0",marketing:(i=t?.find(e=>e.type===m.PRICE_TYPE_WHATSAPP_MARKETING)?.value?.value)??"0",shouldShowWhatsappPricing:void 0!==l||void 0!==i});return{automatedTextNotificationsPrice:v,whatsappRemindersPrice:g&&(0,s.$)(g,n),whatsappPaidMessagesPrice:C&&(0,s.$)(C,n),wave6FreeSMSAllowance:b?x:null,wave6FreeEmailAllowance:j?u:null,marketingEmailUnitPrice:_,marketingSmsUnitPrice:f,messageAccountingSmsFreeBatchSize:d,messageAccountingSmsUnitPriceTaxExcluded:h,shouldShowWhatsappPricing:y}})({newPricingData:h,accountingCountryPricing:b,priceOptions:y,benefitsObj:w,language:_}),teamPayPricePerMonth:M}}},84975:(e,t,n)=>{n.r(t),n.d(t,{CardPlans:()=>v});var a=n(11233),r=n(60356),s=n(6287),l=n(69760);n(23653);var i=n(97785),c=n(25066),o=n(15671),d=n(91328),p=n(87018),h=n(32980),m=n(52508),x=n(62999);let u=({locale:e,value:t})=>new Intl.NumberFormat(e).format(Number(t));var b=n(29286);let j=Promise.all([n.e(8215),n.e(7484),n.e(1710)]).then(n.bind(n,6365)).then(e=>e.default),_={hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.2}}},f={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.5}}},v=({countryPricing:e,addons:t,skipAnimation:n=!1,isGCC:v,isIndependentSubscriptionEnabled:C=!1,subscriptionForIndividualsEnabled:g=!1})=>{let{language:y}=(0,h.XG)(),T=e?.currencyCode,N=t?.find(e=>"team_subscription"===e.name);if(!N)return;let P=(0,x.to)(N),w=(0,x.vf)(N),{messageAccountingSmsFreeBatchSize:S,smsUnitPrice:A,emailUnitPrice:k}=e,E=N?.benefit,M={code:T,locale:y},F=w&&(0,b.$)(w,M),I=P&&(0,b.$)(P,M),R=N?.pricing?.trialDays||14,H=null!==A?E?.monthlySmsAllowance:null,D=null!==k?E?.monthlyEmailAllowance:null,O=C?(({subscriptionPrice:e,trialDays:t,smsAllowanceStr:n,smsAllowanceNum:a,emailAllowanceStr:r,emailAllowanceNum:s})=>[{title:(0,p.tS)("Name of a subscription plan","Subscription"),header:e,tag:t?(0,p.t7)("1 day trial","%{trialDays} day trial",t,{trialDays:t}):null,subHeader:(0,p.__)`per team member monthly`,includesArr:(({smsAllowanceStr:e,smsAllowanceNum:t,emailAllowanceStr:n,emailAllowanceNum:a})=>[(0,p.__)`Everything you need to run your business`,t?(0,p.t7)("1 free message per team member","%{numberOfFreeTexts} free messages per team member",t,{numberOfFreeTexts:e}):null,a?(0,p.t7)("1 free marketing email per team member","%{freeMarketingMessages} free marketing emails per team member",a,{freeMarketingMessages:n}):null,(0,p.__)`Customer support`].filter(Boolean))({smsAllowanceStr:n,smsAllowanceNum:a,emailAllowanceStr:r,emailAllowanceNum:s}),button:{copy:(0,p.__)`Start now`,isExternal:!0,linkTo:i.iY}},{title:(0,p.tS)("3rd plan option for companies that require more from fresha","Enterprise"),header:(0,p.__)`Custom rates`,subHeader:(0,p.__)`Enterprise solutions available for high-volume businesses with over 20 team members`,button:{copy:(0,p.__)`Contact sales`,isExternal:!1,linkTo:i.t0}}])({subscriptionPrice:F,trialDays:R,smsAllowanceStr:u({locale:y,value:H||0})||"",smsAllowanceNum:H,emailAllowanceStr:u({locale:y,value:D||0})||"",emailAllowanceNum:D}):(({subscriptionPrice:e,individualPrice:t,individualPriceEnabled:n,trialDays:a,smsAllowanceStr:r,smsAllowanceNum:s,emailAllowanceStr:l,emailAllowanceNum:c,messageAccountingSmsFreeBatchSize:o,showArabicVersionOfCopy:d,wave6FreeEmailAllowance:h,wave6FreeSMSAllowance:m})=>[{title:(0,p.tS)("Name of one of subscription plans we offer to users.","Independent"),header:n?t:(0,p.tS)("Refers to a cost of independent subscription plan. User doesn't pay for using it.","Free"),tag:n&&a?(0,p.t7)("1 day trial","%{trialDays} day trial",a,{trialDays:a}):null,subHeader:n?(0,p.__)`per month`:(0,p.__)`for one-person businesses`,includesArr:(({messageAccountingSmsFreeBatchSize:e,smsAllowanceNum:t,individualPriceEnabled:n,smsAllowanceStr:a,emailAllowanceStr:r,emailAllowanceNum:s})=>[(0,p.__)("Single calendar column"),n&&t?(0,p.t7)("1 free message","%{numberOfFreeTexts} free messages",t,{numberOfFreeTexts:a}):(0,p.__)("Single login access"),n&&s?(0,p.t7)("1 free marketing email","%{freeMarketingMessages} free marketing emails",s,{freeMarketingMessages:r}):null,!n&&e&&e>0?(0,p.t7)("1 free message per month","%{numberOfFreeTexts} free messages per month",e,{numberOfFreeTexts:e}):null,n?(0,p.__)`Email and chat support`:(0,p.__)`Email support`].filter(
1Boolean))({messageAccountingSmsFreeBatchSize:o,individualPriceEnabled:n,smsAllowanceStr:r,smsAllowanceNum:s,emailAllowanceStr:l,emailAllowanceNum:c}),button:{copy:(0,p.__)`Start now`,isExternal:!0,linkTo:i.iY}},{title:(0,p.tS)("Name of a team plan","Team"),header:d?(0,p.__)`Custom rates`:e,tag:a?(0,p.t7)("1 day trial","%{trialDays} day trial",a,{trialDays:a}):null,subHeader:d?(0,p.__)`Solutions available for teams`:(0,p.__)`per team member monthly`,includesArr:(({smsAllowanceStr:e,emailAllowanceStr:t,showArabicVersionOfCopy:n,wave6FreeEmailAllowance:a,wave6FreeSMSAllowance:r})=>[(0,p.__)`Multiple calendar columns`,r?(0,p.t7)("1 free message per team member","%{numberOfFreeTexts} free messages per team member",r,{numberOfFreeTexts:e}):null,a?(0,p.t7)("1 free marketing email per team member","%{freeMarketingMessages} free marketing emails per team member",a,{freeMarketingMessages:t}):null,!n?(0,p.__)`Phone, chat, and Email support`:(0,p.__)`Live chat support`].filter(Boolean))({smsAllowanceStr:r,emailAllowanceStr:l,showArabicVersionOfCopy:d,wave6FreeEmailAllowance:h,wave6FreeSMSAllowance:m}),button:{copy:d?(0,p.__)`Contact sales`:(0,p.__)`Start now`,isExternal:!d,linkTo:d?i.t0:i.iY}},{title:(0,p.tS)("3rd plan option for companies that require more from fresha","Enterprise"),header:(0,p.__)`Custom rates`,subHeader:(0,p.__)`Enterprise solutions available for high-volume businesses with over 20 team members`,button:{copy:(0,p.__)`Contact sales`,isExternal:!1,linkTo:i.t0}}].filter(Boolean))({subscriptionPrice:F,individualPrice:I,individualPriceEnabled:g,smsAllowanceStr:u({locale:y,value:H||0})||"",smsAllowanceNum:H,trialDays:R,emailAllowanceStr:u({locale:y,value:D||0})||"",emailAllowanceNum:D,messageAccountingSmsFreeBatchSize:S,wave6FreeEmailAllowance:D,wave6FreeSMSAllowance:H,showArabicVersionOfCopy:v});if(F)return(0,a.jsx)(s.F,{features:()=>j,strict:!0,children:(0,a.jsx)(l.m.div,{variants:n?{}:_,initial:"hidden",animate:"show",className:(0,m.cn)("mx-auto flex max-w-[1240px] flex-col gap-5 p-5 pb-8 pt-4 laptop:flex-row laptop:justify-between laptop:pt-12",C&&"max-w-[960px]"),children:O.map(({header:e,subHeader:t,title:s,includesArr:h,tag:x,button:{copy:u,isExternal:b,linkTo:j}})=>(0,a.jsx)(l.m.div,{className:(0,m.cn)("mx-auto w-full max-w-[357px] flex-1 rounded-lg bg-granite-100 p-8 laptop:rounded-2xl laptop:p-10",C&&"max-w-[448px]"),variants:n?{}:f,children:(0,a.jsxs)("div",{className:"flex h-full flex-col items-start",children:[(0,a.jsxs)("div",{className:"w-full flex-1",children:[(0,a.jsxs)("div",{className:"mb-4 flex items-center justify-between gap-2",children:[(0,a.jsx)("h3",{className:"text-2xl font-semibold",children:s}),x?(0,a.jsx)("div",{title:x,className:"min-w-0 truncate rounded-full border border-[#dbddff] bg-[#f0f0ff] px-2 py-1 text-[13px] font-medium leading-[16px] text-[#6950f3] laptop:px-4 laptop:text-[15px] laptop:leading-[20px]",children:(0,p.t7)("1 day trial","%{trialDays} day trial",Number(R)??0,{trialDays:R})}):null]}),(0,a.jsx)("h2",{className:"mb-4 text-[32px] font-bold leading-[36px] laptop:mb-5 laptop:text-[40px] laptop:leading-[44px]",children:e}),(0,a.jsx)("p",{className:"mb-8 text-[17px] font-medium",children:t}),(e=>{if(e&&0!==e.length)return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mb-2 text-[15px] font-semibold",children:(0,p.__)`Includes`}),e&&e?.length>0?e.map((t,n)=>(0,a.jsx)("p",{className:(0,r.A)("text-[15px] text-muted-foregroundMuted",n+1===e.length?"mb-8":"mb-2"),children:t},t)):null]})})(h)]}),b?j.startsWith(i.iY)?(0,a.jsx)(d.O,{className:"block max-w-full min-w-0",href:j===i.iY?void 0:j.replace(i.iY,""),children:(0,a.jsx)(c.Button,{size:"medium",className:"max-w-full",children:(0,a.jsx)("span",{className:"min-w-0 truncate",children:u})})}):(0,a.jsx)("a",{className:"block max-w-full min-w-0",href:j,children:(0,a.jsx)(c.Button,{size:"medium",className:"max-w-full",children:(0,a.jsx)("span",{className:"min-w-0 truncate",children:u})})}):(0,a.jsx)(o.InternalLink,{className:"block max-w-full min-w-0",href:j,children:(0,a.jsx)(c.Button,{size:"medium",className:"max-w-full",children:(0,a.jsx)("span",{className:"min-w-0 truncate",children:u})})})]})},e))})})}}
1,90102:(e,t,n)=>{n.r(t),n.d(t,{BusinessPageTitle:()=>s});var a=n(11233);n(23653);var r=n(87018);let s=({isIndependentSubscriptionEnabled:e=!1})=>(0,a.jsxs)("div",{className:"mx-auto max-w-[840px] px-5 pb-12 pt-32 laptop:pt-20",children:[(0,a.jsxs)("h1",{className:"flex flex-col items-center justify-center",children:[(0,a.jsx)("span",{className:"pb-6 text-center text-[20px] font-semibold laptop:text-2xl",children:(0,r.__)`Pricing`}),(0,a.jsx)("span",{className:"mx-auto max-w-[540px] pb-6 text-center text-[40px] font-bold leading-[48px] laptop:text-[56px] laptop:leading-[64px]",children:(0,r.__)`Software that grows with your business`})]}),(0,a.jsx)("p",{className:"text-center text-[17px] laptop:text-[20px]",children:e?(0,r.__)`As your business expands we charge for each bookable team member`:(0,r.__)`As you expand we charge for each bookable team member`})]})},91891:(e,t,n)=>{n.d(t,{m:()=>i});var a=n(11233),r=n(90802),s=n(20965),l=n(85836);let i=({label:e,aria:t})=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.Kq,{children:(0,a.jsxs)(s.bL,{delayDuration:0,children:[(0,a.jsx)(s.l9,{asChild:!0,children:(0,a.jsx)("button",{"aria-label":t,type:"button",className:"hidden size-4 laptop:block",children:(0,a.jsx)(l.mo,{})})}),(0,a.jsx)(s.ZL,{children:(0,a.jsx)(s.UC,{className:"top-[6px] z-50 max-w-[260px] select-none rounded-lg bg-granite-1700 p-2 text-[12px] font-normal leading-[16px] text-white shadow-sm",sideOffset:5,children:e})})]})}),(0,a.jsxs)(r.bL,{children:[(0,a.jsx)(r.l9,{asChild:!0,children:(0,a.jsx)("button",{type:"button","aria-label":t,className:"mt-[2px] flex size-4 items-center justify-center p-2 focus:outline-none laptop:hidden",children:(0,a.jsx)(l.mo,{})})}),(0,a.jsx)(r.ZL,{children:(0,a.jsx)(r.UC,{className:"top-0 z-50 max-w-[240px] select-none rounded-lg bg-granite-1700 p-2 text-[12px] font-normal leading-[15px] text-white shadow-sm",sideOffset:4,children:e})})]})]})},97232:(e,t,n)=>{n.r(t),n.d(t,{SeeFullPricing:()=>c});var a=n(11233),r=n(84348),s=n(21311);n(23653);var l=n(84501),i=n(87018);let c=()=>(0,a.jsx)(l.F,{className:"mx-auto my-0 px-5 py-10 text-center tablet:p-10 laptop:py-10 laptop:pb-16",children:(0,a.jsxs)(r.E,{className:"cursor-pointer",onAction:()=>{let e=document.getElementById("target-section");if(e){let t=e.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:t,behavior:"smooth"})}return Promise.resolve()},children:[(0,a.jsx)("p",{className:"mb-2 pb-4 text-[17px] font-medium laptop:text-xl",children:(0,i.__)`See full pricing`}),(0,a.jsx)(s.Z,{size:"xl",unsafeClassName:"animate-bounce"})]})})},99484:(e,t,n)=>{n.d(t,{x:()=>l});var a=n(11233);n(23653);var r=n(87018);let s={AE:{rate:"5.0"},GB:{rate:"20.0"},AU:{rate:"10.0"},AT:{rate:"20.0"},BE:{rate:"21.0"},FI:{rate:"24.0"},FR:{rate:"20.0"},DE:{rate:"19.0"},GR:{rate:"24.0"},LT:{rate:"21.0"},LU:{rate:"17.0"},ES:{rate:"21.0"},PL:{rate:"23.0"},HR:{rate:"25.0"},CZ:{rate:"21.0"},NL:{rate:"21.0"},IT:{rate:"22.0"},PT:{rate:"23.0"},US:{rate:"0.0"},CA:{rate:"5.0",dependsOnState:!0},JE:{rate:"0.0"},IM:{rate:"20.0"},SI:{rate:"22.0"},GG:{rate:"0.0"},SK:{rate:"20.0"},EE:{rate:"20.0"},GI:{rate:"0.0"},LV:{rate:"21.0"},IE:{rate:"23.0"},SG:{rate:"7.0"},NZ:{rate:"15.0"},RO:{rate:"19.0"},HU:{rate:"27.0"},CY:{rate:"19.0"},MT:{rate:"18.0"},SE:{rate:"25.0"},DK:{rate:"25.0"},PR:{rate:"4.0"},ZA:{rate:"15.0"},HK:{rate:"0.0"}},l=({countryCode:e})=>{let t=s[e],n=t?.rate,l=!!t&&!t?.dependsOnState&&!!n&&0!==Number(n);return(0,a.jsx)("p",{className:"mt-10 px-5 text-center text-[15px] text-muted-foregroundMuted laptop:mt-16",children:l?(0,r.__)("Rates are exclusive of %{taxRate}% sales tax.",{taxRate:n}):(0,r.__)("Rates are exclusive of local sales taxes.")})}}}]);
2//# sourceMappingURL=5749-466f8404cf536fff.js.map

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.