{"version":3,"file":"Drop_Cap.DXSTfaTC.mjs","names":["useRef","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/54J5l8TqFteY3ISE5GXc/UBd0VNfPy8qwd4m3NUHq/AssignClass.js","https:/framerusercontent.com/modules/fONf9xpEnRB5fhZ36jxV/PFQw4hQn5StRPC8BS3iZ/NumberAnimator.js","https:/framerusercontent.com/modules/HMyjsSr29z4KNcbdeAch/5vAXrL5fY2b9qI9tVehF/CircularLayout.js","https:/framerusercontent.com/modules/5sZVOMSl4BQXd5zTUdAP/3xBU3VFHtLtvwqo5dopd/Drop_Cap.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function assignClass(Component){return props=>{props.className+=\" bentoText\"// Remember to add a space\n;return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"assignClass\":{\"type\":\"reactHoc\",\"name\":\"assignClass\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AssignClass.map","import{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,animate,useInView}from\"framer-motion\";import{useEffect,useState,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function NumberAnimator(props){const ref=useRef(null);const isInView=useInView(ref,{once:!props.animation.replay,amount:\"some\"});const[numberText,setNumberText]=useState(\"\");const{start,end,decimals,commas,rounding,fontColor,animation}=props;const[currentAnimation,setCurrentAnimation]=useState(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;function formatNumber(value){let number=value;let numberString=number.toFixed(decimals);if(commas){numberString=numberString.replace(/\\B(?=(\\d{3})+(?!\\d))/g,\",\");}return numberString;}function runAnimation(){if(!isCanvas){if(currentAnimation){currentAnimation.stop();}setCurrentAnimation(animate(start,end,{...animation.transition,onUpdate:latest=>{setNumberText(formatNumber(latest));}}));}}useEffect(()=>{if(animation.trigger==\"appear\"){runAnimation();}setNumberText(formatNumber(start));},[]);useEffect(()=>{if(isInView&&animation.trigger==\"layerInView\"){runAnimation();}},[isInView]);useEffect(()=>{if(animation.trigger==\"layerInView\"){if(isInView){runAnimation();}else{if(currentAnimation){currentAnimation.stop();}setNumberText(formatNumber(start));}}},[isInView]);return /*#__PURE__*/_jsxs(motion.p,{ref:ref,style:{userSelect:props.textSelect?\"auto\":\"none\",fontVariantNumeric:`${props.monospace?\"tabular-nums \":\"\"}${props.slashedZeros?\"slashed-zero\":\"\"}`,margin:0,...fontColor.mode==\"solid\"?{color:fontColor.color}:{WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundImage:`linear-gradient(${fontColor.angle}deg, ${fontColor.startColor}, ${fontColor.endColor})`},...props.font,...props.style},children:[props.prefix,isCanvas?formatNumber(end):numberText,props.suffix]});}NumberAnimator.displayName=\"Animated Number Counter\";addPropertyControls(NumberAnimator,{start:{type:ControlType.Number,defaultValue:0},end:{type:ControlType.Number,defaultValue:100},decimals:{type:ControlType.Number,defaultValue:0,min:0,max:3,step:1},commas:{type:ControlType.Boolean,defaultValue:true},fontColor:{type:ControlType.Object,controls:{mode:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"gradient\"],optionTitles:[\"Solid\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:\"#000\",hidden:props=>props.mode!=\"solid\"},startColor:{type:ControlType.Color,defaultValue:\"#000\",hidden:props=>props.mode!=\"gradient\"},endColor:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.mode!=\"gradient\"},angle:{type:ControlType.Number,defaultValue:180,min:-360,max:360,unit:\"\\xb0\",hidden:props=>props.mode!=\"gradient\"}}},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:16,lineHeight:1}},animation:{type:ControlType.Object,icon:\"effect\",controls:{trigger:{type:ControlType.Enum,defaultValue:\"layerInView\",options:[\"appear\",\"layerInView\"],optionTitles:[\"Appear\",\"Layer in View\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},replay:{type:ControlType.Boolean,defaultValue:true,hidden(props){return props.trigger!==\"layerInView\";}},transition:{type:ControlType.Transition}}},prefix:{type:ControlType.String},suffix:{type:ControlType.String},textSelect:{type:ControlType.Boolean,defaultValue:true},display:{type:ControlType.Object,buttonTitle:\"Options\",controls:{monospace:{type:ControlType.Boolean,defaultValue:false,description:\"Monospaced number characters.\"},slashedZeros:{type:ControlType.Boolean,defaultValue:false,description:\"Adds a diagonal slash through zeros if your font supports it.\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NumberAnimator\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NumberAnimator.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{motion,animate,useMotionValue,useTransform}from\"framer-motion\";import{useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function CircularLayout(props){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const{animation}=props;const angle=props.randomAngle?0:props.angle;const rotation=useMotionValue(!isCanvas&&props.randomize?Math.random()*360:0);useEffect(()=>{if(!isCanvas&&animation){animate(rotation,rotation.get()+(animation.direction===\"cw\"?360:-360),{type:\"tween\",duration:animation.duration,ease:\"linear\",repeat:Infinity});}},[animation]);const orientation=props.orientation;const layers=props.layers;const count=layers.length;let layout=[];for(let i=0;i<layers.length;i++){var _props_style;layout.push(/*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\"},children:/*#__PURE__*/_jsx(LayoutItem,{angle:360/count*i+angle,distance:props.distance,unit:props.unit,orientation:props.orientation,rotationValue:rotation,pointerEvents:(_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.pointerEvents,children:layers[i]})},i));}return /*#__PURE__*/_jsx(motion.div,{style:{position:\"relative\",overflow:props.overflow,rotate:useTransform(rotation,value=>`${value}deg`),...props.style},children:layout});}CircularLayout.displayName=\"Circular Layout\";addPropertyControls(CircularLayout,{layers:{type:ControlType.Array,control:{type:ControlType.ComponentInstance}},orientation:{type:ControlType.Enum,defaultValue:\"up\",options:[\"up\",\"in\",\"out\"],optionTitles:[\"Up\",\"In\",\"Out\"],displaySegmentedControl:true},randomAngle:{type:ControlType.Boolean,defaultValue:false},angle:{type:ControlType.Number,defaultValue:0,min:-360,max:360,unit:\"\\xb0\",hidden(props){return props.randomAngle;}},distance:{type:ControlType.Number,defaultValue:50,min:0},unit:{type:ControlType.Enum,defaultValue:\"px\",options:[\"px\",\"%\",\"vw\",\"vh\"],displaySegmentedControl:true},animation:{type:ControlType.Object,optional:true,icon:\"effect\",controls:{duration:{type:ControlType.Number,defaultValue:10,min:.1,step:.1,displayStepper:true,description:\"Seconds to rotate 360\\xb0\"},direction:{type:ControlType.Enum,defaultValue:\"cw\",options:[\"cw\",\"ccw\"],optionTitles:[\"Clockwise\",\"Counterclockwise\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"}}},overflow:{type:ControlType.Enum,defaultValue:\"visible\",options:[\"visible\",\"hidden\",\"auto\"],optionTitles:[\"Visible\",\"Hidden\",\"Scroll\"]}});function LayoutItem({children,angle,distance,unit,orientation,rotationValue,pointerEvents}){const transformBase=`rotate(${orientation==\"up\"?-angle:orientation==\"in\"?90:-90}deg)`;let transform=useTransform(rotationValue,value=>`${transformBase} rotate(${-value}deg)`);return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,transform:`rotate(${angle}deg) translate(${distance}${unit})`,pointerEvents:\"none\"},children:/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:\"50%\",left:\"50%\",translate:\"-50% -50%\",transform:orientation==\"up\"?transform:transformBase,pointerEvents:pointerEvents!==null&&pointerEvents!==void 0?pointerEvents:\"auto\"},children:children})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CircularLayout\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CircularLayout.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";const dropCapPrefix=\"Lines:\";export function DropCap(Component){return props=>{const name=props[\"data-framer-name\"];if(name===null||name===void 0?void 0:name.startsWith(dropCapPrefix)){const height=name.replace(new RegExp(\"^\"+dropCapPrefix),\"\").trim();const id=\"a\"+Math.floor(Math.random()*1e7).toString();return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(Component,{...props,id:id}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    @supports (initial-letter: 2) {\n                        #${id} p:first-child:first-letter {\n                            initial-letter: ${height};\n                            margin-right: ${.2*height}em;\n                        }    \n                    }`})]});}return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"DropCap\":{\"type\":\"reactHoc\",\"name\":\"DropCap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Drop_Cap.map"],"mappings":"gRAA2C,SAAgB,EAAY,EAAU,CAAC,MAAO,KAAQ,EAAM,WAAW,aAC7F,EAAK,EAAU,CAAC,GAAG,EAAM,CAAC,mBADJ,ICGxC,SAAwB,EAAe,EAAM,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAO,EAAS,EAAU,EAAI,CAAC,KAAK,CAAC,EAAM,UAAU,OAAO,OAAO,OAAO,CAAC,CAAM,CAAC,EAAW,GAAeC,EAAS,GAAG,CAAM,CAAC,QAAM,MAAI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