PageSourceSearch

https://monovm.com/_next/static/chunks/581.e722fbe722ac33c6.js

js monovm.com collected 2026-10-02 06:51:19 UTC 60,069 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[581],{581:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>T,formatPrice:()=>L});var r=s(5155),a=s(2115),n=s(1968),l=s(4601),i=s(63),o=s(5239),d=s(2697),c=s(8661),u=s.n(c);let m=e=>{let{title:t,min:s,max:n,step:l,unit:i,classes:o,defaultMin:d,defaultMax:c,onChange:m}=e,[p,h]=(0,a.useState)(d??s),[f,x]=(0,a.useState)(c??n),[g,b]=(0,a.useState)(null),y=(0,a.useRef)(null),v=(0,a.useRef)(null),j=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=d??s;h(t=>t!==e?e:t)},[d,s]),(0,a.useEffect)(()=>{let e=c??n;x(t=>t!==e?e:t)},[c,n]),(0,a.useEffect)(()=>{if(y.current&&v.current&&j.current){let e=(p-s)/(n-s)*100,t=(f-s)/(n-s)*100;j.current.style.left=`${e}%`,j.current.style.width=`${t-e}%`}},[p,f,s,n]);let w=e=>{let t=Math.min(Number(e.target.value),f-l);h(t),m&&m(t,f)},S=e=>{let t=Math.max(Number(e.target.value),p+l);x(t),m&&m(p,t)};return(0,r.jsxs)("div",{className:`jsx-a0440fcff2f61086 w-full max-w-md mx-auto ${o}`,children:[(0,r.jsxs)("div",{className:"jsx-a0440fcff2f61086 flex justify-between items-center gap-2 mb-6",children:[t&&(0,r.jsxs)("span",{className:"jsx-a0440fcff2f61086 block text-green900 text-sm me-3",children:[t,":"]}),(0,r.jsx)("input",{type:"number",value:p,min:s,max:n,step:l,onChange:w,className:"jsx-a0440fcff2f61086 block w-full p-2 text-xs rounded-md border-gray-300 focus:outline-none"}),(0,r.jsx)("span",{className:"jsx-a0440fcff2f61086 text-xs text-darkGray",children:"-"}),(0,r.jsx)("input",{type:"number",value:f,min:s,max:n,step:l,onChange:S,className:"jsx-a0440fcff2f61086 block w-full p-2 text-xs rounded-md border-gray-300 focus:outline-none"}),(0,r.jsx)("span",{className:"jsx-a0440fcff2f61086 text-xs text-darkGray",children:i})]}),(0,r.jsxs)("div",{className:"jsx-a0440fcff2f61086 relative h-2",children:[(0,r.jsx)("div",{className:"jsx-a0440fcff2f61086 absolute top-0 left-0 w-full h-1 bg-blueD rounded-full"}),(0,r.jsx)("div",{ref:j,className:"jsx-a0440fcff2f61086 absolute top-0 h-1 bg-red500 rounded-full"}),(0,r.jsx)("input",{ref:y,type:"range",min:s,max:n,step:l,value:p,onChange:w,onFocus:()=>b("min"),onMouseDown:()=>b("min"),onBlur:()=>b(null),onMouseUp:()=>b(null),style:{zIndex:"min"===g?5:3},className:"jsx-a0440fcff2f61086 absolute top-0 w-full h-2 appearance-none bg-transparent"}),(0,r.jsx)("input",{ref:v,type:"range",min:s,max:n,step:l,value:f,onChange:S,onFocus:()=>b("max"),onMouseDown:()=>b("max"),onBlur:()=>b(null),onMouseUp:()=>b(null),style:{zIndex:"max"===g?5:4},className:"jsx-a0440fcff2f61086 absolute top-0 w-full h-2 appearance-none bg-transparent"})]}),(0,r.jsx)(u(),{id:"a0440fcff2f61086",children:'input[type="range"]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;height:17px;width:17px;border-radius:50%;background:#041c64;cursor:pointer;margin-top:-7px;border:none}input[type="range"]::-moz-range-thumb{height:17px;width:17px;border-radius:50%;background:#041c64;cursor:pointer;border:none}input[type="range"]::-webkit-slider-runnable-track,input[type="range"]::-moz-range-track{background:transparent;border:none}'})]})};var p=s(679),h=s(8534);function f(e){let{plans:t,onRemove:s,onCompare:a,onClear:n}=e,l=4-t.length,i=t.length>=2;return(0,r.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-40 animate-slideUp",children:(0,r.jsx)("div",{className:"bg-darkBlue shadow-2xl border-t border-blueD",children:(0,r.jsx)("div",{className:"container mx-auto px-4 py-3",children:(0,r.jsxs)("div",{className:"flex items-center gap-3 flex-wrap lg:flex-nowrap",children:[(0,r.jsxs)("span",{className:"text-white font-semibold text-sm whitespace-nowrap shrink-0",children:["Compare (",t.length,"/",4,"):"]}),(0,r.jsxs)("div",{className:"grid xl:flex items-center gap-1 xl:gap-2 2xl:flex-1 min-w-0 overflow-x-auto",children:[t.map(e=>(0,r.jsxs)("div",{className:"flex items-center justify-between gap-2 bg-white/10 rounded-lg px-3 py-1.5 shrink-0 max-w-[200px]",children:[(0,r.jsx)("span",{className:"text-white text-xs truncate",children:e.name}),(0,r.jsx)("button",{type:"button",onClick:()=>s(e.pid),className:"text-white/60 hover:text-white transition shrink-0",title:`Remove ${e.name}`,children:(0,r.jsx)("svg",{width:10,height:10,viewBox:"0 0 10 10",fill:"none",children:(0,r.jsx)("path",{d:"M1 1l8 8M9 1l-8 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},e.pid)),Array.from({length:l}).map((e,t)=>(0,r.jsx)("div",{className:"hidden lg:flex items-center justify-center border border-dashed border-white/20 rounded-lg px-3 py-1.5 shrink-0 min-w-[120px]",children:(0,r.jsx)("span",{className:"text-white/30 text-xs",children:"+ Add a plan"})},`empty-${t}`))]}),(0,r.jsxs)("div",{className:"flex items-center gap-3 shrink-0",children:[(0,r.jsx)("button",{type:"button",onClick:n,className:"text-white/60 hover:text-white text-xs transition",children:"Clear all"}),(0,r.jsx)("button",{type:"button",onClick:a,disabled:!i,className:`px-6 py-2 rounded-full text-sm font-semibold transition-all duration-200 ${i?"red500-btn cursor-pointer":"bg-white/10 text-white/40 cursor-not-allowed"}`,children:"Compare"})]})]})})})})}var x=s(4393);let g=(e,t)=>{let s=e.features.find(e=>t.test(e.title));return s?.amount??"—"};function b(e){let{plans:t,cycleMonths:s,planCycles:n,onClose:l}=e;(0,a.useEffect)(()=>{let e=e=>{"Escape"===e.key&&l()};return document.body.style.overflow="hidden",document.addEventListener("keydown",e),()=>{document.body.style.overflow="",document.removeEventListener("keydown",e)}},[l]);let i=(0,a.useMemo)(()=>t.map(e=>{let t=n[e.pid]??"monthly",r=e.prices[t]??0,a=e.discounts?.[t],l=s[t];return(a?r-Number(a.amount):r)/l}),[t,n,s]),d=(0,a.useMemo)(()=>{let e=[];e.push({label:"Monthly Price",values:i.map((e,s)=>t[s].available&&e>0?`$ ${L(e)}`:"Out Of Stock"),type:"price"}),e.push({label:"CPU",values:t.map(e=>e.cpuName||"—"),type:"text"}),e.push({label:"Cores",values:t.map(e=>e.coresText||"—"),type:"higher-better"}),e.push({label:"Threads",values:t.map(e=>e.threadsText||"—"),type:"higher-better"}),e.push({label:"RAM",values:t.map(e=>g(e,/^ram$/i)),type:"higher-better"}),e.push({label:"Storage",values:t.map(e=>g(e,/^storage$/i)),type:"higher-better"}),e.push({label:"Bandwidth",values:t.map(e=>g(e,/bandwidth/i)),type:"text"}),e.push({label:"Location",values:t.map(e=>(e.locations??[]).length>0?e.locations.map(e=>e.name).join(", "):"—"),type:"location"});let s=new Set(["cpu","cores","threads","ram","storage","bandwidth"]),r=[];
1return t.forEach(e=>{e.displayFeatures.forEach(e=>{let t=e.title.toLowerCase();s.has(t)||r.includes(t)||r.push(t)})}),r.forEach(s=>{let r=t.flatMap(e=>e.displayFeatures).find(e=>e.title.toLowerCase()===s)?.title??s;e.push({label:r,values:t.map(e=>{let t=e.displayFeatures.find(e=>e.title.toLowerCase()===s);return t?.amount??"—"}),type:"text"})}),e},[t,i]),c=t.length;return(0,r.jsxs)("div",{className:"fixed inset-0 flex items-start justify-center z-50 pt-8 pb-8",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-black/50",onClick:l}),(0,r.jsxs)("div",{className:"relative bg-white rounded-xl shadow-2xl z-10 w-full max-w-6xl mx-4 max-h-[calc(100vh-4rem)] flex flex-col",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-blueD shrink-0",children:[(0,r.jsxs)("h2",{className:"text-lg font-bold text-darkBlue",children:["Compare Plans (",t.length,")"]}),(0,r.jsx)("button",{type:"button",onClick:l,className:"text-darkBlue2 hover:text-darkBlue transition p-1",title:"Close",children:(0,r.jsx)("svg",{width:10,height:10,viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M2 2l12 12M14 2L2 14",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]}),(0,r.jsx)("div",{className:"overflow-auto flex-1",children:(0,r.jsx)("div",{className:"bg-white p-3",children:(0,r.jsxs)("table",{className:"w-full border border-blueD min-w-[600px]",children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{className:"sticky left-0 bg-white text-left px-4 py-4 text-sm font-semibold text-darkBlue2 w-[160px] min-w-[140px] border-b border-blueD z-10",children:"Feature"}),t.map(e=>(0,r.jsxs)("th",{className:"px-4 py-4 text-center border-b border-blueD",children:[(0,r.jsx)("span",{className:"block font-semibold text-darkBlue text-base",children:e.name}),(0,r.jsx)("span",{className:"block text-xs text-darkBlue2 mt-1",children:e.groupName})]},e.pid))]})}),(0,r.jsxs)("tbody",{children:[d.map((e,s)=>(0,r.jsxs)("tr",{className:s%2==0?"bg-lightBlue2":"bg-white",children:[(0,r.jsx)("td",{className:"sticky left-0 bg-inherit px-4 py-3 text-sm font-semibold text-darkBlue2 border-r border-blueD z-10",children:e.label}),e.values.map((s,a)=>(0,r.jsx)("td",{className:`px-4 py-3 text-sm text-center text-darkBlue ${a<c-1?"border-r border-blueD":""}`,children:"location"===e.type?(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-1.5",children:[(t[a].locations??[]).map((e,t)=>{let s=(0,x.s)(e.name);return(0,r.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs",children:[s&&(0,r.jsx)("span",{className:"w-[16px] h-[16px] rounded-full overflow-hidden border border-gray-200 relative inline-block shrink-0",children:(0,r.jsx)(o.default,{src:`https://monovm.com/cdn-cgi/image/width=22,quality=80,format=auto/https://flagcdn.com/${s.toLowerCase()}.svg`,alt:s,fill:!0,className:"object-cover",sizes:"16px"})}),e.name]},t)}),0===(t[a].locations??[]).length&&"—"]}):s},a))]},s)),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"px-4 pt-8 pb-4 border-r border-blueD text-center",children:"\xa0"}),t.map((e,t)=>{let s=x.t[e.groupName]||e.groupName.toLowerCase().replace(/\s+/g,"-");return(0,r.jsx)("td",{className:"px-4 pt-8 pb-4 border-r border-blueD text-center",children:e.available&&i[t]>0?(0,r.jsxs)("a",{href:`https://dashboard.monovm.com/order/dedicated/${s}/${e.pid}`,className:"red500-btn inline-flex items-center gap-2 px-6 py-2 text-sm",title:"Order Now",rel:"nofollow",children:[(0,r.jsx)("svg",{width:28,height:28,children:(0,r.jsx)("use",{href:"/assets/icons/icons.svg#cartAdd"})}),"Order Now"]}):(0,r.jsx)("a",{href:"https://monovm.com/contact-us/",className:"red500-btn inline-flex items-center gap-2 px-6 py-2 text-sm",title:"Contact Us",children:"Contact Us"})},e.pid)})]})]})]})})})]})]})}var y=s(2918),v=s(7953);let j={3:"Bronze",4:"Silver",5:"Gold",6:"Gold",8:"Platinum"},w=/\b(intel|xeon|gold|silver|platinum|bronze)\b/i,S=(e,t,s)=>({vendor:"Intel",line:e,model:t,slug:s}),N=[e=>{let t=e.match(/\bEPYC\b\D{0,12}(\d{4})([A-Za-z]{0,2})\b/i);if(!t)return null;let s=t[1]+t[2].toUpperCase();return{vendor:"AMD",line:"EPYC",model:s,slug:`epyc-${s.toLowerCase()}`}},e=>{let t=e.match(/\b(\d{4})([A-Za-z]{0,2})\b[^,;]{0,24}\bEPYC\b/i);if(!t)return null;let s=t[1]+t[2].toUpperCase();return{vendor:"AMD",line:"EPYC",model:s,slug:`epyc-${s.toLowerCase()}`}},e=>{let t=e.match(/\bRyzen\b\s+(?:\d\s+)?(\d{4})([A-Za-z]{0,2})\b/i);if(!t)return null;let s=t[1]+t[2].toUpperCase();return{vendor:"AMD",line:"Ryzen",model:s,slug:`ryzen-${s.toLowerCase()}`}},e=>{let t=e.match(/\bAmpere\s+Altra\s+([A-Za-z]\d{2}-\d{2})\b/i);if(!t)return null;let s=t[1].toUpperCase();return{vendor:"Ampere",line:"Altra",model:s,slug:`ampere-altra-${s.toLowerCase()}`}},e=>{let t=e.match(/\bCore\s+(i\d)[- ]?(\d{4})([A-Za-z]{0,2})\b/i);if(!t)return null;let s=`${t[1].toLowerCase()}-${t[2]}${t[3].toUpperCase()}`;return S("Core",s,`core-${s.toLowerCase()}`)},e=>{let t=e.match(/\b(E[357])[- ]?(\d{4})(?!\d)/i);if(!t)return null;let s=t[1].toUpperCase(),r=`${s}-${t[2]}`;return S("Xeon",r,r.toLowerCase())},e=>{let t=e.match(/\bE[- ]?(\d{4})([A-Za-z]?)(?!\w)/i);if(!t)return null;let s=`E-${t[1]}${t[2].toUpperCase()}`;return S("Xeon",s,s.toLowerCase())},e=>{if(!w.test(e))return null;let t=e.match(/\b([34568]\d{3})([A-Za-z]?)\b/);if(!t)return null;let s=t[1]+t[2].toUpperCase(),r=j[t[1][0]];return r?S(`Xeon ${r}`,s,`xeon-${r.toLowerCase()}-${s.toLowerCase()}`):null}],k={"1xintel xeon e5-2388g":"e-2388g","2xintel xeon 5318":"xeon-gold-5318y"};function C(e){if(!e||"string"!=typeof e)return null;let t=e.trim();if(!t||/^\s*\d+\s*cores?\s*$/i.test(t)||/\bvCPU\b/i.test(t)||/\d[xX]{2,}/.test(t))return null;let s=t.replace(/\b\d+\s*[xX](?=\s*[A-Za-z])/g," ");for(let e of N){let t=e(s);if(t)return t}return null}function M(e){let t=e.description;return t&&"object"==typeof t?t:{}}var _=s(2619),A=s.n(_);let $="All locations",E=$.toLowerCase(),B=e=>{if("string"!=typeof e)return"";let t=e.trim().toLowerCase();return"amd"===t?"AMD":"intel"===t?"Intel":""},R=[{key:"default",label:"Default"},{key:"priceAsc",label:"Price: Low to High"},{key:"priceDesc",label:"Price: High to Low"}],U=(e,t)=>{if(e===t)return!0;
1if(e.length!==t.length)return!1;for(let s=0;s<e.length;s+=1)if(e[s]!==t[s])return!1;return!0},L=e=>e.toFixed(2).replace(/\B(?=(\d{3})+(?!\d))/g,","),F=(e,t)=>{let s=new Set(t.map(e=>"string"==typeof e?e.trim():"").filter(Boolean)),r=[];for(let t of e){if("string"!=typeof t)continue;let e=t.trim();if(e){if(e.toLowerCase()===E)return[$];s.has(e)&&(r.includes(e)||r.push(e))}}return 0===r.length?[$]:r},z=(e,t)=>{let s=t.trim();if(!s)return e;let a=e.toLowerCase(),n=s.toLowerCase();if(!n)return e;let l=[],i=0,o=0;for(;i<e.length;){let t=a.indexOf(n,i);if(-1===t){l.push(e.slice(i));break}t>i&&l.push(e.slice(i,t));let s=e.slice(t,t+n.length);l.push((0,r.jsx)("mark",{className:"bg-yellow-300/30",children:s},`${t}-${o}`)),o+=1,i=t+n.length}return l};function D(e){let{plan:t,cycles:s,cycleMonths:a,cycleKey:n,onCycleChange:l,searchQuery:i,isCompareSelected:c,onToggleCompare:u,compareDisabled:m}=e,p=s.filter(e=>null!==t.prices[e.key]),h=t.available&&p.length>0,f=t.prices[n]??0,g=t.discounts?.[n],b=f/a[n],y=g?(f-Number(g.amount))/a[n]:void 0;return(0,r.jsxs)("div",{className:"grid xl:grid-cols-4 py-8 px-3 xl:px-4 border-b border-b-blueD group/plan",children:[(0,r.jsxs)("div",{className:"xl:col-span-1 max-lg:mb-4",children:[(0,r.jsx)("span",{className:"font-semibold text-darkBlue2 text-4xl block"}),(0,r.jsx)("span",{className:"font-semibold text-darkBlue block mt-2 mb-1 pe-3 text-xl lg:text-2xl ",children:z(t.name,i)}),t.familySlug&&(0,r.jsxs)(A(),{href:`/dedicated-server/${t.familySlug}/`,className:"text-sm text-green600 underline underline-offset-2 hover:text-green700",children:["View all ",t.familyLabel," servers"]}),(0,r.jsx)("span",{className:"block mt-2 me-4 text-md",children:"Fast Delivery Dedicated Servers"===t.groupName?(0,r.jsxs)(r.Fragment,{children:["⚡ Superfast processing — typically done in just ",(0,r.jsx)("span",{className:"font-semibold text-red500",children:"1–3 hours"}),"."]}):(0,r.jsxs)(r.Fragment,{children:["⏳ Processing time is quick — usually completed within ",(0,r.jsx)("span",{className:"font-semibold text-red500",children:"1–2 business days"}),"."]})}),(0,r.jsxs)("button",{type:"button",onClick:u,disabled:m&&!c,title:m&&!c?"Maximum 4 plans to compare":c?"Remove from compare":"Add to compare",className:`max-md:hidden flex items-center gap-2 mt-10 rounded-md py-1 text-xs font-semibold transition-all duration-200 ${c?"bg-red500/10 text-red500 px-2":m?"text-gray-300 cursor-not-allowed opacity-50":"text-darkBlue2 hover:text-red500"}`,children:[(0,r.jsx)("svg",{width:16,height:16,viewBox:"0 0 640 640",className:`transition-all duration-200 ${c?"opacity-100":"opacity-60"}`,children:(0,r.jsx)("use",{href:"/assets/icons/icons.svg#transfer"})}),c?"Added to compare":"Compare"]})]}),(0,r.jsxs)("div",{className:"xl:col-span-2 bg-lightBlue2 rounded-xl px-6 relative transition group-hover/plan:bg-lightBlue3",children:[g?.percentage&&(0,r.jsxs)("div",{className:"absolute top-0 right-[30px]",children:[(0,r.jsx)("svg",{width:"80",height:"56",viewBox:"0 0 80 56",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0 0H80V40.128C80 42.3055 78.5908 44.2326 76.5157 44.8927L43.0572 55.5364C42.1075 55.8386 41.0891 55.85 40.1328 55.5691L3.59125 44.8389C1.4623 44.2137 0 42.2603 0 40.0414V0Z",fill:"#EF233C"})}),(0,r.jsxs)("span",{className:"absolute top-0 right-[12px] text-white text-base font-semibold px-3 py-1 rounded-br-md",children:[Math.round(g.percentage),"%",(0,r.jsx)("br",{}),"OFF"]})]}),(0,r.jsxs)("div",{className:"py-6",children:[t.cpuSummary&&(0,r.jsxs)("div",{className:"lg:flex text-darkBlue2 text-sm gap-4",children:[(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("span",{className:"font-semibold",children:"CPU"})," ",z(t.cpuName??"",i)," "]}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("span",{className:"font-semibold",children:"Cores"})," ",z(t.coresText??"",i)," "]})]}),(0,r.jsx)("div",{className:"lg:flex gap-4",children:t.displayFeatures.slice(0,2).map((e,t)=>(0,r.jsxs)("div",{className:"flex text-darkBlue2 text-sm gap-2 mb-4",children:[(0,r.jsx)("span",{className:"font-semibold",children:z(e.title,i)}),(0,r.jsx)("span",{children:z(e.amount,i)})]},"feature"+t))}
1),t.displayFeatures.slice(2).map((e,t)=>(0,r.jsxs)("div",{className:"flex text-darkBlue2 text-sm gap-2 mb-4",children:[(0,r.jsx)("span",{className:"font-semibold",children:z(e.title,i)}),(0,r.jsx)("span",{children:z(e.amount,i)})]},"feature"+t))]}),(0,r.jsxs)("div",{className:"flex gap-4 ps-6 mt-7 absolute bottom-0",children:[t.locations&&t.locations.length>0&&(0,r.jsxs)("span",{className:"bg-red500 text-white rounded-t-md text-xs px-4 py-0.5 mt-1 flex items-center gap-1.5",children:[1===t.locations.length&&(()=>{let e=(0,x.s)(t.locations[0]?.name??"");return e?(0,r.jsx)("span",{className:"w-[16px] h-[16px] rounded-full overflow-hidden border border-white/30 relative inline-block shrink-0",children:(0,r.jsx)(o.default,{src:`https://monovm.com/cdn-cgi/image/width=22,quality=80,format=auto/https://flagcdn.com/${e.toLowerCase()}.svg`,alt:e,fill:!0,className:"object-cover",sizes:"16px"})}):null})(),1===t.locations.length?t.locations[0]?.name||"Unnamed location":"multiple locations"]}),(0,r.jsx)("span",{className:"bg-darkBlue text-white rounded-t-md text-xs px-4 py-0.5 mt-1",children:t.ip})]})]}),(0,r.jsxs)("div",{className:"xl:col-span-1 text-center",children:[h?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(d.A,{bg:!1,options:p.map(e=>e.label),center:!0,classes:"mb-4 mt-2",value:p.find(e=>e.key===n)?.label,onSelect:e=>{let t=p.find(t=>t.label===e);t&&l(t.key)}}),(0,r.jsxs)("span",{className:"block w-max mx-auto text-green900",children:[y&&(0,r.jsxs)("span",{className:"block text-darkBlue2 text-xl line-through",children:["$ ",L(b)]}),(0,r.jsxs)("span",{className:"block text-green900 pt-1",children:[(0,r.jsxs)("span",{className:"font-semibold text-4xl",children:["$ ",y?L(y):L(b)]}),(0,r.jsx)("span",{className:"text-lg",children:"/Mo"})]})]}),(0,r.jsxs)("a",{href:`https://dashboard.monovm.com/order/dedicated/all-servers
1/${t.pid}`,className:"red500-btn flex items-center w-max mx-auto gap-4 px-8 mt-4 mb-1.5",title:"Order Now",rel:"nofollow",children:[(0,r.jsx)("svg",{width:28,height:28,children:(0,r.jsx)("use",{href:"/assets/icons/icons.svg#cartAdd"})}),"Order Now"]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"block w-max mx-auto mt-8 font-semibold text-2xl text-darkBlue2",children:"Out Of Stock"}),(0,r.jsx)("a",{href:"https://monovm.com/contact-us/",className:"red500-btn flex items-center w-max mx-auto gap-4 px-8 mt-4 mb-1.5",title:"Contact Us",children:"Contact Us"})]}),(0,r.jsxs)("button",{type:"button",onClick:u,disabled:m&&!c,title:m&&!c?"Maximum 4 plans to compare":c?"Remove from compare":"Add to compare",className:`md:hidden flex mx-auto items-center gap-2 mt-4 rounded-md py-1 text-xs font-semibold transition-all duration-200 ${c?"bg-red500/10 text-red500 px-2":m?"text-gray-300 cursor-not-allowed opacity-50":"text-darkBlue2 hover:text-red500"}`,children:[(0,r.jsx)("svg",{width:16,height:16,viewBox:"0 0 640 640",className:`transition-all duration-200 ${c?"opacity-100":"opacity-60"}`,children:(0,r.jsx)("use",{href:"/assets/icons/icons.svg#transfer"})}),c?"Added to compare":"Compare"]})]})]})}function T(e){let{data:t,error:s,pid:c,gid:u,rating:g,votes:j,defaultLocation:w,defaultCpu:S}=e,N=(0,i.usePathname)(),_=(0,n.n)(),A=_?.state?.dedicatedPlans,L=_?.state?.dedicatedError,z=_?.state?.pageRating,T=z?.averageRating,I=z?.totalCount,P=_?.state?.pageImage,[O,G]=(0,a.useState)({data:[],error:null}
1),J="string"==typeof c?parseInt(c,10):c,H="string"==typeof u?parseInt(u,10):u,q=(0,a.useMemo)(()=>O.data.length?O.data:A??t??[],[O.data,A,t]),Z=(0,a.useMemo)(()=>q.filter(e=>!!function(e){let t=e.group_name?.toLowerCase()??"";return!(t.includes("hv")||t.includes("dedicated servers promotion"))}(e)&&("number"!=typeof H||!(H>0)||e.gid===H)&&("number"!=typeof J||!(J>0)||e.pid===J)),[q,H,J]),K=s??L??O.error??null;(0,a.useEffect)(()=>{if(!q.length&&!K){let e="https://api.monovm.com";if(!e)return void G({data:[],error:"MONOVM_API_URL not configured"});let t=new URLSearchParams;t.append("type","Dedicated"),"number"==typeof J&&J>0&&t.append("pid",String(J)),"number"==typeof H&&H>0&&t.append("gid",String(H)),fetch(`${e}/v1/product?${t.toString()}`,{headers:{"Content-Type":"application/json",Accept:"application/json"}}).then(e=>{if(!e.ok)throw Error(`Request failed: ${e.status}`);return e.json()}).then(e=>{let t=[];Array.isArray(e.data)?t=e.data:e.data&&"object"==typeof e.data&&(t=Object.values(e.data).flat()),G({data:t,error:null})}).catch(e=>{G({data:[],error:e instanceof Error?e.message:String(e)})})}},[q.length,K,J,H]);let X=(0,a.useMemo)(()=>{if(!w)return[];let e=Array.isArray(w)?w:[w],t=new Set,s=[];return e.forEach(e=>{let r=(e=>{if("string"==typeof e)return e;if(e&&"object"==typeof e&&"location"in e){let t=e.location;if("string"==typeof t)return t}return null})(e);if(!r)return;let a=r.trim();if(!a)return;let n=a.toLowerCase();t.has(n)||(t.add(n),s.push(a))}),s},[w]),V=(0,a.useMemo)(()=>X.some(e=>e.toLowerCase()===E)||0===X.length?[$]:X,[X]),W=(0,a.useMemo)(()=>B(S),[S]),[Y,Q]=(0,a.useState)(""),[ee,et]=(0,a.useState)(!1),[es,er]=(0,a.useState)(()=>B(S)),ea=(0,a.useRef)(W);(0,a.useEffect)(()=>{ea.current!==W&&(ea.current=W,er(W))},[W]);let[en,el]=(0,a.useState)("default"),[ei,eo]=(0,a.useState)(new Set),[ed,ec]=(0,a.useState)(!1),eu=(0,a.useCallback)(e=>{eo(t=>{let s=new Set(t);return s.has(e)?s.delete(e):s.size<4&&s.add(e),s})},[]),em=(0,a.useMemo)(()=>[{key:"monthly",label:"Monthly"},{key:"quarterly",label:"Quarterly"},{key:"semiannually",label:"Semiannually"},{key:"annually",label:"Annually"},{key:"biennially",label:"Biennially"},{key:"triennially",label:"Triennially"}],[]),ep=(0,a.useMemo)(()=>({monthly:1,quarterly:3,semiannually:6,annually:12,biennially:24,triennially:36}),[]),eh=(0,a.useMemo)(()=>{let e={};return Z.forEach(t=>{let s=em.filter(e=>t.prices&&null!==t.prices[e.key]),r=s.find(e=>"monthly"===e.key)?.key||s[0]?.key||"monthly";e[t.pid]=r}),e},[Z,em]),[ef,ex]=(0,a.useState)(eh);(0,a.useEffect)(()=>{ex(eh)},[eh]);let eg=(0,a.useMemo)(()=>Z.filter(e=>{let t=e.categories;return Array.isArray(t)&&t.length>0}).map(e=>{let t,s=[],r="";if("string"==typeof e.description){let t=e.description.replace(/<br\s*\/?>/gi,"\n");s=(0,y.iT)(t).split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>{let[t,...s]=e.split(":");return{title:(0,y.$J)(t.trim()),amount:(0,y.$J)(s.join(":").trim())}})}else e.description&&"object"==typeof e.description&&(s=Object.entries(e.description).map(e=>{let[t,s]=e;return{title:(0,y.$J)(t),amount:(0,y.$J)(String(s))}}));let a=(s=s.filter(e=>!/(?:ipv?4)/i.test(e.title)&&!/(?:ipv?4)/i.test(e.amount))).find(e=>"cpu"===e.title.toLowerCase()),n=a&&/amd/i.test(a.amount)?"AMD":a&&/intel/i.test(a.amount)?"Intel":"",l=e=>{let t=e.match(/([\d.]+)/);return t?parseFloat(t[1]):void 0},i=s.find(e=>/ram/i.test(e.title))?.amount,o=s.find(e=>/storage/i.test(e.title))?.amount;if(a){let e=a.amount.match(/([\d.]+)\s*GHz/i);e&&(t=parseFloat(e[1]))}let d=s.find(e=>/cores/i.test(e.title));if(!t&&d){let e=d.amount.match(/([\d.]+)\s*GHz/i);e&&(t=parseFloat(e[1]))}let c=s.find(e=>/threads?/i.test(e.title)),u=s.find(e=>/cpu[\s_-]*benchmark/i.test(e.title)),m=a?(0,y.$J)(a.amount):"",p=d?(0,y.$J)(d.amount):"",h=c?(0,y.$J)(c.amount):"",f=u?parseInt(u.amount.match(/\d+/)?.[0]??"0",10):0,x=f>0?"\uD83D\uDD25".repeat(f):"",g=m||p||x?`CPU ${m} Cores ${p} Benchmark ${x}`:void 0,b=s.filter(e=>!(/^cpu$/i.test(e.title)||/cores/i.test(e.title)||/threads/i.test(e.title)||/cpu[\s_-]*benchmark/i.test(e.title)));r=[...[m?`CPU: ${m}`:"",p?`Cores: ${p}`:"",h?`Threads: ${h}`:"",u?`CPU Benchmark: ${(0,y.$J)(u.amount)}
1`:""].filter(Boolean),...b.map(e=>`${e.title}: ${e.amount}`.trim())].join(" ");let v=Array.isArray(e.categories)?e.categories.map(e=>"string"==typeof e?e:e&&"object"==typeof e&&"name"in e&&e.name||"").filter(Boolean):[],j=function(e){let t=null,s="";for(let r of function(e){let t=M(e);return[t.Server_Model,t.Cpu,e.name]}(e)){if(!r)continue;let e=k[(s=r.trim()).toLowerCase()];if(e){(t=C(e.replace(/-/g," "))??null)?t.slug=e:t={vendor:"Intel",line:"Xeon",model:e,slug:e};break}if(t=C(r))break}let r=function(e){if(!e||"string"!=typeof e)return null;let t=e.replace(/\b\d+\s*[xX]\s*/g," "),s=t.match(/\bRTX\s*([A-Za-z]?\d{4})\b/i);if(s)return`RTX ${s[1].toUpperCase()}`;let r=t.match(/\bMI(\d{3})\b/i);if(r)return`MI${r[1]}`;let a=t.match(/\b([ALTH]\d{1,4}[A-Za-z]?)\b/i);if(!a)return null;let n=a[1].toUpperCase();return/^A[45]000$/.test(n)?`RTX ${n}`:n}(M(e).Gpu);if(r){let e=r.toLowerCase().replace(/\s+/g,"-");if(!t)return{vendor:/^MI\d/.test(r)?"AMD":"NVIDIA",line:"GPU",model:r,slug:e,familySlug:e,gpu:r,legacySlugs:[],source:s};let a=`${t.slug.replace(/^xeon-(?:bronze|silver|gold|platinum)-/,"xeon-")}-${e}`;return{...t,familySlug:a,gpu:r,legacySlugs:[e,`${t.slug}-${e}`].concat(e.startsWith("rtx-a")?[`${t.slug}-${e.slice(4)}`]:[]).filter(e=>e!==a),source:s}}return t?{...t,familySlug:t.slug,legacySlugs:[],source:s}:null}(e);return{pid:e.pid,name:(0,y.$J)(e.name),descriptionText:r,locations:(e.locations??[]).filter(e=>e?.name?.trim().toLowerCase()!=="choose one"),ip:e.badge_color??"ip6",features:s,displayFeatures:b,prices:e.prices,discounts:e.discounts,available:!1!==e.available,brand:n,groupName:e.group_name??"Other",categories:v,ram:i?l(i):void 0,storage:o?l(o):void 0,frequency:t,cores:d?l(d.amount):void 0,cpuSummary:g,cpuName:m,coresText:p,threadsText:h,benchmarkFires:x,familySlug:j?.familySlug??null,familyLabel:j?function(e,t){let s=`${e.vendor} ${e.line} ${e.model}`.replace(/\s+/g," ").trim();return t&&t!==e.model?`${s} + ${t}`:s}(j,j.gpu):null}}),[Z]);(0,a.useEffect)(()=>{},[q,Z,eg]);let eb=(0,a.useMemo)(()=>eg.filter(e=>ei.has(e.pid)),[eg,ei]),ey=(0,a.useMemo)(()=>{let e=new Set;return eg.forEach(t=>{(t.locations??[]).forEach(t=>{"string"==typeof t.name&&t.name.trim().length>0&&e.add(t.name.trim())})}),X.forEach(t=>{"string"==typeof t&&t.trim().length>0&&e.add(t.trim())}),e.delete($),[$,...Array.from(e)]},[eg,X]),ev=(0,a.useMemo)(()=>{let e={};
1return ey.forEach(t=>{if(t===$)return;let s=(0,x.s)(t);s&&(e[t]=(0,r.jsx)("span",{className:"w-[18px] h-[18px] rounded-full overflow-hidden border border-gray-200 relative inline-block",children:(0,r.jsx)(o.default,{src:`https://monovm.com/cdn-cgi/image/width=22,quality=80,format=auto/https://flagcdn.com/${s.toLowerCase()}.svg`,alt:s,fill:!0,className:"object-cover",sizes:"18px"})}))}),e},[ey]),ej=(0,a.useMemo)(()=>F(V,ey),[V,ey]),[ew,eS]=(0,a.useState)(()=>[...ej]),eN=(0,a.useRef)(V);(0,a.useEffect)(()=>{U(eN.current,V)||(eN.current=V,eS([...ej]))},[V,ej]),(0,a.useEffect)(()=>{eS(e=>{let t=F(e,ey);return U(e,t)?e:t})},[ey]);let ek=(0,a.useCallback)(e=>{let t=new Set(ey.map(e=>"string"==typeof e?e.trim():"").filter(Boolean)),s=[],r=!1;if(e.forEach(e=>{if("string"!=typeof e)return;let a=e.trim();if(a){if(a.toLowerCase()===E){r=!0;return}t.has(a)&&(s.includes(a)||s.push(a))}}),r)return void(1===ew.length&&ew[0].toLowerCase()===E&&s.length>0?eS(s):eS([$]));0===s.length?eS([$]):eS(s)},[ey,ew]),eC=(0,a.useMemo)(()=>{let e=new Set;return ew.forEach(t=>{if("string"==typeof t){let s=t.trim().toLowerCase();s&&e.add(s)}}),e},[ew]),eM=eC.has(E),e_=(0,a.useMemo)(()=>eg.map(e=>{let t=ef[e.pid],s=e.prices?.[t];return{pid:e.pid,price:null!==s?s/ep[t]:1/0}}),[eg,ef,ep]),eA=(0,a.useMemo)(()=>{let e=new Map;return e_.forEach(t=>{e.set(t.pid,t.price)}),e},[e_]),e$=(0,a.useMemo)(()=>e_.map(e=>e.price),[e_]),eE=(0,a.useMemo)(()=>R.map(e=>e.label),[]),eB=(0,a.useMemo)(()=>R.find(e=>e.key===en)?.label??R[0].label,[en]),eR=(0,a.useMemo)(()=>eg.map(e=>e.cores).filter(e=>"number"==typeof e),[eg]),eU=(0,a.useMemo)(()=>eR.length?Math.min(...eR):0,[eR]),eL=(0,a.useMemo)(()=>eR.length?Math.max(...eR):0,[eR]),eF=(0,a.useMemo)(()=>eg.map(e=>e.ram).filter(e=>"number"==typeof e),[eg]),ez=(0,a.useMemo)(()=>eg.map(e=>e.storage).filter(e=>"number"==typeof e),[eg]),eD=(0,a.useMemo)(()=>eg.map(e=>e.frequency).filter(e=>"number"==typeof e),[eg]),eT=(0,a.useMemo)(()=>eF.length?Math.min(...eF):0,[eF]),eI=(0,a.useMemo)(()=>eF.length?Math.max(...eF):0,[eF]),eP=(0,a.useMemo)(()=>ez.length?Math.min(...ez):0,[ez]),eO=(0,a.useMemo)(()=>ez.length?Math.max(...ez):0,[ez]),eG=(0,a.useMemo)(()=>eD.length?Math.min(...eD):0,[eD]),eJ=(0,a.useMemo)(()=>eD.length?Math.max(...eD):0,[eD]),[eH,eq]=(0,a.useState)([eU,eL]),[eZ,eK]=(0,a.useState)([eT,eI]),[eX,eV]=(0,a.useState)([eP,eO]),[eW,eY]=(0,a.useState)([eG,eJ]),eQ=(0,a.useRef)(null);(0,a.useEffect)(()=>{eq([eU,eL])},[eU,eL]),(0,a.useEffect)(()=>{eK([eT,eI])},[eT,eI]),(0,a.useEffect)(()=>{eV([eP,eO])},[eP,eO]),(0,a.useEffect)(()=>{eY([eG,eJ])},[eG,eJ]);let e0=(0,a.useMemo)(()=>{let e=e$.filter(e=>isFinite(e));return e.length>0?Math.min(...e):0},[e$]),e1=(0,a.useMemo)(()=>{let e=e$.filter(e=>isFinite(e));return e.length>0?Math.max(...e):0},[e$]),[e2,e4]=(0,a.useState)([e0,e1]);(0,a.useEffect)(()=>{e4([e0,e1])},[e0,e1]);let e5=(0,a.useCallback)(e=>{let t=R.find(t=>t.label===e);t&&el(t.key)},[]),e3=(0,a.useCallback)(()=>{Q(""),eS([...ej]),et(!1),er(W),el("default"),eq([eU,eL]),eK([eT,eI]),eV([eP,eO]),eY([eG,eJ]),e4([e0,e1])},[ej,W,eU,eL,eT,eI,eP,eO,eG,eJ,e0,e1]),e6=(0,a.useMemo)(()=>U(ew,ej),[ew,ej]),e8=(0,a.useMemo)(()=>{let e=0;return""!==Y.trim()&&(e+=1),e6||(e+=1),ee&&(e+=1),es!==W&&(e+=1),"default"!==en&&(e+=1),(eH[0]>eU||eH[1]<eL)&&(e+=1),(eZ[0]>eT||eZ[1]<eI)&&(e+=1),(eX[0]>eP||eX[1]<eO)&&(e+=1),(eW[0]>eG||eW[1]<eJ)&&(e+=1),(e2[0]>e0||e2[1]<e1)&&(e+=1),e},[Y,e6,ee,es,W,en,eH,eU,eL,eZ,eT,eI,eX,eP,eO,eW,eG,eJ,e2,e0,e1]),e9=(0,a.useMemo)(()=>{let e=Y.trim().toLowerCase(),t=eg.filter(t=>{if(!e)return!0;let s=t.name?.toLowerCase().includes(e),r=t.descriptionText?.toLowerCase().includes(e);return!!(s||r)}).filter(e=>!!eM||0===eC.size||(e.locations??[]).some(e=>{if("string"!=typeof e.name)return!1;let t=e.name.trim().toLowerCase();return t&&eC.has(t)})).filter(e=>!ee||e.ip.toLowerCase().includes("ip6")).filter(e=>!es||e.brand===es).filter(e=>"number"!=typeof e.cores||e.cores>=eH[0]&&e.cores<=eH[1]).filter(e=>"number"!=typeof e.ram||e.ram>=eZ[0]&&e.ram<=eZ[1]).filter(e=>"number"!=typeof e.storage||e.storage>=eX[0]&&e.storage<=eX[1]).filter(e=>"number"!=typeof e.frequency||e.frequency>=eW[0]&&e.frequency<=eW[1]).filter(e=>
1{let t=eA.get(e.pid)??1/0;return t>=e2[0]&&t<=e2[1]});return"default"===en?t:[...t].sort((e,t)=>{let s=eA.get(e.pid)??1/0,r=eA.get(t.pid)??1/0;return"priceAsc"===en?s-r:r-s})},[eg,Y,eM,eC,ee,es,eH,eZ,eX,eW,eA,e2,en]),e7=(0,a.useMemo)(()=>e9.map(e=>e.pid).join(","),[e9]);(0,a.useEffect)(()=>{let e=eQ.current;e&&"function"==typeof e.animate&&e.animate([{opacity:.4,transform:"scale(0.995)"},{opacity:1,transform:"scale(1)"}],{duration:220,easing:"ease-out"})},[e7]);let te=(0,a.useMemo)(()=>{let e=new Set,t=[];return eg.forEach(s=>{s.categories.forEach(s=>{e.has(s)||(e.add(s),t.push(s))})}),t},[eg]),tt=(0,a.useMemo)(()=>{let e=new Set;return e9.forEach(t=>{t.categories.forEach(t=>{e.add(t)})}),te.filter(t=>e.has(t))},[te,e9]),ts=(0,a.useMemo)(()=>[{id:"all",label:"All",plans:e9},...tt.map(e=>({id:e.toLowerCase().replace(/\s+/g,"-"),label:e,plans:e9.filter(t=>t.categories.includes(e))}))],[e9,tt]),[tr,ta]=(0,a.useState)("all");(0,a.useEffect)(()=>{ts.some(e=>e.id===tr)||ta("all")},[ts,tr]);let tn=(0,a.useMemo)(()=>{let e=ts.findIndex(e=>e.id===tr);return -1===e?0:e},[ts,tr]),tl=(0,a.useCallback)(e=>{let t=ts[e];t&&ta(t.id)},[ts]),ti=(0,a.useMemo)(()=>{let e={};return ts.forEach(t=>{e[t.id]=Math.min(15,t.plans.length)}),e},[ts]),[to,td]=(0,a.useState)(ti);(0,a.useEffect)(()=>{td(ti)},[ti]);let tc=(0,a.useMemo)(()=>{if(0===ts.length)return null;let e=`https://monovm.com${N||"/"}`,t=ts.length>1?ts.filter(e=>"all"!==e.id):ts,s=[];if(t.forEach(e=>{e.plans.forEach(t=>{let r=`https://dashboard.monovm.com/order/dedicated/all-servers
1/${t.pid}`,a=em.filter(e=>null!==t.prices[e.key]),n=a.find(e=>"monthly"===e.key)??a[0];if(!n)return;let l=t.prices[n.key]??0,i=t.discounts?.[n.key],o=l/ep[n.key],d=i?(l-Number(i.amount))/ep[n.key]:o,c=t.displayFeatures.find(e=>/ram/i.test(e.title))?.amount||(t.ram?`${t.ram} GB`:void 0),u=t.displayFeatures.find(e=>/storage/i.test(e.title))?.amount||(t.storage?`${t.storage} GB`:void 0),m=(t.locations??[]).map(e=>e.name).filter(Boolean),p=`monovm-dedicated-${t.pid}-${e.id}`;s.push({pid:t.pid,name:`${t.name} (${e.label})`,descriptionText:t.descriptionText||"High-performance Dedicated Server",cpuName:t.cpuName,coresText:t.coresText,ram:c,storage:u,locations:m,ip:t.ip,monthlyPrice:d,orderUrl:r,sku:p})})}),0===s.length)return null;let r=N?.split("/").filter(Boolean).join("-");return(0,v.bj)({plans:s,pageUrl:e,image:P||v.Mx,priceCurrency:"USD",ratingValue:g??T,ratingCount:j??I,slug:r})},[ts,em,ep,N,P,g,T,j,I]);return K?(0,r.jsxs)("div",{className:"text-red-600",children:["Error: ",K]}):0===ts.length?(0,r.jsx)("div",{className:"text-center py-10",children:"No plans available."}):(0,r.jsxs)("div",{className:"container mx-auto pb-12","data-component":"Dedicated plans",children:[(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between items-center lg:items-center mb-6 lg:mb-12 w-full gap-4",children:[(0,r.jsx)(p.A,{rating:g??T??0,votes:j??I}),(0,r.jsx)(h.A,{})]}),tc&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(tc)}}),(0,r.jsxs)(l.tU,{className:"react-tabs",selectedIndex:tn,onSelect:tl,selectedTabClassName:"bg-red500 text-white",selectedTabPanelClassName:"active",children:[(0,r.jsx)(l.wb,{className:"grid lg:flex gap-2 bg-lightBlue2 rounded-3xl px-4 xl:px-3 py-1 lg:w-max mx-auto",children:ts.map(e=>(0,r.jsx)(l.oz,{className:"px-4 py-1.5 text-center lg:text-md font-semibold rounded-3xl min-w-40 cursor-pointer transition-colors duration-300 outline-none",children:e.label},"dedicated"+e.id))}),(0,r.jsxs)("div",{className:"grid lg:grid-cols-12 gap-6 pt-4",children:[(0,r.jsx)("div",{className:"lg:col-span-4 xl:col-span-3",children:(0,r.jsxs)("div",{className:"bg-lightBlue2 rounded-xl p-5 pb-10",children:[e8>0&&(0,r.jsx)("div",{className:"flex justify-end",children:(0,r.jsxs)("button",{type:"button",onClick:e3,className:"pt-1 text-xs text-darkBlue hover:text-blueD transition ease-in-out duration-300",children:["Reset filters ",(0,r.jsx)("span",{className:"text-[10px]",children:"✖"})]})}),(0,r.jsxs)("div",{className:"py-6 border-b border-b-blueD",children:[(0,r.jsx)("span",{className:"block text-green900 text-lg mb-3",children:"Search:"}),(0,r.jsx)("input",{type:"text",className:"rounded-full w-full px-4 py-2.5 placeholder:text-lightBlue3 placeholder:text-xl outline-none",placeholder:"Search...",value:Y,onChange:e=>Q(e.target.value)})]}),(0,r.jsxs)("div",{className:"py-6 border-b border-b-blueD",children:[(0,r.jsx)("span",{className:"block text-green900 text-lg mb-3",children:"Sort by:"}),(0,r.jsx)(d.A,{bg:!0,options:eE,roundedFull:!0,value:eB,onSelect:e5})]}),(0,r.jsxs)("div",{className:"py-6 border-b border-b-blueD",children:[(0,r.jsx)("span",{className:"block text-green900 text-lg mb-3",children:"Location:"}),(0,r.jsx)(d.A,{bg:!0,options:ey,roundedFull:!0,multi:!0,selectedValues:ew,onChangeValues:ek,highlightedOptions:ew,highlightedClassName:"bg-lightBlue3 font-semibold text-darkBlue",activeClassName:"bg-lightBlue3 font-semibold text-darkBlue",searchable:!0,searchPlaceholder:"Search locations...",optionIcons:ev})]}),(0,r.jsx)("div",{className:"py-8 border-b border-b-blueD",children:(0,r.jsx)(m,{title:"Price",min:e0,max:e1,step:10,unit:"$",defaultMin:e2[0],defaultMax:e2[1],onChange:(e,t)=>
1e4([e,t])})}),(0,r.jsxs)("div",{className:"py-8 border-b border-b-blueD",children:[(0,r.jsx)("span",{className:"block text-green900 text-md me-3",children:"CPU"}),(0,r.jsxs)("div",{className:"flex items-center gap-3 px-3 mt-3 mb-7",children:[(0,r.jsxs)("span",{children:[(0,r.jsx)("input",{id:"cpu-all",className:"peer/cpu-brand appearance-none",type:"radio",name:"cpu-brand",value:"",checked:""===es,onChange:()=>er("")}),(0,r.jsx)("label",{htmlFor:"cpu-all",className:"rounded-md text-sm bg-white py-1 px-3 border-2 border-transparent peer-checked/cpu-brand:border-blueD cursor-pointer transition ease-in-out duration-300",children:"All"})]}),(0,r.jsxs)("span",{children:[(0,r.jsx)("input",{id:"cpu-amd",className:"peer/cpu-brand appearance-none",type:"radio",name:"cpu-brand",value:"AMD",checked:"AMD"===es,onChange:()=>er("AMD")}),(0,r.jsx)("label",{htmlFor:"cpu-amd",className:"rounded-md text-sm bg-white py-1 px-3 border-2 border-transparent peer-checked/cpu-brand:border-blueD cursor-pointer transition ease-in-out duration-300",children:"AMD"})]}),(0,r.jsxs)("span",{children:[(0,r.jsx)("input",{id:"cpu-intel",className:"peer/cpu-brand appearance-none",type:"radio",name:"cpu-brand",value:"Intel",checked:"Intel"===es,onChange:()=>er("Intel")}),(0,r.jsx)("label",{htmlFor:"cpu-intel",className:"rounded-md text-sm bg-white py-1 px-3 border-2 border-transparent peer-checked/cpu-brand:border-blueD cursor-pointer transition ease-in-out duration-300",children:"Intel"})]})]}),(0,r.jsx)(m,{title:"Core",min:eU,max:eL,step:1,unit:"c",defaultMin:eH[0],defaultMax:eH[1],onChange:(e,t)=>
1eq([e,t])})]}),(0,r.jsx)("div",{className:"py-8 border-b border-b-blueD",children:(0,r.jsx)(m,{title:"RAM",min:eT,max:eI,step:1,unit:"GB",defaultMin:eZ[0],defaultMax:eZ[1],onChange:(e,t)=>eK([e,t])})}),(0,r.jsx)("div",{className:"py-8",children:(0,r.jsx)(m,{title:"Storage",min:eP,max:eO,step:1,unit:"GB",defaultMin:eX[0],defaultMax:eX[1],onChange:(e,t)=>eV([e,t])})})]})}),(0,r.jsx)("div",{className:"lg:col-span-8 xl:col-span-9",ref:eQ,children:0===e9.length?(0,r.jsx)("div",{className:"text-center py-16 text-darkBlue2",children:"No plans match your search or filters."}):ts.map(e=>(0,r.jsx)(l.Kp,{children:0===e.plans.length?(0,r.jsx)("div",{className:"text-center py-16 text-darkBlue2",children:"No plans match your search or filters."}):(0,r.jsxs)(r.Fragment,{children:[e.plans.slice(0,to[e.id]??0).map((e,t)=>(0,r.jsx)(D,{plan:e,cycles:em,cycleMonths:ep,cycleKey:ef[e.pid],onCycleChange:t=>ex(s=>({...s,[e.pid]:t})),searchQuery:Y,isCompareSelected:ei.has(e.pid),onToggleCompare:()=>eu(e.pid),compareDisabled:ei.size>=4},"planItem"+t)),(0,r.jsx)("div",{className:"flex flex-col justify-center",children:to[e.id]<e.plans.length&&(0,r.jsx)("button",{className:"red500-btn px-20 mx-auto mt-10 flex mb-12",onClick:()=>td(t=>({...t,[e.id]:Math.min((t[e.id]||0)+10,e.plans.length)})),children:"Load More Plans"})})]})},"dedicatedPanel"+e.id))})]})]}),ei.size>0&&(0,r.jsx)(f,{plans:eb,onRemove:e=>eo(t=>{let s=new Set(t);return s.delete(e),s}),onCompare:()=>ec(!0),onClear:()=>eo(new Set)}),ed&&(0,r.jsx)(b,{plans:eb,cycles:em,cycleMonths:ep,planCycles:ef,onClose:()=>ec(!1)})]})}},679:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var r=s(5155),a=s(2115);async function n(e){try{let t=await fetch(`https://api.monovm.com/v1/page/${encodeURIComponent(e)}/rate`,{headers:{"Content-Type":"application/json",Accept:"application/json"},next:{revalidate:60}});if(!t.ok)return{data:{averageRating:0,totalCount:0},error:`Failed to fetch rating: ${t.status}`};let s=await t.json();if(s.success&&s.data){let{average_rating:e=0,total_count:t=0}=s.data;return{data:{averageRating:e,totalCount:t},error:null}}return{data:{averageRating:0,totalCount:0},error:s.message||"Failed to retrieve page rating"}}catch(e){return{data:{averageRating:0,totalCount:0},error:e instanceof Error?e.message:String(e)}}}function l(e){let{rating:t,votes:s,slug:l}=e,[i,o]=(0,a.useState)(0),[d,c]=(0,a.useState)(l),[u,m]=(0,a.useState)(t),[p,h]=(0,a.useState)(s),[f,x]=(0,a.useState)(null),g=(0,a.useId)();(0,a.useEffect)(()=>{l||c(window.location.pathname.split("/").filter(Boolean).pop())},[l]),(0,a.useEffect)(()=>{m(t)},[t]),(0,a.useEffect)(()=>{h(s)},[s]);let b=(0,a.useCallback)(async e=>{if(d)try{let t=await fetch(`https://api.monovm.com/v1/page/${encodeURIComponent(d)}/rate`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({rate:e})}),s=await t.json();if(t.ok&&s.success){o(e),x("Thank you! Your rating has been recorded.");try{let{data:e}=await n(d);m(e.averageRating),h(e.totalCount)}catch(e){console.error("Failed to fetch updated rating",e)}}}catch(e){console.error("Failed to rate page",e)}},[d]),y="number"==typeof p&&p>0,v=y?u:5,j=Math.min(Math.max(i||v,0),5),w=Array.from({length:5},(e,t)=>{let s=`${g}-half-${t}`,a=Math.max(0,Math.min(1,j-t)),n=a>0&&a<1;return(0,r.jsxs)("svg",{width:18,height:17,onClick:()=>b(t+1),style:{cursor:d?"pointer":"default"},children:[n&&(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:s,children:(0,r.jsx)("rect",{x:"0",y:"0",width:14*a,height:"15"})})}),(0,r.jsx)("use",{href:"/assets/icons/icons.svg#star",fill:"#E3E3E3"}),1===a&&(0,r.jsx)("use",{href:"/assets/icons/icons.svg#star",fill:"#FFD67D"}),n&&(0,r.jsx)("use",{href:"/assets/icons/icons.svg#star",fill:"#FFD67D",clipPath:`url(#${s})`})]},t)});return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"lg:flex items-center gap-2",children:[(0,r.jsx)("span",{className:"flex gap-1",children:w}),(0,r.jsxs)("p",{className:"text-sm",children:["Rated ",(0,r.jsx)("span",{children:v})," from ",(0,r.jsx)("span",{children:y?p:1})," votes"]})]}),f&&(0,r.jsx)("p",{className:"text-xs text-green800 pt-2",children:f})]})}},2697:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(5155),a=s(2115);function n(e){let{options:t,label:s,bg:n,center:l,labelTop:i,classes:o,buttonClasse
1s:d,roundedFull:c,value:u,onSelect:m,highlightedOptions:p,highlightedClassName:h,activeClassName:f,multi:x=!1,selectedValues:g,onChangeValues:b,searchable:y=!1,searchPlaceholder:v="Search...",optionIcons:j}=e,[w,S]=(0,a.useState)(!1),[N,k]=(0,a.useState)(u??t[0]),C=(0,a.useRef)(null),[M,_]=(0,a.useState)(g??[]),[A,$]=(0,a.useState)(""),E=(0,a.useMemo)(()=>x?g??M:[],[x,g,M]),B=(0,a.useMemo)(()=>{let e=[];if(Array.isArray(p)&&e.push(...p),x?e.push(...E):N&&e.push(N),0===e.length)return null;let t=new Set;return e.forEach(e=>{"string"==typeof e&&t.add(e.toLowerCase())}),t},[p,x,E,N]),R=e=>{C.current&&!C.current.contains(e.target)&&S(!1)};(0,a.useEffect)(()=>(document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}),[]),(0,a.useEffect)(()=>{x||"string"!=typeof u||k(u)},[x,u]),(0,a.useEffect)(()=>{x&&Array.isArray(g)&&_(g)},[x,g]),(0,a.useEffect)(()=>{!w&&A&&$("")},[w,A]);let U=(0,a.useMemo)(()=>{if(!y)return t;let e=A.trim().toLowerCase();return e?t.filter(t=>t.toLowerCase().includes(e)):t},[t,A,y]),L=(0,a.useMemo)(()=>x?0===E.length?t[0]??"Select":1===E.length?E[0]:`${E[0]} +${E.length-1}`:N??t[0]??"",[x,E,N,t]);return(0,r.jsxs)("div",{className:`${i?"flex flex-col items-start gap-1":"flex items-center gap-3"} ${o}`,ref:C,children:[s&&(0,r.jsx)("label",{className:"block font-semibold whitespace-nowrap mb-1",children:s}),(0,r.jsxs)("div",{className:"relative flex flex-1 w-full",children:[(0,r.jsxs)("button",{type:"button",onClick:e=>{e.stopPropagation(),S(e=>!e)},className:`text-darkBlue flex gap-3 lg:gap-4 items-center w-full ${n&&"py-3 px-5 justify-between"} ${d??(n?"bg-white":"")} ${l&&"justify-center"} ${c?"rounded-full":"rounded-xl"} ${d}`,children:[(0,r.jsxs)("span",{className:"text-darkBlue flex items-center gap-2",children:[j?.[L]&&(0,r.jsx)("span",{className:"inline-flex shrink-0",children:j[L]}),L]}),(0,r.jsx)("svg",{width:9,height:9,className:"text-darkBlue",children:(0,r.jsx)("use",{href:"/assets/icons/icons.svg#angleDown"})})]}),w&&(0,r.jsxs)("div",{className:"absolute top-11 w-full min-w-32 bg-white text-darkBlue rounded-xl shadow-lg z-10",children:[y&&(0,r.jsx)("div",{className:"sticky top-0 bg-white px-4 pt-3 pb-2 border-b border-lightBlue2",children:(0,r.jsx)("input",{type:"text",value:A,onChange:e=>$(e.target.value),placeholder:v,className:"w-full rounded-lg border border-lightBlue2 px-3 py-2 text-sm text-darkBlue outline-none focus:ring-2 focus:ring-blueD/40"})}),(0,r.jsxs)("ul",{className:"max-h-60 overflow-y-auto p-1",children:[U.map((e,t)=>{let s=x?E.includes(e):N===e,a=B?.has(e.toLowerCase()),n=`cursor-pointer px-4 py-2 text-darkBlue hover:text-darkGray hover:bg-defaultGray transition ease-in-out duration-300 ${a?h??"bg-lightBlue3 font-semibold text-darkBlue":""} ${s?f??"bg-blueD font-semibold":""}`;return(0,r.jsx)("li",{onClick:t=>((e,t)=>{if(e.stopPropagation(),x){let e=E.includes(t)?E.filter(e=>e!==t):[...E,t];Array.isArray(g)||_(e),b&&b(e);return}k(t),m&&m(t),S(!1)})(t,e),className:n,children:(0,r.jsxs)("span",{className:"flex items-center gap-2",children:[j?.[e]&&(0,r.jsx)("span",{className:"inline-flex shrink-0",children:j[e]}),e]})},`${e}-${t}`)}),y&&0===U.length&&(0,r.jsx)("li",{className:"px-4 py-3 text-sm text-lightBlue3",children:"No matches found"})]})]})]})]})}},2918:(e,t,s)=>{"use strict";function r(e){{let t=document.createElement("textarea");return t.innerHTML=e,t.value}}function a(e){return e.replace(/<[^>]*>/g,"")}function n(e){return r(e).split(/<br\s*\/?\>/i).map(e=>e.trim()).filter(e=>e.length>0).map(e=>{let[t,...s]=e.split(":");return{key:t.trim(),value:s.join(":").trim()}})}s.d(t,{$J:()=>a,iT:()=>r,pq:()=>n})},4393:(e,t,s)=>{"use strict";s.d(t,{s:()=>n,t:()=>r});let r={"Fast Delivery Servers":"fast-delivery-servers","ECO Servers":"eco-servers","Custom Dedicated Servers":"custom-servers","GPU Servers":"gpu-servers"},a={australia:"AU",austria:"AT",belgium:"BE",brazil:"BR",bulgaria:"BG",canada:"CA","czech republic":"CZ",denmark:"DK",finland:"FI",france:"FR",germany:"DE",hungary:"HU",india:"IN",ireland:"IE",italy:"IT",japan:"JP",lithuania:"LT",netherlands:"NL",nigeria:"NG",norway:"NO",poland:"PL",romania:"RO",russia:"RU","russian federation":"RU",serbia:"RS",singapore:"SG",slovakia:"SK","south korea":"KR",spain:"ES",
1sweden:"SE",switzerland:"CH",turkey:"TR",uae:"AE","united arab emirates":"AE",uk:"GB","united kingdom":"GB","united states":"US",usa:"US","hong kong":"HK","amsterdam, netherlands":"NL","frankfurt, germany":"DE","berlin, germany":"DE","london, uk":"GB","manchester, uk":"GB","montreal, canada":"CA","paris, france":"FR","copenhagen, denmark":"DK","stockholm, sweden":"SE","vienna, austria":"AT","zurich, switzerland":"CH","warsaw, poland":"PL","bucharest, romania":"RO","helsinki, finland":"FI","oslo, norway":"NO","dublin, ireland":"IE","prague, czech republic":"CZ","sofia, bulgaria":"BG","budapest, hungary":"HU","bratislava, slovakia":"SK","belgrade, serbia":"RS","barcelona, spain":"ES","madrid, spain":"ES","milan, italy":"IT","roma, italy":"IT","rome, italy":"IT","vilnius, lithuania":"LT","bruxelles, belgium":"BE","brussels, belgium":"BE","tokyo, japan":"JP","mumbai, india":"IN","noida/delhi, india":"IN","pune, india":"IN","dubai, uae":"AE","istanbul, turkey":"TR","sydney, australia":"AU","sao paulo, brazil":"BR","lagos, nigeria":"NG","dallas, usa":"US","dallas, united states":"US","las vegas, usa":"US","las vegas, united states":"US","los angeles, usa":"US","los angeles, united states":"US","miami, usa":"US","miami, united states":"US","new jersey, usa":"US","new jersey, united states":"US","new york, usa":"US","new york, united states":"US","phoenix, usa":"US","phoenix, united states":"US","san francisco, usa":"US","san francisco, united states":"US","seattle, usa":"US","seattle, united states":"US","washington, usa":"US","washington, united states":"US","chicago, usa":"US","chicago, united states":"US","florida, usa":"US","florida, united states":"US","hong kong, china":"HK","singapore, singapore":"SG","moscow, russia":"RU","moscow, russian federation":"RU","amsterdam – netherlands":"NL","amsterdam - netherlands":"NL","frankfurt – germany":"DE","frankfurt - germany":"DE","london – uk":"GB","london - uk":"GB","manchester – uk":"GB","manchester - uk":"GB","montreal – canada":"CA","montreal - canada":"CA","paris – france":"FR","paris - france":"FR","sydney – australia":"AU","sydney - australia":"AU","dubai – uae":"AE","dubai - uae":"AE","tokyo – japan":"JP","tokyo - japan":"JP","sao paulo – brazil":"BR","sao paulo - brazil":"BR",amsterdam:"NL",frankfurt:"DE",berlin:"DE",london:"GB",manchester:"GB",montreal:"CA",paris:"FR",copenhagen:"DK",stockholm:"SE",vienna:"AT",zurich:"CH",warsaw:"PL",bucharest:"RO",helsinki:"FI",oslo:"NO",dublin:"IE",prague:"CZ",sofia:"BG",budapest:"HU",bratislava:"SK",belgrade:"RS",barcelona:"ES",madrid:"ES",milan:"IT",roma:"IT",rome:"IT",vilnius:"LT",bruxelles:"BE",brussels:"BE",tokyo:"JP",mumbai:"IN",pune:"IN",dubai:"AE",istanbul:"TR",sydney:"AU",dallas:"US","las vegas":"US","los angeles":"US",miami:"US","new jersey":"US","new york":"US",phoenix:"US","san francisco":"US",seattle:"US",washington:"US",chicago:"US",florida:"US",moscow:"RU",lagos:"NG","sao paulo":"BR"},n=e=>a[e.trim().toLowerCase()]??null},4601:(e,t,s)=>{"use strict";s.d(t,{Kp:()=>n.A,oz:()=>r.A,tU:()=>l.A,wb:()=>a.A});var r=s(7419),a=s(1887),n=s(939),l=s(2271)},5688:(e,t,s)=>{"use strict";var r=s(5704);s(6340);var a=s(2115),n=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(a),l=void 0!==r&&r.env&&!0,i=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,s=t.name,r=void 0===s?"stylesheet":s,a=t.optimizeForSpeed,n=void 0===a?l:a;d(i(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",d("boolean"==typeof n,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=n,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="undefined"!=typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,s=e.prototype;return s.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},s.isOptimizeForSpeed=function(){return this._optimizeForSpeed},s.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,"undefined"!=typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(l||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,s){return"number"==typeof s?e._serverSheet.cssRules[s]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),s},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},s.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},s.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},s.insertRule=function(e,t){if(d(i(e),"`insertRule` accepts only strings"),"undefined"==typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var s=this.getSheet();"number"!=typeof t&&(t=s.cssRules.length);try{s.insertRule(e,t)}catch(t){return l||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},s.replaceRule=function(e,t){if(this._optimizeForSpeed||"undefined"==typeof window){var s="undefined"!=typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!s.cssRules[e])return e;s.deleteRule(e);try{s.insertRule(t,e)}catch(r){l||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),s.insertRule(this._deletedRulePlaceholder,e)}}else{var r=this._tags[e];d(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},s.deleteRule=function(e){if("undefined"==typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},s.flush=function(){this._injected=!1,this._rulesCount=0,"undefined"!=typeof window?(this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},s.cssRules=function(){var e=this;return"undefined"==typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,s){return s?t=t.concat(Array.prototype.map.call(e.getSheetForTag(s).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},s.makeStyleTag=function(e,t,s){t&&d(i(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return s?a.insertBefore(r,s):a.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,s=e.length;s;)t=33*t^e.charCodeAt(--s);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var s=String(t),r=e+s;return u[r]||(u[r]="jsx-"+c(e+"-"+s)),u[r]}function p(e,t){"undefined"==typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var s=e+t;return u[s]||(u[s]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[s]}var h=function(){function e(e){var t=void 0===e?{}:e,s=t.styleSheet,r=void 0===s?null:s,a=t.optimizeForSpeed,n=void 0!==a&&a;this._sheet=r||new o({name:"styled-jsx",optimizeForSpeed:n}),this._sheet.inject(),r&&"boolean"==typeof n&&(this._sheet.setOptimizeForSpeed(n),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"undefined"==typeof window||this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var s=this.getIdAndRules(e),r=s.styleId,a=s.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var n=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=n,this._instancesCounts[r]=1},t.remove=function(e){var t=this,s=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(s in this._instancesCounts,"styleId: `"+s+"` not found"),this._instancesCounts[s]-=1,this._instancesCounts[s]<1){var r=this._fromServer&&this._fromServer[s];r?(r.parentNode.removeChild(r),delete this._fromServer[s]):(this._indices[s].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[s]),delete this._instancesCounts[s]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],s=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return s[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,s;return t=this.cssRules(),void 0===(s=e)&&(s={}),t.map(function(e){var t=e[0],r=e[1];return n.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:s.nonce?s.nonce:void 0,dangerouslySetInnerHTML:{__html:r}})})},t.getIdAndRules=function(e){var t=e.children,s=e.dynamic,r=e.id;if(s){var a=m(r,s);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return p(a,e)}):[p(a,t)]}}return{styleId:m(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=a.createContext(null);f.displayName="StyleSheetContext";var x=n.default.useInsertionEffect||n.default.useLayoutEffect,g="undefined"!=typeof window?new h:void 0;function b(e){var t=g||a.useContext(f);return t&&("undefined"==typeof window?t.add(e):x(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},t.style=b},6340:()=>{},8534:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var r=s(5155),a=s(2115);let n=["January","February","March","April","May","June","July","August","September","October","November","December"];function l(){let e=new Date,t=(e.getUTCDay()+3)%7,s=new Date(e);return s.setUTCDate(e.getUTCDate()-t),`${s.getUTCDate()} ${n[s.getUTCMonth()]} ${s.getUTCFullYear()}`}function i(){let[e,t]=(0,a.useState)(l);return(0,a.useEffect)(()=>{t(l())},[]),(0,r.jsxs)("div",{className:"flex flex-wrap items-center justify-center lg:justify-end gap-2 md:gap-3 select-none",children:[(0,r.jsxs)("div",{className:"flex items-center gap-2 bg-[#f8f9fa] border border-[#eef1f4] px-4 py-1.5 rounded-full",children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#555",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"}),(0,r.jsx)("path",{d:"M3 3v5h5"}),(0,r.jsx)("path",{d:"M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"}),(0,r.jsx)("path",{d:"M16 16h5v5"})]}),(0,r.jsxs)("span",{suppressHydrationWarning:!0,className:"text-[13px] md:text-sm font-semibold text-[#3a3b3c]",children:["Last updated ",e]})]}),(0,r.jsx)("span",{className:"text-[#a0aec0] font-bold text-lg select-none",children:"\xb7"}),(0,r.jsxs)("div",{className:"flex items-center gap-2 bg-[#f8f9fa] border border-[#eef1f4] px-4 py-1.5 rounded-full",children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#555",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),(0,r.jsx)("span",{className:"text-[13px] md:text-sm font-semibold text-[#3a3b3c]",children:"Pricing verified weekly"})]}),(0,r.jsx)("span",{className:"text-[#a0aec0] font-bold text-lg select-none",children:"\xb7"}),(0,r.jsxs)("div",{className:"flex items-center gap-2 bg-[#eafbf0] border border-[#c6f6d5] px-4 py-1.5 rounded-full",children:[(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#15803d",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),(0,r.jsx)("polyline",{points:"22 4 12 14.01 9 11.01"})]}),(0,r.jsx)("span",{className:"text-[13px] md:text-sm font-bold text-[#15803d]",children:"Live"})]})]})}},8661:(e,t,s)=>{"use strict";e.exports=s(5688).style}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.