diff --git a/docs/404.html b/docs/404.html index 820821b7..ce9cc59d 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1 +1 @@ -
Not Found
\ No newline at end of file +
Not Found
\ No newline at end of file diff --git a/docs/404/index.html b/docs/404/index.html index e9f17090..c5c91e7e 100644 --- a/docs/404/index.html +++ b/docs/404/index.html @@ -1 +1 @@ -
Not Found
\ No newline at end of file +
Not Found
\ No newline at end of file diff --git a/docs/app-c862e168855ec3a4186d.js b/docs/app-c862e168855ec3a4186d.js new file mode 100644 index 00000000..fa152980 --- /dev/null +++ b/docs/app-c862e168855ec3a4186d.js @@ -0,0 +1,3 @@ +/*! For license information please see app-c862e168855ec3a4186d.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+165":function(e,t){e.exports=function(e,t){return e.has(t)}},"+2yT":function(e,t,r){"use strict";(function(t){e.exports={addTimeout:function(e,r,n,o){if(this._timeouts=this._timeouts||{},!this._timeouts.hasOwnProperty(e)){var i=this;this._timeouts[e]=t.setTimeout((function(){delete i._timeouts[e],n.call(o)}),1e3*r)}},removeTimeout:function(e){this._timeouts=this._timeouts||{};var r=this._timeouts[e];r&&(t.clearTimeout(r),delete this._timeouts[e])},removeAllTimeouts:function(){for(var e in this._timeouts=this._timeouts||{},this._timeouts)this.removeTimeout(e)}}}).call(this,r("pCvA"))},"+Ckz":function(e,t,r){var n=r("V2ZB"),o=r("tb+2");e.exports=function(e,t){return n(e,o(e),t)}},"+Ltg":function(e,t,r){"use strict";e.exports=function(e,t,r,n,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},"+Vbj":function(e,t,r){var n=r("jgJv"),o=r("lYsT"),i=r("PqlX"),a=n?n.isConcatSpreadable:void 0;e.exports=function(e){return i(e)||o(e)||!!(a&&e&&e[a])}},"+dZb":function(e,t,r){var n=r("zm72"),o=r("scUu");e.exports=function(e,t,r){return n(o,e,t,r)}},"+iL7":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"+jXo":function(e,t,r){"use strict";(function(t){var n=r("NFrV"),o=r("abqF"),i=r("/95U"),a=r("BZif"),s=r("j1kx"),c=r("L+qr"),u=r("gJRt"),l=r("JyNm"),f=n({className:"Dispatcher",MAX_REQUEST_SIZE:2048,DEFAULT_RETRY:5,UP:1,DOWN:2,initialize:function(e,t,r){this._client=e,this.endpoint=o.parse(t),this._alternates=r.endpoints||{},this.cookies=i.CookieJar&&new i.CookieJar,this._disabled=[],this._envelopes={},this.headers={},this.retry=r.retry||this.DEFAULT_RETRY,this._scheduler=r.scheduler||l,this._state=0,this.transports={},this.wsExtensions=[],this.proxy=r.proxy||{},"string"==typeof this._proxy&&(this._proxy={origin:this._proxy});var n=r.websocketExtensions;if(n)for(var a=0,s=(n=[].concat(n)).length;a=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var l=o.a.createContext({}),f=function(e){return function(t){var r=p(t.components);return o.a.createElement(e,a({},t,{components:r}))}},p=function(e){var t=o.a.useContext(l),r=t;return e&&(r="function"==typeof e?e(t):c(c({},t),e)),r},d=function(e){var t=p(e.components);return o.a.createElement(l.Provider,{value:t},e.children)},h={inlineCode:"code",wrapper:function(e){var t=e.children;return o.a.createElement(o.a.Fragment,{},t)}},m=o.a.forwardRef((function(e,t){var r=e.components,n=e.mdxType,i=e.originalType,a=e.parentName,s=u(e,["components","mdxType","originalType","parentName"]),l=p(r),f=n,d=l["".concat(a,".").concat(f)]||l[f]||h[f]||i;return r?o.a.createElement(d,c(c({ref:t},s),{},{components:r})):o.a.createElement(d,c({ref:t},s))}));function v(e,t){var r=arguments,n=t&&t.mdxType;if("string"==typeof e||n){var i=r.length,a=new Array(i);a[0]=m;var s={};for(var c in t)hasOwnProperty.call(t,c)&&(s[c]=t[c]);s.originalType=e,s.mdxType="string"==typeof e?e:n,a[1]=s;for(var u=2;u0&&void 0!==arguments[0]?arguments[0]:[];return e.map((function(e){return"string"==typeof e?e:e.id}))})),this.client=t,this.token=r}return(0,a.default)(e,[{key:"add",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.id,i=n.targetFeeds,a=void 0===i?[]:i,s=n.userId,c=n.targetFeedsExtraData,u={id:o,activity_id:t instanceof Object?t.id:t,kind:e,data:r||{},target_feeds:this._convertTargetFeeds(a),user_id:s};return null!=c&&(u.target_feeds_extra_data=c),this.client.post({url:this.buildURL(),body:u,token:this.token})}},{key:"addChild",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=n.targetFeeds,i=void 0===o?[]:o,a=n.userId,s=n.targetFeedsExtraData,c={parent:t instanceof Object?t.id:t,kind:e,data:r||{},target_feeds:this._convertTargetFeeds(i),user_id:a};return null!=s&&(c.target_feeds_extra_data=s),this.client.post({url:this.buildURL(),body:c,token:this.token})}},{key:"get",value:function(e){return this.client.get({url:this.buildURL(e),token:this.token})}},{key:"filter",value:function(e){var t=e.user_id,r=e.activity_id,n=e.reaction_id,i=(0,o.default)(e,["user_id","activity_id","reaction_id"]);if(i.limit||(i.limit=10),(t?1:0)+(r?1:0)+(n?1:0)!=1)throw new c.SiteError("Must provide exactly one value for one of these params: user_id, activity_id, reaction_id");var a=(t?"user_id":r&&"activity_id")||n&&"reaction_id",s=t||r||n,u=e.kind?this.buildURL(a,s,e.kind):this.buildURL(a,s);return this.client.get({url:u,qs:i,token:this.token})}},{key:"update",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.targetFeeds,o=void 0===n?[]:n,i=r.targetFeedsExtraData,a={data:t,target_feeds:this._convertTargetFeeds(o)};return null!=i&&(a.target_feeds_extra_data=i),this.client.put({url:this.buildURL(e),body:a,token:this.token})}},{key:"delete",value:function(e){return this.client.delete({url:this.buildURL(e),token:this.token})}}]),e}();t.StreamReaction=u},"0711":function(e,t,r){var n=r("WRuO"),o=r("WMT/"),i=r("F3Ab"),a=r("wnk4"),s=r("ArpJ"),c=r("Fldm"),u=r("e766"),l=r("+Ckz"),f=r("CIBY"),p=r("2AbI"),d=r("zIph"),h=r("s3t7"),m=r("316b"),v=r("iXK7"),g=r("FQMq"),b=r("PqlX"),y=r("tfj2"),w=r("Bpme"),_=r("9aUh"),O=r("CPLO"),x=r("h0av"),j=r("Vujp"),k={};k["[object Arguments]"]=k["[object Array]"]=k["[object ArrayBuffer]"]=k["[object DataView]"]=k["[object Boolean]"]=k["[object Date]"]=k["[object Float32Array]"]=k["[object Float64Array]"]=k["[object Int8Array]"]=k["[object Int16Array]"]=k["[object Int32Array]"]=k["[object Map]"]=k["[object Number]"]=k["[object Object]"]=k["[object RegExp]"]=k["[object Set]"]=k["[object String]"]=k["[object Symbol]"]=k["[object Uint8Array]"]=k["[object Uint8ClampedArray]"]=k["[object Uint16Array]"]=k["[object Uint32Array]"]=!0,k["[object Error]"]=k["[object Function]"]=k["[object WeakMap]"]=!1,e.exports=function e(t,r,E,P,S,C){var A,T=1&r,R=2&r,D=4&r;if(E&&(A=S?E(t,P,S,C):E(t)),void 0!==A)return A;if(!_(t))return t;var L=b(t);if(L){if(A=m(t),!T)return u(t,A)}else{var N=h(t),I="[object Function]"==N||"[object GeneratorFunction]"==N;if(y(t))return c(t,T);if("[object Object]"==N||"[object Arguments]"==N||I&&!S){if(A=R||I?{}:g(t),!T)return R?f(t,s(A,t)):l(t,a(A,t))}else{if(!k[N])return S?t:{};A=v(t,N,T)}}C||(C=new n);var M=C.get(t);if(M)return M;C.set(t,A),O(t)?t.forEach((function(n){A.add(e(n,r,E,n,t,C))})):w(t)&&t.forEach((function(n,o){A.set(o,e(n,r,E,o,t,C))}));var F=L?void 0:(D?R?d:p:R?j:x)(t);return o(F||t,(function(n,o){F&&(n=t[o=n]),i(A,o,e(n,r,E,o,t,C))})),A}},"07F0":function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++rc;)o.f(e,r=n[c++],t[r]);return e}},"1M3q":function(e,t,r){e.exports=r("wcNg")},"1SHM":function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("mXGw"),o=r.n(n),i=r("LFXc"),a=r("3DpS"),s=r("Dg5a"),c=r("eezF"),u=r("aD51");"undefined"!=typeof CommentListProps&&CommentListProps&&CommentListProps===Object(CommentListProps)&&Object.isExtensible(CommentListProps)&&!CommentListProps.hasOwnProperty("__filemeta")&&Object.defineProperty(CommentListProps,"__filemeta",{configurable:!0,value:{name:"CommentListProps",filename:"src/components/CommentList.tsx"}});var l=function(e){var t=e.Paginator,r=void 0===t?s.a:t,n=e.CommentItem,l=void 0===n?c.a:n,f=e.activityId,p=e.activityPath,d=e.oldestToNewest,h=void 0!==d&&d,m=e.reverseOrder,v=void 0!==m&&m;return Object(u.c)(a.a,{Paginator:r,activityId:f,reactionKind:"comment",Reaction:function(e){var t=e.reaction;return Object(u.c)(o.a.Fragment,null,Object(i.a)(l,{comment:t}))},activityPath:p,oldestToNewest:h,reverseOrder:v})};void 0!==l&&l&&l===Object(l)&&Object.isExtensible(l)&&!l.hasOwnProperty("__filemeta")&&Object.defineProperty(l,"__filemeta",{configurable:!0,value:{name:"CommentList",filename:"src/components/CommentList.tsx"}})},"1dvN":function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.wrapRootElement=void 0;var o=n(r("mXGw")),i=r("LcPu");t.wrapRootElement=function(e){var t=e.element;return o.default.createElement(i.HelmetProvider,null,t)}},"1ezk":function(e,t){e.exports=function(){return!1}},"1q4v":function(e,t,r){"use strict";r.d(t,"a",(function(){return O}));var n=r("HtiD"),o=r("Eo5u"),i=r("HGLW"),a=(r("x3Br"),r("1M3q")),s=r.n(a),c=r("3KFY"),u=r("49Kr"),l=r.n(u),f=r("NfLg"),p=r.n(f),d=r("/gfI"),h=r.n(d),m=r("nXCe"),v=r.n(m),g=r("Pdo2");function b(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?i-1:0),s=1;s1){var l=c.slice(0,-1);i=t.removeFoundActivityIdPath(n.getIn(l).toJS(),i,l),a=t.removeFoundActivityIdPaths(n.getIn(l).toJS(),a,l),s=t.removeFoundReactionIdPaths(n.getIn(l).toJS(),s,l)}else a=t.removeFoundActivityIdPaths(n.get(e).toJS(),a,[e]),s=t.removeFoundReactionIdPaths(n.get(e).toJS(),s,[e]);if(n=n.removeIn(c),c.length>1){var f=c.slice(0,-1);u=0===n.getIn(f).size?c[0]:null,i=t.addFoundActivityIdPath(n.getIn(f).toJS(),i,f),a=t.addFoundActivityIdPaths(n.getIn(f).toJS(),a,f),s=t.addFoundReactionIdPaths(n.getIn(f).toJS(),s,f)}return null!=u&&(o=o.filter((function(e){return e!==u}))),{activities:n,activityOrder:o,activityIdToPaths:a,reactionIdToPaths:s,activityIdToPath:i}}))},this.onRemoveActivity=function(){var e=Object(n.a)(s.a.mark((function e(r){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!t.props.doActivityDeleteRequest){e.next=6;break}return e.next=4,t.props.doActivityDeleteRequest(r);case 4:e.next=8;break;case 6:return e.next=8,t.feed().removeActivity(r);case 8:e.next=14;break;case 10:return e.prev=10,e.t0=e.catch(0),t.props.errorHandler(e.t0,"delete-activity",{activityId:t.props.feedGroup,feedGroup:t.props.feedGroup,userId:t.props.userId}),e.abrupt("return");case 14:return e.abrupt("return",t._removeActivityFromState(r));case 15:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}(),this.onMarkAsRead=function(e){return t._onMarkAs("read",e)},this.onMarkAsSeen=function(e){return t._onMarkAs("seen",e)},this._onMarkAs=function(){var e=Object(n.a)(s.a.mark((function e(r,n){var o,i,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n,!0===n?o=t.state.activityOrder:Array.isArray(n)?(o=n.map((function(e){return e.id})),i=o):(i=n.id,o=[n.id]),e.prev=2,e.next=5,t.doFeedRequest(((a={limit:1,id_lte:t.state.activityOrder[0]})["mark_"+r]=i,a));case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),t.props.errorHandler(e.t0,"get-notification-counts",{feedGroup:t.props.feedGroup,userId:t.props.userId});case 10:t.setState((function(e){for(var t,n,i="un"+r,a=e.activities,s=e[i],c=b(o);!(n=c()).done;){var u=[n.value,"is_"+r];!1===a.getIn(u)&&(a=a.setIn(u,!0),s--)}return(t={activities:a})[i]=s,t}));case 11:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(t,r){return e.apply(this,arguments)}}(),this.getOptions=function(e){void 0===e&&(e={});var r=_({},t.props.options),n=e,o=n.id_gt,i=n.id_gte,a=n.id_lt,s=n.id_lte,c=n.offset;return(o||i||a||s||null!=c)&&(delete r.id_gt,delete r.id_gte,delete r.id_lt,delete r.id_lte,delete r.offset,delete r.refresh),_(_({withReactionCounts:!0,withOwnReactions:!0,limit:10},r),e)},this.doFeedRequest=function(){var e=Object(n.a)(s.a.mark((function e(r){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.props.doFeedRequest){e.next=4;break}return e.next=3,t.props.doFeedRequest(t.props.client,t.props.feedGroup,t.props.userId,r);case 3:return e.abrupt("return",e.sent);case 4:return e.next=6,t.feed().get(r);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.feed=function(){return t.props.client.feed(t.props.feedGroup,t.props.userId)},this.responseToActivityMap=function(e){return c.a.fromJS(e.results.reduce((function(e,t){return e[t.id]=t,e}),{}))},this.responseToActivityIdToPath=function(e){if(0===e.results.length||void 0===e.results[0].activities)return{};for(var t,r=e.results,n={},o=function(){var e=t.value;e.activities.forEach((function(t,r){n[t.id]=[e.id,"activities",r]}))},i=b(r);!(t=i()).done;)o();return n},this.responseToActivityIdToPaths=function(e,t){void 0===t&&(t={});var r=t,n=[];function o(e){if(Array.isArray(e))e.forEach((function(e,t){n.push(t),o(e),n.pop()}));else if(p()(e))for(var t in e.id&&e.actor&&e.verb&&e.object&&(r[e.id]||(r[e.id]=[]),r[e.id].push([].concat(n))),e)n.push(t),o(e[t]),n.pop()}for(var i,a=b(e.results);!(i=a()).done;){var s=i.value;n.push(s.id),o(s),n.pop()}return r},this.feedResponseToReactionIdToPaths=function(e,t){void 0===t&&(t={});var r=t,n=[];function o(e){if(Array.isArray(e))e.forEach((function(e,t){n.push(t),o(e),n.pop()}));else if(p()(e))for(var t in e.id&&e.kind&&e.data&&(r[e.id]||(r[e.id]=[]),r[e.id].push([].concat(n))),e)n.push(t),o(e[t]),n.pop()}for(var i,a=b(e.results);!(i=a()).done;){var s=i.value;n.push(s.id),o(s),n.pop()}return r},this.reactionResponseToReactionIdToPaths=function(e,t,r,n){var i=t,a=Object(o.a)(r);function s(e){if(Array.isArray(e))e.forEach((function(e,t){a.push(t),s(e),a.pop()}));else if(p()(e))for(var t in e.id&&e.kind&&e.data&&(i[e.id]||(i[e.id]=[]),i[e.id].push(Object(o.a)(a))),e)a.push(t),s(e[t]),a.pop()}for(var c,u=b(e.results);!(c=u()).done;){var l=c.value;a.push(n),s(l),a.pop(),n++}return i},this.removeFoundReactionIdPaths=function(e,t,r){var n=t,i=Object(o.a)(r);return function e(t){if(Array.isArray(t))t.forEach((function(t,r){i.push(r),e(t),i.pop()}));else if(p()(t))for(var r in t.id&&t.kind&&t.data&&(n[t.id]||(n[t.id]=[]),v()(n[t.id],(function(e){return h()(e,i)}))),t)i.push(r),e(t[r]),i.pop()}(e),n},this.removeFoundActivityIdPaths=function(e,t,r){var n=t,i=Object(o.a)(r);return function e(t){if(Array.isArray(t))t.forEach((function(t,r){i.push(r),e(t),i.pop()}));else if(p()(t))for(var r in t.id&&t.actor&&t.verb&&t.object&&(n[t.id]||(n[t.id]=[]),v()(n[t.id],(function(e){return h()(e,i)}))),t)i.push(r),e(t[r]),i.pop()}(e),n},this.removeFoundActivityIdPath=function(e,t,r){var n=t,i=Object(o.a)(r);return e.forEach((function(e,t){i.push(t),h()(n[e.id],i)&&delete n[e.id],i.pop()})),n},this.addFoundReactionIdPaths=function(e,t,r){var n=t,i=Object(o.a)(r);return function e(t){if(Array.isArray(t))t.forEach((function(t,r){i.push(r),e(t),i.pop()}));else if(p()(t))for(var r in t.id&&t.kind&&t.data&&(n[t.id]||(n[t.id]=[]),n[t.id].push(Object(o.a)(i))),t)i.push(r),e(t[r]),i.pop()}(e),n},this.addFoundActivityIdPaths=function(e,t,r){var n=t,i=Object(o.a)(r);return function e(t){if(Array.isArray(t))t.forEach((function(t,r){i.push(r),e(t),i.pop()}));else if(p()(t))for(var r in t.id&&t.actor&&t.verb&&t.object&&(n[t.id]||(n[t.id]=[]),n[t.id].push(Object(o.a)(i))),t)i.push(r),e(t[r]),i.pop()}(e),n},this.addFoundActivityIdPath=function(e,t,r){var n=t;return e.forEach((function(e,t){n[e.id]=[].concat(Object(o.a)(r),[t])})),n},this.responseToReactionActivities=function(e){if(0===e.results.length)return{};var t={};function r(e){for(var r,n=b(e);!(r=n()).done;){var o=r.value;o.reaction&&o.reaction.id&&(t[o.reaction.id]=o.id)}}if(void 0===e.results[0].activities)r(e.results);else for(var n,o=b(e.results);!(n=o()).done;){r(n.value.activities)}return t},this.refresh=function(){var e=Object(n.a)(s.a.mark((function e(r){var n,o,i;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getOptions(r),e.next=3,t.setState({refreshing:!0});case 3:return e.prev=3,e.next=6,t.doFeedRequest(n);case 6:o=e.sent,e.next=14;break;case 9:return e.prev=9,e.t0=e.catch(3),t.setState({refreshing:!1}),t.props.errorHandler(e.t0,"get-feed",{feedGroup:t.props.feedGroup,userId:t.props.userId}),e.abrupt("return");case 14:return i=_({activityOrder:o.results.map((function(e){return e.id})),activities:t.responseToActivityMap(o),activityIdToPath:t.responseToActivityIdToPath(o),activityIdToPaths:t.responseToActivityIdToPaths(o),reactionIdToPaths:t.feedResponseToReactionIdToPaths(o),reactionActivities:t.responseToReactionActivities(o),refreshing:!1,lastResponse:o,realtimeAdds:[],realtimeDeletes:[]},t.unseenUnreadFromResponse(o)),!0===n.mark_seen&&(i.unseen=0),!0===n.mark_read&&(i.unread=0),e.abrupt("return",t.setState(i));case 18:case"end":return e.stop()}}),e,null,[[3,9]])})));return function(t){return e.apply(this,arguments)}}(),this.subscribe=Object(n.a)(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.props.notify){e.next=2;break}return e.abrupt("return");case 2:r=t.feed(),t.setState((function(e){if(e.subscription)return{};var n=r.subscribe((function(e){t.setState((function(t){var r=e.new.length-e.deleted.length;return{realtimeAdds:t.realtimeAdds.concat(e.new),realtimeDeletes:t.realtimeDeletes.concat(e.deleted),unread:t.unread+r,unseen:t.unseen+r}}))}));return n.then((function(){return console.log("now listening to changes in realtime for "+t.feed().id)}),(function(e){return console.error(e)})),{subscription:n}}));case 4:case"end":return e.stop()}}),e)}))),this.unsubscribe=Object(n.a)(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=t.state.subscription)&&!t.registeredCallbacks.length){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,r;case 6:t.setState({subscription:null}),null==r||r.cancel(),console.log("stopped listening to changes in realtime for "+t.feed().id),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(3),console.error(e.t0);case 14:case"end":return e.stop()}}),e,null,[[3,11]])}))),this.hasNextPage=function(){var e=t.state.lastResponse;return Boolean(e&&e.next)},this.hasReverseNextPage=function(){var e=t.state.lastReverseResponse;return Boolean(e&&e.next)},this.loadNextPage=Object(n.a)(s.a.mark((function e(){var r,n,o,i,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=t.state.lastResponse)&&r.next){e.next=3;break}return e.abrupt("return");case 3:return n=!1,e.next=6,t.setState((function(e){return e.refreshing?(n=!0,{}):{refreshing:!0}}));case 6:if(!n){e.next=8;break}return e.abrupt("return");case 8:return o=new l.a(r.next,!0),i=t.getOptions(o.query),e.prev=10,e.next=13,t.doFeedRequest(i);case 13:a=e.sent,e.next=21;break;case 16:return e.prev=16,e.t0=e.catch(10),t.setState({refreshing:!1}),t.props.errorHandler(e.t0,"get-feed-next-page",{feedGroup:t.props.feedGroup,userId:t.props.userId}),e.abrupt("return");case 21:return e.abrupt("return",t.setState((function(e){var r=e.activities.merge(t.responseToActivityMap(a)),n=_(_({},e.activityIdToPath),t.responseToActivityIdToPath(a));return{activityOrder:e.activityOrder.concat(a.results.map((function(e){return e.id}))),activities:r,activityIdToPath:n,activityIdToPaths:t.responseToActivityIdToPaths(a,e.activityIdToPaths),reactionIdToPaths:t.feedResponseToReactionIdToPaths(a,e.reactionIdToPaths),reactionActivities:_(_({},e.reactionActivities),t.responseToReactionActivities(a)),refreshing:!1,lastResponse:a}})));case 22:case"end":return e.stop()}}),e,null,[[10,16]])}))),this.loadReverseNextPage=Object(n.a)(s.a.mark((function e(){var r,n,o,i,a;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((r=t.state.lastReverseResponse)&&r.next){e.next=3;break}return e.abrupt("return");case 3:return n=!1,e.next=6,t.setState((function(e){return e.refreshing?(n=!0,{}):{refreshing:!0}}));case 6:if(!n){e.next=8;break}return e.abrupt("return");case 8:return o=new l.a(r.next,!0),i=t.getOptions(o.query),e.prev=10,e.next=13,t.doFeedRequest(i);case 13:a=e.sent,e.next=21;break;case 16:return e.prev=16,e.t0=e.catch(10),t.setState({refreshing:!1}),t.props.errorHandler(e.t0,"get-feed-next-page",{feedGroup:t.props.feedGroup,userId:t.props.userId}),e.abrupt("return");case 21:return e.abrupt("return",t.setState((function(e){var r=e.activities.merge(t.responseToActivityMap(a)),n=_(_({},e.activityIdToPath),t.responseToActivityIdToPath(a));return{activityOrder:a.results.map((function(e){return e.id})).concat(e.activityOrder),activities:r,activityIdToPath:n,activityIdToPaths:t.responseToActivityIdToPaths(a,e.activityIdToPaths),reactionIdToPaths:t.feedResponseToReactionIdToPaths(a,e.reactionIdToPaths),reactionActivities:_(_({},e.reactionActivities),t.responseToReactionActivities(a)),refreshing:!1,lastReverseResponse:a}})));case 22:case"end":return e.stop()}}),e,null,[[10,16]])}))),this.loadNextReactions=function(){var e=Object(n.a)(s.a.mark((function e(r,n,i,a){var u,f,p,d,h,m,v,b,y;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(u={activity_id:r,kind:n},f="latest",a&&(f="oldest"),i||(i=t.getActivityPath(r)),p=[].concat(Object(o.a)(i),[f+"_reactions",n]),d=[].concat(Object(o.a)(i),[f+"_reactions_extra",n,"next"]),h=[].concat(Object(o.a)(i),[f+"_reactions_extra",n,"refreshing"]),m=t.state.activities.getIn([].concat(Object(o.a)(i),[f+"_reactions_extra"])),v="https://api.stream-io-api.com/",m?v=m.getIn([n,"next"],""):a&&(u.id_gt="non-existant-"+Object(g.c)()),b=t.state.activities.getIn(h,!1),v&&!b){e.next=13;break}return e.abrupt("return");case 13:if(t.setState((function(e){return{activities:e.activities.setIn(h,!0)}})),u=_(_({},l()(v,!0).query),u),e.prev=15,!t.props.doReactionsFilterRequest){e.next=22;break}return e.next=19,t.props.doReactionsFilterRequest(u);case 19:y=e.sent,e.next=25;break;case 22:return e.next=24,t.props.client.reactions.filter(u);case 24:y=e.sent;case 25:e.next=32;break;case 27:return e.prev=27,e.t0=e.catch(15),t.setState({refreshing:!1}),t.props.errorHandler(e.t0,"get-reactions-next-page",{options:u}),e.abrupt("return");case 32:t.setState((function(e){return{activities:e.activities.setIn(h,!1).setIn(d,y.next).updateIn(p,(function(e){return void 0===e&&(e=c.a.List()),e.concat(c.a.fromJS(y.results))})),reactionIdToPaths:t.reactionResponseToReactionIdToPaths(y,e.reactionIdToPaths,p,e.activities.getIn(p,c.a.List()).toJS().length)}}));case 33:case"end":return e.stop()}}),e,null,[[15,27]])})));return function(t,r,n,o){return e.apply(this,arguments)}}(),this.refreshUnreadUnseen=Object(n.a)(s.a.mark((function e(){var r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.doFeedRequest({limit:0});case 3:r=e.sent,e.next=10;break;case 6:return e.prev=6,e.t0=e.catch(0),t.props.errorHandler(e.t0,"get-notification-counts",{feedGroup:t.props.feedGroup,userId:t.props.userId}),e.abrupt("return");case 10:return e.abrupt("return",t.setState(t.unseenUnreadFromResponse(r)));case 11:case"end":return e.stop()}}),e,null,[[0,6]])}))),this.props=e;var r=this.getOptions();this.registeredCallbacks=[];var i="";r.id_gte?i="?id_lt="+r.id_gte:r.id_gt?i="?id_lte="+r.id_gt:r.id_lte?i="?id_gt="+r.id_lte:r.id_lt&&(i="?id_gte="+r.id_lt),this.state.lastReverseResponse={next:i}}var t=e.prototype;return t.register=function(e){this.registeredCallbacks.push(e),this.subscribe()},t.unregister=function(e){this.registeredCallbacks.splice(this.registeredCallbacks.indexOf(e),1),this.unsubscribe()},t.triggerUpdate=function(){for(var e,t=b(this.registeredCallbacks);!(e=t()).done;){(0,e.value)()}},t.unseenUnreadFromResponse=function(e){var t=0,r=0;return"number"==typeof e.unseen&&(t=e.unseen),"number"==typeof e.unread&&(r=e.unread),{unseen:t,unread:r}},e}();void 0!==O&&O&&O===Object(O)&&Object.isExtensible(O)&&!O.hasOwnProperty("__filemeta")&&Object.defineProperty(O,"__filemeta",{configurable:!0,value:{name:"FeedManager",filename:"src/context/FeedManager.tsx"}})},2:function(e,t){},2775:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("qqks"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,Avatar:o.a,React:i}},"296D":function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,r(t,n)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},"2AbI":function(e,t,r){var n=r("6TGQ"),o=r("tb+2"),i=r("h0av");e.exports=function(e){return n(e,i,o)}},"2CTe":function(e,t,r){var n=r("ejlC");e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},"2EQx":function(e,t,r){var n=r("9aUh");e.exports=function(e){return e==e&&!n(e)}},"2GMX":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codeRenderer=a,t.default=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=new n.default.Renderer;function s(e,t){for(var r=e.children;;){if(!r.length||r[r.length-1].level===t)return r;r=r[r.length-1].children}}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=t.split(/(\{\{.*?\}\})/),n=r.map((function(t){var r=t.match(/\{\{(.*)\}\}/);return r?(e.tree.splice(e.tree.indexOf(e.elements[r[1]]),1),e.elements[r[1]]):""!==t?o.default.decode(t):null}));return n}function u(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r,a=e.nextElementId++,s=null,u=t.elements&&t.elements[i];return o&&(s=Array.isArray(o)?o.map(c):c(o)),e.elements[a]=t.createElement(u||r,Object.assign({key:a},n,u?{context:e.context}:{}),s),e.tree.push(e.elements[a]),"{{".concat(a,"}}")}return i.code=r.code||a(e,t),i.html=r.html||function(r){var n=e.nextElementId++;e.tree.push(t.createElement("div",{key:n,dangerouslySetInnerHTML:{__html:r}}))},i.paragraph=r.paragraph||function(e){return u("p",null,e)},i.blockquote=r.blockquote||function(e){return u("blockquote",null,e)},i.link=r.link||function(e,t,r){return u("a",{href:e,title:t},r)},i.br=r.br||function(){return u("br")},i.hr=r.hr||function(){return u("hr")},i.strong=r.strong||function(e){return u("strong",null,e)},i.del=r.del||function(e){return u("del",null,e)},i.em=r.em||function(e){return u("em",null,e)},i.heading=r.heading||function(t,r){e.currentId=e.currentId.slice(0,r-1),e.currentId.push(t.replace(/\s/g,"-").toLowerCase());var n=e.currentId.join("-"),o=e.toc[e.toc.length-1];!o||o.level>r?e.toc.push({id:n,title:t,level:r,children:[]}):s(o,r).push({id:n,title:t,level:r,children:[]});return u("h".concat(r),{id:n},t)},i.list=r.list||function(e,t){return u(t?"ol":"ul",null,e)},i.listitem=r.listitem||function(e){return u("li",null,e)},i.table=r.table||function(e,t){return u("table",null,[u("thead",null,e),u("tbody",null,t)])},i.thead=r.thead||function(e){return u("thead",null,e)},i.tbody=r.tbody||function(e){return u("tbody",null,e)},i.tablerow=r.tablerow||function(e){return u("tr",null,e)},i.tablecell=r.tablecell||function(e,t){return u(t.header?"th":"td",{className:t.align?"text-".concat(t.align):void 0},e)},i.codespan=r.codespan||function(e){return u("code",null,e,"codespan")},i.image=r.image||function(e,t,r){return u("img",{src:e,alt:r})},i};var n=i(r("Ax1p")),o=i(r("P9a0"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){function r(e){var r;try{r=t.createElement("code",{className:"language-".concat(e.language),dangerouslySetInnerHTML:t.highlight?{__html:t.highlight(e.language,e.code)}:null},t.highlight?null:e.code)}catch(n){console.warn("".concat(e.language," is not supported by your defined highlighter.")),r=t.createElement("code",null,e.code)}return t.createElement("pre",null,r)}return function(n,o){var i=e.nextElementId++;return e.elements[i]=t.createElement(t.elements&&t.elements.code||r,{key:i,code:n,language:o}),e.tree.push(e.elements[i]),"{{".concat(i,"}}")}}},"2Hgx":function(e,t){var r="undefined"!=typeof Element,n="function"==typeof Map,o="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;e.exports=function(e,t){try{return function e(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,c,u,l;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(!e(t[c],a[c]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;for(l=t.entries();!(c=l.next()).done;)if(!e(c.value[1],a.get(c.value[0])))return!1;return!0}if(o&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(l=t.entries();!(c=l.next()).done;)if(!a.has(c.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(c=s;0!=c--;)if(t[c]!==a[c])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if((s=(u=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(c=s;0!=c--;)if(!Object.prototype.hasOwnProperty.call(a,u[c]))return!1;if(r&&t instanceof Element)return!1;for(c=s;0!=c--;)if(("_owner"!==u[c]&&"__v"!==u[c]&&"__o"!==u[c]||!t.$$typeof)&&!e(t[u[c]],a[u[c]]))return!1;return!0}return t!=t&&a!=a}(e,t)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}}},"2JdJ":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.connect=function(t,r,o,i){var a;if(void 0!==e&&null!==(a={})&&void 0!==a&&a.STREAM_URL&&!t){var s=/https:\/\/(\w+):(\w+)@([\w-]*).*\?app_id=(\d+)/.exec({}.STREAM_URL)||[];t=s[1],r=s[2];var c=s[3];o=s[4],void 0===i&&(i={}),"getstream"!==c&&"stream-io-api"!==c&&(i.location=c)}return new n.StreamClient(t,r,o,i)};var n=r("ju9Q")}).call(this,r("5IsQ"))},"2KG9":function(e,t,r){"use strict";var n=r("OmE2");e.exports=function(e,t,r,o,i){var a=new Error(e);return n(a,t,r,o,i)}},"2PKq":function(e,t,r){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var n=r("UAPb"),o=r("xwaA"),i=(0,n.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,o.inherits)(i,(0,n.createTokenClass)(),t)}i.prototype={toString:function(){return this.v+""}};var s=a(),c=a("@"),u=a(":"),l=a("."),f=a(),p=a(),d=a("\n"),h=a(),m=a("+"),v=a("#"),g=a(),b=a("mailto:"),y=a("?"),w=a("/"),_=a("_"),O=a(),x=a(),j=a(),k=a("{"),E=a("["),P=a("<"),S=a("("),C=a("}"),A=a("]"),T=a(">"),R=a(")"),D=a("&");t.Base=i,t.DOMAIN=s,t.AT=c,t.COLON=u,t.DOT=l,t.PUNCTUATION=f,t.LOCALHOST=p,t.NL=d,t.NUM=h,t.PLUS=m,t.POUND=v,t.QUERY=y,t.PROTOCOL=g,t.MAILTO=b,t.SLASH=w,t.UNDERSCORE=_,t.SYM=O,t.TLD=x,t.WS=j,t.OPENBRACE=k,t.OPENBRACKET=E,t.OPENANGLEBRACKET=P,t.OPENPAREN=S,t.CLOSEBRACE=C,t.CLOSEBRACKET=A,t.CLOSEANGLEBRACKET=T,t.CLOSEPAREN=R,t.AMPERSAND=D},"2YCq":function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.default=e.exports,e.exports.__esModule=!0},"2cPb":function(e,t,r){"use strict";e.exports=function e(t){var r,n,o;if(t instanceof Array){for(r=[],n=t.length;n--;)r[n]=e(t[n]);return r}if("object"==typeof t){for(o in r=null===t?null:{},t)r[o]=e(t[o]);return r}return t}},"2wRU":function(e,t,r){var n=r("GI0s"),o=r("ckUF"),i=r("T9Ud"),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},"2xEH":function(e,t){var r=Math.max;e.exports=function(e,t,n,o){for(var i=-1,a=e.length,s=n.length,c=-1,u=t.length,l=r(a-s,0),f=Array(u+l),p=!o;++c=o?e:n(e,t,r)}},"3DpS":function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r("Eo5u"),o=r("mXGw"),i=r.n(o),a=r("3KFY"),s=r("Dg5a"),c=r("ca/S"),u=r("LFXc"),l=r("aD51");"undefined"!=typeof ReactionListType&&ReactionListType&&ReactionListType===Object(ReactionListType)&&Object.isExtensible(ReactionListType)&&!ReactionListType.hasOwnProperty("__filemeta")&&Object.defineProperty(ReactionListType,"__filemeta",{configurable:!0,value:{name:"ReactionListType",filename:"src/components/ReactionList.tsx"}});var f=function(e){var t=e.activityId,r=e.Reaction,f=e.reactionKind,p=e.activityPath,d=e.oldestToNewest,h=void 0!==d&&d,m=e.Paginator,v=void 0===m?s.a:m,g=e.reverseOrder,b=void 0!==g&&g,y=Object(c.b)(),w=p||y.getActivityPath(t),_=h?"oldest":"latest",O=y.activities.getIn([].concat(Object(n.a)(w),[_+"_reactions_extra"])),x=!O||!!O.getIn([f,"next"],""),j=y.activities.getIn([].concat(Object(n.a)(w),[_+"_reactions",f]),a.a.List()),k=y.activities.getIn([].concat(Object(n.a)(w),[_+"_reactions_extra",f,"refreshing"]),!1);b&&(j=j.reverse());var E=function(){y.loadNextReactions(t,f,w,h)};return Object(o.useEffect)((function(){h&&O&&E()}),[]),Object(l.c)(i.a.Fragment,null,Object(u.a)(v,{loadNextPage:E,hasNextPage:x,refreshing:k,reverse:b,children:j.map((function(e){return Object(u.a)(r,{reaction:e.toJS(),key:e.get("id")})}))}))};void 0!==f&&f&&f===Object(f)&&Object.isExtensible(f)&&!f.hasOwnProperty("__filemeta")&&Object.defineProperty(f,"__filemeta",{configurable:!0,value:{name:"ReactionList",filename:"src/components/ReactionList.tsx"}})},"3GNe":function(e,t,r){var n=r("+dZb")("mapValues",r("qg2j"));n.placeholder=r("IOY3"),e.exports=n},"3I4I":function(e,t,r){"use strict";var n=r("h/Mk"),o=r("zrDt"),i=r("a72Q"),a=function(e,t,r,s,c,u,l,f){for(var p,d=c,h=0,m=!!l&&i(l,f,3);h0&&n(p))d=a(e,t,p,o(p.length),d,u-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=p}d++}h++}return d};e.exports=a},"3KFY":function(e,t,r){"use strict";r("x3Br"),r("SJSz"),r("RsBt");var n={};function o(e){e&&(e.value=!0)}function i(){}function a(e){return void 0===e.size&&(e.size=e.__iterate(c)),e.size}function s(e,t){if("number"!=typeof t){var r=t>>>0;if(""+r!==t||4294967295===r)return NaN;t=r}return t<0?a(e)+t:t}function c(){return!0}function u(e,t,r){return(0===e&&!d(e)||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&t>=r)}function l(e,t){return p(e,t,0)}function f(e,t){return p(e,t,t)}function p(e,t,r){return void 0===e?r:d(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function d(e){return e<0||0===e&&1/e==-1/0}function h(e){return Boolean(e&&e["@@__IMMUTABLE_ITERABLE__@@"])}function m(e){return Boolean(e&&e["@@__IMMUTABLE_KEYED__@@"])}function v(e){return Boolean(e&&e["@@__IMMUTABLE_INDEXED__@@"])}function g(e){return m(e)||v(e)}var b=function(e){return h(e)?e:F(e)},y=function(e){function t(e){return m(e)?e:q(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(b),w=function(e){function t(e){return v(e)?e:U(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(b),_=function(e){function t(e){return h(e)&&!g(e)?e:z(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(b);b.Keyed=y,b.Indexed=w,b.Set=_;function O(e){return Boolean(e&&e["@@__IMMUTABLE_SEQ__@@"])}function x(e){return Boolean(e&&e["@@__IMMUTABLE_RECORD__@@"])}function j(e){return h(e)||x(e)}var k="@@__IMMUTABLE_ORDERED__@@";function E(e){return Boolean(e&&e[k])}var P="function"==typeof Symbol&&Symbol.iterator,S=P||"@@iterator",C=function(e){this.next=e};function A(e,t,r,n){var o=0===e?t:1===e?r:[t,r];return n?n.value=o:n={value:o,done:!1},n}function T(){return{value:void 0,done:!0}}function R(e){return!!N(e)}function D(e){return e&&"function"==typeof e.next}function L(e){var t=N(e);return t&&t.call(e)}function N(e){var t=e&&(P&&e[P]||e["@@iterator"]);if("function"==typeof t)return t}C.prototype.toString=function(){return"[Iterator]"},C.KEYS=0,C.VALUES=1,C.ENTRIES=2,C.prototype.inspect=C.prototype.toSource=function(){return this.toString()},C.prototype[S]=function(){return this};var I=Object.prototype.hasOwnProperty;function M(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var F=function(e){function t(e){return null==e?Y():j(e)?e.toSeq():function(e){var t=J(e);if(t)return t;if("object"==typeof e)return new H(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var r=this._cache;if(r){for(var n=r.length,o=0;o!==n;){var i=r[t?n-++o:o++];if(!1===e(i[1],i[0],this))break}return o}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var r=this._cache;if(r){var n=r.length,o=0;return new C((function(){if(o===n)return{value:void 0,done:!0};var i=r[t?n-++o:o++];return A(e,i[0],i[1])}))}return this.__iteratorUncached(e,t)},t}(b),q=function(e){function t(e){return null==e?Y().toKeyedSeq():h(e)?m(e)?e.toSeq():e.fromEntrySeq():x(e)?e.toSeq():W(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(F),U=function(e){function t(e){return null==e?Y():h(e)?m(e)?e.entrySeq():e.toIndexedSeq():x(e)?e.toSeq().entrySeq():X(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(F),z=function(e){function t(e){return(h(e)&&!g(e)?e:U(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(F);F.isSeq=O,F.Keyed=q,F.Set=z,F.Indexed=U,F.prototype["@@__IMMUTABLE_SEQ__@@"]=!0;var B=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[s(this,e)]:t},t.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length,o=0;o!==n;){var i=t?n-++o:o++;if(!1===e(r[i],i,this))break}return o},t.prototype.__iterator=function(e,t){var r=this._array,n=r.length,o=0;return new C((function(){if(o===n)return{value:void 0,done:!0};var i=t?n-++o:o++;return A(e,i,r[i])}))},t}(U),H=function(e){function t(e){var t=Object.keys(e);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return I.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,o=n.length,i=0;i!==o;){var a=n[t?o-++i:i++];if(!1===e(r[a],a,this))break}return i},t.prototype.__iterator=function(e,t){var r=this._object,n=this._keys,o=n.length,i=0;return new C((function(){if(i===o)return{value:void 0,done:!0};var a=n[t?o-++i:i++];return A(e,a,r[a])}))},t}(q);H.prototype[k]=!0;var V,G=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r=L(this._collection),n=0;if(D(r))for(var o;!(o=r.next()).done&&!1!==e(o.value,n++,this););return n},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=L(this._collection);if(!D(r))return new C(T);var n=0;return new C((function(){var t=r.next();return t.done?t:A(e,n++,t.value)}))},t}(U);function Y(){return V||(V=new B([]))}function W(e){var t=Array.isArray(e)?new B(e):R(e)?new G(e):void 0;if(t)return t.fromEntrySeq();if("object"==typeof e)return new H(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function X(e){var t=J(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function J(e){return M(e)?new B(e):R(e)?new G(e):void 0}function K(e){return Boolean(e&&e["@@__IMMUTABLE_MAP__@@"])}function Z(e){return K(e)&&E(e)}function $(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function Q(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!=e&&t!=t)return!0;if(!e||!t)return!1}return!!($(e)&&$(t)&&e.equals(t))}var ee="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var r=65535&(e|=0),n=65535&(t|=0);return r*n+((e>>>16)*n+r*(t>>>16)<<16>>>0)|0};function te(e){return e>>>1&1073741824|3221225471&e}var re=Object.prototype.valueOf;function ne(e){switch(typeof e){case"boolean":return e?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return te(t)}(e);case"string":return e.length>fe?function(e){var t=he[e];void 0===t&&(t=oe(e),de===pe&&(de=0,he={}),de++,he[e]=t);return t}(e):oe(e);case"object":case"function":return null===e?1108378658:"function"==typeof e.hashCode?te(e.hashCode(e)):(e.valueOf!==re&&"function"==typeof e.valueOf&&(e=e.valueOf(e)),function(e){var t;if(ce&&void 0!==(t=se.get(e)))return t;if(void 0!==(t=e[le]))return t;if(!ae){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[le]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}t=++ue,1073741824&ue&&(ue=0);if(ce)se.set(e,t);else{if(void 0!==ie&&!1===ie(e))throw new Error("Non-extensible objects are not allowed as keys.");if(ae)Object.defineProperty(e,le,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[le]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[le]=t}}return t}(e));case"undefined":return 1108378659;default:if("function"==typeof e.toString)return oe(e.toString());throw new Error("Value type "+typeof e+" cannot be hashed.")}}function oe(e){for(var t=0,r=0;r=0&&(d.get=function(t,r){return(t=s(this,t))>=0&&tc)return{value:void 0,done:!0};var e=o.next();return n||1===t||e.done?e:A(t,s-1,0===t?void 0:e.value[1],e)}))},d}function je(e,t,r,n){var o=Le(e);return o.__iterateUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterate(o,i);var s=!0,c=0;return e.__iterate((function(e,i,u){if(!s||!(s=t.call(r,e,i,u)))return c++,o(e,n?i:c-1,a)})),c},o.__iteratorUncached=function(o,i){var a=this;if(i)return this.cacheResult().__iterator(o,i);var s=e.__iterator(2,i),c=!0,u=0;return new C((function(){var e,i,l;do{if((e=s.next()).done)return n||1===o?e:A(o,u++,0===o?void 0:e.value[1],e);var f=e.value;i=f[0],l=f[1],c&&(c=t.call(r,l,i,a))}while(c);return 2===o?e:A(o,i,l,e)}))},o}function ke(e,t){var r=m(e),n=[e].concat(t).map((function(e){return h(e)?r&&(e=y(e)):e=r?W(e):X(Array.isArray(e)?e:[e]),e})).filter((function(e){return 0!==e.size}));if(0===n.length)return e;if(1===n.length){var o=n[0];if(o===e||r&&m(o)||v(e)&&v(o))return o}var i=new B(n);return r?i=i.toKeyedSeq():v(e)||(i=i.toSetSeq()),(i=i.flatten(!0)).size=n.reduce((function(e,t){if(void 0!==e){var r=t.size;if(void 0!==r)return e+r}}),0),i}function Ee(e,t,r){var n=Le(e);return n.__iterateUncached=function(o,i){if(i)return this.cacheResult().__iterate(o,i);var a=0,s=!1;return function e(c,u){c.__iterate((function(i,c){return(!t||u0}function Ae(e,t,r,n){var o=Le(e),i=new B(r).map((function(e){return e.size}));return o.size=n?i.max():i.min(),o.__iterate=function(e,t){for(var r,n=this.__iterator(1,t),o=0;!(r=n.next()).done&&!1!==e(r.value,o++,this););return o},o.__iteratorUncached=function(e,o){var i=r.map((function(e){return e=b(e),L(o?e.reverse():e)})),a=0,s=!1;return new C((function(){var r;return s||(r=i.map((function(e){return e.next()})),s=n?r.every((function(e){return e.done})):r.some((function(e){return e.done}))),s?{value:void 0,done:!0}:A(e,a++,t.apply(null,r.map((function(e){return e.value}))))}))},o}function Te(e,t){return e===t?e:O(e)?t:e.constructor(t)}function Re(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function De(e){return m(e)?y:v(e)?w:_}function Le(e){return Object.create((m(e)?q:v(e)?U:z).prototype)}function Ne(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):F.prototype.cacheResult.call(this)}function Ie(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e0;)t[r]=arguments[r+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return it(this,t,e)}function it(e,t,r){for(var o=[],i=0;i0;)t[r]=arguments[r+1];return at(this,t,e)}function lt(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return Je(this,e,St(),(function(e){return st(e,t)}))}function ft(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return Je(this,e,St(),(function(e){return at(e,t)}))}function pt(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}function dt(){return this.__ownerID?this:this.__ensureOwner(new i)}function ht(){return this.__ensureOwner()}function mt(){return this.__altered}ve.prototype.cacheResult=me.prototype.cacheResult=ge.prototype.cacheResult=be.prototype.cacheResult=Ne;var vt=function(e){function t(t){return null==t?St():K(t)&&!E(t)?t:St().withMutations((function(r){var n=e(t);qe(n.size),n.forEach((function(e,t){return r.set(t,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return St().withMutations((function(t){for(var r=0;r=e.length)throw new Error("Missing value for key: "+e[r]);t.set(e[r],e[r+1])}}))},t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return Ct(this,e,t)},t.prototype.remove=function(e){return Ct(this,e,n)},t.prototype.deleteAll=function(e){var t=b(e);return 0===t.size?this:this.withMutations((function(e){t.forEach((function(t){return e.remove(t)}))}))},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):St()},t.prototype.sort=function(e){return Qt(Pe(this,e))},t.prototype.sortBy=function(e,t){return Qt(Pe(this,t,e))},t.prototype.map=function(e,t){return this.withMutations((function(r){r.forEach((function(n,o){r.set(o,e.call(t,n,o,r))}))}))},t.prototype.__iterator=function(e,t){return new jt(this,e,t)},t.prototype.__iterate=function(e,t){var r=this,n=0;return this._root&&this._root.iterate((function(t){return n++,e(t[1],t[0],r)}),t),n},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?Pt(this.size,this._root,e,this.__hash):0===this.size?St():(this.__ownerID=e,this.__altered=!1,this)},t}(y);vt.isMap=K;var gt=vt.prototype;gt["@@__IMMUTABLE_MAP__@@"]=!0,gt.delete=gt.remove,gt.removeAll=gt.deleteAll,gt.setIn=Ze,gt.removeIn=gt.deleteIn=Qe,gt.update=tt,gt.updateIn=rt,gt.merge=gt.concat=nt,gt.mergeWith=ot,gt.mergeDeep=ct,gt.mergeDeepWith=ut,gt.mergeIn=lt,gt.mergeDeepIn=ft,gt.withMutations=pt,gt.wasAltered=mt,gt.asImmutable=ht,gt["@@transducer/init"]=gt.asMutable=dt,gt["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},gt["@@transducer/result"]=function(e){return e.asImmutable()};var bt=function(e,t){this.ownerID=e,this.entries=t};bt.prototype.get=function(e,t,r,n){for(var o=this.entries,i=0,a=o.length;i=Nt)return function(e,t,r,n){e||(e=new i);for(var o=new Ot(e,ne(r),[r,n]),a=0;a>>e)),i=this.bitmap;return 0==(i&o)?n:this.nodes[Dt(i&o-1)].get(e+5,t,r,n)},yt.prototype.update=function(e,t,r,o,i,a,s){void 0===r&&(r=ne(o));var c=31&(0===t?r:r>>>t),u=1<=It)return function(e,t,r,n,o){for(var i=0,a=new Array(32),s=0;0!==r;s++,r>>>=1)a[s]=1&r?t[i++]:void 0;return a[n]=o,new wt(e,i+1,a)}(e,d,l,c,m);if(f&&!m&&2===d.length&&Tt(d[1^p]))return d[1^p];if(f&&m&&1===d.length&&Tt(m))return m;var v=e&&e===this.ownerID,g=f?m?l:l^u:l|u,b=f?m?Lt(d,p,m,v):function(e,t,r){var n=e.length-1;if(r&&t===n)return e.pop(),e;for(var o=new Array(n),i=0,a=0;a>>e),i=this.nodes[o];return i?i.get(e+5,t,r,n):n},wt.prototype.update=function(e,t,r,o,i,a,s){void 0===r&&(r=ne(o));var c=31&(0===t?r:r>>>t),u=i===n,l=this.nodes,f=l[c];if(u&&!f)return this;var p=At(f,e,t+5,r,o,i,a,s);if(p===f)return this;var d=this.count;if(f){if(!p&&--d>>r),s=31&(0===r?n:n>>>r),c=a===s?[Rt(e,t,r+5,n,o)]:(i=new Ot(t,n,o),a>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function Lt(e,t,r,n){var o=n?e:Me(e);return o[t]=r,o}var Nt=8,It=16,Mt=8;function Ft(e){return Boolean(e&&e["@@__IMMUTABLE_LIST__@@"])}var qt=function(e){function t(t){var r=Yt();if(null==t)return r;if(Ft(t))return t;var n=e(t),o=n.size;return 0===o?r:(qe(o),o>0&&o<32?Gt(0,o,5,null,new zt(n.toArray())):r.withMutations((function(e){e.setSize(o),n.forEach((function(t,r){return e.set(r,t)}))})))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=s(this,e))>=0&&e=e.size||t<0)return e.withMutations((function(e){t<0?Kt(e,t).set(0,r):Kt(e,0,t+1).set(t,r)}));t+=e._origin;var n=e._tail,o=e._root,i={value:!1};t>=Zt(e._capacity)?n=Wt(n,e.__ownerID,0,t,r,i):o=Wt(o,e.__ownerID,e._level,t,r,i);if(!i.value)return e;if(e.__ownerID)return e._root=o,e._tail=n,e.__hash=void 0,e.__altered=!0,e;return Gt(e._origin,e._capacity,e._level,o,n)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Yt()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations((function(r){Kt(r,0,t+e.length);for(var n=0;n>>t&31;if(n>=this.array.length)return new zt([],e);var o,i=0===n;if(t>0){var a=this.array[n];if((o=a&&a.removeBefore(e,t-5,r))===a&&i)return this}if(i&&!o)return this;var s=Xt(this,e);if(!i)for(var c=0;c>>t&31;if(o>=this.array.length)return this;if(t>0){var i=this.array[o];if((n=i&&i.removeAfter(e,t-5,r))===i&&o===this.array.length-1)return this}var a=Xt(this,e);return a.array.splice(o+1),n&&(a.array[o]=n),a};var Bt,Ht={};function Vt(e,t){var r=e._origin,n=e._capacity,o=Zt(n),i=e._tail;return a(e._root,e._level,0);function a(e,s,c){return 0===s?function(e,a){var s=a===o?i&&i.array:e&&e.array,c=a>r?0:r-a,u=n-a;u>32&&(u=32);return function(){if(c===u)return Ht;var e=t?--u:c++;return s&&s[e]}}(e,c):function(e,o,i){var s,c=e&&e.array,u=i>r?0:r-i>>o,l=1+(n-i>>o);l>32&&(l=32);return function(){for(;;){if(s){var e=s();if(e!==Ht)return e;s=null}if(u===l)return Ht;var r=t?--l:u++;s=a(c&&c[r],o-5,i+(r<>>r&31,u=e&&c0){var l=e&&e.array[c],f=Wt(l,t,r-5,n,i,a);return f===l?e:((s=Xt(e,t)).array[c]=f,s)}return u&&e.array[c]===i?e:(a&&o(a),s=Xt(e,t),void 0===i&&c===s.array.length-1?s.array.pop():s.array[c]=i,s)}function Xt(e,t){return t&&e&&t===e.ownerID?e:new zt(e?e.array.slice():[],t)}function Jt(e,t){if(t>=Zt(e._capacity))return e._tail;if(t<1<0;)r=r.array[t>>>n&31],n-=5;return r}}function Kt(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0);var n=e.__ownerID||new i,o=e._origin,a=e._capacity,s=o+t,c=void 0===r?a:r<0?a+r:o+r;if(s===o&&c===a)return e;if(s>=c)return e.clear();for(var u=e._level,l=e._root,f=0;s+f<0;)l=new zt(l&&l.array.length?[void 0,l]:[],n),f+=1<<(u+=5);f&&(s+=f,o+=f,c+=f,a+=f);for(var p=Zt(a),d=Zt(c);d>=1<p?new zt([],n):h;if(h&&d>p&&s5;g-=5){var b=p>>>g&31;v=v.array[b]=Xt(v.array[b],n)}v.array[p>>>5&31]=h}if(c=d)s-=d,c-=d,u=5,l=null,m=m&&m.removeBefore(n,0,s);else if(s>o||d>>u&31;if(y!==d>>>u&31)break;y&&(f+=(1<o&&(l=l.removeBefore(n,u,s-f)),l&&d>>5<<5}var $t,Qt=function(e){function t(e){return null==e?tr():Z(e)?e:tr().withMutations((function(t){var r=y(e);qe(r.size),r.forEach((function(e,r){return t.set(r,e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var r=this._map.get(e);return void 0!==r?this._list.get(r)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):tr()},t.prototype.set=function(e,t){return rr(this,e,t)},t.prototype.remove=function(e){return rr(this,e,n)},t.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},t.prototype.__iterate=function(e,t){var r=this;return this._list.__iterate((function(t){return t&&e(t[1],t[0],r)}),t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e);return e?er(t,r,e,this.__hash):0===this.size?tr():(this.__ownerID=e,this._map=t,this._list=r,this)},t}(vt);function er(e,t,r,n){var o=Object.create(Qt.prototype);return o.size=e?e.size:0,o._map=e,o._list=t,o.__ownerID=r,o.__hash=n,o}function tr(){return $t||($t=er(St(),Yt()))}function rr(e,t,r){var o,i,a=e._map,s=e._list,c=a.get(t),u=void 0!==c;if(r===n){if(!u)return e;s.size>=32&&s.size>=2*a.size?(o=(i=s.filter((function(e,t){return void 0!==e&&c!==t}))).toKeyedSeq().map((function(e){return e[0]})).flip().toMap(),e.__ownerID&&(o.__ownerID=i.__ownerID=e.__ownerID)):(o=a.remove(t),i=c===s.size-1?s.pop():s.set(c,void 0))}else if(u){if(r===s.get(c)[1])return e;o=a,i=s.set(c,[t,r])}else o=a.set(t,s.size),i=s.set(s.size,[t,r]);return e.__ownerID?(e.size=o.size,e._map=o,e._list=i,e.__hash=void 0,e):er(o,i)}Qt.isOrderedMap=Z,Qt.prototype[k]=!0,Qt.prototype.delete=Qt.prototype.remove;function nr(e){return Boolean(e&&e["@@__IMMUTABLE_STACK__@@"])}var or=function(e){function t(e){return null==e?cr():nr(e)?e:cr().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var r=this._head;for(e=s(this,e);r&&e--;)r=r.next;return r?r.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,r=this._head,n=arguments.length-1;n>=0;n--)r={value:e[n],next:r};return this.__ownerID?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):sr(t,r)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&nr(t))return t;qe(t.size);var r=this.size,n=this._head;return t.__iterate((function(e){r++,n={value:e,next:n}}),!0),this.__ownerID?(this.size=r,this._head=n,this.__hash=void 0,this.__altered=!0,this):sr(r,n)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):cr()},t.prototype.slice=function(t,r){if(u(t,r,this.size))return this;var n=l(t,this.size);if(f(r,this.size)!==this.size)return e.prototype.slice.call(this,t,r);for(var o=this.size-n,i=this._head;n--;)i=i.next;return this.__ownerID?(this.size=o,this._head=i,this.__hash=void 0,this.__altered=!0,this):sr(o,i)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?sr(this.size,this._head,e,this.__hash):0===this.size?cr():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var r=this;if(t)return new B(this.toArray()).__iterate((function(t,n){return e(t,n,r)}),t);for(var n=0,o=this._head;o&&!1!==e(o.value,n++,this);)o=o.next;return n},t.prototype.__iterator=function(e,t){if(t)return new B(this.toArray()).__iterator(e,t);var r=0,n=this._head;return new C((function(){if(n){var t=n.value;return n=n.next,A(e,r++,t)}return{value:void 0,done:!0}}))},t}(w);or.isStack=nr;var ir,ar=or.prototype;function sr(e,t,r,n){var o=Object.create(ar);return o.size=e,o._head=t,o.__ownerID=r,o.__hash=n,o.__altered=!1,o}function cr(){return ir||(ir=sr(0))}ar["@@__IMMUTABLE_STACK__@@"]=!0,ar.shift=ar.pop,ar.unshift=ar.push,ar.unshiftAll=ar.pushAll,ar.withMutations=pt,ar.wasAltered=mt,ar.asImmutable=ht,ar["@@transducer/init"]=ar.asMutable=dt,ar["@@transducer/step"]=function(e,t){return e.unshift(t)},ar["@@transducer/result"]=function(e){return e.asImmutable()};function ur(e){return Boolean(e&&e["@@__IMMUTABLE_SET__@@"])}function lr(e){return ur(e)&&E(e)}function fr(e,t){if(e===t)return!0;if(!h(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||m(e)!==m(t)||v(e)!==v(t)||E(e)!==E(t))return!1;if(0===e.size&&0===t.size)return!0;var r=!g(e);if(E(e)){var o=e.entries();return t.every((function(e,t){var n=o.next().value;return n&&Q(n[1],e)&&(r||Q(n[0],t))}))&&o.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var a=e;e=t,t=a}var s=!0,c=t.__iterate((function(t,o){if(r?!e.has(t):i?!Q(t,e.get(o,n)):!Q(e.get(o,n),t))return s=!1,!1}));return s&&e.size===c}function pr(e,t){var r=function(r){e.prototype[r]=t[r]};return Object.keys(t).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(r),e}function dr(e){if(!e||"object"!=typeof e)return e;if(!h(e)){if(!Be(e))return e;e=F(e)}if(m(e)){var t={};return e.__iterate((function(e,r){t[r]=dr(e)})),t}var r=[];return e.__iterate((function(e){r.push(dr(e))})),r}var hr=function(e){function t(t){return null==t?yr():ur(t)&&!E(t)?t:yr().withMutations((function(r){var n=e(t);qe(n.size),n.forEach((function(e){return r.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(y(e).keySeq())},t.intersect=function(e){return(e=b(e).toArray()).length?vr.intersect.apply(t(e.pop()),e):yr()},t.union=function(e){return(e=b(e).toArray()).length?vr.union.apply(t(e.pop()),e):yr()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return gr(this,this._map.set(e,e))},t.prototype.remove=function(e){return gr(this,this._map.remove(e))},t.prototype.clear=function(){return gr(this,this._map.clear())},t.prototype.map=function(e,t){var r=this,n=[],o=[];return this.forEach((function(i){var a=e.call(t,i,i,r);a!==i&&(n.push(i),o.push(a))})),this.withMutations((function(e){n.forEach((function(t){return e.remove(t)})),o.forEach((function(t){return e.add(t)}))}))},t.prototype.union=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return 0===(t=t.filter((function(e){return 0!==e.size}))).length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations((function(r){for(var n=0;n=0&&t=0&&r>>-15,461845907),t=ee(t<<13|t>>>-13,5),t=ee((t=(t+3864292196|0)^e)^t>>>16,2246822507),t=te((t=ee(t^t>>>13,3266489909))^t>>>16)}(e.__iterate(r?t?function(e,t){n=31*n+Ir(ne(e),ne(t))|0}:function(e,t){n=n+Ir(ne(e),ne(t))|0}:t?function(e){n=31*n+ne(e)|0}:function(e){n=n+ne(e)|0}),n)}(this))}});var Er=b.prototype;Er["@@__IMMUTABLE_ITERABLE__@@"]=!0,Er[S]=Er.values,Er.toJSON=Er.toArray,Er.__toStringMapper=He,Er.inspect=Er.toSource=function(){return this.toString()},Er.chain=Er.flatMap,Er.contains=Er.includes,pr(y,{flip:function(){return Te(this,ye(this))},mapEntries:function(e,t){var r=this,n=0;return Te(this,this.toSeq().map((function(o,i){return e.call(t,[i,o],n++,r)})).fromEntrySeq())},mapKeys:function(e,t){var r=this;return Te(this,this.toSeq().flip().map((function(n,o){return e.call(t,n,o,r)})).flip())}});var Pr=y.prototype;Pr["@@__IMMUTABLE_KEYED__@@"]=!0,Pr[S]=Er.entries,Pr.toJSON=kr,Pr.__toStringMapper=function(e,t){return He(t)+": "+He(e)},pr(w,{toKeyedSeq:function(){return new me(this,!1)},filter:function(e,t){return Te(this,Oe(this,e,t,!1))},findIndex:function(e,t){var r=this.findEntry(e,t);return r?r[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 Te(this,_e(this,!1))},slice:function(e,t){return Te(this,xe(this,e,t,!1))},splice:function(e,t){var r=arguments.length;if(t=Math.max(t||0,0),0===r||2===r&&!t)return this;e=l(e,e<0?this.count():this.size);var n=this.slice(0,e);return Te(this,1===r?n:n.concat(Me(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var r=this.findLastEntry(e,t);return r?r[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return Te(this,Ee(this,e,!1))},get:function(e,t){return(e=s(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find((function(t,r){return r===e}),void 0,t)},has:function(e){return(e=s(this,e))>=0&&(void 0!==this.size?this.size===1/0||et?-1:0}function Ir(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}Sr["@@__IMMUTABLE_INDEXED__@@"]=!0,Sr[k]=!0,pr(_,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}}),_.prototype.has=Er.includes,_.prototype.contains=_.prototype.includes,pr(q,y.prototype),pr(U,w.prototype),pr(z,_.prototype);var Mr=function(e){function t(e){return null==e?zr():lr(e)?e:zr().withMutations((function(t){var r=_(e);qe(r.size),r.forEach((function(e){return t.add(e)}))}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this(y(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(hr);Mr.isOrderedSet=lr;var Fr,qr=Mr.prototype;function Ur(e,t){var r=Object.create(qr);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function zr(){return Fr||(Fr=Ur(tr()))}qr[k]=!0,qr.zip=Sr.zip,qr.zipWith=Sr.zipWith,qr.__empty=zr,qr.__make=Ur;var Br=function(e,t){var r,n=function(i){var a=this;if(i instanceof n)return i;if(!(this instanceof n))return new n(i);if(!r){r=!0;var s=Object.keys(e),c=o._indices={};o._name=t,o._keys=s,o._defaultValues=e;for(var u=0;u2?[]:void 0,{"":e})},hash:ne,isImmutable:j,isCollection:h,isKeyed:m,isIndexed:v,isAssociative:g,isOrdered:E,isValueObject:$,isSeq:O,isList:Ft,isMap:K,isOrderedMap:Z,isStack:nr,isSet:ur,isOrderedSet:lr,isRecord:x,get:Ge,getIn:Or,has:Ve,hasIn:jr,merge:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return st(e,t)},mergeDeep:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return at(e,t)},mergeWith:function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return st(t,r,e)},mergeDeepWith:function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return at(t,r,e)},remove:We,removeIn:$e,set:Xe,setIn:Ke,update:et,updateIn:Je};t.a=Kr},"3gDE":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,i.default)(e);if(!r.length)return void t.preventDefault();var n=void 0,o=t.shiftKey,a=r[0],s=r[r.length-1];if(e===document.activeElement){if(!o)return;n=s}s!==document.activeElement||o||(n=a);a===document.activeElement&&o&&(n=s);if(n)return t.preventDefault(),void n.focus();var c=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==c||"Chrome"==c[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=r.indexOf(document.activeElement);u>-1&&(u+=o?-1:1);if(void 0===(n=r[u]))return t.preventDefault(),void(n=o?s:a).focus();t.preventDefault(),n.focus()};var n,o=r("XrU5"),i=(n=o)&&n.__esModule?n:{default:n};e.exports=t.default},"3hyD":function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("Sgbw")),i=n(r("AcCc")),a=n(r("Mj04")),s=n(r("D1KR")),c=n(r("ti3h")),u=function(e){function t(e){var r;return(0,o.default)(this,t),(r=(0,a.default)(this,(0,s.default)(t).call(this,e))).state={opened:!1},r}return(0,c.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(e){var t=parseInt(e.currentTarget.getAttribute("data-skin")),r=this.props.onChange;this.state.opened?(this.setState({opened:!1}),t!=this.props.skin&&r(t)):this.setState({opened:!0})}},{key:"render",value:function(){return null}}]),t}(n(r("mXGw")).default.PureComponent);t.default=u,u.defaultProps={onChange:function(){}}},"3kU/":function(e,t,r){var n=r("2wRU"),o=r("TsNJ"),i=r("DhoL"),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},"3pC9":function(e,t,r){var n=r("gIo2"),o=r("nrda"),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},4:function(e,t){},"41Zj":function(e,t,r){"use strict";var n={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!n.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:n},"42WU":function(e,t,r){var n=r("296D");e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},"49Kr":function(e,t,r){"use strict";(function(t){r("W7E7");var n=r("zHBu"),o=r("VlGz"),i=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,s=new RegExp("^[\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF]+");function c(e){return(e||"").toString().replace(s,"")}var u=[["#","hash"],["?","query"],function(e,t){return p(t.protocol)?e.replace(/\\/g,"/"):e},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d+)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function f(e){var r,n=("undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{}).location||{},o={},a=typeof(e=e||n);if("blob:"===e.protocol)o=new h(unescape(e.pathname),{});else if("string"===a)for(r in o=new h(e,{}),l)delete o[r];else if("object"===a){for(r in e)r in l||(o[r]=e[r]);void 0===o.slashes&&(o.slashes=i.test(e.href))}return o}function p(e){return"file:"===e||"ftp:"===e||"http:"===e||"https:"===e||"ws:"===e||"wss:"===e}function d(e,t){e=c(e),t=t||{};var r,n=a.exec(e),o=n[1]?n[1].toLowerCase():"",i=!!n[2],s=!!n[3],u=0;return i?s?(r=n[2]+n[3]+n[4],u=n[2].length+n[3].length):(r=n[2]+n[4],u=n[2].length):s?(r=n[3]+n[4],u=n[3].length):r=n[4],"file:"===o?u>=2&&(r=r.slice(2)):p(o)?r=n[4]:o?i&&(r=r.slice(2)):u>=2&&p(t.protocol)&&(r=n[4]),{protocol:o,slashes:i||p(o),slashesCount:u,rest:r}}function h(e,t,r){if(e=c(e),!(this instanceof h))return new h(e,t,r);var i,a,s,l,m,v,g=u.slice(),b=typeof t,y=this,w=0;for("object"!==b&&"string"!==b&&(r=t,t=null),r&&"function"!=typeof r&&(r=o.parse),i=!(a=d(e||"",t=f(t))).protocol&&!a.slashes,y.slashes=a.slashes||i&&t.slashes,y.protocol=a.protocol||t.protocol||"",e=a.rest,("file:"===y.protocol||!a.slashes&&(a.protocol||a.slashesCount<2||!p(y.protocol)))&&(g[3]=[/(.*)/,"pathname"]);w1)for(var r=1;r=t||r<0||v&&e-h>=l}function _(){var e=o();if(w(e))return O(e);p=setTimeout(_,function(e){var r=t-(e-d);return v?s(r,l-(e-h)):r}(e))}function O(e){return p=void 0,g&&c?b(e):(c=u=void 0,f)}function x(){var e=o(),r=w(e);if(c=arguments,u=this,d=e,r){if(void 0===p)return y(d);if(v)return clearTimeout(p),p=setTimeout(_,t),b(d)}return void 0===p&&(p=setTimeout(_,t)),f}return t=i(t)||0,n(r)&&(m=!!r.leading,l=(v="maxWait"in r)?a(i(r.maxWait)||0,t):l,g="trailing"in r?!!r.trailing:g),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=d=u=p=void 0},x.flush=function(){return void 0===p?f:O(o())},x}},"5e2E":function(e,t,r){var n=r("296D"),o=r("I4Y3");function i(t,r,a){return o()?(e.exports=i=Reflect.construct,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i},e.exports.default=e.exports,e.exports.__esModule=!0),i.apply(null,arguments)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},"5u71":function(e,t,r){var n=r("0711");e.exports=function(e){return n(e,4)}},"5yr3":function(e,t,r){"use strict";var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}();t.a=n},"6+Ft":function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r("k0FJ"),o=r("mXGw"),i=r.n(o),a=r("6kP9"),s=r("+mwj"),c=r("WjHG"),u=r("Dg5a"),l=r("QBKC"),f=r("LFXc"),p=r("ca/S"),d=r("/asK"),h=r("aD51");"undefined"!=typeof FlatFeedProps&&FlatFeedProps&&FlatFeedProps===Object(FlatFeedProps)&&Object.isExtensible(FlatFeedProps)&&!FlatFeedProps.hasOwnProperty("__filemeta")&&Object.defineProperty(FlatFeedProps,"__filemeta",{configurable:!0,value:{name:"FlatFeedProps",filename:"src/components/FlatFeed.tsx"}});var m=function(e){return Object(h.c)(c.a,Object(n.a)({labelPlural:"activities",labelSingle:"activity"},e))},v=function(e){var t=e.Activity,r=e.Notifier,n=e.Placeholder,o=e.Paginator,a=e.LoadingIndicator,s=e.options,c=Object(p.b)(),u=Object(d.b)().t;return c.refreshing&&!c.hasDoneRequest?Object(h.c)("div",{className:"raf-loading-indicator"},Object(f.a)(a)):Object(h.c)(i.a.Fragment,null,Object(f.a)(r,{adds:c.realtimeAdds,deletes:c.realtimeDeletes,onClick:c.hasReverseNextPage?c.loadReverseNextPage:function(){return c.refresh(s)},labelFunction:c.hasReverseNextPage?function(){return u("Load activities")}:void 0}),0===c.activities.size&&c.hasDoneRequest?Object(f.a)(n):Object(f.a)(o,{loadNextPage:c.loadNextPage,hasNextPage:c.hasNextPage,refreshing:c.refreshing,children:c.activityOrder.map((function(e){var r;return Object(f.a)(t,{activity:null===(r=c.activities.get(e))||void 0===r?void 0:r.toJS(),feedGroup:c.feedGroup,userId:c.userId,key:e})}))}))},g=function(e){var t=e.userId,r=e.options,n=e.analyticsLocation,o=e.doFeedRequest,i=e.doActivityDeleteRequest,c=e.doChildReactionAddRequest,f=e.doChildReactionDeleteRequest,d=e.doReactionAddRequest,g=e.doReactionDeleteRequest,b=e.doReactionsFilterRequest,y=e.feedGroup,w=void 0===y?"timeline":y,_=e.notify,O=void 0!==_&&_,x=e.Activity,j=void 0===x?s.a:x,k=e.Notifier,E=void 0===k?m:k,P=e.Placeholder,S=void 0===P?l.a:P,C=e.Paginator,A=void 0===C?u.a:C,T=e.LoadingIndicator,R=void 0===T?a.h:T;return Object(h.c)(p.a,{feedGroup:w,userId:t,options:r,notify:O,analyticsLocation:n,doFeedRequest:o,doActivityDeleteRequest:i,doReactionAddRequest:d,doReactionDeleteRequest:g,doChildReactionAddRequest:c,doChildReactionDeleteRequest:f,doReactionsFilterRequest:b},Object(h.c)(v,{Activity:j,Notifier:E,Placeholder:S,Paginator:A,LoadingIndicator:R,options:r}))};void 0!==g&&g&&g===Object(g)&&Object.isExtensible(g)&&!g.hasOwnProperty("__filemeta")&&Object.defineProperty(g,"__filemeta",{configurable:!0,value:{name:"FlatFeed",filename:"src/components/FlatFeed.tsx"}})},6758:function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},"68/1":function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r("mXGw"),o=r("8Jek"),i=r.n(o),a=r("/asK"),s=r("aD51");"undefined"!=typeof ReactionIconProps&&ReactionIconProps&&ReactionIconProps===Object(ReactionIconProps)&&Object.isExtensible(ReactionIconProps)&&!ReactionIconProps.hasOwnProperty("__filemeta")&&Object.defineProperty(ReactionIconProps,"__filemeta",{configurable:!0,value:{name:"ReactionIconProps",filename:"src/components/ReactionIcon.tsx"}});var c=function(e){var t,r=e.counts,o=e.kind,c=e.icon,u=e.labelPlural,l=e.labelSingle,f=e.onPress,p=e.className,d=e.style,h=Object(a.b)().t,m=null!==(t=null==r?void 0:r[null!=o?o:""])&&void 0!==t?t:0,v=Object(n.useMemo)((function(){var e=m>1||m<1;if(l&&u)return m+" "+(e?u:l);if("comment"===o||"repost"===o||"like"===o)switch(o){case"comment":return e?h("{{ countComments }} comments",{countComments:m}):h("1 comment");case"like":return e?h("{{ countLikes }} likes",{countLikes:m}):h("1 like");case"repost":return e?h("{{ countReposts }} reposts",{countReposts:m}):h("1 repost");default:return}}),[m,l,u,o]);return Object(s.c)("div",{className:i()("raf-reaction-icon",p),role:"button",onClick:f,style:d},c&&("string"==typeof c?Object(s.c)("img",{className:"raf-reaction-icon__image",src:c,alt:""}):c),Object(s.c)("p",{className:"raf-reaction-icon__label"},v))};void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"ReactionIcon",filename:"src/components/ReactionIcon.tsx"}})},"69GW":function(e,t,r){"use strict";(function(t){var n=r("NFrV"),o=r("/95U").Cookie,i=r("UCma"),a=r("DZJZ"),s=r("BZif"),c=r("j1kx"),u=r("+2yT"),l=r("dC2m"),f=s(n({className:"Transport",DEFAULT_PORTS:{"http:":80,"https:":443,"ws:":80,"wss:":443},MAX_DELAY:0,batching:!0,initialize:function(e,t){this._dispatcher=e,this.endpoint=t,this._outbox=[],this._proxy=s({},this._dispatcher.proxy),this._proxy.origin||(this._proxy.origin=this._findProxy())},close:function(){},encode:function(e){return""},sendMessage:function(e){return this.debug("Client ? sending message to ?: ?",this._dispatcher.clientId,this.endpoint.href,e),this.batching?(this._outbox.push(e),this._flushLargeBatch(),e.channel===l.HANDSHAKE?this._publish(.01):(e.channel===l.CONNECT&&(this._connectMessage=e),this._publish(this.MAX_DELAY))):i.resolve(this.request([e]))},_makePromise:function(){var e=this;this._requestPromise=this._requestPromise||new i((function(t){e._resolvePromise=t}))},_publish:function(e){return this._makePromise(),this.addTimeout("publish",e,(function(){this._flush(),delete this._requestPromise}),this),this._requestPromise},_flush:function(){this.removeTimeout("publish"),this._outbox.length>1&&this._connectMessage&&(this._connectMessage.advice={timeout:0}),this._resolvePromise(this.request(this._outbox)),this._connectMessage=null,this._outbox=[]},_flushLargeBatch:function(){if(!(this.encode(this._outbox).length1&&(n=a[o]),n=n||a["CGI_"+i]):(n=a[o]||a[i])&&!a[o]&&console.warn("The environment variable "+i+" is discouraged. Use "+o+"."),n}}}}),{get:function(e,t,r,n,o){var i=e.endpoint;a.asyncEach(this._transports,(function(i,s){var c=i[0],u=i[1],l=e.endpointFor(c);return a.indexOf(r,c)>=0?s():a.indexOf(t,c)<0?(u.isUsable(e,l,(function(){})),s()):void u.isUsable(e,l,(function(t){if(!t)return s();var r=u.hasOwnProperty("create")?u.create(e,l):new u(e,l);n.call(o,r)}))}),(function(){throw new Error("Could not find a usable connection type for "+i.href)}))},register:function(e,t){this._transports.push([e,t]),t.prototype.connectionType=e},getConnectionTypes:function(){return a.map(this._transports,(function(e){return e[0]}))},disable:function(e){if("autodisconnect"===e)for(var t=0;t0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0)&&!(n=i.next()).done;)a.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}Object.create;var I=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function M(e,t){var r=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var r=t.split(".").pop().toLowerCase(),n=I.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!=typeof r.path){var n=e.webkitRelativePath;Object.defineProperty(r,"path",{value:"string"==typeof t?t:"string"==typeof n&&n.length>0?n:e.name,writable:!1,configurable:!1,enumerable:!0})}return r}var F=[".DS_Store","Thumbs.db"];function q(e){return(null!==e.target&&e.target.files?B(e.target.files):[]).map((function(e){return M(e)}))}function U(e,t){return D(this,void 0,void 0,(function(){var r;return L(this,(function(n){switch(n.label){case 0:return e.items?(r=B(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,r]:[4,Promise.all(r.map(H))]):[3,2];case 1:return[2,z(V(n.sent()))];case 2:return[2,z(B(e.files).map((function(e){return M(e)})))]}}))}))}function z(e){return e.filter((function(e){return-1===F.indexOf(e.name)}))}function B(e){for(var t=[],r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);rr)return[!1,ee(r)];if(e.sizer)return[!1,ee(r)]}return[!0,null]}function ie(e){return null!=e}function ae(e){var t=e.files,r=e.accept,n=e.minSize,o=e.maxSize,i=e.multiple,a=e.maxFiles;return!(!i&&t.length>1||i&&a>=1&&t.length>a)&&t.every((function(e){var t=Z(ne(e,r),1)[0],i=Z(oe(e,n,o),1)[0];return t&&i}))}function se(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function ce(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function ue(e){e.preventDefault()}function le(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function fe(e){return-1!==e.indexOf("Edge/")}function pe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return le(e)||fe(e)}function de(){for(var e=arguments.length,t=new Array(e),r=0;r1?r-1:0),o=1;oe.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Oe=Object(n.forwardRef)((function(e,t){var r=e.children,i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ye(ye({},xe),e),r=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,c=t.multiple,u=t.maxFiles,l=t.onDragEnter,f=t.onDragLeave,p=t.onDragOver,d=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,v=t.onFileDialogCancel,g=t.preventDropOnDocument,b=t.noClick,y=t.noKeyboard,w=t.noDrag,_=t.noDragEventsBubbling,O=t.validator,x=Object(n.useRef)(null),j=Object(n.useRef)(null),k=Object(n.useReducer)(Ee,ke),E=me(k,2),P=E[0],S=E[1],C=P.isFocused,A=P.isFileDialogActive,T=P.draggedFiles,R=Object(n.useCallback)((function(){j.current&&(S({type:"openDialog"}),j.current.value=null,j.current.click())}),[S]),D=function(){A&&setTimeout((function(){j.current&&(j.current.files.length||(S({type:"closeDialog"}),"function"==typeof v&&v()))}),300)};Object(n.useEffect)((function(){return window.addEventListener("focus",D,!1),function(){window.removeEventListener("focus",D,!1)}}),[j,A,v]);var L=Object(n.useCallback)((function(e){x.current&&x.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),R()))}),[x,j]),N=Object(n.useCallback)((function(){S({type:"focus"})}),[]),I=Object(n.useCallback)((function(){S({type:"blur"})}),[]),M=Object(n.useCallback)((function(){b||(pe()?setTimeout(R,0):R())}),[j,b]),F=Object(n.useRef)([]),q=function(e){x.current&&x.current.contains(e.target)||(e.preventDefault(),F.current=[])};Object(n.useEffect)((function(){return g&&(document.addEventListener("dragover",ue,!1),document.addEventListener("drop",q,!1)),function(){g&&(document.removeEventListener("dragover",ue),document.removeEventListener("drop",q))}}),[x,g]);var U=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[].concat(he(F.current),[e.target]),ce(e)&&Promise.resolve(i(e)).then((function(t){se(e)&&!_||(S({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),l&&l(e))}))}),[i,l,_]),z=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=ce(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(r){}return t&&p&&p(e),!1}),[p,_]),B=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),W(e);var t=F.current.filter((function(e){return x.current&&x.current.contains(e)})),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),F.current=t,t.length>0||(S({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),ce(e)&&f&&f(e))}),[x,f,_]),H=Object(n.useCallback)((function(e){e.preventDefault(),e.persist(),W(e),F.current=[],ce(e)&&Promise.resolve(i(e)).then((function(t){if(!se(e)||_){var n=[],o=[];t.forEach((function(e){var t=me(ne(e,r),2),i=t[0],c=t[1],u=me(oe(e,s,a),2),l=u[0],f=u[1],p=O?O(e):null;if(i&&l&&!p)n.push(e);else{var d=[c,f];p&&(d=d.concat(p)),o.push({file:e,errors:d.filter((function(e){return e}))})}})),(!c&&n.length>1||c&&u>=1&&n.length>u)&&(n.forEach((function(e){o.push({file:e,errors:[re]})})),n.splice(0)),S({acceptedFiles:n,fileRejections:o,type:"setFiles"}),d&&d(n,o,e),o.length>0&&m&&m(o,e),n.length>0&&h&&h(n,e)}})),S({type:"reset"})}),[c,r,s,a,u,i,d,h,m,_,O]),V=function(e){return o?null:e},G=function(e){return y?null:V(e)},Y=function(e){return w?null:V(e)},W=function(e){_&&e.stopPropagation()},X=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.onKeyDown,i=e.onFocus,a=e.onBlur,s=e.onClick,c=e.onDragEnter,u=e.onDragOver,l=e.onDragLeave,f=e.onDrop,p=_e(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return ye(ye(we({onKeyDown:G(de(n,L)),onFocus:G(de(i,N)),onBlur:G(de(a,I)),onClick:V(de(s,M)),onDragEnter:Y(de(c,U)),onDragOver:Y(de(u,z)),onDragLeave:Y(de(l,B)),onDrop:Y(de(f,H))},r,x),o||y?{}:{tabIndex:0}),p)}}),[x,L,N,I,M,U,z,B,H,y,w,o]),J=Object(n.useCallback)((function(e){e.stopPropagation()}),[]),K=Object(n.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,o=e.onChange,i=e.onClick,a=_e(e,["refKey","onChange","onClick"]),s=we({accept:r,multiple:c,type:"file",style:{display:"none"},onChange:V(de(o,H)),onClick:V(de(i,J)),autoComplete:"off",tabIndex:-1},n,j);return ye(ye({},s),a)}}),[j,r,c,H,o]),Z=T.length,$=Z>0&&ae({files:T,accept:r,minSize:s,maxSize:a,multiple:c,maxFiles:u}),Q=Z>0&&!$;return ye(ye({},P),{},{isDragAccept:$,isDragReject:Q,isFocused:C&&!o,getRootProps:X,getInputProps:K,rootRef:x,inputRef:j,open:V(R)})}(_e(e,["children"])),a=i.open,s=_e(i,["open"]);return Object(n.useImperativeHandle)(t,(function(){return{open:a}}),[a]),o.a.createElement(n.Fragment,null,r(ye(ye({},s),{},{open:a})))}));Oe.displayName="Dropzone";var xe={disabled:!1,getFilesFromEvent:function(e){return D(this,void 0,void 0,(function(){return L(this,(function(t){return[2,(r=e,r.dataTransfer&&e.dataTransfer?U(e.dataTransfer,e.type):q(e))];var r}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};Oe.defaultProps=xe;var je=Oe,ke={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Ee(e,t){switch(t.type){case"focus":return ye(ye({},e),{},{isFocused:!0});case"blur":return ye(ye({},e),{},{isFocused:!1});case"openDialog":return ye(ye({},e),{},{isFileDialogActive:!0});case"closeDialog":return ye(ye({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var r=t.isDragActive,n=t.draggedFiles;return ye(ye({},e),{},{draggedFiles:n,isDragActive:r});case"setFiles":return ye(ye({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return ye({},ke);default:return e}}var Pe=function(){return(Pe=Object.assign||function(e){for(var t,r=1,n=arguments.length;r'}})):null),r?o.a.createElement("img",{src:r,className:"rfu-thumbnail__image",alt:null!=c?c:""}):o.a.createElement(Ae,{preserveAspectRatio:"xMinYMin slice",className:"rfu-thumbnail__image"}))},Re=function(){return o.a.createElement("svg",{width:"20",height:"20",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("path",{d:"M2 0h16a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm3 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM2 16v2h16v-6l-3-3-6 6-3-3-4 4z",fillRule:"nonzero"}))},De=function(e){var t=e.multiple,r=void 0!==t&&t,n=e.disabled,i=void 0!==n&&n,a=e.handleFiles,s=e.children,c=void 0===s?o.a.createElement(Re,null):s,u=e.resetOnChange,l=A(void 0!==u&&u,a);return o.a.createElement("div",{className:"rfu-image-upload-button"},o.a.createElement("label",null,o.a.createElement("input",{type:"file",className:"rfu-image-input",onChange:l,accept:"image/*",multiple:r,disabled:i}),c))},Le=function(e){var t=e.multiple,r=void 0!==t&&t,n=e.handleFiles;return o.a.createElement(De,{handleFiles:n,multiple:r},o.a.createElement("div",{role:"button",className:"rfu-thumbnail-placeholder"},o.a.createElement("svg",{width:"14",height:"15",viewBox:"0 0 14 15",xmlns:"http://www.w3.org/2000/svg"},o.a.createElement("path",{d:"M14 8.998H8v6H6v-6H0v-2h6v-6h2v6h6z",fill:"#A0B2B8",fillRule:"nonzero"}))))},Ne=function(e){var t=e.multiple,r=void 0===t||t,i=e.disabled,a=void 0!==i&&i,s=e.imageUploads,c=e.handleRemove,u=e.handleRetry,l=e.handleFiles,f=Object(n.useCallback)((function(e){if(c){if(null==e)return void console.warn("id of closed image was undefined, this shouldn't happen");c(e)}}),[c]);return o.a.createElement("div",{className:"rfu-image-previewer"},null==s?void 0:s.map((function(e){var t=e.url||e.previewUri;return o.a.createElement("div",{key:e.id,className:"rfu-image-previewer__image"+("finished"===e.state?" rfu-image-previewer__image--loaded":"")},"failed"===e.state&&o.a.createElement("div",{className:"rfu-image-previewer__retry",dangerouslySetInnerHTML:{__html:''},onClick:u&&function(){return u(e.id)}}),void 0!==t&&o.a.createElement(Te,{handleClose:f,image:t,id:e.id}),"uploading"===e.state&&o.a.createElement(S,{backgroundColor:"rgba(255,255,255,0.1)",color:"rgba(255,255,255,0.7)"}))})),l&&!a&&o.a.createElement(Le,{handleFiles:l,multiple:r}))}},"6s8r":function(e,t,r){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},"71Qf":function(e,t,r){var n=r("gKNW")("length");e.exports=n},"71kK":function(e,t,r){"use strict";var n=r("ovh1");e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},"7IP4":function(e,t){e.exports=function(){}},"7Sw7":function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.Personalization=void 0;var o=n(r("Sgbw")),i=n(r("AcCc")),a=n(r("g2JX")),s=function(){function e(t){(0,o.default)(this,e),(0,a.default)(this,"client",void 0),this.client=t}return(0,i.default)(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.client.get({url:"".concat(e,"/"),serviceName:"personalization",qs:t,token:t.token||this.client.getPersonalizationToken()})}},{key:"post",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.client.post({url:"".concat(e,"/"),serviceName:"personalization",qs:t,body:r,token:this.client.getPersonalizationToken()})}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.client.delete({url:"".concat(e,"/"),serviceName:"personalization",qs:t,token:this.client.getPersonalizationToken()})}}]),e}();t.Personalization=s},"7UJ8":function(e,t,r){"use strict";var n=r("ui+V"),o=r("H0bX");t.__esModule=!0,t.ScrollContainer=void 0;var i=o(r("COMz")),a=o(r("42WU")),s=n(r("mXGw")),c=o(r("xARA")),u=o(r("W0B4")),l=r("czn3"),f=r("JF+v"),p={scrollKey:u.default.string.isRequired,shouldUpdateScroll:u.default.func,children:u.default.element.isRequired},d=function(e){function t(t){return e.call(this,t)||this}(0,a.default)(t,e);var r=t.prototype;return r.componentDidMount=function(){var e=this,t=c.default.findDOMNode(this),r=this.props,n=r.location,o=r.scrollKey;if(t){t.addEventListener("scroll",(function(){e.props.context.save(n,o,t.scrollTop)}));var i=this.props.context.read(n,o);t.scrollTo(0,i||0)}},r.render=function(){return this.props.children},t}(s.Component),h=function(e){return s.createElement(f.Location,null,(function(t){var r=t.location;return s.createElement(l.ScrollContext.Consumer,null,(function(t){return s.createElement(d,(0,i.default)({},e,{context:t,location:r}))}))}))};t.ScrollContainer=h,h.propTypes=p},"7aSA":function(e,t,r){e.exports=function(){"use strict";return function(e,t,r){var n="h:mm A",o={lastDay:"[Yesterday at] "+n,sameDay:"[Today at] "+n,nextDay:"[Tomorrow at] "+n,nextWeek:"dddd [at] "+n,lastWeek:"[Last] dddd [at] "+n,sameElse:"MM/DD/YYYY"};t.prototype.calendar=function(e,t){var n=t||this.$locale().calendar||o,i=r(e||void 0).startOf("d"),a=this.diff(i,"d",!0),s=a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse",c=n[s]||o[s];return"function"==typeof c?c.call(this,r()):this.format(c)}}}()},"7bRu":function(e,t){e.exports=function(e,t,r,n){var o=-1,i=null==e?0:e.length;for(n&&i&&(r=e[++o]);++oc;)n(s,r=t[c++])&&(~i(u,r)||u.push(r));return u}},"8kd7":function(e,t,r){var n=r("ofiy"),o=r("SyCk"),i=r("4e1R"),a=r("LF0y"),s=r("N3wY"),c=Math.max;e.exports=function(e,t,r,u){e=o(e)?e:s(e),r=r&&!u?a(r):0;var l=e.length;return r<0&&(r=c(l+r,0)),i(e)?r<=l&&e.indexOf(t,r)>-1:!!l&&n(e,t,r)>-1}},"8p/A":function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("Dg5a"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,LoadMorePaginator:o.a,React:i}},"94VI":function(e,t){t.polyfill=function(e){return e}},"97Yx":function(e,t,r){var n=r("6kFe"),o=r("AN5y"),i=r("c2OK");e.exports=function(e,t,r,a,s,c,u,l,f,p){var d=8&t;t|=d?32:64,4&(t&=~(d?64:32))||(t&=-4);var h=[e,t,s,d?c:void 0,d?u:void 0,d?void 0:c,d?void 0:u,l,f,p],m=r.apply(void 0,h);return n(e)&&o(m,h),m.placeholder=a,i(m,e,t)}},"9OMS":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("fVVT"),i=(n=o)&&n.__esModule?n:{default:n};t.default=i.default,e.exports=t.default},"9aUh":function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},"9jf2":function(e,t,r){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"tr",weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e){return e+"."}};return e.locale(t,null,!0),t}(r("jTUD"))},"9kCU":function(e,t){e.exports={VERSION:"1.4.0",BAYEUX_VERSION:"1.0",ID_LENGTH:160,JSONP_CALLBACK:"jsonpcallback",CONNECTION_TYPES:["long-polling","cross-origin-long-polling","callback-polling","websocket","eventsource","in-process"],MANDATORY_CONNECTION_TYPES:["long-polling","callback-polling","in-process"]}},"9lU+":function(e,t){e.exports=function(e){return e&&e.length?e[0]:void 0}},"9nX2":function(e,t,r){var n=r("+iL7"),o=/#|\.prototype\./,i=function(e,t){var r=s[a(e)];return r==u||r!=c&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},"9pAD":function(e,t,r){var n=r("Qean");e.exports=function(e){return Object(n(e))}},"9xxD":function(e,t,r){"use strict";var n=r("D2wv"),o=r("e46L"),i=r("Rlj/");function a(e,t){return t=t||{},function(r,n){for(var o,i=e.length,a=-1;++a ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:m,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};function n(e){this.tokens=[],this.tokens.links={},this.options=e||g.defaults,this.rules=r.normal,this.options.gfm&&(this.options.tables?this.rules=r.tables:this.rules=r.gfm)}r._label=/(?:\\[\[\]]|[^\[\]])+/,r._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,r.def=f(r.def).replace("label",r._label).replace("title",r._title).getRegex(),r.bullet=/(?:[*+-]|\d+\.)/,r.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,r.item=f(r.item,"gm").replace(/bull/g,r.bullet).getRegex(),r.list=f(r.list).replace(/bull/g,r.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+r.def.source+")").getRegex(),r._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",r.html=f(r.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,r._tag).getRegex(),r.paragraph=f(r.paragraph).replace("hr",r.hr).replace("heading",r.heading).replace("lheading",r.lheading).replace("tag","<"+r._tag).getRegex(),r.blockquote=f(r.blockquote).replace("paragraph",r.paragraph).getRegex(),r.normal=v({},r),r.gfm=v({},r.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),r.gfm.paragraph=f(r.paragraph).replace("(?!","(?!"+r.gfm.fences.source.replace("\\1","\\2")+"|"+r.list.source.replace("\\1","\\3")+"|").getRegex(),r.tables=v({},r.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=r,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){var n,o,i,a,s,c,u,l,f,p,d;for(e=e.replace(/^ +$/gm,"");e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),c={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},l=0;l ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),d=(a=i[2]).length>1,this.tokens.push({type:"list_start",ordered:d,start:d?+a:""}),n=!1,p=(i=i[0].match(this.rules.item)).length,l=0;l1&&s.length>1||(e=i.slice(l+1).join("\n")+e,l=p-1)),o=n||/\n\n(?!\s*$)/.test(c),l!==p-1&&(n="\n"===c.charAt(c.length-1),o||(o=n)),this.tokens.push({type:o?"loose_item_start":"list_item_start"}),this.token(c,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),f=i[1].toLowerCase(),this.tokens.links[f]||(this.tokens.links[f]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),c={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},l=0;l])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:m,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:m,text:/^[\s\S]+?(?=[\\/g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}function f(e,t){return e=e.source,t=t||"",{replace:function(t,r){return r=(r=r.source||r).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,r),this},getRegex:function(){return new RegExp(e,t)}}}function p(e,t){return d[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?d[" "+e]=e+"/":d[" "+e]=e.replace(/[^/]*$/,"")),e=d[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}o._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,o._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,o.autolink=f(o.autolink).replace("scheme",o._scheme).replace("email",o._email).getRegex(),o._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,o._href=/\s*?(?:\s+['"]([\s\S]*?)['"])?\s*/,o.link=f(o.link).replace("inside",o._inside).replace("href",o._href).getRegex(),o.reflink=f(o.reflink).replace("inside",o._inside).getRegex(),o.normal=v({},o),o.pedantic=v({},o.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),o.gfm=v({},o.normal,{escape:f(o.escape).replace("])","~|])").getRegex(),url:f(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",o._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:f(o.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),o.breaks=v({},o.gfm,{br:f(o.br).replace("{2,}","*").getRegex(),text:f(o.gfm.text).replace("{2,}","*").getRegex()}),i.rules=o,i.output=function(e,t,r){return new i(t,r).output(e)},i.prototype.output=function(e){for(var t,r,n,o,i="";e;)if(o=this.rules.escape.exec(e))e=e.substring(o[0].length),i+=o[1];else if(o=this.rules.autolink.exec(e))e=e.substring(o[0].length),n="@"===o[2]?"mailto:"+(r=u(this.mangle(o[1]))):r=u(o[1]),i+=this.renderer.link(n,null,r);else if(this.inLink||!(o=this.rules.url.exec(e))){if(o=this.rules.tag.exec(e))!this.inLink&&/^/i.test(o[0])&&(this.inLink=!1),e=e.substring(o[0].length),i+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(o[0]):u(o[0]):o[0];else if(o=this.rules.link.exec(e))e=e.substring(o[0].length),this.inLink=!0,i+=this.outputLink(o,{href:o[2],title:o[3]}),this.inLink=!1;else if((o=this.rules.reflink.exec(e))||(o=this.rules.nolink.exec(e))){if(e=e.substring(o[0].length),t=(o[2]||o[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){i+=o[0].charAt(0),e=o[0].substring(1)+e;continue}this.inLink=!0,i+=this.outputLink(o,t),this.inLink=!1}else if(o=this.rules.strong.exec(e))e=e.substring(o[0].length),i+=this.renderer.strong(this.output(o[2]||o[1]));else if(o=this.rules.em.exec(e))e=e.substring(o[0].length),i+=this.renderer.em(this.output(o[2]||o[1]));else if(o=this.rules.code.exec(e))e=e.substring(o[0].length),i+=this.renderer.codespan(u(o[2].trim(),!0));else if(o=this.rules.br.exec(e))e=e.substring(o[0].length),i+=this.renderer.br();else if(o=this.rules.del.exec(e))e=e.substring(o[0].length),i+=this.renderer.del(this.output(o[1]));else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),i+=this.renderer.text(u(this.smartypants(o[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else o[0]=this.rules._backpedal.exec(o[0])[0],e=e.substring(o[0].length),"@"===o[2]?n="mailto:"+(r=u(o[0])):(r=u(o[0]),n="www."===o[1]?"http://"+r:r),i+=this.renderer.link(n,null,r);return i},i.prototype.outputLink=function(e,t){var r=u(t.href),n=t.title?u(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(r,n,this.output(e[1])):this.renderer.image(r,n,u(e[1]))},i.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},i.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,r="",n=e.length,o=0;o.5&&(t="x"+t.toString(16)),r+="&#"+t+";";return r},a.prototype.code=function(e,t,r){if(this.options.highlight){var n=this.options.highlight(e,t);null!=n&&n!==e&&(r=!0,e=n)}return t?'
'+(r?e:u(e,!0))+"\n
\n":"
"+(r?e:u(e,!0))+"\n
"},a.prototype.blockquote=function(e){return"
\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,r){return"'+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,r){var n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"\n"},a.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},a.prototype.paragraph=function(e){return"

    "+e+"

    \n"},a.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},a.prototype.tablerow=function(e){return"\n"+e+"\n"},a.prototype.tablecell=function(e,t){var r=t.header?"th":"td";return(t.align?"<"+r+' style="text-align:'+t.align+'">':"<"+r+">")+e+"\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+""},a.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,r){if(this.options.sanitize){try{var n=decodeURIComponent(l(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(i){return r}if(0===n.indexOf("javascript:")||0===n.indexOf("vbscript:")||0===n.indexOf("data:"))return r}this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var o='
    "},a.prototype.image=function(e,t,r){this.options.baseUrl&&!h.test(e)&&(e=p(this.options.baseUrl,e));var n=''+r+'":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,r){return""+r},s.prototype.br=function(){return""},c.parse=function(e,t){return new c(t).parse(e)},c.prototype.parse=function(e){this.inline=new i(e.links,this.options),this.inlineText=new i(e.links,v({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},c.prototype.next=function(){return this.token=this.tokens.pop()},c.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},c.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},c.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,r,n,o="",i="";for(r="",e=0;eAn error occurred:

    "+u(f.message+"",!0)+"
    ";throw f}}m.exec=m,g.options=g.setOptions=function(e){return v(g.defaults,e),g},g.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new a,xhtml:!1,baseUrl:null},g.Parser=c,g.parser=c.parse,g.Renderer=a,g.TextRenderer=s,g.Lexer=n,g.lexer=n.lex,g.InlineLexer=i,g.inlineLexer=i.output,g.parse=g,e.exports=g}(this||"undefined"!=typeof window&&window)}).call(this,r("pCvA"))},"B/3V":function(e,t,r){var n=r("clxC");e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"B4/L":function(e,t,r){var n=r("gwRl"),o=r("LBQr"),i=r("tb+2"),a=r("E7Xw"),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},B4Jh:function(e,t,r){var n=r("fRAL"),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),c=Array(s);++a1?"& ":"")+t[o],t=t.join(n>2?", ":" "),e.replace(r,"{\n/* [wrapped with "+t+"] */\n")}},BW49:function(e,t,r){var n=r("sWZd"),o=r("lYsT"),i=r("PqlX"),a=r("q+I6"),s=r("ckUF"),c=r("cTHi");e.exports=function(e,t,r){for(var u=-1,l=(t=n(t,e)).length,f=!1;++u=Math.pow(2,32)&&(this._messageId=0),this._messageId.toString(36)},_receiveMessage:function(e){var t,r=e.id;void 0!==e.successful&&(t=this._responseCallbacks[r],delete this._responseCallbacks[r]),this.pipeThroughExtensions("incoming",e,null,(function(e){e&&(e.advice&&this._handleAdvice(e.advice),this._deliverMessage(e),t&&t[0].call(t[1],e))}),this)},_handleAdvice:function(e){c(this._advice,e),this._dispatcher.timeout=this._advice.timeout/1e3,this._advice.reconnect===this.HANDSHAKE&&this._state!==this.DISCONNECTED&&(this._state=this.UNCONNECTED,this._dispatcher.clientId=null,this._cycleConnection())},_deliverMessage:function(e){e.channel&&void 0!==e.data&&(this.info("Client ? calling listeners for ? with ?",this._dispatcher.clientId,e.channel,e.data),this._channels.distributeMessage(e))},_cycleConnection:function(){this._connectRequest&&(this._connectRequest=null,this.info("Closed connection for ?",this._dispatcher.clientId));var e=this;t.setTimeout((function(){e.connect()}),this._advice.interval)}});c(y.prototype,l),c(y.prototype,p),c(y.prototype,f),c(y.prototype,v),e.exports=y}).call(this,r("pCvA"))},CIBY:function(e,t,r){var n=r("V2ZB"),o=r("B4/L");e.exports=function(e,t){return n(e,o(e),t)}},CIUO:function(e,t,r){var n=r("s3t7"),o=r("T9Ud");e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},COMz:function(e,t){function r(){return e.exports=r=Object.assign||function(e){for(var t=1;t=3?s[e](a,r,t):s[e](a,t)}(t)}};r("BZif")(n,r("j1kx")),e.exports=n},COrk:function(e,t,r){var n=r("E1Sn"),o=r("T9Ud");e.exports=function e(t,r,i,a,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,s))}},CPLO:function(e,t,r){var n=r("zlak"),o=r("TsNJ"),i=r("DhoL"),a=i&&i.isSet,s=a?o(a):n;e.exports=s},CYlu:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EmojiDefaultProps=t.PickerDefaultProps=void 0;var n={skin:1,set:"apple",sheetSize:64,sheetColumns:57,sheetRows:57,native:!1,forceSize:!1,tooltip:!1,useButton:!0,backgroundImageFn:function(e,t){return"https://unpkg.com/emoji-datasource-".concat(e,"@").concat("5.0.1","/img/").concat(e,"/sheets-256/").concat(t,".png")}};t.EmojiDefaultProps=n;var o={onClick:function(){},onSelect:function(){},onSkinChange:function(){},emojiSize:24,perLine:9,i18n:{},style:{},title:"Emoji Mart™",emoji:"department_store",color:"#ae65c5",set:n.set,theme:"light",skin:null,defaultSkin:n.skin,native:n.native,sheetSize:n.sheetSize,backgroundImageFn:n.backgroundImageFn,emojisToShowFilter:null,showPreview:!0,showSkinTones:!0,emojiTooltip:n.tooltip,useButton:n.useButton,autoFocus:!1,enableFrequentEmojiSort:!1,custom:[],skinEmoji:"",notFound:function(){},notFoundEmoji:"sleuth_or_spy",icons:{}};t.PickerDefaultProps=o},Chmn:function(e,t){e.exports=function(e){return this.__data__.get(e)}},Cy6g:function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r("HtiD"),o=r("1M3q"),i=r.n(o),a=r("mXGw"),s=r("8Jek"),c=r.n(s),u=r("qqks"),l=r("FMa6"),f=r("z0fj"),p=r("Pdo2"),d=r("ca/S"),h=r("/asK"),m=r("aD51");"undefined"!=typeof CommentFieldProps&&CommentFieldProps&&CommentFieldProps===Object(CommentFieldProps)&&Object.isExtensible(CommentFieldProps)&&!CommentFieldProps.hasOwnProperty("__filemeta")&&Object.defineProperty(CommentFieldProps,"__filemeta",{configurable:!0,value:{name:"CommentFieldProps",filename:"src/components/CommentField.tsx"}});var v=function(e){var t=e.activity,r=e.emojiData,o=e.onSuccess,s=e.image,v=e.placeholder,g=e.trigger,b=e.targetFeeds,y=e.className,w=e.style,_=Object(d.b)(),O=Object(h.b)().t,x=Object(a.useRef)(),j=Object(a.useState)(),k=j[0],E=j[1],P=function(){var e=Object(n.a)(i.a.mark((function e(r){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.preventDefault(),k){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,_.onAddReaction("comment",t,{text:k},{targetFeeds:b});case 6:e.next=11;break;case 8:e.prev=8,e.t0=e.catch(3),console.error(e.t0);case 11:E(""),null==o||o();case 13:case"end":return e.stop()}}),e,null,[[3,8]])})));return function(t){return e.apply(this,arguments)}}();return Object(a.useEffect)((function(){if(x.current){var e=function(e){var t=x.current;"Enter"===e.key&&null===(null==t?void 0:t.nextSibling)&&P(e)};return x.current.addEventListener("keydown",e),function(){var t;return null===(t=x.current)||void 0===t?void 0:t.removeEventListener("keydown",e)}}}),[]),Object(m.c)("form",{onSubmit:P,className:c()("raf-comment-field",y),style:w},s&&Object(m.c)(u.a,{image:s,circle:!0,size:39}),Object(m.c)("div",{className:"raf-comment-field__group"},Object(m.c)(f.a,{rows:1,value:k,placeholder:null!=v?v:O("Start Typing..."),onChange:function(e){return E((function(t){var r;return null!==(r=Object(p.e)(e,!0))&&void 0!==r?r:t}))},emojiData:r,trigger:g,maxLength:280,innerRef:function(e){return x.current=e}}),Object(m.c)(l.a,{buttonStyle:"primary",disabled:!k,type:"submit"},O("Post"))))};void 0!==v&&v&&v===Object(v)&&Object.isExtensible(v)&&!v.hasOwnProperty("__filemeta")&&Object.defineProperty(v,"__filemeta",{configurable:!0,value:{name:"CommentField",filename:"src/components/CommentField.tsx"}})},CzB4:function(e,t,r){var n=r("w5ta"),o=r("RW/s"),i=r("0KRy");e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},D1KR:function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},D2wv:function(e,t,r){"use strict";var n=r("wpsh");e.exports=function(e,t,r){if(null!=r&&"string"!==n(r))throw new TypeError('expected "prop" to be undefined or a string');var o=n(e),i=n(t);return r&&("object"===o&&(e=e[r],o=n(e)),"object"===i&&(t=t[r],i=n(t))),"null"===o?"null"===i?0:"undefined"===i?-1:1:"undefined"===o?"null"===i?1:"undefined"===i?0:1:"null"===i||"undefined"===i||et?1:0}},DAq4:function(e,t){e.exports=function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null!=r){var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(c){s=!0,o=c}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},DGBo:function(e,t){},DHdO:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r("2JdJ");Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r("ju9Q");Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r("PB2k");Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r("Z/TY");Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=r("5L7t");Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r("IZuc");Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=r("7Sw7");Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var l=r("03Te");Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var f=r("oTdG");Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var p=r(4);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var d=r("XqWt");Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r("Jlkc");Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}))},DJGK:function(e,t,r){var n=r("+iL7"),o=r("fSIz"),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},DZJZ:function(e,t,r){"use strict";e.exports={commonElement:function(e,t){for(var r=0,n=e.length;r0;)c();s=!1}}()};u()}}},DZMJ:function(e,t,r){var n=r("FEiO"),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},Dg5a:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r("mXGw"),o=r.n(n),i=r("l4B8"),a=r("LFXc"),s=r("aD51");"undefined"!=typeof LoadMorePaginatorProps&&LoadMorePaginatorProps&&LoadMorePaginatorProps===Object(LoadMorePaginatorProps)&&Object.isExtensible(LoadMorePaginatorProps)&&!LoadMorePaginatorProps.hasOwnProperty("__filemeta")&&Object.defineProperty(LoadMorePaginatorProps,"__filemeta",{configurable:!0,value:{name:"LoadMorePaginatorProps",filename:"src/components/LoadMorePaginator.tsx"}});var c=function(e){var t=e.LoadMoreButton,r=void 0===t?i.a:t,n=e.children,c=e.reverse,u=e.hasNextPage,l=e.refreshing,f=e.loadNextPage;return Object(s.c)(o.a.Fragment,null,!c&&n,u&&Object(a.a)(r,{refreshing:l,onClick:f}),c&&n)};void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"LoadMorePaginator",filename:"src/components/LoadMorePaginator.tsx"}})},Dh2Y:function(e,t,r){var n=r("YaJL");e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},DhoL:function(e,t,r){(function(e){var n=r("FfeU"),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s}).call(this,r("RoC8")(e))},DlYZ:function(e,t){e.exports=function(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}},E1Sn:function(e,t,r){var n=r("WRuO"),o=r("MBdc"),i=r("LdZC"),a=r("ji6j"),s=r("s3t7"),c=r("PqlX"),u=r("tfj2"),l=r("3kU/"),f="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,d,h,m){var v=c(e),g=c(t),b=v?"[object Array]":s(e),y=g?"[object Array]":s(t),w=(b="[object Arguments]"==b?f:b)==f,_=(y="[object Arguments]"==y?f:y)==f,O=b==y;if(O&&u(e)){if(!u(t))return!1;v=!0,w=!1}if(O&&!w)return m||(m=new n),v||l(e)?o(e,t,r,d,h,m):i(e,t,b,r,d,h,m);if(!(1&r)){var x=w&&p.call(e,"__wrapped__"),j=_&&p.call(t,"__wrapped__");if(x||j){var k=x?e.value():e,E=j?t.value():t;return m||(m=new n),h(k,E,r,d,m)}}return!!O&&(m||(m=new n),a(e,t,r,d,h,m))}},E7Xw:function(e,t){e.exports=function(){return[]}},EKeD:function(e,t,r){var n=r("fxeQ"),o=n&&new n;e.exports=o},ELdr:function(e,t,r){"use strict";r.d(t,"c",(function(){return c})),r.d(t,"d",(function(){return u})),r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return a}));var n=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,f=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{u=n({},u,{key:Date.now()+""});try{a||f?e.history.replaceState(u,null,t):e.history.pushState(u,null,t)}catch(d){e.location[f?"replace":"assign"](t)}}i=o(e),a=!0;var p=new Promise((function(e){return s=e}));return r.forEach((function(e){return e({location:i,action:"PUSH"})})),p}}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},n=0,o=[r],i=[null];return{get location(){return o[n]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return n},get state(){return i[n]},pushState:function(e,t,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;n++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(e)},replaceState:function(e,t,r){var a=r.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[n]={pathname:s,search:u},i[n]=e},go:function(e){var t=n+e;t<0||t>i.length-1||(n=t)}}}},s=!("undefined"==typeof window||!window.document||!window.document.createElement),c=i(s?window:a()),u=c.navigate},EN0E:function(e,t,r){var n=r("/5e1")();e.exports=n},ENJY:function(e,t,r){"use strict";var n=r("9kCU"),o=r("j1kx"),i={VERSION:n.VERSION,Client:r("CE29"),Scheduler:r("JyNm")};o.wrapper=i,e.exports=i},EPMi:function(e,t,r){"use strict";(function(t){var n=r("NFrV"),o=r("UCma"),i=r("hJL7"),a=r("abqF"),s=r("cSUU"),c=r("2cPb"),u=r("BZif"),l=r("o2qG"),f=r("LBbR"),p=r("eEbX"),d=u(n(r("69GW"),{UNCONNECTED:1,CONNECTING:2,CONNECTED:3,batching:!1,isUsable:function(e,t){this.callback((function(){e.call(t,!0)})),this.errback((function(){e.call(t,!1)})),this.connect()},request:function(e){this._pending=this._pending||new i;for(var t=0,r=e.length;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},G9gt:function(e,t,r){var n=r("jgJv"),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},GC0P:function(e,t,r){var n=r("+dZb")("flattenDepth",r("HGTD"));n.placeholder=r("IOY3"),e.exports=n},GE03:function(e,t,r){var n=r("xkFB"),o=r("4mhO"),i=r("4a20");function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t0){var o={},i=0;e.custom.forEach((function(e){o[e.customCategory]||(o[e.customCategory]={id:e.customCategory?"custom-".concat(e.customCategory):"custom",name:e.customCategory||"Custom",emojis:[],anchor:0===i},i++);var t=o[e.customCategory],n=j({},e,{id:e.short_names[0],custom:!0});t.emojis.push(n),r.CUSTOM.push(n)})),n=n.concat(Object.keys(o).map((function(e){return o[e]})))}r.hideRecent=!0,null!=e.include&&n.sort((function(t,r){return e.include.indexOf(t.id)>e.include.indexOf(r.id)?1:-1}));for(var s=0;s-1,h=!(!e.exclude||!e.exclude.length)&&e.exclude.indexOf(f.id)>-1;if(p&&!h)if(e.emojisToShowFilter){for(var m=[],b=f.emojis,y=0;y-1,x=!(!e.exclude||!e.exclude.length)&&e.exclude.indexOf(r.RECENT_CATEGORY.id)>-1;return O&&!x&&(r.hideRecent=!1,r.categories.unshift(r.RECENT_CATEGORY)),r.categories[0]&&(r.categories[0].first=!0),r.categories.unshift(r.SEARCH_CATEGORY),r.setAnchorsRef=r.setAnchorsRef.bind((0,l.default)(r)),r.handleAnchorClick=r.handleAnchorClick.bind((0,l.default)(r)),r.setSearchRef=r.setSearchRef.bind((0,l.default)(r)),r.handleSearch=r.handleSearch.bind((0,l.default)(r)),r.setScrollRef=r.setScrollRef.bind((0,l.default)(r)),r.handleScroll=r.handleScroll.bind((0,l.default)(r)),r.handleScrollPaint=r.handleScrollPaint.bind((0,l.default)(r)),r.handleEmojiOver=r.handleEmojiOver.bind((0,l.default)(r)),r.handleEmojiLeave=r.handleEmojiLeave.bind((0,l.default)(r)),r.handleEmojiClick=r.handleEmojiClick.bind((0,l.default)(r)),r.handleEmojiSelect=r.handleEmojiSelect.bind((0,l.default)(r)),r.setPreviewRef=r.setPreviewRef.bind((0,l.default)(r)),r.handleSkinChange=r.handleSkinChange.bind((0,l.default)(r)),r.handleKeyDown=r.handleKeyDown.bind((0,l.default)(r)),r.handleDarkMatchMediaChange=r.handleDarkMatchMediaChange.bind((0,l.default)(r)),r}return(0,f.default)(t,e),(0,s.default)(t,[{key:"componentDidMount",value:function(){var e=this;this.state.firstRender&&(this.testStickyPosition(),this.firstRenderTimeout=setTimeout((function(){e.setState({firstRender:!1})}),60))}},{key:"componentDidUpdate",value:function(){this.updateCategoriesSize(),this.handleScroll()}},{key:"componentWillUnmount",value:function(){this.SEARCH_CATEGORY.emojis=null,clearTimeout(this.leaveTimeout),clearTimeout(this.firstRenderTimeout),this.darkMatchMedia&&this.darkMatchMedia.removeListener(this.handleDarkMatchMediaChange)}},{key:"testStickyPosition",value:function(){var e=document.createElement("div");["","-webkit-","-ms-","-moz-","-o-"].forEach((function(t){return e.style.position="".concat(t,"sticky")})),this.hasStickyPosition=!!e.style.position.length}},{key:"getPreferredTheme",value:function(){return"auto"!=this.props.theme?this.props.theme:this.state.theme?this.state.theme:"function"!=typeof matchMedia?O.PickerDefaultProps.theme:(this.darkMatchMedia||(this.darkMatchMedia=matchMedia("(prefers-color-scheme: dark)"),this.darkMatchMedia.addListener(this.handleDarkMatchMediaChange)),this.darkMatchMedia.media.match(/^not/)?O.PickerDefaultProps.theme:this.darkMatchMedia.matches?"dark":"light")}},{key:"handleDarkMatchMediaChange",value:function(){this.setState({theme:this.darkMatchMedia.matches?"dark":"light"})}},{key:"handleEmojiOver",value:function(e){var t=this.preview;if(t){var r=this.CUSTOM.filter((function(t){return t.id===e.id}))[0];for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n]);t.setState({emoji:e}),clearTimeout(this.leaveTimeout)}}},{key:"handleEmojiLeave",value:function(e){var t=this.preview;t&&(this.leaveTimeout=setTimeout((function(){t.setState({emoji:null})}),16))}},{key:"handleEmojiClick",value:function(e,t){this.props.onClick(e,t),this.handleEmojiSelect(e)}},{key:"handleEmojiSelect",value:function(e){var t=this;this.props.onSelect(e),this.hideRecent||this.props.recent||m.default.add(e);var r=this.categoryRefs["category-1"];if(r){var n=r.maxMargin;this.props.enableFrequentEmojiSort&&r.forceUpdate(),requestAnimationFrame((function(){t.scroll&&(r.memoizeSize(),n!=r.maxMargin&&(t.updateCategoriesSize(),t.handleScrollPaint(),t.SEARCH_CATEGORY.emojis&&r.updateDisplay("none")))}))}}},{key:"handleScroll",value:function(){this.waitingForPaint||(this.waitingForPaint=!0,requestAnimationFrame(this.handleScrollPaint))}},{key:"handleScrollPaint",value:function(){if(this.waitingForPaint=!1,this.scroll){var e=null;if(this.SEARCH_CATEGORY.emojis)e=this.SEARCH_CATEGORY;else{for(var t=this.scroll.scrollTop,r=t>(this.scrollTop||0),n=0,o=0,i=this.categories.length;o0&&(n=c.top),u&&!e&&(e=s)}}t=this.scrollHeight&&(e=this.categories[this.categories.length-1])}if(e){var l=this.anchors,f=e.name;l.state.selected!=f&&l.setState({selected:f})}this.scrollTop=t}}},{key:"handleSearch",value:function(e){this.SEARCH_CATEGORY.emojis=e;for(var t=0,r=this.categories.length;t1&&void 0!==arguments[1]?arguments[1]:null,r=this.next(new e(""));return r===this.defaultTransition?(r=new this.constructor(t),this.on(e,r)):t&&(r.T=t),r},test:function(e,t){return e instanceof t}});t.CharacterState=i,t.TokenState=a,t.stateify=function(e,t,r,n){for(var o=0,a=e.length,s=t,c=[],u=void 0;o=a)return[];for(;o0&&void 0!==arguments[0]?arguments[0]:{},t={tree:null,elements:null,nextElementId:null,toc:null,currentIdLevel:0,currentId:[]},r=(0,i.default)(t,e,{code:function(r,n){if("marksy"===n){try{var o=t.nextElementId++,a=Object.keys(e.components).map((function(t){return e.components[t]}));return t.elements[o]=s(Function,["h"].concat(u(Object.keys(e.components)),["return ".concat(r)])).apply(void 0,[function(r){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.indexOf(r)>=0?Object.assign(n||{},{key:t.nextElementId++,context:t.context}):n,i=arguments.length,s=new Array(i>2?i-2:0),c=2;c1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.tree=[],t.elements={},t.toc=[],t.nextElementId=0,t.context=i,t.currentId=[],(0,o.default)(e,Object.assign({renderer:r,smartypants:!0},n)),{tree:t.tree,toc:t.toc}}}},HtiD:function(e,t,r){"use strict";function n(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function s(e){n(a,o,i,s,c,"next",e)}function c(e){n(a,o,i,s,c,"throw",e)}s(void 0)}))}}r.d(t,"a",(function(){return o}))},Hvpk:function(e,t,r){var n=r("+iL7");e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"I2+2":function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("WjHG"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,NewActivitiesNotification:o.a,React:i}},I4Y3:function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.default=e.exports,e.exports.__esModule=!0},IOVJ:function(e,t,r){"use strict";var n=r("HGLW"),o=r("hsa5"),i=r("mXGw"),a=r.n(i),s=r("emEt"),c=r("xtsi"),u=r("30RF");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t3&&void 0!==arguments[3]?arguments[3]:{crop:"center",resize:"clip"},o=n.crop,i=n.resize;return this.process(e,{w:t,h:r,crop:o,resize:i})}}]),e}();t.StreamImageStore=c},Ildw:function(e){e.exports=JSON.parse('{"1 comment":"1 yorum","1 like":"1 beğeni","1 repost":"1 paylaşım","Activity":"Aktivite","Animals & Nature":"Hayvanlar ve Doğa","Choose your default skin tone":"Varsayılan cilt tonunuzu seçin","Clear":"Silmek","Custom":"Özelleştirilmiş","Details":"Detaylar","Emoji categories":"Emoji kategorileri","Flags":"Bayraklar","Food & Drink":"Gıda ve Içecekler","Frequently Used":"Sıklıkla kullanılan","Getting website data...":"Web sitesi verileri alınıyor ...","Load activities":"Aktiviteleri yükle","Load more":"Daha fazla yükle","New Post":"Yeni İleti","No data to display...":"Gösterilecek veri yok...","No emoji found":"Emoji bulunamadı","Objects":"Nesneler","Pick your emoji":"Emoji seç","Post":"Yolla","Search":"Arama","Search Results":"Arama Sonuçları","Smileys & Emotion":"Suratlar ve Duygu","Start Typing...":"Yazmaya Başla...","Symbols":"Semboller","Travel & Places":"Seyahat ve Yerler","Type your post...":"İletini yaz...","You have 1 new notification":"1 yeni bildirimin var","You have {{ notificationCount }} new notifications":"{{ notificationCount }} yeni bildirimin var","{{ actorName }} and 1 other commented on your {{ activityVerb }}":"{{ actorName }} ve biri daha {{ activityVerb }} üzerine yorum yaptı","{{ actorName }} and 1 other followed you":"{{ actorName }} ve biri daha seni takip etti","{{ actorName }} and 1 other liked your {{ activityVerb }}":"{{ actorName }} ve biri daha senin {{ activityVerb }}\'ini beğendi","{{ actorName }} and 1 other reposted your {{ activityVerb }}":"{{ actorName }} ve biri daha senin {{ activityVerb }}\'ini beğendi","{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}":"{{ actorName }} ve {{ countOtherActors }} kişi daha {{ activityVerb }} üzerine yorum yaptı","{{ actorName }} and {{ countOtherActors }} others followed you":"{{ actorName }} ve {{ countOtherActors }} kişi daha seni takip etti","{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}":"{{ actorName }} ve {{ countOtherActors }} kişi daha senin {{ activityVerb }}\'ini beğendi","{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}":"{{ actorName }} ve {{ countOtherActors }} kişi daha senin {{ activityVerb }}\'ini paylaştı","{{ actorName }} commented on your {{ activityVerb }}":"{{ actorName }} {{ activityVerb }}\'ine yorum yaptı","{{ actorName }} followed you":"{{ actorName }} seni takip etti","{{ actorName }} liked your {{ activityVerb }}":"{{ actorName }} senin {{ activityVerb }}\'ini beğendi","{{ actorName }} reposted your {{ activityVerb }}":"{{ actorName }} senin {{ activityVerb }}\'ini paylaştı","{{ countComments }} comments":"{{ countComments }} yorum","{{ countLikes }} likes":"{{ countLikes }} beğeni","{{ countReposts }} reposts":"{{ countReposts }} paylaşım"}')},IqJI:function(e,t,r){var n=r("gwRl"),o=r("+Vbj");e.exports=function e(t,r,i,a,s){var c=-1,u=t.length;for(i||(i=o),s||(s=[]);++c0&&i(l)?r>1?e(l,r-1,i,a,s):n(s,l):a||(s[s.length]=l)}return s}},IrTi:function(e,t){e.exports={}},IsbQ:function(e,t,r){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"it",weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),weekStart:1,monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"tra %s",past:"%s fa",s:"qualche secondo",m:"un minuto",mm:"%d minuti",h:"un' ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},ordinal:function(e){return e+"º"}};return e.locale(t,null,!0),t}(r("jTUD"))},J9rK:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("WmJE"),i=r("mXGw");t.default={Playground:n.c,TimeHeader:o.a,React:i}},J9xP:function(e,t,r){var n=r("cm7J");e.exports=function(e){return n(this.__data__,e)>-1}},"JF+v":function(e,t,r){"use strict";r.r(t),r.d(t,"Link",(function(){return R})),r.d(t,"Location",(function(){return y})),r.d(t,"LocationProvider",(function(){return w})),r.d(t,"Match",(function(){return F})),r.d(t,"Redirect",(function(){return M})),r.d(t,"Router",(function(){return x})),r.d(t,"ServerLocation",(function(){return _})),r.d(t,"isRedirect",(function(){return L})),r.d(t,"redirectTo",(function(){return N})),r.d(t,"useLocation",(function(){return q})),r.d(t,"useNavigate",(function(){return U})),r.d(t,"useParams",(function(){return z})),r.d(t,"useMatch",(function(){return B})),r.d(t,"BaseContext",(function(){return O}));var n=r("mXGw"),o=r.n(n),i=(r("W0B4"),r("+Ltg")),a=r.n(i),s=r("nqlD"),c=r.n(s),u=r("94VI"),l=r("ZkUl");r.d(t,"matchPath",(function(){return l.match}));var f=r("ELdr");r.d(t,"createHistory",(function(){return f.a})),r.d(t,"createMemorySource",(function(){return f.b})),r.d(t,"navigate",(function(){return f.d})),r.d(t,"globalHistory",(function(){return f.c}));var p=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function v(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var g=function(e,t){var r=c()(t);return r.displayName=e,r},b=g("Location"),y=function(e){var t=e.children;return o.a.createElement(b.Consumer,null,(function(e){return e?t(e):o.a.createElement(w,null,t)}))},w=function(e){function t(){var r,n;h(this,t);for(var o=arguments.length,i=Array(o),a=0;a-1?(i=t.substring(0,n),a=t.substring(n)):i=t,o.a.createElement(b.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},r)},O=g("Base",{baseuri:"/",basepath:"/"}),x=function(e){return o.a.createElement(O.Consumer,null,(function(t){return o.a.createElement(y,null,(function(r){return o.a.createElement(j,p({},t,r,e))}))}))},j=function(e){function t(){return h(this,t),m(this,e.apply(this,arguments))}return v(t,e),t.prototype.render=function(){var e=this.props,t=e.location,r=e.navigate,n=e.basepath,i=e.primary,a=e.children,s=(e.baseuri,e.component),c=void 0===s?"div":s,u=d(e,["location","navigate","basepath","primary","children","baseuri","component"]),f=o.a.Children.toArray(a).reduce((function(e,t){var r=V(n)(t);return e.concat(r)}),[]),h=t.pathname,m=Object(l.pick)(f,h);if(m){var v=m.params,g=m.uri,b=m.route,y=m.route.value;n=b.default?n:b.path.replace(/\*$/,"");var w=p({},v,{uri:g,location:t,navigate:function(e,t){return r(Object(l.resolve)(e,g),t)}}),_=o.a.cloneElement(y,w,y.props.children?o.a.createElement(x,{location:t,primary:i},y.props.children):void 0),j=i?E:c,k=i?p({uri:g,location:t,component:c},u):u;return o.a.createElement(O.Provider,{value:{baseuri:g,basepath:n}},o.a.createElement(j,k,_))}return null},t}(o.a.PureComponent);j.defaultProps={primary:!0};var k=g("Focus"),E=function(e){var t=e.uri,r=e.location,n=e.component,i=d(e,["uri","location","component"]);return o.a.createElement(k.Consumer,null,(function(e){return o.a.createElement(C,p({},i,{component:n,requestFocus:e,uri:t,location:r}))}))},P=!0,S=0,C=function(e){function t(){var r,n;h(this,t);for(var o=arguments.length,i=Array(o),a=0;a3&&void 0!==arguments[3]?arguments[3]:{},o=!n.expireTokens||!n.expireTokens,a={resource:c(t),action:c(r)};n.feedId&&(a.feed_id=c(n.feedId));n.userId&&(a.user_id=n.userId);return i.default.sign(a,e,{algorithm:"HS256",noTimestamp:o})},t.JWTUserSessionToken=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("string"!=typeof t)throw new TypeError("userId should be a string");var o=s({user_id:t},r),a=s({algorithm:"HS256",noTimestamp:!0},n);return i.default.sign(o,e,a)};var o=n(r("g2JX")),i=n(r(3));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=e)&&!(void 0!==r&&n>r)},send:function(){this.attempts+=1},succeed:function(){},fail:function(){},abort:function(){}}),e.exports=n},"K/xo":function(e,t,r){var n;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},"KAl/":function(e,t,r){var n=r("WMT/"),o=r("l3+0"),i=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];e.exports=function(e,t){return n(i,(function(r){var n="_."+r[0];t&r[1]&&!o(e,n)&&e.push(n)})),e.sort()}},KBMT:function(e){e.exports=JSON.parse('{"name":"stream-analytics","version":"3.4.2","description":"Analytics JS client for GetStream.io.","main":"./lib/stream-analytics.js","module":"./lib/stream-analytics.js","types":"./lib/stream-analytics.d.ts","scripts":{"test":"yarn test-node && yarn test-browser","test-node":"mocha tests --exit","test-browser":"karma start karma.config.js","lint":"yarn run prettier && yarn run eslint","eslint":"eslint \'**/*.{js,ts}\' --max-warnings 0","prettier":"prettier --config ./.prettierrc --list-different \\"**/*.{js,ts,md,html,json}\\"","prettier-fix":"prettier --config ./.prettierrc --write \\"**/*.{js,ts,md,html,json}\\"","build":"tsc && webpack && webpack --minify","preversion":"yarn run build && yarn test","version":"git add -A dist","postversion":"git push && git push --tags"},"repository":{"type":"git","url":"git://github.com/GetStream/stream-analytics-js.git"},"keywords":["npm","stream-analytics","getstream.io","stream.io"],"author":"Tommaso Barbugli ","license":"MIT","bugs":{"url":"https://github.com/GetStream/stream-analytics-js/issues"},"homepage":"https://github.com/GetStream/stream-analytics-js","engines":{"node":"10 || 12 || >=14"},"browser":{"cross-fetch":false},"dependencies":{"cross-fetch":"^3.0.6"},"devDependencies":{"@types/node":"^14.11.2","@typescript-eslint/eslint-plugin":"^4.3.0","@typescript-eslint/parser":"^4.3.0","chai":"^4.2.0","dotenv":"^8.2.0","eslint":"^7.10.0","eslint-config-airbnb-base":"^14.2.0","eslint-config-prettier":"^6.12.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.1.4","eslint-plugin-typescript-sort-keys":"^1.5.0","karma":"^5.2.3","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"~2.2.5","karma-sauce-launcher":"^4.1.5","karma-sourcemap-loader":"~0.3.8","karma-webpack":"^4.0.2","mocha":"^8.1.3","prettier":"^2.1.2","ts-loader":"^8.0.4","typescript":"^4.0.3","webpack":"^4.44.2","webpack-cli":"^3.3.12"},"files":["src","dist","lib"]}')},KV5O:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("aD51");"undefined"!=typeof TitleProps&&TitleProps&&TitleProps===Object(TitleProps)&&Object.isExtensible(TitleProps)&&!TitleProps.hasOwnProperty("__filemeta")&&Object.defineProperty(TitleProps,"__filemeta",{configurable:!0,value:{name:"TitleProps",filename:"src/components/Title.tsx"}});var a=function(e){var t=e.size,r=void 0===t?18:t,n=e.children,a=e.className,s=e.style,c=void 0===s?{fontSize:r}:s;return Object(i.c)("div",{className:o()("raf-title",a),style:c},n)};void 0!==a&&a&&a===Object(a)&&Object.isExtensible(a)&&!a.hasOwnProperty("__filemeta")&&Object.defineProperty(a,"__filemeta",{configurable:!0,value:{name:"Title",filename:"src/components/Title.tsx"}})},"KjZ+":function(e,t,r){var n=r("s3UK").Uint8Array;e.exports=n},"Kn+0":function(e,t,r){e.exports=function(){var e=!1;-1!==navigator.appVersion.indexOf("MSIE 10")&&(e=!0);var t,r=[],n="object"==typeof document&&document,o=e?n.documentElement.doScroll("left"):n.documentElement.doScroll,i=n&&(o?/^loaded|^c/:/^loaded|^i|^c/).test(n.readyState);return!i&&n&&n.addEventListener("DOMContentLoaded",t=function(){for(n.removeEventListener("DOMContentLoaded",t),i=1;t=r.shift();)t()}),function(e){i?setTimeout(e,0):r.push(e)}}()},Kv1s:function(e,t,r){e.exports=function(){"use strict";return function(e,t,r){var n=t.prototype;r.utc=function(e){return new t({date:e,utc:!0,args:arguments})},n.utc=function(e){var t=r(this.toDate(),{locale:this.$L,utc:!0});return e?t.add(this.utcOffset(),"minute"):t},n.local=function(){return r(this.toDate(),{locale:this.$L,utc:!1})};var o=n.parse;n.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),o.call(this,e)};var i=n.init;n.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else i.call(this)};var a=n.utcOffset;n.utcOffset=function(e,t){var r=this.$utils().u;if(r(e))return this.$u?0:r(this.$offset)?a.call(this):this.$offset;var n=Math.abs(e)<=16?60*e:e,o=this;if(t)return o.$offset=n,o.$u=0===e,o;if(0!==e){var i=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(o=this.local().add(n+i,"minute")).$offset=n,o.$x.$localOffset=i}else o=this.utc();return o};var s=n.format;n.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},n.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||(new Date).getTimezoneOffset());return this.$d.valueOf()-6e4*e},n.isUTC=function(){return!!this.$u},n.toISOString=function(){return this.toDate().toISOString()},n.toString=function(){return this.toDate().toUTCString()};var c=n.toDate;n.toDate=function(e){return"s"===e&&this.$offset?r(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():c.call(this)};var u=n.diff;n.diff=function(e,t,n){if(e&&this.$u===e.$u)return u.call(this,e,t,n);var o=this.local(),i=r(e).local();return u.call(o,i,t,n)}}}()},"L+qr":function(e,t,r){"use strict";var n={countListeners:function(e){return this.listeners(e).length},bind:function(e,t,r){var n=Array.prototype.slice,o=function(){t.apply(r,n.call(arguments))};return this._listeners=this._listeners||[],this._listeners.push([e,t,r,o]),this.on(e,o)},unbind:function(e,t,r){this._listeners=this._listeners||[];for(var n,o=this._listeners.length;o--;)(n=this._listeners[o])[0]===e&&(!t||n[1]===t&&n[2]===r)&&(this._listeners.splice(o,1),this.removeListener(e,n[3]))}};r("BZif")(n,r("u69n").prototype),n.trigger=n.emit,e.exports=n},"L/xi":function(e,t,r){"use strict";r.d(t,"a",(function(){return h}));var n=r("mXGw"),o=r("8Jek"),i=r.n(o),a=r("GFgX"),s=r.n(a),c=r("8W8Z"),u=r("/asK"),l=r("pcv9"),f=r("yGUY"),p=r("aD51");"undefined"!=typeof EmojiPickerProps&&EmojiPickerProps&&EmojiPickerProps===Object(EmojiPickerProps)&&Object.isExtensible(EmojiPickerProps)&&!EmojiPickerProps.hasOwnProperty("__filemeta")&&Object.defineProperty(EmojiPickerProps,"__filemeta",{configurable:!0,value:{name:"EmojiPickerProps",filename:"src/components/EmojiPicker.tsx"}});var d=function(e){return{search:e("Search"),clear:e("Clear"),notfound:e("No emoji found"),skintext:e("Choose your default skin tone"),categorieslabel:e("Emoji categories"),categories:{search:e("Search Results"),recent:e("Frequently Used"),people:e("Smileys & Emotion"),nature:e("Animals & Nature"),foods:e("Food & Drink"),activity:e("Activity"),places:e("Travel & Places"),objects:e("Objects"),symbols:e("Symbols"),flags:e("Flags"),custom:e("Custom")}}};void 0!==d&&d&&d===Object(d)&&Object.isExtensible(d)&&!d.hasOwnProperty("__filemeta")&&Object.defineProperty(d,"__filemeta",{configurable:!0,value:{name:"getEmojiPickerFieldsTranslations",filename:"src/components/EmojiPicker.tsx"}});var h=function(e){var t=e.emojiData,r=void 0===t?c.a:t,o=e.i18n,a=e.onSelect,h=e.className,m=e.style,v=Object(u.b)().t,g=Object(n.useState)(!1),b=g[0],y=g[1],w=Object(n.useRef)(null);return Object(l.a)(w,(function(){return y(!1)}),b),Object(p.c)("div",{className:i()("raf-emoji-picker",h),style:m},b&&Object(p.c)("div",{"data-testid":"picker-wrapper",className:"raf-emoji-picker__container",ref:w},Object(p.c)(s.a,{i18n:null!=o?o:d(v),emoji:"point_up",title:v("Pick your emoji"),data:r,onSelect:a})),Object(p.c)("div",{role:"button",onClick:function(){return y(!0)},className:"raf-emoji-picker__button"},Object(p.c)(f.g,null)))};void 0!==h&&h&&h===Object(h)&&Object.isExtensible(h)&&!h.hasOwnProperty("__filemeta")&&Object.defineProperty(h,"__filemeta",{configurable:!0,value:{name:"EmojiPicker",filename:"src/components/EmojiPicker.tsx"}})},LBQr:function(e,t,r){var n=r("SHde")(Object.getPrototypeOf,Object);e.exports=n},LBbR:function(e,t,r){"use strict";(function(t){var r=t.MozWebSocket||t.WebSocket;e.exports={create:function(e,t,n){return"function"!=typeof r?null:new r(e)}}}).call(this,r("pCvA"))},LF0y:function(e,t,r){var n=r("UzdM");e.exports=function(e){var t=n(e),r=t%1;return t==t?r?t-r:t:0}},LFXc:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("mXGw"),o=r.n(n);function i(e,t,r){var i=void 0===e?r:e;return o.a.isValidElement(i)||"string"==typeof i||"number"==typeof i||"boolean"==typeof i||null==i?i:Object(n.createElement)(i,t)}"undefined"!=typeof ElementOrComponentOrLiteralType&&ElementOrComponentOrLiteralType&&ElementOrComponentOrLiteralType===Object(ElementOrComponentOrLiteralType)&&Object.isExtensible(ElementOrComponentOrLiteralType)&&!ElementOrComponentOrLiteralType.hasOwnProperty("__filemeta")&&Object.defineProperty(ElementOrComponentOrLiteralType,"__filemeta",{configurable:!0,value:{name:"ElementOrComponentOrLiteralType",filename:"src/utils/smartRender.tsx"}}),void 0!==i&&i&&i===Object(i)&&Object.isExtensible(i)&&!i.hasOwnProperty("__filemeta")&&Object.defineProperty(i,"__filemeta",{configurable:!0,value:{name:"smartRender",filename:"src/utils/smartRender.tsx"}})},LMdw:function(e,t,r){var n=r("UVdV"),o=r("OVha"),i=r("rk7W"),a=r("gDYM");e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},LSEb:function(e,t,r){var n=r("Yzgk"),o=r("X/0h");e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},Lalj:function(e,t,r){var n=r("jL4t"),o=r("MQuF"),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},LcPu:function(e,t,r){"use strict";r.r(t),r.d(t,"Helmet",(function(){return B})),r.d(t,"HelmetProvider",(function(){return I}));r("x3Br");var n=r("mXGw"),o=r.n(n),i=r("W0B4"),a=r.n(i),s=r("2Hgx"),c=r.n(s),u=r("+Ltg"),l=r.n(u),f=r("F56x"),p=r.n(f);function d(){return(d=Object.assign||function(e){for(var t=1;t=0||(o[r]=e[r]);return o}var v={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},g=Object.keys(v).map((function(e){return v[e]})),b={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},y=Object.keys(b).reduce((function(e,t){return e[b[t]]=t,e}),{}),w=function(e,t){for(var r=e.length-1;r>=0;r-=1){var n=e[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},_=function(e){var t=w(e,v.TITLE),r=w(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,(function(){return t}));var n=w(e,"defaultTitle");return t||n||void 0},O=function(e){return w(e,"onChangeClientState")||function(){}},x=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return d({},e,t)}),{})},j=function(e,t){return t.filter((function(e){return void 0!==e[v.BASE]})).map((function(e){return e[v.BASE]})).reverse().reduce((function(t,r){if(!t.length)for(var n=Object.keys(r),o=0;o/g,">").replace(/"/g,""").replace(/'/g,"'")},C=function(e){return Object.keys(e).reduce((function(t,r){var n=void 0!==e[r]?r+'="'+e[r]+'"':""+r;return t?t+" "+n:n}),"")},A=function(e,t){return void 0===t&&(t={}),Object.keys(e).reduce((function(t,r){return t[b[r]||r]=e[r],t}),t)},T=function(e,t,r){switch(e){case v.TITLE:return{toComponent:function(){return r=t.titleAttributes,(n={key:e=t.title})["data-rh"]=!0,i=A(r,n),[o.a.createElement(v.TITLE,i,e)];var e,r,n,i},toString:function(){return function(e,t,r,n){var o=C(r),i=E(t);return o?"<"+e+' data-rh="true" '+o+">"+S(i,n)+"":"<"+e+' data-rh="true">'+S(i,n)+""}(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return A(t)},toString:function(){return C(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,r){var n,i=((n={key:r})["data-rh"]=!0,n);return Object.keys(t).forEach((function(e){var r=b[e]||e;"innerHTML"===r||"cssText"===r?i.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:i[r]=t[e]})),o.a.createElement(e,i)}))}(e,t)},toString:function(){return function(e,t,r){return t.reduce((function(t,n){var o=Object.keys(n).filter((function(e){return!("innerHTML"===e||"cssText"===e)})).reduce((function(e,t){var o=void 0===n[t]?t:t+'="'+S(n[t],r)+'"';return e?e+" "+o:o}),""),i=n.innerHTML||n.cssText||"",a=-1===P.indexOf(e);return t+"<"+e+' data-rh="true" '+o+(a?"/>":">"+i+"")}),"")}(e,t,r)}}}},R=function(e){var t=e.bodyAttributes,r=e.encode,n=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.scriptTags,c=e.styleTags,u=e.title,l=void 0===u?"":u,f=e.titleAttributes;return{base:T(v.BASE,e.baseTag,r),bodyAttributes:T("bodyAttributes",t,r),htmlAttributes:T("htmlAttributes",n,r),link:T(v.LINK,o,r),meta:T(v.META,i,r),noscript:T(v.NOSCRIPT,a,r),script:T(v.SCRIPT,s,r),style:T(v.STYLE,c,r),title:T(v.TITLE,{title:l,titleAttributes:f},r)}},D=o.a.createContext({}),L=a.a.shape({setHelmet:a.a.func,helmetInstances:a.a.shape({get:a.a.func,add:a.a.func,remove:a.a.func})}),N="undefined"!=typeof document,I=function(e){function t(r){var n;return(n=e.call(this,r)||this).instances=[],n.value={setHelmet:function(e){n.props.context.helmet=e},helmetInstances:{get:function(){return n.instances},add:function(e){n.instances.push(e)},remove:function(e){var t=n.instances.indexOf(e);n.instances.splice(t,1)}}},t.canUseDOM||(r.context.helmet=R({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),n}return h(t,e),t.prototype.render=function(){return o.a.createElement(D.Provider,{value:this.value},this.props.children)},t}(n.Component);I.canUseDOM=N,I.propTypes={context:a.a.shape({helmet:a.a.shape()}),children:a.a.node.isRequired},I.defaultProps={context:{}},I.displayName="HelmetProvider";var M=function(e,t){var r,n=document.head||document.querySelector(v.HEAD),o=n.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),a=[];return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&("innerHTML"===o?n.innerHTML=t.innerHTML:"cssText"===o?n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText)):n.setAttribute(o,void 0===t[o]?"":t[o]));n.setAttribute("data-rh","true"),i.some((function(e,t){return r=t,n.isEqualNode(e)}))?i.splice(r,1):a.push(n)})),i.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:i,newTags:a}},F=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),o=n?n.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s=0;f-=1)r.removeAttribute(i[f]);o.length===i.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==a.join(",")&&r.setAttribute("data-rh",a.join(","))}},q=function(e,t){var r=e.baseTag,n=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,l=e.title,f=e.titleAttributes;F(v.BODY,e.bodyAttributes),F(v.HTML,n),function(e,t){void 0!==e&&document.title!==e&&(document.title=E(e)),F(v.TITLE,t)}(l,f);var p={baseTag:M(v.BASE,r),linkTags:M(v.LINK,o),metaTags:M(v.META,i),noscriptTags:M(v.NOSCRIPT,a),scriptTags:M(v.SCRIPT,c),styleTags:M(v.STYLE,u)},d={},h={};Object.keys(p).forEach((function(e){var t=p[e],r=t.newTags,n=t.oldTags;r.length&&(d[e]=r),n.length&&(h[e]=p[e].oldTags)})),t&&t(),s(e,d,h)},U=null,z=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(e){var t,r=e.child,n=e.arrayTypeChildren;return d({},n,((t={})[r.type]=[].concat(n[r.type]||[],[d({},e.newChildProps,this.mapNestedChildrenToProps(r,e.nestedChildren))]),t))},r.mapObjectTypeChildren=function(e){var t,r,n=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(n.type){case v.TITLE:return d({},o,((t={})[n.type]=a,t.titleAttributes=d({},i),t));case v.BODY:return d({},o,{bodyAttributes:d({},i)});case v.HTML:return d({},o,{htmlAttributes:d({},i)});default:return d({},o,((r={})[n.type]=d({},i),r))}},r.mapArrayTypeChildrenToProps=function(e,t){var r=d({},t);return Object.keys(e).forEach((function(t){var n;r=d({},r,((n={})[t]=e[t],n))})),r},r.warnOnInvalidChildren=function(e,t){return l()(g.some((function(t){return e.type===t})),"function"==typeof e.type?"You may be attempting to nest components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+g.join(", ")+" are allowed. Helmet does not support rendering <"+e.type+"> elements. Refer to our API for more information."),l()(!t||"string"==typeof t||Array.isArray(t)&&!t.some((function(e){return"string"!=typeof e})),"Helmet expects a string as a child of <"+e.type+">. Did you forget to wrap your children in braces? ( <"+e.type+">{``} ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(e,t){var r=this,n={};return o.a.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=m(o,["children"]),s=Object.keys(a).reduce((function(e,t){return e[y[t]||t]=a[t],e}),{}),c=e.type;switch("symbol"==typeof c?c=c.toString():r.warnOnInvalidChildren(e,i),c){case v.FRAGMENT:t=r.mapChildrenToProps(i,t);break;case v.LINK:case v.META:case v.NOSCRIPT:case v.SCRIPT:case v.STYLE:n=r.flattenArrayTypeChildren({child:e,arrayTypeChildren:n,newChildProps:s,nestedChildren:i});break;default:t=r.mapObjectTypeChildren({child:e,newProps:t,newChildProps:s,nestedChildren:i})}}})),this.mapArrayTypeChildrenToProps(n,t)},r.render=function(){var e=this.props,t=e.children,r=d({},m(e,["children"]));return t&&(r=this.mapChildrenToProps(t,r)),o.a.createElement(D.Consumer,null,(function(e){return o.a.createElement(z,d({},r,{context:e}))}))},t}(n.Component);B.propTypes={base:a.a.object,bodyAttributes:a.a.object,children:a.a.oneOfType([a.a.arrayOf(a.a.node),a.a.node]),defaultTitle:a.a.string,defer:a.a.bool,encodeSpecialCharacters:a.a.bool,htmlAttributes:a.a.object,link:a.a.arrayOf(a.a.object),meta:a.a.arrayOf(a.a.object),noscript:a.a.arrayOf(a.a.object),onChangeClientState:a.a.func,script:a.a.arrayOf(a.a.object),style:a.a.arrayOf(a.a.object),title:a.a.string,titleAttributes:a.a.object,titleTemplate:a.a.string},B.defaultProps={defer:!0,encodeSpecialCharacters:!0},B.displayName="Helmet"},LdZC:function(e,t,r){var n=r("jgJv"),o=r("KjZ+"),i=r("dIZa"),a=r("MBdc"),s=r("rrk0"),c=r("OF9M"),u=n?n.prototype:void 0,l=u?u.valueOf:void 0;e.exports=function(e,t,r,n,u,f,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!f(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var h=1&n;if(d||(d=c),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;n|=2,p.set(e,t);var v=a(d(e),d(t),n,u,f,p);return p.delete(e),v;case"[object Symbol]":if(l)return l.call(e)==l.call(t)}return!1}},LeKB:function(e,t,r){e.exports=[{plugin:r("AdG2"),options:{plugins:[],extensions:[".md",".mdx"],remarkPlugins:[[null,{type:"yaml",marker:"-"}],null],rehypePlugins:[null,null],gatsbyRemarkPlugins:[],defaultLayouts:{default:"/Users/amin/Stream/react-activity-feed/node_modules/gatsby-theme-docz/src/base/Layout.js"},lessBabel:!1,mediaTypes:["text/markdown","text/x-markdown"],root:"/Users/amin/Stream/react-activity-feed/.docz"}},{plugin:r("1dvN"),options:{plugins:[]}},{plugin:r("mEVR"),options:{plugins:[],themeConfig:{},src:"./",gatsbyRoot:null,themesDir:"src",mdxExtensions:[".md",".mdx"],docgenConfig:{},menu:[{name:"Introduction"},{name:"Top Level Components"},{name:"UI Components"},{name:"Layout Components"},{name:"Streami18n"},{name:"Composition Components"}],mdPlugins:[],hastPlugins:[],ignore:["PULL_REQUEST_TEMPLATE.md","CHANGELOG.md","README.md"],typescript:!0,ts:!1,propsParser:!0,"props-parser":!0,debug:!1,native:!1,openBrowser:null,o:null,open:null,"open-browser":null,root:"/Users/amin/Stream/react-activity-feed/.docz",base:"/react-activity-feed",source:"./","gatsby-root":null,files:"**/*.{md,markdown,mdx}",public:"/public",dest:"/docs",d:".docz/dist",editBranch:"main",eb:"master","edit-branch":"master",config:"",title:"React Activity Feed",description:"React components to create activity and notification feeds",host:"localhost",port:3e3,p:3e3,separator:"-",paths:{root:"/Users/amin/Stream/react-activity-feed",templates:"/Users/amin/Stream/react-activity-feed/node_modules/docz-core/dist/templates",docz:"/Users/amin/Stream/react-activity-feed/.docz",cache:"/Users/amin/Stream/react-activity-feed/.docz/.cache",app:"/Users/amin/Stream/react-activity-feed/.docz/app",appPackageJson:"/Users/amin/Stream/react-activity-feed/package.json",appTsConfig:"/Users/amin/Stream/react-activity-feed/tsconfig.json",gatsbyConfig:"/Users/amin/Stream/react-activity-feed/gatsby-config.js",gatsbyBrowser:"/Users/amin/Stream/react-activity-feed/gatsby-browser.js",gatsbyNode:"/Users/amin/Stream/react-activity-feed/gatsby-node.js",gatsbySSR:"/Users/amin/Stream/react-activity-feed/gatsby-ssr.js",importsJs:"/Users/amin/Stream/react-activity-feed/.docz/app/imports.js",rootJs:"/Users/amin/Stream/react-activity-feed/.docz/app/root.jsx",indexJs:"/Users/amin/Stream/react-activity-feed/.docz/app/index.jsx",indexHtml:"/Users/amin/Stream/react-activity-feed/.docz/app/index.html",db:"/Users/amin/Stream/react-activity-feed/.docz/app/db.json"},repository:"https://github.com/GetStream/react-activity-feed/"}}]},LqJZ:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("yGUY"),a=r("aD51");"undefined"!=typeof IconBadgeProps&&IconBadgeProps&&IconBadgeProps===Object(IconBadgeProps)&&Object.isExtensible(IconBadgeProps)&&!IconBadgeProps.hasOwnProperty("__filemeta")&&Object.defineProperty(IconBadgeProps,"__filemeta",{configurable:!0,value:{name:"IconBadgeProps",filename:"src/components/IconBadge.tsx"}});var s=function(e){var t=e.children,r=e.onClick,n=e.hidden,s=e.unseen,c=void 0===s?0:s,u=e.showNumber,l=e.className,f=e.style;return Object(a.c)("div",{className:o()("raf-icon-badge",l),role:"button",onClick:r,style:f},null!=t?t:Object(a.c)(i.b,null),c>0&&!n&&Object(a.c)("div",{className:"raf-icon-badge__badge","data-testid":"unseen-wrapper"},u&&Object(a.c)("p",{"data-testid":"unseen-count"},c)))};void 0!==s&&s&&s===Object(s)&&Object.isExtensible(s)&&!s.hasOwnProperty("__filemeta")&&Object.defineProperty(s,"__filemeta",{configurable:!0,value:{name:"IconBadge",filename:"src/components/IconBadge.tsx"}})},"M/tt":function(e,t,r){var n=r("DJGK"),o=r("Qean");e.exports=function(e){return n(o(e))}},M8e6:function(e,t,r){"use strict";t.a=function(e){var t={};return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}},MBdc:function(e,t,r){var n=r("GE03"),o=r("5Avs"),i=r("+165");e.exports=function(e,t,r,a,s,c){var u=1&r,l=e.length,f=t.length;if(l!=f&&!(u&&f>l))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,m=!0,v=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h5}),onClick:function(){return f(t)},key:"image-"+t},Object(s.c)("img",{src:e,className:"raf-gallery__image",alt:""}),4===t&&r.length>5&&Object(s.c)("p",null,r.length-4," more"))})),null!==l&&Object(s.c)(a.a,{mainSrc:r[l],nextSrc:r[l+1],prevSrc:r[l-1],onCloseRequest:function(){return f(null)},onMoveNextRequest:function(){return f(l+1)},onMovePrevRequest:function(){return f(l-1)}}))};void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"Gallery",filename:"src/components/Gallery.tsx"}})},MLWY:function(e,t,r){var n=r("JZQH"),o=r("q+I6"),i=Array.prototype.splice;e.exports=function(e,t){for(var r=e?t.length:0,a=r-1;r--;){var s=t[r];if(r==a||s!==c){var c=s;o(s)?i.call(e,s,1):n(e,s)}}return e}},MNFw:function(e,t,r){var n=r("JpX9");e.exports=function(e,t,r){return t=r?void 0:t,t=e&&null==t?e.length:t,n(e,128,void 0,void 0,void 0,void 0,t)}},MQuF:function(e,t,r){var n=r("SHde")(Object.keys,Object);e.exports=n},Mb7f:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("Ux1d"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,FollowButton:o.a,React:i}},MfmI:function(e,t,r){var n=r("jgJv"),o=r("NmMy"),i=r("PqlX"),a=r("zXe4"),s=n?n.prototype:void 0,c=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return c?c.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},Mj04:function(e,t,r){var n=r("kidB").default,o=r("YrpG");e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},Mmsx:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("SUHN"),i=r("WjHG"),a=r("KV5O"),s=r("wlos"),c=r("byEl"),u=r("pGZ+"),l=r("mXGw");t.default={Playground:n.c,Props:n.d,DropdownPanel:o.a,NewActivitiesNotification:i.a,Title:a.a,Link:s.a,Notification:c.a,WithExampleStreamApp:u.b,notificationGroup1:u.c,notificationGroup2:u.d,React:l}},MoOl:function(e,t,r){var n=r("nEaP"),o=r("Ya6V"),i=n["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},N3wY:function(e,t,r){var n=r("OJX8"),o=r("h0av");e.exports=function(e){return null==e?[]:n(e,o(e))}},NA7H:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("byEl"),i=r("pGZ+"),a=r("mXGw");t.default={Playground:n.c,Props:n.d,Notification:o.a,WithExampleStreamApp:i.b,notificationGroup1:i.c,notificationGroup2:i.d,React:a}},NFrV:function(e,t,r){"use strict";var n=r("BZif");e.exports=function(e,t){"function"!=typeof e&&(t=e,e=Object);var r=function(){return this.initialize&&this.initialize.apply(this,arguments)||this},o=function(){};return o.prototype=e.prototype,r.prototype=new o,n(r.prototype,t),r}},NSX3:function(e,t,r){"use strict";r.r(t);var n=r("xtsi");"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/react-activity-feed/sw.js").then((function(e){e.addEventListener("updatefound",(function(){Object(n.apiRunner)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,Object(n.apiRunner)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),Object(n.apiRunner)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),Object(n.apiRunner)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":Object(n.apiRunner)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},NfLg:function(e,t,r){var n=r("GI0s"),o=r("LBQr"),i=r("T9Ud"),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,l=c.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==l}},NmMy:function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r=0&&p++,r++,l++;if(p<0)for(var d=r-l;d0&&(n.push(new o.TEXT(i)),i=[]),r-=p,l-=p;var h=f.emit();n.push(new h(e.slice(r-l,r)))}}return i.length>0&&n.push(new o.TEXT(i)),n},t.start=c},Owjd:function(e){e.exports=JSON.parse('{"1 comment":"1 commentaire","1 like":"1 J\'aime","1 repost":"1 partage","Activity":"Activité","Animals & Nature":"Animaux & Nature","Choose your default skin tone":"Choisissez votre couleur de peau par défaut","Clear":"Effacer","Custom":"Personnalisé","Details":"Voir les commentaires","Emoji categories":"Catégories d\'émojis","Flags":"Drapeaux","Food & Drink":"Nourriture et boissons","Frequently Used":"Fréquemment utilisé","Getting website data...":"Obtention des données du site Web...","Load activities":"Voir les nouvelles publications","Load more":"voir plus","New Post":"Nouvelle publication","No data to display...":"Aucune donnée à afficher","No emoji found":"Aucun emoji trouvé","Objects":"Objets","Pick your emoji":"Choisissez votre emoji","Post":"Publier","Search":"Rechercher","Search Results":"Résultats de recherche","Smileys & Emotion":"Smileys & Émotion","Start Typing...":"Démarrez la saisie...","Symbols":"Symboles","Travel & Places":"Voyages et lieux","Type your post...":"Tapez votre message","You have 1 new notification":"Vous avez reçu 1 nouvelle notification","You have {{ notificationCount }} new notifications":"Vous avez reçu {{ notificationCount }} nouvelles notifications","{{ actorName }} and 1 other commented on your {{ activityVerb }}":"{{ actorName }} et 1 autre ont commenté votre {{ activityVerb }}","{{ actorName }} and 1 other followed you":"{{ actorName }} et 1 autre vous suivent désormais","{{ actorName }} and 1 other liked your {{ activityVerb }}":"{{ actorName }} et 1 autre ont aimé votre {{ activityVerb }}","{{ actorName }} and 1 other reposted your {{ activityVerb }}":"{{ actorName }} et 1 autre ont partagé votre {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}":"{{ actorName }} et {{ countOtherActors }} autres ont commenté votre {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others followed you":"{{ actorName }} et {{ countOtherActors }} autres vous suivent désormais","{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}":"{{ actorName }} et {{ countOtherActors }} autres ont aimé votre {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}":"{{ actorName }} et {{ countOtherActors }} autres ont partagé votre {{ activityVerb }}","{{ actorName }} commented on your {{ activityVerb }}":"{{ actorName }} a commenté votre {{ activityVerb }}","{{ actorName }} followed you":"{{ actorName }} vous suit désormais","{{ actorName }} liked your {{ activityVerb }}":"{{ actorName }} a aimé votre {{ activityVerb }}","{{ actorName }} reposted your {{ activityVerb }}":"{{ actorName }} a partagé votre {{ activityVerb }}","{{ countComments }} comments":"{{ countComments }} commentaires","{{ countLikes }} likes":"{{ countLikes }} J\'aime","{{ countReposts }} reposts":"{{ countReposts }} partages"}')},P2u4:function(e,t,r){var n=r("nEaP"),o=r("/dUa"),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},P9a0:function(e,t,r){(function(e,n){var o;!function(i){var a=t,s=(e&&e.exports,"object"==typeof n&&n);s.global!==s&&s.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,l=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,p={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},d=/["&'<>`]/g,h={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,v=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,b={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},y={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},w={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},_=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],O=String.fromCharCode,x={}.hasOwnProperty,j=function(e,t){return x.call(e,t)},k=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=j(e,r)?e[r]:t[r];return n},E=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&C("character reference outside the permissible Unicode range"),"�"):j(w,e)?(t&&C("disallowed character reference"),w[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r65535&&(r+=O((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=O(e))},P=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},S=function(e){return"&#"+e+";"},C=function(e){throw Error("Parse error: "+e)},A=function e(t,r){(r=k(r,e.options)).strict&&v.test(t)&&C("forbidden code point");var n=r.encodeEverything,o=r.useNamedReferences,i=r.allowUnsafeSymbols,a=r.decimal?S:P,s=function(e){return a(e.charCodeAt(0))};return n?(t=t.replace(u,(function(e){return o&&j(p,e)?"&"+p[e]+";":s(e)})),o&&(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),o&&(t=t.replace(f,(function(e){return"&"+p[e]+";"})))):o?(i||(t=t.replace(d,(function(e){return"&"+p[e]+";"}))),t=(t=t.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(f,(function(e){return"&"+p[e]+";"}))):i||(t=t.replace(d,s)),t.replace(c,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return a(1024*(t-55296)+r-56320+65536)})).replace(l,s)};A.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var T=function e(t,r){var n=(r=k(r,e.options)).strict;return n&&m.test(t)&&C("malformed character reference"),t.replace(g,(function(e,t,o,i,a,s,c,u,l){var f,p,d,h,m,v;return t?b[m=t]:o?(m=o,(v=i)&&r.isAttributeValue?(n&&"="==v&&C("`&` did not start a character reference"),e):(n&&C("named character reference was not terminated by a semicolon"),y[m]+(v||""))):a?(d=a,p=s,n&&!p&&C("character reference was not terminated by a semicolon"),f=parseInt(d,10),E(f,n)):c?(h=c,p=u,n&&!p&&C("character reference was not terminated by a semicolon"),f=parseInt(h,16),E(f,n)):(n&&C("named character reference was not terminated by a semicolon"),e)}))};T.options={isAttributeValue:!1,strict:!1};var R={version:"1.2.0",encode:A,decode:T,escape:function(e){return e.replace(d,(function(e){return h[e]}))},unescape:T};void 0===(o=function(){return R}.call(t,r,t,e))||(e.exports=o)}()}).call(this,r("RoC8")(e),r("pCvA"))},PAOY:function(e,t,r){var n=r("iMLE")({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"});e.exports=n},PB2k:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.Collections=t.CollectionEntry=void 0;var o=n(r("1M3q")),i=n(r("OXsn")),a=n(r("Sgbw")),s=n(r("AcCc")),c=n(r("g2JX")),u=r("XqWt"),l=function(){function e(t,r,n,o){(0,a.default)(this,e),(0,c.default)(this,"id",void 0),(0,c.default)(this,"collection",void 0),(0,c.default)(this,"store",void 0),(0,c.default)(this,"data",void 0),(0,c.default)(this,"full",void 0),this.collection=r,this.store=t,this.id=n,this.data=o}var t,r,n,u;return(0,s.default)(e,[{key:"ref",value:function(){return"SO:".concat(this.collection,":").concat(this.id)}},{key:"get",value:(u=(0,i.default)(o.default.mark((function e(){var t;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.get(this.collection,this.id);case 2:return t=e.sent,this.data=t.data,this.full=t,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"add",value:(n=(0,i.default)(o.default.mark((function e(){var t;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.add(this.collection,this.id,this.data);case 2:return t=e.sent,this.data=t.data,this.full=t,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"update",value:(r=(0,i.default)(o.default.mark((function e(){var t;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.update(this.collection,this.id,this.data);case 2:return t=e.sent,this.data=t.data,this.full=t,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"delete",value:(t=(0,i.default)(o.default.mark((function e(){var t;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.store.delete(this.collection,this.id);case 2:return t=e.sent,this.data=null,this.full=null,e.abrupt("return",t);case 6:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}();t.CollectionEntry=l;var f=function(){function e(t,r){(0,a.default)(this,e),(0,c.default)(this,"client",void 0),(0,c.default)(this,"token",void 0),(0,c.default)(this,"buildURL",(function(e,t){var r="collections/".concat(e,"/");return void 0===t?r:"".concat(r).concat(t,"/")})),this.client=t,this.token=r}var t,r,n;return(0,s.default)(e,[{key:"entry",value:function(e,t,r){return new l(this,e,t,r)}},{key:"get",value:(n=(0,i.default)(o.default.mark((function e(t,r){var n,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.get({url:this.buildURL(t,r),token:this.token});case 2:return n=e.sent,(i=this.entry(n.collection,n.id,n.data)).full=n,e.abrupt("return",i);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return n.apply(this,arguments)})},{key:"add",value:(r=(0,i.default)(o.default.mark((function e(t,r,n){var i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.post({url:this.buildURL(t),body:{id:null===r?void 0:r,data:n},token:this.token});case 2:return i=e.sent,(a=this.entry(i.collection,i.id,i.data)).full=i,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"update",value:(t=(0,i.default)(o.default.mark((function e(t,r,n){var i,a;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.client.put({url:this.buildURL(t,r),body:{data:n},token:this.token});case 2:return i=e.sent,(a=this.entry(i.collection,i.id,i.data)).full=i,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"delete",value:function(e,t){return this.client.delete({url:this.buildURL(e,t),token:this.token})}},{key:"upsert",value:function(e,t){if(!this.client.usingApiSecret)throw new u.SiteError("This method can only be used server-side using your API Secret");return Array.isArray(t)||(t=[t]),this.client.post({url:"collections/",serviceName:"api",body:{data:(0,c.default)({},e,t)},token:this.client.getCollectionsToken()})}},{key:"select",value:function(e,t){if(!this.client.usingApiSecret)throw new u.SiteError("This method can only be used server-side using your API Secret");return Array.isArray(t)||(t=[t]),this.client.get({url:"collections/",serviceName:"api",qs:{foreign_ids:t.map((function(t){return"".concat(e,":").concat(t)})).join(",")},token:this.client.getCollectionsToken()})}},{key:"deleteMany",value:function(e,t){if(!this.client.usingApiSecret)throw new u.SiteError("This method can only be used server-side using your API Secret");Array.isArray(t)||(t=[t]);var r={collection_name:e,ids:t.map((function(e){return e.toString()})).join(",")};return this.client.delete({url:"collections/",serviceName:"api",qs:r,token:this.client.getCollectionsToken()})}}]),e}();t.Collections=f},PCqT:function(e,t){e.exports=!1},PHxc:function(e,t,r){var n=r("cm7J");e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},PWxN:function(e,t,r){var n=r("NmMy"),o=r("0711"),i=r("JZQH"),a=r("sWZd"),s=r("V2ZB"),c=r("fdVR"),u=r("yF7r"),l=r("zIph"),f=u((function(e,t){var r={};if(null==e)return r;var u=!1;t=n(t,(function(t){return t=a(t,e),u||(u=t.length>1),t})),s(e,l(e),r),u&&(r=o(r,7,c));for(var f=t.length;f--;)i(r,t[f]);return r}));e.exports=f},PYDc:function(e,t,r){var n=r("FEiO");e.exports=function(){this.__data__=n?n(null):{},this.size=0}},PbS7:function(e,t,r){var n=r("+dZb")("merge",r("HVn3"));n.placeholder=r("IOY3"),e.exports=n},Pdo2:function(e,t,r){"use strict";r.d(t,"d",(function(){return g})),r.d(t,"i",(function(){return b})),r.d(t,"c",(function(){return y})),r.d(t,"a",(function(){return _})),r.d(t,"b",(function(){return x})),r.d(t,"e",(function(){return k})),r.d(t,"f",(function(){return E})),r.d(t,"g",(function(){return P})),r.d(t,"h",(function(){return S}));var n=r("HtiD"),o=r("1M3q"),i=r.n(o),a=r("mXGw"),s=r("49Kr"),c=r.n(s),u=r("jTUD"),l=r.n(u),f=r("Kv1s"),p=r.n(f),d=r("oCnO"),h=r.n(d),m=r("cBTi"),v=r.n(m);function g(e,t){return("string"==typeof e&&"z"===e[e.length-1].toLowerCase()?t(e):t(e).add(l()(e).utcOffset(),"minute")).fromNow()}function b(e){return!e||"string"==typeof e||function(e){return!!e&&"string"==typeof e.error}(e)?{id:"!not-found",created_at:"",updated_at:"",data:{name:"Unknown",profileImage:""}}:e}function y(){return w()+w()+"-"+w()+"-"+w()+"-"+w()+"-"+w()+w()+w()}function w(){return(65536*(1+Math.random())|0).toString(16).substring(1)}function _(e){if(!e||!e.length)return!1;for(var t=0;t1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n0)&&(n.unobserve(t),n.disconnect(),r())}))}))).observe(t),{instance:n,el:t}))},r.render=function(){var e=this,t=this.props,r=t.to,n=t.getProps,i=void 0===n?this.defaultGetProps:n,a=t.onClick,c=t.onMouseEnter,f=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),d=t.replace,h=t._location,m=(0,o.default)(t,["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"]);var v=b(r,h.pathname);return g(v)?u.default.createElement(l.Link,(0,s.default)({to:v,state:f,getProps:i,innerRef:this.handleRef,onMouseEnter:function(e){c&&c(e),___loader.hovering((0,p.parsePath)(v).pathname)},onClick:function(t){if(a&&a(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var r=d,n=encodeURI(v)===h.pathname;"boolean"!=typeof d&&n&&(r=!0),window.___navigate(v,{state:f,replace:r})}return!0}},m)):u.default.createElement("a",(0,s.default)({href:v},m))},t}(u.default.Component);_.propTypes=(0,s.default)({},y,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var O=function(e,t,r){return console.warn('The "'+e+'" method is now deprecated and will be removed in Gatsby v'+r+'. Please use "'+t+'" instead.')},x=u.default.forwardRef((function(e,t){return u.default.createElement(w,(0,s.default)({innerRef:t},e))}));t.default=x;t.navigate=function(e,t){window.___navigate(b(e,window.location.pathname),t)};var j=function(e){O("push","navigate",3),window.___push(b(e,window.location.pathname))};t.push=j;t.replace=function(e){O("replace","navigate",3),window.___replace(b(e,window.location.pathname))};t.navigateTo=function(e){return O("navigateTo","navigate",3),j(e)}},SEN6:function(e,t,r){var n=r("F7vZ"),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},SEuL:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("COMz")),i=n(r("Sgbw")),a=n(r("AcCc")),s=n(r("Mj04")),c=n(r("D1KR")),u=n(r("YrpG")),l=n(r("ti3h")),f=n(r("mXGw")),p=function(e){function t(e){var r;return(0,i.default)(this,t),(r=(0,s.default)(this,(0,c.default)(t).call(this,e))).handleClick=r.handleClick.bind((0,u.default)(r)),r.handleKeyDown=r.handleKeyDown.bind((0,u.default)(r)),r}return(0,l.default)(t,e),(0,a.default)(t,[{key:"handleKeyDown",value:function(e){13!==e.keyCode&&32!==e.keyCode||(e.preventDefault(),this.handleClick(e))}},{key:"render",value:function(){for(var e=this.props,t=e.skin,r=e.i18n,n=this.state.opened,i=[],a=1;a<=6;a++){var s=a===t,c=n||s;i.push(f.default.createElement("span",(0,o.default)({key:"skin-tone-".concat(a),className:"emoji-mart-skin-swatch".concat(s?" selected":""),"aria-label":r.skintones[a],"aria-hidden":!c},n?{role:"menuitem"}:{}),f.default.createElement("span",(0,o.default)({onClick:this.handleClick,onKeyDown:this.handleKeyDown,role:"button"},s?{"aria-haspopup":!0,"aria-expanded":!!n}:{},n?{"aria-pressed":!!s}:{},{tabIndex:c?"0":"","aria-label":r.skintones[a],title:r.skintones[a],"data-skin":a,className:"emoji-mart-skin emoji-mart-skin-tone-".concat(a)}))))}return f.default.createElement("section",{className:"emoji-mart-skin-swatches".concat(n?" opened":""),"aria-label":r.skintext},f.default.createElement("div",n?{role:"menubar"}:{},i))}}]),t}(n(r("3hyD")).default);t.default=p,p.defaultProps={onChange:function(){}}},SHde:function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},SJSz:function(e,t,r){"use strict";var n=r("JRM0"),o=r("3I4I"),i=r("9pAD"),a=r("zrDt"),s=r("jmUq"),c=r("iSxr");n({target:"Array",proto:!0},{flatMap:function(e){var t,r=i(this),n=a(r.length);return s(e),(t=c(r,0)).length=o(t,r,r,n,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},SN9N:function(e,t,r){var n=r("Dh2Y"),o=r("dIZa");e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},SUHN:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));r("mXGw");var n=r("LFXc"),o=r("aD51");"undefined"!=typeof DropdownPanelProps&&DropdownPanelProps&&DropdownPanelProps===Object(DropdownPanelProps)&&Object.isExtensible(DropdownPanelProps)&&!DropdownPanelProps.hasOwnProperty("__filemeta")&&Object.defineProperty(DropdownPanelProps,"__filemeta",{configurable:!0,value:{name:"DropdownPanelProps",filename:"src/components/DropdownPanel.tsx"}});var i=function(e){var t=e.arrow,r=void 0!==t&&t,i=e.right,a=void 0!==i&&i,s=e.Header,c=e.Footer,u=e.children,l=e.className,f=e.style;return Object(o.c)("div",{"data-testid":"dp-wrapper",className:null!=l?l:"raf-dropdown-panel"+(r?" raf-dropdown-panel--arrow":"")+" "+(a?" raf-dropdown-panel--right raf-dropdown-panel--arrow-right":" raf-dropdown-panel--left raf-dropdown-panel--arrow-left"),style:f},!!s&&Object(o.c)("div",{className:"raf-dropdown-panel__header"},Object(n.a)(s)),Object(o.c)("div",{className:"raf-dropdown-panel__content"},u),!!c&&Object(o.c)("div",{className:"raf-dropdown-panel__footer"},Object(n.a)(c)))};void 0!==i&&i&&i===Object(i)&&Object.isExtensible(i)&&!i.hasOwnProperty("__filemeta")&&Object.defineProperty(i,"__filemeta",{configurable:!0,value:{name:"DropdownPanel",filename:"src/components/DropdownPanel.tsx"}})},Sgbw:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},SkE4:function(e,t,r){var n,o,i,a=r("P2u4"),s=r("nEaP"),c=r("fT8P"),u=r("nHIk"),l=r("tF07"),f=r("MoOl"),p=r("3pC9"),d=r("s3NK"),h=s.WeakMap;if(a){var m=f.state||(f.state=new h),v=m.get,g=m.has,b=m.set;n=function(e,t){if(g.call(m,e))throw new TypeError("Object already initialized");return t.facade=e,b.call(m,e,t),t},o=function(e){return v.call(m,e)||{}},i=function(e){return g.call(m,e)}}else{var y=p("state");d[y]=!0,n=function(e,t){if(l(e,y))throw new TypeError("Object already initialized");return t.facade=e,u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},SmY9:function(e,t,r){var n=r("jmUq"),o=r("9pAD"),i=r("DJGK"),a=r("zrDt"),s=function(e){return function(t,r,s,c){n(r);var u=o(t),l=i(u),f=a(u.length),p=e?f-1:0,d=e?-1:1;if(s<2)for(;;){if(p in l){c=l[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in l&&(c=r(c,l[p],p,u));return c}};e.exports={left:s(!1),right:s(!0)}},Sq4h:function(e,t,r){var n=r("QDPn"),o=r("9aUh");e.exports=function(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=n(e.prototype),i=e.apply(r,t);return o(i)?i:r}}},SyCk:function(e,t,r){var n=r("RqPZ"),o=r("ckUF");e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},T5cu:function(e,t,r){var n=r("5Zwl"),o=r("9aUh");e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},T9Ud:function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},TDIH:function(e,t,r){"use strict";var n=r("ovh1"),o=r("5QbJ"),i=r("uahg"),a=r("Zrjs");function s(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var c=s(r("bRtl"));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=r("tImM"),c.CancelToken=r("OHXD"),c.isCancel=r("e5jZ"),c.all=function(e){return Promise.all(e)},c.spread=r("6s8r"),c.isAxiosError=r("OBDY"),e.exports=c,e.exports.default=c},TE3c:function(e,t){e.exports=function(e,t){return t||(e=e.toLowerCase()),e.charAt(0).toUpperCase()+e.substring(1)},e.exports.words=function(e,t){return t||(e=e.toLowerCase()),e.replace(/(?!^[0-9])(^|[^a-zA-Z\u00C0-\u017F\u0400-\u04FF'])([a-zA-Z\u00C0-\u017F\u0400-\u04FF])/g,(function(e){return e.toUpperCase()}))}},TEbo:function(e,t,r){var n=r("Qn7i");e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},TRAi:function(e,t,r){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var n=window.sessionStorage.getItem(r);return n?JSON.parse(n):0}catch(o){return window&&window.___GATSBY_REACT_ROUTER_SCROLL&&window.___GATSBY_REACT_ROUTER_SCROLL[r]?window.___GATSBY_REACT_ROUTER_SCROLL[r]:0}},t.save=function(e,t,r){var n=this.getStateKey(e,t),o=JSON.stringify(r);try{window.sessionStorage.setItem(n,o)}catch(i){window&&window.___GATSBY_REACT_ROUTER_SCROLL||(window.___GATSBY_REACT_ROUTER_SCROLL={}),window.___GATSBY_REACT_ROUTER_SCROLL[n]=JSON.parse(o)}},t.getStateKey=function(e,t){var r="@@scroll|"+e.pathname;return null==t?r:r+"|"+t},e}();t.SessionStorage=n},TSPQ:function(e,t,r){var n=r("s3t7"),o=r("T9Ud");e.exports=function(e){return o(e)&&"[object WeakMap]"==n(e)}},TUkA:function(e,t,r){"use strict";t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var n=r("Gkb8"),o=r("2PKq"),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(o);var a="aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw".split("|"),s="0123456789".split(""),c="0123456789abcdefghijklmnopqrstuvwxyz".split(""),u=[" ","\f","\r","\t","\v"," "," ","᠎"],l=[],f=function(e){return new n.CharacterState(e)},p=f(),d=f(o.NUM),h=f(o.DOMAIN),m=f(),v=f(o.WS);p.on("@",f(o.AT)).on(".",f(o.DOT)).on("+",f(o.PLUS)).on("#",f(o.POUND)).on("?",f(o.QUERY)).on("/",f(o.SLASH)).on("_",f(o.UNDERSCORE)).on(":",f(o.COLON)).on("{",f(o.OPENBRACE)).on("[",f(o.OPENBRACKET)).on("<",f(o.OPENANGLEBRACKET)).on("(",f(o.OPENPAREN)).on("}",f(o.CLOSEBRACE)).on("]",f(o.CLOSEBRACKET)).on(">",f(o.CLOSEANGLEBRACKET)).on(")",f(o.CLOSEPAREN)).on("&",f(o.AMPERSAND)).on([",",";","!",'"',"'"],f(o.PUNCTUATION)),p.on("\n",f(o.NL)).on(u,v),v.on(u,v);for(var g=0;g=0&&u++,s++,o++;if(!(u<0)){o-=u,s-=u;var l=c.emit();n.push(new l(e.substr(o-s,s)))}}return n},t.start=R},TsNJ:function(e,t){e.exports=function(e){return function(t){return e(t)}}},"U+o8":function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.PickerPropTypes=t.EmojiPropTypes=void 0;var o=n(r("W0B4")),i={data:o.default.object.isRequired,onOver:o.default.func,onLeave:o.default.func,onClick:o.default.func,fallback:o.default.func,backgroundImageFn:o.default.func,native:o.default.bool,forceSize:o.default.bool,tooltip:o.default.bool,useButton:o.default.bool,skin:o.default.oneOf([1,2,3,4,5,6]),sheetSize:o.default.oneOf([16,20,32,64]),sheetColumns:o.default.number,sheetRows:o.default.number,set:o.default.oneOf(["apple","google","twitter","facebook"]),size:o.default.number.isRequired,emoji:o.default.oneOfType([o.default.string,o.default.object]).isRequired};t.EmojiPropTypes=i;var a={onClick:o.default.func,onSelect:o.default.func,onSkinChange:o.default.func,perLine:o.default.number,emojiSize:o.default.number,i18n:o.default.object,style:o.default.object,title:o.default.string,emoji:o.default.string,color:o.default.string,set:i.set,skin:i.skin,native:o.default.bool,backgroundImageFn:i.backgroundImageFn,sheetSize:i.sheetSize,emojisToShowFilter:o.default.func,showPreview:o.default.bool,showSkinTones:o.default.bool,emojiTooltip:i.tooltip,useButton:i.useButton,theme:o.default.oneOf(["auto","light","dark"]),include:o.default.arrayOf(o.default.string),exclude:o.default.arrayOf(o.default.string),recent:o.default.arrayOf(o.default.string),autoFocus:o.default.bool,enableFrequentEmojiSort:o.default.bool,custom:o.default.arrayOf(o.default.shape({name:o.default.string.isRequired,short_names:o.default.arrayOf(o.default.string).isRequired,emoticons:o.default.arrayOf(o.default.string),keywords:o.default.arrayOf(o.default.string),imageUrl:o.default.string,spriteUrl:o.default.string,sheet_x:o.default.number,sheet_y:o.default.number,size:o.default.number,sheetColumns:o.default.number,sheetRows:o.default.number})),skinEmoji:o.default.string,notFound:o.default.func,notFoundEmoji:o.default.string,icons:o.default.object};t.PickerPropTypes=a},UAPb:function(e,t,r){"use strict";t.__esModule=!0,t.createTokenClass=function(){return function(e){e&&(this.v=e)}}},UBk5:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));r("x3Br");var n=r("mXGw"),o=r.n(n),i=r("u8FO"),a=r.n(i),s=r("mG8t"),c=r("wphe"),u=r.n(c),l=r("aD51");u()(s),function(e){var t=e.scanner.TOKENS,r=e.parser.TOKENS.Base,n=e.parser.start;function o(e){this.v=e}e.inherits(r,o,{type:"hashtag",isLink:!0});var i=n.jump(t.POUND),a=new e.parser.State(o);i.on(t.DOMAIN,a),i.on(t.UNDERSCORE,a),i.on(t.TLD,a),i.on(t.LOCALHOST,a),a.on(t.UNDERSCORE,i)}(s);var f=function(e){var t=e.type,r=e.word,n=e.parentClass,i=e.value,a=e.clickCallback,s=void 0===a?function(){}:a;return Object(l.c)(o.a.Fragment,null,!r.startsWith(i)&&r.slice(0,r.indexOf(i)),Object(l.c)("a",{onClick:function(){return s(i.substring(1))},className:n+"__"+t},i),!r.endsWith(i)&&r.slice(r.indexOf(i)+i.length))},p=function(e,t,r,n){if(!e)return Object(l.c)(o.a.Fragment,null);var i=e.split(/\r\n|\r|\n/).map((function(e,o){return e.split(" ").map((function(e,i){return function(e,t,r,n,o){var i=s.find(e)[0];if(!i)return e;var c=i.type,u=i.value,p=i.href;return n&&"mention"===c?Object(l.c)(f,{key:t,type:c,value:u,word:e,clickCallback:n,parentClass:r}):o&&"hashtag"===c?Object(l.c)(f,{key:t,type:c,value:u,word:e,clickCallback:o,parentClass:r}):"email"===c||"url"===c?Object(l.c)("a",{href:encodeURI(p),className:r+"__link",target:"blank","data-testid":"renderWord-hyperlink",rel:"nofollow noreferrer noopener",key:t},"email"===c?u:a()(u.replace(/(http(s?):\/\/)?(www\.)?/,""),{length:33})):e}(e,"item-"+o+"-"+i,t,r,n)})).reduce((function(e,t){return e.length?[e," ",t]:[t]}),[])})).reduce((function(e,t){return e.length?[e,"\n",t]:[t]}),[]);return Object(l.c)(o.a.Fragment,null,i)};void 0!==p&&p&&p===Object(p)&&Object.isExtensible(p)&&!p.hasOwnProperty("__filemeta")&&Object.defineProperty(p,"__filemeta",{configurable:!0,value:{name:"textRenderer",filename:"src/utils/textRenderer.tsx"}})},UCma:function(e,t,r){"use strict";var n=r("vODl"),o=function(e){this._state=-1,this._value=null,this._defer=[],i(this,e)};o.prototype.then=function(e,t){var r=new o,n={promise:r,onFulfilled:e,onRejected:t};return-1===this._state?this._defer.push(n):a(this,n),r},o.prototype.catch=function(e){return this.then(null,e)};var i=function(e,t){if("function"==typeof t){var r=0,n=function(t){0==r++&&l(e,t)};try{t((function(t){0==r++&&s(e,t)}),n)}catch(o){n(o)}}},a=function(e,t){var r=e._state,o=e._value,i=t.promise,a=[t.onFulfilled,t.onRejected][r];if("function"!=typeof a)return(0,[s,l][r])(i,o);n((function(){try{s(i,a(o))}catch(e){l(i,e)}}))},s=function(e,t){if(e===t)return l(e,new TypeError("Recursive promise chain detected"));var r;try{r=c(t)}catch(n){return l(e,n)}if(!r)return u(e,t);i(e,(function(e,n){r.call(t,e,n)}))},c=function(e){var t=typeof e,r=("object"===t||"function"===t)&&e&&e.then;return"function"==typeof r?r:null},u=function(e,t){f(e,0,t)},l=function(e,t){f(e,1,t)},f=function(e,t,r){var n=e._defer,o=0;if(e._state=t,e._value=r,e._defer=null,0!==n.length)for(;o>(-2*i&6)):0)o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(o);return s};function i(e){var t=e.replace(/-/g,"+").replace(/_/g,"/");switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Illegal base64url string!"}try{return function(e){return decodeURIComponent(o(e).replace(/(.)/g,(function(e,t){var r=t.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r})))}(t)}catch(e){return o(t)}}function a(e){this.message=e}a.prototype=new Error,a.prototype.name="InvalidTokenError",t.default=function(e,t){if("string"!=typeof e)throw new a("Invalid token specified");var r=!0===(t=t||{}).header?0:1;try{return JSON.parse(i(e.split(".")[r]))}catch(e){throw new a("Invalid token specified: "+e.message)}}},URdw:function(e,t,r){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"hi",weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),months:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),ordinal:function(e){return e},formats:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"}};return e.locale(t,null,!0),t}(r("jTUD"))},UVdV:function(e,t,r){var n=r("lUv3"),o=r("nEaP"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},UgeB:function(e,t,r){var n=r("GI0s"),o=r("T9Ud");e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},Uhub:function(e,t,r){"use strict";t.__esModule=!0,t.URL=t.TEXT=t.NL=t.EMAIL=t.MAILTOEMAIL=t.Base=void 0;var n=r("UAPb"),o=r("xwaA"),i=r("2PKq");function a(e){return e instanceof i.DOMAIN||e instanceof i.TLD}var s=(0,n.createTokenClass)();s.prototype={type:"token",isLink:!1,toString:function(){for(var e=[],t=0;t0&&void 0!==arguments[0]?arguments[0]:"http";return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var c=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"email",isLink:!0}),u=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"email",isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),l=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"text"}),f=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"nl"}),p=(0,o.inherits)(s,(0,n.createTokenClass)(),{type:"url",isLink:!0,toHref:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"http",t=!1,r=!1,n=this.v,o=[],s=0;n[s]instanceof i.PROTOCOL;)t=!0,o.push(n[s].toString().toLowerCase()),s++;for(;n[s]instanceof i.SLASH;)r=!0,o.push(n[s].toString()),s++;for(;a(n[s]);)o.push(n[s].toString().toLowerCase()),s++;for(;so?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var i=Array(o);++n0)return s[s.length-1];if(e&&e.location.pathname===o)return a?decodeURI(a.slice(1)):[0,0];return!0}var C=function(e){function t(t){var r;return(r=e.call(this,t)||this).announcementRef=s.a.createRef(),r}Object(o.a)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){var r=this;requestAnimationFrame((function(){var e="new page at "+r.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var n="Navigated to "+e;r.announcementRef.current&&(r.announcementRef.current.innerText!==n&&(r.announcementRef.current.innerText=n))}))},r.render=function(){return Object(_.c)("div",Object(n.a)({},b,{ref:this.announcementRef}))},t}(s.a.Component),A=function(e,t){var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)},T=function(e){function t(t){var r;return r=e.call(this,t)||this,k(t.location,null),r}Object(o.a)(t,e);var r=t.prototype;return r.componentDidMount=function(){E(this.props.location,null)},r.shouldComponentUpdate=function(e){return!!A(e.location,this.props.location)&&(k(this.props.location,e.location),!0)},r.componentDidUpdate=function(e){A(e.location,this.props.location)&&E(this.props.location,e.location)},r.render=function(){return Object(_.c)(s.a.Fragment,null,this.props.children,Object(_.c)(C,{location:location}))},t}(s.a.Component),R=r("IOVJ"),D=r("NsGk"),L=r.n(D),N=r("HGLW");function I(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function F(e){for(var t=1;t0&&r("NSX3");var e=function(e){return Object(_.c)(l.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},Object(_.c)(R.a,e))},t=s.a.createContext({}),a=function(e){function r(){return e.apply(this,arguments)||this}return Object(o.a)(r,e),r.prototype.render=function(){var e=this.props.children;return Object(_.c)(l.Location,null,(function(r){var n=r.location;return Object(_.c)(q,{location:n},(function(r){var n=r.pageResources,o=r.location,i=Object(m.getStaticQueryResults)();return Object(_.c)(h.b.Provider,{value:i},Object(_.c)(t.Provider,{value:{pageResources:n,location:o}},e))}))}))},r}(s.a.Component),c=function(r){function i(){return r.apply(this,arguments)||this}return Object(o.a)(i,r),i.prototype.render=function(){var r=this;return Object(_.c)(t.Consumer,null,(function(t){var o=t.pageResources,i=t.location;return Object(_.c)(T,{location:i},Object(_.c)(f.ScrollContext,{location:i,shouldUpdateScroll:S},Object(_.c)(l.Router,{basepath:"/react-activity-feed",location:i,id:"gatsby-focus-wrapper"},Object(_.c)(e,Object(n.a)({path:"/404.html"===o.page.path?Object(U.a)(i.pathname,"/react-activity-feed"):encodeURI(o.page.matchPath||o.page.path)},r.props,{location:i,pageResources:o},o.json)))))}))},i}(s.a.Component),p=window,v=p.pagePath,g=p.location;v&&"/react-activity-feed"+v!==g.pathname&&!(B.findMatchPath(Object(U.a)(g.pathname,"/react-activity-feed"))||"/404.html"===v||v.match(/^\/404\/?$/)||v.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&Object(l.navigate)("/react-activity-feed"+v+g.search+g.hash,{replace:!0}),m.publicLoader.loadPage(g.pathname).then((function(e){if(!e||e.status===m.PageResourceStatus.Error)throw new Error("page resources for "+g.pathname+" not found. Not rendering React");window.___webpackCompilationHash=e.page.webpackCompilationHash;var t=Object(i.apiRunner)("wrapRootElement",{element:Object(_.c)(c,null)},Object(_.c)(c,null),(function(e){return{element:e.result}})).pop(),r=function(){return Object(_.c)(a,null,t)},n=Object(i.apiRunner)("replaceHydrateFunction",void 0,u.a.hydrate)[0];d()((function(){n(Object(_.c)(r,null),"undefined"!=typeof window?document.getElementById("___gatsby"):void 0,(function(){Object(i.apiRunner)("onInitialClientRender")}))}))}))}))},UzdM:function(e,t,r){var n=r("j6ZD");e.exports=function(e){return e?(e=n(e))===1/0||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}},"V+BL":function(e,t,r){var n=r("X30S"),o=r("DAq4"),i=r("2CTe"),a=r("wH0I");e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},V2ZB:function(e,t,r){var n=r("F3Ab"),o=r("Dh2Y");e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,c=t.length;++s0&&0===(b-=1)&&l.show(t),r.props.shouldFocusAfterRender&&(r.props.shouldReturnFocusAfterClose?(c.returnFocus(r.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),r.props.onAfterClose&&r.props.onAfterClose(),h.default.deregister(r)},r.open=function(){r.beforeOpen(),r.state.afterOpen&&r.state.beforeClose?(clearTimeout(r.closeTimer),r.setState({beforeClose:!1})):(r.props.shouldFocusAfterRender&&(c.setupScopedFocus(r.node),c.markForFocusLater()),r.setState({isOpen:!0},(function(){r.setState({afterOpen:!0}),r.props.isOpen&&r.props.onAfterOpen&&r.props.onAfterOpen({overlayEl:r.overlay,contentEl:r.content})})))},r.close=function(){r.props.closeTimeoutMS>0?r.closeWithTimeout():r.closeWithoutTimeout()},r.focusContent=function(){return r.content&&!r.contentHasFocus()&&r.content.focus({preventScroll:!0})},r.closeWithTimeout=function(){var e=Date.now()+r.props.closeTimeoutMS;r.setState({beforeClose:!0,closesAt:e},(function(){r.closeTimer=setTimeout(r.closeWithoutTimeout,r.state.closesAt-Date.now())}))},r.closeWithoutTimeout=function(){r.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},r.afterClose)},r.handleKeyDown=function(e){9===e.keyCode&&(0,u.default)(r.content,e),r.props.shouldCloseOnEsc&&27===e.keyCode&&(e.stopPropagation(),r.requestClose(e))},r.handleOverlayOnClick=function(e){null===r.shouldClose&&(r.shouldClose=!0),r.shouldClose&&r.props.shouldCloseOnOverlayClick&&(r.ownerHandlesClose()?r.requestClose(e):r.focusContent()),r.shouldClose=null},r.handleContentOnMouseUp=function(){r.shouldClose=!1},r.handleOverlayOnMouseDown=function(e){r.props.shouldCloseOnOverlayClick||e.target!=r.overlay||e.preventDefault()},r.handleContentOnClick=function(){r.shouldClose=!1},r.handleContentOnMouseDown=function(){r.shouldClose=!1},r.requestClose=function(e){return r.ownerHandlesClose()&&r.props.onRequestClose(e)},r.ownerHandlesClose=function(){return r.props.onRequestClose},r.shouldBeClosed=function(){return!r.state.isOpen&&!r.state.beforeClose},r.contentHasFocus=function(){return document.activeElement===r.content||r.content.contains(document.activeElement)},r.buildClassName=function(e,t){var n="object"===(void 0===t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},i=n.base;return r.state.afterOpen&&(i=i+" "+n.afterOpen),r.state.beforeClose&&(i=i+" "+n.beforeClose),"string"==typeof t&&t?i+" "+t:i},r.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(r,n){return r[e+"-"+n]=t[n],r}),{})},r.state={afterOpen:!1,beforeClose:!1},r.shouldClose=null,r.moveFromContentToOverlay=null,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,r=e.ariaHideApp,n=e.htmlOpenClassName,o=e.bodyOpenClassName;o&&f.add(document.body,o),n&&f.add(document.getElementsByTagName("html")[0],n),r&&(b+=1,l.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,r=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,s=r?{}:i.content,c=o?{}:i.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:n({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},l=n({id:t,ref:this.setContentRef,style:n({},s,this.props.style.content),className:this.buildClassName("content",r),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),f=this.props.contentElement(l,a);return this.props.overlayElement(u,f)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(d.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(d.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default},W9fh:function(e,t,r){var n=r("fT8P");e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},"WEz/":function(e,t,r){var n=r("eTd+");e.exports=function(e,t){if(null==e)return{};var r,o,i=n(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},"WMT/":function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=t||r<0||v&&n>=g},b=function(t){return s.current=null,m&&c.current?e(t):(c.current=u.current=null,l.current)},y=function e(){var n=Date.now();if(o(n))return b(n);if(p.current){var s=n-i.current,c=n-a.current,u=t-s,l=v?Math.min(u,g-c):u;r(e,l)}},w=function(){for(var f=[],d=0;d1&&Object(z.c)("ol",{className:"raf-status-update-form__url-list"},_.availableOg.map((function(e){var t=e.url,r=e.title;return Object(z.c)("li",{onClick:function(){return _.setActiveOg(t)},key:t,className:"raf-status-update-form__url-list-item"+(t===_.ogActiveUrl?" raf-status-update-form__url-list-item--active":"")},Object(z.c)(U.c,{style:{width:"0.75em",verticalAlign:"-0.125em"}})," ",void 0!==r?r:t)}))),_.images.order.length>0&&Object(z.c)(a.f,{imageUploads:_.images.order.map((function(e){return _.images.data[e]})),handleRemove:_.removeImage,handleRetry:function(e){return _.uploadImage(e,_.images.data[e])},handleFiles:_.uploadNewFiles}),_.files.order.length>0&&Object(z.c)(a.b,{uploads:_.files.order.map((function(e){return _.files.data[e]})),handleRemove:_.removeFile,handleRetry:function(e){return _.uploadFile(e,_.files.data[e])},handleFiles:_.uploadNewFiles})),Object(z.c)(T.c,null,Object(z.c)("div",{style:{display:"flex",alignItems:"center"}},Object(z.c)("div",{style:{flex:1}},Object(z.c)("div",{style:{marginRight:"32px",display:"inline-block"}},Object(z.c)(a.g,{resetOnChange:!0,handleFiles:_.uploadNewFiles,multiple:!0})),Object(z.c)("div",{style:{marginRight:"32px",display:"inline-block"}},Object(z.c)(a.c,{handleFiles:_.uploadNewFiles,multiple:!0})),Object(z.c)(M.a,{onSelect:_.onSelectEmoji,emojiData:l,i18n:f}),d),Object(z.c)(F.a,{type:"submit",buttonStyle:"primary",loading:_.submitting,disabled:!_.canSubmit()},w("Post")))))))}"undefined"!=typeof StatusUpdateFormProps&&StatusUpdateFormProps&&StatusUpdateFormProps===Object(StatusUpdateFormProps)&&Object.isExtensible(StatusUpdateFormProps)&&!StatusUpdateFormProps.hasOwnProperty("__filemeta")&&Object.defineProperty(StatusUpdateFormProps,"__filemeta",{configurable:!0,value:{name:"StatusUpdateFormProps",filename:"src/components/StatusUpdateForm/StatusUpdateForm.tsx"}}),void 0!==B&&B&&B===Object(B)&&Object.isExtensible(B)&&!B.hasOwnProperty("__filemeta")&&Object.defineProperty(B,"__filemeta",{configurable:!0,value:{name:"StatusUpdateForm",filename:"src/components/StatusUpdateForm/StatusUpdateForm.tsx"}})},WRuO:function(e,t,r){var n=r("RW/s"),o=r("e1Ej"),i=r("zEvu"),a=r("Chmn"),s=r("AJMQ"),c=r("kCQp");function u(e){var t=this.__data__=new n(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},WYPT:function(e,t,r){var n=r("JpX9");function o(e,t,r){var i=n(e,8,void 0,void 0,void 0,void 0,void 0,t=r?void 0:t);return i.placeholder=o.placeholder,i}o.placeholder={},e.exports=o},Wbzz:function(e,t,r){"use strict";r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return u}));var n=r("mXGw"),o=r.n(n),i=r("SDHo"),a=r.n(i);r.d(t,"a",(function(){return a.a}));r("5LHb"),r("lw3w");var s=r("emEt"),c=(r("aD51"),s.default.enqueue,o.a.createContext({}));var u=function(e){var t;o.a.useContext;var r=o.a.useContext(c);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},WenO:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("Sgbw")),i=n(r("AcCc")),a=n(r("Mj04")),s=n(r("D1KR")),c=n(r("YrpG")),u=n(r("ti3h")),l=n(r("mXGw")),f=r("cZH0"),p=n(r("v5HE")),d=r("s/V/"),h=0,m=function(e){function t(e){var r;return(0,o.default)(this,t),(r=(0,a.default)(this,(0,s.default)(t).call(this,e))).state={icon:f.search.search,isSearching:!1,id:++h},r.data=e.data,r.emojiIndex=new p.default(r.data),r.setRef=r.setRef.bind((0,c.default)(r)),r.clear=r.clear.bind((0,c.default)(r)),r.handleKeyUp=r.handleKeyUp.bind((0,c.default)(r)),r.handleChange=(0,d.throttleIdleTask)(r.handleChange.bind((0,c.default)(r))),r}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.input&&this.input.value&&this.search(this.input.value)}},{key:"search",value:function(e){""==e?this.setState({icon:f.search.search,isSearching:!1}):this.setState({icon:f.search.delete,isSearching:!0}),this.props.onSearch(this.emojiIndex.search(e,{emojisToShowFilter:this.props.emojisToShowFilter,maxResults:this.props.maxResults,include:this.props.include,exclude:this.props.exclude,custom:this.props.custom}))}},{key:"clear",value:function(){""!=this.input.value&&(this.input.value="",this.input.focus(),this.search(""))}},{key:"handleChange",value:function(){this.input&&this.search(this.input.value)}},{key:"handleKeyUp",value:function(e){13===e.keyCode&&this.clear()}},{key:"setRef",value:function(e){this.input=e}},{key:"render",value:function(){var e=this.props,t=e.i18n,r=e.autoFocus,n=this.state,o=n.icon,i=n.isSearching,a=n.id,s="emoji-mart-search-".concat(a);return l.default.createElement("section",{className:"emoji-mart-search","aria-label":t.search},l.default.createElement("input",{id:s,ref:this.setRef,type:"search",onChange:this.handleChange,placeholder:t.search,autoFocus:r}),l.default.createElement("label",{className:"emoji-mart-sr-only",htmlFor:s},t.search),l.default.createElement("button",{className:"emoji-mart-search-icon",onClick:this.clear,onKeyUp:this.handleKeyUp,"aria-label":t.clear,disabled:!i},o()))}}]),t}(l.default.PureComponent);t.default=m,m.defaultProps={onSearch:function(){},maxResults:75,emojisToShowFilter:null,autoFocus:!1}},WjHG:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("wlos"),a=r("/asK"),s=r("aD51");"undefined"!=typeof LabelFunction&&LabelFunction&&LabelFunction===Object(LabelFunction)&&Object.isExtensible(LabelFunction)&&!LabelFunction.hasOwnProperty("__filemeta")&&Object.defineProperty(LabelFunction,"__filemeta",{configurable:!0,value:{name:"LabelFunction",filename:"src/components/NewActivitiesNotification.tsx"}}),"undefined"!=typeof NewActivitiesNotificationProps&&NewActivitiesNotificationProps&&NewActivitiesNotificationProps===Object(NewActivitiesNotificationProps)&&Object.isExtensible(NewActivitiesNotificationProps)&&!NewActivitiesNotificationProps.hasOwnProperty("__filemeta")&&Object.defineProperty(NewActivitiesNotificationProps,"__filemeta",{configurable:!0,value:{name:"NewActivitiesNotificationProps",filename:"src/components/NewActivitiesNotification.tsx"}});var c=function(e,t){return"You have "+e+" new "+t},u=function(e){var t=e.adds,r=void 0===t?[]:t,n=e.deletes,u=void 0===n?[]:n,l=e.labelPlural,f=e.labelSingle,p=e.onClick,d=e.labelFunction,h=e.className,m=e.style,v=Object(a.b)().t,g=(null!=d?d:function(e){var t=e.addCount,r=e.labelPlural,n=e.labelSingle;return t?t>1?r?c(t,r):v("You have {{ notificationCount }} new notifications",{notificationCount:t}):n?c(1,n):v("You have 1 new notification"):null})({addCount:r.length,deleteCount:u.length,count:r.length+u.length,labelPlural:l,labelSingle:f});return g?Object(s.c)("button",{className:o()("raf-new-activities-notification",h),type:"button",onClick:p,style:m},Object(s.c)(i.a,null,g)):null};void 0!==u&&u&&u===Object(u)&&Object.isExtensible(u)&&!u.hasOwnProperty("__filemeta")&&Object.defineProperty(u,"__filemeta",{configurable:!0,value:{name:"NewActivitiesNotification",filename:"src/components/NewActivitiesNotification.tsx"}})},WjON:function(e,t,r){var n=r("zcvR");e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},WmI9:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("6kP9"),i=r("oW2I"),a=r("pGZ+"),s=r("mXGw");t.default={Playground:n.c,Props:n.d,LoadingIndicator:o.h,InfiniteScroll:i.a,resolveAfter:a.e,StatefulComponent:a.a,React:s}},WmJE:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("KV5O"),a=r("aD51");"undefined"!=typeof TimeHeaderProps&&TimeHeaderProps&&TimeHeaderProps===Object(TimeHeaderProps)&&Object.isExtensible(TimeHeaderProps)&&!TimeHeaderProps.hasOwnProperty("__filemeta")&&Object.defineProperty(TimeHeaderProps,"__filemeta",{configurable:!0,value:{name:"TimeHeaderProps",filename:"src/components/TimeHeader.tsx"}});var s=function(e){var t=e.children,r=e.className,n=e.style;return Object(a.c)("div",{className:o()("raf-time-header",r),style:n},Object(a.c)(i.a,{size:14},t),Object(a.c)("div",{className:"raf-time-header__line"}))};void 0!==s&&s&&s===Object(s)&&Object.isExtensible(s)&&!s.hasOwnProperty("__filemeta")&&Object.defineProperty(s,"__filemeta",{configurable:!0,value:{name:"TimeHeader",filename:"src/components/TimeHeader.tsx"}})},WmRU:function(e,t,r){e.exports=function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(e){return e+(1===e?"er":"")}};return e.locale(t,null,!0),t}(r("jTUD"))},"X/0h":function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},X30S:function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},X3Hh:function(e,t,r){var n=r("QDPn"),o=r("iZmY");function i(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=void 0}i.prototype=n(o.prototype),i.prototype.constructor=i,e.exports=i},XA32:function(e,t){e.exports=function(e){return e.placeholder}},XHox:function(e,t,r){var n=r("+dZb")("head",r("9lU+"),r("hgXp"));n.placeholder=r("IOY3"),e.exports=n},XXCu:function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},Xd03:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("sIZM"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,UserBar:o.a,React:i}},XqWt:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.StreamApiError=t.MissingSchemaError=t.SiteError=t.FeedError=void 0;var o=n(r("Sgbw")),i=n(r("YrpG")),a=n(r("ti3h")),s=n(r("Mj04")),c=n(r("D1KR")),u=n(r("R1KO")),l=n(r("g2JX"));function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=(0,c.default)(e);if(t){var o=(0,c.default)(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return(0,s.default)(this,r)}}var p="function"==typeof Error.captureStackTrace,d=!!(new Error).stack,h=function(e){(0,a.default)(r,e);var t=f(r);function r(e){var n;return(0,o.default)(this,r),n=t.call(this,e),(0,l.default)((0,i.default)(n),"message",void 0),n.message=e,p?Error.captureStackTrace((0,i.default)(n),r.constructor):n.stack=d?(new Error).stack:"",n}return r}((0,u.default)(Error)),m=function(e){(0,a.default)(r,e);var t=f(r);function r(){return(0,o.default)(this,r),t.apply(this,arguments)}return r}(h);t.FeedError=m;var v=function(e){(0,a.default)(r,e);var t=f(r);function r(){return(0,o.default)(this,r),t.apply(this,arguments)}return r}(h);t.SiteError=v;var g=function(e){(0,a.default)(r,e);var t=f(r);function r(){return(0,o.default)(this,r),t.apply(this,arguments)}return r}(h);t.MissingSchemaError=g;var b=function(e){(0,a.default)(r,e);var t=f(r);function r(e,n,a){var s;return(0,o.default)(this,r),s=t.call(this,e),(0,l.default)((0,i.default)(s),"error",void 0),(0,l.default)((0,i.default)(s),"response",void 0),s.error=n,s.response=a,s}return r}(h);t.StreamApiError=b},XrU5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return[].slice.call(e.querySelectorAll("*"),0).filter(a)};var n=/input|select|textarea|button|object/;function o(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;var r=window.getComputedStyle(e);return t?"visible"!==r.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0:"none"==r.getPropertyValue("display")}function i(e,t){var r=e.nodeName.toLowerCase();return(n.test(r)&&!e.disabled||"a"===r&&e.href||t)&&function(e){for(var t=e;t&&t!==document.body;){if(o(t))return!1;t=t.parentNode}return!0}(e)}function a(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&i(e,!r)}e.exports=t.default},YIRF:function(e,t){e.exports=function(e){return e.split("")}},"YLt+":function(e){e.exports=JSON.parse("[]")},YODn:function(e,t,r){var n=r("JpX9"),o=r("yF7r"),i=o((function(e,t){return n(e,256,void 0,void 0,void 0,t)}));e.exports=i},YTJx:function(e){e.exports=JSON.parse('{"1 comment":"1 comentario","1 like":"1 me gusta","1 repost":"1 repost","Activity":"Actividad","Animals & Nature":"Animales y naturaleza","Choose your default skin tone":"Elige tu tono de piel por defecto","Clear":"Claro","Custom":"Personalizado","Details":"Detalles","Emoji categories":"Categorías de emoji","Flags":"Banderas","Food & Drink":"Alimentación y Bebidas","Frequently Used":"Usado frecuentemente","Getting website data...":"Obtención de datos del sitio web...","Load activities":"Cargar actividades","Load more":"Cargar más","New Post":"Nuevo post","No data to display...":"No hay datos que mostrar...","No emoji found":"No se ha encontrado ningún emoji","Objects":"Objetos","Pick your emoji":"Elige un emoji","Post":"Post","Search":"Buscar","Search Results":"Resultados de la búsqueda","Smileys & Emotion":"Sonrisas y emociones","Start Typing...":"Empieza a escribir...","Symbols":"Símbolos","Travel & Places":"Viajes y lugares","Type your post...":"Escribe tu post...","You have 1 new notification":"Tienes 1 notificación nueva","You have {{ notificationCount }} new notifications":"Tienes {{ notificationCount }} nuevas notificaciones","{{ actorName }} and 1 other commented on your {{ activityVerb }}":"{{ actorName }} y 1 han comentado tu {{ activityVerb }}","{{ actorName }} and 1 other followed you":"{{ actorName }} y 1 más te han seguido","{{ actorName }} and 1 other liked your {{ activityVerb }}":"{{ actorName }} y 1 más te les ha gustado tu {{ activityVerb }}","{{ actorName }} and 1 other reposted your {{ activityVerb }}":"{{ actorName }} y 1 más te han reposteado tu {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}":"{{ actorName }} y {{ countOtherActors }} más te han comentado en {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others followed you":"{{ actorName }} y {{ countOtherActors }} más te han seguido","{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}":"{{ actorName }} y {{ countOtherActors }} más les ha gustado tu {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}":"{{ actorName }} y {{ countOtherActors }} más han reposteado tu { activityVerb }}","{{ actorName }} commented on your {{ activityVerb }}":"{{ actorName }} ha comentado en tu {{ activityVerb }}","{{ actorName }} followed you":"{{ actorName }} te ha seguido","{{ actorName }} liked your {{ activityVerb }}":"{{ actorName }} le gusta tu {{ activityVerb }}","{{ actorName }} reposted your {{ activityVerb }}":"{{ actorName }} ha reposteado tu {{ activityVerb }}","{{ countComments }} comments":"{{ countComments }} comentarios","{{ countLikes }} likes":"{{ countLikes }} me gusta","{{ countReposts }} reposts":"{{ countReposts }} reposteos"}')},Ya6V:function(e,t,r){var n=r("nEaP"),o=r("nHIk");e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},YaJL:function(e,t,r){var n=r("LSEb"),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},Yeux:function(e,t,r){},YrpG:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},YwWt:function(e,t,r){e.exports=function(){"use strict";return function(e,t,r){var n=function(e){return e&&(e.indexOf?e:e.s)},o=function(e,t,r,o,i){var a=e.name?e:e.$locale(),s=n(a[t]),c=n(a[r]),u=s||c.map((function(e){return e.substr(0,o)}));if(!i)return u;var l=a.weekStart;return u.map((function(e,t){return u[(t+(l||0))%7]}))},i=function(){return r.Ls[r.locale()]},a=function(e,t){return e.formats[t]||function(e){return e.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,r){return t||r.slice(1)}))}(e.formats[t.toUpperCase()])};t.prototype.localeData=function(){return function(){var e=this;return{months:function(t){return t?t.format("MMMM"):o(e,"months")},monthsShort:function(t){return t?t.format("MMM"):o(e,"monthsShort","months",3)},firstDayOfWeek:function(){return e.$locale().weekStart||0},weekdays:function(t){return t?t.format("dddd"):o(e,"weekdays")},weekdaysMin:function(t){return t?t.format("dd"):o(e,"weekdaysMin","weekdays",2)},weekdaysShort:function(t){return t?t.format("ddd"):o(e,"weekdaysShort","weekdays",3)},longDateFormat:function(t){return a(e.$locale(),t)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}}.bind(this)()},r.localeData=function(){var e=i();return{firstDayOfWeek:function(){return e.weekStart||0},weekdays:function(){return r.weekdays()},weekdaysShort:function(){return r.weekdaysShort()},weekdaysMin:function(){return r.weekdaysMin()},months:function(){return r.months()},monthsShort:function(){return r.monthsShort()},longDateFormat:function(t){return a(e,t)},meridiem:e.meridiem,ordinal:e.ordinal}},r.months=function(){return o(i(),"months")},r.monthsShort=function(){return o(i(),"monthsShort","months",3)},r.weekdays=function(e){return o(i(),"weekdays",null,null,e)},r.weekdaysShort=function(e){return o(i(),"weekdaysShort","weekdays",3,e)},r.weekdaysMin=function(e){return o(i(),"weekdaysMin","weekdays",2,e)}}}()},YxGO:function(e,t,r){var n=r("fSIz"),o=r("nEaP");e.exports="process"==n(o.process)},Yzgk:function(e,t,r){var n=r("RqPZ"),o=r("zc1V"),i=r("9aUh"),a=r("bE7W"),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,l=c.toString,f=u.hasOwnProperty,p=RegExp("^"+l.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:s).test(a(e))}},"Z/TY":function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.StreamFeed=void 0;var o=n(r("Sgbw")),i=n(r("AcCc")),a=n(r("g2JX")),s=r("oTdG"),c=r("XqWt"),u=n(r("qMz4"));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};t instanceof s.StreamUser&&(t=t.id),u.default.validateFeedSlug(e),u.default.validateUserId(t);var n={target:"".concat(e,":").concat(t)};return"number"==typeof r.limit&&(n.activity_copy_limit=r.limit),this.client.post({url:"feed/".concat(this.feedUrl,"/following/"),body:n,token:this.token})}},{key:"unfollow",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n={};"boolean"==typeof r.keepHistory&&r.keepHistory&&(n.keep_history="1"),u.default.validateFeedSlug(e),u.default.validateUserId(t);var o="".concat(e,":").concat(t);return this.client.delete({url:"feed/".concat(this.feedUrl,"/following/").concat(o,"/"),qs:n,token:this.token})}},{key:"following",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return e.filter&&(t.filter=e.filter.join(",")),this.client.get({url:"feed/".concat(this.feedUrl,"/following/"),qs:f(f({},e),t),token:this.token})}},{key:"followers",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};return e.filter&&(t.filter=e.filter.join(",")),this.client.get({url:"feed/".concat(this.feedUrl,"/followers/"),qs:f(f({},e),t),token:this.token})}},{key:"followStats",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={followers:this.id,following:this.id};return e.followerSlugs&&e.followerSlugs.length&&(t.followers_slugs=e.followerSlugs.join(",")),e.followingSlugs&&e.followingSlugs.length&&(t.following_slugs=e.followingSlugs.join(",")),this.client.get({url:"stats/follow/",qs:t,token:this.client.getOrCreateToken()||this.token})}},{key:"get",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={};e.mark_read&&e.mark_read.join&&(t.mark_read=e.mark_read.join(",")),e.mark_seen&&e.mark_seen.join&&(t.mark_seen=e.mark_seen.join(",")),this.client.replaceReactionOptions(e);var r=this.client.shouldUseEnrichEndpoint(e)?"enrich/feed/":"feed/";return this.client.get({url:"".concat(r).concat(this.feedUrl,"/"),qs:f(f({},e),t),token:this.token})}},{key:"getActivityDetail",value:function(e,t){return this.get(f({id_lte:e,id_gte:e,limit:1},t||{}))}},{key:"getFayeClient",value:function(){return this.client.getFayeClient()}},{key:"subscribe",value:function(e){if(!this.client.appId)throw new c.SiteError("Missing app id, which is needed to subscribe, use var client = stream.connect(key, secret, appId);");var t=this.getFayeClient().subscribe("/".concat(this.notificationChannel),e);return this.client.subscriptions["/".concat(this.notificationChannel)]={token:this.token,userId:this.notificationChannel,fayeSubscription:t},t}},{key:"unsubscribe",value:function(){var e=this.client.subscriptions["/".concat(this.notificationChannel)];e&&(delete this.client.subscriptions["/".concat(this.notificationChannel)],e.fayeSubscription.cancel())}},{key:"updateActivityToTargets",value:function(e,t,r,n,o){if(!e)throw new Error("Missing `foreign_id` parameter!");if(!t)throw new Error("Missing `time` parameter!");if(!r&&!n&&!o)throw new Error('Requires you to provide at least one parameter for `newTargets`, `addedTargets`, or `removedTargets` - example: `updateActivityToTargets("foreignID:1234", new Date(), [newTargets...], [addedTargets...], [removedTargets...])`');if(r&&(n||o))throw new Error("Can't include add_targets or removedTargets if you're also including newTargets");n&&o&&n.forEach((function(e){if(o.includes(e))throw new Error("Can't have the same feed ID in addedTargets and removedTargets.")}));var i={foreign_id:e,time:t};return r&&(i.new_targets=r),n&&(i.added_targets=n),o&&(i.removed_targets=o),this.client.post({url:"feed_targets/".concat(this.feedUrl,"/activity_to_targets/"),token:this.token,body:i})}}]),e}();t.StreamFeed=p},ZFoC:function(e,t,r){"use strict";r.d(t,"b",(function(){return o.a})),r.d(t,"a",(function(){return we})),r.d(t,"c",(function(){return Ye})),r.d(t,"d",(function(){return Ke})),r.d(t,"e",(function(){return Ze})),r.d(t,"f",(function(){return _e})),r.d(t,"g",(function(){return Pe})),r.d(t,"h",(function(){return Ce})),r.d(t,"i",(function(){return De})),r.d(t,"j",(function(){return ze}));r("x3Br");var n=r("hsa5"),o=r("Wbzz"),i=r("mXGw"),a=r("PbS7"),s=r.n(a),c=r("OoM2"),u=r.n(c),l=r("RhEf"),f=r.n(l),p=r("3GNe"),d=r.n(p),h=r("mwLw"),m=r.n(h),v=r("dYK0"),g=r.n(v),b=r("EqhP"),y=r.n(b);var w=function(){return(w=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function E(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,n=void 0===r?O:r,o=t.stripRegexp,i=void 0===o?x:o,a=t.transform,s=void 0===a?_:a,c=t.delimiter,u=void 0===c?" ":c,l=j(j(e,n,"$1\0$2"),i,"\0"),f=0,p=l.length;"\0"===l.charAt(f);)f++;for(;"\0"===l.charAt(p-1);)p--;return l.slice(f,p).split("\0").map(s).join(u)}(e,w({delimiter:"",transform:k},t))}var P=r("HcYh"),S=r.n(P),C=r("9xxD"),A=r.n(C),T=r("knvM"),R=r.n(T),D=r("GC0P"),L=r.n(D),N=r("G4dw"),I=r.n(N),M=r("eciW"),F=r.n(M);function q(e){var t=new Error(e);return t.source="ulid",t}var U="0123456789ABCDEFGHJKMNPQRSTVWXYZ",z=U.length,B=Math.pow(2,48)-1;function H(e){var t=Math.floor(e()*z);return t===z&&(t=z-1),U.charAt(t)}function V(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>B)throw q("cannot encode time greater than "+B);if(e<0)throw q("time must be positive");if(!1===Number.isInteger(e))throw q("time must be an integer");for(var r=void 0,n="";t>0;t--)n=U.charAt(r=e%z)+n,e=(e-r)/z;return n}function G(e,t){for(var r="";e>0;e--)r=H(t)+r;return r}function Y(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];t||(t="undefined"!=typeof window?window:null);var n=t&&(t.crypto||t.msCrypto);if(n)return function(){var e=new Uint8Array(1);return n.getRandomValues(e),e[0]/255};try{var o=r("DGBo");return function(){return o.randomBytes(1).readUInt8()/255}}catch(i){}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch(i){}return function(){return Math.random()}}throw q("secure crypto unusable, insecure Math.random not allowed")}var W,X=(W||(W=Y()),function(e){return isNaN(e)&&(e=Date.now()),V(e,10)+G(16,W)}),J={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","Ấ":"A","Ắ":"A","Ẳ":"A","Ẵ":"A","Ặ":"A","Æ":"AE","Ầ":"A","Ằ":"A","Ȃ":"A","Ç":"C","Ḉ":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ế":"E","Ḗ":"E","Ề":"E","Ḕ":"E","Ḝ":"E","Ȇ":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ḯ":"I","Ȋ":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","Ố":"O","Ṍ":"O","Ṓ":"O","Ȏ":"O","Ù":"U","Ú":"U","Û":"U","Ü":"U","Ý":"Y","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","ấ":"a","ắ":"a","ẳ":"a","ẵ":"a","ặ":"a","æ":"ae","ầ":"a","ằ":"a","ȃ":"a","ç":"c","ḉ":"c","è":"e","é":"e","ê":"e","ë":"e","ế":"e","ḗ":"e","ề":"e","ḕ":"e","ḝ":"e","ȇ":"e","ì":"i","í":"i","î":"i","ï":"i","ḯ":"i","ȋ":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ố":"o","ṍ":"o","ṓ":"o","ȏ":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","ÿ":"y","Ā":"A","ā":"a","Ă":"A","ă":"a","Ą":"A","ą":"a","Ć":"C","ć":"c","Ĉ":"C","ĉ":"c","Ċ":"C","ċ":"c","Č":"C","č":"c","C̆":"C","c̆":"c","Ď":"D","ď":"d","Đ":"D","đ":"d","Ē":"E","ē":"e","Ĕ":"E","ĕ":"e","Ė":"E","ė":"e","Ę":"E","ę":"e","Ě":"E","ě":"e","Ĝ":"G","Ǵ":"G","ĝ":"g","ǵ":"g","Ğ":"G","ğ":"g","Ġ":"G","ġ":"g","Ģ":"G","ģ":"g","Ĥ":"H","ĥ":"h","Ħ":"H","ħ":"h","Ḫ":"H","ḫ":"h","Ĩ":"I","ĩ":"i","Ī":"I","ī":"i","Ĭ":"I","ĭ":"i","Į":"I","į":"i","İ":"I","ı":"i","IJ":"IJ","ij":"ij","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","Ḱ":"K","ḱ":"k","K̆":"K","k̆":"k","Ĺ":"L","ĺ":"l","Ļ":"L","ļ":"l","Ľ":"L","ľ":"l","Ŀ":"L","ŀ":"l","Ł":"l","ł":"l","Ḿ":"M","ḿ":"m","M̆":"M","m̆":"m","Ń":"N","ń":"n","Ņ":"N","ņ":"n","Ň":"N","ň":"n","ʼn":"n","N̆":"N","n̆":"n","Ō":"O","ō":"o","Ŏ":"O","ŏ":"o","Ő":"O","ő":"o","Œ":"OE","œ":"oe","P̆":"P","p̆":"p","Ŕ":"R","ŕ":"r","Ŗ":"R","ŗ":"r","Ř":"R","ř":"r","R̆":"R","r̆":"r","Ȓ":"R","ȓ":"r","Ś":"S","ś":"s","Ŝ":"S","ŝ":"s","Ş":"S","Ș":"S","ș":"s","ş":"s","Š":"S","š":"s","Ţ":"T","ţ":"t","ț":"t","Ț":"T","Ť":"T","ť":"t","Ŧ":"T","ŧ":"t","T̆":"T","t̆":"t","Ũ":"U","ũ":"u","Ū":"U","ū":"u","Ŭ":"U","ŭ":"u","Ů":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Ȗ":"U","ȗ":"u","V̆":"V","v̆":"v","Ŵ":"W","ŵ":"w","Ẃ":"W","ẃ":"w","X̆":"X","x̆":"x","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Y̆":"Y","y̆":"y","Ź":"Z","ź":"z","Ż":"Z","ż":"z","Ž":"Z","ž":"z","ſ":"s","ƒ":"f","Ơ":"O","ơ":"o","Ư":"U","ư":"u","Ǎ":"A","ǎ":"a","Ǐ":"I","ǐ":"i","Ǒ":"O","ǒ":"o","Ǔ":"U","ǔ":"u","Ǖ":"U","ǖ":"u","Ǘ":"U","ǘ":"u","Ǚ":"U","ǚ":"u","Ǜ":"U","ǜ":"u","Ứ":"U","ứ":"u","Ṹ":"U","ṹ":"u","Ǻ":"A","ǻ":"a","Ǽ":"AE","ǽ":"ae","Ǿ":"O","ǿ":"o","Þ":"TH","þ":"th","Ṕ":"P","ṕ":"p","Ṥ":"S","ṥ":"s","X́":"X","x́":"x","Ѓ":"Г","ѓ":"г","Ќ":"К","ќ":"к","A̋":"A","a̋":"a","E̋":"E","e̋":"e","I̋":"I","i̋":"i","Ǹ":"N","ǹ":"n","Ồ":"O","ồ":"o","Ṑ":"O","ṑ":"o","Ừ":"U","ừ":"u","Ẁ":"W","ẁ":"w","Ỳ":"Y","ỳ":"y","Ȁ":"A","ȁ":"a","Ȅ":"E","ȅ":"e","Ȉ":"I","ȉ":"i","Ȍ":"O","ȍ":"o","Ȑ":"R","ȑ":"r","Ȕ":"U","ȕ":"u","B̌":"B","b̌":"b","Č̣":"C","č̣":"c","Ê̌":"E","ê̌":"e","F̌":"F","f̌":"f","Ǧ":"G","ǧ":"g","Ȟ":"H","ȟ":"h","J̌":"J","ǰ":"j","Ǩ":"K","ǩ":"k","M̌":"M","m̌":"m","P̌":"P","p̌":"p","Q̌":"Q","q̌":"q","Ř̩":"R","ř̩":"r","Ṧ":"S","ṧ":"s","V̌":"V","v̌":"v","W̌":"W","w̌":"w","X̌":"X","x̌":"x","Y̌":"Y","y̌":"y","A̧":"A","a̧":"a","B̧":"B","b̧":"b","Ḑ":"D","ḑ":"d","Ȩ":"E","ȩ":"e","Ɛ̧":"E","ɛ̧":"e","Ḩ":"H","ḩ":"h","I̧":"I","i̧":"i","Ɨ̧":"I","ɨ̧":"i","M̧":"M","m̧":"m","O̧":"O","o̧":"o","Q̧":"Q","q̧":"q","U̧":"U","u̧":"u","X̧":"X","x̧":"x","Z̧":"Z","z̧":"z"},K=Object.keys(J).join("|"),Z=new RegExp(K,"g"),$=new RegExp(K,""),Q=function(e){return e.replace(Z,(function(e){return J[e]}))},ee=Q,te=function(e){return!!e.match($)},re=Q;ee.has=te,ee.remove=re;var ne="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},oe=Object.assign||function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return e;var n=r.keys,o=r.threshold,i=void 0===o?ie.MATCHES:o,a=e.reduce((function(e,o,a){var s=ce(o,n,t,r),c=s.rankedItem,u=s.rank,l=s.keyIndex,f=s.keyThreshold;return u>=(void 0===f?i:f)&&e.push({rankedItem:c,item:o,rank:u,index:a,keyIndex:l}),e}),[]);return a.sort(le).map((function(e){return e.item}))}function ce(e,t,r,n){return t?function(e,t){return t.reduce((function(t,r){var n=function(e,t){"object"===(void 0===t?"undefined":ne(t))&&(t=t.key);var r=void 0;r="function"==typeof t?t(e):-1!==t.indexOf(".")?t.split(".").reduce((function(e,t){return e?e[t]:null}),e):e[t];return null!=r?[].concat(r):null}(e,r);return n&&n.forEach((function(e){t.push({itemValue:e,attributes:pe(r)})})),t}),[])}(e,t).reduce((function(e,t,o){var i=e.rank,a=e.keyIndex,s=e.keyThreshold,c=t.itemValue,u=t.attributes,l=ue(c,r,n),f=u.minRanking,p=u.maxRanking,d=u.threshold;return l=ie.MATCHES?l=f:l>p&&(l=p),l>i&&(i=l,a=o,s=d),{rankedItem:c,rank:i,keyIndex:a,keyThreshold:s}}),{rank:ie.NO_MATCH,keyIndex:-1,keyThreshold:n.threshold}):{rankedItem:e,rank:ue(e,r,n),keyIndex:-1,keyThreshold:n.threshold}}function ue(e,t,r){if(e=fe(e,r),(t=fe(t,r)).length>e.length)return ie.NO_MATCH;if(e===t)return ie.CASE_SENSITIVE_EQUAL;var n,o,i=function(e){var t=e.toLowerCase()!==e,r=e.indexOf("-")>=0,n=e.indexOf("_")>=0;if(!t&&!n&&r)return ae.KEBAB;if(!t&&n&&!r)return ae.SNAKE;if(t&&!r&&!n){return e[0].toUpperCase()===e[0]?ae.PASCAL:ae.CAMEL}return ae.NO_CASE}(e),a=function(e,t,r){var n=e.toLowerCase().indexOf(t.toLowerCase());switch(r){case ae.SNAKE:return"_"===e[n-1];case ae.KEBAB:return"-"===e[n-1];case ae.PASCAL:case ae.CAMEL:return-1!==n&&e[n]===e[n].toUpperCase();default:return!1}}(e,t,i),s=function(e,t,r){var n=null;switch(r){case ae.SNAKE:n="_";break;case ae.KEBAB:n="-";break;case ae.PASCAL:case ae.CAMEL:n=/(?=[A-Z])/;break;default:n=null}var o=e.split(n);return t.toLowerCase().split("").reduce((function(e,t,r){var n=o[r];return e&&n&&n[0].toLowerCase()===t}),!0)}(e,t,i);return(e=e.toLowerCase())===(t=t.toLowerCase())?ie.EQUAL+i:0===e.indexOf(t)?ie.STARTS_WITH+i:-1!==e.indexOf(" "+t)?ie.WORD_STARTS_WITH+i:a?ie.STRING_CASE+i:i>0&&s?ie.STRING_CASE_ACRONYM+i:-1!==e.indexOf(t)?ie.CONTAINS+i:1===t.length?ie.NO_MATCH:-1!==(n=e,o="",n.split(" ").forEach((function(e){e.split("-").forEach((function(e){o+=e.substr(0,1)}))})),o).indexOf(t)?ie.ACRONYM+i:function(e,t){var r=0,n=0;function o(e,t,n){for(var o=n;o-1))return ie.NO_MATCH}return function(e){var n=r/t.length;return ie.MATCHES+n*(1/e)}(n-i)}(e,t)}function le(e,t){var r=e.rankedItem,n=e.rank,o=e.keyIndex,i=t.rankedItem,a=t.rank,s=t.keyIndex;return n===a?o===s?String(r).localeCompare(i):oa?-1:1}function fe(e,t){return e=""+e,t.keepDiacritics||(e=ee(e)),e}function pe(e){return"string"==typeof e&&(e={key:e}),oe({maxRanking:1/0,minRanking:-1/0},e)}se.rankings=ie,se.caseRankings=ae;var de=se,he=r("Egi+"),me=r.n(he);Object.create;Object.create;var ve=r("TE3c"),ge=r.n(ve);"undefined"!=typeof Link&&Link&&Link===Object(Link)&&Object.isExtensible(Link)&&!Link.hasOwnProperty("__filemeta")&&Object.defineProperty(Link,"__filemeta",{configurable:!0,value:{name:"Link",filename:"node_modules/docz/dist/index.esm.js"}});var be={layout:function(e){var t=e.children;return Object(i.createElement)(i.Fragment,null,t)},notFound:function(){return Object(i.createElement)(i.Fragment,null,"Not found")},playground:function(e){var t=e.component,r=e.code;return Object(i.createElement)("div",null,t,Object(i.createElement)("pre",null,r))}},ye=Object(i.createContext)(be),we=function(e){var t=e.components,r=void 0===t?{}:t,n=e.children;return Object(i.createElement)(ye.Provider,{value:Object.assign({},be,r)},n)},_e=function(){return Object(i.useContext)(ye)};var Oe,xe,je,ke,Ee=(Oe={},je=Object(i.createContext)(Oe),ke=new Set,{context:je,set:function(e){return function(e){ke.forEach((function(t){return t(e)}))}(e)},Provider:(xe=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).state=t.props.initial||Oe||{},t}Object(n.a)(t,e),t.getDerivedStateFromProps=function(e,t){return u()(e.initial,t)?null:e.initial};var r=t.prototype;return r.componentDidMount=function(){var e=this;ke.add((function(t){return e.setState(t)}))},r.componentWillUnmount=function(){ke.clear()},r.render=function(){return Object(i.createElement)(je.Provider,{value:this.state},this.props.children)},t}(i.Component),xe.displayName="DoczStateProvider",xe)}),Pe=function(){var e=Object(i.useContext)(Ee.context),t=e.transform,r=e.config,n=e.themeConfig,o=void 0===n?{}:n,a=s()(o,r?r.themeConfig:{}),c=t?t(a):a;return Object.assign({},r,{themeConfig:c})},Se=function(e){var t=e.componentName,r=e.fileName,n=_e(),o=Object(i.useContext)(Ee.context).props,a=o&&o.length>0&&o.find((function(e){return function(e,t){return!![r,"/"+e+".","/"+f()(e)+".","/"+E(e)+"."].find((function(e){return t.key.includes(e)}))}(t,e)})),s=m()("value",a)||[],c=g()(s),u=s.find((function(e){return e.displayName===t})),l=Object(i.useMemo)((function(){return S()({createElement:i.createElement,elements:n})}),[n]);return Object(i.useMemo)((function(){var e=m()("props",u||c);return d()((function(e){var t=m()("description",e);return t?y()("description",l(t).tree,e):e}))(e)}),[l,u||c])},Ce=function(){var e=Object(i.useContext)(Ee.context);return m()("currentEntry.value",e)},Ae=function(e){var t=JSON.parse(e.data),r=t.type,n=t.payload,o=r.startsWith("state.")&&r.split(".")[1];o&&Ee.set((function(e){var t;return Object.assign({},e,((t={})[o]=n,t))}))},Te=function(e){Object(i.useEffect)((function(){if(e){var t=new WebSocket(e);return t.onmessage=Ae,function(){return t.close()}}}),[])};function Re(e,t,r){return et?r?-1:1:0}var De=function(){var e=Object(i.useContext)(Ee.context).entries,t=(void 0===e?[]:e).map((function(e){return e.value}));return A()(t,(function(e,t){return Re(e.name,t.name)}))},Le=function(e){return!e.menu},Ne=function(e,t){return t.filter(function(e){return function(t){return t.menu===e}}(e))},Ie=function(e){var t,r,n=e.filter(Le),o=(t=e,r="menu",Array.from(new Set(t.reduce((function(e,t){var n=m()(r)(t);return n?e.concat([n]):e}),[])))).map(function(e){return function(t){return{name:t,menu:Ne(t,e)}}}(e));return R()("name",o,n)},Me=F()((function e(t){var r=function(e){return"string"==typeof e?{name:e}:e}(t);return Object.assign({},r,{id:r.id||X(),parent:m()("parent",r)||m()("parent",t),menu:Array.isArray(r.menu)?r.menu.map(e):r.menu})}),(function(e){return e.href||e.route?I()("menu",e):e})),Fe=function(e,t){void 0===t&&(t=[]);var r="string"!=typeof e?m()("name",e):e,n=t.findIndex((function(e){return e===r}));return-1!==n?n:1/0},qe=function(e,t){return e.namet.name?1:0},Ue=function e(t,r){var n;return void 0===r&&(r=[]),A()(t,(void 0===(n=r)&&(n=[]),function(e,t){var r=n.map((function(e){return e.name||e}));return Re(Fe(e,r),Fe(t,r))}),qe).map((function(t){if(!t.menu)return t;var n=r.find((function(e){return e.name===t.name})),o=n&&n.menu;return Object.assign({},t,{menu:o?e(t.menu,o):A()(t.menu,qe)})}))},ze=function(e){var t=(e||{}).query,r=void 0===t?"":t,n=Object(i.useContext)(Ee.context),o=n.entries,a=n.config;if(!o)return null;var s,c,u,l,f=o.map((function(e){return e.value})),p=Ie(f),d=Object(i.useMemo)((function(){var t,r,n=function e(t,r){var n=t.map(Me),o=r.map(Me);return R()("name",n,o).map((function(t){if(!t.menu)return t;var r=o.find((function(e){return e.name===t.name})),n=r&&r.menu;return Object.assign({},t,{menu:n?e(t.menu,n):t.menu||r.menu})}))}(p,a.menu),o=Ue(n,a.menu);return t=o,(r=e&&e.filter)?t.filter(r).map((function(e){return e.menu?Object.assign({},e,{menu:e.menu.filter(r)}):e})):t}),[o,a]);return r&&r.length>0?(s=r,c=d.map((function(e){return[e].concat(e.menu||[])})),u=L()(2,c),l=Array.from(new Set(u)),de(l,s,{keys:["name"]})):d},Be=function(e,t){var r=Object(i.useRef)(t);return Object(i.useEffect)((function(){r.current=e})),r.current},He="object"==typeof window,Ve=function(e,t){return{innerHeight:He?window.innerHeight:t,innerWidth:He?window.innerWidth:e,outerHeight:He?window.outerHeight:t,outerWidth:He?window.outerWidth:e}},Ge=function(e,t,r){void 0===e&&(e=300),void 0===t&&(t=1/0),void 0===r&&(r=1/0);var n=Object(i.useState)(Ve(r,r)),o=n[0],a=n[1],s=me()(e,(function(){return a(Ve(r,r))}));return Object(i.useEffect)((function(){return window.addEventListener("resize",s),function(){window.removeEventListener("resize",s)}}),[]),o},Ye=function(e){var t=e.className,r=e.children,n=e.style,o=e.wrapper,a=e.__scope,s=e.__position,c=e.__code,u=e.language,l=e.useScoping,f=_e(),p=f.playground;return p?Object(i.createElement)(p,{components:f,component:r,className:t,style:n,wrapper:o,scope:a,position:s,code:c,language:u,useScoping:l}):null},We=/(?:React\.)?(?:PropTypes\.)?objectOf\((?:React\.)?(?:PropTypes\.)?(\w+)\)/,Xe=function(e){return function e(t){switch(t.name.toLowerCase()){case"instanceof":return"Class("+t.value+")";case"enum":return t.computed?t.value:t.value?t.value.map((function(e){return""+e.value})).join(" │ "):t.raw;case"union":return t.value?t.value.map((function(t){return""+e(t)})).join(" │ "):t.raw;case"array":return t.raw;case"arrayof":return"Array<"+e(t.value)+">";case"custom":if(-1!==t.raw.indexOf("function")||-1!==t.raw.indexOf("=>"))return"Custom(Function)";if(-1!==t.raw.toLowerCase().indexOf("objectof")){var r=t.raw.match(We);return r&&r[1]?"ObjectOf("+ge()(r[1])+")":"ObjectOf"}return"Custom";case"bool":return"Boolean";case"func":return"Function";case"shape":var n=t.value,o={};return Object.keys(n).forEach((function(t){o[t]=e(n[t])})),JSON.stringify(o,null,2);default:return t.name}}(e)},Je=function(e){var t=m()("name",e.flowType||e.type);if(!t)return null;var r=t.startsWith('"')||"enum"===t,n=r?"enum":t,o=m()("type.value",e);return n?r&&"string"==typeof o||!e.flowType&&!r&&!o||e.flowType&&!e.flowType.elements?n:e.flowType?Xe(e.flowType):Xe(e.type):null},Ke=function(e){var t=e.title,r=e.isToggle,n=e.isRaw,o=e.of,a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return"";var r=e;return t&&Object.keys(t).forEach((function(e){r=r.replace(e,t[e])})),r}function b(){return void 0!==e.window?e.window.innerWidth:0}var y=27,w=37,_=39,O=function(t){function r(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),(t=function(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?h(e):t}(this,p(r).call(this,e))).state={isClosing:!e.animationDisabled,shouldAnimate:!1,zoomLevel:0,offsetX:0,offsetY:0,loadErrorStatus:{}},t.outerEl=o.a.createRef(),t.zoomInBtn=o.a.createRef(),t.zoomOutBtn=o.a.createRef(),t.caption=o.a.createRef(),t.closeIfClickInner=t.closeIfClickInner.bind(h(h(t))),t.handleImageDoubleClick=t.handleImageDoubleClick.bind(h(h(t))),t.handleImageMouseWheel=t.handleImageMouseWheel.bind(h(h(t))),t.handleKeyInput=t.handleKeyInput.bind(h(h(t))),t.handleMouseUp=t.handleMouseUp.bind(h(h(t))),t.handleMouseDown=t.handleMouseDown.bind(h(h(t))),t.handleMouseMove=t.handleMouseMove.bind(h(h(t))),t.handleOuterMousewheel=t.handleOuterMousewheel.bind(h(h(t))),t.handleTouchStart=t.handleTouchStart.bind(h(h(t))),t.handleTouchMove=t.handleTouchMove.bind(h(h(t))),t.handleTouchEnd=t.handleTouchEnd.bind(h(h(t))),t.handlePointerEvent=t.handlePointerEvent.bind(h(h(t))),t.handleCaptionMousewheel=t.handleCaptionMousewheel.bind(h(h(t))),t.handleWindowResize=t.handleWindowResize.bind(h(h(t))),t.handleZoomInButtonClick=t.handleZoomInButtonClick.bind(h(h(t))),t.handleZoomOutButtonClick=t.handleZoomOutButtonClick.bind(h(h(t))),t.requestClose=t.requestClose.bind(h(h(t))),t.requestMoveNext=t.requestMoveNext.bind(h(h(t))),t.requestMovePrev=t.requestMovePrev.bind(h(h(t))),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(r,t),c(r,null,[{key:"isTargetMatchImage",value:function(e){return e&&/ril-image-current/.test(e.className)}},{key:"parseMouseEvent",value:function(e){return{id:"mouse",source:1,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parseTouchPointer",value:function(e){return{id:e.identifier,source:2,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"parsePointerEvent",value:function(e){return{id:e.pointerId,source:3,x:parseInt(e.clientX,10),y:parseInt(e.clientY,10)}}},{key:"getTransform",value:function(e){var t=e.x,r=void 0===t?0:t,n=e.y,o=void 0===n?0:n,i=e.zoom,a=void 0===i?1:i,s=e.width,c=e.targetWidth,u=r,l=b();s>l&&(u+=(l-s)/2);var f=a*(c/s);return{transform:"translate3d(".concat(u,"px,").concat(o,"px,0) scale3d(").concat(f,",").concat(f,",1)")}}}]),c(r,[{key:"componentWillMount",value:function(){this.timeouts=[],this.currentAction=0,this.eventsSource=0,this.pointerList=[],this.preventInnerClose=!1,this.preventInnerCloseTimeout=null,this.keyPressed=!1,this.imageCache={},this.lastKeyDownTime=0,this.resizeTimeout=null,this.wheelActionTimeout=null,this.resetScrollTimeout=null,this.scrollX=0,this.scrollY=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,this.pinchTouchList=null,this.pinchDistance=0,this.keyCounter=0,this.moveRequested=!1,this.props.animationDisabled||this.setState({isClosing:!1})}},{key:"componentDidMount",value:function(){var t=this;this.windowContext=function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.window.self,n=r.document.referrer;if(r===e.window.top||!n)return r;var o=function(e){return e.match(/(.*\/\/.*?)(\/|$)/)[1]};return o(r.location.href)===o(n)?t(r.parent):r}(),this.listeners={resize:this.handleWindowResize,mouseup:this.handleMouseUp,touchend:this.handleTouchEnd,touchcancel:this.handleTouchEnd,pointerdown:this.handlePointerEvent,pointermove:this.handlePointerEvent,pointerup:this.handlePointerEvent,pointercancel:this.handlePointerEvent},Object.keys(this.listeners).forEach((function(e){t.windowContext.addEventListener(e,t.listeners[e])})),this.loadAllImages()}},{key:"componentWillReceiveProps",value:function(e){var t=this,r=!1,n={},o={};this.getSrcTypes().forEach((function(i){t.props[i.name]!==e[i.name]&&(r=!0,n[t.props[i.name]]=!0,o[e[i.name]]=!0)})),(r||this.moveRequested)&&(Object.keys(n).forEach((function(e){!(e in o)&&e in t.imageCache&&(t.imageCache[e].loaded=!1)})),this.moveRequested=!1,this.loadAllImages(e))}},{key:"shouldComponentUpdate",value:function(){return!this.moveRequested}},{key:"componentWillUnmount",value:function(){var e=this;this.didUnmount=!0,Object.keys(this.listeners).forEach((function(t){e.windowContext.removeEventListener(t,e.listeners[t])})),this.timeouts.forEach((function(e){return clearTimeout(e)}))}},{key:"setTimeout",value:function(e){function t(t,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var r=this,n=setTimeout((function(){r.timeouts=r.timeouts.filter((function(e){return e!==n})),e()}),t);return this.timeouts.push(n),n}))},{key:"setPreventInnerClose",value:function(){var e=this;this.preventInnerCloseTimeout&&this.clearTimeout(this.preventInnerCloseTimeout),this.preventInnerClose=!0,this.preventInnerCloseTimeout=this.setTimeout((function(){e.preventInnerClose=!1,e.preventInnerCloseTimeout=null}),100)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],r={};if(this.isImageLoaded(t))r=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else{if(!this.isImageLoaded(this.props["".concat(e,"Thumbnail")]))return null;t=this.props["".concat(e,"Thumbnail")],r=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0)}return{src:t,height:this.imageCache[t].height,width:this.imageCache[t].width,targetHeight:r.height,targetWidth:r.width}}},{key:"getFitSizes",value:function(e,t,r){var n=this.getLightboxRect(),o=n.height-2*this.props.imagePadding,i=n.width-2*this.props.imagePadding;return r||(o=Math.min(o,t),i=Math.min(i,e)),i/o>e/t?{width:e*o/t,height:o}:{width:i,height:t*i/e}}},{key:"getMaxOffsets",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel,t=this.getBestImageForType("mainSrc");if(null===t)return{maxX:0,minX:0,maxY:0,minY:0};var r=this.getLightboxRect(),n=this.getZoomMultiplier(e),o=0,i=0;return{maxX:o=n*t.width-r.width<0?(r.width-n*t.width)/2:(n*t.width-r.width)/2,maxY:i=n*t.height-r.height<0?(r.height-n*t.height)/2:(n*t.height-r.height)/2,minX:-1*o,minY:-1*i}}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i".concat(this.keyCounter)},{name:"mainSrcThumbnail",keyEnding:"t".concat(this.keyCounter)},{name:"nextSrc",keyEnding:"i".concat(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t".concat(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i".concat(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t".concat(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel;return Math.pow(1.007,e)}},{key:"getLightboxRect",value:function(){return this.outerEl.current?this.outerEl.current.getBoundingClientRect():{width:b(),height:void 0!==e.window?e.window.innerHeight:0,top:0,right:0,bottom:0,left:0}}},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){this.timeouts=this.timeouts.filter((function(t){return t!==e})),clearTimeout(e)}))},{key:"changeZoom",value:function(e,t,r){if(this.props.enableZoom){var n=Math.max(0,Math.min(300,e));if(n!==this.state.zoomLevel)if(0!==n){var o=this.getBestImageForType("mainSrc");if(null!==o){var i=this.getZoomMultiplier(),a=this.getZoomMultiplier(n),s=this.getLightboxRect(),c=void 0!==t?t-s.left:s.width/2,u=void 0!==r?r-s.top:s.height/2,l=(s.width-o.width*i)/2,f=(s.height-o.height*i)/2,p=c-(c-(l-this.state.offsetX))/i*a,d=u-(u-(f-this.state.offsetY))/i*a,h=(s.width-o.width*a)/2-p,m=(s.height-o.height*a)/2-d;if(3!==this.currentAction){var v=this.getMaxOffsets();this.state.zoomLevel>n&&(h=Math.max(v.minX,Math.min(v.maxX,h)),m=Math.max(v.minY,Math.min(v.maxY,m)))}this.setState({zoomLevel:n,offsetX:h,offsetY:m})}}else this.setState({zoomLevel:n,offsetX:0,offsetY:0})}}},{key:"closeIfClickInner",value:function(e){!this.preventInnerClose&&e.target.className.search(/\bril-inner\b/)>-1&&this.requestClose(e)}},{key:"handleKeyInput",value:function(e){if(e.stopPropagation(),!this.isAnimating())if("keyup"!==e.type){var t=e.which||e.keyCode,r=new Date;if(!(r.getTime()-this.lastKeyDownTime=200||e.deltaX>=100?(this.requestMoveNext(e),r=500,this.scrollX=0):(this.scrollX<=-200||e.deltaX<=-100)&&(this.requestMovePrev(e),r=500,this.scrollX=0)}0!==r&&(this.wheelActionTimeout=this.setTimeout((function(){t.wheelActionTimeout=null}),r))}}},{key:"handleImageMouseWheel",value:function(e){if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<1)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>0?this.changeZoom(0,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+100,e.clientX,e.clientY)}},{key:"shouldHandleEvent",value:function(e){if(this.eventsSource===e)return!0;if(0===this.eventsSource)return this.eventsSource=e,!0;switch(e){case 1:return!1;case 2:return this.eventsSource=2,this.filterPointersBySource(),!0;case 3:return 1===this.eventsSource&&(this.eventsSource=3,this.filterPointersBySource(),!0);default:return!1}}},{key:"addPointer",value:function(e){this.pointerList.push(e)}},{key:"removePointer",value:function(e){this.pointerList=this.pointerList.filter((function(t){return t.id!==e.id}))}},{key:"filterPointersBySource",value:function(){var e=this;this.pointerList=this.pointerList.filter((function(t){return t.source===e.eventsSource}))}},{key:"handleMouseDown",value:function(e){this.shouldHandleEvent(1)&&r.isTargetMatchImage(e.target)&&(this.addPointer(r.parseMouseEvent(e)),this.multiPointerStart(e))}},{key:"handleMouseMove",value:function(e){this.shouldHandleEvent(1)&&this.multiPointerMove(e,[r.parseMouseEvent(e)])}},{key:"handleMouseUp",value:function(e){this.shouldHandleEvent(1)&&(this.removePointer(r.parseMouseEvent(e)),this.multiPointerEnd(e))}},{key:"handlePointerEvent",value:function(e){if(this.shouldHandleEvent(3))switch(e.type){case"pointerdown":r.isTargetMatchImage(e.target)&&(this.addPointer(r.parsePointerEvent(e)),this.multiPointerStart(e));break;case"pointermove":this.multiPointerMove(e,[r.parsePointerEvent(e)]);break;case"pointerup":case"pointercancel":this.removePointer(r.parsePointerEvent(e)),this.multiPointerEnd(e)}}},{key:"handleTouchStart",value:function(e){var t=this;this.shouldHandleEvent(2)&&r.isTargetMatchImage(e.target)&&([].forEach.call(e.changedTouches,(function(e){return t.addPointer(r.parseTouchPointer(e))})),this.multiPointerStart(e))}},{key:"handleTouchMove",value:function(e){this.shouldHandleEvent(2)&&this.multiPointerMove(e,[].map.call(e.changedTouches,(function(e){return r.parseTouchPointer(e)})))}},{key:"handleTouchEnd",value:function(e){var t=this;this.shouldHandleEvent(2)&&([].map.call(e.changedTouches,(function(e){return t.removePointer(r.parseTouchPointer(e))})),this.multiPointerEnd(e))}},{key:"decideMoveOrSwipe",value:function(e){this.state.zoomLevel<=0?this.handleSwipeStart(e):this.handleMoveStart(e)}},{key:"multiPointerStart",value:function(e){switch(this.handleEnd(null),this.pointerList.length){case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"multiPointerMove",value:function(e,t){switch(this.currentAction){case 1:e.preventDefault(),this.handleMove(t[0]);break;case 2:e.preventDefault(),this.handleSwipe(t[0]);break;case 3:e.preventDefault(),this.handlePinch(t)}}},{key:"multiPointerEnd",value:function(e){switch(0!==this.currentAction&&(this.setPreventInnerClose(),this.handleEnd(e)),this.pointerList.length){case 0:this.eventsSource=0;break;case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"handleEnd",value:function(e){switch(this.currentAction){case 1:this.handleMoveEnd(e);break;case 2:this.handleSwipeEnd(e);break;case 3:this.handlePinchEnd(e)}}},{key:"handleMoveStart",value:function(e){var t=e.x,r=e.y;this.props.enableZoom&&(this.currentAction=1,this.moveStartX=t,this.moveStartY=r,this.moveStartOffsetX=this.state.offsetX,this.moveStartOffsetY=this.state.offsetY)}},{key:"handleMove",value:function(e){var t=e.x,r=e.y,n=this.moveStartX-t+this.moveStartOffsetX,o=this.moveStartY-r+this.moveStartOffsetY;this.state.offsetX===n&&this.state.offsetY===o||this.setState({offsetX:n,offsetY:o})}},{key:"handleMoveEnd",value:function(){var e=this;this.currentAction=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0;var t=this.getMaxOffsets(),r=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),n=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));r===this.state.offsetX&&n===this.state.offsetY||(this.setState({offsetX:r,offsetY:n,shouldAnimate:!0}),this.setTimeout((function(){e.setState({shouldAnimate:!1})}),this.props.animationDuration))}},{key:"handleSwipeStart",value:function(e){var t=e.x,r=e.y;this.currentAction=2,this.swipeStartX=t,this.swipeStartY=r,this.swipeEndX=t,this.swipeEndY=r}},{key:"handleSwipe",value:function(e){var t=e.x,r=e.y;this.swipeEndX=t,this.swipeEndY=r}},{key:"handleSwipeEnd",value:function(e){var t=this.swipeEndX-this.swipeStartX,r=Math.abs(t),n=Math.abs(this.swipeEndY-this.swipeStartY);if(this.currentAction=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,!(!e||this.isAnimating()||r<1.5*n)){if(r<200)if(r0&&this.props.prevSrc?(e.preventDefault(),this.requestMovePrev()):t<0&&this.props.nextSrc&&(e.preventDefault(),this.requestMoveNext())}}},{key:"calculatePinchDistance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=m(e,2),r=t[0],n=t[1];return Math.sqrt(Math.pow(r.x-n.x,2)+Math.pow(r.y-n.y,2))}},{key:"calculatePinchCenter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=m(e,2),r=t[0],n=t[1];return{x:r.x-(r.x-n.x)/2,y:r.y-(r.y-n.y)/2}}},{key:"handlePinchStart",value:function(e){this.props.enableZoom&&(this.currentAction=3,this.pinchTouchList=e.map((function(e){return{id:e.id,x:e.x,y:e.y}})),this.pinchDistance=this.calculatePinchDistance())}},{key:"handlePinch",value:function(e){this.pinchTouchList=this.pinchTouchList.map((function(t){for(var r=0;r0&&t+o>=n||e.deltaY<0&&o<=0)&&e.preventDefault()}}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(t,r,n){var o=this;if(this.isImageLoaded(r))this.setTimeout((function(){n()}),1);else{var i=new e.Image;this.props.imageCrossOrigin&&(i.crossOrigin=this.props.imageCrossOrigin),i.onerror=function(e){o.props.onImageLoadError(r,t,e),o.setState((function(e){return{loadErrorStatus:f({},e.loadErrorStatus,u({},t,!0))}})),n(e)},i.onload=function(){o.props.onImageLoad(r,t,i),o.imageCache[r]={loaded:!0,width:i.width,height:i.height},n()},i.src=r}}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,r=function(t,r){return function(n){n||e.props[t]!==r||e.didUnmount||e.forceUpdate()}};this.getSrcTypes().forEach((function(n){var o=n.name;t[o]&&e.state.loadErrorStatus[o]&&e.setState((function(e){return{loadErrorStatus:f({},e.loadErrorStatus,u({},o,!1))}})),t[o]&&!e.isImageLoaded(t[o])&&e.loadImage(o,t[o],r(o,t[o]))}))}},{key:"requestClose",value:function(e){var t=this,r=function(){return t.props.onCloseRequest(e)};this.props.animationDisabled||"keydown"===e.type&&!this.props.animationOnKeyInput?r():(this.setState({isClosing:!0}),this.setTimeout(r,this.props.animationDuration))}},{key:"requestMove",value:function(e,t){var r=this,n={zoomLevel:0,offsetX:0,offsetY:0};this.props.animationDisabled||this.keyPressed&&!this.props.animationOnKeyInput||(n.shouldAnimate=!0,this.setTimeout((function(){return r.setState({shouldAnimate:!1})}),this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,"prev"===e?(this.keyCounter-=1,this.setState(n),this.props.onMovePrevRequest(t)):(this.keyCounter+=1,this.setState(n),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var t=this,n=this.props,i=n.animationDisabled,s=n.animationDuration,c=n.clickOutsideToClose,u=n.discourageDownloads,p=n.enableZoom,d=n.imageTitle,h=n.nextSrc,m=n.prevSrc,b=n.toolbarButtons,y=n.reactModalStyle,w=n.onAfterOpen,_=n.imageCrossOrigin,O=n.reactModalProps,x=this.state,j=x.zoomLevel,k=x.offsetX,E=x.offsetY,P=x.isClosing,S=x.loadErrorStatus,C=this.getLightboxRect(),A={};!i&&this.isAnimating()&&(A=f({},A,{transition:"transform ".concat(s,"ms")}));var T={};this.getSrcTypes().forEach((function(e){var t=e.name,r=e.keyEnding;T[t]=r}));var R=[],D=function(e,n,i){if(t.props[e]){var a=t.getBestImageForType(e),s=f({},A,r.getTransform(f({},i,a)));j>0&&(s.cursor="move");var c;if(null===a&&(c=S,Object.keys(c).some((function(e){return c[e]}))))R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-errored"),style:s,key:t.props[e]+T[e]},o.a.createElement("div",{className:"ril__errorContainer"},t.props.imageLoadErrorMessage)));else if(null!==a){var p=a.src;u?(s.backgroundImage="url('".concat(p,"')"),R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril__imageDiscourager"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,style:s,key:p+T[e]},o.a.createElement("div",{className:"ril-download-blocker ril__downloadBlocker"})))):R.push(o.a.createElement("img",l({},_?{crossOrigin:_}:{},{className:"".concat(n," ril__image"),onDoubleClick:t.handleImageDoubleClick,onWheel:t.handleImageMouseWheel,onDragStart:function(e){return e.preventDefault()},style:s,src:p,key:p+T[e],alt:"string"==typeof d?d:g("Image"),draggable:!1})))}else{var h=o.a.createElement("div",{className:"ril-loading-circle ril__loadingCircle ril__loadingContainer__icon"},v(new Array(12)).map((function(e,t){return o.a.createElement("div",{key:t,className:"ril-loading-circle-point ril__loadingCirclePoint"})})));R.push(o.a.createElement("div",{className:"".concat(n," ril__image ril-not-loaded"),style:s,key:t.props[e]+T[e]},o.a.createElement("div",{className:"ril__loadingContainer"},h)))}}},L=this.getZoomMultiplier();D("nextSrc","ril-image-next ril__imageNext",{x:C.width}),D("mainSrc","ril-image-current",{x:-1*k,y:-1*E,zoom:L}),D("prevSrc","ril-image-prev ril__imagePrev",{x:-1*C.width});var N={overlay:f({zIndex:1e3,backgroundColor:"transparent"},y.overlay),content:f({backgroundColor:"transparent",overflow:"hidden",border:"none",borderRadius:0,padding:0,top:0,left:0,right:0,bottom:0},y.content)};return o.a.createElement(a.a,l({isOpen:!0,onRequestClose:c?this.requestClose:void 0,onAfterOpen:function(){t.outerEl.current&&t.outerEl.current.focus(),w()},style:N,contentLabel:g("Lightbox"),appElement:void 0!==e.window?e.window.document.body:void 0},O),o.a.createElement("div",{className:"ril-outer ril__outer ril__outerAnimating ".concat(this.props.wrapperClassName," ").concat(P?"ril-closing ril__outerClosing":""),style:{transition:"opacity ".concat(s,"ms"),animationDuration:"".concat(s,"ms"),animationDirection:P?"normal":"reverse"},ref:this.outerEl,onWheel:this.handleOuterMousewheel,onMouseMove:this.handleMouseMove,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,tabIndex:"-1",onKeyDown:this.handleKeyInput,onKeyUp:this.handleKeyInput},o.a.createElement("div",{className:"ril-inner ril__inner",onClick:c?this.closeIfClickInner:void 0},R),m&&o.a.createElement("button",{type:"button",className:"ril-prev-button ril__navButtons ril__navButtonPrev",key:"prev","aria-label":this.props.prevLabel,onClick:this.isAnimating()?void 0:this.requestMovePrev}),h&&o.a.createElement("button",{type:"button",className:"ril-next-button ril__navButtons ril__navButtonNext",key:"next","aria-label":this.props.nextLabel,onClick:this.isAnimating()?void 0:this.requestMoveNext}),o.a.createElement("div",{className:"ril-toolbar ril__toolbar"},o.a.createElement("ul",{className:"ril-toolbar-left ril__toolbarSide ril__toolbarLeftSide"},o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("span",{className:"ril-toolbar__item__child ril__toolbarItemChild"},d))),o.a.createElement("ul",{className:"ril-toolbar-right ril__toolbarSide ril__toolbarRightSide"},b&&b.map((function(e,t){return o.a.createElement("li",{key:"button_".concat(t+1),className:"ril-toolbar__item ril__toolbarItem"},e)})),p&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-in","aria-label":this.props.zoomInLabel,className:["ril-zoom-in","ril__toolbarItemChild","ril__builtinButton","ril__zoomInButton"].concat(v(300===j?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomInBtn,disabled:this.isAnimating()||300===j,onClick:this.isAnimating()||300===j?void 0:this.handleZoomInButtonClick})),p&&o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-out","aria-label":this.props.zoomOutLabel,className:["ril-zoom-out","ril__toolbarItemChild","ril__builtinButton","ril__zoomOutButton"].concat(v(0===j?["ril__builtinButtonDisabled"]:[])).join(" "),ref:this.zoomOutBtn,disabled:this.isAnimating()||0===j,onClick:this.isAnimating()||0===j?void 0:this.handleZoomOutButtonClick})),o.a.createElement("li",{className:"ril-toolbar__item ril__toolbarItem"},o.a.createElement("button",{type:"button",key:"close","aria-label":this.props.closeLabel,className:"ril-close ril-toolbar__item__child ril__toolbarItemChild ril__builtinButton ril__closeButton",onClick:this.isAnimating()?void 0:this.requestClose})))),this.props.imageCaption&&o.a.createElement("div",{onWheel:this.handleCaptionMousewheel,onMouseDown:function(e){return e.stopPropagation()},className:"ril-caption ril__caption",ref:this.caption},o.a.createElement("div",{className:"ril-caption-content ril__captionContent"},this.props.imageCaption))))}}]),r}(n.Component);O.defaultProps={imageTitle:null,imageCaption:null,toolbarButtons:null,reactModalProps:{},animationDisabled:!1,animationDuration:300,animationOnKeyInput:!1,clickOutsideToClose:!0,closeLabel:"Close lightbox",discourageDownloads:!1,enableZoom:!0,imagePadding:10,imageCrossOrigin:null,keyRepeatKeyupBonus:40,keyRepeatLimit:180,mainSrcThumbnail:null,nextLabel:"Next image",nextSrc:null,nextSrcThumbnail:null,onAfterOpen:function(){},onImageLoadError:function(){},onImageLoad:function(){},onMoveNextRequest:function(){},onMovePrevRequest:function(){},prevLabel:"Previous image",prevSrc:null,prevSrcThumbnail:null,reactModalStyle:{},wrapperClassName:"",zoomInLabel:"Zoom in",zoomOutLabel:"Zoom out",imageLoadErrorMessage:"This image failed to load"},t.a=O}).call(this,r("pCvA"))},ZjZ4:function(e,t,r){var n=r("IqJI");e.exports=function(e){return(null==e?0:e.length)?n(e,1):[]}},ZkUl:function(e,t,r){"use strict";r.r(t),r.d(t,"startsWith",(function(){return i})),r.d(t,"pick",(function(){return a})),r.d(t,"match",(function(){return s})),r.d(t,"resolve",(function(){return c})),r.d(t,"insertParams",(function(){return u})),r.d(t,"validateRedirect",(function(){return l})),r.d(t,"shallowCompare",(function(){return y}));var n=r("+Ltg"),o=r.n(n),i=function(e,t){return e.substr(0,t.length)===t},a=function(e,t){for(var r=void 0,n=void 0,i=t.split("?")[0],a=v(i),s=""===a[0],c=m(e),u=0,l=c.length;ut.score?-1:e.index-t.index}))},v=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},g=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n0})))&&r.length>0?"?"+r.join("&"):"")},b=["uri","path"],y=function(e,t){var r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((function(r){return t.hasOwnProperty(r)&&e[r]===t[r]}))}},Zrjs:function(e,t,r){"use strict";var n=r("ovh1");e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function c(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function u(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=c(void 0,t[e]))})),n.forEach(i,u),n.forEach(a,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=c(void 0,e[o])):r[o]=c(void 0,t[o])})),n.forEach(s,(function(n){n in t?r[n]=c(e[n],t[n]):n in e&&(r[n]=c(void 0,e[n]))}));var l=o.concat(i).concat(a).concat(s),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,u),r}},Zs3A:function(e,t){var r="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",n="["+r+"]",o="\\d+",i="[\\u2700-\\u27bf]",a="[a-z\\xdf-\\xf6\\xf8-\\xff]",s="[^\\ud800-\\udfff"+r+o+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",c="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="[A-Z\\xc0-\\xd6\\xd8-\\xde]",f="(?:"+a+"|"+s+")",p="(?:"+l+"|"+s+")",d="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",h="[\\ufe0e\\ufe0f]?"+d+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",c,u].join("|")+")[\\ufe0e\\ufe0f]?"+d+")*"),m="(?:"+[i,c,u].join("|")+")"+h,v=RegExp([l+"?"+a+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[n,l,"$"].join("|")+")",p+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[n,l+f,"$"].join("|")+")",l+"?"+f+"+(?:['’](?:d|ll|m|re|s|t|ve))?",l+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",o,m].join("|"),"g");e.exports=function(e){return e.match(v)||[]}},ZxGu:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("mXGw"),o=r.n(n),i=r("8Jek"),a=r.n(i),s=r("6kP9"),c=r("Pdo2"),u=r("aD51");function l(e){var t,r=e.activity,i=r.object,l=r.verb,f=r.attachments,p=r.actor,d=e.className,h=e.style,m=null!==(t=null==f?void 0:f.images)&&void 0!==t?t:[],v=Object(n.useMemo)((function(){return Object(c.i)(p)}),[p]);return"repost"!==l&&"post"!==l&&"comment"!==l?null:Object(u.c)("div",{className:a()("raf-attached-activity",d),style:h},m.length?Object(u.c)("div",{className:"raf-attached-activity__images"},m.slice(0,5).map((function(e,t){return Object(u.c)(s.i,{image:e,size:50,key:"image-"+t})}))):Object(u.c)(o.a.Fragment,null,Object(u.c)("p",{className:"raf-attached-activity__author"},Object(u.c)("strong",null,v.data.name)),Object(u.c)("p",{className:"raf-attached-activity__content"},i)))}"undefined"!=typeof AttachedActivityProps&&AttachedActivityProps&&AttachedActivityProps===Object(AttachedActivityProps)&&Object.isExtensible(AttachedActivityProps)&&!AttachedActivityProps.hasOwnProperty("__filemeta")&&Object.defineProperty(AttachedActivityProps,"__filemeta",{configurable:!0,value:{name:"AttachedActivityProps",filename:"src/components/AttachedActivity.tsx"}}),void 0!==l&&l&&l===Object(l)&&Object.isExtensible(l)&&!l.hasOwnProperty("__filemeta")&&Object.defineProperty(l,"__filemeta",{configurable:!0,value:{name:"AttachedActivity",filename:"src/components/AttachedActivity.tsx"}})},a72Q:function(e,t,r){var n=r("jmUq");e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},a7YA:function(e,t){e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},aBIM:function(e,t,r){var n=r("zcvR");e.exports=function(e){return n(this,e).get(e)}},aCmY:function(e,t){e.exports=function(e,t,r,n){for(var o=e.length,i=r+(n?1:-1);n?i--:++in&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0c.charCodeAt(8))break;case 115:a=a.replace(c,"-webkit-"+c)+";"+a;break;case 207:case 102:a=a.replace(c,"-webkit-"+(102s.charCodeAt(0)&&(s=s.trim()),s=[s],0d)&&(q=(B=B.replace(" ",":")).length),0=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)},h={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},m=r("M8e6"),v=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,b=function(e){return 45===e.charCodeAt(1)},y=function(e){return null!=e&&"boolean"!=typeof e},w=Object(m.a)((function(e){return b(e)?e:e.replace(v,"-$&").toLowerCase()})),_=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,(function(e,t,r){return x={name:t,styles:r,next:x},t}))}return 1===h[e]||b(e)||"number"!=typeof t||0===t?t:t+"px"};function O(e,t,r,n){if(null==r)return"";if(void 0!==r.__emotion_styles)return r;switch(typeof r){case"boolean":return"";case"object":if(1===r.anim)return x={name:r.name,styles:r.styles,next:x},r.name;if(void 0!==r.styles){var o=r.next;if(void 0!==o)for(;void 0!==o;)x={name:o.name,styles:o.styles,next:x},o=o.next;return r.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o=200&&e<300}};c.headers={common:{Accept:"application/json, text/plain, */*"}},n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(i)})),e.exports=c}).call(this,r("5IsQ"))},bafw:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("mXGw"),o=r("8Jek"),i=r.n(o),a=r("6kP9"),s=r("pcv9"),c=r("aD51"),u=function(e){var t=e.children,r=e.className,o=e.style,u=Object(n.useState)(!1),l=u[0],f=u[1],p=Object(n.useRef)(null);return Object(s.a)(p,(function(){return f(!1)}),l),Object(c.c)("div",{className:i()("raf-dropdown",r),style:o},Object(c.c)(a.d,{onClick:function(){return f((function(e){return!e}))}},Object(c.c)("svg",{className:"raf-dropdown__button",width:"12",height:"8",viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg"},Object(c.c)("path",{d:"M1.41 0L6 4.77 10.59 0 12 1.469l-6 6.25-6-6.25z",fill:"#A0B2B8",fillRule:"evenodd"}))),l&&Object(c.c)("div",{className:"raf-dropdown__box",ref:p},t))};void 0!==u&&u&&u===Object(u)&&Object.isExtensible(u)&&!u.hasOwnProperty("__filemeta")&&Object.defineProperty(u,"__filemeta",{configurable:!0,value:{name:"Dropdown",filename:"src/components/Dropdown.tsx"}})},bim0:function(e,t,r){var n=r("yoW1"),o=r("B4Jh"),i=r("yqAG");e.exports=function(e,t){return i(o(e,t,n),e+"")}},byEl:function(e,t,r){"use strict";r.d(t,"a",(function(){return p}));r("mXGw");var n=r("qqks"),o=r("u8vn"),i=r("ZxGu"),a=r("bafw"),s=r("wlos"),c=r("Pdo2"),u=r("/asK"),l=r("aD51");"undefined"!=typeof NotificationProps&&NotificationProps&&NotificationProps===Object(NotificationProps)&&Object.isExtensible(NotificationProps)&&!NotificationProps.hasOwnProperty("__filemeta")&&Object.defineProperty(NotificationProps,"__filemeta",{configurable:!0,value:{name:"NotificationProps",filename:"src/components/Notification.tsx"}});var f=function(e){return e.map((function(e){return Object(c.i)(e.actor)}))},p=function(e){var t=e.activityGroup,r=e.onMarkAsRead,p=e.onClickUser,d=e.onClickNotification,h=e.className,m=e.style,v=Object(u.b)(),g=v.t,b=v.tDateTimeParser,y=t.activities,w=y[0],_=y.slice(1);if("string"==typeof w.object)return null;var O=w.object,x=Object(c.i)(w.actor),j=function(e,t,r,n,o){if(1===t)switch(r){case"like":return e("{{ actorName }} liked your {{ activityVerb }}",{actorName:n,activityVerb:o});case"repost":return e("{{ actorName }} reposted your {{ activityVerb }}",{actorName:n,activityVerb:o});case"follow":return e("{{ actorName }} followed you",{actorName:n});case"comment":return e("{{ actorName }} commented on your {{ activityVerb }}",{actorName:n,activityVerb:o});default:return console.warn("No notification styling found for your verb, please create your own custom Notification group."),""}if(t>1&&t<3)switch(r){case"like":return e("{{ actorName }} and 1 other liked your {{ activityVerb }}",{actorName:n,activityVerb:o});case"repost":return e("{{ actorName }} and 1 other reposted your {{ activityVerb }}",{actorName:n,activityVerb:o});case"follow":return e("{{ actorName }} and 1 other followed you",{actorName:n});case"comment":return e("{{ actorName }} and 1 other commented on your {{ activityVerb }}",{actorName:n,activityVerb:o});default:return console.warn("No notification styling found for your verb, please create your own custom Notification group."),""}var i=t-1;switch(r){case"like":return e("{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}",{actorName:n,activityVerb:o,countOtherActors:i});case"repost":return e("{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}",{actorName:n,activityVerb:o,countOtherActors:i});case"follow":return e("{{ actorName }} and {{ countOtherActors }} others followed you",{actorName:n,countOtherActors:i});case"comment":return e("{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}",{actorName:n,activityVerb:o,countOtherActors:i});default:return console.warn("No notification styling found for your verb, please create your own custom Notification group."),""}}(g,y.length,w.verb,x.data.name,O.verb),k=Object(c.h)(p),E=d?function(e){e.stopPropagation(),d(t)}:void 0;return Object(l.c)("div",{onClick:E,className:null!=h?h:"raf-notification "+(t.is_read?"raf-notification--read":""),style:m},Object(l.c)(n.a,{onClick:null==k?void 0:k(x),image:x.data.profileImage,circle:!0,size:30}),Object(l.c)("div",{className:"raf-notification__content"},Object(l.c)("div",{className:"raf-notification__header"},Object(l.c)("strong",null,j),!t.is_read&&r&&Object(l.c)(a.a,null,Object(l.c)("div",null,Object(l.c)(s.a,{onClick:function(e){e.stopPropagation(),r(t)}},"Mark as read")))),Object(l.c)("div",null,Object(l.c)("small",null,Object(c.d)(w.time,b))),"follow"!==w.verb&&Object(l.c)(i.a,{activity:w.object})),Object(l.c)("div",{className:"raf-notification__extra"},y.length>1&&"follow"===w.verb&&Object(l.c)(o.a,{onClickUser:p,avatarSize:30,users:f(_)})))};void 0!==p&&p&&p===Object(p)&&Object.isExtensible(p)&&!p.hasOwnProperty("__filemeta")&&Object.defineProperty(p,"__filemeta",{configurable:!0,value:{name:"Notification",filename:"src/components/Notification.tsx"}})},"c+bQ":function(e,t,r){var n=r("mzbm"),o=r("IqJI"),i=r("bim0"),a=r("nxZd"),s=i((function(e,t){return a(e)?n(e,o(t,1,a,!0)):[]}));e.exports=s},c2OK:function(e,t,r){var n=r("fVd2"),o=r("BKxz"),i=r("yqAG"),a=r("KAl/");e.exports=function(e,t,r){var s=t+"";return i(e,o(s,a(n(s),r)))}},c3s2:function(e){e.exports=JSON.parse('{"1 comment":"1 комментарий","1 like":"1 лайк","1 repost":"1 репост","Activity":"Занятие","Animals & Nature":"Животные и природа","Choose your default skin tone":"Выберите оттенок кожи по умолчанию","Clear":"Очистить","Custom":"Кастомныe","Details":"Детали","Emoji categories":"Категории эмодзи","Flags":"Флаги","Food & Drink":"Еда и напитки","Frequently Used":"Часто используемый","Getting website data...":"Получение данных веб-сайта...","Load activities":"Загрузка активити","Load more":"Загрузить еще","New Post":"Новая публикация","No data to display...":"Нет данных для отображения...","No emoji found":"Эмодзи не найдено","Objects":"Объекты","Pick your emoji":"Выберите эмодзи","Post":"Отправить","Search":"Поиск","Search Results":"Результаты поиска","Smileys & Emotion":"Смайлы и эмоции","Start Typing...":"Начните набирать...","Symbols":"Символы","Travel & Places":"Путешествия и места","Type your post...":"Напишите ваш пост...","You have 1 new notification":"У вас одно уведомление","You have {{ notificationCount }} new notifications":"У вас {{ notificationCount }} новых уведомлений","{{ actorName }} and 1 other commented on your {{ activityVerb }}":"{{ actorName }} и еще 1 пользователь оставили комментарий на вашем {{ activityVerb }}","{{ actorName }} and 1 other followed you":"{{ actorName }} и еще 1 пользователь зафоловили вас","{{ actorName }} and 1 other liked your {{ activityVerb }}":"{{ actorName }} и еще 1 пользователю понравилась ваше {{ activityVerb }}","{{ actorName }} and 1 other reposted your {{ activityVerb }}":"{{ actorName }} и еще 1 пользоватль зарепостил ваше {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}":"{{ actorName }} и {{ countOtherActors }} других пользователе оставили комментарии на вашем {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others followed you":"{{ actorName }} и {{ countOtherActors }} других пользователей зафоловили вас","{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}":"{{ actorName }} и {{ countOtherActors }} другим пользователям понравилась ваше {{ activityVerb }}","{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}":"{{ actorName }} и {{ countOtherActors }} других пользователей зарепостили ваше {{ activityVerb }}","{{ actorName }} commented on your {{ activityVerb }}":"{{ actorName }} оставил комментарий на вашем {{ activityVerb }}","{{ actorName }} followed you":"{{ actorName }} зафоловили вас","{{ actorName }} liked your {{ activityVerb }}":"{{ actorName }} понравилось ваше {{ activityVerb }}","{{ actorName }} reposted your {{ activityVerb }}":"{{ actorName }} зарепостил ваше {{ activityVerb }}","{{ countComments }} comments":"{{ countComments }} комментариев","{{ countLikes }} likes":"{{ countLikes }} лайков","{{ countReposts }} reposts":"{{ countReposts }} репостов"}')},c8O6:function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("k0FJ"),o=r("HGLW"),i=r("oedh"),a=(r("mXGw"),r("6+Ft")),s=r("aD51");function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t0,v<=m.r||!m.r){v<=1&&h>0&&(m=p[h-1]);var g=f[m.l];s&&(v=s(""+v)),u="string"==typeof g?g.replace("%d",v):g(v,n,m.l,l);break}}if(n)return u;var b=l?f.future:f.past;return"function"==typeof b?b(u):b.replace("%s",u)},n.to=function(e,t){return i(e,t,this,!0)},n.from=function(e,t){return i(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}()},cLz6:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("68/1"),i=r("yGUY"),a=r("mXGw");t.default={Playground:n.c,Props:n.d,ReactionIcon:o.a,ThumbsUpIcon:i.k,React:a}},cMzW:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("ZxGu"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,AttachedActivity:o.a,React:i}},cON5:function(e,t,r){"use strict";var n=r("ovh1");e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},cSJ8:function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}r.d(t,"a",(function(){return n}))},cSUU:function(e,t,r){"use strict";(function(t){var r={_registry:[],on:function(e,t,r,n){var o=function(){r.call(n)};e.addEventListener?e.addEventListener(t,o,!1):e.attachEvent("on"+t,o),this._registry.push({_element:e,_type:t,_callback:r,_context:n,_handler:o})},detach:function(e,t,r,n){for(var o,i=this._registry.length;i--;)o=this._registry[i],e&&e!==o._element||t&&t!==o._type||r&&r!==o._callback||n&&n!==o._context||(o._element.removeEventListener?o._element.removeEventListener(o._type,o._handler,!1):o._element.detachEvent("on"+o._type,o._handler),this._registry.splice(i,1),o=null)}};void 0!==t.onunload&&r.on(t,"unload",r.detach,r),e.exports={Event:r}}).call(this,r("pCvA"))},cTHi:function(e,t,r){var n=r("zXe4");e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},cXmu:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("pGZ+"),i=r("/x7e"),a=r("mXGw");t.default={Playground:n.c,Props:n.d,WithExampleStreamApp:o.b,NotificationDropdown:i.a,React:a}},cZH0:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.search=t.categories=void 0;var o=n(r("mXGw")),i={activity:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M12 0C5.373 0 0 5.372 0 12c0 6.627 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.628-5.372-12-12-12m9.949 11H17.05c.224-2.527 1.232-4.773 1.968-6.113A9.966 9.966 0 0 1 21.949 11M13 11V2.051a9.945 9.945 0 0 1 4.432 1.564c-.858 1.491-2.156 4.22-2.392 7.385H13zm-2 0H8.961c-.238-3.165-1.536-5.894-2.393-7.385A9.95 9.95 0 0 1 11 2.051V11zm0 2v8.949a9.937 9.937 0 0 1-4.432-1.564c.857-1.492 2.155-4.221 2.393-7.385H11zm4.04 0c.236 3.164 1.534 5.893 2.392 7.385A9.92 9.92 0 0 1 13 21.949V13h2.04zM4.982 4.887C5.718 6.227 6.726 8.473 6.951 11h-4.9a9.977 9.977 0 0 1 2.931-6.113M2.051 13h4.9c-.226 2.527-1.233 4.771-1.969 6.113A9.972 9.972 0 0 1 2.051 13m16.967 6.113c-.735-1.342-1.744-3.586-1.968-6.113h4.899a9.961 9.961 0 0 1-2.931 6.113"}))},custom:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("g",{transform:"translate(2.000000, 1.000000)"},o.default.createElement("rect",{id:"Rectangle",x:"8",y:"0",width:"3",height:"21",rx:"1.5"}),o.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"}),o.default.createElement("rect",{id:"Rectangle",transform:"translate(9.843, 10.549) rotate(-60) translate(-9.843, -10.549) ",x:"8.343",y:"0.049",width:"3",height:"21",rx:"1.5"})))},flags:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M0 0l6.084 24H8L1.916 0zM21 5h-4l-1-4H4l3 12h3l1 4h13L21 5zM6.563 3h7.875l2 8H8.563l-2-8zm8.832 10l-2.856 1.904L12.063 13h3.332zM19 13l-1.5-6h1.938l2 8H16l3-2z"}))},foods:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M17 4.978c-1.838 0-2.876.396-3.68.934.513-1.172 1.768-2.934 4.68-2.934a1 1 0 0 0 0-2c-2.921 0-4.629 1.365-5.547 2.512-.064.078-.119.162-.18.244C11.73 1.838 10.798.023 9.207.023 8.579.022 7.85.306 7 .978 5.027 2.54 5.329 3.902 6.492 4.999 3.609 5.222 0 7.352 0 12.969c0 4.582 4.961 11.009 9 11.009 1.975 0 2.371-.486 3-1 .629.514 1.025 1 3 1 4.039 0 9-6.418 9-11 0-5.953-4.055-8-7-8M8.242 2.546c.641-.508.943-.523.965-.523.426.169.975 1.405 1.357 3.055-1.527-.629-2.741-1.352-2.98-1.846.059-.112.241-.356.658-.686M15 21.978c-1.08 0-1.21-.109-1.559-.402l-.176-.146c-.367-.302-.816-.452-1.266-.452s-.898.15-1.266.452l-.176.146c-.347.292-.477.402-1.557.402-2.813 0-7-5.389-7-9.009 0-5.823 4.488-5.991 5-5.991 1.939 0 2.484.471 3.387 1.251l.323.276a1.995 1.995 0 0 0 2.58 0l.323-.276c.902-.78 1.447-1.251 3.387-1.251.512 0 5 .168 5 6 0 3.617-4.187 9-7 9"}))},nature:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M15.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 15.5 8M8.5 8a1.5 1.5 0 1 0 .001 3.001A1.5 1.5 0 0 0 8.5 8"}),o.default.createElement("path",{d:"M18.933 0h-.027c-.97 0-2.138.787-3.018 1.497-1.274-.374-2.612-.51-3.887-.51-1.285 0-2.616.133-3.874.517C7.245.79 6.069 0 5.093 0h-.027C3.352 0 .07 2.67.002 7.026c-.039 2.479.276 4.238 1.04 5.013.254.258.882.677 1.295.882.191 3.177.922 5.238 2.536 6.38.897.637 2.187.949 3.2 1.102C8.04 20.6 8 20.795 8 21c0 1.773 2.35 3 4 3 1.648 0 4-1.227 4-3 0-.201-.038-.393-.072-.586 2.573-.385 5.435-1.877 5.925-7.587.396-.22.887-.568 1.104-.788.763-.774 1.079-2.534 1.04-5.013C23.929 2.67 20.646 0 18.933 0M3.223 9.135c-.237.281-.837 1.155-.884 1.238-.15-.41-.368-1.349-.337-3.291.051-3.281 2.478-4.972 3.091-5.031.256.015.731.27 1.265.646-1.11 1.171-2.275 2.915-2.352 5.125-.133.546-.398.858-.783 1.313M12 22c-.901 0-1.954-.693-2-1 0-.654.475-1.236 1-1.602V20a1 1 0 1 0 2 0v-.602c.524.365 1 .947 1 1.602-.046.307-1.099 1-2 1m3-3.48v.02a4.752 4.752 0 0 0-1.262-1.02c1.092-.516 2.239-1.334 2.239-2.217 0-1.842-1.781-2.195-3.977-2.195-2.196 0-3.978.354-3.978 2.195 0 .883 1.148 1.701 2.238 2.217A4.8 4.8 0 0 0 9 18.539v-.025c-1-.076-2.182-.281-2.973-.842-1.301-.92-1.838-3.045-1.853-6.478l.023-.041c.496-.826 1.49-1.45 1.804-3.102 0-2.047 1.357-3.631 2.362-4.522C9.37 3.178 10.555 3 11.948 3c1.447 0 2.685.192 3.733.57 1 .9 2.316 2.465 2.316 4.48.313 1.651 1.307 2.275 1.803 3.102.035.058.068.117.102.178-.059 5.967-1.949 7.01-4.902 7.19m6.628-8.202c-.037-.065-.074-.13-.113-.195a7.587 7.587 0 0 0-.739-.987c-.385-.455-.648-.768-.782-1.313-.076-2.209-1.241-3.954-2.353-5.124.531-.376 1.004-.63 1.261-.647.636.071 3.044 1.764 3.096 5.031.027 1.81-.347 3.218-.37 3.235"}))},objects:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M12 0a9 9 0 0 0-5 16.482V21s2.035 3 5 3 5-3 5-3v-4.518A9 9 0 0 0 12 0zm0 2c3.86 0 7 3.141 7 7s-3.14 7-7 7-7-3.141-7-7 3.14-7 7-7zM9 17.477c.94.332 1.946.523 3 .523s2.06-.19 3-.523v.834c-.91.436-1.925.689-3 .689a6.924 6.924 0 0 1-3-.69v-.833zm.236 3.07A8.854 8.854 0 0 0 12 21c.965 0 1.888-.167 2.758-.451C14.155 21.173 13.153 22 12 22c-1.102 0-2.117-.789-2.764-1.453z"}),o.default.createElement("path",{d:"M14.745 12.449h-.004c-.852-.024-1.188-.858-1.577-1.824-.421-1.061-.703-1.561-1.182-1.566h-.009c-.481 0-.783.497-1.235 1.537-.436.982-.801 1.811-1.636 1.791l-.276-.043c-.565-.171-.853-.691-1.284-1.794-.125-.313-.202-.632-.27-.913-.051-.213-.127-.53-.195-.634C7.067 9.004 7.039 9 6.99 9A1 1 0 0 1 7 7h.01c1.662.017 2.015 1.373 2.198 2.134.486-.981 1.304-2.058 2.797-2.075 1.531.018 2.28 1.153 2.731 2.141l.002-.008C14.944 8.424 15.327 7 16.979 7h.032A1 1 0 1 1 17 9h-.011c-.149.076-.256.474-.319.709a6.484 6.484 0 0 1-.311.951c-.429.973-.79 1.789-1.614 1.789"}))},people:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}),o.default.createElement("path",{d:"M8 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 8 7M16 7a2 2 0 1 0-.001 3.999A2 2 0 0 0 16 7M15.232 15c-.693 1.195-1.87 2-3.349 2-1.477 0-2.655-.805-3.347-2H15m3-2H6a6 6 0 1 0 12 0"}))},places:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M6.5 12C5.122 12 4 13.121 4 14.5S5.122 17 6.5 17 9 15.879 9 14.5 7.878 12 6.5 12m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5M17.5 12c-1.378 0-2.5 1.121-2.5 2.5s1.122 2.5 2.5 2.5 2.5-1.121 2.5-2.5-1.122-2.5-2.5-2.5m0 3c-.275 0-.5-.225-.5-.5s.225-.5.5-.5.5.225.5.5-.225.5-.5.5"}),o.default.createElement("path",{d:"M22.482 9.494l-1.039-.346L21.4 9h.6c.552 0 1-.439 1-.992 0-.006-.003-.008-.003-.008H23c0-1-.889-2-1.984-2h-.642l-.731-1.717C19.262 3.012 18.091 2 16.764 2H7.236C5.909 2 4.738 3.012 4.357 4.283L3.626 6h-.642C1.889 6 1 7 1 8h.003S1 8.002 1 8.008C1 8.561 1.448 9 2 9h.6l-.043.148-1.039.346a2.001 2.001 0 0 0-1.359 2.097l.751 7.508a1 1 0 0 0 .994.901H3v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h6v1c0 1.103.896 2 2 2h2c1.104 0 2-.897 2-2v-1h1.096a.999.999 0 0 0 .994-.901l.751-7.508a2.001 2.001 0 0 0-1.359-2.097M6.273 4.857C6.402 4.43 6.788 4 7.236 4h9.527c.448 0 .834.43.963.857L19.313 9H4.688l1.585-4.143zM7 21H5v-1h2v1zm12 0h-2v-1h2v1zm2.189-3H2.811l-.662-6.607L3 11h18l.852.393L21.189 18z"}))},recent:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M13 4h-2l-.001 7H9v2h2v2h2v-2h4v-2h-4z"}),o.default.createElement("path",{d:"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0m0 22C6.486 22 2 17.514 2 12S6.486 2 12 2s10 4.486 10 10-4.486 10-10 10"}))},symbols:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24"},o.default.createElement("path",{d:"M0 0h11v2H0zM4 11h3V6h4V4H0v2h4zM15.5 17c1.381 0 2.5-1.116 2.5-2.493s-1.119-2.493-2.5-2.493S13 13.13 13 14.507 14.119 17 15.5 17m0-2.986c.276 0 .5.222.5.493 0 .272-.224.493-.5.493s-.5-.221-.5-.493.224-.493.5-.493M21.5 19.014c-1.381 0-2.5 1.116-2.5 2.493S20.119 24 21.5 24s2.5-1.116 2.5-2.493-1.119-2.493-2.5-2.493m0 2.986a.497.497 0 0 1-.5-.493c0-.271.224-.493.5-.493s.5.222.5.493a.497.497 0 0 1-.5.493M22 13l-9 9 1.513 1.5 8.99-9.009zM17 11c2.209 0 4-1.119 4-2.5V2s.985-.161 1.498.949C23.01 4.055 23 6 23 6s1-1.119 1-3.135C24-.02 21 0 21 0h-2v6.347A5.853 5.853 0 0 0 17 6c-2.209 0-4 1.119-4 2.5s1.791 2.5 4 2.5M10.297 20.482l-1.475-1.585a47.54 47.54 0 0 1-1.442 1.129c-.307-.288-.989-1.016-2.045-2.183.902-.836 1.479-1.466 1.729-1.892s.376-.871.376-1.336c0-.592-.273-1.178-.818-1.759-.546-.581-1.329-.871-2.349-.871-1.008 0-1.79.293-2.344.879-.556.587-.832 1.181-.832 1.784 0 .813.419 1.748 1.256 2.805-.847.614-1.444 1.208-1.794 1.784a3.465 3.465 0 0 0-.523 1.833c0 .857.308 1.56.924 2.107.616.549 1.423.823 2.42.823 1.173 0 2.444-.379 3.813-1.137L8.235 24h2.819l-2.09-2.383 1.333-1.135zm-6.736-6.389a1.02 1.02 0 0 1 .73-.286c.31 0 .559.085.747.254a.849.849 0 0 1 .283.659c0 .518-.419 1.112-1.257 1.784-.536-.651-.805-1.231-.805-1.742a.901.901 0 0 1 .302-.669M3.74 22c-.427 0-.778-.116-1.057-.349-.279-.232-.418-.487-.418-.766 0-.594.509-1.288 1.527-2.083.968 1.134 1.717 1.946 2.248 2.438-.921.507-1.686.76-2.3.76"}))}};t.categories=i;var a={search:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},o.default.createElement("path",{d:"M12.9 14.32a8 8 0 1 1 1.41-1.41l5.35 5.33-1.42 1.42-5.33-5.34zM8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12z"}))},delete:function(){return o.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"13",height:"13",viewBox:"0 0 20 20",opacity:"0.5"},o.default.createElement("path",{d:"M10 8.586L2.929 1.515 1.515 2.929 8.586 10l-7.071 7.071 1.414 1.414L10 11.414l7.071 7.071 1.414-1.414L11.414 10l7.071-7.071-1.414-1.414L10 8.586z"}))}};t.search=a},"ca/S":function(e,t,r){"use strict";r.d(t,"b",(function(){return m})),r.d(t,"a",(function(){return v}));var n=r("HGLW"),o=r("mXGw"),i=r.n(o),a=r("1q4v"),s=r("doU1"),c=r("/gfI"),u=r.n(c),l=r("aD51");function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t-1&&e%1==0&&e<=9007199254740991}},clxC:function(e,t,r){var n=r("YxGO"),o=r("G5hJ"),i=r("+iL7");e.exports=!!Object.getOwnPropertySymbols&&!i((function(){return!Symbol.sham&&(n?38===o:o>37&&o<41)}))},cm7J:function(e,t,r){var n=r("dIZa");e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},cud3:function(e,t){e.exports=function(e,t){for(var r=-1,n=e.length,o=0,i=[];++r=400&&o<600?i:m(e,t,r)};void 0!==h&&h&&h===Object(h)&&Object.isExtensible(h)&&!h.hasOwnProperty("__filemeta")&&Object.defineProperty(h,"__filemeta",{configurable:!0,value:{name:"getErrorMessage",filename:"src/utils/errors.ts"}});var m=function(e,t,r){var n="Something went wrong",o="";switch(t){case"get-user-info":n+=" when loading user info";break;case"get-feed":n+=" when loading the feed";break;case"get-feed-next-page":n+=" when loading the next page of the feed";break;case"get-notification-counts":n+=" when loading your unread notification counts";break;case"upload-image":n+=" when uploading your image",o=" If it is, the image is probably too big";break;case"add-activity":n+=" when submitting your post";break;case"add-reaction":case"add-child-reaction":n+=" when submitting your "+r.kind;break;case"delete-reaction":case"delete-child-reaction":n+=" when removing your "+r.kind}return n+". Is your internet working?"+o};void 0!==m&&m&&m===Object(m)&&Object.isExtensible(m)&&!m.hasOwnProperty("__filemeta")&&Object.defineProperty(m,"__filemeta",{configurable:!0,value:{name:"fallbackErrorMessage",filename:"src/utils/errors.ts"}});r("x3Br");function v(e){return(v="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})(e)}function g(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};b(this,e),this.init(t,r)}return w(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||S,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r1?t-1:0),n=1;n-1?e.replace(/###/g,"."):e}function o(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return{};var a=n(i.shift());!e[a]&&r&&(e[a]=new r),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return o()?{}:{obj:e,k:n(i.shift())}}function N(e,t,r){var n=L(e,t,Object);n.obj[n.k]=r}function I(e,t){var r=L(e,t),n=r.obj,o=r.k;if(n)return n[o]}function M(e,t,r){var n=I(e,r);return void 0!==n?n:I(t,r)}function F(e,t,r){for(var n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?"string"==typeof e[n]||e[n]instanceof String||"string"==typeof t[n]||t[n]instanceof String?r&&(e[n]=t[n]):F(e[n],t[n],r):e[n]=t[n]);return e}function q(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var U={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function z(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return U[e]})):e}var B="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function H(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var n=t.split(r),o=e,i=0;ii+a;)a++,c=o[s=n.slice(i,i+a).join(r)];if(void 0===c)return;if("string"==typeof c)return c;if(s&&"string"==typeof c[s])return c[s];var u=n.slice(i+a).join(r);return u?H(c,u,r):void 0}o=o[n[i]]}return o}}var V=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return b(this,t),r=j(this,k(t).call(this)),B&&A.call(x(r)),r.data=e||{},r.options=n,void 0===r.options.keySeparator&&(r.options.keySeparator="."),void 0===r.options.ignoreJSONStructure&&(r.options.ignoreJSONStructure=!0),r}return P(t,e),w(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];r&&"string"!=typeof r&&(a=a.concat(r)),r&&"string"==typeof r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."));var s=I(this.data,a);return s||!i||"string"!=typeof r?s:H(this.data&&this.data[e]&&this.data[e][t],r,o)}},{key:"addResource",value:function(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];r&&(a=a.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(n=t,t=(a=e.split("."))[1]),this.addNamespaces(t),N(this.data,a,n),o.silent||this.emit("added",e,t,r,n)}},{key:"addResources",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in r)"string"!=typeof r[o]&&"[object Array]"!==Object.prototype.toString.apply(r[o])||this.addResource(e,t,o,r[o],{silent:!0});n.silent||this.emit("added",e,t,r)}},{key:"addResourceBundle",value:function(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(n=r,r=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=I(this.data,a)||{};n?F(s,r,o):s=g({},s,r),N(this.data,a,s),i.silent||this.emit("added",e,t,r)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?g({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(A),G={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,r,n,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,r,n,o))})),t}},Y={},W=function(e){function t(e){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return b(this,t),r=j(this,k(t).call(this)),B&&A.call(x(r)),D(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,x(r)),r.options=n,void 0===r.options.keySeparator&&(r.options.keySeparator="."),r.logger=C.create("translator"),r}return P(t,e),w(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=this.resolve(e,t);return r&&void 0!==r.res}},{key:"extractFromKey",value:function(e,t){var r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");var n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(r&&e.indexOf(r)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:o};var a=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(n)}return"string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(e,r,n){var o=this;if("object"!==v(r)&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],r),s=a.key,c=a.namespaces,u=c[c.length-1],l=r.lng||this.language,f=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(l&&"cimode"===l.toLowerCase()){if(f){var p=r.nsSeparator||this.options.nsSeparator;return u+p+s}return s}var d=this.resolve(e,r),h=d&&d.res,m=d&&d.usedKey||s,b=d&&d.exactUsedKey||s,y=Object.prototype.toString.apply(h),w=["[object Number]","[object Function]","[object RegExp]"],_=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,O=!this.i18nFormat||this.i18nFormat.handleAsObject,x="string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h;if(O&&h&&x&&w.indexOf(y)<0&&("string"!=typeof _||"[object Array]"!==y)){if(!r.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,h,r):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(i){var j="[object Array]"===y,k=j?[]:{},E=j?b:m;for(var P in h)if(Object.prototype.hasOwnProperty.call(h,P)){var S="".concat(E).concat(i).concat(P);k[P]=this.translate(S,g({},r,{joinArrays:!1,ns:c})),k[P]===S&&(k[P]=h[P])}h=k}}else if(O&&"string"==typeof _&&"[object Array]"===y)(h=h.join(_))&&(h=this.extendTranslation(h,e,r,n));else{var C=!1,A=!1,T=void 0!==r.count&&"string"!=typeof r.count,R=t.hasDefaultValue(r),D=T?this.pluralResolver.getSuffix(l,r.count):"",L=r["defaultValue".concat(D)]||r.defaultValue;!this.isValidLookup(h)&&R&&(C=!0,h=L),this.isValidLookup(h)||(A=!0,h=s);var N=R&&L!==h&&this.options.updateMissing;if(A||C||N){if(this.logger.log(N?"updateKey":"missingKey",l,u,s,N?L:h),i){var I=this.resolve(s,g({},r,{keySeparator:!1}));I&&I.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var M=[],F=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&F&&F[0])for(var q=0;q1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var c=a.extractFromKey(e,s),u=c.key;r=u;var l=c.namespaces;a.options.fallbackNS&&(l=l.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,p=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,d=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);l.forEach((function(e){a.isValidLookup(t)||(i=e,!Y["".concat(d[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Y["".concat(d[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(r,'" for languages "').concat(d.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach((function(r){if(!a.isValidLookup(t)){o=r;var i,c,l=u,d=[l];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(d,u,r,e,s);else f&&(i=a.pluralResolver.getSuffix(r,s.count)),f&&p&&d.push(l+i),p&&d.push(l+="".concat(a.options.contextSeparator).concat(s.context)),f&&d.push(l+=i);for(;c=d.pop();)a.isValidLookup(t)||(n=c,t=a.getResource(r,e,c,s))}})))}))}})),{res:t,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}}],[{key:"hasDefaultValue",value:function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,"defaultValue".length)&&void 0!==e[t])return!0;return!1}}]),t}(A);function X(e){return e.charAt(0).toUpperCase()+e.slice(1)}var J=function(){function e(t){b(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=C.create("languageUtils")}return w(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map((function(e){return e.toLowerCase()})):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=X(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=X(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=X(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,r=this;return e?(e.forEach((function(e){if(!t){var n=r.formatLanguageCode(e);r.options.supportedLngs&&!r.isSupportedCode(n)||(t=n)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var n=r.getLanguagePartFromCode(e);if(r.isSupportedCode(n))return t=n;t=r.options.supportedLngs.find((function(e){if(0===e.indexOf(n))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}},{key:"toResolveHierarchy",value:function(e,t){var r=this,n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(r.isSupportedCode(e)?o.push(e):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),n.forEach((function(e){o.indexOf(e)<0&&i(r.formatLanguageCode(e))})),o}}]),e}(),K=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Z={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};function $(){var e={};return K.forEach((function(t){t.lngs.forEach((function(r){e[r]={numbers:t.nr,plurals:Z[t.fc]}}))})),e}var Q=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};b(this,e),this.languageUtils=t,this.options=r,this.logger=C.create("pluralResolver"),this.rules=$()}return w(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,r=this.getRule(e);return r?r.numbers.map((function(r){return t.getSuffix(e,r)})):[]}},{key:"getSuffix",value:function(e,t){var r=this,n=this.getRule(e);if(n){var o=n.noAbs?n.plurals(t):n.plurals(Math.abs(t)),i=n.numbers[o];this.options.simplifyPluralSuffix&&2===n.numbers.length&&1===n.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return r.options.prepend&&i.toString()?r.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===n.numbers.length&&1===n.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),ee=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};b(this,e),this.logger=C.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return w(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:z,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?q(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?q(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?q(t.nestingPrefix):t.nestingPrefixEscaped||q("$t("),this.nestingSuffix=t.nestingSuffix?q(t.nestingSuffix):t.nestingSuffixEscaped||q(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(e,t,r,n){var o,i,a,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var l=function(e){if(e.indexOf(s.formatSeparator)<0){var o=M(t,c,e);return s.alwaysFormat?s.format(o,void 0,r,g({},n,t,{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),u=i.join(s.formatSeparator).trim();return s.format(M(t,c,a),u,r,g({},n,t,{interpolationkey:a}))};this.resetRegExp();var f=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,p=n&&n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=l(o[1].trim())))if("function"==typeof f){var r=f(e,o,n);i="string"==typeof r?r:""}else{if(p){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=R(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var r,n,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=g({},i);function s(e,t){var r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;var n=e.split(new RegExp("".concat(r,"[ ]*{"))),o="{".concat(n[1]);e=n[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=g({},t,a))}catch(i){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),i),"".concat(e).concat(r).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;r=this.nestingRegexp.exec(e);){var c=[],u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){var l=r[1].split(this.formatSeparator).map((function(e){return e.trim()}));r[1]=l.shift(),c=l,u=!0}if((n=t(s.call(this,r[1].trim(),a),a))&&r[0]===e&&"string"!=typeof n)return n;"string"!=typeof n&&(n=R(n)),n||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),n=""),u&&(n=c.reduce((function(e,t){return o.format(e,t,i.lng,g({},i,{interpolationkey:r[1].trim()}))}),n.trim())),e=e.replace(r[0],n),this.regexp.lastIndex=0}return e}}]),e}();var te=function(e){function t(e,r,n){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return b(this,t),o=j(this,k(t).call(this)),B&&A.call(x(o)),o.backend=e,o.store=r,o.services=n,o.languageUtils=n.languageUtils,o.options=i,o.logger=C.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(n,i.backend,i),o}return P(t,e),w(t,[{key:"queueLoad",value:function(e,t,r,n){var o=this,i=[],a=[],s=[],c=[];return e.forEach((function(e){var n=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!r.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?a.indexOf(s)<0&&a.push(s):(o.state[s]=1,n=!1,a.indexOf(s)<0&&a.push(s),i.indexOf(s)<0&&i.push(s),c.indexOf(t)<0&&c.push(t)))})),n||s.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:n}),{toLoad:i,pending:a,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,r){var n=e.split("|"),o=n[0],i=n[1];t&&this.emit("failedLoading",o,i,t),r&&this.store.addResourceBundle(o,i,r),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(r){var n,s,c,u,l,f;n=r.loaded,s=i,u=L(n,[o],Object),l=u.obj,f=u.k,l[f]=l[f]||[],c&&(l[f]=l[f].concat(s)),c||l[f].push(s),function(e,t){for(var r=e.indexOf(t);-1!==r;)e.splice(r,1),r=e.indexOf(t)}(r.pending,e),t&&r.errors.push(t),0!==r.pending.length||r.done||(Object.keys(r.loaded).forEach((function(e){a[e]||(a[e]=[]),r.loaded[e].length&&r.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,r){var n=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[r](e,t,(function(s,c){s&&c&&o<5?setTimeout((function(){n.read.call(n,e,t,r,o+1,2*i,a)}),i):a(s,c)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,n,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){r.loadOne(e)}))}},{key:"load",value:function(e,t,r){this.prepareLoading(e,t,{},r)}},{key:"reload",value:function(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}},{key:"loadOne",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.split("|"),o=n[0],i=n[1];this.read(o,i,"read",void 0,void 0,(function(n,a){n&&t.logger.warn("".concat(r,"loading namespace ").concat(i," for language ").concat(o," failed"),n),!n&&a&&t.logger.log("".concat(r,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,n,a)}))}},{key:"saveMissing",value:function(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=r&&""!==r&&(this.backend&&this.backend.create&&this.backend.create(e,t,r,n,null,g({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,r,n))}}]),t}(A);function re(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===v(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===v(e[2])||"object"===v(e[3])){var r=e[3]||e[2];Object.keys(r).forEach((function(e){t[e]=r[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,r,n){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function ne(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function oe(){}var ie=new(function(e){function t(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(b(this,t),e=j(this,k(t).call(this)),B&&A.call(x(e)),e.options=ne(r),e.services={},e.logger=C,e.modules={external:[]},n&&!e.isInitialized&&!r.isClone){if(!e.options.initImmediate)return e.init(r,n),j(e,x(e));setTimeout((function(){e.init(r,n)}),0)}return e}return P(t,e),w(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;function n(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(r=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=g({},re(),this.options,ne(t)),this.format=this.options.interpolation.format,r||(r=oe),!this.options.isClone){this.modules.logger?C.init(n(this.modules.logger),this.options):C.init(null,this.options);var o=new J(this.options);this.store=new V(this.options.resources,this.options);var i=this.services;i.logger=C,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new Q(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new ee(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new te(n(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o1?r-1:0),o=1;o0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var s=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];s.forEach((function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments)}}));var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach((function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments),e}}));var u=T(),l=function(){var t=function(t,n){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(n),r(t,n)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),u}},{key:"loadResources",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=r,o="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return n();var i=[],a=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){i.indexOf(e)<0&&i.push(e)}))};if(o)a(o);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach((function(e){return a(e)}))}this.options.preload&&this.options.preload.forEach((function(e){return a(e)})),this.services.backendConnector.load(i,this.options.ns,n)}else n(null)}},{key:"reloadResources",value:function(e,t,r){var n=T();return e||(e=this.languages),t||(t=this.options.ns),r||(r=oe),this.services.backendConnector.reload(e,t,(function(e){n.resolve(),r(e)})),n}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&G.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var n=T();this.emit("languageChanging",e);var o=function(e){var o="string"==typeof e?e:r.services.languageUtils.getBestMatchFromCodes(e);o&&(r.language||(r.language=o,r.languages=r.services.languageUtils.toResolveHierarchy(o)),r.translator.language||r.translator.changeLanguage(o),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(o)),r.loadResources(o,(function(e){!function(e,o){o?(r.language=o,r.languages=r.services.languageUtils.toResolveHierarchy(o),r.translator.changeLanguage(o),r.isLanguageChangingTo=void 0,r.emit("languageChanged",o),r.logger.log("languageChanged",o)):r.isLanguageChangingTo=void 0,n.resolve((function(){return r.t.apply(r,arguments)})),t&&t(e,(function(){return r.t.apply(r,arguments)}))}(e,o)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),n}},{key:"getFixedT",value:function(e,t){var r=this,n=function e(t,n){var o;if("object"!==v(n)){for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var n=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;var a=function(e,r){var n=t.services.backendConnector.state["".concat(e,"|").concat(r)];return-1===n||2===n};if(r.precheck){var s=r.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(n,e)||(!this.services.backendConnector.backend||!(!a(n,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,n=T();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){r.options.ns.indexOf(e)<0&&r.options.ns.push(e)})),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=T();"string"==typeof e&&(e=[e]);var n=this.options.preload||[],o=e.filter((function(e){return n.indexOf(e)<0}));return o.length?(this.options.preload=n.concat(o),this.loadResources((function(e){r.resolve(),t&&t(e)})),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new t(e,r)}},{key:"cloneInstance",value:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,o=g({},this.options,r,{isClone:!0}),i=new t(o),a=["store","services","language"];return a.forEach((function(t){i[t]=e[t]})),i.services=g({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new W(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=10?e:e+12:"शाम"===t?e+12:e},meridiem:function(e){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"}}),se.a.updateLocale("fr",{calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"}}),se.a.updateLocale("tr",{calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"}}),se.a.updateLocale("ru",{calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT"}}),se.a.updateLocale("es",{calendar:{sameDay:"[Hoy a] LT",nextDay:"[Mañana a] LT",lastDay:"[Ayer a] LT"}});var Ce={formats:{},months:["January","February","March","April","May","June","July","August","September","October","November","December"],relativeTime:{},weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Ae={language:"en",disableDateTimeTranslations:!1,debug:!1,logger:function(e){return console.warn(e)},dayjsLocaleConfigForLanguage:null,DateTimeParser:se.a};"undefined"!=typeof TDateTimeParser&&TDateTimeParser&&TDateTimeParser===Object(TDateTimeParser)&&Object.isExtensible(TDateTimeParser)&&!TDateTimeParser.hasOwnProperty("__filemeta")&&Object.defineProperty(TDateTimeParser,"__filemeta",{configurable:!0,value:{name:"TDateTimeParser",filename:"src/i18n/Streami18n.ts"}}),"undefined"!=typeof LanguageCallbackFn&&LanguageCallbackFn&&LanguageCallbackFn===Object(LanguageCallbackFn)&&Object.isExtensible(LanguageCallbackFn)&&!LanguageCallbackFn.hasOwnProperty("__filemeta")&&Object.defineProperty(LanguageCallbackFn,"__filemeta",{configurable:!0,value:{name:"LanguageCallbackFn",filename:"src/i18n/Streami18n.ts"}});var Te=function(){function e(e){var t,r,n,o,i,a,s,c,u=this;void 0===e&&(e={}),this.i18nInstance=ie.createInstance(),this.Dayjs=null,this.setLanguageCallback=function(){},this.initialized=!1,this.t=function(e){return e},this.translations={en:(t={},t[Se]=be,t),nl:(r={},r[Se]=ye,r),ru:(n={},n[Se]=we,n),tr:(o={},o[Se]=_e,o),fr:(i={},i[Se]=Oe,i),hi:(a={},a[Se]=xe,a),it:(s={},s[Se]=je,s),es:(c={},c[Se]=ke,c)},this.dayjsLocales={},this.localeExists=function(e){return!!u.isCustomDateTimeParser||Object.keys(se.a.Ls).indexOf(e)>-1},this.validateCurrentLanguage=function(){-1===Object.keys(u.translations).indexOf(u.currentLanguage)&&(u.logger("Streami18n: '"+u.currentLanguage+"' language is not registered. Please make sure to call streami18n.registerTranslation('"+u.currentLanguage+"', {...}) or use one the built-in supported languages - "+u.getAvailableLanguages()),u.currentLanguage="en")},this.geti18Instance=function(){return u.i18nInstance},this.getAvailableLanguages=function(){return Object.keys(u.translations)},this.getTranslations=function(){return u.translations};var l=Pe(Pe({},Ae),e);this.logger=l.logger,this.currentLanguage=l.language,this.DateTimeParser=l.DateTimeParser;try{this.DateTimeParser&&void 0!==this.DateTimeParser.extend&&(this.DateTimeParser.extend(de.a),this.DateTimeParser.extend(ue.a),this.DateTimeParser.extend(me.a),this.DateTimeParser.extend(ge.a))}catch(m){throw Error("Streami18n: Looks like you wanted to provide Dayjs instance, but something went wrong while adding plugins "+m)}this.isCustomDateTimeParser=!!e.DateTimeParser;var f,p,d=l.translationsForLanguage;d&&(this.translations[this.currentLanguage]=((f={})[Se]=d,f));this.translations[this.currentLanguage]||(this.translations[this.currentLanguage]=((p={})[Se]={},p));this.i18nextConfig={nsSeparator:!1,keySeparator:!1,fallbackLng:!1,debug:l.debug,lng:this.currentLanguage,interpolation:{escapeValue:!1},parseMissingKeyHandler:function(e){return u.logger("Streami18n: Missing translation for key: "+e),e}},this.validateCurrentLanguage();var h=l.dayjsLocaleConfigForLanguage;h?this.addOrUpdateLocale(this.currentLanguage,Pe({},h)):this.localeExists(this.currentLanguage)||this.logger("Streami18n: Streami18n(...) - Locale config for "+this.currentLanguage+" does not exist in momentjs.Please import the locale file using \"import 'moment/locale/"+this.currentLanguage+"';\" in your app or register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.tDateTimeParser=function(e){return l.disableDateTimeTranslations||!u.localeExists(u.currentLanguage)?u.DateTimeParser(e).locale("en"):u.DateTimeParser(e).locale(u.currentLanguage)}}var t=e.prototype;return t.init=function(){var e=Object(n.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.validateCurrentLanguage(),e.prev=1,e.next=4,this.i18nInstance.init(Pe(Pe({},this.i18nextConfig),{},{resources:this.translations,lng:this.currentLanguage}));case 4:this.t=e.sent,this.initialized=!0,e.next=11;break;case 8:e.prev=8,e.t0=e.catch(1),this.logger("Something went wrong with init: "+e.t0);case 11:return e.abrupt("return",{t:this.t,tDateTimeParser:this.tDateTimeParser});case 12:case"end":return e.stop()}}),e,this,[[1,8]])})));return function(){return e.apply(this,arguments)}}(),t.getTranslators=function(){var e=Object(n.a)(a.a.mark((function e(){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.initialized){e.next=7;break}return this.dayjsLocales[this.currentLanguage]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),e.next=4,this.init();case 4:return e.abrupt("return",e.sent);case 7:return e.abrupt("return",{t:this.t,tDateTimeParser:this.tDateTimeParser});case 8:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}(),t.registerTranslation=function(e,t,r){if(t){var n;if(this.translations[e])this.translations[e][Se]=t;else this.translations[e]=((n={})[Se]=t,n);r?this.dayjsLocales[e]=Pe({},r):this.localeExists(e)||this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) - Locale config for "+e+" does not exist in Dayjs.Please import the locale file using \"import 'dayjs/locale/"+e+"';\" in your app or register the locale config with Streami18n using registerTranslation(language, translation, customDayjsLocale)"),this.initialized&&this.i18nInstance.addResources(e,Se,t)}else this.logger("Streami18n: registerTranslation(language, translation, customDayjsLocale) called without translation")},t.addOrUpdateLocale=function(e,t){this.localeExists(e)?se.a.updateLocale(e,Pe({},t)):se.a.locale(Pe(Pe({name:e},Ce),t),void 0,!0)},t.setLanguage=function(){var e=Object(n.a)(a.a.mark((function e(t){var r;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.currentLanguage=t,this.initialized){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,this.i18nInstance.changeLanguage(t);case 6:return r=e.sent,this.dayjsLocales[t]&&this.addOrUpdateLocale(this.currentLanguage,this.dayjsLocales[this.currentLanguage]),this.setLanguageCallback(r),e.abrupt("return",r);case 12:return e.prev=12,e.t0=e.catch(3),this.logger("Failed to set language: "+e.t0),e.abrupt("return",this.t);case 16:case"end":return e.stop()}}),e,this,[[3,12]])})));return function(t){return e.apply(this,arguments)}}(),t.registerSetLanguageCallback=function(e){this.setLanguageCallback=e},e}();void 0!==Te&&Te&&Te===Object(Te)&&Object.isExtensible(Te)&&!Te.hasOwnProperty("__filemeta")&&Object.defineProperty(Te,"__filemeta",{configurable:!0,value:{name:"Streami18n",filename:"src/i18n/Streami18n.ts"}});var Re=r("/asK"),De=r("aD51");function Le(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Ne(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ne(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},eX3J:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("HGLW"),o=(r("mXGw"),r("8Jek")),i=r.n(o),a=r("aD51");function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==s&&document.body.appendChild(s)):(a.parentElement&&a.parentElement.removeChild(a),s.parentElement&&s.parentElement.removeChild(s))}))},gi03:function(e,t,r){"use strict";e.exports={CHANNEL_NAME:/^\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+(\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+)*$/,CHANNEL_PATTERN:/^(\/(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)))+)*\/\*{1,2}$/,ERROR:/^([0-9][0-9][0-9]:(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*(,(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*)*:(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*|[0-9][0-9][0-9]::(((([a-z]|[A-Z])|[0-9])|(\-|\_|\!|\~|\(|\)|\$|\@)| |\/|\*|\.))*)$/,VERSION:/^([0-9])+(\.(([a-z]|[A-Z])|[0-9])(((([a-z]|[A-Z])|[0-9])|\-|\_))*)*$/}},glsI:function(e,t,r){var n=r("wTAb"),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},guUT:function(e,t,r){"use strict";var n=r("ovh1"),o=r("4OlW"),i=r("e5jZ"),a=r("bRtl");function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},guuX:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("aXhT"),a=r("tMEJ"),s=r("eX3J"),c=r("aD51");"undefined"!=typeof ActivityFooterProps&&ActivityFooterProps&&ActivityFooterProps===Object(ActivityFooterProps)&&Object.isExtensible(ActivityFooterProps)&&!ActivityFooterProps.hasOwnProperty("__filemeta")&&Object.defineProperty(ActivityFooterProps,"__filemeta",{configurable:!0,value:{name:"ActivityFooterProps",filename:"src/components/ActivityFooter.tsx"}});var u=function(e){var t=e.activity,r=e.feedGroup,n=void 0===r?"user":r,u=e.userId,l=e.targetFeeds,f=e.className,p=e.style;return Object(c.c)("div",{className:o()("raf-activity-footer",f),style:p},Object(c.c)("div",{className:"raf-activity-footer__left"}),Object(c.c)("div",{className:"raf-activity-footer__right"},Object(c.c)(s.a,{a:"center"},Object(c.c)(i.a,{activity:t,targetFeeds:l}),Object(c.c)(a.a,{activity:t,targetFeeds:l,feedGroup:n,userId:u}))))};void 0!==u&&u&&u===Object(u)&&Object.isExtensible(u)&&!u.hasOwnProperty("__filemeta")&&Object.defineProperty(u,"__filemeta",{configurable:!0,value:{name:"ActivityFooter",filename:"src/components/ActivityFooter.tsx"}})},gwRl:function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r=2&&n%10<=4&&(n%100<10||n%100>=20)?o[1]:o[2])}var s=function(e,n){return i.test(n)?t[e.month()]:r[e.month()]};s.s=r,s.f=t;var c=function(e,t){return i.test(t)?n[e.month()]:o[e.month()]};c.s=o,c.f=n;var u={name:"ru",weekdays:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),weekdaysShort:"вск_пнд_втр_срд_чтв_птн_сбт".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),months:s,monthsShort:c,weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",m:a,mm:a,h:"час",hh:a,d:"день",dd:a,M:"месяц",MM:a,y:"год",yy:a},ordinal:function(e){return e}};return e.locale(u,null,!0),u}(r("jTUD"))},hsa5:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("7gSu");function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Object(n.a)(e,t)}},"i/JN":function(e,t,r){var n=r("GE03"),o=r("l3+0"),i=r("BAZ7"),a=r("+165"),s=r("pZIW"),c=r("OF9M");e.exports=function(e,t,r){var u=-1,l=o,f=e.length,p=!0,d=[],h=d;if(r)p=!1,l=i;else if(f>=200){var m=t?null:s(e);if(m)return c(m);p=!1,l=a,h=new n}else h=t?[]:d;e:for(;++u=0||(g.push(e.toLowerCase()),b.push(e))})),l.default.createElement("div",{className:"emoji-mart-preview"},l.default.createElement("div",{className:"emoji-mart-preview-emoji","aria-hidden":"true"},(0,p.default)(v({key:e.id,emoji:e,data:this.data},r))),l.default.createElement("div",{className:"emoji-mart-preview-data","aria-hidden":"true"},l.default.createElement("div",{className:"emoji-mart-preview-name"},e.name),l.default.createElement("div",{className:"emoji-mart-preview-shortnames"},u.short_names.map((function(e){return l.default.createElement("span",{key:e,className:"emoji-mart-preview-shortname"},":",e,":")}))),l.default.createElement("div",{className:"emoji-mart-preview-emoticons"},b.map((function(e){return l.default.createElement("span",{key:e,className:"emoji-mart-preview-emoticon"},e)})))))}return l.default.createElement("div",{className:"emoji-mart-preview"},l.default.createElement("div",{className:"emoji-mart-preview-emoji","aria-hidden":"true"},a&&a.length&&(0,p.default)(v({emoji:a,data:this.data},r))),l.default.createElement("div",{className:"emoji-mart-preview-data","aria-hidden":"true"},l.default.createElement("span",{className:"emoji-mart-title-label"},i)),o&&l.default.createElement("div",{className:"emoji-mart-preview-skins".concat(n.skinEmoji?" custom":"")},n.skinEmoji?l.default.createElement(d.default,{skin:n.skin,emojiProps:r,data:this.data,skinEmoji:n.skinEmoji,i18n:s,onChange:n.onChange}):l.default.createElement(h.default,{skin:n.skin,i18n:s,onChange:n.onChange})))}}]),t}(l.default.PureComponent);t.default=g,g.defaultProps={showSkinTones:!0,onChange:function(){}}},jL4t:function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},jTUD:function(e,t,r){e.exports=function(){"use strict";var e="millisecond",t="second",r="minute",n="hour",o="day",i="week",a="month",s="quarter",c="year",u="date",l=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,f=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},d=function(e,t,r){var n=String(e);return!n||n.length>=t?e:""+Array(t+1-n.length).join(r)+e},h={s:d,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),o=r%60;return(t<=0?"+":"-")+d(n,2,"0")+":"+d(o,2,"0")},m:function e(t,r){if(t.date()3&&void 0!==arguments[3]?arguments[3]:{};if((0,u.default)(this,t),(0,f.default)(this,"baseUrl",void 0),(0,f.default)(this,"baseAnalyticsUrl",void 0),(0,f.default)(this,"apiKey",void 0),(0,f.default)(this,"appId",void 0),(0,f.default)(this,"usingApiSecret",void 0),(0,f.default)(this,"apiSecret",void 0),(0,f.default)(this,"userToken",void 0),(0,f.default)(this,"enrichByDefault",void 0),(0,f.default)(this,"options",void 0),(0,f.default)(this,"userId",void 0),(0,f.default)(this,"authPayload",void 0),(0,f.default)(this,"version",void 0),(0,f.default)(this,"fayeUrl",void 0),(0,f.default)(this,"group",void 0),(0,f.default)(this,"expireTokens",void 0),(0,f.default)(this,"location",void 0),(0,f.default)(this,"fayeClient",void 0),(0,f.default)(this,"browser",void 0),(0,f.default)(this,"node",void 0),(0,f.default)(this,"nodeOptions",void 0),(0,f.default)(this,"request",void 0),(0,f.default)(this,"subscriptions",void 0),(0,f.default)(this,"handlers",void 0),(0,f.default)(this,"currentUser",void 0),(0,f.default)(this,"personalization",void 0),(0,f.default)(this,"collections",void 0),(0,f.default)(this,"files",void 0),(0,f.default)(this,"images",void 0),(0,f.default)(this,"reactions",void 0),(0,f.default)(this,"_personalizationToken",void 0),(0,f.default)(this,"_collectionsToken",void 0),(0,f.default)(this,"_getOrCreateToken",void 0),(0,f.default)(this,"addToMany",void 0),(0,f.default)(this,"followMany",void 0),(0,f.default)(this,"unfollowMany",void 0),(0,f.default)(this,"createRedirectUrl",void 0),(0,f.default)(this,"replaceReactionOptions",(function(e){null!=e&&e.reactions&&(null!=e.reactions.own&&(e.withOwnReactions=e.reactions.own),null!=e.reactions.recent&&(e.withRecentReactions=e.reactions.recent),null!=e.reactions.counts&&(e.withReactionCounts=e.reactions.counts),null!=e.reactions.own_children&&(e.withOwnChildren=e.reactions.own_children),delete e.reactions)})),(0,f.default)(this,"handleResponse",(function(e){if(/^2/.test("".concat(e.status)))return l.send("response",null,e,e.data),e.data;throw new j.StreamApiError("".concat(JSON.stringify(e.data)," with HTTP status code ").concat(e.status),e.data,e)})),(0,f.default)(this,"doAxiosRequest",function(){var e=(0,c.default)(i.default.mark((function e(t,r){var n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l.send("request",t,r),e.prev=1,e.next=4,l.request(l.enrichKwargs(A({method:t},r)));case 4:return n=e.sent,e.abrupt("return",l.handleResponse(n));case 8:if(e.prev=8,e.t0=e.catch(1),!e.t0.response){e.next=12;break}return e.abrupt("return",l.handleResponse(e.t0.response));case 12:throw new j.SiteError(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,r){return e.apply(this,arguments)}}()),this.baseUrl="https://api.stream-io-api.com/api/",this.baseAnalyticsUrl="https://analytics.stream-io-api.com/analytics/",this.apiKey=r,this.usingApiSecret=null!=n&&!n.includes("."),this.apiSecret=this.usingApiSecret?n:null,this.userToken=this.usingApiSecret?null:n,this.enrichByDefault=!this.usingApiSecret,null!=this.userToken){var O=(0,v.default)(this.userToken);if(!O.user_id)throw new TypeError("user_id is missing in user token");this.userId=O.user_id,this.currentUser=this.user(this.userId)}if(this.appId=o,this.options=d,this.version=this.options.version||"v1.0",this.fayeUrl=this.options.fayeUrl||"https://faye-us-east.stream-io-api.com/faye",this.fayeClient=null,this.group=this.options.group||"unspecified",this.subscriptions={},this.expireTokens=!!this.options.expireTokens&&this.options.expireTokens,this.location=this.options.location,this.baseUrl=this.getBaseUrl(),void 0!==e&&null!==(a={})&&void 0!==a&&a.LOCAL_FAYE&&(this.fayeUrl="http://localhost:9999/faye/"),void 0!==e&&null!==(s={})&&void 0!==s&&s.STREAM_ANALYTICS_BASE_URL&&(this.baseAnalyticsUrl={}.STREAM_ANALYTICS_BASE_URL),this.handlers={},this.browser=void 0!==this.options.browser?this.options.browser:"undefined"!=typeof window,this.node=!this.browser,this.node){var x=void 0===this.options.keepAlive||this.options.keepAlive;this.nodeOptions={httpAgent:new h.Agent({keepAlive:x,keepAliveMsecs:3e3}),httpsAgent:new m.Agent({keepAlive:x,keepAliveMsecs:3e3})}}if(this.request=p.default.create(A({timeout:this.options.timeout||1e4,withCredentials:!1},this.nodeOptions||{})),this.personalization=new g.Personalization(this),this.browser&&this.usingApiSecret)throw new j.FeedError('You are publicly sharing your App Secret. Do not expose the App Secret in browsers, "native" mobile apps, or other non-trusted environments.');this.collections=new b.Collections(this,this.getOrCreateToken()),this.files=new y.StreamFileStore(this,this.getOrCreateToken()),this.images=new w.StreamImageStore(this,this.getOrCreateToken()),this.reactions=new _.StreamReaction(this,this.getOrCreateToken()),E.default&&P.default&&(this.addToMany=E.default.addToMany,this.followMany=E.default.followMany,this.unfollowMany=E.default.unfollowMany,this.createRedirectUrl=P.default)}var r,n;return(0,l.default)(t,[{key:"_throwMissingApiSecret",value:function(){if(!this.usingApiSecret)throw new j.SiteError("This method can only be used server-side using your API Secret, use client = stream.connect(key, secret);")}},{key:"getPersonalizationToken",value:function(){return this._personalizationToken||(this._throwMissingApiSecret(),this._personalizationToken=(0,x.JWTScopeToken)(this.apiSecret,"personalization","*",{userId:"*",feedId:"*",expireTokens:this.expireTokens})),this._personalizationToken}},{key:"getCollectionsToken",value:function(){return this._collectionsToken||(this._throwMissingApiSecret(),this._collectionsToken=(0,x.JWTScopeToken)(this.apiSecret,"collections","*",{feedId:"*",expireTokens:this.expireTokens})),this._collectionsToken}},{key:"getAnalyticsToken",value:function(){return this._throwMissingApiSecret(),(0,x.JWTScopeToken)(this.apiSecret,"analytics","*",{userId:"*",expireTokens:this.expireTokens})}},{key:"getBaseUrl",value:function(t){var r,n;if(t||(t="api"),this.options.urlOverride&&this.options.urlOverride[t])return this.options.urlOverride[t];var o="api"===t?"STREAM_BASE_URL":"STREAM_".concat(t.toUpperCase(),"_URL");if(void 0!==e&&null!==(r={})&&void 0!==r&&r[o])return{}[o];if(void 0!==e&&null!==(n={})&&void 0!==n&&n.LOCAL||this.options.local)return"http://localhost:8000/".concat(t,"/");if(this.location){var i=this.options.protocol||"https";return"".concat(i,"://").concat(this.location,"-").concat(t,".stream-io-api.com/").concat(t,"/")}return"api"!==t?"https://".concat(t,".stream-io-api.com/").concat(t,"/"):this.baseUrl}},{key:"on",value:function(e,t){this.handlers[e]=t}},{key:"off",value:function(e){void 0===e?this.handlers={}:delete this.handlers[e]}},{key:"send",value:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:{};if(void 0!==e.enrich){var t=e.enrich;return delete e.enrich,t}return this.enrichByDefault||null!=e.ownReactions||null!=e.withRecentReactions||null!=e.withReactionCounts||null!=e.withOwnChildren}},{key:"enrichKwargs",value:function(e){var t=e.method,r=e.token,n=(0,s.default)(e,["method","token"]);return A({method:t,url:this.enrichUrl(n.url,n.serviceName),data:n.body,params:A({api_key:this.apiKey,location:this.group},n.qs||{}),headers:A({"X-Stream-Client":this.userAgent(),"stream-auth-type":"jwt",Authorization:r},n.headers||{})},n.axiosOptions||{})}},{key:"getFayeAuthorization",value:function(){var e=this;return{incoming:function(e,t){return t(e)},outgoing:function(t,r){if(t.subscription&&e.subscriptions[t.subscription]){var n=e.subscriptions[t.subscription];t.ext={user_id:n.userId,api_key:e.apiKey,signature:n.token}}r(t)}}}},{key:"getFayeClient",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;if(null===this.fayeClient){this.fayeClient=new d.Client(this.fayeUrl,{timeout:e});var t=this.getFayeAuthorization();this.fayeClient.addExtension(t)}return this.fayeClient}},{key:"upload",value:function(e,t,r,n,o){var i=k.default.addFileToFormData(t,r,n);return this.doAxiosRequest("POST",{url:e,body:i,headers:i.getHeaders?i.getHeaders():{},token:this.getOrCreateToken(),axiosOptions:{timeout:0,maxContentLength:1/0,maxBodyLength:1/0,onUploadProgress:o}})}},{key:"get",value:function(e){return this.doAxiosRequest("GET",e)}},{key:"post",value:function(e){return this.doAxiosRequest("POST",e)}},{key:"delete",value:function(e){return this.doAxiosRequest("DELETE",e)}},{key:"put",value:function(e){return this.doAxiosRequest("PUT",e)}},{key:"createUserToken",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._throwMissingApiSecret(),(0,x.JWTUserSessionToken)(this.apiSecret,e,t,{noTimestamp:!this.expireTokens})}},{key:"updateActivities",value:function(e){if(this._throwMissingApiSecret(),!(e instanceof Array))throw new TypeError("The activities argument should be an Array");var t=(0,x.JWTScopeToken)(this.apiSecret,"activities","*",{feedId:"*",expireTokens:this.expireTokens});return this.post({url:"activities/",body:{activities:e},token:t})}},{key:"updateActivity",value:function(e){return this._throwMissingApiSecret(),this.updateActivities([e])}},{key:"getActivities",value:function(e){var t=e.ids,r=e.foreignIDTimes,n=(0,s.default)(e,["ids","foreignIDTimes"]),o={};if(t){if(!(t instanceof Array))throw new TypeError("The ids argument should be an Array");o.ids=t.join(",")}else{if(!r)throw new TypeError("Missing ids or foreignIDTimes params");if(!(r instanceof Array))throw new TypeError("The foreignIDTimes argument should be an Array");var i=[],a=[];r.forEach((function(e){if(!(e instanceof Object))throw new TypeError("foreignIDTimes elements should be Objects");i.push(e.foreign_id||e.foreignID),a.push(e.time)})),o.foreign_ids=i.join(","),o.timestamps=a.join(",")}var c=this.userToken;this.usingApiSecret&&(c=(0,x.JWTScopeToken)(this.apiSecret,"activities","*",{feedId:"*",expireTokens:this.expireTokens})),this.replaceReactionOptions(n);var u=this.shouldUseEnrichEndpoint(n)?"enrich/activities/":"activities/";return this.get({url:u,qs:A(A({},n),o),token:c})}},{key:"getOrCreateToken",value:function(){return this._getOrCreateToken||(this._getOrCreateToken=this.usingApiSecret?(0,x.JWTScopeToken)(this.apiSecret,"*","*",{feedId:"*"}):this.userToken),this._getOrCreateToken}},{key:"user",value:function(e){return new O.StreamUser(this,e,this.getOrCreateToken())}},{key:"setUser",value:(n=(0,c.default)(i.default.mark((function e(t){var r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.usingApiSecret){e.next=2;break}throw new j.SiteError("This method can only be used client-side using a user token");case 2:return delete(r=A({},t)).id,e.next=6,this.currentUser.getOrCreate(r);case 6:return n=e.sent,this.currentUser=n,e.abrupt("return",n);case 9:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"og",value:function(e){return this.get({url:"og/",qs:{url:e},token:this.getOrCreateToken()})}},{key:"personalizedFeed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.get({url:"enrich/personalization/feed/",qs:e,token:this.getOrCreateToken()})}},{key:"activityPartialUpdate",value:(r=(0,c.default)(i.default.mark((function e(t){var r,n,o,c,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.activitiesPartialUpdate([t]);case 2:return r=e.sent,n=r.activities,o=(0,s.default)(r,["activities"]),c=(0,a.default)(n,1),u=c[0],e.abrupt("return",A(A({},u),o));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"activitiesPartialUpdate",value:function(e){if(!(e instanceof Array))throw new TypeError("changes should be an Array");e.forEach((function(e){if(!(e instanceof Object))throw new TypeError("changeset should be and Object");if(e.foreignID&&(e.foreign_id=e.foreignID),void 0===e.id&&(void 0===e.foreign_id||void 0===e.time))throw new TypeError("missing id or foreign_id and time");if(e.set&&!(e.set instanceof Object))throw new TypeError("set field should be an Object");if(e.unset&&!(e.unset instanceof Array))throw new TypeError("unset field should be an Array")}));var t=this.userToken;return this.usingApiSecret&&(t=(0,x.JWTScopeToken)(this.apiSecret,"activities","*",{feedId:"*",expireTokens:this.expireTokens})),this.post({url:"activity/",body:{changes:e},token:t})}}]),t}();t.StreamClient=R}).call(this,r("5IsQ"))},jzsW:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("l4B8"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,LoadMoreButton:o.a,React:i}},k0FJ:function(e,t,r){"use strict";function n(){return(n=Object.assign||function(e){for(var t=1;tl;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},kXPx:function(e,t,r){var n=r("COrk"),o=r("edSL"),i=r("dtdj"),a=r("BwbT"),s=r("2EQx"),c=r("a7YA"),u=r("cTHi");e.exports=function(e,t){return a(e)&&s(t)?c(u(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},kidB:function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=r=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=r=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),r(t)}e.exports=r,e.exports.default=e.exports,e.exports.__esModule=!0},knvM:function(e,t,r){var n=r("+dZb")("unionBy",r("qkBe"));n.placeholder=r("IOY3"),e.exports=n},"l3+0":function(e,t,r){var n=r("ofiy");e.exports=function(e,t){return!!(null==e?0:e.length)&&n(e,t,0)>-1}},l4B8:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("FMa6"),a=r("/asK"),s=r("aD51");"undefined"!=typeof LoadMoreButtonProps&&LoadMoreButtonProps&&LoadMoreButtonProps===Object(LoadMoreButtonProps)&&Object.isExtensible(LoadMoreButtonProps)&&!LoadMoreButtonProps.hasOwnProperty("__filemeta")&&Object.defineProperty(LoadMoreButtonProps,"__filemeta",{configurable:!0,value:{name:"LoadMoreButtonProps",filename:"src/components/LoadMoreButton.tsx"}});var c=function(e){var t=e.onClick,r=e.refreshing,n=void 0!==r&&r,c=e.children,u=e.className,l=e.style,f=Object(a.b)().t;return Object(s.c)("div",{className:o()("raf-load-more-button",u),style:l},Object(s.c)(i.a,{onClick:t,buttonStyle:"info",disabled:n,loading:n},c||f("Load more")))};void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"LoadMoreButton",filename:"src/components/LoadMoreButton.tsx"}})},l7Do:function(e,t,r){var n=r("WRuO"),o=r("SN9N"),i=r("EN0E"),a=r("ONOI"),s=r("9aUh"),c=r("Vujp"),u=r("Bq5F");e.exports=function e(t,r,l,f,p){t!==r&&i(r,(function(i,c){if(p||(p=new n),s(i))a(t,r,c,l,e,f,p);else{var d=f?f(u(t,c),i,c+"",t,r,p):void 0;void 0===d&&(d=i),o(t,c,d)}}),c)}},lLPU:function(e,t,r){var n=r("f/Xo"),o=r("YaJL"),i=r("yoW1"),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},lUv3:function(e,t,r){var n=r("nEaP");e.exports=n},lYsT:function(e,t,r){var n=r("UgeB"),o=r("T9Ud"),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},lcn4:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("pGZ+"),i=r("+mwj"),a=r("6+Ft"),s=r("WQtb"),c=r("mXGw");t.default={Playground:n.c,Props:n.d,WithExampleStreamApp:o.b,Activity:i.a,FlatFeed:a.a,StatusUpdateForm:s.a,React:c}},lgYy:function(e,t,r){var n=r("9aUh"),o=r("jL4t"),i=r("6758"),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},lkaj:function(e){e.exports=JSON.parse('{"1 comment":"1 कमेंट","1 like":"1 लाइक","1 repost":"1 रिपोस्ट","Activity":"गतिविधि","Animals & Nature":"जानवर और प्रकृति","Choose your default skin tone":"अपना डिफ़ॉल्ट स्किन टोन चुनें","Clear":"हटाएं","Custom":"कस्टम","Details":"डिटेल्स","Emoji categories":"इमोजी श्रेणियां","Flags":"झंडे","Food & Drink":"खाने-पीने की चीज़ें","Frequently Used":"अधिकतर इस्तेमाल हुए","Getting website data...":"वेबसाइट डेटा प्राप्त कर रहा है ...","Load activities":"एक्टिविटीज को लोड करें","Load more":"एक्टिविटीज को लोड करें","New Post":"नया पोस्ट","No data to display...":"कोई डेटा उपलब्ध नहीं है","No emoji found":"कोई इमोजी नहीं मिला","Objects":"चीज़ें","Pick your emoji":"अपनी इमोजी चुनिए","Post":"पोस्ट करे","Search":"खोजें","Search Results":"परिणाम","Smileys & Emotion":"स्माइली और भावनाएं","Start Typing...":"टाइप करना शुरू करें ...","Symbols":"चिन्ह","Travel & Places":"यात्रा और जगहें","Type your post...":"अपनी पोस्ट लिखें ...","You have 1 new notification":"आपके पास 1 नई नोटिफिकेशन है","You have {{ notificationCount }} new notifications":"आपके पास {{ notificationCount }} नई नोटिफिकेशन्स है","{{ actorName }} and 1 other commented on your {{ activityVerb }}":"{{ actorName }} और १ और यूजर ने आपके {{ activityVerb }} के ऊपर कमेंट किया ","{{ actorName }} and 1 other followed you":"{{ actorName }} और १ और यूजर ने आपको फॉलो किया","{{ actorName }} and 1 other liked your {{ activityVerb }}":"{{ actorName }} और १ और यूजर ने आपके {{ activityVerb }} को लाइक किया","{{ actorName }} and 1 other reposted your {{ activityVerb }}":"{{ actorName }} और १ और यूजर ने आपके {{ activityVerb }} को रिपोस्ट किया","{{ actorName }} and {{ countOtherActors }} others commented on your {{ activityVerb }}":"{{ actorName }} और {{ countOtherActors }} और यूजर ने आपके {{ activityVerb }} पे कमेंट किया ","{{ actorName }} and {{ countOtherActors }} others followed you":"{{ actorName }} और {{ countOtherActors }} और यूजर ने आपको फॉलो किया","{{ actorName }} and {{ countOtherActors }} others liked your {{ activityVerb }}":"{{ actorName }} और {{ countOtherActors }} और यूजर ने आपके {{ activityVerb }} को लाइक किया","{{ actorName }} and {{ countOtherActors }} others reposted your {{ activityVerb }}":"{{ actorName }} और {{ countOtherActors }} और यूजर ने आपके {{ activityVerb }} को रिपोस्ट किया ","{{ actorName }} commented on your {{ activityVerb }}":"{{ actorName }} ने आपके {{ activityVerb }} के ऊपर कमेंट किया","{{ actorName }} followed you":"{{ actorName }} ने आपको फॉलो किया","{{ actorName }} liked your {{ activityVerb }}":"{{ actorName }} ने आपके {{ activityVerb }} को लाइक किया","{{ actorName }} reposted your {{ activityVerb }}":"{{ actorName }} ने आपके {{ activityVerb }} को रिपोस्ट किया","{{ countComments }} comments":"{{ countComments }} कमैंट्स","{{ countLikes }} likes":"{{ countLikes }} लाइक्स","{{ countReposts }} reposts":"{{ countReposts }} रेपोस्टस"}')},lw3w:function(e,t,r){var n;e.exports=(n=r("rzlk"))&&n.default||n},lwI7:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("pGZ+"),i=r("c8O6"),a=r("+mwj"),s=r("Cy6g"),c=r("1SHM"),u=r("mXGw");t.default={Playground:n.c,Props:n.d,WithExampleStreamApp:o.b,SinglePost:i.a,Activity:a.a,CommentField:s.a,CommentList:c.a,React:u}},m3cY:function(e,t,r){var n=r("PAOY"),o=r("zYYD"),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,n).replace(a,"")}},m5HO:function(e,t){t.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},t.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},t.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},t.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},t.realToAlias=function(){var e=Object.prototype.hasOwnProperty,r=t.aliasToReal,n={};for(var o in r){var i=r[o];e.call(n,i)?n[i].push(o):n[i]=[o]}return n}(),t.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},mDEU:function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){var t=e.scanner.TOKENS,r=e.parser,n=r.TOKENS,o=r.State,i=n.Base,a=e.parser.start,s=t.DOMAIN,c=t.LOCALHOST,u=t.NUM,l=t.SLASH,f=t.TLD,p=t.UNDERSCORE,d=t.DOT,h=t.AT;function m(e){this.v=e}e.inherits(i,m,{type:"mention",isLink:!0,toHref:function(){return"/"+this.toString().substr(1)}});var v=a.jump(t.AT),g=new o,b=new o(m),y=new o,w=new o;v.on(p,g),g.on(p,g).on(d,g),v.on(s,b).on(c,b).on(f,b).on(u,b),g.on(s,b).on(c,b).on(f,b).on(u,b),b.on(s,b).on(c,b).on(f,b).on(u,b).on(p,b),b.on(l,y).on(d,y).on(h,y),y.on(p,w),w.on(p,w),y.on(s,b).on(c,b).on(f,b).on(u,b),w.on(s,b).on(c,b).on(f,b).on(u,b)}},mEVR:function(e,t,r){"use strict";r.r(t);r("Yeux")},mFYZ:function(e,t,r){!function(){var t=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],r="undefined"!=typeof window,n=r&&null!=window.mozInnerScreenX;function o(e,o,i){if(!r)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var a=i&&i.debug||!1;if(a){var s=document.querySelector("#input-textarea-caret-position-mirror-div");s&&s.parentNode.removeChild(s)}var c=document.createElement("div");c.id="input-textarea-caret-position-mirror-div",document.body.appendChild(c);var u=c.style,l=window.getComputedStyle?getComputedStyle(e):e.currentStyle;u.whiteSpace="pre-wrap","INPUT"!==e.nodeName&&(u.wordWrap="break-word"),u.position="absolute",a||(u.visibility="hidden"),t.forEach((function(e){u[e]=l[e]})),n?e.scrollHeight>parseInt(l.height)&&(u.overflowY="scroll"):u.overflow="hidden",c.textContent=e.value.substring(0,o),"INPUT"===e.nodeName&&(c.textContent=c.textContent.replace(/\s/g," "));var f=document.createElement("span");f.textContent=e.value.substring(o)||".",c.appendChild(f);var p={top:f.offsetTop+parseInt(l.borderTopWidth),left:f.offsetLeft+parseInt(l.borderLeftWidth)};return a?f.style.backgroundColor="#aaa":document.body.removeChild(c),p}void 0!==e.exports?e.exports=o:r&&(window.getCaretCoordinates=o)}()},mG8t:function(e,t,r){e.exports=r("o7OJ")},mH3y:function(e,t){e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},mJLn:function(e){e.exports=JSON.parse('{"author":{"name":"Thierry Schellenbach","company":"Stream.io Inc"},"name":"getstream","description":"The official low-level GetStream.io client for Node.js and the browser.","main":"./lib/index.js","module":"./lib/index.js","types":"./lib/index.d.ts","homepage":"https://getstream.io/docs/?language=js","email":"support@getstream.io","license":"BSD-3-Clause","version":"7.2.11","scripts":{"transpile":"babel src --out-dir lib --extensions \'.ts\'","types":"tsc --emitDeclarationOnly","build":"rm -rf lib && yarn run transpile && yarn run types","dist":"webpack && webpack --env minify","eslint":"eslint \'**/*.{js,ts}\' --max-warnings 0","prettier":"prettier --list-different \'**/*.{js,ts}\'","lint":"yarn run prettier && yarn run eslint","lint-fix":"prettier --write \'**/*.{js,ts}\' && eslint --fix \'**/*.{js,ts}\'","test":"yarn run test-unit-node","test-types":"tsc --esModuleInterop true --noEmit true test/typescript/*.ts","test-unit-node":"mocha --require ./babel-register.js test/unit/common test/unit/node","test-integration-node":"mocha --require ./babel-register.js test/integration/common test/integration/node --exit","test-cloud":"mocha --require ./babel-register.js test/integration/cloud --timeout 40000","test-cloud-local":"LOCAL=true mocha --require ./babel-register.js test/integration/cloud --timeout 40000 --ignore \'test/integration/cloud/{personalized_feed,files,images}.js\'","test-browser":"karma start karma.config.js","prepare":"yarn run build","preversion":"yarn run test-unit-node","version":"yarn run dist && yarn run build && git add dist","postversion":"git push && git push --tags && npm publish"},"husky":{"hooks":{"pre-commit":"yarn run lint"}},"browser":{"crypto":false,"jsonwebtoken":false,"./lib/batch_operations.js":false,"./lib/redirect_url.js":false,"qs":false,"url":false,"http":false,"https":false},"react-native":{"crypto":false,"jsonwebtoken":false,"./lib/batch_operations.js":false,"./lib/redirect_url.js":false,"qs":false,"url":false},"devDependencies":{"@babel/cli":"^7.13.10","@babel/core":"^7.13.10","@babel/node":"^7.13.10","@babel/plugin-proposal-class-properties":"^7.13.0","@babel/plugin-proposal-object-rest-spread":"^7.13.8","@babel/plugin-transform-object-assign":"^7.12.13","@babel/plugin-transform-runtime":"^7.13.10","@babel/preset-env":"^7.13.10","@babel/preset-typescript":"^7.13.0","@babel/register":"^7.13.8","@typescript-eslint/eslint-plugin":"^4.17.0","@typescript-eslint/parser":"^4.17.0","babel-eslint":"^10.1.0","babel-loader":"^8.2.2","chai":"^4.3.3","dotenv":"^8.2.0","eslint":"^7.21.0","eslint-config-airbnb-base":"^14.2.1","eslint-config-prettier":"^8.1.0","eslint-plugin-chai-friendly":"^0.6.0","eslint-plugin-import":"^2.22.1","eslint-plugin-prettier":"^3.3.1","eslint-plugin-sonarjs":"^0.7.0","eslint-plugin-typescript-sort-keys":"^1.5.0","expect.js":"^0.3.1","husky":"^4.3.8","json-loader":"~0.5.7","karma":"^6.1.2","karma-chrome-launcher":"^3.1.0","karma-mocha":"^2.0.1","karma-mocha-reporter":"~2.2.5","karma-sauce-launcher":"^4.3.5","karma-sourcemap-loader":"~0.3.8","karma-webpack":"^5.0.0","mocha":"^8.3.1","null-loader":"^4.0.1","nyc":"^15.1.0","prettier":"^2.2.1","request":"^2.88.2","testdouble":"^3.16.1","typescript":"^4.2.3","webpack":"^5.24.4","webpack-cli":"^4.5.0"},"dependencies":{"@babel/runtime":"^7.13.10","@types/jsonwebtoken":"^8.5.0","@types/jwt-decode":"^2.2.1","@types/qs":"^6.9.6","axios":"^0.21.1","faye":"^1.4.0","form-data":"^4.0.0","jsonwebtoken":"^8.5.1","jwt-decode":"^3.1.2","qs":"^6.9.6"},"peerDependencies":{"@types/node":">=10"},"repository":{"type":"git","url":"git://github.com/GetStream/stream-js.git"},"files":["src","dist","types","lib"],"engines":{"node":"10 || 12 || >=14"},"keywords":["stream","get","get-stream","chat","notification","feed","stream.io","getstream"]}')},mhTI:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=String.fromCodePoint||function(){var e,t,r=16384,n=[],o=-1,i=arguments.length;if(!i)return"";for(var a="";++o1114111||Math.floor(s)!=s)throw RangeError("Invalid code point: "+s);s<=65535?n.push(s):(e=55296+((s-=65536)>>10),t=s%1024+56320,n.push(e,t)),(o+1===i||n.length>r)&&(a+=String.fromCharCode.apply(null,n),n.length=0)}return a};t.default=n},mldb:function(e,t,r){var n=r("GI0s"),o=r("T9Ud");e.exports=function(e){return o(e)&&"[object RegExp]"==n(e)}},mmBF:function(e,t,r){"use strict";(function(t){var n=r("NFrV"),o=r("abqF"),i=r("2cPb"),a=r("BZif"),s=r("o2qG"),c=a(n(r("69GW"),{encode:function(e){var t=i(this.endpoint);return t.query.message=s(e),t.query.jsonp="__jsonp"+c._cbCount+"__",o.stringify(t)},request:function(e){var r=document.getElementsByTagName("head")[0],n=document.createElement("script"),a=c.getCallbackName(),u=i(this.endpoint),l=this;u.query.message=s(e),u.query.jsonp=a;var f=function(){if(!t[a])return!1;t[a]=void 0;try{delete t[a]}catch(e){}n.parentNode.removeChild(n)};return t[a]=function(e){f(),l._receive(e)},n.type="text/javascript",n.src=o.stringify(u),r.appendChild(n),n.onerror=function(){f(),l._handleError(e)},{abort:f}}}),{_cbCount:0,getCallbackName:function(){return this._cbCount+=1,"__jsonp"+this._cbCount+"__"},isUsable:function(e,t,r,n){r.call(n,!0)}});e.exports=c}).call(this,r("pCvA"))},mwLw:function(e,t,r){var n=r("+dZb")("get",r("edSL"));n.placeholder=r("IOY3"),e.exports=n},mzbm:function(e,t,r){var n=r("GE03"),o=r("l3+0"),i=r("BAZ7"),a=r("NmMy"),s=r("TsNJ"),c=r("+165");e.exports=function(e,t,r,u){var l=-1,f=o,p=!0,d=e.length,h=[],m=t.length;if(!d)return h;r&&(t=a(t,s(r))),u?(f=i,p=!1):t.length>=200&&(f=c,p=!1,t=new n(t));e:for(;++l1&&void 0!==arguments[1]?arguments[1]:null,r=c(e),n=[],o=0;o1&&void 0!==arguments[1]?arguments[1]:null,r=c(e);return 1===r.length&&r[0].isLink&&(!t||r[0].type===t)},t.tokenize=c},oCnO:function(e,t,r){e.exports=function(){"use strict";return function(e,t,r){var n=function(e,t){if(!t||!t.length||!t[0]||1===t.length&&!t[0].length)return null;var r;1===t.length&&t[0].length>0&&(t=t[0]),r=t[0];for(var n=1;n=0||(o[r]=e[r]);return o}r.d(t,"a",(function(){return n}))},ofiy:function(e,t,r){var n=r("aCmY"),o=r("VbZR"),i=r("oagz");e.exports=function(e,t,r){return t==t?i(e,t,r):n(e,o,r)}},ohHe:function(e,t,r){var n=r("GI0s"),o=r("T9Ud"),i=r("NfLg");e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Error]"==t||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!i(e)}},oizr:function(e,t,r){"use strict";r.d(t,"a",(function(){return g}));var n=r("HGLW"),o=r("mXGw"),i=r.n(o),a=r("ca/S"),s=r("WjHG"),c=r("Dg5a"),u=r("byEl"),l=r("6kP9"),f=r("QBKC"),p=r("LFXc"),d=r("aD51");function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;tthis.maxMargin?this.maxMargin:t)!=this.margin)return this.props.hasStickyPosition||(this.label.style.top="".concat(t,"px")),this.margin=t,!0}},{key:"getEmojis",value:function(){var e=this,t=this.props,r=t.name,n=t.emojis,o=t.recent,i=t.perLine;if("Recent"==r){var a=this.props.custom,s=o||p.default.get(i);if(s.length&&(n=s.map((function(e){var t=a.filter((function(t){return t.id===e}))[0];return t||e})).filter((function(t){return!!(0,d.getData)(t,null,null,e.data)}))),0===n.length&&s.length>0)return null}return n&&(n=n.slice(0)),n}},{key:"updateDisplay",value:function(e){this.getEmojis()&&this.container&&(this.container.style.display=e)}},{key:"setContainerRef",value:function(e){this.container=e}},{key:"setLabelRef",value:function(e){this.label=e}},{key:"render",value:function(){var e=this,t=this.props,r=t.id,n=t.name,i=t.hasStickyPosition,a=t.emojiProps,s=t.i18n,c=t.notFound,u=t.notFoundEmoji,l=this.getEmojis(),p={},d={},g={};l||(g={display:"none"}),i||(p={height:28},d={position:"absolute"});var b=s.categories[r]||n;return f.default.createElement("section",{ref:this.setContainerRef,className:"emoji-mart-category","aria-label":b,style:g},f.default.createElement("div",{style:p,"data-name":n,className:"emoji-mart-category-label"},f.default.createElement("span",{style:d,ref:this.setLabelRef,"aria-hidden":!0},b)),f.default.createElement("ul",{className:"emoji-mart-category-list"},l&&l.map((function(t){return f.default.createElement("li",{key:t.short_names&&t.short_names.join("_")||t},(0,h.default)(function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(r){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){s=e,window.addEventListener?(window.addEventListener("blur",u,!1),document.addEventListener("focus",l,!0)):(window.attachEvent("onBlur",u),document.attachEvent("onFocus",l))},t.teardownScopedFocus=function(){s=null,window.addEventListener?(window.removeEventListener("blur",u),document.removeEventListener("focus",l)):(window.detachEvent("onBlur",u),document.detachEvent("onFocus",l))};var n,o=r("XrU5"),i=(n=o)&&n.__esModule?n:{default:n};var a=[],s=null,c=!1;function u(){c=!0}function l(){if(c){if(c=!1,!s)return;setTimeout((function(){s.contains(document.activeElement)||((0,i.default)(s)[0]||s).focus()}),0)}}},pCs0:function(e,t){var r=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;e.exports=function(e){return e.match(r)||[]}},pCvA:function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(n){"object"==typeof window&&(r=window)}e.exports=r},"pGZ+":function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"e",(function(){return u})),r.d(t,"a",(function(){return l}));var n=r("mXGw"),o=r("doU1"),i=r("aD51"),a=function(e){var t=e.children;return Object(i.c)(o.a,{apiKey:"fpwesm5u2evu",appId:"64527",token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoiZXhhbXBsZS11c2VyIn0.cM6zFlcQ68qP2LLz-Y6fPeNglfOuwB2aeBUaQild1wg"},t)};void 0!==a&&a&&a===Object(a)&&Object.isExtensible(a)&&!a.hasOwnProperty("__filemeta")&&Object.defineProperty(a,"__filemeta",{configurable:!0,value:{name:"WithExampleStreamApp",filename:"src/components/docz.tsx"}});var s={activities:[{actor:{data:{name:"Jacky Davidson",profileImage:"https://randomuser.me/api/portraits/men/72.jpg"}},verb:"like",object:{verb:"post",attachments:{files:[],images:["https://stream-cloud-uploads.imgix.net/images/41814/a5db2d18-1803-4300-906f-579af270edf1.3356358479_a0e3ee8a05_b.jpg?s=65db066cf45ee7895529725a8d478c14"]},object:"https://stream-cloud-uploads.imgix.net/images/41814/a5db2d18-1803-4300-906f-579af270edf1.3356358479_a0e3ee8a05_b.jpg?s=65db066cf45ee7895529725a8d478c14",actor:{data:{name:"Josh"}}},time:"2021-04-13T07:40:37.975Z"}]};void 0!==s&&s&&s===Object(s)&&Object.isExtensible(s)&&!s.hasOwnProperty("__filemeta")&&Object.defineProperty(s,"__filemeta",{configurable:!0,value:{name:"notificationGroup1",filename:"src/components/docz.tsx"}});var c={activities:[{actor:{data:{name:"Jordan Belfair",profileImage:"https://randomuser.me/api/portraits/women/72.jpg"}},verb:"follow",object:{},time:"2021-04-11T07:40:37.975Z"},{actor:{data:{name:"Jacky Davidson",profileImage:"https://randomuser.me/api/portraits/men/72.jpg"}},verb:"follow",object:{}},{actor:{data:{name:"Jared Fault",profileImage:"https://randomuser.me/api/portraits/women/7.jpg"}},verb:"follow",object:{}}]};void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"notificationGroup2",filename:"src/components/docz.tsx"}});var u=function(e){return new Promise((function(t){return setTimeout(t,e)}))};void 0!==u&&u&&u===Object(u)&&Object.isExtensible(u)&&!u.hasOwnProperty("__filemeta")&&Object.defineProperty(u,"__filemeta",{configurable:!0,value:{name:"resolveAfter",filename:"src/components/docz.tsx"}});var l=function(e){var t=e.children,r=e.initialValue,o=Object(n.useState)(r);return t({state:o[0],setState:o[1]})};void 0!==l&&l&&l===Object(l)&&Object.isExtensible(l)&&!l.hasOwnProperty("__filemeta")&&Object.defineProperty(l,"__filemeta",{configurable:!0,value:{name:"StatefulComponent",filename:"src/components/docz.tsx"}})},pHF5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dumpClassLists=function(){0};var n={},o={};t.add=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),r.add(e)}));var r,i},t.remove=function(e,t){return r=e.classList,i="html"==e.nodeName.toLowerCase()?n:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&r.remove(e)}));var r,i}},pZIW:function(e,t,r){var n=r("b2OE"),o=r("7IP4"),i=r("OF9M"),a=n&&1/i(new n([,-0]))[1]==1/0?function(e){return new n(e)}:o;e.exports=a},pcv9:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("mXGw"),o=function(e,t,r){void 0===r&&(r=!0),Object(n.useEffect)((function(){if(r){var n=function(r){var n;null!==(n=e.current)&&void 0!==n&&n.contains(r.target)||t(r)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),function(){document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}}}),[t,r])};void 0!==o&&o&&o===Object(o)&&Object.isExtensible(o)&&!o.hasOwnProperty("__filemeta")&&Object.defineProperty(o,"__filemeta",{configurable:!0,value:{name:"useOnClickOutside",filename:"src/hooks/useOnClickOutside.ts"}})},"pj/D":function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("1SHM"),i=r("pGZ+"),a=r("ca/S"),s=r("mXGw");t.default={Playground:n.c,Props:n.d,CommentList:o.a,WithExampleStreamApp:i.b,Feed:a.a,React:s}},"q+I6":function(e,t){var r=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&r.test(e))&&e>-1&&e%1==0&&e0&&(n=r+2,o=s[r])})),r.emojis){var p=r.emojis[l],d=p.unified;p.variations&&p.variations.length&&(d=p.variations.shift()),n&&p.skin_variations&&p.skin_variations[o]&&(d=p.skin_variations[o].unified),u(d)===c&&(a=p)}if(!a)return null;return a.id=a.short_names[0],f(a,n,t,r)},t.getSanitizedData=f,t.uniq=d,t.intersect=function(e,t){var r=d(e),n=d(t);return r.filter((function(e){return n.indexOf(e)>=0}))},t.deepMerge=function e(t,r){var n={};for(var i in t){var a=t[i],s=a;r.hasOwnProperty(i)&&(s=r[i]),"object"===(0,o.default)(s)&&(s=e(a,s)),n[i]=s}return n},t.unifiedToNative=u,t.measureScrollbar=function(){if("undefined"==typeof document)return 0;var e=document.createElement("div");e.style.width="100px",e.style.height="100px",e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t},t.throttleIdleTask=function(e){var t="function"==typeof requestIdleCallback?requestIdleCallback:setTimeout,r=!1;return function(){r||(r=!0,t((function(){r=!1,e()})))}};var o=n(r("kidB")),i=r("dPH4"),a=n(r("mhTI")),s=/^(?:\:([^\:]+)\:)(?:\:skin-tone-(\d)\:)?$/,c=["1F3FA","1F3FB","1F3FC","1F3FD","1F3FE","1F3FF"];function u(e){var t=e.split("-").map((function(e){return"0x".concat(e)}));return a.default.apply(null,t)}function l(e){var t=e.name,r=e.short_names,n=e.skin_tone,o=e.skin_variations,i=e.emoticons,a=e.unified,s=e.custom,c=e.customCategory,l=e.imageUrl,f=e.id||r[0],p=":".concat(f,":");return s?{id:f,name:t,short_names:r,colons:p,emoticons:i,custom:s,customCategory:c,imageUrl:l}:(n&&(p+=":skin-tone-".concat(n,":")),{id:f,name:t,short_names:r,colons:p,emoticons:i,unified:a.toLowerCase(),skin:n||(o?1:null),native:u(a)})}function f(){return l(p.apply(void 0,arguments))}function p(e,t,r,n){var o={};if("string"==typeof e){var a=e.match(s);if(a&&(e=a[1],a[2]&&(t=parseInt(a[2],10))),n.aliases.hasOwnProperty(e)&&(e=n.aliases[e]),!n.emojis.hasOwnProperty(e))return null;o=n.emojis[e]}else e.id&&(n.aliases.hasOwnProperty(e.id)&&(e.id=n.aliases[e.id]),n.emojis.hasOwnProperty(e.id)&&(o=n.emojis[e.id],t||(t=e.skin)));if(Object.keys(o).length||((o=e).custom=!0,o.search||(o.search=(0,i.buildSearch)(e))),o.emoticons||(o.emoticons=[]),o.variations||(o.variations=[]),o.skin_variations&&t>1){o=JSON.parse(JSON.stringify(o));var u=c[t-1],l=o.skin_variations[u];if(l&&(!l.variations&&o.variations&&delete o.variations,r&&(null==l["has_img_".concat(r)]||l["has_img_".concat(r)])||!r))for(var f in o.skin_tone=t,l){var p=l[f];o[f]=p}}return o.variations&&o.variations.length&&((o=JSON.parse(JSON.stringify(o))).unified=o.variations.shift()),o}function d(e){return e.reduce((function(e,t){return-1===e.indexOf(t)&&e.push(t),e}),[])}},s3NK:function(e,t){e.exports={}},s3UK:function(e,t,r){var n=r("FfeU"),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},s3t7:function(e,t,r){var n=r("VNQV"),o=r("0KRy"),i=r("rV0Y"),a=r("b2OE"),s=r("fxeQ"),c=r("GI0s"),u=r("bE7W"),l=u(n),f=u(o),p=u(i),d=u(a),h=u(s),m=c;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||i&&"[object Promise]"!=m(i.resolve())||a&&"[object Set]"!=m(new a)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=c(e),r="[object Object]"==t?e.constructor:void 0,n=r?u(r):"";if(n)switch(n){case l:return"[object DataView]";case f:return"[object Map]";case p:return"[object Promise]";case d:return"[object Set]";case h:return"[object WeakMap]"}return t}),e.exports=m},s4Wf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var n,o=r("K/xo");var i=((n=o)&&n.__esModule?n:{default:n}).default,a=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM;t.default=a},sA10:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("KV5O"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,Title:o.a,React:i}},sIZM:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r("mXGw"),o=r("8Jek"),i=r.n(o),a=r("Pdo2"),s=r("qqks"),c=r("LFXc"),u=r("/asK"),l=r("aD51");"undefined"!=typeof UserBarProps&&UserBarProps&&UserBarProps===Object(UserBarProps)&&Object.isExtensible(UserBarProps)&&!UserBarProps.hasOwnProperty("__filemeta")&&Object.defineProperty(UserBarProps,"__filemeta",{configurable:!0,value:{name:"UserBarProps",filename:"src/components/UserBar.tsx"}});var f=function(e){var t=e.time,r=e.timestamp,o=e.Right,f=e.subtitle,p=e.icon,d=e.AfterUsername,h=e.username,m=e.onClickUser,v=e.avatar,g=e.className,b=e.style,y=Object(u.b)().tDateTimeParser,w=Object(n.useMemo)((function(){return[!t&&r?Object(a.d)(r,y):t,r?y(r).toJSON():void 0]}),[r,y]),_=w[0],O=w[1];return Object(l.c)("div",{className:i()("raf-user-bar",g),style:b},v&&Object(l.c)(s.a,{onClick:m,size:50,circle:!0,image:v}),Object(l.c)("div",{className:"raf-user-bar__details"},Object(l.c)("p",{"data-testid":"user-bar-username",className:"raf-user-bar__username",onClick:m},h),d,p&&Object(l.c)("img",{src:p,alt:"icon"}),f&&Object(l.c)("p",{className:"raf-user-bar__subtitle"},Object(l.c)("time",{dateTime:O,title:O},f))),Object(c.a)(o,{},Object(l.c)("p",{className:"raf-user-bar__extra"},Object(l.c)("time",{dateTime:O,title:O},_))))};void 0!==f&&f&&f===Object(f)&&Object.isExtensible(f)&&!f.hasOwnProperty("__filemeta")&&Object.defineProperty(f,"__filemeta",{configurable:!0,value:{name:"UserBar",filename:"src/components/UserBar.tsx"}})},sMae:function(e,t,r){e.exports=function(){"use strict";return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")}}()},sWZd:function(e,t,r){var n=r("PqlX"),o=r("BwbT"),i=r("ULAX"),a=r("zYYD");e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},sZ0V:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("COMz")),i=n(r("g2JX")),a=n(r("mXGw")),s=r("s/V/"),c=r("dPH4"),u=(r("U+o8"),r("CYlu"));function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function f(e){for(var t=1;t").concat(b||"","")):a.default.createElement(x.name,(0,o.default)({onClick:function(e){return function(e,t){t.onClick&&(0,t.onClick)(h(t),e)}(e,t)},onMouseEnter:function(e){return function(e,t){t.onOver&&(0,t.onOver)(h(t),e)}(e,t)},onMouseLeave:function(e){return function(e,t){t.onLeave&&(0,t.onLeave)(h(t),e)}(e,t)},"aria-label":_,title:O,className:y},x.props),a.default.createElement("span",{style:g},b))};v.defaultProps=u.EmojiDefaultProps;var g=v;t.default=g},scUu:function(e,t,r){e.exports={ary:r("MNFw"),assign:r("wnk4"),clone:r("5u71"),curry:r("WYPT"),forEach:r("WMT/"),isArray:r("PqlX"),isError:r("ohHe"),isFunction:r("RqPZ"),isWeakMap:r("TSPQ"),iteratee:r("vft2"),keys:r("Lalj"),rearg:r("YODn"),toInteger:r("LF0y"),toPath:r("ii79")}},tDyL:function(e,t,r){var n=r("wiKJ"),o=r("kXPx"),i=r("yoW1"),a=r("PqlX"),s=r("0qVv");e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):s(e)}},tF07:function(e,t,r){var n=r("9pAD"),o={}.hasOwnProperty;e.exports=function(e,t){return o.call(n(e),t)}},tImM:function(e,t,r){"use strict";function n(e){this.message=e}n.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},n.prototype.__CANCEL__=!0,e.exports=n},tMEJ:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("Eo5u"),o=(r("mXGw"),r("JR5N")),i=r("ca/S"),a=r("doU1"),s=r("yGUY"),c=r("aD51");"undefined"!=typeof RepostButtonProps&&RepostButtonProps&&RepostButtonProps===Object(RepostButtonProps)&&Object.isExtensible(RepostButtonProps)&&!RepostButtonProps.hasOwnProperty("__filemeta")&&Object.defineProperty(RepostButtonProps,"__filemeta",{configurable:!0,value:{name:"RepostButtonProps",filename:"src/components/RepostButton.tsx"}});var u=function(e){var t=e.activity,r=e.feedGroup,u=void 0===r?"user":r,l=e.userId,f=e.repostData,p=e.targetFeeds,d=void 0===p?[]:p,h=e.className,m=e.style,v=Object(i.b)(),g=Object(a.b)(),b="repost"===t.verb&&"object"==typeof t.object?t.object:t;return Object(c.c)(o.a,{counts:b.reaction_counts,own_reactions:b.own_reactions,kind:"repost",onPress:function(){var e;return v.onToggleReaction("repost",b,f,{targetFeeds:[u+":"+(l||(null===(e=g.user)||void 0===e?void 0:e.id))].concat(Object(n.a)(d))})},activeIcon:Object(c.c)(s.j,{style:{color:s.e.Active}}),inactiveIcon:Object(c.c)(s.j,{style:{color:s.e.Inactive}}),className:h,style:m})};void 0!==u&&u&&u===Object(u)&&Object.isExtensible(u)&&!u.hasOwnProperty("__filemeta")&&Object.defineProperty(u,"__filemeta",{configurable:!0,value:{name:"RepostButton",filename:"src/components/RepostButton.tsx"}})},tTDV:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("LqJZ"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,IconBadge:o.a,React:i}},"tb+2":function(e,t,r){var n=r("07F0"),o=r("E7Xw"),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},tfj2:function(e,t,r){(function(e){var n=r("s3UK"),o=r("1ezk"),i=t&&!t.nodeType&&t,a=i&&"object"==typeof e&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,c=(s?s.isBuffer:void 0)||o;e.exports=c}).call(this,r("RoC8")(e))},ti3h:function(e,t,r){var n=r("296D");e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},tuRl:function(e,t,r){"use strict";r.r(t);var n=r("ZFoC"),o=r("j4d1"),i=r("mXGw");t.default={Playground:n.c,Props:n.d,Audio:o.a,React:i}},u2vY:function(e,t,r){var n=r("Exs5");e.exports=function(e){return function(t){return n(t,e)}}},u69n:function(e,t){var r="function"==typeof Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)};function n(){}e.exports=n,n.prototype.emit=function(e){if("error"===e&&(!this._events||!this._events.error||r(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");if(!this._events)return!1;var t=this._events[e];if(!t)return!1;if("function"==typeof t){switch(arguments.length){case 1:t.call(this);break;case 2:t.call(this,arguments[1]);break;case 3:t.call(this,arguments[1],arguments[2]);break;default:var n=Array.prototype.slice.call(arguments,1);t.apply(this,n)}return!0}if(r(t)){n=Array.prototype.slice.call(arguments,1);for(var o=t.slice(),i=0,a=o.length;i0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}},u8FO:function(e,t,r){var n=r("MfmI"),o=r("33Qb"),i=r("SAih"),a=r("9aUh"),s=r("r2IE"),c=r("iysA"),u=r("gPdB"),l=r("LF0y"),f=r("zYYD"),p=/\w*$/;e.exports=function(e,t){var r=30,d="...";if(a(t)){var h="separator"in t?t.separator:h;r="length"in t?l(t.length):r,d="omission"in t?n(t.omission):d}var m=(e=f(e)).length;if(i(e)){var v=u(e);m=v.length}if(r>=m)return e;var g=r-c(d);if(g<1)return d;var b=v?o(v,0,g).join(""):e.slice(0,g);if(void 0===h)return b+d;if(v&&(g+=b.length-g),s(h)){if(e.slice(g).search(h)){var y,w=b;for(h.global||(h=RegExp(h.source,f(p.exec(h))+"g")),h.lastIndex=0;y=h.exec(w);)var _=y.index;b=b.slice(0,void 0===_?g:_)}}else if(e.indexOf(n(h),g)!=g){var O=b.lastIndexOf(h);O>-1&&(b=b.slice(0,O))}return b+d}},u8vn:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));r("mXGw");var n=r("8Jek"),o=r.n(n),i=r("Pdo2"),a=r("qqks"),s=r("aD51");function c(e){var t=e.limit,r=void 0===t?5:t,n=e.users,c=void 0===n?[]:n,u=e.avatarSize,l=void 0===u?30:u,f=e.onClickUser,p=e.className,d=e.style,h=Object(i.h)(f);return Object(s.c)("div",{className:o()("raf-avatar-group",p),style:d},c.slice(0,r).map((function(e,t){var r;return Object(s.c)("div",{className:"raf-avatar-group__avatar",key:"avatar-"+t},Object(s.c)(a.a,{onClick:null==h?void 0:h(e),image:null===(r=e.data)||void 0===r?void 0:r.profileImage,size:l,circle:!0}))})))}"undefined"!=typeof AvatarGroupProps&&AvatarGroupProps&&AvatarGroupProps===Object(AvatarGroupProps)&&Object.isExtensible(AvatarGroupProps)&&!AvatarGroupProps.hasOwnProperty("__filemeta")&&Object.defineProperty(AvatarGroupProps,"__filemeta",{configurable:!0,value:{name:"AvatarGroupProps",filename:"src/components/AvatarGroup.tsx"}}),void 0!==c&&c&&c===Object(c)&&Object.isExtensible(c)&&!c.hasOwnProperty("__filemeta")&&Object.defineProperty(c,"__filemeta",{configurable:!0,value:{name:"AvatarGroup",filename:"src/components/AvatarGroup.tsx"}})},uWlk:function(e,t,r){"use strict";var n=r("H0bX");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r("Sgbw")),i=n(r("AcCc")),a=n(r("Mj04")),s=n(r("D1KR")),c=n(r("YrpG")),u=n(r("ti3h")),l=n(r("mXGw")),f=function(e){function t(e){var r;(0,o.default)(this,t),r=(0,a.default)(this,(0,s.default)(t).call(this,e));var n=e.categories.filter((function(e){return e.first}))[0];return r.state={selected:n.name},r.handleClick=r.handleClick.bind((0,c.default)(r)),r}return(0,u.default)(t,e),(0,i.default)(t,[{key:"handleClick",value:function(e){var t=e.currentTarget.getAttribute("data-index"),r=this.props,n=r.categories;(0,r.onAnchorClick)(n[t],t)}},{key:"render",value:function(){var e=this,t=this.props,r=t.categories,n=t.color,o=t.i18n,i=t.icons,a=this.state.selected;return l.default.createElement("nav",{className:"emoji-mart-anchors","aria-label":o.categorieslabel},r.map((function(t,r){var s=t.id,c=t.name,u=t.anchor,f=c==a;if(!1===u)return null;var p=s.startsWith("custom-")?"custom":s;return l.default.createElement("button",{key:s,"aria-label":o.categories[p],title:o.categories[p],"data-index":r,type:"button",onClick:e.handleClick,className:"emoji-mart-anchor ".concat(f?"emoji-mart-anchor-selected":""),style:{color:f?n:null}},l.default.createElement("div",{className:"emoji-mart-anchor-icon"},i.categories[p]()),l.default.createElement("span",{className:"emoji-mart-anchor-bar",style:{backgroundColor:n}}))})))}}]),t}(l.default.PureComponent);t.default=f,f.defaultProps={categories:[],onAnchorClick:function(){},icons:{}}},uahg:function(e,t,r){"use strict";var n=r("ovh1"),o=r("fwl+"),i=r("i0F7"),a=r("guUT"),s=r("Zrjs");function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,r,n){return this.request(s(n||{},{method:e,url:t,data:r}))}})),e.exports=c},"ui+V":function(e,t,r){var n=r("kidB").default;function o(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return o=function(){return e},e}e.exports=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var t=o();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(r,a,s):r[a]=e[a]}return r.default=e,t&&t.set(e,r),r},e.exports.default=e.exports,e.exports.__esModule=!0},ujzH:function(e,t,r){var n=r("8OJN"),o=r("ek/P");e.exports=Object.keys||function(e){return n(e,o)}},v0JE:function(e,t,r){var n=r("tF07"),o=r("LMdw"),i=r("Fup7"),a=r("nRc6");e.exports=function(e,t){for(var r=o(t),s=a.f,c=i.f,u=0;u1&&void 0!==arguments[1]?arguments[1]:{},n=r.emojisToShowFilter,o=r.maxResults,i=r.include,s=r.exclude,u=r.custom,l=void 0===u?[]:u;this.customEmojisList!=l&&this.addCustomToPool(l,this.originalPool);var f=c.default.get("skin")||1;o||(o=75),i||(i=[]),s||(s=[]);var p=null,d=this.originalPool;if(e.length){if("-"==e||"-1"==e)return[this.emojis[-1][f]];var h=e.toLowerCase().split(/[\s|,|\-|_]+/),m=[];if(h.length>2&&(h=[h[0],h[1]]),(i.length||s.length)&&(d={},this.data.categories.forEach((function(e){var r=!i||!i.length||i.indexOf(e.id)>-1,n=!(!s||!s.length)&&s.indexOf(e.id)>-1;r&&!n&&e.emojis.forEach((function(e){return d[e]=t.data.emojis[e]}))})),l.length)){var v=!i||!i.length||i.indexOf("custom")>-1,g=!(!s||!s.length)&&s.indexOf("custom")>-1;v&&!g&&this.addCustomToPool(l,d)}p=(m=h.map((function(e){for(var r=d,n=t.index,o=0,i=0;i1?a.intersect.apply(null,m):m.length?m[0]:[]}return p&&(n&&(p=p.filter((function(e){return n(d[e.id])}))),p&&p.length>o&&(p=p.slice(0,o))),p}}]),e}();t.default=u},vDbd:function(e,t,r){var n=r("V2ZB"),o=r("Vujp");e.exports=function(e){return n(e,o(e))}},vMO2:function(e,t,r){"use strict";var n=r("ovh1");e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},vMVM:function(e,t,r){var n=r("jgJv"),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(c){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},vODl:function(e,t,r){"use strict";var n=r("y4Fq"),o=[],i=[],a=n.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function s(e){var t;(t=o.length?o.pop():new c).task=e,n(t)}function c(){this.task=null}e.exports=s,c.prototype.call=function(){try{this.task.call()}catch(e){s.onerror?s.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},vft2:function(e,t,r){var n=r("0711"),o=r("tDyL");e.exports=function(e){return o("function"==typeof e?e:n(e,1))}},vhWV:function(e,t,r){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");-1!==i&&(r=t.substr(i),t=t.substr(0,i));return{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}},vvBr:function(e,t,r){var n=r("naAV");e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},"w/Ji":function(e,t,r){var n,o=r("gDYM"),i=r("11ZY"),a=r("ek/P"),s=r("s3NK"),c=r("R1TW"),u=r("HRgQ"),l=r("3pC9"),f=l("IE_PROTO"),p=function(){},d=function(e){return" \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/attached-activity/index.html b/docs/components/attached-activity/index.html index 23f1dc1c..3f258f4e 100644 --- a/docs/components/attached-activity/index.html +++ b/docs/components/attached-activity/index.html @@ -1,4 +1,4 @@ -Attached activity | React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityPropertiesBasic usageWithout imagesAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    AttachedActivity

    Properties

    activity
    Record<string, unknown> & { attachments?: Attachments | undefined; text?: string | undefined; } & BaseActivity & Pick<Activity<Record<string, unknown>>, "foreign_id" | "id" | "time" | "analytics" | "extra_context" | "origin" | "score"> & { ...; }
    required

    Basic usage

    Avatar | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarPropertiesWithout Image sourceWith Image sourceCircleAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Avatar

    Properties

    alt
    string | undefined
    circle
    boolean | undefined
    image
    string | undefined
    onClick
    ((event: MouseEvent<T, MouseEvent>) => void) | undefined
    rounded
    boolean | undefined
    size
    number | undefined

    Without Image source

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/button/index.html b/docs/components/button/index.html index e1e21676..8d1eda90 100644 --- a/docs/components/button/index.html +++ b/docs/components/button/index.html @@ -1,4 +1,4 @@ -Button | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonPropertiesBasic usageDisabled stateLoading stateComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Button

    Properties

    buttonStyle
    "info" | "primary" | "faded" | undefined
    info
    disabled
    boolean | undefined
    loading
    boolean | undefined
    onClick
    ((event: MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined
    onKeyPress
    ((event: KeyboardEvent<HTMLButtonElement>) => void) | undefined
    type
    "button" | "submit" | "reset" | undefined
    button

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/card/index.html b/docs/components/card/index.html index bbc5889c..b5a8215f 100644 --- a/docs/components/card/index.html +++ b/docs/components/card/index.html @@ -1,4 +1,4 @@ -Card | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardPropertiesBasic usageComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgeIconsInfinite scrollLinkPanelReaction listTime header
    Readme

    Card

    Properties

    alt
    string | undefined
    handleClose
    ((e: SyntheticEvent<Element, Event>) => void) | undefined
    image
    string | null | undefined
    nolink
    boolean | undefined
    title
    string | undefined
    description
    string | undefined
    images
    OGImage[] | undefined
    []
    url
    string | undefined

    Basic usage

    Emoji picker | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerPropertiesBasic usageGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    EmojiPicker

    Properties

    emojiData
    Data | undefined
    i18n
    Partial<Pick<I18n, "search" | "notfound"> & { categories: Partial<Record<CategoryName, string>>; }> | undefined
    onSelect
    ((emoji: EmojiData) => void) | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/flat-feed/index.html b/docs/components/flat-feed/index.html index 49b24be2..5f46b265 100644 --- a/docs/components/flat-feed/index.html +++ b/docs/components/flat-feed/index.html @@ -1,4 +1,4 @@ -Flat feed | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    ActivityFlat feedPropertiesBasic usageWith custom ActivityFooterNotificationNotification dropdownNotification feedSingle postStatus update form
    UI Components
    Layout Components
    Streami18n
    Composition Components
    Readme

    FlatFeed

    This component should be a child of <StreamApp/> component.

    Properties

    Activity
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ activity: EnrichedActivity<UT, AT, CT, RT, CRT>; Card?: string | number | boolean | ReactElement<PropsWithElementAttributes<{ alt?: string | undefined; handleClose?: ((e: SyntheticEvent<Element, Event>) => void) | undefined; image?: string | ... 1...
    Activity (Component)
    LoadingIndicator
    string | number | boolean | ReactElement<LoadingIndicatorProps, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    Notifier
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ adds?: any; deletes?: string[] | undefined; labelFunction?: LabelFunction | undefined; labelPlural?: string | undefined; labelSingle?: string | undefined; onClick?: ((event: MouseEvent<...>) => void) | undefined; }, HTMLButtonElement>, string | .....
    Notifier (NewActivitiesNotification Component)
    Paginator
    string | number | boolean | ReactElement<LoadMorePaginatorProps, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    LoadMorePaginator (Component)
    Placeholder
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ text?: string | undefined; }, HTMLDivElement>, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<...>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    FeedPlaceholder (Component)
    options
    GetFeedOptions | undefined
    feedGroup
    string
    timeline
    userId
    string | undefined
    analyticsLocation
    string | undefined
    doActivityDeleteRequest
    DeleteRequestFn | undefined
    doChildReactionAddRequest
    ((kind: string, reaction: Reaction<RT>, data?: CRT | undefined, options?: ReactionAddChildOptions | undefined) => Promise<ReactionAPIResponse<CRT>>) | undefined
    doChildReactionDeleteRequest
    DeleteRequestFn | undefined
    doFeedRequest
    ((client: StreamClient<UT, AT, CT, RT, CRT, PT>, feedGroup: string, userId?: string | undefined, options?: GetFeedOptions | undefined) => Promise<FeedAPIResponse<UT, AT, CT, RT, CRT>>) | undefined
    doReactionAddRequest
    ((kind: string, activity: Activity<AT>, data?: RT | undefined, options?: ReactionAddOptions | undefined) => Promise<ReactionAPIResponse<RT>>) | undefined
    doReactionDeleteRequest
    DeleteRequestFn | undefined
    doReactionsFilterRequest
    ((options: ReactionFilterConditions) => Promise<ReactionFilterAPIResponse<RT, CRT, AT, UT>>) | undefined
    notify
    boolean | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/flex/index.html b/docs/components/flex/index.html index 9aff345b..dae30f60 100644 --- a/docs/components/flex/index.html +++ b/docs/components/flex/index.html @@ -1,4 +1,4 @@ -Flex | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexPropertiesBasic usageWith custom propertiesFollow buttonIcon badgeIconsInfinite scrollLinkPanelReaction listTime header
    Readme

    Flex

    Properties

    a
    (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "end" | "start" | "stretch" | "center" | "flex-end" | "flex-start" | "normal" | "self-end" | "self-start" | "baseline" | undefined
    d
    "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "column" | "column-reverse" | "row" | "row-reverse" | undefined
    row
    j
    (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "end" | "left" | "start" | "space-around" | "space-between" | "space-evenly" | "stretch" | ... 4 more ... | undefined
    js
    (string & {}) | "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "right" | "end" | "left" | "start" | "stretch" | "center" | "flex-end" | "flex-start" | "normal" | ... 4 more ... | undefined
    w
    "-moz-initial" | "inherit" | "initial" | "revert" | "unset" | "nowrap" | "wrap" | "wrap-reverse" | undefined
    nowrap

    Basic usage

    statusSent
    opens1
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/follow-button/index.html b/docs/components/follow-button/index.html index 5834d221..4fb20cd9 100644 --- a/docs/components/follow-button/index.html +++ b/docs/components/follow-button/index.html @@ -1,4 +1,4 @@ -Follow button | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonPropertiesBasic usageProperty followed set to trueIcon badgeIconsInfinite scrollLinkPanelReaction listTime header
    Readme

    FollowButton

    Properties

    followed
    boolean | undefined
    onClick
    ((event: MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined

    Basic usage

    Follow
    Follow button | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonPropertiesBasic usageProperty followed set to trueIcon badgeIconsInfinite scrollLinkPanelReaction listTime header
    Readme

    FollowButton

    Properties

    followed
    boolean | undefined
    onClick
    ((event: MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined

    Basic usage

    Follow
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/gallery/index.html b/docs/components/gallery/index.html index 8707bf81..409415ce 100644 --- a/docs/components/gallery/index.html +++ b/docs/components/gallery/index.html @@ -1,4 +1,4 @@ -Gallery | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryPropertiesBasic usageWith single imageWith two imagesLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Gallery

    Properties

    images
    string[] | undefined
    []

    Basic usage

    Icon badge | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgePropertiesBasic usageWith UnseenWith NumbersCustom IconHiddenIconsInfinite scrollLinkPanelReaction listTime header
    Readme

    IconBadge

    IconBadge is technically a wrapper that displays a badge with or without numbers on it's children.

    Properties

    hidden
    boolean | undefined
    onClick
    ((event: MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined
    showNumber
    boolean | undefined
    unseen
    number | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/icons/index.html b/docs/components/icons/index.html index fd8aaab2..e8b0f394 100644 --- a/docs/components/icons/index.html +++ b/docs/components/icons/index.html @@ -1,4 +1,4 @@ -Icons | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgeIconsAvatarIconEmojiIconRepostIcon ActiveRepostIcon InactiveCommentIcon ActiveCommentIcon InactiveThumbsUpIcon ActiveThumbsUpIcon InactiveInfinite scrollLinkPanelReaction listTime header
    Readme

    Icons

    AvatarIcon

    Icons | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgeIconsAvatarIconEmojiIconRepostIcon ActiveRepostIcon InactiveCommentIcon ActiveCommentIcon InactiveThumbsUpIcon ActiveThumbsUpIcon InactiveInfinite scrollLinkPanelReaction listTime header
    Readme

    Icons

    AvatarIcon

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/infinite-scroll/index.html b/docs/components/infinite-scroll/index.html index 701b51f0..7719ea3a 100644 --- a/docs/components/infinite-scroll/index.html +++ b/docs/components/infinite-scroll/index.html @@ -1,4 +1,4 @@ -Infinite scroll | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgeIconsInfinite scrollPropertiesBasic usageLinkPanelReaction listTime header
    Readme

    InfiniteScroll

    Properties

    className
    string | undefined
    element
    "symbol" | "object" | "time" | "style" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | ... 157 more ... | undefined
    hasMore
    boolean | undefined
    initialLoad
    boolean | undefined
    isLoading
    boolean | undefined
    isReverse
    boolean | undefined
    listenToScroll
    ((offset: number, reverseOffset: number, threshold: number) => void) | undefined
    loader
    ReactNode
    loadMore
    (() => void) | undefined
    pageStart
    number | undefined
    threshold
    number | undefined
    useCapture
    boolean | undefined
    useWindow
    boolean | undefined

    Basic usage

    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/load-more-button/index.html b/docs/components/load-more-button/index.html index 5ee914ec..e11be6fb 100644 --- a/docs/components/load-more-button/index.html +++ b/docs/components/load-more-button/index.html @@ -1,4 +1,4 @@ -Load more button | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonPropertiesBasic usageWith custom textRefreshing stateLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    LoadMoreButton

    Properties

    onClick
    ((event?: MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined
    refreshing
    boolean | undefined

    Basic usage

    Load more button | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonPropertiesBasic usageWith custom textRefreshing stateLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    LoadMoreButton

    Properties

    onClick
    ((event?: MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined
    refreshing
    boolean | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/load-more-paginator/index.html b/docs/components/load-more-paginator/index.html index 196ff687..fae21dff 100644 --- a/docs/components/load-more-paginator/index.html +++ b/docs/components/load-more-paginator/index.html @@ -1,4 +1,4 @@ -Load more paginator | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorPropertiesBasic usageReverseRefreshing stateLast pageNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    LoadMorePaginator

    Properties

    children
    ReactNode
    required
    hasNextPage
    boolean
    required
    loadNextPage
    ((event?: MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined
    required
    LoadMoreButton
    string | number | boolean | ReactElement<PropsWithElementAttributes<PropsWithChildren<{ onClick?: ((event?: MouseEvent<HTMLButtonElement, MouseEvent> | undefined) => void) | undefined; refreshing?: boolean | undefined; }>, HTMLDivElement>, string | ... 1 more ... | (new (props: any) => Component<...>)> | ComponentCl...
    LoadMoreButton (Component)
    refreshing
    boolean | undefined
    reverse
    boolean | undefined

    Basic usage

    Children items
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/new-activities-notification/index.html b/docs/components/new-activities-notification/index.html index 9f15074e..83ccae89 100644 --- a/docs/components/new-activities-notification/index.html +++ b/docs/components/new-activities-notification/index.html @@ -1,4 +1,4 @@ -New activities notification | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationPropertiesBasic usageCustom label functionReaction iconReaction toggle iconRepost buttonTextareaTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    NewActivitiesNotification

    Properties

    adds
    any
    []
    deletes
    string[] | undefined
    []
    labelFunction
    LabelFunction | undefined
    labelPlural
    string | undefined
    labelSingle
    string | undefined
    onClick
    ((event: MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/notification-feed/index.html b/docs/components/notification-feed/index.html index 28ea098e..c4de5225 100644 --- a/docs/components/notification-feed/index.html +++ b/docs/components/notification-feed/index.html @@ -1,4 +1,4 @@ -Notification feed | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    ActivityFlat feedNotificationNotification dropdownNotification feedPropertiesBasic usageCustomized Notification UISingle postStatus update form
    UI Components
    Layout Components
    Streami18n
    Composition Components
    Readme

    NotificationFeed

    This component should be a child of <StreamApp/> component.

    Properties

    Group
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ activityGroup: NotificationActivityEnriched<UT, AT, CT, RT, CRT>; onClickNotification?: ((activityGroup: NotificationActivityEnriched<UT, AT, CT, RT, CRT>) => void) | undefined; onClickUser?: OnClickUserHandler<...> | undefined; onMarkAsRead?: ((g...
    Notification (Component)
    LoadingIndicator
    string | number | boolean | ReactElement<LoadingIndicatorProps, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    Notifier
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ adds?: any; deletes?: string[] | undefined; labelFunction?: LabelFunction | undefined; labelPlural?: string | undefined; labelSingle?: string | undefined; onClick?: ((event: MouseEvent<...>) => void) | undefined; }, HTMLButtonElement>, string | .....
    NewActivitiesNotification (Component)
    Paginator
    string | number | boolean | ReactElement<LoadMorePaginatorProps, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    LoadMorePaginator (Component)
    Placeholder
    string | number | boolean | ReactElement<PropsWithElementAttributes<{ text?: string | undefined; }, HTMLDivElement>, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<...>)> | ComponentClass<...> | FunctionComponent<...> | null | undefined
    FeedPlaceholder (Component)
    options
    GetFeedOptions | undefined
    feedGroup
    string | undefined
    notification
    userId
    string | undefined
    analyticsLocation
    string | undefined
    doActivityDeleteRequest
    DeleteRequestFn | undefined
    doChildReactionAddRequest
    ((kind: string, reaction: Reaction<RT>, data?: CRT | undefined, options?: ReactionAddChildOptions | undefined) => Promise<ReactionAPIResponse<CRT>>) | undefined
    doChildReactionDeleteRequest
    DeleteRequestFn | undefined
    doFeedRequest
    ((client: StreamClient<UT, AT, CT, RT, CRT, PT>, feedGroup: string, userId?: string | undefined, options?: GetFeedOptions | undefined) => Promise<FeedAPIResponse<UT, AT, CT, RT, CRT>>) | undefined
    doReactionAddRequest
    ((kind: string, activity: Activity<AT>, data?: RT | undefined, options?: ReactionAddOptions | undefined) => Promise<ReactionAPIResponse<RT>>) | undefined
    doReactionDeleteRequest
    DeleteRequestFn | undefined
    doReactionsFilterRequest
    ((options: ReactionFilterConditions) => Promise<ReactionFilterAPIResponse<RT, CRT, AT, UT>>) | undefined
    notify
    boolean | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/notification/index.html b/docs/components/notification/index.html index 0bb7da73..345524d3 100644 --- a/docs/components/notification/index.html +++ b/docs/components/notification/index.html @@ -1,4 +1,4 @@ -Notification | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    ActivityFlat feedNotificationPropertiesBasic usageNotification dropdownNotification feedSingle postStatus update form
    UI Components
    Layout Components
    Streami18n
    Composition Components
    Readme

    Notification

    This component renders each grouped activity inside the <NotificationFeed /> component.

    It supports the following activity verbs by default: follow, like, repost, comment.

    Properties

    activityGroup
    NotificationActivityEnriched<UT, AT, CT, RT, CRT>
    required
    onClickNotification
    ((activityGroup: NotificationActivityEnriched<UT, AT, CT, RT, CRT>) => void) | undefined
    onClickUser
    OnClickUserHandler<UT> | undefined
    onMarkAsRead
    ((group: MarkAsGroup) => Promise<void>) | undefined

    Basic usage

    Textarea | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaPropertiesBasic usageCustomizedTitleUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Textarea

    Properties

    emojiData
    Data | undefined
    innerRef
    MutableRefObject<HTMLTextAreaElement | undefined> | ((el: HTMLTextAreaElement) => void) | undefined
    maxLength
    number | undefined
    onChange
    ((event: SyntheticEvent<HTMLTextAreaElement, Event>) => void) | undefined
    onPaste
    ((event: ClipboardEvent<HTMLTextAreaElement>) => void) | undefined
    placeholder
    string | undefined
    Share your opinion
    rows
    number | undefined
    3
    trigger
    TriggerType<Record<string, unknown>> | undefined
    {}
    value
    string | undefined

    Basic usage

    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/time-header/index.html b/docs/components/time-header/index.html index bc1b96aa..7caa0d01 100644 --- a/docs/components/time-header/index.html +++ b/docs/components/time-header/index.html @@ -1,4 +1,4 @@ -Time header | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Layout Components
    Streami18n
    Composition Components
    CardComment fieldComment listData labelDropdownDropdown panelFlexFollow buttonIcon badgeIconsInfinite scrollLinkPanelReaction listTime headerBasic usage
    Readme

    TimeHeader

    Basic usage

    June 2021
    August 2021
    September 2021
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/title/index.html b/docs/components/title/index.html index 5e5ecf47..a702916a 100644 --- a/docs/components/title/index.html +++ b/docs/components/title/index.html @@ -1,4 +1,4 @@ -Title | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitlePropertiesBasic usageUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Title

    Properties

    size
    number | undefined
    18

    Basic usage

    An interesting title
    Title | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitlePropertiesBasic usageUser barVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    Title

    Properties

    size
    number | undefined
    18

    Basic usage

    An interesting title
    \ No newline at end of file +
    \ No newline at end of file diff --git a/docs/components/user-bar/index.html b/docs/components/user-bar/index.html index 191de01e..f313f988 100644 --- a/docs/components/user-bar/index.html +++ b/docs/components/user-bar/index.html @@ -1,4 +1,4 @@ -User bar | React Activity Feed
    React Activity Feed
    Edit page
    Introduction
    Top Level Components
    UI Components
    Attached activityAudioAvatarAvatar groupButtonComment itemEmoji pickerGalleryLike buttonLoad more buttonLoad more paginatorNew activities notificationReaction iconReaction toggle iconRepost buttonTextareaTitleUser barPropertiesBasic usageVideo
    Layout Components
    Streami18n
    Composition Components
    Readme

    UserBar

    Properties

    username
    string
    required
    AfterUsername
    ReactNode
    avatar
    string | undefined
    follow
    boolean | undefined
    icon
    string | undefined
    onClickUser
    ((event: MouseEvent<Element, MouseEvent>) => void) | undefined
    Right
    string | number | boolean | ReactElement<Record<string, unknown>, string | ((props: any) => ReactElement<any, any> | null) | (new (props: any) => Component<any, any, any>)> | ComponentClass<Record<...>, any> | FunctionComponent<...> | null | undefined
    subtitle
    string | undefined
    time
    string | undefined
    timestamp
    string | number | Date | undefined

    Basic usage

    Batman