1(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[6605],{10914:(e,i,t)=>{"use strict";t.d(i,{default:()=>h});var n=t(95155),a=t(12115),s=t(52619),r=t.n(s),o=t(89220),l=t(71408),d=t(91456),c=t(17910),u=t(24033),g=t(27937),m=t(86651),f=t(90368);let y=[{id:"acceptable-use-internet",title:"Acceptable Use of IT and Internet",description:"Learn appropriate use of IT resources, internet policies, and maintain professional digital conduct in the workplace.",category:"IT Security",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"anti-harassment-bullying",title:"Anti-Harassment and Bullying Prevention",description:"Prevent workplace harassment and bullying, create respectful environments, and understand reporting procedures.",category:"HR and Culture",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"bribery-corruption-prevention",title:"Bribery and Corruption Prevention",description:"Understand anti-bribery laws, recognize corruption risks, and implement ethical business practices in the workplace.",category:"Compliance",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"cyber-security-awareness",title:"Cybersecurity Awareness",description:"Essential cybersecurity practices, threat recognition, and secure digital behaviors to protect data and systems.",category:"IT Security",duration:25,difficulty:"Intermediate",isEssential:!0,customizable:!0},{id:"data-breach-response",title:"Data Breach Response",description:"Identify, respond to, and effectively manage data breaches in compliance with GDPR and UK data protection laws.",category:"Compliance",duration:15,difficulty:"Advanced",isEssential:!1,customizable:!0},{id:"display-screen-equipment-dse",title:"Display Screen Equipment (DSE) and Ergonomics",description:"Understand your responsibilities when using display screen equipment, learn to set up your workstation correctly, and reduce the risk of discomfort.",category:"Health and Safety",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"environmental-awareness",title:"Environmental Awareness",description:"Understand environmental responsibilities, sustainable practices, and how to reduce environmental impact at work.",category:"Health and Safety",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"equality-diversity-inclusion",title:"Equality, Diversity and Inclusion",description:"Build inclusive workplaces, understand diversity, and promote equality in modern organizations and diverse teams.",category:"HR and Culture",duration:15,difficulty:"Beginner",isEssential:!0,customizable:!0},{id:"fire-safety-awareness",title:"Fire Safety Awareness",description:"Learn essential fire safety procedures, emergency response protocols, and prevention measures for the workplace.",category:"Health and Safety",duration:15,difficulty:"Beginner",isEssential:!0,customizable:!0},{id:"gdpr-2025",title:"GDPR Training 2025",description:"Master GDPR compliance covering data protection principles, rights, and obligations under UK law and regulation.",category:"Compliance",duration:15,difficulty:"Intermediate",isEssential:!0,customizable:!1},{id:"gdpr-in-the-workplace-2026",title:"GDPR in the Workplace",description:"GDPR in the workplace, covering the core principles of UK GDPR and understanding data protection. Including Video and 10 question Quiz.",category:"Compliance",duration:30,difficulty:"Intermediate",isEssential:!0,customizable:!0},{id:"health-safety-awareness",title:"Health and Safety Awareness",description:"Essential health and safety principles, risk assessment processes, and workplace safety procedures for all staff.",category:"Health and Safety",duration:15,difficulty:"Beginner",isEssential:!0,customizable:!1},{id:"information-handling-confidentiality",title:"Information Handling and Confidentiality",description:"Handle sensitive information properly, maintain confidentiality requirements, and follow data protection practices.",category:"Compliance",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"mental-health-awareness",title:"Mental Health Awareness",description:"Recognize mental health challenges, understand workplace stress, and learn how to support colleagues effectively.",category:"Health and Safety",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"modern-slavery-awareness",title:"Modern Slavery Awareness",description:"Understand modern slavery risks, recognize exploitation signs, and implement ethical business and supply practices.",category:"Compliance",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"remote-hybrid-security",title:"Remote and Hybrid Work Security",description:"Security best practices for remote work environments, protecting company data, and implementing secure access.",category:"IT Security",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!0},{id:"safeguarding-children-course",title:"Safeguarding Children in the UK",description:"Understand safeguarding duties, recognize signs of risk to children, and know what to do if you have concerns.",category:"Safeguarding",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"safeguarding-vulnerable-adults-course",title:"Safeguarding Vulnerable Adults",description:"Learn safeguarding duties for adults, spot warning signs of harm, and report concerns responsibly under UK law.",category:"Safeguarding",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"online-safety-digital-safeguarding-course",title:"Online Safety and Digital Safeguarding",description:"Stay safe online, protect those you support, and use technology responsibly and professionally in your daily role.",category:"Safeguarding",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"prevent-duty-awareness-course",title:"Prevent Duty Awareness",description:"Understand the Prevent Duty, recognize warning signs of radicalization, and know what to do if you have concerns.",category:"Safeguarding",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"lone-working-personal-safety-course",title:"Lone Working and Personal Safety",description:"Stay safe when working alone, manage risks effectively, and know what to do if something goes wrong while working.",category:"Health and Safety",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"first-aid-awareness-education-course",title:"First Aid Awareness â Schools & Education",description:"Learn essential first-aid actions for c
1ommon emergencies including CPR, choking, bleeding, burns, and using an AED.",category:"First Aid",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"record-keeping-documentation-course",title:"Record-Keeping and Documentation",description:"Record and report accidents, incidents, and near misses correctly in line with UK legislation and Ofsted standards.",category:"Compliance",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"domestic-abuse-child-exploitation-course",title:"Domestic Abuse and Child Exploitation Awareness",description:"Recognize signs of domestic abuse and child exploitation including CSE, CCE, and county lines under safeguarding law.",category:"Safeguarding",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"safer-recruitment-education-course",title:"Safer Recruitment in Education",description:"Safely recruit and vet staff, conduct legal checks and interviews in line with KCSIE 2024 and Ofsted standards.",category:"HR and Culture",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"send-awareness-course",title:"SEND Awareness",description:"Recognize SEND, understand your legal responsibilities, and support inclusion in everyday educational practice.",category:"HR and Culture",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"professional-boundaries-code-conduct-course",title:"Professional Boundaries and Code of Conduct",description:"Maintain professional boundaries, manage conflicts of interest, and uphold integrity and respect in your role.",category:"HR and Culture",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"leading-through-change-course",title:"Leading Through Change",description:"Guide teams through change with confidence, communicate effectively, and build team resilience during transitions.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"decision-making-accountability-course",title:"Decision-Making and Accountability",description:"Make better decisions, structure decision processes, manage bias, and build accountability in yourself and teams.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"effective-one-to-ones-coaching-course",title:"Effective One-to-Ones and Coaching",description:"Conduct meaningful one-to-ones, structure coaching conversations, give effective feedback, and build relationships.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"time-priorities-delegation-course",title:"Time, Priorities and Delegation",description:"Manage time effectively, set clear priorities, delegate tasks, and balance urgent and important work as a leader.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"problem-solving-continuous-improvement-course",title:"Problem Solving and Continuous Improvement",description:"Solve problems systematically, identify root causes, and build a culture of continuous improvement in your team.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"building-high-performance-culture-course",title:"Building a High-Performance Culture",description:"Create high-performance cultures, align values with behaviors, recognize performance, and build excellent teams.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"leading-with-data-course",title:"Leading with Data",description:"Make better decisions using data, interpret analytics, avoid common pitfalls, and drive performance improvements.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"strategic-thinking-planning-course",title:"Strategic Thinking and Planning",description:"See the bigger picture, think long-term, plan effectively, and connect strategic vision with action as a leader.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"decision-making-uncertainty-course",title:"Decision-Making Under Uncertainty",description:"Make sound decisions with incomplete data, manage risk, reduce bias, and lead decisively in uncertain situations.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"leading-transformation-innovation-course",title:"Leading Transformation and Innovation",description:"Design successful transformations, inspire innovation, manage disruption, and guide teams through uncertainty.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"stakeholder-influence-strategic-communication-course",title:"Stakeholder Influence and Strategic Communication",description:"Communicate strategically, build relationships across levels, influence with integrity, and align around vision.",category:"Leadership and Management",duration:15,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"food-safety-hygiene-level-1",title:"Food Safety and Hygiene â Level 1",description:"Essential food safety covering hygiene practices, contamination prevention, and legal requirements for food handlers.",category:"Food Safety",duration:30,difficulty:"Beginner",isEssential:!1,customizable:!1},{id:"food-safety-hygiene-level-2",title:"Food Safety and Hygiene â Level 2",description:"Comprehensive food safety covering HACCP principles, food handling, cleaning, disinfection, and legal compliance.",category:"Food Safety",duration:45,difficulty:"Intermediate",isEssential:!1,customizable:!1},{id:"coshh-control-substances",title:"COSHH â Control of Substances Hazardous to Health",description:"Practical introduction to COSHH, helping employees recognise hazardous substances and understand how to work safely.",category:"Health and Safety",duration:30,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"personal-protective-equipment-ppe",title:"Personal Protective Equipment (PPE) at Work",description:"Understand what PPE is, when it must be used, and how to use it correctly at work to protect yourself and others.",category:"Health and Safety",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"manual-handling-at-work-v2",title:"Manual Handling at Work",description:"Understand manual handling risks and how to reduce the likelihood of injury at work with safe handling techniques.",category:"Health and Safety",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"working-at-height-safe-practices",title:"Working at Height: Safe Practices",description:"Practical understanding of working at height and the risks involved, common hazards and high-risk situations.",category:"Health and Safety",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"first-aid-awareness-at-work",title:"First Aid Awareness at Work",description:"Recognising medical emergencie
1s and responding safely until professional help arrives in the workplace.",category:"First Aid",duration:30,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"phishing-awareness",title:"Phishing Awareness: Spot It, Stop It, Report It",description:"Recognise phishing emails, text messages, and social engineering attacks. Covers common tactics used by cybercriminals.",category:"IT Security",duration:25,difficulty:"Beginner",isEssential:!0,customizable:!0},{id:"patient-data-gdpr",title:"Patient Data & GDPR: Special Category Data",description:"Requirements for handling patient data and special category data under UK GDPR, Caldicott Principles, and confidentiality.",category:"Compliance",duration:30,difficulty:"Intermediate",isEssential:!1,customizable:!0},{id:"construction-health-safety",title:"Construction Health and Safety Awareness",description:"Essential introduction to health and safety on construction sites covering common hazards, risk assessment, and safe practices.",category:"Health and Safety",duration:25,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"social-engineering-awareness",title:"Social Engineering Awareness",description:"Understand how social engineering attacks work and learn to defend against manipulation tactics used to gain access to sensitive information.",category:"IT Security",duration:15,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"password-management-mfa",title:"Password Management and MFA Awareness",description:"Best practices for creating strong passwords, understanding MFA, and protecting accounts from unauthorised access.",category:"IT Security",duration:10,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"speaking-up-whistleblowing",title:"Speaking Up: Whistleblowing Awareness",description:"Understand your rights and responsibilities around whistleblowing, how to raise concerns safely under UK law.",category:"Compliance",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"secure-use-mobile-devices-byod",title:"Secure Use of Mobile Devices (BYOD)",description:"Use mobile devices securely in the workplace covering BYOD policies, device security, and data protection.",category:"IT Security",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"ai-at-work",title:"AI at Work: Safe, Legal & Useful",description:"Use AI tools responsibly covering benefits, risks, data privacy, legal obligations, and practical workplace guidelines.",category:"Compliance",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0},{id:"insider-threat-awareness",title:"Insider Threat Awareness",description:"Recognise and respond to insider threats covering malicious actors, unintentional risks, warning signs, and reporting.",category:"IT Security",duration:20,difficulty:"Beginner",isEssential:!1,customizable:!0}],p={Beginner:"bg-green-50 text-green-700 border-green-200",Intermediate:"bg-yellow-50 text-yellow-700 border-yellow-200",Advanced:"bg-red-50 text-red-700 border-red-200"},h=()=>{let[e,i]=(0,a.useState)(""),[t,s]=(0,a.useState)("all"),[h,b]=(0,a.useState)(""),[x,w]=(0,a.useState)(""),[v,k]=(0,a.useState)(!0),[j,E]=(0,a.useState)(!0),[S,N]=(0,a.useState)(0),C=Array.from(new Set(y.map(e=>e.category))).map(e=>[e,y.filter(i=>i.category===e).length]).sort((e,i)=>i[1]-e[1]),z=["Beginner","Intermediate","Advanced"].map(e=>[e,y.filter(i=>i.difficulty===e).length]),P=y.filter(e=>e.isEssential).length,A=y.filter(i=>{let n=!e||i.title.toLowerCase().includes(e.toLowerCase())||i.description.toLowerCase().includes(e.toLowerCase())||i.category.toLowerCase().includes(e.toLowerCase()),a="all"===t||"essential"===t&&i.isEssential||"category"===t&&i.category===h,s=!x||i.difficulty===x;return n&&a&&s}),I=Math.ceil(A.length/6),B=Math.min(S,Math.max(0,I-1)),H=A.slice(6*B,6*B+6);return(0,n.jsx)("section",{id:"catalog",className:"py-20 bg-gradient-to-br from-primary-50 via-white to-accent-50",children:(0,n.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[(0,n.jsxs)(o.P.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},transition:{duration:.6},viewport:{once:!0},className:"text-center mb-12",children:[(0,n.jsx)("h2",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-4",children:"Built-in Course Catalog"}),(0,n.jsx)("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:"70+ curated courses across Compliance, Health & Safety, IT Security, Safeguarding, Leadership, and more. UK-aligned, 10â45 minutes, beginner to advanced. Included in every plan."})]}),(0,n.jsxs)("div",{className:"flex flex-col lg:flex-row gap-6",children:[(0,n.jsx)(o.P.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},transition:{duration:.5},viewport:{once:!0},className:"w-full lg:w-64 flex-shrink-0",children:(0,n.jsxs)("div",{className:"bg-white rounded-xl border border-gray-200 shadow-sm p-3 space-y-1 sticky top-24",children:[(0,n.jsxs)("button",{onClick:()=>{s("all"),b(""),N(0)},className:"flex items-center gap-2 w-full px-3 py-2 text-sm font-medium rounded-lg transition-colors text-left ".concat("all"===t?"bg-indigo-50 text-indigo-700":"text-gray-700 hover:bg-gray-50"),children:[(0,n.jsx)(d.A,{className:"h-4 w-4 flex-shrink-0"}),(0,n.jsx)("span",{children:"All Courses"}),(0,n.jsx)("span",{className:"ml-auto text-xs px-1.5 py-0.5 rounded border border-gray-200 text-gray-500 font-medium",children:y.length})]}),(0,n.jsxs)("button",{onClick:()=>{s("essential"),b(""),N(0)},className:"flex items-center gap-2 w-full px-3 py-2 text-sm font-medium rounded-lg transition-colors text-left ".concat("essential"===t?"bg-amber-50 text-amber-700":"text-gray-700 hover:bg-gray-50"),children:[(0,n.jsx)(c.A,{className:"h-4 w-4 flex-shrink-0"}),(0,n.jsx)("span",{children:"Essential"}),(0,n.jsx)("span",{className:"ml-auto text-xs px-1.5 py-0.5 rounded bg-amber-50 text-amber-600 border border-amber-200 font-medium",children:P})]}),(0,n.jsx)("div",{className:"border-t border-gray-100 my-2"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{onClick:()=>k(!v),className:"flex items-center justify-between w-full px-3 py-1.5 text-xs font-semibold text-gray-500 uppercase tracking-wide",children:[(0,n.jsx)("span",{children:"Categories"}),v?(0,n.jsx)(u.A,{className:"h-3 w-3"}):(0,n.jsx)(g.A,{className:"h-3 w-3"})]}),v&&(0,n.jsx)("div",{className:"space-y-0.5 mt-1",children:C.map(e=>{let[i,a]=e;return(0,n.jsxs)("button",{onClick:()=>{s("category"),b(i),N(0)},className:"flex items-center justify-between w-full px-3 py-1.5 text-sm rounded-md transition-colors ".concat("category"===t&&h===i?"bg-indigo-50 text-indigo-700 font-medium":"text-gray-600 hover:bg-gray-50"),children:[(0,n.jsx)("span",{className:"truncate",children:i}),(0,n.jsx)("span",{className:"text-xs text-gray-400 ml-2 flex-shrink-0",children:a})]},i)})})]}),(0,n.jsx)("div",{className:"border-t border-gray-100 my-2"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("button",{onClick:()=>E(!j),className:"flex items-center justify-between w-full px-3 py-1.5 text-xs font-semibold text-gray-500 uppercase tracking-wide",children:[(0,n.jsx)("span",{children:"Difficulty"}),j?(0,n.jsx)(u.A,{className:"h-3 w-3"}):(0,n.jsx)(g.A,{className:"h-3 w-3"})]}),j&&(0,n.jsxs)("div",{className:"space-y-0.5 mt-1",children:[(0,n.jsx)("button",{onClick:()=>{w(""),N(0)},className:"flex items-center justify-between w-full px-3 py-1.5 text-sm rounded-md transition-colors ".concat(x?"text-gray-600 hover:bg-gray-50":"bg-indigo-50 text-indigo-700 font-medium"),children:"All Levels"}),z.map(e=>{let[i,t]=e;return(0,n.jsxs)("button",{onClick:()=>{w(i),N(0)},className:"flex items-center justify-between w-full px-3 py-1.5 text-sm rounded-md transition-colors ".concat(x===i?"bg-indigo-50 text-indigo-700 font-medium":"text-gray-600 hover:bg-gray-50"),children:[(0,n.jsx)("span",{children:i}),(0,n.jsx)("span",{className:"text-xs text-gray-400",children:t})]},i)})]})]})]})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsxs)("div",{className:"relative mb-5",children:[(0,n.jsx)(m.A,{className:"absolute left-3.5 to
1p-1/2 -translate-y-1/2 h-4 w-4 text-gray-400"}),(0,n.jsx)("input",{type:"text",placeholder:"Search courses...",value:e,onChange:e=>{i(e.target.value),N(0)},className:"w-full pl-10 pr-4 py-2.5 bg-white border border-gray-200 rounded-xl text-sm shadow-sm focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 outline-none transition-shadow"}),(0,n.jsxs)("span",{className:"absolute right-3.5 top-1/2 -translate-y-1/2 text-xs text-gray-400",children:[A.length," course",1!==A.length?"s":""]})]}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-4",children:(0,n.jsx)(l.N,{mode:"popLayout",children:H.map(e=>(0,n.jsx)(o.P.div,{layout:!0,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},transition:{duration:.2},className:"bg-white rounded-xl border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow flex flex-col",children:(0,n.jsxs)(r(),{href:"/courses/",scroll:!0,"aria-label":"View course marketing hub â ".concat(e.title),className:"p-4 flex flex-col flex-1 text-gray-900 no-underline hover:text-gray-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 rounded-xl",children:[(0,n.jsxs)("div",{className:"mb-2 flex items-start gap-2",children:[(0,n.jsx)("h4",{className:"font-semibold text-gray-900 text-sm line-clamp-2 flex-1 leading-snug",children:e.title}),e.isEssential&&(0,n.jsxs)("span",{className:"inline-flex items-center gap-0.5 px-1.5 py-0.5 rounded text-[10px] font-medium bg-amber-50 text-amber-700 border border-amber-200 flex-shrink-0",children:[(0,n.jsx)(c.A,{className:"h-3 w-3"}),"Essential"]})]}),(0,n.jsx)("p",{className:"text-xs text-gray-600 line-clamp-2 mb-3",children:e.description}),(0,n.jsxs)("div",{className:"space-y-1.5 mb-3 text-xs",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-gray-500",children:"Category:"}),(0,n.jsx)("span",{className:"px-2 py-0.5 rounded border border-gray-200 text-gray-700 font-medium",children:e.category})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-gray-500",children:"Duration:"}),(0,n.jsxs)("span",{className:"font-medium text-gray-700",children:[e.duration," min"]})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)("span",{className:"text-gray-500",children:"Difficulty:"}),(0,n.jsx)("span",{className:"px-2 py-0.5 rounded border text-[10px] font-semibold ".concat(p[e.difficulty]),children:e.difficulty})]})]}),(0,n.jsxs)("div",{className:"mt-auto pt-3 border-t border-gray-100 flex gap-2",children:[e.customizable&&(0,n.jsx)("div",{className:"flex-1 py-1.5 rounded-lg border border-indigo-200 text-center text-xs font-semibold text-indigo-600 bg-indigo-50 cursor-default",children:"Customise"}),(0,n.jsx)("div",{className:"".concat(e.customizable?"flex-1":"w-full"," py-1.5 rounded-lg bg-indigo-600 text-center text-xs font-semibold text-white"),children:"Add Course"})]})]})},e.id))})}),I>1&&(0,n.jsxs)("div",{className:"flex items-center justify-between mt-6 pt-4 border-t border-gray-200",children:[(0,n.jsxs)("button",{onClick:()=>N(e=>Math.max(0,e-1)),disabled:0===B,className:"inline-flex items-center gap-1 px-3 py-1.5 rounded-lg border text-sm font-medium transition-colors ".concat(0===B?"border-gray-200 text-gray-300 cursor-not-allowed":"border-gray-300 text-gray-700 hover:bg-gray-50"),children:[(0,n.jsx)(f.A,{className:"h-4 w-4"}),"Previous"]}),(0,n.jsxs)("span",{className:"text-sm text-gray-500",children:["Page ",B+1," of ",I,(0,n.jsxs)("span",{className:"hidden sm:inline text-gray-400 ml-2",children:["(",A.length," course",1!==A.length?"s":"",")"]})]}),(0,n.jsxs)("button",{onClick:()=>N(e=>Math.min(I-1,e+1)),disabled:B>=I-1,className:"inline-flex items-center gap-1 px-3 py-1.5 rounded-lg border text-sm font-medium transition-colors ".concat(B>=I-1?"border-gray-200 text-gray-300 cursor-not-allowed":"border-gray-300 text-gray-700 hover:bg-gray-50"),children:["Next",(0,n.jsx)(g.A,{className:"h-4 w-4"})]})]}),0===A.length&&(0,n.jsxs)("div",{className:"text-center py-16",children:[(0,n.jsx)(m.A,{className:"h-10 w-10 text-gray-300 mx-auto mb-3"}),(0,n.jsx)("p",{className:"text-gray-500 text-lg",children:"No courses match your filters"}),(0,n.jsx)("button",{onClick:()=>{i(""),s("all"),b(""),w(""),N(0)},className:"mt-3 text-indigo-600 font-medium text-sm hover:underline",children:"Clear all filters"})]})]})]})]})})}},21809:(e,i,t)=>{Promise.resolve().then(t.bind(t,21355)),Promise.resolve().then(t.bind(t,67979)),Promise.resolve().then(t.bind(t,17690)),Promise.resolve().then(t.bind(t,10914)),Promise.resolve().then(t.bind(t,78110)),Promise.resolve().then(t.bind(t,36847)),Promise.resolve().then(t.bind(t,18904)),Promise.resolve().then(t.bind(t,12929)),Promise.resolve().then(t.bind(t,54320)),Promise.resolve().then(t.bind(t,44775)),Promise.resolve().then(t.bind(t,27141)),Promise.resolve().then(t.bind(t,35025)),Promise.resolve().then(t.bind(t,9901)),Promise.resolve().then(t.bind(t,54557)),Promise.resolve().then(t.bind(t,82543)),Promise.resolve().then(t.bind(t,20179)),Promise.resolve().then(t.bind(t,62071))}}]);
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.