1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7168],{37168:function(e,s,t){t.r(s),t.d(s,{default:function(){return d}});var a=t(85893),r=t(26432),i=t(14640),l=t(67294),n=t(22567),c=t(38683);function d(){let e=(0,i.useTranslations)("copyleaksLiveTesting"),[s,t]=(0,l.useState)(0),[d,o]=(0,l.useState)(!0),x=[{type:"academic",before:"The utilization of artificial intelligence technologies in educational institutions has demonstrated significant improvements in pedagogical methodologies and student engagement metrics across various academic disciplines.",after:"Schools are now using AI tools to help teachers create better lessons and keep students more interested in learning different subjects.",beforeScore:89,afterScore:7},{type:"business",before:"The implementation of machine learning algorithms in contemporary business environments facilitates enhanced operational efficiency and strategic decision-making processes.",after:"Companies today use smart computer programs to work better and make smarter business choices.",beforeScore:92,afterScore:5},{type:"technical",before:"Advanced neural network architectures demonstrate superior performance capabilities in natural language processing applications through sophisticated pattern recognition mechanisms.",after:"Modern AI systems are really good at understanding human language because they can spot patterns in how people write and talk.",beforeScore:94,afterScore:3}];return(0,a.jsx)(r.Z,{className:"py-20 bg-gradient-to-b from-gray-50 to-white",children:(0,a.jsxs)("div",{className:"max-w-6xl mx-auto",children:[(0,a.jsxs)("div",{className:"text-center mb-16",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 bg-green-100 px-4 py-2 rounded-full text-sm font-medium text-green-700 mb-6",children:[(0,a.jsx)("div",{className:"w-2 h-2 bg-green-500 rounded-full animate-pulse"}),e("live")]}),(0,a.jsx)("h2",{className:"text-4xl lg:text-5xl font-bold mb-6",children:e("title")}),(0,a.jsx)("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto",children:e("subtitle")})]}),(0,a.jsx)("div",{className:"flex justify-center mb-12",children:(0,a.jsx)("div",{className:"bg-white rounded-2xl p-2 shadow-lg border inline-flex gap-2",children:x.map((r,i)=>(0,a.jsx)(c.A,{size:"sm",className:"px-6 py-3 rounded-xl transition-all duration-300 ".concat(s===i?"bg-gradient-to-r from-indigo-500 to-purple-600 text-white shadow-md":"bg-transparent text-gray-600 hover:bg-gray-50"),onClick:()=>t(i),children:e("examples.".concat(r.type))},i))})}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-8 mb-16",children:[(0,a.jsxs)("div",{className:"bg-white rounded-3xl shadow-xl border-2 border-red-200 p-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,a.jsx)("div",{className:"w-12 h-12 bg-red-100 rounded-full flex items-center justify-center",children:(0,a.jsx)(n.JO,{icon:"ph:warning",className:"text-red-600 text-xl"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-bold text-red-800",children:e("before.title")}),(0,a.jsx)("p",{className:"text-red-600",children:e("before.subtitle")})]})]}),(0,a.jsx)("div",{className:"bg-gray-50 rounded-xl p-6 mb-6",children:(0,a.jsx)("p",{className:"text-gray-700 leading-relaxed mb-4",children:x[s].before})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"font-medium",children:e("copyleaksScore")}),(0,a.jsxs)("span",{className:"text-red-600 font-bold text-lg",children:[x[s].beforeScore,"% AI"]})]}),(0,a.jsx)("div",{className:"w-full bg-red-200 rounded-full h-4",children:(0,a.jsx)("div",{className:"bg-red-600 h-4 rounded-full transition-all duration-1000",style:{width:"".concat(x[s].beforeScore,"%")}})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-red-700",children:[(0,a.jsx)(n.JO,{icon:"ph:x-circle",className:"text-red-600"}),(0,a.jsx)("span",{className:"text-sm",children:e("status.flagged")})]})]})]}),(0,a.jsxs)("div",{className:"bg-white rounded-3xl shadow-xl border-2 border-green-200 p-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,a.jsx)("div",{className:"w-12 h-12 bg-green-100 rounded-full flex items-center justify-center",children:(0,a.jsx)(n.JO,{icon:"ph:check",className:"text-green-600 text-xl"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-xl font-bold text-green-800",children:e("after.title")}),(0,a.jsx)("p",{className:"text-green-600",children:e("after.subt
1itle")})]})]}),(0,a.jsx)("div",{className:"bg-gray-50 rounded-xl p-6 mb-6",children:(0,a.jsx)("p",{className:"text-gray-700 leading-relaxed mb-4",children:x[s].after})}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsx)("span",{className:"font-medium",children:e("copyleaksScore")}),(0,a.jsxs)("span",{className:"text-green-600 font-bold text-lg",children:[x[s].afterScore,"% AI"]})]}),(0,a.jsx)("div",{className:"w-full bg-green-200 rounded-full h-4",children:(0,a.jsx)("div",{className:"bg-green-600 h-4 rounded-full transition-all duration-1000",style:{width:"".concat(x[s].afterScore,"%")}})}),(0,a.jsxs)("div",{className:"flex items-center gap-2 text-green-700",children:[(0,a.jsx)(n.JO,{icon:"ph:check-circle",className:"text-green-600"}),(0,a.jsx)("span",{className:"text-sm",children:e("status.passed")})]})]})]})]}),(0,a.jsxs)("div",{className:"bg-gradient-to-r from-indigo-50 to-purple-50 rounded-3xl p-12",children:[(0,a.jsx)("h3",{className:"text-3xl font-bold text-center mb-12",children:e("differences.title")}),(0,a.jsxs)("div",{className:"grid md:grid-cols-3 gap-8",children:[(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br from-blue-500 to-indigo-600 rounded-2xl flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(n.JO,{icon:"ph:lightning",className:"text-2xl text-white"})}),(0,a.jsx)("h4",{className:"font-bold text-lg mb-2",children:e("differences.speed.title")}),(0,a.jsx)("p",{className:"text-gray-600",children:e("differences.speed.description")})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br from-purple-500 to-pink-600 rounded-2xl flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(n.JO,{icon:"ph:brain",className:"text-2xl text-white"})}),(0,a.jsx)("h4",{className:"font-bold text-lg mb-2",children:e("differences.smart.title")}),(0,a.jsx)("p",{className:"text-gray-600",children:e("differences.smart.description")})]}),(0,a.jsxs)("div",{className:"text-center",children:[(0,a.jsx)("div",{className:"w-16 h-16 bg-gradient-to-br from-green-500 to-emerald-600 rounded-2xl flex items-center justify-center mx-auto mb-4",children:(0,a.jsx)(n.JO,{icon:"ph:shield-check",className:"text-2xl text-white"})}),(0,a.jsx)("h4",{className:"font-bold text-lg mb-2",children:e("differences.reliable.title")}),(0,a.jsx)("p",{className:"text-gray-600",children:e("differences.reliable.description")})]})]})]})]})})}}}]);
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.