pleroma/priv/static/packs/flavours/glitch/embed.js

40 lines
404 KiB
JavaScript
Raw Normal View History

2020-01-22 10:00:23 -05:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[85,0,47,88],{0:function(e,t,n){"use strict";var a;function r(e,t,n,r){a||(a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,i=arguments.length-3;if(t||0===i||(t={children:void 0}),t&&o)for(var l in o)void 0===t[l]&&(t[l]=o[l]);else t||(t=o||{});if(1===i)t.children=r;else if(i>1){for(var f=new Array(i),s=0;s<i;s++)f[s]=arguments[s+3];t.children=f}return{$$typeof:a,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}n.d(t,"a",function(){return r})},1:function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return a})},11:function(e,t,n){"use strict";var a;function r(e){a=e}function o(){return a}n.r(t),n.d(t,"setLocale",function(){return r}),n.d(t,"getLocale",function(){return o})},121:function(e,t,n){"use strict";
/** @license React v16.8.6
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var a=n(85),r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,l=r?Symbol.for("react.fragment"):60107,f=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);!function(e,t,n,a,r,o,i,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,a,r,o,i,l],s=0;(e=Error(t.replace(/%s/g,function(){return f[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w={};function v(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||_}function k(){}function F(e,t,n){this.props=e,this.context=t,this.refs=w,this.updater=n||_}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e&&y("85"),this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=v.prototype;var x=F.prototype=new k;x.constructor=F,a(x,v.prototype),x.isPureReactComponent=!0;var E={current:null},T={current:null},S=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function j(e,t,n){var a=void 0,r={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&!C.hasOwnProperty(a)&&(r[a]=t[a]);var f=arguments.length-2;if(1===f)r.children=n;else if(1<f){for(var s=Array(f),c=0;c<f;c++)s[c]=arguments[c+2];r.children=s}if(e&&e.defaultProps)for(a in f=e.defaultProps)void 0===r[a]&&(r[a]=f[a]);return{$$typeof:o,type:e,key:i,ref:l,props:r,_owner:T.current}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var P=/\/+/g,O=[];function z(e,t,n,a){if(O.length){var r=O.pop();return r.result=e,r.keyPrefix=t,r.func=n,r.context=a,r.count=0,r}return{result:e,keyPrefix:t,func:n,context:a,count:0}}function q(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function N(e,t,n){return null==e?0:function e(t,n,a,r){var l=typeof t;"undefined"!==l&&"boolean"!==l||(t=null);var f=!1;if(null===t)f=!0;else switch(l){case"string":case"number":f=!0;break;case"object":switch(t.$$typeof){case o:case i:f=!0}}if(f)return a(r,t,""===n?"."+A(t,0):n),1;if(f=0,n=""===n?".":n+":",Array.isArray(t))for(var s=0;s<t.length;s++){var c=n+A(l=t[s],s);f+=e(l,c,a,r)}else if(c=null===t||"object"!=typeof t?null:"function"==typeof(c=b&&t[b]||t["@@iterator"])?c:null,"function"==typeof c)for(t=c.call(t),s=0;!(l=t.next()).done;)f+=e(l=l.value,c=n+A(l,s++),a,r);else"object"===l&&y("31","[object Object]"==(a=""+t)?"object with keys {"+Object.keys(t).join(", ")+"}":a,"");return f}(e,"",t,n)}function A(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function M(e,t){e.func.call(e.context,t,e.count++)}function R(e,t,n){var a=e.result,r=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,a,n,function(e){return e}):null!=e&&(D(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,r+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(P,"$&/")+"/")+n)),a.push(e))}function L(e,t,n,a,r){var
/** @license React v16.8.6
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var a=n(3),r=n(85),o=n(123);function i(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,a=0;a<t;a++)n+="&args[]="+encodeURIComponent(arguments[a+1]);!function(e,t,n,a,r,o,i,l){if(!e){if(e=void 0,void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[n,a,r,o,i,l],s=0;(e=Error(t.replace(/%s/g,function(){return f[s++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}a||i("227");var l=!1,f=null,s=!1,c=null,u={onError:function(e){l=!0,f=e}};function d(e,t,n,a,r,o,i,s,c){l=!1,f=null,function(e,t,n,a,r,o,i,l,f){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}.apply(u,arguments)}var p=null,m={};function h(){if(p)for(var e in m){var t=m[e],n=p.indexOf(e);if(-1<n||i("96",e),!b[n])for(var a in t.extractEvents||i("97",e),b[n]=t,n=t.eventTypes){var r=void 0,o=n[a],l=t,f=a;y.hasOwnProperty(f)&&i("99",f),y[f]=o;var s=o.phasedRegistrationNames;if(s){for(r in s)s.hasOwnProperty(r)&&g(s[r],l,f);r=!0}else o.registrationName?(g(o.registrationName,l,f),r=!0):r=!1;r||i("98",a,e)}}}function g(e,t,n){_[e]&&i("100",e),_[e]=t,w[e]=t.eventTypes[n].dependencies}var b=[],y={},_={},w={},v=null,k=null,F=null;function x(e,t,n){var a=e.type||"unknown-event";e.currentTarget=F(n),function(e,t,n,a,r,o,u,p,m){if(d.apply(this,arguments),l){if(l){var h=f;l=!1,f=null}else i("198"),h=void 0;s||(s=!0,c=h)}}(a,t,void 0,e),e.currentTarget=null}function E(e,t){return null==t&&i("30"),null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function T(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var S=null;function C(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var a=0;a<t.length&&!e.isPropagationStopped();a++)x(e,t[a],n[a]);else t&&x(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}var j={injectEventPluginOrder:function(e){p&&i("101"),p=Array.prototype.slice.call(e),h()},injectEventPluginsByName:function(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var a=e[t];m.hasOwnProperty(t)&&m[t]===a||(m[t]&&i("102",t),m[t]=a,n=!0)}n&&h()}};function D(e,t){var n=e.stateNode;if(!n)return null;var a=v(n);if(!a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}return e?null:(n&&"function"!=typeof n&&i("231",t,typeof n),n)}function P(e){if(null!==e&&(S=E(S,e)),e=S,S=null,e&&(T(e,C),S&&i("95"),s))throw e=c,s=!1,c=null,e}var O=Math.random().toString(36).slice(2),z="__reactInternalInstance$"+O,q="__reactEventHandlers$"+O;function N(e){if(e[z])return e[z];for(;!e[z];){if(!e.parentNode)return null;e=e.parentNode}return 5===(e=e[z]).tag||6===e.tag?e:null}function A(e){return!(e=e[z])||5!==e.tag&&6!==e.tag?null:e}function M(e){if(5===e.tag||6===e.tag)return e.stateNode;i("33")}function R(e){return e[q]||null}function L(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function I(e,t,n){(t=D(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function U(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=L(t);for(t=n.length;0<t--;)I(n[t],"captured",e);for(t=0;t<n.length;t++)I(n[t],"bubbled",e)}}function B(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=D(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=E(n._dispatchListeners,t),n._dispatchInstances=E(n._dispatchInstances,e))}function W(e){e&&e.dispatchConfig.registrationName&&B
/** @license React v0.13.6
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
Object.defineProperty(t,"__esModule",{value:!0});var n=null,a=!1,r=3,o=-1,i=-1,l=!1,f=!1;function s(){if(!l){var e=n.expirationTime;f?F():f=!0,k(d,e)}}function c(){var e=n,t=n.next;if(n===t)n=null;else{var a=n.previous;n=a.next=t,t.previous=a}e.next=e.previous=null,a=e.callback,t=e.expirationTime,e=e.priorityLevel;var o=r,l=i;r=e,i=t;try{var f=a()}finally{r=o,i=l}if("function"==typeof f)if(f={callback:f,priorityLevel:e,expirationTime:t,next:null,previous:null},null===n)n=f.next=f.previous=f;else{a=null,e=n;do{if(e.expirationTime>=t){a=e;break}e=e.next}while(e!==n);null===a?a=n:a===n&&(n=f,s()),(t=a.previous).next=a.previous=f,f.next=a,f.previous=t}}function u(){if(-1===o&&null!==n&&1===n.priorityLevel){l=!0;try{do{c()}while(null!==n&&1===n.priorityLevel)}finally{l=!1,null!==n?s():f=!1}}}function d(e){l=!0;var r=a;a=e;try{if(e)for(;null!==n;){var o=t.unstable_now();if(!(n.expirationTime<=o))break;do{c()}while(null!==n&&n.expirationTime<=o)}else if(null!==n)do{c()}while(null!==n&&!x())}finally{l=!1,a=r,null!==n?s():f=!1,u()}}var p,m,h=Date,g="function"==typeof setTimeout?setTimeout:void 0,b="function"==typeof clearTimeout?clearTimeout:void 0,y="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,_="function"==typeof cancelAnimationFrame?cancelAnimationFrame:void 0;function w(e){p=y(function(t){b(m),e(t)}),m=g(function(){_(p),e(t.unstable_now())},100)}if("object"==typeof performance&&"function"==typeof performance.now){var v=performance;t.unstable_now=function(){return v.now()}}else t.unstable_now=function(){return h.now()};var k,F,x,E=null;if("undefined"!=typeof window?E=window:void 0!==e&&(E=e),E&&E._schedMock){var T=E._schedMock;k=T[0],F=T[1],x=T[2],t.unstable_now=T[3]}else if("undefined"==typeof window||"function"!=typeof MessageChannel){var S=null,C=function(e){if(null!==S)try{S(e)}finally{S=null}};k=function(e){null!==S?setTimeout(k,0,e):(S=e,setTimeout(C,0,!1))},F=function(){S=null},x=function(){return!1}}else{"undefined"!=typeof console&&("function"!=typeof y&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof _&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"));var j=null,D=!1,P=-1,O=!1,z=!1,q=0,N=33,A=33;x=function(){return q<=t.unstable_now()};var M=new MessageChannel,R=M.port2;M.port1.onmessage=function(){D=!1;var e=j,n=P;j=null,P=-1;var a=t.unstable_now(),r=!1;if(0>=q-a){if(!(-1!==n&&n<=a))return O||(O=!0,w(L)),j=e,void(P=n);r=!0}if(null!==e){z=!0;try{e(r)}finally{z=!1}}};var L=function e(t){if(null!==j){w(e);var n=t-q+A;n<A&&N<A?(8>n&&(n=8),A=n<N?N:n):N=n,q=t+A,D||(D=!0,R.postMessage(void 0))}else O=!1};k=function(e,t){j=e,P=t,z||0>t?R.postMessage(void 0):O||(O=!0,w(L))},F=function(){j=null,D=!1,P=-1}}t.unstable_ImmediatePriority=1,t.unstable_UserBlockingPriority=2,t.unstable_NormalPriority=3,t.unstable_IdlePriority=5,t.unstable_LowPriority=4,t.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=r,i=o;r=e,o=t.unstable_now();try{return n()}finally{r=a,o=i,u()}},t.unstable_next=function(e){switch(r){case 1:case 2:case 3:var n=3;break;default:n=r}var a=r,i=o;r=n,o=t.unstable_now();try{return e()}finally{r=a,o=i,u()}},t.unstable_scheduleCallback=function(e,a){var i=-1!==o?o:t.unstable_now();if("object"==typeof a&&null!==a&&"number"==typeof a.timeout)a=i+a.timeout;else switch(r){case 1:a=i+-1;break;case 2:a=i+250;break;case 5:a=i+1073741823;break;case 4:a=i+1e4;break;default:a=i+5e3}if(e={callback:e,priorityLevel:r,expirationTime:a,next:null,previous:null},null===n)n=e.next=e.previous=e,s();else{i=null;var l=n;do{if(l.expirationTime>a){i=l;break}l=l.next}while(l!==n);null===i?i=n:i===n&&(n=e,s()),(a=i.previous).next=i.previous=e,e.next=i,e.previous=a}return e},t.unstable_cancelCallback=function(e){var t=e.next;if(null!==t){if(t===e)n=null;else{e===n&&(n=t);var a=e.previous;a.next=t,t.previous=a}e.next=e.previous=null}},t.u
/** @license React v16.9.0
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&Symbol.for,r=a?Symbol.for("react.element"):60103,o=a?Symbol.for("react.portal"):60106,i=a?Symbol.for("react.fragment"):60107,l=a?Symbol.for("react.strict_mode"):60108,f=a?Symbol.for("react.profiler"):60114,s=a?Symbol.for("react.provider"):60109,c=a?Symbol.for("react.context"):60110,u=a?Symbol.for("react.async_mode"):60111,d=a?Symbol.for("react.concurrent_mode"):60111,p=a?Symbol.for("react.forward_ref"):60112,m=a?Symbol.for("react.suspense"):60113,h=a?Symbol.for("react.suspense_list"):60120,g=a?Symbol.for("react.memo"):60115,b=a?Symbol.for("react.lazy"):60116,y=a?Symbol.for("react.fundamental"):60117,_=a?Symbol.for("react.responder"):60118;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case i:case f:case l:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case s:return e;default:return t}}case b:case g:case o:return t}}}function v(e){return w(e)===d}t.typeOf=w,t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=s,t.Element=r,t.ForwardRef=p,t.Fragment=i,t.Lazy=b,t.Memo=g,t.Portal=o,t.Profiler=f,t.StrictMode=l,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===f||e===l||e===m||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===s||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===_)},t.isAsyncMode=function(e){return v(e)||w(e)===u},t.isConcurrentMode=v,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===g},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===f},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===m}},128:function(e,t,n){"use strict";var a=n(129),r=n(134);a.default.__addLocaleData(r.default),a.default.defaultLocale="en",t.default=a.default},129:function(e,t,n){"use strict";var a=n(86),r=n(130),o=n(131),i=n(132);function l(e,t,n){var a="string"==typeof e?l.__parse(e):e;if(!a||"messageFormatPattern"!==a.type)throw new TypeError("A message must be provided as a String or AST.");n=this._mergeFormats(l.formats,n),r.defineProperty(this,"_locale",{value:this._resolveLocale(t)});var o=this._findPluralRuleFunction(this._locale),i=this._compilePattern(a,t,n,o),f=this;this.format=function(t){try{return f._format(i,t)}catch(t){throw t.variableId?new Error("The intl string context variable '"+t.variableId+"' was not provided to the string '"+e+"'"):t}}}t.default=l,r.defineProperty(l,"formats",{enumerable:!0,value:{number:{currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}),r.defineProperty(l,"__localeData__",{value:r.objCreate(null)}),r.defineProperty(l,"__addLocaleData",{value:function(e){if(!e||!e.locale)throw new Error("Locale data provided to IntlMessageFormat is missing a `locale` property");l.__localeData__[e.locale.toLowerCase()]=e}}),r.defineProperty(l,"__parse",{value:i.default.parse}),r.defineProperty(l,"defaultLocale",{enumerable:!0,writable:!0,value:void 0}),l.prototype.resolvedOptions=function(){return{locale:this._locale}},l.prototype._compilePattern=function(e,t,n,a){return new o.default(t,n,a).compile(e)},l.prototype._findPluralRuleFunction=function(e){for(var t=l.__localeData__,n=t[e.toLowerCase()];n;){if(n.plural
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var a=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,l,f=i(e),s=1;s<arguments.length;s++){for(var c in n=Object(arguments[s]))r.call(n,c)&&(f[c]=n[c]);if(a){l=a(n);for(var u=0;u<l.length;u++)o.call(n,l[u])&&(f[l[u]]=n[l[u]])}}return f}},86:function(e,t,n){"use strict";t.extend=function(e){var t,n,r,o,i=Array.prototype.slice.call(arguments,1);for(t=0,n=i.length;t<n;t+=1)if(r=i[t])for(o in r)a.call(r,o)&&(e[o]=r[o]);return e};var a=Object.prototype.hasOwnProperty;t.hop=a},89:function(e,t){},95:function(e,t,n){var a=n(274),r=a[0],o=(a[1],a[2],a[3],a[4]),i=n(325).unicodeToFilename,l={};function f(e,t){var n=e[0],a=e[1];a||(a=i(n)),l[n]={shortCode:t,filename:a}}Object.keys(r).forEach(function(e){r[e][0].forEach(function(t){return f(t,e)})}),o.forEach(function(e){return f(e)}),e.exports=l},97:function(e,t,n){"use strict";n.r(t),n.d(t,"timeAgoString",function(){return y}),n.d(t,"default",function(){return _});var a,r,o,i=n(0),l=n(2),f=n(7),s=n(1),c=n(13),u=n(3),d=n.n(u),p=n(6),m=Object(p.f)({just_now:{id:"relative_time.just_now",defaultMessage:"now"},seconds:{id:"relative_time.seconds",defaultMessage:"{number}s"},minutes:{id:"relative_time.minutes",defaultMessage:"{number}m"},hours:{id:"relative_time.hours",defaultMessage:"{number}h"},days:{id:"relative_time.days",defaultMessage:"{number}d"},moments_remaining:{id:"time_remaining.moments",defaultMessage:"Moments remaining"},seconds_remaining:{id:"time_remaining.seconds",defaultMessage:"{number, plural, one {# second} other {# seconds}} left"},minutes_remaining:{id:"time_remaining.minutes",defaultMessage:"{number, plural, one {# minute} other {# minutes}} left"},hours_remaining:{id:"time_remaining.hours",defaultMessage:"{number, plural, one {# hour} other {# hours}} left"},days_remaining:{id:"time_remaining.days",defaultMessage:"{number, plural, one {# day} other {# days}} left"}}),h={hour12:!1,year:"numeric",month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit"},g={month:"short",day:"numeric"},b=864e5,y=function(e,t,n,a){var r=n-t.getTime();return r<1e4?e.formatMessage(m.just_now):r<7*b?r<6e4?e.formatMessage(m.seconds,{number:Math.floor(r/1e3)}):r<36e5?e.formatMessage(m.minutes,{number:Math.floor(r/6e4)}):r<b?e.formatMessage(m.hours,{number:Math.floor(r/36e5)}):e.formatMessage(m.days,{number:Math.floor(r/b)}):t.getFullYear()===a?e.formatDate(t,g):e.formatDate(t,Object(c.default)({},g,{year:"numeric"}))},_=Object(p.g)((o=r=function(e){function t(){for(var t,n=arguments.length,a=new Array(n),r=0;r<n;r++)a[r]=arguments[r];return t=e.call.apply(e,[this].concat(a))||this,Object(s.a)(Object(l.a)(t),"state",{now:t.props.intl.now()}),t}Object(f.a)(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(e,t){return this.props.timestamp!==e.timestamp||this.props.intl.locale!==e.intl.locale||this.state.now!==t.now},n.componentWillReceiveProps=function(e){this.props.timestamp!==e.timestamp&&this.setState({now:this.props.intl.now()})},n.componentDidMount=function(){this._scheduleNextUpdate(this.props,this.state)},n.componentWillUpdate=function(e,t){this._scheduleNextUpdate(e,t)},n.componentWillUnmount=function(){clearTimeout(this._timer)},n._scheduleNextUpdate=function(e,t){var n=this;clearTimeout(this._timer);var a=e.timestamp,r=new Date(a).getTime()-t.now,o=function(e){switch(e){case"second":return 1e3;case"minute":return 6e4;case"hour":return 36e5;case"day":return b;default:return 2147483647}}(function(e){var t=Math
2018-09-16 17:17:34 -04:00
//# sourceMappingURL=embed.js.map