PageSourceSearch

https://www.cypherhunter.com/_next/static/chunks/7219-2da361d2495f9b13.js

js cypherhunter.com collected 2026-09-25 20:15:40 UTC 9,630 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7219],{18003:(e,r,t)=>{t.d(r,{d:()=>o,t:()=>l});var a=t(12115);let n=(0,a.createContext)(null),o=n.Provider;function l(){return(0,a.useContext)(n)}},26433:(e,r,t)=>{t.d(r,{IB:()=>l,N_:()=>c,a8:()=>g,q:()=>d,rd:()=>h});var a=t(12115),n=t(93474),o=t(82430);let l=["en","es","zh-hans","zh-hant"],d="en",s=(0,n.A)({locales:l,defaultLocale:d,localePrefix:"always"}),i=(0,o.A)(s);function c({prefetch:e=!1,...r}){return(0,a.createElement)(i.Link,{...r,prefetch:e})}let{redirect:u,usePathname:g,useRouter:h,getPathname:b}=i},33252:(e,r,t)=>{t.d(r,{Z:()=>l});var a=t(95155),n=t(12115),o=t(91337);let l=n.forwardRef(({className:e,type:r,error:t,variant:n="rounded",...l},d)=>(0,a.jsx)("input",{type:r,ref:d,className:(0,o.cn)("block w-full px-6 py-3 text-gray-600 transition-shadow duration-0","bg-white dark:bg-gray-900 dark:text-gray-300","border border-gray-300 dark:border-gray-800","placeholder:text-gray-400 dark:placeholder:text-gray-500","focus:border-transparent focus:ring-2 focus:ring-ch-dark-green focus:duration-200 focus:outline-none","disabled:cursor-not-allowed disabled:opacity-50",t&&"border-red-500 focus:ring-red-500 dark:border-red-500","rounded"===n&&"rounded-full","default"===n&&"rounded-lg",e),...l}));l.displayName="FormInput"},34426:(e,r,t)=>{t.d(r,{$:()=>s});var a=t(95155);t(12115);var n=t(42442),o=t(18460),l=t(91337);let d=(0,o.F)("disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-60 disabled:saturate-50 disabled:shadow-none data-[disabled=true]:pointer-events-none data-[disabled=true]:cursor-not-allowed data-[disabled=true]:opacity-60 data-[disabled=true]:saturate-50 data-[disabled=true]:shadow-none",{variants:{variant:{primary:"btn-solid border-ch-dark-green bg-ch-dark-green text-white hover:border-ch-dark-mode-green hover:bg-ch-dark-mode-green dark:border-ch-dark-green/25 dark:bg-ch-dark-green/50 dark:hover:bg-ch-dark-green/70",secondary:"btn-solid border-gray-100 bg-gray-100 hover:bg-ch-light-green dark:border-gray-800 dark:bg-gray-900 dark:text-gray-300 dark:hover:border-ch-dark-mode-green dark:hover:bg-ch-dark-mode-green",outline:"btn-solid border-ch-dark-green text-ch-dark-green hover:bg-ch-light-green dark:hover:bg-ch-light-gray/15",danger:"btn-solid border-red-500 bg-red-500 text-center text-white hover:border-red-600 hover:bg-red-600",muted:"btn-solid border-gray-500 bg-gray-500 text-white hover:border-gray-600 hover:bg-gray-600",soft:"btn-soft group","soft-border":"btn-soft-border group","soft-invert":"btn-soft hover:bg-gray-900 hover:text-white dark:hover:bg-gray-700",ghost:"btn-icon hover:bg-gray-100 dark:hover:bg-gray-800 hover:text-gray-900 dark:hover:text-gray-100","ghost-delete":"btn-solid border-red-500 bg-red-500/10 text-red-600 hover:bg-red-500/20",link:"btn-link text-gray-500 hover:text-black dark:hover:text-gray-200/95","link-primary":"btn-link text-ch-dark-green","soft-badge":"btn-soft group px-3 py-1.5"},size:{sm:"px-3 py-1.5 text-sm",md:"px-4 py-2",lg:"px-6 py-4 text-lg","icon-xs":"size-6","icon-sm":"size-8","icon-md":"size-10","icon-lg":"size-12","full-sm":"w-full justify-center py-1.5 text-sm","full-md":"w-full justify-center py-2","full-lg":"w-full justify-center py-4 text-lg",custom:""}},defaultVariants:{variant:"primary",size:"md"}});function s({className:e,variant:r,size:t,asChild:o=!1,...i}){let c=o?n.DX:"button",{disabled:u,"aria-disabled":g,...h}=i,b=u||!0===g||"true"===g;return(0,a.jsx)(c,{"data-slot":"button","data-variant":r??"primary","data-size":t??"md","data-disabled":b?"true":void 0,"aria-disabled":!!b||void 0,disabled:o?void 0:u,className:(0,l.cn)(d({variant:r,size:t,className:e})),...h})}},34629:(e,r,t)=>{t.d(r,{Gv:()=>o,M_:()=>d,mR:()=>l,pD:()=>s});var a=t(26433);function n(e){return a.IB.includes(e)?e:a.q}function o(e,r,{fallback:t,origin:l="https://www.cypherhunter.com"}={}){let d=n(r),s=t??`/${d}/account/dashboard/`;if(!e)return s;try{var i,c;let r,t,o=new URL(e,l);if(o.origin!==l)return s;let u=(i=o.pathname,r=n(d),t=i.startsWith("/")?i:`/${i}`,"/"===(c=a.IB.some(e=>t===`/${e}`||t.startsWith(`/${e}/`))?t:`/${r}${t}`)||c.endsWith("/")?c:`${c}/`);return`${u}${o.search}${o.hash}`}catch{return s}}function l({includeLocalePrefix:e=!1,locale:r,returnTo:t}){let a=n(r),d=e?`/${a}/account/login/`:"/account/login/";if(!t)return d;let s=o(t,a);return`${d}?return_to=${encodeURIComponent(s)}`}function d({locale:e,returnTo:r}){return r?{pathname:"/account/login/",query:{return_to:o(r,e)}}:"/account/login/"}function s({locale:e,returnTo:r}){return r?{pathname:"/account/signup/",query:{return_to:o(r,e,{fallback:`/${n(e)}/`})}}:"/account/signup/"}},47219:(e,r,t)=>{t.d(r,{default:()=>v});var a=t(95155),n=t(50910),o=t(9714),l=t(54921),d=t(73321),s=t(12115),i=t(99003),c=t(65596),u=t(66609),g=t(26433),h=t(18003),b=t(34426),m=t(33252),p=t(34629),f=t(91337);let x="top-center";function y({error:e,code:r}){return"account-suspended"===r?"Sorry-your-account-has-been-disabled-or-su
1spended":("invalid-credentials"===r,"Sorry-your-username-or-password-was-incorrect")}function v({variant:e="page"}){let r=(0,n.c)("account"),t=(0,o.Ym)(),k=(0,d.useSearchParams)(),w=k.get("return_to")??k.get("callbackUrl"),j=k.get("error"),N=k.get("code"),C=(0,s.useRef)(null),$=(0,s.useRef)(null),[z,E]=(0,s.useState)(!1),[_,S]=(0,s.useState)(!1),A=(0,h.t)(),{register:I,handleSubmit:R,setError:T,clearErrors:q,control:F,formState:{isSubmitting:D,errors:P}}=(0,i.mN)({defaultValues:{email:"",password:""}}),[B="",U=""]=(0,i.FH)({control:F,name:["email","password"]}),W=(0,s.useCallback)(e=>{T("root",{type:"manual",message:e}),u.oR.error(r(e),{toasterId:x})},[T,r]),Z=(0,s.useCallback)(e=>{u.oR.error(e,{toasterId:x})},[]),G=(0,s.useCallback)(e=>{E(!0)},[]),K=(0,s.useCallback)(()=>{E(!1),Z(r("account-turnstile-failed"))},[Z,r]),L=(0,s.useCallback)(()=>{E(!1),Z(r("account-turnstile-expired"))},[Z,r]),O=(0,s.useCallback)(()=>{let e=window,r="0x4AAAAAAB1e0AmdkCKkpfKv";C.current&&e.turnstile&&r&&($.current||($.current=e.turnstile.render(C.current,{sitekey:r,callback:G,"error-callback":K,"expired-callback":L,theme:"auto",size:"normal"})))},[K,L,G]);(0,s.useEffect)(()=>{let e=window;return e.onTurnstileSuccess=G,e.onTurnstileError=K,e.onTurnstileExpired=L,()=>{$.current&&e.turnstile&&(e.turnstile.remove($.current),$.current=null),delete e.onTurnstileSuccess,delete e.onTurnstileError,delete e.onTurnstileExpired}},[L,K,G]),(0,s.useEffect)(()=>{O()},[O]),(0,s.useEffect)(()=>{j&&W(y({error:j,code:N}))},[j,N,W]);let V=async(e,a)=>{let n;if(a?.preventDefault(),D)return;if(!z)return void Z(r("account-turnstile-required"));let o=(0,p.Gv)(w,t,{fallback:`/${t}/account/dashboard/`,origin:window.location.origin});try{n=await (0,l.Jv)("credentials",{redirect:!1,redirectTo:o,email:e.email,password:e.password})}catch{W(y({})),S(!1);return}n?.ok&&!n?.error?(S(!0),window.location.assign(n.url||o)):(W(y({error:n?.error,code:n?.code})),S(!1))},H=D||_;(0,s.useEffect)(()=>{A?.(H)},[H,A]),(0,s.useEffect)(()=>()=>{A?.(!1)},[A]);let J=!(B.trim().length>0&&U.length>0)||H||!z,M="modal"===e,Q=(0,p.pD)({locale:t,returnTo:w});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.default,{src:"https://challenges.cloudflare.com/turnstile/v0/api.js",strategy:"lazyOnload",onReady:O}),(0,a.jsxs)("div",{className:(0,f.cn)("relative flex flex-col items-center",M?"pt-2":"pt-24"),children:[!M&&(0,a.jsx)("h1",{className:"text-center text-3xl font-semibold max-sm:px-4",children:r("account-login-header")}),(0,a.jsxs)("form",{method:"POST",onSubmit:R(V),className:"flex w-full max-w-80 flex-col items-center",children:[(0,a.jsx)("label",{htmlFor:"login-email",className:"sr-only",children:r("account-email")}),(0,a.jsx)(m.Z,{...I("email",{required:!0,onChange:()=>{P.root&&q("root")}}),autoFocus:!0,autoComplete:"email",id:"login-email",placeholder:r("account-email"),type:"email",className:(0,f.cn)("w-full",M?"mt-2":"mt-12")}),(0,a.jsx)("label",{htmlFor:"login-password",className:"sr-only",children:r("account-login-password")}),(0,a.jsx)(m.Z,{...I("password",{required:!0,onChange:()=>{P.root&&q("root")}}),autoComplete:"current-password",id:"login-password",placeholder:r("account-login-password"),type:"password",className:"mt-4 w-full"}),P.root?.message&&(0,a.jsx)("p",{className:"mt-3 w-full text-sm text-red-600",role:"alert",children:r(P.root.message)}),(0,a.jsx)("div",{className:"mt-5 flex min-h-16 w-full justify-center",children:(0,a.jsx)("div",{ref:C})}),(0,a.jsx)(b.$,{disabled:J,type:"submit",variant:"primary",className:"mt-5 w-full justify-center rounded-full py-3 capitalize",children:H?r("account-loading"):r("account-login")}),(0,a.jsxs)("div",{className:"mx-auto mt-4 flex w-full justify-between text-sm text-gray-500",children:[(0,a.jsx)(g.N_,{href:"/account/password/reset/","aria-disabled":H,tabIndex:H?-1:void 0,onClick:e=>{H&&e.preventDefault()},className:(0,f.cn)("hover:text-ch-dark-green block px-3 py-2 hover:underline",H&&"pointer-events-none opacity-50"),children:r("account-forget-password")}),(0,a.jsx)(g.N_,{href:Q,replace:M,"aria-disabled":H,tabIndex:H?-1:void 0,onClick:e=>{H&&e.preventDefault()},className:(0,f.cn)("hover:text-ch-dark-green block px-3 py-2 hover:underline",H&&"pointer-events-none opacity-50"),children:r("account-signup")})]})]}),(0,a.jsxs)("div",{className:(0,f.cn)("mt-5 text-center text-gray-500",M?"text-xs leading-5":"text-sm"),children:[(0,a.jsx)("div",{children:r("account-why-no-3rd-party-login-title")}),(0,a.jsx)("div",{children:r("account-why-no-3rd-party-login-desc")})]})]})]})}},91337:(e,r,t)=>{t.d(r,{cn:()=>o});var a=t(29722),n=t(622);function o(...e){return(0,n.QP)((0,a.$)(e))}}}]);

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.