1export const __webpack_id__=3477;export const __webpack_ids__=[3477];export const __webpack_modules__={78634:(t,o,e)=>{e.r(o),e.d(o,{LottoApp:()=>y,LottoAppBare:()=>b,default:()=>O});var n=e(63412),r=e.n(n),i=e(74848),a=e(96540),s=e(66229),l=e(9982),c=e(30514),d=e(71077),p=e(37489),m=e(14268),u=e(84974),f=e(45932),v=e.n(f),w=e(82874),g=e(56347),x=e(92481);const _="lotto",L="lotto-overlays";var h=e(19268);var A=e(85902),j=e(27411);const E=()=>{const t=(0,j.a)(),o=(0,l.GV)(v()("lottoRootURL")),e=(0,l.f6)(v()("isAppInitialized")),[n,r]=(0,a.useState)(null),{relativeCanonical:s,description:c,keywords:d,title:p,robots:m,meta:u}=n||{};return(0,a.useEffect)((()=>{var o;if(e)try{null===(o=window.Lotto)||void 0===o||o.setListener("PAGE_METATAGS_UPDATED",(o=>{t()&&r(o)}))}catch(t){(0,w.Rm)("log","[LOTTO | Portal] Meta Tags Subscription error",t)}}),[e,t]),n&&(0,i.jsxs)(A.mg,{children:[p&&(0,i.jsx)("title",{children:p}),!u&&c&&(0,i.jsx)("meta",{name:"description",content:c}),!u&&d&&(0,i.jsx)("meta",{name:"keywords",content:d}),!u&&m&&(0,i.jsx)("meta",{name:"robots",content:m}),null==u?void 0:u.map(((t,o)=>(0,i.jsx)("meta",Object.assign({},t),o))),s&&(0,i.jsx)("link",{rel:"canonical",href:`${location.origin}${o}${s}`})]})},R="LottoApp__modals--16Y",T="LottoApp__loadingContainer--gAU",b=()=>{const t=(0,s.wA)(),o=(0,u.NR)(),{showComponentError:e}=(0,u.zi)(),{isAppInitError:n,isIntegrationScriptError:p}=(0,l.f6)(r()(["isAppInitError","isIntegrationScriptError"])),f=p||n,{maintenanceWebContent:A}=(0,u.TP)();return(0,a.useEffect)((()=>{f&&!A&&e(o("error.unavailable"))}),[f,A,e,o]),(0,a.useEffect)((()=>{t((0,m.f8)())}),[t]),(()=>{const t=(0,s.wA)(),o=(0,l.GV)(v()("lottoRootURL")),e=(0,l.f6)(v()("isAppInitialized")),{pathLang:n}=(0,g.g)();(0,a.useEffect)((()=>{var r;if(e){try{null===(r=window.Lotto)||void 0===r||r.mountSportsbook(_,{showHomePageOnForeignUrl:!0,routingPrefix:n?`/${n}${o}`:o,overlayContainerId:L}),x.M.isEnabled&&x.M.sendMessage("lottoReady")}catch(t){(0,w.Rm)("log","[LOTTO | Portal] Mount lotto app error",t)}t((0,m.TJ)())}}),[t,e,n,o])})(),(()=>{const t=(0,l.f6)(v()("isAppInitialized"));(0,a.useEffect)((()=>()=>{var o,e;try{t&&(null===(o=window.Lotto)||void 0===o?void 0:o.isMounted)&&(null===(e=window.Lotto)||void 0===e||e.unmountSportsbook())}catch(t){(0,w.Rm)("log","[LOTTO | Portal] Unmount Lotto app error",t)}}),[t])})(),(()=>{const t=(0,g.zy)(),o=(0,a.useRef)(!0),e=(0,l.GV)(v()("lottoRootURL")),n=(0,l.f6)(v()("isAppInitialized")),r=new RegExp(`(^${e}$)|(^${e}/)`).test((0,h.r4)(t.pathname));(0,a.useEffect)((()=>{var i;if(n&&r){const n=(0,h.r4)(o?window.location.pathname:t.pathname).replace(e||"","").replace("//","/")||"/";try{if(o.current&&"/"===n)return void(o.current=!1);null===(i=window.Lotto)||void 0===i||i.navigate(n),o.current=!1}catch(t){(0,w.Rm)("log","[LOTTO | Portal] Lotto navigate error",t)}}}),[n,r,e,t])})(),f&&A?(0,i.jsx)(d.a,{id:A}):(0,i.jsxs)("div",{className:"cms-lotto-app",children:[(0,i.jsx)(E,{}),(0,i.jsx)("div",{id:_,children:(0,i.jsx)("div",{className:T,children:(0,i.jsx)(c.a,{})})}),(0,i.jsx)("div",{id:"lotto-modals",className:R,children:(0,i.jsx)("div",{id:L})})]})},y=(0,p.m)({tkPrefix:"playtech.mobile.system.lotto."})(b),O=y}}; 2//# sourceMappingURL=lotto-app.3b136d948be387f049bf.chunk.js.map
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.