PageSourceSearch

https://barberaa.com/_next/static/chunks/app/page-41041d0cc913ea46.js

js barberaa.com collected 2026-10-02 01:24:15 UTC 48,027 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1931],{84009:function(e,t,s){Promise.resolve().then(s.t.bind(s,65878,23)),Promise.resolve().then(s.t.bind(s,72972,23)),Promise.resolve().then(s.bind(s,82621)),Promise.resolve().then(s.bind(s,71506)),Promise.resolve().then(s.bind(s,28830)),Promise.resolve().then(s.bind(s,73897)),Promise.resolve().then(s.bind(s,30373)),Promise.resolve().then(s.bind(s,53840)),Promise.resolve().then(s.bind(s,14657)),Promise.resolve().then(s.bind(s,44050)),Promise.resolve().then(s.bind(s,15359)),Promise.resolve().then(s.bind(s,56046)),Promise.resolve().then(s.bind(s,2301)),Promise.resolve().then(s.t.bind(s,48340,23)),Promise.resolve().then(s.bind(s,4916)),Promise.resolve().then(s.bind(s,77865)),Promise.resolve().then(s.bind(s,96263)),Promise.resolve().then(s.bind(s,6765)),Promise.resolve().then(s.bind(s,96395)),Promise.resolve().then(s.bind(s,96246))},82621:function(e,t,s){"use strict";s.d(t,{FetchFavShops:function(){return u}});var a=s(57437),l=s(29416),n=s(60786),r=s(99028),o=s(38535),i=s(24960),c=s(80605),d=s(2265);function u(e){let t=(0,n.C)(e=>e.apps.token),s=(0,c.useSession)(),u=(0,r.T)(),[m,h]=(0,d.useState)(!1),{data:x}=(0,l.NC)(m?void 0:i.CN,{refetchOnMountOrArgChange:!0});return(0,d.useEffect)(()=>{"authenticated"===s.status&&""!==t&&h(!0)},[s,t]),(0,d.useEffect)(()=>{(null==x?void 0:x.type)==="success"&&x.data&&x.data.success&&0!==x.data.data.length&&u((0,o.ag)(x.data.data))},[x]),(0,a.jsx)("section",{children:e.children})}},71506:function(e,t,s){"use strict";s.d(t,{default:function(){return d}});var a=s(57437),l=s(60786),n=s(99028),r=s(24960),o=s(2265),i=s(29416),c=s(38535);function d(e){let{children:t}=e,s=(0,l.C)(e=>e.apps.location),d=null,u=(d=sessionStorage.getItem("savedLocation"))?JSON.parse(d):s,[m]=(0,o.useState)(null!=u?u:null),h=(0,l.C)(e=>e.apps.newCity),x=(0,l.C)(e=>e.apps.token),[p,f]=(0,o.useState)(!1),g=(0,n.T)();(0,o.useEffect)(()=>{m&&""!==x&&h&&f(!0)},[m,x,h]);let{data:b}=(0,i.Fq)(p&&m?{lat:m.latitude+"",lng:m.longitude+"",storeType:"landing",limit:"7",city:"Unknown"!==h?h:""}:r.CN,{refetchOnMountOrArgChange:!0});return(0,o.useEffect)(()=>{if((null==b?void 0:b.type)==="success"&&b.data&&0!==b.data.data.length){let e;Array.isArray(b.data.data)&&b.data.data.length>0&&"stores"in b.data.data[0]&&"type"in b.data.data[0]&&(e=b.data.data,g((0,c.SS)(e)))}},[b,g]),(0,a.jsx)(a.Fragment,{children:t})}},28830:function(e,t,s){"use strict";s.d(t,{Footer:function(){return i}});var a=s(57437),l=s(60532),n=s(33145),r=s(27648),o=s(99376);function i(){let e=(0,o.useRouter)();return(0,a.jsxs)("section",{className:"flex flex-col justify-between px-6 lg:px-32 border-t",children:[(0,a.jsxs)("section",{className:"grid grid-cols-1 gap-6 lg:gap-2 lg:grid-cols-3 py-10 lg:py-20",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsx)(n.default,{src:l.L.images.logo,alt:"logo",height:32,width:160}),(0,a.jsxs)("div",{className:"flex flex-row gap-6",children:[(0,a.jsx)(r.default,{href:"https://www.facebook.com/BarberaaApp/",target:"_blank",children:(0,a.jsx)(n.default,{src:l.L.icons.fb,alt:"fb",className:"h-4 w-4",height:18,width:18})}),(0,a.jsx)(r.default,{href:"https://x.com/barberaaapp?s=11&t=u_g1GxprxYz5x8FQTxYskA",target:"_blank",children:(0,a.jsx)(n.default,{src:l.L.icons.twitter,className:"h-4 w-4",alt:"twitter",height:18,width:18})}),(0,a.jsx)(r.default,{href:"https://www.instagram.com/barberaa_app/?igshid=YmMyMTA2M2Y%3D",target:"_blank",children:(0,a.jsx)(n.default,{src:l.L.icons.insta,className:"h-4 w-4",alt:"insta",height:18,width:18})}),(0,a.jsx)(r.default,{href:"https://in.linkedin.com/company/barberaa",target:"_blank",children:(0,a.jsx)(n.default,{src:l.L.icons.linkedIn,className:"h-4 w-4",alt:"linkedIn",height:18,width:18})}),(0,a.jsx)(r.default,{href:"https://www.youtube.com/channel/UCkzM2vVjcHVY5PjnAbOAfpw",target:"_blank",children:(0,a.jsx)(n.default,{src:l.L.icons.yt,className:"h-4 w-4",alt:"yt",height:18,width:18})})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h4",{className:"font-dmsan font-bold text-sm lg:text-lg text-blue-100",children:"Legal"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",onClick:()=>{e.push("/privacy-policy")},children:"Privacy Policy"}),(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",onClick:()=>{e.push("/terms")},children:"General Terms of Use"}),(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",onClick:()=>{e.push("/cancellation-policy")},children:"Refund & Cancellation Policy"})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h4",{className:"font-dmsan font-bold text-sm lg:text-lg text-blue-100",children:"Contact Us"}),(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsx)(n.default,{src:l.L.icons.email,className:"h-4 w-4",alt:"email",height:18,width:18}),(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",children:(0,a.jsx)("a",{href:"mailto:[email protected]",children:"[email protected]"})})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[(0,a.jsx)(n.default,{src:l.L.icons.phone,className:"h-4 w-4",alt:"phone",height:18,width:18}),(0,a.jsx)("a",{href:"tel:+919176722025",children:(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",children:"+91 9176722025"})})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-start",children:[(0,a.jsx)("div",{children:(0,a.jsx)(n.default,{src:l.L.icons.mapPoint,className:"h-4 w-4 mt-1",alt:"mapPoint",height:18,width:18})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",children:"Barberaa Beauty Services Private Limited"}),(0,a.jsx)("div",{children:(0,a.jsx)("h5",{className:"font-dmsan text-blue-125 text-xs lg:text-base cursor-pointer",children:"Chennai-600021"})})]})]})]})]})]}),(0,a.jsxs)("div",{className:"border-t flex flex-row gap-3 py-3 font-dmsan text-blue-125 lg:text-base text-xs",children:[(0,a.jsx)("h5",{children:"\xa9 2025 Barberaa"}),(0,a.jsx)("h5",{children:"\xb7"}),(0,a.jsx)("h5",{children:"All Rights Reserved"}),(0,a.jsx)("h5",{children:"\xb7"}),(0,a.jsx)("h5",{children:"Terms"}),(0,a.jsx)("h5",{children:"\xb7"}),(0,a.jsx)("h5",{children:"Privacy"})]})]})}},73897:function(e,t,s){"use strict";s.d(t,{ForceOpenInApp:function(){return r}});var a=s(99376),l=s(2265);let n="https://play.google.com/store/apps/details?id=com.barberaa";function r(){let e=(0,a.useSearchParams)().get("forceOpenInApp");return(0,l.useEffect)(()=>
1{if("true"!==e)return;let t=navigator.userAgent||"";/android/i.test(t)?window.location.href=n:/iphone|ipad|ipod/i.test(t)?window.location.href="https://apps.apple.com/in/app/barberaa/id1619116770":window.location.href=n},[e]),null}},44050:function(e,t,s){"use strict";s.d(t,{BookAFreeDemo:function(){return o}});var a=s(57437),l=s(33145),n=s(12381),r=s(60532);function o(){return(0,a.jsxs)("section",{className:"flex flex-col lg:grid lg:grid-cols-5 bg-gradient-to-r from-yellow-100 to-yellow-125 px-2 lg:px-32 py-20 font-jakarta",children:[(0,a.jsxs)("div",{className:"col-span-3 flex flex-col gap-2 justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)("h3",{className:"font-bold text-3xl lg:text-[40px]",children:"Barberaa: The All-in-One Salon Management Software for Seamless Operations"}),(0,a.jsx)("h5",{className:"text-yellow-150 text-sm lg:text-xl font-semibold",children:'"Automate bookings, track revenue, manage staff, and optimize your salon\'s performance—all in one platform."'})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,a.jsx)("div",{className:"flex flex-row gap-6",children:(0,a.jsx)(n.z,{variant:"primary",size:"custom",className:"p-2 lg:p-5 text-xs lg:text-lg font-semibold",onClick:()=>{window.open("https://partners.barberaa.com/login","_blank")},children:"Register your store"})}),(0,a.jsx)("h6",{className:"text-gray-80 text-xs lg:text-base",children:"Trusted by 500+ Salons & Spas Nationwide"})]})]}),(0,a.jsx)("div",{className:"col-span-2 flex items-center justify-center",children:(0,a.jsx)(l.default,{src:r.L.images.demoImage,alt:"Demo",className:"h-[450px] w-[450px] object-cover object-center rounded-2xl",height:455,width:455})})]})}},50859:function(e,t,s){"use strict";s.d(t,{T:function(){return p}});var a=s(57437),l=s(60532),n=s(33145),r=s(19764),o=s(73377);s(87575),s(7354),s(86968),s(76889);var i=s(99376),c=s(56352),d=s(29416),u=s(60786),m=s(2265),h=s(80605),x=s(23340);function p(e){var t;let s=(0,i.useRouter)(),p=(0,u.C)(e=>e.apps.token),f=(0,u.C)(e=>e.apps.userUuid),[g,b]=(0,m.useState)(!1),y=(0,h.useSession)(),[j,v]=(0,m.useState)(void 0!==e.isLiked&&e.isLiked),w=0,N=0;e.coupons&&e.coupons.length>0&&e.coupons.forEach(t=>{var s,a;(!(null==t?void 0:t.user_uuid)&&(null==t?void 0:null===(s=t.store_uuid)||void 0===s?void 0:s.includes((null==e?void 0:e.storeUuid)?e.storeUuid:""))||(null==t?void 0:null===(a=t.franchise_uuid)||void 0===a?void 0:a.includes((null==e?void 0:e.franchiseUuid)?e.franchiseUuid:"")))&&((null==t?void 0:t.store_uuid)!==""||(null==t?void 0:t.franchise_uuid)!=="")&&null!==t&&(null!==t.coupon_discount&&+t.coupon_discount>w&&(w=+t.coupon_discount),+t.maximum_discount>N&&(N=+t.maximum_discount))});let{toast:k}=(0,x.pm)(),C=null,A=(0,u.C)(e=>e.apps.location),S=(C=sessionStorage.getItem("savedLocation"))?JSON.parse(C):A,[_]=(0,m.useState)(null!=S?S:null);(0,m.useEffect)(()=>{"authenticated"===y.status?b(!0):b(!1)},[y]);let[I]=(0,d.Bg)(),U=(0,m.useRef)(null);return(0,m.useEffect)(()=>{if(U.current&&U.current.swiper){var t,s;e.autoplay?null===(t=U.current.swiper.autoplay)||void 0===t||t.start():null===(s=U.current.swiper.autoplay)||void 0===s||s.stop()}},[e.autoplay]),(0,a.jsxs)("div",{className:"grid grid-cols-2 sm:flex sm:flex-col gap-3 cursor-pointer border-[0.5px] border-gray-240 sm:border-0 rounded-3xl p-0 sm:p-1 h-[250px] sm:h-auto",children:[(0,a.jsxs)(r.tq,{ref:U,spaceBetween:30,centeredSlides:!0,pagination:{clickable:!0},navigation:!0,modules:[o.pt,o.tl,o.W_],className:"mySwiper relative rounded-xl overflow-hidden flex-grow",autoplay:!!e.autoplay&&{delay:1e3,disableOnInteraction:!1},children:[(0,a.jsxs)("div",{className:"absolute top-0 flex flex-row justify-between w-full z-50 p-3 items-center",children:[(0,a.jsx)("div",{className:"bg-white bg-opacity-80 p-[10px] font-jakarta font-semibold rounded-lg backdrop-blur-lg hidden sm:flex",children:"Currently Open"}),(0,a.jsx)("div",{className:"flex sm:hidden"}),(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center",children:[!e.isFranchise&&(0,a.jsx)(a.Fragment,{children:j?(0,a.jsx)("div",{className:"h-10 w-10 bg-white bg-opacity-80 rounded-full items-center justify-center flex",onClick:function(){e.storeUuid&&""!==p&&""!==f&&g&&(I({userUuid:f,isFavourite:!1,storeUuid:e.storeUuid}).then(t=>{t.data&&"success"===t.data.type&&e.favListRefetch&&e.favListRefetch()}),v(!1))},children:(0,a.jsx)(n.default,{src:l.L.icons.favLiked,alt:"favLiked",height:20,width:20})}):(0,a.jsx)("div",{className:"h-10 w-10 bg-white bg-opacity-80 rounded-full items-center justify-center flex",onClick:function(){e.storeUuid&&""!==p&&""!==f&&g&&(I({userUuid:f,isFavourite:!0,storeUuid:e.storeUuid}).then(t=>{t.data&&"success"===t.data.type&&e.favListRefetch&&e.favListRefetch()}),v(!0))},children:(0,a.jsx)(n.default,{src:l.L.icons.heart,alt:"heart",height:20,width:20})})}),(0,a.jsx)("div",{className:"h-10 w-10 bg-white bg-opacity-80 rounded-full items-center justify-center  hidden sm:flex",onClick:async()=>
1{if(e.shareLink){var t;if(k({variant:"default",description:"Shop Link has been copied"}),t=e.shareLink,navigator.clipboard.writeText(t),navigator.share)try{await navigator.share({url:"".concat(e.shareLink)})}catch(e){console.error("Error sharing content:",e)}}},children:(0,a.jsx)(n.default,{src:l.L.icons.share,alt:"share",height:20,width:20})})]})]}),(0!==w||0!==N)&&(0,a.jsx)("div",{className:"hidden sm:flex sm:absolute bottom-4 right-4 p-6 z-50",children:(0,a.jsx)("div",{className:"p-[10px] bg-yellow-75 text-black rounded-lg font-jakarta text-lg font-bold",children:0===w?"Upto "+N+" Off":w+"% Off"})}),e.images&&e.images.slice(0,5).map((t,l)=>(0,a.jsx)(r.o5,{className:"relative h-full sm:min-h-[376px] sm:h-[376px] w-[40svw] sm:w-[376px] object-center",onClick:()=>{s.push(e.link?e.link:e.isFranchise?"/franchise/"+e.shopName:"/one/shopsinfo/three")},children:(0,a.jsx)(c.r,{photo:t,quality:e.quality})},l)),((null===(t=e.images)||void 0===t?void 0:t.length)===0||void 0===e.images)&&(0,a.jsx)(r.o5,{className:"relative min-h-[376px] sm:min-h-[376px] w-[40svw] sm:w-[376px]",onClick:()=>{s.push(e.link?e.link:e.isFranchise?"/franchise/"+e.shopName:"/one/shopsinfo/three")},children:(0,a.jsx)(c.r,{photo:l.L.images.barber1,quality:e.quality})},"Image")]}),(0,a.jsxs)("div",{className:"flex flex-col justify-between sm:justify-start gap-4 p-3 sm:p-0",onClick:()=>{s.push(e.link?e.link:e.isFranchise?"/franchise/"+e.shopName:"/one/shopsinfo/three")},children:[(0,a.jsxs)("div",{className:"flex flex-col gap-1 sm:gap-2",children:[(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row justify-between",children:[(0,a.jsx)("h4",{className:"font-jakarta font-bold sm:font-semibold text-base sm:text-lg",children:e.shopName?e.shopName:"Toni & Guy"}),!e.isFranchise&&(0,a.jsxs)("div",{className:"flex flex-row bg-transparent sm:bg-gray-150 rounded-[38px] items-center h-fit min-w-fit justify-start sm:justify-center font-jakarta text-sm text-gray-95 sm:text-black sm:text-base font-semibold sm:font-bold p-1 gap-1 text-center",children:[(0,a.jsx)(n.default,{src:l.L.icons.star,height:16,width:16,alt:"star"}),(0,a.jsx)("h2",{children:e.shopRating&&null!==e.shopRating?e.shopRating:"new"})]})]}),(0,a.jsxs)("div",{className:"flex flex-row gap-1 overflow-x-hidden sm:hidden items-center",children:[(0,a.jsx)("h6",{className:"font-jakarta text-sm font-medium text-gray-95",children:"Hairsalon"}),(0,a.jsx)("div",{className:"min-h-1 min-w-1 w-1 h-1 bg-gray-95 rounded-full"}),(0,a.jsx)("h6",{className:"font-jakarta text-sm font-medium text-gray-95",children:"Spa"}),(0,a.jsx)("div",{className:"min-h-1 min-w-1 w-1 h-1 bg-gray-95 rounded-full"}),(0,a.jsx)("h6",{className:"font-jakarta text-sm font-medium text-gray-95 whitespace-nowrap",children:"Nail salon"})]}),(0,a.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("div",{className:"flex flex-row gap-2 items-center mb-2 sm:mb-0",children:[(0,a.jsx)(n.default,{src:l.L.icons.mapPoint,alt:"location",height:16,width:16}),(0,a.jsx)("h6",{className:"font-jakarta text-sm font-medium text-gray-95",children:e.displayLocation?e.displayLocation:"Chennai"})]}),(null==_?void 0:_.latitude)&&(null==_?void 0:_.longitude)&&e.lat&&e.lng&&(0,a.jsxs)("h6",{className:"font-jakarta text-sm font-medium text-gray-95",children:[((e,t,s,a)=>{if(e&&t&&s&&a){let l=(s-e)*Math.PI/180,n=(a-t)*Math.PI/180,r=Math.sin(l/2)*Math.sin(l/2)+Math.cos(e*Math.PI/180)*Math.cos(s*Math.PI/180)*Math.sin(n/2)*Math.sin(n/2);return 2*Math.atan2(Math.sqrt(r),Math.sqrt(1-r))*6371}return 0})(null==_?void 0:_.latitude,null==_?void 0:_.longitude,Number(e.lat),Number(e.lng)).toFixed(1),"km away"]})]})]}),(e.minPrice&&null!==e.minPrice||0!==w||0!==N)&&(0,a.jsx)("div",{className:"flex flex-row justify-between p-2 sm:hidden bg-yellow-100 rounded-lg items-center",children:(0!==w||0!==N)&&(0,a.jsx)("div",{className:"font-jakarta text-primaryBtnBlue font-extrabold",children:0===w?"Upto "+N+" Off":w+"% Off"})})]})]})}},15359:function(e,t,s){"use strict";s.d(t,{FAQ:function(){return i}});var a=s(57437),l=s(2265),n=s(60532),r=s(33145),o=s(22549);function i(){let[e,t]=(0,l.useState)(!1);return(0,a.jsxs)("section",{className:"flex flex-col gap-6 lg:grid lg:grid-cols-3 px-4 sm:px-8 lg:px-32 py-20",children:[(0,a.jsx)("div",{className:"flex items-center justify-center",children:(0,a.jsx)(r.default,{className:"w-[200px] h-[200px] sm:w-[300px] sm:h-[300px] lg:h-[548px] lg:w-[380px] object-cover object-center rounded-2xl",src:n.L.images.barber2,alt:"barber2",height:548,width:380})}),(0,a.jsxs)("div",{className:"col-span-2 flex flex-col gap-6 font-jakarta",children:[(0,a.jsx)("h4",{className:"font-bold text-xl sm:text-2xl text-left",children:"FAQ"}),(0,a.jsx)("p",{className:"text-base sm:text-lg lg:text-xl text-left",children:"Got questions? We've got answers! Check out our FAQs to find everything you need to know about using Barberaa."}),(0,a.jsxs)(o.Accordion,{type:"single",collapsible:!0,className:"gap-4",children:[(0,a.jsxs)(o.AccordionItem,{value:"Book",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"How do I book an appointment?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"Booking an appointment on Barberaa takes less than 60 seconds! Just download the Barberaa app or visit our website, browse salons near you, select your preferred services, pick a favourite stylist and choose a convenient date and time. Confirm your booking in a few clicks with a secure payment and skip the hassle of calling the salon to book your appointments!"})]}),(0,a.jsxs)(o.AccordionItem,{value:"Stylist",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"⁠Can I request a specific stylist?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"Yes, Barberaa allows you to pick y
1our preferred stylist from every salon while booking. If you are unable to find your Stylist simply mention their name in the booking notes at the review and confirmation page and the salon will do its best to accommodate your request."})]}),(0,a.jsxs)(o.AccordionItem,{value:"arrival",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"What should I do at the salon after booking?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"Arrive 5–10 minutes before your appointment for a hassle-free check-in. Simply show your booking confirmation on the Barberaa App to the store manager. To ensure a seamless experience, pay the full bill amount in advance and enjoy your services without any interruptions."})]}),(0,a.jsxs)(o.AccordionItem,{value:"Cancellation",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"Can I reschedule or cancel my appointment?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"Yes, you can reschedule or cancel your appointment directly through the Barberaa app. Although we only allow you to reschedule your appointment once. Please note that any cancellation should be made at least 24 hours in advance to avoid cancellation fees."})]}),(0,a.jsxs)(o.AccordionItem,{value:"Payment-type",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"Do I need to pay in advance for my appointment?"}),(0,a.jsxs)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:["No, you don't. With Barberaa's Book Now, Pay Later feature, you can reserve your salon or spa appointment without paying anything upfront. Your payment link will automatically activate at the time of your appointment on both the Barberaa App and Website. Simply open your appointment, complete the payment securely on Barberaa, and enjoy all your exclusive Barberaa benefits.",(0,a.jsxs)("p",{children:[(0,a.jsx)("span",{className:"font-bold text-sm sm:text-base text-left",children:"Please note:"})," All payments must be completed through the Barberaa App / Website to receive discounts, cashback, and other Barberaa benefits."]})]})]}),e&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o.AccordionItem,{value:"reschedule",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"What happens if I arrive late to my appointment?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"If you're running late, please use the Barberaa App to reschedule your appointment or inform the salon directly if required. Extended delays may result in rescheduling or reduced service time."})]}),(0,a.jsxs)(o.AccordionItem,{value:"multiple-service",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"Can I book multiple services in one appointment?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"Absolutely! You can select multiple services during the booking process and enjoy them all in a single visit. Although booking the same service more than once under the same appointment won’t be possible, for which you can create a new booking."})]}),(0,a.jsxs)(o.AccordionItem,{value:"discounts",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"Are there any discounts or offers available?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:'Yes, we regularly feature exciting deals and discounts on various services. You will be able to see an exclusive offer under each Salon listed with us. Check the "Offers" section on the app for the latest promotions.'})]}),(0,a.jsxs)(o.AccordionItem,{value:"safety",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"⁠What safety measures are you taking?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"At Barberaa, we ensure that all partnered salons adhere to strict hygiene and safety protocols, including regular sanitization, use of disposable tools where possible, and adherence to government guidelines."})]}),(0,a.jsxs)(o.AccordionItem,{value:"app",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"Do I need to download the app to use Barberaa’s services?"}),(0,a.jsx)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:"While booking through the app offers a seamless experience, you can also use the website to book your appointments without downloading the app."})]}),(0,a.jsxs)(o.AccordionItem,{value:"support",children:[(0,a.jsx)(o.AccordionTrigger,{className:"text-base sm:text-lg lg:text-xl font-medium text-left",children:"How do I contact customer support?"}),(0,a.jsxs)(o.AccordionContent,{className:"font-normal text-sm sm:text-base text-left",children:["You can reach out to our customer support team by emailing us at ",(0,a.jsx)("a",{style:{color:"blue"},href:"mailto:[email protected]",children:"[email protected]"}),". We're here to assist you with any queries or concerns."]})]})]}),(0,a.jsx)("a",{onClick:()=>t(!e),className:"text-blue-500 underline hover:text-blue-600 cursor-pointer flex justify-end mt-4",children:e?"Show less":"Show more"})]})]})]})}},2301:function(e,t,s){"use strict";s.d(t,{Hero:function(){return d}});
1var a=s(57437),l=s(99376),n=s(2265),r=s(19764),o=s(73377);s(87575),s(7354),s(86968),s(76889);var i=s(69140),c=s(60786);function d(){let e=(0,l.useRouter)(),t=(0,c.C)(e=>e.apps.newCity),[s,d]=(0,n.useState)([]),[u,m]=(0,n.useState)(!1),h=t?"?city=".concat(encodeURIComponent(t)):"",x=(t,s,a)=>{if(s&&"null"!==s){e.push("/franchise/".concat(s));return}t&&"null"!==t&&e.push("Salon/shopsinfo/".concat(t)),a&&"null"!==a&&"BIBF-offer"==a&&e.push("/BIBF-offer")};return(0,n.useEffect)(()=>{(async()=>{m(!0);try{let e=await fetch("/api/common/get_home_page_banner".concat(h),{cache:"no-store",headers:{"Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(e.ok){let t=(await e.json()).data.filter(e=>e.is_active);d(t)}else console.error("Failed to fetch banners")}catch(e){console.log(e)}finally{m(!1)}})()},[t]),(0,a.jsxs)("section",{className:"flex flex-col gap-14 px-3 lg:px-32 py-6",children:[u&&(0,a.jsx)(i.O,{className:"min-h-[35svh] md:min-h-[60svh]"}),(0,a.jsx)(r.tq,{spaceBetween:30,centeredSlides:!0,autoplay:{delay:1e4,disableOnInteraction:!1},pagination:{clickable:!0},navigation:!0,modules:[o.pt,o.tl,o.W_],className:"mySwiper relative rounded-xl overflow-hidden",children:s.map(e=>(0,a.jsx)(r.o5,{className:"relative !bg-black !bg-opacity-5",children:(0,a.jsxs)("div",{className:"image-container",onClick:()=>x(e.store_uuid,e.franchise_uuid,e.web_descriptor),children:[(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsx)("img",{src:e.mob_img_url})}),(0,a.jsx)("div",{className:"hidden md:block lg:hidden",children:(0,a.jsx)("img",{src:e.tab_img_url})}),(0,a.jsx)("div",{className:"hidden lg:block",children:(0,a.jsx)("img",{className:"h-auto max-h-[80vh] object-contain",src:e.des_img_url})})]})},e.web_id))}),(0,a.jsxs)("div",{className:"md:grid grid-cols-4 gap-8 font-jakarta font-semibold text-[32px] hidden",children:[(0,a.jsx)("div",{onClick:()=>{e.push("Salon")},className:"h-32 bg-cover bg-center rounded-3xl overflow-hidden cursor-pointer bg-barber",children:(0,a.jsx)("div",{className:"bg-[#000000] bg-opacity-50 h-full w-full flex items-center justify-center text-white",children:"Salon"})}),(0,a.jsx)("div",{onClick:()=>{e.push("Parlour")},className:"h-32 bg-cover bg-center rounded-3xl overflow-hidden cursor-pointer bg-parlor",children:(0,a.jsx)("div",{className:"bg-[#000000] bg-opacity-50 h-full w-full flex items-center justify-center text-white",children:"Parlour"})}),(0,a.jsx)("div",{onClick:()=>{e.push("Nail Salon")},className:"h-32 bg-cover bg-center rounded-3xl overflow-hidden cursor-pointer bg-nailSalon",children:(0,a.jsx)("div",{className:"bg-[#000000] bg-opacity-50 h-full w-full flex items-center justify-center text-white",children:"Nail Salon"})}),(0,a.jsx)("div",{onClick:()=>{e.push("Spa")},className:"h-32 bg-cover bg-center rounded-3xl overflow-hidden cursor-pointer bg-spa2",children:(0,a.jsx)("div",{className:"bg-[#000000] bg-opacity-50 h-full w-full flex items-center justify-center text-white",children:"Spa"})})]})]})}},4916:function(e,t,s){"use strict";s.d(t,{NearbyComponents:function(){return m}});
1var a=s(57437),l=s(60786),n=s(2265),r=s(90636),o=s(50859),i=s(69140),c=s(73413),d=s(99376);function u(e){let t=(0,l.C)(e=>e.apps.favShopList),[s,u]=(0,n.useState)(null),m=(0,d.useRouter)();return(0,a.jsx)("section",{className:"flex flex-col gap-12 px-2 lg:px-32 py-6",children:(0,a.jsxs)(r.Carousel,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center pb-6",children:[(0,a.jsx)("h5",{className:"font-dmsan font-semibold text-lg sm:text-[32px]",children:"Nearby salons"}),(0,a.jsxs)("div",{className:"flex items-center flex-row gap-1 md:gap-3 relative mr-14",children:[(0,a.jsx)(r.CarouselPrevious,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"}),(0,a.jsx)(r.CarouselNext,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"})]})]}),e.isLoading&&0===e.nearbyList.length&&(0,a.jsxs)("section",{className:"flex flex-col lg:flex-row justify-between gap-3",children:[(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"})]}),(0,a.jsxs)(r.CarouselContent,{className:"flex flex-row -ml-1 xl:-ml-4",children:[e.nearbyList.map(e=>{var l;let n=(null!==e.images&&""!==e.images?JSON.parse(e.images):[]).map(e=>"https://pub-6df3a4dfa7a74606a2d551c464398361.r2.dev/store-image/"+e.uuidOriginalName),i=t.findIndex(t=>t.storeUuid===e.storeUuid),d=s===e.storeUuid&&n.length>1;return(0,a.jsx)(r.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/2 lg:basis-1/3",onMouseEnter:()=>u(e.storeUuid),onMouseLeave:()=>u(null),children:(0,a.jsx)(o.T,{shopName:e.storeName,shopRating:e.storeRating,displayLocation:e.area+", "+e.city,images:n,quality:500,link:null!==e.storeTypeName?"/"+(0,c.k7)(e.storeTypeName)[0]+"/shopsinfo/"+e.storeUuid:"/Others/shopsinfo/"+e.storeUuid,storeUuid:e.storeUuid,franchiseUuid:null!==(l=e.franchiseUuid)&&void 0!==l?l:void 0,isLiked:-1!==i,shareLink:null!==e.storeTypeName?"https://barberaa.com/"+(0,c.k7)(e.storeTypeName)[0]+"/shopsinfo/"+e.storeUuid:"/Others/shopsinfo/"+e.storeUuid,coupons:e.coupons,minPrice:e.min_price,autoplay:d,lat:null==e?void 0:e.latitude,lng:null==e?void 0:e.longitude})},e.storeUuid)}),!e.isLoading&&e.nearbyList.length>0&&(0,a.jsx)(r.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/4 lg:basis-1/6 flex items-center justify-center",children:(0,a.jsxs)("button",{onClick:()=>{m.push("/see-all?category=".concat(encodeURIComponent("Nearby Salons"),"&sortBy=").concat(encodeURIComponent("location")))},className:"flex flex-col items-center justify-center p-4 border-2 border-gray-300 rounded-lg bg-white hover:bg-gray-100 transition-all duration-300 ease-in-out w-full h-full shadow-sm hover:shadow-md",children:[(0,a.jsx)("span",{className:"text-lg font-semibold text-gray-700 mb-2 font-jakarta font-bold sm:font-semibold text-base sm:text-lg",children:"Show More"}),(0,a.jsx)("span",{className:"text-sm text-gray-95 font-jakarta text-sm font-medium",children:"View more nearby salons"})]})})]})]})})}function m(){let e=(0,l.C)(e=>e.apps.storeGroup),[t,s]=(0,n.useState)([]),r=!Array.isArray(e)||0===e.length;return(0,n.useEffect)(()=>{if(Array.isArray(e)&&e.length>0){let t=e.find(e=>"location"===e.type&&Array.isArray(e.stores));t&&Array.isArray(t.stores)?s(t.stores):s([])}},[e]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(u,{isLoading:r,nearbyList:t})})}},77865:function(e,t,s){"use strict";s.d(t,{OfferPopup:function(){return c}});var a=s(57437),l=s(2265),n=s(99376);let r=(0,s(79205).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var o=s(60786);let i="barberaa_offer_popup_seen";function c(){let[e,t]=(0,l.useState)(!1),[s,c]=(0,l.useState)(null),d=(0,n.useRouter)(),u=(0,o.C)(e=>e.apps.newCity);function m(){sessionStorage.setItem(i,"1"),t(!1)}return((0,l.useEffect)(()=>{sessionStorage.getItem(i)||(async()=>{try{let e=u?"?city=".concat(encodeURIComponent(u)):"",s=await fetch("/api/common/get_popups".concat(e),{cache:"no-store",headers:{"Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:"0"}});if(s.ok){let e=(await s.json()).data||[];e.length>0&&(c(e[0]),setTimeout(()=>t(!0),600))}}catch(e){console.error("Error fetching popup:",e)}})()},[u]),e&&s)?(0,a.jsx)("div",{className:"fixed inset-0 z-[9999] flex items-center justify-center bg-black/55 backdrop-blur-[2px] px-4",onClick:m,children:(0,a.jsxs)("div",{className:"relative w-full max-w-sm sm:max-w-md md:max-w-2xl lg:max-w-5xl rounded-2xl overflow-hidden shadow-2xl animate-in fade-in zoom-in-95 duration-300",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("button",{onClick:m,className:"absolute top-3 right-3 z-10 flex items-center justify-center w-8 h-8 rounded-full bg-black/60 text-white sm:bg-white/40 sm:text-white hover:bg-black/70 sm:hover:bg-white/60 transition-colors","aria-label":"Close popup",children:(0,a.jsx)(r,{size:16,strokeWidth:2.5})}),(0,a.jsxs)("div",{onClick:function(){if(m(),s){if(s.franchise_uuid&&"null"!==s.franchise_uuid){d.push("/franchise/".concat(s.franchise_uuid));return}if(s.store_uuid&&"null"!==s.store_uuid){d.push("Salon/shopsinfo/".concat(s.store_uuid));return}s.web_descriptor&&"null"!==s.web_descriptor&&d.push("/".concat(s.web_descriptor))}},className:s.franchise_uuid||s.store_uuid||s.web_descriptor?"cursor-pointer":"cursor-default",children:[(0,a.jsx)("img",{src:s.desktop_img_url,alt:s.popup_name,className:"hidden sm:block w-full h-auto object-cover"}),(0,a.jsx)("img",{src:s.mobile_img_url,alt:s.popup_name,className:"block sm:hidden w-full h-auto object-cover"})]})]})}):null}},96263:function(e,t,s){"use strict";s.d(t,{RecommendedForYou:function(){return u}});var a=s(57437),l=s(60786),n=s(90636),r=s(50859),o=s(2265),i=s(69140),c=s(73413),d=s(99376);function u(){let[e,t]=(0,o.useState)([]),[s,u]=(0,o.useState)(null),m=(0,l.C)(e=>e.apps.storeGroup),h=!Array.isArray(m)||0===m.length,x=(0,l.C)(e=>e.apps.favShopList);(0,o.useEffect)(()=>
1{if(Array.isArray(m)&&m.length>0){let e=m.find(e=>"recommended"===e.type&&Array.isArray(e.stores));e&&Array.isArray(e.stores)?t(e.stores):t([])}},[m]);let p=(0,d.useRouter)();return(0,a.jsx)("section",{className:"flex flex-col gap-12 p-2 lg:px-32 py-6",children:(0,a.jsxs)(n.Carousel,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center pb-6",children:[(0,a.jsx)("h5",{className:"font-dmsan font-semibold text-lg sm:text-[32px]",children:"Recommended for you"}),(0,a.jsxs)("div",{className:"flex items-center flex-row gap-1 md:gap-3 relative mr-14",children:[(0,a.jsx)(n.CarouselPrevious,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"}),(0,a.jsx)(n.CarouselNext,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"})]})]}),h&&0===e.length&&(0,a.jsxs)("section",{className:"flex flex-col lg:flex-row justify-between  gap-3",children:[(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4  min-h-[250px] md:min-h-[500px] min-w-[24svw]"})]}),(0,a.jsxs)(n.CarouselContent,{className:"flex flex-row -ml-1 xl:-ml-4",children:[e.map(e=>{var t;let l=(null!==e.images&&""!==e.images?JSON.parse(e.images):[]).map(e=>"https://pub-6df3a4dfa7a74606a2d551c464398361.r2.dev/store-image/"+e.uuidOriginalName),o=x.findIndex(t=>t.storeUuid===e.storeUuid),i=s===e.storeUuid&&l.length>1;return(0,a.jsx)(n.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/2 lg:basis-1/3",onMouseEnter:()=>u(e.storeUuid),onMouseLeave:()=>u(null),children:(0,a.jsx)(r.T,{shopName:e.storeName,shopRating:e.storeRating,displayLocation:e.area+", "+e.city,images:l,quality:500,link:null!==e.storeTypeName?"/"+(0,c.k7)(e.storeTypeName)[0]+"/shopsinfo/"+e.storeUuid:"/Others/shopsinfo/"+e.storeUuid,storeUuid:e.storeUuid,franchiseUuid:null!==(t=e.franchiseUuid)&&void 0!==t?t:void 0,isLiked:-1!==o,shareLink:null!==e.storeTypeName?"https://barberaa.com/"+(0,c.k7)(e.storeTypeName)[0]+"/shopsinfo/"+e.storeUuid:"/Others/shopsinfo/"+e.storeUuid,coupons:e.coupons,minPrice:e.min_price,autoplay:i,lat:null==e?void 0:e.latitude,lng:null==e?void 0:e.longitude})},e.storeUuid)}),h&&e.length>0&&(0,a.jsx)(n.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/4 lg:basis-1/6 flex items-center justify-center",children:(0,a.jsxs)("button",{onClick:()=>{p.push("/see-all?category=".concat(encodeURIComponent("Recommended for you"),"&sortBy=").concat(encodeURIComponent("recommended")))},className:"flex flex-col items-center justify-center p-4 border-2 border-gray-300 rounded-lg bg-white hover:bg-gray-100 transition-all duration-300 ease-in-out w-full h-full shadow-sm hover:shadow-md",children:[(0,a.jsx)("span",{className:"text-lg font-semibold text-gray-700 mb-2 font-jakarta font-bold sm:font-semibold text-base sm:text-lg",children:"Show More"}),(0,a.jsx)("span",{className:"text-sm text-gray-95 font-jakarta text-sm font-medium",children:"View more salons"})]})})]})]})})}},56352:function(e,t,s){"use strict";s.d(t,{r:function(){return n}});var a=s(57437),l=s(33145);function n(e){return(0,a.jsx)(l.default,{src:e.photo,alt:e.photo,height:e.quality?e.quality:500,width:e.quality?e.quality:500,className:"w-[40svw] sm:w-[376px] sm:max-h-[376px] sm:h-[376px] lg:max-h-[376px] object-cover object-center",loading:"lazy",sizes:"(max-width: 768px) 100vw, 376px",priority:!1})}},6765:function(e,t,s){"use strict";s.d(t,{TopFranchises:function(){return u}});var a=s(57437),l=s(67462),n=s(90636),r=s(50859),o=s(2265),i=s(69140),c=s(60786),d=s(24960);function u(){let[e,t]=(0,o.useState)([]),s=(0,c.C)(e=>e.apps.token),u=(0,c.C)(e=>e.apps.newCity),m=(0,c.C)(e=>e.apps.newState),[h,x]=(0,o.useState)(!1),{data:p,isLoading:f}=(0,l.HA)(h?{state:m}:d.CN);return((0,o.useEffect)(()=>{""!==s&&m&&x(!0)},[s,m]),(0,o.useEffect)(()=>{if((null==p?void 0:p.type)==="success"&&p.data&&0!==p.data.data.length){let e=[];p.data.data.forEach(t=>{e.push(t)}),t(e)}else t([])},[p,u]),e&&0!==e.length)?(0,a.jsxs)("section",{className:"bg-yellow-95 px-2 lg:px-32 lg:py-24 py-6 flex flex-col md:grid md:grid-cols-3",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 font-jakarta p-6 w-3/4",children:[(0,a.jsx)("h4",{className:"font-semibold text-2xl lg:text-[32px]",children:"Top Brands around you"}),(0,a.jsx)("h5",{className:"text-sm lg:text-base",children:"Discover the best brands near you, offering top-notch services and exclusive deals to enhance your grooming experience."})]}),(0,a.jsx)("div",{className:"flex flex-col col-span-2",children:(0,a.jsxs)(n.Carousel,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center pb-6",children:[(0,a.jsx)("h5",{className:"font-dmsan font-semibold text-[32px]"}),(0,a.jsxs)("div",{className:"flex items-center flex-row gap-3 relative mr-14",children:[(0,a.jsx)(n.CarouselPrevious,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"}),(0,a.jsx)(n.CarouselNext,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"})]})]}),f&&(0,a.jsxs)("section",{className:"flex flex-col lg:flex-row gap-4",children:[(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4 min-h-[500px] min-w-[30svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4 min-h-[500px] min-w-[30svw]"})]}),(0,a.jsx)(n.CarouselContent,{className:"flex flex-row -ml-1 xl:-ml-4",children:e.map(e=>{var t;return(0,a.jsx)(n.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/2",children:(0,a.jsx)(r.T,{shopName:e.franchiseName,franchiseUuid:null!==(t=e.franchiseUuid)&&void 0!==t?t:void 0,isFranchise:!0,displayLocation:e.area+", "+e.city,images:["string"==typeof e.images&&e.images?e.images.startsWith("http")?e.images:"https://admin.barberaa.com/media/"+e.images:"/default-image.jpg"],link:"/franchise/"+e.franchiseUuid,shareLink:"".concat("https://barberaa.com/","franchise/")+"".concat(e.franchiseUuid),coupons:Array.isArray(e.coupons)?e.coupons.filter(e=>e&&"SAVE70"!==e.coupon_code&&"SAVE25"!==e.coupon_code):e.coupons}
1)},e.franchiseUuid)})})]})})]}):null}},96395:function(e,t,s){"use strict";s.d(t,{TopRatedSalons:function(){return u}});var a=s(57437),l=s(2265),n=s(90636),r=s(50859),o=s(73413),i=s(69140),c=s(60786),d=s(99376);function u(){let e=(0,c.C)(e=>e.apps.favShopList),t=(0,c.C)(e=>e.apps.storeGroup),[s,u]=(0,l.useState)(null),m=!Array.isArray(t)||0===t.length,[h,x]=(0,l.useState)([]);(0,l.useEffect)(()=>{if(Array.isArray(t)&&t.length>0){let e=t.find(e=>"recommended"===e.type&&Array.isArray(e.stores));e&&Array.isArray(e.stores)?x(e.stores):x([])}},[t]);let p=(0,d.useRouter)();return(0,a.jsx)("section",{className:"flex flex-col gap-12 px-2 lg:px-32 py-6",children:(0,a.jsxs)(n.Carousel,{children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between items-center pb-6",children:[(0,a.jsx)("h5",{className:"font-dmsan font-semibold text-lg sm:text-[32px]",children:"Top Rated Salons"}),(0,a.jsxs)("div",{className:"flex items-center flex-row gap-1 md:gap-3 relative mr-14",children:[(0,a.jsx)(n.CarouselPrevious,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"}),(0,a.jsx)(n.CarouselNext,{className:"absolute disabled:bg-transparent w-8 h-8 hover:bg-yellowMain text-black"})]})]}),m&&0===h.length&&(0,a.jsxs)("section",{className:"flex flex-col lg:flex-row justify-between  gap-3",children:[(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4 min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4 min-h-[250px] md:min-h-[500px] min-w-[24svw]"}),(0,a.jsx)(i.O,{className:"pl-1 xl:pl-4 min-h-[250px] md:min-h-[500px] min-w-[24svw]"})]}),(0,a.jsxs)(n.CarouselContent,{className:"flex flex-row -ml-1 xl:-ml-4",children:[h.map(t=>{var l;let i=[];if(Array.isArray(t.images))i=t.images;else if("string"==typeof t.images&&""!==t.images)try{i=JSON.parse(t.images)}catch(e){i=[]}let c=i.map(e=>"https://pub-6df3a4dfa7a74606a2d551c464398361.r2.dev/store-image/"+e.uuidOriginalName),d=e.findIndex(e=>e.storeUuid===t.storeUuid),m=s===t.storeUuid&&c.length>1;return(0,a.jsx)(n.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/2 lg:basis-1/3",onMouseEnter:()=>u(t.storeUuid),onMouseLeave:()=>u(null),children:(0,a.jsx)(r.T,{shopName:t.storeName,shopRating:t.storeRating,displayLocation:t.area+", "+t.city,images:c,quality:500,link:null!==t.storeTypeName?"/"+(0,o.k7)(t.storeTypeName)[0]+"/shopsinfo/"+t.storeUuid:"/Others/shopsinfo/"+t.storeUuid,storeUuid:t.storeUuid,franchiseUuid:null!==(l=t.franchiseUuid)&&void 0!==l?l:void 0,isLiked:-1!==d,shareLink:null!==t.storeTypeName?"https://barberaa.com/"+(0,o.k7)(t.storeTypeName)[0]+"/shopsinfo/"+t.storeUuid:"/Others/shopsinfo/"+t.storeUuid,coupons:t.coupons,minPrice:t.min_price,autoplay:m,lat:null==t?void 0:t.latitude,lng:null==t?void 0:t.longitude})},t.storeUuid)}),!m&&h.length>0&&(0,a.jsx)(n.CarouselItem,{className:"pl-1 xl:pl-4 md:basis-1/4 lg:basis-1/6 flex items-center justify-center",children:(0,a.jsxs)("button",{onClick:()=>{p.push("/see-all?category=".concat(encodeURIComponent("Top Rated Salons"),"&sortBy=").concat(encodeURIComponent("recommended")))},className:"flex flex-col items-center justify-center p-4 border-2 border-gray-300 rounded-lg bg-white hover:bg-gray-100 transition-all duration-300 ease-in-out w-full h-full shadow-sm hover:shadow-md",children:[(0,a.jsx)("span",{className:"text-lg font-semibold text-gray-700 mb-2 font-jakarta font-bold sm:font-semibold text-base sm:text-lg",children:"Show More"}),(0,a.jsx)("span",{className:"text-sm text-gray-95 font-jakarta text-sm font-medium",children:"View more top-rated salons"})]})})]})]})})}},22549:function(e,t,s){"use strict";s.d(t,{Accordion:function(){return i},AccordionContent:function(){return u},AccordionItem:function(){return c},AccordionTrigger:function(){return d}});var a=s(57437),l=s(2265),n=s(13134),r=s(20653),o=s(93448);let i=n.fC,c=l.forwardRef((e,t)=>{let{className:s,...l}=e;return(0,a.jsx)(n.ck,{ref:t,className:(0,o.cn)("border-b",s),...l})});c.displayName="AccordionItem";let d=l.forwardRef((e,t)=>{let{className:s,children:l,...i}=e;return(0,a.jsx)(n.h4,{className:"flex",children:(0,a.jsxs)(n.xz,{ref:t,className:(0,o.cn)("flex flex-1 items-center justify-between py-4 text-sm font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",s),...i,children:[l,(0,a.jsx)(r.v4q,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})})});d.displayName=n.xz.displayName;let u=l.forwardRef((e,t)=>
1{let{className:s,children:l,...r}=e;return(0,a.jsx)(n.VY,{ref:t,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...r,children:(0,a.jsx)("div",{className:(0,o.cn)("pb-4 pt-0",s),children:l})})});u.displayName=n.VY.displayName},90636:function(e,t,s){"use strict";s.d(t,{Carousel:function(){return u},CarouselContent:function(){return m},CarouselItem:function(){return h},CarouselNext:function(){return p},CarouselPrevious:function(){return x}});var a=s(57437),l=s(2265),n=s(20653),r=s(9467),o=s(93448),i=s(12381);let c=l.createContext(null);function d(){let e=l.useContext(c);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let u=l.forwardRef((e,t)=>{let{orientation:s="horizontal",opts:n,setApi:i,plugins:d,className:u,children:m,...h}=e,[x,p]=(0,r.Z)({...n,axis:"horizontal"===s?"x":"y"},d),[f,g]=l.useState(!1),[b,y]=l.useState(!1),j=l.useCallback(e=>{e&&(g(e.canScrollPrev()),y(e.canScrollNext()))},[]),v=l.useCallback(()=>{null==p||p.scrollPrev()},[p]),w=l.useCallback(()=>{null==p||p.scrollNext()},[p]),N=l.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),v()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[v,w]);return l.useEffect(()=>{p&&i&&i(p)},[p,i]),l.useEffect(()=>{if(p)return j(p),p.on("reInit",j),p.on("select",j),()=>{null==p||p.off("select",j)}},[p,j]),(0,a.jsx)(c.Provider,{value:{carouselRef:x,api:p,opts:n,orientation:s||((null==n?void 0:n.axis)==="y"?"vertical":"horizontal"),scrollPrev:v,scrollNext:w,canScrollPrev:f,canScrollNext:b},children:(0,a.jsx)("div",{ref:t,onKeyDownCapture:N,className:(0,o.cn)("relative",u),role:"region","aria-roledescription":"carousel",...h,children:m})})});u.displayName="Carousel";let m=l.forwardRef((e,t)=>{let{className:s,...l}=e,{carouselRef:n,orientation:r}=d();return(0,a.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,a.jsx)("div",{ref:t,className:(0,o.cn)("flex","horizontal"===r?"-ml-4":"-mt-4 flex-col",s),...l})})});m.displayName="CarouselContent";let h=l.forwardRef((e,t)=>{let{className:s,...l}=e,{orientation:n}=d();return(0,a.jsx)("div",{ref:t,role:"group","aria-roledescription":"slide",className:(0,o.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",s),...l})});h.displayName="CarouselItem";let x=l.forwardRef((e,t)=>{let{className:s,variant:l="outline",size:r="icon",...c}=e,{orientation:u,scrollPrev:m,canScrollPrev:h}=d();return(0,a.jsxs)(i.z,{ref:t,variant:l,size:r,className:(0,o.cn)("absolute  h-8 w-8 rounded-full","horizontal"===u?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!h,onClick:m,...c,children:[(0,a.jsx)(n.Y4O,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});x.displayName="CarouselPrevious";let p=l.forwardRef((e,t)=>{let{className:s,variant:l="outline",size:r="icon",...c}=e,{orientation:u,scrollNext:m,canScrollNext:h}=d();return(0,a.jsxs)(i.z,{ref:t,variant:l,size:r,className:(0,o.cn)("absolute h-8 w-8 rounded-full","horizontal"===u?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",s),disabled:!h,onClick:m,...c,children:[(0,a.jsx)(n.LZ3,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Next slide"})]})});p.displayName="CarouselNext"},23340:function(e,t,s){"use strict";s.d(t,{pm:function(){return m}});var a=s(2265);let l=0,n=new Map,r=e=>{if(n.has(e))return;let t=setTimeout(()=>{n.delete(e),d({type:"REMOVE_TOAST",toastId:e})},1e6);n.set(e,t)},o=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,1)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(e=>e.id===t.toast.id?{...e,...t.toast}:e)};case"DISMISS_TOAST":{let{toastId:s}=t;return s?r(s):e.toasts.forEach(e=>{r(e.id)}),{...e,toasts:e.toasts.map(e=>e.id===s||void 0===s?{...e,open:!1}:e)}}case"REMOVE_TOAST":if(void 0===t.toastId)return{...e,toasts:[]};return{...e,toasts:e.toasts.filter(e=>e.id!==t.toastId)}}},i=[],c={toasts:[]};function d(e){c=o(c,e),i.forEach(e=>{e(c)})}function u(e){let{...t}=e,s=(l=(l+1)%Number.MAX_SAFE_INTEGER).toString(),a=()=>d({type:"DISMISS_TOAST",toastId:s}
1);return d({type:"ADD_TOAST",toast:{...t,id:s,open:!0,onOpenChange:e=>{e||a()}}}),{id:s,dismiss:a,update:e=>d({type:"UPDATE_TOAST",toast:{...e,id:s}})}}function m(){let[e,t]=a.useState(c);return a.useEffect(()=>(i.push(t),()=>{let e=i.indexOf(t);e>-1&&i.splice(e,1)}),[e]),{...e,toast:u,dismiss:e=>d({type:"DISMISS_TOAST",toastId:e})}}},87575:function(){}},function(e){e.O(0,[7984,4747,1458,712,8310,9212,3676,1461,3145,2432,1292,8423,3702,3911,1229,605,9432,9185,8831,7648,1485,9467,7490,181,254,5890,2971,2117,1744],function(){return e(e.s=84009)}),_N_E=e.O()}]);

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.