@vikukumar/propvault 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (207) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +3 -3
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/app/(website)/[...slug]/page/server-reference-manifest.json +4 -4
  5. package/.next/server/app/(website)/[...slug]/page_client-reference-manifest.js +1 -1
  6. package/.next/server/app/(website)/blog/[slug]/page/server-reference-manifest.json +1 -1
  7. package/.next/server/app/(website)/blog/[slug]/page_client-reference-manifest.js +1 -1
  8. package/.next/server/app/(website)/contact/page/server-reference-manifest.json +1 -1
  9. package/.next/server/app/(website)/contact/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/(website)/page/server-reference-manifest.json +5 -5
  11. package/.next/server/app/(website)/page_client-reference-manifest.js +1 -1
  12. package/.next/server/app/(website)/projects/[slug]/page/server-reference-manifest.json +1 -1
  13. package/.next/server/app/(website)/projects/[slug]/page_client-reference-manifest.js +1 -1
  14. package/.next/server/app/_global-error.html +1 -1
  15. package/.next/server/app/_global-error.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  17. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  18. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  19. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  20. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  21. package/.next/server/app/_not-found.html +1 -1
  22. package/.next/server/app/_not-found.rsc +1 -1
  23. package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  24. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/_not-found.segments/_index.segment.rsc +1 -1
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  28. package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  29. package/.next/server/app/admin/cms/email-templates/page/server-reference-manifest.json +2 -2
  30. package/.next/server/app/admin/cms/email-templates/page_client-reference-manifest.js +1 -1
  31. package/.next/server/app/admin/cms/menus/page/server-reference-manifest.json +3 -3
  32. package/.next/server/app/admin/cms/menus/page_client-reference-manifest.js +1 -1
  33. package/.next/server/app/admin/cms/pages/[id]/edit/page/server-reference-manifest.json +6 -6
  34. package/.next/server/app/admin/cms/pages/[id]/edit/page_client-reference-manifest.js +1 -1
  35. package/.next/server/app/admin/cms/pages/new/page/server-reference-manifest.json +1 -1
  36. package/.next/server/app/admin/cms/pages/new/page_client-reference-manifest.js +1 -1
  37. package/.next/server/app/admin/cms/pages/page/server-reference-manifest.json +2 -2
  38. package/.next/server/app/admin/cms/pages/page_client-reference-manifest.js +1 -1
  39. package/.next/server/app/admin/cms/redirects/page/server-reference-manifest.json +3 -3
  40. package/.next/server/app/admin/cms/redirects/page_client-reference-manifest.js +1 -1
  41. package/.next/server/app/admin/leads/[id]/page/server-reference-manifest.json +2 -2
  42. package/.next/server/app/admin/leads/[id]/page_client-reference-manifest.js +1 -1
  43. package/.next/server/app/admin/page/server-reference-manifest.json +3 -3
  44. package/.next/server/app/admin/page_client-reference-manifest.js +1 -1
  45. package/.next/server/app/admin/plugins/page/server-reference-manifest.json +5 -5
  46. package/.next/server/app/admin/plugins/page_client-reference-manifest.js +1 -1
  47. package/.next/server/app/admin/profile/page/server-reference-manifest.json +2 -2
  48. package/.next/server/app/admin/profile/page_client-reference-manifest.js +1 -1
  49. package/.next/server/app/admin/projects/edit/[id]/page/server-reference-manifest.json +2 -2
  50. package/.next/server/app/admin/projects/edit/[id]/page_client-reference-manifest.js +1 -1
  51. package/.next/server/app/admin/projects/new/page/server-reference-manifest.json +2 -2
  52. package/.next/server/app/admin/projects/new/page_client-reference-manifest.js +1 -1
  53. package/.next/server/app/admin/settings/analytics/page/server-reference-manifest.json +1 -1
  54. package/.next/server/app/admin/settings/analytics/page.js.nft.json +1 -1
  55. package/.next/server/app/admin/settings/analytics/page_client-reference-manifest.js +1 -1
  56. package/.next/server/app/admin/settings/api-keys/page/server-reference-manifest.json +102 -102
  57. package/.next/server/app/admin/settings/api-keys/page_client-reference-manifest.js +1 -1
  58. package/.next/server/app/admin/settings/branding/page/server-reference-manifest.json +1 -1
  59. package/.next/server/app/admin/settings/branding/page.js.nft.json +1 -1
  60. package/.next/server/app/admin/settings/branding/page_client-reference-manifest.js +1 -1
  61. package/.next/server/app/admin/settings/general/page/server-reference-manifest.json +1 -1
  62. package/.next/server/app/admin/settings/general/page.js.nft.json +1 -1
  63. package/.next/server/app/admin/settings/general/page_client-reference-manifest.js +1 -1
  64. package/.next/server/app/admin/settings/security/page/server-reference-manifest.json +1 -1
  65. package/.next/server/app/admin/settings/security/page.js.nft.json +1 -1
  66. package/.next/server/app/admin/settings/security/page_client-reference-manifest.js +1 -1
  67. package/.next/server/app/admin/settings/seo/page/server-reference-manifest.json +1 -1
  68. package/.next/server/app/admin/settings/seo/page.js.nft.json +1 -1
  69. package/.next/server/app/admin/settings/seo/page_client-reference-manifest.js +1 -1
  70. package/.next/server/app/admin/settings/smtp/page/server-reference-manifest.json +1 -1
  71. package/.next/server/app/admin/settings/smtp/page.js.nft.json +1 -1
  72. package/.next/server/app/admin/settings/smtp/page_client-reference-manifest.js +1 -1
  73. package/.next/server/app/admin/settings/storage/page/server-reference-manifest.json +1 -1
  74. package/.next/server/app/admin/settings/storage/page.js.nft.json +1 -1
  75. package/.next/server/app/admin/settings/storage/page_client-reference-manifest.js +1 -1
  76. package/.next/server/app/admin/theme/page/server-reference-manifest.json +5 -5
  77. package/.next/server/app/admin/theme/page_client-reference-manifest.js +1 -1
  78. package/.next/server/app/api/upload/route.js.nft.json +1 -1
  79. package/.next/server/app/contact.html +2 -2
  80. package/.next/server/app/contact.rsc +2 -2
  81. package/.next/server/app/contact.segments/!KHdlYnNpdGUp/contact/__PAGE__.segment.rsc +2 -2
  82. package/.next/server/app/contact.segments/!KHdlYnNpdGUp/contact.segment.rsc +1 -1
  83. package/.next/server/app/contact.segments/!KHdlYnNpdGUp.segment.rsc +1 -1
  84. package/.next/server/app/contact.segments/_full.segment.rsc +2 -2
  85. package/.next/server/app/contact.segments/_head.segment.rsc +1 -1
  86. package/.next/server/app/contact.segments/_index.segment.rsc +1 -1
  87. package/.next/server/app/contact.segments/_tree.segment.rsc +1 -1
  88. package/.next/server/app/index.html +2 -2
  89. package/.next/server/app/index.rsc +11 -11
  90. package/.next/server/app/index.segments/!KHdlYnNpdGUp/__PAGE__.segment.rsc +11 -11
  91. package/.next/server/app/index.segments/!KHdlYnNpdGUp.segment.rsc +1 -1
  92. package/.next/server/app/index.segments/_full.segment.rsc +11 -11
  93. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  94. package/.next/server/app/index.segments/_index.segment.rsc +1 -1
  95. package/.next/server/app/index.segments/_tree.segment.rsc +1 -1
  96. package/.next/server/app/login.html +1 -1
  97. package/.next/server/app/login.rsc +1 -1
  98. package/.next/server/app/login.segments/_full.segment.rsc +1 -1
  99. package/.next/server/app/login.segments/_head.segment.rsc +1 -1
  100. package/.next/server/app/login.segments/_index.segment.rsc +1 -1
  101. package/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  102. package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  103. package/.next/server/app/login.segments/login.segment.rsc +1 -1
  104. package/.next/server/app/setup/page/server-reference-manifest.json +15 -15
  105. package/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  106. package/.next/server/app/setup.html +2 -2
  107. package/.next/server/app/setup.rsc +2 -2
  108. package/.next/server/app/setup.segments/_full.segment.rsc +2 -2
  109. package/.next/server/app/setup.segments/_head.segment.rsc +1 -1
  110. package/.next/server/app/setup.segments/_index.segment.rsc +1 -1
  111. package/.next/server/app/setup.segments/_tree.segment.rsc +1 -1
  112. package/.next/server/app/setup.segments/setup/__PAGE__.segment.rsc +2 -2
  113. package/.next/server/app/setup.segments/setup.segment.rsc +1 -1
  114. package/.next/server/app/sitemap.xml.body +9 -9
  115. package/.next/server/chunks/[root-of-the-server]__0ikpexd._.js +1 -1
  116. package/.next/server/chunks/ssr/[root-of-the-server]__03m3xqu._.js +1 -1
  117. package/.next/server/chunks/ssr/[root-of-the-server]__05px_h7._.js +1 -1
  118. package/.next/server/chunks/ssr/[root-of-the-server]__08s00s8._.js +1 -1
  119. package/.next/server/chunks/ssr/[root-of-the-server]__0_x-0vh._.js +1 -1
  120. package/.next/server/chunks/ssr/[root-of-the-server]__0ae1ufj._.js +1 -1
  121. package/.next/server/chunks/ssr/[root-of-the-server]__0b0jtbx._.js +1 -1
  122. package/.next/server/chunks/ssr/[root-of-the-server]__0d95wm4._.js +1 -1
  123. package/.next/server/chunks/ssr/[root-of-the-server]__0d_wuy_._.js +1 -1
  124. package/.next/server/chunks/ssr/[root-of-the-server]__0frxadd._.js +1 -1
  125. package/.next/server/chunks/ssr/[root-of-the-server]__0owpb-h._.js +1 -1
  126. package/.next/server/chunks/ssr/[root-of-the-server]__1--m0t_._.js +1 -1
  127. package/.next/server/chunks/ssr/[root-of-the-server]__11c23n7._.js +1 -1
  128. package/.next/server/chunks/ssr/[root-of-the-server]__12yzdf7._.js +1 -1
  129. package/.next/server/chunks/ssr/[root-of-the-server]__1_5z9ae._.js +1 -1
  130. package/.next/server/chunks/ssr/[root-of-the-server]__1ijsxgu._.js +1 -1
  131. package/.next/server/chunks/ssr/[root-of-the-server]__1mh1dn4._.js +1 -1
  132. package/.next/server/chunks/ssr/[root-of-the-server]__1nrl0j-._.js +1 -1
  133. package/.next/server/chunks/ssr/[root-of-the-server]__1qronyg._.js +1 -1
  134. package/.next/server/chunks/ssr/[root-of-the-server]__1rjv73_._.js +1 -1
  135. package/.next/server/chunks/ssr/[root-of-the-server]__1ybv0-1._.js +1 -1
  136. package/.next/server/chunks/ssr/[root-of-the-server]__203pgu_._.js +1 -1
  137. package/.next/server/chunks/ssr/_01ovwyq._.js +1 -1
  138. package/.next/server/chunks/ssr/_05jzsu5._.js +1 -1
  139. package/.next/server/chunks/ssr/_06ljqk-._.js +1 -1
  140. package/.next/server/chunks/ssr/_06rh1hs._.js +1 -1
  141. package/.next/server/chunks/ssr/_08mru_6._.js +1 -1
  142. package/.next/server/chunks/ssr/_09o1npz._.js +1 -1
  143. package/.next/server/chunks/ssr/{_1zm01h0._.js → _0d9dhlq._.js} +2 -2
  144. package/.next/server/chunks/ssr/_0h33iks._.js +1 -1
  145. package/.next/server/chunks/ssr/_0ju3jec._.js +1 -1
  146. package/.next/server/chunks/ssr/_0kdtd1g._.js +1 -1
  147. package/.next/server/chunks/ssr/_0m0s15u._.js +1 -1
  148. package/.next/server/chunks/ssr/_0qdyrxm._.js +1 -1
  149. package/.next/server/chunks/ssr/_0untlx2._.js +1 -1
  150. package/.next/server/chunks/ssr/{_1hb_oxg._.js → _0v1z0z-._.js} +2 -2
  151. package/.next/server/chunks/ssr/_0vu77cg._.js +1 -1
  152. package/.next/server/chunks/ssr/_0xki9b-._.js +1 -1
  153. package/.next/server/chunks/ssr/_1-wcqf6._.js +1 -1
  154. package/.next/server/chunks/ssr/_10imd--._.js +1 -1
  155. package/.next/server/chunks/ssr/_122ck8v._.js +1 -1
  156. package/.next/server/chunks/ssr/_17z_x3y._.js +1 -1
  157. package/.next/server/chunks/ssr/_18r74av._.js +1 -1
  158. package/.next/server/chunks/ssr/_1agt3s0._.js +1 -1
  159. package/.next/server/chunks/ssr/_1ijzz5f._.js +1 -1
  160. package/.next/server/chunks/ssr/_1l22w_w._.js +1 -1
  161. package/.next/server/chunks/ssr/_1lhtejs._.js +1 -1
  162. package/.next/server/chunks/ssr/_1pulrwl._.js +1 -1
  163. package/.next/server/chunks/ssr/_1pvmkr2._.js +1 -1
  164. package/.next/server/chunks/ssr/_1sseqap._.js +1 -1
  165. package/.next/server/chunks/ssr/_212t7ar._.js +1 -1
  166. package/.next/server/chunks/ssr/src_actions_cms_ts_0_rm7-x._.js +1 -1
  167. package/.next/server/chunks/ssr/src_app_admin_cms_pages_[id]_edit_page-editor-client_tsx_0hbosvr._.js +1 -1
  168. package/.next/server/chunks/ssr/src_components_admin_branding_icon-generator_tsx_0-p-crb._.js +1 -1
  169. package/.next/server/chunks/ssr/src_components_admin_projects_project-form_tsx_0ynt29x._.js +1 -1
  170. package/.next/server/chunks/ssr/src_components_admin_theme_theme-editor_tsx_0ec47ja._.js +1 -1
  171. package/.next/server/chunks/ssr/src_components_setup_setup-wizard_tsx_17wfyof._.js +1 -1
  172. package/.next/server/middleware-build-manifest.js +3 -3
  173. package/.next/server/pages/404.html +1 -1
  174. package/.next/server/pages/500.html +1 -1
  175. package/.next/server/server-reference-manifest.js +1 -1
  176. package/.next/server/server-reference-manifest.json +120 -120
  177. package/.next/static/chunks/{2d9me2ckcnr7h.js → 04j81u4sdpfu2.js} +1 -1
  178. package/.next/static/chunks/{0zqog_yngqq7z.js → 0ah0kpd7ekuw1.js} +1 -1
  179. package/.next/static/chunks/{1q0w9ewl3z_h6.js → 0auy0r9a1q2tn.js} +1 -1
  180. package/.next/static/chunks/{1tbfriywhx1pb.js → 0ggovh07wwyy8.js} +1 -1
  181. package/.next/static/chunks/{38rdy0o7-0ox6.js → 0lis8frknimvp.js} +1 -1
  182. package/.next/static/chunks/{263r2j2npbofi.js → 0nsus-669a8ey.js} +1 -1
  183. package/.next/static/chunks/{3me6cr4hl9rom.js → 0rf2sac4cv9to.js} +1 -1
  184. package/.next/static/chunks/{36-tbikyofe31.js → 0xpdqt-hymrf7.js} +1 -1
  185. package/.next/static/chunks/{1ck9hpq1413sl.js → 1bowvtenaqsj6.js} +1 -1
  186. package/.next/static/chunks/{3f49air8y0adp.js → 1cjpbb6-vptf4.js} +4 -4
  187. package/.next/static/chunks/{20lykhw4m0xj7.js → 1hk1y1sg8lhbw.js} +1 -1
  188. package/.next/static/chunks/{32ewdom11wcw5.js → 1nrpg3ex2_sv_.js} +1 -1
  189. package/.next/static/chunks/{2kw34i4gw2ajr.js → 1sf7ew5fumaxp.js} +3 -3
  190. package/.next/static/chunks/{2xln3s9fcx9bl.js → 1u3legaue49ub.js} +1 -1
  191. package/.next/static/chunks/{2fyzgog8nf5lt.js → 1wy2lokd1l1lp.js} +1 -1
  192. package/.next/static/chunks/{0y4lkzby6pn69.js → 2-v2c7pmrytbo.js} +1 -1
  193. package/.next/static/chunks/{11pcx9jz6m8mh.js → 24pptltdm6on5.js} +1 -1
  194. package/.next/static/chunks/{0pwgm534jn6iw.js → 262zw0y5-stbe.js} +1 -1
  195. package/.next/static/chunks/{1pwy0ti-uue8r.js → 2hdi4miihh5xo.js} +1 -1
  196. package/.next/static/chunks/{1902bgggagxq9.js → 2mkfi4f-v_--2.js} +2 -2
  197. package/.next/static/chunks/{1hame1c35m1cl.js → 2uc63cmx05kds.js} +1 -1
  198. package/.next/static/chunks/{30qbmzgby_p2-.js → 2y63g12thk4t0.js} +1 -1
  199. package/.next/static/chunks/{3ibw_8tcpt3lm.js → 2zqss-359c2pk.js} +1 -1
  200. package/.next/static/chunks/{3ussphcvkyzyx.js → 3i5hcquiom8c0.js} +1 -1
  201. package/.next/static/chunks/{3kghfbcpnl0zl.js → 3xtvxy_mnp_8w.js} +1 -1
  202. package/.next/static/chunks/{3en21d5viwrkl.js → 41e2p0bvp89ut.js} +1 -1
  203. package/README.md +6 -6
  204. package/package.json +5 -5
  205. /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_buildManifest.js +0 -0
  206. /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_clientMiddlewareManifest.js +0 -0
  207. /package/.next/static/{81gZJnh1KWfMhrvOF9la3 → Q2_R7URofsFGUQNefVZtd}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,548161,402661,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,t],402661),e.s(["CheckCircle",0,t],548161)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var r in a)Object.defineProperty(i,r,{enumerable:!0,get:a[r]});let s=e.r(132120),n=e.r(92245),o=e.r(235326)},793479,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(975157);let r=i.forwardRef(({className:e,type:i,...r},s)=>(0,t.jsx)("input",{type:i,className:(0,a.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:s,...r}));r.displayName="Input",e.s(["Input",0,r])},248425,e=>{"use strict";var t=e.i(271645),i=e.i(174080),a=e.i(991918),r=e.i(843476),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let s=(0,a.createSlot)(`Primitive.${i}`),n=t.forwardRef((e,t)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(a?s:i,{...n,ref:t})});return n.displayName=`Primitive.${i}`,{...e,[i]:n}},{});e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}])},110204,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(248425),r=i.forwardRef((e,i)=>(0,t.jsx)(a.Primitive.label,{...e,ref:i,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));r.displayName="Label";var s=e.i(975157);let n=i.forwardRef(({className:e,...i},a)=>(0,t.jsx)(r,{ref:a,className:(0,s.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...i}));n.displayName=r.displayName,e.s(["Label",0,n],110204)},624687,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(975157);let r=i.forwardRef(({className:e,...i},r)=>(0,t.jsx)("textarea",{className:(0,a.cn)("flex min-h-[80px] w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 resize-none transition-colors",e),ref:r,...i}));r.displayName="Textarea",e.s(["Textarea",0,r])},85291,e=>{"use strict";var t=e.i(681307);t.z.string().uuid();let i=t.z.string().min(1).max(255).regex(/^[a-z0-9-]+$/,"Slug can only contain lowercase letters, numbers, and hyphens");t.z.object({page:t.z.coerce.number().int().positive().default(1),per_page:t.z.coerce.number().int().positive().max(100).default(12),sort_by:t.z.string().optional(),sort_dir:t.z.enum(["asc","desc"]).default("desc"),q:t.z.string().optional()}),t.z.object({email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters"),remember_me:t.z.boolean().optional().default(!1)}),t.z.object({name:t.z.string().min(2,"Name must be at least 2 characters").max(100),email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters").max(100).regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[0-9]/,"Password must contain at least one number"),confirm_password:t.z.string(),phone:t.z.string().regex(/^\+?[1-9]\d{9,14}$/,"Invalid phone number").optional()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]}),t.z.object({email:t.z.string().email("Invalid email address")}),t.z.object({token:t.z.string().min(1),password:t.z.string().min(8,"Password must be at least 8 characters").max(100),confirm_password:t.z.string()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]});let a=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address").optional().or(t.z.literal("")),phone:t.z.string().min(10,"Valid phone number is required").regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number"),message:t.z.string().max(1e3).optional(),project_id:t.z.string().optional(),source:t.z.string().optional().default("website"),budget_min:t.z.coerce.number().optional(),budget_max:t.z.coerce.number().optional(),property_type:t.z.string().optional(),utm_source:t.z.string().optional(),utm_medium:t.z.string().optional(),utm_campaign:t.z.string().optional()}),r=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address"),phone:t.z.string().regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number").optional().or(t.z.literal("")),subject:t.z.string().min(3,"Subject is required").max(200),message:t.z.string().min(10,"Message must be at least 10 characters").max(2e3)});t.z.object({email:t.z.string().email("Invalid email address"),name:t.z.string().max(100).optional()});let s=t.z.object({name:t.z.string().min(2).max(255),slug:i.optional(),tagline:t.z.string().max(500).optional(),description:t.z.string().min(20,"Description must be at least 20 characters"),short_description:t.z.string().max(500).optional(),status:t.z.enum(["upcoming","ongoing","completed","on_hold"]),category:t.z.enum(["luxury","residential","commercial","rental","villa","plot"]),possession_status:t.z.enum(["ready_to_move","under_construction","nearing_possession"]),is_featured:t.z.boolean().default(!1),is_luxury:t.z.boolean().default(!1),is_new_launch:t.z.boolean().default(!1),is_rera_registered:t.z.boolean().default(!1),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),price_min:t.z.coerce.number().positive("Price must be positive"),price_max:t.z.coerce.number().positive("Price must be positive"),price_per_sqft:t.z.coerce.number().optional(),currency:t.z.string().default("INR"),address:t.z.string().min(5,"Address is required"),landmark:t.z.string().optional(),location_id:t.z.string().optional(),city_id:t.z.string().min(1,"City is required"),state_id:t.z.string().min(1,"State is required"),country_id:t.z.string().optional().default("IN"),pincode:t.z.string().optional(),latitude:t.z.coerce.number().optional(),longitude:t.z.coerce.number().optional(),google_maps_url:t.z.string().url().optional().or(t.z.literal("")),total_units:t.z.coerce.number().int().optional(),total_floors:t.z.coerce.number().int().optional(),total_towers:t.z.coerce.number().int().optional(),total_area_acres:t.z.coerce.number().optional(),open_space_percent:t.z.coerce.number().min(0).max(100).optional(),possession_date:t.z.string().optional(),launch_date:t.z.string().optional(),builder_id:t.z.string().min(1,"Builder is required"),property_type_id:t.z.string().optional(),cover_image:t.z.string().optional(),brochure_url:t.z.string().optional(),video_url:t.z.string().optional(),virtual_tour_url:t.z.string().url().optional().or(t.z.literal("")),rera_number:t.z.string().optional(),rera_expiry_date:t.z.string().optional(),inquiry_email:t.z.string().email().optional().or(t.z.literal("")),inquiry_phone:t.z.string().optional(),whatsapp_number:t.z.string().optional(),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional(),og_image:t.z.string().optional()});t.z.object({title:t.z.string().min(5).max(255),slug:i.optional(),subtitle:t.z.string().max(500).optional(),content:t.z.string().min(100,"Content must be at least 100 characters"),excerpt:t.z.string().max(500).optional(),cover_image:t.z.string().optional(),category:t.z.string().min(1,"Category is required"),tags:t.z.string().optional(),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),published_at:t.z.string().optional(),is_featured:t.z.boolean().default(!1),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({status:t.z.enum(["new","contacted","qualified","site_visit","negotiating","closed_won","closed_lost","junk"]).optional(),assigned_to:t.z.string().optional(),next_follow_up:t.z.string().optional(),is_qualified:t.z.boolean().optional(),is_site_visit_done:t.z.boolean().optional()}),t.z.object({content:t.z.string().min(1,"Note content is required").max(5e3),type:t.z.enum(["note","call","email","whatsapp","site_visit","meeting"]).default("note"),is_private:t.z.boolean().default(!1)}),t.z.record(t.z.string(),t.z.string()),t.z.object({name:t.z.string().min(2).max(100),email:t.z.string().email(),phone:t.z.string().optional(),is_active:t.z.boolean().default(!0),role_ids:t.z.array(t.z.string()).optional()}),t.z.object({name:t.z.string().min(2).max(255),slug:i.optional(),logo:t.z.string().optional(),description:t.z.string().optional(),short_description:t.z.string().max(500).optional(),founded_year:t.z.coerce.number().int().min(1900).max(2030).optional(),website:t.z.string().url().optional().or(t.z.literal("")),email:t.z.string().email().optional().or(t.z.literal("")),phone:t.z.string().optional(),address:t.z.string().optional(),city_id:t.z.string().optional(),state_id:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_verified:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({author_name:t.z.string().min(2).max(100),author_designation:t.z.string().optional(),author_company:t.z.string().optional(),author_avatar:t.z.string().optional(),content:t.z.string().min(10).max(2e3),rating:t.z.coerce.number().int().min(1).max(5),project_id:t.z.string().optional(),city:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),video_url:t.z.string().optional()}),t.z.object({question:t.z.string().min(5).max(500),answer:t.z.string().min(10).max(5e3),category:t.z.string().default("general"),sort_order:t.z.coerce.number().int().default(0),is_active:t.z.boolean().default(!0),project_id:t.z.string().optional()}),e.s(["contactSchema",0,r,"enquirySchema",0,a,"projectSchema",0,s])},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},901279,71395,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["default",0,t],71395),e.s(["User",0,t],901279)},468590,991313,e=>{"use strict";let t=(0,e.i(456420).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["default",0,t],991313),e.s(["MessageSquare",0,t],468590)},520144,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(653145),r=e.i(994814),s=e.i(846932),n=e.i(88653),o=e.i(575387),l=e.i(96315),c=e.i(901279),d=e.i(468590),m=e.i(730274),u=e.i(548161),p=e.i(632781),g=e.i(846696),z=e.i(519455),x=e.i(793479),b=e.i(110204),f=e.i(624687),h=e.i(85291),_=e.i(95187);let v=(0,_.createServerReference)("40c524beb90b67732157c541526047913b2014ec98",_.callServer,void 0,_.findSourceMapURL,"submitEnquiry");var y=e.i(975157);e.s(["EnquiryForm",0,function({projectId:e,projectName:_,source:j="website",className:w,compact:N=!1,title:q="Get Expert Advice",subtitle:S="Our property consultants are ready to help you find your dream home."}){let[P,k]=(0,i.useState)(!1),[I,M]=(0,i.useState)(!1),{register:R,handleSubmit:C,formState:{errors:L},reset:F}=(0,a.useForm)({resolver:(0,r.zodResolver)(h.enquirySchema),defaultValues:{source:j,project_id:e}}),A=async e=>{M(!0);try{let t=await v(e);t.success?(k(!0),F()):g.toast.error(t.error??"Something went wrong. Please try again.")}catch{g.toast.error("Something went wrong. Please try again.")}finally{M(!1)}};return(0,t.jsx)("div",{className:(0,y.cn)("luxury-card p-6 lg:p-8",w),children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:P?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-green-500/15 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(u.CheckCircle,{className:"w-8 h-8 text-green-400"})}),(0,t.jsx)("h3",{className:"font-display text-xl font-bold text-foreground mb-2",children:"Thank You!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-6",children:"Our property consultant will reach you within 24 hours."}),(0,t.jsx)(z.Button,{variant:"gold-outline",size:"sm",onClick:()=>k(!1),children:"Submit Another Enquiry"})]},"success"):(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},children:[!N&&(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"font-display text-xl lg:text-2xl font-bold text-foreground mb-2",children:q}),_&&(0,t.jsxs)("p",{className:"text-[hsl(36,82%,47%)] text-sm font-medium mb-1",children:["For: ",_]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:S})]}),(0,t.jsxs)("form",{onSubmit:C(A),className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(b.Label,{htmlFor:"enq-name",children:["Full Name ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(c.User,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-name",...R("name"),placeholder:"John Doe",className:(0,y.cn)("pl-9",L.name&&"border-destructive")})]}),L.name&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:L.name.message})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(b.Label,{htmlFor:"enq-phone",children:["Phone Number ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Phone,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-phone",...R("phone"),placeholder:"+91 98765 43210",type:"tel",className:(0,y.cn)("pl-9",L.phone&&"border-destructive")})]}),L.phone&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:L.phone.message})]}),!N&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(b.Label,{htmlFor:"enq-email",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-email",...R("email"),placeholder:"john@example.com",type:"email",className:"pl-9"})]})]}),!N&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(b.Label,{htmlFor:"enq-message",children:"Message"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(d.MessageSquare,{className:"absolute left-3 top-3 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(f.Textarea,{id:"enq-message",...R("message"),placeholder:"I am interested in 2BHK, budget ₹1–1.5 Cr...",className:"pl-9 min-h-[100px] resize-none"})]})]}),(0,t.jsx)("input",{type:"hidden",...R("project_id"),value:e}),(0,t.jsx)("input",{type:"hidden",...R("source"),value:j}),(0,t.jsx)(z.Button,{type:"submit",variant:"gold",className:"w-full",size:"lg",disabled:I,children:I?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Loader2,{className:"w-4 h-4 animate-spin"}),"Submitting..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Send,{className:"w-4 h-4"}),"Get Free Consultation"]})}),(0,t.jsxs)("p",{className:"text-center text-xs text-muted-foreground",children:["By submitting, you agree to our"," ",(0,t.jsx)("a",{href:"/privacy",className:"underline hover:text-foreground",children:"Privacy Policy"}),". We never share your data."]})]})]},"form")})})}],520144)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,548161,402661,e=>{"use strict";let t=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,t],402661),e.s(["CheckCircle",0,t],548161)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var a={callServer:function(){return s.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var r in a)Object.defineProperty(i,r,{enumerable:!0,get:a[r]});let s=e.r(132120),n=e.r(92245),o=e.r(235326)},793479,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(975157);let r=i.forwardRef(({className:e,type:i,...r},s)=>(0,t.jsx)("input",{type:i,className:(0,a.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:s,...r}));r.displayName="Input",e.s(["Input",0,r])},248425,e=>{"use strict";var t=e.i(271645),i=e.i(174080),a=e.i(991918),r=e.i(843476),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,i)=>{let s=(0,a.createSlot)(`Primitive.${i}`),n=t.forwardRef((e,t)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(a?s:i,{...n,ref:t})});return n.displayName=`Primitive.${i}`,{...e,[i]:n}},{});e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,function(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}])},110204,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(248425),r=i.forwardRef((e,i)=>(0,t.jsx)(a.Primitive.label,{...e,ref:i,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));r.displayName="Label";var s=e.i(975157);let n=i.forwardRef(({className:e,...i},a)=>(0,t.jsx)(r,{ref:a,className:(0,s.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...i}));n.displayName=r.displayName,e.s(["Label",0,n],110204)},624687,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(975157);let r=i.forwardRef(({className:e,...i},r)=>(0,t.jsx)("textarea",{className:(0,a.cn)("flex min-h-[80px] w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 resize-none transition-colors",e),ref:r,...i}));r.displayName="Textarea",e.s(["Textarea",0,r])},85291,e=>{"use strict";var t=e.i(681307);t.z.string().uuid();let i=t.z.string().min(1).max(255).regex(/^[a-z0-9-]+$/,"Slug can only contain lowercase letters, numbers, and hyphens");t.z.object({page:t.z.coerce.number().int().positive().default(1),per_page:t.z.coerce.number().int().positive().max(100).default(12),sort_by:t.z.string().optional(),sort_dir:t.z.enum(["asc","desc"]).default("desc"),q:t.z.string().optional()}),t.z.object({email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters"),remember_me:t.z.boolean().optional().default(!1)}),t.z.object({name:t.z.string().min(2,"Name must be at least 2 characters").max(100),email:t.z.string().email("Invalid email address"),password:t.z.string().min(8,"Password must be at least 8 characters").max(100).regex(/[A-Z]/,"Password must contain at least one uppercase letter").regex(/[0-9]/,"Password must contain at least one number"),confirm_password:t.z.string(),phone:t.z.string().regex(/^\+?[1-9]\d{9,14}$/,"Invalid phone number").optional()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]}),t.z.object({email:t.z.string().email("Invalid email address")}),t.z.object({token:t.z.string().min(1),password:t.z.string().min(8,"Password must be at least 8 characters").max(100),confirm_password:t.z.string()}).refine(e=>e.password===e.confirm_password,{message:"Passwords do not match",path:["confirm_password"]});let a=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address").optional().or(t.z.literal("")),phone:t.z.string().min(10,"Valid phone number is required").regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number"),message:t.z.string().max(1e3).optional(),project_id:t.z.string().optional(),source:t.z.string().optional().default("website"),budget_min:t.z.coerce.number().optional(),budget_max:t.z.coerce.number().optional(),property_type:t.z.string().optional(),utm_source:t.z.string().optional(),utm_medium:t.z.string().optional(),utm_campaign:t.z.string().optional()}),r=t.z.object({name:t.z.string().min(2,"Name is required").max(100),email:t.z.string().email("Invalid email address"),phone:t.z.string().regex(/^\+?[0-9\s-]{10,15}$/,"Invalid phone number").optional().or(t.z.literal("")),subject:t.z.string().min(3,"Subject is required").max(200),message:t.z.string().min(10,"Message must be at least 10 characters").max(2e3)});t.z.object({email:t.z.string().email("Invalid email address"),name:t.z.string().max(100).optional()});let s=t.z.object({name:t.z.string().min(2).max(255),slug:i.optional(),tagline:t.z.string().max(500).optional(),description:t.z.string().min(20,"Description must be at least 20 characters"),short_description:t.z.string().max(500).optional(),status:t.z.enum(["upcoming","ongoing","completed","on_hold"]),category:t.z.enum(["luxury","residential","commercial","rental","villa","plot"]),possession_status:t.z.enum(["ready_to_move","under_construction","nearing_possession"]),is_featured:t.z.boolean().default(!1),is_luxury:t.z.boolean().default(!1),is_new_launch:t.z.boolean().default(!1),is_rera_registered:t.z.boolean().default(!1),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),price_min:t.z.coerce.number().positive("Price must be positive"),price_max:t.z.coerce.number().positive("Price must be positive"),price_per_sqft:t.z.coerce.number().optional(),currency:t.z.string().default("INR"),address:t.z.string().min(5,"Address is required"),landmark:t.z.string().optional(),location_id:t.z.string().optional(),city_id:t.z.string().min(1,"City is required"),state_id:t.z.string().min(1,"State is required"),country_id:t.z.string().optional().default("IN"),pincode:t.z.string().optional(),latitude:t.z.coerce.number().optional(),longitude:t.z.coerce.number().optional(),google_maps_url:t.z.string().url().optional().or(t.z.literal("")),total_units:t.z.coerce.number().int().optional(),total_floors:t.z.coerce.number().int().optional(),total_towers:t.z.coerce.number().int().optional(),total_area_acres:t.z.coerce.number().optional(),open_space_percent:t.z.coerce.number().min(0).max(100).optional(),possession_date:t.z.string().optional(),launch_date:t.z.string().optional(),builder_id:t.z.string().min(1,"Builder is required"),property_type_id:t.z.string().optional(),cover_image:t.z.string().optional(),brochure_url:t.z.string().optional(),video_url:t.z.string().optional(),virtual_tour_url:t.z.string().url().optional().or(t.z.literal("")),rera_number:t.z.string().optional(),rera_expiry_date:t.z.string().optional(),inquiry_email:t.z.string().email().optional().or(t.z.literal("")),inquiry_phone:t.z.string().optional(),whatsapp_number:t.z.string().optional(),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional(),og_image:t.z.string().optional()});t.z.object({title:t.z.string().min(5).max(255),slug:i.optional(),subtitle:t.z.string().max(500).optional(),content:t.z.string().min(100,"Content must be at least 100 characters"),excerpt:t.z.string().max(500).optional(),cover_image:t.z.string().optional(),category:t.z.string().min(1,"Category is required"),tags:t.z.string().optional(),publish_status:t.z.enum(["draft","published","archived"]).default("draft"),published_at:t.z.string().optional(),is_featured:t.z.boolean().default(!1),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({status:t.z.enum(["new","contacted","qualified","site_visit","negotiating","closed_won","closed_lost","junk"]).optional(),assigned_to:t.z.string().optional(),next_follow_up:t.z.string().optional(),is_qualified:t.z.boolean().optional(),is_site_visit_done:t.z.boolean().optional()}),t.z.object({content:t.z.string().min(1,"Note content is required").max(5e3),type:t.z.enum(["note","call","email","whatsapp","site_visit","meeting"]).default("note"),is_private:t.z.boolean().default(!1)}),t.z.record(t.z.string(),t.z.string()),t.z.object({name:t.z.string().min(2).max(100),email:t.z.string().email(),phone:t.z.string().optional(),is_active:t.z.boolean().default(!0),role_ids:t.z.array(t.z.string()).optional()}),t.z.object({name:t.z.string().min(2).max(255),slug:i.optional(),logo:t.z.string().optional(),description:t.z.string().optional(),short_description:t.z.string().max(500).optional(),founded_year:t.z.coerce.number().int().min(1900).max(2030).optional(),website:t.z.string().url().optional().or(t.z.literal("")),email:t.z.string().email().optional().or(t.z.literal("")),phone:t.z.string().optional(),address:t.z.string().optional(),city_id:t.z.string().optional(),state_id:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_verified:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),meta_title:t.z.string().max(60).optional(),meta_description:t.z.string().max(160).optional()}),t.z.object({author_name:t.z.string().min(2).max(100),author_designation:t.z.string().optional(),author_company:t.z.string().optional(),author_avatar:t.z.string().optional(),content:t.z.string().min(10).max(2e3),rating:t.z.coerce.number().int().min(1).max(5),project_id:t.z.string().optional(),city:t.z.string().optional(),is_featured:t.z.boolean().default(!1),is_active:t.z.boolean().default(!0),video_url:t.z.string().optional()}),t.z.object({question:t.z.string().min(5).max(500),answer:t.z.string().min(10).max(5e3),category:t.z.string().default("general"),sort_order:t.z.coerce.number().int().default(0),is_active:t.z.boolean().default(!0),project_id:t.z.string().optional()}),e.s(["contactSchema",0,r,"enquirySchema",0,a,"projectSchema",0,s])},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},901279,71395,e=>{"use strict";let t=(0,e.i(456420).default)("user",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["default",0,t],71395),e.s(["User",0,t],901279)},468590,991313,e=>{"use strict";let t=(0,e.i(456420).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);e.s(["default",0,t],991313),e.s(["MessageSquare",0,t],468590)},520144,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(653145),r=e.i(994814),s=e.i(846932),n=e.i(88653),o=e.i(575387),l=e.i(96315),d=e.i(901279),c=e.i(468590),m=e.i(730274),u=e.i(548161),p=e.i(632781),g=e.i(846696),z=e.i(519455),x=e.i(793479),f=e.i(110204),b=e.i(624687),h=e.i(85291),_=e.i(95187);let v=(0,_.createServerReference)("40829cb3fc6e4ff01751d831cd4dd52d266fef087a",_.callServer,void 0,_.findSourceMapURL,"submitEnquiry");var y=e.i(975157);e.s(["EnquiryForm",0,function({projectId:e,projectName:_,source:j="website",className:w,compact:N=!1,title:q="Get Expert Advice",subtitle:S="Our property consultants are ready to help you find your dream home."}){let[P,k]=(0,i.useState)(!1),[I,M]=(0,i.useState)(!1),{register:R,handleSubmit:C,formState:{errors:L},reset:F}=(0,a.useForm)({resolver:(0,r.zodResolver)(h.enquirySchema),defaultValues:{source:j,project_id:e}}),A=async e=>{M(!0);try{let t=await v(e);t.success?(k(!0),F()):g.toast.error(t.error??"Something went wrong. Please try again.")}catch{g.toast.error("Something went wrong. Please try again.")}finally{M(!1)}};return(0,t.jsx)("div",{className:(0,y.cn)("luxury-card p-6 lg:p-8",w),children:(0,t.jsx)(n.AnimatePresence,{mode:"wait",children:P?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},className:"text-center py-8",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-green-500/15 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(u.CheckCircle,{className:"w-8 h-8 text-green-400"})}),(0,t.jsx)("h3",{className:"font-display text-xl font-bold text-foreground mb-2",children:"Thank You!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm mb-6",children:"Our property consultant will reach you within 24 hours."}),(0,t.jsx)(z.Button,{variant:"gold-outline",size:"sm",onClick:()=>k(!1),children:"Submit Another Enquiry"})]},"success"):(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},children:[!N&&(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h3",{className:"font-display text-xl lg:text-2xl font-bold text-foreground mb-2",children:q}),_&&(0,t.jsxs)("p",{className:"text-[hsl(36,82%,47%)] text-sm font-medium mb-1",children:["For: ",_]}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:S})]}),(0,t.jsxs)("form",{onSubmit:C(A),className:"flex flex-col gap-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(f.Label,{htmlFor:"enq-name",children:["Full Name ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(d.User,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-name",...R("name"),placeholder:"John Doe",className:(0,y.cn)("pl-9",L.name&&"border-destructive")})]}),L.name&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:L.name.message})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsxs)(f.Label,{htmlFor:"enq-phone",children:["Phone Number ",(0,t.jsx)("span",{className:"text-destructive",children:"*"})]}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(o.Phone,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-phone",...R("phone"),placeholder:"+91 98765 43210",type:"tel",className:(0,y.cn)("pl-9",L.phone&&"border-destructive")})]}),L.phone&&(0,t.jsx)("p",{className:"text-xs text-destructive",children:L.phone.message})]}),!N&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(f.Label,{htmlFor:"enq-email",children:"Email Address"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(l.Mail,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(x.Input,{id:"enq-email",...R("email"),placeholder:"john@example.com",type:"email",className:"pl-9"})]})]}),!N&&(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(f.Label,{htmlFor:"enq-message",children:"Message"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(c.MessageSquare,{className:"absolute left-3 top-3 w-4 h-4 text-muted-foreground"}),(0,t.jsx)(b.Textarea,{id:"enq-message",...R("message"),placeholder:"I am interested in 2BHK, budget ₹1–1.5 Cr...",className:"pl-9 min-h-[100px] resize-none"})]})]}),(0,t.jsx)("input",{type:"hidden",...R("project_id"),value:e}),(0,t.jsx)("input",{type:"hidden",...R("source"),value:j}),(0,t.jsx)(z.Button,{type:"submit",variant:"gold",className:"w-full",size:"lg",disabled:I,children:I?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.Loader2,{className:"w-4 h-4 animate-spin"}),"Submitting..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.Send,{className:"w-4 h-4"}),"Get Free Consultation"]})}),(0,t.jsxs)("p",{className:"text-center text-xs text-muted-foreground",children:["By submitting, you agree to our"," ",(0,t.jsx)("a",{href:"/privacy",className:"underline hover:text-foreground",children:"Privacy Policy"}),". We never share your data."]})]})]},"form")})})}],520144)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(975157);let a=t.forwardRef(({className:e,type:t,...a},l)=>(0,r.jsx)("input",{type:t,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:l,...a}));a.displayName="Input",e.s(["Input",0,a])},519455,225913,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(991918),a=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=a.clsx,d=(e,r)=>t=>{var s;if((null==r?void 0:r.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:a,defaultVariants:d}=r,o=Object.keys(a).map(e=>{let r=null==t?void 0:t[e],s=null==d?void 0:d[e];if(null===r)return null;let i=l(r)||l(s);return a[e][i]}),n=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return i(e,o,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:t,className:s,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...d,...n}[r]):({...d,...n})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)};e.s(["cva",0,d],225913);var o=e.i(975157);let n=d("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=t.forwardRef(({className:e,variant:t,size:a,asChild:l=!1,...i},d)=>{let c=l?s.Slot:"button";return(0,r.jsx)(c,{className:(0,o.cn)(n({variant:t,size:a,className:e})),ref:d,...i})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let r=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,r],758379),e.s(["Loader2",0,r],632781)},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let l=e.r(132120),i=e.r(92245),d=e.r(235326)},548161,402661,e=>{"use strict";let r=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,r],402661),e.s(["CheckCircle",0,r],548161)},484479,e=>{"use strict";let r=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["default",0,r])},980941,e=>{"use strict";let r=(0,e.i(456420).default)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);e.s(["default",0,r])},762368,e=>{"use strict";var r=e.i(484479);e.s(["Download",()=>r.default])},892560,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(846696),a=e.i(980941),a=a,l=e.i(762368),i=e.i(632781),d=e.i(901279),o=e.i(548161),n=e.i(91511),c=e.i(519455),u=e.i(793479),x=e.i(95187);let m=(0,x.createServerReference)("00b403d1d3571496baaf072232b5c6e0b69addf5aa",x.callServer,void 0,x.findSourceMapURL,"getInstalledPlugins"),p=(0,x.createServerReference)("604ac5490e9d5c04cdbb91b3760de41be19b31ce1c",x.callServer,void 0,x.findSourceMapURL,"togglePluginState"),f=(0,x.createServerReference)("40cb6490d55750e97b4e0a0e9bb7d039d112e5c017",x.callServer,void 0,x.findSourceMapURL,"installPluginFromGit"),g=(0,x.createServerReference)("4069fdb2f76615cb3b310f0826550b8f291e3d914c",x.callServer,void 0,x.findSourceMapURL,"installPluginFromNpm"),h=(0,x.createServerReference)("4093bff6c422209743eb6cf14123c126a49ed20585",x.callServer,void 0,x.findSourceMapURL,"uploadPluginArchive");e.s(["default",0,function(){let[e,x]=(0,t.useState)([]),[b,v]=(0,t.useState)(!0),[y,j]=(0,t.useState)(""),[N,w]=(0,t.useState)(""),[S,k]=(0,t.useTransition)(),[R,P]=(0,t.useTransition)(),C=async()=>{try{let e=await m();e.success&&e.data?x(e.data):s.toast.error(e.error??"Failed to load plugins list.")}catch{s.toast.error("An error occurred fetching plugins.")}finally{v(!1)}};(0,t.useEffect)(()=>{C()},[]);let L=async e=>{let r=e.target.files?.[0];if(!r)return;let t=new FormData;t.append("file",r),P(async()=>{let e=await h(t);e.success?(s.toast.success(`Successfully installed plugin: ${e.data}!`),C()):s.toast.error(e.error??"Failed to process zip archive.")})};return(0,r.jsxs)("div",{className:"p-6 lg:p-8 space-y-6 max-w-6xl",children:[(0,r.jsx)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h1",{className:"text-2xl font-bold text-foreground flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"h-6 w-6 text-primary"}),"Framework Plugins"]}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Extend the functionality of PropVault CMS with hooks, analytics trackers, and custom modules."})]})}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"w-4 h-4 text-primary"}),"NPM Package Registry"]}),(0,r.jsxs)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:["Install a published plugin package directly from the public registry (e.g. ",(0,r.jsx)("code",{children:"@myorg/propvault-plugin"}),")."]})]}),(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),N.trim()&&P(async()=>{let e=await g(N.trim());e.success?(s.toast.success(`Successfully installed package: ${e.data}!`),w(""),C()):s.toast.error(e.error??"Failed to install package from NPM.")})},className:"space-y-3 pt-2",children:[(0,r.jsx)(u.Input,{value:N,onChange:e=>w(e.target.value),placeholder:"@org/propvault-plugin",className:"h-10 text-xs"}),(0,r.jsx)(c.Button,{type:"submit",disabled:R||!N.trim(),className:"w-full h-10 text-xs font-semibold btn-gold",children:R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Loader2,{className:"w-4 h-4 mr-2 animate-spin"})," Installing..."]}):"Install Package"})]})]}),(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(l.Download,{className:"w-4 h-4 text-primary"}),"Upload Zip Archive"]}),(0,r.jsxs)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:["Upload a compiled plugin archive built using the PDK CLI tool. Select a ",(0,r.jsx)("code",{children:"plugin.zip"})," file."]})]}),(0,r.jsx)("div",{className:"space-y-3 pt-2",children:(0,r.jsxs)("div",{className:"relative border border-dashed border-border/80 rounded-xl p-4 text-center hover:bg-secondary/20 transition-all cursor-pointer",children:[(0,r.jsx)("input",{type:"file",accept:".zip",onChange:L,disabled:R,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"}),(0,r.jsx)(l.Download,{className:"w-6 h-6 text-muted-foreground/50 mx-auto mb-1.5"}),(0,r.jsx)("span",{className:"text-xxs text-muted-foreground block",children:"Click or drag ZIP file here to upload"})]})})]}),(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(n.Globe,{className:"w-4 h-4 text-primary"}),"Clone Git Repository"]}),(0,r.jsx)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:"Git clone an open-source plugin repository directly from GitHub, GitLab, or Bitbucket."})]}),(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),y.trim()&&P(async()=>{let e=await f(y.trim());e.success?(s.toast.success(`Successfully installed plugin: ${e.data}!`),j(""),C()):s.toast.error(e.error??"Failed to install plugin.")})},className:"space-y-3 pt-2",children:[(0,r.jsx)(u.Input,{value:y,onChange:e=>j(e.target.value),placeholder:"https://github.com/org/plugin.git",className:"h-10 text-xs"}),(0,r.jsx)(c.Button,{type:"submit",disabled:R||!y.trim(),className:"w-full h-10 text-xs font-semibold btn-gold",children:R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Loader2,{className:"w-4 h-4 mr-2 animate-spin"})," Cloning..."]}):"Clone Repository"})]})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h3",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground",children:"Installed Plugins"}),b?(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsx)("div",{className:"h-32 shimmer rounded-2xl"}),(0,r.jsx)("div",{className:"h-32 shimmer rounded-2xl"})]}):0===e.length?(0,r.jsxs)("div",{className:"text-center py-12 rounded-2xl border border-dashed border-border bg-card/25",children:[(0,r.jsx)(a.default,{className:"w-10 h-10 text-muted-foreground/30 mx-auto mb-3"}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:["No plugins installed. Create a plugin directory inside ",(0,r.jsx)("code",{children:"./plugins/"})," or use the installer above."]})]}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.map(e=>(0,r.jsxs)("div",{className:`p-5 rounded-2xl border transition-all flex flex-col justify-between h-full bg-card/35 hover:bg-card/50 ${e.isActive?"border-primary/30 shadow-sm":"border-border"}`,children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h4",{className:"font-semibold text-foreground text-sm flex items-center gap-1.5",children:[e.name,e.isActive&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-medium bg-primary/10 text-primary border border-primary/20",children:[(0,r.jsx)(o.CheckCircle,{className:"w-2.5 h-2.5"}),"Active"]})]}),(0,r.jsxs)("p",{className:"text-[10px] text-muted-foreground mt-0.5 font-mono",children:["Slug: ",e.slug]})]}),(0,r.jsxs)("span",{className:"text-xs font-mono bg-secondary/50 px-2 py-0.5 rounded text-muted-foreground shrink-0",children:["v",e.version]})]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-2",children:e.description})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 pt-4 mt-4 border-t border-border/40",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[(0,r.jsx)(d.User,{className:"w-3.5 h-3.5 text-primary/70"}),(0,r.jsxs)("span",{children:["By ",e.author]})]}),(0,r.jsx)(c.Button,{size:"sm",variant:e.isActive?"destructive":"gold",disabled:S,onClick:()=>{var r,t;return r=e.slug,t=e.isActive,void k(async()=>{let e=!t,a=await p(r,e);a.success?(s.toast.success(e?`Plugin "${r}" activated!`:`Plugin "${r}" deactivated.`),C()):s.toast.error(a.error??"Failed to toggle plugin state.")})},className:"h-8 px-4",children:e.isActive?"Deactivate":"Activate"})]})]},e.slug))})]})]})}],892560)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(975157);let a=t.forwardRef(({className:e,type:t,...a},l)=>(0,r.jsx)("input",{type:t,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:l,...a}));a.displayName="Input",e.s(["Input",0,a])},519455,225913,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(991918),a=e.i(207670);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,i=a.clsx,d=(e,r)=>t=>{var s;if((null==r?void 0:r.variants)==null)return i(e,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:a,defaultVariants:d}=r,o=Object.keys(a).map(e=>{let r=null==t?void 0:t[e],s=null==d?void 0:d[e];if(null===r)return null;let i=l(r)||l(s);return a[e][i]}),n=t&&Object.entries(t).reduce((e,r)=>{let[t,s]=r;return void 0===s||(e[t]=s),e},{});return i(e,o,null==r||null==(s=r.compoundVariants)?void 0:s.reduce((e,r)=>{let{class:t,className:s,...a}=r;return Object.entries(a).every(e=>{let[r,t]=e;return Array.isArray(t)?t.includes({...d,...n}[r]):({...d,...n})[r]===t})?[...e,t,s]:e},[]),null==t?void 0:t.class,null==t?void 0:t.className)};e.s(["cva",0,d],225913);var o=e.i(975157);let n=d("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=t.forwardRef(({className:e,variant:t,size:a,asChild:l=!1,...i},d)=>{let c=l?s.Slot:"button";return(0,r.jsx)(c,{className:(0,o.cn)(n({variant:t,size:a,className:e})),ref:d,...i})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let r=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,r],758379),e.s(["Loader2",0,r],632781)},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={callServer:function(){return l.callServer},createServerReference:function(){return d.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}};for(var a in s)Object.defineProperty(t,a,{enumerable:!0,get:s[a]});let l=e.r(132120),i=e.r(92245),d=e.r(235326)},548161,402661,e=>{"use strict";let r=(0,e.i(456420).default)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);e.s(["default",0,r],402661),e.s(["CheckCircle",0,r],548161)},484479,e=>{"use strict";let r=(0,e.i(456420).default)("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);e.s(["default",0,r])},980941,e=>{"use strict";let r=(0,e.i(456420).default)("puzzle",[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]);e.s(["default",0,r])},762368,e=>{"use strict";var r=e.i(484479);e.s(["Download",()=>r.default])},892560,e=>{"use strict";var r=e.i(843476),t=e.i(271645),s=e.i(846696),a=e.i(980941),a=a,l=e.i(762368),i=e.i(632781),d=e.i(901279),o=e.i(548161),n=e.i(91511),c=e.i(519455),u=e.i(793479),x=e.i(95187);let m=(0,x.createServerReference)("000c951e3d8040055ad7220a1992ac3dff82aa933d",x.callServer,void 0,x.findSourceMapURL,"getInstalledPlugins"),p=(0,x.createServerReference)("60d79523ab42ad955804cd2836e28b673a15bc0dd7",x.callServer,void 0,x.findSourceMapURL,"togglePluginState"),f=(0,x.createServerReference)("40fe8e4498ba01d26a826cc50e4b72d4d32cb06684",x.callServer,void 0,x.findSourceMapURL,"installPluginFromGit"),g=(0,x.createServerReference)("406a6f2dab678f962c5c1c5f8cc5d622390bd7cc97",x.callServer,void 0,x.findSourceMapURL,"installPluginFromNpm"),h=(0,x.createServerReference)("4019d33acb9fc8d0ca64fa42ada524638424c4f071",x.callServer,void 0,x.findSourceMapURL,"uploadPluginArchive");e.s(["default",0,function(){let[e,x]=(0,t.useState)([]),[b,v]=(0,t.useState)(!0),[y,j]=(0,t.useState)(""),[N,w]=(0,t.useState)(""),[S,k]=(0,t.useTransition)(),[R,P]=(0,t.useTransition)(),C=async()=>{try{let e=await m();e.success&&e.data?x(e.data):s.toast.error(e.error??"Failed to load plugins list.")}catch{s.toast.error("An error occurred fetching plugins.")}finally{v(!1)}};(0,t.useEffect)(()=>{C()},[]);let L=async e=>{let r=e.target.files?.[0];if(!r)return;let t=new FormData;t.append("file",r),P(async()=>{let e=await h(t);e.success?(s.toast.success(`Successfully installed plugin: ${e.data}!`),C()):s.toast.error(e.error??"Failed to process zip archive.")})};return(0,r.jsxs)("div",{className:"p-6 lg:p-8 space-y-6 max-w-6xl",children:[(0,r.jsx)("div",{className:"flex flex-col md:flex-row justify-between items-start md:items-center gap-4",children:(0,r.jsxs)("div",{children:[(0,r.jsxs)("h1",{className:"text-2xl font-bold text-foreground flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"h-6 w-6 text-primary"}),"Framework Plugins"]}),(0,r.jsx)("p",{className:"text-sm text-muted-foreground mt-1",children:"Extend the functionality of PropVault CMS with hooks, analytics trackers, and custom modules."})]})}),(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:[(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(a.default,{className:"w-4 h-4 text-primary"}),"NPM Package Registry"]}),(0,r.jsxs)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:["Install a published plugin package directly from the public registry (e.g. ",(0,r.jsx)("code",{children:"@myorg/propvault-plugin"}),")."]})]}),(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),N.trim()&&P(async()=>{let e=await g(N.trim());e.success?(s.toast.success(`Successfully installed package: ${e.data}!`),w(""),C()):s.toast.error(e.error??"Failed to install package from NPM.")})},className:"space-y-3 pt-2",children:[(0,r.jsx)(u.Input,{value:N,onChange:e=>w(e.target.value),placeholder:"@org/propvault-plugin",className:"h-10 text-xs"}),(0,r.jsx)(c.Button,{type:"submit",disabled:R||!N.trim(),className:"w-full h-10 text-xs font-semibold btn-gold",children:R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Loader2,{className:"w-4 h-4 mr-2 animate-spin"})," Installing..."]}):"Install Package"})]})]}),(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(l.Download,{className:"w-4 h-4 text-primary"}),"Upload Zip Archive"]}),(0,r.jsxs)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:["Upload a compiled plugin archive built using the PDK CLI tool. Select a ",(0,r.jsx)("code",{children:"plugin.zip"})," file."]})]}),(0,r.jsx)("div",{className:"space-y-3 pt-2",children:(0,r.jsxs)("div",{className:"relative border border-dashed border-border/80 rounded-xl p-4 text-center hover:bg-secondary/20 transition-all cursor-pointer",children:[(0,r.jsx)("input",{type:"file",accept:".zip",onChange:L,disabled:R,className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer"}),(0,r.jsx)(l.Download,{className:"w-6 h-6 text-muted-foreground/50 mx-auto mb-1.5"}),(0,r.jsx)("span",{className:"text-xxs text-muted-foreground block",children:"Click or drag ZIP file here to upload"})]})})]}),(0,r.jsxs)("div",{className:"p-5 rounded-2xl border border-border bg-card/40 space-y-4 flex flex-col justify-between",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("h3",{className:"text-sm font-semibold text-foreground flex items-center gap-2",children:[(0,r.jsx)(n.Globe,{className:"w-4 h-4 text-primary"}),"Clone Git Repository"]}),(0,r.jsx)("p",{className:"text-xxs text-muted-foreground leading-relaxed",children:"Git clone an open-source plugin repository directly from GitHub, GitLab, or Bitbucket."})]}),(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),y.trim()&&P(async()=>{let e=await f(y.trim());e.success?(s.toast.success(`Successfully installed plugin: ${e.data}!`),j(""),C()):s.toast.error(e.error??"Failed to install plugin.")})},className:"space-y-3 pt-2",children:[(0,r.jsx)(u.Input,{value:y,onChange:e=>j(e.target.value),placeholder:"https://github.com/org/plugin.git",className:"h-10 text-xs"}),(0,r.jsx)(c.Button,{type:"submit",disabled:R||!y.trim(),className:"w-full h-10 text-xs font-semibold btn-gold",children:R?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.Loader2,{className:"w-4 h-4 mr-2 animate-spin"})," Cloning..."]}):"Clone Repository"})]})]})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h3",{className:"text-xs font-bold uppercase tracking-wider text-muted-foreground",children:"Installed Plugins"}),b?(0,r.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,r.jsx)("div",{className:"h-32 shimmer rounded-2xl"}),(0,r.jsx)("div",{className:"h-32 shimmer rounded-2xl"})]}):0===e.length?(0,r.jsxs)("div",{className:"text-center py-12 rounded-2xl border border-dashed border-border bg-card/25",children:[(0,r.jsx)(a.default,{className:"w-10 h-10 text-muted-foreground/30 mx-auto mb-3"}),(0,r.jsxs)("p",{className:"text-sm text-muted-foreground",children:["No plugins installed. Create a plugin directory inside ",(0,r.jsx)("code",{children:"./plugins/"})," or use the installer above."]})]}):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:e.map(e=>(0,r.jsxs)("div",{className:`p-5 rounded-2xl border transition-all flex flex-col justify-between h-full bg-card/35 hover:bg-card/50 ${e.isActive?"border-primary/30 shadow-sm":"border-border"}`,children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsxs)("h4",{className:"font-semibold text-foreground text-sm flex items-center gap-1.5",children:[e.name,e.isActive&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 px-2 py-0.5 rounded-full text-[10px] font-medium bg-primary/10 text-primary border border-primary/20",children:[(0,r.jsx)(o.CheckCircle,{className:"w-2.5 h-2.5"}),"Active"]})]}),(0,r.jsxs)("p",{className:"text-[10px] text-muted-foreground mt-0.5 font-mono",children:["Slug: ",e.slug]})]}),(0,r.jsxs)("span",{className:"text-xs font-mono bg-secondary/50 px-2 py-0.5 rounded text-muted-foreground shrink-0",children:["v",e.version]})]}),(0,r.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed line-clamp-2",children:e.description})]}),(0,r.jsxs)("div",{className:"flex items-center justify-between gap-3 pt-4 mt-4 border-t border-border/40",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[(0,r.jsx)(d.User,{className:"w-3.5 h-3.5 text-primary/70"}),(0,r.jsxs)("span",{children:["By ",e.author]})]}),(0,r.jsx)(c.Button,{size:"sm",variant:e.isActive?"destructive":"gold",disabled:S,onClick:()=>{var r,t;return r=e.slug,t=e.isActive,void k(async()=>{let e=!t,a=await p(r,e);a.success?(s.toast.success(e?`Plugin "${r}" activated!`:`Plugin "${r}" deactivated.`),C()):s.toast.error(a.error??"Failed to toggle plugin state.")})},className:"h-8 px-4",children:e.isActive?"Deactivate":"Activate"})]})]},e.slug))})]})]})}],892560)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,604829,e=>{"use strict";var t=e.i(207670),r=e.i(919056);e.s(["cn",0,function(...e){return(0,r.twMerge)((0,t.clsx)(e))},"formatCurrency",0,function(e,t="INR",r="en-IN"){return e>=1e7?`₹${(e/1e7).toFixed(2)} Cr`:e>=1e5?`₹${(e/1e5).toFixed(2)} L`:new Intl.NumberFormat(r,{style:"currency",currency:t,maximumFractionDigits:0}).format(e)},"formatDate",0,function(e,t={year:"numeric",month:"long",day:"numeric"},r="en-IN"){return("string"==typeof e?new Date(e):e).toLocaleDateString(r,t)},"formatRelativeDate",0,function(e){let t="string"==typeof e?new Date(e):e,r=Math.floor((new Date().getTime()-t.getTime())/1e3),s=Math.floor(r/60),a=Math.floor(s/60),i=Math.floor(a/24),n=Math.floor(i/30),o=Math.floor(n/12);return r<60?"just now":s<60?`${s}m ago`:a<24?`${a}h ago`:i<30?`${i}d ago`:n<12?`${n}mo ago`:`${o}y ago`}])},793479,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(975157);let a=r.forwardRef(({className:e,type:r,...a},i)=>(0,t.jsx)("input",{type:r,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:i,...a}));a.displayName="Input",e.s(["Input",0,a])},519455,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(991918),a=e.i(207670);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.clsx,o=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],s=null==o?void 0:o[e];if(null===t)return null;let n=i(t)||i(s);return a[e][n]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...d}[t]):({...o,...d})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,o],225913);var l=e.i(975157);let d=o("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef(({className:e,variant:r,size:a,asChild:i=!1,...n},o)=>{let c=i?s.Slot:"button";return(0,t.jsx)(c,{className:(0,l.cn)(d({variant:r,size:a,className:e})),ref:o,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let i=e.r(132120),n=e.r(92245),o=e.r(235326)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(248425),a=r.forwardRef((e,r)=>(0,t.jsx)(s.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var i=e.i(975157);let n=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(a,{ref:s,className:(0,i.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...r}));n.displayName=a.displayName,e.s(["Label",0,n],110204)},624687,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(975157);let a=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("textarea",{className:(0,s.cn)("flex min-h-[80px] w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 resize-none transition-colors",e),ref:a,...r}));a.displayName="Textarea",e.s(["Textarea",0,a])},96315,290135,e=>{"use strict";let t=(0,e.i(456420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["default",0,t],290135),e.s(["Mail",0,t],96315)},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},694838,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},677572,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(981140),a=e.i(30030),i=e.i(842727),n=e.i(296626),o=e.i(248425),l=e.i(586318),d=e.i(369340),c=e.i(610772),u="Tabs",[x,m]=(0,a.createContextScope)(u,[i.createRovingFocusGroupScope]),f=(0,i.createRovingFocusGroupScope)(),[p,g]=x(u),b=r.forwardRef((e,r)=>{let{__scopeTabs:s,value:a,onValueChange:i,defaultValue:n,orientation:x="horizontal",dir:m,activationMode:f="automatic",...g}=e,b=(0,l.useDirection)(m),[h,v]=(0,d.useControllableState)({prop:a,onChange:i,defaultProp:n??"",caller:u});return(0,t.jsx)(p,{scope:s,baseId:(0,c.useId)(),value:h,onValueChange:v,orientation:x,dir:b,activationMode:f,children:(0,t.jsx)(o.Primitive.div,{dir:b,"data-orientation":x,...g,ref:r})})});b.displayName=u;var h="TabsList",v=r.forwardRef((e,r)=>{let{__scopeTabs:s,loop:a=!0,...n}=e,l=g(h,s),d=f(s);return(0,t.jsx)(i.Root,{asChild:!0,...d,orientation:l.orientation,dir:l.dir,loop:a,children:(0,t.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":l.orientation,...n,ref:r})})});v.displayName=h;var y="TabsTrigger",j=r.forwardRef((e,r)=>{let{__scopeTabs:a,value:n,disabled:l=!1,...d}=e,c=g(y,a),u=f(a),x=R(c.baseId,n),m=S(c.baseId,n),p=n===c.value;return(0,t.jsx)(i.Item,{asChild:!0,...u,focusable:!l,active:p,children:(0,t.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":m,"data-state":p?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:x,...d,ref:r,onMouseDown:(0,s.composeEventHandlers)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(n)}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{!l&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&c.onValueChange(n)}),onFocus:(0,s.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==c.activationMode;p||l||!e||c.onValueChange(n)})})})});j.displayName=y;var N="TabsContent",w=r.forwardRef((e,s)=>{let{__scopeTabs:a,value:i,forceMount:l,children:d,...c}=e,u=g(N,a),x=R(u.baseId,i),m=S(u.baseId,i),f=i===u.value,p=r.useRef(f);return r.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(n.Presence,{present:l||f,children:({present:r})=>(0,t.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":x,hidden:!r,id:m,tabIndex:0,...c,ref:s,style:{...e.style,animationDuration:p.current?"0s":void 0},children:r&&d})})});function R(e,t){return`${e}-trigger-${t}`}function S(e,t){return`${e}-content-${t}`}w.displayName=N;var L=e.i(975157);let T=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(v,{ref:s,className:(0,L.cn)("inline-flex h-10 items-center gap-1 rounded-xl border border-border bg-secondary/30 p-1 text-muted-foreground",e),...r}));T.displayName=v.displayName;let _=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(j,{ref:s,className:(0,L.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-card data-[state=active]:text-foreground data-[state=active]:shadow-sm data-[state=active]:border data-[state=active]:border-border",e),...r}));_.displayName=j.displayName;let C=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(w,{ref:s,className:(0,L.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...r}));C.displayName=w.displayName,e.s(["Tabs",0,b,"TabsContent",0,C,"TabsList",0,T,"TabsTrigger",0,_],677572)},939621,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(618566),a=e.i(653145),i=e.i(632781),n=e.i(575387),o=e.i(96315),l=e.i(730274),d=e.i(694838),d=d,c=e.i(55677),u=e.i(522016),x=e.i(846696),m=e.i(519455),f=e.i(793479),p=e.i(110204),g=e.i(624687),b=e.i(677572),h=e.i(95187);let v=(0,h.createServerReference)("700c117436201386781dec840445b2538ca69b6602",h.callServer,void 0,h.findSourceMapURL,"addLeadNote"),y=(0,h.createServerReference)("6077d3f67fb6db9b58c60e0d8c85f1a43da25413be",h.callServer,void 0,h.findSourceMapURL,"updateLeadStatus");var j=e.i(604829);e.s(["LeadDetailClient",0,function({lead:e,project:h,notes:N,activities:w,agents:R,currentUser:S}){let L=(0,s.useRouter)(),[T,_]=(0,r.useState)(!1),[C,D]=(0,r.useState)(!1),{register:M,handleSubmit:k}=(0,a.useForm)({defaultValues:{status:e.status,assigned_to:e.assigned_to??"",next_follow_up:e.next_follow_up??""}}),{register:F,handleSubmit:I,reset:P}=(0,a.useForm)({defaultValues:{content:""}}),A=async t=>{_(!0);try{let r=await y(e.id,t);r.success?(x.toast.success("Lead details updated!"),L.refresh()):x.toast.error(r.error??"Failed to update status")}catch{x.toast.error("Failed to update status")}finally{_(!1)}},$=async t=>{if(t.content.trim()){D(!0);try{let r=await v(e.id,{content:t.content,type:"general",is_private:!1},S.id);r.success?(x.toast.success("Note added!"),P(),L.refresh()):x.toast.error(r.error??"Failed to add note")}catch{x.toast.error("Failed to add note")}finally{D(!1)}}};return(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(u.default,{href:"/admin/leads",className:"inline-flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(d.default,{className:"w-3.5 h-3.5"})," Back to Leads Directory"]})}),(0,t.jsxs)("div",{className:"grid lg:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{className:"lg:col-span-1 space-y-6",children:[(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] flex items-center justify-center text-[hsl(240,20%,7%)] font-bold text-lg",children:e.name?.charAt(0)??"?"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-foreground text-base",children:e.name}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Enquired ",(0,j.formatRelativeDate)(e.created_at)]})]})]}),(0,t.jsxs)("div",{className:"border-t border-border pt-4 space-y-3 text-sm",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(n.Phone,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsx)("a",{href:`tel:${e.phone}`,className:"hover:text-foreground hover:underline",children:e.phone})]}),e.email&&(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(o.Mail,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsx)("a",{href:`mailto:${e.email}`,className:"hover:text-foreground hover:underline",children:e.email})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(c.ClipboardList,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsxs)("span",{children:["Source: ",(0,t.jsx)("strong",{className:"text-foreground capitalize",children:e.source})]})]})]})]}),(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-4",children:"Lead Status & Agent Assignment"}),(0,t.jsxs)("form",{onSubmit:k(A),className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Lead Status"}),(0,t.jsxs)("select",{...M("status"),className:"h-10 w-full px-3 rounded-xl border border-border bg-card text-sm text-foreground focus:outline-none",children:[(0,t.jsx)("option",{value:"new",children:"New"}),(0,t.jsx)("option",{value:"contacted",children:"Contacted"}),(0,t.jsx)("option",{value:"qualified",children:"Qualified"}),(0,t.jsx)("option",{value:"site_visit",children:"Site Visit"}),(0,t.jsx)("option",{value:"negotiating",children:"Negotiating"}),(0,t.jsx)("option",{value:"closed_won",children:"Closed Won"}),(0,t.jsx)("option",{value:"closed_lost",children:"Closed Lost"}),(0,t.jsx)("option",{value:"junk",children:"Junk"})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Assign Property Consultant"}),(0,t.jsxs)("select",{...M("assigned_to"),className:"h-10 w-full px-3 rounded-xl border border-border bg-card text-sm text-foreground focus:outline-none",children:[(0,t.jsx)("option",{value:"",children:"Unassigned"}),R.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Next Follow-up Date"}),(0,t.jsx)(f.Input,{type:"date",...M("next_follow_up"),className:"bg-card border-border"})]}),(0,t.jsx)(m.Button,{type:"submit",variant:"gold",className:"w-full",disabled:T,children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"})," Updating..."]}):"Update Lead"})]})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-3",children:"Property Interest"}),(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[(0,t.jsxs)("div",{className:"p-3 bg-secondary/15 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-0.5",children:"Interested Project"}),(0,t.jsx)("div",{className:"font-semibold text-foreground",children:h?.name??"General Enquiry"})]}),e.property_type&&(0,t.jsxs)("div",{className:"p-3 bg-secondary/15 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-0.5",children:"Configuration Category"}),(0,t.jsx)("div",{className:"font-semibold text-foreground capitalize",children:e.property_type})]})]}),e.message&&(0,t.jsxs)("div",{className:"mt-4 p-4 bg-secondary/10 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-1.5",children:"User Message"}),(0,t.jsx)("p",{className:"text-foreground text-sm leading-relaxed",children:e.message})]})]}),(0,t.jsxs)(b.Tabs,{defaultValue:"notes",className:"w-full",children:[(0,t.jsxs)(b.TabsList,{className:"w-full justify-start border-b border-border bg-transparent h-auto p-0 rounded-none mb-4",children:[(0,t.jsxs)(b.TabsTrigger,{value:"notes",className:"px-4 py-2 text-sm font-medium border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-transparent rounded-none",children:["Lead Notes (",N.length,")"]}),(0,t.jsxs)(b.TabsTrigger,{value:"activities",className:"px-4 py-2 text-sm font-medium border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-transparent rounded-none",children:["Activity Audit (",w.length,")"]})]}),(0,t.jsxs)(b.TabsContent,{value:"notes",className:"space-y-4",children:[(0,t.jsxs)("form",{onSubmit:I($),className:"space-y-2",children:[(0,t.jsx)(g.Textarea,{...F("content"),placeholder:"Type notes from calls, site visits, or messages here...",className:"bg-card border-border min-h-[90px]"}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(m.Button,{type:"submit",variant:"gold",size:"sm",disabled:C,children:C?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-3.5 h-3.5 animate-spin"})," Adding..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Send,{className:"w-3.5 h-3.5"})," Add Note"]})})})]}),(0,t.jsx)("div",{className:"space-y-3",children:0===N.length?(0,t.jsx)("p",{className:"text-center py-6 text-xs text-muted-foreground",children:"No notes recorded yet."}):N.map(e=>(0,t.jsxs)("div",{className:"p-4 bg-secondary/15 rounded-xl border border-border/50 text-sm",children:[(0,t.jsx)("p",{className:"text-foreground leading-relaxed",children:e.content}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-3 text-xs text-muted-foreground border-t border-border/30 pt-2",children:[(0,t.jsx)("span",{children:"By Agent"}),(0,t.jsx)("span",{children:(0,j.formatRelativeDate)(e.created_at)})]})]},e.id))})]}),(0,t.jsx)(b.TabsContent,{value:"activities",className:"space-y-3",children:0===w.length?(0,t.jsx)("p",{className:"text-center py-6 text-xs text-muted-foreground",children:"No activities recorded yet."}):w.map(e=>(0,t.jsxs)("div",{className:"p-3 bg-secondary/10 rounded-xl text-xs flex items-center justify-between border border-border/20",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-semibold text-foreground capitalize mr-2",children:e.action}),(0,t.jsx)("span",{className:"text-muted-foreground",children:e.description})]}),(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground shrink-0 ml-4",children:(0,j.formatRelativeDate)(e.created_at)})]},e.id))})]})]})]})]})}],939621)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,604829,e=>{"use strict";var t=e.i(207670),r=e.i(919056);e.s(["cn",0,function(...e){return(0,r.twMerge)((0,t.clsx)(e))},"formatCurrency",0,function(e,t="INR",r="en-IN"){return e>=1e7?`₹${(e/1e7).toFixed(2)} Cr`:e>=1e5?`₹${(e/1e5).toFixed(2)} L`:new Intl.NumberFormat(r,{style:"currency",currency:t,maximumFractionDigits:0}).format(e)},"formatDate",0,function(e,t={year:"numeric",month:"long",day:"numeric"},r="en-IN"){return("string"==typeof e?new Date(e):e).toLocaleDateString(r,t)},"formatRelativeDate",0,function(e){let t="string"==typeof e?new Date(e):e,r=Math.floor((new Date().getTime()-t.getTime())/1e3),s=Math.floor(r/60),a=Math.floor(s/60),i=Math.floor(a/24),n=Math.floor(i/30),o=Math.floor(n/12);return r<60?"just now":s<60?`${s}m ago`:a<24?`${a}h ago`:i<30?`${i}d ago`:n<12?`${n}mo ago`:`${o}y ago`}])},793479,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(975157);let a=r.forwardRef(({className:e,type:r,...a},i)=>(0,t.jsx)("input",{type:r,className:(0,s.cn)("flex h-10 w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground ring-offset-background placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 transition-colors",e),ref:i,...a}));a.displayName="Input",e.s(["Input",0,a])},519455,225913,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(991918),a=e.i(207670);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=a.clsx,o=(e,t)=>r=>{var s;if((null==t?void 0:t.variants)==null)return n(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:a,defaultVariants:o}=t,l=Object.keys(a).map(e=>{let t=null==r?void 0:r[e],s=null==o?void 0:o[e];if(null===t)return null;let n=i(t)||i(s);return a[e][n]}),d=r&&Object.entries(r).reduce((e,t)=>{let[r,s]=t;return void 0===s||(e[r]=s),e},{});return n(e,l,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:r,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...d}[t]):({...o,...d})[t]===r})?[...e,r,s]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,o],225913);var l=e.i(975157);let d=o("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 select-none",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90 active:scale-[0.98]",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-border bg-transparent hover:bg-secondary/50 hover:text-foreground text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-secondary/50 hover:text-foreground text-muted-foreground",link:"text-primary underline-offset-4 hover:underline",gold:"bg-gradient-to-r from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] text-[hsl(240,20%,7%)] font-semibold hover:opacity-90 active:scale-[0.98] shadow-[0_4px_14px_0_hsl(36,82%,47%,0.4)]","gold-outline":"border border-[hsl(36,82%,47%,0.5)] text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)] hover:border-[hsl(36,82%,47%)]","gold-ghost":"text-[hsl(36,82%,47%)] bg-transparent hover:bg-[hsl(36,82%,47%,0.1)]"},size:{default:"h-10 px-5 py-2",xs:"h-7 px-3 text-xs rounded-lg",sm:"h-9 px-4 text-sm",lg:"h-12 px-8 text-base",xl:"h-14 px-10 text-lg",icon:"h-10 w-10","icon-sm":"h-9 w-9","icon-lg":"h-12 w-12"}},defaultVariants:{variant:"default",size:"default"}}),c=r.forwardRef(({className:e,variant:r,size:a,asChild:i=!1,...n},o)=>{let c=i?s.Slot:"button";return(0,t.jsx)(c,{className:(0,l.cn)(d({variant:r,size:a,className:e})),ref:o,...n})});c.displayName="Button",e.s(["Button",0,c],519455)},632781,758379,e=>{"use strict";let t=(0,e.i(456420).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",0,t],758379),e.s(["Loader2",0,t],632781)},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={callServer:function(){return i.callServer},createServerReference:function(){return o.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var a in s)Object.defineProperty(r,a,{enumerable:!0,get:s[a]});let i=e.r(132120),n=e.r(92245),o=e.r(235326)},110204,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(248425),a=r.forwardRef((e,r)=>(0,t.jsx)(s.Primitive.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));a.displayName="Label";var i=e.i(975157);let n=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(a,{ref:s,className:(0,i.cn)("text-sm font-medium text-foreground leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e),...r}));n.displayName=a.displayName,e.s(["Label",0,n],110204)},624687,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(975157);let a=r.forwardRef(({className:e,...r},a)=>(0,t.jsx)("textarea",{className:(0,s.cn)("flex min-h-[80px] w-full rounded-xl border border-border bg-card px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:border-primary/50 disabled:cursor-not-allowed disabled:opacity-50 resize-none transition-colors",e),ref:a,...r}));a.displayName="Textarea",e.s(["Textarea",0,a])},96315,290135,e=>{"use strict";let t=(0,e.i(456420).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["default",0,t],290135),e.s(["Mail",0,t],96315)},730274,893999,e=>{"use strict";let t=(0,e.i(456420).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["default",0,t],893999),e.s(["Send",0,t],730274)},694838,e=>{"use strict";let t=(0,e.i(456420).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["default",0,t])},677572,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(981140),a=e.i(30030),i=e.i(842727),n=e.i(296626),o=e.i(248425),l=e.i(586318),d=e.i(369340),c=e.i(610772),u="Tabs",[x,m]=(0,a.createContextScope)(u,[i.createRovingFocusGroupScope]),f=(0,i.createRovingFocusGroupScope)(),[p,g]=x(u),h=r.forwardRef((e,r)=>{let{__scopeTabs:s,value:a,onValueChange:i,defaultValue:n,orientation:x="horizontal",dir:m,activationMode:f="automatic",...g}=e,h=(0,l.useDirection)(m),[b,v]=(0,d.useControllableState)({prop:a,onChange:i,defaultProp:n??"",caller:u});return(0,t.jsx)(p,{scope:s,baseId:(0,c.useId)(),value:b,onValueChange:v,orientation:x,dir:h,activationMode:f,children:(0,t.jsx)(o.Primitive.div,{dir:h,"data-orientation":x,...g,ref:r})})});h.displayName=u;var b="TabsList",v=r.forwardRef((e,r)=>{let{__scopeTabs:s,loop:a=!0,...n}=e,l=g(b,s),d=f(s);return(0,t.jsx)(i.Root,{asChild:!0,...d,orientation:l.orientation,dir:l.dir,loop:a,children:(0,t.jsx)(o.Primitive.div,{role:"tablist","aria-orientation":l.orientation,...n,ref:r})})});v.displayName=b;var y="TabsTrigger",j=r.forwardRef((e,r)=>{let{__scopeTabs:a,value:n,disabled:l=!1,...d}=e,c=g(y,a),u=f(a),x=R(c.baseId,n),m=S(c.baseId,n),p=n===c.value;return(0,t.jsx)(i.Item,{asChild:!0,...u,focusable:!l,active:p,children:(0,t.jsx)(o.Primitive.button,{type:"button",role:"tab","aria-selected":p,"aria-controls":m,"data-state":p?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:x,...d,ref:r,onMouseDown:(0,s.composeEventHandlers)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():c.onValueChange(n)}),onKeyDown:(0,s.composeEventHandlers)(e.onKeyDown,e=>{!l&&e.target===e.currentTarget&&[" ","Enter"].includes(e.key)&&c.onValueChange(n)}),onFocus:(0,s.composeEventHandlers)(e.onFocus,()=>{let e="manual"!==c.activationMode;p||l||!e||c.onValueChange(n)})})})});j.displayName=y;var N="TabsContent",w=r.forwardRef((e,s)=>{let{__scopeTabs:a,value:i,forceMount:l,children:d,...c}=e,u=g(N,a),x=R(u.baseId,i),m=S(u.baseId,i),f=i===u.value,p=r.useRef(f);return r.useEffect(()=>{let e=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,t.jsx)(n.Presence,{present:l||f,children:({present:r})=>(0,t.jsx)(o.Primitive.div,{"data-state":f?"active":"inactive","data-orientation":u.orientation,role:"tabpanel","aria-labelledby":x,hidden:!r,id:m,tabIndex:0,...c,ref:s,style:{...e.style,animationDuration:p.current?"0s":void 0},children:r&&d})})});function R(e,t){return`${e}-trigger-${t}`}function S(e,t){return`${e}-content-${t}`}w.displayName=N;var L=e.i(975157);let T=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(v,{ref:s,className:(0,L.cn)("inline-flex h-10 items-center gap-1 rounded-xl border border-border bg-secondary/30 p-1 text-muted-foreground",e),...r}));T.displayName=v.displayName;let _=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(j,{ref:s,className:(0,L.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-lg px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-card data-[state=active]:text-foreground data-[state=active]:shadow-sm data-[state=active]:border data-[state=active]:border-border",e),...r}));_.displayName=j.displayName;let C=r.forwardRef(({className:e,...r},s)=>(0,t.jsx)(w,{ref:s,className:(0,L.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...r}));C.displayName=w.displayName,e.s(["Tabs",0,h,"TabsContent",0,C,"TabsList",0,T,"TabsTrigger",0,_],677572)},939621,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(618566),a=e.i(653145),i=e.i(632781),n=e.i(575387),o=e.i(96315),l=e.i(730274),d=e.i(694838),d=d,c=e.i(55677),u=e.i(522016),x=e.i(846696),m=e.i(519455),f=e.i(793479),p=e.i(110204),g=e.i(624687),h=e.i(677572),b=e.i(95187);let v=(0,b.createServerReference)("700a86e30eb0d95acc1e992813d62568a937524a30",b.callServer,void 0,b.findSourceMapURL,"addLeadNote"),y=(0,b.createServerReference)("60f2dc2a48282597bf192c74a107a363792207929c",b.callServer,void 0,b.findSourceMapURL,"updateLeadStatus");var j=e.i(604829);e.s(["LeadDetailClient",0,function({lead:e,project:b,notes:N,activities:w,agents:R,currentUser:S}){let L=(0,s.useRouter)(),[T,_]=(0,r.useState)(!1),[C,D]=(0,r.useState)(!1),{register:M,handleSubmit:k}=(0,a.useForm)({defaultValues:{status:e.status,assigned_to:e.assigned_to??"",next_follow_up:e.next_follow_up??""}}),{register:F,handleSubmit:I,reset:P}=(0,a.useForm)({defaultValues:{content:""}}),A=async t=>{_(!0);try{let r=await y(e.id,t);r.success?(x.toast.success("Lead details updated!"),L.refresh()):x.toast.error(r.error??"Failed to update status")}catch{x.toast.error("Failed to update status")}finally{_(!1)}},$=async t=>{if(t.content.trim()){D(!0);try{let r=await v(e.id,{content:t.content,type:"general",is_private:!1},S.id);r.success?(x.toast.success("Note added!"),P(),L.refresh()):x.toast.error(r.error??"Failed to add note")}catch{x.toast.error("Failed to add note")}finally{D(!1)}}};return(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("div",{children:(0,t.jsxs)(u.default,{href:"/admin/leads",className:"inline-flex items-center gap-2 text-xs text-muted-foreground hover:text-foreground transition-colors",children:[(0,t.jsx)(d.default,{className:"w-3.5 h-3.5"})," Back to Leads Directory"]})}),(0,t.jsxs)("div",{className:"grid lg:grid-cols-3 gap-6",children:[(0,t.jsxs)("div",{className:"lg:col-span-1 space-y-6",children:[(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl space-y-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-full bg-gradient-to-br from-[hsl(36,82%,47%)] to-[hsl(42,88%,65%)] flex items-center justify-center text-[hsl(240,20%,7%)] font-bold text-lg",children:e.name?.charAt(0)??"?"}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"font-semibold text-foreground text-base",children:e.name}),(0,t.jsxs)("span",{className:"text-xs text-muted-foreground",children:["Enquired ",(0,j.formatRelativeDate)(e.created_at)]})]})]}),(0,t.jsxs)("div",{className:"border-t border-border pt-4 space-y-3 text-sm",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(n.Phone,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsx)("a",{href:`tel:${e.phone}`,className:"hover:text-foreground hover:underline",children:e.phone})]}),e.email&&(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(o.Mail,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsx)("a",{href:`mailto:${e.email}`,className:"hover:text-foreground hover:underline",children:e.email})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-muted-foreground",children:[(0,t.jsx)(c.ClipboardList,{className:"w-4 h-4 text-primary shrink-0"}),(0,t.jsxs)("span",{children:["Source: ",(0,t.jsx)("strong",{className:"text-foreground capitalize",children:e.source})]})]})]})]}),(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-4",children:"Lead Status & Agent Assignment"}),(0,t.jsxs)("form",{onSubmit:k(A),className:"space-y-4",children:[(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Lead Status"}),(0,t.jsxs)("select",{...M("status"),className:"h-10 w-full px-3 rounded-xl border border-border bg-card text-sm text-foreground focus:outline-none",children:[(0,t.jsx)("option",{value:"new",children:"New"}),(0,t.jsx)("option",{value:"contacted",children:"Contacted"}),(0,t.jsx)("option",{value:"qualified",children:"Qualified"}),(0,t.jsx)("option",{value:"site_visit",children:"Site Visit"}),(0,t.jsx)("option",{value:"negotiating",children:"Negotiating"}),(0,t.jsx)("option",{value:"closed_won",children:"Closed Won"}),(0,t.jsx)("option",{value:"closed_lost",children:"Closed Lost"}),(0,t.jsx)("option",{value:"junk",children:"Junk"})]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Assign Property Consultant"}),(0,t.jsxs)("select",{...M("assigned_to"),className:"h-10 w-full px-3 rounded-xl border border-border bg-card text-sm text-foreground focus:outline-none",children:[(0,t.jsx)("option",{value:"",children:"Unassigned"}),R.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,t.jsxs)("div",{className:"space-y-1.5",children:[(0,t.jsx)(p.Label,{children:"Next Follow-up Date"}),(0,t.jsx)(f.Input,{type:"date",...M("next_follow_up"),className:"bg-card border-border"})]}),(0,t.jsx)(m.Button,{type:"submit",variant:"gold",className:"w-full",disabled:T,children:T?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-4 h-4 animate-spin"})," Updating..."]}):"Update Lead"})]})]})]}),(0,t.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,t.jsxs)("div",{className:"glass-card p-6 rounded-2xl",children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-foreground mb-3",children:"Property Interest"}),(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-4 text-sm",children:[(0,t.jsxs)("div",{className:"p-3 bg-secondary/15 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-0.5",children:"Interested Project"}),(0,t.jsx)("div",{className:"font-semibold text-foreground",children:b?.name??"General Enquiry"})]}),e.property_type&&(0,t.jsxs)("div",{className:"p-3 bg-secondary/15 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-0.5",children:"Configuration Category"}),(0,t.jsx)("div",{className:"font-semibold text-foreground capitalize",children:e.property_type})]})]}),e.message&&(0,t.jsxs)("div",{className:"mt-4 p-4 bg-secondary/10 rounded-xl",children:[(0,t.jsx)("div",{className:"text-xs text-muted-foreground mb-1.5",children:"User Message"}),(0,t.jsx)("p",{className:"text-foreground text-sm leading-relaxed",children:e.message})]})]}),(0,t.jsxs)(h.Tabs,{defaultValue:"notes",className:"w-full",children:[(0,t.jsxs)(h.TabsList,{className:"w-full justify-start border-b border-border bg-transparent h-auto p-0 rounded-none mb-4",children:[(0,t.jsxs)(h.TabsTrigger,{value:"notes",className:"px-4 py-2 text-sm font-medium border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-transparent rounded-none",children:["Lead Notes (",N.length,")"]}),(0,t.jsxs)(h.TabsTrigger,{value:"activities",className:"px-4 py-2 text-sm font-medium border-b-2 border-transparent data-[state=active]:border-primary data-[state=active]:bg-transparent rounded-none",children:["Activity Audit (",w.length,")"]})]}),(0,t.jsxs)(h.TabsContent,{value:"notes",className:"space-y-4",children:[(0,t.jsxs)("form",{onSubmit:I($),className:"space-y-2",children:[(0,t.jsx)(g.Textarea,{...F("content"),placeholder:"Type notes from calls, site visits, or messages here...",className:"bg-card border-border min-h-[90px]"}),(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(m.Button,{type:"submit",variant:"gold",size:"sm",disabled:C,children:C?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.Loader2,{className:"w-3.5 h-3.5 animate-spin"})," Adding..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Send,{className:"w-3.5 h-3.5"})," Add Note"]})})})]}),(0,t.jsx)("div",{className:"space-y-3",children:0===N.length?(0,t.jsx)("p",{className:"text-center py-6 text-xs text-muted-foreground",children:"No notes recorded yet."}):N.map(e=>(0,t.jsxs)("div",{className:"p-4 bg-secondary/15 rounded-xl border border-border/50 text-sm",children:[(0,t.jsx)("p",{className:"text-foreground leading-relaxed",children:e.content}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-3 text-xs text-muted-foreground border-t border-border/30 pt-2",children:[(0,t.jsx)("span",{children:"By Agent"}),(0,t.jsx)("span",{children:(0,j.formatRelativeDate)(e.created_at)})]})]},e.id))})]}),(0,t.jsx)(h.TabsContent,{value:"activities",className:"space-y-3",children:0===w.length?(0,t.jsx)("p",{className:"text-center py-6 text-xs text-muted-foreground",children:"No activities recorded yet."}):w.map(e=>(0,t.jsxs)("div",{className:"p-3 bg-secondary/10 rounded-xl text-xs flex items-center justify-between border border-border/20",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"font-semibold text-foreground capitalize mr-2",children:e.action}),(0,t.jsx)("span",{className:"text-muted-foreground",children:e.description})]}),(0,t.jsx)("span",{className:"text-[10px] text-muted-foreground shrink-0 ml-4",children:(0,j.formatRelativeDate)(e.created_at)})]},e.id))})]})]})]})]})}],939621)}]);
@@ -1 +1 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,383204,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(618566),r=e.i(271645),s=e.i(846932),l=e.i(566595),o=e.i(420865),n=e.i(7219),c=e.i(43011),d=e.i(768877),m=e.i(519455),u=e.i(694164);let x=[{label:"Properties Listed",value:"2,500+"},{label:"Happy Families",value:"10,000+"},{label:"Cities Covered",value:"15+"},{label:"Trusted Builders",value:"200+"}];e.s(["HeroSection",0,function(){let e=(0,a.useRouter)(),[p,h]=(0,r.useState)(""),[g,f]=(0,r.useState)(""),[b,y]=(0,r.useState)("");return(0,t.jsxs)("section",{className:"relative min-h-screen flex items-center overflow-hidden",children:[(0,t.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-background via-card to-background"}),(0,t.jsx)("div",{className:"absolute top-1/4 right-1/4 w-[600px] h-[600px] bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-1/4 left-1/4 w-[400px] h-[400px] bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.015]",style:{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255,255,255)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")"}})]}),(0,t.jsxs)("div",{className:"relative z-10 container max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-24 pb-16",children:[(0,t.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-primary/20 bg-primary/10 text-primary text-sm font-medium mb-6",children:[(0,t.jsx)(c.Crown,{className:"w-4 h-4"}),"India's Premier Luxury Real Estate Platform"]})}),(0,t.jsxs)(s.motion.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"font-display text-5xl sm:text-6xl lg:text-7xl xl:text-8xl font-bold text-foreground leading-[1.05] mb-6",children:["Find Your"," ",(0,t.jsx)("span",{className:"text-gradient-gold",children:"Dream"}),(0,t.jsx)("br",{}),"Property"]}),(0,t.jsx)(s.motion.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-lg sm:text-xl text-muted-foreground max-w-2xl mx-auto mb-10 leading-relaxed",children:"Explore 2,500+ curated luxury properties across 15+ Indian cities. Premium apartments, villas, commercial spaces — all RERA verified."}),(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},children:(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault();let i=new URLSearchParams;p&&i.set("q",p),g&&i.set("city",g),b&&i.set("category",b),e.push(`/projects?${i.toString()}`)},className:"glass-card rounded-2xl p-3 lg:p-4 flex flex-col lg:flex-row gap-3 max-w-3xl mx-auto",children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)(l.Search,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),(0,t.jsx)("input",{type:"text",value:p,onChange:e=>h(e.target.value),placeholder:"Project name, builder, keyword...",className:"w-full pl-11 pr-4 py-3 bg-transparent text-foreground placeholder:text-muted-foreground/60 focus:outline-none text-sm"})]}),(0,t.jsxs)("div",{className:"relative lg:w-44",children:[(0,t.jsx)(o.MapPin,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsxs)("select",{value:g,onChange:e=>f(e.target.value),className:"w-full pl-9 pr-4 py-3 bg-secondary/50 border border-border rounded-xl text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-primary appearance-none",children:[(0,t.jsx)("option",{value:"",children:"All Cities"}),u.MAJOR_CITIES.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),(0,t.jsxs)("div",{className:"relative lg:w-44",children:[(0,t.jsx)(n.TrendingUp,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsxs)("select",{value:b,onChange:e=>y(e.target.value),className:"w-full pl-9 pr-4 py-3 bg-secondary/50 border border-border rounded-xl text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-primary appearance-none",children:[(0,t.jsx)("option",{value:"",children:"All Types"}),u.PROJECT_CATEGORIES.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]})]}),(0,t.jsxs)(m.Button,{type:"submit",variant:"gold",size:"lg",className:"lg:px-8",children:[(0,t.jsx)(l.Search,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Search"})]})]})}),(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.5},className:"flex flex-wrap justify-center gap-2 mt-6",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Popular:"}),["Luxury Apartments Mumbai","Villas Pune","Commercial Bangalore","New Launch Hyderabad"].map(e=>(0,t.jsx)("button",{onClick:()=>h(e),className:"text-xs text-primary hover:text-primary/80 underline underline-offset-2 transition-colors",children:e},e))]}),(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},className:"flex flex-wrap justify-center gap-4 mt-10",children:[(0,t.jsx)(m.Button,{variant:"gold",size:"xl",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects",children:["Explore All Properties",(0,t.jsx)(d.ArrowRight,{className:"w-5 h-5"})]})}),(0,t.jsx)(m.Button,{variant:"gold-outline",size:"xl",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects/luxury",children:[(0,t.jsx)(c.Crown,{className:"w-5 h-5"}),"Luxury Collection"]})})]})]}),(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mt-20 max-w-3xl mx-auto",children:x.map(e=>(0,t.jsxs)("div",{className:"text-center glass-card rounded-2xl p-4",children:[(0,t.jsx)("div",{className:"text-2xl lg:text-3xl font-display font-bold text-gradient-gold mb-1",children:e.value}),(0,t.jsx)("div",{className:"text-xs text-muted-foreground",children:e.label})]},e.label))})]}),(0,t.jsx)(s.motion.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",initial:{opacity:0},animate:{opacity:1,y:[0,8,0]},transition:{delay:1,duration:2,repeat:1/0},children:(0,t.jsx)("div",{className:"w-6 h-10 rounded-full border-2 border-primary/40 flex items-start justify-center pt-1.5",children:(0,t.jsx)("div",{className:"w-1.5 h-3 rounded-full bg-primary/60"})})})]})}])},820545,e=>{"use strict";var t=e.i(123413);e.s(["Award",()=>t.default])},568603,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(846932),r=e.i(749652);let s={some:0,all:1};var l=e.i(146387),o=e.i(882303),n=e.i(420865),c=e.i(786563),d=e.i(7219),m=e.i(820545);let u=[{label:"Properties Listed",value:2500,suffix:"+",icon:l.Building2,color:"text-primary"},{label:"Happy Families",value:1e4,suffix:"+",icon:o.Users,color:"text-green-400"},{label:"Cities Covered",value:15,suffix:"+",icon:n.MapPin,color:"text-blue-400"},{label:"Top Builders",value:200,suffix:"+",icon:c.Star,color:"text-purple-400"},{label:"Crore+ Deals Closed",value:500,suffix:"+",icon:d.TrendingUp,color:"text-amber-400"},{label:"Years Experience",value:12,suffix:"+",icon:m.Award,color:"text-pink-400"}];function x({target:e,suffix:a}){let[l,o]=(0,i.useState)(0),n=(0,i.useRef)(null),c=function(e,{root:t,margin:a,amount:l,once:o=!1,initial:n=!1}={}){let[c,d]=(0,i.useState)(n);return(0,i.useEffect)(()=>{if(!e.current||o&&c)return;let i={root:t&&t.current||void 0,margin:a,amount:l};return function(e,t,{root:i,margin:a,amount:l="some"}={}){let o=(0,r.resolveElements)(e),n=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let i=n.get(e.target);if(!!i!==e.isIntersecting)if(e.isIntersecting){let i=t(e.target,e);"function"==typeof i?n.set(e.target,i):c.unobserve(e.target)}else"function"==typeof i&&(i(e),n.delete(e.target))})},{root:i,rootMargin:a,threshold:"number"==typeof l?l:s[l]});return o.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),o?void 0:()=>d(!1)),i)},[t,e,a,o,l]),c}(n,{once:!0});return(0,i.useEffect)(()=>{if(!c)return;let t=e/60,i=0,a=setInterval(()=>{(i+=t)>=e?(o(e),clearInterval(a)):o(Math.floor(i))},2e3/60);return()=>clearInterval(a)},[c,e]),(0,t.jsxs)("span",{ref:n,children:[l.toLocaleString("en-IN"),a]})}e.s(["StatsSection",0,function(){return(0,t.jsx)("section",{className:"section-padding border-y border-border bg-card",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6",children:u.map((e,i)=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.08*i},className:"text-center group",children:[(0,t.jsx)("div",{className:"flex justify-center mb-3",children:(0,t.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-secondary/50 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:(0,t.jsx)(e.icon,{className:`w-6 h-6 ${e.color}`})})}),(0,t.jsx)("div",{className:`text-3xl lg:text-4xl font-display font-bold mb-1 ${e.color}`,children:(0,t.jsx)(x,{target:e.value,suffix:e.suffix})}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:e.label})]},e.label))})})})}],568603)},361050,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(146387),l=e.i(519455),o=e.i(218887);e.s(["FeaturedProjectsSection",0,function({projects:e}){return 0===e.length?null:(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(s.Building2,{className:"w-3.5 h-3.5 mr-1.5"}),"Featured Properties"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Handpicked Luxury Properties"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-2xl mx-auto",children:"Discover our curated collection of premium properties from India's most trusted builders — each vetted for quality and value."})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-10",children:e.map((e,i)=>(0,t.jsx)(o.PropertyCard,{project:e,index:i},e.id))}),(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)(l.Button,{variant:"gold-outline",size:"lg",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects",children:["View All Properties",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})})]})})}])},346358,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(43011),s=e.i(749817),l=e.i(146387),o=e.i(61876),n=e.i(88641),n=n,c=e.i(849862),d=e.i(7219),m=e.i(248403),m=m;let u=[{value:"luxury",label:"Luxury",description:"Ultra-premium residences",icon:r.Crown,color:"from-amber-500/20 to-yellow-600/20 border-amber-500/30",iconColor:"text-amber-400",href:"/projects/luxury"},{value:"residential",label:"Residential",description:"Comfortable family homes",icon:s.Home,color:"from-blue-500/20 to-indigo-600/20 border-blue-500/30",iconColor:"text-blue-400",href:"/projects/residential"},{value:"commercial",label:"Commercial",description:"Office & retail spaces",icon:l.Building2,color:"from-purple-500/20 to-violet-600/20 border-purple-500/30",iconColor:"text-purple-400",href:"/projects/commercial"},{value:"rental",label:"Rental",description:"Ready to move rentals",icon:o.Key,color:"from-green-500/20 to-emerald-600/20 border-green-500/30",iconColor:"text-green-400",href:"/projects/rental"},{value:"villa",label:"Villas",description:"Independent luxury villas",icon:n.default,color:"from-teal-500/20 to-cyan-600/20 border-teal-500/30",iconColor:"text-teal-400",href:"/projects?category=villa"},{value:"plot",label:"Plots",description:"Land & development plots",icon:c.Map,color:"from-orange-500/20 to-red-600/20 border-orange-500/30",iconColor:"text-orange-400",href:"/projects?category=plot"},{value:"new_launch",label:"New Launches",description:"Fresh listings at best prices",icon:d.TrendingUp,color:"from-pink-500/20 to-rose-600/20 border-pink-500/30",iconColor:"text-pink-400",href:"/projects?is_new_launch=true"},{value:"all",label:"All Projects",description:"Browse complete catalog",icon:m.default,color:"from-slate-500/20 to-gray-600/20 border-slate-500/30",iconColor:"text-slate-400",href:"/projects"}];e.s(["CategoriesSection",0,function(){return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Browse By Type"}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Find Your Perfect Property"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"From luxury penthouses to commercial spaces, we have every property type covered."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:u.map((e,r)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,scale:.92},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.06*r},children:(0,t.jsxs)(i.default,{href:e.href,className:`flex flex-col items-center text-center p-6 rounded-2xl border bg-gradient-to-br ${e.color} hover:scale-105 transition-all duration-300 group cursor-pointer`,children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-2xl bg-background/30 flex items-center justify-center mb-3 group-hover:scale-110 transition-transform duration-300",children:(0,t.jsx)(e.icon,{className:`w-7 h-7 ${e.iconColor}`})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground mb-1",children:e.label}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.description})]})},e.value))})]})})}],346358)},210184,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(420865),s=e.i(975157);let l={Mumbai:"https://images.unsplash.com/photo-1570168007204-dfb528c6958f?w=600&q=80",Pune:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Bangalore:"https://images.unsplash.com/photo-1596176530529-78163a4f7af2?w=600&q=80",Hyderabad:"https://images.unsplash.com/photo-1563789537395-76e0c9e11e7f?w=600&q=80",Chennai:"https://images.unsplash.com/photo-1582510003544-4d00b7f74220?w=600&q=80","Delhi NCR":"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Noida:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Gurgaon:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80"};e.s(["CitiesSection",0,function({cities:e}){let o=e.length>0?e:[{id:"1",name:"Mumbai",slug:"mumbai",image_url:l.Mumbai},{id:"2",name:"Pune",slug:"pune",image_url:l.Pune},{id:"3",name:"Bangalore",slug:"bangalore",image_url:l.Bangalore},{id:"4",name:"Hyderabad",slug:"hyderabad",image_url:l.Hyderabad},{id:"5",name:"Chennai",slug:"chennai",image_url:l.Chennai},{id:"6",name:"Delhi NCR",slug:"delhi-ncr",image_url:l["Delhi NCR"]},{id:"7",name:"Noida",slug:"noida",image_url:l.Noida},{id:"8",name:"Gurgaon",slug:"gurgaon",image_url:l.Gurgaon}];return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(r.MapPin,{className:"w-3.5 h-3.5 mr-1.5"}),"Top Cities"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Properties Across India"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"Explore premium real estate in India's most sought-after cities."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:o.map((e,o)=>{let n=e.image_url??l[e.name]??l.Mumbai;return(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.07*o},children:(0,t.jsxs)(i.default,{href:`/projects?city=${encodeURIComponent(e.name)}`,className:"relative group block rounded-2xl overflow-hidden h-44 md:h-52",children:[(0,t.jsx)("img",{src:(0,s.optimizeImageUrl)(n,500),alt:e.name,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-4",children:[(0,t.jsx)("h3",{className:"font-display text-lg font-bold text-white",children:e.name}),(0,t.jsxs)("p",{className:"text-xs text-white/70 flex items-center gap-1",children:[(0,t.jsx)(r.MapPin,{className:"w-3 h-3"}),"Explore Properties"]})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-primary/15 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-0.5 bg-gradient-to-r from-primary to-accent transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300"})]})},e.id)})})]})})}])},773965,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(146387),l=e.i(786563),o=e.i(519455),n=e.i(975157);e.s(["BuildersSection",0,function({builders:e}){return 0===e.length?null:(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(s.Building2,{className:"w-3.5 h-3.5 mr-1.5"}),"Trusted Builders"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"India's Leading Developers"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"We partner exclusively with India's most reputable and award-winning real estate developers."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:e.map((e,r)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.07*r},children:(0,t.jsxs)(i.default,{href:`/builders/${e.slug}`,className:"glass-card rounded-2xl p-5 flex flex-col items-center text-center hover:border-primary/40 transition-all duration-300 group h-full",children:[(0,t.jsx)("div",{className:"w-20 h-20 rounded-2xl bg-secondary/50 flex items-center justify-center mb-4 overflow-hidden group-hover:scale-105 transition-transform duration-300",children:e.logo?(0,t.jsx)("img",{src:(0,n.optimizeImageUrl)(e.logo,200),alt:e.name,width:60,height:60,className:"object-contain",loading:"lazy"}):(0,t.jsx)(s.Building2,{className:"w-8 h-8 text-primary"})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground text-sm mb-1 group-hover:text-primary transition-colors",children:e.name}),e.rating&&(0,t.jsxs)("div",{className:"flex items-center gap-1 mb-2",children:[(0,t.jsx)(l.Star,{className:"w-3.5 h-3.5 text-primary fill-current"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:e.rating})]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.total_projects||0," Projects"]})]})},e.id))}),(0,t.jsx)("div",{className:"text-center mt-10",children:(0,t.jsx)(o.Button,{variant:"gold-outline",size:"lg",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/builders",children:["View All Builders",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})})]})})}])},406584,e=>{"use strict";var t=e.i(843476),i=e.i(846932),a=e.i(786563),r=e.i(411463),r=r,s=e.i(975157);let l=[{id:"1",author_name:"Rajesh Sharma",author_designation:"IT Professional",author_company:"TCS, Bangalore",content:"PropVault made finding my dream 3BHK in Whitefield absolutely effortless. The team was professional, the listings were accurate, and they helped me with home loan paperwork too. Highly recommend!",rating:5,city:"Bangalore"},{id:"2",author_name:"Priya Patel",author_designation:"Entrepreneur",author_company:"Mumbai",content:"I was skeptical about online property platforms, but PropVault exceeded all expectations. Bought a luxury flat in BKC at a great price. Their RERA verification gave me complete confidence.",rating:5,city:"Mumbai"},{id:"3",author_name:"Arjun Mehta",author_designation:"Senior Manager",author_company:"HDFC Bank, Pune",content:"Found the perfect villa in Wakad through PropVault. The virtual tours saved so much time. The consultant, Vikram, was incredibly knowledgeable. Closed the deal in just 3 weeks!",rating:5,city:"Pune"},{id:"4",author_name:"Sunita Agarwal",author_designation:"Doctor",author_company:"Apollo Hospitals, Hyderabad",content:"PropVault's curated luxury collection is outstanding. Found an investment property in Gachibowli with excellent rental yield. The ROI calculator tool was particularly helpful.",rating:5,city:"Hyderabad"},{id:"5",author_name:"Vikram Reddy",author_designation:"Software Engineer",author_company:"Amazon, Chennai",content:"As a first-time buyer, I was nervous. PropVault's team guided me through every step — from shortlisting to registration. Now proud owner of a 2BHK in OMR. Best decision ever!",rating:5,city:"Chennai"},{id:"6",author_name:"Deepa Nair",author_designation:"CA",author_company:"Deloitte, Mumbai",content:"PropVault helped me invest in commercial real estate for the first time. Their market insights and due diligence reports are world-class. Already seeing 8% rental yield.",rating:5,city:"Mumbai"}];e.s(["TestimonialsSection",0,function({testimonials:e}){let o=e.length>0?e:l;return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Client Stories"}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"What Our Clients Say"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"10,000+ families have found their perfect home through PropVault."})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o.slice(0,6).map((e,l)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.08*l},className:"luxury-card p-6 flex flex-col",children:[(0,t.jsx)(r.default,{className:"w-8 h-8 text-primary/40 mb-4 shrink-0"}),(0,t.jsx)("div",{className:"flex gap-1 mb-4",children:Array.from({length:Number(e.rating)||5}).map((e,i)=>(0,t.jsx)(a.Star,{className:"w-4 h-4 text-primary fill-current"},i))}),(0,t.jsxs)("p",{className:"text-muted-foreground text-sm leading-relaxed flex-1 mb-5",children:['"',e.content,'"']}),(0,t.jsxs)("div",{className:"flex items-center gap-3 pt-4 border-t border-border",children:[e.author_avatar?(0,t.jsx)("img",{src:(0,s.optimizeImageUrl)(e.author_avatar,150),alt:e.author_name,width:44,height:44,className:"rounded-full object-cover w-11 h-11",loading:"lazy"}):(0,t.jsx)("div",{className:"w-11 h-11 rounded-full bg-gradient-to-br from-primary to-accent flex items-center justify-center text-primary-foreground font-bold text-sm",children:e.author_name.charAt(0)}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-foreground text-sm",children:e.author_name}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.author_designation,e.author_company&&` \xb7 ${e.author_company}`]}),e.city&&(0,t.jsx)("p",{className:"text-xs text-primary",children:e.city})]})]})]},e.id))})]})})}],406584)},966700,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(474544),l=e.i(856423),o=e.i(519455),n=e.i(487486),c=e.i(604829),d=e.i(975157);let m=[{id:"1",title:"Top 10 Luxury Residential Projects in Mumbai 2025",slug:"top-10-luxury-residential-projects-mumbai-2025",excerpt:"Discover the most sought-after luxury developments in Mumbai's premium micro-markets including BKC, Worli, and Lower Parel.",cover_image:"https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=800&q=80",category:"Market Trends",read_time_minutes:8,published_at:new Date(Date.now()-1728e5).toISOString()},{id:"2",title:"RERA Compliance Guide for Property Buyers in 2025",slug:"rera-compliance-guide-property-buyers-2025",excerpt:"Everything you need to know about RERA registration, how to verify projects, and protect yourself as a buyer.",cover_image:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80",category:"Legal & RERA",read_time_minutes:10,published_at:new Date(Date.now()-432e6).toISOString()},{id:"3",title:"Home Loan Guide: Get the Best Rate in 2025",slug:"home-loan-guide-best-rate-2025",excerpt:"Complete guide to home loans — interest rates, EMI calculations, eligibility, and tips to get the best deal from Indian banks.",cover_image:"https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&q=80",category:"Home Loan",read_time_minutes:12,published_at:new Date(Date.now()-6048e5).toISOString()}];e.s(["BlogSection",0,function({blogs:e}){let u=e.length>0?e:m;return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 mb-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"badge-gold mb-3 inline-flex",children:[(0,t.jsx)(l.BookOpen,{className:"w-3.5 h-3.5 mr-1.5"}),"Expert Insights"]}),(0,t.jsx)("h2",{className:"section-title text-3xl lg:text-4xl",children:"Real Estate Blog"})]}),(0,t.jsx)(o.Button,{variant:"gold-outline",size:"sm",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/blog",children:["View All Articles",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-3 gap-6",children:u.slice(0,3).map((e,r)=>(0,t.jsx)(a.motion.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1*r},className:"luxury-card overflow-hidden group",children:(0,t.jsxs)(i.default,{href:`/blog/${e.slug}`,children:[(0,t.jsxs)("div",{className:"relative h-48 overflow-hidden",children:[e.cover_image?(0,t.jsx)("img",{src:(0,d.optimizeImageUrl)(e.cover_image,600),alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}):(0,t.jsx)("div",{className:"h-full bg-gradient-to-br from-primary/20 to-secondary"}),(0,t.jsx)("div",{className:"absolute top-3 left-3",children:(0,t.jsx)(n.Badge,{variant:"gold",children:e.category})})]}),(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)("h3",{className:"font-display font-semibold text-foreground mb-2 line-clamp-2 group-hover:text-primary transition-colors duration-200",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-4",children:e.excerpt}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(s.Clock,{className:"w-3.5 h-3.5"}),e.read_time_minutes," min read"]}),e.published_at&&(0,t.jsx)("span",{children:(0,c.formatRelativeDate)(e.published_at)})]})]})]})},e.id))})]})})}])},852833,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(846932),r=e.i(96315),s=e.i(548161),l=e.i(632781),o=e.i(768877),n=e.i(846696),c=e.i(519455),d=e.i(793479),m=e.i(95187);let u=(0,m.createServerReference)("60c3e878a5afa0b68e0f379c586a25b3f2d5616d89",m.callServer,void 0,m.findSourceMapURL,"subscribeNewsletter");e.s(["NewsletterSection",0,function(){let[e,m]=(0,i.useState)(""),[x,p]=(0,i.useState)(!1),[h,g]=(0,i.useState)(!1),f=async t=>{if(t.preventDefault(),e.trim()){p(!0);try{let t=await u(e.trim());t.success?(g(!0),m("")):n.toast.error(t.error??"Failed to subscribe. Please try again.")}catch{n.toast.error("Something went wrong. Please try again.")}finally{p(!1)}}};return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative overflow-hidden rounded-3xl",style:{background:"linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--background)) 100%)",border:"1px solid hsl(var(--border))"},children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-72 h-72 bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-72 h-72 bg-primary/5 rounded-full blur-3xl"}),(0,t.jsxs)("div",{className:"relative z-10 px-8 py-16 lg:px-16 text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-primary/10 border border-primary/30 rounded-2xl flex items-center justify-center mx-auto mb-6",children:(0,t.jsx)(r.Mail,{className:"w-8 h-8 text-primary"})}),(0,t.jsx)("h2",{className:"section-title text-3xl lg:text-4xl mb-4",children:"Stay Ahead of the Market"}),(0,t.jsx)("p",{className:"text-muted-foreground text-lg mb-8 max-w-2xl mx-auto",children:"Get exclusive property alerts, market insights, new project launches, and investment tips delivered to your inbox — no spam, only value."}),h?(0,t.jsxs)(a.motion.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},className:"flex flex-col items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-green-500/15 rounded-full flex items-center justify-center",children:(0,t.jsx)(s.CheckCircle,{className:"w-6 h-6 text-green-400"})}),(0,t.jsx)("p",{className:"text-foreground font-semibold",children:"You're subscribed!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:"Thank you for joining our community of 50,000+ subscribers."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{onSubmit:f,className:"flex flex-col sm:flex-row gap-3 max-w-lg mx-auto mb-4",children:[(0,t.jsx)(d.Input,{type:"email",value:e,onChange:e=>m(e.target.value),placeholder:"Enter your email address",className:"flex-1 h-12 text-base",required:!0}),(0,t.jsx)(c.Button,{type:"submit",variant:"gold",size:"lg",disabled:x,className:"h-12 px-8",children:x?(0,t.jsx)(l.Loader2,{className:"w-4 h-4 animate-spin"}):(0,t.jsxs)(t.Fragment,{children:["Subscribe ",(0,t.jsx)(o.ArrowRight,{className:"w-4 h-4 ml-1"})]})})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Join 50,000+ subscribers · Unsubscribe anytime · No spam"})]})]})]})})})}],852833)},426281,e=>{"use strict";var t=e.i(843476),i=e.i(846932),a=e.i(982954),r=e.i(820545),s=e.i(882303),l=e.i(364569),o=e.i(90072),o=o,n=e.i(548161);let c=[{icon:a.Shield,title:"100% RERA Verified",description:"Every property listed is RERA registered and legally verified for complete peace of mind.",color:"text-green-400",bg:"bg-green-400/10 border-green-400/20"},{icon:r.Award,title:"Premium Builders Only",description:"We partner exclusively with India's most reputable and award-winning developers.",color:"text-primary",bg:"bg-primary/10 border-primary/20"},{icon:s.Users,title:"10,000+ Happy Families",description:"Over a decade of helping Indian families find their perfect home across 15+ cities.",color:"text-blue-400",bg:"bg-blue-400/10 border-blue-400/20"},{icon:l.Zap,title:"Instant Enquiry Response",description:"Our property consultants respond to every enquiry within 30 minutes, 7 days a week.",color:"text-purple-400",bg:"bg-purple-400/10 border-purple-400/20"},{icon:o.default,title:"End-to-End Assistance",description:"From site visits to home loans to registration — we're with you every step of the way.",color:"text-pink-400",bg:"bg-pink-400/10 border-pink-400/20"},{icon:n.CheckCircle,title:"Zero Brokerage",description:"We believe in transparency. No hidden fees, no brokerage charges on listed properties.",color:"text-teal-400",bg:"bg-teal-400/10 border-teal-400/20"}];e.s(["WhyUsSection",0,function(){return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Why Choose PropVault"}),(0,t.jsxs)("h2",{className:"section-title text-4xl lg:text-5xl mb-6",children:["India's Most Trusted",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-gradient-gold",children:"Real Estate Partner"})]}),(0,t.jsx)("div",{className:"gold-divider ml-0 my-6"}),(0,t.jsx)("p",{className:"text-muted-foreground text-lg leading-relaxed mb-8",children:"We've helped over 10,000 families find their dream homes since 2012. Our platform combines cutting-edge technology with personal expertise to deliver an unmatched property buying experience."}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:["12+ Years of Excellence","₹500 Cr+ in Transactions","ISO 9001:2015 Certified","Member of CREDAI & NAR India"].map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.CheckCircle,{className:"w-5 h-5 text-primary shrink-0"}),(0,t.jsx)("span",{className:"text-foreground font-medium",children:e})]},e))})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:c.map((e,a)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1*a},className:`p-5 rounded-2xl border ${e.bg} group hover:scale-[1.02] transition-transform duration-300`,children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsx)(e.icon,{className:`w-8 h-8 ${e.color}`})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground mb-1.5 text-sm",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed",children:e.description})]},e.title))})]})})})}],426281)}]);
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,383204,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(618566),r=e.i(271645),s=e.i(846932),l=e.i(566595),o=e.i(420865),n=e.i(7219),c=e.i(43011),d=e.i(768877),m=e.i(519455),u=e.i(694164);let x=[{label:"Properties Listed",value:"2,500+"},{label:"Happy Families",value:"10,000+"},{label:"Cities Covered",value:"15+"},{label:"Trusted Builders",value:"200+"}];e.s(["HeroSection",0,function(){let e=(0,a.useRouter)(),[p,h]=(0,r.useState)(""),[g,f]=(0,r.useState)(""),[b,y]=(0,r.useState)("");return(0,t.jsxs)("section",{className:"relative min-h-screen flex items-center overflow-hidden",children:[(0,t.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-background via-card to-background"}),(0,t.jsx)("div",{className:"absolute top-1/4 right-1/4 w-[600px] h-[600px] bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-1/4 left-1/4 w-[400px] h-[400px] bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute inset-0 opacity-[0.015]",style:{backgroundImage:"url(\"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(255,255,255)'%3e%3cpath d='M0 .5H31.5V32'/%3e%3c/svg%3e\")"}})]}),(0,t.jsxs)("div",{className:"relative z-10 container max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-24 pb-16",children:[(0,t.jsxs)("div",{className:"max-w-4xl mx-auto text-center",children:[(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 px-4 py-1.5 rounded-full border border-primary/20 bg-primary/10 text-primary text-sm font-medium mb-6",children:[(0,t.jsx)(c.Crown,{className:"w-4 h-4"}),"India's Premier Luxury Real Estate Platform"]})}),(0,t.jsxs)(s.motion.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.1},className:"font-display text-5xl sm:text-6xl lg:text-7xl xl:text-8xl font-bold text-foreground leading-[1.05] mb-6",children:["Find Your"," ",(0,t.jsx)("span",{className:"text-gradient-gold",children:"Dream"}),(0,t.jsx)("br",{}),"Property"]}),(0,t.jsx)(s.motion.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},className:"text-lg sm:text-xl text-muted-foreground max-w-2xl mx-auto mb-10 leading-relaxed",children:"Explore 2,500+ curated luxury properties across 15+ Indian cities. Premium apartments, villas, commercial spaces — all RERA verified."}),(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.7,delay:.3},children:(0,t.jsxs)("form",{onSubmit:t=>{t.preventDefault();let i=new URLSearchParams;p&&i.set("q",p),g&&i.set("city",g),b&&i.set("category",b),e.push(`/projects?${i.toString()}`)},className:"glass-card rounded-2xl p-3 lg:p-4 flex flex-col lg:flex-row gap-3 max-w-3xl mx-auto",children:[(0,t.jsxs)("div",{className:"relative flex-1",children:[(0,t.jsx)(l.Search,{className:"absolute left-3.5 top-1/2 -translate-y-1/2 w-5 h-5 text-muted-foreground"}),(0,t.jsx)("input",{type:"text",value:p,onChange:e=>h(e.target.value),placeholder:"Project name, builder, keyword...",className:"w-full pl-11 pr-4 py-3 bg-transparent text-foreground placeholder:text-muted-foreground/60 focus:outline-none text-sm"})]}),(0,t.jsxs)("div",{className:"relative lg:w-44",children:[(0,t.jsx)(o.MapPin,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsxs)("select",{value:g,onChange:e=>f(e.target.value),className:"w-full pl-9 pr-4 py-3 bg-secondary/50 border border-border rounded-xl text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-primary appearance-none",children:[(0,t.jsx)("option",{value:"",children:"All Cities"}),u.MAJOR_CITIES.map(e=>(0,t.jsx)("option",{value:e,children:e},e))]})]}),(0,t.jsxs)("div",{className:"relative lg:w-44",children:[(0,t.jsx)(n.TrendingUp,{className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground"}),(0,t.jsxs)("select",{value:b,onChange:e=>y(e.target.value),className:"w-full pl-9 pr-4 py-3 bg-secondary/50 border border-border rounded-xl text-sm text-foreground focus:outline-none focus:ring-1 focus:ring-primary appearance-none",children:[(0,t.jsx)("option",{value:"",children:"All Types"}),u.PROJECT_CATEGORIES.map(e=>(0,t.jsx)("option",{value:e.value,children:e.label},e.value))]})]}),(0,t.jsxs)(m.Button,{type:"submit",variant:"gold",size:"lg",className:"lg:px-8",children:[(0,t.jsx)(l.Search,{className:"w-4 h-4"}),(0,t.jsx)("span",{children:"Search"})]})]})}),(0,t.jsxs)(s.motion.div,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.6,delay:.5},className:"flex flex-wrap justify-center gap-2 mt-6",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:"Popular:"}),["Luxury Apartments Mumbai","Villas Pune","Commercial Bangalore","New Launch Hyderabad"].map(e=>(0,t.jsx)("button",{onClick:()=>h(e),className:"text-xs text-primary hover:text-primary/80 underline underline-offset-2 transition-colors",children:e},e))]}),(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},className:"flex flex-wrap justify-center gap-4 mt-10",children:[(0,t.jsx)(m.Button,{variant:"gold",size:"xl",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects",children:["Explore All Properties",(0,t.jsx)(d.ArrowRight,{className:"w-5 h-5"})]})}),(0,t.jsx)(m.Button,{variant:"gold-outline",size:"xl",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects/luxury",children:[(0,t.jsx)(c.Crown,{className:"w-5 h-5"}),"Luxury Collection"]})})]})]}),(0,t.jsx)(s.motion.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:.8,delay:.7},className:"grid grid-cols-2 lg:grid-cols-4 gap-4 mt-20 max-w-3xl mx-auto",children:x.map(e=>(0,t.jsxs)("div",{className:"text-center glass-card rounded-2xl p-4",children:[(0,t.jsx)("div",{className:"text-2xl lg:text-3xl font-display font-bold text-gradient-gold mb-1",children:e.value}),(0,t.jsx)("div",{className:"text-xs text-muted-foreground",children:e.label})]},e.label))})]}),(0,t.jsx)(s.motion.div,{className:"absolute bottom-8 left-1/2 -translate-x-1/2",initial:{opacity:0},animate:{opacity:1,y:[0,8,0]},transition:{delay:1,duration:2,repeat:1/0},children:(0,t.jsx)("div",{className:"w-6 h-10 rounded-full border-2 border-primary/40 flex items-start justify-center pt-1.5",children:(0,t.jsx)("div",{className:"w-1.5 h-3 rounded-full bg-primary/60"})})})]})}])},820545,e=>{"use strict";var t=e.i(123413);e.s(["Award",()=>t.default])},568603,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(846932),r=e.i(749652);let s={some:0,all:1};var l=e.i(146387),o=e.i(882303),n=e.i(420865),c=e.i(786563),d=e.i(7219),m=e.i(820545);let u=[{label:"Properties Listed",value:2500,suffix:"+",icon:l.Building2,color:"text-primary"},{label:"Happy Families",value:1e4,suffix:"+",icon:o.Users,color:"text-green-400"},{label:"Cities Covered",value:15,suffix:"+",icon:n.MapPin,color:"text-blue-400"},{label:"Top Builders",value:200,suffix:"+",icon:c.Star,color:"text-purple-400"},{label:"Crore+ Deals Closed",value:500,suffix:"+",icon:d.TrendingUp,color:"text-amber-400"},{label:"Years Experience",value:12,suffix:"+",icon:m.Award,color:"text-pink-400"}];function x({target:e,suffix:a}){let[l,o]=(0,i.useState)(0),n=(0,i.useRef)(null),c=function(e,{root:t,margin:a,amount:l,once:o=!1,initial:n=!1}={}){let[c,d]=(0,i.useState)(n);return(0,i.useEffect)(()=>{if(!e.current||o&&c)return;let i={root:t&&t.current||void 0,margin:a,amount:l};return function(e,t,{root:i,margin:a,amount:l="some"}={}){let o=(0,r.resolveElements)(e),n=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let i=n.get(e.target);if(!!i!==e.isIntersecting)if(e.isIntersecting){let i=t(e.target,e);"function"==typeof i?n.set(e.target,i):c.unobserve(e.target)}else"function"==typeof i&&(i(e),n.delete(e.target))})},{root:i,rootMargin:a,threshold:"number"==typeof l?l:s[l]});return o.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(d(!0),o?void 0:()=>d(!1)),i)},[t,e,a,o,l]),c}(n,{once:!0});return(0,i.useEffect)(()=>{if(!c)return;let t=e/60,i=0,a=setInterval(()=>{(i+=t)>=e?(o(e),clearInterval(a)):o(Math.floor(i))},2e3/60);return()=>clearInterval(a)},[c,e]),(0,t.jsxs)("span",{ref:n,children:[l.toLocaleString("en-IN"),a]})}e.s(["StatsSection",0,function(){return(0,t.jsx)("section",{className:"section-padding border-y border-border bg-card",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-6",children:u.map((e,i)=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.08*i},className:"text-center group",children:[(0,t.jsx)("div",{className:"flex justify-center mb-3",children:(0,t.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-secondary/50 flex items-center justify-center group-hover:scale-110 transition-transform duration-300",children:(0,t.jsx)(e.icon,{className:`w-6 h-6 ${e.color}`})})}),(0,t.jsx)("div",{className:`text-3xl lg:text-4xl font-display font-bold mb-1 ${e.color}`,children:(0,t.jsx)(x,{target:e.value,suffix:e.suffix})}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground font-medium",children:e.label})]},e.label))})})})}],568603)},361050,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(146387),l=e.i(519455),o=e.i(218887);e.s(["FeaturedProjectsSection",0,function({projects:e}){return 0===e.length?null:(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(s.Building2,{className:"w-3.5 h-3.5 mr-1.5"}),"Featured Properties"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Handpicked Luxury Properties"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-2xl mx-auto",children:"Discover our curated collection of premium properties from India's most trusted builders — each vetted for quality and value."})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-10",children:e.map((e,i)=>(0,t.jsx)(o.PropertyCard,{project:e,index:i},e.id))}),(0,t.jsx)("div",{className:"text-center",children:(0,t.jsx)(l.Button,{variant:"gold-outline",size:"lg",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/projects",children:["View All Properties",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})})]})})}])},346358,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(43011),s=e.i(749817),l=e.i(146387),o=e.i(61876),n=e.i(88641),n=n,c=e.i(849862),d=e.i(7219),m=e.i(248403),m=m;let u=[{value:"luxury",label:"Luxury",description:"Ultra-premium residences",icon:r.Crown,color:"from-amber-500/20 to-yellow-600/20 border-amber-500/30",iconColor:"text-amber-400",href:"/projects/luxury"},{value:"residential",label:"Residential",description:"Comfortable family homes",icon:s.Home,color:"from-blue-500/20 to-indigo-600/20 border-blue-500/30",iconColor:"text-blue-400",href:"/projects/residential"},{value:"commercial",label:"Commercial",description:"Office & retail spaces",icon:l.Building2,color:"from-purple-500/20 to-violet-600/20 border-purple-500/30",iconColor:"text-purple-400",href:"/projects/commercial"},{value:"rental",label:"Rental",description:"Ready to move rentals",icon:o.Key,color:"from-green-500/20 to-emerald-600/20 border-green-500/30",iconColor:"text-green-400",href:"/projects/rental"},{value:"villa",label:"Villas",description:"Independent luxury villas",icon:n.default,color:"from-teal-500/20 to-cyan-600/20 border-teal-500/30",iconColor:"text-teal-400",href:"/projects?category=villa"},{value:"plot",label:"Plots",description:"Land & development plots",icon:c.Map,color:"from-orange-500/20 to-red-600/20 border-orange-500/30",iconColor:"text-orange-400",href:"/projects?category=plot"},{value:"new_launch",label:"New Launches",description:"Fresh listings at best prices",icon:d.TrendingUp,color:"from-pink-500/20 to-rose-600/20 border-pink-500/30",iconColor:"text-pink-400",href:"/projects?is_new_launch=true"},{value:"all",label:"All Projects",description:"Browse complete catalog",icon:m.default,color:"from-slate-500/20 to-gray-600/20 border-slate-500/30",iconColor:"text-slate-400",href:"/projects"}];e.s(["CategoriesSection",0,function(){return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Browse By Type"}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Find Your Perfect Property"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"From luxury penthouses to commercial spaces, we have every property type covered."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:u.map((e,r)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,scale:.92},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.4,delay:.06*r},children:(0,t.jsxs)(i.default,{href:e.href,className:`flex flex-col items-center text-center p-6 rounded-2xl border bg-gradient-to-br ${e.color} hover:scale-105 transition-all duration-300 group cursor-pointer`,children:[(0,t.jsx)("div",{className:"w-14 h-14 rounded-2xl bg-background/30 flex items-center justify-center mb-3 group-hover:scale-110 transition-transform duration-300",children:(0,t.jsx)(e.icon,{className:`w-7 h-7 ${e.iconColor}`})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground mb-1",children:e.label}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:e.description})]})},e.value))})]})})}],346358)},210184,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(420865),s=e.i(975157);let l={Mumbai:"https://images.unsplash.com/photo-1570168007204-dfb528c6958f?w=600&q=80",Pune:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Bangalore:"https://images.unsplash.com/photo-1596176530529-78163a4f7af2?w=600&q=80",Hyderabad:"https://images.unsplash.com/photo-1563789537395-76e0c9e11e7f?w=600&q=80",Chennai:"https://images.unsplash.com/photo-1582510003544-4d00b7f74220?w=600&q=80","Delhi NCR":"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Noida:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80",Gurgaon:"https://images.unsplash.com/photo-1587474260584-136574528ed5?w=600&q=80"};e.s(["CitiesSection",0,function({cities:e}){let o=e.length>0?e:[{id:"1",name:"Mumbai",slug:"mumbai",image_url:l.Mumbai},{id:"2",name:"Pune",slug:"pune",image_url:l.Pune},{id:"3",name:"Bangalore",slug:"bangalore",image_url:l.Bangalore},{id:"4",name:"Hyderabad",slug:"hyderabad",image_url:l.Hyderabad},{id:"5",name:"Chennai",slug:"chennai",image_url:l.Chennai},{id:"6",name:"Delhi NCR",slug:"delhi-ncr",image_url:l["Delhi NCR"]},{id:"7",name:"Noida",slug:"noida",image_url:l.Noida},{id:"8",name:"Gurgaon",slug:"gurgaon",image_url:l.Gurgaon}];return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(r.MapPin,{className:"w-3.5 h-3.5 mr-1.5"}),"Top Cities"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"Properties Across India"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"Explore premium real estate in India's most sought-after cities."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4",children:o.map((e,o)=>{let n=e.image_url??l[e.name]??l.Mumbai;return(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.07*o},children:(0,t.jsxs)(i.default,{href:`/projects?city=${encodeURIComponent(e.name)}`,className:"relative group block rounded-2xl overflow-hidden h-44 md:h-52",children:[(0,t.jsx)("img",{src:(0,s.optimizeImageUrl)(n,500),alt:e.name,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-110",loading:"lazy"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent"}),(0,t.jsxs)("div",{className:"absolute bottom-0 left-0 right-0 p-4",children:[(0,t.jsx)("h3",{className:"font-display text-lg font-bold text-white",children:e.name}),(0,t.jsxs)("p",{className:"text-xs text-white/70 flex items-center gap-1",children:[(0,t.jsx)(r.MapPin,{className:"w-3 h-3"}),"Explore Properties"]})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-primary/15 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,t.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-0.5 bg-gradient-to-r from-primary to-accent transform scale-x-0 group-hover:scale-x-100 transition-transform duration-300"})]})},e.id)})})]})})}])},773965,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(146387),l=e.i(786563),o=e.i(519455),n=e.i(975157);e.s(["BuildersSection",0,function({builders:e}){return 0===e.length?null:(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsxs)("span",{className:"badge-gold mb-4 inline-flex",children:[(0,t.jsx)(s.Building2,{className:"w-3.5 h-3.5 mr-1.5"}),"Trusted Builders"]}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"India's Leading Developers"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"We partner exclusively with India's most reputable and award-winning real estate developers."})]}),(0,t.jsx)("div",{className:"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4",children:e.map((e,r)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.07*r},children:(0,t.jsxs)(i.default,{href:`/builders/${e.slug}`,className:"glass-card rounded-2xl p-5 flex flex-col items-center text-center hover:border-primary/40 transition-all duration-300 group h-full",children:[(0,t.jsx)("div",{className:"w-20 h-20 rounded-2xl bg-secondary/50 flex items-center justify-center mb-4 overflow-hidden group-hover:scale-105 transition-transform duration-300",children:e.logo?(0,t.jsx)("img",{src:(0,n.optimizeImageUrl)(e.logo,200),alt:e.name,width:60,height:60,className:"object-contain",loading:"lazy"}):(0,t.jsx)(s.Building2,{className:"w-8 h-8 text-primary"})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground text-sm mb-1 group-hover:text-primary transition-colors",children:e.name}),e.rating&&(0,t.jsxs)("div",{className:"flex items-center gap-1 mb-2",children:[(0,t.jsx)(l.Star,{className:"w-3.5 h-3.5 text-primary fill-current"}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:e.rating})]}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.total_projects||0," Projects"]})]})},e.id))}),(0,t.jsx)("div",{className:"text-center mt-10",children:(0,t.jsx)(o.Button,{variant:"gold-outline",size:"lg",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/builders",children:["View All Builders",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})})]})})}])},406584,e=>{"use strict";var t=e.i(843476),i=e.i(846932),a=e.i(786563),r=e.i(411463),r=r,s=e.i(975157);let l=[{id:"1",author_name:"Rajesh Sharma",author_designation:"IT Professional",author_company:"TCS, Bangalore",content:"PropVault made finding my dream 3BHK in Whitefield absolutely effortless. The team was professional, the listings were accurate, and they helped me with home loan paperwork too. Highly recommend!",rating:5,city:"Bangalore"},{id:"2",author_name:"Priya Patel",author_designation:"Entrepreneur",author_company:"Mumbai",content:"I was skeptical about online property platforms, but PropVault exceeded all expectations. Bought a luxury flat in BKC at a great price. Their RERA verification gave me complete confidence.",rating:5,city:"Mumbai"},{id:"3",author_name:"Arjun Mehta",author_designation:"Senior Manager",author_company:"HDFC Bank, Pune",content:"Found the perfect villa in Wakad through PropVault. The virtual tours saved so much time. The consultant, Vikram, was incredibly knowledgeable. Closed the deal in just 3 weeks!",rating:5,city:"Pune"},{id:"4",author_name:"Sunita Agarwal",author_designation:"Doctor",author_company:"Apollo Hospitals, Hyderabad",content:"PropVault's curated luxury collection is outstanding. Found an investment property in Gachibowli with excellent rental yield. The ROI calculator tool was particularly helpful.",rating:5,city:"Hyderabad"},{id:"5",author_name:"Vikram Reddy",author_designation:"Software Engineer",author_company:"Amazon, Chennai",content:"As a first-time buyer, I was nervous. PropVault's team guided me through every step — from shortlisting to registration. Now proud owner of a 2BHK in OMR. Best decision ever!",rating:5,city:"Chennai"},{id:"6",author_name:"Deepa Nair",author_designation:"CA",author_company:"Deloitte, Mumbai",content:"PropVault helped me invest in commercial real estate for the first time. Their market insights and due diligence reports are world-class. Already seeing 8% rental yield.",rating:5,city:"Mumbai"}];e.s(["TestimonialsSection",0,function({testimonials:e}){let o=e.length>0?e:l;return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Client Stories"}),(0,t.jsx)("h2",{className:"section-title text-4xl lg:text-5xl mb-4",children:"What Our Clients Say"}),(0,t.jsx)("div",{className:"gold-divider"}),(0,t.jsx)("p",{className:"section-subtitle mt-4 max-w-xl mx-auto",children:"10,000+ families have found their perfect home through PropVault."})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-6",children:o.slice(0,6).map((e,l)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.08*l},className:"luxury-card p-6 flex flex-col",children:[(0,t.jsx)(r.default,{className:"w-8 h-8 text-primary/40 mb-4 shrink-0"}),(0,t.jsx)("div",{className:"flex gap-1 mb-4",children:Array.from({length:Number(e.rating)||5}).map((e,i)=>(0,t.jsx)(a.Star,{className:"w-4 h-4 text-primary fill-current"},i))}),(0,t.jsxs)("p",{className:"text-muted-foreground text-sm leading-relaxed flex-1 mb-5",children:['"',e.content,'"']}),(0,t.jsxs)("div",{className:"flex items-center gap-3 pt-4 border-t border-border",children:[e.author_avatar?(0,t.jsx)("img",{src:(0,s.optimizeImageUrl)(e.author_avatar,150),alt:e.author_name,width:44,height:44,className:"rounded-full object-cover w-11 h-11",loading:"lazy"}):(0,t.jsx)("div",{className:"w-11 h-11 rounded-full bg-gradient-to-br from-primary to-accent flex items-center justify-center text-primary-foreground font-bold text-sm",children:e.author_name.charAt(0)}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"font-semibold text-foreground text-sm",children:e.author_name}),(0,t.jsxs)("p",{className:"text-xs text-muted-foreground",children:[e.author_designation,e.author_company&&` \xb7 ${e.author_company}`]}),e.city&&(0,t.jsx)("p",{className:"text-xs text-primary",children:e.city})]})]})]},e.id))})]})})}],406584)},966700,e=>{"use strict";var t=e.i(843476),i=e.i(522016),a=e.i(846932),r=e.i(768877),s=e.i(474544),l=e.i(856423),o=e.i(519455),n=e.i(487486),c=e.i(604829),d=e.i(975157);let m=[{id:"1",title:"Top 10 Luxury Residential Projects in Mumbai 2025",slug:"top-10-luxury-residential-projects-mumbai-2025",excerpt:"Discover the most sought-after luxury developments in Mumbai's premium micro-markets including BKC, Worli, and Lower Parel.",cover_image:"https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?w=800&q=80",category:"Market Trends",read_time_minutes:8,published_at:new Date(Date.now()-1728e5).toISOString()},{id:"2",title:"RERA Compliance Guide for Property Buyers in 2025",slug:"rera-compliance-guide-property-buyers-2025",excerpt:"Everything you need to know about RERA registration, how to verify projects, and protect yourself as a buyer.",cover_image:"https://images.unsplash.com/photo-1450101499163-c8848c66ca85?w=800&q=80",category:"Legal & RERA",read_time_minutes:10,published_at:new Date(Date.now()-432e6).toISOString()},{id:"3",title:"Home Loan Guide: Get the Best Rate in 2025",slug:"home-loan-guide-best-rate-2025",excerpt:"Complete guide to home loans — interest rates, EMI calculations, eligibility, and tips to get the best deal from Indian banks.",cover_image:"https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=800&q=80",category:"Home Loan",read_time_minutes:12,published_at:new Date(Date.now()-6048e5).toISOString()}];e.s(["BlogSection",0,function({blogs:e}){let u=e.length>0?e:m;return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsxs)("div",{className:"section-container",children:[(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-4 mb-12",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("span",{className:"badge-gold mb-3 inline-flex",children:[(0,t.jsx)(l.BookOpen,{className:"w-3.5 h-3.5 mr-1.5"}),"Expert Insights"]}),(0,t.jsx)("h2",{className:"section-title text-3xl lg:text-4xl",children:"Real Estate Blog"})]}),(0,t.jsx)(o.Button,{variant:"gold-outline",size:"sm",asChild:!0,children:(0,t.jsxs)(i.default,{href:"/blog",children:["View All Articles",(0,t.jsx)(r.ArrowRight,{className:"w-4 h-4 ml-1"})]})})]}),(0,t.jsx)("div",{className:"grid md:grid-cols-3 gap-6",children:u.slice(0,3).map((e,r)=>(0,t.jsx)(a.motion.article,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1*r},className:"luxury-card overflow-hidden group",children:(0,t.jsxs)(i.default,{href:`/blog/${e.slug}`,children:[(0,t.jsxs)("div",{className:"relative h-48 overflow-hidden",children:[e.cover_image?(0,t.jsx)("img",{src:(0,d.optimizeImageUrl)(e.cover_image,600),alt:e.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"}):(0,t.jsx)("div",{className:"h-full bg-gradient-to-br from-primary/20 to-secondary"}),(0,t.jsx)("div",{className:"absolute top-3 left-3",children:(0,t.jsx)(n.Badge,{variant:"gold",children:e.category})})]}),(0,t.jsxs)("div",{className:"p-5",children:[(0,t.jsx)("h3",{className:"font-display font-semibold text-foreground mb-2 line-clamp-2 group-hover:text-primary transition-colors duration-200",children:e.title}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-4",children:e.excerpt}),(0,t.jsxs)("div",{className:"flex items-center justify-between text-xs text-muted-foreground",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(s.Clock,{className:"w-3.5 h-3.5"}),e.read_time_minutes," min read"]}),e.published_at&&(0,t.jsx)("span",{children:(0,c.formatRelativeDate)(e.published_at)})]})]})]})},e.id))})]})})}])},852833,e=>{"use strict";var t=e.i(843476),i=e.i(271645),a=e.i(846932),r=e.i(96315),s=e.i(548161),l=e.i(632781),o=e.i(768877),n=e.i(846696),c=e.i(519455),d=e.i(793479),m=e.i(95187);let u=(0,m.createServerReference)("6035faf56b23c5839fb8bcb9d5d52e4c3f9c5bdca7",m.callServer,void 0,m.findSourceMapURL,"subscribeNewsletter");e.s(["NewsletterSection",0,function(){let[e,m]=(0,i.useState)(""),[x,p]=(0,i.useState)(!1),[h,g]=(0,i.useState)(!1),f=async t=>{if(t.preventDefault(),e.trim()){p(!0);try{let t=await u(e.trim());t.success?(g(!0),m("")):n.toast.error(t.error??"Failed to subscribe. Please try again.")}catch{n.toast.error("Something went wrong. Please try again.")}finally{p(!1)}}};return(0,t.jsx)("section",{className:"section-padding",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"relative overflow-hidden rounded-3xl",style:{background:"linear-gradient(135deg, hsl(var(--card)) 0%, hsl(var(--background)) 100%)",border:"1px solid hsl(var(--border))"},children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-72 h-72 bg-primary/5 rounded-full blur-3xl"}),(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-72 h-72 bg-primary/5 rounded-full blur-3xl"}),(0,t.jsxs)("div",{className:"relative z-10 px-8 py-16 lg:px-16 text-center",children:[(0,t.jsx)("div",{className:"w-16 h-16 bg-primary/10 border border-primary/30 rounded-2xl flex items-center justify-center mx-auto mb-6",children:(0,t.jsx)(r.Mail,{className:"w-8 h-8 text-primary"})}),(0,t.jsx)("h2",{className:"section-title text-3xl lg:text-4xl mb-4",children:"Stay Ahead of the Market"}),(0,t.jsx)("p",{className:"text-muted-foreground text-lg mb-8 max-w-2xl mx-auto",children:"Get exclusive property alerts, market insights, new project launches, and investment tips delivered to your inbox — no spam, only value."}),h?(0,t.jsxs)(a.motion.div,{initial:{scale:.8,opacity:0},animate:{scale:1,opacity:1},className:"flex flex-col items-center gap-3",children:[(0,t.jsx)("div",{className:"w-12 h-12 bg-green-500/15 rounded-full flex items-center justify-center",children:(0,t.jsx)(s.CheckCircle,{className:"w-6 h-6 text-green-400"})}),(0,t.jsx)("p",{className:"text-foreground font-semibold",children:"You're subscribed!"}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:"Thank you for joining our community of 50,000+ subscribers."})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{onSubmit:f,className:"flex flex-col sm:flex-row gap-3 max-w-lg mx-auto mb-4",children:[(0,t.jsx)(d.Input,{type:"email",value:e,onChange:e=>m(e.target.value),placeholder:"Enter your email address",className:"flex-1 h-12 text-base",required:!0}),(0,t.jsx)(c.Button,{type:"submit",variant:"gold",size:"lg",disabled:x,className:"h-12 px-8",children:x?(0,t.jsx)(l.Loader2,{className:"w-4 h-4 animate-spin"}):(0,t.jsxs)(t.Fragment,{children:["Subscribe ",(0,t.jsx)(o.ArrowRight,{className:"w-4 h-4 ml-1"})]})})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"Join 50,000+ subscribers · Unsubscribe anytime · No spam"})]})]})]})})})}],852833)},426281,e=>{"use strict";var t=e.i(843476),i=e.i(846932),a=e.i(982954),r=e.i(820545),s=e.i(882303),l=e.i(364569),o=e.i(90072),o=o,n=e.i(548161);let c=[{icon:a.Shield,title:"100% RERA Verified",description:"Every property listed is RERA registered and legally verified for complete peace of mind.",color:"text-green-400",bg:"bg-green-400/10 border-green-400/20"},{icon:r.Award,title:"Premium Builders Only",description:"We partner exclusively with India's most reputable and award-winning developers.",color:"text-primary",bg:"bg-primary/10 border-primary/20"},{icon:s.Users,title:"10,000+ Happy Families",description:"Over a decade of helping Indian families find their perfect home across 15+ cities.",color:"text-blue-400",bg:"bg-blue-400/10 border-blue-400/20"},{icon:l.Zap,title:"Instant Enquiry Response",description:"Our property consultants respond to every enquiry within 30 minutes, 7 days a week.",color:"text-purple-400",bg:"bg-purple-400/10 border-purple-400/20"},{icon:o.default,title:"End-to-End Assistance",description:"From site visits to home loans to registration — we're with you every step of the way.",color:"text-pink-400",bg:"bg-pink-400/10 border-pink-400/20"},{icon:n.CheckCircle,title:"Zero Brokerage",description:"We believe in transparency. No hidden fees, no brokerage charges on listed properties.",color:"text-teal-400",bg:"bg-teal-400/10 border-teal-400/20"}];e.s(["WhyUsSection",0,function(){return(0,t.jsx)("section",{className:"section-padding bg-card",children:(0,t.jsx)("div",{className:"section-container",children:(0,t.jsxs)("div",{className:"grid lg:grid-cols-2 gap-16 items-center",children:[(0,t.jsxs)(i.motion.div,{initial:{opacity:0,x:-30},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.6},children:[(0,t.jsx)("span",{className:"badge-gold mb-4 inline-flex",children:"Why Choose PropVault"}),(0,t.jsxs)("h2",{className:"section-title text-4xl lg:text-5xl mb-6",children:["India's Most Trusted",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-gradient-gold",children:"Real Estate Partner"})]}),(0,t.jsx)("div",{className:"gold-divider ml-0 my-6"}),(0,t.jsx)("p",{className:"text-muted-foreground text-lg leading-relaxed mb-8",children:"We've helped over 10,000 families find their dream homes since 2012. Our platform combines cutting-edge technology with personal expertise to deliver an unmatched property buying experience."}),(0,t.jsx)("div",{className:"flex flex-col gap-3",children:["12+ Years of Excellence","₹500 Cr+ in Transactions","ISO 9001:2015 Certified","Member of CREDAI & NAR India"].map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(n.CheckCircle,{className:"w-5 h-5 text-primary shrink-0"}),(0,t.jsx)("span",{className:"text-foreground font-medium",children:e})]},e))})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:c.map((e,a)=>(0,t.jsxs)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.4,delay:.1*a},className:`p-5 rounded-2xl border ${e.bg} group hover:scale-[1.02] transition-transform duration-300`,children:[(0,t.jsx)("div",{className:"mb-3",children:(0,t.jsx)(e.icon,{className:`w-8 h-8 ${e.color}`})}),(0,t.jsx)("h3",{className:"font-semibold text-foreground mb-1.5 text-sm",children:e.title}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground leading-relaxed",children:e.description})]},e.title))})]})})})}],426281)}]);