PageSourceSearch

https://dotworld.in/_next/static/chunks/3wncdqd8763m7.js

js dotworld.in collected 2026-10-02 01:03:05 UTC 67,907 bytes, 6 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,548044,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(846932),n=e.i(381503),r=e.i(271645),l=e.i(88653),o=e.i(590106);function s({inputValue:e,isLoading:i,onInputChange:n,onSendClick:c,onKeyDown:d,onClick:u,placeholder:p="Ask anything about Dotworld...",size:h="default"}){let m=(0,r.useRef)(null),[x,g]=(0,r.useState)(!1);return(0,t.jsx)("div",{className:`relative flex items-center w-full group ${"large"===h?"max-w-4xl mx-auto":""}`,children:(0,t.jsxs)("div",{className:"relative w-full rounded-full group-hover:scale-[1.005] transition-all duration-500",children:[(0,t.jsx)("div",{className:`absolute -inset-3 rounded-full opacity-35 blur-xl transition-all duration-500 -z-10
2            ${x?"opacity-60 scale-[1.03] translate-y-0.5":"group-hover:opacity-45 group-hover:translate-y-px"}
3          `,children:(0,t.jsx)("div",{className:"absolute inset-3 rounded-full overflow-hidden",children:(0,t.jsx)("div",{className:"absolute left-1/2 top-1/2 w-[300%] md:w-[200%] aspect-square -translate-x-1/2 -translate-y-1/2 pointer-events-none",children:(0,t.jsx)("div",{className:"w-full h-full origin-center animate-spin",style:{animationDuration:"4s",background:"conic-gradient(from 0deg, #ff5e62, #ff9966, #ffdb01, #3fffa2, #3b82f6, #8b5cf6, #ec4899, #ff5e62)"}})})})}),(0,t.jsxs)("div",{className:"relative flex items-center w-full p-[1.5px] rounded-full overflow-hidden bg-blue-200/30 z-10 isolate",style:{transform:"translateZ(0)",WebkitMaskImage:"-webkit-radial-gradient(white, black)"},children:[(0,t.jsx)("div",{className:"absolute left-1/2 top-1/2 w-[300%] md:w-[200%] aspect-square -translate-x-1/2 -translate-y-1/2 pointer-events-none",children:(0,t.jsx)("div",{className:"w-full h-full origin-center animate-spin",style:{animationDuration:"4s",background:"conic-gradient(from 0deg, #ff5e62, #ff9966, #ffdb01, #3fffa2, #3b82f6, #8b5cf6, #ec4899, #ff5e62)"}})}),(0,t.jsxs)("div",{className:"relative flex items-center flex-1 w-full bg-white backdrop-blur-xl rounded-full px-2 py-1 md:px-3 md:py-1 transition-colors duration-500",children:[(0,t.jsx)(a.motion.div,{animate:{backgroundPosition:["0% 50%","100% 50%","0% 50%"]},transition:{duration:15,repeat:1/0,ease:"linear"},className:"absolute inset-0 rounded-full opacity-30 pointer-events-none",style:{background:"linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%)",backgroundSize:"200% 100%"}}),(0,t.jsxs)("div",{className:"relative z-10 flex items-center justify-center pointer-events-none w-10 h-10 md:w-12 md:h-12 ml-1",children:[(0,t.jsx)(o.BsRobot,{className:"relative z-10 w-6 h-6 md:w-7 md:h-7 text-blue-400 drop-shadow-[0_0_8px_rgba(59,130,246,0.5)]"}),[{id:1,top:"10%",left:"15%",size:15,delay:0,color:"text-blue-300"},{id:2,top:"25%",left:"78%",size:12,delay:1.2,color:"text-cyan-200"},{id:3,top:"78%",left:"15%",size:9,delay:2.5,color:"text-white"},{id:4,top:"68%",left:"75%",size:10,delay:3.8,color:"text-blue-200"},{id:5,top:"45%",left:"5%",size:8,delay:4.8,color:"text-cyan-300"}].map(e=>(0,t.jsx)(a.motion.div,{className:`absolute ${e.color} drop-shadow-[0_0_3px_currentColor]`,style:{top:e.top,left:e.left},initial:{opacity:0,scale:.2},animate:{opacity:[0,.7,.7,0],scale:[.2,1,1,.2],y:[0,-5]},transition:{duration:4,repeat:1/0,delay:e.delay,ease:"easeInOut"},children:(0,t.jsx)("svg",{width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("circle",{cx:"12",cy:"12",r:"6"})})},e.id))]}),(0,t.jsxs)("div",{className:"relative flex-1 flex items-center h-full min-h-8 md:min-h-9.5",children:[(0,t.jsx)("input",{ref:m,type:"text",value:e,onChange:e=>n(e.target.value),onKeyDown:d,onClick:e=>{m.current?.focus(),u?.(e)},onFocus:()=>g(!0),onBlur:()=>g(!1),disabled:i,placeholder:"",className:"absolute inset-0 w-full h-full bg-transparent text-gray-700 text-sm md:text-base font-medium focus:outline-none z-10 px-2"}),!e&&!i&&(0,t.jsx)(l.AnimatePresence,{mode:"wait",children:(0,t.jsx)(a.motion.span,{initial:{opacity:0}
3,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"absolute inset-y-0 left-2 flex items-center text-gray-400 text-sm md:text-base pointer-events-none whitespace-nowrap",children:p})})]}),(0,t.jsx)("div",{className:"p-0.75 rounded-full border border-blue-100/40 bg-blue-50/30 shadow-[inset_0_1px_2px_rgba(0,0,0,0.02)] ml-2",children:(0,t.jsxs)("button",{onClick:c,disabled:!e.trim()||i,className:"relative z-10 flex items-center justify-center w-8 h-8 md:w-10 md:h-10 rounded-full overflow-hidden group/btn shadow-[0_4px_12px_rgba(59,130,246,0.15)] transition-transform active:scale-95 disabled:opacity-75 disabled:active:scale-100 disabled:cursor-not-allowed cursor-pointer",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-linear-to-tr from-blue-500 to-cyan-400 group-hover/btn:from-blue-600 group-hover/btn:to-cyan-300 transition-colors"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-white/20 opacity-0 group-hover/btn:opacity-100 transition-opacity blur-[2px]"}),i?(0,t.jsx)("div",{className:"relative w-4 h-4 border-2 border-white/40 border-t-white rounded-full animate-spin"}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"relative text-white w-4 h-4 md:w-5 md:h-5 pl-0.5",children:(0,t.jsx)("path",{d:"M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"})})]})})]})]})]})})}function c({isLoading:e,onMinimize:i,onMaximize:a,onClose:n,showMinimize:r=!1,showMaximize:l=!1}){return(0,t.jsxs)("div",{className:"w-full flex items-center justify-between px-4 sm:px-6 py-3 bg-white/80 backdrop-blur-sm border-b border-gray-100",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"flex items-center justify-center w-8 h-8 rounded-lg  bg-brand-blue hover:bg-blue-500 shadow-sm",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"w-4 h-4",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M9 4.5a.75.75 0 01.721.544l.813 2.846a3.75 3.75 0 002.576 2.576l2.846.813a.75.75 0 010 1.442l-2.846.813a3.75 3.75 0 00-2.576 2.576l-.813 2.846a.75.75 0 01-1.442 0l-.813-2.846a3.75 3.75 0 00-2.576-2.576l-2.846-.813a.75.75 0 010-1.442l2.846-.813A3.75 3.75 0 007.466 7.89l.813-2.846A.75.75 0 019 4.5zM18 1.5a.75.75 0 01.728.568l.258 1.036c.236.94.97 1.674 1.91 1.91l1.036.258a.75.75 0 010 1.456l-1.036.258c-.94.236-1.674.97-1.91 1.91l-.258 1.036a.75.75 0 01-1.456 0l-.258-1.
3036a2.625 2.625 0 00-1.91-1.91l-1.036-.258a.75.75 0 010-1.456l1.036-.258a2.625 2.625 0 001.91-1.91l.258-1.036A.75.75 0 0118 1.5zM16.5 15a.75.75 0 01.712.513l.394 1.183c.15.447.5.799.948.948l1.183.395a.75.75 0 010 1.422l-1.183.395c-.447.15-.799.5-.948.948l-.395 1.183a.75.75 0 01-1.422 0l-.395-1.183a1.5 1.5 0 00-.948-.948l-1.183-.395a.75.75 0 010-1.422l1.183-.395c.447-.15.799-.5.948-.948l.395-1.183A.75.75 0 0116.5 15z",clipRule:"evenodd"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-sm font-semibold text-gray-900",children:"Dotworld AI Assistant"}),(0,t.jsx)("p",{className:"text-xs text-start text-gray-500",children:e?"Thinking...":"Online"})]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[l&&(0,t.jsx)("button",{onClick:a,title:"Expand",className:"w-8 h-8 rounded-lg hover:bg-gray-100 flex items-center justify-center transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-4 h-4 text-gray-600",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M2
30.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})})}),r&&(0,t.jsx)("button",{onClick:i,title:"Minimize",className:"w-8 h-8 rounded-lg hover:bg-gray-100 flex items-center justify-center transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-4 h-4 text-gray-600",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}),(0,t.jsx)("button",{onClick:n,title:"Close",className:"w-8 h-8 rounded-lg hover:bg-gray-100 flex items-center justify-center transition-colors",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor",className:"w-4 h-4 text-gray-600",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})})]})]})}function d(){return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"flex gap-3 justify-start",children:[(0,t.jsx)("div",{className:"flex-shrink-0 w-8 h-8 rounded-lg bg-linear-to-br from-brand-blue to-blue-500 flex items-center justify-center shadow-sm mt-1",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"w-4 h-4",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM6.262 6.072a8.25 8.25 0 1010.562-.766 4.5 4.5 0 01-1.318 1.357L14.25 7.5l.165.33a.809.809 0 01-1.086 1.085l-.604-.302a1.125 1.125 0 00-1.298.21l-.132.131c-.439.44-.439 1.152 0 1.591l.296.296c.256.257.622.374.98.314l1.17-.195c.323-.054.654.036.905.245l1.33 1.108c.32.267.46.694.358 1.1a8.7 8.7 0 01-2.288 4.04l-.723.724a1.125 1.125 0 01-1.298.21l-.153-.076a1.125 1.125 0 01-.622-1.006v-1.089c0-.298-.119-.585-.33-.796l-1.347-1.347a1.125 1.125 0 01-.21-1.298L9.75 12l-1.64-1.64a6 6 0 01-1.676-3.257l-.172-1.03z",clipRule:"evenodd"})})}),(0,t.jsx)("div",{className:"max-w-[80%] px-4 py-3 rounded-2xl rounded-tl-md text-sm bg-white border border-gray-100 shadow-sm",children:(0,t.jsxs)("div",{className:"flex space-x-2",children:[(0,t.jsx)("div",{className:"w-2 h-2 bg-brand-blue rounded-full animate-bounce"}),(0,t.jsx)("div",{className:"w-2 h-2 bg-brand-blue rounded-full animate-bounce",style:{animationDelay:"0.15s"}}),(0,t.jsx)("div",{className:"w-2 h-2 bg-brand-blue rounded-full animate-bounce",style:{animationDelay:"0.3s"}})]})})]})}function u({message:e,onSuggestionClick:i}){var n;let r,l,o;return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.3},className:`flex gap-3 ${e.isUser?"justify-end":"justify-start"}`,children:[!e.isUser&&(0,t.jsx)("div",{className:"shrink-0 w-8 h-8 rounded-lg  bg-brand-blue flex items-center justify-center shadow-sm mt-1",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"w-4 h-4",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zM6.262 6.072a8.25 8.25 0 1010.562-.766 4.5 4.5 0 01-1.318 1.357L14.25 7.5l.165.33a.809.809 0 01-1.086 1.085l-.604-.302a1.125 1.125 0 00-1.298.21l-.132.131c-.439.44-.439 1.152 0 1.591l.296.296c.256.257.622.374.98.314l1.17-.195c.323-.054.654.036.905.245l1.33 1.108c.32.267.46.694.358 1.1a8.7 8.7 0 01-2.288 4.04l-.723.724a1.125 1.125 0 01-1.298.21l-.153-.076a1.125 1.125 0 01-.622-1.006v-1.089c0-.298-.119-.585-.33-.796l-1.347-1.347a1.125 1.125 0 01-.21-1.298L9.75 12l-1.64-1.64a6 6 0 01-1.676-3.257l-.172-1.03z",clipRule:"evenodd"})})}),(0,t.jsx)("div",{className:`max-w-[80%] px-4 py-3 text-[15px] leading-relaxed text-start ${e.isUser?"bg-brand-blue text-white rounded-2xl rounded-br-md shadow-sm":"bg-white border border-gray-100 text-gray-800 rounded-2xl rounded-tl-md shadow-sm"}`,children:e.isUser?e.fileUrl?(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{className:"shrink-0 w-8 h-8 rounded-lg bg-white/20 flex items-center justify-center",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-white",f
3ill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-white text-[13px] font-medium leading-tight",children:e.text}),(0,t.jsx)("p",{className:"text-white/60 text-[11px] mt-0.5",children:"PDF · Uploaded"})]})]}):(0,t.jsx)("div",{className:"text-white",children:e.text}):(n=e,(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsx)("div",{className:"max-w-none",children:(r=n.text.split("\n"),l=(e,i)=>{let a,n=/(https?:\/\/[\w\-@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_+.~#?&//=]*))/g,r=[],l=0,o=0;for(;null!==(a=n.exec(e));){a.index>l&&(r.push((0,t.jsx)("span",{children:e.slice(l,a.index)},`${i}-text-${o}`)),o++);let n=a[0];r.push((0,t.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"text-brand-blue underline break-words",title:String(n)||"Link",children:n},`${i}-link-${o}`)),o++,l=a.index+n.length}return(l<e.length&&r.push((0,t.jsx)("span",{children:e.slice(l)},`${i}-text-last`)),0===r.length)?[(0,t.jsx)("span",{children:e},`${i}-plain`)]:r},o=/\*\*(.*?)\*\*/g,(0,t.jsx)("div",{className:"space-y-2",children:r.map((e,i)=>{let a;if(""===e.trim())return(0,t.jsx)("br",{},i);let n=e.trim().startsWith("- ")||e.trim().startsWith("• ")||/^[0-9]+\.\s+/.test(e.trim()),r=e;n&&(r=e.replace(/^\s*([-•]|[0-9]+\.)\s+/,""));let s=[],c=0,d=0;for(;null!==(a=o.exec(r));){a.index>c&&(l(r.slice(c,a.index),`l${i}-p${d}`).forEach(e=>s.push(e)),d++);let e=l(a[1]||"",`l${i}-b${d}`);s.push((0,t.jsx)("strong",{className:"font-semibold",children:e},`l${i}-b-${d}`)),d++,c=a.index+a[0].length}return(c<r.length&&l(r.slice(c),`l${i}-r${d}`).forEach(e=>s.push(e)),0===s.length&&s.push((0,t.jsx)("span",{children:e},`l${i}-plain`)),n)?(0,t.jsxs)("div",{className:"flex",children:[(0,t.jsx)("span",{className:"mr-2",children:"•"}),(0,t.jsx)("span",{children:s})]},i):(0,t.jsx)("p",{className:"text-inherit",children:s},i)})}))}),n.links&&n.links.length>0&&(0,t.jsxs)("div",{className:"pt-2 mt-1.5 border-t border-gray-100/50",children:[(0,t.jsxs)("div",{className:"text-[10px] font-medium text-gray-400 uppercase tracking-wide mb-1.5 flex items-center gap-1",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:"w-2.5 h-2.5",children:[(0,t.jsx)("path",{d:"M8.914 6.025a.75.75 0 0 1 1.06 0 3.5 3.5 0 0 1 0 4.95l-2 2a3.5 3.5 0 0 1-4.95-4.95l.92-.92a.75.75 0 0 1 1.06 1.06l-.92.92a2 2 0 1 0 2.83 2.83l2-2a2 2 0 0 0 0-2.83.75.75 0 0 1 0-1.06Z"}),(0,t.jsx)("path",{d:"M7.086 9.975a.75.75 0 0 1-1.06 0 3.5 3.5 0 0 1 0-4.95l2-2a3.5 3.5 0 0 1 4.95 4.95l-.92.92a.75.75 0 0 1-1.06-1.06l.92-.92a2 2 0 1 0-2.83-2.83l-2 2a2 2 0 0 0 0 2.83.75.75 0 0 1 0 1.06Z"})]}),(0,t.jsx)("span",{children:"Sources"})]}),(0,t.jsx)("div",{className:"flex flex-wrap gap-1",children:n.links.map((e,i)=>(0,t.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",title:e.description||e.title,className:"group inline-flex items-center gap-1 px-2 py-1 rounded bg-blue-50 hover:bg-brand-blue border border-blue-100 hover:border-brand-blue text-[11px] font-medium text-gray-700 hover:text-white transition-all duration-150",children:[(0,t.jsx)("span",{className:"truncate max-w-30",children:e.title}),(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:"w-2.5 h-2.5 opacity-50 group-hover:opacity-100",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M4.22 11.78a.75.75 0 0 1 0-1.06L9.44 5.5H5.75a.75.75 0 0 1 0-1.5h5.5a.75.75 0 0 1 .75.75v5.5a.75.75 0 0 1-1.5 0V6.56l-5.22 5.22a.75.75 0 0 1-1.06 0Z",clipRule:"evenodd"})})]},i))})]}),n.suggestions&&n.suggestions.length>0&&(0,t.jsxs)("div",{className:"pt-2.5 mt-2.5 border-t border-gray-100/70",children:[(0,t.jsxs)("div",{className:"text-[10px] font-medium text-gray-400 uppercase tracking-wide mb-2 flex items-center gap-1",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:"w-2.5 h-2.5",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M2 8c0 .414.336.75.75.75h8.69l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.5-2.5a.75.75 0 0 0 0-1.06l-2.5-2.5a.75.75 0 1 0-1.06 1.06l1.22 1.22H2.75A.75.75 0 0 0 2 8Z",clipRule:"evenodd"})}),(0,t.jsx)("span",{children:"Related Questions"})]}),(0,t.jsx)("div",{className:"space-y-1.5",children:n.suggestions.slice(0,3).map((e,a)=>(0,t.jsxs)("button",{onClick:()=>i(e),className:"group w-full flex items-start gap-2 px-2.5 py-2 rounded-lg bg-linear-to-r from-gray-50 to-transparent hover:from-blue-50 hover:to-blue-50/30 border border-transparent hover:border-blue-100 text-left transition-all duration-200",children:[(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",className:"w-4 h-4 text-gray-400 group-hover:text-brand-blue shrink-0 mt-0.5 transition-colors",children:[(0,t.jsx)("polyline",{points:"15 10 20 15 15 20"}),(0,t.jsx)("path",{d:"M4 4v7a4 4 0 0 0 4 4h12"})]}),(0,t.jsx)("span",{className:"text-xs font-medium text-gray-700 group-hover:text-gray-900 leading-snug",children:e})]},a))})]})]}))}
3),e.isUser&&(0,t.jsx)("div",{className:"shrink-0 w-8 h-8 rounded-lg bg-linear-to-br from-gray-700 to-gray-900 flex items-center justify-center shadow-sm mt-1",children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"white",className:"w-4 h-4",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M7.5 6a4.5 4.5 0 119 0 4.5 4.5 0 01-9 0zM3.751 20.105a8.25 8.25 0 0116.498 0 .75.75 0 01-.437.695A18.683 18.683 0 0112 22.5c-2.786 0-5.433-.608-7.812-1.7a.75.75 0 01-.437-.695z",clipRule:"evenodd"})})})]})}function p({messages:e,isLoading:i,onSuggestionClick:a}){let n=(0,r.useRef)(null),l=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useRef)(null),c=(0,r.useRef)(e.length);return(0,r.useEffect)(()=>{let t=c.current;if(e.length<=t){c.current=e.length;return}let i=e[e.length-1];setTimeout(()=>{let t=l.current;if(t){if(i.isUser&&o.current){let i=o.current,a=t.getBoundingClientRect(),n=i.getBoundingClientRect(),r=parseFloat(window.getComputedStyle(t).paddingTop||"0"),l=n.top-a.top+t.scrollTop-r;t.scrollTo({top:Math.max(0,l-8),behavior:"smooth"}),c.current=e.length;return}if(!i.isUser&&s.current){let e=s.current,i=t.getBoundingClientRect(),a=e.getBoundingClientRect().top-i.top+t.scrollTop-70;t.scrollTo({top:Math.max(0,a-8),behavior:"smooth"})}c.current=e.length}},40)},[e]),(0,t.jsxs)("div",{ref:l,className:"flex-1 overflow-y-auto px-4 sm:px-6 py-6 space-y-5 bg-linear-to-b from-gray-50/30 to-white custom-scrollbar",children:[0===e.length?(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center h-full text-center px-4",children:[(0,t.jsx)("div",{className:"w-16 h-16 rounded-2xl bg-linear-to-br from-brand-blue/10 to-blue-100/50 flex items-center justify-center mb-4",children:(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"w-8 h-8 text-brand-blue",children:[(0,t.jsx)("path",{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 00-1.032-.211 50.89 50.89 0 00-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 002.433 3.984L7.28 21.53A.75.75 0 016 21v-4.03a48.527 48.527 0 01-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979z"}),(0,t.jsx)("path",{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 001.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0015.75 7.5z"})]})}),(0,t.jsx)("p",{className:"text-gray-400 text-sm",children:"Start a conversation with Dotworld Assistant"})]}):e.map((i,n)=>{let r=n===e.length-1,l=i.isUser&&r;return(0,t.jsx)("div",{ref:e=>{e&&l&&(o.current=e),e&&r&&(s.current=e)},children:(0,t.jsx)(u,{message:i,onSuggestionClick:a})},n)}),(0,t.jsx)("div",{ref:n}),i&&(0,t.jsx)(d,{})]})}function h({messageCount:e,onClick:i}){return(0,t.jsxs)(a.motion.button,{layoutId:"floating",onClick:i,initial:{opacity:0,scale:.5,y:50},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.5,y:50},transition:{duration:.3,ease:"easeOut"},whileHover:{scale:1.05},whileTap:{scale:.95},"aria-label":"Open chat",className:"relative w-14 h-14 sm:w-16 sm:h-16 rounded-full bg-linear-to-br from-brand-blue to-blue-600 shadow-lg hover:shadow-xl flex items-center justify-center cursor-pointer transition-all group ring-2 ring-white",children:[(0,t.jsx)(o.BsRobot,{className:"w-6 h-6 sm:w-7 sm:h-7 text-white group-hover:scale-110 transition-transform relative z-10"}),[{id:1,top:"10%",left:"15%",size:12,delay:0,color:"text-white"},{id:2,top:"25%",left:"75%",size:10,delay:1.2,color:"text-cyan-200"},{id:3,top:"75%",left:"20%",size:8,delay:2.5,color:"text-white"},{id:4,top:"68%",left:"70%",size:9,delay:3.8,color:"text-cyan-100"},{id:5,top:"45%",left:"8%",size:7,delay:4.8,color:"text-cyan-200"}].map(e=>(0,t.jsx)(a.motion.div,{className:`absolute ${e.color} drop-shadow-[0_0_3px_currentColor] z-0 pointer-events-none`,style:{top:e.top,left:e.left},initial:{opacity:0,scale:.2},animate:{opacity:[0,.7,.7,0],scale:[.2,1,1,.2],y:[0,-5]},transition:{duration:4,repeat:1/0,delay:e.delay,ease:"easeInOut"},children:(0,t.jsx)("svg",{width:e.size,height:e.size,viewBox:"0 0 24 24",fill:"
3currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("circle",{cx:"12",cy:"12",r:"6"})})},e.id)),e>0&&(0,t.jsx)("div",{className:"absolute -top-1 -right-1 w-5 h-5 bg-red-500 rounded-full flex items-center justify-center z-20",children:(0,t.jsx)("span",{className:"text-white text-xs font-bold",children:e})})]})}var m=e.i(503389);function x({isLoading:e,onUploadComplete:i,onUploadError:n}){let l=(0,r.useRef)(null),[o,s]=(0,r.useState)(!1),[c,d]=(0,r.useState)(null),u=async e=>{let t=e.target.files?.[0];if(t){if("application/pdf"!==t.type){n?.("Only PDF files are accepted. Please select a PDF."),l.current&&(l.current.value="");return}d(t),s(!0);try{let e=`resumes/${Date.now()}_${t.name.replace(/\s+/g,"_")}`,a=await m.default.getSignedUrl({key:e,type:t.type});if(!a?.data?.signedurl||!a?.data?.url)throw Error("Failed to get upload URL.");let{signedurl:n,url:r}=a.data,l=await fetch(n,{method:"PUT",headers:{"Content-Type":t.type},body:t});if(!l.ok)throw Error(`Upload failed: ${l.statusText}`);i(r,t.name)}catch(e){console.error("Resume upload error:",e),n?.(e?.message||"Upload failed. Please try again.")}finally{s(!1),d(null),l.current&&(l.current.value="")}}},p=e||o;return(0,t.jsxs)("div",{className:"flex items-center w-full p-1 md:p-2 shadow-sm border border-white/40 rounded-2xl bg-white/40 backdrop-blur-md",children:[(0,t.jsx)("input",{ref:l,type:"file",accept:"application/pdf",className:"hidden",onChange:u,disabled:p}),(0,t.jsxs)("div",{className:"flex items-center flex-1 gap-3 px-2",children:[(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-red-500 shrink-0",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),o?(0,t.jsxs)("span",{className:"text-sm text-gray-500 animate-pulse",children:["Uploading ",c?.name,"…"]}):(0,t.jsx)("span",{className:"text-sm text-gray-400",children:"Click 📎 to upload your resume (PDF only)"})]}),(0,t.jsx)(a.motion.button,{whileTap:{scale:.95},onClick:()=>l.current?.click(),disabled:p,className:"flex items-center justify-center w-10 h-10 rounded-xl  bg-brand-blue hover:bg-blue-500 transition-all  disabled:opacity-40 disabled:cursor-not-allowed  shadow-sm hover:shadow-md cursor-pointer",title:"Upload PDF",children:o?(0,t.jsx)("div",{className:"w-4 h-4 border-2 border-white border-t-transparent rounded-full animate-spin"}):(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 text-white",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15.172 7l-6.586 6.586a2 2 0 102.828 2.828l6.414-6.586a4 4 0 00-5.656-5.656l-6.415 6.585a6 6 0 108.486 8.486L20.5 13"})})})]})}var g=e.i(160478);let f=new g.default,w=null,b=null,y=null,v=0,j=`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,N=e=>{b=e;let t=f.get("Session-Id");return w&&w.close(),(w=new WebSocket(t?`${i.CHATBOT}?sessionId=${t}`:i.CHATBOT)).onopen=()=>{v=0,y&&(clearTimeout(y),y=null)},w.onmessage=e=>{try{let t=JSON.parse(e.data);if("response"===t.type||"chat"===t.type){let e=[{text:t.message||t.response||"I'm here to help!",isUser:!1,links:t.related_links?.map(e=>({title:e.title||e.text,url:e.url,description:e.text}))||t.links,suggestions:t.suggestion_questions||t.suggestions,resume_upload:t.resume_upload}];b?.(e)}}catch(e){console.error("Error parsing WebSocket message:",e),b?.([{text:"Sorry, I encountered an error processing the response.",isUser:!1}])}},w.onclose=async()=>{v<10?(v++,y=setTimeout(()=>{N(b)},3e3)):b?.([{text:"Connection lost. Please refresh the page to reconnect to the chatbot.",isUser:!1}])},w.onerror=e=>{console.error("WebSocket error:",e)},w},k=async e=>new Promise(t=>{try{if(w&&w.readyState===WebSocket.OPEN){let i=b;b=e=>{b=i,t(e)},w.send(JSON.stringify({type:"chat",message:e,sender:j,timestamp:new Date().toISOString()}))}else t([{text:"Sorry, I'm having trouble connecting right now. Please try again later.",isUser:!1}])}catch(e){console.error("Error sending message:",e),t([{text:"Sorry, I encountered an error. Please try again.",isUser:!1}])}}),C=async e=>{try{if(!f.get("Session-Id"))return void console.warn("❗ Cannot save chat — sessionId missing")}catch(e){console.error("❌ Failed to save chat:",e)}try{w&&w.readyState!==WebSocket.CLOSED&&w.close()}catch{}w=null,b=null,v=0};var S=e.i(599473);let I=i.API_URL,_=async function(){return(0,S.default)(`${I}/public/ws/session`)},A=({delay:e})=>
3(0,t.jsx)(a.motion.div,{initial:{scale:1,opacity:0},animate:{scale:[1,1.15],opacity:[.4,0]},transition:{duration:.6,delay:e,ease:"easeOut"},className:"absolute inset-0 rounded-2xl pointer-events-none",style:{zIndex:-1,boxShadow:"0 0 30px 8px rgba(59, 130, 246, 0.3)"}}),R=({isClicked:e})=>(0,t.jsx)("div",{className:"absolute inset-0 pointer-events-none overflow-visible flex items-center justify-center",children:(0,t.jsx)(l.AnimatePresence,{children:e&&(0,t.jsx)(t.Fragment,{children:Array.from({length:3}).map((e,i)=>(0,t.jsx)(A,{delay:.1*i},`glow-${i}`))})})}),V=new g.default;function z(){let[e,i]=(0,r.useState)("collapsed"),[n,o]=(0,r.useState)(!1),[d,u]=(0,r.useState)([]),[m,g]=(0,r.useState)(""),[f,w]=(0,r.useState)(!1),[b,y]=(0,r.useState)(!1),[v,j]=(0,r.useState)(!1),S=(0,r.useRef)(null),I=(0,r.useRef)(null),A=(0,r.useRef)(null),z=(0,r.useRef)(null),M=(0,r.useRef)([]),D="main"===e||"floating"===e,L=[...d].reverse().find(e=>!e.isUser),$=L?.resume_upload==="true",E=["Ask us anything about Dotworld..","Need help with services ?","What technologies do you use?"],[T,U]=(0,r.useState)(0);(0,r.useEffect)(()=>{M.current=d},[d]),(0,r.useEffect)(()=>{let e=()=>{V.get("Session-Id")&&V.remove("Session-Id",{path:"/"})};return window.addEventListener("unload",e),()=>window.removeEventListener("unload",e)},[]),(0,r.useEffect)(()=>{let e=setInterval(()=>{U(e=>(e+1)%E.length)},2e3);return()=>clearInterval(e)},[]);let B=async t=>{let a=t||m.trim();if(a){g(""),u(e=>[...e,{text:a,isUser:!0}]),requestAnimationFrame(()=>{"collapsed"===e&&(i("main"),setTimeout(()=>{if(I.current){let e=I.current.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:e-165,behavior:"smooth"})}},100))}),w(!0),await new Promise(e=>setTimeout(e,1e3));try{let e=await k(a);for(let t=0;t<e.length;t++)t>0&&await new Promise(e=>setTimeout(e,500)),u(i=>[...i,e[t]])}catch(e){console.error("Error processing message:",e),u(e=>[...e,{text:"Sorry, I encountered an error. Please try again.",isUser:!1}])}finally{w(!1)}}},P=async(e,t)=>{u(i=>[...i,{text:t,isUser:!0,fileUrl:e}]),w(!0),await new Promise(e=>setTimeout(e,1e3));try{let t=await k(e);for(let e=0;e<t.length;e++)e>0&&await new Promise(e=>setTimeout(e,500)),u(i=>[...i,t[e]])}catch(e){console.error("Error processing resume upload:",e),u(e=>[...e,{text:"Sorry, I had trouble processing your resume. Please try again.",isUser:!1}])}finally{w(!1)}},W=e=>{u(t=>[...t,{text:e,isUser:!1}])},O=async e=>{"Enter"===e.key&&m.trim()&&!f&&(e.preventDefault(),e.stopPropagation(),await B())},H=async e=>{e&&(e.preventDefault(),e.stopPropagation()),m.trim()&&!f&&await B()},F=async e=>{g(e),setTimeout(()=>{B(e)},100)},G=e=>{e.stopPropagation(),C(d),u([]),i("collapsed")},q=async()=>{"collapsed"===e&&i("floating"),await K()},K=async()=>{if(!V.get("Session-Id")){let e=await _();V.set("Session-Id",e?.data?.sessionId,{path:"/"})}N(e=>{e.forEach((e,t)=>{setTimeout(()=>{u(t=>[...t,e]),w(!1)},500*t)})})},Z=async()=>{y(!0),j(!0),setTimeout(()=>y(!1),300),"collapsed"===e&&d.length>0&&i("main"),await K()};return(0,r.useEffect)(()=>{let t=t=>{j(!1);let a=t.target;if(a&&!("INPUT"===a.tagName||a.closest("input"))&&("main"===e&&A.current&&!A.current.contains(a)||"floating"===e&&z.current&&!z.current.contains(a)))return void i("collapsed")};return document.addEventListener("pointerdown",t),()=>{document.removeEventListener("pointerdown",t)}},[e]),(0,r.useEffect)(()=>{let t=t=>{"Escape"===t.key&&"collapsed"!==e&&i("collapsed")};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e]),(0,r.useEffect)(()=>{let e=()=>{if(S.current){let e=S.current.getBoundingClientRect();o(e.bottom<3*e.height/4)}};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{n&&"main"===e?i("floating"):n||"floating"!==e||i("main")},[n,e]),(0,r.useEffect)(()=>{D&&0===d.length&&u([{text:"**Hello!** I'm the Dotworld chatbot. I can help you learn about our services, technologies, case studies, and more. What would you like to know?",isUser:!1,suggestions:["Tell me about your services","Show me your case studies","What technologies do you use?","Who is on your leadership team?"]}])},[D,d.length]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{ref:I,children:(0,t.jsx)(a.motion.div,{ref:S,initial:{opacity:0,y:20}
3,animate:{opacity:1,y:0},transition:{duration:.6,delay:1.2},className:"flex justify-center mx-auto mb-10",children:(0,t.jsx)(l.AnimatePresence,{mode:"wait",children:"main"!==e?(0,t.jsxs)(a.motion.div,{layoutId:"floating"===e?void 0:"chat-window",initial:{opacity:.5,scale:.96},animate:{opacity:1,scale:b?1.01:1},exit:{opacity:1,scale:.98},transition:{duration:.25,ease:[.22,1,.36,1]},className:`relative w-full overflow-visible ${v?"max-w-xl":"max-w-lg"}`,children:[(0,t.jsx)(R,{isClicked:b}),(0,t.jsx)("div",{className:"relative z-10 rounded-full shadow-sm",children:(0,t.jsx)(s,{inputValue:m,isLoading:f,onInputChange:g,onSendClick:H,onKeyDown:O,onClick:Z,placeholder:E[T],size:"large"})})]},"collapsed-hero"):(0,t.jsxs)(a.motion.div,{layoutId:"chat-window",ref:A,initial:{opacity:0,height:56,scale:.95},animate:{opacity:1,height:500,scale:1},exit:{opacity:0,scale:.95,height:56},transition:{duration:.3,ease:"easeInOut"},className:"relative w-full max-w-2xl lg:max-w-4xl rounded-3xl border border-gray-200 bg-white shadow-xl overflow-hidden flex flex-col",children:[(0,t.jsx)(c,{isLoading:f,onMinimize:e=>{e.stopPropagation(),o(!0),i("floating")},onClose:G,showMinimize:!0}),(0,t.jsx)(p,{messages:d,isLoading:f,onSuggestionClick:F}),(0,t.jsx)("div",{className:"p-3 border-t border-gray-100",children:$?(0,t.jsx)(x,{isLoading:f,onUploadComplete:P,onUploadError:W}):(0,t.jsx)(s,{inputValue:m,isLoading:f,onInputChange:g,onSendClick:H,onKeyDown:O,placeholder:E[T],size:"default"})})]},"expanded-main")})})}),(0,t.jsx)(l.AnimatePresence,{children:n&&(0,t.jsx)("div",{className:"fixed bottom-6 right-6 z-50",children:"collapsed"===e?(0,t.jsx)(h,{messageCount:d.length,onClick:q}):"floating"===e?(0,t.jsx)(a.motion.div,{ref:z,style:{originX:1,originY:1},initial:{opacity:0}
3,animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},className:"w-[90vw] sm:w-96 lg:w-125 h-137.5 rounded-3xl border border-gray-200 bg-white shadow-xl overflow-hidden flex flex-col",children:(0,t.jsxs)("div",{className:"flex flex-col h-full",children:[(0,t.jsx)(c,{isLoading:f,onMinimize:e=>{e.stopPropagation(),i("collapsed")},onMaximize:()=>{i("main"),window.scrollTo({top:10,behavior:"smooth"})},onClose:G,showMinimize:!0,showMaximize:!0}),(0,t.jsx)(p,{messages:d,isLoading:f,onSuggestionClick:F}),(0,t.jsx)("div",{className:"p-3 border-t border-gray-100",children:$?(0,t.jsx)(x,{isLoading:f,onUploadComplete:P,onUploadError:W}):(0,t.jsx)(s,{inputValue:m,isLoading:f,onInputChange:g,onSendClick:H,onKeyDown:O,placeholder:E[T],size:"default"})})]})},"floating-window"):null})})]})}let M=[{label:"AR/VR Solutions",href:"#services"},{label:"Ai Solutions",href:"#services"},{label:"Web Development",href:"#services"},{label:"Game Development",href:"#services"},{label:"Services",title:!0,href:"#services"},{label:"Mobile App Development",href:"#services"},{label:"Smart Kiosk Systems",href:"#services"},{label:"IOT",href:"#services"},{label:"Automation",href:"#services"},{label:"AR/VR Solutions",href:"#services"},{label:"Ai Solutions",href:"#services"},{label:"Web Development",href:"#services"},{label:"Game Development",href:"#services"},{label:"Services",title:!0,href:"#services"},{label:"Mobile App Development",href:"#services"},{label:"Smart Kiosk Systems",href:"#services"},{label:"IOT",href:"#services"},{label:"Automation",href:"#services"}],D=[{label:"DotEd - AR Learning",href:"/products/doted"},{label:"quickPATH - Wayfinding Solution",href:"https://quickpath.dotworld.in/"},{label:"dotHive - Device Management",href:"https://dothive.app/"},{label:"Products",title:!0,href:"#products"},{label:"dotAR - AR/VR Solutions",href:"https://dotar.dotworld.in/"},{label:"AI MoM - AI Meetings",href:"https://ai-mom.dotworld.tech/"},{label:"dotViz - Property Solutions",href:"#products"},{label:"DTS - Task Management",href:"https://dts.dotworld.tech/"},{label:"DotEd - AR Learning",href:"/products/doted"},{label:"quickPATH - Wayfinding Solution",href:"https://quickpath.dotworld.in/"},{label:"dotHive - Device Management",href:"https://dothive.app/"},{label:"Products",title:!0,href:"#products"},{label:"dotAR - AR/VR Solutions",href:"https://dotar.dotworld.in/"},{label:"AI MoM - AI Meetings",href:"https://ai-mom.dotworld.tech/"},{label:"dotViz - Property Solutions",href:"#products"},{label:"DTS - Task Management",href:"https://dts.dotworld.tech/"}],L=[{label:"Hospital",href:"/sectors/hospital"},{label:"Defence",href:"#industries"},{label:"Sectors",title:!0,href:"#industries"},{label:"Shopping Mall",href:"#industries"},{label:"Smart Spaces",href:"#industries"},{label:"Manufacturing",href:"#industries"},{label:"Education",href:"#industries"},{label:"Hospital",href:"/sectors/hospital"},{label:"Defence",href:"#industries"},{label:"Sectors",title:!0,href:"#industries"},{label:"Shopping Mall",href:"#industries"},{label:"Smart Spaces",href:"#industries"},{label:"Manufacturing",href:"#industries"},{label:"Education",href:"#industries"}],$=[{label:"Brands",title:!0,href:"#brands"},{label:"Cizeron Kiosk",href:"#brands"},{label:"Dot Games",href:"#brands"},{label:"Dot Studios",href:"#brands"},{label:"Partner with",title:!0,href:"#partners"},{label:"Goat Robotics",href:"#partners"},{label:"Retro Robotics",href:"#partners"},{label:"Katomaran",href:"#partners"},{label:"Brands",title:!0,href:"#brands"},{label:"Cizeron Kiosk",href:"#brands"},{label:"Dot Games",href:"#brands"},{label:"Dot Studios",href:"#brands"},{label:"Partner with",title:!0,href:"#partners"},{label:"Goat Robotics",href:"#partners"},{label:"Retro Robotics",href:"#partners"},{label:"Katomaran",href:"#partners"}],E=[{label:"India",href:"#countries"},{label:"USA",href:"#countries"},{label:"Dubai",href:"#countries"},{label:"Singapore",href:"#countries"},{label:"Countries",title:!0,href:"#countries"},{label:"Malaysia",href:"#countries"},{label:"Saudi Arabia",href:"#countries"},{label:"Australia",href:"#countries"},{label:"Italy",href:"#countries"},{label:"France",href:"#countries"}];function T({children:e,title:i,className:n="",onClick:r}){let l=`px-4 py-2 h-9 rounded-lg text-sm font-medium inline-flex items-center justify-center
4    bg-brand-blue/12 w-60 text-neutral-900 relative overflow-hidden isolation-auto relative z-50`,o=`hover:bg-brand-blue hover:text-white  
5   hover:shadow-[0_0_3px_3px_rgba(142,197,255,0.5)]
6  cursor-pointer transition-colors my-1 duration-300`;return i?(0,t.jsx)(a.motion.span,{initial:{opacity:0,scale:.9}
6,animate:{opacity:1,scale:1},transition:{duration:.3},className:`${l} font-semibold !shadow-none !w-auto !bg-transparent !text-brand-docs ${n} ${r?"cursor-pointer":""}`,onClick:r,children:e}):(0,t.jsxs)(a.motion.span,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2},className:`${l} ${o} ${n} chip-border-container group`,onClick:r,style:{isolation:"isolate"},children:[(0,t.jsx)("span",{className:"relative z-20",children:e}),(0,t.jsx)("span",{className:"absolute inset-0 rounded-lg overflow-hidden pointer-events-none",children:(0,t.jsx)("span",{className:"absolute inset-0 -translate-x-[150%] bg-linear-to-r from-transparent via-white/40 to-transparent skew-x-12 transition-transform duration-[1400ms] ease-out group-hover:translate-x-[150%]"})}),(0,t.jsx)("span",{className:"absolute inset-0 rounded-lg overflow-hidden opacity-0 group-hover:opacity-100 transition-opacity duration-500 delay-[1200ms] pointer-events-none",children:(0,t.jsx)("span",{className:"absolute inset-0 -translate-x-[200%] bg-linear-to-r from-transparent via-white/25 to-transparent -skew-x-6 group-hover:translate-x-[200%] transition-transform duration-[1800ms] ease-out"})}),(0,t.jsx)("span",{className:"absolute inset-0 rounded-lg bg-brand-blue/20 opacity-0 group-hover:opacity-100 transition-opacity duration-300 blur-sm pointer-events-none -z-10"})]})}var U=e.i(287022),B=e.i(737806),P=e.i(344230),W=e.i(947414),O=e.i(674008),H=e.i(486427);function F(e){let t=(0,W.useConstant)(()=>(0,H.motionValue)(e)),{isStatic:i}=(0,r.useContext)(B.MotionConfigContext);if(i){let[,i]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",i),[])}return t}function G(e,t){let i=F(t()),a=()=>i.set(t());return a(),(0,O.useIsomorphicLayoutEffect)(()=>{let t=()=>U.frame.preRender(a,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),(0,U.cancelFrame)(a)}}),i}function q(e,t,i,a){if("function"==typeof e){let t;return H.collectMotionValues.current=[],e(),t=G(H.collectMotionValues.current,e),H.collectMotionValues.current=void 0,t}if(void 0!==i&&!Array.isArray(i)&&"function"!=typeof t){var n=e,r=t,l=i,o=a;let s=(0,W.useConstant)(()=>Object.keys(l)),c=(0,W.useConstant)(()=>({}));for(let e of s)c[e]=q(n,r,l[e],o);return c}let s="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),i=t?0:-1,a=e[0+i],n=e[1+i],r=e[2+i],l=e[3+i],o=(0,P.interpolate)(n,r,l);return t?o(a):o}(t,i,a),c=Array.isArray(e)?K(e,s):K([e],([e])=>s(e)),d=Array.isArray(e)?void 0:e.accelerate;return d&&!d.isTransformed&&"function"!=typeof t&&Array.isArray(i)&&a?.clamp!==!1&&(c.accelerate={...d,times:t,keyframes:i,isTransformed:!0,...a?.ease?{ease:a.ease}:{}}),c}function K(e,t){let i=(0,W.useConstant)(()=>[]);return G(e,()=>{i.length=0;let a=e.length;for(let t=0;t<a;t++)i[t]=e[t].get();return t(i)})}var Z=e.i(83352),X=e.i(83411);function J(e){return"number"==typeof e?e:parseFloat(e)}var Y=e.i(618566),Q=e.i(387644);let ee=(e,t,i)=>e+(t-e)*i;function et({id:e,items:i,baseVelocity:n=.005,dragState:l,paused:o=!1}){let s=(0,Y.useRouter)(),c=F(0),d=function(e,t={}){return function(e,t={}){let{isStatic:i}=(0,r.useContext)(B.MotionConfigContext),a=()=>(0,X.isMotionValue)(e)?e.get():e;if(i)return q(a);let n=F(a());return(0,r.useInsertionEffect)(()=>(function(e,t,i={}){let a,n=e.get(),r=null,l=n,o="string"==typeof n?n.replace(/[\d.-]/g,""):void 0,s=()=>{r&&(r.stop(),r=null),e.animation=void 0},c=()=>{(()=>{let t=J(e.get()),n=J(l);if(t===n)return s();let o=r?r.getGeneratorVelocity():e.getVelocity();s(),r=new Z.JSAnimation({keyframes:[t,n],velocity:o,type:"spring",restDelta:.001,restSpeed:.01,...i,onUpdate:a})})(),e.animation=r??void 0,e.events.animationStart?.notify(),r?.then(()=>{e.animation=void 0,e.events.animationComplete?.notify()})};if(e.attach((e,t)=>{l=e,a=e=>{var i,a;return t((i=e,(a=o)?i+a:i))},U.frame.postRender(c)},s),(0,X.isMotionValue)(t)){let a=!0===i.skipInitialAnimation,n=t.on("change",t=>{var i,n,r,l;a?(a=!1,e.jump((i=t,(n=o)?i+n:i),!1)):e.set((r=t,(l=o)?r+l:r))}),r=e.on("destroy",n);return()=>{n(),r()}}return s})(n,e,t),[n,JSON.stringify(t)]),n}(e,{type:"spring",...t})}(c,{stiffness:160,damping:22,mass:.4}),u=[...i,...i,...i,...i],p=(0,r.useRef)(0),h=(0,r.useRef)(n),m=(0,r.useRef)(0);!function(e){let t=(0,r.useRef)(0),{isStatic:i}=(0,r.useContext)(B.MotionConfigContext);(0,r.useEffect)(()=>
6{if(i)return;let a=({timestamp:i,delta:a})=>{t.current||(t.current=i),e(i-t.current,a)};return U.frame.update(a,!0),()=>(0,U.cancelFrame)(a)},[e])}((t,i)=>{let a=l.current;if(!a)return;let r=a.globalDragX-p.current;p.current=a.globalDragX;let s=a.isDragging,d=i/(1e3/60);s||o?(h.current=ee(h.current,0,.15),s&&a.activeRowId!==e&&c.set(c.get()-.003*r),m.current=0):Math.abs(m.current)>.001?(c.set(c.get()+m.current*d),m.current*=Math.pow(.92,d)):(h.current=ee(h.current,n,.05),c.set(c.get()+h.current*(i/1e3)*60))});let x=q(d,e=>`${((e- -25)%25+25)%25+-25}%`);return(0,t.jsxs)(a.motion.div,{className:"relative w-full overflow-hidden  active:cursor-grabbing",onPanStart:()=>{l.current.isDragging=!0,l.current.activeRowId=e,p.current=l.current.globalDragX,m.current=0},onPan:(e,t)=>{let i=.003*t.delta.x;l.current.globalDragX+=t.delta.x,c.set(c.get()+i),m.current=ee(m.current,i,.35)},onPanEnd:()=>{l.current.isDragging=!1,l.current.activeRowId=null},style:{touchAction:"pan-y"},children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-8 sm:w-16 bg-linear-to-r from-white to-transparent z-10"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 w-8 sm:w-16 bg-linear-to-l from-white to-transparent z-10"}),(0,t.jsx)(a.motion.div,{className:"flex w-max items-center gap-3 sm:gap-4 whitespace-nowrap select-none",style:{x},children:u.map((i,a)=>{let n=`${e}-${a}-${"string"==typeof i?i:i.label}`,r="object"==typeof i;return(0,t.jsx)(T,{title:r&&i.title,className:"h-8 px-3 text-[13px] sm:h-9 sm:px-4 sm:text-sm shrink-0 pointer-events-auto select-none",onClick:()=>{r&&i.href&&(t=>{if(l.current.isDragging)return;(0,Q.sendGAEvent)("event",`Marquee Item Click - ${t.label}`,{item_label:t.label,url:t.href||"",row_id:e});let i=t.href;if(i)if(i.startsWith("http"))window.open(i,"_blank","noopener,noreferrer");else if(i.startsWith("#")){let e=document.querySelector(i);e&&e.scrollIntoView({behavior:"smooth"})}else s.push(i)})(i)},children:r?i.label:i},n)})})]})}let ei=!1;e.s(["default",0,function(){let[e,l]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=setTimeout(()=>{ei=!0},500);return()=>clearTimeout(e)},[]);let o=(0,r.useRef)({isDragging:!1,activeRowId:null,globalDragX:0}),s={animate:{y:[0,-15,0],rotate:[0,2,-2,0],transition:{duration:5,repeat:1/0,ease:"easeInOut"}}};return(0,t.jsxs)("section",{className:"relative w-full overflow-hidden bg-white",id:"home",children:[(0,t.jsx)("div",{className:"container mx-auto px-4 py-6"}),(0,t.jsxs)("div",{className:`px-4 sm:px-6 pt-12 pb-6 sm:pb-8 text-center ${n.default.container} `,children:[(0,t.jsxs)(a.motion.h1,{initial:ei?{opacity:1,y:0}:{opacity:0,y:50},animate:{opacity:1,y:0},transition:{duration:.8,delay:.2},className:"font-semibold tracking-tight leading-[1.15] text-[clamp(28px,7vw,74.67px)] mb-4 text-shadow-header",children:[(0,t.jsxs)(a.motion.span,{initial:ei?{opacity:1,x:0}:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.4},className:"text-shadow-lg",children:["Shaping your"," "]}),(0,t.jsx)(a.motion.span,{initial:ei?{opacity:1,scale:1}:{opacity:0,scale:.8},animate:{opacity:1,scale:1},transition:{duration:.8,delay:.6},className:"text-brand-blue",children:"Dreams"}),(0,t.jsx)("br",{className:"hidden sm:block"}),(0,t.jsxs)(a.motion.span,{initial:ei?{opacity:1,x:0}:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.8,delay:.8},className:"sm:ml-2",children:[" ","With Our Technology"]})]}),(0,t.jsx)(z,{}),(0,t.jsx)(a.motion.p,{initial:ei?{opacity:1,y:0}:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:1},className:"mt-4 sm:mt-5 text-[13px] sm:text-[15px] text-brand-docs",children:"Check out our quick links to services, products, brands, and industries."})]}),(0,t.jsxs)(a.motion.div,{initial:ei?{opacity:1}:{opacity:0},animate:{opacity:1},transition:{duration:.8,delay:1.2},className:`relative space-y-3 pb-6 sm:pb-8 ${n.default.container}`,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:[(0,t.jsx)(et,{id:"row-1",items:M,baseVelocity:-.005,dragState:o,paused:e}),(0,t.jsx)(et,{id:"row-2",items:D,baseVelocity:.005,dragState:o,paused:e}),(0,t.jsx)(et,{id:"row-3",items:L,baseVelocity:-.005,dragState:o,paused:e}),(0,t.jsx)(et,{id:"row-4",items:$,baseVelocity:.005,dragState:o,paused:e}),(0,t.jsx)(et,{id:"row-5",items:E,baseVelocity:-.005,dragState:o,paused:e})]}),(0,t.jsx)(a.motion.div,{variants:{hidden:{opacity:0,x:"40vw",y:"30vh",scale:1.8,filter:"blur(20px)"},visible:{opacity:1,x:0,y:0,scale:1,filter:"blur(0px)",transition:{type:"spring",stiffness:50,damping:20,mass:1.5,delay:.2}}}
6,initial:ei?"visible":"hidden",whileInView:"visible",viewport:{once:!0},className:"hidden md:block absolute top-35 -left-15 w-40 h-40 pointer-events-none",children:(0,t.jsxs)(a.motion.div,{variants:s,animate:"animate",className:"relative w-full h-full",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-blue-500/30 blur-[30px] rounded-full scale-110"}),(0,t.jsx)("img",{src:`${i.CDN_URL}global/sphere.webp`,alt:"Sphere",title:"Sphere",className:"w-full h-full object-contain relative z-10",onError:e=>e.target.style.display="none"})]})}),(0,t.jsx)(a.motion.div,{variants:{hidden:{opacity:0,x:"-40vw",y:"-30vh",scale:1.8,filter:"blur(20px)"},visible:{opacity:1,x:0,y:0,scale:1,filter:"blur(0px)",transition:{type:"spring",stiffness:50,damping:20,mass:1.5,delay:.2}}},initial:ei?"visible":"hidden",whileInView:"visible",viewport:{once:!0},className:"hidden md:block absolute bottom-20 -right-15 w-45 h-45 pointer-events-none z-10",children:(0,t.jsxs)(a.motion.div,{variants:s,animate:"animate",className:"relative w-full h-full",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-cyan-100/40 blur-[50px] rounded-full scale-125"}),(0,t.jsx)("img",{src:`${i.CDN_URL}global/globe.webp`,alt:"Globe",title:"Globe",className:"w-full h-full object-contain relative z-10",onError:e=>e.target.style.display="none"})]})})]})}],548044)},289292,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(846932),n=e.i(387644),r=e.i(273995),l=e.i(618566),o=e.i(522016),s=e.i(191175);let c=({img:e,title:i,text:n,id:r,onNavigate:l})=>(0,t.jsxs)(a.motion.div,{initial:{opacity:0}
6,whileInView:{opacity:1},viewport:{once:!0,amount:.2},transition:{duration:.8},whileHover:{y:-8,scale:1.02},id:r,onClick:()=>{l(r)},className:"group relative p-8 rounded-[20px] flex flex-col items-start gap-6 h-full cursor-pointer transition-all duration-300 ease-out hover:scale-[1.015] bg-linear-to-b from-white/60 to-white/60 backdrop-blur-3 border border-[rgba(34,161,215,0.55)] shadow-[0_8px_32px_rgba(39,170,225,0.15)] hover:shadow-[0_12px_40px_rgba(39,170,225,0.25)] hover:from-white/70 hover:to-white/70",children:[(0,t.jsx)(a.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.1},className:"w-24 h-24 flex items-center justify-center",children:e&&(0,t.jsx)("img",{src:e,alt:i,className:"w-full h-full object-contain transition-transform duration-300 ease-out group-hover:scale-[1.06]",loading:"eager",fetchPriority:"high",decoding:"async",title:i})}),(0,t.jsxs)(a.motion.div,{initial:{opacity:0,x:-10},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.15},className:"flex flex-col gap-2 transition-transform duration-300 ease-out group-hover:translate-x-1",children:[(0,t.jsx)("h3",{className:"text-xl font-semibold text-[#101828] text-left",children:i}),(0,t.jsx)("p",{className:"text-sm text-[#475467] leading-5 text-left",children:n})]}),(0,t.jsx)(o.default,{href:`/services?category=${r}`,className:"mt-auto inline-block",onClick:e=>e.stopPropagation(),title:String(`/services?category=${r}`)||"Link",children:(0,t.jsx)(a.motion.span,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.2},whileHover:{scale:1.05},whileTap:{scale:.95},className:"inline-block px-5 py-2.5 bg-brand-blue cursor-pointer text-white text-sm font-semibold rounded-lg transition-all duration-300 ease-out hover:bg-[#1894c3] hover:shadow-lg group-hover:translate-x-1",children:"Have a Look →"})})]});e.s(["default",0,()=>{let e=(0,l.useRouter)(),o=s.services.filter(e=>"topRow"===e.row),d=s.services.filter(e=>"bottomRow"===e.row),u=t=>{(0,n.sendGAEvent)("event","Service Card Click",{service_id:t}),e.push(`/services?category=${t}`)};return(0,t.jsx)(a.motion.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.5},className:"w-full )] bg-cover bg-center scroll-mt-20 bg-no-repeat overflow-hidden pt-10 pb-24",style:{backgroundImage:`url(${i.CDN_URL}global/bg.webp)`},id:"services",children:(0,t.jsxs)("div",{className:"px-4 sm:px-6 text-center mx-auto max-w-7xl",children:[(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4,delay:.1},children:(0,t.jsx)(r.default,{title:"Services we offer",description:"Explore Intelligent systems from mobile apps to AR/VR and automation, that engage your customer and make your business smarter and faster."})}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.5,delay:.2},className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-8",children:o.map((e,i)=>(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4,delay:.05*i},children:(0,t.jsx)(c,{img:e.img,title:e.title,text:e.text,id:e.id,onNavigate:u})},i))}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.5,delay:.3},className:"mt-8 grid sm:grid-cols-2 lg:grid-cols-4 gap-8 auto-rows-fr",children:d.map((e,i)=>(0,t.jsx)(a.motion.div,{className:"h-full",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4,delay:.05*i},children:(0,t.jsx)(c,{img:e.img,title:e.title,text:e.text,id:e.id,onNavigate:u})},`b-${i}`))})]})})}])},157292,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(522016),n=e.i(846932),r=e.i(387644),l=e.i(273995),o=e.i(43067);let s=({lines:e=[]})=>{let i=e.map(e=>Array.isArray(e)?e:[e]);if(0===i.length&&(i=[[{text:"",weight:400}]]),1===i.length&&i.push([{text:"",weight:400}]),i.length>2){let e=i.slice(2).flat();if(e.length){let t=e.map(e=>e.text).join(" ");i[1]=[...i[1],{text:t,weight:i[1][0]?.weight??400}]}i=i.slice(0,2)}return(0,t.jsx)("div",{className:"w-full text-center flex flex-col items-center px-1.5",children:i.map((e,i)=>(0,t.jsx)("div",{className:"wrap-break-word text-center",children:e.map((e,i)=>{let a;return(0,t.jsx)("span",{className:[(a=e.weight||400)>=700?"font-bold":a>=600?"font-semibold":"font-normal","text-xs sm:text-[13px] md:text-lg leading-5 md:leading-5 text-[#1C1B1F]"].join(" "),children:e.text},i)})},i))})},c=({img:e,title:i,lines:l,logoStyle:o={},url:c})=>{let d=c?.startsWith("http"),u=c?a.default:"div";return(0,t.jsx)(u,{href:c||"#",target:d?"_blank":void 0,rel:d?"noopener noreferrer":void 0,onClick:()=>{(0,r.sendGAEvent)("event",`Product Card Click - ${i}`,{product_name:i,url:c||""})},className:"block w-full text-inherit no-underline",children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4},whileHover:{y:-5,scale:1.02},className:["group rounded-xl bg-[linear-gradient(0deg,rgba(39,170,225,0.12),rgba(39,170,225,0.12))] shadow-[0_1px_1px_rgba(132,134,139,0.10)] border border-[#
6E8E8E6] p-3 sm:p-3.5 w-full transition-transform duration-300 ease-out hover:scale-[1.015]",c?"cursor-pointer":"cursor-default"].join(" "),children:(0,t.jsxs)("div",{className:"w-full relative bg-white rounded-lg shadow-[0_0_1px_rgba(86,104,118,0.10)] overflow-hidden flex flex-col items-center justify-between p-4 sm:p-5 gap-8 md:gap-8 min-h-80 transition-all duration-300 ease-out border border-transparent group-hover:shadow-[0_8px_24px_rgba(16,24,40,0.10)] group-hover:border-[#C6E6FF]",children:[(0,t.jsx)("div",{className:"relative flex items-center justify-center w-full h-40 sm:h-44 md:h-52",children:e&&(0,t.jsx)(n.motion.img,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.1},src:e,alt:i,title:i,className:"object-contain max-h-full transition-transform duration-300 ease-out group-hover:scale-[1.06]",style:{maxWidth:o.maxWidth||"240px",maxHeight:o.maxHeight||"144px",...o},loading:"eager",fetchPriority:"high",decoding:"async"})}),(0,t.jsxs)("div",{className:"flex flex-col items-center text-center gap-3 sm:gap-4 h-28",children:[(0,t.jsx)(n.motion.h3,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.15},className:"text-lg sm:text-xl font-extrabold tracking-[0.4px] text-black wrap-break-word",children:i}),(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:10},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.3,delay:.2},children:(0,t.jsx)(s,{lines:l})})]})]})})})};e.s(["Description",0,s,"default",0,()=>{let e=o.products.length-1,a=o.products.length%2==1,r=o.products.length%3==1;return(0,t.jsx)(n.motion.section,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.5},className:"overflow-visible flex scroll-mt-20 flex-col items-center py-12 sm:py-16 lg:py-24",id:"products",children:(0,t.jsxs)("div",{className:"relative w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)(n.motion.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.1},transition:{duration:.5,delay:.1},className:"hidden md:block absolute left-0 lg:-left-12.5 top-24 lg:top-16 w-35 lg:w-55 aspect-square z-0",children:(0,t.jsx)("img",{src:`${i.CDN_URL}global/sphere.webp`,alt:"Sphere",title:"Sphere",className:"w-full h-full object-contain"})}),(0,t.jsx)(n.motion.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0,amount:.1},transition:{duration:.5,delay:.15},className:"hidden md:block absolute right-0 lg:-right-12.5 -bottom-10 lg:-bottom-25 w-35 lg:w-55 aspect-square z-0",children:(0,t.jsx)("img",{src:`${i.CDN_URL}global/globe.webp`,alt:"Globe",title:"Globe",className:"w-full h-full object-contain",loading:"eager",fetchPriority:"high",decoding:"async"})}),(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:15},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4,delay:.2},children:(0,t.jsx)(l.default,{title:"Our Products",description:" Discover our cutting-edge product portfolio designed to transform industries and empower businesses with intelligent technology solutions."})}),(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:.98},whileInView:{opacity:1,scale:1},viewport:{once:!0,amount:.1},transition:{duration:.5,delay:.3},className:"relative mx-auto w-full max-w-298.25 rounded-3xl border border-[rgba(34,161,215,0.55)] bg-white/60 backdrop-blur-md shadow-[0_8px_32px_rgba(39,170,225,0.15)] p-4 sm:p-6 lg:p-10",children:(0,t.jsx)("div",{className:"relative z-10 grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-5 sm:gap-6 md:gap-x-10 md:gap-y-12",children:o.products.map((i,l)=>(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.1},transition:{duration:.4,delay:.05*l},className:[l===e&&a?"sm:col-span-2 sm:w-[calc(50%-12px)] sm:justify-self-center":"",l===e&&r?"xl:col-span-1 xl:col-start-2 xl:w-full":""].join(" "),children:(0,t.jsx)(c,{...i})},l))})})]})})}])},96504,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(271645),n=e.i(522016),r=e.i(846932),l=e.i(387644),o=e.i(273995),s=e.i(587271);let c=({title:e,tagline:i,logo:a,logoAlt:o="",art:s,artAlt:c="",className:d="",artClass:u="",url:p})=>{let h=p?.startsWith("http"),m=p?n.default:"div";return(0,t.jsx)(m,{href:p||"#",target:h?"_blank":void 0,rel:h?"noopener noreferrer":void 0,onClick:()=>{(0,l.sendGAEvent)("event",`Brand Click - ${e||o||""}`,{brand_name:e||o||"",url:p||""})},className:"block w-full text-inherit no-underline",children:(0,t.jsxs)(r.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,ease:"easeOut"},whileHover:{y:-8,transition:{duration:.3}},"data-testid":"brand-card",className:"relative h-90 md:h-95 rounded-2xl overflow-hidden shadow-sm cursor-pointer outline-1 outline-[#E8E8E6] bg-[#e3f1f9] "+d,children:[(0,t.jsxs)("div",{className:"relative z-10 px-6 pt-6 pb-20 flex flex-col items-center gap-3",children:[a?(0,t.jsx)(r.motion.img,{initial:{opacity:0,scale:.8},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.5,delay:.2},src:a,alt:o||e||"Brand logo",title:o||e||"Brand logo",className:`h-10 md:h-12 object-contain ${"Arivon"===e&&"w-40 md:w-52"}`,draggable:"false"}):e&&(0,t.jsx)(r.motion.h3,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.2},className:"text-xl font-semibold text-black text-center",children:e}),i&&(0,t.jsx)(r.motion.p,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.3},className:"text-sm md:text-[15px] text-black/80 text-center leading-relaxed max-w-70 font-medium",children:i})]}),s&&(0,t.jsx)(r.motion.img,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},src:s,alt:c||e||"Brand graphic",title:c||e||"Brand graphic",className:`${"Dot Games"===e&&"-mb-3"} ${"Arivon"===e&&"-mb-8 scale-110!"} pointer-events-none select-none absolute bottom-0 left-1/2 -translate-x-1/2 h-52.5 md:h-60 w-auto object-contain `+u,draggable:"false",loading:"eager",fetchPriority:"high",decoding:"async"})]})})};e.s(["default",0,()=>((0,a.useEffect)(()=>{let e=document.querySelectorAll('[data-testid="brand-card"]').length;console.assert(e===s.brands.length,`BrandsSection: expected ${s.brands.length} BrandCard components, found ${e}`)},[]),(0,t.jsx)(r.motion.section,{initial:{opacity:0}
6,whileInView:{opacity:1},viewport:{once:!0,amount:.2},transition:{duration:.8},className:"w-full )] scroll-mt-20 bg-cover bg-center bg-no-repeat overflow-hidden py-24",style:{backgroundImage:`url(${i.CDN_URL}global/bg.webp)`},id:"brands",children:(0,t.jsxs)("div",{className:"max-w-5xl mx-auto px-6 lg:px-4",children:[(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:(0,t.jsx)(o.default,{title:"Brands",description:"Our portfolio of brands ensures we can meet every challenge with the right solution, tailored to your needs."})}),(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.8,delay:.4},className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-3 mb-6",children:s.brands.slice(0,3).map((e,i)=>(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1*i},children:(0,t.jsx)(c,{...e})},i))}),(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.8,delay:.6},className:"grid gap-6 sm:grid-cols-2 lg:grid-cols-2 lg:max-w-2xl lg:mx-auto",children:s.brands.slice(3).map((e,i)=>(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1*i},children:(0,t.jsx)(c,{...e})},i+3))})]})}))])},612590,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(522016),n=e.i(846932),r=e.i(273995),l=e.i(387644);let o=()=>(0,t.jsx)(n.motion.section,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.6,ease:"easeOut"},className:"w-full )] bg-cover bg-center bg-no-repeat scroll-mt-20 overflow-hidden py-24",style:{backgroundImage:`url(${i.CDN_URL}global/bg.webp)`},id:"about",children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:(0,t.jsx)(r.default,{title:"About Us",description:"We are a creative team of tech enthusiasts, who intend to forge our dreams into reality using the tools of technology. Our technical expertise combined with our customer-oriented mindset means that our growing list of clients will attest to a prospective and satisfying experience with us."})}),(0,t.jsx)("div",{className:"flex justify-center mt-8 sm:mt-10 lg:mt-12",children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8,delay:.4},whileHover:{scale:1.02},className:"relative w-full max-w-209.75 rounded-[18px] border border-[rgba(34,161,215,0.55)] bg-[rgba(223,240,248,0.12)] backdrop-blur-md sm:backdrop-blur-6.25 shadow-[0_8px_32px_0_rgba(39,170,225,0.15)] overflow-hidden",style:{aspectRatio:"839 / 537"},children:(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,t.jsx)(n.motion.img,{initial:{opacity:0}
6,whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.6,delay:.6},src:`${i.CDN_URL}aboutus/group.webp`,alt:"Team",className:"w-[92%] h-[85%] object-cover rounded-md",title:"Team"})})})}),(0,t.jsx)("div",{className:"flex justify-center mt-8",children:(0,t.jsx)(a.default,{href:"/aboutus",title:"Aboutus",children:(0,t.jsx)(n.motion.div,{whileHover:{scale:1.05},whileTap:{scale:.95},onClick:()=>{(0,l.sendGAEvent)("event","Learn More About Us Button",{button_name:"Learn More About Us",location:"About Section"})},className:"inline-block bg-linear-to-r px-8 py-3 rounded-lg font-semibold shadow-lg transition-all duration-300 hover:cursor-pointer text-black! no-underline",children:"Learn More About Us"})})})]})});e.s(["AboutSection",0,o,"default",0,o])},27476,e=>{"use strict";var t=e.i(843476),i=e.i(16478),a=e.i(846932),n=e.i(387644);let r=()=>(0,t.jsx)(a.motion.section,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.3},transition:{duration:.8},className:"w-full",id:"cta",children:(0,t.jsx)("div",{className:"mx-auto max-w-300 px-6 py-24",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,scale:.9},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{duration:.8,delay:.2},className:"relative w-full rounded-[20px] overflow-hidden shadow-[0_10px_22px_-3.5px_rgba(0,0,0,0.08)] border border-[#CCC] bg-[linear-gradient(149deg,#D9E8FF_0%,#BCD8FF_100%)]",children:[(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 [background:radial-gradient(ellipse_46%_50%_at_50%_50%,rgba(0,0,0,.15),transparent_70%)]"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 [background-image:radial-gradient(rgba(0,0,0,0.06)_1px,transparent_1px)] [background-size:16px_16px]"}),(0,t.jsxs)("div",{className:"relative z-[1] mx-auto max-w-175 py-16 text-center space-y-4 )] bg-cover bg-center bg-no-repeat overflow-hidden",style:{backgroundImage:`url(${i.CDN_URL}global/BGpattern.webp)`},children:[(0,t.jsx)(a.motion.h3,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.4},className:"text-[clamp(24px,4vw,47.81px)] leading-[clamp(32px,6vw,57.6px)] font-semibold text-black",children:"Let's Connect to Understand Your Needs Better"}),(0,t.jsx)(a.motion.p,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.5},className:"mx-auto text-sm md:text-lg text-[#333]",children:"From bold ideas to breakthrough solutions, we partner with you to design, build, and launch innovations that drive real results. Your journey to success starts with a single conversation."}),(0,t.jsx)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.6},className:"pt-4",children:(0,t.jsx)(a.motion.button,{whileHover:{scale:1.05},whileTap:{scale:.95},transition:{duration:.2},onClick:e=>{(0,n.sendGAEvent)("event","Schedule a Call Button",{button_name:"Schedule a Call",location:"CTA Section"}),!e.target.closest("a")&&(window.location.href=`tel:${"+919025300550".replace(/\s+/g,"")}`)},className:"group cursor-pointer inline-flex items-center gap-3 rounded-xl bg-black px-6 py-4 text-lg font-medium text-white transition-all duration-300 hover:bg-black/90",children:(0,t.jsxs)("span",{className:"font-semibold flex items-center",children:[(0,t.jsx)("svg",{className:"w-4 h-4 mr-2 ",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z"})}),"Schedule a call"]})})})]})]})})});e.s(["CtaSection",0,r,"default",0,r])},716686,e=>{"use strict";var t=e.i(843476),i=e.i(846932),a=e.i(522016),n=e.i(387644),r=e.i(273995),l=e.i(312397);e.s(["default",0,({blogs:e=[]})=>(0,t.jsx)(i.motion.section,{initial:{opacity:0,y:50},whileInView:{opacity:1,y:0},viewport:{once:!0,amount:.2},transition:{duration:.8},className:"w-full scroll-mt-24 py-16",id:"blog",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6",children:[(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.2},children:(0,t.jsx)(r.default,{title:"Latest Insights",description:"Stay up to date with our latest articles, industry trends, and technology insights from the Dotworld team."})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:e.map((e,a)=>(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.12*a},children:(0,t.jsx)(l.BlogCard,{blog:e})},e.id))}),e.length>0&&(0,t.jsx)(i.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.5,delay:.4},className:"flex justify-center mt-12",children:(0,t.jsx)(a.default,{href:"/blog",onClick:()=>{(0,n.sendGAEvent)("event","View All Articles Button",{button_name:"View All Articles",location:"Blog Section"})},className:"bg-linear-to-r text-black px-8 py-3 rounded-lg font-semibold shadow-lg transition-all duration-300 hover:cursor-pointer inline-block",title:"Blog",children:"View All Articles"})})]})})])}]);

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.