1!function(){try{var n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};n.SENTRY_RELEASE={id:"4f78c1beb7e07e716a48c5025d3edf6985aed0d7"};var e=(new n.Error).stack;e&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[e]="ce9b6ffe-9afd-4d5d-a877-5299f37c0f96",n._sentryDebugIdIdentifier="sentry-dbid-ce9b6ffe-9afd-4d5d-a877-5299f37c0f96")}catch(n){}}(),(self.webpackChunk=self.webpackChunk||[]).push([[68750],{58556:function(n,e,o){o.r(e),o.d(e,{PwaInstall:function(){return _},default:function(){return h}});var t=o(34196),i=o(94983),a=o(67346),s=o(75578),l=o(4091),c=o(1584),r=o(93919),d=function(n,e){return n?e?"pwa_mobile_ok":"pwa_mobile_cancel":e?"pwa_desktop_install":"pwa_desktop_cancel"},f={chromeAddToHomeScreen:function(n){return function(){n((0,s.yX)())}},togglePwaModal:function(n){return function(e){n((0,s.CY)(e))}},pwaCommonEvent:function(n){return function(e,o){n((0,c.QZ)({event:e?r.K7:r._A,data:{eventCategory:"install_pwa",eventAction:d(e,o)}}))}},pwaNativeEvent:function(n){return function(){n((0,c.QZ)({event:r.rc,data:{eventCategory:"install_pwa",eventAction:"pwa_android_install"}}))}},onCloseNavigate:function(n){return function(e){var o=Object.fromEntries(Object.entries(e).filter((function(n){return"install"!==(0,a.A)(n,1)[0]})));n(l.Ay.updateQuery(o))}}},u=o(90670),p=o(59458),m=o(91497),b=(o(52906),o(45680)),w=o(62273),v=o(62540),C=function(n){var e=n.isVisible,o=void 0!==e&&e,t=n.onClick,i=n.onClose,a=n.isMobile,s=void 0!==a&&a,l=(0,b.useTranslationsFromHost)(["common-notifications"]).t;return(0,v.jsxs)(w.Alert,{open:o,title:l("Add {{brand_name}} to Homescreen",{ns:"common-notifications"}),content:l("To make it easier and faster for you to play",{ns:"common-notifications"}),children:[(0,v.jsx)(w.Button,{variant:"secondary",label:l("Cancel"),onClick:i,"data-id":s?"pwa-mobile-cancel":"pwa-desktop-cancel"}),(0,v.jsx)(w.Button,{variant:"primary",label:l("Install"),onClick:t,"data-id":s?"pwa-mobile-ok":"pwa-desktop-install"})]})},k="IwYL9FnCDWv6yspbS+t9tg==",y=function(n){var e=n.isVisible,o=void 0!==e&&e,t=n.onClose,i=n.onOk,a=n.isMobile,s=void 0!==a&&a,l=(0,b.useTranslationsFromHost)(["common-notifications"]).t;return(0,v.jsxs)(w.Alert,{open:o,title:l("Install this webapp on your iPhone",{ns:"common-notifications"}),content:(0,v.jsxs)(v.Fragment,{children:[l("Tap on",{ns:"common-notifications"}),(0,v.jsx)("span",{children:(0,v.jsx)(w.Icon,{className:k,fill:"icon-main",name:"share_ios_outlined",size:20})}),l("and then add to homescreen",{ns:"common-notifications"})]}),children:[(0,v.jsx)(w.Button,{variant:"secondary",label:l("Cancel"),onClick:t,"data-id":s?"pwa-mobile-cancel":"pwa-desktop-cancel"}),(0,v.jsx)(w.Button,{variant:"primary",label:l("Install"),onClick:i,"data-id":s?"pwa-mobile-ok":"pwa-desktop-install"})]})},_=function(){var n=(0,t.d4)(p.l),e=n.pwa,o=n.viewMode,a=n.currentQueries,s=(0,i.A)(f),l=s.chromeAddToHomeScreen,c=s.togglePwaModal,r=s.pwaCommonEvent,d=s.pwaNativeEvent,b=s.onCloseNavigate,w=e.isIos,k=e.deferredPrompt,_=o===m.p.SIMPLE,h=function(){b(a),u.Ay.setCancelClick(),c(!1),r(_,!1)};return w?(0,v.jsx)(y,{isVisible:!0,onClose:h,onOk:function(){b(a),u.Ay.setInstallClick(),c(!1),r(_,!0)},isMobile:_}):(0,v.jsx)(C,{isVisible:!0,onClick:function(){b(a),u.Ay.setInstallClick(),k.prompt(),k.userChoice.then((function(n){"accepted"===n.outcome&&d()})),l(),r(_,!0)},onClose:h,isMobile:_})},h=_}}]); 2//# sourceMappingURL=PwaInstall.9666ccd7ad5a35bb9cab.bundle.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.