pages/advent/assets/index.68878b75.js

16 lines
108 KiB
JavaScript
Raw Normal View History

/* empty css */import"./vue.92681fcb.js";import{Z as P,u as jt,q as dt,C as r,b1 as be,aa as A,aE as g,a0 as k,a1 as d,aK as ke,G as X,t as E,aC as bn,w as Le,b2 as tt,a8 as h,O as Y,ao as Zn,I as Q,ay as Gt,ar as xe,aG as yt,A as ae,_ as q,b6 as O,b8 as Wt,bs as Jn,aq as ot,bu as lt,bb as Mt,T as Xn,a7 as C,j as Qn,l as J,bv as ln,z as Se,J as L,aN as te,$ as T,aH as Me,aF as $e,al as un,aL as He,bn as es,br as ts,aJ as ns,be as ss}from"./@vue.4ce677c2.js";import{i as is}from"./is-plain-object.906d88e8.js";import{c as Nn}from"./nanoevents.1080beb7.js";import{L as Ve}from"./lz-string.731cedc5.js";import{Y as rs}from"./vue-next-select.a2bfab1d.js";import{D as as}from"./vuedraggable.7949458c.js";import{p as os}from"./vue-textarea-autosize.35804eaf.js";import{s as ls,u as us}from"./vue-toastification.6f567382.js";import{v as cs,n as ds}from"./workbox-window.8d14e8b7.js";import"./sortablejs.29100d8a.js";const fs=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const a of i)if(a.type==="childList")for(const l of a.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const a={};return i.integrity&&(a.integrity=i.integrity),i.referrerpolicy&&(a.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?a.credentials="include":i.crossorigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(i){if(i.ep)return;i.ep=!0;const a=n(i);fetch(i.href,a)}};fs();const ms="modulepreload",cn={},hs="./",bt=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${hs}${s}`,s in cn)return;cn[s]=!0;const i=s.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":ms,i||(l.as="script",l.crossOrigin=""),l.href=s,document.head.appendChild(l),i)return new Promise((o,u)=>{l.addEventListener("load",o),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())},ps="./projInfo-schema.json",gs="Advent Incremental",ys="An incremental game you play a day at a time, leading up to Christmas!",vs="advent-incremental",_s="thepaperpilot",bs="",Ns="",ws="0.1",ks="Initial Commit",Ss=!0,Ms=!1,$s=2,Cs=!0,Ps=null,Ts="",Is=["main"],Fs=3600,Os=1,Ds=!0,Es="base64";var R={$schema:ps,title:gs,description:ys,id:vs,author:_s,discordName:bs,discordLink:Ns,versionNumber:ws,versionTitle:ks,allowGoBack:Ss,defaultShowSmall:Ms,defaultDecimalsShown:$s,useHeader:Cs,banner:Ps,logo:Ts,initialTabs:Is,maxTickLength:Fs,offlineLimit:Os,enablePausing:Ds,exportEncoding:Es};const Vt=17,Vs=9e15,xs=Math.log10(9e15),Ls=1/9e15,qs=308,As=-324,dn=5,Bs=function(){const e=[];for(let n=As+1;n<=qs;n++)e.push(Number("1e"+n));const t=323;return function(n){return e[n+t]}}(),Ae=[2,Math.E,3,4,5,6,7,8,9,10],Rs=[[1,1.0891168053867777,1.1789745164521264,1.2701428397304229,1.3632066654400328,1.4587804913784246,1.557523817412741,1.660158301473385,1.767487542936873,1.8804205225512542,2],[1,1.1121114330934,1.23103892493161,1.35838369631113,1.49605193039935,1.64635423375119,1.81213853570186,1.99697132461829,2.20538955455724,2.44325744833852,Math.E],[1,1.1187738849693603,1.2464963939368214,1.38527004705667,1.5376664685821402,1.7068895236551784,1.897001227148399,2.1132403089001035,2.362480153784171,2.6539010333870774,3],[1,1.1367350847096405,1.2889510672956703,1.4606478703324786,1.6570295196661111,1.8850062585672889,2.1539465047453485,2.476829779693097,2.872061932789197,3.3664204535587183,4],[1,1.1494592900767588,1.319708228183931,1.5166291280087583,1.748171114438024,2.0253263297298045,2.3636668498288547,2.7858359149579424,3.3257226212448145,4.035730287722532,5],[1,1.159225940787673,1.343712473580932,1.5611293155111927,1.8221199554561318,2.14183924486326,2.542468319282638,3.0574682501653316,3.7390572020926873,4.6719550537360774,6],[1,1.1670905356972596,1.3632807444991446,1
`,e),await je(Je())}}function Je(){const e=_t(),t=Fn({id:e});return fe(t),Z.saves.push(e),t}function _t(){let e,t=0;do e=`${R.id}-${t++}`;while(localStorage.getItem(e));return e}async function je(e){console.info("Loading save",e);const{layers:t,removeLayer:n,addLayer:s}=await bt(()=>Promise.resolve().then(function(){return Vi}),void 0),{fixOldSave:i,getInitialLayers:a}=await bt(()=>Promise.resolve().then(function(){return Rn}),void 0);for(const l in t){const o=t[l];o&&n(o)}a(e).forEach(l=>s(l,e)),e=Fn(e),e.offlineProd&&e.time&&(e.offlineTime==null&&(e.offlineTime=0),e.offlineTime+=(Date.now()-e.time)/1e3),e.time=Date.now(),e.modVersion!==R.versionNumber&&i(e.modVersion,e),Object.assign(M,e),Z.active=M.id,ie.emit("onLoad")}setInterval(()=>{M.autosave&&fe()},1e3);window.onbeforeunload=()=>{M.autosave&&fe()};window.save=fe;const di=window.hardReset=async()=>{await je(Je())},ct=dt({active:"",saves:[],showTPS:!0,theme:Ht.Nordic,unthrottled:!1});be(ct,e=>{const t=Ve.compressToUTF16(JSON.stringify(e));localStorage.setItem(R.id,t)},{deep:!0});var Z=window.settings=ct;window.hardResetSettings=()=>{const e={active:"",saves:[],showTPS:!0,theme:Ht.Nordic};ie.emit("loadSettings",e),Object.assign(ct,e),di()};function fi(){try{let e=localStorage.getItem(R.id);if(e!=null&&e!==""){if(e[0]!=="{")if(e[0]==="e")e=decodeURIComponent(escape(atob(e)));else if(e[0]==="\u1BE1")e=Ve.decompressFromUTF16(e);else{console.warn("Unable to determine settings encoding",e);return}const t=JSON.parse(e);typeof t=="object"&&Object.assign(ct,t)}ie.emit("loadSettings",ct)}catch{}}const mi=dt([]),hi=dt([]),pi=dt([]),gi={class:"table"},yi=A({__name:"Row",setup(e){const t=P(()=>Pt[Z.theme].mergeAdjacent);return(n,s)=>(g(),k("div",gi,[d("div",{class:X(["row",{mergeAdjacent:r(t)}])},[ke(n.$slots,"default")],2)]))}});function vi(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Zn(e)}function z(e,t="span"){return typeof e=="function"?A({render:e}):typeof e=="string"?e.length>0?(e=e.trim(),e.charAt(0)!=="<"&&(e=`<${t}>${e}</${t}>`),A({template:e})):A({render:()=>({})}):e}function Qe(e){if(ft(e))return typeof e=="function"?e():z(e);const t=e[ve];return h(t,e[_e](),null)}function rt(...e){let t;return h(yi,null,vi(t=e.map(Qe))?t:{default:()=>[t]})}function et(e){if(ft(e))return typeof e=="function"?e():typeof e=="string"?h(Y,null,[e]):h(e,null,null);const t=e[ve];return h(t,e[_e](),null)}function pn(e,t){return e.reduce((n,s)=>h(Y,null,[n,t,s]))}function ft(e){return typeof e=="string"?!0:typeof e=="object"?e==null?!1:"render"in e||"component"in e:typeof e=="function"&&e[ut]===!0}function _i(e,t,n){const s=E(null),i=E(void 0);function a(u){s.value||(s.value=setInterval(o,250)),i.value=u,n&&(n.value=!0)}function l(){s.value&&(clearInterval(s.value),s.value=null),console.log(n),n&&(n.value=!1)}function o(){t&&t.value?t.value():e&&e.value&&e.value(i.value)}return bn(l),{start:a,stop:l,handleHolding:o}}function zt(e,t="div"){const n=Le();return tt(()=>{n.value=z(se(e),t)}),n}function mt(e,t="div"){const n=Le(null);return tt(()=>{const s=se(e);n.value=s==null?null:z(s,t)}),n}function bi(e){return P(()=>se(e))}function se(e){return r(r(e))}function V(...e){return e.includes(Object)||e.push(Object),e}const Rt=A({__name:"Spacer",props:{width:{default:"8px"},height:{default:"17px"}},setup(e){return(t,n)=>(g(),k("div",{style:Q({width:e.width,height:e.height})},null,4))}});var G=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n};const Ni=A({__name:"Context",emits:["updateNodes"],setup(e,{emit:t}){var p;const n=E({}),s=new ResizeObserver(o),i=E(null);Gt(()=>{const b=i.value;b!=null&&s.observe(b)});let a=!0,l=E((p=i.value)==null?void 0:p.getBoundingClientRect());function o(){a&&(a=!1,xe(()=>{var b;l.value=(b=i.value)==null?void 0:b.getBoundingClientRect(),Object.values(n.value).filter(v=>v).forEach(v=>v.rect=v.element.getBoundingClientRect()),t("updateNodes",n.value),a=!0}))}ie.on("fontsLoaded",o);const u={attributes:!1,childList:!0,subtree:!1};yt(Kt,(b,v)=>{const _=new MutationObserver(()=>c(b));_.observe(v,u),n.value[b]={ele
`).slice(3,5).map(t=>t.trim()).join(`
`))||""}function we(e){const t=J(e)?e:E(e);return t[Ut]=t,t[kt]=J(e)?e.value:e,t[St]=Fi(),t[Dn]=!1,me.length===0?console.warn("Creating a persistent ref outside of a layer. This is not officially supported",t,`
Created at:
`+t[St]):Xe[me[me.length-1]].add(t),t}ie.on("addLayer",(e,t)=>{const n=[],s=(i,a=[])=>{let l=!1;return Object.keys(i).forEach(o=>{const u=i[o];if(u&&typeof u=="object")if(Ut in u){if(l=!0,u[Dn]){console.warn("Deleted persistent ref present in returned object. Ignoring...",u,`
Created at:
`+u[St]);return}Xe[e.id].delete(K in u?u[K]:u);const c=a.reduce((b,v)=>(v in b||(b[v]={}),b[v]),t),p=c[o];c[o]=u[Ut],Qn(c)?p!=null?c[o]=p:c[o]=u[kt]:p!=null?c[o].value=p:c[o].value=u[kt]}else!(u instanceof m)&&!J(u)&&!n.includes(u)&&(typeof u.type=="symbol"&&n.push(u),s(u,[...a,o])&&(ln(u)&&!ln(i)?console.warn("Found array that contains persistent values when adding layer. Keep in mind changing the order of elements in the array will mess with existing player saves.",K in i?i[K]:i,o):l=!0))}),l};s(e),Xe[e.id].forEach(i=>{console.error(`Created persistent ref in ${e.id} without registering it to the layer! Make sure to include everything persistent in the returned object`,i,`
Created at:
`+i[St])}),Xe[e.id].clear()});const Kt=Symbol("RegisterNode"),Yt=Symbol("UnregisterNode"),En=Symbol("Nodes"),Vn=Symbol("Bounds"),ee=jt({});window.layers=ee;const Xe={},me=[];function Zt(e,t){return Ce(()=>{const n={},s=n.emitter=Nn();if(n.on=s.on.bind(s),n.emit=s.emit.bind(s),n.nodes=E({}),n.id=e,me.push(e),Xe[e]=new Set,n.minimized=we(!1),Object.assign(n,t.call(n)),me[me.length-1]==null||me[me.length-1]!==e)throw`Adding layers stack in invalid state. This should not happen
Stack: ${me}
Trying to pop ${n.id}`;return me.pop(),I(n,"color"),I(n,"display"),I(n,"name"),he(n,"name",n.id),I(n,"minWidth"),he(n,"minWidth",600),I(n,"minimizable"),he(n,"minimizable",!0),n})}function xn(e,t){if(console.info("Adding layer",e.id),ee[e.id]){console.error("Attempted to add layer with same ID as existing layer",e.id,ee[e.id]);return}he(t,"layers",{}),t.layers[e.id]==null&&(t.layers[e.id]={}),ee[e.id]=e,ie.emit("addLayer",e,t.layers[e.id])}function Oi(e){return ee[e]}function Ln(e){console.info("Removing layer",e.id),ie.emit("removeLayer",e),ee[e.id]=void 0}function Di(e){Ln(e),xn(e,M)}function Ei(e){const t=E(!1);return{openModal:()=>t.value=!0,modal:H(()=>h(qe,{modelValue:t.value,"onUpdate:modelValue":n=>t.value=n},{header:()=>h("h2",null,[r(e.name)]),body:r(e.display)}))}}ie.on("update",function(t){Object.values(ee).forEach(n=>{n==null||n.emit("preUpdate",t)}),Object.values(ee).forEach(n=>{n==null||n.emit("update",t)}),Object.values(ee).forEach(n=>{n==null||n.emit("postUpdate",t)})});var Vi=Object.freeze(Object.defineProperty({__proto__:null,RegisterNodeInjectionKey:Kt,UnregisterNodeInjectionKey:Yt,NodesInjectionKey:En,BoundsInjectionKey:Vn,layers:ee,persistentRefs:Xe,addingLayers:me,createLayer:Zt,addLayer:xn,getLayer:Oi,removeLayer:Ln,reloadLayer:Di,setupLayerModal:Ei},Symbol.toStringTag,{value:"Module"}));const xi={},Li={class:"notif"};function qi(e,t){return g(),k("div",Li,"!")}var gn=G(xi,[["render",qi],["__scopeId","data-v-66323fd4"]]);const Tt=e=>(Me("data-v-0aae340d"),e=e(),$e(),e),Ai={key:0,class:"day feature dontMerge opened"},Bi={class:"date"},Ri=C("Dec"),Ui=Tt(()=>d("br",null,null,-1)),ji={class:"date"},Gi=C("Dec"),Wi=Tt(()=>d("br",null,null,-1)),Hi={key:0,class:"icon"},zi=Tt(()=>d("div",{class:"doors"},null,-1)),Ki={class:"date"},Yi=C("Dec"),Zi=Tt(()=>d("br",null,null,-1)),Ji={key:0,class:"material-icons lock"},Xi=A({__name:"Day",props:{day:null,symbol:null,opened:null,shouldNotify:null},emits:["openLore","openLayer","unlockLayer"],setup(e,{emit:t}){const n=e,s=zt(Se(n,"symbol")),i=P(()=>m.gte(ne.day.value,n.day)&&new Date().getMonth()===11&&new Date().getDate()>=n.day);function a(){i.value&&t("unlockLayer")}return(l,o)=>e.opened.value?(g(),k("div",Ai,[h(Mt,{appear:"",name:"door"},{default:O(()=>[d("div",{class:"doors",onClick:o[0]||(o[0]=u=>t("openLayer"))},[d("div",Bi,[Ri,Ui,C(L(e.day),1)]),d("div",ji,[Gi,Wi,C(L(e.day),1)])])]),_:1}),r(s)?(g(),k("div",Hi,[(g(),q(te(r(s))))])):T("",!0),d("div",{class:"lore",onClick:o[1]||(o[1]=u=>t("openLore"))},"?"),r(e.shouldNotify)?(g(),q(gn,{key:1})):T("",!0)])):(g(),k("div",{key:1,class:X(["day feature dontMerge",{can:r(i),locked:!r(i),canOpen:r(i)}]),onClick:a},[zi,d("div",Ki,[Yi,Zi,C(L(e.day),1)]),r(i)?T("",!0):(g(),k("div",Ji,"lock")),r(i)?(g(),q(gn,{key:1})):T("",!0)],2))}});var Qi=G(Xi,[["__scopeId","data-v-0aae340d"]]);const er={key:0},tr={key:0,class:"mark star"},nr=["src"],sr=A({__name:"MarkNode",props:{mark:{type:[Boolean,String]}},setup(e){return(t,n)=>e.mark?(g(),k("div",er,[e.mark===!0?(g(),k("div",tr)):(g(),k("img",{key:1,class:"mark",src:e.mark},null,8,nr))])):T("",!0)}});var Jt=G(sr,[["__scopeId","data-v-2207999f"]]);const ir=A({__name:"Node",props:{id:null},setup(e){const n=ae(e),s=un(Kt,()=>{}),i=un(Yt,()=>{}),a=Le(null),l=P(()=>a.value&&a.value.parentElement);return be([l,n.id],([o,u],[c,p])=>{c&&i(r(p)),o&&s(u,o)}),bn(()=>i(r(n.id))),(o,u)=>(g(),k("div",{class:"node",ref_key:"node",ref:a},null,512))}});var Xt=G(ir,[["__scopeId","data-v-a48cb382"]]);const rr=A({props:{progress:{type:V(String,Object,Number),required:!0},width:{type:V(Number),required:!0},height:{type:V(Number),required:!0},direction:{type:V(String),required:!0},display:V(Object,String,Function),visibility:{type:V(Number),required:!0},style:V(Object,String,Array),classes:V(Object),borderStyle:V(Object,String,Array),textStyle:V(Object,String,Array),baseStyle:V(Object,String,Array),fillStyle:V(Object,String,Array),mark:V(Boolean,String),id:{type:String,required:!0}},components:{MarkNode:Jt,Node:Xt},setup(e){const{progress:t,width:n,height:s,direction:i,display:a}=ae(e),l=P(()=>{let c=
${U}
${$}`)}}return c[S]}be(n,S=>{S&&Object.keys(c).forEach($=>delete c[$])});const b=P(()=>Z.saves.reduce((S,$)=>(S[$]=p($),S),{}));function v(S){let $;switch(M.id===S?$=Tn(M[K]):$=JSON.stringify(b.value[S]),R.exportEncoding){default:console.warn(`Unknown save encoding: ${R.exportEncoding}. Defaulting to lz`);case"lz":$=Ve.compressToUTF16($);break;case"base64":$=btoa(unescape(encodeURIComponent($)));break;case"plain":break}const U=document.createElement("textarea");U.value=$,document.body.appendChild(U),U.select(),U.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(U)}function _(S){M.id===S&&fe();const $={...b.value[S],id:_t()};fe($),Z.saves.push($.id)}function N(S){Z.saves=Z.saves.filter($=>$!==S),localStorage.removeItem(S),c[S]=void 0}function w(S){b.value[M.id].time=M.time,fe(),c[M.id]=void 0,je(b.value[S]),c[S]=void 0}function F(S){if(l.value=S,xe(()=>{l.value=null}),S[0]!=="{")if(S[0]==="e")S=decodeURIComponent(escape(atob(S)));else if(S[0]==="\u1BE1")S=Ve.decompressFromUTF16(S);else{console.warn("Unable to determine preset encoding",S);return}const $=JSON.parse(S);$.id=_t(),fe($),Z.saves.push($.id),w($.id)}function Te(S,$){const U=b.value[S];U&&(U.name=$,M.id===S?(M.name=$,fe()):(fe(U),c[S]=void 0))}return(S,$)=>(g(),q(qe,{modelValue:n.value,"onUpdate:modelValue":$[4]||($[4]=U=>n.value=U),ref_key:"modal",ref:s},{header:O(()=>[Ua]),body:O(({shown:U})=>[U?(g(),q(r(as),{key:0,list:r(Z).saves,handle:".handle",itemKey:ce=>ce},{item:O(({element:ce})=>[h(Ra,{save:r(b)[ce],onOpen:Ie=>w(ce),onExport:Ie=>v(ce),onEditName:Ie=>Te(ce,Ie),onDuplicate:Ie=>_(ce),onDelete:Ie=>N(ce)},null,8,["save","onOpen","onExport","onEditName","onDuplicate","onDelete"])]),_:1},8,["list","itemKey"])):T("",!0)]),footer:O(()=>[d("div",ja,[h(Wn,{modelValue:a.value,"onUpdate:modelValue":$[0]||($[0]=U=>a.value=U),title:"Import Save",placeholder:"Paste your save here!",class:X({importingFailed:i.value})},null,8,["modelValue","class"]),d("div",Ga,[Wa,d("div",Ha,[d("button",{class:"button",onClick:$[1]||($[1]=U=>w(r(Je)().id))},"New Game"),Object.keys(r(u)).length>0?(g(),q(jn,{key:0,options:r(u),modelValue:l.value,"onUpdate:modelValue":$[2]||($[2]=U=>F(U)),closeOnSelect:"",placeholder:"Select preset",class:"presets"},null,8,["options","modelValue"])):T("",!0)])]),d("div",za,[Ka,d("button",{class:"button modal-default-button",onClick:$[3]||($[3]=U=>n.value=!1)}," Close ")])])]),_:1},8,["modelValue"]))}});var Hn=G(Ya,[["__scopeId","data-v-3b9991aa"]]);const oe=e=>(Me("data-v-4a3f8425"),e=e(),$e(),e),Za=["src","alt"],Ja={key:1,class:"title"},Xa=oe(()=>d("div",{style:{"flex-grow":"1",cursor:"unset"}},null,-1)),Qa={class:"discord"},eo={class:"discord-links"},to={key:0},no=["href"],so=oe(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),io=oe(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),ro={href:"https://forums.moddingtree.com/",target:"_blank"},ao=oe(()=>d("span",{class:"material-icons"},"forum",-1)),oo=oe(()=>d("span",{class:"material-icons"},"info",-1)),lo=oe(()=>d("span",{class:"material-icons"},"library_books",-1)),uo=oe(()=>d("span",{class:"material-icons"},"settings",-1)),co=oe(()=>d("span",{class:"material-icons"},"library_books",-1)),fo=oe(()=>d("span",{class:"material-icons"},"settings",-1)),mo=oe(()=>d("span",{class:"material-icons"},"info",-1)),ho={href:"https://forums.moddingtree.com/",target:"_blank"},po=oe(()=>d("span",{class:"material-icons"},"forum",-1)),go={class:"discord"},yo={class:"discord-links"},vo={key:0},_o=["href"],bo=oe(()=>d("li",null,[d("a",{href:"https://discord.gg/WzejVAx",target:"_blank"},"The Paper Pilot Community")],-1)),No=oe(()=>d("li",null,[d("a",{href:"https://discord.gg/F3xveHV",target:"_blank"},"The Modding Tree")],-1)),wo=A({__name:"Nav",setup(e){const t=E(null),n=E(null),s=E(null),i=E(null),{useHeader:a,banner:l,title:o,discordName:u,discordLink:c,versionNumber:p}=R;function b(){window.open(c,"mywindow")}return(v,_)=>(g(),k(Y,null,[r(a)?(g(),k("div",ot({key:0,class:"nav"},v.$a
Learn more at www.moddingtree.com`,"font-weight: bold; font-size: 24px; color: #A3BE8C; background: #2E3440; padding: 4px 8px; border-radius: 8px;","padding: 4px;"),await ci();const{globalBus:e,startGameLoop:t}=await bt(()=>Promise.resolve().then(function(){return ui}),void 0),n=window.vue=ss(rl);e.emit("setupVue",n),n.mount("#app"),xe(()=>{const s=us(),{updateServiceWorker:i}=ol({onNeedRefresh(){s.info("New content available, click or reload to update.",{timeout:!1,closeOnClick:!1,draggable:!1,icon:{iconClass:"material-icons",iconChildren:"refresh",iconTag:"i"},rtl:!1,onClick(){i()}})},onOfflineReady(){s.info("App ready to work offline")},onRegisterError:console.warn,onRegistered(a){a&&setInterval(a.update,60*60*1e3)}})}),t()});