PageSourceSearch

https://www.hachettelearning.com/sitefiles/next-gen/dist/Header-922980e95c496396e4b7.js

js hachettelearning.com collected 2026-10-09 21:32:57 UTC 65,970 bytes, 2 lines download raw bytes

1"use strict";(this.webpackChunkhodder_education=this.webpackChunkhodder_education||[]).push([[9351],{4515:(e,t,a)=>{a.d(t,{Z:()=>l});var n,o,i=a(67294);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r.apply(this,arguments)}const l=function(e){return i.createElement("svg",r({viewBox:"0 0 192 50",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=i.createElement("g",{clipPath:"url(#hachette-learning_svg__clip0_609_13662)",fill:"#2E2E2E"},i.createElement("path",{d:"M65.374 31.626h2.814V17.74c0-4.92-2.967-8.059-7.885-8.059-2.49 0-4.6.912-6.19 2.733V0H51.3v31.626h2.814v-13.41c0-3.878 2.178-6.041 5.688-6.041s5.575 2.084 5.575 6.041v13.41h-.002zm20.585 0h2.79V16.872c0-4.638-2.77-7.19-8.542-7.19-3.527 0-5.784.755-7.681 3.275l1.967 1.754c1.311-1.869 2.78-2.58 5.67-2.58 4.15 0 5.772 1.711 5.772 4.994v6.877c0 1.902-.378 3.17-1.146 3.905-1.433 1.39-3.16 1.558-5.063 1.558-3.618 0-5.243-1.283-5.243-3.924 0-2.642 1.682-4.035 5.12-4.035h3.504v-2.213h-3.864c-4.784 0-7.538 2.379-7.538 6.267 0 1.68.589 3.28 1.61 4.348 1.376 1.414 3.173 1.98 6.24 1.98 3.069 0 4.624-.597 6.404-2.375v2.113zm11.22-4.865c-1.046-1.479-1.433-3.156-1.433-5.98 0-2.823.39-4.488 1.433-5.967 1.213-1.728 3.082-2.64 5.321-2.64 2.24 0 3.494.644 5.219 2.57l1.929-1.806c-2.266-2.47-4.173-3.254-7.148-3.254-5.637 0-9.566 3.905-9.566 11.1s3.931 11.11 9.566 11.11c2.975 0 4.882-.8 7.148-3.266l-1.929-1.797c-1.725 1.923-3.07 2.57-5.219 2.57-2.148 0-4.108-.915-5.321-2.64zm29.108 4.865h2.812V17.74c0-4.92-2.965-8.059-7.884-8.059-2.491 0-4.602.912-6.191 2.733V0h-2.814v31.626h2.814v-13.41c0-3.878 2.178-6.041 5.688-6.041s5.575 2.084 5.575 6.041v13.41zm12.354-10.115h11.988v-1.297c0-6.496-3.309-10.533-8.81-10.533s-8.808 4.118-8.808 11.1c0 7.495 3.51 11.11 9.354 11.11 3.649 0 5.692-1.131 7.901-3.34l-1.977-1.665c-1.768 1.765-3.268 2.512-5.8 2.512-3.448 0-5.52-1.764-6.319-4.95-.278-1.068-.374-2.185-.374-3.678 0-2.523.106-3.82.74-5.245 1.014-2.28 3.067-3.415 5.285-3.415 2.369 0 4.406 1.323 5.284 3.415.507 1.248.643 1.911.722 3.768h-9.183v2.218h-.003zm21.466 10.115h1.981v-2.45h-1.474c-2.124 0-3.091-1.247-3.091-3.327V12.163h4.073v-2.118h-4.073V3.202h-2.814v6.84h-2.845v2.118h2.845v13.706c0 3.242 1.819 5.757 5.398 5.757m11.091.003h1.981v-2.45h-1.474c-2.125 0-3.094-1.247-3.094-3.327V12.163h4.073v-2.118h-4.073V3.202H165.8v6.84h-2.848v2.118h2.848v13.706c0 3.242 1.818 5.757 5.398 5.757m20.226-10.112v-1.297c0-6.496-3.307-10.533-8.808-10.533-5.501 0-8.808 4.118-8.808 11.1 0 7.495 3.508 11.11 9.351 11.11 3.65 0 5.693-1.131 7.902-3.34l-1.977-1.665c-1.768 1.765-3.269 2.512-5.8 2.512-3.446 0-5.52-1.764-6.317-4.95-.278-1.068-.373-2.185-.373-3.678 0-2.523.105-3.82.737-5.245 1.017-2.28 3.067-3.415 5.288-3.415 2.366 0 4.402 1.323 5.283 3.415.507 1.248.641 1.911.72 3.768h-9.183v2.218h11.985zM27.601 22.399H15.249V10.045H0V50h15.25v-2.895H2.894V12.94h9.459v12.352h15.247v-2.893zm12.354 27.6V10.046H24.708v2.895H37.06v34.167H27.6V34.755H12.354v2.896h12.354v12.351h15.247V50zM51.297 37.988h2.091v10.036h4.898v1.76h-6.991V37.989h.002zM60.803 37.988h7.1v1.761h-5.008v3.023h4.242v1.76h-4.242v3.492h5.187v1.76h-7.278V37.989zM73.265 37.988h2.453l3.845 11.797h-2.216l-1.797-6.276c-.375-1.25-.722-2.594-1.067-3.889h-.072a84.342 84.342 0 01-1.045 3.889l-1.812 6.276h-2.136l3.845-11.797h.002zm-1.572 6.959h5.556v1.641h-5.556v-1.641zM81.365 37.988h3.974c2.453 0 4.343.867 4.343 3.501s-1.89 3.687-4.343 3.687h-1.883v4.611h-2.091V37.988zm3.759 5.51c1.615 0 2.496-.67 2.496-2.011 0-1.343-.88-1.826-2.496-1.826h-1.668v3.838h1.668zm-.177 1.116l1.514-1.25 3.683 6.418h-2.352l-2.847-5.17.002.002zM92.494 37.988h2.15l3.667 6.63 1.22 2.518h.072c-.1-1.22-.268-2.714-.268-4.025v-5.123h1.991v11.797h-2.151l-3.666-6.643-1.22-2.507h-.072c.1 1.249.268 2.67.268 3.981v5.166h-1.991V37.986v.002zM104.776 37.988h2.091v11.797h-2.091V37.988zM110.313 37.988h2.151l3.666 6.63 1.22 2.518h.072c-.1-1.22-.268-2.714-.268-4.025v-5.123h1.991v11.797h-2.151l-3.666-6.643-1.22-2.507h-.072c.1 1.249.268 2.67.268 3.981v5.166h-1.991V37.986v.002zM121.976 43.925c0-3.86 2.445-6.154 5.584-6.154 1.675 0 2.821.736 3.566 1.493l-1.118 1.35c-.591-.578-1.285-1.025-2.381-1.025-2.091 0-3.498 1.622-3.498 4.271s1.249 4.322 3.616 4.322c.655 0 1.306-.187 1.682-.52v-2.546h-2.223v-1.718h4.099V48.6c-.788.795-2.151 1.4-3.767 1.4-3.182 0-
15.556-2.17-5.556-6.075h-.004z"}))),o||(o=i.createElement("defs",null,i.createElement("clipPath",{id:"hachette-learning_svg__clip0_609_13662"},i.createElement("path",{fill:"#fff",d:"M0 0h191.424v50H0z"})))))}},11318:(e,t,a)=>{var n,o,i;a.d(t,{Iq:()=>n,N$:()=>i,Sd:()=>s,_n:()=>r,h5:()=>l,tw:()=>o,yQ:()=>d}),function(e){e.News="news",e.CaseStudy="case-study",e.Blog="blog",e.WhitePaper="white-paper"}(n||(n={})),function(e){e.Online="online",e.InVenue="in-person",e.TeacherEvent="teacher-event",e.StudentEvent="student-event",e.QandAEvent="q-and-a-event",e.PanelEvent="panel-event"}(o||(o={})),function(e){e[e.None=0]="None",e[e.OnlineTeacherWorkshop=1]="OnlineTeacherWorkshop",e[e.StudentRevision=2]="StudentRevision",e[e.StudentRevisionWebinar=3]="StudentRevisionWebinar",e[e.TeacherTraining=4]="TeacherTraining",e[e.TeacherTrainingWebinar=5]="TeacherTrainingWebinar"}(i||(i={}));const r=e=>{switch(e){case i.OnlineTeacherWorkshop:case i.TeacherTrainingWebinar:return[o.Online,o.TeacherEvent];case i.StudentRevision:return[o.InVenue,o.StudentEvent];case i.StudentRevisionWebinar:return[o.Online,o.StudentEvent];case i.TeacherTraining:return[o.InVenue,o.TeacherEvent]}return[]},l=e=>e===i.OnlineTeacherWorkshop||e===i.TeacherTrainingWebinar||e===i.StudentRevisionWebinar;var s,d,c;!function(e){e.Digital="digital",e.New="new",e.Print="print",e.ProfessionalDevelopment="professional-development",e.SchoolOrCollegePurchase="school-or-college-purchase",e.SpecialOffer="special-offer",e.TestOrAssessment="test-or-assessment",e.DigitalSubscription="digital-subscription",e.EBook="ebook",e.Download="download",e.Book="book",e.Magazine="magazine"}(s||(s={})),function(e){e.Primary="primary",e.Secondary="secondary",e.Assessment="assessment"}(d||(d={})),function(e){e.Green="green",e.Orange="orange",e.Red="red"}(c||(c={}))},7944:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(67294),o=a(45415);const i=e=>(0,o.y)()?n.createElement(n.Fragment,null,e.fallback):n.createElement(n.Suspense,{fallback:e.fallback},e.children)},11877:(e,t,a)=>{a.d(t,{a:()=>n,d:()=>o});const n="Link opens in a new tab",o=e=>"_blank"===e||"blank"===e?n:void 0},23196:(e,t,a)=>{a.d(t,{O3:()=>s,cC:()=>d,eR:()=>l});var n=a(47416),o=a(77765);const i="cubic-bezier(0.33, 1, 0.68, 1)",r=e=>(0,n.iv)(["@media (prefers-reduced-motion:no-preference){","}"],e),l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.35,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i;return r((0,n.iv)(["transition-duration:",";transition-property:",";transition-timing-function:",";will-change:",";"],"string"==typeof t?t:`${t}s`,e,a,e))};function s(e,t,a){return(0,n.iv)(["@keyframes shimmer{0%{background-position:-1200px 0;}100%{background-position:1200px 0;}}&[data-loading='true'],[data-loading='true'] &{animation:shimmer forwards linear 2.2s infinite;background:",";background-size:1200px 100%;height:",";width:",";text-indent:-9999px;font-size:0px;color:transparent;pointer-events:none;}"],"dark"===e?`linear-gradient(to right, currentColor 8%, ${o.Z.secondary.backgroundGrey} 18%, currentColor 33%)`:`linear-gradient(to right, currentColor 8%, ${o.Z.global.white} 18%, currentColor 33%)`,t?`${t}px`:"25px",a?`${a}px`:"100%")}function d(){return(0,n.iv)(["@keyframes ellipsis{to{width:1em;}}&[data-loading='true'],[data-loading='true'] &{&::after{content:'...';overflow:hidden;display:inline-block;vertical-align:bottom;animation:ellipsis steps(4,end) 1s infinite;width:0px;}}"])}},28520:(e,t,a)=>{a.d(t,{HW:()=>o,VA:()=>i,sC:()=>n});const n=()=>{const e=localStorage.getItem("basketTotal");return e?parseInt(e,10):0},o=e=>{localStorage.setItem("basketTotal",e.toString())},i=e=>{o(e),window.dispatchEvent(new Event("storage"))}},77765:(e,t,a)=>{a.d(t,{K:()=>o,Z:()=>n});const n={global:{black:"#000000",white:"#FFFFFF"},notification:{default:"#FFCCD5",red:"#FFDDD2",green:"#CCECD7"},primary:{grey:"#2E2E2E",navy:"#003D61",turquoise:"#006D77",turquoiseLight:"#83C5BE",turquoiseLightMid:"#B2D3D6",turquoiseFaint:"#EBF3F4"},secondary:{backgroundGrey:"#F5F5F7",inactiveGrey:"#6C757D",lightBlue:"#EBF3F4",midBlue:"#B2C5D0"},accent:{heather:"#E3B8E0",lemon:"#F7EB66",peach:"#F5C7A6",moss:"#BACC96"},tag:{article:{blog:"#3F408F",caseStudy:"#217DAB",news:"#DF0081",whitePaper:"#3A7D44"},cpd:{online:"#1B4488",panel:"#2D6A4F",person:"#5A189A",qanda:"#2277B6",student:"#00800A",teacher:"#A4133C",webinar:"#0E283D",workshop:"#3AA5DA"}
1,product:{digital:"#CAF0F8",new:"#C2F8CB",print:"#E0AAFF",professional:"#FAE588",school:"#83C5BE",specialOffer:"#FFCCD5",test:"#FFBF69"},sales:{assessment:"#720026",primary:"#3C096C",secondary:"#2D6A4F"}},themeColors:{blue:"#212463",green:"#2F9635",pink:"#f5b2ac",yellow:"#f8e593",red:"#D66555",grey:"#98979C"},validation:{error:"#A4161A",errorTint:"#F6E8E8",success:"#008000",successTint:"#E6F2E6",warning:"#BC3908",warningTint:"#F8EBE6"}};var o;!function(e){e.WHITE="white",e.GREY="grey",e.TURQUOISE="turquoise",e.TURQUOISE_WITH_GREY="turquoise-with-grey",e.NAVY="navy"}(o||(o={}))},14555:(e,t,a)=>{a.d(t,{qx:()=>l});var n=a(96805);const o=16,i=n.AS.TabletSmall,r=n.AS.DesktopLarge;function l(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r;const l=e/o,d=t/o,c=a/o,u=n/o,p=(d-l)/(u-c),m=-c*p+l,g=`${s(l)}rem`,h=`${s(m)}rem + ${s(100*p)}vw`,v=`${s(d)}rem`;return`clamp(${g}, ${h}, ${v})`}function s(e){return Math.round(100*e)/100}},54267:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(47416);const o={sofiaPro:{regular:(0,n.iv)(["font-family:'Sofia Pro',sans-serif;font-style:normal;font-weight:400;"]),regularItalic:(0,n.iv)(["font-family:'Sofia Pro',sans-serif;font-weight:400;font-style:italic;"])},poppins:{regular:(0,n.iv)(["font-family:'Poppins',sans-serif;font-style:normal;font-weight:400;"]),regularItalic:(0,n.iv)(["font-family:'Poppins',sans-serif;font-weight:400;font-style:italic;"]),medium:(0,n.iv)(["font-family:'Poppins',sans-serif;font-style:normal;font-weight:500;"]),mediumItalic:(0,n.iv)(["font-family:'Poppins',sans-serif;font-weight:500;font-style:italic;"]),semiBold:(0,n.iv)(["font-family:'Poppins',sans-serif;font-style:normal;font-weight:600;"]),semiBoldItalic:(0,n.iv)(["font-family:'Poppins',sans-serif;font-weight:600;font-style:italic;"])}}},95798:(e,t,a)=>{a.d(t,{h:()=>n});const n=(0,a(47416).iv)(["border:none;outline:none;padding:0px;background:none;border-radius:0px;"])},42334:(e,t,a)=>{a.d(t,{B:()=>o});var n=a(81229);function o(e){return(0,n.Ym)(0,0,e/100)}[18,46,70,73,87].reduce(((e,t)=>({...e,[`grey${t}`]:o(t)})),{})},98163:(e,t,a)=>{a.d(t,{TF:()=>l,dR:()=>r,t_:()=>i});var n=a(47416),o=a(96805);const i=1720,r=(0,n.iv)(["margin:0 auto;max-width:var(--siteWidth);padding:0 var(--sitePadding);width:100%;"]),l=(0,n.iv)(["display:grid;column-gap:var(--gutterWidth);grid-template-columns:repeat(4,1fr);@media ","{grid-template-columns:repeat(12,1fr);}"],(0,o.Dp)(o.AS.TabletLarge))},32211:(e,t,a)=>{a.d(t,{S:()=>n});const n={HEADER:100,Modal:1e3}},96805:(e,t,a)=>{var n;function o(e){return`(min-width: ${e}px)`}function i(e){return`(max-width: ${e-1}px)`}function r(e,t){return`${o(e)} and ${i(t)}`}a.d(t,{AS:()=>n,C4:()=>i,Dp:()=>o,vX:()=>r}),function(e){e[e.MobileSmall=320]="MobileSmall",e[e.Mobile=375]="Mobile",e[e.MobileLarge=480]="MobileLarge",e[e.TabletSmall=568]="TabletSmall",e[e.Tablet=768]="Tablet",e[e.TabletLarge=1024]="TabletLarge",e[e.DesktopSmall=1280]="DesktopSmall",e[e.Desktop=1366]="Desktop",e[e.DesktopLarge=1600]="DesktopLarge",e[e.ActualDesktop=1920]="ActualDesktop",e[e.DesktopXL=2560]="DesktopXL"}(n||(n={}))},93688:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(47416),o=a(77765);const i=(0,n.iv)(["&::-webkit-scrollbar-track{position:relative;background-color:",";}&::-webkit-scrollbar{position:relative;background-color:",";height:15px;width:15px;}&::-webkit-scrollbar-thumb{position:relative;background-color:",";border:5px solid ",";border-radius:13px;cursor:pointer;}"],o.Z.global.white,o.Z.global.white,o.Z.secondary.inactiveGrey,o.Z.global.white)},77153:(e,t,a)=>{a.d(t,{Z:()=>n});const n=(0,a(47416).iv)(["border:0 !important;clip:rect(1px,1px,1px,1px) !important;-webkit-clip-path:inset(50%) !important;clip-path:inset(50%) !important;height:1px !important;margin:-1px !important;overflow:hidden !important;padding:0 !important;position:absolute !important;width:1px !important;white-space:nowrap !important;"])},45415:(e,t,a)=>{a.d(t,{y:()=>n});const n=()=>!("undefined"!=typeof window&&window.document)},35588:(e,t,a)=>{a.d(t,{qx:()=>D,_R:()=>_,h1:()=>m,h2:()=>g,h3:()=>h,h4:()=>v,h5:()=>f,h6:()=>y,h7:()=>b,p4:()=>Z,$y:()=>S,Xm:()=>x,Q_:()=>k,oW:()=>C});var n=a(11318);const o=a.p+"blockquote-bg-image-bda535143273387febe3.svg?url";var i=a(81229),r=a(47416),l=a(23196),s=a(77765),d=a(14555),c=a(54267),u=a(96805);const p=(0,r.iv)(["color:currentColor;line-height:1.25em;margin:0 0 ",";"],(0,d.qx)(16,24)),m=(0,r.iv)([""," "," font-size:",";"],p,c.Z.sofiaPro.regular,(0,d.qx)(30,45)),g=(0,r.iv)([""," "," font-size:",";"],p,c.Z.sofiaPro.regular,(0,d.qx)(25,30)),h=(0,r.iv)([""," "," font-size:",";"],p,c.Z.sofiaPro.regular,(0,d.qx)(18,25)),v=(0,r.iv)([""," "," font-size:",";"],p,c.Z.poppins.semiBold,(0,d.qx)(16,18)),f=(0,r.iv)([""," "," font-size:",";"],p,c.Z.poppins.semiBold,(0,d.qx)(12,16)),y=(0,r.iv)([""," "," font-size:",";"],p,c.Z.poppins.medium,(0,d.qx)(10,14)),b=(0,r.iv)([""," "," font-size:",";"],p,c.Z.poppins.medium,(0,d.qx)(8,12)),w=(0,r.iv)(["color:currentColor;",";line-height:1.5em;margin:0 0 ",";a{",";}"],c.Z.poppins.regular,(0,d.qx)(16,24),(()=>Z)),x=(0,r.iv)(["",";font-size:",";"],w,(0,d.qx)(16,20)),k=(0,r.iv)(["",";font-size:",";"],w,(0,d.qx)(12,16)),C=(0,r.iv)(["",";font-size:",";"],w,(0,d.qx)(8,12)),S=(0,r.iv)(["display:block;",";font-size:",";line-height:",";padding:5px 20px;color:var(--metaFgColour);background-color:var(--metaBgColour);text-transform:capitalize;sup{font-size:60%;}&[data-border='inline']{border-radius:5px;}&[data-border='top-left']{border-radius:25px 0px 25px 0px;}&[data-border='top-right']{border-radius:0px 25px 0px 25px;}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}&[data-type=","],[data-type=","] &{--metaFgColour:",";--metaBgColour:",";}"],c.Z.poppins.semiBold,(0,d.qx)(9,14),(0,d.qx)(13,18),n.Iq.News,n.Iq.News,s.Z.global.white,s.Z.tag.article.news,n.Iq.CaseStudy,n.Iq.CaseStudy,s.Z.global.white,s.Z.tag.article.caseStudy,n.Iq.Blog,n.Iq.Blog,s.Z.global.white,s.Z.tag.article.blog,n.Iq.WhitePaper,n.Iq.WhitePaper,s.Z.global.white,s.Z.tag.article.whitePaper,n.Sd.Digital,n.Sd.Digital,s.Z.global.black,s.Z.tag.product.digital,n.Sd.New,n.Sd.New,s.Z.global.black,s.Z.tag.product.new,n.Sd.Print,n.Sd.Print,s.Z.global.black,s.Z.tag.product.print,n.Sd.ProfessionalDevelopment,n.Sd.ProfessionalDevelopment,s.Z.global.black,s.Z.tag.product.professional,n.Sd.SchoolOrCollegePurchase,n.Sd.SchoolOrCollegePurchase,s.Z.global.black,s.Z.tag.product.school,n.Sd.SpecialOffer,n.Sd.SpecialOffer,s.Z.global.black,s.Z.tag.product.specialOffer,n.Sd.TestOrAssessment,n.Sd.TestOrAssessment,s.Z.global.black,s.Z.tag.product.test,n.Sd.DigitalSubscription,n.Sd.DigitalSubscription,s.Z.global.black,s.Z.accent.moss,n.Sd.EBook,n.Sd.EBook,s.Z.global.black,s.Z.accent.heather,n.Sd.Download,n.Sd.Download,s.Z.global.black,s.Z.accent.peach,n.Sd.Book,n.Sd.Book,s.Z.global.black,s.Z.accent.lemon,n.Sd.Magazine,n.Sd.Magazine,s.Z.global.black,s.Z.primary.turquoiseLight,n.tw.Online,n.tw.Online,s.Z.global.white,s.Z.tag.cpd.online,n.tw.InVenue,n.tw.InVenue,s.Z.global.white,s.Z.tag.cpd.person,n.tw.TeacherEvent,n.tw.TeacherEvent,s.Z.global.white,s.Z.tag.cpd.teacher,n.tw.StudentEvent,n.tw.StudentEvent,s.Z.global.white,s.Z.tag.cpd.student,n.tw.QandAEvent,n.tw.QandAEvent,s.Z.global.white,s.Z.tag.cpd.qanda,n.tw.PanelEvent,n.tw.PanelEvent,s.Z.global.white,s.Z.tag.cpd.panel,n.yQ.Primary,n.yQ.Primary,s.Z.global.white,s.Z.tag.sales.primary,n.yQ.Secondary,n.yQ.Secondary,s.Z.global.white,s.Z.tag.sales.secondary,n.yQ.Assessment,n.yQ.Assessment,s.Z.global.white,s.Z.tag.sales.assessment),Z=(0,r.iv)(["display:inline-block;color:",";margin:0 -4px 0;padding:0 4px 0;"," text-decoration:underline;text-underline-position:under;",";&:focus{outline:none;}&:focus,&:hover{color:",";}
1&:disabled,&[aria-disabled='true']{color:",";}"],s.Z.primary.navy,c.Z.poppins.medium,(0,l.eR)("color"),s.Z.primary.turquoise,s.Z.secondary.inactiveGrey),E=(0,r.iv)(["--altBgColour:#ebf3f4;background:",";border-collapse:collapse;color:",";margin-bottom:1em;width:100%;thead{tr{background-color:var(--altBgColour);td,th{"," "," padding:12px 16px;text-align:left;border:1px solid ",";}}}tbody{tr{&:nth-child(odd){background:",";}&:nth-child(even){background:var(--altBgColour);}th{"," color:",";padding:12px 16px;text-align:left;text-transform:uppercase;}td{"," font-size:",";padding:12px 16px;text-align:left;}th,td{border:1px solid ",";}}}"],s.Z.global.white,s.Z.primary.grey,k,c.Z.poppins.medium,(0,i.m4)(s.Z.primary.turquoise,.25),s.Z.global.white,v,s.Z.primary.grey,k,(0,d.qx)(14,16),(0,i.m4)(s.Z.primary.turquoise,.25)),I=(0,r.iv)(["--borderSize:5px;--svgYOffset:15px;position:relative;",";color:",";background-image:url(",");background-size:38px 30px;background-repeat:no-repeat;background-position:0px calc(var(--svgYOffset) + var(--borderSize));font-size:",";line-height:1.4em;padding:60px 0 15px;margin:50px 0;text-align:left;[data-reduced-width='true'] &{font-size:",";}@media ","{--borderSize:8px;--svgYOffset:20px;background-size:60px 48px;padding:44px 0 20px 80px;}p{",";color:",";font-size:",";line-height:",";margin:0;[data-reduced-width='true'] &{font-size:",";line-height:",";}}&::before,&::after{content:'';display:block;position:absolute;left:0;width:100%;height:var(--borderSize);background-color:",";border-radius:16px;}&::before{top:0;}&::after{bottom:0;}"],c.Z.poppins.semiBold,s.Z.primary.grey,o,(0,d.qx)(18,28),(0,d.qx)(18,24),(0,u.Dp)(u.AS.TabletLarge),c.Z.poppins.semiBold,s.Z.primary.grey,(0,d.qx)(20,30),(0,d.qx)(25,39),(0,d.qx)(20,26),(0,d.qx)(25,35),s.Z.secondary.backgroundGrey),_=(0,r.iv)(["h1,.h1-styles{",";color:currentColor;}h2,.h2-styles{",";color:currentColor;}h3,.h3-styles{",";color:currentColor;}h4,.h4-styles{",";color:currentColor;}h5,.h5-styles{",";color:currentColor;}h6,.h6-styles{",";color:currentColor;}h7,.h7-styles{",";color:currentColor;}p.large{","}p{","}p.small{","}a{"," display:inline;overflow-wrap:break-word;word-wrap:break-word;word-break:break-word;hyphens:auto;}ol,ul{",";li{margin-bottom:",";&::marker{color:",";}}}ol{list-style:decimal;padding-left:1.2em;}ul{list-style:none;padding-left:24px;li{position:relative;&::before{content:'';position:absolute;top:2px;left:calc("," * -1);width:",";height:",";clip-path:polygon(0 0,100% 0,100% 100%,82% 100%,82% 18%,0 18%);background-color:currentColor;}}}hr{display:block;background:",";border:0;height:2px;margin:"," 0;padding:0;width:100%;}table{",";}blockquote{",";}.responsive-table{position:relative;overflow-x:auto;}> *:first-child{margin-top:0;}> *:last-child{margin-bottom:0;}"],m,g,h,v,f,y,b,x,k,C,Z,k,(0,d.qx)(14,20),s.Z.primary.navy,(0,d.qx)(20,24),(0,d.qx)(11,15),(0,d.qx)(9,13),s.Z.primary.grey,(0,d.qx)(30,60),E,I),D=1020},74213:(e,t,a)=>{a.d(t,{G:()=>r});var n=a(18522),o=a(47535),i=a(67294);function r(e){const t=e.displayName||e.name||"Component",a=t=>i.createElement(n.X,{features:o.H,strict:!0},i.createElement(e,{...t}));return a.displayName=`withMotion(${t})`,a}},17850:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(67294);const o=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];(0,n.useEffect)((()=>{const n=n=>{null===e||!e.current||e.current.contains(n.target)||a.reduce(((e,t)=>e||t.contains(n.target)),!1)||t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}}),[e,t])}},20417:(e,t,a)=>{function n(){const e=()=>{window.dataLayer||(window.dataLayer=[])};return{productView:(t,a,n)=>{e();const r=[];for(const e of t)for(const t of e.prices){const n=i(e,t,1,0,a);null!==n&&r.push(n)}const l=r.reduce(((e,t)=>e+t.price*t.quantity),0);window.dataLayer.push({ecommerce:null});const s={event:3===n?"view_item_content":"view_item",ecommerce:{currency:"GBP",value:l,coupon:"not set",items:r}};window.dataLayer.push(s),o(r,!0),console.log("GA4: Product viewed",s)},eventView:(t,a)=>{e();const n=[];for(const e of t.instances){const o=l(t,e,a,1);null!==o&&n.push(o)}const i=n.reduce(((e,t)=>e+t.price*t.quantity),0);window.dataLayer.push({ecommerce:null});const r={event:"view_item",ecommerce:{currency:"GBP",value:i,coupon:"not set",items:n}};window.dataLayer.push(r),o(n,!0),console.log("GA4: Product viewed",r)},productListView:(t,a)=>{e();const n=t.map(((e,t)=>function(e,t,a,n){var o,i,r,l,d,c,u,p,m;const g=null!==(o=null===(i=e.skuIds)||void 0===i?void 0:i.filter((e=>-1!==e)).join("|").toString())&&void 0!==o?o:"";if(0===g.length)return null;let h=0;return e.price.originalAmountNum&&e.price.amountNum&&e.price.originalAmountNum>e.price.amountNum&&(h=e.price.originalAmountNum-e.price.amountNum),{item_id:g,item_name:e.title,discount:h,index:a,item_brand:null!==(r=null===(l=e.categories.Brand)||void 0===l?void 0:l.join(", "))&&void 0!==r?r:"",item_category:null!==(d=null===(c=e.tags)||void 0===c?void 0:c.join(", "))&&void 0!==d?d:"",item_category2:null!==(u=e.authors)&&void 0!==u?u:"",item_list_id:n,item_list_name:s(n),price:e.price.amountNum,quantity:1,isbn:null!==(p=null===(m=e.isbns)||void 0===m?void 0:m.join("|"))&&void 0!==p?p:""}}(e,0,t,a))).filter((e=>null!==e)),i=n.reduce(((e,t)=>e+t.price*t.quantity),0);window.dataLayer.push({ecommerce:null});const r={event:"view_item_list",ecommerce:{currency:"GBP",value:i,coupon:"not set",items:n}};window.dataLayer.push(r),o(n,!1),console.log("GA4: Product list viewed",r)},addToCart:t=>{e();const a=t.map(((e,t)=>r(e,d(e.skuId),t))).filter((e=>null!==e)),n=a.reduce(((e,t)=>e+t.price*t.quantity),0);window.dataLayer.push({ecommerce:null});const o={event:"add_to_cart",ecommerce:{currency:"GBP",value:n,coupon:"not set",items:a}};
1window.dataLayer.push(o),console.log("GA4: Product added to cart",o)},addEventToCart:t=>{e();const a=t.map(((e,t)=>function(e,t,a,n){var o,i,r,l;return 0===e.skuId.toString().length||-1===e.skuId?null:{item_id:e.skuId.toString(),item_name:e.title,discount:0,index:a,item_brand:"Hachette Learning",item_category:null!==(o=null===(i=e.tags)||void 0===i?void 0:i.join(", "))&&void 0!==o?o:"",item_category2:null!==(r=null===(l=e.authors)||void 0===l?void 0:l.join(", "))&&void 0!==r?r:"",item_list_id:t,item_list_name:s(t),price:e.price,quantity:e.quantity,coupon:""}}(e,d(e.skuId),t))).filter((e=>null!==e)),n=a.reduce(((e,t)=>e+t.price*t.quantity),0);window.dataLayer.push({ecommerce:null});const o={event:"add_to_cart",ecommerce:{currency:"GBP",value:n,coupon:"not set",items:a}};window.dataLayer.push(o),console.log("GA4: Product added to cart",o)},beginCheckout:t=>{e(),window.dataLayer.push({ecommerce:null});const a=t.items.map(((e,t)=>r(e,d(e.skuId),t))).filter((e=>null!==e)),n={event:"begin_checkout",ecommerce:{currency:"GBP",value:a.reduce(((e,t)=>e+t.price*t.quantity),0),coupon:"not set",items:a}};window.dataLayer.push(n),console.log("GA4: Checkout started",n)},purchase:t=>{e(),window.dataLayer.push({ecommerce:null});const a=t.basket.items.map(((e,a)=>r(e,d(e.skuId),a,t.basket.discountCodes?t.basket.discountCodes.map((e=>e.code)).join("|"):""))),n=t.priceSummary.totalPriceIncVatNumeric>0?t.priceSummary.totalPriceIncVatNumeric:t.priceSummary.totalPriceExVatNumeric,o=t.priceSummary.totalPriceIncVatNumeric>0?t.priceSummary.totalPriceIncVatNumeric-t.priceSummary.totalPriceExVatNumeric:0,i={event:"ecomPurchase",ecommerce:{transaction_id:t.orderNumber,value:n,tax:o,shipping:t.priceSummary.shippingPriceNumeric,currency:"GBP",payment_type:t.paymentMethod,coupon:t.basket.discountCodes?t.basket.discountCodes.map((e=>e.code)).join("|"):"",items:a}};window.dataLayer.push(i),console.log("GA4: Purchase completed",i)},userType:t=>{t&&0!==t.length&&(e(),"1"!==sessionStorage.getItem("GA_LOGGED_USER_TYPE")&&(window.dataLayer.push({userType:t}),sessionStorage.setItem("GA_LOGGED_USER_TYPE","1"),console.log("GA4: User type",t)))},loggedIn:t=>{e(),window.dataLayer.push({loggedIn:t}),console.log("GA4: Logged in",t)},registration:t=>{t&&0!==t.length&&(e(),window.dataLayer.push({event:"UserRegistration",userType:t}),console.log("GA4: User registration",t))},filterInteraction:t=>{e(),window.dataLayer.push({event:"FilterInteraction",filters:t}),console.log("GA4: Filter interaction",t)},discountCodeApplied:(t,a)=>{e();const n={event:"discount_code_applied",discountCode:t,discount:a};window.dataLayer.push(n),console.log("GA4: Discount code applied",n)}}}function o(e,t){const a=sessionStorage.getItem("GA_ITEM_LIST_IDS"),n=a&&a.length>0?JSON.parse(a):{};for(const a of e)if(t){if(void 0!==n[a.item_id])continue;n[a.item_id]=a.item_list_id}else n[a.item_id]=a.item_list_id;sessionStorage.setItem("GA_ITEM_LIST_IDS",JSON.stringify(n))}function i(e,t,a,n,o){var i,r,l,d,c,u,p,m;if(0===t.variantSkuId.toString().length||-1===t.variantSkuId)return null;let g=0;return t.originalAmountNum&&t.amountNum&&t.originalAmountNum>t.amountNum&&(g=t.originalAmountNum-t.amountNum),{item_id:null!==(i=null===(r=t.variantSkuId)||void 0===r?void 0:r.toString())&&void 0!==i?i:"",item_name:null!==(l=t.variantDescription)&&void 0!==l?l:`${e.title} (${t.label})`,discount:g,index:n,item_brand:null!==(d=e.brand)&&void 0!==d?d:"",item_category:null!==(c=null===(u=e.tags)||void 0===u?void 0:u.join(", "))&&void 0!==c?c:"",item_category2:null!==(p=e.coverAuthors)&&void 0!==p?p:"",item_list_id:o,item_list_name:s(o),price:null!==(m=t.amountNum)&&void 0!==m?m:0,quantity:a,isbn:e.isbn}}function r(e,t,a,n){var o,i,r,l,d,c;if(0===e.skuId.toString().length||-1===e.skuId)return null;let u=0;e.originalUnitPriceNum&&void 0!==e.unitPriceNum&&e.originalUnitPriceNum>e.unitPriceNum&&(u=Math.round(100*(e.originalUnitPriceNum-e.unitPriceNum))/100);const p=(null===(o=e.label)||void 0===o?void 0:o.length)>0?`${e.name} (${e.label})`:e.name;return{item_id:e.skuId.toString(),isbn:null!==(i=e.skuName)&&void 0!==i?i:"",item_name:p,discount:u,index:a,item_brand:null!==(r=e.brand)&&void 0!==r?r:"",item_category:null!==(l=e.tags)&&void 0!==l?l:"",item_category2:null!==(d=e.authors)&&void 0!==d?d:"",item_list_id:t,item_list_name:s(t),price:null!==(c=e.unitPriceNum)&&void 0!==c?c:0,quantity:e.unitCount,coupon:null!=n?n:""}}function l(e,t,a,n){var o,i,r,l;
1return 0===t.skuId.toString().length||-1===t.skuId?null:{item_id:t.skuId.toString(),item_name:`${e.gridTitle} - ${t.sessions[0].location}`,discount:0,index:n,item_brand:"Hachette Learning",item_category:null!==(o=null===(i=e.tags)||void 0===i?void 0:i.join(", "))&&void 0!==o?o:"",item_category2:null!==(r=null===(l=e.gridAuthors)||void 0===l?void 0:l.map((e=>e.name)).join(", "))&&void 0!==r?r:"",item_list_id:a,item_list_name:s(a),price:t.amountNum,quantity:1}}function s(e){switch(e){case"product_detail":return"Product Detail";case"subject_listing":return"Subject Listing";case"buy_again_listing":return"Buy Again Listing";case"subscriptions_listing":return"Subscriptions Listing";case"articles_listing":return"Articles Listing";case"downloads_listing":return"Downloads Listing";case"events_listing":return"Events Listing";case"answers_extras_listing":return"Answers Extras Listing";case"series_listing":return"Series Listing";case"search_results":return"Search Results";case"faqs_listing":return"FAQs Listing";default:return"unknown"}}function d(e){const t=sessionStorage.getItem("RYOBI_GA_ITEM_LIST_IDS");return(t&&t.length>0?JSON.parse(t):{})[e]||"unknown"}a.d(t,{Z:()=>n})},15218:(e,t,a)=>{a.d(t,{C:()=>o});var n=a(67294);const o=()=>{const[e,t]=n.useState("up"),a=n.useRef(!1),o=n.useRef(0);return n.useEffect((()=>{o.current=window.pageYOffset;const e=()=>{const e=window.pageYOffset;if(Math.abs(e-o.current)>=0){const a=e>o.current?"down":"up";t(a),o.current=e>0?e:0}a.current=!1},n=()=>{a.current||(a.current=!0,window.requestAnimationFrame(e))};return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)}),[e]),e}},12100:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(67294);const o=e=>{let{faIconCSSClass:t}=e;return n.createElement("i",{className:`fa-icon ${t}`})}},28537:(e,t,a)=>{a.d(t,{Z:()=>m});var n=a(77765),o=a(14555),i=a(54267),r=a(42334),l=a(96805),s=a(93688),d=a(47416);const c=d.ZP.div.withConfig({displayName:"Dropdownstyles__Dropdown",componentId:"sc-1kce2u8-0"})(["--fontSize:",";--fontColour:",";--backgroundColour:",";--horizontalPadding:",";position:relative;&[data-accordion='true']{@media ","{border-bottom:1px solid ",";}}"],(0,o.qx)(14,16),n.Z.global.black,n.Z.global.white,(0,o.qx)(10,20),(0,l.C4)(l.AS.TabletSmall),(0,r.B)(91)),u=d.ZP.div.withConfig({displayName:"Dropdownstyles__Selected",componentId:"sc-1kce2u8-1"})(["background-color:var(--backgroundColour);padding:15px var(--horizontalPadding);border:1px solid ",";border-radius:5px;cursor:pointer;",";color:var(--fontColour);font-size:var(--fontSize);z-index:1;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;gap:12px;align-items:center;justify-content:space-between;user-select:none;position:relative;[data-accordion='true'] &{@media ","{padding-left:0px;padding-right:0px;border:none;}}&[data-longest-text]{&:before{content:attr(data-longest-text);visibility:hidden;}> span{position:absolute;left:var(--horizontalPadding);padding-right:calc(var(--horizontalPadding) + var(--fontSize));span{display:block;margin-top:",";}}}&[data-line-break='true']{padding-bottom:32px;}.fa-icon{fill:var(--fontSize);}[data-open='true'] &{.fa-icon{transform:rotate(180deg);place-self:center;}}&:focus-visible{outline:1px solid ",";border:1px solid ",";}"],n.Z.global.black,i.Z.poppins.semiBold,(0,l.C4)(l.AS.TabletSmall),(0,o.qx)(8,14),n.Z.primary.navy,n.Z.primary.navy),p=(0,d.iv)(["display:flex;align-items:center;place-content:space-between;padding:10px var(--horizontalPadding);",";font-size:var(--fontSize);color:var(--fontColour);cursor:pointer;&[data-selected='true']{--fontColour:",";background:",";}.fa-icon{font-size:",";height:",";margin-right:calc((var(--horizontalPadding) / 3) * -1);}&[data-focused='true']{background:",";outline:1px solid ",";border:1px solid ",";}&:hover,&:focus-visible,&:focus{--fontColour:",";background:",";outline:none;}span span{display:block;margin-top:",";}"],i.Z.poppins.regular,n.Z.primary.navy,n.Z.secondary.lightBlue,(0,o.qx)(13,17),(0,o.qx)(13,17),n.Z.secondary.lightBlue,n.Z.primary.navy,n.Z.primary.navy,n.Z.primary.grey,n.Z.secondary.lightBlue,(0,o.qx)(4,7)),m={Dropdown:c,Selected:u,Items:d.ZP.div.withConfig({displayName:"Dropdownstyles__Items",componentId:"sc-1kce2u8-2"})([""," position:absolute;top:100%;transform:translateY(-4px);left:0;border:1px solid ",";border-radius:0px 0px 5px 5px;width:100%;background-color:var(--backgroundColour);z-index:10;display:none;overflow-y:auto;max-height:294px;&[data-open='true']{display:block;z-index:11;}[data-accordion='true'] &{@media ","{border:none;position:relative;}}"],s.Z,n.Z.global.black,(0,l.C4)(l.AS.TabletSmall)),Item:d.ZP.div.withConfig({displayName:"Dropdownstyles__Item",componentId:"sc-1kce2u8-3"})(["",";"],p),ItemCss:p}},53155:(e,t,a)=>{a.d(t,{Z:()=>s});var n=a(96805),o=a(17850),i=a(12100),r=a(67294),l=a(28537);const s=e=>{var t;const{onValueChange:a}=e,s=r.useRef(null),d=r.useRef(null),c=r.useRef([]),[u,p]=r.useState(!1),[m,g]=r.useState(e.values||[]),[h,v]=r.useState(""),[f,y]=r.useState(-1),b=r.useMemo((()=>{var t;return null===(t=e.values)||void 0===t?void 0:t.find((t=>t.value===e.value))}),[e.value,e.values]),w=r.useCallback((()=>{e.disableFilter||(v(""),g(e.values||[]))}),[e.disableFilter,e.values]),x=r.useCallback((e=>{var t;null===(t=d.current)||void 0===t||t.scrollTo(0,0),p(!1),y(-1),a&&a(e),w()}),[a,w]);return r.useEffect((()=>{var e;u&&f>=0&&c.current[f]&&(null===(e=c.current[f])||void 0===e||e.focus())}),[f,u]),r.useEffect((()=>{const t=t=>{var a,n;const o=document.activeElement===s.current,i=null===(a=s.current)||void 0===a?void 0:a.contains(document.activeElement);if(o||i)if(u||"ArrowDown"!==t.key&&"ArrowUp"!==t.key&&"Enter"!==t.key&&" "!==t.key){if(u)switch(t.key){case"ArrowDown":t.preventDefault(),y((e=>e<m.length-1?e+1:0));break;case"ArrowUp":t.preventDefault(),y((e=>e>0?e-1:m.length-1));break;case"Enter":case" ":var r;t.preventDefault(),f>=0&&f<m.length&&(x(m[f]),null===(r=s.current)||void 0===r||r.focus());break;case"Escape":t.preventDefault(),p(!1),y(-1),w(),null===(n=s.current)||void 0===n||n.focus();break;case"Tab":p(!1),y(-1),w()}if(u&&!e.disableFilter){let a=h;if("Backspace"===t.key?(t.preventDefault(),a=h.slice(0,-1)):1===t.key.length&&t.key.match(/[a-zA-Z]/i)&&(t.preventDefault(),a+=t.key),a!==h){var l;v(a);const t=(e.values||[]).filter((e=>e.text.toLowerCase().startsWith(a.toLowerCase())));g(t),y(0),null===(l=d.current)||void 0===l||l.scrollTo(0,0)}}}else{t.preventDefault(),p(!0);const e=b?m.findIndex((e=>e.value===b.value)):0;y(e>=0?e:0)}};return window.addEventListener("keydown",t),()=>window.removeEventListener("keydown",t)}),[u,e.disableFilter,e.values,h,m,f,b,x,w]),(0,o.Z)(s,(()=>{var t;e.accordionMobile&&window.matchMedia((0,n.C4)(n.AS.TabletSmall)).matches||(null===(t=d.current)||void 0===t||t.scrollTo(0,0),p(!1),w())})),r.createElement(r.Fragment,null,r.createElement(l.Z.Dropdown,{role:"combobox","aria-label":e.ariaLabelText||"","aria-labelledby":e.ariaLabelledby||"","aria-controls":"dropdown-list","aria-haspopup":"listbox","aria-activedescendant":u&&f>=0?`dropdown-option-${f}`:"dropdown-option-0","aria-expanded":u,ref:s,"data-open":u,"data-accordion":e.accordionMobile,tabIndex:0},r.createElement(l.Z.Selected,{onClick:()=>p(!u),"data-longest-text":(e=>{let t="";for(const a of e)a&&a.text&&a.text.length>t.length&&(t=a.text);return t})(e.values||[]),"data-line-break":null==b?void 0:b.text.includes("<span>")},r.createElement("span",{dangerouslySetInnerHTML:{__html:b?b.text:null!==(t=e.placeholder)&&void 0!==t?t:"Please select..."}}),r.createElement(i.Z,{faIconCSSClass:"fa-light fa-chevron-down"})),r.createElement(l.Z.Items,{ref:d,"data-open":u,id:"dropdown-list",role:"listbox"},m&&(null==m?void 0:m.map(((e,t)=>r.createElement(l.Z.Item,{ref:e=>c.current[t]=e,key:`${e.value}_${t}`,id:`dropdown-option-${t}`,"data-selected":(null==b?void 0:b.value)===e.value,"data-focused":f===t,"aria-selected":(null==b?void 0:b.value)===e.value,onClick:()=>x(e),tabIndex:f===t?0:-1,role:"option"},r.createElement("span",{dangerouslySetInnerHTML:{__html:e.text}}),(null==b?void 0:b.value)===e.value&&r.createElement(i.Z,{faIconCSSClass:"fa-solid fa-check"}))))),e.children)),e.countryAutocomplete&&r.createElement("input",{className:"sr-only",type:"text",autoComplete:"country",tabIndex:-1,onChange:t=>{if(!e.values||!e.onValueChange)return;const a=e.values.filter((e=>e.autoCompleteValue===t.target.value))[0];a&&e.onValueChange(a)}}))}},16650:(e,t,a)=>{a.r(t),a.d(t,{default:()=>Se});var n=a(7944),o=a(11877),i=a(28520),r=a(17850),l=a(20417),s=a(15218),d=a(4515),c=a(12100),u=a(67294),p=a(74213),m=a(4251),g=a(23279),h=a.n(g),v=a(23196),f=a(77765),y=a(14555),b=a(54267),w=a(98163),x=a(96805),k=a(18379),C=a(81229),S=a(47416);const Z=S.ZP.nav.withConfig({displayName:"DesktopNavigationstyles__Container",componentId:"sc-vy4611-0"})(["display:flex;height:100%;@media ","{display:none;}"],(0,x.C4)(x.AS.DesktopSmall)),E=S.ZP.ul.withConfig({displayName:"DesktopNavigationstyles__List",componentId:"sc-vy4611-1"})(["display:flex;align-items:center;column-gap:",";height:100%;"],(0,y.qx)(34,50,x.AS.DesktopSmall)),I=S.ZP.li.withConfig({displayName:"DesktopNavigationstyles__Item",componentId:"sc-vy4611-2"})(["display:block;height:100%;border-bottom:2px solid transparent;&:focus,&:focus-within{border-bottom:2px solid ",";}"],f.Z.primary.navy),_=S.ZP.a.withConfig({displayName:"DesktopNavigationstyles__Link",componentId:"sc-vy4611-3"})(["display:flex;align-items:center;column-gap:10px;color:currentColor;"," font-size:",";height:100%;line-height:1em;text-decoration:none;cursor:pointer;"," ",":hover &,",":focus &,",':focus-within &,&[aria-current="true"]{color:',";}.fa-icon{height:16px;font-size:16px;}"],b.Z.poppins.semiBold,(0,y.qx)(12,16),(0,v.eR)("color"),I,I,I,f.Z.primary.navy),D={Container:Z,DropdownWrapper:(0,S.ZP)(k.m.div).withConfig({displayName:"DesktopNavigationstyles__DropdownWrapper",componentId:"sc-vy4611-4"})(["position:absolute;z-index:1;top:100%;left:0;right:0;margin:0 auto;background:",";color:currentColor;width:100%;max-width:","px;box-shadow:0px 3px 5px 0px ",";&::before{content:'';position:fixed;z-index:-1;bottom:0;left:0;width:100%;height:calc(100% - var(--headerHeight));background-color:",";pointer-events:none;[data-reduced='true'] &{height:calc(100% - (var(--headerHeight) - var(--headerTopHeight)));}}"],f.Z.global.white,w.t_,(0,C.m4)(f.Z.primary.grey,.5),(0,C.m4)(f.Z.primary.grey,.85)),Item:I,Link:_,List:E},L=u.lazy((()=>Promise.all([a.e(3658),a.e(1307)]).then(a.bind(a,51307)))),A=(0,p.G)((e=>{const[t,a]=u.useState(""),[o,i]=u.useState(!1),r=(0,u.useRef)([]),l={visible:{opacity:1},hidden:{opacity:0}
1},s=h()((e=>{o&&a(e)}),300),d=e=>{var t;const a=r.current[e];a&&(null===(t=a.querySelector("a,button,[tabindex]"))||void 0===t||t.focus())};return u.useEffect((()=>{const e=()=>i(!0),t=()=>i(!1);return document.addEventListener("mousemove",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("keydown",t)}}),[]),u.createElement(D.Container,{role:"navigation","aria-label":"Secondary Navigation"},u.createElement(D.List,null,e.items&&e.items.map(((i,p)=>u.createElement(D.Item,{key:i.id,ref:e=>r.current[p]=e,onMouseEnter:()=>{var e;0!==(null===(e=i.categories)||void 0===e?void 0:e.length)&&s(i.id)},onMouseLeave:()=>{o&&(a(-1),s.cancel())},onKeyDown:e=>{"Escape"===e.key&&t===i.id&&(e.preventDefault(),e.stopPropagation(),a(-1),setTimeout((()=>{const e=r.current[p];var t;e&&(null===(t=e.querySelector("a,button,[tabindex]"))||void 0===t||t.focus())}),0))}},u.createElement(D.Link,{"aria-current":i.id===e.activeId,role:i.url?"link":"button",href:i.url,tabIndex:0,"aria-expanded":i.categories&&i.categories.length>0?t===i.id:void 0,"aria-haspopup":i.categories&&i.categories.length>0?"true":void 0,onKeyDown:n=>{switch(n.key){case"ArrowRight":n.preventDefault(),d((p+1)%e.items.length);break;case"ArrowLeft":n.preventDefault(),d((p-1+e.items.length)%e.items.length);break;case"ArrowDown":n.preventDefault(),i.categories&&i.categories.length>0&&a(i.id);break;case"ArrowUp":n.preventDefault(),a(-1);break;case"Enter":case" ":n.preventDefault(),i.categories&&i.categories.length>0?a(t===i.id?-1:i.id):i.url&&(window.location.href=i.url)}}},i.title,i.categories&&i.categories.length>0&&u.createElement(c.Z,{faIconCSSClass:"fa-light fa-angle-down"})),u.createElement(m.M,null,i.categories&&i.id===t&&u.createElement(D.DropdownWrapper,{key:i.id,initial:"hidden",animate:"visible",exit:"hidden",variants:l},u.createElement(n.Z,{fallback:null},u.createElement(L,{item:i})))))))))}));var P=a(95798),T=a(42334),N=a(32211),z=a(77153),B=a(28537),q=a(84398);const F=S.ZP.header.withConfig({displayName:"Headerstyles__Container",componentId:"sc-1q3yigj-0"})(["position:fixed;top:0;left:0;display:block;background:",";width:100%;z-index:",";@media ","{box-shadow:0 3px 6px ",";}"],f.Z.global.white,N.S.HEADER,(0,x.Dp)(x.AS.DesktopSmall),(0,C.m4)(f.Z.global.black,.25)),H=S.ZP.div.withConfig({displayName:"Headerstyles__TopWrapper",componentId:"sc-1q3yigj-1"})(["background-color:",";"],f.Z.primary.navy),M=S.ZP.div.withConfig({displayName:"Headerstyles__TopInner",componentId:"sc-1q3yigj-2"})([""," display:flex;align-items:center;height:var(--headerTopHeight);"," [data-reduced='true'] &{--headerTopHeight:0px;overflow:hidden;}"],w.dR,(0,v.eR)("height",.15)),R=S.ZP.div.withConfig({displayName:"Headerstyles__ContentWrapper",componentId:"sc-1q3yigj-3"})(["background-color:",";@media ","{padding:15px 0;}@media ","{position:relative;z-index:",";box-shadow:0 3px 6px rgba(0,0,0,0.25);}"],f.Z.global.white,(0,x.Dp)(x.AS.DesktopSmall),(0,x.C4)(x.AS.DesktopSmall),N.S.HEADER+1),G=S.ZP.div.withConfig({displayName:"Headerstyles__ContentInner",componentId:"sc-1q3yigj-4"})([""," --iconSize:20px;--columnGap:10px;@media ","{--iconSize:30px;--columnGap:30px;height:calc(var(--headerContentHeight) - 30px);}display:flex;align-items:center;justify-content:space-between;height:var(--headerContentHeight);"],w.dR,(0,x.Dp)(x.AS.DesktopSmall)),j=S.ZP.ul.withConfig({displayName:"Headerstyles__CtaList",componentId:"sc-1q3yigj-5"})(["--iconSize:20px;--columnGap:10px;display:flex;column-gap:var(--columnGap);@media ","{--columnGap:20px;}@media ","{--iconSize:30px;--columnGap:30px;&[data-mobile='true']{display:none;}}"],(0,x.Dp)(x.AS.MobileLarge),(0,x.Dp)(x.AS.DesktopSmall)),W=S.ZP.li.withConfig({displayName:"Headerstyles__CtaItem",componentId:"sc-1q3yigj-6"})(["position:relative;padding:4px;@media ","{display:flex;place-items:center;place-content:center;width:40px;",":not([data-mobile='true']) &{&:nth-child(2){display:none;}}}.fa-icon{min-width:var(--iconSize);height:var(--iconSize);font-size:var(--iconSize);}.fa-xmark{transform:scale(1.2);}&:focus-within{border:2px solid ",";border-radius:4px;}"],(0,x.C4)(x.AS.MobileLarge),j,f.Z.primary.navy),V=S.ZP.a.withConfig({displayName:"Headerstyles__CtaLink",componentId:"sc-1q3yigj-7"})(["--basketIndicatorSize:18px;--basketIndicatorColor:#a4161a;display:inline-flex;flex-direction:column-reverse;align-items:center;row-gap:6px;color:currentColor;text-decoration:none;"," @media ","{--basketIndicatorSize:26px;flex-direction:row;column-gap:18px;",":hover &,&:focus{outline:none;color:",";}}&[data-show-basket-indicator='true']{position:relative;}"],(0,v.eR)("color"),(0,x.Dp)(x.AS.DesktopSmall),W,f.Z.primary.turquoise),O=S.ZP.span.withConfig({displayName:"Headerstyles__BasketIndicator",componentId:"sc-1q3yigj-8"})(["display:none;place-items:center;place-content:center;position:absolute;top:calc((var(--basketIndicatorSize) / 2) * -1);right:calc((var(--basketIndicatorSize) / 2) * -1);width:var(--basketIndicatorSize);height:var(--basketIndicatorSize);border-radius:50%;color:",";background-color:var(--basketIndicatorColor);"," font-size:",";[data-show-basket-indicator='true'] &{display:flex;}"],f.Z.global.white,b.Z.poppins.medium,(0,y.qx)(10,12)),$=S.ZP.span.withConfig({displayName:"Headerstyles__CtaText",componentId:"sc-1q3yigj-9"})([""," font-size:8px;line-height:1em;white-space:nowrap;@media ","{"," font-size:",";"," &{","}}"],b.Z.poppins.medium,(0,x.Dp)(x.AS.DesktopSmall),b.Z.poppins.semiBold,(0,y.qx)(14,16),V,z.Z),U=(0,S.iv)(["",";display:inline-flex;flex-direction:column-reverse;align-items:center;row-gap:6px;color:currentColor;"," @media ","{flex-direction:row;column-gap:18px;",":hover &,&:focus{outline:none;color:",";}}"],P.h,(0,v.eR)("color"),(0,x.Dp)(x.AS.DesktopSmall),W,f.Z.primary.navy),Q=S.ZP.button.withConfig({displayName:"Headerstyles__MenuButton",componentId:"sc-1q3yigj-10"}
1)([""," svg:nth-of-type(2){display:none;}"],U),Y=S.ZP.button.withConfig({displayName:"Headerstyles__SearchButton",componentId:"sc-1q3yigj-11"})(["",""],U),K=S.ZP.button.withConfig({displayName:"Headerstyles__AccountButton",componentId:"sc-1q3yigj-12"})([""," @media ","{&[aria-expanded='true']{color:",";}}"],U,(0,x.Dp)(x.AS.DesktopSmall),f.Z.primary.navy),X=S.ZP.ul.withConfig({displayName:"Headerstyles__AccountDropdownList",componentId:"sc-1q3yigj-13"})(["position:absolute;top:calc(100% + 10px);right:-8px;width:242px;padding:8px 12px;border-radius:7px;border:1px solid ",";background-color:",";box-shadow:0 0 6px 1px ",";opacity:0;pointer-events:none;"," @media ","{right:0;}&[data-show='true']{opacity:1;pointer-events:all;}"],f.Z.primary.grey,f.Z.global.white,(0,C.m4)(f.Z.primary.grey,.1),(0,v.eR)("opacity"),(0,x.Dp)(x.AS.DesktopSmall)),J=S.ZP.li.withConfig({displayName:"Headerstyles__AccountDropdownItem",componentId:"sc-1q3yigj-14"})(["&:not(:last-child){border-bottom:1px solid ",";}"],(0,T.B)(80)),ee=S.ZP.a.withConfig({displayName:"Headerstyles__AccountDropdownLink",componentId:"sc-1q3yigj-15"})(["display:block;"," font-size:",";line-height:1em;letter-spacing:0.1em;color:",";padding:10px 0;text-decoration:none;&:hover,&:focus{outline:none;color:",";}"],b.Z.poppins.medium,(0,y.qx)(14,16),f.Z.primary.grey,f.Z.primary.navy),te=S.ZP.a.withConfig({displayName:"Headerstyles__LogoLink",componentId:"sc-1q3yigj-16"})(["--logoSize:88px;display:block;width:var(--logoSize);aspect-ratio:192 / 55;@media ","{margin-right:-42px;}@media ","{--logoSize:162px;margin-right:unset;}@media ","{--logoSize:191px;@media (max-height:750px){--logoSize:162px;}}svg{display:block;}&:focus{outline:auto black;outline-offset:5px;}"],(0,x.Dp)(x.AS.MobileLarge),(0,x.Dp)(x.AS.DesktopSmall),(0,x.Dp)(x.AS.Desktop)),ae=S.ZP.div.withConfig({displayName:"Headerstyles__SearchWrapper",componentId:"sc-1q3yigj-17"})(["--dropdownWidth:",";width:100%;@media ","{position:absolute;top:100%;left:0;z-index:",";width:100%;padding:12px;background-color:",";box-shadow:0 3px 6px ",";opacity:0;pointer-events:none;"," display:none;&[aria-current='true']{opacity:1;pointer-events:all;display:block;}}@media ","{max-width:",";@media (max-height:750px){max-width:560px;}}","{--fontSize:",";height:100%;align-items:center;padding-top:10px;padding-bottom:10px;@media ","{gap:0px;> span{left:6px;}}}","{--fontSize:",";}","{max-width:var(--dropdownWidth);}","{flex:1 0 calc(100% - var(--dropdownWidth));}"],(0,y.qx)(100,193),(0,x.C4)(x.AS.DesktopSmall),N.S.HEADER,f.Z.global.white,(0,C.m4)(f.Z.global.black,.25),(0,v.eR)("opacity"),(0,x.Dp)(x.AS.DesktopSmall),(0,y.qx)(560,700,x.AS.DesktopSmall),B.Z.Selected,(0,y.qx)(12,16),(0,x.C4)(x.AS.DesktopSmall),B.Z.Item,(0,y.qx)(12,16),B.Z.Dropdown,q.Z.Search),ne=S.ZP.div.withConfig({displayName:"Headerstyles__NavigationWrapper",componentId:"sc-1q3yigj-18"})(["background-color:",";@media ","{border-top:1px solid ",";}"],f.Z.global.white,(0,x.Dp)(x.AS.DesktopSmall),f.Z.secondary.inactiveGrey),oe={AccountButton:K,AccountDropdownItem:J,AccountDropdownLink:ee,AccountDropdownList:X,BasketIndicator:O,Container:F,ContentInner:G,ContentWrapper:R,
1CtaItem:W,CtaLink:V,CtaList:j,CtaText:$,LogoLink:te,MenuButton:Q,NavigationInner:S.ZP.div.withConfig({displayName:"Headerstyles__NavigationInner",componentId:"sc-1q3yigj-19"})([""," display:flex;place-items:center;place-content:center;height:var(--headerNavHeight);"],w.dR),NavigationWrapper:ne,SearchButton:Y,SearchWrapper:ae,TopInner:M,TopWrapper:H};var ie=a(58509);var re=a(93688);const le=S.ZP.nav.withConfig({displayName:"MobileNavigationstyles__Container",componentId:"sc-7e58sw-0"})([""," position:fixed;z-index:100;top:var(--headerHeight);left:0;display:flex;flex-direction:column;height:calc(100% - var(--headerHeight));width:100%;padding:0px var(--sitePadding) 10px;overflow-y:auto;background-color:",";&[aria-hidden='true']{display:none;}@media ","{display:none;}"],re.Z,f.Z.global.white,(0,x.Dp)(x.AS.DesktopSmall)),se=S.ZP.strong.withConfig({displayName:"MobileNavigationstyles__SectionTitle",componentId:"sc-7e58sw-1"})(["display:block;"," font-size:12px;margin-top:20px;"],b.Z.poppins.semiBold),de=S.ZP.ul.withConfig({displayName:"MobileNavigationstyles__ItemList",componentId:"sc-7e58sw-2"})(["display:flex;flex-direction:column;&:last-of-type{margin-bottom:20px;}"]),ce=S.ZP.li.withConfig({displayName:"MobileNavigationstyles__Item",componentId:"sc-7e58sw-3"})(["border-bottom:1px solid ",";&[data-back='true']{z-index:1;top:0;padding:0;margin:0 calc(var(--sitePadding) * -1);background:",";border-color:transparent;}&[data-no-border='true']{border:none;}.fa-icon{color:currentColor;}"],(0,T.B)(90),f.Z.global.white),ue=S.ZP.strong.withConfig({displayName:"MobileNavigationstyles__CategoryTitle",componentId:"sc-7e58sw-4"})(["display:block;"," font-size:12px;"],b.Z.poppins.semiBold),pe=S.ZP.a.withConfig({displayName:"MobileNavigationstyles__Link",componentId:"sc-7e58sw-5"})(["position:relative;display:inline-flex;align-items:center;justify-content:space-between;width:100%;",";font-size:12px;line-height:1.1em;color:currentColor;margin:0;padding:12px 0;text-decoration:none;cursor:pointer;&:focus,&.focus-ring{outline:2px solid currentColor;}"],b.Z.poppins.regular),me={Back:S.ZP.span.withConfig({displayName:"MobileNavigationstyles__Back",componentId:"sc-7e58sw-6"})(["position:relative;display:flex;align-items:center;column-gap:10px;width:100%;height:46px;padding:0px var(--sitePadding);margin:0;color:",";cursor:pointer;span{"," font-size:12px;line-height:1em;color:currentColor;}"],f.Z.primary.navy,b.Z.poppins.semiBold),Breadcrumb:S.ZP.span.withConfig({displayName:"MobileNavigationstyles__Breadcrumb",componentId:"sc-7e58sw-7"})([""," font-size:12px;line-height:1.1em;padding:6px var(--sitePadding) 20px;color:",";&,span{display:flex;align-items:center;flex-wrap:wrap;gap:0px 10px;}.fa-icon{font-size:8px;height:8px;}"],b.Z.poppins.regular,f.Z.secondary.inactiveGrey),CategoryTitle:ue,Container:le,Item:ce,ItemList:de,Link:pe,ParentLink:S.ZP.a.withConfig({displayName:"MobileNavigationstyles__ParentLink",componentId:"sc-7e58sw-8"})(["display:block;width:100%;"," font-size:12px;line-height:1.1em;padding:0 var(--sitePadding) 20px;color:",";"],b.Z.poppins.semiBold,f.Z.primary.navy),SectionTitle:se};var ge=a(89897);const he=e=>{var t,a,n,i;const r=(e=>{const t=(0,u.useRef)(null);return(0,u.useEffect)((()=>{if(null!==t.current)return!0===e?(0,ie.Qp)(t.current):(0,ie.tG)(t.current),()=>{null!==t.current&&(0,ie.tG)(t.current)};(0,ie.tP)()}),[e]),t})(e.isActive),[l,s]=u.useState([]),d=0===l.length,p=u.useRef(null),m=null==l?void 0:l[l.length-1],g=null!==(t=(null==m?void 0:m.categories)||(null==m?void 0:m.children))&&void 0!==t?t:e.items,h=l.length>0?[{title:null==l||null===(a=l[l.length-3])||void 0===a?void 0:a.title,previousItems:[...l.slice(0,l.length-2)]},{title:null==l||null===(n=l[l.length-2])||void 0===n?void 0:n.title,previousItems:[...l.slice(0,l.length-1)]},{title:m.title}]:[];return u.useEffect((()=>{e.isActive||s([])}),[e.isActive]),u.useEffect((()=>{e.isActive&&d&&setTimeout((()=>{var e;document.activeElement instanceof HTMLElement&&document.activeElement.blur(),null===(e=p.current)||void 0===e||e.focus()}),100)}),[e.isActive,d]),u.createElement(me.Container,{ref:r,id:"navigation-mobile","aria-label":"Mobile Navigation","aria-hidden":!e.isActive},d&&u.createElement(me.SectionTitle,null,e.t["hodder.header.mainmenu"]),u.createElement(me.ItemList,
1null,m&&u.createElement(u.Fragment,null,u.createElement(me.Item,{"data-back":"true"},u.createElement(me.Back,{onClick:e=>{e.preventDefault(),s([...l.slice(0,l.length-1)])}},u.createElement(c.Z,{faIconCSSClass:"fa-light fa-arrow-left-long"}),u.createElement("span",null,"Back")),u.createElement(me.Breadcrumb,null,h.map(((e,t)=>{if(e.title)return u.createElement("span",{key:e.title,onClick:()=>e.previousItems&&s(e.previousItems)},e.title,t!==h.length-1?u.createElement(c.Z,{faIconCSSClass:"fa-light fa-chevron-right"}):null)}))),l.length>0&&l[0].summary&&u.createElement(me.ParentLink,{href:l[0].url,target:null!==(i=l[0].target)&&void 0!==i?i:"_self","aria-label":(0,o.d)(l[0].target)},u.createElement("span",null,l[0].summary)))),!d&&v()&&u.createElement(me.Item,{"data-no-border":!0},u.createElement(me.CategoryTitle,null,v())),g&&g.map(((e,t)=>{var a,n;return u.createElement(me.Item,{key:e.id},u.createElement(ge.tE,{focusRingClass:"focus-ring"},u.createElement(me.Link,{ref:0===t?p:void 0,href:e.url,target:e.target,tabIndex:0,"aria-label":(0,o.d)(e.target),onClick:t=>{var a,n;(null!==(a=e.categories)&&void 0!==a&&a.length||null!==(n=e.children)&&void 0!==n&&n.length)&&(t.preventDefault(),s([...l,e]))},onKeyDown:t=>{var a,n;"Enter"!==t.key&&" "!==t.key||(null!==(a=e.categories)&&void 0!==a&&a.length||null!==(n=e.children)&&void 0!==n&&n.length)&&(t.preventDefault(),s([...l,e]))}},u.createElement("span",null,e.title),(!(null===(a=e.categories)||void 0===a||!a.length)||!(null===(n=e.children)||void 0===n||!n.length))&&u.createElement(c.Z,{faIconCSSClass:"fa-light fa-chevron-right"}))))}))),d&&e.accountLinks&&u.createElement(u.Fragment,null,u.createElement(me.SectionTitle,null,e.t["hodder.header.myaccount"]),u.createElement(me.ItemList,null,e.accountLinks.map((e=>u.createElement(me.Item,{key:e.text},u.createElement(me.Link,{href:e.url,target:e.target,"aria-label":(0,o.d)(e.target)},u.createElement("span",null,e.text))))),u.createElement(me.Item,null,u.createElement(me.Link,{href:e.favouritesUrl},u.createElement("span",null,e.t["hodder.header.myfavourites"]))),u.createElement(me.Item,null,u.createElement(me.Link,{href:e.basketUrl},u.createElement("span",null,e.t["hodder.header.mybasket"]))))),d&&e.usefulLinks&&u.createElement(u.Fragment,null,u.createElement(me.SectionTitle,null,e.t["hodder.header.usefullinks"]),u.createElement(me.ItemList,null,e.usefulLinks.map((e=>u.createElement(me.Item,{key:e.id},u.createElement(me.Link,{href:e.url,target:e.target,"aria-label":(0,o.d)(e.target)},u.createElement("span",null,e.title))))))));function v(){return 1===l.length?e.t["hodder.header.curriculum"]:2===l.length?e.t["hodder.header.browseby"]:m&&m.title?m.title:null}};var ve=a(53155);const fe=e=>{var t;return u.createElement(q.Z.Container,{"data-search-open":!1},e.itemTypes&&e.itemTypes.length>0?u.createElement(ve.Z,{value:e.itemTypes[0].value,values:null!==(t=e.itemTypes)&&void 0!==t?t:[]}):null,u.createElement(q.Z.Search,{"aria-label":"Search"},u.createElement("label",{className:"sr-only",htmlFor:"fallbackSearch"},e.placeholderText),u.createElement("input",{id:"fallbackSearch",className:"aa-Input",readOnly:!0,placeholder:e.placeholderText})))};var ye=a(35588);const be=S.ZP.nav.withConfig({displayName:"TopLinksstyles__Container",componentId:"sc-159tjd3-0"})(["margin-left:auto;@media ","{display:none;}"],(0,x.C4)(x.AS.DesktopSmall)),we=S.ZP.ul.withConfig({displayName:"TopLinksstyles__List",componentId:"sc-159tjd3-1"})(["display:flex;align-items:center;column-gap:",";height:100%;"],(0,y.qx)(24,34,x.AS.DesktopSmall)),xe={Container:be,Item:S.ZP.li.withConfig({displayName:"TopLinksstyles__Item",componentId:"sc-159tjd3-2"})(["display:block;height:100%;"]),Link:S.ZP.a.withConfig({displayName:"TopLinksstyles__Link",componentId:"sc-159tjd3-3"})([""," display:flex;align-items:center;color:",";height:100%;line-height:1em;margin:0;text-decoration:none;cursor:pointer;&:hover,&.focus-ring,&[aria-current='true']{text-decoration:underline;outline:solid 2px ",";}"],ye.h6,f.Z.global.white,f.Z.global.white),List:we},ke=e=>u.createElement(xe.Container,{role:"navigation","aria-label":"Primary Navigation"},u.createElement(xe.List,null,e.items&&e.items.map((e=>u.createElement(xe.Item,{key:e.id},u.createElement(ge.tE,{focusRingClass:"focus-ring"},u.createElement(xe.Link,{href:e.url},e.title))))))),Ce=u.lazy((()=>Promise.all([a.e(1081),a.e(881),a.e(813),a.e(2205),a.e(399)]).then(a.bind(a,70399)))),Se=e=>{var t,a;const p=(0,s.C)(),m=u.useRef(null),g=u.useRef(null),h=u.useRef(null),v=u.useRef([]),[f,y]=u.useState(!1),[b,w]=u.useState(!1),[x,k]=u.useState(!1),[C,S]=u.useState(-1),[Z,E]=u.useState(null!==(t=e.basketTotal)&&void 0!==t?t:(0,i.sC)()),I=(0,l.Z)(),_=t=>{if(!e.accountLinks||null===e.userInfo)return;const a=e.accountLinks,n=C;if(!f&&["ArrowDown","ArrowUp","Enter"," "].includes(t.key))return t.preventDefault(),y(!0),void setTimeout((()=>{var e;S(0),null===(e=v.current[0])||void 0===e||e.focus()}),0);if(f)switch(t.key){case"ArrowDown":{var o;t.preventDefault();const e=n<a.length-1?n+1:0;S(e),null===(o=v.current[e])||void 0===o||o.focus();break}case"ArrowUp":{var i;t.preventDefault();const e=n>0?n-1:a.length-1;S(e),null===(i=v.current[e])||void 0===i||i.focus();break}case"Escape":var r;t.preventDefault(),y(!1),S(-1),null===(r=g.current)||void 0===r||r.focus();break;case"Enter":case" ":var l;n>=0&&v.current[n]&&(t.preventDefault(),null===(l=v.current[n])||void 0===l||l.click());break;case"Tab":S(-1)}};return(0,r.Z)(m,(()=>{y(!1)})),(0,r.Z)(h,(()=>{k(!1)})),u.useEffect((()=>{var t;(0,i.HW)(null!==(t=e.basketTotal)&&void 0!==t?t:0);const a=()=>{E((0,i.sC)())};return window.addEventListener("storage",a),()=>{window.removeEventListener("storage",a)}}),[e.basketTotal]),u.useEffect((()=>{var t,a;I.loggedIn(null!==e.userInfo),I.userType(null!==(t=null===(a=e.userInfo)||void 0===a?void 0:a.userType)&&void 0!==t?t:"")}),[I,e.userInfo]),u.useEffect((()=>
1{e.accountLinks&&(v.current=new Array(e.accountLinks.length).fill(null))}),[e.accountLinks]),u.useEffect((()=>{f||S(-1)}),[f]),u.useEffect((()=>{if(x){const e=setTimeout((()=>{const e=document.querySelector(".aa-Input");e&&e.focus()}),100);return()=>clearTimeout(e)}}),[x]),u.createElement(u.Fragment,null,u.createElement(oe.Container,{ref:h,"data-reduced":"down"===p},u.createElement("a",{className:"skip-link",href:"#main",tabIndex:0},"Skip to main content"),u.createElement(oe.TopWrapper,null,u.createElement(oe.TopInner,null,u.createElement(ke,{items:null!==(a=e.secondaryNavigation.children)&&void 0!==a?a:[]}))),u.createElement(oe.ContentWrapper,null,u.createElement(oe.ContentInner,null,u.createElement(oe.CtaList,{"data-mobile":"true"},u.createElement(oe.CtaItem,null,u.createElement(oe.MenuButton,{role:"button",onClick:()=>{k(!1),w(!b)}},b?u.createElement(u.Fragment,null,u.createElement(oe.CtaText,null,"Close"),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-xmark"})):u.createElement(u.Fragment,null,u.createElement(oe.CtaText,null,"Menu"),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-bars-staggered"})))),u.createElement(oe.CtaItem,null,u.createElement(oe.SearchButton,{role:"button",tabIndex:b?-1:0,onClick:()=>{w(!1),k(!x)}},x?u.createElement(u.Fragment,null,u.createElement(oe.CtaText,null,"Close"),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-xmark"})):u.createElement(u.Fragment,null,u.createElement(oe.CtaText,null,"Search"),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-search"}))))),u.createElement(oe.LogoLink,{href:"/",tabIndex:b||x?-1:0,"aria-hidden":b||x},u.createElement("span",{className:"sr-only"},"Hachette Learning Logo"),u.createElement(d.Z,null)),u.createElement(oe.SearchWrapper,{"aria-current":x},u.createElement(n.Z,{fallback:u.createElement(fe,{placeholderText:e.search.placeholder,itemTypes:e.itemTypes})},u.createElement(Ce,{placeholderText:e.search.placeholder,noResultsText:e.search.noResultsText,redirectUrl:e.search.redirectUrl,itemTypes:e.itemTypes}))),u.createElement(oe.CtaList,null,u.createElement(oe.CtaItem,{ref:m},u.createElement(oe.AccountButton,{ref:g,role:null!==e.userInfo?void 0:"link",tabIndex:b?-1:0,onClick:()=>{if(null!==e.userInfo){var t;k(!1);const e=!f;y(e),null===(t=g.current)||void 0===t||t.blur(),e&&setTimeout((()=>{var e;S(0),null===(e=v.current[0])||void 0===e||e.focus()}),0)}else window.location.href=e.signInUrl},onKeyDown:_,"aria-haspopup":null!==e.userInfo?f:void 0,"aria-controls":null!==e.userInfo?"menu":void 0,"aria-expanded":null!==e.userInfo?f:void 0},u.createElement(oe.CtaText,{id:null!==e.userInfo?"menubutton":void 0},null!==e.userInfo?e.t["hodder.header.myaccount"]:e.t["hodder.header.signin"]),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-user"})),e.accountLinks&&null!==e.userInfo&&u.createElement(oe.AccountDropdownList,{"data-show":f,id:"menu",role:"menu","aria-labelledby":"menubutton","aria-hidden":!f,onKeyDown:_},e.accountLinks.map(((e,t)=>{var a;return u.createElement(oe.AccountDropdownItem,{key:e.text},u.createElement(oe.AccountDropdownLink,{ref:e=>{v.current[t]=e},href:e.url,target:null!==(a=e.target)&&void 0!==a?a:"_self","aria-label":(0,o.d)(e.target),tabIndex:f&&C===t?0:-1,onKeyDown:_,onFocus:()=>(e=>{S(e)})(t),role:"menuitem"},e.text))})))),u.createElement(oe.CtaItem,null,u.createElement(oe.CtaLink,{href:e.favouritesUrl,tabIndex:b?-1:0,title:e.t["hodder.header.myfavourites"]},u.createElement(oe.CtaText,null,e.t["hodder.header.myfavourites"]),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-heart"}))),u.createElement(oe.CtaItem,null,u.createElement(oe.CtaLink,{href:e.basketUrl,"data-show-basket-indicator":Z>0,tabIndex:b?-1:0,title:e.t["hodder.header.mybasket"]},u.createElement(oe.CtaText,null,e.t["hodder.header.mybasket"].split(" ")[1]),u.createElement(c.Z,{faIconCSSClass:"fa-light fa-basket-shopping"}),u.createElement(oe.BasketIndicator,null,Z)))))),u.createElement(oe.NavigationWrapper,null,u.createElement(oe.NavigationInner,null,u.createElement(A,{activeId:"",items:e.navigation}))),u.createElement(he,{activeId:"",isActive:b,items:e.navigation,accountLinks:null!==e.userInfo?e.accountLinks:[{text:e.t["hodder.header.signin"],url:e.signInUrl}],basketUrl:e.basketUrl,favouritesUrl:e.favouritesUrl,usefulLinks:e.secondaryNavigation.children,t:e.t})))}},84398:(e,t,a)=>{a.d(t,{Z:()=>m});var n=a(77765),o=a(14555),i=a(54267),r=a(95798);const l=a.p+"search-icon-2e327418d6bfe6d9a5d6.svg?url";var s=a(28537),d=a(81229),c=a(47416);const u=c.ZP.div.withConfig({displayName:"SearchInputstyles__Container",componentId:"sc-125y3i7-0"})(["--dropdown-padding:2px;--border-width:1px;--border-radius:10px;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;","{padding:var(--dropdown-padding);border:var(--border-width) solid ",";border-radius:var(--border-radius);border-top-right-radius:0px;border-bottom-right-radius:0px;&[data-open='true']{border-bottom-left-radius:0px;}}","[data-open='true']{transform:translateY(0px);width:calc(100% + var(--border-width) + var(--border-width));left:calc(var(--border-width) * -1);}","{border:none;}select{border:none;}.aa-ClearButton{display:none;}.aa-SubmitButton{"," position:absolute;top:0;right:0;height:100%;aspect-ratio:1 / 1;background:url(",") no-repeat right 3px center ",";background-size:40px 40px;border-top-right-radius:2px;border-bottom-right-radius:2px;svg{display:none;}}.aa-Input{--fontSize:",";height:46px;width:100%;padding:0 10px;"," font-size:var(--fontSize);color:",";border:none;background:",";border-top-right-radius:2px;border-bottom-right-radius:2px;padding-right:56px;[data-search-open='true'] &{border-bottom-left-radius:0px;border-bottom-right-radius:0px;}&::placeholder{"," font-size:var(--fontSize);color:",";}}&[data-search-open='true']{.aa-Input{border-bottom-left-radius:0px;border-bottom-right-radius:0px;}}.ais-Hits-list{max-height:400px;overflow:auto;display:flex;flex-direction:column;gap:5px;padding-top:5px;padding-bottom:5px;}.ais-Hits-item{em{font-style:normal;font-weight:bold;}a{display:block;padding:7px 10px;color:",";text-decoration:none;}&:hover{background:",";}}"],s.Z.Dropdown,n.Z.primary.grey,s.Z.Items,s.Z.Selected,r.h,l,n.Z.global.white,(0,o.qx)(14,16),i.Z.poppins.regular,n.Z.primary.grey,n.Z.global.white,i.Z.poppins.regular,n.Z.secondary.inactiveGrey,n.Z.primary.grey,(0,d.m4)(n.Z.primary.grey,.1)
1),p=c.ZP.div.withConfig({displayName:"SearchInputstyles__Search",componentId:"sc-125y3i7-1"})(["padding:var(--dropdown-padding);flex:1 0 auto;border:var(--border-width) solid ",";border-radius:var(--border-radius);border-top-left-radius:0px;border-bottom-left-radius:0px;border-left:none;position:relative;[data-search-open='true'] &{border-bottom-right-radius:0px;}"],n.Z.primary.grey),m={Container:u,Typeahead:c.ZP.div.withConfig({displayName:"SearchInputstyles__Typeahead",componentId:"sc-125y3i7-2"})(["position:absolute;top:100%;background:",";padding-bottom:5px;width:calc(100% + var(--border-width) + var(--border-width));border:var(--border-width) solid ",";border-bottom-left-radius:10px;border-bottom-right-radius:10px;left:calc(var(--border-width) * -1);&::before{content:'';position:absolute;top:0;left:calc((var(--dropdownWidth) - 10px) * -1);width:calc((var(--dropdownWidth) - 9px));height:100%;}"],n.Z.global.white,n.Z.primary.grey),Search:p,NoResults:c.ZP.div.withConfig({displayName:"SearchInputstyles__NoResults",componentId:"sc-125y3i7-3"})(["padding:12px 10px;"])}}}]);
2//# sourceMappingURL=Header-922980e95c496396e4b7.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.