You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
4.0 MiB
115 lines
4.0 MiB
6 years ago
|
!function(e){function t(t){for(var n,o,i=t[0],a=t[1],s=0,u=[];s<i.length;s++)o=i[s],r[o]&&u.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(l&&l(t);u.length;)u.shift()()}var n={},r={4:0};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var i=new Promise(function(t,o){n=r[e]=[t,o]});t.push(n[2]=i);var a,s=document.getElementsByTagName("head")[0],l=document.createElement("script");l.charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.src=function(e){return o.p+"bundles/c2932262ed6106cd4535/"+({}[e]||e)+".js"}(e),a=function(t){l.onerror=l.onload=null,clearTimeout(u);var n=r[e];if(0!==n){if(n){var o=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src,a=new Error("Loading chunk "+e+" failed.\n("+o+": "+i+")");a.type=o,a.request=i,n[1](a)}r[e]=void 0}};var u=setTimeout(function(){a({type:"timeout",target:l})},12e4);l.onerror=l.onload=a,s.appendChild(l)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)o.d(n,r,function(t){return e[t]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o.oe=function(e){throw console.error(e),e};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=t,i=i.slice();for(var s=0;s<i.length;s++)t(i[s]);var l=a;o(o.s=750)}([function(e,t,n){"use strict";e.exports=n(166)},function(e,t,n){e.exports=n(1167)()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(19)),o=p(n(40)),i=p(n(14)),a=p(n(65));t._td=function(e){return e},t._t=function(e,t,n){var r=(0,o.default)({interpolate:!1},t),s=_(function(e,t){var n=void 0;t&&"object"===(void 0===t?"undefined":(0,a.default)(t))&&(n=t.count,(0,i.default)(t).forEach(function(e){void 0===t[e]&&(console.warn("safeCounterpartTranslate called with undefined interpolation name: "+e),t[e]="undefined"),null===t[e]&&(console.warn("safeCounterpartTranslate called with null interpolation name: "+e),t[e]="null")}));var r=l.default.translate(e,t);void 0===r&&void 0!==n&&(r=l.default.translate(e,(0,o.default)({},t,{locale:"en"})));return r}(e,r),t,n);return h?"string"==typeof s?"@@"+e+"##"+s+"@@":c.default.createElement("span",{className:"translated-string","data-orig-string":e},s):s},t.substitute=_,t.replaceByRegexes=g,t.setMissingEntryGenerator=function(e){l.default.setMissingEntryGenerator(e)},t.setLanguage=function(e){Array.isArray(e)||(e=[e]);var t=void 0,n=void 0;return v().then(function(r){n=r;for(var o=0;o<e.length;++o)if(n.hasOwnProperty(e[o])){t=e[o];break}return t||(t="en",console.error("Unable to find an appropriate language")),y(m+n[t].fileName)}).then(function(e){if(l.default.registerTranslations(t,e),l.default.setLocale(t),d.default.setValue("language",null,f.SettingLevel.DEVICE,t),console.log("set language to "+t),"en"!=t)return y(m+n.en.fileName)}).then(function(e){e&&l.default.registerTranslations("en",e)})},t.getAllLanguagesFromJson=function(){return v().then(function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({value:n,label:e[n].label});return t})},t.getLanguagesFromBrowser=function(){return navigator.languages&&navigator.languages.length?navigator.languages:navigator.language?[navigator.language]:[navigator.userLanguage||"en"]},t.getNormalizedLanguageKeys=function(e){var t=[],n=this.normalizeLanguageKey(e),r=n.split("-");2==r.length&&r[0]==r[1]?t.push(
|
||
|
/*!
|
||
|
Copyright (c) 2017 Jed Watson.
|
||
|
Licensed under the MIT License (MIT), see
|
||
|
http://jedwatson.github.io/classnames
|
||
|
*/
|
||
|
/*!
|
||
|
Copyright (c) 2017 Jed Watson.
|
||
|
Licensed under the MIT License (MIT), see
|
||
|
http://jedwatson.github.io/classnames
|
||
|
*/
|
||
|
!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){var r=n(32);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(132));t.default=l;var o=s(n(0)),i=s(n(1)),a=n(80);function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.element,n=e.onClick,i=e.children,s=(0,r.default)(e,["element","onClick","children"]);return s.onClick=n,s.onKeyDown=function(e){if(e.keyCode===a.KeyCode.ENTER)return e.stopPropagation(),e.preventDefault(),n(e);e.keyCode===a.KeyCode.SPACE&&(e.stopPropagation(),e.preventDefault())},s.onKeyUp=function(e){if(e.keyCode===a.KeyCode.SPACE)return e.stopPropagation(),e.preventDefault(),n(e);e.keyCode===a.KeyCode.ENTER&&(e.stopPropagation(),e.preventDefault())},s.tabIndex=s.tabIndex||"0",s.role="button",s.className=(s.className?s.className+" ":"")+"mx_AccessibleButton",o.default.createElement(t,s,i)}l.propTypes={children:i.default.node,element:i.default.string,onClick:i.default.func.isRequired},l.defaultProps={element:"div"},l.displayName="AccessibleButton",e.exports=t.default},function(e,t,n){var r=n(33),o=n(18),i=n(67),a=n(59),s=n(57),l=function(e,t,n){var u,c,f,d=e&l.F,p=e&l.G,m=e&l.S,h=e&l.P,_=e&l.B,g=e&l.W,v=p?o:o[t]||(o[t]={}),y=v.prototype,b=p?r:m?r[t]:(r[t]||{}).prototype;for(u in p&&(n=t),n)(c=!d&&b&&void 0!==b[u])&&s(v,u)||(f=c?b[u]:n[u],v[u]=p&&"function"!=typeof b[u]?n[u]:_&&c?i(f,r):g&&b[u]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):h&&"function"==typeof f?i(Function.call,f):f,h&&((v.virtual||(v.virtual={}))[u]=f,e&l.R&&y&&!y[u]&&a(y,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";var r=a(n(77)),o=a(n(65)),i=a(n(31));function a(e){return e&&e.__esModule?e:{default:e}}var s=n(395);e.exports.encodeParams=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t+="&"+encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.substring(1)},e.exports.encodeUri=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e=e.replace(n,encodeURIComponent(t[n])));return e},e.exports.map=function(e,t){for(var n=new Array(e.length),r=0;r<e.length;r++)n[r]=t(e[r]);return n},e.exports.filter=function(e,t){for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n},e.exports.keys=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},e.exports.values=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t},e.exports.forEach=function(e,t){for(var n=0;n<e.length;n++)t(e[n],n)},e.exports.findElement=function(e,t,n){var r=void 0;if(n){for(r=e.length-1;r>=0;r--)if(t(e[r],r,e))return e[r]}else for(r=0;r<e.length;r++)if(t(e[r],r,e))return e[r]},e.exports.removeElement=function(e,t,n){var r=void 0,o=void 0;if(n){for(r=e.length-1;r>=0;r--)if(t(e[r],r,e))return o=e[r],e.splice(r,1),o}else for(r=0;r<e.length;r++)if(t(e[r],r,e))return o=e[r],e.splice(r,1),o;return!1},e.exports.isFunction=function(e){return"[object Function]"==Object.prototype.toString.call(e)},e.exports.isArray=function(e){return Array.isArray?Array.isArray(e):Boolean(e&&e.constructor===Array)},e.exports.checkObjectHasKeys=function(e,t){for(var n=0;n<t.length;n++)if(!e.hasOwnProperty(t[n]))throw new Error("Missing required key: "+t[n])},e.exports.chec
|
||
|
/*!
|
||
|
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
||
|
*
|
||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/var r=n(1792);function o(e){return!0===r(e)&&"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){var t,n;return!1!==o(e)&&("function"==typeof(t=e.constructor)&&(!1!==o(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(e,t,n){e.exports=!n(56)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){"use strict";
|
||
|
/*
|
||
|
object-assign
|
||
|
(c) Sindre Sorhus
|
||
|
@license MIT
|
||
|
*/var r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;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 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,a,s=function(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in n=Object(arguments[l]))o.call(n,u)&&(s[u]=n[u]);if(r){a=r(n);for(var c=0;c<a.length;c++)i.call(n,a[c])&&(s[a[c]]=n[a[c]])}}return s}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(217));t.default=function(e,t,n){return t in e?(0,r.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){var r=n(52),o=n(162),i=n(121),a=Object.defineProperty;t.f=n(44)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(30)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(25),o=n(497),i=n(109),a=Object.defineProperty;t.f=n(48)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(111),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(206));t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,r.default)(e)}},function(e,t,n){var r=n(34);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){"use strict";var r=n(35),o=n(188),i=n(539),a=(n(23),o.ID_ATTRIBUTE_NAME),s=i,l="__reactInternalInstance$"+Math.random().toString(36).slice(2);function u(e,t){return 1===e.nodeType&&e.getAttribute(a)===String(t)||8===e.nodeType&&e.nodeValue===" react-text: "+t+" "||8===e.nodeType&&e.nodeValue===" react-empty: "+t+" "}function c(e){for(var t;t=e._renderedComponent;)e=t;return e}function f(e,t){var n=c(e);n._hostNode=t,t[l]=n}function d(e,t){if(!(e._flags&s.hasCachedChildNodes)){var n=e._renderedChildren,o=t.firstChild;e:for(var i in n)if(n.hasOwnProperty(i)){var a=n[i],l=c(a)._domID;if(0!==l){for(;null!==o;o=o.nextSibling)if(u(o,l)){f(a,o);continue e}r("32",l)}}e._flags|=s.hasCachedChildNodes}}function p(e){if(e[l])return e[l];for(var t,n,r=[];!e[l];){if(r.push(e),!e.parentNode)return null;e=e.parentNode}for(;e&&(n=e[l]);e=r.pop())t=n,r.length&&d(n,e);return t}var m={getClosestInstanceFromNode:p,getInstanceFromNode:function(e){var t=p(e);return null!=t&&t._hostNode===e?t:null},getNodeFromInstance:function(e){if(void 0===e._hostNode&&r("33"),e._hostNode)return e._hostNode;for(var t=[];!e._hostNode;)t.push(e),e._hostParent||r("34"),e=e._hostParent;for(;t.length;e=t.pop())d(e,e._hostNode);return e._hostNode},precacheChildNodes:d,precacheNode:f,uncacheNode:function(e){var t=e._hostNode;t&&(delete t[l],e._hostNode=null)}};e.exports=m},function(e,t,n){var r=n(1824);e.exports=function(e){if(function(e){return e&&e.window===e}(e))return e;var t=r(e);if(o){t.parentWindow.execScript("document._parentWindow = window;","Javascript");var n=t._parentWindow;return t._parentWindow=null,n}return t.defaultView||t.parentWindow};var o=n(1825)},function(e,t,n){var r=n(110);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},functi
|
||
|
/*!
|
||
|
* The buffer module from node.js, for the browser.
|
||
|
*
|
||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
||
|
* @license MIT
|
||
|
*/
|
||
|
var r=n(1068),o=n(1069),i=n(1070);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return u(this,e,t,n)}function u(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=d(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|m(t,n),o=(e=s(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||function(e){return e!=e}(t.length)?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(c(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function d(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return G(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function h(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function _(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:g(e,t,n,r,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var c=-1;for(i=n;i<s;i++)if(u(e,i)===u(t,-1===c?0:i-c)){if(-1===c&&(c=i),i-c+1===l)return c*a}else-1!==c&&(i-=i-c),c=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var f=!0,d=0;d<l;d++)if(u(e,i+d)!==u(t,d)){f=!1;break}if(f)return i}return-1}function v(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeE
|
||
|
/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */!function(e){if(!e.jQuery){var t=function(e,n){return new t.fn.init(e,n)};t.isWindow=function(e){return null!=e&&e==e.window},t.type=function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[i.call(e)]||"object":typeof e},t.isArray=Array.isArray||function(e){return"array"===t.type(e)},t.isPlainObject=function(e){var n;if(!e||"object"!==t.type(e)||e.nodeType||t.isWindow(e))return!1;try{if(e.constructor&&!o.call(e,"constructor")&&!o.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}for(n in e);return void 0===n||o.call(e,n)},t.each=function(e,t,n){var r=0,o=e.length,i=l(e);if(n){if(i)for(;r<o&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(i)for(;r<o&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},t.data=function(e,r,o){if(void 0===o){var i=(a=e[t.expando])&&n[a];if(void 0===r)return i;if(i&&r in i)return i[r]}else if(void 0!==r){var a=e[t.expando]||(e[t.expando]=++t.uuid);return n[a]=n[a]||{},n[a][r]=o,o}},t.removeData=function(e,r){var o=e[t.expando],i=o&&n[o];i&&(r?t.each(r,function(e,t){delete i[t]}):delete n[o])},t.extend=function(){var e,n,r,o,i,a,s=arguments[0]||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[l]||{},l++),"object"!=typeof s&&"function"!==t.type(s)&&(s={}),l===u&&(s=this,l--);l<u;l++)if(null!=(i=arguments[l]))for(o in i)e=s[o],s!==(r=i[o])&&(c&&r&&(t.isPlainObject(r)||(n=t.isArray(r)))?(n?(n=!1,a=e&&t.isArray(e)?e:[]):a=e&&t.isPlainObject(e)?e:{},s[o]=t.extend(c,a,r)):void 0!==r&&(s[o]=r));return s},t.queue=function(e,n,r){if(e){n=(n||"fx")+"queue";var o=t.data(e,n);return r?(!o||t.isArray(r)?o=t.data(e,n,function(e,t){var n=t||[];return null!=e&&(l(Object(e))?function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;)e[o++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[o++]=t[r++];e.length=o}(n,"string"==typeof e?[e]:e):[].push.call(n,e)),n}(r)):o.push(r),o):o||[]}},t.dequeue=function(e,n){t.each(e.nodeType?[e]:e,function(e,r){n=n||"fx";var o=t.queue(r,n),i=o.shift();"inprogress"===i&&(i=o.shift()),i&&("fx"===n&&o.unshift("inprogress"),i.call(r,function(){t.dequeue(r,n)}))})},t.fn=t.prototype={init:function(e){if(e.nodeType)return this[0]=e,this;throw new Error("Not a DOM node.")},offset:function(){var t=this[0].getBoundingClientRect?this[0].getBoundingClientRect():{top:0,left:0};return{top:t.top+(e.pageYOffset||document.scrollTop||0)-(document.clientTop||0),left:t.left+(e.pageXOffset||document.scrollLeft||0)-(document.clientLeft||0)}},position:function(){function e(){for(var e=this.offsetParent||document;e&&"html"===!e.nodeType.toLowerCase&&"static"===e.style.position;)e=e.offsetParent;return e||document}var n=this[0],e=e.apply(n),r=this.offset(),o=/^(?:body|html)$/i.test(e.nodeName)?{top:0,left:0}:t(e).offset();return r.top-=parseFloat(n.style.marginTop)||0,r.left-=parseFloat(n.style.marginLeft)||0,e.style&&(o.top+=parseFloat(e.style.borderTopWidth)||0,o.left+=parseFloat(e.style.borderLeftWidth)||0),{top:r.top-o.top,left:r.left-o.left}}};var n={};t.expando="velocity"+(new Date).getTime(),t.uuid=0;for(var r={},o=r.hasOwnProperty,i=r.toString,a="Boolean Number String Function Array Date RegExp Object Error".split(" "),s=0;s<a.length;s++)r["[object "+a[s]+"]"]=a[s].toLowerCase();t.fn.init.prototype=t.fn,e.Velocity={Utilities:t}}function l(e){var n=e.length,r=t.type(e);return"function"!==r&&!t.isWindow(e)&&(!(1!==e.nodeType||!n)||("array"===r||0===n||"number"==typeof n&&n>0&&n-1 in e))}}(window),function(i){"object"==typeof e.exports?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}(function(){return function(e,t,n,r){var o=function(){if(n.documentMode)return n.documentMode;for(var e=7;e>4;e--){var t=n.createElement("div");if(t.innerHTML="\x3c!--[if IE "+e+"]><span></span><![endif]--\x3e",t.getElementsByTagName("span").length)return t=null,e}return r}(),i=function(){var e=0;return t.webkitRequestAnimationFrame||t.mozReque
|
||
|
/**
|
||
|
* filesize
|
||
|
*
|
||
|
* @copyright 2017 Jason Mulligan <jason.mulligan@avoidwork.com>
|
||
|
* @license BSD-3-Clause
|
||
|
* @version 3.5.6
|
||
|
*/
|
||
|
!function(t){var n=/^(b|B)$/,r={iec:{bits:["b","Kib","Mib","Gib","Tib","Pib","Eib","Zib","Yib"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["b","Kb","Mb","Gb","Tb","Pb","Eb","Zb","Yb"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},o={iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]};function i(e){var t,i,a,s,l,u,c,f,d,p,m,h,_=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=[],v=0,y=void 0,b=void 0;if(isNaN(e))throw new Error("Invalid arguments");return i=!0===_.bits,d=!0===_.unix,t=_.base||2,f=void 0!==_.round?_.round:d?1:2,p=void 0!==_.spacer?_.spacer:d?"":" ",h=_.symbols||_.suffixes||{},m=2===t&&_.standard||"jedec",c=_.output||"string",s=!0===_.fullform,l=_.fullforms instanceof Array?_.fullforms:[],y=void 0!==_.exponent?_.exponent:-1,u=(b=Number(e))<0,a=t>2?1e3:1024,u&&(b=-b),(-1===y||isNaN(y))&&(y=Math.floor(Math.log(b)/Math.log(a)))<0&&(y=0),y>8&&(y=8),0===b?(g[0]=0,g[1]=d?"":r[m][i?"bits":"bytes"][y]):(v=b/(2===t?Math.pow(2,10*y):Math.pow(1e3,y)),i&&(v*=8)>=a&&y<8&&(v/=a,y++),g[0]=Number(v.toFixed(y>0?f:0)),g[1]=10===t&&1===y?i?"kb":"kB":r[m][i?"bits":"bytes"][y],d&&(g[1]="jedec"===m?g[1].charAt(0):y>0?g[1].replace(/B$/,""):g[1],n.test(g[1])&&(g[0]=Math.floor(g[0]),g[1]=""))),u&&(g[0]=-g[0]),g[1]=h[g[1]]||g[1],"array"===c?g:"exponent"===c?y:"object"===c?{value:g[0],suffix:g[1],symbol:g[1]}:(s&&(g[1]=l[y]?l[y]:o[m][y]+(i?"bit":"byte")+(1===g[0]?"":"s")),g.join(p))}i.partial=function(e){return function(t){return i(t,e)}},e.exports=i}("undefined"!=typeof window&&window)}).call(this,n(16))},function(e,t,n){"use strict";var r=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;e.exports={looksValid:function(e){return r.test(e)}}},function(e,t,n){"use strict";var r=m(n(14)),o=m(n(0)),i=m(n(1)),a=m(n(311)),s=m(n(8)),l=m(n(3)),u=n(2),c=n(314),f=m(n(175)),d=m(n(104)),p=m(n(15));function m(e){return e&&e.__esModule?e:{default:e}}var h=void 0,_=0,g={};f.default.registerTintable(function(){(0,d.default)({uri:"img/download.svg"},function(e,t,n){if(!e){var o=(new DOMParser).parseFromString(n,"image/svg+xml"),i=f.default.calcSvgFixups([{contentDocument:o}]);f.default.applySvgFixups(i);var a=(new XMLSerializer).serializeToString(o);h="data:image/svg+xml;base64,"+window.btoa(a),(0,r.default)(g).forEach(function(e){g[e].tint()})}})});function v(e){if(!e)return"";var t=window.getComputedStyle(e,null),n=t.cssText;if(""==n)for(var r=0;r<t.length;r++)n+=t[r]+":",n+=t.getPropertyValue(t[r])+";";return n}e.exports=o.default.createClass({displayName:"MFileBody",getInitialState:function(){return{decryptedBlob:this.props.decryptedBlob?this.props.decryptedBlob:null}},contextTypes:{appConfig:i.default.object},presentableTextForFile:function(e){var t=(0,u._t)("Attachment");return e.body&&e.body.length>0&&(t=e.body),e.info&&e.info.size&&(t+=" ("+(0,a.default)(e.info.size)+")"),t},_getContentUrl:function(){var e=this.props.mxEvent.getContent();return s.default.get().mxcUrlToHttp(e.url)},componentDidMount:function(){this.id=_++,g[this.id]=this,this.tint()},componentWillUnmount:function(){delete g[this.id]},tint:function(){this.refs.downloadImage&&(this.refs.downloadImage.src=h),this.refs.iframe&&this.refs.iframe.contentWindow.postMessage({code:function(e){var t=e.data,n=document.getElementById("img");n.src=t.imgSrc,n.style=t.imgStyle,document.getElementById("a").style=t.style}.toString(),imgSrc:h,style:v(this.refs.dummyLink)},"*")},render:function(){var e=this,t=this.props.mxEvent.getContent(),n=this.presentableTextForFile(t),r=void 0!==t.file,i=t.body&&t.body.length>0?t.body:(0,u._t)("Attachment"),s=this._getContentUrl(),f=l.default.getComponent("dialogs.ErrorDialog");if(r){if(null===this.state.decryptedBlob){var d=!1;return o.default.createElement("span",{className:"mx_MFileBody",ref:"body"},o.default.createElement("div",{className:"mx_MFileBody_download"},o.default.createElement("a",{href:"javascript:void(0)",onClick:function(){if(d)return!1;d=!0,(0,c.decryptFile)(t.file).then(function(t){e.setState({decryptedBlob:t})}).c
|
||
|
/**
|
||
|
* Checks if an event is supported in the current execution environment.
|
||
|
*
|
||
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
||
|
* `reset`, `load`, `error`, and `select`.
|
||
|
*
|
||
|
* Borrows from Modernizr.
|
||
|
*
|
||
|
* @param {string} eventNameSuffix Event name, e.g. "click".
|
||
|
* @param {?boolean} capture Check if the capture phase is supported.
|
||
|
* @return {boolean} True if the event is supported.
|
||
|
* @internal
|
||
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
||
|
*/,e.exports=function(e,t){if(!o.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var a=document.createElement("div");a.setAttribute(n,"return;"),i="function"==typeof a[n]}return!i&&r&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},function(e,t,n){"use strict";var r={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function o(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=r[e];return!!n&&!!t[n]}e.exports=function(e){return o}},function(e,t,n){"use strict";var r=n(189),o=n(1010),i=(n(53),n(91),n(383)),a=n(282),s=n(549);function l(e,t){return Array.isArray(t)&&(t=t[1]),t?t.nextSibling:e.firstChild}var u=i(function(e,t,n){e.insertBefore(t,n)});function c(e,t,n){r.insertTreeBefore(e,t,n)}function f(e,t,n){Array.isArray(t)?function(e,t,n,r){var o=t;for(;;){var i=o.nextSibling;if(u(e,o,r),o===n)break;o=i}}(e,t[0],t[1],n):u(e,t,n)}function d(e,t){if(Array.isArray(t)){var n=t[1];p(e,t=t[0],n),e.removeChild(n)}e.removeChild(t)}function p(e,t,n){for(;;){var r=t.nextSibling;if(r===n)break;e.removeChild(r)}}var m={dangerouslyReplaceNodeWithMarkup:o.dangerouslyReplaceNodeWithMarkup,replaceDelimitedText:function(e,t,n){var r=e.parentNode,o=e.nextSibling;o===t?n&&u(r,document.createTextNode(n),o):n?(s(o,n),p(r,o,t)):p(r,e,t)},processUpdates:function(e,t){for(var n=0;n<t.length;n++){var r=t[n];switch(r.type){case"INSERT_MARKUP":c(e,r.content,l(e,r.afterNode));break;case"MOVE_EXISTING":f(e,r.fromNode,l(e,r.afterNode));break;case"SET_MARKUP":a(e,r.content);break;case"TEXT_CONTENT":s(e,r.content);break;case"REMOVE_NODE":d(e,r.fromNode)}}}};e.exports=m},function(e,t,n){"use strict";e.exports={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"}},function(e,t,n){"use strict";e.exports=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}},function(e,t,n){"use strict";var r=n(35),o=n(1028),i=n(535)(n(166).isValidElement),a=(n(23),n(37),{button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0});function s(e){null!=e.checkedLink&&null!=e.valueLink&&r("87")}function l(e){s(e),(null!=e.value||null!=e.onChange)&&r("88")}function u(e){s(e),(null!=e.checked||null!=e.onChange)&&r("89")}var c={value:function(e,t,n){return!e[t]||a[e.type]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(e,t,n){return!e[t]||e.onChange||e.readOnly||e.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")},onChange:i.func},f={};function d(e){if(e){var t=e.getName();if(t)return" Check the render method of `"+t+"`."}return""}var p={checkPropTypes:function(e,t,n){for(var r in c){if(c.hasOwnProperty(r))var i=c[r](t,r,e,"prop",null,o);if(i instanceof Error&&!(i.message in f)){f[i.message]=!0;d(n)}}},getValue:function(e){return e.valueLink?(l(e),e.valueLink.value):e.value},getChecked:function(e){return e.checkedLink?(u(e),e.checkedLink.value):e.checked},executeOnChange:function(e,t){return e.valueLink?(l(e),e.valueLink.requestChange(t.target.value)):e.checkedLink?(u(e),e.checkedLink.requestChange(t.target.checked)):e.onChange?e.onChange.call(void 0,t):void 0}};e.exports=p},function(e,t,n){"use strict";var r=n(35),o=(n(23),!1),i={replaceNodeWithMarkup:null,processChildrenUpdates:null,injection:{injectEnvironment:function(e){o&&r("104"),i.replaceNodeWithMarkup=e.replaceNodeWithMarkup,i.processChildrenUpdates=e.processChildrenUpdates,o=!0}}};e.exports=i},function(e,t,n){"use strict";var r=n(35),o=n(45),i=n(1033),a=n(555),s=n(556),l=(n(1034),n(23),n(37),function(e){this.c
|
||
|
/*! modernizr 3.3.1 (Custom Build) | MIT *
|
||
|
* http://modernizr.com/download/?-displaytable-es5-flexbox-indexeddb-localstorage-objectfit-webworkers-setclasses-cssclassprefix:modernizr_ !*/!function(window,document,undefined){function is(e,t){return(void 0===e?"undefined":(0,_typeof3.default)(e))===t}function testRunner(){var e,t,n,r,o,i;for(var a in tests)if(tests.hasOwnProperty(a)){if(e=[],(t=tests[a]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(r=is(t.fn,"function")?t.fn():t.fn,o=0;o<e.length;o++)1===(i=e[o].split(".")).length?Modernizr[i[0]]=r:(!Modernizr[i[0]]||Modernizr[i[0]]instanceof Boolean||(Modernizr[i[0]]=new Boolean(Modernizr[i[0]])),Modernizr[i[0]][i[1]]=r),classes.push((r?"":"no-")+i.join("-"))}}function setClasses(e){var t=docElement.className,n=Modernizr._config.classPrefix||"";if(isSVG&&(t=t.baseVal),Modernizr._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}Modernizr._config.enableClasses&&(t+=" "+n+e.join(" "+n),isSVG?docElement.className.baseVal=t:docElement.className=t)}function createElement(){return"function"!=typeof document.createElement?document.createElement(arguments[0]):isSVG?document.createElementNS.call(document,"http://www.w3.org/2000/svg",arguments[0]):document.createElement.apply(document,arguments)}function getBody(){var e=document.body;return e||((e=createElement(isSVG?"svg":"body")).fake=!0),e}function injectElementWithStyles(e,t,n,r){var o,i,a,s,l="modernizr",u=createElement("div"),c=getBody();if(parseInt(n,10))for(;n--;)(a=createElement("div")).id=r?r[n]:l+(n+1),u.appendChild(a);return(o=createElement("style")).type="text/css",o.id="s"+l,(c.fake?c:u).appendChild(o),c.appendChild(u),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e)),u.id=l,c.fake&&(c.style.background="",c.style.overflow="hidden",s=docElement.style.overflow,docElement.style.overflow="hidden",docElement.appendChild(c)),i=t(u,e),c.fake?(c.parentNode.removeChild(c),docElement.style.overflow=s,docElement.offsetHeight):u.parentNode.removeChild(u),!!i}function contains(e,t){return!!~(""+e).indexOf(t)}function domToCSS(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function nativeTestProps(e,t){var n=e.length;if("CSS"in window&&"supports"in window.CSS){for(;n--;)if(window.CSS.supports(domToCSS(e[n]),t))return!0;return!1}if("CSSSupportsRule"in window){for(var r=[];n--;)r.push("("+domToCSS(e[n])+":"+t+")");return injectElementWithStyles("@supports ("+(r=r.join(" or "))+") { #modernizr { position: absolute; } }",function(e){return"absolute"==getComputedStyle(e,null).position})}return undefined}function cssToDOM(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function testProps(e,t,n,r){function o(){a&&(delete mStyle.style,delete mStyle.modElem)}if(r=!is(r,"undefined")&&r,!is(n,"undefined")){var i=nativeTestProps(e,n);if(!is(i,"undefined"))return i}for(var a,s,l,u,c,f=["modernizr","tspan"];!mStyle.style;)a=!0,mStyle.modElem=createElement(f.shift()),mStyle.style=mStyle.modElem.style;for(l=e.length,s=0;l>s;s++)if(u=e[s],c=mStyle.style[u],contains(u,"-")&&(u=cssToDOM(u)),mStyle.style[u]!==undefined){if(r||is(n,"undefined"))return o(),"pfx"!=t||u;try{mStyle.style[u]=n}catch(e){}if(mStyle.style[u]!=c)return o(),"pfx"!=t||u}return o(),!1}function fnBind(e,t){return function(){return e.apply(t,arguments)}}function testDOMProps(e,t,n){var r;for(var o in e)if(e[o]in t)return!1===n?e[o]:is(r=t[e[o]],"function")?fnBind(r,n||t):r;return!1}function testPropsAll(e,t,n,r,o){var i=e.charAt(0).toUpperCase()+e.slice(1),a=(e+" "+cssomPrefixes.join(i+" ")+i).split(" ");return is(t,"string")||is(t,"undefined")?testProps(a,t,r,o):testDOMProps(a=(e+" "+domPrefixes.join(i+" ")+i).split(" "),t,n)}function testAllProps(e,t,n){return testPropsAll(e,undefined,undefined,t,n)}var tests=[],ModernizrProto={_version:"3.3.1",_config:{classPrefix:"modernizr_",enableClasses:!0,enableJSClass:!0,usePrefix
|
||
|
/*!
|
||
|
* content-type
|
||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
||
|
* MIT Licensed
|
||
|
*/var r=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,o=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,i=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,a=/\\([\u000b\u0020-\u00ff])/g,s=/([\\"])/g,l=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;function u(e){var t=String(e);if(i.test(t))return t;if(t.length>0&&!o.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(s,"\\$1")+'"'}t.format=function(e){if(!e||"object"!=typeof e)throw new TypeError("argument obj is required");var t=e.parameters,n=e.type;if(!n||!l.test(n))throw new TypeError("invalid type");var r=n;if(t&&"object"==typeof t)for(var o,a=Object.keys(t).sort(),s=0;s<a.length;s++){if(o=a[s],!i.test(o))throw new TypeError("invalid parameter name");r+="; "+o+"="+u(t[o])}return r},t.parse=function(e){if(!e)throw new TypeError("argument string is required");var t="object"==typeof e?function(e){var t;"function"==typeof e.getHeader?t=e.getHeader("content-type"):"object"==typeof e.headers&&(t=e.headers&&e.headers["content-type"]);if("string"!=typeof t)throw new TypeError("content-type header is missing from object");return t}(e):e;if("string"!=typeof t)throw new TypeError("argument string is required to be a string");var n=t.indexOf(";"),o=-1!==n?t.substr(0,n).trim():t.trim();if(!l.test(o))throw new TypeError("invalid media type");var i=new function(e){this.parameters=Object.create(null),this.type=e}(o.toLowerCase());if(-1!==n){var s,u,c;for(r.lastIndex=n;u=r.exec(t);){if(u.index!==n)throw new TypeError("invalid parameter format");n+=u[0].length,s=u[1].toLowerCase(),'"'===(c=u[2])[0]&&(c=c.substr(1,c.length-2).replace(a,"$1")),i.parameters[s]=c}if(n!==t.length)throw new TypeError("invalid parameter format")}return i}},function(e,t,n){"use strict";(function(t){var n=1e3,r=0,o=void 0,i=[],a=function(){};e.exports.setNow=function(e){s=e||Date.now};var s=Date.now;function l(){o&&t.clearTimeout(o);var e=i[0];if(e){var r=s(),l=Math.min(e.runAt-r,n);a("_scheduleRealCallback: now:",r,"delay:",l),o=t.setTimeout(u,l)}else a("_scheduleRealCallback: no more callbacks, not rescheduling")}function u(){var e=void 0,n=s();a("_runCallbacks: now:",n);for(var r=[];;){var o=i[0];if(!o||o.runAt>n)break;e=i.shift(),a("_runCallbacks: popping",e.key),r.push(e)}l();for(var u=0;u<r.length;u++){e=r[u];try{e.func.apply(t,e.params)}catch(e){console.error("Uncaught exception in callback function",e.stack||e)}}}e.exports.setTimeout=function(e,t){(t=t||0)<0&&(t=0);var n=Array.prototype.slice.call(arguments,2),o=s()+t,u=r++;a("setTimeout: scheduling cb",u,"at",o,"(delay",t,")");var c={runAt:o,func:e,params:n,key:u},f=function(e,t){var n=0,r=e.length;for(;n<r;){var o=n+r>>1,i=t(e[o]);i>0?r=o:n=o+1}return n}(i,function(e){return e.runAt-o});return i.splice(f,0,c),l(),u},e.exports.clearTimeout=function(e){if(0!==i.length){var t=void 0;for(t=0;t<i.length;t++){if(i[t].key==e){i.splice(t,1);break}}0===t&&l()}}}).call(this,n(16))},function(e,t,n){e.exports={default:n(1078),__esModule:!0}},function(e,t,n){n(1079),e.exports=n(18).Reflect.getPrototypeOf},function(e,t,n){var r=n(27),o=n(210),i=n(52);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){e.exports={default:n(1081),__esModule:!0}},function(e,t,n){n(1082),e.exports=n(18).Reflect.setPrototypeOf},function(e,t,n){var r=n(27),o=n(575);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){e.exports={default:n(1084),__esModule:!0}},function(e,t,n){n(1085),e.exports=n(18).Reflect.construct},function(e,t,n){var r=n(27),o=n(122),i=n(98),a=n(52),s=n(34),l=n(56),u=n(1086),c=(n(33).Reflect||{}).construct,f=l(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),d=!l(function(){c(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!f)return c(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1])
|
||
|
/**
|
||
|
* @license MIT
|
||
|
* @fileOverview Favico animations
|
||
|
* @author Miroslav Magda, http://blog.ejci.net
|
||
|
* @version 0.3.10
|
||
|
*/
|
||
|
/**
|
||
|
* @license MIT
|
||
|
* @fileOverview Favico animations
|
||
|
* @author Miroslav Magda, http://blog.ejci.net
|
||
|
* @version 0.3.10
|
||
|
*/
|
||
|
!function(){var n=function(e){"use strict";e=e||{};var t,n,r,o,i,a,s,l,u,c,f,d,p,m,h,_,g={bgColor:"#d00",textColor:"#fff",fontFamily:"sans-serif",fontStyle:"bold",type:"circle",position:"down",animation:"slide",elementId:!1,dataUrl:!1,win:window};(p={}).ff="undefined"!=typeof InstallTrigger,p.chrome=!!window.chrome,p.opera=!!window.opera||navigator.userAgent.indexOf("Opera")>=0,p.ie=/*@cc_on!@*/!1,p.safari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,p.supported=p.chrome||p.ff||p.opera;var v=[];f=function(){},l=d=!1;var y={ready:function(){l=!0,y.reset(),f()},reset:function(){l&&(v=[],u=!1,c=!1,a.clearRect(0,0,o,r),a.drawImage(s,0,0,o,r),S.setIcon(i),window.clearTimeout(m),window.clearTimeout(h))}};y.start=function(){if(l&&!c){if(v.length>0){c=!0;var e=function(){["type","animation","bgColor","textColor","fontFamily","fontStyle"].forEach(function(e){e in v[0].options&&(t[e]=v[0].options[e])}),T.run(v[0].options,function(){u=v[0],c=!1,v.length>0&&(v.shift(),y.start())},!1)};u?T.run(u.options,function(){e()},!0):e()}}};var b={},E=function(e){return e.n="number"==typeof e.n?Math.abs(0|e.n):e.n,e.x=o*e.x,e.y=r*e.y,e.w=o*e.w,e.h=r*e.h,e.len=(""+e.n).length,e};b.circle=function(e){var n=!1;2===(e=E(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w,n=!0):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w,n=!0),a.clearRect(0,0,o,r),a.drawImage(s,0,0,o,r),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.85:1))+"px "+t.fontFamily,a.textAlign="center",n?(a.moveTo(e.x+e.w/2,e.y),a.lineTo(e.x+e.w-e.h/2,e.y),a.quadraticCurveTo(e.x+e.w,e.y,e.x+e.w,e.y+e.h/2),a.lineTo(e.x+e.w,e.y+e.h-e.h/2),a.quadraticCurveTo(e.x+e.w,e.y+e.h,e.x+e.w-e.h/2,e.y+e.h),a.lineTo(e.x+e.h/2,e.y+e.h),a.quadraticCurveTo(e.x,e.y+e.h,e.x,e.y+e.h-e.h/2),a.lineTo(e.x,e.y+e.h/2),a.quadraticCurveTo(e.x,e.y,e.x+e.h/2,e.y)):a.arc(e.x+e.w/2,e.y+e.h/2,e.h/2,0,2*Math.PI),a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fill(),a.closePath(),a.beginPath(),a.stroke(),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()},b.rectangle=function(e){2===(e=E(e)).len?(e.x=e.x-.4*e.w,e.w=1.4*e.w):e.len>=3&&(e.x=e.x-.65*e.w,e.w=1.65*e.w),a.clearRect(0,0,o,r),a.drawImage(s,0,0,o,r),a.beginPath(),a.font=t.fontStyle+" "+Math.floor(e.h*(e.n>99?.9:1))+"px "+t.fontFamily,a.textAlign="center",a.fillStyle="rgba("+t.bgColor.r+","+t.bgColor.g+","+t.bgColor.b+","+e.o+")",a.fillRect(e.x,e.y,e.w,e.h),a.fillStyle="rgba("+t.textColor.r+","+t.textColor.g+","+t.textColor.b+","+e.o+")","number"==typeof e.n&&e.n>999?a.fillText((e.n>9999?9:Math.floor(e.n/1e3))+"k+",Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.2*e.h)):a.fillText(e.n,Math.floor(e.x+e.w/2),Math.floor(e.y+e.h-.15*e.h)),a.closePath()};function C(e){if(e.paused||e.ended||d)return!1;try{a.clearRect(0,0,o,r),a.drawImage(e,0,0,o,r)}catch(e){}h=setTimeout(function(){C(e)},T.duration),S.setIcon(i)}var S={};function D(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,n,r){return t+t+n+n+r+r});var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return!!t&&{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}}function w(e,t){var n,r={};for(n in e)r[n]=e[n];for(n in t)r[n]=t[n];return r}S.getIcon=function(){var e=!1;return t.element?e=t.element:t.elementId?(e=_.getElementById(t.elementId)).setAttribute("href",e.getAttribute("src")):!1===(e=function(){for(var e=_.getElementsByTagName("head")[0].getElementsByTagName("link"),t=e.length-1;t>=0;t--)if(/(^|\s)icon(\s|$)/i.test(e[t].getAttribute("rel")))return e[t];return!1}())&&((e=_.createElement("link")).setAttribute("rel","icon"),_.getElementsByTagName("head")[0].appendChild(e)),e.setAttribute("type","image/png"),e},S.setIcon=function(e){var r=e.toDataURL("image/png");if(t.dataUrl&&t.dataUrl(r),t.element)t.element.setAttribute("href",r),t.element.setAttribute("src",r);else if(t.elementId){var o=_.getEl
|
||
|
/*!
|
||
|
* UAParser.js v0.7.19
|
||
|
* Lightweight JavaScript-based User-Agent string parser
|
||
|
* https://github.com/faisalman/ua-parser-js
|
||
|
*
|
||
|
* Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
|
||
|
* Dual licensed under GPLv2 or MIT
|
||
|
*/
|
||
|
/*!
|
||
|
* UAParser.js v0.7.19
|
||
|
* Lightweight JavaScript-based User-Agent string parser
|
||
|
* https://github.com/faisalman/ua-parser-js
|
||
|
*
|
||
|
* Copyright © 2012-2016 Faisal Salman <fyzlman@gmail.com>
|
||
|
* Dual licensed under GPLv2 or MIT
|
||
|
*/
|
||
|
!function(o,i){"use strict";var a="model",s="name",l="type",u="vendor",c="version",f="mobile",d="tablet",p={extend:function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n},has:function(e,t){return"string"==typeof e&&-1!==t.toLowerCase().indexOf(e.toLowerCase())},lowerize:function(e){return e.toLowerCase()},major:function(e){return"string"==typeof e?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0},trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},m={rgx:function(e,t){for(var n,r,o,i,a,s,l=0;l<t.length&&!a;){var u=t[l],c=t[l+1];for(n=r=0;n<u.length&&!a;)if(a=u[n++].exec(e))for(o=0;o<c.length;o++)s=a[++r],"object"==typeof(i=c[o])&&i.length>0?2==i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3==i.length?"function"!=typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4==i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;l+=2}},str:function(e,t){for(var n in t)if("object"==typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(p.has(t[n][r],e))return"?"===n?void 0:n}else if(p.has(t[n],e))return"?"===n?void 0:n;return e}},h={browser:{oldsafari:{version:{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}}},device:{amazon:{model:{"Fire Phone":["SD","KF"]}},sprint:{model:{"Evo Shift 4G":"7373KT"},vendor:{HTC:"APA",Sprint:"Sprint"}}},os:{windows:{version:{ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2000:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"}}}},_={browser:[[/(opera\smini)\/([\w\.-]+)/i,/(opera\s[mobiletab]+).+version\/([\w\.-]+)/i,/(opera).+version\/([\w\.]+)/i,/(opera)[\/\s]+([\w\.]+)/i],[s,c],[/(opios)[\/\s]+([\w\.]+)/i],[[s,"Opera Mini"],c],[/\s(opr)\/([\w\.]+)/i],[[s,"Opera"],c],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/\s]?([\w\.]*)/i,/(avant\s|iemobile|slim|baidu)(?:browser)?[\/\s]?([\w\.]*)/i,/(?:ms|\()(ie)\s([\w\.]+)/i,/(rekonq)\/([\w\.]*)/i,/(chromium|flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark)\/([\w\.-]+)/i],[s,c],[/(trident).+rv[:\s]([\w\.]+).+like\sgecko/i],[[s,"IE"],c],[/(edge|edgios|edga)\/((\d+)?[\w\.]+)/i],[[s,"Edge"],c],[/(yabrowser)\/([\w\.]+)/i],[[s,"Yandex"],c],[/(puffin)\/([\w\.]+)/i],[[s,"Puffin"],c],[/(focus)\/([\w\.]+)/i],[[s,"Firefox Focus"],c],[/(opt)\/([\w\.]+)/i],[[s,"Opera Touch"],c],[/((?:[\s\/])uc?\s?browser|(?:juc.+)ucweb)[\/\s]?([\w\.]+)/i],[[s,"UCBrowser"],c],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],c],[/(micromessenger)\/([\w\.]+)/i],[[s,"WeChat"],c],[/(brave)\/([\w\.]+)/i],[[s,"Brave"],c],[/(qqbrowserlite)\/([\w\.]+)/i],[s,c],[/(QQ)\/([\d\.]+)/i],[s,c],[/m?(qqbrowser)[\/\s]?([\w\.]+)/i],[s,c],[/(BIDUBrowser)[\/\s]?([\w\.]+)/i],[s,c],[/(2345Explorer)[\/\s]?([\w\.]+)/i],[s,c],[/(MetaSr)[\/\s]?([\w\.]+)/i],[s],[/(LBBROWSER)/i],[s],[/xiaomi\/miuibrowser\/([\w\.]+)/i],[c,[s,"MIUI Browser"]],[/;fbav\/([\w\.]+);/i],[c,[s,"Facebook"]],[/safari\s(line)\/([\w\.]+)/i,/android.+(line)\/([\w\.]+)\/iab/i],[s,c],[/headlesschrome(?:\/([\w\.]+)|\s)/i],[c,[s,"Chrome Headless"]],[/\swv\).+(chrome)\/([\w\.]+)/i],[[s,/(.+)/,"$1 WebView"],c],[/((?:oculus|samsung)browser)\/([\w\.]+)/i],[[s,/(.+(?:g|us))(.+)/,"$1 $2"],c],[/android.+version\/([\w\.]+)\s+(?:mobile\s?safari|safari)*/i],[c,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5}\s?browser)\/v?([\w\.]+)/i],[s,c],[/(dolfin)\/([\w\.]+)/i],[[s,"Dolphin"],c],[/((?:android.+)crmo|crios)\/([\w\.]+)/i],[[s,"Chrome"],c],[/(coast)\/([\w\.]+)/i],[[s,"Opera Coast"],c],[/fxios\/([\w\.-]+)/i],[c,[s,"Firefox"]],[/version\/([\w\.]+).+?mobile\/\w+\s(safari)/i],[c,[s,"Mobile Safari"]],[/version\/([\w\.]+).+?(mobile\s?safari|safari)/i],[c,s],[/webkit.+?(gsa)\/([\w\.]+).+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[[s,"GSA"],c],[/webkit.+?(mobile\s?safari|safari)(\/[\w\.]+)/i],[s,[c,m.str,h.browser.oldsafari.version]],[/(konqueror)\/([\w\.]+)/i,/(webkit|
|
||
|
/** @license React v16.7.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 r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,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,_=r?Symbol.for("react.lazy"):60116;function g(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case a:case l:case s:case m:return e;default:switch(e=e&&e.$$typeof){case c:case p:case u:return e;default:return t}}case _:case h:case i:return t}}}function v(e){return g(e)===d}t.typeOf=g,t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=u,t.Element=o,t.ForwardRef=p,t.Fragment=a,t.Lazy=_,t.Memo=h,t.Portal=i,t.Profiler=l,t.StrictMode=s,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===l||e===s||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===_||e.$$typeof===h||e.$$typeof===u||e.$$typeof===c||e.$$typeof===p)},t.isAsyncMode=function(e){return v(e)||g(e)===f},t.isConcurrentMode=v,t.isContextConsumer=function(e){return g(e)===c},t.isContextProvider=function(e){return g(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return g(e)===p},t.isFragment=function(e){return g(e)===a},t.isLazy=function(e){return g(e)===_},t.isMemo=function(e){return g(e)===h},t.isPortal=function(e){return g(e)===i},t.isProfiler=function(e){return g(e)===l},t.isStrictMode=function(e){return g(e)===s},t.isSuspense=function(e){return g(e)===m}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.draggingDraggableSelector=t.dragSelector=t.pendingDropSelector=t.phaseSelector=void 0;var r=n(432),o=t.phaseSelector=function(e){return e.phase},i=t.pendingDropSelector=function(e){return e.drop&&e.drop.pending?e.drop.pending:null},a=t.dragSelector=function(e){return e.drag};t.draggingDraggableSelector=(0,r.createSelector)([o,a,i,function(e){return e.dimension.draggable}],function(e,t,n,r){return"DRAGGING"===e?t?r[t.initial.descriptor.id]:(console.error("cannot get placeholder dimensions as there is an invalid drag state"),null):"DROP_ANIMATING"===e?n?n.result.destination?r[n.result.draggableId]:null:(console.error("cannot get placeholder dimensions as there is an invalid drag state"),null):null})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(46)),o=h(n(11)),i=h(n(4)),a=h(n(5)),s=h(n(12)),l=h(n(13)),u=n(0),c=h(u),f=h(n(1)),d=h(n(1467)),p=h(n(638)),m=n(150);function h(e){return e&&e.__esModule?e:{default:e}}var _=function(e){function t(){var e,n,r,a;(0,i.default)(this,t);for(var l=arguments.length,u=Array(l),c=0;c<l;c++)u[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,o.default)(t)).call.apply(e,[this].concat(u))),r.state={ref:null},r.setRef=function(e){null!==e&&e!==r.state.ref&&r.setState({ref:e})},a=n,(0,s.default)(r,a)}return(0,l.default)(t,e),(0,a.default)(t,[{key:"getChildContext",value:function(){return(0,r.default)({},m.droppableIdKey,this.props.droppableId)}},{key:"getPlaceholder",value:function(){return this.props.placeholder?c.default.createElement(p.default,{placeholder:this.props.placeholder}):null}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.direction,r=e.droppableId,o=e.ignoreContainerClipping,i=e.isDraggingOver,a=e.isDropDisabled,s=e.type,l={innerRef:this.setRef,placeholder:this.getPlaceholder()},u={isDraggingOver:i};return c.default.createElement(d.default,{droppableId:r,type:s,direction:n,ignoreContainerClipping:o,isDropDisabled:a,targetRef:this.state.ref},t(l,u))}}]),t}(u.Component);_.defaultProps={type:"DEFAULT",isDropDisabled:!1,direction:"vertical",ignoreContainerClipping:!1},_.chil
|
||
|
/**
|
||
|
* gemini-scrollbar
|
||
|
* @version 1.4.3
|
||
|
* @link http://noeldelgado.github.io/gemini-scrollbar/
|
||
|
* @license MIT
|
||
|
*/
|
||
|
!function(){var t,n,r;function o(e,t){if(e.classList)return t.forEach(function(t){e.classList.add(t)});e.className+=" "+t.join(" ")}function i(e,t){if(e.classList)return t.forEach(function(t){e.classList.remove(t)});e.className=e.className.replace(new RegExp("(^|\\b)"+t.join("|")+"(\\b|$)","gi")," ")}function a(){var e=navigator.userAgent.toLowerCase();return-1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}function s(e){this.element=null,this.autoshow=!1,this.createElements=!0,this.forceGemini=!1,this.onResize=null,Object.keys(e||{}).forEach(function(t){this[t]=e[t]},this),t=function(){var e,t=document.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.width="100px",t.style.height="100px",t.style.overflow="scroll",t.style.msOverflowStyle="scrollbar",document.body.appendChild(t),e=t.offsetWidth-t.clientWidth,document.body.removeChild(t),e}(),n=0===t&&!1===this.forceGemini,this._cache={events:{}},this._created=!1,this._cursorDown=!1,this._prevPageX=0,this._prevPageY=0,this._document=null,this._viewElement=this.element,this._scrollbarVerticalElement=null,this._thumbVerticalElement=null,this._scrollbarHorizontalElement=null,this._scrollbarHorizontalElement=null}r={element:"gm-scrollbar-container",verticalScrollbar:"gm-scrollbar -vertical",horizontalScrollbar:"gm-scrollbar -horizontal",thumb:"thumb",view:"gm-scroll-view",autoshow:"gm-autoshow",disable:"gm-scrollbar-disable-selection",prevented:"gm-prevented",resizeTrigger:"gm-resize-trigger"},s.prototype.create=function(){if(n){if(o(this.element,[r.prevented]),this.onResize){if(!0===this.createElements){for(this._viewElement=document.createElement("div");this.element.childNodes.length>0;)this._viewElement.appendChild(this.element.childNodes[0]);this.element.appendChild(this._viewElement)}else this._viewElement=this.element.querySelector("."+r.view);o(this.element,[r.element]),o(this._viewElement,[r.view]),this._createResizeTrigger()}return this}if(!0===this._created)return console.warn("calling on a already-created object"),this;if(this.autoshow&&o(this.element,[r.autoshow]),this._document=document,!0===this.createElements){for(this._viewElement=document.createElement("div"),this._scrollbarVerticalElement=document.createElement("div"),this._thumbVerticalElement=document.createElement("div"),this._scrollbarHorizontalElement=document.createElement("div"),this._thumbHorizontalElement=document.createElement("div");this.element.childNodes.length>0;)this._viewElement.appendChild(this.element.childNodes[0]);this._scrollbarVerticalElement.appendChild(this._thumbVerticalElement),this._scrollbarHorizontalElement.appendChild(this._thumbHorizontalElement),this.element.appendChild(this._scrollbarVerticalElement),this.element.appendChild(this._scrollbarHorizontalElement),this.element.appendChild(this._viewElement)}else this._viewElement=this.element.querySelector("."+r.view),this._scrollbarVerticalElement=this.element.querySelector("."+r.verticalScrollbar.split(" ").join(".")),this._thumbVerticalElement=this._scrollbarVerticalElement.querySelector("."+r.thumb),this._scrollbarHorizontalElement=this.element.querySelector("."+r.horizontalScrollbar.split(" ").join(".")),this._thumbHorizontalElement=this._scrollbarHorizontalElement.querySelector("."+r.thumb);return o(this.element,[r.element]),o(this._viewElement,[r.view]),o(this._scrollbarVerticalElement,r.verticalScrollbar.split(/\s/)),o(this._scrollbarHorizontalElement,r.horizontalScrollbar.split(/\s/)),o(this._thumbVerticalElement,[r.thumb]),o(this._thumbHorizontalElement,[r.thumb]),this._scrollbarVerticalElement.style.display="",this._scrollbarHorizontalElement.style.display="",this._createResizeTrigger(),this._created=!0,this._bindEvents().update()},s.prototype._createResizeTrigger=function(){var e=document.createElement("object");o(e,[r.resizeTrigger]),e.type="text/html";var t=this._resizeHandler.bind(this);e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",t)},a()||(e.data="about:blank"),this.element.appendChild(e),a()&&(e.data="about:blank"),this._re
|
||
|
/*!
|
||
|
* isobject <https://github.com/jonschlinkert/isobject>
|
||
|
*
|
||
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
||
|
* Released under the MIT License.
|
||
|
*/e.exports=function(e){return null!=e&&"object"==typeof e&&!1===Array.isArray(e)}},function(e,t,n){var r=n(463),o=n(1794),i=n(474),a=n(1795),s=n(1796),l=n(1799),u=n(1800),c=n(1801),f=n(1802),d=n(687),p=n(713),m=n(318),h=n(1803),_=n(1804),g=n(1809),v=n(106),y=n(467),b=n(1811),E=n(107),C=n(1813),S=n(251),D=1,w=2,T=4,k="[object Arguments]",x="[object Function]",R="[object GeneratorFunction]",N="[object Object]",I={};I[k]=I["[object Array]"]=I["[object ArrayBuffer]"]=I["[object DataView]"]=I["[object Boolean]"]=I["[object Date]"]=I["[object Float32Array]"]=I["[object Float64Array]"]=I["[object Int8Array]"]=I["[object Int16Array]"]=I["[object Int32Array]"]=I["[object Map]"]=I["[object Number]"]=I[N]=I["[object RegExp]"]=I["[object Set]"]=I["[object String]"]=I["[object Symbol]"]=I["[object Uint8Array]"]=I["[object Uint8ClampedArray]"]=I["[object Uint16Array]"]=I["[object Uint32Array]"]=!0,I["[object Error]"]=I[x]=I["[object WeakMap]"]=!1,e.exports=function e(t,n,O,A,M,P){var L,F=n&D,U=n&w,j=n&T;if(O&&(L=M?O(t,A,M,P):O(t)),void 0!==L)return L;if(!E(t))return t;var B=v(t);if(B){if(L=h(t),!F)return u(t,L)}else{var G=m(t),q=G==x||G==R;if(y(t))return l(t,F);if(G==N||G==k||q&&!M){if(L=U||q?{}:g(t),!F)return U?f(t,s(L,t)):c(t,a(L,t))}else{if(!I[G])return M?t:{};L=_(t,G,F)}}P||(P=new r);var V=P.get(t);if(V)return V;if(P.set(t,L),C(t))return t.forEach(function(r){L.add(e(r,n,O,r,t,P))}),L;if(b(t))return t.forEach(function(r,o){L.set(o,e(r,n,O,o,t,P))}),L;var H=j?U?p:d:U?keysIn:S,Y=B?void 0:H(t);return o(Y||t,function(r,o){Y&&(r=t[o=r]),i(L,o,e(r,n,O,o,t,P))}),L}},function(e,t){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},function(e,t,n){var r=n(255),o=n(251);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(255),o=n(711);e.exports=function(e,t){return e&&r(t,o(t),e)}},function(e,t,n){var r=n(107),o=n(470),i=n(1798),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},function(e,t,n){(function(e){var r=n(105),o=t&&!t.nodeType&&t,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}}).call(this,n(172)(e))},function(e,t){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},function(e,t,n){var r=n(255),o=n(465);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t,n){var r=n(255),o=n(712);e.exports=function(e,t){return r(e,o(e),t)}},function(e,t){var n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&n.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},function(e,t,n){var r=n(476),o=n(1805),i=n(1806),a=n(1807),s=n(1808),l="[object Boolean]",u="[object Date]",c="[object Map]",f="[object Number]",d="[object RegExp]",p="[object Set]",m="[object String]",h="[object Symbol]",_="[object ArrayBuffer]",g="[object DataView]",v="[object Float32Array]",y="[object Float64Array]",b="[object Int8Array]",E="[object Int16Array]",C="[object Int32Array]",S="[object Uint8Array]",D="[object Uint8ClampedArray]",w="[object Uint16Array]",T="[object Uint32Array]";e.exports=function(e,t,n){var k=e.constructor;switch(t){case _:return r(e);case l:case u:return new k(+e);case g:return o(e,n);case v:case y:case b:case E:case C:case S:case D:case w:case T:return s(e,n);case c:return new k;case f:case m:return new k(e);case d:return i(e);case p:return new k;case h:return a(e)}}},function(e,t,n){var r=n(476);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},function(e,t){var n=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,n.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,n){var r=n(190),o=r?r.prototype:void 0,i=o?o.valueOf:void
|
||
|
/*! http://mths.be/fromcodepoint v0.2.1 by @mathias */if(String.fromCodePoint)e.exports=function(e){try{return String.fromCodePoint(e)}catch(e){if(e instanceof RangeError)return String.fromCharCode(65533);throw e}};else{var r=String.fromCharCode,o=Math.floor;e.exports=function(){var e,t,n=[],i=-1,a=arguments.length;if(!a)return"";for(var s="";++i<a;){var l=Number(arguments[i]);if(!isFinite(l)||l<0||l>1114111||o(l)!==l)return String.fromCharCode(65533);l<=65535?n.push(l):(e=55296+((l-=65536)>>10),t=l%1024+56320,n.push(e,t)),(i+1===a||n.length>16384)&&(s+=r.apply(null,n),n.length=0)}return s}}},function(e,t){
|
||
|
/*! http://mths.be/repeat v0.2.0 by @mathias */
|
||
|
String.prototype.repeat||function(){"use strict";var e=function(){try{var e={},t=Object.defineProperty,n=t(e,e,e)&&t}catch(e){}return n}(),t=function(e){if(null==this)throw TypeError();var t=String(this),n=e?Number(e):0;if(n!=n&&(n=0),n<0||n==1/0)throw RangeError();for(var r="";n;)n%2==1&&(r+=t),n>1&&(t+=t),n>>=1;return r};e?e(String.prototype,"repeat",{value:t,configurable:!0,writable:!0}):String.prototype.repeat=t}()},function(e,t,n){"use strict";var r=n(716),o=/^javascript:|vbscript:|file:|data:/i,i=/^data:image\/(?:png|gif|jpeg|webp)/i,a=function(e){return o.test(e)&&!i.test(e)};function s(e){(e=e||{}).softbreak=e.softbreak||"\n",this.disableTags=0,this.lastOut="\n",this.options=e}s.prototype=Object.create(r.prototype),s.prototype.text=function(e){this.out(e.literal)},s.prototype.html_inline=function(e){this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal)},s.prototype.html_block=function(e){this.cr(),this.options.safe?this.lit("\x3c!-- raw HTML omitted --\x3e"):this.lit(e.literal),this.cr()},s.prototype.softbreak=function(){this.lit(this.options.softbreak)},s.prototype.linebreak=function(){this.tag("br",[],!0),this.cr()},s.prototype.link=function(e,t){var n=this.attrs(e);t?(this.options.safe&&a(e.destination)||n.push(["href",this.esc(e.destination,!0)]),e.title&&n.push(["title",this.esc(e.title,!0)]),this.tag("a",n)):this.tag("/a")},s.prototype.image=function(e,t){t?(0===this.disableTags&&(this.options.safe&&a(e.destination)?this.lit('<img src="" alt="'):this.lit('<img src="'+this.esc(e.destination,!0)+'" alt="')),this.disableTags+=1):(this.disableTags-=1,0===this.disableTags&&(e.title&&this.lit('" title="'+this.esc(e.title,!0)),this.lit('" />')))},s.prototype.emph=function(e,t){this.tag(t?"em":"/em")},s.prototype.strong=function(e,t){this.tag(t?"strong":"/strong")},s.prototype.paragraph=function(e,t){var n=e.parent.parent,r=this.attrs(e);null!==n&&"list"===n.type&&n.listTight||(t?(this.cr(),this.tag("p",r)):(this.tag("/p"),this.cr()))},s.prototype.heading=function(e,t){var n="h"+e.level,r=this.attrs(e);t?(this.cr(),this.tag(n,r)):(this.tag("/"+n),this.cr())},s.prototype.code=function(e){this.tag("code"),this.out(e.literal),this.tag("/code")},s.prototype.code_block=function(e){var t=e.info?e.info.split(/\s+/):[],n=this.attrs(e);t.length>0&&t[0].length>0&&n.push(["class","language-"+this.esc(t[0],!0)]),this.cr(),this.tag("pre"),this.tag("code",n),this.out(e.literal),this.tag("/code"),this.tag("/pre"),this.cr()},s.prototype.thematic_break=function(e){var t=this.attrs(e);this.cr(),this.tag("hr",t,!0),this.cr()},s.prototype.block_quote=function(e,t){var n=this.attrs(e);t?(this.cr(),this.tag("blockquote",n),this.cr()):(this.cr(),this.tag("/blockquote"),this.cr())},s.prototype.list=function(e,t){var n="bullet"===e.listType?"ul":"ol",r=this.attrs(e);if(t){var o=e.listStart;null!==o&&1!==o&&r.push(["start",o.toString()]),this.cr(),this.tag(n,r),this.cr()}else this.cr(),this.tag("/"+n),this.cr()},s.prototype.item=function(e,t){var n=this.attrs(e);t?this.tag("li",n):(this.tag("/li"),this.cr())},s.prototype.custom_inline=function(e,t){t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit)},s.prototype.custom_block=function(e,t){this.cr(),t&&e.onEnter?this.lit(e.onEnter):!t&&e.onExit&&this.lit(e.onExit),this.cr()},s.prototype.esc=n(201).escapeXml,s.prototype.out=function(e){this.lit(this.esc(e,!1))},s.prototype.tag=function(e,t,n){if(!(this.disableTags>0)){if(this.buffer+="<"+e,t&&t.length>0)for(var r,o=0;void 0!==(r=t[o]);)this.buffer+=" "+r[0]+'="'+r[1]+'"',o++;n&&(this.buffer+=" /"),this.buffer+=">",this.lastOut=">"}},s.prototype.attrs=function(e){var t=[];if(this.options.sourcepos){var n=e.sourcepos;n&&t.push(["data-sourcepos",String(n[0][0])+":"+String(n[0][1])+"-"+String(n[1][0])+":"+String(n[1][1])])}return t},e.exports=s},function(e,t,n){"use strict";var r=n(716),o=/\<[^>]*\>/;function i(e){return e.replace(/([a-z])([A-Z])/g,"$1_$2").toLowerCase()}function a(e){e=e||{},this.disableTags=0,this.lastOut="\n",this.indentLevel=0,this.indent=" ",this.options=e}a.prototype=Object.create
|
||
|
//# sourceMappingURL=bundle.js.map
|