PageSourceSearch

https://www.passgeni.ai/_next/static/chunks/pages/index-cd1f08db3da72a4e.js

js passgeni.ai collected 2026-10-05 15:43:25 UTC 72,209 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{5557:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(6028)}])},7800:function(e,t,n){"use strict";function a(e){return e?Math.round(e.length*Math.log2(94)):0}function r(e){if(!e)return"";let t=a(e);return t<28?"under a second":t<36?"a few minutes":t<50?"a few hours":t<60?"decades":t<80?"centuries":"longer than the universe"}function o(e){if(!e)return{score:0,label:"",color:"#1a1a1a"};let t=0;return(e.length>=10&&t++,e.length>=16&&t++,/[A-Z]/.test(e)&&t++,/[0-9]/.test(e)&&t++,/[^A-Za-z0-9]/.test(e)&&t++,e.length>=22&&t++,t<=2)?{score:1,label:"Crackable",color:"#ff4444"}:t<=3?{score:2,label:"Decent",color:"#ffaa00"}:t<=4?{score:3,label:"Strong",color:"#C8FF00"}:{score:4,label:"Unbreakable",color:"#C8FF00"}}function i(e){let t,n;if(!e)return null;let a=[{label:"Length ≥ 12",pass:e.length>=12,weight:20},{label:"Length ≥ 16",pass:e.length>=16,weight:15},{label:"Uppercase A-Z",pass:/[A-Z]/.test(e),weight:15},{label:"Lowercase a-z",pass:/[a-z]/.test(e),weight:10},{label:"Numbers 0-9",pass:/[0-9]/.test(e),weight:15},{label:"Symbols !@#…",pass:/[^A-Za-z0-9]/.test(e),weight:15},{label:"No repeats (aaa)",pass:!/(.)\1\1/.test(e),weight:10}],r=a.reduce((e,t)=>e+(t.pass?t.weight:0),0);return r>=85?(t="A+",n="#C8FF00"):r>=70?(t="A",n="#C8FF00"):r>=55?(t="B",n="#ffaa00"):(t="C",n="#ff6644"),{checks:a,total:r,grade:t,gradeColor:n}}n.d(t,{Dj:function(){return i},ET:function(){return a},Jx:function(){return r},z4:function(){return o}})},6028:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ec}});var a=n(5893),r=n(9008),o=n.n(r),i=n(7287),s=n(390),l=n(7294),c=n(7336),d=n(632),p=n(5381);let u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*",m=["nX9#kT2@mP5!qR8$","cortex-vault-442-helix","Bz7!deploy#K3@stack","helix-neon-881-pulse","pixel-stark-357-render","Kq#delta88!yield@Zn","doctor-ridge-991-seal","marble-flux-227-crest","correct-horse-battery-staple","neural-quantum-drift-pulse","cobalt-ridge-echo-seven","mirror-flare-north-dawn"],g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut",delay:e}}};function h(){let[e,t]=(0,l.useState)(0),[n,r]=(0,l.useState)(""),[o,i]=(0,l.useState)("in");return(0,l.useEffect)(()=>{let a;let s=m[e];return"in"===o?a=n.length<s.length?setTimeout(()=>r(s.slice(0,n.length+1)),60):setTimeout(()=>i("hold"),2e3):"hold"===o?a=setTimeout(()=>i("out"),500):n.length>0?a=setTimeout(()=>r(n.slice(0,-1)),30):(t((e+1)%m.length),i("in")),()=>clearTimeout(a)},[n,o,e]),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-body)",fontWeight:500,fontSize:"clamp(12px,2.2vw,18px)",letterSpacing:".02em",lineHeight:1,display:"flex",alignItems:"center",flexWrap:"wrap",gap:1},children:[n.split("").map((e,t)=>{let n="var(--text)";return"!@#$%^&*-_=+".includes(e)?n="var(--accent)":"0123456789".includes(e)?n="rgba(200,255,0,.6)":"-"===e&&(n="rgba(200,255,0,.5)"),(0,a.jsx)("span",{style:{color:n},children:e},t)}),(0,a.jsx)("span",{style:{display:"inline-block",width:2,height:"1.1em",background:"var(--accent)",marginLeft:3,animation:"blink 1s step-end infinite",verticalAlign:"middle"}})]})}function x(e){let{left:t,delay:n,dur:r,op:o}=e,i=Array.from({length:22},()=>u[Math.floor(Math.random()*u.length)]).join("");return(0,a.jsx)("div",{"aria-hidden":!0,style:{position:"absolute",left:t+"%",top:"100%",fontFamily:"var(--font-body)",fontSize:11,color:"var(--accent)",opacity:o,letterSpacing:".05em",lineHeight:2.2,writingMode:"vertical-rl",animation:"passwordStream ".concat(r,"s ").concat(n,"s linear infinite"),pointerEvents:"none",userSelect:"none"},children:i})}function f(){return(0,a.jsxs)("section",{className:"hero-section","aria-labelledby":"hero-headline",children:[(0,a.jsx)("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,backgroundImage:"linear-gradient(rgba(200,255,0,0.035) 1px,transparent 1px),linear-gradient(90deg,rgba(200,255,0,0.035) 1px,transparent 1px)",backgroundSize:"clamp(40px,8vw,80px) clamp(40px,8vw,80px)",animation:"gridPulse 6s ease infinite",pointerEvents:"none"}}),(0,a.jsx)("div",{"aria-hidden":!0,style:{position:"absolute",top:"50%",left:"50%",width:"min(80vw,900px)",height:"min(80vw,900px)",background:"radial-gradient(circle,rgba(200,255,0,0.065) 0%,transparent 65%)",transform:"translate(-50%,-50%)",pointerEvents:"none"}}),[0,1.8,3.6].map((e,t)=>(0,a.jsx)("div",{"aria-hidden":!0,style:{position:"absolute",top:"50%",left:"50%",width:"min(600px,80vw)",height:"min(600px,80vw)",border:"1px solid rgba(200,255,0,0.09)",borderRadius:"50%",animation:"ringExpand 5.4s ".concat(e,"s ease-out infinite"),pointerEvents:"none"}},t)),(0,a.jsx)("div",{"aria-hidden":!0,style:{position:"absolute",inset:0,overflow:"hidden",pointerEvents:"none"},children:[{left:4,delay:0,dur:14,op:.04},{left:14,delay:3,dur:18,op:.03},{left:26,delay:1,dur:12,op:.05},{left:40,delay:5,dur:16,op:.03},{left:56,delay:2,dur:20,op:.04},{left:68,delay:7,dur:13,op:.03},{left:80,delay:4,dur:17,op:.05},{left:92,delay:1.5,dur:15,op:.03}].map((e,t)=>(0,a.jsx)(x,{...e},t))}),(0,a.jsxs)("div",{style:{position:"relative",zIndex:10,textAlign:"center",width:"100%",maxWidth:920,margin:"0 auto"},children:[(0,a.jsxs)(c.E.div,{...g(0),style:{display:"inline-flex",alignItems:"center",gap:10,background:"rgba(13,13,16,0.9)",border:"1px solid rgba(200,255,0,0.15)",borderRadius:100,padding:"8px clamp(16px,3vw,22px)",marginBottom:"clamp(28px,5vw,48px)"},children:[(0,a.jsx)("div",{style:{width:7,height:7,borderRadius:"50%",background:"var(--accent)",boxShadow:"0 0 12px var(--accent)",animation:"blink 2s ease infinite",flexShrink:0}}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:"clamp(9px,1.4vw,11px)",fontWeight:600,color:"rgba(200,255,0,.8)",letterSpacing:".14em",textTransform:"uppercase"},children:d.aQ.badge})]}),(0,a.jsxs)(c.E.h1,{id:"hero-headline",className:"hero-headline",initial:{opacity:0,y:24}
1,animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut",delay:.15},style:{marginBottom:0,whiteSpace:"pre-line"},children:[d.aQ.headline.split("\n")[0],"\n",(0,a.jsx)("span",{style:{color:"transparent",WebkitTextStroke:"1.5px rgba(200,255,0,0.4)",backgroundImage:"linear-gradient(90deg,rgba(200,255,0,.4),rgba(200,255,0,.9),rgba(200,255,0,.4))",backgroundSize:"200% auto",WebkitBackgroundClip:"text",animation:"gradientSweep 3s linear infinite"},children:d.aQ.headline.split("\n")[1]}),"\n",(0,a.jsx)("span",{style:{color:"var(--accent)"},children:d.aQ.headline.split("\n")[2]})]}),(0,a.jsx)(c.E.div,{...g(.3),style:{display:"flex",justifyContent:"center",margin:"clamp(28px,5vw,52px) auto"},children:(0,a.jsxs)("div",{className:"gen-capsule",children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:"clamp(8px,1.2vw,9px)",fontWeight:700,color:"rgba(200,255,0,.5)",letterSpacing:".18em",textTransform:"uppercase",whiteSpace:"nowrap",flexShrink:0},children:"GEN →"}),(0,a.jsx)(h,{})]})}),(0,a.jsx)(c.E.p,{className:"hero-sub",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5,ease:"easeOut",delay:.3},style:{marginBottom:"clamp(28px,5vw,52px)"},children:d.aQ.subheadline}),(0,a.jsx)(c.E.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5,ease:"easeOut",delay:.55},style:{marginBottom:"clamp(32px,5vw,56px)",display:"flex",justifyContent:"center"},children:(0,a.jsxs)(c.E.a,{href:d.aQ.primaryHref,className:"btn-primary",...p.fn,style:{fontSize:"clamp(13px,2vw,16px)",padding:"clamp(16px,2vw,20px) clamp(40px,6vw,72px)",letterSpacing:".06em"},onClick:e=>{e.currentTarget.classList.remove("btn-pulse"),e.currentTarget.offsetWidth,e.currentTarget.classList.add("btn-pulse")},children:[d.aQ.primaryCTA," ↓"]})}),(0,a.jsx)(c.E.div,{className:"hero-trust",...g(.45),children:d.aQ.trustPoints.map(e=>{let{icon:t,label:n}=e;return(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:7},children:[(0,a.jsx)("span",{"aria-hidden":!0,style:{color:"rgba(200,255,0,.5)",fontSize:"clamp(10px,1.5vw,13px)"},children:t}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:"clamp(9px,1.2vw,11px)",fontWeight:600,color:"var(--muted)",letterSpacing:".08em",textTransform:"uppercase"},children:n})]},n)})})]})]})}let y={none:{label:"Custom",minLen:8,maxLen:32,upper:!0,num:!0,sym:!0,color:"#888",desc:"Your settings",badge:null},hipaa:{label:"HIPAA",minLen:12,maxLen:32,upper:!0,num:!0,sym:!0,color:"#4fc3f7",desc:"Min 12 chars \xb7 All character classes \xb7 HHS recommended",badge:"Healthcare"},pci:{label:"PCI-DSS",minLen:12,maxLen:32,upper:!0,num:!0,sym:!0,color:"#ffb74d",desc:"Min 12 chars \xb7 PCI-DSS v4.0 compliant",badge:"Payment"},soc2:{label:"SOC 2",minLen:16,maxLen:32,upper:!0,num:!0,sym:!0,color:"#ce93d8",desc:"Min 16 chars \xb7 Mixed case + symbols \xb7 SOC 2 CC6.1",badge:"SaaS"},iso:{label:"ISO 27001",minLen:14,maxLen:32,upper:!0,num:!0,sym:!0,color:"#80cbc4",desc:"Min 14 chars \xb7 Full complexity \xb7 ISO 27001:2022",badge:"Enterprise"},nist:{label:"NIST 800-63B",minLen:15,maxLen:32,upper:!1,num:!0,sym:!1,color:"#a5d6a7",desc:"Min 15 chars \xb7 Length over complexity \xb7 Federal standard",badge:"Federal"},dod:{label:"DoD / Gov",minLen:15,maxLen:32,upper:!0,num:!0,sym:!0,color:"#ef9a9a",desc:"Min 15 chars \xb7 DoD 8500.01 \xb7 CMMC aligned",badge:"Government"},quantum:{label:"Post-Quantum",minLen:20,maxLen:32,upper:!0,num:!0,sym:!0,color:"#C8FF00",desc:"Min 20 chars \xb7 NIST 2024 PQC aligned \xb7 Grover-resistant",badge:"Quantum"}},b=[{id:"dev",label:"Developer",seeds:["stack","kernel","deploy","tensor","cipher"]},{id:"doc",label:"Doctor",seeds:["cortex","neural","helix","pulse","synapse"]},{id:"fin",label:"Finance",seeds:["alpha","yield","delta","equity","index"]},{id:"des",label:"Designer",seeds:["pixel","bezier","vector","render","frame"]},{id:"law",label:"Legal",seeds:["clause","nexus","accord","mandate","statute"]},{id:"edu",label:"Educator",seeds:["axiom","theory","method","cipher","prime"]}],v={pilot:["altitude","vector"],aviator:["altitude","vector"],plumber:["torque","conduit"],electrician:["voltage","circuit"],welder:["arc","flux"],carpenter:["mortise","grain"],mechanic:["torque","valve"],chef:["mise","saute"],
1cook:["simmer","recipe"],baker:["knead","crust"],architect:["datum","facade"],photographer:["aperture","shutter"],videographer:["frame","render"],nurse:["dosage","triage"],pharmacist:["molecule","dosage"],dentist:["calculus","molar"],vet:["fauna","biopsy"],therapist:["cortex","rapport"],accountant:["ledger","audit"],analyst:["pivot","metric"],broker:["yield","spread"],trader:["delta","alpha"],journalist:["byline","source"],writer:["syntax","prose"],musician:["tempo","chord"],artist:["chroma","canvas"],developer:["stack","kernel"],designer:["bezier","frame"],teacher:["axiom","method"],researcher:["datum","vector"],scientist:["entropy","quanta"],student:["theory","focus"],manager:["pipeline","scope"],ceo:["equity","pivot"],athlete:["velocity","stamina"],coach:["playbook","drill"],soldier:["cipher","delta"],police:["patrol","sector"],firefighter:["thermal","ladder"],driver:["torque","route"],barber:["taper","blade"],tailor:["seam","tension"],farmer:["yield","soil"],singer:["chord","lyric"],coder:["stack","loop"],hacker:["cipher","root"],guard:["patrol","watch"],miner:["shaft","ore"],diver:["depth","tank"],boxer:["jab","ring"],sailor:["tide","mast"],lawyer:["clause","writ"],judge:["bench","rule"]},j={lower:"abcdefghijklmnopqrstuvwxyz",upper:"ABCDEFGHIJKLMNOPQRSTUVWXYZ",num:"0123456789",sym:"!@#$%^&*-_=+",symExpanded:"!@#$%^&*-_=+[]{}|;:,.<>?"},S=["vivid","neon","stark","swift","iron","ghost","prime","ultra","bold","nova","apex","echo","flux","grim","keen","lone","pure","raw","void","zero","dark","deep","fast","high","sharp","cool","hard","soft","bright","calm","cold","crisp","dense","dry","dull","firm","flat","free","full","glad","hot","just","kind","lean","live","loud","mad","mild"],w=["nexus","vault","sigma","prime","omega","delta","helix","pulse","cipher","forge"],F=["crimson","cobalt","amber","onyx","jade","slate","ivory","azure","coral","ember","frost","lunar","obsidian","scarlet","teal"],k=new Set(["007","123","124","234","345","456","567","678","789","111","222","333","444","555","666","777","888","999","000","420","2024","2025","2026"]);function C(e){let t=new Uint32Array(1);return crypto.getRandomValues(t),t[0]%e}function z(e){return e[C(e.length)]}function D(e,t,n){let a,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];a=r?z(r):z((b.find(e=>e.id===t)||b[0]).seeds);let i=j.lower;n.upper&&(i+=j.upper),n.num&&(i+=j.num),n.sym&&(i+=o?j.symExpanded:j.sym);let s=Array.from({length:Math.max(0,e-a.length)},()=>z(i.split(""))),l=[...a.split(""),...s];for(let e=l.length-1;e>l.length/2;e--){let t=C(e+1);[l[e],l[t]]=[l[t],l[e]]}return l.slice(0,e).join("")}var T=n(7800);function E(e){let{label:t,type:n="shield"}=e,r={dot:(0,a.jsx)("span",{className:"live-dot"}),check:(0,a.jsx)("span",{style:{fontSize:8,color:"#C8FF0088"},children:"✓"}),zero:(0,a.jsx)("span",{style:{fontSize:8,color:"#C8FF0088"},children:"◎"}),shield:(0,a.jsx)("span",{style:{fontSize:8,color:"#C8FF0088"},children:"\uD83D\uDD12"})};return(0,a.jsxs)("span",{className:"trust-chip",title:t,children:[r[n]||r.shield,t]})}function I(e){let{text:t,pulse:n=!1}=e,[r,o]=(0,l.useState)(!1),i=async()=>{t&&(await navigator.clipboard.writeText(t),o(!0),setTimeout(()=>o(!1),2e3))};return(0,a.jsx)("button",{className:"copy-btn ".concat(r?"copied":""," ").concat(n&&!r?"pulse":""),onClick:i,"aria-label":"Copy to clipboard",style:n&&!r?{borderColor:"#C8FF00",color:"#C8FF00",boxShadow:"0 0 12px #C8FF0066",animation:"copyPulse 1s ease infinite"}:{},children:r?"✓ COPIED":"COPY"})}function N(e){let{label:t,active:n,onClick:r,dashed:o=!1}=e;return(0,a.jsxs)("button",{className:"toggle-pill ".concat(n?"active":""),style:o&&!n?{borderColor:"#2a2a2a",borderStyle:"dashed",color:"#888"}:{},onClick:r,"aria-pressed":n,children:[n&&!o?"✓ ":"",t]})}function W(e){let{children:t,accent:n,size:r="large"}=e;return(0,a.jsxs)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"large"===r?"clamp(28px, 4vw, 48px)":"clamp(22px, 3vw, 36px)",color:"#fff",letterSpacing:"-0.02em",lineHeight:1.1,whiteSpace:"pre-line"},children:[t,n&&(0,a.jsxs)(a.Fragment,{children:["\n",(0,a.jsx)("span",{style:{color:"var(--color-accent)"},children:n})]})]})}var B=n(4960),P=n(6730),A=n(9508);function M(e){let{value:t}=e,n=(0,B.c)(0),[r,o]=(0,l.useState)(0);return(0,l.useEffect)(()=>{let e=(0,P.j)(n,t,{duration:.5,ease:"easeOut"}),a=n.onChange(e=>o(Math.round(e)));return()=>{e.stop(),a()}},[t]),(0,a.jsx)("span",{children:r})}function H(e){let{password:t,generating:n,strength:r,entropy:o,crackTime:i,isNew:s}
1=e,l=r?Math.round(r.score/4*100):0;return(0,a.jsxs)("div",{style:{background:"#08080a",border:"1px solid #141416",borderRadius:10,padding:"20px 24px",position:"relative",overflow:"hidden"},"aria-live":"polite",children:[(0,a.jsx)("div",{style:{position:"absolute",left:0,right:0,height:"1px",background:"linear-gradient(90deg,transparent,#C8FF0022,transparent)",animation:"scanline 3s linear infinite",pointerEvents:"none"}}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:16},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:"clamp(13px,2vw,16px)",lineHeight:1.7,wordBreak:"break-all",flex:1,minHeight:26,position:"relative",overflow:"hidden"},children:(0,a.jsx)(A.M,{mode:"wait",initial:!1,children:(0,a.jsx)(c.E.div,{initial:{opacity:0,y:4},animate:{opacity:n?.3:1,y:0},exit:{opacity:0,y:-4},transition:{duration:n?.15:.25,ease:"easeOut"},children:t?t.split("").map((e,t)=>{let n="#e8e8e8";return"!@#$%^&*-_=+[]{}|;:,.<>?".includes(e)?n="#C8FF00":"0123456789".includes(e)?n="#777":e===e.toUpperCase()&&/[A-Z]/.test(e)&&(n="#fff"),(0,a.jsx)("span",{style:{color:n},children:e},t)}):(0,a.jsx)("span",{style:{color:"#aaa"},children:"click generate —"})},t)})}),(0,a.jsx)(I,{text:t,pulse:s})]}),t&&r&&(0,a.jsxs)("div",{style:{marginTop:14},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:6},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:r.color,letterSpacing:"0.1em",textTransform:"uppercase",fontWeight:700},children:r.label}),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#555"},children:[(0,a.jsx)(M,{value:o||0})," bits"]})]}),(0,a.jsx)("div",{style:{height:3,background:"#141416",borderRadius:100,overflow:"hidden"},children:(0,a.jsx)(c.E.div,{style:{height:"100%",borderRadius:100,background:r.color},initial:{width:0},animate:{width:"".concat(l,"%")},transition:{duration:.4,ease:"easeOut"}})}),i&&(0,a.jsxs)("div",{style:{marginTop:6,fontFamily:"var(--font-mono)",fontSize:10,color:"#444",letterSpacing:"0.06em"},children:["crack time: ",i]})]})]})}function O(e){let{password:t}=e,n=(0,T.Dj)(t);return n?(0,a.jsxs)("div",{style:{background:"#08080a",border:"1px solid #141416",borderRadius:10,padding:"20px 24px",marginTop:12,animation:"fadeIn 0.3s ease"},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16},children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:4},children:"Password DNA Score"}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:12,color:"#555"},children:"Cryptographic quality breakdown"})]}),(0,a.jsxs)("div",{style:{textAlign:"center"},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:32,color:n.gradeColor,lineHeight:1},children:n.grade}),(0,a.jsxs)("div",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555",marginTop:2},children:[n.total,"/100"]})]})]}),(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:10},children:n.checks.map((e,t)=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:4},children:[(0,a.jsxs)("span",{style:{fontFamily:"var(--font-body)",fontSize:12,color:e.pass?"#ccc":"#555"},children:[e.pass?"✓":"✗"," ",e.label]}),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:e.pass?"#C8FF0088":"#333"},children:[e.pass?"+".concat(e.weight):"0"," pts"]})]}),(0,a.jsx)("div",{style:{height:3,background:"#141416",borderRadius:100,overflow:"hidden"},children:(0,a.jsx)("div",{style:{height:"100%",borderRadius:100,background:e.pass?"#C8FF00":"transparent",width:e.pass?"".concat(e.weight,"%"):"0%",transition:"width 0.8s var(--ease-spring)"}})})]},t))})]}):null}function R(e){let{history:t,onClear:n}=e;return t.length?(0,a.jsxs)("div",{style:{marginTop:16,animation:"fadeIn 0.3s ease"},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:10},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,
1color:"#888",letterSpacing:"0.12em",textTransform:"uppercase"},children:"Recent \xb7 This Session"}),(0,a.jsx)("button",{onClick:n,style:{background:"none",border:"none",fontFamily:"var(--font-mono)",fontSize:9,color:"#555",cursor:"pointer",letterSpacing:"0.08em",transition:"color 0.15s"},onMouseEnter:e=>e.target.style.color="#ff4444",onMouseLeave:e=>e.target.style.color="#555",children:"Clear all"})]}),(0,a.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:t.slice(0,8).map((e,t)=>(0,a.jsxs)("div",{className:"history-row",children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:11,color:"#888",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,letterSpacing:"0.04em"},children:e}),(0,a.jsxs)("div",{style:{display:"flex",gap:6,alignItems:"center",flexShrink:0},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:(0,T.z4)(e).color},children:(0,T.z4)(e).label}),(0,a.jsx)(I,{text:e})]})]},t))})]}):null}function L(){try{let e=localStorage.getItem("passgeni_plan");if(e)return e}catch(e){}return"free"}let _={free:{passwords:15,bulk:0,dnaScore:1,passphrase:3,seeds:5},pro:{passwords:150,bulk:25,dnaScore:999,passphrase:999,seeds:999},team:{passwords:999,bulk:500,dnaScore:999,passphrase:999,seeds:999},enterprise:{passwords:999,bulk:500,dnaScore:999,passphrase:999,seeds:999}};function q(e){let{profession:t,opts:n,length:r,customSeeds:o,quantumMode:i}=e,[s,d]=(0,l.useState)(10),[u,m]=(0,l.useState)([]),[g,h]=(0,l.useState)(!1),[x,f]=(0,l.useState)(!1),y=async()=>{u.length&&await navigator.clipboard.writeText(u.join("\n"))};return(0,a.jsxs)("div",{style:{background:"#0a0a0c",border:"1px solid #141416",borderRadius:16,overflow:"hidden"},children:[(0,a.jsxs)("div",{style:{padding:"20px 24px",borderBottom:"1px solid #1a1a1a",display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:12},children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-heading)",fontWeight:700,fontSize:16,color:"#fff"},children:"Bulk Generator"}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:12,color:"#666",marginTop:2},children:"Generate multiple passwords at once \xb7 Same settings"})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center"},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888"},children:"Count:"}),[5,10,20,50].map(e=>(0,a.jsx)("button",{onClick:()=>d(e),className:"toggle-pill ".concat(s===e?"active":""),style:{padding:"5px 12px"},children:e},e))]})]}),(0,a.jsxs)("div",{style:{padding:"20px 24px"},children:[(0,a.jsx)(c.E.button,{className:"btn-primary",...p.fn,style:{width:"100%",justifyContent:"center",marginBottom:x?0:16},onClick:()=>{let e=_[L()]||_.free;if(0===e.bulk){f(!0);return}f(!1);let a=Math.min(s,e.bulk);h(!0),setTimeout(()=>{m(Array.from({length:a},()=>D(r,t,n,o,i))),h(!1)},300)},children:g?"Generating ".concat(s," passwords…"):(0,a.jsxs)(a.Fragment,{children:["Generate ",s," passwords ",(0,a.jsx)("span",{style:{fontSize:16},children:"⚡"})]})}),x&&(0,a.jsxs)("div",{style:{marginTop:12,marginBottom:16,background:"#0a0a0c",border:"1px solid #1e1e1e",borderRadius:10,padding:"14px 18px",animation:"fadeIn .2s ease"},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:600,color:"#fff",marginBottom:6},children:"Bulk generation is available on Pro and Team plans."}),(0,a.jsx)("a",{href:"/pricing#pro",style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:700,color:"#C8FF00",textDecoration:"none"},children:"Upgrade to Pro →"})]}),u.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{style:{display:"flex",gap:8,marginBottom:12},children:[(0,a.jsx)(c.E.button,{onClick:y,className:"btn-ghost",...p.Di,style:{flex:1,justifyContent:"center",fontSize:12,padding:"10px 16px"},children:"Copy all"}),(0,a.jsx)(c.E.button,{onClick:()=>{if(!u.length)return;let e=new Blob(["PassGeni — Bulk Password Export\nGenerated: ".concat(new Date().toLocaleString(),"\nCount: ").concat(u.length,"\nMode: ").concat(i?"Post-Quantum":"Standard","\n\n").concat(u.join("\n"))],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(e),t.download="passgeni-".concat(u.length,"-passwords.txt"),t.click()},className:"btn-ghost",...p.Di,style:{flex:1,justifyContent:"center",fontSize:12,padding:"10px 16px"},children:"↓ Download .txt"})]}),(0,a.jsx)("div",{style:{background:"#08080a",border:"1px solid #141416",borderRadius:10,overflow:"hidden",maxHeight:320,overflowY:"auto"},children:u.map((e,t)=>(0,a.jsxs)("div",{className:"bulk-row",children:[(0,a.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:11,color:"#555",width:24,flexShrink:0},children:[t+1,"."]}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:12,color:"#ccc",flex:1,letterSpacing:"0.04em",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e}),(0,a.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"center",flexShrink:0},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:(0,T.z4)(e).color},children:(0,T.z4)(e).label}),(0,a.jsx)(I,{text:e})]})]},t))})]})]})]})}let G=["hipaa","pci","soc2","iso27001","nist","dod","quantum"];
1function J(e){let{compliance:t,onSelect:n,activePreset:r}=e,[o,i]=(0,l.useState)(!1),s=e=>{if(G.includes(e.toLowerCase())){let e=L();if("team"!==e&&"enterprise"!==e){i(!0),setTimeout(()=>i(!1),3e3);return}}i(!1),n(e)};return(0,a.jsxs)("div",{style:{background:"#0a0a0c",border:"1px solid #141416",borderRadius:12,padding:"16px 20px"},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:10,marginBottom:12},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888",letterSpacing:"0.12em",textTransform:"uppercase"},children:"Compliance Mode"}),"none"!==t&&(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:r.color,letterSpacing:"0.08em"},children:r.desc})]}),(0,a.jsx)("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:Object.entries(y).map(e=>{let[n,r]=e,o=t===n,i=G.includes(n.toLowerCase()),l=L(),d=i&&"team"!==l&&"enterprise"!==l;return(0,a.jsxs)(c.E.button,{onClick:()=>s(n),whileTap:{scale:.96},animate:{boxShadow:o?"0 0 12px ".concat(r.color,"4d"):"0 0 0px rgba(200,255,0,0)"},transition:{duration:.3},className:"compliance-pill ".concat(o?"active":""),style:o?{borderColor:r.color,color:r.color,background:"".concat(r.color,"11")}:d?{opacity:.45}:{},title:d?"Available on Team plan":void 0,children:[d?"\uD83D\uDD12 ":"",r.label]},n)})}),o&&(0,a.jsxs)("div",{style:{marginTop:10,fontFamily:"var(--font-body)",fontSize:12,color:"#888",animation:"fadeIn .2s ease"},children:["Compliance presets are available on the Team plan."," ",(0,a.jsx)("a",{href:"/pricing#team",style:{color:"#C8FF00",textDecoration:"none",fontWeight:600},children:"Upgrade →"})]})]})}function Z(e){let{profession:t,customSeeds:n,customLabel:r,showOtherInput:o,otherValue:i,inputRef:s,onSelectProfession:l,onShowOther:c,onOtherChange:d,onOtherSubmit:p,onOtherCancel:u}=e;return(0,a.jsxs)("div",{style:{marginBottom:20},children:[(0,a.jsxs)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#777",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:10,display:"flex",justifyContent:"space-between"},children:[(0,a.jsx)("span",{children:"profession seed"}),r&&!o&&(0,a.jsxs)("span",{style:{color:"#C8FF0077",fontSize:9},children:["✦ ",r]})]}),!o&&(0,a.jsxs)("div",{style:{display:"flex",flexWrap:"wrap",gap:8},children:[b.map(e=>(0,a.jsx)(N,{label:e.label,active:t===e.id&&!n,onClick:()=>l(e.id)},e.id)),(0,a.jsx)(N,{label:n?"✦ ".concat(r):"+ Other",active:!!n,onClick:c,dashed:!n})]}),o&&(0,a.jsxs)("div",{style:{animation:"inputSlideIn 0.22s var(--ease-spring)"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:8,alignItems:"stretch",background:"#08080a",border:"1px solid #C8FF0044",borderRadius:8,padding:"4px 4px 4px 16px"},children:[(0,a.jsx)("input",{ref:s,type:"text",placeholder:"e.g. Pilot, Plumber, Chef…",value:i,onChange:e=>d(e.target.value),onKeyDown:e=>{"Enter"===e.key&&p(),"Escape"===e.key&&u()},style:{flex:1,background:"transparent",border:"none",outline:"none",fontFamily:"var(--font-mono)",fontSize:13,color:"#fff",letterSpacing:"0.04em",padding:"10px 0"}}),(0,a.jsx)("button",{onClick:p,disabled:!i.trim(),className:"use-it-btn ".concat(i.trim()?"active":""),children:"Use it →"})]}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginTop:8,padding:"0 2px"},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555",letterSpacing:"0.08em"}
1,children:"AI extracts keywords from your profession"}),(0,a.jsx)("button",{onClick:u,style:{background:"none",border:"none",fontFamily:"var(--font-mono)",fontSize:9,color:"#C8FF0066",cursor:"pointer",letterSpacing:"0.06em",transition:"color 0.15s"},onMouseEnter:e=>e.target.style.color="#C8FF00",onMouseLeave:e=>e.target.style.color="#C8FF0066",children:"← back"})]})]})]})}function Q(e){let{profession:t,customSeeds:n,customLabel:r,showOtherInput:o,otherValue:i,inputRef:s,onSelectProfession:d,onShowOther:u,onOtherChange:m,onOtherSubmit:g,onOtherCancel:h}=e,[x,f]=(0,l.useState)(null),[y,v]=(0,l.useState)(!1),[j,w]=(0,l.useState)([]),D=e=>{v(!0),setTimeout(()=>{let a=function(e){let t,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=z(t=a?[...a]:[...(b.find(t=>t.id===e)||b[0]).seeds]),o=t.filter(e=>e!==r),i=o.length>0?z(o):z(F),s=z(S);do n=String(C(900)+100);while(k.has(n));return{w1:r,adj:s,num:n,w2:i,full:"".concat(r,"-").concat(s,"-").concat(n,"-").concat(i)}}(t,void 0!==e?e:n);f(a),w(e=>[a.full,...e.filter(e=>e!==a.full)].slice(0,8)),v(!1)},220)},T=x?Math.round(2*Math.log2(40)+Math.log2(900)+Math.log2(8)):0,E=T>=40,N=["#C8FF00","#e8e8e8","#aaa","#fff"];return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{background:"#08080a",border:"1px solid #141416",borderRadius:10,padding:"20px 24px",marginBottom:24,minHeight:90,transition:"opacity 0.2s",opacity:y?.4:1},"aria-live":"polite",children:x?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{style:{display:"flex",gap:8,flexWrap:"wrap",marginBottom:14},children:[x.w1,x.adj,x.num,x.w2].map((e,t)=>(0,a.jsx)("span",{style:{background:"#111",border:"1px solid ".concat(0===t||3===t?"#C8FF0033":"#1e1e1e"),borderRadius:6,padding:"8px 16px",fontFamily:"var(--font-mono)",fontSize:15,color:N[t],letterSpacing:"0.04em"},children:e},t))}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:14},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:11,color:"#555",letterSpacing:"0.04em"},children:x.full}),(0,a.jsx)(I,{text:x.full})]}),(0,a.jsxs)("div",{style:{borderTop:"1px solid #111",paddingTop:12},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:8},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888",letterSpacing:"0.1em",textTransform:"uppercase"},children:"strength"}),(0,a.jsxs)("div",{style:{display:"flex",gap:10,alignItems:"center"},children:[(0,a.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555"},children:[T,"+ bits entropy"]}),(0,a.jsx)("span",{className:E?"unbreakable-label":"",style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#C8FF00",fontWeight:600},children:E?"Unbreakable ✦":"Strong"})]})]}),(0,a.jsx)("div",{style:{display:"flex",gap:4},children:[1,2,3,4].map(e=>(0,a.jsx)("div",{className:"strength-seg",style:{background:"#C8FF00"}},e))}),(0,a.jsxs)("div",{style:{marginTop:8,fontFamily:"var(--font-body)",fontSize:11,color:"#888"},children:["Estimated crack time: ",(0,a.jsx)("span",{style:{color:"#aaa"},children:"longer than the universe"})]})]})]}):(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:13,color:"#aaa"},children:"generate a passphrase —"})}),(0,a.jsx)(Z,{profession:t,customSeeds:n,customLabel:r,showOtherInput:o,otherValue:i,inputRef:s,onSelectProfession:d,onShowOther:u,onOtherChange:m,onOtherSubmit:()=>{g()},onOtherCancel:h}),(0,a.jsx)(c.E.button,{className:"btn-primary",...p.fn,style:{width:"100%",justifyContent:"center"},onClick:()=>D(),children:y?"Generating…":(0,a.jsxs)(a.Fragment,{children:["Generate passphrase ",(0,a.jsx)("span",{style:{fontSize:18},children:"→"})]})}),(0,a.jsxs)("p",{style:{fontFamily:"var(--font-body)",fontSize:11,color:"#aaa",textAlign:"center",marginTop:14,letterSpacing:"0.04em"},children:["Recommended by ",(0,a.jsx)("strong",{style:{color:"#bbb"},children:"NIST SP 800-63B"})," \xb7 Easier to remember \xb7 Just as strong"]}),(0,a.jsx)(R,{history:j,onClear:()=>w([])})]})}function U(){return(0,a.jsxs)("div",{style:{display:"flex",gap:8,flexWrap:"wrap",justifyContent:"center",padding:"16px 0 4px",borderTop:"1px solid #111",marginTop:20},role:"list","aria-label":"Security guarantees",children:[(0,a.jsx)(E,{label:"Never leaves your browser",type:"dot"}),(0,a.jsx)(E,{label:"Zero server contact",type:"shield"}),(0,a.jsx)(E,{label:"FIPS 140-3 entropy",type:"zero"}),(0,a.jsx)(E,{label:"NIST SP 800-63B",type:"check"})]})}function V(e){let{preset:t,visible:n}=e;return n&&t?(0,a.jsxs)("div",{style:{position:"fixed",bottom:32,left:"50%",transform:"translateX(-50%)",background:"#0d0d10",border:"1px solid ".concat(t.color,"44"),borderRadius:10,padding:"12px 24px",zIndex:1e3,display:"flex",alignItems:"center",gap:12,boxShadow:"0 8px 32px #000a, 0 0 0 1px ".concat(t.color,"22"),animation:"fadeUp .3s ease"},children:[(0,a.jsx)("span",{style:{width:8,height:8,borderRadius:"50%",background:t.color,flexShrink:0,display:"inline-block"}}),(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:600,color:"#fff"},children:[t.label," preset applied"]}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:11,color:"#888",marginTop:2},children:t.desc})]})]}):null}function X(){var e;let[t,n]=(0,l.useState)("password"),[r,o]=(0,l.useState)("dev"),[i,s]=(0,l.useState)(18),[d,u]=(0,l.useState)({upper:!0,num:!0,sym:!0}),[m,g]=(0,l.useState)("none"),[h,x]=(0,l.useState)(!1),[f,b]=(0,l.useState)("latin"),[j,S]=(0,l.useState)(!1),[F,k]=(0,l.useState)(""),[C,E]=(0,l.useState)(null),[I,W]=(0,l.useState)(""),[B,P]=(0,l.useState)(""),[A,M]=(0,l.useState)(!1),[L,_]=(0,l.useState)(!1),[G,Z]=(0,l.useState)([]),[X,Y]=(0,l.useState)(null),[K,$]=(0,l.useState)(!1),[ee,et]=(0,l.useState)(!1),[en,ea]=(0,l.useState)(!1),[er,eo]=(0,l.useState)(null),[ei,es]=(0,l.useState)(!1),[el,ec]=(0,l.useState)(!1),[ed,ep]=(0,l.useState)(!1),[eu,em]=(0,l.useState)(null),[eg,eh
1]=(0,l.useState)(!1),ex=(0,l.useRef)(null),ef=(0,l.useRef)(null),ey=(0,l.useRef)(null),eb=(0,T.z4)(B),ev=(0,T.ET)(B),ej=(0,T.Jx)(B),eS=y[m];function ew(){return new Date().toISOString().slice(0,10)}function eF(){try{let e=localStorage.getItem("passgeni_plan");if(e)return e}catch(e){}return"free"}let ek={free:{passwords:15,bulk:0,dnaScore:1,passphrase:3,seeds:5},pro:{passwords:150,bulk:25,dnaScore:999,passphrase:999,seeds:999},team:{passwords:999,bulk:500,dnaScore:999,passphrase:999,seeds:999},enterprise:{passwords:999,bulk:500,dnaScore:999,passphrase:999,seeds:999}};function eC(e){try{let t=JSON.parse(localStorage.getItem(e)||"{}");if(t.date!==ew())return 0;return t.count||0}catch(e){return 0}}function ez(e){try{let t=JSON.parse(localStorage.getItem(e)||"{}"),n=t.date===ew()?(t.count||0)+1:1;return localStorage.setItem(e,JSON.stringify({date:ew(),count:n})),n}catch(e){return 1}}async function eD(e){em(e);try{let t=await fetch("/api/generate-share-copy",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({platform:e})}),{copy:n}=await t.json(),a="twitter"===e?"https://twitter.com/intent/tweet?text=".concat(encodeURIComponent(n)):"https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fpassgeni.ai";window.open(a,"_blank","noopener,noreferrer")}catch(n){let t="twitter"===e?"https://twitter.com/intent/tweet?text="+encodeURIComponent("Generated a Post-Quantum password with @PassGeniAI today. passgeni.ai"):"https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fpassgeni.ai";window.open(t,"_blank","noopener,noreferrer")}!function(){try{localStorage.setItem("pq_unlocked_until",String(Date.now()+864e5))}catch(e){}}(),ec(!1),ep(!1),em(null)}(0,l.useEffect)(()=>{let{locked:e}=function(){try{let e=localStorage.getItem("pq_used_date"),t=localStorage.getItem("pq_unlocked_until");if(e&&e!==ew())return localStorage.removeItem("pq_used_date"),localStorage.removeItem("pq_unlocked_until"),{locked:!1};if(t&&Date.now()<Number(t))return{locked:!1};return t&&localStorage.removeItem("pq_unlocked_until"),{locked:!!e}}catch(e){return{locked:!1}}}();ec(e);let t=ek[eF()]||ek.free;eh(eC("pg_pw_count")>=t.passwords)},[]),(0,l.useEffect)(()=>{if(ed)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e);function e(e){ey.current&&!ey.current.contains(e.target)&&ep(!1)}},[ed]);let eT={arabic:"أبتثجحخدذرزسشصضطظعغفقكلمنهوي",french:"\xe0\xe2\xe6\xe7\xe9\xe8\xea\xeb\xee\xef\xf4œ\xf9\xfb\xfc\xff",german:"\xe4\xf6\xfc\xdf\xc4\xd6\xdc",spanish:"\xe1\xe9\xed\xf3\xfa\xf1\xfc\xbf\xa1",portuguese:"\xe3\xf5\xe2\xea\xf4\xe7\xe1\xe9\xed\xf3\xfa",russian:"абвгдеёжзийклмнопрстуфхцчшщъыьэюя",japanese:"あいうえおかきくけこさしすせそたちつてとなにぬねの",chinese:"安好中大学工人月日年时国地会来出",greek:"αβγδεζηθικλμνξοπρστυφχψω",hindi:"अआइईउऊएऐओऔकखगघचछजझटठडढणतथदधनपफबभमयरलवशषसह",korean:"가나다라마바사아자차카타파하",latin:""},eE=(0,l.useCallback)((e,t,n,a)=>{let o=ek[eF()]||ek.free;if(eC("pg_pw_count")>=o.passwords){eh(!0);return}_(!0),M(!1),setTimeout(()=>{var o,s;let l=void 0!==e?e:C,c=void 0!==a?a:h,p=D(void 0!==t?t:i,r,void 0!==n?n:d,l,c),u=eT[f]||"";if(u&&p.length>4){let e=p.split(""),t=Math.min(3,Math.floor(p.length/5));for(let n=0;n<t;n++){let t=Math.floor(Math.random()*e.length),n=u[Math.floor(Math.random()*u.length)];e[t]=n}p=e.join("")}let g=(o=p,s={seed:l?l[0]:r,compliance:"none"!==m?m:null,quantum:c,mode:"password"},{timestamp:new Date().toISOString(),entropySource:"crypto.getRandomValues() — FIPS 140-3 aligned",passwordLength:o.length,characterPool:s.pool||"calculated",professionSeed:s.seed||"none",complianceMode:s.compliance||"none",quantumMode:s.quantum||!1,entropyBits:Math.round(o.length*Math.log2(94)),generationMode:s.mode||"password",clientSide:!0,serverContact:!1});P(p),ez("pg_pw_count"),Y(g),Z(e=>[p,...e.filter(e=>e!==p)].slice(0,10)),_(!1),M(!0),c&&(function(){try{localStorage.setItem("pq_used_date",ew())}catch(e){}}(),ec(!0)),setTimeout(()=>M(!1),2e3)},200)},[C,i,d,h,r,f,m]);(0,l.useEffect)(()=>{eE(null)},[]);let eI=e=>{clearTimeout(ex.current),eo(e),es(!0),ex.current=setTimeout(()=>es(!1),3e3)},eN=e=>u(t=>({...t,[e]:!t[e]}));return(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:20}
1,children:[(0,a.jsx)(V,{preset:er,visible:ei}),(0,a.jsx)(J,{compliance:m,onSelect:e=>{if(g(e),"none"===e){x(!1);return}let t=y[e],n=Math.max(i,t.minLen);s(n);let a={upper:t.upper,num:t.num,sym:t.sym};u(a),"quantum"===e?x(!0):x(!1),eI(t),setTimeout(()=>{eE(null,n,a,"quantum"===e)},50)},activePreset:eS}),(0,a.jsxs)("div",{style:{background:"#0a0a0c",border:"1px solid #141416",borderRadius:16,overflow:"hidden",boxShadow:"0 40px 80px #00000088,0 0 0 1px #141416"},children:[(0,a.jsx)("div",{style:{display:"flex",borderBottom:"1px solid #1e1e1e"},role:"tablist",children:[["password","Password"],["passphrase","Passphrase"]].map(e=>{let[r,o]=e;return(0,a.jsx)("button",{role:"tab","aria-selected":t===r,onClick:()=>n(r),style:{flex:1,padding:"14px 0",fontFamily:"var(--font-mono)",fontSize:11,letterSpacing:"0.1em",textTransform:"uppercase",background:t===r?"#0c0c0e":"transparent",color:t===r?"#C8FF00":"#777",border:"none",borderBottom:t===r?"1px solid #C8FF00":"1px solid transparent",cursor:"pointer",transition:"all 0.2s"},children:o},r)})}),(0,a.jsx)("div",{style:{padding:"28px 28px 32px"},children:"password"===t?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(H,{password:B,generating:L,strength:eb,entropy:ev,crackTime:ej,isNew:A}),(0,a.jsxs)("div",{style:{display:"flex",gap:8,marginTop:10,marginBottom:4,flexWrap:"wrap",position:"relative"},children:[(0,a.jsx)(N,{label:K?"Hide DNA Score":"Show DNA Score",active:K,onClick:()=>{K||ez("pg_dna_count"),$(e=>!e)}}),(0,a.jsx)(N,{label:en?"Hide Audit Log":"Show Audit Log",active:en,onClick:()=>ea(e=>!e)}),(0,a.jsx)(N,{label:ee?"Close Bulk":"Bulk Generator",active:ee,onClick:()=>et(e=>!e)}),(0,a.jsxs)("div",{style:{position:"relative"},children:[(0,a.jsx)(N,{label:el?"\uD83D\uDD12 Post-Quantum":h?"⚡ Quantum ON":"Post-Quantum Mode",active:h&&!el,onClick:()=>{if(el){ep(e=>!e);return}x(e=>!e),"quantum"!==m&&g("none")}}),ed&&(0,a.jsxs)("div",{ref:ey,style:{position:"absolute",top:"calc(100% + 10px)",left:0,zIndex:300,background:"rgba(8,8,11,0.97)",border:"1px solid rgba(200,255,0,0.14)",borderRadius:14,padding:"20px 20px 16px",width:300,animation:"fadeIn .18s ease",boxShadow:"0 24px 56px rgba(0,0,0,0.8),0 0 0 1px rgba(200,255,0,0.04),inset 0 1px 0 rgba(200,255,0,0.06)",backdropFilter:"blur(16px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",marginBottom:10},children:[(0,a.jsx)("div",{style:{width:32,height:32,borderRadius:8,flexShrink:0,background:"linear-gradient(135deg,rgba(200,255,0,0.18),rgba(200,255,0,0.04))",border:"1px solid rgba(200,255,0,0.2)",display:"flex",alignItems:"center",justifyContent:"center",fontSize:15},children:"⚛️"}),(0,a.jsx)("button",{onClick:()=>ep(!1),style:{background:"none",border:"none",color:"#555",fontSize:18,cursor:"pointer",lineHeight:1,padding:"2px 4px",transition:"color .15s"},onMouseEnter:e=>e.currentTarget.style.color="#aaa",onMouseLeave:e=>e.currentTarget.style.color="#555","aria-label":"Dismiss",children:"\xd7"})]}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:14,fontWeight:700,color:"#fff",marginBottom:6,lineHeight:1.4,letterSpacing:"-.01em"},children:"Daily limit reached."}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:12.5,color:"#666",marginBottom:16,lineHeight:1.65},children:"Free tier includes 1 Post-Quantum password per day — yours is protected. Resets at midnight, or unlock unlimited right now."}),(0,a.jsxs)("a",{href:"/pricing",style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"var(--accent)",color:"#000",fontFamily:"var(--font-body)",fontSize:12,fontWeight:800,letterSpacing:".04em",textTransform:"uppercase",borderRadius:8,padding:"10px 14px",textDecoration:"none",marginBottom:12,transition:"opacity .15s"},onMouseEnter:e=>e.currentTarget.style.opacity=".88",onMouseLeave:e=>e.currentTarget.style.opacity="1",children:[(0,a.jsx)("span",{children:"Upgrade to Pro"}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,fontWeight:400,opacity:.7},children:"$9 / mo \xb7 150/day"})]}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:10,marginBottom:12},children:[(0,a.jsx)("div",{style:{flex:1,height:1,background:"linear-gradient(90deg,transparent,#1e1e1e)"}}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:10,
1color:"#444",letterSpacing:".08em",textTransform:"uppercase",flexShrink:0},children:"or stay free"}),(0,a.jsx)("div",{style:{flex:1,height:1,background:"linear-gradient(90deg,#1e1e1e,transparent)"}})]}),(0,a.jsxs)("div",{style:{fontFamily:"var(--font-body)",fontSize:11,color:"#555",marginBottom:8,lineHeight:1.5},children:["Share PassGeni and unlock ",(0,a.jsx)("span",{style:{color:"var(--accent)",fontWeight:700},children:"+15 passwords"})," for 24 hours:"]}),(0,a.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[(0,a.jsxs)("button",{onClick:()=>eD("twitter"),disabled:!!eu,style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"rgba(200,255,0,0.05)",border:"1px solid rgba(200,255,0,0.12)",color:"#C8FF00",fontSize:12,borderRadius:8,padding:"9px 12px",fontFamily:"var(--font-body)",fontWeight:600,cursor:eu?"not-allowed":"pointer",opacity:"twitter"===eu?.5:1,transition:"background .15s,border-color .15s"},onMouseEnter:e=>{eu||(e.currentTarget.style.background="rgba(200,255,0,0.1)",e.currentTarget.style.borderColor="rgba(200,255,0,0.25)")},onMouseLeave:e=>{e.currentTarget.style.background="rgba(200,255,0,0.05)",e.currentTarget.style.borderColor="rgba(200,255,0,0.12)"},children:[(0,a.jsx)("span",{children:"twitter"===eu?"Opening…":"\uD835\uDD4F  Share on X"}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,opacity:.6,fontWeight:400},children:"+15 passwords"})]}),(0,a.jsxs)("button",{onClick:()=>eD("linkedin"),disabled:!!eu,style:{display:"flex",alignItems:"center",justifyContent:"space-between",background:"rgba(200,255,0,0.05)",border:"1px solid rgba(200,255,0,0.12)",color:"#C8FF00",fontSize:12,borderRadius:8,padding:"9px 12px",fontFamily:"var(--font-body)",fontWeight:600,cursor:eu?"not-allowed":"pointer",opacity:"linkedin"===eu?.5:1,transition:"background .15s,border-color .15s"},onMouseEnter:e=>{eu||(e.currentTarget.style.background="rgba(200,255,0,0.1)",e.currentTarget.style.borderColor="rgba(200,255,0,0.25)")},onMouseLeave:e=>{e.currentTarget.style.background="rgba(200,255,0,0.05)",e.currentTarget.style.borderColor="rgba(200,255,0,0.12)"},children:[(0,a.jsx)("span",{children:"linkedin"===eu?"Opening…":"in  Share on LinkedIn"}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,opacity:.6,fontWeight:400},children:"+15 passwords"})]})]})]})]})]}),K&&(0,a.jsx)(O,{password:B}),en&&X&&(0,a.jsxs)("div",{style:{background:"#08080a",border:"1px solid #141416",borderRadius:10,padding:"16px 20px",marginTop:12,animation:"fadeIn 0.3s ease"},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888",letterSpacing:"0.12em",textTransform:"uppercase",marginBottom:12},children:"Open Audit Log"}),Object.entries(X).map(e=>{let[t,n]=e;return(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",padding:"6px 0",borderBottom:"1px solid #0e0e10",gap:16},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#666",letterSpacing:"0.06em"},children:t}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#aaa",textAlign:"right"},children:String(n)})]},t)})]}),(0,a.jsxs)("div",{style:{marginTop:20,marginBottom:20},children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",marginBottom:12},children:[(0,a.jsx)("label",{htmlFor:"pw-len",style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#888",letterSpacing:"0.12em",textTransform:"uppercase"},children:"length"}),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:11,color:"#C8FF00",fontWeight:600},children:[i," characters"]})]}),(0,a.jsx)("input",{id:"pw-len",type:"range",min:"none"!==m?eS.minLen:8,max:32,value:i,onChange:e=>s(+e.target.value)})]}),(0,a.jsxs)("div",{style:{display:"flex",gap:8,marginBottom:24,flexWrap:"wrap",alignItems:"center"},role:"group","aria-label":"Character options",children:[[["sym","Symbols"],["num","Numbers"],["upper","A-Z"]].map(e=>{let[t,n]=e;return(0,a.jsx)(N,{label:n,active:d[t],onClick:()=>eN(t)},t)}),(0,a.jsxs)("select",{value:f,onChange:e=>b(e.target.value),style:{background:"#0c0c0e",border:"1px solid #222",borderRadius:100,padding:"6px 14px",fontFamily:"var(--font-mono)",fontSize:10,
1color:"#aaa",cursor:"pointer",outline:"none",letterSpacing:"0.06em"},title:"Password character language",children:[(0,a.jsx)("option",{value:"latin",children:"\uD83C\uDF10 English (Default)"}),(0,a.jsx)("option",{value:"arabic",children:"\uD83C\uDDE6\uD83C\uDDEA Arabic"}),(0,a.jsx)("option",{value:"french",children:"\uD83C\uDDEB\uD83C\uDDF7 French"}),(0,a.jsx)("option",{value:"german",children:"\uD83C\uDDE9\uD83C\uDDEA German"}),(0,a.jsx)("option",{value:"spanish",children:"\uD83C\uDDEA\uD83C\uDDF8 Spanish"}),(0,a.jsx)("option",{value:"portuguese",children:"\uD83C\uDDE7\uD83C\uDDF7 Portuguese"}),(0,a.jsx)("option",{value:"russian",children:"\uD83C\uDDF7\uD83C\uDDFA Russian"}),(0,a.jsx)("option",{value:"japanese",children:"\uD83C\uDDEF\uD83C\uDDF5 Japanese"}),(0,a.jsx)("option",{value:"chinese",children:"\uD83C\uDDE8\uD83C\uDDF3 Chinese"}),(0,a.jsx)("option",{value:"greek",children:"\uD83C\uDDEC\uD83C\uDDF7 Greek"}),(0,a.jsx)("option",{value:"hindi",children:"\uD83C\uDDEE\uD83C\uDDF3 Hindi"}),(0,a.jsx)("option",{value:"korean",children:"\uD83C\uDDF0\uD83C\uDDF7 Korean"})]})]}),(0,a.jsx)(c.E.button,{className:"btn-primary",...p.fn,style:{width:"100%",justifyContent:"center"},onClick:()=>eE(),children:L?"Generating…":"Generate Secure Password →"}),eg&&(0,a.jsxs)("div",{style:{marginTop:12,background:"#0a0a0c",border:"1px solid #1e1e1e",borderRadius:10,padding:"14px 18px",animation:"fadeIn .2s ease"},children:[(0,a.jsxs)("div",{style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:600,color:"#fff",marginBottom:6},children:["You've used your ",(null===(e=ek[eF()])||void 0===e?void 0:e.passwords)||15," free passwords today."]}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:12,color:"#777",marginBottom:10,lineHeight:1.6},children:"Come back tomorrow — or upgrade to Pro for 150/day."}),(0,a.jsx)("a",{href:"/pricing#pro",style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:700,color:"#C8FF00",textDecoration:"none"},children:"Upgrade to Pro →"})]}),(0,a.jsx)(U,{}),(0,a.jsx)(R,{history:G,onClear:()=>Z([])})]}):(0,a.jsx)(Q,{profession:r,customSeeds:C,customLabel:I,showOtherInput:j,otherValue:F,inputRef:ef,onSelectProfession:e=>{ez("pg_seed_count"),o(e),E(null),W(""),k(""),S(!1)},onShowOther:()=>{S(!0),setTimeout(()=>{var e;return null===(e=ef.current)||void 0===e?void 0:e.focus()},60)},onOtherChange:e=>k(e),onOtherSubmit:()=>{let e=F.trim();if(!e)return;let t=function(e){let t=e.trim().toLowerCase();for(let[e,n]of Object.entries(v))if(t.includes(e))return n;let n=t.split(/\s+/).filter(e=>e.length>3);return n.length>=2?[n[0].slice(0,8),n[1].slice(0,8)]:1===n.length?[n[0].slice(0,8),z(w)]:[z(w),z(w)]}(e);E(t),W(e),S(!1),eE(t)},onOtherCancel:()=>{S(!1),k("")}})})]}),ee&&(0,a.jsx)(q,{profession:r,opts:d,length:i,customSeeds:C,quantumMode:h})]})}let Y=["Microsoft","Google","Amazon","Stripe","Shopify","Cloudflare","GitHub","Atlassian","Twilio","Okta","Datadog","HashiCorp","Vercel","MongoDB","Elastic"];function K(){return(0,a.jsxs)("div",{style:{borderTop:"1px solid rgba(200,255,0,0.05)",paddingTop:24,paddingBottom:24,overflow:"hidden",position:"relative"},children:[(0,a.jsx)("div",{style:{textAlign:"center",marginBottom:14},children:(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:11,fontWeight:500,color:"var(--muted-2)",letterSpacing:".12em",textTransform:"uppercase"},children:"Trusted by security teams at"})}),(0,a.jsxs)("div",{style:{position:"relative"},children:[(0,a.jsx)("div",{style:{position:"absolute",left:0,top:0,bottom:0,width:80,background:"linear-gradient(to right,var(--bg),transparent)",zIndex:2,pointerEvents:"none"}}),(0,a.jsx)("div",{style:{position:"absolute",right:0,top:0,bottom:0,width:80,background:"linear-gradient(to left,var(--bg),transparent)",zIndex:2,pointerEvents:"none"}}),(0,a.jsx)("div",{className:"logos-track",onMouseEnter:e=>e.currentTarget.style.animationPlayState="paused",onMouseLeave:e=>e.currentTarget.style.animationPlayState="running",children:[...Y,...Y].map((e,t)=>(0,a.jsx)("span",{className:"logo-item",children:e},t))})]})]})}function $(){return(0,a.jsxs)("section",{id:"how",style:{padding:"var(--section) var(--pad)",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{className:"section-header",children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:d.sD.eyebrow}),(0,a.jsx)(c.E.h2,{...p.gH,style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(26px,5vw,52px)",color:"var(--text)",letterSpacing:"-.03em",lineHeight:1.05,maxWidth:520,margin:"0 auto",whiteSpace:"pre-line"},children:d.sD.headline})]}),(0,a.jsx)("div",{className:"grid-cards",children:d.sD.steps.map((e,t)=>(0,a.jsxs)(c.E.article,{...(0,p.xX)(t),className:"bc bc-a",children:[(0,a.jsx)("div",{className:"bc-line"}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:10,fontWeight:700,color:"var(--accent)",letterSpacing:".14em",marginBottom:16,textTransform:"uppercase"},children:e.step}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(16px,2.5vw,20px)",color:"var(--text)",marginBottom:12,letterSpacing:"-.02em"},children:e.title}),(0,a.jsx)("p",{style:{fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.8,flex:1,marginBottom:20},children:e.body}),(0,a.jsx)("div",{style:{display:"inline-block",background:"rgba(200,255,0,0.06)",border:"1px solid rgba(200,255,0,0.15)",borderRadius:6,padding:"5px 12px",fontFamily:"var(--font-body)",fontSize:10,fontWeight:600,color:"rgba(200,255,0,.7)",letterSpacing:".06em"},children:e.accent})]},e.step))})]})}function ee(){return(0,a.jsxs)("section",{id:"features",style:{padding:"0 var(--pad) var(--section)",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{className:"section-header",children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:d.h6.eyebrow}),(0,a.jsxs)(c.E.h2,{...p.gH,style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(26px,5vw,52px)",color:"var(--text)",letterSpacing:"-.03em"},children:["Not just random.",(0,a.jsx)("br",{}),(0,a.jsx)("span",{style:{color:"var(--accent)"},children:"Reasoned."})]})]}),(0,a.jsx)("div",{className:"grid-cards",children:d.h6.items.slice(0,6).map((e,t)=>(0,a.jsxs)(c.E.article,{...(0,p.xX)(t),className:"bc bc-a",children:[(0,a.jsx)("div",{className:"bc-line"}
1),(0,a.jsx)("div",{style:{fontSize:"clamp(22px,3.5vw,28px)",marginBottom:16,color:"var(--accent)",lineHeight:1},children:e.icon}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(15px,2vw,17px)",color:"var(--text)",marginBottom:10,letterSpacing:"-.02em",lineHeight:1.3},children:e.title}),(0,a.jsx)("p",{style:{fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.8},children:e.body})]},e.title))})]})}function et(){return(0,a.jsxs)("section",{style:{padding:"0 var(--pad) var(--section)",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{className:"section-header",children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:d.Bg.eyebrow}),(0,a.jsxs)(c.E.h2,{...p.gH,style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(26px,5vw,52px)",color:"var(--text)",letterSpacing:"-.03em"},children:["Everything you need.",(0,a.jsx)("br",{}),(0,a.jsx)("span",{style:{color:"var(--accent)"},children:"Nothing you don't."})]})]}),(0,a.jsx)("div",{className:"grid-cards",children:d.Bg.items.slice(0,6).map((e,t)=>(0,a.jsxs)(c.E.a,{...(0,p.xX)(t),href:e.href,className:"bc bc-a",style:{textDecoration:"none"},children:[(0,a.jsx)("div",{className:"bc-line"}),(0,a.jsx)("div",{style:{fontSize:"clamp(22px,3.5vw,28px)",marginBottom:14,lineHeight:1},children:e.icon}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(15px,2vw,17px)",color:"var(--text)",marginBottom:8,flex:1},children:e.title}),(0,a.jsx)("p",{style:{fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.75,marginBottom:14},children:e.body}),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-body)",fontSize:12,fontWeight:600,color:"var(--accent)",letterSpacing:".04em"},children:[e.label," →"]})]},e.title))})]})}function en(){let e=d.aP.featured||[],t=e.slice(0,3),n=e.slice(3,6);return(0,a.jsx)("section",{style:{padding:"0 var(--pad) var(--section)"},children:(0,a.jsxs)("div",{style:{maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{style:{marginBottom:"clamp(32px,5vw,52px)",textAlign:"center"},children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:d.aP.eyebrow}),(0,a.jsx)(W,{children:d.aP.headline})]}),(0,a.jsx)("div",{className:"testimonials-grid",style:{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:"clamp(12px,2vw,20px)",marginBottom:"clamp(12px,2vw,20px)"},children:t.map((e,t)=>(0,a.jsx)(ea,{t:e,delay:.08*t},t))}),(0,a.jsx)("div",{className:"testimonials-grid",style:{display:"grid",gridTemplateColumns:"repeat(3,1fr)",gap:"clamp(12px,2vw,20px)"},children:n.map((e,t)=>(0,a.jsx)(ea,{t:e,delay:.08*t},t))})]})})}function ea(e){let{t,delay:n=0}=e;return(0,a.jsxs)(c.E.article,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-40px"},transition:{duration:.5,ease:"easeOut",delay:n},whileHover:{y:-6},className:"bc bc-a",style:{display:"flex",flexDirection:"column",gap:0,cursor:"default",position:"relative",overflow:"hidden"},children:[(0,a.jsx)("div",{className:"bc-line"}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:16},children:[(0,a.jsx)("div",{style:{display:"flex",gap:3},children:Array(t.stars||5).fill(0).map((e,t)=>(0,a.jsx)("span",{style:{color:"var(--accent)",fontSize:13,lineHeight:1},children:"★"},t))}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-heading)",fontSize:48,lineHeight:1,color:"rgba(200,255,0,0.06)",fontWeight:800,userSelect:"none",marginTop:-8},children:"“"})]}),(0,a.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"clamp(13px,1.4vw,14.5px)",color:"var(--muted)",lineHeight:1.8,flex:1,margin:"0 0 20px"},children:t.text}),(0,a.jsx)("div",{style:{height:1,background:"linear-gradient(90deg,rgba(200,255,0,0.12),transparent)",marginBottom:16}}),(0,a.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12},children:[(0,a.jsx)("div",{style:{width:40,height:40,borderRadius:"50%",flexShrink:0,background:"linear-gradient(135deg,rgba(200,255,0,0.18) 0%,rgba(200,255,0,0.04) 100%)",border:"1px solid rgba(200,255,0,0.18)",boxShadow:"0 0 16px rgba(200,255,0,0.08)",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"var(--font-body)",fontSize:12,fontWeight:800,color:"rgba(200,255,0,0.8)",letterSpacing:".04em"},children:t.avatar||t.name.split(" ").map(e=>e[0]).join("").slice(0,2)}),(0,a.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontWeight:700,fontSize:14,color:"var(--text)",lineHeight:1.2,marginBottom:3},children:t.name}),(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:11,color:"var(--muted-2)",letterSpacing:".04em"},children:t.role})]}),(0,a.jsx)("div",{style:{width:7,height:7,borderRadius:"50%",background:"var(--accent)",boxShadow:"0 0 8px var(--accent)",flexShrink:0,opacity:.6}})]})]})}function er(){let[e,t]=(0,l.useState)(null);return(0,a.jsxs)("section",{id:"faq",style:{padding:"0 var(--pad) var(--section)",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{className:"section-header",children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:d.Z0.eyebrow}),(0,a.jsx)(W,{children:d.Z0.headline})]}),(0,a.jsx)("div",{style:{maxWidth:720,margin:"0 auto"},children:d.Z0.items.map((n,r)=>(0,a.jsxs)("div",{className:"faq-item",onClick:()=>t(e===r?null:r),children:[(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:"clamp(12px,3vw,24px)"},children:[(0,a.jsxs)("div",{style:{display:"flex",gap:"clamp(12px,2vw,18px)",alignItems:"center"},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:11,fontWeight:700,color:"rgba(200,255,0,.45)",letterSpacing:".1em",flexShrink:0,minWidth:24},children:String(r+1).padStart(2,"0")}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(14px,2.5vw,17px)",fontWeight:700,color:e===r?"var(--accent)":"var(--text)",margin:0,lineHeight:1.4},children:n.question})]}),(0,a.jsx)(c.E.span,{animate:{rotate:e===r?45:0},transition:{duration:.2},style:{color:"var(--accent)",fontSize:"clamp(18px,2.5vw,22px)",flexShrink:0,display:"block",originX:"50%",originY:"50%"},children:"+"})]}),(0,a.jsx)(A.M,{initial:!1,children:e===r&&(0,a.jsx)(c.E.div,{initial:{height:0,opacity:0}
1,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.3,ease:"easeOut"},style:{overflow:"hidden"},children:(0,a.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.85,marginTop:14,paddingLeft:"clamp(26px,4vw,42px)"},children:n.answer})},"answer")})]},r))})]})}function eo(){return(0,a.jsxs)("section",{style:{padding:"0 var(--pad) var(--section)",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{className:"section-header",children:[(0,a.jsx)("div",{className:"eyebrow",style:{justifyContent:"center"},children:"From the blog"}),(0,a.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(24px,5vw,44px)",color:"var(--text)",letterSpacing:"-.03em"},children:"Latest posts."})]}),(0,a.jsx)("div",{className:"grid-cards",children:[{slug:"pci-dss-v4-password-changes-explained",title:"PCI-DSS v4.0 Raised the Password Bar. Here's What You Missed.",excerpt:"The March 2024 deadline passed. Here is what changed and what auditors will check.",category:"Compliance",color:"#ffb74d",readTime:6,date:"Jan 10, 2025"},{slug:"why-password-complexity-rules-backfire",title:"Why Password Complexity Rules Make You Less Secure",excerpt:"Requiring uppercase, a number, and a symbol teaches users to choose P@ssw0rd.",category:"Research",color:"#ce93d8",readTime:5,date:"Jan 14, 2025"},{slug:"announcing-passgeni-v2",title:"PassGeni V2: DNA Score, Compliance Presets, and 6 New Tools",excerpt:"Everything that shipped in V2 — DNA Score, six new free tools, HIPAA and PCI-DSS presets.",category:"Product",color:"#81c784",readTime:4,date:"Jan 20, 2025"}].map(e=>(0,a.jsxs)("a",{href:"/blog/".concat(e.slug),className:"bc bc-a",style:{textDecoration:"none"},children:[(0,a.jsx)("div",{className:"bc-line"}),(0,a.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:16,flexWrap:"wrap",gap:8},children:[(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:9,fontWeight:700,color:e.color,letterSpacing:".12em",textTransform:"uppercase",background:e.color+"18",padding:"4px 12px",borderRadius:100},children:e.category}),(0,a.jsxs)("span",{style:{fontFamily:"var(--font-body)",fontSize:11,color:"var(--muted-2)"},children:[e.readTime," min \xb7 ",e.date]})]}),(0,a.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(15px,2vw,17px)",color:"var(--text)",lineHeight:1.35,marginBottom:10,flex:1},children:e.title}),(0,a.jsx)("p",{style:{fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.75,marginBottom:16},children:e.excerpt}),(0,a.jsx)("span",{style:{fontFamily:"var(--font-body)",fontSize:12,fontWeight:600,color:"var(--accent)",letterSpacing:".04em"},children:"Read more →"})]},e.slug))}),(0,a.jsx)("div",{style:{textAlign:"center",marginTop:"clamp(24px,4vw,36px)"},children:(0,a.jsx)(c.E.a,{href:"/blog",whileHover:{scale:1.02},whileTap:{scale:.98},transition:{duration:.2},style:{fontFamily:"var(--font-body)",fontSize:13,fontWeight:600,color:"var(--accent)",letterSpacing:".04em",display:"inline-flex",alignItems:"center",gap:8,padding:"clamp(10px,1.5vw,12px) clamp(20px,3vw,28px)",border:"1px solid rgba(200,255,0,.2)",borderRadius:8,transition:"border-color .2s,background .2s"},onMouseEnter:e=>{e.currentTarget.style.borderColor="rgba(200,255,0,.4)",e.currentTarget.style.background="rgba(200,255,0,.04)"},onMouseLeave:e=>{e.currentTarget.style.borderColor="rgba(200,255,0,.2)",e.currentTarget.style.background="transparent"},children:"View all posts →"})})]})}function ei(){let[e,t]=(0,l.useState)(""),[n,r]=(0,l.useState)(!1),[o,i]=(0,l.useState)(!1);async function s(t){if(t.preventDefault(),e&&!o){i(!0);try{await fetch("/api/waitlist",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:e,type:"digest"})})}catch(e){}r(!0),i(!1)}}let u={background:"#0a0a0c",border:"1px solid #1e1e1e",borderRadius:14,padding:"clamp(28px,4vw,40px)",flex:"1 1 280px",display:"flex",flexDirection:"column"},m={fontFamily:"var(--font-body)",fontSize:10,fontWeight:700,color:"#C8FF00",letterSpacing:".14em",textTransform:"uppercase",marginBottom:14},g={fontFamily:"var(--font-body)",fontSize:11,color:"#444",marginTop:12,lineHeight:1.5};return(0,a.jsx)("section",{style:{margin:"0 auto clamp(60px,10vw,120px)",padding:"0 var(--pad)",maxWidth:1200},children:(0,a.jsxs)("div",{style:{display:"flex",gap:"clamp(16px,3vw,24px)",flexWrap:"wrap"},children:[(0,a.jsxs)("div",{style:u,children:[(0,a.jsx)("div",{style:m,children:d.J4.digest.eyebrow}),(0,a.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(20px,3vw,28px)",color:"var(--text)",letterSpacing:"-.03em",marginBottom:12,lineHeight:1.15},children:d.J4.digest.headline}),(0,a.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.75,marginBottom:24,flex:1},children:d.J4.digest.body}),n?(0,a.jsx)("div",{style:{fontFamily:"var(--font-body)",fontSize:14,fontWeight:600,color:"#C8FF00",padding:"12px 0"},children:d.J4.digest.success}):(0,a.jsxs)("form",{onSubmit:s,style:{display:"flex",gap:8,flexWrap:"wrap"},children:[(0,a.jsx)("input",{type:"email",required:!0,value:e,onCh
1ange:e=>t(e.target.value),placeholder:d.J4.digest.inputPlaceholder,style:{flex:1,minWidth:160,background:"rgba(255,255,255,0.04)",border:"1px solid #2a2a2a",borderRadius:8,padding:"10px 14px",fontFamily:"var(--font-body)",fontSize:14,color:"var(--text)",outline:"none"}}),(0,a.jsx)(c.E.button,{type:"submit",disabled:o,className:"btn-primary",...p.fn,style:{whiteSpace:"nowrap",padding:"10px 18px",fontSize:13},children:o?"…":d.J4.digest.cta})]}),(0,a.jsx)("p",{style:g,children:d.J4.digest.disclaimer})]}),(0,a.jsxs)("div",{style:u,children:[(0,a.jsx)("div",{style:m,children:d.J4.pdf.eyebrow}),(0,a.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(20px,3vw,28px)",color:"var(--text)",letterSpacing:"-.03em",marginBottom:12,lineHeight:1.15},children:d.J4.pdf.headline}),(0,a.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"var(--text-base)",color:"var(--muted)",lineHeight:1.75,marginBottom:24,flex:1},children:d.J4.pdf.body}),(0,a.jsx)(c.E.a,{href:d.J4.pdf.href,target:"_blank",rel:"noopener noreferrer",className:"btn-primary",...p.fn,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",padding:"12px 22px",fontSize:14,width:"fit-content"},children:d.J4.pdf.cta}),(0,a.jsx)("p",{style:g,children:d.J4.pdf.disclaimer})]})]})})}function es(){return(0,a.jsxs)("section",{id:"generator",style:{padding:"var(--section) var(--pad) 0",maxWidth:1200,margin:"0 auto"},children:[(0,a.jsxs)("div",{style:{textAlign:"center",marginBottom:"clamp(32px,5vw,56px)"},children:[(0,a.jsxs)("div",{style:{fontFamily:"var(--font-body)",fontSize:10,fontWeight:700,letterSpacing:".18em",textTransform:"uppercase",color:"var(--accent)",marginBottom:12,display:"flex",alignItems:"center",justifyContent:"center",gap:10},children:[(0,a.jsx)("span",{style:{display:"block",width:18,height:1,background:"var(--accent)",opacity:.6}}),d.en.eyebrow,(0,a.jsx)("span",{style:{display:"block",width:18,height:1,background:"var(--accent)",opacity:.6}})]}),(0,a.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(26px,5vw,52px)",color:"var(--text)",letterSpacing:"-.03em",lineHeight:1.05,marginBottom:12},children:d.en.headline}),(0,a.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"var(--text-base)",color:"var(--muted)",maxWidth:480,margin:"0 auto",lineHeight:1.75},children:d.en.subheadline})]}),(0,a.jsx)("div",{style:{background:"rgba(13,13,16,.85)",border:"1px solid rgba(200,255,0,.1)",borderRadius:"var(--radius-l)",overflow:"hidden",boxShadow:"0 0 0 1px rgba(200,255,0,.04),0 24px 64px rgba(0,0,0,.6)",maxWidth:800,margin:"0 auto"},children:(0,a.jsx)(X,{})}),(0,a.jsx)("div",{style:{maxWidth:1200,margin:"clamp(40px,5vw,64px) auto 0"},children:(0,a.jsx)(K,{})})]})}var el=n(9655);function ec(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("title",{children:"PassGeni — AI Password Generator | Zero Storage, Zero Knowledge"}),(0,a.jsx)("meta",{name:"description",content:"PassGeni is a free AI-powered password generator. Creates strong, memorable passwords based on your profession. Zero data storage. Client-side only. No account needed. NIST SP 800-63B compliant."}),(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),(0,a.jsx)("link",{rel:"canonical",href:"https://passgeni.ai"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:"https://passgeni.ai"}),(0,a.jsx)("meta",{property:"og:title",content:"PassGeni — AI Password Generator | Zero Storage, Zero Knowledge"}),(0,a.jsx)("meta",{property:"og:description",content:"Generate fortress-grade passwords tailored to your profession. Zero storage. Client-side only. Free forever."}),(0,a.jsx)("meta",{property:"og:image",content:"https://passgeni.ai/og-image.png"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:"PassGeni — AI Password Generator"}),(0,a.jsx)("meta",{name:"twitter:description",content:"Strong, memorable passwords built around your profession. Zero storage. NIST-compliant. Free."}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://passgeni.ai/og-image.png"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,el.oi)())}}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,el.yi)(d.Z0.items))}}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify((0,el.zP)())}})]}),(0,a.jsxs)("div",{style:{background:"var(--bg)",color:"var(--text)",minHeight:"100vh"},children:[(0,a.jsx)(i.Z,{}),(0,a.jsxs)("main",{children:[(0,a.jsx)(f,{}),(0,a.jsx)(es,{}),(0,a.jsx)($,{}),(0,a.jsx)(ee,{}),(0,a.jsx)(et,{}),(0,a.jsx)(en,{}),(0,a.jsx)(eo,{}),(0,a.jsx)(er,{}),(0,a.jsx)(ei,{})]}),(0,a.jsx)(s.Z,{})]})]})}},9655:function(e,t,n){"use strict";n.d(t,{Rp:function(){return o},oi:function(){return r},yi:function(){return i},zP:function(){return s}});var a=n(632);function r(){return{"@context":"https://schema.org","@graph":[{"@type":"SoftwareApplication",name:a.Ey.name,applicationCategory:"SecurityApplication",operatingSystem:"Web Browser",url:a.Ey.url,description:a.Ey.description,offers:{"@type":"Offer",price:"0",priceCurrency:"USD"},featureList:["AI-powered password generation","Zero data retention","NIST SP 800-63B compliance","HIPAA, PCI-DSS, SOC 2 presets","Post-quantum password mode","Password DNA Score"]},{"@type":"WebSite",name:a.Ey.name,url:a.Ey.url,potentialAction:{"@type":"SearchAction",target:"".concat(a.Ey.url,"/guides?q={search_term_string}"),"query-input":"required name=search_term_string"}},{"@type":"Organization",name:a.Ey.name,url:a.Ey.url,logo:"".concat(a.Ey.url,"/logo.png"),contactPoint:{"@type":"ContactPoint",email:a.Ey.email,contactType:"customer support"}}]}}function o(e){return{"@context":"https://schema.org","@type":"Article",headline:e.title,de
1scription:e.metaDescription||e.excerpt,url:"".concat(a.Ey.url,"/guides/").concat(e.slug),datePublished:e.publishedAt,dateModified:e.updatedAt||e.publishedAt,author:{"@type":"Organization",name:a.Ey.name,url:a.Ey.url},publisher:{"@type":"Organization",name:a.Ey.name,logo:{"@type":"ImageObject",url:"".concat(a.Ey.url,"/logo.png")}}}}function i(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:(e||[]).map(e=>({"@type":"Question",name:e.q||e.question||"",acceptedAnswer:{"@type":"Answer",text:e.a||e.answer||""}}))}}function s(){return{"@context":"https://schema.org","@type":"HowTo",name:"How to Generate a Secure Password with PassGeni",description:"Generate a cryptographically secure, profession-aware password in under 3 seconds.",step:[{"@type":"HowToStep",name:"Select your profession",text:"Choose your profession from the preset buttons or type a custom one. PassGeni extracts relevant seed words from your role."},{"@type":"HowToStep",name:"Set your preferences",text:"Adjust length, symbols, numbers, and uppercase. Optionally select a compliance preset for HIPAA, PCI-DSS, SOC 2, ISO 27001, or DoD."},{"@type":"HowToStep",name:"Generate and copy",text:"Click Generate. Your password is built entirely in your browser — nothing is sent to any server. Copy it to your clipboard."}]}}}},function(e){e.O(0,[122,730,271,888,774,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.