{"version":3,"file":"Chart_CollectionPage.BwffitqD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/PCctwx1MyOvXsYSjcumN/BGeb7TPrajPy29l67V8o/JcrolvRp9.js","https:/framerusercontent.com/modules/YrBsoJJWDTt3IhgcDCGo/gxT3wBkE1QgDyOPDwk37/Chart_CollectionPage.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 16 2 L 15 2 L 15 0 L 13 0 L 13 2 L 5 2 L 5 0 L 3 0 L 3 2 L 2 2 C 0.89 2 0.01 2.9 0.01 4 L 0 18 C 0 19.1 0.89 20 2 20 L 16 20 C 17.1 20 18 19.1 18 18 L 18 4 C 18 2.9 17.1 2 16 2 Z M 16 18 L 2 18 L 2 8 L 16 8 Z M 16 6 L 2 6 L 2 4 L 16 4 Z M 6 12 L 4 12 L 4 10 L 6 10 Z M 10 12 L 8 12 L 8 10 L 10 10 Z M 14 12 L 12 12 L 12 10 L 14 10 Z M 6 16 L 4 16 L 4 14 L 6 14 Z M 10 16 L 8 16 L 8 14 L 10 14 Z M 14 16 L 12 16 L 12 14 L 14 14 Z\" fill=\"var(--esondr, rgb(0,0,0))\" height=\"20px\" id=\"wwJyTGAQ6\" transform=\"translate(3 2)\" width=\"18px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,K5AAorpEW:fill??props.K5AAorpEW??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,K5AAorpEW,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-EqGJ7\",className),layoutId:layoutId,ref:ref,style:{\"--esondr\":K5AAorpEW,...style}});});const css=[`.framer-EqGJ7 { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--esondr); 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 {\"K5AAorpEW\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Calendar Month\",\"color\":{\"type\":\"variable\",\"value\":\"esondr\"},\"set\":{\"localId\":\"vectorSet/DnLsXE00W\",\"id\":\"DnLsXE00W\",\"moduleId\":\"JIScivAkNLgXrcOUxHXD\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-EqGJ7\");Icon.displayName=\"Calendar Month\";export default Icon;addPropertyControls(Icon,{K5AAorpEW:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"K5AAorpEW\\\":\\\"fill\\\"}\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerVector\":\"{\\\"name\\\":\\\"Calendar Month\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"esondr\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/DnLsXE00W\\\",\\\"id\\\":\\\"DnLsXE00W\\\",\\\"moduleId\\\":\\\"JIScivAkNLgXrcOUxHXD\\\"}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"24\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerIntrinsicHeight\":\"24\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n */export default function MinimalAreaChart({month1,month2,month3,month4,month5,strokeWidth,strokeColor}){const chartRef=useRef(null);useEffect(()=>{const scriptId=\"apexcharts-script\";if(!document.getElementById(scriptId)){const script=document.createElement(\"script\");script.id=scriptId;script.src=\"https://cdn.jsdelivr.net/npm/apexcharts\";script.async=true;document.head.appendChild(script);script.onload=renderChart;}else{renderChart();}function renderChart(){if(!window.ApexCharts||!chartRef.current)return;const values=[parseFloat(month1)||0,parseFloat(month2)||0,parseFloat(month3)||0,parseFloat(month4)||0,parseFloat(month5)||0];const options={chart:{type:\"area\",height:\"100%\",width:\"100%\",toolbar:{show:false},sparkline:{enabled:true}},stroke:{curve:\"smooth\",width:strokeWidth,colors:[strokeColor]},fill:{type:\"gradient\",gradient:{shadeIntensity:1,opacityFrom:.7,opacityTo:.2,stops:[0,100]}},series:[{name:\"Traffic\",data:values}],xaxis:{labels:{show:false},axisTicks:{show:false},axisBorder:{show:false}},yaxis:{show:false},grid:{show:false},dataLabels:{enabled:false},markers:{size:0},tooltip:{enabled:false}};const chart=new window.ApexCharts(chartRef.current,options);chart.render();return()=>chart.destroy();}},[month1,month2,month3,month4,month5,strokeWidth,strokeColor]);return /*#__PURE__*/_jsx(\"div\",{ref:chartRef,style:{width:\"100%\",height:\"100%\"}});}addPropertyControls(MinimalAreaChart,{month1:{type:ControlType.String,title:\"Month 1\",defaultValue:\"1000\"},month2:{type:ControlType.String,title:\"Month 2\",defaultValue:\"2000\"},month3:{type:ControlType.String,title:\"Month 3\",defaultValue:\"1500\"},month4:{type:ControlType.String,title:\"Month 4\",defaultValue:\"3000\"},month5:{type:ControlType.String,title:\"Month 5\",defaultValue:\"2500\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:2,min:1,max:10},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#00e676\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MinimalAreaChart\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Chart_CollectionPage.map"],"mappings":"wZAW0G,AAV1G,GAA2C,IAAsE,IAA4B,CAAoC,EAAK,kwBAA0wB,EAAiB,EAAW,CAAC,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,EAAK,CAAC,EAAM,OAAO,EAAsB,EAAK,EAAO,IAAI,CAAC,GAAG,EAAc,WAAa,KAAI,EAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,KAAI,EAAC,AAAE,EAAC,CAAO,EAAS,CAAC,CAAC,OAAK,SAAO,KAAG,QAAM,GAAG,EAAM,IAAU,CAAC,GAAG,EAAM,UAAU,GAAM,EAAM,WAAW,cAAe,GAAS,EAAuB,EAAiB,SAAS,EAAM,EAAI,CAAC,GAAK,CAAC,QAAM,YAAU,WAAS,UAAQ,YAAU,GAAG,EAAU,CAAC,EAAS,EAAM,CAAC,MAAoB,GAAK,EAAI,CAAC,GAAG,EAAU,UAAU,EAAG,eAAe,EAAU,CAAU,WAAa,MAAI,MAAM,CAAC,WAAW,EAAU,GAAG,CAAM,CAAC,EAAC,AAAE,EAAC,CAAO,EAAI,EAAE,gCAAgC,EAAK,4DAA4D,EAAK,iBAAkB,EAUnrD,EAAK,EAAQ,EAAU,EAAI,eAAe,CAAC,EAAK,YAAY,mBAAgC,EAAK,EAAoB,EAAK,CAAC,UAAU,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