{"version":3,"file":"AutoSwiper.BhB2GyXT.mjs","names":[],"sources":["https:/framerusercontent.com/modules/9iu5x00qcvPG8eYcKYxW/4u6RMOvkBSQSJinak0SA/AutoSwiper.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef}from\"react\";import{motion}from\"framer-motion\";export function withCustomInfiniteScroll(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const scrollSpeed=props.scrollSpeed??300;const gap=props.gap??20;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,overflow:\"hidden\",display:\"flex\"},children:/*#__PURE__*/_jsxs(motion.div,{style:{display:\"flex\",width:\"max-content\"},animate:{x:[0,\"-33.3333%\"]},transition:{duration:50,ease:\"linear\",repeat:Infinity},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children}),/*#__PURE__*/_jsx(\"div\",{style:{width:gap,flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children}),/*#__PURE__*/_jsx(\"div\",{style:{width:gap,flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children})]})});});}export function withCustomInfiniteScroll0(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const scrollSpeed=props.scrollSpeed??300;const gap=props.gap??0;return /*#__PURE__*/_jsx(Component,{ref:ref,...props,style:{...props.style,overflow:\"hidden\",display:\"flex\"},children:/*#__PURE__*/_jsxs(motion.div,{style:{display:\"flex\",width:\"max-content\"},animate:{x:[0,\"-33.3333%\"]},transition:{duration:50,ease:\"linear\",repeat:Infinity},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children}),/*#__PURE__*/_jsx(\"div\",{style:{width:gap,flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children}),/*#__PURE__*/_jsx(\"div\",{style:{width:gap,flexShrink:0}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap},children:props.children})]})});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomInfiniteScroll\":{\"type\":\"reactHoc\",\"name\":\"withCustomInfiniteScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCustomInfiniteScroll0\":{\"type\":\"reactHoc\",\"name\":\"withCustomInfiniteScroll0\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoSwiper.map"],"mappings":"0KAAyH,SAAgB,EAAyB,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAmB,EAAM,YAAiB,IAAM,EAAI,EAAM,KAAK,GAAG,OAAoB,EAAK,EAAU,CAAK,MAAI,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,SAAS,SAAS,QAAQ,OAAO,CAAC,SAAsB,EAAM,EAAO,IAAI,CAAC,MAAM,CAAC,QAAQ,OAAO,MAAM,cAAc,CAAC,QAAQ,CAAC,EAAE,CAAC,EAAE,YAAY,CAAC,CAAC,WAAW,CAAC,SAAS,GAAG,KAAK,SAAS,OAAO,IAAS,CAAC,SAAS,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,MAAI,CAAC,SAAS,EAAM,SAAS,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAI,WAAW,EAAE,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,MAAI,CAAC,SAAS,EAAM,SAAS,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,EAAI,WAAW,EAAE,CAAC,CAAC,CAAc,EAAK,MAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,MAAI,CAAC,SAAS,EAAM,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAG,CAAE,SAAgB,EAA0B,EAAU,CAAC,OAAoB,GAAY,EAAM,IAAM,CAAmB,EAAM,Y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