{"version":3,"file":"shared-lib.Dv7m3kIM.mjs","names":["useRef","p"],"sources":["https:/framerusercontent.com/modules/ZMJ6eJdt1JAySWHzyknO/GMXQndtKJWornBks0Z2O/ScrollSyncedLottie.js","https:/framerusercontent.com/modules/4nFbMwovbmO2Jebv4DqV/toDMJCc7kpxNzhWWugtD/QOvGplzVS.js","https:/framerusercontent.com/modules/itQFV5u3p4tGEaKpdO3s/zq5rA9Pwb9qgDM9ag9Ap/siteMetadata.js"],"sourcesContent":["// Get Started: https://www.framer.com/developers\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{useScroll,useMotionValue,animate}from\"framer-motion\";const SOURCE_TYPES={URL:\"URL\",UPLOAD:\"Upload\"};const DEFAULT_LOTTIE_SRC=\"https://misc.framerstatic.com/lottie/logo.json\";const CONTAINER_STYLE={width:\"100%\",height:\"100%\",overflow:\"hidden\"};const CANVAS_STYLE={width:\"100%\",height:\"100%\"};const clamp=(min,max,v)=>Math.max(min,Math.min(max,v));/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 500\n * @framerIntrinsicHeight 350\n */export default function ScrollSyncedLottie(props){const{sourceType,jsonUrl,jsonFile,offset=[\"end end\",\"start start\"],progressTransition}=props;const lottieData=sourceType===\"URL\"?jsonUrl:jsonFile;const containerRef=useRef(null);const canvasRef=useRef(null);const animationRef=useRef(null);const isReadyRef=useRef(false);const lastProgressRef=useRef(0);const{scrollYProgress}=useScroll({target:containerRef,offset:offset});const smoothedProgress=useMotionValue(0);const goToNextFrame=()=>{const anim=animationRef.current;if(!anim)return;const total=anim.totalFrames||0;anim.goToAndStop(clamp(0,total-1,lastProgressRef.current*total),true);};useEffect(()=>{let currentAnimation=null;const unsub=scrollYProgress.on(\"change\",next=>{currentAnimation?.stop();currentAnimation=animate(smoothedProgress,next,progressTransition);});return()=>{unsub();currentAnimation?.stop();};},[scrollYProgress,progressTransition,smoothedProgress]);useEffect(()=>{const unsub=smoothedProgress.on(\"change\",v=>{lastProgressRef.current=clamp(0,1,v);if(isReadyRef.current){goToNextFrame();}});return()=>unsub();},[smoothedProgress]);useEffect(()=>{let currentAnimation=null;const unsub=scrollYProgress.on(\"change\",next=>{currentAnimation?.stop();currentAnimation=animate(smoothedProgress,next,progressTransition);});return()=>{unsub();currentAnimation?.stop();};},[scrollYProgress,progressTransition,smoothedProgress]);useEffect(()=>{const unsub=smoothedProgress.on(\"change\",v=>{lastProgressRef.current=clamp(0,1,v);if(isReadyRef.current){goToNextFrame();}});return()=>unsub();},[smoothedProgress]);useEffect(()=>{if(!canvasRef.current)return;if(animationRef.current){try{animationRef.current.destroy();}catch{}animationRef.current=null;}if(!lottieData)return;isReadyRef.current=false;let isCancelled=false;let anim=null;let onDOMLoaded=null;(async()=>{try{const{default:lottie}=await import(\"lottie-web\");if(isCancelled||!canvasRef.current)return;anim=lottie.loadAnimation({container:canvasRef.current,renderer:\"svg\",loop:false,autoplay:false,rendererSettings:{preserveAspectRatio:\"xMidYMid slice\"},path:lottieData});animationRef.current=anim;onDOMLoaded=()=>{if(isCancelled)return;isReadyRef.current=true;goToNextFrame();};anim.addEventListener(\"DOMLoaded\",onDOMLoaded);}catch{}})();return()=>{isCancelled=true;if(anim&&onDOMLoaded){try{anim.removeEventListener(\"DOMLoaded\",onDOMLoaded);}catch{}}try{anim?.destroy();}catch{}animationRef.current=null;isReadyRef.current=false;};},[lottieData]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:CONTAINER_STYLE,children:/*#__PURE__*/_jsx(\"div\",{ref:canvasRef,style:CANVAS_STYLE})});}addPropertyControls(ScrollSyncedLottie,{sourceType:{type:ControlType.SegmentedEnum,title:\"Source\",options:[SOURCE_TYPES.URL,SOURCE_TYPES.UPLOAD],optionTitles:[\"URL\",\"Upload\"],defaultValue:SOURCE_TYPES.URL,description:\"This component is made for JSON files. [Lean more here](https://lottiefiles.com/what-is-lottie)\"},jsonUrl:{type:ControlType.String,title:\"URL\",hidden:p=>p.sourceType!==SOURCE_TYPES.URL,defaultValue:DEFAULT_LOTTIE_SRC},jsonFile:{type:ControlType.File,title:\"File\",allowedFileTypes:[\"json\"],hidden:p=>p.sourceType!==SOURCE_TYPES.UPLOAD},transition:{type:ControlType.Transition,defaultValue:{type:\"spring\",stiffness:400,damping:20,mass:3}},offset:{type:ControlType.Array,title:\"Offset\",propertyControl:{type:ControlType.String},defaultValue:[\"start end\",\"end start\"],maxCount:2,description:`offset describes intersections, points where the target and container meet. [Lean more here](https://motion.dev/docs/react-use-scroll#offset)`}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollSyncedLottie\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"350\",\"framerIntrinsicWidth\":\"500\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollSyncedLottie.map","// Generated by Framer (414cc68)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;Aeonik Pro Variable Regular\",\"CUSTOMV2;Aeonik Pro Variable RegularVF=IndnaHQiIDYwMA==\",\"CUSTOMV2;Aeonik Pro Variable RegularVF=IndnaHQiIDQwMA==\",\"CUSTOMV2;Aeonik Pro Variable RegularVF=IndnaHQiIDQwMA==\"]);const variationAxes=[{defaultValue:400,maxValue:900,minValue:100,name:\"Weight\",tag:\"wght\"}];export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Aeonik Pro Variable Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"Aeonik Pro\",url:\"https://framerusercontent.com/assets/dGVWkDrJfDb0hO9FUw7JQW17f0.woff2\",variationAxes,weight:\"400\"}]}];export const css=['.framer-aSRH4 .framer-styles-preset-lik0h4:not(.rich-text-wrapper), .framer-aSRH4 .framer-styles-preset-lik0h4.rich-text-wrapper p { --framer-font-family: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.3); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 600; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.01em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 16px; --framer-text-alignment: start; --framer-text-color: var(--token-4ef51157-46f5-469a-88dc-02d22dc7827f, #404040); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-aSRH4 .framer-styles-preset-lik0h4:not(.rich-text-wrapper), .framer-aSRH4 .framer-styles-preset-lik0h4.rich-text-wrapper p { --framer-font-family: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.3); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 600; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.01em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 16px; --framer-text-alignment: start; --framer-text-color: var(--token-4ef51157-46f5-469a-88dc-02d22dc7827f, #404040); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-aSRH4 .framer-styles-preset-lik0h4:not(.rich-text-wrapper), .framer-aSRH4 .framer-styles-preset-lik0h4.rich-text-wrapper p { --framer-font-family: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-family-italic: \"Aeonik Pro Variable Regular\", \"Aeonik Pro Variable Regular Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv09\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv11\\' on; --framer-font-size: calc(var(--framer-root-font-size, 1rem) * 1.2); --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: normal; --framer-font-style-italic: normal; --framer-font-variation-axes: \"wght\" 400; --framer-font-variation-axes-bold: \"wght\" 600; --framer-font-variation-axes-bold-italic: \"wght\" 400; --framer-font-variation-axes-italic: \"wght\" 400; --framer-font-weight: 400; --framer-font-weight-bold: 400; --framer-font-weight-bold-italic: 400; --framer-font-weight-italic: 400; --framer-letter-spacing: -0.01em; --framer-line-height: 1.3em; --framer-paragraph-spacing: 16px; --framer-text-alignment: start; --framer-text-color: var(--token-4ef51157-46f5-469a-88dc-02d22dc7827f, #404040); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-aSRH4\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (e999480)\nconst valuesByLocaleId={ud4hCPJ3m:{v0:\"IQONIC | Effective solutions for challenging situations.\",v1:\"Experienced experts identify optimization potential and support the transformation process, with the goal of sustainably increasing revenue and profit.\"}};function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}export default function metadata(params,activeLocale){return{description:getLocalizedValue(\"v1\",activeLocale)??\"Erfahrene Experten identifizieren Optimierungs-Potentiale und begleiten den Transformations-Prozess. Mit dem Ziel, Umsatz und Ertrag nachhaltig zu steigern.\",favicon:\"https://framerusercontent.com/assets/qelQgXV5NmN9OzkrifkHP23vo.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/QtZTwAVfpTxlTdziQEVwDQkwUw.jpg\",title:getLocalizedValue(\"v0\",activeLocale)??\"IQONIC | Wirksame L\\xf6sungen f\\xfcr  herausfordernde Situationen.\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wPAOG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,aAAW,UAAQ,WAAS,SAAO,CAAC,UAAU,cAAc,CAAC,sBAAoB,EAAY,EAAW,IAAa,MAAM,EAAQ,EAAe,EAAaA,EAAO,KAAK,CAAO,EAAUA,EAAO,KAAK,CAAO,EAAaA,EAAO,KAAK,CAAO,EAAWA,EAAO,GAAM,CAAO,EAAgBA,EAAO,EAAE,CAAM,CAAC,mBAAiB,EAAU,CAAC,OAAO,EAAoB,SAAO,CAAC,CAAO,EAAiB,EAAe,EAAE,CAAO,MAAkB,CAAC,IAAM,EAAK,EAAa,QAAQ,GAAG,CAAC,EAAK,OAAO,IAAM,EAAM,EAAK,aAAa,EAAE,EAAK,YAAY,EAAM,EAAE,EAAM,EAAE,EAAgB,QAAQ,EAAM,CAAC,GAAK,EAAuyD,OAApyD,MAAc,CAAC,IAAI,EAAiB,KAAW,EAAM,EAAgB,GAAG,SAAS,GAAM,CAAC,GAAkB,MAAM,CAAC,EAAiB,EAAQ,EAAiB,EAAK,EAAmB,EAAG,CAAC,UAAU,CAAC,GAAO,CAAC,GAAkB,MAAM,GAAK,CAAC,EAAgB,EAAmB,EAAiB,CAAC,CAAC,MAAc,CAAC,IAAM,EAAM,EAAiB,GAAG,SAAS,GAAG,CAAC,EAAgB,QAAQ,EAAM,EAAE,EAAE,EAAE,CAAI,EAAW,SAAS,GAAe,EAAI,CAAC,UAAU,GAAO,EAAG,CAAC,EAAiB,CAAC,CAAC,MAAc,CAAC,IAAI,EAAiB,KAAW,EAAM,EAAgB,GAAG,SAAS,GAAM,CAAC,GAAkB,MAAM,CAAC,EAAiB,EAAQ,EAAiB,EAAK,EAAmB,EAAG,CAAC,UAAU,CAAC,GAAO,CAA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