{"version":3,"file":"Auto_Color_Display.B4kcIrb6.mjs","names":["useState","_Fragment","l"],"sources":["https:/framerusercontent.com/modules/DjdJ4kxGBlUBxim1B1rS/rlAW3a5dvkwZm8ypGIe9/Auto_Color_Display.js"],"sourcesContent":["// Color visualizer with automatic color naming from API\nfunction _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else{obj[key]=value;}return obj;}import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Global toast manager singleton\nclass ToastManager{static getInstance(){if(!ToastManager.instance){ToastManager.instance=new ToastManager;}return ToastManager.instance;}addToast(message,duration=2e3){const now=Date.now();// Debounce rapid clicks\nif(now-this.lastToastTime<this.debounceDelay){return;}this.lastToastTime=now;// Remove oldest toast if we're at the limit\nif(this.toasts.length>=this.maxToasts){const oldestToast=this.toasts[0];this.removeToast(oldestToast.id);}const id=`toast-${++this.toastCounter}-${Date.now()}`;const toast={id,message,timestamp:Date.now(),isExiting:false};this.toasts.push(toast);this.notifyListeners();setTimeout(()=>{this.removeToast(id);},duration);}removeToast(id){// Mark toast as exiting first\nconst toastIndex=this.toasts.findIndex(toast=>toast.id===id);if(toastIndex!==-1){this.toasts[toastIndex].isExiting=true;this.notifyListeners();// Remove after animation completes\nsetTimeout(()=>{this.toasts=this.toasts.filter(toast=>toast.id!==id);this.notifyListeners();},200);}}subscribe(listener){this.listeners.push(listener);return()=>{this.listeners=this.listeners.filter(l=>l!==listener);};}setContainerMounted(mounted){this.containerMounted=mounted;}isContainerMounted(){return this.containerMounted;}notifyListeners(){this.listeners.forEach(listener=>listener([...this.toasts]));}constructor(){_define_property(this,\"toasts\",[]);_define_property(this,\"listeners\",[]);_define_property(this,\"toastCounter\",0);_define_property(this,\"containerMounted\",false);_define_property(this,\"lastToastTime\",0);_define_property(this,\"debounceDelay\",300// Prevent rapid clicking\n);_define_property(this,\"maxToasts\",3// Limit maximum toasts\n);}}_define_property(ToastManager,\"instance\",void 0);// Global toast container component\nfunction GlobalToastContainer({toastBackgroundColor,toastTextColor,toastFont}){const[toasts,setToasts]=useState([]);useEffect(()=>{const toastManager=ToastManager.getInstance();toastManager.setContainerMounted(true);const unsubscribe=toastManager.subscribe(setToasts);return()=>{toastManager.setContainerMounted(false);unsubscribe();};},[]);if(toasts.length===0)return null;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",bottom:\"20px\",left:\"50%\",transform:\"translateX(-50%)\",zIndex:1e4,display:\"flex\",flexDirection:\"column-reverse\",gap:\"8px\",pointerEvents:\"none\",padding:\"0 16px\"},children:[toasts.map((toast,index)=>{const reverseIndex=toasts.length-1-index;const offset=reverseIndex*4;const scale=Math.max(.95,1-reverseIndex*.05);const opacity=Math.max(.8,1-reverseIndex*.1);// Apply exit animation if toast is exiting\nconst exitTransform=toast.isExiting?\"translateY(100%) scale(0.8)\":`translateY(-${offset}px) scale(${scale})`;const exitOpacity=toast.isExiting?0:opacity;return /*#__PURE__*/_jsx(\"div\",{style:{backgroundColor:toastBackgroundColor,color:toastTextColor,padding:\"12px 16px\",borderRadius:\"8px\",border:\"1px solid rgba(255, 255, 255, 0.1)\",backdropFilter:\"blur(8px)\",...toastFont,transform:exitTransform,opacity:exitOpacity,transition:\"all 0.2s cubic-bezier(0.32, 0.72, 0, 1)\",transformOrigin:\"center bottom\",animation:index===toasts.length-1&&!toast.isExiting?\"slideInUp 0.2s cubic-bezier(0.32, 0.72, 0, 1)\":\"none\",maxWidth:\"100%\",wordBreak:\"break-word\"},children:toast.message},toast.id);}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    @keyframes slideInUp {\n                        from {\n                            transform: translateY(100%) scale(0.95);\n                            opacity: 0;\n                        }\n                        to {\n                            transform: translateY(0) scale(1);\n                            opacity: 1;\n                        }\n                    }\n                `})]});}/**\n * Color Visualizer\n * \n * Displays a color swatch with its automatically generated name from palettespro.com API\n *\n * @framerIntrinsicWidth 300\n * @framerIntrinsicHeight 200\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function AutoColorDisplay(props){const{color,displayMode,backgroundColor,textColor,font,borderRadius,codeFormat=\"hex\",enableCopy=false,hoverOpacity=.8,shapeCopyFormat=\"hex\",toastSettings={showToast:true,toastDuration:2e3,toastBackgroundColor:\"#000000\",toastTextColor:\"#FFFFFF\",toastFont:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}}}=props;const[colorName,setColorName]=useState(\"Loading...\");const[isLoading,setIsLoading]=useState(true);const[isHovered,setIsHovered]=useState(false);useEffect(()=>{if(typeof window===\"undefined\"){startTransition(()=>{setColorName(\"Color Name\");setIsLoading(false);});return;}const fetchColorName=async()=>{startTransition(()=>setIsLoading(true));try{// Convert color to hex format if it's in RGB\nlet hexCode=color;if(color.startsWith(\"rgb\")){hexCode=rgbToHex(color);}// Remove # from hex code for API\nhexCode=hexCode.replace(\"#\",\"\");console.log(\"Fetching color name for:\",hexCode);const response=await fetch(`https://www.thecolorapi.com/id?hex=${hexCode}`);if(!response.ok){throw new Error(`API returned ${response.status}`);}const data=await response.json();console.log(\"API Response:\",data);// Extract name from thecolorapi.com response\nconst name=data.name?.value||\"Unknown Color\";console.log(\"Extracted name:\",name);startTransition(()=>{setColorName(name);setIsLoading(false);});}catch(error){console.error(\"Error fetching color name:\",error);startTransition(()=>{setColorName(\"Error loading name\");setIsLoading(false);});}};fetchColorName();},[color]);const hexToRgb=hex=>{const result=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);if(!result)return\"rgb(0, 0, 0)\";const r=parseInt(result[1],16);const g=parseInt(result[2],16);const b=parseInt(result[3],16);return`rgb(${r}, ${g}, ${b})`;};const rgbToHex=rgb=>{const result=rgb.match(/\\d+/g);if(!result||result.length<3)return\"#000000\";const r=parseInt(result[0]);const g=parseInt(result[1]);const b=parseInt(result[2]);return\"#\"+[r,g,b].map(x=>{const hex=x.toString(16);return hex.length===1?\"0\"+hex:hex;}).join(\"\").toUpperCase();};const getDisplayColor=()=>{if(codeFormat===\"hex\"){// If color is already in HEX format, return it\nif(color.startsWith(\"#\")){return color.toUpperCase();}// If color is in RGB format, convert to HEX\nif(color.startsWith(\"rgb\")){return rgbToHex(color);}return color.toUpperCase();}else{// Convert to RGB\nif(color.startsWith(\"#\")){return hexToRgb(color);}// Already RGB\nreturn color;}};const getHexValue=()=>{if(color.startsWith(\"#\")){return color.toUpperCase();}if(color.startsWith(\"rgb\")){return rgbToHex(color);}return color.toUpperCase();};const getRgbValue=()=>{if(color.startsWith(\"#\")){return hexToRgb(color);}return color;};const getCopyValue=()=>{if(displayMode===\"name\"){return colorName;}else if(displayMode===\"code\"){return getDisplayColor();}else if(displayMode===\"shape\"){if(shapeCopyFormat===\"hex\"){return getHexValue();}else if(shapeCopyFormat===\"rgb\"){return getRgbValue();}else{return colorName;}}return\"\";};const handleClick=async()=>{if(!enableCopy||typeof window===\"undefined\")return;try{const valueToCopy=getCopyValue();let copySuccess=false;// Try modern clipboard API first (works in secure contexts)\nif(navigator.clipboard&&window.isSecureContext){try{await navigator.clipboard.writeText(valueToCopy);copySuccess=true;}catch(clipboardError){console.warn(\"Clipboard API failed:\",clipboardError);copySuccess=false;}}// Fallback method for non-secure contexts or when clipboard API fails\nif(!copySuccess){try{// Create a temporary textarea element\nconst textArea=document.createElement(\"textarea\");textArea.value=valueToCopy;// Make it invisible but accessible\ntextArea.style.position=\"fixed\";textArea.style.left=\"-999999px\";textArea.style.top=\"-999999px\";textArea.style.opacity=\"0\";textArea.style.pointerEvents=\"none\";textArea.setAttribute(\"readonly\",\"\");textArea.setAttribute(\"contenteditable\",\"true\");document.body.appendChild(textArea);// For iOS Safari\nif(navigator.userAgent.match(/ipad|ipod|iphone/i)){textArea.contentEditable=\"true\";textArea.readOnly=false;const range=document.createRange();range.selectNodeContents(textArea);const selection=window.getSelection();selection?.removeAllRanges();selection?.addRange(range);textArea.setSelectionRange(0,999999);}else{textArea.select();textArea.setSelectionRange(0,999999);}// Try to copy using execCommand\nconst successful=document.execCommand(\"copy\");document.body.removeChild(textArea);if(successful){copySuccess=true;}else{throw new Error(\"execCommand failed\");}}catch(fallbackError){console.error(\"Fallback copy method failed:\",fallbackError);copySuccess=false;}}if(copySuccess){console.log(\"Copied to clipboard:\",valueToCopy);if(toastSettings.showToast){const toastManager=ToastManager.getInstance();toastManager.addToast(`Copied: ${valueToCopy}`,toastSettings.toastDuration);}}else{throw new Error(\"All copy methods failed\");}}catch(error){console.error(\"Failed to copy to clipboard:\",error);// Show error toast if enabled\nif(toastSettings.showToast){const toastManager=ToastManager.getInstance();toastManager.addToast(\"Failed to copy\",toastSettings.toastDuration);}}};const isFixedWidth=props?.style&&props.style.width===\"100%\";const isFixedHeight=props?.style&&props.style.height===\"100%\";// Only render toast container if showToast is enabled and no container is already mounted\nconst shouldRenderToastContainer=toastSettings.showToast&&typeof window!==\"undefined\"&&!ToastManager.getInstance().isContainerMounted();return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{...props.style,position:\"relative\",display:\"flex\",flexDirection:\"column\",gap:16,backgroundColor:\"transparent\",overflow:\"hidden\",...isFixedWidth?{}:{minWidth:\"max-content\"},...isFixedHeight?{}:{minHeight:\"max-content\"},cursor:enableCopy?\"pointer\":\"default\",opacity:isHovered&&enableCopy?hoverOpacity:1,transition:\"opacity 0.2s ease\"},onClick:handleClick,onMouseEnter:()=>enableCopy&&setIsHovered(true),onMouseLeave:()=>enableCopy&&setIsHovered(false),children:[displayMode===\"shape\"&&/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:color,borderRadius},\"aria-label\":`Color swatch: ${color}`}),displayMode===\"name\"&&/*#__PURE__*/_jsx(\"div\",{style:{...font,color:textColor,opacity:isLoading?.5:1},children:colorName}),displayMode===\"code\"&&/*#__PURE__*/_jsx(\"div\",{style:{...font,color:textColor},children:getDisplayColor()})]}),shouldRenderToastContainer&&/*#__PURE__*/_jsx(GlobalToastContainer,{toastBackgroundColor:toastSettings.toastBackgroundColor,toastTextColor:toastSettings.toastTextColor,toastFont:toastSettings.toastFont})]});}addPropertyControls(AutoColorDisplay,{color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FF5588\"},displayMode:{type:ControlType.Enum,title:\"Display Mode\",options:[\"name\",\"code\",\"shape\"],optionTitles:[\"Text\",\"Code\",\"Color\"],defaultValue:\"name\",displaySegmentedControl:true},codeFormat:{type:ControlType.Enum,title:\"Code Format\",options:[\"hex\",\"rgb\"],optionTitles:[\"HEX\",\"RGB\"],defaultValue:\"hex\",displaySegmentedControl:true,hidden:({displayMode})=>displayMode!==\"code\"},enableCopy:{type:ControlType.Boolean,title:\"Copy on Click\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},hoverOpacity:{type:ControlType.Number,title:\"Hover Opacity\",defaultValue:.8,min:.1,max:1,step:.1,hidden:({enableCopy})=>!enableCopy},shapeCopyFormat:{type:ControlType.Enum,title:\"Copy Format\",options:[\"hex\",\"name\",\"rgb\"],optionTitles:[\"HEX\",\"Name\",\"RGB\"],defaultValue:\"hex\",displaySegmentedControl:true,hidden:({displayMode,enableCopy})=>displayMode!==\"shape\"||!enableCopy},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\",hidden:({displayMode})=>displayMode===\"shape\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"},hidden:({displayMode})=>displayMode===\"shape\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:12,min:0,max:32,step:1,unit:\"px\",hidden:({displayMode})=>displayMode!==\"shape\"},toastSettings:{type:ControlType.Object,title:\"Toast Settings\",description:\"Explore [more components](https://dub.sh/Explore-more).\\n\\nMade by [Till Janek](https://dub.sh/made-by-tilljanek).\",controls:{showToast:{type:ControlType.Boolean,title:\"Show Toast\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},toastDuration:{type:ControlType.Number,title:\"Duration\",defaultValue:2e3,min:500,max:5e3,step:100,unit:\"ms\"},toastBackgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"},toastTextColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},toastFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}}},hidden:({enableCopy})=>!enableCopy}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AutoColorDisplay\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"300\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"200\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Auto_Color_Display.map"],"mappings":"kNACA,SAAS,EAAiB,EAAI,EAAI,EAAM,CAAmI,OAA/H,KAAO,EAAK,OAAO,eAAe,EAAI,EAAI,CAAO,QAAM,WAAW,GAAK,aAAa,GAAK,SAAS,GAAK,CAAC,CAAO,EAAI,GAAK,EAAc,EAQlL,SAAS,EAAqB,CAAC,uBAAqB,iBAAe,aAAW,CAAC,GAAK,CAAC,EAAO,GAAWA,EAAS,EAAE,CAAC,CAAmQ,OAAlQ,MAAc,CAAC,IAAM,EAAa,EAAa,aAAa,CAAC,EAAa,oBAAoB,GAAK,CAAC,IAAM,EAAY,EAAa,UAAU,EAAU,CAAC,UAAU,CAAC,EAAa,oBAAoB,GAAM,CAAC,GAAa,GAAK,EAAE,CAAC,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