PageSourceSearch

https://trysundial.ai/_next/static/chunks/0qz4ionckcxca.js

js trysundial.ai collected 2026-09-24 13:54:21 UTC 122,764 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,76535,e=>{"use strict";var t,a,l,s,r,i,o,n,d,c,m=e.i(91398),g=e.i(67536),u=e.i(33986),x=e.i(91788),h=e.i(26019);let p=({imageUrl:e,videoUrl:t,imageAlt:a,className:l})=>{let[s,r]=(0,x.useState)(!1);return(0,m.jsx)("div",{className:l??"flow-root mt-20 sm:mt-32",children:(0,m.jsx)("div",{className:"p-2 -m-2 rounded-xl bg-google-gray-900/5 ring-1 ring-inset ring-google-gray-200 lg:-m-4 lg:rounded-2xl lg:p-4",children:s?(0,m.jsx)("iframe",{src:`${t}?autoplay=1`,title:a,style:{width:"100%",border:"none",aspectRatio:"1465/833"},allow:"accelerometer; gyroscope; autoplay; encrypted-media; picture-in-picture",allowFullScreen:!0,className:"rounded-md shadow-sm ring-1 ring-google-gray-200"}):(0,m.jsx)(h.default,{src:e,alt:a,width:2432,height:1442,className:"rounded-md shadow-sm cursor-pointer ring-1 ring-google-gray-200",onClick:()=>{r(!0)}})})})},f=[{alt:"Snowflake",src:"/images/customer-logos/snowflake.png",heightClass:"max-h-7 sm:max-h-9 lg:max-h-11",mobileOrder:"order-3 sm:order-none"},{alt:"HubSpot",src:"/images/customer-logos/hubspot-black.png",heightClass:"max-h-6 sm:max-h-8 lg:max-h-10",mobileOrder:"order-1 sm:order-none"},{alt:"OpenAI",src:"/images/customer-logos/openai.png",heightClass:"max-h-7 sm:max-h-9 lg:max-h-11",mobileOrder:"order-2 sm:order-none"},{alt:"Instacart",src:"/images/customer-logos/instacart.png",heightClass:"max-h-6 sm:max-h-8 lg:max-h-11",mobileOrder:"order-5 sm:order-none"},{alt:"Indeed",src:"/images/customer-logos/indeed.png",heightClass:"max-h-5 sm:max-h-7 lg:max-h-8",mobileOrder:"order-4 sm:order-none"},{alt:"Miro",src:"/images/customer-logos/miro.png",heightClass:"max-h-7 sm:max-h-9 lg:max-h-11",mobileOrder:"order-7 sm:order-none"},{alt:"Mozilla",src:"/images/customer-logos/mozilla.png",heightClass:"max-h-6 sm:max-h-8 lg:max-h-10",mobileOrder:"order-6 sm:order-none"},{alt:"Block",src:"/images/customer-logos/block.png",heightClass:"max-h-14 sm:max-h-16 lg:max-h-20",mobileOrder:"order-8 sm:order-none"},{alt:"Zocdoc",src:"/images/customer-logos/zocdoc.png",heightClass:"max-h-5 sm:max-h-7 lg:max-h-9",hideBelowSm:!0},{alt:"Sierra",src:"/images/customer-logos/sierra-ai.png",heightClass:"max-h-8 sm:max-h-10 lg:max-h-12",mobileOrder:"order-9 sm:order-none"}];function y(){return(0,m.jsx)("div",{className:"pt-16 sm:pt-32",children:(0,m.jsxs)("div",{className:"mx-auto max-w-7xl px-6 lg:px-20",children:[(0,m.jsx)("p",{className:"mb-12 text-center text-sm text-google-gray-600 sm:text-base",children:"Trusted by Executive Assistant teams at"}),(0,m.jsx)("div",{className:"mx-auto mt-10 grid grid-cols-3 items-center justify-items-center gap-x-8 gap-y-8 sm:grid-cols-5 md:gap-y-8 lg:mx-0 lg:max-w-none",children:f.map(e=>(0,m.jsx)(h.default,{alt:e.alt,src:e.src,width:158,height:48,className:`w-full object-contain opacity-70 ${e.heightClass??"max-h-[18px] sm:max-h-[22px] lg:max-h-[30px]"} ${e.hideBelowSm?"hidden sm:block":""} ${e.mobileOrder??""}`},e.alt))})]})})}var b=e.i(76030),v=e.i(57039);let w=e=>e?.includes("chromewebstore")||e?.includes("addons.mozilla"),j="!px-6 !py-3 sm:!px-6 sm:!py-3 sm:!text-base/6";function N({label:e,copyText:t,color:a,outline:l}){let[s,r]=(0,x.useState)(!1),i=(0,x.useCallback)(()=>{navigator.clipboard.writeText(t).then(()=>{r(!0),setTimeout(()=>r(!1),3e3)})},[t]);return(0,m.jsx)(v.Button,{color:a,outline:l,className:j,onClick:i,children:s?(0,m.jsxs)("span",{className:"flex items-center gap-x-2",children:[(0,m.jsx)("svg",{width:"14",height:"11",viewBox:"0 0 33 25",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:(0,m.jsx)("path",{d:"M11.4834 24.226L0 12.7426L2.87086 9.87172L11.4834 18.4843L29.9677 0L32.8386 2.87086L11.4834 24.226Z",fill:"currentColor"})}),"Email copied!"]}):e})}var S=e.i(7654),k=e.i(3812),C=e.i(31858),E=e.i(41158),O=e.i(89231);let I=({text:e,link:t,isTargetBlank:a,outline:l,size:s="sm"})=>(0,m.jsx)(v.Button,{href:t,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,outline:l||void 0,color:l?void 0:"dark",className:"lg"===s?"!px-6 !py-3 sm:!px-6 sm:!py-3 sm:!text-base/6":void 0,children:e}),M=({id:e,title:t,subtitle:a,featureShowcase:l,imageDesktop:s,imageMobile:r,altText:i})=>{let o=(0,b.useExtensionStoreUrl)();return(0,m.jsxs)(m.Fragment,{children:[l&&(0,m.jsx)("span",{id:"features-showcase",className:"block","aria-hidden":"true"}),(0,m.jsx)("div",{id:e,className:"py-16 overflow-hidden bg-white sm:py-24",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsxs)("div",{className:"grid max-w-2xl grid-cols-1 mx-auto gap-x-8 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-center",children:[(0,m.jsx)("div",{className:"lg:pr-8",children:(0,m.jsxs)("div",{className:"lg:max-w-lg",children:[(0,m.jsx)("h2",{className:"mt-2 text-3xl font-semibold  text-google-gray-900 sm:text-5xl",children:t}),(0,m.jsx)("p",{className:"mt-6 text-google-gray-600 sm:leading-6 xl:leading-8 text-md sm:text-lg xl:text-2xl",children:a}),(0,m.jsx)("div",{className:"flex items-center justify-start mt-10 gap-x-6",children:(0,m.jsx)(I,{text:"Try it now",link:o,isTargetBlank:!0,size:"lg"})})]})}),(0,m.jsx)(h.default,{src:s,alt:i,className:"hidden sm:block w-[48rem] max-w-none rounded-xl sm:w-[48rem] md:-ml-4 lg:-ml-0",width:768,height:1442}),(0,m.jsx)(h.default,{src:s,alt:i,className:"block sm:hidden max-w-none w-[28rem] rounded-xl",width:448,height:800})]})})})]})},A=({id:e,title:t,subtitle:a,featureShowcase:l,imageDesktop:s,imageMobile:r,altText:i})=>{let o=(0,b.useExtensionStoreUrl)();return(0,m.jsxs)(m.Fragment,{children:[l&&(0,m.jsx)("span",{id:"features-showcase",className:"block","aria-hidden":"true"}),(0,m.jsx)("div",{id:e,className:"py-16 overflow-hidden bg-white sm:py-24",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsxs)("div",{className:"grid max-w-2xl grid-cols-1 mx-auto gap-x-8 gap-y-16 sm:gap-y-20 lg:mx-0 lg:max-w-none lg:grid-cols-2 lg:items-center",children:[(0,m.jsx)("div",{className:"lg:ml-auto lg:pl-4",children:(0,m.jsxs)("div",{className:"lg:max-w-lg",children:[(0,m.jsx)("h2",{className:"mt-2 text-3xl font-semibold  text-google-gray-900 sm:text-5xl",children:t}),(0,m.jsx)("p",{className:"mt-6 text-google-gray-600 sm:leading-6 xl:leading-8 text-md sm:text-lg xl:text-2xl",children:a}),(0,m.jsx)("div",{className:"flex items-center justify-start mt-8 gap-x-6",children:(0,m.jsx)(I,{text:"Try it now",link:o,isTargetBlank:!0,size:"lg"})})]})}),(0,m.jsxs)("div",{className:"flex items-start justify-end lg:order-first",children:[(0,m.jsx)(h.default,{src:s,alt:i,className:"hidden sm:block w-[48rem] max-w-none rounded-xl sm:w-[48rem] md:-ml-4 lg:-ml-0",width:768,height:1442}),(0,m.jsx)(h.default,{src:s,alt:i,className:"block sm:hidden w-[28rem] max-w-none rounded-xl",width:448,height:800})]})]})})})]})};var T=e.i(29933);let $=({children:e="Try it now",className:t=""})=>{let a=(0,b.useExtensionStoreUrl)();return(0,m.jsx)(v.Button,{href:a,target:"_blank",rel:"noopener noreferrer",outline:!0,className:t,children:e})};var L=e.i(91675);let R=({titleTop:e,titleBottom:t,subtitle:a})=>{let{copied:l,handleCopy:s}=(0,L.useCopyEmailToClipboard)();return(0,m.jsx)("div",{className:"px-6 py-12 bg-white sm:py-24 lg:px-8",children:(0,m.jsxs)("div",{className:"max-w-5xl mx-auto text-center",children:[(0,m.jsxs)("h2",{className:"mt-2 text-2xl font-semibold  text-google-gray-900 sm:text-6xl",children:[(0,m.jsxs)("span",{className:"sm:hidden",children:[(0,m.jsx)("span",{className:"block mb-0",children:e}),(0,m.jsx)("span",{className:"block",children:t})]}),(0,m.jsxs)("span",{className:"hidden sm:block",children:[(0,m.jsx)("span",{className:"block mb-5",children:e}),(0,m.jsx)("span",{className:"block",children:t})]})]}),(0,m.jsx)("p",{className:"mt-6 text-google-gray-600 sm:leading-6 xl:leading-8 text-md sm:text-lg xl:text-2xl",children:a}),(0,m.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center mt-10 gap-4 sm:gap-6",children:[(0,m.jsx)(T.TalkToUsButton,{variant:"default",copied:l,onClick:s,className:"!px-6 !py-3 sm:!px-6 sm:!py-3 sm:!text-base/6"}),(0,m.jsx)($,{className:"!px-6 !py-3 sm:!px-6 sm:!py-3 sm:!text-base/6"})]})]})})};var z=e.i(3828),P=e.i(98691),D=e.i(11121);let F=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t}
1,e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75"}))});var G=e.i(11229);let _=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"}))});var W=e.i(3241);e.i(64376);var B=e.i(45942),B=B,U=B,H=B,V=B,q=B,Z=B,Y=B,J=B;let X={auth:["https://www.googleapis.com/auth/userinfo.email"],calendar:["https://www.googleapis.com/auth/calendar.events"],calendars:["https://www.googleapis.com/auth/calendar.calendars.readonly"],drive:["https://www.googleapis.com/auth/drive.file"]},Q=[...X.auth,...X.calendar,...X.calendars];function K(){return(K=Object.assign.bind()).apply(null,arguments)}Object.entries(X).reduce((e,[t,a])=>(a.forEach(a=>{e[a]=t}),e),{});let ee=function(e){return x.createElement("svg",K({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 24 24"},e),t||(t=x.createElement("path",{fill:"#EA4335",d:"M12 4.75c1.77 0 3.355.61 4.605 1.8l3.425-3.425C17.95 1.19 15.235 0 12 0 7.31 0 3.255 2.69 1.28 6.61l3.99 3.095C6.215 6.86 8.87 4.75 12 4.75"})),a||(a=x.createElement("path",{fill:"#4285F4",d:"M23.49 12.275c0-.785-.075-1.545-.19-2.275H12v4.51h6.47a5.58 5.58 0 0 1-2.39 3.59l3.865 3c2.255-2.09 3.545-5.18 3.545-8.825"})),l||(l=x.createElement("path",{fill:"#FBBC05",d:"M5.265 14.295A7.3 7.3 0 0 1 4.885 12c0-.8.135-1.57.38-2.295L1.275 6.61A11.96 11.96 0 0 0 0 12c0 1.94.46 3.77 1.28 5.39z"})),s||(s=x.createElement("path",{fill:"#34A853",d:"M12 24c3.24 0 5.965-1.065 7.945-2.905l-3.865-3c-1.075.725-2.46 1.15-4.08 1.15-3.13 0-5.785-2.11-6.735-4.955l-3.99 3.095C3.255 21.31 7.31 24 12 24"})))};function et(){return(et=Object.assign.bind()).apply(null,arguments)}let ea=function(e){return x.createElement("svg",et({xmlns:"http://www.w3.org/2000/svg",width:800,height:581.818,fill:"none",viewBox:"0 0 800 581.818"},e),r||(r=x.createElement("path",{fill:"#009954",d:"M0 193.636c0-40.65 0-60.977 6.382-77.1a90.9 90.9 0 0 1 51.064-51.059c16.122-6.386 36.445-6.386 77.1-6.386h276.363c40.65 0 60.977 0 77.1 6.382a90.9 90.9 0 0 1 51.064 51.063c6.381 16.123 6.381 36.446 6.381 77.1v194.546c0 40.65 0 60.977-6.381 77.1a90.9 90.9 0 0 1-51.064 51.063c-16.123 6.382-36.45 6.382-77.1 6.382H134.545c-40.65 0-60.977 0-77.104-6.381a90.9 90.9 0 0 1-51.06-51.064C0 449.159 0 428.832 0 388.182Z"})),i||(i=x.createElement("mask",{id:"a",width:160,height:128,x:24,y:32,maskUnits:"userSpaceOnUse"},x.createElement("rect",{width:160,height:128,x:24,y:32,fill:"#fff",rx:20}))),o||(o=x.createElement("g",{mask:"url(#a)",transform:"matrix(4.54545 0 0 4.54545 -36.364 -145.455)"},x.createElement("path",{fill:"#0ebc5f",d:"M24 32h160v128H24Z"}),x.createElement("g",{filter:"url(#b)"},x.createElement("rect",{width:144,height:102,fill:"url(#c)",rx:25.6,transform:"matrix(1 0 0 -1 8 147)"})))),n||(n=x.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:54.545,d:"M327.273 404.546H709.09m-90.909 86.363V200"})),d||(d=x.createElement("defs",null,x.createElement("linearGradient",{id:"c",x1:122.24,x2:20.76,y1:43.31,y2:43.31,gradientUnits:"userSpaceOnUse"},x.createElement("stop",{stopColor:"#0ebc5f"}),x.createElement("stop",{offset:.95,stopColor:"#78c9ff"})),x.createElement("filter",{id:"b",width:168,height:126,x:-4,y:33,colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse"}
1,x.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),x.createElement("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),x.createElement("feGaussianBlur",{result:"effect1_foregroundBlur_37435_8174",stdDeviation:6})))))};function el(){return(el=Object.assign.bind()).apply(null,arguments)}let es=function(e){return x.createElement("svg",el({viewBox:"0 0 20 20"},e),c||(c=x.createElement("g",{fill:"none"},x.createElement("path",{fill:"#f25022",d:"M0 0h9.504v9.504H0z"}),x.createElement("path",{fill:"#7fba00",d:"M10.496 0H20v9.504h-9.504z"}),x.createElement("path",{fill:"#00a4ef",d:"M0 10.496h9.504V20H0z"}),x.createElement("path",{fill:"#ffb900",d:"M10.496 10.496H20V20h-9.504z"}))))};var er=e.i(16725),ei=e.i(81170),eo=e.i(50461);let en="dkcgdknimgiffognmpiheegpfkkmcapk,pinnbigblnnojmndigieefghfecgelao,phhcjnconhnnkboefjegljaeliohdamh".split(",").filter(Boolean),ed=(eo.default.env.NEXT_PUBLIC_MOZ_EXTENSION_IDS??"").split(",").filter(Boolean);async function ec(e){for(let t of en)try{window.postMessage({type:"SUNDIAL_AUTH",payload:e},"*"),await chrome.runtime.sendMessage(t,e)}catch(e){}}[...en.map(e=>({id:e,type:"chrome-extension"})),...ed.map(e=>({id:e,type:"moz-extension"}))].map(({id:e,type:t})=>`${t}://${e}`);var em=e.i(56206),eg=e.i(24561),eu=e.i(76593);let ex="NO_SCOPES_ERROR",eh="pendingSsoExtensionCredential";async function ep(e){return{idToken:await e.getIdToken(),refreshToken:e.refreshToken}}async function ef(e,t){await (0,ei.handleAuth)({...await ep(e),...t&&{pollId:t}}),await (0,Z.D)((0,W.getClientAuth)())}function ey(e){let t=window.location.origin;if("string"!=typeof e||!t)return null;try{let a=new URL(t),l=new URL(e,a);return l.origin===a.origin?l:null}catch{return null}}function eb(e){return/^\/polls\/[^/]+$/.test(ey(e)?.pathname??"")}function ev(e){let t=/^\/polls\/([^/]+)$/.exec(ey(e)?.pathname??"");return t?t[1]:null}let ew={redirect:null,isPollVoteLogin:!1,pollDisplayName:null};function ej({icon:e,children:t}){return(0,m.jsxs)("span",{className:"grid w-full min-w-0 grid-cols-[1.5rem_1fr_1.5rem] items-center gap-2",children:[(0,m.jsx)("span",{className:"flex items-center justify-center",children:e}),(0,m.jsx)("span",{className:"min-w-0 whitespace-nowrap text-center leading-snug",children:t}),(0,m.jsx)("span",{"aria-hidden":"true"})]})}function eN(e){let t=e.href?.startsWith("/api/")?"a":e.href?E.default:"button";return(0,m.jsx)(t,{...e,className:(0,em.default)("flex min-h-10 w-full cursor-pointer items-center justify-center rounded-full border border-google-gray-400 bg-white px-4 py-2 text-center text-sm font-medium leading-snug text-google-gray-700 hover:bg-google-gray-50 focus-visible:ring-transparent sm:px-5",{"pointer-events-none":e.disabled},e.className)})}function eS({className:e,onClick:t,redirect:a,disabled:l,children:s}){let r=(0,x.useMemo)(()=>{let e=new URLSearchParams;a&&e.set("redirect",a);let t="/api/auth/google";return e.size&&(t+=`?${e.toString()}`),t},[a]);return(0,m.jsx)(eN,{href:r,onClick:t,disabled:l,className:e,children:s})}var ek=e.i(68489),eC=e.i(69821),eE=e.i(60832);let eO=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.666 3.888A2.25 2.25 0 0 0 13.5 2.25h-3c-1.03 0-1.9.693-2.166 1.638m7.332 0c.055.194.084.4.084.612v0a.75.75 0 0 1-.75.75H9a.75.75 0 0 1-.75-.75v0c0-.212.03-.418.084-.612m7.332 0c.646.049 1.288.11 1.927.184 1.1.128 1.907 1.077 1.907 2.185V19.5a2.25 2.25 0 0 1-2.25 2.25H6.75A2.25 2.25 0 0 1 4.5 19.5V6.257c0-1.108.806-2.057 1.907-2.185a48.208 48.208 0 0 1 1.927-.184"}))}),eI=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t}
1,e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}),eM=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m8.25 4.5 7.5 7.5-7.5 7.5"}))}),eA=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 5.25h.008v.008H12v-.008Z"}))}),eT=({feature:e,keyName:t,min:a,max:l,step:s,initialValue:r,onValueChange:i,isCurrency:o,unit:n,allowDirectInput:d,value:c})=>{let[g,u]=(0,x.useState)(r??(a+l)/2),[h,p]=(0,x.useState)(g),[f,y]=(0,x.useState)(!1),b=(0,x.useRef)(null),v=(0,x.useRef)(null),w=c??g,j=e=>Number(e).toLocaleString(void 0,{maximumFractionDigits:1}),N=e=>{let a=e.target.value;"salary"===t&&(a=5e3*Math.round(a/5e3)),u(a),p(a),i(a)},S=(e=0)=>{let t,s=(t=(Math.min(Math.max(w,a),l)-a)/(l-a)*100,`${t}%`),r=v.current;if(!r)return"0px";let i=r.offsetWidth,o=s/100*i-e/2;return o<0&&(o=0),o+e>i&&(o=i-e),`${o}px`},k=d?f?(0,m.jsx)("input",{ref:b,type:"number",min:1,inputMode:"numeric",value:w,onChange:e=>{let t=parseInt(e.target.value,10);!Number.isNaN(t)&&t>=1&&i(t)},onBlur:e=>{let t=parseInt(e.target.value,10);(Number.isNaN(t)||t<1)&&i(Math.max(1,w||1)),y(!1)},onFocus:()=>y(!0),autoFocus:!0,className:"absolute w-24 px-2 py-1 text-xs font-medium text-google-gray-900 bg-white border border-google-gray-300 rounded-lg -top-8 focus:outline-none focus:ring-2 focus:ring-google-gray-400 focus:border-google-gray-400",style:{left:S(96)}}):(0,m.jsx)("div",{ref:b,role:"button",tabIndex:0,onClick:()=>y(!0),onFocus:()=>y(!0),onKeyDown:e=>"Enter"===e.key&&y(!0),className:"absolute px-2 py-1 text-xs font-medium text-white bg-google-gray-900 rounded-lg -top-8 cursor-text",style:{left:S(80)},children:(0,m.jsxs)("div",{className:"px-2 py-1 text-xs font-medium text-white bg-google-gray-900 rounded-lg",children:[j(w)," ",n]})}):(0,m.jsx)("div",{ref:b,className:"absolute px-2 py-1 text-xs font-medium text-white bg-google-gray-900 rounded-lg -top-8",style:{left:S(b.current?.offsetWidth??0)},children:(0,m.jsxs)("div",{className:"px-2 py-1 text-xs font-medium text-white bg-google-gray-900 rounded-lg",children:[o?"$":"",j(w)," ","salary"===t?"on avg":n]})});return(0,m.jsxs)("div",{className:"relative w-11/12 sm:w-8/12",children:[(0,m.jsx)("label",{htmlFor:`slider-${t}`,className:"block mb-10 text-lg font-extrabold text-google-gray-900",children:e}),(0,m.jsxs)("div",{ref:v,className:"relative",children:[k,(0,m.jsx)("input",{id:`slider-${t}`,type:"range",min:a,max:l,step:s??("salary"===t?5e3:1),value:Math.min(Math.max(w,a),l),className:"w-full h-1 bg-google-gray-300 rounded-lg appearance-none cursor-pointer accent-gray-700",onChange:N,onInput:N})]})]})};var e$=e.i(56208),eL=e.i(55810),eR=e.i(62774),ez=e.i(24013);let eP=(0,ek.default)(()=>e.A(58334),{loadableGenerated:{modules:[54324]},ssr:!1}),eD=(0,ek.default)(()=>e.A(19211),{loadableGenerated:{modules:[29440]},ssr:!1}),eF={[eR.ROI_MODES.EA]:{hoursSaved:"Productive hours reclaimed from back-and-forth scheduling",teamSavings:"Savings that can be reinvested in higher-value executive support",sundialInvestment:"Annual Sundial investment"},[eR.ROI_MODES.ORG_WIDE]:{timeSaved:"Time reclaimed from daily coordination across timezones",hoursSaved:"Productive hours reclaimed across the company each month",teamSavings:"Estimated annual value of employee time redirected to higher-value work",sundialInvestment:"Annual Sundial investment",valueMultiple:"Estimated annual value divided by annual Sundial investment"}},eG={[eR.ROI_MODES.EA]:{hoursSaved:"(mins without Sundial − mins with Sundial) × meetings/day × 20 workdays/mo ÷ 60 mins/hr × team size",teamSavings:"hours saved × salary ÷ 52 weeks/year ÷ 40 hrs/week × 12 months",sundialInvestment:e=>`(team size \xd7 $${e}/seat/mo \xd7 12 months) + platform fee`},[eR.ROI_MODES.ORG_WIDE]:{timeSaved:"time saved/action × coordination actions/employee/day",hoursSaved:"time saved × coordination actions/day × 20 workdays/mo ÷ 60 mins/hr × employees",teamSavings:"hours saved × salary ÷ 52 weeks/year ÷ 40 hrs/week × 12 months",sundialInvestment:e=>`employees \xd7 $${e}/employee/mo \xd7 12 months`,valueMultiple:"annual value ÷ annual Sundial investment"}},e_="mode",eW="seatPrice",eB="platformFee",eU={[eR.ROI_MODES.EA]:{defaultPricePerSeat:eL.PRICING.ENTERPRISE.PRICE_PER_SEAT,headline:"Business Case for Sundial",includedFeatures:[{feature:"Without Sundial",key:"meetingMinutes",min:4,max:15,initialValue:5,isCurrency:!1,unit:"mins per meeting"},{feature:"With Sundial",key:"sundialMinutes",min:1,max:5,initialValue:2,isCurrency:!1,unit:"mins per meeting"},{feature:"Meetings Scheduled",key:"dailyMeetings",min:1,max:30,initialValue:3,isCurrency:!1,unit:"per day"},{feature:"Annual Salary",key:"salary",min:25e3,max:25e4,initialValue:9e4,isCurrency:!0,unit:""},{feature:"Team Size",key:"teamSize",min:1,max:250,initialValue:10,isCurrency:!1,unit:"users",allowDirectInput:!0}],includePlatformFee:!0,label:"EA Scheduler"},[eR.ROI_MODES.ORG_WIDE]:{defaultPricePerSeat:eL.PRICING.ORG_WIDE.PRICE_PER_SEAT,headline:"What if every employee saved one minute a day?",includedFeatures:[{feature:"Time Saved",key:"timeSaved",min:.5,max:5,step:.5,initialValue:1,isCurrency:!1,unit:"mins per action"},{feature:"Coordination Actions",key:"dailyMeetings",min:1,max:30,initialValue:1,isCurrency:!1,unit:"per employee / day"},{feature:"Average Annual Salary",key:"salary",min:25e3,max:25e4,initialValue:12e4,isCurrency:!0,unit:""},{feature:"Employees",key:"teamSize",min:1,max:5e3,initialValue:250,isCurrency:!1,unit:"employees",allowDirectInput:!0}],includePlatformFee:!1,label:"Org Wide"}},eH=e=>eU[e].includedFeatures.reduce((e,t)=>
1(e[t.key]=t.initialValue,e),{}),eV=(e,t)=>{let a=e[t];if(null!=a)return Array.isArray(a)?a[0]:a},eq=(e,t,{min:a,max:l,rejectIf:s,decimalPlaces:r=0})=>{let i=eV(e,t);if(null==i||""===i)return null;let o=Number(i);if(Number.isNaN(o)||s(o))return null;let n=10**r;return Math.min(Math.max(Math.round(o*n)/n,a),l)},eZ=e=>eV(e,e_)===eR.ROI_MODES.ORG_WIDE?eR.ROI_MODES.ORG_WIDE:eR.ROI_MODES.EA,eY=(e,t)=>eU[t].includedFeatures.some(({key:t})=>null!=eV(e,t)),eJ=(e,{setMode:t,setModeStates:a,shouldHydrateSliders:l})=>{let s=eZ(e),r=eU[s],{seatPrice:i,platformFeeOverride:o}={seatPrice:eq(e,eW,{min:1,max:999,rejectIf:e=>e<=0,decimalPlaces:2}),platformFeeOverride:eq(e,eB,{min:0,max:999999,rejectIf:e=>e<0})};t(s),a(t=>{var a,n;let d;return{...t,[s]:{...t[s],values:l?(a=eH(s),n=r.includedFeatures,d={...a},n.forEach(t=>{let{key:a}=t,l=eV(e,a);if(null!=l&&""!==l){let e=Number(l);if(!Number.isNaN(e)){let l=t.allowDirectInput?Math.max(e,t.min):Math.min(Math.max(e,t.min),t.max),s=t.step??("salary"===a?5e3:1);d[a]=Number((Math.round(l/s)*s).toFixed(2))}}}),d):t[s].values,pricePerSeat:i??r.defaultPricePerSeat,platformFeeOverride:r.includePlatformFee?o:null}}})},eX=(e,t,a,l)=>{let s=eU[e],r=new URLSearchParams;e===eR.ROI_MODES.ORG_WIDE&&r.set(e_,e),s.includedFeatures.forEach(({key:e})=>{null!=t[e]&&r.set(e,String(t[e]))}),a!==s.defaultPricePerSeat&&r.set(eW,String(a)),s.includePlatformFee&&null!=l&&r.set(eB,String(l));let i=r.toString();return i?`/roi?${i}`:"/roi"},eQ=(e,t,a,l)=>{let s=eX(e,t,a,l);return`${window.location.origin}${s}`},eK=e=>`$${Math.round(Number(e)/1e3)}k`,e0=(e,t,a="EA")=>{if(e===eR.ROI_MODES.ORG_WIDE){let e=1===t.dailyMeetings?"coordination action":"coordination actions",a=Number(t.timeSaved)+1;return`${t.dailyMeetings} ${e}/day \xb7 ${Number(a).toLocaleString(void 0,{maximumFractionDigits:1})} min → 1 min \xb7 ${eK(t.salary)} average salary`}return`Assumptions: ${t.teamSize??1} ${a||"EA"}s. ${t.dailyMeetings} mtgs/${a||"EA"}/day. ${eK(t.salary)} avg salary
2${t.meetingMinutes} min without Sundial, ${t.sundialMinutes} min with Sundial`},e1=({title:e,tooltip:t,value:a})=>(0,m.jsxs)("section",{className:"group relative cursor-help",children:[(0,m.jsxs)("h3",{className:"mb-3 flex items-center gap-2 leading-none text-lg font-medium text-google-gray-900",children:[e,(0,m.jsx)(eA,{className:"w-4 h-4 shrink-0 text-google-gray-400","aria-hidden":"true"})]}),(0,m.jsx)("div",{className:"text-4xl font-semibold  text-google-gray-900",children:a}),(0,m.jsx)("span",{role:"tooltip",className:"pointer-events-none absolute z-20 bottom-full left-0 mb-2 hidden min-w-48 max-w-xs rounded-md bg-google-gray-900/95 px-3 py-2 text-left text-xs text-google-gray-100 shadow-lg backdrop-blur-sm group-hover:block whitespace-pre-line",children:t})]}),e2=({calculation:e,explanation:t,title:a})=>(0,m.jsxs)("div",{children:[(0,m.jsx)("dt",{className:"font-semibold text-google-gray-900",children:a}),(0,m.jsxs)("dd",{className:"mt-1",children:[(0,m.jsx)("p",{className:"font-semibold text-google-gray-900",children:e}),(0,m.jsx)("p",{className:"mt-1 text-xs whitespace-pre-line text-google-gray-600",children:t})]})]}),e5=e=>{let t=eH(e);
2return{assumptionsOverridden:!1,businessCaseContent:e===eR.ROI_MODES.ORG_WIDE?{annualValueDescription:"Value of employee time saved",assumptions:e0(e,t,"employee"),calendarTimezonesDescription:"See and manage unlimited timezones side-by-side on your calendar.",companyName:"Riot Games",demoUrl:"https://www.trysundial.ai/enterprise",headerSubtitle:"Better timezone coordination for everyone – inside Google Calendar.",implementationText:"No employees set up\nConfigure timezones centrally\nNo Google Calendar API access\nNo Google Calendar event access",implementationTitle:"IT deploys once. Employees open Google Calendar. Done.",investmentDescription:"employees",overview:"No new app. No employee setup. Just faster coordination where everyone already works.",overviewTitle:"What if every employee saved one minute a day?",proofDescription:"Enterprise controls. Minimal permissions.",proofEyebrow:"Enterprise trust",proofMetric:"SOC 2",proofMetricLabel:"Type II",proofTitle:"Built for secure company-wide deployment.",roiAssumptionsLinkLabel:"Customize ROI assumptions",securityLabel:"Security White Paper",securityUrl:"https://trysundial.ai/security?access=true",shareTimesDescription:"Write clear availability. No timezone math or mistakes.",trustLine:"Enterprise-ready security and centrally managed deployment.",watchDemoLabel:"Technical Overview",roleLabel:"employee",worldClockDescription:"See company's timezones update as you move across your calendar."}:{annualValueDescription:"Estimated annual value of EA time redirected to more productive executive support.",assumptions:e0(e,t,"EA"),companyName:"Riot Games",demoUrl:"https://www.trysundial.ai/ea",headerSubtitle:"Executive Assistant-tailored scheduling tools – 100% inside Google Calendar.",implementationText:"1-minute install. No workflow changes.\nOne-on-one, group, or async onboarding.",implementationTitle:"Implementation",investmentDescription:"Executive Assistants",overview:"Sundial helps EAs schedule faster from the place they already work: Google Calendar, so EAs can focus on exec work that matters most.",overviewTitle:"Reclaim capacity for higher-value executive support",proofDescription:"Over 30 HubSpot EAs cut scheduling time from 33 to 8 hours per month.",proofEyebrow:"Proven results",proofMetric:"73%",proofMetricLabel:"reduction in scheduling time",proofTitle:"HubSpot EAs reclaimed 24 hours/month per EA",roiAssumptionsLinkLabel:"Customize ROI assumptions",securityLabel:"SOC 2 Type II",trustLine:"Trusted by EA teams at OpenAI, Snowflake, Instacart, HubSpot and more.",watchDemoLabel:"Watch a demo (2-min)",roleLabel:"EA"},businessCaseOptions:{showDemo:!0,showProof:!0,showTrust:e===eR.ROI_MODES.EA},platformFeeOverride:null,pricePerSeat:eU[e].defaultPricePerSeat,values:t}};var e4=e.i(52071),e6=e.i(21486),e3=e.i(57748);let e7=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}),x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.91 11.672a.375.375 0 0 1 0 .656l-5.603 3.113a.375.375 0 0 1-.557-.328V8.887c0-.286.307-.466.557-.327l5.603 3.112Z"}))});var e8=e.i(85074);let e9=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m9 14.25 6-6m4.5-3.493V21.75l-3.75-1.5-3.75 1.5-3.75-1.5-3.75 1.5V4.757c0-1.108.806-2.057 1.907-2.185a48.507 48.507 0 0 1 11.186 0c1.1.128 1.907 1.077 1.907 2.185ZM9.75 9h.008v.008H9.75V9Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm4.125 4.5h.008v.008h-.008V13.5Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))});var te=e.i(52606);let tt=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t}
2,e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 12a7.5 7.5 0 0 0 15 0m-15 0a7.5 7.5 0 1 1 15 0m-15 0H3m16.5 0H21m-1.5 0H12m-8.457 3.077 1.41-.513m14.095-5.13 1.41-.513M5.106 17.785l1.15-.964m11.49-9.642 1.149-.964M7.501 19.795l.75-1.3m7.5-12.99.75-1.3m-6.063 16.658.26-1.477m2.605-14.772.26-1.477m0 17.726-.26-1.477M10.698 4.614l-.26-1.477M16.5 19.794l-.75-1.299M7.5 4.205 12 12m6.894 5.785-1.149-.964M6.256 7.178l-1.15-.964m15.352 8.864-1.41-.513M4.954 9.435l-1.41-.514M12.002 12l-3.75 6.495"}))});var ta=e.i(74616);let tl=({title:e,description:t,description2:a})=>(0,m.jsxs)("div",{className:"text-center",children:[(0,m.jsx)("h2",{className:"text-lg font-semibold text-google-gray-900",children:e}),(0,m.jsx)("p",{className:"mt-4 text-sm leading-6 text-google-gray-600 sm:text-base",children:t}),a&&(0,m.jsx)("p",{className:"mt-2 text-sm leading-6 text-google-gray-600 sm:text-base",children:a})]});var ts=e.i(34542);let tr=({hasFeature:e})=>{let t="inline-flex items-center justify-center w-6 h-6 rounded-full shrink-0 mx-auto";return e?(0,m.jsx)("span",{className:`${t} bg-google-gray-900 text-white`,children:(0,m.jsx)(eE.CheckIcon,{className:"w-4 h-4","aria-hidden":"true"})}):(0,m.jsx)("span",{className:`${t} bg-google-gray-300 text-google-gray-600`,children:(0,m.jsx)(ts.XMarkIcon,{className:"w-4 h-4","aria-hidden":"true"})})},ti=({sundialText:e,vimcalEaText:t,isSundial:a})=>{let l=a?e:t;return l?(0,m.jsx)("span",{className:"text-sm text-google-gray-900 font-medium",children:l}):null},to=({feature:e,tooltip:t,sundial:a,vimcalEa:l,sundialText:s,vimcalEaText:r,isTooltipActive:i,isMobile:o,onTooltipClick:n,itemRef:d})=>{let c=t&&t.trim().length>0,g=null!=s||null!=r;return(0,m.jsxs)("tr",{className:`border-b border-google-gray-200 last:border-b-0 hover:bg-google-gray-50 transition-colors ${c?"group cursor-pointer":""}`,onClick:c?t=>n(e,t):void 0,children:[(0,m.jsx)("td",{ref:d,className:`py-4 pr-3 text-sm text-google-gray-900 align-middle ${c?"relative":""}`,children:(0,m.jsxs)("span",{className:`inline-block ${c?"relative underline decoration-dashed underline-offset-5":""}`,children:[e,c&&(0,m.jsx)("span",{className:`pointer-events-none absolute z-20 bottom-full left-0 mb-3 min-w-80 max-w-lg rounded-md bg-google-gray-900/95 px-3 py-2 text-left text-xs text-google-gray-100 shadow-lg shadow-lg backdrop-blur-sm ${o&&i?"block":"hidden group-hover:block"}`,children:t})]})}),(0,m.jsx)("td",{className:"py-4 px-3 text-center align-middle",children:g?(0,m.jsx)(ti,{sundialText:s,vimcalEaText:r,isSundial:!0}):(0,m.jsx)(tr,{hasFeature:a})}),(0,m.jsx)("td",{className:"py-4 pl-3 text-center align-middle",children:g?(0,m.jsx)(ti,{sundialText:s,vimcalEaText:r,isSundial:!1}):(0,m.jsx)(tr,{hasFeature:l})})]})};function tn(){let[e,t]=(0,x.useState)(!1);return(0,x.useEffect)(()=>{let e=()=>t(window.innerWidth<640);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}let td="sticky top-0 z-10 border-b border-google-gray-200 bg-google-gray-50 py-4 px-3 text-sm font-semibold text-google-gray-900";var tc=e.i(88566),tm=e.i(40767),tg=e.i(92042);let tu="sticky top-0 z-10 border-b border-google-gray-200 bg-google-gray-50 py-4 px-3 text-sm font-semibold text-google-gray-900",tx={sm:{width:56,height:24,className:"h-6 w-auto object-contain"},md:{width:80,height:28,className:"h-7 w-auto object-contain"},lg:{width:100,height:40,className:"h-8 w-auto object-contain"}};function th({competitor:e}){if(!e?.logoIcon)return(0,m.jsx)(tf,{size:"sm"});let t=!1===e.logoIconRound?"rounded-none":"rounded-full";return(0,m.jsx)("span",{className:`inline-flex shrink-0 w-5 h-5 items-center justify-center overflow-hidden ${t}`,children:(0,m.jsx)(h.default,{src:e.logoIcon,alt:"",width:20,height:20,className:!1===e.logoIconRound?"w-5 h-5 rounded-none object-contain shrink-0":"w-5 h-5 rounded-full object-cover shrink-0"})})}function tp({competitor:e}){if(!e?.logo)return(0,m.jsx)(tf,{size:"md"});let t=tx[e.logoSize]||tx.lg;return(0,m.jsx)(h.default,{src:e.logo,alt:e.name,width:t.width,height:t.height,className:t.className})}function tf({size:e="md"}){return(0,m.jsx)("div",{className:`${"sm"===e?"w-5 h-5":"w-8 h-8"} shrink-0 rounded-lg bg-google-gray-200`,"aria-hidden":!0})}var ty=e.i(90018);let tb=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t}
2,e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"}))}),tv=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 0 1 2.25-2.25h13.5A2.25 2.25 0 0 1 21 7.5v11.25m-18 0A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75m-18 0v-7.5A2.25 2.25 0 0 1 5.25 9h13.5A2.25 2.25 0 0 1 21 11.25v7.5m-9-6h.008v.008H12v-.008ZM12 15h.008v.008H12V15Zm0 2.25h.008v.008H12v-.008ZM9.75 15h.008v.008H9.75V15Zm0 2.25h.008v.008H9.75v-.008ZM7.5 15h.008v.008H7.5V15Zm0 2.25h.008v.008H7.5v-.008Zm6.75-4.5h.008v.008h-.008v-.008Zm0 2.25h.008v.008h-.008V15Zm0 2.25h.008v.008h-.008v-.008Zm2.25-4.5h.008v.008H16.5v-.008Zm0 2.25h.008v.008H16.5V15Z"}))}),tw=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 12.75 6 6 9-13.5"}))}),tj=x.forwardRef(function({title:e,titleId:t,...a},l){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:l,"aria-labelledby":t},a),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 0 1-.657.643 48.39 48.39 0 0 1-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 0 1-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 0 0-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 0 1-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 0 0 .657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 0 1-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 0 0 5.427-.63 48.05 48.05 0 0 0 .582-4.717.532.532 0 0 0-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 0 0 .658-.663 48.422 48.422 0 0 0-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 0 1-.61-.58v0Z"}))}),tN=[{description:"Managed Chrome policy",icon:G.BuildingOffice2Icon,title:"Google Admin"},{description:"One centrally managed deployment",icon:tj,title:"Sundial Chrome extension"},{description:"Sundial appears automatically",icon:tv,title:"Google Calendar"}],tS=[{href:"#architecture",label:"Overview"},{href:"#deployment",label:"Deployment"},{href:"#configuration",label:"Configuration"},{href:"#experience",label:"Experience"},{href:"#permissions",label:"Permissions"},{href:"#seat-types",label:"Seat Types"},{href:"#rollout",label:"Rollout"},{href:"#licensing",label:"Usage & Licensing"},{href:"#security",label:"Security"}],tk=["World Clocks","Calendar Timezones","Share Times","No Sundial login required","No Google authorization required","No Calendar event data access"],tC=["Everything in Org Wide","Advanced scheduling features","SSO + Google authorization for scheduling features"],tE=[{label:"Company default",timezones:["San Francisco","New York","London"],variant:"company"},{label:"Engineering",timezones:["San Francisco","Tel Aviv","Bengaluru"],variant:"engineering"}],tO=["Distributed through the Chrome Web Store","Force-installed through Google Admin / managed Chrome","Deploy company-wide or target specific Organizational Units (OUs) and groups","One managed extension supports both Org Wide and Scheduler"],tI=[{description:"Choose deployment scope",title:"Select OU / group"}
2,{description:"Set Org Wide defaults",title:"Configure"},{description:"Deploy automatically",title:"Force install"},{description:"Employees open Google Calendar. Done.",title:"Roll out"}],tM=[{accessLabel:"No authentication required",description:["World Clocks, Calendar Timezones, and Share Times are immediately available","World Clock times update dynamically across the calendar grid","No Sundial login or Google authorization required"],steps:["Open Google Calendar","World Clocks appear automatically"],title:"Org Wide employee",variant:"org"},{accessLabel:"Identity-based access",description:["Sundial verifies the employee’s Scheduler entitlement","Advanced scheduling functionality becomes available","SSO and required Google authorization are completed during initial Scheduler setup"],steps:["Open Calendar","SSO + Google authorization","Scheduler unlocks"],title:"Scheduler user",variant:"scheduler"}],tA=[{layer:1,label:"Org Wide",steps:["Managed deployment","Org Wide configuration","Core features"],variant:"org"},{layer:2,label:"Scheduler",steps:["Sundial SSO","Google authorization","Advanced scheduling"],variant:"scheduler"},{layer:3,label:"Calendar Audit export feature",steps:["Export Calendar Audit","drive.file permission","Create Google Sheet"],variant:"google"}],tT=[{label:"Shared experience",rows:[{feature:"Managed Chrome deployment",orgWide:!0,scheduler:!0},{feature:"World Clocks",orgWide:!0,scheduler:!0},{feature:"Calendar Timezones",orgWide:!0,scheduler:!0},{feature:"Share Times",orgWide:!0,scheduler:!0}]},{label:"Access & functionality",rows:[{feature:"Sundial authentication",orgWide:"Not required",scheduler:"SSO"},{feature:"Google authorization",orgWide:"Not required",scheduler:"At first login"},{feature:"Advanced scheduling features",orgWide:"—",scheduler:!0}]}],t$=[{description:"Set Org Wide timezone defaults and SSO for Scheduler users.",title:"Configure"},{description:"Deploy to a test Organizational Unit (OU) or group.",title:"Initial rollout"},{description:"Confirm deployment and employee experience.",title:"Validate"},{description:"Extend the managed Chrome deployment to the licensed population.",title:"Expand"},{description:"Update defaults and deployment centrally.",title:"Manage"}],tL=[{label:"Licensed employees",value:"5,000"},{label:"Active installations",value:"4,612"},{label:"World Clock adoption",value:"89%"},{label:"Share Times adoption",value:"31%"}],tR=["SOC 2 Type II","Chrome Manifest V3","SAML 2.0 SSO","Independent penetration testing"],tz={google:"border-google-gray-300 bg-google-gray-50",org:"border-google-green/30 bg-google-green/5",scheduler:"border-google-blue/30 bg-google-blue/5"},tP=({children:e,description:t,eyebrow:a,id:l,title:s})=>{let r=`${l}-title`;return(0,m.jsxs)("section",{"aria-labelledby":r,className:"border-t border-google-gray-200 py-14 sm:py-16",id:l,children:[(0,m.jsxs)("div",{className:"max-w-3xl",children:[(0,m.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.18em] text-google-gray-500",children:a}),(0,m.jsx)("h2",{className:"mt-3 text-3xl font-semibold tracking-[-0.03em] text-google-gray-900 sm:text-4xl",id:r,children:s}),t&&(0,m.jsx)("p",{className:"mt-5 text-lg leading-8 text-google-gray-600",children:t})]}),(0,m.jsx)("div",{className:"mt-9",children:e})]})},tD=({items:e,compact:t=!1})=>(0,m.jsx)("ul",{className:t?"space-y-2.5":"space-y-3.5",role:"list",children:e.map(e=>(0,m.jsxs)("li",{className:"flex gap-3 text-sm leading-6 text-google-gray-700 sm:text-base",children:[(0,m.jsx)(tw,{"aria-hidden":"true",className:"mt-1 h-4 w-4 shrink-0 stroke-2 text-google-gray-500"}),(0,m.jsx)("span",{children:e})]},e))}),tF=({breakpoint:e="sm"})=>(0,m.jsx)(tb,{"aria-hidden":"true",className:`h-5 w-5 shrink-0 rotate-90 text-google-gray-400 ${"lg"===e?"lg:rotate-0":"sm:rotate-0"}`}),tG=({description:e,icon:t,title:a})=>(0,m.jsxs)("div",{className:"flex min-h-32 flex-1 flex-col items-center justify-center rounded-2xl border border-google-gray-200 bg-white px-5 py-6 text-center shadow-sm",children:[(0,m.jsx)("span",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-google-gray-100",children:(0,m.jsx)(t,{"aria-hidden":"true",className:"h-5 w-5 text-google-gray-700"})}),(0,m.jsx)("h3",{className:"mt-3 text-base font-semibold text-google-gray-900",children:a}),(0,m.jsx)("p",{className:"mt-1 text-xs leading-5 text-google-gray-500",children:e})]}),t_=({label:e,timezones:t,variant:a})=>(0,m.jsxs)("div",{className:`rounded-2xl border p-4 ${"engineering"===a?"border-google-blue/30 bg-google-blue/5":"border-google-gray-200 bg-white"}`,children:[(0,m.jsx)("h3",{className:"text-sm font-semibold text-google-gray-900",children:e}),(0,m.jsx)("div",{className:"mt-3 flex flex-wrap gap-2",children:t.map(e=>(0,m.jsx)("span",{className:"rounded-full border border-google-gray-200 bg-white px-3 py-1 text-xs font-medium leading-5 text-google-gray-700",children:e},e))})]}),tW=["left-1/4","left-3/4"],tB=[{className:"border-google-green/30 bg-google-green/5 text-google-green-dark",label:"Org Wide"},{className:"border-google-blue/30 bg-google-blue/5 text-google-blue-dark",label:"Scheduler"}],tU=({compact:e=!1})=>(0,m.jsxs)("div",{className:`relative ${e?"h-16":"h-20"}`,children:[(0,m.jsx)("div",{className:`absolute left-1/2 top-0 w-px -translate-x-1/2 bg-google-gray-300 ${e?"h-7":"h-8"}`}),(0,m.jsx)("div",{className:`absolute left-1/4 right-1/4 h-px bg-google-gray-300 ${e?"top-7":"top-8"}`}),tW.map(t=>(0,m.jsxs)("div",{className:`absolute bottom-0 ${t} ${e?"top-7":"top-8"}
2`,children:[(0,m.jsx)("div",{className:`w-px -translate-x-1/2 bg-google-gray-300 ${e?"h-5":"h-8"}`}),(0,m.jsx)(tb,{className:"absolute bottom-0 h-4 w-4 -translate-x-1/2 rotate-90 text-google-gray-400"})]},t))]}),tH=()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{"aria-hidden":"true",className:"hidden sm:block",children:(0,m.jsx)(tU,{})}),(0,m.jsxs)("div",{"aria-label":"The Sundial Chrome extension supports two seat types: Org Wide and Scheduler",className:"sm:hidden",children:[(0,m.jsx)(tU,{compact:!0}),(0,m.jsx)("div",{className:"grid grid-cols-2 gap-3 text-center text-xs font-semibold",children:tB.map(e=>(0,m.jsx)("span",{className:`rounded-full border px-3 py-2 ${e.className}`,children:e.label},e.label))})]})]}),tV=({audience:e,items:t,title:a,variant:l})=>(0,m.jsxs)("div",{className:`rounded-3xl border p-6 sm:p-7 ${tz[l]}`,children:[(0,m.jsxs)("div",{className:"flex items-center gap-3",children:[(0,m.jsx)("span",{className:"flex h-9 w-9 items-center justify-center rounded-full bg-white shadow-sm",children:"org"===l?(0,m.jsx)(G.BuildingOffice2Icon,{"aria-hidden":"true",className:"h-5 w-5 text-google-green-dark"}):(0,m.jsx)(e8.ShieldCheckIcon,{"aria-hidden":"true",className:"h-5 w-5 text-google-blue-dark"})}),(0,m.jsxs)("div",{children:[(0,m.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-google-gray-500",children:"Seat type"}),(0,m.jsx)("h3",{className:"text-xl font-semibold text-google-gray-900",children:a}),(0,m.jsx)("p",{className:"mt-1 text-sm leading-5 text-google-gray-600",children:e})]})]}),(0,m.jsx)("div",{className:"mt-6",children:(0,m.jsx)(tD,{compact:!0,items:t})})]}),tq=()=>(0,m.jsx)("ol",{className:"grid grid-cols-2 gap-x-2 gap-y-3 xl:grid-cols-4","aria-label":"Managed Chrome deployment flow",children:tI.map((e,t)=>(0,m.jsxs)("li",{className:"relative min-w-0",children:[(0,m.jsxs)("div",{className:"flex min-h-36 h-full w-full flex-col items-center justify-start rounded-2xl border border-google-gray-200 bg-white p-4 text-center shadow-sm",children:[(0,m.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-google-gray-900 text-xs font-semibold text-white",children:t+1}),(0,m.jsxs)("div",{className:"mt-3",children:[(0,m.jsx)("p",{className:"text-sm font-semibold leading-5 text-google-gray-800",children:e.title}),(0,m.jsx)("p",{className:"mt-1 text-xs leading-5 text-google-gray-500",children:e.description})]})]}),t<tI.length-1&&(0,m.jsx)(tb,{"aria-hidden":"true",className:"absolute left-[calc(100%+2px)] top-1/2 z-10 hidden h-4 w-4 -translate-y-1/2 text-google-gray-400 xl:block"})]},e.title))}),tZ=({steps:e})=>(0,m.jsx)("ol",{className:"flex flex-wrap items-center gap-2","aria-label":e.join(" then "),children:e.map((t,a)=>(0,m.jsxs)("li",{className:"flex items-center gap-2",children:[(0,m.jsx)("span",{className:"rounded-full border border-google-gray-200 bg-white px-3 py-1.5 text-xs font-medium leading-5 text-google-gray-700",children:t}),a<e.length-1&&(0,m.jsx)(tb,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 text-google-gray-400"})]},t))}),tY=({steps:e})=>(0,m.jsx)("ol",{className:"flex flex-wrap items-center gap-x-2 gap-y-1 text-sm","aria-label":e.join(" then "),children:e.map((t,a)=>(0,m.jsxs)("li",{className:"flex items-center gap-2",children:[(0,m.jsx)("span",{className:"whitespace-nowrap font-medium leading-5 text-google-gray-800",children:t}),a<e.length-1&&(0,m.jsx)(tb,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 text-google-gray-400"})]},t))}),tJ=({accessLabel:e,description:t,steps:a,title:l,variant:s})=>(0,m.jsxs)("article",{className:`rounded-3xl border p-6 sm:p-7 ${tz[s]}`,children:[(0,m.jsx)("h3",{className:"text-xl font-semibold text-google-gray-900",children:l}),(0,m.jsx)("p",{className:"mt-3 text-xs font-semibold uppercase tracking-[0.14em] text-google-gray-500",children:e}),(0,m.jsx)("div",{className:"mt-3",children:(0,m.jsx)(tY,{steps:a})}),(0,m.jsx)("div",{className:"mt-5 border-t border-google-gray-300/70 pt-5",children:(0,m.jsx)(tD,{compact:!0,items:t})})]}),tX=({label:e,layer:t,steps:a,variant:l})=>(0,m.jsxs)("div",{className:`rounded-2xl border p-5 sm:grid sm:grid-cols-[190p
2x_1fr] sm:items-center sm:gap-6 ${tz[l]}`,children:[(0,m.jsxs)("div",{className:"flex items-center gap-3",children:[(0,m.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-white text-xs font-semibold text-google-gray-700 shadow-sm",children:t}),(0,m.jsx)("h3",{className:"text-sm font-semibold text-google-gray-900",children:e})]}),(0,m.jsx)("div",{className:"mt-4 sm:mt-0",children:(0,m.jsx)(tZ,{steps:a})})]}),tQ=({value:e})=>!0!==e?(0,m.jsx)("span",{children:e}):(0,m.jsxs)("span",{className:"inline-flex items-center gap-1.5 font-medium text-google-gray-900",children:[(0,m.jsx)(tw,{"aria-hidden":"true",className:"h-5 w-5 stroke-2 text-google-green-dark"}),(0,m.jsx)("span",{className:"sr-only",children:"Included"})]}),tK=[{type:"featureImgLeft",id:"timezones-on-calendar",title:"See unlimited timezones on your Google Calendar",subtitle:"Timezones automatically convert to wherever you hover on your calendar. See all your coworker’s timezone wherever they appear.",imageDesktop:"/images/feature-timezones-on-calendar.png",imageMobile:"/images/feature-timezones-on-calendar.png",altText:"See unlimited timezones on your Google Calendar",featureShowcase:!0},{type:"featureImgLeft",id:"share-availability",title:"Share your availability in any timezone instantly",subtitle:"Select time blocks and turn them into copyable availability in any timezone – no more timezone mistakes. Choose how you write dates and times, and Sundial matches you exactly. Any language.",imageDesktop:"/images/feature-share-availability.png",imageMobile:"/images/feature-share-availability.png",altText:"Share your availability in any timezone instantly",featureShowcase:!1},{type:"featureImgLeft",id:"workspaces",title:"Your scheduling groups, ready in one click",subtitle:"Save the people you schedule with regularly. One click opens Google Calendar with everyone already there, ready to schedule.",imageDesktop:"/images/feature-workspaces.png",imageMobile:"/images/feature-workspaces.png",altText:"Workspaces for your scheduling groups",featureShowcase:!1},{type:"featureImgLeft",id:"overlay-meeting-requests",title:"See proposed times as calendar overlays",subtitle:"Paste a message or upload a screenshot. Sundial turns the times into visual overlays, showing you exactly where they are on your calendar.",imageDesktop:"/images/feature-overlay-meeting-requests.png",imageMobile:"/images/feature-overlay-meeting-requests.png",altText:"See proposed times as calendar overlays",featureShowcase:!1},{type:"featureImgLeft",id:"audit",title:"Catch scheduling issues automatically",subtitle:"Sundial checks events around the clock for missing video links, rooms, and locations, then flags issues right in Google Calendar.",imageDesktop:"/images/feature-audit.png",imageMobile:"/images/feature-audit.png",altText:"Catch scheduling issues automatically",featureShowcase:!1},{type:"featureImgLeft",id:"create-holds",title:"Create and delete calendar holds in bulk",subtitle:"Create multiple holds at once. Find just one hold, and Sundial finds the rest so you can review and delete them together.",imageDesktop:"/images/feature-create-holds.png",imageMobile:"/images/feature-create-holds.png",altText:"Create and delete calendar holds in bulk",featureShowcase:!1},{type:"featureImgLeft",id:"polls",title:"Find the best time with polls",subtitle:"Share options, assign responders (like EAs for execs), and collect everyone’s availability. Anyone can vote — no Sundial or Google Calendar required.",imageDesktop:"/images/feature-polls.png",imageMobile:"/images/feature-polls.png",altText:"Find the best time with polls",featureShowcase:!1}],t0={type:"cta",titleTop:"Google Calendar Reimagined",titleBottom:"for Enterprise Schedulers",subtitle:"Schedule meetings faster with tools built for enterprise schedulers — directly inside Google Calendar."};var t1=e.i(39610),t2=e.i(81995);let t5={hero:({titleTop:e,titleBottom:t,subtitle:a,imageUrl:l,videoUrl:s,imageAlt:r,align:i,cta:o,ctaLink:n,ctaIsCopy:d,ctaCopyText:c,showCta:g,secondaryCta:u,secondaryCtaLink:x,secondaryCtaIsCopy:h,secondaryCtaCopyText:f})=>{let S=(0,b.useExtensionStoreUrl)(),k=w(n)?S:n,C=w(x)?S:x,E="left"===i,O=E?"justify-center lg:justify-start":"center"===i?"justify-center":"right"===i?"justify-end":"justify-start",I=()=>g&&(0,m.jsxs)("div",{className:`flex items-center mt-6 gap-x-6 ${O}`,children:[d?(0,m.jsx)(N,{label:o,copyText:c,color:"dark"}):(0,m.jsx)(v.Button,{href:k,color:"dark",className:j,target:"_blank",rel:"noopener noreferrer",children:o}),u&&(h?(0,m.jsx)(N,{label:u,copyText:f,outline:!0}):(0,m.jsx)(v.Button,{href:C,outline:!0,className:j,children:u}))]}),M=()=>(0,m.jsxs)("h1",{className:"text-3xl font-semibold text-google-gray-900 sm:text-5xl xl:text-5xl",children:[(0,m.jsxs)("span",{className:"sm:hidden",children:[(0,m.jsx)("span",{className:"block mb-0",children:e}),(0,m.jsx)("span",{className:"block",children:t})]}),(0,m.jsxs)("span",{className:"hidden sm:block",children:[(0,m.jsx)("span",{className:"block mb-5",children:e}),(0,m.jsx)("span",{className:"block",children:t})]})]}),A=()=>(0,m.jsx)("p",{className:`mt-6 leading-6 text-google-gray-600 xl:leading-8 text-md sm:text-lg xl:text-xl ${"center"===i?"mx-auto":""}`,children:a});return(0,m.jsxs)("div",{className:"bg-white",children:[(0,m.jsx)("div",{className:"py-12 sm:py-20",children:(0,m.jsxs)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:[E?(0,m.jsxs)("div",{className:"grid grid-cols-1 gap-y-12 lg:grid-cols-2 lg:gap-x-12 lg:items-center",children:[(0,m.jsxs)("div",{className:"text-center lg:text-left",children:[M(),A(),I(),(0,m.jsx)("div",{className:"mt-16 lg:hidden",children:(0,m.jsx)(p,{imageUrl:l,videoUrl:s,imageAlt:r,className:"flow-root"})})]}),(0,m.jsx)("div",{className:"hidden lg:block",children:(0,m.jsx)(p,{imageUrl:l,videoUrl:s,imageAlt:r,className:"flow-root"})})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)("div",{className:`${"left"===i?"max-w-4xl":"max-w-5xl"} ${{center:"mx-auto",left:"mr-auto",right:"ml-auto"}[i]} ${{center:"text-center",left:"text-left",right:"text-right"}[i]}`,children:[M(),A(),I()]}),(0,m.jsx)(p,{imageUrl:l,videoUrl:s,imageAlt:r})]}),(0,m.jsx)(y,{})]})}),(0,m.jsx)("div",{className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]","aria-hidden":"true",children:(0,m.jsx)("div",{className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-google-yellow via-google-green to-google-red opacity-10 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]",style:{clipPath:"pol
2ygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"}})})]})},heroLp:({titleDesktopTop:e,titleDesktopBottom:t,titleMobileTop:a,titleMobileBottom:l,subtitle:s,imageUrl:r,videoUrl:i,imageAlt:o})=>{let n=(0,b.useExtensionStoreUrl)(),[d,c]=(0,x.useState)(!1);return(0,m.jsxs)("div",{className:"bg-white",children:[(0,m.jsx)("div",{className:"py-12 sm:py-20",children:(0,m.jsxs)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:[(0,m.jsxs)("div",{className:"max-w-5xl mx-auto text-center",children:[(0,m.jsxs)("h1",{className:"text-2xl font-semibold er text-google-gray-900 sm:text-5xl xl:text-6xl",children:[(0,m.jsxs)("span",{className:"sm:hidden ",children:[e,(0,m.jsx)("br",{})," ",t]}),(0,m.jsxs)("span",{className:"hidden sm:inline",children:[e,(0,m.jsx)("br",{})," ",l]})]}),(0,m.jsx)("p",{className:"max-w-3xl mx-auto mt-6 leading-6 text-google-gray-600 xl:max-w-4xl xl:leading-8 text-md sm:text-lg xl:text-2xl",children:s}),(0,m.jsx)("div",{className:"flex items-center justify-center mt-10 gap-x-6",children:(0,m.jsx)(v.Button,{href:n,target:"_blank",rel:"noopener noreferrer",color:"dark",className:"!px-6 !py-3 sm:!px-6 sm:!py-3 sm:!text-base/6",children:"Try Sundial now"})})]}),(0,m.jsx)(p,{imageUrl:r,videoUrl:i,imageAlt:o}),(0,m.jsx)("div",{className:"hidden sm:mt-24 sm:flex sm:justify-center",children:(0,m.jsxs)("div",{className:"relative px-4 py-1 text-base leading-6 text-google-gray-600 rounded-full ring-1 ring-google-gray-200 hover:ring-google-gray-400",children:[(0,m.jsx)("span",{className:"font-semibold",children:"Works with Google Calendar. "}),"Outlook support coming soon!"]})})]})}),(0,m.jsx)("div",{className:"absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]","aria-hidden":"true",children:(0,m.jsx)("div",{className:"relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-google-yellow via-google-green to-google-red opacity-10 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]",style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"}})})]})},heroBg:({titleTop:e,titleBottom:t,subtitle:a,align:l,sections:s})=>(0,m.jsx)("div",{className:"bg-white",children:(0,m.jsx)("div",{className:"py-12 sm:pt-20",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsxs)("div",{className:`${"left"===l?"max-w-4xl":"max-w-5xl"} ${{center:"mx-auto",left:"mr-auto",right:"ml-auto"}[l]} ${{center:"text-center",left:"text-left",right:"text-right"}[l]}`,children:[(0,m.jsxs)("h1",{className:"text-3xl font-semibold er text-google-gray-900 sm:text-5xl xl:text-6xl text-center",children:[(0,m.jsxs)("span",{className:"sm:hidden",children:[(0,m.jsx)("span",{className:"block mb-0",children:e}),(0,m.jsx)("span",{className:"block",children:t})]}),(0,m.jsxs)("span",{className:"hidden sm:block",children:[(0,m.jsx)("span",{className:"block mb-5",children:e}),(0,m.jsx)("span",{className:"block",children:t})]})]}),(0,m.jsx)("div",{className:"mt-6 leading-6 text-google-gray-600 xl:leading-8 text-md sm:text-lg xl:text-xl mx-auto text-center sm:px-24",children:(0,m.jsx)(S.default,{remarkPlugins:[k.default],rehypePlugins:[C.default],components:{a:({node:e,...t})=>{let a=t.href&&!t.href.startsWith("#")&&!t.href.startsWith("/")&&!t.href.startsWith("mailto:");return(0,m.jsx)("a",{className:"sd-primary-link",target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,...t})},p:({node:e,...t})=>(0,m.jsx)("p",{className:"mb-6 leading-7",...t})},children:a})}),s&&s.length>0&&(0,m.jsxs)("nav",{className:"w-full mt-16 bg-white",children:[(0,m.jsx)("h2",{className:"text-2xl font-semibold  text-google-gray-900 sm:text-3xl text-left",children:"Table of Contents"}),(0,m.jsx)("ul",{className:"space-y-3 mt-5 text-md sm:text-lg xl:text-xl",children:s.map(e=>(0,m.jsxs)("li",{className:"space-y-1",children:[(0,m.jsx)("a",{href:`#${e.id}`,className:"block text-black font-medium",children:(0,m.jsx)("span",{className:"sd-primary-link",children:e.title})}),e.subsections.length>0&&(0,m.jsx)("ul",{className:"ml-4 space-y-1",children:e.subsections.map(e=>(0,m.jsx)("li",{children:(0,m.jsx)("a",{href:`#${e.id}`,className:"block text-google-gray-600 hover:text-google-gray-800 text-sm",children:e.title})},e.id))})]},e.id))})]})]})})})}),featuresNavBar:()=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("div",{id:"features-nav",className:"h-px scroll-mt-16","aria-hidden":"true"}),(0,m.jsx)("div",{className:"hidden lg:block bg-white py-12 sm:py-16",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsx)("nav",{"aria-label":"Features",className:"flex items-center justify-center w-fit px-6 py-2 mx-auto bg-white rounded-full shadow-sm ring-1 ring-google-gray-200",children:(0,m.jsx)("ul",{className:"flex items-center justify-center flex-wrap gap-x-4 gap-y-2",children:O.featuresNavLinks.map(e=>(0,m.jsx)("li",{children:(0,m.jsx)(E.default,{href:(0,O.getFeatureHref)(e.id),className:"block px-4 py-2 text-sm font-medium text-google-gray-700 rounded-full transition-colors hover:bg-google-gray-100 hover:text-google-gray-900",children:e.name})},e.id))})})})})]}),contentTwoColumn:({eyebrow:e,title:t,columnOneContent:a,columnTwoContent:l})=>{let s=(0,b.useExtensionStoreUrl)();return(0,m.jsx)("div",{className:"py-20 bg-white",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsxs)("div",{className:"max-w-2xl mx-auto lg:mx-0 lg:max-w-none",children:[(0,m.jsx)("p",{className:"text-base font-medium leading-7 text-google-gray-500",children:e}),(0,m.jsx)("h1",{className:"mt-5 text-3xl font-semibold  text-google-gray-900 sm:text-4xl",children:t}),(0,m.jsxs)("div",{className:"grid max-w-xl grid-cols-1 gap-8 mt-10 text-base leading-7 text-google-gray-700 lg:max-w-none lg:grid-cols-2",children:[(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:a}}),(0,m.jsx)("div",{dangerouslySetInnerHTML:{__html:l}})]}),(0,m.jsx)("div",{className:"flex mt-10",children:(0,m.jsx)(I,{text:"Try Sundial now",link:s,isTargetBlank:!1})})]})})})},imageVideoToggle:p,featureImgRight:M,featureImgLeft:A,cta:R,pricing:()=>{let e=(0,z.useRouter)();return(0,m.jsxs)("div",{className:"bg-white",children:[(0,m.jsxs)("div",{className:"px-6 pt-6 mx-auto text-center max-w-7xl pb-96 sm:pt-16 lg:px-8",children:[(0,m.jsx)("div",{className:"max-w-4xl mx-auto",children:(0,m.jsx)("h2",{className:"mt-2 text-5xl font-semibold  text-google-gray-900 xl:text-7xl",children:"Pricing for teams"})}),(0,m.jsx)("div",{className:"relative mt-6",children:(0,m.jsxs)("p",{className:"max-w-2xl mx-auto mb-0 leading-7 text-google-gray-600 lg:max-w-5xl text-md sm:text-lg xl:text-2xl xl:leading-8",children:["Sundial cuts scheduling time from 7 to 3 minutes.",(0,m.jsx)("br",{}),"Coordinating 8 meetings a day (at a $100k salary) reclaims $500/mo for higher-value work."]})})]}),(0,m.jsx)("div",{className:"flow-root pb-10 bg-white",children:(0,m.jsx)("div",{className:"-mt-80",children:(0,m.jsx)("div",{className:"px-6 mx-auto max-w-7xl lg:px-8",children:(0,m.jsx)(P.Tiers,{lgCols:"lg:grid-cols-4",isDashboard:!1,onTierClick:t=>{t.tierId&&e.push(`/dashboard/create-team?tierId=${t.id}`)}})})})})]})},footer:D.Footer,logIn:()=>{let e=(0,z.useRouter)(),{user:t,loading:a,reloadUser:l}=(0,eg.useUser)(),[s,r]=(0,x.useState)(),[i,o]=(0,x.useState)(""),[n,d]=(0,x.useState)(),[c,g]=(0,x.useState)("login"),[u,p]=(0,x.useState)(null),f=null!==u,[y,b]=(0,x.useState)(""),[v,w]=(0,x.useState)(!0),j=v||"sso"===u,[N,S]=(0,x.useState)(),[k,C]=(0,x.useState)(!1),[O,I]=(0,x.useState)(),M=(0,x.useRef)(!1),A=(0,x.useRef)(),T=(0,x.useRef)(!1),[$,L]=(0,x.useState)(!1),[R,P]=(0,x.useState)(!1),[D,K]=(0,x.useState)(!1),[et,el]=(0,x.useState)(null),[eo,en]=(0,x.useState)(null),[ed,ek]=(0,x.useState)(!1),eC=n?null:t,[eE,eO]=(0,x.useState)(ew);(0,x.useEffect)(()=>{e.isReady&&eO(function(e){let t,a=e.indexOf("?");if(a<0)return{...ew};let l=new URLSearchParams(e.slice(a+1)),s=l.get("redirect"),r=eb(s),i=l.get("pollName")||l.get("pollTitle");return!i&&s&&(t=ey(s)?.searchParams,i=t?.get("pollName")||t?.get("pollTitle")||null),{redirect:ey(s)?s:null,isPollVoteLogin:r,pollDisplayName:i}}(e.asPath))},[e.isReady,e.asPath]);let{redirect:eI,isPollVoteLogin:eM,pollDisplayName:eA}=eE,eT=(0,x.useMemo)(()=>{let t=new URLSearchParams,a=e.asPath.indexOf("?"),l=a>=0?new URLSearchParams(e.asPath.slice(a+1)):new URLSearchParams,s=eI||l.get("redirect");s&&t.set("redirect",s);let r=l.get("pollName")||l.get("pollTitle");r&&t.set("pollName",r);let i=t.toString();return i?`/sso?${i}`:"/sso"},[e.asPath,eI]),e$=(0,x.useMemo)(()=>{let t=e.asPath.indexOf("?"),a=t>=0?e.asPath.slice(t):"";return`/log-in${a}`},[e.asPath]),eL=(0,x.useMemo)(()=>"/sso"===e.asPath.split("?")[0],[e.asPath]),eR=(0,x.useMemo)(()=>eC?.providerData.some(e=>e.providerId.startsWith("saml.")),[eC]),ez=(0,x.useMemo)(()=>!!eC&&(0,er.isMicrosoftOnlyUser)(eC),[eC]),eP=(0,x.useMemo)(()=>!!eC&&(0,er.isEmailOnlyUser)(eC),[eC]),eD=eM&&"login"===c&&!eC&&!D&&!et;
2(0,x.useEffect)(()=>{void 0!==A.current&&A.current!==eL&&o(""),A.current=eL},[eL]),(0,x.useEffect)(()=>{if(!M.current){let t=new URLSearchParams(window.location.search),a=t.has("logout");if(t.has("error"))o(t.get("error")),window.sessionStorage.removeItem(eh),t.delete("error");else if(t.has("token")){try{let e=JSON.parse(atob(t.get("token")));S(e)}catch(e){console.error("Got error when getting token",e)}t.delete("token")}if(t.has("hasSamlTeam")&&(C(!0),t.delete("hasSamlTeam")),t.has("requestedScopes")&&(I(t.get("requestedScopes")),t.delete("requestedScopes")),t.has("ssoCompleted")){let e=window.sessionStorage.getItem(eh);if(e){try{ec({type:"userAuthenticated",credential:JSON.parse(e)})}catch(e){console.error("Could not notify extension about completed SSO",e)}window.sessionStorage.removeItem(eh)}t.delete("ssoCompleted")}if(t.has("emailCompleted")&&(window.localStorage.removeItem("emailForSignIn"),t.delete("emailCompleted")),t.has("logout")){t.delete("logout");let a=`${window.location.pathname}${t.size?`?${t.toString()}`:""}`;eF().finally(()=>e.replace(a,void 0,{shallow:!0}))}if(t.has("force")&&(d(t.get("force")||!0),t.delete("force")),(0,Y.ae)((0,W.getClientAuth)(),window.location.href)){let a=window.localStorage.getItem("emailForSignIn");if(a){let s=t.get("redirect");T.current=!0,(0,J.af)((0,W.getClientAuth)(),a,window.location.href).then(async e=>{window.localStorage.removeItem("emailForSignIn");let t=ev(s);return ef(e.user,t).then(()=>l())}).then(()=>{s?e.replace(s):(T.current=!1,w(!1))}).catch(e=>{console.error("Email link sign-in failed",e),o(e?.message||"Email sign-in failed"),T.current=!1,w(!1)})}else el(window.location.href);t.delete("oobCode"),t.delete("mode"),t.delete("apiKey"),t.delete("lang")}a||e.replace(`${window.location.pathname}${t.size?`?${t.toString()}`:""}`,void 0,{shallow:!0}),M.current=!0}let t=(0,W.getClientAuth)().onAuthStateChanged(t=>{r(t),t&&t.providerData.some(e=>"google.com"===e.providerId)&&"/sign-up"===e.asPath&&e.replace("/log-in")});return()=>t()},[]),(0,x.useEffect)(()=>{if(N&&!a&&void 0!==s){let{access_token:a,refresh_token:s,id_token:i,expiry_date:n,scope:d,email:c}=N;S(void 0);try{var r;let m,u=B.Y.credential(i,a);if(d&&!Q.every(e=>d.includes(e)))throw g("noScope"),Error(ex);let x=d&&(r=d,m=new Set(r.split(" ").filter(Boolean)),Object.entries(X).filter(([,e])=>e.every(e=>m.has(e))).map(([e])=>e)),h=O?.includes("drive");if(eR){if(eC.email!==c)throw Error("Google email not matching user email");ec({type:"userAuthenticated",accessToken:a,refreshToken:s,expiryDate:n,scope:x}),g("loginGoogleSso"),h&&L(!0)}else{if(k)throw Error("Please use the SSO for authorization");h&&L(!0),ec({type:"userAuthenticated",idToken:i,accessToken:a,refreshToken:s,expiryDate:n,scope:x}),(t?Promise.resolve():(function e(t,a,l=1,s=1e3){return t().catch(async r=>{let i=l-1;if(!i||!a(r))throw r;return await new Promise(e=>setTimeout(e,s)),e(t,a,i)})})(()=>(0,V.a2)((0,W.getClientAuth)(),u),e=>e?.code==="auth/duplicate-raw-id",3).then(async e=>{let t=ev(eI);return ef(e.user,t)})).then(()=>l()).then(()=>{eI&&e.replace(eI)}).catch(e=>{console.error("Could not authorize",e),o(e?.message||"Could not authorize")}).finally(()=>w(!1))}}catch(e){e?.message!==ex&&(console.error("Got error when getting token",e),o(e.message))}finally{w(!1)}}else if(!a&&void 0!==s&&void 0!==eC){T.current||w(!1);let t=eR?n&&"google"!==n:n;!eC||t||!eI||T.current||((0,er.isMicrosoftOnlyUser)(eC)||(0,er.isEmailOnlyUser)(eC))&&!eb(eI)||e.replace(eI)}},[eC,s,t,a,eR,N,e,n,eI,O,k,l]);let eF=async()=>{ek(!0);try{o(""),await fetch("/api/auth",{method:"DELETE",credentials:"include"}),await (0,Z.D)((0,W.getClientAuth)()),await l(),ec({type:"userDeauthenticated"}),console.log("Logged out successfully.")}catch(e){console.error("Error during logout:",e.message)}finally{g("login"),w(!1),ek(!1)}},eG=()=>{f||p("google")},e_=async()=>{if(f)return;if(k)return void o("Please use the SSO for authorization");p("microsoft"),o(""),d(void 0);let t=new U._("microsoft.com");t.setCustomParameters({prompt:"select_account"});try{let a=await (0,q.d)((0,W.getClientAuth)(),t),s=U._.credentialFromResult(a);s&&ec({type:"userAuthenticated",credential:s.toJSON()});let r=ev(eI);if(await ef(a.user,r),await l(),eI)return void e.replace(eI)}catch(e){if(e?.code==="auth/popup-closed-by-user")return;console.error("Could not authorize with Microsoft",e),o(e?.message||"Microsoft sign-in failed")}finally{p(null)}},eW=async t=>{if(t.preventDefault(),!f){if(o(""),en(null),p("emailLink"),et){T.current=!0,w(!0);try{let t=await (0,J.af)((0,W.getClientAuth)(),y,et);window.localStorage.removeItem("emailForSignIn");let a=ev(eI);await ef(t.user,a),await l(),eI?e.replace(eI):(T.current=!1,w(!1))}catch(e){console.error("Email link sign-in failed",e),o(e?.message||"Email sign-in failed"),T.current=!1,w(!1)}finally{p(null)}return}try{let e=ev(eI),t=await fetch("/api/auth/email",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:y,redirect:eI||void 0,pollId:e||void 0})}),a=await t.json();if(!t.ok){o(a.error||"Could not send sign-in link"),("google"===a.provider||"microsoft"===a.provider||"saml"===a.provider)&&en(a.provider);return}window.localStorage.setItem("emailForSignIn",y),K(!0)}catch(e){console.error("Could not send email link",e),o(e?.message||"Could not send sign-in link")}finally{p(null)}}},eB=(0,m.jsx)(eS,{redirect:eI,onClick:eG,disabled:f,className:"mt-4",children:"google"===u?"Loading...":(0,m.jsx)(ej,{icon:(0,m.jsx)(ee,{className:"h-4 w-4"}),children:"Continue with Google"})}),eU=(0,m.jsx)(eN,{type:"button",onClick:e_,disabled:f,className:"mt-4 relative flex items-center justify-center pl-10",children:"microsoft"===u?"Loading...":(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("span",{className:"absolute left-3 flex items-center",children:(0,m.jsx)(es,{className:"w-4 h-4"})}),(0,m.jsx)("span",{className:"mx-auto w-full text-center block",children:"Continue with Microsoft"})]})}),eH=(0,m.jsxs)(eN,{href:eT,className:"mt-4 relative flex items-center justify-center pl-10",children:[(0,m.jsx)(G.BuildingOffice2Icon,{className:"h-5 w-5 absolute left-3"}),(0,m.jsx)("span",{className:"w-full text-center",children:"Single sign-on (SSO)"})]}),eV="google"===eo?eB:"microsoft"===eo?eU:"saml"===eo?eH:null,eq=(0,m.jsxs)("div",{className:"flex flex-col items-center",children:[eR&&"noScope"===c&&(0,m.jsx)(eS,{onClick:eG,disabled:f,className:"mb-4",redirect:eI,children:"google"===u?"Loading...":"Authorize Google Calendar"}),!ez&&!eP&&(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("a",{href:"https://calendar.google.com/",className:"block mb-4",children:(0,m.jsxs)("button",{className:"relative flex items-center w-64 px-5 py-2 text-sm font-medium text-white bg-google-gray-900 rounded-full hover:bg-google-gray-800 focus-visible:ring-transparent h-10 cursor-pointer",children:[(0,m.jsx)("span",{className:"absolute left-3 flex items-center",children:(0,m.jsx)(h.default,{src:"https://ssl.gstatic.
2com/calendar/images/dynamiclogo_2020q4/calendar_31_2x.png",alt:"Google Calendar logo",width:24,height:24})}),(0,m.jsx)("span",{className:"flex-1 text-center ml-5",children:"Go to Google Calendar"})]})}),(0,m.jsx)(E.default,{href:"/dashboard",className:"block mb-4",children:(0,m.jsxs)("button",{className:"relative flex items-center w-64 px-5 py-2 text-sm font-medium text-google-gray-700 bg-white border border-google-gray-400 rounded-full hover:bg-google-gray-50 focus-visible:ring-transparent h-10 cursor-pointer",children:[(0,m.jsx)("span",{className:"absolute left-3 flex items-center",children:(0,m.jsx)(_,{className:"w-5 h-5"})}),(0,m.jsx)("span",{className:"flex-1 text-center",children:"Sundial Dashboard"})]})})]}),(0,m.jsx)("button",{onClick:e=>{e.preventDefault(),eF()},className:"flex cursor-pointer items-center justify-center w-full gap-3 px-5 py-2 text-sm font-semibold text-google-gray-900",children:(0,m.jsx)("span",{className:"sd-primary-link",children:"Log out"})})]});return ed?(0,m.jsx)(eu.default,{fullScreen:!0}):(0,m.jsx)("div",{className:"flex min-h-screen items-center justify-center bg-google-gray-50 px-4 py-8 sm:px-6 lg:px-8",children:(0,m.jsxs)("div",{className:"w-full max-w-lg rounded-lg bg-white px-5 py-8 shadow-sm sm:px-12 sm:py-14 lg:px-20",children:[(0,m.jsxs)("div",{className:"text-center sm:mx-auto",children:[!eD&&(0,m.jsx)("div",{className:"inline-block mx-auto",children:(0,m.jsx)("a",{href:"https://trysundial.ai",target:"_blank",rel:"noopener noreferrer",children:(0,m.jsx)(h.default,{alt:"Sundial",src:"./images/sundial-logo.svg",className:"h-10 cursor-pointer",width:120,height:40})})}),(0,m.jsxs)("h2",{className:(0,em.default)("text-2xl font-semibold text-center text-google-gray-900",eD?"mt-0":"mt-6"),children:["login"===c&&(0,m.jsx)(m.Fragment,{children:eC?"You're logged in as":D?"Check your email":et?"Complete sign-in":eD?"Vote on this poll":"Log in to your Sundial account"}),"loginGoogleSsoRedirect"===c&&(0,m.jsx)(m.Fragment,{children:"Next: connecting your Google Calendar..."}),"loginGoogleSso"===c&&(0,m.jsx)(m.Fragment,{children:"Google Calendar Authorized"}),"noScope"===c&&"Almost there!"]}),eD&&(0,m.jsx)("p",{className:"mt-3 mx-auto max-w-md text-center text-sm leading-relaxed text-google-gray-600 sm:whitespace-nowrap",children:eA?(0,m.jsxs)(m.Fragment,{children:["You've been invited to the poll: ",(0,m.jsx)("strong",{className:"text-google-gray-900",children:eA}),". Confirm your identity to vote."]}):(0,m.jsx)(m.Fragment,{children:"You've been invited to a poll. Confirm your identity to vote."})})]}),eC&&(0,m.jsx)("div",{className:"mt-2 wrap-break-word text-center text-google-gray-900",children:eC.email}),"noScope"===c&&(0,m.jsx)("div",{className:"mt-8 text-center text-sm leading-relaxed text-google-gray-900 sm:mt-10 sm:text-base",children:'It looks like you didn’t grant all the permissions Sundial needs. To finish setup, please log in again and allow "View and Edit Calendar" access.'}),(0,m.jsxs)("div",{className:"mt-6 sm:mx-auto sm:w-full sm:max-w-[480px]",children:[(0,m.jsxs)("div",{className:(0,em.default)("mx-auto bg-white sm:rounded-lg",{"w-full":eC||eL,"w-full sm:w-72":!eC&&!eL}),children:[("login"===c||"loginGoogleSso"===c)&&(0,m.jsxs)(m.Fragment,{children:[j&&(0,m.jsx)("div",{className:"flex justify-center",children:(0,m.jsxs)("svg",{className:"animate-spin h-10 w-10 text-google-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,m.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,m.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"})]})}),!j&&(0,m.jsx)(m.Fragment,{children:eC?eq:(0,m.jsxs)(m.Fragment,{children:[eL&&(0,m.jsxs)("form",{className:"flex flex-col gap-4",onSubmit:e=>e.preventDefault(),children:[(0,m.jsxs)("label",{className:"flex items-center gap-2 w-full rounded-lg border border-google-gray-300 bg-white px-3 py-2 text-sm text-google-gray-900 focus-within:ring-2 focus-within:ring-google-gray-400",children:[(0,m.jsx)(F,{className:"w-4 h-4 text-google-gray-500"}),(0,m.jsx)("input",{type:"email",disabled:f,placeholder:"Enter your email address",value:y,onChange:e=>b(e.target.value),className:"flex-1 outline-none bg-transparent placeholder:text-google-gray-400"})]}
2),(0,m.jsx)(eN,{className:"cursor-pointer",onClick:async()=>{p("sso"),w(!0),o(""),d(void 0);let t=y.split("@").pop(),a=new H.$(`saml.${t}`);try{let t=await (0,q.d)((0,W.getClientAuth)(),a);g("loginGoogleSsoRedirect");let l=H.$.credentialFromResult(t);window.sessionStorage.setItem(eh,JSON.stringify(l.toJSON())),await (0,ei.startSsoAuth)(await ep(t.user)),await (0,Z.D)((0,W.getClientAuth)());let s=new URLSearchParams;eI&&s.set("redirect",eI),s.set("sso","true"),e.replace(`/api/auth/google?${s.toString()}`)}catch(e){if(window.sessionStorage.removeItem(eh),await Promise.allSettled([(0,ei.abandonSsoAuth)(),(0,Z.D)((0,W.getClientAuth)())]),w(!1),e?.code==="auth/popup-closed-by-user")return;console.error("Could not authorize",e),o("No SSO found for this domain. Use Google login instead.")}finally{p(null)}},disabled:f||!y.includes("@"),children:"sso"===u?"Loading...":"Continue"})]}),!eL&&(0,m.jsx)(m.Fragment,{children:D?(0,m.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,m.jsx)(F,{className:"w-12 h-12 text-google-gray-400"}),(0,m.jsxs)("p",{className:"text-sm text-center text-google-gray-700",children:["We sent a sign-in link to ",(0,m.jsx)("strong",{children:y}),". Check your email and click the link to sign in."]}),(0,m.jsx)("button",{type:"button",onClick:()=>{K(!1),P(!1),b("")},className:"text-sm sd-primary-link cursor-pointer",children:"Back"})]}):eo?(0,m.jsxs)("div",{className:"flex flex-col",children:[eV,(0,m.jsx)("p",{className:"text-center text-sm text-google-gray-500 mt-4",children:(0,m.jsx)("button",{type:"button",onClick:()=>{en(null),o(""),b("")},className:"sd-primary-link cursor-pointer",children:"Use a different email"})})]}):eM||R||et?(0,m.jsxs)("form",{className:"flex flex-col gap-4",onSubmit:eW,children:[et&&(0,m.jsx)("p",{className:"text-sm text-center text-google-gray-700 mb-2",children:"Enter your email to complete sign-in."}),(0,m.jsxs)("label",{className:"flex items-center gap-2 w-full rounded-lg border border-google-gray-300 bg-white px-3 py-2 text-sm text-google-gray-900 focus-within:ring-2 focus-within:ring-google-gray-400",children:[(0,m.jsx)(F,{className:"w-4 h-4 text-google-gray-500"}),(0,m.jsx)("input",{type:"email",disabled:f,placeholder:"Enter your email address",value:y,onChange:e=>b(e.target.value),className:"flex-1 outline-none bg-transparent placeholder:text-google-gray-400"})]}),(0,m.jsx)(eN,{type:"submit",disabled:f||!y.includes("@"),className:"cursor-pointer",children:"emailLink"===u?"Loading...":et?"Continue":"Send sign-in link"}),!et&&!eM&&(0,m.jsx)("p",{className:"text-center text-sm text-google-gray-500",children:(0,m.jsx)("button",{type:"button",onClick:()=>{P(!1),b("")},className:"sd-primary-link cursor-pointer",children:"Back"})})]}):(0,m.jsxs)(m.Fragment,{children:[eB,eH]})})]})})]}),"noScope"===c&&!eR&&(0,m.jsx)(eS,{redirect:eI,disabled:f,children:"google"===u?"Loading...":"Log in again"}),"noScope"===c&&eR&&eq]}),i&&(0,m.jsx)("div",{className:"mt-8 wrap-break-word text-center text-sm leading-relaxed text-google-red-dark sm:mt-10 sm:text-base",children:i}),!eC&&!j&&(0,m.jsxs)("p",{className:"mx-auto mt-8 w-full text-center text-xs leading-relaxed text-google-gray-400 sm:px-10",children:["By continuing, you acknowledge that you understand and agree to the"," ",(0,m.jsx)(E.default,{href:"/terms",className:"sd-primary-link",children:"Terms of Service"})," ","and"," ",(0,m.jsx)(E.default,{href:"/privacy",className:"sd-primary-link",children:"Privacy Policy"}),"."]}),!eC&&!j&&(0,m.jsx)("div",{className:"mt-6 flex flex-col gap-2",children:eL&&"loginGoogleSsoRedirect"!==c&&(0,m.jsx)("p",{className:"text-center text-sm text-google-gray-500 sm:px-16",children:(0,m.jsx)(E.default,{href:e$,className:"sd-primary-link",children:"Back"})})}),$&&(0,m.jsxs)("div",{className:"mt-6 flex items-center justify-center gap-2 text-center text-sm leading-relaxed text-google-green-dark sm:text-base",children:[(0,m.jsx)(ea,{className:"h-6 w-6 shrink-0","aria-hidden":"true"}),(0,m.jsx)("span",{children:"Google Sheets connected. Head back to Google Calendar to use the Calendar Audit feature."})]})]})]})})},testimonial:({quote:e,buttonText:t,imageUrlMobile:a,imageUrlDesktop:l,imageAlt:s,imageLink:r,isTargetBlank:i})=>(0,m.jsx)("section",{className:"px-6 overflow-hidden lg:px-8 bg-white",children:(0,m.jsxs)("div",{className:"relative max-w-2xl py-12 mx-auto 
2sm:py-12 lg:max-w-4xl",children:[(0,m.jsx)("div",{className:"absolute top-0 left-1/2 -z-10 h-[50rem] w-[90rem] -translate-x-1/2 lg:left-36"}),(0,m.jsxs)("div",{className:"grid items-center grid-cols-1 gap-x-6 gap-y-8 lg:gap-x-10",children:[(0,m.jsx)("div",{className:"relative col-span-2 lg:col-start-1 lg:row-start-2",children:(0,m.jsx)("blockquote",{className:"font-medium leading-snug text-google-gray-900 sm:leading-loose sm:font-semibold text-lg/8 sm:text-2xl/9",children:(0,m.jsx)("p",{children:e})})}),(0,m.jsx)("div",{className:"w-16 col-end-1 lg:row-span-4 lg:w-72",children:(0,m.jsxs)("a",{href:r,target:"_blank",children:[(0,m.jsx)(h.default,{alt:s,src:a,className:"shadow-md rounded-xl bg-google-gray-50 sm:hidden",width:64,height:64}),(0,m.jsx)(h.default,{alt:s,src:l,className:"hidden shadow-md rounded-xl bg-google-gray-50 sm:block",width:288,height:288})]})}),(0,m.jsx)("div",{className:"text-base lg:col-start-1 lg:row-start-3",children:(0,m.jsx)(I,{text:t,link:r,isTargetBlank:i,size:"lg"})})]})]})}),roi:e=>{let t=(0,z.useRouter)(),{isAdmin:a}=function(){let{user:e,loading:t}=(0,eg.useUser)();return{isAdmin:!!e?.isAdmin,loading:t}}(),[l,s]=(0,x.useState)(eR.ROI_MODES.EA),[r,i]=(0,x.useState)(()=>({[eR.ROI_MODES.EA]:e5(eR.ROI_MODES.EA),[eR.ROI_MODES.ORG_WIDE]:e5(eR.ROI_MODES.ORG_WIDE)})),[o,n]=(0,x.useState)(!1),[d,c]=(0,x.useState)(!1),g=eU[l],{assumptionsOverrid
2den:u,businessCaseContent:h,businessCaseOptions:p,platformFeeOverride:f,pricePerSeat:y,values:b}=r[l];(0,x.useEffect)(()=>{let e,a=new URLSearchParams(window.location.search);if(a.has("plan")){a.delete("plan");let e=a.toString(),l=`${window.location.pathname}${e?`?${e}`:""}`;t.replace(l,void 0,{shallow:!0})}let l=(e={},a.forEach((t,a)=>{e[a]=t}),e),r=eZ(l);eJ(l,{setMode:s,setModeStates:i,shouldHydrateSliders:eY(l,r)})},[]),(0,x.useEffect)(()=>{if(!t.isReady)return;let e=eZ(t.query);eJ(t.query,{setMode:s,setModeStates:i,shouldHydrateSliders:eY(t.query,e)})},[t.isReady,t.asPath,t.query]);let w=(0,x.useCallback)(async e=>{e?.preventDefault();try{let e=eQ(l,b,y,f);await navigator.clipboard.writeText(e),c(!0),setTimeout(()=>c(!1),3e3)}catch{c(!1)}},[l,b,y,f]),j=(0,x.useMemo)(()=>(0,ez.computeRoi)(b,y,f,{includePlatformFee:g.includePlatformFee}),[b,y,f,g.includePlatformFee]),N=j.roundedMonthlyTeamHours,S=j.roundedAnnualTeamSavings,k=j.roundedAnnualSundialCost,C=(0,x.useMemo)(()=>e0(l,b,h.roleLabel),[l,b,h.roleLabel]);(0,x.useEffect)(()=>{u||i(e=>{let t=e[l];return t.businessCaseContent.assumptions===C?e:{...e,[l]:{...t,businessCaseContent:{...t.businessCaseContent,assumptions:C}}}})},[u,C,l]);let E=(0,x.useMemo)(()=>{let e=g.includePlatformFee?(0,ez.resolvePlatformFeeAnnual)(b.teamSize,f):0;return((e,t,a,l,s)=>{let{meetingMinutes:r,sundialMinutes:i,timeSaved:o,dailyMeetings:n,salary:d,teamSize:c}=t,m=c??1,g=Number(d).toLocaleString(),u=Number(l).toLocaleString();return e===eR.ROI_MODES.ORG_WIDE?{timeSaved:`${o} \xd7 ${n}`,hoursSaved:`${o} \xd7 ${n} \xd7 20 \xf7 60 \xd7 ${m}`,teamSavings:`Hours saved \xd7 $${g} \xf7 52 \xf7 40 \xd7 12`,sundialInvestment:`${m} \xd7 $${a} \xd7 12`,valueMultiple:`$${Number(s.roundedAnnualTeamSavings).toLocaleString()} \xf7 $${Number(s.roundedAnnualSundialCost).toLocaleString()}`}:{hoursSaved:`(${r}-${i}) \xd7 ${n} \xd7 20 \xf7 60 \xd7 ${m}`,teamSavings:`Hours saved \xd7 $${g} \xf7 52 \xf7 40 \xd7 12`,sundialInvestment:`(${m} \xd7 $${a} \xd7 12) + $${u}`}})(l,b,y,e,j)},[l,b,y,f,g.includePlatformFee,j]),O=(0,x.useMemo)(()=>eQ(l,b,y,f),[l,b,y,f]),I=(0,x.useCallback)((e,t)=>{i(a=>
2({...a,[l]:{...a[l],assumptionsOverridden:"assumptions"===e||a[l].assumptionsOverridden,businessCaseContent:{...a[l].businessCaseContent,[e]:t}}}))},[l]),M=(0,x.useCallback)((e,t)=>{i(a=>({...a,[l]:{...a[l],businessCaseOptions:{...a[l].businessCaseOptions,[e]:t}}}))},[l]),A=(0,x.useCallback)(()=>{i(e=>({...e,[l]:{...e[l],assumptionsOverridden:!1,businessCaseContent:{...e[l].businessCaseContent,assumptions:C}}}))},[C,l]),T=(0,x.useCallback)(()=>{var e;let t,a=document.title,l=()=>{document.title=a,document.body.classList.remove("business-case-printing"),window.removeEventListener("afterprint",l)};document.title=(e=h.companyName,t=e?.trim().toLowerCase().replace(/\s+/g,"-")||"company",`sundial-business-case-for-${t}`),document.body.classList.add("business-case-printing"),window.addEventListener("afterprint",l),window.requestAnimationFrame(()=>window.print())},[h.companyName]),$=l===eR.ROI_MODES.ORG_WIDE?[{calculation:E.timeSaved,explanation:eG[l].timeSaved,title:"Time saved / employee / day"},{calculation:E.hoursSaved,explanation:eG[l].hoursSaved,title:"Hours saved"},{calculation:E.teamSavings,explanation:eG[l].teamSavings,title:"Annual value"},{calculation:E.sundialInvestment,explanation:eG[l].sundialInvestment(y),title:"Sundial investment"},{calculation:E.valueMultiple,explanation:eG[l].valueMultiple,title:"Estimated value"}]:[{calculation:E.hoursSaved,explanation:eG[l].hoursSaved,title:"Hours saved"},{calculation:E.teamSavings,explanation:eG[l].teamSavings,title:(b.teamSize??1)>1?"Team savings":"User savings"},{calculation:E.sundialInvestment,explanation:eG[l].sundialInvestment(y),title:"Sundial investment"}];return(0,m.jsx)("div",{className:"pt-12 pb-24 bg-white",children:(0,m.jsx)("div",{className:"max-w-6xl px-6 mx-auto lg:px-8",children:(0,m.jsxs)("div",{className:"max-w-2xl mx-auto lg:mx-0 lg:max-w-none",children:[(0,m.jsxs)("div",{className:"mb-8 flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:[(0,m.jsx)("div",{"aria-label":"Business case mode",className:"grid w-full max-w-sm grid-cols-2 overflow-hidden rounded-full border border-google-gray-300 bg-google-gray-50 p-1 sm:w-auto",role:"tablist",children:Object.entries(eU).map(([e,a])=>{let i=l===e;return(0,m.jsx)("button",{"aria-selected":i,className:`min-w-0 rounded-full px-3 py-2 text-sm font-medium transition sm:px-5 ${i?"bg-google-gray-900 text-white shadow-sm":"text-google-gray-600 hover:text-google-gray-900"}`,role:"tab",type:"button",onClick:()=>(e=>{if(e===l)return;let a=r[e];c(!1),s(e),t.replace(eX(e,a.values,a.pricePerSeat,a.platformFeeOverride),void 0,{shallow:!0})})(e),children:a.label},e)})}),(0,m.jsx)("button",{className:"self-start text-sm font-medium text-google-gray-600 underline decoration-google-gray-300 underline-offset-4 hover:text-google-gray-900 sm:self-auto",type:"button",onClick:()=>{c(!1),i(e=>({...e,[l]:e5(l)}))},children:"Reset defaults"})]}),(0,m.jsx)("h2",{className:"mb-14 max-w-4xl text-4xl font-semibold text-google-gray-900 xl:text-6xl",children:g.headline}),(0,m.jsxs)("div",{className:"flex flex-col sm:mt-10 lg:mt-0 gap-x-6 gap-y-10 lg:flex-row",children:[(0,m.jsx)("div",{className:"border-google-gray-200 lg:border-r lg:w-full lg:max-w-xl lg:flex-auto",children:(0,m.jsxs)("ul",{role:"list",className:"grid grid-cols-1 gap-6 mt-8 lg:mt-0 text-google-gray-600 text-sm/6 sm:grid-cols-1 sm:gap-5",children:[g.includedFeatures.map(({feature:e,key:t,min:a,max:s,step:r,initialValue:o,isCurrency:n,unit:d,allowDirectInput:c})=>(0,m.jsx)("li",{className:"flex gap-x-3",children:(0,m.jsx)(eT,{feature:e,min:a,max:s,step:r,initialValue:o,isCurrency:n,unit:d,keyName:t,value:b[t],allowDirectInput:c,onValueChange:e=>{i(a=>({...a,[l]:{...a[l],values:{...a[l].values,[t]:Number(e)}}}))}})},e)),l===eR.ROI_MODES.ORG_WIDE&&(0,m.jsx)("li",{className:"flex gap-x-3",children:(0,m.jsxs)("div",{className:"relative w-11/12 sm:w-8/12",children:[(0,m.jsx)("label",{className:"mb-3 block text-lg font-extrabold text-google-gray-900",htmlFor:"org-wide-price",children:"Price per employee / month"}),(0,m.jsxs)("div",{className:"relative w-32",children:[(0,m.jsx)("span",{className:"pointer-events-none absolute inset-y-0 left-3 z-10 flex items-center text-sm text-google-gray-500",children:"$"}),(0,m.jsx)(e$.Input,{className:"[&_input]:pl-7",id:"org-wide-price",max:999,min:1,step:1,type:"number",value:y,onChange:e=>{let t;!Number.isNaN(t=Number(e.target.value))&&!(t<1)&&i(e=>({...e,[l]:{...e[l],pricePerSeat:Math.min(Math.round(100*t)/100,999)}}))}})]})]})})]})}),(0,m.jsx)("div",{className:"pt-8 lg:pt-0 border-t border-google-gray-200 lg:border-t-0 lg:flex lg:flex-auto lg:justify-center",children:(0,m.jsxs)("div",{className:"w-full space-y-8 xl:w-80",children:[l===eR.ROI_MODES.ORG_WIDE?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(e1,{title:"Time saved",tooltip:eF[l].timeSaved,value:(0,m.jsxs)(m.Fragment,{children:[(0,ez.formatTimeSaved)(j.dailyMinutesSavedPerUser),(0,m.jsx)("span",{className:"ml-3 text-lg font-normal text-google-gray-500",children:"/employee/day"})]})}),(0,m.jsx)(e1,{title:"Hours reclaimed",tooltip:eF[l].hoursSaved,value:(0,m.jsxs)(m.Fragment,{children:[N>
2999?Number(N).toLocaleString():N,(0,m.jsx)("span",{className:"ml-3 text-lg font-normal text-google-gray-500",children:"/team/month"})]})}),(0,m.jsx)(e1,{title:"Annual value",tooltip:eF[l].teamSavings,value:(0,m.jsxs)(m.Fragment,{children:["$",Number(S).toLocaleString(),(0,m.jsx)("span",{className:"ml-3 text-lg font-normal text-google-gray-500",children:"/year"})]})}),(0,m.jsx)(e1,{title:"Sundial investment",tooltip:eF[l].sundialInvestment,value:(0,m.jsxs)(m.Fragment,{children:["$",Number(k).toLocaleString(),(0,m.jsx)("span",{className:"ml-3 text-lg font-normal text-google-gray-500",children:"/year"})]})}),(0,m.jsx)(e1,{title:"Estimated value",tooltip:eF[l].valueMultiple,value:`${j.estimatedValueMultiple.toFixed(1)}\xd7`})]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(e1,{title:"Hours saved",tooltip:eF[l].hoursSaved,value:(0,m.jsxs)(m.Fragment,{children:[N>999?Number(N).toLocaleString():N,(0,m.jsx)("span",{className:"ml-5 text-lg font-normal text-google-gray-500",children:"/team/month"})]})}),(0,m.jsx)(e1,{title:(b.teamSize??1)>1?"Team savings":"User savings",tooltip:eF[l].teamSavings,value:(0,m.jsxs)(m.Fragment,{children:["$",Number(S).toLocaleString(),(0,m.jsx)("span",{className:"ml-5 text-lg font-normal text-google-gray-500",children:"/year"})]})}),(0,m.jsx)(e1,{title:"Sundial investment",tooltip:eF[l].sundialInvestment,value:(0,m.jsxs)(m.Fragment,{children:["$",Number(k).toLocaleString(),(0,m.jsx)("span",{className:"ml-5 text-lg font-normal text-google-gray-500",children:"/year"})]})})]}),(0,m.jsxs)("div",{className:"pt-4 space-y-4",children:[(0,m.jsx)(v.Button,{color:"dark",className:"w-48 sm:w-56",onClick:w,children:d?(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eE.CheckIcon,{className:"w-5 h-5","data-slot":"icon","aria-hidden":"true"}),"Link copied!"]}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(eO,{className:"w-5 h-5","data-slot":"icon","aria-hidden":"true"}),"Share business case"]})}),(0,m.jsx)(eC.Disclosure,{as:"div",children:({open:e})=>(0,m.jsxs)(m.Fragment,{children:[(0,m.jsxs)(eC.DisclosureButton,{className:"flex w-full cursor-pointer items-center gap-2 mt-4 py-2 text-left text-sm font-medium text-google-gray-700 hover:text-google-gray-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-google-gray-400 focus-visible:ring-offset-1 rounded",children:[e?(0,m.jsx)(eI,{className:"w-4 h-4 shrink-0 text-google-gray-500","aria-hidden":"true"}):(0,m.jsx)(eM,{className:"w-4 h-4 shrink-0 text-google-gray-500","aria-hidden":"true"}),"View calculations"]}),(0,m.jsx)(eC.DisclosurePanel,{className:"pt-2",children:(0,m.jsx)("dl",{className:"space-y-4 text-sm text-google-gray-600",children:$.map(({calculation:e,explanation:t,title:a})=>(0,m.jsx)(e2,{calculation:e,explanation:t,title:a},a))})})]})})]})]})})]}),a&&(0,m.jsx)(eP,{content:h,mode:l,options:p,overflowWarning:o,onPrint:T,onResetAssumptions:A,onUpdateContent:I,onUpdateOptions:M,children:(0,m.jsx)(eD,{adjustUrl:O,content:h,mode:l,options:p,pricePerSeat:y,roi:j,values:b,onOverflowChange:n})})]})})})},faqs:e4.Faqs,buttonFloating:({sections:e=[]})=>{let[t,a]=(0,x.useState)(!1);(0,x.useEffect)(()=>{let e=()=>{a(window.scrollY>1)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let l=e.filter(e=>e.title&&e.id);return(0,m.jsxs)("div",{className:`hidden lg:block fixed top-8 right-8 z-50 transition-opacity duration-300 ${t?"opacity-100":"opacity-0 pointer-events-none"}`,children:[(0,m.jsx)("a",{href:"https://calendly.com/ryland-trysundial/30min",target:"_blank",className:"text-sm font-medium leading-6 text-google-gray-700 bg-white border border-google-gray-400 mr-3 px-6 py-2.5 rounded-full sm:text-sm cursor-pointer w-48 hover:bg-google-gray-50",children:"Book Demo"}),(0,m.jsx)(E.default,{href:"/pricing#tiers",className:"text-sm font-medium leading-6 text-white bg-google-gray-900 hover:bg-google-gray-800 px-6 py-2.5 rounded-full sm:text-sm cursor-pointer w-48",children:"Buy Sundial Now"}),(0,m.jsxs)("div",{className:"mt-8 space-y-2",children:[l.map((e,t)=>(0,m.jsxs)("p",{children:["- ",(0,m.jsx)("a",{href:`#${e.id}`,className:"text-sm text-google-gray-600 hover:text-google-gray-900 sd-primary-link",children:e.title})]},t)),(0,m.jsxs)("p",{children:["- ",(0,m.jsx)("a",{href:"#",className:"text-sm text-google-gray-500 hover:text-google-gray-900",children:"Back to Top"})]})]})]})},sectionHeader:e6.SectionHeader,logos:y,supportCards:function({cards:e}){return e&&Array.isArray(e)?(0,m.jsx)("div",{className:"px-6 mx-auto lg:px-8 pb-12 bg-white",children:(0,m.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-6 max-w-7xl mx-auto",children:e.map(e=>{var t;let a=(t=e.icon,({SparklesIcon:e3.SparklesIcon,PlayCircleIcon:e7,ShieldCheckIcon:e8.ShieldCheckIcon,ReceiptPercentIcon:e9,CogIcon:tt,QuestionMarkCircleIcon:eA,CreditCardIcon:te.CreditCardIcon})[t]||e3.SparklesIcon);return(0,m.jsxs)("a",{href:e.href,className:"block border border-google-gray-200 rounded-lg p-6 shadow-sm hover:shadow-md hover:border-google-gray-300 transition",children:[(0,m.jsx)(a,{className:"h-8 w-8 text-google-gray-500 mb-4"}),(0,m.jsx)("h3",{className:"text-lg font-semibold text-google-gray-900 mb-2",children:e.title}),(0,m.jsx)("p",{className:"text-sm text-google-gray-600",children:e.subt
2itle})]},e.title)})})}):(console.warn("SupportCards: cards prop is required and must be an array"),null)},banner:ta.Banner,compareHero:({sundialLogo:e,vimcalLogo:t,subtitle:a,sundialDescription:l,sundialDescription2:s,vimcalDescription:r,vimcalDescription2:i})=>(0,m.jsx)("div",{className:"bg-white",children:(0,m.jsx)("div",{className:"pt-12 pb-12 sm:pt-20 sm:pb-14",children:(0,m.jsxs)("div",{className:"px-6 mx-auto max-w-5xl lg:px-8",children:[(0,m.jsx)("h1",{className:"text-2xl font-semibold  text-google-gray-900 sm:text-4xl text-center mb-8",children:"Sundial vs Vimcal EA"}),(0,m.jsxs)("div",{className:"flex items-center justify-center gap-6 sm:gap-10",children:[(0,m.jsx)(h.default,{src:e,alt:"Sundial",width:120,height:48,className:"h-12 w-auto object-contain sm:h-14"}),(0,m.jsx)("span",{className:"text-xl font-semibold text-google-gray-700 sm:text-2xl",children:"vs"}),(0,m.jsx)(h.default,{src:t,alt:"Vimcal EA",width:120,height:48,className:"h-9 w-auto object-contain sm:h-11"})]}),a&&(0,m.jsx)("p",{className:"text-center text-google-gray-600 text-base sm:text-lg mt-8 mb-8 max-w-2xl mx-auto",children:a}),(0,m.jsx)("div",{className:"mt-14 grid grid-cols-1 md:grid-cols-2 gap-8 md:gap-12",children:[{title:"Sundial",description:l,description2:s},{title:"Vimcal EA",description:r,description2:i}].map(e=>(0,m.jsx)(tl,{...e},e.title))})]})})}),comparisonMatrix:({title:e,subtitle:t,rows:a=[]})=>{let[l,s]=(0,x.useState)(null),r=(0,x.useRef)({}),i=tn(),{copied:o,handleCopy:n}=(0,L.useCopyEmailToClipboard)(),d=(0,x.useCallback)(()=>s(null),[]);(0,x.useEffect)(()=>{if(!i||!l)return;let e=e=>{let t=r.current[l];t&&!t.contains(e.target)&&d()};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[l,i,d]);let c=(e,t)=>{i&&(t.stopPropagation(),s(l===e?null:e))};return(0,m.jsx)("div",{className:"bg-white px-6 pt-12 pb-2 sm:pt-16 sm:pb-4 lg:px-8",children:(0,m.jsxs)("div",{className:"mx-auto max-w-4xl overflow-visible",children:[(e||t)&&(0,m.jsxs)("div",{className:"text-center mb-10",children:[e&&(0,m.jsx)("h2",{className:"text-2xl font-semibold  text-google-gray-900 sm:text-3xl",children:e}),t&&(0,m.jsx)("p",{className:"mt-4 text-google-gray-600 sm:text-lg max-w-3xl mx-auto",children:t})]}),(0,m.jsx)("div",{className:"rounded-lg overflow-visible",children:(0,m.jsxs)("table",{className:"w-full min-w-[280px] table-fixed overflow-visible",children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:"bg-google-gray-50",children:[(0,m.jsx)("th",{className:`${td} w-1/2 text-left`,children:"Feature"}),(0,m.jsx)("th",{className:`${td} w-1/4 text-center`,children:"Sundial"}),(0,m.jsx)("th",{className:`${td} w-1/4 text-center`,children:"Vimcal EA"})]})}),(0,m.jsxs)("tbody",{children:[a.map((e,t)=>(0,m.jsx)(to,{feature:e.feature,tooltip:e.tooltip||"",sundial:e.sundial,vimcalEa:e.vimcalEa,sundialText:e.sundialText,vimcalEaText:e.vimcalEaText,isTooltipActive:l===e.feature,isMobile:i,onTooltipClick:c,itemRef:t=>{t&&e.tooltip?.trim()&&(r.current[e.feature]=t)}},e.feature)),(0,m.jsx)("tr",{className:"bg-black",children:(0,m.jsx)("td",{colSpan:3,className:"py-4 sm:py-6 text-center",children:(0,m.jsx)(T.TalkToUsButton,{variant:"outlineOnDark",copied:o,onClick:n})})})]})]})})]})})},comparisonHub:({title:e,subtitle:t,sundialLogo:a,competitors:l=[],lastUpdated:s})=>{let[r,i]=(0,x.useState)("vimcal-ea"),o=tn(),n=l.find(e=>e.id===r)||l[0];return(0,x.useEffect)(()=>{let e=window.location.hash.slice(1);e&&l.some(t=>t.id===e)&&i(e)},[l]),(0,x.useEffect)(()=>{window.history.replaceState(null,"",`${window.location.pathname}#${r}`)},[r]),(0,m.jsx)("div",{className:"bg-white",children:(0,m.jsx)("div",{className:"px-6 py-12 sm:py-16 lg:px-8",children:(0,m.jsxs)("div",{className:"mx-auto max-w-6xl",children:[(e||t)&&(0,m.jsxs)("div",{className:"text-center mb-16",children:[e&&(0,m.jsx)("h1",{className:"text-2xl font-semibold  text-google-gray-900 sm:text-4xl",children:e}),t&&(0,m.jsx)("p",{className:"mt-4 text-google-gray-600 sm:text-lg max-w-4xl mx-auto",children:t})]}),(0,m.jsxs)("div",{className:"flex flex-col lg:flex-row gap-8 lg:gap-12",children:[(0,m.jsx)("aside",{className:"hidden lg:block w-48 shrink-0",children:(0,m.jsx)("nav",{className:"sticky top-24 space-y-0",children:l.map(e=>(0,m.jsxs)("button",{onClick:()=>i(e.id),className:`flex items-center gap-2 w-full text-left py-3 px-4 text-sm font-medium rounded-r-md border-l-2 -ml-px transition-colors cursor-pointer ${r===e.id?"border-google-gray-900 text-google-gray-900 bg-google-gray-50":"border-transparent text-google-gray-600 hover:text-google-gray-900 hover:bg-google-gray-50"}`,children:[(0,m.jsx)(th,{competitor:e}),e.name]},e.id))})}),(0,m.jsxs)("div",{className:"flex-1 min-w-0",children:[n?.intro&&(0,m.jsxs)("div",{className:"mb-10",children:[(0,m.jsx)("h2",{className:"text-lg font-semibold text-google-gray-900",children:n.intro.heading}),(0,m.jsx)("p",{className:"mt-4 text-google-gray-600 leading-6",children:n.intro.body})]}),(0,m.jsx)("div",{className:"rounded-xl border border-google-gray-200 overflow-hidden",children:(0,m.jsxs)("table",{className:"w-full min-w-[280px] table-fixed",children:[(0,m.jsx)("thead",{children:(0,m.jsxs)("tr",{className:"bg-google-gray-50",children:[(0,m.jsx)("th",{className:`${tu} w-1/2 text-center`,children:(0,m.jsx)("div",{className:"flex items-center justify-center gap-2",children:(0,m.jsx)(h.default,{src:a,alt:"Sundial",width:100,height:40,className:"h-8 w-auto object-contain"})})}),(0,m.jsx)("th",{className:`${tu} w-1/2 text-center`,children:(0,m.jsx)("div",{className:"flex items-center justify-center",children:o?(0,m.jsxs)(tm.Menu,{as:"div",className:"relative inline-flex",children:[(0,m.jsxs)(tm.MenuButton,{className:"inline-flex items-center justify-center gap-2 cursor-pointer",children:[(0,m.jsx)(tp,{competitor:n}),(0,m.jsx)(tc.ChevronDownIcon,{className:"w-5 h-5 text-google-gray-500 shrink-0"})]}),(0,m.jsx)(tm.MenuItems,{anchor:"bottom start",className:"mt-2 min-w-[200px] max-h-60 overflow-y-auto bg-white rounded-lg shadow-lg ring-1 ring-google-gray-200 z-20",children:l.map(e=>(0,m.jsx)(tm.MenuItem,{children:(0,m.jsxs)("button",{onClick:()=>i(e.id),className:"flex items-center gap-2 w-full text-left px-4 py-2.5 text-sm text-google-gray-900 hover:bg-google-gray-100 data-focus:bg-google-gray-100 cursor-pointer",children:[(0,m.jsx)(th,{competitor:e}),e.name]})},e.id))})]}):(0,m.jsx)(tp,{competitor:n})})})]})}),(0,m.jsxs)("tbody",{children:[n?.rows?.map(e=>{let t=e.tooltip?.trim();return(0,m.jsxs)("tr",{className:`border-b border-google-gray-200 last:border-b-0 hover:bg-google-gray-100 transition-colors ${t?"group relative cursor-default":""}`,children:[(0,m.jsxs)("td",{className:"py-4 pl-6 pr-4 text-sm text-google-gray-600 align-top relative",children:[e.sundialText,t&&(0,m.jsx)("span",{className:"pointer-events-none absolute z-20 bottom-full left-0 mb-2 hidden min-w-64 max-w-sm rounded-md bg-google-gray-900/95 px-3 py-2 text-left text-xs text-google-gray-100 shadow-lg shadow-lg backdrop-blur-sm group-hover:block",children:e.tooltip})]}),(0,m.jsx)("td",{className:"py-4 px-4 text-sm text-google-gray-600 align-top",children:e.competitorText})]},e.feature)}),n?.comparisonPageUrl&&(0,m.jsx)("tr",{className:"border-t border-google-gray-200 bg-google-gray-50",children:(0,m.jsx)("td",{colSpan:2,className:"py-2 sm:py-3 px-4 text-center",children:(0,m.jsx)(E.default,{href:n.comparisonPageUrl,className:"inline-flex items-center justify-center rounded-md bg-google-gray-900 px-4 py-2.5 text-sm font-medium text-white hover:bg-google-gray-800 transition-colors",children:"Review detailed comparison"})})})]})]})}),s&&(0,m.jsxs)("p",{className:"mt-4 text-xs text-google-gray-500",children:["Last updated: ",(0,tg.format)(new Date(s),"MMMM d, yyyy")]})]})]})]})})})},enterpriseOverview:()=>(0,m.jsx)("main",{className:"bg-white",children:(0,m.jsxs)("div",{className:"mx-auto max-w-6xl px-6 lg:px-8",children:[(0,m.jsxs)("header",{className:"py-8 sm:py-16",children:[(0,m.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.2em] text-google-gray-500",children:"Sundial Enterprise"}),(0,m.jsx)("h1",{className:"mt-4 max-w-4xl text-4xl font-semibold tracking-[-0.04em] text-google-gray-900 sm:text-6xl",children:"Technical Overview"}),(0,m.jsx)("p",{className:"mt-6 max-w-3xl text-lg leading-8 text-google-gray-600 sm:text-xl",children:"How Sundial is deployed and configured across an organization"}),(0,m.jsxs)("nav",{"aria-label":"On this page",className:"mt-8 flex flex-wrap items-center gap-x-2 gap-y-2 border-y border-google-gray-200 py-3 lg:flex-nowrap",children:[(0,m.jsx)("span",{className:"mr-2 shrink-0 text-xs font-semibold uppercase tracking-widest text-google-gray-500",children:"On this page"}),tS.map((e,t)=>(0,m.jsxs)("span",{className:"flex shrink-0 items-center gap-2 text-[13px]",children:[(0,m.jsx)("a",{className:"whitespace-nowrap font-medium text-google-gray-800 hover:text-google-gray-900",href:e.href,children:e.label}),t<tS.length-1&&(0,m.jsx)("span",{"aria-hidden":"true",className:"text-google-gray-400",children:"·"})]},e.href))]})]}),(0,m.jsx)(tP,{description:(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)("span",{className:"block",children:"Sundial Enterprise supports two seat types in one organization."}),(0,m.jsxs)("span",{className:"mt-3 block",children:[(0,m.jsx)("strong",{className:"font-semibold text-google-gray-900",children:"Org Wide"})," — Deployed across the workforce with no employee setup or sign-in required."]}),(0,m.jsxs)("span",{className:"mt-3 block",children:[(0,m.jsx)("strong",{className:"font-semibold text-google-gray-900",children:"Scheduler"})," — Advanced scheduling functionality for designated users, with SSO and required Google permissions."]}),(0,m.jsx)("span",{className:"mt-3 block",children:"Both run through one centrally managed Sundial Chrome extension."})]}),eyebrow:"1 · Architecture at a glance",id:"architecture",title:"Two seat types. One extension.",children:(0,m.jsxs)("figure",{className:"rounded-4xl border border-google-gray-200 bg-google-gray-50 p-5 sm:p-8 lg:p-10",children:[(0,m.jsx)("figcaption",{className:"sr-only",children:"Google Admin centrally deploys one Sundial Chrome extension into Google Calendar. The same extension provides the Org Wide and Scheduler experiences."}),(0,m.jsx)("div",{className:"flex flex-col items-center gap-3 sm:flex-row",children:tN.map((e,t)=>(0,m.jsxs)("div",{className:"contents",children:[(0,m.jsx)(tG,{...e}),t<tN.length-1&&(0,m.jsx)(tF,{})]},e.title))}),(0,m.jsx)(tH,{}),(0,m.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[(0,m.jsx)(tV,{audience:"For every employee",items:tk,title:"Org Wide",variant:"org"}),(0,m.jsx)(tV,{audience:"For designated scheduling users",items:tC,title:"Scheduler",variant:"scheduler"})]})]})}),(0,m.jsx)(tP,{eyebrow:"2 · IT deployment",id:"deployment",title:"Deploy once with managed Chrome",children:(0,m.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[0.47fr_1fr] lg:gap-10",children:[(0,m.jsx)(tD,{items:tO}),(0,m.jsx)("div",{className:"rounded-3xl bg-google-gray-50 p-4 sm:p-5",children:(0,m.jsx)(tq,{})})]})}),(0,m.jsx)(tP,{description:"IT sets default World Clocks through managed Chrome. Employees receive them automatically in Google Calendar.",eyebrow:"3 · Central configuration",id:"configuration",title:"Configure once. Employees start with the right timezones.",children:(0,m.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[0.85fr_1fr] lg:gap-10",children:[(0,m.jsx)(tD,{items:["Set company-wide default World Clocks","Assign different defaults to Organizational Units (OUs) or groups","Employees receive the assigned defaults automatically"]}),(0,m.jsxs)("div",{className:"rounded-3xl border border-google-gray-200 bg-google-gray-50 p-5 sm:p-6",children:[(0,m.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-google-gray-500",children:"Managed timezone defaults"}),(0,m.jsxs)("div",{className:"mt-5 grid items-center gap-3 sm:grid-cols-[1fr_auto_1fr]",children:[(0,m.jsx)(t_,{...tE[0]}),(0,m.jsx)(tb,{"aria-hidden":"true",className:"justify-self-center h-4 w-4 rotate-90 text-google-gray-400 sm:rotate-0"}),(0,m.jsx)(t_,{...tE[1]})]})]})]})}),(0,m.jsxs)(tP,{eyebrow:"4 · Employee experience",id:"experience",title:"Employees open Google Calendar. It works.",children:[(0,m.jsx)("div",{className:"rounded-3xl bg-google-gray-900 px-6 py-7 text-white sm:px-8",children:(0,m.jsxs)("div",{className:"flex flex-col items-center justify-center gap-3 text-center sm:flex-row sm:gap-5",children:[(0,m.jsx)("span",{className:"text-sm font-semibold sm:text-base",children:"IT deploys Sundial"}),(0,m.jsx)(tb,{"aria-hidden":"true",className:"h-5 w-5 rotate-90 text-google-gray-400 sm:rotate-0"}),(0,m.jsx)("span",{className:"text-sm font-semibold sm:text-base",children:"Employee opens Google Calendar"}),(0,m.jsx)(tb,{"aria-hidden":"true",className:"h-5 w-5 rotate-90 text-google-gray-400 sm:rotate-0"}),(0,m.jsx)("span",{className:"rounded-full bg-white px-4 py-2 text-sm font-semibold text-google-gray-900",children:"Sundial is ready"})]})}),(0,m.jsx)("div",{className:"mt-6 grid gap-5 lg:grid-cols-2",children:tM.map(e=>(0,m.jsx)(tJ,{...e},e.title))})]}),(0,m.jsxs)(tP,{description:"Org Wide requires no employee authentication or Google authorization. Scheduler adds SSO and Google permissions for advanced functionality.",eyebrow:"5 · Authentication & permissions",id:"permissions",title:"Access is added one layer at a time",children:[(0,m.jsx)("div",{className:"space-y-3",children:tA.map(e=>(0,m.jsx)(tX,{...e},e.label))}),(0,m.jsx)("p",{className:"mt-7 rounded-3xl bg-google-gray-50 p-6 text-base leading-7 text-google-gray-700 sm:p-7",children:"Org Wide operates without Google authorization. Scheduler users authorize the Google permissions required for scheduling functionality at first login. Google Drive access is limited to files Sundial creates and is requested separately only when a user exports a Calendar Audit to a new Google Sheet. Sundial cannot access other files in the user’s Drive."})]}),(0,m.jsxs)(tP,{description:"Both seat types coexist within the same organization through the same centrally managed extension.",eyebrow:"6 · Seat types",id:"seat-types",title:"Org Wide vs. Scheduler",children:[(0,m.jsx)("div",{className:"overflow-hidden rounded-3xl border border-google-gray-200",children:(0,m.jsx)("div",{className:"overflow-x-auto",children:(0,m.jsxs)("table",{className:"min-w-170 w-full border-collapse text-left",children:[(0,m.jsx)("thead",{className:"bg-google-gray-50",children:(0,m.jsxs)("tr",{children:[(0,m.jsx)("th",{className:"px-5 py-3.5 text-xs font-semibold uppercase tracking-[0.12em] text-google-gray-500 sm:px-6",children:"Capability"}),(0,m.jsx)("th",{className:"w-1/4 px-5 py-3.5 text-xs font-semibold uppercase tracking-[0.12em] text-google-gray-500 sm:px-6",children:"Org Wide"}),(0,m.jsx)("th",{className:"w-1/4 px-5 py-3.5 text-xs font-semibold uppercase tracking-[0.12em] text-google-gray-500 sm:px-6",children:"Scheduler"})]})}),tT.map(e=>(0,m.jsxs)("tbody",{className:"divide-y divide-google-gray-200 bg-white",children:[(0,m.jsx)("tr",{className:"border-t border-google-gray-200 bg-google-gray-50",children:(0,m.jsx)("th",{className:"px-5 py-2 text-left text-xs font-semibold uppercase tracking-[0.12em] text-google-gray-500 sm:px-6",colSpan:"3",children:e.label})}),e.rows.map(e=>(0,m.jsxs)("tr",{children:[(0,m.jsx)("th",{className:"px-5 py-3.5 text-sm font-medium text-google-gray-800 sm:px-6",scope:"row",children:e.feature}),(0,m.jsx)("td",{className:"px-5 py-3.5 text-sm text-google-gray-600 sm:px-6",children:(0,m.jsx)(tQ,{value:e.orgWide})}),(0,m.jsx)("td",{className:"px-5 py-3.5 text-sm text-google-gray-600 sm:px-6",children:(0,m.jsx)(tQ,{value:e.scheduler})})]},e.feature))]},e.label))]})})}),(0,m.jsx)("p",{className:"mt-3 rounded-3xl bg-google-gray-50 p-6 text-base leading-7 text-google-gray-700 sm:p-7",children:"Google access: Scheduler uses Google Calendar API permissions for scheduling features. Google Drive permission is requested separately only when a user exports a Calendar Audit to Google Sheets."})]}),(0,m.jsxs)(tP,{eyebrow:"7 · Administration & rollout",id:"rollout",title:"Start small. Expand when ready.",children:[(0,m.jsx)("ol",{className:"grid gap-4 sm
2:grid-cols-2 lg:grid-cols-5",children:t$.map((e,t)=>(0,m.jsxs)("li",{className:"relative rounded-2xl border border-google-gray-200 p-4",children:[(0,m.jsx)("span",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-google-gray-900 text-xs font-semibold text-white",children:t+1}),(0,m.jsx)("h3",{className:"mt-3 text-base font-semibold text-google-gray-900",children:e.title}),(0,m.jsx)("p",{className:"mt-1 text-sm leading-6 text-google-gray-600",children:e.description}),t<t$.length-1&&(0,m.jsx)(tb,{"aria-hidden":"true",className:"absolute left-full top-1/2 z-10 hidden h-4 w-4 -translate-y-1/2 text-google-gray-400 lg:block"})]},e.title))}),(0,m.jsx)("div",{className:"mt-7 rounded-3xl bg-google-gray-50 p-6 sm:p-7",children:(0,m.jsx)("p",{className:"text-base leading-7 text-google-gray-700",children:"IT retains central control after deployment, including the ability to update configuration, disable Sundial without uninstalling the extension, or remove the extension assignment entirely."})})]}),(0,m.jsx)(tP,{eyebrow:"8 · Usage, identity & licensing",id:"licensing",title:"Measure adoption with limited data",children:(0,m.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[1fr_1.1fr] lg:gap-12",children:[(0,m.jsxs)("div",{children:[(0,m.jsx)("p",{className:"text-base leading-7 text-google-gray-600",children:"Sundial collects limited identity and product-usage data to support licensing, adoption reporting, troubleshooting, and customer support."}),(0,m.jsx)("div",{className:"mt-6",children:(0,m.jsx)(tD,{items:["Work email and first name are read from the Google Calendar DOM .","Product usage measures adoption of World Clock, Calendar Timezones, and Share Times.","Org Wide requires no Google OAuth to collect this information or provide the employee experience."]})})]}),(0,m.jsxs)("div",{className:"rounded-3xl border border-google-gray-200 bg-google-gray-50 p-6 sm:p-7",children:[(0,m.jsx)("p",{className:"text-xs font-semibold uppercase tracking-[0.16em] text-google-gray-500",children:"Example adoption reporting"}),(0,m.jsx)("dl",{className:"mt-6 grid grid-cols-2 gap-x-6 gap-y-7",children:tL.map(e=>(0,m.jsxs)("div",{className:"flex flex-col",children:[(0,m.jsx)("dt",{className:"order-2 mt-1 text-xs leading-5 text-google-gray-500",children:e.label}),(0,m.jsx)("dd",{className:"order-1 text-2xl font-semibold tracking-[-0.03em] text-google-gray-900 sm:text-3xl",children:e.value})]},e.label))})]})]})}),(0,m.jsx)(tP,{eyebrow:"9 · Security review",id:"security",title:"Built for enterprise security review",children:(0,m.jsxs)("div",{className:"rounded-4xl border border-google-gray-200 bg-google-gray-50 p-6 sm:p-9",children:[(0,m.jsx)("p",{className:"max-w-4xl text-base leading-7 text-google-gray-700",children:"This document covers Sundial’s technical implementation and deployment model. For Chrome permissions, Google OAuth scopes, data processing and retention, encryption, subprocessors, penetration testing, privacy, business continuity, and supporting security documentation, see the Sundial Enterprise Security Review."}),(0,m.jsxs)(E.default,{className:"mt-8 inline-flex items-center gap-2 text-sm font-semibold text-google-gray-900 underline decoration-google-gray-300 underline-offset-4 hover:decoration-google-gray-900",href:"/security?access=true",children:["Sundial Enterprise Security Review",(0,m.jsx)(tb,{"aria-hidden":"true",className:"h-4 w-4"})]}),(0,m.jsx)("ul",{className:"mt-8 flex flex-wrap gap-2",role:"list",children:tR.map(e=>(0,m.jsx)("li",{className:"rounded-full border border-google-gray-300 bg-white px-3 py-1.5 text-xs font-medium text-google-gray-700",children:e},e))})]})})]})})};e.s(["__N_SSG",0,!0,"default",0,function({page:e,title:t,description:a,image:l,slug:s,company:r,sections:i}){let{body:o}=e,n=(0,z.useRouter)(),d=(0,x.useRef)(!1),[c,h]=(0,x.useState)(null);(0,x.useEffect)(()=>{if("/uninstall"===s&&!d.current){let{email:e,chromeId:t,docId:a}=n.query;(e&&t||a)&&(fetch("/api/track-uninstall",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,chromeId:t,docId:a})}),d.current=!0,n.replace(window.location.pathname))}},[n.query,s,n]),(0,x.useEffect)(()=>
2{if("/support/demos"!==s||!n.isReady)return;let e=n.query["sd-walkthrough"],t=Array.isArray(e)?e[0]:e,a=n.query["sd-tutorial"],l=Array.isArray(a)?a[0]:a,r=(0,t2.isValidSdWalkthrough)(t),i=(0,t2.isValidSdTutorial)(l);if(!r&&!i)return;function o(){sessionStorage.removeItem("scrollPosition");let e=r?(0,t2.getOnboardingQuestionForWalkthrough)(t):(0,t2.getOnboardingQuestionForTutorial)(l);e&&h(e)}if(window.matchMedia(t2.DEMOS_MOBILE_MEDIA_QUERY).matches)return void o();let d=(0,W.getClientAuth)();d.authStateReady().then(()=>{if(d.currentUser){let e=r?(0,t2.getCalendarUrlWithWalkthrough)(t):(0,t2.getCalendarUrlWithTutorial)(l);window.location.replace(e)}else o()})},[s,n.isReady,n.query]),(0,x.useEffect)(()=>{let e=sessionStorage.getItem("scrollPosition");e&&window.scrollTo(0,parseInt(e,10));let t=()=>{sessionStorage.setItem("scrollPosition",window.scrollY)};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}},[]);let p=["7-shifts","10to8","acuity","appointlet","appointly","appointy","book-like-a-boss","bookafy","boomerang","calcom","calendarcom","calendarhero","calendesk","calendly","callpage","chili-piper","clara","clockwise","cronofy","doodle","dotcal","drift","engageware","fantastical","fillout-scheduling","float-scheduling","free-meeting-scheduler-for-written-scheduling","front-scheduling","gmail-scheduling","goodtime-scheduling","google-calendar-appointments","harmonizely","hotschedules","hubspot-scheduling","jotform-scheduling","koalendar","microsoft-bookings","mixmax-scheduler","morgen","motion-ai-calendar","neetoCal","notta-scheduler","oncehub","picktime","propulse","reclaim","savvy-cal","schedulecc","setmore","sidekick","simplybookme","simplymeet","sprintful","square-appointments","tidycal","timetap","timezone-scheduler-for-written-scheduling","trafft","vcita","vocus-calendar","when2meet","wotnot","youcanbookme","zcal","zeeg","zencal","zoho-bookings","zoom-scheduler","zoomshift"];s.startsWith("/alternative-to/")&&p.includes(s.split("/")[2])&&(t=`Sundial as an alternative to ${r}`,a="Save time scheduling multi-timezone meetings — right from your Google Calendar.",l="../images/sundial-hero-social-share.png");let f=["/","/sales","/recruiters","/ea",...p.map(e=>`/alternative-to/${e}`)].includes(s),y={"/ea":"Timezones automatically convert to wherever you hover on your calendar. See all your coworker’s timezone wherever they appear.","/recruiters":"Timezones automatically convert to wherever you hover on your calendar. See each interviewer's timezone wherever they appear.","/sales":"Timezones automatically convert to wherever you hover on your calendar. See each customer's timezone wherever they appear."},b={"/ea":"Select time blocks and turn them into copyable availability for your exec – no more timezone mistakes. Choose how you write dates and times, and Sundial matches you exactly. Any language.","/recruiters":"Select time blocks and turn them into copyable interview times in any timezone – no more timezone mistakes. Choose how you write dates and times, and Sundial matches you exactly. Any language.","/sales":"Select time blocks and turn them into copyable availability in any timezone – no more timezone mistakes with customers. Choose how you write dates and times, and Sundial matches you exactly. Any language."},v={"/ea":"Create multiple holds at once. Find just one hold, and Sundial finds the rest so you can review and delete them together.","/recruiters":"Create multiple holds at once. Find just one hold, and Sundial finds the rest so you can review and delete them together.","/sales":"Create multiple holds at once. Find just one hold, and Sundial finds the rest so you can review and delete them together."},w={"/ea":"Paste a message or upload a screenshot. Sundial turns the times into visual overlays, showing you exactly where they are on your calendar.","/recruiters":"Paste a message or upload a screenshot. Sundial turns the times into visual overlays, showing you exactly where they are on your calendar.","/sales":"Paste a message or upload a screenshot. Sundial turns the times into visual overlays, showing you exactly where they are on your calendar."}
2,j={"/ea":"Save the people you schedule with regularly. One click opens Google Calendar with everyone already there, ready to schedule.","/recruiters":"Save the people you schedule with regularly. One click opens Google Calendar with everyone already there, ready to schedule.","/sales":"Save the people you schedule with regularly. One click opens Google Calendar with everyone already there, ready to schedule."},N={"/ea":"Sundial checks your exec's calendar around the clock for missing video links, rooms, and locations, then flags issues right in Google Calendar.","/recruiters":"Sundial checks upcoming interviews around the clock for missing video links, rooms, and locations, then flags issues right in Google Calendar.","/sales":"Sundial checks customer meetings around the clock for missing video links, rooms, and locations, then flags issues right in Google Calendar."},S={"/ea":"Share options, assign responders (like you for your exec), and collect everyone’s availability. Anyone can vote — no Sundial or Google Calendar required.","/recruiters":"Share interview options, assign responders, and collect everyone’s availability. Anyone can vote — no Sundial or Google Calendar required.","/sales":"Share options, assign responders, and collect everyone’s availability. Anyone can vote — no Sundial or Google Calendar required."},k=(f?tK:[]).map(e=>{let t=e.subtitle;return"timezones-on-calendar"===e.id&&y[s]?t=y[s]:"share-availability"===e.id&&b[s]?t=b[s]:"overlay-meeting-requests"===e.id&&w[s]?t=w[s]:"create-holds"===e.id&&v[s]?t=v[s]:"workspaces"===e.id&&j[s]?t=j[s]:"audit"===e.id&&N[s]?t=N[s]:"polls"===e.id&&S[s]&&(t=S[s]),{...e,subtitle:t,imageDesktop:(0,t1.adjustImagePath)(s,e.imageDesktop),imageMobile:(0,t1.adjustImagePath)(s,e.imageMobile)}}),C=["/sign-up","/log-in","/sso","/dashboard"].includes(s),E=["/sign-up","/log-in","/roi","/enterprise","/pricing","/security","/blog/hubspot","/resource-center","/dashboard","/support/demos","/support/security","/support/pricing","/support/admin","/support/billing"].includes(s);return"page"===e.type&&o?(0,m.jsx)(ty.MarkdownPage,{title:t,description:a,image:l,body:o}):(0,m.jsxs)(m.Fragment,{children:[(0,m.jsx)(g.Meta,{title:t,description:a,image:l}),(0,m.jsxs)("div",{children:[!C&&(0,m.jsx)(u.Header,{}),i?.map((e,t)=>{let a=t5[e.type];if(!a)return console.warn(`Unknown section type "${e.type}" on page ${s}`),null;let l="/support/demos"===s&&"faqs"===e.type&&"Onboarding"===e.title,r=l?`onboarding-faqs-${c??"default"}`:`section-${t}`;return(0,m.jsx)("div",{children:(0,m.jsx)(a,{...e,...l?{defaultOpenQuestion:c}:{}})},r)}),k.map((e,t)=>{let a="featureImgRight"===e.type?M:A;return(0,m.jsx)("div",{children:(0,m.jsx)(a,{...e})},`feature-${t}`)}),(0,m.jsx)("div",{children:!E&&(0,m.jsx)(R,{...t0})}),!C&&(0,m.jsx)(D.Footer,{})]})]})}],76535)},59734,(e,t,a)=>{let l="/[[...slug]]";(window.__NEXT_P=window.__NEXT_P||[]).push([l,()=>e.r(76535)]),t.hot&&t.hot.dispose(function(){window.__NEXT_P.push([l])})}]);

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.