1"use strict";(self.webpackChunkgazzanet_symfony=self.webpackChunkgazzanet_symfony||[]).push([[7093],{37093:function(e,t,s){var d=s(52891);class i extends d.xI{constructor(){super(...arguments),this.deferredPrompt=null}connect(){if(window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone)return void this.element.classList.add("hidden");this.element.classList.remove("hidden");const e=window.navigator.userAgent.toLowerCase(),t=/iphone|ipad|ipod/.test(e),s=/android/.test(e);t?this.iosTarget.classList.remove("hidden"):s?(this.androidTarget.classList.remove("hidden"),window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),this.deferredPrompt=e})):this.element.classList.add("hidden")}async install(e){if(e.preventDefault(),this.element.dispatchEvent(new CustomEvent("pwa:install:click",{bubbles:!0})),this.deferredPrompt){this.deferredPrompt.prompt();const{outcome:e}=await this.deferredPrompt.userChoice;"accepted"===e&&this.element.classList.add("hidden"),this.deferredPrompt=null}}}i.targets=["android","ios"],t.default=i}}]); 2//# sourceMappingURL=7093.965cfcca.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.