PageSourceSearch

https://callpaulsrx.vercel.app/_next/static/chunks/caa090c5b7abc4a5.js?dpl=dpl_EMk3fxdQu2BzQ7c9J4Z29gZ8RPAH

js callpaulsrx.vercel.app collected 2026-10-03 06:20:43 UTC 25,259 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,53536,e=>{"use strict";e.s(["easings",()=>s,"fadeInLeft",()=>n,"fadeInRight",()=>i,"fadeInUp",()=>r,"fadeUp",()=>t,"staggerContainer",()=>a]);let t={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:[.25,.46,.45,.94]}}},r={initial:{opacity:0,y:40},animate:{opacity:1,y:0},exit:{opacity:0,y:-20}},n={initial:{opacity:0,x:-60},animate:{opacity:1,x:0},exit:{opacity:0,x:60}},i={initial:{opacity:0,x:60},animate:{opacity:1,x:0},exit:{opacity:0,x:-60}},a={initial:{},animate:{transition:{staggerChildren:.1,delayChildren:.1}}},s={easeOutExpo:[.16,1,.3,1],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],spring:{type:"spring",stiffness:100,damping:15},springBouncy:{type:"spring",stiffness:300,damping:20},springSmooth:{type:"spring",stiffness:80,damping:20}}},36579,e=>{"use strict";e.s(["default",()=>r]);var t=e.i(43476);function r(e){let{children:r,variant:n="blue"}=e;return"white"===n?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[1.5px] text-white",children:[(0,t.jsx)("span",{className:"w-8 h-px bg-white/40"}),r]}):(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 text-xs font-semibold uppercase tracking-[1.5px] text-primary",children:[(0,t.jsx)("span",{className:"w-8 h-px bg-primary/40"}),r]})}},44087,e=>{"use strict";e.s(["default",()=>l]);var t=e.i(43476),r=e.i(57688),n=e.i(46932),i=e.i(53536),a=e.i(28540),s=e.i(36579),o=e.i(11367);function l(e){var l,c,d;let{data:p,fallbackTitle:m,fallbackSubtitle:u,fallbackTag:x}=e,h=(0,o.t)(null==p?void 0:p.tagline)||x||"",f=(0,o.t)(null==p?void 0:p.title)||m||"",g=(0,o.t)(null==p?void 0:p.description)||u||"",y=(null==p||null==(d=p.assets)||null==(c=d[0])||null==(l=c.image)?void 0:l.url)??"";return(0,t.jsx)(a.default,{as:"section",className:"py-8 md:py-16",children:(0,t.jsxs)("div",{className:"relative rounded-[30px] sm:rounded-[40px] overflow-hidden min-h-[220px] sm:min-h-[280px] lg:min-h-[320px] flex items-center",children:[y?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{src:y,alt:"",fill:!0,className:"object-cover"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-primary-dark/80"})]}):(0,t.jsx)("div",{className:"absolute inset-0 bg-primary-dark"}),(0,t.jsxs)(n.motion.div,{className:"relative px-6 sm:px-[60px] lg:px-[100px] py-10 sm:py-14 max-w-[800px]",...i.fadeInUp,viewport:{once:!0},children:[h&&(0,t.jsx)("div",{className:"mb-5 sm:mb-[30px]",children:(0,t.jsx)(s.default,{variant:"white",children:h})}),(0,t.jsx)("h1",{className:"font-serif text-xl md:text-[26px] lg:text-[32px] font-normal tracking-[-1px] lg:tracking-[-1.5px] leading-[1.25] text-white",children:f}),g&&(0,t.jsx)("p",{className:"text-base sm:text-lg lg:text-xl font-normal leading-[1.5] text-white/80 mt-4 sm:mt-6 max-w-[600px]",children:g})]})]})})}},95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(r,{callServer:function(){return n.callServer},createServerReference:function(){return a.createServerReference},findSourceMapURL:function(){return i.findSourceMapURL}});let n=e.r(32120),i=e.r(92245),a=e.r(35326)},47161,82108,e=>{"use strict";e.s(["usePhoneFormatter",()=>r],47161);var t=e.i(71645);let r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[n,i]=(0,t.useState)(""),[a,s]=(0,t.useState)(""),[o,l]=(0,t.useState)(""),c=(0,t.useRef)(0),d=r.validateLength??!0,p=e=>{let t=e.replace(/\D/g,"");s(t=t.slice(0,10)),c.current=t.length,d&&t.length>0&&10!==t.length?l("Phone number must be exactly 10 digits."):t.length>0?l(""):l(e=>"Required"===e?"Required":""),i((e=>{let t=e.replace(/\D/g,"").slice(0,10),r="";return t.length>0&&(r+="("+t.slice(0,3)),t.length>=3&&(r+=") "),t.length>=6?r+=t.slice(3,6)+"-":t.length>=4&&(r+=t.slice(3,6)),t.length>=7&&(r+=t.slice(6,10)),r})(t))};return(0,t.useEffect)(()=>{e?p(e):p("")},[e,d]),{formattedPhone:n,rawPhone:a,phoneError:o,setPhoneError:l,handlePhoneChange:p,handleKeyDown:e=>{if("Backspace"===e.key&&e.currentTarget.selectionStart===e.currentTarget.value.length){let t=e.currentTarget.value,r=t[t.length-1];("-"===r||" "===r||")"===r)&&(e.preventDefault(),p(t.replace(/\D/g,"").slice(0,-1)))}}}};e.s(["GoogleReCaptchaProvider",()=>p,"useGoogleReCaptcha",()=>m],82108);var n,i=e.i(47167),a=function(){return(a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=function(e){var t;e?function(e){if(e)for(;e.lastChild;
1)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)},o=function(e,t){s(t),window.___grecaptcha_cfg=void 0;var r,n=document.querySelector("#"+e);n&&n.remove(),(r=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]'))&&r.remove()},l=function(e){var t=e.render,r=e.onLoadCallbackName,n=e.language,i=e.onLoad,a=e.useRecaptchaNet,s=e.useEnterprise,o=e.scriptProps,l=void 0===o?{}:o,c=l.nonce,d=void 0===c?"":c,p=l.defer,m=l.async,u=l.id,x=l.appendTo,h=(void 0===u?"":u)||"google-recaptcha-v3";if(document.querySelector("#"+h))i();else{var f,g="https://www."+((f={useEnterprise:s,useRecaptchaNet:a}).useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(f.useEnterprise?"enterprise.js":"api.js"),y=document.createElement("script");y.id=h,y.src=g+"?render="+t+("explicit"===t?"&onload="+r:"")+(n?"&hl="+n:""),d&&(y.nonce=d),y.defer=!!(void 0!==p&&p),y.async=!!(void 0!==m&&m),y.onload=i,("body"===x?document.body:document.getElementsByTagName("head")[0]).appendChild(y)}},c=function(e){void 0===i.default||i.default.env,console.warn(e)};(n||(n={})).SCRIPT_NOT_AVAILABLE="Recaptcha script is not available";var d=(0,t.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});function p(e){var r=e.reCaptchaKey,i=e.useEnterprise,s=void 0!==i&&i,p=e.useRecaptchaNet,m=void 0!==p&&p,u=e.scriptProps,x=e.language,h=e.container,f=e.children,g=(0,t.useState)(null),y=g[0],v=g[1],b=(0,t.useRef)(r),j=JSON.stringify(u),w=JSON.stringify(null==h?void 0:h.parameters);(0,t.useEffect)(function(){if(r){var e=(null==u?void 0:u.id)||"google-recaptcha-v3",t=(null==u?void 0:u.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[t]=function(){var e=s?window.grecaptcha.enterprise:window.grecaptcha,t=a({badge:"inline",size:"invisible",sitekey:r},(null==h?void 0:h.parameters)||{});b.current=e.render(null==h?void 0:h.element,t)},l({render:(null==h?void 0:h.element)?"explicit":r,onLoadCallbackName:t,useEnterprise:s,useRecaptchaNet:m,scriptProps:u,language:x,onLoad:function(){if(window&&window.grecaptcha){var e=s?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){v(e)})}else c("<GoogleRecaptchaProvider /> "+n.SCRIPT_NOT_AVAILABLE)},onError:function(){c("Error loading google recaptcha script")}}),function(){o(e,null==h?void 0:h.element)}}c("<GoogleReCaptchaProvider /> recaptcha key not provided")},[s,m,j,w,x,r,null==h?void 0:h.element]);var N=(0,t.useCallback)(function(e){if(!y||!y.execute)throw Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return y.execute(b.current,{action:e})},[y,b]),k=(0,t.useMemo)(function(){return{executeRecaptcha:y?N:void 0,container:null==h?void 0:h.element}},[N,y,null==h?void 0:h.element]);return t.default.createElement(d.Provider,{value:k},f)}d.Consumer;var m=function(){return(0,t.useContext)(d)};function u(e,t){return e(t={exports:{}},t.exports),t.exports}var x="function"==typeof Symbol&&Symbol.for,h=x?Symbol.for("react.element"):60103,f=x?Symbol.for("react.portal"):60106,g=x?Symbol.for("react.fragment"):60107,y=x?Symbol.for("react.strict_mode"):60108,v=x?Symbol.for("react.profiler"):60114,b=x?Symbol.for("react.provider"):60109,j=x?Symbol.for("react.context"):60110,w=x?Symbol.for("react.async_mode"):60111,N=x?Symbol.for("react.concurrent_mode"):60111,k=x?Symbol.for("react.forward_ref"):60112,C=x?Symbol.for("react.suspense"):60113,S=x?
1Symbol.for("react.suspense_list"):60120,P=x?Symbol.for("react.memo"):60115,L=x?Symbol.for("react.lazy"):60116,R=x?Symbol.for("react.block"):60121,$=x?Symbol.for("react.fundamental"):60117,_=x?Symbol.for("react.responder"):60118,M=x?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case h:switch(e=e.type){case w:case N:case g:case v:case y:case C:return e;default:switch(e=e&&e.$$typeof){case j:case k:case L:case P:case b:return e;default:return t}}case f:return t}}}function A(e){return E(e)===N}var O={AsyncMode:w,ConcurrentMode:N,ContextConsumer:j,ContextProvider:b,Element:h,ForwardRef:k,Fragment:g,Lazy:L,Memo:P,Portal:f,Profiler:v,StrictMode:y,Suspense:C,isAsyncMode:function(e){return A(e)||E(e)===w},isConcurrentMode:A,isContextConsumer:function(e){return E(e)===j},isContextProvider:function(e){return E(e)===b},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},isForwardRef:function(e){return E(e)===k},isFragment:function(e){return E(e)===g},isLazy:function(e){return E(e)===L},isMemo:function(e){return E(e)===P},isPortal:function(e){return E(e)===f},isProfiler:function(e){return E(e)===v},isStrictMode:function(e){return E(e)===y},isSuspense:function(e){return E(e)===C},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===g||e===N||e===v||e===y||e===C||e===S||"object"==typeof e&&null!==e&&(e.$$typeof===L||e.$$typeof===P||e.$$typeof===b||e.$$typeof===j||e.$$typeof===k||e.$$typeof===$||e.$$typeof===_||e.$$typeof===M||e.$$typeof===R)},typeOf:E},T=u(function(e,t){}),U=(T.AsyncMode,T.ConcurrentMode,T.ContextConsumer,T.ContextProvider,T.Element,T.ForwardRef,T.Fragment,T.Lazy,T.Memo,T.Portal,T.Profiler,T.StrictMode,T.Suspense,T.isAsyncMode,T.isConcurrentMode,T.isContextConsumer,T.isContextProvider,T.isElement,T.isForwardRef,T.isFragment,T.isLazy,T.isMemo,T.isPortal,T.isProfiler,T.isStrictMode,T.isSuspense,T.isValidElementType,T.typeOf,u(function(e){e.exports=O})),q={};q[U.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},q[U.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype},97056,e=>{"use strict";e.s(["default",()=>c]);var t=e.i(43476),r=e.i(46932),n=e.i(53536),i=e.i(28540),a=e.i(36579),s=e.i(11367),o=e.i(72355);let l={initial:{opacity:0,y:24},animate:{opacity:1,y:0,transition:{duration:.45,ease:[.16,1,.3,1]}}};function c(e){let{data:c,children:p}=e,m=(0,o.useGeneralData)(),u=d(m,"phone"),x=d(m,"phone_raw"),h=d(m,"fax"),f=d(m,"email"),g=d(m,"address_street"),y=d(m,"address_suite"),v=d(m,"address_city"),b=d(m,"address_state"),j=d(m,"address_zip"),w=d(m,"map_link"),N=d(m,"google_maps_link"),k=(0,s.getList)(m,"office-hours");return(0,t.jsxs)(i.default,{as:"section",className:"py-10 md:py-20",children:[(0,t.jsxs)(r.motion.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-0 rounded-[20px] overflow-hidden mb-8 md:mb-14 bg-white shadow-[0_2px_20px_rgba(0,41,70,0.05)]",variants:n.staggerContainer,initial:"initial",whileInView:"animate",viewport:{once:!0},children:[(0,t.jsxs)(r.motion.a,{href:N||"#",target:"_blank",rel:"noopener noreferrer",className:"group flex items-center gap-4 px-6 sm:px-8 py-6 border-b md:border-b-0 md:border-r border-[#eef2f6] hover:bg-accent-light/40 transition-colors",variants:l,children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-primary flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform",children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z"}),(0,t.jsx)("circle",{cx:"12",cy:"10",r:"3"})]})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.1em] text-primary-dark/40 mb-1",children:"Visit Us"}),(0,t.jsxs)("span",{className:"block text-[14px] leading-snug text-primary-dark font-medium",children:[g,", ",y]}),(0,t.jsxs)("span",{className:"block text-[13px] text-[#6b7a8d]",children:[v,", ",b," ",j]})]})]}),(0,t.jsxs)(r.motion.a,{href:`tel:${x}`,className:"group flex items-center gap-4 px-6 sm:px-8 py-6 border-b md:border-b-0 md:border-r border-[#eef2f6] hover:bg-accent-light/40 transition-colors",variants:l,children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-primary flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform",children:(0,t.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72c.127.96.362 1.903.7 2.81a2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0122 16.92z"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.1em] text-primary-dark/40 mb-1",children:"Call Us"}),(0,t.jsx)("span",{className:"block text-[14px] text-primary font-semibold",children:u}),(0,t.jsxs)("span",{className:"block text-[13px] text-[#6b7a8d]",children:["Fax: ",h]})]})]}),(0,t.jsxs)(r.motion.a,{href:`mailto:${f}`,className:"group flex items-center gap-4 px-6 sm:px-8 py-6 hover:bg-accent-light/40 transition-colors",variants:l,children:[(0,t.jsx)("div",{className:"w-12 h-12 rounded-2xl bg-primary flex items-center justify-center shrink-0 group-hover:scale-105 transition-transform",children:(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"M22 7l-10 7L2 7"})]})}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("span",{className:"block text-[11px] font-semibold uppercase tracking-[0.1em] text-primary-dark/40 mb-1",children:"Email Us"}),(0,t.jsx)("span",{className:"block text-[14px] text-primary font-semibold truncate",children:f})]})]})]}),(0,t.jsxs)(r.motion.div,{className:"flex flex-col lg:flex-row gap-6 lg:gap-8",...n.fadeInUp,viewport:{once:!0},children:[(0,t.jsxs)("div",{className:"w-full lg:w-[380px] xl:w-[400px] shrink-0 flex flex-col gap-5",children:[(0,t.jsxs)("div",{className:"bg-white rounded-[20px] shadow-[0_2px_20px_rgba(0,41,70,0.05)] p-7 sm:p-8",children:[(0,t.jsx)(a.default,{children:(0,s.t)(null==c?void 0:c.tagline)}),(0,t.jsx)("h3",{className:"font-serif text-[22px] font-normal tracking-[-0.5px] text-primary-dark mt-4 mb-5",children:(0,s.t)(null==c?void 0:c.title)}),(0,t.jsx)("div",{className:"flex flex-col gap-0.5",children:k.map((e,r)=>{let n="Closed"===(0,s.t)(e.description);return(0,t.jsxs)("div",{className:`flex justify-between items-center py-3 ${r<k.length-1?"border-b border-[#f0f4f8]":""}`,children:[(0,t.jsx)("span",{className:"text-[14px] font-medium text-primary-dark",children:(0,s.t)(e.title)}),(0,t.jsx)("span",{className:`text-[13px] font-medium ${n?"text-destructive":"text-[#6b7a8d]"}`,children:(0,s.t)(e.description)})]},(0,s.t)(e.title))})})]}),(0,t.jsx)("div",{className:"rounded-[20px] overflow-hidden h-[220px] sm:h-[260px] relative shadow-[0_2px_20px_rgba(0,41,70,0.05)]",children:(0,t.jsx)("iframe",{title:"Paul's Pharmacy Group Location",src:w||`https://www.google.com/maps?q=${encodeURIComponent(`${g}, ${y}, ${v}, ${b} ${j}`)}&output=embed`,className:"absolute inset-0 w-full h-full border-0",loading:"lazy"})})]}),p&&(0,t.jsx)("div",{className:"flex-1 min-w-0",children:p})]})]})}function d(e,t){return(null==e?void 0:e.extraDetails)?e.extraDetails[t]??"":""}},47142,e=>{"use strict";e.s(["default",()=>h],47142),e.i(47167);var t=e.i(43476),r=e.i(71645),n=e.i(46932),i=e.i(88653),a=e.i(53536),s=e.i(59544),o=e.i(11367),l=e.i(95187),c=(0,l.createServerReference)("40fb52caa2e3343140991dde2b497d9fd6b6c97045",l.callServer,void 0,l.findSourceMapURL,"submitContactForm"),d=e.i(47161),p=e.i(82108);function m(e){let{label:r,name:a,type:s="text",required:o,autoComplete:l,value:c,onChange:d,onKeyDown:p,error:m}=e;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"mb-2 block text-[12px] font-semibold uppercase tracking-[0.08em] text-primary-dark/60",children:[r,o&&(0,t.jsx)("span",{className:"ml-0.5 text-destructive",children:"*"})]}),(0,t.jsx)("input",{type:s,name:a,required:o,autoComplete:l,value:c,onChange:d,onKeyDown:p,placeholder:r,"aria-label":r,className:`w-full border-b-2 bg-transparent pb-3 pt-1 text-[15px] text-primary-dark outline-none transition-all duration-200 placeholder:text-primary-dark/25 focus:shadow-none focus:outline-none focus:ring-0 ${m?"border-destructive/40":"border-[#dce4ed] hover:border-primary/40"} `}),(0,t.jsx)(i.AnimatePresence,{children:m&&(0,t.jsx)(n.motion.p,{initial:{opacity:0,y:-4}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-4},className:"mt-2 text-[12px] font-medium text-destructive",children:m})})]})}function u(e){let{label:r,name:a,required:s,error:o,onChange:l}=e;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"mb-2 block text-[12px] font-semibold uppercase tracking-[0.08em] text-primary-dark/60",children:[r,s&&(0,t.jsx)("span",{className:"ml-0.5 text-destructive",children:"*"})]}),(0,t.jsx)("textarea",{name:a,required:s,onChange:l,placeholder:"Tell us how we can help...","aria-label":r,className:`min-h-[100px] w-full resize-y border-b-2 bg-transparent pb-3 pt-1 text-[15px] text-primary-dark outline-none transition-all duration-200 placeholder:text-primary-dark/25 focus:shadow-none focus:outline-none focus:ring-0 ${o?"border-destructive/40":"border-[#dce4ed] hover:border-primary/40"} `}),(0,t.jsx)(i.AnimatePresence,{children:o&&(0,t.jsx)(n.motion.p,{initial:{opacity:0,y:-4},animate:{opacity:1,y:0},exit:{opacity:0,y:-4},className:"mt-2 text-[12px] font-medium text-destructive",children:o})})]})}function x(e){var l,x,h,f,g,y,v,b;let{data:j}=e,{executeRecaptcha:w}=(0,p.useGoogleReCaptcha)(),{state:N,isPending:k,handleSubmit:C,reset:S}=function(e,t){let[n,i]=(0,r.useTransition)(),[a,s]=(0,r.useState)(null);return{state:a,isPending:n,handleSubmit:r=>{r.preventDefault();let n=new FormData(r.currentTarget);i(async()=>{if(t)try{let e=await t("register");n.append("g-recaptcha-response",e)}catch(e){console.error("reCAPTCHA error:",e)}s(await e(n))})},reset:()=>s(null)}}(c,w),P=(0,o.getButton)(j,0),L=(0,d.usePhoneFormatter)("",{validateLength:!1}),R=L.rawPhone,[$,_]=(0,r.useState)({}),M=(0,r.useRef)(!1);(0,r.useEffect)(()=>{let e=!!(null==N?void 0:N.success);e&&!M.current&&(L.handlePhoneChange(""),L.setPhoneError(""),_({})),M.current=e},[null==N?void 0:N.success]);let E=e=>{_(t=>{if(!t[e])return t;let r={...t};return delete r[e],r})};return(0,t.jsx)(n.motion.div,{className:"overflow-hidden rounded-[24px] border border-[#dce4ed] sm:rounded-[32px]",...a.fadeInUp,viewport:{once:!0},children:(0,t.jsx)(i.AnimatePresence,{mode:"wait",children:(null==N?void 0:N.success)?(0,t.jsxs)(n.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"bg-primary-dark px-6 py-16 text-center sm:px-12 sm:py-20",children:[(0,t.jsx)(n.motion.div,{initial:{scale:0,rotate:-180},animate:{scale:1,rotate:0},transition:{type:"spring",stiffness:160,damping:14,delay:.15},className:"mx-auto mb-8 flex h-20 w-20 items-center justify-center rounded-full border-2 border-white/30",children:(0,t.jsx)("svg",{width:"30",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)(n.motion.path,{d:"M20 6L9 17L4 12",stroke:"white",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",initial:{pathLength:0},animate:{pathLength:1},transition:{duration:.5,delay:.4}})})}),(0,t.jsx)("h2",{className:"mb-3 font-serif text-2xl font-normal tracking-[-0.5px] text-white md:text-3xl",children:(0,o.getExtra)(j,"success_title")||"Message Sent!"}),(0,t.jsx)("p",{className:"mx-auto mb-10 max-w-md text-[15px] leading-relaxed text-white/60",children:(0,o.getExtra)(j,"success_description")||N.message}),(0,t.jsxs)("button",{onClick:S,className:"inline-flex cursor-pointer items-center gap-2 rounded-full border border-white/25 px-7 py-3 text-[13px] font-semibold uppercase tracking-[1px] text-white transition-colors hover:bg-white/10",children:[(0,o.getExtra)(j,"success_button_text")||"Send Another Message",(0,t.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",className:"-rotate-90",children:(0,t.jsx)("path",{d:"M1 3.5L5 7.5L9 3.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]},"success"):(0,t.jsxs)(n.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},children:[(0,t.jsx)("div",{className:"bg-primary px-6 py-7 sm:px-10 sm:py-9",children:(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full border border-white/20",children:(0,t.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"opacity-80",children:[(0,t.jsx)("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),(0,t.jsx)("path",{d:"M22 7l-10 7L2 7"})]})}),(0,t.jsx)("h2",{className:"font-serif text-xl font-normal tracking-[-0.3px] text-white md:text-[22px]",children:(0,o.t)(null==j?void 0:j.title)||"Send Us a Message"})]})}),(0,t.jsxs)("div",{className:"bg-white px-6 py-8 sm:px-10 sm:py-10",children:[(0,t.jsx)(i.AnimatePresence,{children:N&&!N.success&&!N.errors&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"mb-6 flex items-center gap-2.5 overflow-hidden rounded-xl border border-primary/10 bg-primary/5 px-4 py-3 text-sm text-primary",children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0",children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,t.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,t.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}),N.message]})}),(0,t.jsxs)("form",{onSubmit:e=>{let t=new FormData(e.currentTarget),r={};for(let e of["firstName","lastName","email","message"]){var n;(null==(n=t.get(e))?void 0:n.trim())||(r[e]="Required")}let i=0===(t.get("phone")||"").replace(/\D/g,"").length;if(_(r),i?L.setPhoneError("Required"):L.setPhoneError(""),Object.keys(r).length>0||i)return void e.preventDefault();C(e)},noValidate:!0,className:"flex flex-col gap-6",children:[(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,t.jsx)(m,{label:"First Name",name:"firstName",required:!0,autoComplete:"given-name",onChange:()=>E("firstName"),error:$.firstName||(null==N||null==(x=N.errors)||null==(l=x.firstName)?void 0:l[0])}),(0,t.jsx)(m,{label:"Last Name",name:"lastName",required:!0,autoComplete:"family-name",onChange:()=>E("lastName"),error:$.lastName||(null==N||null==(f=N.errors)||null==(h=f.lastName)?void 0:h[0])})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{type:"hidden",name:"phone",value:R}),(0,t.jsx)(m,{label:"Phone Number",type:"tel",required:!0,autoComplete:"tel",value:L.formattedPhone,onChange:e=>{L.handlePhoneChange(e.target.value)},onKeyDown:L.handleKeyDown,error:L.phoneError||void 0})]}),(0,t.jsx)(m,{label:"Email Address",name:"email",type:"email",required:!0,autoComplete:"email",onChange:()=>E("email"),error:$.email||(null==N||null==(y=N.errors)||null==(g=y.email)?void 0:g[0])})]}),(0,t.jsx)(u,{label:"Message",name:"message",required:!0,onChange:()=>E("message"),error:$.message||(null==N||null==(b=N.errors)||null==(v=b.message)?void 0:v[0])}),(0,t.jsxs)("div",{className:"flex items-center justify-between gap-4 pt-2",children:[(0,t.jsx)(s.default,{type:"submit",variant:"filled",disabled:k,children:k?"Sending...":(null==P?void 0:P.text)||"Send Message"}),(0,t.jsxs)("div",{className:"hidden items-center gap-1.5 text-[11px] text-primary-dark/35 sm:flex",children:[(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,t.jsx)("path",{d:"M7 11V7a5 5 0 0110 0v4"})]}),"Protected by reCAPTCHA"]})]})]})]})]},"form")})})}function h(e){let{data:r}=e;return(0,t.jsx)(p.GoogleReCaptchaProvider,{reCaptchaKey:"6LdCkHMmAAAAAMUjTAXUMuGuUn9qIkwXHUTLxVSg",children:(0,t.jsx)(x,{data:r})})}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.