PageSourceSearch

https://speechmatics-website-dev.vercel.app/_next/static/chunks/6746.82715d721624bd1c.js

js speechmatics-website-dev.vercel.app collected 2026-10-03 07:49:39 UTC 7,371 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6746],{6746:function(e,r,t){t.r(r);var a=t(85893),l=t(67294),s=t(41664),i=t.n(s),o=t(34030);let n={bg:"#FFFFFF",cardBg:"#FCFCFC",headerBg:"rgba(0,0,0,0.02)",barActive:"#29A383",barInactive:"rgba(0,0,0,0.06)",barLoserFill:"rgba(0,0,0,0.15)",textPrimary:"#1A1D19",textSecondary:"#63665E",borderColor:"rgba(0,0,0,0.08)",glowColor:"rgba(41,163,131,0.25)"};function d({percentage:e,isWinner:r,index:t}){let s=(0,l.useRef)(null),i=(0,l.useRef)(0);(0,l.useEffect)(()=>{let e=s.current;if(!e||!r)return;let a=e.getContext("2d");if(!a)return;let l=.9*t,o=r=>{let t=e.width,s=e.height;a.clearRect(0,0,t,s),a.fillStyle=n.barActive,a.beginPath(),a.roundRect(0,0,t,s,3),a.fill();let d=(r/1e3+l)%5/5*(t+120)-60,c=a.createLinearGradient(d-60,0,d+60,0);c.addColorStop(0,"rgba(255,255,255,0)"),c.addColorStop(.3,"rgba(255,255,255,0.08)"),c.addColorStop(.5,"rgba(255,255,255,0.18)"),c.addColorStop(.7,"rgba(255,255,255,0.08)"),c.addColorStop(1,"rgba(255,255,255,0)"),a.save(),a.beginPath(),a.roundRect(0,0,t,s,3),a.clip(),a.fillStyle=c,a.fillRect(0,0,t,s);let x=a.createRadialGradient(d,s/2,0,d,s/2,40);x.addColorStop(0,"rgba(255,255,255,0.12)"),x.addColorStop(1,"rgba(255,255,255,0)"),a.fillStyle=x,a.fillRect(0,0,t,s),a.restore(),i.current=requestAnimationFrame(o)};return i.current=requestAnimationFrame(o),()=>cancelAnimationFrame(i.current)},[r,t]);let o=`${e}%`;return r?(0,a.jsxs)("div",{className:"flex-1 relative overflow-visible",style:{height:"6px",borderRadius:3,background:n.barInactive},children:[(0,a.jsx)("div",{className:"absolute inset-y-0 left-0 overflow-hidden",style:{width:o,borderRadius:3,boxShadow:`0 0 10px ${n.glowColor}, 0 0 3px ${n.glowColor}`},children:(0,a.jsx)("canvas",{ref:s,width:500,height:12,className:"w-full h-full"})}),(0,a.jsx)("div",{className:"absolute -translate-y-1/2 top-1/2",style:{left:`calc(${o} - 5px)`,width:10,height:10,borderRadius:10,background:"#fff",boxShadow:`0px 1px 3px rgba(0,0,0,0.15), 0px 0px 0px 1px rgba(67,72,78,0.3), 0 0 8px ${n.glowColor}`}})]}):(0,a.jsx)("div",{className:"flex-1 relative overflow-hidden",style:{height:"6px",borderRadius:3,background:n.barInactive},children:(0,a.jsx)("div",{className:"absolute inset-y-0 left-0",style:{width:o,background:n.barLoserFill,borderRadius:3},children:(0,a.jsx)("div",{className:"absolute -translate-y-1/2 top-1/2 right-[-4px]",style:{width:10,height:10,borderRadius:10,background:"#fff",boxShadow:"0px 1px 3px rgba(0,0,0,0.15), 0px 0px 0px 1px rgba(67,72,78,0.3)"}})})})}function c(){return(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 32 32",fill:"none","aria-hidden":"true",children:[(0,a.jsx)("path",{d:"M32 16C32 24.8365 24.8365 32 16 32C7.16352 32 0 24.8365 0 16C0 7.16352 7.16352 0 16 0C24.8365 0 32 7.16352 32 16Z",fill:"#FF492C"}),(0,a.jsx)("path",{d:"M16.1649 21.2229C13.2829 21.2229 10.9384 18.88 10.9384 16C10.9384 13.1203 13.2829 10.7773 16.1649 10.7773L17.9541 7.03526C17.3756 6.92051 16.7773 6.85997 16.1649 6.85997C11.1135 6.85997 7.01856 10.9522 7.01856 16C7.01856 21.0481 11.1135 25.14 16.1649 25.14C18.1788 25.14 20.0404 24.4892 21.5514 23.3869L19.5699 19.9574C18.6545 20.745 17.4648 21.2229 16.1649 21.2229Z",fill:"white"}),(0,a.jsx)("path",{d:"M22.5626 14.6915H18.042L15.7819 18.6071H20.3025L22.5626 22.5229L24.8228 18.6071L22.5626 14.6915Z",fill:"white"}),(0,a.jsx)("path",{d:"M22.9343 12.2536H20.1999C20.2742 11.825 20.5385 11.586 21.0756 11.314L21.5795 11.0584C22.48 10.5971 22.9591 10.0778 22.9591 9.22874C22.9591 8.69299 22.7526 8.27251 22.3395 7.96774C21.9348 7.66272 21.439 7.51424 20.869 7.51424C20.4147 7.51424 20.0015 7.6297 19.6216 7.86867C19.2499 8.09958 18.9689 8.39629 18.7955 8.7671L19.5887 9.55846C19.8942 8.94029 20.3404 8.63526 20.9268 8.63526C21.4226 8.63526 21.7283 8.89088 21.7283 9.24512C21.7283 9.54202 21.5795 9.78912 21.0095 10.0778L20.6873 10.2343C19.9852 10.5887 19.4977 10.9926 19.2168 11.4541C18.936 11.9
1075 18.7955 12.4925 18.7955 13.1933V13.3829H22.9343V12.2536Z",fill:"white"})]})}function x({label:e,percentage:r,isWinner:t,index:l}){return(0,a.jsxs)("div",{className:"flex flex-col gap-1.5 md:flex-row md:items-center md:gap-2 md:px-2",style:{minHeight:36},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between md:hidden",children:[(0,a.jsx)("span",{style:{color:n.textSecondary,fontSize:"var(--text-sm)"},children:e}),(0,a.jsxs)("span",{style:{color:n.textPrimary,fontSize:"var(--text-sm)"},children:[r,"%"]})]}),(0,a.jsx)(d,{percentage:r,isWinner:t,index:l}),(0,a.jsxs)("span",{className:"hidden w-[40px] shrink-0 text-right md:block",style:{color:n.textPrimary,fontSize:"var(--text-sm)"},children:[r,"%"]})]})}let m="Don't just take our word for it...",f="Speak to Sales",h="Try Free";r.default=({rows:e,competitorName:r,heading:t=m,salesCtaLabel:l=f,tryFreeLabel:s=h})=>(0,a.jsxs)("div",{className:"w-full max-w-[1120px] mx-auto",style:{background:n.bg},children:[(0,a.jsx)("h2",{className:"mb-6 italic text-left",style:{color:n.textPrimary,fontFamily:"'DM Sans', sans-serif",fontWeight:700,fontSize:"24px"},children:t}),(0,a.jsxs)("div",{className:"overflow-hidden",style:{background:n.cardBg,borderRadius:8,border:`1px solid ${n.borderColor}`},children:[(0,a.jsx)("div",{className:"hidden md:block",style:{background:n.headerBg},children:(0,a.jsx)("div",{className:"grid gap-2 px-2",style:{gridTemplateColumns:"280px 1fr 1fr"},children:["Criteria","Speechmatics",r].map(e=>(0,a.jsx)("div",{className:"flex items-center px-2 font-medium",style:{minHeight:36,color:n.textPrimary,fontSize:"var(--text-sm)"},children:e},e))})}),e.map((e,t)=>{let l=e.speechmatics>e.competitor;return(0,a.jsxs)("div",{className:"flex flex-col gap-3 px-4 py-4 md:grid md:gap-2 md:px-2 md:py-0",style:{gridTemplateColumns:"280px 1fr 1fr",borderTop:`1px solid ${n.borderColor}`},children:[(0,a.jsx)("div",{className:"font-medium md:flex md:items-center md:px-2 md:font-normal",style:{color:n.textPrimary,fontSize:"var(--text-sm)"},children:e.criteria}),(0,a.jsx)(x,{label:"Speechmatics",percentage:e.speechmatics,isWinner:l,index:t}),(0,a.jsx)(x,{label:r,percentage:e.competitor,isWinner:!l,index:t})]},e.criteria)})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between flex-wrap gap-4 mt-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsxs)("span",{style:{color:n.textSecondary,fontSize:"var(--text-sm)",fontFamily:"'DM Sans', sans-serif"},children:["Source:"," ",(0,a.jsx)("a",{href:"https://www.g2.com",target:"_blank",rel:"noopener noreferrer",className:"underline",style:{color:n.textSecondary,fontWeight:"var(--font-weight-normal)"},children:"G2 reviews"})]}),(0,a.jsx)(c,{})]}),(0,a.jsxs)("div",{className:"flex gap-1",children:[l&&(0,a.jsx)(i(),{href:"https://www.speechmatics.com/speak-to-sales",className:"inline-flex items-center px-4 py-1.5 transition-colors",style:{color:n.textPrimary,borderRadius:3,border:`1px solid ${n.textSecondary}`,background:"transparent",fontSize:"var(--text-sm)",fontWeight:500,lineHeight:1.5,fontFamily:"'DM Sans', sans-serif"},children:l}),s&&(0,a.jsx)(i(),{href:o.Pt,className:"inline-flex items-center px-4 py-1.5 transition-colors",style:{color:"#FFFFFF",borderRadius:3,border:`1px solid ${n.textPrimary}`,background:n.textPrimary,fontSize:"var(--text-sm)",fontWeight:500,lineHeight:1.5,fontFamily:"'DM Sans', sans-serif"},children:s})]})]})]})}}]);

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.