PageSourceSearch

https://www.seaflux.tech/_next/static/chunks/522-a67ac218127790c0.js

js seaflux.tech collected 2026-10-04 08:36:48 UTC 15,529 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[522],{522:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,33063,23)),Promise.resolve().then(a.bind(a,8925))},8925:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>A});var n=a(95155),s=a(66695),r=a(44838),i=a(59434),l=a(18651);let o=e=>({id:e.id,title:e.title,heading:e.heading,slug:e.slug,shortDesc:e.shortDesc,services:e.services,image:e.image,imageAlt:e.imageAlt,createdAt:e.createdAt,updatedAt:e.updatedAt,userDetail:e.userDetail,body:""});var c=a(56818),d=a(60760),u=a(14407),m=a(66474),b=a(54416),g=a(66766),p=a(6874),x=a.n(p),h=a(12115),f=a(28883),v=a(55594),w=a(20333),_=a.n(w),y=a(76233);let j=v.z.object({email:v.z.string().trim().min(1,"Email is required").email("Enter a valid work email").max(70,"Email cannot exceed 70 characters")});function N(){let[e,t]=(0,h.useState)(""),[a,s]=(0,h.useState)("idle"),[r,i]=(0,h.useState)(""),o=async a=>{a.preventDefault();let n=j.safeParse({email:e});if(!n.success){var r,o;s("idle"),i(null!==(o=null===(r=n.error.issues[0])||void 0===r?void 0:r.message)&&void 0!==o?o:"Enter a valid email");return}s("submitting"),i("");try{if(!(await fetch(l.T.leadform,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:"Newsletter Subscriber",company:"seaflux technology",email:n.data.email,sourceSlug:"blog-newsletter-banner"})})).ok){s("idle"),i("Something went wrong. Please try again.");return}(0,y.R)({form_name:"newsletter_subscribe",source:"blog-newsletter-banner",event_label:"blog-newsletter-banner"}),(0,y.s)("newsletter_signup",{form_name:"newsletter_subscribe",source:"blog-newsletter-banner",sourceSlug:"blog-newsletter-banner"}),t(""),s("success"),i("Thanks for subscribing. We’ll keep you posted.")}catch(e){s("idle"),i("Something went wrong. Please try again.")}},c="submitting"===a,d="success"===a;return(0,n.jsxs)("section",{className:_().bannerWrap,"aria-label":"Newsletter subscription",children:[(0,n.jsx)("div",{className:"".concat(_().divider," ").concat(_().dividerTop)}),(0,n.jsx)("div",{className:_().frame,children:(0,n.jsx)("div",{className:_().panel,children:(0,n.jsxs)("div",{className:_().content,children:[(0,n.jsxs)("div",{className:_().copy,children:[(0,n.jsx)("div",{className:_().iconBox,"aria-hidden":"true",children:(0,n.jsx)(f.A,{size:20,strokeWidth:2})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:_().eyebrow,children:"Stay in the Loop"}),(0,n.jsxs)("h3",{className:_().title,children:["Get Seaflux insights in your"," ",(0,n.jsx)("span",{className:_().titleAccent,children:"inbox"})]}),(0,n.jsx)("p",{className:_().subtext,children:"Subscribe for practical updates on AI, cloud, data, and product engineering without the noise."})]})]}),(0,n.jsxs)("form",{className:_().form,onSubmit:o,noValidate:!0,children:[(0,n.jsxs)("div",{className:_().inputRow,children:[(0,n.jsx)("input",{type:"email",name:"email",autoComplete:"email",inputMode:"email",placeholder:"Enter your work email",value:e,onChange:e=>{t(e.target.value),r&&i(""),"success"===a&&s("idle")},className:_().input,"aria-label":"Email address","aria-invalid":!d&&!!r||void 0,disabled:c}),(0,n.jsx)("button",{type:"submit",className:_().button,disabled:c,children:c?"Subscribing...":"Subscribe"})]}),(0,n.jsx)("p",{className:"".concat(_().message," ").concat(d?_().success:_().error),"aria-live":"polite",children:r})]})]})})}),(0,n.jsx)("div",{className:"".concat(_().divider," ").concat(_().dividerBottom)})]})}let S=e=>"/blogs/".concat(e,"/"),B=()=>window.matchMedia("(min-width: 1024px)").matches?3:window.matchMedia("(min-width: 640px)").matches?2:1,k=(e,t)=>{if(!t||e.length<=t)return[{blogs:e,bannerKey:null}];let a=[];for(let n=0;n<e.length;n+=t){let s=n+t;a.push({blogs:e.slice(n,s),bannerKey:s<e.length?s:null})}return a},C=e=>e<=1?"/blogs":"/blogs/page/".concat(e);function A(e){var t;let{initialBlogs:a,totalCount:p,currentPage:f,pageSize:v}=e,[w,_]=(0,h.useState)(c.En.All),[y,j]=(0,h.useState)(()=>{let e=new Set;return a.filter(t=>!e.has(t.id)&&(e.add(t.id),!0))}),[A,E]=(0,h.useState)(f),[T,P]=(0,h.useState)(!1),[z,M]=(0,h.useState)(null),[I,D]=(0,h.useState)({}),L=(0,h.useRef)(null),R=(0,h.useRef)(!1),W=Math.max(1,Math.ceil(p/v)),O=y.length+(f-1)*v<p,F=(0,h.useCallback)(async()=>
1{if(!R.current&&O&&"all"===w){R.current=!0,P(!0);try{let e=A+1,t=await fetch("".concat(l.T.blogs,"?page=").concat(e,"&limit=").concat(v));if(!t.ok){R.current=!1;return}let{data:a}=await t.json(),n=(null!=a?a:[]).map(e=>o(e));j(e=>{let t=new Set(e.map(e=>e.id)),a=n.filter(e=>!t.has(e.id));return[...e,...a]}),E(e)}finally{R.current=!1,P(!1)}}},[w,O,A,v]);(0,h.useEffect)(()=>{if("all"!==w)return;let e=new IntersectionObserver(e=>{var t;(null===(t=e[0])||void 0===t?void 0:t.isIntersecting)&&F()},{threshold:0,rootMargin:"200px"}),t=L.current;return t&&e.observe(t),()=>e.disconnect()},[w,F]),(0,h.useEffect)(()=>{let e=()=>M(B());e();let t=[window.matchMedia("(min-width: 640px)"),window.matchMedia("(min-width: 1024px)")];for(let a of t)a.addEventListener("change",e);return()=>{for(let a of t)a.removeEventListener("change",e)}},[]);let Z=(0,h.useMemo)(()=>"all"===w?y:y.filter(e=>e.services.includes(w)),[w,y]),U=(0,h.useMemo)(()=>k(Z,z?5*z:null),[z,Z]);(0,h.useCallback)(e=>{D(t=>t[e]?t:{...t,[e]:!0})},[]);let q={initial:{opacity:0,x:-20},animate:{opacity:1,x:0,transition:{duration:.4}}};return(0,n.jsxs)("div",{className:"container mx-auto py-14 px-4 md:px-0",children:[(0,n.jsxs)("div",{className:"flex flex-col md:flex-row items-start md:items-center justify-between gap-4 mb-8",children:[(0,n.jsx)("h2",{className:"text-2xl md:text-4xl font-bold text-white",children:"Blogs"}),(0,n.jsx)("div",{className:"relative",children:(0,n.jsxs)("div",{className:(0,i.cn)("h-12 min-w-[220px] rounded-full border px-4 flex items-center gap-2 justify-between","all"!==w?"bg-gray-800 border-gray-600 text-gray-100":"bg-transparent border-gray-600 text-gray-300"),children:[(0,n.jsxs)(r.rI,{children:[(0,n.jsx)(r.ty,{asChild:!0,children:(0,n.jsxs)("button",{className:"flex-1 flex items-center justify-between outline-none cursor-pointer",children:[(0,n.jsx)("span",{className:"truncate",children:"all"!==w?null===(t=c.DF.find(e=>e.key===w))||void 0===t?void 0:t.label:"Select Category"}),"all"===w&&(0,n.jsx)(m.A,{className:"h-5 w-5 text-gray-400"})]})}),(0,n.jsx)(r.SQ,{className:"w-56 rounded-xl bg-[#0F0F0F] border border-gray-700 shadow-lg p-1 mt-3",children:c.DF.map(e=>(0,n.jsx)(r._2,{onClick:()=>_(e.key),className:(0,i.cn)("px-3 py-2 text-sm cursor-pointer rounded-lg text-gray-300 hover:bg-gray-800",w===e.key&&"bg-gray-800 font-semibold text-white"),children:e.label},e.key))})]}),"all"!==w&&(0,n.jsx)("button",{onClick:()=>_(c.En.All),className:"p-1 rounded-full hover:bg-gray-700",children:(0,n.jsx)(b.A,{className:"h-4 w-4 text-gray-300 hover:text-red-500"})})]})})]}),(0,n.jsx)(d.N,{mode:"wait",children:(0,n.jsx)(u.P.div,{variants:{initial:{opacity:0,y:40},animate:{opacity:1,y:0,transition:{duration:.5}},exit:{opacity:0,y:-40,transition:{duration:.3}}},initial:"initial",animate:"animate",exit:"exit",className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:(0,n.jsx)(u.P.div,{className:"contents",variants:{initial:{},animate:{transition:{staggerChildren:.12}}},initial:"initial",animate:"animate",children:U.map(e=>{var t,a;return(0,n.jsxs)("div",{className:"contents",children:[e.blogs.map(e=>{let t=e.slug.includes(".")?"a":x();return(0,n.jsx)(u.P.div,{variants:q,whileHover:{scale:1.03,y:-4},transition:{type:"spring",stiffness:250,damping:18},children:(0,n.jsx)(t,{href:S(e.slug),children:(0,n.jsxs)(s.Zp,{className:"h-full flex-col overflow-hidden pt-0 rounded-[10px] bg-transparent flex items-center justify-center hover:shadow-[0px_1px_2px_2px_rgba(255,255,255,0.25)] border-1 border-light-neutral-gray/25 transition-colors duration-300",children:[(0,n.jsx)("div",{className:"relative aspect-[3/2] w-full overflow-hidden bg-white",children:(0,n.jsx)(g.default,{src:e.image||c.T1,alt:e.imageAlt||e.title,width:640,height:360,sizes:"(min-width: 1024px) 33vw, (min-width: 640px) 50vw, 100vw",quality:70,className:"h-full w-full object-contain",onError:t=>{console.error("Blog image failed:",e.image),t.currentTarget.src!==c.T1&&(t.currentTarget.src=c.T1)}})}),(0,n.jsxs)(s.aR,{className:"flex-1 flex flex-col justify-between px-4",children:[(0,n.jsx)(s.ZB,{className:"text-white text-lg font-semibold line-clamp-2",children:e.title}),(0,n.jsx)(s.BT,{className:"text-sm text-white line-clamp-3",children:e.shortDe
1sc})]})]})})},"".concat(e.id,"-").concat(e.slug))}),null!==e.bannerKey&&(0,n.jsx)("div",{className:"sm:col-span-2 lg:col-span-3",children:(0,n.jsx)(N,{})},"banner-".concat(e.bannerKey))]},"section-".concat(null!==(a=null===(t=e.blogs[0])||void 0===t?void 0:t.id)&&void 0!==a?a:"empty"))})})},w)}),"all"===w&&W>1&&(0,n.jsx)("nav",{className:"sr-only","aria-label":"Blog archive pages",children:(0,n.jsx)("ul",{children:Array.from({length:W},(e,t)=>{let a=t+1;return(0,n.jsx)("li",{children:(0,n.jsxs)(x(),{href:C(a),children:["Blog archive page ",a]})},a)})})}),"all"===w&&(0,n.jsx)("div",{ref:L,className:"h-4 mt-4"}),"all"===w&&T&&(0,n.jsx)("p",{className:"text-center text-gray-400 mt-4",children:"Loading..."})]})}},18651:(e,t,a)=>{"use strict";a.d(t,{T:()=>r});let n="https://api.portal.seaflux.tech",s="publish",r={blogs:"".concat(n,"/").concat(s,"/blogs"),caseStudies:"".concat(n,"/").concat(s,"/case-studies"),career:"".concat(n,"/").concat(s,"/career"),event:"".concat(n,"/").concat(s,"/event/schedule"),contactUs:"".concat(n,"/").concat(s,"/contact-us/email"),contact:"".concat("https://d138li4jgx7h8d.cloudfront.net","/contactus"),leadform:"".concat(n,"/").concat(s,"/lead-form"),assessmentByTracking:e=>"".concat(n,"/").concat(s,"/reusable-components/assessments/tracking/").concat(encodeURIComponent(e)),assessmentSubmit:"".concat(n,"/").concat(s,"/reusable-components/assessments/submit"),peopleConnectPositions:"".concat(n,"/people-connect/position"),peopleConnectSkills:"".concat(n,"/people-connect/skill"),peopleConnectEnums:"".concat(n,"/people-connect/misc/enums"),peopleConnectCandidates:"".concat(n,"/people-connect/candidate"),presignedUpload:"".concat(n,"/utility/presigned")}},20333:e=>{e.exports={bannerWrap:"NewsletterSubscribeBanner_bannerWrap__4aU8G",divider:"NewsletterSubscribeBanner_divider__Wv2nL",dividerTop:"NewsletterSubscribeBanner_dividerTop__PhjEk",dividerBottom:"NewsletterSubscribeBanner_dividerBottom__dwS8m",frame:"NewsletterSubscribeBanner_frame__c_klx",panel:"NewsletterSubscribeBanner_panel__39CA_",content:"NewsletterSubscribeBanner_content__DrE9_",copy:"NewsletterSubscribeBanner_copy__poP37",iconBox:"NewsletterSubscribeBanner_iconBox__re5mW",eyebrow:"NewsletterSubscribeBanner_eyebrow__frZ8j",title:"NewsletterSubscribeBanner_title____uwP",titleAccent:"NewsletterSubscribeBanner_titleAccent__zrRho",subtext:"NewsletterSubscribeBanner_subtext__j_BdA",form:"NewsletterSubscribeBanner_form__dzYJX",inputRow:"NewsletterSubscribeBanner_inputRow__SLH_p",input:"NewsletterSubscribeBanner_input__m2ncy",button:"NewsletterSubscribeBanner_button__Ixi2X",message:"NewsletterSubscribeBanner_message__7d6BJ",error:"NewsletterSubscribeBanner_error__8CqM0",success:"NewsletterSubscribeBanner_success__HEToX"}},44838:(e,t,a)=>{"use strict";a.d(t,{SQ:()=>o,_2:()=>c,rI:()=>i,ty:()=>l});var n=a(95155),s=a(76215),r=a(59434);function i(e){let{...t}=e;return(0,n.jsx)(s.bL,{"data-slot":"dropdown-menu",...t})}function l(e){let{...t}=e;return(0,n.jsx)(s.l9,{"data-slot":"dropdown-menu-trigger",...t})}function o(e){let{className:t,sideOffset:a=4,...i}=e;return(0,n.jsx)(s.ZL,{children:(0,n.jsx)(s.UC,{"data-slot":"dropdown-menu-content",sideOffset:a,className:(0,r.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",t),...i})})}function c(e){let{className:t,inset:a,variant:i="default",...l}=e;return(0,n.jsx)(s.q7,{"data-slot":"dropdown-menu-item","data-inset":a,"data-variant":i,className:(0,r.cn)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...l})}},56818:(e,t,a)=>{"use strict";a.d(t,{DF:()=>n,En:()=>s,T1:()=>r});let n=[{key:"all",label:"All"},{key:"ai-ml",label:"AI & Machine Learning"},{key:"blockchain",label:"Blockchain"},{key:"cloud",label:"Cloud Computing"},{key:"mobility",label:"Enterprise Mobility"},{key:"data-engineering",label:"Data Engineering"},{key:"iot",label:"Internet of Things"}];var s=function(e){return e.All="all",e}({});let r="/images/blog-placeholder.svg"},66695:(e,t,a)=>{"use strict";a.d(t,{BT:()=>o,Wu:()=>c,ZB:()=>l,Zp:()=>r,aR:()=>i,wL:()=>d});var n=a(95155),s=a(59434);function r(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card",className:(0,s.cn)("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",t),...a})}function i(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card-header",className:(0,s.cn)("flex flex-col gap-1.5 px-6",t),...a})}function l(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card-title",className:(0,s.cn)("leading-none font-semibold",t),...a})}function o(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card-description",className:(0,s.cn)("text-muted-foreground text-sm",t),...a})}function c(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card-content",className:(0,s.cn)("px-6",t),...a})}function d(e){let{className:t,...a}=e;return(0,n.jsx)("div",{"data-slot":"card-footer",className:(0,s.cn)("flex items-center px-6",t),...a})}},66766:(e,t,a)=>{"use strict";a.d(t,{default:()=>s.a});var n=a(71469),s=a.n(n)},71469:(e,t,a)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var a in t)Object.defineProperty(e,a,{enumerable:!0,get:t[a]})}(t,{default:function(){return o},getImageProps:function(){return l}});let n=a(88229),s=a(38883),r=a(33063),i=n._(a(51193));function l(e){let{props:t}=(0,s.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let o=r.Image},76233:(e,t,a)=>{"use strict";function n(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"function"==typeof window.gtag&&window.gtag("event",e,t)}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n("generate_lead",{event_category:"lead_form",...e})}a.d(t,{R:()=>s,s:()=>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.