X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Fstatic%2Fpacks%2Fflavours%2Fglitch%2Fhome.js;h=e4bac5b56e4073dc13dc162c88046156cdcc8ef3;hb=e442ea5722404ca551135b6f4767c016952bbda3;hp=e41a4662699544a4c83ad15e2463e950d9a2dc52;hpb=cfb5be3cedcd0e486851ebaf2b3abb4b838fc909;p=akkoma diff --git a/priv/static/packs/flavours/glitch/home.js b/priv/static/packs/flavours/glitch/home.js index e41a46626..e4bac5b56 100644 --- a/priv/static/packs/flavours/glitch/home.js +++ b/priv/static/packs/flavours/glitch/home.js @@ -1,2 +1,80 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[81,0],[function(e,t,n){"use strict";var c;function a(e,t,n,a){c||(c="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var r=e&&e.defaultProps,o=arguments.length-3;if(t||0===o||(t={children:void 0}),t&&r)for(var i in r)void 0===t[i]&&(t[i]=r[i]);else t||(t=r||{});if(1===o)t.children=a;else if(1>>0;if(""+n!==t||4294967295===n)return NaN;t=n}return t<0?x(e)+t:t}function F(){return!0}function C(e,t,n){return(0===e||void 0!==n&&e<=-n)&&(void 0===t||void 0!==n&&n<=t)}function T(e,t){return I(e,t,0)}function M(e,t){return I(e,t,t)}function I(e,t,n){return void 0===e?n:e<0?Math.max(0,t+e):void 0===t?e:Math.min(t,e)}var D=0,P=1,N=2,A="function"==typeof Symbol&&Symbol.iterator,L="@@iterator",R=A||L;function U(e){this.next=e}function q(e,t,n,a){var r=0===e?t:1===e?n:[t,n];return a?a.value=r:a={value:r,done:!1},a}function z(){return{value:void 0,done:!0}}function B(e){return!!K(e)}function H(e){return e&&"function"==typeof e.next}function W(e){var t=K(e);return t&&t.call(e)}function K(e){var t=e&&(A&&e[A]||e[L]);if("function"==typeof t)return t}function V(e){return e&&"number"==typeof e.length}function G(e){return null==e?ie():u(e)?e.toSeq():function(e){var t=ce(e)||"object"==typeof e&&new ne(e);if(t)return t;throw new TypeError("Expected Array or iterable object of values, or keyed object: "+e)}(e)}function X(e){return null==e?ie().toKeyedSeq():u(e)?f(e)?e.toSeq():e.fromEntrySeq():se(e)}function $(e){return null==e?ie():u(e)?f(e)?e.entrySeq():e.toIndexedSeq():le(e)}function Y(e){return(null==e?ie():u(e)?f(e)?e.entrySeq():e:le(e)).toSetSeq()}U.prototype.toString=function(){return"[Iterator]"},U.KEYS=D,U.VALUES=P,U.ENTRIES=N,U.prototype.inspect=U.prototype.toSource=function(){return this.toString()},U.prototype[R]=function(){return this},e(G,l),G.of=function(){return G(arguments)},G.prototype.toSeq=function(){return this},G.prototype.toString=function(){return this.__toString("Seq {","}")},G.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},G.prototype.__iterate=function(e,t){return ue(this,e,t,!0)},G.prototype.__iterator=function(e,t){return fe(this,e,t,!0)},e(X,G),X.prototype.toKeyedSeq=function(){return this},e($,G),$.of=function(){return $(arguments)},$.prototype.toIndexedSeq=function(){return this},$.prototype.toString=function(){return this.__toString("Seq [","]")},$.prototype.__iterate=function(e,t){return ue(this,e,t,!1)},$.prototype.__iterator=function(e,t){return fe(this,e,t,!1)},e(Y,G),Y.of=function(){return Y(arguments)},Y.prototype.toSetSeq=function(){return this},G.isSeq=oe,G.Keyed=X,G.Set=Y,G.Indexed=$;var Q,J,Z,ee="@@__IMMUTABLE_SEQ__@@";function te(e){this._array=e,this.size=e.length}function ne(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}function ae(e){this._iterable=e,this.size=e.length||e.size}function re(e){this._iterator=e,this._iteratorCache=[]}function oe(e){return!(!e||!e[ee])}function ie(){return Q||(Q=new te([]))}function se(e){var t=Array.isArray(e)?new te(e).fromEntrySeq():H(e)?new re(e).fromEntrySeq():B(e)?new ae(e).fromEntrySeq():"object"==typeof e?new ne(e):void 0;if(!t)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+e);return t}function le(e){var t=ce(e);if(!t)throw new TypeError("Expected Array or iterable object of values: "+e);return t}function ce(e){return V(e)?new te(e):H(e)?new re(e):B(e)?new ae(e):void 0}function ue(e,t,n,a){var r=e._cache;if(r){for(var o=r.length-1,i=0;i<=o;i++){var s=r[n?o-i:i];if(!1===t(s[1],a?s[0]:i,e))return i+1}return i}return e.__iterateUncached(t,n)}function fe(e,t,n,a){var r=e._cache;if(r){var o=r.length-1,i=0;return new U(function(){var e=r[n?o-i:i];return i++>o?{value:void 0,done:!0}:q(t,a?e[0]:i-1,e[1])})}return e.__iteratorUncached(t,n)}function de(e,t){return t?function n(a,r,e,t){return Array.isArray(r)?a.call(t,e,$(r).map(function(e,t){return n(a,e,t,r)})):he(r)?a.call(t,e,X(r).map(function(e,t){return n(a,e,t,r)})):r}(t,e,"",{"":e}):pe(e)}function pe(e){return Array.isArray(e)?$(e).map(pe).toList():he(e)?X(e).map(pe).toMap():e}function he(e){return e&&(e.constructor===Object||void 0===e.constructor)}function me(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if(e=e.valueOf(),t=t.valueOf(),e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!("function"!=typeof e.equals||"function"!=typeof t.equals||!e.equals(t))}function ge(n,e){if(n===e)return!0;if(!u(e)||void 0!==n.size&&void 0!==e.size&&n.size!==e.size||void 0!==n.__hash&&void 0!==e.__hash&&n.__hash!==e.__hash||f(n)!==f(e)||d(n)!==d(e)||h(n)!==h(e))return!1;if(0===n.size&&0===e.size)return!0;var a=!p(n);if(h(n)){var r=n.entries();return e.every(function(e,t){var n=r.next().value;return n&&me(n[1],e)&&(a||me(n[0],t))})&&r.next().done}var o=!1;if(void 0===n.size)if(void 0===e.size)"function"==typeof n.cacheResult&&n.cacheResult();else{o=!0;var t=n;n=e,e=t}var i=!0,s=e.__iterate(function(e,t){if(a?!n.has(e):o?!me(e,n.get(t,_)):!me(n.get(t,_),e))return i=!1});return i&&n.size===s}function be(e,t){if(!(this instanceof be))return new be(e,t);if(this._value=e,this.size=void 0===t?1/0:Math.max(0,t),0===this.size){if(J)return J;J=this}}function _e(e,t){if(!e)throw new Error(t)}function ye(e,t,n){if(!(this instanceof ye))return new ye(e,t,n);if(_e(0!==n,"Cannot step a Range by 0"),e=e||0,void 0===t&&(t=1/0),n=void 0===n?1:Math.abs(n),to?{value:void 0,done:!0}:q(t,e,a[e])})},ne.prototype[i]=!0,e(ae,$),ae.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var n=this._iterable,a=W(n),r=0;if(H(a))for(var o;!(o=a.next()).done&&!1!==e(o.value,r++,this););return r},ae.prototype.__iteratorUncached=function(t,e){if(e)return this.cacheResult().__iterator(t,e);var n=this._iterable,a=W(n);if(!H(a))return new U(z);var r=0;return new U(function(){var e=a.next();return e.done?e:q(t,r++,e.value)})},e(re,$),re.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);for(var n,a=this._iterator,r=this._iteratorCache,o=0;o=a.length){var e=n.next();if(e.done)return e;a[r]=e.value}return q(t,r,a[r++])})},e(be,$),be.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},be.prototype.get=function(e,t){return this.has(e)?this._value:t},be.prototype.includes=function(e){return me(this._value,e)},be.prototype.slice=function(e,t){var n=this.size;return C(e,t,n)?this:new be(this._value,M(t,n)-T(e,n))},be.prototype.reverse=function(){return this},be.prototype.indexOf=function(e){return me(this._value,e)?0:-1},be.prototype.lastIndexOf=function(e){return me(this._value,e)?this.size:-1},be.prototype.__iterate=function(e,t){for(var n=0;n>>16)*a+n*(t>>>16)<<16>>>0)|0};function Ee(e){return e>>>1&1073741824|3221225471&e}function xe(e){if(!1===e||null==e)return 0;if("function"==typeof e.valueOf&&(!1===(e=e.valueOf())||null==e))return 0;if(!0===e)return 1;var t,n,a=typeof e;if("number"===a){if(e!=e||e===1/0)return 0;var r=0|e;for(r!==e&&(r^=4294967295*e);4294967295Pe?(void 0===(n=Le[t=e])&&(n=Se(t),Ae===Ne&&(Ae=0,Le={}),Ae++,Le[t]=n),n):Se(e);if("function"==typeof e.hashCode)return e.hashCode();if("object"===a)return function(e){var t;if(Me&&void 0!==(t=Fe.get(e)))return t;if(void 0!==(t=e[De]))return t;if(!Te){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[De]))return t;if(void 0!==(t=function(e){if(e&&0=n.length)throw new Error("Missing value for key: "+n[t]);e.set(n[t],n[t+1])}})},Ue.prototype.toString=function(){return this.__toString("Map {","}")},Ue.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},Ue.prototype.set=function(e,t){return et(this,e,t)},Ue.prototype.setIn=function(e,t){return this.updateIn(e,_,function(){return t})},Ue.prototype.remove=function(e){return et(this,e,_)},Ue.prototype.deleteIn=function(e){return this.updateIn(e,function(){return _})},Ue.prototype.update=function(e,t,n){return 1===arguments.length?e(this):this.updateIn([e],t,n)},Ue.prototype.updateIn=function(e,t,n){n||(n=t,t=void 0);var a=function e(t,n,a,r){var o=t===_,i=n.next();if(i.done){var s=o?a:t,l=r(s);return l===s?t:l}_e(o||t&&t.set,"invalid keyPath");var c=i.value,u=o?_:t.get(c,_),f=e(u,n,a,r);return f===u?t:f===_?t.remove(c):(o?Ze():t).set(c,f)}(this,an(e),t,n);return a===_?void 0:a},Ue.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ze()},Ue.prototype.merge=function(){return rt(this,void 0,arguments)},Ue.prototype.mergeWith=function(e){var t=a.call(arguments,1);return rt(this,e,t)},Ue.prototype.mergeIn=function(e){var t=a.call(arguments,1);return this.updateIn(e,Ze(),function(e){return"function"==typeof e.merge?e.merge.apply(e,t):t[t.length-1]})},Ue.prototype.mergeDeep=function(){return rt(this,ot,arguments)},Ue.prototype.mergeDeepWith=function(e){var t=a.call(arguments,1);return rt(this,it(e),t)},Ue.prototype.mergeDeepIn=function(e){var t=a.call(arguments,1);return this.updateIn(e,Ze(),function(e){return"function"==typeof e.mergeDeep?e.mergeDeep.apply(e,t):t[t.length-1]})},Ue.prototype.sort=function(e){return Tt(Vt(this,e))},Ue.prototype.sortBy=function(e,t){return Tt(Vt(this,t,e))},Ue.prototype.withMutations=function(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this},Ue.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new j)},Ue.prototype.asImmutable=function(){return this.__ensureOwner()},Ue.prototype.wasAltered=function(){return this.__altered},Ue.prototype.__iterator=function(e,t){return new $e(this,e,t)},Ue.prototype.__iterate=function(t,e){var n=this,a=0;return this._root&&this._root.iterate(function(e){return a++,t(e[1],e[0],n)},e),a},Ue.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Je(this.size,this._root,e,this.__hash):(this.__ownerID=e,this.__altered=!1,this)},Ue.isMap=qe;var ze,Be="@@__IMMUTABLE_MAP__@@",He=Ue.prototype;function We(e,t){this.ownerID=e,this.entries=t}function Ke(e,t,n){this.ownerID=e,this.bitmap=t,this.nodes=n}function Ve(e,t,n){this.ownerID=e,this.count=t,this.nodes=n}function Ge(e,t,n){this.ownerID=e,this.keyHash=t,this.entries=n}function Xe(e,t,n){this.ownerID=e,this.keyHash=t,this.entry=n}function $e(e,t,n){this._type=t,this._reverse=n,this._stack=e._root&&Qe(e._root)}function Ye(e,t){return q(e,t[0],t[1])}function Qe(e,t){return{node:e,index:0,__prev:t}}function Je(e,t,n,a){var r=Object.create(He);return r.size=e,r._root=t,r.__ownerID=n,r.__hash=a,r.__altered=!1,r}function Ze(){return ze||(ze=Je(0))}function et(e,t,n){var a,r;if(e._root){var o=v(g),i=v(b);if(a=tt(e._root,e.__ownerID,0,void 0,t,n,o,i),!i.value)return e;r=e.size+(o.value?n===_?-1:1:0)}else{if(n===_)return e;r=1,a=new We(e.__ownerID,[[t,n]])}return e.__ownerID?(e.size=r,e._root=a,e.__hash=void 0,e.__altered=!0,e):a?Je(r,a):Ze()}function tt(e,t,n,a,r,o,i,s){return e?e.update(t,n,a,r,o,i,s):o===_?e:(O(s),O(i),new Xe(t,a,[r,o]))}function nt(e){return e.constructor===Xe||e.constructor===Ge}function at(e,t,n,a,r){if(e.keyHash===a)return new Ge(t,a,[e.entry,r]);var o,i=(0===n?e.keyHash:e.keyHash>>>n)&y,s=(0===n?a:a>>>n)&y,l=i===s?[at(e,t,n+w,a,r)]:(o=new Xe(t,a,r),i>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function ct(e,t,n,a){var r=a?e:E(e);return r[t]=n,r}He[Be]=!0,He[m]=He.remove,He.removeIn=He.deleteIn,We.prototype.get=function(e,t,n,a){for(var r=this.entries,o=0,i=r.length;o=ut)return function(e,t,n,a){e||(e=new j);for(var r=new Xe(e,xe(n),[n,a]),o=0;o>>e)&y),o=this.bitmap;return 0==(o&r)?a:this.nodes[lt(o&r-1)].get(e+w,t,n,a)},Ke.prototype.update=function(e,t,n,a,r,o,i){void 0===n&&(n=xe(a));var s=(0===t?n:n>>>t)&y,l=1<=ft)return function(e,t,n,a,r){for(var o=0,i=new Array(k),s=0;0!==n;s++,n>>>=1)i[s]=1&n?t[o++]:void 0;return i[a]=r,new Ve(e,o+1,i)}(e,d,c,s,h);if(u&&!h&&2===d.length&&nt(d[1^f]))return d[1^f];if(u&&h&&1===d.length&&nt(h))return h;var m=e&&e===this.ownerID,g=u?h?c:c^l:c|l,b=u?h?ct(d,f,h,m):function(e,t,n){var a=e.length-1;if(n&&t===a)return e.pop(),e;for(var r=new Array(a),o=0,i=0;i>>e)&y,o=this.nodes[r];return o?o.get(e+w,t,n,a):a},Ve.prototype.update=function(e,t,n,a,r,o,i){void 0===n&&(n=xe(a));var s=(0===t?n:n>>>t)&y,l=r===_,c=this.nodes,u=c[s];if(l&&!u)return this;var f=tt(u,e,t+w,n,a,r,o,i);if(f===u)return this;var d=this.count;if(u){if(!f&&--d=e.size||t<0)return e.withMutations(function(e){t<0?St(e,t).set(0,n):St(e,0,t+1).set(t,n)});t+=e._origin;var a=e._tail,r=e._root,o=v(b);return t>=Ct(e._capacity)?a=jt(a,e.__ownerID,0,t,n,o):r=jt(r,e.__ownerID,e._level,t,n,o),o.value?e.__ownerID?(e._root=r,e._tail=a,e.__hash=void 0,e.__altered=!0,e):kt(e._origin,e._capacity,e._level,r,a):e}(this,e,t)},pt.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},pt.prototype.insert=function(e,t){return this.splice(e,0,t)},pt.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=w,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Ot()},pt.prototype.push=function(){var n=arguments,a=this.size;return this.withMutations(function(e){St(e,0,a+n.length);for(var t=0;t>>t&y;if(a>=this.array.length)return new bt([],e);var r,o=0===a;if(0>>t&y;if(r>=this.array.length)return this;if(0>r,k<(c=1+(b-o>>r))&&(c=k),function(){for(;;){if(i){var e=i();if(e!==vt)return e;i=null}if(l===c)return vt;var t=m?--c:l++;i=v(s&&s[t],r-w,o+(t<>>n&y,l=e&&s=Ct(e._capacity))return e._tail;if(t<1<>>a&y],a-=w;return n}}function St(e,t,n){void 0!==t&&(t|=0),void 0!==n&&(n|=0);var a=e.__ownerID||new j,r=e._origin,o=e._capacity,i=r+t,s=void 0===n?o:n<0?o+n:r+n;if(i===r&&s===o)return e;if(s<=i)return e.clear();for(var l=e._level,c=e._root,u=0;i+u<0;)c=new bt(c&&c.array.length?[void 0,c]:[],a),u+=1<<(l+=w);u&&(i+=u,r+=u,s+=u,o+=u);for(var f=Ct(o),d=Ct(s);1<>>g&y;m=m.array[b]=Et(m.array[b],a)}m.array[f>>>w&y]=p}if(s>>l&y;if(_!==d>>>l&y)break;_&&(u+=(1<r&&(r=s.size),u(i)||(s=s.map(function(e){return de(e)})),a.push(s)}return r>e.size&&(e=e.setSize(r)),st(e,t,a)}function Ct(e){return e>>w<=k&&i.size>=2*o.size?(r=i.filter(function(e,t){return void 0!==e&&s!==t}),a=r.toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(a.__ownerID=r.__ownerID=e.__ownerID)):(a=o.remove(t),r=s===i.size-1?i.pop():i.set(s,void 0))}else if(l){if(n===i.get(s)[1])return e;a=o,r=i.set(s,[t,n])}else a=o.set(t,i.size),r=i.set(i.size,[t,n]);return e.__ownerID?(e.size=a.size,e._map=a,e._list=r,e.__hash=void 0,e):It(a,r)}function Nt(e,t){this._iter=e,this._useKeys=t,this.size=e.size}function At(e){this._iter=e,this.size=e.size}function Lt(e){this._iter=e,this.size=e.size}function Rt(e){this._iter=e,this.size=e.size}function Ut(r){var e=en(r);return e._iter=r,e.size=r.size,e.flip=function(){return r},e.reverse=function(){var e=r.reverse.apply(this);return e.flip=function(){return r.reverse()},e},e.has=function(e){return r.includes(e)},e.includes=function(e){return r.has(e)},e.cacheResult=tn,e.__iterateUncached=function(n,e){var a=this;return r.__iterate(function(e,t){return!1!==n(t,e,a)},e)},e.__iteratorUncached=function(e,t){if(e!==N)return r.__iterator(e===P?D:P,t);var n=r.__iterator(e,t);return new U(function(){var e=n.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})},e}function qt(o,i,s){var e=en(o);return e.size=o.size,e.has=function(e){return o.has(e)},e.get=function(e,t){var n=o.get(e,_);return n===_?t:i.call(s,n,e,o)},e.__iterateUncached=function(a,e){var r=this;return o.__iterate(function(e,t,n){return!1!==a(i.call(s,e,t,n),t,r)},e)},e.__iteratorUncached=function(a,e){var r=o.__iterator(N,e);return new U(function(){var e=r.next();if(e.done)return e;var t=e.value,n=t[0];return q(a,n,i.call(s,t[1],n,o),e)})},e}function zt(r,n){var e=en(r);return e._iter=r,e.size=r.size,e.reverse=function(){return r},r.flip&&(e.flip=function(){var e=Ut(r);return e.reverse=function(){return r.flip()},e}),e.get=function(e,t){return r.get(n?e:-1-e,t)},e.has=function(e){return r.has(n?e:-1-e)},e.includes=function(e){return r.includes(e)},e.cacheResult=tn,e.__iterate=function(n,e){var a=this;return r.__iterate(function(e,t){return n(e,t,a)},!e)},e.__iterator=function(e,t){return r.__iterator(e,!t)},e}function Bt(s,l,c,u){var e=en(s);return u&&(e.has=function(e){var t=s.get(e,_);return t!==_&&!!l.call(c,t,e,s)},e.get=function(e,t){var n=s.get(e,_);return n!==_&&l.call(c,n,e,s)?n:t}),e.__iterateUncached=function(a,e){var r=this,o=0;return s.__iterate(function(e,t,n){if(l.call(c,e,t,n))return o++,a(e,u?t:o-1,r)},e),o},e.__iteratorUncached=function(r,e){var o=s.__iterator(N,e),i=0;return new U(function(){for(;;){var e=o.next();if(e.done)return e;var t=e.value,n=t[0],a=t[1];if(l.call(c,a,n,s))return q(r,u?n:i++,a,e)}})},e}function Ht(s,e,t,l){var n=s.size;if(void 0!==e&&(e|=0),void 0!==t&&(t===1/0?t=n:t|=0),C(e,t,n))return s;var c=T(e,n),a=M(t,n);if(c!=c||a!=a)return Ht(s.toSeq().cacheResult(),e,t,l);var u,r=a-c;r==r&&(u=r<0?0:r);var o=en(s);return o.size=0===u?u:s.size&&u||void 0,!l&&oe(s)&&0<=u&&(o.get=function(e,t){return 0<=(e=S(this,e))&&eu)return{value:void 0,done:!0};var e=n.next();return l||t===P?e:q(t,r-1,t===D?void 0:e.value[1],e)})},o}function Wt(t,c,u,f){var e=en(t);return e.__iterateUncached=function(a,e){var r=this;if(e)return this.cacheResult().__iterate(a,e);var o=!0,i=0;return t.__iterate(function(e,t,n){if(!o||!(o=c.call(u,e,t,n)))return i++,a(e,f?t:i-1,r)}),i},e.__iteratorUncached=function(r,e){var o=this;if(e)return this.cacheResult().__iterator(r,e);var i=t.__iterator(N,e),s=!0,l=0;return new U(function(){var e,t,n;do{if((e=i.next()).done)return f||r===P?e:q(r,l++,r===D?void 0:e.value[1],e);var a=e.value;t=a[0],n=a[1],s&&(s=c.call(u,n,t,o))}while(s);return r===N?e:q(r,t,n,e)})},e}function Kt(e,l,c){var t=en(e);return t.__iterateUncached=function(o,t){var i=0,s=!1;return function n(e,a){var r=this;e.__iterate(function(e,t){return(!l||a>>-15,461845907),n=je(n<<13|n>>>-13,5),n=je((n=(n+3864292196|0)^t)^n>>>16,2246822507),n=Ee((n=je(n^n>>>13,3266489909))^n>>>16)}(this))}});var Mn=l.prototype;Mn[t]=!0,Mn[R]=Mn.values,Mn.__toJS=Mn.toArray,Mn.__toStringMapper=Ln,Mn.inspect=Mn.toSource=function(){return this.toString()},Mn.chain=Mn.flatMap,Mn.contains=Mn.includes,Tn(s,{flip:function(){return Yt(this,Ut(this))},mapEntries:function(n,a){var r=this,o=0;return Yt(this,this.toSeq().map(function(e,t){return n.call(a,[t,e],o++,r)}).fromEntrySeq())},mapKeys:function(n,a){var r=this;return Yt(this,this.toSeq().flip().map(function(e,t){return n.call(a,e,t,r)}).flip())}});var In=s.prototype;function Dn(e,t){return t}function Pn(e,t){return[t,e]}function Nn(e){return function(){return!e.apply(this,arguments)}}function An(e){return function(){return-e.apply(this,arguments)}}function Ln(e){return"string"==typeof e?JSON.stringify(e):String(e)}function Rn(){return E(arguments)}function Un(e,t){return e>2)|0}return In[n]=!0,In[R]=Mn.entries,In.__toJS=Mn.toObject,In.__toStringMapper=function(e,t){return JSON.stringify(t)+": "+Ln(e)},Tn(c,{toKeyedSeq:function(){return new Nt(this,!1)},filter:function(e,t){return Yt(this,Bt(this,e,t,!1))},findIndex:function(e,t){var n=this.findEntry(e,t);return n?n[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return Yt(this,zt(this,!1))},slice:function(e,t){return Yt(this,Ht(this,e,t,!1))},splice:function(e,t){var n=arguments.length;if(t=Math.max(0|t,0),0===n||2===n&&!t)return this;e=T(e,e<0?this.count():this.size);var a=this.slice(0,e);return Yt(this,1===n?a:a.concat(E(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var n=this.findLastEntry(e,t);return n?n[0]:-1},first:function(){return this.get(0)},flatten:function(e){return Yt(this,Kt(this,e,!1))},get:function(n,e){return(n=S(this,n))<0||this.size===1/0||void 0!==this.size&&n>this.size?e:this.find(function(e,t){return t===n},void 0,e)},has:function(e){return 0<=(e=S(this,e))&&(void 0!==this.size?this.size===1/0||e":">","<":"<",'"':""","'":"'"},Q=/[&><"']/g;function J(n,e){var a=2 needs to exist in the component ancestry.")}function ee(e,t){if(e===t)return!0;if("object"!==(void 0===e?"undefined":v(e))||null===e||"object"!==(void 0===t?"undefined":v(t))||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=Object.prototype.hasOwnProperty.bind(t),o=0;o/g,"\n").replace(/<\/p>

/g,"\n\n"),o=f(n);n.search_index=u.parseFromString(r,"text/html").documentElement.textContent,n.contentHtml=Object(l.default)(n.content,o),n.spoilerHtml=Object(l.default)(s()(a),o),n.hidden=!c.g&&(0/g,"\n").replace(/<\/p>

/g,"\n\n"),o=u(n);n.search_index=c.parseFromString(r,"text/html").documentElement.textContent,n.contentHtml=Object(l.default)(n.content,o),n.spoilerHtml=Object(l.default)(s()(a),o)}return n}(t,n().getIn(["statuses",t.id]))),g(a,t.account),t.reblog&&t.reblog.id&&e(t.reblog),t.poll&&t.poll.id&&g(o,f(t.poll))}),e(b(o)),e(y(a)),e({type:h,statuses:r})}}},function(e,t,n){"use strict";n.d(t,"b",function(){return b}),n.d(t,"d",function(){return _}),n.d(t,"w",function(){return y}),n.d(t,"x",function(){return v}),n.d(t,"v",function(){return w}),n.d(t,"p",function(){return k}),n.d(t,"q",function(){return O}),n.d(t,"e",function(){return j}),n.d(t,"h",function(){return E}),n.d(t,"r",function(){return x}),n.d(t,"J",function(){return S}),n.d(t,"K",function(){return F}),n.d(t,"H",function(){return C}),n.d(t,"I",function(){return T}),n.d(t,"L",function(){return M}),n.d(t,"y",function(){return I}),n.d(t,"z",function(){return D}),n.d(t,"A",function(){return P}),n.d(t,"B",function(){return N}),n.d(t,"C",function(){return A}),n.d(t,"i",function(){return L}),n.d(t,"D",function(){return R}),n.d(t,"a",function(){return U}),n.d(t,"s",function(){return q}),n.d(t,"t",function(){return z}),n.d(t,"u",function(){return B}),n.d(t,"M",function(){return H}),n.d(t,"c",function(){return W}),n.d(t,"g",function(){return K}),n.d(t,"F",function(){return V}),n.d(t,"G",function(){return G}),n.d(t,"E",function(){return X}),n.d(t,"f",function(){return $}),n.d(t,"j",function(){return Y}),n.d(t,"n",function(){return Q}),n.d(t,"k",function(){return J}),n.d(t,"l",function(){return Z}),n.d(t,"m",function(){return ee}),n.d(t,"o",function(){return te}),n.d(t,"Q",function(){return ae}),n.d(t,"kb",function(){return re}),n.d(t,"P",function(){return oe}),n.d(t,"lb",function(){return ie}),n.d(t,"gb",function(){return se}),n.d(t,"bb",function(){return le}),n.d(t,"nb",function(){return ce}),n.d(t,"cb",function(){return ue}),n.d(t,"qb",function(){return fe}),n.d(t,"Z",function(){return de}),n.d(t,"ob",function(){return pe}),n.d(t,"ab",function(){return he}),n.d(t,"db",function(){return _e}),n.d(t,"mb",function(){return ye}),n.d(t,"eb",function(){return we}),n.d(t,"hb",function(){return ke}),n.d(t,"pb",function(){return Oe}),n.d(t,"R",function(){return je}),n.d(t,"T",function(){return Ee}),n.d(t,"V",function(){return xe}),n.d(t,"U",function(){return Se}),n.d(t,"W",function(){return Fe}),n.d(t,"S",function(){return Ce}),n.d(t,"fb",function(){return Te}),n.d(t,"N",function(){return Me}),n.d(t,"ib",function(){return Ie}),n.d(t,"O",function(){return De}),n.d(t,"X",function(){return Pe}),n.d(t,"jb",function(){return Ne}),n.d(t,"Y",function(){return Ae});var o,s=n(15),a=n(87),r=n.n(a),d=n(10),i=n(73),l=n(260),c=n(236),u=n(106),f=n(259),p=n(18),h=n(34),m=n(53),g=n(7),b="COMPOSE_CHANGE",_="COMPOSE_CYCLE_ELEFRIEND",y="COMPOSE_SUBMIT_REQUEST",v="COMPOSE_SUBMIT_SUCCESS",w="COMPOSE_SUBMIT_FAIL",k="COMPOSE_REPLY",O="COMPOSE_REPLY_CANCEL",j="COMPOSE_DIRECT",E="COMPOSE_MENTION",x="COMPOSE_RESET",S="COMPOSE_UPLOAD_REQUEST",F="COMPOSE_UPLOAD_SUCCESS",C="COMPOSE_UPLOAD_FAIL",T="COMPOSE_UPLOAD_PROGRESS",M="COMPOSE_UPLOAD_UNDO",I="COMPOSE_SUGGESTIONS_CLEAR",D="COMPOSE_SUGGESTIONS_READY",P="COMPOSE_SUGGESTION_SELECT",N="COMPOSE_SUGGESTION_TAGS_UPDATE",A="COMPOSE_TAG_HISTORY_UPDATE",L="COMPOSE_MOUNT",R="COMPOSE_UNMOUNT",U="COMPOSE_ADVANCED_OPTIONS_CHANGE",q="COMPOSE_SENSITIVITY_CHANGE",z="COMPOSE_SPOILERNESS_CHANGE",B="COMPOSE_SPOILER_TEXT_CHANGE",H="COMPOSE_VISIBILITY_CHANGE",W="COMPOSE_CONTENT_TYPE_CHANGE",K="COMPOSE_EMOJI_INSERT",V="COMPOSE_UPLOAD_UPDATE_REQUEST",G="COMPOSE_UPLOAD_UPDATE_SUCCESS",X="COMPOSE_UPLOAD_UPDATE_FAIL",$="COMPOSE_DOODLE_SET",Y="COMPOSE_POLL_ADD",Q="COMPOSE_POLL_REMOVE",J="COMPOSE_POLL_OPTION_ADD",Z="COMPOSE_POLL_OPTION_CHANGE",ee="COMPOSE_POLL_OPTION_REMOVE",te="COMPOSE_POLL_SETTINGS_CHANGE",ne=Object(g.f)({uploadErrorLimit:{id:"upload_error.limit",defaultMessage:"File upload limit exceeded."},uploadErrorPoll:{id:"upload_error.poll",defaultMessage:"File upload not allowed with polls."}});function ae(e){return{type:b,text:e}}function re(n,a){return function(e,t){e({type:k,status:n}),a&&!t().getIn(["compose","mounted"])&&a.push("/statuses/new")}}function oe(){return{type:O}}function ie(){return{type:x}}function se(n,a){return function(e,t){e({type:E,account:n}),t().getIn(["compose","mounted"])||a.push("/statuses/new")}}function le(n,a){return function(e,t){e({type:j,account:n}),t().getIn(["compose","mounted"])||a.push("/statuses/new")}}function ce(i){return function(a,r){var o=r().getIn(["compose","text"],""),e=r().getIn(["compose","media_attachments"]),t=r().getIn(["compose","spoiler_text"],"");(o&&o.length||0!==e.size)&&(a({type:y}),r().getIn(["compose","advanced_options","do_not_federate"])&&(o+=" 👁️"),Object(d.a)(r).post("/api/v1/statuses",{status:o,content_type:r().getIn(["compose","content_type"]),in_reply_to_id:r().getIn(["compose","in_reply_to"],null),media_ids:e.map(function(e){return e.get("id")}),sensitive:r().getIn(["compose","sensitive"])||0=l.length)return"break";f=l[u++]}else{if((u=l.next()).done)return"break";f=u.value}var e=f,a=e[0],t=e[1],n=new FormData;n.append("file",t),Object(d.a)(o).post("/api/v1/media",n,{onUploadProgress:function(e){var t,n=e.loaded;i[a]=n,r((t=i.reduce(function(e,t){return e+t},0),{type:T,loaded:t,total:s}))}}).then(function(e){var t;r((t=e.data,{type:F,media:t,skipLoading:!0}))}).catch(function(e){r({type:C,error:e,skipLoading:!0})})},l=Array.from(n).entries(),c=Array.isArray(l),u=0;for(l=c?l:l[Symbol.iterator]();;){var f;if("break"===t())break}}}}function de(t,a){return function(n,e){n({type:V,skipLoading:!0}),Object(d.a)(e).put("/api/v1/media/"+t,a).then(function(e){var t;n((t=e.data,{type:G,media:t,skipLoading:!0}))}).catch(function(e){n({type:X,error:t,skipLoading:!0})})}}function pe(e){return{type:M,media_id:e}}function he(){return o&&o(),{type:I}}var me=r()(function(a,e,r){o&&o(),Object(d.a)(e).get("/api/v1/accounts/search",{cancelToken:new i.CancelToken(function(e){o=e}),params:{q:r.slice(1),resolve:!1,limit:4}}).then(function(e){var t,n;a(Object(p.f)(e.data)),a((t=r,n=e.data,{type:D,token:t,accounts:n}))}).catch(function(e){Object(i.isCancel)(e)||a(Object(m.f)(e))})},200,{leading:!0,trailing:!0}),ge=function(e,t,n){var a=Object(l.a)(n.replace(":",""),{maxResults:5});e({type:D,token:n,emojis:a})},be=function(e,t,n){e({type:N,token:n})};function _e(n){return function(e,t){switch(n[0]){case":":ge(e,t,n);break;case"#":be(e,t,n);break;default:me(e,t,n)}}}function ye(a,r,o,i){return function(e,t){var n;n="object"==typeof o&&o.id?(e(Object(c.b)(o)),o.native||o.colons):"#"===o[0]?o:"@"+t().getIn(["accounts",o,"acct"]),e({type:P,position:a,token:r,completion:n,path:i})}}function ve(e){return{type:A,tags:e}}function we(){return function(e,t){var n=t().getIn(["meta","me"]),a=u.b.get(n);null!==a&&e(ve(a))}}function ke(){return{type:L}}function Oe(){return{type:R}}function je(e,t){return{option:e,type:U,value:t}}function Ee(){return{type:q}}function xe(){return{type:z}}function Se(e){return{type:B,text:e}}function Fe(e){return{type:H,value:e}}function Ce(e){return{type:W,value:e}}function Te(e,t){return{type:K,position:e,emoji:t}}function Me(){return{type:Y}}function Ie(){return{type:Q}}function De(e){return{type:J,title:e}}function Pe(e,t){return{type:Z,index:e,title:t}}function Ne(e){return{type:ee,index:e}}function Ae(e,t){return{type:te,expiresIn:e,isMultiple:t}}},function(e,t,n){"use strict";e.exports=function(e,t,n,a,r,o,i,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,r,o,i,s],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";function k(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}n.r(t);var O=n(3),j=n.n(O),E=(n(5),j.a.createContext(null)),a=function(a){function e(e){var t;t=a.call(this,e)||this;var n=e.store;return t.state={storeState:n.getState(),store:n},t}k(e,a);var t=e.prototype;return t.componentDidMount=function(){this._isMounted=!0,this.subscribe()},t.componentWillUnmount=function(){this.unsubscribe&&this.unsubscribe(),this._isMounted=!1},t.componentDidUpdate=function(e){this.props.store!==e.store&&(this.unsubscribe&&this.unsubscribe(),this.subscribe())},t.subscribe=function(){var e=this,n=this.props.store;this.unsubscribe=n.subscribe(function(){var t=n.getState();e._isMounted&&e.setState(function(e){return e.storeState===t?null:{storeState:t}})});var t=n.getState();t!==this.state.storeState&&this.setState({storeState:t})},t.render=function(){var e=this.props.context||E;return j.a.createElement(e.Provider,{value:this.state},this.props.children)},e}(O.Component);function x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S(){return(S=Object.assign||function(e){for(var t=1;t, or pass a custom React context provider to and the corresponding React context consumer to '+i+" in connect options.");var t,n=e.storeState,a=e.store,r=this.props;g&&(r=this.props.wrapperProps,t=this.props.forwardedRef);var o=this.selectDerivedProps(n,r,a);return this.selectChildElement(o,t)},t.render=function(){var e=this.props.context||w;return j.a.createElement(e.Consumer,null,this.renderWrappedComponent)},e}(n);if(a.WrappedComponent=e,a.displayName=i,g){var r=j.a.forwardRef(function(e,t){return j.a.createElement(a,{wrapperProps:e,forwardedRef:t})});return r.displayName=i,r.WrappedComponent=e,C()(r,e)}return C()(a,e)}}var s=Object.prototype.hasOwnProperty;function l(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function y(e,t){if(l(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(var r=0;r>",a={listOf:function(e){return s(e,"List",b.List.isList)},mapOf:function(e,t){return o(e,t,"Map",b.Map.isMap)},orderedMapOf:function(e,t){return o(e,t,"OrderedMap",b.OrderedMap.isOrderedMap)},setOf:function(e){return s(e,"Set",b.Set.isSet)},orderedSetOf:function(e){return s(e,"OrderedSet",b.OrderedSet.isOrderedSet)},stackOf:function(e){return s(e,"Stack",b.Stack.isStack)},iterableOf:function(e){return s(e,"Iterable",b.Iterable.isIterable)},recordOf:function(m){return c(function(e,t,n,a,r){for(var o=arguments.length,i=Array(5 key("+c[u]+")"].concat(i));if(d instanceof Error)return d}})).apply(void 0,t);var p})}function i(h){var m=void 0===arguments[1]?"Iterable":arguments[1],g=void 0===arguments[2]?b.Iterable.isIterable:arguments[2];return c(function(e,t,n,a,r){for(var o=arguments.length,i=Array(5',!0}return!1})()||(r=++a);else if(0<=t){if(!(r=l.indexOf(">;"[t],a+1)+1))return"break";0===t&&(p?"/"===l[a+1]?--p||(d=u):"/"!==l[r-2]&&p++:l.startsWith('

/g,"\n\n").replace(/<[^>]*>/g,""),t.textContent}},function(e,t,n){"use strict";n.d(t,"d",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"g",function(){return s}),n.d(t,"h",function(){return l}),n.d(t,"f",function(){return c}),n.d(t,"e",function(){return u}),n.d(t,"b",function(){return f}),n.d(t,"c",function(){return d}),n.d(t,"k",function(){return p}),n.d(t,"m",function(){return h}),n.d(t,"l",function(){return m}),n.d(t,"i",function(){return g}),n.d(t,"j",function(){return b});var a=n(10),r=n(50),o="REPORT_INIT",i="REPORT_CANCEL",s="REPORT_SUBMIT_REQUEST",l="REPORT_SUBMIT_SUCCESS",c="REPORT_SUBMIT_FAIL",u="REPORT_STATUS_TOGGLE",f="REPORT_COMMENT_CHANGE",d="REPORT_FORWARD_CHANGE";function p(t,n){return function(e){e({type:o,account:t,status:n}),e(Object(r.d)("REPORT"))}}function h(e,t){return{type:u,statusId:e,checked:t}}function m(){return function(n,e){n({type:s}),Object(a.a)(e).post("/api/v1/reports",{account_id:e().getIn(["reports","new","account_id"]),status_ids:e().getIn(["reports","new","status_ids"]),comment:e().getIn(["reports","new","comment"]),forward:e().getIn(["reports","new","forward"])}).then(function(e){var t;n(Object(r.c)()),n((t=e.data,{type:l,report:t}))}).catch(function(e){return n({type:c,error:e})})}}function g(e){return{type:f,comment:e}}function b(e){return{type:d,forward:e}}},,function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var a=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=a,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t/g,"\n").replace(/<\/p>

/g,"\n\n").replace(/<[^>]*>/g,""),t.textContent}},function(e,t,n){"use strict";n.d(t,"a",function(){return r}),n.d(t,"b",function(){return o});var a=function(){function e(e){void 0===e&&(e=null),this.keyBase=e}var t=e.prototype;return t.generateKey=function(e){return this.keyBase?[this.keyBase,"id"+e].join("."):e},t.set=function(e,t){var n=this.generateKey(e);try{var a=JSON.stringify(t);return localStorage.setItem(n,a),t}catch(e){return null}},t.get=function(e){var t=this.generateKey(e);try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}},t.remove=function(e){var t=this.get(e);if(t){var n=this.generateKey(e);try{localStorage.removeItem(n)}catch(e){}}return t},e}(),r=new a("mastodon_push_notification_data"),o=new a("mastodon_tag_history")},,function(e,t,n){"use strict";var u=n(78),a="function"==typeof Symbol&&Symbol.for,f=a?Symbol.for("react.element"):60103,c=a?Symbol.for("react.portal"):60106,r=a?Symbol.for("react.fragment"):60107,o=a?Symbol.for("react.strict_mode"):60108,i=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,l=a?Symbol.for("react.context"):60110,d=a?Symbol.for("react.concurrent_mode"):60111,p=a?Symbol.for("react.forward_ref"):60112,h=a?Symbol.for("react.suspense"):60113,m=a?Symbol.for("react.memo"):60115,g=a?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function _(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a

/g,"\n\n"),l=c(n);n.search_index=u.parseFromString(s,"text/html").documentElement.textContent,n.contentHtml=Object(i.default)(n.content,l),n.spoilerHtml=Object(i.default)(a()(o),l)}return n}(t,n().getIn(["statuses",t.id]))),g(o,t.account),t.reblog&&t.reblog.id&&e(t.reblog),t.poll&&t.poll.id&&g(f,l(t.poll))}),t(b(f)),t(y(o)),t(function(e){return{type:h,statuses:e}}(s))}}function O(e){return function(t){t(b([l(e)]))}}},function(e,t,n){"use strict";n.d(t,"p",function(){return s}),n.d(t,"a",function(){return u}),n.d(t,"g",function(){return c}),n.d(t,"s",function(){return l}),n.d(t,"b",function(){return f}),n.d(t,"h",function(){return d}),n.d(t,"e",function(){return p}),n.d(t,"m",function(){return h}),n.d(t,"q",function(){return m}),n.d(t,"l",function(){return g}),n.d(t,"n",function(){return b}),n.d(t,"k",function(){return v}),n.d(t,"o",function(){return y}),n.d(t,"j",function(){return _}),n.d(t,"d",function(){return w}),n.d(t,"i",function(){return O}),n.d(t,"t",function(){return k}),n.d(t,"u",function(){return j}),n.d(t,"v",function(){return E}),n.d(t,"r",function(){return x}),n.d(t,"f",function(){return S});var r,o=document.getElementById("initial-state"),a=o&&function(){var e=JSON.parse(o.textContent);try{e.local_settings=JSON.parse(localStorage.getItem("mastodon-settings"))}catch(t){e.local_settings={}}return e}(),i=function(e){return a&&a.meta&&a.meta[e]},s=i("reduce_motion"),u=i("auto_play_gif"),c=(i("display_sensitive_media"),i("display_media")||(i("display_sensitive_media")?"show_all":"default")),l=i("unfollow_modal"),f=i("boost_modal"),d=i("favourite_modal"),p=i("delete_modal"),h=i("me"),m=i("search_enabled"),g=i("max_toot_chars")||500,b=a&&a.poll_limits,v=(i("invites_enabled"),i("version"),i("mascot")),y=i("profile_directory"),_=i("is_staff"),w=i("default_content_type"),O=!1===i("advanced_layout"),k=i("use_blurhash"),j=i("use_pending_items"),E=i("system_emoji_font"),x=i("trends"),S=(r="delete_others_notice",a&&a.rights&&a.rights[r]);t.c=a},function(e,t,n){"use strict";n.d(t,"b",function(){return v}),n.d(t,"d",function(){return y}),n.d(t,"w",function(){return _}),n.d(t,"x",function(){return w}),n.d(t,"v",function(){return O}),n.d(t,"p",function(){return k}),n.d(t,"q",function(){return j}),n.d(t,"e",function(){return E}),n.d(t,"h",function(){return x}),n.d(t,"r",function(){return S}),n.d(t,"J",function(){return C}),n.d(t,"K",function(){return T}),n.d(t,"H",function(){return M}),n.d(t,"I",function(){return P}),n.d(t,"L",function(){return I}),n.d(t,"y",function(){return F}),n.d(t,"z",function(){return N}),n.d(t,"A",function(){return D}),n.d(t,"B",function(){return R}),n.d(t,"C",function(){return A}),n.d(t,"i",function(){return L}),n.d(t,"D",function(){return U}),n.d(t,"a",function(){return z}),n.d(t,"s",function(){return q}),n.d(t,"t",function(){return W}),n.d(t,"u",function(){return B}),n.d(t,"M",function(){return H}),n.d(t,"c",function(){return K}),n.d(t,"g",function(){return V}),n.d(t,"F",function(){return G}),n.d(t,"G",function(){return X}),n.d(t,"E",function(){return Y}),n.d(t,"f",function(){return $}),n.d(t,"j",function(){return Q}),n.d(t,"n",function(){return J}),n.d(t,"k",function(){return Z}),n.d(t,"l",function(){return ee}),n.d(t,"m",function(){return te}),n.d(t,"o",function(){return ne}),n.d(t,"db",function(){return oe}),n.d(t,"Q",function(){return ae}),n.d(t,"lb",function(){return ie}),n.d(t,"P",function(){return se}),n.d(t,"mb",function(){return ue}),n.d(t,"hb",function(){return ce}),n.d(t,"bb",function(){return le}),n.d(t,"ob",function(){return fe}),n.d(t,"cb",function(){return de}),n.d(t,"rb",function(){return pe}),n.d(t,"Z",function(){return he}),n.d(t,"pb",function(){return me}),n.d(t,"ab",function(){return ge}),n.d(t,"eb",function(){return _e}),n.d(t,"nb",function(){return Oe}),n.d(t,"fb",function(){return je}),n.d(t,"ib",function(){return Ee}),n.d(t,"qb",function(){return xe}),n.d(t,"R",function(){return Se}),n.d(t,"T",function(){return Ce}),n.d(t,"V",function(){return Te}),n.d(t,"U",function(){return Me}),n.d(t,"W",function(){return Pe}),n.d(t,"S",function(){return Ie}),n.d(t,"gb",function(){return Fe}),n.d(t,"N",function(){return Ne}),n.d(t,"jb",function(){return De}),n.d(t,"O",function(){return Re}),n.d(t,"X",function(){return Ae}),n.d(t,"kb",function(){return Le}),n.d(t,"Y",function(){return Ue});var r,o,a=n(13),i=n(60),s=n.n(i),u=n(8),c=n(61),l=n(278),f=n(224),d=n(119),p=n(277),h=n(14),m=n(33),g=n(55),b=n(6),v="COMPOSE_CHANGE",y="COMPOSE_CYCLE_ELEFRIEND",_="COMPOSE_SUBMIT_REQUEST",w="COMPOSE_SUBMIT_SUCCESS",O="COMPOSE_SUBMIT_FAIL",k="COMPOSE_REPLY",j="COMPOSE_REPLY_CANCEL",E="COMPOSE_DIRECT",x="COMPOSE_MENTION",S="COMPOSE_RESET",C="COMPOSE_UPLOAD_REQUEST",T="COMPOSE_UPLOAD_SUCCESS",M="COMPOSE_UPLOAD_FAIL",P="COMPOSE_UPLOAD_PROGRESS",I="COMPOSE_UPLOAD_UNDO",F="COMPOSE_SUGGESTIONS_CLEAR",N="COMPOSE_SUGGESTIONS_READY",D="COMPOSE_SUGGESTION_SELECT",R="COMPOSE_SUGGESTION_TAGS_UPDATE",A="COMPOSE_TAG_HISTORY_UPDATE",L="COMPOSE_MOUNT",U="COMPOSE_UNMOUNT",z="COMPOSE_ADVANCED_OPTIONS_CHANGE",q="COMPOSE_SENSITIVITY_CHANGE",W="COMPOSE_SPOILERNESS_CHANGE",B="COMPOSE_SPOILER_TEXT_CHANGE",H="COMPOSE_VISIBILITY_CHANGE",K="COMPOSE_CONTENT_TYPE_CHANGE",V="COMPOSE_EMOJI_INSERT",G="COMPOSE_UPLOAD_UPDATE_REQUEST",X="COMPOSE_UPLOAD_UPDATE_SUCCESS",Y="COMPOSE_UPLOAD_UPDATE_FAIL",$="COMPOSE_DOODLE_SET",Q="COMPOSE_POLL_ADD",J="COMPOSE_POLL_REMOVE",Z="COMPOSE_POLL_OPTION_ADD",ee="COMPOSE_POLL_OPTION_CHANGE",te="COMPOSE_POLL_OPTION_REMOVE",ne="COMPOSE_POLL_SETTINGS_CHANGE",re=Object(b.f)({uploadErrorLimit:{id:"upload_error.limit",defaultMessage:"File upload limit exceeded."},uploadErrorPoll:{id:"upload_error.poll",defaultMessage:"File upload not allowed with polls."}}),oe=function(e,t){!e().getIn(["compose","mounted"])&&window.innerWidth<895&&t.push("/statuses/new")};function ae(e){return{type:v,text:e}}function ie(e,t){return function(n,r){n({type:k,status:e}),oe(r,t)}}function se(){return{type:j}}function ue(){return{type:S}}function ce(e,t){return function(n,r){n({type:x,account:e}),oe(r,t)}}function le(e,t){return function(n,r){n({type:E,account:e}),oe(r,t)}}function fe(e){return function(t,n){var r=n().getIn(["compose","text"],""),o=n().getIn(["compose","media_attachments"]),i=n().getIn(["compose","spoiler"])||n().getIn(["local_settings","always_show_spoilers_field"])?n().getIn(["compose","spoiler_text"],""):"";(r&&r.length||0!==o.size)&&(t({type:_}),n().getIn(["compose","advanced_options","do_not_federate"])&&(r+=" 👁️"),Object(u.a)(n).post("/api/v1/statuses",{status:r,content_type:n().getIn(["compose","content_type"]),in_reply_to_id:n().getIn(["compose","in_reply_to"],null),media_ids:o.map(function(e){return e.get("id")}),sensitive:n().getIn(["compose","sensitive"])||i.length>0&&0!==o.size,spoiler_text:i,visibility:n().getIn(["compose","privacy"]),poll:n().getIn(["compose","poll"],null)},{headers:{"Idempotency-Key":n().getIn(["compose","idempotencyKey"])}}).then(function(o){var i,s;if(e&&"/statuses/new"===e.location.pathname&&window.history.state&&!n().getIn(["compose","advanced_options","threaded_mode"])&&e.goBack(),t((i=o.data.tags,s=r,function(e,t){var n=t(),r=n.getIn(["compose","tagHistory"]),o=n.getIn(["meta","me"]),a=Object(p.a)(i,s),u=r.filter(function(e){return-1===a.findIndex(function(t){return t.toLowerCase()===e.toLowerCase()})});a.push.apply(a,u.toJS());var c=a.slice(0,1e3);d.b.set(o,c),e(ke(c))})),t(function(e){return{type:w,status:e}}(Object(a.default)({},o.data))),o.data){var u=function(e){var r=n().getIn(["timelines",e]);r&&r.get("items").size>0&&null!==r.getIn(["items",0])&&r.get("online")&&t(Object(m.z)(e,Object(a.default)({},o.data)))};u("home"),null===o.data.in_reply_to_id&&"public"===o.data.visibility?(u("community"),u("public")):"direct"===o.data.visibility&&u("direct")}}).catch(function(e){t(function(e){return{type:O,error:e}}(e))}))}}function de(e){return{type:$,options:e}}function pe(e){return function(t,n){var r=n().getIn(["compose","media_attachments"]),o=new Array(e.length).fill(0),a=Array.from(e).reduce(function(e,t){return e+t.size},0);if(e.length+r.size>4)t(Object(g.e)(void 0,re.uploadErrorLimit));else if(n().getIn(["compose","poll"]))t(Object(g.e)(void 0,re.uploadErrorPoll));else{t({type:C,skipLoading:!0});var i=function(){if(c){if(l>=s.length)return"break";f=s[l++]}else{if((l=s.next()).done)return"break";f=l.value}var e=f,r=e[0],i=e[1],d=new FormData;d.append("file",i),Object(u.a)(n).post("/api/v1/media",d,{onUploadProgress:function(e){var n=e.loaded;o[r]=n,t(function(e,t){return{type:P,loaded:e,total:t}}(o.reduce(function(e,t){return e+t},0),a))}}).then(function(e){t(function(e,t){return{type:T,media:e,file:t,skipLoading:!0}}(e.data,i))}).catch(function(e){t(function(e){return{type:M,error:e,skipLoading:!0}}(e))})},s=Array.from(e).entries(),c=Array.isArray(s),l=0;for(s=c?s:s[Symbol.iterator]();;){var f;if("break"===i())break}}}}function he(e,t){return function(n,r){n({type:G,skipLoading:!0}),Object(u.a)(r).put("/api/v1/media/"+e,t).then(function(e){var t;n((t=e.data,{type:X,media:t,skipLoading:!0}))}).catch(function(t){n(function(e){return{type:Y,error:e,skipLoading:!0}}(e))})}}function me(e){return{type:I,media_id:e}}function ge(){return r&&r(),{type:F}}var be=s()(function(e,t,n){r&&r(),Object(u.a)(t).get("/api/v1/accounts/search",{cancelToken:new c.CancelToken(function(e){r=e}),params:{q:n.slice(1),resolve:!1,limit:4}}).then(function(t){e(Object(h.g)(t.data)),e(function(e,t){return{type:N,token:e,accounts:t}}(n,t.data))}).catch(function(t){Object(c.isCancel)(t)||e(Object(g.f)(t))})},200,{leading:!0,trailing:!0}),ve=function(e,t,n){var r=Object(l.a)(n.replace(":",""),{maxResults:5});e(function(e,t){return{type:N,token:e,emojis:t}}(n,r))},ye=s()(function(e,t,n){o&&o(),e(function(e){return{type:R,token:e}}(n)),Object(u.a)(t).get("/api/v2/search",{cancelToken:new c.CancelToken(function(e){o=e}),params:{type:"hashtags",q:n.slice(1),resolve:!1,limit:4}}).then(function(t){var r=t.data;e(we(n,r.hashtags))}).catch(function(t){Object(c.isCancel)(t)||e(Object(g.f)(t))})},200,{leading:!0,trailing:!0});function _e(e){return function(t,n){switch(e[0]){case":":ve(t,n,e);break;case"#":ye(t,n,e);break;default:be(t,n,e)}}}var we=function(e,t){return{type:N,token:e,tags:t}};function Oe(e,t,n,r){return function(o,a){var i;"emoji"===n.type?(o(Object(f.b)(n)),i=n.native||n.colons):"hashtag"===n.type?i="#"+n.name:"account"===n.type&&(i="@"+a().getIn(["accounts",n.id,"acct"])),o({type:D,position:e,token:t,completion:i,path:r})}}function ke(e){return{type:A,tags:e}}function je(){return function(e,t){var n=t().getIn(["meta","me"]),r=d.b.get(n);null!==r&&e(ke(r))}}function Ee(){return{type:L}}function xe(){return{type:U}}function Se(e,t){return{option:e,type:z,value:t}}function Ce(){return{type:q}}function Te(){return{type:W}}function Me(e){return{type:B,text:e}}function Pe(e){return{type:H,value:e}}function Ie(e){return{type:K,value:e}}function Fe(e,t){return{type:V,position:e,emoji:t}}function Ne(){return{type:Q}}function De(){return{type:J}}function Re(e){return{type:Z,title:e}}function Ae(e,t){return{type:ee,index:e,title:t}}function Le(e){return{type:te,index:e}}function Ue(e,t){return{type:ne,expiresIn:e,isMultiple:t}}},,function(e,t,n){"use strict";var r=n(4),o="<>",a={listOf:function(e){return c(e,"List",r.List.isList)},mapOf:function(e,t){return l(e,t,"Map",r.Map.isMap)},orderedMapOf:function(e,t){return l(e,t,"OrderedMap",r.OrderedMap.isOrderedMap)},setOf:function(e){return c(e,"Set",r.Set.isSet)},orderedSetOf:function(e){return c(e,"OrderedSet",r.OrderedSet.isOrderedSet)},stackOf:function(e){return c(e,"Stack",r.Stack.isStack)},iterableOf:function(e){return c(e,"Iterable",r.Iterable.isIterable)},recordOf:function(e){return s(function(t,n,o,a,s){for(var u=arguments.length,c=Array(u>5?u-5:0),l=5;l6?u-6:0),l=6;l5?c-5:0),f=5;f5?a-5:0),s=5;s key("+l[f]+")"].concat(i));if(p instanceof Error)return p}})).apply(void 0,a);var u})}function f(e){var t=void 0===arguments[1]?"Iterable":arguments[1],n=void 0===arguments[2]?r.Iterable.isIterable:arguments[2];return s(function(r,o,a,s,u){for(var c=arguments.length,l=Array(c>5?c-5:0),f=5;f1&&void 0!==arguments[1]?arguments[1]:{},r=this.state||{};return!(this.updateOnProps||Object.keys(i({},e,this.props))).every(function(n){return Object(a.is)(e[n],t.props[n])})||!(this.updateOnStates||Object.keys(i({},n,r))).every(function(e){return Object(a.is)(n[e],r[e])})}}]),t}();t.a=u},,,function(e,t,n){"use strict";function r(){return(r=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}n.r(t),n.d(t,"default",function(){return r})},function(e,t,n){"use strict";(t=e.exports=n(142).default).default=t},function(e,t,n){"use strict";n.d(t,"j",function(){return u}),n.d(t,"c",function(){return c}),n.d(t,"a",function(){return l}),n.d(t,"f",function(){return f}),n.d(t,"g",function(){return d}),n.d(t,"e",function(){return p}),n.d(t,"i",function(){return h}),n.d(t,"h",function(){return m}),n.d(t,"d",function(){return g}),n.d(t,"b",function(){return b}),n.d(t,"x",function(){return v}),n.d(t,"z",function(){return y}),n.d(t,"m",function(){return _}),n.d(t,"k",function(){return w}),n.d(t,"u",function(){return E}),n.d(t,"w",function(){return x}),n.d(t,"r",function(){return S}),n.d(t,"s",function(){return C}),n.d(t,"q",function(){return T}),n.d(t,"o",function(){return M}),n.d(t,"p",function(){return P}),n.d(t,"v",function(){return I}),n.d(t,"t",function(){return F}),n.d(t,"y",function(){return N}),n.d(t,"l",function(){return D}),n.d(t,"n",function(){return R});var r=n(14),o=n(8),a=n(4),i=n(57),s=n(15),u="TIMELINE_UPDATE",c="TIMELINE_DELETE",l="TIMELINE_CLEAR",f="TIMELINE_EXPAND_REQUEST",d="TIMELINE_EXPAND_SUCCESS",p="TIMELINE_EXPAND_FAIL",h="TIMELINE_SCROLL_TOP",m="TIMELINE_LOAD_PENDING",g="TIMELINE_DISCONNECT",b="TIMELINE_CONNECT",v=function(e){return{type:m,timeline:e}};function y(e,t,n){return function(o){("function"!=typeof n||n(t))&&(o(Object(r.i)(t)),o({type:u,timeline:e,status:t,usePendingItems:s.u}))}}function _(e){return function(t,n){var r=n().getIn(["statuses",e,"account"]),o=n().get("statuses").filter(function(t){return t.get("reblog")===e}).map(function(e){return[e.get("id"),e.get("account")]}),a=n().getIn(["statuses",e,"reblog"],null);t({type:c,id:e,accountId:r,references:o,reblogOf:a})}}function w(e){return function(t){t({type:l,timeline:e})}}var O=function(){},k=function(e,t){return void 0===e&&(e={}),(e[t]||[]).map(function(e){return e.value})};function j(e,t,n,u){return void 0===n&&(n={}),void 0===u&&(u=O),function(c,l){var h=l().getIn(["timelines",e],Object(a.Map)()),m=!!n.max_id;if(h.get("isLoading"))u();else{if(!n.max_id&&!n.pinned&&h.get("items",Object(a.List)()).size+h.get("pendingItems",Object(a.List)()).size>0){var g=h.getIn(["pendingItems",0]),b=h.getIn(["items",0]);g&&b&&Object(i.a)(g,b)>0?n.since_id=g:n.since_id=b||g}var v=!!n.since_id;c(function(e,t){return{type:f,timeline:e,skipLoading:!t}}(e,m)),Object(o.a)(l).get(t,{params:n}).then(function(t){var n=Object(o.b)(t).refs.find(function(e){return"next"===e.rel});c(Object(r.j)(t.data)),c(function(e,t,n,r,o,a,i){return{type:d,timeline:e,statuses:t,next:n,partial:r,isLoadingRecent:o,usePendingItems:i,skipLoading:!a}}(e,t.data,n?n.uri:null,206===t.code,v,m,v&&s.u)),u()}).catch(function(t){c(function(e,t,n){return{type:p,timeline:e,error:t,skipLoading:!n}}(e,t,m)),u()})}}}var E=function(e,t){var n=(void 0===e?{}:e).maxId;return void 0===t&&(t=O),j("home","/api/v1/timelines/home",{max_id:n},t)},x=function(e,t){var n=void 0===e?{}:e,r=n.maxId,o=n.onlyMedia;return void 0===t&&(t=O),j("public"+(o?":media":""),"/api/v1/timelines/public",{max_id:r,only_media:!!o},t)},S=function(e,t){var n=void 0===e?{}:e,r=n.maxId,o=n.onlyMedia;return void 0===t&&(t=O),j("community"+(o?":media":""),"/api/v1/timelines/public",{local:!0,max_id:r,only_media:!!o},t)},C=function(e,t){var n=(void 0===e?{}:e).maxId;return void 0===t&&(t=O),j("direct","/api/v1/timelines/direct",{max_id:n},t)},T=function(e,t){var n=void 0===t?{}:t,r=n.maxId,o=n.withReplies;return j("account:"+e+(o?":with_replies":""),"/api/v1/accounts/"+e+"/statuses",{exclude_replies:!o,max_id:r})},M=function(e){return j("account:"+e+":pinned","/api/v1/accounts/"+e+"/statuses",{pinned:!0})},P=function(e,t){return j("account:"+e+":media","/api/v1/accounts/"+e+"/statuses",{max_id:(void 0===t?{}:t).maxId,only_media:!0,limit:40})},I=function(e,t,n){var r=(void 0===t?{}:t).maxId;return void 0===n&&(n=O),j("list:"+e,"/api/v1/timelines/list/"+e,{max_id:r},n)},F=function(e,t,n){var r=void 0===t?{}:t,o=r.maxId,a=r.tags;return void 0===n&&(n=O),j("hashtag:"+e,"/api/v1/timelines/tag/"+e,{max_id:o,any:k(a,"any"),all:k(a,"all"),none:k(a,"none")},n)};function N(e,t){return{type:h,timeline:e,top:t}}function D(e){return{type:b,timeline:e}}var R=function(e){return{type:g,timeline:e,usePendingItems:s.u}}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t0&&e(Object(i.L)(n))},F=function(){return{type:C}};function N(e,t,n){return function(r,o){var i=o().getIn(["settings","notifications","shows",e.type],!0),u=o().getIn(["settings","notifications","alerts",e.type],!0),c=o().getIn(["settings","notifications","sounds",e.type],!0),l=Object(d.c)(o(),{contextType:"notifications"}),h=!1;if("mention"===e.type){var g=l[0],b=l[1],v=e.status.spoiler_text+"\n"+Object(f.a)(e.status.content);if(g&&g.test(v))return;h=b&&b.test(v)}if(i?(r(Object(s.f)(e.account)),e.status&&r(Object(s.i)(e.status)),r({type:m,notification:e,usePendingItems:p.u,meta:c&&!h?{sound:"boop"}:void 0}),I(r,[e])):c&&!h&&r({type:NOTIFICATIONS_UPDATE_NOOP,meta:{sound:"boop"}}),void 0!==window.Notification&&u&&!h){var y=new a.a(t["notification."+e.type],n).format({name:e.account.display_name.length>0?e.account.display_name:e.account.username}),_=e.status&&e.status.spoiler_text.length>0?e.status.spoiler_text:Object(f.a)(e.status?e.status.content:""),w=new Notification(y,{body:_,icon:e.account.avatar,tag:e.id});w.addEventListener("click",function(){window.focus(),w.close()})}}}var D=function(e){return e.getIn(["settings","notifications","shows"]).filter(function(e){return!e}).keySeq().toJS()},R=function(e){return Object(l.List)(["follow","favourite","reblog","mention","poll"]).filterNot(function(t){return t===e}).toJS()},A=function(){};function L(e,t){var n=(void 0===e?{}:e).maxId;return void 0===t&&(t=A),function(e,o){var a=o().getIn(["settings","notifications","quickFilter","active"]),i=o().get("notifications"),u=!!n;if(i.get("isLoading"))t();else{var c={max_id:n,exclude_types:"all"===a?D(o()):R(a)};if(!c.max_id&&i.get("items",Object(l.List)()).size+i.get("pendingItems",Object(l.List)()).size>0){var f=i.getIn(["pendingItems",0,"id"]),d=i.getIn(["items",0,"id"]);f&&d&&Object(h.a)(f,d)>0?c.since_id=f:c.since_id=d||f}var m=!!c.since_id;e(function(e){return{type:O,skipLoading:!e}}(u)),Object(r.a)(o).get("/api/v1/notifications",{params:c}).then(function(n){var o=Object(r.b)(n).refs.find(function(e){return"next"===e.rel});e(Object(s.g)(n.data.map(function(e){return e.account}))),e(Object(s.j)(n.data.map(function(e){return e.status}).filter(function(e){return!!e}))),e(function(e,t,n,r,o){return{type:k,notifications:e,next:t,isLoadingRecent:r,usePendingItems:o,skipLoading:!n}}(n.data,o?o.uri:null,u,m,m&&p.u)),I(e,n.data),t()}).catch(function(n){e(function(e,t){return{type:j,error:e,skipLoading:!t}}(n,u)),t()})}}}function U(){return function(e,t){e({type:x}),Object(r.a)(t).post("/api/v1/notifications/clear")}}function z(e){return{type:S,top:e}}function q(){return function(e,t){e({type:g});var n=[];t().getIn(["notifications","items"]).forEach(function(e){e.get("markedForDelete")&&n.push(e.get("id"))}),0!==n.length&&Object(r.a)(t).delete("/api/v1/notifications/destroy_multiple?ids[]="+n.join("&ids[]=")).then(function(){e({type:b})}).catch(function(t){console.error(t),e({type:v})})}}function W(e){return{type:_,yes:e}}function B(e){return{type:y,yes:e}}function H(e,t){return{type:w,id:e,yes:t}}function K(){return{type:T}}function V(){return{type:M}}function G(e){return{type:P,visibility:e}}function X(e){return function(t){t({type:E,path:["notifications","quickFilter","active"],value:e}),t(L()),t(Object(u.d)())}}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var u,c=[],l=!1,f=-1;function d(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&p())}function p(){if(!l){var e=s(d);l=!0;for(var t=c.length;t;){for(u=c,c=[];++f1)for(var n=1;n]/;e.exports=function(e){var t,n=""+e,o=r.exec(n);if(!o)return n;var a="",i=0,s=0;for(i=o.index;i1?t-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:r,n=null,a=null;return function(){return o(t,n,arguments)||(a=e.apply(null,arguments)),n=arguments,a}})},function(e,t,n){"use strict";var r=n(78),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=l(n);f&&(i=i.concat(f(n)));for(var s=u(t),m=u(n),g=0;gt?1:-1:e.length>t.length?1:-1}n.d(t,"a",function(){return r})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.showLoading=t.resetLoading=t.loadingBarReducer=t.loadingBarMiddleware=t.LoadingBar=t.ImmutableLoadingBar=t.hideLoading=void 0;var r=n(237),o=u(r),a=u(n(347)),i=n(103),s=u(n(348));function u(e){return e&&e.__esModule?e:{default:e}}t.hideLoading=i.hideLoading,t.ImmutableLoadingBar=s.default,t.LoadingBar=r.LoadingBar,t.loadingBarMiddleware=a.default,t.loadingBarReducer=i.loadingBarReducer,t.resetLoading=i.resetLoading,t.showLoading=i.showLoading,t.default=o.default},,function(e,t,n){var r=n(63),o=n(96),a="Expected a function";e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError(a);return o(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),r(e,t,{leading:i,maxWait:t,trailing:s})}},function(e,t,n){e.exports=n(326)},,function(e,t,n){var r=n(96),o=n(342),a=n(343),i="Expected a function",s=Math.max,u=Math.min;e.exports=function(e,t,n){var c,l,f,d,p,h,m=0,g=!1,b=!1,v=!0;if("function"!=typeof e)throw new TypeError(i);function y(t){var n=c,r=l;return c=l=void 0,m=t,d=e.apply(r,n)}function _(e){var n=e-h;return void 0===h||n>=t||n<0||b&&e-m>=f}function w(){var e=o();if(_(e))return O(e);p=setTimeout(w,function(e){var n=t-(e-h);return b?u(n,f-(e-m)):n}(e))}function O(e){return p=void 0,v&&c?y(e):(c=l=void 0,d)}function k(){var e=o(),n=_(e);if(c=arguments,l=this,h=e,n){if(void 0===p)return function(e){return m=e,p=setTimeout(w,t),g?y(e):d}(h);if(b)return clearTimeout(p),p=setTimeout(w,t),y(h)}return void 0===p&&(p=setTimeout(w,t)),d}return t=a(t)||0,r(n)&&(g=!!n.leading,f=(b="maxWait"in n)?s(a(n.maxWait)||0,t):f,v="trailing"in n?!!n.trailing:v),k.cancel=function(){void 0!==p&&clearTimeout(p),m=0,c=h=l=p=void 0},k.flush=function(){return void 0===p?d:O(o())},k}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),r.hasSupport=e}}};r.update(),t.default=r},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"buildCustomEmojis",function(){return c}),n.d(t,"categoriesFromEmojis",function(){return l});var r=n(15),o=n(95),a=n.n(o);n.d(t,"unicodeMapping",function(){return a.a});var i=n(73),s=new(n.n(i).a)(Object.keys(a.a)),u=e.env.CDN_HOST||"";t.default=function(e,t){void 0===t&&(t={});for(var n=Object.keys(t).length?"<&:":"<&",o="",i=n,c=0,l=function(){for(var l=void 0,f=0,d=void 0;f=p))return!1;var o=e.slice(f,p);if(o in t){var a=r.a?t[o].url:t[o].static_url;return h=''+o+'',!0}return!1})()||(p=++f);else if(d>=0){if(!(p=e.indexOf(">;"[d],f+1)+1))return"break";0===d&&(c?"/"===e[f+1]?--c||(i=n):"/"!==e[p-2]&&c++:e.startsWith('

/g,"\n\n").replace(/<[^>]*>/g,""),t.textContent}},function(e,t,n){"use strict";n.d(t,"a",function(){return o}),n.d(t,"b",function(){return a});var r=function(){function e(e){void 0===e&&(e=null),this.keyBase=e}var t=e.prototype;return t.generateKey=function(e){return this.keyBase?[this.keyBase,"id"+e].join("."):e},t.set=function(e,t){var n=this.generateKey(e);try{var r=JSON.stringify(t);return localStorage.setItem(n,r),t}catch(e){return null}},t.get=function(e){var t=this.generateKey(e);try{var n=localStorage.getItem(t);return JSON.parse(n)}catch(e){return null}},t.remove=function(e){var t=this.get(e);if(t){var n=this.generateKey(e);try{localStorage.removeItem(n)}catch(e){}}return t},e}(),o=new r("mastodon_push_notification_data"),a=new r("mastodon_tag_history")},,function(e,t,n){"use strict"; +/** @license React v16.8.6 + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var r=n(85),o="function"==typeof Symbol&&Symbol.for,a=o?Symbol.for("react.element"):60103,i=o?Symbol.for("react.portal"):60106,s=o?Symbol.for("react.fragment"):60107,u=o?Symbol.for("react.strict_mode"):60108,c=o?Symbol.for("react.profiler"):60114,l=o?Symbol.for("react.provider"):60109,f=o?Symbol.for("react.context"):60110,d=o?Symbol.for("react.concurrent_mode"):60111,p=o?Symbol.for("react.forward_ref"):60112,h=o?Symbol.for("react.suspense"):60113,m=o?Symbol.for("react.memo"):60115,g=o?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function v(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;rI.length&&I.push(e)}function D(e,t,n){return null==e?0:function e(t,n,r,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case a:case i:u=!0}}if(u)return r(o,t,""===n?"."+R(t,0):n),1;if(u=0,n=""===n?".":n+":",Array.isArray(t))for(var c=0;cthis.eventPool.length&&this.eventPool.push(e)}function fe(e){e.eventPool=[],e.getPooled=ce,e.release=le}o(ue.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=ie)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=ie)},persist:function(){this.isPersistent=ie},isPersistent:se,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=se,this._dispatchInstances=this._dispatchListeners=null}}),ue.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},ue.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var a=new t;return o(a,n.prototype),n.prototype=a,n.prototype.constructor=n,n.Interface=o({},r.Interface,e),n.extend=r.extend,fe(n),n},fe(ue);var de=ue.extend({data:null}),pe=ue.extend({data:null}),he=[9,13,27,32],me=K&&"CompositionEvent"in window,ge=null;K&&"documentMode"in document&&(ge=document.documentMode);var be=K&&"TextEvent"in window&&!ge,ve=K&&(!me||ge&&8=ge),ye=String.fromCharCode(32),_e={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},we=!1;function Oe(e,t){switch(e){case"keyup":return-1!==he.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ke(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var je=!1;var Ee={eventTypes:_e,extractEvents:function(e,t,n,r){var o=void 0,a=void 0;if(me)e:{switch(e){case"compositionstart":o=_e.compositionStart;break e;case"compositionend":o=_e.compositionEnd;break e;case"compositionupdate":o=_e.compositionUpdate;break e}o=void 0}else je?Oe(e,n)&&(o=_e.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=_e.compositionStart);return o?(ve&&"ko"!==n.locale&&(je||o!==_e.compositionStart?o===_e.compositionEnd&&je&&(a=ae()):(re="value"in(ne=r)?ne.value:ne.textContent,je=!0)),o=de.getPooled(o,t,n,r),a?o.data=a:null!==(a=ke(n))&&(o.data=a),H(o),a=o):a=null,(e=be?function(e,t){switch(e){case"compositionend":return ke(t);case"keypress":return 32!==t.which?null:(we=!0,ye);case"textInput":return(e=t.data)===ye&&we?null:e;default:return null}}(e,n):function(e,t){if(je)return"compositionend"===e||!me&&Oe(e,t)?(e=ae(),oe=re=ne=null,je=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1