PageSourceSearch

https://www.passgeni.ai/_next/static/chunks/pages/blog/[slug]-ea7e2c563726ded0.js

js passgeni.ai collected 2026-10-05 15:43:38 UTC 15,826 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{9937:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return n(7078)}])},7078:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return b},default:function(){return S}});var r=n(5893),o=n(7294),a=n(1664),i=n.n(a),l=n(9008),s=n.n(l),c=n(7336),d=n(1398),p=n(6438),m=n(3452);function h(){let[e,t]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=()=>{let e=window.scrollY,n=document.documentElement.scrollHeight-window.innerHeight;t(n>0?Math.min(100,e/n*100):0)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.jsx)("div",{className:"reading-progress",style:{width:"".concat(e,"%")},role:"progressbar","aria-valuenow":Math.round(e),"aria-valuemin":0,"aria-valuemax":100,"aria-label":"Reading progress"})}function g(e){let{headings:t}=e,[n,a]=(0,o.useState)("");return((0,o.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&a(e.target.id)})},{rootMargin:"-64px 0px -70% 0px"});return t.forEach(t=>{let n=document.getElementById(t.id);n&&e.observe(n)}),()=>e.disconnect()},[t]),t.length<2)?null:(0,r.jsxs)("nav",{className:"toc-sidebar","aria-label":"Table of contents",children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:14},children:"Contents"}),t.map(e=>(0,r.jsx)("a",{href:"#".concat(e.id),className:"toc-item".concat(n===e.id?" active":""),style:{paddingLeft:3===e.level?24:12},children:e.text},e.id))]})}function f(e){let{title:t,url:n}=e,a=encodeURIComponent,i=[{key:"twitter",label:"Share on X",icon:"\uD835\uDD4F",href:"https://twitter.com/intent/tweet?text=".concat(a(t),"&url=").concat(a(n))},{key:"linkedin",label:"LinkedIn",icon:"in",href:"https://www.linkedin.com/shareArticle?mini=true&url=".concat(a(n),"&title=").concat(a(t))},{key:"whatsapp",label:"WhatsApp",icon:"\uD83D\uDCAC",href:"https://wa.me/?text=".concat(a(t+" "+n))},{key:"facebook",label:"Facebook",icon:"f",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(a(n))}],[l,s]=(0,o.useState)(!1),c=(0,o.useCallback)(()=>{navigator.clipboard.writeText(n).then(()=>{s(!0),setTimeout(()=>s(!1),2e3)})},[n]);return(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--muted-2)",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:14},children:"Share this post"}),(0,r.jsxs)("div",{className:"social-share",children:[i.map(e=>(0,r.jsxs)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"social-share-btn ".concat(e.key),"aria-label":e.label,children:[(0,r.jsx)("span",{style:{fontSize:13,fontWeight:700},children:e.icon}),(0,r.jsx)("span",{children:e.label})]},e.key)),(0,r.jsx)("button",{className:"social-share-btn copy-btn".concat(l?" copied":""),onClick:c,"aria-label":"Copy link",children:l?"✓ Copied!":"\uD83D\uDD17 Copy link"})]})]})}function x(e){let{faqs:t}=e,[n,a]=(0,o.useState)(null);return t&&0!==t.length?(0,r.jsxs)("section",{style:{marginTop:64,paddingTop:48,borderTop:"1px solid var(--border)"},children:[(0,r.jsx)("div",{className:"eyebrow",children:"Frequently asked questions"}),(0,r.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(22px,3vw,32px)",color:"#fff",marginBottom:32,letterSpacing:"-0.02em"},children:"Questions about this topic"}),(0,r.jsx)("div",{style:{maxWidth:720},children:t.map((e,t)=>(0,r.jsxs)("div",{className:"blog-faq-item",onClick:()=>a(n===t?null:t),children:[(0,r.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",gap:24},children:[(0,r.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontSize:"clamp(14px,1.6vw,16px)",fontWeight:700,color:n===t?"var(--accent)":"var(--text)",margin:0,lineHeight:1.45},children:e.q}),(0,r.jsx)("span",{style:{color:"var(--accent)",fontSize:18,flexShrink:0,transition:"transform 0.2s",transform:n===t?"rotate(45deg)":"none"},children:"+"})]}),n===t&&(0,r.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:"clamp(14px,1.5vw,16px)",color:"var(--muted)",lineHeight:1.9,marginTop:16,marginBottom:0,animation:"fadeIn 0.2s ease"},children:e.a})]},t))})]}):null}function u(e){let{text:t,keywords:n}=e;if(!n||0===n.length)return(0,r.jsx)(r.Fragment,{children:t});let o=RegExp("(".concat(n.map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),")"),"gi"),a=t.split(o);return(0,r.jsx)(r.Fragment,{children:a.map((e,t)=>n.some(t=>t.toLowerCase()===e.toLowerCase())?(0,r.jsx)("mark",{className:"keyword-highlight",children:e},t):e)})}function y(e){let t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],o=/\[([^\]]+)\]\(([^)]+)\)/g,a=[],l=0;for(;null!==(t=o.exec(e));)t.index>l&&a.push({type:"text",content:e.slice(l,t.index)}),a.push({type:"link",label:t[1],href:t[2]}),l=t.index+t[0].length;return l<e.length&&a.push({type:"text",content:e.slice(l)}),a.map((e,t)=>"link"===e.type?e.href.startsWith("http")?(0,r.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:e.label},t):(0,r.jsx)(i(),{href:e.href,children:e.label},t):(0,r.jsx)(u,{text:e.content,keywords:n},t))}function j(){let[e,t]=(0,o.useState)({helpful:0,interesting:0,shared:0}),[n,a]=(0,o.useState)({}),i=e=>{n[e]||(t(t=>({...t,[e]:t[e]+1})),a(t=>({...t,[e]:!0})))};return(0,r.jsxs)("div",{style:{marginTop:48,padding:"28px 32px",background:"#0a0a0c",border:"1px solid #141416",borderRadius:12},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,
1color:"var(--muted-2)",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:16},children:"Was this post useful?"}),(0,r.jsx)("div",{className:"reaction-widget",children:[{key:"helpful",emoji:"\uD83D\uDC4D",label:"Helpful"},{key:"interesting",emoji:"\uD83D\uDD25",label:"Interesting"},{key:"shared",emoji:"\uD83D\uDCE4",label:"Worth sharing"}].map(t=>{let{key:o,emoji:a,label:l}=t;return(0,r.jsxs)("button",{className:"reaction-btn".concat(n[o]?" active":""),onClick:()=>i(o),disabled:n[o],children:[(0,r.jsx)("span",{children:a}),(0,r.jsx)("span",{children:l}),e[o]>0&&(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"#C8FF00",marginLeft:4},children:e[o]})]},o)})})]})}function v(e){let{currentSlug:t,category:n}=e,o=m.E.filter(e=>e.slug!==t&&e.category===n).slice(0,3);return 0===o.length?null:(0,r.jsxs)("section",{style:{marginTop:64,paddingTop:48,borderTop:"1px solid #141416"},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--muted-2)",letterSpacing:"0.2em",textTransform:"uppercase",marginBottom:16},children:"More posts"}),(0,r.jsx)("h2",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(20px,2.5vw,28px)",color:"#fff",marginBottom:28},children:"Related reading"}),(0,r.jsx)("div",{className:"related-posts-grid",children:o.map(e=>(0,r.jsx)(i(),{href:"/blog/".concat(e.slug),style:{textDecoration:"none"},children:(0,r.jsxs)("article",{style:{background:"#0a0a0c",border:"1px solid #141416",borderRadius:10,overflow:"hidden",transition:"all 0.2s"},onMouseEnter:e=>{e.currentTarget.style.borderColor="#C8FF0033",e.currentTarget.style.transform="translateY(-2px)"},onMouseLeave:e=>{e.currentTarget.style.borderColor="#141416",e.currentTarget.style.transform="none"},children:[(0,r.jsx)("div",{style:{width:"100%",aspectRatio:"16/9",overflow:"hidden",background:"#060608"},children:(0,r.jsx)(p.Z,{category:e.category,slug:e.slug,title:e.title})}),(0,r.jsxs)("div",{style:{padding:"16px 18px"},children:[(0,r.jsx)("p",{style:{fontFamily:"var(--font-heading)",fontWeight:700,fontSize:14,color:"#fff",lineHeight:1.35,marginBottom:8},children:e.title}),(0,r.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--muted-2)",letterSpacing:"0.06em"},children:[e.readTime," min read →"]})]})]})},e.slug))})]})}var b=!0;function S(e){let{post:t}=e;if(!t)return(0,r.jsx)(d.Z,{children:(0,r.jsxs)("div",{style:{textAlign:"center",padding:"120px 20px"},children:[(0,r.jsx)("h1",{style:{fontFamily:"var(--font-heading)",color:"#fff",fontSize:32},children:"Post Not Found"}),(0,r.jsx)("p",{style:{color:"#888",marginTop:16},children:"This post doesn't exist."}),(0,r.jsx)(i(),{href:"/blog",className:"cta-primary",style:{marginTop:32,display:"inline-flex"},children:"← Back to Blog"})]})});let n="https://passgeni.ai/blog/".concat(t.slug),o=t.contentHtml?Array.from(t.contentHtml.matchAll(/<h2[^>]*>(.*?)<\/h2>/gi)).map((e,t)=>({id:"h-".concat(t),text:e[1].replace(/<[^>]+>/g,""),level:2})):(t.sections||[]).map((e,t)=>({id:"section-".concat(t),text:e.title,level:2}));return(0,r.jsxs)(d.Z,{children:[(0,r.jsxs)(s(),{children:[(0,r.jsxs)("title",{children:[t.title," | PassGeni"]}),(0,r.jsx)("meta",{name:"description",content:t.metaDescription||t.excerpt}),(0,r.jsx)("meta",{property:"og:title",content:t.title}),(0,r.jsx)("meta",{property:"og:description",content:t.excerpt}),(0,r.jsx)("meta",{property:"og:image",content:t.heroImage||"https://passgeni.ai/og-image.png"}),(0,r.jsx)("meta",{property:"og:url",content:n}),(0,r.jsx)("meta",{property:"og:type",content:"article"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("link",{rel:"canonical",href:n}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BlogPosting",headline:t.title,description:t.excerpt,image:t.heroImage,datePublished:t.publishedAt,author:{"@type":"Organization",name:"PassGeni"},publisher:{"@type":"Organization",name:"PassGeni",url:"https://passgeni.ai"}})}})]}),(0,r.jsx)(h,{}),(0,r.jsx)("div",{className:"blog-post-hero",children:(0,r.jsx)(p.Z,{category:t.category,slug:t.slug,title:t.title})}),(0,r.jsxs)("div",{style:{maxWidth:1200,margin:"0 auto",padding:"0 clamp(16px,4vw,60px)"},children:[(0,r.jsx)("nav",{"aria-label":"Breadcrumb",style:{padding:"20px 0 0",marginBottom:24},children:(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:8,fontFamily:"var(--font-mono)",fontSize:10,
1color:"var(--muted-2)",letterSpacing:"0.08em",flexWrap:"wrap"},children:[(0,r.jsx)(i(),{href:"/",style:{color:"var(--muted-2)",textDecoration:"none"},children:"PassGeni"}),(0,r.jsx)("span",{style:{color:"var(--border-2)"},children:"→"}),(0,r.jsx)(i(),{href:"/blog",style:{color:"var(--muted-2)",textDecoration:"none"},children:"Blog"}),(0,r.jsx)("span",{style:{color:"var(--border-2)"},children:"→"}),(0,r.jsx)("span",{style:{color:"var(--accent)",opacity:.7},children:t.category})]})}),(0,r.jsxs)("div",{className:"blog-post-layout",children:[(0,r.jsxs)(c.E.article,{initial:{opacity:0,y:24},animate:{opacity:1,y:0},transition:{duration:.6,ease:[.16,1,.3,1]},children:[(0,r.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:12,marginBottom:22,flexWrap:"wrap"},children:[(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:9,fontWeight:700,letterSpacing:"0.14em",textTransform:"uppercase",color:t.categoryColor||"var(--accent)",background:"".concat(t.categoryColor||"#C8FF00","18"),padding:"3px 10px",borderRadius:4},children:t.category}),(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--muted-2)",letterSpacing:"0.06em"},children:new Date(t.publishedAt).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}),(0,r.jsx)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--border-2)"},children:"\xb7"}),(0,r.jsxs)("span",{style:{fontFamily:"var(--font-mono)",fontSize:10,color:"var(--muted-2)",letterSpacing:"0.06em"},children:[t.readTime," min read"]})]}),(0,r.jsx)("h1",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:"clamp(28px,4vw,48px)",color:"#fff",marginBottom:22,letterSpacing:"-0.025em",lineHeight:1.1},children:t.title}),(0,r.jsx)("p",{style:{fontSize:"clamp(15px,1.6vw,18px)",color:"var(--muted)",lineHeight:1.85,marginBottom:36,borderLeft:"3px solid var(--accent)",paddingLeft:20},children:t.excerpt}),(0,r.jsx)("div",{style:{marginBottom:48,paddingBottom:36,borderBottom:"1px solid #141416"},children:(0,r.jsx)(f,{title:t.title,url:n})}),(0,r.jsx)("div",{className:"blog-content",children:t.contentHtml?(0,r.jsx)("div",{dangerouslySetInnerHTML:{__html:t.contentHtml}}):(t.sections||[]).map((e,n)=>(0,r.jsxs)("section",{id:"section-".concat(n),children:[(0,r.jsx)("h2",{children:e.title}),e.body.split("\n\n").map((e,n)=>{let o=t.keywords||[];if(e.startsWith("- ")||e.startsWith("• ")){let t=e.split("\n").filter(Boolean).map(e=>e.replace(/^[-•]\s*/,""));return(0,r.jsx)("ul",{children:t.map((e,t)=>(0,r.jsx)("li",{children:y(e,o)},t))},n)}return(0,r.jsx)("p",{children:y(e,o)},n)})]},n))}),t.keywords&&t.keywords.length>0&&(0,r.jsxs)("div",{style:{marginTop:40,paddingTop:32,borderTop:"1px solid #141416"},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:14},children:"Key topics"}),(0,r.jsx)("div",{style:{display:"flex",gap:8,flexWrap:"wrap"},children:t.keywords.map(e=>(0,r.jsx)("span",{className:"keyword-highlight",style:{cursor:"default",userSelect:"none"},children:e},e))})]}),(0,r.jsx)(j,{}),(0,r.jsx)("div",{style:{marginTop:40,paddingTop:32,borderTop:"1px solid #141416"},children:(0,r.jsx)(f,{title:t.title,url:n})}),(0,r.jsx)(x,{faqs:t.faqs}),(0,r.jsx)(v,{currentSlug:t.slug,category:t.category}),(0,r.jsx)("div",{style:{marginTop:60,paddingTop:40,borderTop:"1px solid #141416"},children:(0,r.jsx)(i(),{href:"/blog",style:{fontFamily:"var(--font-mono)",fontSize:12,color:"var(--accent)",textDecoration:"none",letterSpacing:"0.06em",display:"inline-flex",alignItems:"center",gap:8},children:"← Back to all posts"})})]}),(0,r.jsxs)("aside",{className:"blog-post-sidebar",style:{paddingTop:8},children:[(0,r.jsx)(g,{headings:o}),(0,r.jsxs)("div",{style:{marginTop:32,background:"#0a0a0c",border:"1px solid #C8FF0022",borderRadius:12,padding:"24px 20px"},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#C8FF0066",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:12},children:"Free tool"}),(0,r.jsx)("h3",{style:{fontFamily:"var(--font-heading)",fontWeight:800,fontSize:16,color:"#fff",marginBottom:10},children:"Generate a strong password now"}),(0,r.jsx)("p",{style:{fontFamily:"var(--font-body)",fontSize:12,color:"#888",lineHeight:1.7,marginBottom:16},children:"AI-seeded. Zero storage. NIST-compliant. Free forever."}),(0,r.jsx)(i(),{href:"/#generator",className:"cta-primary",style:{fontSize:12,padding:"10px 18px",width:"100%",justifyContent:"center",display:"flex"},children:"Try it free →"})]}),(0,r.jsxs)("div",{style:{marginTop:24,background:"#0a0a0c",border:"1px solid #141416",borderRadius:12,padding:"20px"},children:[(0,r.jsx)("div",{style:{fontFamily:"var(--font-mono)",fontSize:9,color:"#555",letterSpacing:"0.14em",textTransform:"uppercase",marginBottom:14},children:"Related tools"}),[{label:"AI Password Generator",href:"/#generator"},{label:"Password Strength Checker",href:"/tools/strength-checker"},{label:"Breach Checker",href:"/tools/breach-checker"},{label:"Passphrase Generator",href:"/#generator"}].map(e=>{let{label:t,href:n}=e;return(0,r.jsxs)(i(),{href:n,style:{display:"flex",alignItems:"center",justifyContent:"space-between",fontFamily:"var(--font-body)",fontSize:12,color:"#888",textDecoration:"none",padding:"8px 0",borderBottom:"1px solid #111",transition:"color 0.15s"},onMouseEnter:e=>e.currentTarget.style.color="#C8FF00",onMouseLeave:e=>e.currentTarget.style.color="#888",children:[t,(0,r.jsx)("span",{style:{color:"#C8FF0055",fontSize:10},children:"→"})]},t)})]})]})]})]}),(0,r.jsx)("div",{style:{height:80}})]})}}},function(e){e.O(0,[122,271,266,888,774,179],function(){return e(e.s=9937)}),_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.