{"version":3,"file":"BookingEmbed.C3JLYHkl.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/FNh1MjDxayfn5KMXsTQx/yippCB4DkVvjT7dj9Er2/BookingEmbed.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";const SCRIPT_SRC=\"https://heritagehomecleaners.bookingkoala.com/resources/embed.js\";// BookingKoala's embed.js looks the iframe up by this exact id.\nconst IFRAME_ID=\"iFrameResizer0\";// BookingKoala's documented preselect parameters (\"Query parameters & preselected\n// fields on the booking form\"). Only these are passed from the page URL to the form.\nconst BK_PARAM=/^(industry_id|form_id|location|f_name|l_name|email|phone|service_id|frequency_id|zipcode|minutes|coupon|date|(pricing_parameter|area_parameter|extras)\\[\\d+\\])$/;// Copy BookingKoala parameters from the page URL (e.g. /booknow?zipcode=92660&service_id=1)\n// onto the booking form URL. Returns src unchanged when there are none.\nfunction withPageParams(src){if(typeof window===\"undefined\"||!/\\/booknow\\//.test(src))return src;const page=new URLSearchParams(window.location.search);const extra=[];page.forEach((value,key)=>{if(BK_PARAM.test(key)&&value!==\"\")extra.push(`${key}=${encodeURIComponent(value)}`);});if(!extra.length)return src;return src+(src.includes(\"?\")?\"&\":\"?\")+extra.join(\"&\");}// BookingKoala's form script reads offsetTop/offsetTopM from the form URL. Without\n// offsetTopM, a form that loads narrower than 786px places every popup at the top\n// of the form instead of where the visitor is.\nfunction withPopupOffsets(src){if(!/bookingkoala\\.com/.test(src)||/[?&]offsetTopM=/.test(src))return src;return src+(src.includes(\"?\")?\"&\":\"?\")+\"offsetTop=0&offsetTopM=0\";}/**\n * BookingKoala Embed: renders the BookingKoala iframe and loads its embed script.\n *\n * embed.js only initializes iframes once, on the first full page load. Framer\n * navigates between pages client-side, so when this component mounts after a\n * link click we re-run the resizer and BookingKoala's load handshake ourselves.\n *\n * The form's sticky Booking Summary is positioned by the parent page posting\n * { bodyscroll, posi, top, scrollTop, height } into the iframe. embed.js measures\n * the iframe's position with offsetTop, which is wrong inside Framer's nested\n * layout, so we replace its scroll handler with one that measures correctly and\n * keeps the summary below the sticky site header (topOffset).\n *\n * BookingKoala preselect parameters on the page URL (zipcode, service_id,\n * frequency_id, pricing_parameter[ID], extras[ID], ...) are passed on to the form.\n *\n * When the form loads at phone width, selecting an extra that shows a notice popup\n * makes BookingKoala ask the page to scroll to the top of the form (iframe-resizer\n * scrollToOffset). That throws the visitor far from where they were and the popup\n * gets placed up there. Such requests are held and only carried out if the form's\n * content changes size (a new booking step), not for popups.\n *\n * Opening a popup in the form (e.g. an extra's info tooltip) moves focus into it.\n * Because the whole form is one tall iframe, the browser scrolls the page to show\n * the focused popup, often far from where the visitor was. Sudden jumps like that,\n * while the form has focus and the visitor isn't scrolling the page, are undone.\n *\n * While BookingKoala's app boots inside the iframe, a branded loading state\n * covers the form area; it fades out once the form has loaded and sized itself.\n *\n * @framerIntrinsicWidth 1000\n * @framerIntrinsicHeight 1000\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function BookingEmbed(props){const{src=\"https://heritagehomecleaners.bookingkoala.com/booknow/home_cleaning?embed=true&bar=false&banner=false\",height=1e3,title=\"Book your home cleaning\",topOffset=72}=props;const isStatic=useIsStaticRenderer();const formSrc=withPopupOffsets(src);const iframeRef=useRef(null);const iframeLoaded=useRef(false);const scriptReady=useRef(false);const needsHandshake=useRef(false);const topOffsetRef=useRef(topOffset);const jumpGuardRef=useRef(null);topOffsetRef.current=topOffset;// Loading state: \"loading\" -> \"fading\" -> \"done\"\nconst[loadState,setLoadState]=useState(\"loading\");const finishLoading=()=>setLoadState(s=>s===\"loading\"?\"fading\":s);// Tell the form where it sits relative to the viewport so it can pin the\n// summary (top on desktop/tablet, bottom edge of the screen on phones).\nconst sendPosition=()=>{const iframe=iframeRef.current;if(!iframe||!iframe.contentWindow)return;// A popup opening in the form can jump the page before our scroll handler\n// runs. Undo that first so the popup is placed where the visitor is.\njumpGuardRef.current?.();const scrollTop=window.scrollY;const rect=iframe.getBoundingClientRect();const top=Math.round(rect.top+scrollTop);const viewHeight=window.innerHeight;const posi=Math.max(0,scrollTop+topOffsetRef.current-top);// The phone summary is pinned to the viewport's bottom edge using scrollTop.\n// Cap it so that edge never goes below the form's bottom, otherwise the\n// summary slides out of the iframe and gets clipped.\nconst summaryScrollTop=Math.min(scrollTop,Math.round(top+rect.height-viewHeight));iframe.contentWindow.postMessage({bodyscroll:true,posi,top,scrollTop:summaryScrollTop,height:viewHeight},\"*\");// Popups (e.g. extras' info tooltips) are placed from this shorter message,\n// the same one embed.js's setPopupPosi sends.\niframe.contentWindow.postMessage({bodyscroll:true,posi},\"*\");};const resizerOptions={log:false,checkOrigin:false,heightCalculationMethod:\"bodyOffset\",resizedCallback:()=>sendPosition()};// Swap embed.js's offsetTop-based scroll handler for ours.\nconst takeOverScrollHandling=()=>{const w=window;if(typeof w.winScroll===\"function\")window.removeEventListener(\"scroll\",w.winScroll);w.winScroll=sendPosition;w.setPopupPosi=sendPosition;};// embed.js sends its setup message on window \"load\". If the page had already\n// loaded when we mounted, that event is gone, so send it once both are ready.\nconst sendHandshake=()=>{if(!iframeLoaded.current||!scriptReady.current)return;if(needsHandshake.current){needsHandshake.current=false;const w=window;w.fe=iframeRef.current;if(typeof w.onLoadWindow===\"function\")w.onLoadWindow();}sendPosition();};useEffect(()=>{const iframe=iframeRef.current;if(!iframe||typeof document===\"undefined\")return;const w=window;needsHandshake.current=document.readyState===\"complete\";// The page is prerendered without its query string, so point the form at the\n// preselected options now. The new form load gets its own handshake.\nconst target=withPageParams(formSrc);if(target!==formSrc&&iframe.src!==target){iframeLoaded.current=false;needsHandshake.current=true;iframe.src=target;setLoadState(\"loading\");}const existing=document.querySelector(`script[src=\"${SCRIPT_SRC}\"]`);if(existing&&typeof w.iFrameResize===\"function\"){// Script already ran for an earlier page: wire up this new iframe.\nw.fe=iframe;w.iFrameResize(resizerOptions,iframe);takeOverScrollHandling();scriptReady.current=true;sendHandshake();}else{const s=existing??document.createElement(\"script\");s.addEventListener(\"load\",()=>{takeOverScrollHandling();scriptReady.current=true;sendHandshake();});if(!existing){s.src=SCRIPT_SRC;s.defer=true;document.body.appendChild(s);}}let frame=0;const schedule=()=>{if(frame)return;frame=requestAnimationFrame(()=>{frame=0;sendPosition();});};window.addEventListener(\"scroll\",schedule,{passive:true});window.addEventListener(\"resize\",schedule);// Content above the form can shift it (images loading, fonts, form steps).\nconst observer=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(schedule):null;observer?.observe(document.body);observer?.observe(iframe);// Hold BookingKoala's \"scroll the page to the form\" requests (see above).\n// iframe-resizer carries out the request with window.scrollTo while handling\n// the form's message, so scrollTo calls made during that message are held.\nconst realScrollTo=window.scrollTo;let heldTimer=0;const isFormScrollRequest=()=>{const ev=window.event;return ev instanceof MessageEvent&&ev.source===iframe.contentWindow&&typeof ev.data===\"string\"&&/^\\[iFrameSizer\\][^:]*:[^:]*:[^:]*:scrollTo(Offset)?$/.test(ev.data);};const heldScrollTo=function(...args){if(!isFormScrollRequest())return realScrollTo.apply(window,args);const heightBefore=iframe.offsetHeight;window.clearTimeout(heldTimer);heldTimer=window.setTimeout(()=>{if(Math.abs(iframe.offsetHeight-heightBefore)<40)return;lastInput=Date.now()// a real step change: let the jump guard allow it\n;realScrollTo.apply(window,args);},450);};window.scrollTo=heldScrollTo;// Undo focus-driven page jumps caused by popups opening inside the form.\nlet lastY=window.scrollY;let lastInput=0;let lastPointerMove=0;const markInput=()=>{lastInput=Date.now();};const markPointerMove=()=>{lastPointerMove=Date.now();};let resends=[];// Returns true when it undid a jump.\nconst undoJump=()=>{const y=window.scrollY;const now=Date.now();const bigJump=Math.abs(y-lastY)>Math.max(300,window.innerHeight*.6);const visitorScrolling=now-lastInput<600||now-lastPointerMove<150;if(bigJump&&!visitorScrolling&&document.activeElement===iframe){realScrollTo.call(window,{top:lastY,behavior:\"instant\"});return true;}lastY=y;return false;};jumpGuardRef.current=undoJump;const guardScroll=()=>{if(!undoJump())return;// The form may already have placed the popup at the jumped position:\n// re-send the visitor's real position while the popup settles.\nresends.forEach(t=>window.clearTimeout(t));resends=[0,60,150,300,600].map(ms=>window.setTimeout(sendPosition,ms));sendPosition();};const inputEvents=[\"pointerdown\",\"wheel\",\"touchstart\",\"keydown\"];inputEvents.forEach(e=>window.addEventListener(e,markInput,{capture:true,passive:true}));window.addEventListener(\"pointermove\",markPointerMove,{capture:true,passive:true});window.addEventListener(\"scroll\",guardScroll,{passive:true});// Hide the loading state once the form has loaded and its height has settled.\n// BookingKoala reports a few in-between heights while its app boots, so wait\n// until the height has stopped changing for a moment. While loading, the\n// iframe keeps at least its starting height (minHeight below), so those\n// in-between heights don't collapse the page.\n// Fallbacks: 4s after the iframe loads, or 15s after mount at most.\nlet loadedAt=0;let fallback=0;let settle=0;const initialHeight=iframe.style.height;const settleSoon=()=>{window.clearTimeout(settle);settle=window.setTimeout(finishLoading,700);};// Watch the height iframe-resizer sets (the box itself may not change while\n// the minimum height holds it open).\nconst sizeWatch=typeof MutationObserver!==\"undefined\"?new MutationObserver(()=>{if(loadedAt&&iframe.style.height!==initialHeight)settleSoon();}):null;sizeWatch?.observe(iframe,{attributes:true,attributeFilter:[\"style\"]});const onFrameLoad=()=>{loadedAt=Date.now();window.clearTimeout(fallback);fallback=window.setTimeout(finishLoading,4e3);if(iframe.style.height!==initialHeight)settleSoon();};iframe.addEventListener(\"load\",onFrameLoad);const hardStop=window.setTimeout(finishLoading,15e3);return()=>{sizeWatch?.disconnect();iframe.removeEventListener(\"load\",onFrameLoad);window.clearTimeout(fallback);window.clearTimeout(settle);window.clearTimeout(hardStop);window.removeEventListener(\"scroll\",schedule);window.removeEventListener(\"scroll\",guardScroll);window.clearTimeout(heldTimer);if(window.scrollTo===heldScrollTo)window.scrollTo=realScrollTo;resends.forEach(t=>window.clearTimeout(t));jumpGuardRef.current=null;inputEvents.forEach(e=>window.removeEventListener(e,markInput,{capture:true}));window.removeEventListener(\"pointermove\",markPointerMove,{capture:true});window.removeEventListener(\"resize\",schedule);observer?.disconnect();if(frame)cancelAnimationFrame(frame);iframe.iFrameResizer?.removeListeners?.();};},[src]);useEffect(()=>{if(loadState!==\"fading\")return;const t=window.setTimeout(()=>setLoadState(\"done\"),350);return()=>window.clearTimeout(t);},[loadState]);if(isStatic){return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,width:\"100%\",height,border:\"1px dashed #3D7A5B\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",fontFamily:\"Jost, sans-serif\",color:\"#163324\",background:\"#FBF8F1\"},children:[\"BookingKoala embed (\",title,\") renders on the live site\"]});}return /*#__PURE__*/_jsxs(\"div\",{style:{...props.style,width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"iframe\",{ref:iframeRef,id:IFRAME_ID,src:formSrc,title:title,style:{border:\"none\",height,minHeight:loadState===\"done\"?undefined:height,width:\"100%\",display:\"block\"},width:\"100%\",scrolling:\"no\",onLoad:()=>{iframeLoaded.current=true;sendHandshake();}}),loadState!==\"done\"?/*#__PURE__*/_jsxs(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:2,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"flex-start\",gap:14,paddingTop:96,background:\"var(--token-96798232-f905-499d-aada-92d5a2694e8b, #FBF8F1)\",opacity:loadState===\"fading\"?0:1,transition:\"opacity 0.35s ease\",pointerEvents:loadState===\"fading\"?\"none\":\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`@keyframes hhcSpin{to{transform:rotate(360deg)}}`}),/*#__PURE__*/_jsx(\"div\",{style:{width:34,height:34,borderRadius:\"50%\",border:\"3px solid rgba(61,122,91,0.18)\",borderTopColor:\"#3D7A5B\",animation:\"hhcSpin 0.9s linear infinite\"}}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:\"Jost, sans-serif\",fontSize:15,letterSpacing:\"0.02em\",color:\"#163324\"},children:\"Loading…\"})]}):null]});}addPropertyControls(BookingEmbed,{src:{type:ControlType.String,title:\"Embed URL\",defaultValue:\"https://heritagehomecleaners.bookingkoala.com/booknow/home_cleaning?embed=true&bar=false&banner=false\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:1e3,min:300,max:3e3,unit:\"px\"},title:{type:ControlType.String,title:\"Title\",defaultValue:\"Book your home cleaning\"},topOffset:{type:ControlType.Number,title:\"Top Offset\",defaultValue:72,min:0,max:300,unit:\"px\",description:\"Height of the sticky site header, so the Booking Summary pins just below it.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BookingEmbed\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1000\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"1000\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BookingEmbed.map"],"mappings":"qNAKA,SAAS,EAAe,EAAI,CAAC,GAAU,IAAS,QAAa,CAAC,cAAc,KAAK,CAAG,EAAE,OAAO,EAAI,IAAM,EAAK,IAAI,gBAAgB,EAAO,SAAS,MAAM,EAAQ,EAAM,CAAC,EAAgJ,OAA9I,EAAK,SAAS,EAAM,IAAM,CAAI,EAAS,KAAK,CAAG,GAAG,IAAQ,IAAG,EAAM,KAAK,GAAG,EAAI,GAAG,mBAAmB,CAAK,GAAG,CAAE,CAAC,EAAM,EAAM,OAAyB,GAAK,EAAI,SAAS,GAAG,EAAE,IAAI,KAAK,EAAM,KAAK,GAAG,EAAzD,CAA2D,CAG5W,SAAS,EAAiB,EAAI,CAA2E,MAAvE,CAAC,oBAAoB,KAAK,CAAG,GAAG,kBAAkB,KAAK,CAAG,EAAS,EAAW,GAAK,EAAI,SAAS,GAAG,EAAE,IAAI,KAAK,0BAA2B,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