import{j as e,s,v as t,b as a,h as r,l as i,D as l,$ as n,a0 as d,Z as m,a1 as o,J as c,a2 as x}from"./ui-0c1fdf09.js";import{H as h}from"./index-c49ab0da.js";import{r as u,c as p,L as g}from"./vendor-d03f97b3.js";import{R as b,L as j,C as f,X as v,Y as N,T as y,a as w,b as k}from"./LineChart-15c3244c.js";import"./isPlainObject-bf45ffc7.js";const L=()=>{const[d,m]=u.useState({monthlyVisitors:1e4,conversionRate:2.5,averageOrderValue:75,currentLoadTime:5,targetLoadTime:2}),[o,c]=u.useState({currentRevenue:0,potentialRevenue:0,potentialIncrease:0,potentialIncreasePercentage:0,annualImpact:0}),[x,h]=u.useState([]),[g,L]=u.useState("input"),T=p.useRef(d),[z,S]=u.useState({}),C=e=>{const{name:s,value:t}=e.target;m((e=>(T.current=e,S({...z,[s]:!0}),setTimeout((()=>{S((e=>({...e,[s]:!1})))}),300),{...e,[s]:parseFloat(t)})))};u.useEffect((()=>{R()}),[d]);const R=()=>{const e=.0442,s=d.conversionRate,t=d.currentLoadTime-d.targetLoadTime,a=s*(1+e*t),r=d.monthlyVisitors*(s/100)*d.averageOrderValue,i=d.monthlyVisitors*(a/100)*d.averageOrderValue,l=i-r;c({currentRevenue:r,potentialRevenue:i,potentialIncrease:l,potentialIncreasePercentage:l/r*100,annualImpact:12*l});const n=[],m=Math.max(d.currentLoadTime,d.targetLoadTime)+2,o=Math.max(.5,Math.min(d.targetLoadTime,d.currentLoadTime)-1),x=new Set([d.currentLoadTime,d.targetLoadTime]);for(let d=o;d<=m;d+=.5)u(d);function u(s){const t=d.conversionRate*(1-e*(s-d.targetLoadTime)),a=d.monthlyVisitors*(Math.max(0,t)/100)*d.averageOrderValue;n.push({loadTime:s,revenue:a})}x.forEach((e=>{n.some((s=>s.loadTime===e))||u(e)})),n.sort(((e,s)=>e.loadTime-s.loadTime)),h(n)},O=e=>e>=1e6?`$${(e/1e6).toFixed(2)}M`:e>=1e3?`$${(e/1e3).toFixed(1)}K`:`$${e.toFixed(0)}`,I=(e,s,t)=>(e-s)/(t-s)*100;return e.jsxs("div",{className:"font-sans max-w-full overflow-x-hidden",children:[e.jsx("div",{className:"border-b border-gray-200 rounded-t-xl overflow-hidden bg-white shadow-sm sticky top-0 z-10",children:e.jsxs("div",{className:"flex",children:[e.jsxs("button",{onClick:()=>L("input"),className:"flex-1 py-3 sm:py-4 px-3 sm:px-4 font-medium text-sm focus:outline-none relative transition-colors duration-200 "+("input"===g?"text-blue-600":"text-gray-500 hover:text-gray-700"),children:[e.jsx("span",{children:"Your Website Metrics"}),"input"===g&&e.jsx("span",{className:"absolute bottom-0 left-0 w-full h-0.5 bg-blue-600 animate-slide-in-right"})]}),e.jsxs("button",{onClick:()=>L("results"),className:"flex-1 py-3 sm:py-4 px-3 sm:px-4 font-medium text-sm focus:outline-none relative transition-colors duration-200 "+("results"===g?"text-blue-600":"text-gray-500 hover:text-gray-700"),children:[e.jsx("span",{children:"Revenue Impact"}),"results"===g&&e.jsx("span",{className:"absolute bottom-0 left-0 w-full h-0.5 bg-blue-600 animate-slide-in-right"})]})]})}),e.jsx("div",{className:"text-center py-2 bg-blue-50 border-b border-blue-100",children:e.jsxs("p",{className:"text-xs sm:text-sm text-blue-700 px-2",children:["Based on industry research showing conversion rates drop ",e.jsx("span",{className:"font-semibold",children:"~4.42%"})," per additional second of load time"]})}),"input"===g&&e.jsxs("div",{className:"bg-white rounded-b-xl shadow-sm p-4 sm:p-6 animate-fade-in",children:[e.jsxs("div",{className:"mb-6 sm:mb-8",children:[e.jsxs("div",{className:"flex items-center mb-4 sm:mb-5",children:[e.jsxs("div",{className:"inline-flex h-9 w-9 sm:h-10 sm:w-10 flex-shrink-0 items-center justify-center rounded-full bg-blue-50 text-blue-600",children:[e.jsx(s,{size:18,className:"sm:hidden"}),e.jsx(s,{size:20,className:"hidden sm:block"})]}),e.jsx("h3",{className:"ml-3 text-base sm:text-lg font-medium text-gray-900",children:"Traffic & Conversion"})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5 sm:gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center flex-wrap",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1 sm:mb-0",children:"Monthly Website Visitors"}),e.jsx("span",{className:"slider-value blue "+(z.monthlyVisitors?"changed":""),children:d.monthlyVisitors.toLocaleString()})]}),e.jsxs("div",{className:"slider-container",children:[e.jsx("div",{className:"slider-progress",style:{width:`${I(d.monthlyVisitors,1e3,1e6)}%`}}),e.jsx("input",{type:"range",name:"monthlyVisitors",min:"1000",max:"1000000",step:"1000",value:d.monthlyVisitors,onChange:C,className:"premium-slider"})]}),e.jsxs("div",{className:"slider-labels",children:[e.jsx("span",{className:"slider-label",children:"1K"}),e.jsx("span",{className:"slider-label",children:"1M"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center flex-wrap",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1 sm:mb-0",children:"Conversion Rate (%)"}),e.jsxs("span",{className:"slider-value blue "+(z.conversionRate?"changed":""),children:[d.conversionRate,"%"]})]}),e.jsxs("div",{className:"slider-container",children:[e.jsx("div",{className:"slider-progress",style:{width:`${I(d.conversionRate,.1,10)}%`}}),e.jsx("input",{type:"range",name:"conversionRate",min:"0.1",max:"10",step:"0.1",value:d.conversionRate,onChange:C,className:"premium-slider"})]}),e.jsxs("div",{className:"slider-labels",children:[e.jsx("span",{className:"slider-label",children:"0.1%"}),e.jsx("span",{className:"slider-label",children:"10%"})]})]})]}),e.jsxs("div",{className:"mt-5 sm:mt-6",children:[e.jsxs("div",{className:"flex justify-between items-center flex-wrap",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1 sm:mb-0",children:"Average Order Value ($)"}),e.jsxs("span",{className:"slider-value blue "+(z.averageOrderValue?"changed":""),children:["$",d.averageOrderValue]})]}),e.jsxs("div",{className:"slider-container",children:[e.jsx("div",{className:"slider-progress",style:{width:`${I(d.averageOrderValue,1,500)}%`}}),e.jsx("input",{type:"range",name:"averageOrderValue",min:"1",max:"500",step:"1",value:d.averageOrderValue,onChange:C,className:"premium-slider"})]}),e.jsxs("div",{className:"slider-labels",children:[e.jsx("span",{className:"slider-label",children:"$1"}),e.jsx("span",{className:"slider-label",children:"$500"})]})]})]}),e.jsxs("div",{className:"mt-8 sm:mt-12 mb-6 sm:mb-10",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4 sm:mb-5 flex-wrap gap-2",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsxs("div",{className:"inline-flex h-9 w-9 sm:h-10 sm:w-10 flex-shrink-0 items-center justify-center rounded-full bg-blue-50 text-blue-600",children:[e.jsx(t,{size:18,className:"sm:hidden"}),e.jsx(t,{size:20,className:"hidden sm:block"})]}),e.jsx("h3",{className:"ml-3 text-base sm:text-lg font-medium text-gray-900",children:"Page Speed"})]}),e.jsxs("a",{href:"https://pagespeed.web.dev/",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-blue-600 hover:text-blue-800 hover:underline flex items-center","aria-label":"Test your site speed with Google PageSpeed Insights",children:["Don't know your site speed? Test it",e.jsx(a,{className:"ml-1 h-3 w-3"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5 sm:gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center flex-wrap",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1 sm:mb-0",children:"Current Page Load Time (seconds)"}),e.jsxs("span",{className:"slider-value red "+(z.currentLoadTime?"changed":""),children:[d.currentLoadTime,"s"]})]}),e.jsxs("div",{className:"slider-container",children:[e.jsx("div",{className:"slider-progress red",style:{width:`${I(d.currentLoadTime,1,10)}%`}}),e.jsx("input",{type:"range",name:"currentLoadTime",min:"1",max:"10",step:"0.1",value:d.currentLoadTime,onChange:C,className:"premium-slider red"})]}),e.jsxs("div",{className:"slider-labels",children:[e.jsx("span",{className:"slider-label",children:"1s"}),e.jsx("span",{className:"slider-label",children:"10s"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex justify-between items-center flex-wrap",children:[e.jsx("label",{className:"block text-sm font-medium text-gray-700 mb-1 sm:mb-0",children:"Target Page Load Time (seconds)"}),e.jsxs("span",{className:"slider-value green "+(z.targetLoadTime?"changed":""),children:[d.targetLoadTime,"s"]})]}),e.jsxs("div",{className:"slider-container",children:[e.jsx("div",{className:"slider-progress green",style:{width:`${I(d.targetLoadTime,1,10)}%`}}),e.jsx("input",{type:"range",name:"targetLoadTime",min:"1",max:"10",step:"0.1",value:d.targetLoadTime,onChange:C,className:"premium-slider green"})]}),e.jsxs("div",{className:"slider-labels",children:[e.jsx("span",{className:"slider-label",children:"1s"}),e.jsx("span",{className:"slider-label",children:"10s"})]})]})]})]}),e.jsx("div",{className:"text-center mt-6 sm:mt-8 mb-4 sm:mb-6",children:e.jsxs("p",{className:"flex items-center justify-center text-xs sm:text-sm text-gray-600 bg-gray-50 py-3 px-3 sm:px-4 rounded-lg shadow-sm border border-gray-100",children:[e.jsxs("span",{className:"inline-block w-5 h-5 sm:w-6 sm:h-6 rounded-full bg-blue-100 flex items-center justify-center mr-2 text-blue-600",children:[e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"sm:hidden",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"M12 16v-4"}),e.jsx("path",{d:"M12 8h.01"})]}),e.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"hidden sm:block",children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"M12 16v-4"}),e.jsx("path",{d:"M12 8h.01"})]})]}),e.jsx("span",{className:"font-medium",children:"Drag the sliders"})," to adjust values and see their impact on your potential revenue"]})}),e.jsx("div",{className:"mt-6 sm:mt-8 flex justify-center sm:justify-end",children:e.jsxs("button",{type:"button",onClick:()=>L("results"),className:"w-full sm:w-auto inline-flex justify-center items-center px-5 py-2.5 border border-transparent text-sm sm:text-base font-medium rounded-lg shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",children:["See Your Results",e.jsx(a,{className:"ml-2 h-4 w-4 sm:h-5 sm:w-5"})]})})]}),"results"===g&&e.jsxs("div",{className:"bg-white rounded-b-xl shadow-sm p-4 sm:p-6 animate-fade-in",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-4 mb-6 sm:gap-6 sm:mb-10",children:[e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-4 sm:p-6 shadow-sm transition-all hover:shadow-md",children:[e.jsxs("div",{className:"flex items-center mb-2 sm:mb-3",children:[e.jsxs("div",{className:"flex h-7 w-7 sm:h-8 sm:w-8 items-center justify-center rounded-full bg-red-50",children:[e.jsx(r,{size:16,className:"text-red-600 sm:hidden"}),e.jsx(r,{size:18,className:"text-red-600 hidden sm:block"})]}),e.jsx("h3",{className:"ml-3 text-sm font-medium text-gray-700",children:"Current Monthly Revenue"})]}),e.jsxs("div",{className:"mt-1",children:[e.jsx("div",{className:"flex items-baseline",children:e.jsx("p",{className:"text-2xl sm:text-3xl font-bold text-gray-900",children:O(o.currentRevenue)})}),e.jsxs("p",{className:"mt-1 text-xs sm:text-sm text-gray-500",children:["At ",d.currentLoadTime,"s load time"]})]})]}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-4 sm:p-6 shadow-sm transition-all hover:shadow-md",children:[e.jsxs("div",{className:"flex items-center mb-2 sm:mb-3",children:[e.jsxs("div",{className:"flex h-7 w-7 sm:h-8 sm:w-8 items-center justify-center rounded-full bg-green-50",children:[e.jsx(i,{size:16,className:"text-green-600 sm:hidden"}),e.jsx(i,{size:18,className:"text-green-600 hidden sm:block"})]}),e.jsx("h3",{className:"ml-3 text-sm font-medium text-gray-700",children:"Potential Monthly Revenue"})]}),e.jsxs("div",{className:"mt-1",children:[e.jsx("div",{className:"flex items-baseline",children:e.jsx("p",{className:"text-2xl sm:text-3xl font-bold text-green-600",children:O(o.potentialRevenue)})}),e.jsxs("p",{className:"mt-1 text-xs sm:text-sm text-gray-500",children:["At ",d.targetLoadTime,"s load time"]})]})]}),e.jsxs("div",{className:"bg-blue-50 border border-blue-100 rounded-xl p-4 sm:p-6 shadow-sm transition-all hover:shadow-md",children:[e.jsxs("div",{className:"flex items-center mb-2 sm:mb-3",children:[e.jsxs("div",{className:"flex h-7 w-7 sm:h-8 sm:w-8 items-center justify-center rounded-full bg-blue-100",children:[e.jsx(l,{size:16,className:"text-blue-600 sm:hidden"}),e.jsx(l,{size:18,className:"text-blue-600 hidden sm:block"})]}),e.jsx("h3",{className:"ml-3 text-sm font-medium text-gray-700",children:"Potential Annual Impact"})]}),e.jsxs("div",{className:"mt-1",children:[e.jsx("div",{className:"flex items-baseline",children:e.jsx("p",{className:"text-2xl sm:text-3xl font-bold text-blue-700",children:O(o.annualImpact)})}),e.jsxs("div",{className:"flex items-center mt-1",children:[e.jsx(n,{size:12,className:"text-green-600 mr-1 sm:hidden"}),e.jsx(n,{size:14,className:"text-green-600 mr-1 hidden sm:block"}),e.jsxs("p",{className:"text-xs sm:text-sm font-medium text-green-600",children:[o.potentialIncreasePercentage.toFixed(1),"% revenue increase"]})]})]})]})]}),e.jsxs("div",{className:"bg-white border border-gray-200 rounded-xl p-4 sm:p-6 shadow-sm mb-6 sm:mb-8",children:[e.jsxs("div",{className:"flex items-center justify-between mb-4 sm:mb-6 flex-wrap gap-y-2",children:[e.jsx("h3",{className:"text-base sm:text-lg font-medium text-gray-900",children:"Revenue vs. Page Speed"}),e.jsxs("div",{className:"flex items-center space-x-3 sm:space-x-4",children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"w-2.5 h-2.5 sm:w-3 sm:h-3 bg-red-500 rounded-full mr-1"}),e.jsxs("span",{className:"text-xs text-gray-600",children:["Current: ",d.currentLoadTime,"s"]})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsx("div",{className:"w-2.5 h-2.5 sm:w-3 sm:h-3 bg-green-500 rounded-full mr-1"}),e.jsxs("span",{className:"text-xs text-gray-600",children:["Target: ",d.targetLoadTime,"s"]})]})]})]}),e.jsx("div",{className:"h-60 sm:h-80",children:e.jsx(b,{width:"100%",height:"100%",children:e.jsxs(j,{data:x,margin:{top:20,right:10,left:10,bottom:20},children:[e.jsx(f,{strokeDasharray:"3 3",stroke:"#E5E7EB"}),e.jsx(v,{dataKey:"loadTime",label:{value:"Page Load Time (seconds)",position:"insideBottom",offset:-15,style:{fontSize:"10px",fill:"#6B7280"}},tick:{fontSize:10},domain:["dataMin","dataMax"],allowDataOverflow:!0}),e.jsx(N,{tickFormatter:O,label:{value:"Monthly Revenue",angle:-90,position:"insideLeft",offset:-5,style:{fontSize:"10px",fill:"#6B7280"}},tick:{fontSize:10},width:60}),e.jsx(y,{formatter:e=>[`${O(e)}`,"Revenue"],labelFormatter:e=>`Load Time: ${e}s`,contentStyle:{fontSize:"12px"}}),e.jsx(w,{type:"monotone",dataKey:"revenue",stroke:"#3B82F6",strokeWidth:2,dot:!1,activeDot:{r:6}}),e.jsx(k,{x:d.currentLoadTime,stroke:"#EF4444",strokeWidth:2,strokeDasharray:"3 3",label:{value:"Current",fill:"#EF4444",fontSize:12,fontWeight:"bold",position:"top"},ifOverflow:"extendDomain",z:10}),e.jsx(k,{x:d.targetLoadTime,stroke:"#10B981",strokeWidth:2,strokeDasharray:"3 3",label:{value:"Target",fill:"#10B981",fontSize:12,fontWeight:"bold",position:"top"},ifOverflow:"extendDomain",z:10})]})})})]}),e.jsx("div",{className:"mt-2 mb-6 sm:mb-8",children:e.jsxs("p",{className:"text-xs sm:text-sm text-gray-500 leading-relaxed",children:["This chart illustrates how improving your page loading speed from ",e.jsxs("span",{className:"font-medium text-red-600",children:[d.currentLoadTime,"s"]})," to ",e.jsxs("span",{className:"font-medium text-green-600",children:[d.targetLoadTime,"s"]})," could impact your monthly revenue.",e.jsx("span",{className:"block mt-1",children:"Faster websites have higher conversion rates, leading to increased revenue."})]})}),e.jsxs("div",{className:"bg-blue-50 rounded-xl border border-blue-100 p-4 sm:p-6",children:[e.jsx("h3",{className:"text-base sm:text-lg font-medium text-gray-900 mb-3 sm:mb-4",children:"Speed Optimization Recommendations"}),e.jsxs("div",{className:"space-y-3 sm:space-y-4",children:[e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 mt-0.5",children:e.jsxs("div",{className:"flex h-5 w-5 sm:h-6 sm:w-6 items-center justify-center rounded-full bg-blue-100",children:[e.jsx(i,{size:12,className:"text-blue-600 sm:hidden"}),e.jsx(i,{size:14,className:"text-blue-600 hidden sm:block"})]})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-xs sm:text-sm font-medium text-gray-700",children:"Optimize images"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Potential 0.8-1.2s improvement"})]})]}),e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 mt-0.5",children:e.jsxs("div",{className:"flex h-5 w-5 sm:h-6 sm:w-6 items-center justify-center rounded-full bg-blue-100",children:[e.jsx(i,{size:12,className:"text-blue-600 sm:hidden"}),e.jsx(i,{size:14,className:"text-blue-600 hidden sm:block"})]})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-xs sm:text-sm font-medium text-gray-700",children:"Implement effective caching"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Potential 0.5-1.0s improvement"})]})]}),e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 mt-0.5",children:e.jsxs("div",{className:"flex h-5 w-5 sm:h-6 sm:w-6 items-center justify-center rounded-full bg-blue-100",children:[e.jsx(i,{size:12,className:"text-blue-600 sm:hidden"}),e.jsx(i,{size:14,className:"text-blue-600 hidden sm:block"})]})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-xs sm:text-sm font-medium text-gray-700",children:"Minimize and defer JavaScript"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Potential 0.7-1.5s improvement"})]})]}),e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"flex-shrink-0 mt-0.5",children:e.jsxs("div",{className:"flex h-5 w-5 sm:h-6 sm:w-6 items-center justify-center rounded-full bg-blue-100",children:[e.jsx(i,{size:12,className:"text-blue-600 sm:hidden"}),e.jsx(i,{size:14,className:"text-blue-600 hidden sm:block"})]})}),e.jsxs("div",{className:"ml-3",children:[e.jsx("p",{className:"text-xs sm:text-sm font-medium text-gray-700",children:"Optimize Core Web Vitals"}),e.jsx("p",{className:"text-xs text-gray-500",children:"Improved user experience and SEO"})]})]})]})]}),e.jsx("div",{className:"mt-6 sm:mt-8",children:e.jsx("div",{className:"flex justify-center sm:justify-start",children:e.jsx("button",{type:"button",onClick:()=>L("input"),className:"w-full sm:w-auto inline-flex justify-center items-center px-4 py-2.5 border border-gray-300 shadow-sm text-sm font-medium rounded-lg text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-colors",children:"Edit Your Data"})})})]})]})},T=()=>{const t="https://enrizhulati.com",i=`${t}/tools/website-speed-impact-calculator`;return e.jsxs(e.Fragment,{children:[e.jsxs(h,{children:[e.jsx("title",{children:"Website Speed Calculator | See How Loading Time Affects Revenue"}),e.jsx("meta",{name:"description",content:"Discover how much revenue you're losing from slow page speed. Calculate the financial impact of speed optimization with our free tool based on real conversion data."}),e.jsx("meta",{name:"keywords",content:"website speed calculator, page load time, speed impact calculator, conversion rate, site performance, speed optimization, revenue impact, ecommerce speed"}),e.jsx("link",{rel:"canonical",href:i}),e.jsx("meta",{property:"og:title",content:"Website Speed Calculator - See Revenue Impact of Loading Times"}),e.jsx("meta",{property:"og:description",content:"Discover how much revenue you're losing from slow page speed. Calculate the financial impact of speed optimization with our free tool based on real conversion data."}),e.jsx("meta",{property:"og:url",content:i}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:image",content:`${t}/images/speed-roi-calculator-preview.jpg`}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Website Speed Calculator"}),e.jsx("meta",{name:"twitter:description",content:"Discover how much revenue you're losing from slow page speed. Calculate the financial impact of speed optimization with our free tool."}),e.jsx("meta",{name:"twitter:image",content:`${t}/images/speed-roi-calculator-preview.jpg`}),e.jsx("meta",{name:"robots",content:"index, follow"}),e.jsx("meta",{name:"author",content:"Enri Zhulati"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebApplication",name:"Website Speed Impact Calculator",description:"Discover how much revenue you're losing from slow page speed. Calculate the financial impact of speed optimization based on real industry conversion data.",url:i,applicationCategory:"BusinessApplication",operatingSystem:"Any",offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},provider:{"@type":"Person",name:"Enri Zhulati",url:t},inLanguage:"en-US",potentialAction:{"@type":"UseAction",target:i}})}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:t},{"@type":"ListItem",position:2,name:"Tools",item:`${t}/tools`},{"@type":"ListItem",position:3,name:"Website Speed Impact Calculator",item:i}]})}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"SoftwareApplication",name:"Website Speed Impact Calculator",applicationCategory:"UtilityApplication",offers:{"@type":"Offer",price:"0"},featureList:["Calculate revenue impact of website speed","Visualize conversion rate changes","Estimate annual financial benefits of speed optimization","Compare current vs target page load times"],keywords:"website speed, page load time, speed impact calculator, conversion rate, site performance, speed optimization, revenue impact",contentUrl:i,mainEntityOfPage:{"@type":"WebPage",name:"Website Speed Impact Calculator",description:"Calculate how website speed impacts your revenue. See the potential ROI of improving page load time."}})})]}),e.jsx("div",{className:"bg-gradient-to-b from-gray-50 to-white dark:from-gray-900 dark:to-gray-900/50 pt-16 sm:pt-18 md:pt-20 pb-12 sm:pb-16",children:e.jsxs("div",{className:"max-w-6xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx("div",{className:"mb-6 sm:mb-8",children:e.jsxs(g,{to:"/tools",className:"inline-flex items-center text-blue-600 dark:text-blue-400 hover:text-blue-800 dark:hover:text-blue-300 font-medium",children:[e.jsx(d,{className:"mr-1 h-4 w-4"}),e.jsx("span",{children:"Back to all tools"})]})}),e.jsxs("div",{className:"text-center mb-6 sm:mb-8",children:[e.jsxs("h1",{className:"text-3xl sm:text-4xl font-bold text-gray-900 dark:text-white md:text-5xl",children:["Website Speed ",e.jsx("span",{className:"text-blue-600 dark:text-blue-400",children:"ROI"})," Calculator"]}),e.jsx("p",{className:"mt-3 sm:mt-4 text-base sm:text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto",children:"See the potential revenue impact of improving your website's loading time. Faster websites convert better!"})]}),e.jsx("div",{className:"mt-6 sm:mt-8",children:e.jsx(L,{})}),e.jsx("div",{className:"mt-12 sm:mt-16",children:e.jsxs("div",{className:"bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden border border-gray-100 dark:border-gray-700",children:[e.jsx("div",{className:"bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 px-6 py-5 sm:px-8 sm:py-6 border-b border-blue-100 dark:border-blue-900/30",children:e.jsxs("h2",{className:"text-xl sm:text-2xl font-bold text-gray-900 dark:text-white flex items-center",children:[e.jsx(m,{className:"mr-3 h-6 w-6 text-blue-600 dark:text-blue-400"}),"Why Website Speed Matters"]})}),e.jsxs("div",{className:"p-6 sm:p-8",children:[e.jsx("p",{className:"text-gray-700 dark:text-gray-300 text-sm sm:text-base leading-relaxed",children:"Website speed is a critical factor in user experience and conversion rates. Research consistently shows that faster websites lead to:"}),e.jsxs("div",{className:"mt-6 grid grid-cols-1 sm:grid-cols-2 gap-4 sm:gap-6",children:[e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border border-gray-100 dark:border-gray-700 shadow-sm flex",children:[e.jsx("div",{className:"mr-4 mt-1",children:e.jsx("div",{className:"bg-green-100 dark:bg-green-900/30 p-2 rounded-full",children:e.jsx(s,{size:18,className:"text-green-600 dark:text-green-400"})})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white mb-1",children:"Higher conversion rates"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Users are more likely to complete purchases on fast-loading sites"})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border border-gray-100 dark:border-gray-700 shadow-sm flex",children:[e.jsx("div",{className:"mr-4 mt-1",children:e.jsx("div",{className:"bg-indigo-100 dark:bg-indigo-900/30 p-2 rounded-full",children:e.jsx(o,{size:18,className:"text-indigo-600 dark:text-indigo-400"})})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white mb-1",children:"Lower bounce rates"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Visitors stay longer when pages load quickly"})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border border-gray-100 dark:border-gray-700 shadow-sm flex",children:[e.jsx("div",{className:"mr-4 mt-1",children:e.jsx("div",{className:"bg-blue-100 dark:bg-blue-900/30 p-2 rounded-full",children:e.jsx(c,{size:18,className:"text-blue-600 dark:text-blue-400"})})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white mb-1",children:"Better SEO rankings"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Google considers page speed as a ranking factor"})]})]}),e.jsxs("div",{className:"bg-white dark:bg-gray-800 p-4 rounded-lg border border-gray-100 dark:border-gray-700 shadow-sm flex",children:[e.jsx("div",{className:"mr-4 mt-1",children:e.jsx("div",{className:"bg-purple-100 dark:bg-purple-900/30 p-2 rounded-full",children:e.jsx(x,{size:18,className:"text-purple-600 dark:text-purple-400"})})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 dark:text-white mb-1",children:"Improved user satisfaction"}),e.jsx("p",{className:"text-sm text-gray-600 dark:text-gray-400",children:"Fast sites create positive brand experiences"})]})]})]}),e.jsx("div",{className:"mt-8 bg-white dark:bg-gray-800 p-5 rounded-lg border border-gray-100 dark:border-gray-700 shadow-sm",children:e.jsxs("div",{className:"flex",children:[e.jsx("div",{className:"mr-4 flex-shrink-0",children:e.jsx("div",{className:"bg-red-100 dark:bg-red-900/30 p-2 rounded-full",children:e.jsx(r,{size:20,className:"text-red-600 dark:text-red-400"})})}),e.jsx("div",{children:e.jsxs("p",{className:"text-gray-700 dark:text-gray-300 font-medium",children:["According to research by Google, as page load time increases from 1 second to 3 seconds, the probability of bounce increases by ",e.jsx("span",{className:"text-red-600 dark:text-red-400 font-semibold",children:"32%"}),". When load times reach 6 seconds, that probability jumps to ",e.jsx("span",{className:"text-red-600 dark:text-red-400 font-semibold",children:"106%"}),"."]})})]})}),e.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row sm:items-center sm:justify-between p-5 bg-gradient-to-r from-blue-50 to-indigo-50 dark:from-blue-900/20 dark:to-indigo-900/20 rounded-lg border border-blue-100 dark:border-blue-900/30",children:[e.jsx("p",{className:"text-gray-700 dark:text-gray-300 sm:mr-4 mb-4 sm:mb-0 font-medium",children:"Need help improving your website's speed?"}),e.jsxs(g,{to:"/#contact",className:"inline-flex items-center justify-center px-4 py-2 border border-transparent rounded-lg shadow-sm text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 transition-all duration-200",children:["Get in touch",e.jsx(a,{className:"ml-2 h-4 w-4"})]})]})]})]})})]})})]})};export{T as default}; //# sourceMappingURL=SpeedRoiCalculator-08a514d7.js.map