{"version":3,"file":"AIPageScripts.DuQgm5QZ.mjs","names":["useState","useRef","_Fragment","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","Ha","ce","init_jsx_runtime","init_npm_react_dom_18_3_1","c","_e","de","RenderTarget","addPropertyControls","init_framer_DS5RHCUB","ControlType","schemaJson","pageUrl","DEFAULT_PAGE_URL","getRegistry","w","REGISTRY_KEY","pushDL","payload","loadGtm","clean","id","scripts","i","src","first","j","pushPurchaseOnce","reg","sid","isDemoHref","href","locationOf","ds","el","explicit","kind","m","section","SKIP_ID","node","restoreFocus","makeClickHandler","t","e","BOOK_ID","DEMO_ID","plain","book","api","demo","a","AIPageScripts","DEFAULT_GTM_ID","DEFAULT_VIDEO_URL","DEFAULT_BOOKING_EMBED_URL","DEFAULT_BOOKING_URL","props","isCanvas","landing","mode","owner","setOwner","embedOn","setEmbedOn","bookView","setBookView","demoView","setDemoView","bookRef","demoRef","videoRef","lock","latest","lockScroll","html","body","sw","releaseScroll","prev","bookReady","s","bookFail","demoReady","demoFail","closeVideo","v","frac","unloadVideo","openBooking","d","trigger","WATCHDOG_MS","openDemo","url","reload","pr","gtmId","claim","on","wasOwner","onClick","bd","dd","onBookClose","onDemoClose","closeOnBackdrop","closeOnEscape","dialogs","l","DIALOG_CSS","closeIcon","bookingEmbedUrl","bookingUrl","arrowIcon","videoPoster","p","videoUrl","style","labelStyle","hideOnThankYou","init_AIPageScripts"],"sources":["https:/framerusercontent.com/modules/rMhsfhZb72VQP58MGwkK/gyaBX8SrF9feJRggqLP6/AIPageScripts.js"],"sourcesContent":["// AI Page Scripts\n// An invisible page-level component for the AI System pages. It carries the behaviour the original\n// page ran outside its layout.\n// Landing mode: the Service schema in the server-rendered HTML, the GTM container, begin_checkout on\n// Stripe links, the booking dialog for zohobookings links and the demo video dialog.\n// Thank-you mode: the GTM container and one purchase_complete push per page load.\n// In the Framer canvas it shows a small dashed label so editors can find it, and does nothing else.\n// Triggers: any link to zohobookings.com opens the booking dialog; a link to \"#demo\", \"#demo-<location>\"\n// or a .mp4 file opens the demo. To send the same locations as the original page, put the pricing booking\n// button inside a frame with the id \"pricing\", and link the three demo triggers to \"#demo-hero\",\n// \"#demo-hero_cta\" and \"#demo-price\".\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const DEFAULT_GTM_ID=\"GTM-TD8HMHBX\";// The same demo.mp4 the live page serves, uploaded to Framer, so the page does not depend on the old subdomain.\nconst DEFAULT_VIDEO_URL=\"https://framerusercontent.com/assets/38DZ6O2vhB1ONlgWnmtPoS59H7Y.mp4\";const DEFAULT_BOOKING_EMBED_URL=\"https://dotspresentations.zohobookings.com/portal-embed#/4699112000000480002\";const DEFAULT_BOOKING_URL=\"https://dotspresentations.zohobookings.com/\";const DEFAULT_PAGE_URL=\"https://www.dotspresentations.com/ai-system\";const WATCHDOG_MS=15e3;const BOOK_ID=\"dots-booking-dialog\";const DEMO_ID=\"dots-demo-dialog\";const REGISTRY_KEY=\"__dotsAiPageScripts\";// Ids Framer or the page shell generate, which say nothing about where a link sits.\nconst SKIP_ID=/^(main|root|overlay|template-overlay|nav-spacer|__|undefined|svg)/i;// The Service schema from the original index.html head, with the offer url pointed at this page.\nfunction schemaJson(pageUrl){const data={\"@context\":\"https://schema.org\",\"@type\":\"Service\",name:\"Dots AI System\",serviceType:\"AI presentation design system\",provider:{\"@type\":\"Organization\",name:\"Dots Presentations\",url:\"https://www.dotspresentations.com\"},description:\"A custom PowerPoint template, a reference deck, the Dots AI System and a playbook. Install it into Claude or ChatGPT and every deck your team asks for comes back built on your real template. $1,999 one time, yours to keep.\",areaServed:\"Worldwide\",offers:{\"@type\":\"Offer\",price:\"1999\",priceCurrency:\"USD\",url:pageUrl||DEFAULT_PAGE_URL}};// Escapes keep a stray \"</script>\" in a prop from closing the tag. They do not change the JSON value.\nreturn JSON.stringify(data).replace(/</g,\"\\\\u003c\").replace(/>/g,\"\\\\u003e\").replace(/&/g,\"\\\\u0026\");}function getRegistry(){const w=window;if(!w[REGISTRY_KEY])w[REGISTRY_KEY]={owners:[],listeners:0,purchaseSent:false};return w[REGISTRY_KEY];}function pushDL(payload){const w=window;w.dataLayer=w.dataLayer||[];w.dataLayer.push(payload);}// The standard GTM snippet, run once per container id per document.\nfunction loadGtm(id){const clean=String(id||\"\").trim();if(!/^GTM-[A-Z0-9]+$/i.test(clean))return;const w=window;if(w.google_tag_manager&&w.google_tag_manager[clean])return;const scripts=document.getElementsByTagName(\"script\");for(let i=0;i<scripts.length;i++){const src=scripts[i].getAttribute(\"src\")||\"\";if(src.indexOf(\"googletagmanager.com/gtm.js\")===-1)continue;try{if(new URL(src,window.location.href).searchParams.get(\"id\")===clean)return;}catch(e){}}w.dataLayer=w.dataLayer||[];w.dataLayer.push({\"gtm.start\":new Date().getTime(),event:\"gtm.js\"});const first=scripts[0];const j=document.createElement(\"script\");j.async=true;j.src=\"https://www.googletagmanager.com/gtm.js?id=\"+clean;if(first&&first.parentNode)first.parentNode.insertBefore(j,first);else document.head.appendChild(j);}// Same payload and session_id handling as the original thank-you page, once per page load.\nfunction pushPurchaseOnce(){const reg=getRegistry();if(reg.purchaseSent)return;reg.purchaseSent=true;try{const payload={event:\"purchase_complete\",currency:\"USD\",value:1999,item_name:\"Dots AI Design System\"};try{const sid=new URLSearchParams(window.location.search).get(\"session_id\");if(sid&&sid.trim()!==\"\")payload.transaction_id=sid;}catch(e){}pushDL(payload);}catch(e){}}function isDemoHref(href){if(/#demo([-_:]|$)/i.test(href))return true;try{return new URL(href,window.location.href).pathname.toLowerCase().endsWith(\".mp4\");}catch(e){return/\\.mp4([?#]|$)/i.test(href);}}// Where a trigger sits, for the event \"location\". The original read data-book-location and\n// data-demo-open, so those win. Then data-location, a \"#demo-<name>\" href suffix, the footer or\n// header the link is in, the enclosing section's id, and finally the nearest ancestor with a\n// meaningful id (a Framer frame named as a scroll section).\nfunction locationOf(el,kind){const ds=el.dataset||{};const explicit=kind===\"book\"?ds.bookLocation:ds.demoOpen||ds.demoTrigger;if(explicit)return explicit;if(ds.location)return ds.location;if(kind===\"demo\"){const m=(el.getAttribute(\"href\")||\"\").match(/#demo[-_:]([\\w-]+)/i);if(m)return m[1];}if(el.closest('footer, [data-framer-name=\"Footer\"], [data-framer-name=\"footer\"]'))return\"footer\";if(el.closest('nav, header, [data-framer-name=\"header\"], [data-framer-name=\"Header\"]'))return\"nav\";const section=el.closest(\"section[id]\");if(section&&!SKIP_ID.test(section.id))return section.id;let node=el.parentElement;while(node&&node!==document.body){const id=node.id;if(id&&!SKIP_ID.test(id))return id;node=node.parentElement;}return\"unknown\";}function restoreFocus(el){if(!el||!el.isConnected||typeof el.focus!==\"function\")return;try{el.focus({preventScroll:true});}catch(e){}}function makeClickHandler(api){return e=>{const t=e.target;if(!(t instanceof Element))return;// Links inside the dialogs (the fallback links) behave as plain links.\nif(t.closest(\"#\"+BOOK_ID+\", #\"+DEMO_ID))return;if(t.closest('a[href*=\"buy.stripe.com\"]')){pushDL({event:\"begin_checkout\",checkout_source:\"ai-system\",currency:\"USD\",value:1999,items:[{item_id:\"dots-ai-system\",item_name:\"Dots AI System\",price:1999,quantity:1}]});return;}const plain=e.button===0&&!e.metaKey&&!e.ctrlKey&&!e.shiftKey&&!e.altKey;const book=t.closest('a[href*=\"zohobookings.com\"]');if(book){if(e.defaultPrevented||!plain)return;e.preventDefault();e.stopPropagation();api.current.openBooking(locationOf(book,\"book\"),book);return;}let demo=t.closest(\"[data-demo-trigger], [data-demo-open]\");if(!demo){const a=t.closest(\"a[href]\");if(a&&isDemoHref(a.getAttribute(\"href\")||\"\"))demo=a;}if(demo){if(e.defaultPrevented||!plain)return;e.preventDefault();e.stopPropagation();api.current.openDemo(locationOf(demo,\"demo\"),demo);}};}const closeIcon=/*#__PURE__*/_jsx(\"svg\",{viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12M18 6L6 18\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\"})});const arrowIcon=/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 17L17 7M17 7H8M17 7V16\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});// The original .dbk-* and .dvd-* rules, with the page tokens they read defined on the dialogs.\nconst DIALOG_CSS=`\n#${BOOK_ID},#${DEMO_ID}{--bg:#F1F4E4;--paper:#FAFBF3;--navy:#12161D;--lime:#C7F08B;--cream:#F6F4EE;--ink:#161B23;--ink-soft:#5C6370;--fu:\"Space Grotesk\",ui-sans-serif,system-ui,sans-serif;font-family:var(--fu);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;box-sizing:border-box}\n#${BOOK_ID} *,#${DEMO_ID} *{box-sizing:border-box}\n#${BOOK_ID} p,#${DEMO_ID} p{margin:1em 0}\n#${BOOK_ID}{padding:0;border:0;margin:auto;max-width:100vw;max-height:100dvh;background:transparent;color:var(--ink)}\n#${BOOK_ID}::backdrop{background:rgba(22,27,35,.5)}\n#${BOOK_ID},#${BOOK_ID}::backdrop{opacity:1;transition:opacity .22s ease}\n@starting-style{#${BOOK_ID}[open]{opacity:0}#${BOOK_ID}[open]::backdrop{opacity:0}}\n.dbk-shell{display:flex;flex-direction:column;width:min(720px,calc(100vw - 32px));height:min(720px,90dvh);background:var(--paper);border:1px solid rgba(22,27,35,.08);border-radius:20px;box-shadow:0 60px 110px -44px rgba(22,27,35,.5),0 12px 30px -18px rgba(22,27,35,.25);overflow:hidden;font-family:var(--fu)}\n.dbk-head{display:flex;align-items:center;justify-content:flex-end;padding:12px 12px 8px;flex:none}\n.dbk-close{width:34px;height:34px;flex:none;border-radius:999px;background:#fff;border:1px solid rgba(22,27,35,.1);display:grid;place-items:center;cursor:pointer;color:var(--ink);padding:0}\n.dbk-close:hover{background:var(--bg)}\n.dbk-close svg{width:16px;height:16px}\n.dbk-body{position:relative;flex:1;min-height:0}\n.dbk-embed{position:absolute;inset:0}\n#${BOOK_ID} .dbk-embed iframe{width:100%!important;height:100%!important;border:0!important;display:block}\n.dbk-load{position:absolute;inset:0;display:grid;place-items:center}\n.dbk-spin{width:34px;height:34px;border-radius:999px;border:3px solid rgba(22,27,35,.14);border-top-color:var(--ink);animation:dbk-rot .8s linear infinite}\n.dbk-fail{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px;color:var(--ink-soft);font-size:15.5px;line-height:1.55;font-family:var(--fu)}\n.dbk-fail a{display:inline-flex;align-items:center;gap:7px;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px}\n@keyframes dbk-rot{to{transform:rotate(360deg)}}\n@media(max-width:767px){.dbk-shell{width:100vw;height:100dvh;max-height:100dvh;border-radius:0;border:0;overflow-y:auto;padding-bottom:env(safe-area-inset-bottom)}.dbk-head{padding-top:max(12px,env(safe-area-inset-top))}.dbk-body{min-height:520px}}\n@media(prefers-reduced-motion:reduce){#${BOOK_ID},#${BOOK_ID}::backdrop{transition:none}.dbk-spin{animation:none}}\n#${DEMO_ID}{padding:0;border:0;margin:auto;max-width:100vw;max-height:100dvh;background:transparent;color:var(--ink)}\n#${DEMO_ID}::backdrop{background:rgba(22,27,35,.5)}\n#${DEMO_ID},#${DEMO_ID}::backdrop{opacity:1;transition:opacity .22s ease}\n@starting-style{#${DEMO_ID}[open]{opacity:0}#${DEMO_ID}[open]::backdrop{opacity:0}}\n.dvd-shell{position:relative;width:min(1040px,calc(100vw - 32px));background:var(--paper);border:1px solid rgba(22,27,35,.08);border-radius:20px;box-shadow:0 60px 110px -44px rgba(22,27,35,.5),0 12px 30px -18px rgba(22,27,35,.25);overflow:hidden;font-family:var(--fu)}\n.dvd-head{display:flex;align-items:center;justify-content:flex-end;padding:12px 12px 8px;flex:none}\n.dvd-close{width:34px;height:34px;flex:none;border-radius:999px;background:#fff;border:1px solid rgba(22,27,35,.1);display:grid;place-items:center;cursor:pointer;color:var(--ink);padding:0}\n.dvd-close:hover{background:var(--bg)}\n.dvd-close svg{width:16px;height:16px}\n.dvd-body{position:relative;aspect-ratio:1660/1080;background:var(--navy)}\n.dvd-body video{display:block;width:100%;height:100%}\n.dvd-load{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}\n.dvd-spin{width:34px;height:34px;border-radius:999px;border:3px solid rgba(246,244,238,.2);border-top-color:var(--cream);animation:dvd-rot .8s linear infinite}\n.dvd-fail{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;text-align:center;padding:24px;color:var(--cream);font-size:15.5px;line-height:1.55;font-family:var(--fu)}\n.dvd-fail a{display:inline-flex;align-items:center;gap:7px;font-weight:600;color:var(--lime);text-decoration:underline;text-underline-offset:3px}\n@keyframes dvd-rot{to{transform:rotate(360deg)}}\n@media(max-width:767px){.dvd-shell{width:100vw;border-radius:0;border:0}}\n@media(prefers-reduced-motion:reduce){#${DEMO_ID},#${DEMO_ID}::backdrop{transition:none}.dvd-spin{animation:none}}\n`;const labelStyle={display:\"inline-flex\",alignItems:\"center\",gap:6,height:28,padding:\"0 10px\",boxSizing:\"border-box\",border:\"1px dashed rgba(22,27,35,.45)\",borderRadius:6,background:\"rgba(250,251,243,.9)\",color:\"#5C6370\",fontFamily:'\"JetBrains Mono\", ui-monospace, SFMono-Regular, Menlo, monospace',fontSize:11,fontWeight:500,lineHeight:1,letterSpacing:\".02em\",whiteSpace:\"nowrap\"};/**\n * AI Page Scripts\n *\n * Invisible page-level scripts for the AI System pages: schema, GTM, conversion events, the booking\n * dialog and the demo video dialog. Place it once per page, absolutely positioned.\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function AIPageScripts(props){const{mode=\"landing\",gtmId=DEFAULT_GTM_ID,videoUrl=DEFAULT_VIDEO_URL,videoPoster=\"\",bookingEmbedUrl=DEFAULT_BOOKING_EMBED_URL,bookingUrl=DEFAULT_BOOKING_URL,pageUrl=DEFAULT_PAGE_URL,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const landing=mode!==\"thankYou\";const[owner,setOwner]=useState(false);const[embedOn,setEmbedOn]=useState(false);const[bookView,setBookView]=useState(\"load\");const[demoView,setDemoView]=useState(\"load\");const bookRef=useRef(null);const demoRef=useRef(null);const videoRef=useRef(null);const book=useRef({ready:false,failed:false,timer:0,trigger:null});// start, progress_50 and complete fire once per page view; open and dismiss per interaction.\nconst demo=useRef({ready:false,failed:false,timer:0,trigger:null,attached:false,sent:{start:false,half:false,done:false}});const lock=useRef(null);const latest=useRef({videoUrl});latest.current={videoUrl};const lockScroll=()=>{if(lock.current)return;const html=document.documentElement;const body=document.body;const sw=window.innerWidth-html.clientWidth;lock.current={html:html.style.overflow,body:body.style.overflow,pad:body.style.paddingRight};html.style.overflow=\"hidden\";body.style.overflow=\"hidden\";if(sw>0)body.style.paddingRight=sw+\"px\";};const releaseScroll=()=>{const prev=lock.current;if(!prev)return;lock.current=null;document.documentElement.style.overflow=prev.html;document.body.style.overflow=prev.body;document.body.style.paddingRight=prev.pad;};const bookReady=()=>{const s=book.current;if(s.ready)return;s.ready=true;s.failed=false;clearTimeout(s.timer);setBookView(\"none\");};const bookFail=()=>{const s=book.current;if(s.ready||s.failed)return;s.failed=true;clearTimeout(s.timer);setBookView(\"fail\");pushDL({event:\"book_call_embed_failed\"});};const demoReady=()=>{const s=demo.current;if(s.ready||!s.attached)return;s.ready=true;s.failed=false;clearTimeout(s.timer);setDemoView(\"none\");};const demoFail=()=>{const s=demo.current;if(s.ready||s.failed)return;s.failed=true;clearTimeout(s.timer);setDemoView(\"fail\");pushDL({event:\"demo_video_load_failed\"});};// On a user close, as the original: pause, report an early dismiss and rewind. The source stays\n// attached, so a reopen plays at once with no spinner and no second download.\nconst closeVideo=v=>{const s=demo.current;if(!v||!s.attached)return;const frac=v.duration&&isFinite(v.duration)?v.currentTime/v.duration:0;try{v.pause();}catch(e){}if(frac<.25)pushDL({event:\"demo_video_dismiss\"});try{v.currentTime=0;}catch(e){}};// On unmount (Framer navigates client side): stop and release the video, with no event.\nconst unloadVideo=v=>{const s=demo.current;if(!v||!s.attached)return;try{v.pause();}catch(e){}s.attached=false;s.ready=false;v.removeAttribute(\"src\");try{v.load();}catch(e){}};const openBooking=(location,trigger)=>{const d=bookRef.current;if(!d||d.open)return;const s=book.current;pushDL({event:\"book_call_open\",location});s.trigger=trigger;setBookView(s.ready?\"none\":s.failed?\"fail\":\"load\");d.showModal();lockScroll();if(!s.ready&&!s.failed){clearTimeout(s.timer);s.timer=setTimeout(bookFail,WATCHDOG_MS);setEmbedOn(true);}};const openDemo=(location,trigger)=>{const d=demoRef.current;const v=videoRef.current;if(!d||!v||d.open)return;const s=demo.current;pushDL({event:\"demo_video_open\",location});s.trigger=trigger;// The source is attached on the first open, so the page never downloads the video before a\n// visitor asks. Later opens reuse it, unless the url changed or the last load errored.\nconst url=latest.current.videoUrl;const reload=!s.attached||v.getAttribute(\"src\")!==url||!!v.error;if(reload)s.ready=false;setDemoView(s.ready?\"none\":s.failed?\"fail\":\"load\");d.showModal();lockScroll();if(reload){s.attached=true;v.src=url;v.load();}if(!s.ready&&!s.failed){clearTimeout(s.timer);s.timer=setTimeout(demoFail,WATCHDOG_MS);}const pr=v.play();if(pr&&pr.catch)pr.catch(()=>{});};const api=useRef({openBooking,openDemo});api.current={openBooking,openDemo};// GTM on both pages, and the purchase event on the thank-you page.\nuseEffect(()=>{if(isCanvas)return;loadGtm(gtmId);if(!landing)pushPurchaseOnce();},[isCanvas,landing,gtmId]);// Only one mounted instance owns the listener and the dialogs, even if Framer mounts two.\nuseEffect(()=>{if(isCanvas||!landing)return;const reg=getRegistry();const claim=on=>setOwner(on);reg.owners.push(claim);if(reg.owners[0]===claim)setOwner(true);return()=>{const wasOwner=reg.owners[0]===claim;const i=reg.owners.indexOf(claim);if(i!==-1)reg.owners.splice(i,1);setOwner(false);if(wasOwner&&reg.owners[0])reg.owners[0](true);};},[isCanvas,landing]);// The capture-phase click listener and the dialog close handling, while this instance owns them.\nuseEffect(()=>{if(!owner)return;const reg=getRegistry();const onClick=makeClickHandler(api);document.addEventListener(\"click\",onClick,true);reg.listeners++;const bd=bookRef.current;const dd=demoRef.current;const v=videoRef.current;const onBookClose=()=>{releaseScroll();clearTimeout(book.current.timer);restoreFocus(book.current.trigger);book.current.trigger=null;};const onDemoClose=()=>{releaseScroll();clearTimeout(demo.current.timer);closeVideo(v);restoreFocus(demo.current.trigger);demo.current.trigger=null;};if(bd)bd.addEventListener(\"close\",onBookClose);if(dd)dd.addEventListener(\"close\",onDemoClose);return()=>{document.removeEventListener(\"click\",onClick,true);reg.listeners--;if(bd)bd.removeEventListener(\"close\",onBookClose);if(dd)dd.removeEventListener(\"close\",onDemoClose);clearTimeout(book.current.timer);clearTimeout(demo.current.timer);unloadVideo(v);releaseScroll();};},[owner]);const closeOnBackdrop=e=>{if(e.target===e.currentTarget)e.currentTarget.close();};const closeOnEscape=e=>{if(e.key===\"Escape\")e.currentTarget.close();};const dialogs=owner&&landing&&!isCanvas?/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:DIALOG_CSS}),/*#__PURE__*/_jsx(\"dialog\",{id:BOOK_ID,ref:bookRef,\"aria-label\":\"Book a call\",onClick:closeOnBackdrop,onKeyDown:closeOnEscape,children:/*#__PURE__*/_jsxs(\"div\",{className:\"dbk-shell\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"dbk-head\",children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"dbk-close\",\"aria-label\":\"Close\",onClick:()=>bookRef.current&&bookRef.current.close(),children:closeIcon})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dbk-body\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"dbk-embed\",children:embedOn?/*#__PURE__*/_jsx(\"iframe\",{src:bookingEmbedUrl,title:\"Book a call\",onLoad:bookReady}):null}),/*#__PURE__*/_jsx(\"div\",{className:\"dbk-load\",\"aria-hidden\":\"true\",style:{display:bookView===\"load\"?\"grid\":\"none\"},children:/*#__PURE__*/_jsx(\"span\",{className:\"dbk-spin\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dbk-fail\",style:{display:bookView===\"fail\"?\"flex\":\"none\"},children:[/*#__PURE__*/_jsx(\"p\",{children:\"Booking is taking a moment to load.\"}),/*#__PURE__*/_jsxs(\"a\",{href:bookingUrl,target:\"_blank\",rel:\"noopener\",children:[\"Open the booking page \",arrowIcon]})]})]})]})}),/*#__PURE__*/_jsx(\"dialog\",{id:DEMO_ID,ref:demoRef,\"aria-label\":\"The demo video\",onClick:closeOnBackdrop,onKeyDown:closeOnEscape,children:/*#__PURE__*/_jsxs(\"div\",{className:\"dvd-shell\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"dvd-head\",children:/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"dvd-close\",\"aria-label\":\"Close\",onClick:()=>demoRef.current&&demoRef.current.close(),children:closeIcon})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dvd-body\",children:[/*#__PURE__*/_jsx(\"video\",{ref:videoRef,preload:\"none\",playsInline:true,controls:true,poster:videoPoster||undefined,onLoadedData:demoReady,onPlaying:demoReady,onError:()=>{// As the original: any error once the source is attached, open or not.\nconst v=videoRef.current;if(v&&v.getAttribute(\"src\"))demoFail();},onPlay:()=>{const s=demo.current;if(s.sent.start)return;s.sent.start=true;pushDL({event:\"demo_video_start\"});},onTimeUpdate:()=>{const v=videoRef.current;const s=demo.current;if(!v||!v.duration||!isFinite(v.duration))return;const p=v.currentTime/v.duration;if(p>=.5&&!s.sent.half){s.sent.half=true;pushDL({event:\"demo_video_progress_50\"});}if(p>=.95&&!s.sent.done){s.sent.done=true;pushDL({event:\"demo_video_complete\"});}},onEnded:()=>{const s=demo.current;if(s.sent.done)return;s.sent.done=true;pushDL({event:\"demo_video_complete\"});}}),/*#__PURE__*/_jsx(\"div\",{className:\"dvd-load\",\"aria-hidden\":\"true\",style:{display:demoView===\"load\"?\"grid\":\"none\"},children:/*#__PURE__*/_jsx(\"span\",{className:\"dvd-spin\"})}),/*#__PURE__*/_jsxs(\"div\",{className:\"dvd-fail\",style:{display:demoView===\"fail\"?\"flex\":\"none\"},children:[/*#__PURE__*/_jsx(\"p\",{children:\"The demo is taking a moment to load.\"}),/*#__PURE__*/_jsxs(\"a\",{href:videoUrl,target:\"_blank\",rel:\"noopener\",children:[\"Open the video file \",arrowIcon]})]})]})]})})]}),document.body):null;return /*#__PURE__*/_jsxs(\"div\",{style:{...style,position:\"relative\"},\"aria-hidden\":isCanvas?undefined:true,\"data-ai-page-scripts\":landing?\"landing\":\"thank-you\",children:[landing?/*#__PURE__*/_jsx(\"script\",{type:\"application/ld+json\",dangerouslySetInnerHTML:{__html:schemaJson(pageUrl)}}):null,isCanvas?/*#__PURE__*/_jsxs(\"div\",{style:labelStyle,children:[\"AI page scripts\",/*#__PURE__*/_jsx(\"span\",{style:{opacity:.6},children:landing?\"landing\":\"thank you\"})]}):null,dialogs]});}const hideOnThankYou=p=>p.mode===\"thankYou\";addPropertyControls(AIPageScripts,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"landing\",\"thankYou\"],optionTitles:[\"Landing\",\"Thank you\"],defaultValue:\"landing\",displaySegmentedControl:true},gtmId:{type:ControlType.String,title:\"GTM ID\",defaultValue:DEFAULT_GTM_ID,placeholder:\"GTM-XXXXXXX\"},videoUrl:{type:ControlType.String,title:\"Video URL\",defaultValue:DEFAULT_VIDEO_URL,hidden:hideOnThankYou},videoPoster:{type:ControlType.String,title:\"Video Poster\",defaultValue:\"\",placeholder:\"Image URL, optional\",hidden:hideOnThankYou},bookingEmbedUrl:{type:ControlType.String,title:\"Booking Embed\",defaultValue:DEFAULT_BOOKING_EMBED_URL,hidden:hideOnThankYou},bookingUrl:{type:ControlType.String,title:\"Booking Page\",defaultValue:DEFAULT_BOOKING_URL,hidden:hideOnThankYou},pageUrl:{type:ControlType.String,title:\"Page URL\",defaultValue:DEFAULT_PAGE_URL,description:\"Used as the offer url in the Service schema.\",hidden:hideOnThankYou}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AIPageScripts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AIPageScripts.map"],"mappings":"A,sOAcA,SAASkB,GAAW,EAAQ,CAC5B,OAAO,KAAK,UAAU,CADmB,WAAW,qBAAqB,QAAQ,UAAU,KAAK,iBAAiB,YAAY,gCAAgC,SAAS,CAAC,QAAQ,eAAe,KAAK,qBAAqB,IAAI,mCAAmC,EAAE,YAAY,iOAAiO,WAAW,YAAY,OAAO,CAAC,QAAQ,QAAQ,MAAM,OAAO,cAAc,MAAM,IAAIC,GAASC,CAAgB,CAClkB,CAAC,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAC,CAAC,QAAQ,KAAK,SAAS,CAAE,CAAC,SAASC,GAAa,CAAC,IAAMC,EAAEhB,EAAsF,OAA3EgB,EAAEC,KAAc,EAAEA,GAAc,CAAC,OAAO,CAAC,EAAE,UAAU,EAAE,aAAa,EAAK,GAASD,EAAEC,EAAc,CAAC,SAASC,EAAO,EAAQ,CAAC,IAAMF,EAAEhB,EAAO,EAAE,UAAUgB,EAAE,WAAW,CAAC,EAAEA,EAAE,UAAU,KAAKG,CAAO,CAAE,CAChV,SAASC,GAAQ,EAAG,CAAC,IAAMC,EAAM,OAAOC,GAAI,EAAE,CAAC,CAAC,KAAK,EAAE,GAAG,CAAC,mBAAmB,KAAKD,CAAK,E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