{"version":3,"file":"SignatureAnimation.CPpngbQ1.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/MsEGZy9XhIoZpzA60soz/cVY9x5crLZyWa9ucUxgX/SignatureAnimation.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{motion,useInView}from\"framer-motion\";import{useRef}from\"react\";// ─── CONFIG ────────────────────────────────────────────\nconst DURATION=4.5;const DELAY=.2;const EASE=[.4,0,.2,1];const STROKE_COLOR=\"white\";const STROKE_WIDTH=13;// pathOffset: where along the path the draw starts (0 = very beginning, 1 = very end)\n// pathLength end point is always 1 (full path drawn by the end)\n// Example: START = 0.2 means the first 20% of the path is skipped, draw begins there\nconst START=0// ← change this to set your starting point (0–1)\n;// ───────────────────────────────────────────────────────\nconst SIGNATURE_PATH=\"M51.5693 163.782C56.4027 176.948 81.1693 197.982 141.569 176.782C217.069 150.282 295.569 123.282 460.069 5.28162L159.569 317.782C107.236 372.282 3.36934 469.882 6.56934 424.282C10.5693 367.282 86.5693 259.782 123.069 233.782C159.569 207.782 203.069 173.282 192.069 208.282C181.069 243.282 193.069 226.782 226.569 208.282C227.403 208.115 229.369 208.482 230.569 211.282C232.069 214.782 225.569 235.282 260.569 220.282C266.569 217.282 278.969 211.982 280.569 214.782C282.569 218.282 285.069 230.782 298.069 222.782C311.069 214.782 321.069 209.282 320.069 214.782C319.069 220.282 320.069 222.782 331.069 217.782C339.869 213.782 347.403 217.782 350.069 220.282C354.069 217.782 363.769 213.782 370.569 217.782C377.369 221.782 389.069 217.448 394.069 214.782V232.782M394.069 214.782C394.403 212.448 397.769 206.982 408.569 203.782M408.569 203.782C402.736 204.448 391.669 203.982 394.069 196.782C397.069 187.782 422.069 175.782 438.569 186.282C455.069 196.782 476.569 217.782 497.569 207.282M408.569 203.782C415.217 201.812 453.508 190.264 490.069 173.259M394.069 149.282C412.569 74.2816 487.569 50.7816 524.569 62.2816C548.377 69.6811 557.607 87.28 560.221 99.7816M184.569 427.282C186.569 427.282 189.403 423.615 190.569 421.782L250.069 346.614M560.221 99.7816C560.858 102.824 561.102 105.564 561.069 107.782C562.634 122.955 549.614 137.639 530.569 150.777M560.221 99.7816L517.069 114.282M560.221 99.7816C607.171 85.4483 703.069 68.2816 711.069 114.282C716.885 147.72 651.342 178.776 589.569 189.279M490.069 173.259C482.903 168.1 471.469 155.282 483.069 145.282C494.669 135.282 519.569 144.779 530.569 150.777M490.069 173.259C504.528 166.534 518.716 158.955 530.569 150.777M490.069 173.259C502.623 193.753 545.12 196.837 589.569 189.279M530.569 150.777L589.569 189.279M589.569 189.279L594.569 200.782L587.569 218.782M589.569 189.279C596.736 194.78 612.469 205.482 618.069 204.282C625.069 202.782 635.569 198.282 641.569 204.282C647.569 210.282 647.069 213.782 652.069 207.282C657.069 200.782 664.069 191.782 666.069 204.282C668.069 216.782 624.069 404.282 555.069 382.782C552.569 376.948 553.069 359.982 575.069 338.782C602.569 312.282 639.569 280.282 673.569 271.282M685.069 203.782C687.736 205.615 694.669 207.582 701.069 200.782C709.069 192.282 712.569 224.282 729.569 200.782M250.069 346.614C246.569 349.336 233.069 351.782 207.069 339.782M250.069 346.614C254.569 347.003 266.669 345.982 279.069 338.782C294.569 329.782 412.069 287.782 450.569 280.782C489.069 273.782 654.069 211.282 856.069 222.782\";export default function SignatureAnimation(){const ref=useRef(null);const isInView=useInView(ref,{once:true,margin:\"-50px\"});return /*#__PURE__*/_jsx(\"div\",{ref:ref,style:{width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"100%\",height:\"100%\",viewBox:\"0 0 863 443\",fill:\"none\",style:{overflow:\"visible\"},children:[/*#__PURE__*/_jsx(\"path\",{d:SIGNATURE_PATH,stroke:STROKE_COLOR,strokeWidth:STROKE_WIDTH,strokeLinecap:\"round\",opacity:.07}),/*#__PURE__*/_jsx(motion.path,{d:SIGNATURE_PATH,stroke:STROKE_COLOR,strokeWidth:STROKE_WIDTH,strokeLinecap:\"round\",fill:\"none\",initial:{pathLength:0,pathOffset:START,opacity:1},animate:isInView?{pathLength:1-START,pathOffset:START,opacity:1}:{pathLength:0,pathOffset:START,opacity:1},transition:{pathLength:{duration:DURATION,ease:EASE,delay:DELAY}}})]})});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SignatureAnimation\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SignatureAnimation.map"],"mappings":"iLAMy9E,SAAwB,GAAoB,CAAC,IAAM,EAAIA,EAAO,IAAI,EAAQ,EAAS,EAAU,EAAI,CAAC,KAAK,GAAK,OAAO,OAAO,CAAC,EAAE,OAAoB,EAAK,MAAM,CAAK,MAAI,MAAM,CAAC,MAAM,OAAO,OAAO,MAAM,EAAE,SAAsB,EAAM,MAAM,CAAC,MAAM,6BAA6B,MAAM,OAAO,OAAO,OAAO,QAAQ,cAAc,KAAK,OAAO,MAAM,CAAC,SAAS,SAAS,EAAE,SAAS,CAAc,EAAK,OAAO,CAAC,EAAE,EAAe,OAAO,EAAa,YAAY,EAAa,cAAc,QAAQ,QAAQ,GAAG,CAAC,EAAe,EAAK,EAAO,KAAK,CAAC,EAAE,EAAe,OAAO,EAAa,YAAY,EAAa,cAAc,QAAQ,KAAK,OAAO,QAAQ,CAAC,WAAW,EAAE,WAAW,EAAM,QAAQ,CAAC,EAAE,QAAQ,EAAS,CAAC,WAAW,EAAE,EAAM,WAAW,EAAM,QAAQ,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,EAAM,QAAQ,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,SAAS,EAAS,KAAK,EAAK,MAAM,CAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,+BANlvG,IAA4C,IAA0B,EACxH,EAAS,IAAU,EAAM,GAAS,EAAK,CAAC,GAAG,EAAE,GAAG,CAAC,EAAQ,EAAa,QAAc,EAAa,GAGjG,EAAM,EAEN,EAAe"}