shrub/pkg/arvo/app/chat/js/index.js

1 line
733 KiB
JavaScript
Raw Normal View History

2020-04-14 05:26:13 +03:00
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("buffer")):"function"==typeof define&&define.amd?define("index",["buffer"],t):t((e=e||self).buffer)}(this,function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function n(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}function r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function i(e,t){return e(t={exports:{}},t.exports),t.exports}var a=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var u=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 r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,i=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),u=1;u<arguments.length;u++){for(var o in n=Object(arguments[u]))l.call(n,o)&&(i[o]=n[o]);if(a){r=a(n);for(var c=0;c<r.length;c++)s.call(n,r[c])&&(i[r[c]]=n[r[c]])}}return i},o="function"==typeof Symbol&&Symbol.for,c=o?Symbol.for("react.element"):60103,h=o?Symbol.for("react.portal"):60106,d=o?Symbol.for("react.fragment"):60107,f=o?Symbol.for("react.strict_mode"):60108,m=o?Symbol.for("react.profiler"):60114,p=o?Symbol.for("react.provider"):60109,v=o?Symbol.for("react.context"):60110,b=o?Symbol.for("react.forward_ref"):60112,g=o?Symbol.for("react.suspense"):60113,y=o?Symbol.for("react.suspense_list"):60120,_=o?Symbol.for("react.memo"):60115,k=o?Symbol.for("react.lazy"):60116,w="function"==typeof Symbol&&Symbol.iterator;function x(e){for(var t=e.message,n="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)n+="&args[]="+encodeURIComponent(arguments[r]);return e.message="Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",e}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},M={};function N(e,t,n){this.props=e,this.context=t,this.refs=M,this.updater=n||C}function E(){}function S(e,t,n){this.props=e,this.context=t,this.refs=M,this.updater=n||C}N.prototype.isReactComponent={},N.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw x(Error(85));this.updater.enqueueSetState(this,e,t,"setState")},N.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=N.prototype;var L=S.prototype=new E;L.constructor=S,u(L,N.prototype),L.isPureReactComponent=!0;var T={current:null},P={suspense:null},O={current:null},R=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function Z(e,t,n){var r,i={},a=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(a=""+t.key),t)R.call(t,r)&&!A.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(1===s)i.children=n;else if(1<s){for(var u=Array(s),o=0;o<s;o++)u[o]=arguments[o+2];i.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===i[r]&&(i[r]=s[r]);return{$$typeof:c,type:e,key:a,ref:l,props:i,_owner:O.current}}function D(e){return"object"==typeof e&&null!==e&&e.$$typeof===c}var j=/\/+/g,H=[];function I(e,t,n,r){if(H.length){var i=H.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function U(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>H.length&&H.push(e)}function V(e,t,n){return null==