PageSourceSearch

https://posthog.com/48b12ad7f6b1bb5a206f767c6392088fafea6f02-c8def7403b8dc63b910b.js

js posthog.com collected 2026-09-24 07:58:19 UTC 24,243 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkposthog_com=self.webpackChunkposthog_com||[]).push([[121],{25257:function(e,t,r){r.d(t,{A:function(){return h}});var n=r(30758),s=r(59828),i=r(5356),l=r(8275),a=r(66014),o=r(6722),d=r(75517),c=r.n(d),u=r(86070);const m=e=>{let{slide:t,index:r,isActive:d,slideId:m,onClick:h}=e;const{siteSettings:v}=(0,l.nm)(),{appWindow:x}=(0,i.ox)(),f=(0,n.useContext)(o.V),{0:b,1:p}=(0,n.useState)(!1),{0:g,1:w}=(0,n.useState)(!1),y=(0,n.useRef)(null),{0:j,1:N}=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(d&&b&&y.current){var e;const t=null===(e=y.current)||void 0===e?void 0:e.closest("[data-radix-scroll-area-viewport]");if(!t)return;t.scrollTo({left:y.current.offsetLeft-16,behavior:"smooth"})}},[d]),(0,n.useEffect)(()=>{const e=()=>{const e=(0,a.N)(v,x);p(e)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[x,v]),(0,n.useEffect)(()=>{const e=()=>{if(f.isPresenting&&f.isPortrait)w(!0);else{if(!f.isPresenting){var e;const t=null==x||null===(e=x.size)||void 0===e?void 0:e.width;return void w(!!t&&t<896)}w(!1)}};e();const t=()=>{e()};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[f,x,v]),(0,n.useEffect)(()=>{var e,n,s,i,l;const a=null==x||null===(e=x.element)||void 0===e||null===(n=e.props)||void 0===n||null===(s=n.location)||void 0===s||null===(i=s.hash)||void 0===i?void 0:i.slice(1);if(!j&&a&&c()(null==t||null===(l=t.name)||void 0===l?void 0:l.toLowerCase(),{lower:!0})===c()(null==a?void 0:a.toLowerCase(),{lower:!0})){const e=m?'[data-slide-id="'+m+'"][data-slide="'+r+'"]':'[data-slide="'+r+'"]',t=document.querySelector(e);null==t||t.scrollIntoView({behavior:"smooth",block:"start"}),N(!0)}},[t,x]),(0,u.jsxs)("div",{ref:y,"data-scheme":"primary",className:"group cursor-pointer",onClick:()=>{const e=m?'[data-slide-id="'+m+'"][data-slide="'+r+'"]':'[data-slide="'+r+'"]',t=document.querySelector(e);null==t||t.scrollIntoView({behavior:"smooth",block:"start"}),null==h||h()},children:[(0,u.jsxs)("div",{className:(g?"aspect-[9/16]":"aspect-video")+" bg-primary border rounded overflow-hidden relative "+(d?"border-blue outline outline-blue":"border-primary group-hover:border-primary"),children:[(0,u.jsx)(s.A,{mode:"thumbnail",baseWidth:g?720:1280,baseHeight:g?1280:720,children:t.rawContent}),(0,u.jsx)("div",{className:"absolute inset-0 z-10"})]}),(0,u.jsx)("div",{className:"text-xs text-secondary mt-1 text-center "+(d?"font-bold":"font-medium"),children:t.name})]})};function h(e){let{slides:t,activeSlideIndex:r,slideId:s,onClick:a}=e;const{siteSettings:d}=(0,l.nm)(),{appWindow:c}=(0,i.ox)(),h=(0,n.useContext)(o.V),{0:v,1:x}=(0,n.useState)(!1);return(0,n.useEffect)(()=>{const e=()=>{if(h.isPresenting&&h.isPortrait)x(!0);else{if(!h.isPresenting){var e;const t=null==c||null===(e=c.size)||void 0===e?void 0:e.width;return void x(!!t&&t<672)}x(!1)}};e();const t=()=>{e()};return window.addEventListener("resize",t),()=>window.removeEventListener("resize",t)},[h,c,d]),(0,u.jsxs)("div",{className:"space-y-3 p-1",children:[(0,u.jsx)("h3",{className:"text-sm text-center font-semibold text-secondary mb-3 @2xl:block hidden",children:"Slides"}
1),(0,u.jsx)("div",{className:"flex @2xl:grid gap-2",children:t.map((e,t)=>(0,u.jsx)("div",{className:"flex-shrink-0 @2xl:w-full "+(v?"w-32":"w-48"),children:(0,u.jsx)(m,{slide:e,index:t,isActive:t===r,slideId:s,onClick:a},t)},t))})]})}},37962:function(e,t,r){var n=r(30758),s=r(6722),i=r(86070);t.A=e=>{let{mobileContent:t,desktopContent:r,className:l=""}=e;const a=(0,n.useContext)(s.V);if(a.isPresenting){const e=a.isPortrait;return(0,i.jsx)("div",{className:l,children:e?(0,i.jsx)("div",{className:"bg-primary aspect-[9/16] relative rounded-md shadow-lg overflow-hidden",children:t}):(0,i.jsx)("div",{className:"bg-primary aspect-video relative rounded-md shadow-lg overflow-hidden",children:r})})}return(0,i.jsxs)("div",{className:l,children:[(0,i.jsx)("div",{className:"@2xl:hidden bg-primary aspect-[9/16] relative rounded-md shadow-lg overflow-hidden",children:t}),(0,i.jsx)("div",{className:"hidden @2xl:block bg-primary aspect-video relative rounded-md shadow-lg overflow-hidden",children:r})]})}},59828:function(e,t,r){var n=r(30758),s=r(86070);t.A=e=>
1{let{children:t,baseWidth:r=1280,baseHeight:i=720,className:l="",mode:a="editor"}=e;const o=(0,n.useRef)(null),d=(0,n.useRef)(null),{0:c,1:u}=(0,n.useState)(1),{0:m,1:h}=(0,n.useState)(!1),v=(0,n.useRef)(0),x=(0,n.useRef)({width:0,height:0}),f=(0,n.useRef)(0),b=(0,n.useCallback)(()=>{if(!o.current)return;const e=o.current.getBoundingClientRect();if(0===e.width||0===e.height){const e="thumbnail"===a?25:15;if(v.current<e){v.current++;const e="thumbnail"===a?Math.min(30*Math.pow(1.3,v.current),1e3):Math.min(50*Math.pow(1.5,v.current),2e3);setTimeout(b,e)}return}if(e.width<50||e.height<30)return void(v.current<8&&(v.current++,setTimeout(b,500)));const t={width:e.width,height:e.height},n=x.current;if(!(Math.abs(t.width-n.width)<1&&Math.abs(t.height-n.height)<1))return f.current=0,x.current=t,void(v.current<10&&(v.current++,requestAnimationFrame(()=>{setTimeout(b,50)})));if(f.current++,f.current<2)return void requestAnimationFrame(b);const s=e.width/r,l=e.height/i;let d=Math.min(s,l);if("thumbnail"===a){d=Math.max(d,.05),d=Math.min(d,.5)}else d=Math.max(d,.1),d=Math.min(d,2);v.current=0,f.current=0,u(d),h(!0)},[r,i,a]);return(0,n.useEffect)(()=>{b();const e=new ResizeObserver(e=>{f.current=0,v.current=0,"thumbnail"===a?(setTimeout(b,0),setTimeout(b,50),setTimeout(b,200)):setTimeout(b,10)});o.current&&e.observe(o.current);const t=()=>{f.current=0,v.current=0,b()};return window.addEventListener("resize",t),"thumbnail"===a&&(setTimeout(b,0),setTimeout(b,100),setTimeout(b,250),setTimeout(b,500)),()=>{e.disconnect(),window.removeEventListener("resize",t)}},[b,a,t]),m?(0,s.jsx)("div",{ref:o,className:"relative w-full h-full overflow-hidden rounded "+l,children:(0,s.jsx)("div",{ref:d,"data-scheme":"primary",className:"absolute top-1/2 left-1/2 origin-center shadow-2xl border-primary bg-primary rounded overflow-hidden",style:{width:r,height:i,transform:"translate(-50%, -50%) scale("+c+")"},children:t})}):(0,s.jsx)("div",{ref:o,className:"relative w-full h-full overflow-hidden "+l,children:(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.jsx)("div",{className:"w-4 h-4 border-2 border-primary border-t-transparent rounded-full animate-spin"})})})}},66014:function(e,t,r){r.d(t,{A:function(){return S},N:function(){return j}});var n=r(30758),s=r(1350),i=r(14038),l=r(2362),a=r(8143),o=r(49271),d=r(59828),c=r(6722),u=r(86070);var m=e=>{let{slides:t,onExit:r,initialSlideIndex:s=0}=e;const{0:i,1:l}=(0,n.useState)(s),{0:m,1:h}=(0,n.useState)(!0),{0:v,1:x}=(0,n.useState)(!1),f=(0,n.useRef)(null),b=(0,n.useCallback)(()=>{l(e=>(e+1)%t.length)},[t.length]),p=(0,n.useCallback)(()=>{l(e=>(e-1+t.length)%t.length)},[t.length]),g=(0,n.useCallback)(()=>{h(!0),f.current&&clearTimeout(f.current),f.current=setTimeout(()=>{h(!1)},3e3)},[]),w=(0,n.useCallback)(()=>{"undefined"!=typeof window&&x(window.innerHeight>window.innerWidth)},[]),y={aspectRatio:v?"aspect-[9/16]":"aspect-video",baseWidth:v?720:1280,baseHeight:v?1280:720,thumbnailWidth:v?"w-12":"w-20",thumbnailHeight:v?"h-20":"h-12",thumbnailAspectRatio:v?"aspect-[9/16]":"aspect-video"};(0,n.useEffect)(()=>{const e=e=>{switch(e.key){case"ArrowRight":case"ArrowDown":case" ":e.preventDefault(),b();break;case"ArrowLeft":case"ArrowUp":e.preventDefault(),p();break;case"Escape":e.preventDefault(),r();break;case"Home":e.preventDefault(),l(0);break;case"End":e.preventDefault(),l(t.length-1)}};w(),document.addEventListener("keydown",e),document.addEventListener("mousemove",g),window.addEventListener("resize",w);const n=setTimeout(()=>{h(!1)},3e3);return document.body.style.overflow="hidden",()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousemove",g),window.removeEventListener("resize",w),f.current&&clearTimeout(f.current),clearTimeout(n),document.body.style.overflow=""}},[b,p,r,g,w]);const j=t[i],N=(null==j?void 0:j.rawContent)||(null==j?void 0:j.content),k=(0,u.jsxs)("div",{"data-scheme":"secondary",className:"fixed inset-0 bg-primary z-[9999] flex items-center justify-center",children:[(0,u.jsx)("div",{className:"absolute top-4 right-4 z-10 transition-opacity duration-300 "+(m?"opacity-100":"opacity-0"),children:(0,u.jsx)("button",{onClick:r,className:"bg-black/50 hover:bg-black/70 text-white rounded-full p-3 transition-colors",children:(0,u.jsx)(o.IconX,{className:"size-6"})})}),(0,u.jsx)("div",{className:"absolute top-4 left-4 z-10 transition-opacity duration-300 "+(m?"opacity-100":"opacity-0"),children:(0,u.jsxs)("div",{className:"bg-black/50 text-white px-3 py-2 rounded-lg text-sm font-medium",children:[i+1," / ",t.length]})}),(0,u.jsx)("div",{className:"absolute left-4 top-1/2 -translate-y-1/2 z-10 transition-opacity duration-300 "+(m?"opacity-100":"opacity-0"),children:(0,u.jsx)("button",{onClick:p,disabled:0===i,className:"bg-black/50 hover:bg-black/70 disabled:opacity-30 disabled:cursor-not-allowed text-white rounded-full p-3 transition-colors",children:(0,u.jsx)("svg",{className:"size-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})})}),(0,u.jsx)("div",{className:"absolute right-4 top-1/2 -translate-y-1/2 z-10 transition-opacity duration-300 "+(m?"opacity-100":"opacity-0"),children:(0,u.jsx)("button",{onClick:b,disabled:i===t.length-1,className:"bg-black/50 hover:bg-black/70 disabled:opacity-30 disabled:cursor-not-allowed text-white rounded-full p-3 transition-colors",children:(0,u.jsx)("svg",{className:"size-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,u.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})}),(0,u.jsx)("div",{className:"w-full h-full flex items-center justify-center p-4 bg-accent",children:(0,u.jsx)("div",{className:"@container "+y.aspectRatio+" max-w-full max-h-full w-full overflow-hidden",children:(0,u.jsx)(d.A,{mode:"presentation",baseWi
1dth:y.baseWidth,baseHeight:y.baseHeight,children:(0,u.jsx)(c.V.Provider,{value:{isPresenting:!0,isPortrait:v},children:N})})})}),(0,u.jsx)("div",{className:"absolute bottom-4 left-1/2 -translate-x-1/2 z-10 transition-opacity duration-300 "+(m?"opacity-100":"opacity-0"),children:(0,u.jsx)("div",{className:"flex space-x-3 bg-black/50 p-3 rounded-lg",children:t.map((e,t)=>{const r=e.thumbnailContent||e.rawContent||e.content;return console.log("🖼️ FullScreen thumbnail "+t+":",{slideName:e.name,hasThumbnailContent:!!e.thumbnailContent,hasRawContent:!!e.rawContent,hasContent:!!e.content,contentType:typeof r,isReactElement:n.isValidElement(r)}),(0,u.jsxs)("button",{onClick:()=>l(t),className:"group cursor-pointer "+(t===i?"ring-2 ring-white":"hover:ring-1 hover:ring-white/50")+" rounded",title:e.name,children:[(0,u.jsxs)("div",{className:y.thumbnailWidth+" "+y.thumbnailHeight+" "+y.thumbnailAspectRatio+" bg-primary border border-white/20 group-hover:border-white/40 rounded overflow-hidden relative",children:[(0,u.jsx)(d.A,{mode:"thumbnail",baseWidth:y.baseWidth,baseHeight:y.baseHeight,children:(0,u.jsx)(c.V.Provider,{value:{isPresenting:!0,isPortrait:v},children:r})}),(0,u.jsx)("div",{className:"absolute inset-0 z-10"}),(0,u.jsx)("div",{className:"absolute top-0 right-0 bg-red-500 text-white text-[8px] px-1 opacity-50 z-20",children:t})]}),(0,u.jsx)("div",{className:"text-xs text-white/80 mt-1 text-center font-medium truncate "+y.thumbnailWidth,children:e.name})]},t)})})})]});return"undefined"!=typeof document?(0,a.createPortal)(k,document.body):null},h=r(59527),v=r(5356),x=r(8275),f=r(45583),b=r(76621);const p={type:"lead",formOptions:{className:"flex flex-col",ctaLocation:"bottom",showToField:!1,rowPadding:""},form:{fields:[{label:"From",placeholder:"Your email",type:"string",name:"email",required:!0,fieldType:"email"},{label:"Company",type:"string",name:"company",required:!0},{label:"Role",name:"role",type:"enumeration",options:[{label:"Engineering",value:"Engineering"},{label:"Founder",value:"Founder"},{label:"Leadership",value:"Leadership"},{label:"Marketing",value:"Marketing"},{label:"Product",value:"Product"},{label:"Sales",value:"Sales"},{label:"Other",value:"Other"}],required:!0},{label:"Monthly active users",name:"monthly_active_users",type:"string",fieldType:"number",required:!0},{label:"What do you want to chat about?",name:"talk_about",type:"string",required:!0,fieldType:"textarea"},{label:"Where did you hear about us?",type:"string",name:"where_did_you_hear_about_us",required:!1}],ctaButton:{label:"Send message",size:"md",type:"primary",width:"full"},message:"Message received! We'll be in touch.",name:"Contact sales"}};function g(e){let{teamSlug:t,salesRep:r}=e;return(0,u.jsx)(i.A,{viewportClasses:"[&>div]:h-full",children:(0,u.jsxs)("div",{"data-scheme":"primary",className:"bg-accent text-primary h-full p-4","data-default-form-id":"509041",children:[(0,u.jsxs)("div",{className:"prose prose-sm dark:prose-invert mb-4",children:[(0,u.jsx)("h3",{className:"text-xl mb-1",children:"Get a demo"}),(0,u.jsx)("p",{className:"text-sm",children:'Fear not, our "sales calls" are more like nerdy chats with an old friend. We\'re here to be helpful, not to force our products on you.'}),(0,u.jsx)(l.nD,{items:[{trigger:"30-min call agenda",content:(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)("ol",{className:"my-0",children:[(0,u.jsxs)("li",{children:["Intro ",(0,u.jsx)("span",{className:"text-muted",children:"(10 min)"}
1),(0,u.jsxs)("ul",{className:"pl-2 mt-0 text-[13px]",children:[(0,u.jsx)("li",{children:"Friendly banter (but not too much)"}),(0,u.jsx)("li",{children:"Understand your needs"}),(0,u.jsx)("li",{children:"Explain our vision"})]})]}),(0,u.jsxs)("li",{children:["Demo ",(0,u.jsx)("span",{className:"text-muted",children:"(15 min)"}),(0,u.jsxs)("ul",{className:"pl-2 mt-0 text-[13px]",children:[(0,u.jsx)("li",{children:"Tailored product demo"}),(0,u.jsx)("li",{children:"Docs and resources"})]})]}),(0,u.jsxs)("li",{children:["Wrap-up ",(0,u.jsx)("span",{className:"text-muted",children:"(5 min)"}),(0,u.jsxs)("ul",{className:"pl-2 mt-0 text-[13px]",children:[(0,u.jsx)("li",{children:"Answer questions"}),(0,u.jsx)("li",{children:(0,u.jsx)("s",{children:"Pressure tactics"})})]})]})]})})}]})]}),(0,u.jsx)(b.A,{teamSlug:t,salesRep:r}),(0,u.jsx)(f.A,{formConfig:p})]})})}const w={1:"sales-cs",2:"sales-product-led"},y=e=>{let{content:t,activeSlideIndex:r,onClick:n}=e;return t?"function"==typeof t?(0,u.jsx)(u.Fragment,{children:t(r,n)}):Array.isArray(t)?(0,u.jsx)(u.Fragment,{children:t.map((e,t)=>(0,u.jsx)(l.nD,{"data-scheme":"primary",className:"",defaultValue:"item-0",items:[{trigger:e.title,content:e.content}]},t))}):(0,u.jsx)(u.Fragment,{children:t}):null},j=(e,t)=>{var r,n;return(null!==(r=null==t||null===(n=t.size)||void 0===n?void 0:n.width)&&void 0!==r?r:0)<672},N=(e,t)=>{if("undefined"==typeof window)return null==t||t;const r=new URLSearchParams(window.location.search).get(e);return null!==r?"true"===r:null==t||t},k=e=>{if("undefined"==typeof window)return e;const t=new URLSearchParams(window.location.search).get("t");
1return t&&w[t]?w[t]:e};function S(e){var t,r,l,a;let{accentImage:o,sidebarContent:d,children:c,fullScreen:f=!1,slides:b=[],slideId:p,presenterNotes:w,config:S,salesRep:C,rightActionButtons:E}=e;const{siteSettings:z}=(0,x.nm)(),{appWindow:A}=(0,v.ox)(),L=null==A||null===(t=A.appSettings)||void 0===t?void 0:t.toolbar,{0:T,1:P}=(0,n.useState)(!1),{0:R,1:M}=(0,n.useState)(null===(r=null==S?void 0:S.thumbnails)||void 0===r||r),{0:W,1:F}=(0,n.useState)(!1),{0:I,1:D}=(0,n.useState)(0),{0:H,1:q}=(0,n.useState)(0),{0:_,1:B}=(0,n.useState)(null===(l=null==S?void 0:S.notes)||void 0===l||l),{0:V,1:O}=(0,n.useState)(null!==(a=null==S?void 0:S.form)&&void 0!==a&&a),{0:U,1:Y}=(0,n.useState)(90),{0:G,1:Q}=(0,n.useState)(null==S?void 0:S.teamSlug);(0,n.useEffect)(()=>{var e;P(j(z,A)),M(N("thumbnails",null==S?void 0:S.thumbnails)),B(N("notes",null==S?void 0:S.notes)),O(N("form",null!==(e=null==S?void 0:S.form)&&void 0!==e&&e)),Q(k(null==S?void 0:S.teamSlug))},[]);const{0:X,1:J}=(0,n.useState)(90),{0:K,1:Z}=(0,n.useState)(!1),{0:$,1:ee}
1=(0,n.useState)(0),te=(0,n.useRef)(null),re=(0,n.useCallback)((e,t)=>{if("undefined"==typeof window)return;const r=new URLSearchParams(window.location.search);r.set("thumbnails",String(e)),r.set("notes",String(t));const n=window.location.pathname+"?"+r.toString()+window.location.hash;window.history.replaceState({},"",n)},[]),ne=(0,n.useCallback)(()=>{M(e=>{const t=!e;return re(t,_),t})},[_,re]),se=(0,n.useCallback)(()=>{B(e=>{if(e)return U>=10&&J(U),re(R,!1),!1;return Y(X>=25?X:90),re(R,!0),!0})},[U,X,R,re]),ie=(0,n.useCallback)((e,t)=>{if(!te.current||!_)return;const r=Math.min(Math.max($-t.offset.y,0),300);Y(r),r>=10&&J(r)},[$,_]),le=(0,n.useMemo)(()=>{if(!w||!b||0===b.length)return"";const e=b[H];return e&&w[e.slug]||""},[w,b,H]);(0,n.useEffect)(()=>{if(0===b.length)return;const e=p?'[data-presentation-id="'+p+'"] [data-radix-scroll-area-viewport]':'[data-app="Presentation"] [data-radix-scroll-area-viewport]',t=document.querySelector(e);if(!t)return;const r=()=>{const e=t.getBoundingClientRect().top,r=t.getBoundingClientRect().bottom;let n=0,s=0;const i=p?'[data-slide-id="'+p+'"][data-slide]':"[data-slide]";document.querySelectorAll(i).forEach((t,i)=>{const l=t.getBoundingClientRect(),a=Math.max(l.top,e),o=Math.min(l.bottom,r),d=Math.max(0,o-a)*l.width;d>s&&(s=d,n=i)}),q(n)};return r(),t.addEventListener("scroll",r,{passive:!0}),()=>{t.removeEventListener("scroll",r)}},[b.length,p]),(0,n.useEffect)(()=>{const e=()=>{const e=j(z,A);P(e)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[A,z]),(0,n.useEffect)(()=>{M(!T&&N("thumbnails",null==S?void 0:S.thumbnails))},[T,S]),(0,n.useEffect)(()=>{B(N("notes",null==S?void 0:S.notes))},[S]),(0,n.useEffect)(()=>{var e;O(N("form",null!==(e=null==S?void 0:S.form)&&void 0!==e&&e))},[S]);const ae=(0,n.useCallback)(()=>{b.length>0&&D(H),F(!0)},[b.length,H]),oe=(0,n.useCallback)(()=>{F(!1)},[]);return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{ref:te,"data-scheme":"secondary",className:"@container w-full transition-all duration-300 h-full flex flex-col min-h-1 max-w-full "+(L?"border-t border-primary":""),children:(0,u.jsxs)("div",{"data-scheme":"secondary",className:"flex flex-grow min-h-0 "+(f?"border-t border-primary":""),children:[d&&(0,u.jsx)(h.P.aside,{animate:T?{height:R?"auto":0,width:"100%"}:{width:R?192:0,height:"100%"},transition:{duration:.3},"data-scheme":"secondary",className:"bg-primary border-primary @2xl:border-y-0 border-y "+(R?"@2xl:border-r":"border-b-0")+" overflow-hidden absolute z-10 @2xl:relative @2xl:translate-y-0 translate-y-[46px]",children:(0,u.jsx)(i.A,{className:"p-2",children:(0,u.jsx)("div",{className:"space-y-3",children:(0,u.jsx)(y,{content:d,activeSlideIndex:H,onClick:()=>{T&&ne()}})})})}),(0,u.jsxs)("main",{"data-app":"Presentation","data-presentation-id":p,"data-scheme":"secondary",className:"@container flex-1 flex flex-col relative h-full bg-primary",children:[!f&&(0,u.jsx)(u.Fragment,{children:(0,u.jsx)(s.A,{rightActionButtons:E,hasLeftSidebar:!!d&&{enabled:!0,alwaysShow:!0},showSidebar:!0,showSearch:!0,isNavVisible:R,onToggleNav:ne,showFullScreen:!0,showDrawerToggle:!0,isDrawerOpen:_,onToggleDrawer:se,exportToPdf:!0,slideId:p,onFullScreenClick:b.length>0?ae:void 0,navIconClassName:T?"rotate-90":""})}),f?c:(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:"min-h-0 flex-1",children:(0,u.jsx)(i.A,{className:"h-full flex-1 border-t border-primary",children:(0,u.jsx)("div",{className:"relative",children:c})})}),(0,u.jsxs)("div",{"data-scheme":"primary",className:"bg-primary border-t border-primary overflow-hidden "+(K?"":"transition-all duration-200 ease-out")+" flex-none relative",style:{height:_?U:0,maxHeight:300,minHeight:0},children:[(0,u.jsx)(h.P.div,{"data-scheme":"tertiary",className:"h-1.5 top-0 left-0 !transform-none absolute z-20 w-full "+(_?"cursor-ns-resize hover:bg-accent active:bg-accent":"pointer-events-none"),drag:!!_&&"y",dragMomentum:!1,dragConstraints:{top:0,bottom:0},onDragStart:()=>{_&&(Z(!0),ee(U))},onDragEnd:()=>{Z(!1),U<=5&&(B(!1),X<10&&J(90))},onDrag:ie}),(0,u.jsx)(i.A,{className:"h-full",children:(0,u.jsx)("div",{className:"p-4 text-sm prose dark:prose-invert prose-sm",children:le?"string"==typeof le?(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:le}}):le:(0,u.jsx)("div",{className:"text-secondary",children:"No presenter notes for this slide."})})})]})]})]}),V&&(0,u.jsx)("aside",{"data-scheme":"secondary",className:"w-80 h-full bg-primary border-l border-primary hidden @2xl:block",children:(0,u.jsx)(g,{teamSlug:G,salesRep:C})})]})}),W&&b.length>0&&(0,u.jsx)(m,{slides:b,onExit:oe,initialSlideIndex:I})]})}},76621:function(e,t,r){r.d(t,{A:function(){return a}});var n=r(93747),s=r(31925),i=r(63629),l=r(86070);function a(e){var t,r,a;let{teamSlug:o="sales-product-led",salesRep:d}=e;const{allTeams:c}=(0,i.useStaticQuery)("1106521639");if(d&&d.name&&d.photo)return(0,l.jsxs)("div",{className:"border border-primary p-4 rounded bg-primary mb-4",children:[(0,l.jsx)("h3",{className:"text-sm mb-0.5",children:"Your helpful PostHog person"}),(0,l.jsx)("p",{className:"text-xs mb-3",children:"This friendly face would love to chat with you."}),(0,l.jsxs)("div",{className:"flex items-center gap-3",children:[(0,l.jsx)(n.A,{src:d.photo,alt:d.name,className:"size-16 rounded-full overflow-hidden border-2 border-"+d.color+" p-[1.5px]",imgClassName:"object-cover rounded-full bg-"+d.color,width:80}),(0,l.jsxs)("div",{className:"text-left",children:[(0,l.jsx)("div",{className:"text-base font-semibold @2xl:leading-tight",children:d.name}),(0,l.jsx)("div",{className:"text-[13px] text-secondary @2xl:leading-tight",children:d.title}),(0,l.jsx)("a",{href:"mailto:"+d.email,className:"block pt-0.5 text-sm underline font-semibold @2xl:leading-tight",children:d.email})]})]})]});const u=c.nodes.find(e=>e.slug===o);if(!u||null===(t=u.profiles)||void 0===t||null===(r=t.data)||void 0===r||!r.length)return null;const m=u.profiles.data,h=(null===(a=u.leadProfiles)||void 0===a?void 0:a.data)||[],v=m.slice().sort((e,t)=>
1{const r=h.some(t=>{let{id:r}=t;return r===e.id});return r===h.some(e=>{let{id:r}=e;return r===t.id})?0:r?-1:1});return(0,l.jsx)("div",{children:(0,l.jsxs)("div",{"data-scheme":"primary",className:"relative justify-center transform transition-all duration-100 border border-primary bg-primary rounded p-4 mb-4",children:[(0,l.jsxs)("h3",{className:"text-sm mb-1",children:["Our ",u.name," Team"]}),(0,l.jsx)("p",{className:"text-sm mb-3",children:"One of these friendly faces would love to chat with you."}),(0,l.jsxs)("div",{className:"flex flex-wrap justify-end ml-3",dir:"rtl",children:[m.length>8&&(0,l.jsx)("span",{className:"visible cursor-default -ml-3 relative hover:z-10 rounded-full border-1 border-primary",children:(0,l.jsxs)(s.A,{trigger:(0,l.jsxs)("div",{className:"size-10 rounded-full bg-accent border border-light dark:border-dark flex items-center justify-center text-sm font-semibold transform scale-100 hover:scale-125 transition-all",children:[m.length-7,"+"]}),side:"bottom",children:[m.length-7," more"]})}),v.slice(0,m.length>8?7:void 0).reverse().map((e,t)=>{var r,n;let{id:i,attributes:{firstName:a,lastName:o,avatar:d,color:c}}=e;const u=[a,o].filter(Boolean).join(" "),m=h.some(e=>{let{id:t}=e;return t===i});return(0,l.jsx)("span",{className:"visible cursor-default -ml-3 relative hover:z-10 transform scale-100 hover:scale-125 transition-all rounded-full border-1 "+(m?"border-yellow dark:border-yellow":"border-primary"),children:(0,l.jsxs)(s.A,{trigger:(0,l.jsx)("img",{src:null==d||null===(r=d.data)||void 0===r||null===(n=r.attributes)||void 0===n?void 0:n.url,className:"size-10 rounded-full bg-"+(null!=c?c:"accent")+" border border-light dark:border-dark",alt:u}),side:"bottom",delay:0,children:[u," ",m?"(Team lead)":""]})},u+"-"+t)})]})]})})}}}]);
2//# sourceMappingURL=48b12ad7f6b1bb5a206f767c6392088fafea6f02-c8def7403b8dc63b910b.js.map

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.