{"version":3,"file":"CodeBlock.BeKApHcu.mjs","names":["useState","useCallback","code","useMemo","themeColors","_Fragment"],"sources":["https:/framerusercontent.com/modules/va3gWnZDbb7poNXUg4J6/LVe2gYWplkWR1EvtiVfD/i1Fl6fZRM.js","https:/framerusercontent.com/modules/dBmmyBgVdkH4TghuXMs6/1awxmZCFkKQHUIr3n3cK/CodeBlock.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 3 0 L 0 3 L 3 6\" fill=\"transparent\" height=\"6px\" id=\"zluEVcqho\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(7 9)\" width=\"3px\"/><path d=\"M 0 6 L 3 3 L 0 0\" fill=\"transparent\" height=\"6px\" id=\"aqx9I_B_5\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(14 9)\" width=\"3px\"/><path d=\"M 2 18 C 0.895 18 0 17.105 0 16 L 0 2 C 0 0.895 0.895 0 2 0 L 16 0 C 17.105 0 18 0.895 18 2 L 18 16 C 18 17.105 17.105 18 16 18 Z\" fill=\"transparent\" height=\"18px\" id=\"fdYzsd1Ct\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(3 3)\" width=\"18px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"1148706136\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-3RHUZ\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-3RHUZ { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Square Code\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-3RHUZ\");Icon.displayName=\"Square Code\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVector\":\"{\\\"name\\\":\\\"Square Code\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"24\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Code block component with syntax highlighting, theme selection, language detection, and copy functionality\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useState,useEffect,useMemo,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const themes={dark:{background:\"#1e1e1e\",text:\"#d4d4d4\",keyword:\"#569cd6\",string:\"#ce9178\",comment:\"#6a9955\",function:\"#dcdcaa\",number:\"#b5cea8\",operator:\"#d4d4d4\",punctuation:\"#d4d4d4\"},light:{background:\"#ffffff\",text:\"#000000\",keyword:\"#0000ff\",string:\"#a31515\",comment:\"#008000\",function:\"#795e26\",number:\"#098658\",operator:\"#000000\",punctuation:\"#000000\"},monokai:{background:\"#272822\",text:\"#f8f8f2\",keyword:\"#f92672\",string:\"#e6db74\",comment:\"#75715e\",function:\"#a6e22e\",number:\"#ae81ff\",operator:\"#f92672\",punctuation:\"#f8f8f2\"},dracula:{background:\"#282a36\",text:\"#f8f8f2\",keyword:\"#ff79c6\",string:\"#f1fa8c\",comment:\"#6272a4\",function:\"#50fa7b\",number:\"#bd93f9\",operator:\"#ff79c6\",punctuation:\"#f8f8f2\"},github:{background:\"#f6f8fa\",text:\"#24292e\",keyword:\"#d73a49\",string:\"#032f62\",comment:\"#6a737d\",function:\"#6f42c1\",number:\"#005cc5\",operator:\"#d73a49\",punctuation:\"#24292e\"}};/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function CodeBlock(props){const{code='function hello() {\\n  console.log(\"Hello, World!\");\\n}',language=\"javascript\",autoDetect=false,theme=\"dark\",font,backgroundColor,textColor,border,borderRadius,padding,showCopyButton=true,showButtonText=true,buttonBackgroundColor,buttonTextColor,buttonFont,buttonBorderRadius,copiedMessage=\"Copied!\",style}=props;const[copied,setCopied]=useState(false);const[detectedLanguage,setDetectedLanguage]=useState(language);const detectLanguage=useCallback(code=>{if(!code.trim())return\"javascript\";if(code.includes(\"function\")||code.includes(\"const\")||code.includes(\"let\")){if(code.includes(\"=>\")||code.includes(\"async\"))return\"javascript\";if(code.includes(\": \")&&code.includes(\"interface\"))return\"typescript\";}if(code.includes(\"def \")||code.includes(\"import \")||code.includes(\"print(\"))return\"python\";if(code.includes(\"public class\")||code.includes(\"public static void\"))return\"java\";if(code.includes(\"{\")&&code.includes(\"}\")&&code.includes(\":\"))return\"json\";if(code.includes(\"<\")&&code.includes(\">\"))return\"jsx\";if(code.includes(\"#\")&&code.includes(\"```\"))return\"markdown\";if(code.includes(\"$\")||code.includes(\"#!/bin/bash\"))return\"bash\";return\"javascript\";},[]);useEffect(()=>{if(autoDetect){const detected=detectLanguage(code);startTransition(()=>setDetectedLanguage(detected));}else{startTransition(()=>setDetectedLanguage(language));}},[code,language,autoDetect,detectLanguage]);const highlightedCode=useMemo(()=>{const themeColors=themes[theme]||themes.dark;// Escape HTML first\nlet escaped=code.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\");// Tokenize the code to prevent regex from matching inside already highlighted spans\nconst tokens=[];let remaining=escaped;// Match patterns in order of precedence\nconst patterns=[{type:\"comment\",regex:/(\\/\\/.*$|\\/\\*[\\s\\S]*?\\*\\/|#.*$)/gm},{type:\"string\",regex:/([\"'`])(?:(?=(\\\\?))\\2.)*?\\1/g},{type:\"keyword\",regex:/\\b(function|const|let|var|if|else|return|import|export|class|interface|type|async|await|for|while|switch|case|break|continue|try|catch|finally|throw|new|this|super|extends|implements|public|private|protected|static|def|print|from|as)\\b/g},{type:\"number\",regex:/\\b(\\d+\\.?\\d*)\\b/g},{type:\"function\",regex:/\\b([a-zA-Z_]\\w*)\\s*(?=\\()/g}];// Create a map of all matches with their positions\nconst matches=[];patterns.forEach(({type,regex})=>{let match;const r=new RegExp(regex.source,regex.flags);while((match=r.exec(escaped))!==null){matches.push({start:match.index,end:match.index+match[0].length,type,value:match[0]});}});// Sort matches by start position\nmatches.sort((a,b)=>a.start-b.start);// Remove overlapping matches (keep first match)\nconst filteredMatches=[];let lastEnd=-1;matches.forEach(match=>{if(match.start>=lastEnd){filteredMatches.push(match);lastEnd=match.end;}});// Build highlighted string\nlet highlighted=\"\";let currentPos=0;filteredMatches.forEach(match=>{// Add text before match\nhighlighted+=escaped.substring(currentPos,match.start);// Add highlighted match\nconst color=themeColors[match.type]||themeColors.text;highlighted+=`<span style=\"color: ${color}\">${match.value}</span>`;currentPos=match.end;});// Add remaining text\nhighlighted+=escaped.substring(currentPos);return highlighted;},[code,detectedLanguage,theme]);const handleCopy=useCallback(()=>{if(typeof window!==\"undefined\"&&navigator.clipboard){navigator.clipboard.writeText(code).then(()=>{startTransition(()=>setCopied(true));setTimeout(()=>{startTransition(()=>setCopied(false));},2e3);});}},[code]);const themeColors=themes[theme]||themes.dark;const finalBackgroundColor=backgroundColor||themeColors.background;const finalTextColor=textColor||themeColors.text;return /*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",backgroundColor:finalBackgroundColor,borderRadius,padding,overflow:\"auto\",...border,...style},children:[showCopyButton&&/*#__PURE__*/_jsx(\"button\",{onClick:handleCopy,style:{position:\"absolute\",top:2,right:12,backgroundColor:buttonBackgroundColor,color:buttonTextColor,border:\"none\",borderRadius:buttonBorderRadius,padding:showButtonText?\"8px 16px\":\"8px\",cursor:\"pointer\",zIndex:10,display:\"flex\",alignItems:\"center\",gap:\"6px\",transition:\"all 0.3s ease\",overflow:\"hidden\",...buttonFont},\"aria-label\":\"Copy code\",children:copied?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0},children:/*#__PURE__*/_jsx(\"path\",{d:\"M13.5 4.5L6 12L2.5 8.5\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})}),showButtonText&&/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\",opacity:1,transition:\"opacity 0.3s ease\"},children:copiedMessage})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",xmlns:\"http://www.w3.org/2000/svg\",style:{flexShrink:0},children:[/*#__PURE__*/_jsx(\"rect\",{x:\"5.5\",y:\"5.5\",width:\"8\",height:\"8\",rx:\"1\",stroke:\"currentColor\",strokeWidth:\"1.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 10.5H2.5C2.22386 10.5 2 10.2761 2 10V3C2 2.72386 2.22386 2.5 2.5 2.5H9.5C9.77614 2.5 10 2.72386 10 3V4\",stroke:\"currentColor\",strokeWidth:\"1.5\"})]}),showButtonText&&/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\",opacity:1,transition:\"opacity 0.3s ease\"},children:\"Copy\"})]})}),/*#__PURE__*/_jsx(\"pre\",{style:{margin:0,padding:0,color:finalTextColor,...font,whiteSpace:\"pre-wrap\",wordBreak:\"break-word\"},children:/*#__PURE__*/_jsx(\"code\",{dangerouslySetInnerHTML:{__html:highlightedCode}})})]});}addPropertyControls(CodeBlock,{code:{type:ControlType.String,title:\"Code\",defaultValue:'function hello() {\\n  console.log(\"Hello, World!\");\\n}',displayTextArea:true},autoDetect:{type:ControlType.Boolean,title:\"Auto Detect\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},language:{type:ControlType.Enum,title:\"Language\",options:[\"javascript\",\"typescript\",\"jsx\",\"tsx\",\"css\",\"python\",\"java\",\"json\",\"markdown\",\"bash\"],optionTitles:[\"JavaScript\",\"TypeScript\",\"JSX\",\"TSX\",\"CSS\",\"Python\",\"Java\",\"JSON\",\"Markdown\",\"Bash\"],defaultValue:\"javascript\",hidden:({autoDetect})=>autoDetect},theme:{type:ControlType.Enum,title:\"Theme\",options:[\"dark\",\"light\",\"monokai\",\"dracula\",\"github\"],optionTitles:[\"Dark\",\"Light\",\"Monokai\",\"Dracula\",\"GitHub\"],defaultValue:\"dark\"},font:{type:ControlType.Font,title:\"Code Font\",defaultValue:{fontSize:\"14px\",letterSpacing:\"0em\",lineHeight:\"1.5em\"},controls:\"extended\",defaultFontType:\"monospace\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#1e1e1e\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#d4d4d4\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"rgba(255, 255, 255, 0.1)\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Radius\",defaultValue:\"8px\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"16px\"},showCopyButton:{type:ControlType.Boolean,title:\"Copy Button\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showButtonText:{type:ControlType.Boolean,title:\"Button Text\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",hidden:({showCopyButton})=>!showCopyButton},buttonBackgroundColor:{type:ControlType.Color,title:\"Button BG\",defaultValue:\"#0099FF\",hidden:({showCopyButton})=>!showCopyButton},buttonTextColor:{type:ControlType.Color,title:\"Button Text\",defaultValue:\"#FFFFFF\",hidden:({showCopyButton})=>!showCopyButton},buttonFont:{type:ControlType.Font,title:\"Button Font\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\",hidden:({showCopyButton})=>!showCopyButton},buttonBorderRadius:{type:ControlType.Number,title:\"Button Radius\",defaultValue:6,min:0,max:20,hidden:({showCopyButton})=>!showCopyButton},copiedMessage:{type:ControlType.String,title:\"Copied Text\",defaultValue:\"Copied!\",hidden:({showCopyButton})=>!showCopyButton}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CodeBlock\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CodeBlock.map"],"mappings":"yUAC2C,IAAqF,IAA4B,CAAoC,EAAK,0BAAgC,EAAkB,EAAW,SAAS,EAAM,EAAI,CAAC,OAAoB,EAAK,MAAM,CAAC,GAAG,EAAU,MAAI,SAAS,EAAM,SAAS,CAAC,EAAG,CAAO,EAAU,EAAO,OAAO,EAAK,CAAO,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAU,CAAC,GAAG,EAAc,WAAa,MAAa,WAAS,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAa,WAAS,CAAC,EA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