PageSourceSearch

https://www.thenational.academy/_next/static/chunks/1878-55d2c2291823fccd.js

js thenational.academy collected 2026-09-24 09:28:36 UTC 8,079 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1878],{2729:(e,i,t)=>{t.d(i,{V:()=>l});var n=t(30402);function l(e,i){if(!e)throw new n.Ay({code:"misc/unexpected-type",meta:{message:i}})}},4153:(e,i,t)=>{t.d(i,{A:()=>r});var n=t(26023),l=t(45945);let a=(0,n.Ay)(l.J).withConfig({componentId:"sc-d650a570-0"})([""]);a.defaultProps={$pa:"spacing-24",$flexDirection:"column",$flexGrow:1,$position:"relative"};let r=a},42436:(e,i,t)=>{t.d(i,{A:()=>n});let n=(e,i)=>new Date(e).toLocaleDateString("en-GB",{day:"numeric",month:"long",year:"numeric",timeZone:"Europe/London",...i})},56881:(e,i,t)=>{t.d(i,{A:()=>n.A});var n=t(1475)},61922:(e,i,t)=>{t.d(i,{A:()=>p});var n=t(23798),l=t(21462),a=t(45945),r=t(79395),s=t(72784),o=t(89148),c=t(1792),d=t(79960),g=t(30286);let p=e=>{let[i,t]=(0,l.useState)(!1),{open:p}=(0,d.K)(),{withBackButton:$,page:h,children:u,label:x,hasShowResultsButton:m,...f}=e,b=(0,l.useCallback)(()=>{t(!1)},[t]);return(0,l.useEffect)(()=>{i&&p&&b()},[i,p,b]),(0,n.jsxs)(a.J,{$mt:e.$mt??"spacing-24",$display:["flex","none","none"],$flexDirection:"column",$width:"100%",$alignItems:"flex-end",...f,children:[(0,n.jsxs)(a.J,{"$align-items":"center",$justifyContent:"space-between",$width:$?"100%":"auto",children:[$&&("blog-index"===h||"webinar-index"===h)&&(0,n.jsx)(r.f,{$transition:"standard-ease",$visibility:i?"hidden":"visible",$opacity:i?"transparent":"opaque","aria-hidden":!!i&&"true",children:(0,n.jsx)(s.q,{iconName:"arrow-left",element:"a",href:(0,g.TX)({page:h}),children:`All ${"blog-index"===h?"blogs":"webinars"}`})}),(0,n.jsx)(s.q,{$ml:"auto",iconName:"filter",isTrailingIcon:!0,onClick:()=>t(e=>!e),$pointerEvents:"all","aria-haspopup":"dialog",children:x})]}),(0,n.jsx)(o.j,{isOpen:i,onClose:b,closeOnBackgroundClick:!0,"aria-label":x,footerSlot:m&&(0,n.jsx)(r.f,{$pa:"spacing-12",$bt:"border-solid-s",$borderColor:"border-neutral-lighter",children:(0,n.jsx)(c.G,{"data-testid":"mobile-done-thread-modal-button",onClick:()=>t(!1),children:"Show results"})}),children:(0,n.jsx)(a.J,{$flexDirection:"column",$width:"100%",$height:"100%",$ph:"spacing-16",children:u})})]})}},62862:(e,i,t)=>{t.d(i,{A:()=>A});var n=t(23798),l=t(5385),a=t(31233),r=t(1433),s=t(52073),o=t(16230),c=t(550),d=t(94357),g=t(75973),p=t(45945),$=t(56048),h=t(72686),u=t(79395),x=t(97946),m=t(39934),f=t(42436),b=t(21462),j=t(72784),w=t(86656);let y=e=>{let[i,t]=(0,b.useState)("Copy link to clipboard"),{showToast:l}=(0,w.Y6)(),[a,r]=(0,b.useState)(!1),[s,o]=(0,b.useState)("");return(0,b.useEffect)(()=>{if(a){let e=setTimeout(()=>{r(!1),t("Copy link to clipboard")},w.$H);return()=>clearTimeout(e)}},[a]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j.q,{onClick:()=>{if(navigator.clipboard){let i=e.href||window.location.href;navigator.clipboard.writeText(i);let n="Link copied to clipboard";t(n),o(n),l(n,"alert"),r(!0),setTimeout(()=>{o("")},1e3)}else alert("Please update your browser to support this feature")},iconName:a?"tick":"share","aria-label":i,isTrailingIcon:!0}),s&&(0,n.jsx)("div",{"aria-relevant":"all","aria-live":"polite",style:{position:"absolute",left:"-9999px"},"data-testid":"announce",children:s})]})};var v=t(30286);let k=e=>{let{post:i,page:t}=e,{author:l}=i,a=(0,f.A)(i.date);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(p.J,{$justifyContent:"space-between",$flexDirection:["column","row"],children:[(0,n.jsx)(c.Id,{tag:"h2",$color:"text-link-active",$font:["heading-7"],$textWrap:"nowrap",children:(0,n.jsx)($.a,{href:(0,v.TX)({page:t,categorySlug:i.category.slug}),children:i.category.title})}),(0,n.jsx)(h.W,{$font:"body-3",$mt:["spacing-8","spacing-0"],children:a})]}),(0,n.jsx)(c.Id,{$mt:"spacing-12",$font:["heading-5","heading-4"],tag:"h1",children:i.title}),(0,n.jsxs)(p.J,{$alignItems:"center",$mt:"spacing-16",$mr:["spacing-24","spacing-0"],$justifyContent:["space-between","left"],children:[l&&(0,n.jsxs)(p.J,{$alignItems:"center",children:[l.image&&(0,n.jsx)(p.J,{$overflow:"hidden",$width:"spacing-56",$height:"spacing-56",$position:"relative",$borderRadius:"border-radius-circle",$justifyContent:"center",$alignItems:"center",$mr:"spacing-12",children:(0,n.jsx)(m.A,{image:l.image,$objectFit:"cover",width:56,height:56})}),(0,n.jsxs)(u.f,{$mr:["spacing-0","spacing-32"],children:[(0,n.jsx)(c.Id,{tag:"h2",$font:"heading-7",children:l.name}),l.role&&(0,n.jsx)(x.a,{$mt:"spacing-4",$font:"body-3",$color:"text-subdued",children:l.role})]})]}),(0,n.jsx)(y,{})]})]})};var S=t(61922);let A=e=>
1{let{content:i,children:t,breadcrumbs:p}=e,{categories:$}=i,h="blog"in i?i.blog:i.webinar,u="blog"in i?"blog-index":"webinar-index";return(0,n.jsx)(l.a,{children:(0,n.jsxs)(a.y,{$ph:["spacing-12","spacing-0"],$pb:"spacing-24",children:[(0,n.jsx)(r.F,{$colSpan:[12,0],$mt:["spacing-24","spacing-0","spacing-0"],children:(0,n.jsx)(S.A,{page:u,withBackButton:!0,label:g.e,children:(0,n.jsx)(d.A,{$pv:"spacing-24",$ph:"spacing-16",categories:$,page:u})})}),(0,n.jsxs)(r.F,{$colSpan:[0,12],$display:["none","flex"],$flexDirection:"column",$mv:"spacing-16",$gap:"spacing-24",children:[(0,n.jsx)(s.Q,{breadcrumbs:p}),(0,n.jsx)(o.vm,{iconName:"header-underline",$colorFilter:"bg-interactive-element2",$height:"spacing-4",$width:"100%",$objectFit:"fill"})]}),(0,n.jsxs)(r.F,{$order:[0,2],$colSpan:[12,3],$mt:["spacing-48","spacing-12"],$display:["none","block"],$top:[null,"spacing-72"],$position:[null,"sticky"],children:[(0,n.jsx)(c.Id,{tag:"h3",$font:"body-3",children:g.e}),(0,n.jsx)(d.A,{$mt:"spacing-16",categories:$,page:u})]}),(0,n.jsx)(r.F,{$order:[0,1],$colSpan:[12,2]}),(0,n.jsxs)(r.F,{$order:[1,0],$colSpan:[12,7],$mt:["spacing-48","spacing-12"],children:[(0,n.jsx)(k,{post:h,page:u}),t]})]})})}},75973:(e,i,t)=>{t.d(i,{e:()=>u,A:()=>x});var n=t(23798),l=t(79395),a=t(45945),r=t(72784),s=t(95302),o=t(59954),c=t(56048),d=t(30286),g=t(35473);let p=e=>{let{label:i,linkProps:t,isSelected:l,setSelected:a,trackingProps:r}=e,s=(0,g._o)(e=>e.track);return(0,n.jsx)(o.V,{$display:"flex",$font:"heading-7",$position:"relative",$overflow:"visible",$alignItems:"center",$color:l?"text-subdued":"text-primary",$mb:"spacing-12",children:(0,n.jsx)(c.a,{variant:"secondary","aria-current":!!l||void 0,href:(0,d.TX)({...t}),onClick:()=>{if(a(t),r){let{keyStageSlug:e,subjectSlug:t}=r;s.programmeRefined({componentType:"filter_link",filterType:"Learning theme filter",filterValue:i,activeFilters:{keyStage:[e],subject:[t]}})}},iconName:l?"arrow-right":void 0,children:i})})},$=e=>{let{ariaLabel:i,categories:t,getIsSelected:l,setSelected:a,themeTrackingProps:r,...o}=e;return(0,n.jsx)("nav",{"aria-label":i,children:(0,n.jsx)(s.d,{...o,$reset:!0,$mr:"spacing-32",children:t.map(e=>(0,n.jsx)(p,{isSelected:l(e.linkProps),setSelected:a,trackingProps:r,...e},`CategoryFilterListItem-${e.label}`))})})};var h=t(21462);let u="Categories",x=e=>{let{categories:i,selectedCategorySlug:t,page:s,...o}=e,{getIsSelected:c,setSelected:p}=(e=>{let{selectedKey:i,getKey:t}=e,[n,l]=(0,h.useState)(i);return(0,h.useEffect)(()=>
1{l(i)},[i]),{getIsSelected:e=>n===t(e),setSelected:e=>l(t(e))}})({selectedKey:t,getKey:e=>e.categorySlug||null});return(0,n.jsx)(l.f,{...o,children:(0,n.jsxs)(g.fA,{programmeState:null,accessLevel:"blogs_embedded_links",children:[(0,n.jsx)($,{ariaLabel:u,getIsSelected:c,setSelected:p,categories:[{label:"All",linkProps:{page:s}},...i.map(e=>{let{title:i,slug:t}=e;return{label:i,linkProps:{page:s,categorySlug:t}}})]}),(0,n.jsx)(a.J,{$mt:"spacing-32",$height:"spacing-32",$font:"heading-7",children:(0,n.jsx)(r.q,{element:"a",href:"webinar-index"===s?(0,d.TX)({page:"blog-index"}):(0,d.TX)({page:"webinar-index"}),iconName:"arrow-right",isTrailingIcon:!0,children:`Switch to ${"blog-index"===s?"webinars":"blogs"}`})})]})})}},83921:(e,i,t)=>{t.d(i,{T:()=>n,x:()=>l});let n=(e,i,t,n)=>[{text:n,href:`/${t}`},{text:e.find(e=>e.slug===i)?.title||"All"}],l=(e,i,t,n)=>{let{title:l,category:a}=i;return[{text:n,href:`/${t}`},{text:e.find(e=>e.slug===a.slug)?.title||"All",href:`/${t}/categories/${a.slug}`},{text:l}]}},94357:(e,i,t)=>{t.d(i,{A:()=>n.A});var n=t(75973)}}]);
2//# sourceMappingURL=1878-55d2c2291823fccd.js.map

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.