1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,14595,(e,t,a)=>{"use strict";var n=e.r(71645),s="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},r=n.useSyncExternalStore,i=n.useRef,l=n.useEffect,o=n.useMemo,d=n.useDebugValue;a.useSyncExternalStoreWithSelector=function(e,t,a,n,c){var u=i(null);if(null===u.current){var m={hasValue:!1,value:null};u.current=m}else m=u.current;var h=r(e,(u=o(function(){function e(e){if(!l){if(l=!0,r=e,e=n(e),void 0!==c&&m.hasValue){var t=m.value;if(c(t,e))return i=t}return i=e}if(t=i,s(r,e))return t;var a=n(e);return void 0!==c&&c(t,a)?(r=e,t):(r=e,i=a)}var r,i,l=!1,o=void 0===a?null:a;return[function(){return e(t())},null===o?void 0:function(){return e(o())}]},[t,a,n,c]))[0],u[1]);return l(function(){m.hasValue=!0,m.value=h},[h]),d(h),h}},13027,(e,t,a)=>{"use strict";t.exports=e.r(14595)},95057,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={formatUrl:function(){return l},formatWithValidation:function(){return d},urlObjectKeys:function(){return o}};for(var s in n)Object.defineProperty(a,s,{enumerable:!0,get:n[s]});let r=e.r(90809)._(e.r(98183)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:a}=e,n=e.protocol||"",s=e.pathname||"",l=e.hash||"",o=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:a&&(d=t+(~a.indexOf(":")?`[${a}]`:a),e.port&&(d+=":"+e.port)),o&&"object"==typeof o&&(o=String(r.urlQueryToSearchParams(o)));let c=e.search||o&&`?${o}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||i.test(n))&&!1!==d?(d="//"+(d||""),s&&"/"!==s[0]&&(s="/"+s)):d||(d=""),l&&"#"!==l[0]&&(l="#"+l),c&&"?"!==c[0]&&(c="?"+c),s=s.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${d}${s}${c}${l}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function d(e){return l(e)}},18581,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(71645);function s(e,t){let a=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=a.current;e&&(a.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(a.current=r(e,n)),t&&(s.current=r(t,n))},[e,t])}function r(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},73668,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"isLocalURL",{enumerable:!0,get:function(){return r}});let n=e.r(18967),s=e.r(52817);function r(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),a=new URL(e,t);return a.origin===t&&(0,s.hasBasePath)(a.pathname)}catch(e){return!1}}},84508,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return v}};for(var s in n)Object.defineProperty(a,s,{enumerable:!0,get:n[s]});let r=e.r(90809),i=e.r(43476),l=r._(e.r(71645)),o=e.r(95057),d=e.r(8372),c=e.r(18581),u=e.r(18967),m=e.r(5550);e.r(33525);let h=e.r(88540),p=e.r(91949),f=e.r(73668),x=e.r(9396);function g(t){var a,n;let s,r,g,[v,w]=(0,l.useOptimistic)(p.IDLE_LINK_STATUS),y=(0,l.useRef)(null),{href:j,as:_,children:N,prefetch:k=null,passHref:S,replace:E,shallow:C,scroll:T,onClick:I,onMouseEnter:A,onTouchStart:L,legacyBehavior:R=!1,onNavigate:$,transitionTypes:P,ref:F,unstable_dynamicOnHover:O,...M}=t;s=N,R&&("string"==typeof s||"number"==typeof s)&&(s=(0,i.jsx)("a",{children:s}));let D=l.default.useContext(d.AppRouterContext),z=!1!==k,U=!1!==k?null===(n=k)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,q="string"==typeof(a=_||j)?a:(0,o.formatUrl)(a);if(R){if(s?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});r=l.default.Children.only(s)}let W=R?r&&"object"==typeof r&&r.ref:F,V=l.default.useCallback(e=>(null!==D&&(y.current=(0,p.mountLinkInstance)(e,q,D,U,z,w)),()=>{y.current&&((0,p.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,p.unmountPrefetchableInstance)(e)}),[z,q,D,U,w]),B={ref:(0,c.useMergedRef)(V,W),onClick(t){R||"function"!=typeof I||I(t),R&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),!D||t.defaultPrevented||function(t,a,n,s,r,i,o){if("u">typeof window){let d,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((d=t.currentTarget.getAttribute("target"))&&"_self"!==d||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(a)){s&&(t.preventDefault(),location.replace(a));return}if(t.preventDefault(),i){let e=!1;if(i({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(99781);l.default.startTransition(()=>{u(a,s?"replace":"push",!1===r?h.ScrollBehavior.NoScroll:h.ScrollBehavior.Default,n.current,o)})}}(t,q,y,E,T,$,P)},onMouseEnter(e){R||"function"!=typeof A||A(e),R&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),D&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){R||"function"!=typeof L||L(e),R&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),D&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,u.isAbsoluteUrl)(q)?B.href=q:R&&!S&&("a"!==r.type||"href"in r.props)||(B.href=(0,m.addBasePath)(q)),g=R?l.default.cloneElement(r,B):(0,i.jsx)("a",{...M,...B,children:s}),(0,i.jsx)(b.Provider,{value:v,children:g})}e.r(84508);let b=(0,l.createContext)(p.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(b);("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},88143,(e,t,a)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:a,blurHeight:s,blurDataURL:r,objectFit:i}){let l=a?40*a:e,o=s?40*s:t,d=l&&o?`viewBox='0 0 ${l} ${o}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${d}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${d?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return i}};for(var s in n)Object.defineProperty(a,s,{enumerable:!0,get:n[s]});let r=["default","imgix","cloudinary","akamai","custom"],i={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"getImgProps",{enumerable:!0,get:function(){return d}}),e.r(33525);let n=e.r(43369),s=e.r(88143),r=e.r(87690),i=["-moz-initial","fill","none","scale-down",void 0];function l(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function d({src:e,sizes:t,unoptimized:a=!1,priority:c=!1,preload:u=!1,loading:m,className:h,quality:p,width:f,height:x,fill:g=!1,style:b,overrideSrc:v,onLoad:w,onLoadingComplete:y,placeholder:j="empty",blurDataURL:_,fetchPriority:N,decoding:k="async",layout:S,objectFit:E,objectPosition:C,lazyBoundary:T,lazyRoot:I,...A},L){var R;let $,P,F,{imgConf:O,showAltText:M,blurComplete:D,defaultLoader:z}=L,U=O||r.imageConfigDefault;if("allSizes"in U)$=U;else{let e=[...U.deviceSizes,...U.imageSizes].sort((e,t)=>
1e-t),t=U.deviceSizes.sort((e,t)=>e-t),a=U.qualities?.sort((e,t)=>e-t);$={...U,allSizes:e,deviceSizes:t,qualities:a}}if(void 0===z)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let q=A.loader||z;delete A.loader,delete A.srcSet;let W="__next_img_default"in q;if(W){if("custom"===$.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=q;q=t=>{let{config:a,...n}=t;return e(n)}}if(S){"fill"===S&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[S];e&&(b={...b,...e});let a={responsive:"100vw",fill:"100vw"}[S];a&&!t&&(t=a)}let V="",B=o(f),H=o(x);if((R=e)&&"object"==typeof R&&(l(R)||void 0!==R.src)){let t=l(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(P=t.blurWidth,F=t.blurHeight,_=_||t.blurDataURL,V=t.src,!g)if(B||H){if(B&&!H){let e=B/t.width;H=Math.round(t.height*e)}else if(!B&&H){let e=H/t.height;B=Math.round(t.width*e)}}else B=t.width,H=t.height}let G=!c&&!u&&("lazy"===m||void 0===m);(!(e="string"==typeof e?e:V)||e.startsWith("data:")||e.startsWith("blob:"))&&(a=!0,G=!1),$.unoptimized&&(a=!0),W&&!$.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(a=!0);let Y=o(p),K=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:E,objectPosition:C}:{},M?{}:{color:"transparent"},b),X=D||"empty"===j?null:"blur"===j?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:B,heightInt:H,blurWidth:P,blurHeight:F,blurDataURL:_||"",objectFit:K.objectFit})}")`:`url("${j}")`,J=i.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,Q=X?{backgroundSize:J,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Z=function({config:e,src:t,unoptimized:a,width:s,quality:r,sizes:i,loader:l}){if(a){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let a=t.indexOf("?");if(-1!==a){let n=new URLSearchParams(t.slice(a+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,a)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:o,kind:d}=function({deviceSizes:e,allSizes:t}
2,a,n){if(n){let a=/(^|\s)(1?\d?\d)vw/g,s=[];for(let e;e=a.exec(n);)s.push(parseInt(e[2]));if(s.length){let a=.01*Math.min(...s);return{widths:t.filter(t=>t>=e[0]*a),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof a?{widths:e,kind:"w"}:{widths:[...new Set([a,2*a].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,s,i),c=o.length-1;return{sizes:i||"w"!==d?i:"100vw",srcSet:o.map((a,n)=>`${l({config:e,src:t,quality:r,width:a})} ${"w"===d?a:n+1}${d}`).join(", "),src:l({config:e,src:t,quality:r,width:o[c]})}}({config:$,src:e,unoptimized:a,width:B,quality:Y,sizes:t,loader:q}),ee=G?"lazy":m;return{props:{...A,loading:ee,fetchPriority:N,width:B,height:H,decoding:k,className:h,style:{...K,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:v||Z.src},meta:{unoptimized:a,preload:u||c,placeholder:j,fill:g}}}},98879,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return l}});let n=e.r(71645),s="u"<typeof window,r=s?()=>{}:n.useLayoutEffect,i=s?()=>{}:n.useEffect;function l(e){let{headManager:t,reduceComponentsToState:a}=e;function l(){if(t&&t.mountedInstances){let e=n.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(a(e))}}return s&&(t?.mountedInstances?.add(e.children),l()),r(()=>(t?.mountedInstances?.add(e.children),()=>{t?.mountedInstances?.delete(e.children)})),r(()=>(t&&(t._pendingUpdate=l),()=>{t&&(t._pendingUpdate=l)})),i(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},25633,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return f},defaultHead:function(){return u}};for(var s in n)Object.defineProperty(a,s,{enumerable:!0,get:n[s]});let r=e.r(55682),i=e.r(90809),l=e.r(43476),o=i._(e.r(71645)),d=r._(e.r(98879)),c=e.r(42732);function u(){return[(0,l.jsx)("meta",{charSet:"utf-8"},"charset"),(0,l.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function m(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===o.default.Fragment?e.concat(o.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}e.r(33525);let h=["name","httpEquiv","charSet","itemProp"];function p(e){let t,a,n,s;return e.reduce(m,[]).reverse().concat(u().reverse()).filter((t=new Set,a=new Set,n=new Set,s={},e=>{let r=!0,i=!1;if(e.key&&"number"!=typeof e.key&&e.key.indexOf("$")>0){i=!0;let a=e.key.slice(e.key.indexOf("$")+1);t.has(a)?r=!1:t.add(a)}switch(e.type){case"title":case"base":a.has(e.type)?r=!1:a.add(e.type);break;case"meta":for(let t=0,a=h.length;t<a;t++){let a=h[t];if(e.props.hasOwnProperty(a))if("charSet"===a)n.has(a)?r=!1:n.add(a);else{let t=e.props[a],n=s[a]||new Set;("name"!==a||!i)&&n.has(t)?r=!1:(n.add(t),s[a]=n)}}}return r})).reverse().map((e,t)=>{let a=e.key||t;return o.default.cloneElement(e,{key:a})})}let f=function({children:e}){let t=(0,o.useContext)(c.HeadManagerContext);return(0,l.jsx)(d.default,{reduceComponentsToState:p,headManager:t,children:e})};("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},18556,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let n=e.r(55682)._(e.r(71645)),s=e.r(87690),r=n.default.createContext(s.imageConfigDefault)},65856,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"RouterContext",{enumerable:!0,get:function(){return n}});let n=e.r(55682)._(e.r(71645)).default.createContext(null)},70965,(e,t,a)=>{"use strict";function n(e,t){let a=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-a)<Math.abs(e-a)?t:e,t.qualities[0]):a}Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return i}});let n=e.r(70965),s=e.r(43369);function r({config:e,src:t,width:a,quality:i}){let l=(0,s.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let a=new URLSearchParams(t.slice(e+1)),n=a.get("dpl");if(n){l=n,a.delete("dpl");let s=a.toString();t=t.slice(0,e)+(s?"?"+s:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,
3configurable:!0});let o=(0,n.findClosestQuality)(i,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${a}&q=${o}${t.startsWith("/")&&l?`&dpl=${l}`:""}`}r.__next_img_default=!0;let i=r},5500,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"Image",{enumerable:!0,get:function(){return w}});let n=e.r(55682),s=e.r(90809),r=e.r(43476),i=s._(e.r(71645)),l=n._(e.r(74080)),o=n._(e.r(25633)),d=e.r(8927),c=e.r(87690),u=e.r(18556);e.r(33525);let m=e.r(65856),h=n._(e.r(1948)),p=e.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function x(e,t,a,n,s,r,i){let l=e?.src;e&&e["data-loaded-src"]!==l&&(e["data-loaded-src"]=l,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&s(!0),a?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,s=!1;a.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{s=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function g(e){return i.use?{fetchPriority:e}:{fetchpriority:e}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let b=(0,i.forwardRef)(({src:e,srcSet:t,sizes:a,height:n,width:s,decoding:l,className:o,style:d,fetchPriority:c,placeholder:u,loading:m,unoptimized:h,fill:f,onLoadRef:b,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:y,sizesInput:j,onLoad:_,onError:N,...k},S)=>{let E=(0,i.useCallback)(e=>{e&&(N&&(e.src=e.src),e.complete&&x(e,u,b,v,w,h,j))},[e,u,b,v,w,N,h,j]),C=(0,p.useMergedRef)(S,E);return(0,r.jsx)("img",{...k,...g(c),loading:m,width:s,height:n,decoding:l,"data-nimg":f?"fill":"1",className:o,style:d,sizes:a,srcSet:t,src:e,ref:C,onLoad:e=>{x(e.currentTarget,u,b,v,w,h,j)},onError:e=>{y(!0),"empty"!==u&&w(!0),N&&N(e)}})});function v({isAppRouter:e,imgAttributes:t}){let a={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...g(t.fetchPriority)};return e&&l.default.preload?(l.default.preload(t.src,a),null):(0,r.jsx)(o.default,{children:(0,r.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...a},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,i.forwardRef)((e,t)=>{let a=(0,i.useContext)(m.RouterContext),n=(0,i.useContext)(u.ImageConfigContext),s=(0,i.useMemo)(()=>{let e=f||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),a=e.deviceSizes.sort((e,t)=>e-t),s=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:a,qualities:s,localPatterns:"u"<typeof window?n?.localPatterns:e.localPatterns}},[n]),{onLoad:l,onLoadingComplete:o}=e,p=(0,i.useRef)(l);(0,i.useEffect)(()=>{p.current=l},[l]);let x=(0,i.useRef)(o);(0,i.useEffect)(()=>{x.current=o},[o]);let[g,w]=(0,i.useState)(!1),[y,j]=(0,i.useState)(!1),{props:_,meta:N}=(0,d.getImgProps)(e,{defaultLoader:h.default,imgConf:s,blurComplete:g,showAltText:y});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{..._,unoptimized:N.unoptimized,placeholder:N.placeholder,fill:N.fill,onLoadRef:p,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:j,sizesInput:e.sizes,ref:t}),N.preload?(0,r.jsx)(v,{isAppRouter:!a,imgAttributes:_}):null]})});("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},94909,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return d}};for(var s in n)Object.defineProperty(a,s,{enumerable:!0,get:n[s]});let r=e.r(55682),i=e.r(8927),l=e.r(5500),o=r._(e.r(1948));function d(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,a]of Object.entries(t))void 0===a&&delete t[e];return{props:t}}let c=l.Image},57688,(e,t,a)=>{t.exports=e.r(94909)},18566,(e,t,a)=>{t.exports=e.r(76562)},84702,(e,t,a)=>{let n=["resultado preliminar","preliminary result","actualizando análisis en tiempo real","live updating analysis"],s=e=>n.some(t=>(e||"").toLowerCase().includes(t)),r=({analysis_status:e,justification_ai:t}={})=>!!("fast"===e||s(t));t.exports={PRELIMINARY_MARKERS:n,hasPreliminaryMarker:s,isPreliminaryStatus:r,shouldPollAnalysis:({anal
3ysis_status:e,justification_ai:t,screenshot_url:a,fetch_blocked:n,pollStartedAt:s,nowMs:i}={})=>{let l=r({analysis_status:e,justification_ai:t}),o="number"==typeof i?i:Date.now();return!(o-(s||o)>=15e4)&&(!!l||!n&&!(a||"").trim())},POLL_TIMEOUT_MS:15e4}},54175,e=>{e.v({band:"Landing-module__lTnIja__band",chip:"Landing-module__lTnIja__chip",common:"Landing-module__lTnIja__common",commonLead:"Landing-module__lTnIja__commonLead",console:"Landing-module__lTnIja__console",demo:"Landing-module__lTnIja__demo",disclaimer:"Landing-module__lTnIja__disclaimer",donate:"Landing-module__lTnIja__donate",donateError:"Landing-module__lTnIja__donateError",edge:"Landing-module__lTnIja__edge",enterprise:"Landing-module__lTnIja__enterprise",enterpriseCta:"Landing-module__lTnIja__enterpriseCta",enterpriseList:"Landing-module__lTnIja__enterpriseList",error:"Landing-module__lTnIja__error",eyebrow:"Landing-module__lTnIja__eyebrow",field:"Landing-module__lTnIja__field",fieldIcon:"Landing-module__lTnIja__fieldIcon",fraudDot:"Landing-module__lTnIja__fraudDot",help:"Landing-module__lTnIja__help",helpAction:"Landing-module__lTnIja__helpAction",helpGrid:"Landing-module__lTnIja__helpGrid",helpLinks:"Landing-module__lTnIja__helpLinks",helpTitle:"Landing-module__lTnIja__helpTitle",hero:"Landing-module__lTnIja__hero",heroLinks:"Landing-module__lTnIja__heroLinks",intro:"Landing-module__lTnIja__intro",lead:"Landing-module__lTnIja__lead",lineIn:"Landing-module__lTnIja__lineIn",lineOut:"Landing-module__lTnIja__lineOut",liveTag:"Landing-module__lTnIja__liveTag",markBad:"Landing-module__lTnIja__markBad",markGood:"Landing-module__lTnIja__markGood",meterFraud:"Landing-module__lTnIja__meterFraud",meterLegit:"Landing-module__lTnIja__meterLegit",overview:"Landing-module__lTnIja__overview",pagerFraud:"Landing-module__lTnIja__pagerFraud",pagerLegit:"Landing-module__lTnIja__pagerLegit",pagerOff:"Landing-module__lTnIja__pagerOff",pagerOn:"Landing-module__lTnIja__pagerOn",panel:"Landing-module__lTnIja__panel",panelBusy:"Landing-module__lTnIja__panelBusy",pipeline:"Landing-module__lTnIja__pipeline",pipelineFraud:"Landing-module__lTnIja__pipelineFraud",pipelineLive:"Landing-module__lTnIja__pipelineLive",pipelineStat:"Landing-module__lTnIja__pipelineStat",preview:"Landing-module__lTnIja__preview",previewBar:"Landing-module__lTnIja__previewBar",previewCase:"Landing-module__lTnIja__previewCase",previewDomain:"Landing-module__lTnIja__previewDomain",previewDomainLink:"Landing-module__lTnIja__previewDomainLink",previewDots:"Landing-module__lTnIja__previewDots",previewLines:"Landing-module__lTnIja__previewLines",previewMeter:"Landing-module__lTnIja__previewMeter",previewPager:"Landing-module__lTnIja__previewPager",previewScore:"Landing-module__lTnIja__previewScore",previewShare:"Landing-module__lTnIja__previewShare",previewShareIdle:"Landing-module__lTnIja__previewShareIdle",previewStack:"Landing-module__lTnIja__previewStack",previewTag:"Landing-module__lTnIja__previewTag",previewVerdict:"Landing-module__lTnIja__previewVerdict",proof:"Landing-module__lTnIja__proof",proofFraud:"Landing-module__lTnIja__proofFraud",pulse:"Landing-module__lTnIja__pulse",rectify:"Landing-module__lTnIja__rectify",shareIcon:"Landing-module__lTnIja__shareIcon",shareRule:"Landing-module__lTnIja__shareRule",shareText:"Landing-module__lTnIja__shareText",sheen:"Landing-module__lTnIja__sheen",srOnly:"Landing-module__lTnIja__srOnly",stage:"Landing-module__lTnIja__stage",statFraud:"Landing-module__lTnIja__statFraud",stepNumber:"Landing-module__lTnIja__stepNumber",submit:"Landing-module__lTnIja__submit",sweep:"Landing-module__lTnIja__sweep",tabs:"Landing-module__lTnIja__tabs",verdictFraud:"Landing-module__lTnIja__verdictFraud",verdictLegit:"Landing-module__lTnIja__verdictLegit"})},34647,(e,t,a)=>{let n=["FRAUDULENTO","FRAUDULENT","FAKE","CUIDADO"],s=["OK","LEGIT","LEGITIMO","LEGITIMATE","SAFE","SEGURO","VERIFICADO"],r=["SUSPICIOUS","SUSPICIOSO","SOSPECHOSO"],i=["INSUFFICIENT_DATA","INSUFICIENTE"],l="border-slate-300/25 bg-slate-300/10 text-slate-200 ring-slate-400/10",o="bg-slate-300";t.exports={getRecentVerdictBadge:function(e,t){let a=(e||"").toUpperCase(),d="en"===t;return n.includes(a)?{kind:"fraud",label:d?"Fraudulent":"Fraudulento",tone:"border-rose-300/30 bg-rose-400/12 text-rose-100 ring-rose-400/10",dot:"bg-rose-300"}:s.includes(a)?{kind:"safe",label:d?"Legitimate":"LegÃtimo",tone:"border-emerald-300/30 bg-emerald-400/12 text-emerald-100 ring-emerald-400/10",dot:"bg-emerald-300"}:r.includes(a)?{kind:"suspicious",label:d?"Suspicious":"Sospechoso",tone:"border-amber-300/30 bg-amber-300/12 text-amber-100 ring-amber-300/10",dot:"bg-
3amber-300"}:i.includes(a)?{kind:"no_verdict",label:d?"No verdict":"Sin veredicto",tone:l,dot:o}:{kind:"unknown",label:d?"Unknown":"Desconocido",tone:l,dot:o}},FRAUD_VALUES:n,SAFE_VALUES:s,SUSPICIOUS_VALUES:r,NO_VERDICT_VALUES:i}},16015,(e,t,a)=>{},98547,(e,t,a)=>{var n=e.i(47167);e.r(16015);var s=e.r(71645),r=s&&"object"==typeof s&&"default"in s?s:{default:s},i=void 0!==n.default&&n.default.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,a=t.name,n=void 0===a?"stylesheet":a,s=t.optimizeForSpeed,r=void 0===s?i:s;d(l(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",d("boolean"==typeof r,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=r,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,a=e.prototype;return a.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},a.isOptimizeForSpeed=function(){return this._optimizeForSpeed},a.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(i||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,a){return"number"==typeof a?e._serverSheet.cssRules[a]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),a},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},a.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},a.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},a.insertRule=function(e,t){if(d(l(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var a=this.getSheet();"number"!=typeof t&&(t=a.cssRules.length);try{a.insertRule(e,t)}catch(t){return i||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},a.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var a="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!a.cssRules[e])return e;a.deleteRule(e);try{a.insertRule(t,e)}catch(n){i||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),a.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];d(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},a.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},a.flush=function(){this._injected=!1,this._rulesCount=0,"u">
3typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},a.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,a){return a?t=t.concat(Array.prototype.map.call(e.getSheetForTag(a).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},a.makeStyleTag=function(e,t,a){t&&d(l(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var s=document.head||document.getElementsByTagName("head")[0];return a?s.insertBefore(n,a):s.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,a=e.length;a;)t=33*t^e.charCodeAt(--a);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var a=String(t),n=e+a;return u[n]||(u[n]="jsx-"+c(e+"-"+a)),u[n]}function h(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var a=e+t;return u[a]||(u[a]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[a]}var p=function(){function e(e){var t=void 0===e?{}:e,a=t.styleSheet,n=void 0===a?null:a,s=t.optimizeForSpeed,r=void 0!==s&&s;this._sheet=n||new o({name:"styled-jsx",optimizeForSpeed:r}),this._sheet.inject(),n&&"boolean"==typeof r&&(this._sheet.setOptimizeForSpeed(r),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var a=this.getIdAndRules(e),n=a.styleId,s=a.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var r=s.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=r,this._instancesCounts[n]=1},t.remove=function(e){var t=this,a=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(a in this._instancesCounts,"styleId: `"+a+"` not found"),this._instancesCounts[a]-=1,this._instancesCounts[a]<1){var n=this._fromServer&&this._fromServer[a];n?(n.parentNode.removeChild(n),delete this._fromServer[a]):(this._indices[a].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[a]),delete this._instancesCounts[a]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],a=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return a[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,a;return t=this.cssRules(),void 0===(a=e)&&(a={}),t.map(function(e){var t=e[0],n=e[1];return r.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:a.nonce?a.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,a=e.dynamic,n=e.id;if(a){var s=m(n,a);return{styleId:s,rules:Array.isArray(t)?t.map(function(e){return h(s,e)}):[h(s,t)]}}return{styleId:m(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),f=s.createContext(null);function x(){return new p}function g(){return s.useContext(f)}f.displayName="StyleSheetContext";var b=r.default.useInsertionEffect||r.default.useLayoutEffect,v="u">typeof window?x():void 0;function w(e){var t=v||g();return t&&("u"<typeof window?t.add(e):b(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}w.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},a.StyleRegistry=function(e){var t=e.registry,a=e.children,n=s.useContext(f),i=s.useState(function(){return n||t||x()})[0];return r.default.createElement(f.Provider,{value:i},a)},a.createStyleRegistry=x,a.style=w,a.useStyleRegistry=g},37902,(e,t,a)=>{t.exports=e.r(98547).style},31713,e=>{"use strict";let t,a,n,s,r,i,l,o,d,c,u,m,h,p,f,x,g,b,v;var w,y,j,_,N,k,S,E=e.i(43476),C=e.i(47167),T=e.i(71645);let I={es:{analisis:"Análisis",pro:"PRO",faq:"FAQ",contacto:"Contacto",sitios_analizados:"Sitios analizados",sitios_analizados_desc:"por desenmascara.me",fraudulentos_detectados:"Sitios fraudulentos",fraudulentos_detectados_desc:"detectados con IA",es_confiable:"¿Es este sitio web confiable?",ejemplo_url:"ej: nike.com",comprobar:"Analizar dominio gratis",ver_informe_muestra:"Ver informe de ejemplo",analizando:"Analizando...",evaluacion_ai:"Evaluación AI",razonamiento_ai:"Razonamiento de la IA",el_sitio_web:"El sitio web",parece:"parece",fraudulento:"â FRAUDULENTO",verificado:"â
LEGÃTIMO",sospechoso:"â ï¸ SOSPECHOSO",desconocido:"â DESCONOCIDO",limite_es:"â ï¸ Has alcanzado el lÃmite diario de análisis gratuitos ({count} de {limite}). Puedes esperar 24h o suscribirte a PRO.",volver_ultimo_es:"Volver al último análisis",razonamiento:"Razonamiento",razon:"Razón",desenmascarando:"desenmascarando web...",error_desconocido:"Error desconocido",error_servidor:"No se pudo contactar con el servidor.",titulo:"TÃtulo",dias_hasta_expiracion:"DÃas hasta expiración",pais_registro:"PaÃs de registro",registrador:"Registrador",no_dis
3ponible:"No disponible",no_detectado:"No detectado",ai_score_note:"De 0 a 100: cuanto más alto, mayor riesgo.",firmas_html_sospechosas:"Firmas HTML sospechosas detectadas",no_firmas_sospechosas:"No se detectaron firmas sospechosas.",marcas_fraudulentas:"Marcas potencialmente fraudulentas encontradas",no_marcas_sospechosas:"No se detectaron marcas sospechosas.",terminos_sospechosos:"Términos sospechosos encontrados",no_terminos_sospechosos:"No se detectaron términos sospechosos.",perfiles_suspendidos:"Perfiles suspendidos detectados",ver_whatweb:"Ver WhatWeb",ver_cabeceras_http:"Ver cabeceras HTTP",ver_html_capturado:"Ver HTML capturado",ver_captura_completa:"Ver captura en tamaño completo",pro_subtitulo:"Accede a las funciones avanzadas de desenmascara.me PRO",usuario:"Usuario",email:"Email",contrasena:"Contraseña",repetir_contrasena:"Repetir contraseña",registrar:"Registrar",login:"Login",ver_perfil:"Ver perfil",registro_ok:"¡Registro correcto!",login_ok:"¡Login correcto!",error_registro:"Error en el registro",error_login:"Error en el login",no_token:"No se encontró token. Por favor, inicia sesión.",no_autenticado:"No autenticado",fecha_registro:"Fecha registro",ultimos_analisis:"Ãltimos análisis",metadatos:"Metadatos",extracto:"Extracto",extracto_icono:"ð",ver_mas_senales:"Ver más señales",ocultar_mas_senales:"Ocultar señales",descripcion_home:"Desenmascara.me detecta fraude y scams en cualquier web: phishing, tiendas falsas, chiringuitos de inversión y cripto, endorsements falsos de famosos, entradas fraudulentas, suplantación de marcas y de gobiernos, y trampas ocultas dirigidas a agentes de IA. Al descubierto en segundos, con cada dominio cruzado contra alertas de más de 55 reguladores financieros en todo el mund
3o.",posicionamiento:"Detecta phishing, tiendas falsas, chiringuitos de inversión, endorsements falsos de famosos y trampas para agentes de IA. Cruzamos cada dominio con +55 reguladores financieros del mundo.",analysis_messages:["Analizando el sitio web...","Comprobando certificados y conexiones seguras...","Buscando coincidencias con miles de webs fraudulentas conocidas...","Este análisis puede tardar unos segundos. ¡Gracias por tu paciencia!","El análisis es complejo: revisando contenido, enlaces y tecnologÃa...","Casi listo... ¡Estamos afinando el veredicto final!","¿SabÃas que cada web se compara con cientos de señales de confianza?","¡No cierres la página! Tu seguridad es nuestra prioridad.","Ãltimos retoques... tu resultado estará disponible en breve."],disclaimer_ai:"Aviso: esta evaluación se basa en inteligencia artificial y puede no ser completamente precisa. Usa la información con precaución. desenmascara.me no se responsabiliza del uso de los resultados.",error_dominio_invalido:"El dominio introducido no es válido.",solo_dominio:"Por ahora solo se permite el análisis de dominios puros (sin rutas ni barras).",forgot_password:"¿Olvidaste tu contraseña?",forgot_password_title:"Recuperar contraseña",forgot_password_desc:"Introduce tu email y te enviaremos un enlace para restablecer tu contraseña.",forgot_password_submit:"Enviar enlace",forgot_password_sent:"Si el email existe en nuestro sistema, recibirás un enlace de recuperación en breve.",reset_password_title:"Restablecer contraseña",reset_password_desc:"Introduce tu nueva contraseña.",new_password:"Nueva contraseña",confirm_new_password:"Confirmar nueva contraseña",reset_password_submit:"Restablecer contraseña",reset_password_success:"Contraseña restablecida correctamente. Redirigiendo al login...",reset_password_error:"El enlace es inválido o ha expirado. Solicita uno nuevo.",verify_email_title:"Verificar email",verify_email_checking:"Verificando tu email...",verify_email_success:"¡Email verificado correctamente! Redirigiendo...",verify_email_error:"El enlace de verificación es inválido o ha expirado.",verify_email_resend:"Reenviar email de verificación",email_not_verified_banner:"Tu email no está verificado. Revisa tu bandeja de entrada o",email_not_verified_resend:"reenvÃa el email de verificación",email_resend_success:"Email de verificación reenviado.",email_resend_error:"No se pudo reenviar el email. Inténtalo más tarde.",register_check_email:"Cuenta creada. Revisa tu email para verificar tu cuenta. Redirigiendo..."},en:{fraudulentos_detectados_desc:"with AI",sitios_analizados_desc:"with desenmascara.me",analisis:"Analysis",pro:"PRO",faq:"FAQ",contacto:"Contact",sitios_analizados:"Sites analyzed",fraudulentos_detectados:"Fraudulent sites",es_confiable:"Is this website trustworthy?",ejemplo_url:"e.g. nike.com",comprobar:"Analyze Domain Free",ver_informe_muestra:"See sample report",analizando:"Analyzing...",evaluacion_ai:"AI Evaluation",razonamiento_ai:"AI Reasoning",el_sitio_web:"The website",parece:"seems",fraudulento:"â FRAUDULENT",verificado:"â
LEGITIMATE",sospechoso:"â ï¸ SUSPICIOUS",desconocido:"â UNKNOWN",limite_en:"â ï¸ You have reached the daily limit of free analyses ({count} out of {limit}). You can wait 24h or subscribe to PRO.",volver_ultimo_en:"Back to your last analysis",razonamiento:"Reasoning",razon:"Reason",desenmascarando:"unmasking website...",error_desconocido:"Unknown error",error_servidor:"Could not contact the server.",titulo:"Title",dias_hasta_expiracion:"Days until expiration",pais_registro:"Registration country",registrador:"Registrar",no_disponible:"Not available",no_detectado:"Not detected",ai_score_note:"0 to 100 â the higher, the riskier.",firmas_html_sospechosas:"Suspicious HTML signatures detected",no_firmas_sospechosas:"No suspicious signatures detected.",marcas_fraudulentas:"Potentially fraudulent brands found",no_marcas_sospechosas:"No suspicious brands detected.",terminos_sospechosos:"Suspicious terms found",no_terminos_sospechosos:"No suspicious terms detected.",perfiles_suspendidos:"Suspended profiles detected",ver_whatweb:"View WhatWeb",ver_cabeceras_http:"View HTTP headers",ver_html_capturado:"View captured HTML",ver_captura_completa:"View full-size screenshot",pro_subtitulo:"Access advanced features of desenmascara.me PRO",usuario:"Username",email:"Email",contrasena:"Password",repetir_contrasena:"Repeat password",registrar:"Register",login:"Login",ver_perfil:"View profile",registro_ok:"Registration successful!",login_ok:"Login successful!",error_registro:"Registration error",error_login:"Login error",no_token:"No token found. Please log in.",no_autenticado:"Not authenticated",fecha_registro:"Registration date",ultimos_analisis:"Latest analyses",metadatos:"Metadata",extracto:"Extract",extracto_icono:"ð",ver_mas_senales:"See more signals",ocultar_mas_senales:"Hide signals",descripcion_home:"Desenmascara.me detects fraud and scams on any website: phishing, fake stores, investment and crypto schemes, fake celebrity endorsements, ticket fraud, brand and government impersonation, and hidden traps targeting AI agents. Unmasked in seconds, with every domain cross-checked against alerts from more than 55 financial regulators worldwide.",posicionamiento:"Detects phishing, fake stores, investment schemes, fake celebrity endorsements, and AI-agent traps. We cross-check every domain against 55+ financial regulators worldwide.",analysis_messages:["Analyzing the website...","Verifying certificates and secure connections...","Comparing with thousands of known fraudulent websites...","This analysis may take a few seconds. Thanks for your patience!","Complex analysis: reviewing content, links, and technology...","Almost done... We are fine-tuning the final verdict!","Did you know? Each site is compared against hundreds of trust signals.","Don't close the page! Your security is our priority.","Final touches... your result will be ready soon."],disclaimer_ai:"Disclaimer: this evaluation is based on artificial intelligence and may not be completely accurate. Use the information with caution. desenmascara.me is not responsible for the use of these results.",error_dominio_invalido:"The entered domain is not val
3id.",solo_dominio:"For now, only pure domains can be analyzed (no paths or URLs with slashes).",forgot_password:"Forgot your password?",forgot_password_title:"Reset password",forgot_password_desc:"Enter your email and we'll send you a link to reset your password.",forgot_password_submit:"Send reset link",forgot_password_sent:"If that email exists in our system, you'll receive a reset link shortly.",reset_password_title:"Reset password",reset_password_desc:"Enter your new password.",new_password:"New password",confirm_new_password:"Confirm new password",reset_password_submit:"Reset password",reset_password_success:"Password reset successfully. Redirecting to login...",reset_password_error:"This link is invalid or has expired. Please request a new one.",verify_email_title:"Verify email",verify_email_checking:"Verifying your email...",verify_email_success:"Email verified successfully! Redirecting...",verify_email_error:"This verification link is invalid or has expired.",verify_email_resend:"Resend verification email",email_not_verified_banner:"Your email is not verified. Check your inbox or",email_not_verified_resend:"resend verification email",email_resend_success:"Verification email resent.",email_resend_error:"Could not resend email. Please try again later.",register_check_email:"Account created. Check your email to verify your account. Redirecting..."}};var A=((t=A||{}).Space=" ",t.Enter="Enter",t.Escape="Escape",t.Backspace="Backspace",t.Delete="Delete",t.ArrowLeft="ArrowLeft",t.ArrowUp="ArrowUp",t.ArrowRight="ArrowRight",t.ArrowDown="ArrowDown",t.Home="Home",t.End="End",t.PageUp="PageUp",t.PageDown="PageDown",t.Tab="Tab",t),L=Object.defineProperty,R=(e,t,a)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?L(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,a};let $=new class{constructor(){R(this,"current",this.detect()),R(this,"handoffState","pending"),R(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}},P=(e,t)=>{$.isServer?(0,T.useEffect)(e,t):(0,T.useLayoutEffect)(e,t)};function F(e){let t=(0,T.useRef)(e);return P(()=>{t.current=e},[e]),t}function O(e,t,a,n){let s=F(a);(0,T.useEffect)(()=>{function a(e){s.current(e)}return(e=null!=e?e:window).addEventListener(t,a,n),()=>e.removeEventListener(t,a,n)},[e,t,n])}class M extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function D(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}function z(){let e=[],t={addEventListener:(e,a,n,s)=>(e.addEventListener(a,n,s),t.add(()=>e.removeEventListener(a,n,s))),requestAnimationFrame(...e){let a=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(a))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let a=setTimeout(...e);return t.add(()=>clearTimeout(a))},microTask(...e){let a={current:!0};return D(()=>{a.current&&e[0]()}),t.add(()=>{a.current=!1})},style(e,t,a){let n=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:a}),this.add(()=>{Object.assign(e.style,{[t]:n})})},group(e){let t=z();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let a=e.indexOf(t);if(a>=0)for(let t of e.splice(a,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}var U=Object.defineProperty,q=(e,t,a)=>{if(!t.has(e))throw TypeError("Cannot "+a)},W=(e,t,a)=>(q(e,t,"read from private field"),a?a.call(e):t.get(e)),V=(e,t,a)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,a)},B=(e,t,a,n)=>(q(e,t,"write to private field"),n?n.call(e,a):t.set(e,a),a);class H{constructor(e){V(this,j,{}),V(this,_,new M(()=>new Set)),V(this,N,new Set),((e,t,a)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?U(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a}
3)(this,"disposables",z()),B(this,j,e)}dispose(){this.disposables.dispose()}get state(){return W(this,j)}subscribe(e,t){let a={selector:e,callback:t,current:e(W(this,j))};return W(this,N).add(a),this.disposables.add(()=>{W(this,N).delete(a)})}on(e,t){return W(this,_).get(e).add(t),this.disposables.add(()=>{W(this,_).get(e).delete(t)})}send(e){let t=this.reduce(W(this,j),e);if(t!==W(this,j)){for(let e of(B(this,j,t),W(this,N))){let t=e.selector(W(this,j));G(e.current,t)||(e.current=t,e.callback(t))}for(let t of W(this,_).get(e.type))t(W(this,j),e)}}}function G(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&Y(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&Y(e.entries(),t.entries()):!!(K(e)&&K(t))&&Y(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function Y(e,t){for(;;){let a=e.next(),n=t.next();if(a.done&&n.done)return!0;if(a.done||n.done||!Object.is(a.value,n.value))return!1}}function K(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}function X(e,t,...a){if(e in t){let n=t[e];return"function"==typeof n?n(...a):n}let n=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,X),n}j=new WeakMap,_=new WeakMap,N=new WeakMap;var J=Object.defineProperty,Q=(e,t,a)=>{let n;return(n="symbol"!=typeof t?t+"":t)in e?J(e,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[n]=a,a},Z=((a=Z||{})[a.Push=0]="Push",a[a.Pop=1]="Pop",a);let ee={0(e,t){let a=t.id,n=e.stack,s=e.stack.indexOf(a);if(-1!==s){let t=e.stack.slice();return t.splice(s,1),t.push(a),n=t,{...e,stack:n}}return{...e,stack:[...e.stack,a]}},1(e,t){let a=t.id,n=e.stack.indexOf(a);if(-1===n)return e;let s=e.stack.slice();return s.splice(n,1),{...e,stack:s}}};class et extends H{constructor(){super(...arguments),Q(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),Q(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new et({stack:[]})}reduce(e,t){return X(t.type,ee,e,t)}}let ea=new M(()=>et.new());var en=e.i(13027);let es=function(e){let t=F(e);return T.default.useCallback((...e)=>t.current(...e),[t])};function er(e,t,a=G){return(0,en.useSyncExternalStoreWithSelector)(es(t=>e.subscribe(ei,t)),es(()=>e.state),es(()=>e.state),es(t),a)}function ei(e){return e}function el(e,t){let a=(0,T.useId)(),n=ea.get(t),[s,r]=er(n,(0,T.useCallback)(e=>[n.selectors.isTop(e,a),n.selectors.inStack(e,a)],[n,a]));return P(()=>{if(e)return n.actions.push(a),()=>n.actions.pop(a)},[n,e,a]),!!e&&(!r||s)}function eo(e){var t,a;return $.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(a=null==(t=e.current)?void 0:t.ownerDocument)?a:document:null:document}let ed=new Map,ec=new Map;function eu(e){var t;let a=null!=(t=ec.get(e))?t:0;return ec.set(e,a+1),0!==a||(ed.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>(function(e){var t;let a=null!=(t=ec.get(e))?t:1;if(1===a?ec.delete(e):ec.set(e,a-1),1!==a)return;let n=ed.get(e);n&&(null===n["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",n["aria-hidden"]),e.inert=n.inert,ed.delete(e))})(e)}function em(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function eh(e){return em(e)&&"tagName"in e}function ep(e){return eh(e)&&"accessKey"in e}function ef(e){return eh(e)&&"tabIndex"in e}let ex=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),eg=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var eb=((n=eb||{})[n.First=1]="First",n[n.Previous=2]="Previous",n[n.Next=4]="Next",n[n.Last=8]="Last",n[n.WrapAround=16]="WrapAround",n[n.NoScroll=32]="NoScroll",n[n.AutoFocus=64]="AutoFocus",n),ev=((s=ev||{})[s.Error=0]="Error",s[s.Overflow=1]="Overflow",s[s.Success=2]="Success",s[s.Underflow=3]="Underflow",s),ew=((r=ew||{})[r.Previous=-1]="Previous",r[r.Next=1]="Next",r),ey=((i=ey||{})[i.Strict=0]="Strict",i[i.Loose=1]="Loose",i),ej=((l=ej||{})[l.Keyboard=0]="Keyboard",l[l.Mouse=1]="Mouse",l);function e_(e){null==e||e.focus({preventScroll:!0})}function eN(e,t,{sorted:a=!0,relativeTo:n=null,skipElements:s=[]}={}){var r,i,l;let o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,d=Array.isArray(e)?a?function(e,t=e=>e){return e.slice().sort((e,a)=>{let n=t(e),s=t(a);if(null===n||null===s)return 0;let r=n.compareDocumentPosition(s);return r&Node.DOCUMENT_POSITION_FOLLOWING?-1:r&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(eg)).sort((e,t)=>
3Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(ex)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e);s.length>0&&d.length>1&&(d=d.filter(e=>!s.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),n=null!=n?n:o.activeElement;let c=(()=>{if(5&t)return 1;if(10&t)return -1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,d.indexOf(n))-1;if(4&t)return Math.max(0,d.indexOf(n))+1;if(8&t)return d.length-1;throw Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),m=32&t?{preventScroll:!0}:{},h=0,p=d.length,f;do{if(h>=p||h+p<=0)return 0;let e=u+h;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}null==(f=d[e])||f.focus(m),h+=c}while(f!==o.activeElement)return 6&t&&null!=(l=null==(i=null==(r=f)?void 0:r.matches)?void 0:i.call(r,"textarea,input"))&&l&&f.select(),2}function ek(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function eS(){return ek()||/Android/gi.test(window.navigator.userAgent)}function eE(e,t,a,n){let s=F(a);(0,T.useEffect)(()=>{if(e)return document.addEventListener(t,a,n),()=>document.removeEventListener(t,a,n);function a(e){s.current(e)}},[e,t,n])}function eC(e,t,a,n){let s=F(a);(0,T.useEffect)(()=>{if(e)return window.addEventListener(t,a,n),()=>window.removeEventListener(t,a,n);function a(e){s.current(e)}},[e,t,n])}function eT(...e){return(0,T.useMemo)(()=>eo(...e),[...e])}function eI(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}"u">typeof window&&"u">typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));var eA=((o=eA||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),eL=((d=eL||{})[d.Unmount=0]="Unmount",d[d.Hidden=1]="Hidden",d);function eR(){let e,t,a=(e=(0,T.useRef)([]),t=(0,T.useCallback)(t=>{for(let a of e.current)null!=a&&("function"==typeof a?a(t):a.current=t)},[]),(...a)=>{if(!a.every(e=>null==e))return e.current=a,t});return(0,T.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:a,defaultTag:n,features:s,visible:r=!0,name:i,mergeRefs:l}){l=null!=l?l:eP;let o=eF(t,e);if(r)return e$(o,a,n,i,l);let d=null!=s?s:0;if(2&d){let{static:e=!1,...t}=o;if(e)return e$(t,a,n,i,l)}if(1&d){let{unmount:e=!0,...t}=o;return X(+!e,{0:()=>null,1:()=>e$({...t,hidden:!0,style:{display:"none"}},a,n,i,l)})}return e$(o,a,n,i,l)})({mergeRefs:a,...e}),[a])}function e$(e,t={},a,n,s){let{as:r=a,children:i,refName:l="ref",...o}=eD(e,["unmount","static"]),d=void 0!==e.ref?{[l]:e.ref}:{},c="function"==typeof i?i(t):i;"className"in o&&o.className&&"function"==typeof o.className&&(o.className=o.className(t)),o["aria-labelledby"]&&o["aria-labelledby"]===o.id&&(o["aria-labelledby"]=void 0);let u={};if(t){let e=!1,a=[];for(let[n,s]of Object.entries(t))"boolean"==typeof s&&(e=!0),!0===s&&a.push(n.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(u["data-headlessui-state"]=a.join(" "),a))u[`data-${e}`]=""}if(r===T.Fragment&&(Object.keys(eM(o)).length>0||Object.keys(eM(u)).length>0))if(!(0,T.isValidElement)(c)||Array.isArray(c)&&c.length>1){if(Object.keys(eM(o)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${n} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(eM(o)).concat(Object.keys(eM(u))).map(e=>` - ${e}`).join(` 4`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>` - ${e}`).join(` 5`)].join(` 6`))}else{var m;let e=c.props,t=null==e?void 0:e.className,a="function"==typeof t?(...e)=>eI(t(...e),o.className):eI(t,o.className),n=eF(c.props,eM(eD(o,["ref"])));for(let e in u)e in n&&delete u[e];return(0,T.cloneElement)(c,Object.assign({},n,u,d,{ref:s((m=c,T.default.version.split(".")[0]>="19"?m.props.ref:m.ref),d.ref)},a?{className:a}:{}))}return(0,T.createElement)(r,Object.assign({}
6,eD(o,["ref"]),r!==T.Fragment&&d,r!==T.Fragment&&u),c)}function eP(...e){return e.every(e=>null==e)?void 0:t=>{for(let a of e)null!=a&&("function"==typeof a?a(t):a.current=t)}}function eF(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},a={};for(let n of e)for(let e in n)e.startsWith("on")&&"function"==typeof n[e]?(null!=a[e]||(a[e]=[]),a[e].push(n[e])):t[e]=n[e];if(t.disabled||t["aria-disabled"])for(let e in a)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(a[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in a)Object.assign(t,{[e](t,...n){for(let s of a[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;s(t,...n)}}});return t}function eO(e){var t;return Object.assign((0,T.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function eM(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function eD(e,t=[]){let a=Object.assign({},e);for(let e of t)e in a&&delete a[e];return a}var ez=((c=ez||{})[c.None=1]="None",c[c.Focusable=2]="Focusable",c[c.Hidden=4]="Hidden",c);let eU=eO(function(e,t){var a;let{features:n=1,...s}=e,r={ref:t,"aria-hidden":(2&n)==2||(null!=(a=s["aria-hidden"])?a:void 0),hidden:(4&n)==4||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(4&n)==4&&(2&n)!=2&&{display:"none"}}};return eR()({ourProps:r,theirProps:s,slot:{},defaultTag:"span",name:"Hidden"})}),eq=(0,T.createContext)(null);function eW({children:e,node:t}){let[a,n]=(0,T.useState)(null),s=eV(null!=t?t:a);return T.default.createElement(eq.Provider,{value:s},e,null===s&&T.default.createElement(eU,{features:ez.Hidden,ref:e=>{var t,a;if(e){for(let s of null!=(a=null==(t=eo(e))?void 0:t.querySelectorAll("html > *, body > *"))?a:[])if(s!==document.body&&s!==document.head&&eh(s)&&null!=s&&s.contains(e)){n(s);break}}}}))}function eV(e=null){var t;return null!=(t=(0,T.useContext)(eq))?t:e}let eB=(w=()=>new Map,y={PUSH(e,t){var a;let n=null!=(a=this.get(e))?a:{doc:e,count:0,d:z(),meta:new Set};return n.count++,n.meta.add(t),this.set(e,n),this},POP(e,t){let a=this.get(e);return a&&(a.count--,a.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:a}){let n,s={doc:e,d:t,meta:function(e){let t={};for(let a of e)Object.assign(t,a(t));return t}(a)},r=[ek()?{before({doc:e,d:t,meta:a}){function n(e){return a.containers.flatMap(e=>e()).some(t=>t.contains(e))}t.microTask(()=>{var a;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let a=z();a.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>a.dispose()))}let s=null!=(a=window.scrollY)?a:window.pageYOffset,r=null;t.addEventListener(e,"click",t=>{if(ef(t.target))try{let a=t.target.closest("a");if(!a)return;let{hash:s}=new URL(a.href),i=e.querySelector(s);ef(i)&&!n(i)&&(r=i)}catch{}},!0),t.addEventListener(e,"touchstart",e=>{var a;if(ef(e.target)&&eh(a=e.target)&&"style"in a)if(n(e.target)){let a=e.target;for(;a.parentElement&&n(a.parentElement);)a=a.parentElement;t.style(a,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")}),t.addEventListener(e,"touchmove",e=>{if(ef(e.target)){var t;if(!(ep(t=e.target)&&"INPUT"===t.nodeName))if(n(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{var e;s!==(null!=(e=window.scrollY)?e:window.pageYOffset)&&window.scrollTo(0,s),r&&r.isConnected&&(r.scrollIntoView({block:"nearest"}),r=null)})})}}:{},{before({doc:e}){var t;let a=e.documentElement;n=Math.max(0,(null!=(t=e.defaultView)?t:window).innerWidth-a.clientWidth)},after({doc:e,d:t}){let a=e.documentElement,s=Math.max(0,a.clientWidth-a.offsetWidth),r=Math.max(0,n-s);t.style(a,"paddingRight",`${r}px`)}},{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];r.forEach(({before:e})=>null==e?void 0:e(s)),r.forEach(({after:e})=>null==e?void 0:e(s))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}},u=w(),m=new Set,{getSnapshot:()=>u,subscribe:e=>(m.add(e),()=>m.delete(e)),dispatch(e,...t){let a=y[e].call(u,...t);
6a&&(u=a,m.forEach(e=>e()))}});function eH(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in T&&(0,T.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[a,n]=T.useState($.isHandoffComplete);return a&&!1===$.isHandoffComplete&&n(!1),T.useEffect(()=>{!0!==a&&n(!0)},[a]),T.useEffect(()=>$.handoff(),[]),!t&&a}eB.subscribe(()=>{let e=eB.getSnapshot(),t=new Map;for(let[a]of e)t.set(a,a.documentElement.style.overflow);for(let a of e.values()){let e="hidden"===t.get(a.doc),n=0!==a.count;(n&&!e||!n&&e)&&eB.dispatch(a.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",a),0===a.count&&eB.dispatch("TEARDOWN",a)}});let eG=Symbol();function eY(...e){let t=(0,T.useRef)(e);(0,T.useEffect)(()=>{t.current=e},[e]);let a=es(e=>{for(let a of t.current)null!=a&&("function"==typeof a?a(e):a.current=e)});return e.every(e=>null==e||(null==e?void 0:e[eG]))?void 0:a}let eK=(0,T.createContext)(()=>{});function eX({value:e,children:t}){return T.default.createElement(eK.Provider,{value:e},t)}let eJ=(0,T.createContext)(null);eJ.displayName="OpenClosedContext";var eQ=((h=eQ||{})[h.Open=1]="Open",h[h.Closed=2]="Closed",h[h.Closing=4]="Closing",h[h.Opening=8]="Opening",h);function eZ(){return(0,T.useContext)(eJ)}function e0({value:e,children:t}){return T.default.createElement(eJ.Provider,{value:e},t)}function e1({children:e}){return T.default.createElement(eJ.Provider,{value:null},e)}let e2=(0,T.createContext)(!1);function e5(e){return T.default.createElement(e2.Provider,{value:e.force},e.children)}let e3=(0,T.createContext)(void 0),e4=(0,T.createContext)(null);e4.displayName="DescriptionContext";let e8=Object.assign(eO(function(e,t){let a=(0,T.useId)(),n=(0,T.useContext)(e3),{id:s=`headlessui-description-${a}`,...r}=e,i=function e(){let t=(0,T.useContext)(e4);if(null===t){let t=Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,e),t}return t}(),l=eY(t);P(()=>i.register(s),[s,i.register]);let o=n||!1,d=(0,T.useMemo)(()=>({...i.slot,disabled:o}),[i.slot,o]),c={ref:l,...i.props,id:s};return eR()({ourProps:c,theirProps:r,slot:d,defaultTag:"p",name:i.name||"Description"})}),{});function e6(){let[e]=(0,T.useState)(z);return(0,T.useEffect)(()=>()=>e.dispose(),[e]),e}function e7(){let e=(0,T.useRef)(!1);return P(()=>(e.current=!0,()=>{e.current=!1}),[]),e}function e9(e){let t=es(e),a=(0,T.useRef)(!1);(0,T.useEffect)(()=>(a.current=!1,()=>{a.current=!0,D(()=>{a.current&&t()})}),[t])}var te=((p=te||{})[p.Forwards=0]="Forwards",p[p.Backwards=1]="Backwards",p);function tt(e,t){let a=(0,T.useRef)([]),n=es(e);(0,T.useEffect)(()=>{let e=[...a.current];for(let[s,r]of t.entries())if(a.current[s]!==r){let s=n(t,e);return a.current=t,s}},[n,...t])}let ta=[];function tn(){"loading"!==document.readyState&&((()=>{function e(e){if(!ef(e.target)||e.target===document.body||ta[0]===e.target)return;let t=e.target;t=t.closest(ex),ta.unshift(null!=t?t:e.target),(ta=ta.filter(e=>null!=e&&e.isConnected)).splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",tn))}function ts(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let a of e.current)eh(a.current)&&t.add(a.current);return t}"u">typeof window&&"u">typeof document&&(document.addEventListener("DOMContentLoaded",tn),tn());var tr=((f=tr||{})[f.None=0]="None",f[f.InitialFocus=1]="InitialFocus",f[f.TabLock=2]="TabLock",f[f.FocusLock=4]="FocusLock",f[f.RestoreFocus=8]="RestoreFocus",f[f.AutoFocus=16]="AutoFocus",f);let ti=Object.assign(eO(function(e,t){let a,n=(0,T.useRef)(null),s=eY(n,t),{initialFocus:r,initialFocusFallback:i,containers:l,features:o=15,...d}=e;eH()||(o=0);let c=eT(n);!function(e,{ownerDocument:t}){let a=!!(8&e),n=function(e=!0){let t=(0,T.useRef)(ta.slice());return tt(([e],[a])=>{!0===a&&!1===e&&D(()=>{t.current.splice(0)}),!1===a&&!0===e&&(t.current=ta.slice())},[e,ta,t]),es(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(a);tt(()=>{a||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&e_(n())},[a]),e9(()=>{a&&e_(n())})}(o,{ownerDocument:c});let u=function(e,{ownerDocument:t,container:a,initialFocus:n,initialFocusFallback:s}
6){let r=(0,T.useRef)(null),i=el(!!(1&e),"focus-trap#initial-focus"),l=e7();return tt(()=>{if(0===e)return;if(!i){null!=s&&s.current&&e_(s.current);return}let o=a.current;o&&D(()=>{if(!l.current)return;let a=null==t?void 0:t.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===a){r.current=a;return}}else if(o.contains(a)){r.current=a;return}if(null!=n&&n.current)e_(n.current);else{if(16&e){if(eN(o,eb.First|eb.AutoFocus)!==ev.Error)return}else if(eN(o,eb.First)!==ev.Error)return;if(null!=s&&s.current&&(e_(s.current),(null==t?void 0:t.activeElement)===s.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}r.current=null==t?void 0:t.activeElement})},[s,i,e]),r}(o,{ownerDocument:c,container:n,initialFocus:r,initialFocusFallback:i});!function(e,{ownerDocument:t,container:a,containers:n,previousActiveElement:s}){let r=e7(),i=!!(4&e);O(null==t?void 0:t.defaultView,"focus",e=>{if(!i||!r.current)return;let t=ts(n);ep(a.current)&&t.add(a.current);let l=s.current;if(!l)return;let o=e.target;ep(o)?tl(t,o)?(s.current=o,e_(o)):(e.preventDefault(),e.stopPropagation(),e_(l)):e_(s.current)},!0)}(o,{ownerDocument:c,container:n,containers:l,previousActiveElement:u});let m=(a=(0,T.useRef)(0),eC(!0,"keydown",e=>{"Tab"===e.key&&(a.current=+!!e.shiftKey)},!0),a),h=es(e=>{if(!ep(n.current))return;let t=n.current;X(m.current,{[te.Forwards]:()=>{eN(t,eb.First,{skipElements:[e.relatedTarget,i]})},[te.Backwards]:()=>{eN(t,eb.Last,{skipElements:[e.relatedTarget,i]})}})}),p=el(!!(2&o),"focus-trap#tab-lock"),f=e6(),x=(0,T.useRef)(!1),g=eR();return T.default.createElement(T.default.Fragment,null,p&&T.default.createElement(eU,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:ez.Focusable}),g({ourProps:{ref:s,onKeyDown(e){"Tab"==e.key&&(x.current=!0,f.requestAnimationFrame(()=>{x.current=!1}))},onBlur(e){if(!(4&o))return;let t=ts(l);ep(n.current)&&t.add(n.current);let a=e.relatedTarget;ef(a)&&"true"!==a.dataset.headlessuiFocusGuard&&(tl(t,a)||(x.current?eN(n.current,X(m.current,{[te.Forwards]:()=>eb.Next,[te.Backwards]:()=>eb.Previous})|eb.WrapAround,{relativeTo:e.target}):ef(e.target)&&e_(e.target)))}},theirProps:d,defaultTag:"div",name:"FocusTrap"}),p&&T.default.createElement(eU,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:h,features:ez.Focusable}))}),{features:tr});function tl(e,t){for(let a of e)if(a.contains(t))return!0;return!1}var to=e.i(74080);let td=T.Fragment,tc=eO(function(e,t){let{ownerDocument:a=null,...n}=e,s=(0,T.useRef)(null),r=eY(function(e,t=!0){return Object.assign(e,{[eG]:t})}(e=>{s.current=e}),t),i=eT(s),l=null!=a?a:i,o=function(e){let t=(0,T.useContext)(e2),a=(0,T.useContext)(tm),[n,s]=(0,T.useState)(()=>{var n;if(!t&&null!==a)return null!=(n=a.current)?n:null;if($.isServer)return null;let s=null==e?void 0:e.getElementById("headlessui-portal-root");if(s)return s;if(null===e)return null;let r=e.createElement("div");return r.setAttribute("id","headlessui-portal-root"),e.body.appendChild(r)});return(0,T.useEffect)(()=>{null!==n&&(null!=e&&e.body.contains(n)||null==e||e.body.appendChild(n))},[n,e]),(0,T.useEffect)(()=>{t||null!==a&&s(a.current)},[a,s,t]),n}(l),[d]=(0,T.useState)(()=>{var e;return $.isServer?null:null!=(e=null==l?void 0:l.createElement("div"))?e:null}),c=(0,T.useContext)(th),u=eH();P(()=>{!o||!d||o.contains(d)||(d.setAttribute("data-headlessui-portal",""),o.appendChild(d))},[o,d]),P(()=>{if(d&&c)return c.register(d)},[c,d]),e9(()=>{var e;o&&d&&(em(d)&&o.contains(d)&&o.removeChild(d),o.childNodes.length<=0&&(null==(e=o.parentElement)||e.removeChild(o)))});let m=eR();return u&&o&&d?(0,to.createPortal)(m({ourProps:{ref:r},theirProps:n,slot:{},defaultTag:td,name:"Portal"}),d):null}),tu=T.Fragment,tm=(0,T.createContext)(null),th=(0,T.createContext)(null),tp=eO(function(e,t){let a=eY(t),{enabled:n=!0,ownerDocument:s,...r}=e,i=eR();return n?T.default.createElement(tc,{...r,ownerDocument:s,ref:a}):i({ourProps:{ref:a},theirProps:r,slot:{},defaultTag:td,name:"Portal"})}),tf=eO(function(e,t){let{target:a,...n}=e,s={ref:eY(t)},r=eR();return T.default.createElement(tm.Provider,{value:a},r({ourProps:s,theirProps:n,defaultTag:tu,name:"Popover.Group"}))}),tx=Object.assign(tp,{Group:tf});void 0!==C.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(k=null==C.default?void 0:C.default.env)?void 0:k.NODE_ENV)==="test"&&void 0===(null==(S=null==Element?void 0:Element.prototype)?void 0:S.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(` 7`)),[]});var tg=((x=tg||{})[x.None=0]="None",x[x.Closed=1]="Closed",x[x.Enter=2]="Enter",x[x.Leave=4]="Leave",x);function tb(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:tN)!==T.Fragment||1===T.default.Children.count(e.children)}let tv=(0,T.createContext)(null);tv.displayName="TransitionContext";var tw=((g=tw||{}).Visible="visible",g.Hidden="hidden",g);let ty=(0,T.createContext)(null);function tj(e){return"children"in e?tj(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function t_(e,t){let a=F(e),n=(0,T.useRef)([]),s=e7(),r=e6(),i=es((e,t=eL.Hidden)=>{let i=n.current.findIndex(({el:t})=>t===e);-1!==i&&(X(t,{[eL.Unmount](){n.current.splice(i,1)},[eL.Hidden](){n.current[i].state="hidden"}}),r.microTask(()=>{var e;!tj(n)&&s.current&&(null==(e=a.current)||e.call(a))}))}),l=es(e=>{let t=n.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>i(e,eL.Unmount)}),o=(0,T.useRef)([]),d=(0,T.useRef)(Promise.resolve()),c=(0,T.useRef)({enter:[],leave:[]}
7),u=es((e,a,n)=>{o.current.splice(0),t&&(t.chains.current[a]=t.chains.current[a].filter(([t])=>t!==e)),null==t||t.chains.current[a].push([e,new Promise(e=>{o.current.push(e)})]),null==t||t.chains.current[a].push([e,new Promise(e=>{Promise.all(c.current[a].map(([e,t])=>t)).then(()=>e())})]),"enter"===a?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>n(a)):n(a)}),m=es((e,t,a)=>{Promise.all(c.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=o.current.shift())||e()}).then(()=>a(t))});return(0,T.useMemo)(()=>({children:n,register:l,unregister:i,onStart:u,onStop:m,wait:d,chains:c}),[l,i,n,u,m,c,d])}ty.displayName="NestingContext";let tN=T.Fragment,tk=eA.RenderStrategy,tS=eO(function(e,t){let{show:a,appear:n=!1,unmount:s=!0,...r}=e,i=(0,T.useRef)(null),l=eY(...tb(e)?[i,t]:null===t?[]:[t]);eH();let o=eZ();if(void 0===a&&null!==o&&(a=(o&eQ.Open)===eQ.Open),void 0===a)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,c]=(0,T.useState)(a?"visible":"hidden"),u=t_(()=>{a||c("hidden")}),[m,h]=(0,T.useState)(!0),p=(0,T.useRef)([a]);P(()=>{!1!==m&&p.current[p.current.length-1]!==a&&(p.current.push(a),h(!1))},[p,a]);let f=(0,T.useMemo)(()=>({show:a,appear:n,initial:m}),[a,n,m]);P(()=>{a?c("visible"):tj(u)||null===i.current||c("hidden")},[a,u]);let x={unmount:s},g=es(()=>{var t;m&&h(!1),null==(t=e.beforeEnter)||t.call(e)}),b=es(()=>{var t;m&&h(!1),null==(t=e.beforeLeave)||t.call(e)}),v=eR();return T.default.createElement(ty.Provider,{value:u},T.default.createElement(tv.Provider,{value:f},v({ourProps:{...x,as:T.Fragment,children:T.default.createElement(tE,{ref:l,...x,...r,beforeEnter:g,beforeLeave:b})},theirProps:{},defaultTag:T.Fragment,features:tk,visible:"visible"===d,name:"Transition"})))}),tE=eO(function(e,t){var a,n;let{transition:s=!0,beforeEnter:r,afterEnter:i,beforeLeave:l,afterLeave:o,enter:d,enterFrom:c,enterTo:u,entered:m,leave:h,leaveFrom:p,leaveTo:f,...x}=e,[g,b]=(0,T.useState)(null),v=(0,T.useRef)(null),w=tb(e),y=eY(...w?[v,t,b]:null===t?[]:[t]),j=null==(a=x.unmount)||a?eL.Unmount:eL.Hidden,{show:_,appear:N,initial:k}=function(){let e=(0,T.useContext)(tv);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[S,E]=(0,T.useState)(_?"visible":"hidden"),C=function(){let e=(0,T.useContext)(ty);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:I,unregister:A}=C;P(()=>I(v),[I,v]),P(()=>{if(j===eL.Hidden&&v.current)return _&&"visible"!==S?void E("visible"):X(S,{hidden:()=>A(v),visible:()=>I(v)})},[S,v,I,A,_,j]);let L=eH();P(()=>{if(w&&L&&"visible"===S&&null===v.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[v,S,L,w]);let R=k&&!N,$=N&&_&&k,F=(0,T.useRef)(!1),O=t_(()=>{F.current||(E("hidden"),A(v))},C),M=es(e=>{F.current=!0,O.onStart(v,e?"enter":"leave",e=>{"enter"===e?null==r||r():"leave"===e&&(null==l||l())})}),D=es(e=>{let t=e?"enter":"leave";F.current=!1,O.onStop(v,t,e=>{"enter"===e?null==i||i():"leave"===e&&(null==o||o())}),"leave"!==t||tj(O)||(E("hidden"),A(v))});(0,T.useEffect)(()=>{w&&s||(M(_),D(_))},[_,w,s]);let[,U]=function(e,t,a,n){let[s,r]=(0,T.useState)(a),{hasFlag:i,addFlag:l,removeFlag:o}=function(e=0){let[t,a]=(0,T.useState)(e),n=(0,T.useCallback)(e=>a(e),[t]),s=(0,T.useCallback)(e=>a(t=>t|e),[t]),r=(0,T.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:n,addFlag:s,hasFlag:r,removeFlag:(0,T.useCallback)(e=>a(t=>t&~e),[a]),toggleFlag:(0,T.useCallback)(e=>a(t=>t^e),[a])}}(e&&s?3:0),d=(0,T.useRef)(!1),c=(0,T.useRef)(!1);return P(()=>{var s;if(e){if(a&&r(!0),!t){a&&l(3);return}return null==(s=null==n?void 0:n.start)||s.call(n,a),function(e,{prepare:t,run:a,done:n,inFlight:s}){let r=z();return function(e,{inFlight:t,prepare:a}){if(null!=t&&t.current)return a();let n=e.style.transition;e.style.transition="none",a(),e.offsetHeight,e.style.transition=n}(e,{prepare:t,inFlight:s}),r.nextFrame(()=>{a(),r.requestAnimationFrame(()=>{r.add(function(e,t){var a,n;
7let s=z();if(!e)return s.dispose;let r=!1;s.add(()=>{r=!0});let i=null!=(n=null==(a=e.getAnimations)?void 0:a.call(e).filter(e=>e instanceof CSSTransition))?n:[];return 0===i.length?t():Promise.allSettled(i.map(e=>e.finished)).then(()=>{r||t()}),s.dispose}(e,n))})}),r.dispose}(t,{inFlight:d,prepare(){c.current?c.current=!1:c.current=d.current,d.current=!0,c.current||(a?(l(3),o(4)):(l(4),o(2)))},run(){c.current?a?(o(3),l(4)):(o(4),l(3)):a?o(1):l(1)},done(){var e;c.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(d.current=!1,o(7),a||r(!1),null==(e=null==n?void 0:n.end)||e.call(n,a))}})}},[e,a,t,e6()]),e?[s,{closed:i(1),enter:i(2),leave:i(4),transition:i(2)||i(4)}]:[a,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}(!(!s||!w||!L||R),g,_,{start:M,end:D}),q=eM({ref:y,className:(null==(n=eI(x.className,$&&d,$&&c,U.enter&&d,U.enter&&U.closed&&c,U.enter&&!U.closed&&u,U.leave&&h,U.leave&&!U.closed&&p,U.leave&&U.closed&&f,!U.transition&&_&&m))?void 0:n.trim())||void 0,...function(e){let t={};for(let a in e)!0===e[a]&&(t[`data-${a}`]="");return t}(U)}),W=0;"visible"===S&&(W|=eQ.Open),"hidden"===S&&(W|=eQ.Closed),_&&"hidden"===S&&(W|=eQ.Opening),_||"visible"!==S||(W|=eQ.Closing);let V=eR();return T.default.createElement(ty.Provider,{value:O},T.default.createElement(e0,{value:W},V({ourProps:q,theirProps:x,defaultTag:tN,features:tk,visible:"visible"===S,name:"Transition.Child"})))}),tC=eO(function(e,t){let a=null!==(0,T.useContext)(tv),n=null!==eZ();return T.default.createElement(T.default.Fragment,null,!a&&n?T.default.createElement(tS,{ref:t,...e}):T.default.createElement(tE,{ref:t,...e}))}),tT=Object.assign(tS,{Child:tC,Root:tS});var tI=((b=tI||{})[b.Open=0]="Open",b[b.Closed=1]="Closed",b),tA=((v=tA||{})[v.SetTitleId=0]="SetTitleId",v);let tL={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},tR=(0,T.createContext)(null);function t$(e){let t=(0,T.useContext)(tR);if(null===t){let t=Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,t$),t}return t}function tP(e,t){return X(t.type,tL,e,t)}tR.displayName="DialogContext";let tF=eO(function(e,t){let a,n,s,r,i,l,o,d,c,u,m=(0,T.useId)(),{id:h=`headlessui-dialog-${m}`,open:p,onClose:f,initialFocus:x,role:g="dialog",autoFocus:b=!0,__demoMode:v=!1,unmount:w=!1,...y}=e,j=(0,T.useRef)(!1);g="dialog"===g||"alertdialog"===g?g:(j.current||(j.current=!0,console.warn(`Invalid role [${g}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let _=eZ();void 0===p&&null!==_&&(p=(_&eQ.Open)===eQ.Open);let N=(0,T.useRef)(null),k=eY(N,t),S=eT(N),E=+!p,[C,I]=(0,T.useReducer)(tP,{titleId:null,descriptionId:null,panelRef:(0,T.createRef)()}),L=es(()=>f(!1)),R=es(e=>I({type:0,id:e})),$=!!eH()&&0===E,[M,D]=(a=(0,T.useContext)(th),n=(0,T.useRef)([]),s=es(e=>(n.current.push(e),a&&a.register(e),()=>r(e))),r=es(e=>{let t=n.current.indexOf(e);-1!==t&&n.current.splice(t,1),a&&a.unregister(e)}),i=(0,T.useMemo)(()=>({register:s,unregister:r,portals:n}),[s,r,n]),[n,(0,T.useMemo)(()=>function({children:e}){return T.default.createElement(th.Provider,{value:i},e)},[i])]),U=eV(),{resolveContainers:q}=function({defaultContainers:e=[],portals:t,mainTreeNode:a}={}){let n=eT(a),s=es(()=>{var s,r;let i=[];for(let t of e)null!==t&&(eh(t)?i.push(t):"current"in t&&eh(t.current)&&i.push(t.current));if(null!=t&&t.current)for(let e of t.current)i.push(e);for(let e of null!=(s=null==n?void 0:n.querySelectorAll("html > *, body > *"))?s:[])e!==document.body&&e!==document.head&&eh(e)&&"headlessui-portal-root"!==e.id&&(a&&(e.contains(a)||e.contains(null==(r=null==a?void 0:a.getRootNode())?void 0:r.host))||i.some(t=>e.contains(t))||i.push(e));return i});
7return{resolveContainers:s,contains:es(e=>s().some(t=>t.contains(e)))}}({mainTreeNode:U,portals:M,defaultContainers:[{get current(){var W;return null!=(W=C.panelRef.current)?W:N.current}}]}),V=null!==_&&(_&eQ.Closing)===eQ.Closing;!function(e,{allowed:t,disallowed:a}={}){let n=el(e,"inert-others");P(()=>{var e,s;if(!n)return;let r=z();for(let t of null!=(e=null==a?void 0:a())?e:[])t&&r.add(eu(t));let i=null!=(s=null==t?void 0:t())?s:[];for(let e of i){if(!e)continue;let t=eo(e);if(!t)continue;let a=e.parentElement;for(;a&&a!==t.body;){for(let e of a.children)i.some(t=>e.contains(t))||r.add(eu(e));a=a.parentElement}}return r.dispose},[n,t,a])}(!v&&!V&&$,{allowed:es(()=>{var e,t;return[null!=(t=null==(e=N.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:es(()=>{var e;return[null!=(e=null==U?void 0:U.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let B=ea.get(null);P(()=>{if($)return B.actions.push(h),()=>B.actions.pop(h)},[B,h,$]);let H=er(B,(0,T.useCallback)(e=>B.selectors.isTop(e,h),[B,h]));l=F(e=>{e.preventDefault(),L()}),o=(0,T.useCallback)(function(e,t){if(e.defaultPrevented)return;let a=t(e);if(null!==a&&a.getRootNode().contains(a)&&a.isConnected){for(let t of function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(q))if(null!==t&&(t.contains(a)||e.composed&&e.composedPath().includes(t)))return;return function(e,t=0){var a;return e!==(null==(a=eo(e))?void 0:a.body)&&X(t,{0:()=>e.matches(ex),1(){let t=e;for(;null!==t;){if(t.matches(ex))return!0;t=t.parentElement}return!1}})}(a,ey.Loose)||-1===a.tabIndex||e.preventDefault(),l.current(e,a)}},[l,q]),d=(0,T.useRef)(null),eE(H,"pointerdown",e=>{var t,a;eS()||(d.current=(null==(a=null==(t=e.composedPath)?void 0:t.call(e))?void 0:a[0])||e.target)},!0),eE(H,"pointerup",e=>{if(eS()||!d.current)return;let t=d.current;return d.current=null,o(e,()=>t)},!0),c=(0,T.useRef)({x:0,y:0}),eE(H,"touchstart",e=>{c.current.x=e.touches[0].clientX,c.current.y=e.touches[0].clientY},!0),eE(H,"touchend",e=>{let t={x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY};if(!(Math.abs(t.x-c.current.x)>=30||Math.abs(t.y-c.current.y)>=30))return o(e,()=>ef(e.target)?e.target:null)},!0),eC(H,"blur",e=>o(e,()=>{var e;return ep(e=window.document.activeElement)&&"IFRAME"===e.nodeName?window.document.activeElement:null}),!0),function(e,t="u">typeof document?document.defaultView:null,a){let n=el(e,"escape");O(t,"keydown",e=>{n&&(e.defaultPrevented||e.key===A.Escape&&a(e))})}(H,null==S?void 0:S.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),L()}),function(e,t,a=()=>[document.body]){!function(e,t,a=()=>({containers:[]})){let n=(0,T.useSyncExternalStore)(eB.subscribe,eB.getSnapshot,eB.getSnapshot),s=t?n.get(t):void 0;s&&s.count,P(()=>{if(!(!t||!e))return eB.dispatch("PUSH",t,a),()=>eB.dispatch("POP",t,a)},[e,t])}(el(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],a]}})}(!v&&!V&&$,S,q),u=F(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&L()}),(0,T.useEffect)(()=>{if(!$)return;let e=null===N?null:ep(N)?N:N.current;if(!e)return;let t=z();if("u">typeof ResizeObserver){let a=new ResizeObserver(()=>u.current(e));a.observe(e),t.add(()=>a.disconnect())}if("u">typeof IntersectionObserver){let a=new IntersectionObserver(()=>u.current(e));a.observe(e),t.add(()=>a.disconnect())}return()=>t.dispose()},[N,u,$]);let[G,Y]=function(){let[e,t]=(0,T.useState)([]);return[e.length>0?e.join(" "):void 0,(0,T.useMemo)(()=>function(e){let a=es(e=>(t(t=>[...t,e]),()=>t(t=>{let a=t.slice(),n=a.indexOf(e);return -1!==n&&a.splice(n,1),a}))),n=(0,T.useMemo)(()=>({register:a,slot:e.slot,name:e.name,props:e.props,value:e.value}),[a,e.slot,e.name,e.props,e.value]);return T.default.createElement(e4.Provider,{value:n},e.children)},[t])]}(),K=(0,T.useMemo)(()=>[{dialogState:E,close:L,setTitleId:R,unmount:w},C],[E,C,L,R,w]),J=(0,T.useMemo)(()=>({open:0===E}),[E]),Q={ref:k,id:h,role:g,tabIndex:-1,"aria-modal":v?void 0:0===E||void 0,"aria-labelledby":C.titleId,"aria-describedby":G,unmount:w},Z=!function(){var e;let[t]=(0,T.useState)(()=>"u">typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[a,n]=(0,T.useState)(null!=(e=null==t?void 0:t.matches)&&e);return P(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){n(e.matches)}},[t]),a}(),ee=tr.None;$&&!v&&(ee|=tr.RestoreFocus,ee|=tr.TabLock,b&&(ee|=tr.AutoFocus),Z&&(ee|=tr.InitialFocus));let et=eR();return T.default.createElement(e1,null,T.default.createElement(e5,{force:!0},T.default.createElement(tx,null,T.default.createElement(tR.Provider,{value:K},T.default.createElement(tf,{target:N},T.default.createElement(e5,{force:!1},T.default.createElement(Y,{slot:J},T.default.createElement(D,null,T.default.createElement(ti,{initialFocus:x,initialFocusFallback:N,containers:q,features:ee},T.default.createElement(eX,{value:L},et({ourProps:Q,theirProps:y,slot:J,defaultTag:tO,features:tM,visible:0===E,name:"Dialog"})))))))))))}),tO="div",tM=eA.RenderStrategy|eA.Static,tD=Object.assign(eO(function(e,t){let{transition:a=!1,open:n,...s}=e,r=eZ(),i=e.hasOwnProperty("open")||null!==r,l=e.hasOwnProperty("onClose");if(!i&&!l)throw Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!i)throw Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
7if(!r&&"boolean"!=typeof e.open)throw Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return(void 0!==n||a)&&!s.static?T.default.createElement(eW,null,T.default.createElement(tT,{show:n,transition:a,unmount:s.unmount},T.default.createElement(tF,{ref:t,...s}))):T.default.createElement(eW,null,T.default.createElement(tF,{ref:t,open:n,...s}))}),{Panel:eO(function(e,t){let a=(0,T.useId)(),{id:n=`headlessui-dialog-panel-${a}`,transition:s=!1,...r}=e,[{dialogState:i,unmount:l},o]=t$("Dialog.Panel"),d=eY(t,o.panelRef),c=(0,T.useMemo)(()=>({open:0===i}),[i]),u=es(e=>{e.stopPropagation()}),m=s?tC:T.Fragment,h=eR();return T.default.createElement(m,{...s?{unmount:l}:{}},h({ourProps:{ref:d,id:n,onClick:u},theirProps:r,slot:c,defaultTag:"div",name:"Dialog.Panel"}))}),Title:(eO(function(e,t){let{transition:a=!1,...n}=e,[{dialogState:s,unmount:r}]=t$("Dialog.Backdrop"),i=(0,T.useMemo)(()=>({open:0===s}),[s]),l=a?tC:T.Fragment,o=eR();return T.default.createElement(l,{...a?{unmount:r}:{}},o({ourProps:{ref:t,"aria-hidden":!0},theirProps:n,slot:i,defaultTag:"div",name:"Dialog.Backdrop"}))}),eO(function(e,t){let a=(0,T.useId)(),{id:n=`headlessui-dialog-title-${a}`,...s}=e,[{dialogState:r,setTitleId:i}]=t$("Dialog.Title"),l=eY(t);(0,T.useEffect)(()=>(i(n),()=>i(null)),[n,i]);let o=(0,T.useMemo)(()=>({open:0===r}),[r]);return eR()({ourProps:{ref:l,id:n},theirProps:s,slot:o,defaultTag:"h2",name:"Dialog.Title"})})),Description:e8});function tz({isOpen:e,setIsOpen:t}){let[a,n]=(0,T.useState)(""),[s,r]=(0,T.useState)(""),[i,l]=(0,T.useState)(!1),o=async e=>{e.preventDefault(),l(!0),r("");try{let e=await fetch("https://desenmascara.me/api/pro-interest/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:a})}),t=await e.json();e.ok?(r(t.message),n("")):r(t.error||"Error. Try again later.")}catch{r("Error. Try again later.")}l(!1)};return(0,E.jsx)(tT,{appear:!0,show:e,as:T.Fragment,children:(0,E.jsxs)(tD,{as:"div",className:"relative z-50",onClose:()=>t(!1),children:[(0,E.jsx)(tT.Child,{as:T.Fragment,enter:"ease-out duration-200",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-150",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,E.jsx)("div",{className:"fixed inset-0 bg-black/40"})}),(0,E.jsx)("div",{className:"fixed inset-0 overflow-y-auto",children:(0,E.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center",children:(0,E.jsx)(tT.Child,{as:T.Fragment,enter:"ease-out duration-200",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"ease-in duration-150",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,E.jsxs)(tD.Panel,{className:"w-full max-w-md transform overflow-hidden rounded-2xl bg-white/[0.04] p-6 text-left align-middle shadow-xl transition-all",children:[(0,E.jsx)(tD.Title,{as:"h3",className:"text-lg font-bold leading-6 text-white",children:"ð Join the PRO waitlist"}),(0,E.jsx)("p",{className:"text-sm text-slate-300 mt-2",children:"Be the first to know when desenmascara.me PRO is launched."}),(0,E.jsxs)("form",{onSubmit:o,className:"mt-4 space-y-4",children:[(0,E.jsx)("input",{type:"email",className:"w-full border border-white/15 rounded px-3 py-2",placeholder:"Enter your email",value:a,onChange:e=>n(e.target.value),required:!0}),(0,E.jsx)("button",{type:"submit",disabled:i,className:"w-full bg-black text-white py-2 rounded hover:bg-gray-800",children:i?"Sending...":"Notify Me"})]}),s&&(0,E.jsx)("p",{className:"mt-2 text-sm text-green-300",children:s})]})})})})]})})}var tU=e.i(22016),tq=e.i(57688);function tW({theme:e="dark",className:t=""}){return(0,E.jsx)("span",{className:`inline-flex shrink-0 items-center justify-center rounded-xl bg-white px-3 py-2 ${"dark"===e?"shadow-[0_10px_30px_-12px_rgba(0,0,0,0.9)]":"border border-slate-200"} ${t}`,children:(0,E.jsx)(tq.default,{src:"/logo.png",alt:"desenmascara.me",width:177,height:89,className:"h-7 w-auto object-contain sm:h-9",priority:!0})})}let tV=({lang:e,t,onLogoClick:a,theme:n="dark"})=>{let s="dark"===n,[r,i]=(0,T.useState)(null),[l,o]=(0,T.useState)(!1),[d,c]=(0,T.useState)(!1);(0,T.useEffect)(()=>{let e=e=>{"Escape"===e.key&&(o(!1),c(!1))};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[]);let u=(0,T.useRef)(null),m=(0,T.useRef)(null);(0,T.useEffect)(()=>{let e=localStorage.getItem("access"),t=localStorage.getItem("user");e&&t&&i(t)},[]),(0,T.useEffect)(()=>
7{if(!l)return;let e=e=>{let t=e.target;u.current?.contains(t)||m.current?.contains(t)||o(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[l]);let h=()=>{localStorage.removeItem("access"),localStorage.removeItem("refresh"),localStorage.removeItem("user"),i(null),o(!1),window.location.href="/"},p=r?r.charAt(0).toUpperCase():"";return(0,E.jsx)("header",{className:"relative z-20 w-full",children:(0,E.jsxs)("div",{className:"flex w-full flex-col gap-3 px-4 pb-8 pt-4 sm:px-6 sm:pb-10 xl:flex-row xl:items-center xl:justify-between xl:gap-4 lg:px-10 xl:px-14 2xl:px-20",children:[(0,E.jsxs)("div",{className:"flex min-w-0 items-center justify-between gap-3 sm:gap-4",children:[(0,E.jsxs)("button",{onClick:e=>{e.preventDefault(),a(),window.location.href="/"},className:"flex min-w-0 flex-1 items-center gap-2 text-left sm:gap-3","aria-label":"en"===e?"Go to homepage":"Ir a inicio",type:"button",children:[(0,E.jsx)(tW,{theme:s?"dark":"light",className:"shrink-0"}),(0,E.jsx)("div",{className:"min-w-0",children:(0,E.jsx)("div",{className:`hidden items-center gap-2 sm:flex ${s?"sr-only":""}`,children:(0,E.jsx)("div",{className:`text-[10px] font-medium uppercase tracking-[0.2em] ${s?"text-slate-400":"text-slate-500"}`,children:"Trust Intelligence"})})})]}),(0,E.jsxs)("div",{className:"flex items-center gap-2 xl:hidden",children:[(0,E.jsx)("button",{type:"button",onClick:()=>c(!d),"aria-expanded":d,"aria-controls":"primary-navigation",className:`rounded-full border px-3 py-2.5 text-xs font-semibold ${s?"border-white/20 text-white":"border-slate-300 text-slate-700"}`,children:d?"en"===e?"Close":"Cerrar":"en"===e?"Menu":"Menú"}),r&&(0,E.jsxs)("div",{className:"relative",ref:u,children:[(0,E.jsx)("button",{type:"button",onClick:()=>o(!l),className:`flex h-9 w-9 items-center justify-center rounded-full text-sm font-bold transition ${s?"bg-[#ffffff]/15 text-[#dbe2ff] ring-1 ring-[#ffffff]/30 hover:bg-[#ffffff]/25":"bg-blue-100 text-blue-700 ring-1 ring-blue-200 hover:bg-blue-200"}`,"aria-label":"en"===e?"User menu":"Menú de usuario","aria-expanded":l,children:p}),l&&(0,E.jsxs)("div",{className:`absolute right-0 top-11 w-48 rounded-xl border p-1.5 shadow-xl ${s?"border-white/15 bg-slate-900":"border-slate-200 bg-white"}`,children:[(0,E.jsx)("div",{className:`px-3 py-2 text-xs font-medium truncate ${s?"text-slate-400":"text-slate-500"}`,children:r}),(0,E.jsx)(tU.default,{href:"/dashboard",onClick:()=>o(!1),className:`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition ${s?"text-white hover:bg-white/10":"text-slate-800 hover:bg-slate-100"}`,children:"Dashboard"}),(0,E.jsx)("button",{type:"button",onClick:h,className:`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition ${s?"text-red-400 hover:bg-white/10":"text-red-600 hover:bg-red-50"}`,children:"en"===e?"Log out":"Cerrar sesión"})]})]}),!r&&(0,E.jsx)(tU.default,{href:"/login",className:`inline-flex shrink-0 rounded-full px-3 py-2 text-[14px] font-medium transition ${s?"text-slate-300 hover:bg-white/8 hover:text-white":"text-slate-500 hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Log in":"Entrar"}),(0,E.jsx)(tU.default,{href:"/pro",className:`inline-flex shrink-0 rounded-full px-3 py-2 text-xs font-semibold transition hover:brightness-110 sm:px-4 sm:text-sm ${s?"border border-white/20 bg-white/[0.04] text-white hover:border-white/40 hover:bg-white/[0.09]":"bg-[linear-gradient(135deg,#0f172a,#111827_55%,#1d4ed8)] text-white shadow-[0_14px_28px_rgba(15,23,42,0.18)]"}`,children:"en"===e?"Pricing":"Planes"})]})]}),(0,E.jsxs)("nav",{id:"primary-navigation","aria-label":"en"===e?"Main navigation":"Navegación principal",onClick:()=>c(!1),className:`${d?"flex":"hidden"} flex-wrap items-center gap-1 rounded-2xl px-1 py-3 text-[14px] font-medium xl:flex xl:flex-nowrap xl:justify-center xl:py-1 ${s?"text-slate-300":"text-slate-500"}`,children:[(0,E.jsx)(tU.default,{href:"/pro",className:`whitespace-nowrap rounded-full px-3 py-2 transition xl:hidden ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Plans":"Planes"}),(0,E.jsxs)(tU.default,{href:"/recursos",prefetch:!1,className:`inline-flex items-center gap-1.5 whitespace-nowrap rounded-full border px-3 py-2 transition ${s?"border-transparent text-slate-300 hover:bg-white/[0.07] hover:text-white":"border-cyan-200 bg-cyan-50/80 text-cyan-800 hover:border-cyan-300 hover:bg-cyan-100"}`,"aria-label":"en"===e?"Fraud education resources":"Recursos contra el fraude",children:[(0,E.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,E.jsx)("path",{d:"M4 19.5A2.5 2.5 0 0 1 6.5 17H20"}),(0,E.jsx)("path",{d:"M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"})]}),(0,E.jsx)("span",{children:"en"===e?"Resources":"Recursos"})]}),(0,E.jsx)(tU.default,{href:"/fraud",prefetch:!1,className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,"aria-label":"en"===e?"Learn about the problem":"Conocer el problema",children:"en"===e?"Problem":"Problema"}),(0,E.jsx)(tU.default,{href:"/api-feed",className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"API"}),(0,E.jsx)(tU.default,{href:"/business",className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Business":"Empresas"}),(0,E.jsx)(tU.default,{href:"/top-signals",className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Signals":"Señales"}),(0,E.jsx)(tU.default,{href:"/history",className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"History":"Historia"}),(0,E.jsx)(tU.default,{href:"/contact",className:`whitespace-nowrap rounded-full px-3 py-2 transition ${s?"hover:bg-white/8 hover:text-white":"hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Contact":"string"==typeof t.contacto?t.contacto:""}),(0,E.jsxs)("a",{href:"https://x.com/desenmascarame",target:"_blank",rel:"noopener noreferrer me","aria-label":"en"===e?"Latest fraud campaigns on X (@desenmascarame)":"Ãltimas campañas de fraude en X (@desenmascarame)",title:"en"===e?"Latest fraud campaigns we detect â on X":"Ãltimas campañas de fraude que detectamos â en X",className:`relative inline-flex items-center justify-center rounded-full p-2 transition ${s?"text-slate-300 hover:bg-white/8 hover:text-white":"text-slate-500 hover:bg-slate-900/5 hover:text-slate-900"}`,children:[(0,E.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:"h-4 w-4",fill:"
7currentColor",children:(0,E.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24h-6.65l-5.21-6.812-5.967 6.812H1.69l7.73-8.835L1.254 2.25h6.819l4.71 6.231 5.461-6.231Zm-1.16 17.52h1.833L7.084 4.126H5.117l11.967 15.644Z"})}),(0,E.jsx)("span",{className:"sr-only",children:"X / Twitter"})]})]}),(0,E.jsx)("div",{className:"hidden items-center gap-3 xl:flex",children:r?(0,E.jsx)("div",{className:"relative",children:(0,E.jsxs)("div",{className:"flex items-center gap-2",children:[(0,E.jsx)(tU.default,{href:"/dashboard",className:`rounded-full px-3 py-2 text-[14px] font-medium transition ${s?"text-slate-300 hover:bg-white/8 hover:text-white":"text-slate-500 hover:bg-slate-900/5 hover:text-slate-900"}`,children:"Dashboard"}),(0,E.jsxs)("div",{className:"relative",ref:m,children:[(0,E.jsx)("button",{type:"button",onClick:()=>o(!l),className:`flex h-9 w-9 items-center justify-center rounded-full text-sm font-bold transition ${s?"bg-[#ffffff]/15 text-[#dbe2ff] ring-1 ring-[#ffffff]/30 hover:bg-[#ffffff]/25":"bg-blue-100 text-blue-700 ring-1 ring-blue-200 hover:bg-blue-200"}`,"aria-label":"en"===e?"User menu":"Menú de usuario","aria-expanded":l,children:p}),l&&(0,E.jsxs)("div",{className:`absolute right-0 top-11 w-48 rounded-xl border p-1.5 shadow-xl ${s?"border-white/15 bg-slate-900":"border-slate-200 bg-white"}`,children:[(0,E.jsx)("div",{className:`px-3 py-2 text-xs font-medium truncate ${s?"text-slate-400":"text-slate-500"}`,children:r}),(0,E.jsx)(tU.default,{href:"/dashboard",onClick:()=>o(!1),className:`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition ${s?"text-white hover:bg-white/10":"text-slate-800 hover:bg-slate-100"}`,children:"Dashboard"}),(0,E.jsx)(tU.default,{href:"/pro",onClick:()=>o(!1),className:`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition ${s?"text-white hover:bg-white/10":"text-slate-800 hover:bg-slate-100"}`,children:"en"===e?"Plans":"Planes"}),(0,E.jsx)("button",{type:"button",onClick:h,className:`flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition ${s?"text-red-400 hover:bg-white/10":"text-red-600 hover:bg-red-50"}`,children:"en"===e?"Log out":"Cerrar sesión"})]})]})]})}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(tU.default,{href:"/login",className:`rounded-full px-4 py-2.5 text-[14px] font-medium transition ${s?"text-slate-300 hover:bg-white/8 hover:text-white":"text-slate-500 hover:bg-slate-900/5 hover:text-slate-900"}`,children:"en"===e?"Log in":"Entrar"}),(0,E.jsx)(tU.default,{href:"/pro",className:`rounded-full px-5 py-2.5 text-sm font-semibold transition hover:brightness-110 ${s?"border border-white/20 bg-white/[0.04] text-white hover:border-white/40 hover:bg-white/[0.09]":"bg-[linear-gradient(135deg,#0f172a,#111827_55%,#1d4ed8)] text-white shadow-[0_14px_28px_rgba(15,23,42,0.18)]"}`,children:"en"===e?"Explore pricing":"Ver planes"})]})})]})})};var tB=e.i(18566);async function tH(){let e=localStorage.getItem("refresh");if(!e)return null;try{let t=await fetch("https://desenmascara.me/api/auth/token/refresh/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({refresh:e})});if(!t.ok)return null;let a=await t.json().catch(()=>({})),n="string"==typeof a?.access?a.access:null,s="string"==typeof a?.refresh?a.refresh:null;if(!n)return null;return localStorage.setItem("access",n),s&&localStorage.setItem("refresh",s),n}catch{return null}}async function tG(e,t={},a={}){let n=t.headers||{},s=e=>({...n,...a.lang&&!n["Accept-Language"]?{"Accept-Language":a.lang}:{},...e?{Authorization:`Bearer ${e}`}:{}}),r=localStorage.getItem("access"),i=await fetch(e,{...t,headers:s(r)});if(401!==i.status)return i;let l=await tH();if(l&&401!==(i=await fetch(e,{...t,headers:s(l)})).status)return i;if(localStorage.removeItem("access"),localStorage.removeItem("refresh"),localStorage.removeItem("user"),a.allowAnonymousFallback){let a={...n};return delete a.Authorization,fetch(e,{...t,headers:a})}return i}let tY="https://desenmascara.me";async function tK(){if(!(localStorage.getItem("access")||localStorage.getItem("refresh")))return null;try{let e=await tG(`${tY}/api/billing/credits/`,{method:"GET"});if(!e.ok)return null;let t=await e.json().catch(()=>null);if(!t||"number"!=typeof t.credits)return null;return{credits:t.credits,authenticated:!1!==t.authenticated,nextExpiry:"string"==typeof t.next_expiry?t.next_expiry:null}}catch{return null}}
7async function tX({pack:e="trial",domain:t,publicId:a}={}){let n=(t||"").replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase();try{let t=await tG(`${tY}/api/billing/credits/checkout/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({pack:e,domain:/^[a-z0-9.-]{3,253}$/.test(n)?n:void 0,public_id:a||void 0})},{allowAnonymousFallback:!0}),s=await t.json().catch(()=>({}));if(t.ok&&s.checkout_url)return window.location.href=s.checkout_url,null;return 503===t.status?"sales_off":"error"}catch{return"error"}}let tJ=null,tQ={signedIn:!1,requiresLogin:!1,maskedEmail:""};async function tZ(){let e=new URLSearchParams(window.location.search).get("session_id")||"";if(!e.startsWith("cs_"))return tQ;let t=tQ;try{let a=await tG(`${tY}/api/billing/credits/claim/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({session_id:e})},{allowAnonymousFallback:!0}),n=await a.json().catch(()=>({}));a.ok&&n.access?(localStorage.setItem("access",n.access),n.refresh&&localStorage.setItem("refresh",n.refresh),t={signedIn:!0,requiresLogin:!1,maskedEmail:n.email||""}):a.ok&&n.requires_login&&(t={signedIn:!1,requiresLogin:!0,maskedEmail:n.email||""},sessionStorage.setItem("credits_require_login",n.email||"1"))}catch{}let a=new URLSearchParams(window.location.search);a.delete("session_id");let n=a.toString();return window.history.replaceState({},"",`${window.location.pathname}${n?`?${n}`:""}`),t}function t0({lang:e,domain:t}){let a=(t||"").replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/+$/,"");return(0,E.jsxs)("div",{className:"animate-fade-in relative mx-auto w-full max-w-xl overflow-hidden rounded-[24px] bg-blue-600 px-6 py-5",children:[(0,E.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-70",style:{background:"linear-gradient(100deg, transparent 20%, rgba(147,180,255,0.12) 50%, transparent 80%)",backgroundSize:"220% 100%",animation:"paidSweep 2.6s ease-in-out infinite"}}),(0,E.jsx)("style",{children:"@keyframes paidSweep{0%{background-position:180% 0}100%{background-position:-80% 0}}"}),(0,E.jsxs)("div",{className:"relative flex items-start gap-4",children:[(0,E.jsx)("span",{"aria-hidden":!0,className:"mt-0.5 flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-blue-600 text-white",children:(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:"2.75",children:(0,E.jsx)("path",{d:"M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M18.4 5.6l-2.1 2.1M7.7 16.3l-2.1 2.1"})})}),(0,E.jsxs)("div",{className:"min-w-0",children:[(0,E.jsx)("p",{className:"text-[10px] font-black uppercase tracking-[0.22em] text-blue-200",children:"en"===e?"Premium analysis in progress":"Análisis premium en curso"}),(0,E.jsx)("p",{className:"mt-1.5 text-[16px] font-extrabold leading-tight tracking-tight text-white",children:a?"en"===e?(0,E.jsxs)(E.Fragment,{children:["Reading ",(0,E.jsx)("span",{className:"tabular-nums",children:a})," with AI"]}):(0,E.jsxs)(E.Fragment,{children:["Leyendo ",(0,E.jsx)("span",{className:"tabular-nums",children:a})," con IA"]}):"en"===e?"Reading the page with AI":"Leyendo la página con IA"}),(0,E.jsx)("p",{className:"mt-1.5 text-[12.5px] font-medium leading-relaxed text-white/70",children:"en"===e?"Your credit is active. This is the in-depth pass the free report holds back â it takes a few seconds longer, and it is what produces the verdict.":"Tu crédito está activo. Este es el análisis en profundidad que el informe gratuito se guarda: tarda unos segundos más y es el que produce el veredicto."})]})]})]})}function t1({lang:e,variant:t="full"}){let a=(0,E.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",strokeWidth:"2.25",children:[(0,E.jsx)("path",{d:"M12 2.6l2.6 1.9 3.2-.1.9 3.1 2.6 1.8-1.2 3 1.2 3-2.6 1.8-.9 3.1-3.2-.1L12 21.4 9.4 19.5l-3.2.1-.9-3.1L2.7 14.7l1.2-3-1.2-3 2.6-1.8.9-3.1 3.2.1z"}),(0,E.jsx)("path",{d:"M9 12.2l2.1 2.1L15.4 10"})]});return"inline"===t?(0,E.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-blue-400/35 bg-blue-600 px-2.5 py-1 text-[10px] font-black uppercase tracking-[0.16em] text-blue-200",children:[a,"en"===e?"Reader-funded AI":"IA financiada por un lector"]}):(0,E.jsxs)("div",{className:"relative overflow-hidden rounded-[20px] border border-blue-400/30 bg-white/[0.03] px-5 py-4",children:[(0,E.jsx)("div",{"aria-hidden":!0,
7className:"hidden"}),(0,E.jsxs)("div",{className:"relative flex items-start gap-3.5",children:[(0,E.jsx)("span",{"aria-hidden":!0,className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-blue-600 text-white",children:a}),(0,E.jsxs)("div",{className:"min-w-0",children:[(0,E.jsx)("p",{className:"text-[10px] font-black uppercase tracking-[0.22em] text-blue-200",children:"en"===e?"In-depth assessment":"Evaluación en profundidad"}),(0,E.jsx)("p",{className:"mt-1.5 text-[13.5px] font-semibold leading-relaxed text-white/85",children:"en"===e?(0,E.jsxs)(E.Fragment,{children:["A reader spent an ",(0,E.jsx)("span",{className:"font-extrabold text-white",children:"analysis credit"})," to have this page read by our AI. The reasoning below is the result â and it stays public for everyone who opens this report."]}):(0,E.jsxs)(E.Fragment,{children:["Un lector usó un ",(0,E.jsx)("span",{className:"font-extrabold text-white",children:"crédito de análisis"})," para que nuestra IA leyera esta página. El razonamiento de abajo es el resultado, y queda público para todo el que abra este informe."]})})]})]})]})}let t2=/^(?=.{1,253}$)(?:[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?\.)+[a-z]{2,63}$/,t5=/^[+\d\s\-().]{4,64}$/,t3=/^\+[1-9]\d{7,14}$/,t4=/^[6789]\d{8}$/;function t8(e){return t6(e)?"phone":"domain"}function t6(e){let t=(e||"").normalize("NFKC").replace(/[\u0000-\u0008\u000B\u000C\u000E-\u001F\u007F]/g,"").trim().slice(0,64);if(!t||!t5.test(t))return"";let a=t.replace(/[\s\-().]/g,"");return(a.startsWith("00")?a=`+${a.slice(2)}`:t4.test(a)?a=`+34${a}`:/^\d+$/.test(a)&&(a=`+${a}`),0!==a.indexOf("+")||a.slice(1).includes("+"))?"":t3.test(a)?a:""}function t7(e){if(!e.startsWith("+34")||12!==e.length)return e.replace(/^\+/,"");let t=e.slice(3);return`34 ${t.slice(0,3)} ${t.slice(3,6)} ${t.slice(6)}`}let t9=e=>{let t=(e||"").trim().normalize("NFKC").toLowerCase();if(!t)return{ok:!1,normalized:"",reason:"empty"};if(/\s/.test(t))return{ok:!1,normalized:t,reason:"spaces"};let a=/^[a-z][a-z0-9+.-]*:\/\//i.test(t)||t.includes("/")||t.includes("?")||t.includes("#")||t.includes("@")||t.includes(":"),n=t;if(a){let e=/^[a-z][a-z0-9+.-]*:\/\//i.test(t)?t:`https://${t}`;try{n=(new URL(e).hostname||"").toLowerCase()}catch{return{ok:!1,normalized:t,reason:"url_like"}}}let s=n.replace(/^\.+|\.+$/g,"");return s?/^\d{1,3}(?:\.\d{1,3}){3}$/.test(s)?{ok:!1,normalized:s,reason:"ip"}:s.includes(".")?t2.test(s)?{ok:!0,normalized:s,reason:"ok"}:{ok:!1,normalized:s,reason:"format"}:{ok:!1,normalized:s,reason:"missing_tld"}:{ok:!1,normalized:t,reason:"format"}};var ae=e.i(84702);let at="https://desenmascara.me",aa={dns_failed:{es:"No se pudo resolver el dominio (DNS).",en:"We couldn't resolve the domain (DNS)."},timeout:{es:"La conexión agotó el tiempo de espera.",en:"The connection timed out."},blocked:{es:"El sitio bloqueó el acceso (WAF/CAPTCHA).",en:"The site blocked access (WAF/CAPTCHA)."},http_error:{es:"El sitio respondió con un error HTTP.",en:"The site responded with an HTTP error."},ssl_error:{es:"Fallo en la conexión SSL/TLS.",en:"SSL/TLS connection failed."},connection_refused:{es:"El servidor rechazó la conexión.",en:"The server refused the connection."},connection_error:{es:"No se pudo establecer conexión con el servidor.",en:"Could not establish a connection to the server."},request_error:{es:"Error al contactar con el servidor.",en:"Error contacting the server."},scrapingbee_error:{es:"No se pudo acceder al sitio desde nuestros proveedores.",en:"We couldn't reach the site via our upstream providers."},email_not_verified:{es:"Debes verificar tu email antes de analizar dominios. Revisa tu bandeja de entrada.",en:"You must verify your email before analyzing domains. Check your inbox."}},an=e=>(e||"").toUpperCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),as=e=>["FRAUDULENTO","FRAUDULENT","FAKE","CUIDADO"].includes(an(e)),ar=e=>["OK","LEGIT","LEGITIMO","LEGITIMATE","SAFE","SEGURO","VERIFICADO"].includes(an(e)),ai=e=>["SUSPICIOUS","SUSPICIOSO","SOSPECHOSO"].includes(an(e)),al=e=>["INSUFFICIENT_DATA","INSUFFICIENT DATA","WATCH","UNDER_WATCH","BAJO_VIGILANCIA"].includes(an(e)),ao=e=>["failed","error","analysis_failed","failed_analysis","rejected"].includes((e||"").toLowerCase()),ad=e=>Math.round(e/1e3*100)/100,ac=e=>!!e&&(0,ae.isPreliminaryStatus)({analysis_status:e.analysis_status,justification_ai:e.analisis?.justification_ai||e.justification_ai}),au=(e,t)=>e?e.error?Array.isArray(e.error)?e.error.join(", "):e.error:e.error_code?aa[e.error_code]?.[t]||e.error_code:e.details?e.details:e.detalle?e.detalle:e.anal
7ysis_status&&ao(e.analysis_status)?"en"===t?`Analysis failed (${e.analysis_status}).`:`El an\xe1lisis fall\xf3 (${e.analysis_status}).`:null:null,am=(e={})=>{let t={...e};{let e=localStorage.getItem("access");e&&(t.Authorization=`Bearer ${e}`)}return t},ah=(e,t={},a,n={})=>tG(e,t,{lang:a,...n}),ap="v2026.09.25",af=(e=>{let t=e.trim(),a=t.match(/^v\d{4}\.\d{2}\.\d{2}(?:\.\d+)?/);if(a)return a[0];let n=t.indexOf("-");return -1!==n?t.slice(0,n):t||ap})([C.default.env.NEXT_PUBLIC_GIT_TAG,"v2026.09.25",C.default.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_REF,C.default.env.NEXT_PUBLIC_VERCEL_GIT_COMMIT_SHA].find(e=>"string"==typeof e&&e.trim().length>0)??ap),ax=({lang:e,theme:t="dark"})=>{let a="es"===e,n="light"===t,s=`text-[14px] font-medium transition-colors ${n?"text-[#415365] hover:text-[#102033]":"text-slate-300 hover:text-white"}`,r=`font-semibold underline decoration-1 underline-offset-4 transition-colors ${n?"text-[#1b3a8f] decoration-[#1b3a8f]/40 hover:decoration-[#1b3a8f]":"text-[#93b4ff] decoration-[#93b4ff]/40 hover:text-white hover:decoration-white"}`;return(0,E.jsx)("footer",{className:`relative z-10 mt-auto w-full border-t px-[18px] py-12 sm:px-6 ${n?"border-[#cad4ce] text-[#415365]":"border-white/[0.07] text-slate-400"}`,children:(0,E.jsxs)("div",{className:"mx-auto flex max-w-[1192px] flex-col gap-10 sm:flex-row sm:items-start sm:justify-between",children:[(0,E.jsxs)("div",{className:"max-w-xs",children:[(0,E.jsx)(tU.default,{href:"/","aria-label":"desenmascara.me",className:"inline-block",children:(0,E.jsx)(tW,{theme:n?"light":"dark"})}),(0,E.jsx)("p",{className:"mt-4 text-[13px] leading-6",children:a?"Inteligencia para decidir con más contexto.":"Intelligence for more informed decisions."}),(0,E.jsxs)("p",{className:"mt-3 text-[12px]",children:["© ",new Date().getFullYear()," desenmascara.me · ",af]})]}),(0,E.jsxs)("div",{className:"max-w-xl sm:text-right",children:[(0,E.jsxs)("nav",{"aria-label":a?"Enlaces del pie de página":"Footer links",className:"flex flex-wrap gap-x-6 gap-y-3 sm:justify-end",children:[(0,E.jsx)(tU.default,{href:`/business?lang=${a?"es":"en"}`,className:s,children:a?"Empresas":"Business"}),(0,E.jsx)(tU.default,{href:"/api-feed",className:s,children:"API"}),(0,E.jsx)(tU.default,{href:"/pro",className:s,children:a?"Planes":"Plans"}),(0,E.jsx)(tU.default,{href:a?"/fuentes":"/sources",className:s,children:a?"Fuentes":"Sources"}),(0,E.jsx)(tU.default,{href:"/top-signals",className:s,children:a?"Señales":"Signals"}),(0,E.jsx)(tU.default,{href:"/contact",className:s,children:a?"Contacto":"Contact"})]}),(0,E.jsxs)("nav",{"aria-label":a?"Información legal":"Legal information",className:"mt-4 flex flex-wrap gap-x-6 gap-y-3 sm:justify-end",children:[(0,E.jsx)(tU.default,{href:a?"/privacidad":"/privacy",className:s,children:a?"Privacidad":"Privacy"}),(0,E.jsx)(tU.default,{href:a?"/terminos":"/terms",className:s,children:a?"Términos":"Terms"}),(0,E.jsx)(tU.default,{href:a?"/politica-reembolso":"/refund-policy",className:s,children:a?"Reembolsos":"Refunds"}),(0,E.jsx)(tU.default,{href:a?"/rgpd":"/gdpr",className:s,children:a?"RGPD":"GDPR"})]}),(0,E.jsxs)("p",{className:"mt-6 text-[12px] leading-6",children:[a?"Al usar este servicio aceptas nuestros ":"By using this service you accept our ",(0,E.jsx)(tU.default,{href:a?"/privacidad":"/privacy",className:r,children:a?"términos de recopilación de datos":"data collection terms"}),"."]})]})]})})};var ag=e.i(54175);let ab=[{key:"supporter",label:"5 â¬"},{key:"advocate",label:"15 â¬"},{key:"patron",label:"50 â¬"}];async function av(e,t){let a=(t?.domain||"").replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase();try{let n=await tG("https://desenmascara.me/api/billing/donate/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tier:e,domain:a||void 0,public_id:t?.publicId||void 0})},{allowAnonymousFallback:!0}),s=await n.json().catch(()=>({}));if(n.ok&&s.checkout_url)return window.location.href=s.checkout_url,!0}catch{}return!1}let aw=C.default.env.NEXT_PUBLIC_CHROME_EXTENSION_URL||"https://chromewebstore.google.com/detail/desenmascarame-%E2%80%94-verifica/dangfbjhlmkkbkiplcgjneooljhikgjn";function ay({lang:e,vtShared30d:t,totalSites:a,fraudSites:n}){let s="es"===e,[r,i]=(0,T.useState)(null),[l,o]=(0,T.useState)(!1),d=async e=>{o(!1),i(e),await av(e)||(o(!0),i(null))},c=e=>Number.isFinite(e)&&e>
70?e.toLocaleString(s?"es-ES":"en-US"):null,u=c(t),m=[{n:"01",title:s?"Detecta":"Detect",text:s?"Dominio, infraestructura, contenido y avisos de más de 55 reguladores, en segundos y sin que visites la web.":"Domain, infrastructure, content and notices from 55+ regulators, in seconds and without you visiting the site.",stat:c(a),statLabel:s?"dominios analizados":"domains analysed",live:!1,fraud:!1},{n:"02",title:s?"Documenta":"Document",text:s?"Un informe público y gratuito por sitio, con su fecha, su evidencia y sus versiones anteriores.":"A free, public report for every site, with its date, its evidence and its earlier versions.",stat:c(n),statLabel:s?"sitios fraudulentos documentados":"fraudulent sites documented",live:!1,fraud:!0},{n:"03",title:s?"Comparte":"Share",text:s?"Los fraudes confirmados desde 91/100 llegan solos a VirusTotal, donde los consultan proveedores de seguridad y listas de bloqueo.":"Frauds confirmed at 91/100 or above go to VirusTotal on their own, where security vendors and blocklists read them.",stat:u,statLabel:s?"sitios fraudulentos compartidos en los últimos 30 dÃas":"fraudulent sites shared in the last 30 days",live:!0,fraud:!0}];return(0,E.jsxs)("section",{className:ag.default.common,"aria-labelledby":"common-good-title",children:[(0,E.jsx)("div",{className:ag.default.eyebrow,children:s?"Un bien común para Internet":"A public good for the Internet"}),(0,E.jsx)("h2",{id:"common-good-title",children:s?"Un Internet más seguro, entre todos.":"A safer Internet, built together."}),(0,E.jsx)("p",{className:ag.default.commonLead,children:s?"desenmascara.me trabaja de forma autónoma, dÃa y noche. Analiza cada enlace que le llega, publica la evidencia en abierto y, cuando confirma un fraude con alta certeza, lo comparte con VirusTotal sin esperar a nadie. Cada comprobación que haces protege también a la siguiente persona.":"desenmascara.me runs on its own, day and night. It analyses every link it receives, publishes the evidence in the open and, when it confirms a fraud with high certainty, shares it with VirusTotal without waiting for anyone. Every check you run also protects the next person."}),(0,E.jsx)("ol",{className:ag.default.pipeline,children:m.map(e=>(0,E.jsxs)("li",{className:e.live?ag.default.pipelineLive:e.fraud?ag.default.pipelineFraud:void 0,children:[(0,E.jsx)("span",{className:ag.default.stepNumber,children:e.n}),e.live&&(0,E.jsxs)("span",{className:ag.default.liveTag,children:[(0,E.jsx)("i",{className:ag.default.fraudDot,"aria-hidden":"true"}),s?"En directo":"Live"]}),(0,E.jsx)("h3",{children:e.title}),(0,E.jsx)("p",{children:e.text}),e.stat&&(0,E.jsxs)("div",{className:`${ag.default.pipelineStat} ${e.fraud?ag.default.statFraud:""}`,children:[(0,E.jsx)("strong",{children:e.stat}),(0,E.jsx)("span",{children:e.statLabel})]})]},e.n))}),(0,E.jsx)("h3",{className:ag.default.helpTitle,children:s?"Cómo puedes colaborar":"How you can help"}),(0,E.jsxs)("div",{className:ag.default.helpGrid,children:[(0,E.jsxs)("article",{children:[(0,E.jsx)("h4",{children:s?"Comprueba lo que te llegue":"Check what reaches you"}),(0,E.jsx)("p",{children:s?"Un SMS, un anuncio, una tienda que no conoces. Cada comprobación queda documentada y protege a quien llegue después.":"A text message, an ad, a shop you do not know. Every check is documented and protects whoever comes next."}),(0,E.jsxs)("a",{className:ag.default.helpAction,href:"#checker-title",onClick:e=>{e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}),window.setTimeout(()=>document.getElementById("domain-input")?.focus({preventScroll:!0}),450)},children:[s?"Comprobar una web":"Check a website"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]}),(0,E.jsxs)("article",{children:[(0,E.jsx)("h4",{children:s?"Aporta casos al observatorio abierto":"Add cases to the open observatory"}),(0,E.jsx)("p",{children:s?"Un archivo público de fraudes documentados para que cualquiera aprenda a reconocerlos. Proponer un caso lleva cinco minutos.":"A public archive of documented frauds, so anyone can learn to recognise them. Proposing a case takes five minutes."}),(0,E.jsxs)("div",{className:ag.default.helpLinks,children:[(0,E.jsxs)("a",{className:ag.default.helpAction,href:"https://github.com/ecasbas/digital-fraud-observatory/issues/new?template=new-example.yml",target:"_blank",rel:"noopener noreferrer",children:[s?"Proponer un caso":"Propose a case"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]}),(0,E.jsxs)("a",{href:"https://ecasbas.github.io/digital-fraud-observatory/",target:"_blank",rel:"noopener noreferrer",children:[s?"Ver el observatorio":"See the observatory"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]})]}),(0,E.jsxs)("article",{children:[(0,E.jsx)("h4",{children:s?"Comprueba desde el navegador":"Check from your browser"}),(0,E.jsx)("p",{children:s?"Con la extensión de Chrome analizas la web en la que estás con un clic, sin copiar ni pegar nada.":"With the Chrome extension you analyse the site you are on in one click, without copying or pasting anything."}),(0,E.jsxs)("a",{className:ag.default.helpAction,href:aw,target:"_blank",rel:"noopener noreferrer",children:[s?"Instalar la extensión":"Install the extension"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]}),(0,E.jsxs)("article",{children:[(0,E.jsx)("h4",{children:s?"Mantén la investigación abierta":"Keep the investigations open"}),(0,E.jsx)("p",{children:s?"Tu aportación paga las investigaciones que nadie encarga y las mantiene gratis para todos.":"Your contribution pays for the investigations nobody commissions, and keeps them free for everyone."}),(0,E.jsx)("div",{className:ag.default.donate,children:ab.map(e=>(0,E.jsx)("button",{type:"button",disabled:null!==r,onClick:()=>
7d(e.key),children:r===e.key?"â¦":e.label},e.key))}),l&&(0,E.jsx)("p",{className:ag.default.donateError,role:"alert",children:s?"No se pudo abrir la página de pago. Inténtalo de nuevo.":"Could not open the payment page. Please try again."})]})]}),(0,E.jsxs)("p",{className:ag.default.rectify,children:[s?"¿Crees que nos hemos equivocado con tu web? La rectificación es siempre gratuita. ":"Think we got your website wrong? Correction is always free. ",(0,E.jsxs)("a",{href:s?"/politica-falsos-positivos":"/false-positive-policy",children:[s?"PolÃtica de falsos positivos":"False positive policy"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]})]})}function aj({lang:e,vtShared30d:t,totalSites:a,fraudSites:n}){let s="es"===e;return(0,E.jsx)("div",{className:ag.default.band,children:(0,E.jsxs)("div",{className:ag.default.overview,children:[(0,E.jsx)(ay,{lang:e,vtShared30d:t,totalSites:a,fraudSites:n}),(0,E.jsxs)("section",{className:ag.default.enterprise,"aria-labelledby":"business-heading",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:ag.default.eyebrow,children:s?"DESENMASCARA.ME PARA EMPRESAS":"DESENMASCARA.ME FOR BUSINESS"}),(0,E.jsx)("h2",{id:"business-heading",children:s?"De una comprobación a una capacidad de investigación.":"From a single check to an investigation capability."}),(0,E.jsx)("p",{children:s?"Evaluaciones de inteligencia antifraude, acceso API e histórico, y seguimiento de marca con alcance definido. Encuentra el punto de partida para tu equipo.":"Fraud intelligence evaluations, API and historical access, and scoped brand monitoring. Find the right starting point for your team."}),(0,E.jsxs)(tU.default,{className:ag.default.enterpriseCta,href:`/business?lang=${e}`,children:[s?"Explorar las tres soluciones":"Explore the three solutions"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]}),(0,E.jsxs)("div",{className:ag.default.enterpriseList,children:[(s?["Evaluar tu cobertura","Investigar con contexto","Seguir señales relevantes"]:["Evaluate your coverage","Investigate with context","Follow relevant signals"]).map((e,t)=>(0,E.jsxs)("div",{children:[(0,E.jsxs)("span",{children:["0",t+1]}),e]},e)),(0,E.jsxs)(tU.default,{href:"/api-feed",children:[s?"Documentación API":"API documentation"," â"]}),(0,E.jsxs)(tU.default,{href:"/mcp",children:[s?"Integración con agentes de IA":"AI agent integration"," â"]})]})]}),(0,E.jsxs)("p",{className:ag.default.disclaimer,children:[s?"Una evaluación aporta señales, no una garantÃa. Si falta evidencia, te lo indicamos. ":"An assessment provides signals, not a guarantee. When evidence is insufficient, we say so. ",(0,E.jsxs)(tU.default,{href:s?"/fuentes":"/sources",children:[s?"Conoce nuestras fuentes":"Explore our sources"," â"]})]})]})})}var a_=e.i(34647);function aN(e,t,a){return e&&e.domain&&Array.isArray(e.findings)&&0!==e.findings.length?{domain:e.domain,verdict:"fraud"===t?a?"Fraudulento":"Fraudulent":a?"LegÃtimo":"Legitimate",tone:t,score:Math.round(Number(e.score??("fraud"===t?95:5))),lines:e.findings.slice(0,4).map(e=>({text:a?e.es:e.en,bad:"fraud"===t})),shared:"fraud"===t&&!!e.vt_pushed,real:!0,masked:!!e.masked,assessedAt:e.assessed_at,report
7Url:"legit"===t&&e.report_url||null}:null}function ak({lang:e}){let t="es"===e,[a,n]=(0,T.useState)(null),[s,r]=(0,T.useState)(0),[i,l]=(0,T.useState)(0),[o,d]=(0,T.useState)(!1);(0,T.useEffect)(()=>{let e=new AbortController;return fetch("https://desenmascara.me/api/showcase/",{signal:e.signal}).then(e=>e.ok?e.json():null).then(e=>{e&&"object"==typeof e&&(n(e),r(0),l(0))}).catch(()=>{}),()=>e.abort()},[]);let c=[{domain:t?"norbank-verificacion.example":"norbank-verify.example",verdict:t?"Fraudulento":"Fraudulent",tone:"fraud",score:94,shared:!0,lines:[{text:t?"Dominio registrado hace 3 dÃas":"Domain registered 3 days ago",bad:!0},{text:t?"Suplanta a Norbank: logotipo y formulario de acceso":"Impersonates Norbank: logo and sign-in form",bad:!0},{text:t?"Mismo kit de phishing que 14 sitios ya fraudulentos":"Same phishing kit as 14 known fraudulent sites",bad:!0},{text:t?"Servidor compartido con fraudes anteriores":"Server shared with earlier fraud",bad:!0}]},{domain:"norbank.example",verdict:t?"LegÃtimo":"Legitimate",tone:"legit",score:8,shared:!1,lines:[{text:t?"Dominio con 19 años de antigüedad":"Domain registered 19 years ago",bad:!1},{text:t?"Entre los 5.000 sitios más visitados (Tranco)":"Among the 5,000 most visited sites (Tranco)",bad:!1},{text:t?"Sin avisos en listas de reguladores":"No entries on regulator watchlists",bad:!1},{text:t?"Sin coincidencias con kits de phishing":"No match with known phishing kits",bad:!1}]}],u=(a?.cases||[]).map(e=>aN(e,"LEGIT"===e.verdict?"legit":"fraud",t)).filter(e=>null!==e),m=u.length>0?u:[aN(a?.fraud,"fraud",t)||c[0],aN(a?.legit,"legit",t)||c[1]];(0,T.useEffect)(()=>{try{window.matchMedia("(prefers-reduced-motion: reduce)").matches&&d(!0)}catch{}},[]);let h=m[s%m.length],p=h.lines.length+2;(0,T.useEffect)(()=>{if(o)return;let e=i<p?window.setTimeout(()=>l(e=>e+1),0===i?500:650):window.setTimeout(()=>{l(0),r(e=>(e+1)%m.length)},3400);return()=>window.clearTimeout(e)},[i,p,o,m.length]);let f=o?p:i;return(0,E.jsxs)("figure",{className:ag.default.preview,"aria-label":h.real?t?"Caso real reciente":"Recent real case":t?"Ejemplo ilustrativo de informe":"Illustrative report example",children:[(0,E.jsx)("div",{className:ag.default.previewStack,children:m.map((e,a)=>(0,E.jsx)(aS,{c:e,es:t,active:a===s,visible:a===s?f:e.lines.length+2,cycle:s},a))}),m.length>2&&(0,E.jsx)("div",{className:ag.default.previewPager,role:"group","aria-label":t?"Casos recientes":"Recent cases",children:m.map((e,a)=>(0,E.jsx)("button",{type:"button",className:a===s?ag.default.pagerOn:ag.default.pagerOff,"aria-label":`${t?"Caso":"Case"} ${a+1} ${t?"de":"of"} ${m.length}`,"aria-current":a===s,onClick:()=>{r(a),l(0)},children:(0,E.jsx)("span",{className:"fraud"===e.tone?ag.default.pagerFraud:ag.default.pagerLegit})},a))})]})}function aS({c:e,es:t,active:a,visible:n,cycle:s}){let r=n>e.lines.length;return(0,E.jsxs)("div",{className:ag.default.previewCase,"aria-hidden":!a,style:{visibility:a?"visible":"hidden"},children:[(0,E.jsxs)("div",{className:ag.default.previewBar,children:[(0,E.jsxs)("span",{className:ag.default.previewDots,"aria-hidden":"true",children:[(0,E.jsx)("i",{}),(0,E.jsx)("i",{}),(0,E.jsx)("i",{})]}),e.reportUrl?(0,E.jsx)("a",{className:`${ag.default.previewDomain} ${ag.default.previewDomainLink}`,href:e.reportUrl,tabIndex:a?0:-1,children:e.domain}):(0,E.jsx)("span",{className:ag.default.previewDomain,title:e.masked?t?"Dominio enmascarado: no le damos difusión":"Domain masked: we do not give it reach":void 0,children:e.domain}),(0,E.jsx)("span",{className:ag.default.previewTag,children:e.real?`${t?"Caso real":"Real case"}${e.assessedAt?` \xb7 ${function(e,t){if(!e)return"";let a=Math.max(1,Math.round((Date.now()-new Date(e).getTime())/6e4));if(!Number.isFinite(a))return"";if(a<60)return t?`hace ${a} min`:`${a} min ago`;let n=Math.round(a/60);if(n<48)return t?`hace ${n} h`:`${n} h ago`;let s=Math.round(n/24);return t?`hace ${s} d\xedas`:`${s} days ago`}(e.assessedAt,t)}`:""}`:t?"Ejemplo ilustrativo":"Illustrative example"})]}),(0,E.jsx)("ul",{className:ag.default.previewLines,children:e.lines.map((e,t)=>(0,E.jsxs)("li",{className:t<n?ag.default.lineIn:ag.default.lineOut,children:[(0,E.jsx)("span",{className:e.bad?ag.default.markBad:ag.default.markGood,"aria-hidden":"true",children:e.bad?"!":"â"}),e.text]},`${s}-${t}`))}),(0,E.jsxs)("div",{className:`${ag.default.previewVerdict} ${r?ag.default.lineIn:ag.default.lineOut}`,children:[(0,E.jsx)("span",{className:"fraud"===e.tone?ag.default.verdictFraud:ag.default.verdictLeg
7it,children:e.verdict}),(0,E.jsxs)("span",{className:ag.default.previewScore,children:[(0,E.jsx)("b",{children:e.score}),"/100 ",(0,E.jsx)("em",{children:t?"riesgo":"risk"})]}),(0,E.jsx)("span",{className:ag.default.previewMeter,"aria-hidden":"true",children:(0,E.jsx)("span",{className:"fraud"===e.tone?ag.default.meterFraud:ag.default.meterLegit,style:{width:a&&r?`${e.score}%`:"0%"}})})]}),(0,E.jsxs)("div",{className:`${ag.default.previewShare} ${e.shared?"":ag.default.previewShareIdle} ${n>e.lines.length+1?ag.default.lineIn:ag.default.lineOut}`,children:[(0,E.jsx)("span",{className:ag.default.shareIcon,"aria-hidden":"true",children:(0,E.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,E.jsx)("path",{d:"M12 3l8 4v5c0 5-3.5 8.5-8 9-4.5-.5-8-4-8-9V7l8-4z"}),e.shared?(0,E.jsx)("path",{d:"m9 12 2 2 4-4"}):(0,E.jsx)("path",{d:"M9 12h6"})]})}),(0,E.jsxs)("span",{className:ag.default.shareText,children:[(0,E.jsx)("b",{children:e.shared?t?"Enviado a VirusTotal automáticamente":"Sent to VirusTotal automatically":t?"Nada que enviar a VirusTotal":"Nothing sent to VirusTotal"}),e.shared?t?"Antivirus y listas de bloqueo pueden frenarlo desde ya.":"Antivirus engines and blocklists can stop it from now on.":t?"Sin motivo para que nadie lo bloquee.":"No reason for anyone to block it."]}),(0,E.jsx)("span",{className:ag.default.shareRule,children:e.shared?t?"Desde 91/100":"From 91/100":t?"Solo fraude":"Fraud only"})]})]})}let aE=C.default.env.NEXT_PUBLIC_CHROME_EXTENSION_URL||"https://chromewebstore.google.com/detail/desenmascarame-%E2%80%94-verifica/dangfbjhlmkkbkiplcgjneooljhikgjn";function aC(e,t=1400){let[a,n]=(0,T.useState)(void 0);return(0,T.useEffect)(()=>{if(!Number.isFinite(e))return;let a=!1;try{a=window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch{}if(a)return void n(e);let s=performance.now(),r=0,i=a=>{let l=Math.min(1,(a-s)/t);n(Math.round(e*(1-Math.pow(1-l,3)))),l<1&&(r=requestAnimationFrame(i))};return r=requestAnimationFrame(i),()=>cancelAnimationFrame(r)},[e,t]),a}function aT({value:e,onChange:t,onSubmit:a,disabled:n,lang:s,stats:r,inputMode:i,onInputModeChange:l,error:o}){let d="es"===s,c="web"===i,u=e=>Number.isFinite(e)?e.toLocaleString(d?"es-ES":"en-US"):"â",m=aC(r?.total_sites),h=aC(r?.fraud_sites);return(0,E.jsxs)("section",{className:ag.default.hero,"aria-labelledby":"checker-title",children:[(0,E.jsxs)("div",{className:ag.default.stage,children:[(0,E.jsxs)("div",{className:ag.default.lead,children:[(0,E.jsxs)("div",{className:ag.default.intro,children:[(0,E.jsxs)("div",{className:ag.default.chip,children:[(0,E.jsx)("span",{className:ag.default.pulse,"aria-hidden":"true"}),d?"Inteligencia contra el fraude online":"Intelligence against online fraud"]}),(0,E.jsxs)("h1",{id:"checker-title",children:[d?"Antes de confiar,":"Before you trust it,",(0,E.jsx)("br",{}),(0,E.jsx)("span",{children:d?"desenmascara.":"unmask it."})]}),(0,E.jsx)("p",{children:d?"Pega un enlace. Te devolvemos las señales de riesgo, la evidencia que las sostiene y lo que aún no sabemos.":"Paste a link. You get the risk signals, the evidence behind them, and what we donât yet know."})]}),(0,E.jsxs)("div",{className:ag.default.console,children:[(0,E.jsxs)("div",{className:`${ag.default.panel} ${n?ag.default.panelBusy:""}`,children:[(0,E.jsx)("div",{className:ag.default.tabs,role:"group","aria-label":d?"Tipo de consulta":"Check type",children:["web","phone"].map(e=>(0,E.jsx)("button",{type:"button",disabled:n,"aria-pressed":i===e,onClick:()=>{l(e),t("")},children:"web"===e?d?"Sitio web":"Website":d?"Teléfono":"Phone number"},e))}),(0,E.jsxs)("form",{onSubmit:e=>{e.preventDefault(),a()},children:[(0,E.jsx)("label",{className:ag.default.srOnly,htmlFor:"domain-input",children:c?d?"Enlace o dominio":"Link or domain":d?"Número de teléfono":"Phone number"}),(0,E.jsxs)("div",{className:ag.default.field,children:[(0,E.jsx)("span",{className:ag.default.fieldIcon,"aria-hidden":"true",children:(0,E.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,E.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,E.jsx)("path",{d:"m20 20-3.5-3.5"})]})}
7),(0,E.jsx)("input",{id:"domain-input",type:c?"text":"tel",inputMode:c?"url":"tel",autoComplete:"off",autoCapitalize:"none",spellCheck:!1,placeholder:c?d?"Ej.: tienda-ejemplo.com":"e.g. example-shop.com":d?"Ej.: +34 600 000 000":"e.g. +34 600 000 000",value:e,onChange:e=>t(e.target.value),disabled:n,"aria-invalid":!!o,"aria-describedby":o?"checker-error":"checker-help"}),(0,E.jsxs)("button",{className:ag.default.submit,type:"submit",disabled:n,children:[(0,E.jsx)("span",{children:n?d?"Analizando":"Analysing":c?d?"Desenmascarar":"Unmask":d?"Consultar":"Look up"}),(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]}),o&&(0,E.jsx)("p",{id:"checker-error",role:"alert",className:ag.default.error,children:o})]})]}),(0,E.jsxs)("p",{id:"checker-help",className:ag.default.help,children:[(0,E.jsx)("strong",{children:d?"Gratis, sin cuenta.":"Free, no account."})," ",c?d?"Escribe el nombre de la web o pega el enlace que te llegó por SMS, WhatsApp o correo. No hace falta que abras la web sospechosa.":"Type the websiteâs name or paste the link you got by text, WhatsApp or email. You donât need to open the suspicious site.":d?"Escribe el número tal cual te llamó o te escribió. Te enseñamos los avisos de otras personas y las webs relacionadas; que aparezca no demuestra que sea un fraude.":"Type the number exactly as it called or messaged you. We show other peopleâs reports and related sites; appearing here does not prove fraud."]})]})]}),(0,E.jsx)("div",{className:ag.default.demo,children:(0,E.jsx)(ak,{lang:s})})]}),(0,E.jsxs)("div",{className:ag.default.proof,"aria-label":d?"Acerca del servicio":"About the service",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("strong",{children:u(m)}),(0,E.jsx)("span",{children:d?"dominios evaluados":"domains assessed"})]}),(0,E.jsxs)("div",{className:ag.default.proofFraud,children:[(0,E.jsx)("strong",{children:u(h)}),(0,E.jsxs)("span",{children:[(0,E.jsx)("i",{className:ag.default.fraudDot,"aria-hidden":"true"}),d?"sitios fraudulentos documentados":"fraudulent sites documented"]})]}),(0,E.jsxs)("div",{children:[(0,E.jsx)("strong",{children:"+55"}),(0,E.jsx)("span",{children:d?"listas de reguladores cruzadas":"regulator watchlists cross-checked"})]})]}),(0,E.jsxs)("div",{className:ag.default.heroLinks,children:[(0,E.jsxs)(tU.default,{href:"/creditos",children:[d?"5 análisis con IA por 3 â¬":"5 AI analyses for â¬3"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]}),(0,E.jsxs)("a",{href:aE,target:"_blank",rel:"noopener noreferrer",children:[d?"Extensión de Chrome":"Chrome extension"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]}),(0,E.jsxs)(tU.default,{href:`/business?lang=${s}`,children:[d?"Soluciones para empresas":"Business solutions"," ",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]})]})}let aI=[{key:"fetch",en:"Fetching the site and capturing evidence",es:"Descargando la web y capturando evidencia"},{key:"signals",en:"Cross-checking 55+ regulators and phishing feeds",es:"Cruzando con +55 reguladores y feeds de phishing"},{key:"heuristics",en:"Heuristic checks: impersonation, cloaking, scam kits",es:"Análisis heurÃstico: suplantación, cloaking, kits de estafa"},{key:"ai",en:"AI is reasoning over the content",es:"La IA está razonando sobre el contenido"},{key:"verdict",en:"Unmasking the verdict and risk scoreâ¦",es:"Desenmascarando el veredicto y la puntuación de riesgoâ¦"}];function aA(e){return e>=12?3:e>=9?2:+(e>=6)}let aL={ok:{dot:"bg-emerald-300",text:"text-emerald-200/90"},warn:{dot:"bg-amber-300",text:"text-amber-200/95"},info:{dot:"bg-slate-400",text:"text-slate-400"}};function aR({seconds:e,lang:t,domain:a,stage:n,findings:s}){let r=function(e){if(!e)return null;if("queued"===e)return -1;let t=aI.findIndex(t=>t.key===e);return t>=0?t:null}(n),i=null===r?Math.min(aA(e),1):Math.max(r,Math.min(aA(e),r+1)),[l,o]=(0,T.useState)(e),d=(0,T.useRef)(i),c=(0,T.useRef)({0:0});(0,T.useEffect)(()=>{if(d.current!==i){let t=d.current;d.current=i,o(e),i===t+1&&(c.current[i]=e)}},[i,e]);let u="queued"===n,m=!u&&e-l>=20,h=u&&e>=3,p=Math.min(95,Math.round(100*(1-Math.exp(-e/9))));return(0,E.jsx)("div",{className:"w-full max-w-md mx-auto animate-fade-in scroll-mt-24",role:"status","aria-live":"polite","aria-atomic":"true","aria-busy":"true",children:(0,E.jsxs)("div",{className:"rounded-[30px] border border-white/10 bg-white/[0.05] p-8 shadow-[0_30px_90px_rgba(2,6,23,0.45)] backdrop-blur-xl sm:p-10",children:[(0,E.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,E.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-[0.26em] text-cyan-200/80",children:"en"===t?"Live investigation":"Investigación en vivo"}),(0,E.jsxs)("span",{className:"flex items-center gap-2 font-mono text-[11px] font-semibold tabular-nums text-slate-400",children:[(0,E.jsxs)("span",{className:"relative flex h-1.5 w-1.5",children:[(0,E.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-cyan-300/60"}),(0,E.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-cyan-300"})]}),e,"s"]}
7)]}),a&&(0,E.jsx)("div",{className:"mt-5 break-all font-mono text-base text-white/90 sm:text-lg",children:a}),(0,E.jsx)("div",{className:"mt-4 h-px w-full overflow-hidden rounded-full bg-white/10",children:(0,E.jsx)("div",{className:"h-full rounded-full bg-gradient-to-r from-cyan-300/80 to-blue-400/80 transition-all duration-1000 ease-out",style:{width:`${p}%`}})}),(0,E.jsx)("ul",{className:"mt-7 space-y-4",children:aI.map((a,n)=>{let s,r,o=n<i,d=n===i,m=o?(s=c.current[n],r=c.current[n+1],"number"!=typeof s||"number"!=typeof r?null:Math.max(r-s,0)):null;return(0,E.jsxs)("li",{className:"flex items-start gap-3.5",children:[(0,E.jsx)("span",{className:`mt-0.5 flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full border transition-all duration-500 ${o?"border-cyan-300/40 bg-cyan-400/15 text-cyan-300":d?"border-white/25 bg-white/5":"border-white/10 bg-transparent"}`,children:o?(0,E.jsx)("svg",{className:"h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:3,strokeLinecap:"round",strokeLinejoin:"round",children:(0,E.jsx)("path",{d:"M20 6L9 17l-5-5"})}):d?(0,E.jsx)("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-cyan-300"}):null}),(0,E.jsxs)("span",{className:"flex min-w-0 flex-1 items-baseline justify-between gap-3",children:[(0,E.jsxs)("span",{className:`text-sm leading-5 transition-colors duration-500 ${o?"text-slate-400":d?"font-medium text-white":"text-slate-500"}`,children:[(0,E.jsx)("span",{className:`mr-2 font-mono text-[10px] tabular-nums ${o||d?"text-cyan-300/60":"text-slate-300"}`,children:String(n+1).padStart(2,"0")}),"en"===t?a.en:a.es]}),(0,E.jsxs)("span",{className:"flex-shrink-0 font-mono text-[11px] tabular-nums text-slate-500",children:[o&&null!==m&&m>0&&`${m}s`,d&&!u&&e-l>=1&&(0,E.jsxs)("span",{className:"text-cyan-200/70",children:[e-l,"s"]}),d&&u&&(0,E.jsx)("span",{className:"text-amber-200/80",children:"en"===t?"queued":"en cola"})]})]})]},a.key)})}),!!(s&&s.length)&&(0,E.jsxs)("div",{className:"mt-6 rounded-2xl border border-white/10 bg-slate-950/40 px-4 py-3",children:[(0,E.jsx)("div",{className:"mb-2 text-[9px] font-bold uppercase tracking-[0.22em] text-slate-500",children:"en"===t?"Findings":"Hallazgos"}),(0,E.jsx)("ul",{className:"space-y-1.5",children:(s||[]).slice(-6).map(e=>{let a=aL[e.tone||"info"]||aL.info;return(0,E.jsxs)("li",{className:"flex items-center gap-2.5 animate-fade-in",children:[(0,E.jsx)("span",{className:`h-1.5 w-1.5 flex-shrink-0 rounded-full ${a.dot}`}),(0,E.jsx)("span",{className:`font-mono text-[11px] leading-4 ${a.text}`,children:"en"===t?e.label_en:e.label_es})]},e.id)})})]}),(0,E.jsx)("p",{className:"mt-7 text-center text-[11px] leading-4 text-slate-500 transition-opacity duration-700",children:h?"en"===t?"Queued â a forensic worker is picking this upâ¦":"En cola â un analizador forense está a punto de empezarâ¦":m?"en"===t?"Taking a little longer than usual â still analyzing, hold on.":"Está tardando un poco más de lo habitual â seguimos analizando.":"en"===t?"Real pipeline â each step below is happening right now.":"Pipeline real â cada paso de abajo está ocurriendo ahora mismo."})]})})}function a$({lang:e,domain:t,publicId:a,className:n,children:s}){let[r,i]=(0,T.useState)(!1),[l,o]=(0,T.useState)(null),d=(t||"").replace(/^https?:\/\//,"").replace(/\/+$/,""),c=new URLSearchParams;d&&c.set("d",d),a&&c.set("public_id",a);let u=`/creditos${c.toString()?`?${c}`:""}`;return l?(0,E.jsx)(tU.default,{href:u,className:n,children:"sales_off"===l?"en"===e?"See credit packs":"Ver packs de créditos":"en"===e?"Buy credits here â":"Comprar créditos aquà â"}):(0,E.jsx)("button",{type:"button",disabled:r,onClick:async()=>{i(!0);let e=await tX({domain:d||void 0,publicId:a||void 0});e&&(o(e),i(!1))},className:`${n} disabled:opacity-70`,children:r?"en"===e?"Opening secure paymentâ¦":"Abriendo pago seguroâ¦":s})}function aP({lang:e,domain:t,tone:a="light",underWatchReason:n,children:s}){let[r,i]=(0,T.useState)(null);(0,T.useEffect)(()=>{let e=!0;return tK().then(t=>{e&&i(t)}),()=>{e=!1}},[]);let l=!!r?.authenticated,o=r?.credits??0,d=(t||"").replace(/^https?:\/\//,"").replace(/\/+$/,"").toLowerCase();return l&&o>0&&"ai_unavailable"===n?(0,E.jsxs)("div",{className:"mt-5 w-full max-w-md rounded-2xl border border-amber-300/70 bg-amber-500/10 px-5 py-4 text-center",children:[(0,E.jsx)("p",{className:"text-[13px] font-bold text-amber-100",children:"en"===e?"We c
7ould not run the AI pass on this site right now.":"No hemos podido ejecutar el análisis con IA en este momento."}),(0,E.jsx)("p",{className:"mt-1.5 text-[12px] font-medium leading-relaxed text-amber-200",children:"en"===e?`This is on us, not on you: no credit was charged and your ${o} remain intact. Please try again in a few minutes.`:`Es cosa nuestra, no tuya: no se te ha descontado ning\xfan cr\xe9dito y conservas tus ${o}. Int\xe9ntalo de nuevo en unos minutos.`}),d&&(0,E.jsx)("a",{href:`/?d=${encodeURIComponent(d)}&use_credit=1`,className:"mt-3 inline-flex w-full items-center justify-center rounded-xl bg-amber-700 px-5 py-2.5 text-[13.5px] font-extrabold text-white transition hover:bg-amber-800",children:"en"===e?"Try again":"Reintentar"})]}):l&&o>0?(0,E.jsxs)("div",{className:"mt-5 w-full max-w-md rounded-2xl border border-emerald-300/70 bg-emerald-500/10 px-5 py-4 text-center",children:[(0,E.jsx)("p",{className:"text-[13px] font-bold text-emerald-100",children:"en"===e?`You have ${o} credit${1===o?"":"s"} in your account.`:`Tienes ${o} cr\xe9dito${1===o?"":"s"} en tu cuenta.`}),d&&(0,E.jsx)("a",{href:`/?d=${encodeURIComponent(d)}&use_credit=1`,className:"mt-3 inline-flex w-full items-center justify-center rounded-xl bg-emerald-700 px-5 py-3 text-[14px] font-extrabold text-white transition hover:bg-emerald-800",children:"en"===e?"Use 1 credit and get the verdict":"Usar 1 crédito y ver el veredicto"}),(0,E.jsx)("p",{className:"mt-2 text-[11px] font-medium text-emerald-200",children:"en"===e?"A credit is spent only if the AI actually runs.":"Solo se descuenta el crédito si la IA llega a ejecutarse."})]}):(0,E.jsxs)(E.Fragment,{children:[l&&(0,E.jsx)("p",{className:`mt-5 w-full max-w-md rounded-xl px-4 py-2.5 text-center text-[12.5px] font-bold ${"dark"===a?"bg-white/10 text-white/80":"bg-white/[0.06] text-slate-300"}`,children:"en"===e?"Your account has 0 credits left â that is why the verdict is held back.":"Tu cuenta tiene 0 créditos: por eso no ves el veredicto."}),s]})}function aF({lang:e,reason:t,renderSkipped:a,domain:n,onHumanReview:s}){let r=(n||"").replace(/^https?:\/\//,"").replace(/\/+$/,"").split("/")[0];if("parked"===t||"no_content"===t){let a="parked"===t;return(0,E.jsxs)("div",{className:"trust-card flex flex-col items-center rounded-[28px] border border-white/10 bg-gradient-to-b from-white/[0.04] to-white/[0.02] px-6 py-7 sm:px-8",children:[(0,E.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-white/10 px-3 py-1 text-xs font-bold uppercase tracking-[0.18em] text-slate-200",children:[(0,E.jsx)("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,E.jsx)("path",{d:"M3 21h18M6 21V8l6-4 6 4v13"})}),"en"===e?"No verdict":"Sin veredicto"]}),(0,E.jsx)("span",{className:"mb-3 text-center text-3xl font-extrabold text-slate-100 sm:text-4xl",children:a?"en"===e?"Parked domain.":"Dominio aparcado.":"en"===e?"No content to analyze.":"Sin contenido que analizar."}),(0,E.jsx)("p",{className:"max-w-md rounded-2xl border border-white/10 bg-white/[0.05] px-6 py-5 text-center text-base font-semibold text-slate-200 shadow-sm sm:text-lg",children:a?"en"===e?"This domain is parked or listed for sale: there is no published website, so there is nothing to assess. We issue no verdict â neither safe nor suspicious.":"Este dominio está aparcado o en venta: no hay web publicada, asà que no hay nada que evaluar. No emitimos veredicto: ni segura ni sospechosa.":"en"===e?"The page returned no content we could analyze. That is a lack of information, not a sign of fraud: we issue no verdict â neither safe nor suspicious.":"La página no devolvió contenido que podamos analizar. Eso es falta de información, no una señal de fraude: no emitimos veredicto, ni segura ni sospechosa."})]})}return"free_tier"===t||"ai_unavailable"===t?(0,E.jsxs)("div",{className:"trust-card relative overflow-hidden rounded-[28px] px-6 py-8 sm:px-9",children:[(0,E.jsx)("div",{"aria-hidden":!0,className:"hidden"}),(0,E.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,E.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-blue-600 px-3.5 py-1.5 text-[10px] font-black uppercase tracking-[0.22em] text-blue-200",children:[(0,E.jsxs)("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,E.jsx)("rect",{x:"4",y:"10",width:"16",height:"11",rx:"2.5"}),(0,E.jsx)("path",{d:"M8 10V7a4 4 0 0 1 8 0v3"})]}),"en"===e?"Not verified":"Sin verificar"]}),(0,E.jsx)("h2",{className:"mt-5 text-center text-4xl font-extrabold leading-[1.05] tracking-tight text-white sm:text-5xl",children:"en"===e?"We can't confirm this website is safe.":"No podemos confirmar que esta web sea segura."}),(0,E.jsx)("p",{className:"mt-4 max-w-md rounded-2xl border border-amber-300 bg-amber-500/10 px-5 py-4 text-center text-base font-bold leading-snug text-amber-100 sm:text-lg",children:"en"===e?"This does not mean it can be trusted. Don't pay or share your details until you are sure.":"Esto no quiere decir que sea de fiar. No pagues ni des tus datos hasta estar seguro."}),(0,E.jsx)("p",{className:"mt-3 max-w-md text-center text-[15px] font-medium leading-relaxed text-slate-300 sm:text-base",children:"en"===e?"Our free check did not find enough to give you an answer, either for or against.":"Nuestra comprobación gratuita no encontró suf
7iciente para darte una respuesta, ni a favor ni en contra."}),a&&(0,E.jsx)("p",{className:"mt-2.5 max-w-md text-center text-[12.5px] font-medium text-slate-500",children:"en"===e?"We also did not open the site in a real browser, so we have not seen all of its content.":"Tampoco abrimos la web en un navegador real, asà que no hemos visto todo su contenido."}),(0,E.jsx)("div",{"aria-hidden":!0,className:"mt-7 h-px w-full max-w-sm bg-gradient-to-r from-transparent via-white/15 to-transparent"}),(0,E.jsx)("p",{className:"mt-5 text-[10px] font-black uppercase tracking-[0.22em] text-slate-400",children:"en"===e?"To know for sure":"Para saberlo seguro"}),(0,E.jsxs)("div",{className:"mt-4 w-full max-w-md space-y-2.5",children:[(0,E.jsxs)(aP,{lang:e,domain:r,underWatchReason:t,children:[(0,E.jsxs)(a$,{lang:e,domain:r,className:"flex w-full items-center justify-between gap-3 rounded-2xl bg-blue-600 px-5 py-4 text-left text-white transition hover:bg-blue-500",children:[(0,E.jsxs)("span",{className:"min-w-0",children:[(0,E.jsx)("span",{className:"block text-[15px] font-extrabold leading-tight tracking-tight",children:"en"===e?"Settle it with AI":"Salir de dudas con IA"}),(0,E.jsx)("span",{className:"mt-0.5 block text-[11.5px] font-semibold text-blue-200",children:"en"===e?"The verdict, in seconds":"El veredicto, en segundos"})]}),(0,E.jsxs)("span",{className:"flex shrink-0 flex-col items-center rounded-xl bg-white/15 px-3 py-1.5 leading-none text-white",children:[(0,E.jsx)("span",{className:"text-[15px] font-black tabular-nums",children:"en"===e?"â¬3":"3 â¬"}),(0,E.jsx)("span",{className:"mt-0.5 text-[9px] font-bold uppercase tracking-[0.12em] text-white/90",children:"en"===e?"5 checks":"5 análisis"})]})]}),(0,E.jsx)("p",{className:"pt-1 text-center text-[12px] font-medium text-slate-500",children:"en"===e?"No account needed â pay and the answer loads":"Sin crear cuenta â pagas y aparece la respuesta"})]}),s&&(0,E.jsxs)("button",{type:"button",onClick:s,className:"flex w-full items-center justify-between gap-3 rounded-2xl border border-white/15 bg-white/[0.04] px-5 py-4 text-left transition hover:border-white/25 hover:bg-white/[0.05]",children:[(0,E.jsxs)("span",{className:"min-w-0",children:[(0,E.jsx)("span",{className:"block text-[15px] font-bold leading-tight tracking-tight text-white",children:"en"===e?"Have a person look at it":"Que lo revise una persona"}),(0,E.jsx)("span",{className:"mt-0.5 block text-[11.5px] font-medium text-slate-500",children:"en"===e?"Human Layer · a public, signed verdict":"Capa Humana · veredicto firmado y público"})]}),(0,E.jsx)("span",{className:"shrink-0 rounded-xl border border-white/15 px-3 py-2 text-[15px] font-black tabular-nums text-white",children:"en"===e?"â¬28":"28 â¬"})]})]})]})]}):(0,E.jsxs)("div",{className:"trust-card flex flex-col items-center rounded-[28px] border border-indigo-400/30 bg-gradient-to-b from-indigo-500/10 to-white/[0.02] px-6 py-7 sm:px-8",children:[(0,E.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-indigo-500/15 px-3 py-1 text-xs font-bold uppercase tracking-[0.18em] text-indigo-200",children:[(0,E.jsxs)("svg",{className:"h-3.5 w-3.5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,E.jsx)("path",{d:"M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z"}),(0,E.jsx)("circle",{cx:"12",cy:"12",r:"3"})]}),"en"===e?"Not verified":"Sin verificar"]}),(0,E.jsx)("div",{className:"relative mb-3 flex h-[9rem] w-64 items-center justify-center sm:h-[11rem] sm:w-80",children:(0,E.jsxs)("svg",{viewBox:"0 0 96 96",className:"h-32 w-32 text-indigo-300",fill:"none",stroke:"currentColor",strokeWidth:"3",children:[(0,E.jsx)("circle",{cx:"48",cy:"48",r:"42",strokeDasharray:"6 6"}),(0,E.jsx)("path",{d:"M22 48s10-18 26-18 26 18 26 18-10 18-26 18-26-18-26-18Z",strokeWidth:"3.5"}),(0,E.jsx)("circle",{cx:"48",cy:"48",r:"9",strokeWidth:"3.5",fill:"white"}),(0,E.jsx)("circle",{cx:"48",cy:"48",r:"3",fill:"currentColor",stroke:"none"})]})}),(0,E.jsx)("span",{className:"mb-2 max-w-md text-center text-3xl font-extrabold leading-tight text-indigo-100 sm:text-4xl",children:"en"===e?"We can't confirm this website is safe.":"No podemos confirmar que esta web sea segura."}),(0,E.jsx)("p",{className:"mb-4 max-w-md text-center text-sm font-semibold text-indigo-300",children:"en"===e?"We did not find enough to give you an answer, either for or against.":"No encontramos suficiente para darte una respuesta, ni a favor ni en contra."}),(0,E.jsx)("p",{className:"max-w-md rounded-2xl border border-amber-300 bg-amber-500/10 px-6 py-5 text-center text-base font-bold text-amber-100 shadow-sm sm:text-lg",children:"en"===e?"This does not mean it can be trusted. Don't pay or share your details until you are sure.":"Esto no quiere decir que sea de fiar. No pagues ni des tus datos hasta estar seguro."}),s&&(0,E.jsxs)("p",{className:"mt-4 max-w-md text-center text-[13px] leading-relaxed text-slate-300",children:["en"===e?"Need a firm answer? An analyst c
7an review it and publish a signed verdict within 24 hours. ":"¿Necesita una respuesta firme? Un analista puede revisarlo y publicar un veredicto firmado en menos de 24 h. ",(0,E.jsx)("button",{type:"button",onClick:s,className:"font-semibold text-indigo-200 underline underline-offset-4 hover:text-indigo-100",children:"en"===e?"Request a review â":"Solicitar revisión â"})]})]})}function aO({verdict:e,lang:t,aiScore:a,underWatchReason:n,renderSkipped:s,domain:r,onHumanReview:i}){var l;let o=al(e),d="number"==typeof a&&a>0?Math.round(a):as(e)?90:ai(e)?55:ar(e)?15:50,c=function(e,t=900){let[a,n]=(0,T.useState)(0),s=(0,T.useRef)(null),r=(0,T.useRef)(0);return(0,T.useEffect)(()=>{s.current=null;let a=i=>{s.current||(s.current=i);let l=Math.min((i-s.current)/t,1);n(Math.round((1-Math.pow(1-l,3))*e)),l<1&&(r.current=requestAnimationFrame(a))};return r.current=requestAnimationFrame(a),()=>cancelAnimationFrame(r.current)},[e,t]),a}(d);if(o)return(0,E.jsx)(aF,{lang:t,reason:n,renderSkipped:s,domain:r,onHumanReview:i}
7);let u=d>=61?{ring:"#c44a36",text:"text-red-300",bg:"bg-red-500/10 border-red-400/30",bgText:"text-red-100",label:"text-red-200",pill:"bg-red-500/15 text-red-200"}:d>=31?{ring:"#c38b2f",text:"text-amber-300",bg:"bg-amber-500/10 border-amber-400/30",bgText:"text-amber-100",label:"text-amber-200",pill:"bg-amber-500/15 text-amber-200"}:{ring:"#1f6b63",text:"text-emerald-300",bg:"bg-emerald-500/10 border-emerald-400/30",bgText:"text-emerald-100",label:"text-emerald-200",pill:"bg-emerald-500/15 text-emerald-200"},m=as(e)?"en"===t?"Dangerous":"Peligrosa":ai(e)?"en"===t?"Suspicious":"Sospechosa":ar(e)?"en"===t?"Safe":"Segura":"en"===t?"Unknown":"Desconocido",h=as(e)?"en"===t?"This website appears to be fraudulent. Do not enter personal data or make purchases.":"Esta web parece fraudulenta. No introduzcas datos personales ni realices compras.":ai(e)?"en"===t?"This website shows suspicious signs. Proceed with caution.":"Esta web muestra señales sospechosas. Procede con precaución.":ar(e)?"en"===t?"This website appears to be legitimate and safe.":"Esta web parece legÃtima y segura.":"en"===t?"We can't confirm this website is safe. Don't pay or share your details until you are sure.":"No podemos confirmar que esta web sea segura. No pagues ni des tus datos hasta estar seguro.",p=(l=d,"en"===t?l>=61?"Risk score: high probability of fraud":l>=31?"Risk score: some warning signs detected":"Risk score: no significant threats found":l>=61?"Puntuación de riesgo: alta probabilidad de fraude":l>=31?"Puntuación de riesgo: algunas señales de alerta":"Puntuación de riesgo: no se encontraron amenazas significativas"),f=ar(e),x=54*Math.PI,g=x-d/100*x;return(0,E.jsxs)("div",{className:"trust-card flex flex-col items-center rounded-[28px] px-6 py-7 sm:px-8",children:[(0,E.jsx)("div",{className:`mb-4 inline-flex rounded-full px-3 py-1 text-xs font-bold uppercase tracking-[0.18em] ${u.pill}`,children:"en"===t?"Risk Assessment":"Evaluacion de riesgo"}),(0,E.jsxs)("div",{className:"relative mb-3 h-[9rem] w-64 sm:h-[11rem] sm:w-80",children:[(0,E.jsxs)("svg",{viewBox:"0 0 120 68",className:"w-full h-full",children:[(0,E.jsx)("path",{d:"M 6 62 A 54 54 0 0 1 114 62",fill:"none",stroke:"#d9e2e7",strokeWidth:"7",strokeLinecap:"round"}),(0,E.jsx)("path",{d:"M 6 62 A 54 54 0 0 1 114 62",fill:"none",stroke:u.ring,strokeWidth:"7",strokeLinecap:"round",strokeDasharray:`${x}`,strokeDashoffset:g,className:"transition-all duration-1000 ease-out"})]}),(0,E.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-end pb-3",children:[(0,E.jsx)("span",{className:`text-5xl sm:text-6xl font-extrabold ${u.text}`,children:c}),(0,E.jsx)("span",{className:"text-sm uppercase tracking-widest text-slate-400",children:"/100"})]})]}),(0,E.jsx)("p",{className:"mb-2 text-center text-sm font-medium text-slate-200",children:p}),(0,E.jsx)("span",{className:`mb-4 text-4xl font-extrabold sm:text-5xl ${u.label}`,children:m}),f&&(0,E.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full border border-emerald-400/30 bg-white/[0.05] px-3 py-1.5 text-[11px] font-semibold uppercase tracking-[0.14em] text-emerald-200 shadow-sm",children:[(0,E.jsx)("span",{className:"inline-flex h-5 w-5 items-center justify-center rounded-full bg-emerald-500/15 text-[10px] text-emerald-300",children:"â"}),(0,E.jsx)("span",{children:"en"===t?"Transparency Profile":"Perfil de transparencia"}),(0,E.jsx)(tU.default,{href:"/verified",className:"text-[10px] font-bold text-emerald-300 underline underline-offset-2 hover:text-emerald-100",children:"Docs"})]}),(0,E.jsx)("p",{className:`max-w-md rounded-2xl border px-6 py-5 text-center text-lg font-semibold shadow-sm sm:text-xl ${u.bg} ${u.bgText}`,children:h})]})}let aM=new Set(["hit","blocked"]),aD={site_fetch:{es:["Lectura de la web","Descargamos su código y su contenido visible"],en:["Reading the site","We downloaded its code and visible content"]},trusted_domain:{es:["Lista de dominios verificados","¿Es una web que ya hemos comprobado como legÃtima?"],en:["Verified-domain list","Is this a
7site we have already confirmed as legitimate?"]},trusted_network:{es:["Sellos de confianza","Trusted Shops, Trustpilot, Confianza Online, Authorize.Net"],en:["Trust seals","Trusted Shops, Trustpilot, Confianza Online, Authorize.Net"]},tranco_top_sites:{es:["Ranking mundial de tráfico","¿Está entre el millón de webs más visitadas?"],en:["Global traffic ranking","Is it among the million most visited sites?"]},regulatory_warnings:{es:["Avisos de organismos reguladores","CNMV, FCA, SEC y otros supervisores financieros"],en:["Regulator warnings","CNMV, FCA, SEC and other financial supervisors"]},chainabuse_reports:{es:["Denuncias de estafas cripto","VÃctimas que reportaron este dominio en Chainabuse"],en:["Crypto-scam reports","Victims who reported this domain on Chainabuse"]},google_safe_browsing:{es:["Google Safe Browsing","La lista de malware de Google (no cubre estafas)"],en:["Google Safe Browsing","Google's malware list (it does not cover scams)"]},cloudflare_phishing:{es:["Señalado por Cloudflare","¿Cloudflare bloquea la web por phishing?"],en:["Flagged by Cloudflare","Does Cloudflare block the site for phishing?"]},phishdestroy_destroylist:{es:["Lista curada PhishDestroy","Dominios de phishing confirmados por investigadores"],en:["PhishDestroy curated list","Phishing domains confirmed by researchers"]},phishing_kit:{es:["Firmas de kits de estafa","¿Está montada con un kit de phishing conocido?"],en:["Scam-kit signatures","Is it built with a known phishing kit?"]},ai_agent_traps:{es:["Trampas ocultas para IA","Instrucciones invisibles dirigidas a agentes automáticos"],en:["Hidden AI traps","Invisible instructions aimed at automated agents"]},clickfix:{es:["Engaño ClickFix","Falso 'verifica que eres humano' que pide ejecutar un comando"],en:["ClickFix lure","Fake 'verify you are human' prompt asking you to run a command"]},gov_impersonation:{es:["Suplantación de organismos","¿Se hace pasar por una administración pública?"],en:["Government impersonation","Does it pose as a public administration?"]},corpus_prior:{es:["Cruce con nuestro histórico","Qué sabemos ya de su página, su servidor y su antigüedad"],en:["Cross-check with our history","What we already know about its page, server and age"]},other_risk_signals:{es:["Otras señales de riesgo","Hallazgos que sustentan el veredicto y no encajan en las listas anteriores"],en:["Other risk signals","Findings behind the verdict that fit none of the lists above"]},heuristics:{es:["Reglas técnicas","Antigüedad, registrador, servidor y términos de la página"],en:["Technical rules","Age, registrar, server and the wording on the page"]},risk_scoring:{es:["Puntuación de riesgo","El número final, de 0 a 100"],en:["Risk score","The final number, from 0 to 100"]}},az=new Set(["site_fetch","risk_scoring"]);function aU({check:e,lang:t,visible:a,folded:n=!1}){let s,r,i,[l,o]=(i=aD[e.id])?i[t]:["en"===t?e.label_en:e.label_es,null],d=aM.has(String(e.status||"")),c=az.has(e.id);return d?(s="en"===t?"Finding":"Hallazgo",r="text-amber-300"):c?(s="en"===t?"Done":"Hecho",r="text-slate-400"):(s="en"===t?"Clear":"Limpio",r="text-emerald-300"),(0,E.jsxs)("li",{className:`${n?"hidden":"flex"} items-start gap-3 py-2.5 transition-all duration-300 ease-out ${a?"translate-y-0 opacity-100":"translate-y-1 opacity-0"}`,children:[(0,E.jsx)("span",{"aria-hidden":!0,className:`mt-0.5 flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full ${d?"bg-amber-500/15 text-amber-300":c?"bg-white/[0.06] text-slate-500":"bg-emerald-500/15 text-emerald-300"}`,children:(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-2.5 w-2.5",fill:"none",stroke:"currentColor",strokeWidth:"4",children:d?(0,E.jsx)("path",{d:"M12 8v5M12 17h.01"}):(0,E.jsx)("path",{d:"M20 6 9 17l-5-5"})})}),(0,E.jsxs)("span",{className:"min-w-0 flex-1",children:[(0,E.jsx)("span",{className:"block text-[13.5px] font-semibold leading-snug text-slate-100",children:l}),o&&(0,E.jsx)("span",{className:"mt-0.5 block text-[12px] font-medium leading-snug text-slate-500",children:o})]}),(0,E.jsx)("span",{className:`mt-0.5 shrink-0 text-[10px] font-bold uppercase tracking-[0.12em] ${r}`,children:s})]})}function aq({title:e,description:t,action:a,onAction:n}){let s=!!(a&&n),r=(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("span",{"aria-hidden":!0,
7className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-blue-500/15 text-blue-200",children:(0,E.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-3.5 w-3.5",fill:"none",stroke:"currentColor",strokeWidth:"2.2",children:[(0,E.jsx)("rect",{x:"4",y:"10.5",width:"16",height:"10",rx:"2.5"}),(0,E.jsx)("path",{d:"M8 10.5V7a4 4 0 0 1 8 0v3.5"})]})}),(0,E.jsxs)("span",{className:"flex-1",children:[(0,E.jsx)("span",{className:"block text-[13px] font-bold leading-snug text-white",children:e}),(0,E.jsx)("span",{className:"mt-0.5 block text-[12px] font-medium leading-snug text-white/65",children:t}),s&&(0,E.jsxs)("span",{className:"mt-1.5 inline-flex items-center gap-1 text-[11.5px] font-black uppercase tracking-[0.1em] text-blue-200 transition group-hover/row:gap-2",children:[a,(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-3 w-3",fill:"none",stroke:"currentColor",strokeWidth:"3",children:(0,E.jsx)("path",{d:"M5 12h14M13 6l6 6-6 6"})})]})]})]});return s?(0,E.jsx)("li",{children:(0,E.jsx)("button",{type:"button",onClick:n,className:"group/row flex w-full items-start gap-3 rounded-2xl border border-blue-300/25 bg-white/[0.07] px-3.5 py-3 text-left backdrop-blur-[2px] transition hover:border-blue-300/60 hover:bg-white/[0.11]",children:r})}):(0,E.jsx)("li",{className:"flex items-start gap-3 rounded-2xl border border-white/12 bg-white/[0.07] px-3.5 py-3 backdrop-blur-[2px]",children:r})}let aW={pending:{es:{title:"¿Es una estafa o puedes fiarte?",body:"Este sitio aún no tiene veredicto. Activa el razonamiento de IA y tendrás una respuesta definitiva antes de comprar, pagar o dejar tus datos.",rowTitle:"Razonamiento de IA en profundidad",rowDesc:"Lee la página como lo harÃa una persona: qué afirma, qué presión ejerce, qué te pide.",cta:"Obtener mi veredicto con IA"},en:{title:"Is it a scam, or can you trust it?",body:"This site has no verdict yet. Activate the AI reasoning and get a definitive answer before you buy, pay or hand over your data.",rowTitle:"In-depth AI reasoning",rowDesc:"Reads the page the way a person would: the claims it makes, the pressure it applies, what it asks for.",cta:"Get my AI verdict"}},unresolved:{es:{title:"¿Es realmente un fraude o solo lo parece?",body:"Hemos encontrado señales de riesgo sin llegar a leer la página. La IA la lee y te dice cuál de las dos cosas es: un fraude real, o un negocio corriente que le resulta extraño a una comprobación automática.",rowTitle:"Lo confirma o lo descarta",rowDesc:"La misma lectura puede limpiar un sitio igual que condenarlo. Muchas tiendas pequeñas y honestas hacen saltar una comprobación automática.",cta:"Salir de dudas con IA"},en:{title:"Is it really a scam, or does it just look like one?",body:"We found risk signals without reading the page itself. The AI reads it and tells you which it is: a real scam, or an ordinary business that looks odd to an automated check.",rowTitle:"Confirms it â or clears it",rowDesc:"The same reading can clear a site as easily as condemn it. Plenty of small honest shops trip an automated check.",cta:"Settle it with AI"}},attributed:{es:{title:"Un tercero lo ha señalado. ¿Qué hay detrás?",body:"Ese aviso externo no lo quita nadie leyendo la página. Lo que la IA sà puede decirte es qué es esta web en realidad, cómo opera y qué te juegas si sigues adelante.",rowTitle:"Qué hay detrás del aviso",rowDesc:"Lee la web entera y explica el mecanismo: qué promete, qué te pide y cómo consigue que confÃes.",cta:"Entender el caso con IA"},en:{title:"A third party flagged it. What is behind it?",body:"No amount of reading removes an external warning. What the AI can tell you is what this site actually is, how it operates, and what you are risking if you go ahead.",rowTitle:"What is behind the warning",rowDesc:"Reads the whole site and explains the mechanism: what it promises, what it asks for, how it earns your trust.",cta:"Understand it with AI"}},condemned:{es:{title:"Ya sabes que no es de fiar. Ahora, por qué.",body:"El veredicto no cambia. Lo que obtienes es el método al descubierto âqu
7é promete, a quién suplanta, cómo te lleva hasta el pagoâ y un informe que puedes enseñar a tu banco, a la policÃa o a quien te lo recomendó.",rowTitle:"El método, al descubierto",rowDesc:"Lee la web entera y reconstruye cómo funciona el engaño, paso a paso y con sus propias palabras.",cta:"Ver el porqué con IA"},en:{title:"You know it is not safe. Now, why.",body:"The verdict does not change. What you get is the method laid bare â what it promises, who it impersonates, how it walks you to the payment â and a report you can show your bank, the police, or whoever recommended it.",rowTitle:"The method, laid bare",rowDesc:"Reads the whole site and reconstructs how the deception works, step by step, in its own words.",cta:"See why, with AI"}},clean:{es:{title:"Limpio por fuera. ¿Y por dentro?",body:"Las comprobaciones no han encontrado nada, pero nadie ha leÃdo la página. Un fraude bien montado pasa esa capa sin despeinarse: la IA lee lo que promete, lo que te pide y a quién dice pertenecer.",rowTitle:"La confirmación que falta",rowDesc:"Un dominio antiguo y bien configurado no dice nada de lo que se vende dentro. Esto sà lo mira.",cta:"Confirmarlo con IA"},en:{title:"Clean on the surface. And underneath?",body:"The checks found nothing, but nobody read the page. A well-built scam sails through that layer: the AI reads what it promises, what it asks of you, and who it claims to be.",rowTitle:"The confirmation still missing",rowDesc:"An old, well-configured domain says nothing about what is being sold inside it. This looks at that.",cta:"Confirm it with AI"}}};function aV({checks:e,lang:t,domain:a,elapsedSeconds:n,corpusSize:s=15e4,publicId:r,entryCents:i=300,entryCredits:l=5,verdict:o,onHumanReview:d,offerHumanLayer:c=!0,paidOffer:u=!0}){let m=T.default.useMemo(()=>(e||[]).filter(e=>e.executed),[e]),[h,p]=(0,T.useState)(!1),[f,x]=(0,T.useState)(0),g=(0,T.useRef)([]),b=m.map(e=>e.id).join("|");if((0,T.useEffect)(()=>{if(g.current.forEach(clearTimeout),g.current=[],window.matchMedia?.("(prefers-reduced-motion: reduce)").matches||0===m.length)return void x(m.length);x(0);for(let e=1;e<=m.length;e+=1)g.current.push(setTimeout(()=>x(e),90*e));return()=>{g.current.forEach(clearTimeout),g.current=[]}},[b]),m.length<2)return null;let v=m.filter(e=>aM.has(String(e.status||""))),w=m.filter(e=>!aM.has(String(e.status||""))),y=new Set(w.slice(0,Math.max(0,4-v.length)).map(e=>e.id)),j=w.length-y.size,_=j>=3?j:0,N=e=>new Intl.NumberFormat("en"===t?"en-IE":"es-ES",{style:"currency",currency:"EUR",minimumFractionDigits:2*(e%100!=0)}).format(e/100),k=N(i),S=N(Math.round(i/Math.max(l,1))),C=(a||"").replace(/^https?:\/\//,"").replace(/^www\./,"").replace(/\/+$/,""),I=C.length>24?`${C.slice(0,22)}â¦`:C,A=new Intl.NumberFormat("en"===t?"en-US":"es-ES").format(s),L=f<m.length,R=(o||"").toString().trim().toUpperCase().replace(/ /g,"_"),$=new Set(["regulatory_warnings","phishdestroy_destroylist","safe_browsing","chainabuse"]),P=(e||[]).some(e=>$.has(String(e.id))&&aM.has(String(e.status||""))),F="FRAUDULENT"===R?"condemned":"SUSPICIOUS"===R?P?"attributed":"unresolved":"LEGIT"===R?"clean":"pending",O=aW[F]["en"===t?"en":"es"];return(0,E.jsxs)("section",{className:"trust-card overflow-hidden rounded-[28px] border border-slate-200/80",children:[(0,E.jsxs)("header",{className:"relative overflow-hidden border-b border-white/[0.08] bg-white/[0.03] px-6 py-5 text-white",children:[(0,E.jsx)("p",{className:"text-[10px] font-black uppercase tracking-[0.22em] text-white/55",children:"en"===t?"Analysis dossier":"Expediente del análisis"}),(0,E.jsxs)("h3",{className:"mt-1.5 flex flex-wrap items-baseline gap-x-2 gap-y-1",children:[(0,E.jsx)("span",{className:"text-4xl font-extrabold leading-none tracking-tight tabular-nums",children:L?f:m.length}),(0,E.jsx)("span",{className:"text-base font-semibold text-white/85",children:"en"===t?"checks run on this site":"comprobaciones sobre este sitio"})]}),(0,E.jsxs)("p",{className:"mt-2 text-[12.5px] font-medium leading-snug text-white/65",children:["en"===t?`Cross-referenced against ${A}+ analysed domains`:`Cruzadas contra m\xe1s de ${A} dominios analizados`,"number"==typeof n&&n>0?"en"===t?` \xb7 ${n.toFixed(1)}s`:` \xb7 ${n.toFixed(1)} s`:"",v.length>0?"en"===t?` \xb7 ${v.length} finding${1===v.length?"":"s"}`:` \xb7 ${v.length} hallazgo${1===v.length?"":"s"}`:""]}),(0,E.jsxs)("p",{className:"mt-1.5 flex items-center gap-1.5 text-[12px] font-semibold text-blue-200",children:[(0,E.jsxs)("svg",{viewBox:"0 0 24 24",className:"h-3 w-3 shrink-0",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:[(0,E.jsx)("rect",{x:"4",y:"10",width:"16",height:"10",rx:"2"}),(0,E.jsx)("path",{d:"M8 10V7a4 4 0 1 1 8 0v3"})]}),"en"===t?"One deeper check is still locked: reading the page itself":"Queda una comprobación en profundidad bloqueada: leer la página"]}
7),L&&(0,E.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 bottom-0 h-[2px] bg-gradient-to-r from-transparent via-white/15 to-transparent"})]}),(0,E.jsxs)("div",{className:"px-6 py-3",children:[(0,E.jsx)("ul",{className:"divide-y divide-white/10",children:m.map((e,a)=>(0,E.jsx)(aU,{check:e,lang:t,visible:a<f,folded:!h&&_>0&&!aM.has(String(e.status||""))&&!y.has(e.id)},e.id))}),_>0&&(0,E.jsx)("button",{type:"button",onClick:()=>p(e=>!e),"aria-expanded":h,className:"mb-1 mt-2 w-full rounded-xl border border-white/10 bg-white/[0.03] px-4 py-2 text-[13px] font-semibold text-slate-200 transition hover:bg-white/[0.08]",children:h?"en"===t?"Show fewer checks":"Mostrar menos":"en"===t?`See all ${m.length} checks (${_} with nothing found)`:`Ver las ${m.length} comprobaciones (${_} sin hallazgos)`})]}),u&&(0,E.jsxs)("div",{className:"relative overflow-hidden border-t border-white/[0.08] bg-white/[0.02] px-6 py-7 text-white sm:px-7",children:[(0,E.jsx)("span",{"aria-hidden":!0,className:"hidden"}),(0,E.jsx)("span",{"aria-hidden":!0,className:"hidden"}),(0,E.jsx)("span",{"aria-hidden":!0,className:"hidden"}),(0,E.jsxs)("div",{className:"relative",children:[(0,E.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-blue-300/40 bg-blue-500/10 px-3 py-1 text-[10px] font-black uppercase tracking-[0.2em] text-blue-200",children:[(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-3 w-3",fill:"currentColor",children:(0,E.jsx)("path",{d:"M12 2l2.4 6.2L21 9l-5 4.1 1.6 6.4L12 15.9 6.4 19.5 8 13.1 3 9l6.6-.8L12 2z"})}),"en"===t?"Premium analysis":"Análisis premium"]}),(0,E.jsx)("h4",{className:"mt-3 text-[21px] font-extrabold leading-tight tracking-tight",children:O.title}),(0,E.jsx)("p",{className:"mt-1.5 text-[13.5px] font-medium leading-snug text-white/75",children:O.body}),(0,E.jsxs)("ul",{className:"mt-4 space-y-2",children:[(0,E.jsx)(aq,{title:O.rowTitle,description:O.rowDesc}),c&&(0,E.jsx)(aq,{title:"en"===t?"Human Layer, on request":"Capa Humana, bajo solicitud",description:"en"===t?"A professional analyst reviews the case and signs a public verdict â it can confirm, qualify or overturn the automated one.":"Un analista profesional revisa el caso y firma un veredicto público: puede confirmar, matizar o corregir el automático.",action:d?"en"===t?"Request a review":"Solicitar revisión":void 0,onAction:d})]}),"condemned"!==F&&(0,E.jsxs)("div",{className:"mt-5 rounded-2xl border border-white/10 bg-white/[0.04] px-4 py-3.5",children:[(0,E.jsx)("p",{className:"text-[10px] font-black uppercase tracking-[0.2em] text-blue-200/80",children:"en"===t?"The biggest crime on the internet":"La mayor lacra de Internet"}),(0,E.jsxs)("p",{className:"mt-1.5 flex items-baseline gap-1.5",children:[(0,E.jsx)("span",{className:"text-[26px] font-black leading-none tracking-tight text-white tabular-nums",children:"en"===t?"$20.877":"20.877"}),(0,E.jsx)("span",{className:"text-[13px] font-bold leading-none text-white/70",children:"en"===t?"billion":"millones de dólares"})]}),(0,E.jsx)("p",{className:"mt-1.5 text-[12.5px] font-medium leading-snug text-white/70",children:"en"===t?(0,E.jsxs)(E.Fragment,{children:["lost to online fraud in a single year. The FBI logged ",(0,E.jsx)("span",{className:"font-bold text-white",children:"one complaint every 31 seconds"})," â and those are only the people who reported it."]}):(0,E.jsxs)(E.Fragment,{children:["perdidos en fraude online en un solo año. El FBI registró ",(0,E.jsx)("span",{className:"font-bold text-white",children:"una denuncia cada 31 segundos"}),", y esos son solo los que denunciaron."]})}),(0,E.jsx)("a",{href:"https://www.ic3.gov/AnnualReport/Reports/2025_IC3Report.pdf",target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center gap-1 text-[10.5px] font-bold uppercase tracking-[0.12em] text-white/40 underline-offset-2 transition hover:text-blue-200 hover:underline",children:"FBI · Internet Crime Report 2025"})]}),(0,E.jsx)(aP,{lang:t,domain:a,tone:"dark",children:(0,E.jsxs)(a$,{lang:t,domain:a,publicId:r,className:"unlock-cta group relative mt-5 flex w-full items-center justify-between gap-3 overflow-hidden rounded-full bg-blue-600 hover:bg-blue-500 px-5 py-4 text-white transition",children:[(0,E.jsx)("span",{className:"min-w-0 text-left text-[15px] font-extrabold leading-tight tracking-tight",children:I?"en"===t?(0,E.jsxs)(E.Fragment,{children:["Read ",(0,E.jsx)("span",{className:"tabular-nums",children:I})," with AI"]}):(0,E.jsxs)(E.Fragment,{children:["Leer ",(0,E.jsx)("span",{className:"tabular-nums",children:I})," con IA"]}):O.cta}),(0,E.jsxs)("span",{className:"flex items-center gap-2",children:[(0,E.jsxs)("span",{className:"flex flex-col items-center rounded-xl bg-white/15 px-3 py-1.5 leading-none text-white",children:[(0,E.jsx)("span",{className:"text-[15px] font-black tabular-nums",children:k}),(0,E.jsxs)("span",{className:"mt-0.5 text-[9px] font-bold uppercase tracking-[0.12em] text-white/90",children:[l," ","en"===t?"checks":"análisis"]})]}),(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-4 w-4 transition-transform group-hover:translate-x-0.5",fill:"none",stroke:"currentColor",strokeWidth:"2.5",children:(0,E.jsx)("path",{d:"M5 12h14M13 6l6 6-6 6"})})]})]})}),(0,E.jsx)("p",{className:"mt-2.5 text-center text-[11px] font-medium leading-relaxed text-white/55",children:"en"===t?`${S} per analysis. No account needed: pay and the verdict loads. Credits, not a subscription â no renewal, and a credit is spent only if the AI actually runs.`:`${S} por an\xe1lisis. Sin crear cuenta: pagas y aparece el veredicto. Cr\xe9ditos, no una suscripci\xf3n: no se renueva nada, y solo se descuenta si la IA llega a ejecutarse.`})]})]})]})}var aB=e.i(37902);function aH(e,t){return as(e)?"en"===t?"Dangerous":"Peligrosa":ai(e)?"en"===t?"Suspicious":"Sospechosa":ar(e)?"en"===t?"Safe":"Segura":"en"===t?"Unknown":"Desconocida"}let aG={ok:"text-[#46c78a]",bad:"text-[#ef6a53]",warn:"text-[#e6a651]",
7info:"text-[#9fb0c9]"};function aY(e){return"ok"===e?"â":"bad"===e?"â":"warn"===e?"!":"·"}function aK({result:e,verdict:t,lang:a,aiScore:n,domain:s}){let r="number"==typeof n&&n>0?Math.round(n):as(t)?90:ai(t)?55:ar(t)?15:50,i=r>=61?"#ef6a53":r>=31?"#e6a651":"#46c78a",l=aH(t,a),o=(s||e.domain||"").replace(/^https?:\/\//,"").replace(/\/+$/,""),d=e.analisis?.vt_reported===!0&&as(t),c=e.analysis_public_id?`/analisis/${e.analysis_public_id}?lang=${a}`:null,u=T.default.useMemo(()=>(function(e,t,a,n){let s=[];if(e.analizado_en){let t=new Date(e.analizado_en).toLocaleString("en"===n?"en-US":"es-ES",{year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"});s.push({text:`> ${"es"===n?"analizado":"analyzed"}: ${t}`,tone:"info"})}if("number"==typeof e.analysis_seconds){let t=e.cached?"es"===n?" · caché":" · cached":"";s.push({text:`> ${"es"===n?"tiempo":"time"}: ${e.analysis_seconds}s${t}`,tone:"info"})}let r=[],i=e.analisis?.citizen_signals;if(Array.isArray(i)&&i.length>0)for(let e of i){let t=("es"===n?e.label_es:e.label_en)||"";if(!t)continue;let a=!0===e.positive?"ok":!1===e.positive?"bad":"info";r.push({text:`${aY(a)} ${t}`,tone:a})}if(0===r.length){let t=e.analisis?.justification_ai||e.justification_ai||"";t&&r.push({text:`${aY("info")} ${t}`,tone:"info"})}let l="es"===n?"veredicto":"verdict",o="es"===n?"riesgo":"risk",d=aH(t,n).toUpperCase(),c={text:`> ${l}: ${d} \xb7 ${o} ${a}/100`,tone:a>=61?"bad":a>=31?"warn":"ok"};return[...s,...r.slice(0,6),c]})(e,t,r,a),[e,t,r,a]),[m,h]=(0,T.useState)([]),[p,f]=(0,T.useState)(0),[x,g]=(0,T.useState)(!1),b=(0,T.useRef)(!1),v=2*Math.PI*38,w=v*(1-r/100);return(0,T.useEffect)(()=>{let e;if(b.current=!1,window.matchMedia?.("(prefers-reduced-motion: reduce)").matches)return h(u.map(e=>e.text)),f(r),g(!0),()=>{b.current=!0};let t=null,a=0,n=e=>{if(b.current)return;null===t&&(t=e);let s=Math.min((e-t)/900,1);f(Math.round((1-Math.pow(1-s,3))*r)),s<1&&(a=requestAnimationFrame(n))};a=requestAnimationFrame(n);let s=[],i=0,l=()=>{if(b.current)return;if(i>=u.length)return void g(!0);let t=u[i].text,a=0;s[i]="";let n=()=>{b.current||(s[i]=t.slice(0,a),h([...s]),a<=t.length?(a+=1,e=setTimeout(n,8+12*Math.random())):(i+=1,e=setTimeout(l,85)))};n()};return l(),()=>{b.current=!0,cancelAnimationFrame(a),clearTimeout(e)}},[u,r]),(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e mx-auto w-full min-w-0 max-w-xl overflow-hidden rounded-[24px] border border-[rgba(226,235,248,0.09)] bg-[linear-gradient(180deg,#0b1220,#0d1626)] text-[#e9eef8] shadow-[0_30px_80px_rgba(2,7,16,0.4)]",children:[(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e flex items-center gap-2 border-b border-[rgba(226,235,248,0.09)] px-4 py-3 font-mono text-[11px] uppercase tracking-[0.12em] text-[#64748f]",children:[(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e h-2.5 w-2.5 rounded-full bg-[#3a2320]"}),(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e h-2.5 w-2.5 rounded-full bg-[#33280f]"}),(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e h-2.5 w-2.5 rounded-full bg-[#12251c]"}),(0,E.jsxs)("span",{className:"jsx-25d8589472f4f3e ml-2 min-w-0 truncate",children:["desenmascara.me · ","es"===a?"informe forense":"forensic report"]}),(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e rc-live ml-auto inline-flex shrink-0 items-center gap-[7px] whitespace-nowrap",children:"es"===a?"análisis completo":"scan complete"})]}),(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e grid grid-cols-[1fr_auto] items-center gap-4 border-b border-[rgba(226,235,248,0.09)] px-[22px] py-5",children:[(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e min-w-0",children:[(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e font-mono text-[10.5px] uppercase tracking-[0.24em] text-[#64748f]",children:"es"===a?"Veredicto":"Verdict"}),(0,E.jsx)("h2",{style:{color:i},className:"jsx-25d8589472f4f3e mt-2 text-[clamp(26px,6vw,34px)] font-extrabold leading-none tracking-[-0.02em]",children:l}),o&&(0,E.jsx)("div",{className:"jsx-25d8589472f4f3e mt-2.5 break-all font-mono text-[12.5px] text-[#9fb0c9]",children:o})]}),(0,E.jsxs)("div",{"aria-hidden":"true",className:"jsx-25d8589472f4f3e relative h-[92px] w-[92px]",children:[(0,E.jsxs)("svg",{width:"92",height:"92",viewBox:"0 0 92 92",className:"jsx-25d8589472f4f3e -rotate-90",children:[(0,E.jsx)("circle",{cx:"46",cy:"46",r:38,fill:"none",stroke:"rgba(226,235,248,0.08)",strokeWidth:"8",className:"jsx-25d8589472f4f3e"}),(0,E.jsx)("circle",{cx:"46",cy:"46",r:38,fill:"none",stroke:i,strokeWidth:"8",strokeLinecap:"round",strokeDasharray:v,strokeDashoffset:w,style:{transition:"stroke-dashoffset .9s cubic-bezier(.2,.7,.2,1)"},className:"jsx-25d8589472f4f3e"})]}),(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e absolute inset-0 flex flex-col items-center justify-center font-mono",children:[(0,E.jsx)("b",{style:{color:i},className:"jsx-25d8589472f4f3e text-[26px] font-bold leading-none tabular-nums",children:p}),(0,E.jsx)("small",{className:"jsx-25d8589472f4f3e mt-1 text-[8px] uppercase tracking-[0.18em] text-[#64748f]",children:"es"===a?"Riesgo":"Risk"})]})]})]}),(0,E.jsxs)("div",{className:"jsx-25d8589472f4f3e px-5 pb-4 pt-4",children:[(0,E.jsx)("p",{className:"jsx-25d8589472f4f3e mb-2.5 font-mono text-[9.5px] uppercase tracking-[0.22em] text-[#64748f]",children:"es"===a?"Registro de evidencia":"Evidence log"}),(0,E.jsx)("div",{"aria-live":"polite",className:"jsx-25d8589472f4f3e min-h-[150px] whitespace-pre-wrap font-mono text-[12.5px] leading-[1.95]",children:m.map((e,t)=>{let a=u[t];if(!a)return null;let n=!x&&t===m.length-1&&e.length<a.text.length;return(0,E.jsxs)("span",{className:"jsx-25d8589472f4f3e block",children:[(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e "+(aG[a.tone]||""),children:e}),n&&(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e rc-caret"})]},t)})})]}),(0,E.jsxs)("div",{className:`jsx-25d8589472f4f3e flex flex-wrap items-center gap-x-4 gap-y-3 border-t border-[rgba(226,235,248,0.09)] px-5 py-4 transition-all duration-500 ${x?"translate-y-0 opacity-100":"translate-y-1 opacity-0"}`,children:[d?(0,E.jsxs)("span",{className:"jsx-25d8589472f4f3e inline-flex items-center gap-2 font-mono text-[11px] text-[#9fb0c9]",children:[(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e text-[#46c78a]",children:"â"}),"es"===a?"Reportado a VirusTotal":"Reported to VirusTotal"]}):(0,E.jsxs)("span",{className:"jsx-25d8589472f4f3e inline-flex items-center gap-2 font-mono text-[11px] text-[#9fb0c9]",children:[(0,E.jsx)("span",{className:"jsx-25d8589472f4f3e text-[#46c78a]",children:"â"}),"es"===a?"Informe listo":"Report ready"]}),c&&(0,E.jsxs)(tU.default,{href:c,className:"ml-auto inline-flex items-center gap-2 rounded-full px-5 py-3 font-mono text-[12.5px] font-bold uppercase tracking-[0.08em] text-[#0b1220] shadow-[0_10px_28px_rgba(0,0,0,0.28)] transition-transform hover:-translate-y-0.5 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",style:{background:r>=61?"linear-gradient(180deg,#ff8a73,#ef6a53)":r>=31?"linear-gradient(180deg,#f2c66b,#e6a651)":"linear-gradient(180deg,#6fe0ab,#46c78a)"},children:["es"===a?"Ver informe completo":"See full report",(0,E.jsx)("span",{"aria-hidden":"true",className:"jsx-25d8589472f4f3e",children:"â"})]})]}),(0,E.jsx)(aB.default,{id:"25d8589472f4f3e",children:'.rc-live.jsx-25d8589472f4f3e:before{content:"";background:#46c78a;border-radius:50%;width:7px;height:7px;animation:2.4s ease-out infinite rcpulse;box-shadow:0 0 #46c78a99}@keyframes rcpulse{0%{box-shadow:0 0 #46c78a80}70%{box-shadow:0 0 0 7px #46c78a00}to{box-shadow:0 0 #46c78a00}}.rc-caret.jsx-25d8589472f4f3e{vertical-align:text-bottom;background:#e2b563;width:8px;height:1em;margin-left:1px;animation:1s step-end infinite rcblink;display:inline-block}@keyframes rcblink{50%{opacity:0}
7}@media (prefers-reduced-motion:reduce){.rc-live.jsx-25d8589472f4f3e:before,.rc-caret.jsx-25d8589472f4f3e{animation:none}}'})]})}function aX({warnings:e,lang:t,domain:a,analyzedAt:n,onHumanReview:s}){if(!e||0===e.length)return null;let r="en"===t,i=(a||"").replace(/^https?:\/\//,"").replace(/\/.*$/,""),l=n?new Date(n).toLocaleDateString(r?"en-GB":"es-ES",{year:"numeric",month:"long",day:"numeric"}):null;return(0,E.jsxs)("div",{className:"rounded-[24px] border border-rose-400/30 bg-rose-500/10 px-4 py-4 text-rose-100",children:[(0,E.jsxs)("div",{className:"mb-3 flex flex-wrap items-center gap-2",children:[(0,E.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wide text-rose-300",children:r?"Regulatory warning":"Advertencia regulatoria"}),(0,E.jsx)("span",{className:"inline-flex items-center rounded-full border border-rose-300 bg-white/[0.05] px-2 py-0.5 text-[10px] font-bold uppercase tracking-wider text-rose-300",children:l?r?`Snapshot \xb7 ${l}`:`Instant\xe1nea \xb7 ${l}`:r?"Point-in-time snapshot":"Instantánea en el tiempo"})]}),(0,E.jsx)("div",{className:"space-y-2",children:e.map((e,t)=>{let a=e.regulator||(r?"Regulator":"Regulador"),n=e.country?` (${e.country})`:"",s=e.entity||i||"",l=e.alert_date?` \xb7 ${e.alert_date}`:"";return(0,E.jsxs)("div",{className:"rounded-xl bg-white/[0.05] px-3 py-2 text-sm shadow-sm",children:[(0,E.jsxs)("div",{className:"font-semibold",children:[a,n]}),(0,E.jsx)("div",{className:"text-rose-200",children:r?`Flags ${s} as unauthorised.${l}`:`Advierte sobre ${s} como no autorizado.${l}`}),e.source&&(0,E.jsx)("a",{href:e.source,target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-flex text-xs font-semibold text-rose-300 underline hover:text-rose-100",children:r?"Official notice â":"Aviso oficial â"})]},t)})}),(0,E.jsx)("p",{className:"mt-3 text-[12px] font-medium leading-relaxed text-rose-200",children:r?"We reproduce this notice as it stood in the regulatorâs register when this analysis ran; it is a snapshot, not a live lookup. Regulators update, archive and withdraw their notices, and desenmascara.me is neither the source nor responsible for the noticeâs content or its current validity. Check it with the regulator and re-verify this domain before making any decision.":"Reproducimos este aviso tal y como figuraba en el registro del regulador cuando se hizo este análisis; es una instantánea, no una consulta en tiempo real. Los reguladores actualizan, archivan y retiran sus avisos, y desenmascara.me no es la fuente ni responde del contenido del aviso ni de su vigencia. Compruébalo con el regulador y vuelve a verificar este dominio antes de tomar cualquier decisión."}),(i||s)&&(0,E.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[i&&(0,E.jsx)("a",{href:`/?d=${encodeURIComponent(i)}`,className:"inline-flex items-center gap-1.5 rounded-full bg-rose-700 px-3.5 py-2 text-[12px] font-bold text-white transition hover:bg-rose-800",children:r?"Re-check this domain now":"Volver a verificar ahora"}),s&&(0,E.jsx)("button",{type:"button",onClick:s,className:"inline-flex items-center gap-1.5 rounded-full border border-rose-300 bg-white/[0.05] px-3.5 py-2 text-[12px] font-bold text-rose-200 transition hover:border-rose-400 hover:bg-white/[0.08]",children:r?"Have a person review it":"Que lo revise una persona"})]})]})}function aJ({result:e,lang:t,onHumanReview:a}){var n;let s,r=Array.isArray(s=e.analisis?.citizen_signals)&&s.length>0?s.map(e=>({label:"es"===t?e.label_es:e.label_en,positive:e.positive,note:("es"===t?e.note_es:e.note_en)||null})):[],i=(n=e.analisis?.site_theme||e.site_theme,n?({"creative-services":{es:"Servicios creativos",en:"Creative services"},insurance:{es:"Seguros",en:"Insurance"},banking:{es:"Banca",en:"Banking"},cryptocurrency:{es:"Criptomonedas",en:"Cryptocurrency"},investment:{es:"Inversión",en:"Investment"},finance:{es:"Finanzas",en:"Finance"},"e-commerce":{es:"Comercio electrónico",en:"E-commerce"},gambling:{es:"Juegos de azar",en:"Gambling"},healthcare:{es:"Salud",en:"Healthcare"},streaming:{es:"Streaming",en:"Streaming"},technology:{es:"TecnologÃa",en:"Technology"},logistics:{es:"LogÃstica",en:"Logistics"},travel:{es:"Viajes",en:"Travel"},education:{es:"Educación",en:"Education"},"real-estate":{es:"Inmobiliaria",en:"Real estate"},dating:{es:"Citas",en:"Dating"}})[n]?.[t]||n:null),l=i?r.filter(e=>{let t=e.label.toLowerCase();return!t.includes("detected theme")&&!t.includes("tematica detectada")&&!t.includes("temática detectada")}):r,o=e.analisis?.justification_ai||e.justification_ai||"",d=e.analisis?.regulator_warnings??[],c=e.analisis?.actor_cluster,u=e.analisis?.vt_reported===!0,m=(e.analisis?.veredict||"").toUpperCase(),h="FRAUDULENT"===m,p=["OK","LEGIT","LEGITIMO","LEGITIMATE","SAFE","SEGURO","VERIFICADO"].includes(m),f=al(m),x=Array.isArray(e.analisis?.ai_evidence_for)?e.analisis.ai_evidence_for:[],g=Array.isArray(e.analisis?.ai_evidence_against)?e.analisis.ai_evidence_against:[],b=(e.domain||"").replace(/^https?:\/\//,"").replace(/\/+$/,""),v=b?`https://${b}`:"",w=`https://www.virustotal.com/gui/domain/${b}`;return(0,E.jsxs)("div",{className:"w-full max-w-xl mx-auto mt-6 space-y-4",children:[c&&c.active_domains_count>1&&h&&(0,E.jsx)("div",{className:"rounded-[24px] border border-amber-400/30 bg-amber-500/10 px-4 py-4 text-amber-100",children:(0,E.jsxs)("div",{className:"flex items-start gap-3",children:[(0,E.jsx)("span",{className:"text-2xl leading-none mt-0.5","aria-hidden":!0,
7children:"â ï¸"}),(0,E.jsxs)("div",{className:"flex-1",children:[(0,E.jsx)("div",{className:"mb-1 text-xs font-semibold uppercase tracking-wide text-amber-300",children:"en"===t?"Coordinated fraud operation":"Operación de fraude coordinada"}),(0,E.jsx)("p",{className:"text-sm leading-snug text-amber-100",children:"en"===t?`This site is part of a coordinated fraud operation. We have identified ${c.active_domains_count} scam sites${c.target_brand?` targeting ${c.target_brand} customers`:""} run by the same actor. All have been reported.`:`Este sitio forma parte de una operaci\xf3n de fraude coordinada. Hemos identificado ${c.active_domains_count} sitios de estafa${c.target_brand?` que suplantan a ${c.target_brand}`:""} gestionados por el mismo actor. Todos han sido reportados.`})]})]})}),(0,E.jsx)(aX,{warnings:d,lang:"en"===t?"en":"es",domain:e.domain,onHumanReview:a}),e.analisis?.clickfix_detected&&(0,E.jsx)("div",{className:"rounded-[24px] border-2 border-rose-400 bg-gradient-to-br from-rose-500/15 via-rose-500/10 to-orange-500/10 px-4 py-4 shadow-md shadow-rose-200/60",children:(0,E.jsxs)("div",{className:"flex items-start gap-3",children:[(0,E.jsx)("div",{className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-rose-700 text-white",children:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"h-4 w-4",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z",clipRule:"evenodd"})})}),(0,E.jsxs)("div",{className:"flex-1",children:[(0,E.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,E.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wide text-rose-100",children:"en"===t?"ClickFix attack â DO NOT follow the steps":"Ataque ClickFix â NO sigas los pasos"}),(0,E.jsx)("span",{className:"inline-flex items-center rounded-full bg-rose-700 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-white",children:"en"===t?"Critical":"CrÃtico"})]}),(0,E.jsx)("p",{className:"mt-1.5 text-sm leading-snug text-rose-100",children:"en"===t?'This site shows a fake "verify you are human" / CAPTCHA that tells visitors to press Windows+R, paste, and run a command. The command installs malware (PowerShell / mshta) without any download.':'Este sitio muestra una falsa verificación "no soy un robot" / CAPTCHA que pide pulsar Windows+R, pegar un comando y ejecutarlo. El comando instala malware (PowerShell / mshta) sin ninguna descarga.'})]})]})}),e.analisis?.ai_trap_detected&&(0,E.jsx)("div",{className:"rounded-[24px] border-2 border-rose-300 bg-gradient-to-br from-rose-500/10 via-orange-500/10 to-amber-500/10 px-4 py-4 shadow-sm",children:(0,E.jsxs)("div",{className:"flex items-start gap-3",children:[(0,E.jsx)("div",{className:"mt-0.5 flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-rose-600 text-white",children:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",className:"h-4 w-4",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})})}),(0,E.jsxs)("div",{className:"flex-1",children:[(0,E.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,E.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wide text-rose-200",children:"en"===t?"AI Agent Trap Detected":"Trampa para IA Detectada"}),(0,E.jsx)("span",{className:"inline-flex items-center rounded-full bg-rose-600 px-2 py-0.5 text-[9px] font-bold uppercase tracking-wider text-white",children:"en"===t?"Novel threat":"Amenaza nueva"})]}),(0,E.jsx)("p",{className:"mt-1.5 text-sm leading-snug text-rose-100",children:"en"===t?"This page contains hidden instructions targeting AI agents. Legitimate websites do not use these techniques.":"Esta página contiene instrucciones ocultas dirigid
7as a agentes de IA. Los sitios legÃtimos no utilizan estas técnicas."})]})]})}),o&&(0,E.jsxs)("div",{className:"trust-card rounded-[24px] p-5",children:[(0,E.jsx)("h3",{className:"mb-2 text-sm font-bold uppercase tracking-wide text-slate-100",children:"en"===t?"AI Analysis":"Analisis de IA"}),(0,E.jsx)("p",{className:"text-sm leading-relaxed text-slate-100",children:o})]}),f&&(x.length>0||g.length>0)&&(0,E.jsxs)("div",{className:"rounded-[24px] border border-indigo-400/30 bg-white/[0.04] p-5 shadow-sm",children:[(0,E.jsx)("h3",{className:"mb-3 text-sm font-bold uppercase tracking-wide text-indigo-100",children:"en"===t?"What we saw â both sides":"Lo que vimos â ambos lados"}),(0,E.jsx)("p",{className:"mb-4 text-xs leading-relaxed text-slate-300",children:"en"===t?"These are the concrete signals our AI weighed in both directions. The evidence points both ways, so we do not publish a verdict until it is conclusive.":"Estas son las señales concretas que nuestra IA sopesó en ambas direcciones. La evidencia apunta en ambos sentidos, asà que no publicamos veredicto hasta que sea concluyente."}),(0,E.jsxs)("div",{className:"grid gap-4 sm:grid-cols-2",children:[x.length>0&&(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-xs font-bold uppercase tracking-wider text-rose-300",children:[(0,E.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-rose-500/15 text-[10px]",children:"!"}),"en"===t?"Pointing to fraud":"Apunta a fraude"]}),(0,E.jsx)("ul",{className:"space-y-1.5 text-sm text-slate-100",children:x.map((e,t)=>(0,E.jsxs)("li",{className:"flex gap-2",children:[(0,E.jsx)("span",{className:"mt-1 text-rose-500","aria-hidden":!0,children:"â¢"}),(0,E.jsx)("span",{className:"leading-snug",children:e})]},t))})]}),g.length>0&&(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{className:"mb-2 flex items-center gap-2 text-xs font-bold uppercase tracking-wider text-emerald-300",children:[(0,E.jsx)("span",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-emerald-500/15 text-[10px]",children:"â"}),"en"===t?"Pointing to legitimate":"Apunta a legÃtimo"]}),(0,E.jsx)("ul",{className:"space-y-1.5 text-sm text-slate-100",children:g.map((e,t)=>(0,E.jsxs)("li",{className:"flex gap-2",children:[(0,E.jsx)("span",{className:"mt-1 text-emerald-300","aria-hidden":!0,children:"â¢"}),(0,E.jsx)("span",{className:"leading-snug",children:e})]},t))})]})]})]}),u&&h&&(0,E.jsx)("a",{href:w,target:"_blank",rel:"noopener noreferrer",className:"trust-card group block rounded-[24px] px-5 py-4 transition-all hover:-translate-y-0.5",children:(0,E.jsxs)("div",{className:"flex items-center gap-4",children:[(0,E.jsx)("div",{className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-xl bg-white/[0.06] text-2xl",children:"ð¡ï¸"}),(0,E.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,E.jsxs)("div",{className:"flex items-center gap-2 mb-0.5",children:[(0,E.jsx)("span",{className:"text-sm font-bold text-white",children:"en"===t?"Reported to VirusTotal":"Reportado a VirusTotal"}),(0,E.jsx)("span",{className:"rounded-full bg-white/[0.06] px-2 py-0.5 text-xs font-semibold uppercase tracking-wide text-slate-300",children:"en"===t?"Global threat feed":"Base de datos global"})]}),(0,E.jsx)("p",{className:"text-xs leading-snug text-slate-200",children:"en"===t?"desenmascara.me flagged this domain as malicious in VirusTotal's global threat database, protecting millions of users worldwide. Tap to view the VT report.":"desenmascara.me ha marcado este dominio como malicioso en la base de datos global de VirusTotal, protegiendo a millones de usuarios. Toca para ver el informe en VT."})]}),(0,E.jsx)("span",{className:"flex-shrink-0 text-lg text-slate-500 transition-transform group-hover:translate-x-1",children:"â"})]})}),r.length>0&&(0,E.jsxs)("div",{className:"trust-card rounded-[24px] p-5",children:[(0,E.jsx)("h3",{className:"mb-3 text-sm font-bold uppercase tracking-wide text-slate-100",children:"en"===t?"Key signals":"Señales clave"}),(0,E.jsxs)("ul",{className:"space-y-2",children:[i&&(0,E.jsxs)("li",{className:"flex items-center gap-3 text-sm",children:[(0,E.jsx)("span",{className:"flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full bg-white/[0.06] text-xs font-bold text-slate-300",children:"i"}),(0,E.jsx)("span",{className:"font-medium text-slate-100",children:"en"===t?`Detected theme: ${i}`:`Tematica detectada: ${i}`})]}),l.map((e,t)=>(0,E.jsxs)("li",{className:"flex items-start gap-3 text-sm",children:[(0,E.jsx)("span",{className:`flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full text-xs font-bold ${null===e.positive?"bg-white/[0.06] text-slate-300":e.positive?"bg-emerald-500/15 text-emerald-300":"bg-red-500/15 text-red-300"}`,children:null===e.positive?"i":e.positive?"â":"â"}),(0,E.jsxs)("div",{className:"min-w-0",children:[(0,E.jsx)("div",{className:"font-medium text-slate-100",children:e.label}),e.note&&(0,E.jsx)("div",{className:"mt-0.5 text-xs leading-snug text-slate-300",children:e.note})]})]},t))]})]}),p&&v&&(0,E.jsxs)("div",{className:"relative overflow-hidden rounded-[24px] border border-emerald-400/20 bg-emerald-500/[0.05]",children:[(0,E.jsxs)("div",{className:"relative flex items-center justify-between gap-3 border-b border-emerald-400/15 px-5 py-3",children:[(0,E.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,E.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded-lg bg-emerald-600",children:(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
7currentColor",className:"h-3.5 w-3.5 text-white",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.932 9.563 12.348a.749.749 0 00.374 0c5.499-1.416 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z",clipRule:"evenodd"})})}),(0,E.jsx)("span",{className:"text-[11px] font-bold uppercase tracking-[0.15em] text-emerald-200",children:"en"===t?"Transparency profile":"Perfil de transparencia"})]}),(0,E.jsx)("span",{className:"rounded-full bg-emerald-500/15 px-2.5 py-0.5 text-[10px] font-semibold text-emerald-300",children:"en"===t?"Automated assessment":"Evaluación automatizada"})]}),(0,E.jsxs)("div",{className:"relative px-5 py-4",children:[(0,E.jsx)("p",{className:"text-[13px] leading-relaxed text-emerald-100",children:"en"===t?"This website cleared Desenmascara.me automated verification. Across our layered metadata, infrastru
7cture, OSINT and LLM-assisted checks, no risk indicators were detected at this time.":"Este sitio web superó la verificación automatizada de Desenmascara.me. Tras nuestras verificaciones multicapa sobre metadata, infraestructura, OSINT y análisis asistido por LLM, no se ha detectado ninguna señal de riesgo en este momento."}),(0,E.jsxs)("div",{className:"mt-3.5 flex flex-wrap items-center gap-2.5",children:[(0,E.jsxs)("a",{href:v,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-emerald-600 px-4 py-2 text-sm font-semibold text-white shadow-sm transition hover:bg-emerald-700 hover:shadow-md",children:["en"===t?`Visit ${b}`:`Visitar ${b}`,(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-4 w-4",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M5.22 14.78a.75.75 0 001.06 0l7.22-7.22v5.69a.75.75 0 001.5 0v-7.5a.75.75 0 00-.75-.75h-7.5a.75.75 0 000 1.5h5.69l-7.22 7.22a.75.75 0 000 1.06z",clipRule:"evenodd"})})]}),(0,E.jsxs)("a",{href:e.analysis_public_id?`/analisis/${e.analysis_public_id}?lang=${t}`:"/verified",className:"inline-flex items-center gap-1.5 rounded-full border border-emerald-400/30 bg-white/[0.04] px-3 py-2 text-[12px] font-semibold text-emerald-300 transition hover:bg-emerald-500/15 hover:text-emerald-100",children:["en"===t?"Open the public report":"Abrir el informe público",(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-3.5 w-3.5",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z",clipRule:"evenodd"})})]}),(0,E.jsxs)(tU.default,{href:"/verified",className:"inline-flex items-center gap-1.5 rounded-full border border-white/10 bg-white/[0.04] px-3 py-2 text-[12px] font-semibold text-slate-200 transition hover:bg-white/[0.05] hover:text-white",children:["en"===t?"How verification works":"Cómo funciona la verificación",(0,E.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"h-3.5 w-3.5",children:(0,E.jsx)("path",{fillRule:"evenodd",d:"M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z",clipRule:"evenodd"})})]})]})]})]})]})}function aQ({domain:e,verdict:t,reportUrl:a,lang:n,channel:s}){let[r,i]=(0,T.useState)(!1),l=function(e,t,a,n,s){let r=e.slice(0,Math.floor(e.length/2))+"****",i=as(t)?r:e,l=a?` 8https://desenmascara.me${a}`:"";if("es"===n)return as(t)?"whatsapp"===s?`Me lleg\xf3 este enlace por WhatsApp y es una estafa: ${i}. Verificado con desenmascara.me${l}`:"email"===s?`Me lleg\xf3 este enlace por email y es una estafa: ${i}. Verificado con desenmascara.me${l}`:"instagram"===s?`Vi este enlace en redes sociales y es una estafa: ${i}. Verificado con desenmascara.me${l}`:"sms"===s?`Me lleg\xf3 este enlace por SMS y es una estafa: ${i}. Verificado con desenmascara.me${l}`:`Cuidado con ${i} â es una estafa. Verificado con desenmascara.me${l}`:ai(t)?"whatsapp"===s?`Me lleg\xf3 este enlace por WhatsApp y parece sospechoso: ${e}.${l}`:"email"===s?`Me lleg\xf3 este enlace por email y parece sospechoso: ${e}.${l}`:"instagram"===s?`Vi este enlace en redes y parece sospechoso: ${e}.${l}`:`Ojo con ${e}
8 â resultado sospechoso seg\xfan desenmascara.me${l}`:ar(t)?"whatsapp"===s?`Me lleg\xf3 este enlace por WhatsApp y parece seguro: ${e} â${l}`:`${e} parece segura seg\xfan desenmascara.me${l}`:`Resultado de desenmascara.me para ${e}: ${t}${l}`;return as(t)?"whatsapp"===s?`Someone sent me this link on WhatsApp and it's a scam: ${i}. Verified with desenmascara.me${l}`:"email"===s?`I received this link by email and it's a scam: ${i}. Verified with desenmascara.me${l}`:"instagram"===s?`I saw this link on social media and it's a scam: ${i}. Verified with desenmascara.me${l}`:"sms"===s?`I received this link by SMS and it's a scam: ${i}. Verified with desenmascara.me${l}`:`Watch out for ${i} â it's a scam. Verified with desenmascara.me${l}`:ai(t)?"whatsapp"===s?`Someone sent me this link on WhatsApp and it looks suspicious: ${e}.${l}`:"email"===s?`I got this link by email and it looks suspicious: ${e}.${l}`:`Heads up on ${e} â verdict: suspicious. desenmascara.me${l}`:ar(t)?"whatsapp"===s?`Someone sent me this link on WhatsApp â it checks out as safe: ${e} â${l}`:`${e} looks safe according to desenmascara.me${l}`:`desenmascara.me result for ${e}: ${t}${l}`}(e,t,a,n,s),o=a?`https://desenmascara.me${a}`:"https://desenmascara.me",d=function(e,t,a){if("es"===t)return as(e)?"whatsapp"===a?"¿Te lo enviaron por WhatsApp? Avisa a quien te lo mandó:":"email"===a?"¿Te llegó por email? Avisa a los demás:":"instagram"===a?"¿Lo viste en redes? Comparte el resultado:":"sms"===a?"¿Te llegó por SMS? Avisa a quien te lo mandó:":"Es una estafa â avisa a quien pueda recibirlo:":ai(e)?a?"¿Te lo enviaron? Comparte el resultado para que otros tengan cuidado:":"Resultado dudoso â compártelo por si acaso:":ar(e)?a?"¿QuerÃas confirmar que era seguro? Cuéntaselo:":"Comparte el resultado con quien necesite saberlo:":"Comparte el resultado:";return as(e)?"whatsapp"===a?"Got it on WhatsApp? Warn whoever sent it to you:":"email"===a?"Got it by email? Let others know:":"instagram"===a?"Saw it on social media? Share the result:":"sms"===a?"Got it by SMS? Warn whoever sent it:":"It's a scam â warn others who may receive it:":ai(e)?a?"Someone sent it to you? Share the result so others stay alert:":"Suspicious result â share it just in case:":ar(e)?a?"Wanted to confirm it was safe? Let them know:":"Share the result with whoever needs to know:":"Share the result:"}(t,n,s),c=as(t),u=async()=>{try{await navigator.clipboard.writeText(`${l} 9${o}`),i(!0),setTimeout(()=>i(!1),2e3)}catch{}};return(0,E.jsxs)("div",{className:"w-full max-w-xl mx-auto mt-4",children:[(0,E.jsx)("p",{className:"mb-2.5 text-center text-xs font-medium text-slate-200",children:d}),(0,E.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[(0,E.jsxs)("a",{href:`https://wa.me/?text=${encodeURIComponent(l)}`,target:"_blank",rel:"noopener noreferrer",className:`inline-flex items-center gap-2 rounded-full bg-[#25D366] px-5 py-2.5 text-sm font-bold text-white shadow hover:brightness-110 transition ${c&&!s?"animate-pulse":""}`,children:[(0,E.jsx)("svg",{className:"h-4 w-4",fill:"currentColor",viewBox:"0 0 24 24",children:(0,E.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),"WhatsApp"]}),(0,E.jsxs)("a",{href:`https://twitter.com/intent/tweet?text=${encodeURIComponent(l)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-black px-5 py-2.5 text-sm font-bold text-white shadow hover:bg-gray-800 transition",children:[(0,E.jsx)("svg",{className:"h-3.5 w-3.5",fill:"currentColor",viewBox:"0 0 1200 1227",children:(0,E.jsx)("path",{d:"M714.163 519.284 1160.89 0H1055.5L667.137 450.887 357.328 0H0l468.492 682.314L0 1226.37h105.39l409.006-473.52 326.53 473.52H1200L714.137 519.284h.026ZM568.633 687.828 520.422 619.2 143.34 80.1108H306.088l304.209 435.466 48.211 68.628 394.544 565.034H890.305L568.633 687.854v-.026Z"})}),"X"]}),(0,E.jsxs)("button",{type:"button",onClick:u,className:"inline-flex items-center gap-2 rounded-full border border-white/15 bg-white/[0.04] px-5 py-2.5 text-sm font-bold text-slate-100 shadow hover:bg-white/[0.05] transition",children:[(0,E.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,E.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 5H6a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2v-1M8 5a2 2 0 002 2h2a2 2 0 002-2M8 5a2 2 0 012-2h2a2 2 0 012 2m0 0h2a2 2 0 012 2v3m2 4H10"})}),r?"en"===n?"Copied!":"Copiado!":"en"===n?"Copy link":"Copiar enlace"]})]})]})}function aZ({onFeedback:e,lang:t}){let[a,n]=(0,T.useState)(null),s=async t=>{a||(n(t),await e(t))};return(0,E.jsxs)("div",{className:"w-full max-w-xl mx-auto mt-4 flex flex-col items-center gap-2",children:[(0,E.jsx)("p",{className:"text-xs font-medium text-slate-200",children:"en"===t?"Was this result helpful?":"¿Te ha sido útil este resultado?"}),(0,E.jsxs)("div",{className:"flex items-center gap-4",children:[(0,E.jsx)("button",{type:"button",onClick:()=>s("up"),disabled:null!==a,className:`text-2xl transition hover:scale-110 ${"up"===a?"text-green-300 scale-110":"text-gray-400"} disabled:cursor-default`,"aria-label":"en"===t?"Yes, helpful":"SÃ, útil",children:"ð"}),(0,E.jsx)("button",{type:"button",onClick:()=>s("down"),disabled:null!==a,className:`text-2xl transition hover:scale-110 ${"down"===a?"text-red-300 scale-110":"text-gray-400"} disabled:cursor-default`,"aria-label":"en"===t?"No, not helpful":"No, no útil",children:"ð"}),a&&(0,E.jsx)("span",{className:"animate-fade-in text-sm font-semibold text-slate-100",children:"en"===t?"Thanks for your feedback!":"¡Gracias por tu valoración!"})]})]})}let a0=[{id:"whatsapp",label:"WhatsApp",labelEn:"WhatsApp",icon:"ð¬"},{id:"email",label:"Email",labelEn:"Email",icon:"ð§"},{id:"instagram",label:"Redes",labelEn:"Social",icon:"ð±"},{id:"sms",label:"SMS",labelEn:"SMS",icon:"âï¸"},{id:"web",label:"Búsqueda",labelEn:"Search",icon:"ð"},{id:"other",label:"Otro",labelEn:"Other",icon:"·"}];function a1({lang:e,onSelect:t,gateMode:a,autoAdvanceSeconds:n=10,onSkip:s,domain:r}){let[i,l]=(0,T.useState)(null),[o,d]=(0,T.useState)(n),c=(0,T.useRef)(null);(0,T.useEffect)(()=>
9{if(a&&!i)return c.current=setInterval(()=>{d(e=>e<=1?(clearInterval(c.current),s?.(),0):e-1)},1e3),()=>{c.current&&clearInterval(c.current)}},[a,i,s]);let u=e=>{i||(c.current&&clearInterval(c.current),l(e),t(e))};return a?(0,E.jsx)("div",{className:"w-full max-w-xl mx-auto animate-fade-in",children:(0,E.jsxs)("div",{className:"trust-card flex flex-col items-center gap-4 rounded-[28px] px-6 py-7",children:[(0,E.jsx)("p",{className:"text-center text-base font-semibold text-slate-100",children:r?"en"===e?(0,E.jsxs)(E.Fragment,{children:["How did you come across ",(0,E.jsx)("span",{className:"font-mono text-white",children:r}),"?"]}):(0,E.jsxs)(E.Fragment,{children:["¿Cómo llegaste al enlace de ",(0,E.jsx)("span",{className:"font-mono text-white",children:r}),"?"]}):"en"===e?"How did you come across this link?":"¿Cómo llegaste a este enlace?"}),(0,E.jsx)("div",{className:"flex flex-wrap justify-center gap-2",children:a0.map(t=>(0,E.jsxs)("button",{type:"button",onClick:()=>u(t.id),className:"inline-flex items-center gap-1.5 rounded-full border border-white/15 bg-white/[0.03] px-4 py-2 text-sm font-medium text-slate-200 transition-all duration-150 hover:border-slate-500 hover:bg-white/[0.08] hover:text-white",children:[(0,E.jsx)("span",{className:"text-base leading-none",children:t.icon}),"en"===e?t.labelEn:t.label]},t.id))}),(0,E.jsxs)("div",{className:"flex items-center gap-3 mt-1",children:[(0,E.jsx)("span",{className:"text-xs font-medium text-slate-500",children:"en"===e?`Result in ${o}s`:`Resultado en ${o}s`}),(0,E.jsx)("span",{className:"text-slate-300",children:"·"}),(0,E.jsx)("button",{type:"button",onClick:s,className:"text-xs text-slate-500 transition underline underline-offset-2 hover:text-white",children:"en"===e?"Skip":"Saltar"})]})]})}):(0,E.jsxs)("div",{className:"w-full max-w-xl mx-auto mt-5 animate-fade-in",children:[(0,E.jsx)("p",{className:"mb-2.5 text-center text-xs font-medium text-slate-300",children:r?"en"===e?(0,E.jsxs)(E.Fragment,{children:["How did you come across ",(0,E.jsx)("span",{className:"font-mono text-slate-100",children:r}),"?"]}):(0,E.jsxs)(E.Fragment,{children:["¿Cómo llegaste al enlace de ",(0,E.jsx)("span",{className:"font-mono text-slate-100",children:r}),"?"]}):"en"===e?"How did you come across this link?":"¿Cómo llegaste a este enlace?"}),(0,E.jsx)("div",{className:"flex flex-wrap justify-center gap-2",children:a0.map(t=>{let a=i===t.id,n=null!==i&&!a;return(0,E.jsxs)("button",{type:"button",onClick:()=>u(t.id),disabled:null!==i,className:` 10 inline-flex items-center gap-1.5 rounded-full border px-3.5 py-1.5 text-sm font-medium 11 transition-all duration-200 disabled:cursor-default 12 ${a?"border-slate-500 bg-white/[0.06] text-white shadow-sm scale-105":n?"border-white/10 bg-white/50 text-slate-300":"border-white/15 bg-white/[0.05] text-slate-200 hover:border-slate-500 hover:text-white hover:bg-white/[0.05]"} 13 `,children:[(0,E.jsx)("span",{className:"text-base leading-none",children:t.icon}),"en"===e?t.labelEn:t.label]},t.id)})})]})}let a2=[{value:"ai_scam_call",es:"Llamada de estafa con IA",en:"AI-powered scam call"},{value:"sms_phishing",es:"Phishing por SMS (smishing)",en:"SMS phishing (smishing)"},{value:"robocall",es:"Llamada automatizada (robocall)",en:"Robocall"},{value:"vishing",es:"Phishing por voz (vishing)",en:"Voice phishing (vishing)"},{value:"wangiri",es:"Estafa de llamada perdida (wangiri)",en:"One-ring scam (wangiri)"},{value:"spam_commercial",es:"Spam comercial",en:"Commercial spam"},{value:"other",es:"Otro",en:"Other"}];function a5({phoneE164:e,lang:t,onSuccess:a,onCancel:n}){let[s,r]=(0,T.useState)("other"),[i,l]=(0,T.useState)(""),[o,d]=(0,T.useState)(""),[c,u]=(0,T.useState)(!1),[m,h]=(0,T.useState)(null),[p,f]=(0,T.useState)(!1),x=async n=>{n.preventDefault(),u(!0),h(null);let r=i.trim();if(r)try{let e=new URL(r);if(!["http:","https:"].includes(e.protocol))throw Error("invalid")}catch{h("es"===t?"Introduce una URL http(s) válida.":"Enter a valid http(s) URL."),u(!1);return}try{let n=await fetch("https://desenmascara.me/api/phone/report/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({phone:e,fraud_type:s,source_url:r||void 0,description:o.trim()||void 0})});if(!n.ok){let e=await n.json().catch(()=>({}));throw Error(e.error||("es"===t?"Error al enviar el reporte":"Failed to submit report"))}if((await n.json()).duplicate){h("es"===t?"Ya has reportado este número recientemente.":"You already reported this number recently."),u(!1);return}f(!0),setTimeout(()=>a(),1500)}catch(e){h(e instanceof Error?e.message:String(e))}finally{u(!1)}};return p?(0,E.jsxs)("div",{className:"rounded-2xl border border-green-400/30 bg-green-500/10 p-6 text-center shadow-sm",children:[(0,E.jsx)("div",{className:"text-3xl",children:"â "}),(0,E.jsx)("p",{className:"mt-2 font-bold text-green-200",children:"es"===t?"Reporte enviado correctamente.":"Report submitted successfully."}),(0,E.jsx)("p",{className:"mt-1 text-sm text-green-300",children:"es"===t?"Gracias por ayudar a proteger a la comunidad.":"Thank y
13ou for helping protect the community."})]}):(0,E.jsxs)("form",{onSubmit:x,className:"rounded-2xl border border-white/10 bg-white/[0.04] p-5 shadow-sm",children:[(0,E.jsx)("h3",{className:"text-sm font-bold uppercase tracking-[0.14em] text-slate-500",children:"es"===t?"Reportar número":"Report number"}),(0,E.jsxs)("div",{className:"mt-3 rounded-xl bg-white/[0.03] px-4 py-3 text-sm font-medium text-slate-200",children:["ð ",t7(e)]}),(0,E.jsxs)("div",{className:"mt-4 space-y-4",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("label",{className:"block text-sm font-medium text-slate-200",children:"es"===t?"Tipo de fraude":"Fraud type"}),(0,E.jsx)("select",{value:s,onChange:e=>r(e.target.value),className:"mt-1 w-full rounded-xl border border-white/10 bg-white/[0.04] px-4 py-2.5 text-sm text-slate-100 focus:border-[#93b4ff]/60 focus:outline-none focus:ring-2 focus:ring-[#93b4ff]/20",children:a2.map(e=>(0,E.jsx)("option",{value:e.value,children:e[t]},e.value))})]}),(0,E.jsxs)("div",{children:[(0,E.jsx)("label",{className:"block text-sm font-medium text-slate-200",children:"es"===t?"Enlace de referencia (opcional)":"Source URL (optional)"}),(0,E.jsx)("input",{type:"url",value:i,onChange:e=>l(e.target.value.slice(0,500)),placeholder:"https://x.com/...",className:"mt-1 w-full rounded-xl border border-white/10 bg-white/[0.04] px-4 py-2.5 text-sm text-slate-100 placeholder:text-slate-400 focus:border-[#93b4ff]/60 focus:outline-none focus:ring-2 focus:ring-[#93b4ff]/20"})]}),(0,E.jsxs)("div",{children:[(0,E.jsx)("label",{className:"block text-sm font-medium text-slate-200",children:"es"===t?"Descripción (opcional)":"Description (optional)"}),(0,E.jsx)("textarea",{value:o,onChange:e=>d(e.target.value.slice(0,4e3)),rows:3,maxLength:4e3,placeholder:"es"===t?"Describe lo que ocurrió...":"Describe what happened...",className:"mt-1 w-full resize-none rounded-xl border border-white/10 bg-white/[0.04] px-4 py-2.5 text-sm text-slate-100 placeholder:text-slate-400 focus:border-[#93b4ff]/60 focus:outline-none focus:ring-2 focus:ring-[#93b4ff]/20"})]})]}),m&&(0,E.jsx)("div",{className:"mt-3 rounded-xl border border-red-400/30 bg-red-500/10 px-4 py-2.5 text-sm text-red-300",children:m}),(0,E.jsxs)("div",{className:"mt-4 flex items-center gap-3",children:[(0,E.jsx)("button",{type:"submit",disabled:c,className:"rounded-xl bg-blue-600 hover:bg-blue-500 px-6 py-2.5 text-sm font-bold text-white transition disabled:opacity-50",children:c?"es"===t?"Enviando...":"Submitting...":"es"===t?"Enviar reporte":"Submit report"}),(0,E.jsx)("button",{type:"button",onClick:n,className:"rounded-xl px-4 py-2.5 text-sm font-medium text-slate-500 transition hover:text-slate-700",children:"es"===t?"Cancelar":"Cancel"})]})]})}let a3={ai_scam_call:{es:"Llamada de estafa con IA",en:"AI-powered scam call"},sms_phishing:{es:"Phishing por SMS",en:"SMS phishing (smishing)"},robocall:{es:"Llamada automatizada",en:"Robocall"},vishing:{es:"Phishing por voz",en:"Voice phishing (vishing)"},wangiri:{es:"Estafa de llamada perdida",en:"One-ring scam (wangiri)"},spam_commercial:{es:"Spam comercial",en:"Commercial spam"},other:{es:"Otro",en:"Other"}},a4={scam:{color:"text-red-300",bg:"bg-red-500/10",border:"border-red-400/30",label:{es:"Estafa confirmada",en:"Confirmed scam"}},suspicious:{color:"text-amber-300",bg:"bg-amber-500/10",border:"border-amber-400/30",label:{es:"Sospechoso",en:"Suspicious"}},unknown:{color:"text-slate-300",bg:"bg-white/[0.03]",border:"border-white/10",label:{es:"Bajo investigación",en:"Under investigation"}},legitimate:{color:"text-green-300",bg:"bg-green-500/10",border:"border-green-400/30",label:{es:"LegÃtimo",en:"Legitimate"}}},a8={FRAUDULENT:{dot:"bg-red-500",bg:"bg-red-500/10",text:"text-red-300",border:"border-red-400/30",label:{es:"Fraudulento",en:"Fraudulent"},desc:{es:"Este teléfono aparece en un sitio web identificado como fraudulento.",en:"This phone number appears on a website identified as fraudulent."}},SUSPICIOUS:{dot:"bg-amber-500",bg:"bg-amber-500/10",text:"text-amber-300",border:"border-amber-400/30",label:{es:"Sospechoso",en:"Suspicious"},desc:{es:"Este teléfono aparece en un sitio web marcado como sospechoso.",en:"This phone number appears on a website flagged as suspicious."}},LEGIT:{dot:"bg-green-500",bg:"bg-green-500/10",text:"text-green-300",border:"border-green-400/30",label:{es:"LegÃtimo",en:"Legitimate"},desc:{es:"Este teléfono aparece en un sitio web verificado como legÃtimo.",en:"This phone number appears on a website verified as legitimate."}}},a6={html_visible:{es:"Texto visible",en:"Visible text"},tel_link:{es:"Enlace tel:",en:"tel: link"},whatsapp_link:{es:"Enlace WhatsApp",en:"WhatsApp link"},meta_tag:{es:"Meta tag",en:"Meta tag"}};function a7({domains:e,lang:t}){if(!e||0===e.length)return null;let a=e.some(e=>"FRAUDULENT"===e.veredict),n=e.some(e=>"SUSPICIOUS"===e.veredict);return(0,E.jsxs)("section",{className:"rounded-[28px] border border-white/10 bg-white/[0.05] shadow-sm overflow-hidden",children:[(0,E.jsxs)("div",{className:`px-5 py-4 sm:px-6 border-b ${a?"border-red-400/30 bg-red-500/10":n?"border-amber-400/30 bg-amber-500/10":"border-green-400/30 bg-green-500/10"}`,children:[(0,E.jsxs)("div",{className:"flex items-center gap-2",children:[(0,E.jsx)("span",{className:"text-lg",children:"ð"}),(0,E.jsxs)("h3",{className:"text-base font-black tracking-[-0.03em] text-white",children:["es"===t?"Webs asociadas":"Associated websites",(0,E.jsx)("span",{className:"ml-2 inline-flex items-center justify-center rounded-full bg-slate-900 px-2 py-0.5 text-[11px] font-bold text-white",children:e.length})]})]}),(0,E.jsx)("p",{className:"mt-1 text-sm text-slate-300",children:a?"es"===t?"Este número está vinculado a sitios fraudulentos":"This
13number is linked to fraudulent websites":n?"es"===t?"Este número está vinculado a sitios sospechosos":"This number is linked to suspicious websites":"es"===t?"Este número aparece en sitios verificados":"This number appears on verified websites"})]}),(0,E.jsx)("div",{className:"divide-y divide-white/10",children:e.map((e,a)=>{let n=a8[e.veredict]||a8.SUSPICIOUS,s=e.public_id?`/analisis/${e.public_id}`:`/?q=${encodeURIComponent(e.domain)}`,r=null!=e.ai_score?Math.round(e.ai_score):null;return(0,E.jsxs)("div",{className:"px-5 py-3.5 sm:px-6 hover:bg-white/[0.03] transition-colors",children:[(0,E.jsxs)("div",{className:"flex items-center justify-between gap-3 flex-wrap",children:[(0,E.jsxs)("div",{className:"flex items-center gap-3 min-w-0",children:[(0,E.jsx)("span",{className:`inline-block h-2.5 w-2.5 flex-shrink-0 rounded-full ${n.dot}`}),(0,E.jsx)("a",{href:s,className:"text-sm font-bold text-blue-300 hover:text-blue-100 hover:underline truncate",children:e.domain})]}),(0,E.jsxs)("div",{className:"flex items-center gap-2 flex-shrink-0",children:[null!==r&&(0,E.jsxs)("span",{className:`rounded-full px-2 py-0.5 text-[11px] font-bold ${r>=61?"bg-red-500/15 text-red-300":r>=31?"bg-amber-500/15 text-amber-300":"bg-green-500/15 text-green-300"}`,children:[r,"/100"]}),(0,E.jsx)("span",{className:`rounded-full px-2.5 py-0.5 text-[11px] font-bold uppercase ${n.bg} ${n.text} border ${n.border}`,children:n.label[t]})]})]}),(0,E.jsxs)("div",{className:"mt-1.5 ml-[22px] flex items-center gap-3 text-xs text-slate-500",children:[(0,E.jsx)("span",{children:a6[e.context]?.[t]||e.context}),(0,E.jsxs)("a",{href:s,className:"font-medium text-blue-300 hover:text-blue-100",children:["es"===t?"Ver análisis completo":"View full analysis"," â"]})]})]},a)})})]})}function a9(e,t){try{return new Date(e).toLocaleDateString("es"===t?"es-ES":"en-US",{year:"numeric",month:"short",day:"numeric"})}catch{return e}}function ne({data:e,lang:t,onNewReport:a,onBack:n}){let[s,r]=(0,T.useState)(!1),i=t7(e.phone_e164),l=e.report_count??0,o=e.reports??[],d=e.fraud_types?.[0],c={reportedNumber:"es"===t?"Número verificado":"Checked number",noReportsKicker:"es"===t?"Sin reportes todavÃa":"No reports yet",noReportsTitle:"es"===t?"TodavÃa no hay señales de riesgo para este número.":"There are no community risk signals for this number yet.",noReportsBody:"es"===t?"No significa que el número sea seguro. Solo que la comunidad todavÃa no ha dejado reportes visibles aquÃ.":"That does not mean the number is safe. It only means the community has not posted visible reports here yet.",reportThis:"es"===t?"Reportar este número":"Report this number",reportAlso:"es"===t?"Yo también recibà una llamada de este número":"I also received a call from this number",cancel:"es"===t?"Cancelar":"Cancel",firstReported:"es"===t?"Primer reporte":"First reported",lastReported:"es"===t?"Ãltimo reporte":"Latest report",country:"es"===t?"PaÃs":"Country",topPattern:"es"===t?"Patrón principal":"Main pattern",communityReports:"es"===t?"Reportes de la comunidad":"Community reports",emptyEvidence1:"es"===t?"Sin actividad comunitaria registrada todavÃa":"No community activity recorded yet",emptyEvidence2:"es"===t?"Puedes ser la primera persona en dejar contexto y proteger a otros.":"You can be the first person to add context and help protect others.",reportCount:"es"===t?"Reportes":"Reports",latestActivity:"es"===t?"Actividad más reciente":"Latest activity",riskSignals:"es"===t?"Señales detectadas":"Signals detected",checkAnother:"es"===t?"Consultar otro número":"Check another number",viewSource:"es"===t?"Ver fuente":"View source",viewTweet:"es"===t?"Ver tuit original":"View original tweet",associatedDomains:"es"===t?"Webs asociadas":"Associated websites",associatedDomainsDesc:"es"===t?"Sitios web donde este número de teléfono fue encontrado durante el análisis.":"Websites where this phone number was found during analysis.",foundVia:"es"===t?"Encontrado en":"Found via",countryLabel:"ES"===e.country_code?"es"===t?"España":"Spain":e.country_code?e.country_code.replace(/^\+/,""):"â"};if(!e.found)return(0,E.jsxs)("div",{className:"mx-auto mt-8 w-full max-w-6xl space-y-6 animate-fade-in",children:[(0,E.jsx)("section",{className:"overflow-hidden rounded-[32px] border border-white/10 bg-[#0b0e14] p-6 text-white shadow-[0_28px_80px_rgba(2,6,23,0.32)] sm:p-8 lg:p-10",children:(0,E.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1.35fr)_320px] lg:items-center",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:"inline-flex items-center rounded-full border border-cyan-300/30 bg-cyan-400/10 px-4 py-1 text-[11px] font-bold uppercase tracking-[0.22em] text-cyan-100",children:c.noReportsKicker}),(0,E.jsx)("p",{className:"mt-5 text-xs font-semibold uppercase tracking-[0.2em] text-cyan-100/70",children:c.reportedNumber}),(0,E.jsx)("h2",{className:"mt-2 text-3xl font-black tracking-[-0.05em] text-white sm:text-4xl",children:i}),(0,E.jsx)("p",{className:"mt-4 max-w-2xl text-base leading-7 text-slate-200",children:c.noReportsTitle}),(0,E.jsx)("p",{className:"mt-2 max-w-2xl text-sm leading-6 text-slate-300",children:c.noReportsB
13ody}),(0,E.jsxs)("div",{className:"mt-6 flex flex-wrap gap-3",children:[n&&(0,E.jsx)("button",{onClick:n,className:"rounded-2xl border border-white/16 bg-white/8 px-6 py-3 text-sm font-bold text-white transition hover:bg-white/12",children:c.checkAnother}),(0,E.jsx)("button",{onClick:()=>r(!0),className:"rounded-2xl bg-white/[0.04] px-6 py-3 text-sm font-extrabold text-white transition hover:bg-white/[0.08]",children:c.reportThis})]})]}),(0,E.jsxs)("div",{className:"rounded-[28px] border border-white/12 bg-white/8 p-5 backdrop-blur",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.18em] text-cyan-100/72",children:c.latestActivity}),(0,E.jsxs)("div",{className:"mt-4 rounded-[24px] border border-white/10 bg-slate-950/35 p-5",children:[(0,E.jsx)("div",{className:"text-4xl",children:"ð"}),(0,E.jsx)("p",{className:"mt-4 text-sm font-semibold text-white",children:c.emptyEvidence1}),(0,E.jsx)("p",{className:"mt-2 text-sm leading-6 text-slate-300",children:c.emptyEvidence2})]})]})]})}),(0,E.jsxs)("div",{className:"grid gap-4 md:grid-cols-3",children:[(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.reportCount}),(0,E.jsx)("div",{className:"mt-2 text-3xl font-black tracking-[-0.04em] text-white",children:"0"})]}),(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.country}),(0,E.jsx)("div",{className:"mt-2 text-2xl font-black tracking-[-0.04em] text-white",children:c.countryLabel})]}),(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.topPattern}),(0,E.jsx)("div",{className:"mt-2 text-base font-bold text-slate-200",children:"â"})]})]}),(0,E.jsx)(a7,{domains:e.associated_domains,lang:t}),s&&(0,E.jsx)(a5,{phoneE164:e.phone_e164,lang:t,onSuccess:()=>{r(!1),a?.()},onCancel:()=>r(!1)})]});let u=e.verdict||"unknown",m=a4[u]||a4.unknown,h=m.label[t],p="scam"===u?"es"===t?"La comunidad ha dejado suficientes reportes para tratar este número como una amenaza confirmada.":"The community has left enough reports to treat this number as a confirmed threat.":"suspicious"===u?"es"===t?"Hay varias señales comunitarias de riesgo. Conviene tratar este número con cautela.":"There are multiple community risk signals. Treat this number with caution.":"es"===t?"Hay actividad registrada, pero todavÃa no suficiente para una clasificación más fuerte.":"There is recorded activity, but not enough yet for a stronger classification.";return(0,E.jsxs)("div",{className:"mx-auto mt-8 w-full max-w-6xl space-y-6 animate-fade-in",children:[(0,E.jsx)("section",{className:"overflow-hidden rounded-[32px] border border-white/10 bg-[linear-gradient(135deg,rgba(127,29,29,0.92),rgba(15,23,42,0.97)_52%,rgba(120,53,15,0.92))] p-6 text-white shadow-[0_28px_80px_rgba(2,6,23,0.36)] sm:p-8 lg:p-10",children:(0,E.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[minmax(0,1.4fr)_320px] lg:items-center",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("div",{className:"inline-flex items-center rounded-full border border-white/12 bg-white/10 px-4 py-1 text-[11px] font-bold uppercase tracking-[0.22em] text-white/85",children:c.reportedNumber}),(0,E.jsx)("h2",{className:"mt-5 text-3xl font-black tracking-[-0.05em] text-white sm:text-5xl",children:i}),(0,E.jsxs)("div",{className:"mt-4 flex flex-wrap items-center gap-3",children:[(0,E.jsx)("span",{className:`inline-flex items-center rounded-full border ${m.border} bg-white/[0.04] px-4 py-2 text-sm font-extrabold ${m.color}`,children:h}),(0,E.jsxs)("span",{className:"inline-flex items-center rounded-full border border-white/12 bg-white/8 px-4 py-2 text-sm font-semibold text-white/80",children:[c.country,": ",c.countryLabel]})]}),(0,E.jsx)("p",{className:"mt-5 max-w-2xl text-base leading-7 text-slate-200",children:p}),e.fraud_types&&e.fraud_types.length>0&&(0,E.jsx)("div",{className:"mt-5 flex flex-wrap gap-2",children:e.fraud_types.map(e=>(0,E.jsx)("span",{className:"rounded-full border border-white/12 bg-white/10 px-3 py-1.5 text-xs font-bold text-white/90",children:a3[e]?.[t]||e},e))})]}),(0,E.jsx)("div",{className:"rounded-[28px] border border-white/12 bg-white/8 p-5 backdrop-blur",children:(0,E.jsxs)("div",{className:"grid gap-4",children:[(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-slate-950/35 p-5",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-white/60",children:c.reportCount}),(0,E.jsx)("div",{className:"mt-2 text-5xl font-black tracking-[-0.06em] text-white",children:l})]}),(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-slate-950/35 p-5",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-white/60",children:c.latestActivity}),(0,E.jsx)("div",{className:"mt-2 text-lg font-bold text-white",children:e.last_reported_at?a9(e.last_reported_at,t):"â"})]})]})})]})}),(0,E.jsxs)("div",{className:"grid gap-4 md:grid-cols-3",children:[(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.firstReported}),(0,E.jsx)("div",{className:"mt-2 text-2xl font-black tracking-[-0.04em] text-white",children:e.first_reported_at?a9(e.first_reported_at,t):"â"})]}),(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.lastReported}),(0,E.jsx)("div",{className:"mt-2 text-2xl font-black tracking-[-0.04em] text-white",children:e.last_reported_at?a9(e.last_reported_at,t):"â"})]}),(0,E.jsxs)("div",{className:"rounded-[24px] border border-white/10 bg-white/[0.05] p-5 shadow-sm",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-slate-500",children:c.topPattern}),(0,E.jsx)("div",{className:"mt-2 text-base font-black text-white",children:d?a3[d]?.[t]||d:"â"}),(0,E.jsx)("div",{className:"mt-2 text-sm text-slate-300",children:"es"===t?`${e.fraud_types?.length??0} tipos distintos detectados`:`${e.fraud_types?.length??0} distinct patterns detected`})]})]}),o.length>0&&(0,E.jsxs)("section",{className:"rounded-[28px] border border-white/10 bg-white/[0.05] p-5 shadow-sm sm:p-6",children:[(0,E.jsx)("div",{className:"flex flex-col gap-2 sm:flex-row sm:items-end sm:justify-between",children:(0,E.jsxs)("div",{children:[(0,E.jsx)("h3",{className:"text-lg font-black tracking-[-0.03em] text-white",children:c.communityReports}),(0,E.jsx)("p",{className:"mt-1 text-sm text-slate-300",children:"es"===t?"Contexto aportado por la comunidad para entender por qué este número fue marcado.":"Community context explaining why this number was flagged."})]})}),(0,E.jsx)("div",{className:"mt-4 space-y-3",children:o.map((e,a)=>(0,E.jsxs)("div",{className:"rounded-[22px] border border-white/10 bg-white/[0.03] p-4",children:[(0,E.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("span",{className:"text-xs font-bold uppercase tracking-[0.12em] text-slate-200",children:a3[e.fraud_type]?.[t]||e.fraud_type}),e.reporter_name&&(0,E.jsx)("span",{className:"ml-2 text-xs text-slate-500",children:e.reporter_name})]}),(0,E.jsx)("span",{className:"whitespace-nowrap text-xs text-slate-400",children:a9(e.created_at,t)})]}),e.description&&(0,E.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-slate-300",children:e.description}),e.source_url&&(0,E.jsxs)("a",{href:e.source_url,target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-flex items-center gap-1 text-xs font-medium text-blue-300 hover:text-blue-100",children:["tweet"===e.source_type?c.viewTweet:c.viewSource,(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})]},a))})]}),(0,E.jsx)(a7,{domains:e.associated_domains,lang:t}),(0,E.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[n&&(0,E.jsx)("button",{onClick:n,className:"rounded-2xl border border-white/12 bg-blue-600 hover:bg-blue-500 px-6 py-3 text-sm font-bold text-white shadow-sm transition",children:c.checkAnother}),(0,E.jsx)("button",{onClick:()=>r(!s),className:"rounded-2xl border border-white/10 bg-white/[0.04] px-6 py-3 text-sm font-bold text-slate-200 shadow-sm transition hover:border-white/25 hover:bg-white/[0.05]",children:s?c.cancel:c.reportAlso})]}),s&&(0,E.jsx)(a5,{phoneE164:e.phone_e164,lang:t,onSuccess:()=>{r(!1),a?.()},onCancel:()=>r(!1)})]})}let nt="https://desenmascara.me";function na(){let e,t,a,n,s,r,i,l,o,d,c,u=(0,tB.useRouter)(),[m,h]=(0,T.useState)(""),[p,f]=(0,T.useState)("en"),[x,g]=(0,T.useState)(null),[b,v]=(0,T.useState)([]),[w,y]=(0,T.useState)(null),[j,_]=(0,T.useState)(5),[N,k]=(0,T.useState)(!1),[S,C]=(0,T.useState)(!1),[A,L]=(0,T.useState)(!1),[R,$]=(0,T.useState)(null),[P,F]=(0,T.useState)(!1),[O,M]=(0,T.useState)(!1),[D,z]=(0,T.useState)(null),[U,q]=(0,T.useState)(null),[W,V]=(0,T.useState)(null),[B,H]=(0,T.useState)(!1),[G,Y]=(0,T.useState)(!1),[K,X]=(0,T.useState)(!1),[J,Q]=(0,T.useState)(""),[Z,ee]=(0,T.useState)(""),[et,ea]=(0,T.useState)("trust_decision"),[en,es]=(0,T.useState)(!1),[er,ei]=(0,T.useState)(null),[el,eo]=(0,T.useState)(!1),[ed,ec]=(0,T.useState)(!1),[eu,em]=(0,T.useState)(!1),[eh,ep]=(0,T.useState)(""),[ef,ex]=(0,T.useState)(null),[eg,eb]=(0,T.useState)(!1),[ev,ew]=(0,T.useState)(null),[ey,ej]=(0,T.useState)("web"),e_=(0,T.useRef)(null),eN=(0,T.useRef)(null),ek=(0,T.useRef)(!1),eS=I[p],eE=function(e){let[t,a
13]=(0,T.useState)(null),[n,s]=(0,T.useState)(null),[r,i]=(0,T.useState)(!1),[l,o]=(0,T.useState)(0),[d,c]=(0,T.useState)(!1),[u,m]=(0,T.useState)(!1),[h,p]=(0,T.useState)(!1),[f,x]=(0,T.useState)(null),g=(0,T.useRef)(null),b=(0,T.useRef)(null),v=(0,T.useRef)(null),w=(0,T.useRef)(null),y=(0,T.useRef)(null),j=ac(t);(0,T.useEffect)(()=>{if(!u&&!ac(t))return;o(0);let e=setInterval(()=>o(e=>e+1),1e3);return()=>clearInterval(e)},[t?.analysis_public_id,u]);let _=t?.progress_stage==="queued";(0,T.useEffect)(()=>{if(v.current&&clearTimeout(v.current),j&&!d){b.current||(b.current=Date.now());let t=(_?75e3:15e4)-(Date.now()-b.current),a=_?"en"===e?"Our analysis queue is unusually busy right now and your check has not started yet. Please try again in a few minutes.":"Nuestra cola de análisis está inusualmente ocupada y tu verificación aún no ha empezado. Inténtalo de nuevo en unos minutos.":"en"===e?"Something went wrong while analyzing this site. Please retry later.":"Algo salió mal durante el análisis del sitio. Inténtalo de nuevo más tarde.",n=()=>{c(!0),m(!1),y.current?.abort(),i(!1),s(a)};if(t<=0)return void n();v.current=setTimeout(n,t)}return()=>{v.current&&clearTimeout(v.current)}},[j,d,e,_]),(0,T.useEffect)(()=>{ac(t)||m(!1)},[t]);let N=(0,T.useCallback)((e,t)=>{let a=e.analysis_public_id||e.public_id||t?.analysis_public_id,n=e.analysis_permalink||(a?`/analisis/${a}`:t?.analysis_permalink),s=e.manual_verdict||e.veredict||e.clasificacion_ai||e.analisis?.veredict||e.analisis?.clasificacion_ai||t?.verificada,r=e.analisis?{...e.analisis,veredict:e.analisis.veredict||s,clasificacion_ai:e.analisis.clasificacion_ai||s,justification_ai:e.analisis.justification_ai||e.justification_ai,screenshot:e.analisis.screenshot||e.screenshot_url}:{veredict:s,clasificacion_ai:s,justification_ai:e.justification_ai,screenshot:e.screenshot_url};return{...t,...e,domain:e.domain||t?.domain,analysis_status:(0,ae.isPreliminaryStatus)({analysis_status:e.analysis_status,justification_ai:e.analisis?.justification_ai||e.justification_ai})?"fast":e.analysis_status??"full",analysis_public_id:a,analysis_permalink:n,manual_verdict:e.manual_verdict??t?.manual_verdict,verificada:s||t?.verificada,analisis:r}},[]);(0,T.useEffect)(()=>{if(g.current&&(clearInterval(g.current),g.current=null),n||d)return;let r=!!t?.analysis_public_id,i=t?.domain||"";if(!r&&!i||(b.current||(b.current=Date.now()),!(0,ae.shouldPollAnalysis)({analysis_status:t?.analysis_status,justification_ai:t?.analisis?.justification_ai||t?.justification_ai,screenshot_url:t?.analisis?.screenshot||t?.screenshot_url,fetch_blocked:!!t?.analisis?.fetch_blocked,pollStartedAt:b.current})))return;let l=!1,o=async()=>{try{let n=!r,o=n?`${at}/api/check/?domain=${encodeURIComponent(i)}&lang=${e}`:`https://desenmascara.me/api/analysis/public/${t?.analysis_public_id}/`,d=n?await ah(o,{headers:am({Accept:"application/json"})},e,{allowAnonymousFallback:!0}):await fetch(o,{headers:{Accept:"application/json"}});if(!d.ok||l)return;let c=await d.json();if(l||!c)return;if(c.error||c.error_code||ao(c.analysis_status)){s(au(c,e)||"Error desconocido"),a(e=>N(c,e));return}(0,ae.isPreliminaryStatus)({analysis_status:c.analysis_status,justification_ai:c.analisis?.justification_ai||c.justification_ai})||(w.current&&x(ad(Date.now()-w.current)),p(!0)),a(e=>N(c,e))}catch{}};return g.current=setInterval(o,ac(t)?3500:7e3),o(),()=>{l=!0,g.current&&clearInterval(g.current)}},[t?.analysis_public_id,t?.domain,t?.cached,t?.analysis_status,t?.analisis?.justification_ai,t?.justification_ai,n,d,e,N]);let k=(0,T.useCallback)(async(t,n)=>{let l;if(r)return;i(!0),p(!1),c(!1),m(!1),a(null),s(null),b.current=null,y.current&&(y.current.abort(),y.current=null);let o=Date.now();w.current=o,x(null),m(!0),a({domain:t,analizado_en:new Date().toISOString(),cached:!1,analysis_status:"fast",analisis:{justification_ai:"en"===e?"Live updating analysisâ¦":"Actualizando análisis en tiempo realâ¦"}});try{let n=`${at}/api/check/precheck-dns/?domain=${encodeURIComponent(t)}&lang=${e}`,r=await ah(n,{headers:am({Accept:"application/json"}),signal:AbortSignal.timeout(2e3)},e,{allowAnonymousFallback:!0}),l=await r.json().catch(()=>({})),o=l?.resolved!==!1;
13if(!r.ok||l.error||l.error_code||!o){a({domain:t,...l}),s(au(l,e)||("en"===e?"Could not resolve the domain (DNS).":"No se pudo resolver el dominio (DNS).")),i(!1),m(!1);return}}catch{}try{let r=n?.force?"&force=1":"",d=new AbortController;y.current=d;let c=await ah(`${at}/api/check/?domain=${encodeURIComponent(t)}${r}`,{headers:am({Accept:"application/json"}),signal:d.signal},e,{allowAnonymousFallback:!0});y.current=null;let u=await c.json();if(u?.details&&!u.detalle&&(u.detalle=u.details),429===c.status&&u.analisis){a({...u,analisis:{...u.analisis||{},veredict:u.analisis?.veredict||u.veredict,clasificacion_ai:u.analisis?.clasificacion_ai||u.clasificacion_ai||u.veredict,justification_ai:u.analisis?.justification_ai||u.justification_ai,screenshot:u.analisis?.screenshot||u.screenshot_url}}),p(!0),m(!1),x(ad(Date.now()-o)),i(!1);return}if(!c.ok||u.error||u.error_code||ao(u.analysis_status)){s(au(u,e)||"Error desconocido"),a(u),i(!1);return}a({...u,analisis:{...u.analisis||{},veredict:u.analisis?.veredict||u.veredict,clasificacion_ai:u.analisis?.clasificacion_ai||u.clasificacion_ai||u.veredict,justification_ai:u.analisis?.justification_ai||u.justification_ai,screenshot:u.analisis?.screenshot||u.screenshot_url}}),(l=(0,ae.isPreliminaryStatus)({analysis_status:u.analysis_status,justification_ai:u.justification_ai||u.analisis?.justification_ai}))||(x(ad(Date.now()-o)),p(!0),m(!1)),u.cached&&!l&&m(!1);let h=Number(localStorage.getItem("analisisCount")||0)+1;localStorage.setItem("analisisCount",String(h))}catch(t){if(y.current=null,t?.name==="AbortError"){s("en"===e?"Something went wrong while analyzing this site. Please retry later.":"Algo salió mal durante el análisis del sitio. Inténtalo de nuevo más tarde."),i(!1);return}m(!1),s("en"===e?"Could not contact the server.":"No se pudo contactar con el servidor.")}let d=Date.now()-o;(u||l)&&d<1500?setTimeout(()=>i(!1),1500-d):i(!1)},[r,e,u]),S=(0,T.useCallback)(async e=>{try{await fetch(`${at}/api/feedback/`,{method:"POST",headers:am({"Content-Type":"application/json"}),body:JSON.stringify({domain:t?.domain,veredict:t?.analisis?.clasificacion_ai||t?.analisis?.veredict,feedback:e})})}catch{}},[t]),E=(0,T.useCallback)(()=>{a(null),s(null),i(!1),w.current=null,x(null),m(!1),c(!1),y.current&&(y.current.abort(),y.current=null),b.current=null},[]),C=ac(t)&&!d,I=!!(n||au(t,e)||ao(t?.analysis_status)),A=!!(t?.analisis&&!C&&!I),L=C||u,R=t?A?t.manual_verdict||t.analisis?.clasificacion_ai||t.analisis?.veredict||t.verificada||t.veredict||"":t.analisis?.clasificacion_ai||t.analisis?.veredict||t.verificada||t.veredict||"":"",$=(()=>{let e=t?.analisis?.screenshot||t?.screenshot_url;if(!e)return null;let a=e.split("/").pop();return`https://desenmascara.me/screens/${a}`})(),P=t?.analysis_public_id?`/analisis/${t.analysis_public_id}`:t?.analysis_permalink||null,F=I?"error":L?r?"loading":"preliminary":A?"done":"idle",O="number"==typeof f?f:L?l:A&&"number"==typeof t?.analysis_seconds?t.analysis_seconds:l;return{result:t,phase:F,error:n,elapsedSeconds:O,effectiveVerdict:R,screenshotUrl:$,reportUrl:P,hasFinalResult:A,checkSite:k,sendFeedback:S,reset:E}}(p);(0,T.useEffect)(()=>{f((()=>{let e=window.navigator;for(let t of(e?.languages&&e.languages.length?e.languages:[e?.language]).map(e=>
13"string"==typeof e?e:"").filter(Boolean))if(t.toLowerCase().startsWith("es"))return"es";return"en"})())},[]),(0,T.useEffect)(()=>{let e=localStorage.getItem("access");if(!e)return void ep("");let t=new AbortController;return(async()=>{try{let a=await fetch(`${nt}/api/account/usage/`,{headers:{Accept:"application/json",Authorization:`Bearer ${e}`},signal:t.signal});if(!a.ok)return;let n=await a.json().catch(()=>({}));ep((n?.plan?.plan||"").toLowerCase())}catch{}})(),()=>t.abort()},[]);let eC=(0,T.useCallback)(async()=>{let[e,t]=await Promise.allSettled([fetch(`${nt}/api/stats/`,{cache:"no-store"}).then(e=>e.json()),fetch(`${nt}/api/ultimos/`,{cache:"no-store"}).then(e=>e.json())]);if("fulfilled"===e.status&&e.value&&"object"==typeof e.value&&g(e.value),"fulfilled"===t.status){let e=t.value;v(t=>{let a=Array.isArray(e)?e:[],n=a[0]?`${a[0].domain}-${a[0].fecha}`:null,s=t[0]?`${t[0].domain}-${t[0].fecha}`:null;return t.length>0&&n&&n!==s&&(y(n),k(!0)),a})}},[]);(0,T.useEffect)(()=>{eC()},[eC]),(e=(0,T.useRef)(eC)).current=eC,(0,T.useEffect)(()=>{let t=null,a=()=>{null===t&&(t=setInterval(()=>e.current(),2e4))},n=()=>{null!==t&&(clearInterval(t),t=null)},s=()=>document.hidden?n():a();return a(),document.addEventListener("visibilitychange",s),()=>{n(),document.removeEventListener("visibilitychange",s)}},[2e4]),(0,T.useEffect)(()=>{b.slice(0,j).filter(e=>{let t=["FRAUDULENTO","FRAUDULENT","FAKE","CUIDADO"].includes((e.verificada||"").toUpperCase());return!!(e.public_id&&!t)}).map(e=>`/analisis/${e.public_id}`).forEach(e=>{try{u.prefetch(e)}catch{}})},[b,j,u]),(0,T.useEffect)(()=>{q(localStorage.getItem("user"))},[]),(0,T.useEffect)(()=>{if(!N)return;let e=window.setTimeout(()=>k(!1),2200);return()=>window.clearTimeout(e)},[N]),(0,T.useEffect)(()=>{let e=new URLSearchParams(window.location.search),t=e.get("q");if(!t)return;let a=t.trim();if(h(a),"phone"===t8(a)){ej("phone"),eT(t6(a));return}let n=t9(a);if(!n.ok)return;let s="1"===e.get("force");h(n.normalized),eE.checkSite(n.normalized,s?{force:!0}:void 0)},[]),(0,T.useEffect)(()=>{if("done"===eE.phase&&eE.result?.domain){let e=`sc_${eE.result.domain}`;localStorage.getItem(e)||H(!0)}},[eE.phase,eE.result?.domain]),(0,T.useEffect)(()=>{if("done"!==eE.phase||U)return;let e=parseInt(localStorage.getItem("anon_analyses")||"0",10)+1;if(localStorage.setItem("anon_analyses",String(e)),e>=2&&!localStorage.getItem("register_nudge_dismissed")){let e=setTimeout(()=>C(!0),1500);return()=>clearTimeout(e)}},[eE.phase,eE.result?.domain]);let eT=async e=>{eb(!0),ew(null),ex(null),eE.reset();try{let t=await fetch(`${nt}/api/phone/check/?phone=${encodeURIComponent(e)}`);
13if(!t.ok){let e=await t.json().catch(()=>({}));throw Error(e.error||("es"===p?"Error al consultar el número":"Failed to look up phone number"))}ex(await t.json())}catch(e){ew(e instanceof Error?e.message:String(e))}finally{eb(!1)}},eI=(0,T.useRef)(!1);(0,T.useEffect)(()=>{if(eI.current)return;let e=new URLSearchParams(window.location.search),t=(e.get("d")||"").trim();if(!t)return;eI.current=!0,h(t);let a="1"===e.get("credits_paid");(a||"1"===e.get("use_credit"))&&F(!0),(a?(!tJ&&(tJ=tZ()),tJ):Promise.resolve(null)).catch(()=>null).then(e=>{e?.requiresLogin?z(e.maskedEmail||""):eE.checkSite(t)}),window.history.replaceState({},"",window.location.pathname)},[]);let eA=()=>{var e,t;let a,n,s,r=m.trim();if(!r)return;if("phone"===ey){let e=t6(r);return e?($(null),h(e),eT(e),void 0):void("domain"===t8(r)?$("es"===p?'Eso parece una web. Cambia a la pestaña "Web" para analizarla.':'That looks like a website. Switch to the "Website" tab to analyze it.'):$("es"===p?"Introduce un número válido, por ejemplo 686 997 230 o 0044 20 7946 0958":"Enter a valid phone number, for example 686 997 230 or 0044 20 7946 0958"))}if("phone"===t8(r))return void $("es"===p?'Eso parece un número de teléfono. Cambia a la pestaña "Número de teléfono" para verificarlo.':'That looks like a phone number. Switch to the "Phone number" tab to check it.');let i=t9(r);i.ok?($(null),ex(null),ew(null),h(i.normalized),ek.current=!0,eE.checkSite(i.normalized)):$((e=r,t=p,n=(a=(a=(a=(a=(a=(a=(e||"").trim().toLowerCase()).replace(/^https?:\/\//,"")).split(/[/?#]/)[0]||"").replace(/^www\./,"")).replace(/[^a-z0-9.-]/g,"")).replace(/^\.+|\.+$/g,""))?a.includes(".")?a:`${a}.com`:"example.com",s=(e||"").trim().slice(0,80),"en"===t?`That doesn't look like a valid web address. Try something like "${n}". You entered: "${s||e}".`:`Eso no parece una direcci\xf3n web v\xe1lida. Prueba algo como "${n}". Has escrito: "${s||e}".`))},eL=()=>{Y(!0),"u">typeof document&&requestAnimationFrame(()=>{document.getElementById("manual-review")?.scrollIntoView({behavior:"smooth",block:"center"})})},eR=()=>{h(""),$(null),V(null),H(!1),Y(!1),Q(""),ee(""),es(!1),ei(null),eo(!1),ex(null),ew(null),ej("web"),eE.reset()},e$=e=>{V(e),H(!1);let t=eE.result;if(!t)return;let a=`sc_${t.domain}`;localStorage.setItem(a,e),fetch(`${nt}/api/feedback/source-channel/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({channel:e,domain:t.domain||"",veredict:t.analisis?.veredict||t.verificada||"",analysis_id:t.analysis_public_id||null})}).catch(()=>{})};(0,T.useEffect)(()=>{eE.result?.analisis?.credit_spent&&M(!0)},[eE.result?.analisis?.credit_spent]);let eP="loading"===eE.phase||"preliminary"===eE.phase,eF="phone"===ey&&(eg||!!ev||!!ef),eO="error"===eE.phase&&(eE.result?.error_code==="daily_limit"||/daily limit|lÃmite diario/i.test(eE.error||"")),eM=["OK","LEGIT","LEGITIMO","LEGITIMATE","SAFE","SEGURO","VERIFICADO"].includes((eE.result?.analisis?.veredict||eE.result?.verificada||"").toUpperCase()),eD=!!(!eE.result?.manual_verdict&&eE.result?.analysis_public_id&&!eM);(0,T.useEffect)(()=>{if(!eP||!ek.current)return;let e=window.setTimeout(()=>{e_.current?.scrollIntoView({behavior:"smooth",block:"start"}),ek.current=!1},60);return()=>window.clearTimeout(e)},[eP]),(0,T.useEffect)(()=>{if(!eF)return;let e=window.setTimeout(()=>{eN.current?.scrollIntoView({behavior:"smooth",block:"start"}),window.scrollTo({top:0,behavior:"smooth"})},40);return()=>window.clearTimeout(e)},[eF,eg,ef,ev]);let ez="idle"===eE.phase&&!eF;return(0,T.useEffect)(()=>{let e=document.documentElement;return e.classList.toggle("landing-dark",ez),()=>e.classList.remove("landing-dark")},[ez]),(0,E.jsxs)("main",{className:`relative min-h-screen flex flex-col items-center justify-start ${ez?"landing-bg text-[#eef2f0]":"legacy-dark-bg overflow-hidden px-3 py-8 text-white sm:px-4 sm:py-10"}`,children:[(0,E.jsxs)("div",{className:`pointer-events-none absolute inset-0 opacity-60 ${ez?"hidden":""}`,children:[(0,E.jsx)("div",{className:"absolute -left-28 top-10 h-80 w-80 bg-cyan-400/20 blur-[120px]"}),(0,E.jsx)("div",{className:"absolute right-[-120px] top-1/4 h-80 w-80 bg-blue-500/18 blur-[130px]"}),(0,E.jsx)("div",{className:"absolute left-1/3 bottom-0 h-72 w-72 bg-emerald-300/15 blur-[120px]"})]}),(0,E.jsx)(tV,{lang:p,t:eS,theme:"dark",setShowProModal:L,onLogoClick:eR}),"idle"===eE.phase&&!eF&&(0,E.jsx)(aT,{value:m,onChange:e=>{h(e),$(null)},onSubmit:eA,disabled:eP||eg,lang:p,stats:x,inputMode:ey,onInputModeChange:e=>{ej(e),ex(null),ew(null),$(null),eE.reset()},error:R}),eF&&(0,E.jsx)("section",{ref:eN,className:"relative z-10 w-full max-w-6xl mx-auto pt-4 sm:pt-6",children:(0,E.jsxs)("div",{className:"overflow-hidden rounded-[34px] border border-white/10 bg-[linear-gradient(135deg,rgba(8,47,73,0.94),rgba(15,23,42,0.97)_52%,rgba(22,78,99,0.92))] p-5 shadow-[0_28px_90px_rgba(2,6,23,0.34)] sm:p-7 lg:p-8",children:[(0,E.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between",children:[(0,E.jsxs)("div",{className:"max-w-3xl",children:[(0,E.jsx)("div",{className:"inline-flex items-center rounded-full border border-cyan-300/30 bg-cyan-400/10 px-4 py-1 text-[11px] font-bold uppercase tracking-[0.22em] text-cyan-100",children:"es"===p?"Resultado de número de teléfono":"Phone number result"}),(0,E.jsx)("h1",{className:"mt-4 text-3xl font-black tracking-[-0.05em] text-white sm:text-5xl",children:"es"===p?"Descubre si ese número es una estafa antes de devolver la llamada.":"Find out if that number is a scam before you call back."}),(0,E.jsx)("p",{className:"mt-3 max-w-2xl text-sm leading-6 text-slate-300 sm:text-base sm:leading-7",children:"es"===p?"Consulta números sospechosos, repórtalos y cruza la señal
13con nuestra base de datos de webs fraudulentas para una inteligencia conjunta más útil.":"Check suspicious numbers, report them, and connect the signal with our fraudulent-website database for stronger joint intelligence."})]}),(0,E.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,E.jsx)("button",{type:"button",onClick:()=>{ex(null),ew(null),h("")},className:"rounded-2xl border border-white/12 bg-white/8 px-5 py-3 text-sm font-bold text-white transition hover:bg-white/12",children:"es"===p?"Consultar otro número":"Check another number"}),(0,E.jsx)("button",{type:"button",onClick:eR,className:"rounded-2xl border border-cyan-300/20 bg-cyan-400/10 px-5 py-3 text-sm font-bold text-cyan-100 transition hover:bg-cyan-400/16",children:"es"===p?"Volver al inicio":"Back to home"})]})]}),x&&(x.total_phones??0)>0&&(0,E.jsxs)("div",{className:"mt-5 flex flex-wrap items-center gap-x-5 gap-y-2 rounded-2xl border border-white/10 bg-white/6 px-5 py-3",children:[(0,E.jsxs)("div",{className:"flex items-center gap-2",children:[(0,E.jsx)("span",{className:"text-2xl font-black tracking-[-0.04em] text-white",children:(x.total_phones??0).toLocaleString()}),(0,E.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-cyan-100/70",children:"es"===p?"teléfonos rastreados":"phones tracked"})]}),(0,E.jsx)("span",{className:"hidden sm:inline text-white/20",children:"|"}),(0,E.jsxs)("div",{className:"flex items-center gap-2",children:[(0,E.jsx)("span",{className:"text-2xl font-black tracking-[-0.04em] text-white",children:(x.phones_linked_to_sites??0).toLocaleString()}),(0,E.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-cyan-100/70",children:"es"===p?"vinculados a webs":"linked to websites"})]}),(0,E.jsx)("span",{className:"hidden sm:inline text-white/20",children:"|"}),(0,E.jsxs)("div",{className:"flex items-center gap-2",children:[(0,E.jsx)("span",{className:"text-2xl font-black tracking-[-0.04em] text-amber-400",children:(x.phones_cross_domain??0).toLocaleString()}),(0,E.jsx)("span",{className:"text-xs font-semibold uppercase tracking-[0.14em] text-cyan-100/70",children:"es"===p?"en múltiples webs":"on multiple sites"})]})]}),(0,E.jsxs)("div",{className:"mt-6 grid gap-4 lg:grid-cols-[minmax(0,1.3fr)_320px]",children:[(0,E.jsxs)("form",{onSubmit:e=>{e.preventDefault(),eA()},className:"rounded-[28px] border border-white/10 bg-white/8 p-3 backdrop-blur sm:flex sm:items-stretch sm:gap-3 sm:p-4",children:[(0,E.jsx)("input",{type:"tel",inputMode:"tel",value:m,onChange:e=>{h(e.target.value),$(null),ew(null)},placeholder:"es"===p?"Escribe el número tal y como lo viste: 686 997 230, 0044 20 7946 0958...":"Enter the number as you saw it: 686 997 230, 0044 20 7946 0958...",className:"h-[74px] w-full flex-1 rounded-[22px] border border-white/12 bg-white/[0.04] px-5 text-base text-white outline-none placeholder:text-slate-400 focus:border-[#93b4ff]/60 focus:ring-4 focus:ring-slate-200/60 sm:text-lg"}),(0,E.jsx)("button",{type:"submit",disabled:eg,className:"mt-3 h-[74px] w-full rounded-[22px] bg-white/[0.04] px-7 text-base font-extrabold text-white transition hover:bg-white/[0.08] disabled:cursor-not-allowed disabled:opacity-60 sm:mt-0 sm:w-auto sm:min-w-[220px]",children:eg?"es"===p?"Buscando...":"Looking up...":"es"===p?"Verificar número":"Check number"})]}),(0,E.jsxs)("div",{className:"rounded-[28px] border border-white/10 bg-slate-950/30 p-5",children:[(0,E.jsx)("div",{className:"text-xs font-bold uppercase tracking-[0.16em] text-cyan-100/70",children:"es"===p?"Cómo escribirlo fácil":"Easy format"}),(0,E.jsxs)("div",{className:"mt-3 space-y-2 text-sm text-slate-200",children:[(0,E.jsx)("p",{children:"es"===p?"1. Pégalo tal cual aparece en tu móvil o WhatsApp":"1. Paste it exactly as you saw it on your phone or WhatsApp"}),(0,E.jsx)("p",{children:"es"===p?"2. Si empieza por 00, lo entendemos automáticamente":"2. If it starts with 00, we understand it automatically"}),(0,E.jsx)("p",{children:"es"===p?"3. Si es de otro paÃs, incluye su prefijo y listo":"3. If it is from another country, include its calling code and that is enough"})]}),(0,E.jsx)("div",{className:"mt-4 flex flex-wrap gap-2",children:["686 997 230","0034 686 997 230","0044 20 7946 0958"].map(e=>(0,E.jsx)("button",{type:"button",onClick:()=>{h(e),$(null),ew(null)},className:"rounded-full border border-white/12 bg-white/8 px-3 py-1.5 text-xs font-semibold text-white/88 transition hover:bg-white/14",children:e},e))}),(0,E.jsx)("p",{className:"mt-4 text-xs leading-5 text-slate-300/82",children:"es"===p?"También puedes reportar el número si ya te llamó. Cada reporte se cruza con señales previas de números y dominios para detectar campañas de fraude con más contexto.":"You can also report the number if it already called you. Each report is connected to prior number and domain signals to detect fraud campaigns with more context."})]})]}),(ev||R&&"phone"===ey)&&(0,E.jsx)("div",{className:"mt-4",children:(0,E.jsxs)("div",{className:"flex items-center gap-2 rounded-2xl border border-red-300/60 bg-red-500/10 px-5 py-3.5 text-sm font-semibold text-red-300 shadow-sm",children:[(0,E.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"flex-shrink-0",children:[(0,E.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,E.jsx)("line",{x1:"15",y1:"9",x2:"9",y2:"15"}),(0,E.jsx)("line",{x1:"9",y1:"9",x2:"15",y2:"15"})]}),(0,E.jsx)("span",{children:ev||R})]})})]})}),eg&&(0,E.jsx)("div",{className:"w-full max-w-5xl mx-auto mt-6 animate-fade-in",children:(0,E.jsx)("div",{className:"overflow-hidden rounded-[32px] border border-white/10 bg-[#0b0e14] p-8 text-white shadow-[0_28px_80px_rgba(2,6,23,0.32)]",children:(0,E.jsxs)("div",{className:"max-w-2xl",children:[(0,E.jsx)("div",{className:"inline-flex items-center rounded-full border border-cyan-300/30 bg-cyan-400/10 px-4 py-1 text-[11px] font-bold uppercase tracking-[0.22em] text-cyan-100",children:"es"===p?"Consulta de número en curso":"Phone lookup in progress"}),(0,E.jsx)("div",{className:"mt-5 text-5xl",children:"ð"}),(0,E.jsx)("p",{className:"mt-5 text-2xl font-black tracking-[-0.04em] text-white",children:"es"===p?"Buscando reportes del número...":"Looking up phone reports..."}),(0,E.jsx)("p",{className:"mt-3 text-sm leading-6 text-slate-300",children:"es"===p?"Estamos cargando el contexto comunitario para que el resultado aparezca en una vista clara y legible.":"We are loading the community context so the result can appear in a clear, readable view."})]})})}),ef&&!eg&&(0,E.jsx)(ne,{data:ef,lang:p,onBack:()=>{ex(null),ew(null),h("")},onNewReport:()=>{let e=ef?.phone_e164;"string"==typeof e&&eT(e)}}),null!==D&&(0,E.jsxs)("div",{className:"animate-fade-in relative z-10 mx-auto mt-6 w-full max-w-xl rounded-2xl border border-blue-400/30 bg-blue-500/10 px-5 py-4",children:[(0,E.jsx)("p",{className:"text-[14px] font-extrabold text-blue-200",children:"es"===p?`Tus cr\xe9ditos est\xe1n en tu cuenta${D?` (${D})`:""}
13.`:`Your credits are in your account${D?` (${D})`:""}.`}),(0,E.jsx)("p",{className:"mt-1.5 text-[12.5px] leading-relaxed text-blue-200",children:"es"===p?"Ese correo ya estaba registrado, asà que entra para usarlos y lanzamos el análisis con IA al volver. Te hemos enviado un enlace por si no recuerdas la contraseña.":"That address was already registered, so sign in to use them and we will run the AI analysis as soon as you are back. We have emailed you a link in case you do not remember the password."}),(0,E.jsx)(tU.default,{href:`/login?next=${encodeURIComponent(`/?d=${(m||"").trim().toLowerCase()}`)}`,className:"mt-3 inline-flex items-center justify-center rounded-xl bg-blue-600 px-5 py-2.5 text-[13px] font-extrabold text-white transition hover:bg-blue-500",children:"es"===p?"Entrar y ver el veredicto":"Sign in and see the verdict"})]}),eP&&P&&(0,E.jsx)("div",{className:"relative z-10 mx-auto w-full max-w-xl px-3 pt-6",children:(0,E.jsx)(t0,{lang:p,domain:eE.result?.domain||m})}),eP&&(0,E.jsx)("div",{ref:e_,className:"relative z-10 flex min-h-[62vh] w-full flex-1 items-center justify-center px-3 py-10",children:(0,E.jsx)(aR,{seconds:eE.elapsedSeconds,lang:p,domain:eE.result?.domain||m,stage:eE.result?.progress_stage,findings:eE.result?.progress_findings})}),"error"===eE.phase&&!eO&&(0,E.jsx)("div",{className:"w-full max-w-xl mx-auto mt-6 sm:mt-8 animate-fade-in",children:(0,E.jsxs)("div",{className:"trust-card flex flex-col items-center rounded-[28px] p-8",children:[(0,E.jsx)("div",{className:"text-4xl mb-3",children:"â ï¸"}),(0,E.jsx)("h2",{className:"mb-2 text-xl font-bold text-red-300",children:"en"===p?"Analysis failed":"El análisis falló"}),(0,E.jsx)("p",{className:"mb-4 text-center text-sm text-red-300",children:eE.error}),(0,E.jsx)("button",{type:"button",onClick:eR,className:"rounded-full bg-blue-600 hover:bg-blue-500 px-6 py-2 font-bold text-white transition",children:"en"===p?"Unmask another site":"Desenmascarar otra web"})]})}),eO&&(0,E.jsx)("div",{className:"w-full max-w-xl mx-auto mt-6 sm:mt-8 animate-fade-in",children:(0,E.jsxs)("div",{className:"trust-card rounded-[28px] p-8 text-center",children:[(0,E.jsx)("div",{className:"text-4xl mb-4",children:"ð"}),(0,E.jsx)("h2",{className:"mb-2 text-xl font-bold text-white",children:"en"===p?"This connection has run a lot of checks today":"Esta conexión ha hecho muchas verificaciones hoy"}),(0,E.jsx)("p",{className:"mb-6 text-sm text-slate-300 leading-relaxed max-w-sm mx-auto",children:"en"===p?"Checking sites is free and we do not ask you to sign up for it. This ceiling only exists to stop automated abuse â analysis credits or a monthly plan lift it right away.":"Verificar webs es gratis y no te pedimos registrarte para ello. Este techo solo existe para frenar el abuso automatizado â los créditos de análisis o un plan mensual lo levantan al instante."}),(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[(0,E.jsx)(tU.default,{href:"/creditos",className:"inline-flex items-center gap-2 rounded-full bg-blue-600 hover:bg-blue-500 px-7 py-3 font-bold text-white transition",children:"en"===p?"Get analysis credits":"Conseguir créditos"}),(0,E.jsx)(tU.default,{href:"/pro",className:"inline-flex items-center gap-2 rounded-full border border-white/15 px-7 py-3 font-semibold text-slate-200 transition hover:border-slate-400 hover:text-white",children:"en"===p?"See monthly plans":"Ver planes mensuales"})]}),(0,E.jsx)("p",{className:"mt-4 text-xs text-slate-500",children:"en"===p?"The counter resets every 24 hours":"El contador se reinicia cada 24 horas"})]})}),"done"===eE.phase&&eE.result&&B&&(0,E.jsx)("div",{className:"w-full max-w-xl mx-auto mt-6 sm:mt-8 animate-fade-in",children:(0,E.jsx)(a1,{lang:p,onSelect:e$,gateMode:!0,autoAdvanceSeconds:10,onSkip:()=>{H(!1);let e=eE.result?.domain;e&&localStorage.setItem(`sc_${e}`,"skipped")},domain:eE.result.domain||void 0})}),"done"===eE.phase&&eE.result&&!B&&(0,E.jsxs)("div",{className:"w-full max-w-xl mx-auto mt-6 sm:mt-8 animate-fade-in flex flex-col items-center gap-2",children:[(0,E.jsxs)("button",{type:"button",onClick:eR,className:"self-start mb-2 flex items-center gap-1 text-sm text-slate-500 transition hover:text-white",children:[(0,E.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,E.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 19l-7-7 7-7"})}),"en"===p?"Unmask another site":"Desenmascarar otra web"]}),(0,E.jsx)("div",{className:"mb-1 break-all text-center font-mono text-xl text-blue-100 animate-fade-in sm:text-2xl",children:eE.result.domain}),(0,E.jsx)("p",{className:"text-center text-sm font-semibold uppercase tracking-[0.18em] text-cyan-100/80",children:"en"===p?"Website unmasked":"Web desenmascarada"}),eE.result?.analizado_en&&(t=(()=>{let e=new Date(eE.result.analizado_en);if(Number.isNaN(e.getTime()))return eE.result.analizado_en;let t=Date.now()-e.getTime(),a=Math.floor(t/6e4),n=Math.floor(t/36e5),s=Math.floor(t/864e5);return a<2?"en"===p?"just now":"justo ahora":a<60?"en"===p?`${a} min ago`:`hace ${a} min`:n<24?"en"===p?`${n}h ago`:`hace ${n}h`:s<7?"en"===p?`${s}d ago`:`hace ${s}d`:e.toLocaleDateString("en"===p?"en-US":"es-ES",{day:"numeric",month:"short",year:"numeric"})})(),a=eE.result?.cached,n=eE.result?.reanalyze_available!==!1,s=eE.result?.next_allowed_at,r=(()=>
13{if(!s)return"";let e=new Date(s).getTime()-Date.now();if(e<=0)return"";let t=Math.floor(e/36e5),a=Math.floor(e%36e5/6e4);return t>0?`${t}h ${a}m`:`${a}m`})(),i=eE.result?.domain||"",(0,E.jsxs)("div",{className:"mt-0.5 mb-1 flex items-center justify-center gap-2 text-xs",children:[(0,E.jsxs)("span",{className:"text-slate-400",children:["en"===p?"Analyzed":"Analizado"," ",t]}),a&&eE.hasFinalResult&&("citizen"===eh||"startup"===eh||"enterprise"===eh?n?(0,E.jsxs)("button",{type:"button",onClick:()=>{i&&eE.checkSite(i,{force:!0})},className:"inline-flex items-center gap-1.5 rounded-full border border-cyan-300/25 bg-[linear-gradient(135deg,rgba(59,130,246,0.18),rgba(59,130,246,0.18))] px-3 py-1.5 text-[11px] font-semibold text-cyan-100 shadow-[0_10px_30px_rgba(6,182,212,0.18)] transition hover:border-cyan-200/45 hover:bg-[linear-gradient(135deg,rgba(59,130,246,0.28),rgba(59,130,246,0.26))] hover:text-white",children:[(0,E.jsx)("svg",{className:"h-3 w-3",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,E.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"})}),(0,E.jsx)("span",{children:"en"===p?"Re-analyze":"Reanalizar"})]}):(0,E.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full border border-white/10 bg-white/5 px-3 py-1.5 text-[11px] font-medium text-slate-300",children:[(0,E.jsx)("svg",{className:"h-3 w-3 text-slate-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,E.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"})}),(0,E.jsx)("span",{children:"en"===p?"Available in":"Disponible en"}),(0,E.jsx)("span",{className:"font-semibold text-white",children:r})]}):(0,E.jsxs)("div",{className:"inline-flex items-center gap-2",children:[(0,E.jsxs)("button",{type:"button",disabled:!0,"aria-disabled":"true",title:"en"===p?"Available on Citizen and above":"Disponible desde Citizen",className:"inline-flex cursor-not-allowed items-center gap-1.5 rounded-full border border-white/12 bg-white/8 px-3 py-1.5 text-[11px] font-semibold text-slate-200 shadow-[inset_0_1px_0_rgba(255,255,255,0.08)]",children:[(0,E.jsx)("svg",{className:"h-3 w-3 text-slate-300",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.25,children:(0,E.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"})}),(0,E.jsx)("span",{children:"en"===p?"Re-analyze":"Reanalizar"})]}),(0,E.jsx)(tU.default,{href:"/pro",className:"inline-flex items-center gap-1 rounded-full border border-cyan-300/25 bg-[linear-gradient(135deg,rgba(59,130,246,0.14),rgba(59,130,246,0.14))] px-2.5 py-1 text-[10px] font-semibold tracking-[0.02em] text-cyan-100 transition hover:border-cyan-200/45 hover:bg-[linear-gradient(135deg,rgba(59,130,246,0.22),rgba(59,130,246,0.2))] hover:text-white",children:(0,E.jsx)("span",{children:"Citizen+"})})]}))]})),!P&&eE.result?.analisis?.ai_credit_funded&&(0,E.jsx)("div",{className:"mb-3",children:(0,E.jsx)(t1,{lang:p})}),P&&null===D&&(0,E.jsxs)("div",{className:"w-full min-w-0 animate-fade-in mb-3 flex items-center gap-2.5 rounded-2xl border border-blue-400/30 bg-blue-500/10 px-4 py-3",children:[(0,E.jsx)("span",{"aria-hidden":!0,className:"flex h-5 w-5 shrink-0 items-center justify-center rounded-full bg-blue-500/15 text-blue-200",children:(0,E.jsx)("svg",{viewBox:"0 0 24 24",className:"h-3 w-3",fill:"none",stroke:"currentColor",strokeWidth:"3.5",children:(0,E.jsx)("path",{d:"M20 6 9 17l-5-5"})})}),(0,E.jsx)("span",{className:"text-[13px] font-semibold text-blue-200",children:O?"es"===p?"Analizado con IA. Tu crédito se ha usado en este veredicto.":"Analysed with AI. Your credit went into this verdict.":eE.result?.analisis?.ai_credit_funded?"es"===p?"Este veredicto ya estaba analizado con IA, asà que no se te ha cobrado nada.":"This verdict had already been analysed with AI, so you were not charged.":"es"===p?"Créditos activos. Este veredicto se resolvió sin IA, asà que no se ha descontado ningún crédito.":"Credits active. This verdict was settled without AI, so no credit was charged."})]}),(0,E.jsx)("div",{className:"w-full min-w-0 animate-fade-in-d1",children:al(eE.effectiveVerdict)?(0,E.jsx)(aO,{verdict:eE.effectiveVerdict,lang:p,aiScore:eE.result?.analisis?.ai_score,underWatchReason:eE.result?.analisis?.under_watch_reason,renderSkipped:!!eE.result?.analisis?.free_tier_render_skipped,domain:eE.result?.domain||m,onHumanReview:eD?eL:void 0}):(0,E.jsx)(aK,{result:eE.result,verdict:eE.effectiveVerdict,lang:p,aiScore:eE.result?.analisis?.ai_score,domain:eE.result?.domain||m})}),eE.result?.analysis_checks?.ai_used===!1&&(0,E.jsx)("div",{className:"w-full min-w-0 animate-fade-in-d2 mt-4",children:(0,E.jsx)(aV,{checks:eE.result.anal
13ysis_checks.checks||[],lang:p,domain:eE.result?.domain||m,elapsedSeconds:eE.elapsedSeconds,publicId:eE.result?.analysis_public_id,verdict:eE.effectiveVerdict,onHumanReview:eD?eL:void 0,paidOffer:eE.result?.analysis_checks?.paid_analysis_offer!==!1})}),al(eE.effectiveVerdict)&&eE.result?.analysis_public_id&&(0,E.jsx)("div",{className:"w-full min-w-0 animate-fade-in-d2",children:(0,E.jsxs)(tU.default,{href:`/analisis/${eE.result.analysis_public_id}?lang=${p}`,className:"inline-flex items-center gap-2 text-sm font-semibold text-indigo-300 transition hover:text-indigo-100",children:["en"===p?"See full report":"Ver informe completo",(0,E.jsx)("span",{"aria-hidden":"true",children:"â"})]})}),eE.screenshotUrl&&!eE.screenshotUrl.includes("removed:")&&(0,E.jsx)("div",{className:"mt-5 w-full max-w-lg animate-fade-in-d2",children:(0,E.jsx)(tq.default,{src:eE.screenshotUrl,alt:"en"===p?"Website screenshot":"Captura de la web",width:520,height:300,className:"mx-auto max-h-72 max-w-full rounded-[24px] border border-white/10 bg-white/[0.04] object-contain shadow-lg",loading:"lazy"})}),(0,E.jsx)("div",{className:"w-full animate-fade-in-d3",children:(0,E.jsx)(aJ,{result:eE.result,lang:p,effectiveVerdict:eE.effectiveVerdict,onHumanReview:eD?eL:void 0})}),eE.result?.usage&&eE.result.usage.limit<=10&&(o=Math.round((l=eE.result.usage).used/l.limit*100),d=l.remaining<=1,c=!l.is_registered,(0,E.jsx)("div",{className:"w-full animate-fade-in-d3",children:(0,E.jsxs)("div",{className:`rounded-2xl px-5 py-4 ${d?"bg-amber-500/10 border border-amber-400/30":"bg-white/[0.03] border border-white/10"}`,children:[(0,E.jsxs)("div",{className:"flex items-center justify-between gap-3 mb-2",children:[(0,E.jsx)("span",{className:`text-xs font-semibold ${d?"text-amber-200":"text-slate-300"}`,children:"en"===p?`${l.remaining} of ${l.limit} checks remaining today`:`${l.remaining} de ${l.limit} verificaciones restantes hoy`}),c&&(0,E.jsx)(tU.default,{href:"/register",className:"text-[11px] font-bold text-cyan-300 hover:text-cyan-700 transition whitespace-nowrap",children:"en"===p?"Register for 10/day â":"RegÃstrate para 10/dÃa â"}),!c&&d&&(0,E.jsx)(tU.default,{href:"/pro",className:"text-[11px] font-bold text-cyan-300 hover:text-cyan-700 transition whitespace-nowrap",children:"en"===p?"Upgrade for 100/day â":"Mejora a 100/dÃa â"})]}),(0,E.jsx)("div",{className:"h-1.5 w-full rounded-full bg-white/10 overflow-hidden",children:(0,E.jsx)("div",{className:`h-full rounded-full transition-all duration-700 ${d?"bg-gradient-to-r from-amber-400 to-red-400":"bg-blue-600 hover:bg-blue-500"}`,style:{width:`${o}%`}})})]})})),eD&&(0,E.jsx)("div",{id:"manual-review",className:"w-full animate-fade-in-d3",children:(0,E.jsx)("div",{className:"trust-card rounded-[24px] p-5",children:el?(0,E.jsxs)("div",{className:"flex items-center gap-3",children:[(0,E.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl bg-green-500/15 flex items-center justify-center text-xl",children:"â
"}),(0,E.jsxs)("div",{children:[(0,E.jsx)("p",{className:"text-sm font-semibold text-green-300",children:"en"===p?"Case escalated!":"¡Caso escalado!"}),(0,E.jsx)("p",{className:"text-xs text-gray-500 mt-0.5",children:"en"===p?"The case has entered Human Layer. We will review context, request evidence if needed, and attach a public human verdict to the report.":"El caso ha entrado en Capa Humana. Revisaremos contexto, pediremos evidencia si hace falta y añadiremos un veredicto humano público al informe."})]})]}):G?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("h3",{className:"mb-3 text-sm font-semibold uppercase tracking-wide text-slate-200",children:"en"===p?"Human Layer escalation":"Escalado a Capa Humana"}),(0,E.jsx)("p",{className:"mb-3 text-xs text-slate-500",children:"en"===p?`Professional human evaluation of ${eE.result.domain}. The public verdict can confirm, qualify, or correct the AI analysis.`:`Evaluaci\xf3n humana profesional de ${eE.result.domain}. El veredicto p\xfablico puede confirmar, matizar o corregir el an\xe1lisis IA.`}),(0,E.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,E.jsx)("div",{className:"grid gap-2 sm:grid-cols-2",children:[{id:"trust_decision",title:"en"===p?"Need to decide whether to trust":"Necesito decidir si confiar",body:"en"===p?"I am going to pay, sign up, invest, or send data and want a professional human evaluation of this website.":"Voy a pagar, registrarme, invertir o enviar datos y quiero una evaluación humana profesional de esta web."}
13,{id:"classification_dispute",title:"en"===p?"Dispute classification":"Disputar clasificación",body:"en"===p?"I am responsible for the site and want to submit evidence to correct or confirm the verdict.":"Soy responsable del sitio y quiero aportar evidencia para corregir o confirmar el veredicto."}].map(e=>(0,E.jsxs)("button",{type:"button",onClick:()=>ea(e.id),className:`rounded-2xl border px-3 py-3 text-left transition ${et===e.id?"border-slate-950 bg-white/[0.04] shadow-sm":"border-white/10 bg-white/[0.05] hover:border-white/25"}`,children:[(0,E.jsx)("span",{className:"block text-xs font-bold text-white",children:e.title}),(0,E.jsx)("span",{className:"mt-1 block text-[11px] leading-4 text-slate-300",children:e.body})]},e.id))}),(0,E.jsx)("p",{className:"text-[11px] leading-5 text-slate-500",children:"en"===p?"The human verdict will be public and linked to this report.":"El veredicto humano será público y quedará vinculado a este informe."}),(0,E.jsx)("input",{type:"email",placeholder:"en"===p?"Your email to receive updates":"Tu email para recibir actualizaciones",value:J,onChange:e=>Q(e.target.value),className:"w-full rounded-xl border border-white/10 bg-white/[0.04] px-3 py-2.5 text-sm text-slate-100 placeholder:text-slate-400 focus:border-[#93b4ff]/60 focus:outline-none focus:ring-2 focus:ring-[#93b4ff]/20"}),(0,E.jsxs)("div",{className:"relative",children:[(0,E.jsx)("textarea",{placeholder:"en"===p?"Optional: explain why the decision matters or share evidence links.":"Opcional: explica por qué importa la decisión o comparte enlaces a evidencias.",value:Z,onChange:e=>ee(e.target.value.slice(0,1e3)),rows:3,className:"w-full resize-none rounded-xl border border-white/10 bg-white/[0.04] px-3 py-2.5 text-sm text-slate-100 placeholder:text-slate-400 focus:border-[#93b4ff]/60 focus:outline-none focus:ring-2 focus:ring-[#93b4ff]/20"}),(0,E.jsxs)("span",{className:"absolute bottom-2.5 right-3 text-xs text-slate-300",children:[Z.length,"/1000"]})]}),er&&(0,E.jsx)("p",{className:"text-red-500 text-xs",children:er}),"classification_dispute"===et&&(eu?(0,E.jsxs)("div",{className:"flex items-start gap-2 rounded-2xl border border-emerald-400/30 bg-emerald-500/10 px-4 py-3",children:[(0,E.jsx)("span",{className:"text-lg",children:"â"}),(0,E.jsx)("p",{className:"text-xs text-emerald-200",children:"en"===p?"Review request received. We have emailed you a dated confirmation and will reply free of charge.":"Solicitud de revisión recibida. Te hemos enviado una confirmación con fecha y responderemos de forma gratuita."})]}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)("button",{disabled:ed,onClick:async()=>{let e=J.trim();if(!e||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return void ei("en"===p?"Enter a valid email.":"Introduce un email válido.");if(!Z.trim())return void ei("en"===p?"Please describe why the classification is wrong.":"Por favor describe por qué la clasificación es errónea.");ec(!0),ei(null);try{let t=await fetch(`${nt}/api/analysis/dispute/`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({public_id:eE.result.analysis_public_id,email:e,message:Z,lang:p})}),a=await t.json();t.ok?em(!0):ei(a.error||("en"===p?"Error. Try again.":"Error. Inténtalo de nuevo."))}catch{ei("en"===p?"Connection error. Try again.":"Error de conexión. Inténtalo de nuevo.")}finally{ec(!1)}},className:"w-full rounded-xl border-2 border-slate-950 bg-white/[0.04] py-2.5 text-sm font-bold text-white transition hover:bg-white/[0.05] disabled:opacity-50",children:ed?"en"===p?"Sendingâ¦":"Enviandoâ¦":"en"===p?"Submit free review request":"Enviar solicitud de revisión gratuita"}),(0,E.jsx)("p",{className:"text-[11px] leading-4 text-slate-500",children:"en"===p?"Corrections of inaccurate classifications are always free. The paid Human Layer below is an expedited priority review.":"La corrección de clasificaciones inexactas es siempre gratuita. La Capa Humana de pago es una revisión prioritaria y acelerada."})]})),(0,E.jsxs)("div",{className:"flex gap-2 pt-1",children:[(0,E.jsx)("button",{onClick:()=>{Y(!1),ei(null)},className:"flex-1 rounded-xl border border-white/10 bg-white/[0.04] py-2.5 text-sm font-medium text-slate-500 transition hover:text-slate-700",children:"en"===p?"Cancel":"Cancelar"}),(0,E.jsx)("button",{disabled:en,onClick:async()=>{let e=J.trim();if(!e||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e))return void ei("en"===p?"Enter a valid email.":"Introduce un email válido.");es(!0),ei(null);try{let t=await fetch(`${nt}/api/billing/review-checkout/`,{method:"POST",headers:{"Content-Type":"application/json"}
13,body:JSON.stringify({public_id:eE.result.analysis_public_id,email:e,message:`${"en"===p?"Escalation reason":"Motivo de escalado"}: ${"trust_decision"===et?"en"===p?"Need to decide whether to trust":"Necesito decidir si confiar":"en"===p?"Dispute classification":"Disputar clasificación"} 14 15${Z}`})}),a=await t.json();t.ok?"string"==typeof a.checkout_url&&a.checkout_url.startsWith("https://checkout.stripe.com/")?window.location.href=a.checkout_url:ei("en"===p?"Unexpected response. Try again.":"Respuesta inesperada. Inténtalo de nuevo."):ei(a.error||("en"===p?"Error. Try again.":"Error. Inténtalo de nuevo."))}catch{ei("en"===p?"Connection error. Try again.":"Error de conexión. Inténtalo de nuevo.")}finally{es(!1)}},className:"flex-1 rounded-xl bg-blue-600 hover:bg-blue-500 py-2.5 text-sm font-bold text-white shadow-sm transition-all disabled:opacity-50",children:en?"en"===p?"Escalatingâ¦":"Escalandoâ¦":"classification_dispute"===et?"en"===p?"Priority review (paid)":"Revisión prioritaria (de pago)":"en"===p?"Escalate to Human Layer":"Escalar a Capa Humana"})]})]})]}):(0,E.jsxs)(E.Fragment,{children:[(0,E.jsxs)("div",{className:"flex items-start gap-3",children:[(0,E.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-xl bg-amber-500/10 border border-amber-400/15 flex items-center justify-center text-xl",children:"ð§âð»"}),(0,E.jsxs)("div",{className:"flex-1",children:[(0,E.jsx)("p",{className:"text-sm font-semibold leading-snug text-white",children:"en"===p?"When AI is not enough, escalate to Human Layer.":"Cuando la IA no basta, activa la Capa Humana."}),(0,E.jsx)("p",{className:"mt-0.5 text-sm leading-relaxed text-slate-200",children:"en"===p?`For doubtful cases or important decisions, Desenmascara.me can escalate ${eE.result.domain} to a professional human evaluation with a public verdict attached to the report.`:`Para casos dudosos o decisiones importantes, Desenmascara.me puede escalar ${eE.result.domain} a una evaluaci\xf3n humana profesional con veredicto p\xfablico vinculado al informe.`}),(0,E.jsx)("p",{className:"mt-1 text-xs text-slate-500",children:"en"===p?"For doubtful cases or important decisions":"Para casos dudosos o decisiones importantes"})]})]}),(0,E.jsxs)("button",{type:"button",onClick:()=>X(e=>!e),className:"mt-3 inline-flex items-center gap-2 text-sm font-semibold text-slate-200 transition hover:text-white",children:[(0,E.jsx)("span",{children:"en"===p?"See what Human Layer produces":"Ver qué produce Capa Humana"}),(0,E.jsx)("span",{className:`text-xs transition-transform ${K?"rotate-180":""}`,children:"â¼"})]}),K&&(0,E.jsxs)("div",{className:"mt-3 rounded-2xl border border-white/10 bg-white/[0.05] p-4 text-sm text-slate-200",children:[(0,E.jsxs)("div",{children:[(0,E.jsx)("p",{className:"font-semibold text-white",children:"en"===p?"Human Layer":"Capa Humana"}),(0,E.jsx)("p",{className:"mt-1 leading-relaxed",children:"en"===p?"This is the escalation path for cases where the AI verdict should not be the last word. It combines requester context, supporting evidence, external signals, and professional human evaluation.":"Es la vÃa de escalado para casos donde el veredicto IA no deberÃa ser la última palabra. Combina contexto del solicitante, evidencia de apoyo, señales externas y evaluación humana profesional."})]}),(0,E.jsxs)("div",{className:"mt-4",children:[(0,E.jsx)("p",{className:"font-semibold text-white",children:"en"===p?"What it produces":"Qué produce"}),(0,E.jsxs)("ul",{className:"mt-2 space-y-1.5 text-slate-200",children:[(0,E.jsx)("li",{children:"en"===p?"Professional human evaluation of the domain, website content, metadata and trust signals.":"Evaluación humana profesional del dominio, contenido web, metadata y señales de confianza."}),(0,E.jsx)("li",{children:"en"===p?"Review of impersonation indicators, inconsistencies, suspicious patterns and external context.":"Revisión de indicadores de suplantación, inconsistencias, patrones sospechosos y contexto externo."}),(0,E.jsx)("li",{children:"en"===p?"Requester evidence can be considered when the case is disputed.":"La evidencia del solicitante puede considerarse cuando el caso esté disputado."}),(0,E.jsx)("li",{children:"en"===p?"A public human verdict that can confirm, qualify, or correct the AI analysis.":"Un veredicto humano público que puede confirmar, matizar o corregir el análisis IA."})]})]}),(0,E.jsxs)("div",{className:"mt-4",children:[(0,E.jsx)("p",{className:"font-semibold text-white",children:"en"===p?"Important limits":"Limites importantes"}),(0,E.jsxs)("ul",{className:"mt-2 space-y-1.5 text-slate-200",children:[(0,E.jsx)("li",{children:"en"===p?"Payment does not guarantee that a site will be validated, marked safe, or found legitimate.":"El pago no garantiza que un sitio vaya a ser validado, marcado como seguro o considerado legÃtimo."}),(0,E.jsx)("li",{children:"en"===p?"It is not legal, compliance, or forensic advice.":"No constituye asesoramiento legal, de compliance ni forense."}
15),(0,E.jsx)("li",{children:"en"===p?"Payment covers review time and analysis effort, not a guaranteed outcome.":"El pago cubre el tiempo de revisión y el esfuerzo analÃtico, no un resultado garantizado."})]})]})]}),(0,E.jsx)("button",{onClick:()=>Y(!0),className:"mt-4 w-full rounded-xl bg-blue-600 hover:bg-blue-500 py-2.5 text-sm font-bold text-white shadow-sm transition-all active:scale-[0.99]",children:"en"===p?"Escalate to Human Layer":"Escalar a Capa Humana"})]})})}),!W&&(0,E.jsx)("div",{className:"w-full animate-fade-in-d5",children:(0,E.jsx)(a1,{lang:p,onSelect:e$})}),(0,E.jsx)("div",{className:"w-full animate-fade-in-d5",children:(0,E.jsx)(aQ,{domain:eE.result.domain||"",verdict:eE.effectiveVerdict,reportUrl:eE.reportUrl,lang:p,channel:W})}),(0,E.jsx)("div",{className:"animate-fade-in-d5",children:(0,E.jsx)(aZ,{onFeedback:eE.sendFeedback,lang:p})}),(0,E.jsx)("div",{className:"trust-card mt-4 w-full max-w-md rounded-[24px] px-4 py-3 text-sm text-white sm:px-5",children:(0,E.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-2",children:[(0,E.jsx)("span",{className:"font-semibold",children:"en"===p?"Prefer chat? Use our Telegram bot.":"¿Prefieres chat? Usa nuestro bot de Telegram."}),(0,E.jsx)("a",{href:"https://t.me/desenmascaraBot",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 rounded-full bg-blue-600 hover:bg-blue-500 px-4 py-1.5 text-xs font-semibold text-white transition",children:"@desenmascaraBot"})]})})]}),"idle"===eE.phase&&!eF&&b&&b.length>0&&(0,E.jsx)("section",{className:"w-full max-w-6xl mx-auto mt-8 mb-2 px-[18px] sm:px-6",children:(0,E.jsxs)("div",{className:"relative overflow-hidden rounded-[28px] border border-white/10 bg-[linear-gradient(145deg,rgba(2,6,23,0.86),rgba(8,47,73,0.78)_48%,rgba(15,23,42,0.9))] shadow-[0_28px_90px_rgba(2,6,23,0.36)] backdrop-blur-xl",children:[(0,E.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_20%_0%,rgba(59,130,246,0.16),transparent_34%)]"}),(0,E.jsx)("div",{className:"relative border-b border-white/10 px-4 py-4 sm:px-6 sm:py-5",children:(0,E.jsxs)("div",{className:"flex flex-col gap-4 lg:flex-row lg:items-end lg:justify-between",children:[(0,E.jsxs)("div",{children:[(0,E.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-cyan-300/20 bg-cyan-300/10 px-3 py-1 text-[11px] font-black uppercase tracking-[0.18em] text-cyan-100",children:[(0,E.jsx)("span",{className:`live-dot ${N?"live-badge-glow":""}`}),"en"===p?"Live intelligence feed":"Feed de inteligencia en vivo"]}),(0,E.jsx)("h3",{className:"mt-3 text-2xl font-black tracking-normal text-white sm:text-3xl",children:"en"===p?"Recent website assessments":"Evaluaciones recientes de sitios web"}),(0,E.jsx)("p",{className:"mt-2 max-w-2xl text-sm leading-6 text-slate-300",children:"en"===p?"Explore recent public checks. High-risk domains are partially masked; an assessment is a signal to investigate, not a guarantee.":"Explora comprobaciones públicas recientes. Los dominios de alto riesgo se enmascaran parcialmente; una evaluación orienta la investigación, no es una garantÃa."})]}),(0,E.jsxs)("div",{className:"flex items-center gap-3 rounded-2xl border border-white/10 bg-white/[0.06] px-4 py-3",children:[(0,E.jsx)("div",{className:"text-3xl font-black leading-none text-white",children:Math.min(b.length,j)}),(0,E.jsx)("div",{className:"text-[11px] font-bold uppercase leading-4 tracking-[0.16em] text-cyan-100/70",children:"en"===p?"fresh signals shown":"señales recientes"})]})]})}),(0,E.jsxs)("div",{className:"relative overflow-x-auto p-3 sm:p-4",children:[(0,E.jsxs)("div",{className:"min-w-0 overflow-hidden rounded-[22px] border border-white/10 bg-slate-950/35 sm:min-w-[620px]",children:[(0,E.jsxs)("div",{className:"hidden gap-x-8 border-b border-white/10 bg-white/[0.04] px-5 py-3 text-[10px] font-black uppercase tracking-[0.18em] text-slate-400 sm:grid sm:grid-cols-[minmax(240px,1.5fr)_180px_150px]",children:[(0,E.jsx)("div",{children:"en"===p?"Signal":"Señal"}),(0,E.jsx)("div",{children:"en"===p?"Observed":"Observado"}),(0,E.jsx)("div",{className:"text-right",children:"en"===p?"Verdict":"Veredicto"})]}),b.slice(0,j).map((e,t)=>{var a;let n,s,r=(n=e.verificada||"",(0,a_.getRecentVerdictBadge)(n,p)),i="fraud"===r.kind,l=i||i||!e.public_id?null:`/analisis/${e.public_id}`,o=`${e.domain}-${e.fecha}
15`,d=new Date(e.fecha).toLocaleString("en"===p?"en-US":"es-ES",{month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"}),c=r.tone,u=r.dot,m=i&&!0===e.vt_reported;return(0,E.jsxs)("div",{className:`grid grid-cols-[1fr_auto] items-center gap-x-3 gap-y-1.5 border-b border-white/8 px-4 py-3.5 text-sm transition last:border-b-0 hover:bg-white/[0.055] sm:grid-cols-[minmax(240px,1.5fr)_180px_150px] sm:gap-x-8 sm:gap-y-0 sm:px-5 ${t>=5?"animate-fade-in":""} ${w===o?"bg-cyan-300/[0.08] shadow-[inset_3px_0_0_rgba(59,130,246,0.85)]":""}`,children:[(0,E.jsxs)("div",{className:"col-span-2 flex min-w-0 items-center gap-3 sm:col-span-1",children:[(0,E.jsx)("span",{className:`h-2.5 w-2.5 flex-shrink-0 rounded-full ${u} shadow-[0_0_18px_currentColor]`}),(0,E.jsxs)("div",{className:"min-w-0",children:[i?(0,E.jsx)("span",{className:"font-mono text-sm font-bold text-slate-100",children:(s=Math.floor((a=e.domain).length/2),a.slice(0,s)+"*".repeat(a.length-s))}):l?(0,E.jsx)(tU.default,{href:l,className:"block truncate font-mono text-sm font-bold text-white underline decoration-cyan-300/30 underline-offset-4 transition hover:text-cyan-100 hover:decoration-cyan-200",children:e.domain}):(0,E.jsx)("span",{className:"block truncate font-mono text-sm font-bold text-white",children:e.domain}),(0,E.jsx)("div",{className:"mt-1 text-xs text-slate-500",children:i?"en"===p?"Masked high-risk public signal":"Señal pública de alto riesgo enmascarada":"en"===p?"Public verification signal":"Señal de verificación pública"})]})]}),(0,E.jsx)("div",{className:"font-mono text-xs font-semibold uppercase tracking-normal text-slate-400 sm:tracking-[0.12em]",children:d}),(0,E.jsxs)("div",{className:"flex items-center justify-end gap-1.5",children:[(0,E.jsx)("span",{className:`inline-flex whitespace-nowrap rounded-full border px-3 py-1.5 text-xs font-black uppercase tracking-[0.12em] ring-1 ${c}`,children:r.label}),m&&(0,E.jsxs)("span",{title:"en"===p?"Reported to VirusTotal":"Reportado a VirusTotal",className:"inline-flex items-center gap-1 rounded-full border border-sky-300/30 bg-sky-400/15 px-1.5 py-1 text-[10px] font-black uppercase tracking-[0.08em] text-sky-200 ring-1 ring-sky-400/10",children:[(0,E.jsxs)("svg",{className:"h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2.4,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,E.jsx)("path",{d:"M12 3l7 3v5c0 4.5-3 8-7 10-4-2-7-5.5-7-10V6l7-3z"}),(0,E.jsx)("path",{d:"M9 12l2 2 4-4"})]}),"VT"]})]})]},o)})]}),(0,E.jsxs)("div",{className:"mt-3 flex flex-col items-center gap-2",children:[j<Math.min(b.length,25)&&(0,E.jsxs)("button",{type:"button",onClick:()=>_(e=>Math.min(e+5,25)),className:"group inline-flex items-center gap-2 rounded-full border border-cyan-300/30 bg-cyan-300/10 px-6 py-2.5 text-sm font-black uppercase tracking-[0.14em] text-cyan-100 transition hover:border-cyan-200/50 hover:bg-cyan-300/20 hover:text-white",children:["en"===p?"Reveal 5 more":"Revelar 5 más",(0,E.jsx)("svg",{className:"h-4 w-4 transition group-hover:translate-y-0.5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2.5,children:(0,E.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})]}),(0,E.jsx)("span",{className:"text-[11px] font-semibold tracking-[0.04em] text-slate-500",children:j<Math.min(b.length,25)?"en"===p?(0,E.jsxs)(E.Fragment,{children:[`${Math.min(b.length,25)-j} more here â or `,(0,E.jsx)(tU.default,{href:"/pro",className:"font-bold text-cyan-300/90 underline decoration-cyan-300/30 underline-offset-2 transition hover:text-cyan-200 hover:decoration-cyan-200",children:"stream the full dataset with Startup"})]}):(0,E.jsxs)(E.Fragment,{children:[`${Math.min(b.length,25)-j} m\xe1s aqu\xed â o `,(0,E.jsx)(tU.default,{href:"/pro",className:"font-bold text-cyan-300/90 underline decoration-cyan-300/30 underline-offset-2 transition hover:text-cyan-200 hover:decoration-cyan-200",children:"accede al dataset completo con Startup"})]}):"en"===p?(0,E.jsxs)(E.Fragment,{children:["You've reached the live preview limit â ",(0,E.jsx)(tU.default,{href:"/pro",className:"font-bold text-cyan-300/90 underline decoration-cyan-300/30 underline-offset-2 transition hover:text-cyan-200 hover:decoration-cyan-200",children:"stream the full dataset with Startup"})]}):(0,E.jsxs)(E.Fragment,{children:["Has llegado al lÃmite de la vista previa â ",(0,E.jsx)(tU.default,{href:"/pro",className:"font-bold text-cyan-300/90 underline decoration-cyan-300/30 underline-offset-2 transition hover:text-cyan-200 hover:decoration-cyan-200",children:"accede al dataset completo con Startup"})]})})]})]})]})}),ez&&(0,E.jsx)(aj,{lang:p,vtShared30d:x?.vt_shared_30d,totalSites:x?.total_sites,fraudSites:x?.fraud_sites}),A&&(0,E.jsx)(tz,{isOpen:A,setIsOpen:L}),S&&(0,E.jsxs)("div",{className:"fixed inset-0 z-50 flex items-end sm:items-center justify-center p-4",children:[(0,E.jsx)("div",{className:"fixed inset-0 bg-black/40 backdrop-blur-sm",onClick:()=>
15{C(!1),localStorage.setItem("register_nudge_dismissed","1")}}),(0,E.jsxs)("div",{className:"relative z-10 w-full max-w-md animate-fade-in rounded-[24px] border border-white/10 bg-[#0b0e14] p-6 sm:p-8 shadow-[0_32px_80px_rgba(0,0,0,0.6)]",children:[(0,E.jsx)("div",{className:"absolute -right-8 -top-8 h-36 w-36 rounded-full bg-cyan-400/10 blur-3xl"}),(0,E.jsx)("button",{type:"button",onClick:()=>{C(!1),localStorage.setItem("register_nudge_dismissed","1")},className:"absolute right-4 top-4 text-white/40 hover:text-white transition","aria-label":"Close",children:(0,E.jsx)("svg",{className:"h-5 w-5",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:2,children:(0,E.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}),(0,E.jsxs)("div",{className:"relative z-10 text-center",children:[(0,E.jsx)("div",{className:"mb-3 inline-flex items-center rounded-full border border-cyan-400/30 bg-cyan-400/10 px-4 py-1 text-[11px] font-semibold uppercase tracking-[0.22em] text-cyan-200",children:"es"===p?"Cuenta gratuita":"Free account"}),(0,E.jsx)("h3",{className:"text-xl font-bold text-white mb-2",children:"es"===p?"¿Te resulta útil?":"Finding this useful?"}),(0,E.jsx)("p",{className:"text-sm text-white/60 mb-5 leading-relaxed",children:"es"===p?"Crea tu cuenta gratis para guardar tu historial de verificaciones, acceder a tu panel personal y recibir alertas.":"Create your free account to save your check history, access your personal dashboard, and receive alerts."}),(0,E.jsxs)("div",{className:"flex flex-col gap-2.5",children:[(0,E.jsx)(tU.default,{href:"/register",className:"w-full rounded-full bg-blue-600 hover:bg-blue-500 px-6 py-3 text-sm font-extrabold text-white transition text-center",children:"es"===p?"Crear cuenta gratis":"Create free account"}),(0,E.jsx)("button",{type:"button",onClick:()=>{C(!1),localStorage.setItem("register_nudge_dismissed","1")},className:"text-sm font-medium text-white/40 hover:text-white/70 transition",children:"es"===p?"Ahora no":"Not now"})]}),(0,E.jsxs)("div",{className:"mt-4 flex items-center justify-center gap-3 text-[10px] text-white/30",children:[(0,E.jsx)("span",{children:"es"===p?"Sin tarjeta":"No card needed"}),(0,E.jsx)("span",{className:"text-white/15",children:"·"}),(0,E.jsx)("span",{children:"es"===p?"1 análisis con IA gratis":"1 free AI analysis"}),(0,E.jsx)("span",{className:"text-white/15",children:"·"}),(0,E.jsx)("span",{children:"es"===p?"Panel personal":"Personal dashboard"})]})]})]})]}),(0,E.jsx)(ax,{lang:p,theme:"dark"}),(0,E.jsx)("style",{children:` 16 .animate-fade-in { animation: fade-in 0.4s ease-out both; } 17 .animate-fade-in-d1 { animation: fade-in 0.4s ease-out 0.1s both; } 18 .animate-fade-in-d2 { animation: fade-in 0.4s ease-out 0.25s both; } 19 .animate-fade-in-d3 { animation: fade-in 0.4s ease-out 0.4s both; } 20 .animate-fade-in-d4 { animation: fade-in 0.4s ease-out 0.55s both; } 21 .animate-fade-in-d5 { animation: fade-in 0.4s ease-out 0.7s both; } 22 .live-badge { 23 display: inline-flex; 24 align-items: center; 25 gap: 0.6rem; 26 border-radius: 999px; 27 border: 1px solid rgba(165, 243, 252, 0.22); 28 background: rgba(255, 255, 255, 0.08); 29 padding: 0.45rem 0.85rem; 30 font-size: 0.7rem; 31 font-weight: 800; 32 letter-spacing: 0.18em; 33 text-transform: uppercase; 34 color: rgba(236, 254, 255, 0.94); 35 backdrop-filter: blur(12px); 36 } 37 .live-badge-dark { 38 border-color: rgba(15, 23, 42, 0.08); 39 background: rgba(248, 250, 252, 0.9); 40 color: rgb(15, 23, 42); 41 } 42 .live-badge-glow { 43 box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.16), 0 8px 24px rgba(29, 78, 216, 0.16); 44 } 45 .live-dot { 46 height: 0.55rem; 47 width: 0.55rem; 48 border-radius: 999px; 49 background: #67e8f9; 50 box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.8); 51 animation: live-ping 1.6s infinite; 52 } 53 .live-dot-dark { 54 background: #0891b2; 55 box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.8); 56 } 57 .feed-counter { 58 display: inline-flex; 59 align-items: center; 60 justify-content: center; 61 min-width: 2.2rem; 62 height: 2.2rem; 63 border-radius: 999px; 64 background: linear-gradient(135deg, #0f172a, #1e293b); 65 color: white; 66 font-size: 0.85rem; 67 font-weight: 800; 68 box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16); 69 flex-shrink: 0; 70 } 71 .fraud-showcase { 72 opacity: 0.82; 73 transition: opacity 0.35s ease, transform 0.35s ease; 74 } 75 .fraud-showcase-left { 76 transform: translateY(0); 77 } 78 .fraud-showcase-right { 79 transform: translateY(0); 80 } 81 .fraud-card { 82 position: relative; 83 border-radius: 1.5rem;
84 border: 1px solid rgba(148, 163, 184, 0.22); 85 background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(30, 41, 59, 0.9)); 86 padding: 0.7rem; 87 box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3); 88 backdrop-filter: blur(16px); 89 overflow: hidden; 90 } 91 .fraud-card-static { 92 box-shadow: 0 24px 54px rgba(15, 23, 42, 0.28); 93 } 94 .fraud-card-left { 95 transform: rotate(-4deg); 96 } 97 .fraud-card-right { 98 transform: rotate(4deg); 99 } 100 .fraud-stamp { 101 display: inline-flex; 102 align-items: center; 103 justify-content: center; 104 border-radius: 999px; 105 border: 1px solid rgba(254, 202, 202, 0.38); 106 background: linear-gradient(135deg, rgba(220, 38, 38, 0.95), rgba(127, 29, 29, 0.96)); 107 padding: 0.35rem 0.65rem; 108 color: white; 109 font-size: 0.58rem; 110 font-weight: 900; 111 letter-spacing: 0.18em; 112 text-transform: uppercase; 113 box-shadow: 0 8px 18px rgba(127, 29, 29, 0.36); 114 } 115 .evidence-header { 116 display: flex; 117 align-items: center; 118 justify-content: space-between; 119 gap: 0.5rem; 120 margin-bottom: 0.75rem; 121 } 122 .evidence-kicker { 123 font-size: 0.58rem; 124 font-weight: 800; 125 letter-spacing: 0.18em; 126 text-transform: uppercase; 127 color: rgba(255, 255, 255, 0.62); 128 } 129 .evidence-recent { 130 border-radius: 999px; 131 border: 1px solid rgba(148, 163, 184, 0.22); 132 background: rgba(255, 255, 255, 0.06); 133 padding: 0.18rem 0.45rem; 134 font-size: 0.52rem; 135 font-weight: 800; 136 letter-spacing: 0.12em; 137 text-transform: uppercase; 138 color: rgba(191, 219, 254, 0.92); 139 white-space: nowrap; 140 } 141 .evidence-footer { 142 margin-top: 0.85rem; 143 border-top: 1px solid rgba(148, 163, 184, 0.14); 144 padding-top: 0.65rem; 145 } 146 @keyframes fade-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } 147 @keyframes live-ping { 148 0% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0.8); } 149 70% { box-shadow: 0 0 0 10px rgba(103, 232, 249, 0); } 150 100% { box-shadow: 0 0 0 0 rgba(103, 232, 249, 0); } 151 } 152 @media (prefers-reduced-motion: reduce) { 153 .live-dot, 154 .animate-fade-in, 155 .animate-fade-in-d1, 156 .animate-fade-in-d2, 157 .animate-fade-in-d3, 158 .animate-fade-in-d4, 159 .animate-fade-in-d5 { 160 animation: none !important; 161 } 162 } 163 @media (max-width: 640px) { 164 .live-badge { 165 padding: 0.4rem 0.7rem; 166 font-size: 0.62rem; 167 letter-spacing: 0.14em; 168 } 169 .feed-counter { 170 min-width: 2rem; 171 height: 2rem; 172 font-size: 0.8rem; 173 } 174 .fraud-stamp { 175 font-size: 0.52rem; 176 letter-spacing: 0.14em; 177 } 178 } 179 `})]})}e.s(["default",0,function(){return(0,E.jsx)(na,{})}],31713)}]);
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.