{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/pqerinLpAFbWbpplSWVA/gdZfNNqXuI1zOKzcdkfK/rLdDiQzHx.js", "ssg:https://framerusercontent.com/modules/SCUZVJDr4K1pvDSHwHyG/v7fsjkYQIXMT2ESmVylk/BipolarNoKey.js"],
  "sourcesContent": ["// Generated by Framer (3ce81f8)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const MotionDivWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.div));const cycleOrder=[\"FN5iHL24W\",\"xcXQNYNgz\",\"eYlQ39smY\"];const serializationHash=\"framer-TDmBl\";const variantClassNames={eYlQ39smY:\"framer-v-uon7gs\",FN5iHL24W:\"framer-v-135nl64\",xcXQNYNgz:\"framer-v-133qy4v\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={duration:0,type:\"tween\"};const transition2={delay:0,duration:.3,ease:[.44,0,.56,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transition3={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation2={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Default:\"FN5iHL24W\",Hidden:\"eYlQ39smY\",Loading:\"xcXQNYNgz\"};const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"FN5iHL24W\",Wld3NDzSj:click??props.Wld3NDzSj};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,Wld3NDzSj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"FN5iHL24W\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapn9xadi=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Wld3NDzSj){const res=await Wld3NDzSj(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"eYlQ39smY\")return false;return true;};const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed1=()=>{if(baseVariant===\"xcXQNYNgz\")return false;return true;};const isDisplayed2=()=>{if(baseVariant===\"xcXQNYNgz\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:isDisplayed()&&/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-135nl64\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"FN5iHL24W\",onTap:onTapn9xadi,ref:refBinding,style:{backgroundColor:\"var(--token-dfe88354-89bc-4ddc-be9d-fa2676709d25, rgb(36, 113, 107))\",borderBottomLeftRadius:30,borderBottomRightRadius:30,borderTopLeftRadius:30,borderTopRightRadius:30,...style},...addPropertyOverrides({xcXQNYNgz:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[isDisplayed1()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Load More\"})}),className:\"framer-1jph8hl\",fonts:[\"Inter-SemiBold\"],layoutDependency:layoutDependency,layoutId:\"yJ6cTU1Nm\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed2()&&/*#__PURE__*/_jsx(MotionDivWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-qvokat\",\"data-framer-appear-id\":\"qvokat\",\"data-framer-name\":\"Spinner\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"FKgcRnjSq\",optimized:true,style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation2,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition3,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-rkgnwr\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"MIyW7IajI\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 0deg, rgb(255, 255, 255) 342deg)\"},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-e4rryq\",\"data-framer-name\":\"Round\",layoutDependency:layoutDependency,layoutId:\"Ld8h1vS6s\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1}})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-TDmBl.framer-d177o2, .framer-TDmBl .framer-d177o2 { display: block; }\",\".framer-TDmBl.framer-135nl64 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px; position: relative; width: 100px; }\",\".framer-TDmBl .framer-1jph8hl { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-TDmBl .framer-qvokat { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); overflow: visible; position: relative; width: 20px; }\",\".framer-TDmBl .framer-rkgnwr { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-TDmBl .framer-e4rryq { flex: none; height: 2px; left: calc(50.00000000000002% - 2px / 2); overflow: visible; position: absolute; top: 0px; width: 2px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-TDmBl.framer-135nl64 { gap: 0px; } .framer-TDmBl.framer-135nl64 > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-TDmBl.framer-135nl64 > :first-child { margin-left: 0px; } .framer-TDmBl.framer-135nl64 > :last-child { margin-right: 0px; } }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 100\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"xcXQNYNgz\":{\"layout\":[\"fixed\",\"fixed\"]},\"eYlQ39smY\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"Wld3NDzSj\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerrLdDiQzHx=withCSS(Component,css,\"framer-TDmBl\");export default FramerrLdDiQzHx;FramerrLdDiQzHx.displayName=\"Load More 2\";FramerrLdDiQzHx.defaultProps={height:40,width:100};addPropertyControls(FramerrLdDiQzHx,{variant:{options:[\"FN5iHL24W\",\"xcXQNYNgz\",\"eYlQ39smY\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum},Wld3NDzSj:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerrLdDiQzHx,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/1ZFS7N918ojhhd0nQWdj3jz4w.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerrLdDiQzHx\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"40\",\"framerVariables\":\"{\\\"Wld3NDzSj\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"xcXQNYNgz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"eYlQ39smY\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"100\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./rLdDiQzHx.map", "import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Main component implementation\nfunction YouTubePlaylistPlayer({playlistId,playlistTitle,titleSize,titleWeight,titleColor,showScrollIndicators,deviceType}){const[videos,setVideos]=useState([]);const[currentIndex,setCurrentIndex]=useState(0);const[player,setPlayer]=useState(null);const[playerReady,setPlayerReady]=useState(false);const[loading,setLoading]=useState(true);const[canScrollLeft,setCanScrollLeft]=useState(false);const[canScrollRight,setCanScrollRight]=useState(true);const playerContainerRef=useRef(null);const thumbnailsContainerRef=useRef(null);// Load the YouTube IFrame API\nuseEffect(()=>{// Only load the script once\nif(!window.YT){const tag=document.createElement(\"script\");tag.src=\"https://www.youtube.com/iframe_api\";const firstScriptTag=document.getElementsByTagName(\"script\")[0];firstScriptTag.parentNode.insertBefore(tag,firstScriptTag);// Setup the callback for when API is ready\nwindow.onYouTubeIframeAPIReady=initializePlayer;}else if(window.YT&&window.YT.Player){// If already loaded, initialize directly\ninitializePlayer();}return()=>{// Cleanup\nif(player&&player.destroy){player.destroy();}};},[playlistId])// Re-initialize when playlist ID changes\n;// Add scroll detection\nuseEffect(()=>{const checkScroll=()=>{if(!thumbnailsContainerRef.current)return;const{scrollLeft,scrollWidth,clientWidth}=thumbnailsContainerRef.current;setCanScrollLeft(scrollLeft>0);setCanScrollRight(scrollLeft+clientWidth<scrollWidth-5)// 5px buffer\n;};const container=thumbnailsContainerRef.current;if(container){container.addEventListener(\"scroll\",checkScroll);// Initial check\ncheckScroll();// Also check after videos load\nif(videos.length>0){checkScroll();}}return()=>{if(container){container.removeEventListener(\"scroll\",checkScroll);}};},[videos,thumbnailsContainerRef.current]);// Initialize the player once API and DOM are ready\nconst initializePlayer=()=>{if(!playerContainerRef.current||!window.YT||!window.YT.Player)return;// Clear any existing player\nif(player&&player.destroy){player.destroy();}// Create new player element\nconst playerElement=document.createElement(\"div\");playerElement.id=\"youtube-player-\"+Math.random().toString(36).substr(2,9);playerContainerRef.current.innerHTML=\"\";playerContainerRef.current.appendChild(playerElement);try{const newPlayer=new window.YT.Player(playerElement.id,{height:\"100%\",width:\"100%\",playerVars:{listType:\"playlist\",list:playlistId,rel:0},events:{onReady:onPlayerReady,onStateChange:onPlayerStateChange}});setPlayer(newPlayer);}catch(err){console.error(\"Error initializing YouTube player:\",err);setLoading(false);}};// Handle player ready event\nconst onPlayerReady=event=>{setPlayerReady(true);// Get playlist data when player is ready\nif(event.target&&typeof event.target.getPlaylist===\"function\"){try{const playlist=event.target.getPlaylist()||[];const playlistData=[];// Create placeholder data for each video\nfor(let i=0;i<playlist.length;i++){playlistData.push({id:playlist[i],title:`Video ${i+1}`});}setVideos(playlistData);}catch(err){console.error(\"Error getting playlist:\",err);}}setLoading(false);};// Handle player state change\nconst onPlayerStateChange=event=>{// Update current index when video changes\nif(playerReady&&player&&typeof player.getPlaylistIndex===\"function\"){try{const newIndex=player.getPlaylistIndex();if(newIndex!==currentIndex&&newIndex!==-1){setCurrentIndex(newIndex);// Auto-scroll to make current video visible if needed\nsetTimeout(()=>{if(thumbnailsContainerRef.current){const container=thumbnailsContainerRef.current;const currentThumbnail=container.children[0].children[newIndex];if(currentThumbnail){const containerRect=container.getBoundingClientRect();const thumbnailRect=currentThumbnail.getBoundingClientRect();// If thumbnail is outside the visible area\nif(thumbnailRect.left<containerRect.left||thumbnailRect.right>containerRect.right){currentThumbnail.scrollIntoView({behavior:\"smooth\",block:\"nearest\",inline:\"center\"});}}}},300);}}catch(err){console.error(\"Error updating current index:\",err);}}};// Handle clicking on a video thumbnail\nconst handleVideoSelect=index=>{if(playerReady&&player&&typeof player.playVideoAt===\"function\"){try{player.playVideoAt(index);setCurrentIndex(index);}catch(err){console.error(\"Error selecting video:\",err);}}};// Handle scroll button clicks\nconst scrollThumbnails=direction=>{if(thumbnailsContainerRef.current){const container=thumbnailsContainerRef.current;// Adjust scroll amount based on device type\nlet scrollAmount;switch(deviceType){case\"mobile\":scrollAmount=320// About 2 thumbnails on mobile\n;break;case\"tablet\":scrollAmount=360// About 2 thumbnails on tablet\n;break;default:scrollAmount=400// About 2 thumbnails on desktop\n;}const targetScroll=container.scrollLeft+(direction===\"left\"?-scrollAmount:scrollAmount);container.scrollTo({left:targetScroll,behavior:\"smooth\"});}};// Use inline styles instead of problematic class names\nconst getContainerPadding=()=>{switch(deviceType){case\"mobile\":return\"0 8px\";case\"tablet\":return\"0 12px\";default:return\"0 16px\";}};const containerStyle={width:\"100%\",maxWidth:deviceType===\"mobile\"?\"100%\":deviceType===\"tablet\"?\"768px\":\"1280px\",margin:\"0 auto\",padding:getContainerPadding()};const videoContainerStyle={position:\"relative\",paddingBottom:\"0\",marginBottom:\"16px\",marginTop:!playlistTitle||playlistTitle.trim()===\"\"?\"0\":\"-4px\"};const aspectRatioStyle={position:\"relative\",width:\"100%\",paddingBottom:\"56.25%\",overflow:\"hidden\",backgroundColor:\"black\",borderRadius:\"8px\",boxShadow:\"0 4px 6px rgba(0, 0, 0, 0.1)\"};const playerStyle={position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\"};// Title styling for custom playlist title\nconst getTitleSize=()=>{// Adjust title size based on device type\nlet size=titleSize;if(deviceType===\"mobile\"){size=Math.max(16,titleSize-6)// Smaller on mobile, minimum 16px\n;}else if(deviceType===\"tablet\"){size=Math.max(18,titleSize-4)// Slightly smaller on tablet, minimum 18px\n;}return`${size}px`;};const titleStyle={fontSize:getTitleSize(),fontWeight:titleWeight,color:titleColor,marginBottom:deviceType===\"mobile\"?\"12px\":\"16px\",marginTop:deviceType===\"mobile\"?\"12px\":\"16px\"};const scrollContainerWrapperStyle={position:\"relative\",marginBottom:\"40px\",paddingBottom:\"36px\"};const thumbnailsContainerStyle={overflowX:\"auto\",paddingBottom:\"16px\",paddingTop:\"8px\",paddingLeft:\"8px\",paddingRight:\"8px\",scrollbarWidth:\"thin\",scrollbarColor:\"#cbd5e1 #f1f5f9\",position:\"relative\",// Hide scrollbar for Chrome/Safari/Opera\nmsOverflowStyle:\"none\"/* IE and Edge */,scrollbarWidth:\"none\"/* Firefox */};// CSS styles defined at component level\nconst leftGradientStyle={position:\"absolute\",top:0,bottom:0,left:0,width:\"40px\",background:\"linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))\",pointerEvents:\"none\",zIndex:1,opacity:canScrollLeft?1:0,transition:\"opacity 0.3s ease\"};const rightGradientStyle={position:\"absolute\",top:0,bottom:0,right:0,width:\"40px\",background:\"linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0))\",pointerEvents:\"none\",zIndex:1,opacity:canScrollRight?1:0,transition:\"opacity 0.3s ease\"};const getButtonSize=()=>{return deviceType===\"mobile\"?\"32px\":\"36px\";};const scrollButtonBaseStyle={position:\"absolute\",bottom:\"0\",zIndex:2,width:getButtonSize(),height:getButtonSize(),backgroundColor:\"#3b6f6b\",borderRadius:\"50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",boxShadow:\"0 2px 6px rgba(0, 0, 0, 0.15)\",border:\"none\",cursor:\"pointer\",transition:\"opacity 0.3s ease, transform 0.2s ease\"};const leftButtonStyle={...scrollButtonBaseStyle,left:\"12px\",opacity:canScrollLeft&&showScrollIndicators?1:0,pointerEvents:canScrollLeft&&showScrollIndicators?\"auto\":\"none\"};const rightButtonStyle={...scrollButtonBaseStyle,right:\"12px\",opacity:canScrollRight&&showScrollIndicators?1:0,pointerEvents:canScrollRight&&showScrollIndicators?\"auto\":\"none\"};// Set responsive values based on device type\nconst getThumbnailWidth=()=>{switch(deviceType){case\"mobile\":return\"160px\";case\"tablet\":return\"180px\";default:return\"200px\";}};const getGapSize=()=>{switch(deviceType){case\"mobile\":return\"8px\";case\"tablet\":return\"12px\";default:return\"16px\";}};const thumbnailRowStyle={display:\"flex\",gap:getGapSize()};const getThumbnailStyle=isActive=>({flexShrink:0,width:getThumbnailWidth(),cursor:\"pointer\",transition:\"all 0.2s\",transform:isActive?\"scale(1.05)\":\"scale(1)\",borderRadius:\"6px\",border:isActive?\"2px solid #3b82f6\":\"none\",boxShadow:isActive?\"0 4px 8px rgba(59, 130, 246, 0.25)\":\"0 2px 4px rgba(0, 0, 0, 0.05)\",marginBottom:\"0\"});const thumbnailImageContainerStyle={position:\"relative\",paddingBottom:\"56.25%\",backgroundColor:\"#e5e7eb\",borderRadius:\"6px\",overflow:\"hidden\"};const thumbnailImageStyle={position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\"};const thumbnailOverlayStyle={position:\"absolute\",inset:0,backgroundColor:\"rgba(0, 0, 0, 0.2)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"};const playIconStyle={width:\"40px\",height:\"40px\",backgroundColor:\"rgba(255, 255, 255, 0.8)\",borderRadius:\"50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"};// Remove the thumbnail titles by removing this style\nconst thumbnailTitleStyle=null;const loadingItemStyle={flexShrink:0,width:getThumbnailWidth(),animation:\"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite\"};const noVideosStyle={backgroundColor:\"#f3f4f6\",padding:\"16px\",borderRadius:\"8px\",textAlign:\"center\",color:\"#6b7280\"};// Removed scroll hint style\nreturn /*#__PURE__*/_jsxs(\"div\",{style:containerStyle,children:[playlistTitle&&playlistTitle.trim()!==\"\"&&/*#__PURE__*/_jsx(\"h2\",{style:titleStyle,children:playlistTitle}),/*#__PURE__*/_jsx(\"div\",{style:videoContainerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:aspectRatioStyle,children:/*#__PURE__*/_jsx(\"div\",{ref:playerContainerRef,style:playerStyle})})}),/*#__PURE__*/_jsx(\"div\",{style:{marginTop:\"24px\",marginBottom:\"16px\"},children:/*#__PURE__*/_jsxs(\"div\",{style:scrollContainerWrapperStyle,children:[showScrollIndicators&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:leftGradientStyle}),/*#__PURE__*/_jsx(\"div\",{style:rightGradientStyle}),/*#__PURE__*/_jsx(\"button\",{style:leftButtonStyle,onClick:()=>scrollThumbnails(\"left\"),\"aria-label\":\"Scroll left\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M15 18L9 12L15 6\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"button\",{style:rightButtonStyle,onClick:()=>scrollThumbnails(\"right\"),\"aria-label\":\"Scroll right\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M9 6L15 12L9 18\",stroke:\"white\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})})]}),loading?/*#__PURE__*/_jsx(\"div\",{style:thumbnailsContainerStyle,className:\"yt-playlist-scrollbar\",children:/*#__PURE__*/_jsx(\"div\",{style:thumbnailRowStyle,children:[...Array(5)].map((_,i)=>/*#__PURE__*/_jsx(\"div\",{style:loadingItemStyle,children:/*#__PURE__*/_jsx(\"div\",{style:thumbnailImageContainerStyle})},i))})}):videos.length===0?/*#__PURE__*/_jsx(\"div\",{style:noVideosStyle,children:/*#__PURE__*/_jsx(\"p\",{children:\"No videos found in this playlist\"})}):/*#__PURE__*/_jsx(\"div\",{ref:thumbnailsContainerRef,style:thumbnailsContainerStyle,className:\"yt-playlist-scrollbar\",children:/*#__PURE__*/_jsx(\"div\",{style:thumbnailRowStyle,children:videos.map((video,index)=>/*#__PURE__*/_jsx(\"div\",{style:getThumbnailStyle(currentIndex===index),onClick:()=>handleVideoSelect(index),children:/*#__PURE__*/_jsxs(\"div\",{style:thumbnailImageContainerStyle,children:[/*#__PURE__*/_jsx(\"img\",{src:`https://i.ytimg.com/vi/${video.id}/mqdefault.jpg`,alt:video.title,style:thumbnailImageStyle}),/*#__PURE__*/_jsx(\"div\",{style:thumbnailOverlayStyle,children:/*#__PURE__*/_jsx(\"div\",{style:playIconStyle,children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",viewBox:\"0 0 24 24\",fill:\"#dc2626\",width:\"24\",height:\"24\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 5v14l11-7z\"})})})})]})},video.id||index))})})]})})]});}// Define scrollbar styles outside of component for proper scope\nconst scrollbarHideStyle=`\n  .yt-playlist-scrollbar::-webkit-scrollbar {\n    height: 8px;\n  }\n  \n  .yt-playlist-scrollbar::-webkit-scrollbar-track {\n    background: #f1f5f9;\n    border-radius: 4px;\n  }\n  \n  .yt-playlist-scrollbar::-webkit-scrollbar-thumb {\n    background-color: #cbd5e1;\n    border-radius: 4px;\n  }\n  \n  @keyframes pulse {\n    0%, 100% {\n      opacity: 1;\n    }\n    50% {\n      opacity: .5;\n    }\n  }\n`;// Main export for Framer\nexport default function YouTubePlaylistPlayerFramer(props){return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:scrollbarHideStyle}),/*#__PURE__*/_jsx(YouTubePlaylistPlayer,{...props})]});}// Add Framer property controls\naddPropertyControls(YouTubePlaylistPlayerFramer,{deviceType:{title:\"Device Type\",type:ControlType.Enum,options:[\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Desktop\",\"Tablet\",\"Mobile\"],defaultValue:\"desktop\"},playlistId:{title:\"Playlist ID\",type:ControlType.String,defaultValue:\"PLmXxqSJJq-yUfrjvKe5c5LX_VpVGUeHSp\",placeholder:\"Enter YouTube playlist ID\"},playlistTitle:{title:\"Custom Title\",type:ControlType.String,defaultValue:\"\",placeholder:\"Enter playlist title (leave empty for no title)\"},titleSize:{title:\"Title Size\",type:ControlType.Number,defaultValue:24,min:12,max:48,step:1,displayStepper:true},titleWeight:{title:\"Title Weight\",type:ControlType.Enum,options:[300,400,500,600,700,800],optionTitles:[\"Light\",\"Regular\",\"Medium\",\"Semi-Bold\",\"Bold\",\"Extra-Bold\"],defaultValue:600},titleColor:{title:\"Title Color\",type:ControlType.Color,defaultValue:\"#1f2937\"},showScrollIndicators:{title:\"Scroll Indicators\",type:ControlType.Boolean,defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"YouTubePlaylistPlayerFramer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BipolarNoKey.map"],
  "mappings": "oTAC+W,IAAMA,GAAgBC,EAAOC,EAAO,GAAG,EAAQC,GAAyCC,GAA0BH,EAAOC,EAAO,GAAG,CAAC,EAAQG,GAAW,CAAC,YAAY,YAAY,WAAW,EAAQC,GAAkB,eAAqBC,GAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,kBAAkB,EAAE,SAASC,GAAqBC,KAAaC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAE,OAAAD,GAAU,QAAQE,GAASA,GAAS,OAAO,OAAOD,EAAcF,EAAUG,CAAO,CAAC,CAAC,EAASD,CAAc,CAAC,IAAME,GAAY,CAAC,SAAS,EAAE,KAAK,OAAO,EAAQC,GAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,OAAO,EAAQC,GAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAWD,GAAY,EAAE,EAAE,EAAE,CAAC,EAAQE,GAAW,CAAC,QAAQ,KAAK,OAAO,EA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AK,aAAa,OAAO,cAAc,MAAM,CAAC,CAAC",
  "names": ["MotionDivWithFX", "withFX", "motion", "MotionDivWithFXWithOptimizedAppearEffect", "withOptimizedAppearEffect", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "transition2", "animation", "animation1", "transition3", "animation2", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "x", "humanReadableVariantMap", "getProps", "click", "height", "id", "width", "props", "createLayoutDependency", "Component", "Y", "ref", "fallbackRef", "pe", "refBinding", "defaultLayoutId", "ae", "activeLocale", "setLocale", "useLocaleInfo", "componentViewport", "useComponentViewport", "style", "className", "layoutId", "Wld3NDzSj", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "activeVariantCallback", "delay", "useActiveVariantCallback", "onTapn9xadi", "args", "sharedStyleClassNames", "isDisplayed", "scopingClassNames", "cx", "isDisplayed1", "isDisplayed2", "LayoutGroup", "u", "RichText2", "css", "FramerrLdDiQzHx", "withCSS", "rLdDiQzHx_default", "addPropertyControls", "ControlType", "addFonts", "YouTubePlaylistPlayer", "playlistId", "playlistTitle", "titleSize", "titleWeight", "titleColor", "showScrollIndicators", "deviceType", "videos", "setVideos", "ye", "currentIndex", "setCurrentIndex", "player", "setPlayer", "playerReady", "setPlayerReady", "loading", "setLoading", "canScrollLeft", "setCanScrollLeft", "canScrollRight", "setCanScrollRight", "playerContainerRef", "pe", "thumbnailsContainerRef", "ue", "window", "initializePlayer", "tag", "firstScriptTag", "checkScroll", "scrollLeft", "scrollWidth", "clientWidth", "container", "playerElement", "newPlayer", "onPlayerReady", "onPlayerStateChange", "err", "event", "playlist", "playlistData", "i", "newIndex", "currentThumbnail", "containerRect", "thumbnailRect", "handleVideoSelect", "index", "scrollThumbnails", "direction", "scrollAmount", "targetScroll", "containerStyle", "videoContainerStyle", "aspectRatioStyle", "playerStyle", "titleStyle", "size", "scrollContainerWrapperStyle", "thumbnailsContainerStyle", "leftGradientStyle", "rightGradientStyle", "getButtonSize", "scrollButtonBaseStyle", "leftButtonStyle", "rightButtonStyle", "getThumbnailWidth", "thumbnailRowStyle", "getThumbnailStyle", "isActive", "thumbnailImageContainerStyle", "thumbnailImageStyle", "thumbnailOverlayStyle", "playIconStyle", "thumbnailTitleStyle", "loadingItemStyle", "noVideosStyle", "u", "p", "l", "_", "video", "scrollbarHideStyle", "YouTubePlaylistPlayerFramer", "props", "addPropertyControls", "ControlType"]
}
