PageSourceSearch

https://www.brancho.in/_next/static/chunks/app/(site)/layout-21e7da065133a505.js

js brancho.in collected 2026-10-10 02:36:16 UTC 44,468 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6750],{32672:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>ep});var a=s(95155),i=s(12115),n=s(52619),r=s.n(n),l=s(20063),o=s(15239),c=s(71878),d=s(26497),h=s(33004),u=s(14175),m=s(3808),x=s(41088),f=s(36165),p=s(23916),b=s(89168),g=s(37230),v=s(33297),y=s(32470),w=s(59046),j=s(49155),N=s(34788),k=s(64269),S=s(53435);function A(e){let{id:t,hidden:s}=e;return(0,a.jsx)(r(),{href:"/",className:(0,k.cn)("flex items-center",s&&"pointer-events-none opacity-0"),"aria-label":"Brancho home",children:(0,a.jsx)(o.default,{id:t,src:"/logo2.png",alt:"Brancho logo",width:141,height:32,className:"h-5 w-auto object-contain sm:h-8",priority:!0})})}let C=new Set(["/","/services","/how-it-works","/app","/careers"]),E=[{label:"About Brancho",href:"/company",description:"Our story, mission and people"},{label:"Founder",href:"/founder",description:"Meet Bhavy Rajpopat"},{label:"Newsroom",href:"/newsroom",description:"Press and announcements"},{label:"Careers",href:"/careers",description:"Build the future with us"},{label:"Contact",href:"/contact",description:"Talk to our team"}],T=[{label:"Brancho Water",href:"/businesses/water",description:"Packaged drinking water",icon:u.A},{label:"Brancho Home Care",href:"/businesses/home-care",description:"Care plans & cleaning",icon:m.A},{label:"MyFamNest",href:"/businesses/myfamnest",description:"Connected family home",icon:x.A},{label:"Brancho Students",href:"/businesses/students",description:"Student living services",icon:f.A}],z=[{label:"Brancho Foundation",href:"/future/foundation",description:"Service beyond services"},{label:"Innovation Lab",href:"/future/innovation-lab",description:"Prototyping tomorrow's home care"},{label:"Brancho AI",href:"/future/ai-platform",description:"The intelligence behind every visit"},{label:"Global Expansion",href:"/future/global",description:"A standard of care for the world"},{label:"Investor Relations",href:"/future/investors",description:"Transparent, long-term value"}];function B(e){let{navStage:t=0}=e,[s,n]=(0,i.useState)(!1),[o,u]=(0,i.useState)(!1),[m,x]=(0,i.useState)(null),f=(0,i.useRef)(null),{theme:B,toggle:L}=function(){let[e,t]=(0,i.useState)("light");return(0,i.useEffect)(()=>{let e=localStorage.getItem("theme");if(null!==e){t(e),document.documentElement.classList.toggle("dark","dark"===e);return}let s=window.matchMedia("(prefers-color-scheme: dark)").matches;t(s?"dark":"light"),document.documentElement.classList.toggle("dark",s)},[]),{theme:e,toggle:()=>{t(e=>{let t="light"===e?"dark":"light";return document.documentElement.classList.toggle("dark","dark"===t),localStorage.setItem("theme",t),t})}}}(),{scrollY:M}=(0,c.L)(),P=(0,l.usePathname)(),V=C.has(P);(0,i.useEffect)(()=>M.on("change",e=>n(e>40)),[M]),(0,i.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&x(null)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[]),(0,i.useEffect)(()=>{document.body.style.overflow=o?"hidden":"";let e=window.__lenis;return o?null==e||e.stop():null==e||e.start(),()=>{document.body.style.overflow=""}},[o]),(0,i.useEffect)(()=>{u(!1)},[P]);let R=e=>x(t=>t===e?null:e),I=s||!V,F=(0,k.cn)("inline-flex items-center gap-1 rounded-full px-4 py-2 text-sm font-medium transition-colors",I?"text-ink/80 hover:text-navy dark:text-white/85 dark:hover:text-white":"text-white/85 hover:text-white"),D=(0,k.cn)("flex h-10 w-10 items-center justify-center rounded-full border transition-colors",I?"border-line bg-surface-soft text-navy dark:text-white":"border-white/20 bg-white/10 text-white"),_=()=>(0,k.cn)("transition-[opacity,transform] duration-500 ease-out",0===t?"pointer-events-none translate-y-1.5 opacity-0":"translate-y-0 opacity-100"),O=e=>0===t?void 0:{transitionDelay:"".concat(.05+.07*e,"s")};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("header",{className:(0,k.cn)("fixed inset-x-0 top-0 z-[70] transition-all duration-500",s?"border-b border-line bg-surface/85 backdrop-blur-xl shadow-sm":"bg-transparent"),children:(0,a.jsxs)("nav",{className:"container-wide flex h-20 items-center justify-between","aria-label":"Main navigation",children:[(0,a.jsx)(A,{id:"nav-logo",hidden:t<2}),(0,a.jsxs)("ul",{className:"hidden items-center gap-1 lg:flex",ref:f,children:[(0,a.jsx)("li",{className:_(),style:O(0),children:(0,a.jsx)(r(),{href:"/services",className:F,children:"Services"})}),(0,a.jsxs)("li",{className:(0,k.cn)("relative",_()),style:O(1),children:[(0,a.jsxs)("button",{onClick:()=>R("businesses"),"aria-expanded":"businesses"===m,"aria-haspopup":"menu",className:F,children:["Businesses",(0,a.jsx)(p.A,{size:14,className:(0,k.cn)("transition-transform duration-300","businesses"===m&&"rotate-180")}
1)]}),(0,a.jsx)(d.N,{children:"businesses"===m&&(0,a.jsxs)(h.P.div,{initial:{opacity:0,y:10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.98},transition:{duration:.2,ease:[.16,1,.3,1]},role:"menu",className:"absolute left-1/2 top-full mt-3 w-[26rem] -translate-x-1/2 overflow-hidden rounded-2xl border border-line bg-surface p-2 shadow-2xl shadow-navy/15",children:[(0,a.jsx)("div",{className:"grid grid-cols-2",children:T.map(e=>(0,a.jsxs)(r(),{href:e.href,role:"menuitem",onClick:()=>x(null),className:"group flex flex-col gap-1.5 rounded-xl p-4 transition-colors hover:bg-surface-soft",children:[(0,a.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-xl bg-navy text-gold",children:(0,a.jsx)(e.icon,{size:16})}),(0,a.jsx)("span",{className:"mt-1 text-sm font-semibold text-ink transition-colors group-hover:text-accent",children:e.label}),(0,a.jsx)("span",{className:"text-xs text-muted",children:e.description})]},e.href))}),(0,a.jsxs)(r(),{href:"/businesses",role:"menuitem",onClick:()=>x(null),className:"mt-1 flex items-center justify-center gap-2 rounded-xl border-t border-line px-4 py-3 text-sm font-semibold text-accent-deep transition-colors hover:bg-surface-soft",children:["View all businesses",(0,a.jsx)(b.A,{size:14})]})]})})]}),(0,a.jsxs)("li",{className:(0,k.cn)("relative",_()),style:O(2),children:[(0,a.jsxs)("button",{onClick:()=>R("company"),"aria-expanded":"company"===m,"aria-haspopup":"menu",className:F,children:["Company",(0,a.jsx)(p.A,{size:14,className:(0,k.cn)("transition-transform duration-300","company"===m&&"rotate-180")})]}),(0,a.jsx)(d.N,{children:"company"===m&&(0,a.jsx)(h.P.div,{initial:{opacity:0,y:10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.98},transition:{duration:.2,ease:[.16,1,.3,1]},role:"menu",className:"absolute left-1/2 top-full mt-3 w-64 -translate-x-1/2 overflow-hidden rounded-2xl border border-line bg-surface p-2 shadow-2xl shadow-navy/15",children:E.map(e=>(0,a.jsxs)(r(),{href:e.href,role:"menuitem",onClick:()=>x(null),className:"group flex flex-col gap-0.5 rounded-xl px-4 py-3 transition-colors hover:bg-surface-soft",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-ink transition-colors group-hover:text-accent",children:e.label}),(0,a.jsx)("span",{className:"text-xs text-muted",children:e.description})]},e.href))})})]}),(0,a.jsxs)("li",{className:(0,k.cn)("relative",_()),style:O(3),children:[(0,a.jsxs)("button",{onClick:()=>R("future"),"aria-expanded":"future"===m,"aria-haspopup":"menu",className:F,children:["The Future",(0,a.jsx)(p.A,{size:14,className:(0,k.cn)("transition-transform duration-300","future"===m&&"rotate-180")})]}),(0,a.jsx)(d.N,{children:"future"===m&&(0,a.jsx)(h.P.div,{initial:{opacity:0,y:10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.98},transition:{duration:.2,ease:[.16,1,.3,1]},role:"menu",className:"absolute left-1/2 top-full mt-3 w-64 -translate-x-1/2 overflow-hidden rounded-2xl border border-line bg-surface p-2 shadow-2xl shadow-navy/15",children:z.map(e=>(0,a.jsxs)(r(),{href:e.href,role:"menuitem",onClick:()=>x(null),className:"group flex flex-col gap-0.5 rounded-xl px-4 py-3 transition-colors hover:bg-surface-soft",children:[(0,a.jsx)("span",{className:"text-sm font-semibold text-ink transition-colors group-hover:text-accent",children:e.label}),(0,a.jsx)("span",{className:"text-xs text-muted",children:e.description})]},e.href))})})]}),(0,a.jsx)("li",{className:_(),style:O(4),children:(0,a.jsx)(r(),{href:"/careers",className:F,children:"Careers"})})]}),(0,a.jsxs)("div",{className:(0,k.cn)("flex items-center gap-1.5 transition-[opacity,transform] duration-500 ease-out sm:gap-3",0===t?"pointer-events-none translate-y-1.5 opacity-0":"translate-y-0 opacity-100"),style:0===t?void 0:{transitionDelay:"0.45s"},children:[(0,a.jsx)(r(),{href:"/search","aria-label":"Search",className:D,children:(0,a.jsx)(g.A,{size:16})}),(0,a.jsx)("button",{onClick:L,"aria-label":"light"===B?"Switch to dark mode":"Switch to light mode",className:D,children:"light"===B?(0,a.jsx)(v.A,{size:16}):(0,a.jsx)(y.A,{size:16})}),(0,a.jsxs)(r(),{href:(0,S.ES)(),className:(0,k.cn)("inline-flex h-10 w-10 items-center justify-center gap-1.5 rounded-full border px-0 text-sm font-semibold transition-colors sm:w-auto 
1sm:px-4",I?"border-line bg-surface-soft text-navy hover:border-accent hover:text-accent-deep dark:text-white":"border-white/20 bg-white/10 text-white hover:bg-white/20"),children:[(0,a.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-navy text-xs font-bold text-gold",children:(0,a.jsx)("span",{children:"B"})}),(0,a.jsx)("span",{className:"hidden sm:inline",children:"Get the App"})]}),(0,a.jsxs)(r(),{href:(0,S.ES)(),className:(0,k.cn)("group hidden items-center gap-2 rounded-full px-6 py-2.5 text-sm font-semibold transition-all lg:inline-flex",I?"bg-navy text-white hover:bg-navy-soft dark:bg-gold dark:text-navy dark:hover:brightness-110":"bg-white text-navy hover:bg-secondary"),children:["Book a Service",(0,a.jsx)(w.A,{size:15,className:"transition-transform group-hover:translate-x-0.5"})]}),(0,a.jsx)("button",{onClick:()=>u(!0),"aria-label":"Open menu",className:(0,k.cn)("flex h-10 w-10 items-center justify-center rounded-full border lg:hidden",I?"border-line bg-surface-soft text-navy dark:text-white":"border-white/20 bg-white/10 text-white"),children:(0,a.jsx)(j.A,{size:18})})]})]})}),(0,a.jsx)(d.N,{children:o&&(0,a.jsxs)(h.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"fixed inset-0 z-[85] flex h-dvh flex-col overflow-y-auto bg-navy lg:hidden",children:[(0,a.jsx)("div",{className:"dot-grid-light pointer-events-none absolute inset-0 opacity-30"}),(0,a.jsxs)("div",{className:"container-wide relative flex h-20 shrink-0 items-center justify-between",children:[(0,a.jsx)(A,{}),(0,a.jsx)("button",{onClick:()=>u(!1),"aria-label":"Close menu",className:"flex h-10 w-10 items-center justify-center rounded-full border border-white/20 bg-white/10 text-white",children:(0,a.jsx)(N.A,{size:18})})]}),(0,a.jsx)("div",{className:"relative flex flex-1 flex-col justify-center gap-1 px-8",children:[{label:"Home",href:"/"},{label:"Services",href:"/services"},{label:"Businesses",href:"/businesses"},{label:"Company",href:"/company"},{label:"The Future",href:"/future"},{label:"Careers",href:"/careers"},{label:"Contact",href:"/contact"}].map((e,t)=>(0,a.jsx)(h.P.div,{initial:{opacity:0,x:-24},animate:{opacity:1,x:0},transition:{delay:.1+.06*t,duration:.5,ease:[.16,1,.3,1]},children:(0,a.jsxs)(r(),{href:e.href,onClick:()=>u(!1),className:"group flex items-center justify-between border-b border-white/10 py-4 sm:py-5",children:[(0,a.jsx)("span",{className:"font-heading text-2xl font-semibold text-white transition-colors group-hover:text-gold sm:text-3xl",children:e.label}),(0,a.jsx)(p.A,{className:"rotate-[-90deg] text-gold",size:20})]})},e.href))}),(0,a.jsx)(h.P.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.5},className:"relative shrink-0 px-8 pb-8 pt-4",children:(0,a.jsxs)(r(),{href:(0,S.ES)(),onClick:()=>u(!1),className:"flex w-full items-center justify-center gap-2 rounded-full bg-accent py-4 font-semibold text-white",children:["Book a Service ",(0,a.jsx)(w.A,{size:16})]})})]})})]})}var L=s(81341),M=s(14551);let P="brancho-intro-sound";function V(){try{return"0"!==window.localStorage.getItem(P)}catch(e){return!0}}class R{setEnabled(e){this.enabled=e}isEnabled(){return this.enabled}beginSession(){this.introStartTime=performance.now(),this.drawn=!1,this.swept=!1,this.whooshed=!1,this.landed=!1}eagerInit(){try{var e;let t=null!=(e=window.AudioContext)?e:window.webkitAudioContext;if(!t)return;this.ctx=new t,this.makeNoise(),this.tryUnlock(),window.addEventListener("focus",this.handleFocus),document.addEventListener("visibilitychange",this.handleVisibility)}catch(e){}}tryUnlock(){if(this.ctx&&!1!==this.enabled&&"running"!==this.ctx.state){this.ctx.resume().catch(()=>{});try{let e=this.ctx.createBuffer(1,1,22050),t=this.ctx.createBufferSource();t.buffer=e,t.connect(this.ctx.destination),t.start(0)}catch(e){}}}unlock(){this.tryUnlock()}makeNoise(){if(!this.ctx)return;let e=Math.floor(this.ctx.sampleRate),t=this.ctx.createBuffer(1,e,this.ctx.sampleRate),s=t.getChannelData(0);for(let t=0;t<e;t++)s[t]=2*Math.random()-1;this.noise=t}isRunning(){return!!this.ctx&&"running"===this.ctx.state}playDraw(){if(this.drawn||!this.enabled||!this.isRunning()||!this.noise)return!1;let e=this.ctx,t=e.currentTime,s=e.createBufferSource();s.buffer=this.noise,s.loop=!0;let a=e.createBiquadFilter();a.type="bandpass",a.Q.value=3,a.frequency.setValueAtTime(700,t),a.frequency.exponentialRampToValueAtTime(2400,t+.32);let i=e.createGain();return i.gain.setValueAtTime(1e-4,t),i.gain.linearRampToValueAtTime(.035,t+.1),i.gain.exponentialRampToValueAtTime(1e-4,t+.5),s.connect(a),a.connect(i),i.connect(e.destination),s.start(t),s.stop(t+.55),this.drawn=!0,!0}playSweep(){if(this.swept||!this.enabled||!this.isRunning())return!1;let e=this.ctx,t=e.currentTime;return[880,1320,1980].forEach((s,a)=>{let i=.035*a,n=e.createOscillator();n.type="sine",n.frequency.value=s;let r=e.createGain();r.gain.setValueAtTime(1e-4,t+i),r.gain.linearRampToValueAtTime(.014,t+i+.02),r.gain.exponentialRampToValueAtTime(1e-4,t+i+.7),n.connect(r),r.connect(e.destination),n.start(t+i),n.stop(t+i+.8)}),this.swept=!0,!0}playWhoosh(){if(this.whooshed||!this.enabled||!this.isRunning()||!this.noise)return!1;let e=this.ctx,t=e.currentTime,s=e.createBufferSource();s.buffer=this.noise,s.loop=!0;let a=e.createBiquadFilter();a.type="lowpass",a.frequency.setValueAtTime(3600,t),a.frequency.exponentialRampToValueAtTime(350,t+.75);let i=e.createGain();return i.gain.setValueAtTime(1e-4,t),i.gain.linearRampToValueAtTime(.055,t+.12),i.gain.exponentialRampToValueAtTime(1e-4,t+.85),s.connect(a),a.connect(i),i.connect(e.destination),s.start(t),s.stop(t+.9),this.whooshed=!0,!0}playLanding(){if(this.landed||!this.enabled||!this.isRunning())return!1;let e=this.ctx,t=e.currentTime;
1return[660,990].forEach((s,a)=>{let i=.07*a,n=e.createOscillator();n.type="sine",n.frequency.value=s;let r=e.createGain();r.gain.setValueAtTime(1e-4,t+i),r.gain.linearRampToValueAtTime(.022,t+i+.015),r.gain.exponentialRampToValueAtTime(1e-4,t+i+1.1),n.connect(r),r.connect(e.destination),n.start(t+i),n.stop(t+i+1.2)}),this.landed=!0,!0}pollCues(){if(!this.enabled||!this.isRunning())return;let e=performance.now()-this.introStartTime;e>400&&this.playDraw(),e>700&&this.playSweep(),e>1300&&this.playWhoosh(),e>2300&&this.playLanding()}constructor(){this.ctx=null,this.noise=null,this.enabled=!0,this.introStartTime=0,this.drawn=!1,this.swept=!1,this.whooshed=!1,this.landed=!1,this.handleFocus=()=>this.tryUnlock(),this.handleVisibility=()=>{"visible"===document.visibilityState&&this.tryUnlock()},this.enabled=V(),this.eagerInit()}}let I=new R,F=[.16,1,.3,1],D=["M130 66V118","M130 118H188","M130 234V182","M130 182H188","M870 66V118","M870 118H812","M870 234V182","M870 182H812","M120 76L140 96","M880 76L860 96","M330 98V202","M670 98V202","M352 136L378 150L352 164","M648 136L622 150L648 164","M0 150H318","M1000 150H682"];function _(e){let{onNavbarReveal:t,onLogoLanding:s,onFinish:n}=e,[r,l]=(0,i.useState)("enter"),[c,d]=(0,i.useState)(!0),[u,m]=(0,i.useState)({x:0,y:0,scale:1}),[x,f]=(0,i.useState)(()=>V()),[p]=(0,i.useState)(()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches),b=(0,i.useRef)(null);return(0,i.useEffect)(()=>{I.setEnabled(x)},[x]),(0,i.useEffect)(()=>{let e=[],a=(t,s)=>{e.push(setTimeout(s,t))},i=()=>{var e,t;let s=null==(e=b.current)?void 0:e.getBoundingClientRect(),a=null==(t=document.getElementById("nav-logo"))?void 0:t.getBoundingClientRect();s&&a&&m({x:a.left+a.width/2-(s.left+s.width/2),y:a.top+a.height/2-(s.top+s.height/2),scale:a.width/s.width}),l("move")};if(p)return a(350,i),a(430,t),a(690,s),a(700,()=>d(!1)),a(900,n),()=>e.forEach(clearTimeout);I.beginSession(),a(550,()=>I.playDraw()),a(850,()=>I.playSweep()),a(1500,()=>I.playWhoosh()),a(1500,i),a(1800,t),a(2450,s),a(2520,()=>I.playLanding()),a(2520,()=>d(!1)),a(3e3,n);let r=setInterval(()=>I.pollCues(),80),o=()=>I.unlock();window.addEventListener("pointerdown",o),window.addEventListener("touchstart",o),window.addEventListener("keydown",o);let c=document.documentElement,h=c.style.overflow,u=document.body.style.overflow;return c.style.overflow="hidden",document.body.style.overflow="hidden",()=>{e.forEach(clearTimeout),clearInterval(r),window.removeEventListener("pointerdown",o),window.removeEventListener("touchstart",o),window.removeEventListener("keydown",o),c.style.overflow=h,document.body.style.overflow=u}},[p,t,s,n]),(0,a.jsxs)(h.P.div,{initial:{opacity:1},animate:{opacity:+!!c},transition:{duration:p?.2:.46,ease:F},className:"fixed inset-0 z-[100] overflow-hidden",style:{background:"radial-gradient(130% 130% at 50% 42%, #1b1e26 0%, #13161c 46%, #0a0b0e 100%)"},children:[(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center, transparent 52%, rgba(0,0,0,0.5) 100%)"}}),(0,a.jsx)("div",{className:"dot-grid-light absolute inset-0 opacity-20","aria-hidden":"true"}),(0,a.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-[-10vmin] h-[52vmin] w-[74vmin] -translate-x-1/2 rounded-full bg-gold/[0.07] blur-3xl","aria-hidden":"true"}),(0,a.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center",children:[!p&&(0,a.jsx)(h.P.div,{initial:{opacity:.35,scale:1},animate:{opacity:[.35,.7,.35],scale:[1,1.14,1]},transition:{duration:2.6,repeat:1/0,ease:"easeInOut"},className:"pointer-events-none absolute z-0 h-[30vmin] w-[56vmin] rounded-[50%] bg-gold/10 blur-3xl","aria-hidden":"true"}),!p&&(0,a.jsx)("div",{className:"pointer-events-none absolute left-1/2 top-1/2 z-[1] aspect-[10/3] w-[min(92vw,700px)] -translate-x-1/2 -translate-y-1/2 overflow-hidden","aria-hidden":"true",children:(0,a.jsx)(h.P.div,{className:"origin-center",initial:{opacity:0,scale:.97},animate:{opacity:1,scale:1},transition:{duration:.3,delay:.4,ease:F},children:(0,a.jsx)(h.P.div,{className:"origin-center",initial:{opacity:1,scale:1}
1,animate:{opacity:0,scale:.55},transition:{delay:1.42,duration:.45,ease:F},children:(0,a.jsx)("svg",{viewBox:"0 0 1000 300",width:"100%",height:"100%",fill:"none",overflow:"visible",children:D.map((e,t)=>(0,a.jsx)(h.P.path,{d:e,stroke:"#c6a55a",strokeOpacity:.55,strokeWidth:2,strokeLinecap:"round",initial:{pathLength:0},animate:{pathLength:1},transition:{delay:(500+40*t)/1e3,duration:.28,ease:F}},t))})})})}),(0,a.jsx)(h.P.div,{ref:b,className:"relative z-[2]",initial:{opacity:0,scale:.92,y:10,...!p&&{filter:"blur(8px)"}},animate:{opacity:1,x:"move"===r?u.x:0,y:"move"===r?u.y:0,scale:"move"===r?u.scale:1,...!p&&{filter:"blur(0px)"}},transition:"move"===r?{duration:p?.4:1,ease:F}:{duration:p?.15:.6,delay:.2*!p,ease:F},children:!p&&(0,a.jsx)(h.P.div,{className:"origin-center",initial:{scale:1},animate:{scale:[1,1.035,1]},transition:{delay:1.32,duration:.22,ease:F},children:(0,a.jsxs)("div",{className:"relative w-[min(78vw,560px)]",children:[(0,a.jsx)(o.default,{src:"/logo2.png",alt:"",width:176,height:40,priority:!0,className:"h-auto w-full object-contain"}),(0,a.jsx)(h.P.div,{className:"pointer-events-none absolute inset-y-[-15%] left-0 w-1/3 -skew-x-12 bg-gradient-to-r from-transparent via-gold-soft/50 to-transparent mix-blend-screen",initial:{x:"-150%",opacity:0}
1,animate:{x:"380%",opacity:[0,.85,0]},transition:{delay:.85,duration:.5,times:[0,.45,1],ease:F}})]})})})]}),!p&&(0,a.jsx)("button",{onClick:()=>f(e=>{let t=!e;try{window.localStorage.setItem(P,t?"1":"0")}catch(e){}return t}),"aria-label":"Toggle intro sound","aria-pressed":x,className:"absolute right-4 top-5 z-[5] flex h-10 w-10 items-center justify-center rounded-full border border-white/15 bg-white/5 text-gold/80 transition-colors hover:bg-white/10 hover:text-gold",children:x?(0,a.jsx)(L.A,{size:16}):(0,a.jsx)(M.A,{size:16})})]})}var O=s(13692),H=s(8731),q=s(63120),W=s(34344),G=s(44626),U=s(43865),Y=s(95682);let J="brancho-cookie-consent";function Q(e){let{on:t,onChange:s,label:i}=e;return(0,a.jsx)("button",{role:"switch","aria-checked":t,"aria-label":i,disabled:!s,onClick:()=>null==s?void 0:s(!t),className:(0,k.cn)("relative h-6 w-11 shrink-0 rounded-full transition-colors",t?"bg-accent":"bg-line",!s&&"opacity-70"),children:(0,a.jsx)("span",{className:(0,k.cn)("absolute top-0.5 h-5 w-5 rounded-full bg-white shadow transition-all",t?"left-[1.375rem]":"left-0.5")})})}function $(e){let{className:t}=e;return(0,a.jsx)("button",{onClick:()=>window.dispatchEvent(new Event("brancho:open-cookie-settings")),className:t,children:"Cookie Settings"})}function X(){let e="/"===(0,l.usePathname)(),[t,s]=(0,i.useState)(!1),[n,o]=(0,i.useState)(!1),[c,u]=(0,i.useState)({analytics:!0,marketing:!1});(0,i.useEffect)(()=>{if(!e)return;try{let e=localStorage.getItem(J);if(e){var t,a;let s=JSON.parse(e);u({analytics:null==(t=s.analytics)||t,marketing:null!=(a=s.marketing)&&a})}}catch(e){}let i=setTimeout(()=>s(!0),1200);return()=>clearTimeout(i)},[e]),(0,i.useEffect)(()=>{let e=()=>{o(!1),s(!0)};return window.addEventListener("brancho:open-cookie-settings",e),()=>window.removeEventListener("brancho:open-cookie-settings",e)},[]);let m=(0,i.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c;try{localStorage.setItem(J,JSON.stringify({value:e,...t,at:new Date().toISOString()}))}catch(e){}document.cookie="brancho_consent=".concat(e,"; path=/; max-age=").concat(31536e3,"; SameSite=Lax"),s(!1)},[c]);return e?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(d.N,{children:t&&(0,a.jsx)(h.P.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},exit:{opacity:0,y:40},transition:{duration:.5,ease:[.16,1,.3,1]},role:"dialog","aria-live":"polite","aria-label":"Cookie consent","data-native-cursor":!0,className:"fixed inset-x-4 bottom-4 z-[90] sm:inset-x-auto sm:bottom-6 sm:right-6 sm:w-[26rem]",children:(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-3xl border border-line bg-surface p-6 shadow-2xl shadow-navy/20 dark:bg-navy dark:shadow-black/40",children:[(0,a.jsx)("button",{onClick:()=>m("rejected"),"aria-label":"Dismiss cookie notice",className:"absolute right-4 top-4 flex h-8 w-8 items-center justify-center rounded-full border border-line text-muted transition-colors hover:text-ink dark:hover:text-white",children:(0,a.jsx)(N.A,{size:14})}),(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-2xl bg-navy text-gold dark:bg-gold dark:text-navy",children:(0,a.jsx)(W.A,{size:19})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h2",{className:"font-heading text-base font-semibold text-ink dark:text-white",children:"Your privacy matters"}),(0,a.jsxs)("p",{className:"mt-1.5 text-sm leading-relaxed text-muted dark:text-white/65",children:["We use cookies to run the site securely, remember your preferences and — with your permission — understand how the site is used so we can improve it. Read our"," ",(0,a.jsx)(r(),{href:"/legal/cookie-policy",className:"font-semibold text-accent-deep underline-offset-2 hover:underline",children:"Cookie Policy"}),"."]})]})]}),(0,a.jsx)(d.N,{initial:!1,children:n&&(0,a.jsx)(h.P.div,{initial:{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.35,ease:[.16,1,.3,1]},className:"overflow-hidden",children:(0,a.jsxs)("ul",{className:"mt-5 space-y-3 rounded-2xl border border-line bg-surface-soft p-4 dark:bg-white/5",children:[(0,a.jsxs)("li",{className:"flex items-center justify-between gap-3",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2.5 text-sm",children:[(0,a.jsx)(G.A,{size:15,className:"shrink-0 text-accent"}),(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"block font-semibold text-ink dark:text-white",children:"Essential"}),(0,a.jsx)("span",{className:"block text-xs text-muted dark:text-white/60",children:"Security, consent memory. Always on."})]})]}),(0,a.jsx)(Q,{on:!0,label:"Essential cookies (always on)"})]}),(0,a.jsxs)("li",{className:"flex items-center justify-between gap-3",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2.5 text-sm",children:[(0,a.jsx)(U.A,{size:15,className:"shrink-0 text-accent"}),(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"block font-semibold text-ink dark:text-white",children:"Analytics"}),(0,a.jsx)("span",{className:"block text-xs text-muted dark:text-white/60",children:"Anonymous usage statistics."})]})]}),(0,a.jsx)(Q,{on:c.analytics,onChange:e=>u(t=>
1({...t,analytics:e})),label:"Analytics cookies"})]}),(0,a.jsxs)("li",{className:"flex items-center justify-between gap-3",children:[(0,a.jsxs)("span",{className:"flex items-center gap-2.5 text-sm",children:[(0,a.jsx)(Y.A,{size:15,className:"shrink-0 text-accent"}),(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"block font-semibold text-ink dark:text-white",children:"Marketing"}),(0,a.jsx)("span",{className:"block text-xs text-muted dark:text-white/60",children:"Relevant offers and reminders."})]})]}),(0,a.jsx)(Q,{on:c.marketing,onChange:e=>u(t=>({...t,marketing:e})),label:"Marketing cookies"})]})]})})}),n?(0,a.jsxs)("div",{className:"mt-5 flex flex-col gap-2.5 sm:flex-row",children:[(0,a.jsx)("button",{onClick:()=>m("custom"),className:"flex-1 rounded-full bg-navy px-6 py-3 text-sm font-semibold text-white transition-all hover:bg-navy-soft dark:bg-gold dark:text-navy dark:hover:brightness-110",children:"Save my choices"}),(0,a.jsx)("button",{onClick:()=>o(!1),className:"flex-1 rounded-full border border-line px-6 py-3 text-sm font-semibold text-ink transition-colors hover:border-ink dark:text-white dark:hover:border-white",children:"Back"})]}):(0,a.jsxs)("div",{className:"mt-5 flex flex-col gap-2.5 sm:flex-row",children:[(0,a.jsx)("button",{onClick:()=>m("accepted",{analytics:!0,marketing:!0}),className:"flex-1 rounded-full bg-navy px-6 py-3 text-sm font-semibold text-white transition-all hover:bg-navy-soft dark:bg-gold dark:text-navy dark:hover:brightness-110",children:"Accept all"}),(0,a.jsx)("button",{onClick:()=>m("rejected",{analytics:!1,marketing:!1}),className:"flex-1 rounded-full border border-line px-6 py-3 text-sm font-semibold text-ink transition-colors hover:border-ink dark:text-white dark:hover:border-white",children:"Reject"})]}),!n&&(0,a.jsx)("button",{onClick:()=>o(!0),className:"mt-3 w-full text-center text-xs font-semibold text-muted underline-offset-2 transition-colors hover:text-ink dark:text-white/60 dark:hover:text-white hover:underline",children:"Customize preferences"})]})})})}):null}var K=s(1495);let Z=()=>(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.08-.3-.15-1.26-.47-2.4-1.48-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.61.13-.13.3-.35.44-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.08-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.8.37-.27.3-1.04 1.02-1.04 2.5 0 1.47 1.07 2.89 1.22 3.09.15.2 2.11 3.22 5.1 4.51.71.31 1.27.49 1.7.63.72.23 1.37.2 1.88.12.57-.09 1.76-.72 2.01-1.42.25-.7.25-1.29.17-1.42-.07-.13-.27-.2-.57-.35zM12.05 21.79h-.02a9.8 9.8 0 0 1-5-1.37l-.36-.21-3.71.97.99-3.62-.23-.37a9.73 9.73 0 0 1-1.5-5.19c0-5.4 4.4-9.8 9.82-9.8a9.76 9.76 0 0 1 9.8 9.8c0 5.41-4.4 9.8-9.79 9.8zM20.42 3.6A11.7 11.7 0 0 0 12.04 0C5.51 0 .23 5.28.23 11.81c0 2.09.55 4.12 1.59 5.92L.06 24l6.4-1.68a11.8 11.8 0 0 0 5.57 1.42h.01c6.54 0 11.81-5.28 11.81-11.81 0-3.16-1.23-6.13-3.43-8.33z"})}),ee=[{title:"Company",links:[{label:"About Brancho",href:"/about"},{label:"Founder",href:"/founder"},{label:"Careers",href:"/careers"},{label:"Newsroom",href:"/newsroom"},{label:"Brand Guidelines",href:"/brand-guidelines"}]},{title:"Businesses",links:[...K.N$.map(e=>({label:e.name,href:"/businesses/".concat(e.slug)})),{label:"View All Businesses",href:"/businesses"}]},{title:"Explore",links:[{label:"Services",href:"/services"},{label:"How It Works",href:"/how-it-works"},{label:"Brancho Professionals",href:"/professionals"},{label:"Technology",href:"/technology"},{label:"Trust & Safety",href:"/trust"},{label:"Cities",href:"/cities"},{label:"FAQs",href:"/faqs"}]},{title:"Resources",links:[{label:"Mobile App",href:"/app"},{label:"Download Center",href:"/downloads"},{label:"Media Gallery",href:"/media/gallery"},{label:"Press Resources",href:"/media/press"},{label:"Sitemap",href:"/sitemap"}]},{title:"Legal",links:K.$i.map(e=>({label:e.label,href:e.href}))}],et=[{label:"LinkedIn",icon:()=>(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M4.98 3.5C4.98 4.88 3.87 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.24 8.25h4.52V24H.24V8.25zM8.34 8.25h4.33v2.15h.06c.6-1.14 2.08-2.34 4.28-2.34 4.58 0 5.42 3.01 5.42 6.92V24h-4.52v-8.02c0-1.91-.03-4.37-2.66-4.37-2.67 0-3.08 2.08-3.08 4.23V24H8.34V8.25z"})}),href:"https://www.linkedin.com/company/brancho-india/"},{label:"Instagram",icon:()=>(0,a.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8","aria-hidden":"true",children:[(0,a.jsx)("rect",{x:"2.5",y:"2.5",width:"19",height:"19",rx:"5.5"}),(0,a.jsx)("circle",{cx:"12",cy:"12",r:"4.2"}),(0,a.jsx)("circle",{cx:"17.6",cy:"6.4",r:"1.1",fill:"currentColor",stroke:"none"})]}),href:"https://www.instagram.com/brancho.group?stkn=anJxN25pOTA5NHo3&utm_source=qr"},{label:"WhatsApp",icon:Z,href:"https://wa.me/".concat(K.Dc.whatsapp.value.replace(/[^\d]/g,""))}];function es(){return(0,a.jsxs)("footer",{className:"border-t border-line bg-navy text-white",children:[(0,a.jsx)("div",{className:"container-wide pt-20",children:(0,a.jsx)(q.A,{dark:!0})}),(0,a.jsxs)("div",{className:"container-wide relative pt-20",children:[(0,a.jsxs)("div",{className:"grid gap-12 lg:grid-cols-[1.3fr_2.2fr]",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(r(),{href:"/","aria-label":"Brancho home",children:(0,a.jsx)(o.default,{src:"/logo2.png",alt:"Brancho logo",width:176,height:40,className:"h-8 w-auto object-contain sm:h-10"})}),(0,a.jsx)("p",{className:"mt-6 max-w-sm text-sm leading-relaxed text-white/60",children:"India's trusted home services platform — built on verification, transparency and respect for the professionals who do the work."}),(0,a.jsxs)("ul",{className:"mt-8 space-y-3 text-sm text-white/70",children:[(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[(0,a.jsx)(O.A,{size:16,className:"mt-0.5 shrink-0 text-gold"}),K.Dc.corporate.value]}),(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)("span",{className:"shrink-0 text-gold",children:(0,a.jsx)(Z,{})}),(0,a.jsx)("a",{href:"https://wa.me/".concat(K.Dc.whatsapp.value.replace(/[^\d]/g,"")),target:"_blank",rel:"noopener noreferrer",className:"transition-colors hover:text-white",children:K.Dc.whatsapp.value})]}),(0,a.jsxs)("li",{className:"flex items-center gap-3",children:[(0,a.jsx)(H.A,{size:16,className:"shrink-0 text-gold"}),(0,a.jsx)("a",{href:"mailto:".concat(K.Dc.support.email),className:"transition-colors hover:text-white",children:K.Dc.support.email})]})]}),(0,a.jsx)("div",{className:"mt-8 flex gap-3",children:et.map(e=>(0,a.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.label,className:"flex h-11 w-11 items-center justify-center rounded-full border border-white/15 text-white/70 transition-all hover:border-gold hover:bg-gold/10 hover:text-gold",children:(0,a.jsx)(e.icon,{})},e.label))})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-10 sm:grid-cols-3 lg:grid-cols-5",children:ee.map(e=>(0,a.jsxs)("nav",{"aria-label":e.title,children:[(0,a.jsx)("h3",{className:"mb-5 text-xs font-semibold uppercase tracking-[0.2em] text-gold",children:e.title}),(0,a.jsx)("ul",{className:"space-y-3",children:e.links.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r(),{href:e.href,className:"text-sm text-white/65 transition-colors hover:text-white",children:e.label})},e.label))})]},e.title))})]}),(0,a.jsxs)("div",{className:"mt-16 flex flex-col items-start justify-between gap-4 border-t border-white/10 py-8 sm:flex-row sm:items-center",children:[(0,a.jsxs)("p",{className:"text-xs text-white/50",children:["\xa9 ",new Date().getFullYear()," Brancho Technologies Pvt. Ltd. All rights reserved."]}),(0,a.jsxs)("div",{className:"flex items-center gap-5",children:[(0,a.jsx)($,{className:"text-xs text-white/50 transition-colors hover:text-white"}),(0,a.jsx)("p",{className:"text-xs text-white/50",children:"Made with care in Veraval, Gujarat, India."})]})]})]})]})}var ea=s(87952);function ei(){let{scrollYProgress:e}=(0,c.L)(),t=(0,ea.z)(e,{stiffness:120,damping:30,restDelta:.001});return(0,a.jsx)(h.P.div,{className:"fixed inset-x-0 top-0 z-[80] h-[3px] origin-left bg-gradient-to-r from-navy via-accent to-gold",style:{scaleX:t},"aria-hidden":"true"})}var en=s(53350);function er(){let[e,t]=(0,i.useState)(!1),[s,n]=(0,i.useState)(!1),[r,l]=(0,i.useState)(!1),[o,c]=(0,i.useState)(!1),d=(0,en.d)(-100),u=(0,en.d)(-100),m=(0,ea.z)(d,{stiffness:400,damping:40,mass:.4}),x=(0,ea.z)(u,{stiffness:400,damping:40,mass:.4});return((0,i.useEffect)(()=>
1{if(!window.matchMedia("(pointer: fine)").matches)return;t(!0),document.body.classList.add("custom-cursor-active");let e=e=>{d.set(e.clientX),u.set(e.clientY);let t=e.target;c(!!t.closest("[data-native-cursor]")),n(!!t.closest("a, button, [role='button'], input, textarea, [data-hover]"))},s=()=>l(!0),a=()=>l(!1);return window.addEventListener("mousemove",e,{passive:!0}),window.addEventListener("mousedown",s),window.addEventListener("mouseup",a),()=>{document.body.classList.remove("custom-cursor-active"),window.removeEventListener("mousemove",e),window.removeEventListener("mousedown",s),window.removeEventListener("mouseup",a)}},[d,u]),e)?(0,a.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none fixed inset-0 z-[90]",children:[(0,a.jsx)(h.P.div,{style:{x:m,y:x},className:"absolute left-0 top-0",animate:{opacity:+!o},transition:{duration:.2},children:(0,a.jsx)(h.P.div,{animate:{scale:r?.7:s?2.2:1,opacity:s?.35:1},transition:{type:"spring",stiffness:300,damping:22},className:"h-2 w-2 -translate-x-1/2 -translate-y-1/2 rounded-full bg-gold"})}),(0,a.jsx)(h.P.div,{style:{x:d,y:u},className:"absolute left-0 top-0",animate:{opacity:+!o},transition:{duration:.2},children:(0,a.jsx)(h.P.div,{animate:{scale:r?.9:1},transition:{type:"spring",stiffness:300,damping:22},className:"h-8 w-8 -translate-x-1/2 -translate-y-1/2 rounded-full border border-gold/40"})})]}):null}var el=s(92691),eo=s(41407);function ec(){let e=(0,eo.I)();return(0,i.useEffect)(()=>{let t;if(e)return;let s=new el.A({duration:1.1,easing:e=>Math.min(1,1.001-Math.pow(2,-10*e)),smoothWheel:!0});window.__lenis=s;let a=e=>{s.raf(e),t=requestAnimationFrame(a)};return t=requestAnimationFrame(a),()=>{cancelAnimationFrame(t),s.destroy()}},[e]),null}var ed=s(93836),eh=s(89775),eu=s(89840),em=s(60479);let ex=["I want to book a service","Check my booking status","Become a service partner","Talk to a human"];function ef(){let[e,t]=(0,i.useState)(!1),[s,n]=(0,i.useState)([{from:"bot",text:"Hi there! \uD83D\uDC4B How can we help you today?"}]),[r,l]=(0,i.useState)(""),[o,c]=(0,i.useState)(!1),u=e=>{e.trim()&&(n(t=>[...t,{from:"user",text:e}]),l(""),c(!0),setTimeout(()=>{n(e=>[...e,{from:"bot",text:"Thanks for reaching out to Brancho! Our team usually responds in under a minute between 9 AM – 8 PM IST. For instant help, you can also call 7572 836402."}]),c(!1)},900))};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{onClick:()=>t(e=>!e),"aria-label":e?"Close chat":"Open chat",className:"fixed bottom-6 right-6 z-[80] flex h-14 w-14 items-center justify-center rounded-full bg-navy text-white shadow-2xl shadow-navy/30 transition-all hover:scale-105 hover:bg-navy-soft",children:(0,a.jsx)(d.N,{mode:"wait",initial:!1,children:e?(0,a.jsx)(h.P.span,{initial:{opacity:0,rotate:-90},animate:{opacity:1,rotate:0},exit:{opacity:0},transition:{duration:.15},children:(0,a.jsx)(N.A,{size:22})},"x"):(0,a.jsxs)(h.P.span,{initial:{opacity:0,rotate:90},animate:{opacity:1,rotate:0},exit:{opacity:0},transition:{duration:.15},className:"relative",children:[(0,a.jsx)(ed.A,{size:24}),(0,a.jsx)("span",{className:"absolute -right-1 -top-1 h-3 w-3 rounded-full bg-gold",children:(0,a.jsx)("span",{className:"absolute inset-0 animate-ping rounded-full bg-gold opacity-60"})})]},"chat")})}),(0,a.jsx)(d.N,{children:e&&(0,a.jsxs)(h.P.div,{initial:{opacity:0,y:24,scale:.96},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:24,scale:.96},transition:{duration:.25,ease:[.16,1,.3,1]},className:"fixed bottom-24 right-6 z-[80] flex h-[30rem] w-[calc(100vw-3rem)] max-w-sm flex-col overflow-hidden rounded-3xl border border-line bg-surface shadow-2xl shadow-navy/20",children:[(0,a.jsxs)("div",{className:"relative bg-navy px-6 py-5 text-white",children:[(0,a.jsx)("div",{className:"dot-grid-light absolute inset-0 opacity-30"}),(0,a.jsxs)("div",{className:"relative flex items-center gap-3",children:[(0,a.jsx)("span",{className:"flex h-11 w-11 items-center justify-center rounded-2xl bg-gold/15 text-gold",children:(0,a.jsx)(eh.A,{size:22})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-heading text-sm font-semibold",children:"Brancho Care"}),(0,a.jsxs)("p",{className:"flex items-center gap-1.5 text-xs text-white/60",children:[(0,a.jsx)("span",{className:"h-2 w-2 rounded-full bg-green-400"}),"Online — replies instantly"]})]})]})]}),(0,a.jsxs)("div",{className:"flex-1 space-y-3 overflow-y-auto bg-surface-soft/60 p-5",children:[s.map((e,t)=>(0,a.jsx)("div",{className:"flex ".concat("user"===e.from?"justify-end":"justify-start"),children:(0,a.jsx)("p",{className:"max-w-[80%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed ".concat("user"===e.from?"rounded-br-sm bg-navy text-white":"rounded-bl-sm border border-line bg-surface text-ink"),children:e.text})},t)),o&&(0,a.jsx)("div",{className:"flex justify-start",children:(0,a.jsx)("span",{className:"flex items-center gap-1 rounded-2xl rounded-bl-sm border border-line bg-surface px-4 py-3",children:[0,1,2].map(e=>(0,a.jsx)("span",{className:"h-1.5 w-1.5 animate-bounce rounded-full bg-muted",style:{animationDelay:"".concat(.15*e,"s")}},e))})})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2 border-t border-line bg-surface px-4 pt-3",children:ex.map(e=>(0,a.jsx)("button",{onClick:()=>u(e),className:"rounded-full border border-line bg-surface-soft px-3.5 py-1.5 text-xs font-medium text-muted transition-colors hover:border-accent hover:text-accent-deep",children:e},e))}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),u(r)},className:"flex items-center gap-2 bg-surface p-4",children:[(0,a.jsx)("input",{value:r,onChange:e=>l(e.target.value),placeholder:"Type a message…",className:"flex-1 rounded-full border border-line bg-surface-soft px-4 py-2.5 text-sm text-ink outline-none placeholder:text-muted focus:border-accent"}),(0,a.jsx)("button",{type:"submit","aria-label":"Send message",className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-navy text-white transition-colors hover:bg-navy-soft",children:(0,a.jsx)(eu.A,{size:16})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-2 border-t border-line bg-surface-soft py-2.5 text-xs text-muted",children:[(0,a.jsx)(em.A,{size:13}),"Prefer to talk? Call"," ",(0,a.jsx)("a",{href:"tel:+917572836402",className:"font-semibold text-accent-deep",children:"7572 836402"})]})]})})]})}function ep(e){let{children:t}=e,[s,n]=(0,i.useState)(0),[r,l]=(0,i.useState)(!1),o=(0,i.useCallback)(()=>n(1),[]),c=(0,i.useCallback)(()=>n(2),[]),d=(0,i.useCallback)(()=>{n(2),l(!0)},[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(ec,{}),(0,a.jsx)(B,{navStage:s}),!r&&(0,a.jsx)(_,{onNavbarReveal:o,onLogoLanding:c,onFinish:d}),(0,a.jsx)("main",{children:t}),(0,a.jsx)(es,{}),(0,a.jsx)(ei,{}),(0,a.jsx)(er,{}),(0,a.jsx)(ef,{}),(0,a.jsx)(X,{})]})}},53435:(e,t,s)=>{"use strict";function a(){return"/app"}s.d(t,{ES:()=>a})},63120:(e,t,s)=>{"use strict";s.d(t,{A:()=>u});var a=s(95155),i=s(12115),n=s(22544),r=s(55653),l=s(66942),o=s(8731),c=s(44105),d=s(89840);let h=r.Ik({email:r.Yj().email("Please enter a valid email address.")});function u(e){let{dark:t=!1}=e,[s,r]=(0,i.useState)(!1),{register:u,handleSubmit:m,formState:{errors:x,isSubmitting:f},reset:p}=(0,n.mN)({resolver:(0,l.u)(h)}),b=async e=>{await new Promise(e=>setTimeout(e,600)),console.log("Newsletter signup:",e.email),r(!0),p()};return(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-3xl p-10 sm:p-12 ".concat(t?"bg-navy text-white":"border border-line bg-surface-soft"),children:[(0,a.jsx)("div",{className:"dot-grid absolute inset-0 opacity-30 ".concat(t?"dot-grid-light":"")}),(0,a.jsxs)("div",{className:"relative grid items-center gap-8 lg:grid-cols-[1.2fr_1fr]",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("span",{className:"mb-5 inline-flex items-center gap-2 rounded-full border px-4 py-1.5 text-xs font-semibold uppercase tracking-[0.18em] ".concat(t?"border-white/15 bg-white/5 text-gold":"border-line bg-surface text-accent-deep"),children:[(0,a.jsx)(o.A,{size:13}),"The Brancho Bulletin"]}),(0,a.jsx)("h2",{className:"text-balance text-3xl font-semibold leading-tight sm:text-4xl ".concat(t?"text-white":"text-ink"),children:"Care tips, offers and company news — once a month, never spam."}),(0,a.jsx)("p",{className:"mt-4 text-sm leading-relaxed ".concat(t?"text-white/60":"text-muted"),children:"Join 50,000+ families who get our monthly home-care newsletter. Unsubscribe anytime."})]}),(0,a.jsx)("div",{children:s?(0,a.jsxs)("div",{className:"flex items-start gap-4 roun
1ded-2xl border p-6 ".concat(t?"border-gold/30 bg-gold/10":"border-accent/30 bg-accent/10"),children:[(0,a.jsx)(c.A,{size:22,className:"mt-0.5 shrink-0 text-gold"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"font-semibold text-gold",children:"You're on the list!"}),(0,a.jsx)("p",{className:"mt-1 text-sm ".concat(t?"text-white/70":"text-muted"),children:"Welcome to the Brancho Bulletin. Watch your inbox for our next edition."})]})]}):(0,a.jsx)("form",{onSubmit:m(b),noValidate:!0,children:(0,a.jsxs)("div",{className:"flex flex-col gap-3 sm:flex-row",children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Email address"}),(0,a.jsx)("input",{id:"newsletter-email",type:"email",placeholder:"[email protected]",...u("email"),className:"w-full rounded-full border px-5 py-3.5 text-sm outline-none transition-colors ".concat(t?"border-white/15 bg-white/5 text-white placeholder:text-white/40 focus:border-gold":"border-line bg-surface text-ink placeholder:text-muted focus:border-accent")}),x.email&&(0,a.jsx)("p",{className:"mt-2 px-2 text-xs text-red-400",children:x.email.message})]}),(0,a.jsx)("button",{type:"submit",disabled:f,className:"inline-flex shrink-0 items-center justify-center gap-2 rounded-full px-7 py-3.5 text-sm font-semibold transition-all disabled:opacity-60 ".concat(t?"bg-gold text-navy hover:brightness-110":"bg-navy text-white hover:bg-navy-soft dark:bg-gold dark:text-navy"),children:f?"Signing up…":(0,a.jsxs)(a.Fragment,{children:["Subscribe",(0,a.jsx)(d.A,{size:15})]})})]})})})]})]})}},69010:(e,t,s)=>{Promise.resolve().then(s.bind(s,32672))}},e=>{e.O(0,[9869,6639,6628,2015,9239,4317,7763,8441,1255,7358],()=>e(e.s=69010)),_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.