"use strict";(self.webpackChunk_1js_files_in_taskbar=self.webpackChunk_1js_files_in_taskbar||[]).push([[2745],{37308:(e,r,t)=>{t.d(r,{Ay:()=>a,Pl:()=>n,lV:()=>c});t(31033);const n="mssxsb",o=new RegExp(`^${n}`),s=new RegExp(`^${n}-(.+)-plugin$`);function a(e,r,t){if(!window.customElements)return e;if(!o.test(e))throw new Error("Missing prefix.");if(!customElements.get(e)){customElements.define(e,r,t),Object.defineProperty(r,"tagName",{value:e,writable:!1}),(null==t?void 0:t.extends)&&Object.defineProperty(r,"extends",{value:t.extends,writable:!1});const n=s.exec(e);n&&Object.defineProperty(r,"pluginId",{value:n[1],writable:!1})}return e}function c(e){return`${n}-${e}`}},73398:(e,r,t)=>{t.d(r,{A:()=>o});var n=t(91620);function o(e){return e.closest(n.A)||void 0}},91620:(e,r,t)=>{t.d(r,{A:()=>n});const n=(0,t(37308).lV)("searchbox")},2643:(e,r,t)=>{t.r(r),t.d(r,{Error:()=>E});var n=t(73398),o=t(12413),s=t(30675),a=t(71124),c=t(6062);const i=(0,c.Ex)("search-box-suggestion-components.searchux.strings.bsph.errorTitle"),l=(0,c.Ex)("search-box-suggestion-components.searchux.strings.bsph.errorSubtitle"),u=(0,c.Ex)("search-box-suggestion-components.searchux.strings.bsph.imageAlt"),p=(0,c.Ex)("search-box-suggestion-components.searchux.strings.bsph.reportAProblem"),g=(0,c.Ex)("search-box-suggestion-components.searchux.strings.bsph.tryAgain");var d=t(29418),m=t(1463),b=t(53928);const h=(0,d.n)({container:{marginTop:"122px",textAlign:"center",whiteSpace:"normal"},title:m.g.subtitle1,subtitle:{...m.g.body1,color:b.L.colorNeutralForeground3,marginBottom:b.L.spacingVerticalXXL},buttonsWrapper:{display:"flex",justifyContent:"center",columnGap:b.L.spacingHorizontalM},tryAgainButton:{backgroundColor:`${b.L.colorBrandBackground} !important`,":hover":{backgroundColor:`${b.L.colorBrandBackgroundHover} !important`}},reportButton:{backgroundColor:`${b.L.colorNeutralBackground1} !important`,":hover":{backgroundColor:`${b.L.colorNeutralBackground1Hover} !important`}}});var f=t(44451),x=t(30099);const E=e=>{let{darkMode:r,onRender:t,tryReFetch:c,setAppView:d,logicalId:m,characterCount:b}=e;const E=a.useRef(null),k=h();a.useEffect((()=>{null==t||t()}),[t]),(0,o.JD)({eventType:"ERROR",name:"ErrorPage",detail:`Error page seen for logicalId: ${m}`,properties:{logicalId:m,characterCount:b}});const v=r?f.y:x.a,w=function(e,r){if(r)return()=>r("feedback");if(!e)return;const t=(0,n.A)(e),o=null==t?void 0:t._setAppView;return o?()=>o("feedback"):void 0}(E.current,d);return a.createElement("div",{role:"alert",className:k.container,ref:E},a.createElement("h1",{className:k.title},i()),a.createElement("img",{src:v,alt:u()}),a.createElement("p",{className:k.subtitle},l()),(!!w||!!c)&&a.createElement("div",{className:k.buttonsWrapper},c&&a.createElement(s.$,{appearance:"primary",className:k.tryAgainButton,onClick:c},g()),w&&a.createElement(s.$,{onClick:w,className:k.reportButton},p())))}},12413:(e,r,t)=>{t.d(r,{JD:()=>o});var n=t(36132);function o(e){try{(0,n.w)().dispatch(e)}catch(e){console.error(e)}}}}]);