1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29962,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return d},getImageProps:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(81258),s=e.r(66555),o=e.r(59254),l=i._(e.r(94634));function c(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=o.Image},23842,(e,t,r)=>{t.exports=e.r(29962)},26431,e=>{"use strict";e.i(40561);var t=e.i(60171),r=e.i(60511),n=e.i(79537),a=e.i(89613),i=e.i(132);let s=(0,i.default)("calendar-check",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);var o=e.i(67683),o=o;let l=(0,i.default)("file-check",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]]);var c=e.i(79082);let d=(0,i.default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),u=(0,i.default)("phone",[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]]),p=(0,i.default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),m=(0,i.default)("star-half",[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]]);var f=e.i(23842),x=e.i(58560),h=e.i(91967),g=e.i(44977),v=e.i(89966),w=e.i(8975),y=e.i(61194),b=e.i(58630),j=e.i(22957),k=e.i(23127),C=n.forwardRef((e,r)=>{let{children:n,width:a=10,height:i=5,...s}=e;return(0,t.jsx)(k.Primitive.svg,{...s,ref:r,width:a,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,t.jsx)("polygon",{points:"0,0 30,0 15,10"})})});C.displayName="Arrow";var T=e.i(52960),N=e.i(27864),z="Popper",[E,L]=(0,v.createContextScope)(z),[S,R]=E(z),M=e=>{let{__scopePopper:r,children:a}=e,[i,s]=n.useState(null);return(0,t.jsx)(S,{scope:r,anchor:i,onAnchorChange:s,children:a})};M.displayName=z;var P="PopperAnchor",A=n.forwardRef((e,r)=>{let{__scopePopper:a,virtualRef:i,...s}=e,o=R(P,a),l=n.useRef(null),c=(0,g.useComposedRefs)(r,l),d=n.useRef(null);return n.useEffect(()=>{let e=d.current;d.current=i?.current||l.current,e!==d.current&&o.onAnchorChange(d.current)}),i?null:(0,t.jsx)(k.Primitive.div,{...s,ref:c})});A.displayName=P;var F="PopperContent",[O,$]=E(F),_=n.forwardRef((e,r)=>{let{__scopePopper:a,side:i="bottom",sideOffset:s=0,align:o="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:u=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:f=!1,updatePositionStrategy:x="optimized",onPlaced:h,...v}=e,w=R(F,a),[y,C]=n.useState(null),z=(0,g.useComposedRefs)(r,e=>C(e)),[E,L]=n.useState(null),S=function(e){let[t,r]=n.useState(void 0);return(0,N.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,a;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,a=t.blockSize}else n=e.offsetWidth,a=e.offsetHeight;r({width:n,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(E),M=S?.width??0,P=S?.height??0,A="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},$=Array.isArray(u)?u:[u],_=$.length>0,D={padding:A,boundary:$.filter(B),altBoundary:_},{refs:I,floatingStyles:H,placement:W,isPositioned:Y,middlewareData:V}=(0,b.useFloating)({strategy:"fixed",placement:i+("center"!==o?"-"+o:""),whileElementsMounted:(...e)=>(0,j.autoUpdate)(...e,{animationFrame:"always"===x}),elements:{reference:w.anchor},middleware:[(0,b.offset)({mainAxis:s+P,alignmentAxis:l}),d&&(0,b.shift)({mainAxis:!0,crossAxis:!1,limiter:"partial"===m?(0,b.limitShift)():void 0,...D}),d&&(0,b.flip)({...D}),(0,b.size)({...D,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:a,height:i}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${r}px`),s.setProperty("--radix-popper-available-height",`${n}px`),s.setProperty("--radix-popper-anchor-width",`${a}px`),s.setProperty("--radix-popper-anchor-height",`${i}px`)}}),E&&(0,b.arrow)({element:E,padding:c}),q({arrowWidth:M,arrowHeight:P}),f&&(0,b.hide)({strategy:"referenceHidden",...D})]}),[U,X]=G(W),J=(0,T.useCallbackRef)(h);(0,N.useLayoutEffect)(()=>{Y&&J?.()},[Y,J]);let Z=V.arrow?.x,K=V.arrow?.y,Q=V.arrow?.centerOffset!==0,[ee,et]=n.useState();return(0,N.useLayoutEffect)(()=>{y&&et(window.getComputedStyle(y).zIndex)},[y]),(0,t.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...H,transform:Y?H.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[V.transformOrigin?.x,V.transformOrigin?.y].join(" "),...V.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,t.jsx)(O,{scope:a,placedSide:U,onArrowChange:L,arrowX:Z,arrowY:K,shouldHideArrow:Q,children:(0,t.jsx)(k.Primitive.div,{"data-side":U,"data-align":X,...v,ref:z,style:{...v.style,animation:Y?void 0:"none"}})})})});_.displayName=F;var D="PopperArrow",I={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},H=n.forwardRef(function(e,r){let{__scopePopper:n,...a}=e,i=$(D,n),s=I[i.placedSide];return(0,t.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,t.jsx)(C,{...a,ref:r,style:{...a.style,display:"block"}})})});function B(e){return null!==e}H.displayName=D;var q=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:a}=t,i=a.arrow?.centerOffset!==0,s=i?0:e.arrowWidth,o=i?0:e.arrowHeight,[l,c]=G(r),d={start:"0%",center:"50%",end:"100%"}[c],u=(a.arrow?.x??0)+s/2,p=(a.arrow?.y??0)+o/2,m="",f="";return"bottom"===l?(m=i?d:`${u}px`,f=`${-o}px`):"top"===l?(m=i?d:`${u}px`,f=`${n.floating.height+o}px`):"right"===l?(m=`${-o}px`,f=i?d:`${p}px`):"left"===l&&(m=`${n.floating.width+o}px`,f=i?d:`${p}px`),{data:{x:m,y:f}}}});function G(e){let[t,r="center"]=e.split("-");return[t,r]}e.i(52519);var W=e.i(80998),Y=e.i(93074),V=e.i(34643),U=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),X=n.forwardRef((e,r)=>(0,t.jsx)(k.Primitive.span,{...e,ref:r,style:{...U,...e.style}}));X.displayName="VisuallyHidden";var[J,Z]=(0,v.createContextScope)("Tooltip",[L]),K=L(),Q="TooltipProvider",ee="tooltip.open",[et,er]=J(Q),en=e=>{let{__scopeTooltip:r,delayDuration:a=700,skipDelayDuration:i=300,disableHoverableContent:s=!1,children:o}=e,l=n.useRef(!0),c=n.useRef(!1),d=n.useRef(0);return n.useEffect(()=>{let e=d.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(et,{scope:r,isOpenDelayedRef:l,delayDuration:a,onOpen:n.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:n.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,i)},[i]),isPointerInTransitRef:c,onPointerInTransitChange:n.useCallback(e=>{c.current=e},[]),disableHoverableContent:s,children:o})};en.displayName=Q;var ea="Tooltip",[ei,es]=J(ea),eo=e=>{let{__scopeTooltip:r,children:a,open:i,defaultOpen:s,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,d=er(ea,e.__scopeTooltip),u=K(r),[p,m]=n.useState(null),f=(0,y.useId)(),x=n.useRef(0),h=l??d.disableHoverableContent,g=c??d.delayDuration,v=n.useRef(!1),[w,b]=(0,V.useControllableState)({prop:i,defaultProp:s??!1,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(ee))):d.onClose(),o?.(e)},caller:ea}),j=n.useMemo(()=>w?v.current?"delayed-open":"instant-open":"closed",[w]),k=n.useCallback(()=>{window.clearTimeout(x.current),x.current=0,v.current=!1,b(!0)},[b]),C=n.useCallback(()=>{window.clearTimeout(x.current),x.current=0,b(!1)},[b]),T=n.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>{v.current=!0,b(!0),x.current=0},g)},[g,b]);return n.useEffect(()=>()=>{x.current&&(window.clearTimeout(x.current),x.current=0)},[]),(0,t.jsx)(M,{...u,children:(0,t.jsx)(ei,{scope:r,contentId:f,open:w,stateAttribute:j,trigger:p,onTriggerChange:m,onTriggerEnter:n.useCallback(()=>{d.isOpenDelayedRef.current?T():k()},[d.isOpenDelayedRef,T,k]),onTriggerLeave:n.useCallback(()=>{h?C():(window.clearTimeout(x.current),x.current=0)},[C,h]),onOpen:k,onClose:C,disableHoverableContent:h,children:a})})};eo.displayName=ea;var el="TooltipTrigger",ec=n.forwardRef((e,r)=>{let{__scopeTooltip:a,...i}=e,s=es(el,a),o=er(el,a),l=K(a),c=n.useRef(null),d=(0,g.useComposedRefs)(r,c,s.onTriggerChange),u=n.useRef(!1),p=n.useRef(!1),m=n.useCallback(()=>u.current=!1,[]);return n.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),(0,t.jsx)(A,{asChild:!0,...l,children:(0,t.jsx)(k.Primitive.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...i,ref:d,onPointerMove:(0,h.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(p.current||o.isPointerInTransitRef.current||(s.onTriggerEnter(),p.current=!0))}),onPointerLeave:(0,h.composeEventHandlers)(e.onPointerLeave,()=>{s.onTriggerLeave(),p.current=!1}),onPointerDown:(0,h.composeEventHandlers)(e.onPointerDown,()=>{s.open&&s.onClose(),u.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:(0,h.composeEventHandlers)(e.onFocus,()=>{u.current||s.onOpen()}),onBlur:(0,h.composeEventHandlers)(e.onBlur,s.onClose),onClick:(0,h.composeEventHandlers)(e.onClick,s.onClose)})})});ec.displayName=el;var[ed,eu]=J("TooltipPortal",{forceMount:void 0}),ep="TooltipContent",em=n.forwardRef((e,r)=>{let n=eu(ep,e.__scopeTooltip),{forceMount:a=n.forceMount,side:i="top",...s}=e,o=es(ep,e.__scopeTooltip);return(0,t.jsx)(W.Presence,{present:a||o.open,children:o.disableHoverableContent?(0,t.jsx)(ev,{side:i,...s,ref:r}):(0,t.jsx)(ef,{side:i,...s,ref:r})})}),ef=n.forwardRef((e,r)=>{let a=es(ep,e.__scopeTooltip),i=er(ep,e.__scopeTooltip),s=n.useRef(null),o=(0,g.useComposedRefs)(r,s),[l,c]=n.useState(null),{trigger:d,onClose:u}=a,p=s.current,{onPointerInTransitChange:m}=i,f=n.useCallback(()=>{c(null),m(!1)},[m]),x=n.useCallback((e,t)=>{let r,n=e.currentTarget,a={x:e.clientX,y:e.clientY},i=function(e,t){let r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(r,n,a,i)){case i:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw Error("unreachable")}}(a,n.getBoundingClientRect());c(((r=[...function(e,t,r=5){let n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return n}(a,i),...function(e){let{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let n=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x))t.pop();else break}t.push(n)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let n=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(n.y-t.y)>=(e.y-t.y)*(n.x-t.x))r.pop();else break}r.push(n)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),m(!0)},[m]);return n.useEffect(()=>()=>f(),[f]),n.useEffect(()=>{if(d&&p){let e=e=>x(e,p),t=e=>x(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[d,p,x,f]),n.useEffect(()=>{if(l){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},n=d?.contains(t)||p?.contains(t),a=!function(e,t){let{x:r,y:n}=e,a=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let s=t[e],o=t[i],l=s.x,c=s.y,d=o.x,u=o.y;c>n!=u>n&&r<(d-l)*(n-c)/(u-c)+l&&(a=!a)}return a}(r,l);n?f():a&&(f(),u())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,p,l,u,f]),(0,t.jsx)(ev,{...e,ref:o})}),[ex,eh]=J(ea,{isInside:!1}),eg=(0,Y.createSlottable)("TooltipContent"),ev=n.forwardRef((e,r)=>{let{__scopeTooltip:a,children:i,"aria-label":s,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,d=es(ep,a),u=K(a),{onClose:p}=d;return n.useEffect(()=>(document.addEventListener(ee,p),()=>document.removeEventListener(ee,p)),[p]),n.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;t?.contains(d.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,p]),(0,t.jsx)(w.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p,children:(0,t.jsxs)(_,{"data-state":d.stateAttribute,...u,...c,ref:r,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(eg,{children:i}),(0,t.jsx)(ex,{scope:a,isInside:!0,children:(0,t.jsx)(X,{id:d.contentId,role:"tooltip",children:s||i})})]})})});em.displayName=ep;var ew="TooltipArrow";n.forwardRef((e,r)=>{let{__scopeTooltip:n,...a}=e,i=K(n);return eh(ew,n).isInside?null:(0,t.jsx)(H,{...i,...a,ref:r})}).displayName=ew;var ey=e.i(47163);let eb=({delayDuration:e=200,...r})=>(0,t.jsx)(eo,{delayDuration:e,...r}),ej=n.forwardRef(({className:e,sideOffset:r=4,...n},a)=>(0,t.jsx)(em,{ref:a,sideOffset:r,className:(0,ey.cn)("animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 overflow-hidden rounded-md bg-white px-3 py-1.5 text-sm text-gray-950 shadow-md ring-1 ring-gray-950/10",e),...n}));function ek({places:e,selectedPlace:r,onPlaceClick:n,recommended:a,city:i}){return(0,t.jsxs)("div",{className:"space-y-4",children:["TaxFixMazuma"===a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eT,{type:"TaxFix",badge:"Tax Experts",href:"/start",reviews:6409,rating:4.8,reviewsLink:"https://uk.trustpilot.com/review/taxfix.com/en-uk",reviewSource:"Trustpilot",description:"Get matched with an accredited accountant to prepare and file your tax return for you. Simple, fast and all online.",website:"taxfix.com"}),(0,t.jsx)(eT,{type:"Mazuma",badge:"Full Service",href:"/start/mazuma",description:"The real-deal, low-cost, no-hassle subscription accountancy for small businesses.",website:"mazumamoney.co.uk",rating:4,reviews:674,reviewsLink:"https://uk.trustpilot.com/review/www.mazumamoney.co.uk",reviewSource:"Trustpilot",quote:"Get a free quote"})]}),"MazumaTaxFix"===a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eT,{type:"Mazuma",badge:"Full Service",href:"/start/mazuma",description:"The real-deal, low-cost, no-hassle subscription accountancy for small businesses.",website:"mazumamoney.co.uk",rating:4,reviews:674,reviewsLink:"https://uk.trustpilot.com/review/www.mazumamoney.co.uk",reviewSource:"Trustpilot",quote:"Get a free quote"}),(0,t.jsx)(eT,{type:"TaxFix",badge:"Tax Experts",href:"/start",reviews:6409,rating:4.8,reviewsLink:"https://uk.trustpilot.com/review/taxfix.com/en-uk",reviewSource:"Trustpilot",description:"Get matched with an accredited accountant to prepare and file your tax return for you. Simple, fast and all online.",website:"taxfix.com"})]}),"Mazuma"===a&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(eT,{type:"Mazuma",badge:"Full Service",href:"/start/mazuma",description:"The real-deal, low-cost, no-hassle subscription accountancy for small businesses.",website:"mazumamoney.co.uk",rating:4,reviews:674,reviewsLink:"https://uk.trustpilot.com/review/www.mazumamoney.co.uk",reviewSource:"Trustpilot",quote:"Get a free quote"})}),"TaxFix"===a&&(0,t.jsx)(eT,{type:"TaxFix",badge:"Recommended",href:"/start",reviews:6409,rating:4.8,reviewsLink:"https://uk.trustpilot.com/review/taxfix.com/en-uk",reviewSource:"Trustpilot",description:"Get matched with an accredited accountant to prepare and file your tax return for you. Simple, fast and all online.",website:"taxfix.com"}),"Fintuity"===a&&(0,t.jsx)(eT,{type:"Fintuity",badge:"Online",href:`https://app.fintuity.com/portal/booking/timeslots?invitedByIntroducer=4a9d153c-7761-4f9f-884f-ef11d59d5443&serviceId=e02bb6c1-8f67-486c-b3ca-d82e414a6e98&utm_content=${encodeURIComponent(i||"")}`,reviews:21,rating:4.9,reviewsLink:"https://www.vouchedfor.co.uk/firm/12738-fintuity",description:"Trusted advice made simple. Cost effective, secure and easy-to-access financial advice.",website:"fintuity.com",booking:"Book a free consultation",reviewSource:"VouchedFor",logo:"fintuity.png"}),"Deel"===a&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(eT,{type:"Deel",badge:"Recommended",href:"/start/deel",description:"The all-in-one payroll solution helping small businesses hire and run payroll quickly and compliantly.",website:"deel.com",rating:4.9,reviews:6626,reviewsLink:"https://uk.trustpilot.com/review/deel.com",reviewSource:"Trustpilot",quote:"Get a demo"})}),"DeelMazuma"===a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eT,{type:"Deel",badge:"Recommended",href:"/start/deel",description:"The all-in-one payroll solution helping small businesses hire and run payroll quickly and compliantly.",website:"deel.com",rating:4.9,reviews:6626,reviewsLink:"https://uk.trustpilot.com/review/deel.com",reviewSource:"Trustpilot",quote:"Get a demo"}),(0,t.jsx)(eT,{type:"Mazuma",badge:"Full Service",href:"/start/mazuma",description:"The real-deal, low-cost, no-hassle subscription accountancy for small businesses.",website:"mazumamoney.co.uk",rating:4,reviews:674,reviewsLink:"https://uk.trustpilot.com/review/www.mazumamoney.co.uk",reviewSource:"Trustpilot",quote:"Get a free quote"})]}),e.map(e=>(0,t.jsx)(eC,{place:e,isSelected:r?.brand===e.brand,onClick:()=>n(e)},`${e.brand}-${e.lat}-${e.lon}`))]})}function eC({place:e,isSelected:r,onClick:n}){return(0,t.jsxs)("div",{className:`mb-4 flex cursor-pointer flex-col gap-3 rounded-2xl p-4 text-sm shadow-md transition-all hover:bg-gray-700/5 ${r?"ring-secondary-600 ring-2":"ring-1 ring-gray-900/10"} `,onClick:n,children:[(0,t.jsxs)("h3",{className:"mt-0 flex items-center gap-2 text-base font-medium",children:[e.logo&&(0,t.jsx)("img",{src:e.logo,className:"size-6 rounded shadow",alt:`${e.brand} logo`}),e.brand]}),e.rating&&e.reviews&&(0,t.jsx)(eN,{rating:e.rating,reviews:e.reviews,reviewsLink:e.reviewsLink}),(0,t.jsx)(ez,{place:e})]})}function eT({type:e,description:r,badge:n,href:a,logo:i,website:c,booking:d,quote:u,rating:p,reviews:m,reviewSource:h,reviewsLink:g}){return(0,t.jsx)(x.default,{href:a,children:(0,t.jsxs)("div",{className:"mb-4 flex cursor-pointer flex-col gap-3 rounded-2xl p-4 text-sm shadow-md ring-1 ring-gray-900/10 transition-all hover:bg-gray-700/5",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("h3",{className:"mt-0 flex items-center gap-2 text-base font-medium",children:[i&&(0,t.jsx)(f.default,{src:i,className:"size-6 rounded shadow",alt:`${e} logo`,width:24,height:24}),e]}),(0,t.jsx)("div",{className:"bg-primary-100 text-primary-800 ring-primary-700/10 mb-1 inline-flex rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset",children:n})]}),p&&m&&h&&g&&(0,t.jsx)(eN,{rating:p,reviews:m,reviewSource:h,reviewsLink:g}),(0,t.jsx)("p",{className:"text-gray-600",children:r}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(o.default,{className:"text-secondary-700 size-5"}),(0,t.jsx)("div",{className:"font-medium text-gray-500 underline underline-offset-4 hover:text-gray-900",children:c})]}),d&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(s,{className:"text-secondary-700 size-5"}),(0,t.jsx)("div",{className:"font-medium text-gray-500 underline underline-offset-4 hover:text-gray-900",children:d})]}),u&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(l,{className:"text-secondary-700 size-5"}),(0,t.jsx)("div",{className:"font-medium text-gray-500 underline underline-offset-4 hover:text-gray-900",children:u})]})]})})}function eN({rating:e,reviews:r,reviewsLink:n,reviewSource:a}){return(0,t.jsxs)("div",{className:"flex items-center gap-1 text-gray-600",children:[(0,t.jsx)("div",{children:e.toFixed(1)}),[void 0,void 0,void 0,void 0,void 0].map((r,n)=>{let a=Math.floor(e),i=e%1>=.5;return n<a?(0,t.jsx)(p,{className:"size-4 fill-current text-yellow-400"},n):n===a&&i?(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(p,{className:"size-4 fill-current text-gray-200"},`${n}-bg`),(0,t.jsx)(m,{className:"absolute top-0 left-0 size-4 fill-current text-yellow-400"},`${n}-half`)]},n):(0,t.jsx)(p,{className:"size-4 fill-current text-gray-200"},n)}),(0,t.jsxs)("div",{children:["(",r,")"]}),(0,t.jsx)(en,{children:(0,t.jsxs)(eb,{children:[(0,t.jsx)(ec,{asChild:!0,children:(0,t.jsx)(c.Info,{className:"size-4 text-gray-400"})}),(0,t.jsx)(ej,{children:(0,t.jsxs)("p",{children:["Reviews from ",a,n&&(0,t.jsxs)(t.Fragment,{children:[" ",(0,t.jsx)("button",{type:"button",className:"cursor-pointer font-medium text-gray-500 underline underline-offset-4 hover:text-gray-900",onClick:e=>{e.preventDefault(),e.stopPropagation(),window.open(n,"_blank","noopener,noreferrer")},children:"View all"})]})]})})]})})]})}function ez({place:e}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(d,{className:"text-secondary-700 size-5 shrink-0"}),(0,t.jsx)("div",{className:"line-clamp-1",children:e.address})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(u,{className:"text-secondary-700 size-5 shrink-0"}),e.phone]}
1),e.website&&(0,t.jsxs)("div",{className:"flex items-center gap-2 text-gray-600",children:[(0,t.jsx)(o.default,{className:"text-secondary-700 size-5 shrink-0"}),(0,t.jsx)(x.default,{href:e.website,className:"line-clamp-1 font-medium text-gray-500 underline underline-offset-4 hover:text-gray-900",target:"_blank",onClick:e=>e.stopPropagation(),rel:"noopener noreferrer nofollow",children:e.website.replace(/^(https?:\/\/)?(www\.)?|\/$/g,"")})]})]})}function eE({places:i,recommended:s,city:o}){let l=(0,n.useRef)(null),c=(0,n.useRef)(null),d=(0,n.useRef)(null),u=(0,n.useRef)([]),p=(0,n.useRef)(null),[m,f]=(0,n.useState)(null),[x,h]=(0,n.useState)(!1),[g,v]=(0,n.useState)(!1),[w,y]=(0,n.useState)(!1),b=i.length+1;(0,n.useEffect)(()=>{if(!l.current||g)return;let e=l.current.getBoundingClientRect();if(e.top<window.innerHeight+100&&e.bottom>-100&&e.left<window.innerWidth+100&&e.right>-100)return void v(!0);let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(v(!0),t.disconnect())})},{rootMargin:"100px"});return t.observe(l.current),()=>{t.disconnect()}},[g]),(0,n.useEffect)(()=>{!g||w||(async()=>{let t=(await e.A(10042)).default;t.accessToken="pk.eyJ1IjoiYWNjb3VudGFudHMiLCJhIjoiY200N2sxaWFxMDZ3aDJvczlhOHZ5aG04MCJ9.ygLj8CtOM58C3a9h_93jMA",t.workerUrl="/mapbox-gl-csp-worker.js",d.current=t,y(!0)})()},[g,w]),(0,n.useEffect)(()=>{if(!l.current||c.current||!g||!w||!d.current)return;let e=d.current,t=new e.LngLatBounds;return i.forEach(e=>{t.extend([e.lon,e.lat])}),c.current=new e.Map({container:l.current,style:"mapbox://styles/mapbox/streets-v11?optimize=true",bounds:t,fitBoundsOptions:{padding:50,maxZoom:15}}),c.current.addControl(new e.NavigationControl,"top-right"),c.current.on("styleimagemissing",e=>{let{id:t}=e;if(!(!c.current||c.current.hasImage(t)))try{let e=new ImageData(1,1);c.current.addImage(t,e)}catch(e){}}),()=>{u.current.forEach(e=>{e.remove()}),u.current=[],p.current&&(p.current.remove(),p.current=null),c.current&&(c.current.remove(),c.current=null)}},[i,g,w]);let j=(0,n.useCallback)(e=>{if(h(!1),!c.current||!d.current)return;let t=d.current;f(e),p.current&&(p.current.remove(),p.current=null),p.current=new t.Popup({offset:25,closeButton:!0,closeOnClick:!1,focusAfterOpen:!1}).setLngLat([e.lon,e.lat]).setHTML(` 2 <div class="p-4 bg-white rounded-lg shadow-md"> 3 <h3 class="text-base font-medium text-gray-900">${e.brand}</h3> 4 <p class="text-sm text-gray-600">${e.address}</p> 5 ${e.website?`<a href="${e.website}" 6 target="_blank" 7 rel="noopener noreferrer" 8 class="line-clamp-1 truncate max-w-[-webkit-fill-available] text-sm mt-2 inline-block font-medium text-gray-500 hover:text-gray-900 underline underline-offset-4 focus-visible:outline-hidden"> 9 ${e.website.replace(/^(https?:\/\/)?(www\.)?|\/$/g,"")} 10 </a>`:""} 11 </div> 12 `).addTo(c.current),c.current.flyTo({center:[e.lon,e.lat],zoom:15,essential:!0})},[]);return(0,n.useEffect)(()=>{if(!c.current||!i.length||!g||!d.current)return;let e=d.current,t=()=>{c.current&&(u.current.forEach(e=>{e.remove()}),u.current=[],i.forEach(t=>{let r=document.createElement("div");r.className="group relative cursor-pointer",r.innerHTML=` 13 <div class="absolute inset-x-1/2 top-0 transform -translate-x-1/2 -translate-y-full"> 14 <svg class="h-10 w-10 drop-shadow-[0_1px_2px_#0000003b,0_1px_1px_#0000003b]" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0"/><circle class="text-primary-600" stroke-width="3.5" stroke="currentColor" cx="12" cy="10" r="4"/></svg> 15 </div> 16 `;let n=new e.Marker(r).setLngLat([t.lon,t.lat]).addTo(c.current);n.getElement().addEventListener("click",()=>j(t)),u.current.push(n)}))};c.current.loaded()?t():c.current.once("load",t)},[i,j,g,w]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"not-prose grid h-[400px] grid-cols-1 gap-4 lg:h-[500px] lg:grid-cols-3 lg:grid-rows-1",children:[(0,t.jsx)("div",{className:"scroll-shadows -mx-4 hidden overflow-y-auto p-4 lg:block",children:(0,t.jsx)(ek,{places:i,selectedPlace:m,onPlaceClick:j,recommended:s,city:o})}),(0,t.jsxs)("div",{className:"relative col-span-2 aspect-video h-full w-full sm:aspect-auto sm:min-h-80",children:[!g&&(0,t.jsx)("div",{className:"absolute inset-0 z-10 h-full w-full animate-pulse rounded-lg bg-[#eee8e1] shadow-lg ring-1 ring-gray-900/10"}),(0,t.jsx)("div",{ref:l,className:"h-full w-full rounded-lg shadow-lg ring-1 ring-gray-900/10"})]})]}),(0,t.jsxs)(a.Drawer.Root,{open:x,onOpenChange:h,children:[(0,t.jsxs)(a.Drawer.Trigger,{className:"relative -mt-12 ml-2 flex h-10 shrink-0 items-center justify-center gap-2 overflow-hidden rounded-full bg-white px-4 text-base font-medium shadow-sm transition-all hover:bg-[#FAFAFA] lg:hidden",children:[(0,t.jsx)(r.List,{className:"text-secondary-600 size-5"}),"Show list"]}),(0,t.jsxs)(a.Drawer.Portal,{children:[(0,t.jsx)(a.Drawer.Overlay,{className:"fixed inset-0 z-40 bg-black/40"}),(0,t.jsx)(a.Drawer.Content,{className:"fixed right-0 bottom-0 left-0 z-50 mt-24 flex h-[80%] flex-col rounded-t-[10px] bg-gray-100 outline-none lg:h-[320px]",children:(0,t.jsx)("div",{className:"flex-1 overflow-y-auto rounded-t-[10px] bg-white p-4",children:(0,t.jsxs)("div",{className:"mx-auto max-w-md
16space-y-4",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"mx-auto mb-8 h-1.5 w-12 shrink-0 rounded-full bg-gray-300"}),(0,t.jsxs)(a.Drawer.Title,{className:"mb-4 font-medium text-gray-900",children:[b," locations found in ",o]}),(0,t.jsx)(ek,{places:i,selectedPlace:m,onPlaceClick:j,recommended:s,city:o})]})})})]})]})]})}ej.displayName=em.displayName,e.s(["default",()=>eE],26431)}]);
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.