PageSourceSearch

https://www.fresha.com/assets/_next/static/chunks/0drhcbz1or_2d.js

js fresha.com collected 2026-09-24 08:45:17 UTC 57,249 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="e1e819de-aa92-94e5-51f6-6c1dc4e478e4")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,622110,e=>{"use strict";let t={logo:{size:{horizontal:{xl:{composition:{height:{value:"400"}}},l:{composition:{height:{value:"350"}}},m:{composition:{height:{value:"300"}}},s:{composition:{height:{value:"250"}}},xs:{composition:{height:{value:"200"}}}}}}};e.s(["default",0,t])},601866,e=>{"use strict";var t=e.i(687652);function i(e){let t;return"string"==typeof e&&"%"===e[e.length-1]&&!isNaN(t=parseFloat(e.substring(0,e.length-1)))&&isFinite(t)}function a(e,t,i){0===t&&!i&&(null==e?void 0:e.style)&&(null==e?void 0:e.children.length)>0&&(e.style.display="none")}let n={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function s(e,t){return[e.static,0===t&&e.staticHeightZero,"number"==typeof t&&t>0?e.staticHeightSpecific:null,"auto"===t&&e.staticHeightAuto].filter(e=>e).join(" ")}let o=["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","contentRef","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style","disableDisplayNone"],r=t.default.forwardRef((e,r)=>{let{animateOpacity:l=!1,animationStateClasses:c={},applyInlineTransitions:d=!0,children:u,className:_="",contentClassName:p,delay:h=0,disableDisplayNone:m=!1,duration:f=500,easing:I="ease",height:g,onHeightAnimationEnd:E,onHeightAnimationStart:C,style:v,contentRef:N}=e,T=Object.assign({},e);o.forEach(e=>{delete T[e]});let x=(0,t.useRef)(g),S=(0,t.useRef)(null),A=(0,t.useRef)(),b=(0,t.useRef)(),w=(0,t.useRef)(Object.assign(Object.assign({},n),c)),y="u">typeof window,L=(0,t.useRef)(!!y&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion)").matches),k=L.current?0:h,O=L.current?0:f,P=g,R="visible";"number"==typeof g?(P=g<0?0:g,R="hidden"):i(P)&&(P="0%"===g?0:g,R="hidden");let[D,M]=(0,t.useState)(P),[j,z]=(0,t.useState)(R),[U,V]=(0,t.useState)(!1),[B,F]=(0,t.useState)(s(w.current,g));(0,t.useEffect)(()=>{a(S.current,D,m)},[]),(0,t.useEffect)(()=>{if(g!==x.current&&S.current){var e;let t,n;e=S.current,0===x.current&&(null==e?void 0:e.style)&&(e.style.display=""),S.current.style.overflow="hidden";let o=S.current.offsetHeight;S.current.style.overflow="";let r=O+k,l="hidden",c="auto"===x.current;"number"==typeof g?n=t=g<0?0:g:i(g)?n=t="0%"===g?0:g:(t=o,n="auto",l=void 0),c&&(n=t,t=o);let d=[w.current.animating,("auto"===x.current||g<x.current)&&w.current.animatingUp,("auto"===g||g>x.current)&&w.current.animatingDown,0===n&&w.current.animatingToHeightZero,"auto"===n&&w.current.animatingToHeightAuto,"number"==typeof n&&n>0?w.current.animatingToHeightSpecific:null].filter(e=>e).join(" "),u=s(w.current,n);M(t),z("hidden"),V(!c),F(d),clearTimeout(b.current),clearTimeout(A.current),c?(b.current=setTimeout(()=>{M(n),z(l),V(!0),null==C||C(n)},50),A.current=setTimeout(()=>{V(!1),F(u),a(S.current,n,m),null==E||E(n)},r)):(null==C||C(t),b.current=setTimeout(()=>{M(n),z(l),V(!1),F(u),"auto"!==g&&a(S.current,t,m),null==E||E(t)},r))}return x.current=g,()=>{clearTimeout(b.current),clearTimeout(A.current)}},[g]);let G=Object.assign(Object.assign({},v),{height:D,overflow:j||(null==v?void 0:v.overflow)});U&&d&&(G.transition=`height ${O}ms ${I} ${k}ms`,(null==v?void 0:v.transition)&&(G.transition=`${v.transition}, ${G.transition}`),G.WebkitTransition=G.transition);let H={};l&&(H.transition=`opacity ${O}ms ${I} ${k}ms`,H.WebkitTransition=H.transition,0===D&&(H.opacity=0));let W=void 0!==T["aria-hidden"]?T["aria-hidden"]:0===g;return t.default.createElement("div",Object.assign({},T,{"aria-hidden":W,className:`${B} ${_}`,style:G,ref:r}),t.default.createElement("div",{className:p,style:H,ref:e=>{S.current=e,N&&(N.current=e)}},u))});e.s(["default",0,r])},15437,e=>{"use strict";var t=e.i(318008),i=e.i(519774);e.i(550834);var a=e.i(271894),n=e.i(687652),s=e.i(601866),o=e.i(224034);Object.keys(o.easings);let r="beforeContent",l=n.forwardRef((e,l)=>{let{triggerComponent:c,triggerComponentPosition:d=r,children:u,as:_="div",easing:p="easeInOut",isExpanded:h,transitionTime:m=200,css:f,...I}=e,g=n.useMemo(()=>o.easings[p],[p]);return(0,t.jsxs)(_,{...(0,i.spreadProps)(I,(0,a.css)(f)),children:[d===r&&c,(0,t.jsx)(s.default,{ref:l,easing:g,duration:m,height:h?"auto":0,className:(0,a.css)(h?{opacity:"visible",transform:"translateY(0)"}:{opacity:"transparent",transform:"translateY(-8px)"}),style:{transition:`opacity ${m}ms ${g}, transform ${m}ms ${g}`},children:u}),"afterContent"===d&&c]})});l.displayName="Fresha.DesignSystem.Accordion",e.s(["Accordion",0,l],15437)},506713,e=>{"use strict";var t=e.i(674515),i=e.i(687652);e.s(["useLanguage",0,function(e){let{languageId:a}={languageId:null,...e},[n,s]=(0,i.useState)(a);return(0,t.useClientLayoutEffect)(()=>
2{if(null!=a)return void s(a);let t=(e?.element??document.documentElement).getAttribute("lang");""===t?s(null):s(t)},[a,e?.element]),{language:n}}])},163065,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M21.196 9.074A10 10 0 0 0 2 13v8a2 2 0 0 0 2 2h6.834A10.02 10.02 0 0 0 20 29h8a2 2 0 0 0 2-2v-8a10 10 0 0 0-8.804-9.926M4 13a8 8 0 1 1 8 8H4zm24 14h-8a8.02 8.02 0 0 1-6.96-4.054 9.993 9.993 0 0 0 8.798-11.732A8 8 0 0 1 28 19z"})})}));n.displayName="Fresha.DesignIcons.ChatBubbleIcon",e.s(["ChatBubbleIcon",0,n])},202460,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"m29.061 9.06-16 16a1.5 1.5 0 0 1-2.125 0l-7-7a1.503 1.503 0 1 1 2.125-2.124L12 21.875 26.939 6.938a1.502 1.502 0 1 1 2.125 2.125z"})})}));n.displayName="Fresha.DesignIcons.CheckBoldIcon",e.s(["CheckBoldIcon",0,n])},818489,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M15.293 12.293a1 1 0 0 1 1.414 0l6.25 6.25a1 1 0 0 1-1.414 1.414L16 14.414l-5.543 5.543a1 1 0 0 1-1.414-1.414z",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.ChevronUpIcon",e.s(["ChevronUpIcon",0,n])},523713,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M16 4a4 4 0 0 0-3.193 1.59l-.013.018A4 4 0 0 0 12 8h8a4 4 0 0 0-.794-2.392l-.013-.017A4 4 0 0 0 16 4m4.472 0a6 6 0 0 0-8.944 0H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm1.185 2c.225.636.343 1.312.343 2v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V8c0-.688.118-1.364.343-2H7v21h18V6zM11 15a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1m0 4a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.ClipboardIcon",e.s(["ClipboardIcon",0,n])},784139,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9.297 3.84a4.005 4.005 0 0 1 5.667.003c.289.291.518.641.703 1.01.184-.369.413-.719.702-1.01a4.005 4.005 0 0 1 5.934 5.366h4.364a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2v8a2 2 0 0 1-2 2h-18a2 2 0 0 1-2-2v-8a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2H9.03a4.005 4.005 0 0 1 .267-5.37m5.37 7.37h-10v4h10zm0 6h-8v8h8zm2 8v-8h8v8zm0-10v-4h10v4zm-2.048-6.048c-.024-.329-.062-.71-.119-1.108a10 10 0 0 0-.378-1.706c-.178-.536-.382-.899-.577-1.096a2.005 2.005 0 0 0-2.835 2.836c.197.195.56.398 1.095.577.521.173 1.12.294 1.706.378.399.057.78.094 1.108.12m2.095 0c.329-.025.71-.062 1.108-.12a10 10 0 0 0 1.706-.377c.536-.179.899-.382 1.096-.577a2.005 2.005 0 0 0-2.836-2.836c-.195.197-.398.56-.576 1.096-.174.521-.295 1.12-.379 1.706-.057.399-.094.78-.119 1.108",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.GiftIcon",e.s(["GiftIcon",0,n])},464056,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M13.488 26.603c.6.404 1.102.719 1.455.934.176.107.465.275.563.332.304.17.68.173.984.003.102-.06.394-.23.567-.335a40.466 40.466 0 0 0 5.862-4.356C26.072 20.343 29.5 16.21 29.5 11.5A7.5 7.5 0 0 0 16 7a7.5 7.5 0 0 0-13.5 4.5c0 4.71 3.428 8.843 6.581 11.68a40.5 40.5 0 0 0 4.407 3.423m-.903-19.958A5.5 5.5 0 0 0 4.5 11.5c0 3.79 2.822 7.407 5.9
219 10.194A38.5 38.5 0 0 0 16 25.84a38.466 38.466 0 0 0 5.581-4.145C24.678 18.907 27.5 15.29 27.5 11.5a5.5 5.5 0 0 0-10.577-2.115 1 1 0 0 1-1.846 0 5.5 5.5 0 0 0-2.492-2.74",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.HeartIcon",e.s(["HeartIcon",0,n])},933342,974093,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M2.667 6a2 2 0 0 1 2-2h22.666a2 2 0 0 1 2 2v20a2 2 0 0 1-2 2H4.667a2 2 0 0 1-2-2zm24.666 0H4.667v20h22.666zM16 12a3 3 0 1 0 0 6 3 3 0 0 0 0-6m3.43 6.638a5 5 0 1 0-6.86 0 8 8 0 0 0-.893.423c-1.253.696-2.22 1.719-2.627 2.961a1 1 0 1 0 1.9.622c.213-.65.77-1.32 1.698-1.834.925-.514 2.107-.81 3.352-.81s2.427.296 3.352.81c.928.515 1.485 1.183 1.698 1.834a1 1 0 0 0 1.9-.622c-.406-1.242-1.374-2.265-2.627-2.96a8 8 0 0 0-.893-.424",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.ProfileIcon",e.s(["ProfileIcon",0,n],933342);let s=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M16 10a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6m0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8m13.743-6.599a1 1 0 0 0-.487-.675l-3.729-2.125-.015-4.202a1 1 0 0 0-.353-.76 14 14 0 0 0-4.59-2.584 1 1 0 0 0-.808.074L16 5.23l-3.765-2.106a1 1 0 0 0-.809-.075 14 14 0 0 0-4.585 2.594 1 1 0 0 0-.354.759l-.018 4.206-3.729 2.125a1 1 0 0 0-.486.675 13.3 13.3 0 0 0 0 5.195 1 1 0 0 0 .486.675l3.729 2.125.015 4.202a1 1 0 0 0 .354.76 14 14 0 0 0 4.59 2.584 1 1 0 0 0 .807-.074L16 26.77l3.765 2.106a1.009 1.009 0 0 0 .809.073 14 14 0 0 0 4.585-2.592 1 1 0 0 0 .354-.759l.018-4.206 3.729-2.125a1 1 0 0 0 .486-.675 13.3 13.3 0 0 0-.003-5.19m-1.875 4.364-3.572 2.031a1 1 0 0 0-.375.375c-.072.125-.148.258-.226.383a1 1 0 0 0-.152.526l-.02 4.031c-.96.754-2.029 1.357-3.17 1.788L16.75 24.89a1 1 0 0 0-.489-.125h-.478a1 1 0 0 0-.513.125l-3.605 2.013a12 12 0 0 1-3.18-1.779L8.471 21.1a1 1 0 0 0-.152-.527 7 7 0 0 1-.225-.383 1 1 0 0 0-.375-.383l-3.575-2.036a11.3 11.3 0 0 1 0-3.532l3.565-2.035a1 1 0 0 0 .375-.375c.072-.125.149-.258.226-.383.1-.157.152-.34.152-.526l.02-4.031c.96-.754 2.029-1.357 3.17-1.788L15.25 7.11a1 1 0 0 0 .512.125h.456a1 1 0 0 0 .512-.125l3.605-2.013a12 12 0 0 1 3.18 1.779l.014 4.025a1 1 0 0 0 .152.527c.078.126.154.25.225.383.089.159.218.291.375.383l3.575 2.036c.188 1.17.19 2.364.006 3.536z"})})}));s.displayName="Fresha.DesignIcons.SettingsIcon",e.s(["SettingsIcon",0,s],974093)},107076,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M1 8.99A2 2 0 0 1 3 7h26a2 2 0 0 1 2 2v3.018A1 1 0 0 1 30 13c-1.615 0-2.947 1.33-2.947 3s1.332 3 2.947 3a1 1 0 0 1 1 .983V23a2 2 0 0 1-2 2H3a2 2 0 0 1-2-1.99v-2.993A1 1 0 0 1 2 19c1.615 0 2.947-1.33 2.947-3S3.615 13 2 13a1 1 0 0 1-1-1.018zM29 9H3l.015 2.105C5.268 11.58 6.947 13.6 6.947 16s-1.679 4.42-3.932 4.895L3 23h26l.016-2.099c-2.269-.462-3.963-2.49-3.963-4.901s1.694-4.44 3.963-4.901zm-13 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5 3a5 5 0 1 1 10 0 5 5 0 0 1-10 0",clipRule:"evenodd"})})}));n.displayName="Fresha.DesignIcons.VoucherIcon",e.s(["VoucherIcon",0,n])},275125,e=>{"use strict";var t=e.i(318008),i=e.i(687652),a=e.i(557547);let n=i.default.forwardRef((e,i)=>(0,t.jsx)(a.Icon,{...e,ref:i,children:(0,t.jsxs)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:[(0,t.jsx)("path",{fillRule:"evenodd",d:"M7 7a1 1 0 0 0 0 2h20a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H7a3 3 0 0 1-3-3V8a3 3 0 0 1 3-3h17a1 1 0 1 1 0 2zm-1 3.828V24a1 1 0 0 0 1 1h20V11H7a3 3 0 0 1-1-.172",clipRule:"evenodd"}),(0,t.jsx)("path",{d:"M22.5 19.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3"})]})}));n.displayName="Fresha.DesignIcons.WalletIcon",e.s(["WalletIcon",0,n])},477788,e=>{"use strict";var t=e.i(318008),i=e.i(506713),a=e.i(622110);e.i(550834);var n=e.i(271894),s=e.i(138696),o=e.i(585102);let r=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 81.8 24",pointerEvents:"none",className:(0,o.default)(e.svgClassName,e.className),style:e.style,children:[(0,t.jsx)("title",{children:"Fresha"}),(0,t.jsx)("path",{d:"M51.5 2.1h3.9v8.1c1.3-1.9 4-2.5 6.2-1.6 2.2.9 2.9 2.5 3 2.7.2.5.4 1 .5 1.5.6 3.6-.6 7.2.5 10.7h-3.8c-1-2.5-.4-5.3-.4-7.9 0-.7 0-1.5-.4-2.2-.5-.9-1.5-1.
26-2.5-1.6-1.1 0-2.1.6-2.6 1.5-.4.8-.4 1.8-.4 2.7v7.5h-3.9l-.1-21.4zM36 15.7c.1-4.3-2.6-7.5-6.8-7.5-2.8 0-5.2 1.4-6.5 3.8-1.4 2.6-1.3 6.3.4 8.8 2.5 3.4 7.6 4.2 12.5 1.9l-1.2-3.1c-4.1 1.8-8.5 1.3-8.8-2.4H36v-1.5zm-10.3-1.5c.3-.8.7-1.4 1.3-1.9 1.2-.9 3.3-1 4.4-.1.5.4.9 1.1 1.2 1.9h-6.9zM13.1 13.9s0-2.3-1.9-2.3H6.9v12.1H3V11.6H0V8.3h3V5.7C3 3.4 5.1 0 9.7 0s6.4 3.9 6.4 3.9l-3 2.1s-.8-2.5-3.3-2.5C8.7 3.5 7 4.4 7 6.2v2h6.1c2.7 0 3.4 2 3.4 2 1-2.4 4.6-2.1 5.3-2v3.1c-2.5-.2-4.8 1.2-4.8 4.1v8h-3.9v-9.5zM48.9 16.2c-1.2-1.2-4.3-1.6-6.3-2-1-.2-1.8-.4-1.8-1.4 0-1.2 1.2-1.5 2.4-1.5s2.4.5 3.1 1.5l3-1.6c-1.7-3-6.2-3.6-9.1-2.4-.9.4-1.6 1-2.1 1.7-1.1 1.5-1 4.1.3 5.3.7.7 1.9 1.2 3.4 1.5l2.8.5c1 .2 1.9.4 1.9 1.5 0 1.3-1.4 1.6-2.6 1.6-3.2 0-3.8-3-3.8-3L36.4 19c.2 1 1.5 5 7.4 5 3.3 0 6.2-1.3 6.3-4.8-.1-1.3-.5-2.3-1.2-3zM81.2 20.8c-.7 0-1.3-.4-1.3-1.4 0-.5-.1-2.2-.1-2.6 0-2.6.1-5.1-1.7-6.9-2-2-6.6-2.2-9-.6-.9.5-1.7 1.2-2.3 2.1l2.3 2.4c.9-1.5 2.2-2.2 3.7-2.2 1.4-.1 2.6.6 3.1 2-3.1.8-7.1 1.1-8.8 4.3-.8 1.5-.6 3.4.6 4.7.9 1 2.4 1.3 3.8 1.3 2.2 0 4.3-.5 5.6-2.5.7 1.7 2.2 2.5 4 2.5.3 0 .6-.1.8-.2v-3c-.2.1-.4.1-.7.1zm-5.3-3.1c.1 2.2-1.7 3.4-3.7 3.4-1.1 0-1.8-.5-1.8-1.6 0-1.2 1-1.6 2.1-1.9l3.4-1v1.1z",className:e.pathClassName})]});r.displayName="Fresha.DesignSystem.LogoText";let l=e=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 132 48",pointerEvents:"none",className:(0,o.default)(e.svgClassName,e.className),style:e.style,children:[(0,t.jsx)("title",{children:"فريشا"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M84.7466 19.7532H78.1635V28.5898C78.1635 31.6443 77.0354 33.196 74.8229 33.196H59.4169V19.7532H52.7847V28.9655C52.7847 31.7858 51.6567 33.196 49.4441 33.196H46.0599V19.7532H39.4823V28.9655C39.4823 31.7858 38.3542 33.196 36.1417 33.196H32.7575V19.7532H26.1253V28.726C26.1253 32.0145 24.9482 33.1906 22.7847 33.1906H12.2234C7.3842 33.1906 6.58311 31.4973 6.58311 28.3067V0H0V31.7368C0 36.5771 2.91553 39.49 7.9455 39.49C7.9455 39.49 15.2153 39.5717 18.5232 39.5553C19.7929 39.5499 20.8011 39.5336 21.1553 39.49C23.2371 39.2396 25.6185 38.412 26.5831 36.147C26.5831 36.147 27.5368 38.7387 30.6758 39.4301C30.7684 39.4465 30.8883 39.4682 31.03 39.4846C31.2098 39.5063 31.4223 39.5281 31.6676 39.5445C31.7875 39.5554 31.9128 39.5608 32.049 39.5662C32.0545 39.5662 32.06 39.5662 32.0709 39.5662L32.8501 39.5717C33.3951 39.5826 34.0273 39.5608 34.6866 39.4846C36.7684 39.2341 39.1499 38.4065 40.1144 36.1416C40.1144 36.1416 41.1553 38.9455 44.6485 39.4846C44.9482 39.5281 45.2589 39.5662 45.5967 39.5662H45.6022C46.2616 39.5662 47.0518 39.588 47.9128 39.4846C49.9946 39.2341 52.376 38.4065 53.3406 36.1416C53.3406 36.1416 54.5177 39.4846 57.8747 39.4846H58.8501H70.6267H76.2234C78.9482 39.4846 81.1117 38.5426 82.6649 36.6207C84.0273 34.9764 84.7357 32.9074 84.7357 30.4192V19.7532H84.7466Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M120.104 13.2468C113.531 13.2468 108.207 18.5662 108.207 25.1325V27.5989C108.207 29.6189 108.714 31.5191 109.602 33.1851H106.654H105.717H102.965H97.1063C96.921 28.6715 96.5504 24.1525 97.6621 19.7477H91.2752C89.8529 23.9456 90.3433 28.6116 90.5232 33.1851C90.5395 33.5336 90.5504 33.8875 90.5559 34.2359C90.5559 34.2904 90.5613 34.3448 90.5613 34.3993C90.5722 34.7804 90.5776 35.1615 90.5776 35.5372C90.5776 35.6515 90.5776 35.7659 90.5776 35.8802C90.5667 37.0399 90.4523 38.2214 89.9455 39.2613C89.1717 40.8512 87.4659 41.9347 85.7003 41.9619C85.237 41.9673 84.7738 41.8966 84.327 41.7713V47.4501C86.436 48.2123 88.8937 48.1906 91.0572 47.2976C94.7902 45.8221 95.9727 43.1815 96.1417 42.8276C96.5286 42.0163 96.7629 41.1506 96.9046 40.2686C96.9482 40.0073 96.9755 39.7405 97.0082 39.4791H102.965H105.717H106.654H118.436H120.054C120.071 39.4791 120.087 39.4791 120.104 39.4791C120.12 39.4791 120.136 39.4791 120.153 39.4791C126.163 39.4519 131.117 34.9764 131.891 29.1724C131.962 28.6552 132 28.127 132 27.5935V25.1325C132 18.5717 126.676 13.2468 120.104 13.2468ZM126.093 27.8167C126.093 29.0799 125.7 30.2505 125.03 31.2142C123.951 32.7768 122.147 33.8004 120.104 33.8004C119.749 33.8004 119.406 33.7623 119.068 33.7078C116.256 33.2178 114.114 30.7731 114.114 27.8221V24.9201C114.114 21.6152 116.796 18.9365 120.104 18.9365C123.411 18.9365 126.093 21.6152 126.093 24.9201V27.8167Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M42.4905 8.50453C44.0104 8.50453 45.2425 7.27351 45.2425 5.75498C45.2425 4.23645 44.0104 3.00543 42.4905 3.00543C40.9706 3.00543 39.7384 4.23645 39.7384 5.75498C39.7384 7.27351 40.9706 8.50453 42.4905 8.50453Z"}
2),(0,t.jsx)("path",{className:e.pathClassName,d:"M38.1417 16.2305C39.6616 16.2305 40.8937 14.9995 40.8937 13.4809C40.8937 11.9624 39.6616 10.7314 38.1417 10.7314C36.6218 10.7314 35.3896 11.9624 35.3896 13.4809C35.3896 14.9995 36.6218 16.2305 38.1417 16.2305Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M47.0027 16.2305C48.5226 16.2305 49.7548 14.9995 49.7548 13.4809C49.7548 11.9624 48.5226 10.7314 47.0027 10.7314C45.4828 10.7314 44.2507 11.9624 44.2507 13.4809C44.2507 14.9995 45.4828 16.2305 47.0027 16.2305Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M67.9836 42.5009C66.4632 42.5009 65.2316 43.7314 65.2316 45.2505C65.2316 46.7695 66.4632 48 67.9836 48C69.5041 48 70.7357 46.7695 70.7357 45.2505C70.7357 43.7314 69.5041 42.5009 67.9836 42.5009Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M76.8501 42.5009C75.3297 42.5009 74.0981 43.7314 74.0981 45.2505C74.0981 46.7695 75.3297 48 76.8501 48C78.3706 48 79.6022 46.7695 79.6022 45.2505C79.6022 43.7314 78.3706 42.5009 76.8501 42.5009Z"}),(0,t.jsx)("path",{className:e.pathClassName,d:"M124.665 5.68966C124.676 3.82759 123.417 3.02723 121.624 3.02723C118.294 3.01634 115.346 5.17787 115.444 8.78222V10.4973L121.15 8.88023C123.03 8.32487 124.632 7.61707 124.665 5.68966Z"})]});l.displayName="Fresha.DesignSystem.LogoTextArabic";let c=(0,s.sva)({slots:["path","svg"],base:{svg:{display:"block"}},variants:{color:{white:{svg:{fill:"foreground.onPrimary"},path:{fill:"foreground.onPrimary"}},dark:{svg:{fill:"foreground.neutral"},path:{fill:"foreground.neutral"}},neutralFaded:{svg:{fill:"foreground.neutralFaded"},path:{fill:"foreground.neutralFaded"}},ghost:{svg:{fill:"foreground.ghost"},path:{fill:"foreground.ghost"}}},size:{xl:{svg:{blockSize:a.default.logo.size.horizontal.xl.composition.height.value}},l:{svg:{blockSize:a.default.logo.size.horizontal.l.composition.height.value}},m:{svg:{blockSize:a.default.logo.size.horizontal.m.composition.height.value}},s:{svg:{blockSize:a.default.logo.size.horizontal.s.composition.height.value}},xs:{svg:{blockSize:a.default.logo.size.horizontal.xs.composition.height.value}}}}}),d=e=>{let{color:a="dark",size:s="xs",height:o,locale:d,css:u}=e,{language:_}=(0,i.useLanguage)({languageId:d}),p="ar"===_?l:r,h=c.raw({color:a,size:o?void 0:s});return(0,t.jsx)(p,{pathClassName:(0,n.css)(h.path),svgClassName:(0,n.css)(h.svg,u),style:{height:o}})};d.displayName="Fresha.DesignSystem.Logo",e.s(["Logo",0,d],477788)},950023,e=>{"use strict";var t=e.i(318008),i=e.i(842125),a=e.i(687652),n=e.i(202460);let s=a.createContext({isExpanded:!1,hasChildSelected:!1});s.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion.Context";var o=e.i(28218),r=e.i(84582);let l=a.default.createContext({hasItemDivider:!1,itemSize:void 0});l.displayName="Fresha.DesignSystem.MenuStructure.ItemContext";let{Provider:c}=l,d=a.forwardRef((e,n)=>{let{children:s,id:c,hasDivider:d,size:u,hasChildSelected:_,...p}=e,h=(0,o.useId)(c),{Component:m,hasAction:f,actionProps:I,restProps:g}=(0,r.getActionBehaviour)({...p,id:h}),{hasItemDivider:E,itemSize:C}=a.useContext(l);return(0,t.jsxs)(i.MenuStructure.Item,{ref:n,size:u||C,color:_?"accent":"default",...g,children:[f&&(0,t.jsx)(m,{...I,id:h,css:i.MenuStructure.Item.getInteractionStyles()}),s,(E||d)&&(0,t.jsx)(i.MenuStructure.Item.Divider,{})]})});d.displayName="Fresha.DesignSystem.Menu.MenuItemSlot";let u=e=>{let{prefixIcon:o,prefix:r,label:l,description:c,suffix:u,isAccordion:_,isNavigable:p,isSelected:h,isPrefixInteractive:m,hasDivider:f,...I}=e,{isExpanded:g,hasChildSelected:E}=a.useContext(s);return(0,t.jsxs)(d,{isHighlighted:E&&h,...I,hasDivider:f,as:_?"div":"li",children:[!r&&o&&(0,t.jsx)(i.MenuStructure.Item.PrefixIcon,{icon:o}),r&&(0,t.jsx)(i.MenuStructure.Item.PrefixWithMargin,{isInteractive:m,children:r}),(0,t.jsxs)(i.MenuStructure.Item.Content,{children:[(0,t.jsx)(i.MenuStructure.Item.Label,{children:l}),c&&(0,t.jsx)(i.MenuStructure.Item.Description,{children:c})]}),u,_&&(0,t.jsx)(i.MenuStructure.Item.SuffixAccordion,{isExpanded:g}),h&&(0,t.jsx)(i.MenuStructure.Item.SuffixIcon,{icon:n.CheckBoldIcon}),p&&(0,t.jsx)(i.MenuStructure.Item.SuffixChevron,{})]})};u.displayName="Fresha.DesignSystem.Menu.MenuItem";var _=e.i(15437);let p=a.forwardRef((e,a)=>{let{children:n,...s}=e;return(0,t.jsx)(i.MenuStructure.ItemWrapper,{ref:a,...s,children:n})});p.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion.Wrapper";let h=a.forwardRef((e,i)=>{let{children:n,isExpanded:o,hasChildSelected:r,...l}=e,c=a.useMemo(()=>({isExpanded:o,hasChildSelected:r}),[o,r]);return(0,t.jsx)(s.Provider,{value:c,children:(0,t.jsx)(_.Accordion,{as:"li",ref:i,isExpanded:o,triggerComponent:(0,t.jsx)(u,{...l,hasChildSelected:r,isAccordion:!0}),unsafeStyle:{listStyle:"none"},children:n})})});h.displayName="Fresha.DesignSystem.Menu.MenuItemAccordion";let m=Object.assign(h,{Wrapper:p}),f=e=>{let{header:n,headerSlot:s,hasItemDivider:o,itemSize:r,hasDivider:l=!0,children:d,...u}=e,_=a.useMemo(()=>({hasItemDivider:o,itemSize:r}),[o,r]);return(0,t.jsx)(c,{value:_,children:(0,t.jsxs)(i.MenuStructure.List,{...u,size:r,children:[n&&(0,t.jsx)(i.MenuStructure.List.Header,{slot:s,children:n}),(0,t.jsx)(i.MenuStructure.List.Content,{children:d}),(0,t.jsx)(i.MenuStructure.List.Divider,{withoutLine:!l})]})})};f.displayName="Fresha.DesignSystem.Menu.MenuList";let I=a.forwardRef((e,a)=>(0,t.jsx)(i.MenuStructure,{ref:a,...e}));I.displayName="Fresha.DesignSystem.Menu";let g=Object.assign(I,{List:f,Item:u,ItemAccordion:m,ItemSlot:d});e.s(["Menu",0,g],950023)},445237,e=>{"use strict";let t,i=[],a=!1,n=!1,s=!1,o=()=>{let e=i.shift();if(!e){n=!1;return}n=!0;try{e()}finally{var t;t=()=>{o()},"u">typeof scheduler&&"function"==typeof scheduler.postTask?scheduler.postTask(t,{priority:"background"}):setTimeout(t,0)}},r=()=>{for(let e of(a=!1,clearTimeout(t),t=void 0,i.splice(0,i.length)))e()},l=()=>{"hidden"===document.visibilityState&&r()};e.s(["afterNextPaint",0,e=>{if(i.push(e),s||(s=!0,window.addEventListener("pagehide",r),document.addEventListener("visibilitychange",l)),a||n)return;a=!0;let c=()=>{a=!1,clearTimeout(t),t=void 0,n||o()};if(document.hidden){t=setTimeout(c,0);return}t=setTimeout(c,200),window.requestAnimationFrame(()=>setTimeout(c,0))}])},317437,e=>{"use strict";var t=e.i(464279),i=e.i(604913),a=e.i(151639),n=e.i(445237),s=e.i(849585);e.s(["gtag",0,function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];"function"!=typeof window.gtag&&(window.gtag=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];window.dataLayer=window.dataLayer||[],window.dataLayer.push(...t)}),(0,n.afterNextPaint)(()=>window.gtag?.(...t))},"pushEvent",0,e=>{let{userId:o}=(0,s.getAll)(),r=i.DEFAULT_GEOLOCATION_REGION;try{r=(0,a.getGeolocationRegion)()}catch{}let l={...e,section:"b2c web",send_to:t.GA4_GTM_ID,user_id:o,viewer_country:r};(0,n.afterNextPaint)(()=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push(l)})}])},726415,e=>{"use strict";var t,i=((t={}).PAGE_VIEW="fresha.page_view",t.VIEW_ITEM="fresha.view_item",t.ADD_TO_CART="fresha.add_to_cart",t.PURCHASE="fresha.purchase",t.SIGN_UP="fresha.sign_up",t.LOGIN="fresha.login",t.BUY_VOUCHER_CLICKED="fresha.buy_voucher_clicked",t.BUY_MEMBERSHIP_CLICKED="fresha.buy_membership_clicked",t.BOOK_
2NOW_CLICKED="fresha.book_now_clicked",t.SEE_ALL_STAFF_CLICKED="fresha.see_all_staff_clicked",t.USER_NAVIGATION_CLICKED="fresha.user_navigation_clicked",t.OTHER_VENUE_CLICKED="fresha.other_venue_clicked",t.REVIEWS_CLICKED="fresha.reviews_clicked",t.LOGOUT="fresha.logout",t.FOR_BUSINESS_NAVIGATION_CLICK="fresha.for_business_navigation_click",t.TIP_REVIEW_BACK="fresha.tip_review_back",t.TIP_REVIEW_EXIT="fresha.tip_review_exit",t.TIP_REVIEW_SKIP_TIP="fresha.tip_skipped",t.TIP_REVIEW_SUBMIT_TIP="fresha.tip_submitted",t.TIP_REVIEW_SKIP_REVIEW="fresha.review_skipped",t.TIP_REVIEW_SUBMIT_REVIEW="fresha.review_submitted",t.TIP_REVIEW_THANKS="fresha.tip_review_thanks",t.APPOINTMENT_CLICKED="fresha.appointment_clicked",t.APPOINTMENTS_LIST_LOADED_MORE="fresha.appointments_list_loaded_more",t.APPOINTMENT_LIST_ERROR_RELOAD_CLICKED="fresha.appointment_list_error_reload_clicked",t.APPOINTMENT_DETAILS_ERROR_RELOAD_CLICKED="fresha.appointment_details_error_reload_clicked",t.APPOINTMENT_DETAILS_HERO_LINK_CLICKED="fresha.appointment_details_hero_link_clicked",t.APPOINTMENT_DETAILS_BACK_BUTTON_CLICKED="fresha.appointment_details_back_button_clicked",t.APPOINTMENT_CONSULTATION_FORM_CALLOUT_CLICKED="fresha.appointment_consultation_form_callout_clicked",t.APPOINTMENT_CONSULTATION_FORM_SPECIFIC_LINK_CLICKED="fresha.appointment_consultation_form_specific_link_clicked",t.APPOINTMENT_CONFIRM_CALLOUT_CLICKED="fresha.appointment_confirm_callout_clicked",t.APPOINTMENT_CONFIRM_BUTTON_CLICKED="fresha.appointment_confirm_button_clicked",t.APPOINTMENT_LEAVE_REVIEW_CLICKED="fresha.appointment_leave_review_clicked",t.APPOINTMENT_EDIT_REVIEW_CLICKED="fresha.appointment_edit_review_clicked",t.APPOINTMENT_REMOVE_REVIEW_CLICKED="fresha.appointment_remove_review_clicked",t.APPOINTMENT_REMOVE_REVIEW_CONFIRM_CLICKED="fresha.appointment_remove_review_confirm_clicked",t.APPOINTMENT_REMOVE_REVIEW_CANCEL_CLICKED="fresha.appointment_remove_review_cancel_clicked",t.APPOINTMENT_ADD_TO_CALENDAR_CLICKED="fresha.appointment_add_to_calendar_clicked",t.APPOINTMENT_GETTING_THERE_CLICKED="fresha.appointment_getting_there_clicked",t.APPOINTMENT_MANAGE_APPOINTMENT_CLICKED="fresha.appointment_manage_appointment_clicked",t.APPOINTMENT_MANAGE_CANCEL_CLICKED="fresha.appointment_manage_cancel_clicked",t.APPOINTMENT_MANAGE_RESCHEDULE_CLICKED="fresha.appointment_manage_reschedule_clicked",t.APPOINTMENT_LEAVE_TIP_CLICKED="fresha.appointment_leave_tip_clicked",t.APPOINTMENT_BOOK_AGAIN_CLICKED="fresha.appointment_book_again_clicked",t.APPOINTMENT_SEND_MESSAGE_CLICKED="fresha.appointment_send_message_clicked",t.APPOINTMENT_VENUE_DETAILS_CLICKED="fresha.appointment_venue_details_clicked",t.APPOINTMENT_INVOICE_LINK_CLICKED="fresha.appointment_invoice_link_clicked",t.APPOINTMENT_PREVIEW_MANAGE_APPOINTMENT_CLICKED="fresha.appointment_preview_manage_appointment_clicked",t.APPOINTMENT_PREVIEW_SWITCH_ACCOUNTS_CLICKED="fresha.appointment_preview_switch_accounts_clicked",t.APPOINTMENT_PREVIEW_CLAIM_CLICKED="fresha.appointment_preview_claim_clicked",t.APPOINTMENT_PREVIEW_CONSULTATION_FORM_VISITED="fresha.appointment_preview_consultation_form_visited",t.APPOINTMENT_PREVIEW_CONSULTATION_FORM_STALE_REDIRECTED="fresha.appointment_preview_consultation_form_stale_redirected",t.APPOINTMENT_CWC_CLOSE_CLICKED="fresha.appointment_cwc_close_clicked",t.APPOINTMENT_CWC_CARD_DETAILS_ENTERED="fresha.appointment_cwc_card_details_entered",t.APPOINTMENT_CWC_PHONE_INVALID="fresha.appointment_cwc_phone_invalid",t.APPOINTMENT_CWC_CARD_DETAILS_INVALID="fresha.appointment_cwc_card_details_invalid",t.APPOINTMENT_CWC_CARD_BUTTON_CLICKED="fresha.appointment_cwc_card_button_clicked",t.APPOINTMENT_CWC_CARD_BUTTON_DIALOG_DISMISSED="fresha.appointment_cwc_card_button_dialog_dismissed",t.APPOINTMENT_CWC_EDIT_CARD_OPTION_CLICKED="fresha.appointment_cwc_edit_card_option_clicked",t.APPOINTMENT_CWC_EDIT_CARD_SAVED="fresha.appointment_cwc_edit_card_saved",t.APPOINTMENT_CWC_CONTINUE_CLICKED="fresha.appointment_cwc_continue_clicked",t.APPOINTMENT_CWC_USER_INFO_INVALID="fresha.appointment_cwc_user_details_invalid",t.APPOINTMENT_CWC_CONFIRM_CLICKED="fresha.appointment_cwc_confirm_clicked",t.APPOINTMENT_CWC_ACCEPT_CONFIRM_CLICKED="fresha.appointment_cwc_accept_confirm_clicked",t.APPOINTMENT_CWC_PAY_NOW_CLICKED="fresha.appointment_cwc_pay_now_clicked",t.APPOINTMENT_CWC_CONFIRM_SUCCESSFUL="fresha.appointment_cwc_confirm_success",t.APPOINTMENT_GOOG
2LE_REVIEW_PROMPT_SHOWN="fresha.g_review_prompt_shown",t.APPOINTMENT_GOOGLE_REVIEW_PROMPT_CLICKED="fresha.g_review_prompt_clicked",t.APPOINTMENT_GOOGLE_REVIEW_PROMPT_DISMISSED="fresha.g_review_prompt_dismissed",t.COOKIE_CONSENT_BANNER_RENDERED="fresha.cookie_consent_banner_render",t.COOKIE_CONSENT_BANNER_CONSENTED="fresha.cookie_consent_banner_consented",t.COOKIE_CONSENT_UPDATE="fresha.cookie_consent_update",t.ANDROID_APP_BANNER_RENDERED="fresha.android_app_banner_rendered",t.ANDROID_APP_BANNER_DISMISSED="fresha.android_app_banner_dismissed",t.ANDROID_APP_BANNER_CTA_CLICK="fresha.android_app_banner_cta_click",t.ANDROID_APP_BANNER_NATIVE_PROMPT_ACCEPTED="fresha.android_app_native_install_prompt_accepted",t.ANDROID_APP_BANNER_NATIVE_PROMPT_DISMISSSED="fresha.android_app_native_install_prompt_dismissed",t.DOWNLOAD_APP_MODEL_RENDERED="fresha.download_app_modal_rendered",t.DOWNLOAD_APP_MODEL_DISMISSED="fresha.download_app_modal_dismissed",t.DOWNLOAD_APP_MODAL_CLICK="fresha.download_app_modal_click",t.DOWNLOAD_APP_BANNER_RENDERED="fresha.download_app_banner_rendered",t.DOWNLOAD_APP_BANNER_CLICK="fresha.download_app_banner_click",t);e.s(["EventNames",()=>i])},477829,364379,e=>{"use strict";var t=e.i(151639);e.s(["getAbsoluteLocalizedLink",0,e=>{let{path:i}=e,{urlPrefix:a,isDefault:n}=(0,t.getLocaleConfig)();return n?["https://www.fresha.com",i?.[0]==="/"?i.substr(1):i].filter(Boolean).join("/"):[`https://www.fresha.com/${a}`,i?.[0]==="/"?i.substr(1):i].filter(Boolean).join("/")}],477829);var i=e.i(318008),a=e.i(687652),n=e.i(557547);let s=a.default.forwardRef((e,t)=>(0,i.jsx)(n.Icon,{...e,ref:t,children:(0,i.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,i.jsx)("path",{fillRule:"evenodd",d:"M19.429 3.457C24.944 4.96 29 10.007 29 16c0 2.022-.462 3.937-1.285 5.643a1 1 0 0 1-.088.18l-.006.01c-2.084 4.144-6.319 7.02-11.238 7.161a1 1 0 0 1-.169.004L16 29C8.82 29 3 23.18 3 16S8.82 3 16 3c1.105 0 2.177.138 3.201.397q.117.017.227.06M5 16c0-1.786.426-3.473 1.181-4.965l1.305 3.471a1.99 1.99 0 0 0 1.454 1.272l2.675.574.471.981.009.018a2.03 2.03 0 0 0 1.778 1.111h.163l-.96 2.154a2 2 0 0 0 .35 2.173l2.352 2.544-.322 1.654C9.633 26.703 5 21.893 5 16m2.923-6.016L8.956 7.55A10.96 10.96 0 0 1 16 5c.826 0 1.63.091 2.404.264l.944 1.709-3.356 3.035-1.55.854h-2.655a2.012 2.012 0 0 0-1.844 1.218l-.651 1.547zm4.107 4.412-.818-.176.58-1.358h2.697c.303 0 .634-.091.917-.241l1.552-.858a2 2 0 0 0 .383-.279l3.365-3.04a2.01 2.01 0 0 0 .536-2.117A11 11 0 0 1 27 16c0 1.35-.244 2.645-.689 3.84l-5.792-3.563a1.9 1.9 0 0 0-.794-.282l-2.85-.386a1.98 1.98 0 0 0-1.915.853l-1.071-.003-.473-.975a1.99 1.99 0 0 0-1.386-1.088m13.409 7.256a11 11 0 0 1-7.927 5.245l.232-1.179a2.025 2.025 0 0 0-.491-1.741l-2.354-2.54 1.715-3.845 2.853.387z",clipRule:"evenodd"})})}));s.displayName="Fresha.DesignIcons.GlobeIcon",e.s(["GlobeIcon",0,s],364379)},238695,e=>{"use strict";var t=e.i(318008),i=e.i(330126),a=e.i(40271),n=e.i(687652),s=e.i(486382);let o=()=>e.A(937330).then(e=>e.LogoutConfirmationDialog),r=(0,a.default)(o,{ssr:!1});e.s(["LogoutConfirmationDialogLazy",0,function(e){let{email:a,redirectTo:l}=e,{isOpen:c}=(0,s.useLogoutConfirmationDialog)(),d=(0,i.useHasOpened)(c);return((0,n.useEffect)(()=>{d||o()},[d]),d)?(0,t.jsx)(r,{email:a,redirectTo:l}):null}])},486382,e=>{"use strict";var t=e.i(350648);e.s(["useLogoutConfirmationDialog",0,function(){return(0,t.useSearchParamsModal)({key:"logout-confirmation"})}])},323555,e=>{"use strict";var t,i=e.i(317437),a=e.i(726415),n=((t={}).ACTIVITY="Activity",t.LOGIN="Log in",t.LOGOUT="Logout",t.MESSAGES="Messages",t.PROFILE="Profile",t.PROFILE_SETTINGS="Settings",t.VOUCHERS="Vouchers",t.GIFT_CARDS="Gift cards",t.FAVOURITES="Favourites",t.FORMS="Forms",t.DOWNLOAD_APP="Download the app",t.CUSTOMER_SUPPORT="Customer Support",t.LANGUAGE_SELECT="Language select",t.SEND_GIFT_CARD="Send gift card",t);e.s(["USER_NAVIGATION_TITLES",()=>n,"onBusinessNavigation",0,()=>((0,i.pushEvent)({event:a.EventNames.FOR_BUSINESS_NAVIGATION_CLICK,interaction_value:"For business"}),Promise.resolve()),"onUserNavigation",0,e=>((0,i.pushEvent)({event:a.EventNames.USER_NAVIGATION_CLICKED,interaction_value:e}),Promise.resolve())])},914898,183077,e=>{"use strict";var t=e.i(318008),i=e.i(149824),a=e.i(255996),n=e.i(60831),s=e.i(713783);e.i(317123);var o=e.i(843131);e.i(481248);var r=e.i(616094),l=e.i(896075),c=e.i(684908);e.i(550834);var d=e.i(271894),u=e.i(687652),_=e.i(875523),p=e.i(949316),h=e.i(477829),m=e.i(804702),f=e.i(224989),I=e.i(323555);let g=e=>{let{isFreshaGiftCardEnabled:a,isLoading:n,isLoggedIn:s}=e;return n?(0,t.jsxs)(t.Fragment,{children:[a?(0,t.jsx)(f.Skeleton,{qaType:"navigation-fresha-gift-card-skeleton",shape:"default",css:{blockSize:"[24px]",inlineSize:"[122px]",alignSelf:"center",marginBlock:"0",marginInline:"[19px]"}}):null,(0,t.jsx)(f.Skeleton,{qaType:"navigation-for-business-skeleton",shape:"rounded",css:{blockSize:"[48px]",inlineSize:"[146.39px]"}})]}):(0,t.jsxs)(t.Fragment,{children:[a?(0,t.jsx)(m.Button,{linkTo:"/buy-fresha-gift-card",isExternal:!0,target:"_self",id:"fresha-gift-card",qaType:"fresha-gift-card",variant:"tertiary",size:"l",shape:"pill",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.SEND_GIFT_CARD),children:p.__`Send a gift card`}):null,s?null:(0,t.jsx)(m.Button,{linkTo:(0,i.selectUserPath)(),isExternal:!0,target:"_self",id:"login-btn",qaType:"login-btn",variant:"tertiary",size:"l",shape:"pill",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.LOGIN),children:p.__`Log in`}),(0,t.jsx)(m.Button,{linkTo:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),isExternal:!0,target:"_self",id:"for-business-btn",qaType:"link-for-business",variant:"secondary",size:"l",shape:"pill",onAction:I.onBusinessNavigation,children:(0,p.__p)("Link to for business page","For businesses")})]})};var E=e.i(151639),C=e.i(462041),v=e.i(210426),N=e.i(253116),T=e.i(551612),x=e.i(732257),S=e.i(364379),A=e.i(557547);let b=u.default.forwardRef((e,i)=>(0,t.jsx)(A.Icon,{...e,ref:i,children:(0,t.jsx)("svg",{fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1m0 8a1 1 0 0 1 1-1h22a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1",clipRule:"evenodd"})})}));b.displayName="Fresha.DesignIcons.HamburgerMenuIcon";var w=e.i(616274),y=e.i(130641),L=e.i(950023),k=e.i(842125);let O=d.css.raw({backgroundColor:"transparent",borderStyle:"none",display:"flex",alignItems:"center",blockSize:"100%"}),P=d.css.raw({alignItems:"center",blockSize:"600",display:"inline-flex",position:"relative"}),R=d.css.raw({backgroundColor:"background.neutralFaded",borderStyle:"none",borderWidth:"0",margin:"0",maxBlockSize:"none",maxInlineSize:"none",overflowY:"auto",padding:"0",zIndex:"101",_backdrop:{backgroundColor:"background.overlay"},"@media not all and (min-width: 768px)":{blockSize:"100%",inlineSize:"100%",insetBlockEnd:"0",insetBlockStart:"0",insetInlineEnd:"0",insetInlineStart:"0",position:"fixed"},tablet:{backgroundColor:"background.elevated",blockSize:"auto",borderColor:"border.neutralFaded",borderRadius:"l",borderStyle:"solid",borderWidth:"100",boxShadow:"elevated",inlineSize:"[240px]",insetBlockEnd:"auto",insetBlockStart:"[calc(100% + 8px)]",insetInlineEnd:"0",insetInlineStart:"auto",marginBlockStart:"0",overflow:"hidden",paddingBlockEnd:"100",paddingBlockStart:"100",paddingInline:"250",position:"absolute",_backdrop:{backgroundColor:"transparent"}}}),D=d.css.raw({alignItems:"center",backgroundColor:"background.neutralFaded",display:"flex",justifyContent:"flex-end",marginBlock:"[10px]",marginInline:"0",paddingBlockEnd:"200",paddingBlockStart:"250",paddingInline:"250",tablet:{display:"none"}}),M=d.css.raw({display:"flex",flexDirection:"column",gap:"200"}),j=d.css.raw({backgroundColor:"background.page",borderWidth:"100",borderStyle:"solid",borderColor:"border.neutralFaded",borderRadius:"l",display:"flex",flexFlow:"column",listStyle:"none",marginBlock:"0",marginInline:"250",paddingBlock:"150",paddingInline:"250"}),z=d.css.raw({textStyle:"header.l.semibold",paddingBlockStart:"0",paddingInline:"250",paddingBlockEnd:"150"}),U=d.css.raw({paddingBlock:"150",paddingInline:"0"}),V=d.css.raw({textStyle:"body.m.semibold",laptop:{textStyle:"body.s.semibold"}}),B=e=>{let{isFreshaGiftCardEnabled:a}=e;return(0,t.jsxs)("nav",{hidden:!0,"aria-hidden":"true",children:[(0,t.jsx)("a",{href:(0,C.toLocalisedHref)((0,i.selectUserPath)()),children:p.__`Log in or sign up`}),a?(0,t.jsx)("a",{href:(0,C.toLocalisedHref)("/buy-fresha-gift-card"),children:p.__`Send a gift card`}):null,(0,t.jsx)("a",{href:(0,C.toLocalisedHref)(i.DOWNLOAD_APP),children:p.__`Download the app`}),(0,t.jsx)("a",{href:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),children:p.__`Help and support`}),(0,t.jsx)("a",{href:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),children:p.__`For businesses`})]})},F=e=>{let{menu:i,onItemAction:a}=e;return(0,t.jsx)("div",{className:(0,d.css)(M),children:i.map(e=>(0,t.jsxs)(u.Fragment,{children:[e.name?(0,t.jsx)("p",{className:(0,d.css)(z),children:e.name}):null,(0,t.jsx)("ul",{className:(0,d.css)(j),children:e.items.map(e=>{let i=e.prefixIcon;return(0,t.jsxs)(y.ListItem,{as:"li",onAction:()=>(e.onAction?.(),a(),Promise.resolve()),css:U,variant:"flush",linkTo:e?.linkTo,isExternal:e.isExternal,target:e?.target,qaType:e.dataQa,children:[i?(0,t.jsx)(y.ListItem.Prefix,{leftSection:(0,t.jsx)(i,{size:"m"})}):null,(0,t.jsx)(y.ListItem.Content,{children:(0,t.jsx)("p",{className:(0,d.css)({textStyle:"body.m.medium"},e.isLabelBold&&{textStyle:"body.m.semibold"},"accent"===e.labelColor&&{color:"foreground.accent"}),children:e.label})}),(0,t.jsx)(y.ListItem.Suffix,{rightSection:e.useArrowIcon?(0,t.jsx)(N.ArrowRightIcon,{color:"neutral",size:"l"}):(0,t.jsx)(T.ChevronRightIcon,{color:"neutral",size:"l"})})]},e.key)})})]},e.key))})},G=e=>{let{menu:i,onItemAction:a}=e,[n,s]=i;return(0,t.jsxs)(L.Menu,{children:[(0,t.jsx)(L.Menu.List,{header:n.name,children:n.items.map(e=>(0,t.jsx)(L.Menu.Item,{label:e.label,color:"accent"===e.labelColor?"accent":"default",linkTo:e.linkTo,isExternal:e.isExternal,target:e.target,prefixIcon:e.prefixIcon,qaType:e.dataQa,onAction:async()=>{e.onAction?.(),a()}},e.key))}),(0,t.jsx)(L.Menu.List,{children:s.items.map(e=>(0,t.jsxs)(L.Menu.ItemSlot,{linkTo:e.linkTo,isExternal:e.isExternal,target:e.target,qaType:e.dataQa,onAction:async()=>{e.onAction?.(),a()},children:[(0,t.jsx)(k.MenuStructure.Item.Content,{children:(0,t.jsx)(k.MenuStructure.Item.Label,{css:V,children:e.label})}),(0,t.jsx)(k.MenuStructure.Item.SuffixIcon,{icon:N.ArrowRightIcon})]},e.key))})]})},H=e=>{let{isFreshaGiftCardEnabled:a}=e,[n,s]=(0,u.useState)(!1),r=(0,u.useRef)(null),l=(0,u.useRef)(null),c=(0,u.useRef)(!1),f=(0,u.useId)(),{setOpen:g}=(0,v.useLocaleDialog)(),C=(0,u.useCallback)(()=>s(!1),[]),N=(0,u.useCallback)(()=>s(e=>!e),[]);(0,_.useInteractOutside)({ref:r,onInteractOutside:C,isDisabled:!n}),(0,u.useLayoutEffect)(()=>{let e=l.current;if(e){if(!n){e.open&&e.close(),c.current=!1;return}e.open||(window.matchMedia("(min-width: 768px)").matches?(c.current=!1,e.show()):(c.current=!0,e.showModal()))}},[n]),(0,u.useEffect)(()=>{let e=l.current;if(!e)return;let t=()=>s(!1);return e.addEventListener("close",t),()=>e.removeEventListener("close",t)},[]),(0,u.useEffect)(()=>
2{if(!n)return;let e=e=>{if("Escape"!==e.key||c.current)return;e.preventDefault();let t=r.current?.querySelector('[aria-expanded="true"]');C(),queueMicrotask(()=>t?.focus())};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[C,n]);let T=[{name:(0,p.__p)("User menu","For customers"),key:"list-1",items:[{key:"login",linkTo:(0,i.selectUserPath)(),label:p.__`Log in or sign up`,dataQa:"menu-item-log-in",labelColor:"accent"},...a?[{key:"fresha-gift-card",linkTo:"/buy-fresha-gift-card",label:(0,p.__)("Send a gift card"),onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.SEND_GIFT_CARD)}]:[],{key:"download-app",linkTo:i.DOWNLOAD_APP,label:p.__`Download the app`,dataQa:"menu-item-download-app",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.DOWNLOAD_APP)},{key:"help",linkTo:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),isExternal:!0,label:p.__`Help and support`,dataQa:"menu-item-support",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.CUSTOMER_SUPPORT)},{label:(0,E.getLocaleConfig)().name,key:"language-switch",dataQa:"menu-item-language",prefixIcon:S.GlobeIcon,onAction:()=>{g(!0),(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.LANGUAGE_SELECT)}}]}
2,{name:"",key:"list-2",items:[{key:"for-business",linkTo:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),target:"_self",label:p.__`For businesses`,isLabelBold:!0,useArrowIcon:!0,isExternal:!0,dataQa:"menu-item-for-business",onAction:I.onBusinessNavigation}]}];return(0,t.jsxs)("div",{className:(0,d.css)(P),ref:r,children:[(0,t.jsx)(o.Visibility,{lt:"laptop",children:(0,t.jsx)(w.ButtonBehaviour,{css:O,onAction:N,"aria-label":(0,p.__p)("Mobile menu link","Menu"),"aria-expanded":n,"aria-controls":f,qaType:"navigation-hamburger-mobile",children:(0,t.jsx)(b,{color:"neutral",size:"2xl"})})}),(0,t.jsx)(o.Visibility,{gte:"laptop",children:(0,t.jsx)(m.Button,{id:"popup-menu-button",icon:b,iconPosition:"right",variant:"secondary",shape:"pill",qaType:"navigation-hamburger-desktop",size:"l","aria-expanded":n,"aria-controls":f,onAction:N,children:(0,p.__p)("button for main navigation on Desktop","Menu")})}),(0,t.jsxs)("dialog",{id:f,ref:l,className:(0,d.css)(R),"aria-label":(0,p.__p)("Mobile menu link","Menu"),children:[(0,t.jsx)("div",{className:(0,d.css)(D),children:(0,t.jsx)(m.Button,{icon:x.CloseBoldIcon,isCompact:!0,isLabelHidden:!0,onAction:async()=>{C()},qaType:"navigation-hamburger-close",size:"l",variant:"tertiary",children:(0,p.__p)("Logged-out header menu: dismiss the menu","Close")})}),(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(F,{menu:T,onItemAction:C})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(G,{menu:T,onItemAction:C})})]})]})};var W=e.i(501826),K=e.i(930934),q=e.i(388369),$=e.i(348514),Z=e.i(238695),Q=e.i(486382),Y=e.i(59970),X=e.i(163065),J=e.i(865555),ee=e.i(818489),et=e.i(523713),ei=e.i(784139),ea=e.i(464056),en=e.i(933342),es=e.i(974093),eo=e.i(107076),er=e.i(275125),el=e.i(943597),ec=e.i(960826),ed=e.i(652463),eu=e.i(564080),e_=e.i(21575);let ep=d.css.raw({display:"flex",alignItems:"center"}),eh=d.css.raw({display:"flex",alignItems:"center",justifyContent:"space-between",inlineSize:"100%"}),em={__meta__:{hash:"24128382633725db2ad51736545b88258c22b2e00009cc680279b2c5d0502bf1"},name:"Shell_UserMenu_Query",type:"query"},ef=(0,u.forwardRef)((e,i)=>{let{isOpen:a,onAction:n,user:s,badge:o,...r}=e;return(0,t.jsx)(m.Button,{...r,onAction:n,contentUnsafeStyle:{paddingInlineEnd:e_.spacing100},id:"menu-button",ref:i,qaType:"avatar-button-desktop",variant:"secondary",shape:"pill",size:"l",isLabelHidden:!0,prefix:(0,t.jsx)(ec.ButtonStructure.Affix,{prefixType:"compact",size:"l",children:o?(0,t.jsxs)("span",{className:(0,d.css)({position:"relative",display:"inline-flex"}),children:[(0,t.jsx)(el.Avatar,{id:"avatar-button-desktop",initials:s.initials,src:s.avatarThumb?.url,alt:(0,p.__)("The avatar of %{firstName} %{lastName}",{firstName:s.firstName,lastName:s.lastName}),size:"m"}),o]}):(0,t.jsx)(el.Avatar,{id:"avatar-button-desktop",initials:s.initials,src:s.avatarThumb?.url,alt:(0,p.__)("The avatar of %{firstName} %{lastName}",{firstName:s.firstName,lastName:s.lastName}),size:"m"})}),suffix:a?(0,t.jsx)(ee.ChevronUpIcon,{color:"neutral",size:"l"}):(0,t.jsx)(J.ChevronDownIcon,{color:"neutral",size:"l"}),children:p.__`User menu`})});ef.displayName="AvatarDropdownButtonComponent";let eI=e=>{let{data:n,showSkeleton:s}=e,r=(0,K.unmask)(n),l=(0,q.useFeatureIsEnabled)("B2C_WEB_CUSTOMER_CONNECT"),{data:c}=(0,a.useSWRGQL)(em),_=!!c?.freshaGiftCardCountryConfig?.isEnabled,{messagesInline:m,messagesOverlay:g}=(0,$.useNavigationBadges)(),{setOpen:C}=(0,v.useLocaleDialog)(),{openModal:T}=(0,Q.useLogoutConfirmationDialog)(),{menus:x}=(0,u.useMemo)(()=>({menus:[{name:r?.fullName??"",key:"list-1",items:[{linkTo:i.PROFILE,copy:p.__`Profile`,key:"profile",prefixIcon:en.ProfileIcon,qaType:"dropdown-btn-info-profile",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.PROFILE)},{linkTo:(0,i.activityPath)(),copy:p.__`Activity`,key:"activity",prefixIcon:Y.CalendarIcon},{linkTo:"/wallet",copy:p.__`Wallet`,key:"wallet",prefixIcon:er.WalletIcon},...!0===l?[{linkTo:i.MESSAGES,copy:p.__`Messages`,key:"messages",prefixIcon:X.ChatBubbleIcon,content:m,qaType:"menu-item-messages",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.MESSAGES)}]:[],{linkTo:(0,i.profileFavoritesPath)(),copy:p.__`Favorites`,key:"favorites",prefixIcon:ea.HeartIcon,qaType:"menu-item-my-favorites",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.FAVOURITES)},..._?[{linkTo:{pathname:"/buy-fresha-gift-card"},copy:p.__`Send a gift card`,key:"fresha-gift-card",prefixIcon:ei.GiftIcon,onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.SEND_GIFT_CARD)}]:[],{linkTo:(0,i.consultationFormsPath)(),copy:p.__`Forms`,key:"consultation-forms",prefixIcon:et.ClipboardIcon,qaType:"menu-item-my-consultation-forms",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.FORMS)},...r?.isVouchersLinkEnabled?[{linkTo:i.USER_VOUCHERS_ROOT,copy:p.__`Vouchers`,key:"vouchers",prefixIcon:eo.VoucherIcon,onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.VOUCHERS)}]:[],{linkTo:"/settings",copy:p.__`Settings`,key:"settings",prefixIcon:es.SettingsIcon,onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.PROFILE_SETTINGS)},{copy:p.__`Log out`,key:"logout",qaType:"menu-item-logout",onAction:()=>((0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.LOGOUT),T(),Promise.resolve())}]}
2,{name:"",key:"list-2",items:[{linkTo:i.DOWNLOAD_APP,copy:p.__`Download the app`,key:"download-the-app",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.DOWNLOAD_APP)},{linkTo:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.HELP_CENTER_GET_SUPPORT}),isExternal:!0,copy:p.__`Help and support`,key:"customer-button",onAction:()=>(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.CUSTOMER_SUPPORT)},{copy:(0,E.getLocaleConfig)().name,key:"language-switch",prefixIcon:S.GlobeIcon,onAction:async()=>{(0,I.onUserNavigation)(I.USER_NAVIGATION_TITLES.LANGUAGE_SELECT),C(!0)}}]},{name:"",key:"list-3",items:[{key:"for-business",linkTo:(0,h.getAbsoluteLocalizedLink)({path:i.MARKETING_URLS.FOR_BUSINESS}),isExternal:!0,useArrowIcon:!0,semibold:!0,copy:p.__`For businesses`,onAction:I.onBusinessNavigation}]}]}),[l,_,m,T,C,r?.fullName,r?.isVouchersLinkEnabled]);return s?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(f.Skeleton,{isAnimated:!0,shape:"rounded",css:{blockSize:"[30px]",inlineSize:"[30px]"}})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(f.Skeleton,{isAnimated:!0,shape:"rounded",css:{blockSize:"[48px]",inlineSize:"[85px]"}})})]}):r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(ed.Dropdown,{onAction:e=>{x.flatMap(e=>e.items).find(t=>t.key===e&&"function"==typeof t.onAction&&!t.linkTo)?.onAction?.()},placement:"bottom end",width:240,triggerComponent:e=>{let{triggerRef:i,menuTriggerProps:a,isOpen:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Visibility,{lt:"tablet",children:(0,t.jsx)(eu.Link,{"aria-label":(0,p.__p)("Mobile menu link","Menu"),qaType:"avatar-button-mobile",linkTo:"/menu",text:(0,t.jsx)(el.Avatar,{id:"avatar-button-mobile",initials:r.initials,src:r.avatarThumb?.url,alt:r.fullName,size:"s"}),css:ep})}),(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(ef,{isOpen:n,...a,ref:i,user:r,badge:g})})]})},children:x.map(e=>(0,t.jsx)(ed.Dropdown.List,{title:e.name,children:e.items.map(e=>(0,t.jsx)(ed.Dropdown.Item,{textValue:e.copy,isBold:e.semibold,linkTo:e.linkTo,isExternal:e.isExternal,onAction:e.linkTo?e.onAction:void 0,children:(0,t.jsx)(ed.DropdownItems.Inline,{title:e.content?(0,t.jsxs)("span",{className:(0,d.css)(eh),children:[(0,t.jsx)(ed.DropdownItems.Inline.Title,{children:e.copy}),e.content]}):e.copy,prefixIcon:e.prefixIcon,suffixIcon:e.useArrowIcon?N.ArrowRightIcon:void 0})},e.key))},e.key))}),(0,t.jsx)(Z.LogoutConfirmationDialogLazy,{email:r.email})]}):null},eg=d.css.raw({position:"sticky",backgroundColor:"background.page",insetBlockStart:"0",insetInlineEnd:"0",zIndex:100,inlineSize:"100%",blockSize:"[var(--navbar-height)]",display:"flex",transitionProperty:"[block-size]",transitionDuration:"short.m",transitionTimingFunction:"easeInOut",'&:has(form[data-active="true"])':{blockSize:"[var(--navbar-height-expanded)]",transition:"none"},"@supports not (animation-timeline: scroll())":{transitionProperty:"[background-color, box-shadow, block-size]"}}),eE=d.css.raw({blockSize:"[var(--navbar-height-expanded)]"}),eC={static:d.css.raw({position:"static"}),"static--border":d.css.raw({position:"static",borderBlockEndWidth:"100",borderBlockEndStyle:"solid",borderBlockEndColor:"border.neutralFaded"}),sticky:d.css.raw({boxShadow:"clipping"}),"sticky--transparent":d.css.raw({marginBlockEnd:"[calc(-1 * var(--navbar-height))]",backgroundColor:"transparent","@supports (animation-timeline: scroll())":{animationTimingFunction:"linear",animationFillMode:"both",animationName:"navbarScrollBackground",animationTimeline:"[scroll(root)]",animationRange:"[0px 48px]"}})},ev=d.css.raw({"@supports not (animation-timeline: scroll())":{backgroundColor:"background.page",boxShadow:"clipping"}}),eN=d.css.raw({background:"transparent",blockSize:"[1px]",display:"block",inlineSize:"[1px]",insetBlockStart:"0",insetInlineStart:"0",position:"absolute",zIndex:"[-1]"}),eT=d.css.raw({alignItems:"center",blockSize:"600",display:"flex",zIndex:1,inlineSize:"fit-content"}),ex=d.css.raw({position:"relative",display:"grid",gridTemplateColumns:"[minmax(75px, 1fr) minmax(auto, 4fr) minmax(auto, 1fr)]",justifyContent:"center",marginBlock:"0",marginInline:"auto",paddingBlock:"150",paddingInline:{base:"250",laptop:"400"},inlineSize:"100%",maxInlineSize:"[1440px]"}),eS=d.css.raw({maxInlineSize:"none"}),eA=d.css.raw({justifySelf:"flex-end",alignSelf:{base:"center",laptop:"start"},tablet:{display:"flex",gap:"150"}}),eb=d.css.raw({alignItems:"center",alignSelf:"center",display:"flex",justifyContent:"center",inlineSize:"100%",position:"relative",transitionProperty:"[padding-inline]",transitionDuration:"short.l",transitionTimingFunction:"easeInOut",pointerEvents:"none","& form":{pointerEvents:"auto"}
2,laptop:{position:"absolute",insetInline:"0",insetBlockEnd:"0",insetBlockStart:"[2px]"}}),ew=d.css.raw({zIndex:5,laptop:{paddingInline:"400"}}),ey=d.css.raw({insetInline:"0",insetBlockStart:"[var(--navbar-height)]",blockSize:"[calc(100vh - var(--navbar-height))]",backgroundColor:"background.overlay",zIndex:"[-1]",opacity:"transparent",transitionProperty:"opacity",transitionDuration:"short.m",transitionTimingFunction:"easeInOut",'[data-navigation-root]:has(form[data-active="true"]) &':{insetBlockStart:"[var(--navbar-height-expanded)]",blockSize:"[calc(100vh - var(--navbar-height-expanded))]",position:"absolute",opacity:"visible",zIndex:4}}),eL=d.css.raw({insetBlockStart:"[var(--navbar-height-expanded)]",blockSize:"[calc(100vh - var(--navbar-height-expanded))]",position:"absolute",opacity:"visible",zIndex:4}),ek=void 0!==window?.CSS&&"function"==typeof window.CSS.supports&&window.CSS.supports("animation-timeline: scroll()"),eO={focus:!1,modal:!1};e.s(["Navigation",0,e=>{let{withForBusinessBtn:p,isFullWidth:h,layoutVariant:m="sticky",searchVariant:f="navigation",searchForm:I}=e,E=(0,W.useSearchFormSlot)(),{data:C,isLoading:v}=(0,n.useBasicProfile)(),N=(0,u.useRef)(null),T=(0,u.useRef)(null),{data:x}=(0,a.useSWRGQL)(em),S=!!x?.freshaGiftCardCountryConfig?.isEnabled,A=!!C?.profile,[b,w]=(0,u.useState)(eO),y=(0,u.useRef)(!1),L=(0,u.useCallback)(()=>{y.current=!1,w(eO)},[]);(0,_.useInteractOutside)({ref:N,onInteractOutside:L});let k=(0,u.useCallback)(e=>{!1!==y.current&&(N.current?.contains(e.target)||(y.current=!1,w(eO)))},[]),O=b.focus||b.modal,{pageScrolled:P,onScrollUp:R,onScrollDown:D}=(()=>{let[e,t]=(0,u.useState)(!1);return{pageScrolled:e,onScrollUp:(0,u.useCallback)(()=>{ek||t(!1)},[]),onScrollDown:(0,u.useCallback)(()=>{ek||t(!0)},[])}})();(0,u.useEffect)(()=>(window.addEventListener("wheel",k),window.addEventListener("touchmove",k),()=>{window.removeEventListener("wheel",k),window.removeEventListener("touchmove",k)}),[k]);let M=(0,t.jsxs)("div",{"data-navigation-root":"",className:(0,d.css)(eg,eC[m],P&&"sticky--transparent"===m&&ev,O&&eE),children:[(0,t.jsxs)("nav",{className:(0,d.css)(ex,h&&eS),children:[(0,t.jsx)("div",{children:(0,t.jsx)(c.AnchorBehaviour,{css:eT,linkTo:i.HOME,"aria-label":"Fresha",ref:T,children:(0,t.jsx)(s.InternationalLogo,{height:"22px"})})}),(0,t.jsx)("div",{children:f?(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)("div",{className:(0,d.css)(eb,O&&ew),ref:N,children:I??E})}):null}),(0,t.jsxs)("div",{className:(0,d.css)(eA),children:[!!p&&(0,t.jsx)(o.Visibility,{gte:"tablet",children:(0,t.jsx)(g,{isFreshaGiftCardEnabled:S,isLoading:v,isLoggedIn:A})}),A?(0,t.jsx)(eI,{data:C?.profile}):v?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eI,{data:void 0,showSkeleton:!0}),(0,t.jsx)(B,{isFreshaGiftCardEnabled:S})]}):(0,t.jsx)(H,{isFreshaGiftCardEnabled:S})]})]}),(0,t.jsx)("div",{className:(0,d.css)(ey,O&&eL),role:"none"})]});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.IntersectionObserver,{rootMargin:"20px",children:(0,t.jsx)(l.IsVisible,{className:(0,d.css)(eN),onHide:D,onShow:R})}),M]})}],183077),e.s([],914898)},713783,e=>{"use strict";var t=e.i(318008),i=e.i(151639),a=e.i(477788);e.s(["InternationalLogo",0,e=>{let{language:n}=(0,i.getLocale)();return(0,t.jsx)(a.Logo,{locale:n,...e})}])},210426,e=>{"use strict";var t=e.i(318008),i=e.i(687652);let a=(0,i.createContext)({isOpen:!1,setOpen(){}});e.s(["LocaleDialogProvider",0,function(e){let{children:n,isOpen:s=!1}=e,[o,r]=(0,i.useState)(s),l=(0,i.useMemo)(()=>({isOpen:o,setOpen:r}),[o]);return(0,t.jsx)(a.Provider,{value:l,children:n})},"useLocaleDialog",0,function(){return(0,i.useContext)(a)}])},348514,e=>{"use strict";var t=e.i(687652);let i=(0,t.createContext)({}),a=i.Provider;e.s(["NavigationBadgesProvider",0,a,"useNavigationBadges",0,()=>(0,t.useContext)(i)])},501826,e=>{"use strict";var t=e.i(687652);let i=(0,t.createContext)(null),a=i.Provider;e.s(["SearchFormProvider",0,a,"useSearchFormSlot",0,()=>(0,t.useContext)(i)])}]);
3
4//# debugId=e1e819de-aa92-94e5-51f6-6c1dc4e478e4
5//# sourceMappingURL=3pcngdkmz65h3.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.