(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1853],{3688:function(e,n,t){"use strict";t.d(n,{E:function(){return k},P2:function(){return I},Vv:function(){return _},XZ:function(){return U},dH:function(){return C},ke:function(){return R},tp:function(){return E}});var i,r,o,a,l,u,c,d=t(8529),s=t(7328),p=t(2784),g=t(25237),m=t.n(g),f=t(48840),T=t(87330),h=t(2660),b=t(50556),S=t(52322),A=t(87810).v4,x=m()(function(){return Promise.resolve().then(t.bind(t,51130))},{ssr:!0,fallback:(0,S.jsx)("div",{style:{width:24,height:24}}),loadableGenerated:{webpack:function(){return[51130]}}}),E=f.zo.div(i||(i=(0,s.Z)(["\n box-sizing: border-box;\n width: ",";\n height: 48px;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n justify-content: center;\n\n pointer-events: ",";\n\n border: "," solid\n ",";\n\n &:hover {\n background: ",";\n }\n &:active {\n background: ",";\n }\n"])),function(e){return e.width||"fit-content"},function(e){return e.disabled?"none":""},function(e){return e.thinFocusBorder?"1px":"2px"},function(e){return e.focused&&!e.disabled?e.theme.colors.palette.brand.base:e.transparentBorder?"transparent":e.theme.colors.palette.greys.white},function(e){return e.theme.colors.palette.brand.lightest},function(e){return e.theme.colors.palette.brand.lighter}),v=f.zo.input(r||(r=(0,s.Z)(["\n position: absolute;\n pointer-events: none;\n overflow: hidden;\n border: 0;\n z-index: -1;\n height: 1px;\n width: 0;\n margin: 0;\n padding: 0;\n white-space: nowrap;\n opacity: 0;\n"]))),I=f.zo.div(o||(o=(0,s.Z)(["\n display: inline-flex;\n box-sizing: border-box;\n border: "," solid\n ",";\n width: 24px;\n height: 24px;\n background: ",";\n"])),function(e){return e.thinBorder?"1px":"2px"},function(e){return e.error?e.theme.colors.error.base:e.disabled?e.theme.colors.palette.greys.light:e.checked?e.theme.colors.palette.brand.base:e.theme.colors.palette.greys.grey},function(e){return e.checked?e.disabled?e.theme.colors.palette.greys.light:e.theme.colors.palette.brand.base:"none"}),C=(0,f.zo)(x)(a||(a=(0,s.Z)(["\n display: block;\n margin: auto;\n stroke: ",";\n"])),function(e){return e.checked?e.theme.colors.palette.greys.white:"none"}),R=f.zo.label(l||(l=(0,s.Z)(["\n display: flex;\n position: relative;\n padding: "," ",";\n color: ",";\n word-break: break-word;\n &:hover {\n cursor: pointer;\n }\n"])),(0,f.W0)(1.5),(0,f.W0)(1),function(e){return e.disabled?e.theme.colors.palette.greys.light:e.theme.colors.palette.greys.grey}),k=(0,f.zo)(b.T)(u||(u=(0,s.Z)(["\n ","\n margin: ",";\n ","\n ","\n ","\n"])),(0,T.xv)("small","default"),function(){return"0px ".concat((0,f.W0)(1)," 0px ").concat((0,f.W0)(2))},function(e){return e.labelHidden&&"visibility: hidden;"},function(e){return e.labelHidden&&"position: absolute;"},function(e){return e.labelHidden&&"left: -100000px;"}),_=(0,f.zo)(h.Z)(c||(c=(0,s.Z)(["\n margin-left: ",";\n"])),(0,f.W0)(1)),U=function(e){var n=p.useState(e.checked||!1),t=(0,d.Z)(n,2),i=t[0],r=t[1],o=p.useState(!1),a=(0,d.Z)(o,2),l=a[0],u=a[1],c=e.disabled,s=e.label,g=e.error,m=e.id,f=void 0===m?A():m,T=p.useRef(null),h=e.bindref||T,b=function(n){var t;return"".concat(null===(t=e.label)||void 0===t?void 0:t.toLowerCase().replace(/\:|\?|\.|\!|\"|\'/g,"").split(" ").join("-"),"-").concat(n,"-id-").concat(f)};p.useEffect(function(){return e.getState&&e.getState(i)},[i]),p.useEffect(function(){e.checked!==i&&r(e.checked)},[e.checked]);var x=e.ariaDescribedBy||b("".concat(s,"-error"));return(0,S.jsxs)(p.Fragment,{children:[(0,S.jsx)(E,{disabled:c,focused:l,"data-testid":b("checkbox-container"),width:e.width,thinFocusBorder:e.thinFocusBorder,transparentBorder:e.transparentBorder,children:(0,S.jsxs)(R,{disabled:c,"data-testid":"checkbox-label",children:[(0,S.jsx)(v,{"aria-label":e.labelHidden?e.label:void 0,type:"checkbox",id:f,onFocus:function(){u(!0)},onBlur:function(){u(!1)},disabled:c,checked:i,required:e.required,onChange:function(){e.onChange&&e.onChange(!i),r(!i)},value:"".concat(i),ref:h,"data-testid":b("checkbox-hidden"),"aria-describedby":null==x?void 0:x.toLowerCase().replace(/\:|\?|\.|\!|\"|\'/g,"").split(" ").join("-")}),(0,S.jsx)(I,{"aria-hidden":!0,checked:i,disabled:c,error:!!g,"data-testid":"checkbox-styled",thinBorder:e.thinBorder,children:(0,S.jsx)(C,{checked:i,"data-testid":b("checkbox-tick")})}),(0,S.jsx)(k,{"data-testid":b("checkbox-text"),disabled:e.disabled,content:s,labelHidden:e.labelHidden})]})}),e.error&&(0,S.jsx)(_,{id:x,error:e.error})]})}},10291:function(e,n,t){"use strict";t.d(n,{m:function(){return b}});var i,r,o=t(95235),a=t(2784),l=t(660),u=t(18412),c=t(41857),d=t(58406),s=t(28316),p=t(3176),g=t(52322),m=a.forwardRef(function(e,n){var t,i,r,o;return"undefined"!=typeof document&&document.body?s.createPortal((i=e.onVerify,r=e.siteKey,o=e.size,(0,g.jsx)(p.Z,{ref:n,size:o,onChange:i,sitekey:r})),null!==(t=e.containerRef)&&void 0!==t&&t.current?e.containerRef.current:document.body):null}),f=t(72370),T=((i=T||{}).LIST_ATTACK_STRATEGY_RECAPTCHA_VISIBLE="VISIBLE-RECAPTCHA",i.LIST_ATTACK_STRATEGY_RECAPTCHA_INVISIBLE="INVISIBLE-RECAPTCHA",i.LIST_ATTACK_STRATEGY_HCAPTCHA="HCAPTCHA",i.LIST_ATTACK_STRATEGY_TURNSTILE="TURNSTILE",i),h=(r={},(0,o.Z)(r,T.LIST_ATTACK_STRATEGY_RECAPTCHA_VISIBLE,f.QZ.RECAPTCHA_BYPASS_TYPE_VISIBLE),(0,o.Z)(r,T.LIST_ATTACK_STRATEGY_RECAPTCHA_INVISIBLE,f.QZ.RECAPTCHA_BYPASS_TYPE_INVISIBLE),(0,o.Z)(r,T.LIST_ATTACK_STRATEGY_HCAPTCHA,f.QZ.HCAPTCHA_BYPASS_TYPE),(0,o.Z)(r,T.LIST_ATTACK_STRATEGY_TURNSTILE,f.QZ.TURNSTILE_BYPASS_TYPE),r),b=function(e){var n=(0,d.Mu)(),t=(0,c.ND)(),i=a.useRef(null),r=a.useRef(null),o=a.useRef(),s=t.enableRecaptchaNet,p=t.invisibleReCaptchaSharedSiteKey,b=a.useCallback(function(e){e&&o.current&&o.current(e)},[]);return a.useEffect(function(){s&&(window.recaptchaOptions={useRecaptchaNet:!0})},[]),a.useEffect(function(){var n={count:0,maxRetries:5,interval:200};e.onLoad&&function t(){if(null!==(r=e.containerRef)&&void 0!==r&&r.current)try{var i,r,o,a=new MutationObserver(function(n){n.forEach(function(n){if("childList"===n.type){var t,i;(null===(t=e.containerRef)||void 0===t||null===(t=t.current)||void 0===t?void 0:t.querySelector("iframe"))&&(null===(i=e.onLoad)||void 0===i||i.call(e),a.disconnect())}})});return a.observe(e.containerRef.current,{childList:!0,subtree:!0}),function(){return a.disconnect()}}catch(n){null===(o=e.onError)||void 0===o||o.call(e,n)}else n.count