1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21953,e=>{"use strict";var t=e.i(43476);let a=[{icon:"/intuitive-control/webby.avif",alt:"Webby Logo",width:400,height:400,spotlightCard:!0,bg:"#ffffffcc",bgDark:"#27293066",border:!0},{icon:"/intuitive-control/direct-admin-test.svg",alt:"Direct Admin",width:400,height:400,spotlightCard:!1},{icon:"/intuitive-control/client-area-test-2.svg",alt:"Client Area",width:400,height:400,spotlightCard:!1},{icon:"/intuitive-control/cms-test.svg",alt:"CMS One Click Installer",width:400,height:400,spotlightCard:!1}];var r=e.i(57688),l=e.i(11828),s=e.i(71645);let i=e=>{let[t,a]=(0,s.useState)(!1),[r,l]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{l(!0);let t=window.matchMedia(e);a(t.matches);let r=e=>a(e.matches);return t.addEventListener("change",r),()=>t.removeEventListener("change",r)},[e]),!!r&&t},n=({name:e,description:a,logo:l,logoDark:i,morePadding:n=!1,index:o,totalInRow:d,rowIndex:c,mousePos:u,isMobile:h,cardSize:x})=>{let m=(0,s.useRef)(null),g=(0,s.useRef)(null),[f,p]=(0,s.useState)({x:0,y:0}),[w,b]=(0,s.useState)(!1),[v,k]=(0,s.useState)(!1),[j,y]=(0,s.useState)("top"),[N,C]=(0,s.useState)(0),M=(d-1)/2,_=Math.abs(o-M),E=Math.max(M,1),F=h?1:1-_/E*.2,L=(0,s.useRef)(u);L.current=u,(0,s.useEffect)(()=>{let e;if(h||!m.current)return void p({x:0,y:0});let t=()=>{if(!m.current)return;let a=m.current.getBoundingClientRect(),r=a.left+a.width/2,l=a.top+a.height/2,s=L.current.x-r,i=L.current.y-l,n=Math.sqrt(s*s+i*i),o={x:0,y:0};if(n<30){let e=n/30;o={x:s*e*.5,y:i*e*.5}}else if(n<200){let e=20*Math.pow(1-(n-30)/170,2);o={x:s/n*e,y:i/n*e}}p(e=>.1>Math.abs(e.x-o.x)&&.1>Math.abs(e.y-o.y)?e:o),e=requestAnimationFrame(t)};return e=requestAnimationFrame(t),()=>{cancelAnimationFrame(e)}},[h]),(0,s.useEffect)(()=>{if(!v)return;let e=e=>{m.current&&!m.current.contains(e.target)&&k(!1)},t=setTimeout(()=>{document.addEventListener("touchstart",e),document.addEventListener("mousedown",e)},10);return()=>{clearTimeout(t),document.removeEventListener("touchstart",e),document.removeEventListener("mousedown",e)}},[v]);let H=e=>{a&&!("click"===e.type&&"ontouchstart"in window)&&(k(e=>!e),m.current&&y(m.current.getBoundingClientRect().top<100?"bottom":"top"))},W=v||w;return(0,s.useEffect)(()=>{if(W&&g.current&&m.current){let e=g.current.getBoundingClientRect(),t=0;e.left<8?t=8-e.left:e.right>window.innerWidth-8&&(t=window.innerWidth-8-e.right),C(t)}else C(0)},[W,a]),(0,t.jsx)("div",{ref:m,className:"relative group",onMouseEnter:()=>{b(!0),m.current&&y(m.current.getBoundingClientRect().top<100?"bottom":"top")},onMouseLeave:()=>b(!1),onClick:H,onTouchEnd:H,children:(0,t.jsxs)("div",{className:"ease-out relative",style:{transform:` 2 translate(${f.x}px, ${f.y}px) 3 scale(${w?1.08*F:F})`,transition:"transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1)"},children:[(0,t.jsx)("div",{className:"relative aspect-square bg-[#FFFFFF90] dark:bg-[#2C2E3350] rounded-[25%] flex items-center justify-center",style:{width:x,animation:`float ${3.5+o%4*.4}s ease-in-out infinite`,animationDelay:`${(o+5*c)%10*.3}s`,transition:"box-shadow 0.3s ease"},children:i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{src:l,alt:e,width:80,height:80,draggable:!1,className:`w-full h-auto max-h-full object-contain dark:hidden ${n?"p-8":"p-4 sm:p-6"}`}),(0,t.jsx)(r.default,{src:i,alt:e,width:80,height:80,draggable:!1,className:`w-full h-auto max-h-full object-contain hidden dark:block ${n?"p-8":"p-4 sm:p-6"}`})]}):(0,t.jsx)(r.default,{src:l,alt:e,width:80,height:80,draggable:!1,className:`w-full h-auto max-h-full object-contain ${n?"p-8":"p-4 sm:p-6"}`})}),a&&(0,t.jsx)("div",{ref:g,className:` 4 absolute left-1/2 5 ${"top"===j?"bottom-full mb-2":"top-full mt-2"} 6 ${W?"opacity-100 scale-100":"opacity-0 scale-95"} 7 transition-all duration-200 8 pointer-events-none z-50 9 w-max max-w-[min(280px,calc(100vw-2rem))]`,style:{transform:`translateX(calc(-50% + ${N}px))`},children:(0,t.jsx)("div",{className:" text-sm font-medium text-gray-600 dark:text-gray-300 bg-white/95 dar
9k:bg-gray-800/95 backdrop-blur-sm px-3 py-2 rounded-xl shadow-lg border border-gray-100 dark:border-gray-700 text-center leading-relaxed",children:a})})]})})},o=Array.from({length:15},(e,t)=>{let a=t+1,r={name:`CMS ${a}`,logo:`/intuitive-control/cms-section/img-${a}.svg`};return 10===a&&(r.logoDark=`/intuitive-control/cms-section/img-${a}-dark.svg`),r});function d({data:e}){let{title:d,blocks:c}=e,u=(0,s.useRef)([]),[h,x]=(0,s.useState)(0),[m,g]=(0,s.useState)(!1),[f,p]=(0,s.useState)(!1),[w,b]=(0,s.useState)({x:0,y:0}),v=(0,s.useRef)(null),[k,j]=(0,s.useState)(0),y=i("(max-width: 639px)"),N=i("(max-width: 768px)"),C=(0,s.useMemo)(()=>4,[]);(0,s.useEffect)(()=>{p(!0);let e=()=>{v.current&&j(v.current.offsetWidth)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let M=(0,s.useCallback)(e=>{b({x:e.clientX,y:e.clientY})},[]);(0,s.useEffect)(()=>(window.addEventListener("mousemove",M),()=>window.removeEventListener("mousemove",M)),[M]);let _=(0,s.useMemo)(()=>{let e=[];for(let t=0;t<o.length;t+=C)e.push(o.slice(t,t+C));return e},[C]),E=(0,s.useMemo)(()=>{let e=(C-1)*(y?8:16),t=k;if(window.innerWidth<768){let e=window.innerWidth-48;(0===t||t>e)&&(t=e)}else 0===t&&(t=300);return Math.max(30,Math.min(Math.floor((t-e)/C),120))},[C,k,y,f]);return(0,s.useEffect)(()=>{let e=()=>{g(window.innerWidth>=768)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,s.useEffect)(()=>{let e=()=>{let e=document.querySelector("header");e?x(Math.ceil(e.getBoundingClientRect().height)):x(0)};e(),window.addEventListener("resize",e),window.addEventListener("offer-banner-closed",e);let t=document.querySelector("header"),a=null;return t&&(a=new MutationObserver(e)).observe(t,{attributes:!0,childList:!0,subtree:!0}),()=>{window.removeEventListener("resize",e),window.removeEventListener("offer-banner-closed",e),a?.disconnect()}},[]),(0,s.useEffect)(()=>{if(!m)return;let e=document.getElementById("main-content"),t=()=>{u.current.forEach((e,t)=>{if(!e)return;let a=u.current[t+1];if(a){let t=a.getBoundingClientRect(),r=window.innerHeight,l=r-t.top,s=0;l>50&&(s=.6*Math.max(0,Math.min(1,(l-50)/(r-50))));let i=e.querySelector(".dark-overlay");i&&(i.style.opacity=s.toString())}})};return e?e.addEventListener("scroll",t):window.addEventListener("scroll",t),t(),()=>{e?e.removeEventListener("scroll",t):window.removeEventListener("scroll",t)}},[h,m]),(0,t.jsxs)("div",{className:"bg-[#f6f6f6] dark:bg-[#1B1D21]",children:[(0,t.jsx)("div",{className:"max-w-8xl mx-auto lg:px-10 sm:px-6 px-4 pt-20 pb-10 lg:ml-sidebar",children:(0,t.jsx)("h1",{className:"xl:text-6xl lg:text-5xl text-4xl font-bold text-black dark:text-gray-100 text-center",children:d})}),(0,t.jsx)("div",{className:"flex flex-col gap-20",children:c.map((e,s)=>{let i=a[s],o=i?.spotlightCard??!0,d=i?.bg,c=i?.bgDark,x=i?.border??!1,g=s%2==0,f=e.additional_data?.webbyPromts||[],p=[{top:"6%",left:"8%",size:"lg"},{top:"13%",left:"35%",size:"base"},{top:"25%",left:"19%",size:"base"},{top:"39%",left:"5%",size:"base"},{top:"51%",left:"31%",size:"base"},{top:"62%",left:"10%",size:"lg"},{top:"74%",left:"22%",size:"lg"},{top:"88%",left:"6%",size:"base"}],b={base:{fontSize:"clamp(11px, 3.2cqw, 22px)",padding:"clamp(6px, 1.5cqw, 8px) clamp(18px, 3cqw, 22px)"},lg:{fontSize:"clamp(12px, 3.8cqw, 26px)",padding:"clamp(7px, 1.8cqw, 10px) clamp(20px, 3.5cqw, 26px)"}};return(0,t.jsxs)("section",{ref:e=>{u.current[s]=e},className:"md:sticky md:top-0 w-full bg-[#f6f6f6] dark:bg-[#1B1D21] md:min-h-screen flex flex-col md:-mb-1 md:outline md:outline-1 md:outline-[#f7f9fa] md:dark:outline-[#1B1D21] md:-outline-offset-1",style:{paddingTop:m?h:0},children:[(0,t.jsx)("div",{className:"dark-overlay absolute inset-0 bg-black pointer-events-none opacity-0 z-100 hidden md:block",style:{willChange:"opacity"}}),(0,t.jsxs)("div",{className:`relative z-10 max-w-8xl mx-auto lg:px-10 sm:px-6 px-4 lg:ml-sidebar flex-1 flex md:flex-row flex-col items-center ${g?"md:flex-row-reverse":""}`,children:[3===s?(0,t.jsxs)("div",{ref:v,className:"md:w-[55%] sm:w-[80%] w-full shrink-0 relative z-10 flex flex-col items-center justify-center gap-2 py-4 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.2)_0%,rgba(255,255,255,0)_100%)] dark:bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.15)_0%,rgba(255,255,255,0)_100%)]"}),_.map((e,a)=>(0,t.jsx)("div",{className:"flex justify-center items-end gap-2 sm:gap-4",children:e.map((r,l)=>(0,t.jsx)(n,{index:l,name:r.name,logo:r.logo,logoDark:r.logoDark,morePadding:!1,totalInRow:e.length,rowIndex:a,mousePos:w,isMobile:N,cardSize:E},r.name))},a)),(0,t.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-20 pointer-events-none",children:(0,t.jsxs)("div",{className:"relative bg-white/30 dark:bg-white/8 backdrop-blur-md rounded-[60px] px-10 py-4 sm:px-12 sm:py-5 shadow-lg",children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-[60px] pointer-events-none",style:{padding:"0.86px",background:"linear-gradient(90deg, rgba(139, 181, 254, 0.6) 11.06%, rgba(12, 100, 254, 0.7) 68.75%)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor"}}),(0,t.jsx)("span",{className:"text-[#003399] dark:text-white font-bold xl:text-3xl lg:text-2xl md:text-3xl sm:text-2xl text-2xl whitespace-nowrap",children:"Install CMS"}),(0,t.jsx)("div",{className:"absolute -bottom-4 -right-4 sm:-bottom-4 sm:-right-4 drop-shadow-lg",children:(0,t.jsx)("svg",{className:"sm:w-13 w-10 h-auto",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 64 66",children:(0,t.jsx)("path",{fill:"#0058F0",stroke:"#D8E6FE",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"6",d:"M38.1 38 58 31a4.3 4.3 0 0 0 .2-8L8.9 3.4a4.3 4.3 0 0 0-5.6 5.5L22 59.4a4.3 4.3 0 0 0 8 0l8-21.5Z"})})})]})})]}):o?(0,t.jsx)(l.default,{style:{"--ic-bg":d,"--ic-bg-dark":c},className:`md:w-[55%] md:pb-[55%] sm:w-[80%] sm:pb-[80%] w-full rounded-[15%] pb-[100%] shrink-0 relative z-10 h-0 ${x?"md:border-3 border-2 border-white dark:border-[#3E424D50]":""} ${d?"bg-[var(--ic-bg)]":""}
9 ${c?"dark:bg-[var(--ic-bg-dark)]":""}`,children:(0,t.jsx)("div",{className:"absolute inset-0 w-full h-full",children:(0,t.jsx)("div",{className:"w-full h-full @container",children:(0,t.jsxs)("div",{className:"w-full h-full flex items-end justify-end",children:[f.length>0&&(0,t.jsx)(t.Fragment,{children:f.map((e,a)=>{let{size:r,...l}=p[a%p.length],s=["animate-float","animate-float-3","animate-float-2","animate-float-4","animate-float-2","animate-float","animate-float-4","animate-float-3"],i=["4.2s","5.1s","4.7s","3.8s","5.3s","4.1s","4.9s","5.5s"];return(0,t.jsxs)("div",{className:`absolute bg-[#ccf2ff50] dark:bg-[#27293080] text-[#1a3a7a] dark:text-[#f2f2f2] font-medium rounded-full whitespace-normal text-center max-w-[12em] leading-tight z-1 ${s[a%s.length]}`,style:{...l,...b[r]||b.base,animationDuration:i[a%i.length]},children:[(0,t.jsx)("div",{className:"absolute inset-0 rounded-full pointer-events-none dark:hidden",style:{padding:"0.59px",background:"linear-gradient(90deg, rgba(139, 181, 254, 0.6) 11.06%, rgba(12, 100, 254, 0.7) 68.75%)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor"}}),(0,t.jsx)("div",{className:"absolute inset-0 rounded-full pointer-events-none dark:block hidden",style:{padding:"0.59px",background:"linear-gradient(90deg, rgba(139, 181, 254, 0.2) 11.06%, rgba(12, 100, 254, 0.3) 68.75%)",mask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",maskComposite:"exclude",WebkitMask:"linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",WebkitMaskComposite:"xor"}}),e]},a)})}),(0,t.jsx)("div",{className:"absolute -right-[25%] -top-[10%] w-[100%] h-[80%] bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.2)_0%,rgba(255,255,255,0)_100%)] dark:bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.15)_0%,rgba(255,255,255,0)_100%)]"}),(0,t.jsx)("div",{className:"absolute -right-[30%] -bottom-[15%] w-[100%] h-[80%] bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.2)_0%,rgba(255,255,255,0)_100%)] dark:bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.15)_0%,rgba(255,255,255,0)_100%)]"}),(0,t.jsx)(r.default,{src:i.icon,alt:i.alt,width:i.width,height:i.height,className:"max-w-full max-h-full object-contain z-30 xl:-mr-25 lg:-mr-30 -mr-30 pt-[8dvh]"})]})})})}):(0,t.jsx)("div",{className:"md:w-[55%] sm:w-[80%] w-[100%] shrink-0 flex items-end justify-center relative z-10",children:(0,t.jsx)(r.default,{src:i.icon,alt:i.alt,width:i.width,height:i.height,className:"w-full h-auto object-contain z-30"})}),(0,t.jsxs)(l.default,{className:`${g?0===s?"md:-mr-[1%]":"md:-mr-[5%]":0===s?"md:-ml-[1%]":"md:-ml-[5%]"} 10 md:mt-auto 11 ${0===s?"-mt-[2%] md:w-[100%] sm:w-[54%] w-[79%]":"-mt-[5%] md:w-[100%] sm:w-[55%] w-[80%]"} 12 h-fit bg-white dark:bg-[#272930] sm:rounded-[50px] rounded-[40px] flex flex-col justify-center sm:px-12 px-8 sm:py-8 py-6 md:my-auto mx-auto relative z-30`,children:[(0,t.jsx)("h2",{className:"lg:text-4xl text-3xl font-medium text-black dark:text-[#f2f2f2] mb-4",children:e.title}),(0,t.jsx)("p",{className:"text-gray-600 dark:text-gray-200 lg:text-lg text-base md:text-left",children:e.text})]})]})]},s)})})]})}e.s(["default",()=>d],21953)},8169,e=>{"use strict";var t=e.i(43476),a=e.i(71645);let r=e=>"number"==typeof e?`${e}px`:e??void 0,l=(...e)=>e.filter(Boolean).join(" "),s=a.default.memo(({logos:e,speed:s=120,direction:i="left",width:n="100%",logoHeight:o=28,gap:d=32,pauseOnHover:c,hoverSpeed:u,fadeOut:h=!1,fadeOutColor:x,fadeOutColorDark:m,scaleOnHover:g=!1,renderItem:f,ariaLabel:p="Partner logos",className:w,style:b})=>{var v,k,j;let y,N,C,M,_,E=(0,a.useRef)(null),F=(0,a.useRef)(null),L=(0,a.useRef)(null),[H,W]=(0,a.useState)(0),[S,$]=(0,a.useState)(0),[z,D]=(0,a.useState)(2),[B,A]=(0,a.useState)(!1),R=(0,a.useMemo)(()=>void 0!==u?u:!0===c||!1!==c?0:void 0,[u,c]),O="up"===i||"down"===i,T=(0,a.useMemo)(()=>Math.abs(s)*(O?"up"===i?1:-1:"left"===i?1:-1)*(s<0?-1:1),[s,i,O]),I=(0,a.useCallback)(()=>{let e=E.current?.clientWidth??0,t=L.current?.getBoundingClientRect?.(),a=t?.width??0,r=t?.height??0;if(O){let e=E.current?.parentElement?.clientHeight??0;if(E.current&&e>0){let t=Math.ceil(e);E.current.style.height!==`${t}px`&&(E.current.style.height=`${t}px`)}r>0&&($(Math.ceil(r)),D(Math.max(2,Math.ceil((E.current?.clientHeight??e??r)/r)+2)))}else a>0&&(W(Math.ceil(a)),D(Math.max(2,Math.ceil(e/a)+2)))},[O]);v=[E,L],k=[e,d,o,O],(0,a.useEffect)(()=>
12{if(!window.ResizeObserver){let e=()=>I();return window.addEventListener("resize",e),I(),()=>window.removeEventListener("resize",e)}let e=v.map(e=>{if(!e.current)return null;let t=new ResizeObserver(I);return t.observe(e.current),t});return I(),()=>{e.forEach(e=>e?.disconnect())}},k),j=[e,d,o,O],(0,a.useEffect)(()=>{let e=L.current?.querySelectorAll("img")??[];if(0===e.length)return void I();let t=e.length,a=()=>{0==(t-=1)&&I()};return e.forEach(e=>{e.complete?a():(e.addEventListener("load",a,{once:!0}),e.addEventListener("error",a,{once:!0}))}),()=>{e.forEach(e=>{e.removeEventListener("load",a),e.removeEventListener("error",a)})}},j),y=(0,a.useRef)(null),N=(0,a.useRef)(null),C=(0,a.useRef)(0),M=(0,a.useRef)(0),_=(0,a.useRef)(!0),(0,a.useEffect)(()=>{let e=F.current,t=E.current;if(!e)return;e.style.willChange="transform";let a=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches,r=O?S:H;if(r>0){C.current=(C.current%r+r)%r;let t=O?`translate3d(0, ${-C.current}px, 0)`:`translate3d(${-C.current}px, 0, 0)`;e.style.transform=t}if(a)return e.style.transform="translate3d(0, 0, 0)",e.style.willChange="auto",()=>{N.current=null};let l=null;t&&"IntersectionObserver"in window&&(l=new IntersectionObserver(e=>{_.current=e[0]?.isIntersecting??!0,_.current&&null===y.current&&(N.current=null,y.current=requestAnimationFrame(s))},{threshold:0,rootMargin:"50px"})).observe(t);let s=t=>{if(!_.current){y.current=null;return}if(null===N.current){N.current=t,y.current=requestAnimationFrame(s);return}let a=Math.min(.1,(t-N.current)/1e3);N.current=t;let l=B&&void 0!==R?R:T,i=l-M.current;if(M.current+=i*Math.min(1,a/.15),.5>Math.abs(i)&&(M.current=l),.01>Math.abs(M.current)){y.current=requestAnimationFrame(s);return}if(r>0){let t=((C.current+M.current*a)%r+r)%r;C.current=t,e.style.transform=O?`translate3d(0, ${-t}px, 0)`:`translate3d(${-t}px, 0, 0)`}y.current=requestAnimationFrame(s)};return y.current=requestAnimationFrame(s),()=>{null!==y.current&&(cancelAnimationFrame(y.current),y.current=null),e&&(e.style.willChange="auto"),N.current=null,l?.disconnect()}},[T,H,S,B,R,O]);let q=(0,a.useMemo)(()=>({"--logoloop-gap":`${d}px`,"--logoloop-logoHeight":`${o}px`,...x&&{"--logoloop-fadeColor":x},...m&&{"--logoloop-fadeColorDark":m}}),[d,o,x,m]),V=(0,a.useMemo)(()=>l("relative group",O?"overflow-hidden h-full inline-block":"overflow-x-clip","[--logoloop-gap:32px]","[--logoloop-logoHeight:28px]",g&&"py-[calc(var(--logoloop-logoHeight)*0.1)]",w),[O,g,w]),U=(0,a.useCallback)(()=>{void 0!==R&&A(!0)},[R]),P=(0,a.useCallback)(()=>{void 0!==R&&A(!1)},[R]),Z=(0,a.useCallback)((e,a)=>{if(f)return(0,t.jsx)("li",{className:l("flex-none text-[length:var(--logoloop-logoHeight)] leading-[1]",O?"mb-[var(--logoloop-gap)]":"mr-[var(--logoloop-gap)]",g&&"overflow-visible group/item"),role:"listitem",children:f(e,a)},a);let r="node"in e,s=r?(0,t.jsx)("span",{className:l("inline-flex items-center","motion-reduce:transition-none",g&&"transition-transform duration-300 ease-[cubic-bezier(0.4,0,0.2,1)] group-hover/item:scale-120"),"aria-hidden":!!e.href&&!e.ariaLabel,children:e.node}):(0,t.jsx)("img",{className:l("h-[var(--logoloop-logoHeight)] w-auto block object-contain","[-webkit-user-drag:none] pointer-events-none","[image-rendering:-webkit-optimize-contrast]","motion-reduce:transition-none",g&&"transition-transform duration-300 ease-[cubic-bezier(0.4,0,0.2,1)] group-hover/item:scale-120"),src:e.src,srcSet:e.srcSet,sizes:e.sizes,width:e.width,height:e.height,alt:e.alt??"",title:e.title,loading:"lazy",decoding:"async",draggable:!1}),i=r?e.ariaLabel??e.title:e.alt??e.title,n=e.href?(0,t.jsx)("a",{className:l("inline-flex items-center no-underline rounded","transition-opacity duration-200 ease-linear","hover:opacity-80","focus-visible:outline focus-visible:outline-current focus-visible:outline-offset-2"),href:e.href,"aria-label":i||"logo link",target:"_blank",rel:"noreferrer noopener",children:s}):s;return(0,t.jsx)("li",{className:l("flex-none text-[length:var(--logoloop-logoHeight)] leading-[1]",O?"mb-[var(--logoloop-gap)]":"mr-[var(--logoloop-gap)]",g&&"overflow-visible group/item"),role:"listitem",children:n},a)},[O,g,f]),K=(0,a.useMemo)(()=>Array.from({length:z},(a,r)=>(0,t.jsx)("ul",{className:l("flex items-center",O&&"flex-col"),role:"list","aria-hidden":r>0,ref:0===r?L:void 0,children:e.map((e,t)=>Z(e,`${r}-${t}`))},`copy-${r}`)),[z,e,Z,O]),G=(0,a.useMemo)(()=>({width:O?"100%"===r(n)?void 0:r(n):r(n)??"100%",...q,...b}),[n,q,b,O]),X=x||"#ffffff",Y=m||"#0b0b0b";return(0,t.jsxs)("div",{ref:E,className:V,style:G,role:"region","aria-label":p,children:[h&&(0,t.jsx)(t.Fragment,{children:O?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":!0,
12className:"pointer-events-none absolute inset-x-0 top-0 z-10 h-[clamp(24px,8%,120px)] dark:hidden",style:{background:`linear-gradient(to bottom, ${X} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 z-10 h-[clamp(24px,8%,120px)] hidden dark:block",style:{background:`linear-gradient(to bottom, ${Y} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-[clamp(24px,8%,120px)] dark:hidden",style:{background:`linear-gradient(to top, ${X} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-[clamp(24px,8%,120px)] hidden dark:block",style:{background:`linear-gradient(to top, ${Y} 0%, rgba(0,0,0,0) 100%)`}})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-[clamp(24px,8%,120px)] dark:hidden",style:{background:`linear-gradient(to right, ${X} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 left-0 z-10 w-[clamp(24px,8%,120px)] hidden dark:block",style:{background:`linear-gradient(to right, ${Y} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-[clamp(24px,8%,120px)] dark:hidden",style:{background:`linear-gradient(to left, ${X} 0%, rgba(0,0,0,0) 100%)`}}),(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-0 z-10 w-[clamp(24px,8%,120px)] hidden dark:block",style:{background:`linear-gradient(to left, ${Y} 0%, rgba(0,0,0,0) 100%)`}})]})}),(0,t.jsx)("div",{className:l("flex select-none relative z-0","motion-reduce:transform-none",O?"flex-col h-max w-full":"flex-row w-max"),ref:F,onMouseEnter:U,onMouseLeave:P,children:K})]})});s.displayName="LogoLoop",e.s(["LogoLoop",0,s])},53340,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(8169),l=e.i(57688),s=e.i(22016),i=e.i(41533);let n=["bg-blue-200 dark:bg-blue-800","bg-green-200 dark:bg-green-800","bg-purple-200 dark:bg-purple-800","bg-pink-200 dark:bg-pink-800","bg-indigo-200 dark:bg-indigo-800","bg-red-200 dark:bg-red-800","bg-yellow-200 dark:bg-yellow-800","bg-teal-200 dark:bg-teal-800","bg-orange-200 dark:bg-orange-800","bg-cyan-200 dark:bg-cyan-800","bg-emerald-200 dark:bg-emerald-800","bg-rose-200 dark:bg-rose-800","bg-violet-200 dark:bg-violet-800","bg-amber-200 dark:bg-amber-800","bg-lime-200 dark:bg-lime-800","bg-sky-200 dark:bg-sky-800","bg-fuchsia-200 dark:bg-fuchsia-800","bg-slate-200 dark:bg-slate-700"];function o({block:e,index:a}){let r;return(0,t.jsx)("div",{className:"group/card block",children:(0,t.jsxs)("div",{className:"relative bg-[#F2F6FC99] dark:bg-[#27293099] sm:h-[255px] h-[280px] sm:w-[360px] w-[290px] rounded-[40px] py-6 px-8 flex flex-col shadow-[0px_0px_64px_0px_rgba(0,41,113,0.12)] dark:shadow-[0px_0px_64px_0px_rgba(0,0,0,0.3)]",children:[(0,t.jsx)("div",{className:"flex items-center justify-between mb-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:["trustpilot"===e.companyReviewBy?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:"/reviews/trustpilot.avif",alt:"Trustpilot logo",width:367,height:90,className:"h-5 w-auto dark:!hidden"}),(0,t.jsx)(l.default,{src:"/reviews/trustpilot-dark.avif",alt:"Trustpilot logo",width:367,height:90,className:"h-5 w-auto !hidden dark:!block"})]}):"hostadvice"===e.companyReviewBy?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:"/reviews/hostadvice.avif",alt:"HostAdvice logo",width:354,height:79,className:"h-5 w-auto dark:!hidden"}),(0,t.jsx)(l.default,{src:"/reviews/hostadvice-dark.avif",alt:"HostAdvice logo",width:354,height:79,className:"h-5 w-auto !hidden dark:!block"})]}):"google"===e.companyReviewBy?(0,t.jsx)(l.default,{src:"/reviews/google.svg",alt:"Google logo",width:69,height:23,className:"h-5 w-auto"}):null,(0,t.jsx)("span",{className:"text-black dark:text-[#f2f2f2] font-bold text-lg italic",children:"5.0"}),"trustpilot"===e.companyReviewBy?(0,t.jsx)(l.default,{src:"/reviews/trustpilot-stars.svg",alt:"Trustpilot stars",width:512,height:96,className:"w-24 h-auto"}):(0,t.jsx)(l.default,{src:"/reviews/other-stars.svg",alt:"Other stars",width:105,height:21,className:"w-24 h-auto"})]})}),(0,t.jsx)("p",{className:"text-black dark:text-gray-300 text-base leading-relaxed sm:line-clamp-4 line-clamp-5",children:e.reviewText}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-auto pt-4",children:[(0,t.jsxs)("div",{className:"flex items-center",children:[(0,t.jsx)("div",{className:`w-10 h-10 ${n[a%n.length]} dark:contrast-75 rounded-full flex items-center justify-center text-gray-900 dark:text-gray-100 font-semibold text-sm`,children:e.authorName.split(" ").map(e=>e.charAt(0).toUpperCase()).join("")}),(0,t.jsxs)("div",{className:"ml-3 flex flex-col",children:[(0,t.jsx)("span",{className:"text-gray-900 dark:text-gray-100 font-semibold text-base",children:e.authorName}),(0,t.jsx)("span",{className:"text-gray-400 dark:text-gray-500 text-sm",suppressHydrationWarning:!0,children:(r=new Date(e.date),new Intl.DateTimeFormat(i.default.defaultContentLanguage,{month:"short",year:"numeric",timeZone:"UTC"}).format(r))})]})]}),(0,t.jsx)(s.default,{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group/link",children:(0,t.jsx)("svg",{className:"w-5 h-5 mt-2 text-gray-300 dark:text-gray-600 transition-all duration-300 group-hover/link:text-blue-500 group-hover/link:translate-x-1",xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",children:(0,t.jsx)("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.3",d:"M2.8 1.1H13m0 0v10.2m0-10.2-12 12"})})})]})]})})}function d({reviewStrapi:e}){let l=e.data||[],s=(0,a.useMemo)(()=>{let e=[...l].sort((e,t)=>
12(e.authorName||"").localeCompare(t.authorName||"")),t=0;for(let a=0;a<e.length;a++){let r=e[a];r&&r.authorName&&(t+=r.authorName.length)}for(let a=e.length-1;a>0;a--){let r=Math.floor((t=(9301*t+49297)%233280)/233280*(a+1));[e[a],e[r]]=[e[r],e[a]]}return e},[l]),i=(0,a.useMemo)(()=>s.slice(0,Math.ceil(s.length/2)),[s]),n=(0,a.useMemo)(()=>s.slice(Math.ceil(s.length/2)),[s]),d=(0,a.useMemo)(()=>i.map((e,a)=>({node:(0,t.jsx)(o,{block:e,index:a})})),[i]),c=(0,a.useMemo)(()=>n.map((e,a)=>({node:(0,t.jsx)(o,{block:e,index:a+i.length})})),[n,i.length]);return(0,t.jsx)("section",{className:"bg-[#f6f6f6] dark:bg-[#1B1D21] overflow-hidden",children:(0,t.jsx)("div",{className:"max-w-screen relative pt-12 lg:pt-20 sm:pt-16 pb-10 sm:pb-12 lg:pb-15 lg:ml-sidebar-mini",children:l&&l.length>0&&(0,t.jsx)("div",{className:"relative py-6 overflow-visible",children:(0,t.jsxs)("div",{className:"relative flex flex-col gap-8 overflow-x-clip overflow-y-visible py-8 -my-8",children:[(0,t.jsx)("div",{className:"absolute w-full h-full left-0 top-0 bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.2)_0%,rgba(255,255,255,0)_100%)] dark:bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.15)_0%,rgba(255,255,255,0)_100%)]"}),(0,t.jsx)(r.LogoLoop,{logos:d,speed:35,direction:"left",logoHeight:0,fadeOut:!0,fadeOutColor:"#e8ebf0",fadeOutColorDark:"#181a1e",gap:16,hoverSpeed:0,ariaLabel:"Customer reviews row 1"}),(0,t.jsx)(r.LogoLoop,{logos:c,speed:35,direction:"right",logoHeight:0,fadeOut:!0,fadeOutColor:"#e8ebf0",fadeOutColorDark:"#181a1e",gap:16,hoverSpeed:0,ariaLabel:"Customer reviews row 2"})]})})})})}e.s(["default",()=>d])},1766,e=>{"use strict";var t=e.i(43476),a=e.i(76556),r=e.i(16460),l=e.i(71645),s=e.i(57688),i=e.i(90666),n=e.i(8169);function o({data:e,webbyLang:o}){let{getModifiedUrl:d}=(0,r.useRegionalRedirectContext)(),[c,u]=(0,l.useState)(""),[h,x]=(0,l.useState)(""),m=(0,l.useRef)(null),g=(0,l.useRef)(null),f=(0,l.useRef)(null),[p,w]=(0,l.useState)([]),[b,v]=(0,l.useState)(!1),[k,j]=(0,l.useState)(!1),[y,N]=(0,l.useState)(""),[C,M]=(0,l.useState)(null),[_,E]=(0,l.useState)(!1),[F,L]=(0,l.useState)(null),H=(0,l.useRef)(null),[W,S]=(0,l.useState)("calc(100vh - 20px)"),[$,z]=(0,l.useState)(!1),D=(0,l.useRef)(null),B=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=e=>{D.current&&!D.current.contains(e.target)&&z(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,l.useEffect)(()=>{let e=new IntersectionObserver(([e])=>{window.WHMChat&&window.WHMChat.setLauncherVisibility&&window.WHMChat.setLauncherVisibility(!e.isIntersecting)},{threshold:.1});g.current&&e.observe(g.current);let t=setInterval(()=>{if(window.WHMChat&&window.WHMChat.setLauncherVisibility&&g.current){let e=g.current.getBoundingClientRect(),a=e.top<window.innerHeight&&e.bottom>=0;window.WHMChat.setLauncherVisibility(!a),clearInterval(t)}},100);return()=>{e.disconnect(),clearInterval(t),window.WHMChat&&window.WHMChat.setLauncherVisibility&&window.WHMChat.setLauncherVisibility(!0)}},[]),(0,l.useEffect)(()=>{let e=()=>{let e=window.innerWidth<1024;b?e&&window.visualViewport?S(`${window.visualViewport.height}px`):S("calc(100vh - 55px)"):S("auto")};return window.visualViewport&&(window.visualViewport.addEventListener("resize",e),window.visualViewport.addEventListener("scroll",e)),window.addEventListener("resize",e),e(),()=>{window.visualViewport&&(window.visualViewport.removeEventListener("resize",e),window.visualViewport.removeEventListener("scroll",e)),window.removeEventListener("resize",e)}},[b]),(0,l.useEffect)(()=>{let e=localStorage.getItem("whmchat:guest_id");e&&N(e)},[]),(0,l.useEffect)(()=>{let e=e=>{if("history_loaded"!==e.type){if("auth_state_change"===e.type){E(!!e.authed),M(e.userName||null),e.uid&&N(e.uid),e.authed&&v(!0),e.authed||(w([]),v(!1),B.current=!0,setTimeout(()=>{B.current=!1},2e3));return}if("status_change"===e.type)return void L(!!e.online);if("typing_start"===e.type)return void j(!0);if("typing_end"===e.type||"stop_generation"===e.type)return void j(!1);if("message"===e.type||e.text&&e.who){j(!1),B.current&&"me"!==e.who?B.current=!1:v(!0);let t={id:e.id||`msg-${Date.now()}-${Math.random()}`,text:e.text||"",who:"user"===e.who||"me"===e.who?"me":"bot"};w(e=>e.some(e=>e.id===t.id)?e:[...e,t])}}},t=()=>{if(window.WHMChat&&window.WHMChat.onMessage){if(window.WHMChat.init&&window.WHMChat.init(),window.WHMChat.onMessage(e),window.WHMChat.setExternalActive&&window.WHMChat.setExternalActive(!0),window.WHMChat.userId){let e=window.WHMChat.userId();e&&N(e.trim())}if(window.WHMChat.isAuthed){let e=window.WHMChat.isAuthed();E(e),e&&v(!0)}if(window.WHMChat.getUserName&&M(window.WHMChat.getUserName()),window.WHMChat.isOnline&&L(window.WHMChat.isOnline()),window.WHMChat.getMessages){let e=window.WHMChat.getMessages();e&&e.length>0&&(v(!0),w(t=>{let a=e.map(e=>({id:e.id,text:e.text,who:e.who})).filter(e=>!t.some(t=>t.id===e.id));return[...t,...a]}))}}else setTimeout(t,500)};return t(),()=>{window.WHMChat&&window.WHMChat.setExternalActive&&window.WHMChat.setExternalActive(!1)}},[]),(0,l.useEffect)(()=>{H.current&&(H.current.scrollTop=H.current.scrollHeight)},[p,k]);let A=async e=>{if(e.trim()||k){if(k){window.WHMChat&&window.WHMChat.stop&&window.WHMChat.stop();return}x(""),v(!0),m.current&&(m.current.style.height="auto"),window.WHMChat&&window.WHMChat.send?window.WHMChat.send(e):(console.error("WHMChat not available"),w(e=>[...e,{id:"err-"+Date.now(),text:"Chat service not ready. Please try again.",who:"bot"}]))}},R=(0,l.useMemo)(()=>o?.allQuestionsForWeb||[],[o]),O=Math.ceil(R.length/2),T=R.slice(0,O),I=R.slice(O),q=(0,l.useMemo)(()=>T.map((e,a)=>({node:(0,t.jsxs)("button",{onClick:()=>A(e),className:"whitespace-nowrap px-3 py-1.5 bg-[#D8E6FE] dark:bg-[#2C2E3350] backdrop-blur-md rounded-lg text-[#0058F0] dark:text-[#4d8aff] sm:text-xs text-[10px] font-medium tracking-wider flex items-center gap-2 hover:bg-[#0058f0] hover:text-white transition-colors duration-300 cursor-pointer",children:[e," ",(0,t.jsx)("span",{className:"text-base leading-none",children:"+"})]},a)})),[T,y]),V=(0,l.useMemo)(()=>I.map((e,a)=>({node:(0,t.jsxs)("button",{onClick:()=>A(e),className:"whitespace-nowrap px-3 py-1.5 bg-[#D8E6FE] dark:bg-[#2C2E3350] backdrop-blur-md rounded-lg text-[#0058F0] dark:text-[#4d8aff] sm:text-xs text-[10px] font-medium tracking-wider flex items-center gap-2 hover:bg-[#0058f0] hover:text-white transition-colors duration-300 cursor-pointer",children:[e," ",(0,t.jsx)("span",{className:"text-base leading-none",children:"+"})]},a)})),[I,y]);return(0,l.useEffect)(()=>{e.btn_url&&u(d(e.btn_url))},[e.btn_url,d]),(0,t.jsxs)("div",{className:`flex flex-col bg-[#f6f6f6] dark:bg-[#1B1D21] ${!b?"min-h-[calc(100vh-85px)]":""}`,children:[(0,t.jsxs)("section",{ref:g,className:`bg-[#f6f6f6] dark:bg-[#1B1D21] relative overflow-hidden select-none transition-[height] duration-700 ease-in-out flex flex-col ${!b?"flex-1":""}`,style:{height:b?W:"auto"},children:[(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none dark:hidden lg:ml-sidebar",children:(0,t.jsx)(i.default,{dotSize:2.5,gap:22,baseColor:"#dddddd",activeColor:"#0C61FE",proximity:100,shockRadius:200,shockStrength:4,resistance:600,returnDuration:1.2,className:"w-full h-full",radialFade:!0,radialFadeMin:1,radialFadeMax:0})}),(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none hidden dark:block lg:ml-sidebar",children:(0,t.jsx)(i.default,{dotSize:2.5,gap:22,baseColor:"#2d3542",activeColor:"#0C61FE",proximity:100,shockRadius:200,shockStrength:4,resistance:600,returnDuration:1.2,className:"w-full h-full",radialFade:!0,radialFadeMin:1,radialFadeMax:0})}),(0,t.jsxs)("div",{className:"max-w-8xl mx-auto lg:px-10 sm:px-6 px-4 py-6 pb-2 lg:ml-sidebar h-full flex flex-col flex-1 w-full",children:[(0,t.jsxs)("div",{className:"flex justify-between items-start flex-row",children:[(0,t.jsxs)("div",{className:"flex gap-2 w-fit h-fit bg-[#ffffff] dark:bg-[#2C2E3350] rounded-full md:pl-3 pl-1 sm:pr-4 pr-3 md:py-2 py-1 items-center justify-between",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(s.default,{src:"/chat/webby.avif",alt:"Webby",width:302,height:302,className:"rounded-full sm:w-11 w-10 h-auto bg-[#F2F2F2] dark:bg-[#1c1d22]"}),null!==F&&(0,t.jsx)("div",{title:F?o?.webbyOnline:o?.webbyOffline,className:`absolute bottom-0 right-0 w-3 h-3 rounded-full border-2 border-white dark:border-[#2C2E33] ${F?"bg-[#10B981]":"bg-[#EF4444]"}`})]}),(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,t.jsx)("p",{className:"sm:text-base text-sm font-medium text-black dark:text-[#f2f2f2]",children:o?.webbyTitle?.toUpperCase()||"WEBBEE"}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("svg",{onClick:()=>_&&window.WHMChat?.linkSocial&&window.WHMChat.linkSocial("telegram"),className:`sm:w-4.5 w-4 h-auto transition ${_?"curs
12or-pointer dark:hover:brightness-135 hover:brightness-145":"cursor-not-allowed opacity-40"}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",children:[(0,t.jsx)("title",{children:_?(o?.connectWithWHM||"Connect {platform} with your WHM account").replace("{platform}","Telegram"):o?.forUseNeedAuth||"To use Webby in social networks, you need to be logged in."}),(0,t.jsx)("path",{fill:"#0058f0",d:"M9.6 0a9.6 9.6 0 1 0 0 19.2A9.6 9.6 0 0 0 9.6 0m4.5 6.5-1.1 7c-.2.7-.4.9-.7 1-.5 0-1-.4-1.5-.8l-2.1-1.4c-1-.7-.4-1 .2-1.6.1-.1 2.6-2.3 2.6-2.5a.2.2 0 0 0 0-.2h-.2l-4 2.6c-.5.3-.8.4-1.1.4l-1.5-.3c-.6-.2-1-.3-1-.7a432 432 0 0 1 9.9-4.2l.3.1.2.3z"}),(0,t.jsx)("path",{fill:"#fff",d:"M14 6.5c0 1.5-.7 5.2-1 7-.2.7-.4.9-.7 1-.5 0-1-.4-1.5-.8l-2.1-1.4c-1-.7-.4-1 .2-1.6.1-.1 2.6-2.3 2.6-2.5a.2.2 0 0 0 0-.2h-.2l-4 2.6c-.5.3-.8.4-1.1.4l-1.5-.3c-.6-.2-1-.3-1-.7a432 432 0 0 1 9.9-4.2l.3.1.2.3v.3Z"})]}),(0,t.jsxs)("svg",{onClick:()=>_&&window.WHMChat?.linkSocial&&window.WHMChat.linkSocial("discord"),className:`sm:w-5 w-4.5 h-auto transition ${_?"cursor-pointer dark:hover:brightness-135 hover:brightness-145":"cursor-not-allowed opacity-40"}`,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 23 17",children:[(0,t.jsx)("title",{children:_?(o?.connectWithWHM||"Connect {platform} with your WHM account").replace("{platform}","Discord"):o?.forUseNeedAuth||"To use Webby in social networks, you need to be logged in."}),(0,t.jsx)("path",{fill:"#0058f0",d:"M18.7 1.4A17.8 17.8 0 0 0 14 0l-.6 1.2a14 14 0 0 0-5 0A11 11 0 0 0 7.9 0C6.3.3 4.8.7 3.4 1.4A18.6 18.6 0 0 0 0 14a18.2 18.2 0 0 0 5.6 2.8l1.1-1.9A13 13 0 0 1 5 14c0-.2.2-.3.3-.3a13 13 0 0 0 11.2 0l.4.2v.1l-1.8.9 1.1 1.9h.1A18.2 18.2 0 0 0 22 14c.5-4.8-.7-9-3.2-12.6Zm-11.3 10c-1.1 0-2-1-2-2.2S6.3 7 7.4 7c1 0 2 1 2 2.2 0 1.3-1 2.3-2 2.3Zm7.3 0c-1.1 0-2-1-2-2.2s.9-2.2 2-2.2 2 1 2 2.2c0 1.3-.9 2.3-2 2.3Z"})]}),_&&(0,t.jsxs)("div",{className:"relative",ref:D,children:[(0,t.jsx)("button",{onClick:()=>z(!$),className:`flex items-center justify-center rounded-full cursor-pointer py-2 px-1 transition-colors duration-200 ${$?"bg-[#F2F2F2] dark:bg-[#3C3F45]":"hover:bg-[#F2F2F2] dark:hover:bg-[#3C3F45]"}`,children:(0,t.jsxs)("div",{className:"flex gap-[3px]",children:[(0,t.jsx)("div",{className:"w-[3px] h-[3px] bg-[#737373] rounded-full"}),(0,t.jsx)("div",{className:"w-[3px] h-[3px] bg-[#737373] rounded-full"}),(0,t.jsx)("div",{className:"w-[3px] h-[3px] bg-[#737373] rounded-full"})]})}),$&&(0,t.jsxs)("div",{className:"absolute lg:right-0 top-full mt-2 w-48 bg-white dark:bg-[#2C2E33] border border-[#E5E5E5] dark:border-[#FFFFFF1A] rounded-2xl shadow-[0_4px_24px_rgba(0,0,0,0.08)] z-50 overflow-hidden",children:[(0,t.jsxs)("button",{onClick:()=>{window.WHMChat?.clearHistory&&window.WHMChat.clearHistory(),z(!1),w([]),v(!1),B.current=!0,setTimeout(()=>{B.current=!1},2e3)},className:"w-full cursor-pointer text-left px-5 py-2.5 text-sm font-medium text-[#737373] hover:bg-[#F6F8FF] dark:hover:bg-[#363940] hover:text-[#0058F0] dark:hover:text-[#FFFFFF] flex justify-between items-center group transition-all duration-200",children:[o?.newChat||"New Chat",(0,t.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"stroke-[#737373] group-hover:stroke-[#0058F0] dark:group-hover:stroke-[#FFFFFF] transition-colors duration-200",children:[(0,t.jsx)("path",{d:"M4.278 2.452H3.024c-.78 0-1.171 0-1.469.152a1.4 1.4 0 0 0-.608.609c-.152.298-.152.688-.152 1.469v5.294c0 .781 0 1.171.152 1.469.133.262.346.475.608.609.298.151.688.151 1.467.151h5.299c.779 0 1.168 0 1.466-.151.262-.134.476-.347.609-.61.152-.297.152-.687.152-1.466V8.722",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M4.6 6.449a.7.7 0 0 0-.205.495v1.661h1.66A.7.7 0 0 0 6.55 8.4l5.095-5.095c.193-.193.29-.29.326-.401a.5.5 0 0 0 0-.301c-.036-.111-.133-.208-.326-.401l-.848-.849c-.193-.192-.289-.288-.4-.324a.5.5 0 0 0-.302 0c-.111.036-.207.132-.4.325l-.001.001z",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]})]}),(0,t.jsxs)("button",{onClick:()=>{window.WHMChat?.logout&&window.WHMChat.logout(),z(!1),w([]),v(!1),E(!1),M(null),B.current=!0,setTimeout(()=>{B.current=!1},2e3)},className:"w-full cursor-pointer text-left px-5 py-2.5 text-sm font-medium text-[#737373] hover:bg-[#FFF4F4] dark:hover:bg-[#381E1E] hover:text-[#E14D4D] dark:hover:text-[#FF6B6B] flex justify-between items-center group transition-all duration-200",children:[o?.logOut||"Log Out",(0,t.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"stroke-[#737373] group-hover:stroke-[#E14D4D] dark:group-hover:stroke-[#FF6B6B] transition-colors duration-200",children:(0,t.jsx)("path",{d:"m6 8 2-2m0 0L6 4m2 2H.667m0-3.168V2.8c0-.746 0-1.12.145-1.405.128-.251.332-.455.583-.583C1.68.667 2.053.667 2.8.667h6.4c.747 0 1.12 0 1.405.145.251.128.455.332.583.583.145.285.145.658.145 1.403v6.405c0 .745 0 1.118-.145 1.403-.128.25-.332.455-.583.582-.285.146-.658.146-1.403.146H2.798c-.745 0-1.118 0-1.403-.146a1.33 1.33 0 0 1-.583-.583C.667 10.32.667 9.947.667 9.2v-.033",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})]})]})]}),(0,t.jsx)("div",{className:"flex items-center gap-4 bg-[#ffffff] dark:bg-[#2C2E3350] rounded-full md:px-5 px-4 sm:py-2.5 py-2",children:(0,t.jsxs)("div",{className:"flex md:gap-2 sm:gap-1 gap-0 flex-col text-[#808080] dark:text-[#f2f2f2] font-medium md:text-base text-sm leading-4",children:[(0,t.jsxs)("p",{className:"uppercase",children:[o?.user,": ",C||o?.guest]}),_?(0,t.jsxs)("p",{children:["ID: ",y]}):(0,t.jsx)("button",{onClick:()=>window.WHMChat?.doSSO&&window.WHMChat.doSSO(),className:"text-blue-500 text-left cursor-pointer",children:o?.logIn})]})})]}),(0,t.jsxs)("div",{className:`flex flex-col mt-3 relative z-10 flex-1 w-full max-w-4xl mx-auto h-full transition-all duration-700 justify-center pb-6 ${b?"overflow-hidden":""}`,children:[(0,t.jsx)("div",{className:`transition-all duration-700 ease-in-out min-h-0 ${b?"flex-1 opacity-100":"flex-[0_0_0] opacity-0 overflow-hidden"}`,children:(0,t.jsxs)("div",{className:"h-full overflow-y-auto flex flex-col gap-6 pr-2 no-scrollbar select-text",ref:H,children:[p.map(e=>(0,t.jsx)("div",{className:`px-6 py-4 rounded-[32px] max-w-xl w-fit shrink-0 ${"me"===e.who?"bg-[#0058F0] text-white rounded-br-lg self-end":"bg-white dark:bg-[#2C2E33] text-[#666666] dark:text-[#F2F2F2] rounded-bl-lg self-start"}`,children:"me"===e.who?(0,t.jsx)("p",{className:"md:text-[15px] sm:text-sm text-[13px] leading-relaxed whitespace-pre-wrap",children:e.text}):(0,t.jsx)("div",{className:"md:text-[15px] sm:text-sm text-[13px] leading-relaxed prose dark:prose-invert max-w-none",dangerouslySetInnerHTML:{__html:window.WHMChat?.renderMarkdownToSafeHtml?window.WHMChat.renderMarkdownToSafeHtml(e.text):function(e){if(!e)return"";let t=String(e);return(t=(t=(t=(t=(t=(t=(t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")).replace(/```([\s\S]*?)```/g,(e,t)=>`<pre><code>${t}</code></pre>`)).replace(/`([^`]+?)`/g,(e,t)=>`<code>${t}</code>`)).replace(/\[([^\]]+?)\]\((https?:\/\/[^\s)]+)\)/g,(e,t,a)=>`<a href="${a}" target="_blank" rel="noopener noreferrer" class="text-blue-500 hover:underline">${t}</a>`)).replace(/(\*\*|__)(.*?)\1/g,(e,t,a)=>`<strong>${a}</strong>`)).replace(/(\*|_)(.*?)\1/g,(e,t,a)=>`<em>${a}</em>`)).replace(/^(?:\s*[-*+]\s.+(?:\n|$))+?/gm,e=>"<ul class='list-disc pl-4'>"+e.trim().split(/\n/).map(e=>e.replace(/^\s*[-*+]\s/,"").trim()).map(e=>`<li>${e}</li>`).join("")+"</ul>")).replace(/\n/g,"<br>")}(e.text)}})},e.id)),k&&(0,t.jsx)("div",{className:"bg-white dark:bg-[#2C2E33] px-6 py-4 rounded-[32px] rounded-bl-lg w-fit shrink-0",children:(0,t.jsxs)("div",{className:"flex gap-1 items-center",children:[(0,t.jsx)("div",{className:"w-1.5 h-1.5 bg-gray-400 rounded-full animate-typing-blink",style:{animationDelay:"0s"}}),(0,t.jsx)("div",{className:"w-1.5 h-1.5 bg-gray-400 rounded-full animate-typing-blink",style:{animationDelay:"0.2s"}}),(0,t.jsx)("div",{className:"w-1.5 h-1.5 bg-gray-400 rounded-full animate-typing-blink",style:{animationDelay:"0.4s"}})]})})]})}),(0,t.jsx)("div",{className:`transition-all duration-700 ease-in-out overflow-hidden pt-4 ${b?"max-h-0 opacity-0 mb-0":"max-h-[1000px] opacity-100 mb-6"}`,children:(0,t.jsx)("div",{className:"flex flex-col items-center justify-center px-4",children:(0,t.jsx)("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-bold text-black dark:text-white text-center leading-tight",dangerouslySetInnerHTML:{__html:e.title.replace(/<blue>(.*?)<\/blue>/g,'<span class="text-[#0058F0]">$1</span>')}})})}),(0,t.jsxs)("div",{className:"flex flex-col gap-4 mt-4 shrink-0 z-20",children:[(0,t.jsxs)("div",{className:`w-full overflow-hidden flex flex-col gap-2 transition-all duration-700 ease-in-out ${b?"max-h-0 opacity-0":"max-h-[200px] opacity-100"}`,children:[(0,t.jsx)(n.LogoLoop,{logos:q,speed:30,direction:"left",logoHeight:0,fadeOut:!0,fadeOutColor:"#f6f6f6",fadeOutColorDark:"#1B1D21",gap:8,hoverSpeed:0,ariaLabel:"Suggested prompts row 1"}),(0,t.jsx)(n.LogoLoop,{logos:V,speed:30,direction:"right",logoHeight:0,fadeOut:!0,fadeOutColor:"#f6f6f6",fadeOutColorDark:"#1B1D21",gap:8,hoverSpeed:0,ariaLabel:"Suggested prompts row 2"})]}),(0,t.jsx)("div",{className:"rounded-[28px] p-[1.5px] bg-[linear-gradient(90.2deg,#8BC5FE_0%,#0058F0_99.22%)] dark:bg-[linear-gradient(90.2deg,#4d8aff_0%,#0058F0_99.22%)]",children:(0,t.jsxs)("div",{className:"bg-white dark:bg-[#2C2E33] rounded-[26.5px] p-2 pl-6 flex items-end gap-4 h-full w-full",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3 text-[#0058f0] flex-1 py-2",children:[(0,t.jsxs)("svg",{className:"w-5 h-5 mt-0.5 shrink-0",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{fill:"url(#a)",d:"M8 6.7c.3-1 1.7-1 2 0l1.8 4.8c.1.3.4.6.7.7l4.8 1.8c1 .3 1 1.7 0 2l-4.8 1.8c-.3.1-.6.4-.7.7L10 23.3c-.3 1-1.7 1-2 0l-1.8-4.8c-.1-.3-.4-.6-.7-.7L.7 16c-1-.3-1-1.7 0-2l4.8-1.8c.3-.1.6-.4.7-.7zM19 .4c.2-.5.8-.5 1 0l1 2.4c0 .1 0 .2.2.3l2.4.9c.5.2.5.8 0 1l-2.4 1c-.1 0-.2
120-.3.2L20 8.6c-.2.5-.8.5-1 0l-1-2.4c0-.1 0-.2-.2-.3L15.4 5a.6.6 0 0 1 0-1l2.4-1c.1 0 .2 0 .3-.2z"}),(0,t.jsx)("defs",{children:(0,t.jsxs)("linearGradient",{id:"a",x1:"19",x2:"9",y1:"17",y2:"0",gradientUnits:"userSpaceOnUse",children:[(0,t.jsx)("stop",{stopColor:"#0058f0"}),(0,t.jsx)("stop",{offset:"1",stopColor:"#72b8fe"})]})})]}),(0,t.jsx)("textarea",{ref:m,value:h,onChange:e=>{x(e.target.value),m.current&&(m.current.style.height="auto",m.current.style.height=`${m.current.scrollHeight}px`)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),A(h))},rows:2,autoFocus:!0,placeholder:o?.askWebby||"Ask Webby...",className:"bg-transparent border-none outline-none text-base text-black dark:text-gray-100 w-full placeholder-[#0058f0] dark:placeholder-[#4D8AFF] resize-none max-h-[120px] overflow-y-auto py-0"})]}),(0,t.jsx)("div",{className:"flex items-center gap-2 pr-2 pb-1",children:(0,t.jsx)("button",{onClick:()=>A(h),className:"w-8 h-8 bg-[linear-gradient(143.33deg,#3F9FFE_18.28%,#004FD7_83.72%)] hover:bg-[#0046c0] rounded-full flex items-center justify-center text-white transition shadow-lg shadow-blue-500/30 cursor-pointer",children:k?(0,t.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5",children:(0,t.jsx)("rect",{x:"7",y:"7",width:"10",height:"10",rx:"1.5",fill:"currentColor"})}):(0,t.jsx)("svg",{className:"w-4.5 h-4.5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 18",children:(0,t.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 1 1 6m5-5 5 5M6 1v16"})})})})]})}),(0,t.jsx)("div",{className:"text-center text-[10px] text-[#A6A6A6] dark:text-[#666666]",children:(0,t.jsx)("p",{children:o?.webbyCanMakeMistakes?.toUpperCase()||"WEBBY IS AN AI ASSISTANT. SHE CAN DOES MISTAKES"})})]})]})]})]}),(0,t.jsx)("section",{className:"bg-[#f6f6f6] dark:bg-[#1B1D21]",ref:f,children:(0,t.jsxs)("div",{className:"max-w-8xl mx-auto lg:px-10 sm:px-6 px-4 pt-2 pb-10 lg:ml-sidebar flex flex-col items-center justify-center",children:[(0,t.jsx)("h1",{className:"text-[#777] text-2xl text-center pb-2 capitalize",children:e.secondTitle}),(0,t.jsxs)("p",{className:"text-black dark:text-[#f2f2f2] flex gap-1 items-center justify-center pb-4",children:[(0,t.jsx)("span",{className:"text-xs",children:e.then_from_text}),(0,t.jsx)("span",{className:"text-4xl font-bold",children:e.price}),(0,t.jsx)("span",{className:"text-sm font-bold",children:e.price_period_text})]}),(0,t.jsxs)(a.default,{href:c,className:`w-fit min-h-20 max-h-21 text-white font-medium transition-all duration-300 ease-in-out shadow-[0_30px_30px_-32px_#0037c2] hover:shadow-[0_14px_24px_-16px_#0037c2] text-xl flex items-center gap-2 xl:px-9 px-6 rounded-[1.5rem] ${c?"bg-[#025efc] hover:bg-[#0037c2] cursor-pointer":"bg-gray-400 cursor-not-allowed"}`,children:[e.btn_text,(0,t.jsx)("svg",{className:"w-4.5 h-4.5",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 11 18",children:(0,t.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"3.23",d:"m1.61 1.61 7.17 7.17-7.17 7.17"})})]}),e.promo_badges.length>0&&(0,t.jsx)("div",{className:"flex flex-col pt-6",children:e.promo_badges.slice(0,1).map((e,a)=>(0,t.jsx)("div",{className:"sm:text-xs text-[11px] font-medium tracking-wide sm:px-2.5 px-0 py-0.5",children:(0,t.jsx)("span",{className:"text-black dark:text-gray-200",children:e.text})},a))})]})})]})}e.s(["default",()=>o])},40844,e=>{"use strict";var t=e.i(43476),a=e.i(71645),r=e.i(8169),l=e.i(57688),s=e.i(22016);function i({post:e,readPostText:a}){return(0,t.jsx)("div",{className:"group/card bg-[#F2F6FC75] dark:bg-[#27293075] rounded-[35px] p-5 shadow-[0px_0px_64px_0px_rgba(0,41,113,0.12)] md:w-84 sm:w-70 w-66",children:(0,t.jsxs)(s.default,{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"block",children:[(0,t.jsxs)("div",{className:"relative aspect-video w-full rounded-2xl overflow-hidden",children:[(0,t.jsx)(l.default,{src:e.img_url,alt:e.title,fill:!0,className:"object-cover transition-all duration-300 group-hover/card:scale-105 group-hover/card:blur-[2px]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-black/50 opacity-0 group-hover/card:opacity-100 transition-opacity duration-300 flex flex-col items-center justify-center p-4",children:(0,t.jsx)("span",{className:"text-blue-600 font-bold bg-white hover:bg-[#eee] hover:scale-105 tracking-wider px-5 py-2 rounded-lg text-sm transition-all duration-300 ease-in-out cursor-pointer",children:a})})]}),(0,t.jsx)("h3",{className:"text-black dark:text-white font-medium text-base line-clamp-2 text-left leading-snug mt-3",dangerouslySetInnerHTML:{__html:e.title}}
12)]})})}function n({data:e,posts:l}){let s=(0,a.useMemo)(()=>l.slice(0,Math.ceil(l.length/2)),[l]),n=(0,a.useMemo)(()=>l.slice(Math.ceil(l.length/2)),[l]),o=(0,a.useMemo)(()=>s.map(a=>({node:(0,t.jsx)(i,{post:a,readPostText:e.read_post_text})})),[s,e.read_post_text]),d=(0,a.useMemo)(()=>n.map(a=>({node:(0,t.jsx)(i,{post:a,readPostText:e.read_post_text})})),[n,e.read_post_text]);return(0,t.jsx)("section",{className:"bg-[#f6f6f6] dark:bg-[#1B1D21] overflow-hidden",children:(0,t.jsxs)("div",{className:"max-w-screen relative pt-12 lg:pt-20 sm:pt-16 pb-10 sm:pb-12 lg:pb-15 lg:ml-sidebar-mini",children:[(0,t.jsx)("h1",{className:"xl:text-6xl lg:text-5xl text-4xl font-bold text-black dark:text-[#f2f2f2] pb-12 text-center z-10",children:e.title}),l&&l.length>0&&(0,t.jsxs)("div",{className:"relative py-8",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.1)_0%,rgba(255,255,255,0)_100%)] dark:bg-[radial-gradient(50%_50%_at_50%_50%,rgba(0,88,240,0.15)_0%,rgba(255,255,255,0)_100%)]"}),(0,t.jsxs)("div",{className:"relative flex flex-col gap-8",children:[(0,t.jsx)(r.LogoLoop,{logos:o,speed:50,direction:"left",logoHeight:0,fadeOut:!0,fadeOutColor:"#eff1f5",fadeOutColorDark:"#1B1D21",gap:16,hoverSpeed:0,ariaLabel:"Blog posts row 1"}),(0,t.jsx)(r.LogoLoop,{logos:d,speed:50,direction:"right",logoHeight:0,fadeOut:!0,fadeOutColor:"#e8ebf0",fadeOutColorDark:"#1B1D21",gap:16,hoverSpeed:0,ariaLabel:"Blog posts row 2"})]})]})]})})}e.s(["default",()=>n])}]);
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.