1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6566],{66566:(e,l,t)=>{t.r(l),t.d(l,{ValidationModal:()=>h});var s=t(37876),i=t(93262),a=t(35578),o=t(82239),n=t(54043),r=t(18363),d=t(96239),x=t(2515),c=t(8961);let g={align:"center",justify:{md:"center",base:"flex-end"},position:"fixed",w:"100vw",h:"100vh",top:0,left:0,p:{md:"20px",base:0},background:"rgba(58, 92, 172, 0.90)",zIndex:"9999"},p={spacing:"8px",align:"center",textAlign:"center"},u={size:"md",color:c.lm.TERTIARY_COLOR},h=e=>{let l,t,{isModalOpen:h,isLoading:m,onClose:b,submitStatusCode:R,successMessage:O,errorMessage:_,error500Message:C,gtmId:v}=e;200===R?(l=null==O?void 0:O.title,t=null==O?void 0:O.subtitle):500===R?(l=null==C?void 0:C.title,t=null==C?void 0:C.subtitle):(l=null==_?void 0:_.title,t=null==_?void 0:_.subtitle);let{modalOverlay:f,modalContainer:j,modalCloseBtn:E,modalCloseIcon:L,modalIconBox:S,modalSubtitleProps:w,modalTitleProps:N,modalTextBox:T,modalImageProps:z}=(e=>{let{submitStatusCode:l,messageTitle:t,gtmId:s,messageSubtitle:i}=e,a={bg:c.lm.NEUTRAL_COLOR_00,p:"32px 20px 48px 32px",tabIndex:-1,width:{md:"100%",base:"100%"},maxW:{md:"800px",base:"100%"},height:"auto",m:"0 auto",spacing:"16px",borderRadius:{md:"8px",base:"8px 8px 0px 0px"},boxShadow:"base",position:"relative"},o={w:"78px",h:"78px",borderRadius:"50px",align:"center",justify:"center"},n={src:"",alt:"icon",width:36,height:38},r={text:t,fontSizes:{base:"2xl",md:"3xl",lg:"3xl"},fontWeights:{base:"light",md:"light",lg:"light"},marginTop:0},d={text:i,fontSizes:{base:"lg",md:"lg",lg:"lg"},fontWeights:{base:"light",md:"light",lg:"light"},color:c.lm.NEUTRAL_COLOR_95};return 200===l?(o.bg=c.lm.SUCCESS_COLOR_50,n.src="/request_success.svg",r.text="<span".concat(s?" data-gtm-id=".concat(s):"",">").concat(t,"</span>"),r.color=c.lm.SUCCESS_COLOR_50):500===l?(o.bg=c.lm.SECONDARY_COLOR,n.src="/request_error.svg",r.color=c.lm.SECONDARY_COLOR):(o.bg=c.lm.ERROR_COLOR,n.src="/request_error.svg",r.color=c.lm.ERROR_COLOR),{modalOverlay:g,modalContainer:a,modalCloseBtn:{position:"absolute",top:"5px",right:"12px",padding:"5px",bg:"none",borderRadius:"50px",size:"lg",_focus:{outlineColor:"transparent"}},modalCloseIcon:u,modalIconBox:o,modalTextBox:p,modalTitleProps:r,modalSubtitleProps:d,modalImageProps:n}})({messageSubtitle:t,messageTitle:l,gtmId:v,submitStatusCode:R});return h&&(l||t)&&(0,s.jsx)(i.T,{...f,className:"overlay",children:m?(0,s.jsx)(a.az,{className:"form-loading-animation"}):(l||t)&&(0,s.jsxs)(i.T,{...j,children:[(0,s.jsx)(o.$,{onClick:b,...E,children:(0,s.jsx)(r.I,{...L,name:"Close"})}),(0,s.jsx)(n.z,{...S,children:(0,s.jsx)(d._,{src:z.src,alt:z.alt,...z})}),(0,s.jsxs)(i.T,{...T,children:[l&&(0,s.jsx)(x.Paragraph,{...N}),t&&(0,s.jsx)(x.Paragraph,{...w})]})]})})}}}]);
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.