{"version":3,"file":"FallingText.CVce_nCt.mjs","names":["useRef","useState","useMemo","useCallback","__esmMin","init_ssg_sandbox_shims","te","ne","_e","de","init_jsx_runtime","pe","p","init_npm_react_18_3_1","ce","window","addPropertyControls","init_framer_DDfsYcI0","ControlType","useIsStaticRenderer","FallingText","props","containerRef","textRef","canvasContainerRef","effectStarted","setEffectStarted","matterLoaded","setMatterLoaded","logoLoadTick","setLogoLoadTick","isStatic","hasLogoImage","logoImage","Matter","error","logoSize","logo","v","newHTML","text","letter","textColor","trigger","timer","observer","entry","containerRect","width","height","engine","Engine","gravity","render","Render","backgroundColor","boundaryOptions","floor","Bodies","floorOffset","leftWall","rightWall","ceiling","letterBodies","rect","x","y","physicsElem","body","chaos","elem","textFont","mouse","Mouse","mouseConstraint","MouseConstraint","mouseConstraintStiffness","World","wb","runner","Runner","updateLoop","element","wireframes","handleTrigger","getVerticalAlignment","verticalAlignment","paddingTop","init_FallingText"],"sources":["https:/framerusercontent.com/modules/FpkKLjhf6904Qu1E2jtR/Zt3kZgwPXLtJ2o0o3OJO/FallingText.js"],"sourcesContent":["// User request: add optional logo image falling physics support to FallingText while preserving existing behavior and controls, adding logo URL and sizing controls as a backward-compatible enhancement.\n// Falling Text Physics Component - Text breaks apart and falls with realistic physics when triggered\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useRef,useState,useEffect,useMemo,useCallback,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * Falling Text Physics\n *\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 200\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function FallingText(props){const{text=\"Click me to see the magic happen!\",logoImage=\"\",logoSize=180,trigger=\"click\",backgroundColor=\"transparent\",wireframes=false,gravity=1,mouseConstraintStiffness=.2,textFont,textColor=\"#000000\",verticalAlignment=\"center\",paddingTop=32,floorOffset=100,chaos=.3,style}=props;const containerRef=useRef(null);const textRef=useRef(null);const canvasContainerRef=useRef(null);const[effectStarted,setEffectStarted]=useState(false);const[matterLoaded,setMatterLoaded]=useState(false);const[logoLoadTick,setLogoLoadTick]=useState(0);const isStatic=useIsStaticRenderer();const hasLogoImage=useMemo(()=>logoImage.trim().length>0,[logoImage]);// Load Matter.js dynamically\nuseEffect(()=>{if(isStatic)return;const loadMatter=async()=>{try{// @ts-ignore\nconst Matter=await import(\"https://cdn.skypack.dev/matter-js@0.19.0\");if(typeof window!==\"undefined\"){// @ts-ignore\nwindow.Matter=Matter.default||Matter;}setMatterLoaded(true);}catch(error){console.error(\"Failed to load Matter.js:\",error);}};loadMatter();},[isStatic]);// Setup text with highlighting (or optional logo image)\nuseEffect(()=>{if(!textRef.current)return;if(hasLogoImage){textRef.current.innerHTML=`<img src=\"${logoImage}\" alt=\"Logo\" style=\"display:block; width:${logoSize}px; height:auto; max-width:100%; object-fit:contain; user-select:none; pointer-events:none;\" />`;const logo=textRef.current.querySelector(\"img\");if(logo&&!logo.complete){const onLoad=()=>{startTransition(()=>setLogoLoadTick(v=>v+1));};logo.addEventListener(\"load\",onLoad,{once:true});}return;}const letters=text.split(\"\");const newHTML=letters.map(letter=>{if(letter===\" \"){return`<span style=\"display: inline-block; width: 0.3em; user-select: none;\"></span>`;}return`<span style=\"display: inline-block; user-select: none; color: ${textColor};\">${letter}</span>`;}).join(\"\");textRef.current.innerHTML=newHTML;},[text,textColor,hasLogoImage,logoImage,logoSize]);// Handle trigger setup\nuseEffect(()=>{if(isStatic)return;if(trigger===\"auto\"){// Add a small delay to prevent glitch on first preview\nconst timer=setTimeout(()=>{startTransition(()=>setEffectStarted(true));},100);return()=>clearTimeout(timer);}if(trigger===\"scroll\"&&containerRef.current){const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting){startTransition(()=>setEffectStarted(true));observer.disconnect();}},{threshold:.1});observer.observe(containerRef.current);return()=>observer.disconnect();}},[trigger,isStatic]);// Physics simulation\nuseEffect(()=>{if(!effectStarted||!matterLoaded||isStatic)return;if(typeof window===\"undefined\")return;// @ts-ignore\nconst Matter=window.Matter;if(!Matter)return;const{Engine,Render,World,Bodies,Runner,Mouse,MouseConstraint}=Matter;if(!containerRef.current||!canvasContainerRef.current)return;const containerRect=containerRef.current.getBoundingClientRect();const width=containerRect.width;const height=containerRect.height;if(width<=0||height<=0)return;const engine=Engine.create();engine.world.gravity.y=gravity;const render=Render.create({element:canvasContainerRef.current,engine,options:{width,height,background:backgroundColor,wireframes,showVelocity:false,showAngleIndicator:false,showDebug:false}});// Prevent canvas from capturing pointer events to allow scrolling\nif(render.canvas){render.canvas.style.pointerEvents=\"none\";}const boundaryOptions={isStatic:true,render:{fillStyle:\"transparent\"}};const floor=Bodies.rectangle(width/2,height+floorOffset,width*2,60,boundaryOptions);const leftWall=Bodies.rectangle(-50,height/2,50,height*4,boundaryOptions);const rightWall=Bodies.rectangle(width+50,height/2,50,height*4,boundaryOptions);const ceiling=Bodies.rectangle(width/2,-200,width,50,boundaryOptions);if(!textRef.current)return;// Hide the original text\ntextRef.current.style.opacity=\"0\";let letterBodies=[];if(hasLogoImage){const logo=textRef.current.querySelector(\"img\");if(!logo||!logo.complete){textRef.current.style.opacity=\"1\";return;}const rect=logo.getBoundingClientRect();const containerRect=containerRef.current.getBoundingClientRect();const x=rect.left-containerRect.left+rect.width/2;const y=rect.top-containerRect.top+rect.height/2;const physicsElem=logo.cloneNode(true);physicsElem.style.position=\"absolute\";physicsElem.style.left=`${x}px`;physicsElem.style.top=`${y}px`;physicsElem.style.transform=\"translate(-50%, -50%)\";physicsElem.style.zIndex=\"10\";physicsElem.style.pointerEvents=\"none\";physicsElem.style.opacity=\"1\";physicsElem.style.visibility=\"visible\";physicsElem.style.width=`${logoSize}px`;physicsElem.style.height=\"auto\";physicsElem.style.maxWidth=\"100%\";physicsElem.style.objectFit=\"contain\";containerRef.current.appendChild(physicsElem);const body=Bodies.rectangle(x,y,rect.width,rect.height,{render:{fillStyle:\"transparent\"},restitution:.3,frictionAir:.04,friction:.3});Matter.Body.setVelocity(body,{x:(Math.random()-.5)*chaos*3,y:0});Matter.Body.setAngularVelocity(body,(Math.random()-.5)*chaos*.1);letterBodies=[{elem:physicsElem,body}];}else{const letterSpans=textRef.current.querySelectorAll(\"span\");letterBodies=[...letterSpans].filter(elem=>elem.textContent&&elem.textContent.trim()!==\"\").map(elem=>{const rect=elem.getBoundingClientRect();const containerRect=containerRef.current.getBoundingClientRect();const x=rect.left-containerRect.left+rect.width/2;const y=rect.top-containerRef.current.getBoundingClientRect().top+rect.height/2;// Create a new element for physics\nconst physicsElem=elem.cloneNode(true);physicsElem.style.position=\"absolute\";physicsElem.style.left=`${x}px`;physicsElem.style.top=`${y}px`;physicsElem.style.transform=\"translate(-50%, -50%)\";physicsElem.style.zIndex=\"10\";physicsElem.style.pointerEvents=\"none\";physicsElem.style.opacity=\"1\";physicsElem.style.visibility=\"visible\";// Preserve all original styling\nphysicsElem.style.fontSize=textFont?.fontSize||\"24px\";physicsElem.style.fontFamily=textFont?.fontFamily||\"\";physicsElem.style.fontWeight=textFont?.fontWeight||\"\";physicsElem.style.fontStyle=textFont?.fontStyle||\"\";physicsElem.style.letterSpacing=textFont?.letterSpacing||\"-0.01em\";physicsElem.style.lineHeight=textFont?.lineHeight||\"1.4em\";physicsElem.style.color=textColor;physicsElem.style.display=\"inline-block\";physicsElem.style.userSelect=\"none\";// Add to container\ncontainerRef.current.appendChild(physicsElem);const body=Bodies.rectangle(x,y,rect.width,rect.height,{render:{fillStyle:\"transparent\"},restitution:.3,frictionAir:.05,friction:.3});Matter.Body.setVelocity(body,{x:(Math.random()-.5)*chaos*3,y:0});Matter.Body.setAngularVelocity(body,(Math.random()-.5)*chaos*.1);return{elem:physicsElem,body};});}const mouse=Mouse.create(containerRef.current);mouse.element.removeEventListener(\"mousewheel\",mouse.mousewheel);mouse.element.removeEventListener(\"DOMMouseScroll\",mouse.mousewheel);const mouseConstraint=MouseConstraint.create(engine,{mouse,constraint:{stiffness:mouseConstraintStiffness,render:{visible:false}}});render.mouse=mouse;World.add(engine.world,[floor,leftWall,rightWall,ceiling,mouseConstraint,...letterBodies.map(wb=>wb.body)]);const runner=Runner.create();Runner.run(runner,engine);Render.run(render);const updateLoop=()=>{letterBodies.forEach(({body,elem})=>{const{x,y}=body.position;const element=elem;element.style.left=`${x}px`;element.style.top=`${y}px`;element.style.transform=`translate(-50%, -50%) rotate(${body.angle}rad)`;});requestAnimationFrame(updateLoop);};updateLoop();return()=>{Render.stop(render);Runner.stop(runner);if(render.canvas&&canvasContainerRef.current){canvasContainerRef.current.removeChild(render.canvas);}// Clean up physics elements and restore original text\nletterBodies.forEach(({elem})=>{if(elem.parentNode){elem.parentNode.removeChild(elem);}});if(textRef.current){textRef.current.style.opacity=\"1\";}World.clear(engine.world,false);Engine.clear(engine);};},[effectStarted,matterLoaded,gravity,wireframes,backgroundColor,mouseConstraintStiffness,textFont,textColor,isStatic,chaos,hasLogoImage,logoSize,logoLoadTick]);const handleTrigger=useCallback(()=>{if(!effectStarted&&(trigger===\"click\"||trigger===\"hover\")){startTransition(()=>setEffectStarted(true));}},[effectStarted,trigger]);const getVerticalAlignment=useCallback(()=>{switch(verticalAlignment){case\"top\":return\"flex-start\";case\"bottom\":return\"flex-end\";default:return\"center\";}},[verticalAlignment]);if(isStatic){return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",minWidth:100,minHeight:50,display:\"flex\",alignItems:getVerticalAlignment(),justifyContent:textFont?.textAlign||\"center\",paddingTop:`${paddingTop}px`,overflow:\"hidden\",cursor:trigger===\"click\"?\"pointer\":\"default\",...textFont},children:hasLogoImage?/*#__PURE__*/_jsx(\"img\",{src:logoImage,alt:\"Logo\",style:{display:\"block\",width:`${logoSize}px`,height:\"auto\",maxWidth:\"100%\",objectFit:\"contain\",userSelect:\"none\"}}):/*#__PURE__*/_jsx(\"div\",{style:{textAlign:textFont?.textAlign||\"center\",lineHeight:textFont?.lineHeight||\"1.4em\",letterSpacing:textFont?.letterSpacing||\"-0.01em\",fontSize:textFont?.fontSize||\"24px\",fontFamily:textFont?.fontFamily,fontWeight:textFont?.fontWeight,fontStyle:textFont?.fontStyle},dangerouslySetInnerHTML:{__html:text.split(\"\").map(letter=>{if(letter===\" \"){return`<span style=\"display: inline-block; width: 0.3em;\"></span>`;}return`<span style=\"display: inline-block; color: ${textColor};\">${letter}</span>`;}).join(\"\")}})});}return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",zIndex:1,width:\"100%\",height:\"100%\",minWidth:100,minHeight:50,cursor:trigger===\"click\"?\"pointer\":\"default\",display:\"flex\",alignItems:getVerticalAlignment(),justifyContent:textFont?.textAlign||\"center\",paddingTop:`${paddingTop}px`,overflow:effectStarted?\"visible\":\"hidden\",touchAction:\"pan-y\",pointerEvents:effectStarted?\"none\":\"auto\"},onClick:trigger===\"click\"?handleTrigger:undefined,onMouseEnter:trigger===\"hover\"?handleTrigger:undefined,children:[/*#__PURE__*/_jsx(\"div\",{ref:textRef,style:{display:\"inline-block\",textAlign:textFont?.textAlign||\"center\",lineHeight:textFont?.lineHeight||\"1.4em\",letterSpacing:textFont?.letterSpacing||\"-0.01em\",fontSize:textFont?.fontSize||\"24px\",fontFamily:textFont?.fontFamily,fontWeight:textFont?.fontWeight,fontStyle:textFont?.fontStyle}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,zIndex:0,pointerEvents:\"none\",overflow:\"visible\"},ref:canvasContainerRef})]});}addPropertyControls(FallingText,{logoImage:{type:ControlType.String,title:\"Logo URL\",defaultValue:\"\",placeholder:\"https://...\"},logoSize:{type:ControlType.Number,title:\"Logo Size\",defaultValue:180,min:24,max:600,step:1,unit:\"px\",hidden:props=>!props.logoImage},text:{type:ControlType.String,title:\"Text\",defaultValue:\"Click me to see the magic happen!\",displayTextArea:true},trigger:{type:ControlType.Enum,title:\"Trigger\",options:[\"auto\",\"scroll\",\"click\",\"hover\"],optionTitles:[\"Auto\",\"On Scroll\",\"On Click\",\"On Hover\"],defaultValue:\"click\"},textFont:{type:ControlType.Font,title:\"Text Font\",defaultValue:{fontSize:\"24px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.4em\",textAlign:\"center\"},controls:\"extended\",defaultFontType:\"sans-serif\",displayTextAlignment:true,displayFontSize:true},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},verticalAlignment:{type:ControlType.Enum,title:\"Vertical Alignment\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\",displaySegmentedControl:true},paddingTop:{type:ControlType.Number,title:\"Top Padding\",defaultValue:32,min:0,max:100,step:1,unit:\"px\"},floorOffset:{type:ControlType.Number,title:\"Floor Offset\",defaultValue:100,min:-100,max:200,step:1,unit:\"px\"},gravity:{type:ControlType.Number,title:\"Gravity\",defaultValue:1,min:0,max:3,step:.1},mouseConstraintStiffness:{type:ControlType.Number,title:\"Mouse Interaction\",defaultValue:.2,min:0,max:1,step:.1},wireframes:{type:ControlType.Boolean,title:\"Show Physics Debug\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},chaos:{type:ControlType.Number,title:\"Chaos\",defaultValue:.3,min:0,max:1,step:.1}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FallingText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"200\",\"framerIntrinsicWidth\":\"400\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FallingText.map"],"mappings":"A,0OAUG,SAAwBoB,EAAY,EAAM,CAAC,GAAK,CAAC,OAAK,oCAAoC,YAAU,GAAG,WAAS,IAAI,UAAQ,QAAQ,kBAAgB,cAAc,aAAW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