PageSourceSearch

https://cryptonary.com/assets/Help-Z6iDxDLZ.js

js cryptonary.com collected 2026-09-24 22:09:09 UTC 30,545 bytes, 1 lines download raw bytes

1import{u as de,h as me,a as ue,j as e,au as Te,av as Ie,B as v,aw as qe,J as C,b,K as Pe,s as Fe,v as Re,V as Me,H as Ae,an as K}from"./index-CKoX0LkU.js";import{r as l,X as Le,L as xe,d as _e,e as De,i as Be}from"./ui-icons-DZ-xAQXe.js";import{D as Ee}from"./DashboardLayout-BgZSTJhF.js";import{L as E}from"./label-D0cjUHD5.js";import{T as pe}from"./textarea-FKsjJ8b-.js";import{S as Oe,a as $e,b as He,c as ze,d as Ue}from"./select-8VRw8qc_.js";import{u as We}from"./useFreeTierStatus-C_FLYiZH.js";import{s as Y,i as Ge,t,C as Ke}from"./home-startup-core-thq0voGQ.js";import{T as Qe}from"./TurnstileWidget-DtWjf7W7.js";import{G as Ye}from"./GlobalHeaderSearchButton-Bbeb5gNX.js";import{N as Ve}from"./NotificationsDropdown-BnBjOWbv.js";import{TopBarUserMenu as Je}from"./TopBarUserMenu-DbpN3D6z.js";import{g as Xe}from"./edgeFunctionError-D885XrGM.js";import{D as Ze,e as et,a as tt,b as st,c as at,g as rt}from"./dialog-ChdxGrhY.js";import{aF as nt,b4 as it,w as ot,t as lt,b5 as ct,b6 as dt,b as mt,A as ut,b7 as xt,aH as pt,b8 as ht,b9 as gt}from"./ui-icons-deferred-DuTkLIiE.js";import"./use-mobile-Bxlkf_pd.js";import"./separator-WKLYHYR-.js";import"./sheet-DRKp7hIf.js";import"./index-BOL8mCBz.js";import"./index-Dtk1Y1Tp.js";import"./skeleton-DOmRfbex.js";import"./index-BZuCPabT.js";import"./index-Cgp0uGH3.js";import"./index-C0qRJGWr.js";import"./useChatChannels-wAISuoUu.js";import"./popover-BdSkTt4R.js";import"./avatar-qMeCiMRC.js";import"./communityChannels-BQvHZan8.js";import"./urlEncoding-2r3P1_Nw.js";import"./communityMentionCountEvents-DB9-hjem.js";import"./notificationReadState-XxkD7v0M.js";import"./useContentTranslations-4bSB6938.js";import"./useQueries-CjwwB2py.js";import"./useGamification-DsP50ahU.js";import"./UpgradeCtaButton-9OvTumGE.js";import"./upgradeCtaButtonClassName-DFhnMlJV.js";import"./NavLink-CRLt1h0k.js";
1import"./gradients-DCT1xqo8.js";import"./profileUrl-JUoFtYBT.js";import"./proxy-Bi4RPdLp.js";import"./index-DUy1Ldeb.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new n.Error().stack;a&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[a]="78aa0e20-c43f-4177-97e9-3a918a47f0c9",n._sentryDebugIdIdentifier="sentry-dbid-78aa0e20-c43f-4177-97e9-3a918a47f0c9")}catch{}})();const ft=20*1024*1024;function bt(n){const a=r=>n(`tools.issueReport.${r}`);return{title:a("title"),detailsLabel:a("detailsLabel"),detailsPlaceholder:a("detailsPlaceholder"),invalidMedia:a("invalidMedia"),mediaTooLarge:a("mediaTooLarge"),insufficientDetail:a("insufficientDetail"),sending:a("sending"),sent:a("sent"),attachmentFailed:a("attachmentFailed"),sendFailed:a("sendFailed"),removeMedia:a("removeMedia"),optionalMedia:a("optionalMedia"),attachMedia:a("attachMedia"),changeMedia:a("changeMedia"),attach:a("attach"),cancel:a("cancel"),send:a("send")}}function yt(n){return n>=1024*1024?`${(n/(1024*1024)).toFixed(n>=10*1024*1024?0:1)} MB`:`${Math.max(1,Math.round(n/1024))} KB`}function wt(n,a){return/ipad|tablet/i.test(n)?"Tablet":/mobi|android|iphone|ipod/i.test(n)?"Mobile":a>1&&/mac/i.test(navigator.platform||"")?"Tablet":"Desktop"}function jt(n){const a=navigator,r=`${window.innerWidth}x${window.innerHeight}`,c=window.screen?`${window.screen.width}x${window.screen.height}`:"",i=Intl.DateTimeFormat().resolvedOptions().timeZone,f=a.maxTouchPoints??0;return{page:n,viewport:r,screen:c,device:wt(a.userAgent||"",f),platform:a.platform||"",language:a.language||"",timezone:i,userAgent:a.userAgent||"",devicePixelRatio:window.devicePixelRatio,maxTouchPoints:f,hardwareConcurrency:a.hardwareConcurrency,deviceMemory:a.deviceMemory?`${a.deviceMemory} GB`:void 0}}async function vt(n,a,r,c){try{const{data:i,error:f}=await Y.functions.invoke("zoho-create-ticket",{body:n});if(f||!(i!=null&&i.ok))throw new Error("issue_report_failed");if(a&&i.queued!==!0&&i.attachmentShared!==!0){b.warning(c.attachmentFailed,{id:r});return}b.success(c.sent,{id:r})}catch{b.error(c.sendFailed,{id:r})}}function Nt(n,a){const r=(n==null?void 0:n.trim())||a;try{return new URL(r,window.location.origin).toString()}catch{return window.location.href}}function kt({children:n,contextPage:a}){const{user:r}=de(),{t:c}=me(),i=bt(c),f=ue(),p=l.useRef(null),[q,P]=l.useState(!1),[N,F]=l.useState(""),[x,y]=l.useState(null),[k,S]=l.useState(null),[w,R]=l.useState(!1),M=()=>{F(""),y(null),S(null),p.current&&(p.current.value="")},_=m=>{w||(P(m),m||M())},D=m=>{var T;const g=((T=m.target.files)==null?void 0:T[0])??null;if(S(null),!g){y(null);return}if(!g.type.startsWith("image/")&&!g.type.startsWith("video/")){y(null),S(i.invalidMedia),m.target.value="";return}if(g.size>ft){y(null),S(i.mediaTooLarge),m.target.value="";return}y(g)},A=async m=>{var g,T;if(m.preventDefault(),N.trim().length<10){b.error(i.insufficientDetail);return}R(!0);try{const B=`${f.pathname}${f.search}${f.hash}`,h=new FormData;h.set("subject","Bug feedback"),h.set("category","Technical"),h.set("submissionMode","async"),h.set("message",N.trim()),h.set("context",JSON.stringify(jt(Nt(a,B)))),h.set("contactEmail",(r==null?void 0:r.email)??""),h.set("contactName",String(((g=r==null?void 0:r.user_metadata)==null?void 0:g.full_name)??((T=r==null?void 0:r.user_metadata)==null?void 0:T.name)??"")),x&&h.set("attachment",x,x.name||"bug-feedback-media");const L=!!x,O=b.loading(i.sending);P(!1),M(),vt(h,L,O,i)}catch{b.error(i.sendFailed)}finally{R(!1)}};return e.jsxs(Ze,{open:q,onOpenChange:_,children:[e.jsx(et,{asChild:!0,children:n}),e.jsxs(tt,{className:"max-w-md gap-4 p-5 sm:p-6",children:[e.jsx(st,{className:"pr-7 text-left sm:pr-0 sm:text-center",children:e.jsx(at,{className:"text-xl leading-tight sm:text-2xl",children:i.title})}),e.jsxs("form",{className:"space-y-3.5",onSubmit:A,children:[e.jsx("div",{children:e.jsx(pe,{id:"bug-feedback-details","aria-label":i.detailsLabel,rows:3,value:N,onChange:m=>F(m.target.value),className:"min-h-[112px] resize-none rounded-[6px] border-border/70 px-3.5 py-3 text-base leading-6 placeholder:text-muted-foreground
1/70",placeholder:i.detailsPlaceholder,required:!0})}),e.jsxs("div",{className:C("rounded-[6px] border border-border/60 bg-muted/20 p-2.5",k&&"border-destructive/40 bg-destructive/5"),children:[e.jsx("input",{ref:p,type:"file",className:"hidden",accept:"image/*,video/*",onChange:D}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"min-w-0 flex-1",children:x?e.jsxs("span",{className:"inline-flex max-w-full items-center gap-2 rounded-[4px] border border-border bg-background px-2.5 py-1.5 text-xs text-muted-foreground",children:[e.jsxs("span",{className:"max-w-[14rem] truncate",children:[x.name," (",yt(x.size),")"]}),e.jsx("button",{type:"button",className:"rounded-sm text-muted-foreground transition-colors hover:text-foreground",onClick:()=>{y(null),p.current&&(p.current.value="")},"aria-label":i.removeMedia,children:e.jsx(Le,{className:"h-3.5 w-3.5","aria-hidden":!0})})]}):e.jsx("p",{className:"text-sm text-muted-foreground",children:i.optionalMedia})}),e.jsxs(Te,{children:[e.jsx(Ie,{asChild:!0,children:e.jsxs(v,{type:"button",variant:"outline",size:"sm",className:"h-8 shrink-0 rounded-[4px] px-2.5 text-xs",onClick:()=>{var m;return(m=p.current)==null?void 0:m.click()},disabled:w,"aria-label":x?i.changeMedia:i.attachMedia,children:[e.jsx(nt,{className:"h-3.5 w-3.5","aria-hidden":!0}),i.attach]})}),e.jsx(qe,{side:"top",children:x?i.changeMedia:i.attachMedia})]})]}),k?e.jsx("p",{className:"mt-2 text-xs text-destructive",role:"alert",children:k}):null]}),e.jsxs("div",{className:"grid grid-cols-2 gap-2 pt-1 sm:flex sm:justify-end",children:[e.jsx(rt,{asChild:!0,children:e.jsx(v,{type:"button",variant:"ghost",className:"h-9 rounded-[4px] px-4",disabled:w,children:i.cancel})}),e.jsxs(v,{type:"submit",className:"h-9 rounded-[4px] bg-amber-400 px-5 text-slate-950 hover:bg-amber-300 disabled:bg-amber-400/60 disabled:text-slate-950/70",disabled:w||N.trim().length<10||!!k,children:[w?e.jsx(xe,{className:"mr-2 h-4 w-4 animate-spin","aria-hidden":!0}):null,i.send]})]})]})]})]})}function Ct(n,a){if(!n||typeof n!="object")return a;const r=n.supportOrigin;if(typeof r!="string")return a;const c=r.trim();return!c.startsWith("/")||c.startsWith("//")?a:c}const V=[{value:"Billing",get label(){return t("Account and billing")},subject:"Question about my subscription"},{value:"Account",get label(){return t("Community access")},subject:"Help accessing the Cryptonary community"},{value:"Content",get label(){return t("Research and Intel")},subject:"Question about research or Intel"},{value:"Technical",get label(){return t("Bug or technical issue")},subject:"Something is not working"},{value:"Business",get label(){return t("Business inquiries")},subject:"Business inquiry"},{value:"Other",get label(){return t("Other")},subject:"Other support request"}],Q=[{get q(){return t("Will Cryptonary ever ask me to send money or make an investment?")},get a(){return t("No. Cryptonary does not take investments, accept funds to invest on your behalf, or ask members to 
1send money to wallets, bank accounts, or individuals. The only payment connected to Cryptonary is your subscription, which gives you access to our research, community, and tools.")}},{get q(){return t("How do I cancel my subscription?")},get a(){return t("Go to Settings > Billing > Cancel subscription. Your access continues until the end of your current billing period.")}},{get q(){return t("How do I access the Cryptonary community?")},get a(){return t("Sign in and head to the Community tab. Pro members get access to live chat, analyst Q&A threads, and member rooms inside the app.")}},{get q(){return t("Can I switch between monthly and annual billing?")},get a(){return t("Yes. Go to Settings > Billing to manage your plan. Monthly-to-annual upgrades can apply remaining cycle value as credit. Annual-to-monthly changes take effect at the end of the current period.")}},{get q(){return t("Do you offer refunds or trials?")},get a(){return t("Refund rules depend on your plan and billing state. Check the Terms for the current policy, or send us a message and we will review your account.")}},{get q(){return t("Where can I see Cryptonary's track record?")},get a(){return t("Published views, research updates, and market context are available inside the member product. If you cannot find a specific report, send us the topic and we will point you in the right direction.")}},{get q(){return t("How often is new research published?")},get a(){return t("Market Pulse updates as new market information breaks. Longer-form research and analyst notes are published when the team identifies meaningful setups and market context.")}}],St=[{get label(){return t("cancel subscription")},get question(){return t("How do I cancel my subscription?")}},{get label(){return t("refund policy")},get question(){return t("Do you offer refunds or trials?")}},{get label(){return t("community access")},get question(){return t("How do I access the Cryptonary community?")}}],Tt=[{get title(){return t("Getting started")},get description(){return t("New account, sign-in, and where to find the main member areas.")},Icon:it},{get title(){return t("Community access")},get description(){return t("Chat access, member rooms, and account access issues.")},Icon:ot},{get title(){return t("Account and billing")},get description(){return t("Subscriptions, invoices, refunds, and plan changes.")},Icon:lt},{get title(){return t("Business inquiries")},get description(){return t("Partnerships, press, affiliates, and non-member requests.")},Icon:ct}],le=5e3;function It(n){return V.find(a=>a.value===n)??V[0]}function qt(n,a){const r=a.trim();if(!r)return[n];const c=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return n.split(new RegExp(`(${c})`,"gi"))}function ce({text:n,query:a}){const r=a.trim().toLowerCase();return e.jsx(e.Fragment,{children:qt(n,a).map((c,i)=>r&&c.toLowerCase()===r?e.jsx("mark",{className:"rounded-[3px] bg-primary/20 px-0.5 text-foreground",children:c},`${c}-${i}`):e.jsx("span",{children:c},`${c}-${i}`))})}const Pt="mb-4 text-[18px] font-semibold tracking-tight text-foreground sm:text-[21px]",Ft=[{labelKey:"common.trust.help.instagram",href:"https://www.instagram.com/cryptonary/",Icon:xt,className:"bg-[linear-gradient(135deg,#f58529_0%,#dd2a7b_50%,#8134af_100%)] text-white"},{labelKey:"common.trust.help.x",href:"https://x.com/cryptonary",Icon:pt,className:"bg-[#0f0f0f] text-white dark:bg-white dark:text-black"},{labelKey:"common.trust.help.facebook",href:"https://www.facebook.com/CryptonaryOfficial/",Icon:ht,className:"bg-[#1877f2] text-white"},{labelKey:"common.trust.help.youtube",href:"https://www.youtube.com/@cryptonary",Icon:gt,className:"bg-[#ff0000] text-white"}],ys=()=>{var ie;const{locale:n,t:a}=me(),{user:r}=de(),{isPaid:c}=We(),{data:i}=Pe(),f=Fe(),p=ue(),[q,P]=Re(),[N,F]=l.useState("Billing"),[x,y]=l.useState(""),[k,S]=l.useState(""),[w,R]=l.useState(""),[M,_]=l.useState(!1),[D,A]=l.useState(null),[m,g]=l.useState(!1),[T,B]=l.useState(!1),[h,L]=l.useState(null),[O,he]=l.useState(0),[I,J]=l.useState(""),[ge,$]=l.useState(((ie=Q[0])==null?void 0:ie.q)??null),[fe,H]=l.useState(null),[be,z]=l.useState(!1),U=l.useRef(!1),X=l.useRef(!1),Z=l.useRef(null),ee=l.useRef(null),u=!!r,ye=l.useState(()=>Ge())[0],W="0x4AAAAAAD1fnrwFDGi5Q7F5".trim()??"",G=q.get("guestTicket"),we=`${p.pathname}${p.search}${p.hash}`,je=Ct(p.state,we);l.useEffect(()=>{var o,d,j,oe;r!=null&&r.email&&S(r.email);const s=(((o=i==null?void 0:i.display_name)==null?void 0:o.trim())||((j=(d=r==null?void 0:r.user_metadata)==null?void 0:d.full_name)==null?void 0:j.trim())||((oe=r==null?void 0:r.email)==null?void 0:oe.trim())||"")??"";s&&R(s)},[r==null?void 0:r.email,r==null?void 0:r.user_metadata,i==null?void 0:i.display_name]);const te=l.useMemo(()=>{const s=I.trim().toLowerCase();return s?Q.filter(o=>o.q.toLowerCase().includes(s)||o.a.toLowerCase().includes(s)):Q},[I]),ve=It(N),se=!M&&w.trim().length>0&&k.trim().length>0&&x.trim().length>=10&&(u||!!(h&&W));l.useEffect(()=>{!G||X.current||(X.current=!0,B(!0),(async()=>{try{const{data:s,error:o}=await Y.functions.invoke("zoho-create-ticket",{body:{guestConfirmationToken:G}});if(o)throw new Error(o.message);if(!(s!=null&&s.ok))throw new Error((s==null?void 0:s.detail)||(s==null?void 0:s.error)||t("This confirmation link is no longer valid."));A(s.ticketNumber??null),z(!0),b.success(t("Support request confirmed."))}catch{b.error(t("This confirmation link is no longer valid."))}finally{const s=new URLSearchParams(q);s.delete("guestTicket"),P(s,{replace:!0}),B(!1)}})())},[G,q,P]);function Ne(s){F(s),requestAnimationFrame(()=>{var o;(o=ee.current)==null||o.scrollIntoView({behavior:"smooth",block:"start"})})}function ke(s){J(""),$(s),H(s),requestAnimationFrame(()=>{var o;(o=Z.current)==null||o.scrollIntoView({behavior:"smooth",block:"start"})})}function Ce(s){$(o=>o===s?null:s),H(null)}async function Se(s){if(s.preventDefault(),!U.current&&se){U.current=!0,_(!0),A(null);try{const o=u?"zoho-create-ticket":"guest-support-ticket",{data:d,error:j}=await Y.functions.invoke(o,{body:{subject:ve.subject,message:x.trim(),category:N,contactEmail:k.trim(),contactName:w.trim(),...u?{}:{captchaToken:h,languagePreference:n}}});if(j)throw new Error(await Xe(j));if(!(d!=null&&d.ok))throw new Error((d==null?void 0:d.detail)||(d==null?void 0:d.error)||t("Could not submit your ticket. Please try again."));if(!u){g(!0),L(null);return}A(d.ticketNumber??null),y(""),z(!0),b.success(t("Message sent. We will reply by email."))}catch(o){const d=o instanceof Error?o.message:t("Something went wrong");b.error(d),u||(L(null),he(j=>j+1))}finally{U.current=!1,_(!1)}}}function ae(){const s=encodeURIComponent(p.pathname);f(`/auth?returnUrl=${s}`)}function re(s){J(s),$(null),H(null)}const ne=e.jsxs("div",{className:"min-h-[100dvh] bg-background text-foreground",children:[u?e.jsx("header",{className:"sticky top-0 z-40 hidden border-b border-border/50 bg-background/95 backdrop-blur-sm lg:block",children:e.jsxs("div",{className:"flex h-[53px] items-center gap-3 px-3 xl:px-4 2xl:px-
15",children:[e.jsx("div",{className:"max-w-md flex-1",children:e.jsx(Ye,{})}),e.jsxs("div",{className:"ml-auto flex items-center gap-2",children:[e.jsx(Ve,{}),e.jsx(Je,{})]})]})}):e.jsx("header",{className:C("border-b border-border bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/80",ye&&Ke),children:e.jsxs("div",{className:"relative mx-auto flex max-w-[960px] items-center justify-center px-4 py-3.5 sm:justify-start sm:px-6 sm:py-4",children:[e.jsx(Me,{to:"/","aria-label":t("Cryptonary home"),className:"shrink-0",children:e.jsx(Ae,{variant:"marketing",className:"!h-8 !max-w-[13rem] sm:!h-10 sm:!max-w-[16rem]"})}),e.jsx("nav",{className:"absolute right-4 top-1/2 hidden -translate-y-1/2 items-center text-[13px] text-muted-foreground sm:flex",children:e.jsx("button",{type:"button",className:"transition-colors hover:text-foreground",onClick:ae,children:t("Sign in")})})]})}),e.jsxs("main",{className:"mx-auto max-w-[960px] px-4 py-6 sm:px-6 sm:py-12",children:[e.jsxs("section",{className:"mx-auto mb-7 max-w-[720px] text-center sm:mb-10",children:[e.jsx("div",{className:"mb-3 inline-flex items-center gap-2 text-[10.5px] font-semibold uppercase tracking-[0.1em] text-primary",children:t("Help and support")}),e.jsx("h1",{className:"m-0 text-[clamp(30px,5vw,44px)] font-semibold leading-[1.05] tracking-tight",children:t("How can we help?")}),e.jsx("p",{className:"mx-auto mt-3 max-w-[58ch] text-[15px] leading-[1.6] text-muted-foreground sm:text-[16px]",children:t("Search common questions, FAQs or send us a message.")}),e.jsxs("div",{className:"relative mx-auto mt-4 max-w-[520px] sm:mt-5",children:[e.jsx(_e,{className:"pointer-events-none absolute left-4 top-1/2 h-[18px] w-[18px] -translate-y-1/2 text-muted-foreground"}),e.jsx(K,{value:I,onChange:s=>re(s.target.value),placeholder:t("Start typing your question..."),"aria-label":t("Search help articles"),className:"h-12 rounded-full border-transparent bg-muted/55 pl-11 pr-4 text-[14.5px] shadow-none transition focus-visible:bg-card focus-visible:ring-foreground/10"})]}),e.jsx("div",{className:"-mx-4 mt-4 flex flex-nowrap items-center justify-start gap-1.5 overflow-x-auto px-4 pb-1 text-[11.5px] [scrollbar-width:none] sm:mx-0 sm:flex-wrap sm:justify-center sm:gap-2 sm:overflow-visible sm:px-0 sm:pb-0 sm:text-[12.5px] [&::-webkit-scrollbar]:hidden",children:St.map(s=>e.jsx("button",{type:"button",className:"shrink-0 rounded-[6px] bg-primary/10 px-2.5 py-1.5 font-medium text-primary transition hover:bg-primary/15 sm:px-3",onClick:()=>ke(s.question),children:s.label},s.label))})]}),r?c?e.jsxs("div",{className:"mb-8 flex items-center gap-3 rounded-[8px] bg-primary/[0.055] px-4 py-3.5 text-sm leading-[1.45] text-muted-foreground sm:px-5",children:[e.jsxs("span",{className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-background/80 shadow-sm ring-1 ring-primary/10","aria-hidden":!0,children:[e.jsx("img",{src:"/brand/cryptonary-c-badge-light.png",alt:"",width:18,height:18,decoding:"async",className:"block h-[18px] w-[18px] object-contain dark:hidden"}),e.jsx("img",{src:"/brand/cryptonary-c-badge-dark.png",alt:"",width:18,height:18,decoding:"async",className:"hidden h-[18px] w-[18px] object-contain dark:block"})]}),e.jsxs("p",{className:"m-0",children:[e.jsx("span",{className:"font-medium text-foreground",children:t("Pro member.")})," ",t("Your ticket is linked to your account and prioritized by support.")]})]}):null:e.jsxs("div",{className:"mb-8 flex flex-col gap-3 rounded-[8px] bg-primary/[0.055] px-4 py-3.5 sm:flex-row sm:items-center sm:justify-between sm:gap-5 sm:px-5",children:[e.jsxs("div",{className:"flex items-center gap-3 text-sm leading-[1.45] text-muted-foreground",children:[e.jsx("span",{className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-background/80 text-primary shadow-sm ring-1 ring-primary/10",children:e.jsx(De,{className:"h-3.5 w-3.5","aria-hidden":!0})}),e.jsxs("p",{className:"m-0",children:[e.jsx("span",{className:"font-medium text-foreground",children:t("Sign in to send from your account.")})," ",t("You can also confirm a support request by email.")]})]}),e.jsx(v,{type:"button",size:"sm",variant:"ghost",className:"h-9 w-full rounded-full bg-background/80 px-4 text-[13px] font-semibold text-foreground shadow-sm ring-1 ring-border/70 hover:bg-background hover:text-primary sm:w-auto 
1sm:shrink-0",onClick:ae,children:t("Sign in")})]}),e.jsxs("section",{className:"mb-9 sm:mb-12",children:[e.jsx("h2",{className:Pt,children:t("Get the support you need")}),e.jsx("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-4 sm:gap-3",children:Tt.map(({title:s,description:o,Icon:d})=>e.jsxs("article",{className:"flex min-h-[118px] flex-col rounded-[8px] border border-border/70 bg-card/65 p-3 text-left sm:min-h-[154px] sm:p-5",children:[e.jsx("span",{className:"inline-flex h-8 w-8 items-center justify-center rounded-[8px] bg-muted text-foreground sm:h-10 sm:w-10",children:e.jsx(d,{className:"h-4 w-4 sm:h-5 sm:w-5","aria-hidden":!0})}),e.jsxs("span",{className:"mt-3 block sm:mt-6",children:[e.jsx("span",{className:"block text-[13.5px] font-semibold leading-tight text-foreground sm:text-[15px]",children:s}),e.jsx("span",{className:"mt-1 block text-[11.5px] leading-snug text-muted-foreground sm:mt-1.5 sm:text-[13px] sm:leading-[1.45]",children:o})]})]},s))}),e.jsxs("div",{className:"mt-3 flex flex-col gap-3 rounded-[8px] border border-border/70 bg-muted/20 p-3 sm:flex-row sm:items-center sm:justify-between sm:p-4",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-3",children:[e.jsx("span",{className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-[8px] bg-background text-muted-foreground ring-1 ring-border/60",children:e.jsx(dt,{className:"h-4 w-4","aria-hidden":!0})}),e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-[13.5px] font-semibold leading-tight text-foreground sm:text-sm",children:t("Report a bug")}),e.jsx("p",{className:"mt-1 text-[12px] leading-snug text-muted-foreground sm:text-[13px]",children:t("Send the details directly to our support team.")})]})]}),u?e.jsx(kt,{contextPage:je,children:e.jsx(v,{type:"button",size:"sm",variant:"outline",className:"h-9 w-full shrink-0 rounded-[6px] px-4 text-[13px] font-semibold shadow-none sm:w-auto",children:t("Report a bug")})}):e.jsx(v,{type:"button",size:"sm",variant:"outline",className:"h-9 w-full shrink-0 rounded-[6px] px-4 text-[13px] font-semibold shadow-none sm:w-auto",onClick:()=>Ne("Technical"),children:t("Report a bug")})]})]}),e.jsxs("section",{ref:Z,className:"mx-auto mb-9 max-w-[760px] scroll-mt-8 sm:mb-12",children:[e.jsxs("div",{className:"mb-4 flex flex-col gap-1 sm:flex-row sm:items-end sm:justify-between",children:[e.jsx("h2",{className:"m-0 text-[18px] font-semibold tracking-tight text-foreground sm:text-[21px]",children:t("Frequently asked questions")}),I?e.jsx("button",{type:"button",className:"text-left text-[12.5px] font-medium text-primary",onClick:()=>re(""),children:t("Clear search")}):null]}),te.length===0?e.jsx("div",{className:"rounded-[8px] bg-muted/35 px-5 py-8 text-center text-sm text-muted-foreground",children:t("No help articles match your search. Send us a message and we will get back to you.")}):e.jsx("div",{className:"space-y-2",children:te.map(s=>{const o=ge===s.q,d=fe===s.q;return e.jsxs("article",{className:C("overflow-hidden rounded-[8px] bg-muted/35 transition-colors duration-200",d&&"bg-primary/10"),children:[e.jsxs("button",{type:"button",className:"flex w-full items-center justify-between gap-5 px-4 py-4 text-left text-[14.5px] font-semibold leading-snug text-foreground sm:px-5",onClick:()=>Ce(s.q),"aria-expanded":o,children:[e.jsx("span",{children:e.jsx(ce,{text:s.q,query:I})}),e.jsx(Be,{className:C("h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200",o&&"rotate-90 text-primary"),"aria-hidden":!0})]}),e.jsx("div",{className:C("grid overflow-hidden text-[14px] leading-[1.65] text-muted-foreground transition-[grid-template-rows] duration-200",o?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:e.jsx("div",{className:"min-h-0",children:e.jsx("p",{className:"px-4 pb-4 sm:px-5",children:e.jsx(ce,{text:s.a,query:I})})})})]},s.q)})})]}),e.jsx("section",{id:"contact-form",ref:ee,className:"mx-auto max-w-[760px] scroll-mt-8 rounded-[8px] bg-muted/20 p-4 sm:p-6",children:T?e.jsxs("div",{className:"px-4 py-10 text-center",children:[e.jsx("h2",{className:"m-0 text-[17px] font-semibold",children:t("Confirming your support request")}),e.jsx("p",{className:"mx-auto mt-1.5 max-w-sm text-[13.5px] leading-relaxed text-muted-foreground",children:t("Please keep this page open for a moment.")})]}):m?e.jsxs("div",{className:"px-4 py-10 text-center",children:[e.jsx("h2",{className:"m-0 text-[17px] font-semibold",children:t("Check your email")}),e.jsx("p",{className:"mx-auto mt-1.5 max-w-sm text-[13.5px] leading-relaxed text-muted-foreground",children:t("Open the confirmation link 
1we sent to submit your support request.")}),e.jsx(v,{type:"button",variant:"outline",className:"mt-5",onClick:()=>g(!1),children:t("Send another message")})]}):be?e.jsxs("div",{className:"px-4 py-10 text-center",children:[e.jsx("div",{className:"mx-auto mb-3.5 inline-flex h-10 w-10 items-center justify-center rounded-[8px] bg-primary/10 text-primary",children:e.jsx(mt,{className:"h-5 w-5","aria-hidden":!0})}),e.jsx("h2",{className:"m-0 text-[17px] font-semibold",children:t("Message sent")}),e.jsxs("p",{className:"mx-auto mt-1.5 max-w-sm text-[13.5px] leading-relaxed text-muted-foreground",children:[t("We will reply by email. Check your inbox"),D?e.jsxs(e.Fragment,{children:[" ",t("and keep ticket")," ",e.jsx("span",{className:"text-foreground",children:D})," ",t("handy.")]}):"."]}),e.jsx(v,{type:"button",variant:"outline",className:"mt-5",onClick:()=>z(!1),children:t("Send another message")})]}):e.jsxs("div",{children:[e.jsx("h2",{className:"m-0 text-[20px] font-semibold tracking-tight text-foreground sm:text-[24px]",children:t("Contact us")}),e.jsx("p",{className:"mt-2 max-w-[58ch] text-[13.5px] leading-[1.6] text-muted-foreground sm:text-[14px]",children:t("Use the form below to contact us and reply by email.")}),e.jsxs("form",{onSubmit:Se,className:"mt-5 flex flex-col gap-4",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-2",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(E,{htmlFor:"help-name",className:"text-xs font-medium",children:t("Name")}
1),e.jsx(K,{id:"help-name",value:w,onChange:s=>R(s.target.value),placeholder:t("Jane Doe"),required:!0,maxLength:120,autoComplete:"name",readOnly:u,"aria-readonly":u,className:C("rounded-[6px] border-border/50 bg-background/70 shadow-none focus-visible:ring-foreground/10",u?"h-9 cursor-default text-[13px] text-muted-foreground":"text-sm")})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(E,{htmlFor:"help-email",className:"text-xs font-medium",children:t("Email")}),e.jsx(K,{id:"help-email",type:"email",value:k,onChange:s=>S(s.target.value),placeholder:t("[email protected]"),required:!0,maxLength:200,autoComplete:"email",readOnly:u,"aria-readonly":u,className:C("rounded-[6px] border-border/50 bg-background/70 shadow-none focus-visible:ring-foreground/10",u?"h-9 cursor-default text-[13px] text-muted-foreground":"text-sm")})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(E,{htmlFor:"help-topic",className:"text-xs font-medium",children:t("Topic")}),e.jsxs(Oe,{value:N,onValueChange:s=>F(s),children:[e.jsx($e,{id:"help-topic",className:"rounded-[6px] border-border/50 bg-background/70 text-sm shadow-none focus:ring-foreground/10",children:e.jsx(He,{placeholder:t("Choose a topic")})}),e.jsx(ze,{children:V.map(s=>e.jsx(Ue,{value:s.value,children:s.label},s.value))})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx(E,{htmlFor:"help-message",className:"text-xs font-medium",children:t("Message")}),e.jsx(pe,{id:"help-message",value:x,onChange:s=>y(s.target.value.slice(0,le)),placeholder:t("What is going on?"),rows:5,required:!0,minLength:10,maxLength:le,className:"min-h-[9rem] resize-y rounded-[6px] border-border/50 bg-background/70 text-[16px] leading-relaxed shadow-none focus-visible:ring-foreground/10 sm:text-sm"}),e.jsx("div",{className:"flex items-center justify-between gap-3 text-[11.5px] text-muted-foreground",children:e.jsx("span",{children:t("Minimum 10 characters.")})})]}),u?null:W?e.jsx(Qe,{siteKey:W,onToken:L,action:"guest_support_ticket"},O):e.jsx("p",{className:"text-sm text-destructive",children:t("Support requests are temporarily unavailable. Please try again later.")}),e.jsx("div",{className:"mt-1 flex justify-end",children:e.jsx(v,{type:"submit",disabled:!se,className:"h-10 w-full rounded-[6px] px-5 text-[13.5px] font-semibold sm:w-auto",children:M?e.jsxs(e.Fragment,{children:[e.jsx(xe,{className:"mr-2 h-4 w-4 animate-spin","aria-hidden":!0}),t("Sending...")]}):e.jsxs(e.Fragment,{children:[t("Send message"),e.jsx(ut,{className:"ml-2 h-3.5 w-3.5","aria-hidden":!0})]})})})]})]})}),e.jsxs("section",{className:"mx-auto mt-8 max-w-[760px] text-center sm:mt-10",children:[e.jsx("h2",{className:"m-0 text-[15px] font-semibold text-foreground",children:t("Follow Cryptonary")}),e.jsx("p",{className:"mt-1 text-[13px] text-muted-foreground",children:t("Market notes and product updates on our social channels.")}),e.jsx("div",{className:"mt-4 flex flex-wrap items-center justify-center gap-3",children:Ft.map(({labelKey:s,href:o,Icon:d,className:j})=>e.jsx("a",{href:o,target:"_blank",rel:"noopener noreferrer","aria-label":a(s),className:C("inline-flex h-9 w-9 items-center justify-center rounded-full transition hover:scale-[1.03] hover:opacity-90",j),children:e.jsx(d,{className:"h-4 w-4","aria-hidden":!0})},o))})]}),e.jsxs("footer",{className:"mt-10 text-center text-xs text-muted-foreground",children:[e.jsx("span",{children:a("common.trust.help.copyright",{year:new Date().getFullYear()})}),e.jsx("p",{className:"mx-auto mt-3 max-w-4xl leading-relaxed",children:t("Cryptonary provides educational and research content only. We do not take investment or provide personalised financial, investment, or trading advice, and nothing on this site is a recommendation to buy or sell any asset. Investing carries risk; do your own research.")})]})]})]});return u?e.jsx(Ee,{initialSidebarOpen:!1,children:ne}):ne};export{ys as default};

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.