{"version":3,"file":"New_logo_code.CyyTFSPJ.mjs","names":["React.useId","p"],"sources":["https:/framerusercontent.com/modules/a2fBje46mCLvj1Dn67CX/5nhqVxiLnFMoMDiFWxNo/New_logo_code.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useReducedMotion,useScroll,useTransform}from\"framer-motion\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SFillOnScroll(props){const{width,scrollStart,scrollEnd,clampFill,showEmptyShape,emptyOpacity}=props;const reduceMotion=useReducedMotion();// Your exact SVG viewBox\nconst VB_W=252.83;const VB_H=494.16;const height=width*VB_H/VB_W;// Your exact paths\nconst dLeft=\"M252.83,467.88L56.74,271.67c-5.02-5.03-8.67-10.89-10.99-17.15-.58-1.54-1.08-3.09-1.46-4.67-1.01-3.93-1.53-7.95-1.53-11.98-.02-12.22,4.65-24.41,13.97-33.7.19-.19.37-.37.57-.57,4.63-4.46,9.93-7.81,15.58-10.02.07-.04.19-.08.19-.08l.49-.2.25-.09.11-.05c.66-.24,1.33-.45,1.99-.66-.64-.03-1.99-.06-1.99-.06-.35,0-.69,0-1.02,0-3.45.04-6.88.36-10.28.99-4.09.73-8.09,1.89-11.98,3.45-7.51,3-14.55,7.56-20.64,13.63-6.09,6.07-10.65,13.09-13.68,20.6-3.01,7.43-4.51,15.35-4.52,23.27,0,7.93,1.5,15.86,4.53,23.32,3.03,7.52,7.61,14.58,13.7,20.68l195.46,195.77,26.76-26.69.57.41Z\";const dRight=\"M131.47,254.97c5.67.09,15.05-.5,25.53-4.83,11.09-4.59,17.97-11.11,20.18-13.32,5.94-5.94,10.38-12.81,13.32-20.18,2.91-7.29,4.35-15.06,4.32-22.83-.04-7.78-1.57-15.55-4.57-22.89-3.01-7.38-7.54-14.32-13.55-20.33L26.12,0,0,26.12l150.7,150.7c.29.29.56.59.84.89,4.48,4.74,7.79,10.17,9.94,15.92.57,1.53,1.06,3.08,1.46,4.64.98,3.81,1.5,7.71,1.52,11.62.09,11.97-4.41,23.94-13.52,33.05-.18.18-.38.38-.56.56-4.51,4.35-9.65,7.59-15.15,9.76-.09.04-.52.21-.52.21-.12.04-.23.08-.35.14-.05.13-.09.25-.14.38-.92.33-1.83.67-2.75,1Z\";const dMiddle=\"M49.31,254.03c.02-6.14,2.37-12.28,7.08-16.98s10.86-7.03,16.99-7.03c.42,0,.84,0,1.26.03,5.72.29,11.34,2.64,15.7,7.01,6.01,6.02,12.96,10.52,20.38,13.54,3.83,1.55,7.81,2.7,11.82,3.44,2.95.54,5.93.87,8.89.97.79-.24,1.55-.5,2.31-.79l.5-.18c.17-.07.35-.14.53-.21,5.56-2.22,10.79-5.52,15.35-9.92l.57-.56c9.25-9.22,13.88-21.3,13.9-33.39.01-3.94-.45-7.87-1.44-11.7-.39-1.57-.87-3.14-1.43-4.67-2.12-5.79-6.15-11.59-10.59-16.34,4.04,4.55,6.78,10.62,6.76,16.34-.02,6.14-2.37,12.28-7.08,16.98-4.71,4.7-10.85,7.03-16.99,7.03-.45,0-.87,0-1.3-.04-5.69-.32-11.31-2.64-15.66-6.99-6.01-6.02-12.95-10.54-20.38-13.54-3.83-1.55-7.8-2.69-11.82-3.44-3.06-.56-6.15-.91-9.23-1-.66.21-1.31.42-1.97.66l-.85.33s-.13.05-.18.08c-5.61,2.22-10.85,5.53-15.44,9.96l-.57.56c-9.25,9.22-13.88,21.3-13.92,33.37-.01,3.99.49,7.96,1.48,11.85.39,1.57.87,3.11,1.43,4.62,2.25,6.18,5.87,11.97,10.82,16.93-4.65-4.68-6.96-10.8-6.93-16.92l.03.03Z\";const uid=React.useId().replace(/:/g,\"_\");const clipId=`${uid}-clipS`;const maskId=`${uid}-maskFill`;// Original gradients from your SVG\nconst g1=`${uid}-linear-gradient`;const g2=`${uid}-linear-gradient-2`;const g3=`${uid}-linear-gradient-3`;// Scroll progress (0..1 for the whole page)\nconst{scrollYProgress}=useScroll();// Map progress to fill height (top -> bottom fill)\nconst start=Math.min(scrollStart,scrollEnd);const end=Math.max(scrollStart,scrollEnd);const fill=useTransform(scrollYProgress,[start,end],[0,VB_H],{clamp:clampFill});// Reduced motion: just show full (or could show none)\nconst fillHeight=reduceMotion?VB_H:fill;return /*#__PURE__*/_jsx(\"div\",{style:{width,height,display:\"grid\",placeItems:\"center\"},children:/*#__PURE__*/_jsxs(\"svg\",{width:\"100%\",height:\"100%\",viewBox:`0 0 ${VB_W} ${VB_H}`,xmlns:\"http://www.w3.org/2000/svg\",preserveAspectRatio:\"xMidYMid meet\",children:[/*#__PURE__*/_jsxs(\"defs\",{children:[/*#__PURE__*/_jsxs(\"linearGradient\",{id:g1,x1:\"1086.01\",y1:\"743.8\",x2:\"1086.01\",y2:\"415.38\",gradientTransform:\"translate(513.95 -878.66) rotate(135.08) scale(1.03 -1.03)\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#a7e8bd\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#007afc\"})]}),/*#__PURE__*/_jsx(\"linearGradient\",{id:g2,x1:\"988.1\",y1:\"533.78\",x2:\"988.1\",y2:\"268.52\",gradientTransform:\"translate(513.06 -879.59) rotate(135) scale(1.03 -1.03)\",// @ts-ignore\nxlinkHref:`#${g1}`}),/*#__PURE__*/_jsxs(\"linearGradient\",{id:g3,x1:\"707.64\",y1:\"522.38\",x2:\"591.85\",y2:\"522.38\",gradientTransform:\"translate(-513.64 -372.14) rotate(5.07) scale(1.03) skewX(.14)\",gradientUnits:\"userSpaceOnUse\",children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:\"#06284c\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".04\",stopColor:\"#0e3167\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".1\",stopColor:\"#173d87\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".17\",stopColor:\"#1e46a2\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".24\",stopColor:\"#254eb8\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".33\",stopColor:\"#2a54c9\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".43\",stopColor:\"#2d58d5\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\".58\",stopColor:\"#2f5bdc\"}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#305cde\"})]}),/*#__PURE__*/_jsxs(\"clipPath\",{id:clipId,children:[/*#__PURE__*/_jsx(\"path\",{d:dLeft}),/*#__PURE__*/_jsx(\"path\",{d:dRight}),/*#__PURE__*/_jsx(\"path\",{d:dMiddle})]}),/*#__PURE__*/_jsxs(\"mask\",{id:maskId,children:[/*#__PURE__*/_jsx(\"rect\",{x:\"0\",y:\"0\",width:VB_W,height:VB_H,fill:\"black\"}),/*#__PURE__*/_jsx(motion.rect,{x:\"0\",y:\"0\",width:VB_W,style:{height:fillHeight},fill:\"white\"})]})]}),showEmptyShape&&/*#__PURE__*/_jsxs(\"g\",{opacity:clamp01(emptyOpacity),children:[/*#__PURE__*/_jsx(\"path\",{d:dLeft,fill:`url(#${g1})`}),/*#__PURE__*/_jsx(\"path\",{d:dRight,fill:`url(#${g2})`}),/*#__PURE__*/_jsx(\"path\",{d:dMiddle,fill:`url(#${g3})`})]}),/*#__PURE__*/_jsxs(\"g\",{clipPath:`url(#${clipId})`,mask:`url(#${maskId})`,children:[/*#__PURE__*/_jsx(\"path\",{d:dLeft,fill:`url(#${g1})`}),/*#__PURE__*/_jsx(\"path\",{d:dRight,fill:`url(#${g2})`}),/*#__PURE__*/_jsx(\"path\",{d:dMiddle,fill:`url(#${g3})`})]})]})});}function clamp01(n){return Math.max(0,Math.min(1,n));}addPropertyControls(SFillOnScroll,{width:{type:ControlType.Number,title:\"Width\",defaultValue:320,min:80,max:1600,step:1},scrollStart:{type:ControlType.Number,title:\"Scroll Start\",defaultValue:.1,min:0,max:1,step:.01},scrollEnd:{type:ControlType.Number,title:\"Scroll End\",defaultValue:.6,min:0,max:1,step:.01},clampFill:{type:ControlType.Boolean,title:\"Clamp\",defaultValue:true},showEmptyShape:{type:ControlType.Boolean,title:\"Show Empty\",defaultValue:true},emptyOpacity:{type:ControlType.Number,title:\"Empty Opacity\",defaultValue:.18,min:0,max:1,step:.01,hidden:p=>!p.showEmptyShape}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SFillOnScroll\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./New_logo_code.map"],"mappings":"uPAGG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,QAAM,cAAY,YAAU,YAAU,iBAAe,gBAAc,EAAY,EAAa,GAAkB,CAC9J,EAAK,OAAa,EAAK,OAAa,EAAO,EAAM,EAAK,EACtD,EAAM,ojBAA0jB,EAAO,mgBAAygB,EAAQ,o4BAA04B,EAAIA,GAAa,CAAC,QAAQ,KAAK,IAAI,CAAO,EAAO,GAAG,EAAI,QAAc,EAAO,GAAG,EAAI,WACtjE,EAAG,GAAG,EAAI,kBAAwB,EAAG,GAAG,EAAI,oBAA0B,EAAG,GAAG,EAAI,oBACjF,CAAC,mBAAiB,GAAW,CAC0D,EAAK,EAAa,EAAgB,CAAlH,KAAK,IAAI,EAAY,EAAU,CAAW,KAAK,IAAI,EAAY,EAAU,CAAoD,CAAC,CAAC,EAAE,EAAK,CAAC,CAAC,MAAM,EAAU,CAAC,CAC/J,EAAW,EAAa,EAAK,EAAK,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,QAAM,SAAO,QAAQ,OAAO,WAAW,SAAS,CAAC,SAAsB,EAAM,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,EAAK,GAAG,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