var serviceWorkerOption = {"assets":["/static/img/nsfw.74818f9.png","/static/js/manifest.6aa5664a1a2c0832ce7b.js","/static/js/vendor.56a115a1d7339d6811a0.js","/static/js/app.59ebcfb47f86a7a5ba3f.js","/static/css/app.42c43da15d7ab16ad8e42d21fcfc5a43.css"]}; !function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}var t={};return n.m=e,n.c=t,n.p="/",n(0)}([function(e,n,t){"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 n=e.type;return"window"===n})})}var a=t(1),u=r(a);self.addEventListener("push",function(e){e.data&&e.waitUntil(o().then(function(n){return n&&i().then(function(n){var t=e.data.json();if(0===n.length)return self.registration.showNotification(t.title,t)})}))}),self.addEventListener("notificationclick",function(e){e.notification.close(),e.waitUntil(i().then(function(e){for(var n=0;n=43)}}).catch(function(){return!1})}function v(e){return"boolean"==typeof Se?we.resolve(Se):d(e).then(function(e){return Se=e})}function h(e){var n=Ee[e.name],t={};t.promise=new we(function(e,n){t.resolve=e,t.reject=n}),n.deferredOperations.push(t),n.dbReady?n.dbReady=n.dbReady.then(function(){return t.promise}):n.dbReady=t.promise}function y(e){var n=Ee[e.name],t=n.deferredOperations.pop();if(t)return t.resolve(),t.promise}function p(e,n){var t=Ee[e.name],r=t.deferredOperations.pop();if(r)return r.reject(n),r.promise}function b(e,n){return new we(function(t,r){if(Ee[e.name]=Ee[e.name]||A(),e.db){if(!n)return t(e.db);h(e),e.db.close()}var o=[e.name];n&&o.push(e.version);var i=_e.open.apply(_e,o);n&&(i.onupgradeneeded=function(n){var t=i.result;try{t.createObjectStore(e.storeName),n.oldVersion<=1&&t.createObjectStore(Ie)}catch(t){if("ConstraintError"!==t.name)throw t;console.warn('The database "'+e.name+'" has been upgraded from version '+n.oldVersion+" to version "+n.newVersion+', but the storage "'+e.storeName+'" already exists.')}}),i.onerror=function(e){e.preventDefault(),r(i.error)},i.onsuccess=function(){t(i.result),y(e)}})}function m(e){return b(e,!1)}function g(e){return b(e,!0)}function _(e,n){if(!e.db)return!0;var t=!e.db.objectStoreNames.contains(e.storeName),r=e.versione.db.version;if(r&&(e.version!==n&&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||t){if(t){var i=e.db.version+1;i>e.version&&(e.version=i)}return!0}return!1}function w(e){return new we(function(n,t){var r=new FileReader;r.onerror=t,r.onloadend=function(t){var r=btoa(t.target.result||"");n({__local_forage_encoded_blob:!0,data:r,type:e.type})},r.readAsBinaryString(e)})}function I(e){var n=l(atob(e.data));return a([n],{type:e.type})}function S(e){return e&&e.__local_forage_encoded_blob}function E(e){var n=this,t=n._initReady().then(function(){var e=Ee[n._dbInfo.name];if(e&&e.dbReady)return e.dbReady});return c(t,e,e),t}function N(e){h(e);for(var n=Ee[e.name],t=n.forages,r=0;r0&&(!e.db||"InvalidStateError"===o.name||"NotFoundError"===o.name))return we.resolve().then(function(){if(!e.db||"NotFoundError"===o.name&&!e.db.objectStoreNames.contains(e.storeName)&&e.version<=e.db.version)return e.db&&(e.version=e.db.version+1),g(e)}).then(function(){return N(e).then(function(){j(e,n,t,r-1)})}).catch(t);t(o)}}function A(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function R(e){function n(){return we.resolve()}var t=this,r={db:null};if(e)for(var o in e)r[o]=e[o];var i=Ee[r.name];i||(i=A(),Ee[r.name]=i),i.forages.push(t),t._initReady||(t._initReady=t.ready,t.ready=E);for(var a=[],u=0;u>4,s[c++]=(15&r)<<4|o>>2,s[c++]=(3&o)<<6|63&i;return f}function P(e){var n,t=new Uint8Array(e),r="";for(n=0;n>2],r+=Oe[(3&t[n])<<4|t[n+1]>>4],r+=Oe[(15&t[n+1])<<2|t[n+2]>>6],r+=Oe[63&t[n+2]];return t.length%3===2?r=r.substring(0,r.length-1)+"=":t.length%3===1&&(r=r.substring(0,r.length-2)+"=="),r}function U(e,n){var t="";if(e&&(t=Ke.call(e)),e&&("[object ArrayBuffer]"===t||e.buffer&&"[object ArrayBuffer]"===Ke.call(e.buffer))){var r,o=Be;e instanceof ArrayBuffer?(r=e,o+=Ce):(r=e.buffer,"[object Int8Array]"===t?o+=Fe:"[object Uint8Array]"===t?o+=Le:"[object Uint8ClampedArray]"===t?o+=Me:"[object Int16Array]"===t?o+=ze:"[object Uint16Array]"===t?o+=Ue:"[object Int32Array]"===t?o+=Pe:"[object Uint32Array]"===t?o+=qe:"[object Float32Array]"===t?o+=We:"[object Float64Array]"===t?o+=He:n(new Error("Failed to get type for BinaryArray"))),n(o+P(r))}else if("[object Blob]"===t){var i=new FileReader;i.onload=function(){var t=xe+e.type+"~"+P(this.result);n(Be+Te+t)},i.readAsArrayBuffer(e)}else try{n(JSON.stringify(e))}catch(t){console.error("Couldn't convert value into a JSON string: ",e),n(null,t)}}function q(e){if(e.substring(0,ke)!==Be)return JSON.parse(e);var n,t=e.substring(Qe),r=e.substring(ke,Qe);if(r===Te&&De.test(t)){var o=t.match(De);n=o[1],t=t.substring(o[0].length)}var i=z(t);switch(r){case Ce:return i;case Te:return a([i],{type:n});case Fe:return new Int8Array(i);case Le:return new Uint8Array(i);case Me:return new Uint8ClampedArray(i);case ze:return new Int16Array(i);case Ue:return new Uint16Array(i);case Pe:return new Int32Array(i);case qe:return new Uint32Array(i);case We:return new Float32Array(i);case He:return new Float64Array(i);default:throw new Error("Unkown type: "+r)}}function W(e,n,t,r){e.executeSql("CREATE TABLE IF NOT EXISTS "+n.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],t,r)}function H(e){var n=this,t={db:null};if(e)for(var r in e)t[r]="string"!=typeof e[r]?e[r].toString():e[r];var o=new we(function(e,r){try{t.db=openDatabase(t.name,String(t.version),t.description,t.size)}catch(e){return r(e)}t.db.transaction(function(o){W(o,t,function(){n._dbInfo=t,e()},function(e,n){r(n)})},r)});return t.serializer=Xe,o}function Q(e,n,t,r,o,i){e.executeSql(t,r,o,function(e,a){a.code===a.SYNTAX_ERR?e.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[n.storeName],function(e,u){u.rows.length?i(e,a):W(e,n,function(){e.executeSql(t,r,o,i)},i)},i):i(e,a)},i)}function K(e,n){var t=this;e=f(e);var r=new we(function(n,r){t.ready().then(function(){var o=t._dbInfo;o.db.transaction(function(t){Q(t,o,"SELECT * FROM "+o.storeName+" WHERE key = ? LIMIT 1",[e],function(e,t){var r=t.rows.length?t.rows.item(0).value:null;r&&(r=o.serializer.deserialize(r)),n(r)},function(e,n){r(n)})})}).catch(r)});return u(r,n),r}function X(e,n){var t=this,r=new we(function(n,r){t.ready().then(function(){var o=t._dbInfo;o.db.transaction(function(t){Q(t,o,"SELECT * FROM "+o.storeName,[],function(t,r){for(var i=r.rows,a=i.length,u=0;u0)return void i(G.apply(o,[e,u,t,r-1]));a(n)}})})}).catch(a)});return u(i,t),i}function J(e,n,t){return G.apply(this,[e,n,t,1])}function V(e,n){var t=this;e=f(e);var r=new we(function(n,r){t.ready().then(function(){var o=t._dbInfo;o.db.transaction(function(t){Q(t,o,"DELETE FROM "+o.storeName+" WHERE key = ?",[e],function(){n()},function(e,n){r(n)})})}).catch(r)});return u(r,n),r}function Y(e){var n=this,t=new we(function(e,t){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){Q(n,r,"DELETE FROM "+r.storeName,[],function(){e()},function(e,n){t(n)})})}).catch(t)});return u(t,e),t}function Z(e){var n=this,t=new we(function(e,t){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){Q(n,r,"SELECT COUNT(key) as c FROM "+r.storeName,[],function(n,t){var r=t.rows.item(0).c;e(r)},function(e,n){t(n)})})}).catch(t)});return u(t,e),t}function $(e,n){var t=this,r=new we(function(n,r){t.ready().then(function(){var o=t._dbInfo;o.db.transaction(function(t){Q(t,o,"SELECT key FROM "+o.storeName+" WHERE id = ? LIMIT 1",[e+1],function(e,t){var r=t.rows.length?t.rows.item(0).key:null;n(r)},function(e,n){r(n)})})}).catch(r)});return u(r,n),r}function ee(e){var n=this,t=new we(function(e,t){n.ready().then(function(){var r=n._dbInfo;r.db.transaction(function(n){Q(n,r,"SELECT key FROM "+r.storeName,[],function(n,t){for(var r=[],o=0;o '__WebKitDatabaseInfoTable__'",[],function(t,r){for(var o=[],i=0;i0}function ue(e){var n=this,t={};if(e)for(var r in e)t[r]=e[r];return t.keyPrefix=oe(e,n._defaultConfig),ae()?(n._dbInfo=t,t.serializer=Xe,we.resolve()):we.reject()}function ce(e){var n=this,t=n.ready().then(function(){for(var e=n._dbInfo.keyPrefix,t=localStorage.length-1;t>=0;t--){var r=localStorage.key(t);0===r.indexOf(e)&&localStorage.removeItem(r)}});return u(t,e),t}function fe(e,n){var t=this;e=f(e);var r=t.ready().then(function(){var n=t._dbInfo,r=localStorage.getItem(n.keyPrefix+e);return r&&(r=n.serializer.deserialize(r)),r});return u(r,n),r}function se(e,n){var t=this,r=t.ready().then(function(){for(var n=t._dbInfo,r=n.keyPrefix,o=r.length,i=localStorage.length,a=1,u=0;u=0;n--){var t=localStorage.key(n);0===t.indexOf(e)&&localStorage.removeItem(t)}}):we.reject("Invalid arguments"),u(r,n),r}function be(e,n){e[n]=function(){var t=arguments;return e.ready().then(function(){return e[n].apply(e,t)})}}function me(){for(var e=1;e