1import{_ as a}from"./index-Dutum67h.js";import"./vendor-BPWfBN2A.js";async function u(){return null}async function _(n="ru"){return"not_configured"}async function f(n){const e=await u();if(!e)return()=>{};try{const{onMessage:s}=await a(async()=>{const{onMessage:t}=await import("./index.esm-ClvHqimL.js");return{onMessage:t}},[]);return s(e,t=>{var o,r,i;n({title:((o=t.notification)==null?void 0:o.title)||"Remont AI",body:((r=t.notification)==null?void 0:r.body)||"",url:((i=t.data)==null?void 0:i.url)||"/"})})}catch{return()=>{}}}function l(){return Notification.permission==="granted"&&!!localStorage.getItem("remy_push_token")}export{l as isPushEnabled,f as onForegroundMessage,_ as requestPushPermission};
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.