1"use strict";(self.webpackChunkweb_app=self.webpackChunkweb_app||[]).push([[5878],{31593(e,a,s){s.d(a,{A:()=>t});var i=s(10300);const t=()=>[(0,i.d4)(e=>e.screen.height)]},75878(e,a,s){s.r(a),s.d(a,{default:()=>T});var i=s(29011),t=s(37324),n=s(48738),c=s.n(n),o=s(9950),r=s(89288),l=s(63027),d=s(10300),w=s(31593),h=s(82970),p=s(38583),m=s(96690),g=s(72130),x=s(56460),u=s(32686),k=s(31730),f=s(24041),j=s(24135),A=s(17663),y=s(26693),b=s(86648),N=s(44414);const z=(0,i.Ay)(b.K)(e=>{let{theme:a}=e;return{".MuiPaper-root":{maxWidth:"550px",[a.breakpoints.down(a.breakpoints.values.xs)]:{margin:a.spacing(3)}},".MuiDialogContent-root":{overflow:"hidden",paddingBottom:a.spacing(1),display:"grid",gridTemplateRows:"auto 1fr"}}}),C=(0,i.Ay)("div")(e=>{let{theme:a}=e;return{"&.wa-margin":{marginBottom:a.spacing(1.5)},"&.wa-button-container":{width:"100%",display:"flex",justifyContent:"center"},"&.wa-button-wrapper":{width:"100%"},"&.wa-necessary":{paddingTop:a.spacing(1)},"&.wa-section-header":{display:"flex",justifyContent:"space-between",gap:a.spacing(2)}}}),_=(0,i.Ay)(A.A)(()=>({paddingRight:"8px",marginTop:"16px"})),S=(0,i.Ay)(t.A)(e=>{let{theme:a}=e;return{width:28,height:16,padding:0,display:"flex","&:active":{"& .MuiSwitch-thumb":{width:15},"& .MuiSwitch-switchBase.Mui-checked":{transform:"translateX(9px)"}},"& .MuiSwitch-switchBase":{padding:a.spacing(.25),"&.Mui-checked":{transform:"translateX(12px)",color:a.palette.appText.main,"& + .MuiSwitch-track":{opacity:1,backgroundColor:x.C3.DARK_PRIMARY_GRADIENT_LEFT_RIGHT}}},"& .MuiSwitch-thumb":{width:12,height:12,borderRadius:x.ax[6],transition:a.transitions.create(["width"],{duration:200})},"& .MuiSwitch-track":{borderRadius:x.ax[8],background:x.C3.SWITCH_BAR_DEFAULT_BACKGROUND}}}),M=(0,i.Ay)("div")(e=>{let{theme:a}=e;return{width:"100%",display:"flex",flexDirection:"column",gap:a.spacing(1),padding:0,marginTop:a.spacing(2),alignItems:"center",justifyContent:"center"}}),R=(0,i.Ay)("div")(e=>{let{theme:a}=e;return{paddingTop:a.spacing(1),paddingBottom:a.spacing(1)}}),v=(0,i.Ay)(y.A)(()=>({"&.MuiDialogContent-root":{overflow:"auto"}})),T=()=>{const e=(0,d.d4)(e=>e.dialogs.cookieConsentOpen),[a]=(0,w.A)(),[s,i]=(0,o.useState)(!1),[t,n]=(0,o.useState)(!1),[A,y]=(0,o.useState)(!1),{formatMessage:b}=(0,r.A)(),T=(0,o.useMemo)(()=>a<x.YO,[a]),E=(0,o.useCallback)(()=>{i(e=>!e)},[]),K=(0,o.useCallback)(()=>{n(e=>!e)},[]),D=(0,o.useCallback)(()=>{y(e=>!e)},[]),B=(0,o.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return()=>{(0,g.hY)(),e?(0,u.KK)({type:m.wc.ALL,necessary:!0,marketing:!0,analytics:!0,preferences:!0}):a?(0,u.KK)({type:m.wc.NECESSARY,necessary:!0,marketing:!1,analytics:!1,preferences:!1}):(0,u.KK)({type:m.wc.CUSTOM,necessary:!0,marketing:t,analytics:s,preferences:A}),(0,g.zt)(!1)}},[t,s,A]),G=(0,o.useCallback)(()=>{window.open(h.yJ.privacyPolicy((0,p.tp)()),"_blank")},[]);return(0,N.jsx)("div",{"data-testid":"manage-consent-dialog",children:(0,N.jsx)(z,{"data-testid":"manage-cookie-consent",open:e,disableEscapeKeyDown:!0,children:(0,N.jsxs)(v,{className:"wa-none-max-w",children:[(0,N.jsx)(f.A,{className:c()("wa-font-weight-bold",{"wa-font-size-18":T,"wa-font-size-20":!T}),children:(0,N.jsx)(l.A,{id:"cookies.manage_cookies"})}),(0,N.jsxs)(C,{className:"wa-necessary","data-testid":"strictly-necessary",children:[(0,N.jsxs)(C,{className:"wa-section-header",children:[(0,N.jsx)(f.A,{className:c()("wa-font-weight-bold",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.strictly_necessary"})}),(0,N.jsx)(f.A,{className:"wa-font-weight-bold wa-color-green wa-font-size-14",children:(0,N.jsx)(l.A,{id:"cookies.always_active"})})]}),(0,N.jsx)(C,{className:"wa-margin",children:(0,N.jsx)(f.A,{className:c()("wa-font-weight-400",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.necessary"})})})]}),(0,N.jsxs)(_,{children:[(0,N.jsxs)(R,{"data-testid":"analytics-cookies",children:[(0,N.jsx)(C,{className:"wa-section-header",children:(0,N.jsx)(f.A,{className:c()("wa-font-weight-bold",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.analytics_cookies"})})}),(0,N.jsxs)(C,{className:"wa-section-header",children:[(0,N.jsx)(f.A,{className:c()("wa-font-weight-400",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.analytics"})}),(0,N.jsx)(S,{"data-testid":"analytics-switch",checked:s,size:"small",color:"primary",onChange:E})]})]}),(0,N.jsxs)(R,{"data-testid":"preferences-cookies",children:[(0,N.jsx)(C,{className:"wa-section-header",children:(0,N.jsx)(f.A,{className:c()("wa-font-weight-bold",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.preferences_cookies"})})}),(0,N.jsxs)(C,{className:"wa-section-header",children:[(0,N.jsx)(f.A,{className:c()("wa-font-weight-400",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.preferences"})}),(0,N.jsx)(S,{"data-testid":"preferences-switch",checked:A,size:"small",color:"primary",onChange:D})]})]}),(0,N.jsxs)(R,{"data-testid":"marketing-cookies",children:[(0,N.jsx)(C,{className:"wa-section-header",children:(0,N.jsx)(f.A,{className:c()("wa-font-weight-bold",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.marketing_cookies"})})}),(0,N.jsxs)(C,{className:"wa-section-header",children:[(0,N.jsx)(f.A,{className:c()("wa-font-weight-400",{"wa-font-size-12":T,"wa-font-size-14":!T}),children:(0,N.jsx)(l.A,{id:"cookies.marketing"})}),(0,N.jsx)(S,{"data-testid":"marketing-switch",checked:t,size:"small",color:"primary",onChange:K})]})]})]}),(0,N.jsxs)(M,{children:[(0,N.jsx)(C,{className:"wa-button-container",children:(0,N.jsx)(C,{className:"wa-button-wrapper",children:(0,N.jsx)(k.A,{"data-testid":"cookie-dialog-allow-necessary",type:j.j.PANTONE_GREY_GLASS,text:b({id:"cookies.allow_necessary"}),className:"wa-size-regular wa-button-width-100 wa-m-0",onClick:B(!1,!0)})})}),(0,N.jsx)(C,{className:"wa-button-container",children:(0,N.jsx)(C,{className:"wa-button-wrapper",children:(0,N.jsx)(k.A,{"data-testid":"cookie-dialog-confirm-choices",type:j.j.PANTONE_GREY_GLASS,text:b({id:"cookies.confirm_choices"}),className:"wa-size-regular wa-button-width-100 wa-m-0",onClick:B(!1,!1)})})}),(0,N.jsx)(C,{className:"wa-button-container",children:(0,N.jsx)(C,{className:"wa-button-wrapper",children:(0,N.jsx)(k.A,{"data-testid":"cookie-dialog-accept-all",type:j.j.PRIMARY,text:b({id:"cookies.accept_all"}),className:"wa-size-regular wa-button-width-100 wa-m-0",onClick:B(!0)})})}),(0,N.jsx)(R,{children:(0,N.jsx)(f.A,{className:"wa-color-text-main wa-underline wa-cursor-pointer wa-font-size-14 wa-font-weight-400",onClick:G,"data-testid":"cookie-dialog-learn-more",children:(0,N.jsx)(l.A,{id:"app_container.click_to_learn_more"})})})]})]})})})}}}]);
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.