Merge branch 'spc-fix-3' into 'develop'
[akkoma] / priv / static / sw.js
index 2549a1902f3c07ecb231938bb560e6e09f0be5fb..abfb38aaa6f65d299a3bfc4f34450304552efe24 100644 (file)
@@ -1,10 +1,3 @@
-var serviceWorkerOption = {"assets":["/static/img/nsfw.50fd83c.png","/static/js/manifest.f0b8300215e3fdbb725f.js","/static/js/vendor.b578d16088622c18d886.js","/static/js/app.0220742f52d6912415d5.js","/static/css/app.a37e07355ec1b0b45e84807615297c27.css"]};
-        
-        !function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){return u.default.getItem("vuex-lz").then(function(e){return e.config.webPushNotifications})}function i(){return clients.matchAll({includeUncontrolled:!0}).then(function(e){return e.filter(function(e){var t=e.type;return"window"===t})})}var a=n(1),u=r(a);self.addEventListener("push",function(e){e.data&&e.waitUntil(o().then(function(t){return t&&i().then(function(t){var n=e.data.json();if(0===t.length)return self.registration.showNotification(n.title,n)})}))}),self.addEventListener("notificationclick",function(e){e.notification.close(),e.waitUntil(i().then(function(e){for(var t=0;t<e.length;t++){var n=e[t];if("/"===n.url&&"focus"in n)return n.focus()}if(clients.openWindow)return clients.openWindow("/")}))})},function(e,t){/*!
-           localForage -- Offline Storage, Improved
-           Version 1.5.6
-           https://localforage.github.io/localForage
-           (c) 2013-2017 Mozilla, Apache License 2.0
-       */
-!function(n){if("object"==typeof t&&"undefined"!=typeof e)e.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var r;r="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,r.localforage=n()}}(function(){return function e(t,n,r){function o(a,u){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!u&&c)return c(a,!0);if(i)return i(a,!0);var f=new Error("Cannot find module '"+a+"'");throw f.code="MODULE_NOT_FOUND",f}var s=n[a]={exports:{}};t[a][0].call(s.exports,function(e){var n=t[a][1][e];return o(n?n:e)},s,s.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}({1:[function(e,t,n){(function(e){"use strict";function n(){s=!0;for(var e,t,n=l.length;n;){for(t=l,l=[],e=-1;++e<n;)t[e]();n=l.length}s=!1}function r(e){1!==l.push(e)||s||o()}var o,i=e.MutationObserver||e.WebKitMutationObserver;if(i){var a=0,u=new i(n),c=e.document.createTextNode("");u.observe(c,{characterData:!0}),o=function(){c.data=a=++a%2}}else if(e.setImmediate||"undefined"==typeof e.MessageChannel)o="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){n(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(n,0)};else{var f=new e.MessageChannel;f.port1.onmessage=n,o=function(){f.port2.postMessage(0)}}var s,l=[];t.exports=r}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],2:[function(e,t,n){"use strict";function r(){}function o(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,e!==r&&c(this,e)}function i(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function a(e,t,n){h(function(){var r;try{r=t(n)}catch(t){return y.reject(e,t)}r===e?y.reject(e,new TypeError("Cannot resolve promise with itself")):y.resolve(e,r)})}function u(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function c(e,t){function n(t){i||(i=!0,y.reject(e,t))}function r(t){i||(i=!0,y.resolve(e,t))}function o(){t(r,n)}var i=!1,a=f(o);"error"===a.status&&n(a.value)}function f(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}function s(e){return e instanceof this?e:y.resolve(new this(r),e)}function l(e){var t=new this(r);return y.reject(t,e)}function d(e){function t(e,t){function r(e){a[t]=e,++u!==o||i||(i=!0,y.resolve(f,a))}n.resolve(e).then(r,function(e){i||(i=!0,y.reject(f,e))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var o=e.length,i=!1;if(!o)return this.resolve([]);for(var a=new Array(o),u=0,c=-1,f=new this(r);++c<o;)t(e[c],c);return f}function v(e){function t(e){n.resolve(e).then(function(e){i||(i=!0,y.resolve(u,e))},function(e){i||(i=!0,y.reject(u,e))})}var n=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var o=e.length,i=!1;if(!o)return this.resolve([]);for(var a=-1,u=new this(r);++a<o;)t(e[a]);return u}var h=e(1),y={},p=["REJECTED"],b=["FULFILLED"],g=["PENDING"];t.exports=o,o.prototype.catch=function(e){return this.then(null,e)},o.prototype.then=function(e,t){if("function"!=typeof e&&this.state===b||"function"!=typeof t&&this.state===p)return this;var n=new this.constructor(r);if(this.state!==g){var o=this.state===b?e:t;a(n,o,this.outcome)}else this.queue.push(new i(n,e,t));return n},i.prototype.callFulfilled=function(e){y.resolve(this.promise,e)},i.prototype.otherCallFulfilled=function(e){a(this.promise,this.onFulfilled,e)},i.prototype.callRejected=function(e){y.reject(this.promise,e)},i.prototype.otherCallRejected=function(e){a(this.promise,this.onRejected,e)},y.resolve=function(e,t){var n=f(u,t);if("error"===n.status)return y.reject(e,n.value);var r=n.value;if(r)c(e,r);else{e.state=b,e.outcome=t;for(var o=-1,i=e.queue.length;++o<i;)e.queue[o].callFulfilled(t)}return e},y.reject=function(e,t){e.state=p,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},o.resolve=s,o.reject=l,o.all=d,o.race=v},{1:1}],3:[function(e,t,n){(function(t){"use strict";"function"!=typeof t.Promise&&(t.Promise=e(2))}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{2:2}],4:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(){try{if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof webkitIndexedDB)return webkitIndexedDB;if("undefined"!=typeof mozIndexedDB)return mozIndexedDB;if("undefined"!=typeof OIndexedDB)return OIndexedDB;if("undefined"!=typeof msIndexedDB)return msIndexedDB}catch(e){return}}function i(){try{if(!le)return!1;var e="undefined"!=typeof openDatabase&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),t="function"==typeof fetch&&fetch.toString().indexOf("[native code")!==-1;return(!e||t)&&"undefined"!=typeof indexedDB&&"undefined"!=typeof IDBKeyRange}catch(e){return!1}}function a(e,t){e=e||[],t=t||{};try{return new Blob(e,t)}catch(i){if("TypeError"!==i.name)throw i;for(var n="undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder,r=new n,o=0;o<e.length;o+=1)r.append(e[o]);return r.getBlob(t.type)}}function u(e,t){t&&e.then(function(e){t(null,e)},function(e){t(e)})}function c(e,t,n){"function"==typeof t&&e.then(t),"function"==typeof n&&e.catch(n)}function f(e){return"string"!=typeof e&&(console.warn(e+" used as a key, but it is not a string."),e=String(e)),e}function s(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=0;o<t;o++)r[o]=e.charCodeAt(o);return n}function l(e){return new he(function(t){var n=e.transaction(ye,ge),r=a([""]);n.objectStore(ye).put(r,"key"),n.onabort=function(e){e.preventDefault(),e.stopPropagation(),t(!1)},n.oncomplete=function(){var e=navigator.userAgent.match(/Chrome\/(\d+)/),n=navigator.userAgent.match(/Edge\//);t(n||!e||parseInt(e[1],10)>=43)}}).catch(function(){return!1})}function d(e){return"boolean"==typeof de?he.resolve(de):l(e).then(function(e){return de=e})}function v(e){var t=ve[e.name],n={};n.promise=new he(function(e){n.resolve=e}),t.deferredOperations.push(n),t.dbReady?t.dbReady=t.dbReady.then(function(){return n.promise}):t.dbReady=n.promise}function h(e){var t=ve[e.name],n=t.deferredOperations.pop();n&&n.resolve()}function y(e,t){var n=ve[e.name],r=n.deferredOperations.pop();r&&r.reject(t)}function p(e,t){return new he(function(n,r){if(e.db){if(!t)return n(e.db);v(e),e.db.close()}var o=[e.name];t&&o.push(e.version);var i=le.open.apply(le,o);t&&(i.onupgradeneeded=function(t){var n=i.result;try{n.createObjectStore(e.storeName),t.oldVersion<=1&&n.createObjectStore(ye)}catch(n){if("ConstraintError"!==n.name)throw n;console.warn('The database "'+e.name+'" has been upgraded from version '+t.oldVersion+" to version "+t.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){n(i.result),h(e)}})}function b(e){return p(e,!1)}function g(e){return p(e,!0)}function m(e,t){if(!e.db)return!0;var n=!e.db.objectStoreNames.contains(e.storeName),r=e.version<e.db.version,o=e.version>e.db.version;if(r&&(e.version!==t&&console.warn('The database "'+e.name+"\" can't be downgraded from version "+e.db.version+" to version "+e.version+"."),e.version=e.db.version),o||n){if(n){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function _(e){return new he(function(t,n){var r=new FileReader;r.onerror=n,r.onloadend=function(n){var r=btoa(n.target.result||"");t({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)})}function w(e){var t=s(atob(e.data));return a([t],{type:e.type})}function I(e){return e&&e.__local_forage_encoded_blob}function S(e){var t=this,n=t._initReady().then(function(){var e=ve[t._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return c(n,e,e),n}function E(e){v(e);for(var t=ve[e.name],n=t.forages,r=0;r<n.length;r++)n[r]._dbInfo.db&&(n[r]._dbInfo.db.close(),n[r]._dbInfo.db=null);return p(e,!1).then(function(e){for(var t=0;t<n.length;t++)n[t]._dbInfo.db=e}).catch(function(t){throw y(e,t),t})}function j(e,t,n){try{var r=e.db.transaction(e.storeName,t);n(null,r)}catch(r){if(!e.db||"InvalidStateError"===r.name)return E(e).then(function(){var r=e.db.transaction(e.storeName,t);n(null,r)});n(r)}}function x(e){function t(){return he.resolve()}var n=this,r={db:null};if(e)for(var o in e)r[o]=e[o];ve||(ve={});var i=ve[r.name];i||(i={forages:[],db:null,dbReady:null,deferredOperations:[]},ve[r.name]=i),i.forages.push(n),n._initReady||(n._initReady=n.ready,n.ready=S);for(var a=[],u=0;u<i.forages.length;u++){var c=i.forages[u];c!==n&&a.push(c._initReady().catch(t))}var f=i.forages.slice(0);return he.all(a).then(function(){return r.db=i.db,b(r)}).then(function(e){return r.db=e,m(r,n._defaultConfig.version)?g(r):e}).then(function(e){r.db=i.db=e,n._dbInfo=r;for(var t=0;t<f.length;t++){var o=f[t];o!==n&&(o._dbInfo.db=r.db,o._dbInfo.version=r.version)}})}function A(e,t){var n=this;e=f(e);var r=new he(function(t,r){n.ready().then(function(){j(n._dbInfo,be,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a.get(e);u.onsuccess=function(){var e=u.result;void 0===e&&(e=null),I(e)&&(e=w(e)),t(e)},u.onerror=function(){r(u.error)}}catch(e){r(e)}})}).catch(r)});return u(r,t),r}function R(e,t){var n=this,r=new he(function(t,r){n.ready().then(function(){j(n._dbInfo,be,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a.openCursor(),c=1;u.onsuccess=function(){var n=u.result;if(n){var r=n.value;I(r)&&(r=w(r));var o=e(r,n.key,c++);void 0!==o?t(o):n.continue()}else t()},u.onerror=function(){r(u.error)}}catch(e){r(e)}})}).catch(r)});return u(r,t),r}function O(e,t,n){var r=this;e=f(e);var o=new he(function(n,o){var i;r.ready().then(function(){return i=r._dbInfo,"[object Blob]"===pe.call(t)?d(i.db).then(function(e){return e?t:_(t)}):t}).then(function(t){j(r._dbInfo,ge,function(i,a){if(i)return o(i);try{var u=a.objectStore(r._dbInfo.storeName);null===t&&(t=void 0);var c=u.put(t,e);a.oncomplete=function(){void 0===t&&(t=null),n(t)},a.onabort=a.onerror=function(){var e=c.error?c.error:c.transaction.error;o(e)}}catch(e){o(e)}})}).catch(o)});return u(o,n),o}function N(e,t){var n=this;e=f(e);var r=new he(function(t,r){n.ready().then(function(){j(n._dbInfo,ge,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=a.delete(e);i.oncomplete=function(){t()},i.onerror=function(){r(u.error)},i.onabort=function(){var e=u.error?u.error:u.transaction.error;r(e)}}catch(e){r(e)}})}).catch(r)});return u(r,t),r}function D(e){var t=this,n=new he(function(e,n){t.ready().then(function(){j(t._dbInfo,ge,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.clear();o.oncomplete=function(){e()},o.onabort=o.onerror=function(){var e=a.error?a.error:a.transaction.error;n(e)}}catch(e){n(e)}})}).catch(n)});return u(n,e),n}function B(e){var t=this,n=new he(function(e,n){t.ready().then(function(){j(t._dbInfo,be,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.count();a.onsuccess=function(){e(a.result)},a.onerror=function(){n(a.error)}}catch(e){n(e)}})}).catch(n)});return u(n,e),n}function k(e,t){var n=this,r=new he(function(t,r){return e<0?void t(null):void n.ready().then(function(){j(n._dbInfo,be,function(o,i){if(o)return r(o);try{var a=i.objectStore(n._dbInfo.storeName),u=!1,c=a.openCursor();c.onsuccess=function(){var n=c.result;return n?void(0===e?t(n.key):u?t(n.key):(u=!0,n.advance(e))):void t(null)},c.onerror=function(){r(c.error)}}catch(e){r(e)}})}).catch(r)});return u(r,t),r}function C(e){var t=this,n=new he(function(e,n){t.ready().then(function(){j(t._dbInfo,be,function(r,o){if(r)return n(r);try{var i=o.objectStore(t._dbInfo.storeName),a=i.openCursor(),u=[];a.onsuccess=function(){var t=a.result;return t?(u.push(t.key),void t.continue()):void e(u)},a.onerror=function(){n(a.error)}}catch(e){n(e)}})}).catch(n)});return u(n,e),n}function T(){return"function"==typeof openDatabase}function L(e){var t,n,r,o,i,a=.75*e.length,u=e.length,c=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var f=new ArrayBuffer(a),s=new Uint8Array(f);for(t=0;t<u;t+=4)n=_e.indexOf(e[t]),r=_e.indexOf(e[t+1]),o=_e.indexOf(e[t+2]),i=_e.indexOf(e[t+3]),s[c++]=n<<2|r>>4,s[c++]=(15&r)<<4|o>>2,s[c++]=(3&o)<<6|63&i;return f}function F(e){var t,n=new Uint8Array(e),r="";for(t=0;t<n.length;t+=3)r+=_e[n[t]>>2],r+=_e[(3&n[t])<<4|n[t+1]>>4],r+=_e[(15&n[t+1])<<2|n[t+2]>>6],r+=_e[63&n[t+2]];return n.length%3===2?r=r.substring(0,r.length-1)+"=":n.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function z(e,t){var n="";if(e&&(n=Fe.call(e)),e&&("[object ArrayBuffer]"===n||e.buffer&&"[object ArrayBuffer]"===Fe.call(e.buffer))){var r,o=Se;e instanceof ArrayBuffer?(r=e,o+=je):(r=e.buffer,"[object Int8Array]"===n?o+=Ae:"[object Uint8Array]"===n?o+=Re:"[object Uint8ClampedArray]"===n?o+=Oe:"[object Int16Array]"===n?o+=Ne:"[object Uint16Array]"===n?o+=Be:"[object Int32Array]"===n?o+=De:"[object Uint32Array]"===n?o+=ke:"[object Float32Array]"===n?o+=Ce:"[object Float64Array]"===n?o+=Te:t(new Error("Failed to get type for BinaryArray"))),t(o+F(r))}else if("[object Blob]"===n){var i=new FileReader;i.onload=function(){var n=we+e.type+"~"+F(this.result);t(Se+xe+n)},i.readAsArrayBuffer(e)}else try{t(JSON.stringify(e))}catch(n){console.error("Couldn't convert value into a JSON string: ",e),t(null,n)}}function M(e){if(e.substring(0,Ee)!==Se)return JSON.parse(e);var t,n=e.substring(Le),r=e.substring(Ee,Le);if(r===xe&&Ie.test(n)){var o=n.match(Ie);t=o[1],n=n.substring(o[0].length)}var i=L(n);switch(r){case je:return i;case xe:return a([i],{type:t});case Ae:return new Int8Array(i);case Re:return new Uint8Array(i);case Oe:return new Uint8ClampedArray(i);case Ne:return new Int16Array(i);case Be:return new Uint16Array(i);case De:return new Int32Array(i);case ke:return new Uint32Array(i);case Ce:return new Float32Array(i);case Te:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}function P(e){var t=this,n={db:null};if(e)for(var r in e)n[r]="string"!=typeof e[r]?e[r].toString():e[r];var o=new he(function(e,r){try{n.db=openDatabase(n.name,String(n.version),n.description,n.size)}catch(e){return r(e)}n.db.transaction(function(o){o.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){t._dbInfo=n,e()},function(e,t){r(t)})})});return n.serializer=ze,o}function U(e,t){var n=this;e=f(e);var r=new he(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){n.executeSql("SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],function(e,n){var r=n.rows.length?n.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),t(r)},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function q(e,t){var n=this,r=new he(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){n.executeSql("SELECT * FROM "+o.storeName,[],function(n,r){for(var i=r.rows,a=i.length,u=0;u<a;u++){var c=i.item(u),f=c.value;if(f&&(f=o.serializer.deserialize(f)),f=e(f,c.key,u+1),void 0!==f)return void t(f)}t()},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function W(e,t,n,r){var o=this;e=f(e);var i=new he(function(i,a){o.ready().then(function(){void 0===t&&(t=null);var u=t,c=o._dbInfo;c.serializer.serialize(t,function(t,f){f?a(f):c.db.transaction(function(n){n.executeSql("INSERT OR REPLACE INTO "+c.storeName+" (key, value) VALUES (?, ?)",[e,t],function(){i(u)},function(e,t){a(t)})},function(t){if(t.code===t.QUOTA_ERR){if(r>0)return void i(W.apply(o,[e,u,n,r-1]));a(t)}})})}).catch(a)});return u(i,n),i}function Q(e,t,n){return W.apply(this,[e,t,n,1])}function G(e,t){var n=this;e=f(e);var r=new he(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){n.executeSql("DELETE FROM "+o.storeName+" WHERE key = ?",[e],function(){t()},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function H(e){var t=this,n=new he(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){t.executeSql("DELETE FROM "+r.storeName,[],function(){e()},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function J(e){var t=this,n=new he(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){t.executeSql("SELECT COUNT(key) as c FROM "+r.storeName,[],function(t,n){var r=n.rows.item(0).c;e(r)},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function K(e,t){var n=this,r=new he(function(t,r){n.ready().then(function(){var o=n._dbInfo;o.db.transaction(function(n){n.executeSql("SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,n){var r=n.rows.length?n.rows.item(0).key:null;t(r)},function(e,t){r(t)})})}).catch(r)});return u(r,t),r}function V(e){var t=this,n=new he(function(e,n){t.ready().then(function(){var r=t._dbInfo;r.db.transaction(function(t){t.executeSql("SELECT key FROM "+r.storeName,[],function(t,n){for(var r=[],o=0;o<n.rows.length;o++)r.push(n.rows.item(o).key);e(r)},function(e,t){n(t)})})}).catch(n)});return u(n,e),n}function X(){try{return"undefined"!=typeof localStorage&&"setItem"in localStorage&&"function"==typeof localStorage.setItem}catch(e){return!1}}function Y(){var e="_localforage_support_test";try{return localStorage.setItem(e,!0),localStorage.removeItem(e),!1}catch(e){return!0}}function Z(){return!Y()||localStorage.length>0}function $(e){var t=this,n={};if(e)for(var r in e)n[r]=e[r];return n.keyPrefix=n.name+"/",n.storeName!==t._defaultConfig.storeName&&(n.keyPrefix+=n.storeName+"/"),Z()?(t._dbInfo=n,n.serializer=ze,he.resolve()):he.reject()}function ee(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo.keyPrefix,n=localStorage.length-1;n>=0;n--){var r=localStorage.key(n);0===r.indexOf(e)&&localStorage.removeItem(r)}});return u(n,e),n}function te(e,t){var n=this;e=f(e);var r=n.ready().then(function(){var t=n._dbInfo,r=localStorage.getItem(t.keyPrefix+e);return r&&(r=t.serializer.deserialize(r)),r});return u(r,t),r}function ne(e,t){var n=this,r=n.ready().then(function(){for(var t=n._dbInfo,r=t.keyPrefix,o=r.length,i=localStorage.length,a=1,u=0;u<i;u++){var c=localStorage.key(u);if(0===c.indexOf(r)){var f=localStorage.getItem(c);if(f&&(f=t.serializer.deserialize(f)),f=e(f,c.substring(o),a++),void 0!==f)return f}}});return u(r,t),r}function re(e,t){var n=this,r=n.ready().then(function(){var t,r=n._dbInfo;try{t=localStorage.key(e)}catch(e){t=null}return t&&(t=t.substring(r.keyPrefix.length)),t});return u(r,t),r}function oe(e){var t=this,n=t.ready().then(function(){for(var e=t._dbInfo,n=localStorage.length,r=[],o=0;o<n;o++){var i=localStorage.key(o);0===i.indexOf(e.keyPrefix)&&r.push(i.substring(e.keyPrefix.length))}return r});return u(n,e),n}function ie(e){var t=this,n=t.keys().then(function(e){return e.length});return u(n,e),n}function ae(e,t){var n=this;e=f(e);var r=n.ready().then(function(){var t=n._dbInfo;localStorage.removeItem(t.keyPrefix+e)});return u(r,t),r}function ue(e,t,n){var r=this;e=f(e);var o=r.ready().then(function(){void 0===t&&(t=null);var n=t;return new he(function(o,i){var a=r._dbInfo;a.serializer.serialize(t,function(t,r){if(r)i(r);else try{localStorage.setItem(a.keyPrefix+e,t),o(n)}catch(e){"QuotaExceededError"!==e.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==e.name||i(e),i(e)}})})});return u(o,n),o}function ce(e,t){e[t]=function(){var n=arguments;return e.ready().then(function(){return e[t].apply(e,n)})}}function fe(){for(var e=1;e<arguments.length;e++){var t=arguments[e];if(t)for(var n in t)t.hasOwnProperty(n)&&(Ue(t[n])?arguments[0][n]=t[n].slice():arguments[0][n]=t[n])}return arguments[0]}var se="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},le=o();"undefined"==typeof Promise&&e(3);var de,ve,he=Promise,ye="local-forage-detect-blob-support",pe=Object.prototype.toString,be="readonly",ge="readwrite",me={_driver:"asyncStorage",_initStorage:x,_support:i(),iterate:R,getItem:A,setItem:O,removeItem:N,clear:D,length:B,key:k,keys:C},_e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",we="~~local_forage_type~",Ie=/^~~local_forage_type~([^~]+)~/,Se="__lfsc__:",Ee=Se.length,je="arbf",xe="blob",Ae="si08",Re="ui08",Oe="uic8",Ne="si16",De="si32",Be="ur16",ke="ui32",Ce="fl32",Te="fl64",Le=Ee+je.length,Fe=Object.prototype.toString,ze={serialize:z,deserialize:M,stringToBuffer:L,bufferToString:F},Me={_driver:"webSQLStorage",_initStorage:P,_support:T(),iterate:q,getItem:U,setItem:Q,removeItem:G,clear:H,length:J,key:K,keys:V},Pe={_driver:"localStorageWrapper",_initStorage:$,_support:X(),iterate:ne,getItem:te,setItem:ue,removeItem:ae,clear:ee,length:ie,key:re,keys:oe},Ue=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},qe={},We={},Qe={INDEXEDDB:me,WEBSQL:Me,LOCALSTORAGE:Pe},Ge=[Qe.INDEXEDDB._driver,Qe.WEBSQL._driver,Qe.LOCALSTORAGE._driver],He=["clear","getItem","iterate","key","keys","length","removeItem","setItem"],Je={description:"",driver:Ge.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1},Ke=function(){function e(t){r(this,e);for(var n in Qe)if(Qe.hasOwnProperty(n)){var o=Qe[n],i=o._driver;this[n]=i,qe[i]||this.defineDriver(o)}this._defaultConfig=fe({},Je),this._config=fe({},this._defaultConfig,t),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return e.prototype.config=function(e){if("object"===("undefined"==typeof e?"undefined":se(e))){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var t in e){if("storeName"===t&&(e[t]=e[t].replace(/\W/g,"_")),"version"===t&&"number"!=typeof e[t])return new Error("Database version must be a number.");this._config[t]=e[t]}return!("driver"in e&&e.driver)||this.setDriver(this._config.driver)}return"string"==typeof e?this._config[e]:this._config},e.prototype.defineDriver=function(e,t,n){var r=new he(function(t,n){try{var r=e._driver,o=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!e._driver)return void n(o);for(var i=He.concat("_initStorage"),a=0,u=i.length;a<u;a++){var c=i[a];if(!c||!e[c]||"function"!=typeof e[c])return void n(o)}var f=function(n){qe[r]&&console.info("Redefining LocalForage driver: "+r),qe[r]=e,We[r]=n,t()};"_support"in e?e._support&&"function"==typeof e._support?e._support().then(f,n):f(!!e._support):f(!0)}catch(e){n(e)}});return c(r,t,n),r},e.prototype.driver=function(){return this._driver||null},e.prototype.getDriver=function(e,t,n){var r=qe[e]?he.resolve(qe[e]):he.reject(new Error("Driver not found."));return c(r,t,n),r},e.prototype.getSerializer=function(e){var t=he.resolve(ze);return c(t,e),t},e.prototype.ready=function(e){var t=this,n=t._driverSet.then(function(){return null===t._ready&&(t._ready=t._initDriver()),t._ready});return c(n,e,e),n},e.prototype.setDriver=function(e,t,n){function r(){a._config.driver=a.driver()}function o(e){return a._extend(e),r(),a._ready=a._initStorage(a._config),a._ready}function i(e){return function(){function t(){for(;n<e.length;){var i=e[n];return n++,a._dbInfo=null,a._ready=null,a.getDriver(i).then(o).catch(t)}r();var u=new Error("No available storage method found.");return a._driverSet=he.reject(u),a._driverSet}var n=0;return t()}}var a=this;Ue(e)||(e=[e]);var u=this._getSupportedDrivers(e),f=null!==this._driverSet?this._driverSet.catch(function(){return he.resolve()}):he.resolve();return this._driverSet=f.then(function(){var e=u[0];return a._dbInfo=null,a._ready=null,a.getDriver(e).then(function(e){a._driver=e._driver,r(),a._wrapLibraryMethodsWithReady(),a._initDriver=i(u)})}).catch(function(){r();var e=new Error("No available storage method found.");return a._driverSet=he.reject(e),a._driverSet}),c(this._driverSet,t,n),this._driverSet},e.prototype.supports=function(e){return!!We[e]},e.prototype._extend=function(e){fe(this,e)},e.prototype._getSupportedDrivers=function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=e[n];this.supports(o)&&t.push(o)}return t},e.prototype._wrapLibraryMethodsWithReady=function(){for(var e=0,t=He.length;e<t;e++)ce(this,He[e])},e.prototype.createInstance=function(t){return new e(t)},e}(),Ve=new Ke;t.exports=Ve},{3:3}]},{},[4])(4)})}]);
-//# sourceMappingURL=sw.js.map
\ No newline at end of file
+var __wpo = {"assets":{"main":[],"additional":[],"optional":[]},"externals":[],"hashesMap":{},"strategy":"changed","responseStrategy":"cache-first","version":"1/21/2019, 2:24:05 AM","name":"webpack-offline:mastodon","pluginVersion":"5.0.6","relativePaths":false};
+
+!function(o){var n={};function i(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return o[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=o,i.c=n,i.d=function(t,e,o){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)i.d(o,n,function(t){return e[t]}.bind(null,n));return o},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/packs/",i(i.s=5)}([function(t,e,o){var n=o(8).Symbol;t.exports=n},function(t,e,o){"use strict";e.extend=function(t){var e,o,n,i,a=Array.prototype.slice.call(arguments,1);for(e=0,o=a.length;e<o;e+=1)if(n=a[e])for(i in n)r.call(n,i)&&(t[i]=n[i]);return t};var r=Object.prototype.hasOwnProperty;e.hop=r},function(t,e,o){var n=o(6),i=o(18),a=/&(?:amp|lt|gt|quot|#39);/g,r=RegExp(a.source);t.exports=function(t){return(t=n(t))&&r.test(t)?t.replace(a,i):t}},function(t,e,o){"use strict";var n=o(20).default;o(27),(e=t.exports=n).default=e},function(t,e){t.exports={ar:{"notification.favourite":"أُعجِب {name} بمنشورك","notification.follow":"{name} يتابعك","notification.mention":"{name} ذكرك","notification.reblog":"{name} قام بترقية تبويقك","status.show_more":"أظهر المزيد","status.reblog":"رَقِّي","status.favourite":"أضف إلى المفضلة","notifications.group":"{count} إشعارات"},ast:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} siguióte","notification.mention":"{name} mentóte","notification.reblog":"{name} compartió'l to estáu","status.show_more":"Amosar más","status.reblog":"Compartir","status.favourite":"Favourite","notifications.group":"{count} avisos"},bg:{"notification.favourite":"{name} хареса твоята публикация","notification.follow":"{name} те последва","notification.mention":"{name} те спомена","notification.reblog":"{name} сподели твоята публикация","status.show_more":"Show more","status.reblog":"Споделяне","status.favourite":"Предпочитани","notifications.group":"{count} notifications"},ca:{"notification.favourite":"{name} ha afavorit el teu estat","notification.follow":"{name} et segueix","notification.mention":"{name} t'ha esmentat","notification.reblog":"{name} ha retootejat el teu estat","status.show_more":"Mostra més","status.reblog":"Impuls","status.favourite":"Favorit","notifications.group":"{count} notificacions"},co:{"notification.favourite":"{name} hà aghjuntu u vostru statutu à i so favuriti","notification.follow":"{name} v'hà seguitatu","notification.mention":"{name} v'hà mintuvatu","notification.reblog":"{name} hà spartutu u vostru statutu","status.show_more":"Slibrà","status.reblog":"Sparte","status.favourite":"Aghjunghje à i favuriti","notifications.group":"{count} nutificazione"},cs:{"notification.favourite":"{name} si oblíbil/a váš příspěvek","notification.follow":"{name} vás začal/a sledovat","notification.mention":"{name} vás zmínil/a","notification.reblog":"{name} boostnul/a váš příspěvek","status.show_more":"Zobrazit více","status.reblog":"Boostnout","status.favourite":"Oblíbit","notifications.group":"{count} oznámení"},cy:{"notification.favourite":"hoffodd {name} eich tŵt","notification.follow":"dilynodd {name} chi","notification.mention":"Soniodd {name} amdanoch chi","notification.reblog":"Hysbysebodd {name} eich tŵt","status.show_more":"Dangos mwy","status.reblog":"Hybu","status.favourite":"Hoffi","notifications.group":"{count} o hysbysiadau"},da:{"notification.favourite":"{name} favoriserede din status","notification.follow":"{name} fulgte dig","notification.mention":"{name} nævnte dig","notification.reblog":"{name} fremhævede din status","status.show_more":"Vis mere","status.reblog":"Fremhæv","status.favourite":"Favorit","notifications.group":"{count} notifikationer"},de:{"notification.favourite":"{name} hat deinen Beitrag favorisiert","notification.follow":"{name} folgt dir","notification.mention":"{name} hat dich erwähnt","notification.reblog":"{name} hat deinen Beitrag geteilt","status.show_more":"Mehr anzeigen","status.reblog":"Teilen","status.favourite":"Favorisieren","notifications.group":"{count} Benachrichtigungen"},el:{"notification.favourite":"Ο/Η {name} σημείωσε ως αγαπημένη την κατάστασή σου","notification.follow":"Ο/Η {name} σε ακολούθησε","notification.mention":"Ο/Η {name} σε ανέφερε","notification.reblog":"Ο/Η {name} προώθησε την κατάστασή σου","status.show_more":"Δείξε περισσότερα","status.reblog":"Προώθησε","status.favourite":"Σημείωσε ως αγαπημένο","notifications.group":"{count} ειδοποιήσεις"},en:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Show more","status.reblog":"Boost","status.favourite":"Favourite","notifications.group":"{count} notifications"},eo:{"notification.favourite":"{name} stelumis vian mesaĝon","notification.follow":"{name} eksekvis vin","notification.mention":"{name} menciis vin","notification.reblog":"{name} diskonigis vian mesaĝon","status.show_more":"Grandigi","status.reblog":"Diskonigi","status.favourite":"Stelumi","notifications.group":"{count} sciigoj"},es:{"notification.favourite":"{name} marcó tu estado como favorito","notification.follow":"{name} te empezó a seguir","notification.mention":"{name} te ha mencionado","notification.reblog":"{name} ha retooteado tu estado","status.show_more":"Mostrar más","status.reblog":"Retootear","status.favourite":"Favorito","notifications.group":"{count} notificaciones"},eu:{"notification.favourite":"{name}(e)k zure mezua gogoko du","notification.follow":"{name}(e)k jarraitzen zaitu","notification.mention":"{name}(e)k aipatu zaitu","notification.reblog":"{name}(e)k bultzada eman dio zure mezuari","status.show_more":"Erakutsi gehiago","status.reblog":"Bultzada","status.favourite":"Gogokoa","notifications.group":"{count} jakinarazpen"},fa:{"notification.favourite":"‫{name}‬ نوشتهٔ شما را پسندید","notification.follow":"‫{name}‬ پیگیر شما شد","notification.mention":"‫{name}‬ از شما نام برد","notification.reblog":"‫{name}‬ نوشتهٔ شما را بازبوقید","status.show_more":"نمایش","status.reblog":"بازبوقیدن","status.favourite":"پسندیدن","notifications.group":"{count} اعلان"},fi:{"notification.favourite":"{name} tykkäsi tilastasi","notification.follow":"{name} seurasi sinua","notification.mention":"{name} mainitsi sinut","notification.reblog":"{name} buustasi tilaasi","status.show_more":"Näytä lisää","status.reblog":"Buustaa","status.favourite":"Tykkää","notifications.group":"{count} notifications"},fr:{"notification.favourite":"{name} a ajouté à ses favoris :","notification.follow":"{name} vous suit","notification.mention":"{name} vous a mentionné⋅e :","notification.reblog":"{name} a partagé votre statut :","status.show_more":"Déplier","status.reblog":"Partager","status.favourite":"Ajouter aux favoris","notifications.group":"{count} notifications"},gl:{"notification.favourite":"{name} marcou como favorito o seu estado","notification.follow":"{name} está a seguila","notification.mention":"{name} mencionoute","notification.reblog":"{name} promoveu o seu estado","status.show_more":"Mostrar máis","status.reblog":"Promover","status.favourite":"Favorita","notifications.group":"{count} notificacións"},he:{"notification.favourite":"חצרוצך חובב על ידי {name}","notification.follow":"{name} במעקב אחרייך","notification.mention":"אוזכרת על ידי {name}","notification.reblog":"חצרוצך הודהד על ידי {name}","status.show_more":"הראה יותר","status.reblog":"הדהוד","status.favourite":"חיבוב","notifications.group":"{count} notifications"},hr:{"notification.favourite":"{name} je lajkao tvoj status","notification.follow":"{name} te sada slijedi","notification.mention":"{name} te je spomenuo","notification.reblog":"{name} je podigao tvoj status","status.show_more":"Pokaži više","status.reblog":"Podigni","status.favourite":"Označi omiljenim","notifications.group":"{count} notifications"},hu:{"notification.favourite":"{name} kedvencnek jelölte az állapotod","notification.follow":"{name} követ téged","notification.mention":"{name} megemlített","notification.reblog":"{name} rebloggolta az állapotod","status.show_more":"Többet","status.reblog":"Reblog","status.favourite":"Kedvenc","notifications.group":"{count} notifications"},hy:{"notification.favourite":"{name} հավանեց թութդ","notification.follow":"{name} սկսեց հետեւել քեզ","notification.mention":"{name} նշեց քեզ","notification.reblog":"{name} տարածեց թութդ","status.show_more":"Ավելին","status.reblog":"Տարածել","status.favourite":"Հավանել","notifications.group":"{count} notifications"},id:{"notification.favourite":"{name} menyukai status anda","notification.follow":"{name} mengikuti anda","notification.mention":"{name} mentioned you","notification.reblog":"{name} mem-boost status anda","status.show_more":"Tampilkan semua","status.reblog":"Boost","status.favourite":"Difavoritkan","notifications.group":"{count} notifications"},io:{"notification.favourite":"{name} favorizis tua mesajo","notification.follow":"{name} sequeskis tu","notification.mention":"{name} mencionis tu","notification.reblog":"{name} repetis tua mesajo","status.show_more":"Montrar plue","status.reblog":"Repetar","status.favourite":"Favorizar","notifications.group":"{count} notifications"},it:{"notification.favourite":"{name} ha apprezzato il tuo post","notification.follow":"{name} ha iniziato a seguirti","notification.mention":"{name} ti ha menzionato","notification.reblog":"{name} ha condiviso il tuo post","status.show_more":"Mostra di più","status.reblog":"Condividi","status.favourite":"Apprezzato","notifications.group":"{count} notifiche"},ja:{"notification.favourite":"{name}さんがあなたのトゥートをお気に入りに登録しました","notification.follow":"{name}さんにフォローされました","notification.mention":"{name}さんがあなたに返信しました","notification.reblog":"{name}さんがあなたのトゥートをブーストしました","status.show_more":"もっと見る","status.reblog":"ブースト","status.favourite":"お気に入り","notifications.group":"{count} 件の通知"},ka:{"notification.favourite":"{name}-მა თქვენი სტატუსი აქცია ფავორიტად","notification.follow":"{name} გამოგყვათ","notification.mention":"{name}-მა გასახელათ","notification.reblog":"{name}-მა დაბუსტა თქვენი სტატუსი","status.show_more":"აჩვენე მეტი","status.reblog":"ბუსტი","status.favourite":"ფავორიტი","notifications.group":"{count} შეტყობინება"},ko:{"notification.favourite":"{name}님이 즐겨찾기 했습니다","notification.follow":"{name}님이 나를 팔로우 했습니다","notification.mention":"{name}님이 답글을 보냈습니다","notification.reblog":"{name}님이 부스트 했습니다","status.show_more":"더 보기","status.reblog":"부스트","status.favourite":"즐겨찾기","notifications.group":"{count} 개의 알림"},lv:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Show more","status.reblog":"Boost","status.favourite":"Favourite","notifications.group":"{count} notifications"},ms:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Show more","status.reblog":"Boost","status.favourite":"Favourite","notifications.group":"{count} notifications"},nl:{"notification.favourite":"{name} voegde jouw toot als favoriet toe","notification.follow":"{name} volgt jou nu","notification.mention":"{name} vermeldde jou","notification.reblog":"{name} boostte jouw toot","status.show_more":"Meer tonen","status.reblog":"Boost","status.favourite":"Favoriet","notifications.group":"{count} meldingen"},no:{"notification.favourite":"{name} likte din status","notification.follow":"{name} fulgte deg","notification.mention":"{name} nevnte deg","notification.reblog":"{name} fremhevde din status","status.show_more":"Vis mer","status.reblog":"Fremhev","status.favourite":"Lik","notifications.group":"{count} notifications"},oc:{"notification.favourite":"{name} a ajustat a sos favorits","notification.follow":"{name} vos sèc","notification.mention":"{name} vos a mencionat","notification.reblog":"{name} a partejat vòstre estatut","status.show_more":"Desplegar","status.reblog":"Partejar","status.favourite":"Apondre als favorits","notifications.group":"{count} notificacions"},pl:{"notification.favourite":"{name} dodał(a) Twój wpis do ulubionych","notification.follow":"{name} zaczął(-ęła) Cię śledzić","notification.mention":"{name} wspomniał(a) o tobie","notification.reblog":"{name} podbił(a) Twój wpis","status.show_more":"Rozwiń","status.reblog":"Podbij","status.favourite":"Dodaj do ulubionych","notifications.group":"{count, number} {count, plural, one {powiadomienie} few {powiadomienia} many {powiadomień} more {powiadomień}}"},"pt-BR":{"notification.favourite":"{name} adicionou a sua postagem aos favoritos","notification.follow":"{name} te seguiu","notification.mention":"{name} te mencionou","notification.reblog":"{name} compartilhou a sua postagem","status.show_more":"Mostrar mais","status.reblog":"Compartilhar","status.favourite":"Adicionar aos favoritos","notifications.group":"{count} notificações"},pt:{"notification.favourite":"{name} adicionou o teu post aos favoritos","notification.follow":"{name} seguiu-te","notification.mention":"{name} mencionou-te","notification.reblog":"{name} partilhou o teu post","status.show_more":"Mostrar mais","status.reblog":"Partilhar","status.favourite":"Adicionar aos favoritos","notifications.group":"{count} notifications"},ro:{"notification.favourite":"{name} a adăugat statusul tău la favorite","notification.follow":"{name} te urmărește","notification.mention":"{name} te-a menționat","notification.reblog":"{name} a redistribuit postarea ta","status.show_more":"Arată mai mult","status.reblog":"Redistribuie","status.favourite":"Favorite","notifications.group":"{count} notificări"},ru:{"notification.favourite":"{name} понравился Ваш статус","notification.follow":"{name} подписался(-лась) на Вас","notification.mention":"{name} упомянул(а) Вас","notification.reblog":"{name} продвинул(а) Ваш статус","status.show_more":"Развернуть","status.reblog":"Продвинуть","status.favourite":"Нравится","notifications.group":"{count} уведомл."},sk:{"notification.favourite":"{name} sa páči tvoj status","notification.follow":"{name} ťa začal/a následovať","notification.mention":"{name} ťa spomenul/a","notification.reblog":"{name} zdieľal/a tvoj status","status.show_more":"Ukáž viac","status.reblog":"Povýšiť","status.favourite":"Páči sa mi","notifications.group":"{count} oznámenia"},sl:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Prikaži več","status.reblog":"Suni","status.favourite":"Favourite","notifications.group":"{count} notifications"},"sr-Latn":{"notification.favourite":"{name} je stavio Vaš status kao omiljeni","notification.follow":"{name} Vas je zapratio","notification.mention":"{name} Vas je pomenuo","notification.reblog":"{name} je podržao(la) Vaš status","status.show_more":"Prikaži više","status.reblog":"Podrži","status.favourite":"Omiljeno","notifications.group":"{count} notifications"},sr:{"notification.favourite":"{name} је ставио/ла Ваш статус као омиљени","notification.follow":"{name} Вас је запратио/ла","notification.mention":"{name} Вас је поменуо/ла","notification.reblog":"{name} је подржао/ла Ваш статус","status.show_more":"Прикажи више","status.reblog":"Подржи","status.favourite":"Омиљено","notifications.group":"{count} обавештења"},sv:{"notification.favourite":"{name} favoriserade din status","notification.follow":"{name} följer dig","notification.mention":"{name} nämnde dig","notification.reblog":"{name} knuffade din status","status.show_more":"Visa mer","status.reblog":"Knuff","status.favourite":"Favorit","notifications.group":"{count} aviseringar"},ta:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Show more","status.reblog":"Boost","status.favourite":"Favourite","notifications.group":"{count} notifications"},te:{"notification.favourite":"{name} మీ స్టేటస్ ను ఇష్టపడ్డారు","notification.follow":"{name} మిమ్మల్ని అనుసరిస్తున్నారు","notification.mention":"{name} మిమ్మల్ని ప్రస్తావించారు","notification.reblog":"{name} మీ స్టేటస్ ను బూస్ట్ చేసారు","status.show_more":"ఇంకా చూపించు","status.reblog":"బూస్ట్","status.favourite":"ఇష్టపడు","notifications.group":"{count} ప్రకటనలు"},th:{"notification.favourite":"{name} favourited your status","notification.follow":"{name} followed you","notification.mention":"{name} mentioned you","notification.reblog":"{name} boosted your status","status.show_more":"Show more","status.reblog":"Boost","status.favourite":"Favourite","notifications.group":"{count} notifications"},tr:{"notification.favourite":"{name} senin durumunu favorilere ekledi","notification.follow":"{name} seni takip ediyor","notification.mention":"{name} mentioned you","notification.reblog":"{name} senin durumunu boost etti","status.show_more":"Daha fazlası","status.reblog":"Boost'la","status.favourite":"Favorilere ekle","notifications.group":"{count} notifications"},uk:{"notification.favourite":"{name} вподобав(-ла) ваш допис","notification.follow":"{name} підписався(-лась) на Вас","notification.mention":"{name} згадав(-ла) Вас","notification.reblog":"{name} передмухнув(-ла) Ваш допис","status.show_more":"Розгорнути","status.reblog":"Передмухнути","status.favourite":"Подобається","notifications.group":"{count} сповіщень"},"zh-CN":{"notification.favourite":"{name} 收藏了你的嘟文","notification.follow":"{name} 开始关注你","notification.mention":"{name} 提及你","notification.reblog":"{name} 转嘟了你的嘟文","status.show_more":"显示内容","status.reblog":"转嘟","status.favourite":"收藏","notifications.group":"{count} 条通知"},"zh-HK":{"notification.favourite":"{name} 收藏了你的文章","notification.follow":"{name} 開始關注你","notification.mention":"{name} 提及你","notification.reblog":"{name} 轉推你的文章","status.show_more":"顯示更多","status.reblog":"轉推","status.favourite":"收藏","notifications.group":"{count} 條通知"},"zh-TW":{"notification.favourite":"{name}把你的嘟文加入了最愛","notification.follow":"{name}關注了你","notification.mention":"{name}提到了你","notification.reblog":"{name}轉嘟了你的嘟文","status.show_more":"顯示更多","status.reblog":"轉嘟","status.favourite":"最愛","notifications.group":"{count} 條通知"}}},function(t,e,o){"use strict";var i,n,a;if(i=ExtendableEvent.prototype.waitUntil,n=FetchEvent.prototype.respondWith,a=new WeakMap,ExtendableEvent.prototype.waitUntil=function(t){var o=this,n=a.get(o);if(!n)return n=[Promise.resolve(t)],a.set(o,n),i.call(o,Promise.resolve().then(function t(){var e=n.length;return Promise.all(n.map(function(t){return t.catch(function(){})})).then(function(){return n.length!=e?t():(a.delete(o),Promise.all(n))})}));n.push(Promise.resolve(t))},FetchEvent.prototype.respondWith=function(t){return this.waitUntil(t),n.call(this,t)},void 0===r)var r=!1;function O(o,n){return caches.match(o,{cacheName:n}).then(function(t){return s(t)?t:u(t).then(function(e){return caches.open(n).then(function(t){return t.put(o,e)}).then(function(){return e})})}).catch(function(){})}function s(t){return!t||!t.redirected||!t.ok||"opaqueredirect"===t.type}function u(e){return s(e)?Promise.resolve(e):("body"in e?Promise.resolve(e.body):e.blob()).then(function(t){return new Response(t,{headers:e.headers,status:e.status})})}function A(t,e){e.forEach(function(t){})}!function(p,t){var m=t.cacheMaps,d=t.navigationPreload,o=p.strategy,h=p.responseStrategy,v=p.assets,g=p.hashesMap,b=p.externals,w=p.prefetchRequest||{credentials:"same-origin",mode:"cors"},i=p.name,e=p.version,y=i+":"+e,_=i+"$preload",a="__offline_webpack__data";Object.keys(v).forEach(function(t){v[t]=v[t].map(function(t){var e=new URL(t,location);return e.hash="",-1===b.indexOf(t)&&(e.search=""),e.toString()})}),g=Object.keys(g).reduce(function(t,e){var o=new URL(g[e],location);return o.search="",o.hash="",t[e]=o.toString(),t},{}),b=b.map(function(t){var e=new URL(t,location);return e.hash="",e.toString()});var j=[].concat(v.main,v.additional,v.optional);function x(e){var o=v[e];return caches.open(y).then(function(t){return F(t,o,{bust:p.version,request:w,failAll:"main"===e})}).then(function(){A(0,o)}).catch(function(t){throw t})}function n(m){return caches.keys().then(function(t){for(var e=t.length,o=void 0;e--&&0!==(o=t[e]).indexOf(i););if(o){var n=void 0;return caches.open(o).then(function(t){return(n=t).match(new URL(a,location).toString())}).then(function(t){if(t)return Promise.all([n,n.keys(),t.json()])})}}).then(function(t){if(!t)return x(m);var o=t[0],e=t[1],n=t[2],i=n.hashmap,a=n.version;if(!n.hashmap||a===p.version)return x(m);var r=Object.keys(i).map(function(t){return i[t]}),s=e.map(function(t){var e=new URL(t.url);return e.search="",e.hash="",e.toString()}),u=v[m],c=[],f=u.filter(function(t){return-1===s.indexOf(t)||-1===r.indexOf(t)});Object.keys(g).forEach(function(t){var e=g[t];if(-1!==u.indexOf(e)&&-1===f.indexOf(e)&&-1===c.indexOf(e)){var o=i[t];o&&-1!==s.indexOf(o)?c.push([o,e]):f.push(e)}}),A(0,f),A(0,c);var l=Promise.all(c.map(function(e){return o.match(e[0]).then(function(t){return[e[1],t]})}));return caches.open(y).then(function(e){var t=l.then(function(t){return Promise.all(t.map(function(t){return e.put(t[0],t[1])}))});return Promise.all([t,F(e,f,{bust:p.version,request:w,failAll:"main"===m,deleteFirst:"main"!==m})])})})}function r(){return caches.keys().then(function(t){var e=t.map(function(t){if(0===t.indexOf(i)&&0!==t.indexOf(y))return caches.delete(t)});return Promise.all(e)})}function s(){return caches.open(y).then(function(t){var e=new Response(JSON.stringify({version:p.version,hashmap:g}));return t.put(new URL(a,location).toString(),e)})}self.addEventListener("install",function(t){var e=void 0;e="changed"===o?n("main"):x("main"),t.waitUntil(e)}),self.addEventListener("activate",function(t){var e=function(){if(!v.additional.length)return Promise.resolve();return("changed"===o?n("additional"):x("additional")).catch(function(t){})}();e=(e=(e=e.then(s)).then(r)).then(function(){if(self.clients&&self.clients.claim)return self.clients.claim()}),d&&self.registration.navigationPreload&&(e=Promise.all([e,self.registration.navigationPreload.enable()])),t.waitUntil(e)}),self.addEventListener("fetch",function(t){if("GET"===t.request.method&&("only-if-cached"!==t.request.cache||"same-origin"===t.request.mode)){var e=new URL(t.request.url);e.hash="";var o=e.toString();-1===b.indexOf(o)&&(e.search="",o=e.toString());var n=-1!==j.indexOf(o),i=o;if(!n){var a=function(t){var e,o=t.url,n=new URL(o),i=void 0;i="navigate"===(e=t).mode||e.headers.get("Upgrade-Insecure-Requests")||-1!==(e.headers.get("Accept")||"").indexOf("text/html")?"navigate":n.origin===location.origin?"same-origin":"cross-origin";for(var a=0;a<m.length;a++){var r=m[a];if(r&&(!r.requestTypes||-1!==r.requestTypes.indexOf(i))){var s=void 0;if((s="function"==typeof r.match?r.match(n,t):o.replace(r.match,r.to))&&s!==o)return s}}}(t.request);a&&(i=a,n=!0)}if(n){var r,s,u,c,f=void 0;f="network-first"===h?(c=i,P(t).then(function(t){if(t.ok)return t;throw t}).catch(function(e){return O(c,y).then(function(t){if(t)return t;if(e instanceof Response)return e;throw e})})):(s=o,u=i,function(t){if(d&&"function"==typeof d.map&&t.preloadResponse&&"navigate"===t.request.mode){var e=d.map(new URL(t.request.url),t.request);e&&function(t,e){var o=new URL(t,location),n=e.preloadResponse;k.set(n,{url:o,response:n});var i=function(){return k.has(n)},a=n.then(function(t){if(t&&i()){var e=t.clone();return caches.open(_).then(function(t){if(i())return t.put(o,e).then(function(){if(!i())return caches.open(_).then(function(t){return t.delete(o)})})})}});e.waitUntil(a)}(e,t)}}(r=t),O(u,y).then(function(t){return t||fetch(r.request).then(function(t){return t.ok&&u===s&&(e=t.clone(),o=caches.open(y).then(function(t){return t.put(s,e)}).then(function(){}),r.waitUntil(o)),t;var e,o})})),t.respondWith(f)}else{if("navigate"===t.request.mode&&!0===d)return void t.respondWith(P(t));if(d){var l=function(e){var t=new URL(e.request.url);if(self.registration.navigationPreload&&d&&d.test&&d.test(t,e.request)){var o=function(o){if(k){var n=void 0,i=void 0;return k.forEach(function(t,e){t.url.href===o.href&&(n=t.response,i=e)}),n?(k.delete(i),n):void 0}}(t),n=e.request;return o?(e.waitUntil(caches.open(_).then(function(t){return t.delete(n)})),o):O(n,_).then(function(t){return t&&e.waitUntil(caches.open(_).then(function(t){return t.delete(n)})),t||fetch(e.request)})}}(t);if(l)return void t.respondWith(l)}}}}),self.addEventListener("message",function(t){var e=t.data;if(e)switch(e.action){case"skipWaiting":self.skipWaiting&&self.skipWaiting()}});var k=new Map;function F(n,i,t){var a=t.bust,o=!1!==t.failAll,e=!0===t.deleteFirst,r=t.request||{credentials:"omit",mode:"cors"},s=Promise.resolve();return e&&(s=Promise.all(i.map(function(t){return n.delete(t).catch(function(){})}))),Promise.all(i.map(function(t){var e,o,n;return a&&(o=a,n=-1!==(e=t).indexOf("?"),t=e+(n?"&":"?")+"__uncache="+encodeURIComponent(o)),fetch(t,r).then(u).then(function(t){return t.ok?{response:t}:{error:!0}},function(){return{error:!0}})})).then(function(e){return o&&e.some(function(t){return t.error})?Promise.reject(new Error("Wrong response status")):(o||(e=e.filter(function(t){return!t.error})),s.then(function(){var t=e.map(function(t,e){var o=t.response;return n.put(i[e],o)});return Promise.all(t)}))})}function P(e){return e.preloadResponse&&!0===d?e.preloadResponse.then(function(t){return t||fetch(e.request)}):fetch(e.request)}}(__wpo,{loaders:{},cacheMaps:[],navigationPreload:!1}),t.exports=o(28)},function(t,e,o){var n=o(7);t.exports=function(t){return null==t?"":n(t)}},function(t,e,o){var n=o(0),i=o(11),a=o(12),r=o(13),s=1/0,u=n?n.prototype:void 0,c=u?u.toString:void 0;t.exports=function t(e){if("string"==typeof e)return e;if(a(e))return i(e,t)+"";if(r(e))return c?c.call(e):"";var o=e+"";return"0"==o&&1/e==-s?"-0":o}},function(t,e,o){var n=o(9),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();t.exports=a},function(o,t,e){(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;o.exports=e}).call(this,e(10))},function(t,e){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"==typeof window&&(o=window)}t.exports=o},function(t,e){t.exports=function(t,e){for(var o=-1,n=null==t?0:t.length,i=Array(n);++o<n;)i[o]=e(t[o],o,t);return i}},function(t,e){var o=Array.isArray;t.exports=o},function(t,e,o){var n=o(14),i=o(17);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},function(t,e,o){var n=o(0),i=o(15),a=o(16),r=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":r&&r in Object(t)?i(t):a(t)}},function(t,e,o){var n=o(0),i=Object.prototype,a=i.hasOwnProperty,r=i.toString,s=n?n.toStringTag:void 0;t.exports=function(t){var e=a.call(t,s),o=t[s];try{var n=!(t[s]=void 0)}catch(t){}var i=r.call(t);return n&&(e?t[s]=o:delete t[s]),i}},function(t,e){var o=Object.prototype.toString;t.exports=function(t){return o.call(t)}},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,o){var n=o(19)({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});t.exports=n},function(t,e){t.exports=function(e){return function(t){return null==e?void 0:e[t]}}},function(t,e,o){"use strict";var n=o(21),i=o(26);n.default.__addLocaleData(i.default),n.default.defaultLocale="en",e.default=n.default},function(t,e,o){"use strict";var c=o(1),s=o(22),i=o(23),n=o(24);function u(e,t,o){var n="string"==typeof e?u.__parse(e):e;if(!n||"messageFormatPattern"!==n.type)throw new TypeError("A message must be provided as a String or AST.");o=this._mergeFormats(u.formats,o),s.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var i=this._findPluralRuleFunction(this._locale),a=this._compilePattern(n,t,o,i),r=this;this.format=function(t){try{return r._format(a,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+e+"'"):t}}}e.default=u,s.defineProperty(u,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),s.defineProperty(u,"__localeData__",{value:s.objCreate(null)}),s.defineProperty(u,"__addLocaleData",{value:function(t){if(!t||!t.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");u.__localeData__[t.locale.toLowerCase()]=t}}),s.defineProperty(u,"__parse",{value:n.default.parse}),s.defineProperty(u,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),u.prototype.resolvedOptions=function(){return{locale:this._locale}},u.prototype._compilePattern=function(t,e,o,n){return new i.default(e,o,n).compile(t)},u.prototype._findPluralRuleFunction=function(t){for(var e=u.__localeData__,o=e[t.toLowerCase()];o;){if(o.pluralRuleFunction)return o.pluralRuleFunction;o=o.parentLocale&&e[o.parentLocale.toLowerCase()]}throw new Error("Locale data added to IntlMessageFormat is missing a `pluralRuleFunction` for :"+t)},u.prototype._format=function(t,e){var o,n,i,a,r,s,u="";for(o=0,n=t.length;o<n;o+=1)if("string"!=typeof(i=t[o])){if(a=i.id,!e||!c.hop.call(e,a))throw(s=new Error("A value must be provided for: "+a)).variableId=a,s;r=e[a],i.options?u+=this._format(i.getOption(r),e):u+=i.format(r)}else u+=i;return u},u.prototype._mergeFormats=function(t,e){var o,n,i={};for(o in t)c.hop.call(t,o)&&(i[o]=n=s.objCreate(t[o]),e&&c.hop.call(e,o)&&c.extend(n,e[o]));return i},u.prototype._resolveLocale=function(t){"string"==typeof t&&(t=[t]),t=(t||[]).concat(u.defaultLocale);var e,o,n,i,a=u.__localeData__;for(e=0,o=t.length;e<o;e+=1)for(n=t[e].toLowerCase().split("-");n.length;){if(i=a[n.join("-")])return i.locale;n.pop()}var r=t.pop();throw new Error("No locale data has been added to IntlMessageFormat for: "+t.join(", ")+", or the default locale: "+r)}},function(t,e,o){"use strict";var a=o(1),n=function(){try{return!!Object.defineProperty({},"a",{})}catch(t){return!1}}(),r=(!n&&Object.prototype.__defineGetter__,n?Object.defineProperty:function(t,e,o){"get"in o&&t.__defineGetter__?t.__defineGetter__(e,o.get):(!a.hop.call(t,e)||"value"in o)&&(t[e]=o.value)}),i=Object.create||function(t,e){var o,n;function i(){}for(n in i.prototype=t,o=new i,e)a.hop.call(e,n)&&r(o,n,e[n]);return o};e.defineProperty=r,e.objCreate=i},function(t,e,o){"use strict";function n(t,e,o){this.locales=t,this.formats=e,this.pluralFn=o}function r(t){this.id=t}function s(t,e,o,n,i){this.id=t,this.useOrdinal=e,this.offset=o,this.options=n,this.pluralFn=i}function i(t,e,o,n){this.id=t,this.offset=e,this.numberFormat=o,this.string=n}function u(t,e){this.id=t,this.options=e}(e.default=n).prototype.compile=function(t){return this.pluralStack=[],this.currentPlural=null,this.pluralNumberFormat=null,this.compileMessage(t)},n.prototype.compileMessage=function(t){if(!t||"messageFormatPattern"!==t.type)throw new Error('Message AST is not of type: "messageFormatPattern"');var e,o,n,i=t.elements,a=[];for(e=0,o=i.length;e<o;e+=1)switch((n=i[e]).type){case"messageTextElement":a.push(this.compileMessageText(n));break;case"argumentElement":a.push(this.compileArgument(n));break;default:throw new Error("Message element does not have a valid type")}return a},n.prototype.compileMessageText=function(t){return this.currentPlural&&/(^|[^\\])#/g.test(t.value)?(this.pluralNumberFormat||(this.pluralNumberFormat=new Intl.NumberFormat(this.locales)),new i(this.currentPlural.id,this.currentPlural.format.offset,this.pluralNumberFormat,t.value)):t.value.replace(/\\#/g,"#")},n.prototype.compileArgument=function(t){var e=t.format;if(!e)return new r(t.id);var o,n=this.formats,i=this.locales,a=this.pluralFn;switch(e.type){case"numberFormat":return o=n.number[e.style],{id:t.id,format:new Intl.NumberFormat(i,o).format};case"dateFormat":return o=n.date[e.style],{id:t.id,format:new Intl.DateTimeFormat(i,o).format};case"timeFormat":return o=n.time[e.style],{id:t.id,format:new Intl.DateTimeFormat(i,o).format};case"pluralFormat":return o=this.compileOptions(t),new s(t.id,e.ordinal,e.offset,o,a);case"selectFormat":return o=this.compileOptions(t),new u(t.id,o);default:throw new Error("Message element does not have a valid format type")}},n.prototype.compileOptions=function(t){var e,o,n,i=t.format,a=i.options,r={};for(this.pluralStack.push(this.currentPlural),this.currentPlural="pluralFormat"===i.type?t:null,e=0,o=a.length;e<o;e+=1)r[(n=a[e]).selector]=this.compileMessage(n.value);return this.currentPlural=this.pluralStack.pop(),r},r.prototype.format=function(t){return t||"number"==typeof t?"string"==typeof t?t:String(t):""},s.prototype.getOption=function(t){var e=this.options;return e["="+t]||e[this.pluralFn(t-this.offset,this.useOrdinal)]||e.other},i.prototype.format=function(t){var e=this.numberFormat.format(t-this.offset);return this.string.replace(/(^|[^\\])#/g,"$1"+e).replace(/\\#/g,"#")},u.prototype.getOption=function(t){var e=this.options;return e[t]||e.other}},function(t,e,o){"use strict";(e=t.exports=o(25).default).default=e},function(t,e,o){"use strict";e.default=function(){function Dt(t,e,o,n){this.message=t,this.expected=e,this.found=o,this.location=n,this.name="SyntaxError","function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,Dt)}return function(t,e){function o(){this.constructor=t}o.prototype=e.prototype,t.prototype=new o}(Dt,Error),{SyntaxError:Dt,parse:function(F){var t,e=1<arguments.length?arguments[1]:{},P={},o={start:St},n=St,i=function(t){return{type:"messageFormatPattern",elements:t,location:kt()}},O=function(t){var e,o,n,i,a,r="";for(e=0,n=t.length;e<n;e+=1)for(o=0,a=(i=t[e]).length;o<a;o+=1)r+=i[o];return r},A=function(t){return{type:"messageTextElement",value:t,location:kt()}},S=/^[^ \t\n\r,.+={}#]/,E={type:"class",value:"[^ \\t\\n\\r,.+={}#]",description:"[^ \\t\\n\\r,.+={}#]"},R="{",z={type:"literal",value:"{",description:'"{"'},L=",",C={type:"literal",value:",",description:'","'},U="}",q={type:"literal",value:"}",description:'"}"'},M=function(t,e){return{type:"argumentElement",id:t,format:e&&e[2],location:kt()}},T="number",N={type:"literal",value:"number",description:'"number"'},B="date",D={type:"literal",value:"date",description:'"date"'},W="time",I={type:"literal",value:"time",description:'"time"'},V=function(t,e){return{type:t+"Format",style:e&&e[2],location:kt()}},G="plural",H={type:"literal",value:"plural",description:'"plural"'},K=function(t){return{type:t.type,ordinal:!1,offset:t.offset||0,options:t.options,location:kt()}},Z="selectordinal",$={type:"literal",value:"selectordinal",description:'"selectordinal"'},J=function(t){return{type:t.type,ordinal:!0,offset:t.offset||0,options:t.options,location:kt()}},Q="select",X={type:"literal",value:"select",description:'"select"'},Y=function(t){return{type:"selectFormat",options:t,location:kt()}},c="=",f={type:"literal",value:"=",description:'"="'},l=function(t,e){return{type:"optionalFormatPattern",selector:t,value:e,location:kt()}},s="offset:",u={type:"literal",value:"offset:",description:'"offset:"'},m=function(t){return t},p=function(t,e){return{type:"pluralFormat",offset:t,options:e,location:kt()}},a={type:"other",description:"whitespace"},r=/^[ \t\n\r]/,d={type:"class",value:"[ \\t\\n\\r]",description:"[ \\t\\n\\r]"},h={type:"other",description:"optionalWhitespace"},v=/^[0-9]/,g={type:"class",value:"[0-9]",description:"[0-9]"},b=/^[0-9a-f]/i,w={type:"class",value:"[0-9a-f]i",description:"[0-9a-f]i"},y="0",_={type:"literal",value:"0",description:'"0"'},j=/^[1-9]/,x={type:"class",value:"[1-9]",description:"[1-9]"},k=function(t){return parseInt(t,10)},tt=/^[^{}\\\0-\x1F\7f \t\n\r]/,et={type:"class",value:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]",description:"[^{}\\\\\\0-\\x1F\\x7f \\t\\n\\r]"},ot="\\\\",nt={type:"literal",value:"\\\\",description:'"\\\\\\\\"'},it=function(){return"\\"},at="\\#",rt={type:"literal",value:"\\#",description:'"\\\\#"'},st=function(){return"\\#"},ut="\\{",ct={type:"literal",value:"\\{",description:'"\\\\{"'},ft=function(){return"{"},lt="\\}",mt={type:"literal",value:"\\}",description:'"\\\\}"'},pt=function(){return"}"},dt="\\u",ht={type:"literal",value:"\\u",description:'"\\\\u"'},vt=function(t){return String.fromCharCode(parseInt(t,16))},gt=function(t){return t.join("")},bt=0,wt=0,yt=[{line:1,column:1,seenCR:!1}],_t=0,jt=[],xt=0;if("startRule"in e){if(!(e.startRule in o))throw new Error("Can't start parsing from rule \""+e.startRule+'".');n=o[e.startRule]}function kt(){return Pt(wt,bt)}function Ft(t){var e,o,n=yt[t];if(n)return n;for(e=t-1;!yt[e];)e--;for(n={line:(n=yt[e]).line,column:n.column,seenCR:n.seenCR};e<t;)o=F.charAt(e),n.seenCR="\n"===o?(n.seenCR||n.line++,!(n.column=1)):"\r"===o||"\u2028"===o||"\u2029"===o?(n.line++,n.column=1,!0):(n.column++,!1),e++;return yt[t]=n}function Pt(t,e){var o=Ft(t),n=Ft(e);return{start:{offset:t,line:o.line,column:o.column},end:{offset:e,line:n.line,column:n.column}}}function Ot(t){bt<_t||(_t<bt&&(_t=bt,jt=[]),jt.push(t))}function At(t,e,o,n){return null!==e&&function(t){var e=1;for(t.sort(function(t,e){return t.description<e.description?-1:t.description>e.description?1:0});e<t.length;)t[e-1]===t[e]?t.splice(e,1):e++}(e),new Dt(null!==t?t:function(t,e){var o,n=new Array(t.length);for(o=0;o<t.length;o++)n[o]=t[o].description;return"Expected "+(1<t.length?n.slice(0,-1).join(", ")+" or "+n[t.length-1]:n[0])+" but "+(e?'"'+function(t){function e(t){return t.charCodeAt(0).toString(16).toUpperCase()}return t.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E\x0F]/g,function(t){return"\\x0"+e(t)}).replace(/[\x10-\x1F\x80-\xFF]/g,function(t){return"\\x"+e(t)}).replace(/[\u0100-\u0FFF]/g,function(t){return"\\u0"+e(t)}).replace(/[\u1000-\uFFFF]/g,function(t){return"\\u"+e(t)})}(e)+'"':"end of input")+" found."}(e,o),e,o,n)}function St(){return Et()}function Et(){var t,e,o;for(t=bt,e=[],o=Rt();o!==P;)e.push(o),o=Rt();return e!==P&&(wt=t,e=i(e)),t=e}function Rt(){var t,e,o,n,i,a,r,s,u,c,f,l,m,p,d,h,v,g,b,w,y,_,j,x,k;return x=bt,(k=function(){var t,e,o,n,i,a;if(e=[],o=t=bt,(o=(n=Ut())!==P&&(i=Bt())!==P&&(a=Ut())!==P?n=[n,i,a]:(bt=o,P))!==P)for(;o!==P;)e.push(o),o=bt,n=Ut(),o=n!==P&&(i=Bt())!==P&&(a=Ut())!==P?n=[n,i,a]:(bt=o,P);else e=P;return e!==P&&(wt=t,e=O(e)),(t=e)===P&&(t=bt,e=Ct(),t=e!==P?F.substring(t,bt):e),t}())!==P&&(wt=x,k=A(k)),(t=x=k)===P&&(e=bt,123===F.charCodeAt(bt)?(o=R,bt++):(o=P,0===xt&&Ot(z)),t=e=o!==P&&Ut()!==P&&(n=function(){var t,e,o;if((t=Tt())===P){if(t=bt,e=[],S.test(F.charAt(bt))?(o=F.charAt(bt),bt++):(o=P,0===xt&&Ot(E)),o!==P)for(;o!==P;)e.push(o),S.test(F.charAt(bt))?(o=F.charAt(bt),bt++):(o=P,0===xt&&Ot(E));else e=P;t=e!==P?F.substring(t,bt):e}return t}())!==P&&Ut()!==P?(i=bt,44===F.charCodeAt(bt)?(a=L,bt++):(a=P,0===xt&&Ot(C)),(i=a!==P&&(r=Ut())!==P?(g=bt,F.substr(bt,6)===T?(b=T,bt+=6):(b=P,0===xt&&Ot(N)),b===P&&(F.substr(bt,4)===B?(b=B,bt+=4):(b=P,0===xt&&Ot(D)),b===P&&(F.substr(bt,4)===W?(b=W,bt+=4):(b=P,0===xt&&Ot(I)))),(u=g=b!==P&&Ut()!==P?(w=bt,44===F.charCodeAt(bt)?(y=L,bt++):(y=P,0===xt&&Ot(C)),(w=y!==P&&(_=Ut())!==P&&(j=Bt())!==P?y=[y,_,j]:(bt=w,P))===P&&(w=null),w!==P?(wt=g,b=V(b,w)):(bt=g,P)):(bt=g,P))===P&&(p=bt,F.substr(bt,6)===G?(d=G,bt+=6):(d=P,0===xt&&Ot(H)),(u=p=d!==P&&Ut()!==P?(44===F.charCodeAt(bt)?(h=L,bt++):(h=P,0===xt&&Ot(C)),h!==P&&Ut()!==P&&(v=Lt())!==P?(wt=p,d=K(v)):(bt=p,P)):(bt=p,P))===P)&&(c=bt,F.substr(bt,13)===Z?(f=Z,bt+=13):(f=P,0===xt&&Ot($)),(u=c=f!==P&&Ut()!==P?(44===F.charCodeAt(bt)?(l=L,bt++):(l=P,0===xt&&Ot(C)),l!==P&&Ut()!==P&&(m=Lt())!==P?(wt=c,f=J(m)):(bt=c,P)):(bt=c,P))===P)&&(u=function(){var t,e,o,n,i;if(t=bt,F.substr(bt,6)===Q?(e=Q,bt+=6):(e=P,0===xt&&Ot(X)),e!==P)if(Ut()!==P)if(44===F.charCodeAt(bt)?(o=L,bt++):(o=P,0===xt&&Ot(C)),o!==P)if(Ut()!==P){if(n=[],(i=zt())!==P)for(;i!==P;)n.push(i),i=zt();else n=P;t=n!==P?(wt=t,e=Y(n)):(bt=t,P)}else bt=t,t=P;else bt=t,t=P;else bt=t,t=P;else bt=t,t=P;return t}()),(s=u)!==P?a=[a,r,s]:(bt=i,P)):(bt=i,P))===P&&(i=null),i!==P&&(a=Ut())!==P?(125===F.charCodeAt(bt)?(r=U,bt++):(r=P,0===xt&&Ot(q)),r!==P?(wt=e,o=M(n,i)):(bt=e,P)):(bt=e,P)):(bt=e,P)),t}function zt(){var t,e,o,n,i,a,r,s,u;return t=bt,t=Ut()!==P?(r=a=bt,61===F.charCodeAt(bt)?(s=c,bt++):(s=P,0===xt&&Ot(f)),(a=(r=s!==P&&(u=Tt())!==P?s=[s,u]:(bt=r,P))!==P?F.substring(a,bt):r)===P&&(a=Bt()),(e=a)!==P&&Ut()!==P?(123===F.charCodeAt(bt)?(o=R,bt++):(o=P,0===xt&&Ot(z)),o!==P&&Ut()!==P&&(n=Et())!==P&&Ut()!==P?(125===F.charCodeAt(bt)?(i=U,bt++):(i=P,0===xt&&Ot(q)),i!==P?(wt=t,l(e,n)):(bt=t,P)):(bt=t,P)):(bt=t,P)):(bt=t,P)}function Lt(){var t,e,o,n,i,a,r;if(i=t=bt,F.substr(bt,7)===s?(a=s,bt+=7):(a=P,0===xt&&Ot(u)),(e=i=a!==P&&Ut()!==P&&(r=Tt())!==P?(wt=i,a=m(r)):(bt=i,P))===P&&(e=null),e!==P)if(Ut()!==P){if(o=[],(n=zt())!==P)for(;n!==P;)o.push(n),n=zt();else o=P;t=o!==P?(wt=t,e=p(e,o)):(bt=t,P)}else bt=t,t=P;else bt=t,t=P;return t}function Ct(){var t,e;if(xt++,t=[],r.test(F.charAt(bt))?(e=F.charAt(bt),bt++):(e=P,0===xt&&Ot(d)),e!==P)for(;e!==P;)t.push(e),r.test(F.charAt(bt))?(e=F.charAt(bt),bt++):(e=P,0===xt&&Ot(d));else t=P;return xt--,t===P&&(e=P,0===xt&&Ot(a)),t}function Ut(){var t,e,o;for(xt++,t=bt,e=[],o=Ct();o!==P;)e.push(o),o=Ct();return t=e!==P?F.substring(t,bt):e,xt--,t===P&&(e=P,0===xt&&Ot(h)),t}function qt(){var t;return v.test(F.charAt(bt))?(t=F.charAt(bt),bt++):(t=P,0===xt&&Ot(g)),t}function Mt(){var t;return b.test(F.charAt(bt))?(t=F.charAt(bt),bt++):(t=P,0===xt&&Ot(w)),t}function Tt(){var t,e,o,n,i,a;if(t=bt,48===F.charCodeAt(bt)?(e=y,bt++):(e=P,0===xt&&Ot(_)),e===P){if(o=e=bt,j.test(F.charAt(bt))?(n=F.charAt(bt),bt++):(n=P,0===xt&&Ot(x)),n!==P){for(i=[],a=qt();a!==P;)i.push(a),a=qt();o=i!==P?n=[n,i]:(bt=o,P)}else bt=o,o=P;e=o!==P?F.substring(e,bt):o}return e!==P&&(wt=t,e=k(e)),t=e}function Nt(){var t,e,o,n,i,a,r,s;return tt.test(F.charAt(bt))?(t=F.charAt(bt),bt++):(t=P,0===xt&&Ot(et)),t===P&&(t=bt,F.substr(bt,2)===ot?(e=ot,bt+=2):(e=P,0===xt&&Ot(nt)),e!==P&&(wt=t,e=it()),(t=e)===P&&(t=bt,F.substr(bt,2)===at?(e=at,bt+=2):(e=P,0===xt&&Ot(rt)),e!==P&&(wt=t,e=st()),(t=e)===P&&(t=bt,F.substr(bt,2)===ut?(e=ut,bt+=2):(e=P,0===xt&&Ot(ct)),e!==P&&(wt=t,e=ft()),(t=e)===P&&(t=bt,F.substr(bt,2)===lt?(e=lt,bt+=2):(e=P,0===xt&&Ot(mt)),e!==P&&(wt=t,e=pt()),(t=e)===P&&(t=bt,F.substr(bt,2)===dt?(e=dt,bt+=2):(e=P,0===xt&&Ot(ht)),t=e!==P?(n=o=bt,(o=(n=(i=Mt())!==P&&(a=Mt())!==P&&(r=Mt())!==P&&(s=Mt())!==P?i=[i,a,r,s]:(bt=n,P))!==P?F.substring(o,bt):n)!==P?(wt=t,e=vt(o)):(bt=t,P)):(bt=t,P)))))),t}function Bt(){var t,e,o;if(t=bt,e=[],(o=Nt())!==P)for(;o!==P;)e.push(o),o=Nt();else e=P;return e!==P&&(wt=t,e=gt(e)),t=e}if((t=n())!==P&&bt===F.length)return t;throw t!==P&&bt<F.length&&Ot({type:"end",description:"end of input"}),At(null,jt,_t<F.length?F.charAt(_t):null,_t<F.length?Pt(_t,_t+1):Pt(_t,_t))}}}()},function(t,e,o){"use strict";e.default={locale:"en",pluralRuleFunction:function(t,e){var o=String(t).split("."),n=!o[1],i=Number(o[0])==t,a=i&&o[0].slice(-1),r=i&&o[0].slice(-2);return e?1==a&&11!=r?"one":2==a&&12!=r?"two":3==a&&13!=r?"few":"other":1==t&&n?"one":"other"}}},function(t,e){},function(t,e,o){"use strict";o.r(e);var n=o(2),i=o.n(n),a=o(3),r=o.n(a),s=o(4),u=o.n(s),c=function(n){return self.registration.getNotifications().then(function(t){if(5<=t.length){var e={title:m("notifications.group",n.data.preferred_locale,{count:t.length+1}),body:t.sort(function(t,e){return t.timestamp<e.timestamp}).map(function(t){return t.title}).join("\n"),badge:"/badge.png",icon:"/android-chrome-192x192.png",tag:"tag",data:{url:new URL("/web/notifications",self.location).href,count:t.length+1,preferred_locale:n.data.preferred_locale}};return t.forEach(function(t){return t.close()}),self.registration.showNotification(e.title,e)}if(1!==t.length||"tag"!==t[0].tag)return self.registration.showNotification(n.title,n);var o=l(t[0]);return o.title=m("notifications.group",n.data.preferred_locale,{count:o.data.count+1}),o.body=n.title+"\n"+o.body,o.data=function(i){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{},e=Object.keys(a);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(a).filter(function(t){return Object.getOwnPropertyDescriptor(a,t).enumerable}))),e.forEach(function(t){var e,o,n;e=i,n=a[o=t],o in e?Object.defineProperty(e,o,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[o]=n})}return i}({},o.data,{count:o.data.count+1}),self.registration.showNotification(o.title,o)})},f=function(t,e,o){var n=new URL(t,self.location).href;return fetch(n,{headers:{Authorization:"Bearer "+o,"Content-Type":"application/json"},method:e,credentials:"include"}).then(function(t){if(t.ok)return t;throw new Error(t.status)}).then(function(t){return t.json()})},l=function(t){var e,o={};for(e in t)o[e]=t[e];return o},m=function(t,e,o){return void 0===o&&(o={}),new r.a(u.a[e][t],e).format(o)},p=function(t){return i()(t.replace(/<br\s*\/?>/g,"\n").replace(/<\/p><p>/g,"\n\n").replace(/<[^>]*>/g,""))},d=function(t){return{action:"expand",icon:"/web-push-icon_expand.png",title:m("status.show_more",t)}},h=function(t){return{action:"reblog",icon:"/web-push-icon_reblog.png",title:m("status.reblog",t)}},v=function(t){return{action:"favourite",icon:"/web-push-icon_favourite.png",title:m("status.favourite",t)}},g=function(t){var e=t.find(function(t){return t.focused}),o=t.find(function(t){return"visible"===t.visibilityState});return e||o||t[0]},b=function(t,e){var o=l(t);return o.actions=o.actions.filter(function(t){return t.action!==e}),self.registration.showNotification(o.title,o)};self.addEventListener("push",function(t){var e=t.data.json(),o=e.access_token,n=e.notification_id,i=e.preferred_locale,a=e.title,r=e.body,s=e.icon;t.waitUntil(f("/api/v1/notifications/"+n,"get",o).then(function(t){var e={};return e.title=m("notification."+t.type,i,{name:0<t.account.display_name.length?t.account.display_name:t.account.username}),e.body=t.status&&p(t.status.content),e.icon=t.account.avatar_static,e.timestamp=t.created_at&&new Date(t.created_at),e.tag=t.id,e.badge="/badge.png",e.image=t.status&&0<t.status.media_attachments.length&&t.status.media_attachments[0].preview_url||void 0,e.data={access_token:o,preferred_locale:i,id:t.status?t.status.id:t.account.id,url:t.status?"/web/statuses/"+t.status.id:"/web/accounts/"+t.account.id},t.status&&t.status.spoiler_text||t.status.sensitive?(e.data.hiddenBody=p(t.status.content),e.data.hiddenImage=0<t.status.media_attachments.length&&t.status.media_attachments[0].preview_url,t.status.spoiler_text&&(e.body=t.status.spoiler_text),e.image=void 0,e.actions=[d(i)]):"mention"===t.type&&(e.actions=[h(i),v(i)]),c(e)}).catch(function(){return c({title:a,body:r,icon:s,tag:n,timestamp:new Date,badge:"/badge.png",data:{access_token:o,preferred_locale:i,url:"/web/notifications"}})}))}),self.addEventListener("notificationclick",function(s){var t=new Promise(function(t,e){if(s.action)if("expand"===s.action)t((a=s.notification,(r=l(a)).body=r.data.hiddenBody,r.image=r.data.hiddenImage,r.actions=[h(a.data.preferred_locale),v(a.data.preferred_locale)],self.registration.showNotification(r.title,r)));else if("reblog"===s.action){var o=s.notification.data;t(f("/api/v1/statuses/"+o.id+"/reblog","post",o.access_token).then(function(){return b(s.notification,"reblog")}))}else if("favourite"===s.action){var n=s.notification.data;t(f("/api/v1/statuses/"+n.id+"/favourite","post",n.access_token).then(function(){return b(s.notification,"favourite")}))}else e("Unknown action: "+s.action);else s.notification.close(),t((i=s.notification.data.url,self.clients.matchAll({type:"window"}).then(function(t){if(0!==t.length){var e=t.filter(function(t){return/\/web\//.test(t.url)});if(0!==e.length){var o=g(e),n=new URL(i,self.location).pathname;if(n.startsWith("/web/"))return o.focus().then(function(t){return t.postMessage({type:"navigate",path:n.slice("/web/".length-1)})})}else if("navigate"in t[0])return g(t).navigate(i).then(function(t){return t.focus()})}return self.clients.openWindow(i)})));var i,a,r});s.waitUntil(t)});function w(){return caches.open("mastodon-web")}function y(){return fetch("/web",{credentials:"include",redirect:"manual"})}self.addEventListener("install",function(t){t.waitUntil(Promise.all([w(),y()]).then(function(t){var e=t[0],o=t[1];return e.put("/web",o)}))}),self.addEventListener("activate",function(t){t.waitUntil(self.clients.claim())}),self.addEventListener("fetch",function(t){var e=new URL(t.request.url);if(e.pathname.startsWith("/web")){if(e.pathname.startsWith("/web/login"))return;var o=y(),n=w();t.respondWith(o.then(function(t){var e=t.clone();return n.then(function(t){return t.put("/web",e)}).catch(),t},function(){return n.then(function(t){return t.match("/web")})}))}else if("/auth/sign_out"===e.pathname){var i=fetch(t.request),a=w();t.respondWith(i.then(function(t){return t.ok||"opaqueredirect"===t.type?Promise.all([a.then(function(t){return t.delete("/web")}),indexedDB.deleteDatabase("mastodon")]).then(function(){return t}):t}))}})}]);
\ No newline at end of file