{"version":3,"file":"VideoComparisonSlider.BoFIMKDB.mjs","names":["_Fragment","useRef","_Fragment","useState","useMemo","useRef","useState","useMemo"],"sources":["https:/framerusercontent.com/modules/xkys1JvID7i9b5sQeNo7/tr0DtvgxRkZVYOksqPrl/SliderParts.js","https:/framerusercontent.com/modules/93Nn73cTaeokoRftQcop/vbE4I5y5gxOOCTQ3Utth/VideoLayers.js","https:/framerusercontent.com/modules/3nziCsEL2J4EM2lXR2Ph/khmqpPbyufZA0Y5TguAY/TopLabels.js","https:/framerusercontent.com/modules/pMLvyWltFMO0bJNwAveE/9YEUgoEGIAbP0cz73U3l/ButtonGroup.js","https:/framerusercontent.com/modules/fPSbGPtqJIZCUEGjutAf/qFiQ9FsgrfveQm5EmeD0/VideoComparisonSlider.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function processSvg(svg,fill=\"none\",stroke=\"white\"){if(!svg)return\"\";return svg.replace(/<svg[^>]*>/,match=>{return match.replace(/fill=\".*?\"/g,\"\").replace(/stroke=\".*?\"/g,\"\");}).replace(/<path[^>]*>/g,match=>{return match.replace(/fill=\".*?\"/g,\"\").replace(/stroke=\".*?\"/g,\"\").replace(/\\/?>$/,` fill=\"${fill}\" stroke=\"${stroke}\" />`);});}const LINE_HIT_AREA=32;export function SliderLine({position,color,width,onDragStart}){return /*#__PURE__*/_jsx(\"div\",{onMouseDown:onDragStart,onTouchStart:onDragStart,style:{position:\"absolute\",top:0,bottom:0,left:`${position}%`,transform:\"translateX(-50%)\",width:LINE_HIT_AREA,zIndex:6,cursor:onDragStart?\"grab\":undefined,display:\"flex\",alignItems:\"stretch\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width,backgroundColor:color,height:\"100%\"}})});}const HANDLE_ICON=`<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n<path d=\"M27.4437 16.3353H3.44366\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\"/>\n<path d=\"M8.11363 11.0001L3 16.1138L8.11363 21.2274\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n<path d=\"M23.33 11L28.4437 16.1136L23.33 21.2273\" stroke=\"white\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n</svg>`;export function SliderHandle({position,color,size,isDragging,onDragStart,pulseColor=\"rgba(255, 255, 255, 0.3)\",pulseScale=1.8}){useEffect(()=>{const style=document.createElement(\"style\");style.innerHTML=`\n      @keyframes pulseEffect {\n        0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }\n        100% { transform: translate(-50%, -50%) scale(${pulseScale}); opacity: 0; }\n      }`;document.head.appendChild(style);return()=>{if(document.head.contains(style))document.head.removeChild(style);};},[pulseScale]);return /*#__PURE__*/_jsxs(_Fragment,{children:[!isDragging&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",width:size,height:size,left:`${position}%`,top:\"50%\",transform:\"translate(-50%, -50%)\",borderRadius:\"50%\",animation:\"pulseEffect 1.5s infinite ease-in-out\",backgroundColor:pulseColor,zIndex:9}}),/*#__PURE__*/_jsx(\"div\",{onMouseDown:onDragStart,onTouchStart:onDragStart,style:{position:\"absolute\",top:\"50%\",left:`${position}%`,transform:\"translate(-50%, -50%)\",width:size,height:size,backgroundColor:color,borderRadius:\"50%\",border:\"4px solid white\",boxSizing:\"border-box\",zIndex:10,cursor:\"grab\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{dangerouslySetInnerHTML:{__html:HANDLE_ICON},style:{display:\"flex\"}})})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"SliderHandle\":{\"type\":\"reactComponent\",\"name\":\"SliderHandle\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SliderLine\":{\"type\":\"reactComponent\",\"name\":\"SliderLine\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"processSvg\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SliderParts.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";export function VideoLayer({src,volume,isPlaying,autoplay,poster,preload=\"metadata\"}){const videoRef=useRef(null);useEffect(()=>{if(videoRef.current){const safeVolume=isNaN(volume)||!isFinite(volume)?0:volume;videoRef.current.volume=safeVolume;videoRef.current.muted=safeVolume===0;}},[volume]);useEffect(()=>{const video=videoRef.current;if(!video)return;isPlaying?video.play().catch(()=>{}):video.pause();},[isPlaying]);useEffect(()=>{const video=videoRef.current;if(video){video.muted=true;video.loop=true;video.playsInline=true;if(autoplay)video.play().catch(()=>{});}},[autoplay]);return /*#__PURE__*/_jsx(\"video\",{ref:videoRef,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\"},autoPlay:autoplay,muted:true,playsInline:true,loop:true,preload:preload,poster:poster,children:/*#__PURE__*/_jsx(\"source\",{src:src,type:\"video/mp4\"})});}export function MaskedVideoLayer({src,volume,isPlaying,autoplay,position,poster}){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,overflow:\"hidden\",clipPath:`inset(0 ${100-position}% 0 0)`,WebkitClipPath:`inset(0 ${100-position}% 0 0)`,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(VideoLayer,{src:src,volume:volume,isPlaying:isPlaying,autoplay:autoplay,poster:poster,preload:\"metadata\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"VideoLayer\":{\"type\":\"reactComponent\",\"name\":\"VideoLayer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"MaskedVideoLayer\":{\"type\":\"reactComponent\",\"name\":\"MaskedVideoLayer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoLayers.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function TopLabels({position,beforeLabel=\"Rough Screen Recording\",afterLabel=\"With Clueso\",sparkleIcon=\"\",fontFamily=\"Inter\"}){// Labels stay visible regardless of position\nconst leftOpacity=1;const rightOpacity=1;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:16,left:16,padding:\"10px 16px\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",border:\"2px solid #dc2626\",borderRadius:12,fontFamily,fontSize:14,fontWeight:800,color:\"#dc2626\",opacity:leftOpacity,transition:\"opacity 0.3s ease\",zIndex:6},children:beforeLabel}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:16,right:16,padding:\"10px 16px\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",border:\"2px solid #073DFF\",borderRadius:12,fontFamily,fontSize:14,fontWeight:800,color:\"#073DFF\",display:\"flex\",alignItems:\"center\",gap:4,opacity:rightOpacity,transition:\"opacity 0.3s ease\",zIndex:6},children:[sparkleIcon&&/*#__PURE__*/_jsx(\"span\",{dangerouslySetInnerHTML:{__html:sparkleIcon},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:20,height:20}}),afterLabel]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TopLabels\":{\"type\":\"reactComponent\",\"name\":\"TopLabels\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TopLabels.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo,useState,useEffect}from\"react\";import{processSvg}from\"https://framerusercontent.com/modules/xkys1JvID7i9b5sQeNo7/tr0DtvgxRkZVYOksqPrl/SliderParts.js\";const ICONS={play:`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7.78516 5.00098C8.12202 5.01168 8.4064 5.13428 8.60547 5.23438C8.8395 5.35205 9.11354 5.52376 9.40235 5.70312L16.5811 10.1621C16.8296 10.3165 17.0743 10.4674 17.2627 10.6094C17.4262 10.7326 17.6428 10.9165 17.7949 11.1904L17.8565 11.3135L17.919 11.4805C18.0447 11.875 18.0241 12.3032 17.8565 12.6865C17.7064 13.0297 17.4496 13.2498 17.2627 13.3906C17.0743 13.5326 16.8296 13.6835 16.5811 13.8379L9.40235 18.2969C9.11354 18.4762 8.8395 18.6479 8.60547 18.7656C8.37797 18.88 8.0391 19.0237 7.6377 18.9961C7.14048 18.9618 6.67248 18.7207 6.36133 18.3193C6.10695 17.9911 6.04729 17.6175 6.02344 17.3662C5.99898 17.1081 6.00001 16.7888 6.00001 16.459V7.54102C6.00001 7.21116 5.99898 6.89193 6.02344 6.63379C6.04729 6.38252 6.10695 6.00893 6.36133 5.68066L6.48536 5.53809C6.7901 5.22245 7.20261 5.03393 7.6377 5.00391L7.78516 5.00098ZM8.00001 16.459C8.00001 16.5969 8.00011 16.712 8.00098 16.8096C8.09531 16.7525 8.20853 16.6835 8.34669 16.5977L15.5264 12.1396C15.6115 12.0868 15.6844 12.0401 15.7481 12C15.6844 11.9599 15.6115 11.9132 15.5264 11.8604L8.34669 7.40234C8.20832 7.31641 8.0954 7.24659 8.00098 7.18945C8.0001 7.28719 8.00001 7.40266 8.00001 7.54102V16.459Z\" fill=\"white\"/></svg>`,pause:`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 18V6C7 5.44772 7.44772 5 8 5C8.55228 5 9 5.44772 9 6V18C9 18.5523 8.55228 19 8 19C7.44772 19 7 18.5523 7 18ZM15 18V6C15 5.44772 15.4477 5 16 5C16.5523 5 17 5.44772 17 6V18C17 18.5523 16.5523 19 16 19C15.4477 19 15 18.5523 15 18Z\" fill=\"white\"/></svg>`,mute:`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.3819 3.71203C10.8008 3.67906 11.2116 3.82333 11.5166 4.10461L11.6406 4.23254L11.7344 4.35851C11.93 4.65518 11.9666 4.97655 11.9815 5.14367C12.0013 5.36746 12 5.64864 12 5.93176V18.0685C12 18.3514 12.0012 18.6319 11.9815 18.8556C11.9645 19.0464 11.9197 19.4398 11.6406 19.7667C11.3288 20.1318 10.8605 20.3259 10.3819 20.2882C9.95346 20.2543 9.64397 20.0079 9.49708 19.8849C9.32485 19.7407 9.12692 19.5421 8.92677 19.3419L5.76173 16.1759C5.6691 16.0833 5.62204 16.037 5.58693 16.005C5.58566 16.0038 5.58416 16.0031 5.58302 16.0021H5.58107C5.53359 15.9999 5.46784 16.0001 5.33693 16.0001H3.59962C3.33623 16.0001 3.07815 16.0012 2.86134 15.9835C2.63284 15.9648 2.36307 15.9206 2.09181 15.7823C1.71556 15.5906 1.40953 15.2846 1.21779 14.9083C1.07949 14.6369 1.03529 14.3664 1.01662 14.1378C0.998944 13.9211 1.00001 13.6637 1.00001 13.4005V10.5997C1.00001 10.3363 0.9989 10.0783 1.01662 9.86144C1.03531 9.63292 1.07956 9.3632 1.21779 9.09191C1.40952 8.71564 1.71555 8.40963 2.09181 8.21789C2.36307 8.07968 2.63284 8.03541 2.86134 8.01672C3.07815 7.999 3.33623 8.00012 3.59962 8.00012H5.33693C5.46788 8.00012 5.53358 7.99936 5.58107 7.99719L5.58693 7.99523C5.62204 7.96319 5.6691 7.91697 5.76173 7.82433L8.92677 4.65832C9.1269 4.4582 9.32487 4.25956 9.49708 4.11535C9.64397 3.99238 9.95347 3.74591 10.3819 3.71203ZM21 12.0001C21 9.6043 20.2355 7.38983 18.9365 5.5841C18.614 5.13579 18.7158 4.51112 19.1641 4.18859C19.6124 3.86608 20.2371 3.96781 20.5596 4.41613C22.0952 6.55083 23 9.17131 23 12.0001C23 14.8289 22.0952 17.4494 20.5596 19.5841C20.237 20.0323 19.6124 20.1341 19.1641 19.8116C18.7157 19.4891 18.614 18.8645 18.9365 18.4161C20.2355 16.6104 21 14.3959 21 12.0001ZM16 12.0001C16 10.724 15.6024 9.54384 14.9248 8.57238C14.6089 8.11948 14.7201 7.49581 15.1729 7.1798C15.6258 6.86386 16.2495 6.97495 16.5654 7.42785C17.4696 8.72406 18 10.3017 18 12.0001C18 13.6985 17.4696 15.2762 16.5654 16.5724C16.2494 17.0252 15.6258 17.1363 15.1729 16.8204C14.72 16.5045 14.609 15.8808 14.9248 15.4279C15.6024 14.4564 16 13.2762 16 12.0001ZM3.00001 13.4005C3.00001 13.6967 3.00124 13.8592 3.01076 13.9757C3.01109 13.9798 3.01139 13.9837 3.01173 13.9874C3.01576 13.9878 3.01994 13.989 3.02443 13.9894C3.14096 13.9989 3.30334 14.0001 3.59962 14.0001H5.33693C5.53392 14.0001 5.7958 13.9941 6.05275 14.0558C6.20587 14.0926 6.35418 14.1465 6.49415 14.2179L6.63087 14.295L6.79103 14.4064C6.94344 14.5245 7.07127 14.6573 7.1758 14.7618L10 17.5851V6.41418L7.1758 9.2384C7.03652 9.37767 6.85613 9.56713 6.63087 9.70519C6.45197 9.81483 6.25678 9.89545 6.05275 9.94445C5.7958 10.0061 5.53392 10.0001 5.33693 10.0001H3.59962C3.30334 10.0001 3.14096 10.0004 3.02443 10.0099C3.01997 10.0102 3.01573 10.0105 3.01173 10.0109C3.01133 10.0151 3.01115 10.0197 3.01076 10.0245C3.00123 10.1411 3.00001 10.3034 3.00001 10.5997V13.4005Z\" fill=\"black\"/></svg>`,unmute:`<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M10.3819 3.71203C10.8008 3.67906 11.2116 3.82333 11.5166 4.10461L11.6406 4.23254L11.7344 4.35851C11.93 4.65518 11.9666 4.97655 11.9815 5.14367C12.0013 5.36746 12 5.64864 12 5.93176V18.0685C12 18.3514 12.0012 18.6319 11.9815 18.8556C11.9645 19.0464 11.9197 19.4398 11.6406 19.7667C11.3288 20.1318 10.8605 20.3259 10.3819 20.2882C9.95346 20.2543 9.64397 20.0079 9.49708 19.8849C9.32485 19.7407 9.12692 19.5421 8.92677 19.3419L5.76173 16.1759C5.6691 16.0833 5.62204 16.037 5.58693 16.005C5.58566 16.0038 5.58416 16.0031 5.58302 16.0021H5.58107C5.53359 15.9999 5.46784 16.0001 5.33693 16.0001H3.59962C3.33623 16.0001 3.07815 16.0012 2.86134 15.9835C2.63284 15.9648 2.36307 15.9206 2.09181 15.7823C1.71556 15.5906 1.40953 15.2846 1.21779 14.9083C1.07949 14.6369 1.03529 14.3664 1.01662 14.1378C0.998944 13.9211 1.00001 13.6637 1.00001 13.4005V10.5997C1.00001 10.3363 0.9989 10.0783 1.01662 9.86144C1.03531 9.63292 1.07956 9.3632 1.21779 9.09191C1.40952 8.71564 1.71555 8.40963 2.09181 8.21789C2.36307 8.07968 2.63284 8.03541 2.86134 8.01672C3.07815 7.999 3.33623 8.00012 3.59962 8.00012H5.33693C5.46788 8.00012 5.53358 7.99936 5.58107 7.99719L5.58693 7.99523C5.62204 7.96319 5.6691 7.91697 5.76173 7.82433L8.92677 4.65832C9.1269 4.4582 9.32487 4.25956 9.49708 4.11535C9.64397 3.99238 9.95347 3.74591 10.3819 3.71203ZM21.293 8.29308C21.6835 7.90256 22.3165 7.90256 22.707 8.29308C23.0975 8.68361 23.0976 9.31663 22.707 9.70715L20.4141 12.0001L22.707 14.2931C23.0975 14.6836 23.0976 15.3166 22.707 15.7071C22.3165 16.0976 21.6835 16.0976 21.293 15.7071L19 13.4142L16.707 15.7071C16.3165 16.0976 15.6835 16.0976 15.293 15.7071C14.9025 15.3166 14.9025 14.6836 15.293 14.2931L17.586 12.0001L15.293 9.70715C14.9025 9.31663 14.9025 8.68361 15.293 8.29308C15.6835 7.90256 16.3165 7.90256 16.707 8.29308L19 10.5861L21.293 8.29308ZM3.00001 13.4005C3.00001 13.6967 3.00124 13.8592 3.01076 13.9757C3.01109 13.9798 3.01139 13.9837 3.01173 13.9874C3.01576 13.9878 3.01994 13.989 3.02443 13.9894C3.14096 13.9989 3.30334 14.0001 3.59962 14.0001H5.33693C5.53392 14.0001 5.7958 13.9941 6.05275 14.0558C6.20587 14.0926 6.35418 14.1465 6.49415 14.2179L6.63087 14.295L6.79103 14.4064C6.94344 14.5245 7.07127 14.6573 7.1758 14.7618L10 17.5851V6.41418L7.1758 9.2384C7.03652 9.37767 6.85613 9.56713 6.63087 9.70519C6.45197 9.81483 6.25678 9.89545 6.05275 9.94445C5.7958 10.0061 5.53392 10.0001 5.33693 10.0001H3.59962C3.30334 10.0001 3.14096 10.0004 3.02443 10.0099C3.01997 10.0102 3.01573 10.0105 3.01173 10.0109C3.01133 10.0151 3.01115 10.0197 3.01076 10.0245C3.00123 10.1411 3.00001 10.3034 3.00001 10.5997V13.4005Z\" fill=\"black\"/></svg>`};export function ButtonGroup({isPlaying,isMuted,onTogglePlay,onToggleMute,show,stroke=\"none\",fill=\"white\",fontFamily=\"Inter\",showTooltip}){useEffect(()=>{const style=document.createElement(\"style\");style.innerHTML=`\n      @keyframes floatTooltip {\n        0% { transform: translate(-50%, 0); }\n        50% { transform: translate(-50%, -10px); }\n        100% { transform: translate(-50%, 0); }\n      }`;document.head.appendChild(style);return()=>{if(document.head.contains(style))document.head.removeChild(style);};},[]);return /*#__PURE__*/_jsxs(\"div\",{role:\"group\",\"aria-label\":\"Video controls\",style:{position:\"absolute\",bottom:24,left:\"50%\",transform:show?\"translateX(-50%) scale(1)\":\"translateX(-50%) scale(0.95)\",display:\"flex\",alignItems:\"center\",gap:8,backgroundColor:\"rgba(0, 0, 0, 0.5)\",borderRadius:15,padding:\"8px 8px\",backdropFilter:\"blur(10px)\",fontFamily,zIndex:20,opacity:show?1:0,visibility:show?\"visible\":\"hidden\",pointerEvents:show?\"auto\":\"none\",transformOrigin:\"center\",transition:\"transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease\"},children:[/*#__PURE__*/_jsx(ControlButton,{icon:isPlaying?ICONS.pause:ICONS.play,fill:fill,stroke:stroke,onClick:onTogglePlay,label:isPlaying?\"Pause videos\":\"Play videos\"}),/*#__PURE__*/_jsx(\"div\",{style:{width:1,height:24,backgroundColor:\"rgba(255, 255, 255, 0.2)\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsx(ControlButton,{icon:isMuted?ICONS.unmute:ICONS.mute,fill:fill,stroke:stroke,onClick:onToggleMute,label:isMuted?\"Unmute videos\":\"Mute videos\"}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:48,left:\"50%\",transform:showTooltip?\"translateX(-50%) translateY(0)\":\"translateX(-50%) translateY(4px)\",backgroundColor:\"#073DFF\",color:\"white\",padding:\"16px 20px\",borderRadius:14,fontSize:14,fontWeight:600,whiteSpace:\"nowrap\",boxShadow:\"0 4px 12px rgba(0,0,0,0.2)\",animation:\"floatTooltip 2s infinite ease-in-out\",opacity:showTooltip?1:0,visibility:showTooltip?\"visible\":\"hidden\",pointerEvents:\"none\",transition:\"opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease\"},children:[\"Unmute to hear\",/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:-4,left:\"50%\",transform:\"translateX(-50%) rotate(45deg)\",width:8,height:8,backgroundColor:\"#073DFF\"}})]})]})]});}function ControlButton({icon,onClick,fill,stroke,label}){const[hovered,setHovered]=useState(false);const safeIcon=useMemo(()=>processSvg(icon,fill,stroke),[icon,fill,stroke]);return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":label,onClick:onClick,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onFocus:()=>setHovered(true),onBlur:()=>setHovered(false),style:{padding:10,cursor:\"pointer\",borderRadius:8,transition:\"all 0.2s ease\",border:\"none\",backgroundColor:hovered?\"rgba(255, 255, 255, 0.1)\":\"transparent\",transform:hovered?\"scale(1.05)\":\"scale(1)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"span\",{dangerouslySetInnerHTML:{__html:safeIcon},style:{display:\"flex\"}})});}\nexport const __FramerMetadata__ = {\"exports\":{\"ButtonGroup\":{\"type\":\"reactComponent\",\"name\":\"ButtonGroup\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ButtonGroup.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{SliderLine,SliderHandle}from\"https://framerusercontent.com/modules/xkys1JvID7i9b5sQeNo7/tr0DtvgxRkZVYOksqPrl/SliderParts.js\";import{VideoLayer,MaskedVideoLayer}from\"https://framerusercontent.com/modules/93Nn73cTaeokoRftQcop/vbE4I5y5gxOOCTQ3Utth/VideoLayers.js\";import{TopLabels}from\"https://framerusercontent.com/modules/3nziCsEL2J4EM2lXR2Ph/khmqpPbyufZA0Y5TguAY/TopLabels.js\";import{ButtonGroup}from\"https://framerusercontent.com/modules/pMLvyWltFMO0bJNwAveE/9YEUgoEGIAbP0cz73U3l/ButtonGroup.js\";const clamp=(value,min,max)=>Math.max(min,Math.min(max,value));export default function VideoComparisonSlider(props){const containerRef=useRef(null);const timeoutRef=useRef(null);const tooltipTimeoutRef=useRef(null);const autoplayEnabled=props.autoplay!==false;const handleSize=props.handleSize||48;const borderRadius=props.borderRadius??16;const handleColor=props.handleColor??\"#ff3333\";const lineColor=props.lineColor??\"#FFFFFF\";const lineWidth=props.lineWidth??2;const[position,setPosition]=useState(clamp(props.initialPosition??25,0,100));const[isMuted,setIsMuted]=useState(true);const[isPlaying,setIsPlaying]=useState(autoplayEnabled);const[hovered,setHovered]=useState(false);const[isDragging,setIsDragging]=useState(false);const[showTooltip,setShowTooltip]=useState(false);const[shouldShowControls,setShouldShowControls]=useState(true);useEffect(()=>{setPosition(clamp(props.initialPosition??25,0,100));},[props.initialPosition]);useEffect(()=>{if(!autoplayEnabled)setIsPlaying(false);},[autoplayEnabled]);// Show the \"Unmute to hear\" tooltip 3 seconds after muting.\nuseEffect(()=>{if(tooltipTimeoutRef.current)clearTimeout(tooltipTimeoutRef.current);setShowTooltip(false);if(isMuted){tooltipTimeoutRef.current=setTimeout(()=>setShowTooltip(true),3e3);}return()=>{if(tooltipTimeoutRef.current)clearTimeout(tooltipTimeoutRef.current);};},[isMuted]);// Control visibility logic\nuseEffect(()=>{if(timeoutRef.current)clearTimeout(timeoutRef.current);setShouldShowControls(true);if(isPlaying&&!isMuted&&!hovered&&!isDragging){timeoutRef.current=setTimeout(()=>setShouldShowControls(false),2e3);}return()=>{if(timeoutRef.current)clearTimeout(timeoutRef.current);};},[isMuted,isPlaying,hovered,isDragging]);// Audio Cross-fading Logic\nconst{leftVolume,rightVolume}=useMemo(()=>{if(isMuted)return{leftVolume:0,rightVolume:0};if(position===50)return{leftVolume:0,rightVolume:0};const proximity=10;if(position<50-proximity)return{leftVolume:1,rightVolume:0};if(position>50+proximity)return{leftVolume:0,rightVolume:1};const fade=Math.abs(position-50)/proximity;return position<50?{leftVolume:fade,rightVolume:0}:{leftVolume:0,rightVolume:fade};},[position,isMuted]);const handleDrag=clientX=>{const rect=containerRef.current?.getBoundingClientRect();if(!rect||typeof clientX!==\"number\"||isNaN(clientX))return;let offsetX=clientX-rect.left;offsetX=Math.max(0,Math.min(offsetX,rect.width));const rawPos=offsetX/rect.width*100;const halfHandle=handleSize/2/rect.width*100;const clamped=Math.max(halfHandle,Math.min(100-halfHandle,rawPos));setPosition(clamped);};const revealControls=()=>{setShouldShowControls(true);};const startDragging=e=>{setIsDragging(true);revealControls();e.preventDefault();const initialClientX=\"touches\"in e?e.touches[0]?.clientX:e.clientX;if(typeof initialClientX===\"number\")handleDrag(initialClientX);const move=event=>{const clientX=\"touches\"in event?event.touches[0]?.clientX:event.clientX;if(event.cancelable)event.preventDefault();if(typeof clientX!==\"number\")return;handleDrag(clientX);};const releaseDrag=()=>{setIsDragging(false);document.removeEventListener(\"mousemove\",move);document.removeEventListener(\"mouseup\",releaseDrag);document.removeEventListener(\"touchmove\",move);document.removeEventListener(\"touchend\",releaseDrag);};document.addEventListener(\"mousemove\",move);document.addEventListener(\"mouseup\",releaseDrag);document.addEventListener(\"touchmove\",move,{passive:false});document.addEventListener(\"touchend\",releaseDrag);};const shouldDisplayControls=shouldShowControls||hovered;const beforeVideo=props.beforeVideo||\"https://site-brand-assets.s3.eu-north-1.amazonaws.com/before.mp4\";const afterVideo=props.afterVideo||\"https://site-brand-assets.s3.eu-north-1.amazonaws.com/after.mp4\";return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,onMouseEnter:()=>setHovered(true),onMouseLeave:()=>setHovered(false),onMouseMove:revealControls,onTouchStart:revealControls,onTouchMove:revealControls,onPointerDown:()=>{// Some browsers block autoplay until a user gesture.\nif(!isPlaying)setIsPlaying(true);},style:{position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",overflow:\"hidden\",backgroundColor:\"black\",borderRadius},children:[/*#__PURE__*/_jsx(VideoLayer,{src:afterVideo,volume:leftVolume,isPlaying:isPlaying,autoplay:autoplayEnabled,poster:props.posterAfter}),/*#__PURE__*/_jsx(MaskedVideoLayer,{src:beforeVideo,volume:rightVolume,isPlaying:isPlaying,autoplay:autoplayEnabled,position:position,poster:props.posterBefore}),/*#__PURE__*/_jsx(TopLabels,{beforeLabel:props.beforeLabel,afterLabel:props.afterLabel,sparkleIcon:props.sparkleIcon,fontFamily:\"Inter\"}),/*#__PURE__*/_jsx(SliderLine,{position:position,color:lineColor,width:lineWidth,onDragStart:startDragging}),/*#__PURE__*/_jsx(SliderHandle,{position:position,onDragStart:startDragging,isDragging:isDragging,size:handleSize,color:handleColor,pulseColor:\"rgba(7, 61, 255, 0.85)\"}),/*#__PURE__*/_jsx(ButtonGroup,{isMuted:isMuted,isPlaying:isPlaying,onToggleMute:()=>setIsMuted(prev=>!prev),onTogglePlay:()=>setIsPlaying(prev=>!prev),show:shouldDisplayControls,showTooltip:showTooltip})]});}addPropertyControls(VideoComparisonSlider,{beforeVideo:{type:ControlType.String,title:\"Before Video URL\",defaultValue:\"https://clueso-public-assets.s3.ap-south-1.amazonaws.com/original_final_airbnb.mp4\"},afterVideo:{type:ControlType.String,title:\"After Video URL\",defaultValue:\"https://clueso-public-assets.s3.ap-south-1.amazonaws.com/compressed_final_airbnb.mp4\"},autoplay:{type:ControlType.Boolean,defaultValue:true},initialPosition:{type:ControlType.Number,min:0,max:100,defaultValue:25},borderRadius:{type:ControlType.Number,min:0,max:100,defaultValue:16},handleSize:{type:ControlType.Number,defaultValue:48},handleColor:{type:ControlType.Color,defaultValue:\"#ff3333\"},lineColor:{type:ControlType.Color,defaultValue:\"#FFFFFF\"},lineWidth:{type:ControlType.Number,defaultValue:2},beforeLabel:{type:ControlType.String,defaultValue:\"Before\"},afterLabel:{type:ControlType.String,defaultValue:\"After\"},sparkleIcon:{type:ControlType.String},posterBefore:{type:ControlType.Image},posterAfter:{type:ControlType.Image}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoComparisonSlider\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoComparisonSlider.map"],"mappings":"wMAA4G,SAAgB,EAAW,EAAI,EAAK,OAAO,EAAO,QAAQ,CAAkB,OAAb,EAAoB,EAAI,QAAQ,aAAa,GAAe,EAAM,QAAQ,cAAc,GAAG,CAAC,QAAQ,gBAAgB,GAAG,CAAG,CAAC,QAAQ,eAAe,GAAe,EAAM,QAAQ,cAAc,GAAG,CAAC,QAAQ,gBAAgB,GAAG,CAAC,QAAQ,QAAQ,UAAU,EAAK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