{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/UfHH34wxRzyw38jOe8EO/IbXjmV7OH5crsqTG069u/Santos.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect}from\"react\";import{useRef,useState}from\"react\";// \u9884\u5148\u52A0\u8F7D\nexport function loadScripts(){useEffect(()=>{// \u79FB\u9664 Framer \u5FBD\u7AE0\ndocument.querySelectorAll(\".__framer-badge\").forEach(badge=>badge.remove());// \u5B9A\u65F6\u68C0\u67E5\u5E76\u79FB\u9664 __framer-editorbar\nconst intervalId=setInterval(()=>{const editorBar=document.getElementById(\"__framer-editorbar\");if(editorBar){editorBar.remove();console.log(\"__framer-editorbar \u627E\u5230\u4E86\u5E76\u5DF2\u79FB\u9664\");clearInterval(intervalId)// \u79FB\u9664\u540E\u505C\u6B62\u5B9A\u65F6\u5668\n;}else{console.log(\"__framer-editorbar \u6CA1\u6709\u627E\u5230\uFF0C\u7EE7\u7EED\u67E5\u627E\");}},1e3)// \u6BCF\u79D2\u68C0\u67E5\u4E00\u6B21\n;// \u9690\u85CF\u6EDA\u52A8\u6761\nconst style=document.createElement(\"style\");style.innerHTML=`\n            body::-webkit-scrollbar { display: none !important; }\n            body { -ms-overflow-style: none !important; scrollbar-width: 0px !important; }\n            #__framer-editorbar { display: none !important; }\n            #cms-content img { width: 100% !important }\n            [aria-label=\"modeChange\"] {\n                transition: none !important;\n                transform: scale(1) !important;\n            }\n\n            [aria-label=\"modeChange\"]:hover {\n                transform: scale(1) !important;\n            }\n            * {\n                -webkit-tap-highlight-color: transparent;\n            }\n        `;document.head.appendChild(style);// \u6E05\u7406\u5B9A\u65F6\u5668\uFF08\u907F\u514D\u5185\u5B58\u6CC4\u6F0F\uFF09\nreturn()=>clearInterval(intervalId);},[]);return /*#__PURE__*/_jsx(_Fragment,{});}// \u8DEF\u5F84\u52A8\u753B\u7EC4\u4EF6\nexport function PathDrawing(props){const pathD=\"M9 177c52.68-30.87 111.38-75.31 118.75-141.11 3.5-31.25-28.02-36.585-38.25-9-8.25 22.25-14.215 91.82-18.965 125.235-4.75 33.415-5.785 38.015-5.785 38.015 2.915-19.415 11-58.5 24.5-74.5 14.835-17.585 43.74-21.885 47.25 7.25 2.5 20.75-11.5 51.75 2.25 62.25s48.25 1.5 62.75-8.25c4.835-2.925 9.435-5.925 9.435-5.925l-.01.01c13.055-7.835 27.895-21.355 33.33-40.475 8.345-29.345-24.03-42.105-42.75-20.61-14.25 16.36-17 50.405 3 65.52l-5.25-5.02c13.25 17.75 58.15 33.35 97.75-8.25 4.275-4.49 7-7.5 7-7.5h0c11.165-14.085 35.25-46.65 43.25-75.25 10-35.75 12-61-1.5-67.5-15-7.22-33.5 12.86-41.75 54.11-5.81 29.06-7 44.39-7 66.39v1c-.415 18.5 5 56.7 37 57.5 37.25.93 63.415-33.75 75-51l.75-1.25c10-15.5 27.08-49.665 34.25-78.25 8.25-32.89 3.855-44.355-7.5-48.25-14.25-4.89-30.25 14.5-38 48.25-7.075 30.805-14.5 71.5-5.5 97.5l-3.25-14.89c1.75 21 17.97 46.8 38.25 47.64 26.75 1.11 45.75-19.25 58-57h.25c-6.25 26.75-.4 58.15 31 56.75 31.4-1.4 39.915-32.585 40.25-48 1.415-14.75-3.7-43-33.5-43 0 0-11.817-1.265-22.505 8.61-10.687 9.875-15.5 26-15.5 26 3-10.5 15.055-34.61 36.255-34.61 26.5 0 24.5 12.75 43.5 12.25 15.2-.4 27.165-10.835 31.25-16\";return /*#__PURE__*/_jsx(motion.svg,{viewBox:\"0 0 606 200\",width:\"100%\",height:\"100%\",initial:\"hidden\",animate:props.autoPlay?\"visible\":\"hidden\",children:/*#__PURE__*/_jsx(motion.path,{d:pathD,stroke:props.strokeColor,strokeWidth:props.strokeWidth,fill:\"transparent\",strokeLinejoin:\"round\",strokeLinecap:\"round\",variants:{hidden:{pathLength:0,opacity:0,transition:{duration:0}},visible:{pathLength:1,opacity:1,transition:{duration:props.duration,ease:\"easeInOut\",repeat:props.loop?Infinity:0}}}})});}// \u4E3APathDrawing\u6DFB\u52A0\u5C5E\u6027\u63A7\u5236\naddPropertyControls(PathDrawing,{duration:{type:ControlType.Number,title:\"Duration\",defaultValue:3,min:.1,max:10,step:.1},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",defaultValue:18,min:1,max:30},strokeColor:{type:ControlType.Color,title:\"Stroke Color\",defaultValue:\"#FFFFFF\"},autoPlay:{type:ControlType.Boolean,title:\"Auto Play\",defaultValue:true},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false}});export function withProgress(Component){return props=>{const[progress,setProgress]=useState(0);const[isScrolling,setIsScrolling]=useState(false);const prevScrollY=useRef(0);useEffect(()=>{const calculateProgress=()=>{const startEl=document.getElementById(\"start\");const endEl=document.getElementById(\"end\");if(startEl&&endEl){const sectionHeight=endEl.offsetTop-startEl.offsetTop;const scrollDistance=window.pageYOffset||document.documentElement.scrollTop;const sectionScrollDistance=scrollDistance-startEl.offsetTop;const sectionProgress=sectionScrollDistance/sectionHeight*100;setProgress(sectionProgress);}};const handleScroll=()=>{const scrollY=window.pageYOffset||document.documentElement.scrollTop;if(scrollY!==prevScrollY.current){prevScrollY.current=scrollY;calculateProgress();setIsScrolling(true);}};const handleScrollEnd=()=>{setIsScrolling(false);};calculateProgress();window.addEventListener(\"scroll\",handleScroll);window.addEventListener(\"scrollend\",handleScrollEnd);return()=>{window.removeEventListener(\"scroll\",handleScroll);window.removeEventListener(\"scrollend\",handleScrollEnd);};},[]);return /*#__PURE__*/_jsx(Component,{...props,style:{width:`${progress}%`,transition:isScrolling?\"none\":\"width 0.5s ease-in-out\"}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withProgress\":{\"type\":\"reactHoc\",\"name\":\"withProgress\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PathDrawing\":{\"type\":\"reactComponent\",\"name\":\"PathDrawing\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadScripts\":{\"type\":\"reactComponent\",\"name\":\"loadScripts\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Santos.map"],
  "mappings": "8GACO,SAASA,GAAa,CAAC,OAAAC,EAAU,IAAI,CAC5C,SAAS,iBAAiB,iBAAiB,EAAE,QAAQC,GAAOA,EAAM,OAAO,CAAC,EAC1E,IAAMC,EAAW,YAAY,IAAI,CAAC,IAAMC,EAAU,SAAS,eAAe,oBAAoB,EAAKA,GAAWA,EAAU,OAAO,EAAE,QAAQ,IAAI,+DAA4B,EAAE,cAAcD,CAAU,GAC5L,QAAQ,IAAI,2EAA8B,CAAG,EAAE,GAAG,EAEnDE,EAAM,SAAS,cAAc,OAAO,EAAE,OAAAA,EAAM,UAAU;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,UAgBlD,SAAS,KAAK,YAAYA,CAAK,EACnC,IAAI,cAAcF,CAAU,CAAE,EAAE,CAAC,CAAC,EAAsBG,EAAK,EAAU,CAAC,CAAC,CAAE,CAC1E,SAASC,EAAYC,EAAM,CAAynC,OAAoBF,EAAKG,EAAO,IAAI,CAAC,QAAQ,cAAc,MAAM,OAAO,OAAO,OAAO,QAAQ,SAAS,QAAQD,EAAM,SAAS,UAAU,SAAS,SAAsBF,EAAKG,EAAO,KAAK,CAAC,EAAryC,4mCAA6yC,OAAOD,EAAM,YAAY,YAAYA,EAAM,YAAY,KAAK,cAAc,eAAe,QAAQ,cAAc,QAAQ,SAAS,CAAC,OAAO,CAAC,WAAW,EAAE,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC,EAAE,QAAQ,CAAC,WAAW,EAAE,QAAQ,EAAE,WAAW,CAAC,SAASA,EAAM,SAAS,KAAK,YAAY,OAAOA,EAAM,KAAK,IAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAC9oDE,EAAoBH,EAAY,CAAC,SAAS,CAAC,KAAKI,EAAY,OAAO,MAAM,WAAW,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,KAAK,EAAE,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,GAAG,IAAI,EAAE,IAAI,EAAE,EAAE,YAAY,CAAC,KAAKA,EAAY,MAAM,MAAM,eAAe,aAAa,SAAS,EAAE,SAAS,CAAC,KAAKA,EAAY,QAAQ,MAAM,YAAY,aAAa,EAAI,EAAE,KAAK,CAAC,KAAKA,EAAY,QAAQ,MAAM,OAAO,aAAa,EAAK,CAAC,CAAC",
  "names": ["loadScripts", "ue", "badge", "intervalId", "editorBar", "style", "p", "PathDrawing", "props", "motion", "addPropertyControls", "ControlType"]
}
