1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9892],{8071:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>C,default:()=>S});var o=a(94458),r=a(45196),s=a(68658),l=a(53831),i=a(45858),n=a(37085),c=a(5234),d=a(16335);let g=(0,a(70165).w)({displayName:"IcArrow",viewBox:"0 0 31 32",path:(0,o.jsx)("svg",{viewBox:"0 0 20 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd","clip-rule":"evenodd",d:"M0.0722656 5.0002C0.0722656 4.50314 0.475209 4.1002 0.972266 4.1002L16.0804 4.1002L13.5599 1.75971C13.1956 1.42149 13.1745 0.852033 13.5128 0.487793C13.851 0.123554 14.4204 0.102463 14.7847 0.440685L18.9847 4.34069C19.1681 4.51098 19.2723 4.74994 19.2723 5.0002C19.2723 5.25046 19.1681 5.48942 18.9847 5.65971L14.7847 9.55971C14.4204 9.89794 13.851 9.87685 13.5128 9.51261C13.1745 9.14837 13.1956 8.57891 13.5599 8.24069L16.0804 5.9002L0.972266 5.9002C0.475209 5.9002 0.0722656 5.49726 0.0722656 5.0002Z",fill:"white"})})});var p=a(69397),x=a(5575),h=a(24296),m=a(97359),u=a.n(m),f=a(61955);let b=e=>{let{id:t,cover:a,title:r,description:s,category:l}=e,c="".concat(a.fields.file.url,"?fm=webp"),{locale:d}=(0,i.useRouter)();return(0,o.jsx)(u(),{href:"/blog/".concat(t),style:{textDecoration:"none"},children:(0,o.jsxs)(p.s,{direction:{base:"column",lg:"row"},gap:{base:6,lg:12},role:"group",position:"relative",_hover:{"& .blog-image":{transform:"scale(1.02)"},"& .arrow-container":{transform:"translateX(4px)"}},mb:20,children:[(0,o.jsxs)(p.s,{direction:"column",justifyContent:"center",flex:{base:"1",lg:"0.4"},order:{base:1,lg:0},p:{base:4,lg:0},children:[(0,o.jsx)(p.s,{px:3,py:1,bg:"gray.700",borderRadius:"full",width:"fit-content",mb:4,children:(0,o.jsx)(x.E,{color:"white",fontFamily:"Roboto",fontSize:{base:"12px",lg:"12px"},fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.5px",children:l})}),(0,o.jsx)(x.E,{fontWeight:"700",fontSize:{base:"28px",md:"30px",lg:"34px"},fontFamily:"Montserrat",color:"white",lineHeight:{base:"1.2",lg:"1.3"},mb:{base:4,lg:6},children:r}),(0,o.jsx)(x.E,{fontSize:{base:"14px",lg:"16px"},fontFamily:"Roboto",color:"white",lineHeight:"1.6",mb:{base:6,lg:8},maxW:"90%",children:s}),(0,o.jsx)(p.s,{alignItems:"center",className:"arrow-container",transition:"all 0.3s ease",children:(0,o.jsx)(p.s,{bg:"gray.700",borderRadius:"8px",p:2,children:(0,o.jsx)(g,{boxSize:5})})})]}),(0,o.jsx)(n.az,{flex:{base:"1",lg:"0.6"},h:{base:"300px",md:"400px",lg:"500px"},position:"relative",overflow:"hidden",borderRadius:"20px",order:{base:0,lg:1},children:(0,o.jsx)(h._,{src:c,alt:s,className:"blog-image",transition:"transform 0.3s ease",style:{width:"100%",height:"100%",objectFit:"cover"},loading:"lazy"})})]})})},y=e=>{var t;let{data:a}=e,r=(0,f.A)();if(console.log("BlogGridFirst received data:",a),!Array.isArray(a)||0===a.length)return console.log("BlogGridFirst: No data or empty array"),null;let s=a[0];return s?(console.log("BlogGridFirst using post:",null==(t=s.fields)?void 0:t.title),(0,o.jsxs)(n.az,{mx:"auto",px:{base:4,md:6,lg:8},maxW:"1400px",mt:20,children:[(0,o.jsx)(x.E,{fontSize:{base:"30px",md:"35px",lg:"40px"},fontFamily:"Montserrat",color:"white",textAlign:"center",fontWeight:"700",lineHeight:1.2,mb:{base:12,lg:24},mt:{base:12,lg:16},children:r.formatMessage({id:"blog-home-title"})}),(0,o.jsx)(b,{...s.fields})]})):(console.log("BlogGridFirst: No first post found"),null)};var j=a(10557),w=a(68450);let v=()=>{let{locale:e}=(0,i.useRouter)();return(0,o.jsx)(n.az,{bg:"gray.900",minHeight:"75vh",display:"flex",alignItems:"center",justifyContent:"center",children:(0,o.jsxs)(n.az,{textAlign:"center",maxWidth:"600px",px:8,children:[(0,o.jsx)(w.D,{fontSize:{base:"22px",sm:"30px",lg:"38px"},fontWeight:"bold",fontFamily:"Montserrat",color:"white",mb:{base:5,lg:5},children:"Unlock Cost and Time-Efficient Audio at Scale"}),(0,o.jsx)(x.E,{fontSize:{base:"14px",sm:"16px",lg:"18px"},fontFamily:"Roboto",color:"white",mb:10,children:"Our proprietary technology connects AI-powered media creation forms such as AI script generation, text-to-speech, speech-to-speech, generative music, and dynamic versioning."}),(0,o.jsx)(c.$,{as:"a",href:"/contact-us",target:"_self",rel:"noopener noreferrer",bg:"purple_parrot",children:"Book a Demo"})]})})};
1var C=!0;function S(e){let t=(0,i.useRouter)(),{firstPost:a}=e,[g,p]=(0,s.useState)(e.blogPosts),[x,h]=(0,s.useState)(1),[m,u]=(0,s.useState)(!1),[f,b]=(0,s.useState)(!0),[w,C]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=t.query.category;e&&e!==w&&S((0,j.VX)(e),!1)},[t.query.category]);let S=async function(e){let a=!(arguments.length>1)||void 0===arguments[1]||arguments[1];u(!0),C(e);try{if(a){let a=e?"/news?category=".concat((0,j.Ro)(e)):"/news";t.push(a,void 0,{shallow:!0})}let o=e?"/api/load-more-posts?category=".concat(e,"&page=1"):"/api/load-more-posts?page=1",r=await l.A.get(o);p(r.data),h(1),b(r.data.length>=9)}catch(e){console.error("Error loading category posts:",e)}finally{u(!1)}},z=async()=>{if(!m){u(!0);try{let e=(await l.A.get("/api/load-more-posts?page=".concat(x+1,"&category=").concat(w||""))).data;0===e.length?b(!1):(p(t=>{let a=[...t,...e];return a.sort((e,t)=>new Date(t.fields.publishDate).getTime()-new Date(e.fields.publishDate).getTime()),a}),h(x+1))}catch(e){console.error("Error loading more posts:",e)}finally{u(!1)}}};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.OS,{data:e.metadata,canonicalUrl:"https://audiostack.ai/news"}),(0,o.jsxs)(n.az,{as:"main",children:[(0,o.jsx)(r.VS,{color:"hero",children:(0,o.jsx)(r.so,{})}),(0,o.jsx)(r.VS,{color:"gray.900",children:(0,o.jsx)(r.uc,{children:a&&(0,o.jsx)(y,{data:[a]})})}),(0,o.jsx)(r.vy,{bg:"gray.900",fill:"white.900"}),(0,o.jsx)(r.VS,{color:"white.900",children:(0,o.jsxs)(r.uc,{children:[(0,o.jsx)(d.$,{data:g,categories:j.S6,handleCategoryClick:S,selectedCategory:w}),f&&(0,o.jsx)(c.$,{onClick:z,isLoading:m,loadingText:"Loading...",mt:4,mx:"auto",display:"flex",alignItems:"center",justifyContent:"center",minW:"160px",mb:100,children:"Show More Posts"})]})}),(0,o.jsx)(r.vy,{bg:"transparent",fill:"gray.900",transform:"translate(0, 1px)"}),(0,o.jsx)(v,{}),(0,o.jsx)(r.wi,{})]})]})}},10557:(e,t,a)=>{"use strict";a.d(t,{Ro:()=>s,S6:()=>l,VX:()=>r});let o={"customer-campaigns":{displayName:"Customer Campaigns",color:"#50B167",slug:"customer-campaigns"},partners:{displayName:"Partners",color:"#E44066",slug:"partners"},product:{displayName:"Product",color:"#247AB1",slug:"product"},"in-the-news":{displayName:"In The News",color:"#EDA400",slug:"in-the-news"},"ai-transformation":{displayName:"AI Transformation",color:"#88C44B",slug:"ai-transformation"},"about-audiostack":{displayName:"About AudioStack",color:"#88C44B",slug:"about-audiostack"}},r=e=>{var t;return(null==(t=o[e])?void 0:t.displayName)||e},s=e=>{let t=Object.values(o).find(t=>t.displayName===e);return(null==t?void 0:t.slug)||e.toLowerCase().replace(/[^a-z0-9]+/g,"-")};Object.values(o).reduce((e,t)=>(e[t.displayName]=t.color,e),{});let l=Object.values(o).map(e=>e.displayName)},16335:(e,t,a)=>{"use strict";a.d(t,{$:()=>f});var o=a(94458),r=a(37085),s=a(24296),l=a(69397),i=a(5575),n=a(45858),c=a(97359),d=a.n(c);let g=e=>{let{id:t,cover:a,title:c,description:g,category:p}=e,x="".concat(a.fields.file.url,"?fm=webp"),{locale:h}=(0,n.useRouter)();return(0,o.jsx)(d(),{href:"/news/".concat(t),style:{textDecoration:"none"},children:(0,o.jsxs)(r.az,{overflow:"hidden",p:{base:4,md:5},mt:8,transition:"all 0.3s ease",_hover:{transform:"translateY(-4px)","& .blog-image":{transform:"scale(1.05)"},"& .arrow-container":{transform:"translateX(4px)"}},role:"group",children:[(0,o.jsxs)(r.az,{position:"relative",overflow:"hidden",borderRadius:"16px",height:["263px","300px","300px"],children:[(0,o.jsx)(s._,{src:x,alt:g,style:{width:"100%",height:"100%",objectFit:"cover"},loading:"lazy",className:"blog-image",transition:"transform 0.3s ease"}),(0,o.jsx)(l.s,{position:"absolute",top:4,left:4,px:3,py:1,bg:"gray.700",borderRadius:"full",children:(0,o.jsx)(i.E,{color:"white",fontFamily:"Roboto",fontSize:"12px",fontWeight:"500",textTransform:"uppercase",letterSpacing:"0.5px",children:p})})]}),(0,o.jsxs)(r.az,{mt:6,children:[(0,o.jsx)(i.E,{fontWeight:"700",fontSize:"25px",lineHeight:"30px",fontFamily:"Montserrat",color:"gray.700",mb:3,transition:"color 0.3s ease",_groupHover:{color:"gray.900"},children:c}),(0,o.jsx)(i.E,{fontFamily:"Roboto",fontSize:"16px",lineHeight:"23px",color:"gray.600",mb:4,noOfLines:3,title:g,children:g})]})]})})};var p=a(39847),x=a(68658),h=a(61955),m=a(5234);let u=e=>{let{name:t,handleClick:a,isSelected:r}=e;return(0,o.jsx)(m.$,{color:r?"white":"gray.700",fontWeight:"500",fontSize:{base:"13px",md:"14px"},lineHeight:"24px",fontFamily:"Roboto",px:{base:4,md:6},h:{base:"32px",md:"36px"},minW:"max-content",borderRadius:"full",onClick:()=>a(),bg:r?"gray.900":"gray.100",_hover:{bg:r?"gray.800":"gray.200"},_active:{bg:r?"gray.900":"gray.300"},transition:"all 0.2s ease",flexShrink:0,scrollSnapAlign:"start",children:t})},f=e=>{(0,h.A)();
1let[t,a]=(0,x.useState)([]);return(0,x.useEffect)(()=>{a(e.data)},[e.data]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.az,{position:"relative",mx:"auto",mb:8,px:{base:4,md:6,lg:8},maxW:"1400px",mt:10,children:(0,o.jsxs)(r.az,{bg:"white",borderRadius:"24px",boxShadow:"0px 4px 20px rgba(0, 0, 0, 0.05)",p:4,position:"relative",children:[(0,o.jsx)(r.az,{overflowX:"auto",css:{"&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none","-webkit-overflow-scrolling":"touch",scrollBehavior:"smooth"},children:(0,o.jsxs)(l.s,{gap:3,width:"max-content",minW:"100%",justifyContent:{base:"flex-start",md:"center"},children:[(0,o.jsx)(u,{name:"All",isSelected:null===e.selectedCategory,handleClick:()=>e.handleCategoryClick(null)}),e.categories.map((t,a)=>(0,o.jsx)(u,{name:t,isSelected:e.selectedCategory===t,handleClick:()=>e.handleCategoryClick(t)},a))]})}),(0,o.jsx)(r.az,{position:"absolute",left:0,top:0,bottom:0,width:"40px",pointerEvents:"none",background:"linear-gradient(90deg, white, transparent)",display:{base:"block",md:"none"}}),(0,o.jsx)(r.az,{position:"absolute",right:0,top:0,bottom:0,width:"40px",pointerEvents:"none",background:"linear-gradient(-90deg, white, transparent)",display:{base:"block",md:"none"}})]})}),(0,o.jsxs)(p.x,{templateColumns:{base:"repeat(1, 1fr)",md:"repeat(2, 1fr)",lg:"repeat(3, 1fr)"},gap:{base:2,md:1},px:{base:4,md:6,lg:8},maxW:"1400px",mx:"auto",children:[e.leadingCard,t.map(e=>(0,o.jsx)(g,{...e.fields},e.fields.id))]})]})}},58169:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return a(8071)}])}},e=>{e.O(0,[3,3831,5196,636,6593,8792],()=>e(e.s=58169)),_N_E=e.O()}]);
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.