Onionr/static-data/www/shared/node_modules/pnotify/dist/iife/PNotifyDesktop.js.map

1 line
8.2 KiB
Plaintext

{"version":3,"sources":["PNotifyDesktop.js"],"names":["_typeof","Symbol","iterator","obj","constructor","prototype","_extends","Object","assign","target","i","arguments","length","source","key","hasOwnProperty","call","PNotifyDesktop","PNotify","__esModule","permission","Notification","window","_notify","title","options","onclick","onclose","notice","addEventListener","navigator","mozNotification","createNotification","body","icon","show","webkitNotifications","Component","methods","initModule","_this","this","set","_notice","get","_oldAnimation","animation","on","_ref","changed","current","previous","undefined","_animatingClass","fallback","desktop","modules","Desktop","checkPermission","addModuleClass","genNotice","autoDisplay","update","removeModuleClass","beforeOpen","_desktop","_moduleIsNoticeOpen","beforeClose","close","_get5","type","_icon","tag","_tag","Math","round","random","text","hide","requireInteraction","apply","fire","cancel","add_css","style","name","document","createElement","id","textContent","node","appendChild","append","head","component","_handlers","blankObject","_slots","_bind","_staged","root","store","_beforecreate","_oncreate","_aftercreate","init","_state","_options","defaults","data","_intro","getElementById","_fragment","c","noop","m","p","d","_mount","anchor","tar","src","k","create","callAll","fns","shift","destroy","detach","eventName","handlers","slice","handler","__calling","push","index","indexOf","splice","newState","_set","_lock","flush","oldState","dirty","_differs","_recompute","_stage","a","b","requestPermission"],"mappings":"AAAA,IAAIA,QAA4B,mBAAXC,QAAoD,iBAApBA,OAAOC,SAAwB,SAAUC,GAAO,cAAcA,GAAS,SAAUA,GAAO,OAAOA,GAAyB,mBAAXF,QAAyBE,EAAIC,cAAgBH,QAAUE,IAAQF,OAAOI,UAAY,gBAAkBF,GAElQG,SAAWC,OAAOC,QAAU,SAAUC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAASF,UAAUD,GAAI,IAAK,IAAII,KAAOD,EAAcN,OAAOF,UAAUU,eAAeC,KAAKH,EAAQC,KAAQL,EAAOK,GAAOD,EAAOC,IAAY,OAAOL,GAGnPQ,eAAiB,SAAUC,GA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