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",""":'"',"'":"'"});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;oe.description?1:0});e/g,"\n").replace(/<\/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