1"use strict";(globalThis.webpackChunkmcs=globalThis.webpackChunkmcs||[]).push([[754],{8597(e,a,t){t.d(a,{A:()=>i});var l=t(96540);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"};var r=t(17095);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},o.apply(this,arguments)}const s=(e,a)=>l.createElement(r.A,o({},e,{ref:a,icon:n}));const i=l.forwardRef(s)},30234(e,a,t){t.d(a,{A:()=>i});var l=t(96540);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"};var r=t(17095);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},o.apply(this,arguments)}const s=(e,a)=>l.createElement(r.A,o({},e,{ref:a,icon:n}));const i=l.forwardRef(s)},42877(e,a,t){t.d(a,{A:()=>i});var l=t(96540);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var r=t(17095);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var t=arguments[a];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(e[l]=t[l])}return e},o.apply(this,arguments)}const s=(e,a)=>l.createElement(r.A,o({},e,{ref:a,icon:n}));const i=l.forwardRef(s)},81985(e,a,t){t.d(a,{A:()=>o});var l=t(96540),n=t(8597),r=t(30234);const o=e=>{let{id:a,name:t,label:o,placeholder:s="",value:i,onChange:c,onKeyDown:u,onBlur:d,error:E,errorMessage:m,type:v="text",spellCheck:h=!1,prefix:_="",suffix:g="",hideLabel:p=!1,showTogglePassword:b=!1,showPassword:f,onTogglePassword:C,maxLength:A="",className:P="",inputClassName:H="",wrapperClassName:k="",disable:L=!1,labelStyle:T={}}=e;const w=Boolean(E),x=`govuk-form-group ${w?"govuk-form-group--error":""} ${k}`,N=`govuk-label govuk-label--l ${P} ${w?"ms-2":""}`,R=`govuk-input ${w?_?"govuk-input--error":"govuk-input--error ms-2":""} ${H}`;return l.createElement("div",{className:x},!p&&l.createElement("label",{className:N,htmlFor:a,style:T},o),w&&l.createElement("p",{id:`${a}-error`,className:"govuk-error-message ms-2"},l.createElement("span",{className:"govuk-visually-hidden"},"Error:")," ",m),s&&l.createElement("div",{id:`${a}-hint`,className:"govuk-hint "+(w?"ms-2":"")},s),l.createElement("div",{className:"govuk-input__wrapper"},_&&l.createElement("div",{className:"govuk-input__prefix "+(w?"ms-2":""),"aria-hidden":"true"},_),l.createElement("input",{className:R,id:a,name:t,type:b?f?"text":"password":v,value:null!=i?i:"",onCh
1ange:c,spellCheck:h,maxLength:A,onKeyDown:u,disabled:L,onBlur:d}),b&&l.createElement("button",{type:"button",className:"govuk-input__suffix "+(w?"govuk-input--error":""),style:{cursor:"pointer"},onClick:C,"aria-label":f?"Hide password":"Show password","aria-pressed":f},f?l.createElement(r.A,{"aria-hidden":"true"}):l.createElement(n.A,{"aria-hidden":"true"})),g&&l.createElement("div",{className:"govuk-input__suffix","aria-hidden":"true"},g)))}},50754(e,a,t){t.r(a),t.d(a,{default:()=>d});var l=t(96540),n=t(42877),r=t(71468),o=t(34714),s=t(24507),i=t(22022),c=t(81985),u=t(93689);const d=(0,r.Ng)(e=>{let{themeSlice:a}=e;const{themeSettingsData:t}=a;return{themeSettingsData:t}})(e=>{var a,t,r,d,E,m,v,h,_,g,p,b,f,C;const{t:A}=(0,i.Bd)(),{themeSettingsData:P}=e;console.log("ð ~ BannerContainer ~ themeSettingsData:",P);const H=(0,o.Z)(),{setGlobalSearchValue:k,homeSearchValue:L}=(0,l.useContext)(s.q),T=window.matchMedia("(max-width: 768px)").matches,w=(0,u.Gq)("accessKeys"),x=(null==P||null===(a=P.P_THEME)||void 0===a?void 0:a.P_BLW_HEADER_REG_TITLE)||"",N=(null==P||null===(t=P.P_THEME)||void 0===t?void 0:t.P_BLW_HEADER_REG_TAGLINE)||"",R=(null==P||null===(r=P.P_THEME)||void 0===r?void 0:r.P_BLW_HEADER_REG_TEXT_COLOR)||"#000",y=(null==P||null===(d=P.P_THEME)||void 0===d?void 0:d.P_BLW_HEADER_REG_TAGLINE_COLOR)||"#555",B=1===(null==P||null===(E=P.P_THEME)||void 0===E?void 0:E.P_SELECT_TITLE_BACKGROUND)?null==P||null===(m=P.P_THEME)||void 0===m?void 0:m.P_TITLE_BG_COLOR:"transparent",M=(null==P||null===(v=P.P_THEME)||void 0===v?void 0:v.P_BLW_HEADER_REG_TEXT_SIZE)||48,D=T?M/2:M,O=0===(null==P||null===(h=P.P_THEME)||void 0===h?void 0:h.P_SELECT_BACKGROUND)?{backgroundImage:T?`url(${null==P||null===(_=P.P_THEME)||void 0===_?void 0:_.P_BLW_HEADER_REG_IMAGE_MOBILE})`:`url(${null==P||null===(g=P.P_THEME)||void 0===g?void 0:g.P_BLW_HEADER_REG_IMAGE})`,backgroundRepeat:"no-repeat",backgroundSize:"cover",minHeight:0===(null==P||null===(p=P.P_THEME)||void 0===p?void 0:p.P_HIDE_SEARCH_BAR)?"387px":"280px"}:{backgroundColor:(null==P||null===(b=P.P_THEME)||void 0===b?void 0:b.P_BLW_HEADER_REG_COLOR)||"#f8f9fa",minHeight:0===(null==P||null===(f=P.P_THEME)||void 0===f?void 0:f.P_HIDE_SEARCH_BAR)?"387px":T?"220px":"280px"};return l.createElement("section",{"aria-label":"search"},l.createElement("div",{className:"BannerContainer pb-5",style:O},l.createElement("div",{className:"container-xxl bannerBox p-3"},l.createElement("div",{className:"searchSection p-2"},x&&l.createElement("div",{className:"bannerHeaderText"},l.createElement("h1",{className:"fw-bold hero-heading p-2 "+(T?"mt-4":""),style:{color:R,fontSize:`${D}px`,backgroundColor:B,lineHeight:1.04167}},x)),N&&l.createElement("div",{className:"bannerSubtext mt-2"},l.createElement("span",{className:"fw-bold p-2",style:{color:y,fontSize:`${D}px`,backgroundColor:B,lineHeight:1.04167}},N)),0===(null==P||null===(C=P.P_THEME)||void 0===C?void 0:C.P_HIDE_SEARCH_BAR)?l.createElement("div",{className:"d-flex flex-column mt-4"},l.createElement("div",{className:"d-flex align-items-end"},l.createElement("div",{style:{width:"90%"}},l.createElement(c.A,{id:"search",name:"search",type:"search",inputClassName:"border-0 govuk-banner-search-input",label:A("search"),labelStyle:{color:R,backgroundColor:B,width:T?"30%":"14%",paddingLeft:"11px"},onChange:e=>{k(e.target.value),""===e.target.value&&k("")},value:L,onKeyDown:e=>{"Enter"===e.key&&L.length>=3&&(e.preventDefault(),1===(null==w?void 0:w.P_AI_ENABLED)?H("/ai-chat"):H("/search"))}})),l.createElement("div",{className:"home-page-search-button d-flex justify-content-center"},l.createElement("button",{className:"govuk-banner-search-button",onClick:()=>{L.length>=3&&(1===(null==w?void 0:w.P_AI_ENABLED)?H("/ai-chat"):H("/search"))}},l.createElement(n.A,{style:{color:"#1d70b8"}}))))):""))))})}}]);
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.