{"version":3,"file":"VideoGallery.CSiMtXfV.mjs","names":["React.useState","React.useRef","React.useCallback","_Fragment","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","le","ce","init_jsx_runtime","c","_e","de","init_framer_BWFVvmND","addPropertyControls","ControlType","clamp","value","min","max","getYouTubeId","url","match","getDirectVideoSource","video","getImageSource","getImageSrcSet","getImageAlt","getThumbnailSources","sources","manual","youtubeId","addPreconnect","selector","origin","link","PosterImage","sourceIndex","setSourceIndex","isLoaded","setIsLoaded","imageRef","source","image","srcSet","priority","syncDecode","current","getAspectRatio","PlayIcon","size","color","Chevron","direction","TGACentredVideoCarousel","props","rootRef","scrollerRef","itemRefs","scrollTimerRef","ignoreClickRef","mouseDragRef","safeInitial","initialVideo","videos","activeIndex","setActiveIndex","containerWidth","setContainerWidth","isMouseDragging","setIsMouseDragging","playingIndex","setPlayingIndex","autoplay","isMobile","mobileBreakpoint","maxMobileWidth","cardWidth","mobileCardWidth","desktopCardWidth","cardHeight","aspectRatio","edgePadding","arrowsVisible","showArrows","showArrowsOnMobile","activeVideo","notifyChange","next","index","onVideoChange","scrollToIndex","scroller","item","left","nearestIndex","centre","nearest","nearestDistance","itemCentre","distance","settleOnNearest","root","updateWidth","observer","frame","gap","handleScroll","handlePointerDown","event","handlePointerMove","drag","finishMouseDrag","selectVideo","move","style","radius","backgroundColor","captionColor","isActive","directSource","thumbnailSources","thumbnail","thumbnailSrcSet","thumbnailAlt","hasPlayableSource","isPlaying","isNearActive","node","borderColor","sideOpacity","sideScale","muteAutoplay","loop","l","arrowBackground","arrowColor","showDots","activeDotColor","dotColor","showCaption","captionSize","init_VideoGallery"],"sources":["https:/framerusercontent.com/modules/NvIFcT7JPQJcwXeuMhdW/ijEAARWug6tYU3JSKBUw/VideoGallery.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";function clamp(value,min,max){return Math.min(Math.max(value,min),max);}function getYouTubeId(url){if(!url)return null;const match=url.match(/(?:youtube(?:-nocookie)?\\.com\\/(?:watch\\?(?:.*&)?v=|shorts\\/|embed\\/)|youtu\\.be\\/)([a-zA-Z0-9_-]{11})/);return match?match[1]:null;}function getDirectVideoSource(video){return video?.videoUrl?.trim()||video?.videoFile?.trim()||null;}function getImageSource(value){if(!value)return null;return typeof value===\"string\"?value:value.src||null;}function getImageSrcSet(value){if(!value||typeof value===\"string\")return undefined;return value.srcSet||undefined;}function getImageAlt(value){if(!value||typeof value===\"string\")return undefined;return value.alt||undefined;}function getThumbnailSources(video){const sources=[];const manual=getImageSource(video?.thumbnail);if(manual)sources.push(manual);const youtubeId=getDirectVideoSource(video)?null:getYouTubeId(video?.youtubeUrl);if(youtubeId){sources.push(`https://img.youtube.com/vi/${youtubeId}/maxresdefault.jpg`,`https://img.youtube.com/vi/${youtubeId}/hqdefault.jpg`,`https://i.ytimg.com/vi/${youtubeId}/hqdefault.jpg`,`https://img.youtube.com/vi/${youtubeId}/mqdefault.jpg`);}return Array.from(new Set(sources));}function getThumbnail(video){return getThumbnailSources(video)[0]||null;}function addPreconnect(origin){if(typeof document===\"undefined\")return;const selector=`link[data-tga-preconnect=\"${origin}\"]`;if(document.head.querySelector(selector))return;const link=document.createElement(\"link\");link.rel=\"preconnect\";link.href=origin;link.crossOrigin=\"anonymous\";link.dataset.tgaPreconnect=origin;document.head.appendChild(link);}function PosterImage({sources,srcSet,sizes,alt,priority,syncDecode}){const[sourceIndex,setSourceIndex]=React.useState(0);const[isLoaded,setIsLoaded]=React.useState(false);const imageRef=React.useRef(null);const source=sources[sourceIndex];React.useLayoutEffect(()=>{const image=imageRef.current;// Cached images can finish before React attaches onLoad when Framer\n// restores this component after client-side navigation.\nif(image?.complete&&image.naturalWidth>0){setIsLoaded(true);}},[source]);if(!source)return null;return /*#__PURE__*/_jsx(\"img\",{ref:imageRef,src:source,srcSet:sourceIndex===0?srcSet:undefined,sizes:sizes,alt:alt,loading:\"eager\",fetchPriority:priority,decoding:syncDecode?\"sync\":\"async\",draggable:false,onLoad:()=>setIsLoaded(true),onError:()=>{setIsLoaded(false);setSourceIndex(current=>Math.min(current+1,sources.length));},style:{position:\"absolute\",inset:0,zIndex:0,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",opacity:isLoaded?1:0,pointerEvents:\"none\"}},source);}function getAspectRatio(value){switch(value){case\"4:5\":return 4/5;case\"1:1\":return 1;case\"16:9\":return 16/9;default:return 9/16;}}function PlayIcon({color=\"#FFFFFF\",size=9}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{display:\"block\",width:0,height:0,marginLeft:size*.2,borderStyle:\"solid\",borderWidth:`${size}px 0 ${size}px ${size*1.55}px`,borderColor:`transparent transparent transparent ${color}`}});}function Chevron({direction,color}){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{width:9,height:9,display:\"block\",borderTop:`2px solid ${color}`,borderRight:`2px solid ${color}`,transform:direction===\"left\"?\"rotate(-135deg)\":\"rotate(45deg)\"}});}export default function TGACentredVideoCarousel(props){const{videos=[],initialVideo,aspectRatio,desktopCardWidth,mobileCardWidth,mobileBreakpoint,gap,radius,sideScale,sideOpacity,backgroundColor,borderColor,arrowColor,arrowBackground,dotColor,activeDotColor,captionColor,captionSize,showArrows,showArrowsOnMobile,showDots,showCaption,autoplay,muteAutoplay,loop,onVideoChange,style}=props;const rootRef=React.useRef(null);const scrollerRef=React.useRef(null);const itemRefs=React.useRef([]);const scrollTimerRef=React.useRef(null);const ignoreClickRef=React.useRef(false);const mouseDragRef=React.useRef({active:false,startX:0,startScrollLeft:0,moved:false});const safeInitial=clamp(Math.round(initialVideo||1)-1,0,Math.max(0,videos.length-1));const[activeIndex,setActiveIndex]=React.useState(safeInitial);const[containerWidth,setContainerWidth]=React.useState(1e3);const[isMouseDragging,setIsMouseDragging]=React.useState(false);const[playingIndex,setPlayingIndex]=React.useState(autoplay?safeInitial:null);const isMobile=containerWidth<=mobileBreakpoint;const maxMobileWidth=Math.max(180,containerWidth-56);const cardWidth=Math.min(isMobile?containerWidth*(mobileCardWidth/100):desktopCardWidth,maxMobileWidth);const cardHeight=cardWidth/getAspectRatio(aspectRatio);const edgePadding=Math.max(0,(containerWidth-cardWidth)/2);const arrowsVisible=showArrows&&(!isMobile||showArrowsOnMobile);const activeVideo=videos[activeIndex]??null;const notifyChange=React.useCallback(index=>{const next=videos[index];if(!next)return;setActiveIndex(index);setPlayingIndex(autoplay?index:null);onVideoChange?.(next,index);},[autoplay,onVideoChange,videos]);const scrollToIndex=React.useCallback((index,behavior=\"smooth\")=>{const scroller=scrollerRef.current;const item=itemRefs.current[index];if(!scroller||!item)return;const left=item.offsetLeft-(scroller.clientWidth-item.offsetWidth)/2;if(Math.abs(scroller.scrollLeft-left)<.5)return;scroller.scrollTo({left,behavior});},[]);const nearestIndex=React.useCallback(()=>{const scroller=scrollerRef.current;if(!scroller||videos.length===0)return 0;const centre=scroller.scrollLeft+scroller.clientWidth/2;let nearest=0;let nearestDistance=Number.POSITIVE_INFINITY;itemRefs.current.forEach((item,index)=>{if(!item)return;const itemCentre=item.offsetLeft+item.offsetWidth/2;const distance=Math.abs(itemCentre-centre);if(distance<nearestDistance){nearest=index;nearestDistance=distance;}});return nearest;},[videos.length]);const settleOnNearest=React.useCallback(()=>{const index=nearestIndex();if(index!==activeIndex)notifyChange(index);scrollToIndex(index);},[activeIndex,nearestIndex,notifyChange,scrollToIndex]);React.useLayoutEffect(()=>{const root=rootRef.current;if(!root)return;const updateWidth=()=>setContainerWidth(root.getBoundingClientRect().width||1);updateWidth();const observer=new ResizeObserver(updateWidth);observer.observe(root);return()=>observer.disconnect();},[]);React.useEffect(()=>{if(!videos.some(video=>!getDirectVideoSource(video)&&getYouTubeId(video.youtubeUrl)))return;addPreconnect(\"https://img.youtube.com\");addPreconnect(\"https://i.ytimg.com\");addPreconnect(\"https://www.youtube-nocookie.com\");},[videos]);React.useEffect(()=>{if(videos.length===0){setActiveIndex(0);setPlayingIndex(null);return;}if(activeIndex>=videos.length){setActiveIndex(videos.length-1);setPlayingIndex(autoplay?videos.length-1:null);}},[activeIndex,autoplay,videos.length]);React.useEffect(()=>{setPlayingIndex(autoplay?activeIndex:null);},[activeIndex,autoplay]);React.useEffect(()=>{setActiveIndex(safeInitial);setPlayingIndex(autoplay?safeInitial:null);},[autoplay,safeInitial]);React.useLayoutEffect(()=>{const frame=requestAnimationFrame(()=>scrollToIndex(activeIndex,\"auto\"));return()=>cancelAnimationFrame(frame);},[activeIndex,cardWidth,containerWidth,gap,scrollToIndex,videos.length]);React.useEffect(()=>{return()=>{if(scrollTimerRef.current)clearTimeout(scrollTimerRef.current);};},[]);const handleScroll=()=>{if(mouseDragRef.current.active)return;if(scrollTimerRef.current)clearTimeout(scrollTimerRef.current);scrollTimerRef.current=setTimeout(settleOnNearest,120);};const handlePointerDown=event=>{if(event.pointerType!==\"mouse\"||event.button!==0)return;// Let the native player receive clicks and drags on its controls.\nif(event.target instanceof Element&&event.target.closest(\"video, iframe, button, input, select, textarea, a\"))return;const scroller=scrollerRef.current;if(!scroller)return;mouseDragRef.current={active:true,startX:event.clientX,startScrollLeft:scroller.scrollLeft,moved:false};setIsMouseDragging(true);scroller.setPointerCapture(event.pointerId);};const handlePointerMove=event=>{const drag=mouseDragRef.current;const scroller=scrollerRef.current;if(!drag.active||!scroller)return;const distance=event.clientX-drag.startX;if(Math.abs(distance)>4){drag.moved=true;ignoreClickRef.current=true;}scroller.scrollLeft=drag.startScrollLeft-distance;};const finishMouseDrag=event=>{const scroller=scrollerRef.current;if(!mouseDragRef.current.active||!scroller)return;mouseDragRef.current.active=false;setIsMouseDragging(false);if(scroller.hasPointerCapture(event.pointerId))scroller.releasePointerCapture(event.pointerId);settleOnNearest();window.setTimeout(()=>{ignoreClickRef.current=false;},0);};const selectVideo=index=>{if(ignoreClickRef.current)return;notifyChange(index);scrollToIndex(index);};const move=direction=>{if(videos.length<2)return;const next=(activeIndex+direction+videos.length)%videos.length;notifyChange(next);scrollToIndex(next);};if(videos.length===0){return /*#__PURE__*/_jsx(\"section\",{ref:rootRef,style:{...style,width:\"100%\",minHeight:320,display:\"grid\",placeItems:\"center\",borderRadius:radius,background:backgroundColor,color:captionColor,fontFamily:\"Montserrat, sans-serif\",fontSize:14},children:\"Add videos in the Framer properties panel\"});}return /*#__PURE__*/_jsxs(\"section\",{ref:rootRef,style:{...style,width:\"100%\",minWidth:0,overflow:\"hidden\",boxSizing:\"border-box\",background:backgroundColor,fontFamily:\"Montserrat, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{ref:scrollerRef,onScroll:handleScroll,onPointerDown:handlePointerDown,onPointerMove:handlePointerMove,onPointerUp:finishMouseDrag,onPointerCancel:finishMouseDrag,style:{display:\"flex\",alignItems:\"center\",gap,width:\"100%\",height:cardHeight+16,paddingLeft:edgePadding,paddingRight:edgePadding,overflowX:\"auto\",overflowY:\"hidden\",boxSizing:\"border-box\",scrollSnapType:isMouseDragging?\"none\":\"x mandatory\",scrollBehavior:\"smooth\",WebkitOverflowScrolling:\"touch\",touchAction:\"pan-x pan-y\",cursor:isMouseDragging?\"grabbing\":\"grab\",scrollbarWidth:\"none\",msOverflowStyle:\"none\"},className:\"tga-centred-video-scroller\",children:videos.map((video,index)=>{const isActive=index===activeIndex;const directSource=getDirectVideoSource(video);const youtubeId=directSource?null:getYouTubeId(video.youtubeUrl);const thumbnailSources=getThumbnailSources(video);const thumbnail=thumbnailSources[0]||null;const thumbnailSrcSet=getImageSrcSet(video.thumbnail);const thumbnailAlt=getImageAlt(video.thumbnail);const hasPlayableSource=Boolean(youtubeId||directSource);const isPlaying=isActive&&playingIndex===index;const isNearActive=Math.abs(index-activeIndex)<=1;return /*#__PURE__*/_jsxs(\"div\",{ref:node=>{itemRefs.current[index]=node;},\"data-index\":index,role:isActive?undefined:\"button\",tabIndex:isActive?-1:0,\"aria-label\":isActive?undefined:`Show ${video.title||`video ${index+1}`}`,onClick:()=>!isActive&&selectVideo(index),onKeyDown:event=>{if(!isActive&&(event.key===\"Enter\"||event.key===\" \")){event.preventDefault();selectVideo(index);}},style:{position:\"relative\",flex:`0 0 ${cardWidth}px`,width:cardWidth,height:cardHeight,overflow:\"hidden\",borderRadius:radius,border:`1px solid ${borderColor}`,boxSizing:\"border-box\",scrollSnapAlign:\"center\",scrollSnapStop:\"always\",background:thumbnailSources.length>0?\"transparent\":video.fallbackColor||\"transparent\",opacity:isActive?1:sideOpacity,transform:`scale(${isActive?1:sideScale})`,transition:isMouseDragging?\"none\":\"transform 320ms cubic-bezier(.2,.8,.2,1), opacity 320ms ease\",cursor:isActive?\"default\":\"pointer\",isolation:\"isolate\",contain:\"layout paint\"},children:[thumbnailSources.length>0&&/*#__PURE__*/_jsx(PosterImage,{sources:thumbnailSources,srcSet:thumbnailSrcSet,sizes:isMobile?`${mobileCardWidth}vw`:`${Math.ceil(cardWidth)}px`,alt:thumbnailAlt||video.title||\"Video preview\",priority:isActive?\"high\":isNearActive?\"auto\":\"low\",syncDecode:isActive},thumbnailSources.join(\"|\")),isPlaying&&youtubeId&&/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube-nocookie.com/embed/${youtubeId}?autoplay=1&mute=${autoplay&&muteAutoplay?1:0}&playsinline=1&rel=0&loop=${loop?1:0}${loop?`&playlist=${youtubeId}`:\"\"}`,title:video.title||`Video ${index+1}`,allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\",allowFullScreen:true,loading:\"eager\",onLoad:event=>{event.currentTarget.style.opacity=\"1\";event.currentTarget.style.pointerEvents=\"auto\";},style:{position:\"absolute\",inset:0,zIndex:1,display:\"block\",width:\"100%\",height:\"100%\",border:0,opacity:0,pointerEvents:\"none\",transition:\"opacity 120ms ease\",background:\"transparent\"}},`${youtubeId}-${activeIndex}`),isPlaying&&directSource&&/*#__PURE__*/_jsx(\"video\",{className:\"tga-centred-direct-video\",src:directSource,\"aria-label\":video.title||`Video ${index+1}`,poster:thumbnail||undefined,controls:true,autoPlay:true,muted:autoplay&&muteAutoplay,loop:loop,playsInline:true,preload:\"auto\",onCanPlay:event=>{event.currentTarget.style.opacity=\"1\";event.currentTarget.style.pointerEvents=\"auto\";},style:{position:\"absolute\",inset:0,zIndex:1,display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",opacity:0,pointerEvents:\"none\",transition:\"opacity 120ms ease\",background:\"transparent\"}},`${directSource}-${activeIndex}`),!thumbnail&&isActive&&directSource&&!isPlaying&&/*#__PURE__*/_jsx(\"video\",{src:directSource,muted:true,playsInline:true,preload:\"metadata\",style:{display:\"block\",width:\"100%\",height:\"100%\",objectFit:\"cover\",pointerEvents:\"none\"}}),!isActive&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,display:\"grid\",placeItems:\"center\",background:\"rgba(0,0,0,.16)\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:42,height:42,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.52)\",boxShadow:\"0 3px 14px rgba(0,0,0,.2)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:7})})}),isActive&&hasPlayableSource&&!isPlaying&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":`Play ${video.title||`video ${index+1}`}`,onClick:event=>{event.stopPropagation();if(!ignoreClickRef.current)setPlayingIndex(index);},style:{position:\"absolute\",inset:0,zIndex:2,display:\"grid\",placeItems:\"center\",padding:0,border:0,background:\"rgba(0,0,0,.12)\",cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:60,height:60,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.58)\",boxShadow:\"0 5px 18px rgba(0,0,0,.24)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:9})})}),isActive&&!hasPlayableSource&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,display:\"grid\",placeItems:\"center\",background:\"rgba(0,0,0,.12)\"},children:/*#__PURE__*/_jsx(\"span\",{style:{width:58,height:58,display:\"grid\",placeItems:\"center\",borderRadius:\"50%\",background:\"rgba(0,0,0,.55)\"},children:/*#__PURE__*/_jsx(PlayIcon,{size:9})})})]},`${index}-${directSource||video.youtubeUrl||video.title||\"video\"}`);})}),arrowsVisible&&videos.length>1&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Previous video\",onClick:()=>move(-1),style:{position:\"absolute\",zIndex:5,top:\"50%\",left:isMobile?10:`max(10px, calc(50% - ${cardWidth/2+Math.min(42,gap+28)}px))`,width:38,height:38,display:\"grid\",placeItems:\"center\",padding:0,border:0,borderRadius:\"50%\",transform:isMobile?\"translateY(-50%)\":\"translate(-50%, -50%)\",background:arrowBackground,cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(Chevron,{direction:\"left\",color:arrowColor})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":\"Next video\",onClick:()=>move(1),style:{position:\"absolute\",zIndex:5,top:\"50%\",right:isMobile?10:`max(10px, calc(50% - ${cardWidth/2+Math.min(42,gap+28)}px))`,width:38,height:38,display:\"grid\",placeItems:\"center\",padding:0,border:0,borderRadius:\"50%\",transform:isMobile?\"translateY(-50%)\":\"translate(50%, -50%)\",background:arrowBackground,cursor:\"pointer\",appearance:\"none\"},children:/*#__PURE__*/_jsx(Chevron,{direction:\"right\",color:arrowColor})})]})]}),showDots&&videos.length>1&&/*#__PURE__*/_jsx(\"div\",{role:\"tablist\",\"aria-label\":\"Choose a video\",style:{display:\"flex\",justifyContent:\"center\",alignItems:\"center\",flexWrap:\"wrap\",gap:8,paddingTop:12},children:videos.map((video,index)=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",role:\"tab\",\"aria-selected\":index===activeIndex,\"aria-label\":`Show ${video.title||`video ${index+1}`}`,onClick:()=>selectVideo(index),style:{width:index===activeIndex?26:8,height:8,padding:0,border:0,borderRadius:999,background:index===activeIndex?activeDotColor:dotColor,transition:\"width 220ms ease, background 220ms ease\",cursor:\"pointer\",appearance:\"none\"}},`dot-${index}`))}),showCaption&&activeVideo?.title&&/*#__PURE__*/_jsx(\"div\",{\"aria-live\":\"polite\",style:{paddingTop:14,paddingLeft:20,paddingRight:20,color:captionColor,fontSize:captionSize,lineHeight:1.4,fontWeight:600,textAlign:\"center\"},children:activeVideo.title}),/*#__PURE__*/_jsx(\"style\",{children:`\n                video.tga-centred-direct-video:fullscreen {\n                    object-fit: contain !important;\n                    background: #000 !important;\n                }\n                video.tga-centred-direct-video:-webkit-full-screen {\n                    object-fit: contain !important;\n                    background: #000 !important;\n                }\n                .tga-centred-video-scroller::-webkit-scrollbar {\n                    display: none;\n                }\n            `})]});}TGACentredVideoCarousel.defaultProps={videos:[{title:\"Inside our quality checks\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#27500A\"},{title:\"Meet the people behind our safety promise\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#3B6D11\"},{title:\"How we keep children safe every day\",youtubeUrl:\"\",videoUrl:\"\",videoFile:\"\",fallbackColor:\"#854F0B\"}],initialVideo:2,aspectRatio:\"9:16\",desktopCardWidth:330,mobileCardWidth:72,mobileBreakpoint:600,gap:28,radius:20,sideScale:.84,sideOpacity:.52,backgroundColor:\"rgba(255,255,255,0)\",borderColor:\"rgba(39,80,10,.18)\",arrowColor:\"#27500A\",arrowBackground:\"rgba(255,255,255,.94)\",dotColor:\"rgba(39,80,10,.28)\",activeDotColor:\"#27500A\",captionColor:\"#27500A\",captionSize:16,showArrows:true,showArrowsOnMobile:false,showDots:true,showCaption:true,autoplay:false,muteAutoplay:true,loop:false};addPropertyControls(TGACentredVideoCarousel,{videos:{type:ControlType.Array,title:\"Videos\",maxCount:12,control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\"},videoUrl:{type:ControlType.String,title:\"Direct URL\",defaultValue:\"\",placeholder:\"https://your-video-domain.com/video.mp4\",description:\"Public video file URL from Cloudflare R2. Takes priority over Upload and YouTube. Add a thumbnail for the preview cards.\"},youtubeUrl:{type:ControlType.Link,title:\"YouTube\"},videoFile:{type:ControlType.File,title:\"Upload\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},thumbnail:{type:ControlType.ResponsiveImage,title:\"Thumbnail\"},fallbackColor:{type:ControlType.Color,title:\"Fallback\"}}}},initialVideo:{type:ControlType.Number,title:\"Start Video\",min:1,max:12,step:1,displayStepper:true},aspectRatio:{type:ControlType.Enum,title:\"Video Ratio\",options:[\"9:16\",\"4:5\",\"1:1\",\"16:9\"],optionTitles:[\"Portrait 9:16\",\"Portrait 4:5\",\"Square\",\"Landscape 16:9\"],displaySegmentedControl:false},desktopCardWidth:{type:ControlType.Number,title:\"Card Width\",min:180,max:600,step:1},mobileCardWidth:{type:ControlType.Number,title:\"Mobile Width\",min:55,max:92,step:1,unit:\"%\"},mobileBreakpoint:{type:ControlType.Number,title:\"Mobile At\",min:320,max:900,step:1,unit:\"px\"},gap:{type:ControlType.Number,title:\"Gap\",min:0,max:80,step:1},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:80,step:1},sideScale:{type:ControlType.Number,title:\"Side Scale\",min:.6,max:1,step:.01},sideOpacity:{type:ControlType.Number,title:\"Side Opacity\",min:.15,max:1,step:.01},backgroundColor:{type:ControlType.Color,title:\"Background\"},borderColor:{type:ControlType.Color,title:\"Border\"},arrowColor:{type:ControlType.Color,title:\"Arrow\"},arrowBackground:{type:ControlType.Color,title:\"Arrow BG\"},dotColor:{type:ControlType.Color,title:\"Dots\"},activeDotColor:{type:ControlType.Color,title:\"Active Dot\"},captionColor:{type:ControlType.Color,title:\"Caption\"},captionSize:{type:ControlType.Number,title:\"Caption Size\",min:10,max:36,step:1,hidden:props=>!props.showCaption},showArrows:{type:ControlType.Boolean,title:\"Arrows\"},showArrowsOnMobile:{type:ControlType.Boolean,title:\"Mobile Arrows\",hidden:props=>!props.showArrows},showDots:{type:ControlType.Boolean,title:\"Dots\"},showCaption:{type:ControlType.Boolean,title:\"Caption\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\"},muteAutoplay:{type:ControlType.Boolean,title:\"Mute Auto\",hidden:props=>!props.autoplay},loop:{type:ControlType.Boolean,title:\"Loop\"},onVideoChange:{type:ControlType.EventHandler}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TGACentredVideoCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoGallery.map"],"mappings":"A,6NAA+J,SAASkB,GAAM,EAAM,EAAI,EAAI,CAAC,OAAO,KAAK,IAAI,KAAK,IAAIC,EAAMC,CAAG,EAAEC,CAAG,CAAE,CAAC,SAASC,EAAa,EAAI,CAAC,GAAG,CAACC,EAAI,OAAO,KAAK,IAAMC,EAAMD,EAAI,MAAM,uGAAuG,EAAE,OAAOC,EAAMA,EAAM,GAAG,IAAK,CAAC,SAASC,EAAqB,EAAM,CAAC,OAAOC,GAAO,UAAU,KAAK,GAAGA,GAAO,WAAW,KAAK,GAAG,IAAK,CAAC,SAASC,EAAe,EAAM,CAAuB,OAAlBR,EAAyB,OAAOA,GAAQ,SAASA,EAAMA,EAAM,KAAK,KAArD,IAA0D,CAAC,SAASS,GAAe,EAAM,CAAC,GAAIT,GAAO,OAAOA,GAAQ,SAA0B,OAAOA,EAAM,QAAQ,IAAA,EAAU,CAAC,SAASU,GAAY,EAAM,CAAC,GAAIV,GAAO,OAAOA,GAAQ,SAA0B,OAAOA,EAAM,KAAK,IAAA,EAA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