{"version":3,"file":"ScrollCarousel.C2MBpRHa.mjs","names":["useRef","useState","useMemo","e","useCallback","CarouselCard"],"sources":["https:/framerusercontent.com/modules/edBuPn5u5qU0pCG0zR20/tRhPKfBA43TFkHOvwvZu/ScrollCarousel.js"],"sourcesContent":["// Parallax Carousel - An infinite horizontal carousel with smooth parallax effects, customizable CTA styles, and intuitive drag-and-scroll interactions\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion,useMotionValue,useInView,useTransform}from\"framer-motion\";import React,{useEffect,useRef,useState,useMemo,useCallback}from\"react\";/**\n * Scroll Carousel - Smooth infinite carousel with parallax effects\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function ScrollCarousel(props){const{content=[{title:\"Touch\",subtitle:\"Tactile presence\",image:{src:\"https://framerusercontent.com/images/daanspiertz_Total_shot_of_a_stylish_contemporary_interior_spotl_6d1b62e0-9ce2-40a8-9525-537d3f3a3123.png\",alt:\"Touch\"},url:\"#\"},{title:\"Glow\",subtitle:\"Emotional illumination\",image:{src:\"https://framerusercontent.com/images/u9289857559_modern_minimalist_interior_clean_white_surfaces_sof_59cea108-c0c8-4422-8231-376457b0d1de.png\",alt:\"Glow\"},url:\"#\"},{title:\"Pulse\",subtitle:\"The living rhythm\",image:{src:\"https://framerusercontent.com/images/u9926478533_minimalist_living_room_on_villa_in_bali_panoramic_w_ea73ae96-bd49-4105-91f0-6664d201e795.png\",alt:\"Pulse\"},url:\"#\"},{title:\"Intuition\",subtitle:\"Sensitivity as a guiding force\",image:{src:\"https://framerusercontent.com/images/mediaelx__A_modern_villa_with_an_infinity_pool_overlooking_the__bf39490e-b06f-4e10-9a0b-184b34287a05.png\",alt:\"Intuition\"},url:\"#\"}],cardWidth=400,cardHeight=500,cardSpacing=30,borderRadius=\"30px\",cardPadding=\"20px 20px 80px 20px\",shadow=\"\",scrollSensitivity=2,motionSmoothing=.05,maximumSpeed=15,parallaxDepth=.15,imageZoom=1.2,blurIntensity=3,blurOverlayColor=\"rgba(0, 0, 0, 0.5)\",overlayStartOpacity=0,overlayEndOpacity=.35,textPosition=\"bottom\",titleColor=\"#FFFFFF\",subtitleColor=\"#FFFFFF\",enableClicks=true,openInNewTab=true,titleFont,subtitleFont}=props;const containerRef=useRef(null);const isInView=useInView(containerRef,{once:false,amount:.1});const x=useMotionValue(0);const[isDragging,setIsDragging]=useState(false);const[dragStartX,setDragStartX]=useState(0);const[hoveredCardIndex,setHoveredCardIndex]=useState(null);const[mousePosition,setMousePosition]=useState(null);const animationFrameRef=useRef();const lastTimeRef=useRef(Date.now());const lastXRef=useRef(0);const velocityRef=useRef(0);const isDraggingRef=useRef(false);// Triple the content for infinite scroll\nconst tripleContent=useMemo(()=>[...content,...content,...content],[content]);const totalWidth=useMemo(()=>tripleContent.length*(cardWidth+cardSpacing),[tripleContent.length,cardWidth,cardSpacing]);const singleSetWidth=useMemo(()=>content.length*(cardWidth+cardSpacing),[content.length,cardWidth,cardSpacing]);// Smooth animation loop with lerp\nuseEffect(()=>{if(!isInView){if(animationFrameRef.current){cancelAnimationFrame(animationFrameRef.current);}return;}const animate=()=>{const currentTime=Date.now();const deltaTime=Math.min((currentTime-lastTimeRef.current)/1e3,.1)// Секунды, ограничено 100ms\n;if(!isDraggingRef.current&&(Math.abs(velocityRef.current)>.01||lastXRef.current!==x.get())){// Apply velocity with smoothing\nconst currentX=x.get();// Нормализуем позицию используя модуло для надежости\nconst normalizedX=(currentX%singleSetWidth+singleSetWidth)%singleSetWidth-singleSetWidth;// Если позиция была нормализована, применяем её без визуального скачка\nif(Math.abs(normalizedX-currentX)>.1){x.set(normalizedX);}// Применяем velocity только если есть движение\nif(Math.abs(velocityRef.current)>.01){const movement=velocityRef.current*deltaTime*60// Нормализуем к 60 FPS\n;const newX=x.get()+movement;x.set(newX);// Apply friction - более плавное затухание\nconst frictionBase=1-motionSmoothing;const friction=Math.pow(frictionBase,deltaTime*60);velocityRef.current*=friction;// Останавливаем при очень малой скорости\nif(Math.abs(velocityRef.current)<.01){velocityRef.current=0;}}lastXRef.current=x.get();}lastTimeRef.current=currentTime;animationFrameRef.current=requestAnimationFrame(animate);};lastTimeRef.current=Date.now();animationFrameRef.current=requestAnimationFrame(animate);return()=>{if(animationFrameRef.current){cancelAnimationFrame(animationFrameRef.current);}};},[isInView,x,singleSetWidth]);// Track mouse position\nuseEffect(()=>{if(!containerRef.current)return;const handleMouseMove=e=>{const rect=containerRef.current?.getBoundingClientRect();if(rect){setMousePosition({x:e.clientX-rect.left,y:e.clientY-rect.top});}};const handleMouseLeave=()=>{setMousePosition(null);setHoveredCardIndex(null);};const container=containerRef.current;container.addEventListener(\"mousemove\",handleMouseMove);container.addEventListener(\"mouseleave\",handleMouseLeave);return()=>{container.removeEventListener(\"mousemove\",handleMouseMove);container.removeEventListener(\"mouseleave\",handleMouseLeave);};},[]);// Calculate which card is under the mouse cursor\nuseEffect(()=>{if(!mousePosition){setHoveredCardIndex(null);return;}const currentX=x.get();const mouseX=mousePosition.x;// Проходим по всем карточкам и проверяем, под какой находится курсор\nfor(let i=0;i<tripleContent.length;i++){const cardLeft=i*(cardWidth+cardSpacing)+currentX;const cardRight=cardLeft+cardWidth;if(mouseX>=cardLeft&&mouseX<=cardRight){// Нормализуем индекс по модулю, чтобы повторяющиеся карточки имели одинаковый индекс\nconst normalizedIndex=i%content.length;setHoveredCardIndex(normalizedIndex);return;}}setHoveredCardIndex(null);},[mousePosition,tripleContent.length,cardWidth,cardSpacing,content.length]);// Update hovered card when carousel moves\nuseEffect(()=>{const unsubscribe=x.on(\"change\",()=>{if(!mousePosition)return;const currentX=x.get();const mouseX=mousePosition.x;for(let i=0;i<tripleContent.length;i++){const cardLeft=i*(cardWidth+cardSpacing)+currentX;const cardRight=cardLeft+cardWidth;if(mouseX>=cardLeft&&mouseX<=cardRight){// Нормализуем индекс по модулю, чтобы повторяющиеся карточки имели одинаковый индекс\nconst normalizedIndex=i%content.length;setHoveredCardIndex(normalizedIndex);return;}}setHoveredCardIndex(null);});return()=>unsubscribe();},[x,mousePosition,tripleContent.length,cardWidth,cardSpacing,content.length]);// Mouse wheel handler\nuseEffect(()=>{if(!isInView||!containerRef.current)return;const handleWheel=e=>{e.preventDefault();const delta=e.deltaY*scrollSensitivity;const clampedDelta=Math.max(-maximumSpeed,Math.min(maximumSpeed,delta));// Напрямую обновляем velocityRef для мгновенного отклика\nvelocityRef.current-=clampedDelta*.1;// Ограничиваем максимальную скорость\nvelocityRef.current=Math.max(-maximumSpeed,Math.min(maximumSpeed,velocityRef.current));};const container=containerRef.current;container.addEventListener(\"wheel\",handleWheel,{passive:false});return()=>{container.removeEventListener(\"wheel\",handleWheel);};},[isInView,scrollSensitivity,maximumSpeed]);// Drag handlers\nconst handleDragStart=e=>{setIsDragging(true);isDraggingRef.current=true;const clientX=\"touches\"in e?e.touches[0].clientX:e.clientX;setDragStartX(clientX);lastXRef.current=x.get();velocityRef.current=0;lastTimeRef.current=Date.now();};const handleDrag=e=>{if(!isDraggingRef.current)return;e.preventDefault();const currentX=\"touches\"in e?e.touches[0].clientX:e.clientX;const diff=currentX-dragStartX;// Вычисляем velocity во время драга для более точного инерционного движения\nconst currentTime=Date.now();const timeDiff=Math.max(currentTime-lastTimeRef.current,1);const instantVelocity=(diff-(x.get()-lastXRef.current))/timeDiff*16.67;x.set(lastXRef.current+diff);// Обновляем velocity с использованием lerp для сглаживания\nvelocityRef.current=velocityRef.current*.8+instantVelocity*.2;lastTimeRef.current=currentTime;};const handleDragEnd=e=>{if(!isDraggingRef.current)return;setIsDragging(false);isDraggingRef.current=false;// Используем накопленную velocity вместо простого расчёта\n// Ограничиваем скорость для предсказуемого поведения\nvelocityRef.current=Math.max(-maximumSpeed,Math.min(maximumSpeed,velocityRef.current));};const handleCardClick=useCallback((url,e)=>{if(!enableClicks)return;if(Math.abs(velocityRef.current)>5){e.preventDefault();return;}if(typeof window!==\"undefined\"){if(openInNewTab){window.open(url,\"_blank\",\"noopener,noreferrer\");}else{window.location.href=url;}}},[enableClicks,openInNewTab]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\",height:\"100%\",overflow:\"hidden\",position:\"relative\",cursor:isDragging?\"grabbing\":\"grab\",userSelect:\"none\"},onMouseDown:handleDragStart,onMouseMove:handleDrag,onMouseUp:handleDragEnd,onMouseLeave:handleDragEnd,onTouchStart:handleDragStart,onTouchMove:handleDrag,onTouchEnd:handleDragEnd,children:/*#__PURE__*/_jsx(motion.div,{style:{display:\"flex\",gap:`${cardSpacing}px`,x,height:\"100%\",alignItems:\"center\"},children:tripleContent.map((item,index)=>{return /*#__PURE__*/_jsx(CarouselCard,{item:item,index:index,contentLength:content.length,x:x,cardWidth:cardWidth,cardSpacing:cardSpacing,totalWidth:totalWidth,parallaxDepth:parallaxDepth,cardHeight:cardHeight,borderRadius:borderRadius,cardPadding:cardPadding,shadow:shadow,enableClicks:enableClicks,handleCardClick:handleCardClick,imageZoom:imageZoom,blurIntensity:blurIntensity,blurOverlayColor:blurOverlayColor,overlayStartOpacity:overlayStartOpacity,overlayEndOpacity:overlayEndOpacity,textPosition:textPosition,titleColor:titleColor,subtitleColor:subtitleColor,titleFont:titleFont,subtitleFont:subtitleFont,hoveredCardIndex:hoveredCardIndex,setHoveredCardIndex:setHoveredCardIndex},`${item.title}-${index}`);})})});}// Separate card component for better performance - memoized\nconst CarouselCard=/*#__PURE__*/React.memo(function CarouselCard({item,index,contentLength,x,cardWidth,cardSpacing,totalWidth,parallaxDepth,cardHeight,borderRadius,cardPadding,shadow,enableClicks,handleCardClick,imageZoom,blurIntensity,blurOverlayColor,overlayStartOpacity,overlayEndOpacity,textPosition,titleColor,subtitleColor,titleFont,subtitleFont,hoveredCardIndex,setHoveredCardIndex}){const cardRef=useRef(null);// Нормализуем индекс карточки для корректного сравнения с повторяющимися карточками\nconst normalizedCardIndex=index%contentLength;// Проверяем, наведена ли мышка на эту карточку\nconst isThisCardHovered=hoveredCardIndex===normalizedCardIndex;// Проверяем, наведена ли мышка на какую-либо карточку\nconst isAnyCardHovered=hoveredCardIndex!==null;// Показываем блер только если наведена какая-то карточка И это не текущая карточка\nconst shouldShowBlur=isAnyCardHovered&&!isThisCardHovered;// Создаём clip-path для более точной обрезки с border-radius\nconst getClipPath=radius=>{const r=typeof radius===\"number\"?`${radius}px`:radius;// Используем inset для создания скруглённых углов\nreturn`inset(0 round ${r})`;};// Парсим padding строку для получения отдельных значений\nconst getPaddingValues=()=>{const padding=cardPadding||\"20px\";const values=padding.split(\" \").map(v=>v.trim());// CSS padding: top right bottom left или top right-left или top-bottom right-left или all\nswitch(values.length){case 1:return{top:values[0],right:values[0],bottom:values[0],left:values[0]};case 2:return{top:values[0],right:values[1],bottom:values[0],left:values[1]};case 3:return{top:values[0],right:values[1],bottom:values[2],left:values[1]};case 4:return{top:values[0],right:values[1],bottom:values[2],left:values[3]};default:return{top:\"20px\",right:\"20px\",bottom:\"20px\",left:\"20px\"};}};const paddingValues=getPaddingValues();// Получаем стили позиционирования для текстового блока\nconst getTextPositionStyles=()=>{switch(textPosition){case\"top\":return{top:paddingValues.top,bottom:\"auto\",justifyContent:\"flex-start\"};case\"center\":return{top:\"50%\",bottom:\"auto\",transform:\"translateY(-50%)\",justifyContent:\"center\"};case\"bottom\":default:return{top:\"auto\",bottom:paddingValues.bottom,justifyContent:\"flex-end\"};}};// Calculate parallax offset reactively based on card position relative to viewport center\nconst parallaxOffset=useTransform(x,latest=>{if(typeof window===\"undefined\")return 0;// Позиция карточки в карусели\nconst cardPosition=index*(cardWidth+cardSpacing)+latest;// Центр экрана\nconst viewportCenter=window.innerWidth/2;// Расстояние от центра карточки до центра экрана\nconst cardCenter=cardPosition+cardWidth/2;const distanceFromCenter=cardCenter-viewportCenter;// Параллакс эффект: чем дальше от центра, тем больше смещение\n// Отрицательное значение для создания эффекта глубины\nreturn-distanceFromCenter*parallaxDepth;});// Determine media: video takes priority if provided\nconst videoSrc=typeof item?.video===\"string\"?item.video:item?.video?.src;const imageSrc=item?.image?.src||\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\";const imageAlt=item?.image?.alt||item?.title||\"Carousel image\";const isVideo=Boolean(videoSrc);return /*#__PURE__*/_jsxs(motion.div,{ref:cardRef,style:{width:`${cardWidth}px`,height:`${cardHeight}px`,flexShrink:0,position:\"relative\",borderRadius:typeof borderRadius===\"number\"?`${borderRadius}px`:borderRadius,overflow:\"hidden\",cursor:\"grab\",isolation:\"isolate\",backfaceVisibility:\"hidden\",transform:\"translateZ(0)\",WebkitMaskImage:\"-webkit-radial-gradient(white, black)\",boxShadow:shadow},children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",borderRadius:typeof borderRadius===\"number\"?`${borderRadius}px`:borderRadius,overflow:\"hidden\",clipPath:getClipPath(borderRadius),WebkitClipPath:getClipPath(borderRadius),backfaceVisibility:\"hidden\",willChange:\"transform\"},children:[/*#__PURE__*/_jsx(motion.div,{style:{width:`${100+Math.abs(parallaxDepth)*1e3}%`,height:\"100%\",position:\"absolute\",top:0,left:`${-Math.abs(parallaxDepth)*500}%`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",overflow:\"hidden\"},children:isVideo?/*#__PURE__*/_jsx(motion.video,{src:videoSrc,autoPlay:true,loop:true,muted:true,playsInline:true,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",scale:imageZoom,x:parallaxOffset,pointerEvents:\"none\",userSelect:\"none\"}}):/*#__PURE__*/_jsx(motion.img,{src:imageSrc,alt:imageAlt,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",scale:imageZoom,x:parallaxOffset,pointerEvents:\"none\",userSelect:\"none\"},draggable:false})}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",background:`linear-gradient(to bottom, rgba(0,0,0,${overlayStartOpacity}) 0%, rgba(0,0,0,${overlayEndOpacity}) 100%)`,pointerEvents:\"none\"}}),/*#__PURE__*/_jsx(motion.div,{initial:{opacity:0},animate:{opacity:shouldShowBlur?1:0},transition:{duration:.3,ease:\"easeInOut\"},style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:blurOverlayColor,backdropFilter:`blur(${blurIntensity}px)`,WebkitBackdropFilter:`blur(${blurIntensity}px)`,pointerEvents:\"none\",zIndex:1}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:paddingValues.left,right:paddingValues.right,pointerEvents:\"none\",zIndex:2,...getTextPositionStyles()},children:[/*#__PURE__*/_jsx(\"div\",{style:{color:titleColor,...titleFont},children:item.title}),item.subtitle&&/*#__PURE__*/_jsx(\"div\",{style:{color:subtitleColor,...subtitleFont,marginTop:\"8px\"},children:item.subtitle})]})]});});addPropertyControls(ScrollCarousel,{content:{type:ControlType.Array,title:\"Content\",description:\"Add carousel items with title, subtitle, image, and link\",control:{type:ControlType.Object,controls:{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Card Title\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"\"},image:{type:ControlType.ResponsiveImage,title:\"Image\"},video:{type:ControlType.File,title:\"Video\",description:\"Video takes priority over image when both are set\",allowedFileTypes:[\"mp4\",\"webm\"]},url:{type:ControlType.String,title:\"Link URL\",defaultValue:\"#\"}}},defaultValue:[{title:\"Touch\",subtitle:\"Tactile presence\",image:{src:\"https://framerusercontent.com/images/daanspiertz_Total_shot_of_a_stylish_contemporary_interior_spotl_6d1b62e0-9ce2-40a8-9525-537d3f3a3123.png\",alt:\"Touch\"},url:\"#\"},{title:\"Glow\",subtitle:\"Emotional illumination\",image:{src:\"https://framerusercontent.com/images/u9289857559_modern_minimalist_interior_clean_white_surfaces_sof_59cea108-c0c8-4422-8231-376457b0d1de.png\",alt:\"Glow\"},url:\"#\"},{title:\"Pulse\",subtitle:\"The living rhythm\",image:{src:\"https://framerusercontent.com/images/u9926478533_minimalist_living_room_on_villa_in_bali_panoramic_w_ea73ae96-bd49-4105-91f0-6664d201e795.png\",alt:\"Pulse\"},url:\"#\"},{title:\"Intuition\",subtitle:\"Sensitivity as a guiding force\",image:{src:\"https://framerusercontent.com/images/mediaelx__A_modern_villa_with_an_infinity_pool_overlooking_the__bf39490e-b06f-4e10-9a0b-184b34287a05.png\",alt:\"Intuition\"},url:\"#\"}]},cardWidth:{type:ControlType.Number,title:\"Card Width\",description:\"Width of each carousel card\",defaultValue:400,min:200,max:800,step:10,unit:\"px\"},cardHeight:{type:ControlType.Number,title:\"Card Height\",description:\"Height of each carousel card\",defaultValue:500,min:200,max:800,step:10,unit:\"px\"},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",description:\"Corner rounding for cards\",defaultValue:\"30px\"},cardPadding:{type:ControlType.Padding,title:\"Card Padding\",description:\"Internal spacing inside cards\",defaultValue:\"20px 20px 80px 20px\"},shadow:{type:ControlType.BoxShadow,title:\"Card Shadow\",description:\"Drop shadow for cards\",defaultValue:\"0px 10px 30px rgba(0, 0, 0, 0.3)\"},textPosition:{type:ControlType.Enum,title:\"Text Position\",description:\"Vertical alignment of text on cards\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"bottom\",displaySegmentedControl:true},enableClicks:{type:ControlType.Boolean,title:\"Enable Clicks\",description:\"Allow clicking cards to open links\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",description:\"Open card links in new tab or same tab\",defaultValue:true,enabledTitle:\"New Tab\",disabledTitle:\"Same Tab\"},titleFont:{type:ControlType.Font,title:\"Title Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"24px\",variant:\"Semibold\",textAlign:\"center\"}},titleColor:{type:ControlType.Color,title:\"Title Color\",description:\"Color for card titles\",defaultValue:\"#FFFFFF\"},subtitleFont:{type:ControlType.Font,title:\"Subtitle Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Regular\",textAlign:\"center\"}},subtitleColor:{type:ControlType.Color,title:\"Subtitle Color\",description:\"Color for card subtitles\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ScrollCarousel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicHeight\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollCarousel.map"],"mappings":"wSASG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,UAAQ,CAAC,CAAC,MAAM,QAAQ,SAAS,mBAAmB,MAAM,CAAC,IAAI,gJAAgJ,IAAI,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,OAAO,SAAS,yBAAyB,MAAM,CAAC,IAAI,gJAAgJ,IAAI,OAAO,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,QAAQ,SAAS,oBAAoB,MAAM,CAAC,IAAI,gJAAgJ,IAAI,QAAQ,CAAC,IAAI,IAAI,CAAC,CAAC,MAAM,YAAY,SAAS,iCAAiC,MAAM,CAAC,IAAI,gJAAgJ,IAAI,YAAY,CAAC,IAAI,IAAI,CAAC,CAAC,YAAU,IAAI,aAAW,IAAI,cAAY,GAAG,eAAa,OAAO,cAAY,sBAAsB,SAAO,GAAG,oBAAkB,EAAE,kBAAgB,IAAI,eAAa,GAAG,gBAAc,IAAI,YAAU,IAAI,gBAAc,EAAE,mBAAiB,qBAAqB,sBAAoB,EAAE,oBAAkB,IAAI,eAAa,SAAS,aAAW,UAAU,gBAAc,UAAU,eAAa,GAAK,eAAa,GAAK,YAAU,gBAAc,EAAY,EAAaA,E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