1/*! For license information please see 6082.0408d3a5.chunk.js.LICENSE.txt */ 2"use strict";(self.webpackChunkstudent_management_app=self.webpackChunkstudent_management_app||[]).push([[6082],{268:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},14994:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]])},26082:(e,t,r)=>{r.r(t),r.d(t,{default:()=>q});var s=r(9950),a=r(73814),l=r(23849),i=r(56600),o=r(12434),n=r(36493),c=r(14994),d=r(60378),m=r(43654),x=r(39360),h=r(55551),g=r(92011),p=r(32630),u=r(7101);const b=(0,u.A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),y=(0,u.A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]]);var f=r(65253),v=r(268),_=r(99590);const N=(0,u.A)("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);var j=r(74291),w=r(95936);const k=(0,u.A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);var A=r(67092),C=r(44414);const S=[{phrase:"CNA training",url:"/register",title:"Register for CNA Training"},{phrase:"nursing assistant training",url:"/register",title:"Register for CNA Training"},{phrase:"caregiver training",url:"/register",title:"Register for Caregiver Training"},{phrase:"enroll now",url:"/register",title:"Enroll in CNA Training"},{phrase:"register for",url:"/register",title:"Register for Training"},{phrase:"verify enrollment",url:"/verify",title:"Verify Your Enrollment"},{phrase:"enrollment verification",url:"/verify",title:"Verify Your Enrollment"},{phrase:"DSHS approved",url:"/",title:"DSHS-Approved Training Center"},{phrase:"DSHS-approved",url:"/",title:"DSHS-Approved Training Center"},{phrase:"state exam",url:"/",title:"State Exam Information"},{phrase:"certification exam",url:"/",title:"Certification Information"},{phrase:"make a payment",url:"/guest-pay",title:"Make a Payment"}];const q=()=>{var e;const{slug:t}=(0,a.g)(),r=(0,a.Zp)(),[u,q]=(0,s.useState)(null),[M,T]=(0,s.useState)([]),[L,E]=(0,s.useState)(!0),[$,I]=(0,s.use
2State)(0),[H,z]=(0,s.useState)(!1),[D,B]=(0,s.useState)(!1);(0,s.useEffect)(()=>{const e=()=>{const e=window.scrollY,t=document.documentElement.scrollHeight-window.innerHeight;I(t>0?Math.min(e/t*100,100):0),z(e>600)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,s.useEffect)(()=>{window.scrollTo(0,0);(async()=>{E(!0);try{let o=(0,l.P)((0,l.rJ)(i.db,"blogPosts"),(0,l._M)("slug","==",t),(0,l._M)("status","==","published"),(0,l.AB)(1)),n=await(0,l.GG)(o);if(n.empty){const s=(0,l.H9)(i.db,"blogPosts",t),a=await(0,l.x7)(s);var e,r;if(a.exists()&&"published"===a.data().status)q({id:a.id,...a.data(),publishedAt:(null===(e=a.data().publishedAt)||void 0===e||null===(r=e.toDate)||void 0===r?void 0:r.call(e))||new Date})}else{var s,a;const e=n.docs[0];q({id:e.id,...e.data(),publishedAt:(null===(s=e.data().publishedAt)||void 0===s||null===(a=s.toDate)||void 0===a?void 0:a.call(s))||new Date})}}catch(o){console.error("Error fetching blog post:",o)}finally{E(!1)}})()},[t]),(0,s.useEffect)(()=>{if(null===u||void 0===u||!u.id)return;let e=!1;return(0,i.Ij)("recordBlogPostView",{postId:u.id}).then(t=>{!e&&Number.isFinite(Number(null===t||void 0===t?void 0:t.views))&&q(e=>(null===e||void 0===e?void 0:e.id)===u.id?{...e,views:Number(t.views)}:e)}).catch(e=>console.warn("Unable to record article view:",(null===e||void 0===e?void 0:e.message)||e)),()=>{e=!0}},[null===u||void 0===u?void 0:u.id]),(0,s.useEffect)(()=>{if(null===u||void 0===u||!u.category)return;(async()=>{try{const e=(0,l.P)((0,l.rJ)(i.db,"blogPosts"),(0,l._M)("status","==","published"),(0,l._M)("category","==",u.category),(0,l.My)("publishedAt","desc"),(0,l.AB)(4)),t=await(0,l.GG)(e);T(t.docs.filter(e=>e.id!==u.id).slice(0,3).map(e=>{var t,r;return{id:e.id,...e.data(),publishedAt:(null===(t=e.data().publishedAt)||void 0===t||null===(r=t.toDate)||void 0===r?void 0:r.call(t))||new Date}}))}catch(e){console.error("Error fetching related posts:",e)}})()},[u]),(0,s.useEffect)(()=>{var e;if(!u)return;const t=window.location.origin,r=`${t}/blog/${u.slug||u.id}`,s=u.title,a=u.metaDescription||u.excerpt||"",l=u.coverImage||`${t}/huduma-center-graduates.jpg`,i=u.publishedAt?new Date(u.publishedAt).toISOString():"";document.title=s;const o=(e,t,r)=>{let s=document.querySelector(`meta[${e}="${t}"]`);s||(s=document.createElement("meta"),s.setAttribute(e,t),document.head.appendChild(s)),s.setAttribute("content",r)};o("name","description",a),o("name","robots","index, follow, max-image-preview:large");let n=document.querySelector('link[rel="canonical"]');n||(n=document.createElement("link"),n.setAttribute("rel","canonical"),document.head.appendChild(n)),n.setAttribute("href",r),o("property","og:type","article"),o("property","og:url",r),o("property","og:title",s),o("property","og:description",a),o("property","og:image",l),o("property","og:site_name","CNA Training Blog"),i&&o("property","article:published_time",i),o("name","twitter:card","summary_large_image"),o("name","twitter:title",s),o("name","twitter:description",a),o("name","twitter:image",l);const c={"@context":"https://schema.org","@type":"BlogPosting",headline:u.title,description:a,image:l,author:{"@type":"Organization",name:u.author||"CNA Training Team"},publisher:{"@type":"Organization",name:"Caregiver Training and Huduma Center LLC",logo:{"@type":"ImageObject",url:`${t}/logo192.png`}},url:r,datePublished:i,mainEntityOfPage:{"@type":"WebPage","@id":r},...u.category?{articleSection:u.category}:{},...null!==(e=u.tags)&&void 0!==e&&e.length?{keywords:u.tags.join(", ")}:{}};let d=document.querySelector("script[data-blog-ld]");d||(d=document.createElement("script"),d.type="application/ld+json",d.setAttribute("data-blog-ld","true"),document.head.appendChild(d)),d.textContent=JSON.stringify(c);const m={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:t},{"@type":"ListItem",position:2,name:"Blog",item:`${t}/blog`},{"@type":"ListItem",position:3,name:u.title,item:r}]};let x=document.querySelector("script[data-breadcrumb-ld]");return x||(x=document.createElement("script"),x.type="application/ld+json",x.setAttribute("data-breadcrumb-ld","true"),document.head.appendChild(x)),x.textContent=JSON.stringify(m),()=>{document.title="CNA Training",d&&d.remove(),x&&x.remove();const e=document.querySelector('link[rel="canonical"]');e&&e.remove()}},[u]);const R=e=>e?new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"}):"",P=(0,s.useCallback)(e=>e?e.replace(/<[^>]*>
2/g,"").split(/\s+/).filter(Boolean).length:0,[]),O=(0,s.useMemo)(()=>u?function(e){if(!e)return[];const t=/<h([23])[^>]*>(.*?)<\/h[23]>/gi,r=[];let s;for(;null!==(s=t.exec(e));){const e=s[2].replace(/<[^>]*>/g,"").trim(),t=e.toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"-");r.push({level:parseInt(s[1]),text:e,id:t})}return r}(u.content):[],[u]),U=(0,s.useMemo)(()=>u?function(e){if(!e)return"";let t=e;t=t.replace(/<h([23])([^>]*)>(.*?)<\/h[23]>/gi,(e,t,r,s)=>`<h${t}${r} id="${s.replace(/<[^>]*>/g,"").trim().toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"-")}">${s}</h${t}>`);const r=new Set;for(const{phrase:s,url:a,title:l}of S){if(r.has(a))continue;const e=s.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),i=new RegExp(`(<p[^>]*>)((?:(?!<\\/p>).)*?)\\b(${e})\\b`,"i"),o=t.match(i);if(o){const e=o[2];(e.match(/<a /g)||[]).length<=(e.match(/<\/a>/g)||[]).length&&(t=t.replace(i,`$1$2<a href="${a}" title="${l}" class="text-blue-600 underline underline-offset-2 decoration-blue-200 hover:decoration-blue-500 font-medium">$3</a>`),r.add(a))}}return t}(u.content):"",[u]),W=async()=>{const e=window.location.href;if(navigator.share)try{await navigator.share({title:u.title,url:e})}catch{}else await navigator.clipboard.writeText(e),A.Ay.success("Link copied!")};return L?(0,C.jsx)("div",{className:"min-h-screen bg-white flex items-center justify-center",children:(0,C.jsxs)("div",{className:"text-center",children:[(0,C.jsx)("div",{className:"w-10 h-10 border-[3px] border-blue-600 border-t-transparent rounded-full animate-spin mx-auto mb-4"}),(0,C.jsx)("p",{className:"text-gray-400 text-sm",children:"Loading article..."})]})}):u?(0,C.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,C.jsx)("div",{className:"fixed top-0 left-0 right-0 z-[60] h-[3px] bg-gray-100",children:(0,C.jsx)("div",{className:"h-full bg-gradient-to-r from-blue-500 to-blue-600 transition-all duration-150 ease-out",style:{width:`${$}%`}})}),(0,C.jsx)("nav",{className:"bg-white/95 backdrop-blur-md border-b border-gray-100 sticky top-0 z-50",children:(0,C.jsx)("div",{className:"max-w-6xl mx-auto px-4 sm:px-6",children:(0,C.jsxs)("div",{className:"flex justify-between h-14 sm:h-16 items-center",children:[(0,C.jsx)(a.N_,{to:"/",className:"text-xl sm:text-2xl font-bold bg-gradient-to-r from-blue-600 to-blue-500 bg-clip-text text-transparent",children:"CNA Training"}),(0,C.jsxs)("div",{className:"flex items-center space-x-2 sm:space-x-4",children:[(0,C.jsx)(a.N_,{to:"/",className:"hidden sm:inline text-gray-500 hover:text-blue-600 text-sm font-medium transition-colors",children:"Home"}),(0,C.jsx)(a.N_,{to:"/blog",className:"text-blue-600 font-semibold text-sm",children:"Blog"}),(0,C.jsx)(a.N_,{to:"/register",className:"hidden sm:inline text-gray-500 hover:text-blue-600 text-sm font-medium transition-colors",children:"Register"}),(0,C.jsxs)(a.N_,{to:"/login",className:"flex items-center px-3 sm:px-4 py-1.5 sm:py-2 text-xs sm:text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-lg transition-colors",children:[(0,C.jsx)(c.A,{className:"h-3.5 w-3.5 mr-1"})," Login"]})]})]})})}),(0,C.jsx)("nav",{"aria-label":"Breadcrumb",className:"border-b border-gray-50 bg-gray-50/50",children:(0,C.jsx)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-2.5 sm:py-3",children:(0,C.jsxs)("ol",{className:"flex items-center text-xs sm:text-sm text-gray-400 space-x-1.5 overflow-hidden list-none p-0 m-0",children:[(0,C.jsx)("li",{className:"flex items-center flex-shrink-0",children:(0,C.jsx)(a.N_,{to:"/",className:"hover:text-blue-600 transition-colors",children:(0,C.jsx)(d.A,{className:"h-3.5 w-3.5"})})}),(0,C.jsx)("li",{className:"flex items-center flex-shrink-0",children:(0,C.jsx)(m.A,{className:"h-3 w-3 mx-0.5"})}),(0,C.jsx)("li",{className:"flex-shrink-0",children:(0,C.jsx)(a.N_,{to:"/blog",className:"hover:text-blue-600 transition-colors",children:"Blog"})}),(0,C.jsx)("li",{className:"flex items-center flex-shrink-0",children:(0,C.jsx)(m.A,{className:"h-3 w-3 mx-0.5"})}),(0,C.jsx)("li",{className:"text-gray-600 font-medium truncate","aria-current":"page",children:u.title})]})})}),u.coverImage&&(0,C.jsx)("div",{className:"w-full bg-gray-100",children:(0,C.jsx)("div",{className:"max-w-5xl mx-auto",children:(0,C.jsx)("img",{src:u.coverImage,alt:u.title,className:"w-full h-48 sm:h-64 md:h-80 lg:h-96 object-cover",onError:e=>{e.target.parentElement.parentElement.style.display="none"}})})}),(0,C.jsx)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6",children:(0,C.jsxs)("div",{className:"lg:grid lg:grid-cols-[1fr_220px] lg:gap-10",children:[(0,C.jsxs)("article",{className:"min-w-0",children:[(0,C.jsxs)("header",{className:(u.coverImage?"pt-8 sm:pt-10":"pt-10 sm:pt-14")+" pb-8",children:[(0,C.jsxs)("div",{className:"flex items-center flex-wrap gap-2 mb-4 sm:mb-5",children:[u.category&&(0,C.jsx)(a.N_,{to:`/blog?category=${encodeURIComponent(u.category)}`,className:"bg-blue-600 text-white text-xs font-semibold px-3 py-1 rounded-full hover:bg-blue-700 transition-colors",children:u.category}),(0,C.jsxs)("span",{className:"text-xs text-gray-400 flex items-center bg-gray-100 px-2.5 py-1 rounded-full",children:[(0,C.jsx)(x.A,{className:"h-3 w-3 mr-1"})," ",(F=u.content,`${Math.max(1,Math.ceil(P(F)/200))} min read`)]}),(0,C.jsxs)("span",{className:"text-xs text-gray-400 bg-gray-100 px-2.5 py-1 rounded-full",children:[P(u.content).toLocaleStr
2ing()," words"]}),(0,C.jsxs)("span",{className:"text-xs text-gray-400 flex items-center bg-gray-100 px-2.5 py-1 rounded-full",children:[(0,C.jsx)(h.A,{className:"h-3 w-3 mr-1"})," ",(Number(u.views)||0).toLocaleString()," views"]})]}),(0,C.jsx)("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-extrabold text-gray-900 leading-[1.15] tracking-tight mb-5 sm:mb-6",children:u.title}),u.excerpt&&(0,C.jsx)("p",{className:"text-base sm:text-lg text-gray-500 leading-relaxed mb-6 sm:mb-8",children:u.excerpt}),(0,C.jsxs)("div",{className:"flex items-center justify-between flex-wrap gap-4 pt-6 border-t border-gray-100",children:[(0,C.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,C.jsx)("div",{className:"h-11 w-11 rounded-full bg-gradient-to-br from-blue-500 to-blue-700 flex items-center justify-center shadow-sm",children:(0,C.jsx)(g.A,{className:"h-5 w-5 text-white"})}),(0,C.jsxs)("div",{children:[(0,C.jsx)("p",{className:"text-sm font-semibold text-gray-900",children:u.author||"CNA Training Team"}),(0,C.jsxs)("p",{className:"text-xs text-gray-400 flex items-center",children:[(0,C.jsx)(p.A,{className:"h-3 w-3 mr-1"})," ",R(u.publishedAt)]})]})]}),(0,C.jsxs)("button",{onClick:W,className:"flex items-center text-sm text-gray-400 hover:text-blue-600 transition-colors px-3 py-2 rounded-lg hover:bg-blue-50 border border-gray-200 hover:border-blue-200",children:[(0,C.jsx)(b,{className:"h-4 w-4 mr-1.5"})," Share"]})]})]}),O.length>=3&&(0,C.jsxs)("div",{className:"lg:hidden mb-8 rounded-xl border border-gray-200 bg-gray-50/50 overflow-hidden",children:[(0,C.jsxs)("button",{onClick:()=>B(!D),className:"flex items-center justify-between w-full px-4 py-3 text-sm font-semibold text-gray-700",children:[(0,C.jsxs)("span",{className:"flex items-center",children:[(0,C.jsx)(y,{className:"h-4 w-4 mr-2 text-gray-400"})," Table of Contents"]}),(0,C.jsx)(m.A,{className:"h-4 w-4 text-gray-400 transition-transform "+(D?"rotate-90":"")})]}),D&&(0,C.jsx)("nav",{className:"px-4 pb-4 border-t border-gray-200 pt-3",children:(0,C.jsx)("ol",{className:"space-y-1.5 list-none p-0 m-0",children:O.map((e,t)=>(0,C.jsx)("li",{children:(0,C.jsx)("a",{href:`#${e.id}`,onClick:()=>B(!1),className:"block text-sm text-gray-500 hover:text-blue-600 transition-colors py-0.5 "+(3===e.level?"pl-4 text-xs":"font-medium"),children:e.text})},t))})})]}),(0,C.jsx)("div",{className:" article-body pb-8 [&_h2]:text-xl [&_h2]:sm:text-2xl [&_h2]:font-bold [&_h2]:text-gray-900 [&_h2]:mt-10 [&_h2]:sm:mt-12 [&_h2]:mb-4 [&_h2]:leading-snug [&_h2]:border-b [&_h2]:border-gray-100 [&_h2]:pb-3 [&_h2]:scroll-mt-20 [&_h3]:text-lg [&_h3]:sm:text-xl [&_h3]:font-bold [&_h3]:text-gray-800 [&_h3]:mt-8 [&_h3]:sm:mt-10 [&_h3]:mb-3 [&_h3]:leading-snug [&_h3]:scroll-mt-20 [&_h4]:text-base [&_h4]:sm:text-lg [&_h4]:font-semibold [&_h4]:text-gray-800 [&_h4]:mt-6 [&_h4]:mb-2 [&_h4]:scroll-mt-20 [&_p]:text-[15px] [&_p]:sm:text-base [&_p]:text-gray-600 [&_p]:leading-[1.85] [&_p]:mb-5 [&_p]:sm:mb-6 [&_p:first-of-type]:text-base [&_p:first-of-type]:sm:text-lg [&_p:first-of-type]:text-gray-700 [&_p:first-of-type]:leading-[1.8] [&_p:first-of-type]:font-[450] [&_ul]:my-5 [&_ul]:sm:my-6 [&_ul]:pl-6 [&_ul]:space-y-2.5 [&_ul]:list-disc [&_ul]:marker:text-blue-400 [&_li]:text-[15px] [&_li]:sm:text-base [&_li]:text-gray-600 [&_li]:leading-[1.75] [&_li_p]:mb-1.5 [&_ol]:my-5 [&_ol]:sm:my-6 [&_ol]:pl-6 [&_ol]:space-y-2.5 [&_ol]:list-decimal [&_ol]:marker:text-blue-600 [&_ol]:marker:font-semibold [&_blockquote]:my-6 [&_blockquote]:sm:my-8 [&_blockquote]:mx-0 [&_blockquote]:pl-5 [&_blockquote]:sm:pl-6 [&_blockquote]:border-l-4 [&_blockquote]:border-blue-500 [&_blockquote]:bg-blue-50/60 [&_blockquote]:rounded-r-xl [&_blockquote]:py-4 [&_blockquote]:sm:py-5 [&_blockquote]:pr-5 [&_blockquote]:text-[15px] [&_blockquote]:sm:text-base [&_blockquote]:text-gray-700 [&_blockquote]:leading-relaxed [&_blockquote]:italic [&_blockquote_p]:mb-2 [&_blockquote_p]:last:mb-0 [&_blockquote_p]:text-gray-700 [&_a]:text-blue-600 [&_a]:underline [&_a]:underline-offset-2 [&_a]:decoration-blue-200 [&_a]:hover:decoration-blue-500 [&_a]:transition-colors [&_a]:font-medium [&_strong]:text-gray-900 [&_strong]:font-semibold [&_em]:text-gray-600 [&_em]:italic [&_img]:my-6 [&_img]:sm:my-8 [&_img]:rounded-xl [&_img]:w-full [&_img]:shadow-sm [&_hr]:my-8 [&_hr]:sm:my-10 [&_hr]:border-gray-100 [&_pre]:my-6 [&_pre]:sm:my-8 [&_pre]:bg-gray-900 [&_pre]:text-gray-100 [&_pre]:rounded-xl [&_pre]:p-4 [&_pre]:sm:p-5 [&_pre]:overflow-x-auto [&_pre]:text-sm [&_pre]:leading-relaxed [&_code]:font-mono [&_code]:text-sm [&_:not(pre)>code]:bg-gray-100 [&_:not(pre)>code]:text-gray-800 [&_:not(pre)>code]:px-1.5 [&_:not(pre)>code]:py-0.5 [&_:not(pre)>code]:rounded-md [&_:not(pre)>code]:text-[13px] [&_:not(pre)>code]:font-medium [&_table]:my-6 [&_table]:w-full [&_table]:text-sm [&_table]:border-collapse [&_table]:rounded-xl [&_table]:overflow-hidden [&_table]:border [&_table]:border-gray-200 [&_th]:bg-gray-50 [&_th]:px-4 [&_th]:py-3 [&_th]:text-left [&_th]:font-semibold [&_th]:text-gray-700 [&_th]:border-b-2 [&_th]:border-gray-200 [&_td]:px-4 [&_td]:py-3 [&_td]:border-b [&_td]:border-gray-100 [&_td]:text-gray-600 [&_tr]:hover:bg-gray-50/50 [&_h2+ul]:mt-3 [&_h2+ol]:mt-3 [&_h3+ul]:mt-2 [&_h3+ol]:mt-2 [&_h2+p]:mt-0 [&_h3+p]:mt-0 [&_figure]:my-6 [&_figure]:sm:my-8 [&_figcaption]:text-center [&_figcaption]:text-sm [&_figcaption]:text-gray-400 [&_figcaption]:mt-2 [&_figcaption]:italic ",dangerouslySetInnerHTML:{__html:U}}),(0,C.jsx)("div",{className:"my-8 sm:my-10 rounded-xl bg-gradient-to-r from-blue-50 to-indigo-50 border border-blue-100 p-5 sm:p-6",children:(0,C.jsxs)("div",{className:"flex items-start space-x-4",children:[(0,C.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-lg bg-blue-600 flex items-center justify-center",children:(0,C.jsx)(f.A,{className:"h-5 w-5 text-white"})}),(0,C.jsxs)("div",{className:"flex-1",children:[(0,C.jsx)("h3",{className:"text-base font-bold text-gray-900 mb-1",children:"Interested in CNA Training?"}),(0,C.jsx)("p",{className:"text-sm text-gray-600 mb-3 leading-relaxed",children:"Our Washington-approved CNA training program in Federal Way prepares you for the knowledge and skills exams and a rewarding nursing assistant career."}),(0,C.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,C.jsxs)(a.N_,{to:"/register",className:"inline-flex items-center px-4 py-2 bg-blue-600 text-white text-sm font-semibold rounded-lg hover:bg-blue-700 transition-colors",children:["Register Now ",(0,C.jsx)(v.A,{className:"h-3.5 w-3.5 ml-1.5"})]}),(0,C.jsxs)("a",{href:"tel:+12064609022",className:"inline-flex items-center px-4 py-2 bg-white text-gray-700 text-sm font-medium rounded-lg hover:bg-gray-50 transition-colors border border-gray-200",children:[(0,C.jsx)(_.A,{className:"h-3.5 w-3.5 mr-1.5"})," Call Us"]})]})]})]})}),(null===(e=u.tags)||void 0===e?void 0:e.length)>0&&(0,C.jsx)("div",{className:"py-6 border-t border-gray-100",children:(0,C.jsxs)("div",{className:"flex items-center flex-wrap gap-2",children:[(0,C.jsx)(N,{className:"h-4 w-4 text-gray-300 mr-1"}),u.tags.map((e,t)=>(0,C.jsx)("span",{className:"bg-gray-100 text-gray-500 text-xs font-medium px-3 py-1.5 rounded-full",children:e},t))]})}),(0,C.jsxs)("div",{className:"flex items-center justify-between py-6 border-t border-gray-100",children:[(0,C.jsxs)(a.N_,{to:"/blog",className:"flex items-center text-sm text-gray-500 hover:text-blue-600 transition-colors font-medium",children:[(0,C.jsx)(n.A,{className:"h-4 w-4 mr-1.5"})," All Articles"]}),(0,C.jsxs)("button",{onClick:W,className:"flex items-center text-sm text-gray-500 hover:text-blue-600 transition-colors font-medium",children:[(0,C.jsx)(b,{className:"h-4 w-4 mr-1.5"})," Share"]})]})]}),O.length>=3&&(0,C.jsx)("aside",{className:"hidden lg:block",children:(0,C.jsxs)("div",{className:"sticky top-20 pt-10",children:[(0,C.jsx)("p",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"On This Page"}),(0,C.jsx)("nav",{children:(0,C.jsx)("ol",{className:"space-y-1 border-l-2 border-gray-100 list-none p-0 m-0",children:O.map((e,t)=>(0,C.jsx)("li",{children:(0,C.jsx)("a",{href:`#${e.id}`,className:"block text-[13px] text-gray-500 hover:text-blue-600 transition-colors leading-snug border-l-2 border-transparent hover:border-blue-500 -ml-[2px] "+(2===e.level?"pl-3 py-1.5 font-medium":"pl-6 py-1 text-gray-400"),children:e.text})},t))})}),(0,C.jsxs)("div",{className:"mt-8 pt-6 border-t border-gray-100",children:[(0,C.jsx)("p",{className:"text-xs font-bold text-gray-400 uppercase tracking-widest mb-3",children:"Qu
2ick Links"}),(0,C.jsxs)("div",{className:"space-y-2",children:[(0,C.jsxs)(a.N_,{to:"/register",className:"flex items-center text-sm text-gray-500 hover:text-blue-600 transition-colors py-1",children:[(0,C.jsx)(f.A,{className:"h-3.5 w-3.5 mr-2 text-gray-400"})," Register for Training"]}),(0,C.jsxs)(a.N_,{to:"/verify",className:"flex items-center text-sm text-gray-500 hover:text-blue-600 transition-colors py-1",children:[(0,C.jsx)(j.A,{className:"h-3.5 w-3.5 mr-2 text-gray-400"})," Verify Enrollment"]}),(0,C.jsxs)(a.N_,{to:"/blog",className:"flex items-center text-sm text-gray-500 hover:text-blue-600 transition-colors py-1",children:[(0,C.jsx)(w.A,{className:"h-3.5 w-3.5 mr-2 text-gray-400"})," More Articles"]})]})]})]})})]})}),M.length>0&&(0,C.jsx)("section",{className:"bg-gray-50 border-t border-gray-100",children:(0,C.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-12 sm:py-16",children:[(0,C.jsx)("h2",{className:"text-xl sm:text-2xl font-bold text-gray-900 mb-6 sm:mb-8",children:"Continue Reading"}),(0,C.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-5 sm:gap-6",children:M.map(e=>(0,C.jsxs)("article",{onClick:()=>r(`/blog/${e.slug||e.id}`),className:"group cursor-pointer bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-lg hover:border-gray-300 transition-all duration-300",children:[e.coverImage?(0,C.jsx)("div",{className:"aspect-[16/9] overflow-hidden",children:(0,C.jsx)("img",{src:e.coverImage,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"})}):(0,C.jsx)("div",{className:"aspect-[16/9] bg-gradient-to-br from-blue-50 to-indigo-100 flex items-center justify-center",children:(0,C.jsx)(o.A,{className:"h-8 w-8 text-blue-200"})}),(0,C.jsxs)("div",{className:"p-4 sm:p-5",children:[e.category&&(0,C.jsx)("span",{className:"text-[11px] font-semibold text-blue-600 uppercase tracking-wider",children:e.category}),(0,C.jsx)("h3",{className:"font-bold text-gray-900 group-hover:text-blue-600 transition-colors line-clamp-2 mt-1 leading-snug",children:e.title}),(0,C.jsx)("p",{className:"text-xs text-gray-400 mt-2",children:R(e.publishedAt)})]})]},e.id))})]})}),(0,C.jsx)("section",{className:"bg-gradient-to-br from-blue-600 via-blue-700 to-indigo-800 text-white",children:(0,C.jsxs)("div",{className:"max-w-3xl mx-auto px-4 sm:px-6 py-14 sm:py-16 text-center",children:[(0,C.jsx)("h2",{className:"text-2xl sm:text-3xl font-bold mb-3",children:"Ready to Start Your Caregiving Career?"}),(0,C.jsx)("p",{className:"text-blue-200 mb-8 max-w-lg mx-auto leading-relaxed",children:"Join our Washington-approved CNA training program and prepare to become a certified nursing assistant."}),(0,C.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[(0,C.jsxs)(a.N_,{to:"/register",className:"inline-flex items-center px-7 py-3 bg-white text-blue-700 font-semibold rounded-xl hover:bg-blue-50 transition-colors shadow-lg w-full sm:w-auto justify-center",children:["Register Now ",(0,C.jsx)(v.A,{className:"h-4 w-4 ml-2"})]}),(0,C.jsxs)("a",{href:"tel:+12064609022",className:"inline-flex items-center px-7 py-3 bg-white/10 text-white font-semibold rounded-xl hover:bg-white/20 transition-colors border border-white/20 w-full sm:w-auto justify-center",children:[(0,C.jsx)(_.A,{className:"h-4 w-4 mr-2"})," (206) 460-9022"]})]})]})}),(0,C.jsx)("footer",{className:"bg-gray-900 text-gray-400",children:(0,C.jsxs)("div",{className:"max-w-5xl mx-auto px-4 sm:px-6 py-10 sm:py-12",children:[(0,C.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-between gap-4",children:[(0,C.jsxs)("div",{className:"text-center sm:text-left",children:[(0,C.jsx)("p",{className:"text-base font-semibold text-white",children:"Caregiver Training & Huduma Center LLC"}),(0,C.jsx)("p",{className:"text-sm mt-1",children:"DSHS-Approved Training Provider \xb7 Federal Way, WA"})]}),(0,C.jsxs)("nav",{className:"flex items-center space-x-6 text-sm",children:[(0,C.jsx)(a.N_,{to:"/",className:"hover:text-white transition-colors",children:"Home"}),(0,C.jsx)(a.N_,{to:"/blog",className:"hover:text-white transition-colors",children:"Blog"}),(0,C.jsx)(a.N_,{to:"/register",className:"hover:text-white transition-colors",children:"Register"}),(0,C.jsx)(a.N_,{to:"/verify",className:"hover:text-white transition-colors",children:"Verify"})]})]}),(0,C.jsxs)("div",{className:"mt-8 pt-6 border-t border-gray-800 text-center text-xs text-gray-500",children:["\xa9 ",(new Date).getFullYear()," Caregiver Training and Huduma Center LLC. All rights reserved."]})]})}),H&&(0,C.jsx)("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),className:"fixed bottom-6 right-6 z-50 w-10 h-10 bg-blue-600 text-white rounded-full shadow-lg flex items-center justify-center hover:bg-blue-700 transition-colors","aria-label":"Back to top",children:(0,C.jsx)(k,{className:"h-5 w-5"})})]}):(0,C.jsx)("div",{className:"min-h-screen bg-white flex items-center justify-center",children:(0,C.jsxs)("div",{className:"text-center px-6",children:[(0,C.jsx)(o.A,{className:"h-16 w-16 text-gray-200 mx-auto mb-6"}),(0,C.jsx)("h1",{className:"text-2xl font-bold text-gray-900 mb-3",children:"Article Not Found"}),(0,C.jsx)("p",{className:"text-gray-500 mb-8 max-w-md mx-auto",children:"The article you're looking for doesn't exist or has been removed."}),(0,C.jsxs)(a.N_,{to:"/blog",className:"inline-flex items-center px-6 py-3 bg-blue-600 text-white font-medium rounded-xl hover:bg-blue-700 transition-colors",children:[(0,C.jsx)(n.A,{className:"h-4 w-4 mr-2"})," Back to Blog"]})]})});var F}},32630:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},36493:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},39360:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},43654:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},55551:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},92011:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])},99590:(e,t,r)=>{r.d(t,{A:()=>s});const s=(0,r(7101).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])}}]);
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.