{"version":3,"file":"Logo_reveal_loader.-77OFll-.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/mvBpjE0oooadjuj9L1vd/XqHH0tSBv0X2Le7Lrs97/Logo_reveal_loader.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const SHAPE_SELECTORS=\"path,rect,circle,ellipse,polygon,polyline,g,use\";// Utility: strip inline fill declarations\nfunction stripFillFromStyle(styleStr){if(!styleStr)return\"\";const cleaned=styleStr.replace(/(?:^|;)\\s*fill\\s*:\\s*[^;]+;?/gi,\"\");return cleaned.replace(/(^;|;+$)/g,\"\").trim();}function processSvgStringToElement(svgText,preserveOriginalColors=false){const parser=new DOMParser;const doc=parser.parseFromString(svgText,\"image/svg+xml\");const scripts=Array.from(doc.querySelectorAll(\"script\"));scripts.forEach(s=>s.remove());const foreign=Array.from(doc.querySelectorAll(\"foreignObject\"));foreign.forEach(f=>f.remove());const allEls=Array.from(doc.querySelectorAll(\"*\"));allEls.forEach(el=>{Array.from(el.attributes).forEach(attr=>{if(/^on/i.test(attr.name)){el.removeAttribute(attr.name);}});});const svg=doc.querySelector(\"svg\");if(!svg)return null;if(!svg.hasAttribute(\"preserveAspectRatio\"))svg.setAttribute(\"preserveAspectRatio\",\"xMidYMid meet\");if(!svg.hasAttribute(\"viewBox\")){const w=svg.getAttribute(\"width\");const h=svg.getAttribute(\"height\");if(w&&h){svg.setAttribute(\"viewBox\",`0 0 ${w} ${h}`);}}if(svg.hasAttribute(\"width\"))svg.removeAttribute(\"width\");if(svg.hasAttribute(\"height\"))svg.removeAttribute(\"height\");svg.setAttribute(\"width\",\"100%\");svg.setAttribute(\"height\",\"100%\");svg.style.display=\"block\";if(!preserveOriginalColors){const shapes=Array.from(svg.querySelectorAll(SHAPE_SELECTORS));shapes.forEach(el=>{try{const fillAttr=el.getAttribute(\"fill\");const inlineStyle=el.getAttribute(\"style\");if(inlineStyle){const cleaned=stripFillFromStyle(inlineStyle);if(cleaned)el.setAttribute(\"style\",cleaned);else el.removeAttribute(\"style\");}if(!(fillAttr&&fillAttr.toLowerCase()===\"none\"))el.setAttribute(\"fill\",\"currentColor\");const strokeAttr=el.getAttribute(\"stroke\");if(strokeAttr&&strokeAttr.toLowerCase()!==\"none\")el.setAttribute(\"stroke\",\"currentColor\");}catch(e){}});const stops=Array.from(svg.querySelectorAll(\"stop\"));stops.forEach(s=>{try{const style=s.getAttribute(\"style\");if(style){const cleaned=stripFillFromStyle(style);if(cleaned)s.setAttribute(\"style\",cleaned);else s.removeAttribute(\"style\");}s.setAttribute(\"stop-color\",\"currentColor\");}catch(e){}});}return svg;}// Hook to get current breakpoint\nfunction useBreakpoint(){const[breakpoint,setBreakpoint]=useState(()=>{if(typeof window===\"undefined\")return\"desktop\";const width=window.innerWidth;if(width<768)return\"mobile\";if(width<1024)return\"tablet\";return\"desktop\";});useEffect(()=>{const updateBreakpoint=()=>{const width=window.innerWidth;if(width<768){setBreakpoint(\"mobile\");}else if(width<1024){setBreakpoint(\"tablet\");}else{setBreakpoint(\"desktop\");}};window.addEventListener(\"resize\",updateBreakpoint);return()=>window.removeEventListener(\"resize\",updateBreakpoint);},[]);return breakpoint;}// Split text into characters with wrapper spans\nfunction splitTextIntoChars(element){const text=element.textContent||\"\";element.innerHTML=\"\";const chars=[];for(let i=0;i<text.length;i++){const char=text[i];const span=document.createElement(\"span\");span.textContent=char;span.style.display=\"inline-block\";span.style.opacity=\"0\";span.style.transform=\"translateY(125%)\";// Preserve space width for spacing between words\nif(char===\" \"){span.style.width=\"0.25em\";}element.appendChild(span);chars.push(span);}return chars;}const customEasing=\"cubic-bezier(0.65, 0.01, 0.05, 0.99)\";export default function Logo_reveal_loader(props){const{text1=\"Hold tight\",text2=\"Hang in there\",color=\"#fafafa\",backgroundColor=\"#010101\",logo=null,logoWidthEm=17.5,logoWidthMobile=12,logoWidthTablet=15,logoYOffset=0,duration=3,preserveSvgColors=false,hideScroll=true}=props;const breakpoint=useBreakpoint();const loaderRef=useRef(null);const originalOverflow=useRef(\"\");const insertedNodesRef=useRef([]);const svgCache=useRef(new Map);const animationsRef=useRef([]);const currentLogoWidth=breakpoint===\"mobile\"?logoWidthMobile:breakpoint===\"tablet\"?logoWidthTablet:logoWidthEm;useEffect(()=>{let cancelled=false;async function setup(){const wrap=loaderRef.current;if(!wrap)return;wrap.style.pointerEvents=\"auto\";const baseSlot=wrap.querySelector(\".loader__logo-item.is--base\");const topSlot=wrap.querySelector(\"[data-load-logo]\");const progressBar=wrap.querySelector(\"[data-load-progress]\");const textEls=Array.from(wrap.querySelectorAll(\"[data-load-text]\"));const container=wrap.querySelector(\"[data-load-container]\");const bg=wrap.querySelector(\"[data-load-bg]\");insertedNodesRef.current.forEach(n=>n.remove());insertedNodesRef.current=[];let topWrapper=null;if(logo){const lower=logo.toLowerCase();const isSvg=lower.endsWith(\".svg\")||lower.includes(\"image/svg\");if(isSvg){try{const cacheKey=`${logo}::preserve=${preserveSvgColors}`;let svgBase=svgCache.current.get(cacheKey);if(!svgBase){const res=await fetch(logo);if(!res.ok)throw new Error(\"SVG fetch failed\");const text=await res.text();if(cancelled)return;const parsed=processSvgStringToElement(text,preserveSvgColors);if(!parsed)throw new Error(\"SVG parse failed\");svgBase=parsed;svgCache.current.set(cacheKey,svgBase);}if(cancelled)return;const cloneBase=svgBase.cloneNode(true);const cloneTop=svgBase.cloneNode(true);cloneBase.style.width=\"100%\";cloneBase.style.height=\"auto\";cloneBase.style.display=\"block\";cloneTop.style.width=\"100%\";cloneTop.style.height=\"auto\";cloneTop.style.display=\"block\";const wrapperBase=document.createElement(\"div\");Object.assign(wrapperBase.style,{width:`${currentLogoWidth}em`,maxWidth:\"90vw\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:\"0 auto\",pointerEvents:\"none\",position:\"relative\",transition:\"width 0.3s ease\"});wrapperBase.appendChild(cloneBase);const wrapperTop=document.createElement(\"div\");Object.assign(wrapperTop.style,{width:`${currentLogoWidth}em`,maxWidth:\"90vw\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:\"0 auto\",pointerEvents:\"none\",position:\"relative\",clipPath:\"inset(0% 100% 0% 0%)\",transition:\"width 0.3s ease\"});wrapperTop.appendChild(cloneTop);baseSlot.appendChild(wrapperBase);topSlot.appendChild(wrapperTop);insertedNodesRef.current.push(wrapperBase,wrapperTop);topWrapper=wrapperTop;}catch(err){topWrapper=await createRasterLogo(logo,currentLogoWidth,baseSlot,topSlot);}}else{topWrapper=await createRasterLogo(logo,currentLogoWidth,baseSlot,topSlot);}}wrap.style.color=color;if(progressBar){progressBar.style.background=color;}if(hideScroll){originalOverflow.current=document.body.style.overflow||\"\";document.body.style.overflow=\"hidden\";}await new Promise(resolve=>requestAnimationFrame(resolve));if(cancelled)return;wrap.style.display=\"block\";const animations=[];const durationMs=duration*1e3;// Progress bar animation\nif(progressBar){const progressAnim=progressBar.animate([{transform:\"scaleX(0)\"},{transform:\"scaleX(1)\"}],{duration:durationMs,easing:customEasing,fill:\"forwards\"});animations.push(progressAnim);}// Logo reveal animation\nif(topWrapper){const logoAnim=topWrapper.animate([{clipPath:\"inset(0% 100% 0% 0%)\"},{clipPath:\"inset(0% 0% 0% 0%)\"}],{duration:durationMs,easing:customEasing,fill:\"forwards\"});animations.push(logoAnim);}// Character-by-character text animations\nif(textEls.length>=2){const text1Element=textEls[0];const text2Element=textEls[1];// Make parent visible\ntext1Element.style.opacity=\"1\";text2Element.style.opacity=\"1\";// Split text into characters\nconst text1Chars=splitTextIntoChars(text1Element);const text2Chars=splitTextIntoChars(text2Element);// Animate first text in\ntext1Chars.forEach((char,i)=>{setTimeout(()=>{if(cancelled)return;const anim=char.animate([{opacity:0,transform:\"translateY(125%)\"},{opacity:1,transform:\"translateY(0)\"}],{duration:600,easing:customEasing,fill:\"forwards\"});animations.push(anim);},i*20);});// Animate first text out\nsetTimeout(()=>{text1Chars.forEach((char,i)=>{setTimeout(()=>{if(cancelled)return;const anim=char.animate([{opacity:1,transform:\"translateY(0)\"},{opacity:0,transform:\"translateY(-125%)\"}],{duration:400,easing:customEasing,fill:\"forwards\"});animations.push(anim);},i*20);});},1e3);// Animate second text in\nsetTimeout(()=>{text2Chars.forEach((char,i)=>{setTimeout(()=>{if(cancelled)return;const anim=char.animate([{opacity:0,transform:\"translateY(125%)\"},{opacity:1,transform:\"translateY(0)\"}],{duration:600,easing:customEasing,fill:\"forwards\"});animations.push(anim);},i*20);});},1e3);// Animate second text out\nsetTimeout(()=>{text2Chars.forEach((char,i)=>{setTimeout(()=>{if(cancelled)return;const anim=char.animate([{opacity:1,transform:\"translateY(0)\"},{opacity:0,transform:\"translateY(-125%)\"}],{duration:400,easing:customEasing,fill:\"forwards\"});animations.push(anim);},i*20);});},durationMs-500);}// Container fade out\nsetTimeout(()=>{if(cancelled)return;if(container){const containerAnim=container.animate([{opacity:1},{opacity:0}],{duration:500,easing:customEasing,fill:\"forwards\"});animations.push(containerAnim);}if(progressBar){const progressOutAnim=progressBar.animate([{transform:\"scaleX(1)\",// FIX: Set origin to right (100%) immediately at the start\ntransformOrigin:\"100% 50%\"},{transform:\"scaleX(0)\",// FIX: Keep origin at right (100%) for the end\ntransformOrigin:\"100% 50%\"}],{duration:500,easing:customEasing,fill:\"forwards\"});animations.push(progressOutAnim);}},durationMs+300);// Background slide out\nsetTimeout(()=>{if(cancelled)return;if(bg){const bgAnim=bg.animate([{transform:\"translateY(0)\"},{transform:\"translateY(-101%)\"}],{duration:1e3,easing:customEasing,fill:\"forwards\"});animations.push(bgAnim);setTimeout(()=>{if(cancelled)return;wrap.style.display=\"none\";wrap.style.pointerEvents=\"none\";if(hideScroll){document.body.style.overflow=originalOverflow.current||\"\";}},1e3);}},durationMs+300);animationsRef.current=animations;}async function createRasterLogo(logoSrc,width,baseSlot,topSlot){const img=document.createElement(\"img\");img.src=logoSrc;img.alt=\"logo\";img.style.width=\"100%\";img.style.height=\"auto\";img.style.display=\"block\";const wrapperBase=document.createElement(\"div\");Object.assign(wrapperBase.style,{width:`${width}em`,maxWidth:\"90vw\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:\"0 auto\",position:\"relative\",pointerEvents:\"none\",transition:\"width 0.3s ease\"});wrapperBase.appendChild(img);const imgClone=img.cloneNode(true);const wrapperTop=document.createElement(\"div\");Object.assign(wrapperTop.style,{width:`${width}em`,maxWidth:\"90vw\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",margin:\"0 auto\",pointerEvents:\"none\",position:\"relative\",clipPath:\"inset(0% 100% 0% 0%)\",transition:\"width 0.3s ease\"});wrapperTop.appendChild(imgClone);baseSlot.appendChild(wrapperBase);topSlot.appendChild(wrapperTop);insertedNodesRef.current.push(wrapperBase,wrapperTop);return wrapperTop;}setup();return()=>{cancelled=true;animationsRef.current.forEach(anim=>{try{anim.cancel();}catch(e){}});animationsRef.current=[];if(hideScroll){document.body.style.overflow=originalOverflow.current||\"\";}if(loaderRef.current){loaderRef.current.style.pointerEvents=\"none\";}insertedNodesRef.current.forEach(n=>n.remove());insertedNodesRef.current=[];};},[logo,color,currentLogoWidth,logoYOffset,duration,text1,text2,backgroundColor,preserveSvgColors,hideScroll]);return /*#__PURE__*/_jsx(\"div\",{ref:loaderRef,style:{width:\"100%\",height:\"100vh\",height:\"100dvh\",position:\"fixed\",top:0,left:0,overflow:\"hidden\",zIndex:9999,display:\"none\"},children:/*#__PURE__*/_jsxs(\"div\",{\"data-load-wrap\":true,style:{width:\"100%\",height:\"100%\",overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(\"div\",{\"data-load-bg\":true,style:{background:backgroundColor,width:\"100%\",height:\"100%\",position:\"absolute\",inset:0},children:/*#__PURE__*/_jsx(\"div\",{\"data-load-progress\":true,style:{height:\"0.5em\",background:color,transformOrigin:\"0% 50%\",transform:\"scaleX(0)\",position:\"absolute\",bottom:0,width:\"100%\"}})}),/*#__PURE__*/_jsxs(\"div\",{\"data-load-container\":true,style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",height:\"100%\",position:\"relative\",padding:breakpoint===\"mobile\"?\"0 1.5em\":\"0 1em\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"loader__logo-wrap\",style:{width:\"100%\",maxWidth:\"64rem\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",position:\"relative\",overflow:\"visible\",transform:`translateY(${logoYOffset}em)`},children:[/*#__PURE__*/_jsx(\"div\",{className:\"loader__logo-item is--base\",style:{opacity:.2,position:\"relative\",width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:\"none\",overflow:\"visible\"}}),/*#__PURE__*/_jsx(\"div\",{\"data-load-logo\":true,className:\"loader__logo-item is--top\",style:{position:\"absolute\",width:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",pointerEvents:\"none\",overflow:\"visible\",top:0,left:0}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:breakpoint===\"mobile\"?\"3.5em\":\"4em\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color,width:\"100%\",padding:breakpoint===\"mobile\"?\"0 1.5em\":\"0 1em\",pointerEvents:\"none\",boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"span\",{\"data-load-text\":true,style:{position:\"absolute\",left:\"50%\",transform:\"translateX(-50%)\",textTransform:\"uppercase\",fontFamily:\"Haffer Mono, Arial, sans-serif\",fontSize:breakpoint===\"mobile\"?\"0.85em\":\"1em\",display:\"block\",whiteSpace:\"nowrap\",pointerEvents:\"none\",opacity:0},children:text1}),/*#__PURE__*/_jsx(\"span\",{\"data-load-text\":true,style:{position:\"absolute\",left:\"50%\",transform:\"translateX(-50%)\",textTransform:\"uppercase\",fontFamily:\"Haffer Mono, Arial, sans-serif\",fontSize:breakpoint===\"mobile\"?\"0.85em\":\"1em\",display:\"block\",whiteSpace:\"nowrap\",pointerEvents:\"none\",opacity:0},children:text2})]})]})]})});}// Property controls\naddPropertyControls(Logo_reveal_loader,{text1:{type:ControlType.String,title:\"Text 1\",defaultValue:\"Hold tight\"},text2:{type:ControlType.String,title:\"Text 2\",defaultValue:\"Hang in there\"},logo:{type:ControlType.File,title:\"Logo\",allowedFileTypes:[\"svg\",\"png\",\"jpg\",\"jpeg\",\"webp\",\"gif\"]},logoWidthEm:{type:ControlType.Number,title:\"Desktop logo width\",defaultValue:17.5,min:2,max:80,step:.1},logoWidthTablet:{type:ControlType.Number,title:\"Tablet logo width\",defaultValue:15,min:2,max:80,step:.1,description:\"Width for screens 768px - 1023px\"},logoWidthMobile:{type:ControlType.Number,title:\"Mobile logo width\",defaultValue:12,min:2,max:80,step:.1,description:\"Width for screens < 768px\"},logoYOffset:{type:ControlType.Number,title:\"Logo Y offset\",defaultValue:0,min:-20,max:20,step:.5,description:\"Positive moves down, negative moves up\"},preserveSvgColors:{type:ControlType.Boolean,title:\"Use original SVG colors\",defaultValue:false},hideScroll:{type:ControlType.Boolean,title:\"Hide Scroll\",defaultValue:true,description:\"Disables scrolling while the loader is active.\"},color:{type:ControlType.Color,title:\"Accent color\",defaultValue:\"#fafafa\"},backgroundColor:{type:ControlType.Color,title:\"BG color\",defaultValue:\"#010101\"},duration:{type:ControlType.Number,title:\"Duration (s)\",defaultValue:3,min:.25,max:10,step:.25}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Logo_reveal_loader\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Logo_reveal_loader.map"],"mappings":"mMACA,SAAS,EAAmB,EAAS,CAA2F,OAAtF,EAAgC,EAAS,QAAQ,iCAAiC,EAAiB,CAAC,CAAC,QAAQ,YAAY,EAAE,CAAC,CAAC,KAAK,EAAnH,EAAqH,CAAC,SAAS,EAA0B,EAAQ,EAAuB,GAAM,CAA4B,IAAM,EAAI,IAApB,UAAyB,CAAC,CAA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