1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,17521,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},95187,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),!function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(a,{callServer:function(){return i.callServer},createServerReference:function(){return r.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}});let i=e.r(32120),n=e.r(92245),r=e.r(35326)},71689,e=>{"use strict";e.s(["ArrowLeft",()=>t],71689);let t=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},89853,e=>{"use strict";e.s(["CalendarDays",()=>t],89853);let t=(0,e.i(75254).default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]])},23934,e=>{"use strict";e.s(["Clock3",()=>t],23934);let t=(0,e.i(75254).default)("clock-3",[["path",{d:"M12 6v6h4",key:"135r8i"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},78917,e=>{"use strict";e.s(["ExternalLink",()=>t],78917);let t=(0,e.i(75254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},65157,e=>{"use strict";e.s(["Globe2",()=>t],65157);let t=(0,e.i(75254).default)("earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},64668,e=>{"use strict";e.s(["LoaderCircle",()=>t.default]);var t=e.i(17521)},36197,e=>{e.v({root:"native-booking-module__l6GlUq__root"})},72868,84006,e=>{"use strict";e.s(["NativeScheduler",()=>v],72868);var t=e.i(43476),a=e.i(71689),i=e.i(72520),n=e.i(89853),r=e.i(43531),s=e.i(23934),l=e.i(78917),o=e.i(65157),d=e.i(64668);let c=(0,e.i(75254).default)("video",[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]);var u=e.i(71645);e.s(["bookingApi",()=>h,"bookingBrand",()=>m],84006);let m="tps",h="https://seocompanyphilippines.com/api/booking";var p=e.i(36197);let f="mailto:[email protected]";function v(e){var v,w;let{leadId:N,bookingToken:S,previewMode:C=!1,managementToken:E,directBooking:F=!1,brand:P=m,identity:_}=e,T=!!E;(0,u.useEffect)(()=>{var e;null==(e=document.getElementById("booking-title"))||e.scrollIntoView({block:"start",behavior:"smooth"})},[]);let I=(0,u.useMemo)(()=>Intl.DateTimeFormat().resolvedOptions().timeZone||"Asia/Manila",[]),[M,A]=(0,u.useState)(I),[L,D]=(0,u.useState)(null),[O,R]=(0,u.useState)(!0),[z,U]=(0,u.useState)(""),[H,B]=(0,u.useState)(""),[G,V]=(0,u.useState)(""),[q,W]=(0,u.useState)(0),[Y,Z]=(0,u.useState)(null),[K,$]=(0,u.useState)("idle"),[J,Q]=(0,u.useState)((null==_?void 0:_.name)||""),[X,ee]=(0,u.useState)((null==_?void 0:_.email)||"");(0,u.useEffect)(()=>{let e=!0;return async function(){R(!0),U("");try{let t=await fetch("".concat(h,"/availability/"),{cache:"no-store"}),a=await t.json().catch(()=>({}));if(!t.ok)throw Error(a.error||"Live availability could not be loaded.");if(!e)return;D(a)}catch(t){e&&U(t instanceof Error?t.message:"Live availability could not be loaded.")}finally{e&&R(!1)}}(),()=>{e=!1}},[]);let et=(0,u.useMemo)(()=>{let e=new Map;for(let t of(null==L?void 0:L.slots)||[]){let a=g(t,M);e.set(a,[...e.get(a)||[],t])}return e},[L,M]),ea=(0,u.useMemo)(()=>[...et.keys()].sort(),[et]),ei=(0,u.useMemo)(()=>{var e;let t=ea[0]?x(ea[0]):(e=M,x(g(new Date().toISOString(),e)));return function(e,t,a){let i=new Date(Date.UTC(e,t-1+a,1));return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1}}(t.year,t.month,q)},[ea,q,M]),en=(0,u.useMemo)(()=>(function(e,t,a){let i=new Date(Date.UTC(e,t,0)).getUTCDate(),n=Array.from({length:(new Date(Date.UTC(e,t-1,1)).getUTCDay()+6)%7},()=>null);for(let r=1;r<=i;r+=1){let i="".concat(e,"-").concat(String(t).padStart(2,"0"),"-").concat(String(r).padStart(2,"0"));n.push({key:i,day:r,label:y(i),available:a.has(i)})}return n})(ei.year,ei.month,et),[et,ei]),er=(0,u.useMemo)(()=>(function(e){var t;let a=Intl;return[...new Set([e,"Asia/Manila",...(null==(t=a.supportedValuesOf)?void 0:t.call(a,"timeZone"))||["Asia/Manila","Asia/Singapore","Australia/Sydney","Europe/London","America/Ne
1w_York","America/Los_Angeles"]])]})(I),[I]);async function es(){if(G&&!C){$("sending"),U("");try{let e=await fetch("".concat(h,"/").concat(T?"manage":"confirm","/"),{method:T?"PATCH":"POST",headers:{"content-type":"application/json"},body:JSON.stringify(T?{token:E,startsAt:G,visitorTimeZone:M}:F?{directBooking:!0,brand:P,attendeeName:J,attendeeEmail:X,websiteUrl:null==_?void 0:_.websiteUrl,enquirySummary:null==_?void 0:_.summary,startsAt:G,visitorTimeZone:M,sourcePage:"/book/"}:{leadId:N,bookingToken:S,startsAt:G,visitorTimeZone:M})}),t=await e.json().catch(()=>({}));if(!e.ok)throw Error(t.error||"The meeting could not be booked.");Z(t),$("idle")}catch(e){$("error"),U(e instanceof Error?e.message:"The meeting could not be booked.")}}}return(null==Y?void 0:Y.ok)&&Y.startsAt?(0,t.jsxs)("section",{className:"".concat(p.default.root," booking-confirmation"),"aria-live":"polite",children:[(0,t.jsx)("div",{className:"booking-confirmation__icon",children:(0,t.jsx)(r.Check,{"aria-hidden":"true"})}),(0,t.jsx)("p",{className:"booking-eyebrow",children:T?"Meeting rescheduled":"Meeting confirmed"}),(0,t.jsx)("h2",{children:T?"Your new time is confirmed.":"Weâll see you then."}),(0,t.jsx)("p",{className:"booking-confirmation__time",children:j(Y.startsAt,M)}),(0,t.jsx)("p",{children:T?"Google has updated the original calendar invitation. There is no duplicate event.":Y.attendeeEmail?"Google has added ".concat(Y.attendeeEmail," as the meeting guest. The calendar invitation contains the Google Meet link and the time in the selected time zone."):"Google has added the submitted business email as the meeting guest. The calendar invitation contains the Google Meet link and the time in the selected time zone."}),"sent"===Y.notificationStatus&&(0,t.jsx)("p",{children:"A separate booking confirmation has also been emailed to you and to our team."}),"sent"!==Y.notificationStatus&&!T&&(0,t.jsx)("p",{children:"The Google Calendar invitation is confirmed. If the separate branded email is delayed, use the meeting and management links below."}),(0,t.jsxs)("div",{className:"booking-confirmation__actions",children:[Y.meetUrl&&(0,t.jsxs)("a",{className:"button button--dark",href:Y.meetUrl,target:"_blank",rel:"noopener noreferrer",children:["Open Google Meet ",(0,t.jsx)(l.ExternalLink,{size:16})]}),Y.manageUrl&&(0,t.jsxs)("a",{className:"button button--light",href:Y.manageUrl,children:["Reschedule or cancel ",(0,t.jsx)(i.ArrowRight,{size:16})]})]})]}):(0,t.jsxs)("section",{className:"".concat(p.default.root," brand-scheduler"),"aria-labelledby":"booking-title",children:[(0,t.jsxs)("header",{className:"brand-scheduler__header",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"booking-eyebrow",children:C?"Safe calendar preview":T?"Reschedule your meeting":"SEO discovery meeting"}),(0,t.jsx)("h2",{id:"booking-title",children:T?"Choose a new time.":"Choose a time that works for you."}),(0,t.jsx)("p",{children:C?"Explore the live layout, time-zone control, dates, and available times. This preview cannot create a meeting.":T?"Available times are shown in your selected time zone. Your existing Google event will be updated.":"The calendar automatically shows availability in your time zone. Your invitation will include a Google Meet link."})]}),(0,t.jsxs)("div",{className:"brand-scheduler__facts","aria-label":"Meeting details",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)(s.Clock3,{size:16})," ",(null==L?void 0:L.durationMinutes)||30," minutes"]}),(0,t.jsxs)("span",{children:[(0,t.jsx)(c,{size:16})," Google Meet"]}),(0,t.jsxs)("span",{children:[(0,t.jsx)(n.CalendarDays,{size:16})," MondayâFriday"]})]})]}),(0,t.jsxs)("label",{className:"brand-scheduler__timezone",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)(o.Globe2,{size:17})," Your time zone"]}),(0,t.jsx)("select",{value:M,onChange:e=>{A(e.target.value),B(""),V(""),W(0)},children:er.map(e=>(0,t.jsx)("option",{value:e,children:k(e)},e))})]}),O?(0,t.jsxs)("div",{className:"brand-scheduler__loading","aria-live":"polite",children:[(0,t.jsx)(d.LoaderCircle,{className:"spin"})," Checking the calendarâ¦"]}):z&&!L?(0,t.jsx)(b,{message:z}):(0,t.jsxs)("div",{className:"brand-scheduler__body",children:[(0,t.jsxs)("div",{className:"booking-calendar",children:[(0,t.jsxs)("div",{className:"booking-calendar__nav",children:[(0,t.jsx)("button",{type:"button",onClick:()=>W(e=>Math.max(0,e-1)),disabled:0===q,"aria-label":"Previous month",children:(0,t.jsx)(a.ArrowLeft,{size:18})}),(0,t.jsx)("strong",{children:(v=ei.year,w=ei.month,new Intl.DateTimeFormat("en",{month:"long",year:"numeric",timeZone:"UTC"}).format(new Date(Date.UTC(v,w-1,1))))}),(0,t.jsx)("button",{type:"button",onClick:()=>W(e=>e+1),disabled:q>=1,"aria-label":"Next month",children:(0,t.jsx)(i.ArrowRight,{size:18})})]}),(0,t.jsx)("div",{className:"booking-calendar__weekdays","aria-hidden":"true",children:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"].map(e=>(0,t.jsx)("span",{children:e},e))}),(0,t.jsx)("div",{className:"booking-calendar__grid",children:en.map((e,a)=>e?(0,t.jsx)("button",{type:"button",className:H===e.key?"is-selected":"",disabled:!e.available,onClick:()=>{B(e.key),V("")},"aria-label":"".concat(e.label).concat(e.available?", available":", unavailable"),"aria-pressed":H===e.key,children:e.day},e.key):(0,t.jsx)("span",{"aria-hidden":"true"},"blank-".concat(a)))})]}),(0,t.jsxs)("div",{className:"booking-times","aria-live":"polite",children:[(0,t.jsx)("h3",{children:H?y(H):"Select an available date"}),(0,t.jsx)("p",{children:H?"Times shown in ".concat(k(M),"."):"Available dates are highlighted in green."}),H?(0,t.jsx)("div",{className:"booking-times__list",children:(et.get(H)||[]).map(e=>{var a,i;return(0,t.jsx)("button",{type:"button",className:G===e?"is-selected":"",onClick:()=>V(e),"aria-pressed":G===e,children:(a=e,i=M,new Intl.DateTimeFormat("en",{hour:"numeric",minute:"2-digit",timeZone:i}).format(new Date(a)))},e)})}):(0,t.jsxs)("div",{className:"booking-times__empty",children:[(0,t.jsx)(n.CalendarDays,{size:30}),(0,t.jsx)("span",{children:"Choose a date to see meeting times."})]})]})]}),L&&(0,t.jsxs)(t.Fragment,{children:[F&&G&&!_&&(0,t.jsxs)("div",{className:"brand-scheduler__identity","aria-label":"Your booking details",children:[(0,t.jsxs)("label",{children:[(0,t.jsx)("span",{children:"Name"}),(0,t.jsx)("input",{required:!0,value:J,onChange:e=>Q(e.target.value),autoComplete:"name",placeholder:"Your name"})]}),(0,t.jsxs)("label",{children:[(0,t.jsx)("span",{children:"Email"}),(0,t.jsx)("input",{required:!0,type:"email",value:X,onChange:e=>ee(e.target.value),autoComplete:"email",placeholder:"[email protected]"})]})]}),(0,t.jsxs)("footer",{className:"brand-scheduler__footer",children:[(0,t.jsx)("div",{children:G?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("strong",{children:j(G,M)}),(0,t.jsx)("span",{children:k(M)})]}):(0,t.jsx)("span",{children:"Select a date and time to continue."})}),(0,t.jsxs)("button",{type:"button",onClick:es,disabled:C||!G||"sending"===K||F&&(!J.trim()||!/^\S+@\S+\.\S+$/.test(X.trim())),children:[C?"Preview only â no booking":"sending"===K?"Savingâ¦":T?"Confirm new time":"Confirm meeting"," ",(0,t.jsx)(i.ArrowRight,{size:17})]})]})]}),z&&L&&(0,t.jsxs)("div",{className:"brand-scheduler__error",role:"alert",children:[z," ",(0,t.jsx)("a",{href:f,target:"_blank",rel:"noopener noreferrer",children:"Email our team"}),"."]})]})}function b(e){let{message:a}=e;return(0,t.jsxs)("div",{className:"brand-scheduler__fallback",role:"alert",children:[(0,t.jsx)("strong",{children:"The live calendar is temporarily unavailable."}),(0,t.jsxs)("p",{children:[a," You can retry or email [email protected] for help."]}),(0,t.jsxs)("a",{className:"button button--dark",href:f,target:"_blank",rel:"noopener noreferrer",children:["Email our team ",(0,t.jsx)(l.ExternalLink,{size:16})]})]})}function g(e,t){let a=new Intl.DateTimeFormat("en-CA",{timeZone:t,year:"numeric",month:"2-digit",day:"2-digit"}).formatToParts(new Date(e)),i=e=>{var t;return(null==(t=a.find(t=>t.type===e))?void 0:t.value)||""};return"".concat(i("year"),"-").concat(i("month"),"-").concat(i("day"))}function x(e){let[t,a,i]=e.split("-").map(Number);return{year:t,month:a,day:i}}function y(e){let{year:t,month:a,day:i}=x(e);return new Intl.DateTimeFormat("en",{weekday:"long",month:"long",day:"numeric",year:"numeric",timeZone:"UTC"}).format(new Date(Date.UTC(t,a-1,i)))}function j(e,t){return new Intl.DateTimeFormat("en",{weekday:"long",month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",timeZone:t}).format(new Date(e))}function k(e){return e.replaceAll("_"," ").replace("/"," â ")}},29717,e=>{"use strict";e.s(["Button",()=>l]);var t=e.i(29427),a=e.i(71330),i=e.i(94487),n=e.i(55743),r=e.i(1893),s=e.i(20);let l=(0,s.forwardRefWithAs)(function(e,l){var o;let d=(0,r.useDisabled)(),{disabled:c=d||!1,autoFocus:u=!1,...m}=e,{isFocusVisible:h,focusProps:p}=(0,t.useFocusRing)({autoFocus:u}),{isHovered:f,hoverProps:v}=(0,a.useHover)({isDisabled:c}),{pressed:b,pressProps:g}=(0,i.useActivePress)({disabled:c}),x=(0,s.mergeProps)({ref:l,type:null!=(o=m.type)?o:"button",disabled:c||void 0,autoFocus:u}
1,p,v,g),y=(0,n.useSlot)({disabled:c,hover:f,focus:h,active:b,autofocus:u});return(0,s.useRender)()({ourProps:x,theirProps:m,slot:y,defaultTag:"button",name:"Button"})})},40721,94421,e=>{"use strict";e.s(["FormFields",()=>m,"FormFieldsProvider",()=>c],40721);var t=e.i(71645),a=e.i(74080),i=e.i(46725);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];for(let[s,l]of Object.entries(e))!function e(a,i,s){if(Array.isArray(s))for(let[t,n]of s.entries())e(a,r(i,t.toString()),n);else s instanceof Date?a.push([i,s.toISOString()]):"boolean"==typeof s?a.push([i,s?"1":"0"]):"string"==typeof s?a.push([i,s]):"number"==typeof s?a.push([i,"".concat(s)]):null==s?a.push([i,""]):function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(s)&&!(0,t.isValidElement)(s)&&n(s,i,a)}(i,r(a,s),l);return i}function r(e,t){return e?e+"["+t+"]":t}function s(e){var t,a;let i=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(i){for(let t of i.elements)if(t!==e&&("INPUT"===t.tagName&&"submit"===t.type||"BUTTON"===t.tagName&&"submit"===t.type||"INPUT"===t.nodeName&&"image"===t.type))return void t.click();null==(a=i.requestSubmit)||a.call(i)}}e.s(["attemptSubmit",()=>s,"objectToFormEntries",()=>n],94421);var l=e.i(20),o=e.i(2788);let d=(0,t.createContext)(null);function c(e){let[a,i]=(0,t.useState)(null);return t.default.createElement(d.Provider,{value:{target:a}},e.children,t.default.createElement(o.Hidden,{features:o.HiddenFeatures.Hidden,ref:i}))}function u(e){let{children:i}=e,n=(0,t.useContext)(d);if(!n)return t.default.createElement(t.default.Fragment,null,i);let{target:r}=n;return r?(0,a.createPortal)(t.default.createElement(t.default.Fragment,null,i),r):null}function m(e){let{data:a,form:r,disabled:s,onReset:d,overrides:c}=e,[m,p]=(0,t.useState)(null),f=(0,i.useDisposables)();return(0,t.useEffect)(()=>{if(d&&m)return f.addEventListener(m,"reset",d)},[m,r,d]),t.default.createElement(u,null,t.default.createElement(h,{setForm:p,formId:r}),n(a).map(e=>{let[a,i]=e;return t.default.createElement(o.Hidden,{features:o.HiddenFeatures.Hidden,...(0,l.compact)({key:a,as:"input",type:"hidden",hidden:!0,readOnly:!0,form:r,disabled:s,name:a,value:i,...c})})}))}function h(e){let{setForm:a,formId:i}=e;return(0,t.useEffect)(()=>{if(i){let e=document.getElementById(i);e&&a(e)}},[a,i]),i?null:t.default.createElement(o.Hidden,{features:o.HiddenFeatures.Hidden,as:"input",type:"hidden",hidden:!0,readOnly:!0,ref:e=>{if(!e)return;let t=e.closest("form");t&&a(t)}})}},42803,22678,e=>{"use strict";e.s(["IdProvider",()=>n,"useProvidedId",()=>i],42803);var t=e.i(71645);let a=(0,t.createContext)(void 0);function i(){return(0,t.useContext)(a)}function n(e){let{id:i,children:n}=e;return t.default.createElement(a.Provider,{value:i},n)}e.s(["Label",()=>v,"useLabelContext",()=>h,"useLabelledBy",()=>p,"useLabels",()=>f],22678);var r=e.i(14189),s=e.i(35696),l=e.i(55743),o=e.i(94316),d=e.i(1893),c=e.i(13581),u=e.i(20);let m=(0,t.createContext)(null);function h(){let e=(0,t.useContext)(m);if(null===e){let e=Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,h),e}return e}function p(e){var a,i,n;let r=null!=(i=null==(a=(0,t.useContext)(m))?void 0:a.value)?i:void 0;return(null!=(n=null==e?void 0:e.length)?n:0)>0?[r,...e].filter(Boolean).join(" "):r}function f(){let{inherit:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=p(),[i,n]=(0,t.useState)([]),s=e?[a,...i].filter(Boolean):i;return[s.length>0?s.join(" "):void 0,(0,t.useMemo)(()=>function(e){let a=(0,r.useEvent)(e=>(n(t=>[...t,e]),()=>n(t=>{let a=t.slice(),i=a.indexOf(e);return -1!==i&&a.splice(i,1),a}))),i=(0,t.useMemo)(()=>({register:a,slot:e.slot,name:e.name,props:e.props,value:e.value}),[a,e.slot,e.name,e.props,e.value]);return t.default.createElement(m.Provider,{value:i},e.children)},[n])]}m.displayName="LabelContext";let v=Object.assign((0,u.forwardRefWithAs)(function(e,a){var n;let m=(0,t.useId)(),p=h(),f=i(),v=(0,d.useDisabled)(),{id:b="headlessui-label-".concat(m),htmlFor:g=null!=f?f:null==(n=p.props)?void 0:n.htmlFor,passive:x=!1,...y}=e,j=(0,o.useSyncRefs)(a);(0,s.useIsoMorphicEffect)(()=>p.register(b),[b,p.register]);let k=(0,r.useEvent)(e=>{let t=e.currentTarget;if(!(e.target!==e.currentTarget&&c.isInteractiveElement(e.target))&&(c.isHTMLLabelElement(t)&&e.preventDefault(),p.props&&"onClick"in p.props&&"function"==typeof p.props.onClick&&p.props.onClick(e),c.isHTMLLabelElement(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let a=e.getAttribute("aria-disabled");if("true"===a||""===a)return;(c.isHTMLInputElement(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}}),w=(0,l.useSlot)({...p.slot,disabled:v||!1}),N={ref:j,...p.props,id:b,htmlFor:g,onClick:k};return x&&("onClick"in N&&(delete N.htmlFor,delete N.onClick),"onClick"in y&&delete y.onClick),(0,u.useRender)()({ourProps:N,theirProps:y,slot:w,defaultTag:g?"label":"div",name:p.name||"Label"})}),{})},39100,e=>{"use strict";e.s(["Field",()=>d]);var t=e.i(71645),a=e.i(55743),i=e.i(1893),n=e.i(40721),r=e.i(42803),s=e.i(20),l=e.i(35889),o=e.i(22678);let d=(0,s.forwardRefWithAs)(function(e,d){let c="headlessui-control-".concat((0,t.useId)()),[u,m]=(0,o.useLabels)(),[h,p]=(0,l.useDescriptions)(),f=(0,i.useDisabled)(),{disabled:v=f||!1,...b}=e,g=(0,a.useSlot)({disabled:v}),x=(0,s.useRender)();return t.default.createElement(i.DisabledProvider,{value:v},t.default.createElement(m,{value:u},t.default.createElement(p,{value:h}
1,t.default.createElement(r.IdProvider,{id:c},x({ourProps:{ref:d,disabled:v||void 0,"aria-disabled":v||void 0},theirProps:{...b,children:t.default.createElement(n.FormFieldsProvider,null,"function"==typeof b.children?b.children(g):b.children)},slot:g,defaultTag:"div",name:"Field"})))))})},13589,e=>{"use strict";e.s(["Input",()=>c]);var t=e.i(29427),a=e.i(71330),i=e.i(71645),n=e.i(55743),r=e.i(1893),s=e.i(42803),l=e.i(20),o=e.i(35889),d=e.i(22678);let c=(0,l.forwardRefWithAs)(function(e,c){let u=(0,i.useId)(),m=(0,s.useProvidedId)(),h=(0,r.useDisabled)(),{id:p=m||"headlessui-input-".concat(u),disabled:f=h||!1,autoFocus:v=!1,invalid:b=!1,...g}=e,x=(0,d.useLabelledBy)(),y=(0,o.useDescribedBy)(),{isFocused:j,focusProps:k}=(0,t.useFocusRing)({autoFocus:v}),{isHovered:w,hoverProps:N}=(0,a.useHover)({isDisabled:f}),S=(0,l.mergeProps)({ref:c,id:p,"aria-labelledby":x,"aria-describedby":y,"aria-invalid":b?"true":void 0,disabled:f||void 0,autoFocus:v},k,N),C=(0,n.useSlot)({disabled:f,invalid:b,hover:w,focus:j,autofocus:v});return(0,l.useRender)()({ourProps:S,theirProps:g,slot:C,defaultTag:"input",name:"Input"})})},62499,e=>{"use strict";e.s(["Select",()=>u]);var t=e.i(29427),a=e.i(71330),i=e.i(94487),n=e.i(71645),r=e.i(55743),s=e.i(1893),l=e.i(42803),o=e.i(20),d=e.i(35889),c=e.i(22678);let u=(0,o.forwardRefWithAs)(function(e,u){let m=(0,n.useId)(),h=(0,l.useProvidedId)(),p=(0,s.useDisabled)(),{id:f=h||"headlessui-select-".concat(m),disabled:v=p||!1,invalid:b=!1,autoFocus:g=!1,...x}=e,y=(0,c.useLabelledBy)(),j=(0,d.useDescribedBy)(),{isFocusVisible:k,focusProps:w}=(0,t.useFocusRing)({autoFocus:g}),{isHovered:N,hoverProps:S}=(0,a.useHover)({isDisabled:v}),{pressed:C,pressProps:E}=(0,i.useActivePress)({disabled:v}),F=(0,o.mergeProps)({ref:u,id:f,"aria-labelledby":y,"aria-describedby":j,"aria-invalid":b?"true":void 0,disabled:v||void 0,autoFocus:g},w,S,E),P=(0,r.useSlot)({disabled:v,invalid:b,hover:N,focus:k,active:C,autofocus:g});return(0,o.useRender)()({ourProps:F,theirProps:x,slot:P,defaultTag:"select",name:"Select"})})},54324,e=>{"use strict";e.s(["Textarea",()=>c]);var t=e.i(29427),a=e.i(71330),i=e.i(71645),n=e.i(55743),r=e.i(1893),s=e.i(42803),l=e.i(20),o=e.i(35889),d=e.i(22678);let c=(0,l.forwardRefWithAs)(function(e,c){let u=(0,i.useId)(),m=(0,s.useProvidedId)(),h=(0,r.useDisabled)(),{id:p=m||"headlessui-textarea-".concat(u),disabled:f=h||!1,autoFocus:v=!1,invalid:b=!1,...g}=e,x=(0,d.useLabelledBy)(),y=(0,o.useDescribedBy)(),{isFocused:j,focusProps:k}=(0,t.useFocusRing)({autoFocus:v}),{isHovered:w,hoverProps:N}=(0,a.useHover)({isDisabled:f}),S=(0,l.mergeProps)({ref:c,id:p,"aria-labelledby":x,"aria-describedby":y,"aria-invalid":b?"true":void 0,disabled:f||void 0,autoFocus:v},k,N),C=(0,n.useSlot)({disabled:f,invalid:b,hover:w,focus:j,autofocus:v});return(0,l.useRender)()({ourProps:S,theirProps:g,slot:C,defaultTag:"textarea",name:"Textarea"})})},75418,e=>{"use strict";e.s(["LeadForm",()=>N],75418);var t=e.i(43476),a=e.i(71645),i=e.i(18566),n=e.i(22016),r=e.i(72868),s=e.i(95187),l=(0,s.createServerReference)("6051ec7eca83bda3e0aa914e8877a497d36b150126",s.callServer,void 0,s.findSourceMapURL,"submitLead"),o=e.i(29717),d=e.i(7670),c=e.i(29045);let u={action:(0,d.clsx)("inline-flex min-h-12 items-center justify-center px-6 py-3","rounded-md border border-action bg-action shadow-sm","text-sm font-heading font-bold tracking-[-0.01em] whitespace-nowrap text-ink","transition-all duration-200","data-disabled:bg-action/40 data-disabled:opacity-40","data-hover:border-ink data-hover:bg-ink data-hover:text-white data-hover:shadow-md data-hover:-translate-y-px"),solid:(0,d.clsx)("inline-flex min-h-12 items-center justify-center px-6 py-3","rounded-md border border-accent bg-accent shadow-sm","text-sm font-heading font-bold tracking-[-0.01em] whitespace-nowrap text-white","transition-all duration-200","data-disabled:bg-accent/40 data-disabled:opacity-40","data-hover:border-ink data-hover:bg-ink data-hover:shadow-md data-hover:-translate-y-px"),ghost:(0,d.clsx)("inline-flex min-h-12 items-center justify-center px-6 py-3","rounded-md bg-transparent border border-accent","text-sm font-heading font-bold tracking-[-0.01em] whitespace-nowrap text-accent","transition-all duration-200","data-disabled:opacity-40","data-hover:bg-accent-soft"),outline:(0,d.clsx)("inline-flex min-h-12 items-center justify-center px-6 py-3","rounded-md border border-border-emphasis","text-sm font-heading font-bold tracking-[-0.01em] whitespace-nowrap text-stone","transition-all duration-200","data-disabled:opacity-40","data-hover:bg-cream")};function m(e){let{variant:a="solid",className:i,...n}=e;return(i=(0,d.clsx)(i,u[a]),void 0===n.href)?(0,t.jsx)(o.Button,{...n,className:i}):(0,t.jsx)(c.Link,{...n,className:i})}let h=[{name:"Initial",price:"$3,500",period:"/mo",formValue:"initial-3500",description:"The starting point for an ongoing engagement concentrated on the highest-priority search constraint.",featured:!1,highlights:["Custom scope after diagnosis","Google and AI-search research","Priority technical or page work","Implementation briefs and QA","Measurement matched to the goal"]},{name:"Growth",price:"$5,500",period:"/mo",formValue:"growth-5500",description:"For teams that need several SEO, content, authority, analytics, and AI-search workstreams in parallel.",featured:!0,highlights:["Multiple coordinated workstreams","Content and page architecture","Technical implementation support","Authority and s
1ource development","Search and AI visibility reporting"]},{name:"Enterprise",price:"Custom",period:"",formValue:"enterprise-custom",description:"For large sites, multiple markets, regulated review, migrations, or complex data and governance requirements.",featured:!1,highlights:["Custom capacity and specialists","Multi-market governance","Developer and release collaboration","Advanced analytics requirements","Formal ownership and acceptance tests"]}];function p(e){return e.period?"".concat(e.name," â ").concat(e.price,"/month"):"".concat(e.name," â ").concat(e.price)}var f=e.i(39100),v=e.i(13589),b=e.i(22678),g=e.i(62499),x=e.i(54324);let y=a.forwardRef(function(e,t){let{title:i,titleId:n,...r}=e;return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":n},r),i?a.createElement("title",{id:n},i):null,a.createElement("path",{fillRule:"evenodd",d:"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});var j=e.i(4247),k=e.i(25724);let w=(0,d.clsx)("block w-full rounded-md border border-border-emphasis bg-paper shadow-sm","px-[calc(--spacing(3)-1px)] py-[calc(--spacing(2)-1px)] text-base/6 sm:text-sm/6","data-focus:outline-2 data-focus:-outline-offset-1 data-focus:outline-accent");function N(e){return(0,t.jsx)(a.Suspense,{fallback:(0,t.jsx)("div",{className:(0,d.clsx)("rounded-lg bg-paper p-8 border border-border-strong animate-pulse h-96",e.className)}),children:(0,t.jsx)(S,{...e})})}function S(e){var s;let{variant:o="compact",className:c}=e,u=(0,i.usePathname)(),N=(0,i.useSearchParams)(),S=(0,k.useTrackingConsent)(),C=(0,a.useRef)(null),E=(0,a.useRef)(!1),F=(0,a.useRef)(!1),P=(0,a.useRef)(!1),_=(0,a.useRef)({}),T=(s=N.get("plan"),h.find(e=>e.formValue===s)),[I,M,A]=(0,a.useActionState)(l,{success:!1});return((0,a.useEffect)(()=>{if(!(null==S?void 0:S.analytics))return;let e=C.current;if(!e||F.current)return;let t=new IntersectionObserver(e=>{let[a]=e;(null==a?void 0:a.isIntersecting)&&!F.current&&(F.current=!0,(0,j.trackConversionEvent)("form_view",{placement:"lead_form",variant:o}),t.disconnect())},{threshold:.35});return t.observe(e),()=>t.disconnect()},[null==S?void 0:S.analytics,o]),(0,a.useEffect)(()=>{I.error&&(0,j.trackConversionEvent)("form_error",{placement:"lead_form",variant:o,metadata:{error_type:I.error}})},[I.error,o]),(0,a.useEffect)(()=>{if(I.success&&!P.current){var e;P.current=!0,(0,j.trackConversionEvent)("generate_lead",{placement:"lead_form",variant:o,metadata:_.current}),null==(e=C.current)||e.reset()}},[I.success,o]),I.success&&I.bookingIdentity)?(0,t.jsxs)("div",{className:c,children:[(0,t.jsx)("p",{className:"mb-4 font-semibold",role:"status",children:"Step 2 of 2 â your enquiry is saved. Choose a time below to complete your booking."}),(0,t.jsx)(r.NativeScheduler,{directBooking:!0,identity:I.bookingIdentity})]}):(0,t.jsxs)("form",{ref:C,action:M,"data-lead-form":!0,onFocusCapture:()=>{E.current||(E.current=!0,(0,j.trackConversionEvent)("form_start",{placement:"lead_form",variant:o}))},onSubmit:()=>{let e=C.current,t=e?new FormData(e):null,a=null==t?void 0:t.get("selectedPlan");_.current=Object.fromEntries([["selected_plan",a],["service_interest",null==t?void 0:t.get("serviceInterest")],["discovery_source",null==t?void 0:t.get("discoverySource")]].filter(e=>!!e[1])),(0,j.trackConversionEvent)("form_submit",{placement:"lead_form",variant:o,metadata:_.current})},className:(0,d.clsx)("rounded-lg bg-paper p-8 border border-border-strong",c),children:[(0,t.jsx)("input",{type:"hidden",name:"sourcePage",value:u}),(0,t.jsx)("input",{type:"hidden",name:"sourceUrl",value:window.location.href}),(0,t.jsx)("input",{type:"hidden",name:"utmSource",value:N.get("utm_source")||""}),(0,t.jsx)("input",{type:"hidden",name:"utmMedium",value:N.get("utm_medium")||""}),(0,t.jsx)("input",{type:"hidden",name:"utmCampaign",value:N.get("utm_campaign")||""}),(0,t.jsx)("input",{type:"hidden",name:"utmTerm",value:N.get("utm_term")||""}),(0,t.jsx)("input",{type:"hidden",name:"utmContent",value:N.get("utm_content")||""}),(0,t.jsx)("input",{type:"hidden",name:"referrer",value:"undefined"!=typeof document?document.referrer:""}),(0,t.jsx)("input",{type:"hidden",name:"ctaSource",value:N.get("cta_source")||""}),(0,t.jsx)("input",{type:"hidden",name:"landingPage",value:(0,j.getLandingPage)()}),(0,t.jsx)("input",{type:"hidden",name:"sessionId",value:(0,j.getOrCreateAnalyticsSessionId)()}),T&&(0,t.jsxs)("div",{className:"mb-6 border border-accent/25 bg-accent-soft p-4",children:[(0,t.jsx)("p",{className:"font-mono text-[10px] font-semibold uppercase tracking-[0.12em] text-accent",children:"Pricing selection carried into this form"}),(0,t.jsx)("p",{className:"mt-2 font-heading text-lg font-semibold text-ink",children:p(T)})]}),(0,t.jsxs)(f.Field,{className:"mb-6 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Selected SEO Plan"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)(g.Select,{name:"selectedPlan",defaultValue:(null==T?void 0:T.formValue)||"",onChange:e=>{e.target.value&&(0,j.trackConversionEvent)("pricing_plan_select",{placement:"lead_form",variant:o,metadata:{selected_plan:e.target.value}})},className:(0,d.clsx)(w,"appearance-none pr-8"),children:[(0,t.jsx)("option",{value:"",children:"No plan selected yet"}),h.map(e=>(0,t.jsx)("option",{value:e.formValue,children:p(e)},e.formValue))]},(null==T?void 0:T.formValue)||"no-plan"),(0,t.jsx)(y,{className:"pointer-events-none absolute right-2.5 top-2.5 size-4 fill-ash","aria-hidden":"true"})]})]}),(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,t.jsxs)(f.Field,{className:"space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"First Name *"}),(0,t.jsx)(v.Input,{required:!0,type:"text",name:"firstName",placeholder:"John",className:w})]}),(0,t.jsxs)(f.Field,{className:"space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Last Name *"}),(0,t.jsx)(v.Input,{required:!0,type:"text",name:"lastName",placeholder:"Smith",className:w})]})]}),(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Business Email *"}),(0,t.jsx)(v.Input,{required:!0,type:"email",name:"email",placeholder:"[email protected]",className:w})]}),(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsxs)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:["Website URL ","compact"===o?"*":""]}),(0,t.jsx)(v.Input,{type:"url",name:"websiteUrl",required:"compact"===o,placeholder:"https://yourwebsite.com",className:w})]}),"full"===o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mt-5 grid grid-cols-1 gap-6 sm:grid-cols-2",children:[(0,t.jsxs)(f.Field,{className:"space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Company"}),(0,t.jsx)(v.Input,{type:"text",name:"company",className:w})]}),(0,t.jsxs)(f.Field,{className:"space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Phone Number"}),(0,t.jsx)(v.Input,{type:"tel",name:"phone",className:w})]})]}),(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"SEO Service Interest"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)(g.Select,{name:"serviceInterest",className:(0,d.clsx)(w,"appearance-none pr-8"),children:[(0,t.jsx)("option",{value:"",children:"Select a service"}),(0,t.jsx)("option",{value:"seo-audit",children:"SEO Audit & Analysis"}),(0,t.jsx)("option",{value:"keyword-research",children:"Keyword Research & Strategy"}),(0,t.jsx)("option",{value:"technical-seo",children:"Technical SEO Optimization"}),(0,t.jsx)("option",{value:"content-optimization",children:"Content Optimization"}),(0,t.jsx)("option",{value:"local-seo",children:"Local SEO"}),(0,t.jsx)("option",{value:"full-service",children:"Complete SEO Management"}),(0,t.jsx)("option",{value:"aeo",children:"AI Engine Optimization (AEO)"}),(0,t.jsx)("option",{value:"ecommerce-seo",children:"E-commerce SEO"}),(0,t.jsx)("option",{value:"enterprise-seo",children:"Enterprise SEO"}),(0,t.jsx)("option",{value:"other",children:"Other / Not Sure"})]}),(0,t.jsx)(y,{className:"pointer-events-none absolute right-2.5 top-2.5 size-4 fill-ash","aria-hidden":"true"})]})]})]}),"full"===o&&(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"Project Details"}),(0,t.jsx)(x.Textarea,{name:"message",rows:4,placeholder:"Tell us about your SEO goals, current challenges, or any specific questions you have...",className:(0,d.clsx)(w,"resize-none")})]}),(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"How did you find us?"}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsxs)(g.Select,{name:"discoverySource",defaultValue:"",className:(0,d.clsx)(w,"appearance-none pr-8"),children:[(0,t.jsx)("option",{value:"",children:"Select a source"}),(0,t.jsx)("option",{value:"chatgpt",children:"ChatGPT"}),(0,t.jsx)("option",{value:"google-search",children:"Google Search"}),(0,t.jsx)("option",{value:"google-ai-overview",children:"Google AI Overview"}),(0,t.jsx)("option",{value:"bing-search",children:"Bing Search"}),(0,t.jsx)("option",{value:"perplexity",children:"Perplexity"}),(0,t.jsx)("option",{value:"claude",children:"Claude"}),(0,t.jsx)("option",{value:"linkedin-social",children:"LinkedIn or social media"}),(0,t.jsx)("option",{value:"referral",children:"Referral or word of mouth"}),(0,t.jsx)("option",{value:"other",children:"Other"})]}),(0,t.jsx)(y,{className:"pointer-events-none absolute right-2.5 top-2.5 size-4 fill-ash","aria-hidden":"true"})]})]}),(0,t.jsxs)(f.Field,{className:"mt-5 space-y-2",children:[(0,t.jsx)(b.Label,{className:"font-sans text-sm/5 font-medium text-ink",children:"What did you search or ask?"}),(0,t.jsx)(v.Input,{type:"text",name:"discoveryDetail",placeholder:"For example: âAI-native SEO agencyâ or a question you asked ChatGPT",className:w})]}),I.error&&(0,t.jsx)("p",{className:"mt-4 text-sm text-red-600 font-sans",children:I.error}),(0,t.jsxs)("div",{className:"mt-6",children:[(0,t.jsx)(m,{type:"submit",className:"w-full",disabled:A,children:A?"Saving your details...":"Continue to choose a time"}),(0,t.jsxs)("p",{className:"mt-3 font-sans text-xs text-ash text-center",children:["By submitting this form, you agree to our"," ",(0,t.jsx)(n.default,{href:"/privacy",className:"underline hover:text-slate",children:"privacy policy"}),". We'll never spam you."]})]})]})}}]);
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.