1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1565c827-954a-4a08-91c4-3248967d50b7",e._sentryDebugIdIdentifier="sentry-dbid-1565c827-954a-4a08-91c4-3248967d50b7")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2731],{14400:(e,t,r)=>{"use strict";r.d(t,{default:()=>_});var n=r(95155),l=r(12115),a=r(20063),i=r(96199),s=r(18955),o=r(97676),d=r(95933),c=r(42588),u=r(62508),p=r(73211),m=r(67382),h=r(55156),x=r(30416),f=r(52588),g=r(11663);let v=(0,l.lazy)(()=>r.e(6835).then(r.bind(r,16835))),b={ai_image_detector:10,ai_video_detector:20,ai_voice_detector:20},w=new Set(["jpg","jpeg","png","webp","gif","bmp","heic","heif","avif"]),y=new Set(["mp4","mov","webm","mkv","avi","m4v","3gp","3g2"]),j=new Set(["mp3","wav","m4a","flac","ogg","aac","opus","wma"]);function k(e){let t=(0,l.useRef)(null),[r,a]=(0,l.useState)(1);return(0,l.useEffect)(()=>{let e=t.current;if(!e)return;let r=()=>a(e.offsetWidth/440);r();let n=new ResizeObserver(r);return n.observe(e),()=>n.disconnect()},[]),(0,n.jsx)("div",{ref:t,className:"w-full max-w-[440px] mx-auto relative",style:{aspectRatio:"1 / 1"},children:(0,n.jsx)("div",{style:{position:"absolute",top:0,left:0,transform:"scale(".concat(r,")"),transformOrigin:"top left"},children:(0,n.jsx)(u.A,{...e})})})}function _(){var e,t,r,u,_;let N=(0,s.c)("UniversalScanTool"),T=(0,s.c)("ShareCard"),L=(0,s.c)("AiImageDetectorTool"),C=(0,s.c)("BreakoutGame"),{data:S}=(0,i.wV)(),E=(0,a.useRouter)(),M=(0,a.useSearchParams)(),I=(0,l.useRef)(null),A=(0,l.useMemo)(()=>N.raw("loadingMessages"),[N]),R=(0,l.useMemo)(()=>({stampCertifiedHuman:T("stampCertifiedHuman"),stampAiDetected:T("stampAiDetected"),stampRealEdited:T("stampRealEdited"),pillReal:T("pillReal"),pillAi:T("pillAi"),pillEdited:T("pillEdited"),tagline:T("tagline")}),[T]),[U,D]=(0,l.useState)(!1),[W,O]=(0,l.useState)("âV");(0,l.useEffect)(()=>{var e;let t=window.matchMedia("(hover: none) and (pointer: coarse)").matches;if(D(t),t)return;let r=navigator.userAgent||"",n=(null==(e=navigator.userAgentData)?void 0:e.platform)||navigator.platform||"";/Mac|iPhone|iPad|iPod/i.test(n)||/Mac|iPhone|iPad|iPod/i.test(r)||O("Ctrl+V")},[]);let[P,B]=(0,l.useState)(!1),[G,z]=(0,l.useState)(A[0]),[H,F]=(0,l.useState)(0),[K,V]=(0,l.useState)(!1),[J,Z]=(0,l.useState)(!1),X=(0,l.useRef)(null),Q=(0,l.useRef)(!1),[q,Y]=(0,l.useState)(null),[$,ee]=(0,l.useState)(0),[et,er]=(0,l.useState)(null),[en,el]=(0,l.useState)(null),[ea,ei]=(0,l.useState)(null),[es,eo]=(0,l.useState)(!1),[ed,ec]=(0,l.useState)(!1),[eu,ep]=(0,l.useState)(!1),[em,eh]=(0,l.useState)("trial"),[ex,ef]=(0,l.useState)(""),[eg,ev]=(0,l.useState)(null),[eb,ew]=(0,l.useState)(!1),[ey,ej]=(0,l.useState)(!1),ek=!!(null==S||null==(e=S.user)?void 0:e.has_access);(0,l.useEffect)(()=>{var e;let t=null==M?void 0:M.get("demo"),r=null!=(e=null==M?void 0:M.get("from"))?e:"direct";if(!t)return;let n=f.h[t];n&&(el(n.previewUrl),er(n.result),ei(n.result.toolType),eo(!0),o.analytics.trackEvent("scan_demo_viewed",{demoId:t,source:r}))},[]),(0,l.useEffect)(()=>{if(!P||0===A.length)return;let e=()=>A[Math.floor(Math.random()*A.length)];z(e());let t=setInterval(()=>z(e()),1500);return()=>clearInterval(t)},[P,A]),(0,l.useEffect)(()=>{let e;if(!P){F(0),V(!1),Z(!1),Q.current=!1;return}let t=Math.floor(5*Math.random())+5;F(t),Q.current=!1;let r=t,n=()=>{if(r<=1){e=setTimeout(()=>{Q.current=!0,X.current&&(er(X.current),X.current=null,B(!1))},5e3+7e3*Math.random());return}F(--r),e=setTimeout(n,500+700*Math.random())};return e=setTimeout(n,600+400*Math.random()),()=>clearTimeout(e)},[P]),(0,l.useEffect)(()=>{if(!P)return void Z(!1);Z(!1);let e=setTimeout(()=>Z(!0),1e4);return()=>clearTimeout(e)},[P]),(0,l.useEffect)(()=>{if($<=0)return;let e=setInterval(()=>{ee(e=>e<=1?0:e-1)},1e3);return()=>clearInterval(e)},[$]),(0,l.useEffect)(()=>()=>{en&&URL.revokeObjectURL(en)},[]);let e_=(0,l.useCallback)(async e=>{var t,r,n;Y(null),er(null);let l=function(e){let t=(e.type||"").toLowerCase(),r=e.name.toLowerCase().split(".").pop()||"";return w.has(r)||t.startsWith("image/")||"application/pdf"===t||"pdf"===r?{toolType:"ai_image_detector",endpoint:"/api/detect-image"}:y.has(r)||t.startsWith("video/")?{toolType:"ai_video_detector",endpoint:"/api/detect-video"}:j.has(r)||t.startsWith("audio/")?{toolType:"ai_voice_detector",endpoint:"/api/detect-voice"}:null}(e);
1if(console.log("[SCAN-DEBUG] file picked",{name:e.name,type:e.type,size:e.size,lastModified:e.lastModified,ext:e.name.toLowerCase().split(".").pop(),routedToolType:null!=(t=null==l?void 0:l.toolType)?t:"NULL",routedEndpoint:null!=(r=null==l?void 0:l.endpoint)?r:"NULL"}),!l)return void Y(N("errorUnsupportedType"));let a=b[l.toolType];if(e.size>1024*a*1024)return void Y(N("errorTooLarge",{maxMB:a}));en&&URL.revokeObjectURL(en),el(null),ei(l.toolType),B(!0);let i=await (0,d._)(e);if(o.analytics.trackEvent("scan_started",{toolType:l.toolType,size:e.size,...i}),"ai_image_detector"===l.toolType)el(URL.createObjectURL(e));else if("ai_video_detector"===l.toolType){let{dataUrl:t}=await (0,c.G)(e);t&&el(t)}try{let t=new FormData;t.append("file",e);let r=await fetch(l.endpoint,{method:"POST",body:t}),a=await r.json();if(402===r.status){let e="upgrade"===a.paywallType?"upgrade":"trial";eh(e),o.analytics.trackEvent("scan_rate_limited",{toolType:l.toolType,paywallType:e}),B(!1),ep(!0);return}if(!r.ok){let e="PDF_HAS_NO_IMAGES"===a.code&&"/api/detect-image"===l.endpoint,t=(0,g.dr)(a);Y(e?N("errorPdfNoImages"):(0,g.b4)(a.code,l.endpoint,"/api/detect-image")?N("errorGeneric"):null!==t?N("errorTooLarge",{maxMB:t}):(0,g.JW)(a.code,N,a.error,N("errorGeneric"))),"number"==typeof a.retryAfter&&ee(a.retryAfter),B(!1);return}let i={verdict:a.verdict,confidence:a.confidence,label:null!=(n=a.label)?n:null,isAIGenerated:!!a.isAIGenerated,toolType:l.toolType};o.analytics.trackEvent("scan_completed",{toolType:l.toolType,verdict:a.verdict,confidence:a.confidence}),Q.current?(er(i),B(!1)):X.current=i}catch(e){Y(N("errorNetwork")),B(!1)}},[en,N]),eN=(0,l.useCallback)(e=>{var t;let r=null==(t=e.target.files)?void 0:t[0];r&&e_(r)},[e_]),eT=(0,l.useCallback)(e=>{var t;e.preventDefault(),ec(!1);let r=null==(t=e.dataTransfer.files)?void 0:t[0];r&&e_(r)},[e_]),eL=(0,l.useCallback)(()=>{es&&o.analytics.trackEvent("scan_demo_reset",{}),er(null),Y(null),en&&URL.revokeObjectURL(en),el(null),ei(null),eo(!1),window.location.search.includes("demo=")&&window.history.replaceState(null,"",window.location.pathname)},[en,es]),eC=!!et&&!et.isAIGenerated&&!!et.label&&et.label.toLowerCase().includes("edited");(0,l.useEffect)(()=>{if(!et)return void ev(null);let e=!1;return(async()=>{try{let t=await (0,h.o)({previewUrl:en,verdict:et.verdict,confidence:et.confidence,toolType:et.toolType,isPaid:ek,isEdited:eC,labels:R});e||ev(t)}catch(e){var t;console.warn("[ShareCard] renderShareCard failed",{toolType:et.toolType,previewUrlKind:(null==en?void 0:en.startsWith("data:"))?"data-uri":(null==en?void 0:en.startsWith("blob:"))?"blob":en?"other":"null",previewUrlLength:null!=(t=null==en?void 0:en.length)?t:0,error:e instanceof Error?e.message:String(e)})}})(),()=>{e=!0}},[et,en,ek,eC,R]);let eS=(0,l.useCallback)(async()=>{if(!et)return;let e=(0,x.Mr)(et.toolType);if(eg&&"undefined"!=typeof navigator&&navigator.share&&navigator.canShare){let t=new File([eg],"humantext-result.png",{type:"image/png"});if(navigator.canShare({files:[t]})){try{await navigator.share({files:[t],text:e}),ej(!0),setTimeout(()=>ej(!1),3e3),o.analytics.trackEvent("share_card_shared",{toolName:et.toolType,verdict:et.verdict,confidence:et.confidence})}catch(e){}return}}try{var t;eg&&"undefined"!=typeof ClipboardItem&&(null==(t=navigator.clipboard)?void 0:t.write)&&(await navigator.clipboard.write([new ClipboardItem({"image/png":eg})]),ew(!0),setTimeout(()=>ew(!1),3e3),o.analytics.trackEvent("share_link_copied",{toolName:et.toolType,verdict:et.verdict,confidence:et.confidence}))}catch(e){}},[et,eg]),eE=(0,l.useCallback)(async()=>{if(!et)return;let e=eg;if(!e)try{e=await (0,h.o)({previewUrl:en,verdict:et.verdict,confidence:et.confidence,toolType:et.toolType,isPaid:ek,isEdited:eC,labels:R})}catch(e){return}let t=URL.createObjectURL(e),r=document.createElement("a");r.href=t,r.download="humantext-result.png",document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(t),o.analytics.trackEvent("share_card_downloaded",{toolName:et.toolType,verdict:et.verdict,confidence:et.confidence})},[et,eg,en,ek,eC,R]);return((0,l.useEffect)(()=>
1{if(et||P)return;let e=e=>{var t;let r=null==(t=e.clipboardData)?void 0:t.items;if(r){for(let t of r)if("file"===t.kind){let r=t.getAsFile();if(r){e.preventDefault(),e_(r);return}}}};return window.addEventListener("paste",e),()=>window.removeEventListener("paste",e)},[et,P,e_]),P)?(0,n.jsxs)("div",{className:"w-full max-w-xl mx-auto space-y-4",children:[(0,n.jsxs)("div",{className:"relative w-full max-h-72 overflow-hidden rounded-2xl animate-[pulse-glow-green_2s_ease-in-out_infinite]",children:[en?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("img",{src:en,alt:"","aria-hidden":"true",className:"absolute inset-0 w-full h-full object-cover blur-2xl scale-110 opacity-50"}),(0,n.jsx)("img",{src:en,alt:"",className:"relative max-w-full max-h-72 object-contain mx-auto"})]}):(0,n.jsx)("div",{className:"relative w-full h-56 bg-gradient-to-br from-green-50 via-white to-green-100 flex items-center justify-center",children:(0,n.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center w-20 h-20 rounded-2xl bg-white border border-green-200 shadow-sm text-green-600",children:"ai_video_detector"===ea?(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-10 h-10",children:[(0,n.jsx)("rect",{x:"3",y:"6",width:"13",height:"12",rx:"2.5"}),(0,n.jsx)("path",{d:"M16 10l5-3v10l-5-3z"})]}):"ai_image_detector"===ea?(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-10 h-10",children:[(0,n.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"3"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"3.5"}),(0,n.jsx)("path",{d:"M8 5l1.5-2h5L16 5"})]}):(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-10 h-10",children:[(0,n.jsx)("rect",{x:"9",y:"3",width:"6",height:"12",rx:"3"}),(0,n.jsx)("path",{d:"M5 11a7 7 0 0 0 14 0"}),(0,n.jsx)("path",{d:"M12 18v3"})]})})}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none overflow-hidden",children:(0,n.jsx)("div",{className:"absolute left-0 right-0 top-0 h-16 will-change-transform animate-[scanline_2s_linear_infinite]",style:{background:"linear-gradient(180deg, transparent 0%, rgba(16,185,129,0.15) 30%, rgba(16,185,129,0.5) 50%, rgba(16,185,129,0.15) 70%, transparent 100%)"}})})]}),(0,n.jsxs)("div",{className:"flex flex-col items-center gap-3 py-2",children:[(0,n.jsxs)("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-green-50 border border-green-200 rounded-full",children:[(0,n.jsxs)("span",{className:"relative flex h-3 w-3",children:[(0,n.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-green-400 opacity-75"}),(0,n.jsx)("span",{className:"relative inline-flex rounded-full h-3 w-3 bg-green-500"})]}),(0,n.jsx)("span",{className:"text-sm font-medium text-slate-700 transition-all duration-300",children:G})]}),H>1&&(0,n.jsx)("p",{className:"text-sm text-slate-500",children:L("youAreInQueue",{position:H})}),J&&!K&&(0,n.jsxs)("div",{className:"flex flex-col items-center gap-2 mt-2",children:[(0,n.jsx)("p",{className:"text-base font-bold text-slate-700",children:L("playWhileWait")}),(0,n.jsx)("button",{onClick:()=>{V(!0),o.analytics.trackEvent("game_started",{toolName:"universal_scan",game:"breakout"})},className:"px-5 py-2 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors font-medium cursor-pointer text-sm",children:L("startGame")})]}),K&&(0,n.jsx)("div",{className:"mt-2",children:(0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)("div",{className:"w-[320px] h-[480px] bg-slate-50 rounded-xl animate-pulse"}),children:(0,n.jsx)(v,{labels:{score:C("score"),youWin:C("youWin"),gameOver:C("gameOver"),tryAgain:C("tryAgain"),startGame:C("startGame"),controlMouse:C("controlMouse"),controlTouch:C("controlTouch")}})})})]})]}
1):et?(0,n.jsxs)("div",{className:"w-full max-w-xl mx-auto space-y-4",children:[(0,n.jsx)("div",{className:"animate-[fadeIn_0.35s_cubic-bezier(0.16,1,0.3,1),spring-badge_0.55s_cubic-bezier(0.34,1.56,0.64,1)_forwards]",children:(0,n.jsx)(k,{previewUrl:en,verdict:et.verdict,confidence:et.confidence,toolType:et.toolType,isPaid:ek,blurScore:!1,isEdited:eC,labels:R})}),(0,n.jsx)("p",{className:"text-center text-sm text-slate-500",children:N("shareHook")}),(0,n.jsxs)("div",{className:"flex flex-col-reverse sm:flex-row gap-3",children:[(0,n.jsxs)("button",{onClick:eL,className:"flex-1 px-5 py-3.5 bg-white border-2 rounded-xl transition-colors font-semibold text-base inline-flex items-center justify-center gap-2 min-h-[48px] cursor-pointer ".concat(es?"cta-green-wave border-green-500 text-green-700 hover:bg-green-50":"border-slate-300 text-slate-700 hover:bg-slate-50"),children:[(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),N("buttonScanAnother")]}),(0,n.jsxs)("div",{className:"flex-1 flex gap-2",children:[(0,n.jsx)("button",{onClick:eS,className:"flex-1 px-5 py-3.5 text-white rounded-xl transition-colors font-semibold text-base inline-flex items-center justify-center gap-2 min-h-[48px] shadow-sm cursor-pointer ".concat(ey||eb?"bg-green-600":"bg-green-500 hover:bg-green-600"," ").concat(es||ey||eb?"":"cta-green-wave"),children:ey?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),N("buttonShared")]}):eb?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:3,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 13l4 4L19 7"})}),N("buttonImageCopied")]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z"})}),N("buttonShareResult")]})}),(0,n.jsx)("button",{onClick:eE,title:N("buttonDownloadTitle"),"aria-label":N("buttonDownloadTitle"),className:"shrink-0 w-12 min-h-[48px] bg-white border-2 border-slate-300 text-slate-600 rounded-xl hover:bg-slate-50 hover:text-slate-800 transition-colors inline-flex items-center justify-center cursor-pointer",children:(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})})})]})]}),(0,n.jsx)(p.A,{isOpen:eu,onClose:()=>ep(!1),type:em,context:"media",usedCount:m.yX,userPriceId:null==S||null==(u=S.user)?void 0:u.price_id,subscriptionStatus:null==S||null==(_=S.user)?void 0:_.subscription_status})]}):(0,n.jsxs)("div",{className:"w-full max-w-xl mx-auto space-y-8",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("input",{ref:I,type:"file",accept:"image/*,video/*,audio/*,application/pdf",onChange:eN,className:"hidden"}),(0,n.jsxs)("button",{type:"button",onClick:()=>{var e;return null==(e=I.current)?void 0:e.click()},onDragOver:e=>{e.preventDefault(),ec(!0)},onDragLeave:()=>ec(!1),onDrop:eT,className:"w-full block text-center rounded-3xl border-2 border-dashed transition-all p-10 sm:p-16 cursor-pointer focus:outline-none focus:ring-4 focus:ring-green-500/40 ".concat(ed?"border-green-500 bg-green-50":"border-green-400/60 bg-green-50/40 hover:border-green-500 hover:bg-green-50"),children:[(0,n.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-5",children:[(0,n.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center w-14 h-14 roun
1ded-2xl bg-white border border-green-200 shadow-sm text-green-600",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-7 h-7",children:[(0,n.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"3"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"3.5"}),(0,n.jsx)("path",{d:"M8 5l1.5-2h5L16 5"})]})}),(0,n.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-white border border-green-200 shadow-sm text-green-600",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-7 h-7",children:[(0,n.jsx)("rect",{x:"3",y:"6",width:"13",height:"12",rx:"2.5"}),(0,n.jsx)("path",{d:"M16 10l5-3v10l-5-3z"})]})}),(0,n.jsx)("span",{"aria-hidden":"true",className:"inline-flex items-center justify-center w-14 h-14 rounded-2xl bg-white border border-green-200 shadow-sm text-green-600",children:(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round",className:"w-7 h-7",children:[(0,n.jsx)("rect",{x:"9",y:"3",width:"6",height:"12",rx:"3"}),(0,n.jsx)("path",{d:"M5 11a7 7 0 0 0 14 0"}),(0,n.jsx)("path",{d:"M12 18v3"})]})})]}),(0,n.jsx)("p",{className:"text-xl sm:text-2xl font-bold text-slate-800",children:N("dropZoneHeading")}),(0,n.jsx)("p",{className:"text-sm text-slate-500 mt-2",children:U?N("dropZoneSubtitleMobile"):N.rich("dropZoneSubtitle",{kbd:()=>(0,n.jsx)("kbd",{className:"px-1.5 py-0.5 bg-white border border-slate-300 rounded text-xs font-mono",children:W})})})]}),q&&(0,n.jsxs)("div",{className:"mt-3 text-center text-sm text-red-600",children:[q,$>0&&(0,n.jsx)("span",{className:"block text-slate-500 mt-1",children:N("errorRetryIn",{seconds:$})})]})]}),(0,n.jsxs)("div",{className:"border-t border-slate-200 pt-6",children:[(0,n.jsx)("p",{className:"text-center text-base font-semibold text-slate-700 mb-3",children:N("textUpsellHeading")}),(0,n.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2",children:[(0,n.jsx)("input",{type:"text",placeholder:N("textUpsellPlaceholder"),value:ex,onChange:e=>ef(e.target.value),onKeyDown:e=>{"Enter"===e.key&&ex.trim()&&(o.analytics.trackEvent("scan_text_upsell_clicked",{from:"enter"}),sessionStorage.setItem("historyItem",JSON.stringify({original:ex.trim()})),E.push("/"))},className:"flex-1 px-4 py-3 border-2 border-slate-300 rounded-xl focus:border-green-500 focus:outline-none focus:ring-2 focus:ring-green-500/20 text-sm"}),(0,n.jsx)("button",{onClick:()=>{o.analytics.trackEvent("scan_text_upsell_clicked",{from:"button"}),ex.trim()&&sessionStorage.setItem("historyItem",JSON.stringify({original:ex.trim()})),E.push("/")},className:"px-5 py-3 bg-white border-2 border-slate-300 text-slate-700 rounded-xl hover:bg-slate-50 transition-colors font-medium text-sm inline-flex items-center justify-center gap-2 min-h-[44px] cursor-pointer",children:N("textUpsellButton")})]})]}),(0,n.jsx)(p.A,{isOpen:eu,onClose:()=>ep(!1),type:em,context:"media",usedCount:m.yX,userPriceId:null==S||null==(t=S.user)?void 0:t.price_id,subscriptionStatus:null==S||null==(r=S.user)?void 0:r.subscription_status})]})}},52588:(e,t,r)=>{"use strict";r.d(t,{D:()=>n,h:()=>l});let n=[{id:"ai",previewUrl:"/scan-samples/ai-midjourney.jpg",stampKey:"stampAiDetected",pillKey:"pillAi",stampColor:"#ef4444",toolType:"ai_image_detector",result:{verdict:"ai",confidence:98,label:"Likely AI-generated",isAIGenerated:!0,toolType:"ai_image_detector"}},{id:"human",previewUrl:"/scan-samples/real-selfie.jpg",stampKey:"stampCertifiedHuman",pillKey:"pillReal",stampColor:"#10b981",toolType:"ai_image_detector",result:{verdict:"human",confidence:97,label:"Real photo",isAIGenerated:!1,toolType:"ai_image_detector"}},{id:"edited",previewUrl:"/scan-samples/edited-stock.jpg",stampKey:"stampRealEdited",pillKey:"pillEdited",stampColor:"#f59e0b",toolType:"ai_image_detector",result:{verdict:"human",confidence:97,label:"Digitally Edited",isAIGenerated:!1,toolType:"ai_image_detector"}}
1],l=n.reduce((e,t)=>(e[t.id]=t,e),{})},91052:(e,t,r)=>{Promise.resolve().then(r.bind(r,14400)),Promise.resolve().then(r.bind(r,64707)),Promise.resolve().then(r.bind(r,3809))}},e=>{e.O(0,[6593,4121,5907,5977,7676,363,3211,2690,8654,8658,7358],()=>e(e.s=91052)),_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.