(self.webpackChunk_atg_userverification_client=self.webpackChunk_atg_userverification_client||[]).push([[735],{2751:(e,t,r)=>{"use strict";t.ZP=void 0;var a=c(r(7393)),n=r(9447),o=r(2638),i=c(r(1792)),l=r(8530),s=c(r(3751));function c(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBrowser=void 0,t.isBrowser="undefined"!=typeof window},8706:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var a=r(1792),n=r.n(a),o=r(7347),i=r(8885),l=r.n(i),s=r(624),c=r.n(s),f=r(2227);const u=[o.Language.he],d=l().createInstance(),p=e=>{const{primaryColor:t,themeMode:a,userLanguage:o,platformId:i,baseUrl:l,children:p}=e,{i18nReady:_}=((e,t,a)=>{const[n,o]=(0,s.useState)(!1),i={type:"backend",read:(e,t,a)=>{r(7834)(`./${e}.json`).then((e=>a(null,e))).catch((e=>a(e,null)))}};return(0,s.useEffect)((()=>{e.use(i).init({fallbackLng:"en",interpolation:{escapeValue:!1},react:{useSuspense:!1}}).then((()=>{o(!0)})).catch((()=>{throw new Error("Unable to initialize i18next")}))}),[t]),(0,s.useEffect)((()=>{e.changeLanguage(a).catch((()=>{throw new Error("Unable to change language")}))}),[n,a]),{i18nReady:n}})(d,l,o);return _?c().createElement(f.I18nextProvider,{i18n:d},c().createElement(n(),{"data-fedmod":"userverification",platformId:i,primaryColor:t,themeMode:a,language:o,supportedRtlLanguages:u},p)):null}},1735:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>Ue});var a=r(7347),n=r(624),o=r.n(n),i=r(353),l=r.n(i),s=r(6943),c=r.n(s),f=r(2623),u=r(2227),d=r(632),p=r(2751),_=r(2184),m=r.n(_);const C=Object.freeze({retryCount:3,baseDelayMs:500}),g="pip-container";function E(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}const v=(0,d.createUseStyles)({wrapper:{width:"100%",height:"100%"},backdrop:{top:"0",left:"0",width:"100%",height:"100%",opacity:"0",zIndex:e=>e.backdropZIndex,position:"absolute",transition:"opacity 300ms ease 0s",willChange:"opacity",backgroundColor:"rgba(0, 0, 0, 0.5)"},modalBox:{top:"30vh",left:"50%",transform:"translateX(-50%)",width:"fit-content",maxWidth:"calc(100vw - 48px)",background:"none",backgroundColor:"rgba(0, 0, 0, 0.7)",border:0,zIndex:e=>e.modalZIndex,position:"absolute",padding:"56px 80px",boxShadow:"none",borderRadius:"10px","@media (max-width: 601px)":{minWidth:"calc(80vw)",padding:"56px 24px",top:"max(10vh, 48px)"}}}),y=({children:e,className:t,blockedContentRef:r,containerRef:a,backdropZIndex:i=1050,modalZIndex:l=1100})=>{const s=v({backdropZIndex:i,modalZIndex:l}),c=o().useRef(null);(0,n.useEffect)((()=>{const{initialStyling:e,resizeObserver:t}=((e,t,r=!0)=>{const a=null!=t&&t.current?(e=>{const t=function(e){for(var t=1;t{if(e.style.opacity="1",t){if(e.style.height=t.getBoundingClientRect().height+"px",e.style.top=t.getBoundingClientRect().top+"px",e.style.paddingBottom=t.getBoundingClientRect().top+"px",ResizeObserver){const r=new ResizeObserver((([t])=>{e.style.height=t.target.getBoundingClientRect().height+"px"}));return r.observe(t),r}e.style.height=`max(100%, ${t.getBoundingClientRect().height}px)`}return null})(e.current,null==t?void 0:t.current);if(r)return{initialStyling:a,resizeObserver:r}}return{initialStyling:a}})(c,r);return()=>{null==t||t.disconnect(),((e,t,r,a=!0)=>{var n,o,i;null!=e&&e.current&&(e.current.style.opacity="0"),null!=t&&t.current&&(t.current.style.overflow=null!==(n=null==r?void 0:r.overflow)&&void 0!==n?n:"auto",t.current.style.pointerEvents=null!==(o=null==r?void 0:r.pointerEvents)&&void 0!==o?o:"auto",a&&(t.current.style.filter=null!==(i=null==r?void 0:r.filter)&&void 0!==i?i:"none"))})(c,r,e)}}),[]);const f=null!=a&&a.current?p.ZP:o().Fragment;return((e=C.retryCount,t=C.baseDelayMs)=>{(0,n.useEffect)((()=>{let r=0,a=null,n=!1,o=null;const i=()=>{const l=document.getElementById(g);if(l)return a=l.style.display,l.style.display="none",void(n=!0);r{if(o&&clearTimeout(o),n){const t=document.getElementById(g);var e;t&&(t.style.display=null!==(e=a)&&void 0!==e?e:"block")}}}),[])})(5,300),o().createElement(f,{container:null==a?void 0:a.current},o().createElement("div",{className:s.wrapper,"data-ta-locator":"Modal__wrapper"},o().createElement("div",{className:s.backdrop,ref:c,"data-ta-locator":"Modal__backdrop"}),o().createElement("div",{className:m()(s.modalBox,t),"data-ta-locator":"Modal__box"},e)))},b=(0,d.createUseStyles)((e=>({flexContainer:{top:"30vh",width:47*e.spacing.base,padding:3*e.spacing.base+"px",boxSizing:"border-box",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",position:"fixed",textAlign:"center",fontSize:11,color:e.colors.textOnDark,lineHeight:"normal",background:(0,f.default)(e.colors.baseShadow,.8),zIndex:({zIndex:e})=>e,"& > button":{minWidth:14*e.spacing.base},"& > span":{margin:[e.spacing.base,0],fontSize:11,"& > a:last-child":{fontWeight:600}}},heading:{"h3&":{margin:[e.spacing.base,0],fontSize:2*e.spacing.base,fontWeight:e.typography.fontWeight,textTransform:"uppercase","& > sub":{fontSize:3*e.spacing.base,fontWeight:"bold",bottom:0}}}}))),w=({rootRef:e,pageRef:t,zIndex:r=1510,onAcceptAgeGate:a,cookiePolicyUrl:n,privacyPolicyUrl:i,termsAndConditionsUrl:s})=>{const{t:f}=(0,u.useTranslation)(),{flexContainer:d,heading:p}=b({zIndex:r}),_=e=>o().createElement("a",{onClick:t=>{var r;t.preventDefault(),r=e,window.location.href=r}},f("age_gate_modal.cookie")),m=_(n),C=_(i),g=_(s);return o().createElement(y,{className:d,blockedContentRef:t,containerRef:e,backdropZIndex:r,modalZIndex:r?r+1:void 0},o().createElement(l(),{"data-ta-locator":"AgeGateModal__content-root"},o().createElement("h3",{className:p},o().createElement("sub",null,"18+")," ",o().createElement("span",null,f("age_gate_modal.heading"))),o().createElement(c(),{"data-ta-locator":"AgeGateModal__on-accept-age-gate-btn",size:"small",label:f("age_gate_modal.agree"),onClick:a}),o().createElement("span",null,o().createElement(u.Trans,{i18nKey:"age_gate_modal.message",components:[m,C,g],values:{CookieLink:f("age_gate_modal.cookie"),PPLink:f("age_gate_modal.privacy_policy"),TACLink:f("age_gate_modal.terms_and_conditions")}})," ",o().createElement("a",{href:"https://google.com"},f("age_gate_modal.reject")))))};var h=r(8706),I=r(7167),V=r.n(I),O=r(336),T=r.n(O);let L=function(e){return e.SAFE_PASSAGE="SAFE_PASSAGE",e.EMBLEM_LOGO="EMBLEM_LOGO",e.EMBLEM_LOGO_AND_TEXT="EMBLEM_LOGO_AND_TEXT",e}({});const P=({icon:e,classname:t})=>{switch(e){case L.SAFE_PASSAGE:return o().createElement("svg",{className:t,viewBox:"60 0 200 50",xmlns:"http://www.w3.org/2000/svg"},o().createElement("path",{d:"M76.26 29.7999C76.4 31.3899 77.44 32.83 80.13 32.83C82.58 32.83 83.5 31.9599 83.5 30.6399C83.5 29.3199 82.75 28.7399 81.31 28.5299L77.13 28.0699C73.67 27.6699 71.68 25.7 71.68 22.45C71.68 18.84 74.39 16.3599 79.93 16.3599C85.84 16.3599 88.21 19.19 88.47 22.59H83.45C83.25 21.06 82.09 20.0499 79.93 20.0499C77.97 20.0499 76.82 20.83 76.82 22.1C76.82 23.08 77.4 23.8 78.87 23.97L82.53 24.35C86.74 24.75 88.65 26.74 88.65 30.21C88.65 33.99 86.28 36.5299 80.05 36.5299C73.82 36.5299 71.54 33.2399 71.34 29.8099H76.27L76.26 29.7999Z",fill:"#fff"}),o().createElement("path",{d:"M90.36 32.2299C90.36 29.9199 91.31 28.3899 95.29 27.7299L98.55 27.1499C99.88 26.9199 100.22 26.5699 100.22 25.8199C100.22 24.9499 99.7 24.4399 98.06 24.4399C96.33 24.4399 95.49 25.1299 95.46 26.3999H90.64C90.78 23.3399 93.44 21.1499 98 21.1499C102.56 21.1499 104.81 23.0199 104.81 26.3099V32.0499C104.81 33.5799 104.9 34.8499 105.07 36.0299H100.8C100.66 35.1899 100.57 34.2099 100.57 33.0299C99.85 35.1399 98.06 36.3999 95.15 36.3999C92.24 36.3999 90.36 34.76 90.36 32.22V32.2299ZM100.23 29.2599V28.71C99.54 29.23 98.87 29.3999 97.98 29.6299L97.14 29.83C95.76 30.18 95.24 30.6699 95.24 31.6499C95.24 32.6299 96.02 33.1799 97.03 33.1799C98.91 33.1799 100.23 31.8499 100.23 29.2599Z",fill:"#fff"}),o().createElement("path",{d:"M108.99 36.0298V25.3298H106.37V23.0198L108.99 21.5798V20.6298C108.99 17.7398 110.46 15.8398 114.1 15.8398H118.05V19.4198H113.2V21.6097H117.33V25.3298H113.96V36.0298H109H108.99Z",fill:"#fff"}),o().createElement("path",{d:"M128.98 31.6802H133.8C133.31 34.1602 131.35 36.5001 126.1 36.5001C120.22 36.5001 118.14 32.7502 118.14 28.8002C118.14 24.6202 120.56 21.1602 126.1 21.1602C131.99 21.1602 133.86 24.8801 133.86 28.8901C133.86 29.3501 133.83 29.7802 133.77 30.1002H122.95C123.24 32.4102 124.36 33.1902 126.21 33.1902C127.68 33.1902 128.57 32.5502 128.98 31.6902V31.6802ZM123.01 27.2102H129.15C128.98 25.3902 128.08 24.4102 126.15 24.4102C124.36 24.4102 123.32 25.1302 123.01 27.2102Z",fill:"#fff"}),o().createElement("path",{d:"M154.59 32.2299C154.59 29.9199 155.54 28.3899 159.52 27.7299L162.78 27.1499C164.11 26.9199 164.45 26.5699 164.45 25.8199C164.45 24.9499 163.93 24.4399 162.29 24.4399C160.56 24.4399 159.72 25.1299 159.69 26.3999H154.87C155.01 23.3399 157.67 21.1499 162.23 21.1499C166.79 21.1499 169.04 23.0199 169.04 26.3099V32.0499C169.04 33.5799 169.13 34.8499 169.3 36.0299H165.03C164.89 35.1899 164.8 34.2099 164.8 33.0299C164.08 35.1399 162.29 36.3999 159.38 36.3999C156.47 36.3999 154.59 34.76 154.59 32.22V32.2299ZM164.46 29.2599V28.71C163.77 29.23 163.1 29.3999 162.21 29.6299L161.37 29.83C159.98 30.18 159.47 30.6699 159.47 31.6499C159.47 32.6299 160.25 33.1799 161.26 33.1799C163.13 33.1799 164.46 31.8499 164.46 29.2599Z",fill:"#3b82f6"}),o().createElement("path",{d:"M175.64 31.3899C175.76 32.5699 176.74 33.5199 178.58 33.5199C180.2 33.5199 180.83 32.9999 180.83 32.1599C180.83 31.4399 180.57 30.8299 178.9 30.6299L175.84 30.2799C173.04 29.9599 171.54 28.46 171.54 25.95C171.54 22.52 174.48 21.1299 178.35 21.1299C182.22 21.1299 185.1 22.4899 185.39 25.8599H180.89C180.75 24.7399 179.97 24.0699 178.38 24.0699C176.71 24.0699 176.07 24.6799 176.07 25.4799C176.07 26.0899 176.42 26.6299 177.77 26.7799L180.74 27.0699C184.14 27.4199 185.56 28.7999 185.56 31.5699C185.56 34.3399 183.86 36.47 178.49 36.47C173.12 36.47 171.25 34.0199 171.13 31.3599H175.63L175.64 31.3899Z",fill:"#3b82f6"}),o().createElement("path",{d:"M191.65 31.3899C191.77 32.5699 192.75 33.5199 194.59 33.5199C196.21 33.5199 196.84 32.9999 196.84 32.1599C196.84 31.4399 196.58 30.8299 194.91 30.6299L191.85 30.2799C189.05 29.9599 187.55 28.46 187.55 25.95C187.55 22.52 190.49 21.1299 194.36 21.1299C198.23 21.1299 201.11 22.4899 201.4 25.8599H196.9C196.76 24.7399 195.98 24.0699 194.39 24.0699C192.72 24.0699 192.08 24.6799 192.08 25.4799C192.08 26.0899 192.43 26.6299 193.78 26.7799L196.75 27.0699C200.15 27.4199 201.57 28.7999 201.57 31.5699C201.57 34.3399 199.87 36.47 194.5 36.47C189.13 36.47 187.26 34.0199 187.14 31.3599H191.64L191.65 31.3899Z",fill:"#3b82f6"}),o().createElement("path",{d:"M203.53 32.2299C203.53 29.9199 204.48 28.3899 208.46 27.7299L211.72 27.1499C213.05 26.9199 213.39 26.5699 213.39 25.8199C213.39 24.9499 212.87 24.4399 211.23 24.4399C209.5 24.4399 208.66 25.1299 208.63 26.3999H203.81C203.95 23.3399 206.61 21.1499 211.17 21.1499C215.73 21.1499 217.98 23.0199 217.98 26.3099V32.0499C217.98 33.5799 218.07 34.8499 218.24 36.0299H213.97C213.83 35.1899 213.74 34.2099 213.74 33.0299C213.02 35.1399 211.23 36.3999 208.32 36.3999C205.41 36.3999 203.53 34.76 203.53 32.22V32.2299ZM213.4 29.2599V28.71C212.71 29.23 212.04 29.3999 211.15 29.6299L210.31 29.83C208.92 30.18 208.41 30.6699 208.41 31.6499C208.41 32.6299 209.19 33.1799 210.2 33.1799C212.07 33.1799 213.4 31.8499 213.4 29.2599Z",fill:"#3b82f6"}),o().createElement("path",{d:"M231.83 21.6099H236.79V35.2C236.79 39.87 234.45 42.1199 228.37 42.1199C223.15 42.1199 220.78 39.7 220.58 36.58H225.4C225.57 37.85 226.5 38.71 228.63 38.71C230.76 38.71 231.83 37.9 231.83 35.97V33.3999C230.85 34.7799 229.26 35.59 226.9 35.59C222.14 35.59 220.21 32.1899 220.21 28.3799C220.21 24.5699 222.14 21.1699 226.9 21.1699C229.26 21.1699 230.85 21.98 231.83 23.33V21.6V21.6099ZM231.83 28.4799C231.83 26.1699 231.02 25.0199 228.6 25.0199C226.18 25.0199 225.17 25.9999 225.17 28.4799C225.17 30.9599 226.12 31.97 228.6 31.97C231.08 31.97 231.83 30.8199 231.83 28.4799Z",fill:"#3b82f6"}),o().createElement("path",{d:"M249.6 31.6802H254.42C253.93 34.1602 251.97 36.5001 246.72 36.5001C240.84 36.5001 238.76 32.7502 238.76 28.8002C238.76 24.6202 241.18 21.1602 246.72 21.1602C252.61 21.1602 254.48 24.8801 254.48 28.8901C254.48 29.3501 254.45 29.7802 254.39 30.1002H243.57C243.86 32.4102 244.98 33.1902 246.83 33.1902C248.3 33.1902 249.19 32.5502 249.6 31.6902V31.6802ZM243.63 27.2102H249.77C249.6 25.3902 248.7 24.4102 246.77 24.4102C244.98 24.4102 243.94 25.1302 243.63 27.2102Z",fill:"#3b82f6"}),o().createElement("path",{d:"M147.03 16.8499H136.3V32.5999L139.73 36.0298H141.43V29.7698H147.03C151.44 29.7698 153.2 26.9098 153.2 23.1898C153.2 19.6998 151.44 16.8398 147.03 16.8398V16.8499ZM145.33 25.8499H141.44V20.7397H145.39C147.21 20.7397 147.9 21.7498 147.9 23.2198C147.9 24.6898 147.18 25.8499 145.33 25.8499Z",fill:"#3b82f6"}));case L.EMBLEM_LOGO:return o().createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"59",height:"60",viewBox:"0 0 59 60",fill:"none"},o().createElement("path",{d:"M50.0357 8.25962H43.8277V10.9487H48.7012V15.3507L46.7159 17.3359L41.3312 11.9512C40.8001 11.4201 39.9436 11.4201 39.4124 11.9512L33.0849 18.2787C32.5537 18.8099 32.5537 19.6664 33.0849 20.1976L39.4124 26.5251C39.9436 27.0562 40.8001 27.0562 41.3312 26.5251L50.9918 16.8645C51.2441 16.6122 51.3902 16.267 51.3902 15.9084V9.6141C51.3902 8.86383 50.786 8.25962 50.0357 8.25962Z",fill:"white"}),o().createElement("path",{d:"M8.92356 52.0276H15.1316V49.3386H10.2581V44.9366L12.2433 42.9514L17.628 48.3361C18.1592 48.8672 19.0157 48.8672 19.5469 48.3361L25.8744 42.0085C26.4055 41.4774 26.4055 40.6209 25.8744 40.0897L19.5469 33.7622C19.0157 33.231 18.1592 33.231 17.628 33.7622L7.96747 43.4228C7.71517 43.6751 7.56909 44.0203 7.56909 44.3789V50.6732C7.56909 51.4234 8.17329 52.0276 8.92356 52.0276Z",fill:"white"}),o().createElement("path",{d:"M35.8204 28.2381L30.4357 22.8534C29.9046 22.3222 29.0481 22.3222 28.5169 22.8534L22.1894 29.1809C21.6582 29.7121 21.6582 30.5686 22.1894 31.0997L28.5169 37.4273C29.0481 37.9584 29.9046 37.9584 30.4357 37.4273L36.7632 31.0997C37.2944 30.5686 37.2944 29.7121 36.7632 29.1875L35.8138 28.2381H35.8204Z",fill:"#626366"}),o().createElement("path",{d:"M57.6116 28.2381L52.2269 22.8534C51.6957 22.3222 50.8392 22.3222 50.308 22.8534L43.9805 29.1809C43.4494 29.7121 43.4494 30.5686 43.9805 31.0997L50.308 37.4273C50.8392 37.9584 51.6957 37.9584 52.2269 37.4273L58.5544 31.0997C59.0855 30.5686 59.0855 29.7121 58.5544 29.1875L57.6049 28.2381H57.6116Z",fill:"#999999"}),o().createElement("path",{d:"M35.8204 6.44703L30.4357 1.06233C29.9046 0.531164 29.0481 0.531164 28.5169 1.06233L22.1894 7.38984C21.6582 7.921 21.6582 8.77752 22.1894 9.30868L28.5169 15.6362C29.0481 16.1674 29.9046 16.1674 30.4357 15.6362L36.7632 9.30868C37.2944 8.77752 37.2944 7.92101 36.7632 7.39648L35.8138 6.44703H35.8204Z",fill:"#999999"}),o().createElement("path",{d:"M35.8204 50.0358L30.4357 44.6511C29.9046 44.1199 29.0481 44.1199 28.5169 44.6511L22.1894 50.9786C21.6582 51.5098 21.6582 52.3663 22.1894 52.8974L28.5169 59.2249C29.0481 59.7561 29.9046 59.7561 30.4357 59.2249L36.7632 52.8974C37.2944 52.3663 37.2944 51.5098 36.7632 50.9852L35.8138 50.0358H35.8204Z",fill:"#999999"}),o().createElement("path",{d:"M14.0294 28.2381L8.64471 22.8534C8.11355 22.3222 7.25704 22.3222 6.72588 22.8534L0.398374 29.1809C-0.132791 29.7121 -0.132791 30.5686 0.398374 31.0997L6.72588 37.4273C7.25704 37.9584 8.11355 37.9584 8.64471 37.4273L14.9722 31.0997C15.5034 30.5686 15.5034 29.7121 14.9722 29.1875L14.0228 28.2381H14.0294Z",fill:"#999999"}),o().createElement("path",{d:"M7.59558 9.58753V15.7955H10.2846V10.9221H14.6866L16.6719 12.9073L11.2872 18.292C10.756 18.8232 10.756 19.6797 11.2872 20.2108L17.6147 26.5383C18.1459 27.0695 19.0024 27.0695 19.5335 26.5383L25.861 20.2108C26.3922 19.6797 26.3922 18.8232 25.861 18.292L16.2005 8.63144C15.9482 8.37913 15.6029 8.23308 15.2444 8.23308H8.95006C8.19979 8.23308 7.59558 8.83726 7.59558 9.58753Z",fill:"white"}),o().createElement("path",{d:"M51.3637 50.6997V44.4917H48.6746V49.3652H44.2726L42.2874 47.38L47.672 41.9953C48.2032 41.4641 48.2032 40.6076 47.672 40.0764L41.3445 33.7489C40.8134 33.2178 39.9569 33.2178 39.4257 33.7489L33.0982 40.0764C32.567 40.6076 32.567 41.4641 33.0982 41.9953L42.7588 51.6558C43.0111 51.9081 43.3563 52.0542 43.7149 52.0542H50.0092C50.7595 52.0542 51.3637 51.45 51.3637 50.6997Z",fill:"white"}));case L.EMBLEM_LOGO_AND_TEXT:return o().createElement("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",width:"155",height:"52",viewBox:"0 0 155 52",fill:"none"},o().createElement("path",{d:"M71.6657 18.8753C72.4492 19.1807 73.1264 19.6322 73.7107 20.1899C74.2684 20.7476 74.7199 21.4514 74.9988 22.2083C75.3042 22.9918 75.4503 23.835 75.4503 24.7048V27.427H66.0287C66.0818 28.2371 66.3673 28.9143 66.8387 29.4189C67.3965 29.9501 68.2131 30.2621 69.1958 30.2621C70.0921 30.2621 70.8756 29.9832 71.44 29.4786L73.5181 31.7494C72.3961 32.7852 70.8822 33.3495 69.2024 33.3495C68.3061 33.3495 67.4628 33.2101 66.7059 32.898C65.9225 32.5926 65.2452 32.1677 64.6875 31.5834C64.0966 31.0257 63.6783 30.3484 63.3729 29.5649C63.0675 28.808 62.9214 27.9648 62.9214 27.0685V24.7114C62.9214 23.8416 63.0608 22.9985 63.3729 22.215C63.6783 21.4581 64.1032 20.7543 64.6875 20.1965C65.2452 19.6388 65.9225 19.1873 66.7059 18.8819C67.4628 18.603 68.3061 18.4304 69.2024 18.4304C70.0988 18.4304 70.9154 18.5964 71.6723 18.8819L71.6657 18.8753ZM66.8454 22.381C66.3673 22.859 66.0885 23.5296 66.0353 24.3463H72.3695C72.2832 23.5362 72.0043 22.859 71.5263 22.381C70.9685 21.8232 70.1519 21.5112 69.1958 21.5112C68.2397 21.5112 67.4031 21.8166 66.8387 22.381H66.8454Z",fill:"white"}),o().createElement("path",{d:"M95.6944 20.0239C96.7302 21.0597 97.2945 22.5204 97.2945 24.1205V33.3495H94.2072V24.1205C94.2072 22.4938 93.2511 21.5112 91.6244 21.5112C89.9977 21.5112 89.015 22.4938 89.015 24.1205V33.3495H85.9276V24.1205C85.9276 22.4938 84.945 21.5112 83.3448 21.5112C81.7447 21.5112 80.7355 22.4938 80.7355 24.1205V33.3495H77.6481V18.4304H80.7355V18.9881C81.5189 18.6229 82.3887 18.4304 83.3448 18.4304C84.945 18.4304 86.399 19.0213 87.4082 20.0305C87.4348 20.0571 87.4348 20.0836 87.4613 20.0836C87.4879 20.0836 87.4879 20.0571 87.5145 20.0305C88.5502 19.0213 89.9844 18.4304 91.6111 18.4304C93.2378 18.4304 94.6653 19.0213 95.6745 20.0305L95.6944 20.0239Z",fill:"white"}),o().createElement("path",{d:"M103.881 18.8753C104.638 18.5964 105.481 18.4237 106.377 18.4237C107.274 18.4237 108.09 18.5898 108.847 18.8753C109.631 19.1807 110.308 19.6322 110.892 20.1899C111.45 20.7476 111.902 21.4514 112.18 22.2083C112.486 22.9918 112.632 23.835 112.632 24.7048V27.0618C112.632 27.9582 112.492 28.8014 112.18 29.5583C111.902 30.3418 111.45 31.019 110.892 31.5768C110.301 32.1677 109.631 32.586 108.847 32.8914C108.09 33.1968 107.247 33.3428 106.377 33.3428C105.508 33.3428 104.638 33.2034 103.881 32.8914C103.629 32.8051 103.403 32.6989 103.177 32.586V33.3428H100.09V13.7163H103.177V19.2139L103.881 18.8753ZM104.02 22.381C103.489 22.9387 103.177 23.7553 103.177 24.7114V27.0685C103.177 28.0511 103.483 28.8612 104.02 29.4255C104.578 29.9567 105.395 30.2687 106.377 30.2687C107.36 30.2687 108.144 29.9634 108.708 29.4255C109.266 28.8678 109.551 28.0511 109.551 27.0685V24.7114C109.551 23.7553 109.272 22.9453 108.708 22.381C108.15 21.8233 107.333 21.5112 106.377 21.5112C105.421 21.5112 104.585 21.8166 104.02 22.381Z",fill:"white"}),o().createElement("path",{d:"M114.869 33.3428V13.7163H117.957V33.3428H114.869Z",fill:"white"}),o().createElement("path",{d:"M128.945 18.8753C129.729 19.1807 130.406 19.6322 130.99 20.1899C131.548 20.7476 132 21.4514 132.278 22.2083C132.584 22.9918 132.73 23.835 132.73 24.7048V27.427H123.308C123.361 28.2371 123.647 28.9143 124.118 29.4189C124.676 29.9501 125.493 30.2621 126.475 30.2621C127.372 30.2621 128.155 29.9832 128.72 29.4786L130.798 31.7494C129.676 32.7852 128.162 33.3495 126.482 33.3495C125.586 33.3495 124.743 33.2101 123.986 32.898C123.202 32.5926 122.525 32.1677 121.967 31.5834C121.376 31.0257 120.958 30.3484 120.653 29.5649C120.347 28.808 120.201 27.9648 120.201 27.0685V24.7114C120.201 23.8416 120.34 22.9985 120.653 22.215C120.958 21.4581 121.383 20.7543 121.967 20.1965C122.525 19.6388 123.202 19.1873 123.986 18.8819C124.743 18.603 125.586 18.4304 126.482 18.4304C127.378 18.4304 128.195 18.5964 128.952 18.8819L128.945 18.8753ZM124.125 22.381C123.647 22.859 123.368 23.5296 123.315 24.3463H129.649C129.563 23.5362 129.284 22.859 128.806 22.381C128.248 21.8232 127.432 21.5112 126.475 21.5112C125.519 21.5112 124.683 21.8166 124.118 22.381H124.125Z",fill:"white"}),o().createElement("path",{d:"M153.007 20.0239C154.043 21.0597 154.607 22.5204 154.607 24.1205V33.3495H151.52V24.1205C151.52 22.4938 150.564 21.5112 148.937 21.5112C147.31 21.5112 146.328 22.4938 146.328 24.1205V33.3495H143.24V24.1205C143.24 22.4938 142.258 21.5112 140.657 21.5112C139.057 21.5112 138.048 22.4938 138.048 24.1205V33.3495H134.961V18.4304H138.048V18.9881C138.832 18.6229 139.701 18.4304 140.657 18.4304C142.258 18.4304 143.712 19.0213 144.721 20.0305C144.747 20.0571 144.747 20.0836 144.774 20.0836C144.801 20.0836 144.801 20.0571 144.827 20.0305C145.863 19.0213 147.297 18.4304 148.924 18.4304C150.55 18.4304 151.978 19.0213 152.987 20.0305L153.007 20.0239Z",fill:"white"}),o().createElement("path",{d:"M43.3015 6.93069H37.9301V9.26119H42.1463V13.0723L40.4266 14.7919L35.7723 10.1376C35.3141 9.67945 34.5705 9.67945 34.1124 10.1376L28.6347 15.6152C28.1766 16.0733 28.1766 16.817 28.6347 17.2751L34.1124 22.7528C34.5705 23.2109 35.3141 23.2109 35.7723 22.7528L44.1315 14.3936C44.3506 14.1745 44.4767 13.8757 44.4767 13.5636V8.11248C44.4767 7.4618 43.9522 6.93734 43.3015 6.93734V6.93069Z",fill:"white"}),o().createElement("path",{d:"M7.72012 44.8094H13.0915V42.4789H8.87541V38.6678L10.5951 36.9482L15.2494 41.6025C15.7075 42.0606 16.4512 42.0606 16.9093 41.6025L22.3869 36.1249C22.8451 35.6667 22.8451 34.9231 22.3869 34.465L16.9093 28.9873C16.4512 28.5292 15.7075 28.5292 15.2494 28.9873L6.89018 37.3465C6.67107 37.5656 6.54492 37.8644 6.54492 38.1765V43.6276C6.54492 44.2783 7.06945 44.8027 7.72012 44.8027V44.8094Z",fill:"white"}),o().createElement("path",{d:"M30.9985 24.2267L26.3442 19.5724C25.886 19.1143 25.1424 19.1143 24.6843 19.5724L19.2066 25.05C18.7485 25.5082 18.7485 26.2518 19.2066 26.7099L24.6843 32.1876C25.1424 32.6457 25.886 32.6457 26.3442 32.1876L31.8218 26.7099C32.2799 26.2518 32.2799 25.5082 31.8218 25.05L31.0051 24.2334L30.9985 24.2267Z",fill:"#626366"}),o().createElement("path",{d:"M49.8548 24.2267L45.2005 19.5724C44.7424 19.1143 43.9987 19.1143 43.5406 19.5724L38.063 25.05C37.6048 25.5082 37.6048 26.2518 38.063 26.7099L43.5406 32.1876C43.9987 32.6457 44.7424 32.6457 45.2005 32.1876L50.6781 26.7099C51.1363 26.2518 51.1363 25.5082 50.6781 25.05L49.8615 24.2334L49.8548 24.2267Z",fill:"#999999"}),o().createElement("path",{d:"M30.9985 5.36379L26.3442 0.70945C25.886 0.25132 25.1424 0.25132 24.6843 0.70945L19.2066 6.18709C18.7485 6.64522 18.7485 7.38885 19.2066 7.84698L24.6843 13.3246C25.1424 13.7828 25.886 13.7828 26.3442 13.3246L31.8218 7.84698C32.2799 7.38885 32.2799 6.64522 31.8218 6.18709L31.0051 5.37036L30.9985 5.36379Z",fill:"#999999"}),o().createElement("path",{d:"M30.9985 43.0831L26.3442 38.4288C25.886 37.9707 25.1424 37.9707 24.6843 38.4288L19.2066 43.9064C18.7485 44.3646 18.7485 45.1082 19.2066 45.5663L24.6843 51.044C25.1424 51.5021 25.886 51.5021 26.3442 51.044L31.8218 45.5663C32.2799 45.1082 32.2799 44.3646 31.8218 43.9064L31.0051 43.0898L30.9985 43.0831Z",fill:"#999999"}),o().createElement("path",{d:"M12.1355 24.2267L7.48113 19.5724C7.023 19.1143 6.27937 19.1143 5.82124 19.5724L0.343598 25.05C-0.114533 25.5082 -0.114533 26.2518 0.343598 26.7099L5.82124 32.1876C6.27937 32.6457 7.023 32.6457 7.48113 32.1876L12.9588 26.7099C13.4169 26.2518 13.4169 25.5082 12.9588 25.05L12.1421 24.2334L12.1355 24.2267Z",fill:"#999999"}),o().createElement("path",{d:"M6.57141 8.07932V13.4507H8.9019V9.2346H12.713L14.4327 10.9542L9.77832 15.6086C9.32019 16.0667 9.32019 16.8103 9.77832 17.2685L15.256 22.7461C15.7141 23.2042 16.4577 23.2042 16.9159 22.7461L22.3935 17.2685C22.8516 16.8103 22.8516 16.0667 22.3935 15.6086L14.0343 7.24938C13.8152 7.03027 13.5164 6.90411 13.2043 6.90411H7.75325C7.10258 6.90411 6.57805 7.42864 6.57805 8.07932H6.57141Z",fill:"white"}),o().createElement("path",{d:"M44.4502 43.6674V38.296H42.1197V42.5121H38.3086L36.589 40.7925L41.2433 36.1382C41.7014 35.68 41.7014 34.9364 41.2433 34.4783L35.7657 29.0006C35.3075 28.5425 34.5639 28.5425 34.1058 29.0006L28.6281 34.4783C28.17 34.9364 28.17 35.68 28.6281 36.1382L36.9874 44.4974C37.2065 44.7165 37.5052 44.8426 37.8173 44.8426H43.2684C43.9191 44.8426 44.4436 44.3181 44.4436 43.6674H44.4502Z",fill:"white"}));default:return null}},A=(0,n.memo)(P);let S=function(e){return e.START="start",e.CONNECTING="connecting",e.CONNECTED="connected",e.DOWN="down",e}({}),M=function(e){return e.PING="ping",e.PONG="pong",e}({}),x=function(e){return e.VERIFICATION="verification",e.MANUAL_REVIEW="manual-review",e}({});const D=(e,t,r,a)=>{const[o,i]=(0,n.useState)(S.DOWN),[l,s]=(0,n.useState)(!1),c=(0,n.useRef)(null),f=(0,n.useRef)(!1),u=(0,n.useRef)(0),d=()=>{i(S.CONNECTED),u.current=0},p=()=>{i(S.DOWN)};return(0,n.useEffect)((()=>{if(!l)return;const t=`${e.wsHost}/api/trust-requestor-notification/v1?state=${e.state}`,n=()=>{const l=new WebSocket(t);l.onopen=d,l.onmessage=(t=>async n=>{if(n.data===M.PING)t.send(M.PONG);else if("string"==typeof n.data){const t=JSON.parse(n.data);if(t.event===x.VERIFICATION)try{await(null==r?void 0:r(e.state))}catch(e){console.error("Failed age verification on socket onmessage",e)}finally{f.current=!0,null===(o=c.current)||void 0===o||o.close(),i(S.DOWN)}else t.event===x.MANUAL_REVIEW&&(null==a||a())}var o})(l),l.onerror=p,l.onclose=(e=>()=>{c.current=null,!f.current&&u.current<3&&o!==S.START?(u.current+=1,setTimeout(e,2e3)):i(S.DOWN)})(n),c.current=l};return i(S.CONNECTING),n(),()=>{var e;null===(e=c.current)||void 0===e||e.close(),s(!1)}}),[l]),{socketStatus:o,startConnection:()=>{o!==S.START&&o!==S.CONNECTED&&o!==S.CONNECTING&&s(!0)},getSafePassageWindowUrl:()=>{const t=(e=>{const t=`${window.location.protocol}//${window.location.hostname}${window.location.port?":"+window.location.port:""}`;return encodeURIComponent(`${t}${e}`)})(e.reviewRedirectUrl);return`${e.host}/redirect?projectKey=${e.projectKey}&emblemState=${e.state}&reviewRedirectUrl=${t}`}}};let N=function(e){return e.MOBILE="mobile",e.TABLET="tablet",e.DESKTOP="desktop",e}({});const R=()=>{const e=()=>"undefined"!=typeof window,t=(0,n.useCallback)((t=>{const r=/(tablet|ipad|silk)|(android(?!.*mobile))/gi.test(t),a=/(mobile|iphone|ipod|android|blackberry)/gi.test(t),n=e()&&"MacIntel"===window.navigator.platform&&(window.navigator.maxTouchPoints>1||void 0!==window.navigator.standalone);return r||n?N.TABLET:a?N.MOBILE:N.DESKTOP}),[]),r=e()?null===(a=window.navigator)||void 0===a?void 0:a.userAgent:"";var a;const o=t(r);return{userAgent:r,deviceType:o,isDesktop:o===N.DESKTOP,isMobile:o===N.MOBILE,isTablet:o===N.TABLET,supportsNotifications:e()&&"serviceWorker"in window.navigator&&"PushManager"in window}},G=(0,d.createUseStyles)({button:{padding:"0 100px",margin:"4px 0",textShadow:"0.5px 0.5px 0 rgba(0, 0, 0, 0.5)",fontFamily:"Roboto, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'Helvetica', sans-serif",fontSize:"clamp(20px, 1.5vw, 32px)",fontWeight:700,textAlign:"center",color:"#f1f1f1",cursor:"pointer","@media (max-width: 601px)":{padding:"0 72px"}}}),j=({ageVerificationConfig:e,onClick:t,isAuthenticated:r,trackVerification:a,label:i="Verify 18+",primaryColor:l,postBackConfig:s})=>{const{getSafePassageWindowUrl:f}=D(e),{isDesktop:u}=R(),{host:d,projectKey:p,state:_}=e,m=d&&p&&_,[C,g]=(0,n.useState)(!1),E=(0,n.useCallback)((e=>{if(!m||C)return e.preventDefault(),void e.stopPropagation();if(g(!0),setTimeout((()=>g(!1)),3e3),u){e.preventDefault(),e.stopPropagation();const{success:n}=t();n&&a(_,r)}else a(_,r)}),[m,C,u,t,a,_,r]),{button:v}=G(),y=({children:e})=>u?o().createElement(o().Fragment,null,e):o().createElement("a",{href:f(),target:"_blank",rel:"noreferrer"},e);return o().createElement(y,null,o().createElement(c(),{backgroundColor:l,onClick:E,disabled:!m,label:i,size:"large",overrides:{root:v},"data-ta-locator":"VerifyButton__button"}))},k=(0,d.createUseStyles)({flexContainer:{width:"100%",alignItems:"center"},icon:{margin:0,padding:0,height:"48px"},big_text:{margin:"4px 0",textShadow:"0.5px 0.5px 0 rgba(0, 0, 0, 0.5)",fontFamily:"Roboto, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, sans-serif",fontSize:"18px",fontWeight:400,textAlign:"center",color:"#f1f1f1","@media (max-width: 600px)":{fontSize:"24px !important"}},text:{textShadow:"0.5px 0.5px 0 rgba(0, 0, 0, 0.5)",fontFamily:"Roboto, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, sans-serif",fontSize:"14px",fontWeight:400,textAlign:"center",color:"#8f8f8f"},safePassageTextContainer:{marginBottom:"8px"},errorContainer:{width:"fit-content",maxWidth:"80%",marginBottom:"8px",padding:"8px 4px",textShadow:"0.5px 0.5px 0 rgba(0, 0, 0, 0.5)",fontFamily:"Roboto, -apple-system, BlinkMacSystemFont, Helvetica Neue, Helvetica, sans-serif",fontSize:"12px",color:"#f1f1f1","@media (max-width: 600px)":{maxWidth:"100%"}}}),H=({ageVerificationConfig:e,verifyAge:t,trackVerification:r,rootRef:a,pageRef:i,zIndex:s,isAuthenticated:c,baseUrl:f,userVerificationApiGatewayId:d})=>{const{t:p}=(0,u.useTranslation)(),[_,m]=o().useState(!1),[C,g]=o().useState(null),E=o().useRef(null),v=o().useRef(!1),b={postBackUrl:`${f}/v1/webhooks/age-verification`,gatewayUUID:d},{startConnection:w,getSafePassageWindowUrl:h}=D(e,0,(async e=>{try{await t(e)}catch(e){throw m(!1),g(p("common.errors.something_went_wrong_please_try_again")),e}}),(()=>{v.current=!0})),{isDesktop:O}=R();(0,n.useEffect)((()=>{O||w()}),[]),(0,n.useEffect)((()=>{if(_){const e=setInterval((()=>{var t,r;if(null!==(t=null===(r=E.current)||void 0===r?void 0:r.closed)&&void 0!==t?t:!E.current){const t=v.current?p("user_verification_overlay.manual_verification_text"):p("user_verification_overlay.processing_error");g(t),clearInterval(e),m(!1)}}),1e3),t=window.screen.width,r=window.screen.height,a=380,n=800,o=`width=${a},height=${n},left=${Math.round(t/2-a/2)},top=${Math.round(r/2-n/2)}`;E.current=window.open(h(),"Safe Passage",o)}else{var e;null===(e=E.current)||void 0===e||e.close()}}),[_]);const{flexContainer:P,icon:S,big_text:M,text:x,safePassageTextContainer:N,errorContainer:G}=k();return o().createElement(y,{blockedContentRef:i,containerRef:a,backdropZIndex:s,modalZIndex:s?s+1:void 0},o().createElement(l(),{wrap:!0,className:P},o().createElement(T(),{variant:"heading_m",className:M},p("user_verification_overlay.splash_text")),o().createElement("div",{className:N,"data-ta-locator":"VerifyModal__safepassage__text"},o().createElement(T(),{variant:"body_m",className:x},p("user_verification_overlay.safepassage_partner_text_top")),o().createElement(T(),{variant:"body_m",className:x},p("user_verification_overlay.safepassage_partner_text_bottom"))),!!C&&o().createElement(V(),{type:I.MessageBarTypes.ERROR,overrides:{root:G}},C),o().createElement(j,{ageVerificationConfig:e,onClick:()=>{try{return w(),m(!0),{success:!0}}catch(e){return{success:!1}}},label:p("user_verification_overlay.verify_age"),isAuthenticated:c,trackVerification:r,postBackConfig:b}),o().createElement(A,{icon:L.EMBLEM_LOGO_AND_TEXT,classname:S})))},F={[a.PlatformId.streamfans]:{isAgeGateModalEnabled:!0}},U=e=>{var t;const r=F[e];return{isAgeGateModalEnabled:null!==(t=null==r?void 0:r.isAgeGateModalEnabled)&&void 0!==t&&t}};var Z=r(9060),B=r.n(Z);const z=Object.freeze([5545]),W=Object.freeze([5079]);let K=function(e){return e.AFNO="AFNO",e.FORCED_LOCATION="FORCED_LOCATION",e.FORCED_SITE_ID="FORCED_SITE_ID",e.EXEMPTED_OR_NO_AFNO="EXEMPTED_OR_NO_AFNO",e}({});const $=(e,t)=>Object.freeze([{country:"US",subdivision:"TN"},{country:"US",subdivision:"KS"}]).some((r=>r.country===e&&r.subdivision===t)),X=(e,t,r)=>{const a=Number(e)&&1!==Number(e),n=t&&1!==Number(t),o=Number(r);return Boolean(a||n||o)&&!z.includes(Number(r))},Y={[a.PlatformId.streamate]:{bypassAgeVerification:({referrerId:e,referrerKey:t,trackingId:r,country:a,subdivision:n},o)=>$(a,n)?{bypass:!1,reason:K.FORCED_LOCATION}:(e=>W.includes(e))(o)?{bypass:!1,reason:K.FORCED_SITE_ID}:X(e,t,r)?{bypass:!0,reason:K.AFNO}:{bypass:!1,reason:K.EXEMPTED_OR_NO_AFNO}},[a.PlatformId.streamfans]:{bypassAgeVerification:({referrerId:e,referrerKey:t,trackingId:r,country:a,subdivision:n})=>$(a,n)?{bypass:!1,reason:K.FORCED_LOCATION}:X(e,t,r)?{bypass:!0,reason:K.AFNO}:{bypass:!1,reason:K.EXEMPTED_OR_NO_AFNO}}},q=[{platformId:a.PlatformId.streamate,routes:["/login","/signup/register","/signup/verify","/signup/response","/account/profile","/account/daily-limit","/account/discounts-and-credits","/account/update-payment-info","/account/change-password","/account/notifications","/account/emails","/account/close","/support","/support/chat","/support/call-us","/support/contact-support","/support/faq","/docs/terms-and-conditions","/docs/privacy-policy","/docs/dmca-copyright","/docs/content-removal","/docs/eu-dsa","/docs/dsa-complaint-form"]},{platformId:a.PlatformId.streamfans,routes:["/login","/signup","/signup/form","/signup/confirm","/signup/confirmEmail","/signup/response","/signup/success","/signup/verify","/account","/account/user-profile","/account/reactivate","/account/reactivate/process","/account/account-closed","/account/close-account","/account/change-password","/account/forgot-password","/account/emails","/account/email-preferences","/support","/support/chat","/docs","/docs/privacy-policy","/docs/dmca-copyright","/docs/content-removal","/docs/eu-dsa","/docs/dsa-complaint-form","/docs/record-keeping-2257","/docs/terms-and-conditions","/paymentinfo","/paymentinfo/update","/paymentinfo/options","/paymentinfo/purchase-history"]}];var J=r(9392);const Q=e=>{try{return e.setItem("hasLocalStorage","true"),e.getItem("hasLocalStorage"),e.removeItem("hasLocalStorage"),!0}catch(e){return!1}},ee="enableAgeVerification",te=ee.toLowerCase(),re=(e,t=te)=>{const r=(0,n.useMemo)((()=>Q(localStorage)),[Boolean(window)]),[a,o]=((e,t)=>{const[r,a]=(0,n.useState)((()=>{try{const r=window.localStorage.getItem(e);return r?JSON.parse(r):t}catch(e){return t}}));return[r,t=>{try{const n=t instanceof Function?t(r):t;a(n),window.localStorage.setItem(e,JSON.stringify(n))}catch(e){console.warn("useLocalStorage: set value error",e)}}]})(ee,!1);return(0,n.useEffect)((()=>{const a=(0,J.Z)();if(r&&e){const e=a.get(t);"true"===e?o(!0):"false"===e&&o(!1)}}),[]),{isAgeVerificationEnabled:!e||a}};var ae=r(1633);function ne(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function oe(e){for(var t=1;tObject.freeze({countryCode:e,stateCode:t}),se=le("US","AR"),ce=le("US","LA"),fe=le("US","MS"),ue=le("US","MT"),de=le("US","NC"),pe=le("US","SC"),_e=le("US","TX"),me=le("US","UT"),Ce=le("US","VA"),ge=le("US","ID"),Ee=le("US","IN"),ve=le("US","KS"),ye=le("US","KY"),be=le("US","NE"),we=le("US","AL"),he=le("US","OK"),Ie=le("US","WA"),Ve=le("US","ND"),Oe=le("US","FL"),Te=le("US","TN"),Le=le("DE"),Pe=[oe(oe({},se),{},{registrationDate:ie.CET_2023_10_18_210000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},me),{},{registrationDate:ie.CET_2023_11_20_160000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},ce),{},{registrationDate:ie.CET_2023_11_29_160000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},Le),{},{registrationDate:ie.CET_2024_02_14_130000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},ue),{},{registrationDate:ie.CET_2024_01_29_160000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},ve),{},{registrationDate:ie.CET_2024_01_29_160000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},_e),{},{registrationDate:ie.CET_2024_03_27_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},fe),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},Ce),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},ge),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},Ee),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},ye),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},be),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},we),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},he),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},de),{},{registrationDate:ie.CET_2024_12_04_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},pe),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},Oe),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!1}),oe(oe({},Te),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamate,allowGuestVerification:!0}),oe(oe({},se),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},me),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},ce),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Le),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},ue),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},ve),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},_e),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},fe),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Ce),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},ge),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Ee),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},ye),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},be),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},we),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},he),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},de),{},{registrationDate:ie.CET_2024_12_10_100000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},pe),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Oe),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Te),{},{registrationDate:ie.CET_2024_12_30_120000,platformId:a.PlatformId.streamfans,allowGuestVerification:!0}),oe(oe({},Ie),{},{registrationDate:ie.CET_2023_11_23_160000,platformId:a.PlatformId.kwiky,allowGuestVerification:!0,featureFlags:{toggleAgeVerificationByQS:!0}}),oe(oe({},_e),{},{registrationDate:ie.CET_2024_03_27_120000,platformId:a.PlatformId.kwiky,allowGuestVerification:!0}),oe(oe({},Ve),{},{registrationDate:ie.CET_2024_03_27_120000,platformId:a.PlatformId.kwiky,allowGuestVerification:!0})],Ae=e=>String(e).toUpperCase();function Se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,a)}return r}function Me(e){for(var t=1;t!e&&t,De=(e,t,r,a)=>async n=>{try{const o=xe(r,a);await e(n,o),t(!0)}catch(e){throw console.error("Failed to verify age",e),e}},Ne=(e,t=!1)=>!!e.isAgeVerificationEnabled&&!t&&!!(e.forceInitVerification||e.isAuthenticated&&e.shouldPromptAgeVerification),Re=e=>e===K.FORCED_SITE_ID,Ge=(e,t,r,a,i,l,s,c,f)=>{const[u,d]=(0,n.useState)(e),[p,_]=(0,n.useState)(!0),[m,C]=(0,n.useState)(null),[g,E]=(0,n.useState)(!1),{shouldPromptAgeVerification:v,allowGuestVerification:y,featureFlags:b}=((e,t,r,a)=>{var n,o;const i=Pe.find((r=>Ae(r.countryCode)===Ae(e)&&(!r.stateCode||Ae(r.stateCode)===Ae(t))&&r.platformId===a)),l=null!==(n=null==i?void 0:i.allowGuestVerification)&&void 0!==n&&n;return{shouldPromptAgeVerification:!!i&&(l||Number(r)>=i.registrationDate),allowGuestVerification:l,featureFlags:null!==(o=null==i?void 0:i.featureFlags)&&void 0!==o?o:{}}})(t,r,a,s),{FeatureWrapper:w,isFeatureEnabled:h}=(e=>{const{isAgeVerificationEnabled:t}=re(null!=e&&e);return t?{FeatureWrapper:({children:e})=>o().createElement(o().Fragment,null,e),isFeatureEnabled:t}:{FeatureWrapper:()=>null,isFeatureEnabled:t}})(b.toggleAgeVerificationByQS),I=(e=>{var t;return(0,n.useMemo)((()=>{if("undefined"==typeof window)return!1;const{pathname:t}=window.location,r=q.find((t=>t.platformId===e));if(r){const e=r.routes.map((e=>e.toLowerCase()));return e.includes(t.toLocaleLowerCase())}return!1}),[null===(t=window)||void 0===t||null===(t=t.location)||void 0===t?void 0:t.pathname])})(s),{postVerifyAge:V,getInitAgeVerification:O,postTrackAgeVerification:T}=(0,ae.Z)(i,c);(0,n.useEffect)((()=>{e!==u&&(d(e),_(!0))}),[e]),(0,n.useEffect)((()=>{if(!p||!h)return;const t=((e,t,r,a)=>async(n,o)=>{try{const a=xe(n,o),{ageVerificationRequired:i,ageVerificationDone:l,ageVerificationConfig:s}=await e(a);t(l||!i?null:s),r(l)}catch(e){console.error("Failed to initialize age verification",e)}finally{a(!1)}})(O,C,E,_),r=Re(f);Ne({isAuthenticated:e||y,shouldPromptAgeVerification:v,isAgeVerificationEnabled:h,forceInitVerification:r})?t(e,y||r):_(!1)}),[p,e,y,v,h]);const L=!!m;return{shouldRenderUserVerification:L&&!g&&Ne({isAuthenticated:e||y,shouldPromptAgeVerification:v,isAgeVerificationEnabled:h,forceInitVerification:Re(f)},p)&&(e=>{var t;if(null===(t=window)||void 0===t||!t.location||!e)return!1;const r=window.location.pathname.toLowerCase(),a=e.toLowerCase();return!r.includes(a)})(l)&&!I,isUserVerificationRequired:L,isUserVerificationLoading:p,isVerificationDone:g,FeatureWrapper:w,trackVerification:T,verifyAge:De(V,((e=!0)=>{setTimeout((()=>{const t=setInterval((()=>{E((r=>(r!==e&&clearInterval(t),e)))}),200)}),200)}),e,y),ageVerificationConfig:Me(Me({},m),{},{reviewRedirectUrl:l})}},je=["children"];function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t{var t;let{children:r}=e,n=function(e,t){if(null==e)return{};var r,a,n=function(e,t){if(null==e)return{};var r,a,n={},o=Object.keys(e);for(a=0;a=0||(n[r]=e[r]);return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,je);const{gatewayCaller:i,isAuthenticated:l,country:s="N/A",subdivision:c="N/A",registrationDate:f,reviewRedirectUrl:u,platformId:d,siteId:p,apiRoot:_,rootRef:m,pageRef:C,zIndex:g,baseUrl:E,userVerificationApiGatewayId:v,disallowAgeGatePopup:y,ageGatePopupConfig:b,generateChecksum:I,trackingData:V}=n,{bypassAgeVerification:O}=((e,t,r)=>{const{afno:a,referrerId:n,referrerKey:o,trackingId:i,country:l,subdivision:s}=r;if(a&&(n||o||i))throw new Error("Cannot use both afno and referrerId/referrerKey/trackingId");const{referrerID:c,referrerKey:f,trackingID:u}=B()(null!=a?a:"",t),d=c||n,p=f||o,_=u||i,m=Y[e];return{bypassAgeVerification:!!m&&("function"==typeof m.bypassAgeVerification?m.bypassAgeVerification({country:l,subdivision:s,referrerId:d,referrerKey:p,trackingId:_},t):m.bypassAgeVerification)}})(d,p,Fe(Fe({},V),{},{country:s,subdivision:c})),{shouldBypassAgeVerification:T,bypassAgeVerificationReason:L=null}="boolean"==typeof O?{shouldBypassAgeVerification:O}:{shouldBypassAgeVerification:O.bypass,bypassAgeVerificationReason:O.reason},{shouldRenderUserVerification:P,isUserVerificationRequired:A,isUserVerificationLoading:S,isVerificationDone:M,FeatureWrapper:x,ageVerificationConfig:D,verifyAge:N,trackVerification:R}=Ge(l,s,c,f,i,u,d,_,L),G=!T&&P&&!n.disallowUserVerificationPopup,j=!M&&(!A||A&&T&&L===K.AFNO),k=U(d),F=!S&&j&&k.isAgeGateModalEnabled&&!y,Z=window.document.body,z=Z.querySelector("div"),W=d===a.PlatformId.streamate&&window.location.pathname.includes("/cam/")?{current:Z}:null!=m?m:{current:Z},$=d===a.PlatformId.streamate&&window.location.pathname.includes("/cam/")?{current:z}:null!=C?C:{current:z},[X,q]=o().useState(null!==(t=null==I?void 0:I(W))&&void 0!==t?t:"");return o().useEffect((()=>{I&&q(I(m))}),[I,m]),o().createElement(h.Z,n,o().createElement(x,null,G&&o().createElement(H,{ageVerificationConfig:D,verifyAge:N,trackVerification:R,rootRef:W,pageRef:$,zIndex:g,isAuthenticated:l,baseUrl:E,userVerificationApiGatewayId:v}),!!b&&F&&o().createElement(w,ke({rootRef:W,pageRef:$,zIndex:g},b))),o().createElement("div",{"data-cs":X}))}},1633:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});let a=function(e){return e.GET_V2_AGE_VERIFICATION_INIT_MEMBER="/v2/age-verification/init/member",e.GET_V2_AGE_VERIFICATION_INIT_GUEST="/v2/age-verification/init/guest",e.POST_V2_AGE_VERIFICATION_VERIFY_MEMBER="/v2/age-verification/verify/member",e.POST_V2_AGE_VERIFICATION_VERIFY_GUEST="/v2/age-verification/verify/guest",e.POST_V2_AGE_VERIFICATION_VERIFY_MANUAL_MEMBER="/v2/age-verification/verify-manual/member",e.POST_V2_AGE_VERIFICATION_VERIFY_MANUAL_GUEST="/v2/age-verification/verify-manual/guest",e.POST_V2_AGE_VERIFICATION_TRACK_GUEST="/v2/age-verification/track/guest",e.POST_V2_AGE_VERIFICATION_TRACK_MEMBER="/v2/age-verification/track/member",e}({});const n=async(e,t=3,r=500)=>{for(let a=0;a<=t;++a)try{return a>0&&await new Promise((e=>setTimeout(e,r*a))),await e()}catch(e){if(a===t)throw e}},o=(e,t="")=>{const r=e=>t.endsWith("/")&&e.startsWith("/")?t+e.slice(1):t.endsWith("/")||e.startsWith("/")?t+e:t+"/"+e;return{getInitAgeVerification:(t=!1)=>n((async()=>{const{data:n}=await e.get({url:r(t?a.GET_V2_AGE_VERIFICATION_INIT_GUEST:a.GET_V2_AGE_VERIFICATION_INIT_MEMBER),timeout:5e3});return n})),postVerifyAge:(t,o=!1)=>n((async()=>{const{data:n}=await e.post({url:r(o?a.POST_V2_AGE_VERIFICATION_VERIFY_GUEST:a.POST_V2_AGE_VERIFICATION_VERIFY_MEMBER),data:{state:t},timeout:5e3});return n})),postManualVerifyAge:(t,o=!1)=>n((async()=>{const{data:n}=await e.post({url:r(o?a.POST_V2_AGE_VERIFICATION_VERIFY_MANUAL_GUEST:a.POST_V2_AGE_VERIFICATION_VERIFY_MANUAL_MEMBER),data:{code:t},timeout:5e3});return n})),postTrackAgeVerification:(t,o,i=0)=>n((async()=>{await e.post({url:r(o?a.POST_V2_AGE_VERIFICATION_TRACK_MEMBER:a.POST_V2_AGE_VERIFICATION_TRACK_GUEST),data:{verificationPublicId:t},timeout:5e3})}),i)}}},9392:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});const a=()=>{var e;return new URLSearchParams((null===(e=window)||void 0===e||null===(e=e.location)||void 0===e?void 0:e.search)||"")}},7834:(e,t,r)=>{var a={"./de.json":[1453,453],"./en.json":[731,731],"./es.json":[2435,435],"./fr.json":[6040,40],"./he.json":[25,25],"./it.json":[8641,875],"./nl.json":[7943,943],"./no.json":[2053,53],"./pt.json":[3671,671],"./sv.json":[2367,367]};function n(e){if(!r.o(a,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],n=t[0];return r.e(t[1]).then((()=>r.t(n,19)))}n.keys=()=>Object.keys(a),n.id=7834,e.exports=n}}]); //# sourceMappingURL=https://sourcemaps.icfsys.com/userverification.client/735.2c13261c010f7ca42267090d02d526e9.js.map