configs/walls/vendors~Chat~Client~Gifts~Poll~Reddit~RedesignChat.b7dece05c8943cdea084.js

2 lines
22 KiB
JavaScript
Raw Normal View History

2019-03-12 18:36:46 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([["vendors~Chat~Client~Gifts~Poll~Reddit~RedesignChat"],{"./node_modules/react-router-dom/es/index.js":function(e,t,o){"use strict";var n=o("./node_modules/warning/browser.js"),r=o.n(n),a=o("./node_modules/react/index.js"),i=o.n(a),s=o("./node_modules/react-router-dom/node_modules/prop-types/index.js"),u=o.n(s),c=o("./node_modules/react-router-dom/node_modules/history/createBrowserHistory.js"),d=o.n(c),l=o("./node_modules/react-router/es/Router.js").a;function f(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}var h=function(e){function t(){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return o=n=f(this,e.call.apply(e,[this].concat(a))),n.history=d()(n.props),f(n,o)}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),t.prototype.componentWillMount=function(){r()(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return i.a.createElement(l,{history:this.history,children:this.props.children})},t}(i.a.Component);h.propTypes={basename:u.a.string,forceRefresh:u.a.bool,getUserConfirmation:u.a.func,keyLength:u.a.number,children:u.a.node};var p=o("./node_modules/react-router-dom/node_modules/history/createHashHistory.js"),m=o.n(p);function y(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}var v=function(e){function t(){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return o=n=y(this,e.call.apply(e,[this].concat(a))),n.history=m()(n.props),y(n,o)}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),t.prototype.componentWillMount=function(){r()(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return i.a.createElement(l,{history:this.history,children:this.props.children})},t}(i.a.Component);v.propTypes={basename:u.a.string,getUserConfirmation:u.a.func,hashType:u.a.oneOf(["hashbang","noslash","slash"]),children:u.a.node};var g=o("./node_modules/invariant/browser.js"),b=o.n(g),w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e};function _(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}var O=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},j=function(e){function t(){var o,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var r=arguments.length,a=Array(r),i=0;i<r;i++)a[i]=arguments[i];return o=n=_(this,e.call.apply(e,[this].concat(a))),n.handleClick=function(e){if(n.props.onClick&&n.props.onClick(e),!e.defaultPrevented&&0===e.button&&!n.props.target&&!O(e)){e.preventDefault();var t=n.context.router.history,o=n.props,r=o.replace,a=o.to;r?t.replace(a):t.push(a)}},_(n,o)}return function(e,t){if("function"!=typeof t&&null!==t)th
//# sourceMappingURL=vendors~Chat~Client~Gifts~Poll~Reddit~RedesignChat.b7dece05c8943cdea084.js.map